@plyaz/ui 0.7.19 → 0.7.20

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/client.es.js CHANGED
@@ -1,44 +1,44 @@
1
- import { TextReveal as sr } from "./client/reveal-text.es.js";
2
- import { AlertDialog as lr, AlertDialogAction as ur, AlertDialogCancel as cr, AlertDialogContent as fr, AlertDialogDescription as mr, AlertDialogFooter as br, AlertDialogHeader as pr, AlertDialogOverlay as gr, AlertDialogPortal as hr, AlertDialogTitle as xr, AlertDialogTrigger as vr } from "./client/alert-dialog.es.js";
3
- import { Calendar as Cr, CalendarDayButton as yr } from "./client/calendar.es.js";
4
- import { Carousel as Mr, CarouselContent as Dr, CarouselItem as _r, CarouselNext as Ir, CarouselPrevious as Nr } from "./client/carousel.es.js";
5
- import { Combobox as Fr } from "./client/combobox.es.js";
6
- import { InputOTP as kr, InputOTPGroup as Er, InputOTPSeparator as Or, InputOTPSlot as Rr } from "./client/input-otp.es.js";
7
- import { Slider as Pr } from "./client/slider.es.js";
8
- import { Progress as Lr } from "./client/progress.es.js";
9
- import { Accordion as Gr, AccordionContent as Hr, AccordionItem as Wr, AccordionTrigger as $r } from "./client/accordion.es.js";
10
- import { Avatar as Kr, AvatarFallback as qr, AvatarImage as Xr } from "./client/avatar.es.js";
11
- import { Checkbox as Qr } from "./client/checkbox.es.js";
12
- import { ContextMenu as Zr, ContextMenuCheckboxItem as jr, ContextMenuContent as ea, ContextMenuGroup as ta, ContextMenuItem as ra, ContextMenuLabel as aa, ContextMenuPortal as oa, ContextMenuRadioGroup as na, ContextMenuRadioItem as ia, ContextMenuSeparator as sa, ContextMenuShortcut as da, ContextMenuSub as la, ContextMenuSubContent as ua, ContextMenuSubTrigger as ca, ContextMenuTrigger as fa } from "./client/context-menu.es.js";
13
- import { DropdownMenu as ba, DropdownMenuCheckboxItem as pa, DropdownMenuContent as ga, DropdownMenuGroup as ha, DropdownMenuItem as xa, DropdownMenuLabel as va, DropdownMenuPortal as wa, DropdownMenuRadioGroup as Ca, DropdownMenuRadioItem as ya, DropdownMenuSeparator as Sa, DropdownMenuShortcut as Ma, DropdownMenuSub as Da, DropdownMenuSubContent as _a, DropdownMenuSubTrigger as Ia, DropdownMenuTrigger as Na } from "./client/dropdown-menu.es.js";
14
- import { HoverCard as Fa, HoverCardContent as Ta, HoverCardTrigger as ka } from "./client/hover-card.es.js";
15
- import { RadioGroup as Oa, RadioGroupItem as Ra } from "./client/radio-group.es.js";
16
- import { ScrollArea as Pa, ScrollBar as Ba } from "./client/scroll-area.es.js";
17
- import { Switch as za } from "./client/switch.es.js";
18
- import { Tabs as Ha, TabsContent as Wa, TabsList as $a, TabsTrigger as Ua } from "./client/tabs.es.js";
19
- import { Tooltip as ae, TooltipTrigger as oe, TooltipContent as ne, TooltipProvider as ie } from "./client/tooltip.es.js";
20
- import { Command as qa, CommandDialog as Xa, CommandEmpty as Ja, CommandGroup as Qa, CommandInput as Ya, CommandItem as Za, CommandList as ja, CommandSeparator as eo, CommandShortcut as to } from "./client/command.es.js";
21
- import { Dialog as ao, DialogClose as oo, DialogContent as no, DialogDescription as io, DialogFooter as so, DialogHeader as lo, DialogOverlay as uo, DialogPortal as co, DialogTitle as fo, DialogTrigger as mo } from "./client/dialog.es.js";
22
- import { Drawer as po, DrawerClose as go, DrawerContent as ho, DrawerDescription as xo, DrawerFooter as vo, DrawerHeader as wo, DrawerOverlay as Co, DrawerPortal as yo, DrawerTitle as So, DrawerTrigger as Mo } from "./client/drawer.es.js";
23
- import { Sheet as se, SheetContent as de, SheetHeader as le, SheetTitle as ue, SheetDescription as ce } from "./client/sheet.es.js";
24
- import { SheetClose as _o, SheetFooter as Io, SheetTrigger as No } from "./client/sheet.es.js";
25
- import { Toaster as Fo } from "./client/toaster.es.js";
26
- import { Toggle as ko } from "./client/toggle.es.js";
1
+ import { TextReveal as cr } from "./client/reveal-text.es.js";
2
+ import { AlertDialog as fr, AlertDialogAction as br, AlertDialogCancel as pr, AlertDialogContent as gr, AlertDialogDescription as hr, AlertDialogFooter as xr, AlertDialogHeader as vr, AlertDialogOverlay as Ar, AlertDialogPortal as Cr, AlertDialogTitle as Sr, AlertDialogTrigger as wr } from "./client/alert-dialog.es.js";
3
+ import { Calendar as Mr, CalendarDayButton as Ir } from "./client/calendar.es.js";
4
+ import { Carousel as _r, CarouselContent as Nr, CarouselItem as Er, CarouselNext as Tr, CarouselPrevious as Fr } from "./client/carousel.es.js";
5
+ import { Combobox as Rr } from "./client/combobox.es.js";
6
+ import { InputOTP as Or, InputOTPGroup as Vr, InputOTPSeparator as Lr, InputOTPSlot as Br } from "./client/input-otp.es.js";
7
+ import { Slider as Hr } from "./client/slider.es.js";
8
+ import { Progress as Kr } from "./client/progress.es.js";
9
+ import { Accordion as Wr, AccordionContent as $r, AccordionItem as Jr, AccordionTrigger as Qr } from "./client/accordion.es.js";
10
+ import { Avatar as qr, AvatarFallback as Xr, AvatarImage as Yr } from "./client/avatar.es.js";
11
+ import { Checkbox as ea } from "./client/checkbox.es.js";
12
+ import { ContextMenu as ra, ContextMenuCheckboxItem as aa, ContextMenuContent as oa, ContextMenuGroup as na, ContextMenuItem as ia, ContextMenuLabel as sa, ContextMenuPortal as da, ContextMenuRadioGroup as la, ContextMenuRadioItem as ua, ContextMenuSeparator as ca, ContextMenuShortcut as ma, ContextMenuSub as fa, ContextMenuSubContent as ba, ContextMenuSubTrigger as pa, ContextMenuTrigger as ga } from "./client/context-menu.es.js";
13
+ import { DropdownMenu as xa, DropdownMenuCheckboxItem as va, DropdownMenuContent as Aa, DropdownMenuGroup as Ca, DropdownMenuItem as Sa, DropdownMenuLabel as wa, DropdownMenuPortal as ya, DropdownMenuRadioGroup as Ma, DropdownMenuRadioItem as Ia, DropdownMenuSeparator as Da, DropdownMenuShortcut as _a, DropdownMenuSub as Na, DropdownMenuSubContent as Ea, DropdownMenuSubTrigger as Ta, DropdownMenuTrigger as Fa } from "./client/dropdown-menu.es.js";
14
+ import { HoverCard as Ra, HoverCardContent as ka, HoverCardTrigger as Oa } from "./client/hover-card.es.js";
15
+ import { RadioGroup as La, RadioGroupItem as Ba } from "./client/radio-group.es.js";
16
+ import { ScrollArea as Ha, ScrollBar as za } from "./client/scroll-area.es.js";
17
+ import { Switch as Ua } from "./client/switch.es.js";
18
+ import { Tabs as $a, TabsContent as Ja, TabsList as Qa, TabsTrigger as Za } from "./client/tabs.es.js";
19
+ import { Tooltip as oe, TooltipTrigger as ne, TooltipContent as ie, TooltipProvider as se } from "./client/tooltip.es.js";
20
+ import { Command as Xa, CommandDialog as Ya, CommandEmpty as ja, CommandGroup as eo, CommandInput as to, CommandItem as ro, CommandList as ao, CommandSeparator as oo, CommandShortcut as no } from "./client/command.es.js";
21
+ import { Dialog as so, DialogClose as lo, DialogContent as uo, DialogDescription as co, DialogFooter as mo, DialogHeader as fo, DialogOverlay as bo, DialogPortal as po, DialogTitle as go, DialogTrigger as ho } from "./client/dialog.es.js";
22
+ import { Drawer as vo, DrawerClose as Ao, DrawerContent as Co, DrawerDescription as So, DrawerFooter as wo, DrawerHeader as yo, DrawerOverlay as Mo, DrawerPortal as Io, DrawerTitle as Do, DrawerTrigger as _o } from "./client/drawer.es.js";
23
+ import { Sheet as de, SheetContent as le, SheetHeader as ue, SheetTitle as ce, SheetDescription as me } from "./client/sheet.es.js";
24
+ import { SheetClose as Eo, SheetFooter as To, SheetTrigger as Fo } from "./client/sheet.es.js";
25
+ import { Toaster as Ro } from "./client/toaster.es.js";
26
+ import { Toggle as Oo } from "./client/toggle.es.js";
27
27
  import { Label as fe } from "./client/label.es.js";
28
- import { Menubar as Oo, MenubarCheckboxItem as Ro, MenubarContent as Vo, MenubarGroup as Po, MenubarItem as Bo, MenubarLabel as Lo, MenubarMenu as zo, MenubarPortal as Go, MenubarRadioGroup as Ho, MenubarRadioItem as Wo, MenubarSeparator as $o, MenubarShortcut as Uo, MenubarSub as Ko, MenubarSubContent as qo, MenubarSubTrigger as Xo, MenubarTrigger as Jo } from "./client/menu-bar.es.js";
29
- import { Popover as Yo, PopoverAnchor as Zo, PopoverContent as jo, PopoverTrigger as en } from "./client/popover.es.js";
30
- import { jsx as n, jsxs as A } from "react/jsx-runtime";
28
+ import { Menubar as Lo, MenubarCheckboxItem as Bo, MenubarContent as Go, MenubarGroup as Ho, MenubarItem as zo, MenubarLabel as Ko, MenubarMenu as Uo, MenubarPortal as Wo, MenubarRadioGroup as $o, MenubarRadioItem as Jo, MenubarSeparator as Qo, MenubarShortcut as Zo, MenubarSub as qo, MenubarSubContent as Xo, MenubarSubTrigger as Yo, MenubarTrigger as jo } from "./client/menu-bar.es.js";
29
+ import { Popover as tn, PopoverAnchor as rn, PopoverContent as an, PopoverTrigger as on } from "./client/popover.es.js";
30
+ import { jsx as i, jsxs as E } from "react/jsx-runtime";
31
31
  import * as f from "react";
