@plyaz/ui 0.7.18 → 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,43 +1,44 @@
1
- import { TextReveal as it } from "./client/reveal-text.es.js";
2
- import { AlertDialog as st, AlertDialogAction as lt, AlertDialogCancel as ut, AlertDialogContent as ct, AlertDialogDescription as bt, AlertDialogFooter as pt, AlertDialogHeader as mt, AlertDialogOverlay as gt, AlertDialogPortal as ft, AlertDialogTitle as ht, AlertDialogTrigger as xt } from "./client/alert-dialog.es.js";
3
- import { Calendar as wt, CalendarDayButton as St } from "./client/calendar.es.js";
4
- import { Carousel as Ct, CarouselContent as Dt, CarouselItem as It, CarouselNext as Tt, CarouselPrevious as Nt } from "./client/carousel.es.js";
5
- import { Combobox as yt } from "./client/combobox.es.js";
6
- import { InputOTP as kt, InputOTPGroup as Et, InputOTPSeparator as zt, InputOTPSlot as Ot } from "./client/input-otp.es.js";
7
- import { Slider as Pt } from "./client/slider.es.js";
8
- import { Progress as Gt } from "./client/progress.es.js";
9
- import { Accordion as Lt, AccordionContent as Wt, AccordionItem as Ft, AccordionTrigger as jt } from "./client/accordion.es.js";
10
- import { Avatar as $t, AvatarFallback as qt, AvatarImage as Vt } from "./client/avatar.es.js";
11
- import { Checkbox as Xt } from "./client/checkbox.es.js";
12
- import { ContextMenu as Qt, ContextMenuCheckboxItem as Yt, ContextMenuContent as Zt, ContextMenuGroup as ea, ContextMenuItem as ta, ContextMenuLabel as aa, ContextMenuPortal as ra, ContextMenuRadioGroup as oa, ContextMenuRadioItem as na, ContextMenuSeparator as ia, ContextMenuShortcut as da, ContextMenuSub as sa, ContextMenuSubContent as la, ContextMenuSubTrigger as ua, ContextMenuTrigger as ca } from "./client/context-menu.es.js";
13
- import { DropdownMenu as pa, DropdownMenuCheckboxItem as ma, DropdownMenuContent as ga, DropdownMenuGroup as fa, DropdownMenuItem as ha, DropdownMenuLabel as xa, DropdownMenuPortal as va, DropdownMenuRadioGroup as wa, DropdownMenuRadioItem as Sa, DropdownMenuSeparator as Ma, DropdownMenuShortcut as Ca, DropdownMenuSub as Da, DropdownMenuSubContent as Ia, DropdownMenuSubTrigger as Ta, DropdownMenuTrigger as Na } from "./client/dropdown-menu.es.js";
14
- import { HoverCard as ya, HoverCardContent as _a, HoverCardTrigger as ka } from "./client/hover-card.es.js";
15
- import { RadioGroup as za, RadioGroupItem as Oa } from "./client/radio-group.es.js";
16
- import { ScrollArea as Pa, ScrollBar as Ba } from "./client/scroll-area.es.js";
17
- import { Switch as Ha } from "./client/switch.es.js";
18
- import { Tabs as Wa, TabsContent as Fa, TabsList as ja, TabsTrigger as Ka } from "./client/tabs.es.js";
19
- import { Tooltip as A, TooltipTrigger as y, TooltipContent as _, TooltipProvider as k } from "./client/tooltip.es.js";
20
- import { Command as qa, CommandDialog as Va, CommandEmpty as Ua, CommandGroup as Xa, CommandInput as Ja, CommandItem as Qa, CommandList as Ya, CommandSeparator as Za, CommandShortcut as er } from "./client/command.es.js";
21
- import { Dialog as ar, DialogClose as rr, DialogContent as or, DialogDescription as nr, DialogFooter as ir, DialogHeader as dr, DialogOverlay as sr, DialogPortal as lr, DialogTitle as ur, DialogTrigger as cr } from "./client/dialog.es.js";
22
- import { Drawer as pr, DrawerClose as mr, DrawerContent as gr, DrawerDescription as fr, DrawerFooter as hr, DrawerHeader as xr, DrawerOverlay as vr, DrawerPortal as wr, DrawerTitle as Sr, DrawerTrigger as Mr } from "./client/drawer.es.js";
23
- import { Sheet as E, SheetContent as z, SheetHeader as O, SheetTitle as R, SheetDescription as P } from "./client/sheet.es.js";
24
- import { SheetClose as Dr, SheetFooter as Ir, SheetTrigger as Tr } from "./client/sheet.es.js";
25
- import { Toaster as Ar } from "./client/toaster.es.js";
26
- import { Toggle as _r } from "./client/toggle.es.js";
27
- import { Label as Er } from "./client/label.es.js";
28
- import { Menubar as Or, MenubarCheckboxItem as Rr, MenubarContent as Pr, MenubarGroup as Br, MenubarItem as Gr, MenubarLabel as Hr, MenubarMenu as Lr, MenubarPortal as Wr, MenubarRadioGroup as Fr, MenubarRadioItem as jr, MenubarSeparator as Kr, MenubarShortcut as $r, MenubarSub as qr, MenubarSubContent as Vr, MenubarSubTrigger as Ur, MenubarTrigger as Xr } from "./client/menu-bar.es.js";
29
- import { Popover as Qr, PopoverAnchor as Yr, PopoverContent as Zr, PopoverTrigger as eo } from "./client/popover.es.js";
30
- import { jsx as a, jsxs as p } from "react/jsx-runtime";
31
- import * as s from "react";
32
- import { Slot as g } from "@radix-ui/react-slot";
33
- import { cva as B } from "class-variance-authority";
34
- import { PanelLeftIcon as G } from "lucide-react";
35
- import { c as n } from "./utils-B6yFEsav.js";
36
- import { I as H } from "./Textarea-BTbJSVLU.js";
37
- import { B as L } from "./Button-B7sEajdG.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
+ import { Label as fe } from "./client/label.es.js";
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
+ import * as f from "react";
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";
38
39
  import "@radix-ui/react-select";
39
40
  import "next-intl";
40
- import { a as C, S as W } from "./Skeleton-Cj9Od_Nd.js";
41
+ import { a as z, S as xe } from "./Skeleton-Cj9Od_Nd.js";
41
42
  import "@radix-ui/react-alert-dialog";
