@craftzbay/ui 0.2.5 → 0.2.6

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-lib/index.js CHANGED
@@ -28,20 +28,20 @@ import * as ur from "@radix-ui/react-switch";
28
28
  import * as pn from "@radix-ui/react-tabs";
29
29
  import * as dt from "@radix-ui/react-toast";
30
30
  import * as Rt from "@radix-ui/react-tooltip";
31
- function m(...r) {
32
- return Va(Ha(r));
31
+ function m(...n) {
32
+ return Va(Ha(n));
33
33
  }
34
34
  let fr = 0;
35
- function Rl(r = "ds") {
36
- return fr += 1, `${r}-${fr}`;
35
+ function Rl(n = "ds") {
36
+ return fr += 1, `${n}-${fr}`;
37
37
  }
38
- function lo(r) {
39
- const [t, n] = B(() => typeof window > "u" ? !1 : window.matchMedia(r).matches);
38
+ function lo(n) {
39
+ const [t, r] = B(() => typeof window > "u" ? !1 : window.matchMedia(n).matches);
40
40
  return Be(() => {
41
41
  if (typeof window > "u") return;
42
- const a = window.matchMedia(r), o = (i) => n(i.matches);
43
- return n(a.matches), a.addEventListener("change", o), () => a.removeEventListener("change", o);
44
- }, [r]), t;
42
+ const a = window.matchMedia(n), o = (i) => r(i.matches);
43
+ return r(a.matches), a.addEventListener("change", o), () => a.removeEventListener("change", o);
44
+ }, [n]), t;
45
45
  }
46
46
  function Ol() {
47
47
  return lo("(prefers-reduced-motion: reduce)");
@@ -50,31 +50,31 @@ const rt = {
50
50
  toasts: [],
51
51
  listeners: /* @__PURE__ */ new Set(),
52
52
  emit() {
53
- for (const r of this.listeners) r(this.toasts);
53
+ for (const n of this.listeners) n(this.toasts);
54
54
  },
55
- push(r) {
56
- const t = r.id ?? `t_${Date.now()}_${Math.random().toString(36).slice(2, 7)}`, n = { open: !0, duration: 5e3, variant: "default", ...r, id: t };
57
- return this.toasts = [n, ...this.toasts].slice(0, 3), this.emit(), t;
55
+ push(n) {
56
+ const t = n.id ?? `t_${Date.now()}_${Math.random().toString(36).slice(2, 7)}`, r = { open: !0, duration: 5e3, variant: "default", ...n, id: t };
57
+ return this.toasts = [r, ...this.toasts].slice(0, 3), this.emit(), t;
58
58
  },
59
- dismiss(r) {
60
- this.toasts = this.toasts.map((t) => t.id === r ? { ...t, open: !1 } : t), this.emit();
59
+ dismiss(n) {
60
+ this.toasts = this.toasts.map((t) => t.id === n ? { ...t, open: !1 } : t), this.emit();
61
61
  },
62
- remove(r) {
63
- this.toasts = this.toasts.filter((t) => t.id !== r), this.emit();
62
+ remove(n) {
63
+ this.toasts = this.toasts.filter((t) => t.id !== n), this.emit();
64
64
  }
65
65
  };
66
66
  function Ll() {
67
- const [r, t] = B(() => [...rt.toasts]);
67
+ const [n, t] = B(() => [...rt.toasts]);
68
68
  Be(() => {
69
69
  const i = (s) => t([...s]);
70
70
  return rt.listeners.add(i), () => {
71
71
  rt.listeners.delete(i);
72
72
  };
73
73
  }, []);
74
- const n = Ie((i) => rt.push(i), []), a = Ie((i) => rt.dismiss(i), []), o = Ie((i) => rt.remove(i), []);
75
- return { toasts: r, push: n, dismiss: a, remove: o };
74
+ const r = Ie((i) => rt.push(i), []), a = Ie((i) => rt.dismiss(i), []), o = Ie((i) => rt.remove(i), []);
75
+ return { toasts: n, push: r, dismiss: a, remove: o };
76
76
  }
77
- const $l = (r) => rt.push(r), Fl = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
77
+ const $l = (n) => rt.push(n), Fl = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
78
78
  __proto__: null,
79
79
  AlertCircle: Wa,
80
80
  AlertTriangle: pt,
@@ -135,11 +135,11 @@ const $l = (r) => rt.push(r), Fl = /* @__PURE__ */ Object.freeze(/* @__PURE__ */
135
135
  Users: gn,
136
136
  X: ze,
137
137
  XCircle: Ft
138
- }, Symbol.toStringTag, { value: "Module" })), Bl = At.Root, co = y(function({ className: t, ...n }, a) {
139
- return /* @__PURE__ */ e(At.Item, { ref: a, className: m("border-b border-border", t), ...n });
138
+ }, Symbol.toStringTag, { value: "Module" })), Bl = At.Root, co = y(function({ className: t, ...r }, a) {
139
+ return /* @__PURE__ */ e(At.Item, { ref: a, className: m("border-b border-border", t), ...r });
140
140
  });
141
141
  co.displayName = "AccordionItem";
142
- const uo = y(function({ className: t, children: n, ...a }, o) {
142
+ const uo = y(function({ className: t, children: r, ...a }, o) {
143
143
  return /* @__PURE__ */ e(At.Header, { className: "flex", children: /* @__PURE__ */ u(
144
144
  At.Trigger,
145
145
  {
@@ -154,7 +154,7 @@ const uo = y(function({ className: t, children: n, ...a }, o) {
154
154
  ),
155
155
  ...a,
156
156
  children: [
157
- n,
157
+ r,
158
158
  /* @__PURE__ */ e(
159
159
  an,
160
160
  {
@@ -167,7 +167,7 @@ const uo = y(function({ className: t, children: n, ...a }, o) {
167
167
  ) });
168
168
  });
169
169
  uo.displayName = "AccordionTrigger";
170
- const fo = y(function({ className: t, children: n, ...a }, o) {
170
+ const fo = y(function({ className: t, children: r, ...a }, o) {
171
171
  return /* @__PURE__ */ e(
172
172
  At.Content,
173
173
  {
@@ -177,7 +177,7 @@ const fo = y(function({ className: t, children: n, ...a }, o) {
177
177
  "data-[state=closed]:animate-accordion-up data-[state=open]:animate-accordion-down"
178
178
  ),
179
179
  ...a,
180
- children: /* @__PURE__ */ e("div", { className: m("pb-4 pt-0", t), children: n })
180
+ children: /* @__PURE__ */ e("div", { className: m("pb-4 pt-0", t), children: r })
181
181
  }
182
182
  );
183
183
  });
@@ -202,13 +202,13 @@ const mo = Me(
202
202
  success: /* @__PURE__ */ e(bt, { className: "size-4 shrink-0 mt-0.5", "aria-hidden": !0 }),
203
203
  warning: /* @__PURE__ */ e(pt, { className: "size-4 shrink-0 mt-0.5", "aria-hidden": !0 }),
204
204
  danger: /* @__PURE__ */ e(Ft, { className: "size-4 shrink-0 mt-0.5", "aria-hidden": !0 })
205
- }, hn = y(function({ className: t, variant: n = "default", title: a, dismissible: o, onDismiss: i, icon: s, children: c, ...d }, l) {
205
+ }, hn = y(function({ className: t, variant: r = "default", title: a, dismissible: o, onDismiss: i, icon: s, children: c, ...d }, l) {
206
206
  const [p, g] = B(!0);
207
207
  if (!p) return null;
208
208
  const f = () => {
209
209
  g(!1), i == null || i();
210
- }, b = s === !1 ? null : s ?? go[n ?? "default"];
211
- return /* @__PURE__ */ u("div", { ref: l, role: "alert", className: m(mo({ variant: n }), t), ...d, children: [
210
+ }, b = s === !1 ? null : s ?? go[r ?? "default"];
211
+ return /* @__PURE__ */ u("div", { ref: l, role: "alert", className: m(mo({ variant: r }), t), ...d, children: [
212
212
  b,
213
213
  /* @__PURE__ */ u("div", { className: "flex-1 min-w-0", children: [
214
214
  a && /* @__PURE__ */ e("h5", { className: "font-medium leading-tight mb-1", children: a }),
@@ -246,8 +246,8 @@ const Qr = {
246
246
  away: "bg-warning",
247
247
  offline: "bg-foreground-subtle"
248
248
  }, Re = y(
249
- function({ className: t, size: n, src: a, alt: o, fallback: i, status: s, ...c }, d) {
250
- return /* @__PURE__ */ u("span", { className: po({ size: n }), children: [
249
+ function({ className: t, size: r, src: a, alt: o, fallback: i, status: s, ...c }, d) {
250
+ return /* @__PURE__ */ u("span", { className: po({ size: r }), children: [
251
251
  /* @__PURE__ */ u(
252
252
  Mn.Root,
253
253
  {
@@ -291,7 +291,7 @@ const Qr = {
291
291
  }
292
292
  );
293
293
  Re.displayName = "Avatar";
294
- const bo = y(function({ max: t = 4, size: n = "md", className: a, children: o, ...i }, s) {
294
+ const bo = y(function({ max: t = 4, size: r = "md", className: a, children: o, ...i }, s) {
295
295
  const c = Array.isArray(o) ? o : [o], d = c.slice(0, t), l = c.length - d.length;
296
296
  return /* @__PURE__ */ u("div", { ref: s, className: m("flex items-center -space-x-2", a), ...i, children: [
297
297
  d.map((p, g) => /* @__PURE__ */ e("div", { className: "ring-2 ring-background rounded-full", children: p }, g)),
@@ -300,7 +300,7 @@ const bo = y(function({ max: t = 4, size: n = "md", className: a, children: o, .
300
300
  {
301
301
  className: m(
302
302
  "inline-flex items-center justify-center rounded-full bg-background-muted text-foreground-muted ring-2 ring-background",
303
- Qr[n],
303
+ Qr[r],
304
304
  "font-medium"
305
305
  ),
306
306
  "aria-label": `${l} more`,
@@ -358,8 +358,8 @@ const xo = Me(
358
358
  warning: "bg-warning",
359
359
  danger: "bg-danger",
360
360
  info: "bg-info"
361
- }, Ce = y(function({ className: t, variant: n, tone: a = "neutral", dot: o, children: i, ...s }, c) {
362
- return /* @__PURE__ */ u("span", { ref: c, className: m(xo({ variant: n, tone: a }), t), ...s, children: [
361
+ }, Ce = y(function({ className: t, variant: r, tone: a = "neutral", dot: o, children: i, ...s }, c) {
362
+ return /* @__PURE__ */ u("span", { ref: c, className: m(xo({ variant: r, tone: a }), t), ...s, children: [
363
363
  o && /* @__PURE__ */ e(
364
364
  "span",
365
365
  {
@@ -371,8 +371,8 @@ const xo = Me(
371
371
  ] });
372
372
  });
373
373
  Ce.displayName = "Badge";
374
- const Jr = y(function({ items: t, maxItems: n = 4, renderLink: a, className: o, ...i }, s) {
375
- const d = t.length > n ? [t[0], { collapsed: !0 }, ...t.slice(-2)] : t;
374
+ const Jr = y(function({ items: t, maxItems: r = 4, renderLink: a, className: o, ...i }, s) {
375
+ const d = t.length > r ? [t[0], { collapsed: !0 }, ...t.slice(-2)] : t;
376
376
  return /* @__PURE__ */ e("nav", { ref: s, "aria-label": "Breadcrumb", className: m("text-sm", o), ...i, children: /* @__PURE__ */ e("ol", { className: "flex flex-wrap items-center gap-1.5 text-foreground-subtle", children: d.map((l, p) => {
377
377
  const g = p === d.length - 1;
378
378
  if ("collapsed" in l)
@@ -460,7 +460,7 @@ const wo = Me(
460
460
  }
461
461
  ), K = y(function({
462
462
  className: t,
463
- variant: n,
463
+ variant: r,
464
464
  size: a,
465
465
  asChild: o = !1,
466
466
  loading: i = !1,
@@ -471,7 +471,7 @@ const wo = Me(
471
471
  type: p = "button",
472
472
  ...g
473
473
  }, f) {
474
- const b = d || i, h = m(wo({ variant: n, size: a }), t);
474
+ const b = d || i, h = m(wo({ variant: r, size: a }), t);
475
475
  return o ? /* @__PURE__ */ e(
476
476
  Xr,
477
477
  {
@@ -524,68 +524,68 @@ const yo = Me(
524
524
  padding: "md"
525
525
  }
526
526
  }
527
- ), be = y(function({ className: t, variant: n, padding: a, ...o }, i) {
528
- return /* @__PURE__ */ e("div", { ref: i, className: m(yo({ variant: n, padding: a }), t), ...o });
527
+ ), be = y(function({ className: t, variant: r, padding: a, ...o }, i) {
528
+ return /* @__PURE__ */ e("div", { ref: i, className: m(yo({ variant: r, padding: a }), t), ...o });
529
529
  });
530
530
  be.displayName = "Card";
531
531
  const Se = y(
532
- function({ className: t, ...n }, a) {
532
+ function({ className: t, ...r }, a) {
533
533
  return /* @__PURE__ */ e(
534
534
  "div",
535
535
  {
536
536
  ref: a,
537
537
  className: m("flex flex-col gap-1 pb-4", t),
538
- ...n
538
+ ...r
539
539
  }
540
540
  );
541
541
  }
542
542
  );
543
543
  Se.displayName = "CardHeader";
544
544
  const De = y(
545
- function({ className: t, ...n }, a) {
545
+ function({ className: t, ...r }, a) {
546
546
  return /* @__PURE__ */ e(
547
547
  "h3",
548
548
  {
549
549
  ref: a,
550
550
  className: m("text-base font-semibold text-foreground leading-tight", t),
551
- ...n
551
+ ...r
552
552
  }
553
553
  );
554
554
  }
555
555
  );
556
556
  De.displayName = "CardTitle";
557
- const qe = y(function({ className: t, ...n }, a) {
557
+ const qe = y(function({ className: t, ...r }, a) {
558
558
  return /* @__PURE__ */ e(
559
559
  "p",
560
560
  {
561
561
  ref: a,
562
562
  className: m("text-sm text-foreground-muted", t),
563
- ...n
563
+ ...r
564
564
  }
565
565
  );
566
566
  });
567
567
  qe.displayName = "CardDescription";
568
568
  const ke = y(
569
- function({ className: t, ...n }, a) {
570
- return /* @__PURE__ */ e("div", { ref: a, className: m("text-sm text-foreground", t), ...n });
569
+ function({ className: t, ...r }, a) {
570
+ return /* @__PURE__ */ e("div", { ref: a, className: m("text-sm text-foreground", t), ...r });
571
571
  }
572
572
  );
573
573
  ke.displayName = "CardContent";
574
574
  const No = y(
575
- function({ className: t, ...n }, a) {
575
+ function({ className: t, ...r }, a) {
576
576
  return /* @__PURE__ */ e(
577
577
  "div",
578
578
  {
579
579
  ref: a,
580
580
  className: m("flex items-center gap-2 pt-4", t),
581
- ...n
581
+ ...r
582
582
  }
583
583
  );
584
584
  }
585
585
  );
586
586
  No.displayName = "CardFooter";
587
587
  const Qt = y(
588
- function({ className: t, label: n, description: a, error: o, hideLabel: i, id: s, disabled: c, ...d }, l) {
588
+ function({ className: t, label: r, description: a, error: o, hideLabel: i, id: s, disabled: c, ...d }, l) {
589
589
  const p = Le(), g = s ?? p, f = a ? `${g}-desc` : void 0, b = o ? `${g}-error` : void 0;
590
590
  return /* @__PURE__ */ u("div", { className: m("flex flex-col gap-1", t), children: [
591
591
  /* @__PURE__ */ u("div", { className: "flex items-start gap-2.5", children: [
@@ -610,7 +610,7 @@ const Qt = y(
610
610
  children: /* @__PURE__ */ e(cr.Indicator, { className: "flex items-center justify-center", children: d.checked === "indeterminate" ? /* @__PURE__ */ e(Gr, { className: "size-3", "aria-hidden": !0, strokeWidth: 3 }) : /* @__PURE__ */ e(Ye, { className: "size-3", "aria-hidden": !0, strokeWidth: 3 }) })
611
611
  }
612
612
  ),
613
- n && /* @__PURE__ */ u("div", { className: m("flex flex-col gap-0.5", i && "sr-only"), children: [
613
+ r && /* @__PURE__ */ u("div", { className: m("flex flex-col gap-0.5", i && "sr-only"), children: [
614
614
  /* @__PURE__ */ e(
615
615
  "label",
616
616
  {
@@ -619,7 +619,7 @@ const Qt = y(
619
619
  "text-sm text-foreground select-none",
620
620
  c && "opacity-50 cursor-not-allowed"
621
621
  ),
622
- children: n
622
+ children: r
623
623
  }
624
624
  ),
625
625
  a && /* @__PURE__ */ e("p", { id: f, className: "text-xs text-foreground-subtle", children: a })
@@ -632,7 +632,7 @@ const Qt = y(
632
632
  Qt.displayName = "Checkbox";
633
633
  const So = y(function({
634
634
  value: t,
635
- onChange: n,
635
+ onChange: r,
636
636
  options: a,
637
637
  loadOptions: o,
638
638
  label: i,
@@ -663,9 +663,9 @@ const So = y(function({
663
663
  [O, t]
664
664
  ), P = b === "sm" ? "h-8" : b === "lg" ? "h-10" : "h-9", A = b === "sm" ? "px-2.5" : b === "lg" ? "px-3.5" : "px-3", j = Ie(
665
665
  (F) => {
666
- F.stopPropagation(), n(null);
666
+ F.stopPropagation(), r(null);
667
667
  },
668
- [n]
668
+ [r]
669
669
  ), Y = !!c;
670
670
  return /* @__PURE__ */ u("div", { ref: x, className: m("flex flex-col gap-1.5", h), children: [
671
671
  i && /* @__PURE__ */ e("label", { htmlFor: w, className: "text-sm font-medium text-foreground", children: i }),
@@ -741,7 +741,7 @@ const So = y(function({
741
741
  value: F.value,
742
742
  disabled: F.disabled,
743
743
  onSelect: (ne) => {
744
- n(ne), N(!1);
744
+ r(ne), N(!1);
745
745
  },
746
746
  className: m(
747
747
  "flex cursor-default items-center gap-2 rounded-sm px-2 py-1.5 text-sm text-foreground",
@@ -767,7 +767,7 @@ const So = y(function({
767
767
  ] });
768
768
  });
769
769
  So.displayName = "Combobox";
770
- const ko = y(function({ className: t, ...n }, a) {
770
+ const ko = y(function({ className: t, ...r }, a) {
771
771
  return /* @__PURE__ */ e(
772
772
  ue,
773
773
  {
@@ -776,12 +776,12 @@ const ko = y(function({ className: t, ...n }, a) {
776
776
  "flex h-full w-full flex-col overflow-hidden rounded-lg bg-popover text-popover-foreground",
777
777
  t
778
778
  ),
779
- ...n
779
+ ...r
780
780
  }
781
781
  );
782
782
  });
783
783
  ko.displayName = "Command";
784
- const Co = y(function({ className: t, ...n }, a) {
784
+ const Co = y(function({ className: t, ...r }, a) {
785
785
  return /* @__PURE__ */ u("div", { className: "flex items-center gap-2 border-b border-border px-3", "cmdk-input-wrapper": "", children: [
786
786
  /* @__PURE__ */ e(un, { className: "size-4 shrink-0 text-foreground-subtle", "aria-hidden": !0 }),
787
787
  /* @__PURE__ */ e(
@@ -793,35 +793,35 @@ const Co = y(function({ className: t, ...n }, a) {
793
793
  "placeholder:text-foreground-subtle disabled:cursor-not-allowed disabled:opacity-50",
794
794
  t
795
795
  ),
796
- ...n
796
+ ...r
797
797
  }
798
798
  )
799
799
  ] });
800
800
  });
801
801
  Co.displayName = "CommandInput";
802
- const To = y(function({ className: t, ...n }, a) {
802
+ const To = y(function({ className: t, ...r }, a) {
803
803
  return /* @__PURE__ */ e(
804
804
  ue.List,
805
805
  {
806
806
  ref: a,
807
807
  className: m("max-h-[320px] overflow-y-auto p-1", t),
808
- ...n
808
+ ...r
809
809
  }
810
810
  );
811
811
  });
812
812
  To.displayName = "CommandList";
813
- const Do = y(function(t, n) {
813
+ const Do = y(function(t, r) {
814
814
  return /* @__PURE__ */ e(
815
815
  ue.Empty,
816
816
  {
817
- ref: n,
817
+ ref: r,
818
818
  className: "py-8 text-center text-sm text-foreground-subtle",
819
819
  ...t
820
820
  }
821
821
  );
822
822
  });
823
823
  Do.displayName = "CommandEmpty";
824
- const Io = y(function({ className: t, ...n }, a) {
824
+ const Io = y(function({ className: t, ...r }, a) {
825
825
  return /* @__PURE__ */ e(
826
826
  ue.Group,
827
827
  {
@@ -833,23 +833,23 @@ const Io = y(function({ className: t, ...n }, a) {
833
833
  "[&_[cmdk-group-heading]]:text-foreground-subtle",
834
834
  t
835
835
  ),
836
- ...n
836
+ ...r
837
837
  }
838
838
  );
839
839
  });
840
840
  Io.displayName = "CommandGroup";
841
- const zo = y(function({ className: t, ...n }, a) {
841
+ const zo = y(function({ className: t, ...r }, a) {
842
842
  return /* @__PURE__ */ e(
843
843
  ue.Separator,
844
844
  {
845
845
  ref: a,
846
846
  className: m("-mx-1 my-1 h-px bg-border", t),
847
- ...n
847
+ ...r
848
848
  }
849
849
  );
850
850
  });
851
851
  zo.displayName = "CommandSeparator";
852
- const Mo = y(function({ className: t, ...n }, a) {
852
+ const Mo = y(function({ className: t, ...r }, a) {
853
853
  return /* @__PURE__ */ e(
854
854
  ue.Item,
855
855
  {
@@ -861,12 +861,12 @@ const Mo = y(function({ className: t, ...n }, a) {
861
861
  "[&_svg]:size-4 [&_svg]:text-foreground-subtle",
862
862
  t
863
863
  ),
864
- ...n
864
+ ...r
865
865
  }
866
866
  );
867
867
  });
868
868
  Mo.displayName = "CommandItem";
869
- function _l({ children: r, className: t }) {
869
+ function _l({ children: n, className: t }) {
870
870
  return /* @__PURE__ */ e(
871
871
  "span",
872
872
  {
@@ -874,12 +874,12 @@ function _l({ children: r, className: t }) {
874
874
  "ml-auto inline-flex items-center gap-0.5 text-xs tracking-widest text-foreground-subtle font-mono",
875
875
  t
876
876
  ),
877
- children: r
877
+ children: n
878
878
  }
879
879
  );
880
880
  }
881
- function jl({ open: r, onOpenChange: t, children: n, title: a = "Command palette" }) {
882
- return /* @__PURE__ */ e(U.Root, { open: r, onOpenChange: t, children: /* @__PURE__ */ u(U.Portal, { children: [
881
+ function jl({ open: n, onOpenChange: t, children: r, title: a = "Command palette" }) {
882
+ return /* @__PURE__ */ e(U.Root, { open: n, onOpenChange: t, children: /* @__PURE__ */ u(U.Portal, { children: [
883
883
  /* @__PURE__ */ e(
884
884
  U.Overlay,
885
885
  {
@@ -903,26 +903,26 @@ function jl({ open: r, onOpenChange: t, children: n, title: a = "Command palette
903
903
  ),
904
904
  children: [
905
905
  /* @__PURE__ */ e(U.Title, { className: "sr-only", children: a }),
906
- n
906
+ r
907
907
  ]
908
908
  }
909
909
  )
910
910
  ] }) });
911
911
  }
912
- function Hl(r) {
913
- const [t, n] = B(0);
912
+ function Hl(n) {
913
+ const [t, r] = B(0);
914
914
  Be(() => {
915
915
  const a = (o) => {
916
- o.key === "k" && (o.metaKey || o.ctrlKey) && (o.preventDefault(), r(!0), n((i) => i + 1));
916
+ o.key === "k" && (o.metaKey || o.ctrlKey) && (o.preventDefault(), n(!0), r((i) => i + 1));
917
917
  };
918
918
  return window.addEventListener("keydown", a), () => window.removeEventListener("keydown", a);
919
- }, [r]);
919
+ }, [n]);
920
920
  }
921
921
  const Vl = me.Root, Ul = me.Trigger, Gl = me.Group, Po = me.Portal, Wl = me.Sub, ql = me.RadioGroup, bn = m(
922
922
  "relative flex cursor-default select-none items-center gap-2 rounded-sm px-2 py-1.5 text-sm text-foreground outline-none",
923
923
  "data-[highlighted]:bg-background-muted data-[highlighted]:text-foreground",
924
924
  "data-[disabled]:pointer-events-none data-[disabled]:opacity-50"
925
- ), Eo = y(function({ className: t, children: n, ...a }, o) {
925
+ ), Eo = y(function({ className: t, children: r, ...a }, o) {
926
926
  return /* @__PURE__ */ u(
927
927
  me.SubTrigger,
928
928
  {
@@ -930,14 +930,14 @@ const Vl = me.Root, Ul = me.Trigger, Gl = me.Group, Po = me.Portal, Wl = me.Sub,
930
930
  className: m(bn, "data-[state=open]:bg-background-muted", t),
931
931
  ...a,
932
932
  children: [
933
- n,
933
+ r,
934
934
  /* @__PURE__ */ e(Ke, { className: "ml-auto size-4 text-foreground-subtle", "aria-hidden": !0 })
935
935
  ]
936
936
  }
937
937
  );
938
938
  });
939
939
  Eo.displayName = "ContextMenuSubTrigger";
940
- const Ao = y(function({ className: t, ...n }, a) {
940
+ const Ao = y(function({ className: t, ...r }, a) {
941
941
  return /* @__PURE__ */ e(
942
942
  me.SubContent,
943
943
  {
@@ -946,12 +946,12 @@ const Ao = y(function({ className: t, ...n }, a) {
946
946
  "z-[var(--z-popover)] min-w-[8rem] overflow-hidden rounded-lg border border-border bg-popover p-1 text-popover-foreground shadow-md",
947
947
  t
948
948
  ),
949
- ...n
949
+ ...r
950
950
  }
951
951
  );
952
952
  });
953
953
  Ao.displayName = "ContextMenuSubContent";
954
- const Ro = y(function({ className: t, ...n }, a) {
954
+ const Ro = y(function({ className: t, ...r }, a) {
955
955
  return /* @__PURE__ */ e(Po, { children: /* @__PURE__ */ e(
956
956
  me.Content,
957
957
  {
@@ -962,19 +962,19 @@ const Ro = y(function({ className: t, ...n }, a) {
962
962
  "data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0",
963
963
  t
964
964
  ),
965
- ...n
965
+ ...r
966
966
  }
967
967
  ) });
968
968
  });
969
969
  Ro.displayName = "ContextMenuContent";
970
- const Oo = y(function({ className: t, destructive: n, ...a }, o) {
970
+ const Oo = y(function({ className: t, destructive: r, ...a }, o) {
971
971
  return /* @__PURE__ */ e(
972
972
  me.Item,
973
973
  {
974
974
  ref: o,
975
975
  className: m(
976
976
  bn,
977
- n && "text-danger-text data-[highlighted]:bg-danger-soft data-[highlighted]:text-danger-text",
977
+ r && "text-danger-text data-[highlighted]:bg-danger-soft data-[highlighted]:text-danger-text",
978
978
  t
979
979
  ),
980
980
  ...a
@@ -982,7 +982,7 @@ const Oo = y(function({ className: t, destructive: n, ...a }, o) {
982
982
  );
983
983
  });
984
984
  Oo.displayName = "ContextMenuItem";
985
- const Lo = y(function({ className: t, children: n, ...a }, o) {
985
+ const Lo = y(function({ className: t, children: r, ...a }, o) {
986
986
  return /* @__PURE__ */ u(
987
987
  me.CheckboxItem,
988
988
  {
@@ -991,13 +991,13 @@ const Lo = y(function({ className: t, children: n, ...a }, o) {
991
991
  ...a,
992
992
  children: [
993
993
  /* @__PURE__ */ e("span", { className: "absolute left-2 flex size-4 items-center justify-center", children: /* @__PURE__ */ e(me.ItemIndicator, { children: /* @__PURE__ */ e(Ye, { className: "size-4 text-accent", "aria-hidden": !0 }) }) }),
994
- n
994
+ r
995
995
  ]
996
996
  }
997
997
  );
998
998
  });
999
999
  Lo.displayName = "ContextMenuCheckboxItem";
1000
- const $o = y(function({ className: t, children: n, ...a }, o) {
1000
+ const $o = y(function({ className: t, children: r, ...a }, o) {
1001
1001
  return /* @__PURE__ */ u(
1002
1002
  me.RadioItem,
1003
1003
  {
@@ -1006,39 +1006,39 @@ const $o = y(function({ className: t, children: n, ...a }, o) {
1006
1006
  ...a,
1007
1007
  children: [
1008
1008
  /* @__PURE__ */ e("span", { className: "absolute left-2 flex size-4 items-center justify-center", children: /* @__PURE__ */ e(me.ItemIndicator, { children: /* @__PURE__ */ e(Vn, { className: "size-2 fill-accent text-accent", "aria-hidden": !0 }) }) }),
1009
- n
1009
+ r
1010
1010
  ]
1011
1011
  }
1012
1012
  );
1013
1013
  });
1014
1014
  $o.displayName = "ContextMenuRadioItem";
1015
- const Fo = y(function({ className: t, ...n }, a) {
1015
+ const Fo = y(function({ className: t, ...r }, a) {
1016
1016
  return /* @__PURE__ */ e(
1017
1017
  me.Label,
1018
1018
  {
1019
1019
  ref: a,
1020
1020
  className: m("px-2 py-1.5 text-xs font-medium text-foreground-subtle", t),
1021
- ...n
1021
+ ...r
1022
1022
  }
1023
1023
  );
1024
1024
  });
1025
1025
  Fo.displayName = "ContextMenuLabel";
1026
- const Bo = y(function({ className: t, ...n }, a) {
1026
+ const Bo = y(function({ className: t, ...r }, a) {
1027
1027
  return /* @__PURE__ */ e(
1028
1028
  me.Separator,
1029
1029
  {
1030
1030
  ref: a,
1031
1031
  className: m("-mx-1 my-1 h-px bg-border", t),
1032
- ...n
1032
+ ...r
1033
1033
  }
1034
1034
  );
1035
1035
  });
1036
1036
  Bo.displayName = "ContextMenuSeparator";
1037
- function _o({ className: r, ...t }) {
1037
+ function _o({ className: n, ...t }) {
1038
1038
  return /* @__PURE__ */ e(
1039
1039
  "span",
1040
1040
  {
1041
- className: m("ml-auto text-xs tracking-widest text-foreground-subtle font-mono", r),
1041
+ className: m("ml-auto text-xs tracking-widest text-foreground-subtle font-mono", n),
1042
1042
  ...t
1043
1043
  }
1044
1044
  );
@@ -1049,12 +1049,12 @@ const qn = ge.Root, Kn = ge.Trigger, Kl = ge.Group, jo = ge.Portal, Yl = ge.Sub,
1049
1049
  "data-[highlighted]:bg-background-muted data-[highlighted]:text-foreground",
1050
1050
  "data-[disabled]:pointer-events-none data-[disabled]:opacity-50",
1051
1051
  "transition-colors duration-[var(--duration-fast)]"
1052
- ), Ho = y(function({ className: t, inset: n, children: a, ...o }, i) {
1052
+ ), Ho = y(function({ className: t, inset: r, children: a, ...o }, i) {
1053
1053
  return /* @__PURE__ */ u(
1054
1054
  ge.SubTrigger,
1055
1055
  {
1056
1056
  ref: i,
1057
- className: m(xn, "data-[state=open]:bg-background-muted", n && "pl-8", t),
1057
+ className: m(xn, "data-[state=open]:bg-background-muted", r && "pl-8", t),
1058
1058
  ...o,
1059
1059
  children: [
1060
1060
  a,
@@ -1064,7 +1064,7 @@ const qn = ge.Root, Kn = ge.Trigger, Kl = ge.Group, jo = ge.Portal, Yl = ge.Sub,
1064
1064
  );
1065
1065
  });
1066
1066
  Ho.displayName = "DropdownMenuSubTrigger";
1067
- const Vo = y(function({ className: t, ...n }, a) {
1067
+ const Vo = y(function({ className: t, ...r }, a) {
1068
1068
  return /* @__PURE__ */ e(
1069
1069
  ge.SubContent,
1070
1070
  {
@@ -1076,17 +1076,17 @@ const Vo = y(function({ className: t, ...n }, a) {
1076
1076
  "data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95",
1077
1077
  t
1078
1078
  ),
1079
- ...n
1079
+ ...r
1080
1080
  }
1081
1081
  );
1082
1082
  });
1083
1083
  Vo.displayName = "DropdownMenuSubContent";
1084
- const vn = y(function({ className: t, sideOffset: n = 4, align: a = "end", ...o }, i) {
1084
+ const vn = y(function({ className: t, sideOffset: r = 4, align: a = "end", ...o }, i) {
1085
1085
  return /* @__PURE__ */ e(jo, { children: /* @__PURE__ */ e(
1086
1086
  ge.Content,
1087
1087
  {
1088
1088
  ref: i,
1089
- sideOffset: n,
1089
+ sideOffset: r,
1090
1090
  align: a,
1091
1091
  className: m(
1092
1092
  "z-[var(--z-popover)] min-w-[12rem] overflow-hidden rounded-lg border border-border bg-popover p-1 text-popover-foreground shadow-md",
@@ -1101,14 +1101,14 @@ const vn = y(function({ className: t, sideOffset: n = 4, align: a = "end", ...o
1101
1101
  ) });
1102
1102
  });
1103
1103
  vn.displayName = "DropdownMenuContent";
1104
- const ft = y(function({ className: t, inset: n, destructive: a, ...o }, i) {
1104
+ const ft = y(function({ className: t, inset: r, destructive: a, ...o }, i) {
1105
1105
  return /* @__PURE__ */ e(
1106
1106
  ge.Item,
1107
1107
  {
1108
1108
  ref: i,
1109
1109
  className: m(
1110
1110
  xn,
1111
- n && "pl-8",
1111
+ r && "pl-8",
1112
1112
  a && "text-danger-text data-[highlighted]:bg-danger-soft data-[highlighted]:text-danger-text",
1113
1113
  t
1114
1114
  ),
@@ -1117,7 +1117,7 @@ const ft = y(function({ className: t, inset: n, destructive: a, ...o }, i) {
1117
1117
  );
1118
1118
  });
1119
1119
  ft.displayName = "DropdownMenuItem";
1120
- const Zr = y(function({ className: t, children: n, checked: a, ...o }, i) {
1120
+ const Zr = y(function({ className: t, children: r, checked: a, ...o }, i) {
1121
1121
  return /* @__PURE__ */ u(
1122
1122
  ge.CheckboxItem,
1123
1123
  {
@@ -1127,13 +1127,13 @@ const Zr = y(function({ className: t, children: n, checked: a, ...o }, i) {
1127
1127
  ...o,
1128
1128
  children: [
1129
1129
  /* @__PURE__ */ e("span", { className: "absolute left-2 flex size-4 items-center justify-center", children: /* @__PURE__ */ e(ge.ItemIndicator, { children: /* @__PURE__ */ e(Ye, { className: "size-4 text-accent", "aria-hidden": !0 }) }) }),
1130
- n
1130
+ r
1131
1131
  ]
1132
1132
  }
1133
1133
  );
1134
1134
  });
1135
1135
  Zr.displayName = "DropdownMenuCheckboxItem";
1136
- const Uo = y(function({ className: t, children: n, ...a }, o) {
1136
+ const Uo = y(function({ className: t, children: r, ...a }, o) {
1137
1137
  return /* @__PURE__ */ u(
1138
1138
  ge.RadioItem,
1139
1139
  {
@@ -1142,20 +1142,20 @@ const Uo = y(function({ className: t, children: n, ...a }, o) {
1142
1142
  ...a,
1143
1143
  children: [
1144
1144
  /* @__PURE__ */ e("span", { className: "absolute left-2 flex size-4 items-center justify-center", children: /* @__PURE__ */ e(ge.ItemIndicator, { children: /* @__PURE__ */ e(Vn, { className: "size-2 fill-accent text-accent", "aria-hidden": !0 }) }) }),
1145
- n
1145
+ r
1146
1146
  ]
1147
1147
  }
1148
1148
  );
1149
1149
  });
1150
1150
  Uo.displayName = "DropdownMenuRadioItem";
1151
- const Yn = y(function({ className: t, inset: n, ...a }, o) {
1151
+ const Yn = y(function({ className: t, inset: r, ...a }, o) {
1152
1152
  return /* @__PURE__ */ e(
1153
1153
  ge.Label,
1154
1154
  {
1155
1155
  ref: o,
1156
1156
  className: m(
1157
1157
  "px-2 py-1.5 text-xs font-medium text-foreground-subtle",
1158
- n && "pl-8",
1158
+ r && "pl-8",
1159
1159
  t
1160
1160
  ),
1161
1161
  ...a
@@ -1163,22 +1163,22 @@ const Yn = y(function({ className: t, inset: n, ...a }, o) {
1163
1163
  );
1164
1164
  });
1165
1165
  Yn.displayName = "DropdownMenuLabel";
1166
- const zt = y(function({ className: t, ...n }, a) {
1166
+ const zt = y(function({ className: t, ...r }, a) {
1167
1167
  return /* @__PURE__ */ e(
1168
1168
  ge.Separator,
1169
1169
  {
1170
1170
  ref: a,
1171
1171
  className: m("-mx-1 my-1 h-px bg-border", t),
1172
- ...n
1172
+ ...r
1173
1173
  }
1174
1174
  );
1175
1175
  });
1176
1176
  zt.displayName = "DropdownMenuSeparator";
1177
- function Go({ className: r, ...t }) {
1177
+ function Go({ className: n, ...t }) {
1178
1178
  return /* @__PURE__ */ e(
1179
1179
  "span",
1180
1180
  {
1181
- className: m("ml-auto text-xs tracking-widest text-foreground-subtle font-mono", r),
1181
+ className: m("ml-auto text-xs tracking-widest text-foreground-subtle font-mono", n),
1182
1182
  ...t
1183
1183
  }
1184
1184
  );
@@ -1215,7 +1215,7 @@ const Wo = Me(
1215
1215
  size: "md"
1216
1216
  }
1217
1217
  }
1218
- ), wn = y(function({ className: t, variant: n, size: a, icon: o, loading: i, disabled: s, type: c = "button", ...d }, l) {
1218
+ ), wn = y(function({ className: t, variant: r, size: a, icon: o, loading: i, disabled: s, type: c = "button", ...d }, l) {
1219
1219
  return /* @__PURE__ */ e(
1220
1220
  "button",
1221
1221
  {
@@ -1223,7 +1223,7 @@ const Wo = Me(
1223
1223
  type: c,
1224
1224
  "aria-busy": i || void 0,
1225
1225
  disabled: s || i,
1226
- className: m(Wo({ variant: n, size: a }), t),
1226
+ className: m(Wo({ variant: r, size: a }), t),
1227
1227
  ...d,
1228
1228
  children: i ? /* @__PURE__ */ e(dn, { className: "animate-spin", "aria-hidden": "true" }) : o
1229
1229
  }
@@ -1262,7 +1262,7 @@ const qo = Me(
1262
1262
  "disabled:cursor-not-allowed"
1263
1263
  ]), le = y(function({
1264
1264
  className: t,
1265
- type: n = "text",
1265
+ type: r = "text",
1266
1266
  size: a,
1267
1267
  tone: o,
1268
1268
  label: i,
@@ -1278,7 +1278,7 @@ const qo = Me(
1278
1278
  value: x,
1279
1279
  ...w
1280
1280
  }, v) {
1281
- const S = Le(), C = b ?? S, N = `${C}-helper`, T = `${C}-error`, [I, k] = B(!1), D = n === "password" ? I ? "text" : "password" : n, z = !!c, $ = z ? "error" : o, O = d ?? (n === "search" ? /* @__PURE__ */ e(un, { className: "size-4 text-foreground-subtle", "aria-hidden": !0 }) : null), _ = x !== void 0 && x !== "" && x !== null;
1281
+ const S = Le(), C = b ?? S, N = `${C}-helper`, T = `${C}-error`, [I, k] = B(!1), D = r === "password" ? I ? "text" : "password" : r, z = !!c, $ = z ? "error" : o, O = d ?? (r === "search" ? /* @__PURE__ */ e(un, { className: "size-4 text-foreground-subtle", "aria-hidden": !0 }) : null), _ = x !== void 0 && x !== "" && x !== null;
1282
1282
  return /* @__PURE__ */ u("div", { className: m("flex flex-col gap-1.5", t), children: [
1283
1283
  i && /* @__PURE__ */ e(
1284
1284
  "label",
@@ -1318,7 +1318,7 @@ const qo = Me(
1318
1318
  children: /* @__PURE__ */ e(ze, { className: "size-4", "aria-hidden": !0 })
1319
1319
  }
1320
1320
  ),
1321
- n === "password" && /* @__PURE__ */ e(
1321
+ r === "password" && /* @__PURE__ */ e(
1322
1322
  "button",
1323
1323
  {
1324
1324
  type: "button",
@@ -1337,20 +1337,20 @@ const qo = Me(
1337
1337
  });
1338
1338
  le.displayName = "Input";
1339
1339
  const Xn = y(
1340
- function({ className: t, ...n }, a) {
1340
+ function({ className: t, ...r }, a) {
1341
1341
  return /* @__PURE__ */ e("div", { className: "relative w-full overflow-auto", children: /* @__PURE__ */ e(
1342
1342
  "table",
1343
1343
  {
1344
1344
  ref: a,
1345
1345
  className: m("w-full caption-bottom text-sm border-collapse", t),
1346
- ...n
1346
+ ...r
1347
1347
  }
1348
1348
  ) });
1349
1349
  }
1350
1350
  );
1351
1351
  Xn.displayName = "Table";
1352
1352
  const Qn = y(
1353
- function({ className: t, ...n }, a) {
1353
+ function({ className: t, ...r }, a) {
1354
1354
  return /* @__PURE__ */ e(
1355
1355
  "thead",
1356
1356
  {
@@ -1360,44 +1360,44 @@ const Qn = y(
1360
1360
  "[&_tr]:border-b [&_tr]:border-border",
1361
1361
  t
1362
1362
  ),
1363
- ...n
1363
+ ...r
1364
1364
  }
1365
1365
  );
1366
1366
  }
1367
1367
  );
1368
1368
  Qn.displayName = "TableHeader";
1369
1369
  const Jn = y(
1370
- function({ className: t, ...n }, a) {
1370
+ function({ className: t, ...r }, a) {
1371
1371
  return /* @__PURE__ */ e(
1372
1372
  "tbody",
1373
1373
  {
1374
1374
  ref: a,
1375
1375
  className: m("[&_tr:last-child]:border-0", t),
1376
- ...n
1376
+ ...r
1377
1377
  }
1378
1378
  );
1379
1379
  }
1380
1380
  );
1381
1381
  Jn.displayName = "TableBody";
1382
1382
  const Yo = y(
1383
- function({ className: t, ...n }, a) {
1383
+ function({ className: t, ...r }, a) {
1384
1384
  return /* @__PURE__ */ e(
1385
1385
  "tfoot",
1386
1386
  {
1387
1387
  ref: a,
1388
1388
  className: m("border-t border-border bg-background-subtle font-medium", t),
1389
- ...n
1389
+ ...r
1390
1390
  }
1391
1391
  );
1392
1392
  }
1393
1393
  );
1394
1394
  Yo.displayName = "TableFooter";
1395
- const ot = y(function({ className: t, selected: n, ...a }, o) {
1395
+ const ot = y(function({ className: t, selected: r, ...a }, o) {
1396
1396
  return /* @__PURE__ */ e(
1397
1397
  "tr",
1398
1398
  {
1399
1399
  ref: o,
1400
- "data-selected": n || void 0,
1400
+ "data-selected": r || void 0,
1401
1401
  className: m(
1402
1402
  "border-b border-border transition-colors duration-[var(--duration-fast)]",
1403
1403
  "hover:bg-background-subtle",
@@ -1409,7 +1409,7 @@ const ot = y(function({ className: t, selected: n, ...a }, o) {
1409
1409
  );
1410
1410
  });
1411
1411
  ot.displayName = "TableRow";
1412
- const it = y(function({ className: t, ...n }, a) {
1412
+ const it = y(function({ className: t, ...r }, a) {
1413
1413
  return /* @__PURE__ */ e(
1414
1414
  "th",
1415
1415
  {
@@ -1419,38 +1419,38 @@ const it = y(function({ className: t, ...n }, a) {
1419
1419
  "[&:has([role=checkbox])]:w-10 [&:has([role=checkbox])]:pr-0",
1420
1420
  t
1421
1421
  ),
1422
- ...n
1422
+ ...r
1423
1423
  }
1424
1424
  );
1425
1425
  });
1426
1426
  it.displayName = "TableHead";
1427
- const Je = y(function({ className: t, ...n }, a) {
1427
+ const Je = y(function({ className: t, ...r }, a) {
1428
1428
  return /* @__PURE__ */ e(
1429
1429
  "td",
1430
1430
  {
1431
1431
  ref: a,
1432
1432
  className: m("px-3 py-3 align-middle text-foreground", t),
1433
- ...n
1433
+ ...r
1434
1434
  }
1435
1435
  );
1436
1436
  });
1437
1437
  Je.displayName = "TableCell";
1438
1438
  const Xo = y(
1439
- function({ className: t, ...n }, a) {
1439
+ function({ className: t, ...r }, a) {
1440
1440
  return /* @__PURE__ */ e(
1441
1441
  "caption",
1442
1442
  {
1443
1443
  ref: a,
1444
1444
  className: m("mt-4 text-sm text-foreground-subtle", t),
1445
- ...n
1445
+ ...r
1446
1446
  }
1447
1447
  );
1448
1448
  }
1449
1449
  );
1450
1450
  Xo.displayName = "TableCaption";
1451
1451
  const ea = y(
1452
- function({ sortKey: t, currentSort: n, onSortChange: a, children: o, className: i, ...s }, c) {
1453
- const d = (n == null ? void 0 : n.key) === t, l = d ? n == null ? void 0 : n.direction : void 0, p = () => {
1452
+ function({ sortKey: t, currentSort: r, onSortChange: a, children: o, className: i, ...s }, c) {
1453
+ const d = (r == null ? void 0 : r.key) === t, l = d ? r == null ? void 0 : r.direction : void 0, p = () => {
1454
1454
  a(t, d && l === "asc" ? "desc" : "asc");
1455
1455
  };
1456
1456
  return /* @__PURE__ */ e(it, { ref: c, className: m("p-0", i), "aria-sort": d ? l === "asc" ? "ascending" : "descending" : "none", ...s, children: /* @__PURE__ */ u(
@@ -1474,7 +1474,7 @@ const ea = y(
1474
1474
  }
1475
1475
  );
1476
1476
  ea.displayName = "TableSortHeader";
1477
- const ta = y(function({ className: t, variant: n, ...a }, o) {
1477
+ const ta = y(function({ className: t, variant: r, ...a }, o) {
1478
1478
  return /* @__PURE__ */ e(
1479
1479
  "div",
1480
1480
  {
@@ -1482,11 +1482,11 @@ const ta = y(function({ className: t, variant: n, ...a }, o) {
1482
1482
  "aria-hidden": !0,
1483
1483
  className: m(
1484
1484
  "animate-pulse bg-background-muted",
1485
- n === "text" && "h-3 rounded-sm",
1486
- n === "circle" && "rounded-full aspect-square",
1487
- n === "avatar" && "size-8 rounded-full",
1488
- n === "card" && "rounded-lg",
1489
- !n && "rounded-md",
1485
+ r === "text" && "h-3 rounded-sm",
1486
+ r === "circle" && "rounded-full aspect-square",
1487
+ r === "avatar" && "size-8 rounded-full",
1488
+ r === "card" && "rounded-lg",
1489
+ !r && "rounded-md",
1490
1490
  t
1491
1491
  ),
1492
1492
  ...a
@@ -1495,16 +1495,16 @@ const ta = y(function({ className: t, variant: n, ...a }, o) {
1495
1495
  });
1496
1496
  ta.displayName = "Skeleton";
1497
1497
  function Qo({
1498
- columns: r,
1498
+ columns: n,
1499
1499
  rows: t,
1500
- loading: n,
1500
+ loading: r,
1501
1501
  sort: a,
1502
1502
  onSortChange: o,
1503
1503
  filter: i,
1504
1504
  emptyState: s,
1505
1505
  className: c
1506
1506
  }) {
1507
- const [d, l] = B({}), p = ht(() => r.filter((f) => !d[f.key]), [r, d]), g = () => n ? Array.from({ length: 5 }).map((f, b) => /* @__PURE__ */ e(ot, { children: p.map((h) => /* @__PURE__ */ e(Je, { children: /* @__PURE__ */ e(ta, { variant: "text", className: "w-3/4" }) }, h.key)) }, `skel-${b}`)) : t.length === 0 ? /* @__PURE__ */ e(ot, { children: /* @__PURE__ */ e(Je, { colSpan: p.length, className: "h-32 text-center", children: s ?? /* @__PURE__ */ e("span", { className: "text-foreground-subtle", children: "No results." }) }) }) : t.map((f) => /* @__PURE__ */ e(ot, { children: p.map((b) => /* @__PURE__ */ e(
1507
+ const [d, l] = B({}), p = ht(() => n.filter((f) => !d[f.key]), [n, d]), g = () => r ? Array.from({ length: 5 }).map((f, b) => /* @__PURE__ */ e(ot, { children: p.map((h) => /* @__PURE__ */ e(Je, { children: /* @__PURE__ */ e(ta, { variant: "text", className: "w-3/4" }) }, h.key)) }, `skel-${b}`)) : t.length === 0 ? /* @__PURE__ */ e(ot, { children: /* @__PURE__ */ e(Je, { colSpan: p.length, className: "h-32 text-center", children: s ?? /* @__PURE__ */ e("span", { className: "text-foreground-subtle", children: "No results." }) }) }) : t.map((f) => /* @__PURE__ */ e(ot, { children: p.map((b) => /* @__PURE__ */ e(
1508
1508
  Je,
1509
1509
  {
1510
1510
  className: m(b.align === "right" && "text-right tabular"),
@@ -1533,7 +1533,7 @@ function Qo({
1533
1533
  /* @__PURE__ */ u(vn, { children: [
1534
1534
  /* @__PURE__ */ e(Yn, { children: "Columns" }),
1535
1535
  /* @__PURE__ */ e(zt, {}),
1536
- r.map((f) => /* @__PURE__ */ e(
1536
+ n.map((f) => /* @__PURE__ */ e(
1537
1537
  Zr,
1538
1538
  {
1539
1539
  checked: !d[f.key],
@@ -1563,7 +1563,7 @@ function Qo({
1563
1563
  ] }) })
1564
1564
  ] });
1565
1565
  }
1566
- const na = y(function({ className: t, classNames: n, ...a }, o) {
1566
+ const na = y(function({ className: t, classNames: r, ...a }, o) {
1567
1567
  return /* @__PURE__ */ e(
1568
1568
  no,
1569
1569
  {
@@ -1591,7 +1591,7 @@ const na = y(function({ className: t, classNames: n, ...a }, o) {
1591
1591
  range_end: "[&_button]:bg-accent [&_button]:text-on-accent [&_button]:rounded-l-none",
1592
1592
  range_middle: "[&_button]:bg-accent-soft [&_button]:text-foreground [&_button]:rounded-none",
1593
1593
  hidden: "invisible",
1594
- ...n
1594
+ ...r
1595
1595
  },
1596
1596
  components: {
1597
1597
  Chevron: ({ orientation: i }) => i === "left" ? /* @__PURE__ */ e(on, { className: "size-4" }) : /* @__PURE__ */ e(Ke, { className: "size-4" })
@@ -1600,20 +1600,20 @@ const na = y(function({ className: t, classNames: n, ...a }, o) {
1600
1600
  }
1601
1601
  );
1602
1602
  });
1603
- function Jt(r) {
1604
- return r ? r.toLocaleDateString(void 0, { year: "numeric", month: "short", day: "numeric" }) : "";
1603
+ function Jt(n) {
1604
+ return n ? n.toLocaleDateString(void 0, { year: "numeric", month: "short", day: "numeric" }) : "";
1605
1605
  }
1606
1606
  function ra({
1607
- label: r,
1607
+ label: n,
1608
1608
  placeholder: t,
1609
- hasValue: n,
1609
+ hasValue: r,
1610
1610
  children: a,
1611
1611
  error: o,
1612
1612
  fieldId: i,
1613
1613
  disabled: s
1614
1614
  }) {
1615
1615
  return /* @__PURE__ */ u("div", { className: "flex flex-col gap-1.5", children: [
1616
- r && /* @__PURE__ */ e("label", { htmlFor: i, className: "text-sm font-medium text-foreground", children: r }),
1616
+ n && /* @__PURE__ */ e("label", { htmlFor: i, className: "text-sm font-medium text-foreground", children: n }),
1617
1617
  /* @__PURE__ */ e(te.Trigger, { asChild: !0, children: /* @__PURE__ */ u(
1618
1618
  "button",
1619
1619
  {
@@ -1627,18 +1627,18 @@ function ra({
1627
1627
  "outline-none focus-visible:ring-2 focus-visible:ring-offset-2 focus-visible:ring-offset-background",
1628
1628
  "disabled:opacity-50 disabled:cursor-not-allowed",
1629
1629
  o ? "border-danger focus-visible:border-danger focus-visible:ring-danger" : "border-border focus-visible:border-accent focus-visible:ring-ring",
1630
- !n && "text-foreground-subtle"
1630
+ !r && "text-foreground-subtle"
1631
1631
  ),
1632
1632
  children: [
1633
1633
  /* @__PURE__ */ e(Mr, { className: "size-4 text-foreground-subtle", "aria-hidden": !0 }),
1634
- /* @__PURE__ */ e("span", { className: "truncate", children: n ? a : t })
1634
+ /* @__PURE__ */ e("span", { className: "truncate", children: r ? a : t })
1635
1635
  ]
1636
1636
  }
1637
1637
  ) }),
1638
1638
  o && /* @__PURE__ */ e("p", { role: "alert", className: "text-xs text-danger-text", children: o })
1639
1639
  ] });
1640
1640
  }
1641
- const Jo = y(function({ value: t, onChange: n, label: a, placeholder: o = "Pick a date", error: i, disabled: s, fromDate: c, toDate: d, className: l }, p) {
1641
+ const Jo = y(function({ value: t, onChange: r, label: a, placeholder: o = "Pick a date", error: i, disabled: s, fromDate: c, toDate: d, className: l }, p) {
1642
1642
  const g = Le(), [f, b] = B(!1);
1643
1643
  return /* @__PURE__ */ e("div", { ref: p, className: m(l), children: /* @__PURE__ */ u(te.Root, { open: f, onOpenChange: b, children: [
1644
1644
  /* @__PURE__ */ e(
@@ -1665,7 +1665,7 @@ const Jo = y(function({ value: t, onChange: n, label: a, placeholder: o = "Pick
1665
1665
  mode: "single",
1666
1666
  selected: t,
1667
1667
  onSelect: (h) => {
1668
- n(h ?? void 0), h && b(!1);
1668
+ r(h ?? void 0), h && b(!1);
1669
1669
  },
1670
1670
  startMonth: c,
1671
1671
  endMonth: d
@@ -1676,7 +1676,7 @@ const Jo = y(function({ value: t, onChange: n, label: a, placeholder: o = "Pick
1676
1676
  ] }) });
1677
1677
  });
1678
1678
  Jo.displayName = "DatePicker";
1679
- const Zo = y(function({ value: t, onChange: n, label: a, placeholder: o = "Pick a range", error: i, disabled: s, fromDate: c, toDate: d, className: l }, p) {
1679
+ const Zo = y(function({ value: t, onChange: r, label: a, placeholder: o = "Pick a range", error: i, disabled: s, fromDate: c, toDate: d, className: l }, p) {
1680
1680
  const g = Le(), [f, b] = B(!1), h = !!(t != null && t.from);
1681
1681
  return /* @__PURE__ */ e("div", { ref: p, className: m(l), children: /* @__PURE__ */ u(te.Root, { open: f, onOpenChange: b, children: [
1682
1682
  /* @__PURE__ */ e(
@@ -1702,7 +1702,7 @@ const Zo = y(function({ value: t, onChange: n, label: a, placeholder: o = "Pick
1702
1702
  {
1703
1703
  mode: "range",
1704
1704
  selected: t,
1705
- onSelect: n,
1705
+ onSelect: r,
1706
1706
  numberOfMonths: 2,
1707
1707
  startMonth: c,
1708
1708
  endMonth: d
@@ -1713,7 +1713,7 @@ const Zo = y(function({ value: t, onChange: n, label: a, placeholder: o = "Pick
1713
1713
  ] }) });
1714
1714
  });
1715
1715
  Zo.displayName = "DateRangePicker";
1716
- const ei = U.Root, Ql = U.Trigger, ti = U.Portal, ni = U.Close, aa = y(function({ className: t, ...n }, a) {
1716
+ const ei = U.Root, Ql = U.Trigger, ti = U.Portal, ni = U.Close, aa = y(function({ className: t, ...r }, a) {
1717
1717
  return /* @__PURE__ */ e(
1718
1718
  U.Overlay,
1719
1719
  {
@@ -1724,12 +1724,12 @@ const ei = U.Root, Ql = U.Trigger, ti = U.Portal, ni = U.Close, aa = y(function(
1724
1724
  "data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0",
1725
1725
  t
1726
1726
  ),
1727
- ...n
1727
+ ...r
1728
1728
  }
1729
1729
  );
1730
1730
  });
1731
1731
  aa.displayName = "DialogOverlay";
1732
- const oa = y(function({ className: t, children: n, showClose: a = !0, size: o = "md", ...i }, s) {
1732
+ const oa = y(function({ className: t, children: r, showClose: a = !0, size: o = "md", ...i }, s) {
1733
1733
  return /* @__PURE__ */ u(ti, { children: [
1734
1734
  /* @__PURE__ */ e(aa, {}),
1735
1735
  /* @__PURE__ */ u(
@@ -1750,7 +1750,7 @@ const oa = y(function({ className: t, children: n, showClose: a = !0, size: o =
1750
1750
  ),
1751
1751
  ...i,
1752
1752
  children: [
1753
- n,
1753
+ r,
1754
1754
  a && /* @__PURE__ */ e(
1755
1755
  U.Close,
1756
1756
  {
@@ -1770,46 +1770,46 @@ const oa = y(function({ className: t, children: n, showClose: a = !0, size: o =
1770
1770
  ] });
1771
1771
  });
1772
1772
  oa.displayName = "DialogContent";
1773
- function ia({ className: r, ...t }) {
1774
- return /* @__PURE__ */ e("div", { className: m("flex flex-col gap-1 pb-4", r), ...t });
1773
+ function ia({ className: n, ...t }) {
1774
+ return /* @__PURE__ */ e("div", { className: m("flex flex-col gap-1 pb-4", n), ...t });
1775
1775
  }
1776
1776
  ia.displayName = "DialogHeader";
1777
- function sa({ className: r, ...t }) {
1777
+ function sa({ className: n, ...t }) {
1778
1778
  return /* @__PURE__ */ e(
1779
1779
  "div",
1780
1780
  {
1781
- className: m("flex flex-col-reverse gap-2 pt-6 sm:flex-row sm:justify-end", r),
1781
+ className: m("flex flex-col-reverse gap-2 pt-6 sm:flex-row sm:justify-end", n),
1782
1782
  ...t
1783
1783
  }
1784
1784
  );
1785
1785
  }
1786
1786
  sa.displayName = "DialogFooter";
1787
- const la = y(function({ className: t, ...n }, a) {
1787
+ const la = y(function({ className: t, ...r }, a) {
1788
1788
  return /* @__PURE__ */ e(
1789
1789
  U.Title,
1790
1790
  {
1791
1791
  ref: a,
1792
1792
  className: m("text-lg font-semibold text-foreground leading-tight", t),
1793
- ...n
1793
+ ...r
1794
1794
  }
1795
1795
  );
1796
1796
  });
1797
1797
  la.displayName = "DialogTitle";
1798
- const ca = y(function({ className: t, ...n }, a) {
1798
+ const ca = y(function({ className: t, ...r }, a) {
1799
1799
  return /* @__PURE__ */ e(
1800
1800
  U.Description,
1801
1801
  {
1802
1802
  ref: a,
1803
1803
  className: m("text-sm text-foreground-muted", t),
1804
- ...n
1804
+ ...r
1805
1805
  }
1806
1806
  );
1807
1807
  });
1808
1808
  ca.displayName = "DialogDescription";
1809
1809
  function ri({
1810
- open: r,
1810
+ open: n,
1811
1811
  onOpenChange: t,
1812
- title: n,
1812
+ title: r,
1813
1813
  description: a,
1814
1814
  confirmLabel: o = "Confirm",
1815
1815
  cancelLabel: i = "Cancel",
@@ -1817,9 +1817,9 @@ function ri({
1817
1817
  onConfirm: c,
1818
1818
  loading: d
1819
1819
  }) {
1820
- return /* @__PURE__ */ e(ei, { open: r, onOpenChange: t, children: /* @__PURE__ */ u(oa, { size: "sm", children: [
1820
+ return /* @__PURE__ */ e(ei, { open: n, onOpenChange: t, children: /* @__PURE__ */ u(oa, { size: "sm", children: [
1821
1821
  /* @__PURE__ */ u(ia, { children: [
1822
- /* @__PURE__ */ e(la, { children: n }),
1822
+ /* @__PURE__ */ e(la, { children: r }),
1823
1823
  a && /* @__PURE__ */ e(ca, { children: a })
1824
1824
  ] }),
1825
1825
  /* @__PURE__ */ u(sa, { children: [
@@ -1829,7 +1829,7 @@ function ri({
1829
1829
  ] }) });
1830
1830
  }
1831
1831
  ri.displayName = "ConfirmationDialog";
1832
- const Zn = y(function({ icon: t, title: n, description: a, action: o, secondaryAction: i, className: s, ...c }, d) {
1832
+ const Zn = y(function({ icon: t, title: r, description: a, action: o, secondaryAction: i, className: s, ...c }, d) {
1833
1833
  return /* @__PURE__ */ u(
1834
1834
  "div",
1835
1835
  {
@@ -1841,7 +1841,7 @@ const Zn = y(function({ icon: t, title: n, description: a, action: o, secondaryA
1841
1841
  ...c,
1842
1842
  children: [
1843
1843
  t && /* @__PURE__ */ e("div", { className: "inline-flex size-12 items-center justify-center rounded-full bg-background-muted text-foreground-muted [&_svg]:size-6", children: t }),
1844
- /* @__PURE__ */ e("h3", { className: "text-base font-semibold text-foreground leading-tight", children: n }),
1844
+ /* @__PURE__ */ e("h3", { className: "text-base font-semibold text-foreground leading-tight", children: r }),
1845
1845
  a && /* @__PURE__ */ e("p", { className: "max-w-md text-sm text-foreground-muted leading-relaxed", children: a }),
1846
1846
  (o || i) && /* @__PURE__ */ u("div", { className: "mt-2 flex items-center gap-2", children: [
1847
1847
  o,
@@ -1868,7 +1868,7 @@ const ai = {
1868
1868
  title: "Unexpected error",
1869
1869
  description: "Something interrupted this action."
1870
1870
  }
1871
- }, oi = y(function({ variant: t = "generic", title: n, description: a, action: o, onRetry: i, className: s, ...c }, d) {
1871
+ }, oi = y(function({ variant: t = "generic", title: r, description: a, action: o, onRetry: i, className: s, ...c }, d) {
1872
1872
  const l = ai[t];
1873
1873
  return /* @__PURE__ */ u(
1874
1874
  "div",
@@ -1882,7 +1882,7 @@ const ai = {
1882
1882
  ...c,
1883
1883
  children: [
1884
1884
  /* @__PURE__ */ e("div", { className: "inline-flex size-12 items-center justify-center rounded-full bg-danger-soft text-danger-text [&_svg]:size-6", children: l.icon }),
1885
- /* @__PURE__ */ e("h3", { className: "text-base font-semibold text-foreground leading-tight", children: n ?? l.title }),
1885
+ /* @__PURE__ */ e("h3", { className: "text-base font-semibold text-foreground leading-tight", children: r ?? l.title }),
1886
1886
  /* @__PURE__ */ e("p", { className: "max-w-md text-sm text-foreground-muted leading-relaxed", children: a ?? l.description }),
1887
1887
  (o || i) && /* @__PURE__ */ e("div", { className: "mt-2 flex items-center gap-2", children: o ?? /* @__PURE__ */ e(K, { onClick: i, variant: "outline", children: "Try again" }) })
1888
1888
  ]
@@ -1891,18 +1891,18 @@ const ai = {
1891
1891
  });
1892
1892
  oi.displayName = "ErrorState";
1893
1893
  const Jl = ao, da = rn(null);
1894
- function Zl(r) {
1895
- return /* @__PURE__ */ e(da.Provider, { value: { name: r.name }, children: /* @__PURE__ */ e(oo, { ...r }) });
1894
+ function Zl(n) {
1895
+ return /* @__PURE__ */ e(da.Provider, { value: { name: n.name }, children: /* @__PURE__ */ e(oo, { ...n }) });
1896
1896
  }
1897
1897
  const ua = rn(null);
1898
1898
  function yn() {
1899
- const r = lt(da), t = lt(ua), { getFieldState: n, formState: a } = io();
1900
- if (!r)
1899
+ const n = lt(da), t = lt(ua), { getFieldState: r, formState: a } = io();
1900
+ if (!n)
1901
1901
  throw new Error("useFormField must be used inside <FormField>");
1902
- const o = n(r.name, a), i = (t == null ? void 0 : t.id) ?? "";
1902
+ const o = r(n.name, a), i = (t == null ? void 0 : t.id) ?? "";
1903
1903
  return {
1904
1904
  id: i,
1905
- name: r.name,
1905
+ name: n.name,
1906
1906
  formItemId: `${i}-item`,
1907
1907
  formDescriptionId: `${i}-desc`,
1908
1908
  formMessageId: `${i}-error`,
@@ -1910,13 +1910,13 @@ function yn() {
1910
1910
  };
1911
1911
  }
1912
1912
  const ii = y(
1913
- function({ className: t, ...n }, a) {
1913
+ function({ className: t, ...r }, a) {
1914
1914
  const o = Le();
1915
- return /* @__PURE__ */ e(ua.Provider, { value: { id: o }, children: /* @__PURE__ */ e("div", { ref: a, className: m("flex flex-col gap-1.5", t), ...n }) });
1915
+ return /* @__PURE__ */ e(ua.Provider, { value: { id: o }, children: /* @__PURE__ */ e("div", { ref: a, className: m("flex flex-col gap-1.5", t), ...r }) });
1916
1916
  }
1917
1917
  );
1918
1918
  ii.displayName = "FormItem";
1919
- const si = y(function({ className: t, ...n }, a) {
1919
+ const si = y(function({ className: t, ...r }, a) {
1920
1920
  const { formItemId: o, error: i } = yn();
1921
1921
  return /* @__PURE__ */ e(
1922
1922
  ro.Root,
@@ -1928,18 +1928,18 @@ const si = y(function({ className: t, ...n }, a) {
1928
1928
  i && "text-danger-text",
1929
1929
  t
1930
1930
  ),
1931
- ...n
1931
+ ...r
1932
1932
  }
1933
1933
  );
1934
1934
  });
1935
1935
  si.displayName = "FormLabel";
1936
1936
  const li = y(
1937
- function(t, n) {
1937
+ function(t, r) {
1938
1938
  const { error: a, formItemId: o, formDescriptionId: i, formMessageId: s } = yn();
1939
1939
  return /* @__PURE__ */ e(
1940
1940
  Xr,
1941
1941
  {
1942
- ref: n,
1942
+ ref: r,
1943
1943
  id: o,
1944
1944
  "aria-describedby": a ? `${i} ${s}` : i,
1945
1945
  "aria-invalid": !!a,
@@ -1950,7 +1950,7 @@ const li = y(
1950
1950
  );
1951
1951
  li.displayName = "FormControl";
1952
1952
  const ci = y(
1953
- function({ className: t, ...n }, a) {
1953
+ function({ className: t, ...r }, a) {
1954
1954
  const { formDescriptionId: o } = yn();
1955
1955
  return /* @__PURE__ */ e(
1956
1956
  "p",
@@ -1958,15 +1958,15 @@ const ci = y(
1958
1958
  ref: a,
1959
1959
  id: o,
1960
1960
  className: m("text-xs text-foreground-subtle", t),
1961
- ...n
1961
+ ...r
1962
1962
  }
1963
1963
  );
1964
1964
  }
1965
1965
  );
1966
1966
  ci.displayName = "FormDescription";
1967
1967
  const di = y(
1968
- function({ className: t, children: n, ...a }, o) {
1969
- const { error: i, formMessageId: s } = yn(), c = i ? String((i == null ? void 0 : i.message) ?? "") : n;
1968
+ function({ className: t, children: r, ...a }, o) {
1969
+ const { error: i, formMessageId: s } = yn(), c = i ? String((i == null ? void 0 : i.message) ?? "") : r;
1970
1970
  return c ? /* @__PURE__ */ e(
1971
1971
  "p",
1972
1972
  {
@@ -1981,7 +1981,7 @@ const di = y(
1981
1981
  }
1982
1982
  );
1983
1983
  di.displayName = "FormError";
1984
- const fa = y(function({ size: t = "sm", className: n, ...a }, o) {
1984
+ const fa = y(function({ size: t = "sm", className: r, ...a }, o) {
1985
1985
  return /* @__PURE__ */ e(
1986
1986
  "kbd",
1987
1987
  {
@@ -1990,7 +1990,7 @@ const fa = y(function({ size: t = "sm", className: n, ...a }, o) {
1990
1990
  "inline-flex items-center justify-center rounded border border-border bg-background-subtle font-mono",
1991
1991
  "text-foreground-muted shadow-xs",
1992
1992
  t === "sm" ? "h-5 min-w-5 px-1 text-[10px]" : "h-6 min-w-6 px-1.5 text-xs",
1993
- n
1993
+ r
1994
1994
  ),
1995
1995
  ...a
1996
1996
  }
@@ -1999,7 +1999,7 @@ const fa = y(function({ size: t = "sm", className: n, ...a }, o) {
1999
1999
  fa.displayName = "Kbd";
2000
2000
  const ui = y(function({
2001
2001
  options: t,
2002
- value: n,
2002
+ value: r,
2003
2003
  onChange: a,
2004
2004
  label: o,
2005
2005
  helperText: i,
@@ -2012,15 +2012,15 @@ const ui = y(function({
2012
2012
  className: f
2013
2013
  }, b) {
2014
2014
  const h = Le(), x = h, w = `${h}-helper`, v = `${h}-error`, [S, C] = B(!1), [N, T] = B(""), I = Pt(null), k = ht(
2015
- () => t.filter((A) => n.includes(A.value)),
2016
- [t, n]
2015
+ () => t.filter((A) => r.includes(A.value)),
2016
+ [t, r]
2017
2017
  ), D = Ie(
2018
2018
  (A) => {
2019
- n.includes(A) ? a(n.filter((j) => j !== A)) : a([...n, A]);
2019
+ r.includes(A) ? a(r.filter((j) => j !== A)) : a([...r, A]);
2020
2020
  },
2021
- [n, a]
2021
+ [r, a]
2022
2022
  ), z = Ie(() => a([]), [a]), $ = (A) => {
2023
- A.key === "Backspace" && N === "" && n.length > 0 && a(n.slice(0, -1));
2023
+ A.key === "Backspace" && N === "" && r.length > 0 && a(r.slice(0, -1));
2024
2024
  }, O = k.slice(0, l), _ = k.length - O.length, P = !!s;
2025
2025
  return /* @__PURE__ */ u("div", { ref: b, className: m("flex flex-col gap-1.5", f), children: [
2026
2026
  o && /* @__PURE__ */ e("label", { htmlFor: x, className: "text-sm font-medium text-foreground", children: o }),
@@ -2126,7 +2126,7 @@ const ui = y(function({
2126
2126
  className: "max-h-64 overflow-y-auto p-1",
2127
2127
  children: [
2128
2128
  t.filter((A) => A.label.toLowerCase().includes(N.toLowerCase())).map((A) => {
2129
- const j = n.includes(A.value);
2129
+ const j = r.includes(A.value);
2130
2130
  return /* @__PURE__ */ u(
2131
2131
  ue.Item,
2132
2132
  {
@@ -2168,7 +2168,7 @@ const ui = y(function({
2168
2168
  ] });
2169
2169
  });
2170
2170
  ui.displayName = "MultiSelect";
2171
- const ma = fe.Root, ec = fe.Value, er = y(function({ className: t, placeholder: n, size: a = "md", tone: o = "default", ...i }, s) {
2171
+ const ma = fe.Root, ec = fe.Value, er = y(function({ className: t, placeholder: r, size: a = "md", tone: o = "default", ...i }, s) {
2172
2172
  return /* @__PURE__ */ u(
2173
2173
  fe.Trigger,
2174
2174
  {
@@ -2188,22 +2188,22 @@ const ma = fe.Root, ec = fe.Value, er = y(function({ className: t, placeholder:
2188
2188
  ),
2189
2189
  ...i,
2190
2190
  children: [
2191
- /* @__PURE__ */ e(fe.Value, { placeholder: n }),
2191
+ /* @__PURE__ */ e(fe.Value, { placeholder: r }),
2192
2192
  /* @__PURE__ */ e(fe.Icon, { asChild: !0, children: /* @__PURE__ */ e(sn, { className: "size-4 text-foreground-subtle shrink-0", "aria-hidden": !0 }) })
2193
2193
  ]
2194
2194
  }
2195
2195
  );
2196
2196
  });
2197
2197
  er.displayName = "SelectTrigger";
2198
- const ga = "flex h-6 cursor-default items-center justify-center text-foreground-subtle", pa = y(function({ className: t, ...n }, a) {
2199
- return /* @__PURE__ */ e(fe.ScrollUpButton, { ref: a, className: m(ga, t), ...n, children: /* @__PURE__ */ e(Pr, { className: "size-4", "aria-hidden": !0 }) });
2198
+ const ga = "flex h-6 cursor-default items-center justify-center text-foreground-subtle", pa = y(function({ className: t, ...r }, a) {
2199
+ return /* @__PURE__ */ e(fe.ScrollUpButton, { ref: a, className: m(ga, t), ...r, children: /* @__PURE__ */ e(Pr, { className: "size-4", "aria-hidden": !0 }) });
2200
2200
  });
2201
2201
  pa.displayName = "SelectScrollUpButton";
2202
- const ha = y(function({ className: t, ...n }, a) {
2203
- return /* @__PURE__ */ e(fe.ScrollDownButton, { ref: a, className: m(ga, t), ...n, children: /* @__PURE__ */ e(an, { className: "size-4", "aria-hidden": !0 }) });
2202
+ const ha = y(function({ className: t, ...r }, a) {
2203
+ return /* @__PURE__ */ e(fe.ScrollDownButton, { ref: a, className: m(ga, t), ...r, children: /* @__PURE__ */ e(an, { className: "size-4", "aria-hidden": !0 }) });
2204
2204
  });
2205
2205
  ha.displayName = "SelectScrollDownButton";
2206
- const tr = y(function({ className: t, children: n, position: a = "popper", ...o }, i) {
2206
+ const tr = y(function({ className: t, children: r, position: a = "popper", ...o }, i) {
2207
2207
  return /* @__PURE__ */ e(fe.Portal, { children: /* @__PURE__ */ u(
2208
2208
  fe.Content,
2209
2209
  {
@@ -2222,25 +2222,25 @@ const tr = y(function({ className: t, children: n, position: a = "popper", ...o
2222
2222
  ...o,
2223
2223
  children: [
2224
2224
  /* @__PURE__ */ e(pa, {}),
2225
- /* @__PURE__ */ e(fe.Viewport, { className: "p-1", children: n }),
2225
+ /* @__PURE__ */ e(fe.Viewport, { className: "p-1", children: r }),
2226
2226
  /* @__PURE__ */ e(ha, {})
2227
2227
  ]
2228
2228
  }
2229
2229
  ) });
2230
2230
  });
2231
2231
  tr.displayName = "SelectContent";
2232
- const ba = y(function({ className: t, ...n }, a) {
2232
+ const ba = y(function({ className: t, ...r }, a) {
2233
2233
  return /* @__PURE__ */ e(
2234
2234
  fe.Label,
2235
2235
  {
2236
2236
  ref: a,
2237
2237
  className: m("px-2 py-1.5 text-xs font-medium text-foreground-subtle", t),
2238
- ...n
2238
+ ...r
2239
2239
  }
2240
2240
  );
2241
2241
  });
2242
2242
  ba.displayName = "SelectLabel";
2243
- const mt = y(function({ className: t, children: n, leadingIcon: a, ...o }, i) {
2243
+ const mt = y(function({ className: t, children: r, leadingIcon: a, ...o }, i) {
2244
2244
  return /* @__PURE__ */ u(
2245
2245
  fe.Item,
2246
2246
  {
@@ -2255,41 +2255,41 @@ const mt = y(function({ className: t, children: n, leadingIcon: a, ...o }, i) {
2255
2255
  ...o,
2256
2256
  children: [
2257
2257
  a && /* @__PURE__ */ e("span", { className: "flex items-center text-foreground-subtle [&_svg]:size-4", children: a }),
2258
- /* @__PURE__ */ e(fe.ItemText, { children: n }),
2258
+ /* @__PURE__ */ e(fe.ItemText, { children: r }),
2259
2259
  /* @__PURE__ */ e("span", { className: "absolute right-2 flex items-center justify-center", children: /* @__PURE__ */ e(fe.ItemIndicator, { children: /* @__PURE__ */ e(Ye, { className: "size-4 text-accent", "aria-hidden": !0 }) }) })
2260
2260
  ]
2261
2261
  }
2262
2262
  );
2263
2263
  });
2264
2264
  mt.displayName = "SelectItem";
2265
- const fi = y(function({ className: t, ...n }, a) {
2265
+ const fi = y(function({ className: t, ...r }, a) {
2266
2266
  return /* @__PURE__ */ e(
2267
2267
  fe.Separator,
2268
2268
  {
2269
2269
  ref: a,
2270
2270
  className: m("-mx-1 my-1 h-px bg-border", t),
2271
- ...n
2271
+ ...r
2272
2272
  }
2273
2273
  );
2274
2274
  });
2275
2275
  fi.displayName = "SelectSeparator";
2276
- const mi = y(function({ label: t, children: n, ...a }, o) {
2276
+ const mi = y(function({ label: t, children: r, ...a }, o) {
2277
2277
  return /* @__PURE__ */ u(fe.Group, { ref: o, ...a, children: [
2278
2278
  t && /* @__PURE__ */ e(ba, { children: t }),
2279
- n
2279
+ r
2280
2280
  ] });
2281
2281
  });
2282
2282
  mi.displayName = "SelectGroup";
2283
- function gi(r, t, n = 7) {
2284
- if (t <= n) return Array.from({ length: t }, (c, d) => d + 1);
2285
- const a = 1, o = [], i = Math.max(2, r - a), s = Math.min(t - 1, r + a);
2283
+ function gi(n, t, r = 7) {
2284
+ if (t <= r) return Array.from({ length: t }, (c, d) => d + 1);
2285
+ const a = 1, o = [], i = Math.max(2, n - a), s = Math.min(t - 1, n + a);
2286
2286
  o.push(1), i > 2 && o.push("gap");
2287
2287
  for (let c = i; c <= s; c++) o.push(c);
2288
2288
  return s < t - 1 && o.push("gap"), o.push(t), o;
2289
2289
  }
2290
2290
  const xa = y(function({
2291
2291
  page: t,
2292
- pageCount: n,
2292
+ pageCount: r,
2293
2293
  onPageChange: a,
2294
2294
  totalItems: o,
2295
2295
  pageSize: i,
@@ -2299,8 +2299,8 @@ const xa = y(function({
2299
2299
  className: l,
2300
2300
  ...p
2301
2301
  }, g) {
2302
- const f = ht(() => gi(t, n), [t, n]), b = i ? (t - 1) * i + 1 : void 0, h = i && o ? Math.min(t * i, o) : void 0, x = (w) => {
2303
- w < 1 || w > n || w === t || a(w);
2302
+ const f = ht(() => gi(t, r), [t, r]), b = i ? (t - 1) * i + 1 : void 0, h = i && o ? Math.min(t * i, o) : void 0, x = (w) => {
2303
+ w < 1 || w > r || w === t || a(w);
2304
2304
  };
2305
2305
  return /* @__PURE__ */ u(
2306
2306
  "nav",
@@ -2376,7 +2376,7 @@ const xa = y(function({
2376
2376
  {
2377
2377
  type: "button",
2378
2378
  "aria-label": "Next page",
2379
- disabled: t === n,
2379
+ disabled: t === r,
2380
2380
  onClick: () => x(t + 1),
2381
2381
  className: Wt,
2382
2382
  children: /* @__PURE__ */ e(Ke, { className: "size-4", "aria-hidden": !0 })
@@ -2387,8 +2387,8 @@ const xa = y(function({
2387
2387
  {
2388
2388
  type: "button",
2389
2389
  "aria-label": "Go to last page",
2390
- disabled: t === n,
2391
- onClick: () => x(n),
2390
+ disabled: t === r,
2391
+ onClick: () => x(r),
2392
2392
  className: Wt,
2393
2393
  children: /* @__PURE__ */ e(Hn, { className: "size-4", "aria-hidden": !0 })
2394
2394
  }
@@ -2405,12 +2405,12 @@ const Wt = m(
2405
2405
  "hover:bg-background-muted hover:text-foreground",
2406
2406
  "disabled:opacity-50 disabled:pointer-events-none",
2407
2407
  "outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 focus-visible:ring-offset-background"
2408
- ), tc = te.Root, nc = te.Trigger, rc = te.Anchor, ac = te.Close, pi = y(function({ className: t, align: n = "center", sideOffset: a = 4, ...o }, i) {
2408
+ ), tc = te.Root, nc = te.Trigger, rc = te.Anchor, ac = te.Close, pi = y(function({ className: t, align: r = "center", sideOffset: a = 4, ...o }, i) {
2409
2409
  return /* @__PURE__ */ e(te.Portal, { children: /* @__PURE__ */ e(
2410
2410
  te.Content,
2411
2411
  {
2412
2412
  ref: i,
2413
- align: n,
2413
+ align: r,
2414
2414
  sideOffset: a,
2415
2415
  className: m(
2416
2416
  "z-[var(--z-popover)] w-72 rounded-lg border border-border bg-popover p-4 text-popover-foreground shadow-md",
@@ -2433,13 +2433,13 @@ const hi = { sm: "h-1", md: "h-1.5", lg: "h-2" }, bi = {
2433
2433
  warning: "bg-warning",
2434
2434
  danger: "bg-danger"
2435
2435
  }, xi = y(
2436
- function({ className: t, value: n, size: a = "md", tone: o = "accent", ...i }, s) {
2437
- const c = n == null;
2436
+ function({ className: t, value: r, size: a = "md", tone: o = "accent", ...i }, s) {
2437
+ const c = r == null;
2438
2438
  return /* @__PURE__ */ u(
2439
2439
  dr.Root,
2440
2440
  {
2441
2441
  ref: s,
2442
- value: c ? void 0 : n,
2442
+ value: c ? void 0 : r,
2443
2443
  className: m(
2444
2444
  "relative w-full overflow-hidden rounded-full bg-background-muted",
2445
2445
  hi[a],
@@ -2455,7 +2455,7 @@ const hi = { sm: "h-1", md: "h-1.5", lg: "h-2" }, bi = {
2455
2455
  bi[o],
2456
2456
  c && "animate-[progressIndeterminate_1.4s_ease-in-out_infinite] origin-left"
2457
2457
  ),
2458
- style: c ? void 0 : { transform: `translateX(-${100 - (n ?? 0)}%)` }
2458
+ style: c ? void 0 : { transform: `translateX(-${100 - (r ?? 0)}%)` }
2459
2459
  }
2460
2460
  ),
2461
2461
  /* @__PURE__ */ e("style", { children: `
@@ -2476,15 +2476,15 @@ const vi = {
2476
2476
  success: "stroke-success",
2477
2477
  warning: "stroke-warning",
2478
2478
  danger: "stroke-danger"
2479
- }, wi = y(function({ value: t, size: n = 36, thickness: a = 3, className: o, tone: i = "accent", ...s }, c) {
2480
- const d = t === void 0, l = (n - a) / 2, p = 2 * Math.PI * l, g = d ? 0 : p - Math.min(100, Math.max(0, t)) / 100 * p;
2479
+ }, wi = y(function({ value: t, size: r = 36, thickness: a = 3, className: o, tone: i = "accent", ...s }, c) {
2480
+ const d = t === void 0, l = (r - a) / 2, p = 2 * Math.PI * l, g = d ? 0 : p - Math.min(100, Math.max(0, t)) / 100 * p;
2481
2481
  return /* @__PURE__ */ u(
2482
2482
  "svg",
2483
2483
  {
2484
2484
  ref: c,
2485
- width: n,
2486
- height: n,
2487
- viewBox: `0 0 ${n} ${n}`,
2485
+ width: r,
2486
+ height: r,
2487
+ viewBox: `0 0 ${r} ${r}`,
2488
2488
  role: "progressbar",
2489
2489
  "aria-valuemin": 0,
2490
2490
  "aria-valuemax": 100,
@@ -2495,8 +2495,8 @@ const vi = {
2495
2495
  /* @__PURE__ */ e(
2496
2496
  "circle",
2497
2497
  {
2498
- cx: n / 2,
2499
- cy: n / 2,
2498
+ cx: r / 2,
2499
+ cy: r / 2,
2500
2500
  r: l,
2501
2501
  strokeWidth: a,
2502
2502
  className: "stroke-background-muted fill-none"
@@ -2505,15 +2505,15 @@ const vi = {
2505
2505
  /* @__PURE__ */ e(
2506
2506
  "circle",
2507
2507
  {
2508
- cx: n / 2,
2509
- cy: n / 2,
2508
+ cx: r / 2,
2509
+ cy: r / 2,
2510
2510
  r: l,
2511
2511
  strokeWidth: a,
2512
2512
  strokeLinecap: "round",
2513
2513
  strokeDasharray: p,
2514
2514
  strokeDashoffset: d ? p * 0.7 : g,
2515
2515
  className: m(vi[i], "fill-none transition-[stroke-dashoffset]"),
2516
- transform: `rotate(-90 ${n / 2} ${n / 2})`
2516
+ transform: `rotate(-90 ${r / 2} ${r / 2})`
2517
2517
  }
2518
2518
  )
2519
2519
  ]
@@ -2521,14 +2521,14 @@ const vi = {
2521
2521
  );
2522
2522
  });
2523
2523
  wi.displayName = "ProgressCircle";
2524
- const va = y(function({ className: t, orientation: n = "vertical", ...a }, o) {
2524
+ const va = y(function({ className: t, orientation: r = "vertical", ...a }, o) {
2525
2525
  return /* @__PURE__ */ e(
2526
2526
  On.Root,
2527
2527
  {
2528
2528
  ref: o,
2529
2529
  className: m(
2530
2530
  "flex gap-3",
2531
- n === "vertical" ? "flex-col" : "flex-row flex-wrap",
2531
+ r === "vertical" ? "flex-col" : "flex-row flex-wrap",
2532
2532
  t
2533
2533
  ),
2534
2534
  ...a
@@ -2536,7 +2536,7 @@ const va = y(function({ className: t, orientation: n = "vertical", ...a }, o) {
2536
2536
  );
2537
2537
  });
2538
2538
  va.displayName = "RadioGroup";
2539
- const Zt = y(function({ className: t, label: n, description: a, hideLabel: o, id: i, disabled: s, ...c }, d) {
2539
+ const Zt = y(function({ className: t, label: r, description: a, hideLabel: o, id: i, disabled: s, ...c }, d) {
2540
2540
  const l = Le(), p = i ?? l, g = a ? `${p}-desc` : void 0;
2541
2541
  return /* @__PURE__ */ u("div", { className: m("flex items-start gap-2.5", t), children: [
2542
2542
  /* @__PURE__ */ e(
@@ -2558,7 +2558,7 @@ const Zt = y(function({ className: t, label: n, description: a, hideLabel: o, id
2558
2558
  children: /* @__PURE__ */ e(On.Indicator, { className: "flex items-center justify-center", children: /* @__PURE__ */ e("span", { className: "size-2 rounded-full bg-accent", "aria-hidden": !0 }) })
2559
2559
  }
2560
2560
  ),
2561
- n && /* @__PURE__ */ u("div", { className: m("flex flex-col gap-0.5", o && "sr-only"), children: [
2561
+ r && /* @__PURE__ */ u("div", { className: m("flex flex-col gap-0.5", o && "sr-only"), children: [
2562
2562
  /* @__PURE__ */ e(
2563
2563
  "label",
2564
2564
  {
@@ -2567,7 +2567,7 @@ const Zt = y(function({ className: t, label: n, description: a, hideLabel: o, id
2567
2567
  "text-sm text-foreground select-none",
2568
2568
  s && "opacity-50 cursor-not-allowed"
2569
2569
  ),
2570
- children: n
2570
+ children: r
2571
2571
  }
2572
2572
  ),
2573
2573
  a && /* @__PURE__ */ e("p", { id: g, className: "text-xs text-foreground-subtle", children: a })
@@ -2575,7 +2575,7 @@ const Zt = y(function({ className: t, label: n, description: a, hideLabel: o, id
2575
2575
  ] });
2576
2576
  });
2577
2577
  Zt.displayName = "RadioItem";
2578
- const yi = y(function({ className: t, children: n, ...a }, o) {
2578
+ const yi = y(function({ className: t, children: r, ...a }, o) {
2579
2579
  return /* @__PURE__ */ u(
2580
2580
  It.Root,
2581
2581
  {
@@ -2583,7 +2583,7 @@ const yi = y(function({ className: t, children: n, ...a }, o) {
2583
2583
  className: m("relative overflow-hidden", t),
2584
2584
  ...a,
2585
2585
  children: [
2586
- /* @__PURE__ */ e(It.Viewport, { className: "h-full w-full rounded-[inherit]", children: n }),
2586
+ /* @__PURE__ */ e(It.Viewport, { className: "h-full w-full rounded-[inherit]", children: r }),
2587
2587
  /* @__PURE__ */ e(wa, {}),
2588
2588
  /* @__PURE__ */ e(It.Corner, {})
2589
2589
  ]
@@ -2591,16 +2591,16 @@ const yi = y(function({ className: t, children: n, ...a }, o) {
2591
2591
  );
2592
2592
  });
2593
2593
  yi.displayName = "ScrollArea";
2594
- const wa = y(function({ className: t, orientation: n = "vertical", ...a }, o) {
2594
+ const wa = y(function({ className: t, orientation: r = "vertical", ...a }, o) {
2595
2595
  return /* @__PURE__ */ e(
2596
2596
  It.ScrollAreaScrollbar,
2597
2597
  {
2598
2598
  ref: o,
2599
- orientation: n,
2599
+ orientation: r,
2600
2600
  className: m(
2601
2601
  "flex touch-none select-none transition-colors duration-[var(--duration-fast)]",
2602
- n === "vertical" && "h-full w-2 border-l border-l-transparent p-px",
2603
- n === "horizontal" && "h-2 flex-col border-t border-t-transparent p-px",
2602
+ r === "vertical" && "h-full w-2 border-l border-l-transparent p-px",
2603
+ r === "horizontal" && "h-2 flex-col border-t border-t-transparent p-px",
2604
2604
  t
2605
2605
  ),
2606
2606
  ...a,
@@ -2609,16 +2609,16 @@ const wa = y(function({ className: t, orientation: n = "vertical", ...a }, o) {
2609
2609
  );
2610
2610
  });
2611
2611
  wa.displayName = "ScrollBar";
2612
- const gt = y(function({ className: t, orientation: n = "horizontal", decorative: a = !0, ...o }, i) {
2612
+ const gt = y(function({ className: t, orientation: r = "horizontal", decorative: a = !0, ...o }, i) {
2613
2613
  return /* @__PURE__ */ e(
2614
2614
  so.Root,
2615
2615
  {
2616
2616
  ref: i,
2617
- orientation: n,
2617
+ orientation: r,
2618
2618
  decorative: a,
2619
2619
  className: m(
2620
2620
  "shrink-0 bg-border",
2621
- n === "horizontal" ? "h-px w-full" : "h-full w-px",
2621
+ r === "horizontal" ? "h-px w-full" : "h-full w-px",
2622
2622
  t
2623
2623
  ),
2624
2624
  ...o
@@ -2626,7 +2626,7 @@ const gt = y(function({ className: t, orientation: n = "horizontal", decorative:
2626
2626
  );
2627
2627
  });
2628
2628
  gt.displayName = "Separator";
2629
- const oc = U.Root, ic = U.Trigger, sc = U.Close, Ni = U.Portal, ya = y(function({ className: t, ...n }, a) {
2629
+ const oc = U.Root, ic = U.Trigger, sc = U.Close, Ni = U.Portal, ya = y(function({ className: t, ...r }, a) {
2630
2630
  return /* @__PURE__ */ e(
2631
2631
  U.Overlay,
2632
2632
  {
@@ -2637,7 +2637,7 @@ const oc = U.Root, ic = U.Trigger, sc = U.Close, Ni = U.Portal, ya = y(function(
2637
2637
  "data-[state=open]:fade-in-0 data-[state=closed]:fade-out-0",
2638
2638
  t
2639
2639
  ),
2640
- ...n
2640
+ ...r
2641
2641
  }
2642
2642
  );
2643
2643
  });
@@ -2660,11 +2660,11 @@ const Si = Me(
2660
2660
  },
2661
2661
  defaultVariants: { side: "right" }
2662
2662
  }
2663
- ), ki = y(function({ className: t, children: n, side: a = "right", showClose: o = !0, ...i }, s) {
2663
+ ), ki = y(function({ className: t, children: r, side: a = "right", showClose: o = !0, ...i }, s) {
2664
2664
  return /* @__PURE__ */ u(Ni, { children: [
2665
2665
  /* @__PURE__ */ e(ya, {}),
2666
2666
  /* @__PURE__ */ u(U.Content, { ref: s, className: m(Si({ side: a }), t), ...i, children: [
2667
- n,
2667
+ r,
2668
2668
  o && /* @__PURE__ */ e(
2669
2669
  U.Close,
2670
2670
  {
@@ -2682,38 +2682,38 @@ const Si = Me(
2682
2682
  ] });
2683
2683
  });
2684
2684
  ki.displayName = "SheetContent";
2685
- function Ci({ className: r, ...t }) {
2686
- return /* @__PURE__ */ e("div", { className: m("flex flex-col gap-1", r), ...t });
2685
+ function Ci({ className: n, ...t }) {
2686
+ return /* @__PURE__ */ e("div", { className: m("flex flex-col gap-1", n), ...t });
2687
2687
  }
2688
2688
  Ci.displayName = "SheetHeader";
2689
- function Ti({ className: r, ...t }) {
2689
+ function Ti({ className: n, ...t }) {
2690
2690
  return /* @__PURE__ */ e(
2691
2691
  "div",
2692
2692
  {
2693
- className: m("mt-auto flex flex-col-reverse gap-2 pt-4 sm:flex-row sm:justify-end", r),
2693
+ className: m("mt-auto flex flex-col-reverse gap-2 pt-4 sm:flex-row sm:justify-end", n),
2694
2694
  ...t
2695
2695
  }
2696
2696
  );
2697
2697
  }
2698
2698
  Ti.displayName = "SheetFooter";
2699
- const Di = y(function({ className: t, ...n }, a) {
2699
+ const Di = y(function({ className: t, ...r }, a) {
2700
2700
  return /* @__PURE__ */ e(
2701
2701
  U.Title,
2702
2702
  {
2703
2703
  ref: a,
2704
2704
  className: m("text-lg font-semibold text-foreground leading-tight", t),
2705
- ...n
2705
+ ...r
2706
2706
  }
2707
2707
  );
2708
2708
  });
2709
2709
  Di.displayName = "SheetTitle";
2710
- const Ii = y(function({ className: t, ...n }, a) {
2710
+ const Ii = y(function({ className: t, ...r }, a) {
2711
2711
  return /* @__PURE__ */ e(
2712
2712
  U.Description,
2713
2713
  {
2714
2714
  ref: a,
2715
2715
  className: m("text-sm text-foreground-muted", t),
2716
- ...n
2716
+ ...r
2717
2717
  }
2718
2718
  );
2719
2719
  });
@@ -2724,7 +2724,7 @@ function lc() {
2724
2724
  }
2725
2725
  const Na = y(function({
2726
2726
  defaultCollapsed: t = !1,
2727
- collapsed: n,
2727
+ collapsed: r,
2728
2728
  onCollapsedChange: a,
2729
2729
  header: o,
2730
2730
  footer: i,
@@ -2732,8 +2732,8 @@ const Na = y(function({
2732
2732
  children: c,
2733
2733
  ...d
2734
2734
  }, l) {
2735
- const [p, g] = B(t), f = n ?? p, b = (h) => {
2736
- n === void 0 && g(h), a == null || a(h);
2735
+ const [p, g] = B(t), f = r ?? p, b = (h) => {
2736
+ r === void 0 && g(h), a == null || a(h);
2737
2737
  };
2738
2738
  return /* @__PURE__ */ e(Bt.Provider, { value: { collapsed: f }, children: /* @__PURE__ */ u(
2739
2739
  "aside",
@@ -2784,18 +2784,18 @@ const Na = y(function({
2784
2784
  ) });
2785
2785
  });
2786
2786
  Na.displayName = "Sidebar";
2787
- function en({ label: r, className: t, children: n, ...a }) {
2787
+ function en({ label: n, className: t, children: r, ...a }) {
2788
2788
  const { collapsed: o } = lt(Bt);
2789
2789
  return /* @__PURE__ */ u("div", { className: m("mb-3", t), ...a, children: [
2790
- r && !o && /* @__PURE__ */ e("div", { className: "px-4 pb-1 pt-2 text-xs font-medium text-foreground-subtle uppercase tracking-wide", children: r }),
2791
- /* @__PURE__ */ e("ul", { className: "flex flex-col gap-px", children: n })
2790
+ n && !o && /* @__PURE__ */ e("div", { className: "px-4 pb-1 pt-2 text-xs font-medium text-foreground-subtle uppercase tracking-wide", children: n }),
2791
+ /* @__PURE__ */ e("ul", { className: "flex flex-col gap-px", children: r })
2792
2792
  ] });
2793
2793
  }
2794
2794
  en.displayName = "SidebarSection";
2795
2795
  function Ae({
2796
- icon: r,
2796
+ icon: n,
2797
2797
  active: t,
2798
- href: n,
2798
+ href: r,
2799
2799
  trailing: a,
2800
2800
  sub: o,
2801
2801
  className: i,
@@ -2804,9 +2804,9 @@ function Ae({
2804
2804
  }) {
2805
2805
  const { collapsed: d } = lt(Bt);
2806
2806
  return /* @__PURE__ */ e("li", { children: /* @__PURE__ */ u(
2807
- n ? "a" : "button",
2807
+ r ? "a" : "button",
2808
2808
  {
2809
- href: n,
2809
+ href: r,
2810
2810
  "aria-current": t ? "page" : void 0,
2811
2811
  className: m(
2812
2812
  "mx-2 flex h-8 items-center gap-2 rounded-md px-2 text-sm outline-none",
@@ -2819,7 +2819,7 @@ function Ae({
2819
2819
  ),
2820
2820
  ...c,
2821
2821
  children: [
2822
- r && /* @__PURE__ */ e("span", { className: "flex shrink-0 items-center [&_svg]:size-4", children: r }),
2822
+ n && /* @__PURE__ */ e("span", { className: "flex shrink-0 items-center [&_svg]:size-4", children: n }),
2823
2823
  !d && /* @__PURE__ */ e("span", { className: "flex-1 truncate text-left", children: s }),
2824
2824
  !d && a && /* @__PURE__ */ e("span", { className: "ml-auto", children: a })
2825
2825
  ]
@@ -2827,8 +2827,8 @@ function Ae({
2827
2827
  ) });
2828
2828
  }
2829
2829
  Ae.displayName = "SidebarItem";
2830
- function zi({ icon: r, label: t, defaultOpen: n = !0, children: a }) {
2831
- const { collapsed: o } = lt(Bt), [i, s] = B(n);
2830
+ function zi({ icon: n, label: t, defaultOpen: r = !0, children: a }) {
2831
+ const { collapsed: o } = lt(Bt), [i, s] = B(r);
2832
2832
  return o ? /* @__PURE__ */ e(st, { children: a }) : /* @__PURE__ */ u("li", { children: [
2833
2833
  /* @__PURE__ */ u(
2834
2834
  "button",
@@ -2843,7 +2843,7 @@ function zi({ icon: r, label: t, defaultOpen: n = !0, children: a }) {
2843
2843
  "focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 focus-visible:ring-offset-background"
2844
2844
  ),
2845
2845
  children: [
2846
- r && /* @__PURE__ */ e("span", { className: "flex shrink-0 items-center [&_svg]:size-4", children: r }),
2846
+ n && /* @__PURE__ */ e("span", { className: "flex shrink-0 items-center [&_svg]:size-4", children: n }),
2847
2847
  /* @__PURE__ */ e("span", { className: "flex-1 text-left", children: t }),
2848
2848
  /* @__PURE__ */ e(an, { className: m("size-3.5 transition-transform", i && "rotate-180"), "aria-hidden": !0 })
2849
2849
  ]
@@ -2856,7 +2856,7 @@ zi.displayName = "SidebarGroup";
2856
2856
  const Mi = y(
2857
2857
  function({
2858
2858
  className: t,
2859
- label: n,
2859
+ label: r,
2860
2860
  showValue: a,
2861
2861
  formatValue: o = (l) => String(l),
2862
2862
  value: i,
@@ -2865,8 +2865,8 @@ const Mi = y(
2865
2865
  }, d) {
2866
2866
  const l = i ?? s ?? [0], p = l.length > 1;
2867
2867
  return /* @__PURE__ */ u("div", { className: m("flex flex-col gap-2", t), children: [
2868
- (n || a) && /* @__PURE__ */ u("div", { className: "flex items-center justify-between", children: [
2869
- n && /* @__PURE__ */ e("span", { className: "text-sm font-medium text-foreground", children: n }),
2868
+ (r || a) && /* @__PURE__ */ u("div", { className: "flex items-center justify-between", children: [
2869
+ r && /* @__PURE__ */ e("span", { className: "text-sm font-medium text-foreground", children: r }),
2870
2870
  a && /* @__PURE__ */ e("span", { className: "text-xs tabular text-foreground-muted font-mono", children: p ? `${o(l[0])} – ${o(l[1])}` : o(l[0]) })
2871
2871
  ] }),
2872
2872
  /* @__PURE__ */ u(
@@ -2888,7 +2888,7 @@ const Mi = y(
2888
2888
  "transition-transform duration-[var(--duration-fast)] ease-[var(--ease-out)]",
2889
2889
  "hover:scale-110 disabled:pointer-events-none disabled:opacity-50"
2890
2890
  ),
2891
- "aria-label": p ? f === 0 ? "Minimum" : "Maximum" : n ? String(n) : "Value"
2891
+ "aria-label": p ? f === 0 ? "Minimum" : "Maximum" : r ? String(r) : "Value"
2892
2892
  },
2893
2893
  f
2894
2894
  ))
@@ -2903,7 +2903,7 @@ const Pi = { sm: "size-3.5", md: "size-4", lg: "size-6" }, Ei = {
2903
2903
  accent: "text-accent",
2904
2904
  neutral: "text-foreground-subtle",
2905
2905
  "on-accent": "text-on-accent"
2906
- }, Ai = y(function({ className: t, tone: n = "accent", size: a = "md", label: o, decorative: i, ...s }, c) {
2906
+ }, Ai = y(function({ className: t, tone: r = "accent", size: a = "md", label: o, decorative: i, ...s }, c) {
2907
2907
  return /* @__PURE__ */ u(
2908
2908
  "svg",
2909
2909
  {
@@ -2912,7 +2912,7 @@ const Pi = { sm: "size-3.5", md: "size-4", lg: "size-6" }, Ei = {
2912
2912
  role: i ? void 0 : "status",
2913
2913
  "aria-label": i ? void 0 : o ?? "Loading",
2914
2914
  "aria-hidden": i || void 0,
2915
- className: m("animate-spin", Pi[a], Ei[n], t),
2915
+ className: m("animate-spin", Pi[a], Ei[r], t),
2916
2916
  ...s,
2917
2917
  children: [
2918
2918
  /* @__PURE__ */ e("circle", { cx: "12", cy: "12", r: "10", stroke: "currentColor", strokeWidth: "2.5", strokeOpacity: 0.2, fill: "none" }),
@@ -2931,7 +2931,7 @@ const Pi = { sm: "size-3.5", md: "size-4", lg: "size-6" }, Ei = {
2931
2931
  );
2932
2932
  });
2933
2933
  Ai.displayName = "Spinner";
2934
- const Sa = y(function({ steps: t, current: n, orientation: a = "horizontal", className: o, ...i }, s) {
2934
+ const Sa = y(function({ steps: t, current: r, orientation: a = "horizontal", className: o, ...i }, s) {
2935
2935
  return /* @__PURE__ */ e(
2936
2936
  "ol",
2937
2937
  {
@@ -2943,7 +2943,7 @@ const Sa = y(function({ steps: t, current: n, orientation: a = "horizontal", cla
2943
2943
  ),
2944
2944
  ...i,
2945
2945
  children: t.map((c, d) => {
2946
- const l = d < n ? "complete" : d === n ? "current" : "upcoming", p = d === t.length - 1;
2946
+ const l = d < r ? "complete" : d === r ? "current" : "upcoming", p = d === t.length - 1;
2947
2947
  return /* @__PURE__ */ u(
2948
2948
  "li",
2949
2949
  {
@@ -2971,7 +2971,7 @@ const Sa = y(function({ steps: t, current: n, orientation: a = "horizontal", cla
2971
2971
  {
2972
2972
  className: m(
2973
2973
  "mt-1 w-px flex-1 min-h-6",
2974
- d < n ? "bg-accent" : "bg-border"
2974
+ d < r ? "bg-accent" : "bg-border"
2975
2975
  )
2976
2976
  }
2977
2977
  )
@@ -2995,7 +2995,7 @@ const Sa = y(function({ steps: t, current: n, orientation: a = "horizontal", cla
2995
2995
  "aria-hidden": !0,
2996
2996
  className: m(
2997
2997
  "h-px flex-1 mx-2",
2998
- d < n ? "bg-accent" : "bg-border"
2998
+ d < r ? "bg-accent" : "bg-border"
2999
2999
  )
3000
3000
  }
3001
3001
  )
@@ -3017,7 +3017,7 @@ const Ri = {
3017
3017
  }, kt = y(
3018
3018
  function({
3019
3019
  className: t,
3020
- label: n,
3020
+ label: r,
3021
3021
  description: a,
3022
3022
  labelPosition: o = "after",
3023
3023
  size: i = "md",
@@ -3054,7 +3054,7 @@ const Ri = {
3054
3054
  }
3055
3055
  )
3056
3056
  }
3057
- ), x = n && /* @__PURE__ */ u("div", { className: m("flex flex-col gap-0.5 select-none", s && "sr-only"), children: [
3057
+ ), x = r && /* @__PURE__ */ u("div", { className: m("flex flex-col gap-0.5 select-none", s && "sr-only"), children: [
3058
3058
  /* @__PURE__ */ e(
3059
3059
  "label",
3060
3060
  {
@@ -3063,7 +3063,7 @@ const Ri = {
3063
3063
  "text-sm text-foreground",
3064
3064
  d && "opacity-50 cursor-not-allowed"
3065
3065
  ),
3066
- children: n
3066
+ children: r
3067
3067
  }
3068
3068
  ),
3069
3069
  a && /* @__PURE__ */ e("p", { id: b, className: "text-xs text-foreground-subtle", children: a })
@@ -3090,20 +3090,20 @@ const Li = pn.Root, $i = Me("inline-flex items-center", {
3090
3090
  },
3091
3091
  defaultVariants: { variant: "underline", size: "md" }
3092
3092
  }), ka = y(
3093
- function({ className: t, variant: n = "underline", size: a, ...o }, i) {
3093
+ function({ className: t, variant: r = "underline", size: a, ...o }, i) {
3094
3094
  return /* @__PURE__ */ e(
3095
3095
  pn.List,
3096
3096
  {
3097
3097
  ref: i,
3098
- "data-variant": n,
3099
- className: m($i({ variant: n, size: a }), t),
3098
+ "data-variant": r,
3099
+ className: m($i({ variant: r, size: a }), t),
3100
3100
  ...o
3101
3101
  }
3102
3102
  );
3103
3103
  }
3104
3104
  );
3105
3105
  ka.displayName = "TabsList";
3106
- const Ct = y(function({ className: t, ...n }, a) {
3106
+ const Ct = y(function({ className: t, ...r }, a) {
3107
3107
  return /* @__PURE__ */ e(
3108
3108
  pn.Trigger,
3109
3109
  {
@@ -3132,12 +3132,12 @@ const Ct = y(function({ className: t, ...n }, a) {
3132
3132
  "[[data-variant=pills]_&]:data-[state=active]:shadow-xs",
3133
3133
  t
3134
3134
  ),
3135
- ...n
3135
+ ...r
3136
3136
  }
3137
3137
  );
3138
3138
  });
3139
3139
  Ct.displayName = "TabsTrigger";
3140
- const Tt = y(function({ className: t, ...n }, a) {
3140
+ const Tt = y(function({ className: t, ...r }, a) {
3141
3141
  return /* @__PURE__ */ e(
3142
3142
  pn.Content,
3143
3143
  {
@@ -3147,14 +3147,14 @@ const Tt = y(function({ className: t, ...n }, a) {
3147
3147
  "focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 focus-visible:ring-offset-background",
3148
3148
  t
3149
3149
  ),
3150
- ...n
3150
+ ...r
3151
3151
  }
3152
3152
  );
3153
3153
  });
3154
3154
  Tt.displayName = "TabsContent";
3155
3155
  const Fi = y(function({
3156
3156
  className: t,
3157
- label: n,
3157
+ label: r,
3158
3158
  helperText: a,
3159
3159
  error: o,
3160
3160
  autoResize: i,
@@ -3179,7 +3179,7 @@ const Fi = y(function({
3179
3179
  return Be(() => {
3180
3180
  i && T();
3181
3181
  }, [i, T, g, f]), /* @__PURE__ */ u("div", { className: m("flex flex-col gap-1.5", t), children: [
3182
- n && /* @__PURE__ */ e(
3182
+ r && /* @__PURE__ */ e(
3183
3183
  "label",
3184
3184
  {
3185
3185
  htmlFor: w,
@@ -3187,7 +3187,7 @@ const Fi = y(function({
3187
3187
  "text-sm font-medium text-foreground",
3188
3188
  d && "sr-only"
3189
3189
  ),
3190
- children: n
3190
+ children: r
3191
3191
  }
3192
3192
  ),
3193
3193
  /* @__PURE__ */ e(
@@ -3221,7 +3221,7 @@ const Fi = y(function({
3221
3221
  ] });
3222
3222
  });
3223
3223
  Fi.displayName = "Textarea";
3224
- const cc = dt.Provider, Bi = y(function({ className: t, ...n }, a) {
3224
+ const cc = dt.Provider, Bi = y(function({ className: t, ...r }, a) {
3225
3225
  return /* @__PURE__ */ e(
3226
3226
  dt.Viewport,
3227
3227
  {
@@ -3231,7 +3231,7 @@ const cc = dt.Provider, Bi = y(function({ className: t, ...n }, a) {
3231
3231
  "sm:bottom-auto sm:top-4 sm:right-4 sm:max-w-sm sm:flex-col",
3232
3232
  t
3233
3233
  ),
3234
- ...n
3234
+ ...r
3235
3235
  }
3236
3236
  );
3237
3237
  });
@@ -3266,37 +3266,37 @@ const _i = Me(
3266
3266
  danger: /* @__PURE__ */ e(Ft, { className: "size-5 text-danger-text shrink-0 mt-0.5", "aria-hidden": !0 }),
3267
3267
  info: /* @__PURE__ */ e(cn, { className: "size-5 text-info-text shrink-0 mt-0.5", "aria-hidden": !0 })
3268
3268
  }, Hi = y(
3269
- function({ className: t, variant: n = "default", children: a, ...o }, i) {
3270
- return /* @__PURE__ */ u(dt.Root, { ref: i, className: m(_i({ variant: n }), t), ...o, children: [
3271
- ji[n ?? "default"],
3269
+ function({ className: t, variant: r = "default", children: a, ...o }, i) {
3270
+ return /* @__PURE__ */ u(dt.Root, { ref: i, className: m(_i({ variant: r }), t), ...o, children: [
3271
+ ji[r ?? "default"],
3272
3272
  /* @__PURE__ */ e("div", { className: "flex-1 space-y-1", children: a })
3273
3273
  ] });
3274
3274
  }
3275
3275
  );
3276
3276
  Hi.displayName = "Toast";
3277
- const Vi = y(function({ className: t, ...n }, a) {
3277
+ const Vi = y(function({ className: t, ...r }, a) {
3278
3278
  return /* @__PURE__ */ e(
3279
3279
  dt.Title,
3280
3280
  {
3281
3281
  ref: a,
3282
3282
  className: m("text-sm font-medium", t),
3283
- ...n
3283
+ ...r
3284
3284
  }
3285
3285
  );
3286
3286
  });
3287
3287
  Vi.displayName = "ToastTitle";
3288
- const Ui = y(function({ className: t, ...n }, a) {
3288
+ const Ui = y(function({ className: t, ...r }, a) {
3289
3289
  return /* @__PURE__ */ e(
3290
3290
  dt.Description,
3291
3291
  {
3292
3292
  ref: a,
3293
3293
  className: m("text-sm opacity-90", t),
3294
- ...n
3294
+ ...r
3295
3295
  }
3296
3296
  );
3297
3297
  });
3298
3298
  Ui.displayName = "ToastDescription";
3299
- const Gi = y(function({ className: t, ...n }, a) {
3299
+ const Gi = y(function({ className: t, ...r }, a) {
3300
3300
  return /* @__PURE__ */ e(
3301
3301
  dt.Action,
3302
3302
  {
@@ -3307,12 +3307,12 @@ const Gi = y(function({ className: t, ...n }, a) {
3307
3307
  "focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 focus-visible:ring-offset-card",
3308
3308
  t
3309
3309
  ),
3310
- ...n
3310
+ ...r
3311
3311
  }
3312
3312
  );
3313
3313
  });
3314
3314
  Gi.displayName = "ToastAction";
3315
- const Wi = y(function({ className: t, ...n }, a) {
3315
+ const Wi = y(function({ className: t, ...r }, a) {
3316
3316
  return /* @__PURE__ */ e(
3317
3317
  dt.Close,
3318
3318
  {
@@ -3325,29 +3325,29 @@ const Wi = y(function({ className: t, ...n }, a) {
3325
3325
  t
3326
3326
  ),
3327
3327
  "toast-close": "",
3328
- ...n,
3328
+ ...r,
3329
3329
  children: /* @__PURE__ */ e(ze, { className: "size-4", "aria-hidden": !0 })
3330
3330
  }
3331
3331
  );
3332
3332
  });
3333
3333
  Wi.displayName = "ToastClose";
3334
3334
  const dc = ({
3335
- delayDuration: r = 500,
3335
+ delayDuration: n = 500,
3336
3336
  skipDelayDuration: t = 200,
3337
- ...n
3337
+ ...r
3338
3338
  }) => /* @__PURE__ */ e(
3339
3339
  Rt.Provider,
3340
3340
  {
3341
- delayDuration: r,
3341
+ delayDuration: n,
3342
3342
  skipDelayDuration: t,
3343
- ...n
3343
+ ...r
3344
3344
  }
3345
- ), qi = Rt.Root, Ki = Rt.Trigger, Ca = y(function({ className: t, sideOffset: n = 4, ...a }, o) {
3345
+ ), qi = Rt.Root, Ki = Rt.Trigger, Ca = y(function({ className: t, sideOffset: r = 4, ...a }, o) {
3346
3346
  return /* @__PURE__ */ e(Rt.Portal, { children: /* @__PURE__ */ e(
3347
3347
  Rt.Content,
3348
3348
  {
3349
3349
  ref: o,
3350
- sideOffset: n,
3350
+ sideOffset: r,
3351
3351
  className: m(
3352
3352
  "z-[var(--z-tooltip)] overflow-hidden rounded-md px-2 py-1 text-xs font-medium",
3353
3353
  "bg-neutral-900 text-neutral-50",
@@ -3364,20 +3364,20 @@ const dc = ({
3364
3364
  });
3365
3365
  Ca.displayName = "TooltipContent";
3366
3366
  function Yi({
3367
- children: r,
3367
+ children: n,
3368
3368
  label: t,
3369
- side: n = "top",
3369
+ side: r = "top",
3370
3370
  align: a = "center",
3371
3371
  disabled: o,
3372
3372
  delayDuration: i
3373
3373
  }) {
3374
- return o ? /* @__PURE__ */ e(st, { children: r }) : /* @__PURE__ */ u(qi, { delayDuration: i, children: [
3375
- /* @__PURE__ */ e(Ki, { asChild: !0, children: r }),
3376
- /* @__PURE__ */ e(Ca, { side: n, align: a, children: t })
3374
+ return o ? /* @__PURE__ */ e(st, { children: n }) : /* @__PURE__ */ u(qi, { delayDuration: i, children: [
3375
+ /* @__PURE__ */ e(Ki, { asChild: !0, children: n }),
3376
+ /* @__PURE__ */ e(Ca, { side: r, align: a, children: t })
3377
3377
  ] });
3378
3378
  }
3379
3379
  Yi.displayName = "Tooltip";
3380
- const Xi = y(function({ logo: t, nav: n, search: a, actions: o, className: i, ...s }, c) {
3380
+ const Xi = y(function({ logo: t, nav: r, search: a, actions: o, className: i, ...s }, c) {
3381
3381
  return /* @__PURE__ */ u(
3382
3382
  "header",
3383
3383
  {
@@ -3392,7 +3392,7 @@ const Xi = y(function({ logo: t, nav: n, search: a, actions: o, className: i, ..
3392
3392
  children: [
3393
3393
  /* @__PURE__ */ u("div", { className: "flex items-center gap-6 shrink-0", children: [
3394
3394
  t,
3395
- n && /* @__PURE__ */ e("nav", { className: "hidden md:flex items-center gap-1", children: n })
3395
+ r && /* @__PURE__ */ e("nav", { className: "hidden md:flex items-center gap-1", children: r })
3396
3396
  ] }),
3397
3397
  a && /* @__PURE__ */ e("div", { className: "flex-1 max-w-md mx-auto", children: a }),
3398
3398
  o && /* @__PURE__ */ e("div", { className: "ml-auto flex items-center gap-2 shrink-0", children: o })
@@ -3401,17 +3401,17 @@ const Xi = y(function({ logo: t, nav: n, search: a, actions: o, className: i, ..
3401
3401
  );
3402
3402
  });
3403
3403
  Xi.displayName = "TopNav";
3404
- const Qi = y(function({ href: t, active: n, className: a, children: o, ...i }, s) {
3404
+ const Qi = y(function({ href: t, active: r, className: a, children: o, ...i }, s) {
3405
3405
  return /* @__PURE__ */ e(
3406
3406
  "a",
3407
3407
  {
3408
3408
  ref: s,
3409
3409
  href: t,
3410
- "aria-current": n ? "page" : void 0,
3410
+ "aria-current": r ? "page" : void 0,
3411
3411
  className: m(
3412
3412
  "inline-flex h-9 items-center rounded-md px-3 text-sm font-medium outline-none",
3413
3413
  "transition-colors duration-[var(--duration-fast)]",
3414
- n ? "text-foreground" : "text-foreground-muted hover:text-foreground",
3414
+ r ? "text-foreground" : "text-foreground-muted hover:text-foreground",
3415
3415
  "focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 focus-visible:ring-offset-background",
3416
3416
  a
3417
3417
  ),
@@ -3421,93 +3421,93 @@ const Qi = y(function({ href: t, active: n, className: a, children: o, ...i }, s
3421
3421
  );
3422
3422
  });
3423
3423
  Qi.displayName = "TopNavLink";
3424
- function Ji(r) {
3425
- return Object.prototype.toString.call(r) === "[object Object]";
3424
+ function Ji(n) {
3425
+ return Object.prototype.toString.call(n) === "[object Object]";
3426
3426
  }
3427
- function mr(r) {
3428
- return Ji(r) || Array.isArray(r);
3427
+ function mr(n) {
3428
+ return Ji(n) || Array.isArray(n);
3429
3429
  }
3430
3430
  function Zi() {
3431
3431
  return !!(typeof window < "u" && window.document && window.document.createElement);
3432
3432
  }
3433
- function nr(r, t) {
3434
- const n = Object.keys(r), a = Object.keys(t);
3435
- if (n.length !== a.length) return !1;
3436
- const o = JSON.stringify(Object.keys(r.breakpoints || {})), i = JSON.stringify(Object.keys(t.breakpoints || {}));
3437
- return o !== i ? !1 : n.every((s) => {
3438
- const c = r[s], d = t[s];
3433
+ function nr(n, t) {
3434
+ const r = Object.keys(n), a = Object.keys(t);
3435
+ if (r.length !== a.length) return !1;
3436
+ const o = JSON.stringify(Object.keys(n.breakpoints || {})), i = JSON.stringify(Object.keys(t.breakpoints || {}));
3437
+ return o !== i ? !1 : r.every((s) => {
3438
+ const c = n[s], d = t[s];
3439
3439
  return typeof c == "function" ? `${c}` == `${d}` : !mr(c) || !mr(d) ? c === d : nr(c, d);
3440
3440
  });
3441
3441
  }
3442
- function gr(r) {
3443
- return r.concat().sort((t, n) => t.name > n.name ? 1 : -1).map((t) => t.options);
3442
+ function gr(n) {
3443
+ return n.concat().sort((t, r) => t.name > r.name ? 1 : -1).map((t) => t.options);
3444
3444
  }
3445
- function es(r, t) {
3446
- if (r.length !== t.length) return !1;
3447
- const n = gr(r), a = gr(t);
3448
- return n.every((o, i) => {
3445
+ function es(n, t) {
3446
+ if (n.length !== t.length) return !1;
3447
+ const r = gr(n), a = gr(t);
3448
+ return r.every((o, i) => {
3449
3449
  const s = a[i];
3450
3450
  return nr(o, s);
3451
3451
  });
3452
3452
  }
3453
- function rr(r) {
3454
- return typeof r == "number";
3453
+ function rr(n) {
3454
+ return typeof n == "number";
3455
3455
  }
3456
- function Ln(r) {
3457
- return typeof r == "string";
3456
+ function Ln(n) {
3457
+ return typeof n == "string";
3458
3458
  }
3459
- function Nn(r) {
3460
- return typeof r == "boolean";
3459
+ function Nn(n) {
3460
+ return typeof n == "boolean";
3461
3461
  }
3462
- function pr(r) {
3463
- return Object.prototype.toString.call(r) === "[object Object]";
3462
+ function pr(n) {
3463
+ return Object.prototype.toString.call(n) === "[object Object]";
3464
3464
  }
3465
- function Z(r) {
3466
- return Math.abs(r);
3465
+ function Z(n) {
3466
+ return Math.abs(n);
3467
3467
  }
3468
- function ar(r) {
3469
- return Math.sign(r);
3468
+ function ar(n) {
3469
+ return Math.sign(n);
3470
3470
  }
3471
- function Mt(r, t) {
3472
- return Z(r - t);
3471
+ function Mt(n, t) {
3472
+ return Z(n - t);
3473
3473
  }
3474
- function ts(r, t) {
3475
- if (r === 0 || t === 0 || Z(r) <= Z(t)) return 0;
3476
- const n = Mt(Z(r), Z(t));
3477
- return Z(n / r);
3474
+ function ts(n, t) {
3475
+ if (n === 0 || t === 0 || Z(n) <= Z(t)) return 0;
3476
+ const r = Mt(Z(n), Z(t));
3477
+ return Z(r / n);
3478
3478
  }
3479
- function ns(r) {
3480
- return Math.round(r * 100) / 100;
3479
+ function ns(n) {
3480
+ return Math.round(n * 100) / 100;
3481
3481
  }
3482
- function Ot(r) {
3483
- return Lt(r).map(Number);
3482
+ function Ot(n) {
3483
+ return Lt(n).map(Number);
3484
3484
  }
3485
- function Oe(r) {
3486
- return r[_t(r)];
3485
+ function Oe(n) {
3486
+ return n[_t(n)];
3487
3487
  }
3488
- function _t(r) {
3489
- return Math.max(0, r.length - 1);
3488
+ function _t(n) {
3489
+ return Math.max(0, n.length - 1);
3490
3490
  }
3491
- function or(r, t) {
3492
- return t === _t(r);
3491
+ function or(n, t) {
3492
+ return t === _t(n);
3493
3493
  }
3494
- function hr(r, t = 0) {
3495
- return Array.from(Array(r), (n, a) => t + a);
3494
+ function hr(n, t = 0) {
3495
+ return Array.from(Array(n), (r, a) => t + a);
3496
3496
  }
3497
- function Lt(r) {
3498
- return Object.keys(r);
3497
+ function Lt(n) {
3498
+ return Object.keys(n);
3499
3499
  }
3500
- function Ta(r, t) {
3501
- return [r, t].reduce((n, a) => (Lt(a).forEach((o) => {
3502
- const i = n[o], s = a[o], c = pr(i) && pr(s);
3503
- n[o] = c ? Ta(i, s) : s;
3504
- }), n), {});
3500
+ function Ta(n, t) {
3501
+ return [n, t].reduce((r, a) => (Lt(a).forEach((o) => {
3502
+ const i = r[o], s = a[o], c = pr(i) && pr(s);
3503
+ r[o] = c ? Ta(i, s) : s;
3504
+ }), r), {});
3505
3505
  }
3506
- function $n(r, t) {
3507
- return typeof t.MouseEvent < "u" && r instanceof t.MouseEvent;
3506
+ function $n(n, t) {
3507
+ return typeof t.MouseEvent < "u" && n instanceof t.MouseEvent;
3508
3508
  }
3509
- function rs(r, t) {
3510
- const n = {
3509
+ function rs(n, t) {
3510
+ const r = {
3511
3511
  start: a,
3512
3512
  center: o,
3513
3513
  end: i
@@ -3522,14 +3522,14 @@ function rs(r, t) {
3522
3522
  return t - d;
3523
3523
  }
3524
3524
  function s(d, l) {
3525
- return Ln(r) ? n[r](d) : r(t, d, l);
3525
+ return Ln(n) ? r[n](d) : n(t, d, l);
3526
3526
  }
3527
3527
  return {
3528
3528
  measure: s
3529
3529
  };
3530
3530
  }
3531
3531
  function $t() {
3532
- let r = [];
3532
+ let n = [];
3533
3533
  function t(o, i, s, c = {
3534
3534
  passive: !0
3535
3535
  }) {
@@ -3540,23 +3540,23 @@ function $t() {
3540
3540
  const l = o;
3541
3541
  l.addListener(s), d = () => l.removeListener(s);
3542
3542
  }
3543
- return r.push(d), a;
3543
+ return n.push(d), a;
3544
3544
  }
3545
- function n() {
3546
- r = r.filter((o) => o());
3545
+ function r() {
3546
+ n = n.filter((o) => o());
3547
3547
  }
3548
3548
  const a = {
3549
3549
  add: t,
3550
- clear: n
3550
+ clear: r
3551
3551
  };
3552
3552
  return a;
3553
3553
  }
3554
- function as(r, t, n, a) {
3554
+ function as(n, t, r, a) {
3555
3555
  const o = $t(), i = 1e3 / 60;
3556
3556
  let s = null, c = 0, d = 0;
3557
3557
  function l() {
3558
- o.add(r, "visibilitychange", () => {
3559
- r.hidden && h();
3558
+ o.add(n, "visibilitychange", () => {
3559
+ n.hidden && h();
3560
3560
  });
3561
3561
  }
3562
3562
  function p() {
@@ -3564,10 +3564,10 @@ function as(r, t, n, a) {
3564
3564
  }
3565
3565
  function g(w) {
3566
3566
  if (!d) return;
3567
- s || (s = w, n(), n());
3567
+ s || (s = w, r(), r());
3568
3568
  const v = w - s;
3569
3569
  for (s = w, c += v; c >= i; )
3570
- n(), c -= i;
3570
+ r(), c -= i;
3571
3571
  const S = c / i;
3572
3572
  a(S), d && (d = t.requestAnimationFrame(g));
3573
3573
  }
@@ -3585,12 +3585,12 @@ function as(r, t, n, a) {
3585
3585
  destroy: p,
3586
3586
  start: f,
3587
3587
  stop: b,
3588
- update: n,
3588
+ update: r,
3589
3589
  render: a
3590
3590
  };
3591
3591
  }
3592
- function os(r, t) {
3593
- const n = t === "rtl", a = r === "y", o = a ? "y" : "x", i = a ? "x" : "y", s = !a && n ? -1 : 1, c = p(), d = g();
3592
+ function os(n, t) {
3593
+ const r = t === "rtl", a = n === "y", o = a ? "y" : "x", i = a ? "x" : "y", s = !a && r ? -1 : 1, c = p(), d = g();
3594
3594
  function l(h) {
3595
3595
  const {
3596
3596
  height: x,
@@ -3599,10 +3599,10 @@ function os(r, t) {
3599
3599
  return a ? x : w;
3600
3600
  }
3601
3601
  function p() {
3602
- return a ? "top" : n ? "right" : "left";
3602
+ return a ? "top" : r ? "right" : "left";
3603
3603
  }
3604
3604
  function g() {
3605
- return a ? "bottom" : n ? "left" : "right";
3605
+ return a ? "bottom" : r ? "left" : "right";
3606
3606
  }
3607
3607
  function f(h) {
3608
3608
  return h * s;
@@ -3616,10 +3616,10 @@ function os(r, t) {
3616
3616
  direction: f
3617
3617
  };
3618
3618
  }
3619
- function ct(r = 0, t = 0) {
3620
- const n = Z(r - t);
3619
+ function ct(n = 0, t = 0) {
3620
+ const r = Z(n - t);
3621
3621
  function a(l) {
3622
- return l < r;
3622
+ return l < n;
3623
3623
  }
3624
3624
  function o(l) {
3625
3625
  return l > t;
@@ -3628,15 +3628,15 @@ function ct(r = 0, t = 0) {
3628
3628
  return a(l) || o(l);
3629
3629
  }
3630
3630
  function s(l) {
3631
- return i(l) ? a(l) ? r : t : l;
3631
+ return i(l) ? a(l) ? n : t : l;
3632
3632
  }
3633
3633
  function c(l) {
3634
- return n ? l - n * Math.ceil((l - t) / n) : l;
3634
+ return r ? l - r * Math.ceil((l - t) / r) : l;
3635
3635
  }
3636
3636
  return {
3637
- length: n,
3637
+ length: r,
3638
3638
  max: t,
3639
- min: r,
3639
+ min: n,
3640
3640
  constrain: s,
3641
3641
  reachedAny: i,
3642
3642
  reachedMax: o,
@@ -3644,13 +3644,13 @@ function ct(r = 0, t = 0) {
3644
3644
  removeOffset: c
3645
3645
  };
3646
3646
  }
3647
- function Da(r, t, n) {
3647
+ function Da(n, t, r) {
3648
3648
  const {
3649
3649
  constrain: a
3650
- } = ct(0, r), o = r + 1;
3650
+ } = ct(0, n), o = n + 1;
3651
3651
  let i = s(t);
3652
3652
  function s(f) {
3653
- return n ? Z((o + f) % o) : a(f);
3653
+ return r ? Z((o + f) % o) : a(f);
3654
3654
  }
3655
3655
  function c() {
3656
3656
  return i;
@@ -3662,7 +3662,7 @@ function Da(r, t, n) {
3662
3662
  return p().set(c() + f);
3663
3663
  }
3664
3664
  function p() {
3665
- return Da(r, c(), n);
3665
+ return Da(n, c(), r);
3666
3666
  }
3667
3667
  const g = {
3668
3668
  get: c,
@@ -3672,11 +3672,11 @@ function Da(r, t, n) {
3672
3672
  };
3673
3673
  return g;
3674
3674
  }
3675
- function is(r, t, n, a, o, i, s, c, d, l, p, g, f, b, h, x, w, v, S) {
3675
+ function is(n, t, r, a, o, i, s, c, d, l, p, g, f, b, h, x, w, v, S) {
3676
3676
  const {
3677
3677
  cross: C,
3678
3678
  direction: N
3679
- } = r, T = ["INPUT", "SELECT", "TEXTAREA"], I = {
3679
+ } = n, T = ["INPUT", "SELECT", "TEXTAREA"], I = {
3680
3680
  passive: !1
3681
3681
  }, k = $t(), D = $t(), z = ct(50, 225).constrain(b.measure(20)), $ = {
3682
3682
  mouse: 300,
@@ -3700,7 +3700,7 @@ function is(r, t, n, a, o, i, s, c, d, l, p, g, f, b, h, x, w, v, S) {
3700
3700
  k.clear(), D.clear();
3701
3701
  }
3702
3702
  function _e() {
3703
- const R = ne ? n : t;
3703
+ const R = ne ? r : t;
3704
3704
  D.add(R, "touchmove", ae, I).add(R, "touchend", ee).add(R, "mousemove", ae, I).add(R, "mouseup", ee);
3705
3705
  }
3706
3706
  function xe(R) {
@@ -3742,13 +3742,13 @@ function is(r, t, n, a, o, i, s, c, d, l, p, g, f, b, h, x, w, v, S) {
3742
3742
  pointerDown: ce
3743
3743
  };
3744
3744
  }
3745
- function ss(r, t) {
3745
+ function ss(n, t) {
3746
3746
  let a, o;
3747
3747
  function i(g) {
3748
3748
  return g.timeStamp;
3749
3749
  }
3750
3750
  function s(g, f) {
3751
- const h = `client${(f || r.scroll) === "x" ? "X" : "Y"}`;
3751
+ const h = `client${(f || n.scroll) === "x" ? "X" : "Y"}`;
3752
3752
  return ($n(g, t) ? g : g.touches[0])[h];
3753
3753
  }
3754
3754
  function c(g) {
@@ -3771,13 +3771,13 @@ function ss(r, t) {
3771
3771
  };
3772
3772
  }
3773
3773
  function ls() {
3774
- function r(n) {
3774
+ function n(r) {
3775
3775
  const {
3776
3776
  offsetTop: a,
3777
3777
  offsetLeft: o,
3778
3778
  offsetWidth: i,
3779
3779
  offsetHeight: s
3780
- } = n;
3780
+ } = r;
3781
3781
  return {
3782
3782
  top: a,
3783
3783
  right: o + i,
@@ -3788,30 +3788,30 @@ function ls() {
3788
3788
  };
3789
3789
  }
3790
3790
  return {
3791
- measure: r
3791
+ measure: n
3792
3792
  };
3793
3793
  }
3794
- function cs(r) {
3794
+ function cs(n) {
3795
3795
  function t(a) {
3796
- return r * (a / 100);
3796
+ return n * (a / 100);
3797
3797
  }
3798
3798
  return {
3799
3799
  measure: t
3800
3800
  };
3801
3801
  }
3802
- function ds(r, t, n, a, o, i, s) {
3803
- const c = [r].concat(a);
3802
+ function ds(n, t, r, a, o, i, s) {
3803
+ const c = [n].concat(a);
3804
3804
  let d, l, p = [], g = !1;
3805
3805
  function f(w) {
3806
3806
  return o.measureSize(s.measure(w));
3807
3807
  }
3808
3808
  function b(w) {
3809
3809
  if (!i) return;
3810
- l = f(r), p = a.map(f);
3810
+ l = f(n), p = a.map(f);
3811
3811
  function v(S) {
3812
3812
  for (const C of S) {
3813
3813
  if (g) return;
3814
- const N = C.target === r, T = a.indexOf(C.target), I = N ? l : p[T], k = f(N ? r : a[T]);
3814
+ const N = C.target === n, T = a.indexOf(C.target), I = N ? l : p[T], k = f(N ? n : a[T]);
3815
3815
  if (Z(k - I) >= 0.5) {
3816
3816
  w.reInit(), t.emit("resize");
3817
3817
  break;
@@ -3820,7 +3820,7 @@ function ds(r, t, n, a, o, i, s) {
3820
3820
  }
3821
3821
  d = new ResizeObserver((S) => {
3822
3822
  (Nn(i) || i(w, S)) && v(S);
3823
- }), n.requestAnimationFrame(() => {
3823
+ }), r.requestAnimationFrame(() => {
3824
3824
  c.forEach((S) => d.observe(S));
3825
3825
  });
3826
3826
  }
@@ -3832,12 +3832,12 @@ function ds(r, t, n, a, o, i, s) {
3832
3832
  destroy: h
3833
3833
  };
3834
3834
  }
3835
- function us(r, t, n, a, o, i) {
3836
- let s = 0, c = 0, d = o, l = i, p = r.get(), g = 0;
3835
+ function us(n, t, r, a, o, i) {
3836
+ let s = 0, c = 0, d = o, l = i, p = n.get(), g = 0;
3837
3837
  function f() {
3838
- const I = a.get() - r.get(), k = !d;
3838
+ const I = a.get() - n.get(), k = !d;
3839
3839
  let D = 0;
3840
- return k ? (s = 0, n.set(a), r.set(a), D = I) : (n.set(r), s += I / d, s *= l, p += s, r.add(s), D = p - g), c = ar(D), g = p, T;
3840
+ return k ? (s = 0, r.set(a), n.set(a), D = I) : (r.set(n), s += I / d, s *= l, p += s, n.add(s), D = p - g), c = ar(D), g = p, T;
3841
3841
  }
3842
3842
  function b() {
3843
3843
  const I = a.get() - t.get();
@@ -3877,16 +3877,16 @@ function us(r, t, n, a, o, i) {
3877
3877
  };
3878
3878
  return T;
3879
3879
  }
3880
- function fs(r, t, n, a, o) {
3880
+ function fs(n, t, r, a, o) {
3881
3881
  const i = o.measure(10), s = o.measure(50), c = ct(0.1, 0.99);
3882
3882
  let d = !1;
3883
3883
  function l() {
3884
- return !(d || !r.reachedAny(n.get()) || !r.reachedAny(t.get()));
3884
+ return !(d || !n.reachedAny(r.get()) || !n.reachedAny(t.get()));
3885
3885
  }
3886
3886
  function p(b) {
3887
3887
  if (!l()) return;
3888
- const h = r.reachedMin(t.get()) ? "min" : "max", x = Z(r[h] - t.get()), w = n.get() - t.get(), v = c.constrain(x / s);
3889
- n.subtract(w * v), !b && Z(w) < i && (n.set(r.constrain(n.get())), a.useDuration(25).useBaseFriction());
3888
+ const h = n.reachedMin(t.get()) ? "min" : "max", x = Z(n[h] - t.get()), w = r.get() - t.get(), v = c.constrain(x / s);
3889
+ r.subtract(w * v), !b && Z(w) < i && (r.set(n.constrain(r.get())), a.useDuration(25).useBaseFriction());
3890
3890
  }
3891
3891
  function g(b) {
3892
3892
  d = !b;
@@ -3897,8 +3897,8 @@ function fs(r, t, n, a, o) {
3897
3897
  toggleActive: g
3898
3898
  };
3899
3899
  }
3900
- function ms(r, t, n, a, o) {
3901
- const i = ct(-t + r, 0), s = g(), c = p(), d = f();
3900
+ function ms(n, t, r, a, o) {
3901
+ const i = ct(-t + n, 0), s = g(), c = p(), d = f();
3902
3902
  function l(h, x) {
3903
3903
  return Mt(h, x) <= 1;
3904
3904
  }
@@ -3907,16 +3907,16 @@ function ms(r, t, n, a, o) {
3907
3907
  return ct(w, v);
3908
3908
  }
3909
3909
  function g() {
3910
- return n.map((h, x) => {
3910
+ return r.map((h, x) => {
3911
3911
  const {
3912
3912
  min: w,
3913
3913
  max: v
3914
- } = i, S = i.constrain(h), C = !x, N = or(n, x);
3914
+ } = i, S = i.constrain(h), C = !x, N = or(r, x);
3915
3915
  return C ? v : N || l(w, S) ? w : l(v, S) ? v : S;
3916
3916
  }).map((h) => parseFloat(h.toFixed(3)));
3917
3917
  }
3918
3918
  function f() {
3919
- if (t <= r + o) return [i.max];
3919
+ if (t <= n + o) return [i.max];
3920
3920
  if (a === "keepSnaps") return s;
3921
3921
  const {
3922
3922
  min: h,
@@ -3929,54 +3929,54 @@ function ms(r, t, n, a, o) {
3929
3929
  scrollContainLimit: c
3930
3930
  };
3931
3931
  }
3932
- function gs(r, t, n) {
3933
- const a = t[0], o = n ? a - r : Oe(t);
3932
+ function gs(n, t, r) {
3933
+ const a = t[0], o = r ? a - n : Oe(t);
3934
3934
  return {
3935
3935
  limit: ct(o, a)
3936
3936
  };
3937
3937
  }
3938
- function ps(r, t, n, a) {
3938
+ function ps(n, t, r, a) {
3939
3939
  const i = t.min + 0.1, s = t.max + 0.1, {
3940
3940
  reachedMin: c,
3941
3941
  reachedMax: d
3942
3942
  } = ct(i, s);
3943
3943
  function l(f) {
3944
- return f === 1 ? d(n.get()) : f === -1 ? c(n.get()) : !1;
3944
+ return f === 1 ? d(r.get()) : f === -1 ? c(r.get()) : !1;
3945
3945
  }
3946
3946
  function p(f) {
3947
3947
  if (!l(f)) return;
3948
- const b = r * (f * -1);
3948
+ const b = n * (f * -1);
3949
3949
  a.forEach((h) => h.add(b));
3950
3950
  }
3951
3951
  return {
3952
3952
  loop: p
3953
3953
  };
3954
3954
  }
3955
- function hs(r) {
3955
+ function hs(n) {
3956
3956
  const {
3957
3957
  max: t,
3958
- length: n
3959
- } = r;
3958
+ length: r
3959
+ } = n;
3960
3960
  function a(i) {
3961
3961
  const s = i - t;
3962
- return n ? s / -n : 0;
3962
+ return r ? s / -r : 0;
3963
3963
  }
3964
3964
  return {
3965
3965
  get: a
3966
3966
  };
3967
3967
  }
3968
- function bs(r, t, n, a, o) {
3968
+ function bs(n, t, r, a, o) {
3969
3969
  const {
3970
3970
  startEdge: i,
3971
3971
  endEdge: s
3972
- } = r, {
3972
+ } = n, {
3973
3973
  groupSlides: c
3974
3974
  } = o, d = g().map(t.measure), l = f(), p = b();
3975
3975
  function g() {
3976
3976
  return c(a).map((x) => Oe(x)[s] - x[0][i]).map(Z);
3977
3977
  }
3978
3978
  function f() {
3979
- return a.map((x) => n[i] - x[i]).map((x) => -Z(x));
3979
+ return a.map((x) => r[i] - x[i]).map((x) => -Z(x));
3980
3980
  }
3981
3981
  function b() {
3982
3982
  return c(l).map((x) => x[0]).map((x, w) => x + d[w]);
@@ -3986,7 +3986,7 @@ function bs(r, t, n, a, o) {
3986
3986
  snapsAligned: p
3987
3987
  };
3988
3988
  }
3989
- function xs(r, t, n, a, o, i) {
3989
+ function xs(n, t, r, a, o, i) {
3990
3990
  const {
3991
3991
  groupSlides: s
3992
3992
  } = o, {
@@ -3994,8 +3994,8 @@ function xs(r, t, n, a, o, i) {
3994
3994
  max: d
3995
3995
  } = a, l = p();
3996
3996
  function p() {
3997
- const f = s(i), b = !r || t === "keepSnaps";
3998
- return n.length === 1 ? [i] : b ? f : f.slice(c, d).map((h, x, w) => {
3997
+ const f = s(i), b = !n || t === "keepSnaps";
3998
+ return r.length === 1 ? [i] : b ? f : f.slice(c, d).map((h, x, w) => {
3999
3999
  const v = !x, S = or(w, x);
4000
4000
  if (v) {
4001
4001
  const C = Oe(w[0]) + 1;
@@ -4012,7 +4012,7 @@ function xs(r, t, n, a, o, i) {
4012
4012
  slideRegistry: l
4013
4013
  };
4014
4014
  }
4015
- function vs(r, t, n, a, o) {
4015
+ function vs(n, t, r, a, o) {
4016
4016
  const {
4017
4017
  reachedAny: i,
4018
4018
  removeOffset: s,
@@ -4022,7 +4022,7 @@ function vs(r, t, n, a, o) {
4022
4022
  return h.concat().sort((x, w) => Z(x) - Z(w))[0];
4023
4023
  }
4024
4024
  function l(h) {
4025
- const x = r ? s(h) : c(h), w = t.map((S, C) => ({
4025
+ const x = n ? s(h) : c(h), w = t.map((S, C) => ({
4026
4026
  diff: p(S - x, 0),
4027
4027
  index: C
4028
4028
  })).sort((S, C) => Z(S.diff) - Z(C.diff)), {
@@ -4034,11 +4034,11 @@ function vs(r, t, n, a, o) {
4034
4034
  };
4035
4035
  }
4036
4036
  function p(h, x) {
4037
- const w = [h, h + n, h - n];
4038
- if (!r) return h;
4037
+ const w = [h, h + r, h - r];
4038
+ if (!n) return h;
4039
4039
  if (!x) return d(w);
4040
4040
  const v = w.filter((S) => ar(S) === x);
4041
- return v.length ? d(v) : Oe(w) - n;
4041
+ return v.length ? d(v) : Oe(w) - r;
4042
4042
  }
4043
4043
  function g(h, x) {
4044
4044
  const w = t[h] - o.get(), v = p(w, x);
@@ -4051,7 +4051,7 @@ function vs(r, t, n, a, o) {
4051
4051
  const w = o.get() + h, {
4052
4052
  index: v,
4053
4053
  distance: S
4054
- } = l(w), C = !r && i(w);
4054
+ } = l(w), C = !n && i(w);
4055
4055
  if (!x || C) return {
4056
4056
  index: v,
4057
4057
  distance: h
@@ -4068,10 +4068,10 @@ function vs(r, t, n, a, o) {
4068
4068
  shortcut: p
4069
4069
  };
4070
4070
  }
4071
- function ws(r, t, n, a, o, i, s) {
4071
+ function ws(n, t, r, a, o, i, s) {
4072
4072
  function c(g) {
4073
4073
  const f = g.distance, b = g.index !== t.get();
4074
- i.add(f), f && (a.duration() ? r.start() : (r.update(), r.render(1), r.update())), b && (n.set(t.get()), t.set(g.index), s.emit("select"));
4074
+ i.add(f), f && (a.duration() ? n.start() : (n.update(), n.render(1), n.update())), b && (r.set(t.get()), t.set(g.index), s.emit("select"));
4075
4075
  }
4076
4076
  function d(g, f) {
4077
4077
  const b = o.byDistance(g, f);
@@ -4086,7 +4086,7 @@ function ws(r, t, n, a, o, i, s) {
4086
4086
  index: l
4087
4087
  };
4088
4088
  }
4089
- function ys(r, t, n, a, o, i, s, c) {
4089
+ function ys(n, t, r, a, o, i, s, c) {
4090
4090
  const d = {
4091
4091
  passive: !0,
4092
4092
  capture: !0
@@ -4096,8 +4096,8 @@ function ys(r, t, n, a, o, i, s, c) {
4096
4096
  if (!c) return;
4097
4097
  function h(x) {
4098
4098
  if ((/* @__PURE__ */ new Date()).getTime() - l > 10) return;
4099
- s.emit("slideFocusStart"), r.scrollLeft = 0;
4100
- const S = n.findIndex((C) => C.includes(x));
4099
+ s.emit("slideFocusStart"), n.scrollLeft = 0;
4100
+ const S = r.findIndex((C) => C.includes(x));
4101
4101
  rr(S) && (o.useDuration(0), a.index(S, 0), s.emit("slideFocus"));
4102
4102
  }
4103
4103
  i.add(document, "keydown", g, !1), t.forEach((x, w) => {
@@ -4113,9 +4113,9 @@ function ys(r, t, n, a, o, i, s, c) {
4113
4113
  init: p
4114
4114
  };
4115
4115
  }
4116
- function Dt(r) {
4117
- let t = r;
4118
- function n() {
4116
+ function Dt(n) {
4117
+ let t = n;
4118
+ function r() {
4119
4119
  return t;
4120
4120
  }
4121
4121
  function a(d) {
@@ -4131,14 +4131,14 @@ function Dt(r) {
4131
4131
  return rr(d) ? d : d.get();
4132
4132
  }
4133
4133
  return {
4134
- get: n,
4134
+ get: r,
4135
4135
  set: a,
4136
4136
  add: o,
4137
4137
  subtract: i
4138
4138
  };
4139
4139
  }
4140
- function Ia(r, t) {
4141
- const n = r.scroll === "x" ? s : c, a = t.style;
4140
+ function Ia(n, t) {
4141
+ const r = n.scroll === "x" ? s : c, a = t.style;
4142
4142
  let o = null, i = !1;
4143
4143
  function s(f) {
4144
4144
  return `translate3d(${f}px,0px,0px)`;
@@ -4148,8 +4148,8 @@ function Ia(r, t) {
4148
4148
  }
4149
4149
  function d(f) {
4150
4150
  if (i) return;
4151
- const b = ns(r.direction(f));
4152
- b !== o && (a.transform = n(b), o = b);
4151
+ const b = ns(n.direction(f));
4152
+ b !== o && (a.transform = r(b), o = b);
4153
4153
  }
4154
4154
  function l(f) {
4155
4155
  i = !f;
@@ -4163,7 +4163,7 @@ function Ia(r, t) {
4163
4163
  toggleActive: l
4164
4164
  };
4165
4165
  }
4166
- function Ns(r, t, n, a, o, i, s, c, d) {
4166
+ function Ns(n, t, r, a, o, i, s, c, d) {
4167
4167
  const p = Ot(o), g = Ot(o).reverse(), f = v().concat(S());
4168
4168
  function b(k, D) {
4169
4169
  return k.reduce((z, $) => z - o[$], D);
@@ -4180,23 +4180,23 @@ function Ns(r, t, n, a, o, i, s, c, d) {
4180
4180
  function w(k, D, z) {
4181
4181
  const $ = x(D);
4182
4182
  return k.map((O) => {
4183
- const _ = z ? 0 : -n, P = z ? n : 0, A = z ? "end" : "start", j = $[O][A];
4183
+ const _ = z ? 0 : -r, P = z ? r : 0, A = z ? "end" : "start", j = $[O][A];
4184
4184
  return {
4185
4185
  index: O,
4186
4186
  loopPoint: j,
4187
4187
  slideLocation: Dt(-1),
4188
- translate: Ia(r, d[O]),
4188
+ translate: Ia(n, d[O]),
4189
4189
  target: () => c.get() > j ? _ : P
4190
4190
  };
4191
4191
  });
4192
4192
  }
4193
4193
  function v() {
4194
4194
  const k = s[0], D = h(g, k);
4195
- return w(D, n, !1);
4195
+ return w(D, r, !1);
4196
4196
  }
4197
4197
  function S() {
4198
4198
  const k = t - s[0] - 1, D = h(p, k);
4199
- return w(D, -n, !0);
4199
+ return w(D, -r, !0);
4200
4200
  }
4201
4201
  function C() {
4202
4202
  return f.every(({
@@ -4226,10 +4226,10 @@ function Ns(r, t, n, a, o, i, s, c, d) {
4226
4226
  loopPoints: f
4227
4227
  };
4228
4228
  }
4229
- function Ss(r, t, n) {
4229
+ function Ss(n, t, r) {
4230
4230
  let a, o = !1;
4231
4231
  function i(d) {
4232
- if (!n) return;
4232
+ if (!r) return;
4233
4233
  function l(p) {
4234
4234
  for (const g of p)
4235
4235
  if (g.type === "childList") {
@@ -4238,8 +4238,8 @@ function Ss(r, t, n) {
4238
4238
  }
4239
4239
  }
4240
4240
  a = new MutationObserver((p) => {
4241
- o || (Nn(n) || n(d, p)) && l(p);
4242
- }), a.observe(r, {
4241
+ o || (Nn(r) || r(d, p)) && l(p);
4242
+ }), a.observe(n, {
4243
4243
  childList: !0
4244
4244
  });
4245
4245
  }
@@ -4251,7 +4251,7 @@ function Ss(r, t, n) {
4251
4251
  destroy: s
4252
4252
  };
4253
4253
  }
4254
- function ks(r, t, n, a) {
4254
+ function ks(n, t, r, a) {
4255
4255
  const o = {};
4256
4256
  let i = null, s = null, c, d = !1;
4257
4257
  function l() {
@@ -4259,9 +4259,9 @@ function ks(r, t, n, a) {
4259
4259
  d || (h.forEach((x) => {
4260
4260
  const w = t.indexOf(x.target);
4261
4261
  o[w] = x;
4262
- }), i = null, s = null, n.emit("slidesInView"));
4262
+ }), i = null, s = null, r.emit("slidesInView"));
4263
4263
  }, {
4264
- root: r.parentElement,
4264
+ root: n.parentElement,
4265
4265
  threshold: a
4266
4266
  }), t.forEach((h) => c.observe(h));
4267
4267
  }
@@ -4288,15 +4288,15 @@ function ks(r, t, n, a) {
4288
4288
  get: f
4289
4289
  };
4290
4290
  }
4291
- function Cs(r, t, n, a, o, i) {
4291
+ function Cs(n, t, r, a, o, i) {
4292
4292
  const {
4293
4293
  measureSize: s,
4294
4294
  startEdge: c,
4295
4295
  endEdge: d
4296
- } = r, l = n[0] && o, p = h(), g = x(), f = n.map(s), b = w();
4296
+ } = n, l = r[0] && o, p = h(), g = x(), f = r.map(s), b = w();
4297
4297
  function h() {
4298
4298
  if (!l) return 0;
4299
- const S = n[0];
4299
+ const S = r[0];
4300
4300
  return Z(t[c] - S[c]);
4301
4301
  }
4302
4302
  function x() {
@@ -4305,7 +4305,7 @@ function Cs(r, t, n, a, o, i) {
4305
4305
  return parseFloat(S.getPropertyValue(`margin-${d}`));
4306
4306
  }
4307
4307
  function w() {
4308
- return n.map((S, C, N) => {
4308
+ return r.map((S, C, N) => {
4309
4309
  const T = !C, I = or(N, C);
4310
4310
  return T ? f[C] + p : I ? f[C] + g : N[C + 1][c] - S[c];
4311
4311
  }).map(Z);
@@ -4317,12 +4317,12 @@ function Cs(r, t, n, a, o, i) {
4317
4317
  endGap: g
4318
4318
  };
4319
4319
  }
4320
- function Ts(r, t, n, a, o, i, s, c, d) {
4320
+ function Ts(n, t, r, a, o, i, s, c, d) {
4321
4321
  const {
4322
4322
  startEdge: l,
4323
4323
  endEdge: p,
4324
4324
  direction: g
4325
- } = r, f = rr(n);
4325
+ } = n, f = rr(r);
4326
4326
  function b(v, S) {
4327
4327
  return Ot(v).filter((C) => C % S === 0).map((C) => v.slice(C, C + S));
4328
4328
  }
@@ -4336,13 +4336,13 @@ function Ts(r, t, n, a, o, i, s, c, d) {
4336
4336
  }) : [];
4337
4337
  }
4338
4338
  function x(v) {
4339
- return f ? b(v, n) : h(v);
4339
+ return f ? b(v, r) : h(v);
4340
4340
  }
4341
4341
  return {
4342
4342
  groupSlides: x
4343
4343
  };
4344
4344
  }
4345
- function Ds(r, t, n, a, o, i, s) {
4345
+ function Ds(n, t, r, a, o, i, s) {
4346
4346
  const {
4347
4347
  align: c,
4348
4348
  axis: d,
@@ -4360,12 +4360,12 @@ function Ds(r, t, n, a, o, i, s) {
4360
4360
  watchSlides: N,
4361
4361
  watchDrag: T,
4362
4362
  watchFocus: I
4363
- } = i, k = 2, D = ls(), z = D.measure(t), $ = n.map(D.measure), O = os(d, l), _ = O.measureSize(z), P = cs(_), A = rs(c, _), j = !g && !!S, Y = g || !!S, {
4363
+ } = i, k = 2, D = ls(), z = D.measure(t), $ = r.map(D.measure), O = os(d, l), _ = O.measureSize(z), P = cs(_), A = rs(c, _), j = !g && !!S, Y = g || !!S, {
4364
4364
  slideSizes: F,
4365
4365
  slideSizesWithGaps: Q,
4366
4366
  startGap: ne,
4367
4367
  endGap: Pe
4368
- } = Cs(O, z, $, n, Y, o), Te = Ts(O, _, w, g, z, $, ne, Pe, k), {
4368
+ } = Cs(O, z, $, r, Y, o), Te = Ts(O, _, w, g, z, $, ne, Pe, k), {
4369
4369
  snaps: _e,
4370
4370
  snapsAligned: xe
4371
4371
  } = bs(O, A, z, $, Te), pe = -Oe(_e) + Oe(Q), {
@@ -4373,7 +4373,7 @@ function Ds(r, t, n, a, o, i, s) {
4373
4373
  scrollContainLimit: He
4374
4374
  } = ms(_, pe, xe, S, k), ae = j ? je : xe, {
4375
4375
  limit: ee
4376
- } = gs(pe, ae, g), ve = Da(_t(ae), p, g), ce = ve.clone(), G = Ot(n), R = ({
4376
+ } = gs(pe, ae, g), ve = Da(_t(ae), p, g), ce = ve.clone(), G = Ot(r), R = ({
4377
4377
  dragHandler: Ge,
4378
4378
  scrollBody: yt,
4379
4379
  scrollBounds: We,
@@ -4402,9 +4402,9 @@ function Ds(r, t, n, a, o, i, s) {
4402
4402
  Ee && zn.stop();
4403
4403
  const Ne = We.get() * H + Cn.get() * (1 - H);
4404
4404
  et.set(Ne), q && (Tn.loop(Ge.direction()), Dn.loop()), yt.to(et.get()), Ee && L.emit("settle"), se || L.emit("scroll");
4405
- }, E = as(a, o, () => R(wt), (Ge) => W(wt, Ge)), ie = 0.68, we = ae[ve.get()], ye = Dt(we), Ve = Dt(we), $e = Dt(we), he = Dt(we), Xe = us(ye, $e, Ve, he, f, ie), xt = vs(g, ae, pe, ee, he), Ue = ws(E, ve, ce, Xe, xt, he, s), Ht = hs(ee), vt = $t(), kn = ks(t, n, s, x), {
4405
+ }, E = as(a, o, () => R(wt), (Ge) => W(wt, Ge)), ie = 0.68, we = ae[ve.get()], ye = Dt(we), Ve = Dt(we), $e = Dt(we), he = Dt(we), Xe = us(ye, $e, Ve, he, f, ie), xt = vs(g, ae, pe, ee, he), Ue = ws(E, ve, ce, Xe, xt, he, s), Ht = hs(ee), vt = $t(), kn = ks(t, r, s, x), {
4406
4406
  slideRegistry: Vt
4407
- } = xs(j, S, ae, He, Te, G), ut = ys(r, n, Vt, Ue, Xe, vt, s, I), wt = {
4407
+ } = xs(j, S, ae, He, Te, G), ut = ys(n, r, Vt, Ue, Xe, vt, s, I), wt = {
4408
4408
  ownerDocument: a,
4409
4409
  ownerWindow: o,
4410
4410
  eventHandler: s,
@@ -4412,7 +4412,7 @@ function Ds(r, t, n, a, o, i, s) {
4412
4412
  slideRects: $,
4413
4413
  animation: E,
4414
4414
  axis: O,
4415
- dragHandler: is(O, r, a, o, he, ss(O, o), ye, E, Ue, Xe, xt, ve, s, P, b, h, v, ie, T),
4415
+ dragHandler: is(O, n, a, o, he, ss(O, o), ye, E, Ue, Xe, xt, ve, s, P, b, h, v, ie, T),
4416
4416
  eventStore: vt,
4417
4417
  percentOfView: P,
4418
4418
  index: ve,
@@ -4422,7 +4422,7 @@ function Ds(r, t, n, a, o, i, s) {
4422
4422
  offsetLocation: $e,
4423
4423
  previousLocation: Ve,
4424
4424
  options: i,
4425
- resizeHandler: ds(t, s, o, n, O, C, D),
4425
+ resizeHandler: ds(t, s, o, r, O, C, D),
4426
4426
  scrollBody: Xe,
4427
4427
  scrollBounds: fs(ee, $e, he, Xe, P),
4428
4428
  scrollLooper: ps(pe, ee, $e, [ye, $e, Ve, he]),
@@ -4431,7 +4431,7 @@ function Ds(r, t, n, a, o, i, s) {
4431
4431
  scrollSnaps: ae,
4432
4432
  scrollTarget: xt,
4433
4433
  scrollTo: Ue,
4434
- slideLooper: Ns(O, _, pe, F, Q, _e, ae, $e, n),
4434
+ slideLooper: Ns(O, _, pe, F, Q, _e, ae, $e, r),
4435
4435
  slideFocus: ut,
4436
4436
  slidesHandler: Ss(t, s, N),
4437
4437
  slidesInView: kn,
@@ -4444,27 +4444,27 @@ function Ds(r, t, n, a, o, i, s) {
4444
4444
  return wt;
4445
4445
  }
4446
4446
  function Is() {
4447
- let r = {}, t;
4448
- function n(l) {
4447
+ let n = {}, t;
4448
+ function r(l) {
4449
4449
  t = l;
4450
4450
  }
4451
4451
  function a(l) {
4452
- return r[l] || [];
4452
+ return n[l] || [];
4453
4453
  }
4454
4454
  function o(l) {
4455
4455
  return a(l).forEach((p) => p(t, l)), d;
4456
4456
  }
4457
4457
  function i(l, p) {
4458
- return r[l] = a(l).concat([p]), d;
4458
+ return n[l] = a(l).concat([p]), d;
4459
4459
  }
4460
4460
  function s(l, p) {
4461
- return r[l] = a(l).filter((g) => g !== p), d;
4461
+ return n[l] = a(l).filter((g) => g !== p), d;
4462
4462
  }
4463
4463
  function c() {
4464
- r = {};
4464
+ n = {};
4465
4465
  }
4466
4466
  const d = {
4467
- init: n,
4467
+ init: r,
4468
4468
  emit: o,
4469
4469
  off: s,
4470
4470
  on: i,
@@ -4494,29 +4494,29 @@ const zs = {
4494
4494
  watchSlides: !0,
4495
4495
  watchFocus: !0
4496
4496
  };
4497
- function Ms(r) {
4497
+ function Ms(n) {
4498
4498
  function t(i, s) {
4499
4499
  return Ta(i, s || {});
4500
4500
  }
4501
- function n(i) {
4502
- const s = i.breakpoints || {}, c = Lt(s).filter((d) => r.matchMedia(d).matches).map((d) => s[d]).reduce((d, l) => t(d, l), {});
4501
+ function r(i) {
4502
+ const s = i.breakpoints || {}, c = Lt(s).filter((d) => n.matchMedia(d).matches).map((d) => s[d]).reduce((d, l) => t(d, l), {});
4503
4503
  return t(i, c);
4504
4504
  }
4505
4505
  function a(i) {
4506
- return i.map((s) => Lt(s.breakpoints || {})).reduce((s, c) => s.concat(c), []).map(r.matchMedia);
4506
+ return i.map((s) => Lt(s.breakpoints || {})).reduce((s, c) => s.concat(c), []).map(n.matchMedia);
4507
4507
  }
4508
4508
  return {
4509
4509
  mergeOptions: t,
4510
- optionsAtMedia: n,
4510
+ optionsAtMedia: r,
4511
4511
  optionsMediaQueries: a
4512
4512
  };
4513
4513
  }
4514
- function Ps(r) {
4514
+ function Ps(n) {
4515
4515
  let t = [];
4516
- function n(i, s) {
4516
+ function r(i, s) {
4517
4517
  return t = s.filter(({
4518
4518
  options: c
4519
- }) => r.optionsAtMedia(c).active !== !1), t.forEach((c) => c.init(i, r)), s.reduce((c, d) => Object.assign(c, {
4519
+ }) => n.optionsAtMedia(c).active !== !1), t.forEach((c) => c.init(i, n)), s.reduce((c, d) => Object.assign(c, {
4520
4520
  [d.name]: d
4521
4521
  }), {});
4522
4522
  }
@@ -4524,12 +4524,12 @@ function Ps(r) {
4524
4524
  t = t.filter((i) => i.destroy());
4525
4525
  }
4526
4526
  return {
4527
- init: n,
4527
+ init: r,
4528
4528
  destroy: a
4529
4529
  };
4530
4530
  }
4531
- function nn(r, t, n) {
4532
- const a = r.ownerDocument, o = a.defaultView, i = Ms(o), s = Ps(i), c = $t(), d = Is(), {
4531
+ function nn(n, t, r) {
4532
+ const a = n.ownerDocument, o = a.defaultView, i = Ms(o), s = Ps(i), c = $t(), d = Is(), {
4533
4533
  mergeOptions: l,
4534
4534
  optionsAtMedia: p,
4535
4535
  optionsMediaQueries: g
@@ -4544,12 +4544,12 @@ function nn(r, t, n) {
4544
4544
  container: G,
4545
4545
  slides: R
4546
4546
  } = C;
4547
- I = (Ln(G) ? r.querySelector(G) : G) || r.children[0];
4547
+ I = (Ln(G) ? n.querySelector(G) : G) || n.children[0];
4548
4548
  const E = Ln(R) ? I.querySelectorAll(R) : R;
4549
4549
  k = [].slice.call(E || I.children);
4550
4550
  }
4551
4551
  function z(G) {
4552
- const R = Ds(r, I, k, a, o, G, d);
4552
+ const R = Ds(n, I, k, a, o, G, d);
4553
4553
  if (G.loop && !R.slideLooper.canLoop()) {
4554
4554
  const W = Object.assign({}, G, {
4555
4555
  loop: !1
@@ -4617,7 +4617,7 @@ function nn(r, t, n) {
4617
4617
  return v;
4618
4618
  }
4619
4619
  function ae() {
4620
- return r;
4620
+ return n;
4621
4621
  }
4622
4622
  function ee() {
4623
4623
  return I;
@@ -4648,21 +4648,21 @@ function nn(r, t, n) {
4648
4648
  slidesInView: xe,
4649
4649
  slidesNotInView: pe
4650
4650
  };
4651
- return $(t, n), setTimeout(() => d.emit("init"), 0), ce;
4651
+ return $(t, r), setTimeout(() => d.emit("init"), 0), ce;
4652
4652
  }
4653
4653
  nn.globalOptions = void 0;
4654
- function ir(r = {}, t = []) {
4655
- const n = Pt(r), a = Pt(t), [o, i] = B(), [s, c] = B(), d = Ie(() => {
4656
- o && o.reInit(n.current, a.current);
4654
+ function ir(n = {}, t = []) {
4655
+ const r = Pt(n), a = Pt(t), [o, i] = B(), [s, c] = B(), d = Ie(() => {
4656
+ o && o.reInit(r.current, a.current);
4657
4657
  }, [o]);
4658
4658
  return Be(() => {
4659
- nr(n.current, r) || (n.current = r, d());
4660
- }, [r, d]), Be(() => {
4659
+ nr(r.current, n) || (r.current = n, d());
4660
+ }, [n, d]), Be(() => {
4661
4661
  es(a.current, t) || (a.current = t, d());
4662
4662
  }, [t, d]), Be(() => {
4663
4663
  if (Zi() && s) {
4664
4664
  nn.globalOptions = ir.globalOptions;
4665
- const l = nn(s, n.current, a.current);
4665
+ const l = nn(s, r.current, a.current);
4666
4666
  return i(l), () => l.destroy();
4667
4667
  } else
4668
4668
  i(void 0);
@@ -4671,12 +4671,12 @@ function ir(r = {}, t = []) {
4671
4671
  ir.globalOptions = void 0;
4672
4672
  const za = rn(null);
4673
4673
  function Sn() {
4674
- const r = lt(za);
4675
- if (!r) throw new Error("Carousel components must be used inside <Carousel>");
4676
- return r;
4674
+ const n = lt(za);
4675
+ if (!n) throw new Error("Carousel components must be used inside <Carousel>");
4676
+ return n;
4677
4677
  }
4678
- const uc = y(function({ opts: t, orientation: n = "horizontal", setApi: a, className: o, children: i, ...s }, c) {
4679
- const [d, l] = ir({ ...t, axis: n === "horizontal" ? "x" : "y" }), [p, g] = B(!1), [f, b] = B(!1), h = Ie((x) => {
4678
+ const uc = y(function({ opts: t, orientation: r = "horizontal", setApi: a, className: o, children: i, ...s }, c) {
4679
+ const [d, l] = ir({ ...t, axis: r === "horizontal" ? "x" : "y" }), [p, g] = B(!1), [f, b] = B(!1), h = Ie((x) => {
4680
4680
  x && (g(x.canScrollPrev()), b(x.canScrollNext()));
4681
4681
  }, []);
4682
4682
  return Be(() => {
@@ -4694,13 +4694,13 @@ const uc = y(function({ opts: t, orientation: n = "horizontal", setApi: a, class
4694
4694
  canNext: f,
4695
4695
  scrollPrev: () => l == null ? void 0 : l.scrollPrev(),
4696
4696
  scrollNext: () => l == null ? void 0 : l.scrollNext(),
4697
- orientation: n
4697
+ orientation: r
4698
4698
  },
4699
4699
  children: /* @__PURE__ */ e("div", { ref: c, className: m("relative", o), role: "region", "aria-roledescription": "carousel", ...s, children: i })
4700
4700
  }
4701
4701
  );
4702
4702
  }), fc = y(
4703
- function({ className: t, ...n }, a) {
4703
+ function({ className: t, ...r }, a) {
4704
4704
  const { carouselRef: o, orientation: i } = Sn();
4705
4705
  return /* @__PURE__ */ e("div", { ref: o, className: "overflow-hidden", children: /* @__PURE__ */ e(
4706
4706
  "div",
@@ -4711,12 +4711,12 @@ const uc = y(function({ opts: t, orientation: n = "horizontal", setApi: a, class
4711
4711
  i === "horizontal" ? "-ml-4" : "-mt-4 flex-col",
4712
4712
  t
4713
4713
  ),
4714
- ...n
4714
+ ...r
4715
4715
  }
4716
4716
  ) });
4717
4717
  }
4718
4718
  ), mc = y(
4719
- function({ className: t, ...n }, a) {
4719
+ function({ className: t, ...r }, a) {
4720
4720
  const { orientation: o } = Sn();
4721
4721
  return /* @__PURE__ */ e(
4722
4722
  "div",
@@ -4729,76 +4729,76 @@ const uc = y(function({ opts: t, orientation: n = "horizontal", setApi: a, class
4729
4729
  o === "horizontal" ? "pl-4" : "pt-4",
4730
4730
  t
4731
4731
  ),
4732
- ...n
4732
+ ...r
4733
4733
  }
4734
4734
  );
4735
4735
  }
4736
4736
  );
4737
- function gc({ className: r }) {
4738
- const { canPrev: t, scrollPrev: n, orientation: a } = Sn();
4737
+ function gc({ className: n }) {
4738
+ const { canPrev: t, scrollPrev: r, orientation: a } = Sn();
4739
4739
  return /* @__PURE__ */ e(
4740
4740
  wn,
4741
4741
  {
4742
4742
  "aria-label": "Previous",
4743
4743
  variant: "outline",
4744
4744
  disabled: !t,
4745
- onClick: n,
4745
+ onClick: r,
4746
4746
  icon: /* @__PURE__ */ e(on, {}),
4747
4747
  className: m(
4748
4748
  "absolute z-10",
4749
4749
  a === "horizontal" ? "-left-12 top-1/2 -translate-y-1/2" : "-top-12 left-1/2 -translate-x-1/2 rotate-90",
4750
- r
4750
+ n
4751
4751
  )
4752
4752
  }
4753
4753
  );
4754
4754
  }
4755
- function pc({ className: r }) {
4756
- const { canNext: t, scrollNext: n, orientation: a } = Sn();
4755
+ function pc({ className: n }) {
4756
+ const { canNext: t, scrollNext: r, orientation: a } = Sn();
4757
4757
  return /* @__PURE__ */ e(
4758
4758
  wn,
4759
4759
  {
4760
4760
  "aria-label": "Next",
4761
4761
  variant: "outline",
4762
4762
  disabled: !t,
4763
- onClick: n,
4763
+ onClick: r,
4764
4764
  icon: /* @__PURE__ */ e(Ke, {}),
4765
4765
  className: m(
4766
4766
  "absolute z-10",
4767
4767
  a === "horizontal" ? "-right-12 top-1/2 -translate-y-1/2" : "-bottom-12 left-1/2 -translate-x-1/2 rotate-90",
4768
- r
4768
+ n
4769
4769
  )
4770
4770
  }
4771
4771
  );
4772
4772
  }
4773
- function Ma(r, t, n, a = 8) {
4774
- const o = r.map((f) => f.y), i = Math.min(0, ...o), s = Math.max(...o, 1), c = s - i || 1, d = t - a * 2, l = n - a * 2;
4775
- return { sx: (f) => r.length <= 1 ? a + d / 2 : a + f / (r.length - 1) * d, sy: (f) => a + l - (f - i) / c * l, min: i, max: s };
4773
+ function Ma(n, t, r, a = 8) {
4774
+ const o = n.map((f) => f.y), i = Math.min(0, ...o), s = Math.max(...o, 1), c = s - i || 1, d = t - a * 2, l = r - a * 2;
4775
+ return { sx: (f) => n.length <= 1 ? a + d / 2 : a + f / (n.length - 1) * d, sy: (f) => a + l - (f - i) / c * l, min: i, max: s };
4776
4776
  }
4777
- function hc({ data: r, height: t = 80, width: n = "100%", caption: a, className: o }) {
4778
- const i = typeof n == "number" ? n : 320, { sx: s, sy: c } = Ma(r, i, t), d = r.map((l, p) => `${p === 0 ? "M" : "L"}${s(p).toFixed(1)},${c(l.y).toFixed(1)}`).join(" ");
4777
+ function hc({ data: n, height: t = 80, width: r = "100%", caption: a, className: o }) {
4778
+ const i = typeof r == "number" ? r : 320, { sx: s, sy: c } = Ma(n, i, t), d = n.map((l, p) => `${p === 0 ? "M" : "L"}${s(p).toFixed(1)},${c(l.y).toFixed(1)}`).join(" ");
4779
4779
  return /* @__PURE__ */ u("figure", { className: m("flex flex-col gap-1.5", o), children: [
4780
4780
  a && /* @__PURE__ */ e("figcaption", { className: "text-xs text-foreground-muted", children: a }),
4781
- /* @__PURE__ */ u("svg", { viewBox: `0 0 ${i} ${t}`, width: n, height: t, role: "img", children: [
4781
+ /* @__PURE__ */ u("svg", { viewBox: `0 0 ${i} ${t}`, width: r, height: t, role: "img", children: [
4782
4782
  /* @__PURE__ */ e("path", { d, fill: "none", stroke: "var(--color-accent)", strokeWidth: 1.75, strokeLinecap: "round", strokeLinejoin: "round" }),
4783
- r.map((l, p) => /* @__PURE__ */ e("circle", { cx: s(p), cy: c(l.y), r: 2, fill: "var(--color-accent)" }, p))
4783
+ n.map((l, p) => /* @__PURE__ */ e("circle", { cx: s(p), cy: c(l.y), r: 2, fill: "var(--color-accent)" }, p))
4784
4784
  ] })
4785
4785
  ] });
4786
4786
  }
4787
- function bc({ data: r, height: t = 80, width: n = "100%", caption: a, className: o }) {
4788
- const i = typeof n == "number" ? n : 320, { sx: s, sy: c } = Ma(r, i, t), d = r.map((p, g) => `${g === 0 ? "M" : "L"}${s(g).toFixed(1)},${c(p.y).toFixed(1)}`).join(" "), l = `${d} L${s(r.length - 1).toFixed(1)},${t} L${s(0).toFixed(1)},${t} Z`;
4787
+ function bc({ data: n, height: t = 80, width: r = "100%", caption: a, className: o }) {
4788
+ const i = typeof r == "number" ? r : 320, { sx: s, sy: c } = Ma(n, i, t), d = n.map((p, g) => `${g === 0 ? "M" : "L"}${s(g).toFixed(1)},${c(p.y).toFixed(1)}`).join(" "), l = `${d} L${s(n.length - 1).toFixed(1)},${t} L${s(0).toFixed(1)},${t} Z`;
4789
4789
  return /* @__PURE__ */ u("figure", { className: m("flex flex-col gap-1.5", o), children: [
4790
4790
  a && /* @__PURE__ */ e("figcaption", { className: "text-xs text-foreground-muted", children: a }),
4791
- /* @__PURE__ */ u("svg", { viewBox: `0 0 ${i} ${t}`, width: n, height: t, role: "img", children: [
4791
+ /* @__PURE__ */ u("svg", { viewBox: `0 0 ${i} ${t}`, width: r, height: t, role: "img", children: [
4792
4792
  /* @__PURE__ */ e("path", { d: l, fill: "var(--color-accent-soft)" }),
4793
4793
  /* @__PURE__ */ e("path", { d, fill: "none", stroke: "var(--color-accent)", strokeWidth: 1.5 })
4794
4794
  ] })
4795
4795
  ] });
4796
4796
  }
4797
- function xc({ data: r, height: t = 100, width: n = "100%", caption: a, className: o }) {
4798
- const i = typeof n == "number" ? n : 320, s = 8, c = 2, d = i - s * 2, l = Math.max(2, d / r.length - c), p = r.map((f) => f.y), g = Math.max(...p, 1);
4797
+ function xc({ data: n, height: t = 100, width: r = "100%", caption: a, className: o }) {
4798
+ const i = typeof r == "number" ? r : 320, s = 8, c = 2, d = i - s * 2, l = Math.max(2, d / n.length - c), p = n.map((f) => f.y), g = Math.max(...p, 1);
4799
4799
  return /* @__PURE__ */ u("figure", { className: m("flex flex-col gap-1.5", o), children: [
4800
4800
  a && /* @__PURE__ */ e("figcaption", { className: "text-xs text-foreground-muted", children: a }),
4801
- /* @__PURE__ */ e("svg", { viewBox: `0 0 ${i} ${t}`, width: n, height: t, role: "img", children: r.map((f, b) => {
4801
+ /* @__PURE__ */ e("svg", { viewBox: `0 0 ${i} ${t}`, width: r, height: t, role: "img", children: n.map((f, b) => {
4802
4802
  const h = f.y / g * (t - s * 2);
4803
4803
  return /* @__PURE__ */ e(
4804
4804
  "rect",
@@ -4816,10 +4816,10 @@ function xc({ data: r, height: t = 100, width: n = "100%", caption: a, className
4816
4816
  }) })
4817
4817
  ] });
4818
4818
  }
4819
- function Es(r) {
4819
+ function Es(n) {
4820
4820
  if (typeof document > "u") return;
4821
- let t = document.head || document.getElementsByTagName("head")[0], n = document.createElement("style");
4822
- n.type = "text/css", t.appendChild(n), n.styleSheet ? n.styleSheet.cssText = r : n.appendChild(document.createTextNode(r));
4821
+ let t = document.head || document.getElementsByTagName("head")[0], r = document.createElement("style");
4822
+ r.type = "text/css", t.appendChild(r), r.styleSheet ? r.styleSheet.cssText = n : r.appendChild(document.createTextNode(n));
4823
4823
  }
4824
4824
  const Pa = M.createContext({
4825
4825
  drawerRef: {
@@ -4869,18 +4869,18 @@ const Pa = M.createContext({
4869
4869
  container: null,
4870
4870
  autoFocus: !1
4871
4871
  }), jt = () => {
4872
- const r = M.useContext(Pa);
4873
- if (!r)
4872
+ const n = M.useContext(Pa);
4873
+ if (!n)
4874
4874
  throw new Error("useDrawerContext must be used within a Drawer.Root");
4875
- return r;
4875
+ return n;
4876
4876
  };
4877
4877
  Es(`[data-vaul-drawer]{touch-action:none;will-change:transform;transition:transform .5s cubic-bezier(.32, .72, 0, 1);animation-duration:.5s;animation-timing-function:cubic-bezier(0.32,0.72,0,1)}[data-vaul-drawer][data-vaul-snap-points=false][data-vaul-drawer-direction=bottom][data-state=open]{animation-name:slideFromBottom}[data-vaul-drawer][data-vaul-snap-points=false][data-vaul-drawer-direction=bottom][data-state=closed]{animation-name:slideToBottom}[data-vaul-drawer][data-vaul-snap-points=false][data-vaul-drawer-direction=top][data-state=open]{animation-name:slideFromTop}[data-vaul-drawer][data-vaul-snap-points=false][data-vaul-drawer-direction=top][data-state=closed]{animation-name:slideToTop}[data-vaul-drawer][data-vaul-snap-points=false][data-vaul-drawer-direction=left][data-state=open]{animation-name:slideFromLeft}[data-vaul-drawer][data-vaul-snap-points=false][data-vaul-drawer-direction=left][data-state=closed]{animation-name:slideToLeft}[data-vaul-drawer][data-vaul-snap-points=false][data-vaul-drawer-direction=right][data-state=open]{animation-name:slideFromRight}[data-vaul-drawer][data-vaul-snap-points=false][data-vaul-drawer-direction=right][data-state=closed]{animation-name:slideToRight}[data-vaul-drawer][data-vaul-snap-points=true][data-vaul-drawer-direction=bottom]{transform:translate3d(0,var(--initial-transform,100%),0)}[data-vaul-drawer][data-vaul-snap-points=true][data-vaul-drawer-direction=top]{transform:translate3d(0,calc(var(--initial-transform,100%) * -1),0)}[data-vaul-drawer][data-vaul-snap-points=true][data-vaul-drawer-direction=left]{transform:translate3d(calc(var(--initial-transform,100%) * -1),0,0)}[data-vaul-drawer][data-vaul-snap-points=true][data-vaul-drawer-direction=right]{transform:translate3d(var(--initial-transform,100%),0,0)}[data-vaul-drawer][data-vaul-delayed-snap-points=true][data-vaul-drawer-direction=top]{transform:translate3d(0,var(--snap-point-height,0),0)}[data-vaul-drawer][data-vaul-delayed-snap-points=true][data-vaul-drawer-direction=bottom]{transform:translate3d(0,var(--snap-point-height,0),0)}[data-vaul-drawer][data-vaul-delayed-snap-points=true][data-vaul-drawer-direction=left]{transform:translate3d(var(--snap-point-height,0),0,0)}[data-vaul-drawer][data-vaul-delayed-snap-points=true][data-vaul-drawer-direction=right]{transform:translate3d(var(--snap-point-height,0),0,0)}[data-vaul-overlay][data-vaul-snap-points=false]{animation-duration:.5s;animation-timing-function:cubic-bezier(0.32,0.72,0,1)}[data-vaul-overlay][data-vaul-snap-points=false][data-state=open]{animation-name:fadeIn}[data-vaul-overlay][data-state=closed]{animation-name:fadeOut}[data-vaul-animate=false]{animation:none!important}[data-vaul-overlay][data-vaul-snap-points=true]{opacity:0;transition:opacity .5s cubic-bezier(.32, .72, 0, 1)}[data-vaul-overlay][data-vaul-snap-points=true]{opacity:1}[data-vaul-drawer]:not([data-vaul-custom-container=true])::after{content:'';position:absolute;background:inherit;background-color:inherit}[data-vaul-drawer][data-vaul-drawer-direction=top]::after{top:initial;bottom:100%;left:0;right:0;height:200%}[data-vaul-drawer][data-vaul-drawer-direction=bottom]::after{top:100%;bottom:initial;left:0;right:0;height:200%}[data-vaul-drawer][data-vaul-drawer-direction=left]::after{left:initial;right:100%;top:0;bottom:0;width:200%}[data-vaul-drawer][data-vaul-drawer-direction=right]::after{left:100%;right:initial;top:0;bottom:0;width:200%}[data-vaul-overlay][data-vaul-snap-points=true]:not([data-vaul-snap-points-overlay=true]):not(
4878
4878
  [data-state=closed]
4879
4879
  ){opacity:0}[data-vaul-overlay][data-vaul-snap-points-overlay=true]{opacity:1}[data-vaul-handle]{display:block;position:relative;opacity:.7;background:#e2e2e4;margin-left:auto;margin-right:auto;height:5px;width:32px;border-radius:1rem;touch-action:pan-y}[data-vaul-handle]:active,[data-vaul-handle]:hover{opacity:1}[data-vaul-handle-hitarea]{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);width:max(100%,2.75rem);height:max(100%,2.75rem);touch-action:inherit}@media (hover:hover) and (pointer:fine){[data-vaul-drawer]{user-select:none}}@media (pointer:fine){[data-vaul-handle-hitarea]:{width:100%;height:100%}}@keyframes fadeIn{from{opacity:0}to{opacity:1}}@keyframes fadeOut{to{opacity:0}}@keyframes slideFromBottom{from{transform:translate3d(0,var(--initial-transform,100%),0)}to{transform:translate3d(0,0,0)}}@keyframes slideToBottom{to{transform:translate3d(0,var(--initial-transform,100%),0)}}@keyframes slideFromTop{from{transform:translate3d(0,calc(var(--initial-transform,100%) * -1),0)}to{transform:translate3d(0,0,0)}}@keyframes slideToTop{to{transform:translate3d(0,calc(var(--initial-transform,100%) * -1),0)}}@keyframes slideFromLeft{from{transform:translate3d(calc(var(--initial-transform,100%) * -1),0,0)}to{transform:translate3d(0,0,0)}}@keyframes slideToLeft{to{transform:translate3d(calc(var(--initial-transform,100%) * -1),0,0)}}@keyframes slideFromRight{from{transform:translate3d(var(--initial-transform,100%),0,0)}to{transform:translate3d(0,0,0)}}@keyframes slideToRight{to{transform:translate3d(var(--initial-transform,100%),0,0)}}`);
4880
4880
  function As() {
4881
- const r = navigator.userAgent;
4882
- return typeof window < "u" && (/Firefox/.test(r) && /Mobile/.test(r) || // Android Firefox
4883
- /FxiOS/.test(r));
4881
+ const n = navigator.userAgent;
4882
+ return typeof window < "u" && (/Firefox/.test(n) && /Mobile/.test(n) || // Android Firefox
4883
+ /FxiOS/.test(n));
4884
4884
  }
4885
4885
  function Rs() {
4886
4886
  return sr(/^Mac/);
@@ -4898,25 +4898,25 @@ function Ls() {
4898
4898
  function Ea() {
4899
4899
  return Os() || Ls();
4900
4900
  }
4901
- function sr(r) {
4902
- return typeof window < "u" && window.navigator != null ? r.test(window.navigator.platform) : void 0;
4901
+ function sr(n) {
4902
+ return typeof window < "u" && window.navigator != null ? n.test(window.navigator.platform) : void 0;
4903
4903
  }
4904
4904
  const $s = 24, Fs = typeof window < "u" ? Ga : Be;
4905
- function xr(...r) {
4905
+ function xr(...n) {
4906
4906
  return (...t) => {
4907
- for (let n of r)
4908
- typeof n == "function" && n(...t);
4907
+ for (let r of n)
4908
+ typeof r == "function" && r(...t);
4909
4909
  };
4910
4910
  }
4911
4911
  const Pn = typeof document < "u" && window.visualViewport;
4912
- function vr(r) {
4913
- let t = window.getComputedStyle(r);
4912
+ function vr(n) {
4913
+ let t = window.getComputedStyle(n);
4914
4914
  return /(auto|scroll)/.test(t.overflow + t.overflowX + t.overflowY);
4915
4915
  }
4916
- function Aa(r) {
4917
- for (vr(r) && (r = r.parentElement); r && !vr(r); )
4918
- r = r.parentElement;
4919
- return r || document.scrollingElement || document.documentElement;
4916
+ function Aa(n) {
4917
+ for (vr(n) && (n = n.parentElement); n && !vr(n); )
4918
+ n = n.parentElement;
4919
+ return n || document.scrollingElement || document.documentElement;
4920
4920
  }
4921
4921
  const Bs = /* @__PURE__ */ new Set([
4922
4922
  "checkbox",
@@ -4930,8 +4930,8 @@ const Bs = /* @__PURE__ */ new Set([
4930
4930
  "reset"
4931
4931
  ]);
4932
4932
  let qt = 0, En;
4933
- function _s(r = {}) {
4934
- let { isDisabled: t } = r;
4933
+ function _s(n = {}) {
4934
+ let { isDisabled: t } = n;
4935
4935
  Fs(() => {
4936
4936
  if (!t)
4937
4937
  return qt++, qt === 1 && Ea() && (En = js()), () => {
@@ -4942,14 +4942,14 @@ function _s(r = {}) {
4942
4942
  ]);
4943
4943
  }
4944
4944
  function js() {
4945
- let r, t = 0, n = (g) => {
4946
- r = Aa(g.target), !(r === document.documentElement && r === document.body) && (t = g.changedTouches[0].pageY);
4945
+ let n, t = 0, r = (g) => {
4946
+ n = Aa(g.target), !(n === document.documentElement && n === document.body) && (t = g.changedTouches[0].pageY);
4947
4947
  }, a = (g) => {
4948
- if (!r || r === document.documentElement || r === document.body) {
4948
+ if (!n || n === document.documentElement || n === document.body) {
4949
4949
  g.preventDefault();
4950
4950
  return;
4951
4951
  }
4952
- let f = g.changedTouches[0].pageY, b = r.scrollTop, h = r.scrollHeight - r.clientHeight;
4952
+ let f = g.changedTouches[0].pageY, b = n.scrollTop, h = n.scrollHeight - n.clientHeight;
4953
4953
  h !== 0 && ((b <= 0 && f > t || b >= h && f < t) && g.preventDefault(), t = f);
4954
4954
  }, o = (g) => {
4955
4955
  let f = g.target;
@@ -4969,7 +4969,7 @@ function js() {
4969
4969
  window.scrollTo(0, 0);
4970
4970
  }, c = window.pageXOffset, d = window.pageYOffset, l = xr(Hs(document.documentElement, "paddingRight", `${window.innerWidth - document.documentElement.clientWidth}px`));
4971
4971
  window.scrollTo(0, 0);
4972
- let p = xr(Nt(document, "touchstart", n, {
4972
+ let p = xr(Nt(document, "touchstart", r, {
4973
4973
  passive: !1,
4974
4974
  capture: !0
4975
4975
  }), Nt(document, "touchmove", a, {
@@ -4983,60 +4983,60 @@ function js() {
4983
4983
  l(), p(), window.scrollTo(c, d);
4984
4984
  };
4985
4985
  }
4986
- function Hs(r, t, n) {
4987
- let a = r.style[t];
4988
- return r.style[t] = n, () => {
4989
- r.style[t] = a;
4986
+ function Hs(n, t, r) {
4987
+ let a = n.style[t];
4988
+ return n.style[t] = r, () => {
4989
+ n.style[t] = a;
4990
4990
  };
4991
4991
  }
4992
- function Nt(r, t, n, a) {
4993
- return r.addEventListener(t, n, a), () => {
4994
- r.removeEventListener(t, n, a);
4992
+ function Nt(n, t, r, a) {
4993
+ return n.addEventListener(t, r, a), () => {
4994
+ n.removeEventListener(t, r, a);
4995
4995
  };
4996
4996
  }
4997
- function wr(r) {
4997
+ function wr(n) {
4998
4998
  let t = document.scrollingElement || document.documentElement;
4999
- for (; r && r !== t; ) {
5000
- let n = Aa(r);
5001
- if (n !== document.documentElement && n !== document.body && n !== r) {
5002
- let a = n.getBoundingClientRect().top, o = r.getBoundingClientRect().top, i = r.getBoundingClientRect().bottom;
5003
- const s = n.getBoundingClientRect().bottom + $s;
5004
- i > s && (n.scrollTop += o - a);
4999
+ for (; n && n !== t; ) {
5000
+ let r = Aa(n);
5001
+ if (r !== document.documentElement && r !== document.body && r !== n) {
5002
+ let a = r.getBoundingClientRect().top, o = n.getBoundingClientRect().top, i = n.getBoundingClientRect().bottom;
5003
+ const s = r.getBoundingClientRect().bottom + $s;
5004
+ i > s && (r.scrollTop += o - a);
5005
5005
  }
5006
- r = n.parentElement;
5006
+ n = r.parentElement;
5007
5007
  }
5008
5008
  }
5009
- function Fn(r) {
5010
- return r instanceof HTMLInputElement && !Bs.has(r.type) || r instanceof HTMLTextAreaElement || r instanceof HTMLElement && r.isContentEditable;
5009
+ function Fn(n) {
5010
+ return n instanceof HTMLInputElement && !Bs.has(n.type) || n instanceof HTMLTextAreaElement || n instanceof HTMLElement && n.isContentEditable;
5011
5011
  }
5012
- function Vs(r, t) {
5013
- typeof r == "function" ? r(t) : r != null && (r.current = t);
5012
+ function Vs(n, t) {
5013
+ typeof n == "function" ? n(t) : n != null && (n.current = t);
5014
5014
  }
5015
- function Us(...r) {
5016
- return (t) => r.forEach((n) => Vs(n, t));
5015
+ function Us(...n) {
5016
+ return (t) => n.forEach((r) => Vs(r, t));
5017
5017
  }
5018
- function Ra(...r) {
5019
- return Ua.useCallback(Us(...r), r);
5018
+ function Ra(...n) {
5019
+ return Ua.useCallback(Us(...n), n);
5020
5020
  }
5021
5021
  const Oa = /* @__PURE__ */ new WeakMap();
5022
- function oe(r, t, n = !1) {
5023
- if (!r || !(r instanceof HTMLElement)) return;
5022
+ function oe(n, t, r = !1) {
5023
+ if (!n || !(n instanceof HTMLElement)) return;
5024
5024
  let a = {};
5025
5025
  Object.entries(t).forEach(([o, i]) => {
5026
5026
  if (o.startsWith("--")) {
5027
- r.style.setProperty(o, i);
5027
+ n.style.setProperty(o, i);
5028
5028
  return;
5029
5029
  }
5030
- a[o] = r.style[o], r.style[o] = i;
5031
- }), !n && Oa.set(r, a);
5030
+ a[o] = n.style[o], n.style[o] = i;
5031
+ }), !r && Oa.set(n, a);
5032
5032
  }
5033
- function Gs(r, t) {
5034
- if (!r || !(r instanceof HTMLElement)) return;
5035
- let n = Oa.get(r);
5036
- n && (r.style[t] = n[t]);
5033
+ function Gs(n, t) {
5034
+ if (!n || !(n instanceof HTMLElement)) return;
5035
+ let r = Oa.get(n);
5036
+ r && (n.style[t] = r[t]);
5037
5037
  }
5038
- const re = (r) => {
5039
- switch (r) {
5038
+ const re = (n) => {
5039
+ switch (n) {
5040
5040
  case "top":
5041
5041
  case "bottom":
5042
5042
  return !0;
@@ -5044,34 +5044,34 @@ const re = (r) => {
5044
5044
  case "right":
5045
5045
  return !1;
5046
5046
  default:
5047
- return r;
5047
+ return n;
5048
5048
  }
5049
5049
  };
5050
- function Kt(r, t) {
5051
- if (!r)
5050
+ function Kt(n, t) {
5051
+ if (!n)
5052
5052
  return null;
5053
- const n = window.getComputedStyle(r), a = (
5053
+ const r = window.getComputedStyle(n), a = (
5054
5054
  // @ts-ignore
5055
- n.transform || n.webkitTransform || n.mozTransform
5055
+ r.transform || r.webkitTransform || r.mozTransform
5056
5056
  );
5057
5057
  let o = a.match(/^matrix3d\((.+)\)$/);
5058
5058
  return o ? parseFloat(o[1].split(", ")[re(t) ? 13 : 12]) : (o = a.match(/^matrix\((.+)\)$/), o ? parseFloat(o[1].split(", ")[re(t) ? 5 : 4]) : null);
5059
5059
  }
5060
- function Ws(r) {
5061
- return 8 * (Math.log(r + 1) - 2);
5060
+ function Ws(n) {
5061
+ return 8 * (Math.log(n + 1) - 2);
5062
5062
  }
5063
- function An(r, t) {
5064
- if (!r) return () => {
5063
+ function An(n, t) {
5064
+ if (!n) return () => {
5065
5065
  };
5066
- const n = r.style.cssText;
5067
- return Object.assign(r.style, t), () => {
5068
- r.style.cssText = n;
5066
+ const r = n.style.cssText;
5067
+ return Object.assign(n.style, t), () => {
5068
+ n.style.cssText = r;
5069
5069
  };
5070
5070
  }
5071
- function qs(...r) {
5071
+ function qs(...n) {
5072
5072
  return (...t) => {
5073
- for (const n of r)
5074
- typeof n == "function" && n(...t);
5073
+ for (const r of n)
5074
+ typeof r == "function" && r(...t);
5075
5075
  };
5076
5076
  }
5077
5077
  const J = {
@@ -5083,36 +5083,36 @@ const J = {
5083
5083
  1
5084
5084
  ]
5085
5085
  }, La = 0.4, Ks = 0.25, Ys = 100, $a = 8, nt = 16, Bn = 26, Rn = "vaul-dragging";
5086
- function Fa(r) {
5087
- const t = M.useRef(r);
5086
+ function Fa(n) {
5087
+ const t = M.useRef(n);
5088
5088
  return M.useEffect(() => {
5089
- t.current = r;
5090
- }), M.useMemo(() => (...n) => t.current == null ? void 0 : t.current.call(t, ...n), []);
5089
+ t.current = n;
5090
+ }), M.useMemo(() => (...r) => t.current == null ? void 0 : t.current.call(t, ...r), []);
5091
5091
  }
5092
- function Xs({ defaultProp: r, onChange: t }) {
5093
- const n = M.useState(r), [a] = n, o = M.useRef(a), i = Fa(t);
5092
+ function Xs({ defaultProp: n, onChange: t }) {
5093
+ const r = M.useState(n), [a] = r, o = M.useRef(a), i = Fa(t);
5094
5094
  return M.useEffect(() => {
5095
5095
  o.current !== a && (i(a), o.current = a);
5096
5096
  }, [
5097
5097
  a,
5098
5098
  o,
5099
5099
  i
5100
- ]), n;
5100
+ ]), r;
5101
5101
  }
5102
- function Ba({ prop: r, defaultProp: t, onChange: n = () => {
5102
+ function Ba({ prop: n, defaultProp: t, onChange: r = () => {
5103
5103
  } }) {
5104
5104
  const [a, o] = Xs({
5105
5105
  defaultProp: t,
5106
- onChange: n
5107
- }), i = r !== void 0, s = i ? r : a, c = Fa(n), d = M.useCallback((l) => {
5106
+ onChange: r
5107
+ }), i = n !== void 0, s = i ? n : a, c = Fa(r), d = M.useCallback((l) => {
5108
5108
  if (i) {
5109
- const g = typeof l == "function" ? l(r) : l;
5110
- g !== r && c(g);
5109
+ const g = typeof l == "function" ? l(n) : l;
5110
+ g !== n && c(g);
5111
5111
  } else
5112
5112
  o(l);
5113
5113
  }, [
5114
5114
  i,
5115
- r,
5115
+ n,
5116
5116
  o,
5117
5117
  c
5118
5118
  ]);
@@ -5121,10 +5121,10 @@ function Ba({ prop: r, defaultProp: t, onChange: n = () => {
5121
5121
  d
5122
5122
  ];
5123
5123
  }
5124
- function Qs({ activeSnapPointProp: r, setActiveSnapPointProp: t, snapPoints: n, drawerRef: a, overlayRef: o, fadeFromIndex: i, onSnapPointChange: s, direction: c = "bottom", container: d, snapToSequentialPoint: l }) {
5124
+ function Qs({ activeSnapPointProp: n, setActiveSnapPointProp: t, snapPoints: r, drawerRef: a, overlayRef: o, fadeFromIndex: i, onSnapPointChange: s, direction: c = "bottom", container: d, snapToSequentialPoint: l }) {
5125
5125
  const [p, g] = Ba({
5126
- prop: r,
5127
- defaultProp: n == null ? void 0 : n[0],
5126
+ prop: n,
5127
+ defaultProp: r == null ? void 0 : r[0],
5128
5128
  onChange: t
5129
5129
  }), [f, b] = M.useState(typeof window < "u" ? {
5130
5130
  innerWidth: window.innerWidth,
@@ -5139,16 +5139,16 @@ function Qs({ activeSnapPointProp: r, setActiveSnapPointProp: t, snapPoints: n,
5139
5139
  }
5140
5140
  return window.addEventListener("resize", k), () => window.removeEventListener("resize", k);
5141
5141
  }, []);
5142
- const h = M.useMemo(() => p === (n == null ? void 0 : n[n.length - 1]) || null, [
5143
- n,
5142
+ const h = M.useMemo(() => p === (r == null ? void 0 : r[r.length - 1]) || null, [
5143
+ r,
5144
5144
  p
5145
5145
  ]), x = M.useMemo(() => {
5146
5146
  var k;
5147
- return (k = n == null ? void 0 : n.findIndex((D) => D === p)) != null ? k : null;
5147
+ return (k = r == null ? void 0 : r.findIndex((D) => D === p)) != null ? k : null;
5148
5148
  }, [
5149
- n,
5149
+ r,
5150
5150
  p
5151
- ]), w = n && n.length > 0 && (i || i === 0) && !Number.isNaN(i) && n[i] === p || !n, v = M.useMemo(() => {
5151
+ ]), w = r && r.length > 0 && (i || i === 0) && !Number.isNaN(i) && r[i] === p || !r, v = M.useMemo(() => {
5152
5152
  const k = d ? {
5153
5153
  width: d.getBoundingClientRect().width,
5154
5154
  height: d.getBoundingClientRect().height
@@ -5160,7 +5160,7 @@ function Qs({ activeSnapPointProp: r, setActiveSnapPointProp: t, snapPoints: n,
5160
5160
  height: 0
5161
5161
  };
5162
5162
  var D;
5163
- return (D = n == null ? void 0 : n.map((z) => {
5163
+ return (D = r == null ? void 0 : r.map((z) => {
5164
5164
  const $ = typeof z == "string";
5165
5165
  let O = 0;
5166
5166
  if ($ && (O = parseInt(z, 10)), re(c)) {
@@ -5171,7 +5171,7 @@ function Qs({ activeSnapPointProp: r, setActiveSnapPointProp: t, snapPoints: n,
5171
5171
  return f ? c === "right" ? k.width - _ : -k.width + _ : _;
5172
5172
  })) != null ? D : [];
5173
5173
  }, [
5174
- n,
5174
+ r,
5175
5175
  f,
5176
5176
  d
5177
5177
  ]), S = M.useMemo(() => x !== null ? v == null ? void 0 : v[x] : null, [
@@ -5189,25 +5189,25 @@ function Qs({ activeSnapPointProp: r, setActiveSnapPointProp: t, snapPoints: n,
5189
5189
  }) : oe(o.current, {
5190
5190
  transition: `opacity ${J.DURATION}s cubic-bezier(${J.EASE.join(",")})`,
5191
5191
  opacity: "1"
5192
- }), g(n == null ? void 0 : n[Math.max(z, 0)]);
5192
+ }), g(r == null ? void 0 : r[Math.max(z, 0)]);
5193
5193
  }, [
5194
5194
  a.current,
5195
- n,
5195
+ r,
5196
5196
  v,
5197
5197
  i,
5198
5198
  o,
5199
5199
  g
5200
5200
  ]);
5201
5201
  M.useEffect(() => {
5202
- if (p || r) {
5202
+ if (p || n) {
5203
5203
  var k;
5204
- const D = (k = n == null ? void 0 : n.findIndex((z) => z === r || z === p)) != null ? k : -1;
5204
+ const D = (k = r == null ? void 0 : r.findIndex((z) => z === n || z === p)) != null ? k : -1;
5205
5205
  v && D !== -1 && typeof v[D] == "number" && C(v[D]);
5206
5206
  }
5207
5207
  }, [
5208
5208
  p,
5209
- r,
5210
5209
  n,
5210
+ r,
5211
5211
  v,
5212
5212
  C
5213
5213
  ]);
@@ -5220,15 +5220,15 @@ function Qs({ activeSnapPointProp: r, setActiveSnapPointProp: t, snapPoints: n,
5220
5220
  $ ? D() : C(v[0]);
5221
5221
  return;
5222
5222
  }
5223
- if (!l && z > 2 && A && v && n) {
5224
- C(v[n.length - 1]);
5223
+ if (!l && z > 2 && A && v && r) {
5224
+ C(v[r.length - 1]);
5225
5225
  return;
5226
5226
  }
5227
5227
  const j = v == null ? void 0 : v.reduce((F, Q) => typeof F != "number" || typeof Q != "number" ? F : Math.abs(Q - O) < Math.abs(F - O) ? Q : F), Y = re(c) ? window.innerHeight : window.innerWidth;
5228
5228
  if (z > La && Math.abs(k) < Y * 0.4) {
5229
5229
  const F = A ? 1 : -1;
5230
- if (F > 0 && h && n) {
5231
- C(v[n.length - 1]);
5230
+ if (F > 0 && h && r) {
5231
+ C(v[r.length - 1]);
5232
5232
  return;
5233
5233
  }
5234
5234
  if (P && F < 0 && $ && D(), x === null) return;
@@ -5245,7 +5245,7 @@ function Qs({ activeSnapPointProp: r, setActiveSnapPointProp: t, snapPoints: n,
5245
5245
  });
5246
5246
  }
5247
5247
  function I(k, D) {
5248
- if (!n || typeof x != "number" || !v || i === void 0) return null;
5248
+ if (!r || typeof x != "number" || !v || i === void 0) return null;
5249
5249
  const z = x === i - 1;
5250
5250
  if (x >= i && D)
5251
5251
  return 0;
@@ -5269,19 +5269,19 @@ function Qs({ activeSnapPointProp: r, setActiveSnapPointProp: t, snapPoints: n,
5269
5269
  const Js = () => () => {
5270
5270
  };
5271
5271
  function Zs() {
5272
- const { direction: r, isOpen: t, shouldScaleBackground: n, setBackgroundColorOnScale: a, noBodyStyles: o } = jt(), i = M.useRef(null), s = ht(() => document.body.style.backgroundColor, []);
5272
+ const { direction: n, isOpen: t, shouldScaleBackground: r, setBackgroundColorOnScale: a, noBodyStyles: o } = jt(), i = M.useRef(null), s = ht(() => document.body.style.backgroundColor, []);
5273
5273
  function c() {
5274
5274
  return (window.innerWidth - Bn) / window.innerWidth;
5275
5275
  }
5276
5276
  M.useEffect(() => {
5277
- if (t && n) {
5277
+ if (t && r) {
5278
5278
  i.current && clearTimeout(i.current);
5279
5279
  const d = document.querySelector("[data-vaul-drawer-wrapper]") || document.querySelector("[vaul-drawer-wrapper]");
5280
5280
  if (!d) return;
5281
5281
  qs(a && !o ? An(document.body, {
5282
5282
  background: "black"
5283
5283
  }) : Js, An(d, {
5284
- transformOrigin: re(r) ? "top" : "left",
5284
+ transformOrigin: re(n) ? "top" : "left",
5285
5285
  transitionProperty: "transform, border-radius",
5286
5286
  transitionDuration: `${J.DURATION}s`,
5287
5287
  transitionTimingFunction: `cubic-bezier(${J.EASE.join(",")})`
@@ -5289,7 +5289,7 @@ function Zs() {
5289
5289
  const l = An(d, {
5290
5290
  borderRadius: `${$a}px`,
5291
5291
  overflow: "hidden",
5292
- ...re(r) ? {
5292
+ ...re(n) ? {
5293
5293
  transform: `scale(${c()}) translate3d(0, calc(env(safe-area-inset-top) + 14px), 0)`
5294
5294
  } : {
5295
5295
  transform: `scale(${c()}) translate3d(calc(env(safe-area-inset-top) + 14px), 0, 0)`
@@ -5303,14 +5303,14 @@ function Zs() {
5303
5303
  }
5304
5304
  }, [
5305
5305
  t,
5306
- n,
5306
+ r,
5307
5307
  s
5308
5308
  ]);
5309
5309
  }
5310
5310
  let St = null;
5311
- function el({ isOpen: r, modal: t, nested: n, hasBeenOpened: a, preventScrollRestoration: o, noBodyStyles: i }) {
5311
+ function el({ isOpen: n, modal: t, nested: r, hasBeenOpened: a, preventScrollRestoration: o, noBodyStyles: i }) {
5312
5312
  const [s, c] = M.useState(() => typeof window < "u" ? window.location.href : ""), d = M.useRef(0), l = M.useCallback(() => {
5313
- if (br() && St === null && r && !i) {
5313
+ if (br() && St === null && n && !i) {
5314
5314
  St = {
5315
5315
  position: document.body.style.position,
5316
5316
  top: document.body.style.top,
@@ -5330,7 +5330,7 @@ function el({ isOpen: r, modal: t, nested: n, hasBeenOpened: a, preventScrollRes
5330
5330
  }), 300);
5331
5331
  }
5332
5332
  }, [
5333
- r
5333
+ n
5334
5334
  ]), p = M.useCallback(() => {
5335
5335
  if (br() && St !== null && !i) {
5336
5336
  const g = -parseInt(document.body.style.top, 10), f = -parseInt(document.body.style.left, 10);
@@ -5361,26 +5361,26 @@ function el({ isOpen: r, modal: t, nested: n, hasBeenOpened: a, preventScrollRes
5361
5361
  t,
5362
5362
  p
5363
5363
  ]), M.useEffect(() => {
5364
- n || !a || (r ? (!window.matchMedia("(display-mode: standalone)").matches && l(), t || window.setTimeout(() => {
5364
+ r || !a || (n ? (!window.matchMedia("(display-mode: standalone)").matches && l(), t || window.setTimeout(() => {
5365
5365
  p();
5366
5366
  }, 500)) : p());
5367
5367
  }, [
5368
- r,
5368
+ n,
5369
5369
  a,
5370
5370
  s,
5371
5371
  t,
5372
- n,
5372
+ r,
5373
5373
  l,
5374
5374
  p
5375
5375
  ]), {
5376
5376
  restorePositionSetting: p
5377
5377
  };
5378
5378
  }
5379
- function tl({ open: r, onOpenChange: t, children: n, onDrag: a, onRelease: o, snapPoints: i, shouldScaleBackground: s = !1, setBackgroundColorOnScale: c = !0, closeThreshold: d = Ks, scrollLockTimeout: l = Ys, dismissible: p = !0, handleOnly: g = !1, fadeFromIndex: f = i && i.length - 1, activeSnapPoint: b, setActiveSnapPoint: h, fixed: x, modal: w = !0, onClose: v, nested: S, noBodyStyles: C = !1, direction: N = "bottom", defaultOpen: T = !1, disablePreventScroll: I = !0, snapToSequentialPoint: k = !1, preventScrollRestoration: D = !1, repositionInputs: z = !0, onAnimationEnd: $, container: O, autoFocus: _ = !1 }) {
5379
+ function tl({ open: n, onOpenChange: t, children: r, onDrag: a, onRelease: o, snapPoints: i, shouldScaleBackground: s = !1, setBackgroundColorOnScale: c = !0, closeThreshold: d = Ks, scrollLockTimeout: l = Ys, dismissible: p = !0, handleOnly: g = !1, fadeFromIndex: f = i && i.length - 1, activeSnapPoint: b, setActiveSnapPoint: h, fixed: x, modal: w = !0, onClose: v, nested: S, noBodyStyles: C = !1, direction: N = "bottom", defaultOpen: T = !1, disablePreventScroll: I = !0, snapToSequentialPoint: k = !1, preventScrollRestoration: D = !1, repositionInputs: z = !0, onAnimationEnd: $, container: O, autoFocus: _ = !1 }) {
5380
5380
  var P, A;
5381
5381
  const [j = !1, Y] = Ba({
5382
5382
  defaultProp: T,
5383
- prop: r,
5383
+ prop: n,
5384
5384
  onChange: (L) => {
5385
5385
  t == null || t(L), !L && !S && Vt(), setTimeout(() => {
5386
5386
  $ == null || $(L);
@@ -5673,10 +5673,10 @@ function tl({ open: r, onOpenChange: t, children: n, onDrag: a, onRelease: o, sn
5673
5673
  container: O,
5674
5674
  autoFocus: _
5675
5675
  }
5676
- }, n));
5676
+ }, r));
5677
5677
  }
5678
- const _a = /* @__PURE__ */ M.forwardRef(function({ ...r }, t) {
5679
- const { overlayRef: n, snapPoints: a, onRelease: o, shouldFade: i, isOpen: s, modal: c, shouldAnimate: d } = jt(), l = Ra(t, n), p = a && a.length > 0;
5678
+ const _a = /* @__PURE__ */ M.forwardRef(function({ ...n }, t) {
5679
+ const { overlayRef: r, snapPoints: a, onRelease: o, shouldFade: i, isOpen: s, modal: c, shouldAnimate: d } = jt(), l = Ra(t, r), p = a && a.length > 0;
5680
5680
  if (!c)
5681
5681
  return null;
5682
5682
  const g = M.useCallback((f) => o(f), [
@@ -5689,11 +5689,11 @@ const _a = /* @__PURE__ */ M.forwardRef(function({ ...r }, t) {
5689
5689
  "data-vaul-snap-points": s && p ? "true" : "false",
5690
5690
  "data-vaul-snap-points-overlay": s && i ? "true" : "false",
5691
5691
  "data-vaul-animate": d != null && d.current ? "true" : "false",
5692
- ...r
5692
+ ...n
5693
5693
  });
5694
5694
  });
5695
5695
  _a.displayName = "Drawer.Overlay";
5696
- const ja = /* @__PURE__ */ M.forwardRef(function({ onPointerDownOutside: r, style: t, onOpenAutoFocus: n, ...a }, o) {
5696
+ const ja = /* @__PURE__ */ M.forwardRef(function({ onPointerDownOutside: n, style: t, onOpenAutoFocus: r, ...a }, o) {
5697
5697
  const { drawerRef: i, onPress: s, onRelease: c, onDrag: d, keyboardIsOpen: l, snapPointsOffset: p, activeSnapPointIndex: g, modal: f, isOpen: b, direction: h, snapPoints: x, container: w, handleOnly: v, shouldAnimate: S, autoFocus: C } = jt(), [N, T] = M.useState(!1), I = Ra(o, i), k = M.useRef(null), D = M.useRef(null), z = M.useRef(!1), $ = x && x.length > 0;
5698
5698
  Zs();
5699
5699
  const O = (P, A, j = 0) => {
@@ -5737,10 +5737,10 @@ const ja = /* @__PURE__ */ M.forwardRef(function({ onPointerDownOutside: r, styl
5737
5737
  }, s(P));
5738
5738
  },
5739
5739
  onOpenAutoFocus: (P) => {
5740
- n == null || n(P), C || P.preventDefault();
5740
+ r == null || r(P), C || P.preventDefault();
5741
5741
  },
5742
5742
  onPointerDownOutside: (P) => {
5743
- if (r == null || r(P), !f || P.defaultPrevented) {
5743
+ if (n == null || n(P), !f || P.defaultPrevented) {
5744
5744
  P.preventDefault();
5745
5745
  return;
5746
5746
  }
@@ -5772,7 +5772,7 @@ const ja = /* @__PURE__ */ M.forwardRef(function({ onPointerDownOutside: r, styl
5772
5772
  });
5773
5773
  });
5774
5774
  ja.displayName = "Drawer.Content";
5775
- const nl = 250, rl = 120, al = /* @__PURE__ */ M.forwardRef(function({ preventCycle: r = !1, children: t, ...n }, a) {
5775
+ const nl = 250, rl = 120, al = /* @__PURE__ */ M.forwardRef(function({ preventCycle: n = !1, children: t, ...r }, a) {
5776
5776
  const { closeDrawer: o, isDragging: i, snapPoints: s, activeSnapPoint: c, setActiveSnapPoint: d, dismissible: l, handleOnly: p, isOpen: g, onPress: f, onDrag: b } = jt(), h = M.useRef(null), x = M.useRef(!1);
5777
5777
  function w() {
5778
5778
  if (x.current) {
@@ -5784,7 +5784,7 @@ const nl = 250, rl = 120, al = /* @__PURE__ */ M.forwardRef(function({ preventCy
5784
5784
  }, rl);
5785
5785
  }
5786
5786
  function v() {
5787
- if (i || r || x.current) {
5787
+ if (i || n || x.current) {
5788
5788
  C();
5789
5789
  return;
5790
5790
  }
@@ -5823,17 +5823,17 @@ const nl = 250, rl = 120, al = /* @__PURE__ */ M.forwardRef(function({ preventCy
5823
5823
  "data-vaul-drawer-visible": g ? "true" : "false",
5824
5824
  "data-vaul-handle": "",
5825
5825
  "aria-hidden": "true",
5826
- ...n
5826
+ ...r
5827
5827
  }, /* @__PURE__ */ M.createElement("span", {
5828
5828
  "data-vaul-handle-hitarea": "",
5829
5829
  "aria-hidden": "true"
5830
5830
  }, t));
5831
5831
  });
5832
5832
  al.displayName = "Drawer.Handle";
5833
- function ol(r) {
5834
- const t = jt(), { container: n = t.container, ...a } = r;
5833
+ function ol(n) {
5834
+ const t = jt(), { container: r = t.container, ...a } = n;
5835
5835
  return /* @__PURE__ */ M.createElement(U.Portal, {
5836
- container: n,
5836
+ container: r,
5837
5837
  ...a
5838
5838
  });
5839
5839
  }
@@ -5847,17 +5847,17 @@ const Ze = {
5847
5847
  Title: U.Title,
5848
5848
  Description: U.Description
5849
5849
  }, il = ({
5850
- shouldScaleBackground: r = !0,
5850
+ shouldScaleBackground: n = !0,
5851
5851
  ...t
5852
- }) => /* @__PURE__ */ e(Ze.Root, { shouldScaleBackground: r, ...t });
5852
+ }) => /* @__PURE__ */ e(Ze.Root, { shouldScaleBackground: n, ...t });
5853
5853
  il.displayName = "Drawer";
5854
- const vc = Ze.Trigger, sl = Ze.Portal, wc = Ze.Close, ll = y(function({ className: t, ...n }, a) {
5854
+ const vc = Ze.Trigger, sl = Ze.Portal, wc = Ze.Close, ll = y(function({ className: t, ...r }, a) {
5855
5855
  return /* @__PURE__ */ e(
5856
5856
  Ze.Overlay,
5857
5857
  {
5858
5858
  ref: a,
5859
5859
  className: m("fixed inset-0 z-50 bg-black/40", t),
5860
- ...n
5860
+ ...r
5861
5861
  }
5862
5862
  );
5863
5863
  }), cl = {
@@ -5870,8 +5870,8 @@ const vc = Ze.Trigger, sl = Ze.Portal, wc = Ze.Close, ll = y(function({ classNam
5870
5870
  top: "mx-auto mb-3 h-1.5 w-12 rounded-full bg-border order-last",
5871
5871
  left: "mx-1.5 my-auto h-12 w-1.5 rounded-full bg-border order-last self-stretch shrink-0",
5872
5872
  right: "mx-1.5 my-auto h-12 w-1.5 rounded-full bg-border shrink-0 self-stretch"
5873
- }, yc = y(function({ className: t, direction: n = "bottom", hideHandle: a, children: o, ...i }, s) {
5874
- const c = n === "left" || n === "right";
5873
+ }, yc = y(function({ className: t, direction: r = "bottom", hideHandle: a, children: o, ...i }, s) {
5874
+ const c = r === "left" || r === "right";
5875
5875
  return /* @__PURE__ */ u(sl, { children: [
5876
5876
  /* @__PURE__ */ e(ll, {}),
5877
5877
  /* @__PURE__ */ u(
@@ -5880,48 +5880,48 @@ const vc = Ze.Trigger, sl = Ze.Portal, wc = Ze.Close, ll = y(function({ classNam
5880
5880
  ref: s,
5881
5881
  className: m(
5882
5882
  "fixed z-50 bg-card",
5883
- cl[n],
5883
+ cl[r],
5884
5884
  c && "flex-row",
5885
5885
  t
5886
5886
  ),
5887
5887
  ...i,
5888
5888
  children: [
5889
- !a && /* @__PURE__ */ e("div", { "aria-hidden": !0, className: dl[n] }),
5889
+ !a && /* @__PURE__ */ e("div", { "aria-hidden": !0, className: dl[r] }),
5890
5890
  /* @__PURE__ */ e("div", { className: m("min-h-0 min-w-0 flex-1", c && "flex flex-col"), children: o })
5891
5891
  ]
5892
5892
  }
5893
5893
  )
5894
5894
  ] });
5895
5895
  });
5896
- function Nc({ className: r, ...t }) {
5897
- return /* @__PURE__ */ e("div", { className: m("grid gap-1 p-4 text-center sm:text-left", r), ...t });
5896
+ function Nc({ className: n, ...t }) {
5897
+ return /* @__PURE__ */ e("div", { className: m("grid gap-1 p-4 text-center sm:text-left", n), ...t });
5898
5898
  }
5899
- function Sc({ className: r, ...t }) {
5900
- return /* @__PURE__ */ e("div", { className: m("mt-auto flex flex-col gap-2 p-4", r), ...t });
5899
+ function Sc({ className: n, ...t }) {
5900
+ return /* @__PURE__ */ e("div", { className: m("mt-auto flex flex-col gap-2 p-4", n), ...t });
5901
5901
  }
5902
- const kc = y(function({ className: t, ...n }, a) {
5902
+ const kc = y(function({ className: t, ...r }, a) {
5903
5903
  return /* @__PURE__ */ e(
5904
5904
  Ze.Title,
5905
5905
  {
5906
5906
  ref: a,
5907
5907
  className: m("text-lg font-semibold", t),
5908
- ...n
5908
+ ...r
5909
5909
  }
5910
5910
  );
5911
- }), Cc = y(function({ className: t, ...n }, a) {
5911
+ }), Cc = y(function({ className: t, ...r }, a) {
5912
5912
  return /* @__PURE__ */ e(
5913
5913
  Ze.Description,
5914
5914
  {
5915
5915
  ref: a,
5916
5916
  className: m("text-sm text-foreground-muted", t),
5917
- ...n
5917
+ ...r
5918
5918
  }
5919
5919
  );
5920
5920
  });
5921
- function ul(r) {
5922
- return r < 1024 ? `${r} B` : r < 1024 * 1024 ? `${(r / 1024).toFixed(1)} KB` : `${(r / 1024 / 1024).toFixed(1)} MB`;
5921
+ function ul(n) {
5922
+ return n < 1024 ? `${n} B` : n < 1024 * 1024 ? `${(n / 1024).toFixed(1)} KB` : `${(n / 1024 / 1024).toFixed(1)} MB`;
5923
5923
  }
5924
- const Tc = y(function({ accept: t, multiple: n, maxSize: a, value: o, onChange: i, hint: s, disabled: c, className: d }, l) {
5924
+ const Tc = y(function({ accept: t, multiple: r, maxSize: a, value: o, onChange: i, hint: s, disabled: c, className: d }, l) {
5925
5925
  const p = Pt(null), g = Le(), [f, b] = B([]), [h, x] = B(!1), w = o ?? f, v = Ie(
5926
5926
  (T) => {
5927
5927
  o === void 0 && b(T), i == null || i(T);
@@ -5932,9 +5932,9 @@ const Tc = y(function({ accept: t, multiple: n, maxSize: a, value: o, onChange:
5932
5932
  const I = Array.from(T).filter(
5933
5933
  (k) => !a || k.size <= a
5934
5934
  );
5935
- v(n ? [...w, ...I] : I.slice(0, 1));
5935
+ v(r ? [...w, ...I] : I.slice(0, 1));
5936
5936
  },
5937
- [w, a, n, v]
5937
+ [w, a, r, v]
5938
5938
  ), C = (T) => v(w.filter((I, k) => k !== T)), N = (T) => {
5939
5939
  T.preventDefault(), x(!1), !c && S(T.dataTransfer.files);
5940
5940
  };
@@ -5969,7 +5969,7 @@ const Tc = y(function({ accept: t, multiple: n, maxSize: a, value: o, onChange:
5969
5969
  id: g,
5970
5970
  type: "file",
5971
5971
  accept: t,
5972
- multiple: n,
5972
+ multiple: r,
5973
5973
  disabled: c,
5974
5974
  className: "sr-only",
5975
5975
  onChange: (T) => T.target.files && S(T.target.files)
@@ -6027,9 +6027,9 @@ const Tc = y(function({ accept: t, multiple: n, maxSize: a, value: o, onChange:
6027
6027
  success: /* @__PURE__ */ e(bt, { className: "size-4 shrink-0 mt-0.5 text-success-text", "aria-hidden": !0 }),
6028
6028
  warning: /* @__PURE__ */ e(pt, { className: "size-4 shrink-0 mt-0.5 text-warning-text", "aria-hidden": !0 }),
6029
6029
  danger: /* @__PURE__ */ e(Ft, { className: "size-4 shrink-0 mt-0.5 text-danger-text", "aria-hidden": !0 })
6030
- }, Dc = y(function({ className: t, variant: n = "default", title: a, action: o, onClose: i, icon: s, children: c, ...d }, l) {
6031
- const p = s === !1 ? null : s ?? ml[n ?? "default"];
6032
- return /* @__PURE__ */ u("div", { ref: l, role: "status", className: m(fl({ variant: n }), t), ...d, children: [
6030
+ }, Dc = y(function({ className: t, variant: r = "default", title: a, action: o, onClose: i, icon: s, children: c, ...d }, l) {
6031
+ const p = s === !1 ? null : s ?? ml[r ?? "default"];
6032
+ return /* @__PURE__ */ u("div", { ref: l, role: "status", className: m(fl({ variant: r }), t), ...d, children: [
6033
6033
  p,
6034
6034
  /* @__PURE__ */ u("div", { className: "min-w-0 flex-1", children: [
6035
6035
  a && /* @__PURE__ */ e("p", { className: "font-medium", children: a }),
@@ -6049,7 +6049,7 @@ const Tc = y(function({ accept: t, multiple: n, maxSize: a, value: o, onChange:
6049
6049
  ] });
6050
6050
  }), Ic = y(function({
6051
6051
  value: t,
6052
- defaultValue: n = [],
6052
+ defaultValue: r = [],
6053
6053
  onChange: a,
6054
6054
  placeholder: o = "Add and press Enter",
6055
6055
  max: i,
@@ -6058,7 +6058,7 @@ const Tc = y(function({ accept: t, multiple: n, maxSize: a, value: o, onChange:
6058
6058
  separators: d = ["Enter", ","],
6059
6059
  className: l
6060
6060
  }, p) {
6061
- const [g, f] = B(n), [b, h] = B(""), x = t ?? g, w = Ie(
6061
+ const [g, f] = B(r), [b, h] = B(""), x = t ?? g, w = Ie(
6062
6062
  (N) => {
6063
6063
  t === void 0 && f(N), a == null || a(N);
6064
6064
  },
@@ -6118,39 +6118,39 @@ const Tc = y(function({ accept: t, multiple: n, maxSize: a, value: o, onChange:
6118
6118
  ]
6119
6119
  }
6120
6120
  );
6121
- }), zc = y(function({ className: t, children: n, ...a }, o) {
6122
- return /* @__PURE__ */ e("ol", { ref: o, className: m("relative flex flex-col gap-6", t), ...a, children: n });
6123
- }), Mc = y(function({ bullet: t, isLast: n, className: a, children: o, ...i }, s) {
6121
+ }), zc = y(function({ className: t, children: r, ...a }, o) {
6122
+ return /* @__PURE__ */ e("ol", { ref: o, className: m("relative flex flex-col gap-6", t), ...a, children: r });
6123
+ }), Mc = y(function({ bullet: t, isLast: r, className: a, children: o, ...i }, s) {
6124
6124
  return /* @__PURE__ */ u("li", { ref: s, className: m("relative flex gap-4 pb-1", a), ...i, children: [
6125
6125
  /* @__PURE__ */ u("div", { className: "relative flex shrink-0 flex-col items-center", children: [
6126
6126
  /* @__PURE__ */ e("div", { className: "flex size-6 items-center justify-center rounded-full border border-border bg-card text-foreground-muted", children: t ?? /* @__PURE__ */ e("span", { className: "size-2 rounded-full bg-accent", "aria-hidden": !0 }) }),
6127
- !n && /* @__PURE__ */ e("span", { className: "mt-1 flex-1 w-px bg-border", "aria-hidden": !0 })
6127
+ !r && /* @__PURE__ */ e("span", { className: "mt-1 flex-1 w-px bg-border", "aria-hidden": !0 })
6128
6128
  ] }),
6129
6129
  /* @__PURE__ */ e("div", { className: "min-w-0 flex-1 pb-4", children: o })
6130
6130
  ] });
6131
6131
  });
6132
- function Pc({ className: r, children: t }) {
6133
- return /* @__PURE__ */ e("p", { className: m("text-xs text-foreground-subtle", r), children: t });
6132
+ function Pc({ className: n, children: t }) {
6133
+ return /* @__PURE__ */ e("p", { className: m("text-xs text-foreground-subtle", n), children: t });
6134
6134
  }
6135
6135
  function Ec({
6136
- className: r,
6136
+ className: n,
6137
6137
  children: t
6138
6138
  }) {
6139
- return /* @__PURE__ */ e("p", { className: m("text-sm font-medium", r), children: t });
6139
+ return /* @__PURE__ */ e("p", { className: m("text-sm font-medium", n), children: t });
6140
6140
  }
6141
6141
  function Ac({
6142
- className: r,
6142
+ className: n,
6143
6143
  children: t
6144
6144
  }) {
6145
- return /* @__PURE__ */ e("p", { className: m("mt-0.5 text-sm text-foreground-muted", r), children: t });
6145
+ return /* @__PURE__ */ e("p", { className: m("mt-0.5 text-sm text-foreground-muted", n), children: t });
6146
6146
  }
6147
- function Rc({ data: r, defaultExpanded: t = [], selectedId: n, onSelect: a, className: o }) {
6147
+ function Rc({ data: n, defaultExpanded: t = [], selectedId: r, onSelect: a, className: o }) {
6148
6148
  const [i, s] = B(new Set(t)), c = (l) => s((p) => {
6149
6149
  const g = new Set(p);
6150
6150
  return g.has(l) ? g.delete(l) : g.add(l), g;
6151
6151
  });
6152
6152
  function d(l, p) {
6153
- const g = !!l.children, f = i.has(l.id), b = n === l.id, h = g ? f ? to : ln : Yr;
6153
+ const g = !!l.children, f = i.has(l.id), b = r === l.id, h = g ? f ? to : ln : Yr;
6154
6154
  return /* @__PURE__ */ u("li", { role: "treeitem", "aria-expanded": g ? f : void 0, children: [
6155
6155
  /* @__PURE__ */ u(
6156
6156
  "button",
@@ -6185,25 +6185,25 @@ function Rc({ data: r, defaultExpanded: t = [], selectedId: n, onSelect: a, clas
6185
6185
  g && f && /* @__PURE__ */ e("ul", { role: "group", className: "mt-0.5", children: l.children.map((x) => d(x, p + 1)) })
6186
6186
  ] }, l.id);
6187
6187
  }
6188
- return /* @__PURE__ */ e("ul", { role: "tree", className: m("flex flex-col gap-0.5", o), children: r.map((l) => d(l, 0)) });
6188
+ return /* @__PURE__ */ e("ul", { role: "tree", className: m("flex flex-col gap-0.5", o), children: n.map((l) => d(l, 0)) });
6189
6189
  }
6190
- function Oc({ brand: r, title: t, subtitle: n, children: a, footer: o }) {
6190
+ function Oc({ brand: n, title: t, subtitle: r, children: a, footer: o }) {
6191
6191
  return /* @__PURE__ */ e("main", { className: "grid min-h-screen place-items-center bg-background-subtle px-4 py-12", children: /* @__PURE__ */ u("div", { className: "w-full max-w-[400px] space-y-6", children: [
6192
- r && /* @__PURE__ */ e("div", { className: "flex justify-center", children: r }),
6192
+ n && /* @__PURE__ */ e("div", { className: "flex justify-center", children: n }),
6193
6193
  /* @__PURE__ */ u("div", { className: "space-y-2 text-center", children: [
6194
6194
  /* @__PURE__ */ e("h1", { className: "text-2xl font-semibold tracking-tight text-foreground", children: t }),
6195
- n && /* @__PURE__ */ e("p", { className: "text-sm text-foreground-muted", children: n })
6195
+ r && /* @__PURE__ */ e("p", { className: "text-sm text-foreground-muted", children: r })
6196
6196
  ] }),
6197
6197
  /* @__PURE__ */ e("div", { className: "rounded-lg border border-border bg-card p-6", children: a }),
6198
6198
  o && /* @__PURE__ */ e("p", { className: "text-center text-sm text-foreground-muted", children: o })
6199
6199
  ] }) });
6200
6200
  }
6201
- function Lc({ onSubmit: r, loading: t, error: n, forgotHref: a = "/forgot" }) {
6201
+ function Lc({ onSubmit: n, loading: t, error: r, forgotHref: a = "/forgot" }) {
6202
6202
  const [o, i] = B(""), [s, c] = B("");
6203
6203
  return /* @__PURE__ */ u("form", { onSubmit: (l) => {
6204
- l.preventDefault(), r({ email: o, password: s });
6204
+ l.preventDefault(), n({ email: o, password: s });
6205
6205
  }, className: "space-y-4", children: [
6206
- n && /* @__PURE__ */ e(hn, { variant: "danger", children: n }),
6206
+ r && /* @__PURE__ */ e(hn, { variant: "danger", children: r }),
6207
6207
  /* @__PURE__ */ e(
6208
6208
  le,
6209
6209
  {
@@ -6237,17 +6237,17 @@ function Lc({ onSubmit: r, loading: t, error: n, forgotHref: a = "/forgot" }) {
6237
6237
  /* @__PURE__ */ e(K, { type: "submit", loading: t, className: "w-full", trailingIcon: /* @__PURE__ */ e(Et, {}), children: "Sign in" })
6238
6238
  ] });
6239
6239
  }
6240
- function $c({ onSubmit: r, loading: t, error: n }) {
6240
+ function $c({ onSubmit: n, loading: t, error: r }) {
6241
6241
  const [a, o] = B(""), [i, s] = B(""), [c, d] = B("");
6242
6242
  return /* @__PURE__ */ u(
6243
6243
  "form",
6244
6244
  {
6245
6245
  onSubmit: (l) => {
6246
- l.preventDefault(), r({ name: a, email: i, password: c });
6246
+ l.preventDefault(), n({ name: a, email: i, password: c });
6247
6247
  },
6248
6248
  className: "space-y-4",
6249
6249
  children: [
6250
- n && /* @__PURE__ */ e(hn, { variant: "danger", children: n }),
6250
+ r && /* @__PURE__ */ e(hn, { variant: "danger", children: r }),
6251
6251
  /* @__PURE__ */ e(le, { label: "Full name", value: a, onChange: (l) => o(l.target.value), required: !0 }),
6252
6252
  /* @__PURE__ */ e(
6253
6253
  le,
@@ -6278,17 +6278,17 @@ function $c({ onSubmit: r, loading: t, error: n }) {
6278
6278
  }
6279
6279
  );
6280
6280
  }
6281
- function Fc({ onSubmit: r, loading: t, error: n }) {
6281
+ function Fc({ onSubmit: n, loading: t, error: r }) {
6282
6282
  const [a, o] = B("");
6283
6283
  return /* @__PURE__ */ u(
6284
6284
  "form",
6285
6285
  {
6286
6286
  onSubmit: (i) => {
6287
- i.preventDefault(), r(a);
6287
+ i.preventDefault(), n(a);
6288
6288
  },
6289
6289
  className: "space-y-4",
6290
6290
  children: [
6291
- n && /* @__PURE__ */ e(hn, { variant: "danger", children: n }),
6291
+ r && /* @__PURE__ */ e(hn, { variant: "danger", children: r }),
6292
6292
  /* @__PURE__ */ e(
6293
6293
  le,
6294
6294
  {
@@ -6306,13 +6306,13 @@ function Fc({ onSubmit: r, loading: t, error: n }) {
6306
6306
  }
6307
6307
  );
6308
6308
  }
6309
- function Bc({ email: r, onResend: t }) {
6309
+ function Bc({ email: n, onResend: t }) {
6310
6310
  return /* @__PURE__ */ u("div", { className: "space-y-4 text-center", children: [
6311
6311
  /* @__PURE__ */ e("div", { className: "mx-auto inline-flex size-12 items-center justify-center rounded-full bg-success-soft text-success-text", children: /* @__PURE__ */ e(bt, { className: "size-6", "aria-hidden": !0 }) }),
6312
6312
  /* @__PURE__ */ u("p", { className: "text-sm text-foreground-muted", children: [
6313
6313
  "We sent a sign-in link to",
6314
6314
  " ",
6315
- /* @__PURE__ */ e("span", { className: "font-medium text-foreground", children: r }),
6315
+ /* @__PURE__ */ e("span", { className: "font-medium text-foreground", children: n }),
6316
6316
  ". Open it on this device to continue."
6317
6317
  ] }),
6318
6318
  /* @__PURE__ */ e(gt, {}),
@@ -6331,10 +6331,10 @@ function Bc({ email: r, onResend: t }) {
6331
6331
  ] })
6332
6332
  ] });
6333
6333
  }
6334
- function at(r) {
6335
- typeof window > "u" || (window.location.hash = r);
6334
+ function at(n) {
6335
+ typeof window > "u" || (window.location.hash = n);
6336
6336
  }
6337
- function _c({ children: r, brand: t, active: n = "home" }) {
6337
+ function _c({ children: n, brand: t, active: r = "home" }) {
6338
6338
  return /* @__PURE__ */ u("div", { className: "flex min-h-screen w-full bg-background", children: [
6339
6339
  /* @__PURE__ */ u(
6340
6340
  Na,
@@ -6344,27 +6344,27 @@ function _c({ children: r, brand: t, active: n = "home" }) {
6344
6344
  footer: /* @__PURE__ */ e(bl, {}),
6345
6345
  children: [
6346
6346
  /* @__PURE__ */ u(en, { label: "Workspace", children: [
6347
- /* @__PURE__ */ e(Ae, { href: "#dashboard", icon: /* @__PURE__ */ e(Br, {}), active: n === "home", children: "Home" }),
6348
- /* @__PURE__ */ e(Ae, { href: "#data-table", icon: /* @__PURE__ */ e(ln, {}), active: n === "projects", trailing: /* @__PURE__ */ e(Ce, { tone: "neutral", children: "12" }), children: "Projects" }),
6349
- /* @__PURE__ */ e(Ae, { href: "#first-run", icon: /* @__PURE__ */ e(_r, {}), active: n === "inbox", trailing: /* @__PURE__ */ e(Ce, { tone: "accent", children: "5" }), children: "Inbox" }),
6350
- /* @__PURE__ */ e(Ae, { href: "#record", icon: /* @__PURE__ */ e(gn, {}), active: n === "members", trailing: /* @__PURE__ */ e(Ce, { tone: "neutral", children: "3" }), children: "Members" }),
6351
- /* @__PURE__ */ e(Ae, { href: "#dashboard", icon: /* @__PURE__ */ e(Ir, {}), active: n === "insights", children: "Insights" })
6347
+ /* @__PURE__ */ e(Ae, { href: "#dashboard", icon: /* @__PURE__ */ e(Br, {}), active: r === "home", children: "Home" }),
6348
+ /* @__PURE__ */ e(Ae, { href: "#data-table", icon: /* @__PURE__ */ e(ln, {}), active: r === "projects", trailing: /* @__PURE__ */ e(Ce, { tone: "neutral", children: "12" }), children: "Projects" }),
6349
+ /* @__PURE__ */ e(Ae, { href: "#first-run", icon: /* @__PURE__ */ e(_r, {}), active: r === "inbox", trailing: /* @__PURE__ */ e(Ce, { tone: "accent", children: "5" }), children: "Inbox" }),
6350
+ /* @__PURE__ */ e(Ae, { href: "#record", icon: /* @__PURE__ */ e(gn, {}), active: r === "members", trailing: /* @__PURE__ */ e(Ce, { tone: "neutral", children: "3" }), children: "Members" }),
6351
+ /* @__PURE__ */ e(Ae, { href: "#dashboard", icon: /* @__PURE__ */ e(Ir, {}), active: r === "insights", children: "Insights" })
6352
6352
  ] }),
6353
6353
  /* @__PURE__ */ u(en, { label: "Personal", children: [
6354
- /* @__PURE__ */ e(Ae, { href: "#pricing", icon: /* @__PURE__ */ e(zr, {}), active: n === "bookmarks", children: "Bookmarks" }),
6355
- /* @__PURE__ */ e(Ae, { href: "#onboarding", icon: /* @__PURE__ */ e(jr, {}), active: n === "apps", children: "Apps" })
6354
+ /* @__PURE__ */ e(Ae, { href: "#pricing", icon: /* @__PURE__ */ e(zr, {}), active: r === "bookmarks", children: "Bookmarks" }),
6355
+ /* @__PURE__ */ e(Ae, { href: "#onboarding", icon: /* @__PURE__ */ e(jr, {}), active: r === "apps", children: "Apps" })
6356
6356
  ] }),
6357
6357
  /* @__PURE__ */ u(en, { label: "Account", children: [
6358
- /* @__PURE__ */ e(Ae, { href: "#settings", icon: /* @__PURE__ */ e(fn, {}), active: n === "settings", children: "Settings" }),
6359
- /* @__PURE__ */ e(Ae, { href: "#settings", icon: /* @__PURE__ */ e(qr, {}), active: n === "integrations", children: "Integrations" }),
6360
- /* @__PURE__ */ e(Ae, { href: "#", icon: /* @__PURE__ */ e(Un, {}), active: n === "help", children: "Help & docs" })
6358
+ /* @__PURE__ */ e(Ae, { href: "#settings", icon: /* @__PURE__ */ e(fn, {}), active: r === "settings", children: "Settings" }),
6359
+ /* @__PURE__ */ e(Ae, { href: "#settings", icon: /* @__PURE__ */ e(qr, {}), active: r === "integrations", children: "Integrations" }),
6360
+ /* @__PURE__ */ e(Ae, { href: "#", icon: /* @__PURE__ */ e(Un, {}), active: r === "help", children: "Help & docs" })
6361
6361
  ] })
6362
6362
  ]
6363
6363
  }
6364
6364
  ),
6365
6365
  /* @__PURE__ */ u("div", { className: "flex flex-1 flex-col min-w-0", children: [
6366
6366
  /* @__PURE__ */ e(gl, {}),
6367
- /* @__PURE__ */ e("main", { className: "flex-1 overflow-y-auto p-6 md:p-8", children: r })
6367
+ /* @__PURE__ */ e("main", { className: "flex-1 overflow-y-auto p-6 md:p-8", children: n })
6368
6368
  ] })
6369
6369
  ] });
6370
6370
  }
@@ -6395,17 +6395,17 @@ const yr = [
6395
6395
  { id: "n5", who: { name: "Sara M.", initials: "SM" }, action: "invited you to", target: "Atlas workspace", when: "Yesterday" }
6396
6396
  ];
6397
6397
  function pl() {
6398
- const r = yr.filter((t) => t.unread).length;
6398
+ const n = yr.filter((t) => t.unread).length;
6399
6399
  return /* @__PURE__ */ u(qn, { children: [
6400
6400
  /* @__PURE__ */ e(Kn, { asChild: !0, children: /* @__PURE__ */ u(
6401
6401
  "button",
6402
6402
  {
6403
6403
  type: "button",
6404
- "aria-label": `Notifications${r ? `, ${r} unread` : ""}`,
6404
+ "aria-label": `Notifications${n ? `, ${n} unread` : ""}`,
6405
6405
  className: "relative inline-flex size-9 items-center justify-center rounded-md text-foreground-muted outline-none transition-colors hover:bg-background-muted hover:text-foreground focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 focus-visible:ring-offset-background",
6406
6406
  children: [
6407
6407
  /* @__PURE__ */ e(_n, { className: "size-4" }),
6408
- r > 0 && /* @__PURE__ */ e(
6408
+ n > 0 && /* @__PURE__ */ e(
6409
6409
  "span",
6410
6410
  {
6411
6411
  "aria-hidden": !0,
@@ -6419,8 +6419,8 @@ function pl() {
6419
6419
  /* @__PURE__ */ u("div", { className: "flex items-center justify-between border-b border-border px-3 py-2.5", children: [
6420
6420
  /* @__PURE__ */ u("div", { className: "flex items-center gap-2", children: [
6421
6421
  /* @__PURE__ */ e("span", { className: "text-sm font-medium", children: "Notifications" }),
6422
- r > 0 && /* @__PURE__ */ u(Ce, { tone: "accent", children: [
6423
- r,
6422
+ n > 0 && /* @__PURE__ */ u(Ce, { tone: "accent", children: [
6423
+ n,
6424
6424
  " new"
6425
6425
  ] })
6426
6426
  ] }),
@@ -6547,19 +6547,19 @@ function jc() {
6547
6547
  ] }),
6548
6548
  /* @__PURE__ */ e("div", { className: "hidden md:flex items-center gap-2", children: /* @__PURE__ */ e(Ce, { tone: "neutral", variant: "outline", children: "Last 7 days" }) })
6549
6549
  ] }),
6550
- /* @__PURE__ */ e("section", { className: "grid grid-cols-1 gap-3 sm:grid-cols-2 lg:grid-cols-4", children: xl.map((r) => /* @__PURE__ */ u(be, { children: [
6551
- /* @__PURE__ */ e(Se, { className: "pb-2", children: /* @__PURE__ */ e(qe, { children: r.label }) }),
6550
+ /* @__PURE__ */ e("section", { className: "grid grid-cols-1 gap-3 sm:grid-cols-2 lg:grid-cols-4", children: xl.map((n) => /* @__PURE__ */ u(be, { children: [
6551
+ /* @__PURE__ */ e(Se, { className: "pb-2", children: /* @__PURE__ */ e(qe, { children: n.label }) }),
6552
6552
  /* @__PURE__ */ e(ke, { children: /* @__PURE__ */ u("div", { className: "flex items-baseline gap-2", children: [
6553
- /* @__PURE__ */ e("span", { className: "text-2xl font-semibold tabular text-foreground", children: r.value }),
6554
- r.delta && /* @__PURE__ */ e(
6553
+ /* @__PURE__ */ e("span", { className: "text-2xl font-semibold tabular text-foreground", children: n.value }),
6554
+ n.delta && /* @__PURE__ */ e(
6555
6555
  "span",
6556
6556
  {
6557
- className: r.delta.positive ? "text-xs font-medium text-success-text tabular" : "text-xs font-medium text-danger-text tabular",
6558
- children: r.delta.value
6557
+ className: n.delta.positive ? "text-xs font-medium text-success-text tabular" : "text-xs font-medium text-danger-text tabular",
6558
+ children: n.delta.value
6559
6559
  }
6560
6560
  )
6561
6561
  ] }) })
6562
- ] }, r.label)) }),
6562
+ ] }, n.label)) }),
6563
6563
  /* @__PURE__ */ u(be, { children: [
6564
6564
  /* @__PURE__ */ u(Se, { children: [
6565
6565
  /* @__PURE__ */ e(De, { children: "Active users" }),
@@ -6583,15 +6583,15 @@ function jc() {
6583
6583
  /* @__PURE__ */ e(it, { children: "Target" }),
6584
6584
  /* @__PURE__ */ e(it, { className: "text-right", children: "When" })
6585
6585
  ] }) }),
6586
- /* @__PURE__ */ e(Jn, { children: vl.map((r) => /* @__PURE__ */ u(ot, { children: [
6586
+ /* @__PURE__ */ e(Jn, { children: vl.map((n) => /* @__PURE__ */ u(ot, { children: [
6587
6587
  /* @__PURE__ */ e(Je, { children: /* @__PURE__ */ u("div", { className: "flex items-center gap-2", children: [
6588
- /* @__PURE__ */ e(Re, { size: "xs", fallback: r.who.initials }),
6589
- /* @__PURE__ */ e("span", { className: "text-foreground", children: r.who.name })
6588
+ /* @__PURE__ */ e(Re, { size: "xs", fallback: n.who.initials }),
6589
+ /* @__PURE__ */ e("span", { className: "text-foreground", children: n.who.name })
6590
6590
  ] }) }),
6591
- /* @__PURE__ */ e(Je, { className: "text-foreground-muted", children: r.action }),
6592
- /* @__PURE__ */ e(Je, { children: /* @__PURE__ */ e(Ce, { tone: "neutral", variant: "outline", children: r.target }) }),
6593
- /* @__PURE__ */ e(Je, { className: "text-right tabular text-foreground-subtle", children: r.when })
6594
- ] }, r.id)) })
6591
+ /* @__PURE__ */ e(Je, { className: "text-foreground-muted", children: n.action }),
6592
+ /* @__PURE__ */ e(Je, { children: /* @__PURE__ */ e(Ce, { tone: "neutral", variant: "outline", children: n.target }) }),
6593
+ /* @__PURE__ */ e(Je, { className: "text-right tabular text-foreground-subtle", children: n.when })
6594
+ ] }, n.id)) })
6595
6595
  ] })
6596
6596
  ] })
6597
6597
  ] });
@@ -6604,33 +6604,33 @@ const wl = [
6604
6604
  { id: "team", label: "Team", icon: /* @__PURE__ */ e(gn, {}) }
6605
6605
  ];
6606
6606
  function Hc() {
6607
- const [r, t] = B("profile");
6607
+ const [n, t] = B("profile");
6608
6608
  return /* @__PURE__ */ u("div", { className: "mx-auto max-w-5xl space-y-8", children: [
6609
6609
  /* @__PURE__ */ u("header", { children: [
6610
6610
  /* @__PURE__ */ e("h1", { className: "text-2xl font-semibold tracking-tight text-foreground", children: "Settings" }),
6611
6611
  /* @__PURE__ */ e("p", { className: "text-sm text-foreground-muted mt-1", children: "Manage your account, preferences, and billing." })
6612
6612
  ] }),
6613
6613
  /* @__PURE__ */ u("div", { className: "grid gap-8 md:grid-cols-[200px_1fr]", children: [
6614
- /* @__PURE__ */ e("nav", { "aria-label": "Settings sections", className: "md:sticky md:top-20 md:self-start", children: /* @__PURE__ */ e("ul", { className: "flex flex-col gap-px", children: wl.map((n) => /* @__PURE__ */ e("li", { children: /* @__PURE__ */ u(
6614
+ /* @__PURE__ */ e("nav", { "aria-label": "Settings sections", className: "md:sticky md:top-20 md:self-start", children: /* @__PURE__ */ e("ul", { className: "flex flex-col gap-px", children: wl.map((r) => /* @__PURE__ */ e("li", { children: /* @__PURE__ */ u(
6615
6615
  "button",
6616
6616
  {
6617
6617
  type: "button",
6618
- onClick: () => t(n.id),
6618
+ onClick: () => t(r.id),
6619
6619
  className: m(
6620
6620
  "w-full text-left",
6621
6621
  "flex h-9 items-center gap-2 rounded-md px-2 text-sm transition-colors duration-[var(--duration-fast)] outline-none",
6622
6622
  "focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 focus-visible:ring-offset-background",
6623
- r === n.id ? "bg-background-muted text-foreground font-medium" : "text-foreground-muted hover:bg-background-muted hover:text-foreground"
6623
+ n === r.id ? "bg-background-muted text-foreground font-medium" : "text-foreground-muted hover:bg-background-muted hover:text-foreground"
6624
6624
  ),
6625
- "aria-current": r === n.id ? "page" : void 0,
6625
+ "aria-current": n === r.id ? "page" : void 0,
6626
6626
  children: [
6627
- /* @__PURE__ */ e("span", { className: "[&_svg]:size-4", children: n.icon }),
6628
- n.label
6627
+ /* @__PURE__ */ e("span", { className: "[&_svg]:size-4", children: r.icon }),
6628
+ r.label
6629
6629
  ]
6630
6630
  }
6631
- ) }, n.id)) }) }),
6631
+ ) }, r.id)) }) }),
6632
6632
  /* @__PURE__ */ u("div", { className: "space-y-8", children: [
6633
- /* @__PURE__ */ e("section", { id: "profile", children: /* @__PURE__ */ u(be, { children: [
6633
+ /* @__PURE__ */ e("section", { id: "profile", hidden: n !== "profile", children: /* @__PURE__ */ u(be, { children: [
6634
6634
  /* @__PURE__ */ u(Se, { children: [
6635
6635
  /* @__PURE__ */ e(De, { children: "Profile" }),
6636
6636
  /* @__PURE__ */ e(qe, { children: "Visible to your teammates." })
@@ -6652,7 +6652,7 @@ function Hc() {
6652
6652
  /* @__PURE__ */ e("div", { className: "flex justify-end", children: /* @__PURE__ */ e(K, { children: "Save changes" }) })
6653
6653
  ] })
6654
6654
  ] }) }),
6655
- /* @__PURE__ */ e("section", { id: "security", children: /* @__PURE__ */ u(be, { children: [
6655
+ /* @__PURE__ */ e("section", { id: "security", hidden: n !== "security", children: /* @__PURE__ */ u(be, { children: [
6656
6656
  /* @__PURE__ */ u(Se, { children: [
6657
6657
  /* @__PURE__ */ e(De, { children: "Security" }),
6658
6658
  /* @__PURE__ */ e(qe, { children: "How you sign in and protect your account." })
@@ -6671,7 +6671,7 @@ function Hc() {
6671
6671
  /* @__PURE__ */ e("div", { className: "flex justify-end", children: /* @__PURE__ */ e(K, { children: "Update password" }) })
6672
6672
  ] })
6673
6673
  ] }) }),
6674
- /* @__PURE__ */ e("section", { id: "notifications", children: /* @__PURE__ */ u(be, { children: [
6674
+ /* @__PURE__ */ e("section", { id: "notifications", hidden: n !== "notifications", children: /* @__PURE__ */ u(be, { children: [
6675
6675
  /* @__PURE__ */ u(Se, { children: [
6676
6676
  /* @__PURE__ */ e(De, { children: "Notifications" }),
6677
6677
  /* @__PURE__ */ e(qe, { children: "Choose what we email and ping you about." })
@@ -6684,7 +6684,7 @@ function Hc() {
6684
6684
  /* @__PURE__ */ e(kt, { label: "Weekly digest", description: "A Monday-morning summary of last week's activity." })
6685
6685
  ] })
6686
6686
  ] }) }),
6687
- /* @__PURE__ */ e("section", { id: "billing", children: /* @__PURE__ */ u(be, { children: [
6687
+ /* @__PURE__ */ e("section", { id: "billing", hidden: n !== "billing", children: /* @__PURE__ */ u(be, { children: [
6688
6688
  /* @__PURE__ */ u(Se, { children: [
6689
6689
  /* @__PURE__ */ e(De, { children: "Billing" }),
6690
6690
  /* @__PURE__ */ e(qe, { children: "Your plan, invoices, and payment method." })
@@ -6700,7 +6700,7 @@ function Hc() {
6700
6700
  ] })
6701
6701
  ] })
6702
6702
  ] }) }),
6703
- /* @__PURE__ */ e("section", { id: "team", children: /* @__PURE__ */ u(be, { children: [
6703
+ /* @__PURE__ */ e("section", { id: "team", hidden: n !== "team", children: /* @__PURE__ */ u(be, { children: [
6704
6704
  /* @__PURE__ */ u(Se, { children: [
6705
6705
  /* @__PURE__ */ e(De, { children: "Team" }),
6706
6706
  /* @__PURE__ */ e(qe, { children: "Invite teammates and manage roles." })
@@ -6738,10 +6738,10 @@ const yl = [
6738
6738
  archived: { tone: "neutral", label: "Archived" }
6739
6739
  };
6740
6740
  function Vc() {
6741
- const [r, t] = B(""), [n, a] = B("all"), [o, i] = B([]), [s, c] = B(1), [d, l] = B(10), p = ht(() => yl.filter((b) => {
6742
- const h = b.name.toLowerCase().includes(r.toLowerCase()), x = n === "all" || b.status === n;
6741
+ const [n, t] = B(""), [r, a] = B("all"), [o, i] = B([]), [s, c] = B(1), [d, l] = B(10), p = ht(() => yl.filter((b) => {
6742
+ const h = b.name.toLowerCase().includes(n.toLowerCase()), x = r === "all" || b.status === r;
6743
6743
  return h && x;
6744
- }), [r, n]), g = p.length > 0 && o.length === p.length, f = o.length > 0 && !g;
6744
+ }), [n, r]), g = p.length > 0 && o.length === p.length, f = o.length > 0 && !g;
6745
6745
  return /* @__PURE__ */ u("div", { className: "space-y-6", children: [
6746
6746
  /* @__PURE__ */ u("header", { className: "flex items-end justify-between gap-4", children: [
6747
6747
  /* @__PURE__ */ u("div", { children: [
@@ -6759,7 +6759,7 @@ function Vc() {
6759
6759
  ] })
6760
6760
  ] }),
6761
6761
  /* @__PURE__ */ u("div", { className: "flex flex-wrap items-center gap-2", children: [
6762
- /* @__PURE__ */ u(ma, { value: n, onValueChange: a, children: [
6762
+ /* @__PURE__ */ u(ma, { value: r, onValueChange: a, children: [
6763
6763
  /* @__PURE__ */ e(er, { className: "w-36", placeholder: "Status" }),
6764
6764
  /* @__PURE__ */ u(tr, { children: [
6765
6765
  /* @__PURE__ */ e(mt, { value: "all", children: "All statuses" }),
@@ -6794,7 +6794,7 @@ function Vc() {
6794
6794
  Qo,
6795
6795
  {
6796
6796
  rows: p.slice((s - 1) * d, s * d),
6797
- filter: { value: r, onChange: t, placeholder: "Search projects…" },
6797
+ filter: { value: n, onChange: t, placeholder: "Search projects…" },
6798
6798
  emptyState: /* @__PURE__ */ e(
6799
6799
  Zn,
6800
6800
  {
@@ -6926,9 +6926,9 @@ function Uc() {
6926
6926
  ] })
6927
6927
  ] });
6928
6928
  }
6929
- function Yt({ label: r, value: t }) {
6929
+ function Yt({ label: n, value: t }) {
6930
6930
  return /* @__PURE__ */ u("div", { className: "flex items-center justify-between gap-3", children: [
6931
- /* @__PURE__ */ e("span", { className: "text-foreground-subtle", children: r }),
6931
+ /* @__PURE__ */ e("span", { className: "text-foreground-subtle", children: n }),
6932
6932
  /* @__PURE__ */ e("span", { className: "flex items-center gap-1.5 text-foreground", children: t })
6933
6933
  ] });
6934
6934
  }
@@ -6939,20 +6939,20 @@ const Xt = [
6939
6939
  { title: "Done" }
6940
6940
  ];
6941
6941
  function Gc() {
6942
- const [r, t] = B(0), n = () => t((o) => Math.min(o + 1, Xt.length - 1)), a = () => t((o) => Math.max(o - 1, 0));
6942
+ const [n, t] = B(0), r = () => t((o) => Math.min(o + 1, Xt.length - 1)), a = () => t((o) => Math.max(o - 1, 0));
6943
6943
  return /* @__PURE__ */ u("div", { className: "mx-auto max-w-2xl space-y-8 py-12", children: [
6944
- /* @__PURE__ */ e(Sa, { steps: Xt, current: r }),
6944
+ /* @__PURE__ */ e(Sa, { steps: Xt, current: n }),
6945
6945
  /* @__PURE__ */ u(be, { children: [
6946
6946
  /* @__PURE__ */ u(Se, { children: [
6947
- /* @__PURE__ */ e(De, { children: Sr[r].title }),
6948
- /* @__PURE__ */ e(qe, { children: Sr[r].description })
6947
+ /* @__PURE__ */ e(De, { children: Sr[n].title }),
6948
+ /* @__PURE__ */ e(qe, { children: Sr[n].description })
6949
6949
  ] }),
6950
6950
  /* @__PURE__ */ u(ke, { className: "space-y-4", children: [
6951
- r === 0 && /* @__PURE__ */ u(st, { children: [
6951
+ n === 0 && /* @__PURE__ */ u(st, { children: [
6952
6952
  /* @__PURE__ */ e(le, { label: "Workspace name", placeholder: "Acme Inc." }),
6953
6953
  /* @__PURE__ */ e(le, { label: "URL slug", prefix: /* @__PURE__ */ e("span", { children: "acme.app/" }), placeholder: "acme" })
6954
6954
  ] }),
6955
- r === 1 && /* @__PURE__ */ u(st, { children: [
6955
+ n === 1 && /* @__PURE__ */ u(st, { children: [
6956
6956
  /* @__PURE__ */ e(
6957
6957
  le,
6958
6958
  {
@@ -6968,7 +6968,7 @@ function Gc() {
6968
6968
  /* @__PURE__ */ e(Zt, { value: "viewer", label: "Viewer", description: "Read-only access." })
6969
6969
  ] })
6970
6970
  ] }),
6971
- r === 2 && /* @__PURE__ */ u(st, { children: [
6971
+ n === 2 && /* @__PURE__ */ u(st, { children: [
6972
6972
  /* @__PURE__ */ e("p", { className: "text-sm text-foreground-muted", children: "Connect your data source so we can populate your first dashboard." }),
6973
6973
  /* @__PURE__ */ e("div", { className: "grid grid-cols-2 gap-2", children: ["Postgres", "BigQuery", "Snowflake", "CSV upload"].map((o) => /* @__PURE__ */ u(
6974
6974
  "button",
@@ -6983,7 +6983,7 @@ function Gc() {
6983
6983
  o
6984
6984
  )) })
6985
6985
  ] }),
6986
- r === 3 && /* @__PURE__ */ u("div", { className: "flex flex-col items-center gap-3 py-6 text-center", children: [
6986
+ n === 3 && /* @__PURE__ */ u("div", { className: "flex flex-col items-center gap-3 py-6 text-center", children: [
6987
6987
  /* @__PURE__ */ e(bt, { className: "size-10 text-success-text", "aria-hidden": !0 }),
6988
6988
  /* @__PURE__ */ e("p", { className: "text-base font-medium text-foreground", children: "You're all set." }),
6989
6989
  /* @__PURE__ */ e("p", { className: "text-sm text-foreground-muted max-w-sm", children: "Your workspace is ready. We've sent invites and your first dashboard is loading." })
@@ -6991,8 +6991,8 @@ function Gc() {
6991
6991
  ] })
6992
6992
  ] }),
6993
6993
  /* @__PURE__ */ u("div", { className: "flex items-center justify-between", children: [
6994
- /* @__PURE__ */ e(K, { variant: "ghost", leadingIcon: /* @__PURE__ */ e(Cr, {}), onClick: a, disabled: r === 0, children: "Back" }),
6995
- r < Xt.length - 1 ? /* @__PURE__ */ e(K, { trailingIcon: /* @__PURE__ */ e(Et, {}), onClick: n, children: r === Xt.length - 2 ? "Finish" : "Continue" }) : /* @__PURE__ */ e(K, { children: "Open workspace" })
6994
+ /* @__PURE__ */ e(K, { variant: "ghost", leadingIcon: /* @__PURE__ */ e(Cr, {}), onClick: a, disabled: n === 0, children: "Back" }),
6995
+ n < Xt.length - 1 ? /* @__PURE__ */ e(K, { trailingIcon: /* @__PURE__ */ e(Et, {}), onClick: r, children: n === Xt.length - 2 ? "Finish" : "Continue" }) : /* @__PURE__ */ e(K, { children: "Open workspace" })
6996
6996
  ] })
6997
6997
  ] });
6998
6998
  }
@@ -7045,40 +7045,40 @@ function Wc() {
7045
7045
  /* @__PURE__ */ e("h1", { className: "text-3xl font-semibold tracking-tight text-foreground", children: "Plans that scale with your team" }),
7046
7046
  /* @__PURE__ */ e("p", { className: "text-sm text-foreground-muted max-w-xl mx-auto", children: "Start free, upgrade when you need more. All paid plans include a 14-day trial — no credit card required." })
7047
7047
  ] }),
7048
- /* @__PURE__ */ e("div", { className: "grid gap-4 md:grid-cols-3", children: Nl.map((r) => /* @__PURE__ */ u(
7048
+ /* @__PURE__ */ e("div", { className: "grid gap-4 md:grid-cols-3", children: Nl.map((n) => /* @__PURE__ */ u(
7049
7049
  "div",
7050
7050
  {
7051
7051
  className: m(
7052
7052
  "flex flex-col gap-6 rounded-lg border bg-card p-6",
7053
- r.highlighted ? "border-accent shadow-sm" : "border-border"
7053
+ n.highlighted ? "border-accent shadow-sm" : "border-border"
7054
7054
  ),
7055
7055
  children: [
7056
7056
  /* @__PURE__ */ u("div", { className: "space-y-2", children: [
7057
7057
  /* @__PURE__ */ u("div", { className: "flex items-center justify-between", children: [
7058
- /* @__PURE__ */ e("h2", { className: "text-base font-semibold text-foreground", children: r.name }),
7059
- r.highlighted && /* @__PURE__ */ e(Ce, { tone: "accent", children: "Most popular" })
7058
+ /* @__PURE__ */ e("h2", { className: "text-base font-semibold text-foreground", children: n.name }),
7059
+ n.highlighted && /* @__PURE__ */ e(Ce, { tone: "accent", children: "Most popular" })
7060
7060
  ] }),
7061
- /* @__PURE__ */ e("p", { className: "text-sm text-foreground-muted", children: r.description })
7061
+ /* @__PURE__ */ e("p", { className: "text-sm text-foreground-muted", children: n.description })
7062
7062
  ] }),
7063
7063
  /* @__PURE__ */ u("div", { className: "flex items-baseline gap-1.5", children: [
7064
- /* @__PURE__ */ e("span", { className: "text-3xl font-semibold tabular text-foreground", children: r.price }),
7065
- /* @__PURE__ */ e("span", { className: "text-sm text-foreground-subtle", children: r.cadence })
7064
+ /* @__PURE__ */ e("span", { className: "text-3xl font-semibold tabular text-foreground", children: n.price }),
7065
+ /* @__PURE__ */ e("span", { className: "text-sm text-foreground-subtle", children: n.cadence })
7066
7066
  ] }),
7067
- /* @__PURE__ */ e("ul", { className: "space-y-2 text-sm", children: r.features.map((t) => /* @__PURE__ */ u("li", { className: "flex items-start gap-2 text-foreground", children: [
7067
+ /* @__PURE__ */ e("ul", { className: "space-y-2 text-sm", children: n.features.map((t) => /* @__PURE__ */ u("li", { className: "flex items-start gap-2 text-foreground", children: [
7068
7068
  /* @__PURE__ */ e(Ye, { className: "size-4 text-accent shrink-0 mt-0.5", "aria-hidden": !0 }),
7069
7069
  t
7070
7070
  ] }, t)) }),
7071
7071
  /* @__PURE__ */ e(
7072
7072
  K,
7073
7073
  {
7074
- variant: r.highlighted ? "primary" : "outline",
7074
+ variant: n.highlighted ? "primary" : "outline",
7075
7075
  className: "mt-auto w-full",
7076
- children: r.cta
7076
+ children: n.cta
7077
7077
  }
7078
7078
  )
7079
7079
  ]
7080
7080
  },
7081
- r.name
7081
+ n.name
7082
7082
  )) })
7083
7083
  ] });
7084
7084
  }
@@ -7113,14 +7113,14 @@ function qc() {
7113
7113
  action: /* @__PURE__ */ e(K, { trailingIcon: /* @__PURE__ */ e(Et, {}), children: "Open tutorial" })
7114
7114
  }
7115
7115
  ),
7116
- /* @__PURE__ */ e("div", { className: "grid gap-3 md:grid-cols-3", children: Sl.map((r) => /* @__PURE__ */ e(be, { variant: "interactive", children: /* @__PURE__ */ u(ke, { className: "space-y-3", children: [
7117
- /* @__PURE__ */ e("div", { className: "inline-flex size-9 items-center justify-center rounded-md bg-accent-soft text-on-accent-soft [&_svg]:size-4", children: r.icon }),
7116
+ /* @__PURE__ */ e("div", { className: "grid gap-3 md:grid-cols-3", children: Sl.map((n) => /* @__PURE__ */ e(be, { variant: "interactive", children: /* @__PURE__ */ u(ke, { className: "space-y-3", children: [
7117
+ /* @__PURE__ */ e("div", { className: "inline-flex size-9 items-center justify-center rounded-md bg-accent-soft text-on-accent-soft [&_svg]:size-4", children: n.icon }),
7118
7118
  /* @__PURE__ */ u("div", { className: "space-y-1", children: [
7119
- /* @__PURE__ */ e("h3", { className: "text-sm font-semibold text-foreground", children: r.title }),
7120
- /* @__PURE__ */ e("p", { className: "text-xs text-foreground-muted leading-relaxed", children: r.description })
7119
+ /* @__PURE__ */ e("h3", { className: "text-sm font-semibold text-foreground", children: n.title }),
7120
+ /* @__PURE__ */ e("p", { className: "text-xs text-foreground-muted leading-relaxed", children: n.description })
7121
7121
  ] }),
7122
- /* @__PURE__ */ e(K, { variant: "ghost", size: "sm", trailingIcon: /* @__PURE__ */ e(Et, {}), children: r.cta })
7123
- ] }) }, r.title)) })
7122
+ /* @__PURE__ */ e(K, { variant: "ghost", size: "sm", trailingIcon: /* @__PURE__ */ e(Et, {}), children: n.cta })
7123
+ ] }) }, n.title)) })
7124
7124
  ] });
7125
7125
  }
7126
7126
  export {