@plyaz/ui 0.7.20 → 0.8.0

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