@almanaclabs/blaze-ui 0.2.0 → 0.3.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 (210) hide show
  1. package/README.md +17 -2
  2. package/dist/components/accordion/accordion.d.ts +7 -0
  3. package/dist/components/accordion/accordion.d.ts.map +1 -0
  4. package/dist/components/accordion/index.d.ts +2 -0
  5. package/dist/components/accordion/index.d.ts.map +1 -0
  6. package/dist/components/alert/alert.d.ts +11 -0
  7. package/dist/components/alert/alert.d.ts.map +1 -0
  8. package/dist/components/alert/index.d.ts +2 -0
  9. package/dist/components/alert/index.d.ts.map +1 -0
  10. package/dist/components/alert-dialog/alert-dialog.d.ts +19 -0
  11. package/dist/components/alert-dialog/alert-dialog.d.ts.map +1 -0
  12. package/dist/components/alert-dialog/index.d.ts +2 -0
  13. package/dist/components/alert-dialog/index.d.ts.map +1 -0
  14. package/dist/components/aspect-ratio/aspect-ratio.d.ts +5 -0
  15. package/dist/components/aspect-ratio/aspect-ratio.d.ts.map +1 -0
  16. package/dist/components/aspect-ratio/index.d.ts +2 -0
  17. package/dist/components/aspect-ratio/index.d.ts.map +1 -0
  18. package/dist/components/attachment/attachment.d.ts +24 -0
  19. package/dist/components/attachment/attachment.d.ts.map +1 -0
  20. package/dist/components/attachment/index.d.ts +2 -0
  21. package/dist/components/attachment/index.d.ts.map +1 -0
  22. package/dist/components/avatar/avatar.d.ts +12 -0
  23. package/dist/components/avatar/avatar.d.ts.map +1 -0
  24. package/dist/components/avatar/index.d.ts +2 -0
  25. package/dist/components/avatar/index.d.ts.map +1 -0
  26. package/dist/components/badge/badge.d.ts +8 -0
  27. package/dist/components/badge/badge.d.ts.map +1 -0
  28. package/dist/components/badge/index.d.ts +2 -0
  29. package/dist/components/badge/index.d.ts.map +1 -0
  30. package/dist/components/breadcrumb/breadcrumb.d.ts +11 -0
  31. package/dist/components/breadcrumb/breadcrumb.d.ts.map +1 -0
  32. package/dist/components/breadcrumb/index.d.ts +2 -0
  33. package/dist/components/breadcrumb/index.d.ts.map +1 -0
  34. package/dist/components/bubble/bubble.d.ts +17 -0
  35. package/dist/components/bubble/bubble.d.ts.map +1 -0
  36. package/dist/components/bubble/index.d.ts +2 -0
  37. package/dist/components/bubble/index.d.ts.map +1 -0
  38. package/dist/components/button-group/button-group.d.ts +11 -0
  39. package/dist/components/button-group/button-group.d.ts.map +1 -0
  40. package/dist/components/button-group/index.d.ts +2 -0
  41. package/dist/components/button-group/index.d.ts.map +1 -0
  42. package/dist/components/calendar/calendar.d.ts +11 -0
  43. package/dist/components/calendar/calendar.d.ts.map +1 -0
  44. package/dist/components/calendar/index.d.ts +2 -0
  45. package/dist/components/calendar/index.d.ts.map +1 -0
  46. package/dist/components/carousel/carousel.d.ts +29 -0
  47. package/dist/components/carousel/carousel.d.ts.map +1 -0
  48. package/dist/components/carousel/index.d.ts +2 -0
  49. package/dist/components/carousel/index.d.ts.map +1 -0
  50. package/dist/components/chart/chart.d.ts +45 -0
  51. package/dist/components/chart/chart.d.ts.map +1 -0
  52. package/dist/components/chart/index.d.ts +2 -0
  53. package/dist/components/chart/index.d.ts.map +1 -0
  54. package/dist/components/checkbox/checkbox.d.ts +4 -0
  55. package/dist/components/checkbox/checkbox.d.ts.map +1 -0
  56. package/dist/components/checkbox/index.d.ts +2 -0
  57. package/dist/components/checkbox/index.d.ts.map +1 -0
  58. package/dist/components/collapsible/collapsible.d.ts +6 -0
  59. package/dist/components/collapsible/collapsible.d.ts.map +1 -0
  60. package/dist/components/collapsible/index.d.ts +2 -0
  61. package/dist/components/collapsible/index.d.ts.map +1 -0
  62. package/dist/components/combobox/combobox.d.ts +26 -0
  63. package/dist/components/combobox/combobox.d.ts.map +1 -0
  64. package/dist/components/combobox/index.d.ts +2 -0
  65. package/dist/components/combobox/index.d.ts.map +1 -0
  66. package/dist/components/data-table/data-table.d.ts +11 -0
  67. package/dist/components/data-table/data-table.d.ts.map +1 -0
  68. package/dist/components/data-table/index.d.ts +2 -0
  69. package/dist/components/data-table/index.d.ts.map +1 -0
  70. package/dist/components/date-picker/date-picker.d.ts +20 -0
  71. package/dist/components/date-picker/date-picker.d.ts.map +1 -0
  72. package/dist/components/date-picker/index.d.ts +2 -0
  73. package/dist/components/date-picker/index.d.ts.map +1 -0
  74. package/dist/components/dialog/dialog.d.ts +18 -0
  75. package/dist/components/dialog/dialog.d.ts.map +1 -0
  76. package/dist/components/dialog/index.d.ts +2 -0
  77. package/dist/components/dialog/index.d.ts.map +1 -0
  78. package/dist/components/drawer/drawer.d.ts +17 -0
  79. package/dist/components/drawer/drawer.d.ts.map +1 -0
  80. package/dist/components/drawer/index.d.ts +2 -0
  81. package/dist/components/drawer/index.d.ts.map +1 -0
  82. package/dist/components/dropdown-menu/dropdown-menu.d.ts +30 -0
  83. package/dist/components/dropdown-menu/dropdown-menu.d.ts.map +1 -0
  84. package/dist/components/dropdown-menu/index.d.ts +2 -0
  85. package/dist/components/dropdown-menu/index.d.ts.map +1 -0
  86. package/dist/components/empty/empty.d.ts +12 -0
  87. package/dist/components/empty/empty.d.ts.map +1 -0
  88. package/dist/components/empty/index.d.ts +2 -0
  89. package/dist/components/empty/index.d.ts.map +1 -0
  90. package/dist/components/field/field.d.ts +27 -0
  91. package/dist/components/field/field.d.ts.map +1 -0
  92. package/dist/components/field/index.d.ts +2 -0
  93. package/dist/components/field/index.d.ts.map +1 -0
  94. package/dist/components/hover-card/hover-card.d.ts +6 -0
  95. package/dist/components/hover-card/hover-card.d.ts.map +1 -0
  96. package/dist/components/hover-card/index.d.ts +2 -0
  97. package/dist/components/hover-card/index.d.ts.map +1 -0
  98. package/dist/components/input-group/index.d.ts +2 -0
  99. package/dist/components/input-group/index.d.ts.map +1 -0
  100. package/dist/components/input-group/input-group.d.ts +19 -0
  101. package/dist/components/input-group/input-group.d.ts.map +1 -0
  102. package/dist/components/item/index.d.ts +2 -0
  103. package/dist/components/item/index.d.ts.map +1 -0
  104. package/dist/components/item/item.d.ts +23 -0
  105. package/dist/components/item/item.d.ts.map +1 -0
  106. package/dist/components/marker/index.d.ts +2 -0
  107. package/dist/components/marker/index.d.ts.map +1 -0
  108. package/dist/components/marker/marker.d.ts +11 -0
  109. package/dist/components/marker/marker.d.ts.map +1 -0
  110. package/dist/components/message/index.d.ts +2 -0
  111. package/dist/components/message/index.d.ts.map +1 -0
  112. package/dist/components/message/message.d.ts +11 -0
  113. package/dist/components/message/message.d.ts.map +1 -0
  114. package/dist/components/native-select/index.d.ts +2 -0
  115. package/dist/components/native-select/index.d.ts.map +1 -0
  116. package/dist/components/native-select/native-select.d.ts +9 -0
  117. package/dist/components/native-select/native-select.d.ts.map +1 -0
  118. package/dist/components/pagination/index.d.ts +2 -0
  119. package/dist/components/pagination/index.d.ts.map +1 -0
  120. package/dist/components/pagination/pagination.d.ts +18 -0
  121. package/dist/components/pagination/pagination.d.ts.map +1 -0
  122. package/dist/components/popover/index.d.ts +2 -0
  123. package/dist/components/popover/index.d.ts.map +1 -0
  124. package/dist/components/popover/popover.d.ts +10 -0
  125. package/dist/components/popover/popover.d.ts.map +1 -0
  126. package/dist/components/progress/index.d.ts +2 -0
  127. package/dist/components/progress/index.d.ts.map +1 -0
  128. package/dist/components/progress/progress.d.ts +8 -0
  129. package/dist/components/progress/progress.d.ts.map +1 -0
  130. package/dist/components/questionnaire/index.d.ts +2 -0
  131. package/dist/components/questionnaire/index.d.ts.map +1 -0
  132. package/dist/components/questionnaire/questionnaire-primitive.d.ts +77 -0
  133. package/dist/components/questionnaire/questionnaire-primitive.d.ts.map +1 -0
  134. package/dist/components/questionnaire/questionnaire.d.ts +20 -0
  135. package/dist/components/questionnaire/questionnaire.d.ts.map +1 -0
  136. package/dist/components/radio-group/index.d.ts +2 -0
  137. package/dist/components/radio-group/index.d.ts.map +1 -0
  138. package/dist/components/radio-group/radio-group.d.ts +6 -0
  139. package/dist/components/radio-group/radio-group.d.ts.map +1 -0
  140. package/dist/components/scroll-area/index.d.ts +2 -0
  141. package/dist/components/scroll-area/index.d.ts.map +1 -0
  142. package/dist/components/scroll-area/scroll-area.d.ts +6 -0
  143. package/dist/components/scroll-area/scroll-area.d.ts.map +1 -0
  144. package/dist/components/select/index.d.ts +2 -0
  145. package/dist/components/select/index.d.ts.map +1 -0
  146. package/dist/components/select/select.d.ts +16 -0
  147. package/dist/components/select/select.d.ts.map +1 -0
  148. package/dist/components/separator/index.d.ts +2 -0
  149. package/dist/components/separator/index.d.ts.map +1 -0
  150. package/dist/components/separator/separator.d.ts +4 -0
  151. package/dist/components/separator/separator.d.ts.map +1 -0
  152. package/dist/components/sheet/index.d.ts +2 -0
  153. package/dist/components/sheet/index.d.ts.map +1 -0
  154. package/dist/components/sheet/sheet.d.ts +15 -0
  155. package/dist/components/sheet/sheet.d.ts.map +1 -0
  156. package/dist/components/sidebar/index.d.ts +2 -0
  157. package/dist/components/sidebar/index.d.ts.map +1 -0
  158. package/dist/components/sidebar/sidebar.d.ts +64 -0
  159. package/dist/components/sidebar/sidebar.d.ts.map +1 -0
  160. package/dist/components/skeleton/index.d.ts +2 -0
  161. package/dist/components/skeleton/index.d.ts.map +1 -0
  162. package/dist/components/skeleton/skeleton.d.ts +3 -0
  163. package/dist/components/skeleton/skeleton.d.ts.map +1 -0
  164. package/dist/components/slider/index.d.ts +2 -0
  165. package/dist/components/slider/index.d.ts.map +1 -0
  166. package/dist/components/slider/slider.d.ts +4 -0
  167. package/dist/components/slider/slider.d.ts.map +1 -0
  168. package/dist/components/spinner/index.d.ts +2 -0
  169. package/dist/components/spinner/index.d.ts.map +1 -0
  170. package/dist/components/spinner/spinner.d.ts +3 -0
  171. package/dist/components/spinner/spinner.d.ts.map +1 -0
  172. package/dist/components/switch/index.d.ts +2 -0
  173. package/dist/components/switch/index.d.ts.map +1 -0
  174. package/dist/components/switch/switch.d.ts +6 -0
  175. package/dist/components/switch/switch.d.ts.map +1 -0
  176. package/dist/components/table/index.d.ts +2 -0
  177. package/dist/components/table/index.d.ts.map +1 -0
  178. package/dist/components/table/table.d.ts +11 -0
  179. package/dist/components/table/table.d.ts.map +1 -0
  180. package/dist/components/tabs/index.d.ts +2 -0
  181. package/dist/components/tabs/index.d.ts.map +1 -0
  182. package/dist/components/tabs/tabs.d.ts +11 -0
  183. package/dist/components/tabs/tabs.d.ts.map +1 -0
  184. package/dist/components/textarea/index.d.ts +2 -0
  185. package/dist/components/textarea/index.d.ts.map +1 -0
  186. package/dist/components/textarea/textarea.d.ts +4 -0
  187. package/dist/components/textarea/textarea.d.ts.map +1 -0
  188. package/dist/components/toast/index.d.ts +2 -0
  189. package/dist/components/toast/index.d.ts.map +1 -0
  190. package/dist/components/toast/toast.d.ts +17 -0
  191. package/dist/components/toast/toast.d.ts.map +1 -0
  192. package/dist/components/toggle/index.d.ts +2 -0
  193. package/dist/components/toggle/index.d.ts.map +1 -0
  194. package/dist/components/toggle/toggle.d.ts +9 -0
  195. package/dist/components/toggle/toggle.d.ts.map +1 -0
  196. package/dist/components/toggle-group/index.d.ts +2 -0
  197. package/dist/components/toggle-group/index.d.ts.map +1 -0
  198. package/dist/components/toggle-group/toggle-group.d.ts +12 -0
  199. package/dist/components/toggle-group/toggle-group.d.ts.map +1 -0
  200. package/dist/components/tooltip/index.d.ts +2 -0
  201. package/dist/components/tooltip/index.d.ts.map +1 -0
  202. package/dist/components/tooltip/tooltip.d.ts +7 -0
  203. package/dist/components/tooltip/tooltip.d.ts.map +1 -0
  204. package/dist/hooks/use-mobile.d.ts +2 -0
  205. package/dist/hooks/use-mobile.d.ts.map +1 -0
  206. package/dist/index.d.ts +50 -0
  207. package/dist/index.d.ts.map +1 -1
  208. package/dist/index.js +3614 -41
  209. package/package.json +9 -3
  210. package/src/styles/globals.css +32 -1
package/dist/index.js CHANGED
@@ -2,16 +2,49 @@ import { Button as e } from "@base-ui/react/button";
2
2
  import { cva as t } from "class-variance-authority";
3
3
  import { clsx as n } from "clsx";
4
4
  import { twMerge as r } from "tailwind-merge";
5
- import { jsx as i } from "react/jsx-runtime";
6
- import "react";
7
- import { Input as a } from "@base-ui/react/input";
5
+ import { Fragment as i, jsx as a, jsxs as o } from "react/jsx-runtime";
6
+ import * as s from "react";
7
+ import { useMemo as c } from "react";
8
+ import { Separator as l } from "@base-ui/react/separator";
9
+ import { Input as u } from "@base-ui/react/input";
10
+ import { Accordion as d } from "@base-ui/react/accordion";
11
+ import { IconAlertOctagon as f, IconAlertTriangle as p, IconCalendar as m, IconCheck as h, IconChevronDown as g, IconChevronLeft as _, IconChevronRight as v, IconChevronUp as y, IconCircleCheck as b, IconDots as x, IconInfoCircle as ee, IconLayoutSidebar as S, IconLoader2 as C, IconX as w } from "@tabler/icons-react";
12
+ import { AlertDialog as T } from "@base-ui/react/alert-dialog";
13
+ import { mergeProps as E } from "@base-ui/react/merge-props";
14
+ import { useRender as D } from "@base-ui/react/use-render";
15
+ import { Avatar as O } from "@base-ui/react/avatar";
16
+ import { DayPicker as k, getDefaultClassNames as te } from "react-day-picker";
17
+ import ne from "embla-carousel-react";
18
+ import * as A from "recharts";
19
+ import { Checkbox as re } from "@base-ui/react/checkbox";
20
+ import { Collapsible as ie } from "@base-ui/react/collapsible";
21
+ import { Combobox as j } from "@base-ui/react";
22
+ import { flexRender as ae, getCoreRowModel as oe, useReactTable as se } from "@tanstack/react-table";
23
+ import { format as ce } from "date-fns";
24
+ import { Popover as M } from "@base-ui/react/popover";
25
+ import { Dialog as N } from "@base-ui/react/dialog";
26
+ import { Drawer as P } from "@base-ui/react/drawer";
27
+ import { Menu as F } from "@base-ui/react/menu";
28
+ import { PreviewCard as I } from "@base-ui/react/preview-card";
29
+ import { Progress as L } from "@base-ui/react/progress";
30
+ import { Radio as le } from "@base-ui/react/radio";
31
+ import { RadioGroup as ue } from "@base-ui/react/radio-group";
32
+ import { ScrollArea as R } from "@base-ui/react/scroll-area";
33
+ import { Select as z } from "@base-ui/react/select";
34
+ import { Tooltip as B } from "@base-ui/react/tooltip";
35
+ import { Slider as V } from "@base-ui/react/slider";
36
+ import { Switch as de } from "@base-ui/react/switch";
37
+ import { Tabs as H } from "@base-ui/react/tabs";
38
+ import { Toast as U } from "@base-ui/react/toast";
39
+ import { Toggle as fe } from "@base-ui/react/toggle";
40
+ import { ToggleGroup as pe } from "@base-ui/react/toggle-group";
8
41
  //#region src/lib/utils.ts
