@overmap-ai/blocks 1.0.47 → 1.0.48-all-values-select-all-option.0

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/blocks.js CHANGED
@@ -1,36 +1,36 @@
1
1
  import * as $ from "@radix-ui/react-alert-dialog";
2
2
  import { jsx as i, jsxs as W } from "react/jsx-runtime";
3
- import { cva as v, cx as x } from "class-variance-authority";
4
- import { createContext as T, useContext as j, memo as u, useMemo as w, useState as E, useCallback as h, useRef as U, useEffect as B, useId as Ye, useLayoutEffect as ue, use as b } from "react";
5
- import * as Qe from "@radix-ui/react-avatar";
3
+ import { cva as h, cx as x } from "class-variance-authority";
4
+ import { createContext as O, useContext as j, memo as u, useMemo as z, useState as E, useCallback as v, useRef as q, useEffect as B, useId as Qe, useLayoutEffect as ue, use as b } from "react";
5
+ import * as Je from "@radix-ui/react-avatar";
6
6
  import * as ze from "@radix-ui/react-checkbox";
7
7
  import { useMediaQuery as be } from "react-responsive";
8
- import { CommandItem as Ns, CommandRoot as ws, CommandEmpty as Is, CommandGroup as Ss, CommandInput as ks, useCommandState as Rs, CommandList as Ts, CommandSeparator as Ps } from "cmdk";
8
+ import { CommandItem as ws, CommandRoot as Is, CommandEmpty as Ss, CommandGroup as ks, CommandInput as Rs, useCommandState as Ts, CommandList as Ps, CommandSeparator as Ms } from "cmdk";
9
9
  import * as H from "@radix-ui/react-dialog";
10
- import { DialogPortal as kt, DialogContent as Ms, DialogTitle as Os, DialogDescription as Vs, DialogOverlay as Ls, DialogTrigger as As } from "@radix-ui/react-dialog";
11
- import { DayPicker as Ds } from "react-day-picker";
12
- import { ChevronRight as Gs, ChevronLeft as Es, ChevronDown as _s, ChevronUp as Fs, AlertTriangle as Hs, RotateCcw as Bs, X as $s, CircleAlertIcon as js, TriangleAlertIcon as Us, InfoIcon as qs, Check as Ws } from "lucide-react";
10
+ import { DialogPortal as Rt, DialogContent as Os, DialogTitle as Vs, DialogDescription as Ls, DialogOverlay as As, DialogTrigger as Ds } from "@radix-ui/react-dialog";
11
+ import { DayPicker as Gs } from "react-day-picker";
12
+ import { ChevronRight as Es, ChevronLeft as _s, ChevronDown as Fs, ChevronUp as Hs, AlertTriangle as Bs, RotateCcw as $s, X as js, CircleAlertIcon as qs, TriangleAlertIcon as Us, InfoIcon as Ws, Check as Ks } from "lucide-react";
13
13
  import * as ye from "@radix-ui/react-hover-card";
14
- import { createContext as Ks, useContext as Xs, useContextSelector as Ys } from "use-context-selector";
14
+ import { createContext as Xs, useContext as Ys, useContextSelector as Qs } from "use-context-selector";
15
15
  import { Slot as me } from "@radix-ui/react-slot";
16
- import { CSSTransition as Qs } from "react-transition-group";
16
+ import { CSSTransition as Js } from "react-transition-group";
17
17
  import "react-transition-group/CSSTransition";
18
- import Js from "react-dom";
19
- import { useListItem as Rt, useMergeRefs as ge, FloatingNode as Tt, FloatingPortal as Pt, FloatingOverlay as Zs, FloatingFocusManager as Mt, FloatingList as Ot, useFloatingNodeId as Vt, useFloating as Lt, offset as At, size as Dt, flip as Gt, shift as Et, hide as _t, autoUpdate as Ft, useRole as eo, useDismiss as Ht, useClick as Bt, useListNavigation as $t, useInteractions as jt, FloatingTree as to, useHover as ao, safePolygon as no } from "@floating-ui/react";
20
- import * as Je from "@radix-ui/react-separator";
21
- import * as Ze from "@radix-ui/react-one-time-password-field";
22
- import { useErrorBoundary as so, ErrorBoundary as oo } from "react-error-boundary";
18
+ import Zs from "react-dom";
19
+ import { useListItem as Tt, useMergeRefs as ge, FloatingNode as Pt, FloatingPortal as Mt, FloatingOverlay as eo, FloatingFocusManager as Ot, FloatingList as Vt, useFloatingNodeId as Lt, useFloating as At, offset as Dt, size as Gt, flip as Et, shift as _t, hide as Ft, autoUpdate as Ht, useRole as to, useDismiss as Bt, useClick as $t, useListNavigation as jt, useInteractions as qt, FloatingTree as ao, useHover as no, safePolygon as so } from "@floating-ui/react";
20
+ import * as Ze from "@radix-ui/react-separator";
21
+ import * as et from "@radix-ui/react-one-time-password-field";
22
+ import { useErrorBoundary as oo, ErrorBoundary as ro } from "react-error-boundary";
23
23
  import * as Pe from "@radix-ui/react-popover";
24
- import * as Nt from "@radix-ui/react-progress";
24
+ import * as wt from "@radix-ui/react-progress";
25
25
  import * as ae from "@radix-ui/react-radio-group";
26
26
  import * as Oe from "@radix-ui/react-toggle-group";
27
27
  import * as ne from "@radix-ui/react-tabs";
28
28
  import * as Te from "@radix-ui/react-slider";
29
29
  import * as Ut from "@radix-ui/react-switch";
30
- import { toast as K, Toaster as ro } from "sonner";
31
- import * as co from "@radix-ui/react-toggle";
30
+ import { toast as K, Toaster as co } from "sonner";
31
+ import * as io from "@radix-ui/react-toggle";
32
32
  import * as de from "@radix-ui/react-tooltip";
