@gv-tech/ui-native 2.28.0 → 2.29.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (197) hide show
  1. package/dist/__contracts.d.ts +44 -2
  2. package/dist/__contracts.d.ts.map +1 -1
  3. package/dist/aspect-ratio.d.ts.map +1 -1
  4. package/dist/attachment.d.ts +12 -0
  5. package/dist/attachment.d.ts.map +1 -0
  6. package/dist/badge.d.ts +1 -1
  7. package/dist/badge.d.ts.map +1 -1
  8. package/dist/breadcrumb.d.ts +27 -8
  9. package/dist/breadcrumb.d.ts.map +1 -1
  10. package/dist/bubble.d.ts +7 -0
  11. package/dist/bubble.d.ts.map +1 -0
  12. package/dist/button-group.d.ts +3 -3
  13. package/dist/button-group.d.ts.map +1 -1
  14. package/dist/button.d.ts +5 -2
  15. package/dist/button.d.ts.map +1 -1
  16. package/dist/calendar.d.ts +10 -7
  17. package/dist/calendar.d.ts.map +1 -1
  18. package/dist/carousel.d.ts +29 -6
  19. package/dist/carousel.d.ts.map +1 -1
  20. package/dist/collapsible.d.ts.map +1 -1
  21. package/dist/combobox.d.ts +16 -16
  22. package/dist/combobox.d.ts.map +1 -1
  23. package/dist/command.d.ts.map +1 -1
  24. package/dist/direction.d.ts +1 -1
  25. package/dist/direction.d.ts.map +1 -1
  26. package/dist/empty.d.ts +6 -6
  27. package/dist/empty.d.ts.map +1 -1
  28. package/dist/field.d.ts +10 -10
  29. package/dist/field.d.ts.map +1 -1
  30. package/dist/hooks/use-theme.d.ts +1 -1
  31. package/dist/hooks/use-theme.d.ts.map +1 -1
  32. package/dist/hooks/use-toast.d.ts.map +1 -1
  33. package/dist/index.d.ts +6 -0
  34. package/dist/index.d.ts.map +1 -1
  35. package/dist/input-group.d.ts +6 -6
  36. package/dist/input-group.d.ts.map +1 -1
  37. package/dist/input-otp.d.ts +4 -4
  38. package/dist/input-otp.d.ts.map +1 -1
  39. package/dist/item.d.ts +10 -10
  40. package/dist/item.d.ts.map +1 -1
  41. package/dist/kbd.d.ts +2 -2
  42. package/dist/kbd.d.ts.map +1 -1
  43. package/dist/marker.d.ts +6 -0
  44. package/dist/marker.d.ts.map +1 -0
  45. package/dist/message-scroller.d.ts +9 -0
  46. package/dist/message-scroller.d.ts.map +1 -0
  47. package/dist/message.d.ts +9 -0
  48. package/dist/message.d.ts.map +1 -0
  49. package/dist/native-select.d.ts +3 -3
  50. package/dist/native-select.d.ts.map +1 -1
  51. package/dist/pagination.d.ts +17 -10
  52. package/dist/pagination.d.ts.map +1 -1
  53. package/dist/questionnaire.d.ts +18 -0
  54. package/dist/questionnaire.d.ts.map +1 -0
  55. package/dist/scroll-area.d.ts +9 -2
  56. package/dist/scroll-area.d.ts.map +1 -1
  57. package/dist/scroll-to-top.d.ts +7 -6
  58. package/dist/scroll-to-top.d.ts.map +1 -1
  59. package/dist/search.d.ts +6 -3
  60. package/dist/search.d.ts.map +1 -1
  61. package/dist/sidebar.d.ts +23 -23
  62. package/dist/sidebar.d.ts.map +1 -1
  63. package/dist/skeleton.d.ts +1 -1
  64. package/dist/skeleton.d.ts.map +1 -1
  65. package/dist/slider.d.ts.map +1 -1
  66. package/dist/sonner.d.ts.map +1 -1
  67. package/dist/spinner.d.ts +1 -1
  68. package/dist/spinner.d.ts.map +1 -1
  69. package/dist/support-fab.d.ts +1 -1
  70. package/dist/support-fab.d.ts.map +1 -1
  71. package/dist/table-of-contents.d.ts +9 -17
  72. package/dist/table-of-contents.d.ts.map +1 -1
  73. package/dist/theme-provider.d.ts +1 -1
  74. package/dist/theme-provider.d.ts.map +1 -1
  75. package/dist/theme-toggle.d.ts +1 -1
  76. package/dist/theme-toggle.d.ts.map +1 -1
  77. package/dist/toaster.d.ts.map +1 -1
  78. package/dist/ui-native.cjs +2 -2
  79. package/dist/ui-native.esm.js +407 -268
  80. package/package.json +19 -18
  81. package/src/__contracts.ts +441 -281
  82. package/src/aspect-ratio.tsx +1 -0
  83. package/src/attachment.tsx +51 -0
  84. package/src/badge.tsx +3 -3
  85. package/src/breadcrumb.tsx +2 -8
  86. package/src/bubble.tsx +26 -0
  87. package/src/button-group.tsx +8 -3
  88. package/src/button.tsx +4 -3
  89. package/src/calendar.tsx +8 -5
  90. package/src/card.tsx +1 -1
  91. package/src/carousel.tsx +6 -23
  92. package/src/collapsible.tsx +1 -1
  93. package/src/combobox.tsx +8 -8
  94. package/src/command.tsx +1 -0
  95. package/src/context-menu.tsx +1 -0
  96. package/src/dialog.tsx +1 -1
  97. package/src/drawer.tsx +1 -0
  98. package/src/dropdown-menu.tsx +1 -0
  99. package/src/empty.tsx +6 -1
  100. package/src/field.tsx +2 -1
  101. package/src/form.tsx +9 -9
  102. package/src/hooks/use-theme.ts +1 -0
  103. package/src/hooks/use-toast.ts +1 -0
  104. package/src/hover-card.tsx +1 -0
  105. package/src/index.ts +51 -0
  106. package/src/input-group.tsx +7 -2
  107. package/src/input-otp.tsx +6 -1
  108. package/src/input.tsx +1 -1
  109. package/src/item.tsx +9 -3
  110. package/src/kbd.tsx +1 -0
  111. package/src/marker.tsx +17 -0
  112. package/src/menubar.tsx +1 -0
  113. package/src/message-scroller.tsx +39 -0
  114. package/src/message.tsx +36 -0
  115. package/src/native-select.tsx +2 -1
  116. package/src/navigation-menu.tsx +18 -6
  117. package/src/pagination.tsx +5 -2
  118. package/src/popover.tsx +1 -1
  119. package/src/progress.tsx +1 -2
  120. package/src/questionnaire.tsx +87 -0
  121. package/src/radio-group.tsx +1 -1
  122. package/src/scroll-area.tsx +1 -0
  123. package/src/scroll-to-top.tsx +11 -10
  124. package/src/search.tsx +2 -1
  125. package/src/select.tsx +1 -1
  126. package/src/sidebar.tsx +20 -19
  127. package/src/skeleton.tsx +4 -2
  128. package/src/slider.tsx +2 -1
  129. package/src/sonner.tsx +1 -0
  130. package/src/spinner.tsx +4 -1
  131. package/src/switch.tsx +1 -1
  132. package/src/table-of-contents.tsx +16 -27
  133. package/src/tabs.tsx +18 -7
  134. package/src/text.tsx +3 -3
  135. package/src/theme-provider.tsx +3 -1
  136. package/src/theme-toggle.tsx +32 -29
  137. package/src/toaster.tsx +1 -0
  138. package/src/toggle-group.tsx +2 -2
  139. package/src/toggle.tsx +3 -2
  140. package/dist/alert-dialog.d.ts +0 -51
  141. package/dist/alert-dialog.d.ts.map +0 -1
  142. package/dist/alert.d.ts +0 -10
  143. package/dist/alert.d.ts.map +0 -1
  144. package/dist/card.d.ts +0 -13
  145. package/dist/card.d.ts.map +0 -1
  146. package/dist/checkbox.d.ts +0 -15
  147. package/dist/checkbox.d.ts.map +0 -1
  148. package/dist/context-menu.d.ts +0 -61
  149. package/dist/context-menu.d.ts.map +0 -1
  150. package/dist/dialog.d.ts +0 -61
  151. package/dist/dialog.d.ts.map +0 -1
  152. package/dist/drawer.d.ts +0 -33
  153. package/dist/drawer.d.ts.map +0 -1
  154. package/dist/dropdown-menu.d.ts +0 -60
  155. package/dist/dropdown-menu.d.ts.map +0 -1
  156. package/dist/form.d.ts +0 -33
  157. package/dist/form.d.ts.map +0 -1
  158. package/dist/hover-card.d.ts +0 -23
  159. package/dist/hover-card.d.ts.map +0 -1
  160. package/dist/input.d.ts +0 -8
  161. package/dist/input.d.ts.map +0 -1
  162. package/dist/label.d.ts +0 -9
  163. package/dist/label.d.ts.map +0 -1
  164. package/dist/menubar.d.ts +0 -53
  165. package/dist/menubar.d.ts.map +0 -1
  166. package/dist/navigation-menu.d.ts +0 -14
  167. package/dist/navigation-menu.d.ts.map +0 -1
  168. package/dist/popover.d.ts +0 -9
  169. package/dist/popover.d.ts.map +0 -1
  170. package/dist/progress.d.ts +0 -6
  171. package/dist/progress.d.ts.map +0 -1
  172. package/dist/radio-group.d.ts +0 -11
  173. package/dist/radio-group.d.ts.map +0 -1
  174. package/dist/select.d.ts +0 -59
  175. package/dist/select.d.ts.map +0 -1
  176. package/dist/separator.d.ts +0 -9
  177. package/dist/separator.d.ts.map +0 -1
  178. package/dist/sheet.d.ts +0 -59
  179. package/dist/sheet.d.ts.map +0 -1
  180. package/dist/switch.d.ts +0 -8
  181. package/dist/switch.d.ts.map +0 -1
  182. package/dist/table.d.ts +0 -12
  183. package/dist/table.d.ts.map +0 -1
  184. package/dist/tabs.d.ts +0 -30
  185. package/dist/tabs.d.ts.map +0 -1
  186. package/dist/text.d.ts +0 -13
  187. package/dist/text.d.ts.map +0 -1
  188. package/dist/textarea.d.ts +0 -6
  189. package/dist/textarea.d.ts.map +0 -1
  190. package/dist/toast.d.ts +0 -35
  191. package/dist/toast.d.ts.map +0 -1
  192. package/dist/toggle-group.d.ts +0 -11
  193. package/dist/toggle-group.d.ts.map +0 -1
  194. package/dist/toggle.d.ts +0 -8
  195. package/dist/toggle.d.ts.map +0 -1
  196. package/dist/tooltip.d.ts +0 -30
  197. package/dist/tooltip.d.ts.map +0 -1
@@ -2,10 +2,10 @@ import * as e from "react";
2
2
  import { AccessibilityInfo as t, ActivityIndicator as n, Animated as r, Appearance as i, Dimensions as a, Linking as o, Modal as s, Platform as c, Pressable as l, ScrollView as u, StyleSheet as d, Text as f, TextInput as p, TouchableOpacity as m, View as h, useColorScheme as g } from "react-native";
3
3
  import { Fragment as _, jsx as v, jsxs as y } from "react/jsx-runtime";
4
4
  import { clsx as b } from "clsx";
5
- import { twMerge as x } from "tailwind-merge";
6
- import * as S from "@rn-primitives/accordion";
7
- import { ArrowLeft as ee, ArrowRight as te, ArrowUp as ne, Check as C, ChevronDown as w, ChevronLeft as re, ChevronRight as T, ChevronUp as ie, Circle as E, Coffee as ae, ExternalLink as oe, Moon as se, MoreHorizontal as ce, Search as le, Sun as ue, SunMoon as de, X as D } from "lucide-react-native";
8
- import O, { Extrapolation as fe, FadeIn as k, FadeInUp as pe, FadeOut as A, FadeOutDown as me, Layout as he, SlideInDown as ge, SlideInLeft as _e, SlideInRight as ve, SlideInUp as ye, SlideOutDown as be, SlideOutLeft as xe, SlideOutRight as Se, SlideOutUp as Ce, interpolate as we, useAnimatedStyle as Te, useDerivedValue as Ee, useSharedValue as De, withRepeat as Oe, withSequence as ke, withTiming as Ae } from "react-native-reanimated";
5
+ import { twMerge as ee } from "tailwind-merge";
6
+ import * as x from "@rn-primitives/accordion";
7
+ import { ArrowLeft as te, ArrowRight as S, ArrowUp as ne, Check as C, ChevronDown as w, ChevronLeft as re, ChevronRight as T, ChevronUp as ie, Circle as ae, Coffee as oe, ExternalLink as se, Moon as ce, MoreHorizontal as le, Search as ue, Sun as de, SunMoon as fe, X as E } from "lucide-react-native";
8
+ import D, { Extrapolation as pe, FadeIn as O, FadeInUp as me, FadeOut as k, FadeOutDown as he, Layout as ge, SlideInDown as _e, SlideInLeft as ve, SlideInRight as ye, SlideInUp as be, SlideOutDown as xe, SlideOutLeft as Se, SlideOutRight as Ce, SlideOutUp as we, interpolate as Te, useAnimatedStyle as Ee, useDerivedValue as De, useSharedValue as Oe, withRepeat as ke, withSequence as Ae, withTiming as A } from "react-native-reanimated";
9
9
  import { cva as j } from "class-variance-authority";
10
10
  import * as M from "@rn-primitives/alert-dialog";
11
11
  import * as je from "@rn-primitives/aspect-ratio";