32
- import d from "react";
33
- import { Slot as F } from "@radix-ui/react-slot";
34
- import { cva as me } from "class-variance-authority";
35
- import { PanelLeftIcon as be } from "lucide-react";
36
- import { c as u } from "./utils-B6yFEsav.js";
37
- import { I as pe } from "./Textarea-BTbJSVLU.js";
38
- import { B as ge } from "./Button-B7sEajdG.js";
32
+ import l from "react";
33
+ import { Slot as T } from "@radix-ui/react-slot";
34
+ import { cva as be } from "class-variance-authority";
35
+ import { PanelLeftIcon as pe } from "lucide-react";
36
+ import { c } from "./utils-B6yFEsav.js";
37
+ import { I as ge } from "./Textarea-BTbJSVLU.js";
38
+ import { B as he } from "./Button-B7sEajdG.js";
39
39
  import "@radix-ui/react-select";
40
40
  import "next-intl";
41
- import { a as G, S as he } from "./Skeleton-Cj9Od_Nd.js";
41
+ import { a as z, S as xe } from "./Skeleton-Cj9Od_Nd.js";
42
42
  import "@radix-ui/react-alert-dialog";
43
43
  import "react-day-picker";
44
44
  import "cmdk";
@@ -64,9 +64,12 @@ import "@radix-ui/react-label";
64
64
  import "@radix-ui/react-menubar";
65
65
  import "@radix-ui/react-separator";
66
66
  import "@radix-ui/react-tooltip";
67
- var xe = { WEEK: 6048e5 };
67
+ var n = { US: "US", CA: "CA", MX: "MX", BR: "BR", AR: "AR", CL: "CL", CO: "CO", PE: "PE", VE: "VE", GB: "GB", FR: "FR", DE: "DE", IT: "IT", ES: "ES", PT: "PT", NL: "NL", CH: "CH", SE: "SE", NO: "NO", FI: "FI", PL: "PL", GR: "GR", UA: "UA", RU: "RU", CN: "CN", JP: "JP", KR: "KR", IN: "IN", PK: "PK", BD: "BD", TH: "TH", VN: "VN", MY: "MY", SG: "SG", ID: "ID", PH: "PH", SA: "SA", AE: "AE", QA: "QA", KW: "KW", IQ: "IQ", IR: "IR", IL: "IL", TR: "TR", EG: "EG", MA: "MA", ET: "ET", KE: "KE", TZ: "TZ", ZA: "ZA", NG: "NG", GH: "GH", SN: "SN", AU: "AU", NZ: "NZ", PG: "PG", FJ: "FJ", AQ: "AQ" }, ve = 7, Ae = 6, Ce = { WEEK: 6048e5 }, Se = { [n.US]: ["America/New_York", "America/Chicago", "America/Denver", "America/Los_Angeles", "America/Anchorage", "Pacific/Honolulu"], [n.CA]: ["America/Toronto", "America/Vancouver", "America/Edmonton", "America/Halifax", "America/St_Johns"], [n.MX]: ["America/Mexico_City", "America/Monterrey", "America/Tijuana"], [n.BR]: ["America/Sao_Paulo", "America/Manaus", "America/Fortaleza"], [n.AR]: ["America/Argentina/Buenos_Aires"], [n.CL]: ["America/Santiago"], [n.CO]: ["America/Bogota"], [n.PE]: ["America/Lima"], [n.VE]: ["America/Caracas"], [n.GB]: ["Europe/London"], [n.FR]: ["Europe/Paris"], [n.DE]: ["Europe/Berlin"], [n.IT]: ["Europe/Rome"], [n.ES]: ["Europe/Madrid"], [n.PT]: ["Europe/Lisbon"], [n.NL]: ["Europe/Amsterdam"], [n.SE]: ["Europe/Stockholm"], [n.PL]: ["Europe/Warsaw"], [n.FI]: ["Europe/Helsinki"], [n.NO]: ["Europe/Oslo"], [n.CH]: ["Europe/Zurich"], [n.RU]: ["Europe/Moscow", "Asia/Yekaterinburg", "Asia/Irkutsk", "Asia/Vladivostok"], [n.UA]: ["Europe/Kyiv"], [n.GR]: ["Europe/Athens"], [n.TR]: ["Europe/Istanbul"], [n.CN]: ["Asia/Shanghai", "Asia/Urumqi"], [n.JP]: ["Asia/Tokyo"], [n.KR]: ["Asia/Seoul"], [n.IN]: ["Asia/Kolkata"], [n.PK]: ["Asia/Karachi"], [n.BD]: ["Asia/Dhaka"], [n.TH]: ["Asia/Bangkok"], [n.VN]: ["Asia/Ho_Chi_Minh"], [n.MY]: ["Asia/Kuala_Lumpur"], [n.SG]: ["Asia/Singapore"], [n.ID]: ["Asia/Jakarta", "Asia/Makassar", "Asia/Jayapura"], [n.PH]: ["Asia/Manila"], [n.AE]: ["Asia/Dubai"], [n.SA]: ["Asia/Riyadh"], [n.IR]: ["Asia/Tehran"], [n.IQ]: ["Asia/Baghdad"], [n.IL]: ["Asia/Jerusalem"], [n.QA]: ["Asia/Qatar"], [n.KW]: ["Asia/Kuwait"], [n.EG]: ["Africa/Cairo"], [n.NG]: ["Africa/Lagos"], [n.ZA]: ["Africa/Johannesburg"], [n.KE]: ["Africa/Nairobi"], [n.MA]: ["Africa/Casablanca"], [n.GH]: ["Africa/Accra"], [n.ET]: ["Africa/Addis_Ababa"], [n.TZ]: ["Africa/Dar_es_Salaam"], [n.SN]: ["Africa/Dakar"], [n.AU]: ["Australia/Sydney", "Australia/Melbourne", "Australia/Perth", "Australia/Brisbane"], [n.NZ]: ["Pacific/Auckland"], [n.FJ]: ["Pacific/Fiji"], [n.PG]: ["Pacific/Port_Moresby"], [n.AQ]: ["Antarctica/McMurdo", "Antarctica/Palmer", "Antarctica/Casey"] };
68
+ Array.from(new Set(Object.values(Se).flat()));
69
+ Array.from({ length: ve }, (e, r) => r);
70
+ Array.from({ length: Ae }, (e, r) => r);
68
71
  const V = 768;