9
- function o(...e) {
42
+ function W(...e) {
10
43
  return r(n(e));
11
44
  }
12
45
  //#endregion
13
46
  //#region src/components/button/button.tsx
14
- var s = t("group/button inline-flex shrink-0 items-center justify-center rounded-lg border border-transparent bg-clip-padding text-sm font-medium whitespace-nowrap transition-all outline-none select-none focus-visible:border-ring focus-visible:ring-3 focus-visible:ring-ring/50 active:not-aria-[haspopup]:translate-y-px disabled:pointer-events-none disabled:opacity-50 aria-invalid:border-destructive aria-invalid:ring-3 aria-invalid:ring-destructive/20 dark:aria-invalid:border-destructive/50 dark:aria-invalid:ring-destructive/40 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4", {
47
+ var G = t("group/button inline-flex shrink-0 items-center justify-center rounded-lg border border-transparent bg-clip-padding text-sm font-medium whitespace-nowrap transition-all outline-none select-none focus-visible:border-ring focus-visible:ring-3 focus-visible:ring-ring/50 active:not-aria-[haspopup]:translate-y-px disabled:pointer-events-none disabled:opacity-50 aria-invalid:border-destructive aria-invalid:ring-3 aria-invalid:ring-destructive/20 dark:aria-invalid:border-destructive/50 dark:aria-invalid:ring-destructive/40 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4", {
15
48
  variants: {
16
49
  variant: {
17
50
  default: "bg-primary text-primary-foreground hover:bg-primary/80",
@@ -37,90 +70,3630 @@ var s = t("group/button inline-flex shrink-0 items-center justify-center rounded
37
70
  size: "default"
38
71
  }
39
72
  });
40
- function c({ className: t, variant: n = "default", size: r = "default", ...a }) {
41
- let c = s({
73
+ function K({ className: t, variant: n = "default", size: r = "default", ...i }) {
74
+ let o = G({
42
75
  variant: n,
43
76
  size: r
44
77
  });
45
- return /* @__PURE__ */ i(e, {
78
+ return /* @__PURE__ */ a(e, {
46
79
  "data-slot": "button",
47
80
  "data-variant": n,
48
81
  "data-size": r,
49
- className: typeof t == "function" ? (e) => o(c, t(e)) : o(c, t),
50
- ...a
82
+ className: typeof t == "function" ? (e) => W(o, t(e)) : W(o, t),
83
+ ...i
51
84
  });
52
85
  }
53
86
  //#endregion
54
87
  //#region src/components/card/card.tsx
55
- function l({ className: e, size: t = "default", ...n }) {
56
- return /* @__PURE__ */ i("div", {
88
+ function me({ className: e, size: t = "default", ...n }) {
89
+ return /* @__PURE__ */ a("div", {
57
90
  "data-slot": "card",
58
91
  "data-size": t,
59
- className: o("group/card flex flex-col gap-(--card-spacing) overflow-hidden rounded-xl bg-card py-(--card-spacing) text-sm text-card-foreground ring-1 ring-foreground/10 [--card-spacing:--spacing(4)] has-data-[slot=card-footer]:pb-0 has-[>img:first-child]:pt-0 data-[size=sm]:[--card-spacing:--spacing(3)] *:[img:first-child]:rounded-t-xl *:[img:last-child]:rounded-b-xl", e),
92
+ className: W("group/card flex flex-col gap-(--card-spacing) overflow-hidden rounded-xl bg-card py-(--card-spacing) text-sm text-card-foreground ring-1 ring-foreground/10 [--card-spacing:--spacing(4)] has-data-[slot=card-footer]:pb-0 has-[>img:first-child]:pt-0 data-[size=sm]:[--card-spacing:--spacing(3)] *:[img:first-child]:rounded-t-xl *:[img:last-child]:rounded-b-xl", e),
60
93
  ...n
61
94
  });
62
95
  }
63
- function u({ className: e, ...t }) {
64
- return /* @__PURE__ */ i("div", {
96
+ function he({ className: e, ...t }) {
97
+ return /* @__PURE__ */ a("div", {
65
98
  "data-slot": "card-header",
66
- className: o("group/card-header @container/card-header grid auto-rows-min items-start gap-1 rounded-t-xl px-(--card-spacing) has-data-[slot=card-action]:grid-cols-[1fr_auto] has-data-[slot=card-description]:grid-rows-[auto_auto] [.border-b]:pb-(--card-spacing)", e),
99
+ className: W("group/card-header @container/card-header grid auto-rows-min items-start gap-1 rounded-t-xl px-(--card-spacing) has-data-[slot=card-action]:grid-cols-[1fr_auto] has-data-[slot=card-description]:grid-rows-[auto_auto] [.border-b]:pb-(--card-spacing)", e),
67
100
  ...t
68
101
  });
69
102
  }
70
- function d({ className: e, ...t }) {
71
- return /* @__PURE__ */ i("div", {
103
+ function ge({ className: e, ...t }) {
104
+ return /* @__PURE__ */ a("div", {
72
105
  "data-slot": "card-title",
73
- className: o("font-heading text-base leading-snug font-medium group-data-[size=sm]/card:text-sm", e),
106
+ className: W("font-heading text-base leading-snug font-medium group-data-[size=sm]/card:text-sm", e),
74
107
  ...t
75
108
  });
76
109
  }
77
- function f({ className: e, ...t }) {
78
- return /* @__PURE__ */ i("div", {
110
+ function _e({ className: e, ...t }) {
111
+ return /* @__PURE__ */ a("div", {
79
112
  "data-slot": "card-description",
80
- className: o("text-sm text-muted-foreground", e),
113
+ className: W("text-sm text-muted-foreground", e),
81
114
  ...t
82
115
  });
83
116
  }
84
- function p({ className: e, ...t }) {
85
- return /* @__PURE__ */ i("div", {
117
+ function ve({ className: e, ...t }) {
118
+ return /* @__PURE__ */ a("div", {
86
119
  "data-slot": "card-action",
87
- className: o("col-start-2 row-span-2 row-start-1 self-start justify-self-end", e),
120
+ className: W("col-start-2 row-span-2 row-start-1 self-start justify-self-end", e),
88
121
  ...t
89
122
  });
90
123
  }
91
- function m({ className: e, ...t }) {
92
- return /* @__PURE__ */ i("div", {
124
+ function ye({ className: e, ...t }) {
125
+ return /* @__PURE__ */ a("div", {
93
126
  "data-slot": "card-content",
94
- className: o("px-(--card-spacing)", e),
127
+ className: W("px-(--card-spacing)", e),
95
128
  ...t
96
129
  });
97
130
  }
98
- function h({ className: e, ...t }) {
99
- return /* @__PURE__ */ i("div", {
131
+ function be({ className: e, ...t }) {
132
+ return /* @__PURE__ */ a("div", {
100
133
  "data-slot": "card-footer",
101
- className: o("flex items-center rounded-b-xl border-t bg-muted/50 p-(--card-spacing)", e),
134
+ className: W("flex items-center rounded-b-xl border-t bg-muted/50 p-(--card-spacing)", e),
102
135
  ...t
103
136
  });
104
137
  }
105
138
  //#endregion
139
+ //#region src/components/label/label.tsx
140
+ function xe({ className: e, ...t }) {
141
+ return /* @__PURE__ */ a("label", {
142
+ "data-slot": "label",
143
+ className: W("flex items-center gap-2 text-sm leading-none font-medium select-none group-data-disabled:pointer-events-none group-data-disabled:opacity-50 peer-disabled:cursor-not-allowed peer-disabled:opacity-50", e),
144
+ ...t
145
+ });
146
+ }
147
+ //#endregion
148
+ //#region src/components/separator/separator.tsx
149
+ var Se = "shrink-0 bg-border data-[orientation=horizontal]:h-px data-[orientation=horizontal]:w-full data-[orientation=vertical]:w-px data-[orientation=vertical]:self-stretch";
150
+ function q({ className: e, orientation: t = "horizontal", ...n }) {
151
+ return /* @__PURE__ */ a(l, {
152
+ "data-slot": "separator",
153
+ orientation: t,
154
+ className: typeof e == "function" ? (t) => W(Se, e(t)) : W(Se, e),
155
+ ...n
156
+ });
157
+ }
158
+ //#endregion
159
+ //#region src/components/field/field.tsx
160
+ function Ce({ className: e, ...t }) {
161
+ return /* @__PURE__ */ a("fieldset", {
162
+ "data-slot": "field-set",
163
+ className: W("flex flex-col gap-4 has-[>[data-slot=checkbox-group]]:gap-3 has-[>[data-slot=radio-group]]:gap-3", e),
164
+ ...t
165
+ });
166
+ }
167
+ function we({ className: e, variant: t = "legend", ...n }) {
168
+ return /* @__PURE__ */ a("legend", {
169
+ "data-slot": "field-legend",
170
+ "data-variant": t,
171
+ className: W("mb-1.5 font-medium data-[variant=label]:text-sm data-[variant=legend]:text-base", e),
172
+ ...n
173
+ });
174
+ }
175
+ function Te({ className: e, ...t }) {
176
+ return /* @__PURE__ */ a("div", {
177
+ "data-slot": "field-group",
178
+ className: W("group/field-group @container/field-group flex w-full flex-col gap-5 data-[slot=checkbox-group]:gap-3 *:data-[slot=field-group]:gap-4", e),
179
+ ...t
180
+ });
181
+ }
182
+ var Ee = t("group/field flex w-full gap-2 data-[invalid=true]:text-destructive", {
183
+ variants: { orientation: {
184
+ vertical: "flex-col *:w-full [&>.sr-only]:w-auto",
185
+ horizontal: "flex-row items-center has-[>[data-slot=field-content]]:items-start *:data-[slot=field-label]:flex-auto has-[>[data-slot=field-content]]:[&>[role=checkbox],[role=radio]]:mt-px",
186
+ responsive: "flex-col *:w-full @md/field-group:flex-row @md/field-group:items-center @md/field-group:*:w-auto @md/field-group:has-[>[data-slot=field-content]]:items-start @md/field-group:*:data-[slot=field-label]:flex-auto [&>.sr-only]:w-auto @md/field-group:has-[>[data-slot=field-content]]:[&>[role=checkbox],[role=radio]]:mt-px"
187
+ } },
188
+ defaultVariants: { orientation: "vertical" }
189
+ });
190
+ function De({ className: e, orientation: t = "vertical", ...n }) {
191
+ return /* @__PURE__ */ a("div", {
192
+ role: "group",
193
+ "data-slot": "field",
194
+ "data-orientation": t,
195
+ className: W(Ee({ orientation: t }), e),
196
+ ...n
197
+ });
198
+ }
199
+ function Oe({ className: e, ...t }) {
200
+ return /* @__PURE__ */ a("div", {
201
+ "data-slot": "field-content",
202
+ className: W("group/field-content flex flex-1 flex-col gap-0.5 leading-snug", e),
203
+ ...t
204
+ });
205
+ }
206
+ function ke({ className: e, ...t }) {
207
+ return /* @__PURE__ */ a(xe, {
208
+ "data-slot": "field-label",
209
+ className: W("group/field-label peer/field-label flex w-fit gap-2 leading-snug group-data-[disabled=true]/field:opacity-50 has-data-checked:border-primary/30 has-data-checked:bg-primary/5 has-[>[data-slot=field]]:rounded-lg has-[>[data-slot=field]]:border has-[>[data-slot=field]]:not-has-[:disabled,[data-disabled]]:hover:bg-muted/50 has-[>[data-slot=field]]:has-[:focus-visible]:border-ring has-[>[data-slot=field]]:has-[:focus-visible]:ring-3 has-[>[data-slot=field]]:has-[:focus-visible]:ring-ring/50 *:data-[slot=field]:p-2.5 dark:has-data-checked:border-primary/20 dark:has-data-checked:bg-primary/10", "has-[>[data-slot=field]]:w-full has-[>[data-slot=field]]:flex-col", e),
210
+ ...t
211
+ });
212
+ }
213
+ function Ae({ className: e, ...t }) {
214
+ return /* @__PURE__ */ a("div", {
215
+ "data-slot": "field-label",
216
+ className: W("flex w-fit items-center gap-2 text-sm font-medium group-data-[disabled=true]/field:opacity-50", e),
217
+ ...t
218
+ });
219
+ }
220
+ function je({ className: e, ...t }) {
221
+ return /* @__PURE__ */ a("p", {
222
+ "data-slot": "field-description",
223
+ className: W("text-left text-sm leading-normal font-normal text-muted-foreground group-data-[orientation=horizontal]/field:text-balance [[data-variant=legend]+&]:-mt-1.5", "last:mt-0 nth-last-2:-mt-1", "[&>a]:underline [&>a]:underline-offset-4 [&>a:hover]:text-primary", e),
224
+ ...t
225
+ });
226
+ }
227
+ function Me({ children: e, className: t, ...n }) {
228
+ return /* @__PURE__ */ o("div", {
229
+ "data-slot": "field-separator",
230
+ "data-content": !!e,
231
+ className: W("relative -my-2 h-5 text-sm group-data-[variant=outline]/field-group:-mb-2", t),
232
+ ...n,
233
+ children: [/* @__PURE__ */ a(q, { className: "absolute inset-0 top-1/2" }), e && /* @__PURE__ */ a("span", {
234
+ className: "relative mx-auto block w-fit bg-background px-2 text-muted-foreground",
235
+ "data-slot": "field-separator-content",
236
+ children: e
237
+ })]
238
+ });
239
+ }
240
+ function Ne({ className: e, children: t, errors: n, ...r }) {
241
+ let i = c(() => {
242
+ if (t) return t;
243
+ if (!n?.length) return null;
244
+ let e = [...new Map(n.map((e) => [e?.message, e])).values()];
245
+ return e.length === 1 ? e[0]?.message : /* @__PURE__ */ a("ul", {
246
+ className: "ml-4 flex list-disc flex-col gap-1",
247
+ children: e.map((e, t) => e?.message && /* @__PURE__ */ a("li", { children: e.message }, t))
248
+ });
249
+ }, [t, n]);
250
+ return i ? /* @__PURE__ */ a("div", {
251
+ role: "alert",
252
+ "data-slot": "field-error",
253
+ className: W("text-sm font-normal text-destructive", e),
254
+ ...r,
255
+ children: i
256
+ }) : null;
257
+ }
258
+ //#endregion
106
259
  //#region src/components/input/input.tsx
107
- var g = "h-8 w-full min-w-0 rounded-lg border border-input bg-transparent px-2.5 py-1 text-base transition-colors outline-none file:inline-flex file:h-6 file:border-0 file:bg-transparent file:text-sm file:font-medium file:text-foreground placeholder:text-muted-foreground focus-visible:border-ring focus-visible:ring-3 focus-visible:ring-ring/50 disabled:pointer-events-none disabled:cursor-not-allowed disabled:bg-input/50 disabled:opacity-50 aria-invalid:border-destructive aria-invalid:ring-3 aria-invalid:ring-destructive/20 md:text-sm dark:bg-input/30 dark:disabled:bg-input/80 dark:aria-invalid:border-destructive/50 dark:aria-invalid:ring-destructive/40";
108
- function _({ className: e, type: t, ...n }) {
109
- return /* @__PURE__ */ i(a, {
260
+ var Pe = "h-8 w-full min-w-0 rounded-lg border border-input bg-transparent px-2.5 py-1 text-base transition-colors outline-none file:inline-flex file:h-6 file:border-0 file:bg-transparent file:text-sm file:font-medium file:text-foreground placeholder:text-muted-foreground focus-visible:border-ring focus-visible:ring-3 focus-visible:ring-ring/50 disabled:pointer-events-none disabled:cursor-not-allowed disabled:bg-input/50 disabled:opacity-50 aria-invalid:border-destructive aria-invalid:ring-3 aria-invalid:ring-destructive/20 md:text-sm dark:bg-input/30 dark:disabled:bg-input/80 dark:aria-invalid:border-destructive/50 dark:aria-invalid:ring-destructive/40";
261
+ function Fe({ className: e, type: t, ...n }) {
262
+ return /* @__PURE__ */ a(u, {
110
263
  type: t,
111
264
  "data-slot": "input",
112
- className: typeof e == "function" ? (t) => o(g, e(t)) : o(g, e),
265
+ className: typeof e == "function" ? (t) => W(Pe, e(t)) : W(Pe, e),
113
266
  ...n
114
267
  });
115
268
  }
116
269
  //#endregion
117
- //#region src/components/label/label.tsx
118
- function v({ className: e, ...t }) {
119
- return /* @__PURE__ */ i("label", {
120
- "data-slot": "label",
121
- className: o("flex items-center gap-2 text-sm leading-none font-medium select-none group-data-disabled:pointer-events-none group-data-disabled:opacity-50 peer-disabled:cursor-not-allowed peer-disabled:opacity-50", e),
270
+ //#region src/components/accordion/accordion.tsx
271
+ function Ie({ className: e, ...t }) {
272
+ return /* @__PURE__ */ a(d.Root, {
273
+ "data-slot": "accordion",
274
+ className: W("flex w-full flex-col", e),
275
+ ...t
276
+ });
277
+ }
278
+ function Le({ className: e, ...t }) {
279
+ return /* @__PURE__ */ a(d.Item, {
280
+ "data-slot": "accordion-item",
281
+ className: W("not-last:border-b", e),
282
+ ...t
283
+ });
284
+ }
285
+ function Re({ className: e, children: t, ...n }) {
286
+ return /* @__PURE__ */ a(d.Header, {
287
+ className: "flex",
288
+ children: /* @__PURE__ */ o(d.Trigger, {
289
+ "data-slot": "accordion-trigger",
290
+ className: W("group/accordion-trigger relative flex flex-1 items-start justify-between rounded-lg border border-transparent py-2.5 text-left text-sm font-medium transition-all outline-none hover:underline focus-visible:border-ring focus-visible:ring-3 focus-visible:ring-ring/50 focus-visible:after:border-ring aria-disabled:pointer-events-none aria-disabled:opacity-50 **:data-[slot=accordion-trigger-icon]:ml-auto **:data-[slot=accordion-trigger-icon]:size-4 **:data-[slot=accordion-trigger-icon]:text-muted-foreground", e),
291
+ ...n,
292
+ children: [
293
+ t,
294
+ /* @__PURE__ */ a(g, {
295
+ "data-slot": "accordion-trigger-icon",
296
+ className: "pointer-events-none shrink-0 group-aria-expanded/accordion-trigger:hidden"
297
+ }),
298
+ /* @__PURE__ */ a(y, {
299
+ "data-slot": "accordion-trigger-icon",
300
+ className: "pointer-events-none hidden shrink-0 group-aria-expanded/accordion-trigger:inline"
301
+ })
302
+ ]
303
+ })
304
+ });
305
+ }
306
+ function ze({ className: e, children: t, ...n }) {
307
+ return /* @__PURE__ */ a(d.Panel, {
308
+ "data-slot": "accordion-content",
309
+ className: "overflow-hidden text-sm data-open:animate-accordion-down data-closed:animate-accordion-up",
310
+ ...n,
311
+ children: /* @__PURE__ */ a("div", {
312
+ className: W("h-(--accordion-panel-height) pt-0 pb-2.5 data-ending-style:h-0 data-starting-style:h-0 [&_a]:underline [&_a]:underline-offset-3 [&_a]:hover:text-foreground [&_p:not(:last-child)]:mb-4", e),
313
+ children: t
314
+ })
315
+ });
316
+ }
317
+ //#endregion
318
+ //#region src/components/alert/alert.tsx
319
+ var Be = t("group/alert relative grid w-full gap-0.5 rounded-lg border px-2.5 py-2 text-left text-sm has-data-[slot=alert-action]:relative has-data-[slot=alert-action]:pr-18 has-[>svg]:grid-cols-[auto_1fr] has-[>svg]:gap-x-2 *:[svg]:row-span-2 *:[svg]:translate-y-0.5 *:[svg]:text-current *:[svg:not([class*='size-'])]:size-4", {
320
+ variants: { variant: {
321
+ default: "bg-card text-card-foreground",
322
+ destructive: "bg-card text-destructive *:data-[slot=alert-description]:text-destructive/90 *:[svg]:text-current"
323
+ } },
324
+ defaultVariants: { variant: "default" }
325
+ });
326
+ function Ve({ className: e, variant: t, ...n }) {
327
+ return /* @__PURE__ */ a("div", {
328
+ "data-slot": "alert",
329
+ role: "alert",
330
+ className: W(Be({ variant: t }), e),
331
+ ...n
332
+ });
333
+ }
334
+ function He({ className: e, ...t }) {
335
+ return /* @__PURE__ */ a("div", {
336
+ "data-slot": "alert-title",
337
+ className: W("font-medium group-has-[>svg]/alert:col-start-2 [&_a]:underline [&_a]:underline-offset-3 [&_a]:hover:text-foreground", e),
338
+ ...t
339
+ });
340
+ }
341
+ function Ue({ className: e, ...t }) {
342
+ return /* @__PURE__ */ a("div", {
343
+ "data-slot": "alert-description",
344
+ className: W("text-sm text-balance text-muted-foreground md:text-pretty [&_a]:underline [&_a]:underline-offset-3 [&_a]:hover:text-foreground [&_p:not(:last-child)]:mb-4", e),
345
+ ...t
346
+ });
347
+ }
348
+ function We({ className: e, ...t }) {
349
+ return /* @__PURE__ */ a("div", {
350
+ "data-slot": "alert-action",
351
+ className: W("absolute top-2 right-2", e),
352
+ ...t
353
+ });
354
+ }
355
+ //#endregion
356
+ //#region src/components/alert-dialog/alert-dialog.tsx
357
+ function Ge({ ...e }) {
358
+ return /* @__PURE__ */ a(T.Root, {
359
+ "data-slot": "alert-dialog",
360
+ ...e
361
+ });
362
+ }
363
+ function Ke({ ...e }) {
364
+ return /* @__PURE__ */ a(T.Trigger, {
365
+ "data-slot": "alert-dialog-trigger",
366
+ ...e
367
+ });
368
+ }
369
+ function qe({ ...e }) {
370
+ return /* @__PURE__ */ a(T.Portal, {
371
+ "data-slot": "alert-dialog-portal",
372
+ ...e
373
+ });
374
+ }
375
+ function Je({ className: e, ...t }) {
376
+ return /* @__PURE__ */ a(T.Backdrop, {
377
+ "data-slot": "alert-dialog-overlay",
378
+ className: W("fixed inset-0 isolate z-50 bg-foreground/10 duration-100 supports-backdrop-filter:backdrop-blur-xs data-open:animate-in data-open:fade-in-0 data-closed:animate-out data-closed:fade-out-0", e),
379
+ ...t
380
+ });
381
+ }
382
+ function Ye({ className: e, size: t = "default", ...n }) {
383
+ return /* @__PURE__ */ o(qe, { children: [/* @__PURE__ */ a(Je, {}), /* @__PURE__ */ a(T.Popup, {
384
+ "data-slot": "alert-dialog-content",
385
+ "data-size": t,
386
+ className: W("group/alert-dialog-content fixed top-1/2 left-1/2 z-50 grid w-full -translate-x-1/2 -translate-y-1/2 gap-4 rounded-xl bg-popover p-4 text-popover-foreground ring-1 ring-foreground/10 duration-100 outline-none data-[size=default]:max-w-xs data-[size=sm]:max-w-xs data-[size=default]:sm:max-w-sm data-open:animate-in data-open:fade-in-0 data-open:zoom-in-95 data-closed:animate-out data-closed:fade-out-0 data-closed:zoom-out-95", e),
387
+ ...n
388
+ })] });
389
+ }
390
+ function Xe({ className: e, ...t }) {
391
+ return /* @__PURE__ */ a("div", {
392
+ "data-slot": "alert-dialog-header",
393
+ className: W("grid grid-rows-[auto_1fr] place-items-center gap-1.5 text-center has-data-[slot=alert-dialog-media]:grid-rows-[auto_auto_1fr] has-data-[slot=alert-dialog-media]:gap-x-4 sm:group-data-[size=default]/alert-dialog-content:place-items-start sm:group-data-[size=default]/alert-dialog-content:text-left sm:group-data-[size=default]/alert-dialog-content:has-data-[slot=alert-dialog-media]:grid-rows-[auto_1fr]", e),
394
+ ...t
395
+ });
396
+ }
397
+ function Ze({ className: e, ...t }) {
398
+ return /* @__PURE__ */ a("div", {
399
+ "data-slot": "alert-dialog-footer",
400
+ className: W("-mx-4 -mb-4 flex flex-col-reverse gap-2 rounded-b-xl border-t bg-muted/50 p-4 group-data-[size=sm]/alert-dialog-content:grid group-data-[size=sm]/alert-dialog-content:grid-cols-2 sm:flex-row sm:justify-end", e),
401
+ ...t
402
+ });
403
+ }
404
+ function Qe({ className: e, ...t }) {
405
+ return /* @__PURE__ */ a("div", {
406
+ "data-slot": "alert-dialog-media",
407
+ className: W("mb-2 inline-flex size-10 items-center justify-center rounded-md bg-muted sm:group-data-[size=default]/alert-dialog-content:row-span-2 *:[svg:not([class*='size-'])]:size-6", e),
408
+ ...t
409
+ });
410
+ }
411
+ function $e({ className: e, ...t }) {
412
+ return /* @__PURE__ */ a(T.Title, {
413
+ "data-slot": "alert-dialog-title",
414
+ className: W("font-heading text-base font-medium sm:group-data-[size=default]/alert-dialog-content:group-has-data-[slot=alert-dialog-media]/alert-dialog-content:col-start-2", e),
415
+ ...t
416
+ });
417
+ }
418
+ function et({ className: e, ...t }) {
419
+ return /* @__PURE__ */ a(T.Description, {
420
+ "data-slot": "alert-dialog-description",
421
+ className: W("text-sm text-balance text-muted-foreground md:text-pretty *:[a]:underline *:[a]:underline-offset-3 *:[a]:hover:text-foreground", e),
422
+ ...t
423
+ });
424
+ }
425
+ function tt({ className: e, ...t }) {
426
+ return /* @__PURE__ */ a(K, {
427
+ "data-slot": "alert-dialog-action",
428
+ className: W(e),
429
+ ...t
430
+ });
431
+ }
432
+ function nt({ className: e, variant: t = "outline", size: n = "default", ...r }) {
433
+ return /* @__PURE__ */ a(T.Close, {
434
+ "data-slot": "alert-dialog-cancel",
435
+ className: W(e),
436
+ render: /* @__PURE__ */ a(K, {
437
+ variant: t,
438
+ size: n
439
+ }),
440
+ ...r
441
+ });
442
+ }
443
+ //#endregion
444
+ //#region src/components/aspect-ratio/aspect-ratio.tsx
445
+ function rt({ ratio: e, className: t, ...n }) {
446
+ return /* @__PURE__ */ a("div", {
447
+ "data-slot": "aspect-ratio",
448
+ style: { "--ratio": e },
449
+ className: W("relative aspect-(--ratio)", t),
450
+ ...n
451
+ });
452
+ }
453
+ //#endregion
454
+ //#region src/components/attachment/attachment.tsx
455
+ var it = t("group/attachment relative flex w-fit max-w-full min-w-0 shrink-0 flex-wrap rounded-xl border bg-card text-card-foreground transition-colors focus-within:ring-1 focus-within:ring-ring/50 has-[>a,>button]:hover:bg-muted/50 data-[state=error]:border-destructive/30 data-[state=idle]:border-dashed", { variants: {
456
+ size: {
457
+ default: "gap-2 text-sm has-data-[slot=attachment-content]:px-2.5 has-data-[slot=attachment-content]:py-2 has-data-[slot=attachment-media]:p-2",
458
+ sm: "gap-2.5 text-xs has-data-[slot=attachment-content]:px-2 has-data-[slot=attachment-content]:py-1.5 has-data-[slot=attachment-media]:p-1.5",
459
+ xs: "gap-1.5 rounded-lg text-xs has-data-[slot=attachment-content]:px-1.5 has-data-[slot=attachment-content]:py-1 has-data-[slot=attachment-media]:p-1"
460
+ },
461
+ orientation: {
462
+ horizontal: "min-w-40 items-center",
463
+ vertical: "w-24 flex-col has-data-[slot=attachment-content]:w-30"
464
+ }
465
+ } });
466
+ function at({ className: e, state: t = "done", size: n = "default", orientation: r = "horizontal", ...i }) {
467
+ return /* @__PURE__ */ a("div", {
468
+ "data-slot": "attachment",
469
+ "data-state": t,
470
+ "data-size": n,
471
+ "data-orientation": r,
472
+ className: W(it({
473
+ size: n,
474
+ orientation: r
475
+ }), e),
476
+ ...i
477
+ });
478
+ }
479
+ var ot = t("relative flex aspect-square w-10 shrink-0 items-center justify-center overflow-hidden rounded-lg bg-muted text-foreground group-data-[orientation=vertical]/attachment:w-full group-data-[size=sm]/attachment:w-8 group-data-[size=xs]/attachment:w-7 group-data-[size=xs]/attachment:rounded-md group-data-[state=error]/attachment:bg-destructive/10 group-data-[state=error]/attachment:text-destructive group-data-[orientation=vertical]/attachment:*:data-[slot=spinner]:size-6! [&_svg]:pointer-events-none [&_svg:not([class*='size-'])]:size-4 group-data-[orientation=vertical]/attachment:[&_svg:not([class*='size-'])]:size-6 group-data-[size=xs]/attachment:[&_svg:not([class*='size-'])]:size-3.5", {
480
+ variants: { variant: {
481
+ icon: "",
482
+ image: "opacity-60 group-data-[state=done]/attachment:opacity-100 group-data-[state=idle]/attachment:opacity-100 *:[img]:aspect-square *:[img]:w-full *:[img]:object-cover"
483
+ } },
484
+ defaultVariants: { variant: "icon" }
485
+ });
486
+ function st({ className: e, variant: t = "icon", ...n }) {
487
+ return /* @__PURE__ */ a("div", {
488
+ "data-slot": "attachment-media",
489
+ "data-variant": t,
490
+ className: W(ot({ variant: t }), e),
491
+ ...n
492
+ });
493
+ }
494
+ function ct({ className: e, ...t }) {
495
+ return /* @__PURE__ */ a("div", {
496
+ "data-slot": "attachment-content",
497
+ className: W("max-w-full min-w-0 flex-1 leading-tight group-data-[orientation=vertical]/attachment:px-1", e),
498
+ ...t
499
+ });
500
+ }
501
+ function lt({ className: e, ...t }) {
502
+ return /* @__PURE__ */ a("span", {
503
+ "data-slot": "attachment-title",
504
+ className: W("block max-w-full min-w-0 truncate font-medium group-data-[state=processing]/attachment:shimmer group-data-[state=uploading]/attachment:shimmer", e),
505
+ ...t
506
+ });
507
+ }
508
+ function ut({ className: e, ...t }) {
509
+ return /* @__PURE__ */ a("span", {
510
+ "data-slot": "attachment-description",
511
+ className: W("mt-0.5 block min-w-0 truncate text-xs text-muted-foreground group-data-[state=error]/attachment:text-destructive/80", "max-w-full", e),
512
+ ...t
513
+ });
514
+ }
515
+ function dt({ className: e, ...t }) {
516
+ return /* @__PURE__ */ a("div", {
517
+ "data-slot": "attachment-actions",
518
+ className: W("relative z-20 flex shrink-0 items-center group-data-[orientation=vertical]/attachment:absolute group-data-[orientation=vertical]/attachment:top-3 group-data-[orientation=vertical]/attachment:right-3 group-data-[orientation=vertical]/attachment:gap-1", e),
519
+ ...t
520
+ });
521
+ }
522
+ function ft({ className: e, variant: t, size: n = "icon-xs", ...r }) {
523
+ return /* @__PURE__ */ a(K, {
524
+ "data-slot": "attachment-action",
525
+ variant: t ?? "ghost",
526
+ size: n,
527
+ className: W(e),
528
+ ...r
529
+ });
530
+ }
531
+ function pt({ className: e, render: t, type: n, ...r }) {
532
+ return D({
533
+ defaultTagName: "button",
534
+ props: E({
535
+ type: t ? n : n ?? "button",
536
+ className: W("absolute inset-0 z-10 outline-none", e)
537
+ }, r),
538
+ render: t,
539
+ state: { slot: "attachment-trigger" }
540
+ });
541
+ }
542
+ function mt({ className: e, ...t }) {
543
+ return /* @__PURE__ */ a("div", {
544
+ "data-slot": "attachment-group",
545
+ className: W("flex min-w-0 scroll-fade-x snap-x snap-mandatory scroll-px-1 scrollbar-none gap-3 overflow-x-auto overscroll-x-contain py-1 *:data-[slot=attachment]:flex-none *:data-[slot=attachment]:snap-start", e),
546
+ ...t
547
+ });
548
+ }
549
+ //#endregion
550
+ //#region src/components/avatar/avatar.tsx
551
+ function ht({ className: e, size: t = "default", ...n }) {
552
+ return /* @__PURE__ */ a(O.Root, {
553
+ "data-slot": "avatar",
554
+ "data-size": t,
555
+ className: W("group/avatar relative flex size-8 shrink-0 rounded-full select-none after:absolute after:inset-0 after:rounded-full after:border after:border-border after:mix-blend-darken data-[size=lg]:size-10 data-[size=sm]:size-6 dark:after:mix-blend-lighten", e),
556
+ ...n
557
+ });
558
+ }
559
+ function gt({ className: e, ...t }) {
560
+ return /* @__PURE__ */ a(O.Image, {
561
+ "data-slot": "avatar-image",
562
+ className: W("aspect-square size-full rounded-full object-cover", e),
563
+ ...t
564
+ });
565
+ }
566
+ function _t({ className: e, ...t }) {
567
+ return /* @__PURE__ */ a(O.Fallback, {
568
+ "data-slot": "avatar-fallback",
569
+ className: W("flex size-full items-center justify-center rounded-full bg-muted text-sm text-foreground group-data-[size=sm]/avatar:text-xs", e),
570
+ ...t
571
+ });
572
+ }
573
+ function vt({ className: e, ...t }) {
574
+ return /* @__PURE__ */ a("span", {
575
+ "data-slot": "avatar-badge",
576
+ className: W("absolute right-0 bottom-0 z-10 inline-flex items-center justify-center rounded-full bg-primary text-primary-foreground bg-blend-color ring-2 ring-background select-none", "group-data-[size=sm]/avatar:size-2 group-data-[size=sm]/avatar:[&>svg]:hidden", "group-data-[size=default]/avatar:size-2.5 group-data-[size=default]/avatar:[&>svg]:size-2", "group-data-[size=lg]/avatar:size-3 group-data-[size=lg]/avatar:[&>svg]:size-2", e),
577
+ ...t
578
+ });
579
+ }
580
+ function yt({ className: e, ...t }) {
581
+ return /* @__PURE__ */ a("div", {
582
+ "data-slot": "avatar-group",
583
+ className: W("group/avatar-group flex -space-x-2 *:data-[slot=avatar]:ring-2 *:data-[slot=avatar]:ring-background", e),
584
+ ...t
585
+ });
586
+ }
587
+ function bt({ className: e, ...t }) {
588
+ return /* @__PURE__ */ a("div", {
589
+ "data-slot": "avatar-group-count",
590
+ className: W("relative flex size-8 shrink-0 items-center justify-center rounded-full bg-muted text-sm text-muted-foreground ring-2 ring-background group-has-data-[size=lg]/avatar-group:size-10 group-has-data-[size=sm]/avatar-group:size-6 [&>svg]:size-4 group-has-data-[size=lg]/avatar-group:[&>svg]:size-5 group-has-data-[size=sm]/avatar-group:[&>svg]:size-3", e),
591
+ ...t
592
+ });
593
+ }
594
+ //#endregion
595
+ //#region src/components/badge/badge.tsx
596
+ var xt = t("group/badge inline-flex h-5 w-fit shrink-0 items-center justify-center gap-1 overflow-hidden rounded-4xl border border-transparent px-2 py-0.5 text-xs font-medium whitespace-nowrap transition-all focus-visible:border-ring focus-visible:ring-[3px] focus-visible:ring-ring/50 has-data-[icon=inline-end]:pr-1.5 has-data-[icon=inline-start]:pl-1.5 aria-invalid:border-destructive aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 [&>svg]:pointer-events-none [&>svg]:size-3!", {
597
+ variants: { variant: {
598
+ default: "bg-primary text-primary-foreground [a]:hover:bg-primary/80",
599
+ secondary: "bg-secondary text-secondary-foreground [a]:hover:bg-secondary/80",
600
+ destructive: "bg-destructive/10 text-destructive focus-visible:ring-destructive/20 dark:bg-destructive/20 dark:focus-visible:ring-destructive/40 [a]:hover:bg-destructive/20",
601
+ outline: "border-border text-foreground [a]:hover:bg-muted [a]:hover:text-muted-foreground",
602
+ ghost: "hover:bg-muted hover:text-muted-foreground dark:hover:bg-muted/50",
603
+ link: "text-primary underline-offset-4 hover:underline"
604
+ } },
605
+ defaultVariants: { variant: "default" }
606
+ });
607
+ function St({ className: e, variant: t = "default", render: n, ...r }) {
608
+ return D({
609
+ defaultTagName: "span",
610
+ props: E({ className: W(xt({ variant: t }), e) }, r),
611
+ render: n,
612
+ state: {
613
+ slot: "badge",
614
+ variant: t
615
+ }
616
+ });
617
+ }
618
+ //#endregion
619
+ //#region src/components/breadcrumb/breadcrumb.tsx
620
+ function Ct({ className: e, ...t }) {
621
+ return /* @__PURE__ */ a("nav", {
622
+ "aria-label": "breadcrumb",
623
+ "data-slot": "breadcrumb",
624
+ className: W(e),
625
+ ...t
626
+ });
627
+ }
628
+ function wt({ className: e, ...t }) {
629
+ return /* @__PURE__ */ a("ol", {
630
+ "data-slot": "breadcrumb-list",
631
+ className: W("flex flex-wrap items-center gap-1.5 text-sm wrap-break-word text-muted-foreground", e),
632
+ ...t
633
+ });
634
+ }
635
+ function Tt({ className: e, ...t }) {
636
+ return /* @__PURE__ */ a("li", {
637
+ "data-slot": "breadcrumb-item",
638
+ className: W("inline-flex items-center gap-1", e),
639
+ ...t
640
+ });
641
+ }
642
+ function Et({ className: e, render: t, ...n }) {
643
+ return D({
644
+ defaultTagName: "a",
645
+ props: E({ className: W("transition-colors hover:text-foreground", e) }, n),
646
+ render: t,
647
+ state: { slot: "breadcrumb-link" }
648
+ });
649
+ }
650
+ function Dt({ className: e, ...t }) {
651
+ return /* @__PURE__ */ a("span", {
652
+ "data-slot": "breadcrumb-page",
653
+ role: "link",
654
+ "aria-disabled": "true",
655
+ "aria-current": "page",
656
+ className: W("font-normal text-foreground", e),
657
+ ...t
658
+ });
659
+ }
660
+ function Ot({ children: e, className: t, ...n }) {
661
+ return /* @__PURE__ */ a("li", {
662
+ "data-slot": "breadcrumb-separator",
663
+ role: "presentation",
664
+ "aria-hidden": "true",
665
+ className: W("[&>svg]:size-3.5", t),
666
+ ...n,
667
+ children: e ?? /* @__PURE__ */ a(v, {})
668
+ });
669
+ }
670
+ function kt({ className: e, ...t }) {
671
+ return /* @__PURE__ */ o("span", {
672
+ "data-slot": "breadcrumb-ellipsis",
673
+ role: "presentation",
674
+ "aria-hidden": "true",
675
+ className: W("flex size-5 items-center justify-center [&>svg]:size-4", e),
676
+ ...t,
677
+ children: [/* @__PURE__ */ a(x, {}), /* @__PURE__ */ a("span", {
678
+ className: "sr-only",
679
+ children: "More"
680
+ })]
681
+ });
682
+ }
683
+ //#endregion
684
+ //#region src/components/bubble/bubble.tsx
685
+ function At({ className: e, ...t }) {
686
+ return /* @__PURE__ */ a("div", {
687
+ "data-slot": "bubble-group",
688
+ className: W("flex min-w-0 flex-col gap-2", e),
689
+ ...t
690
+ });
691
+ }
692
+ var jt = t("group/bubble relative flex w-fit max-w-[80%] min-w-0 flex-col gap-1 group-data-[align=end]/message:self-end data-[align=end]:self-end data-[variant=ghost]:max-w-full", {
693
+ variants: { variant: {
694
+ default: "*:data-[slot=bubble-content]:bg-primary *:data-[slot=bubble-content]:text-primary-foreground [&>[data-slot=bubble-content]:is(button,a):hover]:bg-primary/80",
695
+ secondary: "*:data-[slot=bubble-content]:bg-secondary *:data-[slot=bubble-content]:text-secondary-foreground [&>[data-slot=bubble-content]:is(button,a):hover]:bg-[color-mix(in_oklch,var(--secondary),var(--foreground)_5%)]",
696
+ muted: "*:data-[slot=bubble-content]:bg-muted [&>[data-slot=bubble-content]:is(button,a):hover]:bg-[color-mix(in_oklch,var(--muted),var(--foreground)_5%)]",
697
+ tinted: "*:data-[slot=bubble-content]:bg-[oklch(from_var(--primary)_0.93_calc(c*0.4)_h)] *:data-[slot=bubble-content]:text-foreground dark:*:data-[slot=bubble-content]:bg-[oklch(from_var(--primary)_0.3_calc(c*0.4)_h)] [&>[data-slot=bubble-content]:is(button,a):hover]:bg-[oklch(from_var(--primary)_0.88_calc(c*0.5)_h)] dark:[&>[data-slot=bubble-content]:is(button,a):hover]:bg-[oklch(from_var(--primary)_0.35_calc(c*0.5)_h)]",
698
+ outline: "*:data-[slot=bubble-content]:border-border *:data-[slot=bubble-content]:bg-background [&>[data-slot=bubble-content]:is(button,a):hover]:bg-muted [&>[data-slot=bubble-content]:is(button,a):hover]:text-foreground dark:[&>[data-slot=bubble-content]:is(button,a):hover]:bg-input/30",
699
+ ghost: "border-none *:data-[slot=bubble-content]:rounded-none *:data-[slot=bubble-content]:bg-transparent *:data-[slot=bubble-content]:p-0 [&>[data-slot=bubble-content]:is(button,a):hover]:bg-muted [&>[data-slot=bubble-content]:is(button,a):hover]:text-foreground dark:[&>[data-slot=bubble-content]:is(button,a):hover]:bg-muted/50",
700
+ destructive: "*:data-[slot=bubble-content]:bg-destructive/10 *:data-[slot=bubble-content]:text-destructive dark:*:data-[slot=bubble-content]:bg-destructive/20 [&>[data-slot=bubble-content]:is(button,a):hover]:bg-destructive/20 dark:[&>[data-slot=bubble-content]:is(button,a):hover]:bg-destructive/30"
701
+ } },
702
+ defaultVariants: { variant: "default" }
703
+ });
704
+ function Mt({ variant: e = "default", align: t = "start", className: n, ...r }) {
705
+ return /* @__PURE__ */ a("div", {
706
+ "data-slot": "bubble",
707
+ "data-variant": e,
708
+ "data-align": t,
709
+ className: W(jt({ variant: e }), n),
710
+ ...r
711
+ });
712
+ }
713
+ function Nt({ className: e, render: t, ...n }) {
714
+ return D({
715
+ defaultTagName: "div",
716
+ props: E({ className: W("w-fit max-w-full min-w-0 overflow-hidden rounded-xl border border-transparent px-3 py-2 text-sm leading-relaxed wrap-break-word group-data-[align=end]/bubble:self-end [button]:text-left [button,a]:transition-colors [button,a]:outline-none [button,a]:focus-visible:border-ring [button,a]:focus-visible:ring-3 [button,a]:focus-visible:ring-ring/50", e) }, n),
717
+ render: t,
718
+ state: { slot: "bubble-content" }
719
+ });
720
+ }
721
+ var Pt = t("absolute z-10 flex w-fit shrink-0 items-center justify-center gap-1 rounded-full bg-muted px-1.5 py-0.5 text-sm ring-3 ring-card has-[button]:p-0", {
722
+ variants: {
723
+ side: {
724
+ top: "top-0 -translate-y-3/4",
725
+ bottom: "bottom-0 translate-y-3/4"
726
+ },
727
+ align: {
728
+ start: "left-3",
729
+ end: "right-3"
730
+ }
731
+ },
732
+ defaultVariants: {
733
+ side: "bottom",
734
+ align: "end"
735
+ }
736
+ });
737
+ function Ft({ side: e = "bottom", align: t = "end", className: n, ...r }) {
738
+ return /* @__PURE__ */ a("div", {
739
+ "data-slot": "bubble-reactions",
740
+ "data-align": t,
741
+ "data-side": e,
742
+ className: W(Pt({
743
+ side: e,
744
+ align: t
745
+ }), n),
746
+ ...r
747
+ });
748
+ }
749
+ //#endregion
750
+ //#region src/components/button-group/button-group.tsx
751
+ var It = t("flex w-fit items-stretch *:focus-visible:relative *:focus-visible:z-10 has-[>[data-slot=button-group]]:gap-2 has-[select[aria-hidden=true]:last-child]:[&>[data-slot=select-trigger]:last-of-type]:rounded-r-lg [&>[data-slot=select-trigger]:not([class*='w-'])]:w-fit [&>input]:flex-1", {
752
+ variants: { orientation: {
753
+ horizontal: "*:data-slot:rounded-r-none [&>[data-slot]:not(:has(~[data-slot]))]:rounded-r-lg! [&>[data-slot]~[data-slot]]:rounded-l-none [&>[data-slot]~[data-slot]]:border-l-0",
754
+ vertical: "flex-col *:data-slot:rounded-b-none [&>[data-slot]:not(:has(~[data-slot]))]:rounded-b-lg! [&>[data-slot]~[data-slot]]:rounded-t-none [&>[data-slot]~[data-slot]]:border-t-0"
755
+ } },
756
+ defaultVariants: { orientation: "horizontal" }
757
+ });
758
+ function Lt({ className: e, orientation: t, ...n }) {
759
+ return /* @__PURE__ */ a("div", {
760
+ role: "group",
761
+ "data-slot": "button-group",
762
+ "data-orientation": t,
763
+ className: W(It({ orientation: t }), e),
764
+ ...n
765
+ });
766
+ }
767
+ function Rt({ className: e, render: t, ...n }) {
768
+ return D({
769
+ defaultTagName: "div",
770
+ props: E({ className: W("flex items-center gap-2 rounded-lg border bg-muted px-2.5 text-sm font-medium [&_svg]:pointer-events-none [&_svg:not([class*='size-'])]:size-4", e) }, n),
771
+ render: t,
772
+ state: { slot: "button-group-text" }
773
+ });
774
+ }
775
+ function zt({ className: e, orientation: t = "vertical", ...n }) {
776
+ return /* @__PURE__ */ a(q, {
777
+ "data-slot": "button-group-separator",
778
+ orientation: t,
779
+ className: W("relative self-stretch bg-input data-horizontal:mx-px data-horizontal:w-auto data-vertical:my-px data-vertical:h-auto", e),
780
+ ...n
781
+ });
782
+ }
783
+ //#endregion
784
+ //#region src/components/calendar/calendar.tsx
785
+ function Bt({ className: e, classNames: t, showOutsideDays: n = !0, captionLayout: r = "label", buttonVariant: i = "ghost", locale: o, formatters: s, components: c, ...l }) {
786
+ let u = te();
787
+ return /* @__PURE__ */ a(k, {
788
+ showOutsideDays: n,
789
+ className: W("group/calendar bg-background p-2 [--cell-radius:var(--radius-md)] [--cell-size:--spacing(7)] in-data-[slot=card-content]:bg-transparent in-data-[slot=popover-content]:bg-transparent", String.raw`rtl:**:[.rdp-button\_next>svg]:rotate-180`, String.raw`rtl:**:[.rdp-button\_previous>svg]:rotate-180`, e),
790
+ captionLayout: r,
791
+ locale: o,
792
+ formatters: {
793
+ formatMonthDropdown: (e) => e.toLocaleString(o?.code, { month: "short" }),
794
+ ...s
795
+ },
796
+ classNames: {
797
+ root: W("w-fit", u.root),
798
+ months: W("relative flex flex-col gap-4 md:flex-row", u.months),
799
+ month: W("flex w-full flex-col gap-4", u.month),
800
+ nav: W("absolute inset-x-0 top-0 flex w-full items-center justify-between gap-1", u.nav),
801
+ button_previous: W(G({ variant: i }), "size-(--cell-size) p-0 select-none aria-disabled:opacity-50", u.button_previous),
802
+ button_next: W(G({ variant: i }), "size-(--cell-size) p-0 select-none aria-disabled:opacity-50", u.button_next),
803
+ month_caption: W("flex h-(--cell-size) w-full items-center justify-center px-(--cell-size)", u.month_caption),
804
+ dropdowns: W("flex h-(--cell-size) w-full items-center justify-center gap-1.5 text-sm font-medium", u.dropdowns),
805
+ dropdown_root: W("relative rounded-(--cell-radius)", u.dropdown_root),
806
+ dropdown: W("absolute inset-0 bg-popover opacity-0", u.dropdown),
807
+ caption_label: W("font-medium select-none", r === "label" ? "text-sm" : "flex items-center gap-1 rounded-(--cell-radius) text-sm [&>svg]:size-3.5 [&>svg]:text-muted-foreground", u.caption_label),
808
+ month_grid: W("w-full border-collapse", u.month_grid),
809
+ weekdays: W("flex", u.weekdays),
810
+ weekday: W("flex-1 rounded-(--cell-radius) text-[0.8rem] font-normal text-muted-foreground select-none", u.weekday),
811
+ week: W("mt-2 flex w-full", u.week),
812
+ week_number_header: W("w-(--cell-size) select-none", u.week_number_header),
813
+ week_number: W("text-[0.8rem] text-muted-foreground select-none", u.week_number),
814
+ day: W("group/day relative aspect-square h-full w-full rounded-(--cell-radius) p-0 text-center select-none [&:last-child[data-selected=true]_button]:rounded-r-(--cell-radius)", l.showWeekNumber ? "[&:nth-child(2)[data-selected=true]_button]:rounded-l-(--cell-radius)" : "[&:first-child[data-selected=true]_button]:rounded-l-(--cell-radius)", u.day),
815
+ range_start: W("relative isolate z-0 rounded-l-(--cell-radius) bg-muted after:absolute after:inset-y-0 after:right-0 after:w-4 after:bg-muted", u.range_start),
816
+ range_middle: W("rounded-none", u.range_middle),
817
+ range_end: W("relative isolate z-0 rounded-r-(--cell-radius) bg-muted after:absolute after:inset-y-0 after:left-0 after:w-4 after:bg-muted", u.range_end),
818
+ today: W("rounded-(--cell-radius) bg-muted text-foreground data-[selected=true]:rounded-none", u.today),
819
+ outside: W("text-muted-foreground aria-selected:text-muted-foreground", u.outside),
820
+ disabled: W("text-muted-foreground opacity-50", u.disabled),
821
+ hidden: W("invisible", u.hidden),
822
+ ...t
823
+ },
824
+ components: {
825
+ Root: ({ className: e, rootRef: t, ...n }) => /* @__PURE__ */ a("div", {
826
+ "data-slot": "calendar",
827
+ ref: t,
828
+ className: W(e),
829
+ ...n
830
+ }),
831
+ Chevron: ({ className: e, orientation: t, ...n }) => a(t === "left" ? _ : t === "right" ? v : g, {
832
+ className: W("size-4", e),
833
+ ...n
834
+ }),
835
+ DayButton: ({ ...e }) => /* @__PURE__ */ a(Vt, {
836
+ locale: o,
837
+ ...e
838
+ }),
839
+ WeekNumber: ({ children: e, ...t }) => /* @__PURE__ */ a("th", {
840
+ ...t,
841
+ children: /* @__PURE__ */ a("div", {
842
+ className: "flex size-(--cell-size) items-center justify-center text-center",
843
+ children: e
844
+ })
845
+ }),
846
+ ...c
847
+ },
848
+ ...l
849
+ });
850
+ }
851
+ function Vt({ className: e, day: t, modifiers: n, locale: r, ...i }) {
852
+ let o = te(), c = s.useRef(null);
853
+ return s.useEffect(() => {
854
+ n.focused && c.current?.focus();
855
+ }, [n.focused]), /* @__PURE__ */ a(K, {
856
+ variant: "ghost",
857
+ size: "icon",
858
+ "data-day": t.date.toLocaleDateString(r?.code),
859
+ "data-selected-single": n.selected && !n.range_start && !n.range_end && !n.range_middle,
860
+ "data-range-start": n.range_start,
861
+ "data-range-end": n.range_end,
862
+ "data-range-middle": n.range_middle,
863
+ className: W("relative isolate z-10 flex aspect-square size-auto w-full min-w-(--cell-size) flex-col gap-1 border-0 leading-none font-normal group-data-[focused=true]/day:relative group-data-[focused=true]/day:z-10 group-data-[focused=true]/day:border-ring group-data-[focused=true]/day:ring-[3px] group-data-[focused=true]/day:ring-ring/50 data-[range-end=true]:rounded-(--cell-radius) data-[range-end=true]:rounded-r-(--cell-radius) data-[range-end=true]:bg-primary data-[range-end=true]:text-primary-foreground data-[range-middle=true]:rounded-none data-[range-middle=true]:bg-muted data-[range-middle=true]:text-foreground data-[range-start=true]:rounded-(--cell-radius) data-[range-start=true]:rounded-l-(--cell-radius) data-[range-start=true]:bg-primary data-[range-start=true]:text-primary-foreground data-[selected-single=true]:bg-primary data-[selected-single=true]:text-primary-foreground dark:hover:text-foreground [&>span]:text-xs [&>span]:opacity-70", o.day, e),
864
+ ...i
865
+ });
866
+ }
867
+ //#endregion
868
+ //#region src/components/carousel/carousel.tsx
869
+ var Ht = s.createContext(null);
870
+ function J() {
871
+ let e = s.useContext(Ht);
872
+ if (!e) throw Error("useCarousel must be used within a <Carousel />");
873
+ return e;
874
+ }
875
+ function Ut({ orientation: e = "horizontal", opts: t, setApi: n, plugins: r, className: i, children: o, ...c }) {
876
+ let [l, u] = ne({
877
+ ...t,
878
+ axis: e === "horizontal" ? "x" : "y"
879
+ }, r), [d, f] = s.useState(!1), [p, m] = s.useState(!1), h = s.useCallback((e) => {
880
+ e && (f(e.canScrollPrev()), m(e.canScrollNext()));
881
+ }, []), g = s.useCallback(() => {
882
+ u?.scrollPrev();
883
+ }, [u]), _ = s.useCallback(() => {
884
+ u?.scrollNext();
885
+ }, [u]), v = s.useCallback((e) => {
886
+ e.key === "ArrowLeft" ? (e.preventDefault(), g()) : e.key === "ArrowRight" && (e.preventDefault(), _());
887
+ }, [g, _]);
888
+ return s.useEffect(() => {
889
+ !u || !n || n(u);
890
+ }, [u, n]), s.useEffect(() => {
891
+ if (u) return h(u), u.on("reInit", h), u.on("select", h), () => {
892
+ u?.off("reInit", h), u?.off("select", h);
893
+ };
894
+ }, [u, h]), /* @__PURE__ */ a(Ht.Provider, {
895
+ value: {
896
+ carouselRef: l,
897
+ api: u,
898
+ opts: t,
899
+ orientation: e || (t?.axis === "y" ? "vertical" : "horizontal"),
900
+ scrollPrev: g,
901
+ scrollNext: _,
902
+ canScrollPrev: d,
903
+ canScrollNext: p
904
+ },
905
+ children: /* @__PURE__ */ a("div", {
906
+ onKeyDownCapture: v,
907
+ className: W("relative", i),
908
+ role: "region",
909
+ "aria-roledescription": "carousel",
910
+ "data-slot": "carousel",
911
+ ...c,
912
+ children: o
913
+ })
914
+ });
915
+ }
916
+ function Wt({ className: e, ...t }) {
917
+ let { carouselRef: n, orientation: r } = J();
918
+ return /* @__PURE__ */ a("div", {
919
+ ref: n,
920
+ className: "overflow-hidden",
921
+ "data-slot": "carousel-content",
922
+ children: /* @__PURE__ */ a("div", {
923
+ className: W("flex", r === "horizontal" ? "-ml-4" : "-mt-4 flex-col", e),
924
+ ...t
925
+ })
926
+ });
927
+ }
928
+ function Gt({ className: e, ...t }) {
929
+ let { orientation: n } = J();
930
+ return /* @__PURE__ */ a("div", {
931
+ role: "group",
932
+ "aria-roledescription": "slide",
933
+ "data-slot": "carousel-item",
934
+ className: W("min-w-0 shrink-0 grow-0 basis-full", n === "horizontal" ? "pl-4" : "pt-4", e),
935
+ ...t
936
+ });
937
+ }
938
+ function Kt({ className: e, variant: t = "outline", size: n = "icon-sm", ...r }) {
939
+ let { orientation: i, scrollPrev: s, canScrollPrev: c } = J();
940
+ return /* @__PURE__ */ o(K, {
941
+ "data-slot": "carousel-previous",
942
+ variant: t,
943
+ size: n,
944
+ className: W("absolute touch-manipulation rounded-full", i === "horizontal" ? "inset-y-0 -left-12 my-auto" : "-top-12 left-1/2 -translate-x-1/2 rotate-90", e),
945
+ disabled: !c,
946
+ onClick: s,
947
+ ...r,
948
+ children: [/* @__PURE__ */ a(_, {}), /* @__PURE__ */ a("span", {
949
+ className: "sr-only",
950
+ children: "Previous slide"
951
+ })]
952
+ });
953
+ }
954
+ function qt({ className: e, variant: t = "outline", size: n = "icon-sm", ...r }) {
955
+ let { orientation: i, scrollNext: s, canScrollNext: c } = J();
956
+ return /* @__PURE__ */ o(K, {
957
+ "data-slot": "carousel-next",
958
+ variant: t,
959
+ size: n,
960
+ className: W("absolute touch-manipulation rounded-full", i === "horizontal" ? "inset-y-0 -right-12 my-auto" : "-bottom-12 left-1/2 -translate-x-1/2 rotate-90", e),
961
+ disabled: !c,
962
+ onClick: s,
963
+ ...r,
964
+ children: [/* @__PURE__ */ a(v, {}), /* @__PURE__ */ a("span", {
965
+ className: "sr-only",
966
+ children: "Next slide"
967
+ })]
968
+ });
969
+ }
970
+ //#endregion
971
+ //#region src/components/chart/chart.tsx
972
+ var Jt = {
973
+ light: "",
974
+ dark: ".dark"
975
+ }, Yt = {
976
+ width: 320,
977
+ height: 200
978
+ }, Xt = s.createContext(null);
979
+ function Zt() {
980
+ let e = s.useContext(Xt);
981
+ if (!e) throw Error("useChart must be used within a <ChartContainer />");
982
+ return e;
983
+ }
984
+ function Qt({ id: e, className: t, children: n, config: r, initialDimension: i = Yt, ...c }) {
985
+ let l = s.useId(), u = `chart-${e ?? l.replace(/:/g, "")}`;
986
+ return /* @__PURE__ */ a(Xt.Provider, {
987
+ value: { config: r },
988
+ children: /* @__PURE__ */ o("div", {
989
+ "data-slot": "chart",
990
+ "data-chart": u,
991
+ className: W("flex aspect-video justify-center text-xs [&_.recharts-cartesian-axis-tick_text]:fill-muted-foreground [&_.recharts-cartesian-grid_line[stroke='#ccc']]:stroke-border/50 [&_.recharts-curve.recharts-tooltip-cursor]:stroke-border [&_.recharts-dot[stroke='#fff']]:stroke-transparent [&_.recharts-layer]:outline-hidden [&_.recharts-polar-grid_[stroke='#ccc']]:stroke-border [&_.recharts-radial-bar-background-sector]:fill-muted [&_.recharts-rectangle.recharts-tooltip-cursor]:fill-muted [&_.recharts-reference-line_[stroke='#ccc']]:stroke-border [&_.recharts-sector]:outline-hidden [&_.recharts-sector[stroke='#fff']]:stroke-transparent [&_.recharts-surface]:outline-hidden", t),
992
+ ...c,
993
+ children: [/* @__PURE__ */ a($t, {
994
+ id: u,
995
+ config: r
996
+ }), /* @__PURE__ */ a(A.ResponsiveContainer, {
997
+ initialDimension: i,
998
+ children: n
999
+ })]
1000
+ })
1001
+ });
1002
+ }
1003
+ var $t = ({ id: e, config: t }) => {
1004
+ let n = Object.entries(t).filter(([, e]) => e.theme ?? e.color);
1005
+ return n.length ? /* @__PURE__ */ a("style", { dangerouslySetInnerHTML: { __html: Object.entries(Jt).map(([t, r]) => `
1006
+ ${r} [data-chart=${e}] {
1007
+ ${n.map(([e, n]) => {
1008
+ let r = n.theme?.[t] ?? n.color;
1009
+ return r ? ` --color-${e}: ${r};` : null;
1010
+ }).join("\n")}
1011
+ }
1012
+ `).join("\n") } }) : null;
1013
+ }, en = A.Tooltip;
1014
+ function tn({ active: e, payload: t, className: n, indicator: r = "dot", hideLabel: c = !1, hideIndicator: l = !1, label: u, labelFormatter: d, labelClassName: f, formatter: p, color: m, nameKey: h, labelKey: g }) {
1015
+ let { config: _ } = Zt(), v = s.useMemo(() => {
1016
+ if (c || !t?.length) return null;
1017
+ let [e] = t, n = `${g ?? e?.dataKey ?? e?.name ?? "value"}`, r = an(_, e, n), i = !g && typeof u == "string" ? _[u]?.label ?? u : r?.label;
1018
+ return d ? /* @__PURE__ */ a("div", {
1019
+ className: W("font-medium", f),
1020
+ children: d(i, t)
1021
+ }) : i ? /* @__PURE__ */ a("div", {
1022
+ className: W("font-medium", f),
1023
+ children: i
1024
+ }) : null;
1025
+ }, [
1026
+ u,
1027
+ d,
1028
+ t,
1029
+ c,
1030
+ f,
1031
+ _,
1032
+ g
1033
+ ]);
1034
+ if (!e || !t?.length) return null;
1035
+ let y = t.length === 1 && r !== "dot";
1036
+ return /* @__PURE__ */ o("div", {
1037
+ className: W("grid min-w-32 items-start gap-1.5 rounded-lg border border-border/50 bg-background px-2.5 py-1.5 text-xs shadow-xl", n),
1038
+ children: [y ? null : v, /* @__PURE__ */ a("div", {
1039
+ className: "grid gap-1.5",
1040
+ children: t.filter((e) => e.type !== "none").map((e, t) => {
1041
+ let n = `${h ?? e.name ?? e.dataKey ?? "value"}`, s = an(_, e, n), c = m ?? e.payload?.fill ?? e.color;
1042
+ return /* @__PURE__ */ a("div", {
1043
+ className: W("flex w-full flex-wrap items-stretch gap-2 [&>svg]:h-2.5 [&>svg]:w-2.5 [&>svg]:text-muted-foreground", r === "dot" && "items-center"),
1044
+ children: p && e?.value !== void 0 && e.name ? p(e.value, e.name, e, t, e.payload) : /* @__PURE__ */ o(i, { children: [s?.icon ? /* @__PURE__ */ a(s.icon, {}) : !l && /* @__PURE__ */ a("div", {
1045
+ className: W("shrink-0 rounded-[2px] border-(--color-border) bg-(--color-bg)", {
1046
+ "h-2.5 w-2.5": r === "dot",
1047
+ "w-1": r === "line",
1048
+ "w-0 border-[1.5px] border-dashed bg-transparent": r === "dashed",
1049
+ "my-0.5": y && r === "dashed"
1050
+ }),
1051
+ style: {
1052
+ "--color-bg": c,
1053
+ "--color-border": c
1054
+ }
1055
+ }), /* @__PURE__ */ o("div", {
1056
+ className: W("flex flex-1 justify-between leading-none", y ? "items-end" : "items-center"),
1057
+ children: [/* @__PURE__ */ o("div", {
1058
+ className: "grid gap-1.5",
1059
+ children: [y ? v : null, /* @__PURE__ */ a("span", {
1060
+ className: "text-muted-foreground",
1061
+ children: s?.label ?? e.name
1062
+ })]
1063
+ }), e.value != null && /* @__PURE__ */ a("span", {
1064
+ className: "font-mono font-medium text-foreground tabular-nums",
1065
+ children: typeof e.value == "number" ? e.value.toLocaleString() : String(e.value)
1066
+ })]
1067
+ })] })
1068
+ }, t);
1069
+ })
1070
+ })]
1071
+ });
1072
+ }
1073
+ var nn = A.Legend;
1074
+ function rn({ className: e, hideIcon: t = !1, payload: n, verticalAlign: r = "bottom", nameKey: i }) {
1075
+ let { config: s } = Zt();
1076
+ return n?.length ? /* @__PURE__ */ a("div", {
1077
+ className: W("flex items-center justify-center gap-4", r === "top" ? "pb-3" : "pt-3", e),
1078
+ children: n.filter((e) => e.type !== "none").map((e, n) => {
1079
+ let r = `${i ?? e.dataKey ?? "value"}`, c = an(s, e, r);
1080
+ return /* @__PURE__ */ o("div", {
1081
+ className: W("flex items-center gap-1.5 [&>svg]:h-3 [&>svg]:w-3 [&>svg]:text-muted-foreground"),
1082
+ children: [c?.icon && !t ? /* @__PURE__ */ a(c.icon, {}) : /* @__PURE__ */ a("div", {
1083
+ className: "h-2 w-2 shrink-0 rounded-[2px]",
1084
+ style: { backgroundColor: e.color }
1085
+ }), c?.label]
1086
+ }, n);
1087
+ })
1088
+ }) : null;
1089
+ }
1090
+ function an(e, t, n) {
1091
+ if (typeof t != "object" || !t) return;
1092
+ let r = "payload" in t && typeof t.payload == "object" && t.payload !== null ? t.payload : void 0, i = n;
1093
+ return n in t && typeof t[n] == "string" ? i = t[n] : r && n in r && typeof r[n] == "string" && (i = r[n]), i in e ? e[i] : e[n];
1094
+ }
1095
+ //#endregion
1096
+ //#region src/components/checkbox/checkbox.tsx
1097
+ function on({ className: e, ...t }) {
1098
+ return /* @__PURE__ */ a(re.Root, {
1099
+ "data-slot": "checkbox",
1100
+ className: W("peer relative flex size-4 shrink-0 items-center justify-center rounded-[4px] border border-input transition-colors outline-none group-has-disabled/field:opacity-50 group-has-[:focus-visible]/field-label:ring-0 group-has-[:focus-visible]/field-label:not-data-checked:border-input after:absolute after:-inset-x-3 after:-inset-y-2 focus-visible:border-ring focus-visible:ring-3 focus-visible:ring-ring/50 disabled:cursor-not-allowed disabled:opacity-50 aria-invalid:border-destructive aria-invalid:ring-3 aria-invalid:ring-destructive/20 aria-invalid:aria-checked:border-primary dark:bg-input/30 dark:aria-invalid:border-destructive/50 dark:aria-invalid:ring-destructive/40 data-checked:border-primary data-checked:bg-primary data-checked:text-primary-foreground group-has-[:focus-visible]/field-label:data-checked:border-primary dark:data-checked:bg-primary", e),
1101
+ ...t,
1102
+ children: /* @__PURE__ */ a(re.Indicator, {
1103
+ "data-slot": "checkbox-indicator",
1104
+ className: "grid place-content-center text-current transition-none [&>svg]:size-3.5",
1105
+ children: /* @__PURE__ */ a(h, {})
1106
+ })
1107
+ });
1108
+ }
1109
+ //#endregion
1110
+ //#region src/components/collapsible/collapsible.tsx
1111
+ function sn({ ...e }) {
1112
+ return /* @__PURE__ */ a(ie.Root, {
1113
+ "data-slot": "collapsible",
1114
+ ...e
1115
+ });
1116
+ }
1117
+ function cn({ ...e }) {
1118
+ return /* @__PURE__ */ a(ie.Trigger, {
1119
+ "data-slot": "collapsible-trigger",
1120
+ ...e
1121
+ });
1122
+ }
1123
+ function ln({ ...e }) {
1124
+ return /* @__PURE__ */ a(ie.Panel, {
1125
+ "data-slot": "collapsible-content",
1126
+ ...e
1127
+ });
1128
+ }
1129
+ //#endregion
1130
+ //#region src/components/textarea/textarea.tsx
1131
+ function un({ className: e, ...t }) {
1132
+ return /* @__PURE__ */ a("textarea", {
1133
+ "data-slot": "textarea",
1134
+ className: W("flex field-sizing-content min-h-16 w-full rounded-lg border border-input bg-transparent px-2.5 py-2 text-base transition-colors outline-none placeholder:text-muted-foreground focus-visible:border-ring focus-visible:ring-3 focus-visible:ring-ring/50 disabled:cursor-not-allowed disabled:bg-input/50 disabled:opacity-50 aria-invalid:border-destructive aria-invalid:ring-3 aria-invalid:ring-destructive/20 md:text-sm dark:bg-input/30 dark:disabled:bg-input/80 dark:aria-invalid:border-destructive/50 dark:aria-invalid:ring-destructive/40", e),
1135
+ ...t
1136
+ });
1137
+ }
1138
+ //#endregion
1139
+ //#region src/components/input-group/input-group.tsx
1140
+ function dn({ className: e, ...t }) {
1141
+ return /* @__PURE__ */ a("div", {
1142
+ "data-slot": "input-group",
1143
+ role: "group",
1144
+ className: W("group/input-group relative flex h-8 w-full min-w-0 items-center rounded-lg border border-input transition-colors outline-none in-data-[slot=combobox-content]:focus-within:border-inherit in-data-[slot=combobox-content]:focus-within:ring-0 has-disabled:bg-input/50 has-[[data-slot=input-group-control]:focus-visible]:border-ring has-[[data-slot=input-group-control]:focus-visible]:ring-3 has-[[data-slot=input-group-control]:focus-visible]:ring-ring/50 has-[[data-slot][aria-invalid=true]]:border-destructive has-[[data-slot][aria-invalid=true]]:ring-3 has-[[data-slot][aria-invalid=true]]:ring-destructive/20 has-[>[data-align=block-end]]:h-auto has-[>[data-align=block-end]]:flex-col has-[>[data-align=block-start]]:h-auto has-[>[data-align=block-start]]:flex-col has-[>textarea]:h-auto dark:bg-input/30 dark:has-disabled:bg-input/80 dark:has-[[data-slot][aria-invalid=true]]:ring-destructive/40 has-[>[data-align=block-end]]:[&>input]:pt-3 has-[>[data-align=block-start]]:[&>input]:pb-3 has-[>[data-align=inline-end]]:[&>input]:pr-1.5 has-[>[data-align=inline-start]]:[&>input]:pl-1.5", e),
122
1145
  ...t
123
1146
  });
124
1147
  }
1148
+ var fn = t("flex h-auto cursor-text items-center justify-center gap-2 py-1.5 text-sm font-medium text-muted-foreground select-none group-data-[disabled=true]/input-group:opacity-50 [&>kbd]:rounded-[calc(var(--radius)-5px)] [&>svg:not([class*='size-'])]:size-4", {
1149
+ variants: { align: {
1150
+ "inline-start": "order-first pl-2 has-[>button]:ml-[-0.3rem] has-[>kbd]:ml-[-0.15rem]",
1151
+ "inline-end": "order-last pr-2 has-[>button]:mr-[-0.3rem] has-[>kbd]:mr-[-0.15rem]",
1152
+ "block-start": "order-first w-full justify-start px-2.5 pt-2 group-has-[>input]/input-group:pt-2 [.border-b]:pb-2",
1153
+ "block-end": "order-last w-full justify-start px-2.5 pb-2 group-has-[>input]/input-group:pb-2 [.border-t]:pt-2"
1154
+ } },
1155
+ defaultVariants: { align: "inline-start" }
1156
+ });
1157
+ function pn({ className: e, align: t = "inline-start", ...n }) {
1158
+ return /* @__PURE__ */ a("div", {
1159
+ role: "group",
1160
+ "data-slot": "input-group-addon",
1161
+ "data-align": t,
1162
+ className: W(fn({ align: t }), e),
1163
+ onClick: (e) => {
1164
+ e.target.closest("button") || e.currentTarget.parentElement?.querySelector("input")?.focus();
1165
+ },
1166
+ ...n
1167
+ });
1168
+ }
1169
+ var mn = t("flex items-center gap-2 text-sm shadow-none", {
1170
+ variants: { size: {
1171
+ xs: "h-6 gap-1 rounded-[calc(var(--radius)-3px)] px-1.5 [&>svg:not([class*='size-'])]:size-3.5",
1172
+ sm: "",
1173
+ "icon-xs": "size-6 rounded-[calc(var(--radius)-3px)] p-0 has-[>svg]:p-0",
1174
+ "icon-sm": "size-8 p-0 has-[>svg]:p-0"
1175
+ } },
1176
+ defaultVariants: { size: "xs" }
1177
+ });
1178
+ function hn({ className: e, type: t = "button", variant: n = "ghost", size: r = "xs", ...i }) {
1179
+ return /* @__PURE__ */ a(K, {
1180
+ type: t,
1181
+ "data-size": r,
1182
+ variant: n,
1183
+ className: W(mn({ size: r }), e),
1184
+ ...i
1185
+ });
1186
+ }
1187
+ function gn({ className: e, ...t }) {
1188
+ return /* @__PURE__ */ a("span", {
1189
+ className: W("flex items-center gap-2 text-sm text-muted-foreground [&_svg]:pointer-events-none [&_svg:not([class*='size-'])]:size-4", e),
1190
+ ...t
1191
+ });
1192
+ }
1193
+ function _n({ className: e, ...t }) {
1194
+ return /* @__PURE__ */ a(Fe, {
1195
+ "data-slot": "input-group-control",
1196
+ className: W("flex-1 rounded-none border-0 bg-transparent shadow-none ring-0 focus-visible:ring-0 disabled:bg-transparent aria-invalid:ring-0 dark:bg-transparent dark:disabled:bg-transparent", e),
1197
+ ...t
1198
+ });
1199
+ }
1200
+ function vn({ className: e, ...t }) {
1201
+ return /* @__PURE__ */ a(un, {
1202
+ "data-slot": "input-group-control",
1203
+ className: W("flex-1 resize-none rounded-none border-0 bg-transparent py-2 shadow-none ring-0 focus-visible:ring-0 disabled:bg-transparent aria-invalid:ring-0 dark:bg-transparent dark:disabled:bg-transparent", e),
1204
+ ...t
1205
+ });
1206
+ }
1207
+ //#endregion
1208
+ //#region src/components/combobox/combobox.tsx
1209
+ var yn = j.Root;
1210
+ function bn({ ...e }) {
1211
+ return /* @__PURE__ */ a(j.Value, {
1212
+ "data-slot": "combobox-value",
1213
+ ...e
1214
+ });
1215
+ }
1216
+ function xn({ className: e, children: t, ...n }) {
1217
+ return /* @__PURE__ */ o(j.Trigger, {
1218
+ "data-slot": "combobox-trigger",
1219
+ className: W("[&_svg:not([class*='size-'])]:size-4", e),
1220
+ ...n,
1221
+ children: [t, /* @__PURE__ */ a(g, { className: "pointer-events-none size-4 text-muted-foreground" })]
1222
+ });
1223
+ }
1224
+ function Sn({ className: e, "aria-label": t = "Clear selection", ...n }) {
1225
+ return /* @__PURE__ */ a(j.Clear, {
1226
+ "data-slot": "combobox-clear",
1227
+ render: /* @__PURE__ */ a(hn, {
1228
+ variant: "ghost",
1229
+ size: "icon-xs"
1230
+ }),
1231
+ className: W(e),
1232
+ "aria-label": t,
1233
+ ...n,
1234
+ children: /* @__PURE__ */ a(w, { className: "pointer-events-none" })
1235
+ });
1236
+ }
1237
+ function Cn({ className: e, children: t, disabled: n = !1, showTrigger: r = !0, showClear: i = !1, triggerAriaLabel: s = "Toggle suggestions", ...c }) {
1238
+ return /* @__PURE__ */ o(dn, {
1239
+ className: W("w-auto", e),
1240
+ children: [
1241
+ /* @__PURE__ */ a(j.Input, {
1242
+ render: /* @__PURE__ */ a(_n, { disabled: n }),
1243
+ ...c
1244
+ }),
1245
+ /* @__PURE__ */ o(pn, {
1246
+ align: "inline-end",
1247
+ children: [r && /* @__PURE__ */ a(hn, {
1248
+ size: "icon-xs",
1249
+ variant: "ghost",
1250
+ render: /* @__PURE__ */ a(xn, {}),
1251
+ "data-slot": "input-group-button",
1252
+ className: "group-has-data-[slot=combobox-clear]/input-group:hidden data-pressed:bg-transparent",
1253
+ disabled: n,
1254
+ "aria-label": s
1255
+ }), i && /* @__PURE__ */ a(Sn, { disabled: n })]
1256
+ }),
1257
+ t
1258
+ ]
1259
+ });
1260
+ }
1261
+ function wn({ className: e, side: t = "bottom", sideOffset: n = 6, align: r = "start", alignOffset: i = 0, anchor: o, ...s }) {
1262
+ return /* @__PURE__ */ a(j.Portal, { children: /* @__PURE__ */ a(j.Positioner, {
1263
+ side: t,
1264
+ sideOffset: n,
1265
+ align: r,
1266
+ alignOffset: i,
1267
+ anchor: o,
1268
+ className: "isolate z-50",
1269
+ children: /* @__PURE__ */ a(j.Popup, {
1270
+ "data-slot": "combobox-content",
1271
+ "data-chips": !!o,
1272
+ className: W("group/combobox-content relative max-h-(--available-height) w-(--anchor-width) max-w-(--available-width) min-w-[calc(var(--anchor-width)+--spacing(7))] origin-(--transform-origin) overflow-hidden rounded-lg bg-popover text-popover-foreground shadow-md ring-1 ring-foreground/10 duration-100 data-[chips=true]:min-w-(--anchor-width) data-[side=bottom]:slide-in-from-top-2 data-[side=inline-end]:slide-in-from-left-2 data-[side=inline-start]:slide-in-from-right-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 *:data-[slot=input-group]:m-1 *:data-[slot=input-group]:mb-0 *:data-[slot=input-group]:h-8 *:data-[slot=input-group]:border-input/30 *:data-[slot=input-group]:bg-input/30 *:data-[slot=input-group]:shadow-none data-open:animate-in data-open:fade-in-0 data-open:zoom-in-95 data-closed:animate-out data-closed:fade-out-0 data-closed:zoom-out-95", e),
1273
+ ...s
1274
+ })
1275
+ }) });
1276
+ }
1277
+ function Tn({ className: e, ...t }) {
1278
+ return /* @__PURE__ */ a(j.List, {
1279
+ "data-slot": "combobox-list",
1280
+ className: W("no-scrollbar max-h-[min(calc(--spacing(72)---spacing(9)),calc(var(--available-height)---spacing(9)))] scroll-py-1 overflow-y-auto overscroll-contain p-1 data-empty:p-0", e),
1281
+ ...t
1282
+ });
1283
+ }
1284
+ function En({ className: e, children: t, ...n }) {
1285
+ return /* @__PURE__ */ o(j.Item, {
1286
+ "data-slot": "combobox-item",
1287
+ className: W("relative flex w-full cursor-default items-center gap-2 rounded-md py-1 pr-8 pl-1.5 text-sm outline-hidden select-none data-highlighted:bg-accent data-highlighted:text-accent-foreground not-data-[variant=destructive]:data-highlighted:**:text-accent-foreground data-disabled:pointer-events-none data-disabled:opacity-50 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4", e),
1288
+ ...n,
1289
+ children: [t, /* @__PURE__ */ a(j.ItemIndicator, {
1290
+ render: /* @__PURE__ */ a("span", { className: "pointer-events-none absolute right-2 flex size-4 items-center justify-center" }),
1291
+ children: /* @__PURE__ */ a(h, { className: "pointer-events-none" })
1292
+ })]
1293
+ });
1294
+ }
1295
+ function Dn({ className: e, ...t }) {
1296
+ return /* @__PURE__ */ a(j.Group, {
1297
+ "data-slot": "combobox-group",
1298
+ className: W(e),
1299
+ ...t
1300
+ });
1301
+ }
1302
+ function On({ className: e, ...t }) {
1303
+ return /* @__PURE__ */ a(j.GroupLabel, {
1304
+ "data-slot": "combobox-label",
1305
+ className: W("px-2 py-1.5 text-xs text-muted-foreground", e),
1306
+ ...t
1307
+ });
1308
+ }
1309
+ function kn({ ...e }) {
1310
+ return /* @__PURE__ */ a(j.Collection, {
1311
+ "data-slot": "combobox-collection",
1312
+ ...e
1313
+ });
1314
+ }
1315
+ function An({ className: e, ...t }) {
1316
+ return /* @__PURE__ */ a(j.Empty, {
1317
+ "data-slot": "combobox-empty",
1318
+ className: W("hidden w-full justify-center py-2 text-center text-sm text-muted-foreground group-data-empty/combobox-content:flex", e),
1319
+ ...t
1320
+ });
1321
+ }
1322
+ function jn({ className: e, ...t }) {
1323
+ return /* @__PURE__ */ a(j.Separator, {
1324
+ "data-slot": "combobox-separator",
1325
+ className: W("-mx-1 my-1 h-px bg-border", e),
1326
+ ...t
1327
+ });
1328
+ }
1329
+ function Mn({ className: e, ...t }) {
1330
+ return /* @__PURE__ */ a(j.Chips, {
1331
+ "data-slot": "combobox-chips",
1332
+ className: W("flex min-h-8 flex-wrap items-center gap-1 rounded-lg border border-input bg-transparent bg-clip-padding px-2.5 py-1 text-sm transition-colors focus-within:border-ring focus-within:ring-3 focus-within:ring-ring/50 has-aria-invalid:border-destructive has-aria-invalid:ring-3 has-aria-invalid:ring-destructive/20 has-data-[slot=combobox-chip]:px-1 dark:bg-input/30 dark:has-aria-invalid:border-destructive/50 dark:has-aria-invalid:ring-destructive/40", e),
1333
+ ...t
1334
+ });
1335
+ }
1336
+ function Nn({ className: e, children: t, showRemove: n = !0, ...r }) {
1337
+ return /* @__PURE__ */ o(j.Chip, {
1338
+ "data-slot": "combobox-chip",
1339
+ className: W("flex h-[calc(--spacing(5.25))] w-fit items-center justify-center gap-1 rounded-sm bg-muted px-1.5 text-xs font-medium whitespace-nowrap text-foreground has-disabled:pointer-events-none has-disabled:cursor-not-allowed has-disabled:opacity-50 has-data-[slot=combobox-chip-remove]:pr-0", e),
1340
+ ...r,
1341
+ children: [t, n && /* @__PURE__ */ a(j.ChipRemove, {
1342
+ render: /* @__PURE__ */ a(K, {
1343
+ variant: "ghost",
1344
+ size: "icon-xs"
1345
+ }),
1346
+ className: "-ml-1 opacity-50 hover:opacity-100",
1347
+ "data-slot": "combobox-chip-remove",
1348
+ "aria-label": "Remove item",
1349
+ children: /* @__PURE__ */ a(w, { className: "pointer-events-none" })
1350
+ })]
1351
+ });
1352
+ }
1353
+ function Pn({ className: e, "aria-label": t = "Search options", ...n }) {
1354
+ return /* @__PURE__ */ a(j.Input, {
1355
+ "data-slot": "combobox-chip-input",
1356
+ "aria-label": t,
1357
+ className: W("min-w-16 flex-1 outline-none", e),
1358
+ ...n
1359
+ });
1360
+ }
1361
+ function Fn() {
1362
+ return s.useRef(null);
1363
+ }
1364
+ //#endregion
1365
+ //#region src/components/table/table.tsx
1366
+ function In({ className: e, ...t }) {
1367
+ return /* @__PURE__ */ a("div", {
1368
+ "data-slot": "table-container",
1369
+ className: "relative w-full overflow-x-auto",
1370
+ children: /* @__PURE__ */ a("table", {
1371
+ "data-slot": "table",
1372
+ className: W("w-full caption-bottom text-sm", e),
1373
+ ...t
1374
+ })
1375
+ });
1376
+ }
1377
+ function Ln({ className: e, ...t }) {
1378
+ return /* @__PURE__ */ a("thead", {
1379
+ "data-slot": "table-header",
1380
+ className: W("[&_tr]:border-b", e),
1381
+ ...t
1382
+ });
1383
+ }
1384
+ function Rn({ className: e, ...t }) {
1385
+ return /* @__PURE__ */ a("tbody", {
1386
+ "data-slot": "table-body",
1387
+ className: W("[&_tr:last-child]:border-0", e),
1388
+ ...t
1389
+ });
1390
+ }
1391
+ function zn({ className: e, ...t }) {
1392
+ return /* @__PURE__ */ a("tfoot", {
1393
+ "data-slot": "table-footer",
1394
+ className: W("border-t bg-muted/50 font-medium [&>tr]:last:border-b-0", e),
1395
+ ...t
1396
+ });
1397
+ }
1398
+ function Y({ className: e, ...t }) {
1399
+ return /* @__PURE__ */ a("tr", {
1400
+ "data-slot": "table-row",
1401
+ className: W("border-b transition-colors hover:bg-muted/50 has-aria-expanded:bg-muted/50 data-[state=selected]:bg-muted", e),
1402
+ ...t
1403
+ });
1404
+ }
1405
+ function Bn({ className: e, ...t }) {
1406
+ return /* @__PURE__ */ a("th", {
1407
+ "data-slot": "table-head",
1408
+ className: W("h-10 px-2 text-left align-middle font-medium whitespace-nowrap text-foreground [&:has([role=checkbox])]:pr-0", e),
1409
+ ...t
1410
+ });
1411
+ }
1412
+ function Vn({ className: e, ...t }) {
1413
+ return /* @__PURE__ */ a("td", {
1414
+ "data-slot": "table-cell",
1415
+ className: W("p-2 align-middle whitespace-nowrap [&:has([role=checkbox])]:pr-0", e),
1416
+ ...t
1417
+ });
1418
+ }
1419
+ function Hn({ className: e, ...t }) {
1420
+ return /* @__PURE__ */ a("caption", {
1421
+ "data-slot": "table-caption",
1422
+ className: W("mt-4 text-sm text-muted-foreground", e),
1423
+ ...t
1424
+ });
1425
+ }
1426
+ //#endregion
1427
+ //#region src/components/data-table/data-table.tsx
1428
+ function Un({ columns: e, data: t, emptyMessage: n = "No results.", className: r }) {
1429
+ let i = se({
1430
+ columns: e,
1431
+ data: t,
1432
+ getCoreRowModel: oe()
1433
+ });
1434
+ return /* @__PURE__ */ a("div", {
1435
+ "data-slot": "data-table",
1436
+ className: W("overflow-hidden rounded-lg border", r),
1437
+ children: /* @__PURE__ */ o(In, { children: [/* @__PURE__ */ a(Ln, { children: i.getHeaderGroups().map((e) => /* @__PURE__ */ a(Y, { children: e.headers.map((e) => /* @__PURE__ */ a(Bn, {
1438
+ colSpan: e.colSpan,
1439
+ children: e.isPlaceholder ? null : ae(e.column.columnDef.header, e.getContext())
1440
+ }, e.id)) }, e.id)) }), /* @__PURE__ */ a(Rn, { children: i.getRowModel().rows.length ? i.getRowModel().rows.map((e) => /* @__PURE__ */ a(Y, {
1441
+ "data-state": e.getIsSelected() && "selected",
1442
+ children: e.getVisibleCells().map((e) => /* @__PURE__ */ a(Vn, { children: ae(e.column.columnDef.cell, e.getContext()) }, e.id))
1443
+ }, e.id)) : /* @__PURE__ */ a(Y, { children: /* @__PURE__ */ a(Vn, {
1444
+ colSpan: Math.max(e.length, 1),
1445
+ className: "h-24 text-center",
1446
+ children: n
1447
+ }) }) })] })
1448
+ });
1449
+ }
1450
+ //#endregion
1451
+ //#region src/components/popover/popover.tsx
1452
+ function Wn({ ...e }) {
1453
+ return /* @__PURE__ */ a(M.Root, {
1454
+ "data-slot": "popover",
1455
+ ...e
1456
+ });
1457
+ }
1458
+ function Gn({ ...e }) {
1459
+ return /* @__PURE__ */ a(M.Trigger, {
1460
+ "data-slot": "popover-trigger",
1461
+ ...e
1462
+ });
1463
+ }
1464
+ function Kn({ className: e, align: t = "center", alignOffset: n = 0, side: r = "bottom", sideOffset: i = 4, ...o }) {
1465
+ return /* @__PURE__ */ a(M.Portal, { children: /* @__PURE__ */ a(M.Positioner, {
1466
+ align: t,
1467
+ alignOffset: n,
1468
+ side: r,
1469
+ sideOffset: i,
1470
+ className: "isolate z-50",
1471
+ children: /* @__PURE__ */ a(M.Popup, {
1472
+ "data-slot": "popover-content",
1473
+ className: W("z-50 flex w-72 origin-(--transform-origin) flex-col gap-2.5 rounded-lg bg-popover p-2.5 text-sm text-popover-foreground shadow-md ring-1 ring-foreground/10 outline-hidden duration-100 data-[side=bottom]:slide-in-from-top-2 data-[side=inline-end]:slide-in-from-left-2 data-[side=inline-start]:slide-in-from-right-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 data-open:animate-in data-open:fade-in-0 data-open:zoom-in-95 data-closed:animate-out data-closed:fade-out-0 data-closed:zoom-out-95", e),
1474
+ ...o
1475
+ })
1476
+ }) });
1477
+ }
1478
+ function qn({ className: e, ...t }) {
1479
+ return /* @__PURE__ */ a("div", {
1480
+ "data-slot": "popover-header",
1481
+ className: W("flex flex-col gap-0.5 text-sm", e),
1482
+ ...t
1483
+ });
1484
+ }
1485
+ function Jn({ className: e, ...t }) {
1486
+ return /* @__PURE__ */ a(M.Title, {
1487
+ "data-slot": "popover-title",
1488
+ className: W("font-medium", e),
1489
+ ...t
1490
+ });
1491
+ }
1492
+ function Yn({ className: e, ...t }) {
1493
+ return /* @__PURE__ */ a(M.Description, {
1494
+ "data-slot": "popover-description",
1495
+ className: W("text-muted-foreground", e),
1496
+ ...t
1497
+ });
1498
+ }
1499
+ //#endregion
1500
+ //#region src/components/date-picker/date-picker.tsx
1501
+ function Xn(e) {
1502
+ let { value: t, defaultValue: n, onValueChange: r, placeholder: i = "Pick a date", disabled: c, className: l, calendarProps: u, triggerProps: d, formatValue: f = (e) => ce(e, "PPP") } = e, [p, h] = s.useState(n), [g, _] = s.useState(!1), v = Object.prototype.hasOwnProperty.call(e, "value"), y = v ? t : p, b = (e) => {
1503
+ v || h(e), r?.(e), e && _(!1);
1504
+ };
1505
+ return /* @__PURE__ */ o(Wn, {
1506
+ open: g,
1507
+ onOpenChange: _,
1508
+ children: [/* @__PURE__ */ o(Gn, {
1509
+ disabled: c,
1510
+ render: /* @__PURE__ */ a(K, {
1511
+ ...d,
1512
+ variant: d?.variant ?? "outline",
1513
+ className: W("justify-start text-left font-normal data-[empty=true]:text-muted-foreground", l, d?.className)
1514
+ }),
1515
+ children: [/* @__PURE__ */ a(m, { "data-icon": "inline-start" }), y ? f(y) : /* @__PURE__ */ a("span", { children: i })]
1516
+ }), /* @__PURE__ */ a(Kn, {
1517
+ align: "start",
1518
+ "aria-label": "Choose date",
1519
+ className: "w-auto p-0",
1520
+ children: /* @__PURE__ */ a(Bt, {
1521
+ ...u,
1522
+ mode: "single",
1523
+ selected: y,
1524
+ onSelect: b
1525
+ })
1526
+ })]
1527
+ });
1528
+ }
1529
+ //#endregion
1530
+ //#region src/components/dialog/dialog.tsx
1531
+ function Zn({ ...e }) {
1532
+ return /* @__PURE__ */ a(N.Root, {
1533
+ "data-slot": "dialog",
1534
+ ...e
1535
+ });
1536
+ }
1537
+ function Qn({ ...e }) {
1538
+ return /* @__PURE__ */ a(N.Trigger, {
1539
+ "data-slot": "dialog-trigger",
1540
+ ...e
1541
+ });
1542
+ }
1543
+ function $n({ ...e }) {
1544
+ return /* @__PURE__ */ a(N.Portal, {
1545
+ "data-slot": "dialog-portal",
1546
+ ...e
1547
+ });
1548
+ }
1549
+ function er({ ...e }) {
1550
+ return /* @__PURE__ */ a(N.Close, {
1551
+ "data-slot": "dialog-close",
1552
+ ...e
1553
+ });
1554
+ }
1555
+ function tr({ className: e, ...t }) {
1556
+ return /* @__PURE__ */ a(N.Backdrop, {
1557
+ "data-slot": "dialog-overlay",
1558
+ className: W("fixed inset-0 isolate z-50 bg-foreground/10 duration-100 supports-backdrop-filter:backdrop-blur-xs data-open:animate-in data-open:fade-in-0 data-closed:animate-out data-closed:fade-out-0", e),
1559
+ ...t
1560
+ });
1561
+ }
1562
+ function nr({ className: e, children: t, showCloseButton: n = !0, ...r }) {
1563
+ return /* @__PURE__ */ o($n, { children: [/* @__PURE__ */ a(tr, {}), /* @__PURE__ */ o(N.Popup, {
1564
+ "data-slot": "dialog-content",
1565
+ className: W("fixed top-1/2 left-1/2 z-50 grid w-full max-w-[calc(100%-2rem)] -translate-x-1/2 -translate-y-1/2 gap-4 rounded-xl bg-popover p-4 text-sm text-popover-foreground ring-1 ring-foreground/10 duration-100 outline-none sm:max-w-sm data-open:animate-in data-open:fade-in-0 data-open:zoom-in-95 data-closed:animate-out data-closed:fade-out-0 data-closed:zoom-out-95", e),
1566
+ ...r,
1567
+ children: [t, n && /* @__PURE__ */ o(N.Close, {
1568
+ "data-slot": "dialog-close",
1569
+ render: /* @__PURE__ */ a(K, {
1570
+ variant: "ghost",
1571
+ className: "absolute top-2 right-2",
1572
+ size: "icon-sm"
1573
+ }),
1574
+ children: [/* @__PURE__ */ a(w, {}), /* @__PURE__ */ a("span", {
1575
+ className: "sr-only",
1576
+ children: "Close"
1577
+ })]
1578
+ })]
1579
+ })] });
1580
+ }
1581
+ function rr({ className: e, ...t }) {
1582
+ return /* @__PURE__ */ a("div", {
1583
+ "data-slot": "dialog-header",
1584
+ className: W("flex flex-col gap-2", e),
1585
+ ...t
1586
+ });
1587
+ }
1588
+ function ir({ className: e, showCloseButton: t = !1, children: n, ...r }) {
1589
+ return /* @__PURE__ */ o("div", {
1590
+ "data-slot": "dialog-footer",
1591
+ className: W("-mx-4 -mb-4 flex flex-col-reverse gap-2 rounded-b-xl border-t bg-muted/50 p-4 sm:flex-row sm:justify-end", e),
1592
+ ...r,
1593
+ children: [n, t && /* @__PURE__ */ a(N.Close, {
1594
+ render: /* @__PURE__ */ a(K, { variant: "outline" }),
1595
+ children: "Close"
1596
+ })]
1597
+ });
1598
+ }
1599
+ function ar({ className: e, ...t }) {
1600
+ return /* @__PURE__ */ a(N.Title, {
1601
+ "data-slot": "dialog-title",
1602
+ className: W("font-heading text-base leading-none font-medium", e),
1603
+ ...t
1604
+ });
1605
+ }
1606
+ function or({ className: e, ...t }) {
1607
+ return /* @__PURE__ */ a(N.Description, {
1608
+ "data-slot": "dialog-description",
1609
+ className: W("text-sm text-muted-foreground *:[a]:underline *:[a]:underline-offset-3 *:[a]:hover:text-foreground", e),
1610
+ ...t
1611
+ });
1612
+ }
1613
+ //#endregion
1614
+ //#region src/components/drawer/drawer.tsx
1615
+ var sr = s.createContext(null);
1616
+ function cr() {
1617
+ let e = s.useContext(sr);
1618
+ if (!e) throw Error("useDrawer must be used within a Drawer.");
1619
+ return e;
1620
+ }
1621
+ function lr({ modal: e = !0, showSwipeHandle: t = !1, snapPoints: n, swipeDirection: r = "down", ...i }) {
1622
+ let o = n != null && n.length > 0, c = s.useMemo(() => ({
1623
+ hasSnapPoints: o,
1624
+ modal: e,
1625
+ showSwipeHandle: t,
1626
+ swipeDirection: r
1627
+ }), [
1628
+ o,
1629
+ e,
1630
+ t,
1631
+ r
1632
+ ]);
1633
+ return /* @__PURE__ */ a(sr.Provider, {
1634
+ value: c,
1635
+ children: /* @__PURE__ */ a(P.Root, {
1636
+ "data-slot": "drawer",
1637
+ modal: e,
1638
+ snapPoints: n,
1639
+ swipeDirection: r,
1640
+ ...i
1641
+ })
1642
+ });
1643
+ }
1644
+ function ur({ ...e }) {
1645
+ return /* @__PURE__ */ a(P.Trigger, {
1646
+ "data-slot": "drawer-trigger",
1647
+ ...e
1648
+ });
1649
+ }
1650
+ function dr({ ...e }) {
1651
+ return /* @__PURE__ */ a(P.Portal, {
1652
+ "data-slot": "drawer-portal",
1653
+ ...e
1654
+ });
1655
+ }
1656
+ function fr({ ...e }) {
1657
+ return /* @__PURE__ */ a(P.Close, {
1658
+ "data-slot": "drawer-close",
1659
+ ...e
1660
+ });
1661
+ }
1662
+ function pr({ className: e, ...t }) {
1663
+ return /* @__PURE__ */ a(P.Backdrop, {
1664
+ "data-slot": "drawer-overlay",
1665
+ className: W("fixed inset-0 z-50 min-h-dvh bg-foreground/10 opacity-[max(var(--drawer-overlay-min-opacity,0),calc(1-var(--drawer-swipe-progress)))] transition-opacity duration-450 ease-[cubic-bezier(0.32,0.72,0,1)] select-none data-ending-style:pointer-events-none data-ending-style:opacity-0 data-ending-style:duration-[calc(var(--drawer-swipe-strength)*400ms)] data-snap-points:[--drawer-overlay-min-opacity:0.5] data-starting-style:opacity-0 data-swiping:duration-0 supports-backdrop-filter:backdrop-blur-xs supports-[-webkit-touch-callout:none]:absolute", e),
1666
+ ...t
1667
+ });
1668
+ }
1669
+ function mr({ className: e, ...t }) {
1670
+ return /* @__PURE__ */ a("div", {
1671
+ "data-slot": "drawer-swipe-handle",
1672
+ "aria-hidden": "true",
1673
+ className: W("relative z-10 flex shrink-0 cursor-grab transition-opacity duration-200 group-data-nested-drawer-open/drawer-popup:opacity-0 group-data-nested-drawer-swiping/drawer-popup:opacity-100 group-data-[swipe-axis=x]/drawer-popup:h-full group-data-[swipe-axis=x]/drawer-popup:w-3 group-data-[swipe-axis=x]/drawer-popup:items-center group-data-[swipe-axis=y]/drawer-popup:h-3 group-data-[swipe-axis=y]/drawer-popup:w-full group-data-[swipe-axis=y]/drawer-popup:justify-center group-data-[swipe-direction=down]/drawer-popup:items-end group-data-[swipe-direction=left]/drawer-popup:order-last group-data-[swipe-direction=left]/drawer-popup:justify-start group-data-[swipe-direction=right]/drawer-popup:justify-end group-data-[swipe-direction=up]/drawer-popup:order-last group-data-[swipe-direction=up]/drawer-popup:items-start after:block after:shrink-0 after:rounded-full after:bg-muted group-data-[swipe-axis=x]/drawer-popup:after:h-24 group-data-[swipe-axis=x]/drawer-popup:after:w-1 group-data-[swipe-axis=y]/drawer-popup:after:h-1 group-data-[swipe-axis=y]/drawer-popup:after:w-24 active:cursor-grabbing", e),
1674
+ ...t
1675
+ });
1676
+ }
1677
+ function hr({ className: e, children: t, ...n }) {
1678
+ let { hasSnapPoints: r, modal: i, showSwipeHandle: s, swipeDirection: c } = cr(), l = c === "down" || c === "up" ? "y" : "x";
1679
+ return /* @__PURE__ */ o(dr, {
1680
+ "data-slot": "drawer-portal",
1681
+ children: [i === !0 && /* @__PURE__ */ a(pr, { "data-snap-points": r ? "" : void 0 }), /* @__PURE__ */ a(P.Viewport, {
1682
+ "data-slot": "drawer-viewport",
1683
+ "data-modal": i,
1684
+ className: "pointer-events-none fixed inset-0 z-50 select-none data-[modal=true]:pointer-events-auto",
1685
+ children: /* @__PURE__ */ o(P.Popup, {
1686
+ "data-slot": "drawer-popup",
1687
+ "data-swipe-axis": l,
1688
+ "data-snap-points": r ? "" : void 0,
1689
+ className: W("group/drawer-popup pointer-events-auto fixed z-50 m-(--drawer-inset,0px) flex h-(--drawer-content-height) max-h-(--drawer-content-max-height,none) min-h-0 w-(--drawer-content-width,auto) transform-[translate3d(var(--translate-x,0px),var(--translate-y,0px),0)_scale(var(--stack-scale))] flex-col bg-popover text-sm text-popover-foreground transition-[transform,height,opacity,filter] duration-450 ease-[cubic-bezier(0.22,1,0.36,1)] will-change-transform outline-none select-none [interpolate-size:allow-keywords] data-[swipe-direction=down]:rounded-t-xl data-[swipe-direction=down]:border-t data-[swipe-direction=left]:rounded-r-xl data-[swipe-direction=left]:border-r data-[swipe-direction=right]:rounded-l-xl data-[swipe-direction=right]:border-l data-[swipe-direction=up]:rounded-b-xl data-[swipe-direction=up]:border-b", "data-nested-drawer-open:overflow-hidden data-nested-drawer-open:brightness-95", "after:pointer-events-none after:absolute after:bg-(--drawer-bleed-background,var(--color-popover)) data-[swipe-axis=x]:after:inset-y-0 data-[swipe-axis=x]:after:w-(--bleed) data-[swipe-axis=y]:after:inset-x-0 data-[swipe-axis=y]:after:h-(--bleed) data-[swipe-direction=down]:after:top-full data-[swipe-direction=left]:after:right-full data-[swipe-direction=right]:after:left-full data-[swipe-direction=up]:after:bottom-full", "[--drawer-content-height:var(--drawer-height,auto)] data-[swipe-axis=x]:[--drawer-content-width:75%] data-[swipe-axis=y]:[--drawer-content-max-height:calc(100dvh-6rem)] data-[swipe-axis=y]:data-snap-points:[--drawer-content-height:100dvh] data-[swipe-axis=x]:sm:[--drawer-content-width:24rem]", "[--bleed:3rem] [--peek:1rem] [--stack-height:var(--drawer-frontmost-height,var(--drawer-height,0px))] [--stack-peek-offset:max(0px,calc((var(--nested-drawers)-var(--stack-progress))*var(--peek)))] [--stack-progress:clamp(0,var(--drawer-swipe-progress),1)] [--stack-scale-base:max(0,calc(1-(var(--nested-drawers)*var(--stack-step))))] [--stack-scale:clamp(0,calc(var(--stack-scale-base)+(var(--stack-step)*var(--stack-progress))),1)] [--stack-shrink:calc(1-var(--stack-scale))] [--stack-step:0.05]", "data-ending-style:transform-(--closed-transform) data-ending-style:opacity-[0.9999] data-ending-style:duration-[calc(var(--drawer-swipe-strength)*400ms)] data-nested-drawer-swiping:duration-0 data-ending-style:data-nested-drawer-swiping:duration-[calc(var(--drawer-swipe-strength)*400ms)] data-starting-style:transform-(--closed-transform) data-swiping:duration-0 data-ending-style:data-swiping:duration-[calc(var(--drawer-swipe-strength)*400ms)]", "data-[swipe-axis=y]:inset-x-0 data-[swipe-axis=y]:data-nested-drawer-open:h-(--stack-height)", "data-[swipe-axis=x]:inset-y-0 data-[swipe-axis=x]:flex-row", "data-[swipe-direction=down]:bottom-0 data-[swipe-direction=down]:origin-bottom data-[swipe-direction=down]:[--closed-transform:translate3d(0,calc(100%+var(--drawer-inset,0px)+2px),0)] data-[swipe-direction=down]:[--translate-y:calc(var(--drawer-snap-point-offset,0px)+var(--drawer-swipe-movement-y)-var(--stack-peek-offset)-(var(--stack-shrink)*var(--stack-height)))]", "data-[swipe-direction=up]:top-0 data-[swipe-direction=up]:origin-top data-[swipe-direction=up]:[--closed-transform:translate3d(0,calc(-100%-var(--drawer-inset,0px)-2px),0)] data-[swipe-direction=up]:[--translate-y:calc(var(--drawer-snap-point-offset,0px)+var(--drawer-swipe-movement-y)+var(--stack-peek-offset)+(var(--stack-shrink)*var(--stack-height)))]", "data-[swipe-direction=left]:left-0 data-[swipe-direction=left]:origin-left data-[swipe-direction=left]:[--closed-transform:translate3d(calc(-100%-var(--drawer-inset,0px)-2px),0,0)] data-[swipe-direction=left]:[--translate-x:calc(var(--drawer-swipe-movement-x)+var(--stack-peek-offset)+(var(--stack-shrink)*100%))]", "data-[swipe-direction=right]:right-0 data-[swipe-direction=right]:origin-right data-[swipe-direction=right]:[--closed-transform:translate3d(calc(100%+var(--drawer-inset,0px)+2px),0,0)] data-[swipe-direction=right]:[--translate-x:calc(var(--drawer-swipe-movement-x)-var(--stack-peek-offset)-(var(--stack-shrink)*100%))]", e),
1690
+ ...n,
1691
+ children: [s && /* @__PURE__ */ a(mr, {}), /* @__PURE__ */ a(P.Content, {
1692
+ "data-slot": "drawer-content",
1693
+ className: W("flex min-h-0 flex-1 flex-col overflow-hidden overscroll-contain rounded-[inherit] transition-opacity duration-300 ease-[cubic-bezier(0.45,1.005,0,1.005)] select-text group-data-nested-drawer-open/drawer-popup:opacity-0 group-data-nested-drawer-swiping/drawer-popup:opacity-100 group-data-swiping/drawer-popup:select-none"),
1694
+ children: t
1695
+ })]
1696
+ })
1697
+ })]
1698
+ });
1699
+ }
1700
+ function gr({ className: e, ...t }) {
1701
+ return /* @__PURE__ */ a("div", {
1702
+ "data-slot": "drawer-header",
1703
+ className: W("flex shrink-0 flex-col gap-0.5 p-4 pb-0 group-data-[swipe-axis=y]/drawer-popup:text-center md:gap-0.5 md:text-left", e),
1704
+ ...t
1705
+ });
1706
+ }
1707
+ function _r({ className: e, ...t }) {
1708
+ return /* @__PURE__ */ a("div", {
1709
+ "data-slot": "drawer-footer",
1710
+ className: W("mt-auto flex shrink-0 flex-col gap-2 p-4 pt-0", e),
1711
+ ...t
1712
+ });
1713
+ }
1714
+ function vr({ className: e, ...t }) {
1715
+ return /* @__PURE__ */ a(P.Title, {
1716
+ "data-slot": "drawer-title",
1717
+ className: W("font-heading text-base font-medium text-foreground", e),
1718
+ ...t
1719
+ });
1720
+ }
1721
+ function yr({ className: e, ...t }) {
1722
+ return /* @__PURE__ */ a(P.Description, {
1723
+ "data-slot": "drawer-description",
1724
+ className: W("text-sm text-balance text-muted-foreground", e),
1725
+ ...t
1726
+ });
1727
+ }
1728
+ //#endregion
1729
+ //#region src/components/dropdown-menu/dropdown-menu.tsx
1730
+ function br({ ...e }) {
1731
+ return /* @__PURE__ */ a(F.Root, {
1732
+ "data-slot": "dropdown-menu",
1733
+ ...e
1734
+ });
1735
+ }
1736
+ function xr({ ...e }) {
1737
+ return /* @__PURE__ */ a(F.Portal, {
1738
+ "data-slot": "dropdown-menu-portal",
1739
+ ...e
1740
+ });
1741
+ }
1742
+ function Sr({ ...e }) {
1743
+ return /* @__PURE__ */ a(F.Trigger, {
1744
+ "data-slot": "dropdown-menu-trigger",
1745
+ ...e
1746
+ });
1747
+ }
1748
+ function Cr({ align: e = "start", alignOffset: t = 0, side: n = "bottom", sideOffset: r = 4, className: i, ...o }) {
1749
+ return /* @__PURE__ */ a(F.Portal, { children: /* @__PURE__ */ a(F.Positioner, {
1750
+ className: "isolate z-50 outline-none",
1751
+ align: e,
1752
+ alignOffset: t,
1753
+ side: n,
1754
+ sideOffset: r,
1755
+ children: /* @__PURE__ */ a(F.Popup, {
1756
+ "data-slot": "dropdown-menu-content",
1757
+ className: W("z-50 max-h-(--available-height) w-(--anchor-width) min-w-32 origin-(--transform-origin) overflow-x-hidden overflow-y-auto rounded-lg bg-popover p-1 text-popover-foreground shadow-md ring-1 ring-foreground/10 duration-100 outline-none data-[side=bottom]:slide-in-from-top-2 data-[side=inline-end]:slide-in-from-left-2 data-[side=inline-start]:slide-in-from-right-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 data-open:animate-in data-open:fade-in-0 data-open:zoom-in-95 data-closed:animate-out data-closed:overflow-hidden data-closed:fade-out-0 data-closed:zoom-out-95", i),
1758
+ ...o
1759
+ })
1760
+ }) });
1761
+ }
1762
+ function wr({ ...e }) {
1763
+ return /* @__PURE__ */ a(F.Group, {
1764
+ "data-slot": "dropdown-menu-group",
1765
+ ...e
1766
+ });
1767
+ }
1768
+ function Tr({ className: e, inset: t, ...n }) {
1769
+ return /* @__PURE__ */ a(F.GroupLabel, {
1770
+ "data-slot": "dropdown-menu-label",
1771
+ "data-inset": t,
1772
+ className: W("px-1.5 py-1 text-xs font-medium text-muted-foreground data-inset:pl-7", e),
1773
+ ...n
1774
+ });
1775
+ }
1776
+ function Er({ className: e, inset: t, variant: n = "default", ...r }) {
1777
+ return /* @__PURE__ */ a(F.Item, {
1778
+ "data-slot": "dropdown-menu-item",
1779
+ "data-inset": t,
1780
+ "data-variant": n,
1781
+ className: W("group/dropdown-menu-item relative flex cursor-default items-center gap-1.5 rounded-md px-1.5 py-1 text-sm outline-hidden select-none focus:bg-accent focus:text-accent-foreground not-data-[variant=destructive]:focus:**:text-accent-foreground data-inset:pl-7 data-[variant=destructive]:text-destructive data-[variant=destructive]:focus:bg-destructive/10 data-[variant=destructive]:focus:text-destructive dark:data-[variant=destructive]:focus:bg-destructive/20 data-disabled:pointer-events-none data-disabled:opacity-50 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4 data-[variant=destructive]:*:[svg]:text-destructive", e),
1782
+ ...r
1783
+ });
1784
+ }
1785
+ function Dr({ ...e }) {
1786
+ return /* @__PURE__ */ a(F.SubmenuRoot, {
1787
+ "data-slot": "dropdown-menu-sub",
1788
+ ...e
1789
+ });
1790
+ }
1791
+ function Or({ className: e, inset: t, children: n, ...r }) {
1792
+ return /* @__PURE__ */ o(F.SubmenuTrigger, {
1793
+ "data-slot": "dropdown-menu-sub-trigger",
1794
+ "data-inset": t,
1795
+ className: W("flex cursor-default items-center gap-1.5 rounded-md px-1.5 py-1 text-sm outline-hidden select-none focus:bg-accent focus:text-accent-foreground not-data-[variant=destructive]:focus:**:text-accent-foreground data-inset:pl-7 data-popup-open:bg-accent data-popup-open:text-accent-foreground data-open:bg-accent data-open:text-accent-foreground [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4", e),
1796
+ ...r,
1797
+ children: [n, /* @__PURE__ */ a(v, { className: "ml-auto" })]
1798
+ });
1799
+ }
1800
+ function kr({ align: e = "start", alignOffset: t = -3, side: n = "right", sideOffset: r = 0, className: i, ...o }) {
1801
+ return /* @__PURE__ */ a(Cr, {
1802
+ "data-slot": "dropdown-menu-sub-content",
1803
+ className: W("w-auto min-w-[96px] rounded-lg bg-popover p-1 text-popover-foreground shadow-lg ring-1 ring-foreground/10 duration-100 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 data-open:animate-in data-open:fade-in-0 data-open:zoom-in-95 data-closed:animate-out data-closed:fade-out-0 data-closed:zoom-out-95", i),
1804
+ align: e,
1805
+ alignOffset: t,
1806
+ side: n,
1807
+ sideOffset: r,
1808
+ ...o
1809
+ });
1810
+ }
1811
+ function Ar({ className: e, children: t, checked: n, inset: r, ...i }) {
1812
+ return /* @__PURE__ */ o(F.CheckboxItem, {
1813
+ "data-slot": "dropdown-menu-checkbox-item",
1814
+ "data-inset": r,
1815
+ className: W("relative flex cursor-default items-center gap-1.5 rounded-md py-1 pr-8 pl-1.5 text-sm outline-hidden select-none focus:bg-accent focus:text-accent-foreground focus:**:text-accent-foreground data-inset:pl-7 data-disabled:pointer-events-none data-disabled:opacity-50 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4", e),
1816
+ checked: n,
1817
+ ...i,
1818
+ children: [/* @__PURE__ */ a("span", {
1819
+ className: "pointer-events-none absolute right-2 flex items-center justify-center",
1820
+ "data-slot": "dropdown-menu-checkbox-item-indicator",
1821
+ children: /* @__PURE__ */ a(F.CheckboxItemIndicator, { children: /* @__PURE__ */ a(h, {}) })
1822
+ }), t]
1823
+ });
1824
+ }
1825
+ function jr({ ...e }) {
1826
+ return /* @__PURE__ */ a(F.RadioGroup, {
1827
+ "data-slot": "dropdown-menu-radio-group",
1828
+ ...e
1829
+ });
1830
+ }
1831
+ function Mr({ className: e, children: t, inset: n, ...r }) {
1832
+ return /* @__PURE__ */ o(F.RadioItem, {
1833
+ "data-slot": "dropdown-menu-radio-item",
1834
+ "data-inset": n,
1835
+ className: W("relative flex cursor-default items-center gap-1.5 rounded-md py-1 pr-8 pl-1.5 text-sm outline-hidden select-none focus:bg-accent focus:text-accent-foreground focus:**:text-accent-foreground data-inset:pl-7 data-disabled:pointer-events-none data-disabled:opacity-50 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4", e),
1836
+ ...r,
1837
+ children: [/* @__PURE__ */ a("span", {
1838
+ className: "pointer-events-none absolute right-2 flex items-center justify-center",
1839
+ "data-slot": "dropdown-menu-radio-item-indicator",
1840
+ children: /* @__PURE__ */ a(F.RadioItemIndicator, { children: /* @__PURE__ */ a(h, {}) })
1841
+ }), t]
1842
+ });
1843
+ }
1844
+ function Nr({ className: e, ...t }) {
1845
+ return /* @__PURE__ */ a(F.Separator, {
1846
+ "data-slot": "dropdown-menu-separator",
1847
+ className: W("-mx-1 my-1 h-px bg-border", e),
1848
+ ...t
1849
+ });
1850
+ }
1851
+ function Pr({ className: e, ...t }) {
1852
+ return /* @__PURE__ */ a("span", {
1853
+ "data-slot": "dropdown-menu-shortcut",
1854
+ className: W("ml-auto text-xs tracking-widest text-muted-foreground group-focus/dropdown-menu-item:text-accent-foreground", e),
1855
+ ...t
1856
+ });
1857
+ }
1858
+ //#endregion
1859
+ //#region src/components/empty/empty.tsx
1860
+ function Fr({ className: e, ...t }) {
1861
+ return /* @__PURE__ */ a("div", {
1862
+ "data-slot": "empty",
1863
+ className: W("flex w-full min-w-0 flex-1 flex-col items-center justify-center gap-4 rounded-xl border-dashed p-6 text-center text-balance", e),
1864
+ ...t
1865
+ });
1866
+ }
1867
+ function Ir({ className: e, ...t }) {
1868
+ return /* @__PURE__ */ a("div", {
1869
+ "data-slot": "empty-header",
1870
+ className: W("flex max-w-sm flex-col items-center gap-2", e),
1871
+ ...t
1872
+ });
1873
+ }
1874
+ var Lr = t("mb-2 flex shrink-0 items-center justify-center [&_svg]:pointer-events-none [&_svg]:shrink-0", {
1875
+ variants: { variant: {
1876
+ default: "bg-transparent",
1877
+ icon: "flex size-8 shrink-0 items-center justify-center rounded-lg bg-muted text-foreground [&_svg:not([class*='size-'])]:size-4"
1878
+ } },
1879
+ defaultVariants: { variant: "default" }
1880
+ });
1881
+ function Rr({ className: e, variant: t = "default", ...n }) {
1882
+ return /* @__PURE__ */ a("div", {
1883
+ "data-slot": "empty-icon",
1884
+ "data-variant": t,
1885
+ className: W(Lr({
1886
+ variant: t,
1887
+ className: e
1888
+ })),
1889
+ ...n
1890
+ });
1891
+ }
1892
+ function zr({ className: e, ...t }) {
1893
+ return /* @__PURE__ */ a("div", {
1894
+ "data-slot": "empty-title",
1895
+ className: W("font-heading text-sm font-medium tracking-tight", e),
1896
+ ...t
1897
+ });
1898
+ }
1899
+ function Br({ className: e, ...t }) {
1900
+ return /* @__PURE__ */ a("div", {
1901
+ "data-slot": "empty-description",
1902
+ className: W("text-sm/relaxed text-muted-foreground [&>a]:underline [&>a]:underline-offset-4 [&>a:hover]:text-primary", e),
1903
+ ...t
1904
+ });
1905
+ }
1906
+ function Vr({ className: e, ...t }) {
1907
+ return /* @__PURE__ */ a("div", {
1908
+ "data-slot": "empty-content",
1909
+ className: W("flex w-full max-w-sm min-w-0 flex-col items-center gap-2.5 text-sm text-balance", e),
1910
+ ...t
1911
+ });
1912
+ }
1913
+ //#endregion
1914
+ //#region src/components/hover-card/hover-card.tsx
1915
+ function Hr({ ...e }) {
1916
+ return /* @__PURE__ */ a(I.Root, {
1917
+ "data-slot": "hover-card",
1918
+ ...e
1919
+ });
1920
+ }
1921
+ function Ur({ ...e }) {
1922
+ return /* @__PURE__ */ a(I.Trigger, {
1923
+ "data-slot": "hover-card-trigger",
1924
+ ...e
1925
+ });
1926
+ }
1927
+ function Wr({ className: e, side: t = "bottom", sideOffset: n = 4, align: r = "center", alignOffset: i = 4, ...o }) {
1928
+ return /* @__PURE__ */ a(I.Portal, {
1929
+ "data-slot": "hover-card-portal",
1930
+ children: /* @__PURE__ */ a(I.Positioner, {
1931
+ align: r,
1932
+ alignOffset: i,
1933
+ side: t,
1934
+ sideOffset: n,
1935
+ className: "isolate z-50",
1936
+ children: /* @__PURE__ */ a(I.Popup, {
1937
+ "data-slot": "hover-card-content",
1938
+ className: W("z-50 w-64 origin-(--transform-origin) rounded-lg bg-popover p-2.5 text-sm text-popover-foreground shadow-md ring-1 ring-foreground/10 outline-hidden duration-100 data-[side=bottom]:slide-in-from-top-2 data-[side=inline-end]:slide-in-from-left-2 data-[side=inline-start]:slide-in-from-right-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 data-open:animate-in data-open:fade-in-0 data-open:zoom-in-95 data-closed:animate-out data-closed:fade-out-0 data-closed:zoom-out-95", e),
1939
+ ...o
1940
+ })
1941
+ })
1942
+ });
1943
+ }
1944
+ //#endregion
1945
+ //#region src/components/item/item.tsx
1946
+ function Gr({ className: e, ...t }) {
1947
+ return /* @__PURE__ */ a("div", {
1948
+ role: "list",
1949
+ "data-slot": "item-group",
1950
+ className: W("group/item-group flex w-full flex-col gap-4 has-data-[size=sm]:gap-2.5 has-data-[size=xs]:gap-2", e),
1951
+ ...t
1952
+ });
1953
+ }
1954
+ function Kr({ className: e, ...t }) {
1955
+ return /* @__PURE__ */ a(q, {
1956
+ "data-slot": "item-separator",
1957
+ orientation: "horizontal",
1958
+ className: W("my-2", e),
1959
+ ...t
1960
+ });
1961
+ }
1962
+ var qr = t("group/item flex w-full flex-wrap items-center rounded-lg border text-sm transition-colors duration-100 outline-none focus-visible:border-ring focus-visible:ring-[3px] focus-visible:ring-ring/50 [a]:transition-colors [a]:hover:bg-muted", {
1963
+ variants: {
1964
+ variant: {
1965
+ default: "border-transparent",
1966
+ outline: "border-border",
1967
+ muted: "border-transparent bg-muted/50"
1968
+ },
1969
+ size: {
1970
+ default: "gap-2.5 px-3 py-2.5",
1971
+ sm: "gap-2.5 px-3 py-2.5",
1972
+ xs: "gap-2 px-2.5 py-2 in-data-[slot=dropdown-menu-content]:p-0"
1973
+ }
1974
+ },
1975
+ defaultVariants: {
1976
+ variant: "default",
1977
+ size: "default"
1978
+ }
1979
+ });
1980
+ function Jr({ className: e, variant: t = "default", size: n = "default", render: r, ...i }) {
1981
+ return D({
1982
+ defaultTagName: "div",
1983
+ props: E({ className: W(qr({
1984
+ variant: t,
1985
+ size: n,
1986
+ className: e
1987
+ })) }, i),
1988
+ render: r,
1989
+ state: {
1990
+ slot: "item",
1991
+ variant: t,
1992
+ size: n
1993
+ }
1994
+ });
1995
+ }
1996
+ var Yr = t("flex shrink-0 items-center justify-center gap-2 group-has-data-[slot=item-description]/item:translate-y-0.5 group-has-data-[slot=item-description]/item:self-start [&_svg]:pointer-events-none", {
1997
+ variants: { variant: {
1998
+ default: "bg-transparent",
1999
+ icon: "[&_svg:not([class*='size-'])]:size-4",
2000
+ image: "size-10 overflow-hidden rounded-sm group-data-[size=sm]/item:size-8 group-data-[size=xs]/item:size-6 [&_img]:size-full [&_img]:object-cover"
2001
+ } },
2002
+ defaultVariants: { variant: "default" }
2003
+ });
2004
+ function Xr({ className: e, variant: t = "default", ...n }) {
2005
+ return /* @__PURE__ */ a("div", {
2006
+ "data-slot": "item-media",
2007
+ "data-variant": t,
2008
+ className: W(Yr({
2009
+ variant: t,
2010
+ className: e
2011
+ })),
2012
+ ...n
2013
+ });
2014
+ }
2015
+ function Zr({ className: e, ...t }) {
2016
+ return /* @__PURE__ */ a("div", {
2017
+ "data-slot": "item-content",
2018
+ className: W("flex flex-1 flex-col gap-1 group-data-[size=xs]/item:gap-0 [&+[data-slot=item-content]]:flex-none", e),
2019
+ ...t
2020
+ });
2021
+ }
2022
+ function Qr({ className: e, ...t }) {
2023
+ return /* @__PURE__ */ a("div", {
2024
+ "data-slot": "item-title",
2025
+ className: W("line-clamp-1 flex w-fit items-center gap-2 text-sm leading-snug font-medium underline-offset-4", e),
2026
+ ...t
2027
+ });
2028
+ }
2029
+ function $r({ className: e, ...t }) {
2030
+ return /* @__PURE__ */ a("p", {
2031
+ "data-slot": "item-description",
2032
+ className: W("line-clamp-2 text-left text-sm leading-normal font-normal text-muted-foreground group-data-[size=xs]/item:text-xs [&>a]:underline [&>a]:underline-offset-4 [&>a:hover]:text-primary", e),
2033
+ ...t
2034
+ });
2035
+ }
2036
+ function ei({ className: e, ...t }) {
2037
+ return /* @__PURE__ */ a("div", {
2038
+ "data-slot": "item-actions",
2039
+ className: W("flex items-center gap-2", e),
2040
+ ...t
2041
+ });
2042
+ }
2043
+ function ti({ className: e, ...t }) {
2044
+ return /* @__PURE__ */ a("div", {
2045
+ "data-slot": "item-header",
2046
+ className: W("flex basis-full items-center justify-between gap-2", e),
2047
+ ...t
2048
+ });
2049
+ }
2050
+ function ni({ className: e, ...t }) {
2051
+ return /* @__PURE__ */ a("div", {
2052
+ "data-slot": "item-footer",
2053
+ className: W("flex basis-full items-center justify-between gap-2", e),
2054
+ ...t
2055
+ });
2056
+ }
2057
+ //#endregion
2058
+ //#region src/components/marker/marker.tsx
2059
+ var ri = t("group/marker relative flex min-h-4 w-full items-center gap-2 text-left text-sm text-muted-foreground [&_svg:not([class*='size-'])]:size-4 [a]:underline [a]:underline-offset-3 [a]:hover:text-foreground", { variants: { variant: {
2060
+ default: "",
2061
+ separator: "before:mr-1 before:h-px before:min-w-0 before:flex-1 before:bg-border after:ml-1 after:h-px after:min-w-0 after:flex-1 after:bg-border",
2062
+ border: "border-b border-border pb-2"
2063
+ } } });
2064
+ function ii({ className: e, variant: t = "default", render: n, ...r }) {
2065
+ return D({
2066
+ defaultTagName: "div",
2067
+ props: E({ className: W(ri({
2068
+ variant: t,
2069
+ className: e
2070
+ })) }, r),
2071
+ render: n,
2072
+ state: {
2073
+ slot: "marker",
2074
+ variant: t
2075
+ }
2076
+ });
2077
+ }
2078
+ function ai({ className: e, ...t }) {
2079
+ return /* @__PURE__ */ a("span", {
2080
+ "data-slot": "marker-icon",
2081
+ "aria-hidden": "true",
2082
+ className: W("size-4 shrink-0 [&_svg:not([class*='size-'])]:size-4", e),
2083
+ ...t
2084
+ });
2085
+ }
2086
+ function oi({ className: e, ...t }) {
2087
+ return /* @__PURE__ */ a("span", {
2088
+ "data-slot": "marker-content",
2089
+ className: W("min-w-0 wrap-break-word group-data-[variant=separator]/marker:flex-none group-data-[variant=separator]/marker:text-center *:[a]:underline *:[a]:underline-offset-3 *:[a]:hover:text-foreground", e),
2090
+ ...t
2091
+ });
2092
+ }
2093
+ //#endregion
2094
+ //#region src/components/message/message.tsx
2095
+ function si({ className: e, ...t }) {
2096
+ return /* @__PURE__ */ a("div", {
2097
+ "data-slot": "message-group",
2098
+ className: W("flex min-w-0 flex-col gap-2", e),
2099
+ ...t
2100
+ });
2101
+ }
2102
+ function ci({ className: e, align: t = "start", ...n }) {
2103
+ return /* @__PURE__ */ a("div", {
2104
+ "data-slot": "message",
2105
+ "data-align": t,
2106
+ className: W("group/message relative flex w-full min-w-0 gap-2 text-sm data-[align=end]:flex-row-reverse", e),
2107
+ ...n
2108
+ });
2109
+ }
2110
+ function li({ className: e, ...t }) {
2111
+ return /* @__PURE__ */ a("div", {
2112
+ "data-slot": "message-avatar",
2113
+ className: W("flex w-fit min-w-8 shrink-0 items-center justify-center self-end overflow-hidden rounded-full bg-muted group-has-data-[slot=message-footer]/message:-translate-y-8", e),
2114
+ ...t
2115
+ });
2116
+ }
2117
+ function ui({ className: e, ...t }) {
2118
+ return /* @__PURE__ */ a("div", {
2119
+ "data-slot": "message-content",
2120
+ className: W("flex w-full min-w-0 flex-col gap-2.5 wrap-break-word group-data-[align=end]/message:*:data-slot:self-end", e),
2121
+ ...t
2122
+ });
2123
+ }
2124
+ function di({ className: e, ...t }) {
2125
+ return /* @__PURE__ */ a("div", {
2126
+ "data-slot": "message-header",
2127
+ className: W("flex max-w-full min-w-0 items-center px-3 text-xs font-medium text-muted-foreground group-has-data-[variant=ghost]/message:px-0", e),
2128
+ ...t
2129
+ });
2130
+ }
2131
+ function fi({ className: e, ...t }) {
2132
+ return /* @__PURE__ */ a("div", {
2133
+ "data-slot": "message-footer",
2134
+ className: W("flex max-w-full min-w-0 items-center px-3 text-xs font-medium text-muted-foreground group-has-data-[variant=ghost]/message:px-0 group-data-[align=end]/message:justify-end", e),
2135
+ ...t
2136
+ });
2137
+ }
2138
+ //#endregion
2139
+ //#region src/components/native-select/native-select.tsx
2140
+ function pi({ className: e, size: t = "default", "aria-label": n = "Select an option", ...r }) {
2141
+ return /* @__PURE__ */ o("div", {
2142
+ className: W("group/native-select relative w-fit has-[select:disabled]:opacity-50", e),
2143
+ "data-slot": "native-select-wrapper",
2144
+ "data-size": t,
2145
+ children: [/* @__PURE__ */ a("select", {
2146
+ "aria-label": n,
2147
+ "data-slot": "native-select",
2148
+ "data-size": t,
2149
+ className: "h-8 w-full min-w-0 appearance-none rounded-lg border border-input bg-transparent py-1 pr-8 pl-2.5 text-sm transition-colors outline-none select-none selection:bg-primary selection:text-primary-foreground placeholder:text-muted-foreground focus-visible:border-ring focus-visible:ring-3 focus-visible:ring-ring/50 disabled:pointer-events-none disabled:cursor-not-allowed aria-invalid:border-destructive aria-invalid:ring-3 aria-invalid:ring-destructive/20 data-[size=sm]:h-7 data-[size=sm]:rounded-[min(var(--radius-md),10px)] data-[size=sm]:py-0.5 dark:bg-input/30 dark:hover:bg-input/50 dark:aria-invalid:border-destructive/50 dark:aria-invalid:ring-destructive/40",
2150
+ ...r
2151
+ }), /* @__PURE__ */ a(g, {
2152
+ className: "pointer-events-none absolute top-1/2 right-2.5 size-4 -translate-y-1/2 text-muted-foreground select-none",
2153
+ "aria-hidden": "true",
2154
+ "data-slot": "native-select-icon"
2155
+ })]
2156
+ });
2157
+ }
2158
+ function mi({ className: e, ...t }) {
2159
+ return /* @__PURE__ */ a("option", {
2160
+ "data-slot": "native-select-option",
2161
+ className: W("bg-[Canvas] text-[CanvasText]", e),
2162
+ ...t
2163
+ });
2164
+ }
2165
+ function hi({ className: e, ...t }) {
2166
+ return /* @__PURE__ */ a("optgroup", {
2167
+ "data-slot": "native-select-optgroup",
2168
+ className: W("bg-[Canvas] text-[CanvasText]", e),
2169
+ ...t
2170
+ });
2171
+ }
2172
+ //#endregion
2173
+ //#region src/components/pagination/pagination.tsx
2174
+ function gi({ className: e, ...t }) {
2175
+ return /* @__PURE__ */ a("nav", {
2176
+ role: "navigation",
2177
+ "aria-label": "pagination",
2178
+ "data-slot": "pagination",
2179
+ className: W("mx-auto flex w-full justify-center", e),
2180
+ ...t
2181
+ });
2182
+ }
2183
+ function _i({ className: e, ...t }) {
2184
+ return /* @__PURE__ */ a("ul", {
2185
+ "data-slot": "pagination-content",
2186
+ className: W("flex items-center gap-0.5", e),
2187
+ ...t
2188
+ });
2189
+ }
2190
+ function vi({ ...e }) {
2191
+ return /* @__PURE__ */ a("li", {
2192
+ "data-slot": "pagination-item",
2193
+ ...e
2194
+ });
2195
+ }
2196
+ function yi({ className: e, isActive: t, size: n = "icon", ...r }) {
2197
+ return /* @__PURE__ */ a(K, {
2198
+ variant: t ? "outline" : "ghost",
2199
+ size: n,
2200
+ className: W(e),
2201
+ nativeButton: !1,
2202
+ render: /* @__PURE__ */ a("a", {
2203
+ "aria-current": t ? "page" : void 0,
2204
+ "data-slot": "pagination-link",
2205
+ "data-active": t,
2206
+ ...r
2207
+ })
2208
+ });
2209
+ }
2210
+ function bi({ className: e, text: t = "Previous", ...n }) {
2211
+ return /* @__PURE__ */ o(yi, {
2212
+ "aria-label": "Go to previous page",
2213
+ size: "default",
2214
+ className: W("pl-1.5!", e),
2215
+ ...n,
2216
+ children: [/* @__PURE__ */ a(_, { "data-icon": "inline-start" }), /* @__PURE__ */ a("span", {
2217
+ className: "hidden sm:block",
2218
+ children: t
2219
+ })]
2220
+ });
2221
+ }
2222
+ function xi({ className: e, text: t = "Next", ...n }) {
2223
+ return /* @__PURE__ */ o(yi, {
2224
+ "aria-label": "Go to next page",
2225
+ size: "default",
2226
+ className: W("pr-1.5!", e),
2227
+ ...n,
2228
+ children: [/* @__PURE__ */ a("span", {
2229
+ className: "hidden sm:block",
2230
+ children: t
2231
+ }), /* @__PURE__ */ a(v, { "data-icon": "inline-end" })]
2232
+ });
2233
+ }
2234
+ function Si({ className: e, ...t }) {
2235
+ return /* @__PURE__ */ o("span", {
2236
+ "aria-hidden": !0,
2237
+ "data-slot": "pagination-ellipsis",
2238
+ className: W("flex size-8 items-center justify-center [&_svg:not([class*='size-'])]:size-4", e),
2239
+ ...t,
2240
+ children: [/* @__PURE__ */ a(x, {}), /* @__PURE__ */ a("span", {
2241
+ className: "sr-only",
2242
+ children: "More pages"
2243
+ })]
2244
+ });
2245
+ }
2246
+ //#endregion
2247
+ //#region src/components/progress/progress.tsx
2248
+ function Ci({ className: e, children: t, value: n, "aria-label": r = "Progress", ...i }) {
2249
+ return /* @__PURE__ */ o(L.Root, {
2250
+ value: n,
2251
+ "aria-label": r,
2252
+ "data-slot": "progress",
2253
+ className: W("flex flex-wrap gap-3", e),
2254
+ ...i,
2255
+ children: [t, /* @__PURE__ */ a(wi, { children: /* @__PURE__ */ a(Ti, {}) })]
2256
+ });
2257
+ }
2258
+ function wi({ className: e, ...t }) {
2259
+ return /* @__PURE__ */ a(L.Track, {
2260
+ className: W("relative flex h-1 w-full items-center overflow-x-hidden rounded-full bg-muted", e),
2261
+ "data-slot": "progress-track",
2262
+ ...t
2263
+ });
2264
+ }
2265
+ function Ti({ className: e, ...t }) {
2266
+ return /* @__PURE__ */ a(L.Indicator, {
2267
+ "data-slot": "progress-indicator",
2268
+ className: W("h-full bg-primary transition-all", e),
2269
+ ...t
2270
+ });
2271
+ }
2272
+ function Ei({ className: e, ...t }) {
2273
+ return /* @__PURE__ */ a(L.Label, {
2274
+ className: W("text-sm font-medium", e),
2275
+ "data-slot": "progress-label",
2276
+ ...t
2277
+ });
2278
+ }
2279
+ function Di({ className: e, ...t }) {
2280
+ return /* @__PURE__ */ a(L.Value, {
2281
+ className: W("ml-auto text-sm text-muted-foreground tabular-nums", e),
2282
+ "data-slot": "progress-value",
2283
+ ...t
2284
+ });
2285
+ }
2286
+ //#endregion
2287
+ //#region src/components/questionnaire/questionnaire-primitive.tsx
2288
+ var Oi = s.createContext(null), ki = s.createContext(null), Ai = s.createContext(null);
2289
+ function X(e) {
2290
+ let t = s.useContext(Oi);
2291
+ if (!t) throw Error(`${e} must be used within Questionnaire`);
2292
+ return t;
2293
+ }
2294
+ function Z(e) {
2295
+ let t = s.useContext(ki);
2296
+ if (!t) throw Error(`${e} must be used within QuestionnaireItem`);
2297
+ return t;
2298
+ }
2299
+ function ji(e) {
2300
+ let t = s.useContext(Ai);
2301
+ if (!t) throw Error(`${e} must be used within QuestionnaireChoice`);
2302
+ return t;
2303
+ }
2304
+ function Mi({ defaultItem: e, item: t, items: n = [], onItemChange: r, shortcuts: i, onReset: o, onSubmit: c, onKeyDown: l, ...u }) {
2305
+ let [d, f] = s.useState([]), p = s.useMemo(() => n.filter((e) => !e.disabled).map((e) => e.name), [n]), m = p.length ? p : d, [h, g] = s.useState(e ?? p[0] ?? null), _ = t ?? h ?? m[0] ?? null, v = Math.max(0, m.indexOf(_ ?? "")), [y, b] = s.useState({}), [x, ee] = s.useState({}), S = s.useCallback((e) => {
2306
+ !e || e === _ || (t === void 0 && g(e), r?.(e));
2307
+ }, [
2308
+ _,
2309
+ t,
2310
+ r
2311
+ ]), C = s.useCallback((e) => (f((t) => t.includes(e) ? t : [...t, e]), () => f((t) => t.filter((t) => t !== e))), []), w = s.useCallback((e, t) => {
2312
+ b((n) => ({
2313
+ ...n,
2314
+ [e]: t ? "answered" : "unanswered"
2315
+ }));
2316
+ }, []), T = s.useCallback((e, t, n, r) => {
2317
+ ee((i) => {
2318
+ let a = i[e] ?? [], o = r ? n ? [.../* @__PURE__ */ new Set([...a, t])] : [t] : a.filter((e) => e !== t);
2319
+ return w(e, o.length > 0), {
2320
+ ...i,
2321
+ [e]: o
2322
+ };
2323
+ });
2324
+ }, [w]), E = s.useCallback(() => {
2325
+ S(m[v - 1]);
2326
+ }, [
2327
+ v,
2328
+ m,
2329
+ S
2330
+ ]), D = s.useCallback(() => {
2331
+ if (_) {
2332
+ if (n.find((e) => e.name === _)?.required && y[_] !== "answered") {
2333
+ b((e) => ({
2334
+ ...e,
2335
+ [_]: "unanswered"
2336
+ }));
2337
+ return;
2338
+ }
2339
+ S(m[v + 1]);
2340
+ }
2341
+ }, [
2342
+ v,
2343
+ _,
2344
+ n,
2345
+ m,
2346
+ S,
2347
+ y
2348
+ ]), O = s.useCallback(() => {
2349
+ _ && (b((e) => ({
2350
+ ...e,
2351
+ [_]: "skipped"
2352
+ })), S(m[v + 1]));
2353
+ }, [
2354
+ v,
2355
+ _,
2356
+ m,
2357
+ S
2358
+ ]), k = s.useMemo(() => ({
2359
+ activeName: _,
2360
+ current: m.length ? v + 1 : 0,
2361
+ first: v === 0,
2362
+ last: v === m.length - 1,
2363
+ total: m.length,
2364
+ shortcuts: i ?? null,
2365
+ itemDefinitions: n,
2366
+ statuses: y,
2367
+ selections: x,
2368
+ registerItem: C,
2369
+ setAnswered: w,
2370
+ setSelection: T,
2371
+ goPrevious: E,
2372
+ goNext: D,
2373
+ skip: O
2374
+ }), [
2375
+ v,
2376
+ _,
2377
+ D,
2378
+ E,
2379
+ n,
2380
+ m.length,
2381
+ C,
2382
+ x,
2383
+ w,
2384
+ T,
2385
+ i,
2386
+ O,
2387
+ y
2388
+ ]);
2389
+ return /* @__PURE__ */ a(Oi.Provider, {
2390
+ value: k,
2391
+ children: /* @__PURE__ */ a("form", {
2392
+ ...u,
2393
+ noValidate: !0,
2394
+ onReset: (t) => {
2395
+ o?.(t), !t.defaultPrevented && (b({}), ee({}), S(e ?? m[0]));
2396
+ },
2397
+ onSubmit: c,
2398
+ onKeyDown: (e) => {
2399
+ l?.(e), !e.defaultPrevented && (e.metaKey || e.ctrlKey) && e.key === "Enter" && (e.preventDefault(), k.last ? e.currentTarget.requestSubmit() : k.goNext());
2400
+ }
2401
+ })
2402
+ });
2403
+ }
2404
+ function Ni({ children: e, render: t, ...n }) {
2405
+ let { current: r, first: i, last: a, total: o } = X("QuestionnaireProgress"), s = o ? `Question ${r} of ${o}` : void 0;
2406
+ return D({
2407
+ defaultTagName: "div",
2408
+ props: E({
2409
+ children: e ?? s,
2410
+ role: "progressbar",
2411
+ "aria-label": "Questionnaire progress",
2412
+ "aria-live": "polite",
2413
+ "aria-valuemin": o ? 1 : void 0,
2414
+ "aria-valuemax": o || void 0,
2415
+ "aria-valuenow": o ? r : void 0,
2416
+ "aria-valuetext": s
2417
+ }, n),
2418
+ render: t,
2419
+ state: {
2420
+ current: r,
2421
+ first: i,
2422
+ last: a,
2423
+ total: o
2424
+ }
2425
+ });
2426
+ }
2427
+ function Pi({ disabled: e = !1, invalid: t = !1, multiple: n = !1, name: r, onStatusChange: i, required: o = !1, ...c }) {
2428
+ let l = X("QuestionnaireItem"), u = s.useRef(i);
2429
+ s.useLayoutEffect(() => {
2430
+ u.current = i;
2431
+ }, [i]), s.useLayoutEffect(() => l.registerItem(r), [r, l.registerItem]);
2432
+ let d = l.statuses[r] ?? "unanswered", f = l.statuses[r] !== void 0, p = l.activeName === r;
2433
+ s.useEffect(() => u.current?.(d), [d]);
2434
+ let m = s.useMemo(() => ({
2435
+ disabled: e,
2436
+ invalid: t || o && f && d === "unanswered",
2437
+ multiple: n,
2438
+ name: r,
2439
+ required: o,
2440
+ status: d
2441
+ }), [
2442
+ f,
2443
+ e,
2444
+ t,
2445
+ n,
2446
+ r,
2447
+ o,
2448
+ d
2449
+ ]);
2450
+ return /* @__PURE__ */ a(ki.Provider, {
2451
+ value: m,
2452
+ children: /* @__PURE__ */ a("fieldset", {
2453
+ ...c,
2454
+ disabled: e,
2455
+ hidden: !p,
2456
+ inert: !p || void 0,
2457
+ "aria-invalid": m.invalid || void 0,
2458
+ "data-active": p ? "" : void 0,
2459
+ "data-status": d
2460
+ })
2461
+ });
2462
+ }
2463
+ function Fi({ render: e, ...t }) {
2464
+ return Z("QuestionnaireTitle"), D({
2465
+ defaultTagName: "legend",
2466
+ props: t,
2467
+ render: e,
2468
+ state: { slot: "questionnaire-title" }
2469
+ });
2470
+ }
2471
+ function Ii({ render: e, ...t }) {
2472
+ return Z("QuestionnaireDescription"), D({
2473
+ defaultTagName: "p",
2474
+ props: t,
2475
+ render: e,
2476
+ state: { slot: "questionnaire-description" }
2477
+ });
2478
+ }
2479
+ function Li(e) {
2480
+ return Z("QuestionnaireChoices"), /* @__PURE__ */ a("div", { ...e });
2481
+ }
2482
+ function Ri({ checked: e, defaultChecked: t = !1, disabled: n = !1, onChange: r, value: i, ...o }) {
2483
+ let c = X("QuestionnaireChoice"), l = c.setSelection, u = Z("QuestionnaireChoice"), d = c.selections[u.name] ?? [], f = e ?? (d.includes(i) || t), p = u.multiple ? "checkbox" : "radio", m = (c.itemDefinitions.find((e) => e.name === u.name)?.choices?.filter((e) => !e.disabled) ?? []).findIndex((e) => e.value === i), h = m < 0 || !c.shortcuts ? null : c.shortcuts === "letters" ? String.fromCharCode(65 + m) : String(m + 1), g = u.disabled || n;
2484
+ s.useLayoutEffect(() => {
2485
+ t && !d.includes(i) && l(u.name, i, u.multiple, !0);
2486
+ }, [
2487
+ t,
2488
+ u.multiple,
2489
+ u.name,
2490
+ d,
2491
+ l,
2492
+ i
2493
+ ]);
2494
+ let _ = {
2495
+ checked: f,
2496
+ disabled: g,
2497
+ name: u.name,
2498
+ required: u.required && !u.multiple,
2499
+ type: p,
2500
+ value: i,
2501
+ onChange: (e) => {
2502
+ r?.(e), e.defaultPrevented || c.setSelection(u.name, i, u.multiple, e.target.checked);
2503
+ }
2504
+ }, v = s.useMemo(() => ({
2505
+ checked: f,
2506
+ disabled: g,
2507
+ invalid: u.invalid,
2508
+ inputProps: _,
2509
+ shortcut: h,
2510
+ type: p
2511
+ }), [
2512
+ f,
2513
+ g,
2514
+ _,
2515
+ u.invalid,
2516
+ h,
2517
+ p
2518
+ ]);
2519
+ return /* @__PURE__ */ a(Ai.Provider, {
2520
+ value: v,
2521
+ children: /* @__PURE__ */ a("label", {
2522
+ ...o,
2523
+ "data-checked": f ? "" : void 0,
2524
+ "data-disabled": g ? "" : void 0,
2525
+ "data-invalid": u.invalid ? "" : void 0,
2526
+ "data-shortcut": h ?? void 0,
2527
+ "data-type": p
2528
+ })
2529
+ });
2530
+ }
2531
+ function zi(e) {
2532
+ let { inputProps: t } = ji("QuestionnaireChoiceInput");
2533
+ return /* @__PURE__ */ a("input", {
2534
+ ...t,
2535
+ ...e
2536
+ });
2537
+ }
2538
+ function Bi(e) {
2539
+ return ji("QuestionnaireChoiceLabel"), /* @__PURE__ */ a("span", { ...e });
2540
+ }
2541
+ function Vi({ children: e, ...t }) {
2542
+ let { shortcut: n } = ji("QuestionnaireChoiceShortcut");
2543
+ return /* @__PURE__ */ a("span", {
2544
+ ...t,
2545
+ "aria-hidden": !0,
2546
+ hidden: !n,
2547
+ children: e ?? n
2548
+ });
2549
+ }
2550
+ function Hi({ onChange: e, ...t }) {
2551
+ let n = X("QuestionnaireInput"), r = Z("QuestionnaireInput");
2552
+ return /* @__PURE__ */ a("input", {
2553
+ ...t,
2554
+ name: r.name,
2555
+ disabled: r.disabled || t.disabled,
2556
+ "aria-invalid": r.invalid || void 0,
2557
+ onChange: (t) => {
2558
+ e?.(t), t.defaultPrevented || n.setAnswered(r.name, t.target.value.trim().length > 0);
2559
+ }
2560
+ });
2561
+ }
2562
+ function Ui({ children: e, ...t }) {
2563
+ let n = Z("QuestionnaireError");
2564
+ return /* @__PURE__ */ a("p", {
2565
+ ...t,
2566
+ hidden: !n.invalid,
2567
+ role: n.invalid ? "alert" : void 0,
2568
+ children: e ?? (n.required ? "Choose an answer to continue." : "Choose an answer or skip this question.")
2569
+ });
2570
+ }
2571
+ function Wi(e) {
2572
+ let t = X("QuestionnairePrevious");
2573
+ return /* @__PURE__ */ a("button", {
2574
+ ...e,
2575
+ type: e.type ?? "button",
2576
+ hidden: t.first,
2577
+ "aria-hidden": t.first || void 0,
2578
+ onClick: (n) => {
2579
+ e.onClick?.(n), n.defaultPrevented || t.goPrevious();
2580
+ }
2581
+ });
2582
+ }
2583
+ function Gi(e) {
2584
+ let t = X("QuestionnaireSkip");
2585
+ return /* @__PURE__ */ a("button", {
2586
+ ...e,
2587
+ type: e.type ?? "button",
2588
+ hidden: t.last,
2589
+ "aria-hidden": t.last || void 0,
2590
+ onClick: (n) => {
2591
+ e.onClick?.(n), n.defaultPrevented || t.skip();
2592
+ }
2593
+ });
2594
+ }
2595
+ function Ki(e) {
2596
+ let t = X("QuestionnaireNext");
2597
+ return /* @__PURE__ */ a("button", {
2598
+ ...e,
2599
+ type: e.type ?? "button",
2600
+ hidden: t.last,
2601
+ "aria-hidden": t.last || void 0,
2602
+ onClick: (n) => {
2603
+ e.onClick?.(n), n.defaultPrevented || t.goNext();
2604
+ }
2605
+ });
2606
+ }
2607
+ function qi(e) {
2608
+ let t = X("QuestionnaireSubmit");
2609
+ return /* @__PURE__ */ a("button", {
2610
+ ...e,
2611
+ type: e.type ?? "submit",
2612
+ hidden: !t.last,
2613
+ "aria-hidden": !t.last || void 0
2614
+ });
2615
+ }
2616
+ var Q = {
2617
+ Root: Mi,
2618
+ Progress: Ni,
2619
+ Item: Pi,
2620
+ Title: Fi,
2621
+ Description: Ii,
2622
+ Choices: Li,
2623
+ Choice: Ri,
2624
+ ChoiceInput: zi,
2625
+ ChoiceLabel: Bi,
2626
+ ChoiceShortcut: Vi,
2627
+ Input: Hi,
2628
+ Error: Ui,
2629
+ Previous: Wi,
2630
+ Skip: Gi,
2631
+ Next: Ki,
2632
+ Submit: qi
2633
+ };
2634
+ //#endregion
2635
+ //#region src/components/questionnaire/questionnaire.tsx
2636
+ function Ji({ className: e, ...t }) {
2637
+ return /* @__PURE__ */ a(Q.Root, {
2638
+ "data-slot": "questionnaire",
2639
+ className: W("flex w-full min-w-0 flex-col gap-4", e),
2640
+ ...t
2641
+ });
2642
+ }
2643
+ function Yi({ className: e, ...t }) {
2644
+ return /* @__PURE__ */ a(Q.Progress, {
2645
+ "data-slot": "questionnaire-progress",
2646
+ className: W("min-h-[1lh] w-fit min-w-[14ch] text-xs font-medium text-muted-foreground tabular-nums", e),
2647
+ ...t
2648
+ });
2649
+ }
2650
+ function Xi({ className: e, ...t }) {
2651
+ return /* @__PURE__ */ a(Q.Item, {
2652
+ "data-slot": "questionnaire-item",
2653
+ className: W("flex min-w-0 flex-col gap-4 border-0 p-0 outline-none", e),
2654
+ ...t
2655
+ });
2656
+ }
2657
+ function Zi({ className: e, ...t }) {
2658
+ return /* @__PURE__ */ a(Q.Title, {
2659
+ "data-slot": "questionnaire-title",
2660
+ className: W("font-heading text-base leading-snug font-medium text-pretty [&:not(:has(~[data-slot=questionnaire-description]))]:mb-4", e),
2661
+ ...t
2662
+ });
2663
+ }
2664
+ function Qi({ className: e, ...t }) {
2665
+ return /* @__PURE__ */ a(Q.Description, {
2666
+ "data-slot": "questionnaire-description",
2667
+ className: W("text-sm text-pretty text-muted-foreground", e),
2668
+ ...t
2669
+ });
2670
+ }
2671
+ function $i({ className: e, ...t }) {
2672
+ return /* @__PURE__ */ a(Q.Choices, {
2673
+ "data-slot": "questionnaire-choices",
2674
+ className: W("group/questionnaire-choices grid min-w-0 gap-2", e),
2675
+ ...t
2676
+ });
2677
+ }
2678
+ function ea({ children: e, className: t, ...n }) {
2679
+ return /* @__PURE__ */ o(Q.Choice, {
2680
+ "data-slot": "questionnaire-choice",
2681
+ className: W("group/questionnaire-choice relative flex min-h-11 cursor-pointer items-start gap-2.5 rounded-lg border border-input bg-transparent px-3 py-2.5 text-start text-sm transition-colors outline-none select-none hover:bg-muted/50 has-[>input:focus-visible]:border-ring has-[>input:focus-visible]:ring-3 has-[>input:focus-visible]:ring-ring/50 data-invalid:border-destructive dark:bg-input/20 data-checked:border-primary/40 data-checked:bg-muted dark:data-checked:bg-muted", "data-disabled:pointer-events-none data-disabled:cursor-not-allowed data-disabled:opacity-50", t),
2682
+ ...n,
2683
+ children: [
2684
+ /* @__PURE__ */ a(Q.ChoiceInput, {
2685
+ "data-slot": "questionnaire-choice-input",
2686
+ className: "absolute inset-0 z-10 size-full cursor-pointer opacity-0"
2687
+ }),
2688
+ /* @__PURE__ */ o("span", {
2689
+ "aria-hidden": "true",
2690
+ "data-slot": "questionnaire-choice-indicator",
2691
+ className: "pointer-events-none relative flex size-4 shrink-0 translate-y-[--spacing(0.45)] items-center justify-center rounded-[4px] border border-input group-has-data-[slot=questionnaire-choice-description]/questionnaire-choice:translate-y-0.5 group-data-[type=radio]/questionnaire-choice:rounded-full group-data-checked/questionnaire-choice:border-primary group-data-checked/questionnaire-choice:bg-primary group-data-checked/questionnaire-choice:text-primary-foreground dark:bg-input/30 dark:group-data-checked/questionnaire-choice:bg-primary",
2692
+ children: [/* @__PURE__ */ a("span", {
2693
+ "data-slot": "questionnaire-choice-indicator-dot",
2694
+ className: "hidden size-2 rounded-full bg-primary-foreground group-data-[type=checkbox]/questionnaire-choice:hidden group-data-checked/questionnaire-choice:block"
2695
+ }), /* @__PURE__ */ a(h, {
2696
+ "data-slot": "questionnaire-choice-indicator-check",
2697
+ className: "hidden size-3.5 group-data-[type=radio]/questionnaire-choice:hidden group-data-checked/questionnaire-choice:block"
2698
+ })]
2699
+ }),
2700
+ /* @__PURE__ */ a(Q.ChoiceLabel, {
2701
+ "data-slot": "questionnaire-choice-label",
2702
+ className: "flex min-w-0 flex-1 flex-col gap-0.5 leading-snug",
2703
+ children: e
2704
+ }),
2705
+ /* @__PURE__ */ a(Q.ChoiceShortcut, {
2706
+ "data-slot": "questionnaire-choice-shortcut",
2707
+ className: "pointer-events-none ms-auto hidden size-5 shrink-0 translate-y-[--spacing(0.45)] items-center justify-center rounded-md border border-input bg-background font-mono text-[0.625rem] leading-none font-medium text-muted-foreground group-has-data-[slot=questionnaire-choice-description]/questionnaire-choice:translate-y-0.5 group-data-[shortcut]/questionnaire-choice:inline-flex"
2708
+ })
2709
+ ]
2710
+ });
2711
+ }
2712
+ function ta({ className: e, ...t }) {
2713
+ return /* @__PURE__ */ a("span", {
2714
+ "data-slot": "questionnaire-choice-description",
2715
+ className: W("text-muted-foreground", e),
2716
+ ...t
2717
+ });
2718
+ }
2719
+ function na({ className: e, ...t }) {
2720
+ return /* @__PURE__ */ a("div", {
2721
+ "data-slot": "questionnaire-input-wrapper",
2722
+ className: "group/questionnaire-input relative w-full min-w-0",
2723
+ children: /* @__PURE__ */ a(Q.Input, {
2724
+ "data-slot": "questionnaire-input",
2725
+ className: W("h-8 min-h-11 w-full min-w-0 rounded-lg border border-input bg-transparent px-2.5 py-1 text-base transition-[color,box-shadow,background-color] outline-none focus-visible:border-ring focus-visible:ring-3 focus-visible:ring-ring/50 disabled:pointer-events-none disabled:cursor-not-allowed disabled:bg-input/50 disabled:opacity-50 aria-invalid:border-destructive aria-invalid:ring-3 aria-invalid:ring-destructive/20 sm:min-h-0 md:text-sm dark:bg-input/30 dark:disabled:bg-input/80 dark:aria-invalid:border-destructive/50 dark:aria-invalid:ring-destructive/40", "selection:bg-primary selection:text-primary-foreground placeholder:text-muted-foreground", e),
2726
+ ...t
2727
+ })
2728
+ });
2729
+ }
2730
+ function ra({ className: e, ...t }) {
2731
+ return /* @__PURE__ */ a(Q.Error, {
2732
+ "data-slot": "questionnaire-error",
2733
+ className: W("mt-2 text-sm text-destructive", e),
2734
+ ...t
2735
+ });
2736
+ }
2737
+ function ia({ className: e, ...t }) {
2738
+ return /* @__PURE__ */ a("div", {
2739
+ "data-slot": "questionnaire-actions",
2740
+ className: W("grid min-h-11 w-full grid-cols-[minmax(0,1fr)_auto_auto] items-center gap-2 sm:min-h-8", e),
2741
+ ...t
2742
+ });
2743
+ }
2744
+ function aa({ children: e, className: t, size: n = "default", variant: r = "outline", ...i }) {
2745
+ return /* @__PURE__ */ a(Q.Previous, {
2746
+ "data-slot": "questionnaire-previous",
2747
+ "data-size": n,
2748
+ "data-variant": r,
2749
+ className: W(G({
2750
+ size: n,
2751
+ variant: r
2752
+ }), "col-start-1 row-start-1 min-h-11 justify-self-start sm:min-h-0", t),
2753
+ ...i,
2754
+ children: e ?? "Previous"
2755
+ });
2756
+ }
2757
+ function oa({ children: e, className: t, size: n = "default", variant: r = "outline", ...i }) {
2758
+ return /* @__PURE__ */ a(Q.Skip, {
2759
+ "data-slot": "questionnaire-skip",
2760
+ "data-size": n,
2761
+ "data-variant": r,
2762
+ className: W(G({
2763
+ size: n,
2764
+ variant: r
2765
+ }), "col-start-2 row-start-1 min-h-11 justify-self-end sm:min-h-0", t),
2766
+ ...i,
2767
+ children: e ?? "Skip"
2768
+ });
2769
+ }
2770
+ function sa({ children: e, className: t, size: n = "default", variant: r = "default", ...i }) {
2771
+ return /* @__PURE__ */ a(Q.Next, {
2772
+ "data-slot": "questionnaire-next",
2773
+ "data-size": n,
2774
+ "data-variant": r,
2775
+ className: W(G({
2776
+ size: n,
2777
+ variant: r
2778
+ }), "col-start-3 row-start-1 min-h-11 justify-self-end sm:min-h-0", t),
2779
+ ...i,
2780
+ children: e ?? "Next"
2781
+ });
2782
+ }
2783
+ function ca({ children: e, className: t, size: n = "default", variant: r = "default", ...i }) {
2784
+ return /* @__PURE__ */ a(Q.Submit, {
2785
+ "data-slot": "questionnaire-submit",
2786
+ "data-size": n,
2787
+ "data-variant": r,
2788
+ className: W(G({
2789
+ size: n,
2790
+ variant: r
2791
+ }), "col-start-3 row-start-1 min-h-11 justify-self-end sm:min-h-0", t),
2792
+ ...i,
2793
+ children: e ?? "Submit"
2794
+ });
2795
+ }
2796
+ //#endregion
2797
+ //#region src/components/radio-group/radio-group.tsx
2798
+ function la({ className: e, ...t }) {
2799
+ return /* @__PURE__ */ a(ue, {
2800
+ "data-slot": "radio-group",
2801
+ className: W("grid w-full gap-2", e),
2802
+ ...t
2803
+ });
2804
+ }
2805
+ function ua({ className: e, ...t }) {
2806
+ return /* @__PURE__ */ a(le.Root, {
2807
+ "data-slot": "radio-group-item",
2808
+ className: W("group/radio-group-item peer relative flex aspect-square size-4 shrink-0 rounded-full border border-input outline-none group-has-[:focus-visible]/field-label:ring-0 group-has-[:focus-visible]/field-label:not-data-checked:border-input after:absolute after:-inset-x-3 after:-inset-y-2 focus-visible:border-ring focus-visible:ring-3 focus-visible:ring-ring/50 disabled:cursor-not-allowed disabled:opacity-50 aria-invalid:border-destructive aria-invalid:ring-3 aria-invalid:ring-destructive/20 aria-invalid:aria-checked:border-primary dark:bg-input/30 dark:aria-invalid:border-destructive/50 dark:aria-invalid:ring-destructive/40 data-checked:border-primary data-checked:bg-primary data-checked:text-primary-foreground group-has-[:focus-visible]/field-label:data-checked:border-primary dark:data-checked:bg-primary", e),
2809
+ ...t,
2810
+ children: /* @__PURE__ */ a(le.Indicator, {
2811
+ "data-slot": "radio-group-indicator",
2812
+ className: "flex size-4 items-center justify-center",
2813
+ children: /* @__PURE__ */ a("span", { className: "absolute top-1/2 left-1/2 size-2 -translate-x-1/2 -translate-y-1/2 rounded-full bg-primary-foreground" })
2814
+ })
2815
+ });
2816
+ }
2817
+ //#endregion
2818
+ //#region src/components/scroll-area/scroll-area.tsx
2819
+ function da({ className: e, children: t, ...n }) {
2820
+ return /* @__PURE__ */ o(R.Root, {
2821
+ "data-slot": "scroll-area",
2822
+ className: W("relative", e),
2823
+ ...n,
2824
+ children: [
2825
+ /* @__PURE__ */ a(R.Viewport, {
2826
+ "data-slot": "scroll-area-viewport",
2827
+ className: "size-full rounded-[inherit] transition-[color,box-shadow] outline-none focus-visible:ring-[3px] focus-visible:ring-ring/50 focus-visible:outline-1",
2828
+ children: t
2829
+ }),
2830
+ /* @__PURE__ */ a(fa, {}),
2831
+ /* @__PURE__ */ a(R.Corner, {})
2832
+ ]
2833
+ });
2834
+ }
2835
+ function fa({ className: e, orientation: t = "vertical", ...n }) {
2836
+ return /* @__PURE__ */ a(R.Scrollbar, {
2837
+ "data-slot": "scroll-area-scrollbar",
2838
+ "data-orientation": t,
2839
+ orientation: t,
2840
+ className: W("flex touch-none p-px transition-colors select-none data-horizontal:h-2.5 data-horizontal:flex-col data-horizontal:border-t data-horizontal:border-t-transparent data-vertical:h-full data-vertical:w-2.5 data-vertical:border-l data-vertical:border-l-transparent", e),
2841
+ ...n,
2842
+ children: /* @__PURE__ */ a(R.Thumb, {
2843
+ "data-slot": "scroll-area-thumb",
2844
+ className: "relative flex-1 rounded-full bg-border"
2845
+ })
2846
+ });
2847
+ }
2848
+ //#endregion
2849
+ //#region src/components/select/select.tsx
2850
+ var pa = z.Root;
2851
+ function ma({ className: e, ...t }) {
2852
+ return /* @__PURE__ */ a(z.Group, {
2853
+ "data-slot": "select-group",
2854
+ className: W("scroll-my-1 p-1", e),
2855
+ ...t
2856
+ });
2857
+ }
2858
+ function ha({ className: e, ...t }) {
2859
+ return /* @__PURE__ */ a(z.Value, {
2860
+ "data-slot": "select-value",
2861
+ className: W("flex flex-1 text-left", e),
2862
+ ...t
2863
+ });
2864
+ }
2865
+ function ga({ className: e, size: t = "default", children: n, "aria-label": r = "Select an option", ...i }) {
2866
+ return /* @__PURE__ */ o(z.Trigger, {
2867
+ "aria-label": r,
2868
+ "data-slot": "select-trigger",
2869
+ "data-size": t,
2870
+ className: W("flex w-fit items-center justify-between gap-1.5 rounded-lg border border-input bg-transparent py-2 pr-2 pl-2.5 text-sm whitespace-nowrap transition-colors outline-none select-none focus-visible:border-ring focus-visible:ring-3 focus-visible:ring-ring/50 disabled:cursor-not-allowed disabled:opacity-50 aria-invalid:border-destructive aria-invalid:ring-3 aria-invalid:ring-destructive/20 data-placeholder:text-muted-foreground data-[size=default]:h-8 data-[size=sm]:h-7 data-[size=sm]:rounded-[min(var(--radius-md),10px)] *:data-[slot=select-value]:line-clamp-1 *:data-[slot=select-value]:flex *:data-[slot=select-value]:items-center *:data-[slot=select-value]:gap-1.5 dark:bg-input/30 dark:hover:bg-input/50 dark:aria-invalid:border-destructive/50 dark:aria-invalid:ring-destructive/40 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4", e),
2871
+ ...i,
2872
+ children: [n, /* @__PURE__ */ a(z.Icon, { render: /* @__PURE__ */ a(g, { className: "pointer-events-none size-4 text-muted-foreground" }) })]
2873
+ });
2874
+ }
2875
+ function _a({ className: e, children: t, side: n = "bottom", sideOffset: r = 4, align: i = "center", alignOffset: s = 0, alignItemWithTrigger: c = !0, ...l }) {
2876
+ return /* @__PURE__ */ a(z.Portal, { children: /* @__PURE__ */ a(z.Positioner, {
2877
+ side: n,
2878
+ sideOffset: r,
2879
+ align: i,
2880
+ alignOffset: s,
2881
+ alignItemWithTrigger: c,
2882
+ className: "isolate z-50",
2883
+ children: /* @__PURE__ */ o(z.Popup, {
2884
+ "data-slot": "select-content",
2885
+ "data-align-trigger": c,
2886
+ className: W("relative isolate z-50 max-h-(--available-height) w-(--anchor-width) min-w-36 origin-(--transform-origin) overflow-x-hidden overflow-y-auto rounded-lg bg-popover text-popover-foreground shadow-md ring-1 ring-foreground/10 duration-100 data-[align-trigger=true]:animate-none data-[side=bottom]:slide-in-from-top-2 data-[side=inline-end]:slide-in-from-left-2 data-[side=inline-start]:slide-in-from-right-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 data-open:animate-in data-open:fade-in-0 data-open:zoom-in-95 data-closed:animate-out data-closed:fade-out-0 data-closed:zoom-out-95", e),
2887
+ ...l,
2888
+ children: [
2889
+ /* @__PURE__ */ a(xa, {}),
2890
+ /* @__PURE__ */ a(z.List, { children: t }),
2891
+ /* @__PURE__ */ a(Sa, {})
2892
+ ]
2893
+ })
2894
+ }) });
2895
+ }
2896
+ function va({ className: e, ...t }) {
2897
+ return /* @__PURE__ */ a(z.GroupLabel, {
2898
+ "data-slot": "select-label",
2899
+ className: W("px-1.5 py-1 text-xs text-muted-foreground", e),
2900
+ ...t
2901
+ });
2902
+ }
2903
+ function ya({ className: e, children: t, ...n }) {
2904
+ return /* @__PURE__ */ o(z.Item, {
2905
+ "data-slot": "select-item",
2906
+ className: W("relative flex w-full cursor-default items-center gap-1.5 rounded-md py-1 pr-8 pl-1.5 text-sm outline-hidden select-none focus:bg-accent focus:text-accent-foreground not-data-[variant=destructive]:focus:**:text-accent-foreground data-disabled:pointer-events-none data-disabled:opacity-50 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4 *:[span]:last:flex *:[span]:last:items-center *:[span]:last:gap-2", e),
2907
+ ...n,
2908
+ children: [/* @__PURE__ */ a(z.ItemText, {
2909
+ className: "flex flex-1 shrink-0 gap-2 whitespace-nowrap",
2910
+ children: t
2911
+ }), /* @__PURE__ */ a(z.ItemIndicator, {
2912
+ render: /* @__PURE__ */ a("span", { className: "pointer-events-none absolute right-2 flex size-4 items-center justify-center" }),
2913
+ children: /* @__PURE__ */ a(h, { className: "pointer-events-none" })
2914
+ })]
2915
+ });
2916
+ }
2917
+ function ba({ className: e, ...t }) {
2918
+ return /* @__PURE__ */ a(z.Separator, {
2919
+ "data-slot": "select-separator",
2920
+ className: W("pointer-events-none -mx-1 my-1 h-px bg-border", e),
2921
+ ...t
2922
+ });
2923
+ }
2924
+ function xa({ className: e, ...t }) {
2925
+ return /* @__PURE__ */ a(z.ScrollUpArrow, {
2926
+ "data-slot": "select-scroll-up-button",
2927
+ className: W("top-0 z-10 flex w-full cursor-default items-center justify-center bg-popover py-1 [&_svg:not([class*='size-'])]:size-4", e),
2928
+ ...t,
2929
+ children: /* @__PURE__ */ a(y, {})
2930
+ });
2931
+ }
2932
+ function Sa({ className: e, ...t }) {
2933
+ return /* @__PURE__ */ a(z.ScrollDownArrow, {
2934
+ "data-slot": "select-scroll-down-button",
2935
+ className: W("bottom-0 z-10 flex w-full cursor-default items-center justify-center bg-popover py-1 [&_svg:not([class*='size-'])]:size-4", e),
2936
+ ...t,
2937
+ children: /* @__PURE__ */ a(g, {})
2938
+ });
2939
+ }
2940
+ //#endregion
2941
+ //#region src/components/sheet/sheet.tsx
2942
+ function Ca({ ...e }) {
2943
+ return /* @__PURE__ */ a(N.Root, {
2944
+ "data-slot": "sheet",
2945
+ ...e
2946
+ });
2947
+ }
2948
+ function wa({ ...e }) {
2949
+ return /* @__PURE__ */ a(N.Trigger, {
2950
+ "data-slot": "sheet-trigger",
2951
+ ...e
2952
+ });
2953
+ }
2954
+ function Ta({ ...e }) {
2955
+ return /* @__PURE__ */ a(N.Close, {
2956
+ "data-slot": "sheet-close",
2957
+ ...e
2958
+ });
2959
+ }
2960
+ function Ea({ ...e }) {
2961
+ return /* @__PURE__ */ a(N.Portal, {
2962
+ "data-slot": "sheet-portal",
2963
+ ...e
2964
+ });
2965
+ }
2966
+ function Da({ className: e, ...t }) {
2967
+ return /* @__PURE__ */ a(N.Backdrop, {
2968
+ "data-slot": "sheet-overlay",
2969
+ className: W("fixed inset-0 z-50 bg-foreground/10 transition-opacity duration-150 data-ending-style:opacity-0 data-starting-style:opacity-0 supports-backdrop-filter:backdrop-blur-xs", e),
2970
+ ...t
2971
+ });
2972
+ }
2973
+ function Oa({ className: e, children: t, side: n = "right", showCloseButton: r = !0, ...i }) {
2974
+ return /* @__PURE__ */ o(Ea, { children: [/* @__PURE__ */ a(Da, {}), /* @__PURE__ */ o(N.Popup, {
2975
+ "data-slot": "sheet-content",
2976
+ "data-side": n,
2977
+ className: W("fixed z-50 flex flex-col gap-4 bg-popover bg-clip-padding text-sm text-popover-foreground shadow-lg transition duration-200 ease-in-out data-ending-style:opacity-0 data-starting-style:opacity-0 data-[side=bottom]:inset-x-0 data-[side=bottom]:bottom-0 data-[side=bottom]:h-auto data-[side=bottom]:border-t data-[side=bottom]:data-ending-style:translate-y-[2.5rem] data-[side=bottom]:data-starting-style:translate-y-[2.5rem] data-[side=left]:inset-y-0 data-[side=left]:left-0 data-[side=left]:h-full data-[side=left]:w-3/4 data-[side=left]:border-r data-[side=left]:data-ending-style:translate-x-[-2.5rem] data-[side=left]:data-starting-style:translate-x-[-2.5rem] data-[side=right]:inset-y-0 data-[side=right]:right-0 data-[side=right]:h-full data-[side=right]:w-3/4 data-[side=right]:border-l data-[side=right]:data-ending-style:translate-x-[2.5rem] data-[side=right]:data-starting-style:translate-x-[2.5rem] data-[side=top]:inset-x-0 data-[side=top]:top-0 data-[side=top]:h-auto data-[side=top]:border-b data-[side=top]:data-ending-style:translate-y-[-2.5rem] data-[side=top]:data-starting-style:translate-y-[-2.5rem] data-[side=left]:sm:max-w-sm data-[side=right]:sm:max-w-sm", e),
2978
+ ...i,
2979
+ children: [t, r && /* @__PURE__ */ o(N.Close, {
2980
+ "data-slot": "sheet-close",
2981
+ render: /* @__PURE__ */ a(K, {
2982
+ variant: "ghost",
2983
+ className: "absolute top-3 right-3",
2984
+ size: "icon-sm"
2985
+ }),
2986
+ children: [/* @__PURE__ */ a(w, {}), /* @__PURE__ */ a("span", {
2987
+ className: "sr-only",
2988
+ children: "Close"
2989
+ })]
2990
+ })]
2991
+ })] });
2992
+ }
2993
+ function ka({ className: e, ...t }) {
2994
+ return /* @__PURE__ */ a("div", {
2995
+ "data-slot": "sheet-header",
2996
+ className: W("flex flex-col gap-0.5 p-4", e),
2997
+ ...t
2998
+ });
2999
+ }
3000
+ function Aa({ className: e, ...t }) {
3001
+ return /* @__PURE__ */ a("div", {
3002
+ "data-slot": "sheet-footer",
3003
+ className: W("mt-auto flex flex-col gap-2 p-4", e),
3004
+ ...t
3005
+ });
3006
+ }
3007
+ function ja({ className: e, ...t }) {
3008
+ return /* @__PURE__ */ a(N.Title, {
3009
+ "data-slot": "sheet-title",
3010
+ className: W("font-heading text-base font-medium text-foreground", e),
3011
+ ...t
3012
+ });
3013
+ }
3014
+ function Ma({ className: e, ...t }) {
3015
+ return /* @__PURE__ */ a(N.Description, {
3016
+ "data-slot": "sheet-description",
3017
+ className: W("text-sm text-muted-foreground", e),
3018
+ ...t
3019
+ });
3020
+ }
3021
+ //#endregion
3022
+ //#region src/hooks/use-mobile.ts
3023
+ var Na = 768;
3024
+ function Pa() {
3025
+ let [e, t] = s.useState(void 0);
3026
+ return s.useEffect(() => {
3027
+ let e = window.matchMedia("(max-width: 767px)"), n = () => {
3028
+ t(window.innerWidth < Na);
3029
+ };
3030
+ return e.addEventListener("change", n), t(window.innerWidth < Na), () => e.removeEventListener("change", n);
3031
+ }, []), !!e;
3032
+ }
3033
+ //#endregion
3034
+ //#region src/components/skeleton/skeleton.tsx
3035
+ function Fa({ className: e, ...t }) {
3036
+ return /* @__PURE__ */ a("div", {
3037
+ "data-slot": "skeleton",
3038
+ className: W("animate-pulse rounded-md bg-muted", e),
3039
+ ...t
3040
+ });
3041
+ }
3042
+ //#endregion
3043
+ //#region src/components/tooltip/tooltip.tsx
3044
+ function Ia({ delay: e = 0, ...t }) {
3045
+ return /* @__PURE__ */ a(B.Provider, {
3046
+ "data-slot": "tooltip-provider",
3047
+ delay: e,
3048
+ ...t
3049
+ });
3050
+ }
3051
+ function La({ ...e }) {
3052
+ return /* @__PURE__ */ a(B.Root, {
3053
+ "data-slot": "tooltip",
3054
+ ...e
3055
+ });
3056
+ }
3057
+ function Ra({ ...e }) {
3058
+ return /* @__PURE__ */ a(B.Trigger, {
3059
+ "data-slot": "tooltip-trigger",
3060
+ ...e
3061
+ });
3062
+ }
3063
+ function za({ className: e, side: t = "top", sideOffset: n = 4, align: r = "center", alignOffset: i = 0, children: s, ...c }) {
3064
+ return /* @__PURE__ */ a(B.Portal, { children: /* @__PURE__ */ a(B.Positioner, {
3065
+ align: r,
3066
+ alignOffset: i,
3067
+ side: t,
3068
+ sideOffset: n,
3069
+ className: "isolate z-50",
3070
+ children: /* @__PURE__ */ o(B.Popup, {
3071
+ "data-slot": "tooltip-content",
3072
+ className: W("z-50 inline-flex w-fit max-w-xs origin-(--transform-origin) items-center gap-1.5 rounded-md bg-foreground px-3 py-1.5 text-xs text-background has-data-[slot=kbd]:pr-1.5 data-[side=bottom]:slide-in-from-top-2 data-[side=inline-end]:slide-in-from-left-2 data-[side=inline-start]:slide-in-from-right-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 **:data-[slot=kbd]:relative **:data-[slot=kbd]:isolate **:data-[slot=kbd]:z-50 **:data-[slot=kbd]:rounded-sm data-[state=delayed-open]:animate-in data-[state=delayed-open]:fade-in-0 data-[state=delayed-open]:zoom-in-95 data-open:animate-in data-open:fade-in-0 data-open:zoom-in-95 data-closed:animate-out data-closed:fade-out-0 data-closed:zoom-out-95", e),
3073
+ ...c,
3074
+ children: [s, /* @__PURE__ */ a(B.Arrow, { className: "z-50 size-2.5 translate-y-[calc(-50%-2px)] rotate-45 rounded-[2px] bg-foreground fill-foreground data-[side=bottom]:top-1 data-[side=inline-end]:top-1/2! data-[side=inline-end]:-left-1 data-[side=inline-end]:-translate-y-1/2 data-[side=inline-start]:top-1/2! data-[side=inline-start]:-right-1 data-[side=inline-start]:-translate-y-1/2 data-[side=left]:top-1/2! data-[side=left]:-right-1 data-[side=left]:-translate-y-1/2 data-[side=right]:top-1/2! data-[side=right]:-left-1 data-[side=right]:-translate-y-1/2 data-[side=top]:-bottom-2.5" })]
3075
+ })
3076
+ }) });
3077
+ }
3078
+ //#endregion
3079
+ //#region src/components/sidebar/sidebar.tsx
3080
+ var Ba = "sidebar_state", Va = 604800, Ha = "16rem", Ua = "18rem", Wa = "3rem", Ga = "b", Ka = s.createContext(null);
3081
+ function $() {
3082
+ let e = s.useContext(Ka);
3083
+ if (!e) throw Error("useSidebar must be used within a SidebarProvider.");
3084
+ return e;
3085
+ }
3086
+ function qa({ defaultOpen: e = !0, open: t, onOpenChange: n, className: r, style: i, children: o, ...c }) {
3087
+ let l = Pa(), [u, d] = s.useState(!1), [f, p] = s.useState(e), m = t ?? f, h = s.useCallback((e) => {
3088
+ let t = typeof e == "function" ? e(m) : e;
3089
+ n ? n(t) : p(t), document.cookie = `${Ba}=${t}; path=/; max-age=${Va}`;
3090
+ }, [n, m]), g = s.useCallback(() => l ? d((e) => !e) : h((e) => !e), [
3091
+ l,
3092
+ h,
3093
+ d
3094
+ ]);
3095
+ s.useEffect(() => {
3096
+ let e = (e) => {
3097
+ e.key === Ga && (e.metaKey || e.ctrlKey) && (e.preventDefault(), g());
3098
+ };
3099
+ return window.addEventListener("keydown", e), () => window.removeEventListener("keydown", e);
3100
+ }, [g]);
3101
+ let _ = m ? "expanded" : "collapsed", v = s.useMemo(() => ({
3102
+ state: _,
3103
+ open: m,
3104
+ setOpen: h,
3105
+ isMobile: l,
3106
+ openMobile: u,
3107
+ setOpenMobile: d,
3108
+ toggleSidebar: g
3109
+ }), [
3110
+ _,
3111
+ m,
3112
+ h,
3113
+ l,
3114
+ u,
3115
+ d,
3116
+ g
3117
+ ]);
3118
+ return /* @__PURE__ */ a(Ka.Provider, {
3119
+ value: v,
3120
+ children: /* @__PURE__ */ a("div", {
3121
+ "data-slot": "sidebar-wrapper",
3122
+ style: {
3123
+ "--sidebar-width": Ha,
3124
+ "--sidebar-width-icon": Wa,
3125
+ ...i
3126
+ },
3127
+ className: W("group/sidebar-wrapper flex min-h-svh w-full has-data-[variant=inset]:bg-sidebar", r),
3128
+ ...c,
3129
+ children: o
3130
+ })
3131
+ });
3132
+ }
3133
+ function Ja({ side: e = "left", variant: t = "sidebar", collapsible: n = "offcanvas", className: r, children: i, dir: s, ...c }) {
3134
+ let { isMobile: l, state: u, openMobile: d, setOpenMobile: f } = $();
3135
+ return n === "none" ? /* @__PURE__ */ a("div", {
3136
+ "data-slot": "sidebar",
3137
+ className: W("flex h-full w-(--sidebar-width) flex-col bg-sidebar text-sidebar-foreground", r),
3138
+ ...c,
3139
+ children: i
3140
+ }) : l ? /* @__PURE__ */ a(Ca, {
3141
+ open: d,
3142
+ onOpenChange: f,
3143
+ ...c,
3144
+ children: /* @__PURE__ */ o(Oa, {
3145
+ dir: s,
3146
+ "data-sidebar": "sidebar",
3147
+ "data-slot": "sidebar",
3148
+ "data-mobile": "true",
3149
+ className: "w-(--sidebar-width) bg-sidebar p-0 text-sidebar-foreground [&>button]:hidden",
3150
+ style: { "--sidebar-width": Ua },
3151
+ side: e,
3152
+ children: [/* @__PURE__ */ o(ka, {
3153
+ className: "sr-only",
3154
+ children: [/* @__PURE__ */ a(ja, { children: "Sidebar" }), /* @__PURE__ */ a(Ma, { children: "Displays the mobile sidebar." })]
3155
+ }), /* @__PURE__ */ a("div", {
3156
+ className: "flex h-full w-full flex-col",
3157
+ children: i
3158
+ })]
3159
+ })
3160
+ }) : /* @__PURE__ */ o("div", {
3161
+ className: "group peer hidden text-sidebar-foreground md:block",
3162
+ "data-state": u,
3163
+ "data-collapsible": u === "collapsed" ? n : "",
3164
+ "data-variant": t,
3165
+ "data-side": e,
3166
+ "data-slot": "sidebar",
3167
+ children: [/* @__PURE__ */ a("div", {
3168
+ "data-slot": "sidebar-gap",
3169
+ className: W("relative w-(--sidebar-width) bg-transparent transition-[width] duration-200 ease-linear", "group-data-[collapsible=offcanvas]:w-0", "group-data-[side=right]:rotate-180", t === "floating" || t === "inset" ? "group-data-[collapsible=icon]:w-[calc(var(--sidebar-width-icon)+(--spacing(4)))]" : "group-data-[collapsible=icon]:w-(--sidebar-width-icon)")
3170
+ }), /* @__PURE__ */ a("div", {
3171
+ "data-slot": "sidebar-container",
3172
+ "data-side": e,
3173
+ className: W("fixed inset-y-0 z-10 hidden h-svh w-(--sidebar-width) transition-[left,right,width] duration-200 ease-linear data-[side=left]:left-0 data-[side=left]:group-data-[collapsible=offcanvas]:left-[calc(var(--sidebar-width)*-1)] data-[side=right]:right-0 data-[side=right]:group-data-[collapsible=offcanvas]:right-[calc(var(--sidebar-width)*-1)] md:flex", t === "floating" || t === "inset" ? "p-2 group-data-[collapsible=icon]:w-[calc(var(--sidebar-width-icon)+(--spacing(4))+2px)]" : "group-data-[collapsible=icon]:w-(--sidebar-width-icon) group-data-[side=left]:border-r group-data-[side=right]:border-l", r),
3174
+ ...c,
3175
+ children: /* @__PURE__ */ a("div", {
3176
+ "data-sidebar": "sidebar",
3177
+ "data-slot": "sidebar-inner",
3178
+ className: "flex size-full flex-col bg-sidebar group-data-[variant=floating]:rounded-lg group-data-[variant=floating]:shadow-sm group-data-[variant=floating]:ring-1 group-data-[variant=floating]:ring-sidebar-border",
3179
+ children: i
3180
+ })
3181
+ })]
3182
+ });
3183
+ }
3184
+ function Ya({ className: e, onClick: t, ...n }) {
3185
+ let { toggleSidebar: r } = $();
3186
+ return /* @__PURE__ */ o(K, {
3187
+ "data-sidebar": "trigger",
3188
+ "data-slot": "sidebar-trigger",
3189
+ variant: "ghost",
3190
+ size: "icon-sm",
3191
+ className: W(e),
3192
+ onClick: (e) => {
3193
+ t?.(e), r();
3194
+ },
3195
+ ...n,
3196
+ children: [/* @__PURE__ */ a(S, {}), /* @__PURE__ */ a("span", {
3197
+ className: "sr-only",
3198
+ children: "Toggle Sidebar"
3199
+ })]
3200
+ });
3201
+ }
3202
+ function Xa({ className: e, ...t }) {
3203
+ let { toggleSidebar: n } = $();
3204
+ return /* @__PURE__ */ a("button", {
3205
+ "data-sidebar": "rail",
3206
+ "data-slot": "sidebar-rail",
3207
+ "aria-label": "Toggle Sidebar",
3208
+ tabIndex: -1,
3209
+ onClick: n,
3210
+ title: "Toggle Sidebar",
3211
+ className: W("absolute inset-y-0 z-20 hidden w-4 transition-all ease-linear group-data-[side=left]:-right-4 group-data-[side=right]:left-0 after:absolute after:inset-y-0 after:start-1/2 after:w-[2px] hover:after:bg-sidebar-border sm:flex ltr:-translate-x-1/2 rtl:-translate-x-1/2", "in-data-[side=left]:cursor-w-resize in-data-[side=right]:cursor-e-resize", "[[data-side=left][data-state=collapsed]_&]:cursor-e-resize [[data-side=right][data-state=collapsed]_&]:cursor-w-resize", "group-data-[collapsible=offcanvas]:translate-x-0 group-data-[collapsible=offcanvas]:after:left-full hover:group-data-[collapsible=offcanvas]:bg-sidebar", "[[data-side=left][data-collapsible=offcanvas]_&]:-right-2", "[[data-side=right][data-collapsible=offcanvas]_&]:-left-2", e),
3212
+ ...t
3213
+ });
3214
+ }
3215
+ function Za({ className: e, ...t }) {
3216
+ return /* @__PURE__ */ a("main", {
3217
+ "data-slot": "sidebar-inset",
3218
+ className: W("relative flex w-full flex-1 flex-col bg-background md:peer-data-[variant=inset]:m-2 md:peer-data-[variant=inset]:ml-0 md:peer-data-[variant=inset]:rounded-xl md:peer-data-[variant=inset]:shadow-sm md:peer-data-[variant=inset]:peer-data-[state=collapsed]:ml-2", e),
3219
+ ...t
3220
+ });
3221
+ }
3222
+ function Qa({ className: e, ...t }) {
3223
+ return /* @__PURE__ */ a(Fe, {
3224
+ "data-slot": "sidebar-input",
3225
+ "data-sidebar": "input",
3226
+ className: W("h-8 w-full bg-background shadow-none", e),
3227
+ ...t
3228
+ });
3229
+ }
3230
+ function $a({ className: e, ...t }) {
3231
+ return /* @__PURE__ */ a("div", {
3232
+ "data-slot": "sidebar-header",
3233
+ "data-sidebar": "header",
3234
+ className: W("flex flex-col gap-2 p-2", e),
3235
+ ...t
3236
+ });
3237
+ }
3238
+ function eo({ className: e, ...t }) {
3239
+ return /* @__PURE__ */ a("div", {
3240
+ "data-slot": "sidebar-footer",
3241
+ "data-sidebar": "footer",
3242
+ className: W("flex flex-col gap-2 p-2", e),
3243
+ ...t
3244
+ });
3245
+ }
3246
+ function to({ className: e, ...t }) {
3247
+ return /* @__PURE__ */ a(q, {
3248
+ "data-slot": "sidebar-separator",
3249
+ "data-sidebar": "separator",
3250
+ className: W("mx-2 w-auto bg-sidebar-border", e),
3251
+ ...t
3252
+ });
3253
+ }
3254
+ function no({ className: e, ...t }) {
3255
+ return /* @__PURE__ */ a("div", {
3256
+ "data-slot": "sidebar-content",
3257
+ "data-sidebar": "content",
3258
+ className: W("no-scrollbar flex min-h-0 flex-1 flex-col gap-0 overflow-auto group-data-[collapsible=icon]:overflow-hidden", e),
3259
+ ...t
3260
+ });
3261
+ }
3262
+ function ro({ className: e, ...t }) {
3263
+ return /* @__PURE__ */ a("div", {
3264
+ "data-slot": "sidebar-group",
3265
+ "data-sidebar": "group",
3266
+ className: W("relative flex w-full min-w-0 flex-col p-2", e),
3267
+ ...t
3268
+ });
3269
+ }
3270
+ function io({ className: e, render: t, ...n }) {
3271
+ return D({
3272
+ defaultTagName: "div",
3273
+ props: E({ className: W("flex h-8 shrink-0 items-center rounded-md px-2 text-xs font-medium text-sidebar-foreground/70 ring-sidebar-ring outline-hidden transition-[margin,opacity] duration-200 ease-linear group-data-[collapsible=icon]:-mt-8 group-data-[collapsible=icon]:opacity-0 focus-visible:ring-2 [&>svg]:size-4 [&>svg]:shrink-0", e) }, n),
3274
+ render: t,
3275
+ state: {
3276
+ slot: "sidebar-group-label",
3277
+ sidebar: "group-label"
3278
+ }
3279
+ });
3280
+ }
3281
+ function ao({ className: e, render: t, ...n }) {
3282
+ return D({
3283
+ defaultTagName: "button",
3284
+ props: E({ className: W("absolute top-3.5 right-3 flex aspect-square w-5 items-center justify-center rounded-md p-0 text-sidebar-foreground ring-sidebar-ring outline-hidden transition-transform group-data-[collapsible=icon]:hidden after:absolute after:-inset-2 hover:bg-sidebar-accent hover:text-sidebar-accent-foreground focus-visible:ring-2 md:after:hidden [&>svg]:size-4 [&>svg]:shrink-0", e) }, n),
3285
+ render: t,
3286
+ state: {
3287
+ slot: "sidebar-group-action",
3288
+ sidebar: "group-action"
3289
+ }
3290
+ });
3291
+ }
3292
+ function oo({ className: e, ...t }) {
3293
+ return /* @__PURE__ */ a("div", {
3294
+ "data-slot": "sidebar-group-content",
3295
+ "data-sidebar": "group-content",
3296
+ className: W("w-full text-sm", e),
3297
+ ...t
3298
+ });
3299
+ }
3300
+ function so({ className: e, ...t }) {
3301
+ return /* @__PURE__ */ a("ul", {
3302
+ "data-slot": "sidebar-menu",
3303
+ "data-sidebar": "menu",
3304
+ className: W("flex w-full min-w-0 flex-col gap-0", e),
3305
+ ...t
3306
+ });
3307
+ }
3308
+ function co({ className: e, ...t }) {
3309
+ return /* @__PURE__ */ a("li", {
3310
+ "data-slot": "sidebar-menu-item",
3311
+ "data-sidebar": "menu-item",
3312
+ className: W("group/menu-item relative", e),
3313
+ ...t
3314
+ });
3315
+ }
3316
+ var lo = t("peer/menu-button group/menu-button flex w-full items-center gap-2 overflow-hidden rounded-md p-2 text-left text-sm ring-sidebar-ring outline-hidden transition-[width,height,padding] group-has-data-[sidebar=menu-action]/menu-item:pr-8 group-data-[collapsible=icon]:size-8! group-data-[collapsible=icon]:p-2! hover:bg-sidebar-accent hover:text-sidebar-accent-foreground focus-visible:ring-2 active:bg-sidebar-accent active:text-sidebar-accent-foreground disabled:pointer-events-none disabled:opacity-50 aria-disabled:pointer-events-none aria-disabled:opacity-50 data-open:hover:bg-sidebar-accent data-open:hover:text-sidebar-accent-foreground data-active:bg-sidebar-accent data-active:font-medium data-active:text-sidebar-accent-foreground [&_svg]:size-4 [&_svg]:shrink-0 [&>span:last-child]:truncate", {
3317
+ variants: {
3318
+ variant: {
3319
+ default: "hover:bg-sidebar-accent hover:text-sidebar-accent-foreground",
3320
+ outline: "bg-background shadow-[0_0_0_1px_var(--sidebar-border)] hover:bg-sidebar-accent hover:text-sidebar-accent-foreground hover:shadow-[0_0_0_1px_var(--sidebar-accent)]"
3321
+ },
3322
+ size: {
3323
+ default: "h-8 text-sm",
3324
+ sm: "h-7 text-xs",
3325
+ lg: "h-12 text-sm group-data-[collapsible=icon]:p-0!"
3326
+ }
3327
+ },
3328
+ defaultVariants: {
3329
+ variant: "default",
3330
+ size: "default"
3331
+ }
3332
+ });
3333
+ function uo({ render: e, isActive: t = !1, variant: n = "default", size: r = "default", tooltip: i, className: s, ...c }) {
3334
+ let { isMobile: l, state: u } = $(), d = D({
3335
+ defaultTagName: "button",
3336
+ props: E({ className: W(lo({
3337
+ variant: n,
3338
+ size: r
3339
+ }), s) }, c),
3340
+ render: i ? /* @__PURE__ */ a(Ra, { render: e }) : e,
3341
+ state: {
3342
+ slot: "sidebar-menu-button",
3343
+ sidebar: "menu-button",
3344
+ size: r,
3345
+ active: t
3346
+ }
3347
+ });
3348
+ return i ? (typeof i == "string" && (i = { children: i }), /* @__PURE__ */ o(La, { children: [d, /* @__PURE__ */ a(za, {
3349
+ side: "right",
3350
+ align: "center",
3351
+ hidden: u !== "collapsed" || l,
3352
+ ...i
3353
+ })] })) : d;
3354
+ }
3355
+ function fo({ className: e, render: t, showOnHover: n = !1, ...r }) {
3356
+ return D({
3357
+ defaultTagName: "button",
3358
+ props: E({ className: W("absolute top-1.5 right-1 flex aspect-square w-5 items-center justify-center rounded-md p-0 text-sidebar-foreground ring-sidebar-ring outline-hidden transition-transform group-data-[collapsible=icon]:hidden peer-hover/menu-button:text-sidebar-accent-foreground peer-data-[size=default]/menu-button:top-1.5 peer-data-[size=lg]/menu-button:top-2.5 peer-data-[size=sm]/menu-button:top-1 after:absolute after:-inset-2 hover:bg-sidebar-accent hover:text-sidebar-accent-foreground focus-visible:ring-2 md:after:hidden [&>svg]:size-4 [&>svg]:shrink-0", n && "group-focus-within/menu-item:opacity-100 group-hover/menu-item:opacity-100 peer-data-active/menu-button:text-sidebar-accent-foreground aria-expanded:opacity-100 md:opacity-0", e) }, r),
3359
+ render: t,
3360
+ state: {
3361
+ slot: "sidebar-menu-action",
3362
+ sidebar: "menu-action"
3363
+ }
3364
+ });
3365
+ }
3366
+ function po({ className: e, ...t }) {
3367
+ return /* @__PURE__ */ a("div", {
3368
+ "data-slot": "sidebar-menu-badge",
3369
+ "data-sidebar": "menu-badge",
3370
+ className: W("pointer-events-none absolute right-1 flex h-5 min-w-5 items-center justify-center rounded-md px-1 text-xs font-medium text-sidebar-foreground tabular-nums select-none group-data-[collapsible=icon]:hidden peer-hover/menu-button:text-sidebar-accent-foreground peer-data-[size=default]/menu-button:top-1.5 peer-data-[size=lg]/menu-button:top-2.5 peer-data-[size=sm]/menu-button:top-1 peer-data-active/menu-button:text-sidebar-accent-foreground", e),
3371
+ ...t
3372
+ });
3373
+ }
3374
+ function mo({ className: e, showIcon: t = !1, ...n }) {
3375
+ let [r] = s.useState(() => `${Math.floor(Math.random() * 40) + 50}%`);
3376
+ return /* @__PURE__ */ o("div", {
3377
+ "data-slot": "sidebar-menu-skeleton",
3378
+ "data-sidebar": "menu-skeleton",
3379
+ className: W("flex h-8 items-center gap-2 rounded-md px-2", e),
3380
+ ...n,
3381
+ children: [t && /* @__PURE__ */ a(Fa, {
3382
+ className: "size-4 rounded-md",
3383
+ "data-sidebar": "menu-skeleton-icon"
3384
+ }), /* @__PURE__ */ a(Fa, {
3385
+ className: "h-4 max-w-(--skeleton-width) flex-1",
3386
+ "data-sidebar": "menu-skeleton-text",
3387
+ style: { "--skeleton-width": r }
3388
+ })]
3389
+ });
3390
+ }
3391
+ function ho({ className: e, ...t }) {
3392
+ return /* @__PURE__ */ a("ul", {
3393
+ "data-slot": "sidebar-menu-sub",
3394
+ "data-sidebar": "menu-sub",
3395
+ className: W("mx-3.5 flex min-w-0 translate-x-px flex-col gap-1 border-l border-sidebar-border px-2.5 py-0.5 group-data-[collapsible=icon]:hidden", e),
3396
+ ...t
3397
+ });
3398
+ }
3399
+ function go({ className: e, ...t }) {
3400
+ return /* @__PURE__ */ a("li", {
3401
+ "data-slot": "sidebar-menu-sub-item",
3402
+ "data-sidebar": "menu-sub-item",
3403
+ className: W("group/menu-sub-item relative", e),
3404
+ ...t
3405
+ });
3406
+ }
3407
+ function _o({ render: e, size: t = "md", isActive: n = !1, className: r, ...i }) {
3408
+ return D({
3409
+ defaultTagName: "a",
3410
+ props: E({ className: W("flex h-7 min-w-0 -translate-x-px items-center gap-2 overflow-hidden rounded-md px-2 text-sidebar-foreground ring-sidebar-ring outline-hidden group-data-[collapsible=icon]:hidden hover:bg-sidebar-accent hover:text-sidebar-accent-foreground focus-visible:ring-2 active:bg-sidebar-accent active:text-sidebar-accent-foreground disabled:pointer-events-none disabled:opacity-50 aria-disabled:pointer-events-none aria-disabled:opacity-50 data-[size=md]:text-sm data-[size=sm]:text-xs data-active:bg-sidebar-accent data-active:text-sidebar-accent-foreground [&>span:last-child]:truncate [&>svg]:size-4 [&>svg]:shrink-0 [&>svg]:text-sidebar-accent-foreground", r) }, i),
3411
+ render: e,
3412
+ state: {
3413
+ slot: "sidebar-menu-sub-button",
3414
+ sidebar: "menu-sub-button",
3415
+ size: t,
3416
+ active: n
3417
+ }
3418
+ });
3419
+ }
3420
+ //#endregion
3421
+ //#region src/components/slider/slider.tsx
3422
+ function vo({ className: e, defaultValue: t, value: n, min: r = 0, max: i = 100, "aria-label": s = "Slider", "aria-labelledby": c, ...l }) {
3423
+ let u = Array.isArray(n) ? n : Array.isArray(t) ? t : [r, i];
3424
+ return /* @__PURE__ */ a(V.Root, {
3425
+ className: W("data-[orientation=horizontal]:w-full data-[orientation=vertical]:h-full", e),
3426
+ "data-slot": "slider",
3427
+ defaultValue: t,
3428
+ value: n,
3429
+ min: r,
3430
+ max: i,
3431
+ thumbAlignment: "edge",
3432
+ "aria-label": s,
3433
+ "aria-labelledby": c,
3434
+ ...l,
3435
+ children: /* @__PURE__ */ o(V.Control, {
3436
+ className: "relative flex w-full touch-none items-center select-none data-disabled:opacity-50 data-[orientation=vertical]:h-full data-[orientation=vertical]:min-h-40 data-[orientation=vertical]:w-auto data-[orientation=vertical]:flex-col",
3437
+ children: [/* @__PURE__ */ a(V.Track, {
3438
+ "data-slot": "slider-track",
3439
+ className: "relative grow overflow-hidden rounded-full bg-muted select-none data-[orientation=horizontal]:h-1 data-[orientation=horizontal]:w-full data-[orientation=vertical]:h-full data-[orientation=vertical]:w-1",
3440
+ children: /* @__PURE__ */ a(V.Indicator, {
3441
+ "data-slot": "slider-range",
3442
+ className: "bg-primary select-none data-[orientation=horizontal]:h-full data-[orientation=vertical]:w-full"
3443
+ })
3444
+ }), Array.from({ length: u.length }, (e, t) => /* @__PURE__ */ a(V.Thumb, {
3445
+ "data-slot": "slider-thumb",
3446
+ "aria-label": s && u.length > 1 ? `${s} ${t + 1}` : s,
3447
+ "aria-labelledby": c,
3448
+ className: "relative block size-3 shrink-0 rounded-full border border-ring bg-background ring-ring/50 transition-[color,box-shadow] select-none after:absolute after:-inset-2 hover:ring-3 focus-visible:ring-3 focus-visible:outline-hidden active:ring-3 disabled:pointer-events-none disabled:opacity-50"
3449
+ }, t))]
3450
+ })
3451
+ });
3452
+ }
3453
+ //#endregion
3454
+ //#region src/components/spinner/spinner.tsx
3455
+ function yo({ className: e, ...t }) {
3456
+ return /* @__PURE__ */ a(C, {
3457
+ "data-slot": "spinner",
3458
+ role: "status",
3459
+ "aria-label": "Loading",
3460
+ className: W("size-4 animate-spin", e),
3461
+ ...t
3462
+ });
3463
+ }
3464
+ //#endregion
3465
+ //#region src/components/switch/switch.tsx
3466
+ function bo({ className: e, size: t = "default", ...n }) {
3467
+ return /* @__PURE__ */ a(de.Root, {
3468
+ "data-slot": "switch",
3469
+ "data-size": t,
3470
+ className: W("peer group/switch relative inline-flex shrink-0 items-center rounded-full border border-transparent transition-all outline-none group-has-[:focus-visible]/field-label:border-transparent group-has-[:focus-visible]/field-label:ring-0 after:absolute after:-inset-x-3 after:-inset-y-2 focus-visible:border-ring focus-visible:ring-3 focus-visible:ring-ring/50 aria-invalid:border-destructive aria-invalid:ring-3 aria-invalid:ring-destructive/20 data-[size=default]:h-[18.4px] data-[size=default]:w-[32px] data-[size=sm]:h-[14px] data-[size=sm]:w-[24px] dark:aria-invalid:border-destructive/50 dark:aria-invalid:ring-destructive/40 data-checked:bg-primary data-unchecked:bg-input dark:data-unchecked:bg-input/80 data-disabled:cursor-not-allowed data-disabled:opacity-50", e),
3471
+ ...n,
3472
+ children: /* @__PURE__ */ a(de.Thumb, {
3473
+ "data-slot": "switch-thumb",
3474
+ className: "pointer-events-none block rounded-full bg-background ring-0 transition-transform group-data-[size=default]/switch:size-4 group-data-[size=sm]/switch:size-3 group-data-[size=default]/switch:data-checked:translate-x-[calc(100%-2px)] group-data-[size=sm]/switch:data-checked:translate-x-[calc(100%-2px)] dark:data-checked:bg-primary-foreground group-data-[size=default]/switch:data-unchecked:translate-x-0 group-data-[size=sm]/switch:data-unchecked:translate-x-0 dark:data-unchecked:bg-foreground"
3475
+ })
3476
+ });
3477
+ }
3478
+ //#endregion
3479
+ //#region src/components/tabs/tabs.tsx
3480
+ function xo({ className: e, orientation: t = "horizontal", ...n }) {
3481
+ return /* @__PURE__ */ a(H.Root, {
3482
+ "data-slot": "tabs",
3483
+ "data-orientation": t,
3484
+ orientation: t,
3485
+ className: W("group/tabs flex gap-2 data-[orientation=horizontal]:flex-col", e),
3486
+ ...n
3487
+ });
3488
+ }
3489
+ var So = t("group/tabs-list inline-flex w-fit items-center justify-center rounded-lg p-[3px] text-muted-foreground group-data-[orientation=horizontal]/tabs:h-8 group-data-[orientation=vertical]/tabs:h-fit group-data-[orientation=vertical]/tabs:flex-col data-[variant=line]:rounded-none", {
3490
+ variants: { variant: {
3491
+ default: "bg-muted",
3492
+ line: "gap-1 bg-transparent"
3493
+ } },
3494
+ defaultVariants: { variant: "default" }
3495
+ });
3496
+ function Co({ className: e, variant: t = "default", ...n }) {
3497
+ return /* @__PURE__ */ a(H.List, {
3498
+ "data-slot": "tabs-list",
3499
+ "data-variant": t,
3500
+ className: W(So({ variant: t }), e),
3501
+ ...n
3502
+ });
3503
+ }
3504
+ function wo({ className: e, ...t }) {
3505
+ return /* @__PURE__ */ a(H.Tab, {
3506
+ "data-slot": "tabs-trigger",
3507
+ className: W("relative inline-flex h-[calc(100%-1px)] flex-1 items-center justify-center gap-1.5 rounded-md border border-transparent px-1.5 py-0.5 text-sm font-medium whitespace-nowrap text-foreground/60 transition-all group-data-[orientation=vertical]/tabs:w-full group-data-[orientation=vertical]/tabs:justify-start hover:text-foreground focus-visible:border-ring focus-visible:ring-[3px] focus-visible:ring-ring/50 focus-visible:outline-1 focus-visible:outline-ring disabled:pointer-events-none disabled:opacity-50 has-data-[icon=inline-end]:pr-1 has-data-[icon=inline-start]:pl-1 aria-disabled:pointer-events-none aria-disabled:opacity-50 dark:text-muted-foreground dark:hover:text-foreground group-data-[variant=default]/tabs-list:data-active:shadow-sm group-data-[variant=line]/tabs-list:data-active:shadow-none [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4", "group-data-[variant=line]/tabs-list:bg-transparent group-data-[variant=line]/tabs-list:data-active:bg-transparent dark:group-data-[variant=line]/tabs-list:data-active:border-transparent dark:group-data-[variant=line]/tabs-list:data-active:bg-transparent", "data-active:bg-background data-active:text-foreground dark:data-active:border-input dark:data-active:bg-input/30 dark:data-active:text-foreground", "after:absolute after:bg-foreground after:opacity-0 after:transition-opacity group-data-[orientation=horizontal]/tabs:after:inset-x-0 group-data-[orientation=horizontal]/tabs:after:bottom-[-5px] group-data-[orientation=horizontal]/tabs:after:h-0.5 group-data-[orientation=vertical]/tabs:after:inset-y-0 group-data-[orientation=vertical]/tabs:after:-right-1 group-data-[orientation=vertical]/tabs:after:w-0.5 group-data-[variant=line]/tabs-list:data-active:after:opacity-100", e),
3508
+ ...t
3509
+ });
3510
+ }
3511
+ function To({ className: e, ...t }) {
3512
+ return /* @__PURE__ */ a(H.Panel, {
3513
+ "data-slot": "tabs-content",
3514
+ className: W("flex-1 text-sm outline-none", e),
3515
+ ...t
3516
+ });
3517
+ }
3518
+ //#endregion
3519
+ //#region src/components/toast/toast.tsx
3520
+ var Eo = U.createToastManager();
3521
+ function Do({ ...e }) {
3522
+ return /* @__PURE__ */ a(U.Provider, { ...e });
3523
+ }
3524
+ function Oo({ ...e }) {
3525
+ return /* @__PURE__ */ a(U.Portal, {
3526
+ "data-slot": "toast-portal",
3527
+ ...e
3528
+ });
3529
+ }
3530
+ function ko({ className: e, ...t }) {
3531
+ return /* @__PURE__ */ a(U.Viewport, {
3532
+ "data-slot": "toast-viewport",
3533
+ className: W("pointer-events-none fixed inset-x-4 bottom-4 z-50 mx-auto w-auto max-w-sm outline-none sm:right-4 sm:left-auto sm:mx-0 sm:w-full", e),
3534
+ ...t
3535
+ });
3536
+ }
3537
+ function Ao({ className: e, ...t }) {
3538
+ return /* @__PURE__ */ a(U.Root, {
3539
+ "data-slot": "toast",
3540
+ className: W("group/toast pointer-events-auto absolute right-0 bottom-0 z-[calc(1000-var(--toast-index))] w-full origin-bottom rounded-2xl border bg-popover text-popover-foreground shadow-lg will-change-transform outline-none select-none focus-visible:border-ring focus-visible:ring-[3px] focus-visible:ring-ring/50", "[--gap:0.75rem] [--height:var(--toast-frontmost-height,var(--toast-height))] [--offset-y:calc(var(--toast-offset-y)*-1+calc(var(--toast-index)*var(--gap)*-1)+var(--toast-swipe-movement-y))] [--peek:0.75rem] [--scale:calc(max(0,1-(var(--toast-index)*0.1)))] [--shrink:calc(1-var(--scale))]", "h-(--height) [transform:translateX(var(--toast-swipe-movement-x))_translateY(calc(var(--toast-swipe-movement-y)-(var(--toast-index)*var(--peek))-(var(--shrink)*var(--height))))_scale(var(--scale))] [transition:transform_500ms_cubic-bezier(0.22,1,0.36,1),opacity_500ms,height_150ms]", "after:absolute after:top-full after:left-0 after:h-[calc(var(--gap)+1px)] after:w-full after:content-['']", "data-expanded:h-(--toast-height) data-expanded:[transform:translateX(var(--toast-swipe-movement-x))_translateY(var(--offset-y))]", "data-limited:opacity-0 data-starting-style:[transform:translateY(150%)]", "[&[data-ending-style]:not([data-limited]):not([data-swipe-direction])]:[transform:translateY(150%)]", "data-ending-style:data-[swipe-direction=down]:[transform:translateY(calc(var(--toast-swipe-movement-y)+150%))]", "data-ending-style:data-[swipe-direction=left]:[transform:translateX(calc(var(--toast-swipe-movement-x)-150%))_translateY(var(--offset-y))]", "data-ending-style:data-[swipe-direction=right]:[transform:translateX(calc(var(--toast-swipe-movement-x)+150%))_translateY(var(--offset-y))]", "data-ending-style:data-[swipe-direction=up]:[transform:translateY(calc(var(--toast-swipe-movement-y)-150%))]", "data-expanded:data-ending-style:data-[swipe-direction=down]:[transform:translateY(calc(var(--toast-swipe-movement-y)+150%))]", "data-expanded:data-ending-style:data-[swipe-direction=left]:[transform:translateX(calc(var(--toast-swipe-movement-x)-150%))_translateY(var(--offset-y))]", "data-expanded:data-ending-style:data-[swipe-direction=right]:[transform:translateX(calc(var(--toast-swipe-movement-x)+150%))_translateY(var(--offset-y))]", "data-expanded:data-ending-style:data-[swipe-direction=up]:[transform:translateY(calc(var(--toast-swipe-movement-y)-150%))]", e),
3541
+ ...t
3542
+ });
3543
+ }
3544
+ function jo({ className: e, ...t }) {
3545
+ return /* @__PURE__ */ a(U.Content, {
3546
+ "data-slot": "toast-content",
3547
+ className: W("flex h-full items-center gap-3 overflow-hidden p-4 transition-opacity duration-250 ease-[cubic-bezier(0.22,1,0.36,1)] data-behind:opacity-0 data-expanded:opacity-100", e),
3548
+ ...t
3549
+ });
3550
+ }
3551
+ function Mo({ className: e, ...t }) {
3552
+ return /* @__PURE__ */ a(U.Title, {
3553
+ "data-slot": "toast-title",
3554
+ className: W("text-sm font-medium", e),
3555
+ ...t
3556
+ });
3557
+ }
3558
+ function No({ className: e, ...t }) {
3559
+ return /* @__PURE__ */ a(U.Description, {
3560
+ "data-slot": "toast-description",
3561
+ className: W("text-sm text-muted-foreground", e),
3562
+ ...t
3563
+ });
3564
+ }
3565
+ function Po({ className: e, render: t = /* @__PURE__ */ a(K, {
3566
+ variant: "outline",
3567
+ size: "sm"
3568
+ }), ...n }) {
3569
+ return /* @__PURE__ */ a(U.Action, {
3570
+ "data-slot": "toast-action",
3571
+ render: t,
3572
+ className: W("shrink-0", e),
3573
+ ...n
3574
+ });
3575
+ }
3576
+ function Fo({ className: e, children: t, render: n = /* @__PURE__ */ a(K, {
3577
+ variant: "ghost",
3578
+ size: "icon-sm"
3579
+ }), ...r }) {
3580
+ return /* @__PURE__ */ a(U.Close, {
3581
+ "data-slot": "toast-close",
3582
+ "aria-label": "Close toast",
3583
+ render: n,
3584
+ className: W("relative shrink-0 text-muted-foreground after:absolute after:-inset-2 after:content-[''] hover:text-foreground", e),
3585
+ ...r,
3586
+ children: t ?? /* @__PURE__ */ a(w, { "aria-hidden": "true" })
3587
+ });
3588
+ }
3589
+ function Io({ type: e }) {
3590
+ let t = null;
3591
+ return e === "success" && (t = /* @__PURE__ */ a(b, { "aria-hidden": "true" })), e === "info" && (t = /* @__PURE__ */ a(ee, { "aria-hidden": "true" })), e === "warning" && (t = /* @__PURE__ */ a(p, { "aria-hidden": "true" })), e === "error" && (t = /* @__PURE__ */ a(f, {
3592
+ className: "text-destructive",
3593
+ "aria-hidden": "true"
3594
+ })), e === "loading" && (t = /* @__PURE__ */ a(C, {
3595
+ className: "animate-spin",
3596
+ "aria-hidden": "true"
3597
+ })), t ? /* @__PURE__ */ a("span", {
3598
+ "data-slot": "toast-icon",
3599
+ className: "shrink-0 [&_svg]:pointer-events-none [&_svg:not([class*='size-'])]:size-4",
3600
+ children: t
3601
+ }) : null;
3602
+ }
3603
+ function Lo() {
3604
+ let { toasts: e } = U.useToastManager();
3605
+ return e.map((e) => /* @__PURE__ */ a(Ao, {
3606
+ toast: e,
3607
+ "aria-label": typeof e.title == "string" ? e.title : typeof e.description == "string" ? e.description : "Notification",
3608
+ children: /* @__PURE__ */ o(jo, { children: [
3609
+ /* @__PURE__ */ a(Io, { type: e.type }),
3610
+ /* @__PURE__ */ o("div", {
3611
+ className: "flex min-w-0 flex-1 flex-col gap-1",
3612
+ children: [/* @__PURE__ */ a(Mo, {}), /* @__PURE__ */ a(No, {})]
3613
+ }),
3614
+ /* @__PURE__ */ a(Po, {}),
3615
+ /* @__PURE__ */ a(Fo, {})
3616
+ ] })
3617
+ }, e.id));
3618
+ }
3619
+ function Ro({ children: e, toastManager: t = Eo, ...n }) {
3620
+ return /* @__PURE__ */ o(Do, {
3621
+ toastManager: t,
3622
+ ...n,
3623
+ children: [e, /* @__PURE__ */ a(Oo, { children: /* @__PURE__ */ a(ko, { children: /* @__PURE__ */ a(Lo, {}) }) })]
3624
+ });
3625
+ }
3626
+ var zo = U.createToastManager, Bo = U.useToastManager, Vo = t("group/toggle inline-flex items-center justify-center gap-1 rounded-lg text-sm font-medium whitespace-nowrap transition-all outline-none hover:bg-muted hover:text-foreground focus-visible:border-ring focus-visible:ring-[3px] focus-visible:ring-ring/50 disabled:pointer-events-none disabled:opacity-50 aria-invalid:border-destructive aria-invalid:ring-destructive/20 aria-pressed:bg-muted data-[state=on]:bg-muted dark:aria-invalid:ring-destructive/40 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4", {
3627
+ variants: {
3628
+ variant: {
3629
+ default: "bg-transparent",
3630
+ outline: "border border-input bg-transparent hover:bg-muted"
3631
+ },
3632
+ size: {
3633
+ default: "h-8 min-w-8 px-2.5 has-data-[icon=inline-end]:pr-2 has-data-[icon=inline-start]:pl-2",
3634
+ sm: "h-7 min-w-7 rounded-[min(var(--radius-md),12px)] px-2.5 text-[0.8rem] has-data-[icon=inline-end]:pr-1.5 has-data-[icon=inline-start]:pl-1.5 [&_svg:not([class*='size-'])]:size-3.5",
3635
+ lg: "h-9 min-w-9 px-2.5 has-data-[icon=inline-end]:pr-2 has-data-[icon=inline-start]:pl-2"
3636
+ }
3637
+ },
3638
+ defaultVariants: {
3639
+ variant: "default",
3640
+ size: "default"
3641
+ }
3642
+ });
3643
+ function Ho({ className: e, variant: t = "default", size: n = "default", ...r }) {
3644
+ return /* @__PURE__ */ a(fe, {
3645
+ "data-slot": "toggle",
3646
+ className: W(Vo({
3647
+ variant: t,
3648
+ size: n,
3649
+ className: e
3650
+ })),
3651
+ ...r
3652
+ });
3653
+ }
3654
+ //#endregion
3655
+ //#region src/components/toggle-group/toggle-group.tsx
3656
+ var Uo = s.createContext({
3657
+ size: "default",
3658
+ variant: "default",
3659
+ spacing: 2,
3660
+ orientation: "horizontal"
3661
+ });
3662
+ function Wo({ className: e, variant: t, size: n, spacing: r = 2, orientation: i = "horizontal", children: o, ...s }) {
3663
+ return /* @__PURE__ */ a(pe, {
3664
+ "data-slot": "toggle-group",
3665
+ "data-variant": t,
3666
+ "data-size": n,
3667
+ "data-spacing": r,
3668
+ "data-orientation": i,
3669
+ style: { "--gap": r },
3670
+ className: W("group/toggle-group flex w-fit flex-row items-center gap-[--spacing(var(--gap))] rounded-lg data-[size=sm]:rounded-[min(var(--radius-md),10px)] data-vertical:flex-col data-vertical:items-stretch", e),
3671
+ ...s,
3672
+ children: /* @__PURE__ */ a(Uo.Provider, {
3673
+ value: {
3674
+ variant: t,
3675
+ size: n,
3676
+ spacing: r,
3677
+ orientation: i
3678
+ },
3679
+ children: o
3680
+ })
3681
+ });
3682
+ }
3683
+ function Go({ className: e, children: t, variant: n = "default", size: r = "default", ...i }) {
3684
+ let o = s.useContext(Uo);
3685
+ return /* @__PURE__ */ a(fe, {
3686
+ "data-slot": "toggle-group-item",
3687
+ "data-variant": o.variant || n,
3688
+ "data-size": o.size || r,
3689
+ "data-spacing": o.spacing,
3690
+ className: W("shrink-0 group-data-[spacing=0]/toggle-group:rounded-none group-data-[spacing=0]/toggle-group:px-2 focus:z-10 focus-visible:z-10 group-data-[spacing=0]/toggle-group:has-data-[icon=inline-end]:pr-1.5 group-data-[spacing=0]/toggle-group:has-data-[icon=inline-start]:pl-1.5 group-data-horizontal/toggle-group:data-[spacing=0]:first:rounded-l-lg group-data-vertical/toggle-group:data-[spacing=0]:first:rounded-t-lg group-data-horizontal/toggle-group:data-[spacing=0]:last:rounded-r-lg group-data-vertical/toggle-group:data-[spacing=0]:last:rounded-b-lg group-data-horizontal/toggle-group:data-[spacing=0]:data-[variant=outline]:border-l-0 group-data-vertical/toggle-group:data-[spacing=0]:data-[variant=outline]:border-t-0 group-data-horizontal/toggle-group:data-[spacing=0]:data-[variant=outline]:first:border-l group-data-vertical/toggle-group:data-[spacing=0]:data-[variant=outline]:first:border-t", Vo({
3691
+ variant: o.variant || n,
3692
+ size: o.size || r
3693
+ }), e),
3694
+ ...i,
3695
+ children: t
3696
+ });
3697
+ }
125
3698
  //#endregion
126
- export { c as Button, l as Card, p as CardAction, m as CardContent, f as CardDescription, h as CardFooter, u as CardHeader, d as CardTitle, _ as Input, v as Label, s as buttonVariants, o as cn };
3699
+ export { Ie as Accordion, ze as AccordionContent, Le as AccordionItem, Re as AccordionTrigger, Ve as Alert, We as AlertAction, Ue as AlertDescription, Ge as AlertDialog, tt as AlertDialogAction, nt as AlertDialogCancel, Ye as AlertDialogContent, et as AlertDialogDescription, Ze as AlertDialogFooter, Xe as AlertDialogHeader, Qe as AlertDialogMedia, Je as AlertDialogOverlay, qe as AlertDialogPortal, $e as AlertDialogTitle, Ke as AlertDialogTrigger, He as AlertTitle, rt as AspectRatio, at as Attachment, ft as AttachmentAction, dt as AttachmentActions, ct as AttachmentContent, ut as AttachmentDescription, mt as AttachmentGroup, st as AttachmentMedia, lt as AttachmentTitle, pt as AttachmentTrigger, ht as Avatar, vt as AvatarBadge, _t as AvatarFallback, yt as AvatarGroup, bt as AvatarGroupCount, gt as AvatarImage, St as Badge, Ct as Breadcrumb, kt as BreadcrumbEllipsis, Tt as BreadcrumbItem, Et as BreadcrumbLink, wt as BreadcrumbList, Dt as BreadcrumbPage, Ot as BreadcrumbSeparator, Mt as Bubble, Nt as BubbleContent, At as BubbleGroup, Ft as BubbleReactions, K as Button, Lt as ButtonGroup, zt as ButtonGroupSeparator, Rt as ButtonGroupText, Bt as Calendar, Vt as CalendarDayButton, me as Card, ve as CardAction, ye as CardContent, _e as CardDescription, be as CardFooter, he as CardHeader, ge as CardTitle, Ut as Carousel, Wt as CarouselContent, Gt as CarouselItem, qt as CarouselNext, Kt as CarouselPrevious, Qt as ChartContainer, nn as ChartLegend, rn as ChartLegendContent, $t as ChartStyle, en as ChartTooltip, tn as ChartTooltipContent, on as Checkbox, sn as Collapsible, ln as CollapsibleContent, cn as CollapsibleTrigger, yn as Combobox, Nn as ComboboxChip, Mn as ComboboxChips, Pn as ComboboxChipsInput, kn as ComboboxCollection, wn as ComboboxContent, An as ComboboxEmpty, Dn as ComboboxGroup, Cn as ComboboxInput, En as ComboboxItem, On as ComboboxLabel, Tn as ComboboxList, jn as ComboboxSeparator, xn as ComboboxTrigger, bn as ComboboxValue, Un as DataTable, Xn as DatePicker, Zn as Dialog, er as DialogClose, nr as DialogContent, or as DialogDescription, ir as DialogFooter, rr as DialogHeader, tr as DialogOverlay, $n as DialogPortal, ar as DialogTitle, Qn as DialogTrigger, lr as Drawer, fr as DrawerClose, hr as DrawerContent, yr as DrawerDescription, _r as DrawerFooter, gr as DrawerHeader, pr as DrawerOverlay, dr as DrawerPortal, mr as DrawerSwipeHandle, vr as DrawerTitle, ur as DrawerTrigger, br as DropdownMenu, Ar as DropdownMenuCheckboxItem, Cr as DropdownMenuContent, wr as DropdownMenuGroup, Er as DropdownMenuItem, Tr as DropdownMenuLabel, xr as DropdownMenuPortal, jr as DropdownMenuRadioGroup, Mr as DropdownMenuRadioItem, Nr as DropdownMenuSeparator, Pr as DropdownMenuShortcut, Dr as DropdownMenuSub, kr as DropdownMenuSubContent, Or as DropdownMenuSubTrigger, Sr as DropdownMenuTrigger, Fr as Empty, Vr as EmptyContent, Br as EmptyDescription, Ir as EmptyHeader, Rr as EmptyMedia, zr as EmptyTitle, De as Field, Oe as FieldContent, je as FieldDescription, Ne as FieldError, Te as FieldGroup, ke as FieldLabel, we as FieldLegend, Me as FieldSeparator, Ce as FieldSet, Ae as FieldTitle, Hr as HoverCard, Wr as HoverCardContent, Ur as HoverCardTrigger, Fe as Input, dn as InputGroup, pn as InputGroupAddon, hn as InputGroupButton, _n as InputGroupInput, gn as InputGroupText, vn as InputGroupTextarea, Jr as Item, ei as ItemActions, Zr as ItemContent, $r as ItemDescription, ni as ItemFooter, Gr as ItemGroup, ti as ItemHeader, Xr as ItemMedia, Kr as ItemSeparator, Qr as ItemTitle, xe as Label, ii as Marker, oi as MarkerContent, ai as MarkerIcon, ci as Message, li as MessageAvatar, ui as MessageContent, fi as MessageFooter, si as MessageGroup, di as MessageHeader, pi as NativeSelect, hi as NativeSelectOptGroup, mi as NativeSelectOption, gi as Pagination, _i as PaginationContent, Si as PaginationEllipsis, vi as PaginationItem, yi as PaginationLink, xi as PaginationNext, bi as PaginationPrevious, Wn as Popover, Kn as PopoverContent, Yn as PopoverDescription, qn as PopoverHeader, Jn as PopoverTitle, Gn as PopoverTrigger, Ci as Progress, Ti as ProgressIndicator, Ei as ProgressLabel, wi as ProgressTrack, Di as ProgressValue, Ji as Questionnaire, ia as QuestionnaireActions, ea as QuestionnaireChoice, ta as QuestionnaireChoiceDescription, $i as QuestionnaireChoices, Qi as QuestionnaireDescription, ra as QuestionnaireError, na as QuestionnaireInput, Xi as QuestionnaireItem, sa as QuestionnaireNext, aa as QuestionnairePrevious, Yi as QuestionnaireProgress, oa as QuestionnaireSkip, ca as QuestionnaireSubmit, Zi as QuestionnaireTitle, la as RadioGroup, ua as RadioGroupItem, da as ScrollArea, fa as ScrollBar, pa as Select, _a as SelectContent, ma as SelectGroup, ya as SelectItem, va as SelectLabel, Sa as SelectScrollDownButton, xa as SelectScrollUpButton, ba as SelectSeparator, ga as SelectTrigger, ha as SelectValue, q as Separator, Ca as Sheet, Ta as SheetClose, Oa as SheetContent, Ma as SheetDescription, Aa as SheetFooter, ka as SheetHeader, ja as SheetTitle, wa as SheetTrigger, Ja as Sidebar, no as SidebarContent, eo as SidebarFooter, ro as SidebarGroup, ao as SidebarGroupAction, oo as SidebarGroupContent, io as SidebarGroupLabel, $a as SidebarHeader, Qa as SidebarInput, Za as SidebarInset, so as SidebarMenu, fo as SidebarMenuAction, po as SidebarMenuBadge, uo as SidebarMenuButton, co as SidebarMenuItem, mo as SidebarMenuSkeleton, ho as SidebarMenuSub, _o as SidebarMenuSubButton, go as SidebarMenuSubItem, qa as SidebarProvider, Xa as SidebarRail, to as SidebarSeparator, Ya as SidebarTrigger, Fa as Skeleton, vo as Slider, yo as Spinner, bo as Switch, In as Table, Rn as TableBody, Hn as TableCaption, Vn as TableCell, zn as TableFooter, Bn as TableHead, Ln as TableHeader, Y as TableRow, xo as Tabs, To as TabsContent, Co as TabsList, wo as TabsTrigger, un as Textarea, Ao as Toast, Po as ToastAction, Fo as ToastClose, jo as ToastContent, No as ToastDescription, Oo as ToastPortal, Do as ToastProvider, Mo as ToastTitle, ko as ToastViewport, Ro as Toaster, Ho as Toggle, Wo as ToggleGroup, Go as ToggleGroupItem, La as Tooltip, za as TooltipContent, Ia as TooltipProvider, Ra as TooltipTrigger, xt as badgeVariants, It as buttonGroupVariants, G as buttonVariants, W as cn, zo as createToastManager, ri as markerVariants, So as tabsListVariants, Eo as toast, Vo as toggleVariants, J as useCarousel, Fn as useComboboxAnchor, $ as useSidebar, Bo as useToastManager };