@@ -47,51 +47,51 @@ function K(t, n = f, r = {}) {
47
47
  //#endregion
48
48
  //#region src/lib/utils.ts
49
49
  function q(...e) {
50
- return x(b(e));
50
+ return ee(b(e));
51
51
  }
52
52
  function Ye(e) {
53
53
  return e.toString().toLowerCase().trim().replace(/\s+/g, "-").replace(/[^\w-]+/g, "").replace(/--+/g, "-");
54
54
  }
55
55
  //#endregion
56
56
  //#region src/accordion.tsx
57
- var Xe = e.forwardRef(({ className: e, ...t }, n) => /* @__PURE__ */ v(S.Root, {
57
+ var Xe = e.forwardRef(({ className: e, ...t }, n) => /* @__PURE__ */ v(x.Root, {
58
58
  ref: n,
59
59
  className: q("web:gap-0", e),
60
60
  ...t
61
61
  }));
62
- Xe.displayName = S.Root?.displayName || "Accordion";
63
- var Ze = e.forwardRef(({ className: e, ...t }, n) => /* @__PURE__ */ v(S.Item, {
62
+ Xe.displayName = x.Root?.displayName || "Accordion";
63
+ var Ze = e.forwardRef(({ className: e, ...t }, n) => /* @__PURE__ */ v(x.Item, {
64
64
  ref: n,
65
65
  className: q("border-border overflow-hidden border-b", e),
66
66
  ...t
67
67
  }));
68
- Ze.displayName = S.Item?.displayName || "AccordionItem";
69
- var Qe = e.forwardRef(({ className: e, ...t }, n) => /* @__PURE__ */ v(S.Header, {
68
+ Ze.displayName = x.Item?.displayName || "AccordionItem";
69
+ var Qe = e.forwardRef(({ className: e, ...t }, n) => /* @__PURE__ */ v(x.Header, {
70
70
  ref: n,
71
71
  className: q("flex flex-row", e),
72
72
  ...t
73
73
  }));
74
- Qe.displayName = S.Header?.displayName || "AccordionHeader";
74
+ Qe.displayName = x.Header?.displayName || "AccordionHeader";
75
75
  var $e = e.forwardRef(({ className: e, children: t, ...n }, r) => {
76
- let { isExpanded: i } = S.useItemContext(), a = Ee(() => i ? Ae(1, { duration: 250 }) : Ae(0, { duration: 200 })), o = Te(() => ({
76
+ let { isExpanded: i } = x.useItemContext(), a = De(() => i ? A(1, { duration: 250 }) : A(0, { duration: 200 })), o = Ee(() => ({
77
77
  transform: [{ rotate: `${a.value * -180}deg` }],
78
- opacity: we(a.value, [0, 1], [1, .8], fe.CLAMP)
78
+ opacity: Te(a.value, [0, 1], [1, .8], pe.CLAMP)
79
79
  }));
80
- return /* @__PURE__ */ v(S.Header, {
80
+ return /* @__PURE__ */ v(x.Header, {
81
81
  className: "flex",
82
- children: /* @__PURE__ */ y(S.Trigger, {
82
+ children: /* @__PURE__ */ y(x.Trigger, {
83
83
  ref: r,
84
84
  className: q("flex flex-row items-center justify-between py-4 font-medium transition-all hover:underline [&[data-state=open]>svg]:rotate-180", e),
85
85
  ...n,
86
- children: [/* @__PURE__ */ v(_, { children: t }), /* @__PURE__ */ v(O.View, {
86
+ children: [/* @__PURE__ */ v(_, { children: t }), /* @__PURE__ */ v(D.View, {
87
87
  style: o,
88
88
  children: /* @__PURE__ */ v(w, { className: "text-muted-foreground h-4 w-4 shrink-0 transition-transform duration-200" })
89
89
  })]
90
90
  })
91
91
  });
92
92
  });
93
- $e.displayName = S.Trigger?.displayName || "AccordionTrigger";
94
- var et = e.forwardRef(({ className: e, children: t, ...n }, r) => /* @__PURE__ */ v(S.Content, {
93
+ $e.displayName = x.Trigger?.displayName || "AccordionTrigger";
94
+ var et = e.forwardRef(({ className: e, children: t, ...n }, r) => /* @__PURE__ */ v(x.Content, {
95
95
  ref: r,
96
96
  className: q("data-[state=closed]:animate-accordion-up data-[state=open]:animate-accordion-down overflow-hidden text-sm transition-all", e),
97
97
  ...n,
@@ -100,7 +100,7 @@ var et = e.forwardRef(({ className: e, children: t, ...n }, r) => /* @__PURE__ *
100
100
  children: t
101
101
  })
102
102
  }));
103
- et.displayName = S.Content?.displayName || "AccordionContent";
103
+ et.displayName = x.Content?.displayName || "AccordionContent";
104
104
  //#endregion
105
105
  //#region src/alert.tsx
106
106
  var tt = j("relative w-full rounded-lg border p-4", {
@@ -137,7 +137,7 @@ var at = j("flex-row items-center justify-center gap-2 rounded-md transition-col
137
137
  variant: {
138
138
  default: "bg-primary shadow-sm",
139
139
  destructive: "bg-destructive shadow-sm",
140
- outline: "border border-input bg-transparent shadow-sm",
140
+ outline: "border-input border bg-transparent shadow-sm",
141
141
  secondary: "bg-secondary shadow-sm",
142
142
  ghost: "bg-transparent",
143
143
  link: "bg-transparent"
@@ -187,9 +187,9 @@ var st = M.Root, ct = M.Trigger, lt = M.Portal, ut = e.forwardRef(({ className:
187
187
  asChild: !0,
188
188
  ref: n,
189
189
  ...t,
190
- children: /* @__PURE__ */ v(O.View, {
191
- entering: k.duration(150),
192
- exiting: A.duration(150),
190
+ children: /* @__PURE__ */ v(D.View, {
191
+ entering: O.duration(150),
192
+ exiting: k.duration(150),
193
193
  className: q("z-50 flex items-center justify-center bg-black/60 p-2 backdrop-blur-md", e)
194
194
  })
195
195
  }));
@@ -206,9 +206,9 @@ var dt = e.forwardRef(({ className: e, portalHost: t, overlayClassName: n, overl
206
206
  ref: a,
207
207
  asChild: !0,
208
208
  ...i,
209
- children: /* @__PURE__ */ v(O.View, {
210
- entering: k.duration(150),
211
- exiting: A.duration(150),
209
+ children: /* @__PURE__ */ v(D.View, {
210
+ entering: O.duration(150),
211
+ exiting: k.duration(150),
212
212
  className: q("border-border bg-background w-full max-w-lg gap-4 rounded-xl border p-6 shadow-lg sm:rounded-lg", e),
213
213
  children: i.children
214
214
  })
@@ -282,9 +282,9 @@ xt.displayName = N.Fallback?.displayName || "AvatarFallback";
282
282
  //#region src/badge.tsx
283
283
  var St = j("flex-row items-center rounded-md border px-2 py-0.5", {
284
284
  variants: { variant: {
285
- default: "border-transparent bg-primary",
286
- secondary: "border-transparent bg-secondary",
287
- destructive: "border-transparent bg-destructive",
285
+ default: "bg-primary border-transparent",
286
+ secondary: "bg-secondary border-transparent",
287
+ destructive: "bg-destructive border-transparent",
288
288
  outline: "border-border bg-transparent"
289
289
  } },
290
290
  defaultVariants: { variant: "default" }
@@ -314,9 +314,9 @@ var Tt = e.createContext(void 0), Et = j("text-foreground", {
314
314
  h4: "text-xl font-semibold tracking-tight",
315
315
  body: "text-base leading-7",
316
316
  bodySmall: "text-sm leading-6",
317
- caption: "text-xs text-muted-foreground",
317
+ caption: "text-muted-foreground text-xs",
318
318
  label: "text-sm font-medium",
319
- overline: "text-xs font-semibold uppercase tracking-widest text-muted-foreground"
319
+ overline: "text-muted-foreground text-xs font-semibold tracking-widest uppercase"
320
320
  } },
321
321
  defaultVariants: { variant: "body" }
322
322
  }), Y = e.forwardRef(({ className: e, variant: t = "body", children: n, ...r }, i) => /* @__PURE__ */ v(f, {
@@ -363,8 +363,6 @@ var At = e.forwardRef(({ asChild: e, className: t, children: n, onPress: r, ...i
363
363
  At.displayName = "BreadcrumbLink";
364
364
  var jt = e.forwardRef(({ className: e, children: t, ...n }, r) => /* @__PURE__ */ v(h, {
365
365
  ref: r,
366
- role: "link",
367
- "aria-disabled": !0,
368
366
  "aria-current": "page",
369
367
  className: q("flex flex-row items-center", e),
370
368
  ...n,
@@ -387,7 +385,7 @@ var Nt = ({ className: e, children: t, ...n }) => /* @__PURE__ */ v(h, {
387
385
  "aria-hidden": !0,
388
386
  className: q("flex h-9 w-9 flex-row items-center justify-center", e),
389
387
  ...n,
390
- children: t ?? /* @__PURE__ */ v(ce, {
388
+ children: t ?? /* @__PURE__ */ v(le, {
391
389
  size: 14,
392
390
  className: "text-muted-foreground"
393
391
  })
@@ -396,10 +394,8 @@ Nt.displayName = "BreadcrumbEllipsis";
396
394
  //#endregion
397
395
  //#region src/calendar.tsx
398
396
  var Pt = e.forwardRef(({ className: t, value: n, onChange: r, showOutsideDays: i, ...a }, o) => {
399
- let [s, c] = e.useState(n || /* @__PURE__ */ new Date());
400
- return e.useEffect(() => {
401
- n && c(n);
402
- }, [n]), /* @__PURE__ */ v(h, {
397
+ let [s, c] = e.useState(() => n ?? /* @__PURE__ */ new Date()), [l, u] = e.useState(n);
398
+ return n !== l && (u(n), n && c(n)), /* @__PURE__ */ v(h, {
403
399
  ref: o,
404
400
  className: q("bg-background overflow-hidden rounded-md", t),
405
401
  children: /* @__PURE__ */ v(Pe, {
@@ -465,42 +461,42 @@ function Ht() {
465
461
  return t;
466
462
  }
467
463
  var Ut = e.forwardRef(({ children: t, className: n, opts: r, orientation: i = "horizontal", setApi: o, plugins: s, ...c }, l) => {
468
- let u = e.useRef(null), [d, f] = e.useState(!0), [p, m] = e.useState(!1), [g, _] = e.useState(a.get("window").width), [y, b] = e.useState(0), x = e.useCallback(() => {
464
+ let u = e.useRef(null), [d] = e.useState(!0), [f] = e.useState(!1), [p, m] = e.useState(a.get("window").width), [g] = e.useState(0), _ = e.useCallback(() => {
469
465
  u.current?.scrollTo({
470
- x: (y + 1) * g,
466
+ x: (g + 1) * p,
471
467
  animated: !0
472
468
  });
473
- }, [y, g]), S = e.useCallback(() => {
469
+ }, [g, p]), y = e.useCallback(() => {
474
470
  u.current?.scrollTo({
475
- x: Math.max(0, y - 1) * g,
471
+ x: Math.max(0, g - 1) * p,
476
472
  animated: !0
477
473
  });
478
- }, [y, g]);
474
+ }, [g, p]);
479
475
  return e.useEffect(() => {
480
476
  o && o({
481
- scrollNext: x,
482
- scrollPrev: S,
477
+ scrollNext: _,
478
+ scrollPrev: y,
483
479
  canScrollNext: () => d,
484
- canScrollPrev: () => p,
480
+ canScrollPrev: () => f,
485
481
  on: () => {},
486
482
  off: () => {}
487
483
  });
488
484
  }, [
489
485
  o,
490
- x,
491
- S,
486
+ _,
487
+ y,
492
488
  d,
493
- p
489
+ f
494
490
  ]), /* @__PURE__ */ v(Vt.Provider, {
495
491
  value: {
496
492
  orientation: i,
497
493
  scrollRef: u,
498
- scrollNext: x,
499
- scrollPrev: S,
494
+ scrollNext: _,
495
+ scrollPrev: y,
500
496
  canScrollNext: d,
501
- canScrollPrev: p,
502
- itemWidth: g,
503
- setItemWidth: _
497
+ canScrollPrev: f,
498
+ itemWidth: p,
499
+ setItemWidth: m
504
500
  },
505
501
  children: /* @__PURE__ */ v(h, {
506
502
  ref: l,
@@ -553,7 +549,7 @@ var Kt = e.forwardRef(({ className: e, variant: t = "outline", size: n = "icon",
553
549
  disabled: !s,
554
550
  onPress: o,
555
551
  ...r,
556
- children: /* @__PURE__ */ v(ee, {
552
+ children: /* @__PURE__ */ v(te, {
557
553
  className: "text-foreground h-4 w-4",
558
554
  size: 16
559
555
  })
@@ -570,7 +566,7 @@ var qt = e.forwardRef(({ className: e, variant: t = "outline", size: n = "icon",
570
566
  disabled: !s,
571
567
  onPress: o,
572
568
  ...r,
573
- children: /* @__PURE__ */ v(te, {
569
+ children: /* @__PURE__ */ v(S, {
574
570
  className: "text-foreground h-4 w-4",
575
571
  size: 16
576
572
  })
@@ -620,9 +616,9 @@ var tn = Ie.Root, nn = Ie.Trigger, rn = Ie.Content, an = ({ children: e, classNa
620
616
  style: c.OS === "web" ? void 0 : d.absoluteFill,
621
617
  ref: n,
622
618
  ...t,
623
- children: /* @__PURE__ */ v(O.View, {
624
- entering: k.duration(100),
625
- exiting: A.duration(100),
619
+ children: /* @__PURE__ */ v(D.View, {
620
+ entering: O.duration(100),
621
+ exiting: k.duration(100),
626
622
  className: q("absolute inset-0 z-50 bg-black/30", e)
627
623
  })
628
624
  }));
@@ -663,7 +659,7 @@ var wn = e.forwardRef(({ className: e, children: t, value: n, ...r }, i) => /* @
663
659
  ...r,
664
660
  children: [/* @__PURE__ */ v(h, {
665
661
  className: "absolute left-2 flex h-3.5 w-3.5 items-center justify-center",
666
- children: /* @__PURE__ */ v(P.ItemIndicator, { children: /* @__PURE__ */ v(E, {
662
+ children: /* @__PURE__ */ v(P.ItemIndicator, { children: /* @__PURE__ */ v(ae, {
667
663
  size: 8,
668
664
  className: "text-foreground fill-current"
669
665
  }) })
@@ -723,9 +719,9 @@ var An = F.Root, jn = F.Trigger, Mn = F.Portal, Nn = F.Close, Pn = e.forwardRef(
723
719
  asChild: !0,
724
720
  ref: r,
725
721
  ...n,
726
- children: /* @__PURE__ */ v(O.View, {
727
- entering: k.duration(150),
728
- exiting: A.duration(150),
722
+ children: /* @__PURE__ */ v(D.View, {
723
+ entering: O.duration(150),
724
+ exiting: k.duration(150),
729
725
  className: q("flex items-center justify-center bg-black/60 p-2 backdrop-blur-md", e)
730
726
  })
731
727
  }));
@@ -742,13 +738,13 @@ var Fn = e.forwardRef(({ className: e, children: t, portalHost: n, overlayClassN
742
738
  ref: o,
743
739
  asChild: !0,
744
740
  ...a,
745
- children: /* @__PURE__ */ y(O.View, {
746
- entering: k.duration(150),
747
- exiting: A.duration(150),
741
+ children: /* @__PURE__ */ y(D.View, {
742
+ entering: O.duration(150),
743
+ exiting: k.duration(150),
748
744
  className: q("border-border bg-background w-full max-w-lg gap-4 rounded-xl border p-6 shadow-lg sm:rounded-lg", e),
749
745
  children: [t, /* @__PURE__ */ y(F.Close, {
750
746
  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",
751
- children: [/* @__PURE__ */ v(D, {
747
+ children: [/* @__PURE__ */ v(E, {
752
748
  size: 18,
753
749
  className: "text-muted-foreground"
754
750
  }), /* @__PURE__ */ v(Y, {
@@ -809,9 +805,9 @@ var Hn = F.Portal, Un = e.forwardRef(({ className: e, style: t, ...n }, r) => /*
809
805
  asChild: !0,
810
806
  ref: r,
811
807
  ...n,
812
- children: /* @__PURE__ */ v(O.View, {
813
- entering: k.duration(150),
814
- exiting: A.duration(150),
808
+ children: /* @__PURE__ */ v(D.View, {
809
+ entering: O.duration(150),
810
+ exiting: k.duration(150),
815
811
  className: q("bg-black/80", e)
816
812
  })
817
813
  }));
@@ -825,9 +821,9 @@ var Wn = e.forwardRef(({ className: e, children: t, portalHost: n, overlayClassN
825
821
  ref: o,
826
822
  asChild: !0,
827
823
  ...a,
828
- children: /* @__PURE__ */ y(O.View, {
829
- entering: ge.duration(200),
830
- exiting: be.duration(200),
824
+ children: /* @__PURE__ */ y(D.View, {
825
+ entering: _e.duration(200),
826
+ exiting: xe.duration(200),
831
827
  className: q("border-border bg-background z-50 flex h-auto flex-col rounded-t-xl border p-6 pb-10 shadow-lg", c.OS === "web" ? "fixed inset-x-0 bottom-0" : "absolute inset-x-0 bottom-0", e),
832
828
  children: [/* @__PURE__ */ v(h, { className: "bg-muted mx-auto mb-4 h-1.5 w-12 rounded-full" }), t]
833
829
  })
@@ -873,9 +869,9 @@ var Xn = I.Root, Zn = I.Trigger, Qn = I.Portal, $n = I.Group, er = I.RadioGroup,
873
869
  style: c.OS === "web" ? void 0 : d.absoluteFill,
874
870
  ref: n,
875
871
  ...t,
876
- children: /* @__PURE__ */ v(O.View, {
877
- entering: k.duration(100),
878
- exiting: A.duration(100),
872
+ children: /* @__PURE__ */ v(D.View, {
873
+ entering: O.duration(100),
874
+ exiting: k.duration(100),
879
875
  className: q("absolute inset-0 z-50 bg-black/30 backdrop-blur-md", e)
880
876
  })
881
877
  }));
@@ -927,7 +923,7 @@ var ar = e.forwardRef(({ className: e, children: t, value: n, ...r }, i) => /* @
927
923
  ...r,
928
924
  children: [/* @__PURE__ */ v(h, {
929
925
  className: "absolute left-2 flex h-3.5 w-3.5 items-center justify-center",
930
- children: /* @__PURE__ */ v(I.ItemIndicator, { children: /* @__PURE__ */ v(E, {
926
+ children: /* @__PURE__ */ v(I.ItemIndicator, { children: /* @__PURE__ */ v(ae, {
931
927
  size: 8,
932
928
  className: "text-foreground fill-current"
933
929
  }) })
@@ -1098,9 +1094,9 @@ var Er = R.Menu, Dr = R.Portal, Or = R.Group, kr = R.RadioGroup, Ar = R.Sub, jr
1098
1094
  style: c.OS === "web" ? void 0 : d.absoluteFill,
1099
1095
  ref: n,
1100
1096
  ...t,
1101
- children: /* @__PURE__ */ v(O.View, {
1102
- entering: k.duration(100),
1103
- exiting: A.duration(100),
1097
+ children: /* @__PURE__ */ v(D.View, {
1098
+ entering: O.duration(100),
1099
+ exiting: k.duration(100),
1104
1100
  className: q("absolute inset-0 z-50 bg-black/30", e)
1105
1101
  })
1106
1102
  }));
@@ -1148,7 +1144,7 @@ var Ir = e.forwardRef(({ className: e, children: t, value: n, ...r }, i) => /* @
1148
1144
  ...r,
1149
1145
  children: [/* @__PURE__ */ v(h, {
1150
1146
  className: "absolute left-2 flex h-3.5 w-3.5 items-center justify-center",
1151
- children: /* @__PURE__ */ v(R.ItemIndicator, { children: /* @__PURE__ */ v(E, {
1147
+ children: /* @__PURE__ */ v(R.ItemIndicator, { children: /* @__PURE__ */ v(ae, {
1152
1148
  size: 8,
1153
1149
  className: "text-foreground fill-current"
1154
1150
  }) })
@@ -1236,9 +1232,9 @@ Gr.displayName = "NavigationMenuTrigger";
1236
1232
  var Kr = e.forwardRef(({ className: e, children: t, forceMount: n, ...r }, i) => /* @__PURE__ */ v(z.Portal, { children: /* @__PURE__ */ v(z.Content, {
1237
1233
  ref: i,
1238
1234
  ...r,
1239
- children: /* @__PURE__ */ v(O.View, {
1240
- entering: k.duration(150),
1241
- exiting: A.duration(150),
1235
+ children: /* @__PURE__ */ v(D.View, {
1236
+ entering: O.duration(150),
1237
+ exiting: k.duration(150),
1242
1238
  className: q("bg-popover border-border z-50 overflow-hidden rounded-md border p-4 shadow-md", e),
1243
1239
  children: t
1244
1240
  })
@@ -1338,7 +1334,7 @@ var ni = ({ className: e, ...t }) => /* @__PURE__ */ v(h, {
1338
1334
  "aria-hidden": !0,
1339
1335
  className: q("flex h-9 w-9 flex-row items-center justify-center", e),
1340
1336
  ...t,
1341
- children: /* @__PURE__ */ v(ce, {
1337
+ children: /* @__PURE__ */ v(le, {
1342
1338
  size: 16,
1343
1339
  className: "text-foreground"
1344
1340
  })
@@ -1411,7 +1407,6 @@ var ci = e.forwardRef(({ className: e, value: t, ...n }, r) => /* @__PURE__ */ v
1411
1407
  ref: r,
1412
1408
  className: q("bg-muted relative h-2 w-full overflow-hidden rounded-full", e),
1413
1409
  accessibilityRole: "progressbar",
1414
- role: "progressbar",
1415
1410
  ...n,
1416
1411
  children: /* @__PURE__ */ v(h, {
1417
1412
  className: "bg-primary h-full rounded-full",
@@ -1433,7 +1428,7 @@ var ui = e.forwardRef(({ className: e, ...t }, n) => /* @__PURE__ */ v(B.Item, {
1433
1428
  ...t,
1434
1429
  children: /* @__PURE__ */ v(B.Indicator, {
1435
1430
  className: "flex items-center justify-center",
1436
- children: /* @__PURE__ */ v(E, { className: "h-2.5 w-2.5 fill-current text-current" })
1431
+ children: /* @__PURE__ */ v(ae, { className: "h-2.5 w-2.5 fill-current text-current" })
1437
1432
  })
1438
1433
  }));
1439
1434
  ui.displayName = B.Item?.displayName || "RadioGroupItem";
@@ -1477,7 +1472,7 @@ var _i = e.forwardRef(({ className: e, placeholder: t, variant: n = "default", r
1477
1472
  ...i,
1478
1473
  children: [/* @__PURE__ */ y(h, {
1479
1474
  className: "flex-row items-center gap-2",
1480
- children: [/* @__PURE__ */ v(le, {
1475
+ children: [/* @__PURE__ */ v(ue, {
1481
1476
  className: "text-muted-foreground shrink-0",
1482
1477
  size: 18
1483
1478
  }), /* @__PURE__ */ v(f, {
@@ -1541,7 +1536,7 @@ var wi = e.forwardRef(({ className: e, children: t, position: n = "popper", port
1541
1536
  children: [/* @__PURE__ */ v(V.Overlay, {
1542
1537
  style: c.OS === "web" ? void 0 : d.absoluteFill,
1543
1538
  asChild: !0,
1544
- children: /* @__PURE__ */ v(O.View, {
1539
+ children: /* @__PURE__ */ v(D.View, {
1545
1540
  className: i,
1546
1541
  style: a
1547
1542
  })
@@ -1598,7 +1593,7 @@ Di.displayName = V.Separator?.displayName || "SelectSeparator";
1598
1593
  //#endregion
1599
1594
  //#region src/scroll-to-top.tsx
1600
1595
  var Oi = e.forwardRef(({ threshold: n = 240, exitDuration: i = 450, behavior: a, label: o = "Scroll to top", className: s, scrollRef: l, animationDuration: u = 300, ...d }, f) => {
1601
- let [p, m] = e.useState(!1), [g, _] = e.useState(!1), y = e.useRef(new r.Value(0)).current, b = e.useRef(new r.Value(20)).current, x = () => {
1596
+ let [p, m] = e.useState(!1), [g, _] = e.useState(!1), [y] = e.useState(() => new r.Value(0)), [b] = e.useState(() => new r.Value(20)), ee = () => {
1602
1597
  r.parallel([r.timing(y, {
1603
1598
  toValue: 1,
1604
1599
  duration: u,
@@ -1608,7 +1603,7 @@ var Oi = e.forwardRef(({ threshold: n = 240, exitDuration: i = 450, behavior: a,
1608
1603
  duration: u,
1609
1604
  useNativeDriver: !0
1610
1605
  })]).start();
1611
- }, S = () => {
1606
+ }, x = () => {
1612
1607
  r.parallel([r.timing(y, {
1613
1608
  toValue: 0,
1614
1609
  duration: u,
@@ -1620,15 +1615,15 @@ var Oi = e.forwardRef(({ threshold: n = 240, exitDuration: i = 450, behavior: a,
1620
1615
  })]).start(() => {
1621
1616
  g || m(!1);
1622
1617
  });
1623
- }, ee = (e) => {
1618
+ }, te = (e) => {
1624
1619
  let t = e.nativeEvent.contentOffset.y;
1625
1620
  if (g) {
1626
1621
  t <= n && (m(!1), _(!1));
1627
1622
  return;
1628
1623
  }
1629
- t > n && !p ? (m(!0), x()) : t <= n && p && S();
1630
- }, te = () => {
1631
- _(!0), S(), setTimeout(() => {
1624
+ t > n && !p ? (m(!0), ee()) : t <= n && p && x();
1625
+ }, S = () => {
1626
+ _(!0), x(), setTimeout(() => {
1632
1627
  if (l?.current) {
1633
1628
  let e = l.current;
1634
1629
  "scrollToOffset" in e && typeof e.scrollToOffset == "function" ? e.scrollToOffset({
@@ -1643,8 +1638,8 @@ var Oi = e.forwardRef(({ threshold: n = 240, exitDuration: i = 450, behavior: a,
1643
1638
  }, i);
1644
1639
  };
1645
1640
  return e.useImperativeHandle(f, () => ({
1646
- handleScroll: ee,
1647
- scrollToTop: te
1641
+ handleScroll: te,
1642
+ scrollToTop: S
1648
1643
  })), !p && !g ? null : /* @__PURE__ */ v(h, {
1649
1644
  pointerEvents: "box-none",
1650
1645
  style: {
@@ -1662,7 +1657,7 @@ var Oi = e.forwardRef(({ threshold: n = 240, exitDuration: i = 450, behavior: a,
1662
1657
  variant: "outline",
1663
1658
  size: "icon",
1664
1659
  className: q("bg-background/80 h-12 w-12 rounded-full border-2 shadow-lg", s),
1665
- onPress: te,
1660
+ onPress: S,
1666
1661
  "aria-label": o,
1667
1662
  ...d,
1668
1663
  children: /* @__PURE__ */ v(ne, {
@@ -1689,15 +1684,15 @@ var ki = "https://www.buymeacoffee.com", Ai = new Set(["buymeacoffee.com", "www.
1689
1684
  return t.endsWith("/") ? t.slice(0, -1) : t;
1690
1685
  }, Ni = (e) => e.trim().replace(/^@+/, ""), Pi = (e, t) => `${Mi(e)}/${encodeURIComponent(Ni(t))}`;
1691
1686
  function Fi({ supportUrl: t = ki, creatorId: n, title: r = "Buy me a coffee", description: i = "Support the project directly from this panel.", open: a, defaultOpen: s = !1, onOpenChange: c, positionClassName: l, buttonClassName: u, panelClassName: d, className: f, ...p }) {
1692
- let m = a !== void 0, [g, b] = e.useState(s), x = m ? a : g, S = e.useCallback((e) => {
1687
+ let m = a !== void 0, [g, b] = e.useState(s), ee = m ? a : g, x = e.useCallback((e) => {
1693
1688
  m || b(e), c?.(e);
1694
- }, [m, c]), ee = e.useMemo(() => Pi(t, n), [n, t]), te = e.useCallback(async () => {
1689
+ }, [m, c]), te = e.useMemo(() => Pi(t, n), [n, t]), S = e.useCallback(async () => {
1695
1690
  try {
1696
- await o.openURL(ee);
1691
+ await o.openURL(te);
1697
1692
  } catch (e) {
1698
1693
  console.warn("Failed to open external link:", e);
1699
1694
  }
1700
- }, [ee]);
1695
+ }, [te]);
1701
1696
  return /* @__PURE__ */ y(_, { children: [/* @__PURE__ */ v(h, {
1702
1697
  style: {
1703
1698
  position: "absolute",
@@ -1710,17 +1705,17 @@ function Fi({ supportUrl: t = ki, creatorId: n, title: r = "Buy me a coffee", de
1710
1705
  variant: "outline",
1711
1706
  size: "icon",
1712
1707
  className: q("h-14 w-14 rounded-full border border-black/15 bg-[#ffdd00] shadow-lg", u, f),
1713
- onPress: () => S(!0),
1708
+ onPress: () => x(!0),
1714
1709
  "aria-label": "Support this project",
1715
1710
  ...p,
1716
- children: /* @__PURE__ */ v(ae, {
1711
+ children: /* @__PURE__ */ v(oe, {
1717
1712
  size: 24,
1718
1713
  className: "text-black"
1719
1714
  })
1720
1715
  })
1721
1716
  }), /* @__PURE__ */ v(An, {
1722
- open: x,
1723
- onOpenChange: S,
1717
+ open: ee,
1718
+ onOpenChange: x,
1724
1719
  children: /* @__PURE__ */ y(Fn, {
1725
1720
  className: q("max-w-sm", d),
1726
1721
  children: [/* @__PURE__ */ y(In, { children: [/* @__PURE__ */ v(Rn, { children: r }), /* @__PURE__ */ v(zn, { children: i })] }), /* @__PURE__ */ y(h, {
@@ -1746,12 +1741,12 @@ function Fi({ supportUrl: t = ki, creatorId: n, title: r = "Buy me a coffee", de
1746
1741
  }), /* @__PURE__ */ y(J, {
1747
1742
  variant: "outline",
1748
1743
  size: "sm",
1749
- onPress: te,
1744
+ onPress: S,
1750
1745
  className: "flex flex-row items-center gap-1",
1751
1746
  children: [/* @__PURE__ */ v(Y, {
1752
1747
  className: "text-xs",
1753
1748
  children: "Open Buy Me a Coffee"
1754
- }), /* @__PURE__ */ v(oe, {
1749
+ }), /* @__PURE__ */ v(se, {
1755
1750
  size: 12,
1756
1751
  className: "text-muted-foreground"
1757
1752
  })]
@@ -1778,29 +1773,29 @@ var Li = F.Root, Ri = F.Trigger, zi = F.Close, Bi = F.Portal, Vi = e.forwardRef(
1778
1773
  asChild: !0,
1779
1774
  ref: n,
1780
1775
  ...t,
1781
- children: /* @__PURE__ */ v(O.View, {
1782
- entering: k.duration(150),
1783
- exiting: A.duration(150),
1776
+ children: /* @__PURE__ */ v(D.View, {
1777
+ entering: O.duration(150),
1778
+ exiting: k.duration(150),
1784
1779
  className: q("web:cursor-default absolute inset-0 z-50 bg-black/60 backdrop-blur-md", e)
1785
1780
  })
1786
1781
  }));
1787
1782
  Vi.displayName = F.Overlay?.displayName || "SheetOverlay";
1788
1783
  var Hi = e.forwardRef(({ className: e, children: t, side: n = "right", overlayClassName: r, overlayStyle: i, ...a }, o) => {
1789
1784
  let s = c.OS === "web", l, u;
1790
- return s || (n === "bottom" ? (l = ge, u = be) : n === "top" ? (l = ye, u = Ce) : n === "left" ? (l = _e, u = xe) : (l = ve, u = Se)), /* @__PURE__ */ y(Bi, { children: [/* @__PURE__ */ v(Vi, {
1785
+ return s || (n === "bottom" ? (l = _e, u = xe) : n === "top" ? (l = be, u = we) : n === "left" ? (l = ve, u = Se) : (l = ye, u = Ce)), /* @__PURE__ */ y(Bi, { children: [/* @__PURE__ */ v(Vi, {
1791
1786
  className: r,
1792
1787
  style: i
1793
1788
  }), /* @__PURE__ */ v(F.Content, {
1794
1789
  ref: o,
1795
1790
  asChild: !0,
1796
1791
  ...a,
1797
- children: /* @__PURE__ */ y(O.View, {
1792
+ children: /* @__PURE__ */ y(D.View, {
1798
1793
  entering: l,
1799
1794
  exiting: u,
1800
1795
  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),
1801
1796
  children: [t, /* @__PURE__ */ y(F.Close, {
1802
1797
  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"),
1803
- children: [/* @__PURE__ */ v(D, {
1798
+ children: [/* @__PURE__ */ v(E, {
1804
1799
  size: 24,
1805
1800
  className: "text-muted-foreground"
1806
1801
  }), /* @__PURE__ */ v(Y, {
@@ -1837,12 +1832,12 @@ Ki.displayName = F.Description?.displayName || "SheetDescription";
1837
1832
  //#endregion
1838
1833
  //#region src/skeleton.tsx
1839
1834
  function qi({ className: t, ...n }) {
1840
- let r = De(.5);
1835
+ let r = Oe(.5);
1841
1836
  e.useEffect(() => {
1842
- r.value = Oe(ke(Ae(.2, { duration: 500 }), Ae(.5, { duration: 500 })), -1, !0);
1843
- }, []);
1844
- let i = Te(() => ({ opacity: r.value }));
1845
- return /* @__PURE__ */ v(O.View, {
1837
+ r.value = ke(Ae(A(.2, { duration: 500 }), A(.5, { duration: 500 })), -1, !0);
1838
+ }, [r]);
1839
+ let i = Ee(() => ({ opacity: r.value }));
1840
+ return /* @__PURE__ */ v(D.View, {
1846
1841
  className: q("bg-muted rounded-md", t),
1847
1842
  style: i,
1848
1843
  ...n
@@ -1876,10 +1871,10 @@ var Yi = ({ children: e }) => /* @__PURE__ */ v(_, { children: e }), Xi = () =>
1876
1871
  ref: r,
1877
1872
  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),
1878
1873
  ...n,
1879
- children: /* @__PURE__ */ v(O.View, {
1880
- entering: pe,
1881
- exiting: me,
1882
- layout: he,
1874
+ children: /* @__PURE__ */ v(D.View, {
1875
+ entering: me,
1876
+ exiting: he,
1877
+ layout: ge,
1883
1878
  className: "w-full flex-row items-center",
1884
1879
  children: n.children
1885
1880
  })
@@ -1901,7 +1896,7 @@ var ea = e.forwardRef(({ className: e, ...t }, n) => /* @__PURE__ */ v(U.Close,
1901
1896
  ref: n,
1902
1897
  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),
1903
1898
  ...t,
1904
- children: /* @__PURE__ */ v(D, {
1899
+ children: /* @__PURE__ */ v(E, {
1905
1900
  size: 16,
1906
1901
  className: "text-muted-foreground"
1907
1902
  })
@@ -1976,10 +1971,17 @@ var da = e.forwardRef(({ className: e, ...t }, n) => /* @__PURE__ */ v(Y, {
1976
1971
  da.displayName = "TableCaption";
1977
1972
  //#endregion
1978
1973
  //#region src/tabs.tsx
1979
- var fa = e.forwardRef((e, t) => /* @__PURE__ */ v(W.Root, {
1980
- ref: t,
1981
- ...e
1982
- }));
1974
+ var fa = e.forwardRef(({ value: t, defaultValue: n, onValueChange: r, ...i }, a) => {
1975
+ let [o, s] = e.useState(n ?? ""), c = t ?? o;
1976
+ return /* @__PURE__ */ v(W.Root, {
1977
+ ref: a,
1978
+ value: c,
1979
+ onValueChange: (e) => {
1980
+ s(e), r?.(e);
1981
+ },
1982
+ ...i
1983
+ });
1984
+ });
1983
1985
  fa.displayName = "Tabs";
1984
1986
  var pa = e.forwardRef(({ className: e, ...t }, n) => /* @__PURE__ */ v(W.List, {
1985
1987
  ref: n,
@@ -1990,7 +1992,7 @@ pa.displayName = W.List?.displayName || "TabsList";
1990
1992
  var ma = e.forwardRef(({ className: e, ...t }, n) => {
1991
1993
  let { value: r } = W.useRootContext();
1992
1994
  return /* @__PURE__ */ v(Tt.Provider, {
1993
- value: q("text-sm native:text-base font-medium text-muted-foreground web:transition-all", r === t.value && "text-foreground"),
1995
+ value: q("native:text-base text-muted-foreground web:transition-all text-sm font-medium", r === t.value && "text-foreground"),
1994
1996
  children: /* @__PURE__ */ v(W.Trigger, {
1995
1997
  ref: n,
1996
1998
  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),
@@ -2020,7 +2022,7 @@ ga.displayName = "Textarea";
2020
2022
  //#endregion
2021
2023
  //#region src/toggle.tsx
2022
2024
  var _a = e.forwardRef(({ className: e, variant: t, size: n, ...r }, i) => /* @__PURE__ */ v(Tt.Provider, {
2023
- value: q("text-sm native:text-base text-foreground font-medium", r.pressed && "text-accent-foreground", e),
2025
+ value: q("native:text-base text-foreground text-sm font-medium", r.pressed && "text-accent-foreground", e),
2024
2026
  children: /* @__PURE__ */ v(Ge.Root, {
2025
2027
  ref: i,
2026
2028
  className: q(We({
@@ -2058,7 +2060,7 @@ ya.displayName = Ke.Root?.displayName || "ToggleGroup";
2058
2060
  var ba = e.forwardRef(({ className: t, children: n, variant: r, size: i, value: a, ...o }, s) => {
2059
2061
  let c = e.useContext(va);
2060
2062
  return /* @__PURE__ */ v(Tt.Provider, {
2061
- value: q("text-sm native:text-base text-foreground font-medium", o.disabled && "web:cursor-not-allowed opacity-50", a === "" && "text-accent-foreground", t),
2063
+ value: q("native:text-base text-foreground text-sm font-medium", o.disabled && "web:cursor-not-allowed opacity-50", a === "" && "text-accent-foreground", t),
2062
2064
  children: /* @__PURE__ */ v(Ke.Item, {
2063
2065
  ref: s,
2064
2066
  value: a,
@@ -2078,9 +2080,9 @@ var xa = G.Root, Sa = G.Trigger, Ca = e.forwardRef(({ className: e, portalHost:
2078
2080
  hostName: t,
2079
2081
  children: /* @__PURE__ */ v(G.Overlay, {
2080
2082
  style: c.OS === "web" ? void 0 : d.absoluteFill,
2081
- children: /* @__PURE__ */ v(O.View, {
2082
- entering: k,
2083
- exiting: A,
2083
+ children: /* @__PURE__ */ v(D.View, {
2084
+ entering: O,
2085
+ exiting: k,
2084
2086
  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),
2085
2087
  children: /* @__PURE__ */ v(Y, {
2086
2088
  className: "text-popover-foreground native:text-base text-sm",
@@ -2241,45 +2243,52 @@ function Ba(e) {
2241
2243
  }
2242
2244
  } });
2243
2245
  }
2244
- Ba(ue), Ba(se), Ba(de);
2245
- function Va({ variant: e = "binary", onThemeChange: t, customTheme: n, className: r }) {
2246
- let { theme: a, resolvedTheme: o, tokens: s } = za(), c = n ?? a, l = (n === "system" || !n ? o : n) === "dark", u = c === "system", d = (e) => {
2247
- t ? t(e) : e === "system" ? i.setColorScheme("unspecified") : i.setColorScheme(e);
2248
- }, f = () => /* @__PURE__ */ y(h, {
2246
+ Ba(de), Ba(ce), Ba(fe);
2247
+ function Va({ isDark: e, isSystem: t, foreground: n }) {
2248
+ return /* @__PURE__ */ y(h, {
2249
2249
  className: "flex h-6 w-6 items-center justify-center",
2250
2250
  children: [
2251
2251
  /* @__PURE__ */ v(h, {
2252
- className: q("items-center justify-center transition-all", !u && !l ? "rotate-0 opacity-100" : "absolute -rotate-90 opacity-0"),
2253
- children: /* @__PURE__ */ v(ue, {
2252
+ className: q("items-center justify-center transition-all", !t && !e ? "rotate-0 opacity-100" : "absolute -rotate-90 opacity-0"),
2253
+ children: /* @__PURE__ */ v(de, {
2254
2254
  size: 18,
2255
- color: s.foreground
2255
+ color: n
2256
2256
  })
2257
2257
  }),
2258
2258
  /* @__PURE__ */ v(h, {
2259
- className: q("items-center justify-center transition-all", !u && l ? "rotate-0 opacity-100" : "absolute rotate-90 opacity-0"),
2260
- children: /* @__PURE__ */ v(se, {
2259
+ className: q("items-center justify-center transition-all", !t && e ? "rotate-0 opacity-100" : "absolute rotate-90 opacity-0"),
2260
+ children: /* @__PURE__ */ v(ce, {
2261
2261
  size: 18,
2262
- color: s.foreground
2262
+ color: n
2263
2263
  })
2264
2264
  }),
2265
2265
  /* @__PURE__ */ v(h, {
2266
- className: q("items-center justify-center transition-all", u ? "rotate-0 opacity-100" : "absolute rotate-90 opacity-0"),
2267
- children: /* @__PURE__ */ v(de, {
2266
+ className: q("items-center justify-center transition-all", t ? "rotate-0 opacity-100" : "absolute rotate-90 opacity-0"),
2267
+ children: /* @__PURE__ */ v(fe, {
2268
2268
  size: 18,
2269
- color: s.foreground
2269
+ color: n
2270
2270
  })
2271
2271
  })
2272
2272
  ]
2273
2273
  });
2274
+ }
2275
+ function Ha({ variant: e = "binary", onThemeChange: t, customTheme: n, className: r }) {
2276
+ let { theme: a, resolvedTheme: o, tokens: s } = za(), c = n ?? a, l = (n === "system" || !n ? o : n) === "dark", u = c === "system", d = (e) => {
2277
+ t ? t(e) : e === "system" ? i.setColorScheme("unspecified") : i.setColorScheme(e);
2278
+ };
2274
2279
  return e === "ternary" ? /* @__PURE__ */ y(Xn, { children: [/* @__PURE__ */ v(Zn, {
2275
2280
  className: q("relative h-9 w-9 flex-row items-center justify-center rounded-md bg-transparent transition-colors active:opacity-80", r),
2276
- children: /* @__PURE__ */ v(f, {})
2281
+ children: /* @__PURE__ */ v(Va, {
2282
+ isDark: l,
2283
+ isSystem: u,
2284
+ foreground: s.foreground
2285
+ })
2277
2286
  }), /* @__PURE__ */ y(rr, {
2278
2287
  align: "end",
2279
2288
  children: [
2280
2289
  /* @__PURE__ */ y(X, {
2281
2290
  onSelect: () => d("light"),
2282
- children: [/* @__PURE__ */ v(ue, {
2291
+ children: [/* @__PURE__ */ v(de, {
2283
2292
  size: 14,
2284
2293
  color: s.foreground,
2285
2294
  className: "mr-2"
@@ -2287,7 +2296,7 @@ function Va({ variant: e = "binary", onThemeChange: t, customTheme: n, className
2287
2296
  }),
2288
2297
  /* @__PURE__ */ y(X, {
2289
2298
  onSelect: () => d("dark"),
2290
- children: [/* @__PURE__ */ v(se, {
2299
+ children: [/* @__PURE__ */ v(ce, {
2291
2300
  size: 14,
2292
2301
  color: s.foreground,
2293
2302
  className: "mr-2"
@@ -2295,7 +2304,7 @@ function Va({ variant: e = "binary", onThemeChange: t, customTheme: n, className
2295
2304
  }),
2296
2305
  /* @__PURE__ */ y(X, {
2297
2306
  onSelect: () => d("system"),
2298
- children: [/* @__PURE__ */ v(de, {
2307
+ children: [/* @__PURE__ */ v(fe, {
2299
2308
  size: 14,
2300
2309
  color: s.foreground,
2301
2310
  className: "mr-2"
@@ -2307,12 +2316,16 @@ function Va({ variant: e = "binary", onThemeChange: t, customTheme: n, className
2307
2316
  size: "icon",
2308
2317
  className: q("relative h-9 w-9", r),
2309
2318
  onPress: () => d(c === "dark" ? "light" : "dark"),
2310
- children: /* @__PURE__ */ v(f, {})
2319
+ children: /* @__PURE__ */ v(Va, {
2320
+ isDark: l,
2321
+ isSystem: u,
2322
+ foreground: s.foreground
2323
+ })
2311
2324
  });
2312
2325
  }
2313
2326
  //#endregion
2314
2327
  //#region src/toaster.tsx
2315
- var Ha = () => {
2328
+ var Ua = () => {
2316
2329
  let { toasts: e } = Ia();
2317
2330
  return /* @__PURE__ */ v(Yi, { children: /* @__PURE__ */ v(h, {
2318
2331
  className: "pointer-events-none absolute right-6 bottom-6 left-6 z-50 flex flex-col gap-2",
@@ -2329,13 +2342,13 @@ var Ha = () => {
2329
2342
  ]
2330
2343
  }, e))
2331
2344
  }) });
2332
- }, Ua = e.createContext(void 0);
2333
- function Wa() {
2334
- let t = e.useContext(Ua);
2345
+ }, Wa = e.createContext(void 0);
2346
+ function Ga() {
2347
+ let t = e.useContext(Wa);
2335
2348
  if (!t) throw Error("useTOC must be used within a TableOfContents provider");
2336
2349
  return t;
2337
2350
  }
2338
- function Ga({ children: t, activeId: n }) {
2351
+ function Ka({ children: t, activeId: n }) {
2339
2352
  let [r, i] = e.useState([]), [a, o] = e.useState(null), s = e.useRef(null), c = e.useMemo(() => {
2340
2353
  let e = n || a;
2341
2354
  return r.find((t) => t.id === e)?.text || null;
@@ -2392,7 +2405,7 @@ function Ga({ children: t, activeId: n }) {
2392
2405
  d,
2393
2406
  f
2394
2407
  ]);
2395
- return /* @__PURE__ */ v(Ua.Provider, {
2408
+ return /* @__PURE__ */ v(Wa.Provider, {
2396
2409
  value: p,
2397
2410
  children: /* @__PURE__ */ v(h, {
2398
2411
  className: "flex-1",
@@ -2400,8 +2413,8 @@ function Ga({ children: t, activeId: n }) {
2400
2413
  })
2401
2414
  });
2402
2415
  }
2403
- function Ka({ children: t, level: n = 2, id: r, className: i }) {
2404
- let { registerHeading: a, unregisterHeading: o } = Wa(), s = r || Ye(t), c = e.useCallback((e) => {
2416
+ function qa({ children: t, level: n = 2, id: r, className: i }) {
2417
+ let { registerHeading: a, unregisterHeading: o } = Ga(), s = r || Ye(t), c = e.useCallback((e) => {
2405
2418
  let { y: r } = e.nativeEvent.layout;
2406
2419
  a(s, t, n, r);
2407
2420
  }, [
@@ -2419,21 +2432,19 @@ function Ka({ children: t, level: n = 2, id: r, className: i }) {
2419
2432
  })
2420
2433
  });
2421
2434
  }
2422
- function qa({ className: e }) {
2423
- let { headings: t, activeId: n, scrollToHeading: r } = Wa();
2424
- if (t.length === 0) return null;
2425
- let i = Math.min(...t.map((e) => e.level));
2426
- return /* @__PURE__ */ y(h, {
2427
- className: q("space-y-2 p-4", e),
2435
+ function Ja({ className: t }) {
2436
+ let { headings: n, activeId: r, scrollToHeading: i } = Ga(), a = e.useMemo(() => n.length === 0 ? 0 : Math.min(...n.map((e) => e.level)), [n]);
2437
+ return n.length === 0 ? null : /* @__PURE__ */ y(h, {
2438
+ className: q("space-y-2 p-4", t),
2428
2439
  children: [/* @__PURE__ */ v(Y, {
2429
2440
  variant: "overline",
2430
2441
  className: "mb-2 font-bold",
2431
2442
  children: "On this page"
2432
- }), t.map((e) => {
2433
- let t = n === e.id;
2443
+ }), n.map((e) => {
2444
+ let t = r === e.id;
2434
2445
  return /* @__PURE__ */ v(m, {
2435
- onPress: () => r(e.id),
2436
- style: { paddingLeft: (e.level - i) * 16 },
2446
+ onPress: () => i(e.id),
2447
+ style: { paddingLeft: (e.level - a) * 16 },
2437
2448
  className: "py-1",
2438
2449
  children: /* @__PURE__ */ v(f, {
2439
2450
  className: q("text-sm", t ? "text-primary font-bold" : "text-muted-foreground"),
@@ -2443,8 +2454,8 @@ function qa({ className: e }) {
2443
2454
  })]
2444
2455
  });
2445
2456
  }
2446
- function Ja({ children: e, className: t }) {
2447
- let { scrollViewRef: n, onScroll: r } = Wa();
2457
+ function Ya({ children: e, className: t }) {
2458
+ let { scrollViewRef: n, onScroll: r } = Ga();
2448
2459
  return /* @__PURE__ */ v(u, {
2449
2460
  ref: n,
2450
2461
  onScroll: r,
@@ -2456,69 +2467,69 @@ function Ja({ children: e, className: t }) {
2456
2467
  children: e
2457
2468
  });
2458
2469
  }
2459
- Ga.List = qa, Ga.Content = Ja, Ga.Heading = Ka;
2470
+ Ka.List = Ja, Ka.Content = Ya, Ka.Heading = qa;
2460
2471
  //#endregion
2461
2472
  //#region src/button-group.tsx
2462
- function Ya({ className: e, orientation: t, ...n }) {
2473
+ function Xa({ className: e, orientation: t, ...n }) {
2463
2474
  return /* @__PURE__ */ v(h, {
2464
2475
  className: q("flex flex-row", e),
2465
2476
  ...n
2466
2477
  });
2467
2478
  }
2468
- function Xa({ className: e, asChild: t, ...n }) {
2479
+ function Za({ className: e, asChild: t, ...n }) {
2469
2480
  return /* @__PURE__ */ v(f, {
2470
2481
  className: q("text-sm font-medium", e),
2471
2482
  ...n
2472
2483
  });
2473
2484
  }
2474
- function Za({ className: e, orientation: t, ...n }) {
2485
+ function Qa({ className: e, orientation: t, ...n }) {
2475
2486
  return /* @__PURE__ */ v(h, {
2476
2487
  className: q("bg-border h-full w-px", e),
2477
2488
  ...n
2478
2489
  });
2479
2490
  }
2480
- var Qa = () => "";
2491
+ var $a = () => "";
2481
2492
  //#endregion
2482
2493
  //#region src/direction.tsx
2483
- function $a({ children: e }) {
2494
+ function eo({ children: e }) {
2484
2495
  return /* @__PURE__ */ v(_, { children: e });
2485
2496
  }
2486
- function eo() {
2497
+ function to() {
2487
2498
  return "ltr";
2488
2499
  }
2489
2500
  //#endregion
2490
2501
  //#region src/empty.tsx
2491
- function to({ className: e, ...t }) {
2502
+ function no({ className: e, ...t }) {
2492
2503
  return /* @__PURE__ */ v(h, {
2493
2504
  className: q("border-border flex w-full items-center justify-center rounded-xl border-2 border-dashed p-6", e),
2494
2505
  ...t
2495
2506
  });
2496
2507
  }
2497
- function no({ className: e, ...t }) {
2508
+ function ro({ className: e, ...t }) {
2498
2509
  return /* @__PURE__ */ v(h, {
2499
2510
  className: q("flex flex-col items-center gap-2", e),
2500
2511
  ...t
2501
2512
  });
2502
2513
  }
2503
- function ro({ className: e, variant: t, ...n }) {
2514
+ function io({ className: e, variant: t, ...n }) {
2504
2515
  return /* @__PURE__ */ v(h, {
2505
2516
  className: q("flex items-center justify-center", e),
2506
2517
  ...n
2507
2518
  });
2508
2519
  }
2509
- function io({ className: e, ...t }) {
2520
+ function ao({ className: e, ...t }) {
2510
2521
  return /* @__PURE__ */ v(f, {
2511
2522
  className: q("text-foreground text-lg font-semibold", e),
2512
2523
  ...t
2513
2524
  });
2514
2525
  }
2515
- function ao({ className: e, ...t }) {
2526
+ function oo({ className: e, ...t }) {
2516
2527
  return /* @__PURE__ */ v(f, {
2517
2528
  className: q("text-muted-foreground text-center text-sm", e),
2518
2529
  ...t
2519
2530
  });
2520
2531
  }
2521
- function oo({ className: e, ...t }) {
2532
+ function so({ className: e, ...t }) {
2522
2533
  return /* @__PURE__ */ v(h, {
2523
2534
  className: q("mt-4 flex flex-col items-center gap-2", e),
2524
2535
  ...t
@@ -2526,7 +2537,7 @@ function oo({ className: e, ...t }) {
2526
2537
  }
2527
2538
  //#endregion
2528
2539
  //#region src/spinner.tsx
2529
- function so({ className: e, ...t }) {
2540
+ function co({ className: e, ...t }) {
2530
2541
  return /* @__PURE__ */ v(n, {
2531
2542
  size: "small",
2532
2543
  ...t
@@ -2534,25 +2545,25 @@ function so({ className: e, ...t }) {
2534
2545
  }
2535
2546
  //#endregion
2536
2547
  //#region src/field.tsx
2537
- function co({ className: e, orientation: t, ...n }) {
2548
+ function lo({ className: e, orientation: t, ...n }) {
2538
2549
  return /* @__PURE__ */ v(h, {
2539
2550
  className: q("flex flex-col gap-2", e),
2540
2551
  ...n
2541
2552
  });
2542
2553
  }
2543
- function lo({ className: e, ...t }) {
2554
+ function uo({ className: e, ...t }) {
2544
2555
  return /* @__PURE__ */ v(h, {
2545
2556
  className: q("flex flex-col", e),
2546
2557
  ...t
2547
2558
  });
2548
2559
  }
2549
- function uo({ className: e, ...t }) {
2560
+ function fo({ className: e, ...t }) {
2550
2561
  return /* @__PURE__ */ v(f, {
2551
2562
  className: q("text-muted-foreground text-sm", e),
2552
2563
  ...t
2553
2564
  });
2554
2565
  }
2555
- function fo({ className: e, errors: t, children: n, ...r }) {
2566
+ function po({ className: e, errors: t, children: n, ...r }) {
2556
2567
  let i = n || t && t[0]?.message;
2557
2568
  return i ? /* @__PURE__ */ v(f, {
2558
2569
  className: q("text-destructive text-sm", e),
@@ -2560,25 +2571,25 @@ function fo({ className: e, errors: t, children: n, ...r }) {
2560
2571
  children: i
2561
2572
  }) : null;
2562
2573
  }
2563
- function po({ className: e, ...t }) {
2574
+ function mo({ className: e, ...t }) {
2564
2575
  return /* @__PURE__ */ v(h, {
2565
2576
  className: q("flex flex-col gap-4", e),
2566
2577
  ...t
2567
2578
  });
2568
2579
  }
2569
- function mo({ className: e, ...t }) {
2580
+ function ho({ className: e, ...t }) {
2570
2581
  return /* @__PURE__ */ v(f, {
2571
2582
  className: q("text-sm font-medium", e),
2572
2583
  ...t
2573
2584
  });
2574
2585
  }
2575
- function ho({ className: e, variant: t, ...n }) {
2586
+ function go({ className: e, variant: t, ...n }) {
2576
2587
  return /* @__PURE__ */ v(f, {
2577
2588
  className: q("font-medium", t === "label" ? "text-sm" : "text-base", e),
2578
2589
  ...n
2579
2590
  });
2580
2591
  }
2581
- function go({ className: e, children: t, ...n }) {
2592
+ function _o({ className: e, children: t, ...n }) {
2582
2593
  return /* @__PURE__ */ v(h, {
2583
2594
  className: q("bg-border my-2 h-px", e),
2584
2595
  ...n,
@@ -2588,13 +2599,13 @@ function go({ className: e, children: t, ...n }) {
2588
2599
  }) : null
2589
2600
  });
2590
2601
  }
2591
- function _o({ className: e, ...t }) {
2602
+ function vo({ className: e, ...t }) {
2592
2603
  return /* @__PURE__ */ v(h, {
2593
2604
  className: q("flex flex-col gap-4", e),
2594
2605
  ...t
2595
2606
  });
2596
2607
  }
2597
- function vo({ className: e, ...t }) {
2608
+ function yo({ className: e, ...t }) {
2598
2609
  return /* @__PURE__ */ v(f, {
2599
2610
  className: q("text-sm font-medium", e),
2600
2611
  ...t
@@ -2602,19 +2613,19 @@ function vo({ className: e, ...t }) {
2602
2613
  }
2603
2614
  //#endregion
2604
2615
  //#region src/input-group.tsx
2605
- function yo({ className: e, ...t }) {
2616
+ function bo({ className: e, ...t }) {
2606
2617
  return /* @__PURE__ */ v(h, {
2607
2618
  className: q("border-input flex flex-row items-center rounded-md border", e),
2608
2619
  ...t
2609
2620
  });
2610
2621
  }
2611
- function bo({ className: e, align: t, ...n }) {
2622
+ function xo({ className: e, align: t, ...n }) {
2612
2623
  return /* @__PURE__ */ v(h, {
2613
2624
  className: q("p-2", e),
2614
2625
  ...n
2615
2626
  });
2616
2627
  }
2617
- function xo({ className: e, type: t, variant: n, size: r, ...i }) {
2628
+ function So({ className: e, type: t, variant: n, size: r, ...i }) {
2618
2629
  return /* @__PURE__ */ v(J, {
2619
2630
  variant: n,
2620
2631
  size: r,
@@ -2622,19 +2633,19 @@ function xo({ className: e, type: t, variant: n, size: r, ...i }) {
2622
2633
  ...i
2623
2634
  });
2624
2635
  }
2625
- function So({ className: e, ...t }) {
2636
+ function Co({ className: e, ...t }) {
2626
2637
  return /* @__PURE__ */ v(f, {
2627
2638
  className: q("text-muted-foreground text-sm", e),
2628
2639
  ...t
2629
2640
  });
2630
2641
  }
2631
- function Co({ className: e, ...t }) {
2642
+ function wo({ className: e, ...t }) {
2632
2643
  return /* @__PURE__ */ v(p, {
2633
2644
  className: q("text-foreground flex-1 px-3 py-2", e),
2634
2645
  ...t
2635
2646
  });
2636
2647
  }
2637
- function wo({ className: e, ...t }) {
2648
+ function To({ className: e, ...t }) {
2638
2649
  return /* @__PURE__ */ v(p, {
2639
2650
  multiline: !0,
2640
2651
  className: q("text-foreground flex-1 px-3 py-2", e),
@@ -2643,7 +2654,7 @@ function wo({ className: e, ...t }) {
2643
2654
  }
2644
2655
  //#endregion
2645
2656
  //#region src/native-select.tsx
2646
- function To({ className: e, size: t, ...n }) {
2657
+ function Eo({ className: e, size: t, ...n }) {
2647
2658
  return /* @__PURE__ */ v(h, {
2648
2659
  className: q("border-input rounded-md border p-2", e),
2649
2660
  ...n,
@@ -2653,13 +2664,13 @@ function To({ className: e, size: t, ...n }) {
2653
2664
  })
2654
2665
  });
2655
2666
  }
2656
- function Eo({ className: e, ...t }) {
2667
+ function Do({ className: e, ...t }) {
2657
2668
  return /* @__PURE__ */ v(h, {
2658
2669
  className: e,
2659
2670
  ...t
2660
2671
  });
2661
2672
  }
2662
- function Do({ className: e, ...t }) {
2673
+ function Oo({ className: e, ...t }) {
2663
2674
  return /* @__PURE__ */ v(h, {
2664
2675
  className: e,
2665
2676
  ...t
@@ -2667,13 +2678,13 @@ function Do({ className: e, ...t }) {
2667
2678
  }
2668
2679
  //#endregion
2669
2680
  //#region src/kbd.tsx
2670
- function Oo({ className: e, ...t }) {
2681
+ function ko({ className: e, ...t }) {
2671
2682
  return /* @__PURE__ */ v(f, {
2672
2683
  className: q("bg-muted text-muted-foreground rounded-sm px-1 font-mono text-xs", e),
2673
2684
  ...t
2674
2685
  });
2675
2686
  }
2676
- function ko({ className: e, ...t }) {
2687
+ function Ao({ className: e, ...t }) {
2677
2688
  return /* @__PURE__ */ v(h, {
2678
2689
  className: q("flex flex-row items-center gap-1", e),
2679
2690
  ...t
@@ -2681,62 +2692,62 @@ function ko({ className: e, ...t }) {
2681
2692
  }
2682
2693
  //#endregion
2683
2694
  //#region src/item.tsx
2684
- function Ao({ className: e, variant: t, size: n, ...r }) {
2695
+ function jo({ className: e, variant: t, size: n, ...r }) {
2685
2696
  return /* @__PURE__ */ v(h, {
2686
2697
  className: q("flex flex-row flex-wrap items-center gap-2 rounded-lg border p-3", e),
2687
2698
  ...r
2688
2699
  });
2689
2700
  }
2690
- function jo({ className: e, ...t }) {
2701
+ function Mo({ className: e, ...t }) {
2691
2702
  return /* @__PURE__ */ v(h, {
2692
2703
  className: q("flex flex-row items-center gap-2", e),
2693
2704
  ...t
2694
2705
  });
2695
2706
  }
2696
- function Mo({ className: e, ...t }) {
2707
+ function No({ className: e, ...t }) {
2697
2708
  return /* @__PURE__ */ v(h, {
2698
2709
  className: q("flex flex-1 flex-col gap-1", e),
2699
2710
  ...t
2700
2711
  });
2701
2712
  }
2702
- function No({ className: e, ...t }) {
2713
+ function Po({ className: e, ...t }) {
2703
2714
  return /* @__PURE__ */ v(Y, {
2704
2715
  variant: "bodySmall",
2705
2716
  className: q("text-muted-foreground", e),
2706
2717
  ...t
2707
2718
  });
2708
2719
  }
2709
- function Po({ className: e, ...t }) {
2720
+ function Fo({ className: e, ...t }) {
2710
2721
  return /* @__PURE__ */ v(h, {
2711
2722
  className: q("flex w-full flex-row items-center justify-between gap-2", e),
2712
2723
  ...t
2713
2724
  });
2714
2725
  }
2715
- function Fo({ className: e, ...t }) {
2726
+ function Io({ className: e, ...t }) {
2716
2727
  return /* @__PURE__ */ v(h, {
2717
2728
  className: q("flex flex-col gap-4", e),
2718
2729
  ...t
2719
2730
  });
2720
2731
  }
2721
- function Io({ className: e, ...t }) {
2732
+ function Lo({ className: e, ...t }) {
2722
2733
  return /* @__PURE__ */ v(h, {
2723
2734
  className: q("flex w-full flex-row items-center justify-between gap-2", e),
2724
2735
  ...t
2725
2736
  });
2726
2737
  }
2727
- function Lo({ className: e, variant: t, ...n }) {
2738
+ function Ro({ className: e, variant: t, ...n }) {
2728
2739
  return /* @__PURE__ */ v(h, {
2729
2740
  className: q("flex shrink-0 items-center justify-center gap-2", e),
2730
2741
  ...n
2731
2742
  });
2732
2743
  }
2733
- function Ro({ className: e, orientation: t, ...n }) {
2744
+ function zo({ className: e, orientation: t, ...n }) {
2734
2745
  return /* @__PURE__ */ v(h, {
2735
2746
  className: q("bg-border my-2 h-px w-full", e),
2736
2747
  ...n
2737
2748
  });
2738
2749
  }
2739
- function zo({ className: e, ...t }) {
2750
+ function Bo({ className: e, ...t }) {
2740
2751
  return /* @__PURE__ */ v(Y, {
2741
2752
  variant: "bodySmall",
2742
2753
  className: q("font-medium", e),
@@ -2745,15 +2756,15 @@ function zo({ className: e, ...t }) {
2745
2756
  }
2746
2757
  //#endregion
2747
2758
  //#region src/combobox.tsx
2748
- var Bo = e.createContext(null);
2759
+ var Vo = e.createContext(null);
2749
2760
  function $() {
2750
- let t = e.useContext(Bo);
2761
+ let t = e.useContext(Vo);
2751
2762
  if (!t) throw Error("Combobox components must be rendered within a Combobox provider");
2752
2763
  return t;
2753
2764
  }
2754
- function Vo({ className: t, value: n, onValueChange: r, ...i }) {
2765
+ function Ho({ className: t, value: n, onValueChange: r, ...i }) {
2755
2766
  let [a, o] = e.useState(!1), [s, c] = e.useState(n || ""), [l, u] = e.useState(""), d = n === void 0 ? s : n;
2756
- return /* @__PURE__ */ v(Bo.Provider, {
2767
+ return /* @__PURE__ */ v(Vo.Provider, {
2757
2768
  value: {
2758
2769
  open: a,
2759
2770
  setOpen: o,
@@ -2774,7 +2785,7 @@ function Vo({ className: t, value: n, onValueChange: r, ...i }) {
2774
2785
  })
2775
2786
  });
2776
2787
  }
2777
- function Ho({ className: e, children: t, ...n }) {
2788
+ function Uo({ className: e, children: t, ...n }) {
2778
2789
  let { value: r } = $();
2779
2790
  return /* @__PURE__ */ v(h, {
2780
2791
  className: e,
@@ -2785,7 +2796,7 @@ function Ho({ className: e, children: t, ...n }) {
2785
2796
  })
2786
2797
  });
2787
2798
  }
2788
- function Uo({ className: e, children: t, ...n }) {
2799
+ function Wo({ className: e, children: t, ...n }) {
2789
2800
  return /* @__PURE__ */ v(jn, {
2790
2801
  asChild: !0,
2791
2802
  children: /* @__PURE__ */ y(l, {
@@ -2801,19 +2812,19 @@ function Uo({ className: e, children: t, ...n }) {
2801
2812
  })
2802
2813
  });
2803
2814
  }
2804
- function Wo({ className: e, children: t, ...n }) {
2815
+ function Go({ className: e, children: t, ...n }) {
2805
2816
  let { setValue: r } = $();
2806
2817
  return /* @__PURE__ */ v(l, {
2807
2818
  className: q("flex items-center justify-center p-1", e),
2808
2819
  onPress: () => r(""),
2809
2820
  ...n,
2810
- children: t || /* @__PURE__ */ v(D, {
2821
+ children: t || /* @__PURE__ */ v(E, {
2811
2822
  size: 14,
2812
2823
  className: "text-muted-foreground"
2813
2824
  })
2814
2825
  });
2815
2826
  }
2816
- function Go({ className: e, showClear: t, showTrigger: n, placeholder: r = "Search...", ...i }) {
2827
+ function Ko({ className: e, showClear: t, showTrigger: n, placeholder: r = "Search...", ...i }) {
2817
2828
  let { searchQuery: a, setSearchQuery: o } = $();
2818
2829
  return /* @__PURE__ */ v(h, {
2819
2830
  className: "border-border flex flex-row items-center border-b px-3",
@@ -2823,12 +2834,11 @@ function Go({ className: e, showClear: t, showTrigger: n, placeholder: r = "Sear
2823
2834
  placeholderTextColor: "#a1a1aa",
2824
2835
  value: a,
2825
2836
  onChangeText: o,
2826
- autoFocus: !0,
2827
2837
  ...i
2828
2838
  })
2829
2839
  });
2830
2840
  }
2831
- function Ko({ className: e, side: t, sideOffset: n, align: r, alignOffset: i, anchor: a, ...o }) {
2841
+ function qo({ className: e, side: t, sideOffset: n, align: r, alignOffset: i, anchor: a, ...o }) {
2832
2842
  return /* @__PURE__ */ v(Fn, {
2833
2843
  className: "p-0",
2834
2844
  children: /* @__PURE__ */ v(h, {
@@ -2837,13 +2847,13 @@ function Ko({ className: e, side: t, sideOffset: n, align: r, alignOffset: i, an
2837
2847
  })
2838
2848
  });
2839
2849
  }
2840
- function qo({ className: e, ...t }) {
2850
+ function Jo({ className: e, ...t }) {
2841
2851
  return /* @__PURE__ */ v(h, {
2842
2852
  className: q("max-h-[300px] overflow-hidden", e),
2843
2853
  ...t
2844
2854
  });
2845
2855
  }
2846
- function Jo({ className: t, children: n, value: r, ...i }) {
2856
+ function Yo({ className: t, children: n, value: r, ...i }) {
2847
2857
  let { value: a, setValue: o, searchQuery: s } = $(), c = e.Children.toArray(n).join("").toLowerCase();
2848
2858
  if (s && !c.includes(s.toLowerCase()) && !r.toLowerCase().includes(s.toLowerCase())) return null;
2849
2859
  let u = a === r;
@@ -2863,25 +2873,25 @@ function Jo({ className: t, children: n, value: r, ...i }) {
2863
2873
  })]
2864
2874
  });
2865
2875
  }
2866
- function Yo({ className: e, ...t }) {
2876
+ function Xo({ className: e, ...t }) {
2867
2877
  return /* @__PURE__ */ v(h, {
2868
2878
  className: q("text-foreground overflow-hidden p-1", e),
2869
2879
  ...t
2870
2880
  });
2871
2881
  }
2872
- function Xo({ className: e, ...t }) {
2882
+ function Zo({ className: e, ...t }) {
2873
2883
  return /* @__PURE__ */ v(h, {
2874
2884
  className: q("text-muted-foreground px-2 py-1.5 text-xs font-semibold", e),
2875
2885
  ...t
2876
2886
  });
2877
2887
  }
2878
- function Zo({ className: e, ...t }) {
2888
+ function Qo({ className: e, ...t }) {
2879
2889
  return /* @__PURE__ */ v(h, {
2880
2890
  className: e,
2881
2891
  ...t
2882
2892
  });
2883
2893
  }
2884
- function Qo({ className: e, children: t, ...n }) {
2894
+ function $o({ className: e, children: t, ...n }) {
2885
2895
  let { searchQuery: r } = $();
2886
2896
  return r ? /* @__PURE__ */ v(h, {
2887
2897
  className: q("py-6 text-center text-sm", e),
@@ -2892,40 +2902,40 @@ function Qo({ className: e, children: t, ...n }) {
2892
2902
  })
2893
2903
  }) : null;
2894
2904
  }
2895
- function $o({ className: e, ...t }) {
2905
+ function es({ className: e, ...t }) {
2896
2906
  return /* @__PURE__ */ v(h, {
2897
2907
  className: q("bg-muted -mx-1 h-px", e),
2898
2908
  ...t
2899
2909
  });
2900
2910
  }
2901
- function es({ className: e, ...t }) {
2911
+ function ts({ className: e, ...t }) {
2902
2912
  return /* @__PURE__ */ v(h, {
2903
2913
  className: q("flex flex-row flex-wrap gap-1", e),
2904
2914
  ...t
2905
2915
  });
2906
2916
  }
2907
- function ts({ className: e, showRemove: t, children: n, ...r }) {
2917
+ function ns({ className: e, showRemove: t, children: n, ...r }) {
2908
2918
  return /* @__PURE__ */ y(h, {
2909
2919
  className: q("bg-secondary text-secondary-foreground flex flex-row items-center rounded-md px-2 py-1", e),
2910
2920
  ...r,
2911
- children: [K(n, Y, { className: "text-xs" }), t && /* @__PURE__ */ v(D, {
2921
+ children: [K(n, Y, { className: "text-xs" }), t && /* @__PURE__ */ v(E, {
2912
2922
  size: 12,
2913
2923
  className: "ml-1 opacity-50"
2914
2924
  })]
2915
2925
  });
2916
2926
  }
2917
- function ns({ className: e, ...t }) {
2927
+ function rs({ className: e, ...t }) {
2918
2928
  return /* @__PURE__ */ v(p, {
2919
2929
  className: q("flex-1 bg-transparent px-2 py-1 outline-none", e),
2920
2930
  ...t
2921
2931
  });
2922
2932
  }
2923
- function rs() {
2933
+ function is() {
2924
2934
  return e.useRef(null);
2925
2935
  }
2926
2936
  //#endregion
2927
2937
  //#region src/input-otp.tsx
2928
- function is({ className: e, containerClassName: t, ...n }) {
2938
+ function as({ className: e, containerClassName: t, ...n }) {
2929
2939
  return /* @__PURE__ */ v(h, {
2930
2940
  className: q("border-destructive/50 rounded-md border border-dashed p-4", t, e),
2931
2941
  ...n,
@@ -2935,19 +2945,19 @@ function is({ className: e, containerClassName: t, ...n }) {
2935
2945
  })
2936
2946
  });
2937
2947
  }
2938
- function as({ className: e, ...t }) {
2948
+ function os({ className: e, ...t }) {
2939
2949
  return /* @__PURE__ */ v(h, {
2940
2950
  className: e,
2941
2951
  ...t
2942
2952
  });
2943
2953
  }
2944
- function os({ className: e, index: t, ...n }) {
2954
+ function ss({ className: e, index: t, ...n }) {
2945
2955
  return /* @__PURE__ */ v(h, {
2946
2956
  className: e,
2947
2957
  ...n
2948
2958
  });
2949
2959
  }
2950
- function ss({ className: e, ...t }) {
2960
+ function cs({ className: e, ...t }) {
2951
2961
  return /* @__PURE__ */ v(h, {
2952
2962
  className: e,
2953
2963
  ...t
@@ -2955,13 +2965,13 @@ function ss({ className: e, ...t }) {
2955
2965
  }
2956
2966
  //#endregion
2957
2967
  //#region src/sidebar.tsx
2958
- function cs({ className: e, defaultOpen: t, open: n, onOpenChange: r, ...i }) {
2968
+ function ls({ className: e, defaultOpen: t, open: n, onOpenChange: r, ...i }) {
2959
2969
  return /* @__PURE__ */ v(h, {
2960
2970
  className: e,
2961
2971
  ...i
2962
2972
  });
2963
2973
  }
2964
- function ls({ className: e, side: t, variant: n, collapsible: r, ...i }) {
2974
+ function us({ className: e, side: t, variant: n, collapsible: r, ...i }) {
2965
2975
  return /* @__PURE__ */ v(h, {
2966
2976
  className: q("border-destructive/50 rounded-md border border-dashed p-4", e),
2967
2977
  ...i,
@@ -2971,14 +2981,8 @@ function ls({ className: e, side: t, variant: n, collapsible: r, ...i }) {
2971
2981
  })
2972
2982
  });
2973
2983
  }
2974
- function us({ className: e, ...t }) {
2975
- return /* @__PURE__ */ v(l, {
2976
- className: e,
2977
- ...t
2978
- });
2979
- }
2980
2984
  function ds({ className: e, ...t }) {
2981
- return /* @__PURE__ */ v(h, {
2985
+ return /* @__PURE__ */ v(l, {
2982
2986
  className: e,
2983
2987
  ...t
2984
2988
  });
@@ -3025,79 +3029,85 @@ function vs({ className: e, ...t }) {
3025
3029
  ...t
3026
3030
  });
3027
3031
  }
3028
- function ys({ className: e, asChild: t, ...n }) {
3032
+ function ys({ className: e, ...t }) {
3029
3033
  return /* @__PURE__ */ v(h, {
3030
3034
  className: e,
3031
- ...n
3035
+ ...t
3032
3036
  });
3033
3037
  }
3034
3038
  function bs({ className: e, asChild: t, ...n }) {
3039
+ return /* @__PURE__ */ v(h, {
3040
+ className: e,
3041
+ ...n
3042
+ });
3043
+ }
3044
+ function xs({ className: e, asChild: t, ...n }) {
3035
3045
  return /* @__PURE__ */ v(l, {
3036
3046
  className: e,
3037
3047
  ...n
3038
3048
  });
3039
3049
  }
3040
- function xs({ className: e, ...t }) {
3050
+ function Ss({ className: e, ...t }) {
3041
3051
  return /* @__PURE__ */ v(h, {
3042
3052
  className: e,
3043
3053
  ...t
3044
3054
  });
3045
3055
  }
3046
- function Ss({ className: e, ...t }) {
3056
+ function Cs({ className: e, ...t }) {
3047
3057
  return /* @__PURE__ */ v(h, {
3048
3058
  className: e,
3049
3059
  ...t
3050
3060
  });
3051
3061
  }
3052
- function Cs({ className: e, ...t }) {
3062
+ function ws({ className: e, ...t }) {
3053
3063
  return /* @__PURE__ */ v(h, {
3054
3064
  className: e,
3055
3065
  ...t
3056
3066
  });
3057
3067
  }
3058
- function ws({ className: e, asChild: t, isActive: n, variant: r, size: i, tooltip: a, ...o }) {
3068
+ function Ts({ className: e, asChild: t, isActive: n, variant: r, size: i, tooltip: a, ...o }) {
3059
3069
  return /* @__PURE__ */ v(l, {
3060
3070
  className: e,
3061
3071
  ...o
3062
3072
  });
3063
3073
  }
3064
- function Ts({ className: e, asChild: t, showOnHover: n, ...r }) {
3074
+ function Es({ className: e, asChild: t, showOnHover: n, ...r }) {
3065
3075
  return /* @__PURE__ */ v(l, {
3066
3076
  className: e,
3067
3077
  ...r
3068
3078
  });
3069
3079
  }
3070
- function Es({ className: e, ...t }) {
3080
+ function Ds({ className: e, ...t }) {
3071
3081
  return /* @__PURE__ */ v(h, {
3072
3082
  className: e,
3073
3083
  ...t
3074
3084
  });
3075
3085
  }
3076
- function Ds({ className: e, showIcon: t, ...n }) {
3086
+ function Os({ className: e, showIcon: t, ...n }) {
3077
3087
  return /* @__PURE__ */ v(h, {
3078
3088
  className: e,
3079
3089
  ...n
3080
3090
  });
3081
3091
  }
3082
- function Os({ className: e, ...t }) {
3092
+ function ks({ className: e, ...t }) {
3083
3093
  return /* @__PURE__ */ v(h, {
3084
3094
  className: e,
3085
3095
  ...t
3086
3096
  });
3087
3097
  }
3088
- function ks({ className: e, ...t }) {
3098
+ function As({ className: e, ...t }) {
3089
3099
  return /* @__PURE__ */ v(h, {
3090
3100
  className: e,
3091
3101
  ...t
3092
3102
  });
3093
3103
  }
3094
- function As({ className: e, asChild: t, size: n, isActive: r, ...i }) {
3104
+ function js({ className: e, asChild: t, size: n, isActive: r, ...i }) {
3095
3105
  return /* @__PURE__ */ v(l, {
3096
3106
  className: e,
3097
3107
  ...i
3098
3108
  });
3099
3109
  }
3100
- function js() {
3110
+ function Ms() {
3101
3111
  return {
3102
3112
  state: "expanded",
3103
3113
  open: !0,
@@ -3109,4 +3119,133 @@ function js() {
3109
3119
  };
3110
3120
  }
3111
3121
  //#endregion
3112
- export { Xe as Accordion, et as AccordionContent, Ze as AccordionItem, $e as AccordionTrigger, nt as Alert, it as AlertDescription, st as AlertDialog, gt as AlertDialogAction, _t as AlertDialogCancel, dt as AlertDialogContent, ht as AlertDialogDescription, pt as AlertDialogFooter, ft as AlertDialogHeader, ut as AlertDialogOverlay, lt as AlertDialogPortal, mt as AlertDialogTitle, ct as AlertDialogTrigger, rt as AlertTitle, vt as AspectRatio, yt as Avatar, xt as AvatarFallback, bt as AvatarImage, wt as Badge, Dt as Breadcrumb, Nt as BreadcrumbEllipsis, kt as BreadcrumbItem, At as BreadcrumbLink, Ot as BreadcrumbList, jt as BreadcrumbPage, Mt as BreadcrumbSeparator, J as Button, Ya as ButtonGroup, Za as ButtonGroupSeparator, Xa as ButtonGroupText, Pt as Calendar, Ft as Card, zt as CardContent, Rt as CardDescription, Bt as CardFooter, It as CardHeader, Lt as CardTitle, Ut as Carousel, Wt as CarouselContent, Gt as CarouselItem, qt as CarouselNext, Kt as CarouselPrevious, Jt as ChartContainer, Qt as ChartLegend, Xt as ChartLegendContent, $t as ChartStyle, Zt as ChartTooltip, Yt as ChartTooltipContent, en as Checkbox, tn as Collapsible, rn as CollapsibleContent, nn as CollapsibleTrigger, Vo as Combobox, ts as ComboboxChip, es as ComboboxChips, ns as ComboboxChipsInput, Wo as ComboboxClear, Zo as ComboboxCollection, Ko as ComboboxContent, Qo as ComboboxEmpty, Yo as ComboboxGroup, Go as ComboboxInput, Jo as ComboboxItem, Xo as ComboboxLabel, qo as ComboboxList, $o as ComboboxSeparator, Uo as ComboboxTrigger, Ho as ComboboxValue, an as Command, on as CommandDialog, ln as CommandEmpty, un as CommandGroup, sn as CommandInput, dn as CommandItem, cn as CommandList, fn as CommandSeparator, pn as CommandShortcut, mn as ContextMenu, Cn as ContextMenuCheckboxItem, xn as ContextMenuContent, _n as ContextMenuGroup, Sn as ContextMenuItem, Tn as ContextMenuLabel, gn as ContextMenuPortal, vn as ContextMenuRadioGroup, wn as ContextMenuRadioItem, En as ContextMenuSeparator, Dn as ContextMenuShortcut, yn as ContextMenuSub, kn as ContextMenuSubContent, On as ContextMenuSubTrigger, hn as ContextMenuTrigger, An as Dialog, Nn as DialogClose, Fn as DialogContent, zn as DialogDescription, Ln as DialogFooter, In as DialogHeader, Rn as DialogTitle, jn as DialogTrigger, $a as DirectionProvider, Bn as Drawer, qn as DrawerClose, Wn as DrawerContent, Yn as DrawerDescription, Kn as DrawerFooter, Gn as DrawerHeader, Un as DrawerOverlay, Hn as DrawerPortal, Jn as DrawerTitle, Vn as DrawerTrigger, Xn as DropdownMenu, ir as DropdownMenuCheckboxItem, rr as DropdownMenuContent, $n as DropdownMenuGroup, X as DropdownMenuItem, or as DropdownMenuLabel, Qn as DropdownMenuPortal, er as DropdownMenuRadioGroup, ar as DropdownMenuRadioItem, sr as DropdownMenuSeparator, cr as DropdownMenuShortcut, tr as DropdownMenuSub, ur as DropdownMenuSubContent, lr as DropdownMenuSubTrigger, Zn as DropdownMenuTrigger, to as Empty, oo as EmptyContent, ao as EmptyDescription, no as EmptyHeader, ro as EmptyMedia, io as EmptyTitle, co as Field, lo as FieldContent, uo as FieldDescription, fo as FieldError, po as FieldGroup, mo as FieldLabel, ho as FieldLegend, go as FieldSeparator, _o as FieldSet, vo as FieldTitle, fr as Form, vr as FormControl, yr as FormDescription, mr as FormField, gr as FormItem, _r as FormLabel, br as FormMessage, xr as HoverCard, Cr as HoverCardContent, Sr as HoverCardTrigger, wr as Input, yo as InputGroup, bo as InputGroupAddon, xo as InputGroupButton, Co as InputGroupInput, So as InputGroupText, wo as InputGroupTextarea, is as InputOTP, as as InputOTPGroup, ss as InputOTPSeparator, os as InputOTPSlot, Ao as Item, jo as ItemActions, Mo as ItemContent, No as ItemDescription, Po as ItemFooter, Fo as ItemGroup, Io as ItemHeader, Lo as ItemMedia, Ro as ItemSeparator, zo as ItemTitle, Oo as Kbd, ko as KbdGroup, dr as Label, Tr as Menubar, Fr as MenubarCheckboxItem, Nr as MenubarContent, Or as MenubarGroup, Pr as MenubarItem, Lr as MenubarLabel, Er as MenubarMenu, Dr as MenubarPortal, kr as MenubarRadioGroup, Ir as MenubarRadioItem, Rr as MenubarSeparator, zr as MenubarShortcut, Ar as MenubarSub, Vr as MenubarSubContent, Br as MenubarSubTrigger, Mr as MenubarTrigger, To as NativeSelect, Do as NativeSelectOptGroup, Eo as NativeSelectOption, Hr as NavigationMenu, Kr as NavigationMenuContent, Yr as NavigationMenuIndicator, Wr as NavigationMenuItem, qr as NavigationMenuLink, Ur as NavigationMenuList, Gr as NavigationMenuTrigger, Jr as NavigationMenuViewport, Xr as Pagination, Zr as PaginationContent, ni as PaginationEllipsis, Qr as PaginationItem, $r as PaginationLink, ti as PaginationNext, ei as PaginationPrevious, ii as Popover, oi as PopoverAnchor, si as PopoverContent, ai as PopoverTrigger, ci as Progress, li as RadioGroup, ui as RadioGroupItem, pi as ResizableHandle, fi as ResizablePanel, di as ResizablePanelGroup, mi as ScrollArea, Oi as ScrollToTop, gi as Search, vi as Select, wi as SelectContent, yi as SelectGroup, Ei as SelectItem, Ti as SelectLabel, Ci as SelectScrollDownButton, Si as SelectScrollUpButton, Di as SelectSeparator, xi as SelectTrigger, bi as SelectValue, Ii as Separator, Li as Sheet, zi as SheetClose, Hi as SheetContent, Ki as SheetDescription, Wi as SheetFooter, Ui as SheetHeader, Vi as SheetOverlay, Bi as SheetPortal, Gi as SheetTitle, Ri as SheetTrigger, ls as Sidebar, _s as SidebarContent, hs as SidebarFooter, vs as SidebarGroup, bs as SidebarGroupAction, xs as SidebarGroupContent, ys as SidebarGroupLabel, ms as SidebarHeader, ps as SidebarInput, fs as SidebarInset, Ss as SidebarMenu, Ts as SidebarMenuAction, Es as SidebarMenuBadge, ws as SidebarMenuButton, Cs as SidebarMenuItem, Ds as SidebarMenuSkeleton, Os as SidebarMenuSub, As as SidebarMenuSubButton, ks as SidebarMenuSubItem, cs as SidebarProvider, ds as SidebarRail, gs as SidebarSeparator, us as SidebarTrigger, qi as Skeleton, Ji as Slider, na as Sonner, so as Spinner, Fi as SupportFab, ra as Switch, ia as Table, oa as TableBody, da as TableCaption, ua as TableCell, sa as TableFooter, la as TableHead, aa as TableHeader, Ga as TableOfContents, Ja as TableOfContentsContent, Ka as TableOfContentsHeading, qa as TableOfContentsList, ca as TableRow, fa as Tabs, ha as TabsContent, pa as TabsList, ma as TabsTrigger, Y as Text, ga as Textarea, Ra as ThemeProvider, Va as ThemeToggle, Zi as Toast, Ha as Toaster, _a as Toggle, ya as ToggleGroup, ba as ToggleGroupItem, xa as Tooltip, Ca as TooltipContent, wa as TooltipProvider, Sa as TooltipTrigger, St as badgeVariants, Qa as buttonGroupVariants, at as buttonVariants, q as cn, Et as textVariants, Fa as toast, We as toggleVariants, rs as useComboboxAnchor, eo as useDirection, Z as useFormField, js as useSidebar, za as useTheme, Ia as useToast, K as wrapTextChildren };
3122
+ //#region src/attachment.tsx
3123
+ var Ns = ({ children: e, className: t }) => /* @__PURE__ */ v(h, {
3124
+ className: t,
3125
+ children: e
3126
+ }), Ps = ({ children: e, className: t }) => /* @__PURE__ */ v(h, {
3127
+ className: t,
3128
+ children: e
3129
+ }), Fs = ({ children: e, className: t }) => /* @__PURE__ */ v(h, {
3130
+ className: t,
3131
+ children: e
3132
+ }), Is = ({ children: e, className: t }) => /* @__PURE__ */ v(h, {
3133
+ className: t,
3134
+ children: e
3135
+ }), Ls = ({ children: e, className: t }) => /* @__PURE__ */ v(h, {
3136
+ className: t,
3137
+ children: e
3138
+ }), Rs = ({ children: e, className: t }) => /* @__PURE__ */ v(h, {
3139
+ className: t,
3140
+ children: e
3141
+ }), zs = ({ children: e, className: t }) => /* @__PURE__ */ v(h, {
3142
+ className: t,
3143
+ children: e
3144
+ }), Bs = ({ children: e, className: t }) => /* @__PURE__ */ v(l, {
3145
+ className: t,
3146
+ children: e
3147
+ }), Vs = ({ children: e, className: t }) => /* @__PURE__ */ v(h, {
3148
+ className: t,
3149
+ children: e
3150
+ }), Hs = ({ children: e, className: t }) => /* @__PURE__ */ v(h, {
3151
+ className: t,
3152
+ children: e
3153
+ }), Us = ({ children: e, className: t }) => /* @__PURE__ */ v(h, {
3154
+ className: t,
3155
+ children: e
3156
+ }), Ws = ({ children: e, className: t }) => /* @__PURE__ */ v(h, {
3157
+ className: t,
3158
+ children: e
3159
+ }), Gs = ({ children: e, className: t }) => /* @__PURE__ */ v(h, {
3160
+ className: t,
3161
+ children: e
3162
+ }), Ks = ({ children: e, className: t }) => /* @__PURE__ */ v(h, {
3163
+ className: t,
3164
+ children: e
3165
+ }), qs = ({ children: e, className: t }) => /* @__PURE__ */ v(h, {
3166
+ className: t,
3167
+ children: e
3168
+ }), Js = ({ children: e, className: t }) => /* @__PURE__ */ v(h, {
3169
+ className: t,
3170
+ children: e
3171
+ }), Ys = ({ children: e, className: t }) => /* @__PURE__ */ v(h, {
3172
+ className: t,
3173
+ children: e
3174
+ }), Xs = ({ children: e, className: t }) => /* @__PURE__ */ v(h, {
3175
+ className: t,
3176
+ children: e
3177
+ }), Zs = ({ children: e, className: t }) => /* @__PURE__ */ v(h, {
3178
+ className: t,
3179
+ children: e
3180
+ }), Qs = ({ children: e, className: t }) => /* @__PURE__ */ v(h, {
3181
+ className: t,
3182
+ children: e
3183
+ }), $s = ({ children: e, className: t }) => /* @__PURE__ */ v(h, {
3184
+ className: t,
3185
+ children: e
3186
+ }), ec = ({ children: e, className: t }) => /* @__PURE__ */ v(h, {
3187
+ className: t,
3188
+ children: e
3189
+ }), tc = ({ children: e }) => /* @__PURE__ */ v(_, { children: e }), nc = ({ children: e, className: t }) => /* @__PURE__ */ v(h, {
3190
+ className: t,
3191
+ children: e
3192
+ }), rc = ({ children: e, className: t }) => /* @__PURE__ */ v(u, {
3193
+ className: t,
3194
+ children: e
3195
+ }), ic = ({ children: e, className: t }) => /* @__PURE__ */ v(h, {
3196
+ className: t,
3197
+ children: e
3198
+ }), ac = ({ children: e, className: t }) => /* @__PURE__ */ v(h, {
3199
+ className: t,
3200
+ children: e
3201
+ }), oc = ({ children: e, className: t }) => /* @__PURE__ */ v(l, {
3202
+ className: t,
3203
+ children: e
3204
+ }), sc = ({ children: e, className: t }) => /* @__PURE__ */ v(h, {
3205
+ className: t,
3206
+ children: e
3207
+ }), cc = ({ children: e, className: t }) => /* @__PURE__ */ v(h, {
3208
+ className: t,
3209
+ children: e
3210
+ }), lc = ({ children: e, className: t }) => /* @__PURE__ */ v(h, {
3211
+ className: t,
3212
+ children: e
3213
+ }), uc = ({ children: e, className: t }) => /* @__PURE__ */ v(h, {
3214
+ className: t,
3215
+ children: e
3216
+ }), dc = ({ children: e, className: t }) => /* @__PURE__ */ v(h, {
3217
+ className: t,
3218
+ children: e
3219
+ }), fc = ({ children: e, className: t }) => /* @__PURE__ */ v(h, {
3220
+ className: t,
3221
+ children: e
3222
+ }), pc = ({ children: e, className: t }) => /* @__PURE__ */ v(l, {
3223
+ className: t,
3224
+ children: e
3225
+ }), mc = ({ children: e, className: t }) => /* @__PURE__ */ v(h, {
3226
+ className: t,
3227
+ children: e
3228
+ }), hc = ({ children: e, className: t }) => /* @__PURE__ */ v(h, {
3229
+ className: t,
3230
+ children: e
3231
+ }), gc = ({ children: e, className: t }) => /* @__PURE__ */ v(h, {
3232
+ className: t,
3233
+ children: e
3234
+ }), _c = ({ children: e, className: t }) => /* @__PURE__ */ v(h, {
3235
+ className: t,
3236
+ children: e
3237
+ }), vc = ({ children: e, className: t }) => /* @__PURE__ */ v(l, {
3238
+ className: t,
3239
+ children: e
3240
+ }), yc = ({ children: e, className: t }) => /* @__PURE__ */ v(l, {
3241
+ className: t,
3242
+ children: e
3243
+ }), bc = ({ children: e, className: t }) => /* @__PURE__ */ v(l, {
3244
+ className: t,
3245
+ children: e
3246
+ }), xc = ({ children: e, className: t }) => /* @__PURE__ */ v(l, {
3247
+ className: t,
3248
+ children: e
3249
+ });
3250
+ //#endregion
3251
+ export { Xe as Accordion, et as AccordionContent, Ze as AccordionItem, $e as AccordionTrigger, nt as Alert, it as AlertDescription, st as AlertDialog, gt as AlertDialogAction, _t as AlertDialogCancel, dt as AlertDialogContent, ht as AlertDialogDescription, pt as AlertDialogFooter, ft as AlertDialogHeader, ut as AlertDialogOverlay, lt as AlertDialogPortal, mt as AlertDialogTitle, ct as AlertDialogTrigger, rt as AlertTitle, vt as AspectRatio, Ns as Attachment, zs as AttachmentAction, Rs as AttachmentActions, Fs as AttachmentContent, Ls as AttachmentDescription, Vs as AttachmentGroup, Ps as AttachmentMedia, Is as AttachmentTitle, Bs as AttachmentTrigger, yt as Avatar, xt as AvatarFallback, bt as AvatarImage, wt as Badge, Dt as Breadcrumb, Nt as BreadcrumbEllipsis, kt as BreadcrumbItem, At as BreadcrumbLink, Ot as BreadcrumbList, jt as BreadcrumbPage, Mt as BreadcrumbSeparator, Us as Bubble, Ws as BubbleContent, Hs as BubbleGroup, Gs as BubbleReactions, J as Button, Xa as ButtonGroup, Qa as ButtonGroupSeparator, Za as ButtonGroupText, Pt as Calendar, Ft as Card, zt as CardContent, Rt as CardDescription, Bt as CardFooter, It as CardHeader, Lt as CardTitle, Ut as Carousel, Wt as CarouselContent, Gt as CarouselItem, qt as CarouselNext, Kt as CarouselPrevious, Jt as ChartContainer, Qt as ChartLegend, Xt as ChartLegendContent, $t as ChartStyle, Zt as ChartTooltip, Yt as ChartTooltipContent, en as Checkbox, tn as Collapsible, rn as CollapsibleContent, nn as CollapsibleTrigger, Ho as Combobox, ns as ComboboxChip, ts as ComboboxChips, rs as ComboboxChipsInput, Go as ComboboxClear, Qo as ComboboxCollection, qo as ComboboxContent, $o as ComboboxEmpty, Xo as ComboboxGroup, Ko as ComboboxInput, Yo as ComboboxItem, Zo as ComboboxLabel, Jo as ComboboxList, es as ComboboxSeparator, Wo as ComboboxTrigger, Uo as ComboboxValue, an as Command, on as CommandDialog, ln as CommandEmpty, un as CommandGroup, sn as CommandInput, dn as CommandItem, cn as CommandList, fn as CommandSeparator, pn as CommandShortcut, mn as ContextMenu, Cn as ContextMenuCheckboxItem, xn as ContextMenuContent, _n as ContextMenuGroup, Sn as ContextMenuItem, Tn as ContextMenuLabel, gn as ContextMenuPortal, vn as ContextMenuRadioGroup, wn as ContextMenuRadioItem, En as ContextMenuSeparator, Dn as ContextMenuShortcut, yn as ContextMenuSub, kn as ContextMenuSubContent, On as ContextMenuSubTrigger, hn as ContextMenuTrigger, An as Dialog, Nn as DialogClose, Fn as DialogContent, zn as DialogDescription, Ln as DialogFooter, In as DialogHeader, Rn as DialogTitle, jn as DialogTrigger, eo as DirectionProvider, Bn as Drawer, qn as DrawerClose, Wn as DrawerContent, Yn as DrawerDescription, Kn as DrawerFooter, Gn as DrawerHeader, Un as DrawerOverlay, Hn as DrawerPortal, Jn as DrawerTitle, Vn as DrawerTrigger, Xn as DropdownMenu, ir as DropdownMenuCheckboxItem, rr as DropdownMenuContent, $n as DropdownMenuGroup, X as DropdownMenuItem, or as DropdownMenuLabel, Qn as DropdownMenuPortal, er as DropdownMenuRadioGroup, ar as DropdownMenuRadioItem, sr as DropdownMenuSeparator, cr as DropdownMenuShortcut, tr as DropdownMenuSub, ur as DropdownMenuSubContent, lr as DropdownMenuSubTrigger, Zn as DropdownMenuTrigger, no as Empty, so as EmptyContent, oo as EmptyDescription, ro as EmptyHeader, io as EmptyMedia, ao as EmptyTitle, lo as Field, uo as FieldContent, fo as FieldDescription, po as FieldError, mo as FieldGroup, ho as FieldLabel, go as FieldLegend, _o as FieldSeparator, vo as FieldSet, yo as FieldTitle, fr as Form, vr as FormControl, yr as FormDescription, mr as FormField, gr as FormItem, _r as FormLabel, br as FormMessage, xr as HoverCard, Cr as HoverCardContent, Sr as HoverCardTrigger, wr as Input, bo as InputGroup, xo as InputGroupAddon, So as InputGroupButton, wo as InputGroupInput, Co as InputGroupText, To as InputGroupTextarea, as as InputOTP, os as InputOTPGroup, cs as InputOTPSeparator, ss as InputOTPSlot, jo as Item, Mo as ItemActions, No as ItemContent, Po as ItemDescription, Fo as ItemFooter, Io as ItemGroup, Lo as ItemHeader, Ro as ItemMedia, zo as ItemSeparator, Bo as ItemTitle, ko as Kbd, Ao as KbdGroup, dr as Label, Ks as Marker, Js as MarkerContent, qs as MarkerIcon, Tr as Menubar, Fr as MenubarCheckboxItem, Nr as MenubarContent, Or as MenubarGroup, Pr as MenubarItem, Lr as MenubarLabel, Er as MenubarMenu, Dr as MenubarPortal, kr as MenubarRadioGroup, Ir as MenubarRadioItem, Rr as MenubarSeparator, zr as MenubarShortcut, Ar as MenubarSub, Vr as MenubarSubContent, Br as MenubarSubTrigger, Mr as MenubarTrigger, Xs as Message, Zs as MessageAvatar, Qs as MessageContent, ec as MessageFooter, Ys as MessageGroup, $s as MessageHeader, nc as MessageScroller, oc as MessageScrollerButton, ic as MessageScrollerContent, ac as MessageScrollerItem, tc as MessageScrollerProvider, rc as MessageScrollerViewport, Eo as NativeSelect, Oo as NativeSelectOptGroup, Do as NativeSelectOption, Hr as NavigationMenu, Kr as NavigationMenuContent, Yr as NavigationMenuIndicator, Wr as NavigationMenuItem, qr as NavigationMenuLink, Ur as NavigationMenuList, Gr as NavigationMenuTrigger, Jr as NavigationMenuViewport, Xr as Pagination, Zr as PaginationContent, ni as PaginationEllipsis, Qr as PaginationItem, $r as PaginationLink, ti as PaginationNext, ei as PaginationPrevious, ii as Popover, oi as PopoverAnchor, si as PopoverContent, ai as PopoverTrigger, ci as Progress, sc as Questionnaire, _c as QuestionnaireActions, pc as QuestionnaireChoice, mc as QuestionnaireChoiceDescription, fc as QuestionnaireChoices, dc as QuestionnaireDescription, gc as QuestionnaireError, hc as QuestionnaireInput, lc as QuestionnaireItem, bc as QuestionnaireNext, vc as QuestionnairePrevious, cc as QuestionnaireProgress, yc as QuestionnaireSkip, xc as QuestionnaireSubmit, uc as QuestionnaireTitle, li as RadioGroup, ui as RadioGroupItem, pi as ResizableHandle, fi as ResizablePanel, di as ResizablePanelGroup, mi as ScrollArea, Oi as ScrollToTop, gi as Search, vi as Select, wi as SelectContent, yi as SelectGroup, Ei as SelectItem, Ti as SelectLabel, Ci as SelectScrollDownButton, Si as SelectScrollUpButton, Di as SelectSeparator, xi as SelectTrigger, bi as SelectValue, Ii as Separator, Li as Sheet, zi as SheetClose, Hi as SheetContent, Ki as SheetDescription, Wi as SheetFooter, Ui as SheetHeader, Vi as SheetOverlay, Bi as SheetPortal, Gi as SheetTitle, Ri as SheetTrigger, us as Sidebar, vs as SidebarContent, gs as SidebarFooter, ys as SidebarGroup, xs as SidebarGroupAction, Ss as SidebarGroupContent, bs as SidebarGroupLabel, hs as SidebarHeader, ms as SidebarInput, ps as SidebarInset, Cs as SidebarMenu, Es as SidebarMenuAction, Ds as SidebarMenuBadge, Ts as SidebarMenuButton, ws as SidebarMenuItem, Os as SidebarMenuSkeleton, ks as SidebarMenuSub, js as SidebarMenuSubButton, As as SidebarMenuSubItem, ls as SidebarProvider, fs as SidebarRail, _s as SidebarSeparator, ds as SidebarTrigger, qi as Skeleton, Ji as Slider, na as Sonner, co as Spinner, Fi as SupportFab, ra as Switch, ia as Table, oa as TableBody, da as TableCaption, ua as TableCell, sa as TableFooter, la as TableHead, aa as TableHeader, Ka as TableOfContents, Ya as TableOfContentsContent, qa as TableOfContentsHeading, Ja as TableOfContentsList, ca as TableRow, fa as Tabs, ha as TabsContent, pa as TabsList, ma as TabsTrigger, Y as Text, ga as Textarea, Ra as ThemeProvider, Ha as ThemeToggle, Zi as Toast, Ua as Toaster, _a as Toggle, ya as ToggleGroup, ba as ToggleGroupItem, xa as Tooltip, Ca as TooltipContent, wa as TooltipProvider, Sa as TooltipTrigger, St as badgeVariants, $a as buttonGroupVariants, at as buttonVariants, q as cn, Et as textVariants, Fa as toast, We as toggleVariants, is as useComboboxAnchor, to as useDirection, Z as useFormField, Ms as useSidebar, za as useTheme, Ia as useToast, K as wrapTextChildren };