42
43
  import "react-day-picker";
43
44
  import "cmdk";
@@ -61,148 +62,153 @@ import "next-themes";
61
62
  import "sonner";
62
63
  import "@radix-ui/react-label";
63
64
  import "@radix-ui/react-menubar";
64
- var F = { WEEK: 6048e5 };
65
- const v = 768;
66
- function j() {
67
- const [t, e] = s.useState(void 0);
68
- return s.useEffect(() => {
69
- const r = window.matchMedia(`(max-width: ${v - 1}px)`), o = () => {
70
- e(window.innerWidth < v);
65
+ import "@radix-ui/react-separator";
66
+ import "@radix-ui/react-tooltip";
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);
71
+ const V = 768;
72
+ function we() {
73
+ const [e, r] = f.useState(void 0);
74
+ return f.useEffect(() => {
75
+ const t = window.matchMedia(`(max-width: ${V - 1}px)`), o = () => {
76
+ r(window.innerWidth < V);
71
77
  };
72
- return r.addEventListener("change", o), e(window.innerWidth < v), () => r.removeEventListener("change", o);
73
- }, []), !!t;
78
+ return t.addEventListener("change", o), r(window.innerWidth < V), () => t.removeEventListener("change", o);
79
+ }, []), !!e;
74
80
  }
75
- const K = "sidebar_state", $ = F.WEEK, q = "16rem", V = "18rem", U = "3rem", D = s.createContext(null);
76
- function I() {
77
- const t = s.useContext(D);
78
- if (!t)
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);
84
+ if (!e)
79
85
  throw new Error("useSidebar must be used within a SidebarProvider.");
80
- return t;
86
+ return e;
81
87
  }
