@gv-tech/ui-native 2.22.0 → 2.22.2

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.
@@ -1,104 +1,107 @@
1
1
  import * as e from "react";
2
- import { AccessibilityInfo as t, Animated as n, Linking as r, Modal as i, Platform as a, Pressable as o, ScrollView as s, StyleSheet as c, Text as l, TextInput as u, TouchableOpacity as d, View as f } from "react-native";
3
- import { Fragment as p, jsx as m, jsxs as h } from "react/jsx-runtime";
4
- import { clsx as g } from "clsx";
5
- import { twMerge as _ } from "tailwind-merge";
6
- import * as v from "@rn-primitives/accordion";
7
- import { ArrowUp as ee, Check as y, ChevronDown as b, ChevronLeft as x, ChevronRight as S, ChevronUp as te, Circle as C, Coffee as ne, ExternalLink as re, Moon as ie, MoreHorizontal as ae, Sun as oe, SunMoon as se, X as ce } from "lucide-react-native";
8
- import w, { Extrapolation as le, FadeIn as T, FadeInUp as ue, FadeOut as E, FadeOutDown as de, Layout as fe, SlideInDown as pe, SlideInRight as me, SlideOutDown as he, SlideOutRight as ge, interpolate as _e, useAnimatedStyle as ve, useDerivedValue as ye, useSharedValue as be, withRepeat as xe, withSequence as Se, withTiming as D } from "react-native-reanimated";
9
- import { cva as O } from "class-variance-authority";
10
- import * as k from "@rn-primitives/alert-dialog";
11
- import * as Ce from "@rn-primitives/aspect-ratio";
12
- import * as A from "@rn-primitives/avatar";
13
- import { Slot as we } from "@rn-primitives/slot";
14
- import * as Te from "@rn-primitives/checkbox";
15
- import * as Ee from "@rn-primitives/collapsible";
16
- import * as j from "@rn-primitives/context-menu";
17
- import * as M from "@rn-primitives/dialog";
18
- import * as N from "@rn-primitives/dropdown-menu";
19
- import * as P from "@rn-primitives/hover-card";
20
- import * as De from "@rn-primitives/label";
21
- import * as F from "@rn-primitives/menubar";
22
- import * as I from "@rn-primitives/navigation-menu";
23
- import * as L from "@rn-primitives/radio-group";
24
- import * as R from "@rn-primitives/select";
25
- import * as Oe from "@rn-primitives/separator";
26
- import * as z from "@rn-primitives/slider";
27
- import * as ke from "@rn-primitives/switch";
28
- import * as B from "@rn-primitives/tabs";
29
- import { toggleVariants as Ae } from "@gv-tech/ui-core";
30
- import * as je from "@rn-primitives/toggle";
31
- import * as V from "@rn-primitives/toggle-group";
32
- import * as H from "@rn-primitives/tooltip";
33
- import * as U from "@rn-primitives/toast";
34
- import { useColorScheme as Me } from "nativewind";
2
+ import { AccessibilityInfo as t, Animated as n, Dimensions as r, Linking as i, Modal as a, Platform as o, Pressable as s, ScrollView as c, StyleSheet as l, Text as u, TextInput as d, TouchableOpacity as f, View as p } from "react-native";
3
+ import { Fragment as m, jsx as h, jsxs as g } from "react/jsx-runtime";
4
+ import { clsx as _ } from "clsx";
5
+ import { twMerge as v } from "tailwind-merge";
6
+ import * as y from "@rn-primitives/accordion";
7
+ import { ArrowLeft as b, ArrowRight as x, ArrowUp as S, Check as C, ChevronDown as w, ChevronLeft as ee, ChevronRight as T, ChevronUp as te, Circle as E, Coffee as ne, ExternalLink as re, Moon as ie, MoreHorizontal as ae, Search as oe, Sun as se, SunMoon as ce, X as le } from "lucide-react-native";
8
+ import D, { Extrapolation as ue, FadeIn as O, FadeInUp as de, FadeOut as k, FadeOutDown as fe, Layout as pe, SlideInDown as me, SlideInRight as he, SlideOutDown as ge, SlideOutRight as _e, interpolate as ve, useAnimatedStyle as ye, useDerivedValue as be, useSharedValue as xe, withRepeat as Se, withSequence as Ce, withTiming as we } from "react-native-reanimated";
9
+ import { cva as A } from "class-variance-authority";
10
+ import * as j from "@rn-primitives/alert-dialog";
11
+ import * as Te from "@rn-primitives/aspect-ratio";
12
+ import * as M from "@rn-primitives/avatar";
13
+ import * as Ee from "@rn-primitives/slot";
14
+ import { Slot as De } from "@rn-primitives/slot";
15
+ import * as Oe from "@rn-primitives/checkbox";
16
+ import * as ke from "@rn-primitives/collapsible";
17
+ import * as N from "@rn-primitives/context-menu";
18
+ import * as P from "@rn-primitives/dialog";
19
+ import * as F from "@rn-primitives/dropdown-menu";
20
+ import { FormProvider as Ae, useFormContext as je } from "react-hook-form";
21
+ import * as Me from "@rn-primitives/label";
22
+ import * as I from "@rn-primitives/hover-card";
23
+ import * as L from "@rn-primitives/menubar";
24
+ import * as R from "@rn-primitives/navigation-menu";
25
+ import * as z from "@rn-primitives/radio-group";
26
+ import * as B from "@rn-primitives/select";
27
+ import * as Ne from "@rn-primitives/separator";
28
+ import * as V from "@rn-primitives/slider";
29
+ import * as H from "@rn-primitives/toast";
30
+ import * as Pe from "@rn-primitives/switch";
31
+ import * as U from "@rn-primitives/tabs";
32
+ import { toggleVariants as Fe } from "@gv-tech/ui-core";
33
+ import * as Ie from "@rn-primitives/toggle";
34
+ import * as W from "@rn-primitives/toggle-group";
35
+ import * as G from "@rn-primitives/tooltip";
36
+ import { useColorScheme as Le } from "nativewind";
37
+ import { theme as Re } from "@gv-tech/design-tokens";
35
38
  //#region src/lib/render-native.tsx