33
- const Ve = v(
33
+ const Ve = h(
34
34
  [
35
35
  "data-[state=open]:animate-in",
36
36
  "data-[state=open]:fade-in-0",
@@ -41,13 +41,6 @@ const Ve = v(
41
41
  ],
42
42
  {
43
43
  variants: {
44
- shadow: {
45
- 1: ["shadow-xs"],
46
- 2: ["shadow-sm"],
47
- 3: ["shadow-md"],
48
- 4: ["shadow-lg"],
49
- 5: ["shadow-xl"]
50
- },
51
44
  side: {
52
45
  top: ["data-[side=top]:slide-in-from-bottom-2"],
53
46
  right: ["data-[side=right]:slide-in-from-left-2"],
@@ -56,7 +49,7 @@ const Ve = v(
56
49
  }
57
50
  }
58
51
  }
59
- ), k = v([], {
52
+ ), k = h([], {
60
53
  variants: {
61
54
  maxLarge: {
62
55
  true: [],
@@ -94,23 +87,36 @@ const Ve = v(
94
87
  className: ["rounded-full"]
95
88
  }
96
89
  ]
97
- }), qt = T({}), M = () => {
98
- const n = j(qt);
90
+ }), Le = h([], {
91
+ variants: {
92
+ size: {
93
+ none: ["shadow-none"],
94
+ "2xs": ["shadow-2xs"],
95
+ xs: ["shadow-xs"],
96
+ sm: ["shadow-sm"],
97
+ md: ["shadow-md"],
98
+ lg: ["shadow-lg"],
99
+ xl: ["shadow-xl"],
100
+ "2xl": ["shadow-2xl"]
101
+ }
102
+ }
103
+ }), Wt = O({}), V = () => {
104
+ const n = j(Wt);
99
105
  if (!n)
100
106
  throw new Error("useProvider must be used within a Provider");
101
107
  return n;
102
- }, io = u((n) => {
103
- const { accentColor: a, radius: t = "md", children: e } = n, s = w(
108
+ }, lo = u((n) => {
109
+ const { accentColor: a, radius: t = "md", children: e } = n, s = z(
104
110
  () => ({
105
111
  accentColor: a,
106
112
  radius: t
107
113
  }),
108
114
  [a, t]
109
115
  );
110
- return /* @__PURE__ */ i(qt.Provider, { value: s, children: e });
116
+ return /* @__PURE__ */ i(Wt.Provider, { value: s, children: e });
111
117
  });
112
- io.displayName = "Provider";
113
- const Wt = v([
118
+ lo.displayName = "Provider";
119
+ const Kt = h([
114
120
  "fixed",
115
121
  "inset-0",
116
122
  // background
@@ -122,7 +128,7 @@ const Wt = v([
122
128
  "data-[state='open']:fade-in-0",
123
129
  "data-[state='closed']:animate-out",
124
130
  "data-[state='closed']:fade-out-0"
125
- ]), Kt = v(
131
+ ]), Xt = h(
126
132
  [
127
133
  "h-max",
128
134
  "max-h-3/4",
@@ -165,14 +171,14 @@ const Wt = v([
165
171
  size: "md"
166
172
  }
167
173
  }
168
- ), et = u((n) => {
169
- const { radius: a } = M(), { ref: t, children: e, className: s, size: o, container: r, ...c } = n;
174
+ ), tt = u((n) => {
175
+ const { radius: a } = V(), { ref: t, children: e, className: s, size: o, container: r, ...c } = n;
170
176
  return /* @__PURE__ */ W($.Portal, { container: r, children: [
171
- /* @__PURE__ */ i($.Overlay, { className: Wt({}), "data-floating-content": "" }),
177
+ /* @__PURE__ */ i($.Overlay, { className: Kt({}), "data-floating-content": "" }),
172
178
  /* @__PURE__ */ i(
173
179
  $.Content,
174
180
  {
175
- className: x(Kt({ size: o }), k({ radius: a, maxLarge: !0 }), s),
181
+ className: x(Xt({ size: o }), k({ radius: a, maxLarge: !0 }), s),
176
182
  ref: t,
177
183
  "data-floating-content": "",
178
184
  ...c,
@@ -181,23 +187,23 @@ const Wt = v([
181
187
  )
182
188
  ] });
183
189
  });
184
- et.displayName = "AlertDialogContent";
185
- const Xt = T(() => {
190
+ tt.displayName = "AlertDialogContent";
191
+ const Yt = O(() => {
186
192
  throw new Error("No AlertDialogProvider found");
187
193
  }), Ec = () => {
188
- const n = j(Xt);
194
+ const n = j(Yt);
189
195
  if (!n)
190
196
  throw new Error("No AlertDialogProvider found");
191
197
  return n;
192
- }, Yt = T({}), lo = u((n) => {
193
- const a = M(), {
198
+ }, Qt = O({}), uo = u((n) => {
199
+ const a = V(), {
194
200
  children: t,
195
201
  variant: e = "solid",
196
202
  size: s = "md",
197
203
  radius: o = a.radius,
198
204
  accentColor: r = a.accentColor,
199
205
  ...c
200
- } = n, l = w(
206
+ } = n, l = z(
201
207
  () => ({
202
208
  variant: e,
203
209
  size: s,
@@ -206,10 +212,10 @@ const Xt = T(() => {
206
212
  }),
207
213
  [r, o, s, e]
208
214
  );
209
- return /* @__PURE__ */ i("div", { ...c, children: /* @__PURE__ */ i(Yt.Provider, { value: l, children: t }) });
215
+ return /* @__PURE__ */ i("div", { ...c, children: /* @__PURE__ */ i(Qt.Provider, { value: l, children: t }) });
210
216
  });
211
- lo.displayName = "Buttons";
212
- const Qt = () => j(Yt), Jt = v(
217
+ uo.displayName = "Buttons";
218
+ const Jt = () => j(Qt), Zt = h(
213
219
  [
214
220
  "inline-flex",
215
221
  "items-center",
@@ -236,45 +242,51 @@ const Qt = () => j(Yt), Jt = v(
236
242
  solid: [
237
243
  "ring-(--accent-9)",
238
244
  "bg-(--accent-9)",
239
- "hover:bg-(--accent-10)",
240
245
  "text-(--accent-contrast)",
241
246
  "active:brightness-110",
247
+ "hover:bg-(--accent-10)",
242
248
  // trigger state
243
249
  "data-[state='open']:bg-(--accent-10)"
244
250
  ],
245
251
  soft: [
246
252
  "bg-(--accent-a3)",
253
+ "text-(--accent-a11)",
247
254
  "hover:bg-(--accent-a4)",
255
+ "hover:text-(--accent-a12)",
248
256
  "active:bg-(--accent-a5)",
249
- "text-(--accent-a11)",
250
257
  // trigger state
251
258
  "data-[state='open']:bg-(--accent-a4)"
252
259
  ],
253
260
  ghost: [
254
261
  "bg-transparent",
262
+ "text-(--accent-a11)",
255
263
  "hover:bg-(--accent-a3)",
264
+ "hover:text-(--accent-a12)",
256
265
  "active:bg-(--accent-a4)",
257
- "text-(--accent-a11)",
258
266
  // trigger state
259
267
  "data-[state='open']:bg-(--accent-a3)"
260
268
  ],
261
269
  surface: [
262
270
  "bg-(--accent-surface)",
263
- "hover:inset-ring-(--accent-a8)",
264
- "active:bg-(--accent-a3)",
265
271
  "inset-ring",
266
272
  "inset-ring-(--accent-a7)",
267
273
  "text-(--accent-a11)",
274
+ "hover:inset-ring-(--accent-a8)",
275
+ "hover:text-(--accent-a12)",
276
+ "active:bg-(--accent-a3)",
277
+ // trigger state
268
278
  "data-[state='open']:bg-(--accent-a4)"
269
279
  ],
270
280
  outline: [
271
281
  "bg-transparent",
272
282
  "inset-ring",
273
283
  "inset-ring-(--accent-a7)",
284
+ "text-(--accent-a11)",
274
285
  "hover:inset-ring-(--accent-a8)",
275
286
  "hover:bg-(--accent-a3)",
287
+ "hover:text-(--accent-a12)",
276
288
  "active:bg-(--accent-a4)",
277
- "text-(--accent-a11)",
289
+ // trigger state
278
290
  "data-[state='open']:inset-ring-(--accent-a8)",
279
291
  "data-[state='open']:bg-(--accent-a3)"
280
292
  ],
@@ -287,6 +299,7 @@ const Qt = () => j(Yt), Jt = v(
287
299
  "hover:bg-(--accent-a3)",
288
300
  "hover:text-(--accent-a12)",
289
301
  "active:bg-(--accent-a4)",
302
+ // trigger state
290
303
  "data-[state='open']:inset-ring-0",
291
304
  "data-[state='open']:bg-(--accent-a3)"
292
305
  ]
@@ -361,8 +374,8 @@ const Qt = () => j(Yt), Jt = v(
361
374
  variant: "solid"
362
375
  }
363
376
  }
364
- ), We = u((n) => {
365
- const a = M(), t = Qt(), {
377
+ ), Ke = u((n) => {
378
+ const a = V(), t = Jt(), {
366
379
  ref: e,
367
380
  children: s,
368
381
  className: o,
@@ -375,7 +388,7 @@ const Qt = () => j(Yt), Jt = v(
375
388
  return /* @__PURE__ */ i(
376
389
  "button",
377
390
  {
378
- className: x(Jt({ size: c, icon: !1, variant: r }), k({ radius: l, maxLarge: !1 }), o),
391
+ className: x(Zt({ size: c, icon: !1, variant: r }), k({ radius: l, maxLarge: !1 }), o),
379
392
  ref: e,
380
393
  "data-accent-color": d,
381
394
  ...m,
@@ -383,9 +396,9 @@ const Qt = () => j(Yt), Jt = v(
383
396
  }
384
397
  );
385
398
  });
386
- We.displayName = "Button";
387
- const tt = u((n) => {
388
- const a = M(), t = Qt(), {
399
+ Ke.displayName = "Button";
400
+ const at = u((n) => {
401
+ const a = V(), t = Jt(), {
389
402
  ref: e,
390
403
  children: s,
391
404
  className: o,
@@ -398,7 +411,7 @@ const tt = u((n) => {
398
411
  return /* @__PURE__ */ i(
399
412
  "button",
400
413
  {
401
- className: x(Jt({ size: c, icon: !0, variant: r }), k({ radius: l, maxLarge: !1 }), o),
414
+ className: x(Zt({ size: c, icon: !0, variant: r }), k({ radius: l, maxLarge: !1 }), o),
402
415
  ref: e,
403
416
  "data-accent-color": d,
404
417
  ...m,
@@ -406,15 +419,15 @@ const tt = u((n) => {
406
419
  }
407
420
  );
408
421
  });
409
- tt.displayName = "IconButton";
410
- const uo = u((n) => {
411
- const { children: a } = n, [t, e] = E(!1), [s, o] = E(null), r = h(
422
+ at.displayName = "IconButton";
423
+ const mo = u((n) => {
424
+ const { children: a } = n, [t, e] = E(!1), [s, o] = E(null), r = v(
412
425
  (l) => {
413
426
  var d;
414
427
  e(l), !l && ((d = s == null ? void 0 : s.onClose) == null || d.call(s));
415
428
  },
416
429
  [s]
417
- ), c = h(
430
+ ), c = v(
418
431
  (l) => {
419
432
  if (t) throw new Error("AlertDialog is already open");
420
433
  e(!0), o({
@@ -426,30 +439,30 @@ const uo = u((n) => {
426
439
  },
427
440
  [t]
428
441
  );
429
- return /* @__PURE__ */ W(Xt.Provider, { value: c, children: [
442
+ return /* @__PURE__ */ W(Yt.Provider, { value: c, children: [
430
443
  a,
431
- /* @__PURE__ */ i($.Root, { open: t, onOpenChange: r, children: /* @__PURE__ */ i(et, { size: s == null ? void 0 : s.size, children: /* @__PURE__ */ W("div", { className: "flex flex-col gap-4", children: [
444
+ /* @__PURE__ */ i($.Root, { open: t, onOpenChange: r, children: /* @__PURE__ */ i(tt, { size: s == null ? void 0 : s.size, children: /* @__PURE__ */ W("div", { className: "flex flex-col gap-4", children: [
432
445
  /* @__PURE__ */ W("div", { className: "flex flex-col gap-1", children: [
433
446
  /* @__PURE__ */ i($.Title, { className: "font-medium", children: s == null ? void 0 : s.title }),
434
447
  /* @__PURE__ */ i($.Description, { children: s == null ? void 0 : s.description })
435
448
  ] }),
436
449
  /* @__PURE__ */ W("div", { className: "flex justify-end gap-2", children: [
437
- /* @__PURE__ */ i($.Cancel, { onClick: s == null ? void 0 : s.onCancel, asChild: !0, children: /* @__PURE__ */ i(We, { variant: "soft", size: s == null ? void 0 : s.size, accentColor: "base", children: s == null ? void 0 : s.cancel }) }),
438
- /* @__PURE__ */ i($.Action, { onClick: s == null ? void 0 : s.onAction, asChild: !0, children: /* @__PURE__ */ i(We, { variant: "solid", size: s == null ? void 0 : s.size, children: s == null ? void 0 : s.action }) })
450
+ /* @__PURE__ */ i($.Cancel, { onClick: s == null ? void 0 : s.onCancel, asChild: !0, children: /* @__PURE__ */ i(Ke, { variant: "soft", size: s == null ? void 0 : s.size, accentColor: "base", children: s == null ? void 0 : s.cancel }) }),
451
+ /* @__PURE__ */ i($.Action, { onClick: s == null ? void 0 : s.onAction, asChild: !0, children: /* @__PURE__ */ i(Ke, { variant: "solid", size: s == null ? void 0 : s.size, children: s == null ? void 0 : s.action }) })
439
452
  ] })
440
453
  ] }) }) })
441
454
  ] });
442
455
  });
443
- uo.displayName = "AlertDialogProvider";
456
+ mo.displayName = "AlertDialogProvider";
444
457
  const _c = {
445
- Content: et,
458
+ Content: tt,
446
459
  Trigger: $.Trigger,
447
460
  Root: $.Root,
448
461
  Title: $.Title,
449
462
  Description: $.Description,
450
463
  Action: $.Action,
451
464
  Cancel: $.Cancel
452
- }, Zt = T({}), mo = v(["shrink-0", "select-none", "inline-block", "align-middle"], {
465
+ }, ea = O({}), go = h(["shrink-0", "select-none", "inline-block", "align-middle"], {
453
466
  variants: {
454
467
  size: {
455
468
  xs: ["h-6", "w-6", "text-xs"],
@@ -462,7 +475,7 @@ const _c = {
462
475
  defaultVariants: {
463
476
  size: "md"
464
477
  }
465
- }), go = v(["flex", "items-center", "justify-center", "size-full", "rounded-[inherit]"], {
478
+ }), po = h(["flex", "items-center", "justify-center", "size-full", "rounded-[inherit]"], {
466
479
  variants: {
467
480
  variant: {
468
481
  solid: ["bg-(--accent-9)", "text-(--accent-contrast)"],
@@ -474,15 +487,15 @@ const _c = {
474
487
  defaultVariants: {
475
488
  variant: "solid"
476
489
  }
477
- }), ea = u((n) => {
478
- const { ref: a, children: t, className: e, ...s } = n, { variant: o } = j(Zt);
479
- return /* @__PURE__ */ i(Qe.AvatarFallback, { className: x(go({ variant: o }), e), ref: a, ...s, children: t });
490
+ }), ta = u((n) => {
491
+ const { ref: a, children: t, className: e, ...s } = n, { variant: o } = j(ea);
492
+ return /* @__PURE__ */ i(Je.AvatarFallback, { className: x(po({ variant: o }), e), ref: a, ...s, children: t });
480
493
  });
481
- ea.displayName = "AvatarFallback";
482
- const ta = u((n) => {
494
+ ta.displayName = "AvatarFallback";
495
+ const aa = u((n) => {
483
496
  const { ref: a, className: t, ...e } = n;
484
497
  return /* @__PURE__ */ i(
485
- Qe.Image,
498
+ Je.Image,
486
499
  {
487
500
  className: x("object-cover", "rounded-[inherit]", "w-full", "h-full", t),
488
501
  ref: a,
@@ -490,9 +503,9 @@ const ta = u((n) => {
490
503
  }
491
504
  );
492
505
  });
493
- ta.displayName = "AvatarImage";
494
- const aa = u((n) => {
495
- const a = M(), {
506
+ aa.displayName = "AvatarImage";
507
+ const na = u((n) => {
508
+ const a = V(), {
496
509
  ref: t,
497
510
  children: e,
498
511
  className: s,
@@ -503,22 +516,22 @@ const aa = u((n) => {
503
516
  ...d
504
517
  } = n;
505
518
  return /* @__PURE__ */ i(
506
- Qe.Root,
519
+ Je.Root,
507
520
  {
508
- className: x(mo({ size: o }), k({ radius: l, maxLarge: !1 }), s),
521
+ className: x(go({ size: o }), k({ radius: l, maxLarge: !1 }), s),
509
522
  ref: t,
510
523
  "data-accent-color": c,
511
524
  ...d,
512
- children: /* @__PURE__ */ i(Zt.Provider, { value: { variant: r }, children: e })
525
+ children: /* @__PURE__ */ i(ea.Provider, { value: { variant: r }, children: e })
513
526
  }
514
527
  );
515
528
  });
516
- aa.displayName = "AvatarRoot";
529
+ na.displayName = "AvatarRoot";
517
530
  const Fc = {
518
- Fallback: ea,
519
- Image: ta,
520
- Root: aa
521
- }, po = v(["inline-flex", "items-center", "shrink-0", "whitespace-nowrap"], {
531
+ Fallback: ta,
532
+ Image: aa,
533
+ Root: na
534
+ }, xo = h(["inline-flex", "items-center", "shrink-0", "whitespace-nowrap"], {
522
535
  variants: {
523
536
  icon: {
524
537
  true: ["justify-center"],
@@ -596,8 +609,8 @@ const Fc = {
596
609
  variant: "solid",
597
610
  icon: !1
598
611
  }
599
- }), xo = u((n) => {
600
- const a = M(), {
612
+ }), fo = u((n) => {
613
+ const a = V(), {
601
614
  ref: t,
602
615
  children: e,
603
616
  className: s,
@@ -611,7 +624,7 @@ const Fc = {
611
624
  return /* @__PURE__ */ i(
612
625
  "span",
613
626
  {
614
- className: x(po({ variant: c, size: l, icon: d }), k({ radius: r, maxLarge: !1 }), s),
627
+ className: x(xo({ variant: c, size: l, icon: d }), k({ radius: r, maxLarge: !1 }), s),
615
628
  ref: t,
616
629
  "data-accent-color": o,
617
630
  ...m,
@@ -619,8 +632,8 @@ const Fc = {
619
632
  }
620
633
  );
621
634
  });
622
- xo.displayName = "Badge";
623
- const fo = v([], {
635
+ fo.displayName = "Badge";
636
+ const ho = h([], {
624
637
  variants: {
625
638
  variant: {
626
639
  soft: ["bg-(--accent-a2)"],
@@ -639,8 +652,8 @@ const fo = v([], {
639
652
  size: "md",
640
653
  variant: "surface"
641
654
  }
642
- }), ho = u((n) => {
643
- const a = M(), {
655
+ }), vo = u((n) => {
656
+ const a = V(), {
644
657
  ref: t,
645
658
  children: e,
646
659
  className: s,
@@ -654,15 +667,15 @@ const fo = v([], {
654
667
  "div",
655
668
  {
656
669
  ref: t,
657
- className: x(fo({ size: o, variant: r }), k({ radius: l, maxLarge: !0 }), s),
670
+ className: x(ho({ size: o, variant: r }), k({ radius: l, maxLarge: !0 }), s),
658
671
  "data-accent-color": c,
659
672
  ...d,
660
673
  children: e
661
674
  }
662
675
  );
663
676
  });
664
- ho.displayName = "Card";
665
- const na = u((n) => {
677
+ vo.displayName = "Card";
678
+ const sa = u((n) => {
666
679
  const { ref: a, children: t, className: e, ...s } = n;
667
680
  return /* @__PURE__ */ i(
668
681
  ze.CheckboxIndicator,
@@ -674,8 +687,8 @@ const na = u((n) => {
674
687
  }
675
688
  );
676
689
  });
677
- na.displayName = "CheckboxIndicator";
678
- const at = v(
690
+ sa.displayName = "CheckboxIndicator";
691
+ const nt = h(
679
692
  [
680
693
  "shrink-0",
681
694
  "align-top",
@@ -717,8 +730,8 @@ const at = v(
717
730
  size: "md"
718
731
  }
719
732
  }
720
- ), sa = u((n) => {
721
- const a = M(), {
733
+ ), oa = u((n) => {
734
+ const a = V(), {
722
735
  ref: t,
723
736
  children: e,
724
737
  className: s,
@@ -731,7 +744,7 @@ const at = v(
731
744
  return /* @__PURE__ */ i(
732
745
  ze.Root,
733
746
  {
734
- className: x(at({ variant: o, size: r }), k({ radius: c, maxLarge: !0 }), s),
747
+ className: x(nt({ variant: o, size: r }), k({ radius: c, maxLarge: !0 }), s),
735
748
  ref: t,
736
749
  "data-accent-color": l,
737
750
  ...d,
@@ -739,14 +752,14 @@ const at = v(
739
752
  }
740
753
  );
741
754
  });
742
- sa.displayName = "CheckboxRoot";
755
+ oa.displayName = "CheckboxRoot";
743
756
  const Hc = {
744
- Root: sa,
745
- Indicator: na
746
- }, Ne = T({}), Z = T({}), Bc = (n) => {
757
+ Root: oa,
758
+ Indicator: sa
759
+ }, Ne = O({}), Z = O({}), Bc = (n) => {
747
760
  const { xs: a, sm: t, md: e, lg: s, xl: o } = n, [r, c] = E("initial"), [l, d] = E("initial"), m = be({ minWidth: a }), g = be({ minWidth: t }), p = be({ minWidth: e }), f = be({ minWidth: s }), C = be({ minWidth: o });
748
761
  return ue(() => {
749
- d((S) => (c(S), C ? "xl" : f ? "lg" : p ? "md" : g ? "sm" : m ? "xs" : "initial"));
762
+ d((N) => (c(N), C ? "xl" : f ? "lg" : p ? "md" : g ? "sm" : m ? "xs" : "initial"));
750
763
  }, [f, p, g, C, m]), { size: l, prevSize: r, xs: m, sm: g, md: p, lg: f, xl: C };
751
764
  };
752
765
  function $c(n, a) {
@@ -756,7 +769,7 @@ function $c(n, a) {
756
769
  }, [a, s, n]), [t, s, o];
757
770
  }
758
771
  function X(n, a, t) {
759
- const [e, s] = E(n), o = h(
772
+ const [e, s] = E(n), o = v(
760
773
  (r) => {
761
774
  s(r), t == null || t(r);
762
775
  },
@@ -766,12 +779,12 @@ function X(n, a, t) {
766
779
  a !== void 0 && s(a);
767
780
  }, [a]), [a ?? e, o];
768
781
  }
769
- function vo(n) {
770
- const a = Ye();
782
+ function bo(n) {
783
+ const a = Qe();
771
784
  return n ?? a;
772
785
  }
773
- function nt(n) {
774
- const a = U(n);
786
+ function st(n) {
787
+ const a = q(n);
775
788
  return a.current = n, a;
776
789
  }
777
790
  const F = u;
@@ -798,7 +811,7 @@ function we(n) {
798
811
  };
799
812
  };
800
813
  }
801
- const bo = (n) => {
814
+ const Co = (n) => {
802
815
  n.stopPropagation();
803
816
  };
804
817
  function oe(n) {
@@ -807,7 +820,7 @@ function oe(n) {
807
820
  function Ie(n) {
808
821
  return n === !0 ? "checked" : n === !1 ? "unchecked" : "indeterminate";
809
822
  }
810
- function Le(n) {
823
+ function Ae(n) {
811
824
  return n ? "active" : "inactive";
812
825
  }
813
826
  function Q(n) {
@@ -816,56 +829,56 @@ function Q(n) {
816
829
  function pe(n) {
817
830
  return n ? "open" : "closed";
818
831
  }
819
- const Ae = F(function(a) {
820
- const { children: t, defaultValues: e, values: s, onValuesChange: o, equalityFn: r } = a, c = nt(r), [l, d] = E(/* @__PURE__ */ new Set()), [m, g] = X(e ?? [], s, o), p = h(
821
- (y, V) => c.current ? V.some((A) => c.current(A, y)) : V.includes(y),
822
- [c]
823
- ), f = h((y) => (d((V) => {
824
- const A = new Set(V);
825
- return A.add(y), A;
832
+ const De = F(function(a) {
833
+ const { children: t, defaultValues: e, values: s, onValuesChange: o, allValues: r, equalityFn: c } = a, l = st(c), [d, m] = E(/* @__PURE__ */ new Set()), [g, p] = X(e ?? [], s, o), f = v(
834
+ (T, A) => l.current ? A.some((S) => l.current(S, T)) : A.includes(T),
835
+ [l]
836
+ ), C = v((T) => (m((A) => {
837
+ const S = new Set(A);
838
+ return S.add(T), S;
826
839
  }), () => {
827
- d((V) => {
828
- const A = new Set(V);
829
- return A.delete(y), A;
840
+ m((A) => {
841
+ const S = new Set(A);
842
+ return S.delete(T), S;
830
843
  });
831
- }), []), C = h((y) => p(y, m), [p, m]), S = h(
832
- (y) => {
833
- C(y) ? g(
834
- m.filter((V) => c.current ? !c.current(V, y) : V !== y)
835
- ) : g([...m, y]);
844
+ }), []), N = v((T) => f(T, g), [f, g]), w = v(
845
+ (T) => {
846
+ N(T) ? p(
847
+ g.filter((A) => l.current ? !l.current(A, T) : A !== T)
848
+ ) : p([...g, T]);
836
849
  },
837
- [c, C, g, m]
838
- ), z = w(() => Array.from(l.values()).every((y) => p(y, m)), [p, l, m]), N = w(() => Array.from(l.values()).some((y) => p(y, m)), [p, l, m]), P = h(() => {
839
- g(z ? [] : Array.from(l.values()));
840
- }, [z, l, g]), L = w(
841
- () => ({ selected: C, selectValue: S, allSelected: z, someSelected: N, toggleSelectAll: P, registerValue: f }),
842
- [z, f, S, C, N, P]
850
+ [l, N, p, g]
851
+ ), y = z(() => r ?? Array.from(d.values()), [r, d]), R = z(() => y.every((T) => f(T, g)), [f, y, g]), L = z(() => y.some((T) => f(T, g)), [f, y, g]), P = v(() => {
852
+ p(R ? [] : y);
853
+ }, [R, y, p]), D = z(
854
+ () => ({ selected: N, selectValue: w, allSelected: R, someSelected: L, toggleSelectAll: P, registerValue: C }),
855
+ [R, C, w, N, L, P]
843
856
  );
844
- return /* @__PURE__ */ i(Z, { value: L, children: t });
845
- }), st = F(function(a) {
846
- const { children: t, defaultValue: e, value: s, onValueChange: o, equalityFn: r } = a, c = nt(r), [l, d] = X(e, s, o), m = h(
857
+ return /* @__PURE__ */ i(Z, { value: D, children: t });
858
+ }), ot = F(function(a) {
859
+ const { children: t, defaultValue: e, value: s, onValueChange: o, equalityFn: r } = a, c = st(r), [l, d] = X(e, s, o), m = v(
847
860
  (f) => c.current ? c.current(f, l) : f === l,
848
861
  [l, c]
849
- ), g = h(
862
+ ), g = v(
850
863
  (f) => {
851
864
  m(f) || d(f);
852
865
  },
853
866
  [m, d]
854
- ), p = w(() => ({ selected: m, selectValue: g }), [g, m]);
867
+ ), p = z(() => ({ selected: m, selectValue: g }), [g, m]);
855
868
  return /* @__PURE__ */ i(Ne, { value: p, children: t });
856
- }), ot = F(function(a) {
857
- const { children: t, defaultValue: e = void 0, value: s, onValueChange: o, equalityFn: r } = a, c = nt(r), [l, d] = X(e, s, o), m = h(
869
+ }), rt = F(function(a) {
870
+ const { children: t, defaultValue: e = void 0, value: s, onValueChange: o, equalityFn: r } = a, c = st(r), [l, d] = X(e, s, o), m = v(
858
871
  (f) => l !== void 0 && (c.current ? c.current(f, l) : f === l),
859
872
  [l, c]
860
- ), g = h(
873
+ ), g = v(
861
874
  (f) => {
862
875
  d(m(f) ? void 0 : f);
863
876
  },
864
877
  [m, d]
865
- ), p = w(() => ({ selected: m, selectValue: g }), [m, g]);
878
+ ), p = z(() => ({ selected: m, selectValue: g }), [m, g]);
866
879
  return /* @__PURE__ */ i(Ne, { value: p, children: t });
867
- }), rt = T({}), oa = u((n) => {
868
- const a = b(rt), {
880
+ }), ct = O({}), ra = u((n) => {
881
+ const a = b(ct), {
869
882
  ref: t,
870
883
  className: e,
871
884
  value: s,
@@ -877,33 +890,33 @@ const Ae = F(function(a) {
877
890
  ...m
878
891
  } = n, { selected: g, selectValue: p, registerValue: f } = b(Z);
879
892
  ue(() => f(s), [f, s]);
880
- const C = g(s), S = a.disabled || o, z = h(() => {
893
+ const C = g(s), N = a.disabled || o, w = v(() => {
881
894
  p(s);
882
895
  }, [p, s]);
883
896
  return /* @__PURE__ */ i(
884
897
  ze.Root,
885
898
  {
886
899
  ref: t,
887
- className: x(at({ variant: c, size: l }), k({ radius: d, maxLarge: !0 }), e),
900
+ className: x(nt({ variant: c, size: l }), k({ radius: d, maxLarge: !0 }), e),
888
901
  name: a.name,
889
902
  required: a.required,
890
- disabled: S,
903
+ disabled: N,
891
904
  value: s,
892
905
  checked: C,
893
- onCheckedChange: z,
906
+ onCheckedChange: w,
894
907
  "data-accent-color": r,
895
908
  ...m
896
909
  }
897
910
  );
898
911
  });
899
- oa.displayName = "CheckboxGroupItem";
900
- const ra = u((n) => {
912
+ ra.displayName = "CheckboxGroupItem";
913
+ const ca = u((n) => {
901
914
  const { ref: a, className: t, ...e } = n;
902
915
  return /* @__PURE__ */ i(ze.Indicator, { className: x("flex items-center justify-center", t), ref: a, ...e });
903
916
  });
904
- ra.displayName = "CheckboxGroupItemIndicator";
905
- const ca = u((n) => {
906
- const a = M(), {
917
+ ca.displayName = "CheckboxGroupItemIndicator";
918
+ const ia = u((n) => {
919
+ const a = V(), {
907
920
  ref: t,
908
921
  defaultValues: e,
909
922
  values: s,
@@ -917,7 +930,7 @@ const ca = u((n) => {
917
930
  variant: p = "surface",
918
931
  size: f = "md",
919
932
  ...C
920
- } = n, S = w(
933
+ } = n, N = z(
921
934
  () => ({
922
935
  name: c,
923
936
  required: l,
@@ -939,8 +952,8 @@ const ca = u((n) => {
939
952
  "data-accent-color": m,
940
953
  "aria-disabled": Q(!!d),
941
954
  ...C,
942
- children: /* @__PURE__ */ i(rt.Provider, { value: S, children: /* @__PURE__ */ i(
943
- Ae,
955
+ children: /* @__PURE__ */ i(ct.Provider, { value: N, children: /* @__PURE__ */ i(
956
+ De,
944
957
  {
945
958
  defaultValues: e,
946
959
  values: s,
@@ -951,9 +964,9 @@ const ca = u((n) => {
951
964
  }
952
965
  );
953
966
  });
954
- ca.displayName = "CheckboxGroupRoot";
955
- const ia = u((n) => {
956
- const a = b(rt), {
967
+ ia.displayName = "CheckboxGroupRoot";
968
+ const la = u((n) => {
969
+ const a = b(ct), {
957
970
  ref: t,
958
971
  className: e,
959
972
  disabled: s,
@@ -967,7 +980,7 @@ const ia = u((n) => {
967
980
  ze.Root,
968
981
  {
969
982
  ref: t,
970
- className: x(at({ variant: r, size: c }), k({ radius: l, maxLarge: !0 }), e),
983
+ className: x(nt({ variant: r, size: c }), k({ radius: l, maxLarge: !0 }), e),
971
984
  name: a.name,
972
985
  required: a.required,
973
986
  disabled: C,
@@ -978,13 +991,13 @@ const ia = u((n) => {
978
991
  }
979
992
  );
980
993
  });
981
- ia.displayName = "CheckboxGroupSelectAllItem";
994
+ la.displayName = "CheckboxGroupSelectAllItem";
982
995
  const jc = {
983
- Root: ca,
984
- Item: oa,
985
- SelectAllItem: ia,
986
- ItemIndicator: ra
987
- }, Se = T({}), De = u((n) => {
996
+ Root: ia,
997
+ Item: ra,
998
+ SelectAllItem: la,
999
+ ItemIndicator: ca
1000
+ }, Se = O({}), Ge = u((n) => {
988
1001
  const { children: a, ref: t, className: e, ...s } = n, o = b(Se), r = typeof a == "function" ? a(o) : a;
989
1002
  return /* @__PURE__ */ i(
990
1003
  "span",
@@ -1003,13 +1016,13 @@ const jc = {
1003
1016
  }
1004
1017
  );
1005
1018
  });
1006
- De.displayName = "CheckedIndicator";
1007
- const la = u((n) => {
1019
+ Ge.displayName = "CheckedIndicator";
1020
+ const da = u((n) => {
1008
1021
  const { ref: a, children: t, ...e } = n;
1009
- return /* @__PURE__ */ i(De, { ref: a, ...e, children: t });
1022
+ return /* @__PURE__ */ i(Ge, { ref: a, ...e, children: t });
1010
1023
  });
1011
- la.displayName = "CommandMenuCheckboxIndicator";
1012
- const re = T({}), ct = T(!1), da = T(!1), it = T({}), ua = T({}), Co = v(
1024
+ da.displayName = "CommandMenuCheckboxIndicator";
1025
+ const re = O({}), it = O(!1), ua = O(!1), lt = O({}), ma = O({}), yo = h(
1013
1026
  [
1014
1027
  "ring",
1015
1028
  "ring-(--base-6)",
@@ -1044,7 +1057,7 @@ const re = T({}), ct = T(!1), da = T(!1), it = T({}), ua = T({}), Co = v(
1044
1057
  size: "md"
1045
1058
  }
1046
1059
  }
1047
- ), yo = v([
1060
+ ), zo = h([
1048
1061
  "fixed",
1049
1062
  "inset-0",
1050
1063
  "duration-200",
@@ -1054,7 +1067,7 @@ const re = T({}), ct = T(!1), da = T(!1), it = T({}), ua = T({}), Co = v(
1054
1067
  "data-[state='open']:fade-in-0",
1055
1068
  "data-[state='closed']:animate-out",
1056
1069
  "data-[state='closed']:fade-out-0"
1057
- ]), zo = v(
1070
+ ]), No = h(
1058
1071
  ["[scrollbar-width:thin]", "[scrollbar-color:var(--base-6)_transparent]", "overflow-auto", "h-max", "max-h-100"],
1059
1072
  {
1060
1073
  variants: {
@@ -1070,7 +1083,7 @@ const re = T({}), ct = T(!1), da = T(!1), it = T({}), ua = T({}), Co = v(
1070
1083
  size: "md"
1071
1084
  }
1072
1085
  }
1073
- ), No = v(["outline-none", "w-full", "placeholder-(--base-a9)"], {
1086
+ ), wo = h(["outline-none", "w-full", "placeholder-(--base-a9)"], {
1074
1087
  variants: {
1075
1088
  size: {
1076
1089
  xs: ["h-12", "px-5.25", "text-base"],
@@ -1080,7 +1093,7 @@ const re = T({}), ct = T(!1), da = T(!1), it = T({}), ua = T({}), Co = v(
1080
1093
  xl: ["h-16", "px-9.25", "text-xl"]
1081
1094
  }
1082
1095
  }
1083
- }), wo = v(["h-px", "bg-(--base-a6)", "w-full"], {
1096
+ }), Io = h(["h-px", "bg-(--base-a6)", "w-full"], {
1084
1097
  variants: {
1085
1098
  spacing: {
1086
1099
  true: [],
@@ -1101,7 +1114,7 @@ const re = T({}), ct = T(!1), da = T(!1), it = T({}), ua = T({}), Co = v(
1101
1114
  { spacing: !0, size: "lg", className: ["my-2.5"] },
1102
1115
  { spacing: !0, size: "xl", className: ["my-2.75"] }
1103
1116
  ]
1104
- }), Io = v(
1117
+ }), So = h(
1105
1118
  [
1106
1119
  "relative",
1107
1120
  "flex",
@@ -1157,7 +1170,7 @@ const re = T({}), ct = T(!1), da = T(!1), it = T({}), ua = T({}), Co = v(
1157
1170
  variant: "soft"
1158
1171
  }
1159
1172
  }
1160
- ), So = v(["flex", "justify-center", "text-(--base-a11)"], {
1173
+ ), ko = h(["flex", "justify-center", "text-(--base-a11)"], {
1161
1174
  variants: {
1162
1175
  size: {
1163
1176
  xs: ["py-3.5"],
@@ -1167,7 +1180,7 @@ const re = T({}), ct = T(!1), da = T(!1), it = T({}), ua = T({}), Co = v(
1167
1180
  xl: ["py-5.5"]
1168
1181
  }
1169
1182
  }
1170
- }), ko = v(
1183
+ }), Ro = h(
1171
1184
  [
1172
1185
  "[&_[cmdk-group-heading]]:text-(--base-a10)",
1173
1186
  "[&_[cmdk-group-heading]]:flex",
@@ -1210,13 +1223,13 @@ const re = T({}), ct = T(!1), da = T(!1), it = T({}), ua = T({}), Co = v(
1210
1223
  }
1211
1224
  }
1212
1225
  ), ce = u((n) => {
1213
- const { className: a, ref: t, closeOnSelect: e = !0, onSelect: s, filterValue: o, ...r } = n, { size: c, variant: l, radius: d } = b(re), { setOpen: m } = b(ua), g = h(() => {
1226
+ const { className: a, ref: t, closeOnSelect: e = !0, onSelect: s, filterValue: o, ...r } = n, { size: c, variant: l, radius: d } = b(re), { setOpen: m } = b(ma), g = v(() => {
1214
1227
  s == null || s(), e && m(!1);
1215
1228
  }, [e, s, m]);
1216
1229
  return /* @__PURE__ */ i(
1217
- Ns,
1230
+ ws,
1218
1231
  {
1219
- className: x(Io({ size: c, variant: l, radius: d }), a),
1232
+ className: x(So({ size: c, variant: l, radius: d }), a),
1220
1233
  ref: t,
1221
1234
  onSelect: g,
1222
1235
  value: o,
@@ -1225,15 +1238,15 @@ const re = T({}), ct = T(!1), da = T(!1), it = T({}), ua = T({}), Co = v(
1225
1238
  );
1226
1239
  });
1227
1240
  ce.displayName = "CommandMenuItem";
1228
- const ma = u((n) => {
1229
- const { children: a, ref: t, checked: e, onCheckedChange: s, onSelect: o, ...r } = n, c = h(() => {
1241
+ const ga = u((n) => {
1242
+ const { children: a, ref: t, checked: e, onCheckedChange: s, onSelect: o, ...r } = n, c = v(() => {
1230
1243
  o == null || o(), s(e !== !0);
1231
1244
  }, [e, s, o]);
1232
- return /* @__PURE__ */ i(da, { value: e, children: /* @__PURE__ */ i(ce, { ref: t, onSelect: c, "data-state": Ie(e), ...r, children: a }) });
1245
+ return /* @__PURE__ */ i(ua, { value: e, children: /* @__PURE__ */ i(ce, { ref: t, onSelect: c, "data-state": Ie(e), ...r, children: a }) });
1233
1246
  });
1234
- ma.displayName = "CommandMenuCheckboxItem";
1235
- const ga = u((n) => {
1236
- const a = M(), {
1247
+ ga.displayName = "CommandMenuCheckboxItem";
1248
+ const pa = u((n) => {
1249
+ const a = V(), {
1237
1250
  children: t,
1238
1251
  className: e,
1239
1252
  ref: s,
@@ -1249,15 +1262,15 @@ const ga = u((n) => {
1249
1262
  size: p = "md",
1250
1263
  accentColor: f = "base",
1251
1264
  radius: C = a.radius,
1252
- ...S
1253
- } = n, z = w(() => ({
1265
+ ...N
1266
+ } = n, w = z(() => ({
1254
1267
  variant: g,
1255
1268
  size: p,
1256
1269
  radius: C,
1257
1270
  accentColor: f
1258
1271
  }), [f, C, p, g]);
1259
- return /* @__PURE__ */ i(kt, { children: /* @__PURE__ */ i(
1260
- Ms,
1272
+ return /* @__PURE__ */ i(Rt, { children: /* @__PURE__ */ i(
1273
+ Os,
1261
1274
  {
1262
1275
  forceMount: o,
1263
1276
  onOpenAutoFocus: r,
@@ -1268,65 +1281,65 @@ const ga = u((n) => {
1268
1281
  "data-floating-content": "",
1269
1282
  asChild: !0,
1270
1283
  children: /* @__PURE__ */ W(
1271
- ws,
1284
+ Is,
1272
1285
  {
1273
- className: x(Co({ size: p }), k({ radius: C, maxLarge: !0 }), e),
1286
+ className: x(yo({ size: p }), k({ radius: C, maxLarge: !0 }), e),
1274
1287
  ref: s,
1275
1288
  "data-accent-color": f,
1276
- ...S,
1289
+ ...N,
1277
1290
  children: [
1278
- /* @__PURE__ */ i(Os, { className: "sr-only", children: n.label }),
1279
- /* @__PURE__ */ i(Vs, { className: "sr-only", children: "Use the command menu to trigger commands." }),
1280
- /* @__PURE__ */ i(re, { value: z, children: t })
1291
+ /* @__PURE__ */ i(Vs, { className: "sr-only", children: n.label }),
1292
+ /* @__PURE__ */ i(Ls, { className: "sr-only", children: "Use the command menu to trigger commands." }),
1293
+ /* @__PURE__ */ i(re, { value: w, children: t })
1281
1294
  ]
1282
1295
  }
1283
1296
  )
1284
1297
  }
1285
1298
  ) });
1286
1299
  });
1287
- ga.displayName = "CommandMenuContent";
1288
- const pa = u((n) => {
1289
- const { className: a, ref: t, ...e } = n, { size: s } = b(re);
1290
- return /* @__PURE__ */ i(Is, { className: x(So({ size: s }), a), ref: t, ...e });
1291
- });
1292
- pa.displayName = "CommandMenuEmpty";
1293
- const Ge = u((n) => {
1300
+ pa.displayName = "CommandMenuContent";
1301
+ const xa = u((n) => {
1294
1302
  const { className: a, ref: t, ...e } = n, { size: s } = b(re);
1295
1303
  return /* @__PURE__ */ i(Ss, { className: x(ko({ size: s }), a), ref: t, ...e });
1296
1304
  });
1297
- Ge.displayName = "CommandMenuGroup";
1298
- const xa = u((n) => {
1305
+ xa.displayName = "CommandMenuEmpty";
1306
+ const Ee = u((n) => {
1299
1307
  const { className: a, ref: t, ...e } = n, { size: s } = b(re);
1300
- return /* @__PURE__ */ i(ks, { className: x(No({ size: s }), a), ref: t, ...e });
1308
+ return /* @__PURE__ */ i(ks, { className: x(Ro({ size: s }), a), ref: t, ...e });
1301
1309
  });
1302
- xa.displayName = "CommandMenuInput";
1310
+ Ee.displayName = "CommandMenuGroup";
1303
1311
  const fa = u((n) => {
1304
- const { className: a, ref: t, ...e } = n, { size: s } = b(re), o = Rs((r) => r.filtered.count);
1312
+ const { className: a, ref: t, ...e } = n, { size: s } = b(re);
1313
+ return /* @__PURE__ */ i(Rs, { className: x(wo({ size: s }), a), ref: t, ...e });
1314
+ });
1315
+ fa.displayName = "CommandMenuInput";
1316
+ const ha = u((n) => {
1317
+ const { className: a, ref: t, ...e } = n, { size: s } = b(re), o = Ts((r) => r.filtered.count);
1305
1318
  return /* @__PURE__ */ i(
1306
- Ts,
1319
+ Ps,
1307
1320
  {
1308
- className: x(zo({ size: s }), a),
1321
+ className: x(No({ size: s }), a),
1309
1322
  ref: t,
1310
1323
  hidden: o === 0,
1311
1324
  ...e
1312
1325
  }
1313
1326
  );
1314
1327
  });
1315
- fa.displayName = "CommandMenuList";
1316
- const Ro = F(function(a) {
1328
+ ha.displayName = "CommandMenuList";
1329
+ const To = F(function(a) {
1317
1330
  const { children: t, ref: e, defaultValues: s, values: o, onValuesChange: r, ...c } = a;
1318
- return /* @__PURE__ */ i(Ae, { values: o, onValuesChange: r, defaultValues: s, children: /* @__PURE__ */ i(Ge, { ref: e, "aria-multiselectable": !0, ...c, children: t }) });
1319
- }), To = F(function(n) {
1331
+ return /* @__PURE__ */ i(De, { values: o, onValuesChange: r, defaultValues: s, children: /* @__PURE__ */ i(Ee, { ref: e, "aria-multiselectable": !0, ...c, children: t }) });
1332
+ }), Po = F(function(n) {
1320
1333
  const { children: a, ref: t, value: e, onSelect: s, closeOnSelect: o = !1, ...r } = n, {
1321
1334
  selected: c,
1322
1335
  selectValue: l,
1323
1336
  registerValue: d
1324
1337
  } = b(Z);
1325
1338
  ue(() => d(e), [d, e]);
1326
- const m = h(() => {
1339
+ const m = v(() => {
1327
1340
  s == null || s(), l(e);
1328
1341
  }, [l, s, e]), g = c(e);
1329
- return /* @__PURE__ */ i(ct, { value: g, children: /* @__PURE__ */ i(
1342
+ return /* @__PURE__ */ i(it, { value: g, children: /* @__PURE__ */ i(
1330
1343
  ce,
1331
1344
  {
1332
1345
  ref: t,
@@ -1338,41 +1351,41 @@ const Ro = F(function(a) {
1338
1351
  children: a
1339
1352
  }
1340
1353
  ) });
1341
- }), ha = u((n) => {
1354
+ }), va = u((n) => {
1342
1355
  const { container: a, className: t, ...e } = n;
1343
- return /* @__PURE__ */ i(kt, { container: a, children: /* @__PURE__ */ i(Ls, { className: x(yo(), t), "data-floating-content": "", ...e }) });
1356
+ return /* @__PURE__ */ i(Rt, { container: a, children: /* @__PURE__ */ i(As, { className: x(zo(), t), "data-floating-content": "", ...e }) });
1344
1357
  });
1345
- ha.displayName = "CommandMenuOverlay";
1346
- const va = u((n) => {
1347
- const { children: a, ref: t, page: e, ...s } = n, { page: o } = b(it), r = w(() => e === o, [e, o]);
1348
- return /* @__PURE__ */ i("div", { ref: t, "data-active": Le(r), hidden: !r, ...s, children: r ? a : null });
1349
- });
1350
- va.displayName = "CommandMenuPage";
1358
+ va.displayName = "CommandMenuOverlay";
1351
1359
  const ba = u((n) => {
1352
- const { children: a, defaultPage: t = "", page: e, onPageChange: s } = n, [o, r] = X(t, e, s);
1353
- return /* @__PURE__ */ i(it, { value: { page: o, setPage: r }, children: a });
1360
+ const { children: a, ref: t, page: e, ...s } = n, { page: o } = b(lt), r = z(() => e === o, [e, o]);
1361
+ return /* @__PURE__ */ i("div", { ref: t, "data-active": Ae(r), hidden: !r, ...s, children: r ? a : null });
1354
1362
  });
1355
- ba.displayName = "CommandMenuPages";
1363
+ ba.displayName = "CommandMenuPage";
1356
1364
  const Ca = u((n) => {
1357
- const { ref: a, page: t, onSelect: e, closeOnSelect: s = !1, ...o } = n, { page: r, setPage: c } = b(it), l = w(() => t === r, [t, r]), d = h(() => {
1365
+ const { children: a, defaultPage: t = "", page: e, onPageChange: s } = n, [o, r] = X(t, e, s);
1366
+ return /* @__PURE__ */ i(lt, { value: { page: o, setPage: r }, children: a });
1367
+ });
1368
+ Ca.displayName = "CommandMenuPages";
1369
+ const ya = u((n) => {
1370
+ const { ref: a, page: t, onSelect: e, closeOnSelect: s = !1, ...o } = n, { page: r, setPage: c } = b(lt), l = z(() => t === r, [t, r]), d = v(() => {
1358
1371
  e == null || e(), c(t);
1359
1372
  }, [e, t, c]);
1360
- return /* @__PURE__ */ i(ct, { value: l, children: /* @__PURE__ */ i(
1373
+ return /* @__PURE__ */ i(it, { value: l, children: /* @__PURE__ */ i(
1361
1374
  ce,
1362
1375
  {
1363
1376
  ref: a,
1364
1377
  onSelect: d,
1365
- "data-state": Le(l),
1378
+ "data-state": Ae(l),
1366
1379
  closeOnSelect: s,
1367
1380
  ...o
1368
1381
  }
1369
1382
  ) });
1370
1383
  });
1371
- Ca.displayName = "CommandMenuPageTriggerItem";
1372
- const Po = F(function(a) {
1384
+ ya.displayName = "CommandMenuPageTriggerItem";
1385
+ const Mo = F(function(a) {
1373
1386
  const { children: t, ref: e, required: s, defaultValue: o, value: r, onValueChange: c, ...l } = a;
1374
- return /* @__PURE__ */ i(Ge, { ref: e, role: "radiogroup", ...l, children: s ? /* @__PURE__ */ i(
1375
- st,
1387
+ return /* @__PURE__ */ i(Ee, { ref: e, role: "radiogroup", ...l, children: s ? /* @__PURE__ */ i(
1388
+ ot,
1376
1389
  {
1377
1390
  defaultValue: o,
1378
1391
  value: r,
@@ -1380,7 +1393,7 @@ const Po = F(function(a) {
1380
1393
  children: t
1381
1394
  }
1382
1395
  ) : /* @__PURE__ */ i(
1383
- ot,
1396
+ rt,
1384
1397
  {
1385
1398
  defaultValue: o,
1386
1399
  value: r,
@@ -1388,12 +1401,12 @@ const Po = F(function(a) {
1388
1401
  children: t
1389
1402
  }
1390
1403
  ) });
1391
- }), Mo = F(function(n) {
1392
- const { children: a, ref: t, value: e, onSelect: s, ...o } = n, { selected: r, selectValue: c } = b(Ne), l = h(() => {
1404
+ }), Oo = F(function(n) {
1405
+ const { children: a, ref: t, value: e, onSelect: s, ...o } = n, { selected: r, selectValue: c } = b(Ne), l = v(() => {
1393
1406
  s == null || s(), c(e);
1394
1407
  }, [s, c, e]), d = r(e);
1395
- return /* @__PURE__ */ i(ct, { value: d, children: /* @__PURE__ */ i(ce, { ref: t, onSelect: l, "data-state": oe(d), ...o, children: a }) });
1396
- }), ya = u((n) => {
1408
+ return /* @__PURE__ */ i(it, { value: d, children: /* @__PURE__ */ i(ce, { ref: t, onSelect: l, "data-state": oe(d), ...o, children: a }) });
1409
+ }), za = u((n) => {
1397
1410
  const {
1398
1411
  children: a,
1399
1412
  defaultOpen: t,
@@ -1401,18 +1414,18 @@ const Po = F(function(a) {
1401
1414
  // oxlint-disable-next-line typescript/unbound-method
1402
1415
  onOpenChange: s,
1403
1416
  modal: o
1404
- } = n, [r, c] = X(t ?? !1, e, s), l = w(() => ({
1417
+ } = n, [r, c] = X(t ?? !1, e, s), l = z(() => ({
1405
1418
  open: r,
1406
1419
  setOpen: c
1407
1420
  }), [r, c]);
1408
- return /* @__PURE__ */ i(H.Root, { defaultOpen: t, open: r, onOpenChange: c, modal: o, children: /* @__PURE__ */ i(ua, { value: l, children: a }) });
1421
+ return /* @__PURE__ */ i(H.Root, { defaultOpen: t, open: r, onOpenChange: c, modal: o, children: /* @__PURE__ */ i(ma, { value: l, children: a }) });
1409
1422
  });
1410
- ya.displayName = "CommandMenuRoot";
1411
- const Oo = F(function(n) {
1412
- const { ref: a, onSelect: t, closeOnSelect: e = !1, ...s } = n, { allSelected: o, someSelected: r, toggleSelectAll: c } = b(Z), l = h(() => {
1423
+ za.displayName = "CommandMenuRoot";
1424
+ const Vo = F(function(n) {
1425
+ const { ref: a, onSelect: t, closeOnSelect: e = !1, ...s } = n, { allSelected: o, someSelected: r, toggleSelectAll: c } = b(Z), l = v(() => {
1413
1426
  t == null || t(), c();
1414
1427
  }, [t, c]), d = o ? !0 : r ? "indeterminate" : !1;
1415
- return /* @__PURE__ */ i(da, { value: d, children: /* @__PURE__ */ i(
1428
+ return /* @__PURE__ */ i(ua, { value: d, children: /* @__PURE__ */ i(
1416
1429
  ce,
1417
1430
  {
1418
1431
  ref: a,
@@ -1423,7 +1436,7 @@ const Oo = F(function(n) {
1423
1436
  ...s
1424
1437
  }
1425
1438
  ) });
1426
- }), xe = T(!1), Ee = u((n) => {
1439
+ }), xe = O(!1), _e = u((n) => {
1427
1440
  const { ref: a, children: t, className: e, ...s } = n, o = b(xe), r = typeof t == "function" ? t(o) : t;
1428
1441
  return /* @__PURE__ */ i(
1429
1442
  "span",
@@ -1442,63 +1455,63 @@ const Oo = F(function(n) {
1442
1455
  }
1443
1456
  );
1444
1457
  });
1445
- Ee.displayName = "SelectedIndicator";
1446
- const za = u((n) => {
1458
+ _e.displayName = "SelectedIndicator";
1459
+ const Na = u((n) => {
1447
1460
  const { ref: a, children: t, ...e } = n;
1448
- return /* @__PURE__ */ i(Ee, { ref: a, ...e, children: t });
1461
+ return /* @__PURE__ */ i(_e, { ref: a, ...e, children: t });
1449
1462
  });
1450
- za.displayName = "CommandMenuSelectedIndicator";
1451
- const Na = u((n) => {
1463
+ Na.displayName = "CommandMenuSelectedIndicator";
1464
+ const wa = u((n) => {
1452
1465
  const { className: a, ref: t, spacing: e = !1, ...s } = n, { size: o } = b(re);
1453
- return /* @__PURE__ */ i(Ps, { ref: t, className: x(wo({ size: o, spacing: e }), a), ...s });
1466
+ return /* @__PURE__ */ i(Ms, { ref: t, className: x(Io({ size: o, spacing: e }), a), ...s });
1454
1467
  });
1455
- Na.displayName = "CommandMenuSeparator";
1456
- const wa = u((n) => /* @__PURE__ */ i(As, { ...n }));
1457
- wa.displayName = "CommandMenuTrigger";
1458
- const Uc = {
1459
- Root: ya,
1460
- Overlay: ha,
1461
- Content: ga,
1462
- Trigger: wa,
1463
- Input: xa,
1464
- List: fa,
1465
- Group: Ge,
1468
+ wa.displayName = "CommandMenuSeparator";
1469
+ const Ia = u((n) => /* @__PURE__ */ i(Ds, { ...n }));
1470
+ Ia.displayName = "CommandMenuTrigger";
1471
+ const qc = {
1472
+ Root: za,
1473
+ Overlay: va,
1474
+ Content: pa,
1475
+ Trigger: Ia,
1476
+ Input: fa,
1477
+ List: ha,
1478
+ Group: Ee,
1466
1479
  Item: ce,
1467
- Separator: Na,
1468
- Empty: pa,
1480
+ Separator: wa,
1481
+ Empty: xa,
1469
1482
  // Multi select
1470
- MultiSelectGroup: Ro,
1471
- MultiSelectItem: To,
1472
- SelectAllItem: Oo,
1473
- SelectedIndicator: za,
1483
+ MultiSelectGroup: To,
1484
+ MultiSelectItem: Po,
1485
+ SelectAllItem: Vo,
1486
+ SelectedIndicator: Na,
1474
1487
  // Radio / single select
1475
- RadioGroup: Po,
1476
- RadioItem: Mo,
1488
+ RadioGroup: Mo,
1489
+ RadioItem: Oo,
1477
1490
  // Checkbox
1478
- CheckboxItem: ma,
1479
- CheckboxIndicator: la,
1491
+ CheckboxItem: ga,
1492
+ CheckboxIndicator: da,
1480
1493
  // Pages
1481
- Pages: ba,
1482
- Page: va,
1483
- PageTriggerItem: Ca
1484
- }, q = u((n) => {
1494
+ Pages: Ca,
1495
+ Page: ba,
1496
+ PageTriggerItem: ya
1497
+ }, U = u((n) => {
1485
1498
  const { ref: a, icon: t, className: e, size: s = "1em", ...o } = n;
1486
1499
  return /* @__PURE__ */ i(t, { ref: a, className: x("shrink-0", e), size: s, ...o });
1487
1500
  });
1488
- q.displayName = "LuIcon";
1489
- const Vo = (n) => {
1501
+ U.displayName = "LuIcon";
1502
+ const Lo = (n) => {
1490
1503
  const { orientation: a, ...t } = n;
1491
1504
  switch (a) {
1492
1505
  case "up":
1493
- return /* @__PURE__ */ i(q, { icon: Fs, ...t });
1506
+ return /* @__PURE__ */ i(U, { icon: Hs, ...t });
1494
1507
  case "down":
1495
- return /* @__PURE__ */ i(q, { icon: _s, ...t });
1508
+ return /* @__PURE__ */ i(U, { icon: Fs, ...t });
1496
1509
  case "left":
1497
- return /* @__PURE__ */ i(q, { icon: Es, ...t });
1510
+ return /* @__PURE__ */ i(U, { icon: _s, ...t });
1498
1511
  default:
1499
- return /* @__PURE__ */ i(q, { icon: Gs, ...t });
1512
+ return /* @__PURE__ */ i(U, { icon: Es, ...t });
1500
1513
  }
1501
- }, Lo = v(["relative", "size-max"], {
1514
+ }, Ao = h(["relative", "size-max"], {
1502
1515
  variants: {
1503
1516
  size: {
1504
1517
  xs: ["text-xs"],
@@ -1508,7 +1521,7 @@ const Vo = (n) => {
1508
1521
  xl: ["text-xl"]
1509
1522
  }
1510
1523
  }
1511
- }), Ao = v(
1524
+ }), Do = h(
1512
1525
  [
1513
1526
  "relative",
1514
1527
  "transition-[background,text]",
@@ -1560,7 +1573,7 @@ const Vo = (n) => {
1560
1573
  }
1561
1574
  }
1562
1575
  }
1563
- ), wt = v(
1576
+ ), It = h(
1564
1577
  [
1565
1578
  "focus-visible:outline-2",
1566
1579
  "focus-visible:-outline-offset-1",
@@ -1585,7 +1598,7 @@ const Vo = (n) => {
1585
1598
  }
1586
1599
  }
1587
1600
  }
1588
- ), Do = v(["font-medium", "text-(--base-a11)"], {
1601
+ ), Go = h(["font-medium", "text-(--base-a11)"], {
1589
1602
  variants: {
1590
1603
  size: {
1591
1604
  xs: ["size-6"],
@@ -1595,7 +1608,7 @@ const Vo = (n) => {
1595
1608
  xl: ["size-10"]
1596
1609
  }
1597
1610
  }
1598
- }), Go = v(
1611
+ }), Eo = h(
1599
1612
  [
1600
1613
  "*:after:absolute",
1601
1614
  "*:after:bg-(--base-12)",
@@ -1620,7 +1633,7 @@ const Vo = (n) => {
1620
1633
  }
1621
1634
  }
1622
1635
  }
1623
- ), Eo = v(["font-medium", "w-full", "flex", "gap-4", "items-center"], {
1636
+ ), _o = h(["font-medium", "w-full", "flex", "gap-4", "items-center"], {
1624
1637
  variants: {
1625
1638
  size: {
1626
1639
  xs: ["h-6"],
@@ -1630,7 +1643,7 @@ const Vo = (n) => {
1630
1643
  xl: ["h-10"]
1631
1644
  }
1632
1645
  }
1633
- }), _o = v(
1646
+ }), Fo = h(
1634
1647
  [
1635
1648
  "focus-visible:outline-2",
1636
1649
  "focus-visible:-outline-offset-1",
@@ -1655,7 +1668,7 @@ const Vo = (n) => {
1655
1668
  }
1656
1669
  }
1657
1670
  }
1658
- ), Fo = v(["inline-flex", "items-center"], {
1671
+ ), Ho = h(["inline-flex", "items-center"], {
1659
1672
  variants: {
1660
1673
  size: {
1661
1674
  xs: ["h-6", "text-xs", "gap-0.5"],
@@ -1665,8 +1678,8 @@ const Vo = (n) => {
1665
1678
  xl: ["h-10", "text-xl", "gap-1.5"]
1666
1679
  }
1667
1680
  }
1668
- }), It = { Chevron: Vo }, Ho = new Date(1969, 0, 1), Bo = new Date(2042, 11, 1), $o = u((n) => {
1669
- const a = M(), {
1681
+ }), St = { Chevron: Lo }, Bo = new Date(1969, 0, 1), $o = new Date(2042, 11, 1), jo = u((n) => {
1682
+ const a = V(), {
1670
1683
  components: t,
1671
1684
  classNames: e,
1672
1685
  accentColor: s = a.accentColor,
@@ -1674,31 +1687,31 @@ const Vo = (n) => {
1674
1687
  variant: r = "soft",
1675
1688
  radius: c = a.radius,
1676
1689
  showOutsideDays: l = !0,
1677
- startMonth: d = Ho,
1678
- endMonth: m = Bo,
1690
+ startMonth: d = Bo,
1691
+ endMonth: m = $o,
1679
1692
  ...g
1680
- } = n, p = w(() => ({
1693
+ } = n, p = z(() => ({
1681
1694
  ...e,
1682
- root: x(e == null ? void 0 : e.root, Lo({ size: o })),
1695
+ root: x(e == null ? void 0 : e.root, Ao({ size: o })),
1683
1696
  nav: x(e == null ? void 0 : e.nav, ["absolute", "top-0", "w-full", "flex", "justify-end"]),
1684
1697
  month: x(e == null ? void 0 : e.month, ["flex", "flex-col", "gap-1"]),
1685
- month_caption: x(e == null ? void 0 : e.month_caption, Eo({ size: o })),
1698
+ month_caption: x(e == null ? void 0 : e.month_caption, _o({ size: o })),
1686
1699
  button_next: x(
1687
1700
  e == null ? void 0 : e.button_next,
1688
- wt({ size: o }),
1701
+ It({ size: o }),
1689
1702
  k({ radius: c, maxLarge: !1 })
1690
1703
  ),
1691
1704
  button_previous: x(
1692
1705
  e == null ? void 0 : e.button_previous,
1693
- wt({ size: o }),
1706
+ It({ size: o }),
1694
1707
  k({ radius: c, maxLarge: !1 })
1695
1708
  ),
1696
- weekday: x(e == null ? void 0 : e.weekday, Do({ size: o })),
1697
- today: x(e == null ? void 0 : e.today, Go({ size: o, variant: r })),
1709
+ weekday: x(e == null ? void 0 : e.weekday, Go({ size: o })),
1710
+ today: x(e == null ? void 0 : e.today, Eo({ size: o, variant: r })),
1698
1711
  day: x(e == null ? void 0 : e.day, ["group/day"]),
1699
1712
  day_button: x(
1700
1713
  e == null ? void 0 : e.day_button,
1701
- Ao({ size: o, variant: r }),
1714
+ Do({ size: o, variant: r }),
1702
1715
  k({ radius: c, maxLarge: !1 })
1703
1716
  ),
1704
1717
  range_start: x(e == null ? void 0 : e.range_start, "rdp-range-start"),
@@ -1708,18 +1721,18 @@ const Vo = (n) => {
1708
1721
  years_dropdown: "opacity-0 absolute z-[1]",
1709
1722
  dropdown_root: x(
1710
1723
  e == null ? void 0 : e.dropdown_root,
1711
- _o({ size: o }),
1724
+ Fo({ size: o }),
1712
1725
  k({ radius: c, maxLarge: !1 })
1713
1726
  ),
1714
1727
  dropdowns: "flex items-center",
1715
- caption_label: x(e == null ? void 0 : e.caption_label, Fo({ size: o })),
1728
+ caption_label: x(e == null ? void 0 : e.caption_label, Ho({ size: o })),
1716
1729
  chevron: "size-[1em]"
1717
- }), [e, c, o, r]), f = w(
1718
- () => t ? { ...It, ...t } : It,
1730
+ }), [e, c, o, r]), f = z(
1731
+ () => t ? { ...St, ...t } : St,
1719
1732
  [t]
1720
1733
  );
1721
1734
  return /* @__PURE__ */ i(
1722
- Ds,
1735
+ Gs,
1723
1736
  {
1724
1737
  "data-accent-color": s,
1725
1738
  showOutsideDays: l,
@@ -1733,18 +1746,18 @@ const Vo = (n) => {
1733
1746
  }
1734
1747
  );
1735
1748
  });
1736
- $o.displayName = "DayPicker";
1737
- const Ia = T({}), jo = () => {
1738
- const n = j(Ia);
1749
+ jo.displayName = "DayPicker";
1750
+ const Sa = O({}), qo = () => {
1751
+ const n = j(Sa);
1739
1752
  if (!n)
1740
1753
  throw new Error("useDialog must be used within a DialogRoot");
1741
1754
  return n;
1742
- }, Sa = u((n) => {
1743
- const { radius: a } = M(), t = jo(), { ref: e, children: s, container: o, className: r, size: c, ...l } = n, d = w(() => typeof s == "function" ? s(t) : s, [s, t]);
1755
+ }, ka = u((n) => {
1756
+ const { radius: a } = V(), t = qo(), { ref: e, children: s, container: o, className: r, size: c, ...l } = n, d = z(() => typeof s == "function" ? s(t) : s, [s, t]);
1744
1757
  return /* @__PURE__ */ i(H.Portal, { container: o, children: /* @__PURE__ */ i(
1745
1758
  H.Content,
1746
1759
  {
1747
- className: x(Kt({ size: c }), k({ radius: a, maxLarge: !0 }), r),
1760
+ className: x(Xt({ size: c }), k({ radius: a, maxLarge: !0 }), r),
1748
1761
  ref: e,
1749
1762
  "data-floating-content": "",
1750
1763
  ...l,
@@ -1752,22 +1765,22 @@ const Ia = T({}), jo = () => {
1752
1765
  }
1753
1766
  ) });
1754
1767
  });
1755
- Sa.displayName = "DialogContent";
1756
- const ka = u((n) => {
1768
+ ka.displayName = "DialogContent";
1769
+ const Ra = u((n) => {
1757
1770
  const { ref: a, children: t, className: e, container: s, ...o } = n;
1758
1771
  return /* @__PURE__ */ i(H.Portal, { container: s, children: /* @__PURE__ */ i(
1759
1772
  H.Overlay,
1760
1773
  {
1761
1774
  ref: a,
1762
- className: x(Wt({}), e),
1775
+ className: x(Kt({}), e),
1763
1776
  "data-floating-content": "",
1764
1777
  ...o,
1765
1778
  children: t
1766
1779
  }
1767
1780
  ) });
1768
1781
  });
1769
- ka.displayName = "DialogOverlay";
1770
- const Ra = u((n) => {
1782
+ Ra.displayName = "DialogOverlay";
1783
+ const Ta = u((n) => {
1771
1784
  const {
1772
1785
  children: a,
1773
1786
  onOpen: t,
@@ -1777,7 +1790,7 @@ const Ra = u((n) => {
1777
1790
  open: r,
1778
1791
  // oxlint-disable-next-line typescript/unbound-method
1779
1792
  onOpenChange: c
1780
- } = n, [l, d] = E(s ?? !1), m = r ?? l, g = h(
1793
+ } = n, [l, d] = E(s ?? !1), m = r ?? l, g = v(
1781
1794
  (f) => {
1782
1795
  if (c) return c(f);
1783
1796
  if (f && t)
@@ -1792,7 +1805,7 @@ const Ra = u((n) => {
1792
1805
  d(f);
1793
1806
  },
1794
1807
  [c, t, e, o]
1795
- ), p = h(
1808
+ ), p = v(
1796
1809
  (f) => {
1797
1810
  if (f != null && f.force)
1798
1811
  return d(!1);
@@ -1800,13 +1813,13 @@ const Ra = u((n) => {
1800
1813
  },
1801
1814
  [g]
1802
1815
  );
1803
- return /* @__PURE__ */ i(H.Root, { open: m, onOpenChange: g, children: /* @__PURE__ */ i(Ia.Provider, { value: p, children: a }) });
1816
+ return /* @__PURE__ */ i(H.Root, { open: m, onOpenChange: g, children: /* @__PURE__ */ i(Sa.Provider, { value: p, children: a }) });
1804
1817
  });
1805
- Ra.displayName = "DialogRoot";
1806
- const qc = {
1807
- Root: Ra,
1808
- Content: Sa,
1809
- Overlay: ka,
1818
+ Ta.displayName = "DialogRoot";
1819
+ const Uc = {
1820
+ Root: Ta,
1821
+ Content: ka,
1822
+ Overlay: Ra,
1810
1823
  Title: H.Title,
1811
1824
  Description: H.Description,
1812
1825
  Trigger: H.Trigger,
@@ -1818,7 +1831,7 @@ const qc = {
1818
1831
  4: "h4",
1819
1832
  5: "h5",
1820
1833
  6: "h6"
1821
- }, qo = v([], {
1834
+ }, Wo = h([], {
1822
1835
  variants: {
1823
1836
  size: {
1824
1837
  xs: ["text-xs"],
@@ -1847,7 +1860,7 @@ const qc = {
1847
1860
  right: ["text-right"]
1848
1861
  }
1849
1862
  }
1850
- }), Wo = u((n) => {
1863
+ }), Ko = u((n) => {
1851
1864
  const {
1852
1865
  ref: a,
1853
1866
  children: t,
@@ -1865,7 +1878,7 @@ const qc = {
1865
1878
  {
1866
1879
  ref: a,
1867
1880
  className: x(
1868
- qo({ size: o, weight: r, align: c }),
1881
+ Wo({ size: o, weight: r, align: c }),
1869
1882
  {
1870
1883
  "text-(--accent-a11)": !!d,
1871
1884
  "text-(--accent-a12)": l
@@ -1878,13 +1891,13 @@ const qc = {
1878
1891
  }
1879
1892
  );
1880
1893
  });
1881
- Wo.displayName = "Heading";
1882
- const Ta = u((n) => {
1894
+ Ko.displayName = "Heading";
1895
+ const Pa = u((n) => {
1883
1896
  const { ref: a, children: t, className: e, ...s } = n;
1884
1897
  return /* @__PURE__ */ i(ye.Arrow, { className: x("fill-(--base-6)", e), ref: a, ...s, children: t });
1885
1898
  });
1886
- Ta.displayName = "HoverCardArrow";
1887
- const Ko = v(["bg-(--color-background)", "dark:bg-(--base-2)", "ring-1", "ring-(--base-6)"], {
1899
+ Pa.displayName = "HoverCardArrow";
1900
+ const Xo = h(["bg-(--color-background)", "dark:bg-(--base-2)", "ring-1", "ring-(--base-6)"], {
1888
1901
  variants: {
1889
1902
  size: {
1890
1903
  xs: ["p-2"],
@@ -1897,8 +1910,8 @@ const Ko = v(["bg-(--color-background)", "dark:bg-(--base-2)", "ring-1", "ring-(
1897
1910
  defaultVariants: {
1898
1911
  size: "md"
1899
1912
  }
1900
- }), Pa = u((n) => {
1901
- const a = M(), {
1913
+ }), Ma = u((n) => {
1914
+ const a = V(), {
1902
1915
  ref: t,
1903
1916
  children: e,
1904
1917
  className: s,
@@ -1914,8 +1927,9 @@ const Ko = v(["bg-(--color-background)", "dark:bg-(--base-2)", "ring-1", "ring-(
1914
1927
  ye.Content,
1915
1928
  {
1916
1929
  className: x(
1917
- Ko({ size: o }),
1918
- Ve({ side: r, shadow: "3" }),
1930
+ Xo({ size: o }),
1931
+ Ve({ side: r }),
1932
+ Le({ size: "md" }),
1919
1933
  k({ radius: c, maxLarge: !0 }),
1920
1934
  s
1921
1935
  ),
@@ -1929,26 +1943,13 @@ const Ko = v(["bg-(--color-background)", "dark:bg-(--base-2)", "ring-1", "ring-(
1929
1943
  }
1930
1944
  ) });
1931
1945
  });
1932
- Pa.displayName = "HoverCardContent";
1946
+ Ma.displayName = "HoverCardContent";
1933
1947
  const Wc = {
1934
- Arrow: Ta,
1935
- Content: Pa,
1948
+ Arrow: Pa,
1949
+ Content: Ma,
1936
1950
  Root: ye.Root,
1937
1951
  Trigger: ye.Trigger
1938
- }, Xo = u(({ children: n, forceHover: a }) => {
1939
- const [t, e] = E(!1), s = h(() => {
1940
- e(!0);
1941
- }, []), o = h(() => {
1942
- e(!1);
1943
- }, []);
1944
- return n({
1945
- isHovered: a !== void 0 ? a : t,
1946
- onPointerEnter: s,
1947
- onPointerLeave: o
1948
- });
1949
- });
1950
- Xo.displayName = "HoverUtility";
1951
- const lt = T({}), Yo = v(
1952
+ }, dt = O({}), Yo = h(
1952
1953
  [
1953
1954
  "flex",
1954
1955
  "items-stretch",
@@ -1980,7 +1981,7 @@ const lt = T({}), Yo = v(
1980
1981
  variant: "surface"
1981
1982
  }
1982
1983
  }
1983
- ), Qo = v(["peer-[.slot]/slot:px-0"], {
1984
+ ), Qo = h(["peer-[.slot]/slot:px-0"], {
1984
1985
  variants: {
1985
1986
  variant: {
1986
1987
  surface: ["placeholder-(--accent-12)", "placeholder:opacity-60", "selection:bg-(--accent-a5)"],
@@ -2000,7 +2001,7 @@ const lt = T({}), Yo = v(
2000
2001
  size: "md",
2001
2002
  variant: "surface"
2002
2003
  }
2003
- }), Jo = v(["peer/slot", "slot"], {
2004
+ }), Jo = h(["peer/slot", "slot"], {
2004
2005
  variants: {
2005
2006
  size: {
2006
2007
  xs: ["px-1.5"],
@@ -2019,8 +2020,8 @@ const lt = T({}), Yo = v(
2019
2020
  defaultVariants: {
2020
2021
  size: "md"
2021
2022
  }
2022
- }), Ma = u((n) => {
2023
- const { ref: a, className: t, ...e } = n, { size: s, variant: o } = j(lt);
2023
+ }), Oa = u((n) => {
2024
+ const { ref: a, className: t, ...e } = n, { size: s, variant: o } = j(dt);
2024
2025
  return /* @__PURE__ */ i(
2025
2026
  "input",
2026
2027
  {
@@ -2030,9 +2031,9 @@ const lt = T({}), Yo = v(
2030
2031
  }
2031
2032
  );
2032
2033
  });
2033
- Ma.displayName = "InputField";
2034
- const Oa = u((n) => {
2035
- const a = M(), {
2034
+ Oa.displayName = "InputField";
2035
+ const Va = u((n) => {
2036
+ const a = V(), {
2036
2037
  ref: t,
2037
2038
  children: e,
2038
2039
  className: s,
@@ -2041,8 +2042,8 @@ const Oa = u((n) => {
2041
2042
  accentColor: c = a.accentColor,
2042
2043
  radius: l = a.radius,
2043
2044
  ...d
2044
- } = n, m = w(() => ({ size: r, variant: o }), [r, o]);
2045
- return /* @__PURE__ */ i(lt.Provider, { value: m, children: /* @__PURE__ */ i(
2045
+ } = n, m = z(() => ({ size: r, variant: o }), [r, o]);
2046
+ return /* @__PURE__ */ i(dt.Provider, { value: m, children: /* @__PURE__ */ i(
2046
2047
  "div",
2047
2048
  {
2048
2049
  className: x(Yo({ variant: o, size: r }), k({ radius: l, maxLarge: !1 }), s),
@@ -2053,32 +2054,32 @@ const Oa = u((n) => {
2053
2054
  }
2054
2055
  ) });
2055
2056
  });
2056
- Oa.displayName = "InputRoot";
2057
- const Va = u((n) => {
2058
- const { ref: a, children: t, className: e, ...s } = n, { size: o, variant: r } = j(lt);
2057
+ Va.displayName = "InputRoot";
2058
+ const La = u((n) => {
2059
+ const { ref: a, children: t, className: e, ...s } = n, { size: o, variant: r } = j(dt);
2059
2060
  return /* @__PURE__ */ i("div", { className: x(Jo({ size: o, variant: r }), "flex items-center", e), ref: a, ...s, children: t });
2060
2061
  });
2061
- Va.displayName = "InputSlot";
2062
+ La.displayName = "InputSlot";
2062
2063
  const Kc = {
2063
- Field: Ma,
2064
- Root: Oa,
2065
- Slot: Va
2066
- }, dt = Ks({}), ke = () => Xs(dt);
2064
+ Field: Oa,
2065
+ Root: Va,
2066
+ Slot: La
2067
+ }, ut = Xs({}), ke = () => Ys(ut);
2067
2068
  function Xc(n) {
2068
- return Ys(dt, n);
2069
+ return Qs(ut, n);
2069
2070
  }
2070
- const La = u((n) => {
2071
+ const Aa = u((n) => {
2071
2072
  const { ref: a, children: t, ...e } = n, { hideLayout: s = !1 } = ke();
2072
2073
  return !s && /* @__PURE__ */ i("div", { ref: a, ...e, children: t });
2073
2074
  });
2074
- La.displayName = "LayoutContainer";
2075
- const Aa = u((n) => {
2076
- const { children: a, small: t = !1, hideLayout: e = !1 } = n, [s, o] = E({}), r = h(
2075
+ Aa.displayName = "LayoutContainer";
2076
+ const Da = u((n) => {
2077
+ const { children: a, small: t = !1, hideLayout: e = !1 } = n, [s, o] = E({}), r = v(
2077
2078
  (d) => s[d] ?? !1,
2078
2079
  [s]
2079
- ), c = h((d, m) => {
2080
+ ), c = v((d, m) => {
2080
2081
  o((g) => ({ ...g, [d]: m }));
2081
- }, []), l = w(
2082
+ }, []), l = z(
2082
2083
  () => ({
2083
2084
  small: t,
2084
2085
  hideLayout: e,
@@ -2087,11 +2088,11 @@ const Aa = u((n) => {
2087
2088
  }),
2088
2089
  [e, r, c, t]
2089
2090
  );
2090
- return /* @__PURE__ */ i(dt.Provider, { value: l, children: a });
2091
+ return /* @__PURE__ */ i(ut.Provider, { value: l, children: a });
2091
2092
  });
2092
- Aa.displayName = "LayoutRoot";
2093
- const fe = T({}), Da = T({}), ut = u((n) => {
2094
- const { ref: a, onClick: t, disabled: e, ...s } = n, { setOpen: o } = b(fe), r = h(
2093
+ Da.displayName = "LayoutRoot";
2094
+ const fe = O({}), Ga = O({}), mt = u((n) => {
2095
+ const { ref: a, onClick: t, disabled: e, ...s } = n, { setOpen: o } = b(fe), r = v(
2095
2096
  (c) => {
2096
2097
  t == null || t(c), !c.defaultPrevented && o(!1);
2097
2098
  },
@@ -2099,10 +2100,10 @@ const fe = T({}), Da = T({}), ut = u((n) => {
2099
2100
  );
2100
2101
  return /* @__PURE__ */ i(me, { ref: a, onClick: r, "data-disabled": e ?? !1, ...s });
2101
2102
  });
2102
- ut.displayName = "SlideOutClose";
2103
+ mt.displayName = "SlideOutClose";
2103
2104
  const Zo = 200;
2104
2105
  function er(n, a = globalThis == null ? void 0 : globalThis.document.body) {
2105
- const t = nr(n), e = U(!1), s = U(() => {
2106
+ const t = nr(n), e = q(!1), s = q(() => {
2106
2107
  });
2107
2108
  return B(() => {
2108
2109
  const o = (c) => {
@@ -2128,17 +2129,17 @@ function er(n, a = globalThis == null ? void 0 : globalThis.document.body) {
2128
2129
  };
2129
2130
  }
2130
2131
  function tr(n, a) {
2131
- n && Js.flushSync(() => n.dispatchEvent(a));
2132
+ n && Zs.flushSync(() => n.dispatchEvent(a));
2132
2133
  }
2133
2134
  function ar(n, a, t, { discrete: e }) {
2134
2135
  const s = t.originalEvent.target, o = new CustomEvent(n, { bubbles: !1, cancelable: !0, detail: t });
2135
2136
  a && s.addEventListener(n, a, { once: !0 }), tr(s, o);
2136
2137
  }
2137
2138
  function nr(n) {
2138
- const a = U(n);
2139
+ const a = q(n);
2139
2140
  return B(() => {
2140
2141
  a.current = n;
2141
- }), w(() => (...t) => {
2142
+ }), z(() => (...t) => {
2142
2143
  var e;
2143
2144
  return (e = a.current) == null ? void 0 : e.call(a, ...t);
2144
2145
  }, []);
@@ -2172,86 +2173,86 @@ const sr = {
2172
2173
  exitActive: "ease-linear duration-200 transition-[margin-bottom] -mb-(--slide-out-size)",
2173
2174
  exitDone: "-mb-(--slide-out-size)"
2174
2175
  }
2175
- }, mt = u((n) => {
2176
- const { ref: a, children: t, style: e, side: s, type: o, resizeable: r = !1, initialSize: c, minSize: l, maxSize: d, ...m } = n, g = U(null), { open: p, setOpen: f, parentElement: C, modal: S, hide: z } = b(fe), [N, P] = E(null), L = h(() => {
2177
- S && f(!1);
2178
- }, [S, f]), { onPointerDownCapture: y } = er(
2176
+ }, gt = u((n) => {
2177
+ const { ref: a, children: t, style: e, side: s, type: o, resizeable: r = !1, initialSize: c, minSize: l, maxSize: d, ...m } = n, g = q(null), { open: p, setOpen: f, parentElement: C, modal: N, hide: w } = b(fe), [y, R] = E(null), L = v(() => {
2178
+ N && f(!1);
2179
+ }, [N, f]), { onPointerDownCapture: P } = er(
2179
2180
  L,
2180
2181
  C ?? void 0
2181
2182
  );
2182
2183
  ue(() => {
2183
2184
  if (!p || !g.current) return;
2184
- const { offsetWidth: O, offsetHeight: _ } = g.current;
2185
+ const { offsetWidth: S, offsetHeight: _ } = g.current;
2185
2186
  switch (s) {
2186
2187
  case "left":
2187
2188
  case "right":
2188
- P(O);
2189
+ R(S);
2189
2190
  break;
2190
2191
  case "top":
2191
2192
  case "bottom":
2192
- P(_);
2193
+ R(_);
2193
2194
  }
2194
2195
  }, [p, s]);
2195
- const V = w(() => {
2196
+ const D = z(() => {
2196
2197
  switch (s) {
2197
2198
  case "left":
2198
2199
  return {
2199
2200
  ...e,
2200
2201
  left: 0,
2201
- width: N ?? c,
2202
+ width: y ?? c,
2202
2203
  maxWidth: d,
2203
2204
  minWidth: l,
2204
2205
  position: o === "inline" ? "relative" : "absolute",
2205
- "--slide-out-size": `${N}px`
2206
+ "--slide-out-size": `${y}px`
2206
2207
  };
2207
2208
  case "right":
2208
2209
  return {
2209
2210
  ...e,
2210
2211
  right: 0,
2211
- width: N ?? c,
2212
+ width: y ?? c,
2212
2213
  maxWidth: d,
2213
2214
  minWidth: l,
2214
2215
  position: o === "inline" ? "relative" : "absolute",
2215
- "--slide-out-size": `${N}px`
2216
+ "--slide-out-size": `${y}px`
2216
2217
  };
2217
2218
  case "top":
2218
2219
  return {
2219
2220
  ...e,
2220
2221
  top: 0,
2221
- height: N ?? c,
2222
+ height: y ?? c,
2222
2223
  maxHeight: d,
2223
2224
  minHeight: l,
2224
2225
  position: o === "inline" ? "relative" : "absolute",
2225
- "--slide-out-size": `${N}px`
2226
+ "--slide-out-size": `${y}px`
2226
2227
  };
2227
2228
  case "bottom":
2228
2229
  return {
2229
2230
  ...e,
2230
2231
  bottom: 0,
2231
- height: N ?? c,
2232
+ height: y ?? c,
2232
2233
  maxHeight: d,
2233
2234
  minHeight: l,
2234
2235
  position: o === "inline" ? "relative" : "absolute",
2235
- "--slide-out-size": `${N}px`
2236
+ "--slide-out-size": `${y}px`
2236
2237
  };
2237
2238
  }
2238
- }, [N, c, d, l, s, e, o]), A = sr[s], G = w(
2239
+ }, [y, c, d, l, s, e, o]), T = sr[s], A = z(
2239
2240
  () => ({
2240
2241
  side: s,
2241
2242
  type: o,
2242
2243
  resizeable: r,
2243
- computedSize: N,
2244
- setComputedSize: P
2244
+ computedSize: y,
2245
+ setComputedSize: R
2245
2246
  }),
2246
- [N, r, s, o]
2247
+ [y, r, s, o]
2247
2248
  );
2248
- return z ? null : (
2249
+ return w ? null : (
2249
2250
  // eslint-disable-next-line @typescript-eslint/ban-ts-comment
2250
2251
  // @ts-ignore
2251
2252
  /* @__PURE__ */ i(
2252
- Qs,
2253
+ Js,
2253
2254
  {
2254
- classNames: A,
2255
+ classNames: T,
2255
2256
  in: p,
2256
2257
  timeout: Zo,
2257
2258
  unmountOnExit: !0,
@@ -2261,73 +2262,73 @@ const sr = {
2261
2262
  "div",
2262
2263
  {
2263
2264
  ref: we([a, g]),
2264
- onPointerDownCapture: y,
2265
+ onPointerDownCapture: P,
2265
2266
  "data-open": p,
2266
2267
  "data-side": s,
2267
2268
  "data-type": o,
2268
- style: V,
2269
+ style: D,
2269
2270
  ...m,
2270
- children: /* @__PURE__ */ i(Da, { value: G, children: t })
2271
+ children: /* @__PURE__ */ i(Ga, { value: A, children: t })
2271
2272
  }
2272
2273
  )
2273
2274
  }
2274
2275
  )
2275
2276
  );
2276
2277
  });
2277
- mt.displayName = "SlideOutContent";
2278
- const gt = u((n) => {
2279
- const { ref: a, onMouseDown: t, disabled: e, ...s } = n, o = U(null), [r, c] = E(!1), { side: l, resizeable: d, computedSize: m, setComputedSize: g } = b(Da), p = e ?? !d, f = h(
2280
- (N, P) => {
2278
+ gt.displayName = "SlideOutContent";
2279
+ const pt = u((n) => {
2280
+ const { ref: a, onMouseDown: t, disabled: e, ...s } = n, o = q(null), [r, c] = E(!1), { side: l, resizeable: d, computedSize: m, setComputedSize: g } = b(Ga), p = e ?? !d, f = v(
2281
+ (y, R) => {
2281
2282
  switch (l) {
2282
2283
  case "left":
2283
- o.current = N;
2284
+ o.current = y;
2284
2285
  break;
2285
2286
  case "right":
2286
- o.current = N;
2287
+ o.current = y;
2287
2288
  break;
2288
2289
  case "top":
2289
- o.current = P;
2290
+ o.current = R;
2290
2291
  break;
2291
2292
  case "bottom":
2292
- o.current = P;
2293
+ o.current = R;
2293
2294
  break;
2294
2295
  }
2295
2296
  },
2296
2297
  [l]
2297
- ), C = h(
2298
- (N) => {
2299
- t == null || t(N), !(N.defaultPrevented || p) && (N.preventDefault(), f(N.clientX, N.clientY), c(!0));
2298
+ ), C = v(
2299
+ (y) => {
2300
+ t == null || t(y), !(y.defaultPrevented || p) && (y.preventDefault(), f(y.clientX, y.clientY), c(!0));
2300
2301
  },
2301
2302
  [p, t, f]
2302
- ), S = h(
2303
- (N) => {
2303
+ ), N = v(
2304
+ (y) => {
2304
2305
  if (!r || !o.current || p) return;
2305
- N.preventDefault();
2306
- const { clientX: P, clientY: L } = N;
2307
- let y = 0;
2306
+ y.preventDefault();
2307
+ const { clientX: R, clientY: L } = y;
2308
+ let P = 0;
2308
2309
  switch (l) {
2309
2310
  case "left":
2310
- y = P - o.current;
2311
+ P = R - o.current;
2311
2312
  break;
2312
2313
  case "right":
2313
- y = (P - o.current) * -1;
2314
+ P = (R - o.current) * -1;
2314
2315
  break;
2315
2316
  case "top":
2316
- y = L - o.current;
2317
+ P = L - o.current;
2317
2318
  break;
2318
2319
  case "bottom":
2319
- y = (L - o.current) * -1;
2320
+ P = (L - o.current) * -1;
2320
2321
  break;
2321
2322
  }
2322
- f(P, L), g(m + y);
2323
+ f(R, L), g(m + P);
2323
2324
  },
2324
2325
  [p, m, r, g, f, l]
2325
- ), z = h(() => {
2326
+ ), w = v(() => {
2326
2327
  !r || p || (o.current = null, c(!1));
2327
2328
  }, [p, r]);
2328
- return B(() => (document.addEventListener("pointermove", S), document.addEventListener("pointerup", z), () => {
2329
- document.removeEventListener("pointermove", S), document.removeEventListener("pointerup", z);
2330
- }), [S, z]), /* @__PURE__ */ i(
2329
+ return B(() => (document.addEventListener("pointermove", N), document.addEventListener("pointerup", w), () => {
2330
+ document.removeEventListener("pointermove", N), document.removeEventListener("pointerup", w);
2331
+ }), [N, w]), /* @__PURE__ */ i(
2331
2332
  "div",
2332
2333
  {
2333
2334
  ref: a,
@@ -2339,13 +2340,13 @@ const gt = u((n) => {
2339
2340
  }
2340
2341
  );
2341
2342
  });
2342
- gt.displayName = "SlideOutHandle";
2343
- const pt = u((n) => {
2343
+ pt.displayName = "SlideOutHandle";
2344
+ const xt = u((n) => {
2344
2345
  const { ref: a, ...t } = n, { open: e, hide: s } = b(fe);
2345
2346
  return e && !s ? /* @__PURE__ */ i("div", { ref: a, "data-open": e, ...t }) : null;
2346
2347
  });
2347
- pt.displayName = "SlideOutOverlay";
2348
- const xt = u((n) => {
2348
+ xt.displayName = "SlideOutOverlay";
2349
+ const ft = u((n) => {
2349
2350
  const {
2350
2351
  ref: a,
2351
2352
  children: t,
@@ -2355,7 +2356,7 @@ const xt = u((n) => {
2355
2356
  modal: r = !1,
2356
2357
  hide: c = !1,
2357
2358
  ...l
2358
- } = n, [d, m] = E(null), [g, p] = X(e, s, o), f = w(
2359
+ } = n, [d, m] = E(null), [g, p] = X(e, s, o), f = z(
2359
2360
  () => ({
2360
2361
  parentElement: d,
2361
2362
  open: g,
@@ -2367,9 +2368,9 @@ const xt = u((n) => {
2367
2368
  );
2368
2369
  return /* @__PURE__ */ i("div", { ref: we([a, m]), ...l, children: /* @__PURE__ */ i(fe, { value: f, children: t }) });
2369
2370
  });
2370
- xt.displayName = "SlideOutRoot";
2371
- const Ga = u((n) => {
2372
- const { ref: a, onClick: t, ...e } = n, { open: s, setOpen: o } = b(fe), r = h(
2371
+ ft.displayName = "SlideOutRoot";
2372
+ const Ea = u((n) => {
2373
+ const { ref: a, onClick: t, ...e } = n, { open: s, setOpen: o } = b(fe), r = v(
2373
2374
  (c) => {
2374
2375
  t == null || t(c), !c.defaultPrevented && o(!s);
2375
2376
  },
@@ -2377,9 +2378,9 @@ const Ga = u((n) => {
2377
2378
  );
2378
2379
  return /* @__PURE__ */ i(me, { ref: a, onClick: r, "data-disabled": n.disabled ?? !1, ...e });
2379
2380
  });
2380
- Ga.displayName = "SlideOutTrigger";
2381
- const ft = u((n) => {
2382
- const { ref: a, ...t } = n, e = U(null), { open: s, modal: o, parentElement: r } = b(fe);
2381
+ Ea.displayName = "SlideOutTrigger";
2382
+ const ht = u((n) => {
2383
+ const { ref: a, ...t } = n, e = q(null), { open: s, modal: o, parentElement: r } = b(fe);
2383
2384
  return B(() => {
2384
2385
  if (!e.current) return;
2385
2386
  const c = e.current, l = c.style.pointerEvents;
@@ -2388,37 +2389,37 @@ const ft = u((n) => {
2388
2389
  };
2389
2390
  }, [o, s, r == null ? void 0 : r.style]), /* @__PURE__ */ i("div", { ref: we([a, e]), ...t });
2390
2391
  });
2391
- ft.displayName = "SlideOutViewport";
2392
+ ht.displayName = "SlideOutViewport";
2392
2393
  const Yc = {
2393
- Close: ut,
2394
- Content: mt,
2395
- Handle: gt,
2396
- Overlay: pt,
2397
- Root: xt,
2398
- Trigger: Ga,
2399
- Viewport: ft
2400
- }, Ea = u((n) => {
2394
+ Close: mt,
2395
+ Content: gt,
2396
+ Handle: pt,
2397
+ Overlay: xt,
2398
+ Root: ft,
2399
+ Trigger: Ea,
2400
+ Viewport: ht
2401
+ }, _a = u((n) => {
2401
2402
  const { ref: a, ...t } = n;
2402
- return /* @__PURE__ */ i(ut, { ref: a, ...t });
2403
+ return /* @__PURE__ */ i(mt, { ref: a, ...t });
2403
2404
  });
2404
- Ea.displayName = "LayoutSlideOutClose";
2405
- const _a = u((n) => {
2405
+ _a.displayName = "LayoutSlideOutClose";
2406
+ const Fa = u((n) => {
2406
2407
  const { ref: a, type: t, ...e } = n, { small: s } = ke();
2407
- return /* @__PURE__ */ i(mt, { ref: a, type: t ?? (s ? "overlay" : "inline"), ...e });
2408
+ return /* @__PURE__ */ i(gt, { ref: a, type: t ?? (s ? "overlay" : "inline"), ...e });
2408
2409
  });
2409
- _a.displayName = "LayoutSlideOutContent";
2410
- const Fa = u((n) => {
2410
+ Fa.displayName = "LayoutSlideOutContent";
2411
+ const Ha = u((n) => {
2411
2412
  const { ref: a, ...t } = n;
2412
- return /* @__PURE__ */ i(gt, { ref: a, ...t });
2413
+ return /* @__PURE__ */ i(pt, { ref: a, ...t });
2413
2414
  });
2414
- Fa.displayName = "LayoutSlideOutHandle";
2415
- const Ha = u((n) => {
2415
+ Ha.displayName = "LayoutSlideOutHandle";
2416
+ const Ba = u((n) => {
2416
2417
  const { ref: a, smallModeOnly: t = !1, ...e } = n, { small: s, hideLayout: o } = ke();
2417
- return w(() => !(o || t && !s), [o, s, t]) ? /* @__PURE__ */ i(pt, { ref: a, ...e }) : null;
2418
+ return z(() => !(o || t && !s), [o, s, t]) ? /* @__PURE__ */ i(xt, { ref: a, ...e }) : null;
2418
2419
  });
2419
- Ha.displayName = "SlideOutOverlay";
2420
- const Ba = u((n) => {
2421
- const { ref: a, slideOutId: t, defaultOpen: e, hide: s, ...o } = n, { isOpen: r, setOpen: c, small: l, hideLayout: d } = ke(), m = r(t), g = h(
2420
+ Ba.displayName = "SlideOutOverlay";
2421
+ const $a = u((n) => {
2422
+ const { ref: a, slideOutId: t, defaultOpen: e, hide: s, ...o } = n, { isOpen: r, setOpen: c, small: l, hideLayout: d } = ke(), m = r(t), g = v(
2422
2423
  (p) => {
2423
2424
  p || c(t, !1);
2424
2425
  },
@@ -2427,7 +2428,7 @@ const Ba = u((n) => {
2427
2428
  return B(() => {
2428
2429
  l && (e == null ? void 0 : e.small) !== void 0 ? c(t, e == null ? void 0 : e.small) : !l && (e == null ? void 0 : e.large) !== void 0 && c(t, e == null ? void 0 : e.large);
2429
2430
  }, [e, t, c, l]), /* @__PURE__ */ i(
2430
- xt,
2431
+ ft,
2431
2432
  {
2432
2433
  ref: a,
2433
2434
  open: m,
@@ -2438,30 +2439,30 @@ const Ba = u((n) => {
2438
2439
  }
2439
2440
  );
2440
2441
  });
2441
- Ba.displayName = "LayoutSlideOutRoot";
2442
- const $a = u((n) => {
2443
- const { ref: a, slideOutId: t, children: e, ...s } = n, { isOpen: o, setOpen: r } = ke(), c = o(t), l = h(() => {
2442
+ $a.displayName = "LayoutSlideOutRoot";
2443
+ const ja = u((n) => {
2444
+ const { ref: a, slideOutId: t, children: e, ...s } = n, { isOpen: o, setOpen: r } = ke(), c = o(t), l = v(() => {
2444
2445
  r(t, !c);
2445
2446
  }, [c, r, t]);
2446
2447
  return /* @__PURE__ */ i(me, { "data-state": pe(c), ref: a, onClick: l, ...s, children: e });
2447
2448
  });
2448
- $a.displayName = "LayoutSlideOutTrigger";
2449
- const ja = u((n) => {
2449
+ ja.displayName = "LayoutSlideOutTrigger";
2450
+ const qa = u((n) => {
2450
2451
  const { ref: a, ...t } = n;
2451
- return /* @__PURE__ */ i(ft, { ref: a, ...t });
2452
+ return /* @__PURE__ */ i(ht, { ref: a, ...t });
2452
2453
  });
2453
- ja.displayName = "LayoutSlideOutViewport";
2454
+ qa.displayName = "LayoutSlideOutViewport";
2454
2455
  const Qc = {
2455
- Root: Aa,
2456
- Container: La,
2457
- SlideOutClose: Ea,
2458
- SlideOutContent: _a,
2459
- SlideOutHandle: Fa,
2460
- SlideOutOverlay: Ha,
2461
- SlideOutRoot: Ba,
2462
- SlideOutTrigger: $a,
2463
- SlideOutViewport: ja
2464
- }, or = v(["cursor-pointer"], {
2456
+ Root: Da,
2457
+ Container: Aa,
2458
+ SlideOutClose: _a,
2459
+ SlideOutContent: Fa,
2460
+ SlideOutHandle: Ha,
2461
+ SlideOutOverlay: Ba,
2462
+ SlideOutRoot: $a,
2463
+ SlideOutTrigger: ja,
2464
+ SlideOutViewport: qa
2465
+ }, or = h(["cursor-pointer"], {
2465
2466
  variants: {
2466
2467
  size: {
2467
2468
  none: ["[font-size:inherit]", "leading-[inherit]"],
@@ -2497,7 +2498,7 @@ const Qc = {
2497
2498
  align: "left"
2498
2499
  }
2499
2500
  }), rr = u((n) => {
2500
- const a = M(), {
2501
+ const a = V(), {
2501
2502
  ref: t,
2502
2503
  children: e,
2503
2504
  className: s,
@@ -2527,7 +2528,7 @@ const Qc = {
2527
2528
  );
2528
2529
  });
2529
2530
  rr.displayName = "Link";
2530
- const cr = v(
2531
+ const cr = h(
2531
2532
  [
2532
2533
  "select-none",
2533
2534
  "relative",
@@ -2567,7 +2568,7 @@ const cr = v(
2567
2568
  variant: "soft"
2568
2569
  }
2569
2570
  }
2570
- ), ir = v(["text-(--base-a10)", "flex", "items-center", "select-none", "py-1"], {
2571
+ ), ir = h(["text-(--base-a10)", "flex", "items-center", "select-none", "py-1"], {
2571
2572
  variants: {
2572
2573
  size: {
2573
2574
  xs: ["gap-1.5", "px-3", "text-xs"],
@@ -2580,7 +2581,7 @@ const cr = v(
2580
2581
  defaultVariants: {
2581
2582
  size: "md"
2582
2583
  }
2583
- }), lr = v(["h-px", "bg-(--base-a6)", "w-auto", "shrink-0"], {
2584
+ }), lr = h(["h-px", "bg-(--base-a6)", "w-auto", "shrink-0"], {
2584
2585
  variants: {
2585
2586
  size: {
2586
2587
  xs: ["-mx-0.5", "my-0.5"],
@@ -2593,7 +2594,7 @@ const cr = v(
2593
2594
  defaultVariants: {
2594
2595
  size: "md"
2595
2596
  }
2596
- }), Ua = v(
2597
+ }), Ua = h(
2597
2598
  [
2598
2599
  "flex",
2599
2600
  "flex-col",
@@ -2630,7 +2631,7 @@ const cr = v(
2630
2631
  size: "md"
2631
2632
  }
2632
2633
  }
2633
- ), dr = v(["overflow-hidden", "touch-manipulation"], {
2634
+ ), dr = h(["overflow-hidden", "touch-manipulation"], {
2634
2635
  variants: {
2635
2636
  modal: {
2636
2637
  true: ["pointer-events-auto"],
@@ -2640,7 +2641,7 @@ const cr = v(
2640
2641
  defaultVariants: {
2641
2642
  modal: !1
2642
2643
  }
2643
- }), ur = v(
2644
+ }), ur = h(
2644
2645
  [
2645
2646
  "flex",
2646
2647
  "items-stretch",
@@ -2666,50 +2667,50 @@ const cr = v(
2666
2667
  size: "md"
2667
2668
  }
2668
2669
  }
2669
- ), J = T({}), ie = T({}), _e = T({}), mr = ["Enter", " "], se = u((n) => {
2670
- const a = b(ie), { getItemProps: t, activeIndex: e, setOpen: s, size: o, variant: r, radius: c } = b(J), { closeRoot: l } = b(_e), {
2670
+ ), J = O({}), ie = O({}), Fe = O({}), mr = ["Enter", " "], se = u((n) => {
2671
+ const a = b(ie), { getItemProps: t, activeIndex: e, setOpen: s, size: o, variant: r, radius: c } = b(J), { closeRoot: l } = b(Fe), {
2671
2672
  ref: d,
2672
2673
  className: m,
2673
2674
  children: g,
2674
2675
  onSelect: p,
2675
2676
  onClick: f,
2676
2677
  onKeyDown: C,
2677
- closeOnSelect: S = !0,
2678
- disabled: z = !1,
2679
- ...N
2680
- } = n, { ref: P, index: L } = Rt(), y = ge([P, d]), V = h(
2678
+ closeOnSelect: N = !0,
2679
+ disabled: w = !1,
2680
+ ...y
2681
+ } = n, { ref: R, index: L } = Tt(), P = ge([R, d]), D = v(
2681
2682
  (_) => {
2682
- _.stopPropagation(), !z && (f == null || f(_), p == null || p(), S && s(!1), l && a.setOpen(!1));
2683
+ _.stopPropagation(), !w && (f == null || f(_), p == null || p(), N && s(!1), l && a.setOpen(!1));
2683
2684
  },
2684
- [S, l, z, a, f, p, s]
2685
- ), A = h(
2685
+ [N, l, w, a, f, p, s]
2686
+ ), T = v(
2686
2687
  (_) => {
2687
- z || (C == null || C(_), mr.includes(_.key) && (p == null || p(), S && s(!1)));
2688
+ w || (C == null || C(_), mr.includes(_.key) && (p == null || p(), N && s(!1)));
2688
2689
  },
2689
- [S, z, C, p, s]
2690
- ), G = w(() => L === e, [e, L]), O = w(() => typeof g == "function" ? g({ active: G, selected: !1 }) : g, [g, G]);
2690
+ [N, w, C, p, s]
2691
+ ), A = z(() => L === e, [e, L]), S = z(() => typeof g == "function" ? g({ active: A, selected: !1 }) : g, [g, A]);
2691
2692
  return /* @__PURE__ */ i(
2692
2693
  "li",
2693
2694
  {
2694
2695
  className: x(cr({ size: o, variant: r }), k({ radius: c, maxLarge: !0 }), m),
2695
- ref: y,
2696
+ ref: P,
2696
2697
  role: "menuitem",
2697
- "data-disabled": Q(z),
2698
- "aria-disabled": z,
2699
- "data-highlighted": G ? "" : void 0,
2698
+ "data-disabled": Q(w),
2699
+ "aria-disabled": w,
2700
+ "data-highlighted": A ? "" : void 0,
2700
2701
  ...t({
2701
- onClick: V,
2702
- onKeyDown: A,
2703
- tabIndex: G ? 0 : -1,
2704
- ...N
2702
+ onClick: D,
2703
+ onKeyDown: T,
2704
+ tabIndex: A ? 0 : -1,
2705
+ ...y
2705
2706
  }),
2706
- children: O
2707
+ children: S
2707
2708
  }
2708
2709
  );
2709
2710
  });
2710
2711
  se.displayName = "MenuItem";
2711
- const qa = u((n) => {
2712
- const { ref: a, checked: t, onCheckedChange: e, onSelect: s, ...o } = n, r = h(() => {
2712
+ const Wa = u((n) => {
2713
+ const { ref: a, checked: t, onCheckedChange: e, onSelect: s, ...o } = n, r = v(() => {
2713
2714
  switch (s == null || s(), t) {
2714
2715
  case !0:
2715
2716
  e(!1);
@@ -2722,13 +2723,13 @@ const qa = u((n) => {
2722
2723
  }, [t, e, s]);
2723
2724
  return /* @__PURE__ */ i(Se.Provider, { value: t, children: /* @__PURE__ */ i(se, { ref: a, onSelect: r, ...o }) });
2724
2725
  });
2725
- qa.displayName = "MenuCheckboxItem";
2726
- const Wa = u((n) => {
2726
+ Wa.displayName = "MenuCheckboxItem";
2727
+ const Ka = u((n) => {
2727
2728
  const { ref: a, children: t, ...e } = n;
2728
- return /* @__PURE__ */ i(De, { ref: a, ...e, children: t });
2729
+ return /* @__PURE__ */ i(Ge, { ref: a, ...e, children: t });
2729
2730
  });
2730
- Wa.displayName = "MenuCheckboxItemIndicator";
2731
- const Ka = u((n) => {
2731
+ Ka.displayName = "MenuCheckboxItemIndicator";
2732
+ const Xa = u((n) => {
2732
2733
  const { ref: a, children: t, disabled: e = !1 } = n, { getReferenceProps: s, refs: o, setTriggerType: r, open: c } = b(ie), l = ge([o.setReference, a]);
2733
2734
  return B(() => {
2734
2735
  r("click");
@@ -2744,10 +2745,10 @@ const Ka = u((n) => {
2744
2745
  }
2745
2746
  );
2746
2747
  });
2747
- Ka.displayName = "MenuClickTrigger";
2748
- const Xa = u((n) => {
2749
- var R;
2750
- const a = M(), {
2748
+ Xa.displayName = "MenuClickTrigger";
2749
+ const Ya = u((n) => {
2750
+ var M;
2751
+ const a = V(), {
2751
2752
  ref: t,
2752
2753
  className: e,
2753
2754
  children: s,
@@ -2762,68 +2763,68 @@ const Xa = u((n) => {
2762
2763
  middlewareData: p,
2763
2764
  elementsRef: f,
2764
2765
  activeIndex: C,
2765
- setActiveIndex: S,
2766
- getItemProps: z,
2767
- open: N,
2768
- setOpen: P,
2766
+ setActiveIndex: N,
2767
+ getItemProps: w,
2768
+ open: y,
2769
+ setOpen: R,
2769
2770
  nodeId: L,
2770
- context: y,
2771
- floatingStyles: V,
2772
- modal: A,
2773
- side: G
2774
- } = b(ie), O = w(() => {
2771
+ context: P,
2772
+ floatingStyles: D,
2773
+ modal: T,
2774
+ side: A
2775
+ } = b(ie), S = z(() => {
2775
2776
  var I;
2776
2777
  return {
2777
- ...V,
2778
+ ...D,
2778
2779
  visibility: (I = p.hide) != null && I.referenceHidden ? "hidden" : "visible"
2779
2780
  };
2780
- }, [V, (R = p.hide) == null ? void 0 : R.referenceHidden]), _ = h(
2781
+ }, [D, (M = p.hide) == null ? void 0 : M.referenceHidden]), _ = v(
2781
2782
  (I) => {
2782
- A && bo(I);
2783
+ T && Co(I);
2783
2784
  },
2784
- [A]
2785
- ), ee = w(
2785
+ [T]
2786
+ ), ee = z(
2786
2787
  () => ({
2787
- getItemProps: z,
2788
+ getItemProps: w,
2788
2789
  activeIndex: C,
2789
2790
  elementsRef: f,
2790
- open: N,
2791
- setOpen: P,
2791
+ open: y,
2792
+ setOpen: R,
2792
2793
  refs: m,
2793
- setActiveIndex: S,
2794
+ setActiveIndex: N,
2794
2795
  size: o,
2795
2796
  variant: r,
2796
2797
  accentColor: l,
2797
2798
  radius: c
2798
2799
  }),
2799
2800
  [
2800
- z,
2801
+ w,
2801
2802
  C,
2802
2803
  f,
2803
- N,
2804
- P,
2804
+ y,
2805
+ R,
2805
2806
  m,
2806
- S,
2807
+ N,
2807
2808
  o,
2808
2809
  r,
2809
2810
  l,
2810
2811
  c
2811
2812
  ]
2812
2813
  );
2813
- return /* @__PURE__ */ i(Tt, { id: L, children: N && /* @__PURE__ */ i(Pt, { children: /* @__PURE__ */ i(
2814
- Zs,
2814
+ return /* @__PURE__ */ i(Pt, { id: L, children: y && /* @__PURE__ */ i(Mt, { children: /* @__PURE__ */ i(
2815
+ eo,
2815
2816
  {
2816
- className: dr({ modal: A }),
2817
+ className: dr({ modal: T }),
2817
2818
  onClick: _,
2818
2819
  lockScroll: !0,
2819
2820
  "data-floating-content": "",
2820
- children: /* @__PURE__ */ i(Mt, { context: y, children: /* @__PURE__ */ i(Ot, { elementsRef: f, children: /* @__PURE__ */ i(J.Provider, { value: ee, children: /* @__PURE__ */ i(
2821
+ children: /* @__PURE__ */ i(Ot, { context: P, children: /* @__PURE__ */ i(Vt, { elementsRef: f, children: /* @__PURE__ */ i(J.Provider, { value: ee, children: /* @__PURE__ */ i(
2821
2822
  "div",
2822
2823
  {
2823
2824
  className: "border-box w-max outline-none",
2824
2825
  ref: m.setFloating,
2825
2826
  tabIndex: -1,
2826
- style: O,
2827
+ style: S,
2827
2828
  "data-floating-content": "",
2828
2829
  ...g(),
2829
2830
  children: /* @__PURE__ */ i(
@@ -2831,14 +2832,15 @@ const Xa = u((n) => {
2831
2832
  {
2832
2833
  className: x(
2833
2834
  Ua({ size: o }),
2834
- Ve({ side: G, shadow: "3" }),
2835
+ Ve({ side: A }),
2836
+ Le({ size: "md" }),
2835
2837
  k({ radius: c, maxLarge: !0 }),
2836
2838
  "max-h-(--overmap-menu-available-height)",
2837
2839
  e
2838
2840
  ),
2839
2841
  ref: t,
2840
- "data-state": pe(N),
2841
- "data-side": G,
2842
+ "data-state": pe(y),
2843
+ "data-side": A,
2842
2844
  "data-accent-color": l,
2843
2845
  ...d,
2844
2846
  children: s
@@ -2849,13 +2851,13 @@ const Xa = u((n) => {
2849
2851
  }
2850
2852
  ) }) });
2851
2853
  });
2852
- Xa.displayName = "Menu.Content";
2853
- const Ya = u((n) => {
2854
- const { ref: a, children: t, disabled: e = !1 } = n, s = U(null), { setOpen: o, refs: r, setTriggerType: c, open: l } = b(ie), d = ge([a, s]);
2854
+ Ya.displayName = "Menu.Content";
2855
+ const Qa = u((n) => {
2856
+ const { ref: a, children: t, disabled: e = !1 } = n, s = q(null), { setOpen: o, refs: r, setTriggerType: c, open: l } = b(ie), d = ge([a, s]);
2855
2857
  B(() => {
2856
2858
  c("context");
2857
2859
  }, [c]);
2858
- const m = h(
2860
+ const m = v(
2859
2861
  (g) => {
2860
2862
  const { clientY: p, clientX: f } = g;
2861
2863
  !e && s.current && (g.preventDefault(), r.setPositionReference({
@@ -2889,14 +2891,14 @@ const Ya = u((n) => {
2889
2891
  }
2890
2892
  );
2891
2893
  });
2892
- Ya.displayName = "MenuContextTrigger";
2893
- const Fe = u((n) => {
2894
+ Qa.displayName = "MenuContextTrigger";
2895
+ const He = u((n) => {
2894
2896
  const { ref: a, children: t, ...e } = n;
2895
2897
  return /* @__PURE__ */ i("div", { ref: a, role: "group", ...e, children: t });
2896
2898
  });
2897
- Fe.displayName = "MenuGroup";
2898
- const Qa = u((n) => {
2899
- const { ref: a, className: t, onValueChange: e, onChange: s, disabled: o = !1, ...r } = n, { activeIndex: c, getItemProps: l } = b(J), { index: d, ref: m } = Rt(), g = ge([m, a]), p = h(
2899
+ He.displayName = "MenuGroup";
2900
+ const Ja = u((n) => {
2901
+ const { ref: a, className: t, onValueChange: e, onChange: s, disabled: o = !1, ...r } = n, { activeIndex: c, getItemProps: l } = b(J), { index: d, ref: m } = Tt(), g = ge([m, a]), p = v(
2900
2902
  (f) => {
2901
2903
  s == null || s(f), e == null || e(f.target.value);
2902
2904
  },
@@ -2919,31 +2921,31 @@ const Qa = u((n) => {
2919
2921
  }
2920
2922
  );
2921
2923
  });
2922
- Qa.displayName = "MenuInputField";
2923
- const Ja = u((n) => {
2924
+ Ja.displayName = "MenuInputField";
2925
+ const Za = u((n) => {
2924
2926
  const { ref: a, className: t, ...e } = n, { size: s } = b(J);
2925
2927
  return /* @__PURE__ */ i("div", { className: x(ur({ size: s }), t), ref: a, ...e });
2926
2928
  });
2927
- Ja.displayName = "MenuInputRoot";
2928
- const Za = u((n) => {
2929
+ Za.displayName = "MenuInputRoot";
2930
+ const en = u((n) => {
2929
2931
  const { ref: a, className: t, ...e } = n;
2930
2932
  return /* @__PURE__ */ i("div", { className: x("flex", "items-center", "text-(--base-a11)", t), ref: a, ...e });
2931
2933
  });
2932
- Za.displayName = "MenuInputSlot";
2933
- const en = u((n) => {
2934
+ en.displayName = "MenuInputSlot";
2935
+ const tn = u((n) => {
2934
2936
  const { ref: a, className: t, ...e } = n, { size: s } = b(J);
2935
2937
  return /* @__PURE__ */ i("div", { ref: a, className: x(ir({ size: s }), t), ...e });
2936
2938
  });
2937
- en.displayName = "MenuLabel";
2939
+ tn.displayName = "MenuLabel";
2938
2940
  const gr = F(function(a) {
2939
2941
  const { ref: t, children: e, defaultValues: s, values: o, onValuesChange: r, ...c } = a;
2940
- return /* @__PURE__ */ i(Fe, { ref: t, ...c, children: /* @__PURE__ */ i(Ae, { defaultValues: s, values: o, onValuesChange: r, children: e }) });
2942
+ return /* @__PURE__ */ i(He, { ref: t, ...c, children: /* @__PURE__ */ i(De, { defaultValues: s, values: o, onValuesChange: r, children: e }) });
2941
2943
  }), pr = F(function(n) {
2942
2944
  const { ref: a, onSelect: t, children: e, closeOnSelect: s = !1, value: o, ...r } = n, { selected: c, selectValue: l, registerValue: d } = b(Z);
2943
2945
  ue(() => d(o), [d, o]);
2944
- const m = c(o), g = h(() => {
2946
+ const m = c(o), g = v(() => {
2945
2947
  t == null || t(), l(o);
2946
- }, [t, l, o]), p = w(() => typeof e == "function" ? ({ active: f }) => e({ selected: m, active: f }) : e, [e, m]);
2948
+ }, [t, l, o]), p = z(() => typeof e == "function" ? ({ active: f }) => e({ selected: m, active: f }) : e, [e, m]);
2947
2949
  return /* @__PURE__ */ i(xe.Provider, { value: m, children: /* @__PURE__ */ i(
2948
2950
  se,
2949
2951
  {
@@ -2956,25 +2958,25 @@ const gr = F(function(a) {
2956
2958
  children: p
2957
2959
  }
2958
2960
  ) });
2959
- }), ht = T({}), tn = u((n) => {
2960
- const { page: a, children: t } = n, { activePage: e } = b(ht);
2961
+ }), vt = O({}), an = u((n) => {
2962
+ const { page: a, children: t } = n, { activePage: e } = b(vt);
2961
2963
  return e === a ? t : null;
2962
2964
  });
2963
- tn.displayName = "PageContent";
2964
- const an = u((n) => {
2965
- const { children: a, defaultPage: t, page: e, onPageChange: s } = n, [o, r] = X(t ?? "", e, s), c = w(() => ({ activePage: o, setActivePage: r }), [o, r]);
2966
- return /* @__PURE__ */ i(ht.Provider, { value: c, children: a });
2967
- });
2968
- an.displayName = "MenuPages";
2965
+ an.displayName = "PageContent";
2969
2966
  const nn = u((n) => {
2970
- const { ref: a, onSelect: t, page: e, ...s } = n, { refs: o, setActiveIndex: r } = b(J), { setActivePage: c } = b(ht), l = h(() => {
2967
+ const { children: a, defaultPage: t, page: e, onPageChange: s } = n, [o, r] = X(t ?? "", e, s), c = z(() => ({ activePage: o, setActivePage: r }), [o, r]);
2968
+ return /* @__PURE__ */ i(vt.Provider, { value: c, children: a });
2969
+ });
2970
+ nn.displayName = "MenuPages";
2971
+ const sn = u((n) => {
2972
+ const { ref: a, onSelect: t, page: e, ...s } = n, { refs: o, setActiveIndex: r } = b(J), { setActivePage: c } = b(vt), l = v(() => {
2971
2973
  var d;
2972
2974
  t == null || t(), c(e), (d = o.floating.current) == null || d.focus(), r(null);
2973
2975
  }, [t, e, o.floating, r, c]);
2974
2976
  return /* @__PURE__ */ i(se, { ref: a, onSelect: l, closeOnSelect: !1, ...s });
2975
2977
  });
2976
- nn.displayName = "MenuPageTrigger";
2977
- const Me = 20, Y = 8, sn = 250, xr = 5, on = u((n) => {
2978
+ sn.displayName = "MenuPageTrigger";
2979
+ const Me = 20, Y = 8, on = 250, xr = 5, rn = u((n) => {
2978
2980
  const {
2979
2981
  children: a,
2980
2982
  side: t = "bottom",
@@ -2986,88 +2988,88 @@ const Me = 20, Y = 8, sn = 250, xr = 5, on = u((n) => {
2986
2988
  open: c,
2987
2989
  onOpenChange: l,
2988
2990
  defaultOpen: d
2989
- } = n, [m, g] = X(d ?? !1, c, l), [p, f] = E(null), [C, S] = E(null), z = U([]), N = Vt(), { refs: P, floatingStyles: L, context: y, middlewareData: V } = Lt({
2990
- nodeId: N,
2991
+ } = n, [m, g] = X(d ?? !1, c, l), [p, f] = E(null), [C, N] = E(null), w = q([]), y = Lt(), { refs: R, floatingStyles: L, context: P, middlewareData: D } = At({
2992
+ nodeId: y,
2991
2993
  strategy: "fixed",
2992
2994
  // TODO: probably some way with template string types to not need the "as Placement"
2993
2995
  placement: t + (e !== "center" ? "-" + e : ""),
2994
- whileElementsMounted: Ft,
2996
+ whileElementsMounted: Ht,
2995
2997
  open: m,
2996
2998
  onOpenChange: g,
2997
2999
  middleware: [
2998
- At({ mainAxis: s ?? xr }),
2999
- Dt({
3000
+ Dt({ mainAxis: s ?? xr }),
3001
+ Gt({
3000
3002
  apply({ availableHeight: he, elements: ve }) {
3001
3003
  ve.floating.style.setProperty(
3002
3004
  "--overmap-menu-available-height",
3003
- `${Math.max(he, sn)}px`
3005
+ `${Math.max(he, on)}px`
3004
3006
  );
3005
3007
  },
3006
3008
  padding: Me
3007
3009
  }),
3008
- Gt({ fallbackStrategy: "initialPlacement" }),
3009
- Et({ padding: Me }),
3010
- _t()
3010
+ Et({ fallbackStrategy: "initialPlacement" }),
3011
+ _t({ padding: Me }),
3012
+ Ft()
3011
3013
  ]
3012
- }), A = eo(y, {
3014
+ }), T = to(P, {
3013
3015
  role: "menu"
3014
- }), G = Ht(y, {
3016
+ }), A = Bt(P, {
3015
3017
  capture: !0,
3016
3018
  ancestorScroll: C === "context" || C === "virtual"
3017
- }), O = Bt(y, {
3019
+ }), S = $t(P, {
3018
3020
  enabled: C === "click"
3019
- }), _ = $t(y, {
3020
- listRef: z,
3021
+ }), _ = jt(P, {
3022
+ listRef: w,
3021
3023
  activeIndex: p,
3022
3024
  onNavigate: f,
3023
3025
  loop: o
3024
- }), { getFloatingProps: ee, getItemProps: R, getReferenceProps: I } = jt([
3025
- G,
3026
+ }), { getFloatingProps: ee, getItemProps: M, getReferenceProps: I } = qt([
3027
+ A,
3026
3028
  _,
3027
- O,
3028
- A
3029
- ]), D = w(
3029
+ S,
3030
+ T
3031
+ ]), G = z(
3030
3032
  () => ({
3031
3033
  open: m,
3032
3034
  setOpen: g,
3033
- refs: P,
3034
- context: y,
3035
+ refs: R,
3036
+ context: P,
3035
3037
  floatingStyles: L,
3036
- elementsRef: z,
3038
+ elementsRef: w,
3037
3039
  getFloatingProps: ee,
3038
- getItemProps: R,
3040
+ getItemProps: M,
3039
3041
  getReferenceProps: I,
3040
- nodeId: N,
3042
+ nodeId: y,
3041
3043
  activeIndex: p,
3042
3044
  setActiveIndex: f,
3043
- middlewareData: V,
3045
+ middlewareData: D,
3044
3046
  side: t,
3045
3047
  modal: r,
3046
- setTriggerType: S
3048
+ setTriggerType: N
3047
3049
  }),
3048
3050
  [
3049
3051
  m,
3050
3052
  g,
3053
+ R,
3051
3054
  P,
3052
- y,
3053
3055
  L,
3054
- z,
3056
+ w,
3055
3057
  ee,
3056
- R,
3058
+ M,
3057
3059
  I,
3058
- N,
3060
+ y,
3059
3061
  p,
3060
3062
  f,
3061
- V,
3063
+ D,
3062
3064
  t,
3063
3065
  r,
3064
- S
3066
+ N
3065
3067
  ]
3066
3068
  );
3067
- return /* @__PURE__ */ i(to, { children: /* @__PURE__ */ i(ie.Provider, { value: D, children: a }) });
3069
+ return /* @__PURE__ */ i(ao, { children: /* @__PURE__ */ i(ie.Provider, { value: G, children: a }) });
3068
3070
  });
3069
- on.displayName = "Root";
3070
- const rn = u((n) => {
3071
+ rn.displayName = "Root";
3072
+ const cn = u((n) => {
3071
3073
  const { ref: a, className: t, ...e } = n;
3072
3074
  return /* @__PURE__ */ i(
3073
3075
  "div",
@@ -3081,11 +3083,11 @@ const rn = u((n) => {
3081
3083
  }
3082
3084
  );
3083
3085
  });
3084
- rn.displayName = "MenuScroll";
3086
+ cn.displayName = "MenuScroll";
3085
3087
  const fr = F((n) => {
3086
- const { ref: a, children: t, onSelect: e, closeOnSelect: s = !1, ...o } = n, { allSelected: r, someSelected: c, toggleSelectAll: l } = b(Z), d = r ? !0 : c ? "indeterminate" : !1, m = h(() => {
3088
+ const { ref: a, children: t, onSelect: e, closeOnSelect: s = !1, ...o } = n, { allSelected: r, someSelected: c, toggleSelectAll: l } = b(Z), d = r ? !0 : c ? "indeterminate" : !1, m = v(() => {
3087
3089
  e == null || e(), l();
3088
- }, [e, l]), g = w(() => typeof t == "function" ? ({ active: p }) => t({ selected: d, active: p }) : t, [t, d]);
3090
+ }, [e, l]), g = z(() => typeof t == "function" ? ({ active: p }) => t({ selected: d, active: p }) : t, [t, d]);
3089
3091
  return /* @__PURE__ */ i(Se, { value: d, children: /* @__PURE__ */ i(
3090
3092
  se,
3091
3093
  {
@@ -3097,15 +3099,15 @@ const fr = F((n) => {
3097
3099
  children: g
3098
3100
  }
3099
3101
  ) });
3100
- }), cn = u((n) => {
3102
+ }), ln = u((n) => {
3101
3103
  const { ref: a, children: t, ...e } = n;
3102
- return /* @__PURE__ */ i(Ee, { ref: a, ...e, children: t });
3104
+ return /* @__PURE__ */ i(_e, { ref: a, ...e, children: t });
3103
3105
  });
3104
- cn.displayName = "MenuSelectedIndicator";
3106
+ ln.displayName = "MenuSelectedIndicator";
3105
3107
  const hr = F(function(a) {
3106
3108
  const { ref: t, children: e, required: s, defaultValue: o, value: r, onValueChange: c, ...l } = a;
3107
- return /* @__PURE__ */ i(Fe, { ref: t, ...l, children: s ? /* @__PURE__ */ i(st, { defaultValue: o, value: r, onValueChange: c, children: e }) : /* @__PURE__ */ i(
3108
- ot,
3109
+ return /* @__PURE__ */ i(He, { ref: t, ...l, children: s ? /* @__PURE__ */ i(ot, { defaultValue: o, value: r, onValueChange: c, children: e }) : /* @__PURE__ */ i(
3110
+ rt,
3109
3111
  {
3110
3112
  defaultValue: o,
3111
3113
  value: r,
@@ -3114,9 +3116,9 @@ const hr = F(function(a) {
3114
3116
  }
3115
3117
  ) });
3116
3118
  }), vr = F(function(n) {
3117
- const { ref: a, value: t, onSelect: e, children: s, closeOnSelect: o = !0, ...r } = n, { selected: c, selectValue: l } = b(Ne), d = c(t), m = h(() => {
3119
+ const { ref: a, value: t, onSelect: e, children: s, closeOnSelect: o = !0, ...r } = n, { selected: c, selectValue: l } = b(Ne), d = c(t), m = v(() => {
3118
3120
  e == null || e(), l(t);
3119
- }, [e, l, t]), g = w(() => typeof s == "function" ? ({ active: p }) => s({ selected: d, active: p }) : s, [s, d]);
3121
+ }, [e, l, t]), g = z(() => typeof s == "function" ? ({ active: p }) => s({ selected: d, active: p }) : s, [s, d]);
3120
3122
  return /* @__PURE__ */ i(xe.Provider, { value: d, children: /* @__PURE__ */ i(
3121
3123
  se,
3122
3124
  {
@@ -3129,17 +3131,17 @@ const hr = F(function(a) {
3129
3131
  children: g
3130
3132
  }
3131
3133
  ) });
3132
- }), ln = u((n) => {
3134
+ }), dn = u((n) => {
3133
3135
  const { ref: a, className: t, ...e } = n, { size: s } = b(J);
3134
- return /* @__PURE__ */ i(Je.Root, { className: x(lr({ size: s }), t), ref: a, ...e });
3136
+ return /* @__PURE__ */ i(Ze.Root, { className: x(lr({ size: s }), t), ref: a, ...e });
3135
3137
  });
3136
- ln.displayName = "MenuSeparator";
3138
+ dn.displayName = "MenuSeparator";
3137
3139
  const br = { mainAxis: Y + 1, crossAxis: 0 }, Cr = {
3138
3140
  "right-start": { mainAxis: Y + 1, crossAxis: -Y },
3139
3141
  "right-end": { mainAxis: Y + 1, crossAxis: Y },
3140
3142
  "left-start": { mainAxis: Y + 1, crossAxis: -Y },
3141
3143
  "left-end": { mainAxis: Y + 1, crossAxis: Y }
3142
- }, yr = (n, a) => Cr[`${n}-${a}`] ?? br, dn = u((n) => {
3144
+ }, yr = (n, a) => Cr[`${n}-${a}`] ?? br, un = u((n) => {
3143
3145
  const {
3144
3146
  children: a,
3145
3147
  disabled: t = !1,
@@ -3152,69 +3154,69 @@ const br = { mainAxis: Y + 1, crossAxis: 0 }, Cr = {
3152
3154
  open: l,
3153
3155
  onOpenChange: d,
3154
3156
  defaultOpen: m
3155
- } = n, [g, p] = X(m ?? !1, l, d), f = Vt(), { refs: C, floatingStyles: S, context: z } = Lt({
3157
+ } = n, [g, p] = X(m ?? !1, l, d), f = Lt(), { refs: C, floatingStyles: N, context: w } = At({
3156
3158
  nodeId: f,
3157
3159
  strategy: "fixed",
3158
- whileElementsMounted: Ft,
3160
+ whileElementsMounted: Ht,
3159
3161
  open: g,
3160
- onOpenChange: (R, I, D) => {
3161
- D && p(R);
3162
+ onOpenChange: (M, I, G) => {
3163
+ G && p(M);
3162
3164
  },
3163
3165
  placement: e + (s !== "center" ? "-" + s : ""),
3164
3166
  middleware: [
3165
- At({ ...yr(e, s) }),
3166
- Dt({
3167
+ Dt({ ...yr(e, s) }),
3168
+ Gt({
3167
3169
  padding: Me,
3168
- apply({ availableHeight: R, elements: I }) {
3170
+ apply({ availableHeight: M, elements: I }) {
3169
3171
  I.floating.style.setProperty(
3170
3172
  "--overmap-menu-available-height",
3171
- `${Math.max(R, sn)}px`
3173
+ `${Math.max(M, on)}px`
3172
3174
  );
3173
3175
  }
3174
3176
  }),
3175
- Gt(),
3176
- Et({ padding: Me }),
3177
- _t()
3177
+ Et(),
3178
+ _t({ padding: Me }),
3179
+ Ft()
3178
3180
  ]
3179
- }), N = Ht(z, {
3181
+ }), y = Bt(w, {
3180
3182
  bubbles: o,
3181
3183
  outsidePress: o
3182
- }), P = ao(z, {
3184
+ }), R = no(w, {
3183
3185
  restMs: 50,
3184
- handleClose: no({
3186
+ handleClose: so({
3185
3187
  blockPointerEvents: !0,
3186
3188
  requireIntent: !1
3187
3189
  }),
3188
3190
  enabled: !t
3189
- }), L = Bt(z, {
3191
+ }), L = $t(w, {
3190
3192
  enabled: !t
3191
- }), y = U([]), [V, A] = E(null), G = $t(z, {
3192
- listRef: y,
3193
+ }), P = q([]), [D, T] = E(null), A = jt(w, {
3194
+ listRef: P,
3193
3195
  nested: !0,
3194
- activeIndex: V,
3195
- onNavigate: A,
3196
+ activeIndex: D,
3197
+ onNavigate: T,
3196
3198
  loop: r,
3197
3199
  rtl: e === "left"
3198
- }), { getFloatingProps: O, getItemProps: _, getReferenceProps: ee } = jt([
3199
- G,
3200
- N,
3201
- P,
3200
+ }), { getFloatingProps: S, getItemProps: _, getReferenceProps: ee } = qt([
3201
+ A,
3202
+ y,
3203
+ R,
3202
3204
  L
3203
3205
  ]);
3204
3206
  return /* @__PURE__ */ i(
3205
- _e.Provider,
3207
+ Fe.Provider,
3206
3208
  {
3207
3209
  value: {
3208
3210
  open: g,
3209
3211
  setOpen: p,
3210
3212
  nodeId: f,
3211
3213
  refs: C,
3212
- floatingStyles: S,
3213
- context: z,
3214
- elementsRef: y,
3215
- activeIndex: V,
3216
- setActiveIndex: A,
3217
- getFloatingProps: O,
3214
+ floatingStyles: N,
3215
+ context: w,
3216
+ elementsRef: P,
3217
+ activeIndex: D,
3218
+ setActiveIndex: T,
3219
+ getFloatingProps: S,
3218
3220
  getItemProps: _,
3219
3221
  getReferenceProps: ee,
3220
3222
  disabled: t,
@@ -3226,9 +3228,9 @@ const br = { mainAxis: Y + 1, crossAxis: 0 }, Cr = {
3226
3228
  }
3227
3229
  );
3228
3230
  });
3229
- dn.displayName = "SubMenu";
3230
- const un = u((n) => {
3231
- var O;
3231
+ un.displayName = "SubMenu";
3232
+ const mn = u((n) => {
3233
+ var S;
3232
3234
  const { ref: a, children: t, ...e } = n, { middlewareData: s } = b(ie), { accentColor: o, radius: r, variant: c, size: l } = b(J), {
3233
3235
  open: d,
3234
3236
  nodeId: m,
@@ -3236,27 +3238,27 @@ const un = u((n) => {
3236
3238
  context: p,
3237
3239
  getFloatingProps: f,
3238
3240
  getItemProps: C,
3239
- activeIndex: S,
3240
- setActiveIndex: z,
3241
- elementsRef: N,
3242
- floatingStyles: P,
3241
+ activeIndex: N,
3242
+ setActiveIndex: w,
3243
+ elementsRef: y,
3244
+ floatingStyles: R,
3243
3245
  setOpen: L,
3244
- side: y
3245
- } = b(_e), V = U(null), A = ge([g.setFloating, V]), G = w(() => {
3246
+ side: P
3247
+ } = b(Fe), D = q(null), T = ge([g.setFloating, D]), A = z(() => {
3246
3248
  var _;
3247
3249
  return {
3248
- ...P,
3250
+ ...R,
3249
3251
  visibility: (_ = s.hide) != null && _.referenceHidden ? "hidden" : "visible"
3250
3252
  };
3251
- }, [P, (O = s.hide) == null ? void 0 : O.referenceHidden]);
3252
- return /* @__PURE__ */ i(Tt, { id: m, children: d && /* @__PURE__ */ i(Pt, { children: /* @__PURE__ */ i(Mt, { context: p, initialFocus: V, children: /* @__PURE__ */ i(Ot, { elementsRef: N, children: /* @__PURE__ */ i(
3253
+ }, [R, (S = s.hide) == null ? void 0 : S.referenceHidden]);
3254
+ return /* @__PURE__ */ i(Pt, { id: m, children: d && /* @__PURE__ */ i(Mt, { children: /* @__PURE__ */ i(Ot, { context: p, initialFocus: D, children: /* @__PURE__ */ i(Vt, { elementsRef: y, children: /* @__PURE__ */ i(
3253
3255
  J.Provider,
3254
3256
  {
3255
3257
  value: {
3256
3258
  getItemProps: C,
3257
- activeIndex: S,
3258
- setActiveIndex: z,
3259
- elementsRef: N,
3259
+ activeIndex: N,
3260
+ setActiveIndex: w,
3261
+ elementsRef: y,
3260
3262
  open: d,
3261
3263
  setOpen: L,
3262
3264
  refs: g,
@@ -3269,8 +3271,8 @@ const un = u((n) => {
3269
3271
  "div",
3270
3272
  {
3271
3273
  className: "outline-none",
3272
- ref: A,
3273
- style: G,
3274
+ ref: T,
3275
+ style: A,
3274
3276
  ...f(),
3275
3277
  children: /* @__PURE__ */ i(
3276
3278
  "ul",
@@ -3278,13 +3280,14 @@ const un = u((n) => {
3278
3280
  className: x(
3279
3281
  "overmap-menu-sub-content",
3280
3282
  Ua({ size: l }),
3281
- Ve({ side: y, shadow: "3" }),
3283
+ Ve({ side: P }),
3284
+ Le({ size: "md" }),
3282
3285
  k({ radius: r, maxLarge: !0 }),
3283
3286
  "max-h-(--overmap-menu-available-height)"
3284
3287
  ),
3285
3288
  ref: a,
3286
3289
  "data-state": pe(d),
3287
- "data-side": y,
3290
+ "data-side": P,
3288
3291
  "data-accent-color": o,
3289
3292
  ...e,
3290
3293
  children: t
@@ -3295,9 +3298,9 @@ const un = u((n) => {
3295
3298
  }
3296
3299
  ) }) }) }) });
3297
3300
  });
3298
- un.displayName = "MenuSubContent";
3299
- const mn = u((n) => {
3300
- const { ref: a, children: t, ...e } = n, { refs: s, getReferenceProps: o, open: r, disabled: c } = b(_e), l = ge([a, s.setReference]);
3301
+ mn.displayName = "MenuSubContent";
3302
+ const gn = u((n) => {
3303
+ const { ref: a, children: t, ...e } = n, { refs: s, getReferenceProps: o, open: r, disabled: c } = b(Fe), l = ge([a, s.setReference]);
3301
3304
  return /* @__PURE__ */ i(
3302
3305
  se,
3303
3306
  {
@@ -3311,8 +3314,8 @@ const mn = u((n) => {
3311
3314
  }
3312
3315
  );
3313
3316
  });
3314
- mn.displayName = "MenuSubTrigger";
3315
- const gn = u((n) => {
3317
+ gn.displayName = "MenuSubTrigger";
3318
+ const pn = u((n) => {
3316
3319
  const { virtualElement: a, disabled: t } = n, { refs: e, setTriggerType: s, setOpen: o } = b(ie);
3317
3320
  return B(() => {
3318
3321
  s("virtual");
@@ -3320,24 +3323,24 @@ const gn = u((n) => {
3320
3323
  !t && a ? (e.setPositionReference(a), o(!0)) : (e.setPositionReference(null), o(!1));
3321
3324
  }, [t, e, o, a]), null;
3322
3325
  });
3323
- gn.displayName = "VirtualTrigger";
3326
+ pn.displayName = "VirtualTrigger";
3324
3327
  const Jc = {
3325
- Root: on,
3326
- Content: Xa,
3328
+ Root: rn,
3329
+ Content: Ya,
3327
3330
  // sub
3328
- Sub: dn,
3329
- SubContent: un,
3330
- SubTrigger: mn,
3331
+ Sub: un,
3332
+ SubContent: mn,
3333
+ SubTrigger: gn,
3331
3334
  // pages
3332
- Pages: an,
3333
- PageContent: tn,
3334
- PageTrigger: nn,
3335
+ Pages: nn,
3336
+ PageContent: an,
3337
+ PageTrigger: sn,
3335
3338
  // triggers
3336
- ClickTrigger: Ka,
3337
- ContextTrigger: Ya,
3338
- VirtualTrigger: gn,
3339
+ ClickTrigger: Xa,
3340
+ ContextTrigger: Qa,
3341
+ VirtualTrigger: pn,
3339
3342
  // groups
3340
- Group: Fe,
3343
+ Group: He,
3341
3344
  SelectGroup: hr,
3342
3345
  MultiSelectGroup: gr,
3343
3346
  // items
@@ -3345,25 +3348,25 @@ const Jc = {
3345
3348
  SelectItem: vr,
3346
3349
  MultiSelectItem: pr,
3347
3350
  SelectAllItem: fr,
3348
- CheckboxItem: qa,
3351
+ CheckboxItem: Wa,
3349
3352
  // indicators
3350
- SelectedIndicator: cn,
3351
- CheckboxItemIndicator: Wa,
3353
+ SelectedIndicator: ln,
3354
+ CheckboxItemIndicator: Ka,
3352
3355
  // input
3353
- InputRoot: Ja,
3354
- InputField: Qa,
3355
- InputSlot: Za,
3356
+ InputRoot: Za,
3357
+ InputField: Ja,
3358
+ InputSlot: en,
3356
3359
  // others
3357
- Label: en,
3358
- Separator: ln,
3359
- Scroll: rn
3360
+ Label: tn,
3361
+ Separator: dn,
3362
+ Scroll: cn
3360
3363
  }, Ce = {
3361
3364
  next: "ArrowDown",
3362
3365
  prev: "ArrowUp",
3363
3366
  first: "PageUp",
3364
3367
  last: "PageDown",
3365
3368
  selectItem: "Enter"
3366
- }, te = "menu-item", Ke = "menu-group", He = T({}), pn = T({}), vt = T({}), zr = v(["w-full", "outline-none"], {
3369
+ }, te = "menu-item", Xe = "menu-group", Be = O({}), xn = O({}), bt = O({}), zr = h(["w-full", "outline-none"], {
3367
3370
  variants: {
3368
3371
  size: {
3369
3372
  xs: ["p-0.5", "text-xs", "min-w-30"],
@@ -3382,7 +3385,7 @@ const Jc = {
3382
3385
  full: ["rounded-lg"]
3383
3386
  }
3384
3387
  }
3385
- }), Nr = v(
3388
+ }), Nr = h(
3386
3389
  [
3387
3390
  "select-none",
3388
3391
  "relative",
@@ -3417,7 +3420,7 @@ const Jc = {
3417
3420
  }
3418
3421
  }
3419
3422
  }
3420
- ), wr = v(["text-(--base-a11)", "flex", "items-center", "select-none", "py-1"], {
3423
+ ), wr = h(["text-(--base-a11)", "flex", "items-center", "select-none", "py-1"], {
3421
3424
  variants: {
3422
3425
  size: {
3423
3426
  xs: ["gap-1.5", "px-3", "text-xs"],
@@ -3427,7 +3430,7 @@ const Jc = {
3427
3430
  xl: ["gap-2.5", "px-5", "text-lg"]
3428
3431
  }
3429
3432
  }
3430
- }), Ir = v(["h-px", "bg-(--base-a6)", "w-auto", "shrink-0"], {
3433
+ }), Ir = h(["h-px", "bg-(--base-a6)", "w-auto", "shrink-0"], {
3431
3434
  variants: {
3432
3435
  size: {
3433
3436
  xs: ["-mx-0.5", "my-0.5"],
@@ -3449,50 +3452,50 @@ const Jc = {
3449
3452
  onPointerLeave: l,
3450
3453
  onPointerMove: d,
3451
3454
  ...m
3452
- } = n, g = U(null), p = Ye(), { activeItemId: f, setActiveItemId: C, size: S, variant: z, radius: N } = b(He), P = p === f, L = h(
3453
- (O) => {
3454
- r == null || r(O);
3455
+ } = n, g = q(null), p = Qe(), { activeItemId: f, setActiveItemId: C, size: N, variant: w, radius: y } = b(Be), R = p === f, L = v(
3456
+ (S) => {
3457
+ r == null || r(S);
3455
3458
  },
3456
3459
  [r]
3457
- ), y = h(
3458
- (O) => {
3459
- o == null || o(O), L(new Event("menu-select"));
3460
+ ), P = v(
3461
+ (S) => {
3462
+ o == null || o(S), L(new Event("menu-select"));
3460
3463
  },
3461
3464
  [L, o]
3462
- ), V = h(
3463
- (O) => {
3464
- c == null || c(O), !O.defaultPrevented && C(p);
3465
+ ), D = v(
3466
+ (S) => {
3467
+ c == null || c(S), !S.defaultPrevented && C(p);
3465
3468
  },
3466
3469
  [c, C, p]
3467
- ), A = h(
3468
- (O) => {
3469
- l == null || l(O), !O.defaultPrevented && C(null);
3470
+ ), T = v(
3471
+ (S) => {
3472
+ l == null || l(S), !S.defaultPrevented && C(null);
3470
3473
  },
3471
3474
  [l, C]
3472
- ), G = h(
3473
- (O) => {
3474
- d == null || d(O), !O.defaultPrevented && C(p);
3475
+ ), A = v(
3476
+ (S) => {
3477
+ d == null || d(S), !S.defaultPrevented && C(p);
3475
3478
  },
3476
3479
  [d, p, C]
3477
3480
  );
3478
3481
  return B(() => {
3479
3482
  if (!g.current) return;
3480
- const O = g.current;
3481
- return O.addEventListener("menu-select", L), () => {
3482
- O.removeEventListener("menu-select", L);
3483
+ const S = g.current;
3484
+ return S.addEventListener("menu-select", L), () => {
3485
+ S.removeEventListener("menu-select", L);
3483
3486
  };
3484
3487
  }, [L]), /* @__PURE__ */ i(
3485
3488
  "div",
3486
3489
  {
3487
3490
  ref: we([a, g]),
3488
- className: x(Nr({ size: S, variant: z }), k({ radius: N, maxLarge: !0 }), e),
3491
+ className: x(Nr({ size: N, variant: w }), k({ radius: y, maxLarge: !0 }), e),
3489
3492
  role: "menuitem",
3490
- onClick: y,
3491
- onPointerEnter: V,
3492
- onPointerLeave: A,
3493
- onPointerMove: G,
3493
+ onClick: P,
3494
+ onPointerEnter: D,
3495
+ onPointerLeave: T,
3496
+ onPointerMove: A,
3494
3497
  [te]: p,
3495
- "data-active": Q(P),
3498
+ "data-active": Q(R),
3496
3499
  "data-disabled": Q(s),
3497
3500
  "aria-disabled": Q(s),
3498
3501
  ...m,
@@ -3501,8 +3504,8 @@ const Jc = {
3501
3504
  );
3502
3505
  });
3503
3506
  le.displayName = "MenuItem";
3504
- const xn = u((n) => {
3505
- const { ref: a, checked: t, onCheckedChange: e, onSelect: s, ...o } = n, r = h(
3507
+ const fn = u((n) => {
3508
+ const { ref: a, checked: t, onCheckedChange: e, onSelect: s, ...o } = n, r = v(
3506
3509
  (c) => {
3507
3510
  if (s == null || s(c), !c.defaultPrevented)
3508
3511
  switch (t) {
@@ -3521,32 +3524,32 @@ const xn = u((n) => {
3521
3524
  );
3522
3525
  return /* @__PURE__ */ i(Se.Provider, { value: t, children: /* @__PURE__ */ i(le, { ref: a, onSelect: r, ...o }) });
3523
3526
  });
3524
- xn.displayName = "MenuCheckboxItem";
3525
- const fn = u((n) => {
3527
+ fn.displayName = "MenuCheckboxItem";
3528
+ const hn = u((n) => {
3526
3529
  const { ref: a, children: t, ...e } = n;
3527
- return /* @__PURE__ */ i(De, { ref: a, ...e, children: t });
3530
+ return /* @__PURE__ */ i(Ge, { ref: a, ...e, children: t });
3528
3531
  });
3529
- fn.displayName = "MenuCheckboxItemIndicator";
3530
- const Be = u((n) => {
3531
- const { ref: a, children: t, ...e } = n, s = Ye(), [o, r] = E(null), c = w(
3532
+ hn.displayName = "MenuCheckboxItemIndicator";
3533
+ const $e = u((n) => {
3534
+ const { ref: a, children: t, ...e } = n, s = Qe(), [o, r] = E(null), c = z(
3532
3535
  () => ({
3533
3536
  labelId: o,
3534
3537
  setLabelId: r
3535
3538
  }),
3536
3539
  [o]
3537
3540
  );
3538
- return /* @__PURE__ */ i("div", { ref: a, role: "group", [Ke]: s, "aria-labelledby": o ?? void 0, ...e, children: /* @__PURE__ */ i(pn, { value: c, children: t }) });
3541
+ return /* @__PURE__ */ i("div", { ref: a, role: "group", [Xe]: s, "aria-labelledby": o ?? void 0, ...e, children: /* @__PURE__ */ i(xn, { value: c, children: t }) });
3539
3542
  });
3540
- Be.displayName = "MenuGroup";
3541
- const hn = u((n) => {
3542
- const { ref: a, children: t, id: e, className: s, ...o } = n, r = vo(e), { size: c } = b(He), { setLabelId: l } = b(pn);
3543
+ $e.displayName = "MenuGroup";
3544
+ const vn = u((n) => {
3545
+ const { ref: a, children: t, id: e, className: s, ...o } = n, r = bo(e), { size: c } = b(Be), { setLabelId: l } = b(xn);
3543
3546
  return B(() => {
3544
3547
  l(r);
3545
3548
  }, [r, l]), /* @__PURE__ */ i("div", { ref: a, id: r, className: x(wr({ size: c }), s), ...o, children: t });
3546
3549
  });
3547
- hn.displayName = "MenuGroupLabel";
3550
+ vn.displayName = "MenuGroupLabel";
3548
3551
  const Sr = F((n) => {
3549
- const { ref: a, children: t, onSelect: e, ...s } = n, { allSelected: o, someSelected: r, toggleSelectAll: c } = b(Z), l = o ? !0 : r ? "indeterminate" : !1, d = h(
3552
+ const { ref: a, children: t, onSelect: e, ...s } = n, { allSelected: o, someSelected: r, toggleSelectAll: c } = b(Z), l = o ? !0 : r ? "indeterminate" : !1, d = v(
3550
3553
  (m) => {
3551
3554
  e == null || e(m), !m.defaultPrevented && c();
3552
3555
  },
@@ -3555,11 +3558,11 @@ const Sr = F((n) => {
3555
3558
  return /* @__PURE__ */ i(le, { onSelect: d, ref: a, "data-state": Ie(l), ...s, children: /* @__PURE__ */ i(Se, { value: l, children: t }) });
3556
3559
  }), kr = F(function(a) {
3557
3560
  const { ref: t, children: e, defaultValues: s, values: o, onValuesChange: r, ...c } = a;
3558
- return /* @__PURE__ */ i(Be, { ref: t, ...c, children: /* @__PURE__ */ i(Ae, { defaultValues: s, values: o, onValuesChange: r, children: e }) });
3561
+ return /* @__PURE__ */ i($e, { ref: t, ...c, children: /* @__PURE__ */ i(De, { defaultValues: s, values: o, onValuesChange: r, children: e }) });
3559
3562
  }), Rr = F(function(n) {
3560
3563
  const { ref: a, onSelect: t, children: e, value: s, ...o } = n, { selected: r, selectValue: c, registerValue: l } = b(Z);
3561
3564
  ue(() => l(s), [l, s]);
3562
- const d = r(s), m = h(
3565
+ const d = r(s), m = v(
3563
3566
  (g) => {
3564
3567
  t == null || t(g), !g.defaultPrevented && c(s);
3565
3568
  },
@@ -3576,41 +3579,41 @@ const Sr = F((n) => {
3576
3579
  children: /* @__PURE__ */ i(xe, { value: d, children: e })
3577
3580
  }
3578
3581
  );
3579
- }), vn = u((n) => {
3580
- const { children: a, ref: t, page: e, ...s } = n, { page: o } = b(vt), r = e === o;
3581
- return /* @__PURE__ */ i("div", { ref: t, "data-active": Le(r), hidden: !r, ...s, children: r ? a : null });
3582
+ }), bn = u((n) => {
3583
+ const { children: a, ref: t, page: e, ...s } = n, { page: o } = b(bt), r = e === o;
3584
+ return /* @__PURE__ */ i("div", { ref: t, "data-active": Ae(r), hidden: !r, ...s, children: r ? a : null });
3582
3585
  });
3583
- vn.displayName = "MenuPage";
3584
- const bn = u((n) => {
3585
- const { children: a, defaultPage: t = "", page: e, onPageChange: s } = n, [o, r] = X(t, e, s), c = w(
3586
+ bn.displayName = "MenuPage";
3587
+ const Cn = u((n) => {
3588
+ const { children: a, defaultPage: t = "", page: e, onPageChange: s } = n, [o, r] = X(t, e, s), c = z(
3586
3589
  () => ({
3587
3590
  page: o,
3588
3591
  setPage: r
3589
3592
  }),
3590
3593
  [o, r]
3591
3594
  );
3592
- return /* @__PURE__ */ i(vt, { value: c, children: a });
3595
+ return /* @__PURE__ */ i(bt, { value: c, children: a });
3593
3596
  });
3594
- bn.displayName = "MenuPages";
3595
- const Cn = u((n) => {
3596
- const { ref: a, children: t, page: e, onSelect: s, ...o } = n, { page: r, setPage: c } = b(vt), l = e === r, d = h(
3597
+ Cn.displayName = "MenuPages";
3598
+ const yn = u((n) => {
3599
+ const { ref: a, children: t, page: e, onSelect: s, ...o } = n, { page: r, setPage: c } = b(bt), l = e === r, d = v(
3597
3600
  (m) => {
3598
3601
  s == null || s(m), !m.defaultPrevented && c(e);
3599
3602
  },
3600
3603
  [s, e, c]
3601
3604
  );
3602
- return /* @__PURE__ */ i(le, { ref: a, onSelect: d, "data-state": Le(l), ...o, children: /* @__PURE__ */ i(xe, { value: l, children: t }) });
3605
+ return /* @__PURE__ */ i(le, { ref: a, onSelect: d, "data-state": Ae(l), ...o, children: /* @__PURE__ */ i(xe, { value: l, children: t }) });
3603
3606
  });
3604
- Cn.displayName = "CommandMenuPageTriggerItem";
3605
- const St = (n, a, t, e) => {
3607
+ yn.displayName = "CommandMenuPageTriggerItem";
3608
+ const kt = (n, a, t, e) => {
3606
3609
  switch (t) {
3607
3610
  case "next":
3608
3611
  return n === a - 1 ? e ? 0 : n : n + 1;
3609
3612
  case "prev":
3610
3613
  return n === 0 ? e ? a - 1 : n : n - 1;
3611
3614
  }
3612
- }, yn = u((n) => {
3613
- const a = M(), {
3615
+ }, zn = u((n) => {
3616
+ const a = V(), {
3614
3617
  ref: t,
3615
3618
  children: e,
3616
3619
  className: s,
@@ -3622,45 +3625,45 @@ const St = (n, a, t, e) => {
3622
3625
  size: d = "md",
3623
3626
  variant: m = "soft",
3624
3627
  ...g
3625
- } = n, p = U(null), [f, C] = E(null), S = h((R) => Array.from(R.querySelectorAll(`[${te}]:not([data-disabled=true]`)), []), z = h(
3626
- (R) => S(R).at(0),
3627
- [S]
3628
- ), N = h(
3629
- (R) => S(R).at(-1),
3630
- [S]
3631
- ), P = h(
3632
- (R) => S(R).find((I) => I.getAttribute(te) === f),
3633
- [f, S]
3634
- ), L = h(
3635
- (R, I) => {
3636
- const D = S(R), he = P(R), ve = D.findIndex((zs) => zs === he), Ue = St(ve, D.length, I, r);
3637
- return D[Ue];
3628
+ } = n, p = q(null), [f, C] = E(null), N = v((M) => Array.from(M.querySelectorAll(`[${te}]:not([data-disabled=true]`)), []), w = v(
3629
+ (M) => N(M).at(0),
3630
+ [N]
3631
+ ), y = v(
3632
+ (M) => N(M).at(-1),
3633
+ [N]
3634
+ ), R = v(
3635
+ (M) => N(M).find((I) => I.getAttribute(te) === f),
3636
+ [f, N]
3637
+ ), L = v(
3638
+ (M, I) => {
3639
+ const G = N(M), he = R(M), ve = G.findIndex((Ns) => Ns === he), Ue = kt(ve, G.length, I, r);
3640
+ return G[Ue];
3638
3641
  },
3639
- [P, S, r]
3640
- ), y = h(() => p.current ? Array.from(p.current.querySelectorAll(`[${Ke}]`)) : [], []), V = h(() => {
3641
- var R;
3642
- return ((R = P(p.current)) == null ? void 0 : R.closest(`[${Ke}]`)) ?? void 0;
3643
- }, [P]), A = h(
3644
- (R) => {
3645
- const I = y(), D = V(), he = I.findIndex((Ue) => Ue === D), ve = St(he, I.length, R, r);
3642
+ [R, N, r]
3643
+ ), P = v(() => p.current ? Array.from(p.current.querySelectorAll(`[${Xe}]`)) : [], []), D = v(() => {
3644
+ var M;
3645
+ return ((M = R(p.current)) == null ? void 0 : M.closest(`[${Xe}]`)) ?? void 0;
3646
+ }, [R]), T = v(
3647
+ (M) => {
3648
+ const I = P(), G = D(), he = I.findIndex((Ue) => Ue === G), ve = kt(he, I.length, M, r);
3646
3649
  return I[ve];
3647
3650
  },
3648
- [V, y, r]
3649
- ), G = h(() => y().at(0), [y]), O = h(() => y().at(-1), [y]), _ = h(
3650
- (R) => {
3651
- if (o == null || o(R), !R.defaultPrevented)
3652
- switch (R.code) {
3651
+ [D, P, r]
3652
+ ), A = v(() => P().at(0), [P]), S = v(() => P().at(-1), [P]), _ = v(
3653
+ (M) => {
3654
+ if (o == null || o(M), !M.defaultPrevented)
3655
+ switch (M.code) {
3653
3656
  case Ce.selectItem: {
3654
- const I = P(p.current);
3657
+ const I = R(p.current);
3655
3658
  I && I.dispatchEvent(new Event("menu-select"));
3656
3659
  break;
3657
3660
  }
3658
3661
  case Ce.next: {
3659
3662
  let I;
3660
- if (R.shiftKey) {
3661
- const D = A("next");
3662
- if (!D) return;
3663
- I = z(D);
3663
+ if (M.shiftKey) {
3664
+ const G = T("next");
3665
+ if (!G) return;
3666
+ I = w(G);
3664
3667
  } else
3665
3668
  I = L(p.current, "next");
3666
3669
  if (!I) return;
@@ -3669,10 +3672,10 @@ const St = (n, a, t, e) => {
3669
3672
  }
3670
3673
  case Ce.prev: {
3671
3674
  let I;
3672
- if (R.shiftKey) {
3673
- const D = A("prev");
3674
- if (!D) return;
3675
- I = z(D);
3675
+ if (M.shiftKey) {
3676
+ const G = T("prev");
3677
+ if (!G) return;
3678
+ I = w(G);
3676
3679
  } else
3677
3680
  I = L(p.current, "prev");
3678
3681
  if (!I) return;
@@ -3681,38 +3684,38 @@ const St = (n, a, t, e) => {
3681
3684
  }
3682
3685
  case Ce.first: {
3683
3686
  let I;
3684
- if (R.shiftKey) {
3685
- const D = G();
3686
- if (!D) return;
3687
- I = z(D);
3687
+ if (M.shiftKey) {
3688
+ const G = A();
3689
+ if (!G) return;
3690
+ I = w(G);
3688
3691
  } else
3689
- I = z(p.current);
3692
+ I = w(p.current);
3690
3693
  if (!I) return;
3691
3694
  C(I.getAttribute(te));
3692
3695
  break;
3693
3696
  }
3694
3697
  case Ce.last: {
3695
3698
  let I;
3696
- if (R.shiftKey) {
3697
- const D = O();
3698
- if (!D) return;
3699
- I = z(D);
3699
+ if (M.shiftKey) {
3700
+ const G = S();
3701
+ if (!G) return;
3702
+ I = w(G);
3700
3703
  } else
3701
- I = N(p.current);
3704
+ I = y(p.current);
3702
3705
  if (!I) return;
3703
3706
  C(I.getAttribute(te));
3704
3707
  break;
3705
3708
  }
3706
3709
  }
3707
3710
  },
3708
- [P, G, z, O, N, A, L, o]
3711
+ [R, A, w, S, y, T, L, o]
3709
3712
  );
3710
3713
  B(() => {
3711
3714
  var I;
3712
- const R = z(p.current);
3713
- R && ((I = p.current) == null || I.focus(), C(R.getAttribute(te)));
3714
- }, [z]);
3715
- const ee = w(
3715
+ const M = w(p.current);
3716
+ M && ((I = p.current) == null || I.focus(), C(M.getAttribute(te)));
3717
+ }, [w]);
3718
+ const ee = z(
3716
3719
  () => ({
3717
3720
  activeItemId: f,
3718
3721
  setActiveItemId: C,
@@ -3735,20 +3738,20 @@ const St = (n, a, t, e) => {
3735
3738
  "aria-activedescendant": f ?? void 0,
3736
3739
  "data-accent-color": l,
3737
3740
  ...g,
3738
- children: /* @__PURE__ */ i(He, { value: ee, children: e })
3741
+ children: /* @__PURE__ */ i(Be, { value: ee, children: e })
3739
3742
  }
3740
3743
  );
3741
3744
  });
3742
- yn.displayName = "MenuRoot";
3743
- const zn = u((n) => {
3745
+ zn.displayName = "MenuRoot";
3746
+ const Nn = u((n) => {
3744
3747
  const { ref: a, children: t, ...e } = n;
3745
- return /* @__PURE__ */ i(Ee, { ref: a, ...e, children: t });
3748
+ return /* @__PURE__ */ i(_e, { ref: a, ...e, children: t });
3746
3749
  });
3747
- zn.displayName = "MenuCheckboxItemIndicator";
3750
+ Nn.displayName = "MenuCheckboxItemIndicator";
3748
3751
  const Tr = F(function(a) {
3749
3752
  const { ref: t, children: e, required: s, defaultValue: o, value: r, onValueChange: c, ...l } = a;
3750
- return /* @__PURE__ */ i(Be, { ref: t, ...l, children: s ? /* @__PURE__ */ i(st, { defaultValue: o, value: r, onValueChange: c, children: e }) : /* @__PURE__ */ i(
3751
- ot,
3753
+ return /* @__PURE__ */ i($e, { ref: t, ...l, children: s ? /* @__PURE__ */ i(ot, { defaultValue: o, value: r, onValueChange: c, children: e }) : /* @__PURE__ */ i(
3754
+ rt,
3752
3755
  {
3753
3756
  defaultValue: o,
3754
3757
  value: r,
@@ -3757,7 +3760,7 @@ const Tr = F(function(a) {
3757
3760
  }
3758
3761
  ) });
3759
3762
  }), Pr = F(function(n) {
3760
- const { ref: a, value: t, onSelect: e, children: s, ...o } = n, { selected: r, selectValue: c } = b(Ne), l = r(t), d = h(
3763
+ const { ref: a, value: t, onSelect: e, children: s, ...o } = n, { selected: r, selectValue: c } = b(Ne), l = r(t), d = v(
3761
3764
  (m) => {
3762
3765
  e == null || e(m), !m.defaultPrevented && c(t);
3763
3766
  },
@@ -3774,31 +3777,31 @@ const Tr = F(function(a) {
3774
3777
  children: /* @__PURE__ */ i(xe, { value: l, children: s })
3775
3778
  }
3776
3779
  );
3777
- }), Nn = u((n) => {
3778
- const { ref: a, className: t, ...e } = n, { size: s } = b(He);
3779
- return /* @__PURE__ */ i(Je.Root, { className: x(Ir({ size: s }), t), ref: a, ...e });
3780
+ }), wn = u((n) => {
3781
+ const { ref: a, className: t, ...e } = n, { size: s } = b(Be);
3782
+ return /* @__PURE__ */ i(Ze.Root, { className: x(Ir({ size: s }), t), ref: a, ...e });
3780
3783
  });
3781
- Nn.displayName = "MenuSeparator";
3784
+ wn.displayName = "MenuSeparator";
3782
3785
  const Zc = {
3783
- Root: yn,
3784
- Group: Be,
3785
- GroupLabel: hn,
3786
+ Root: zn,
3787
+ Group: $e,
3788
+ GroupLabel: vn,
3786
3789
  Item: le,
3787
- Separator: Nn,
3790
+ Separator: wn,
3788
3791
  SelectGroup: Tr,
3789
3792
  SelectItem: Pr,
3790
3793
  MultiSelectGroup: kr,
3791
3794
  MultiSelectItem: Rr,
3792
3795
  SelectAllItem: Sr,
3793
- SelectedIndicator: zn,
3794
- CheckboxItem: xn,
3795
- CheckedIndicator: fn,
3796
- Pages: bn,
3797
- Page: vn,
3798
- PageTriggerItem: Cn
3799
- }, wn = u((n) => /* @__PURE__ */ i(Ze.HiddenInput, { ...n }));
3800
- wn.displayName = "OneTimePasswordFieldHiddenInput";
3801
- const In = T({}), Mr = v(
3796
+ SelectedIndicator: Nn,
3797
+ CheckboxItem: fn,
3798
+ CheckedIndicator: hn,
3799
+ Pages: Cn,
3800
+ Page: bn,
3801
+ PageTriggerItem: yn
3802
+ }, In = u((n) => /* @__PURE__ */ i(et.HiddenInput, { ...n }));
3803
+ In.displayName = "OneTimePasswordFieldHiddenInput";
3804
+ const Sn = O({}), Mr = h(
3802
3805
  [
3803
3806
  "flex",
3804
3807
  "items-center",
@@ -3853,10 +3856,10 @@ const In = T({}), Mr = v(
3853
3856
  variant: "surface"
3854
3857
  }
3855
3858
  }
3856
- ), Sn = u((n) => {
3857
- const { ref: a, className: t, ...e } = n, { variant: s, size: o, radius: r, accentColor: c } = b(In);
3859
+ ), kn = u((n) => {
3860
+ const { ref: a, className: t, ...e } = n, { variant: s, size: o, radius: r, accentColor: c } = b(Sn);
3858
3861
  return /* @__PURE__ */ i(
3859
- Ze.Input,
3862
+ et.Input,
3860
3863
  {
3861
3864
  ref: a,
3862
3865
  className: x(
@@ -3869,9 +3872,9 @@ const In = T({}), Mr = v(
3869
3872
  }
3870
3873
  );
3871
3874
  });
3872
- Sn.displayName = "OneTimePasswordFieldInput";
3873
- const kn = u((n) => {
3874
- const a = M(), {
3875
+ kn.displayName = "OneTimePasswordFieldInput";
3876
+ const Rn = u((n) => {
3877
+ const a = V(), {
3875
3878
  ref: t,
3876
3879
  children: e,
3877
3880
  variant: s = "surface",
@@ -3879,20 +3882,20 @@ const kn = u((n) => {
3879
3882
  radius: r = a.radius,
3880
3883
  accentColor: c = a.accentColor,
3881
3884
  ...l
3882
- } = n, d = w(() => ({ variant: s, size: o, radius: r, accentColor: c }), [c, r, o, s]);
3883
- return /* @__PURE__ */ i(Ze.Root, { ref: t, "data-accent-color": c, ...l, children: /* @__PURE__ */ i(In, { value: d, children: e }) });
3885
+ } = n, d = z(() => ({ variant: s, size: o, radius: r, accentColor: c }), [c, r, o, s]);
3886
+ return /* @__PURE__ */ i(et.Root, { ref: t, "data-accent-color": c, ...l, children: /* @__PURE__ */ i(Sn, { value: d, children: e }) });
3884
3887
  });
3885
- kn.displayName = "OneTimePasswordFieldRoot";
3888
+ Rn.displayName = "OneTimePasswordFieldRoot";
3886
3889
  const ei = {
3887
- HiddenInput: wn,
3888
- Input: Sn,
3889
- Root: kn
3890
- }, Rn = u((n) => {
3890
+ HiddenInput: In,
3891
+ Input: kn,
3892
+ Root: Rn
3893
+ }, Tn = u((n) => {
3891
3894
  const { ref: a, ...t } = n;
3892
3895
  return /* @__PURE__ */ i(H.Close, { ref: a, ...t });
3893
3896
  });
3894
- Rn.displayName = "OverlayClose";
3895
- const Or = v([
3897
+ Tn.displayName = "OverlayClose";
3898
+ const Or = h([
3896
3899
  "fixed",
3897
3900
  "inset-0",
3898
3901
  "bg-(--color-background)",
@@ -3902,7 +3905,7 @@ const Or = v([
3902
3905
  "data-[state='open']:animate-in",
3903
3906
  "data-[state='open']:fade-in-0",
3904
3907
  "data-[state='open']:zoom-in-95"
3905
- ]), Tn = u((n) => {
3908
+ ]), Pn = u((n) => {
3906
3909
  const { ref: a, container: t, className: e, ...s } = n;
3907
3910
  return /* @__PURE__ */ i(H.Portal, { container: t, children: /* @__PURE__ */ i(
3908
3911
  H.Content,
@@ -3914,54 +3917,54 @@ const Or = v([
3914
3917
  }
3915
3918
  ) });
3916
3919
  });
3917
- Tn.displayName = "OverlayContent";
3918
- const Pn = u((n) => {
3920
+ Pn.displayName = "OverlayContent";
3921
+ const Mn = u((n) => {
3919
3922
  const { ref: a, ...t } = n;
3920
3923
  return /* @__PURE__ */ i(H.Description, { ref: a, ...t });
3921
3924
  });
3922
- Pn.displayName = "OverlayDescription";
3923
- const Mn = u((n) => /* @__PURE__ */ i(H.Root, { ...n }));
3924
- Mn.displayName = "OverlayRoot";
3925
- const On = u((n) => {
3925
+ Mn.displayName = "OverlayDescription";
3926
+ const On = u((n) => /* @__PURE__ */ i(H.Root, { ...n }));
3927
+ On.displayName = "OverlayRoot";
3928
+ const Vn = u((n) => {
3926
3929
  const { ref: a, ...t } = n;
3927
3930
  return /* @__PURE__ */ i(H.Title, { ref: a, ...t });
3928
3931
  });
3929
- On.displayName = "OverlayTitle";
3930
- const Vn = u((n) => {
3932
+ Vn.displayName = "OverlayTitle";
3933
+ const Ln = u((n) => {
3931
3934
  const { ref: a, ...t } = n;
3932
3935
  return /* @__PURE__ */ i(H.Trigger, { ref: a, ...t });
3933
3936
  });
3934
- Vn.displayName = "OverlayTrigger";
3937
+ Ln.displayName = "OverlayTrigger";
3935
3938
  const ti = {
3936
- Root: Mn,
3937
- Content: Tn,
3938
- Title: On,
3939
- Description: Pn,
3940
- Trigger: Vn,
3941
- Close: Rn
3942
- }, qe = { placeSelf: "center" }, Ln = u((n) => {
3943
- const { absoluteCentering: a, message: t = "Something went wrong", onRetry: e } = n, { resetBoundary: s } = so(), o = "20px", r = a ? { position: "absolute", top: "50%", transform: "translateY(-50%)" } : void 0, c = h(() => {
3939
+ Root: On,
3940
+ Content: Pn,
3941
+ Title: Vn,
3942
+ Description: Mn,
3943
+ Trigger: Ln,
3944
+ Close: Tn
3945
+ }, We = { placeSelf: "center" }, An = u((n) => {
3946
+ const { absoluteCentering: a, message: t = "Something went wrong", onRetry: e } = n, { resetBoundary: s } = oo(), o = "20px", r = a ? { position: "absolute", top: "50%", transform: "translateY(-50%)" } : void 0, c = v(() => {
3944
3947
  s(), e();
3945
3948
  }, [e, s]);
3946
3949
  return /* @__PURE__ */ W("div", { className: "flex w-full gap-2", style: r, children: [
3947
3950
  /* @__PURE__ */ i("div", { style: { flexGrow: 1 } }),
3948
- /* @__PURE__ */ i(q, { icon: Hs, size: o, style: qe }),
3949
- /* @__PURE__ */ i("span", { style: { lineHeight: o, ...qe }, children: t }),
3950
- /* @__PURE__ */ i(tt, { "aria-label": "Try again", variant: "soft", onClick: c, style: qe, children: /* @__PURE__ */ i(q, { icon: Bs, size: o }) }),
3951
+ /* @__PURE__ */ i(U, { icon: Bs, size: o, style: We }),
3952
+ /* @__PURE__ */ i("span", { style: { lineHeight: o, ...We }, children: t }),
3953
+ /* @__PURE__ */ i(at, { "aria-label": "Try again", variant: "soft", onClick: c, style: We, children: /* @__PURE__ */ i(U, { icon: $s, size: o }) }),
3951
3954
  /* @__PURE__ */ i("div", { style: { flexGrow: 1 } })
3952
3955
  ] });
3953
3956
  });
3954
- Ln.displayName = "ErrorFallback";
3957
+ An.displayName = "ErrorFallback";
3955
3958
  const Vr = u((n) => {
3956
- const { absoluteCentering: a, message: t } = n, [e, s] = E(0), o = h((c, l) => {
3959
+ const { absoluteCentering: a, message: t } = n, [e, s] = E(0), o = v((c, l) => {
3957
3960
  console.error("Error in OvermapErrorBoundary:", c, l), s((d) => d + 1);
3958
- }, []), r = h(() => {
3961
+ }, []), r = v(() => {
3959
3962
  s((c) => c + 1);
3960
3963
  }, []);
3961
3964
  return /* @__PURE__ */ i(
3962
- oo,
3965
+ ro,
3963
3966
  {
3964
- fallback: /* @__PURE__ */ i(Ln, { absoluteCentering: a, message: t, onRetry: r }),
3967
+ fallback: /* @__PURE__ */ i(An, { absoluteCentering: a, message: t, onRetry: r }),
3965
3968
  onError: o,
3966
3969
  children: n.children
3967
3970
  },
@@ -3969,12 +3972,12 @@ const Vr = u((n) => {
3969
3972
  );
3970
3973
  });
3971
3974
  Vr.displayName = "OvermapErrorBoundary";
3972
- const An = u((n) => {
3975
+ const Dn = u((n) => {
3973
3976
  const { ref: a, children: t, className: e, ...s } = n;
3974
3977
  return /* @__PURE__ */ i(Pe.Arrow, { className: x("fill-(--base-6)", e), ref: a, ...s, children: t });
3975
3978
  });
3976
- An.displayName = "PopoverArrow";
3977
- const Lr = v(["bg-(--color-background)", "dark:bg-(--base-2)", "ring-1", "ring-(--base-6)"], {
3979
+ Dn.displayName = "PopoverArrow";
3980
+ const Lr = h(["bg-(--color-background)", "dark:bg-(--base-2)", "ring-1", "ring-(--base-6)"], {
3978
3981
  variants: {
3979
3982
  size: {
3980
3983
  xs: ["p-2"],
@@ -3987,8 +3990,8 @@ const Lr = v(["bg-(--color-background)", "dark:bg-(--base-2)", "ring-1", "ring-(
3987
3990
  defaultVariants: {
3988
3991
  size: "md"
3989
3992
  }
3990
- }), Dn = u((n) => {
3991
- const a = M(), {
3993
+ }), Gn = u((n) => {
3994
+ const a = V(), {
3992
3995
  ref: t,
3993
3996
  children: e,
3994
3997
  className: s,
@@ -3997,14 +4000,16 @@ const Lr = v(["bg-(--color-background)", "dark:bg-(--base-2)", "ring-1", "ring-(
3997
4000
  size: c = "md",
3998
4001
  sideOffset: l = 5,
3999
4002
  container: d,
4000
- ...m
4003
+ side: m,
4004
+ ...g
4001
4005
  } = n;
4002
4006
  return /* @__PURE__ */ i(Pe.Portal, { container: d, children: /* @__PURE__ */ i(
4003
4007
  Pe.Content,
4004
4008
  {
4005
4009
  className: x(
4006
4010
  Lr({ size: c }),
4007
- Ve({ shadow: "3" }),
4011
+ Ve({ side: m }),
4012
+ Le({ size: "md" }),
4008
4013
  k({ radius: o, maxLarge: !0 }),
4009
4014
  s
4010
4015
  ),
@@ -4012,17 +4017,18 @@ const Lr = v(["bg-(--color-background)", "dark:bg-(--base-2)", "ring-1", "ring-(
4012
4017
  sideOffset: l,
4013
4018
  "data-accent-color": r,
4014
4019
  "data-floating-content": "",
4015
- ...m,
4020
+ side: m,
4021
+ ...g,
4016
4022
  children: e
4017
4023
  }
4018
4024
  ) });
4019
4025
  });
4020
- Dn.displayName = "PopoverContent";
4026
+ Gn.displayName = "PopoverContent";
4021
4027
  const ai = {
4022
4028
  ...Pe,
4023
- Content: Dn,
4024
- Arrow: An
4025
- }, Ar = v(["relative", "overflow-hidden", "grow"], {
4029
+ Content: Gn,
4030
+ Arrow: Dn
4031
+ }, Ar = h(["relative", "overflow-hidden", "grow"], {
4026
4032
  variants: {
4027
4033
  size: {
4028
4034
  xs: ["h-1.5"],
@@ -4036,7 +4042,7 @@ const ai = {
4036
4042
  soft: ["bg-(--base-a4)"]
4037
4043
  }
4038
4044
  }
4039
- }), Dr = v(
4045
+ }), Dr = h(
4040
4046
  [
4041
4047
  "size-full",
4042
4048
  "transform-[scaleX(calc(var(--progress-value)/var(--progress-max)))]",
@@ -4059,7 +4065,7 @@ const ai = {
4059
4065
  }
4060
4066
  }
4061
4067
  ), Gr = u((n) => {
4062
- const a = M(), {
4068
+ const a = V(), {
4063
4069
  ref: t,
4064
4070
  className: e,
4065
4071
  style: s,
@@ -4068,7 +4074,7 @@ const ai = {
4068
4074
  size: c = "md",
4069
4075
  accentColor: l = a.accentColor,
4070
4076
  ...d
4071
- } = n, m = w(
4077
+ } = n, m = z(
4072
4078
  () => ({
4073
4079
  ...s,
4074
4080
  "--progress-value": d.value ?? 0,
@@ -4077,19 +4083,19 @@ const ai = {
4077
4083
  [d.max, d.value, s]
4078
4084
  );
4079
4085
  return /* @__PURE__ */ i(
4080
- Nt.Root,
4086
+ wt.Root,
4081
4087
  {
4082
4088
  ref: t,
4083
4089
  className: x(Ar({ variant: r, size: c }), k({ radius: o, maxLarge: !1 }), e),
4084
4090
  style: m,
4085
4091
  "data-accent-color": l,
4086
4092
  ...d,
4087
- children: /* @__PURE__ */ i(Nt.ProgressIndicator, { className: Dr({ variant: r, size: c }) })
4093
+ children: /* @__PURE__ */ i(wt.ProgressIndicator, { className: Dr({ variant: r, size: c }) })
4088
4094
  }
4089
4095
  );
4090
4096
  });
4091
4097
  Gr.displayName = "Progress";
4092
- const Gn = T({}), Er = v([], {
4098
+ const En = O({}), Er = h([], {
4093
4099
  variants: {
4094
4100
  size: {
4095
4101
  xs: ["text-xs"],
@@ -4103,7 +4109,7 @@ const Gn = T({}), Er = v([], {
4103
4109
  outline: []
4104
4110
  }
4105
4111
  }
4106
- }), _r = v(
4112
+ }), _r = h(
4107
4113
  [
4108
4114
  "block",
4109
4115
  "overflow-hidden",
@@ -4146,8 +4152,8 @@ const Gn = T({}), Er = v([], {
4146
4152
  }
4147
4153
  }
4148
4154
  }
4149
- ), En = u((n) => {
4150
- const { variant: a, size: t, radius: e } = b(Gn), { className: s, accentColor: o, ...r } = n;
4155
+ ), _n = u((n) => {
4156
+ const { variant: a, size: t, radius: e } = b(En), { className: s, accentColor: o, ...r } = n;
4151
4157
  return /* @__PURE__ */ i(
4152
4158
  ae.Item,
4153
4159
  {
@@ -4157,9 +4163,9 @@ const Gn = T({}), Er = v([], {
4157
4163
  }
4158
4164
  );
4159
4165
  });
4160
- En.displayName = "RadioCardsItem";
4161
- const _n = u((n) => {
4162
- const a = M(), {
4166
+ _n.displayName = "RadioCardsItem";
4167
+ const Fn = u((n) => {
4168
+ const a = V(), {
4163
4169
  className: t,
4164
4170
  children: e,
4165
4171
  variant: s = "surface",
@@ -4167,7 +4173,7 @@ const _n = u((n) => {
4167
4173
  radius: r = a.radius,
4168
4174
  accentColor: c = a.accentColor,
4169
4175
  ...l
4170
- } = n, d = w(
4176
+ } = n, d = z(
4171
4177
  () => ({
4172
4178
  variant: s,
4173
4179
  size: o,
@@ -4181,15 +4187,15 @@ const _n = u((n) => {
4181
4187
  className: x(Er({ size: o, variant: s }), t),
4182
4188
  "data-accent-color": c,
4183
4189
  ...l,
4184
- children: /* @__PURE__ */ i(Gn, { value: d, children: e })
4190
+ children: /* @__PURE__ */ i(En, { value: d, children: e })
4185
4191
  }
4186
4192
  );
4187
4193
  });
4188
- _n.displayName = "RadioCardsRoot";
4194
+ Fn.displayName = "RadioCardsRoot";
4189
4195
  const ni = {
4190
- Root: _n,
4191
- Item: En
4192
- }, Fn = u((n) => {
4196
+ Root: Fn,
4197
+ Item: _n
4198
+ }, Hn = u((n) => {
4193
4199
  const { ref: a, children: t, className: e, ...s } = n;
4194
4200
  return /* @__PURE__ */ i(
4195
4201
  ae.Indicator,
@@ -4201,8 +4207,8 @@ const ni = {
4201
4207
  }
4202
4208
  );
4203
4209
  });
4204
- Fn.displayName = "RadioGroupIndicator";
4205
- const Hn = T({}), Fr = v(
4210
+ Hn.displayName = "RadioGroupIndicator";
4211
+ const Bn = O({}), Fr = h(
4206
4212
  [
4207
4213
  "inline-flex",
4208
4214
  "justify-center",
@@ -4244,8 +4250,8 @@ const Hn = T({}), Fr = v(
4244
4250
  size: "md"
4245
4251
  }
4246
4252
  }
4247
- ), Bn = u((n) => {
4248
- const a = j(Hn), {
4253
+ ), $n = u((n) => {
4254
+ const a = j(Bn), {
4249
4255
  ref: t,
4250
4256
  children: e,
4251
4257
  className: s,
@@ -4255,9 +4261,9 @@ const Hn = T({}), Fr = v(
4255
4261
  } = n;
4256
4262
  return /* @__PURE__ */ i(ae.Item, { className: x(Fr({ size: o, variant: r }), s), ref: t, ...c, children: e });
4257
4263
  });
4258
- Bn.displayName = "RadioGroupItem";
4259
- const $n = u((n) => {
4260
- const a = M(), {
4264
+ $n.displayName = "RadioGroupItem";
4265
+ const jn = u((n) => {
4266
+ const a = V(), {
4261
4267
  ref: t,
4262
4268
  className: e,
4263
4269
  accentColor: s = a.accentColor,
@@ -4265,21 +4271,21 @@ const $n = u((n) => {
4265
4271
  size: r = "md",
4266
4272
  children: c,
4267
4273
  ...l
4268
- } = n, d = w(() => ({ variant: o, size: r }), [o, r]);
4269
- return /* @__PURE__ */ i(ae.Root, { className: x(e), ref: t, "data-accent-color": s, ...l, children: /* @__PURE__ */ i(Hn.Provider, { value: d, children: c }) });
4274
+ } = n, d = z(() => ({ variant: o, size: r }), [o, r]);
4275
+ return /* @__PURE__ */ i(ae.Root, { className: x(e), ref: t, "data-accent-color": s, ...l, children: /* @__PURE__ */ i(Bn.Provider, { value: d, children: c }) });
4270
4276
  });
4271
- $n.displayName = "RadioGroupRoot";
4277
+ jn.displayName = "RadioGroupRoot";
4272
4278
  const si = {
4273
- Indicator: Fn,
4274
- Item: Bn,
4275
- Root: $n
4276
- }, bt = T({}), jn = T({}), Un = u((n) => {
4277
- const { ref: a, children: t, value: e, ...s } = n, { value: o } = b(bt), r = !!o && e <= o, c = w(() => ({ value: e }), [e]);
4278
- return /* @__PURE__ */ i(ae.Item, { ref: a, value: e.toString(), "data-active": r, ...s, children: /* @__PURE__ */ i(jn, { value: c, children: t }) });
4279
+ Indicator: Hn,
4280
+ Item: $n,
4281
+ Root: jn
4282
+ }, Ct = O({}), qn = O({}), Un = u((n) => {
4283
+ const { ref: a, children: t, value: e, ...s } = n, { value: o } = b(Ct), r = !!o && e <= o, c = z(() => ({ value: e }), [e]);
4284
+ return /* @__PURE__ */ i(ae.Item, { ref: a, value: e.toString(), "data-active": r, ...s, children: /* @__PURE__ */ i(qn, { value: c, children: t }) });
4279
4285
  });
4280
4286
  Un.displayName = "RatingItem";
4281
- const qn = u((n) => {
4282
- const { ref: a, children: t, forceMount: e, ...s } = n, { value: o } = b(bt), { value: r } = b(jn), c = !!o && r <= o;
4287
+ const Wn = u((n) => {
4288
+ const { ref: a, children: t, forceMount: e, ...s } = n, { value: o } = b(Ct), { value: r } = b(qn), c = !!o && r <= o;
4283
4289
  return /* @__PURE__ */ i(
4284
4290
  ae.Indicator,
4285
4291
  {
@@ -4291,14 +4297,14 @@ const qn = u((n) => {
4291
4297
  }
4292
4298
  );
4293
4299
  });
4294
- qn.displayName = "RatingItemIndicator";
4295
- const Wn = u((n) => {
4296
- const { ref: a, children: t, defaultValue: e, value: s, onValueChange: o, ...r } = n, [c, l] = X(e ?? null, s, o), d = h(
4300
+ Wn.displayName = "RatingItemIndicator";
4301
+ const Kn = u((n) => {
4302
+ const { ref: a, children: t, defaultValue: e, value: s, onValueChange: o, ...r } = n, [c, l] = X(e ?? null, s, o), d = v(
4297
4303
  (g) => {
4298
4304
  l(parseInt(g));
4299
4305
  },
4300
4306
  [l]
4301
- ), m = w(
4307
+ ), m = z(
4302
4308
  () => ({
4303
4309
  value: c
4304
4310
  }),
@@ -4311,16 +4317,16 @@ const Wn = u((n) => {
4311
4317
  value: c ? c.toString() : null,
4312
4318
  onValueChange: d,
4313
4319
  ...r,
4314
- children: /* @__PURE__ */ i(bt, { value: m, children: t })
4320
+ children: /* @__PURE__ */ i(Ct, { value: m, children: t })
4315
4321
  }
4316
4322
  );
4317
4323
  });
4318
- Wn.displayName = "RatingRoot";
4324
+ Kn.displayName = "RatingRoot";
4319
4325
  const oi = {
4320
4326
  Item: Un,
4321
- ItemIndicator: qn,
4322
- Root: Wn
4323
- }, Hr = v(
4327
+ ItemIndicator: Wn,
4328
+ Root: Kn
4329
+ }, Hr = h(
4324
4330
  ["shrink-0", "transition-colors", "inline-flex", "box-border", "min-w-max", "text-center"],
4325
4331
  {
4326
4332
  variants: {
@@ -4338,7 +4344,7 @@ const oi = {
4338
4344
  }
4339
4345
  }
4340
4346
  }
4341
- ), Br = v(
4347
+ ), Br = h(
4342
4348
  [
4343
4349
  "h-full",
4344
4350
  "grow",
@@ -4461,12 +4467,12 @@ const oi = {
4461
4467
  icon: !1
4462
4468
  }
4463
4469
  }
4464
- ), Kn = T({}), $r = () => {
4465
- const n = j(Kn);
4470
+ ), Xn = O({}), $r = () => {
4471
+ const n = j(Xn);
4466
4472
  if (!n)
4467
4473
  throw new Error("useSegmentedControl must be used within a SegmentedControlProvider");
4468
4474
  return n;
4469
- }, Xn = u((n) => {
4475
+ }, Yn = u((n) => {
4470
4476
  const { ref: a, className: t, ...e } = n, { size: s, radius: o, variant: r, icon: c } = $r();
4471
4477
  return /* @__PURE__ */ i(
4472
4478
  Oe.Item,
@@ -4477,9 +4483,9 @@ const oi = {
4477
4483
  }
4478
4484
  );
4479
4485
  });
4480
- Xn.displayName = "SegmentedControlItem";
4481
- const Yn = u((n) => {
4482
- const a = M(), {
4486
+ Yn.displayName = "SegmentedControlItem";
4487
+ const Qn = u((n) => {
4488
+ const a = V(), {
4483
4489
  ref: t,
4484
4490
  children: e,
4485
4491
  className: s,
@@ -4502,15 +4508,15 @@ const Yn = u((n) => {
4502
4508
  type: "single",
4503
4509
  "data-accent-color": d,
4504
4510
  ...m,
4505
- children: /* @__PURE__ */ i(Kn.Provider, { value: { size: o, variant: r, radius: l, icon: c }, children: e })
4511
+ children: /* @__PURE__ */ i(Xn.Provider, { value: { size: o, variant: r, radius: l, icon: c }, children: e })
4506
4512
  }
4507
4513
  );
4508
4514
  });
4509
- Yn.displayName = "SegmentedControlRoot";
4515
+ Qn.displayName = "SegmentedControlRoot";
4510
4516
  const ri = {
4511
- Item: Xn,
4512
- Root: Yn
4513
- }, Qn = T({}), jr = v(
4517
+ Item: Yn,
4518
+ Root: Qn
4519
+ }, Jn = O({}), jr = h(
4514
4520
  ["shrink-0", "transition-colors", "inline-flex", "box-border", "min-w-max", "text-center"],
4515
4521
  {
4516
4522
  variants: {
@@ -4532,7 +4538,7 @@ const ri = {
4532
4538
  size: "md"
4533
4539
  }
4534
4540
  }
4535
- ), Ur = v(
4541
+ ), qr = h(
4536
4542
  [
4537
4543
  "h-full",
4538
4544
  "grow",
@@ -4655,8 +4661,8 @@ const ri = {
4655
4661
  icon: !1
4656
4662
  }
4657
4663
  }
4658
- ), Jn = u((n) => {
4659
- const a = M(), {
4664
+ ), Zn = u((n) => {
4665
+ const a = V(), {
4660
4666
  ref: t,
4661
4667
  children: e,
4662
4668
  className: s,
@@ -4665,7 +4671,7 @@ const ri = {
4665
4671
  radius: c = a.radius,
4666
4672
  accentColor: l = a.accentColor,
4667
4673
  ...d
4668
- } = n, m = w(
4674
+ } = n, m = z(
4669
4675
  () => ({
4670
4676
  size: o,
4671
4677
  variant: r,
@@ -4680,35 +4686,35 @@ const ri = {
4680
4686
  className: x(jr({ size: o, variant: r }), k({ radius: c, maxLarge: !1 }), s),
4681
4687
  "data-accent-color": l,
4682
4688
  ...d,
4683
- children: /* @__PURE__ */ i(Qn.Provider, { value: m, children: e })
4689
+ children: /* @__PURE__ */ i(Jn.Provider, { value: m, children: e })
4684
4690
  }
4685
4691
  );
4686
4692
  });
4687
- Jn.displayName = "TabsList";
4688
- const Zn = u((n) => {
4693
+ Zn.displayName = "TabsList";
4694
+ const es = u((n) => {
4689
4695
  const { ref: a, className: t, ...e } = n;
4690
4696
  return /* @__PURE__ */ i(ne.Root, { ref: a, className: x("flex flex-col", t), ...e });
4691
4697
  });
4692
- Zn.displayName = "TabsRoot";
4693
- const es = u((n) => {
4694
- const { ref: a, children: t, className: e, ...s } = n, { size: o, radius: r, variant: c } = b(Qn);
4698
+ es.displayName = "TabsRoot";
4699
+ const ts = u((n) => {
4700
+ const { ref: a, children: t, className: e, ...s } = n, { size: o, radius: r, variant: c } = b(Jn);
4695
4701
  return /* @__PURE__ */ i(
4696
4702
  ne.Trigger,
4697
4703
  {
4698
4704
  ref: a,
4699
- className: x(Ur({ size: o, radius: r, variant: c }), e),
4705
+ className: x(qr({ size: o, radius: r, variant: c }), e),
4700
4706
  ...s,
4701
4707
  children: t
4702
4708
  }
4703
4709
  );
4704
4710
  });
4705
- es.displayName = "TabsTrigger";
4711
+ ts.displayName = "TabsTrigger";
4706
4712
  const ci = {
4707
- Root: Zn,
4708
- List: Jn,
4709
- Trigger: es,
4713
+ Root: es,
4714
+ List: Zn,
4715
+ Trigger: ts,
4710
4716
  Content: ne.Content
4711
- }, qr = v(["shrink-0", "bg-(--accent-6)"], {
4717
+ }, Ur = h(["shrink-0", "bg-(--accent-6)"], {
4712
4718
  variants: {
4713
4719
  size: {
4714
4720
  xs: [],
@@ -4792,9 +4798,9 @@ const ci = {
4792
4798
  }), Wr = u((n) => {
4793
4799
  const { ref: a, className: t, accentColor: e = "base", orientation: s, size: o, ...r } = n;
4794
4800
  return /* @__PURE__ */ i(
4795
- Je.Root,
4801
+ Ze.Root,
4796
4802
  {
4797
- className: x(qr({ orientation: s, size: o }), t),
4803
+ className: x(Ur({ orientation: s, size: o }), t),
4798
4804
  "data-accent-color": e,
4799
4805
  ref: a,
4800
4806
  ...r
@@ -4802,7 +4808,7 @@ const ci = {
4802
4808
  );
4803
4809
  });
4804
4810
  Wr.displayName = "Separator";
4805
- const Kr = v(["relative", "select-none", "touch-none", "flex", "items-center"], {
4811
+ const Kr = h(["relative", "select-none", "touch-none", "flex", "items-center"], {
4806
4812
  variants: {
4807
4813
  size: {
4808
4814
  xs: [],
@@ -4874,7 +4880,7 @@ const Kr = v(["relative", "select-none", "touch-none", "flex", "items-center"],
4874
4880
  className: ["w-8"]
4875
4881
  }
4876
4882
  ]
4877
- }), Xr = v(
4883
+ }), Xr = h(
4878
4884
  [
4879
4885
  "overflow-hidden",
4880
4886
  "relative",
@@ -4957,7 +4963,7 @@ const Kr = v(["relative", "select-none", "touch-none", "flex", "items-center"],
4957
4963
  }
4958
4964
  ]
4959
4965
  }
4960
- ), Yr = v(
4966
+ ), Yr = h(
4961
4967
  ["absolute", "rounded-[inherit]", "data-disabled:opacity-50", "disabled:pointer-events-none"],
4962
4968
  {
4963
4969
  variants: {
@@ -4978,7 +4984,7 @@ const Kr = v(["relative", "select-none", "touch-none", "flex", "items-center"],
4978
4984
  }
4979
4985
  }
4980
4986
  }
4981
- ), Qr = v(
4987
+ ), Qr = h(
4982
4988
  [
4983
4989
  "block",
4984
4990
  "shrink-0",
@@ -5008,7 +5014,7 @@ const Kr = v(["relative", "select-none", "touch-none", "flex", "items-center"],
5008
5014
  }
5009
5015
  }
5010
5016
  ), Jr = u((n) => {
5011
- const a = M(), {
5017
+ const a = V(), {
5012
5018
  className: t,
5013
5019
  size: e = "md",
5014
5020
  orientation: s = "horizontal",
@@ -5044,7 +5050,7 @@ const Kr = v(["relative", "select-none", "touch-none", "flex", "items-center"],
5044
5050
  );
5045
5051
  });
5046
5052
  Jr.displayName = "Slider";
5047
- const Zr = v(
5053
+ const Zr = h(
5048
5054
  ["box-border", "shrink-0", "animate-spin", "rounded-full", "border-(--accent-9)", "border-b-transparent"],
5049
5055
  {
5050
5056
  variants: {
@@ -5061,11 +5067,11 @@ const Zr = v(
5061
5067
  }
5062
5068
  }
5063
5069
  ), ec = u((n) => {
5064
- const a = M(), { ref: t, className: e, size: s = "md", accentColor: o = a.accentColor, ...r } = n;
5070
+ const a = V(), { ref: t, className: e, size: s = "md", accentColor: o = a.accentColor, ...r } = n;
5065
5071
  return /* @__PURE__ */ i("div", { className: x(Zr({ size: s }), e), ref: t, "data-accent-color": o, ...r });
5066
5072
  });
5067
5073
  ec.displayName = "Spinner";
5068
- const ts = T({}), tc = v(
5074
+ const as = O({}), tc = h(
5069
5075
  [
5070
5076
  "shrink-0",
5071
5077
  // select
@@ -5098,7 +5104,7 @@ const ts = T({}), tc = v(
5098
5104
  size: "md"
5099
5105
  }
5100
5106
  }
5101
- ), ac = v(
5107
+ ), ac = h(
5102
5108
  [
5103
5109
  "flex",
5104
5110
  "items-center",
@@ -5122,8 +5128,8 @@ const ts = T({}), tc = v(
5122
5128
  size: "md"
5123
5129
  }
5124
5130
  }
5125
- ), as = u((n) => {
5126
- const a = M(), {
5131
+ ), ns = u((n) => {
5132
+ const a = V(), {
5127
5133
  ref: t,
5128
5134
  children: e,
5129
5135
  className: s,
@@ -5131,7 +5137,7 @@ const ts = T({}), tc = v(
5131
5137
  radius: r = a.radius,
5132
5138
  accentColor: c = a.accentColor,
5133
5139
  ...l
5134
- } = n, d = w(() => ({ size: o, radius: r }), [o, r]);
5140
+ } = n, d = z(() => ({ size: o, radius: r }), [o, r]);
5135
5141
  return /* @__PURE__ */ i(
5136
5142
  Ut.Root,
5137
5143
  {
@@ -5139,13 +5145,13 @@ const ts = T({}), tc = v(
5139
5145
  ref: t,
5140
5146
  "data-accent-color": c,
5141
5147
  ...l,
5142
- children: /* @__PURE__ */ i(ts.Provider, { value: d, children: e })
5148
+ children: /* @__PURE__ */ i(as.Provider, { value: d, children: e })
5143
5149
  }
5144
5150
  );
5145
5151
  });
5146
- as.displayName = "SwitchRoot";
5147
- const ns = u((n) => {
5148
- const { ref: a, className: t, ...e } = n, { size: s, radius: o } = j(ts);
5152
+ ns.displayName = "SwitchRoot";
5153
+ const ss = u((n) => {
5154
+ const { ref: a, className: t, ...e } = n, { size: s, radius: o } = j(as);
5149
5155
  return /* @__PURE__ */ i(
5150
5156
  Ut.Thumb,
5151
5157
  {
@@ -5155,16 +5161,16 @@ const ns = u((n) => {
5155
5161
  }
5156
5162
  );
5157
5163
  });
5158
- ns.displayName = "SwitchThumb";
5164
+ ss.displayName = "SwitchThumb";
5159
5165
  const ii = {
5160
- Root: as,
5161
- Thumb: ns
5162
- }, ss = u((n) => {
5166
+ Root: ns,
5167
+ Thumb: ss
5168
+ }, os = u((n) => {
5163
5169
  const { ref: a, className: t, ...e } = n;
5164
5170
  return /* @__PURE__ */ i("tbody", { ref: a, className: x(t), ...e });
5165
5171
  });
5166
- ss.displayName = "TableBody";
5167
- const $e = T({}), nc = v(["border-collapse text-left"], {
5172
+ os.displayName = "TableBody";
5173
+ const je = O({}), nc = h(["border-collapse text-left"], {
5168
5174
  variants: {
5169
5175
  variant: {
5170
5176
  ghost: [],
@@ -5178,7 +5184,7 @@ const $e = T({}), nc = v(["border-collapse text-left"], {
5178
5184
  xl: ["text-xl"]
5179
5185
  }
5180
5186
  }
5181
- }), Ct = v([], {
5187
+ }), yt = h([], {
5182
5188
  variants: {
5183
5189
  variant: {
5184
5190
  surface: [],
@@ -5218,42 +5224,42 @@ const $e = T({}), nc = v(["border-collapse text-left"], {
5218
5224
  { size: "xl", compact: !0, className: ["px-10", "py-5"] },
5219
5225
  { size: "xl", compact: !1, className: ["p-10"] }
5220
5226
  ]
5221
- }), os = u((n) => {
5222
- const { ref: a, className: t, ...e } = n, { size: s, border: o, variant: r, compact: c } = j($e);
5227
+ }), rs = u((n) => {
5228
+ const { ref: a, className: t, ...e } = n, { size: s, border: o, variant: r, compact: c } = j(je);
5223
5229
  return /* @__PURE__ */ i(
5224
5230
  "td",
5225
5231
  {
5226
5232
  ref: a,
5227
- className: x(Ct({ size: s, border: o, cell: !0, variant: r, compact: c }), t),
5233
+ className: x(yt({ size: s, border: o, cell: !0, variant: r, compact: c }), t),
5228
5234
  ...e
5229
5235
  }
5230
5236
  );
5231
5237
  });
5232
- os.displayName = "TableCell";
5233
- const rs = u((n) => {
5234
- const { ref: a, className: t, ...e } = n, { size: s, border: o, variant: r, compact: c } = j($e);
5238
+ rs.displayName = "TableCell";
5239
+ const cs = u((n) => {
5240
+ const { ref: a, className: t, ...e } = n, { size: s, border: o, variant: r, compact: c } = j(je);
5235
5241
  return /* @__PURE__ */ i(
5236
5242
  "th",
5237
5243
  {
5238
5244
  ref: a,
5239
- className: x(Ct({ size: s, border: o, cell: !1, variant: r, compact: c }), t),
5245
+ className: x(yt({ size: s, border: o, cell: !1, variant: r, compact: c }), t),
5240
5246
  ...e
5241
5247
  }
5242
5248
  );
5243
5249
  });
5244
- rs.displayName = "TableColumnHeaderCell";
5245
- const cs = u((n) => {
5250
+ cs.displayName = "TableColumnHeaderCell";
5251
+ const is = u((n) => {
5246
5252
  const { ref: a, className: t, ...e } = n;
5247
5253
  return /* @__PURE__ */ i("tfoot", { ref: a, className: x(t), ...e });
5248
5254
  });
5249
- cs.displayName = "TableFooter";
5250
- const is = u((n) => {
5255
+ is.displayName = "TableFooter";
5256
+ const ls = u((n) => {
5251
5257
  const { ref: a, className: t, ...e } = n;
5252
5258
  return /* @__PURE__ */ i("thead", { ref: a, className: x(t), ...e });
5253
5259
  });
5254
- is.displayName = "TableHeader";
5255
- const ls = u((n) => {
5256
- const a = M(), {
5260
+ ls.displayName = "TableHeader";
5261
+ const ds = u((n) => {
5262
+ const a = V(), {
5257
5263
  ref: t,
5258
5264
  children: e,
5259
5265
  className: s,
@@ -5263,7 +5269,7 @@ const ls = u((n) => {
5263
5269
  variant: l = "ghost",
5264
5270
  compact: d = !1,
5265
5271
  ...m
5266
- } = n, g = w(() => ({ size: o, border: r, variant: l, compact: d }), [o, r, l, d]);
5272
+ } = n, g = z(() => ({ size: o, border: r, variant: l, compact: d }), [o, r, l, d]);
5267
5273
  return /* @__PURE__ */ i(
5268
5274
  "table",
5269
5275
  {
@@ -5275,38 +5281,38 @@ const ls = u((n) => {
5275
5281
  ),
5276
5282
  "data-accent-color": c,
5277
5283
  ...m,
5278
- children: /* @__PURE__ */ i($e.Provider, { value: g, children: e })
5284
+ children: /* @__PURE__ */ i(je.Provider, { value: g, children: e })
5279
5285
  }
5280
5286
  );
5281
5287
  });
5282
- ls.displayName = "TableRoot";
5283
- const ds = u((n) => {
5288
+ ds.displayName = "TableRoot";
5289
+ const us = u((n) => {
5284
5290
  const { ref: a, className: t, ...e } = n;
5285
5291
  return /* @__PURE__ */ i("tr", { ref: a, className: x(t), ...e });
5286
5292
  });
5287
- ds.displayName = "TableRow";
5288
- const us = u((n) => {
5289
- const { ref: a, className: t, ...e } = n, { size: s, border: o, variant: r, compact: c } = j($e);
5293
+ us.displayName = "TableRow";
5294
+ const ms = u((n) => {
5295
+ const { ref: a, className: t, ...e } = n, { size: s, border: o, variant: r, compact: c } = j(je);
5290
5296
  return /* @__PURE__ */ i(
5291
5297
  "th",
5292
5298
  {
5293
5299
  ref: a,
5294
- className: x(Ct({ size: s, border: o, cell: !0, variant: r, compact: c }), t),
5300
+ className: x(yt({ size: s, border: o, cell: !0, variant: r, compact: c }), t),
5295
5301
  ...e
5296
5302
  }
5297
5303
  );
5298
5304
  });
5299
- us.displayName = "TableRowHeaderCell";
5305
+ ms.displayName = "TableRowHeaderCell";
5300
5306
  const li = {
5301
- Root: ls,
5302
- Header: is,
5303
- Body: ss,
5304
- Footer: cs,
5305
- Row: ds,
5306
- Cell: os,
5307
- RowHeaderCell: us,
5308
- ColumnHeaderCell: rs
5309
- }, ms = T({}), sc = v(["flex", "border-box", "inset-shadow-[0_-1px_0_0_var(--base-a6)]"], {
5307
+ Root: ds,
5308
+ Header: ls,
5309
+ Body: os,
5310
+ Footer: is,
5311
+ Row: us,
5312
+ Cell: rs,
5313
+ RowHeaderCell: ms,
5314
+ ColumnHeaderCell: cs
5315
+ }, gs = O({}), sc = h(["flex", "border-box", "inset-shadow-[0_-1px_0_0_var(--base-a6)]"], {
5310
5316
  variants: {
5311
5317
  size: {
5312
5318
  xs: ["h-6", "text-xs"],
@@ -5319,7 +5325,7 @@ const li = {
5319
5325
  defaultVariants: {
5320
5326
  size: "md"
5321
5327
  }
5322
- }), oc = v(
5328
+ }), oc = h(
5323
5329
  [
5324
5330
  "select-none",
5325
5331
  "shrink-0",
@@ -5353,8 +5359,8 @@ const li = {
5353
5359
  size: "md"
5354
5360
  }
5355
5361
  }
5356
- ), gs = u((n) => {
5357
- const a = M(), { ref: t, children: e, className: s, size: o = "md", accentColor: r = a.accentColor, ...c } = n;
5362
+ ), ps = u((n) => {
5363
+ const a = V(), { ref: t, children: e, className: s, size: o = "md", accentColor: r = a.accentColor, ...c } = n;
5358
5364
  return /* @__PURE__ */ i(
5359
5365
  ne.List,
5360
5366
  {
@@ -5362,32 +5368,32 @@ const li = {
5362
5368
  className: x(sc({ size: o }), s),
5363
5369
  "data-accent-color": r,
5364
5370
  ...c,
5365
- children: /* @__PURE__ */ i(ms.Provider, { value: { size: o }, children: e })
5371
+ children: /* @__PURE__ */ i(gs.Provider, { value: { size: o }, children: e })
5366
5372
  }
5367
5373
  );
5368
5374
  });
5369
- gs.displayName = "TabsList";
5370
- const ps = u((n) => {
5375
+ ps.displayName = "TabsList";
5376
+ const xs = u((n) => {
5371
5377
  const { ref: a, className: t, ...e } = n;
5372
5378
  return /* @__PURE__ */ i(ne.Root, { ref: a, className: x("flex flex-col", t), ...e });
5373
5379
  });
5374
- ps.displayName = "TabsRoot";
5380
+ xs.displayName = "TabsRoot";
5375
5381
  const rc = () => {
5376
- const n = j(ms);
5382
+ const n = j(gs);
5377
5383
  if (!n)
5378
5384
  throw new Error("useTabsList must be used within a TabsList component");
5379
5385
  return n;
5380
- }, xs = u((n) => {
5386
+ }, fs = u((n) => {
5381
5387
  const { ref: a, children: t, className: e, ...s } = n, { size: o } = rc();
5382
5388
  return /* @__PURE__ */ i(ne.Trigger, { ref: a, className: x(oc({ size: o }), e), ...s, children: t });
5383
5389
  });
5384
- xs.displayName = "TabsTrigger";
5390
+ fs.displayName = "TabsTrigger";
5385
5391
  const di = {
5386
- Root: ps,
5387
- List: gs,
5388
- Trigger: xs,
5392
+ Root: xs,
5393
+ List: ps,
5394
+ Trigger: fs,
5389
5395
  Content: ne.Content
5390
- }, cc = v([], {
5396
+ }, cc = h([], {
5391
5397
  variants: {
5392
5398
  size: {
5393
5399
  xs: ["text-xs"],
@@ -5416,7 +5422,7 @@ const di = {
5416
5422
  right: ["text-right"]
5417
5423
  }
5418
5424
  }
5419
- }), Xe = u((n) => {
5425
+ }), Ye = u((n) => {
5420
5426
  const { ref: a, className: t, size: e, weight: s, align: o, accentColor: r, highContrast: c = !1, ...l } = n;
5421
5427
  return /* @__PURE__ */ i(
5422
5428
  "span",
@@ -5435,8 +5441,8 @@ const di = {
5435
5441
  }
5436
5442
  );
5437
5443
  });
5438
- Xe.displayName = "Text";
5439
- const ic = v(
5444
+ Ye.displayName = "Text";
5445
+ const ic = h(
5440
5446
  [
5441
5447
  "focus:outline-(--accent-a8)",
5442
5448
  "focus:outline-2",
@@ -5497,7 +5503,7 @@ const ic = v(
5497
5503
  }
5498
5504
  }
5499
5505
  ), lc = u((n) => {
5500
- const a = M(), {
5506
+ const a = V(), {
5501
5507
  ref: t,
5502
5508
  className: e,
5503
5509
  size: s,
@@ -5518,9 +5524,9 @@ const ic = v(
5518
5524
  });
5519
5525
  lc.displayName = "TextArea";
5520
5526
  const Re = u((n) => {
5521
- const { toastId: a, title: t, description: e, icon: s, accentColor: o, closeButton: r, action: c } = n, { radius: l } = M(), d = h(() => {
5527
+ const { toastId: a, title: t, description: e, icon: s, accentColor: o, closeButton: r, action: c } = n, { radius: l } = V(), d = v(() => {
5522
5528
  K.dismiss(a);
5523
- }, [a]), m = h(() => {
5529
+ }, [a]), m = v(() => {
5524
5530
  K.dismiss(a);
5525
5531
  }, [a]);
5526
5532
  return /* @__PURE__ */ W(
@@ -5535,13 +5541,13 @@ const Re = u((n) => {
5535
5541
  /* @__PURE__ */ W("div", { className: "flex items-center gap-4 grow min-w-0", children: [
5536
5542
  s,
5537
5543
  /* @__PURE__ */ W("div", { className: "flex flex-col min-w-0 select-none", children: [
5538
- /* @__PURE__ */ i(Xe, { className: "truncate", children: t }),
5539
- e && /* @__PURE__ */ i(Xe, { accentColor: "base", size: "sm", weight: "regular", children: e })
5544
+ /* @__PURE__ */ i(Ye, { className: "truncate", children: t }),
5545
+ e && /* @__PURE__ */ i(Ye, { accentColor: "base", size: "sm", weight: "regular", children: e })
5540
5546
  ] })
5541
5547
  ] }),
5542
5548
  /* @__PURE__ */ i(me, { onClick: d, children: c }),
5543
5549
  r && /* @__PURE__ */ i(
5544
- tt,
5550
+ at,
5545
5551
  {
5546
5552
  type: "button",
5547
5553
  onClick: m,
@@ -5549,17 +5555,17 @@ const Re = u((n) => {
5549
5555
  accentColor: "base",
5550
5556
  variant: "ghost",
5551
5557
  size: "xs",
5552
- children: /* @__PURE__ */ i(q, { icon: $s })
5558
+ children: /* @__PURE__ */ i(U, { icon: js })
5553
5559
  }
5554
5560
  )
5555
5561
  ]
5556
5562
  }
5557
5563
  );
5558
- }), je = {
5559
- success: /* @__PURE__ */ i(q, { icon: Ws, color: "var(--accent-9)" }),
5560
- info: /* @__PURE__ */ i(q, { icon: qs, color: "var(--base-11)" }),
5561
- warning: /* @__PURE__ */ i(q, { icon: Us, color: "var(--accent-9)" }),
5562
- error: /* @__PURE__ */ i(q, { icon: js, color: "var(--accent-9)" })
5564
+ }), qe = {
5565
+ success: /* @__PURE__ */ i(U, { icon: Ks, color: "var(--accent-9)" }),
5566
+ info: /* @__PURE__ */ i(U, { icon: Ws, color: "var(--base-11)" }),
5567
+ warning: /* @__PURE__ */ i(U, { icon: Us, color: "var(--accent-9)" }),
5568
+ error: /* @__PURE__ */ i(U, { icon: qs, color: "var(--accent-9)" })
5563
5569
  }, dc = (n) => {
5564
5570
  const { icon: a, description: t, title: e, closeButton: s, action: o, ...r } = n;
5565
5571
  return K.custom(
@@ -5584,7 +5590,7 @@ const Re = u((n) => {
5584
5590
  {
5585
5591
  accentColor: "success",
5586
5592
  toastId: c,
5587
- icon: a ?? je.success,
5593
+ icon: a ?? qe.success,
5588
5594
  description: t,
5589
5595
  title: e,
5590
5596
  closeButton: s,
@@ -5601,7 +5607,7 @@ const Re = u((n) => {
5601
5607
  {
5602
5608
  accentColor: "base",
5603
5609
  toastId: c,
5604
- icon: a ?? je.info,
5610
+ icon: a ?? qe.info,
5605
5611
  description: t,
5606
5612
  title: e,
5607
5613
  closeButton: s,
@@ -5618,7 +5624,7 @@ const Re = u((n) => {
5618
5624
  {
5619
5625
  accentColor: "warning",
5620
5626
  toastId: c,
5621
- icon: a ?? je.warning,
5627
+ icon: a ?? qe.warning,
5622
5628
  description: t,
5623
5629
  title: e,
5624
5630
  closeButton: s,
@@ -5635,7 +5641,7 @@ const Re = u((n) => {
5635
5641
  {
5636
5642
  accentColor: "danger",
5637
5643
  toastId: c,
5638
- icon: a ?? je.error,
5644
+ icon: a ?? qe.error,
5639
5645
  description: t,
5640
5646
  title: e,
5641
5647
  closeButton: s,
@@ -5657,9 +5663,9 @@ const Re = u((n) => {
5657
5663
  { getHistory: K.getHistory, getToasts: K.getToasts }
5658
5664
  ), xc = {
5659
5665
  unstyled: !0
5660
- }, fc = u((n) => /* @__PURE__ */ i(ro, { toastOptions: xc, richColors: !1, closeButton: !1, theme: "system", ...n }));
5666
+ }, fc = u((n) => /* @__PURE__ */ i(co, { toastOptions: xc, richColors: !1, closeButton: !1, theme: "system", ...n }));
5661
5667
  fc.displayName = "Toaster";
5662
- const hc = v(
5668
+ const hc = h(
5663
5669
  [
5664
5670
  "flex",
5665
5671
  "items-center",
@@ -5778,8 +5784,8 @@ const hc = v(
5778
5784
  variant: "outline"
5779
5785
  }
5780
5786
  }
5781
- ), yt = u((n) => {
5782
- const a = M(), {
5787
+ ), zt = u((n) => {
5788
+ const a = V(), {
5783
5789
  ref: t,
5784
5790
  className: e,
5785
5791
  size: s,
@@ -5790,7 +5796,7 @@ const hc = v(
5790
5796
  ...d
5791
5797
  } = n;
5792
5798
  return /* @__PURE__ */ i(
5793
- co.Root,
5799
+ io.Root,
5794
5800
  {
5795
5801
  ref: t,
5796
5802
  className: x(hc({ size: s, variant: r, icon: o }), k({ radius: c, maxLarge: !1 }), e),
@@ -5799,12 +5805,12 @@ const hc = v(
5799
5805
  }
5800
5806
  );
5801
5807
  });
5802
- yt.displayName = "BaseToggleButton";
5803
- const vc = u((n) => /* @__PURE__ */ i(yt, { icon: !0, ...n }));
5808
+ zt.displayName = "BaseToggleButton";
5809
+ const vc = u((n) => /* @__PURE__ */ i(zt, { icon: !0, ...n }));
5804
5810
  vc.displayName = "IconToggleButton";
5805
- const bc = u((n) => /* @__PURE__ */ i(yt, { icon: !1, ...n }));
5811
+ const bc = u((n) => /* @__PURE__ */ i(zt, { icon: !1, ...n }));
5806
5812
  bc.displayName = "ToggleButton";
5807
- const fs = T({}), Cc = v(
5813
+ const hs = O({}), Cc = h(
5808
5814
  [
5809
5815
  "flex",
5810
5816
  "items-center",
@@ -5918,8 +5924,8 @@ const fs = T({}), Cc = v(
5918
5924
  }
5919
5925
  ]
5920
5926
  }
5921
- ), zt = u((n) => {
5922
- const a = b(fs), {
5927
+ ), Nt = u((n) => {
5928
+ const a = b(hs), {
5923
5929
  ref: t,
5924
5930
  className: e,
5925
5931
  icon: s,
@@ -5943,13 +5949,13 @@ const fs = T({}), Cc = v(
5943
5949
  }
5944
5950
  );
5945
5951
  });
5946
- zt.displayName = "ToggleGroupBaseItem";
5947
- const hs = u((n) => /* @__PURE__ */ i(zt, { icon: !0, ...n }));
5948
- hs.displayName = "ToggleGroupIconItem";
5949
- const vs = u((n) => /* @__PURE__ */ i(zt, { icon: !1, ...n }));
5950
- vs.displayName = "ToggleGroupItem";
5951
- const bs = u((n) => {
5952
- const a = M(), {
5952
+ Nt.displayName = "ToggleGroupBaseItem";
5953
+ const vs = u((n) => /* @__PURE__ */ i(Nt, { icon: !0, ...n }));
5954
+ vs.displayName = "ToggleGroupIconItem";
5955
+ const bs = u((n) => /* @__PURE__ */ i(Nt, { icon: !1, ...n }));
5956
+ bs.displayName = "ToggleGroupItem";
5957
+ const Cs = u((n) => {
5958
+ const a = V(), {
5953
5959
  ref: t,
5954
5960
  children: e,
5955
5961
  accentColor: s = a.accentColor,
@@ -5957,7 +5963,7 @@ const bs = u((n) => {
5957
5963
  variant: r = "soft",
5958
5964
  size: c = "md",
5959
5965
  ...l
5960
- } = n, d = w(
5966
+ } = n, d = z(
5961
5967
  () => ({
5962
5968
  variant: r,
5963
5969
  size: c,
@@ -5966,19 +5972,19 @@ const bs = u((n) => {
5966
5972
  }),
5967
5973
  [s, o, c, r]
5968
5974
  );
5969
- return /* @__PURE__ */ i(Oe.Root, { ref: t, "data-accent-color": s, ...l, children: /* @__PURE__ */ i(fs, { value: d, children: e }) });
5975
+ return /* @__PURE__ */ i(Oe.Root, { ref: t, "data-accent-color": s, ...l, children: /* @__PURE__ */ i(hs, { value: d, children: e }) });
5970
5976
  });
5971
- bs.displayName = "ToggleGroupRoot";
5977
+ Cs.displayName = "ToggleGroupRoot";
5972
5978
  const mi = {
5973
- Root: bs,
5974
- Item: vs,
5975
- IconItem: hs
5976
- }, Cs = u((n) => {
5979
+ Root: Cs,
5980
+ Item: bs,
5981
+ IconItem: vs
5982
+ }, ys = u((n) => {
5977
5983
  const { ref: a, className: t, ...e } = n;
5978
5984
  return /* @__PURE__ */ i(de.Arrow, { className: x("fill-(--base-6)", t), ref: a, ...e });
5979
5985
  });
5980
- Cs.displayName = "TooltipArrow";
5981
- const yc = v(
5986
+ ys.displayName = "TooltipArrow";
5987
+ const yc = h(
5982
5988
  [
5983
5989
  "data-[state=delayed-open]:animate-in",
5984
5990
  "data-[state=delayed-open]:fade-in-0",
@@ -6014,8 +6020,8 @@ const yc = v(
6014
6020
  side: "top"
6015
6021
  }
6016
6022
  }
6017
- ), ys = u((n) => {
6018
- const a = M(), {
6023
+ ), zs = u((n) => {
6024
+ const a = V(), {
6019
6025
  ref: t,
6020
6026
  children: e,
6021
6027
  className: s,
@@ -6038,222 +6044,222 @@ const yc = v(
6038
6044
  }
6039
6045
  ) });
6040
6046
  });
6041
- ys.displayName = "TooltipContent";
6047
+ zs.displayName = "TooltipContent";
6042
6048
  const gi = {
6043
- Arrow: Cs,
6044
- Content: ys,
6049
+ Arrow: ys,
6050
+ Content: zs,
6045
6051
  Root: de.Root,
6046
6052
  Trigger: de.Trigger,
6047
6053
  Provider: de.Provider
6048
6054
  };
6049
6055
  export {
6050
6056
  _c as AlertDialog,
6051
- et as AlertDialogContent,
6052
- uo as AlertDialogProvider,
6057
+ tt as AlertDialogContent,
6058
+ mo as AlertDialogProvider,
6053
6059
  Fc as Avatar,
6054
- ea as AvatarFallback,
6055
- ta as AvatarImage,
6056
- aa as AvatarRoot,
6057
- xo as Badge,
6058
- We as Button,
6059
- lo as ButtonGroup,
6060
- ho as Card,
6060
+ ta as AvatarFallback,
6061
+ aa as AvatarImage,
6062
+ na as AvatarRoot,
6063
+ fo as Badge,
6064
+ Ke as Button,
6065
+ uo as ButtonGroup,
6066
+ vo as Card,
6061
6067
  Hc as Checkbox,
6062
6068
  jc as CheckboxGroup,
6063
- oa as CheckboxGroupItem,
6064
- ra as CheckboxGroupItemIndicator,
6065
- ca as CheckboxGroupRoot,
6066
- ia as CheckboxGroupSelectAllItem,
6067
- na as CheckboxIndicator,
6068
- sa as CheckboxRoot,
6069
- Uc as CommandMenu,
6070
- la as CommandMenuCheckboxIndicator,
6071
- ma as CommandMenuCheckboxItem,
6072
- ga as CommandMenuContent,
6073
- pa as CommandMenuEmpty,
6074
- Ge as CommandMenuGroup,
6075
- xa as CommandMenuInput,
6069
+ ra as CheckboxGroupItem,
6070
+ ca as CheckboxGroupItemIndicator,
6071
+ ia as CheckboxGroupRoot,
6072
+ la as CheckboxGroupSelectAllItem,
6073
+ sa as CheckboxIndicator,
6074
+ oa as CheckboxRoot,
6075
+ qc as CommandMenu,
6076
+ da as CommandMenuCheckboxIndicator,
6077
+ ga as CommandMenuCheckboxItem,
6078
+ pa as CommandMenuContent,
6079
+ xa as CommandMenuEmpty,
6080
+ Ee as CommandMenuGroup,
6081
+ fa as CommandMenuInput,
6076
6082
  ce as CommandMenuItem,
6077
- fa as CommandMenuList,
6078
- Ro as CommandMenuMultiSelectGroup,
6079
- To as CommandMenuMultiSelectItem,
6080
- ha as CommandMenuOverlay,
6081
- va as CommandMenuPage,
6082
- Ca as CommandMenuPageTriggerItem,
6083
- ba as CommandMenuPages,
6084
- Po as CommandMenuRadioGroup,
6085
- Mo as CommandMenuRadioItem,
6086
- ya as CommandMenuRoot,
6087
- Oo as CommandMenuSelectAllItem,
6088
- za as CommandMenuSelectedIndicator,
6089
- Na as CommandMenuSeparator,
6090
- wa as CommandMenuTrigger,
6091
- $o as DayPicker,
6092
- qc as Dialog,
6093
- Sa as DialogContent,
6094
- ka as DialogOverlay,
6095
- Ra as DialogRoot,
6096
- Wo as Heading,
6083
+ ha as CommandMenuList,
6084
+ To as CommandMenuMultiSelectGroup,
6085
+ Po as CommandMenuMultiSelectItem,
6086
+ va as CommandMenuOverlay,
6087
+ ba as CommandMenuPage,
6088
+ ya as CommandMenuPageTriggerItem,
6089
+ Ca as CommandMenuPages,
6090
+ Mo as CommandMenuRadioGroup,
6091
+ Oo as CommandMenuRadioItem,
6092
+ za as CommandMenuRoot,
6093
+ Vo as CommandMenuSelectAllItem,
6094
+ Na as CommandMenuSelectedIndicator,
6095
+ wa as CommandMenuSeparator,
6096
+ Ia as CommandMenuTrigger,
6097
+ jo as DayPicker,
6098
+ Uc as Dialog,
6099
+ ka as DialogContent,
6100
+ Ra as DialogOverlay,
6101
+ Ta as DialogRoot,
6102
+ Ko as Heading,
6097
6103
  Wc as HoverCard,
6098
- Ta as HoverCardArrow,
6099
- Pa as HoverCardContent,
6100
- Xo as HoverUtility,
6101
- tt as IconButton,
6104
+ Pa as HoverCardArrow,
6105
+ Ma as HoverCardContent,
6106
+ at as IconButton,
6102
6107
  vc as IconToggleButton,
6103
6108
  Kc as Input,
6104
- Ma as InputField,
6105
- Oa as InputRoot,
6106
- Va as InputSlot,
6109
+ Oa as InputField,
6110
+ Va as InputRoot,
6111
+ La as InputSlot,
6107
6112
  Qc as Layout,
6108
- La as LayoutContainer,
6109
- Aa as LayoutRoot,
6110
- Ea as LayoutSlideOutClose,
6111
- _a as LayoutSlideOutContent,
6112
- Fa as LayoutSlideOutHandle,
6113
- Ha as LayoutSlideOutOverlay,
6114
- Ba as LayoutSlideOutRoot,
6115
- $a as LayoutSlideOutTrigger,
6113
+ Aa as LayoutContainer,
6114
+ Da as LayoutRoot,
6115
+ _a as LayoutSlideOutClose,
6116
+ Fa as LayoutSlideOutContent,
6117
+ Ha as LayoutSlideOutHandle,
6118
+ Ba as LayoutSlideOutOverlay,
6119
+ $a as LayoutSlideOutRoot,
6120
+ ja as LayoutSlideOutTrigger,
6116
6121
  rr as Link,
6117
- q as LuIcon,
6122
+ U as LuIcon,
6118
6123
  Jc as Menu,
6119
- qa as MenuCheckboxItem,
6120
- Wa as MenuCheckboxItemIndicator,
6121
- Ka as MenuClickTrigger,
6122
- Xa as MenuContent,
6123
- Ya as MenuContextTrigger,
6124
- Fe as MenuGroup,
6125
- Qa as MenuInputField,
6126
- Ja as MenuInputRoot,
6127
- Za as MenuInputSlot,
6124
+ Wa as MenuCheckboxItem,
6125
+ Ka as MenuCheckboxItemIndicator,
6126
+ Xa as MenuClickTrigger,
6127
+ Ya as MenuContent,
6128
+ Qa as MenuContextTrigger,
6129
+ He as MenuGroup,
6130
+ Ja as MenuInputField,
6131
+ Za as MenuInputRoot,
6132
+ en as MenuInputSlot,
6128
6133
  se as MenuItem,
6129
- en as MenuLabel,
6134
+ tn as MenuLabel,
6130
6135
  gr as MenuMultiSelectGroup,
6131
6136
  pr as MenuMultiSelectItem,
6132
- tn as MenuPageContent,
6133
- nn as MenuPageTrigger,
6134
- an as MenuPages,
6135
- on as MenuRoot,
6136
- rn as MenuScroll,
6137
+ an as MenuPageContent,
6138
+ sn as MenuPageTrigger,
6139
+ nn as MenuPages,
6140
+ rn as MenuRoot,
6141
+ cn as MenuScroll,
6137
6142
  fr as MenuSelectAllItem,
6138
6143
  hr as MenuSelectGroup,
6139
6144
  vr as MenuSelectItem,
6140
- cn as MenuSelectedIndicator,
6141
- ln as MenuSeparator,
6142
- dn as MenuSub,
6143
- un as MenuSubContent,
6144
- mn as MenuSubTrigger,
6145
+ ln as MenuSelectedIndicator,
6146
+ dn as MenuSeparator,
6147
+ un as MenuSub,
6148
+ mn as MenuSubContent,
6149
+ gn as MenuSubTrigger,
6145
6150
  Zc as MenuV2,
6146
- xn as MenuV2CheckboxItem,
6147
- fn as MenuV2CheckedIndicator,
6148
- Be as MenuV2Group,
6149
- hn as MenuV2GroupLabel,
6151
+ fn as MenuV2CheckboxItem,
6152
+ hn as MenuV2CheckedIndicator,
6153
+ $e as MenuV2Group,
6154
+ vn as MenuV2GroupLabel,
6150
6155
  le as MenuV2Item,
6151
6156
  kr as MenuV2MultiSelectGroup,
6152
6157
  Rr as MenuV2MultiSelectItem,
6153
- vn as MenuV2Page,
6154
- Cn as MenuV2PageTriggerItem,
6155
- bn as MenuV2Pages,
6156
- yn as MenuV2Root,
6158
+ bn as MenuV2Page,
6159
+ yn as MenuV2PageTriggerItem,
6160
+ Cn as MenuV2Pages,
6161
+ zn as MenuV2Root,
6157
6162
  Sr as MenuV2SelectAllItem,
6158
6163
  Tr as MenuV2SelectGroup,
6159
6164
  Pr as MenuV2SelectItem,
6160
- zn as MenuV2SelectedIndicator,
6161
- Nn as MenuV2Separator,
6162
- gn as MenuVirtualTrigger,
6165
+ Nn as MenuV2SelectedIndicator,
6166
+ wn as MenuV2Separator,
6167
+ pn as MenuVirtualTrigger,
6163
6168
  ei as OneTimePasswordField,
6164
- wn as OneTimePasswordFieldHiddenInput,
6165
- Sn as OneTimePasswordFieldInput,
6166
- kn as OneTimePasswordFieldRoot,
6169
+ In as OneTimePasswordFieldHiddenInput,
6170
+ kn as OneTimePasswordFieldInput,
6171
+ Rn as OneTimePasswordFieldRoot,
6167
6172
  ti as Overlay,
6168
- Rn as OverlayClose,
6169
- Tn as OverlayContent,
6170
- Pn as OverlayDescription,
6171
- Mn as OverlayRoot,
6172
- On as OverlayTitle,
6173
- Vn as OverlayTrigger,
6173
+ Tn as OverlayClose,
6174
+ Pn as OverlayContent,
6175
+ Mn as OverlayDescription,
6176
+ On as OverlayRoot,
6177
+ Vn as OverlayTitle,
6178
+ Ln as OverlayTrigger,
6174
6179
  Vr as OvermapErrorBoundary,
6175
6180
  ai as Popover,
6176
- An as PopoverArrow,
6177
- Dn as PopoverContent,
6181
+ Dn as PopoverArrow,
6182
+ Gn as PopoverContent,
6178
6183
  Gr as Progress,
6179
- io as Provider,
6184
+ lo as Provider,
6180
6185
  ni as RadioCards,
6181
- En as RadioCardsItem,
6182
- _n as RadioCardsRoot,
6186
+ _n as RadioCardsItem,
6187
+ Fn as RadioCardsRoot,
6183
6188
  si as RadioGroup,
6184
- Fn as RadioGroupIndicator,
6185
- Bn as RadioGroupItem,
6186
- $n as RadioGroupRoot,
6189
+ Hn as RadioGroupIndicator,
6190
+ $n as RadioGroupItem,
6191
+ jn as RadioGroupRoot,
6187
6192
  oi as Rating,
6188
6193
  Un as RatingItem,
6189
- qn as RatingItemIndicator,
6190
- Wn as RatingRoot,
6194
+ Wn as RatingItemIndicator,
6195
+ Kn as RatingRoot,
6191
6196
  ri as SegmentedControl,
6192
- Xn as SegmentedControlItem,
6193
- Yn as SegmentedControlRoot,
6197
+ Yn as SegmentedControlItem,
6198
+ Qn as SegmentedControlRoot,
6194
6199
  ci as SegmentedTabs,
6195
- Jn as SegmentedTabsList,
6196
- Zn as SegmentedTabsRoot,
6197
- es as SegmentedTabsTrigger,
6200
+ Zn as SegmentedTabsList,
6201
+ es as SegmentedTabsRoot,
6202
+ ts as SegmentedTabsTrigger,
6198
6203
  Wr as Separator,
6199
6204
  Yc as SlideOut,
6200
- ut as SlideOutClose,
6201
- mt as SlideOutContent,
6202
- gt as SlideOutHandle,
6203
- pt as SlideOutOverlay,
6204
- xt as SlideOutRoot,
6205
- Ga as SlideOutTrigger,
6206
- ft as SlideOutViewport,
6205
+ mt as SlideOutClose,
6206
+ gt as SlideOutContent,
6207
+ pt as SlideOutHandle,
6208
+ xt as SlideOutOverlay,
6209
+ ft as SlideOutRoot,
6210
+ Ea as SlideOutTrigger,
6211
+ ht as SlideOutViewport,
6207
6212
  Jr as Slider,
6208
6213
  ec as Spinner,
6209
6214
  ii as Switch,
6210
- as as SwitchRoot,
6211
- ns as SwitchThumb,
6215
+ ns as SwitchRoot,
6216
+ ss as SwitchThumb,
6212
6217
  li as Table,
6213
- ss as TableBody,
6214
- os as TableCell,
6215
- rs as TableColumnHeaderCell,
6216
- cs as TableFooter,
6217
- is as TableHeader,
6218
- ls as TableRoot,
6219
- ds as TableRow,
6220
- us as TableRowHeaderCell,
6218
+ os as TableBody,
6219
+ rs as TableCell,
6220
+ cs as TableColumnHeaderCell,
6221
+ is as TableFooter,
6222
+ ls as TableHeader,
6223
+ ds as TableRoot,
6224
+ us as TableRow,
6225
+ ms as TableRowHeaderCell,
6221
6226
  di as Tabs,
6222
- gs as TabsList,
6223
- ps as TabsRoot,
6224
- xs as TabsTrigger,
6225
- Xe as Text,
6227
+ ps as TabsList,
6228
+ xs as TabsRoot,
6229
+ fs as TabsTrigger,
6230
+ Ye as Text,
6226
6231
  lc as TextArea,
6227
6232
  fc as Toaster,
6228
6233
  bc as ToggleButton,
6229
6234
  mi as ToggleGroup,
6230
- hs as ToggleGroupIconItem,
6231
- vs as ToggleGroupItem,
6232
- bs as ToggleGroupRoot,
6235
+ vs as ToggleGroupIconItem,
6236
+ bs as ToggleGroupItem,
6237
+ Cs as ToggleGroupRoot,
6233
6238
  gi as Tooltip,
6234
- Cs as TooltipArrow,
6235
- ys as TooltipContent,
6236
- po as badge,
6237
- Jt as buttonCva,
6239
+ ys as TooltipArrow,
6240
+ zs as TooltipContent,
6241
+ xo as badge,
6242
+ Zt as buttonCva,
6238
6243
  Ve as floating,
6239
6244
  F as genericMemo,
6240
- Le as getActiveState,
6245
+ Ae as getActiveState,
6241
6246
  Q as getBooleanState,
6242
6247
  Ie as getCheckedState,
6243
6248
  pe as getOpenState,
6244
6249
  oe as getSelectedState,
6245
6250
  we as mergeRefs,
6246
6251
  k as radiusCva,
6247
- bo as stopPropagation,
6252
+ Le as shadowCva,
6253
+ Co as stopPropagation,
6248
6254
  ui as toast,
6249
6255
  Ec as useAlertDialog,
6250
- Qt as useButtonGroup,
6256
+ Jt as useButtonGroup,
6251
6257
  X as useControlledState,
6252
- vo as useFallbackId,
6253
- nt as useLatest,
6258
+ bo as useFallbackId,
6259
+ st as useLatest,
6254
6260
  ke as useLayoutContext,
6255
6261
  Xc as useLayoutContextSelector,
6256
- M as useProvider,
6262
+ V as useProvider,
6257
6263
  $c as useTextFilter,
6258
6264
  Bc as useViewportSize
6259
6265
  };