69
- function ve() {
72
+ function we() {
70
73
  const [e, r] = f.useState(void 0);
71
74
  return f.useEffect(() => {
72
75
  const t = window.matchMedia(`(max-width: ${V - 1}px)`), o = () => {
@@ -75,97 +78,97 @@ function ve() {
75
78
  return t.addEventListener("change", o), r(window.innerWidth < V), () => t.removeEventListener("change", o);
76
79
  }, []), !!e;
77
80
  }
78
- const we = "sidebar_state", Ce = xe.WEEK, ye = "16rem", Se = "18rem", Me = "3rem", q = f.createContext(null);
79
- function X() {
80
- const e = f.useContext(q);
81
+ const ye = "sidebar_state", Me = Ce.WEEK, Ie = "16rem", De = "18rem", _e = "3rem", Q = f.createContext(null);
82
+ function Z() {
83
+ const e = f.useContext(Q);
81
84
  if (!e)
82
85
  throw new Error("useSidebar must be used within a SidebarProvider.");
83
86
  return e;
84
87
  }
85
- function Ot({
88
+ function Lt({
86
89
  defaultOpen: e = !0,
87
90
  open: r,
88
91
  onOpenChange: t,
89
92
  className: o,
90
93
  style: a,
91
- children: i,
92
- ...s
94
+ children: s,
95
+ ...d
93
96
  }) {
94
- const l = ve(), [m, c] = f.useState(!1), [b, v] = f.useState(e), x = r ?? b, I = f.useCallback(
95
- (C) => {
96
- const y = typeof C == "function" ? C(x) : C;
97
- t ? t(y) : v(y), document.cookie = `${we}=${y}; path=/; max-age=${Ce}`;
97
+ const u = we(), [b, m] = f.useState(!1), [p, A] = f.useState(e), v = r ?? p, _ = f.useCallback(
98
+ (S) => {
99
+ const w = typeof S == "function" ? S(v) : S;
100
+ t ? t(w) : A(w), document.cookie = `${ye}=${w}; path=/; max-age=${Me}`;
98
101
  },
99
- [t, x]
100
- ), S = f.useCallback(() => {
101
- }, []), M = x ? "expanded" : "collapsed", D = f.useMemo(
102
+ [t, v]
103
+ ), y = f.useCallback(() => {
104
+ }, []), M = v ? "expanded" : "collapsed", I = f.useMemo(
102
105
  () => ({
103
106
  state: M,
104
- open: x,
105
- setOpen: I,
106
- isMobile: l,
107
- openMobile: m,
108
- setOpenMobile: c,
109
- toggleSidebar: S
107
+ open: v,
108
+ setOpen: _,
109
+ isMobile: u,
110
+ openMobile: b,
111
+ setOpenMobile: m,
112
+ toggleSidebar: y
110
113
  }),
111
- [M, x, I, l, m, c, S]
114
+ [M, v, _, u, b, m, y]
112
115
  );
113
- return /* @__PURE__ */ n(q.Provider, { value: D, children: /* @__PURE__ */ n(ie, { delayDuration: 0, children: /* @__PURE__ */ n(
116
+ return /* @__PURE__ */ i(Q.Provider, { value: I, children: /* @__PURE__ */ i(se, { delayDuration: 0, children: /* @__PURE__ */ i(
114
117
  "div",
115
118
  {
116
119
  "data-slot": "sidebar-wrapper",
117
120
  style: {
118
- "--sidebar-width": ye,
119
- "--sidebar-width-icon": Me,
121
+ "--sidebar-width": Ie,
122
+ "--sidebar-width-icon": _e,
120
123
  ...a
121
124
  },
122
- className: u(
125
+ className: c(
123
126
  "group/sidebar-wrapper has-data-[variant=inset]:bg-sidebar flex min-h-svh w-full",
124
127
  o
125
128
  ),
126
- ...s,
127
- children: i
129
+ ...d,
130
+ children: s
128
131
  }
129
132
  ) }) });
130
133
  }
131
- function De({
134
+ function Ne({
132
135
  side: e,
133
136
  openMobile: r,
134
137
  setOpenMobile: t,
135
138
  children: o,
136
139
  ...a
137
140
  }) {
138
- return /* @__PURE__ */ n(se, { open: r, onOpenChange: t, ...a, children: /* @__PURE__ */ A(
139
- de,
141
+ return /* @__PURE__ */ i(de, { open: r, onOpenChange: t, ...a, children: /* @__PURE__ */ E(
142
+ le,
140
143
  {
141
144
  "data-sidebar": "sidebar",
142
145
  "data-slot": "sidebar",
143
146
  "data-mobile": "true",
144
147
  className: "bg-sidebar text-sidebar-foreground w-(--sidebar-width) p-0 [&>button]:hidden",
145
148
  style: {
146
- "--sidebar-width": Se
149
+ "--sidebar-width": De
147
150
  },
148
151
  side: e,
149
152
  children: [
150
- /* @__PURE__ */ A(le, { className: "sr-only", children: [
151
- /* @__PURE__ */ n(ue, { children: "Sidebar" }),
152
- /* @__PURE__ */ n(ce, { children: "Displays the mobile sidebar." })
153
+ /* @__PURE__ */ E(ue, { className: "sr-only", children: [
154
+ /* @__PURE__ */ i(ce, { children: "Sidebar" }),
155
+ /* @__PURE__ */ i(me, { children: "Displays the mobile sidebar." })
153
156
  ] }),
154
- /* @__PURE__ */ n("div", { className: "flex h-full w-full flex-col", children: o })
157
+ /* @__PURE__ */ i("div", { className: "flex h-full w-full flex-col", children: o })
155
158
  ]
156
159
  }
157
160
  ) });
158
161
  }
159
- function _e({
162
+ function Ee({
160
163
  side: e,
161
164
  variant: r,
162
165
  collapsible: t,
163
166
  state: o,
164
167
  className: a,
165
- children: i,
166
- ...s
168
+ children: s,
169
+ ...d
167
170
  }) {
168
- return /* @__PURE__ */ A(
171
+ return /* @__PURE__ */ E(
169
172
  "div",
170
173
  {
171
174
  className: "group peer text-sidebar-foreground hidden md:block",
@@ -175,11 +178,11 @@ function _e({
175
178
  "data-side": e,
176
179
  "data-slot": "sidebar",
177
180
  children: [
178
- /* @__PURE__ */ n(
181
+ /* @__PURE__ */ i(
179
182
  "div",
180
183
  {
181
184
  "data-slot": "sidebar-gap",
182
- className: u(
185
+ className: c(
183
186
  "relative w-(--sidebar-width) bg-transparent transition-[width] duration-200 ease-linear",
184
187
  "group-data-[collapsible=offcanvas]:w-0",
185
188
  "group-data-[side=right]:rotate-180",
@@ -187,25 +190,25 @@ function _e({
187
190
  )
188
191
  }
189
192
  ),
190
- /* @__PURE__ */ n(
193
+ /* @__PURE__ */ i(
191
194
  "div",
192
195
  {
193
196
  "data-slot": "sidebar-container",
194
- className: u(
197
+ className: c(
195
198
  "fixed inset-y-0 z-10 hidden h-svh w-(--sidebar-width) transition-[left,right,width] duration-200 ease-linear md:flex",
196
199
  e === "left" ? "left-0 group-data-[collapsible=offcanvas]:left-[calc(var(--sidebar-width)*-1)]" : "right-0 group-data-[collapsible=offcanvas]:right-[calc(var(--sidebar-width)*-1)]",
197
200
  // Adjust the padding for floating and inset variants.
198
201
  r === "floating" || r === "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",
199
202
  a
200
203
  ),
201
- ...s,
202
- children: /* @__PURE__ */ n(
204
+ ...d,
205
+ children: /* @__PURE__ */ i(
203
206
  "div",
204
207
  {
205
208
  "data-sidebar": "sidebar",
206
209
  "data-slot": "sidebar-inner",
207
210
  className: "bg-sidebar group-data-[variant=floating]:border-sidebar-border flex h-full w-full flex-col group-data-[variant=floating]:rounded-lg group-data-[variant=floating]:border group-data-[variant=floating]:shadow-sm",
208
- children: i
211
+ children: s
209
212
  }
210
213
  )
211
214
  }
@@ -214,62 +217,62 @@ function _e({
214
217
  }
215
218
  );
216
219
  }
217
- function Rt({
220
+ function Bt({
218
221
  side: e = "left",
219
222
  variant: r = "sidebar",
220
223
  collapsible: t = "offcanvas",
221
224
  className: o,
222
225
  children: a,
223
- ...i
226
+ ...s
224
227
  }) {
225
- const { isMobile: s, state: l, openMobile: m, setOpenMobile: c } = X();
226
- return t === "none" ? /* @__PURE__ */ n(
228
+ const { isMobile: d, state: u, openMobile: b, setOpenMobile: m } = Z();
229
+ return t === "none" ? /* @__PURE__ */ i(
227
230
  "div",
228
231
  {
229
232
  "data-slot": "sidebar",
230
- className: u(
233
+ className: c(
231
234
  "bg-sidebar text-sidebar-foreground flex h-full w-(--sidebar-width) flex-col",
232
235
  o
233
236
  ),
234
- ...i,
237
+ ...s,
235
238
  children: a
236
239
  }
237
- ) : s ? /* @__PURE__ */ n(De, { side: e, openMobile: m, setOpenMobile: c, ...i, children: a }) : /* @__PURE__ */ n(
238
- _e,
240
+ ) : d ? /* @__PURE__ */ i(Ne, { side: e, openMobile: b, setOpenMobile: m, ...s, children: a }) : /* @__PURE__ */ i(
241
+ Ee,
239
242
  {
240
243
  side: e,
241
244
  variant: r,
242
245
  collapsible: t,
243
- state: l,
246
+ state: u,
244
247
  className: o,
245
- ...i,
248
+ ...s,
246
249
  children: a
247
250
  }
248
251
  );
249
252
  }
250
- function Vt({ className: e, onClick: r, ...t }) {
251
- return /* @__PURE__ */ A(
252
- ge,
253
+ function Gt({ className: e, onClick: r, ...t }) {
254
+ return /* @__PURE__ */ E(
255
+ he,
253
256
  {
254
257
  "data-sidebar": "trigger",
255
258
  "data-slot": "sidebar-trigger",
256
259
  variant: "ghost",
257
260
  size: "icon",
258
- className: u("size-7", e),
261
+ className: c("size-7", e),
259
262
  onClick: (o) => {
260
263
  r == null || r(o);
261
264
  },
262
265
  disabled: !0,
263
266
  ...t,
264
267
  children: [
265
- /* @__PURE__ */ n(be, {}),
266
- /* @__PURE__ */ n("span", { className: "sr-only", children: "Toggle Sidebar" })
268
+ /* @__PURE__ */ i(pe, {}),
269
+ /* @__PURE__ */ i("span", { className: "sr-only", children: "Toggle Sidebar" })
267
270
  ]
268
271
  }
269
272
  );
270
273
  }
271
- function Pt({ className: e, ...r }) {
272
- return /* @__PURE__ */ n(
274
+ function Ht({ className: e, ...r }) {
275
+ return /* @__PURE__ */ i(
273
276
  "button",
274
277
  {
275
278
  "data-sidebar": "rail",
@@ -280,7 +283,7 @@ function Pt({ className: e, ...r }) {
280
283
  },
281
284
  title: "Toggle Sidebar",
282
285
  disabled: !0,
283
- className: u(
286
+ className: c(
284
287
  "hover:after:bg-sidebar-border absolute inset-y-0 z-20 hidden w-4 -translate-x-1/2 transition-all ease-linear group-data-[side=left]:-right-4 group-data-[side=right]:left-0 after:absolute after:inset-y-0 after:left-1/2 after:w-[2px] sm:flex",
285
288
  "in-data-[side=left]:cursor-w-resize in-data-[side=right]:cursor-e-resize",
286
289
  "[[data-side=left][data-state=collapsed]_&]:cursor-e-resize [[data-side=right][data-state=collapsed]_&]:cursor-w-resize",
@@ -293,12 +296,12 @@ function Pt({ className: e, ...r }) {
293
296
  }
294
297
  );
295
298
  }
296
- function Bt({ className: e, ...r }) {
297
- return /* @__PURE__ */ n(
299
+ function zt({ className: e, ...r }) {
300
+ return /* @__PURE__ */ i(
298
301
  "main",
299
302
  {
300
303
  "data-slot": "sidebar-inset",
301
- className: u(
304
+ className: c(
302
305
  "bg-background relative flex w-full flex-1 flex-col",
303
306
  "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",
304
307
  e
@@ -307,57 +310,57 @@ function Bt({ className: e, ...r }) {
307
310
  }
308
311
  );
309
312
  }
310
- function Lt({ className: e, ...r }) {
311
- return /* @__PURE__ */ n(
312
- pe,
313
+ function Kt({ className: e, ...r }) {
314
+ return /* @__PURE__ */ i(
315
+ ge,
313
316
  {
314
317
  "data-slot": "sidebar-input",
315
318
  "data-sidebar": "input",
316
- className: u("bg-background h-10 w-full shadow-none", e),
319
+ className: c("bg-background h-10 w-full shadow-none", e),
317
320
  ...r
318
321
  }
319
322
  );
320
323
  }
321
- function zt({ className: e, ...r }) {
322
- return /* @__PURE__ */ n(
324
+ function Ut({ className: e, ...r }) {
325
+ return /* @__PURE__ */ i(
323
326
  "div",
324
327
  {
325
328
  "data-slot": "sidebar-header",
326
329
  "data-sidebar": "header",
327
- className: u("flex flex-col gap-3 p-2", e),
330
+ className: c("flex flex-col gap-3 p-2", e),
328
331
  ...r
329
332
  }
330
333
  );
331
334
  }
332
- function Gt({ className: e, ...r }) {
333
- return /* @__PURE__ */ n(
335
+ function Wt({ className: e, ...r }) {
336
+ return /* @__PURE__ */ i(
334
337
  "div",
335
338
  {
336
339
  "data-slot": "sidebar-footer",
337
340
  "data-sidebar": "footer",
338
- className: u("flex flex-col gap-3 p-2", e),
341
+ className: c("flex flex-col gap-3 p-2", e),
339
342
  ...r
340
343
  }
341
344
  );
342
345
  }
343
- function Ht({ className: e, ...r }) {
344
- return /* @__PURE__ */ n(
345
- he,
346
+ function $t({ className: e, ...r }) {
347
+ return /* @__PURE__ */ i(
348
+ xe,
346
349
  {
347
350
  "data-slot": "sidebar-separator",
348
351
  "data-sidebar": "separator",
349
- className: u("bg-sidebar-border mx-2 w-auto", e),
352
+ className: c("bg-sidebar-border mx-2 w-auto", e),
350
353
  ...r
351
354
  }
352
355
  );
353
356
  }
354
- function Wt({ className: e, ...r }) {
355
- return /* @__PURE__ */ n(
357
+ function Jt({ className: e, ...r }) {
358
+ return /* @__PURE__ */ i(
356
359
  "div",
357
360
  {
358
361
  "data-slot": "sidebar-content",
359
362
  "data-sidebar": "content",
360
- className: u(
363
+ className: c(
361
364
  "flex min-h-0 flex-1 flex-col gap-3 overflow-auto group-data-[collapsible=icon]:overflow-hidden",
362
365
  e
363
366
  ),
@@ -365,28 +368,28 @@ function Wt({ className: e, ...r }) {
365
368
  }
366
369
  );
367
370
  }
368
- function $t({ className: e, ...r }) {
369
- return /* @__PURE__ */ n(
371
+ function Qt({ className: e, ...r }) {
372
+ return /* @__PURE__ */ i(
370
373
  "div",
371
374
  {
372
375
  "data-slot": "sidebar-group",
373
376
  "data-sidebar": "group",
374
- className: u("relative flex w-full min-w-0 flex-col p-2", e),
377
+ className: c("relative flex w-full min-w-0 flex-col p-2", e),
375
378
  ...r
376
379
  }
377
380
  );
378
381
  }
379
- function Ut({
382
+ function Zt({
380
383
  className: e,
381
384
  asChild: r = !1,
382
385
  ...t
383
386
  }) {
384
- return /* @__PURE__ */ n(
385
- r ? F : "div",
387
+ return /* @__PURE__ */ i(
388
+ r ? T : "div",
386
389
  {
387
390
  "data-slot": "sidebar-group-label",
388
391
  "data-sidebar": "group-label",
389
- className: u(
392
+ className: c(
390
393
  "text-sidebar-foreground/70 ring-sidebar-ring flex h-10 shrink-0 items-center rounded-md px-2 text-xs font-medium outline-hidden transition-[margin,opacity] duration-200 ease-linear focus-visible:ring-2 [&>svg]:size-6 [&>svg]:shrink-0 [&>svg]:text-tertiary-foreground",
391
394
  "group-data-[collapsible=icon]:-mt-8 group-data-[collapsible=icon]:opacity-0",
392
395
  e
@@ -395,17 +398,17 @@ function Ut({
395
398
  }
396
399
  );
397
400
  }
398
- function Kt({
401
+ function qt({
399
402
  className: e,
400
403
  asChild: r = !1,
401
404
  ...t
402
405
  }) {
403
- return /* @__PURE__ */ n(
404
- r ? F : "button",
406
+ return /* @__PURE__ */ i(
407
+ r ? T : "button",
405
408
  {
406
409
  "data-slot": "sidebar-group-action",
407
410
  "data-sidebar": "group-action",
408
- className: u(
411
+ className: c(
409
412
  "text-sidebar-foreground ring-sidebar-ring hover:bg-sidebar-accent hover:text-sidebar-accent-foreground absolute top-3.5 right-3 flex aspect-square w-5 items-center justify-center rounded-md p-0 outline-hidden transition-transform focus-visible:ring-2 [&>svg]:size-6 [&>svg]:shrink-0 [&>svg]:text-tertiary-foreground",
410
413
  // Increases the hit area of the button on mobile.
411
414
  "after:absolute after:-inset-2 md:after:hidden",
@@ -416,40 +419,40 @@ function Kt({
416
419
  }
417
420
  );
418
421
  }
419
- function qt({ className: e, ...r }) {
420
- return /* @__PURE__ */ n(
422
+ function Xt({ className: e, ...r }) {
423
+ return /* @__PURE__ */ i(
421
424
  "div",
422
425
  {
423
426
  "data-slot": "sidebar-group-content",
424
427
  "data-sidebar": "group-content",
425
- className: u("w-full text-sm", e),
428
+ className: c("w-full text-sm", e),
426
429
  ...r
427
430
  }
428
431
  );
429
432
  }
430
- function Xt({ className: e, ...r }) {
431
- return /* @__PURE__ */ n(
433
+ function Yt({ className: e, ...r }) {
434
+ return /* @__PURE__ */ i(
432
435
  "ul",
433
436
  {
434
437
  "data-slot": "sidebar-menu",
435
438
  "data-sidebar": "menu",
436
- className: u("flex w-full min-w-0 flex-col gap-1", e),
439
+ className: c("flex w-full min-w-0 flex-col gap-1", e),
437
440
  ...r
438
441
  }
439
442
  );
440
443
  }
441
- function Jt({ className: e, ...r }) {
442
- return /* @__PURE__ */ n(
444
+ function jt({ className: e, ...r }) {
445
+ return /* @__PURE__ */ i(
443
446
  "li",
444
447
  {
445
448
  "data-slot": "sidebar-menu-item",
446
449
  "data-sidebar": "menu-item",
447
- className: u("group/menu-item relative", e),
450
+ className: c("group/menu-item relative", e),
448
451
  ...r
449
452
  }
450
453
  );
451
454
  }
452
- const Ie = me(
455
+ const Te = be(
453
456
  "peer/menu-button flex w-full items-center gap-3 overflow-hidden rounded-md p-2 text-left text-sm font-medium outline-hidden ring-sidebar-ring transition-[width,height,padding] 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 group-has-data-[sidebar=menu-action]/menu-item:pr-8 aria-disabled:pointer-events-none aria-disabled:opacity-50 data-[active=true]:bg-sidebar-accent data-[active=true]:font-medium data-[active=true]:text-sidebar-accent-foreground data-[state=open]:hover:bg-sidebar-accent data-[state=open]:hover:text-sidebar-accent-foreground group-data-[collapsible=icon]:size-8! group-data-[collapsible=icon]:p-2! [&>span:last-child]:truncate [&>svg]:size-6 [&>svg]:shrink-0 [&>svg]:text-tertiary-foreground",
454
457
  {
455
458
  variants: {
@@ -469,53 +472,53 @@ const Ie = me(
469
472
  }
470
473
  }
471
474
  );
472
- function Qt({
475
+ function er({
473
476
  asChild: e = !1,
474
477
  isActive: r = !1,
475
478
  variant: t = "default",
476
479
  size: o = "default",
477
480
  tooltip: a,
478
- className: i,
479
- ...s
481
+ className: s,
482
+ ...d
480
483
  }) {
481
- const l = e ? F : "button", { isMobile: m, state: c } = X(), b = /* @__PURE__ */ n(
482
- l,
484
+ const u = e ? T : "button", { isMobile: b, state: m } = Z(), p = /* @__PURE__ */ i(
485
+ u,
483
486
  {
484
487
  "data-slot": "sidebar-menu-button",
485
488
  "data-sidebar": "menu-button",
486
489
  "data-size": o,
487
490
  "data-active": r,
488
- className: u(Ie({ variant: t, size: o }), i),
489
- ...s
491
+ className: c(Te({ variant: t, size: o }), s),
492
+ ...d
490
493
  }
491
494
  );
492
495
  return a ? (typeof a == "string" && (a = {
493
496
  children: a
494
- }), /* @__PURE__ */ A(ae, { children: [
495
- /* @__PURE__ */ n(oe, { asChild: !0, children: b }),
496
- /* @__PURE__ */ n(
497
- ne,
497
+ }), /* @__PURE__ */ E(oe, { children: [
498
+ /* @__PURE__ */ i(ne, { asChild: !0, children: p }),
499
+ /* @__PURE__ */ i(
500
+ ie,
498
501
  {
499
502
  side: "right",
500
503
  align: "center",
501
- hidden: c !== "collapsed" || m,
504
+ hidden: m !== "collapsed" || b,
502
505
  ...a
503
506
  }
504
507
  )
505
- ] })) : b;
508
+ ] })) : p;
506
509
  }
507
- function Yt({
510
+ function tr({
508
511
  className: e,
509
512
  asChild: r = !1,
510
513
  showOnHover: t = !1,
511
514
  ...o
512
515
  }) {
513
- return /* @__PURE__ */ n(
514
- r ? F : "button",
516
+ return /* @__PURE__ */ i(
517
+ r ? T : "button",
515
518
  {
516
519
  "data-slot": "sidebar-menu-action",
517
520
  "data-sidebar": "menu-action",
518
- className: u(
521
+ className: c(
519
522
  "text-sidebar-foreground ring-sidebar-ring hover:bg-sidebar-accent hover:text-sidebar-accent-foreground peer-hover/menu-button:text-sidebar-accent-foreground absolute top-1.5 right-1 flex aspect-square w-5 items-center justify-center rounded-md p-0 outline-hidden transition-transform focus-visible:ring-2 [&>svg]:size-6 [&>svg]:shrink-0 [&>svg]:text-tertiary-foreground",
520
523
  // Increases the hit area of the button on mobile.
521
524
  "after:absolute after:-inset-2 md:after:hidden",
@@ -530,13 +533,13 @@ function Yt({
530
533
  }
531
534
  );
532
535
  }
533
- function Zt({ className: e, ...r }) {
534
- return /* @__PURE__ */ n(
536
+ function rr({ className: e, ...r }) {
537
+ return /* @__PURE__ */ i(
535
538
  "div",
536
539
  {
537
540
  "data-slot": "sidebar-menu-badge",
538
541
  "data-sidebar": "menu-badge",
539
- className: u(
542
+ className: c(
540
543
  "text-sidebar-foreground pointer-events-none absolute right-1 flex h-5 min-w-5 items-center justify-center rounded-md px-1 text-xs font-medium tabular-nums select-none",
541
544
  "peer-hover/menu-button:text-sidebar-accent-foreground peer-data-[active=true]/menu-button:text-sidebar-accent-foreground",
542
545
  "peer-data-[size=sm]/menu-button:top-1",
@@ -549,24 +552,24 @@ function Zt({ className: e, ...r }) {
549
552
  }
550
553
  );
551
554
  }
552
- const Ne = 50, Ae = 40;
553
- function jt({
555
+ const Fe = 50, Pe = 40;
556
+ function ar({
554
557
  className: e,
555
558
  showIcon: r = !1,
556
559
  ...t
557
560
  }) {
558
- const o = f.useMemo(() => `${Math.floor(Math.random() * Ae) + Ne}%`, []);
559
- return /* @__PURE__ */ A(
561
+ const o = f.useMemo(() => `${Math.floor(Math.random() * Pe) + Fe}%`, []);
562
+ return /* @__PURE__ */ E(
560
563
  "div",
561
564
  {
562
565
  "data-slot": "sidebar-menu-skeleton",
563
566
  "data-sidebar": "menu-skeleton",
564
- className: u("flex h-10 items-center gap-3 rounded-md px-2", e),
567
+ className: c("flex h-10 items-center gap-3 rounded-md px-2", e),
565
568
  ...t,
566
569
  children: [
567
- r && /* @__PURE__ */ n(G, { className: "size-6 rounded-md", "data-sidebar": "menu-skeleton-icon" }),
568
- /* @__PURE__ */ n(
569
- G,
570
+ r && /* @__PURE__ */ i(z, { className: "size-6 rounded-md", "data-sidebar": "menu-skeleton-icon" }),
571
+ /* @__PURE__ */ i(
572
+ z,
570
573
  {
571
574
  className: "h-4 max-w-(--skeleton-width) flex-1",
572
575
  "data-sidebar": "menu-skeleton-text",
@@ -579,13 +582,13 @@ function jt({
579
582
  }
580
583
  );
581
584
  }
582
- function er({ className: e, ...r }) {
583
- return /* @__PURE__ */ n(
585
+ function or({ className: e, ...r }) {
586
+ return /* @__PURE__ */ i(
584
587
  "ul",
585
588
  {
586
589
  "data-slot": "sidebar-menu-sub",
587
590
  "data-sidebar": "menu-sub",
588
- className: u(
591
+ className: c(
589
592
  "border-sidebar-border mx-3.5 flex min-w-0 translate-x-px flex-col gap-1 border-l px-2.5 py-0.5",
590
593
  "group-data-[collapsible=icon]:hidden",
591
594
  e
@@ -594,32 +597,32 @@ function er({ className: e, ...r }) {
594
597
  }
595
598
  );
596
599
  }
597
- function tr({ className: e, ...r }) {
598
- return /* @__PURE__ */ n(
600
+ function nr({ className: e, ...r }) {
601
+ return /* @__PURE__ */ i(
599
602
  "li",
600
603
  {
601
604
  "data-slot": "sidebar-menu-sub-item",
602
605
  "data-sidebar": "menu-sub-item",
603
- className: u("group/menu-sub-item relative", e),
606
+ className: c("group/menu-sub-item relative", e),
604
607
  ...r
605
608
  }
606
609
  );
607
610
  }
608
- function rr({
611
+ function ir({
609
612
  asChild: e = !1,
610
613
  size: r = "md",
611
614
  isActive: t = !1,
612
615
  className: o,
613
616
  ...a
614
617
  }) {
615
- return /* @__PURE__ */ n(
616
- e ? F : "a",
618
+ return /* @__PURE__ */ i(
619
+ e ? T : "a",
617
620
  {
618
621
  "data-slot": "sidebar-menu-sub-button",
619
622
  "data-sidebar": "menu-sub-button",
620
623
  "data-size": r,
621
624
  "data-active": t,
622
- className: u(
625
+ className: c(
623
626
  "text-sidebar-foreground ring-sidebar-ring hover:bg-sidebar-accent hover:text-sidebar-accent-foreground active:bg-sidebar-accent active:text-sidebar-accent-foreground [&>svg]:text-tertiary-foreground flex h-7 min-w-0 -translate-x-px items-center gap-3 overflow-hidden rounded-md px-2 outline-hidden focus-visible:ring-2 disabled:pointer-events-none disabled:opacity-50 aria-disabled:pointer-events-none aria-disabled:opacity-50 [&>span:last-child]:truncate [&>svg]:size-6 [&>svg]:shrink-0",
624
627
  "data-[active=true]:bg-sidebar-accent data-[active=true]:text-sidebar-accent-foreground",
625
628
  r === "sm" && "text-xs",
@@ -631,74 +634,74 @@ function rr({
631
634
  }
632
635
  );
633
636
  }
634
- var Fe = (e) => e.type === "checkbox", T = (e) => e instanceof Date, L = (e) => e == null;
635
- const J = (e) => typeof e == "object";
636
- var N = (e) => !L(e) && !Array.isArray(e) && J(e) && !T(e), Te = (e) => N(e) && e.target ? Fe(e.target) ? e.target.checked : e.target.value : e, ke = (e) => e.substring(0, e.search(/\.\d+(\.|$)/)) || e, Ee = (e, r) => e.has(ke(r)), Oe = (e) => {
637
+ var Re = (e) => e.type === "checkbox", F = (e) => e instanceof Date, G = (e) => e == null;
638
+ const q = (e) => typeof e == "object";
639
+ var N = (e) => !G(e) && !Array.isArray(e) && q(e) && !F(e), ke = (e) => N(e) && e.target ? Re(e.target) ? e.target.checked : e.target.value : e, Oe = (e) => e.substring(0, e.search(/\.\d+(\.|$)/)) || e, Ve = (e, r) => e.has(Oe(r)), Le = (e) => {
637
640
  const r = e.constructor && e.constructor.prototype;
638
641
  return N(r) && r.hasOwnProperty("isPrototypeOf");
639
- }, Re = typeof window < "u" && typeof window.HTMLElement < "u" && typeof document < "u";
640
- function Q(e) {
642
+ }, Be = typeof window < "u" && typeof window.HTMLElement < "u" && typeof document < "u";
643
+ function X(e) {
641
644
  let r;
642
645
  const t = Array.isArray(e), o = typeof FileList < "u" ? e instanceof FileList : !1;
643
646
  if (e instanceof Date)
644
647
  r = new Date(e);
645
- else if (!(Re && (e instanceof Blob || o)) && (t || N(e)))
646
- if (r = t ? [] : Object.create(Object.getPrototypeOf(e)), !t && !Oe(e))
648
+ else if (!(Be && (e instanceof Blob || o)) && (t || N(e)))
649
+ if (r = t ? [] : Object.create(Object.getPrototypeOf(e)), !t && !Le(e))
647
650
  r = e;
648
651
  else
649
652
  for (const a in e)
650
- e.hasOwnProperty(a) && (r[a] = Q(e[a]));
653
+ e.hasOwnProperty(a) && (r[a] = X(e[a]));
651
654
  else
652
655
  return e;
653
656
  return r;
654
657
  }
655
- var Y = (e) => /^\w*$/.test(e), B = (e) => e === void 0, Ve = (e) => Array.isArray(e) ? e.filter(Boolean) : [], Z = (e) => Ve(e.replace(/["|']|\]/g, "").split(/\.|\[/)), h = (e, r, t) => {
658
+ var Y = (e) => /^\w*$/.test(e), B = (e) => e === void 0, Ge = (e) => Array.isArray(e) ? e.filter(Boolean) : [], j = (e) => Ge(e.replace(/["|']|\]/g, "").split(/\.|\[/)), x = (e, r, t) => {
656
659
  if (!r || !N(e))
657
660
  return t;
658
- const o = (Y(r) ? [r] : Z(r)).reduce((a, i) => L(a) ? a : a[i], e);
661
+ const o = (Y(r) ? [r] : j(r)).reduce((a, s) => G(a) ? a : a[s], e);
659
662
  return B(o) || o === e ? B(e[r]) ? t : e[r] : o;
660
- }, P = (e) => typeof e == "boolean", H = (e, r, t) => {
663
+ }, L = (e) => typeof e == "boolean", K = (e, r, t) => {
661
664
  let o = -1;
662
- const a = Y(r) ? [r] : Z(r), i = a.length, s = i - 1;
663
- for (; ++o < i; ) {
664
- const l = a[o];
665
- let m = t;
666
- if (o !== s) {
667
- const c = e[l];
668
- m = N(c) || Array.isArray(c) ? c : isNaN(+a[o + 1]) ? {} : [];
665
+ const a = Y(r) ? [r] : j(r), s = a.length, d = s - 1;
666
+ for (; ++o < s; ) {
667
+ const u = a[o];
668
+ let b = t;
669
+ if (o !== d) {
670
+ const m = e[u];
671
+ b = N(m) || Array.isArray(m) ? m : isNaN(+a[o + 1]) ? {} : [];
669
672
  }
670
- if (l === "__proto__" || l === "constructor" || l === "prototype")
673
+ if (u === "__proto__" || u === "constructor" || u === "prototype")
671
674
  return;
672
- e[l] = m, e = e[l];
675
+ e[u] = b, e = e[u];
673
676
  }
674
677
  };
675
- const W = {
678
+ const U = {
676
679
  BLUR: "blur",
677
680
  CHANGE: "change"
678
- }, $ = {
681
+ }, W = {
679
682
  all: "all"
680
- }, z = d.createContext(null);
681
- z.displayName = "HookFormContext";
682
- const E = () => d.useContext(z), Pe = (e) => {
683
+ }, H = l.createContext(null);
684
+ H.displayName = "HookFormContext";
685
+ const R = () => l.useContext(H), He = (e) => {
683
686
  const { children: r, ...t } = e;
684
- return d.createElement(z.Provider, { value: t }, r);
687
+ return l.createElement(H.Provider, { value: t }, r);
685
688
  };
686
- var Be = (e, r, t, o = !0) => {
689
+ var ze = (e, r, t, o = !0) => {
687
690
  const a = {
688
691
  defaultValues: r._defaultValues
689
692
  };
690
- for (const i in e)
691
- Object.defineProperty(a, i, {
693
+ for (const s in e)
694
+ Object.defineProperty(a, s, {
692
695
  get: () => {
693
- const s = i;
694
- return r._proxyFormState[s] !== $.all && (r._proxyFormState[s] = !o || $.all), t && (t[s] = !0), e[s];
696
+ const d = s;
697
+ return r._proxyFormState[d] !== W.all && (r._proxyFormState[d] = !o || W.all), t && (t[d] = !0), e[d];
695
698
  }
696
699
  });
697
700
  return a;
698
701
  };
699
- const j = typeof window < "u" ? d.useLayoutEffect : d.useEffect;
700
- function Le(e) {
701
- const r = E(), { control: t = r.control, disabled: o, name: a, exact: i } = e || {}, [s, l] = d.useState(t._formState), m = d.useRef({
702
+ const ee = typeof window < "u" ? l.useLayoutEffect : l.useEffect;
703
+ function Ke(e) {
704
+ const r = R(), { control: t = r.control, disabled: o, name: a, exact: s } = e || {}, [d, u] = l.useState(t._formState), b = l.useRef({
702
705
  isDirty: !1,
703
706
  isLoading: !1,
704
707
  dirtyFields: !1,
@@ -708,25 +711,25 @@ function Le(e) {
708
711
  isValid: !1,
709
712
  errors: !1
710
713
  });
711
- return j(() => t._subscribe({
714
+ return ee(() => t._subscribe({
712
715
  name: a,
713
- formState: m.current,
714
- exact: i,
715
- callback: (c) => {
716
- !o && l({
716
+ formState: b.current,
717
+ exact: s,
718
+ callback: (m) => {
719
+ !o && u({
717
720
  ...t._formState,
718
- ...c
721
+ ...m
719
722
  });
720
723
  }
721
- }), [a, o, i]), d.useEffect(() => {
722
- m.current.isValid && t._setValid(!0);
723
- }, [t]), d.useMemo(() => Be(s, t, m.current, !1), [s, t]);
724
+ }), [a, o, s]), l.useEffect(() => {
725
+ b.current.isValid && t._setValid(!0);
726
+ }, [t]), l.useMemo(() => ze(d, t, b.current, !1), [d, t]);
724
727
  }
725
- var ze = (e) => typeof e == "string", U = (e, r, t, o, a) => ze(e) ? h(t, e, a) : Array.isArray(e) ? e.map((i) => h(t, i)) : t, K = (e) => L(e) || !J(e);
726
- function k(e, r, t = /* @__PURE__ */ new WeakSet()) {
727
- if (K(e) || K(r))
728
+ var Ue = (e) => typeof e == "string", $ = (e, r, t, o, a) => Ue(e) ? x(t, e, a) : Array.isArray(e) ? e.map((s) => x(t, s)) : t, J = (e) => G(e) || !q(e);
729
+ function P(e, r, t = /* @__PURE__ */ new WeakSet()) {
730
+ if (J(e) || J(r))
728
731
  return e === r;
729
- if (T(e) && T(r))
732
+ if (F(e) && F(r))
730
733
  return e.getTime() === r.getTime();
731
734
  const o = Object.keys(e), a = Object.keys(r);
732
735
  if (o.length !== a.length)
@@ -734,397 +737,397 @@ function k(e, r, t = /* @__PURE__ */ new WeakSet()) {
734
737
  if (t.has(e) || t.has(r))
735
738
  return !0;
736
739
  t.add(e), t.add(r);
737
- for (const i of o) {
738
- const s = e[i];
739
- if (!a.includes(i))
740
+ for (const s of o) {
741
+ const d = e[s];
742
+ if (!a.includes(s))
740
743
  return !1;
741
- if (i !== "ref") {
742
- const l = r[i];
743
- if (T(s) && T(l) || N(s) && N(l) || Array.isArray(s) && Array.isArray(l) ? !k(s, l, t) : s !== l)
744
+ if (s !== "ref") {
745
+ const u = r[s];
746
+ if (F(d) && F(u) || N(d) && N(u) || Array.isArray(d) && Array.isArray(u) ? !P(d, u, t) : d !== u)
744
747
  return !1;
745
748
  }
746
749
  }
747
750
  return !0;
748
751
  }
749
- function Ge(e) {
750
- const r = E(), { control: t = r.control, name: o, defaultValue: a, disabled: i, exact: s, compute: l } = e || {}, m = d.useRef(a), c = d.useRef(l), b = d.useRef(void 0), v = d.useRef(t), x = d.useRef(o);
751
- c.current = l;
752
- const [I, S] = d.useState(() => {
753
- const p = t._getWatch(o, m.current);
754
- return c.current ? c.current(p) : p;
755
- }), M = d.useCallback((p) => {
756
- const w = U(o, t._names, p || t._formValues, !1, m.current);
757
- return c.current ? c.current(w) : w;
758
- }, [t._formValues, t._names, o]), D = d.useCallback((p) => {
759
- if (!i) {
760
- const w = U(o, t._names, p || t._formValues, !1, m.current);
761
- if (c.current) {
762
- const _ = c.current(w);
763
- k(_, b.current) || (S(_), b.current = _);
752
+ function We(e) {
753
+ const r = R(), { control: t = r.control, name: o, defaultValue: a, disabled: s, exact: d, compute: u } = e || {}, b = l.useRef(a), m = l.useRef(u), p = l.useRef(void 0), A = l.useRef(t), v = l.useRef(o);
754
+ m.current = u;
755
+ const [_, y] = l.useState(() => {
756
+ const g = t._getWatch(o, b.current);
757
+ return m.current ? m.current(g) : g;
758
+ }), M = l.useCallback((g) => {
759
+ const C = $(o, t._names, g || t._formValues, !1, b.current);
760
+ return m.current ? m.current(C) : C;
761
+ }, [t._formValues, t._names, o]), I = l.useCallback((g) => {
762
+ if (!s) {
763
+ const C = $(o, t._names, g || t._formValues, !1, b.current);
764
+ if (m.current) {
765
+ const D = m.current(C);
766
+ P(D, p.current) || (y(D), p.current = D);
764
767
  } else
765
- S(w);
768
+ y(C);
766
769
  }
767
- }, [t._formValues, t._names, i, o]);
768
- j(() => ((v.current !== t || !k(x.current, o)) && (v.current = t, x.current = o, D()), t._subscribe({
770
+ }, [t._formValues, t._names, s, o]);
771
+ ee(() => ((A.current !== t || !P(v.current, o)) && (A.current = t, v.current = o, I()), t._subscribe({
769
772
  name: o,
770
773
  formState: {
771
774
  values: !0
772
775
  },
773
- exact: s,
774
- callback: (p) => {
775
- D(p.values);
776
+ exact: d,
777
+ callback: (g) => {
778
+ I(g.values);
776
779
  }
777
- })), [t, s, o, D]), d.useEffect(() => t._removeUnmounted());
778
- const C = v.current !== t, y = x.current, g = d.useMemo(() => {
779
- if (i)
780
+ })), [t, d, o, I]), l.useEffect(() => t._removeUnmounted());
781
+ const S = A.current !== t, w = v.current, h = l.useMemo(() => {
782
+ if (s)
780
783
  return null;
781
- const p = !C && !k(y, o);
782
- return C || p ? M() : null;
783
- }, [i, C, o, y, M]);
784
- return g !== null ? g : I;
784
+ const g = !S && !P(w, o);
785
+ return S || g ? M() : null;
786
+ }, [s, S, o, w, M]);
787
+ return h !== null ? h : _;
785
788
  }
786
- function He(e) {
787
- const r = E(), { name: t, disabled: o, control: a = r.control, shouldUnregister: i, defaultValue: s } = e, l = Ee(a._names.array, t), m = d.useMemo(() => h(a._formValues, t, h(a._defaultValues, t, s)), [a, t, s]), c = Ge({
789
+ function $e(e) {
790
+ const r = R(), { name: t, disabled: o, control: a = r.control, shouldUnregister: s, defaultValue: d } = e, u = Ve(a._names.array, t), b = l.useMemo(() => x(a._formValues, t, x(a._defaultValues, t, d)), [a, t, d]), m = We({
788
791
  control: a,
789
792
  name: t,
790
- defaultValue: m,
793
+ defaultValue: b,
791
794
  exact: !0
792
- }), b = Le({
795
+ }), p = Ke({
793
796
  control: a,
794
797
  name: t,
795
798
  exact: !0
796
- }), v = d.useRef(e), x = d.useRef(void 0), I = d.useRef(a.register(t, {
799
+ }), A = l.useRef(e), v = l.useRef(void 0), _ = l.useRef(a.register(t, {
797
800
  ...e.rules,
798
- value: c,
799
- ...P(e.disabled) ? { disabled: e.disabled } : {}
801
+ value: m,
802
+ ...L(e.disabled) ? { disabled: e.disabled } : {}
800
803
  }));
801
- v.current = e;
802
- const S = d.useMemo(() => Object.defineProperties({}, {
804
+ A.current = e;
805
+ const y = l.useMemo(() => Object.defineProperties({}, {
803
806
  invalid: {
804
807
  enumerable: !0,
805
- get: () => !!h(b.errors, t)
808
+ get: () => !!x(p.errors, t)
806
809
  },
807
810
  isDirty: {
808
811
  enumerable: !0,
809
- get: () => !!h(b.dirtyFields, t)
812
+ get: () => !!x(p.dirtyFields, t)
810
813
  },
811
814
  isTouched: {
812
815
  enumerable: !0,
813
- get: () => !!h(b.touchedFields, t)
816
+ get: () => !!x(p.touchedFields, t)
814
817
  },
815
818
  isValidating: {
816
819
  enumerable: !0,
817
- get: () => !!h(b.validatingFields, t)
820
+ get: () => !!x(p.validatingFields, t)
818
821
  },
819
822
  error: {
820
823
  enumerable: !0,
821
- get: () => h(b.errors, t)
824
+ get: () => x(p.errors, t)
822
825
  }
823
- }), [b, t]), M = d.useCallback((g) => I.current.onChange({
826
+ }), [p, t]), M = l.useCallback((h) => _.current.onChange({
824
827
  target: {
825
- value: Te(g),
828
+ value: ke(h),
826
829
  name: t
827
830
  },
828
- type: W.CHANGE
829
- }), [t]), D = d.useCallback(() => I.current.onBlur({
831
+ type: U.CHANGE
832
+ }), [t]), I = l.useCallback(() => _.current.onBlur({
830
833
  target: {
831
- value: h(a._formValues, t),
834
+ value: x(a._formValues, t),
832
835
  name: t
833
836
  },
834
- type: W.BLUR
835
- }), [t, a._formValues]), C = d.useCallback((g) => {
836
- const p = h(a._fields, t);
837
- p && g && (p._f.ref = {
838
- focus: () => g.focus && g.focus(),
839
- select: () => g.select && g.select(),
840
- setCustomValidity: (w) => g.setCustomValidity(w),
841
- reportValidity: () => g.reportValidity()
837
+ type: U.BLUR
838
+ }), [t, a._formValues]), S = l.useCallback((h) => {
839
+ const g = x(a._fields, t);
840
+ g && h && (g._f.ref = {
841
+ focus: () => h.focus && h.focus(),
842
+ select: () => h.select && h.select(),
843
+ setCustomValidity: (C) => h.setCustomValidity(C),
844
+ reportValidity: () => h.reportValidity()
842
845
  });
843
- }, [a._fields, t]), y = d.useMemo(() => ({
846
+ }, [a._fields, t]), w = l.useMemo(() => ({
844
847
  name: t,
845
- value: c,
846
- ...P(o) || b.disabled ? { disabled: b.disabled || o } : {},
848
+ value: m,
849
+ ...L(o) || p.disabled ? { disabled: p.disabled || o } : {},
847
850
  onChange: M,
848
- onBlur: D,
849
- ref: C
850
- }), [t, o, b.disabled, M, D, C, c]);
851
- return d.useEffect(() => {
852
- const g = a._options.shouldUnregister || i, p = x.current;
853
- p && p !== t && !l && a.unregister(p), a.register(t, {
854
- ...v.current.rules,
855
- ...P(v.current.disabled) ? { disabled: v.current.disabled } : {}
851
+ onBlur: I,
852
+ ref: S
853
+ }), [t, o, p.disabled, M, I, S, m]);
854
+ return l.useEffect(() => {
855
+ const h = a._options.shouldUnregister || s, g = v.current;
856
+ g && g !== t && !u && a.unregister(g), a.register(t, {
857
+ ...A.current.rules,
858
+ ...L(A.current.disabled) ? { disabled: A.current.disabled } : {}
856
859
  });
857
- const w = (_, re) => {
858
- const R = h(a._fields, _);
859
- R && R._f && (R._f.mount = re);
860
+ const C = (D, ae) => {
861
+ const O = x(a._fields, D);
862
+ O && O._f && (O._f.mount = ae);
860
863
  };
861
- if (w(t, !0), g) {
862
- const _ = Q(h(a._options.defaultValues, t, v.current.defaultValue));
863
- H(a._defaultValues, t, _), B(h(a._formValues, t)) && H(a._formValues, t, _);
864
+ if (C(t, !0), h) {
865
+ const D = X(x(a._options.defaultValues, t, A.current.defaultValue));
866
+ K(a._defaultValues, t, D), B(x(a._formValues, t)) && K(a._formValues, t, D);
864
867
  }
865
- return !l && a.register(t), x.current = t, () => {
866
- (l ? g && !a._state.action : g) ? a.unregister(t) : w(t, !1);
868
+ return !u && a.register(t), v.current = t, () => {
869
+ (u ? h && !a._state.action : h) ? a.unregister(t) : C(t, !1);
867
870
  };
868
- }, [t, a, l, i]), d.useEffect(() => {
871
+ }, [t, a, u, s]), l.useEffect(() => {
869
872
  a._setDisabledField({
870
873
  disabled: o,
871
874
  name: t
872
875
  });
873
- }, [o, t, a]), d.useMemo(() => ({
874
- field: y,
875
- formState: b,
876
- fieldState: S
877
- }), [y, b, S]);
876
+ }, [o, t, a]), l.useMemo(() => ({
877
+ field: w,
878
+ formState: p,
879
+ fieldState: y
880
+ }), [w, p, y]);
878
881
  }
879
- const We = (e) => e.render(He(e)), ar = Pe, ee = f.createContext(null), or = ({
882
+ const Je = (e) => e.render($e(e)), sr = He, te = f.createContext(null), dr = ({
880
883
  ...e
881
- }) => /* @__PURE__ */ n(ee.Provider, { value: { name: e.name }, children: /* @__PURE__ */ n(We, { ...e }) }), O = () => {
882
- const e = f.useContext(ee), r = f.useContext(te), { getFieldState: t, formState: o } = E();
884
+ }) => /* @__PURE__ */ i(te.Provider, { value: { name: e.name }, children: /* @__PURE__ */ i(Je, { ...e }) }), k = () => {
885
+ const e = f.useContext(te), r = f.useContext(re), { getFieldState: t, formState: o } = R();
883
886
  if (!e)
884
887
  throw new Error("useFormField should be used within <FormField>");
885
888
  if (!r)
886
889
  throw new Error("useFormField should be used within <FormItem>");
887
- const a = t(e.name, o), { id: i } = r;
890
+ const a = t(e.name, o), { id: s } = r;
888
891
  return {
889
- id: i,
892
+ id: s,
890
893
  name: e.name,
891
- formItemId: `${i}-form-item`,
892
- formDescriptionId: `${i}-form-item-description`,
893
- formMessageId: `${i}-form-item-message`,
894
+ formItemId: `${s}-form-item`,
895
+ formDescriptionId: `${s}-form-item-description`,
896
+ formMessageId: `${s}-form-item-message`,
894
897
  ...a
895
898
  };
896
- }, te = f.createContext(null), $e = f.forwardRef(
899
+ }, re = f.createContext(null), Qe = f.forwardRef(
897
900
  ({ className: e, ...r }, t) => {
898
901
  const o = f.useId();
899
- return /* @__PURE__ */ n(te.Provider, { value: { id: o }, children: /* @__PURE__ */ n("div", { ref: t, className: u("space-y-2", e), ...r }) });
902
+ return /* @__PURE__ */ i(re.Provider, { value: { id: o }, children: /* @__PURE__ */ i("div", { ref: t, className: c("space-y-2", e), ...r }) });
900
903
  }
901
904
  );
902
- $e.displayName = "FormItem";
903
- const Ue = f.forwardRef(({ className: e, ...r }, t) => {
904
- const { error: o, formItemId: a } = O();
905
- return /* @__PURE__ */ n(
905
+ Qe.displayName = "FormItem";
906
+ const Ze = f.forwardRef(({ className: e, ...r }, t) => {
907
+ const { error: o, formItemId: a } = k();
908
+ return /* @__PURE__ */ i(
906
909
  fe,
907
910
  {
908
911
  ref: t,
909
- className: u(o && "text-destructive", e),
912
+ className: c(o && "text-destructive", e),
910
913
  htmlFor: a,
911
914
  ...r
912
915
  }
913
916
  );
914
917
  });
915
- Ue.displayName = "FormLabel";
916
- const Ke = f.forwardRef(({ ...e }, r) => {
917
- const { error: t, formItemId: o, formDescriptionId: a, formMessageId: i } = O();
918
- return /* @__PURE__ */ n(
919
- F,
918
+ Ze.displayName = "FormLabel";
919
+ const qe = f.forwardRef(({ ...e }, r) => {
920
+ const { error: t, formItemId: o, formDescriptionId: a, formMessageId: s } = k();
921
+ return /* @__PURE__ */ i(
922
+ T,
920
923
  {
921
924
  ref: r,
922
925
  id: o,
923
- "aria-describedby": t ? `${a} ${i}` : `${a}`,
926
+ "aria-describedby": t ? `${a} ${s}` : `${a}`,
924
927
  "aria-invalid": !!t,
925
928
  ...e
926
929
  }
927
930
  );
928
931
  });
929
- Ke.displayName = "FormControl";
930
- const qe = f.forwardRef(({ className: e, ...r }, t) => {
931
- const { formDescriptionId: o } = O();
932
- return /* @__PURE__ */ n(
932
+ qe.displayName = "FormControl";
933
+ const Xe = f.forwardRef(({ className: e, ...r }, t) => {
934
+ const { formDescriptionId: o } = k();
935
+ return /* @__PURE__ */ i(
933
936
  "p",
934
937
  {
935
938
  ref: t,
936
939
  id: o,
937
- className: u("text-[0.8rem] text-muted-foreground", e),
940
+ className: c("text-[0.8rem] text-muted-foreground", e),
938
941
  ...r
939
942
  }
940
943
  );
941
944
  });
942
- qe.displayName = "FormDescription";
943
- const Xe = f.forwardRef(({ className: e, children: r, ...t }, o) => {
944
- const { error: a, formMessageId: i } = O(), s = a ? String((a == null ? void 0 : a.message) ?? "") : r;
945
- return s ? /* @__PURE__ */ n(
945
+ Xe.displayName = "FormDescription";
946
+ const Ye = f.forwardRef(({ className: e, children: r, ...t }, o) => {
947
+ const { error: a, formMessageId: s } = k(), d = a ? String((a == null ? void 0 : a.message) ?? "") : r;
948
+ return d ? /* @__PURE__ */ i(
946
949
  "p",
947
950
  {
948
951
  ref: o,
949
- id: i,
950
- className: u("font-medium text-[0.8rem] text-destructive", e),
952
+ id: s,
953
+ className: c("font-medium text-[0.8rem] text-destructive", e),
951
954
  ...t,
952
- children: s
955
+ children: d
953
956
  }
954
957
  ) : null;
955
958
  });
956
- Xe.displayName = "FormMessage";
959
+ Ye.displayName = "FormMessage";
957
960
  export {
958
- Gr as Accordion,
959
- Hr as AccordionContent,
960
- Wr as AccordionItem,
961
- $r as AccordionTrigger,
962
- lr as AlertDialog,
963
- ur as AlertDialogAction,
964
- cr as AlertDialogCancel,
965
- fr as AlertDialogContent,
966
- mr as AlertDialogDescription,
967
- br as AlertDialogFooter,
968
- pr as AlertDialogHeader,
969
- gr as AlertDialogOverlay,
970
- hr as AlertDialogPortal,
971
- xr as AlertDialogTitle,
972
- vr as AlertDialogTrigger,
973
- Kr as Avatar,
974
- qr as AvatarFallback,
975
- Xr as AvatarImage,
976
- Cr as Calendar,
977
- yr as CalendarDayButton,
978
- Mr as Carousel,
979
- Dr as CarouselContent,
980
- _r as CarouselItem,
981
- Ir as CarouselNext,
982
- Nr as CarouselPrevious,
983
- Qr as Checkbox,
984
- Fr as Combobox,
985
- qa as Command,
986
- Xa as CommandDialog,
987
- Ja as CommandEmpty,
988
- Qa as CommandGroup,
989
- Ya as CommandInput,
990
- Za as CommandItem,
991
- ja as CommandList,
992
- eo as CommandSeparator,
993
- to as CommandShortcut,
994
- Zr as ContextMenu,
995
- jr as ContextMenuCheckboxItem,
996
- ea as ContextMenuContent,
997
- ta as ContextMenuGroup,
998
- ra as ContextMenuItem,
999
- aa as ContextMenuLabel,
1000
- oa as ContextMenuPortal,
1001
- na as ContextMenuRadioGroup,
1002
- ia as ContextMenuRadioItem,
1003
- sa as ContextMenuSeparator,
1004
- da as ContextMenuShortcut,
1005
- la as ContextMenuSub,
1006
- ua as ContextMenuSubContent,
1007
- ca as ContextMenuSubTrigger,
1008
- fa as ContextMenuTrigger,
1009
- ao as Dialog,
1010
- oo as DialogClose,
1011
- no as DialogContent,
1012
- io as DialogDescription,
1013
- so as DialogFooter,
1014
- lo as DialogHeader,
1015
- uo as DialogOverlay,
1016
- co as DialogPortal,
1017
- fo as DialogTitle,
1018
- mo as DialogTrigger,
1019
- po as Drawer,
1020
- go as DrawerClose,
1021
- ho as DrawerContent,
1022
- xo as DrawerDescription,
1023
- vo as DrawerFooter,
1024
- wo as DrawerHeader,
1025
- Co as DrawerOverlay,
1026
- yo as DrawerPortal,
1027
- So as DrawerTitle,
1028
- Mo as DrawerTrigger,
1029
- ba as DropdownMenu,
1030
- pa as DropdownMenuCheckboxItem,
1031
- ga as DropdownMenuContent,
1032
- ha as DropdownMenuGroup,
1033
- xa as DropdownMenuItem,
1034
- va as DropdownMenuLabel,
1035
- wa as DropdownMenuPortal,
1036
- Ca as DropdownMenuRadioGroup,
1037
- ya as DropdownMenuRadioItem,
1038
- Sa as DropdownMenuSeparator,
1039
- Ma as DropdownMenuShortcut,
1040
- Da as DropdownMenuSub,
1041
- _a as DropdownMenuSubContent,
1042
- Ia as DropdownMenuSubTrigger,
1043
- Na as DropdownMenuTrigger,
1044
- ar as Form,
1045
- Ke as FormControl,
1046
- qe as FormDescription,
1047
- or as FormField,
1048
- $e as FormItem,
1049
- Ue as FormLabel,
1050
- Xe as FormMessage,
1051
- Fa as HoverCard,
1052
- Ta as HoverCardContent,
1053
- ka as HoverCardTrigger,
1054
- kr as InputOTP,
1055
- Er as InputOTPGroup,
1056
- Or as InputOTPSeparator,
1057
- Rr as InputOTPSlot,
961
+ Wr as Accordion,
962
+ $r as AccordionContent,
963
+ Jr as AccordionItem,
964
+ Qr as AccordionTrigger,
965
+ fr as AlertDialog,
966
+ br as AlertDialogAction,
967
+ pr as AlertDialogCancel,
968
+ gr as AlertDialogContent,
969
+ hr as AlertDialogDescription,
970
+ xr as AlertDialogFooter,
971
+ vr as AlertDialogHeader,
972
+ Ar as AlertDialogOverlay,
973
+ Cr as AlertDialogPortal,
974
+ Sr as AlertDialogTitle,
975
+ wr as AlertDialogTrigger,
976
+ qr as Avatar,
977
+ Xr as AvatarFallback,
978
+ Yr as AvatarImage,
979
+ Mr as Calendar,
980
+ Ir as CalendarDayButton,
981
+ _r as Carousel,
982
+ Nr as CarouselContent,
983
+ Er as CarouselItem,
984
+ Tr as CarouselNext,
985
+ Fr as CarouselPrevious,
986
+ ea as Checkbox,
987
+ Rr as Combobox,
988
+ Xa as Command,
989
+ Ya as CommandDialog,
990
+ ja as CommandEmpty,
991
+ eo as CommandGroup,
992
+ to as CommandInput,
993
+ ro as CommandItem,
994
+ ao as CommandList,
995
+ oo as CommandSeparator,
996
+ no as CommandShortcut,
997
+ ra as ContextMenu,
998
+ aa as ContextMenuCheckboxItem,
999
+ oa as ContextMenuContent,
1000
+ na as ContextMenuGroup,
1001
+ ia as ContextMenuItem,
1002
+ sa as ContextMenuLabel,
1003
+ da as ContextMenuPortal,
1004
+ la as ContextMenuRadioGroup,
1005
+ ua as ContextMenuRadioItem,
1006
+ ca as ContextMenuSeparator,
1007
+ ma as ContextMenuShortcut,
1008
+ fa as ContextMenuSub,
1009
+ ba as ContextMenuSubContent,
1010
+ pa as ContextMenuSubTrigger,
1011
+ ga as ContextMenuTrigger,
1012
+ so as Dialog,
1013
+ lo as DialogClose,
1014
+ uo as DialogContent,
1015
+ co as DialogDescription,
1016
+ mo as DialogFooter,
1017
+ fo as DialogHeader,
1018
+ bo as DialogOverlay,
1019
+ po as DialogPortal,
1020
+ go as DialogTitle,
1021
+ ho as DialogTrigger,
1022
+ vo as Drawer,
1023
+ Ao as DrawerClose,
1024
+ Co as DrawerContent,
1025
+ So as DrawerDescription,
1026
+ wo as DrawerFooter,
1027
+ yo as DrawerHeader,
1028
+ Mo as DrawerOverlay,
1029
+ Io as DrawerPortal,
1030
+ Do as DrawerTitle,
1031
+ _o as DrawerTrigger,
1032
+ xa as DropdownMenu,
1033
+ va as DropdownMenuCheckboxItem,
1034
+ Aa as DropdownMenuContent,
1035
+ Ca as DropdownMenuGroup,
1036
+ Sa as DropdownMenuItem,
1037
+ wa as DropdownMenuLabel,
1038
+ ya as DropdownMenuPortal,
1039
+ Ma as DropdownMenuRadioGroup,
1040
+ Ia as DropdownMenuRadioItem,
1041
+ Da as DropdownMenuSeparator,
1042
+ _a as DropdownMenuShortcut,
1043
+ Na as DropdownMenuSub,
1044
+ Ea as DropdownMenuSubContent,
1045
+ Ta as DropdownMenuSubTrigger,
1046
+ Fa as DropdownMenuTrigger,
1047
+ sr as Form,
1048
+ qe as FormControl,
1049
+ Xe as FormDescription,
1050
+ dr as FormField,
1051
+ Qe as FormItem,
1052
+ Ze as FormLabel,
1053
+ Ye as FormMessage,
1054
+ Ra as HoverCard,
1055
+ ka as HoverCardContent,
1056
+ Oa as HoverCardTrigger,
1057
+ Or as InputOTP,
1058
+ Vr as InputOTPGroup,
1059
+ Lr as InputOTPSeparator,
1060
+ Br as InputOTPSlot,
1058
1061
  fe as Label,
1059
- Oo as Menubar,
1060
- Ro as MenubarCheckboxItem,
1061
- Vo as MenubarContent,
1062
- Po as MenubarGroup,
1063
- Bo as MenubarItem,
1064
- Lo as MenubarLabel,
1065
- zo as MenubarMenu,
1066
- Go as MenubarPortal,
1067
- Ho as MenubarRadioGroup,
1068
- Wo as MenubarRadioItem,
1069
- $o as MenubarSeparator,
1070
- Uo as MenubarShortcut,
1071
- Ko as MenubarSub,
1072
- qo as MenubarSubContent,
1073
- Xo as MenubarSubTrigger,
1074
- Jo as MenubarTrigger,
1075
- Yo as Popover,
1076
- Zo as PopoverAnchor,
1077
- jo as PopoverContent,
1078
- en as PopoverTrigger,
1079
- Lr as Progress,
1080
- Oa as RadioGroup,
1081
- Ra as RadioGroupItem,
1082
- Pa as ScrollArea,
1083
- Ba as ScrollBar,
1084
- se as Sheet,
1085
- _o as SheetClose,
1086
- de as SheetContent,
1087
- ce as SheetDescription,
1088
- Io as SheetFooter,
1089
- le as SheetHeader,
1090
- ue as SheetTitle,
1091
- No as SheetTrigger,
1092
- Rt as Sidebar,
1093
- Wt as SidebarContent,
1094
- Gt as SidebarFooter,
1095
- $t as SidebarGroup,
1096
- Kt as SidebarGroupAction,
1097
- qt as SidebarGroupContent,
1098
- Ut as SidebarGroupLabel,
1099
- zt as SidebarHeader,
1100
- Lt as SidebarInput,
1101
- Bt as SidebarInset,
1102
- Xt as SidebarMenu,
1103
- Yt as SidebarMenuAction,
1104
- Zt as SidebarMenuBadge,
1105
- Qt as SidebarMenuButton,
1106
- Jt as SidebarMenuItem,
1107
- jt as SidebarMenuSkeleton,
1108
- er as SidebarMenuSub,
1109
- rr as SidebarMenuSubButton,
1110
- tr as SidebarMenuSubItem,
1111
- Ot as SidebarProvider,
1112
- Pt as SidebarRail,
1113
- Ht as SidebarSeparator,
1114
- Vt as SidebarTrigger,
1115
- Pr as Slider,
1116
- za as Switch,
1117
- Ha as Tabs,
1118
- Wa as TabsContent,
1119
- $a as TabsList,
1120
- Ua as TabsTrigger,
1121
- sr as TextReveal,
1122
- Fo as Toaster,
1123
- ko as Toggle,
1124
- ae as Tooltip,
1125
- ne as TooltipContent,
1126
- ie as TooltipProvider,
1127
- oe as TooltipTrigger,
1128
- O as useFormField,
1129
- X as useSidebar
1062
+ Lo as Menubar,
1063
+ Bo as MenubarCheckboxItem,
1064
+ Go as MenubarContent,
1065
+ Ho as MenubarGroup,
1066
+ zo as MenubarItem,
1067
+ Ko as MenubarLabel,
1068
+ Uo as MenubarMenu,
1069
+ Wo as MenubarPortal,
1070
+ $o as MenubarRadioGroup,
1071
+ Jo as MenubarRadioItem,
1072
+ Qo as MenubarSeparator,
1073
+ Zo as MenubarShortcut,
1074
+ qo as MenubarSub,
1075
+ Xo as MenubarSubContent,
1076
+ Yo as MenubarSubTrigger,
1077
+ jo as MenubarTrigger,
1078
+ tn as Popover,
1079
+ rn as PopoverAnchor,
1080
+ an as PopoverContent,
1081
+ on as PopoverTrigger,
1082
+ Kr as Progress,
1083
+ La as RadioGroup,
1084
+ Ba as RadioGroupItem,
1085
+ Ha as ScrollArea,
1086
+ za as ScrollBar,
1087
+ de as Sheet,
1088
+ Eo as SheetClose,
1089
+ le as SheetContent,
1090
+ me as SheetDescription,
1091
+ To as SheetFooter,
1092
+ ue as SheetHeader,
1093
+ ce as SheetTitle,
1094
+ Fo as SheetTrigger,
1095
+ Bt as Sidebar,
1096
+ Jt as SidebarContent,
1097
+ Wt as SidebarFooter,
1098
+ Qt as SidebarGroup,
1099
+ qt as SidebarGroupAction,
1100
+ Xt as SidebarGroupContent,
1101
+ Zt as SidebarGroupLabel,
1102
+ Ut as SidebarHeader,
1103
+ Kt as SidebarInput,
1104
+ zt as SidebarInset,
1105
+ Yt as SidebarMenu,
1106
+ tr as SidebarMenuAction,
1107
+ rr as SidebarMenuBadge,
1108
+ er as SidebarMenuButton,
1109
+ jt as SidebarMenuItem,
1110
+ ar as SidebarMenuSkeleton,
1111
+ or as SidebarMenuSub,
1112
+ ir as SidebarMenuSubButton,
1113
+ nr as SidebarMenuSubItem,
1114
+ Lt as SidebarProvider,
1115
+ Ht as SidebarRail,
1116
+ $t as SidebarSeparator,
1117
+ Gt as SidebarTrigger,
1118
+ Hr as Slider,
1119
+ Ua as Switch,
1120
+ $a as Tabs,
1121
+ Ja as TabsContent,
1122
+ Qa as TabsList,
1123
+ Za as TabsTrigger,
1124
+ cr as TextReveal,
1125
+ Ro as Toaster,
1126
+ Oo as Toggle,
1127
+ oe as Tooltip,
1128
+ ie as TooltipContent,
1129
+ se as TooltipProvider,
1130
+ ne as TooltipTrigger,
1131
+ k as useFormField,
1132
+ Z as useSidebar
1130
1133
  };