36
- function W(t, n = l, r = {}) {
37
- return e.Children.map(t, (e) => typeof e == "string" || typeof e == "number" ? /* @__PURE__ */ m(n, {
39
+ function K(t, n = u, r = {}) {
40
+ return e.Children.map(t, (e) => typeof e == "string" || typeof e == "number" ? /* @__PURE__ */ h(n, {
38
41
  ...r,
39
42
  children: e
40
43
  }) : e);
41
44
  }
42
45
  //#endregion
43
46
  //#region src/lib/utils.ts
44
- function G(...e) {
45
- return _(g(e));
47
+ function q(...e) {
48
+ return v(_(e));
46
49
  }
47
- function Ne(e) {
50
+ function ze(e) {
48
51
  return e.toString().toLowerCase().trim().replace(/\s+/g, "-").replace(/[^\w-]+/g, "").replace(/--+/g, "-");
49
52
  }
50
53
  //#endregion
51
54
  //#region src/accordion.tsx
52
- var Pe = e.forwardRef(({ className: e, ...t }, n) => /* @__PURE__ */ m(v.Root, {
55
+ var Be = e.forwardRef(({ className: e, ...t }, n) => /* @__PURE__ */ h(y.Root, {
53
56
  ref: n,
54
- className: G("web:gap-0", e),
57
+ className: q("web:gap-0", e),
55
58
  ...t
56
59
  }));
57
- Pe.displayName = v.Root?.displayName || "Accordion";
58
- var Fe = e.forwardRef(({ className: e, ...t }, n) => /* @__PURE__ */ m(v.Item, {
60
+ Be.displayName = y.Root?.displayName || "Accordion";
61
+ var Ve = e.forwardRef(({ className: e, ...t }, n) => /* @__PURE__ */ h(y.Item, {
59
62
  ref: n,
60
- className: G("border-border overflow-hidden border-b", e),
63
+ className: q("border-border overflow-hidden border-b", e),
61
64
  ...t
62
65
  }));
63
- Fe.displayName = v.Item?.displayName || "AccordionItem";
64
- var Ie = e.forwardRef(({ className: e, ...t }, n) => /* @__PURE__ */ m(v.Header, {
66
+ Ve.displayName = y.Item?.displayName || "AccordionItem";
67
+ var He = e.forwardRef(({ className: e, ...t }, n) => /* @__PURE__ */ h(y.Header, {
65
68
  ref: n,
66
- className: G("flex flex-row", e),
69
+ className: q("flex flex-row", e),
67
70
  ...t
68
71
  }));
69
- Ie.displayName = v.Header?.displayName || "AccordionHeader";
70
- var Le = e.forwardRef(({ className: e, children: t, ...n }, r) => {
71
- let { isExpanded: i } = v.useItemContext(), a = ye(() => i ? D(1, { duration: 250 }) : D(0, { duration: 200 })), o = ve(() => ({
72
+ He.displayName = y.Header?.displayName || "AccordionHeader";
73
+ var Ue = e.forwardRef(({ className: e, children: t, ...n }, r) => {
74
+ let { isExpanded: i } = y.useItemContext(), a = be(() => i ? we(1, { duration: 250 }) : we(0, { duration: 200 })), o = ye(() => ({
72
75
  transform: [{ rotate: `${a.value * 180}deg` }],
73
- opacity: _e(a.value, [0, 1], [1, .8], le.CLAMP)
76
+ opacity: ve(a.value, [0, 1], [1, .8], ue.CLAMP)
74
77
  }));
75
- return /* @__PURE__ */ m(v.Header, {
78
+ return /* @__PURE__ */ h(y.Header, {
76
79
  className: "flex",
77
- children: /* @__PURE__ */ h(v.Trigger, {
80
+ children: /* @__PURE__ */ g(y.Trigger, {
78
81
  ref: r,
79
- className: G("flex flex-row items-center justify-between py-4 font-medium transition-all hover:underline [&[data-state=open]>svg]:rotate-180", e),
82
+ className: q("flex flex-row items-center justify-between py-4 font-medium transition-all hover:underline [&[data-state=open]>svg]:rotate-180", e),
80
83
  ...n,
81
- children: [/* @__PURE__ */ m(p, { children: t }), /* @__PURE__ */ m(w.View, {
84
+ children: [/* @__PURE__ */ h(m, { children: t }), /* @__PURE__ */ h(D.View, {
82
85
  style: o,
83
- children: /* @__PURE__ */ m(b, { className: "text-muted-foreground h-4 w-4 shrink-0 transition-transform duration-200" })
86
+ children: /* @__PURE__ */ h(w, { className: "text-muted-foreground h-4 w-4 shrink-0 transition-transform duration-200" })
84
87
  })]
85
88
  })
86
89
  });
87
90
  });
88
- Le.displayName = v.Trigger?.displayName || "AccordionTrigger";
89
- var Re = e.forwardRef(({ className: e, children: t, ...n }, r) => /* @__PURE__ */ m(v.Content, {
91
+ Ue.displayName = y.Trigger?.displayName || "AccordionTrigger";
92
+ var We = e.forwardRef(({ className: e, children: t, ...n }, r) => /* @__PURE__ */ h(y.Content, {
90
93
  ref: r,
91
- className: G("data-[state=closed]:animate-accordion-up data-[state=open]:animate-accordion-down overflow-hidden text-sm transition-all", e),
94
+ className: q("data-[state=closed]:animate-accordion-up data-[state=open]:animate-accordion-down overflow-hidden text-sm transition-all", e),
92
95
  ...n,
93
- children: /* @__PURE__ */ m(f, {
94
- className: G("pt-0 pb-4", e),
96
+ children: /* @__PURE__ */ h(p, {
97
+ className: q("pt-0 pb-4", e),
95
98
  children: t
96
99
  })
97
100
  }));
98
- Re.displayName = v.Content?.displayName || "AccordionContent";
101
+ We.displayName = y.Content?.displayName || "AccordionContent";
99
102
  //#endregion
100
103
  //#region src/alert.tsx
101
- var ze = O("relative w-full rounded-lg border p-4", {
104
+ var Ge = A("relative w-full rounded-lg border p-4", {
102
105
  variants: { variant: {
103
106
  default: "bg-background border-border",
104
107
  destructive: "border-destructive/50 bg-destructive/10",
@@ -106,28 +109,28 @@ var ze = O("relative w-full rounded-lg border p-4", {
106
109
  info: "border-blue-500/50 bg-blue-500/10"
107
110
  } },
108
111
  defaultVariants: { variant: "default" }
109
- }), Be = e.forwardRef(({ className: e, variant: t, children: n, ...r }, i) => /* @__PURE__ */ m(f, {
112
+ }), Ke = e.forwardRef(({ className: e, variant: t, children: n, ...r }, i) => /* @__PURE__ */ h(p, {
110
113
  ref: i,
111
- className: G(ze({ variant: t }), e),
114
+ className: q(Ge({ variant: t }), e),
112
115
  ...r,
113
- children: W(n)
116
+ children: K(n)
114
117
  }));
115
- Be.displayName = "Alert";
116
- var Ve = e.forwardRef(({ className: e, ...t }, n) => /* @__PURE__ */ m(l, {
118
+ Ke.displayName = "Alert";
119
+ var qe = e.forwardRef(({ className: e, ...t }, n) => /* @__PURE__ */ h(u, {
117
120
  ref: n,
118
- className: G("text-foreground mb-1 leading-none font-medium tracking-tight", e),
121
+ className: q("text-foreground mb-1 leading-none font-medium tracking-tight", e),
119
122
  ...t
120
123
  }));
121
- Ve.displayName = "AlertTitle";
122
- var He = e.forwardRef(({ className: e, ...t }, n) => /* @__PURE__ */ m(l, {
124
+ qe.displayName = "AlertTitle";
125
+ var Je = e.forwardRef(({ className: e, ...t }, n) => /* @__PURE__ */ h(u, {
123
126
  ref: n,
124
- className: G("text-muted-foreground text-sm leading-relaxed", e),
127
+ className: q("text-muted-foreground text-sm leading-relaxed", e),
125
128
  ...t
126
129
  }));
127
- He.displayName = "AlertDescription";
130
+ Je.displayName = "AlertDescription";
128
131
  //#endregion
129
132
  //#region src/button.tsx
130
- var K = O("flex-row items-center justify-center gap-2 rounded-md transition-colors active:opacity-80", {
133
+ var J = A("flex-row items-center justify-center gap-2 rounded-md transition-colors active:opacity-80", {
131
134
  variants: {
132
135
  variant: {
133
136
  default: "bg-primary shadow-sm",
@@ -148,7 +151,7 @@ var K = O("flex-row items-center justify-center gap-2 rounded-md transition-colo
148
151
  variant: "default",
149
152
  size: "default"
150
153
  }
151
- }), Ue = O("text-sm font-medium", {
154
+ }), Ye = A("text-sm font-medium", {
152
155
  variants: { variant: {
153
156
  default: "text-primary-foreground",
154
157
  destructive: "text-destructive-foreground",
@@ -158,115 +161,115 @@ var K = O("flex-row items-center justify-center gap-2 rounded-md transition-colo
158
161
  link: "text-primary underline"
159
162
  } },
160
163
  defaultVariants: { variant: "default" }
161
- }), q = e.forwardRef(({ className: e, variant: t, size: n, onPress: r, children: i, disabled: a, ...s }, c) => /* @__PURE__ */ m(o, {
164
+ }), Y = e.forwardRef(({ className: e, variant: t, size: n, onPress: r, children: i, disabled: a, ...o }, c) => /* @__PURE__ */ h(s, {
162
165
  ref: c,
163
166
  onPress: r,
164
167
  disabled: a,
165
- className: G(K({
168
+ className: q(J({
166
169
  variant: t,
167
170
  size: n,
168
171
  className: e
169
172
  }), a && "opacity-50"),
170
- ...s,
171
- children: W(i, l, { className: G(Ue({ variant: t })) })
173
+ ...o,
174
+ children: K(i, u, { className: q(Ye({ variant: t })) })
172
175
  }));
173
- q.displayName = "Button";
176
+ Y.displayName = "Button";
174
177
  //#endregion
175
178
  //#region src/alert-dialog.tsx
176
- var We = k.Root, Ge = k.Trigger, Ke = k.Portal, qe = e.forwardRef(({ className: e, ...t }, n) => /* @__PURE__ */ m(k.Overlay, {
177
- style: c.absoluteFill,
179
+ var Xe = j.Root, Ze = j.Trigger, Qe = j.Portal, $e = e.forwardRef(({ className: e, ...t }, n) => /* @__PURE__ */ h(j.Overlay, {
180
+ style: l.absoluteFill,
178
181
  asChild: !0,
179
182
  ref: n,
180
183
  ...t,
181
- children: /* @__PURE__ */ m(w.View, {
182
- entering: T.duration(150),
183
- exiting: E.duration(150),
184
- className: G("z-50 flex items-center justify-center bg-black/80 p-2", e)
184
+ children: /* @__PURE__ */ h(D.View, {
185
+ entering: O.duration(150),
186
+ exiting: k.duration(150),
187
+ className: q("z-50 flex items-center justify-center bg-black/80 p-2", e)
185
188
  })
186
189
  }));
187
- qe.displayName = k.Overlay?.displayName || "AlertDialogOverlay";
188
- var Je = e.forwardRef(({ className: e, portalHost: t, overlayClassName: n, overlayStyle: r, ...i }, a) => /* @__PURE__ */ h(Ke, {
190
+ $e.displayName = j.Overlay?.displayName || "AlertDialogOverlay";
191
+ var et = e.forwardRef(({ className: e, portalHost: t, overlayClassName: n, overlayStyle: r, ...i }, a) => /* @__PURE__ */ g(Qe, {
189
192
  hostName: t,
190
- children: [/* @__PURE__ */ m(qe, {
193
+ children: [/* @__PURE__ */ h($e, {
191
194
  className: n,
192
195
  style: r
193
- }), /* @__PURE__ */ m(k.Content, {
196
+ }), /* @__PURE__ */ h(j.Content, {
194
197
  ref: a,
195
198
  asChild: !0,
196
199
  ...i,
197
- children: /* @__PURE__ */ m(w.View, {
198
- entering: T.duration(150),
199
- exiting: E.duration(150),
200
- className: G("border-border bg-background z-50 w-full max-w-lg gap-4 rounded-xl border p-6 shadow-lg sm:rounded-lg", e)
200
+ children: /* @__PURE__ */ h(D.View, {
201
+ entering: O.duration(150),
202
+ exiting: k.duration(150),
203
+ className: q("border-border bg-background z-50 w-full max-w-lg gap-4 rounded-xl border p-6 shadow-lg sm:rounded-lg", e)
201
204
  })
202
205
  })]
203
206
  }));
204
- Je.displayName = k.Content?.displayName || "AlertDialogContent";
205
- var Ye = ({ className: e, ...t }) => /* @__PURE__ */ m(f, {
206
- className: G("flex flex-col gap-2 text-center sm:text-left", e),
207
+ et.displayName = j.Content?.displayName || "AlertDialogContent";
208
+ var tt = ({ className: e, ...t }) => /* @__PURE__ */ h(p, {
209
+ className: q("flex flex-col gap-2 text-center sm:text-left", e),
207
210
  ...t
208
211
  });
209
- Ye.displayName = "AlertDialogHeader";
210
- var Xe = ({ className: e, ...t }) => /* @__PURE__ */ m(f, {
211
- className: G("flex flex-col-reverse gap-2 sm:flex-row sm:justify-end", e),
212
+ tt.displayName = "AlertDialogHeader";
213
+ var nt = ({ className: e, ...t }) => /* @__PURE__ */ h(p, {
214
+ className: q("flex flex-col-reverse gap-2 sm:flex-row sm:justify-end", e),
212
215
  ...t
213
216
  });
214
- Xe.displayName = "AlertDialogFooter";
215
- var Ze = e.forwardRef(({ className: e, ...t }, n) => /* @__PURE__ */ m(k.Title, {
217
+ nt.displayName = "AlertDialogFooter";
218
+ var rt = e.forwardRef(({ className: e, ...t }, n) => /* @__PURE__ */ h(j.Title, {
216
219
  ref: n,
217
- className: G("native:text-xl text-foreground text-lg font-semibold", e),
220
+ className: q("native:text-xl text-foreground text-lg font-semibold", e),
218
221
  ...t
219
222
  }));
220
- Ze.displayName = k.Title?.displayName || "AlertDialogTitle";
221
- var Qe = e.forwardRef(({ className: e, ...t }, n) => /* @__PURE__ */ m(k.Description, {
223
+ rt.displayName = j.Title?.displayName || "AlertDialogTitle";
224
+ var it = e.forwardRef(({ className: e, ...t }, n) => /* @__PURE__ */ h(j.Description, {
222
225
  ref: n,
223
- className: G("native:text-base text-muted-foreground text-sm", e),
226
+ className: q("native:text-base text-muted-foreground text-sm", e),
224
227
  ...t
225
228
  }));
226
- Qe.displayName = k.Description?.displayName || "AlertDialogDescription";
227
- var $e = e.forwardRef(({ className: e, ...t }, n) => /* @__PURE__ */ m(k.Action, {
229
+ it.displayName = j.Description?.displayName || "AlertDialogDescription";
230
+ var at = e.forwardRef(({ className: e, ...t }, n) => /* @__PURE__ */ h(j.Action, {
228
231
  ref: n,
229
- className: G(K(), e),
232
+ className: q(J(), e),
230
233
  ...t
231
234
  }));
232
- $e.displayName = k.Action?.displayName || "AlertDialogAction";
233
- var et = e.forwardRef(({ className: e, ...t }, n) => /* @__PURE__ */ m(k.Cancel, {
235
+ at.displayName = j.Action?.displayName || "AlertDialogAction";
236
+ var ot = e.forwardRef(({ className: e, ...t }, n) => /* @__PURE__ */ h(j.Cancel, {
234
237
  ref: n,
235
- className: G(K({ variant: "outline" }), "mt-2 sm:mt-0", e),
238
+ className: q(J({ variant: "outline" }), "mt-2 sm:mt-0", e),
236
239
  ...t
237
240
  }));
238
- et.displayName = k.Cancel?.displayName || "AlertDialogCancel";
241
+ ot.displayName = j.Cancel?.displayName || "AlertDialogCancel";
239
242
  //#endregion
240
243
  //#region src/aspect-ratio.tsx
241
- var tt = ({ children: e, className: t, ratio: n = 1 }) => /* @__PURE__ */ m(Ce.Root, {
244
+ var st = ({ children: e, className: t, ratio: n = 1 }) => /* @__PURE__ */ h(Te.Root, {
242
245
  ratio: n,
243
- className: G("w-full", t),
246
+ className: q("w-full", t),
244
247
  children: e
245
248
  });
246
- tt.displayName = "AspectRatio";
249
+ st.displayName = "AspectRatio";
247
250
  //#endregion
248
251
  //#region src/avatar.tsx
249
- var nt = e.forwardRef(({ className: e, ...t }, n) => /* @__PURE__ */ m(A.Root, {
252
+ var ct = e.forwardRef(({ className: e, ...t }, n) => /* @__PURE__ */ h(M.Root, {
250
253
  ref: n,
251
- className: G("relative flex h-10 w-10 shrink-0 overflow-hidden rounded-full", e),
254
+ className: q("relative flex h-10 w-10 shrink-0 overflow-hidden rounded-full", e),
252
255
  ...t
253
256
  }));
254
- nt.displayName = A.Root?.displayName || "Avatar";
255
- var rt = e.forwardRef(({ className: e, ...t }, n) => /* @__PURE__ */ m(A.Image, {
257
+ ct.displayName = M.Root?.displayName || "Avatar";
258
+ var lt = e.forwardRef(({ className: e, ...t }, n) => /* @__PURE__ */ h(M.Image, {
256
259
  ref: n,
257
- className: G("aspect-square h-full w-full", e),
260
+ className: q("aspect-square h-full w-full", e),
258
261
  ...t
259
262
  }));
260
- rt.displayName = A.Image?.displayName || "AvatarImage";
261
- var it = e.forwardRef(({ className: e, ...t }, n) => /* @__PURE__ */ m(A.Fallback, {
263
+ lt.displayName = M.Image?.displayName || "AvatarImage";
264
+ var ut = e.forwardRef(({ className: e, ...t }, n) => /* @__PURE__ */ h(M.Fallback, {
262
265
  ref: n,
263
- className: G("bg-muted flex h-full w-full items-center justify-center rounded-full", e),
266
+ className: q("bg-muted flex h-full w-full items-center justify-center rounded-full", e),
264
267
  ...t
265
268
  }));
266
- it.displayName = A.Fallback?.displayName || "AvatarFallback";
269
+ ut.displayName = M.Fallback?.displayName || "AvatarFallback";
267
270
  //#endregion
268
271
  //#region src/badge.tsx
269
- var at = O("flex-row items-center rounded-md border px-2 py-0.5", {
272
+ var dt = A("flex-row items-center rounded-md border px-2 py-0.5", {
270
273
  variants: { variant: {
271
274
  default: "border-transparent bg-primary",
272
275
  secondary: "border-transparent bg-secondary",
@@ -274,7 +277,7 @@ var at = O("flex-row items-center rounded-md border px-2 py-0.5", {
274
277
  outline: "border-border bg-transparent"
275
278
  } },
276
279
  defaultVariants: { variant: "default" }
277
- }), ot = O("text-xs font-semibold", {
280
+ }), ft = A("text-xs font-semibold", {
278
281
  variants: { variant: {
279
282
  default: "text-primary-foreground",
280
283
  secondary: "text-secondary-foreground",
@@ -283,16 +286,16 @@ var at = O("flex-row items-center rounded-md border px-2 py-0.5", {
283
286
  } },
284
287
  defaultVariants: { variant: "default" }
285
288
  });
286
- function st({ className: e, textClassName: t, variant: n, children: r, ...i }) {
287
- return /* @__PURE__ */ m(f, {
288
- className: G(at({ variant: n }), e),
289
+ function pt({ className: e, textClassName: t, variant: n, children: r, ...i }) {
290
+ return /* @__PURE__ */ h(p, {
291
+ className: q(dt({ variant: n }), e),
289
292
  ...i,
290
- children: W(r, l, { className: G(ot({ variant: n }), t) })
293
+ children: K(r, u, { className: q(ft({ variant: n }), t) })
291
294
  });
292
295
  }
293
296
  //#endregion
294
297
  //#region src/text.tsx
295
- var ct = e.createContext(void 0), lt = O("text-foreground", {
298
+ var mt = e.createContext(void 0), ht = A("text-foreground", {
296
299
  variants: { variant: {
297
300
  h1: "text-4xl font-extrabold tracking-tight",
298
301
  h2: "text-3xl font-semibold tracking-tight",
@@ -305,747 +308,929 @@ var ct = e.createContext(void 0), lt = O("text-foreground", {
305
308
  overline: "text-xs font-semibold uppercase tracking-widest text-muted-foreground"
306
309
  } },
307
310
  defaultVariants: { variant: "body" }
308
- }), J = e.forwardRef(({ className: e, variant: t = "body", children: n, ...r }, i) => /* @__PURE__ */ m(l, {
311
+ }), X = e.forwardRef(({ className: e, variant: t = "body", children: n, ...r }, i) => /* @__PURE__ */ h(u, {
309
312
  ref: i,
310
- className: G(lt({
313
+ className: q(ht({
311
314
  variant: t,
312
315
  className: e
313
316
  })),
314
317
  ...r,
315
318
  children: n
316
319
  }));
317
- J.displayName = "Text";
320
+ X.displayName = "Text";
318
321
  //#endregion
319
322
  //#region src/breadcrumb.tsx
320
- var ut = e.forwardRef(({ className: e, children: t, ...n }, r) => /* @__PURE__ */ m(f, {
323
+ var gt = e.forwardRef(({ className: e, children: t, ...n }, r) => /* @__PURE__ */ h(p, {
321
324
  ref: r,
322
325
  "aria-label": "breadcrumb",
323
- className: G("flex flex-row", e),
326
+ className: q("flex flex-row", e),
324
327
  ...n,
325
328
  children: t
326
329
  }));
327
- ut.displayName = "Breadcrumb";
328
- var dt = e.forwardRef(({ className: e, children: t, ...n }, r) => /* @__PURE__ */ m(f, {
330
+ gt.displayName = "Breadcrumb";
331
+ var _t = e.forwardRef(({ className: e, children: t, ...n }, r) => /* @__PURE__ */ h(p, {
329
332
  ref: r,
330
- className: G("text-muted-foreground flex flex-row flex-wrap items-center gap-1.5 break-words sm:gap-2.5", e),
333
+ className: q("text-muted-foreground flex flex-row flex-wrap items-center gap-1.5 break-words sm:gap-2.5", e),
331
334
  ...n,
332
335
  children: t
333
336
  }));
334
- dt.displayName = "BreadcrumbList";
335
- var ft = e.forwardRef(({ className: e, children: t, ...n }, r) => /* @__PURE__ */ m(f, {
337
+ _t.displayName = "BreadcrumbList";
338
+ var vt = e.forwardRef(({ className: e, children: t, ...n }, r) => /* @__PURE__ */ h(p, {
336
339
  ref: r,
337
- className: G("flex flex-row items-center gap-1.5", e),
340
+ className: q("flex flex-row items-center gap-1.5", e),
338
341
  ...n,
339
342
  children: t
340
343
  }));
341
- ft.displayName = "BreadcrumbItem";
342
- var pt = e.forwardRef(({ asChild: e, className: t, children: n, onPress: r, ...i }, a) => /* @__PURE__ */ m(e ? we : o, {
344
+ vt.displayName = "BreadcrumbItem";
345
+ var yt = e.forwardRef(({ asChild: e, className: t, children: n, onPress: r, ...i }, a) => /* @__PURE__ */ h(e ? De : s, {
343
346
  ref: a,
344
347
  onPress: r,
345
- className: G("hover:text-foreground active:text-foreground flex flex-row items-center transition-colors", t),
348
+ className: q("hover:text-foreground active:text-foreground flex flex-row items-center transition-colors", t),
346
349
  ...i,
347
- children: W(n, J, { className: "text-muted-foreground hover:text-foreground text-sm font-medium" })
350
+ children: K(n, X, { className: "text-muted-foreground hover:text-foreground text-sm font-medium" })
348
351
  }));
349
- pt.displayName = "BreadcrumbLink";
350
- var mt = e.forwardRef(({ className: e, children: t, ...n }, r) => /* @__PURE__ */ m(f, {
352
+ yt.displayName = "BreadcrumbLink";
353
+ var bt = e.forwardRef(({ className: e, children: t, ...n }, r) => /* @__PURE__ */ h(p, {
351
354
  ref: r,
352
355
  role: "link",
353
356
  "aria-disabled": !0,
354
357
  "aria-current": "page",
355
- className: G("flex flex-row items-center", e),
358
+ className: q("flex flex-row items-center", e),
356
359
  ...n,
357
- children: W(t, J, { className: "text-foreground text-sm font-normal" })
360
+ children: K(t, X, { className: "text-foreground text-sm font-normal" })
358
361
  }));
359
- mt.displayName = "BreadcrumbPage";
360
- var ht = ({ children: e, className: t, ...n }) => /* @__PURE__ */ m(f, {
362
+ bt.displayName = "BreadcrumbPage";
363
+ var xt = ({ children: e, className: t, ...n }) => /* @__PURE__ */ h(p, {
361
364
  role: "presentation",
362
365
  "aria-hidden": !0,
363
- className: G("flex flex-row items-center justify-center", t),
366
+ className: q("flex flex-row items-center justify-center", t),
364
367
  ...n,
365
- children: e ?? /* @__PURE__ */ m(S, {
368
+ children: e ?? /* @__PURE__ */ h(T, {
366
369
  size: 14,
367
370
  className: "text-muted-foreground"
368
371
  })
369
372
  });
370
- ht.displayName = "BreadcrumbSeparator";
371
- var gt = ({ className: e, children: t, ...n }) => /* @__PURE__ */ m(f, {
373
+ xt.displayName = "BreadcrumbSeparator";
374
+ var St = ({ className: e, children: t, ...n }) => /* @__PURE__ */ h(p, {
372
375
  role: "presentation",
373
376
  "aria-hidden": !0,
374
- className: G("flex h-9 w-9 flex-row items-center justify-center", e),
377
+ className: q("flex h-9 w-9 flex-row items-center justify-center", e),
375
378
  ...n,
376
- children: t ?? /* @__PURE__ */ m(ae, {
379
+ children: t ?? /* @__PURE__ */ h(ae, {
377
380
  size: 14,
378
381
  className: "text-muted-foreground"
379
382
  })
380
383
  });
381
- gt.displayName = "BreadcrumbEllipsis";
384
+ St.displayName = "BreadcrumbEllipsis";
382
385
  //#endregion
383
386
  //#region src/calendar.tsx
384
- var _t = ({ className: e }) => /* @__PURE__ */ m(f, { className: e }), vt = e.forwardRef(({ className: e, ...t }, n) => /* @__PURE__ */ m(f, {
387
+ var Ct = ({ className: e }) => /* @__PURE__ */ h(p, { className: e }), wt = e.forwardRef(({ className: e, ...t }, n) => /* @__PURE__ */ h(p, {
385
388
  ref: n,
386
- className: G("border-border bg-card rounded-xl border shadow-sm", e),
389
+ className: q("border-border bg-card rounded-xl border shadow-sm", e),
387
390
  ...t
388
391
  }));
389
- vt.displayName = "Card";
390
- var yt = e.forwardRef(({ className: e, ...t }, n) => /* @__PURE__ */ m(f, {
392
+ wt.displayName = "Card";
393
+ var Tt = e.forwardRef(({ className: e, ...t }, n) => /* @__PURE__ */ h(p, {
391
394
  ref: n,
392
- className: G("flex flex-col space-y-1.5 p-6", e),
395
+ className: q("flex flex-col space-y-1.5 p-6", e),
393
396
  ...t
394
397
  }));
395
- yt.displayName = "CardHeader";
396
- var bt = e.forwardRef(({ className: e, ...t }, n) => /* @__PURE__ */ m(l, {
398
+ Tt.displayName = "CardHeader";
399
+ var Et = e.forwardRef(({ className: e, ...t }, n) => /* @__PURE__ */ h(u, {
397
400
  ref: n,
398
- className: G("text-card-foreground text-lg leading-none font-semibold tracking-tight", e),
401
+ className: q("text-card-foreground text-lg leading-none font-semibold tracking-tight", e),
399
402
  ...t
400
403
  }));
401
- bt.displayName = "CardTitle";
402
- var xt = e.forwardRef(({ className: e, ...t }, n) => /* @__PURE__ */ m(l, {
404
+ Et.displayName = "CardTitle";
405
+ var Dt = e.forwardRef(({ className: e, ...t }, n) => /* @__PURE__ */ h(u, {
403
406
  ref: n,
404
- className: G("text-muted-foreground text-sm", e),
407
+ className: q("text-muted-foreground text-sm", e),
405
408
  ...t
406
409
  }));
407
- xt.displayName = "CardDescription";
408
- var St = e.forwardRef(({ className: e, ...t }, n) => /* @__PURE__ */ m(f, {
410
+ Dt.displayName = "CardDescription";
411
+ var Ot = e.forwardRef(({ className: e, ...t }, n) => /* @__PURE__ */ h(p, {
409
412
  ref: n,
410
- className: G("p-6 pt-0", e),
413
+ className: q("p-6 pt-0", e),
411
414
  ...t,
412
- children: W(t.children, l, { className: "text-sm text-card-foreground" })
415
+ children: K(t.children, u, { className: "text-sm text-card-foreground" })
413
416
  }));
414
- St.displayName = "CardContent";
415
- var Ct = e.forwardRef(({ className: e, ...t }, n) => /* @__PURE__ */ m(f, {
417
+ Ot.displayName = "CardContent";
418
+ var kt = e.forwardRef(({ className: e, ...t }, n) => /* @__PURE__ */ h(p, {
416
419
  ref: n,
417
- className: G("flex flex-row items-center p-6 pt-0", e),
420
+ className: q("flex flex-row items-center p-6 pt-0", e),
418
421
  ...t
419
422
  }));
420
- Ct.displayName = "CardFooter";
423
+ kt.displayName = "CardFooter";
421
424
  //#endregion
422
425
  //#region src/carousel.tsx
423
- var wt = ({ children: e, className: t }) => /* @__PURE__ */ m(f, {
424
- className: t,
425
- children: e
426
- }), Tt = ({ children: e, className: t }) => /* @__PURE__ */ m(f, {
427
- className: t,
428
- children: e
429
- }), Et = ({ children: e, className: t }) => /* @__PURE__ */ m(f, {
430
- className: t,
431
- children: e
432
- }), Dt = ({ className: e }) => /* @__PURE__ */ m(f, { className: e }), Ot = ({ className: e }) => /* @__PURE__ */ m(f, { className: e }), kt = ({ children: e, className: t }) => /* @__PURE__ */ m(f, {
426
+ var At = e.createContext(null);
427
+ function Z() {
428
+ let t = e.useContext(At);
429
+ if (!t) throw Error("useCarousel must be used within a <Carousel />");
430
+ return t;
431
+ }
432
+ var jt = e.forwardRef(({ children: t, className: n, opts: i, orientation: a = "horizontal", setApi: o, plugins: s, ...c }, l) => {
433
+ let u = e.useRef(null), [d, f] = e.useState(!0), [m, g] = e.useState(!1), [_, v] = e.useState(r.get("window").width), [y, b] = e.useState(0), x = e.useCallback(() => {
434
+ u.current?.scrollTo({
435
+ x: (y + 1) * _,
436
+ animated: !0
437
+ });
438
+ }, [y, _]), S = e.useCallback(() => {
439
+ u.current?.scrollTo({
440
+ x: Math.max(0, y - 1) * _,
441
+ animated: !0
442
+ });
443
+ }, [y, _]);
444
+ return e.useEffect(() => {
445
+ o && o({
446
+ scrollNext: x,
447
+ scrollPrev: S,
448
+ canScrollNext: () => d,
449
+ canScrollPrev: () => m,
450
+ on: () => {},
451
+ off: () => {}
452
+ });
453
+ }, [
454
+ o,
455
+ x,
456
+ S,
457
+ d,
458
+ m
459
+ ]), /* @__PURE__ */ h(At.Provider, {
460
+ value: {
461
+ orientation: a,
462
+ scrollRef: u,
463
+ scrollNext: x,
464
+ scrollPrev: S,
465
+ canScrollNext: d,
466
+ canScrollPrev: m,
467
+ itemWidth: _,
468
+ setItemWidth: v
469
+ },
470
+ children: /* @__PURE__ */ h(p, {
471
+ ref: l,
472
+ className: q("relative", n),
473
+ ...c,
474
+ children: t
475
+ })
476
+ });
477
+ });
478
+ jt.displayName = "Carousel";
479
+ var Mt = e.forwardRef(({ children: e, className: t, ...n }, i) => {
480
+ let { scrollRef: a, orientation: o } = Z();
481
+ return /* @__PURE__ */ h(p, {
482
+ className: "overflow-hidden",
483
+ children: /* @__PURE__ */ h(c, {
484
+ ref: a,
485
+ horizontal: o === "horizontal",
486
+ showsHorizontalScrollIndicator: !1,
487
+ showsVerticalScrollIndicator: !1,
488
+ pagingEnabled: !0,
489
+ snapToInterval: o === "horizontal" ? r.get("window").width : void 0,
490
+ decelerationRate: "fast",
491
+ className: q("flex", o === "horizontal" ? "flex-row" : "flex-col", t),
492
+ ...n,
493
+ children: e
494
+ })
495
+ });
496
+ });
497
+ Mt.displayName = "CarouselContent";
498
+ var Nt = e.forwardRef(({ children: e, className: t, ...n }, r) => {
499
+ let { orientation: i, setItemWidth: a } = Z();
500
+ return /* @__PURE__ */ h(p, {
501
+ ref: r,
502
+ onLayout: (e) => {
503
+ i === "horizontal" && a(e.nativeEvent.layout.width);
504
+ },
505
+ className: q("min-w-0 shrink-0 grow-0 basis-full", t),
506
+ ...n,
507
+ children: e
508
+ });
509
+ });
510
+ Nt.displayName = "CarouselItem";
511
+ var Pt = e.forwardRef(({ className: e, variant: t = "outline", size: n = "icon", ...r }, i) => {
512
+ let { orientation: a, scrollPrev: o, canScrollPrev: s } = Z();
513
+ return /* @__PURE__ */ h(Y, {
514
+ ref: i,
515
+ variant: t,
516
+ size: n,
517
+ className: q("absolute h-8 w-8 rounded-full", a === "horizontal" ? "top-1/2 -left-12 -translate-y-1/2" : "-top-12 left-1/2 -translate-x-1/2 rotate-90", e),
518
+ disabled: !s,
519
+ onPress: o,
520
+ ...r,
521
+ children: /* @__PURE__ */ h(b, {
522
+ className: "text-foreground h-4 w-4",
523
+ size: 16
524
+ })
525
+ });
526
+ });
527
+ Pt.displayName = "CarouselPrevious";
528
+ var Ft = e.forwardRef(({ className: e, variant: t = "outline", size: n = "icon", ...r }, i) => {
529
+ let { orientation: a, scrollNext: o, canScrollNext: s } = Z();
530
+ return /* @__PURE__ */ h(Y, {
531
+ ref: i,
532
+ variant: t,
533
+ size: n,
534
+ className: q("absolute h-8 w-8 rounded-full", a === "horizontal" ? "top-1/2 -right-12 -translate-y-1/2" : "-bottom-12 left-1/2 -translate-x-1/2 rotate-90", e),
535
+ disabled: !s,
536
+ onPress: o,
537
+ ...r,
538
+ children: /* @__PURE__ */ h(x, {
539
+ className: "text-foreground h-4 w-4",
540
+ size: 16
541
+ })
542
+ });
543
+ });
544
+ Ft.displayName = "CarouselNext";
545
+ //#endregion
546
+ //#region src/chart.tsx
547
+ var It = ({ children: e, className: t }) => /* @__PURE__ */ h(p, {
433
548
  className: t,
434
549
  children: e
435
- }), At = ({ className: e }) => /* @__PURE__ */ m(f, { className: e }), jt = ({ className: e }) => /* @__PURE__ */ m(f, { className: e }), Mt = ({ children: e }) => /* @__PURE__ */ m(p, { children: e }), Nt = ({ children: e }) => /* @__PURE__ */ m(p, { children: e }), Pt = () => null, Ft = e.forwardRef(({ className: e, ...t }, n) => /* @__PURE__ */ m(Te.Root, {
550
+ }), Lt = ({ className: e }) => /* @__PURE__ */ h(p, { className: e }), Rt = ({ className: e }) => /* @__PURE__ */ h(p, { className: e }), zt = ({ children: e }) => /* @__PURE__ */ h(m, { children: e }), Bt = ({ children: e }) => /* @__PURE__ */ h(m, { children: e }), Vt = () => null, Ht = e.forwardRef(({ className: e, ...t }, n) => /* @__PURE__ */ h(Oe.Root, {
436
551
  ref: n,
437
- className: G("web:peer native:h-[20] native:w-[20] native:rounded border-primary web:ring-offset-background web:focus-visible:outline-none web:focus-visible:ring-2 web:focus-visible:ring-ring web:focus-visible:ring-offset-2 h-4 w-4 shrink-0 rounded-sm border disabled:cursor-not-allowed disabled:opacity-50", t.checked && "bg-primary", e),
552
+ className: q("web:peer native:h-[20] native:w-[20] native:rounded border-primary web:ring-offset-background web:focus-visible:outline-none web:focus-visible:ring-2 web:focus-visible:ring-ring web:focus-visible:ring-offset-2 h-4 w-4 shrink-0 rounded-sm border disabled:cursor-not-allowed disabled:opacity-50", t.checked && "bg-primary", e),
438
553
  ...t,
439
- children: /* @__PURE__ */ m(Te.Indicator, {
440
- className: G("h-full w-full items-center justify-center"),
441
- children: /* @__PURE__ */ m(y, {
554
+ children: /* @__PURE__ */ h(Oe.Indicator, {
555
+ className: q("h-full w-full items-center justify-center"),
556
+ children: /* @__PURE__ */ h(C, {
442
557
  size: 12,
443
- strokeWidth: a.OS === "web" ? 2.5 : 3.5,
558
+ strokeWidth: o.OS === "web" ? 2.5 : 3.5,
444
559
  className: "text-primary-foreground"
445
560
  })
446
561
  })
447
562
  }));
448
- Ft.displayName = Te.Root?.displayName || "Checkbox";
563
+ Ht.displayName = Oe.Root?.displayName || "Checkbox";
449
564
  //#endregion
450
565
  //#region src/collapsible.tsx
451
- var It = Ee.Root, Lt = Ee.Trigger, Rt = Ee.Content, zt = ({ children: e, className: t }) => /* @__PURE__ */ m(f, {
566
+ var Ut = ke.Root, Wt = ke.Trigger, Gt = ke.Content, Kt = ({ children: e, className: t }) => /* @__PURE__ */ h(p, {
452
567
  className: t,
453
- children: W(e)
454
- }), Bt = ({ children: e }) => /* @__PURE__ */ m(p, { children: e }), Vt = ({ className: e }) => /* @__PURE__ */ m(f, { className: e }), Ht = ({ children: e, className: t }) => /* @__PURE__ */ m(f, {
568
+ children: K(e)
569
+ }), qt = ({ children: e }) => /* @__PURE__ */ h(m, { children: e }), Jt = ({ className: e }) => /* @__PURE__ */ h(p, { className: e }), Yt = ({ children: e, className: t }) => /* @__PURE__ */ h(p, {
455
570
  className: t,
456
- children: W(e)
457
- }), Ut = ({ children: e, className: t }) => /* @__PURE__ */ m(f, {
571
+ children: K(e)
572
+ }), Xt = ({ children: e, className: t }) => /* @__PURE__ */ h(p, {
458
573
  className: t,
459
- children: W(e)
460
- }), Wt = ({ children: e, className: t }) => /* @__PURE__ */ m(f, {
574
+ children: K(e)
575
+ }), Zt = ({ children: e, className: t }) => /* @__PURE__ */ h(p, {
461
576
  className: t,
462
- children: W(e)
463
- }), Gt = ({ children: e, className: t }) => /* @__PURE__ */ m(f, {
577
+ children: K(e)
578
+ }), Qt = ({ children: e, className: t }) => /* @__PURE__ */ h(p, {
464
579
  className: t,
465
- children: W(e)
466
- }), Kt = ({ className: e }) => /* @__PURE__ */ m(f, { className: e }), qt = ({ children: e, className: t }) => /* @__PURE__ */ m(f, {
580
+ children: K(e)
581
+ }), $t = ({ className: e }) => /* @__PURE__ */ h(p, { className: e }), en = ({ children: e, className: t }) => /* @__PURE__ */ h(p, {
467
582
  className: t,
468
- children: W(e)
469
- }), Jt = j.Root, Yt = j.Trigger, Xt = j.Portal, Zt = j.Group, Qt = j.RadioGroup, $t = j.Sub, en = e.forwardRef(({ className: e, ...t }, n) => /* @__PURE__ */ m(j.Overlay, {
470
- style: a.OS === "web" ? void 0 : c.absoluteFill,
583
+ children: K(e)
584
+ }), tn = N.Root, nn = N.Trigger, rn = N.Portal, an = N.Group, on = N.RadioGroup, sn = N.Sub, cn = e.forwardRef(({ className: e, ...t }, n) => /* @__PURE__ */ h(N.Overlay, {
585
+ style: o.OS === "web" ? void 0 : l.absoluteFill,
471
586
  ref: n,
472
587
  ...t,
473
- children: /* @__PURE__ */ m(w.View, {
474
- entering: T.duration(100),
475
- exiting: E.duration(100),
476
- className: G("absolute inset-0 z-50 bg-black/30", e)
588
+ children: /* @__PURE__ */ h(D.View, {
589
+ entering: O.duration(100),
590
+ exiting: k.duration(100),
591
+ className: q("absolute inset-0 z-50 bg-black/30", e)
477
592
  })
478
593
  }));
479
- en.displayName = "ContextMenuOverlay";
480
- var tn = e.forwardRef(({ className: e, children: t, ...n }, r) => /* @__PURE__ */ h(Xt, { children: [/* @__PURE__ */ m(en, {}), /* @__PURE__ */ m(j.Content, {
594
+ cn.displayName = "ContextMenuOverlay";
595
+ var ln = e.forwardRef(({ className: e, children: t, ...n }, r) => /* @__PURE__ */ g(rn, { children: [/* @__PURE__ */ h(cn, {}), /* @__PURE__ */ h(N.Content, {
481
596
  ref: r,
482
- className: G("bg-popover border-border z-50 min-w-[8rem] overflow-hidden rounded-md border p-1 shadow-md", e),
597
+ className: q("bg-popover border-border z-50 min-w-[8rem] overflow-hidden rounded-md border p-1 shadow-md", e),
483
598
  ...n,
484
599
  children: t
485
600
  })] }));
486
- tn.displayName = "ContextMenuContent";
487
- var nn = e.forwardRef(({ className: e, children: t, inset: n, ...r }, i) => /* @__PURE__ */ m(j.Item, {
601
+ ln.displayName = "ContextMenuContent";
602
+ var un = e.forwardRef(({ className: e, children: t, inset: n, ...r }, i) => /* @__PURE__ */ h(N.Item, {
488
603
  ref: i,
489
- className: G("focus:bg-accent focus:text-accent-foreground active:bg-accent active:text-accent-foreground relative flex flex-row items-center rounded-sm px-2 py-1.5 text-sm outline-none", n && "pl-8", e),
604
+ className: q("focus:bg-accent focus:text-accent-foreground active:bg-accent active:text-accent-foreground relative flex flex-row items-center rounded-sm px-2 py-1.5 text-sm outline-none", n && "pl-8", e),
490
605
  ...r,
491
- children: W(t, J)
606
+ children: K(t, X)
492
607
  }));
493
- nn.displayName = "ContextMenuItem";
494
- var rn = e.forwardRef(({ className: e, children: t, checked: n, onCheckedChange: r, ...i }, a) => /* @__PURE__ */ h(j.CheckboxItem, {
608
+ un.displayName = "ContextMenuItem";
609
+ var dn = e.forwardRef(({ className: e, children: t, checked: n, onCheckedChange: r, ...i }, a) => /* @__PURE__ */ g(N.CheckboxItem, {
495
610
  ref: a,
496
611
  checked: !!n,
497
612
  onCheckedChange: r || (() => {}),
498
- className: G("focus:bg-accent focus:text-accent-foreground active:bg-accent active:text-accent-foreground relative flex flex-row items-center rounded-sm py-1.5 pr-2 pl-8 text-sm outline-none", e),
613
+ className: q("focus:bg-accent focus:text-accent-foreground active:bg-accent active:text-accent-foreground relative flex flex-row items-center rounded-sm py-1.5 pr-2 pl-8 text-sm outline-none", e),
499
614
  ...i,
500
- children: [/* @__PURE__ */ m(f, {
615
+ children: [/* @__PURE__ */ h(p, {
501
616
  className: "absolute left-2 flex h-3.5 w-3.5 items-center justify-center",
502
- children: /* @__PURE__ */ m(j.ItemIndicator, { children: /* @__PURE__ */ m(y, {
617
+ children: /* @__PURE__ */ h(N.ItemIndicator, { children: /* @__PURE__ */ h(C, {
503
618
  size: 14,
504
619
  className: "text-foreground"
505
620
  }) })
506
- }), W(t, J)]
621
+ }), K(t, X)]
507
622
  }));
508
- rn.displayName = "ContextMenuCheckboxItem";
509
- var an = e.forwardRef(({ className: e, children: t, value: n, ...r }, i) => /* @__PURE__ */ h(j.RadioItem, {
623
+ dn.displayName = "ContextMenuCheckboxItem";
624
+ var fn = e.forwardRef(({ className: e, children: t, value: n, ...r }, i) => /* @__PURE__ */ g(N.RadioItem, {
510
625
  ref: i,
511
626
  value: n,
512
- className: G("focus:bg-accent focus:text-accent-foreground active:bg-accent active:text-accent-foreground relative flex flex-row items-center rounded-sm py-1.5 pr-2 pl-8 text-sm outline-none", e),
627
+ className: q("focus:bg-accent focus:text-accent-foreground active:bg-accent active:text-accent-foreground relative flex flex-row items-center rounded-sm py-1.5 pr-2 pl-8 text-sm outline-none", e),
513
628
  ...r,
514
- children: [/* @__PURE__ */ m(f, {
629
+ children: [/* @__PURE__ */ h(p, {
515
630
  className: "absolute left-2 flex h-3.5 w-3.5 items-center justify-center",
516
- children: /* @__PURE__ */ m(j.ItemIndicator, { children: /* @__PURE__ */ m(C, {
631
+ children: /* @__PURE__ */ h(N.ItemIndicator, { children: /* @__PURE__ */ h(E, {
517
632
  size: 8,
518
633
  className: "text-foreground fill-current"
519
634
  }) })
520
- }), W(t, J)]
635
+ }), K(t, X)]
521
636
  }));
522
- an.displayName = "ContextMenuRadioItem";
523
- var on = e.forwardRef(({ className: e, children: t, inset: n, ...r }, i) => /* @__PURE__ */ m(j.Label, {
637
+ fn.displayName = "ContextMenuRadioItem";
638
+ var pn = e.forwardRef(({ className: e, children: t, inset: n, ...r }, i) => /* @__PURE__ */ h(N.Label, {
524
639
  ref: i,
525
- className: G("text-foreground px-2 py-1.5 text-sm font-semibold", n && "pl-8", e),
640
+ className: q("text-foreground px-2 py-1.5 text-sm font-semibold", n && "pl-8", e),
526
641
  ...r,
527
- children: W(t, J)
642
+ children: K(t, X)
528
643
  }));
529
- on.displayName = "ContextMenuLabel";
530
- var sn = e.forwardRef(({ className: e, ...t }, n) => /* @__PURE__ */ m(j.Separator, {
644
+ pn.displayName = "ContextMenuLabel";
645
+ var mn = e.forwardRef(({ className: e, ...t }, n) => /* @__PURE__ */ h(N.Separator, {
531
646
  ref: n,
532
- className: G("bg-border -mx-1 my-1 h-px", e),
647
+ className: q("bg-border -mx-1 my-1 h-px", e),
533
648
  ...t
534
649
  }));
535
- sn.displayName = "ContextMenuSeparator";
536
- var cn = ({ className: e, children: t, ...n }) => /* @__PURE__ */ m(J, {
537
- className: G("text-muted-foreground ml-auto text-xs tracking-widest", e),
650
+ mn.displayName = "ContextMenuSeparator";
651
+ var hn = ({ className: e, children: t, ...n }) => /* @__PURE__ */ h(X, {
652
+ className: q("text-muted-foreground ml-auto text-xs tracking-widest", e),
538
653
  ...n,
539
654
  children: t
540
655
  });
541
- cn.displayName = "ContextMenuShortcut";
542
- var ln = e.forwardRef(({ className: e, children: t, inset: n, ...r }, i) => /* @__PURE__ */ h(j.SubTrigger, {
656
+ hn.displayName = "ContextMenuShortcut";
657
+ var gn = e.forwardRef(({ className: e, children: t, inset: n, ...r }, i) => /* @__PURE__ */ g(N.SubTrigger, {
543
658
  ref: i,
544
- className: G("focus:bg-accent focus:text-accent-foreground active:bg-accent active:text-accent-foreground flex flex-row items-center rounded-sm px-2 py-1.5 text-sm outline-none", n && "pl-8", e),
659
+ className: q("focus:bg-accent focus:text-accent-foreground active:bg-accent active:text-accent-foreground flex flex-row items-center rounded-sm px-2 py-1.5 text-sm outline-none", n && "pl-8", e),
545
660
  ...r,
546
- children: [/* @__PURE__ */ m(f, {
661
+ children: [/* @__PURE__ */ h(p, {
547
662
  className: "flex flex-row items-center gap-1.5",
548
- children: W(t, J)
549
- }), /* @__PURE__ */ m(S, {
663
+ children: K(t, X)
664
+ }), /* @__PURE__ */ h(T, {
550
665
  size: 14,
551
666
  className: "text-foreground ml-auto"
552
667
  })]
553
668
  }));
554
- ln.displayName = "ContextMenuSubTrigger";
555
- var un = e.forwardRef(({ className: e, children: t, ...n }, r) => /* @__PURE__ */ m(j.SubContent, {
669
+ gn.displayName = "ContextMenuSubTrigger";
670
+ var _n = e.forwardRef(({ className: e, children: t, ...n }, r) => /* @__PURE__ */ h(N.SubContent, {
556
671
  ref: r,
557
- className: G("bg-popover border-border z-50 min-w-[8rem] overflow-hidden rounded-md border p-1 shadow-md", e),
672
+ className: q("bg-popover border-border z-50 min-w-[8rem] overflow-hidden rounded-md border p-1 shadow-md", e),
558
673
  ...n,
559
674
  children: t
560
675
  }));
561
- un.displayName = "ContextMenuSubContent";
676
+ _n.displayName = "ContextMenuSubContent";
562
677
  //#endregion
563
678
  //#region src/dialog.tsx
564
- var dn = M.Root, fn = M.Trigger, pn = M.Portal, mn = M.Close, hn = e.forwardRef(({ className: e, ...t }, n) => /* @__PURE__ */ m(M.Overlay, {
565
- style: c.absoluteFill,
679
+ var vn = P.Root, yn = P.Trigger, bn = P.Portal, xn = P.Close, Sn = e.forwardRef(({ className: e, ...t }, n) => /* @__PURE__ */ h(P.Overlay, {
680
+ style: l.absoluteFill,
566
681
  asChild: !0,
567
682
  ref: n,
568
683
  ...t,
569
- children: /* @__PURE__ */ m(w.View, {
570
- entering: T.duration(150),
571
- exiting: E.duration(150),
572
- className: G("z-50 flex items-center justify-center bg-black/80 p-2", e)
684
+ children: /* @__PURE__ */ h(D.View, {
685
+ entering: O.duration(150),
686
+ exiting: k.duration(150),
687
+ className: q("z-50 flex items-center justify-center bg-black/80 p-2", e)
573
688
  })
574
689
  }));
575
- hn.displayName = M.Overlay?.displayName || "DialogOverlay";
576
- var gn = e.forwardRef(({ className: e, children: t, portalHost: n, overlayClassName: r, overlayStyle: i, ...a }, o) => /* @__PURE__ */ h(pn, {
690
+ Sn.displayName = P.Overlay?.displayName || "DialogOverlay";
691
+ var Cn = e.forwardRef(({ className: e, children: t, portalHost: n, overlayClassName: r, overlayStyle: i, ...a }, o) => /* @__PURE__ */ g(bn, {
577
692
  hostName: n,
578
- children: [/* @__PURE__ */ m(hn, {
693
+ children: [/* @__PURE__ */ h(Sn, {
579
694
  className: r,
580
695
  style: i
581
- }), /* @__PURE__ */ m(M.Content, {
696
+ }), /* @__PURE__ */ h(P.Content, {
582
697
  ref: o,
583
698
  asChild: !0,
584
699
  ...a,
585
- children: /* @__PURE__ */ h(w.View, {
586
- entering: T.duration(150),
587
- exiting: E.duration(150),
588
- className: G("border-border bg-background z-50 w-full max-w-lg gap-4 rounded-xl border p-6 shadow-lg sm:rounded-lg", e),
589
- children: [t, /* @__PURE__ */ h(M.Close, {
700
+ children: /* @__PURE__ */ g(D.View, {
701
+ entering: O.duration(150),
702
+ exiting: k.duration(150),
703
+ className: q("border-border bg-background z-50 w-full max-w-lg gap-4 rounded-xl border p-6 shadow-lg sm:rounded-lg", e),
704
+ children: [t, /* @__PURE__ */ g(P.Close, {
590
705
  className: "ring-offset-background focus:ring-ring data-[state=open]:bg-accent data-[state=open]:text-muted-foreground absolute top-4 right-4 rounded-sm opacity-70 transition-opacity hover:opacity-100 focus:ring-2 focus:ring-offset-2 focus:outline-none disabled:pointer-events-none",
591
- children: [/* @__PURE__ */ m(ce, {
706
+ children: [/* @__PURE__ */ h(le, {
592
707
  size: 18,
593
708
  className: "text-muted-foreground"
594
- }), /* @__PURE__ */ m(f, {
709
+ }), /* @__PURE__ */ h(p, {
595
710
  className: "sr-only",
596
- children: /* @__PURE__ */ m(M.Title, { children: "Close" })
711
+ children: /* @__PURE__ */ h(P.Title, { children: "Close" })
597
712
  })]
598
713
  })]
599
714
  })
600
715
  })]
601
716
  }));
602
- gn.displayName = M.Content?.displayName || "DialogContent";
603
- var _n = ({ className: e, ...t }) => /* @__PURE__ */ m(f, {
604
- className: G("flex flex-col gap-1.5 text-center sm:text-left", e),
717
+ Cn.displayName = P.Content?.displayName || "DialogContent";
718
+ var wn = ({ className: e, ...t }) => /* @__PURE__ */ h(p, {
719
+ className: q("flex flex-col gap-1.5 text-center sm:text-left", e),
605
720
  ...t
606
721
  });
607
- _n.displayName = "DialogHeader";
608
- var vn = ({ className: e, ...t }) => /* @__PURE__ */ m(f, {
609
- className: G("flex flex-col-reverse gap-2 sm:flex-row sm:justify-end", e),
722
+ wn.displayName = "DialogHeader";
723
+ var Tn = ({ className: e, ...t }) => /* @__PURE__ */ h(p, {
724
+ className: q("flex flex-col-reverse gap-2 sm:flex-row sm:justify-end", e),
610
725
  ...t
611
726
  });
612
- vn.displayName = "DialogFooter";
613
- var yn = e.forwardRef(({ className: e, ...t }, n) => /* @__PURE__ */ m(M.Title, {
727
+ Tn.displayName = "DialogFooter";
728
+ var En = e.forwardRef(({ className: e, ...t }, n) => /* @__PURE__ */ h(P.Title, {
614
729
  ref: n,
615
- className: G("native:text-xl text-foreground text-lg leading-none font-semibold tracking-tight", e),
730
+ className: q("native:text-xl text-foreground text-lg leading-none font-semibold tracking-tight", e),
616
731
  ...t
617
732
  }));
618
- yn.displayName = M.Title?.displayName || "DialogTitle";
619
- var bn = e.forwardRef(({ className: e, ...t }, n) => /* @__PURE__ */ m(M.Description, {
733
+ En.displayName = P.Title?.displayName || "DialogTitle";
734
+ var Dn = e.forwardRef(({ className: e, ...t }, n) => /* @__PURE__ */ h(P.Description, {
620
735
  ref: n,
621
- className: G("native:text-base text-muted-foreground text-sm", e),
736
+ className: q("native:text-base text-muted-foreground text-sm", e),
622
737
  ...t
623
738
  }));
624
- bn.displayName = M.Description?.displayName || "DialogDescription";
739
+ Dn.displayName = P.Description?.displayName || "DialogDescription";
625
740
  //#endregion
626
741
  //#region src/drawer.tsx
627
- var xn = ({ children: e }) => /* @__PURE__ */ m(M.Root, { children: e });
628
- xn.displayName = "Drawer";
629
- var Sn = e.forwardRef(({ children: e, className: t, ...n }, r) => /* @__PURE__ */ m(M.Trigger, {
742
+ var On = ({ children: e }) => /* @__PURE__ */ h(P.Root, { children: e });
743
+ On.displayName = "Drawer";
744
+ var kn = e.forwardRef(({ children: e, className: t, ...n }, r) => /* @__PURE__ */ h(P.Trigger, {
630
745
  ref: r,
631
746
  className: t,
632
747
  ...n,
633
- children: W(e)
748
+ children: K(e)
634
749
  }));
635
- Sn.displayName = "DrawerTrigger";
636
- var Cn = M.Portal, wn = e.forwardRef(({ className: e, ...t }, n) => /* @__PURE__ */ m(M.Overlay, {
637
- style: c.absoluteFill,
750
+ kn.displayName = "DrawerTrigger";
751
+ var An = P.Portal, jn = e.forwardRef(({ className: e, ...t }, n) => /* @__PURE__ */ h(P.Overlay, {
752
+ style: l.absoluteFill,
638
753
  asChild: !0,
639
754
  ref: n,
640
755
  ...t,
641
- children: /* @__PURE__ */ m(w.View, {
642
- entering: T.duration(150),
643
- exiting: E.duration(150),
644
- className: G("z-50 bg-black/80", e)
756
+ children: /* @__PURE__ */ h(D.View, {
757
+ entering: O.duration(150),
758
+ exiting: k.duration(150),
759
+ className: q("z-50 bg-black/80", e)
645
760
  })
646
761
  }));
647
- wn.displayName = "DrawerOverlay";
648
- var Tn = e.forwardRef(({ className: e, children: t, portalHost: n, overlayClassName: r, overlayStyle: i, ...a }, o) => /* @__PURE__ */ h(Cn, {
762
+ jn.displayName = "DrawerOverlay";
763
+ var Mn = e.forwardRef(({ className: e, children: t, portalHost: n, overlayClassName: r, overlayStyle: i, ...a }, o) => /* @__PURE__ */ g(An, {
649
764
  hostName: n,
650
- children: [/* @__PURE__ */ m(wn, {
765
+ children: [/* @__PURE__ */ h(jn, {
651
766
  className: r,
652
767
  style: i
653
- }), /* @__PURE__ */ m(M.Content, {
768
+ }), /* @__PURE__ */ h(P.Content, {
654
769
  ref: o,
655
770
  asChild: !0,
656
771
  ...a,
657
- children: /* @__PURE__ */ h(w.View, {
658
- entering: pe.duration(200),
659
- exiting: he.duration(200),
660
- className: G("border-border bg-background fixed inset-x-0 bottom-0 z-50 flex h-auto flex-col rounded-t-xl border p-6 pb-10 shadow-lg", e),
661
- children: [/* @__PURE__ */ m(f, { className: "bg-muted mx-auto mb-4 h-1.5 w-12 rounded-full" }), t]
772
+ children: /* @__PURE__ */ g(D.View, {
773
+ entering: me.duration(200),
774
+ exiting: ge.duration(200),
775
+ className: q("border-border bg-background fixed inset-x-0 bottom-0 z-50 flex h-auto flex-col rounded-t-xl border p-6 pb-10 shadow-lg", e),
776
+ children: [/* @__PURE__ */ h(p, { className: "bg-muted mx-auto mb-4 h-1.5 w-12 rounded-full" }), t]
662
777
  })
663
778
  })]
664
779
  }));
665
- Tn.displayName = "DrawerContent";
666
- var En = ({ className: e, children: t, ...n }) => /* @__PURE__ */ m(f, {
667
- className: G("flex flex-col gap-1.5 text-center sm:text-left", e),
780
+ Mn.displayName = "DrawerContent";
781
+ var Nn = ({ className: e, children: t, ...n }) => /* @__PURE__ */ h(p, {
782
+ className: q("flex flex-col gap-1.5 text-center sm:text-left", e),
668
783
  ...n,
669
- children: W(t)
784
+ children: K(t)
670
785
  });
671
- En.displayName = "DrawerHeader";
672
- var Dn = ({ className: e, children: t, ...n }) => /* @__PURE__ */ m(f, {
673
- className: G("mt-auto flex flex-col gap-2", e),
786
+ Nn.displayName = "DrawerHeader";
787
+ var Pn = ({ className: e, children: t, ...n }) => /* @__PURE__ */ h(p, {
788
+ className: q("mt-auto flex flex-col gap-2", e),
674
789
  ...n,
675
- children: W(t)
790
+ children: K(t)
676
791
  });
677
- Dn.displayName = "DrawerFooter";
678
- var On = e.forwardRef(({ children: e, className: t, ...n }, r) => /* @__PURE__ */ m(M.Close, {
792
+ Pn.displayName = "DrawerFooter";
793
+ var Fn = e.forwardRef(({ children: e, className: t, ...n }, r) => /* @__PURE__ */ h(P.Close, {
679
794
  ref: r,
680
795
  className: t,
681
796
  ...n,
682
- children: W(e)
797
+ children: K(e)
683
798
  }));
684
- On.displayName = "DrawerClose";
685
- var kn = e.forwardRef(({ className: e, children: t, ...n }, r) => /* @__PURE__ */ m(M.Title, {
799
+ Fn.displayName = "DrawerClose";
800
+ var In = e.forwardRef(({ className: e, children: t, ...n }, r) => /* @__PURE__ */ h(P.Title, {
686
801
  ref: r,
687
- className: G("text-foreground text-lg leading-none font-semibold tracking-tight", e),
802
+ className: q("text-foreground text-lg leading-none font-semibold tracking-tight", e),
688
803
  ...n,
689
- children: W(t)
804
+ children: K(t)
690
805
  }));
691
- kn.displayName = "DrawerTitle";
692
- var An = e.forwardRef(({ className: e, children: t, ...n }, r) => /* @__PURE__ */ m(M.Description, {
806
+ In.displayName = "DrawerTitle";
807
+ var Ln = e.forwardRef(({ className: e, children: t, ...n }, r) => /* @__PURE__ */ h(P.Description, {
693
808
  ref: r,
694
- className: G("text-muted-foreground text-sm", e),
809
+ className: q("text-muted-foreground text-sm", e),
695
810
  ...n,
696
- children: W(t)
811
+ children: K(t)
697
812
  }));
698
- An.displayName = "DrawerDescription";
813
+ Ln.displayName = "DrawerDescription";
699
814
  //#endregion
700
815
  //#region src/dropdown-menu.tsx
701
- var jn = N.Root, Mn = N.Trigger, Nn = N.Portal, Pn = N.Group, Fn = N.RadioGroup, In = N.Sub, Ln = e.forwardRef(({ className: e, ...t }, n) => /* @__PURE__ */ m(N.Overlay, {
702
- style: a.OS === "web" ? void 0 : c.absoluteFill,
816
+ var Rn = F.Root, zn = F.Trigger, Bn = F.Portal, Vn = F.Group, Hn = F.RadioGroup, Un = F.Sub, Wn = e.forwardRef(({ className: e, ...t }, n) => /* @__PURE__ */ h(F.Overlay, {
817
+ style: o.OS === "web" ? void 0 : l.absoluteFill,
703
818
  ref: n,
704
819
  ...t,
705
- children: /* @__PURE__ */ m(w.View, {
706
- entering: T.duration(100),
707
- exiting: E.duration(100),
708
- className: G("absolute inset-0 z-50 bg-black/30", e)
820
+ children: /* @__PURE__ */ h(D.View, {
821
+ entering: O.duration(100),
822
+ exiting: k.duration(100),
823
+ className: q("absolute inset-0 z-50 bg-black/30", e)
709
824
  })
710
825
  }));
711
- Ln.displayName = "DropdownMenuOverlay";
712
- var Rn = e.forwardRef(({ className: e, children: t, side: n, ...r }, i) => {
826
+ Wn.displayName = "DropdownMenuOverlay";
827
+ var Gn = e.forwardRef(({ className: e, children: t, side: n, ...r }, i) => {
713
828
  let a = n === "left" || n === "right" ? "bottom" : n;
714
- return /* @__PURE__ */ h(Nn, { children: [/* @__PURE__ */ m(Ln, {}), /* @__PURE__ */ m(N.Content, {
829
+ return /* @__PURE__ */ g(Bn, { children: [/* @__PURE__ */ h(Wn, {}), /* @__PURE__ */ h(F.Content, {
715
830
  ref: i,
716
831
  side: a,
717
- className: G("bg-popover border-border z-50 min-w-[8rem] overflow-hidden rounded-md border p-1 shadow-md", e),
832
+ className: q("bg-popover border-border z-50 min-w-[8rem] overflow-hidden rounded-md border p-1 shadow-md", e),
718
833
  ...r,
719
834
  children: t
720
835
  })] });
721
836
  });
722
- Rn.displayName = "DropdownMenuContent";
723
- var Y = e.forwardRef(({ className: e, children: t, inset: n, ...r }, i) => /* @__PURE__ */ m(N.Item, {
724
- ref: i,
725
- className: G("focus:bg-accent focus:text-accent-foreground active:bg-accent active:text-accent-foreground relative flex flex-row items-center rounded-sm px-2 py-1.5 text-sm outline-none", n && "pl-8", e),
726
- ...r,
727
- children: W(t, J)
837
+ Gn.displayName = "DropdownMenuContent";
838
+ var Q = e.forwardRef(({ className: e, children: t, inset: n, onSelect: r, ...i }, a) => /* @__PURE__ */ h(F.Item, {
839
+ ref: a,
840
+ onPress: () => r?.(new Event("select")),
841
+ className: q("focus:bg-accent focus:text-accent-foreground active:bg-accent active:text-accent-foreground relative flex flex-row items-center rounded-sm px-2 py-1.5 text-sm outline-none", n && "pl-8", e),
842
+ ...i,
843
+ children: K(t, X)
728
844
  }));
729
- Y.displayName = "DropdownMenuItem";
730
- var zn = e.forwardRef(({ className: e, children: t, checked: n, onCheckedChange: r, ...i }, a) => /* @__PURE__ */ h(N.CheckboxItem, {
845
+ Q.displayName = "DropdownMenuItem";
846
+ var Kn = e.forwardRef(({ className: e, children: t, checked: n, onCheckedChange: r, ...i }, a) => /* @__PURE__ */ g(F.CheckboxItem, {
731
847
  ref: a,
732
848
  checked: !!n,
733
849
  onCheckedChange: r || (() => {}),
734
- className: G("focus:bg-accent focus:text-accent-foreground active:bg-accent active:text-accent-foreground relative flex flex-row items-center rounded-sm py-1.5 pr-2 pl-8 text-sm outline-none", e),
850
+ className: q("focus:bg-accent focus:text-accent-foreground active:bg-accent active:text-accent-foreground relative flex flex-row items-center rounded-sm py-1.5 pr-2 pl-8 text-sm outline-none", e),
735
851
  ...i,
736
- children: [/* @__PURE__ */ m(f, {
852
+ children: [/* @__PURE__ */ h(p, {
737
853
  className: "absolute left-2 flex h-3.5 w-3.5 items-center justify-center",
738
- children: /* @__PURE__ */ m(N.ItemIndicator, { children: /* @__PURE__ */ m(y, {
854
+ children: /* @__PURE__ */ h(F.ItemIndicator, { children: /* @__PURE__ */ h(C, {
739
855
  size: 14,
740
856
  className: "text-foreground"
741
857
  }) })
742
- }), W(t, J)]
858
+ }), K(t, X)]
743
859
  }));
744
- zn.displayName = "DropdownMenuCheckboxItem";
745
- var Bn = e.forwardRef(({ className: e, children: t, value: n, ...r }, i) => /* @__PURE__ */ h(N.RadioItem, {
860
+ Kn.displayName = "DropdownMenuCheckboxItem";
861
+ var qn = e.forwardRef(({ className: e, children: t, value: n, ...r }, i) => /* @__PURE__ */ g(F.RadioItem, {
746
862
  ref: i,
747
863
  value: n,
748
- className: G("focus:bg-accent focus:text-accent-foreground active:bg-accent active:text-accent-foreground relative flex flex-row items-center rounded-sm py-1.5 pr-2 pl-8 text-sm outline-none", e),
864
+ className: q("focus:bg-accent focus:text-accent-foreground active:bg-accent active:text-accent-foreground relative flex flex-row items-center rounded-sm py-1.5 pr-2 pl-8 text-sm outline-none", e),
749
865
  ...r,
750
- children: [/* @__PURE__ */ m(f, {
866
+ children: [/* @__PURE__ */ h(p, {
751
867
  className: "absolute left-2 flex h-3.5 w-3.5 items-center justify-center",
752
- children: /* @__PURE__ */ m(N.ItemIndicator, { children: /* @__PURE__ */ m(C, {
868
+ children: /* @__PURE__ */ h(F.ItemIndicator, { children: /* @__PURE__ */ h(E, {
753
869
  size: 8,
754
870
  className: "text-foreground fill-current"
755
871
  }) })
756
- }), W(t, J)]
872
+ }), K(t, X)]
757
873
  }));
758
- Bn.displayName = "DropdownMenuRadioItem";
759
- var Vn = e.forwardRef(({ className: e, children: t, inset: n, ...r }, i) => /* @__PURE__ */ m(N.Label, {
874
+ qn.displayName = "DropdownMenuRadioItem";
875
+ var Jn = e.forwardRef(({ className: e, children: t, inset: n, ...r }, i) => /* @__PURE__ */ h(F.Label, {
760
876
  ref: i,
761
- className: G("text-foreground px-2 py-1.5 text-sm font-semibold", n && "pl-8", e),
877
+ className: q("text-foreground px-2 py-1.5 text-sm font-semibold", n && "pl-8", e),
762
878
  ...r,
763
- children: W(t, J)
879
+ children: K(t, X)
764
880
  }));
765
- Vn.displayName = "DropdownMenuLabel";
766
- var Hn = e.forwardRef(({ className: e, ...t }, n) => /* @__PURE__ */ m(N.Separator, {
881
+ Jn.displayName = "DropdownMenuLabel";
882
+ var Yn = e.forwardRef(({ className: e, ...t }, n) => /* @__PURE__ */ h(F.Separator, {
767
883
  ref: n,
768
- className: G("bg-border -mx-1 my-1 h-px", e),
884
+ className: q("bg-border -mx-1 my-1 h-px", e),
769
885
  ...t
770
886
  }));
771
- Hn.displayName = "DropdownMenuSeparator";
772
- var Un = ({ className: e, children: t, ...n }) => /* @__PURE__ */ m(J, {
773
- className: G("text-muted-foreground ml-auto text-xs tracking-widest", e),
887
+ Yn.displayName = "DropdownMenuSeparator";
888
+ var Xn = ({ className: e, children: t, ...n }) => /* @__PURE__ */ h(X, {
889
+ className: q("text-muted-foreground ml-auto text-xs tracking-widest", e),
774
890
  ...n,
775
891
  children: t
776
892
  });
777
- Un.displayName = "DropdownMenuShortcut";
778
- var Wn = e.forwardRef(({ className: e, children: t, inset: n, ...r }, i) => /* @__PURE__ */ h(N.SubTrigger, {
893
+ Xn.displayName = "DropdownMenuShortcut";
894
+ var Zn = e.forwardRef(({ className: e, children: t, inset: n, ...r }, i) => /* @__PURE__ */ g(F.SubTrigger, {
779
895
  ref: i,
780
- className: G("focus:bg-accent focus:text-accent-foreground active:bg-accent active:text-accent-foreground flex flex-row items-center rounded-sm px-2 py-1.5 text-sm outline-none", n && "pl-8", e),
896
+ className: q("focus:bg-accent focus:text-accent-foreground active:bg-accent active:text-accent-foreground flex flex-row items-center rounded-sm px-2 py-1.5 text-sm outline-none", n && "pl-8", e),
781
897
  ...r,
782
- children: [/* @__PURE__ */ m(f, {
898
+ children: [/* @__PURE__ */ h(p, {
783
899
  className: "flex flex-row items-center gap-1.5",
784
- children: W(t, J)
785
- }), /* @__PURE__ */ m(S, {
900
+ children: K(t, X)
901
+ }), /* @__PURE__ */ h(T, {
786
902
  size: 14,
787
903
  className: "text-foreground ml-auto"
788
904
  })]
789
905
  }));
790
- Wn.displayName = "DropdownMenuSubTrigger";
791
- var Gn = e.forwardRef(({ className: e, children: t, ...n }, r) => /* @__PURE__ */ m(N.SubContent, {
906
+ Zn.displayName = "DropdownMenuSubTrigger";
907
+ var Qn = e.forwardRef(({ className: e, children: t, ...n }, r) => /* @__PURE__ */ h(F.SubContent, {
792
908
  ref: r,
793
- className: G("bg-popover border-border z-50 min-w-[8rem] overflow-hidden rounded-md border p-1 shadow-md", e),
909
+ className: q("bg-popover border-border z-50 min-w-[8rem] overflow-hidden rounded-md border p-1 shadow-md", e),
794
910
  ...n,
795
911
  children: t
796
912
  }));
797
- Gn.displayName = "DropdownMenuSubContent";
798
- //#endregion
799
- //#region src/form.tsx
800
- var Kn = () => /* @__PURE__ */ m(f, { children: /* @__PURE__ */ m(l, { children: "form is not yet implemented for React Native" }) }), qn = P.Root, Jn = P.Trigger, Yn = e.forwardRef(({ className: e, children: t, ...n }, r) => /* @__PURE__ */ m(P.Portal, { children: /* @__PURE__ */ m(P.Content, {
801
- ref: r,
802
- className: G("bg-popover text-popover-foreground border-border z-50 w-64 rounded-md border p-4 shadow-md", e),
803
- ...n,
804
- children: t
805
- }) }));
806
- Yn.displayName = P.Content?.displayName || "HoverCardContent";
807
- //#endregion
808
- //#region src/input.tsx
809
- var Xn = e.forwardRef(({ className: e, placeholderClassName: t, ...n }, r) => /* @__PURE__ */ m(u, {
810
- ref: r,
811
- className: G("border-input text-foreground placeholder:text-muted-foreground focus:border-ring flex h-10 w-full rounded-md border bg-transparent px-3 py-2 text-base shadow-sm transition-colors disabled:opacity-50", e),
812
- placeholderClassName: G("text-muted-foreground", t),
813
- ...n
814
- }));
815
- Xn.displayName = "Input";
913
+ Qn.displayName = "DropdownMenuSubContent";
816
914
  //#endregion
817
915
  //#region src/label.tsx
818
- var Zn = e.forwardRef(({ className: e, onPress: t, onLongPress: n, onPressIn: r, onPressOut: i, ...a }, o) => /* @__PURE__ */ m(De.Root, {
916
+ var $n = e.forwardRef(({ className: e, onPress: t, onLongPress: n, onPressIn: r, onPressOut: i, ...a }, o) => /* @__PURE__ */ h(Me.Root, {
819
917
  className: "web:cursor-default",
820
918
  onPress: t,
821
919
  onLongPress: n,
822
920
  onPressIn: r,
823
921
  onPressOut: i,
824
- children: /* @__PURE__ */ m(De.Text, {
922
+ children: /* @__PURE__ */ h(Me.Text, {
825
923
  ref: o,
826
- className: G("text-foreground native:text-base web:peer-disabled:cursor-not-allowed web:peer-disabled:opacity-70 text-sm leading-none font-medium", e),
924
+ className: q("text-foreground native:text-base web:peer-disabled:cursor-not-allowed web:peer-disabled:opacity-70 text-sm leading-none font-medium", e),
827
925
  ...a
828
926
  })
829
927
  }));
830
- Zn.displayName = De.Root?.displayName || "Label";
928
+ $n.displayName = Me.Root?.displayName || "Label";
929
+ //#endregion
930
+ //#region src/form.tsx
931
+ var er = Ae, tr = e.createContext(null), nr = () => {
932
+ let t = e.useContext(tr), n = e.useContext(rr), { getFieldState: r, formState: i } = je();
933
+ if (!t) throw Error("useFormField should be used within <FormField>");
934
+ if (!n) throw Error("useFormField should be used within <FormItem>");
935
+ let a = r(t.name, i), { id: o } = n;
936
+ return {
937
+ id: o,
938
+ name: t.name,
939
+ formItemId: `${o}-form-item`,
940
+ formDescriptionId: `${o}-form-item-description`,
941
+ formMessageId: `${o}-form-item-message`,
942
+ ...a
943
+ };
944
+ }, rr = e.createContext(null), ir = e.forwardRef(({ className: t, ...n }, r) => {
945
+ let i = e.useId();
946
+ return /* @__PURE__ */ h(rr.Provider, {
947
+ value: { id: i },
948
+ children: /* @__PURE__ */ h(p, {
949
+ ref: r,
950
+ className: q("space-y-2", t),
951
+ ...n
952
+ })
953
+ });
954
+ });
955
+ ir.displayName = "FormItem";
956
+ var ar = e.forwardRef(({ className: e, ...t }, n) => {
957
+ let { error: r, formItemId: i } = nr();
958
+ return /* @__PURE__ */ h($n, {
959
+ ref: n,
960
+ className: q(r && "text-destructive", e),
961
+ nativeID: i,
962
+ ...t
963
+ });
964
+ });
965
+ ar.displayName = "FormLabel";
966
+ var or = e.forwardRef(({ ...e }, t) => {
967
+ let { error: n, formItemId: r, formDescriptionId: i, formMessageId: a } = nr();
968
+ return /* @__PURE__ */ h(Ee.Slot, {
969
+ ref: t,
970
+ nativeID: r,
971
+ "aria-describedby": n ? `${i} ${a}` : `${i}`,
972
+ "aria-invalid": !!n,
973
+ ...e
974
+ });
975
+ });
976
+ or.displayName = "FormControl";
977
+ var sr = e.forwardRef(({ className: e, ...t }, n) => {
978
+ let { formDescriptionId: r } = nr();
979
+ return /* @__PURE__ */ h(u, {
980
+ ref: n,
981
+ nativeID: r,
982
+ className: q("text-muted-foreground text-[13px]", e),
983
+ ...t
984
+ });
985
+ });
986
+ sr.displayName = "FormDescription";
987
+ var cr = e.forwardRef(({ className: e, children: t, ...n }, r) => {
988
+ let { error: i, formMessageId: a } = nr(), o = i ? String(i?.message ?? "") : t;
989
+ return o ? /* @__PURE__ */ h(u, {
990
+ ref: r,
991
+ nativeID: a,
992
+ className: q("text-destructive text-[13px] font-medium", e),
993
+ ...n,
994
+ children: o
995
+ }) : null;
996
+ });
997
+ cr.displayName = "FormMessage";
998
+ //#endregion
999
+ //#region src/hover-card.tsx
1000
+ var lr = I.Root, ur = I.Trigger, dr = e.forwardRef(({ className: e, children: t, ...n }, r) => /* @__PURE__ */ h(I.Portal, { children: /* @__PURE__ */ h(I.Content, {
1001
+ ref: r,
1002
+ className: q("bg-popover text-popover-foreground border-border z-50 w-64 rounded-md border p-4 shadow-md", e),
1003
+ ...n,
1004
+ children: t
1005
+ }) }));
1006
+ dr.displayName = I.Content?.displayName || "HoverCardContent";
1007
+ //#endregion
1008
+ //#region src/input.tsx
1009
+ var fr = e.forwardRef(({ className: e, placeholderClassName: t, ...n }, r) => /* @__PURE__ */ h(d, {
1010
+ ref: r,
1011
+ className: q("border-input text-foreground placeholder:text-muted-foreground focus:border-ring flex h-10 w-full rounded-md border bg-transparent px-3 py-2 text-base shadow-sm transition-colors disabled:opacity-50", e),
1012
+ placeholderClassName: q("text-muted-foreground", t),
1013
+ ...n
1014
+ }));
1015
+ fr.displayName = "Input";
831
1016
  //#endregion
832
1017
  //#region src/menubar.tsx
833
- var Qn = e.forwardRef(({ className: t, children: n, value: r, onValueChange: i, ...a }, o) => {
1018
+ var pr = e.forwardRef(({ className: t, children: n, value: r, onValueChange: i, ...a }, o) => {
834
1019
  let [s, c] = e.useState(r || ""), l = r === void 0 ? s : r;
835
- return /* @__PURE__ */ m(F.Root, {
1020
+ return /* @__PURE__ */ h(L.Root, {
836
1021
  ref: o,
837
1022
  value: l,
838
1023
  onValueChange: (e) => {
839
1024
  c(e), i?.(e || "");
840
1025
  },
841
- className: G("bg-background border-border flex flex-row items-center space-x-1 rounded-md border p-1 shadow-sm", t),
1026
+ className: q("bg-background border-border flex flex-row items-center space-x-1 rounded-md border p-1 shadow-sm", t),
842
1027
  ...a,
843
1028
  children: n
844
1029
  });
845
1030
  });
846
- Qn.displayName = "Menubar";
847
- var $n = F.Menu, er = F.Portal, tr = F.Group, nr = F.RadioGroup, rr = F.Sub, ir = e.forwardRef(({ className: e, ...t }, n) => /* @__PURE__ */ m(F.Overlay, {
848
- style: a.OS === "web" ? void 0 : c.absoluteFill,
1031
+ pr.displayName = "Menubar";
1032
+ var mr = L.Menu, hr = L.Portal, gr = L.Group, _r = L.RadioGroup, vr = L.Sub, yr = e.forwardRef(({ className: e, ...t }, n) => /* @__PURE__ */ h(L.Overlay, {
1033
+ style: o.OS === "web" ? void 0 : l.absoluteFill,
849
1034
  ref: n,
850
1035
  ...t,
851
- children: /* @__PURE__ */ m(w.View, {
852
- entering: T.duration(100),
853
- exiting: E.duration(100),
854
- className: G("absolute inset-0 z-50 bg-black/30", e)
1036
+ children: /* @__PURE__ */ h(D.View, {
1037
+ entering: O.duration(100),
1038
+ exiting: k.duration(100),
1039
+ className: q("absolute inset-0 z-50 bg-black/30", e)
855
1040
  })
856
1041
  }));
857
- ir.displayName = "MenubarOverlay";
858
- var ar = e.forwardRef(({ className: e, children: t, ...n }, r) => /* @__PURE__ */ m(F.Trigger, {
1042
+ yr.displayName = "MenubarOverlay";
1043
+ var br = e.forwardRef(({ className: e, children: t, ...n }, r) => /* @__PURE__ */ h(L.Trigger, {
859
1044
  ref: r,
860
- className: G("focus:bg-accent focus:text-accent-foreground active:bg-accent active:text-accent-foreground flex flex-row items-center rounded-sm px-3 py-1.5 text-sm font-medium outline-none", e),
1045
+ className: q("focus:bg-accent focus:text-accent-foreground active:bg-accent active:text-accent-foreground flex flex-row items-center rounded-sm px-3 py-1.5 text-sm font-medium outline-none", e),
861
1046
  ...n,
862
- children: W(t, J)
1047
+ children: K(t, X)
863
1048
  }));
864
- ar.displayName = "MenubarTrigger";
865
- var or = e.forwardRef(({ className: e, children: t, ...n }, r) => /* @__PURE__ */ h(er, { children: [/* @__PURE__ */ m(ir, {}), /* @__PURE__ */ m(F.Content, {
1049
+ br.displayName = "MenubarTrigger";
1050
+ var xr = e.forwardRef(({ className: e, children: t, ...n }, r) => /* @__PURE__ */ g(hr, { children: [/* @__PURE__ */ h(yr, {}), /* @__PURE__ */ h(L.Content, {
866
1051
  ref: r,
867
- className: G("bg-popover border-border z-50 min-w-[12rem] overflow-hidden rounded-md border p-1 shadow-md", e),
1052
+ className: q("bg-popover border-border z-50 min-w-[12rem] overflow-hidden rounded-md border p-1 shadow-md", e),
868
1053
  ...n,
869
1054
  children: t
870
1055
  })] }));
871
- or.displayName = "MenubarContent";
872
- var sr = e.forwardRef(({ className: e, children: t, inset: n, ...r }, i) => /* @__PURE__ */ m(F.Item, {
1056
+ xr.displayName = "MenubarContent";
1057
+ var Sr = e.forwardRef(({ className: e, children: t, inset: n, ...r }, i) => /* @__PURE__ */ h(L.Item, {
873
1058
  ref: i,
874
- className: G("focus:bg-accent focus:text-accent-foreground active:bg-accent active:text-accent-foreground relative flex flex-row items-center rounded-sm px-2 py-1.5 text-sm outline-none", n && "pl-8", e),
1059
+ className: q("focus:bg-accent focus:text-accent-foreground active:bg-accent active:text-accent-foreground relative flex flex-row items-center rounded-sm px-2 py-1.5 text-sm outline-none", n && "pl-8", e),
875
1060
  ...r,
876
- children: W(t, J)
1061
+ children: K(t, X)
877
1062
  }));
878
- sr.displayName = "MenubarItem";
879
- var cr = e.forwardRef(({ className: e, children: t, checked: n, onCheckedChange: r, ...i }, a) => /* @__PURE__ */ h(F.CheckboxItem, {
1063
+ Sr.displayName = "MenubarItem";
1064
+ var Cr = e.forwardRef(({ className: e, children: t, checked: n, onCheckedChange: r, ...i }, a) => /* @__PURE__ */ g(L.CheckboxItem, {
880
1065
  ref: a,
881
1066
  checked: !!n,
882
1067
  onCheckedChange: r || (() => {}),
883
- className: G("focus:bg-accent focus:text-accent-foreground active:bg-accent active:text-accent-foreground relative flex flex-row items-center rounded-sm py-1.5 pr-2 pl-8 text-sm outline-none", e),
1068
+ className: q("focus:bg-accent focus:text-accent-foreground active:bg-accent active:text-accent-foreground relative flex flex-row items-center rounded-sm py-1.5 pr-2 pl-8 text-sm outline-none", e),
884
1069
  ...i,
885
- children: [/* @__PURE__ */ m(f, {
1070
+ children: [/* @__PURE__ */ h(p, {
886
1071
  className: "absolute left-2 flex h-3.5 w-3.5 items-center justify-center",
887
- children: /* @__PURE__ */ m(F.ItemIndicator, { children: /* @__PURE__ */ m(y, {
1072
+ children: /* @__PURE__ */ h(L.ItemIndicator, { children: /* @__PURE__ */ h(C, {
888
1073
  size: 14,
889
1074
  className: "text-foreground"
890
1075
  }) })
891
- }), W(t, J)]
1076
+ }), K(t, X)]
892
1077
  }));
893
- cr.displayName = "MenubarCheckboxItem";
894
- var lr = e.forwardRef(({ className: e, children: t, value: n, ...r }, i) => /* @__PURE__ */ h(F.RadioItem, {
1078
+ Cr.displayName = "MenubarCheckboxItem";
1079
+ var wr = e.forwardRef(({ className: e, children: t, value: n, ...r }, i) => /* @__PURE__ */ g(L.RadioItem, {
895
1080
  ref: i,
896
1081
  value: n,
897
- className: G("focus:bg-accent focus:text-accent-foreground active:bg-accent active:text-accent-foreground relative flex flex-row items-center rounded-sm py-1.5 pr-2 pl-8 text-sm outline-none", e),
1082
+ className: q("focus:bg-accent focus:text-accent-foreground active:bg-accent active:text-accent-foreground relative flex flex-row items-center rounded-sm py-1.5 pr-2 pl-8 text-sm outline-none", e),
898
1083
  ...r,
899
- children: [/* @__PURE__ */ m(f, {
1084
+ children: [/* @__PURE__ */ h(p, {
900
1085
  className: "absolute left-2 flex h-3.5 w-3.5 items-center justify-center",
901
- children: /* @__PURE__ */ m(F.ItemIndicator, { children: /* @__PURE__ */ m(C, {
1086
+ children: /* @__PURE__ */ h(L.ItemIndicator, { children: /* @__PURE__ */ h(E, {
902
1087
  size: 8,
903
1088
  className: "text-foreground fill-current"
904
1089
  }) })
905
- }), W(t, J)]
1090
+ }), K(t, X)]
906
1091
  }));
907
- lr.displayName = "MenubarRadioItem";
908
- var ur = e.forwardRef(({ className: e, children: t, inset: n, ...r }, i) => /* @__PURE__ */ m(F.Label, {
1092
+ wr.displayName = "MenubarRadioItem";
1093
+ var Tr = e.forwardRef(({ className: e, children: t, inset: n, ...r }, i) => /* @__PURE__ */ h(L.Label, {
909
1094
  ref: i,
910
- className: G("text-foreground px-2 py-1.5 text-sm font-semibold", n && "pl-8", e),
1095
+ className: q("text-foreground px-2 py-1.5 text-sm font-semibold", n && "pl-8", e),
911
1096
  ...r,
912
- children: W(t, J)
1097
+ children: K(t, X)
913
1098
  }));
914
- ur.displayName = "MenubarLabel";
915
- var dr = e.forwardRef(({ className: e, ...t }, n) => /* @__PURE__ */ m(F.Separator, {
1099
+ Tr.displayName = "MenubarLabel";
1100
+ var Er = e.forwardRef(({ className: e, ...t }, n) => /* @__PURE__ */ h(L.Separator, {
916
1101
  ref: n,
917
- className: G("bg-border -mx-1 my-1 h-px", e),
1102
+ className: q("bg-border -mx-1 my-1 h-px", e),
918
1103
  ...t
919
1104
  }));
920
- dr.displayName = "MenubarSeparator";
921
- var fr = ({ className: e, children: t, ...n }) => /* @__PURE__ */ m(J, {
922
- className: G("text-muted-foreground ml-auto text-xs tracking-widest", e),
1105
+ Er.displayName = "MenubarSeparator";
1106
+ var Dr = ({ className: e, children: t, ...n }) => /* @__PURE__ */ h(X, {
1107
+ className: q("text-muted-foreground ml-auto text-xs tracking-widest", e),
923
1108
  ...n,
924
1109
  children: t
925
1110
  });
926
- fr.displayName = "MenubarShortcut";
927
- var pr = e.forwardRef(({ className: e, children: t, inset: n, ...r }, i) => /* @__PURE__ */ h(F.SubTrigger, {
1111
+ Dr.displayName = "MenubarShortcut";
1112
+ var Or = e.forwardRef(({ className: e, children: t, inset: n, ...r }, i) => /* @__PURE__ */ g(L.SubTrigger, {
928
1113
  ref: i,
929
- className: G("focus:bg-accent focus:text-accent-foreground active:bg-accent active:text-accent-foreground flex flex-row items-center rounded-sm px-2 py-1.5 text-sm outline-none", n && "pl-8", e),
1114
+ className: q("focus:bg-accent focus:text-accent-foreground active:bg-accent active:text-accent-foreground flex flex-row items-center rounded-sm px-2 py-1.5 text-sm outline-none", n && "pl-8", e),
930
1115
  ...r,
931
- children: [/* @__PURE__ */ m(f, {
1116
+ children: [/* @__PURE__ */ h(p, {
932
1117
  className: "flex flex-row items-center gap-1.5",
933
- children: W(t, J)
934
- }), /* @__PURE__ */ m(S, {
1118
+ children: K(t, X)
1119
+ }), /* @__PURE__ */ h(T, {
935
1120
  size: 14,
936
1121
  className: "text-foreground ml-auto"
937
1122
  })]
938
1123
  }));
939
- pr.displayName = "MenubarSubTrigger";
940
- var mr = e.forwardRef(({ className: e, children: t, ...n }, r) => /* @__PURE__ */ m(F.SubContent, {
1124
+ Or.displayName = "MenubarSubTrigger";
1125
+ var kr = e.forwardRef(({ className: e, children: t, ...n }, r) => /* @__PURE__ */ h(L.SubContent, {
941
1126
  ref: r,
942
- className: G("bg-popover border-border z-50 min-w-[8rem] overflow-hidden rounded-md border p-1 shadow-md", e),
1127
+ className: q("bg-popover border-border z-50 min-w-[8rem] overflow-hidden rounded-md border p-1 shadow-md", e),
943
1128
  ...n,
944
1129
  children: t
945
1130
  }));
946
- mr.displayName = "MenubarSubContent";
1131
+ kr.displayName = "MenubarSubContent";
947
1132
  //#endregion
948
1133
  //#region src/navigation-menu.tsx
949
- var hr = e.forwardRef(({ className: e, children: t, value: n, onValueChange: r, dir: i, orientation: a, delayDuration: o, skipDelayDuration: s, ...c }, l) => /* @__PURE__ */ m(I.Root, {
1134
+ var Ar = e.forwardRef(({ className: e, children: t, value: n, onValueChange: r, dir: i, orientation: a, delayDuration: o, skipDelayDuration: s, ...c }, l) => /* @__PURE__ */ h(R.Root, {
950
1135
  ref: l,
951
1136
  value: n,
952
1137
  onValueChange: r ? (e) => r(e || "") : () => {},
953
1138
  delayDuration: o,
954
1139
  skipDelayDuration: s,
955
- className: G("relative z-10 flex flex-row items-center justify-center", e),
1140
+ className: q("relative z-10 flex flex-row items-center justify-center", e),
956
1141
  ...c,
957
1142
  children: t
958
1143
  }));
959
- hr.displayName = "NavigationMenu";
960
- var gr = e.forwardRef(({ className: e, children: t, ...n }, r) => /* @__PURE__ */ m(I.List, {
1144
+ Ar.displayName = "NavigationMenu";
1145
+ var jr = e.forwardRef(({ className: e, children: t, ...n }, r) => /* @__PURE__ */ h(R.List, {
961
1146
  ref: r,
962
- className: G("group flex flex-1 list-none flex-row items-center justify-center gap-1", e),
1147
+ className: q("group flex flex-1 list-none flex-row items-center justify-center gap-1", e),
963
1148
  ...n,
964
1149
  children: t
965
1150
  }));
966
- gr.displayName = "NavigationMenuList";
967
- var _r = e.forwardRef(({ className: e, children: t, value: n, ...r }, i) => /* @__PURE__ */ m(I.Item, {
1151
+ jr.displayName = "NavigationMenuList";
1152
+ var Mr = e.forwardRef(({ className: e, children: t, value: n, ...r }, i) => /* @__PURE__ */ h(R.Item, {
968
1153
  ref: i,
969
1154
  value: n || "",
970
- className: G("relative", e),
1155
+ className: q("relative", e),
971
1156
  ...r,
972
1157
  children: t
973
1158
  }));
974
- _r.displayName = "NavigationMenuItem";
975
- var vr = e.forwardRef(({ className: e, children: t, disabled: n, ...r }, i) => /* @__PURE__ */ h(I.Trigger, {
1159
+ Mr.displayName = "NavigationMenuItem";
1160
+ var Nr = e.forwardRef(({ className: e, children: t, disabled: n, ...r }, i) => /* @__PURE__ */ g(R.Trigger, {
976
1161
  ref: i,
977
1162
  disabled: n,
978
- className: G("group bg-background hover:bg-accent hover:text-accent-foreground focus:bg-accent focus:text-accent-foreground active:bg-accent active:text-accent-foreground flex flex-row items-center justify-center gap-1 rounded-md px-4 py-2 text-sm font-medium transition-colors disabled:opacity-50", e),
1163
+ className: q("group bg-background hover:bg-accent hover:text-accent-foreground focus:bg-accent focus:text-accent-foreground active:bg-accent active:text-accent-foreground flex flex-row items-center justify-center gap-1 rounded-md px-4 py-2 text-sm font-medium transition-colors disabled:opacity-50", e),
979
1164
  ...r,
980
- children: [/* @__PURE__ */ m(p, { children: t }), /* @__PURE__ */ m(b, {
1165
+ children: [/* @__PURE__ */ h(m, { children: t }), /* @__PURE__ */ h(w, {
981
1166
  size: 12,
982
1167
  className: "text-muted-foreground transition-transform duration-200 group-data-[state=open]:rotate-180"
983
1168
  })]
984
1169
  }));
985
- vr.displayName = "NavigationMenuTrigger";
986
- var yr = e.forwardRef(({ className: e, children: t, forceMount: n, ...r }, i) => /* @__PURE__ */ m(I.Portal, { children: /* @__PURE__ */ m(I.Content, {
1170
+ Nr.displayName = "NavigationMenuTrigger";
1171
+ var Pr = e.forwardRef(({ className: e, children: t, forceMount: n, ...r }, i) => /* @__PURE__ */ h(R.Portal, { children: /* @__PURE__ */ h(R.Content, {
987
1172
  ref: i,
988
1173
  ...r,
989
- children: /* @__PURE__ */ m(w.View, {
990
- entering: T.duration(150),
991
- exiting: E.duration(150),
992
- className: G("bg-popover border-border z-50 overflow-hidden rounded-md border p-4 shadow-md", e),
1174
+ children: /* @__PURE__ */ h(D.View, {
1175
+ entering: O.duration(150),
1176
+ exiting: k.duration(150),
1177
+ className: q("bg-popover border-border z-50 overflow-hidden rounded-md border p-4 shadow-md", e),
993
1178
  children: t
994
1179
  })
995
1180
  }) }));
996
- yr.displayName = "NavigationMenuContent";
997
- var br = e.forwardRef(({ className: e, children: t, active: n, onSelect: r, onPress: i, href: a, ...o }, s) => /* @__PURE__ */ m(I.Link, {
1181
+ Pr.displayName = "NavigationMenuContent";
1182
+ var Fr = e.forwardRef(({ className: e, children: t, active: n, onSelect: r, onPress: i, href: a, ...o }, s) => /* @__PURE__ */ h(R.Link, {
998
1183
  ref: s,
999
1184
  active: n,
1000
1185
  onPress: (e) => {
1001
1186
  i && i(), r && r(e);
1002
1187
  },
1003
- className: G("hover:bg-accent hover:text-accent-foreground active:bg-accent active:text-accent-foreground rounded-md px-3 py-2 text-sm font-medium transition-colors", n && "bg-accent text-accent-foreground", e),
1188
+ className: q("hover:bg-accent hover:text-accent-foreground active:bg-accent active:text-accent-foreground rounded-md px-3 py-2 text-sm font-medium transition-colors", n && "bg-accent text-accent-foreground", e),
1004
1189
  ...o,
1005
1190
  children: t
1006
1191
  }));
1007
- br.displayName = "NavigationMenuLink";
1008
- var xr = e.forwardRef(({ className: e, forceMount: t, ...n }, r) => /* @__PURE__ */ m(f, {
1192
+ Fr.displayName = "NavigationMenuLink";
1193
+ var Ir = e.forwardRef(({ className: e, forceMount: t, ...n }, r) => /* @__PURE__ */ h(p, {
1009
1194
  className: "absolute top-full left-0 flex justify-center",
1010
- children: /* @__PURE__ */ m(I.Viewport, {
1195
+ children: /* @__PURE__ */ h(R.Viewport, {
1011
1196
  ref: r,
1012
- className: G("origin-top-center bg-popover text-popover-foreground border-border relative mt-1.5 h-[var(--radix-navigation-menu-viewport-height)] w-full overflow-hidden rounded-md border shadow-lg md:w-[var(--radix-navigation-menu-viewport-width)]", e),
1197
+ className: q("origin-top-center bg-popover text-popover-foreground border-border relative mt-1.5 h-[var(--radix-navigation-menu-viewport-height)] w-full overflow-hidden rounded-md border shadow-lg md:w-[var(--radix-navigation-menu-viewport-width)]", e),
1013
1198
  ...n
1014
1199
  })
1015
1200
  }));
1016
- xr.displayName = "NavigationMenuViewport";
1017
- var Sr = e.forwardRef(({ className: e, forceMount: t, ...n }, r) => /* @__PURE__ */ m(I.Indicator, {
1201
+ Ir.displayName = "NavigationMenuViewport";
1202
+ var Lr = e.forwardRef(({ className: e, forceMount: t, ...n }, r) => /* @__PURE__ */ h(R.Indicator, {
1018
1203
  ref: r,
1019
- className: G("z-10 flex h-1.5 items-end justify-center overflow-hidden transition-all duration-200", e),
1204
+ className: q("z-10 flex h-1.5 items-end justify-center overflow-hidden transition-all duration-200", e),
1020
1205
  ...n,
1021
- children: /* @__PURE__ */ m(f, { className: "bg-border relative top-[60%] h-2 w-2 rotate-45 rounded-tl-sm shadow-md" })
1206
+ children: /* @__PURE__ */ h(p, { className: "bg-border relative top-[60%] h-2 w-2 rotate-45 rounded-tl-sm shadow-md" })
1022
1207
  }));
1023
- Sr.displayName = "NavigationMenuIndicator";
1208
+ Lr.displayName = "NavigationMenuIndicator";
1024
1209
  //#endregion
1025
1210
  //#region src/pagination.tsx
1026
- var Cr = ({ className: e, children: t, ...n }) => /* @__PURE__ */ m(f, {
1211
+ var Rr = ({ className: e, children: t, ...n }) => /* @__PURE__ */ h(p, {
1027
1212
  role: "navigation",
1028
1213
  "aria-label": "pagination",
1029
- className: G("mx-auto flex w-full flex-row justify-center", e),
1214
+ className: q("mx-auto flex w-full flex-row justify-center", e),
1030
1215
  ...n,
1031
1216
  children: t
1032
1217
  });
1033
- Cr.displayName = "Pagination";
1034
- var wr = e.forwardRef(({ className: e, children: t, ...n }, r) => /* @__PURE__ */ m(f, {
1218
+ Rr.displayName = "Pagination";
1219
+ var zr = e.forwardRef(({ className: e, children: t, ...n }, r) => /* @__PURE__ */ h(p, {
1035
1220
  ref: r,
1036
- className: G("flex flex-row items-center gap-1", e),
1221
+ className: q("flex flex-row items-center gap-1", e),
1037
1222
  ...n,
1038
1223
  children: t
1039
1224
  }));
1040
- wr.displayName = "PaginationContent";
1041
- var Tr = e.forwardRef(({ className: e, children: t, ...n }, r) => /* @__PURE__ */ m(f, {
1225
+ zr.displayName = "PaginationContent";
1226
+ var Br = e.forwardRef(({ className: e, children: t, ...n }, r) => /* @__PURE__ */ h(p, {
1042
1227
  ref: r,
1043
- className: G("", e),
1228
+ className: q("", e),
1044
1229
  ...n,
1045
1230
  children: t
1046
1231
  }));
1047
- Tr.displayName = "PaginationItem";
1048
- var X = ({ className: e, isActive: t, size: n = "icon", children: r, onPress: i, ...a }) => /* @__PURE__ */ m(q, {
1232
+ Br.displayName = "PaginationItem";
1233
+ var Vr = ({ className: e, isActive: t, size: n = "icon", children: r, onPress: i, ...a }) => /* @__PURE__ */ h(Y, {
1049
1234
  variant: t ? "outline" : "ghost",
1050
1235
  size: n,
1051
1236
  onPress: i,
@@ -1053,99 +1238,99 @@ var X = ({ className: e, isActive: t, size: n = "icon", children: r, onPress: i,
1053
1238
  ...a,
1054
1239
  children: r
1055
1240
  });
1056
- X.displayName = "PaginationLink";
1057
- var Er = ({ className: e, children: t, onPress: n, ...r }) => /* @__PURE__ */ h(X, {
1241
+ Vr.displayName = "PaginationLink";
1242
+ var Hr = ({ className: e, children: t, onPress: n, ...r }) => /* @__PURE__ */ g(Vr, {
1058
1243
  "aria-label": "Go to previous page",
1059
1244
  size: "default",
1060
- className: G("flex flex-row items-center gap-1 pl-2.5", e),
1245
+ className: q("flex flex-row items-center gap-1 pl-2.5", e),
1061
1246
  onPress: n,
1062
1247
  ...r,
1063
- children: [/* @__PURE__ */ m(x, {
1248
+ children: [/* @__PURE__ */ h(ee, {
1064
1249
  size: 16,
1065
1250
  className: "text-foreground"
1066
- }), /* @__PURE__ */ m(J, {
1251
+ }), /* @__PURE__ */ h(X, {
1067
1252
  className: "text-sm font-medium",
1068
1253
  children: "Previous"
1069
1254
  })]
1070
1255
  });
1071
- Er.displayName = "PaginationPrevious";
1072
- var Dr = ({ className: e, children: t, onPress: n, ...r }) => /* @__PURE__ */ h(X, {
1256
+ Hr.displayName = "PaginationPrevious";
1257
+ var Ur = ({ className: e, children: t, onPress: n, ...r }) => /* @__PURE__ */ g(Vr, {
1073
1258
  "aria-label": "Go to next page",
1074
1259
  size: "default",
1075
- className: G("flex flex-row items-center gap-1 pr-2.5", e),
1260
+ className: q("flex flex-row items-center gap-1 pr-2.5", e),
1076
1261
  onPress: n,
1077
1262
  ...r,
1078
- children: [/* @__PURE__ */ m(J, {
1263
+ children: [/* @__PURE__ */ h(X, {
1079
1264
  className: "text-sm font-medium",
1080
1265
  children: "Next"
1081
- }), /* @__PURE__ */ m(S, {
1266
+ }), /* @__PURE__ */ h(T, {
1082
1267
  size: 16,
1083
1268
  className: "text-foreground"
1084
1269
  })]
1085
1270
  });
1086
- Dr.displayName = "PaginationNext";
1087
- var Or = ({ className: e, ...t }) => /* @__PURE__ */ m(f, {
1271
+ Ur.displayName = "PaginationNext";
1272
+ var Wr = ({ className: e, ...t }) => /* @__PURE__ */ h(p, {
1088
1273
  "aria-hidden": !0,
1089
- className: G("flex h-9 w-9 flex-row items-center justify-center", e),
1274
+ className: q("flex h-9 w-9 flex-row items-center justify-center", e),
1090
1275
  ...t,
1091
- children: /* @__PURE__ */ m(ae, {
1276
+ children: /* @__PURE__ */ h(ae, {
1092
1277
  size: 16,
1093
1278
  className: "text-foreground"
1094
1279
  })
1095
1280
  });
1096
- Or.displayName = "PaginationEllipsis";
1281
+ Wr.displayName = "PaginationEllipsis";
1097
1282
  //#endregion
1098
1283
  //#region src/popover.tsx
1099
- var kr = e.createContext({
1284
+ var Gr = e.createContext({
1100
1285
  open: !1,
1101
1286
  setOpen: () => {}
1102
- }), Ar = e.forwardRef(({ children: t, open: n, onOpenChange: r, ...i }, a) => {
1287
+ }), Kr = e.forwardRef(({ children: t, open: n, onOpenChange: r, ...i }, a) => {
1103
1288
  let [o, s] = e.useState(!1), c = n !== void 0, l = c ? n : o, u = c ? r || (() => {}) : s;
1104
- return /* @__PURE__ */ m(kr.Provider, {
1289
+ return /* @__PURE__ */ h(Gr.Provider, {
1105
1290
  value: {
1106
1291
  open: l,
1107
1292
  setOpen: u
1108
1293
  },
1109
- children: /* @__PURE__ */ m(f, {
1294
+ children: /* @__PURE__ */ h(p, {
1110
1295
  ref: a,
1111
1296
  ...i,
1112
1297
  children: t
1113
1298
  })
1114
1299
  });
1115
1300
  });
1116
- Ar.displayName = "Popover";
1117
- var jr = e.forwardRef(({ children: t, ...n }, r) => {
1118
- let { setOpen: i } = e.useContext(kr);
1119
- return /* @__PURE__ */ m(o, {
1301
+ Kr.displayName = "Popover";
1302
+ var qr = e.forwardRef(({ children: t, ...n }, r) => {
1303
+ let { setOpen: i } = e.useContext(Gr);
1304
+ return /* @__PURE__ */ h(s, {
1120
1305
  ref: r,
1121
1306
  onPress: () => i(!0),
1122
1307
  ...n,
1123
1308
  children: t
1124
1309
  });
1125
1310
  });
1126
- jr.displayName = "PopoverTrigger";
1127
- var Mr = e.forwardRef(({ ...e }, t) => /* @__PURE__ */ m(f, {
1311
+ qr.displayName = "PopoverTrigger";
1312
+ var Jr = e.forwardRef(({ ...e }, t) => /* @__PURE__ */ h(p, {
1128
1313
  ref: t,
1129
1314
  ...e
1130
1315
  }));
1131
- Mr.displayName = "PopoverAnchor";
1132
- var Nr = e.forwardRef(({ className: t, children: n, ...r }, a) => {
1133
- let { open: s, setOpen: c } = e.useContext(kr);
1134
- return /* @__PURE__ */ m(i, {
1135
- visible: s,
1316
+ Jr.displayName = "PopoverAnchor";
1317
+ var Yr = e.forwardRef(({ className: t, children: n, ...r }, i) => {
1318
+ let { open: o, setOpen: c } = e.useContext(Gr);
1319
+ return /* @__PURE__ */ h(a, {
1320
+ visible: o,
1136
1321
  transparent: !0,
1137
1322
  animationType: "fade",
1138
1323
  onRequestClose: () => c(!1),
1139
- children: /* @__PURE__ */ m(o, {
1324
+ children: /* @__PURE__ */ h(s, {
1140
1325
  className: "flex-1",
1141
1326
  onPress: () => c(!1),
1142
- children: /* @__PURE__ */ m(f, {
1327
+ children: /* @__PURE__ */ h(p, {
1143
1328
  className: "flex-1 items-center justify-center bg-black/50",
1144
- children: /* @__PURE__ */ m(o, {
1329
+ children: /* @__PURE__ */ h(s, {
1145
1330
  onPress: () => {},
1146
- children: /* @__PURE__ */ m(f, {
1147
- ref: a,
1148
- className: G("bg-popover border-border mx-4 w-full max-w-sm rounded-md border p-4 shadow-lg", t),
1331
+ children: /* @__PURE__ */ h(p, {
1332
+ ref: i,
1333
+ className: q("bg-popover border-border mx-4 w-full max-w-sm rounded-md border p-4 shadow-lg", t),
1149
1334
  ...r,
1150
1335
  children: n
1151
1336
  })
@@ -1154,156 +1339,194 @@ var Nr = e.forwardRef(({ className: t, children: n, ...r }, a) => {
1154
1339
  })
1155
1340
  });
1156
1341
  });
1157
- Nr.displayName = "PopoverContent";
1342
+ Yr.displayName = "PopoverContent";
1158
1343
  //#endregion
1159
1344
  //#region src/progress.tsx
1160
- var Pr = e.forwardRef(({ className: e, value: t, ...n }, r) => /* @__PURE__ */ m(f, {
1345
+ var Xr = e.forwardRef(({ className: e, value: t, ...n }, r) => /* @__PURE__ */ h(p, {
1161
1346
  ref: r,
1162
- className: G("bg-muted relative h-2 w-full overflow-hidden rounded-full", e),
1347
+ className: q("bg-muted relative h-2 w-full overflow-hidden rounded-full", e),
1163
1348
  accessibilityRole: "progressbar",
1164
1349
  role: "progressbar",
1165
1350
  ...n,
1166
- children: /* @__PURE__ */ m(f, {
1351
+ children: /* @__PURE__ */ h(p, {
1167
1352
  className: "bg-primary h-full rounded-full",
1168
1353
  style: { width: `${t || 0}%` }
1169
1354
  })
1170
1355
  }));
1171
- Pr.displayName = "Progress";
1356
+ Xr.displayName = "Progress";
1172
1357
  //#endregion
1173
1358
  //#region src/radio-group.tsx
1174
- var Fr = e.forwardRef(({ className: e, ...t }, n) => /* @__PURE__ */ m(L.Root, {
1175
- className: G("web:grid gap-2", e),
1359
+ var Zr = e.forwardRef(({ className: e, ...t }, n) => /* @__PURE__ */ h(z.Root, {
1360
+ className: q("web:grid gap-2", e),
1176
1361
  ...t,
1177
1362
  ref: n
1178
1363
  }));
1179
- Fr.displayName = L.Root?.displayName || "RadioGroup";
1180
- var Ir = e.forwardRef(({ className: e, ...t }, n) => /* @__PURE__ */ m(L.Item, {
1364
+ Zr.displayName = z.Root?.displayName || "RadioGroup";
1365
+ var Qr = e.forwardRef(({ className: e, ...t }, n) => /* @__PURE__ */ h(z.Item, {
1181
1366
  ref: n,
1182
- className: G("native:h-5 native:w-5 border-primary text-primary web:ring-offset-background web:focus:outline-none web:focus-visible:ring-2 web:focus-visible:ring-ring web:focus-visible:ring-offset-2 aspect-square h-4 w-4 rounded-full border", t.disabled && "web:cursor-not-allowed opacity-50", e),
1367
+ className: q("native:h-5 native:w-5 border-primary text-primary web:ring-offset-background web:focus:outline-none web:focus-visible:ring-2 web:focus-visible:ring-ring web:focus-visible:ring-offset-2 aspect-square h-4 w-4 rounded-full border", t.disabled && "web:cursor-not-allowed opacity-50", e),
1183
1368
  ...t,
1184
- children: /* @__PURE__ */ m(L.Indicator, {
1369
+ children: /* @__PURE__ */ h(z.Indicator, {
1185
1370
  className: "flex items-center justify-center",
1186
- children: /* @__PURE__ */ m(C, { className: "h-2.5 w-2.5 fill-current text-current" })
1371
+ children: /* @__PURE__ */ h(E, { className: "h-2.5 w-2.5 fill-current text-current" })
1187
1372
  })
1188
1373
  }));
1189
- Ir.displayName = L.Item?.displayName || "RadioGroupItem";
1374
+ Qr.displayName = z.Item?.displayName || "RadioGroupItem";
1190
1375
  //#endregion
1191
1376
  //#region src/resizable.tsx
1192
- var Lr = ({ children: e, className: t }) => /* @__PURE__ */ m(f, {
1377
+ var $r = ({ children: e, className: t }) => /* @__PURE__ */ h(p, {
1193
1378
  className: t,
1194
1379
  children: e
1195
- }), Rr = ({ children: e, className: t }) => /* @__PURE__ */ m(f, {
1380
+ }), ei = ({ children: e, className: t }) => /* @__PURE__ */ h(p, {
1196
1381
  className: t,
1197
1382
  children: e
1198
- }), zr = ({ className: e }) => /* @__PURE__ */ m(f, { className: e }), Br = e.forwardRef(({ children: e, className: t, ...n }, r) => /* @__PURE__ */ m(s, {
1383
+ }), ti = ({ className: e }) => /* @__PURE__ */ h(p, { className: e }), ni = e.forwardRef(({ children: e, className: t, ...n }, r) => /* @__PURE__ */ h(c, {
1199
1384
  ref: r,
1200
- className: G("flex-1", t),
1201
- showsVerticalScrollIndicator: !1,
1202
- showsHorizontalScrollIndicator: !1,
1385
+ className: q("flex-1", t),
1386
+ showsVerticalScrollIndicator: !0,
1387
+ showsHorizontalScrollIndicator: !0,
1203
1388
  ...n,
1204
- children: /* @__PURE__ */ m(f, { children: e })
1389
+ children: /* @__PURE__ */ h(p, { children: e })
1205
1390
  }));
1206
- Br.displayName = "ScrollArea";
1207
- var Vr = () => null;
1208
- Vr.displayName = "ScrollBar";
1391
+ ni.displayName = "ScrollArea";
1392
+ var ri = () => null;
1393
+ ri.displayName = "ScrollBar";
1209
1394
  //#endregion
1210
1395
  //#region src/search.tsx
1211
- var Hr = () => /* @__PURE__ */ m(f, { children: /* @__PURE__ */ m(l, { children: "Search is not yet implemented for React Native" }) }), Ur = R.Root, Wr = R.Group, Gr = R.Value, Kr = e.forwardRef(({ className: e, children: t, ...n }, r) => /* @__PURE__ */ h(R.Trigger, {
1396
+ function ii({ children: t, open: n, onOpenChange: r }) {
1397
+ let [i, a] = e.useState(!1), o = n !== void 0;
1398
+ return /* @__PURE__ */ h(vn, {
1399
+ open: o ? n : i,
1400
+ onOpenChange: e.useCallback((e) => {
1401
+ o ? r?.(e) : a(e);
1402
+ }, [o, r]),
1403
+ children: t
1404
+ });
1405
+ }
1406
+ var ai = e.forwardRef(({ className: e, placeholder: t, variant: n = "default", responsive: r = !1, ...i }, a) => {
1407
+ let s = t || (n === "compact" ? "Search..." : "Search docs...");
1408
+ return /* @__PURE__ */ g(Y, {
1409
+ variant: "outline",
1410
+ className: q("relative h-12 flex-row justify-start pl-3 text-sm transition-all sm:h-9", n === "default" ? "w-full pr-12" : q("w-12 px-0 sm:w-9 sm:justify-center", r && "md:w-48 md:justify-start md:px-3 md:pr-12"), e),
1411
+ ref: a,
1412
+ ...i,
1413
+ children: [/* @__PURE__ */ g(p, {
1414
+ className: "flex-row items-center gap-2",
1415
+ children: [/* @__PURE__ */ h(oe, {
1416
+ className: "text-muted-foreground shrink-0",
1417
+ size: 18
1418
+ }), /* @__PURE__ */ h(u, {
1419
+ className: q("text-muted-foreground truncate", n === "compact" && (r ? "hidden md:flex" : "hidden")),
1420
+ children: s
1421
+ })]
1422
+ }), /* @__PURE__ */ h(p, {
1423
+ className: q("bg-muted absolute top-2 right-2 hidden h-6 flex-row items-center gap-1 rounded border px-1.5 opacity-100", n === "default" && o.OS !== "android" && o.OS !== "ios" && "sm:flex", n === "compact" && r && o.OS !== "android" && o.OS !== "ios" && "md:flex"),
1424
+ children: /* @__PURE__ */ h(u, {
1425
+ className: "text-muted-foreground font-mono text-[10px] font-medium",
1426
+ children: "⌘K"
1427
+ })
1428
+ })]
1429
+ });
1430
+ });
1431
+ ai.displayName = "SearchTrigger";
1432
+ //#endregion
1433
+ //#region src/select.tsx
1434
+ var oi = B.Root, si = B.Group, ci = B.Value, li = e.forwardRef(({ className: e, children: t, ...n }, r) => /* @__PURE__ */ g(B.Trigger, {
1212
1435
  ref: r,
1213
- className: G("native:h-12 border-input bg-background text-muted-foreground web:ring-offset-background web:focus:outline-none web:focus:ring-2 web:focus:ring-ring web:focus:ring-offset-2 flex h-10 flex-row items-center justify-between rounded-md border px-3 py-2 text-sm [&>span]:line-clamp-1", n.disabled && "web:cursor-not-allowed opacity-50", e),
1436
+ className: q("native:h-12 border-input bg-background text-muted-foreground web:ring-offset-background web:focus:outline-none web:focus:ring-2 web:focus:ring-ring web:focus:ring-offset-2 flex h-10 flex-row items-center justify-between rounded-md border px-3 py-2 text-sm [&>span]:line-clamp-1", n.disabled && "web:cursor-not-allowed opacity-50", e),
1214
1437
  ...n,
1215
- children: [/* @__PURE__ */ m(p, { children: t }), /* @__PURE__ */ m(b, {
1438
+ children: [/* @__PURE__ */ h(m, { children: t }), /* @__PURE__ */ h(w, {
1216
1439
  size: 16,
1217
1440
  "aria-hidden": !0,
1218
1441
  className: "text-foreground opacity-50"
1219
1442
  })]
1220
1443
  }));
1221
- Kr.displayName = R.Trigger?.displayName || "SelectTrigger";
1222
- var qr = e.forwardRef(({ className: e, ...t }, n) => /* @__PURE__ */ m(R.ScrollUpButton, {
1444
+ li.displayName = B.Trigger?.displayName || "SelectTrigger";
1445
+ var ui = e.forwardRef(({ className: e, ...t }, n) => /* @__PURE__ */ h(B.ScrollUpButton, {
1223
1446
  ref: n,
1224
- className: G("flex cursor-default items-center justify-center py-1", e),
1447
+ className: q("flex cursor-default items-center justify-center py-1", e),
1225
1448
  ...t,
1226
- children: /* @__PURE__ */ m(te, {
1449
+ children: /* @__PURE__ */ h(te, {
1227
1450
  size: 14,
1228
1451
  className: "text-foreground"
1229
1452
  })
1230
1453
  }));
1231
- qr.displayName = R.ScrollUpButton?.displayName || "SelectScrollUpButton";
1232
- var Jr = e.forwardRef(({ className: e, ...t }, n) => /* @__PURE__ */ m(R.ScrollDownButton, {
1454
+ ui.displayName = B.ScrollUpButton?.displayName || "SelectScrollUpButton";
1455
+ var di = e.forwardRef(({ className: e, ...t }, n) => /* @__PURE__ */ h(B.ScrollDownButton, {
1233
1456
  ref: n,
1234
- className: G("flex cursor-default items-center justify-center py-1", e),
1457
+ className: q("flex cursor-default items-center justify-center py-1", e),
1235
1458
  ...t,
1236
- children: /* @__PURE__ */ m(b, {
1459
+ children: /* @__PURE__ */ h(w, {
1237
1460
  size: 14,
1238
1461
  className: "text-foreground"
1239
1462
  })
1240
1463
  }));
1241
- Jr.displayName = R.ScrollDownButton?.displayName || "SelectScrollDownButton";
1242
- var Yr = e.forwardRef(({ className: e, children: t, position: n = "popper", portalHost: r, overlayClassName: i, overlayStyle: o, ...s }, l) => {
1243
- let { open: u } = R.useRootContext();
1244
- return /* @__PURE__ */ h(R.Portal, {
1464
+ di.displayName = B.ScrollDownButton?.displayName || "SelectScrollDownButton";
1465
+ var fi = e.forwardRef(({ className: e, children: t, position: n = "popper", portalHost: r, overlayClassName: i, overlayStyle: a, ...s }, c) => {
1466
+ let { open: u } = B.useRootContext();
1467
+ return /* @__PURE__ */ g(B.Portal, {
1245
1468
  hostName: r,
1246
- children: [/* @__PURE__ */ m(R.Overlay, {
1247
- style: a.OS === "web" ? void 0 : c.absoluteFill,
1469
+ children: [/* @__PURE__ */ h(B.Overlay, {
1470
+ style: o.OS === "web" ? void 0 : l.absoluteFill,
1248
1471
  asChild: !0,
1249
- children: /* @__PURE__ */ m(w.View, {
1472
+ children: /* @__PURE__ */ h(D.View, {
1250
1473
  className: i,
1251
- style: o
1474
+ style: a
1252
1475
  })
1253
- }), /* @__PURE__ */ h(R.Content, {
1254
- ref: l,
1255
- className: G("border-border bg-popover data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 relative z-50 max-h-96 min-w-[8rem] rounded-md border shadow-md", n === "popper" && "data-[side=bottom]:translate-y-1 data-[side=left]:-translate-x-1 data-[side=right]:translate-x-1 data-[side=top]:-translate-y-1", u ? "web:zoom-in-95 web:animate-in web:fade-in-0" : "web:zoom-out-95 web:animate-out web:fade-out-0", e),
1476
+ }), /* @__PURE__ */ g(B.Content, {
1477
+ ref: c,
1478
+ className: q("border-border bg-popover data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 relative z-50 max-h-96 min-w-[8rem] rounded-md border shadow-md", n === "popper" && "data-[side=bottom]:translate-y-1 data-[side=left]:-translate-x-1 data-[side=right]:translate-x-1 data-[side=top]:-translate-y-1", u ? "web:zoom-in-95 web:animate-in web:fade-in-0" : "web:zoom-out-95 web:animate-out web:fade-out-0", e),
1256
1479
  position: n,
1257
1480
  ...s,
1258
1481
  children: [
1259
- /* @__PURE__ */ m(qr, {}),
1260
- /* @__PURE__ */ m(R.Viewport, {
1261
- className: G("p-1", n === "popper" && "h-[var(--radix-select-trigger-height)] w-full min-w-[var(--radix-select-trigger-width)]"),
1482
+ /* @__PURE__ */ h(ui, {}),
1483
+ /* @__PURE__ */ h(B.Viewport, {
1484
+ className: q("p-1", n === "popper" && "h-[var(--radix-select-trigger-height)] w-full min-w-[var(--radix-select-trigger-width)]"),
1262
1485
  children: t
1263
1486
  }),
1264
- /* @__PURE__ */ m(Jr, {})
1487
+ /* @__PURE__ */ h(di, {})
1265
1488
  ]
1266
1489
  })]
1267
1490
  });
1268
1491
  });
1269
- Yr.displayName = R.Content?.displayName || "SelectContent";
1270
- var Xr = e.forwardRef(({ className: e, ...t }, n) => /* @__PURE__ */ m(R.Label, {
1492
+ fi.displayName = B.Content?.displayName || "SelectContent";
1493
+ var pi = e.forwardRef(({ className: e, ...t }, n) => /* @__PURE__ */ h(B.Label, {
1271
1494
  ref: n,
1272
- className: G("text-popover-foreground py-1.5 pr-2 pl-8 text-sm font-semibold", e),
1495
+ className: q("text-popover-foreground py-1.5 pr-2 pl-8 text-sm font-semibold", e),
1273
1496
  ...t
1274
1497
  }));
1275
- Xr.displayName = R.Label?.displayName || "SelectLabel";
1276
- var Zr = e.forwardRef(({ className: e, children: t, label: n, ...r }, i) => {
1498
+ pi.displayName = B.Label?.displayName || "SelectLabel";
1499
+ var mi = e.forwardRef(({ className: e, children: t, label: n, ...r }, i) => {
1277
1500
  let a = n || (typeof t == "string" ? t : "");
1278
- return /* @__PURE__ */ h(R.Item, {
1501
+ return /* @__PURE__ */ g(B.Item, {
1279
1502
  ref: i,
1280
1503
  label: a,
1281
- className: G("web:hover:bg-accent/50 web:focus:bg-accent web:focus:text-accent-foreground web:hover:text-accent-foreground relative flex w-full cursor-default flex-row items-center rounded-sm py-1.5 pr-2 pl-8 text-sm outline-none select-none data-[disabled]:opacity-50", r.disabled && "web:pointer-events-none", e),
1504
+ className: q("web:hover:bg-accent/50 web:focus:bg-accent web:focus:text-accent-foreground web:hover:text-accent-foreground relative flex w-full cursor-default flex-row items-center rounded-sm py-1.5 pr-2 pl-8 text-sm outline-none select-none data-[disabled]:opacity-50", r.disabled && "web:pointer-events-none", e),
1282
1505
  ...r,
1283
- children: [/* @__PURE__ */ m(f, {
1506
+ children: [/* @__PURE__ */ h(p, {
1284
1507
  className: "absolute left-2 flex h-3.5 w-3.5 items-center justify-center",
1285
- children: /* @__PURE__ */ m(R.ItemIndicator, { children: /* @__PURE__ */ m(y, {
1508
+ children: /* @__PURE__ */ h(B.ItemIndicator, { children: /* @__PURE__ */ h(C, {
1286
1509
  size: 14,
1287
1510
  strokeWidth: 3,
1288
1511
  className: "text-popover-foreground"
1289
1512
  }) })
1290
- }), /* @__PURE__ */ m(R.ItemText, {
1513
+ }), /* @__PURE__ */ h(B.ItemText, {
1291
1514
  className: "text-popover-foreground native:text-base text-sm",
1292
1515
  children: t
1293
1516
  })]
1294
1517
  });
1295
1518
  });
1296
- Zr.displayName = R.Item?.displayName || "SelectItem";
1297
- var Qr = e.forwardRef(({ className: e, ...t }, n) => /* @__PURE__ */ m(R.Separator, {
1519
+ mi.displayName = B.Item?.displayName || "SelectItem";
1520
+ var hi = e.forwardRef(({ className: e, ...t }, n) => /* @__PURE__ */ h(B.Separator, {
1298
1521
  ref: n,
1299
- className: G("bg-muted -mx-1 my-1 h-px", e),
1522
+ className: q("bg-muted -mx-1 my-1 h-px", e),
1300
1523
  ...t
1301
1524
  }));
1302
- Qr.displayName = R.Separator?.displayName || "SelectSeparator";
1525
+ hi.displayName = B.Separator?.displayName || "SelectSeparator";
1303
1526
  //#endregion
1304
1527
  //#region src/scroll-to-top.tsx
1305
- var $r = e.forwardRef(({ threshold: r = 240, exitDuration: i = 450, behavior: o, label: s = "Scroll to top", className: c, scrollRef: l, animationDuration: u = 300, ...d }, p) => {
1306
- let [h, g] = e.useState(!1), [_, v] = e.useState(!1), y = e.useRef(new n.Value(0)).current, b = e.useRef(new n.Value(20)).current, x = () => {
1528
+ var gi = e.forwardRef(({ threshold: r = 240, exitDuration: i = 450, behavior: a, label: s = "Scroll to top", className: c, scrollRef: l, animationDuration: u = 300, ...d }, f) => {
1529
+ let [m, g] = e.useState(!1), [_, v] = e.useState(!1), y = e.useRef(new n.Value(0)).current, b = e.useRef(new n.Value(20)).current, x = () => {
1307
1530
  n.parallel([n.timing(y, {
1308
1531
  toValue: 1,
1309
1532
  duration: u,
@@ -1313,7 +1536,7 @@ var $r = e.forwardRef(({ threshold: r = 240, exitDuration: i = 450, behavior: o,
1313
1536
  duration: u,
1314
1537
  useNativeDriver: !0
1315
1538
  })]).start();
1316
- }, S = () => {
1539
+ }, C = () => {
1317
1540
  n.parallel([n.timing(y, {
1318
1541
  toValue: 0,
1319
1542
  duration: u,
@@ -1325,32 +1548,32 @@ var $r = e.forwardRef(({ threshold: r = 240, exitDuration: i = 450, behavior: o,
1325
1548
  })]).start(() => {
1326
1549
  _ || g(!1);
1327
1550
  });
1328
- }, te = (e) => {
1551
+ }, w = (e) => {
1329
1552
  let t = e.nativeEvent.contentOffset.y;
1330
1553
  if (_) {
1331
1554
  t <= r && (g(!1), v(!1));
1332
1555
  return;
1333
1556
  }
1334
- t > r && !h ? (g(!0), x()) : t <= r && h && S();
1335
- }, C = () => {
1336
- v(!0), S(), setTimeout(() => {
1557
+ t > r && !m ? (g(!0), x()) : t <= r && m && C();
1558
+ }, ee = () => {
1559
+ v(!0), C(), setTimeout(() => {
1337
1560
  if (l?.current) {
1338
1561
  let e = l.current;
1339
1562
  "scrollToOffset" in e && typeof e.scrollToOffset == "function" ? e.scrollToOffset({
1340
1563
  offset: 0,
1341
- animated: o !== "auto"
1564
+ animated: a !== "auto"
1342
1565
  }) : "scrollTo" in e && typeof e.scrollTo == "function" && e.scrollTo({
1343
1566
  y: 0,
1344
- animated: o !== "auto"
1567
+ animated: a !== "auto"
1345
1568
  });
1346
1569
  }
1347
- (a.OS === "ios" || a.OS === "android") && t.announceForAccessibility("Scrolled to top");
1570
+ (o.OS === "ios" || o.OS === "android") && t.announceForAccessibility("Scrolled to top");
1348
1571
  }, i);
1349
1572
  };
1350
- return e.useImperativeHandle(p, () => ({
1351
- handleScroll: te,
1352
- scrollToTop: C
1353
- })), !h && !_ ? null : /* @__PURE__ */ m(f, {
1573
+ return e.useImperativeHandle(f, () => ({
1574
+ handleScroll: w,
1575
+ scrollToTop: ee
1576
+ })), !m && !_ ? null : /* @__PURE__ */ h(p, {
1354
1577
  pointerEvents: "box-none",
1355
1578
  style: {
1356
1579
  position: "absolute",
@@ -1358,19 +1581,19 @@ var $r = e.forwardRef(({ threshold: r = 240, exitDuration: i = 450, behavior: o,
1358
1581
  right: 24,
1359
1582
  zIndex: 50
1360
1583
  },
1361
- children: /* @__PURE__ */ m(n.View, {
1584
+ children: /* @__PURE__ */ h(n.View, {
1362
1585
  style: {
1363
1586
  opacity: y,
1364
1587
  transform: [{ translateY: b }]
1365
1588
  },
1366
- children: /* @__PURE__ */ m(q, {
1589
+ children: /* @__PURE__ */ h(Y, {
1367
1590
  variant: "outline",
1368
1591
  size: "icon",
1369
- className: G("bg-background/80 h-12 w-12 rounded-full border-2 shadow-lg", c),
1370
- onPress: C,
1592
+ className: q("bg-background/80 h-12 w-12 rounded-full border-2 shadow-lg", c),
1593
+ onPress: ee,
1371
1594
  "aria-label": s,
1372
1595
  ...d,
1373
- children: /* @__PURE__ */ m(ee, {
1596
+ children: /* @__PURE__ */ h(S, {
1374
1597
  size: 24,
1375
1598
  className: "text-foreground"
1376
1599
  })
@@ -1378,24 +1601,24 @@ var $r = e.forwardRef(({ threshold: r = 240, exitDuration: i = 450, behavior: o,
1378
1601
  })
1379
1602
  });
1380
1603
  });
1381
- $r.displayName = "ScrollToTop";
1604
+ gi.displayName = "ScrollToTop";
1382
1605
  //#endregion
1383
1606
  //#region src/support-fab.tsx
1384
- var ei = (e) => {
1607
+ var _i = (e) => {
1385
1608
  let t = e.trim();
1386
1609
  return t.endsWith("/") ? t.slice(0, -1) : t;
1387
- }, ti = (e) => e.trim().replace(/^@+/, ""), ni = (e, t) => `${ei(e)}/${encodeURIComponent(ti(t))}`;
1388
- function ri({ supportUrl: t = "https://www.buymeacoffee.com", creatorId: n, title: i = "Buy me a coffee", description: a = "Support the project directly from this panel.", open: o, defaultOpen: s = !1, onOpenChange: c, positionClassName: l, buttonClassName: u, panelClassName: d, className: g, ..._ }) {
1389
- let v = o !== void 0, [ee, y] = e.useState(s), b = v ? o : ee, x = e.useCallback((e) => {
1390
- v || y(e), c?.(e);
1391
- }, [v, c]), S = e.useMemo(() => ni(t, n), [n, t]), te = e.useCallback(async () => {
1610
+ }, vi = (e) => e.trim().replace(/^@+/, ""), yi = (e, t) => `${_i(e)}/${encodeURIComponent(vi(t))}`;
1611
+ function bi({ supportUrl: t = "https://www.buymeacoffee.com", creatorId: n, title: r = "Buy me a coffee", description: a = "Support the project directly from this panel.", open: o, defaultOpen: s = !1, onOpenChange: c, positionClassName: l, buttonClassName: u, panelClassName: d, className: f, ..._ }) {
1612
+ let v = o !== void 0, [y, b] = e.useState(s), x = v ? o : y, S = e.useCallback((e) => {
1613
+ v || b(e), c?.(e);
1614
+ }, [v, c]), C = e.useMemo(() => yi(t, n), [n, t]), w = e.useCallback(async () => {
1392
1615
  try {
1393
- await r.openURL(S);
1616
+ await i.openURL(C);
1394
1617
  } catch (e) {
1395
1618
  console.warn("Failed to open external link:", e);
1396
1619
  }
1397
- }, [S]);
1398
- return /* @__PURE__ */ h(p, { children: [/* @__PURE__ */ m(f, {
1620
+ }, [C]);
1621
+ return /* @__PURE__ */ g(m, { children: [/* @__PURE__ */ h(p, {
1399
1622
  style: {
1400
1623
  position: "absolute",
1401
1624
  bottom: 24,
@@ -1403,30 +1626,30 @@ function ri({ supportUrl: t = "https://www.buymeacoffee.com", creatorId: n, titl
1403
1626
  zIndex: 50
1404
1627
  },
1405
1628
  className: l,
1406
- children: /* @__PURE__ */ m(q, {
1629
+ children: /* @__PURE__ */ h(Y, {
1407
1630
  variant: "outline",
1408
1631
  size: "icon",
1409
- className: G("h-14 w-14 rounded-full border border-black/15 bg-[#ffdd00] shadow-lg", u, g),
1410
- onPress: () => x(!0),
1632
+ className: q("h-14 w-14 rounded-full border border-black/15 bg-[#ffdd00] shadow-lg", u, f),
1633
+ onPress: () => S(!0),
1411
1634
  "aria-label": "Support this project",
1412
1635
  ..._,
1413
- children: /* @__PURE__ */ m(ne, {
1636
+ children: /* @__PURE__ */ h(ne, {
1414
1637
  size: 24,
1415
1638
  className: "text-black"
1416
1639
  })
1417
1640
  })
1418
- }), /* @__PURE__ */ m(dn, {
1419
- open: b,
1420
- onOpenChange: x,
1421
- children: /* @__PURE__ */ h(gn, {
1422
- className: G("max-w-sm", d),
1423
- children: [/* @__PURE__ */ h(_n, { children: [/* @__PURE__ */ m(yn, { children: i }), /* @__PURE__ */ m(bn, { children: a })] }), /* @__PURE__ */ h(f, {
1641
+ }), /* @__PURE__ */ h(vn, {
1642
+ open: x,
1643
+ onOpenChange: S,
1644
+ children: /* @__PURE__ */ g(Cn, {
1645
+ className: q("max-w-sm", d),
1646
+ children: [/* @__PURE__ */ g(wn, { children: [/* @__PURE__ */ h(En, { children: r }), /* @__PURE__ */ h(Dn, { children: a })] }), /* @__PURE__ */ g(p, {
1424
1647
  className: "flex flex-col gap-4",
1425
- children: [/* @__PURE__ */ m(f, {
1648
+ children: [/* @__PURE__ */ h(p, {
1426
1649
  className: "overflow-hidden rounded-md border",
1427
- children: /* @__PURE__ */ m(f, {
1650
+ children: /* @__PURE__ */ h(p, {
1428
1651
  className: "bg-muted flex h-48 items-center justify-center",
1429
- children: /* @__PURE__ */ h(J, {
1652
+ children: /* @__PURE__ */ g(X, {
1430
1653
  className: "text-muted-foreground text-center text-sm",
1431
1654
  children: [
1432
1655
  "Embedded support form would appear here on web.",
@@ -1435,20 +1658,20 @@ function ri({ supportUrl: t = "https://www.buymeacoffee.com", creatorId: n, titl
1435
1658
  ]
1436
1659
  })
1437
1660
  })
1438
- }), /* @__PURE__ */ h(f, {
1661
+ }), /* @__PURE__ */ g(p, {
1439
1662
  className: "text-muted-foreground flex items-center justify-between gap-2 text-xs",
1440
- children: [/* @__PURE__ */ m(J, {
1663
+ children: [/* @__PURE__ */ h(X, {
1441
1664
  className: "text-muted-foreground flex-1 text-xs",
1442
1665
  children: "If the embedded checkout is unavailable, open the support page directly."
1443
- }), /* @__PURE__ */ h(q, {
1666
+ }), /* @__PURE__ */ g(Y, {
1444
1667
  variant: "outline",
1445
1668
  size: "sm",
1446
- onPress: te,
1669
+ onPress: w,
1447
1670
  className: "flex flex-row items-center gap-1",
1448
- children: [/* @__PURE__ */ m(J, {
1671
+ children: [/* @__PURE__ */ h(X, {
1449
1672
  className: "text-xs",
1450
1673
  children: "Open Buy Me a Coffee"
1451
- }), /* @__PURE__ */ m(re, {
1674
+ }), /* @__PURE__ */ h(re, {
1452
1675
  size: 12,
1453
1676
  className: "text-muted-foreground"
1454
1677
  })]
@@ -1460,47 +1683,47 @@ function ri({ supportUrl: t = "https://www.buymeacoffee.com", creatorId: n, titl
1460
1683
  }
1461
1684
  //#endregion
1462
1685
  //#region src/separator.tsx
1463
- var ii = e.forwardRef(({ className: e, orientation: t = "horizontal", decorative: n = !0, ...r }, i) => /* @__PURE__ */ m(Oe.Root, {
1686
+ var xi = e.forwardRef(({ className: e, orientation: t = "horizontal", decorative: n = !0, ...r }, i) => /* @__PURE__ */ h(Ne.Root, {
1464
1687
  ref: i,
1465
1688
  decorative: n,
1466
1689
  orientation: t,
1467
- className: G("bg-border shrink-0", t === "horizontal" ? "h-[1px] w-full" : "h-full w-[1px]", e),
1690
+ className: q("bg-border shrink-0", t === "horizontal" ? "h-[1px] w-full" : "h-full w-[1px]", e),
1468
1691
  ...r
1469
1692
  }));
1470
- ii.displayName = Oe.Root?.displayName || "Separator";
1693
+ xi.displayName = Ne.Root?.displayName || "Separator";
1471
1694
  //#endregion
1472
1695
  //#region src/sheet.tsx
1473
- var ai = M.Root, oi = M.Trigger, si = M.Close, ci = M.Portal, li = e.forwardRef(({ className: e, ...t }, n) => /* @__PURE__ */ m(M.Overlay, {
1474
- style: a.OS === "web" ? void 0 : c.absoluteFill,
1696
+ var Si = P.Root, Ci = P.Trigger, wi = P.Close, Ti = P.Portal, Ei = e.forwardRef(({ className: e, ...t }, n) => /* @__PURE__ */ h(P.Overlay, {
1697
+ style: o.OS === "web" ? void 0 : l.absoluteFill,
1475
1698
  asChild: !0,
1476
1699
  ref: n,
1477
1700
  ...t,
1478
- children: /* @__PURE__ */ m(w.View, {
1479
- entering: T.duration(150),
1480
- exiting: E.duration(150),
1481
- className: G("web:cursor-default absolute inset-0 z-50 bg-black/80", e)
1701
+ children: /* @__PURE__ */ h(D.View, {
1702
+ entering: O.duration(150),
1703
+ exiting: k.duration(150),
1704
+ className: q("web:cursor-default absolute inset-0 z-50 bg-black/80", e)
1482
1705
  })
1483
1706
  }));
1484
- li.displayName = M.Overlay?.displayName || "SheetOverlay";
1485
- var ui = e.forwardRef(({ className: e, children: t, side: n = "right", overlayClassName: r, overlayStyle: i, ...o }, s) => {
1486
- let c = a.OS === "web", l = c ? void 0 : me, u = c ? void 0 : ge;
1487
- return /* @__PURE__ */ h(ci, { children: [/* @__PURE__ */ m(li, {
1707
+ Ei.displayName = P.Overlay?.displayName || "SheetOverlay";
1708
+ var Di = e.forwardRef(({ className: e, children: t, side: n = "right", overlayClassName: r, overlayStyle: i, ...a }, s) => {
1709
+ let c = o.OS === "web", l = c ? void 0 : he, u = c ? void 0 : _e;
1710
+ return /* @__PURE__ */ g(Ti, { children: [/* @__PURE__ */ h(Ei, {
1488
1711
  className: r,
1489
1712
  style: i
1490
- }), /* @__PURE__ */ m(M.Content, {
1713
+ }), /* @__PURE__ */ h(P.Content, {
1491
1714
  ref: s,
1492
1715
  asChild: !0,
1493
- ...o,
1494
- children: /* @__PURE__ */ h(w.View, {
1716
+ ...a,
1717
+ children: /* @__PURE__ */ g(D.View, {
1495
1718
  entering: l,
1496
1719
  exiting: u,
1497
- className: G("bg-background web:cursor-default web:duration-200 web:ease-in-out absolute z-50 h-full w-3/4 gap-4 p-6 shadow-lg", n === "right" && "border-border data-[state=closed]:slide-out-to-right data-[state=open]:slide-in-from-right top-0 right-0 border-l", n === "left" && "border-border data-[state=closed]:slide-out-to-left data-[state=open]:slide-in-from-left top-0 left-0 border-r", n === "top" && "border-border data-[state=closed]:slide-out-to-top data-[state=open]:slide-in-from-top top-0 w-full border-b", n === "bottom" && "border-border data-[state=closed]:slide-out-to-bottom data-[state=open]:slide-in-from-bottom bottom-0 w-full border-t", e),
1498
- children: [t, /* @__PURE__ */ h(M.Close, {
1499
- className: G("ring-offset-background focus:ring-ring data-[state=open]:bg-secondary absolute top-4 right-4 rounded-sm opacity-70 transition-opacity hover:opacity-100 focus:ring-2 focus:ring-offset-2 focus:outline-none disabled:pointer-events-none", "web:absolute web:right-4 web:top-4"),
1500
- children: [/* @__PURE__ */ m(ce, {
1720
+ className: q("bg-background web:cursor-default web:duration-200 web:ease-in-out absolute z-50 h-full w-3/4 gap-4 p-6 shadow-lg", n === "right" && "border-border data-[state=closed]:slide-out-to-right data-[state=open]:slide-in-from-right top-0 right-0 border-l", n === "left" && "border-border data-[state=closed]:slide-out-to-left data-[state=open]:slide-in-from-left top-0 left-0 border-r", n === "top" && "border-border data-[state=closed]:slide-out-to-top data-[state=open]:slide-in-from-top top-0 w-full border-b", n === "bottom" && "border-border data-[state=closed]:slide-out-to-bottom data-[state=open]:slide-in-from-bottom bottom-0 w-full border-t", e),
1721
+ children: [t, /* @__PURE__ */ g(P.Close, {
1722
+ className: q("ring-offset-background focus:ring-ring data-[state=open]:bg-secondary absolute top-4 right-4 rounded-sm opacity-70 transition-opacity hover:opacity-100 focus:ring-2 focus:ring-offset-2 focus:outline-none disabled:pointer-events-none", "web:absolute web:right-4 web:top-4"),
1723
+ children: [/* @__PURE__ */ h(le, {
1501
1724
  size: 24,
1502
1725
  className: "text-muted-foreground"
1503
- }), /* @__PURE__ */ m(J, {
1726
+ }), /* @__PURE__ */ h(X, {
1504
1727
  className: "sr-only",
1505
1728
  children: "Close"
1506
1729
  })]
@@ -1508,48 +1731,48 @@ var ui = e.forwardRef(({ className: e, children: t, side: n = "right", overlayCl
1508
1731
  })
1509
1732
  })] });
1510
1733
  });
1511
- ui.displayName = M.Content?.displayName || "SheetContent";
1512
- var di = ({ className: e, ...t }) => /* @__PURE__ */ m(f, {
1513
- className: G("flex flex-col space-y-2 text-center sm:text-left", e),
1734
+ Di.displayName = P.Content?.displayName || "SheetContent";
1735
+ var Oi = ({ className: e, ...t }) => /* @__PURE__ */ h(p, {
1736
+ className: q("flex flex-col space-y-2 text-center sm:text-left", e),
1514
1737
  ...t
1515
1738
  });
1516
- di.displayName = "SheetHeader";
1517
- var fi = ({ className: e, ...t }) => /* @__PURE__ */ m(f, {
1518
- className: G("flex flex-col-reverse sm:flex-row sm:justify-end sm:space-x-2", e),
1739
+ Oi.displayName = "SheetHeader";
1740
+ var ki = ({ className: e, ...t }) => /* @__PURE__ */ h(p, {
1741
+ className: q("flex flex-col-reverse sm:flex-row sm:justify-end sm:space-x-2", e),
1519
1742
  ...t
1520
1743
  });
1521
- fi.displayName = "SheetFooter";
1522
- var pi = e.forwardRef(({ className: e, ...t }, n) => /* @__PURE__ */ m(M.Title, {
1744
+ ki.displayName = "SheetFooter";
1745
+ var Ai = e.forwardRef(({ className: e, ...t }, n) => /* @__PURE__ */ h(P.Title, {
1523
1746
  ref: n,
1524
- className: G("text-foreground text-lg font-semibold", e),
1747
+ className: q("text-foreground text-lg font-semibold", e),
1525
1748
  ...t
1526
1749
  }));
1527
- pi.displayName = M.Title?.displayName || "SheetTitle";
1528
- var mi = e.forwardRef(({ className: e, ...t }, n) => /* @__PURE__ */ m(M.Description, {
1750
+ Ai.displayName = P.Title?.displayName || "SheetTitle";
1751
+ var ji = e.forwardRef(({ className: e, ...t }, n) => /* @__PURE__ */ h(P.Description, {
1529
1752
  ref: n,
1530
- className: G("text-muted-foreground text-sm", e),
1753
+ className: q("text-muted-foreground text-sm", e),
1531
1754
  ...t
1532
1755
  }));
1533
- mi.displayName = M.Description?.displayName || "SheetDescription";
1756
+ ji.displayName = P.Description?.displayName || "SheetDescription";
1534
1757
  //#endregion
1535
1758
  //#region src/skeleton.tsx
1536
- function hi({ className: t, ...n }) {
1537
- let r = be(.5);
1759
+ function Mi({ className: t, ...n }) {
1760
+ let r = xe(.5);
1538
1761
  e.useEffect(() => {
1539
- r.value = xe(Se(D(.2, { duration: 500 }), D(.5, { duration: 500 })), -1, !0);
1762
+ r.value = Se(Ce(we(.2, { duration: 500 }), we(.5, { duration: 500 })), -1, !0);
1540
1763
  }, []);
1541
- let i = ve(() => ({ opacity: r.value }));
1542
- return /* @__PURE__ */ m(w.View, {
1543
- className: G("bg-muted rounded-md", t),
1764
+ let i = ye(() => ({ opacity: r.value }));
1765
+ return /* @__PURE__ */ h(D.View, {
1766
+ className: q("bg-muted rounded-md", t),
1544
1767
  style: i,
1545
1768
  ...n
1546
1769
  });
1547
1770
  }
1548
1771
  //#endregion
1549
1772
  //#region src/slider.tsx
1550
- var gi = ({ className: e, value: t, onValueChange: n, defaultValue: r, min: i = 0, max: a = 100, step: o = 1, disabled: s = !1, ...c }) => {
1773
+ var Ni = ({ className: e, value: t, onValueChange: n, defaultValue: r, min: i = 0, max: a = 100, step: o = 1, disabled: s = !1, ...c }) => {
1551
1774
  let l = t === void 0 ? i : t[0];
1552
- return /* @__PURE__ */ h(z.Root, {
1775
+ return /* @__PURE__ */ g(V.Root, {
1553
1776
  value: l,
1554
1777
  onValueChange: (e) => {
1555
1778
  n && n(Array.isArray(e) ? e : [e]);
@@ -1558,126 +1781,169 @@ var gi = ({ className: e, value: t, onValueChange: n, defaultValue: r, min: i =
1558
1781
  max: a,
1559
1782
  step: o,
1560
1783
  disabled: s,
1561
- className: G("relative flex w-full touch-none items-center select-none", s && "opacity-50", e),
1784
+ className: q("relative flex w-full touch-none items-center select-none", s && "opacity-50", e),
1562
1785
  ...c,
1563
- children: [/* @__PURE__ */ m(z.Track, {
1786
+ children: [/* @__PURE__ */ h(V.Track, {
1564
1787
  className: "bg-secondary relative h-2 w-full grow rounded-full",
1565
- children: /* @__PURE__ */ m(z.Range, { className: "bg-primary absolute h-full rounded-full" })
1566
- }), /* @__PURE__ */ m(z.Thumb, { className: "border-primary bg-background focus-visible:ring-ring block h-5 w-5 rounded-full border-2 focus-visible:ring-2 focus-visible:ring-offset-2 focus-visible:outline-none" })]
1788
+ children: /* @__PURE__ */ h(V.Range, { className: "bg-primary absolute h-full rounded-full" })
1789
+ }), /* @__PURE__ */ h(V.Thumb, { className: "border-primary bg-background focus-visible:ring-ring block h-5 w-5 rounded-full border-2 focus-visible:ring-2 focus-visible:ring-offset-2 focus-visible:outline-none" })]
1567
1790
  });
1568
1791
  };
1569
- gi.displayName = "Slider";
1792
+ Ni.displayName = "Slider";
1793
+ //#endregion
1794
+ //#region src/toast.tsx
1795
+ var Pi = ({ children: e }) => /* @__PURE__ */ h(m, { children: e }), Fi = () => null, Ii = e.forwardRef(({ className: e, variant: t = "default", ...n }, r) => /* @__PURE__ */ h(H.Root, {
1796
+ ref: r,
1797
+ className: q("group pointer-events-auto relative flex w-full items-center justify-between space-x-2 overflow-hidden rounded-md border p-4 pr-6 shadow-lg", t === "default" ? "border-border bg-background" : "border-destructive bg-destructive", e),
1798
+ ...n,
1799
+ children: /* @__PURE__ */ h(D.View, {
1800
+ entering: de,
1801
+ exiting: fe,
1802
+ layout: pe,
1803
+ className: "w-full flex-row items-center",
1804
+ children: n.children
1805
+ })
1806
+ }));
1807
+ Ii.displayName = H.Root?.displayName || "Toast";
1808
+ var Li = e.forwardRef(({ className: e, ...t }, n) => /* @__PURE__ */ h(H.Title, {
1809
+ ref: n,
1810
+ className: q("text-foreground text-sm font-semibold", e),
1811
+ ...t
1812
+ }));
1813
+ Li.displayName = H.Title?.displayName || "ToastTitle";
1814
+ var Ri = e.forwardRef(({ className: e, ...t }, n) => /* @__PURE__ */ h(H.Description, {
1815
+ ref: n,
1816
+ className: q("text-muted-foreground text-sm opacity-90", e),
1817
+ ...t
1818
+ }));
1819
+ Ri.displayName = H.Description?.displayName || "ToastDescription";
1820
+ var zi = e.forwardRef(({ className: e, ...t }, n) => /* @__PURE__ */ h(H.Close, {
1821
+ ref: n,
1822
+ className: q("text-foreground/50 hover:text-foreground absolute top-1 right-1 rounded-md p-1 opacity-0 transition-opacity group-hover:opacity-100 focus:opacity-100 focus:ring-1 focus:outline-none", e),
1823
+ ...t,
1824
+ children: /* @__PURE__ */ h(le, {
1825
+ size: 16,
1826
+ className: "text-muted-foreground"
1827
+ })
1828
+ }));
1829
+ zi.displayName = H.Close?.displayName || "ToastClose";
1830
+ var Bi = e.forwardRef(({ className: e, ...t }, n) => /* @__PURE__ */ h(H.Action, {
1831
+ ref: n,
1832
+ className: q("hover:bg-secondary focus:ring-ring inline-flex h-8 shrink-0 items-center justify-center rounded-md border bg-transparent px-3 text-sm font-medium transition-colors focus:ring-1 focus:outline-none disabled:pointer-events-none disabled:opacity-50", e),
1833
+ ...t
1834
+ }));
1835
+ Bi.displayName = H.Action?.displayName || "ToastAction";
1570
1836
  //#endregion
1571
1837
  //#region src/sonner.tsx
1572
- var _i = ({ className: e }) => /* @__PURE__ */ m(f, { className: e }), vi = e.forwardRef(({ className: e, checked: t, onCheckedChange: n, ...r }, i) => /* @__PURE__ */ m(ke.Root, {
1573
- className: G("peer focus-visible:ring-ring focus-visible:ring-offset-background data-[state=checked]:bg-primary data-[state=unchecked]:bg-input inline-flex h-6 w-11 shrink-0 cursor-pointer flex-row items-center rounded-full border-2 border-transparent transition-colors focus-visible:ring-2 focus-visible:ring-offset-2 focus-visible:outline-none disabled:cursor-not-allowed disabled:opacity-50", e),
1838
+ var Vi = () => /* @__PURE__ */ h(Pi, { children: /* @__PURE__ */ h(Fi, {}) }), Hi = e.forwardRef(({ className: e, checked: t, onCheckedChange: n, ...r }, i) => /* @__PURE__ */ h(Pe.Root, {
1839
+ className: q("peer focus-visible:ring-ring focus-visible:ring-offset-background data-[state=checked]:bg-primary data-[state=unchecked]:bg-input inline-flex h-6 w-11 shrink-0 cursor-pointer flex-row items-center rounded-full border-2 border-transparent transition-colors focus-visible:ring-2 focus-visible:ring-offset-2 focus-visible:outline-none disabled:cursor-not-allowed disabled:opacity-50", e),
1574
1840
  ...r,
1575
1841
  checked: t ?? !1,
1576
1842
  onCheckedChange: n || (() => {}),
1577
1843
  ref: i,
1578
- children: /* @__PURE__ */ m(ke.Thumb, { className: G("bg-background pointer-events-none block h-5 w-5 rounded-full shadow-lg ring-0 transition-transform data-[state=checked]:translate-x-5 data-[state=unchecked]:translate-x-0") })
1844
+ children: /* @__PURE__ */ h(Pe.Thumb, { className: q("bg-background pointer-events-none block h-5 w-5 rounded-full shadow-lg ring-0 transition-transform data-[state=checked]:translate-x-5 data-[state=unchecked]:translate-x-0") })
1579
1845
  }));
1580
- vi.displayName = ke.Root?.displayName || "Switch";
1846
+ Hi.displayName = Pe.Root?.displayName || "Switch";
1581
1847
  //#endregion
1582
1848
  //#region src/table.tsx
1583
- var yi = e.forwardRef(({ className: e, ...t }, n) => /* @__PURE__ */ m(f, {
1849
+ var Ui = e.forwardRef(({ className: e, ...t }, n) => /* @__PURE__ */ h(p, {
1584
1850
  ref: n,
1585
- className: G("w-full caption-bottom text-sm", e),
1851
+ className: q("w-full caption-bottom text-sm", e),
1586
1852
  ...t
1587
1853
  }));
1588
- yi.displayName = "Table";
1589
- var bi = e.forwardRef(({ className: e, ...t }, n) => /* @__PURE__ */ m(f, {
1854
+ Ui.displayName = "Table";
1855
+ var Wi = e.forwardRef(({ className: e, ...t }, n) => /* @__PURE__ */ h(p, {
1590
1856
  ref: n,
1591
- className: G("border-border border-b", e),
1857
+ className: q("border-border border-b", e),
1592
1858
  ...t
1593
1859
  }));
1594
- bi.displayName = "TableHeader";
1595
- var xi = e.forwardRef(({ className: e, ...t }, n) => /* @__PURE__ */ m(f, {
1860
+ Wi.displayName = "TableHeader";
1861
+ var Gi = e.forwardRef(({ className: e, ...t }, n) => /* @__PURE__ */ h(p, {
1596
1862
  ref: n,
1597
- className: G("flex-1", e),
1863
+ className: q("flex-1", e),
1598
1864
  ...t
1599
1865
  }));
1600
- xi.displayName = "TableBody";
1601
- var Si = e.forwardRef(({ className: e, ...t }, n) => /* @__PURE__ */ m(f, {
1866
+ Gi.displayName = "TableBody";
1867
+ var Ki = e.forwardRef(({ className: e, ...t }, n) => /* @__PURE__ */ h(p, {
1602
1868
  ref: n,
1603
- className: G("bg-muted/50 font-medium [&>tr]:last:border-b-0", e),
1869
+ className: q("bg-muted/50 font-medium [&>tr]:last:border-b-0", e),
1604
1870
  ...t
1605
1871
  }));
1606
- Si.displayName = "TableFooter";
1607
- var Ci = e.forwardRef(({ className: e, ...t }, n) => /* @__PURE__ */ m(f, {
1872
+ Ki.displayName = "TableFooter";
1873
+ var qi = e.forwardRef(({ className: e, ...t }, n) => /* @__PURE__ */ h(p, {
1608
1874
  ref: n,
1609
- className: G("border-border hover:bg-muted/50 data-[state=selected]:bg-muted flex-row border-b transition-colors", e),
1875
+ className: q("border-border hover:bg-muted/50 data-[state=selected]:bg-muted flex-row border-b transition-colors", e),
1610
1876
  ...t
1611
1877
  }));
1612
- Ci.displayName = "TableRow";
1613
- var wi = e.forwardRef(({ className: e, ...t }, n) => /* @__PURE__ */ m(J, {
1878
+ qi.displayName = "TableRow";
1879
+ var Ji = e.forwardRef(({ className: e, ...t }, n) => /* @__PURE__ */ h(X, {
1614
1880
  ref: n,
1615
- className: G("text-muted-foreground h-12 px-4 text-left align-middle font-medium [&:has([role=checkbox])]:pr-0", e),
1881
+ className: q("text-muted-foreground h-12 px-4 text-left align-middle font-medium [&:has([role=checkbox])]:pr-0", e),
1616
1882
  ...t
1617
1883
  }));
1618
- wi.displayName = "TableHead";
1619
- var Ti = e.forwardRef(({ className: e, ...t }, n) => /* @__PURE__ */ m(J, {
1884
+ Ji.displayName = "TableHead";
1885
+ var Yi = e.forwardRef(({ className: e, ...t }, n) => /* @__PURE__ */ h(X, {
1620
1886
  ref: n,
1621
- className: G("p-4 align-middle [&:has([role=checkbox])]:pr-0", e),
1887
+ className: q("p-4 align-middle [&:has([role=checkbox])]:pr-0", e),
1622
1888
  ...t
1623
1889
  }));
1624
- Ti.displayName = "TableCell";
1625
- var Ei = e.forwardRef(({ className: e, ...t }, n) => /* @__PURE__ */ m(J, {
1890
+ Yi.displayName = "TableCell";
1891
+ var Xi = e.forwardRef(({ className: e, ...t }, n) => /* @__PURE__ */ h(X, {
1626
1892
  ref: n,
1627
- className: G("text-muted-foreground mt-4 text-sm", e),
1893
+ className: q("text-muted-foreground mt-4 text-sm", e),
1628
1894
  ...t
1629
1895
  }));
1630
- Ei.displayName = "TableCaption";
1896
+ Xi.displayName = "TableCaption";
1631
1897
  //#endregion
1632
1898
  //#region src/tabs.tsx
1633
- var Di = e.forwardRef((e, t) => /* @__PURE__ */ m(B.Root, {
1899
+ var Zi = e.forwardRef((e, t) => /* @__PURE__ */ h(U.Root, {
1634
1900
  ref: t,
1635
1901
  ...e
1636
1902
  }));
1637
- Di.displayName = "Tabs";
1638
- var Oi = e.forwardRef(({ className: e, ...t }, n) => /* @__PURE__ */ m(B.List, {
1903
+ Zi.displayName = "Tabs";
1904
+ var Qi = e.forwardRef(({ className: e, ...t }, n) => /* @__PURE__ */ h(U.List, {
1639
1905
  ref: n,
1640
- className: G("bg-muted text-muted-foreground inline-flex h-10 flex-row items-center justify-center rounded-md p-1", e),
1906
+ className: q("bg-muted text-muted-foreground inline-flex h-10 flex-row items-center justify-center rounded-md p-1", e),
1641
1907
  ...t
1642
1908
  }));
1643
- Oi.displayName = B.List?.displayName || "TabsList";
1644
- var ki = e.forwardRef(({ className: e, ...t }, n) => {
1645
- let { value: r } = B.useRootContext();
1646
- return /* @__PURE__ */ m(ct.Provider, {
1647
- value: G("text-sm native:text-base font-medium text-muted-foreground web:transition-all", r === t.value && "text-foreground"),
1648
- children: /* @__PURE__ */ m(B.Trigger, {
1909
+ Qi.displayName = U.List?.displayName || "TabsList";
1910
+ var $i = e.forwardRef(({ className: e, ...t }, n) => {
1911
+ let { value: r } = U.useRootContext();
1912
+ return /* @__PURE__ */ h(mt.Provider, {
1913
+ value: q("text-sm native:text-base font-medium text-muted-foreground web:transition-all", r === t.value && "text-foreground"),
1914
+ children: /* @__PURE__ */ h(U.Trigger, {
1649
1915
  ref: n,
1650
- className: G("ring-offset-background focus-visible:ring-ring inline-flex items-center justify-center rounded-sm px-3 py-1.5 text-sm font-medium whitespace-nowrap transition-all focus-visible:ring-2 focus-visible:ring-offset-2 focus-visible:outline-none disabled:pointer-events-none disabled:opacity-50", t.disabled && "opacity-50", r === t.value && "bg-background shadow-foreground/10 shadow-sm", e),
1916
+ className: q("ring-offset-background focus-visible:ring-ring inline-flex items-center justify-center rounded-sm px-3 py-1.5 text-sm font-medium whitespace-nowrap transition-all focus-visible:ring-2 focus-visible:ring-offset-2 focus-visible:outline-none disabled:pointer-events-none disabled:opacity-50", t.disabled && "opacity-50", r === t.value && "bg-background shadow-foreground/10 shadow-sm", e),
1651
1917
  ...t
1652
1918
  })
1653
1919
  });
1654
1920
  });
1655
- ki.displayName = B.Trigger?.displayName || "TabsTrigger";
1656
- var Ai = e.forwardRef(({ className: e, ...t }, n) => /* @__PURE__ */ m(B.Content, {
1921
+ $i.displayName = U.Trigger?.displayName || "TabsTrigger";
1922
+ var ea = e.forwardRef(({ className: e, ...t }, n) => /* @__PURE__ */ h(U.Content, {
1657
1923
  ref: n,
1658
- className: G("ring-offset-background focus-visible:ring-ring mt-2 focus-visible:ring-2 focus-visible:ring-offset-2 focus-visible:outline-none", e),
1924
+ className: q("ring-offset-background focus-visible:ring-ring mt-2 focus-visible:ring-2 focus-visible:ring-offset-2 focus-visible:outline-none", e),
1659
1925
  ...t
1660
1926
  }));
1661
- Ai.displayName = B.Content?.displayName || "TabsContent";
1927
+ ea.displayName = U.Content?.displayName || "TabsContent";
1662
1928
  //#endregion
1663
1929
  //#region src/textarea.tsx
1664
- var ji = e.forwardRef(({ className: e, placeholderClassName: t, ...n }, r) => /* @__PURE__ */ m(u, {
1930
+ var ta = e.forwardRef(({ className: e, placeholderClassName: t, ...n }, r) => /* @__PURE__ */ h(d, {
1665
1931
  ref: r,
1666
1932
  multiline: !0,
1667
1933
  numberOfLines: n.numberOfLines || 3,
1668
- className: G("border-input bg-background text-foreground placeholder:text-muted-foreground focus:border-ring flex min-h-[80px] w-full rounded-md border px-3 py-2 text-base shadow-sm transition-colors disabled:opacity-50", e),
1669
- placeholderClassName: G("text-muted-foreground", t),
1934
+ className: q("border-input bg-background text-foreground placeholder:text-muted-foreground focus:border-ring flex min-h-[80px] w-full rounded-md border px-3 py-2 text-base shadow-sm transition-colors disabled:opacity-50", e),
1935
+ placeholderClassName: q("text-muted-foreground", t),
1670
1936
  textAlignVertical: "top",
1671
1937
  ...n
1672
1938
  }));
1673
- ji.displayName = "Textarea";
1939
+ ta.displayName = "Textarea";
1674
1940
  //#endregion
1675
1941
  //#region src/toggle.tsx
1676
- var Mi = e.forwardRef(({ className: e, variant: t, size: n, ...r }, i) => /* @__PURE__ */ m(ct.Provider, {
1677
- value: G("text-sm native:text-base text-foreground font-medium", r.pressed && "text-accent-foreground", e),
1678
- children: /* @__PURE__ */ m(je.Root, {
1942
+ var na = e.forwardRef(({ className: e, variant: t, size: n, ...r }, i) => /* @__PURE__ */ h(mt.Provider, {
1943
+ value: q("text-sm native:text-base text-foreground font-medium", r.pressed && "text-accent-foreground", e),
1944
+ children: /* @__PURE__ */ h(Ie.Root, {
1679
1945
  ref: i,
1680
- className: G(Ae({
1946
+ className: q(Fe({
1681
1947
  variant: t,
1682
1948
  size: n,
1683
1949
  className: e
@@ -1687,20 +1953,20 @@ var Mi = e.forwardRef(({ className: e, variant: t, size: n, ...r }, i) => /* @__
1687
1953
  onPressedChange: r.onPressedChange || (() => {})
1688
1954
  })
1689
1955
  }));
1690
- Mi.displayName = je.Root?.displayName || "Toggle";
1956
+ na.displayName = Ie.Root?.displayName || "Toggle";
1691
1957
  //#endregion
1692
1958
  //#region src/toggle-group.tsx
1693
- var Ni = e.createContext({
1959
+ var ra = e.createContext({
1694
1960
  size: "default",
1695
1961
  variant: "default"
1696
- }), Pi = e.forwardRef(({ className: e, variant: t, size: n, children: r, type: i, value: a, onValueChange: o, ...s }, c) => /* @__PURE__ */ m(V.Root, {
1962
+ }), ia = e.forwardRef(({ className: e, variant: t, size: n, children: r, type: i, value: a, onValueChange: o, ...s }, c) => /* @__PURE__ */ h(W.Root, {
1697
1963
  ref: c,
1698
1964
  type: i,
1699
1965
  value: a,
1700
1966
  onValueChange: o,
1701
- className: G("flex flex-row items-center justify-center gap-1", e),
1967
+ className: q("flex flex-row items-center justify-center gap-1", e),
1702
1968
  ...s,
1703
- children: /* @__PURE__ */ m(Ni.Provider, {
1969
+ children: /* @__PURE__ */ h(ra.Provider, {
1704
1970
  value: {
1705
1971
  variant: t,
1706
1972
  size: n
@@ -1708,15 +1974,15 @@ var Ni = e.createContext({
1708
1974
  children: r
1709
1975
  })
1710
1976
  }));
1711
- Pi.displayName = V.Root?.displayName || "ToggleGroup";
1712
- var Fi = e.forwardRef(({ className: t, children: n, variant: r, size: i, value: a, ...o }, s) => {
1713
- let c = e.useContext(Ni);
1714
- return /* @__PURE__ */ m(ct.Provider, {
1715
- value: G("text-sm native:text-base text-foreground font-medium", o.disabled && "web:cursor-not-allowed opacity-50", a === "" && "text-accent-foreground", t),
1716
- children: /* @__PURE__ */ m(V.Item, {
1977
+ ia.displayName = W.Root?.displayName || "ToggleGroup";
1978
+ var aa = e.forwardRef(({ className: t, children: n, variant: r, size: i, value: a, ...o }, s) => {
1979
+ let c = e.useContext(ra);
1980
+ return /* @__PURE__ */ h(mt.Provider, {
1981
+ value: q("text-sm native:text-base text-foreground font-medium", o.disabled && "web:cursor-not-allowed opacity-50", a === "" && "text-accent-foreground", t),
1982
+ children: /* @__PURE__ */ h(W.Item, {
1717
1983
  ref: s,
1718
1984
  value: a,
1719
- className: G(Ae({
1985
+ className: q(Fe({
1720
1986
  variant: c.variant || r,
1721
1987
  size: c.size || i
1722
1988
  }), t),
@@ -1725,60 +1991,60 @@ var Fi = e.forwardRef(({ className: t, children: n, variant: r, size: i, value:
1725
1991
  })
1726
1992
  });
1727
1993
  });
1728
- Fi.displayName = V.Item?.displayName || "ToggleGroupItem";
1994
+ aa.displayName = W.Item?.displayName || "ToggleGroupItem";
1729
1995
  //#endregion
1730
1996
  //#region src/tooltip.tsx
1731
- var Ii = H.Root, Li = H.Trigger, Ri = e.forwardRef(({ className: e, portalHost: t, ...n }, r) => /* @__PURE__ */ m(H.Portal, {
1997
+ var oa = G.Root, sa = G.Trigger, ca = e.forwardRef(({ className: e, portalHost: t, ...n }, r) => /* @__PURE__ */ h(G.Portal, {
1732
1998
  hostName: t,
1733
- children: /* @__PURE__ */ m(H.Overlay, {
1734
- style: a.OS === "web" ? void 0 : c.absoluteFill,
1735
- children: /* @__PURE__ */ m(w.View, {
1736
- entering: T,
1737
- exiting: E,
1738
- className: G("border-border bg-popover web:animate-in web:fade-in-0 web:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 z-50 overflow-hidden rounded-md border px-3 py-1.5 shadow-md", e),
1739
- children: /* @__PURE__ */ m(J, {
1999
+ children: /* @__PURE__ */ h(G.Overlay, {
2000
+ style: o.OS === "web" ? void 0 : l.absoluteFill,
2001
+ children: /* @__PURE__ */ h(D.View, {
2002
+ entering: O,
2003
+ exiting: k,
2004
+ className: q("border-border bg-popover web:animate-in web:fade-in-0 web:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 z-50 overflow-hidden rounded-md border px-3 py-1.5 shadow-md", e),
2005
+ children: /* @__PURE__ */ h(X, {
1740
2006
  className: "text-popover-foreground native:text-base text-sm",
1741
2007
  children: n.children
1742
2008
  })
1743
2009
  })
1744
2010
  })
1745
2011
  }));
1746
- Ri.displayName = H.Content?.displayName || "TooltipContent";
1747
- var zi = ({ children: e }) => /* @__PURE__ */ m(p, { children: e }), Bi = 5, Vi = 1e6, Z = {
2012
+ ca.displayName = G.Content?.displayName || "TooltipContent";
2013
+ var la = ({ children: e }) => /* @__PURE__ */ h(m, { children: e }), ua = 5, da = 1e6, fa = {
1748
2014
  ADD_TOAST: "ADD_TOAST",
1749
2015
  UPDATE_TOAST: "UPDATE_TOAST",
1750
2016
  DISMISS_TOAST: "DISMISS_TOAST",
1751
2017
  REMOVE_TOAST: "REMOVE_TOAST"
1752
- }, Hi = 0;
1753
- function Ui() {
1754
- return Hi = (Hi + 1) % (2 ** 53 - 1), Hi.toString();
2018
+ }, pa = 0;
2019
+ function ma() {
2020
+ return pa = (pa + 1) % (2 ** 53 - 1), pa.toString();
1755
2021
  }
1756
- var Wi = /* @__PURE__ */ new Map(), Gi = (e) => {
1757
- if (Wi.has(e)) return;
2022
+ var ha = /* @__PURE__ */ new Map(), ga = (e) => {
2023
+ if (ha.has(e)) return;
1758
2024
  let t = setTimeout(() => {
1759
- Wi.delete(e), $({
2025
+ ha.delete(e), $({
1760
2026
  type: "REMOVE_TOAST",
1761
2027
  toastId: e
1762
2028
  });
1763
- }, Vi);
1764
- Wi.set(e, t);
1765
- }, Ki = (e, t) => {
2029
+ }, da);
2030
+ ha.set(e, t);
2031
+ }, _a = (e, t) => {
1766
2032
  switch (t.type) {
1767
- case Z.ADD_TOAST: return {
2033
+ case fa.ADD_TOAST: return {
1768
2034
  ...e,
1769
- toasts: [t.toast, ...e.toasts].slice(0, Bi)
2035
+ toasts: [t.toast, ...e.toasts].slice(0, ua)
1770
2036
  };
1771
- case Z.UPDATE_TOAST: return {
2037
+ case fa.UPDATE_TOAST: return {
1772
2038
  ...e,
1773
2039
  toasts: e.toasts.map((e) => e.id === t.toast.id ? {
1774
2040
  ...e,
1775
2041
  ...t.toast
1776
2042
  } : e)
1777
2043
  };
1778
- case Z.DISMISS_TOAST: {
2044
+ case fa.DISMISS_TOAST: {
1779
2045
  let { toastId: n } = t;
1780
- return n ? Gi(n) : e.toasts.forEach((e) => {
1781
- Gi(e.id);
2046
+ return n ? ga(n) : e.toasts.forEach((e) => {
2047
+ ga(e.id);
1782
2048
  }), {
1783
2049
  ...e,
1784
2050
  toasts: e.toasts.map((e) => e.id === n || n === void 0 ? {
@@ -1787,7 +2053,7 @@ var Wi = /* @__PURE__ */ new Map(), Gi = (e) => {
1787
2053
  } : e)
1788
2054
  };
1789
2055
  }
1790
- case Z.REMOVE_TOAST: return t.toastId === void 0 ? {
2056
+ case fa.REMOVE_TOAST: return t.toastId === void 0 ? {
1791
2057
  ...e,
1792
2058
  toasts: []
1793
2059
  } : {
@@ -1795,14 +2061,14 @@ var Wi = /* @__PURE__ */ new Map(), Gi = (e) => {
1795
2061
  toasts: e.toasts.filter((e) => e.id !== t.toastId)
1796
2062
  };
1797
2063
  }
1798
- }, Q = [], qi = { toasts: [] };
2064
+ }, va = [], ya = { toasts: [] };
1799
2065
  function $(e) {
1800
- qi = Ki(qi, e), Q.forEach((e) => {
1801
- e(qi);
2066
+ ya = _a(ya, e), va.forEach((e) => {
2067
+ e(ya);
1802
2068
  });
1803
2069
  }
1804
- function Ji({ ...e }) {
1805
- let t = Ui(), n = (e) => $({
2070
+ function ba({ ...e }) {
2071
+ let t = ma(), n = (e) => $({
1806
2072
  type: "UPDATE_TOAST",
1807
2073
  toast: {
1808
2074
  ...e,
@@ -1828,14 +2094,14 @@ function Ji({ ...e }) {
1828
2094
  update: n
1829
2095
  };
1830
2096
  }
1831
- function Yi() {
1832
- let [t, n] = e.useState(qi);
1833
- return e.useEffect(() => (Q.push(n), () => {
1834
- let e = Q.indexOf(n);
1835
- e > -1 && Q.splice(e, 1);
2097
+ function xa() {
2098
+ let [t, n] = e.useState(ya);
2099
+ return e.useEffect(() => (va.push(n), () => {
2100
+ let e = va.indexOf(n);
2101
+ e > -1 && va.splice(e, 1);
1836
2102
  }), []), {
1837
2103
  ...t,
1838
- toast: Ji,
2104
+ toast: ba,
1839
2105
  dismiss: (e) => $({
1840
2106
  type: "DISMISS_TOAST",
1841
2107
  toastId: e
@@ -1843,146 +2109,114 @@ function Yi() {
1843
2109
  };
1844
2110
  }
1845
2111
  //#endregion
1846
- //#region src/toast.tsx
1847
- var Xi = ({ children: e }) => /* @__PURE__ */ m(p, { children: e }), Zi = e.forwardRef(({ className: e, variant: t = "default", ...n }, r) => /* @__PURE__ */ m(U.Root, {
1848
- ref: r,
1849
- className: G("group pointer-events-auto relative flex w-full items-center justify-between space-x-2 overflow-hidden rounded-md border p-4 pr-6 shadow-lg", t === "default" ? "border-border bg-background" : "border-destructive bg-destructive", e),
1850
- ...n,
1851
- children: /* @__PURE__ */ m(w.View, {
1852
- entering: ue,
1853
- exiting: de,
1854
- layout: fe,
1855
- className: "w-full flex-row items-center",
1856
- children: n.children
1857
- })
1858
- }));
1859
- Zi.displayName = U.Root?.displayName || "Toast";
1860
- var Qi = e.forwardRef(({ className: e, ...t }, n) => /* @__PURE__ */ m(U.Title, {
1861
- ref: n,
1862
- className: G("text-foreground text-sm font-semibold", e),
1863
- ...t
1864
- }));
1865
- Qi.displayName = U.Title?.displayName || "ToastTitle";
1866
- var $i = e.forwardRef(({ className: e, ...t }, n) => /* @__PURE__ */ m(U.Description, {
1867
- ref: n,
1868
- className: G("text-muted-foreground text-sm opacity-90", e),
1869
- ...t
1870
- }));
1871
- $i.displayName = U.Description?.displayName || "ToastDescription";
1872
- var ea = e.forwardRef(({ className: e, ...t }, n) => /* @__PURE__ */ m(U.Close, {
1873
- ref: n,
1874
- className: G("text-foreground/50 hover:text-foreground absolute top-1 right-1 rounded-md p-1 opacity-0 transition-opacity group-hover:opacity-100 focus:opacity-100 focus:ring-1 focus:outline-none", e),
1875
- ...t,
1876
- children: /* @__PURE__ */ m(ce, {
1877
- size: 16,
1878
- className: "text-muted-foreground"
1879
- })
1880
- }));
1881
- ea.displayName = U.Close?.displayName || "ToastClose";
1882
- var ta = e.forwardRef(({ className: e, ...t }, n) => /* @__PURE__ */ m(U.Action, {
1883
- ref: n,
1884
- className: G("hover:bg-secondary focus:ring-ring inline-flex h-8 shrink-0 items-center justify-center rounded-md border bg-transparent px-3 text-sm font-medium transition-colors focus:ring-1 focus:outline-none disabled:pointer-events-none disabled:opacity-50", e),
1885
- ...t
1886
- }));
1887
- ta.displayName = U.Action?.displayName || "ToastAction";
1888
- //#endregion
1889
2112
  //#region src/theme-provider.tsx
1890
- function na({ children: e, className: t }) {
1891
- let { colorScheme: n } = Me();
1892
- return /* @__PURE__ */ m(f, {
1893
- className: G("flex-1", n === "dark" ? "dark" : "", t),
2113
+ function Sa({ children: e, className: t }) {
2114
+ let { colorScheme: n } = Le();
2115
+ return /* @__PURE__ */ h(p, {
2116
+ className: q("flex-1", n === "dark" ? "dark" : "", t),
1894
2117
  children: e
1895
2118
  });
1896
2119
  }
1897
2120
  //#endregion
2121
+ //#region src/hooks/use-theme.ts
2122
+ function Ca() {
2123
+ let { colorScheme: e, setColorScheme: t } = Le(), n = e;
2124
+ return {
2125
+ theme: e,
2126
+ setTheme: t,
2127
+ resolvedTheme: n,
2128
+ tokens: n === "dark" ? Re.dark : Re.light
2129
+ };
2130
+ }
2131
+ //#endregion
1898
2132
  //#region src/theme-toggle.tsx
1899
- function ra({ variant: e = "binary", onThemeChange: t, customTheme: n, className: r }) {
1900
- let { colorScheme: i, setColorScheme: a } = Me(), o = n ?? i, s = o === "dark", c = o === "system", l = (e) => {
2133
+ function wa({ variant: e = "binary", onThemeChange: t, customTheme: n, className: r }) {
2134
+ let { theme: i, setTheme: a, resolvedTheme: o } = Ca(), s = n ?? i, c = (n || o) === "dark", l = s === "system", u = (e) => {
1901
2135
  t ? t(e) : a(e);
1902
- }, u = () => /* @__PURE__ */ h(f, {
2136
+ }, d = () => /* @__PURE__ */ g(p, {
1903
2137
  className: "flex items-center justify-center",
1904
2138
  children: [
1905
- /* @__PURE__ */ m(oe, {
2139
+ /* @__PURE__ */ h(se, {
1906
2140
  size: 18,
1907
- className: G("text-foreground transition-all", !c && !s ? "scale-100 rotate-0 opacity-100" : "absolute scale-0 -rotate-90 opacity-0")
2141
+ className: q("text-foreground transition-all", !l && !c ? "scale-100 rotate-0 opacity-100" : "absolute scale-0 -rotate-90 opacity-0")
1908
2142
  }),
1909
- /* @__PURE__ */ m(ie, {
2143
+ /* @__PURE__ */ h(ie, {
1910
2144
  size: 18,
1911
- className: G("text-foreground transition-all", !c && s ? "scale-100 rotate-0 opacity-100" : "absolute scale-0 rotate-90 opacity-0")
2145
+ className: q("text-foreground transition-all", !l && c ? "scale-100 rotate-0 opacity-100" : "absolute scale-0 rotate-90 opacity-0")
1912
2146
  }),
1913
- /* @__PURE__ */ m(se, {
2147
+ /* @__PURE__ */ h(ce, {
1914
2148
  size: 18,
1915
- className: G("text-foreground transition-all", c ? "scale-100 rotate-0 opacity-100" : "absolute scale-0 rotate-90 opacity-0")
2149
+ className: q("text-foreground transition-all", l ? "scale-100 rotate-0 opacity-100" : "absolute scale-0 rotate-90 opacity-0")
1916
2150
  })
1917
2151
  ]
1918
2152
  });
1919
- return e === "ternary" ? /* @__PURE__ */ h(jn, { children: [/* @__PURE__ */ m(Mn, {
2153
+ return e === "ternary" ? /* @__PURE__ */ g(Rn, { children: [/* @__PURE__ */ h(zn, {
1920
2154
  asChild: !0,
1921
- children: /* @__PURE__ */ m(q, {
2155
+ children: /* @__PURE__ */ h(Y, {
1922
2156
  variant: "ghost",
1923
2157
  size: "icon",
1924
- className: G("relative h-9 w-9", r),
1925
- children: /* @__PURE__ */ m(u, {})
2158
+ className: q("relative h-9 w-9", r),
2159
+ children: /* @__PURE__ */ h(d, {})
1926
2160
  })
1927
- }), /* @__PURE__ */ h(Rn, {
2161
+ }), /* @__PURE__ */ g(Gn, {
1928
2162
  align: "end",
1929
2163
  children: [
1930
- /* @__PURE__ */ h(Y, {
1931
- onPress: () => l("light"),
1932
- children: [/* @__PURE__ */ m(oe, {
2164
+ /* @__PURE__ */ g(Q, {
2165
+ onSelect: () => u("light"),
2166
+ children: [/* @__PURE__ */ h(se, {
1933
2167
  size: 14,
1934
2168
  className: "text-foreground mr-2"
1935
- }), /* @__PURE__ */ m(J, { children: "Light" })]
2169
+ }), /* @__PURE__ */ h(X, { children: "Light" })]
1936
2170
  }),
1937
- /* @__PURE__ */ h(Y, {
1938
- onPress: () => l("dark"),
1939
- children: [/* @__PURE__ */ m(ie, {
2171
+ /* @__PURE__ */ g(Q, {
2172
+ onSelect: () => u("dark"),
2173
+ children: [/* @__PURE__ */ h(ie, {
1940
2174
  size: 14,
1941
2175
  className: "text-foreground mr-2"
1942
- }), /* @__PURE__ */ m(J, { children: "Dark" })]
2176
+ }), /* @__PURE__ */ h(X, { children: "Dark" })]
1943
2177
  }),
1944
- /* @__PURE__ */ h(Y, {
1945
- onPress: () => l("system"),
1946
- children: [/* @__PURE__ */ m(se, {
2178
+ /* @__PURE__ */ g(Q, {
2179
+ onSelect: () => u("system"),
2180
+ children: [/* @__PURE__ */ h(ce, {
1947
2181
  size: 14,
1948
2182
  className: "text-foreground mr-2"
1949
- }), /* @__PURE__ */ m(J, { children: "System" })]
2183
+ }), /* @__PURE__ */ h(X, { children: "System" })]
1950
2184
  })
1951
2185
  ]
1952
- })] }) : /* @__PURE__ */ m(q, {
2186
+ })] }) : /* @__PURE__ */ h(Y, {
1953
2187
  variant: "ghost",
1954
2188
  size: "icon",
1955
- className: G("relative h-9 w-9", r),
1956
- onPress: () => l(o === "dark" ? "light" : "dark"),
1957
- children: /* @__PURE__ */ m(u, {})
2189
+ className: q("relative h-9 w-9", r),
2190
+ onPress: () => u(s === "dark" ? "light" : "dark"),
2191
+ children: /* @__PURE__ */ h(d, {})
1958
2192
  });
1959
2193
  }
1960
2194
  //#endregion
1961
2195
  //#region src/toaster.tsx
1962
- var ia = () => {
1963
- let { toasts: e } = Yi();
1964
- return /* @__PURE__ */ m(Xi, { children: /* @__PURE__ */ m(f, {
2196
+ var Ta = () => {
2197
+ let { toasts: e } = xa();
2198
+ return /* @__PURE__ */ h(Pi, { children: /* @__PURE__ */ h(p, {
1965
2199
  className: "pointer-events-none absolute right-6 bottom-6 left-6 z-50 flex flex-col gap-2",
1966
- children: e.map(({ id: e, title: t, description: n, action: r, ...i }) => /* @__PURE__ */ h(Zi, {
2200
+ children: e.map(({ id: e, title: t, description: n, action: r, ...i }) => /* @__PURE__ */ g(Ii, {
1967
2201
  ...i,
1968
2202
  className: "pointer-events-auto",
1969
2203
  children: [
1970
- /* @__PURE__ */ h(f, {
2204
+ /* @__PURE__ */ g(p, {
1971
2205
  className: "flex flex-1 flex-col gap-1",
1972
- children: [t && /* @__PURE__ */ m(Qi, { children: t }), n && /* @__PURE__ */ m($i, { children: n })]
2206
+ children: [t && /* @__PURE__ */ h(Li, { children: t }), n && /* @__PURE__ */ h(Ri, { children: n })]
1973
2207
  }),
1974
2208
  r,
1975
- /* @__PURE__ */ m(ea, {})
2209
+ /* @__PURE__ */ h(zi, {})
1976
2210
  ]
1977
2211
  }, e))
1978
2212
  }) });
1979
- }, aa = e.createContext(void 0);
1980
- function oa() {
1981
- let t = e.useContext(aa);
2213
+ }, Ea = e.createContext(void 0);
2214
+ function Da() {
2215
+ let t = e.useContext(Ea);
1982
2216
  if (!t) throw Error("useTOC must be used within a TableOfContents provider");
1983
2217
  return t;
1984
2218
  }
1985
- function sa({ children: t, activeId: n }) {
2219
+ function Oa({ children: t, activeId: n }) {
1986
2220
  let [r, i] = e.useState([]), [a, o] = e.useState(null), s = e.useRef(null), c = e.useMemo(() => {
1987
2221
  let e = n || a;
1988
2222
  return r.find((t) => t.id === e)?.text || null;
@@ -2013,21 +2247,21 @@ function sa({ children: t, activeId: n }) {
2013
2247
  y: t.pageY - 20,
2014
2248
  animated: !0
2015
2249
  });
2016
- }, [r]), p = e.useCallback((e) => {
2250
+ }, [r]), f = e.useCallback((e) => {
2017
2251
  let t = e.nativeEvent.contentOffset.y, n = null;
2018
2252
  for (let e = r.length - 1; e >= 0; e--) if (t >= r[e].pageY - 100) {
2019
2253
  n = r[e].id;
2020
2254
  break;
2021
2255
  }
2022
2256
  n !== a && o(n);
2023
- }, [r, a]), h = e.useMemo(() => ({
2257
+ }, [r, a]), m = e.useMemo(() => ({
2024
2258
  headings: r,
2025
2259
  activeId: n || a,
2026
2260
  activeHeadingText: c,
2027
2261
  registerHeading: l,
2028
2262
  unregisterHeading: u,
2029
2263
  scrollToHeading: d,
2030
- onScroll: p,
2264
+ onScroll: f,
2031
2265
  scrollViewRef: s
2032
2266
  }), [
2033
2267
  r,
@@ -2037,18 +2271,18 @@ function sa({ children: t, activeId: n }) {
2037
2271
  l,
2038
2272
  u,
2039
2273
  d,
2040
- p
2274
+ f
2041
2275
  ]);
2042
- return /* @__PURE__ */ m(aa.Provider, {
2043
- value: h,
2044
- children: /* @__PURE__ */ m(f, {
2276
+ return /* @__PURE__ */ h(Ea.Provider, {
2277
+ value: m,
2278
+ children: /* @__PURE__ */ h(p, {
2045
2279
  className: "flex-1",
2046
2280
  children: t
2047
2281
  })
2048
2282
  });
2049
2283
  }
2050
- function ca({ children: t, level: n = 2, id: r, className: i }) {
2051
- let { registerHeading: a, unregisterHeading: o } = oa(), s = r || Ne(t), c = e.useCallback((e) => {
2284
+ function ka({ children: t, level: n = 2, id: r, className: i }) {
2285
+ let { registerHeading: a, unregisterHeading: o } = Da(), s = r || ze(t), c = e.useCallback((e) => {
2052
2286
  let { y: r } = e.nativeEvent.layout;
2053
2287
  a(s, t, n, r);
2054
2288
  }, [
@@ -2057,52 +2291,52 @@ function ca({ children: t, level: n = 2, id: r, className: i }) {
2057
2291
  n,
2058
2292
  a
2059
2293
  ]);
2060
- return e.useEffect(() => () => o(s), [s, o]), /* @__PURE__ */ m(f, {
2294
+ return e.useEffect(() => () => o(s), [s, o]), /* @__PURE__ */ h(p, {
2061
2295
  onLayout: c,
2062
- children: /* @__PURE__ */ m(J, {
2296
+ children: /* @__PURE__ */ h(X, {
2063
2297
  variant: n === 1 ? "h1" : n === 2 ? "h2" : n === 3 ? "h3" : "h4",
2064
2298
  className: i,
2065
2299
  children: t
2066
2300
  })
2067
2301
  });
2068
2302
  }
2069
- function la({ className: e }) {
2070
- let { headings: t, activeId: n, scrollToHeading: r } = oa();
2303
+ function Aa({ className: e }) {
2304
+ let { headings: t, activeId: n, scrollToHeading: r } = Da();
2071
2305
  if (t.length === 0) return null;
2072
2306
  let i = Math.min(...t.map((e) => e.level));
2073
- return /* @__PURE__ */ h(f, {
2074
- className: G("space-y-2 p-4", e),
2075
- children: [/* @__PURE__ */ m(J, {
2307
+ return /* @__PURE__ */ g(p, {
2308
+ className: q("space-y-2 p-4", e),
2309
+ children: [/* @__PURE__ */ h(X, {
2076
2310
  variant: "overline",
2077
2311
  className: "mb-2 font-bold",
2078
2312
  children: "On this page"
2079
2313
  }), t.map((e) => {
2080
2314
  let t = n === e.id;
2081
- return /* @__PURE__ */ m(d, {
2315
+ return /* @__PURE__ */ h(f, {
2082
2316
  onPress: () => r(e.id),
2083
2317
  style: { paddingLeft: (e.level - i) * 16 },
2084
2318
  className: "py-1",
2085
- children: /* @__PURE__ */ m(l, {
2086
- className: G("text-sm", t ? "text-primary font-bold" : "text-muted-foreground"),
2319
+ children: /* @__PURE__ */ h(u, {
2320
+ className: q("text-sm", t ? "text-primary font-bold" : "text-muted-foreground"),
2087
2321
  children: e.text
2088
2322
  })
2089
2323
  }, e.id);
2090
2324
  })]
2091
2325
  });
2092
2326
  }
2093
- function ua({ children: e, className: t }) {
2094
- let { scrollViewRef: n, onScroll: r } = oa();
2095
- return /* @__PURE__ */ m(s, {
2327
+ function ja({ children: e, className: t }) {
2328
+ let { scrollViewRef: n, onScroll: r } = Da();
2329
+ return /* @__PURE__ */ h(c, {
2096
2330
  ref: n,
2097
2331
  onScroll: r,
2098
- className: G("flex-1", t),
2099
- ...a.OS !== "web" && {
2332
+ className: q("flex-1", t),
2333
+ ...o.OS !== "web" && {
2100
2334
  scrollEventThrottle: 16,
2101
2335
  contentContainerStyle: { padding: 16 }
2102
2336
  },
2103
2337
  children: e
2104
2338
  });
2105
2339
  }
2106
- sa.List = la, sa.Content = ua, sa.Heading = ca;
2340
+ Oa.List = Aa, Oa.Content = ja, Oa.Heading = ka;
2107
2341
  //#endregion
2108
- export { Pe as Accordion, Re as AccordionContent, Fe as AccordionItem, Le as AccordionTrigger, Be as Alert, He as AlertDescription, We as AlertDialog, $e as AlertDialogAction, et as AlertDialogCancel, Je as AlertDialogContent, Qe as AlertDialogDescription, Xe as AlertDialogFooter, Ye as AlertDialogHeader, qe as AlertDialogOverlay, Ke as AlertDialogPortal, Ze as AlertDialogTitle, Ge as AlertDialogTrigger, Ve as AlertTitle, tt as AspectRatio, nt as Avatar, it as AvatarFallback, rt as AvatarImage, st as Badge, ut as Breadcrumb, gt as BreadcrumbEllipsis, ft as BreadcrumbItem, pt as BreadcrumbLink, dt as BreadcrumbList, mt as BreadcrumbPage, ht as BreadcrumbSeparator, q as Button, _t as Calendar, vt as Card, St as CardContent, xt as CardDescription, Ct as CardFooter, yt as CardHeader, bt as CardTitle, wt as Carousel, Tt as CarouselContent, Et as CarouselItem, Ot as CarouselNext, Dt as CarouselPrevious, kt as ChartContainer, Nt as ChartLegend, jt as ChartLegendContent, Pt as ChartStyle, Mt as ChartTooltip, At as ChartTooltipContent, Ft as Checkbox, It as Collapsible, Rt as CollapsibleContent, Lt as CollapsibleTrigger, zt as Command, Bt as CommandDialog, Ut as CommandEmpty, Wt as CommandGroup, Vt as CommandInput, Gt as CommandItem, Ht as CommandList, Kt as CommandSeparator, qt as CommandShortcut, Jt as ContextMenu, rn as ContextMenuCheckboxItem, tn as ContextMenuContent, Zt as ContextMenuGroup, nn as ContextMenuItem, on as ContextMenuLabel, Xt as ContextMenuPortal, Qt as ContextMenuRadioGroup, an as ContextMenuRadioItem, sn as ContextMenuSeparator, cn as ContextMenuShortcut, $t as ContextMenuSub, un as ContextMenuSubContent, ln as ContextMenuSubTrigger, Yt as ContextMenuTrigger, dn as Dialog, mn as DialogClose, gn as DialogContent, bn as DialogDescription, vn as DialogFooter, _n as DialogHeader, yn as DialogTitle, fn as DialogTrigger, xn as Drawer, On as DrawerClose, Tn as DrawerContent, An as DrawerDescription, Dn as DrawerFooter, En as DrawerHeader, wn as DrawerOverlay, Cn as DrawerPortal, kn as DrawerTitle, Sn as DrawerTrigger, jn as DropdownMenu, zn as DropdownMenuCheckboxItem, Rn as DropdownMenuContent, Pn as DropdownMenuGroup, Y as DropdownMenuItem, Vn as DropdownMenuLabel, Nn as DropdownMenuPortal, Fn as DropdownMenuRadioGroup, Bn as DropdownMenuRadioItem, Hn as DropdownMenuSeparator, Un as DropdownMenuShortcut, In as DropdownMenuSub, Gn as DropdownMenuSubContent, Wn as DropdownMenuSubTrigger, Mn as DropdownMenuTrigger, Kn as Form, qn as HoverCard, Yn as HoverCardContent, Jn as HoverCardTrigger, Xn as Input, Zn as Label, Qn as Menubar, cr as MenubarCheckboxItem, or as MenubarContent, tr as MenubarGroup, sr as MenubarItem, ur as MenubarLabel, $n as MenubarMenu, er as MenubarPortal, nr as MenubarRadioGroup, lr as MenubarRadioItem, dr as MenubarSeparator, fr as MenubarShortcut, rr as MenubarSub, mr as MenubarSubContent, pr as MenubarSubTrigger, ar as MenubarTrigger, hr as NavigationMenu, yr as NavigationMenuContent, Sr as NavigationMenuIndicator, _r as NavigationMenuItem, br as NavigationMenuLink, gr as NavigationMenuList, vr as NavigationMenuTrigger, xr as NavigationMenuViewport, Cr as Pagination, wr as PaginationContent, Or as PaginationEllipsis, Tr as PaginationItem, X as PaginationLink, Dr as PaginationNext, Er as PaginationPrevious, Ar as Popover, Mr as PopoverAnchor, Nr as PopoverContent, jr as PopoverTrigger, Pr as Progress, Fr as RadioGroup, Ir as RadioGroupItem, zr as ResizableHandle, Rr as ResizablePanel, Lr as ResizablePanelGroup, Br as ScrollArea, $r as ScrollToTop, Hr as Search, Ur as Select, Yr as SelectContent, Wr as SelectGroup, Zr as SelectItem, Xr as SelectLabel, Jr as SelectScrollDownButton, qr as SelectScrollUpButton, Qr as SelectSeparator, Kr as SelectTrigger, Gr as SelectValue, ii as Separator, ai as Sheet, si as SheetClose, ui as SheetContent, mi as SheetDescription, fi as SheetFooter, di as SheetHeader, li as SheetOverlay, ci as SheetPortal, pi as SheetTitle, oi as SheetTrigger, hi as Skeleton, gi as Slider, _i as Sonner, ri as SupportFab, vi as Switch, yi as Table, xi as TableBody, Ei as TableCaption, Ti as TableCell, Si as TableFooter, wi as TableHead, bi as TableHeader, sa as TableOfContents, ua as TableOfContentsContent, ca as TableOfContentsHeading, la as TableOfContentsList, Ci as TableRow, Di as Tabs, Ai as TabsContent, Oi as TabsList, ki as TabsTrigger, J as Text, ji as Textarea, na as ThemeProvider, ra as ThemeToggle, Zi as Toast, ia as Toaster, Mi as Toggle, Pi as ToggleGroup, Fi as ToggleGroupItem, Ii as Tooltip, Ri as TooltipContent, zi as TooltipProvider, Li as TooltipTrigger, at as badgeVariants, K as buttonVariants, G as cn, lt as textVariants, Ji as toast, Ae as toggleVariants, Yi as useToast, W as wrapTextChildren };
2342
+ export { Be as Accordion, We as AccordionContent, Ve as AccordionItem, Ue as AccordionTrigger, Ke as Alert, Je as AlertDescription, Xe as AlertDialog, at as AlertDialogAction, ot as AlertDialogCancel, et as AlertDialogContent, it as AlertDialogDescription, nt as AlertDialogFooter, tt as AlertDialogHeader, $e as AlertDialogOverlay, Qe as AlertDialogPortal, rt as AlertDialogTitle, Ze as AlertDialogTrigger, qe as AlertTitle, st as AspectRatio, ct as Avatar, ut as AvatarFallback, lt as AvatarImage, pt as Badge, gt as Breadcrumb, St as BreadcrumbEllipsis, vt as BreadcrumbItem, yt as BreadcrumbLink, _t as BreadcrumbList, bt as BreadcrumbPage, xt as BreadcrumbSeparator, Y as Button, Ct as Calendar, wt as Card, Ot as CardContent, Dt as CardDescription, kt as CardFooter, Tt as CardHeader, Et as CardTitle, jt as Carousel, Mt as CarouselContent, Nt as CarouselItem, Ft as CarouselNext, Pt as CarouselPrevious, It as ChartContainer, Bt as ChartLegend, Rt as ChartLegendContent, Vt as ChartStyle, zt as ChartTooltip, Lt as ChartTooltipContent, Ht as Checkbox, Ut as Collapsible, Gt as CollapsibleContent, Wt as CollapsibleTrigger, Kt as Command, qt as CommandDialog, Xt as CommandEmpty, Zt as CommandGroup, Jt as CommandInput, Qt as CommandItem, Yt as CommandList, $t as CommandSeparator, en as CommandShortcut, tn as ContextMenu, dn as ContextMenuCheckboxItem, ln as ContextMenuContent, an as ContextMenuGroup, un as ContextMenuItem, pn as ContextMenuLabel, rn as ContextMenuPortal, on as ContextMenuRadioGroup, fn as ContextMenuRadioItem, mn as ContextMenuSeparator, hn as ContextMenuShortcut, sn as ContextMenuSub, _n as ContextMenuSubContent, gn as ContextMenuSubTrigger, nn as ContextMenuTrigger, vn as Dialog, xn as DialogClose, Cn as DialogContent, Dn as DialogDescription, Tn as DialogFooter, wn as DialogHeader, En as DialogTitle, yn as DialogTrigger, On as Drawer, Fn as DrawerClose, Mn as DrawerContent, Ln as DrawerDescription, Pn as DrawerFooter, Nn as DrawerHeader, jn as DrawerOverlay, An as DrawerPortal, In as DrawerTitle, kn as DrawerTrigger, Rn as DropdownMenu, Kn as DropdownMenuCheckboxItem, Gn as DropdownMenuContent, Vn as DropdownMenuGroup, Q as DropdownMenuItem, Jn as DropdownMenuLabel, Bn as DropdownMenuPortal, Hn as DropdownMenuRadioGroup, qn as DropdownMenuRadioItem, Yn as DropdownMenuSeparator, Xn as DropdownMenuShortcut, Un as DropdownMenuSub, Qn as DropdownMenuSubContent, Zn as DropdownMenuSubTrigger, zn as DropdownMenuTrigger, er as Form, lr as HoverCard, dr as HoverCardContent, ur as HoverCardTrigger, fr as Input, $n as Label, pr as Menubar, Cr as MenubarCheckboxItem, xr as MenubarContent, gr as MenubarGroup, Sr as MenubarItem, Tr as MenubarLabel, mr as MenubarMenu, hr as MenubarPortal, _r as MenubarRadioGroup, wr as MenubarRadioItem, Er as MenubarSeparator, Dr as MenubarShortcut, vr as MenubarSub, kr as MenubarSubContent, Or as MenubarSubTrigger, br as MenubarTrigger, Ar as NavigationMenu, Pr as NavigationMenuContent, Lr as NavigationMenuIndicator, Mr as NavigationMenuItem, Fr as NavigationMenuLink, jr as NavigationMenuList, Nr as NavigationMenuTrigger, Ir as NavigationMenuViewport, Rr as Pagination, zr as PaginationContent, Wr as PaginationEllipsis, Br as PaginationItem, Vr as PaginationLink, Ur as PaginationNext, Hr as PaginationPrevious, Kr as Popover, Jr as PopoverAnchor, Yr as PopoverContent, qr as PopoverTrigger, Xr as Progress, Zr as RadioGroup, Qr as RadioGroupItem, ti as ResizableHandle, ei as ResizablePanel, $r as ResizablePanelGroup, ni as ScrollArea, gi as ScrollToTop, ii as Search, oi as Select, fi as SelectContent, si as SelectGroup, mi as SelectItem, pi as SelectLabel, di as SelectScrollDownButton, ui as SelectScrollUpButton, hi as SelectSeparator, li as SelectTrigger, ci as SelectValue, xi as Separator, Si as Sheet, wi as SheetClose, Di as SheetContent, ji as SheetDescription, ki as SheetFooter, Oi as SheetHeader, Ei as SheetOverlay, Ti as SheetPortal, Ai as SheetTitle, Ci as SheetTrigger, Mi as Skeleton, Ni as Slider, Vi as Sonner, bi as SupportFab, Hi as Switch, Ui as Table, Gi as TableBody, Xi as TableCaption, Yi as TableCell, Ki as TableFooter, Ji as TableHead, Wi as TableHeader, Oa as TableOfContents, ja as TableOfContentsContent, ka as TableOfContentsHeading, Aa as TableOfContentsList, qi as TableRow, Zi as Tabs, ea as TabsContent, Qi as TabsList, $i as TabsTrigger, X as Text, ta as Textarea, Sa as ThemeProvider, wa as ThemeToggle, Ii as Toast, Ta as Toaster, na as Toggle, ia as ToggleGroup, aa as ToggleGroupItem, oa as Tooltip, ca as TooltipContent, la as TooltipProvider, sa as TooltipTrigger, dt as badgeVariants, J as buttonVariants, q as cn, ht as textVariants, ba as toast, Fe as toggleVariants, Ca as useTheme, xa as useToast, K as wrapTextChildren };