82
- function Re({
83
- defaultOpen: t = !0,
84
- open: e,
85
- onOpenChange: r,
88
+ function Lt({
89
+ defaultOpen: e = !0,
90
+ open: r,
91
+ onOpenChange: t,
86
92
  className: o,
87
- style: i,
88
- children: d,
89
- ...l
93
+ style: a,
94
+ children: s,
95
+ ...d
90
96
  }) {
91
- const u = j(), [c, b] = s.useState(!1), [f, T] = s.useState(t), m = e ?? f, w = s.useCallback(
92
- (h) => {
93
- const x = typeof h == "function" ? h(m) : h;
94
- r ? r(x) : T(x), document.cookie = `${K}=${x}; path=/; max-age=${$}`;
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}`;
95
101
  },
96
- [r, m]
97
- ), S = s.useCallback(() => {
98
- }, []), M = m ? "expanded" : "collapsed", N = s.useMemo(
102
+ [t, v]
103
+ ), y = f.useCallback(() => {
104
+ }, []), M = v ? "expanded" : "collapsed", I = f.useMemo(
99
105
  () => ({
100
106
  state: M,
101
- open: m,
102
- setOpen: w,
107
+ open: v,
108
+ setOpen: _,
103
109
  isMobile: u,
104
- openMobile: c,
105
- setOpenMobile: b,
106
- toggleSidebar: S
110
+ openMobile: b,
111
+ setOpenMobile: m,
112
+ toggleSidebar: y
107
113
  }),
108
- [M, m, w, u, c, b, S]
114
+ [M, v, _, u, b, m, y]
109
115
  );
110
- return /* @__PURE__ */ a(D.Provider, { value: N, children: /* @__PURE__ */ a(k, { delayDuration: 0, children: /* @__PURE__ */ a(
116
+ return /* @__PURE__ */ i(Q.Provider, { value: I, children: /* @__PURE__ */ i(se, { delayDuration: 0, children: /* @__PURE__ */ i(
111
117
  "div",
112
118
  {
113
119
  "data-slot": "sidebar-wrapper",
114
120
  style: {
115
- "--sidebar-width": q,
116
- "--sidebar-width-icon": U,
117
- ...i
121
+ "--sidebar-width": Ie,
122
+ "--sidebar-width-icon": _e,
123
+ ...a
118
124
  },
119
- className: n(
125
+ className: c(
120
126
  "group/sidebar-wrapper has-data-[variant=inset]:bg-sidebar flex min-h-svh w-full",
121
127
  o
122
128
  ),
123
- ...l,
124
- children: d
129
+ ...d,
130
+ children: s
125
131
  }
126
132
  ) }) });
127
133
  }
128
- function X({
129
- side: t,
130
- openMobile: e,
131
- setOpenMobile: r,
134
+ function Ne({
135
+ side: e,
136
+ openMobile: r,
137
+ setOpenMobile: t,
132
138
  children: o,
133
- ...i
139
+ ...a
134
140
  }) {
135
- return /* @__PURE__ */ a(E, { open: e, onOpenChange: r, ...i, children: /* @__PURE__ */ p(
136
- z,
141
+ return /* @__PURE__ */ i(de, { open: r, onOpenChange: t, ...a, children: /* @__PURE__ */ E(
142
+ le,
137
143
  {
138
144
  "data-sidebar": "sidebar",
139
145
  "data-slot": "sidebar",
140
146
  "data-mobile": "true",
141
147
  className: "bg-sidebar text-sidebar-foreground w-(--sidebar-width) p-0 [&>button]:hidden",
142
148
  style: {
143
- "--sidebar-width": V
149
+ "--sidebar-width": De
144
150
  },
145
- side: t,
151
+ side: e,
146
152
  children: [
147
- /* @__PURE__ */ p(O, { className: "sr-only", children: [
148
- /* @__PURE__ */ a(R, { children: "Sidebar" }),
149
- /* @__PURE__ */ a(P, { 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." })
150
156
  ] }),
151
- /* @__PURE__ */ a("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 })
152
158
  ]
153
159
  }
154
160
  ) });
155
161
  }
156
- function J({
157
- side: t,
158
- variant: e,
159
- collapsible: r,
162
+ function Ee({
163
+ side: e,
164
+ variant: r,
165
+ collapsible: t,
160
166
  state: o,
161
- className: i,
162
- children: d,
163
- ...l
167
+ className: a,
168
+ children: s,
169
+ ...d
164
170
  }) {
165
- return /* @__PURE__ */ p(
171
+ return /* @__PURE__ */ E(
166
172
  "div",
167
173
  {
168
174
  className: "group peer text-sidebar-foreground hidden md:block",
169
175
  "data-state": o,
170
- "data-collapsible": o === "collapsed" ? r : "",
171
- "data-variant": e,
172
- "data-side": t,
176
+ "data-collapsible": o === "collapsed" ? t : "",
177
+ "data-variant": r,
178
+ "data-side": e,
173
179
  "data-slot": "sidebar",
174
180
  children: [
175
- /* @__PURE__ */ a(
181
+ /* @__PURE__ */ i(
176
182
  "div",
177
183
  {
178
184
  "data-slot": "sidebar-gap",
179
- className: n(
185
+ className: c(
180
186
  "relative w-(--sidebar-width) bg-transparent transition-[width] duration-200 ease-linear",
181
187
  "group-data-[collapsible=offcanvas]:w-0",
182
188
  "group-data-[side=right]:rotate-180",
183
- e === "floating" || e === "inset" ? "group-data-[collapsible=icon]:w-[calc(var(--sidebar-width-icon)+(--spacing(4)))]" : "group-data-[collapsible=icon]:w-(--sidebar-width-icon)"
189
+ r === "floating" || r === "inset" ? "group-data-[collapsible=icon]:w-[calc(var(--sidebar-width-icon)+(--spacing(4)))]" : "group-data-[collapsible=icon]:w-(--sidebar-width-icon)"
184
190
  )
185
191
  }
186
192
  ),
187
- /* @__PURE__ */ a(
193
+ /* @__PURE__ */ i(
188
194
  "div",
189
195
  {
190
196
  "data-slot": "sidebar-container",
191
- className: n(
197
+ className: c(
192
198
  "fixed inset-y-0 z-10 hidden h-svh w-(--sidebar-width) transition-[left,right,width] duration-200 ease-linear md:flex",
193
- t === "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)]",
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)]",
194
200
  // Adjust the padding for floating and inset variants.
195
- e === "floating" || e === "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",
196
- i
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",
202
+ a
197
203
  ),
198
- ...l,
199
- children: /* @__PURE__ */ a(
204
+ ...d,
205
+ children: /* @__PURE__ */ i(
200
206
  "div",
201
207
  {
202
208
  "data-sidebar": "sidebar",
203
209
  "data-slot": "sidebar-inner",
204
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",
205
- children: d
211
+ children: s
206
212
  }
207
213
  )
208
214
  }
@@ -211,62 +217,62 @@ function J({
211
217
  }
212
218
  );
213
219
  }
214
- function Pe({
215
- side: t = "left",
216
- variant: e = "sidebar",
217
- collapsible: r = "offcanvas",
220
+ function Bt({
221
+ side: e = "left",
222
+ variant: r = "sidebar",
223
+ collapsible: t = "offcanvas",
218
224
  className: o,
219
- children: i,
220
- ...d
225
+ children: a,
226
+ ...s
221
227
  }) {
222
- const { isMobile: l, state: u, openMobile: c, setOpenMobile: b } = I();
223
- return r === "none" ? /* @__PURE__ */ a(
228
+ const { isMobile: d, state: u, openMobile: b, setOpenMobile: m } = Z();
229
+ return t === "none" ? /* @__PURE__ */ i(
224
230
  "div",
225
231
  {
226
232
  "data-slot": "sidebar",
227
- className: n(
233
+ className: c(
228
234
  "bg-sidebar text-sidebar-foreground flex h-full w-(--sidebar-width) flex-col",
229
235
  o
230
236
  ),
231
- ...d,
232
- children: i
237
+ ...s,
238
+ children: a
233
239
  }
234
- ) : l ? /* @__PURE__ */ a(X, { side: t, openMobile: c, setOpenMobile: b, ...d, children: i }) : /* @__PURE__ */ a(
235
- J,
240
+ ) : d ? /* @__PURE__ */ i(Ne, { side: e, openMobile: b, setOpenMobile: m, ...s, children: a }) : /* @__PURE__ */ i(
241
+ Ee,
236
242
  {
237
- side: t,
238
- variant: e,
239
- collapsible: r,
243
+ side: e,
244
+ variant: r,
245
+ collapsible: t,
240
246
  state: u,
241
247
  className: o,
242
- ...d,
243
- children: i
248
+ ...s,
249
+ children: a
244
250
  }
245
251
  );
246
252
  }
247
- function Be({ className: t, onClick: e, ...r }) {
248
- return /* @__PURE__ */ p(
249
- L,
253
+ function Gt({ className: e, onClick: r, ...t }) {
254
+ return /* @__PURE__ */ E(
255
+ he,
250
256
  {
251
257
  "data-sidebar": "trigger",
252
258
  "data-slot": "sidebar-trigger",
253
259
  variant: "ghost",
254
260
  size: "icon",
255
- className: n("size-7", t),
261
+ className: c("size-7", e),
256
262
  onClick: (o) => {
257
- e == null || e(o);
263
+ r == null || r(o);
258
264
  },
259
265
  disabled: !0,
260
- ...r,
266
+ ...t,
261
267
  children: [
262
- /* @__PURE__ */ a(G, {}),
263
- /* @__PURE__ */ a("span", { className: "sr-only", children: "Toggle Sidebar" })
268
+ /* @__PURE__ */ i(pe, {}),
269
+ /* @__PURE__ */ i("span", { className: "sr-only", children: "Toggle Sidebar" })
264
270
  ]
265
271
  }
266
272
  );
267
273
  }
268
- function Ge({ className: t, ...e }) {
269
- return /* @__PURE__ */ a(
274
+ function Ht({ className: e, ...r }) {
275
+ return /* @__PURE__ */ i(
270
276
  "button",
271
277
  {
272
278
  "data-sidebar": "rail",
@@ -277,176 +283,176 @@ function Ge({ className: t, ...e }) {
277
283
  },
278
284
  title: "Toggle Sidebar",
279
285
  disabled: !0,
280
- className: n(
286
+ className: c(
281
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",
282
288
  "in-data-[side=left]:cursor-w-resize in-data-[side=right]:cursor-e-resize",
283
289
  "[[data-side=left][data-state=collapsed]_&]:cursor-e-resize [[data-side=right][data-state=collapsed]_&]:cursor-w-resize",
284
290
  "hover:group-data-[collapsible=offcanvas]:bg-sidebar group-data-[collapsible=offcanvas]:translate-x-0 group-data-[collapsible=offcanvas]:after:left-full",
285
291
  "[[data-side=left][data-collapsible=offcanvas]_&]:-right-2",
286
292
  "[[data-side=right][data-collapsible=offcanvas]_&]:-left-2",
287
- t
293
+ e
288
294
  ),
289
- ...e
295
+ ...r
290
296
  }
291
297
  );
292
298
  }
293
- function He({ className: t, ...e }) {
294
- return /* @__PURE__ */ a(
299
+ function zt({ className: e, ...r }) {
300
+ return /* @__PURE__ */ i(
295
301
  "main",
296
302
  {
297
303
  "data-slot": "sidebar-inset",
298
- className: n(
304
+ className: c(
299
305
  "bg-background relative flex w-full flex-1 flex-col",
300
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",
301
- t
307
+ e
302
308
  ),
303
- ...e
309
+ ...r
304
310
  }
305
311
  );
306
312
  }
307
- function Le({ className: t, ...e }) {
308
- return /* @__PURE__ */ a(
309
- H,
313
+ function Kt({ className: e, ...r }) {
314
+ return /* @__PURE__ */ i(
315
+ ge,
310
316
  {
311
317
  "data-slot": "sidebar-input",
312
318
  "data-sidebar": "input",
313
- className: n("bg-background h-10 w-full shadow-none", t),
314
- ...e
319
+ className: c("bg-background h-10 w-full shadow-none", e),
320
+ ...r
315
321
  }
316
322
  );
317
323
  }
318
- function We({ className: t, ...e }) {
319
- return /* @__PURE__ */ a(
324
+ function Ut({ className: e, ...r }) {
325
+ return /* @__PURE__ */ i(
320
326
  "div",
321
327
  {
322
328
  "data-slot": "sidebar-header",
323
329
  "data-sidebar": "header",
324
- className: n("flex flex-col gap-3 p-2", t),
325
- ...e
330
+ className: c("flex flex-col gap-3 p-2", e),
331
+ ...r
326
332
  }
327
333
  );
328
334
  }
329
- function Fe({ className: t, ...e }) {
330
- return /* @__PURE__ */ a(
335
+ function Wt({ className: e, ...r }) {
336
+ return /* @__PURE__ */ i(
331
337
  "div",
332
338
  {
333
339
  "data-slot": "sidebar-footer",
334
340
  "data-sidebar": "footer",
335
- className: n("flex flex-col gap-3 p-2", t),
336
- ...e
341
+ className: c("flex flex-col gap-3 p-2", e),
342
+ ...r
337
343
  }
338
344
  );
339
345
  }
340
- function je({ className: t, ...e }) {
341
- return /* @__PURE__ */ a(
342
- W,
346
+ function $t({ className: e, ...r }) {
347
+ return /* @__PURE__ */ i(
348
+ xe,
343
349
  {
344
350
  "data-slot": "sidebar-separator",
345
351
  "data-sidebar": "separator",
346
- className: n("bg-sidebar-border mx-2 w-auto", t),
347
- ...e
352
+ className: c("bg-sidebar-border mx-2 w-auto", e),
353
+ ...r
348
354
  }
349
355
  );
350
356
  }
351
- function Ke({ className: t, ...e }) {
352
- return /* @__PURE__ */ a(
357
+ function Jt({ className: e, ...r }) {
358
+ return /* @__PURE__ */ i(
353
359
  "div",
354
360
  {
355
361
  "data-slot": "sidebar-content",
356
362
  "data-sidebar": "content",
357
- className: n(
363
+ className: c(
358
364
  "flex min-h-0 flex-1 flex-col gap-3 overflow-auto group-data-[collapsible=icon]:overflow-hidden",
359
- t
365
+ e
360
366
  ),
361
- ...e
367
+ ...r
362
368
  }
363
369
  );
364
370
  }
365
- function $e({ className: t, ...e }) {
366
- return /* @__PURE__ */ a(
371
+ function Qt({ className: e, ...r }) {
372
+ return /* @__PURE__ */ i(
367
373
  "div",
368
374
  {
369
375
  "data-slot": "sidebar-group",
370
376
  "data-sidebar": "group",
371
- className: n("relative flex w-full min-w-0 flex-col p-2", t),
372
- ...e
377
+ className: c("relative flex w-full min-w-0 flex-col p-2", e),
378
+ ...r
373
379
  }
374
380
  );
375
381
  }
376
- function qe({
377
- className: t,
378
- asChild: e = !1,
379
- ...r
382
+ function Zt({
383
+ className: e,
384
+ asChild: r = !1,
385
+ ...t
380
386
  }) {
381
- return /* @__PURE__ */ a(
382
- e ? g : "div",
387
+ return /* @__PURE__ */ i(
388
+ r ? T : "div",
383
389
  {
384
390
  "data-slot": "sidebar-group-label",
385
391
  "data-sidebar": "group-label",
386
- className: n(
392
+ className: c(
387
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",
388
394
  "group-data-[collapsible=icon]:-mt-8 group-data-[collapsible=icon]:opacity-0",
389
- t
395
+ e
390
396
  ),
391
- ...r
397
+ ...t
392
398
  }
393
399
  );
394
400
  }
395
- function Ve({
396
- className: t,
397
- asChild: e = !1,
398
- ...r
401
+ function qt({
402
+ className: e,
403
+ asChild: r = !1,
404
+ ...t
399
405
  }) {
400
- return /* @__PURE__ */ a(
401
- e ? g : "button",
406
+ return /* @__PURE__ */ i(
407
+ r ? T : "button",
402
408
  {
403
409
  "data-slot": "sidebar-group-action",
404
410
  "data-sidebar": "group-action",
405
- className: n(
411
+ className: c(
406
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",
407
413
  // Increases the hit area of the button on mobile.
408
414
  "after:absolute after:-inset-2 md:after:hidden",
409
415
  "group-data-[collapsible=icon]:hidden",
410
- t
416
+ e
411
417
  ),
412
- ...r
418
+ ...t
413
419
  }
414
420
  );
415
421
  }
416
- function Ue({ className: t, ...e }) {
417
- return /* @__PURE__ */ a(
422
+ function Xt({ className: e, ...r }) {
423
+ return /* @__PURE__ */ i(
418
424
  "div",
419
425
  {
420
426
  "data-slot": "sidebar-group-content",
421
427
  "data-sidebar": "group-content",
422
- className: n("w-full text-sm", t),
423
- ...e
428
+ className: c("w-full text-sm", e),
429
+ ...r
424
430
  }
425
431
  );
426
432
  }
427
- function Xe({ className: t, ...e }) {
428
- return /* @__PURE__ */ a(
433
+ function Yt({ className: e, ...r }) {
434
+ return /* @__PURE__ */ i(
429
435
  "ul",
430
436
  {
431
437
  "data-slot": "sidebar-menu",
432
438
  "data-sidebar": "menu",
433
- className: n("flex w-full min-w-0 flex-col gap-1", t),
434
- ...e
439
+ className: c("flex w-full min-w-0 flex-col gap-1", e),
440
+ ...r
435
441
  }
436
442
  );
437
443
  }
438
- function Je({ className: t, ...e }) {
439
- return /* @__PURE__ */ a(
444
+ function jt({ className: e, ...r }) {
445
+ return /* @__PURE__ */ i(
440
446
  "li",
441
447
  {
442
448
  "data-slot": "sidebar-menu-item",
443
449
  "data-sidebar": "menu-item",
444
- className: n("group/menu-item relative", t),
445
- ...e
450
+ className: c("group/menu-item relative", e),
451
+ ...r
446
452
  }
447
453
  );
448
454
  }
449
- const Q = B(
455
+ const Te = be(
450
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",
451
457
  {
452
458
  variants: {
@@ -466,53 +472,53 @@ const Q = B(
466
472
  }
467
473
  }
468
474
  );
469
- function Qe({
470
- asChild: t = !1,
471
- isActive: e = !1,
472
- variant: r = "default",
475
+ function er({
476
+ asChild: e = !1,
477
+ isActive: r = !1,
478
+ variant: t = "default",
473
479
  size: o = "default",
474
- tooltip: i,
475
- className: d,
476
- ...l
480
+ tooltip: a,
481
+ className: s,
482
+ ...d
477
483
  }) {
478
- const u = t ? g : "button", { isMobile: c, state: b } = I(), f = /* @__PURE__ */ a(
484
+ const u = e ? T : "button", { isMobile: b, state: m } = Z(), p = /* @__PURE__ */ i(
479
485
  u,
480
486
  {
481
487
  "data-slot": "sidebar-menu-button",
482
488
  "data-sidebar": "menu-button",
483
489
  "data-size": o,
484
- "data-active": e,
485
- className: n(Q({ variant: r, size: o }), d),
486
- ...l
490
+ "data-active": r,
491
+ className: c(Te({ variant: t, size: o }), s),
492
+ ...d
487
493
  }
488
494
  );
489
- return i ? (typeof i == "string" && (i = {
490
- children: i
491
- }), /* @__PURE__ */ p(A, { children: [
492
- /* @__PURE__ */ a(y, { asChild: !0, children: f }),
493
- /* @__PURE__ */ a(
494
- _,
495
+ return a ? (typeof a == "string" && (a = {
496
+ children: a
497
+ }), /* @__PURE__ */ E(oe, { children: [
498
+ /* @__PURE__ */ i(ne, { asChild: !0, children: p }),
499
+ /* @__PURE__ */ i(
500
+ ie,
495
501
  {
496
502
  side: "right",
497
503
  align: "center",
498
- hidden: b !== "collapsed" || c,
499
- ...i
504
+ hidden: m !== "collapsed" || b,
505
+ ...a
500
506
  }
501
507
  )
502
- ] })) : f;
508
+ ] })) : p;
503
509
  }
504
- function Ye({
505
- className: t,
506
- asChild: e = !1,
507
- showOnHover: r = !1,
510
+ function tr({
511
+ className: e,
512
+ asChild: r = !1,
513
+ showOnHover: t = !1,
508
514
  ...o
509
515
  }) {
510
- return /* @__PURE__ */ a(
511
- e ? g : "button",
516
+ return /* @__PURE__ */ i(
517
+ r ? T : "button",
512
518
  {
513
519
  "data-slot": "sidebar-menu-action",
514
520
  "data-sidebar": "menu-action",
515
- className: n(
521
+ className: c(
516
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",
517
523
  // Increases the hit area of the button on mobile.
518
524
  "after:absolute after:-inset-2 md:after:hidden",
@@ -520,50 +526,50 @@ function Ye({
520
526
  "peer-data-[size=default]/menu-button:top-1.5",
521
527
  "peer-data-[size=lg]/menu-button:top-2.5",
522
528
  "group-data-[collapsible=icon]:hidden",
523
- r && "peer-data-[active=true]/menu-button:text-sidebar-accent-foreground group-focus-within/menu-item:opacity-100 group-hover/menu-item:opacity-100 data-[state=open]:opacity-100 md:opacity-0",
524
- t
529
+ t && "peer-data-[active=true]/menu-button:text-sidebar-accent-foreground group-focus-within/menu-item:opacity-100 group-hover/menu-item:opacity-100 data-[state=open]:opacity-100 md:opacity-0",
530
+ e
525
531
  ),
526
532
  ...o
527
533
  }
528
534
  );
529
535
  }
530
- function Ze({ className: t, ...e }) {
531
- return /* @__PURE__ */ a(
536
+ function rr({ className: e, ...r }) {
537
+ return /* @__PURE__ */ i(
532
538
  "div",
533
539
  {
534
540
  "data-slot": "sidebar-menu-badge",
535
541
  "data-sidebar": "menu-badge",
536
- className: n(
542
+ className: c(
537
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",
538
544
  "peer-hover/menu-button:text-sidebar-accent-foreground peer-data-[active=true]/menu-button:text-sidebar-accent-foreground",
539
545
  "peer-data-[size=sm]/menu-button:top-1",
540
546
  "peer-data-[size=default]/menu-button:top-1.5",
541
547
  "peer-data-[size=lg]/menu-button:top-2.5",
542
548
  "group-data-[collapsible=icon]:hidden",
543
- t
549
+ e
544
550
  ),
545
- ...e
551
+ ...r
546
552
  }
547
553
  );
548
554
  }
549
- const Y = 50, Z = 40;
550
- function et({
551
- className: t,
552
- showIcon: e = !1,
553
- ...r
555
+ const Fe = 50, Pe = 40;
556
+ function ar({
557
+ className: e,
558
+ showIcon: r = !1,
559
+ ...t
554
560
  }) {
555
- const o = s.useMemo(() => `${Math.floor(Math.random() * Z) + Y}%`, []);
556
- return /* @__PURE__ */ p(
561
+ const o = f.useMemo(() => `${Math.floor(Math.random() * Pe) + Fe}%`, []);
562
+ return /* @__PURE__ */ E(
557
563
  "div",
558
564
  {
559
565
  "data-slot": "sidebar-menu-skeleton",
560
566
  "data-sidebar": "menu-skeleton",
561
- className: n("flex h-10 items-center gap-3 rounded-md px-2", t),
562
- ...r,
567
+ className: c("flex h-10 items-center gap-3 rounded-md px-2", e),
568
+ ...t,
563
569
  children: [
564
- e && /* @__PURE__ */ a(C, { className: "size-6 rounded-md", "data-sidebar": "menu-skeleton-icon" }),
565
- /* @__PURE__ */ a(
566
- C,
570
+ r && /* @__PURE__ */ i(z, { className: "size-6 rounded-md", "data-sidebar": "menu-skeleton-icon" }),
571
+ /* @__PURE__ */ i(
572
+ z,
567
573
  {
568
574
  className: "h-4 max-w-(--skeleton-width) flex-1",
569
575
  "data-sidebar": "menu-skeleton-text",
@@ -576,221 +582,552 @@ function et({
576
582
  }
577
583
  );
578
584
  }
579
- function tt({ className: t, ...e }) {
580
- return /* @__PURE__ */ a(
585
+ function or({ className: e, ...r }) {
586
+ return /* @__PURE__ */ i(
581
587
  "ul",
582
588
  {
583
589
  "data-slot": "sidebar-menu-sub",
584
590
  "data-sidebar": "menu-sub",
585
- className: n(
591
+ className: c(
586
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",
587
593
  "group-data-[collapsible=icon]:hidden",
588
- t
594
+ e
589
595
  ),
590
- ...e
596
+ ...r
591
597
  }
592
598
  );
593
599
  }
594
- function at({ className: t, ...e }) {
595
- return /* @__PURE__ */ a(
600
+ function nr({ className: e, ...r }) {
601
+ return /* @__PURE__ */ i(
596
602
  "li",
597
603
  {
598
604
  "data-slot": "sidebar-menu-sub-item",
599
605
  "data-sidebar": "menu-sub-item",
600
- className: n("group/menu-sub-item relative", t),
601
- ...e
606
+ className: c("group/menu-sub-item relative", e),
607
+ ...r
602
608
  }
603
609
  );
604
610
  }
605
- function rt({
606
- asChild: t = !1,
607
- size: e = "md",
608
- isActive: r = !1,
611
+ function ir({
612
+ asChild: e = !1,
613
+ size: r = "md",
614
+ isActive: t = !1,
609
615
  className: o,
610
- ...i
616
+ ...a
611
617
  }) {
612
- return /* @__PURE__ */ a(
613
- t ? g : "a",
618
+ return /* @__PURE__ */ i(
619
+ e ? T : "a",
614
620
  {
615
621
  "data-slot": "sidebar-menu-sub-button",
616
622
  "data-sidebar": "menu-sub-button",
617
- "data-size": e,
618
- "data-active": r,
619
- className: n(
623
+ "data-size": r,
624
+ "data-active": t,
625
+ className: c(
620
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",
621
627
  "data-[active=true]:bg-sidebar-accent data-[active=true]:text-sidebar-accent-foreground",
622
- e === "sm" && "text-xs",
623
- e === "md" && "text-sm",
628
+ r === "sm" && "text-xs",
629
+ r === "md" && "text-sm",
624
630
  "group-data-[collapsible=icon]:hidden",
625
631
  o
626
632
  ),
627
- ...i
633
+ ...a
628
634
  }
629
635
  );
630
636
  }
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) => {
640
+ const r = e.constructor && e.constructor.prototype;
641
+ return N(r) && r.hasOwnProperty("isPrototypeOf");
642
+ }, Be = typeof window < "u" && typeof window.HTMLElement < "u" && typeof document < "u";
643
+ function X(e) {
644
+ let r;
645
+ const t = Array.isArray(e), o = typeof FileList < "u" ? e instanceof FileList : !1;
646
+ if (e instanceof Date)
647
+ r = new Date(e);
648
+ else if (!(Be && (e instanceof Blob || o)) && (t || N(e)))
649
+ if (r = t ? [] : Object.create(Object.getPrototypeOf(e)), !t && !Le(e))
650
+ r = e;
651
+ else
652
+ for (const a in e)
653
+ e.hasOwnProperty(a) && (r[a] = X(e[a]));
654
+ else
655
+ return e;
656
+ return r;
657
+ }
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) => {
659
+ if (!r || !N(e))
660
+ return t;
661
+ const o = (Y(r) ? [r] : j(r)).reduce((a, s) => G(a) ? a : a[s], e);
662
+ return B(o) || o === e ? B(e[r]) ? t : e[r] : o;
663
+ }, L = (e) => typeof e == "boolean", K = (e, r, t) => {
664
+ let 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]) ? {} : [];
672
+ }
673
+ if (u === "__proto__" || u === "constructor" || u === "prototype")
674
+ return;
675
+ e[u] = b, e = e[u];
676
+ }
677
+ };
678
+ const U = {
679
+ BLUR: "blur",
680
+ CHANGE: "change"
681
+ }, W = {
682
+ all: "all"
683
+ }, H = l.createContext(null);
684
+ H.displayName = "HookFormContext";
685
+ const R = () => l.useContext(H), He = (e) => {
686
+ const { children: r, ...t } = e;
687
+ return l.createElement(H.Provider, { value: t }, r);
688
+ };
689
+ var ze = (e, r, t, o = !0) => {
690
+ const a = {
691
+ defaultValues: r._defaultValues
692
+ };
693
+ for (const s in e)
694
+ Object.defineProperty(a, s, {
695
+ get: () => {
696
+ const d = s;
697
+ return r._proxyFormState[d] !== W.all && (r._proxyFormState[d] = !o || W.all), t && (t[d] = !0), e[d];
698
+ }
699
+ });
700
+ return a;
701
+ };
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({
705
+ isDirty: !1,
706
+ isLoading: !1,
707
+ dirtyFields: !1,
708
+ touchedFields: !1,
709
+ validatingFields: !1,
710
+ isValidating: !1,
711
+ isValid: !1,
712
+ errors: !1
713
+ });
714
+ return ee(() => t._subscribe({
715
+ name: a,
716
+ formState: b.current,
717
+ exact: s,
718
+ callback: (m) => {
719
+ !o && u({
720
+ ...t._formState,
721
+ ...m
722
+ });
723
+ }
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]);
727
+ }
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))
731
+ return e === r;
732
+ if (F(e) && F(r))
733
+ return e.getTime() === r.getTime();
734
+ const o = Object.keys(e), a = Object.keys(r);
735
+ if (o.length !== a.length)
736
+ return !1;
737
+ if (t.has(e) || t.has(r))
738
+ return !0;
739
+ t.add(e), t.add(r);
740
+ for (const s of o) {
741
+ const d = e[s];
742
+ if (!a.includes(s))
743
+ return !1;
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)
747
+ return !1;
748
+ }
749
+ }
750
+ return !0;
751
+ }
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);
767
+ } else
768
+ y(C);
769
+ }
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({
772
+ name: o,
773
+ formState: {
774
+ values: !0
775
+ },
776
+ exact: d,
777
+ callback: (g) => {
778
+ I(g.values);
779
+ }
780
+ })), [t, d, o, I]), l.useEffect(() => t._removeUnmounted());
781
+ const S = A.current !== t, w = v.current, h = l.useMemo(() => {
782
+ if (s)
783
+ return null;
784
+ const g = !S && !P(w, o);
785
+ return S || g ? M() : null;
786
+ }, [s, S, o, w, M]);
787
+ return h !== null ? h : _;
788
+ }
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({
791
+ control: a,
792
+ name: t,
793
+ defaultValue: b,
794
+ exact: !0
795
+ }), p = Ke({
796
+ control: a,
797
+ name: t,
798
+ exact: !0
799
+ }), A = l.useRef(e), v = l.useRef(void 0), _ = l.useRef(a.register(t, {
800
+ ...e.rules,
801
+ value: m,
802
+ ...L(e.disabled) ? { disabled: e.disabled } : {}
803
+ }));
804
+ A.current = e;
805
+ const y = l.useMemo(() => Object.defineProperties({}, {
806
+ invalid: {
807
+ enumerable: !0,
808
+ get: () => !!x(p.errors, t)
809
+ },
810
+ isDirty: {
811
+ enumerable: !0,
812
+ get: () => !!x(p.dirtyFields, t)
813
+ },
814
+ isTouched: {
815
+ enumerable: !0,
816
+ get: () => !!x(p.touchedFields, t)
817
+ },
818
+ isValidating: {
819
+ enumerable: !0,
820
+ get: () => !!x(p.validatingFields, t)
821
+ },
822
+ error: {
823
+ enumerable: !0,
824
+ get: () => x(p.errors, t)
825
+ }
826
+ }), [p, t]), M = l.useCallback((h) => _.current.onChange({
827
+ target: {
828
+ value: ke(h),
829
+ name: t
830
+ },
831
+ type: U.CHANGE
832
+ }), [t]), I = l.useCallback(() => _.current.onBlur({
833
+ target: {
834
+ value: x(a._formValues, t),
835
+ name: t
836
+ },
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()
845
+ });
846
+ }, [a._fields, t]), w = l.useMemo(() => ({
847
+ name: t,
848
+ value: m,
849
+ ...L(o) || p.disabled ? { disabled: p.disabled || o } : {},
850
+ onChange: M,
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 } : {}
859
+ });
860
+ const C = (D, ae) => {
861
+ const O = x(a._fields, D);
862
+ O && O._f && (O._f.mount = ae);
863
+ };
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);
867
+ }
868
+ return !u && a.register(t), v.current = t, () => {
869
+ (u ? h && !a._state.action : h) ? a.unregister(t) : C(t, !1);
870
+ };
871
+ }, [t, a, u, s]), l.useEffect(() => {
872
+ a._setDisabledField({
873
+ disabled: o,
874
+ name: t
875
+ });
876
+ }, [o, t, a]), l.useMemo(() => ({
877
+ field: w,
878
+ formState: p,
879
+ fieldState: y
880
+ }), [w, p, y]);
881
+ }
882
+ const Je = (e) => e.render($e(e)), sr = He, te = f.createContext(null), dr = ({
883
+ ...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();
886
+ if (!e)
887
+ throw new Error("useFormField should be used within <FormField>");
888
+ if (!r)
889
+ throw new Error("useFormField should be used within <FormItem>");
890
+ const a = t(e.name, o), { id: s } = r;
891
+ return {
892
+ id: s,
893
+ name: e.name,
894
+ formItemId: `${s}-form-item`,
895
+ formDescriptionId: `${s}-form-item-description`,
896
+ formMessageId: `${s}-form-item-message`,
897
+ ...a
898
+ };
899
+ }, re = f.createContext(null), Qe = f.forwardRef(
900
+ ({ className: e, ...r }, t) => {
901
+ const o = f.useId();
902
+ return /* @__PURE__ */ i(re.Provider, { value: { id: o }, children: /* @__PURE__ */ i("div", { ref: t, className: c("space-y-2", e), ...r }) });
903
+ }
904
+ );
905
+ Qe.displayName = "FormItem";
906
+ const Ze = f.forwardRef(({ className: e, ...r }, t) => {
907
+ const { error: o, formItemId: a } = k();
908
+ return /* @__PURE__ */ i(
909
+ fe,
910
+ {
911
+ ref: t,
912
+ className: c(o && "text-destructive", e),
913
+ htmlFor: a,
914
+ ...r
915
+ }
916
+ );
917
+ });
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,
923
+ {
924
+ ref: r,
925
+ id: o,
926
+ "aria-describedby": t ? `${a} ${s}` : `${a}`,
927
+ "aria-invalid": !!t,
928
+ ...e
929
+ }
930
+ );
931
+ });
932
+ qe.displayName = "FormControl";
933
+ const Xe = f.forwardRef(({ className: e, ...r }, t) => {
934
+ const { formDescriptionId: o } = k();
935
+ return /* @__PURE__ */ i(
936
+ "p",
937
+ {
938
+ ref: t,
939
+ id: o,
940
+ className: c("text-[0.8rem] text-muted-foreground", e),
941
+ ...r
942
+ }
943
+ );
944
+ });
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(
949
+ "p",
950
+ {
951
+ ref: o,
952
+ id: s,
953
+ className: c("font-medium text-[0.8rem] text-destructive", e),
954
+ ...t,
955
+ children: d
956
+ }
957
+ ) : null;
958
+ });
959
+ Ye.displayName = "FormMessage";
631
960
  export {
632
- Lt as Accordion,
633
- Wt as AccordionContent,
634
- Ft as AccordionItem,
635
- jt as AccordionTrigger,
636
- st as AlertDialog,
637
- lt as AlertDialogAction,
638
- ut as AlertDialogCancel,
639
- ct as AlertDialogContent,
640
- bt as AlertDialogDescription,
641
- pt as AlertDialogFooter,
642
- mt as AlertDialogHeader,
643
- gt as AlertDialogOverlay,
644
- ft as AlertDialogPortal,
645
- ht as AlertDialogTitle,
646
- xt as AlertDialogTrigger,
647
- $t as Avatar,
648
- qt as AvatarFallback,
649
- Vt as AvatarImage,
650
- wt as Calendar,
651
- St as CalendarDayButton,
652
- Ct as Carousel,
653
- Dt as CarouselContent,
654
- It as CarouselItem,
655
- Tt as CarouselNext,
656
- Nt as CarouselPrevious,
657
- Xt as Checkbox,
658
- yt as Combobox,
659
- qa as Command,
660
- Va as CommandDialog,
661
- Ua as CommandEmpty,
662
- Xa as CommandGroup,
663
- Ja as CommandInput,
664
- Qa as CommandItem,
665
- Ya as CommandList,
666
- Za as CommandSeparator,
667
- er as CommandShortcut,
668
- Qt as ContextMenu,
669
- Yt as ContextMenuCheckboxItem,
670
- Zt as ContextMenuContent,
671
- ea as ContextMenuGroup,
672
- ta as ContextMenuItem,
673
- aa as ContextMenuLabel,
674
- ra as ContextMenuPortal,
675
- oa as ContextMenuRadioGroup,
676
- na as ContextMenuRadioItem,
677
- ia as ContextMenuSeparator,
678
- da as ContextMenuShortcut,
679
- sa as ContextMenuSub,
680
- la as ContextMenuSubContent,
681
- ua as ContextMenuSubTrigger,
682
- ca as ContextMenuTrigger,
683
- ar as Dialog,
684
- rr as DialogClose,
685
- or as DialogContent,
686
- nr as DialogDescription,
687
- ir as DialogFooter,
688
- dr as DialogHeader,
689
- sr as DialogOverlay,
690
- lr as DialogPortal,
691
- ur as DialogTitle,
692
- cr as DialogTrigger,
693
- pr as Drawer,
694
- mr as DrawerClose,
695
- gr as DrawerContent,
696
- fr as DrawerDescription,
697
- hr as DrawerFooter,
698
- xr as DrawerHeader,
699
- vr as DrawerOverlay,
700
- wr as DrawerPortal,
701
- Sr as DrawerTitle,
702
- Mr as DrawerTrigger,
703
- pa as DropdownMenu,
704
- ma as DropdownMenuCheckboxItem,
705
- ga as DropdownMenuContent,
706
- fa as DropdownMenuGroup,
707
- ha as DropdownMenuItem,
708
- xa as DropdownMenuLabel,
709
- va as DropdownMenuPortal,
710
- wa as DropdownMenuRadioGroup,
711
- Sa as DropdownMenuRadioItem,
712
- Ma as DropdownMenuSeparator,
713
- Ca as DropdownMenuShortcut,
714
- Da as DropdownMenuSub,
715
- Ia as DropdownMenuSubContent,
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,
716
1045
  Ta as DropdownMenuSubTrigger,
717
- Na as DropdownMenuTrigger,
718
- ya as HoverCard,
719
- _a as HoverCardContent,
720
- ka as HoverCardTrigger,
721
- kt as InputOTP,
722
- Et as InputOTPGroup,
723
- zt as InputOTPSeparator,
724
- Ot as InputOTPSlot,
725
- Er as Label,
726
- Or as Menubar,
727
- Rr as MenubarCheckboxItem,
728
- Pr as MenubarContent,
729
- Br as MenubarGroup,
730
- Gr as MenubarItem,
731
- Hr as MenubarLabel,
732
- Lr as MenubarMenu,
733
- Wr as MenubarPortal,
734
- Fr as MenubarRadioGroup,
735
- jr as MenubarRadioItem,
736
- Kr as MenubarSeparator,
737
- $r as MenubarShortcut,
738
- qr as MenubarSub,
739
- Vr as MenubarSubContent,
740
- Ur as MenubarSubTrigger,
741
- Xr as MenubarTrigger,
742
- Qr as Popover,
743
- Yr as PopoverAnchor,
744
- Zr as PopoverContent,
745
- eo as PopoverTrigger,
746
- Gt as Progress,
747
- za as RadioGroup,
748
- Oa as RadioGroupItem,
749
- Pa as ScrollArea,
750
- Ba as ScrollBar,
751
- E as Sheet,
752
- Dr as SheetClose,
753
- z as SheetContent,
754
- P as SheetDescription,
755
- Ir as SheetFooter,
756
- O as SheetHeader,
757
- R as SheetTitle,
758
- Tr as SheetTrigger,
759
- Pe as Sidebar,
760
- Ke as SidebarContent,
761
- Fe as SidebarFooter,
762
- $e as SidebarGroup,
763
- Ve as SidebarGroupAction,
764
- Ue as SidebarGroupContent,
765
- qe as SidebarGroupLabel,
766
- We as SidebarHeader,
767
- Le as SidebarInput,
768
- He as SidebarInset,
769
- Xe as SidebarMenu,
770
- Ye as SidebarMenuAction,
771
- Ze as SidebarMenuBadge,
772
- Qe as SidebarMenuButton,
773
- Je as SidebarMenuItem,
774
- et as SidebarMenuSkeleton,
775
- tt as SidebarMenuSub,
776
- rt as SidebarMenuSubButton,
777
- at as SidebarMenuSubItem,
778
- Re as SidebarProvider,
779
- Ge as SidebarRail,
780
- je as SidebarSeparator,
781
- Be as SidebarTrigger,
782
- Pt as Slider,
783
- Ha as Switch,
784
- Wa as Tabs,
785
- Fa as TabsContent,
786
- ja as TabsList,
787
- Ka as TabsTrigger,
788
- it as TextReveal,
789
- Ar as Toaster,
790
- _r as Toggle,
791
- A as Tooltip,
792
- _ as TooltipContent,
793
- k as TooltipProvider,
794
- y as TooltipTrigger,
795
- I as useSidebar
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,
1061
+ fe as Label,
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
796
1133
  };