@me1a/ui 2.0.3 → 2.0.4

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/index.d.mts CHANGED
@@ -16,6 +16,8 @@ import { Drawer as Drawer$1 } from 'vaul';
16
16
  import * as DropdownMenuPrimitive from '@radix-ui/react-dropdown-menu';
17
17
  import { ClassValue } from 'clsx';
18
18
 
19
+ type ButtonVariant = "default" | "destructive" | "outline" | "secondary" | "ghost" | "link";
20
+ type ButtonSize = "default" | "sm" | "lg" | "icon";
19
21
  /**
20
22
  * Props interface for the Button component.
21
23
  * Extends the native button HTML attributes and adds support for variants and asChild prop.
@@ -26,8 +28,8 @@ import { ClassValue } from 'clsx';
26
28
  * @extends {VariantProps<typeof buttonVariants>}
27
29
  *
28
30
  * @property {boolean} [asChild] - When true, renders the button as a child component using Radix UI's Slot.
29
- * @property {string} [variant] - The visual style variant of the button.
30
- * @property {string} [size] - The size variant of the button.
31
+ * @property {ButtonVariant} [variant] - The visual style variant of the button.
32
+ * @property {ButtonSize} [size] - The size variant of the button.
31
33
  * @property {string} [className] - Additional CSS classes to apply to the button.
32
34
  * @property {React.ReactNode} [startIcon] - Icon to display before the button text.
33
35
  * @property {React.ReactNode} [endIcon] - Icon to display after the button text.
@@ -37,6 +39,8 @@ import { ClassValue } from 'clsx';
37
39
  */
38
40
  interface ButtonProps extends React$1.ButtonHTMLAttributes<HTMLButtonElement>, VariantProps<typeof buttonVariants> {
39
41
  asChild?: boolean;
42
+ variant?: ButtonVariant;
43
+ size?: ButtonSize;
40
44
  startIcon?: React$1.ReactNode;
41
45
  endIcon?: React$1.ReactNode;
42
46
  loading?: boolean;
@@ -194,10 +198,15 @@ declare const Container: React$1.ForwardRefExoticComponent<ContainerProps & Reac
194
198
  *
195
199
  * // With custom className
196
200
  * <Box className="bg-primary text-white p-4">Styled content</Box>
201
+ *
202
+ * // With custom dimensions
203
+ * <Box width="100px" height="200px">Fixed size content</Box>
204
+ * <Box width="50%" height="auto">Responsive content</Box>
197
205
  * ```
198
206
  */
199
207
 
200
208
  type BoxComponent = "div" | "span" | "section" | "article" | "main" | "aside" | "header" | "footer" | "nav";
209
+ type DimensionValue = string | number;
201
210
  interface BoxProps extends React$1.HTMLAttributes<HTMLDivElement> {
202
211
  /**
203
212
  * The HTML element to render the Box as.
@@ -206,6 +215,16 @@ interface BoxProps extends React$1.HTMLAttributes<HTMLDivElement> {
206
215
  * @default "div"
207
216
  */
208
217
  as?: BoxComponent;
218
+ /**
219
+ * The width of the Box component.
220
+ * Can be a number (interpreted as pixels) or a string (e.g., "100%", "50px", "10rem").
221
+ */
222
+ width?: DimensionValue;
223
+ /**
224
+ * The height of the Box component.
225
+ * Can be a number (interpreted as pixels) or a string (e.g., "100%", "50px", "10rem").
226
+ */
227
+ height?: DimensionValue;
209
228
  }
210
229
  declare const Box: React$1.ForwardRefExoticComponent<BoxProps & React$1.RefAttributes<HTMLDivElement>>;
211
230
 
@@ -242,6 +261,11 @@ declare const Box: React$1.ForwardRefExoticComponent<BoxProps & React$1.RefAttri
242
261
  * <div>Center</div>
243
262
  * <div>Right</div>
244
263
  * </Stack>
264
+ *
265
+ * // Stack with custom dimensions
266
+ * <Stack width="100%" height="200px">
267
+ * <div>Full width, fixed height stack</div>
268
+ * </Stack>
245
269
  * ```
246
270
  */
247
271
 
@@ -303,6 +327,20 @@ interface StackProps extends React$1.HTMLAttributes<HTMLDivElement> {
303
327
  * @default undefined
304
328
  */
305
329
  align?: "start" | "end" | "center" | "stretch" | "baseline";
330
+ /**
331
+ * The width of the stack container.
332
+ * Can be any valid CSS width value (e.g., "100%", "200px", "50vw").
333
+ *
334
+ * @default undefined
335
+ */
336
+ width?: string;
337
+ /**
338
+ * The height of the stack container.
339
+ * Can be any valid CSS height value (e.g., "100%", "200px", "50vh").
340
+ *
341
+ * @default undefined
342
+ */
343
+ height?: string;
306
344
  }
307
345
  declare const Stack: React$1.ForwardRefExoticComponent<StackProps & React$1.RefAttributes<HTMLDivElement>>;
308
346
 
@@ -333,7 +371,7 @@ declare const SheetClose: React$1.ForwardRefExoticComponent<DialogPrimitive.Dial
333
371
  declare const SheetPortal: React$1.FC<DialogPrimitive.DialogPortalProps>;
334
372
  declare const SheetOverlay: React$1.ForwardRefExoticComponent<Omit<DialogPrimitive.DialogOverlayProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
335
373
  declare const sheetVariants: (props?: ({
336
- side?: "top" | "bottom" | "left" | "right" | null | undefined;
374
+ side?: "left" | "right" | "bottom" | "top" | null | undefined;
337
375
  } & class_variance_authority_dist_types.ClassProp) | undefined) => string;
338
376
  interface SheetContentProps extends React$1.ComponentPropsWithoutRef<typeof DialogPrimitive.Content>, VariantProps<typeof sheetVariants> {
339
377
  }
@@ -531,6 +569,18 @@ declare const FormDescription: React$1.ForwardRefExoticComponent<FormDescription
531
569
  */
532
570
  declare const FormMessage: React$1.ForwardRefExoticComponent<FormMessageProps & React$1.RefAttributes<HTMLParagraphElement>>;
533
571
 
572
+ declare const typographyVariants: (props?: ({
573
+ variant?: "list" | "small" | "blockquote" | "h1" | "h2" | "h3" | "h4" | "h5" | "h6" | "p" | "muted" | "large" | "lead" | null | undefined;
574
+ align?: "center" | "left" | "right" | "justify" | null | undefined;
575
+ } & class_variance_authority_dist_types.ClassProp) | undefined) => string;
576
+ interface TypographyProps extends React$1.HTMLAttributes<HTMLElement>, VariantProps<typeof typographyVariants> {
577
+ as?: React$1.ElementType;
578
+ }
579
+ declare const Typography: React$1.ForwardRefExoticComponent<TypographyProps & React$1.RefAttributes<HTMLElement>>;
580
+
581
+ type TypographyVariant = NonNullable<VariantProps<typeof typographyVariants>["variant"]>;
582
+ type TypographyAlign = NonNullable<VariantProps<typeof typographyVariants>["align"]>;
583
+
534
584
  /**
535
585
  * Card is a flexible container component that can be used to group related content and actions.
536
586
  * It provides a consistent visual style with a subtle border, shadow, and rounded corners.
@@ -1216,6 +1266,8 @@ interface DropdownMenuRadioGroupProps {
1216
1266
  onValueChange?: (value: string) => void;
1217
1267
  }
1218
1268
 
1269
+ declare function useIsMobile(): boolean;
1270
+
1219
1271
  declare function cn(...inputs: ClassValue[]): string;
1220
1272
 
1221
- export { Avatar, AvatarFallback, type AvatarFallbackProps, AvatarImage, type AvatarImageProps, type AvatarProps, Badge, type BadgeProps, Box, type BoxProps, Button, Card, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, Container, type ContainerProps, Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger, Drawer, DrawerClose, DrawerContent, DrawerDescription, DrawerFooter, DrawerHeader, DrawerOverlay, DrawerPortal, DrawerTitle, DrawerTrigger, DropdownMenu, DropdownMenuCheckboxItem, type DropdownMenuCheckboxItemProps, DropdownMenuContent, type DropdownMenuContentProps, DropdownMenuGroup, type DropdownMenuGroupProps, DropdownMenuItem, type DropdownMenuItemProps, DropdownMenuLabel, type DropdownMenuLabelProps, DropdownMenuPortal, type DropdownMenuPortalProps, type DropdownMenuProps, DropdownMenuRadioGroup, type DropdownMenuRadioGroupProps, DropdownMenuRadioItem, type DropdownMenuRadioItemProps, DropdownMenuSeparator, type DropdownMenuSeparatorProps, DropdownMenuShortcut, type DropdownMenuShortcutProps, DropdownMenuSub, DropdownMenuSubContent, type DropdownMenuSubContentProps, type DropdownMenuSubProps, DropdownMenuSubTrigger, type DropdownMenuSubTriggerProps, DropdownMenuTrigger, type DropdownMenuTriggerProps, Form, FormControl, type FormControlProps, FormDescription, type FormDescriptionProps, FormField, type FormFieldContextValue, type FormFieldProps, FormItem, type FormItemContextValue, type FormItemProps, FormLabel, type FormLabelProps, FormMessage, type FormMessageProps, type FormProps, Input, NavigationMenu, NavigationMenuContent, type NavigationMenuContentProps, NavigationMenuIndicator, type NavigationMenuIndicatorProps, NavigationMenuItem, type NavigationMenuItemProps, NavigationMenuLink, type NavigationMenuLinkProps, NavigationMenuList, type NavigationMenuListProps, type NavigationMenuProps, NavigationMenuTrigger, type NavigationMenuTriggerProps, NavigationMenuViewport, type NavigationMenuViewportProps, RHFTextField, Separator, Sheet, SheetClose, SheetContent, SheetDescription, SheetFooter, SheetHeader, SheetOverlay, SheetPortal, SheetTitle, SheetTrigger, Sidebar, SidebarContent, type SidebarContextProps, SidebarFooter, SidebarGroup, SidebarGroupAction, type SidebarGroupActionProps, SidebarGroupContent, SidebarGroupLabel, type SidebarGroupLabelProps, SidebarHeader, SidebarInput, SidebarInset, SidebarMenu, SidebarMenuAction, type SidebarMenuActionProps, SidebarMenuBadge, SidebarMenuButton, type SidebarMenuButtonProps, SidebarMenuItem, SidebarMenuSkeleton, type SidebarMenuSkeletonProps, SidebarMenuSub, SidebarMenuSubButton, type SidebarMenuSubButtonProps, SidebarMenuSubItem, type SidebarProps, SidebarProvider, type SidebarProviderProps, SidebarRail, SidebarSeparator, SidebarTrigger, Skeleton, Stack, type StackProps, TextField, Tooltip, TooltipContent, TooltipProvider, TooltipTrigger, badgeVariants, buttonVariants, cn, sidebarMenuButtonVariants, textFieldVariants, useFormField, useSidebar };
1273
+ export { Avatar, AvatarFallback, type AvatarFallbackProps, AvatarImage, type AvatarImageProps, type AvatarProps, Badge, type BadgeProps, Box, type BoxProps, Button, Card, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, Container, type ContainerProps, Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger, Drawer, DrawerClose, DrawerContent, DrawerDescription, DrawerFooter, DrawerHeader, DrawerOverlay, DrawerPortal, DrawerTitle, DrawerTrigger, DropdownMenu, DropdownMenuCheckboxItem, type DropdownMenuCheckboxItemProps, DropdownMenuContent, type DropdownMenuContentProps, DropdownMenuGroup, type DropdownMenuGroupProps, DropdownMenuItem, type DropdownMenuItemProps, DropdownMenuLabel, type DropdownMenuLabelProps, DropdownMenuPortal, type DropdownMenuPortalProps, type DropdownMenuProps, DropdownMenuRadioGroup, type DropdownMenuRadioGroupProps, DropdownMenuRadioItem, type DropdownMenuRadioItemProps, DropdownMenuSeparator, type DropdownMenuSeparatorProps, DropdownMenuShortcut, type DropdownMenuShortcutProps, DropdownMenuSub, DropdownMenuSubContent, type DropdownMenuSubContentProps, type DropdownMenuSubProps, DropdownMenuSubTrigger, type DropdownMenuSubTriggerProps, DropdownMenuTrigger, type DropdownMenuTriggerProps, Form, FormControl, type FormControlProps, FormDescription, type FormDescriptionProps, FormField, type FormFieldContextValue, type FormFieldProps, FormItem, type FormItemContextValue, type FormItemProps, FormLabel, type FormLabelProps, FormMessage, type FormMessageProps, type FormProps, Input, NavigationMenu, NavigationMenuContent, type NavigationMenuContentProps, NavigationMenuIndicator, type NavigationMenuIndicatorProps, NavigationMenuItem, type NavigationMenuItemProps, NavigationMenuLink, type NavigationMenuLinkProps, NavigationMenuList, type NavigationMenuListProps, type NavigationMenuProps, NavigationMenuTrigger, type NavigationMenuTriggerProps, NavigationMenuViewport, type NavigationMenuViewportProps, RHFTextField, Separator, Sheet, SheetClose, SheetContent, SheetDescription, SheetFooter, SheetHeader, SheetOverlay, SheetPortal, SheetTitle, SheetTrigger, Sidebar, SidebarContent, type SidebarContextProps, SidebarFooter, SidebarGroup, SidebarGroupAction, type SidebarGroupActionProps, SidebarGroupContent, SidebarGroupLabel, type SidebarGroupLabelProps, SidebarHeader, SidebarInput, SidebarInset, SidebarMenu, SidebarMenuAction, type SidebarMenuActionProps, SidebarMenuBadge, SidebarMenuButton, type SidebarMenuButtonProps, SidebarMenuItem, SidebarMenuSkeleton, type SidebarMenuSkeletonProps, SidebarMenuSub, SidebarMenuSubButton, type SidebarMenuSubButtonProps, SidebarMenuSubItem, type SidebarProps, SidebarProvider, type SidebarProviderProps, SidebarRail, SidebarSeparator, SidebarTrigger, Skeleton, Stack, type StackProps, TextField, Tooltip, TooltipContent, TooltipProvider, TooltipTrigger, Typography, type TypographyAlign, type TypographyProps, type TypographyVariant, badgeVariants, buttonVariants, cn, sidebarMenuButtonVariants, textFieldVariants, typographyVariants, useFormField, useIsMobile, useSidebar };
package/dist/index.d.ts CHANGED
@@ -16,6 +16,8 @@ import { Drawer as Drawer$1 } from 'vaul';
16
16
  import * as DropdownMenuPrimitive from '@radix-ui/react-dropdown-menu';
17
17
  import { ClassValue } from 'clsx';
18
18
 
19
+ type ButtonVariant = "default" | "destructive" | "outline" | "secondary" | "ghost" | "link";
20
+ type ButtonSize = "default" | "sm" | "lg" | "icon";
19
21
  /**
20
22
  * Props interface for the Button component.
21
23
  * Extends the native button HTML attributes and adds support for variants and asChild prop.
@@ -26,8 +28,8 @@ import { ClassValue } from 'clsx';
26
28
  * @extends {VariantProps<typeof buttonVariants>}
27
29
  *
28
30
  * @property {boolean} [asChild] - When true, renders the button as a child component using Radix UI's Slot.
29
- * @property {string} [variant] - The visual style variant of the button.
30
- * @property {string} [size] - The size variant of the button.
31
+ * @property {ButtonVariant} [variant] - The visual style variant of the button.
32
+ * @property {ButtonSize} [size] - The size variant of the button.
31
33
  * @property {string} [className] - Additional CSS classes to apply to the button.
32
34
  * @property {React.ReactNode} [startIcon] - Icon to display before the button text.
33
35
  * @property {React.ReactNode} [endIcon] - Icon to display after the button text.
@@ -37,6 +39,8 @@ import { ClassValue } from 'clsx';
37
39
  */
38
40
  interface ButtonProps extends React$1.ButtonHTMLAttributes<HTMLButtonElement>, VariantProps<typeof buttonVariants> {
39
41
  asChild?: boolean;
42
+ variant?: ButtonVariant;
43
+ size?: ButtonSize;
40
44
  startIcon?: React$1.ReactNode;
41
45
  endIcon?: React$1.ReactNode;
42
46
  loading?: boolean;
@@ -194,10 +198,15 @@ declare const Container: React$1.ForwardRefExoticComponent<ContainerProps & Reac
194
198
  *
195
199
  * // With custom className
196
200
  * <Box className="bg-primary text-white p-4">Styled content</Box>
201
+ *
202
+ * // With custom dimensions
203
+ * <Box width="100px" height="200px">Fixed size content</Box>
204
+ * <Box width="50%" height="auto">Responsive content</Box>
197
205
  * ```
198
206
  */
199
207
 
200
208
  type BoxComponent = "div" | "span" | "section" | "article" | "main" | "aside" | "header" | "footer" | "nav";
209
+ type DimensionValue = string | number;
201
210
  interface BoxProps extends React$1.HTMLAttributes<HTMLDivElement> {
202
211
  /**
203
212
  * The HTML element to render the Box as.
@@ -206,6 +215,16 @@ interface BoxProps extends React$1.HTMLAttributes<HTMLDivElement> {
206
215
  * @default "div"
207
216
  */
208
217
  as?: BoxComponent;
218
+ /**
219
+ * The width of the Box component.
220
+ * Can be a number (interpreted as pixels) or a string (e.g., "100%", "50px", "10rem").
221
+ */
222
+ width?: DimensionValue;
223
+ /**
224
+ * The height of the Box component.
225
+ * Can be a number (interpreted as pixels) or a string (e.g., "100%", "50px", "10rem").
226
+ */
227
+ height?: DimensionValue;
209
228
  }
210
229
  declare const Box: React$1.ForwardRefExoticComponent<BoxProps & React$1.RefAttributes<HTMLDivElement>>;
211
230
 
@@ -242,6 +261,11 @@ declare const Box: React$1.ForwardRefExoticComponent<BoxProps & React$1.RefAttri
242
261
  * <div>Center</div>
243
262
  * <div>Right</div>
244
263
  * </Stack>
264
+ *
265
+ * // Stack with custom dimensions
266
+ * <Stack width="100%" height="200px">
267
+ * <div>Full width, fixed height stack</div>
268
+ * </Stack>
245
269
  * ```
246
270
  */
247
271
 
@@ -303,6 +327,20 @@ interface StackProps extends React$1.HTMLAttributes<HTMLDivElement> {
303
327
  * @default undefined
304
328
  */
305
329
  align?: "start" | "end" | "center" | "stretch" | "baseline";
330
+ /**
331
+ * The width of the stack container.
332
+ * Can be any valid CSS width value (e.g., "100%", "200px", "50vw").
333
+ *
334
+ * @default undefined
335
+ */
336
+ width?: string;
337
+ /**
338
+ * The height of the stack container.
339
+ * Can be any valid CSS height value (e.g., "100%", "200px", "50vh").
340
+ *
341
+ * @default undefined
342
+ */
343
+ height?: string;
306
344
  }
307
345
  declare const Stack: React$1.ForwardRefExoticComponent<StackProps & React$1.RefAttributes<HTMLDivElement>>;
308
346
 
@@ -333,7 +371,7 @@ declare const SheetClose: React$1.ForwardRefExoticComponent<DialogPrimitive.Dial
333
371
  declare const SheetPortal: React$1.FC<DialogPrimitive.DialogPortalProps>;
334
372
  declare const SheetOverlay: React$1.ForwardRefExoticComponent<Omit<DialogPrimitive.DialogOverlayProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
335
373
  declare const sheetVariants: (props?: ({
336
- side?: "top" | "bottom" | "left" | "right" | null | undefined;
374
+ side?: "left" | "right" | "bottom" | "top" | null | undefined;
337
375
  } & class_variance_authority_dist_types.ClassProp) | undefined) => string;
338
376
  interface SheetContentProps extends React$1.ComponentPropsWithoutRef<typeof DialogPrimitive.Content>, VariantProps<typeof sheetVariants> {
339
377
  }
@@ -531,6 +569,18 @@ declare const FormDescription: React$1.ForwardRefExoticComponent<FormDescription
531
569
  */
532
570
  declare const FormMessage: React$1.ForwardRefExoticComponent<FormMessageProps & React$1.RefAttributes<HTMLParagraphElement>>;
533
571
 
572
+ declare const typographyVariants: (props?: ({
573
+ variant?: "list" | "small" | "blockquote" | "h1" | "h2" | "h3" | "h4" | "h5" | "h6" | "p" | "muted" | "large" | "lead" | null | undefined;
574
+ align?: "center" | "left" | "right" | "justify" | null | undefined;
575
+ } & class_variance_authority_dist_types.ClassProp) | undefined) => string;
576
+ interface TypographyProps extends React$1.HTMLAttributes<HTMLElement>, VariantProps<typeof typographyVariants> {
577
+ as?: React$1.ElementType;
578
+ }
579
+ declare const Typography: React$1.ForwardRefExoticComponent<TypographyProps & React$1.RefAttributes<HTMLElement>>;
580
+
581
+ type TypographyVariant = NonNullable<VariantProps<typeof typographyVariants>["variant"]>;
582
+ type TypographyAlign = NonNullable<VariantProps<typeof typographyVariants>["align"]>;
583
+
534
584
  /**
535
585
  * Card is a flexible container component that can be used to group related content and actions.
536
586
  * It provides a consistent visual style with a subtle border, shadow, and rounded corners.
@@ -1216,6 +1266,8 @@ interface DropdownMenuRadioGroupProps {
1216
1266
  onValueChange?: (value: string) => void;
1217
1267
  }
1218
1268
 
1269
+ declare function useIsMobile(): boolean;
1270
+
1219
1271
  declare function cn(...inputs: ClassValue[]): string;
1220
1272
 
1221
- export { Avatar, AvatarFallback, type AvatarFallbackProps, AvatarImage, type AvatarImageProps, type AvatarProps, Badge, type BadgeProps, Box, type BoxProps, Button, Card, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, Container, type ContainerProps, Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger, Drawer, DrawerClose, DrawerContent, DrawerDescription, DrawerFooter, DrawerHeader, DrawerOverlay, DrawerPortal, DrawerTitle, DrawerTrigger, DropdownMenu, DropdownMenuCheckboxItem, type DropdownMenuCheckboxItemProps, DropdownMenuContent, type DropdownMenuContentProps, DropdownMenuGroup, type DropdownMenuGroupProps, DropdownMenuItem, type DropdownMenuItemProps, DropdownMenuLabel, type DropdownMenuLabelProps, DropdownMenuPortal, type DropdownMenuPortalProps, type DropdownMenuProps, DropdownMenuRadioGroup, type DropdownMenuRadioGroupProps, DropdownMenuRadioItem, type DropdownMenuRadioItemProps, DropdownMenuSeparator, type DropdownMenuSeparatorProps, DropdownMenuShortcut, type DropdownMenuShortcutProps, DropdownMenuSub, DropdownMenuSubContent, type DropdownMenuSubContentProps, type DropdownMenuSubProps, DropdownMenuSubTrigger, type DropdownMenuSubTriggerProps, DropdownMenuTrigger, type DropdownMenuTriggerProps, Form, FormControl, type FormControlProps, FormDescription, type FormDescriptionProps, FormField, type FormFieldContextValue, type FormFieldProps, FormItem, type FormItemContextValue, type FormItemProps, FormLabel, type FormLabelProps, FormMessage, type FormMessageProps, type FormProps, Input, NavigationMenu, NavigationMenuContent, type NavigationMenuContentProps, NavigationMenuIndicator, type NavigationMenuIndicatorProps, NavigationMenuItem, type NavigationMenuItemProps, NavigationMenuLink, type NavigationMenuLinkProps, NavigationMenuList, type NavigationMenuListProps, type NavigationMenuProps, NavigationMenuTrigger, type NavigationMenuTriggerProps, NavigationMenuViewport, type NavigationMenuViewportProps, RHFTextField, Separator, Sheet, SheetClose, SheetContent, SheetDescription, SheetFooter, SheetHeader, SheetOverlay, SheetPortal, SheetTitle, SheetTrigger, Sidebar, SidebarContent, type SidebarContextProps, SidebarFooter, SidebarGroup, SidebarGroupAction, type SidebarGroupActionProps, SidebarGroupContent, SidebarGroupLabel, type SidebarGroupLabelProps, SidebarHeader, SidebarInput, SidebarInset, SidebarMenu, SidebarMenuAction, type SidebarMenuActionProps, SidebarMenuBadge, SidebarMenuButton, type SidebarMenuButtonProps, SidebarMenuItem, SidebarMenuSkeleton, type SidebarMenuSkeletonProps, SidebarMenuSub, SidebarMenuSubButton, type SidebarMenuSubButtonProps, SidebarMenuSubItem, type SidebarProps, SidebarProvider, type SidebarProviderProps, SidebarRail, SidebarSeparator, SidebarTrigger, Skeleton, Stack, type StackProps, TextField, Tooltip, TooltipContent, TooltipProvider, TooltipTrigger, badgeVariants, buttonVariants, cn, sidebarMenuButtonVariants, textFieldVariants, useFormField, useSidebar };
1273
+ export { Avatar, AvatarFallback, type AvatarFallbackProps, AvatarImage, type AvatarImageProps, type AvatarProps, Badge, type BadgeProps, Box, type BoxProps, Button, Card, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, Container, type ContainerProps, Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger, Drawer, DrawerClose, DrawerContent, DrawerDescription, DrawerFooter, DrawerHeader, DrawerOverlay, DrawerPortal, DrawerTitle, DrawerTrigger, DropdownMenu, DropdownMenuCheckboxItem, type DropdownMenuCheckboxItemProps, DropdownMenuContent, type DropdownMenuContentProps, DropdownMenuGroup, type DropdownMenuGroupProps, DropdownMenuItem, type DropdownMenuItemProps, DropdownMenuLabel, type DropdownMenuLabelProps, DropdownMenuPortal, type DropdownMenuPortalProps, type DropdownMenuProps, DropdownMenuRadioGroup, type DropdownMenuRadioGroupProps, DropdownMenuRadioItem, type DropdownMenuRadioItemProps, DropdownMenuSeparator, type DropdownMenuSeparatorProps, DropdownMenuShortcut, type DropdownMenuShortcutProps, DropdownMenuSub, DropdownMenuSubContent, type DropdownMenuSubContentProps, type DropdownMenuSubProps, DropdownMenuSubTrigger, type DropdownMenuSubTriggerProps, DropdownMenuTrigger, type DropdownMenuTriggerProps, Form, FormControl, type FormControlProps, FormDescription, type FormDescriptionProps, FormField, type FormFieldContextValue, type FormFieldProps, FormItem, type FormItemContextValue, type FormItemProps, FormLabel, type FormLabelProps, FormMessage, type FormMessageProps, type FormProps, Input, NavigationMenu, NavigationMenuContent, type NavigationMenuContentProps, NavigationMenuIndicator, type NavigationMenuIndicatorProps, NavigationMenuItem, type NavigationMenuItemProps, NavigationMenuLink, type NavigationMenuLinkProps, NavigationMenuList, type NavigationMenuListProps, type NavigationMenuProps, NavigationMenuTrigger, type NavigationMenuTriggerProps, NavigationMenuViewport, type NavigationMenuViewportProps, RHFTextField, Separator, Sheet, SheetClose, SheetContent, SheetDescription, SheetFooter, SheetHeader, SheetOverlay, SheetPortal, SheetTitle, SheetTrigger, Sidebar, SidebarContent, type SidebarContextProps, SidebarFooter, SidebarGroup, SidebarGroupAction, type SidebarGroupActionProps, SidebarGroupContent, SidebarGroupLabel, type SidebarGroupLabelProps, SidebarHeader, SidebarInput, SidebarInset, SidebarMenu, SidebarMenuAction, type SidebarMenuActionProps, SidebarMenuBadge, SidebarMenuButton, type SidebarMenuButtonProps, SidebarMenuItem, SidebarMenuSkeleton, type SidebarMenuSkeletonProps, SidebarMenuSub, SidebarMenuSubButton, type SidebarMenuSubButtonProps, SidebarMenuSubItem, type SidebarProps, SidebarProvider, type SidebarProviderProps, SidebarRail, SidebarSeparator, SidebarTrigger, Skeleton, Stack, type StackProps, TextField, Tooltip, TooltipContent, TooltipProvider, TooltipTrigger, Typography, type TypographyAlign, type TypographyProps, type TypographyVariant, badgeVariants, buttonVariants, cn, sidebarMenuButtonVariants, textFieldVariants, typographyVariants, useFormField, useIsMobile, useSidebar };
package/dist/index.js CHANGED
@@ -1,2 +1,2 @@
1
- 'use strict';var p=require('react'),reactSlot=require('@radix-ui/react-slot'),classVarianceAuthority=require('class-variance-authority'),clsx=require('clsx'),tailwindMerge=require('tailwind-merge'),lucideReact=require('lucide-react'),jsxRuntime=require('react/jsx-runtime'),ue=require('@radix-ui/react-label'),R=require('@radix-ui/react-dialog'),ge=require('@radix-ui/react-separator'),H=require('@radix-ui/react-avatar'),T=require('@radix-ui/react-tooltip'),reactHookForm=require('react-hook-form'),b=require('@radix-ui/react-navigation-menu'),vaul=require('vaul'),m=require('@radix-ui/react-dropdown-menu');function _interopNamespace(e){if(e&&e.__esModule)return e;var n=Object.create(null);if(e){Object.keys(e).forEach(function(k){if(k!=='default'){var d=Object.getOwnPropertyDescriptor(e,k);Object.defineProperty(n,k,d.get?d:{enumerable:true,get:function(){return e[k]}});}})}n.default=e;return Object.freeze(n)}var p__namespace=/*#__PURE__*/_interopNamespace(p);var ue__namespace=/*#__PURE__*/_interopNamespace(ue);var R__namespace=/*#__PURE__*/_interopNamespace(R);var ge__namespace=/*#__PURE__*/_interopNamespace(ge);var H__namespace=/*#__PURE__*/_interopNamespace(H);var T__namespace=/*#__PURE__*/_interopNamespace(T);var b__namespace=/*#__PURE__*/_interopNamespace(b);var m__namespace=/*#__PURE__*/_interopNamespace(m);var Mt=Object.defineProperty,Dt=Object.defineProperties;var Ct=Object.getOwnPropertyDescriptors;var ae=Object.getOwnPropertySymbols;var Le=Object.prototype.hasOwnProperty,Ee=Object.prototype.propertyIsEnumerable;var Fe=(t,e,o)=>e in t?Mt(t,e,{enumerable:true,configurable:true,writable:true,value:o}):t[e]=o,i=(t,e)=>{for(var o in e||(e={}))Le.call(e,o)&&Fe(t,o,e[o]);if(ae)for(var o of ae(e))Ee.call(e,o)&&Fe(t,o,e[o]);return t},f=(t,e)=>Dt(t,Ct(e));var s=(t,e)=>{var o={};for(var r in t)Le.call(t,r)&&e.indexOf(r)<0&&(o[r]=t[r]);if(t!=null&&ae)for(var r of ae(t))e.indexOf(r)<0&&Ee.call(t,r)&&(o[r]=t[r]);return o};function n(...t){return tailwindMerge.twMerge(clsx.clsx(t))}var Ie=classVarianceAuthority.cva("inline-flex items-center justify-center whitespace-nowrap rounded-md text-sm font-medium ring-offset-background transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50",{variants:{variant:{default:"bg-primary text-primary-foreground shadow hover:bg-primary/90",destructive:"bg-destructive text-destructive-foreground shadow-sm hover:bg-destructive/90",outline:"border border-input bg-background shadow-sm hover:bg-accent hover:text-accent-foreground",secondary:"bg-secondary text-secondary-foreground shadow-sm hover:bg-secondary/80",ghost:"hover:bg-accent hover:text-accent-foreground",link:"text-primary underline-offset-4 hover:underline"},size:{default:"h-9 px-4 py-2",sm:"h-8 rounded-md px-3 text-xs",lg:"h-10 rounded-md px-8",icon:"h-9 w-9"}},defaultVariants:{variant:"default",size:"default"}}),fe=p__namespace.forwardRef((L,x)=>{var A=L,{className:t,variant:e,size:o,asChild:r=false,startIcon:a,endIcon:d,loading:l=false,disabled:u,children:g,type:v="button","aria-label":h}=A,P=s(A,["className","variant","size","asChild","startIcon","endIcon","loading","disabled","children","type","aria-label"]);let C=r?reactSlot.Slot:"button",D=u||l,y=h||(typeof g=="string"?g:void 0),E=S=>{(S.key==="Enter"||S.key===" ")&&(S.preventDefault(),!D&&P.onClick&&P.onClick(S));};return r?jsxRuntime.jsx(C,f(i({className:n(Ie({variant:e,size:o,className:t})),ref:x,disabled:D,type:v,"aria-label":y,"aria-disabled":D},P),{children:g})):jsxRuntime.jsxs(C,f(i({className:n(Ie({variant:e,size:o,className:t})),ref:x,disabled:D,type:v,"aria-label":y,"aria-disabled":D,onKeyDown:E},P),{children:[l&&jsxRuntime.jsx(lucideReact.Loader2,{className:"mr-2 h-4 w-4 animate-spin",role:"status","aria-label":"Loading","aria-hidden":"true"}),!l&&a&&jsxRuntime.jsx("span",{className:"mr-2","aria-hidden":"true",children:a}),g,!l&&d&&jsxRuntime.jsx("span",{className:"ml-2","aria-hidden":"true",children:d})]}))});fe.displayName="Button";var G=p__namespace.forwardRef((a,r)=>{var d=a,{className:t,type:e}=d,o=s(d,["className","type"]);return jsxRuntime.jsx("input",i({type:e,className:n("flex h-9 w-full rounded-md border border-input bg-transparent px-3 py-1 text-base shadow-sm transition-colors file:border-0 file:bg-transparent file:text-sm file:font-medium file:text-foreground placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:cursor-not-allowed disabled:opacity-50 md:text-sm",t),ref:r},o))});G.displayName="Input";var At=classVarianceAuthority.cva("text-sm font-medium leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70"),U=p__namespace.forwardRef((r,o)=>{var a=r,{className:t}=a,e=s(a,["className"]);return jsxRuntime.jsx(ue__namespace.Root,i({ref:o,className:n(At(),t)},e))});U.displayName=ue__namespace.Root.displayName;var Ot=classVarianceAuthority.cva("w-full",{variants:{variant:{default:"",error:"border-destructive focus-visible:ring-destructive"},size:{default:"h-10",sm:"h-8 text-xs",lg:"h-12 text-base"}},defaultVariants:{variant:"default",size:"default"}}),_t=p__namespace.forwardRef((x,P)=>{var L=x,{className:t,variant:e,size:o,startIcon:r,endIcon:a,loading:d=false,error:l,label:u,helperText:g,disabled:v}=L,h=s(L,["className","variant","size","startIcon","endIcon","loading","error","label","helperText","disabled"]);let A=p__namespace.useId();return jsxRuntime.jsxs("div",{className:"w-full space-y-2",children:[u&&jsxRuntime.jsx(U,{htmlFor:A,children:u}),jsxRuntime.jsxs("div",{className:"relative",children:[r&&jsxRuntime.jsx("div",{className:"absolute left-3 top-1/2 -translate-y-1/2 text-muted-foreground",children:r}),jsxRuntime.jsx(G,i({id:A,className:n(Ot({variant:l?"error":e,size:o,className:t}),r&&"pl-9",(a||d)&&"pr-9"),ref:P,disabled:v||d},h)),(a||d)&&jsxRuntime.jsx("div",{className:"absolute right-3 top-1/2 -translate-y-1/2 text-muted-foreground",children:d?jsxRuntime.jsx(lucideReact.Loader2,{className:"h-4 w-4 animate-spin"}):a})]}),(l||g)&&jsxRuntime.jsx("p",{className:n("text-sm",l?"text-destructive":"text-muted-foreground"),children:l||g})]})});_t.displayName="TextField";var Wt=p__namespace.forwardRef((l,d)=>{var u=l,{className:t,maxWidth:e="lg",disablePadding:o=false,fluid:r=false}=u,a=s(u,["className","maxWidth","disablePadding","fluid"]);return jsxRuntime.jsx("div",i({ref:d,className:n("mx-auto w-full",!o&&"px-4 sm:px-6 lg:px-8",!r&&{"max-w-screen-sm":e==="sm","max-w-screen-md":e==="md","max-w-screen-lg":e==="lg","max-w-screen-xl":e==="xl","max-w-full":e==="full"},t)},a))});Wt.displayName="Container";var Kt=p__namespace.forwardRef((a,r)=>{var d=a,{as:t="div",className:e}=d,o=s(d,["as","className"]);return jsxRuntime.jsx(t,i({ref:r,className:n(e)},o))});Kt.displayName="Box";var qt=p__namespace.forwardRef((v,g)=>{var h=v,{className:t,direction:e="vertical",spacing:o="md",wrap:r=false,center:a=false,justify:d,align:l}=h,u=s(h,["className","direction","spacing","wrap","center","justify","align"]);return jsxRuntime.jsx("div",i({ref:g,className:n("flex",e==="vertical"?"flex-col":"flex-row",{"gap-0":o==="none","gap-1":o==="xs","gap-2":o==="sm","gap-4":o==="md","gap-6":o==="lg","gap-8":o==="xl"},r&&"flex-wrap",a&&"items-center justify-center",d&&{"justify-start":d==="start","justify-end":d==="end","justify-center":d==="center","justify-between":d==="between","justify-around":d==="around","justify-evenly":d==="evenly"},l&&{"items-start":l==="start","items-end":l==="end","items-center":l==="center","items-stretch":l==="stretch","items-baseline":l==="baseline"},t)},u))});qt.displayName="Stack";var br=R__namespace.Root,gr=R__namespace.Trigger,Yt=R__namespace.Portal,vr=R__namespace.Close,_e=p__namespace.forwardRef((r,o)=>{var a=r,{className:t}=a,e=s(a,["className"]);return jsxRuntime.jsx(R__namespace.Overlay,i({ref:o,className:n("fixed inset-0 z-50 bg-black/80 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0",t)},e))});_e.displayName=R__namespace.Overlay.displayName;var Jt=p__namespace.forwardRef((a,r)=>{var d=a,{className:t,children:e}=d,o=s(d,["className","children"]);return jsxRuntime.jsxs(Yt,{children:[jsxRuntime.jsx(_e,{}),jsxRuntime.jsxs(R__namespace.Content,f(i({ref:r,className:n("fixed left-[50%] top-[50%] z-50 grid w-full max-w-lg translate-x-[-50%] translate-y-[-50%] gap-4 border bg-background p-6 shadow-lg duration-200 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[state=closed]:slide-out-to-left-1/2 data-[state=closed]:slide-out-to-top-[48%] data-[state=open]:slide-in-from-left-1/2 data-[state=open]:slide-in-from-top-[48%] sm:rounded-lg",t)},o),{children:[e,jsxRuntime.jsxs(R__namespace.Close,{className:"absolute right-4 top-4 rounded-sm opacity-70 ring-offset-background transition-opacity hover:opacity-100 focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:pointer-events-none data-[state=open]:bg-accent data-[state=open]:text-muted-foreground",children:[jsxRuntime.jsx(lucideReact.X,{className:"h-4 w-4"}),jsxRuntime.jsx("span",{className:"sr-only",children:"Close"})]})]}))]})});Jt.displayName=R__namespace.Content.displayName;var Qt=o=>{var r=o,{className:t}=r,e=s(r,["className"]);return jsxRuntime.jsx("div",i({className:n("flex flex-col space-y-1.5 text-center sm:text-left",t)},e))};Qt.displayName="DialogHeader";var Zt=o=>{var r=o,{className:t}=r,e=s(r,["className"]);return jsxRuntime.jsx("div",i({className:n("flex flex-col-reverse sm:flex-row sm:justify-end sm:space-x-2",t)},e))};Zt.displayName="DialogFooter";var jt=p__namespace.forwardRef((r,o)=>{var a=r,{className:t}=a,e=s(a,["className"]);return jsxRuntime.jsx(R__namespace.Title,i({ref:o,className:n("text-lg font-semibold leading-none tracking-tight",t)},e))});jt.displayName=R__namespace.Title.displayName;var ea=p__namespace.forwardRef((r,o)=>{var a=r,{className:t}=a,e=s(a,["className"]);return jsxRuntime.jsx(R__namespace.Description,i({ref:o,className:n("text-sm text-muted-foreground",t)},e))});ea.displayName=R__namespace.Description.displayName;var ve=p__namespace.forwardRef((d,a)=>{var l=d,{className:t,orientation:e="horizontal",decorative:o=true}=l,r=s(l,["className","orientation","decorative"]);return jsxRuntime.jsx(ge__namespace.Root,i({ref:a,decorative:o,orientation:e,className:n("shrink-0 bg-border",e==="horizontal"?"h-[1px] w-full":"h-full w-[1px]",t)},r))});ve.displayName=ge__namespace.Root.displayName;var Ge=R__namespace.Root,Sr=R__namespace.Trigger,Tr=R__namespace.Close,ra=R__namespace.Portal,Ke=p__namespace.forwardRef((r,o)=>{var a=r,{className:t}=a,e=s(a,["className"]);return jsxRuntime.jsx(R__namespace.Overlay,f(i({className:n("fixed inset-0 z-50 bg-black/80 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0",t)},e),{ref:o}))});Ke.displayName=R__namespace.Overlay.displayName;var ia=classVarianceAuthority.cva("fixed z-50 gap-4 bg-background p-6 shadow-lg transition ease-in-out data-[state=closed]:duration-300 data-[state=open]:duration-500 data-[state=open]:animate-in data-[state=closed]:animate-out",{variants:{side:{top:"inset-x-0 top-0 border-b data-[state=closed]:slide-out-to-top data-[state=open]:slide-in-from-top",bottom:"inset-x-0 bottom-0 border-t data-[state=closed]:slide-out-to-bottom data-[state=open]:slide-in-from-bottom",left:"inset-y-0 left-0 h-full w-3/4 border-r data-[state=closed]:slide-out-to-left data-[state=open]:slide-in-from-left sm:max-w-sm",right:"inset-y-0 right-0 h-full w-3/4 border-l data-[state=closed]:slide-out-to-right data-[state=open]:slide-in-from-right sm:max-w-sm"}},defaultVariants:{side:"right"}}),we=p__namespace.forwardRef((d,a)=>{var l=d,{side:t="right",className:e,children:o}=l,r=s(l,["side","className","children"]);return jsxRuntime.jsxs(ra,{children:[jsxRuntime.jsx(Ke,{}),jsxRuntime.jsxs(R__namespace.Content,f(i({ref:a,className:n(ia({side:t}),e)},r),{children:[jsxRuntime.jsxs(R__namespace.Close,{className:"absolute right-4 top-4 rounded-sm opacity-70 ring-offset-background transition-opacity hover:opacity-100 focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:pointer-events-none data-[state=open]:bg-secondary",children:[jsxRuntime.jsx(lucideReact.X,{className:"h-4 w-4"}),jsxRuntime.jsx("span",{className:"sr-only",children:"Close"})]}),o]}))]})});we.displayName=R__namespace.Content.displayName;var he=o=>{var r=o,{className:t}=r,e=s(r,["className"]);return jsxRuntime.jsx("div",i({className:n("flex flex-col space-y-2 text-center sm:text-left",t)},e))};he.displayName="SheetHeader";var na=o=>{var r=o,{className:t}=r,e=s(r,["className"]);return jsxRuntime.jsx("div",i({className:n("flex flex-col-reverse sm:flex-row sm:justify-end sm:space-x-2",t)},e))};na.displayName="SheetFooter";var ye=p__namespace.forwardRef((r,o)=>{var a=r,{className:t}=a,e=s(a,["className"]);return jsxRuntime.jsx(R__namespace.Title,i({ref:o,className:n("text-lg font-semibold text-foreground",t)},e))});ye.displayName=R__namespace.Title.displayName;var xe=p__namespace.forwardRef((r,o)=>{var a=r,{className:t}=a,e=s(a,["className"]);return jsxRuntime.jsx(R__namespace.Description,i({ref:o,className:n("text-sm text-muted-foreground",t)},e))});xe.displayName=R__namespace.Description.displayName;function Pe(o){var r=o,{className:t}=r,e=s(r,["className"]);return jsxRuntime.jsx("div",i({className:n("animate-pulse rounded-md bg-primary/10",t)},e))}var $e=p__namespace.forwardRef((r,o)=>{var a=r,{className:t}=a,e=s(a,["className"]);return jsxRuntime.jsx(H__namespace.Root,i({ref:o,className:n("relative flex h-10 w-10 shrink-0 overflow-hidden rounded-full",t)},e))});$e.displayName=H__namespace.Root.displayName;var qe=p__namespace.forwardRef((r,o)=>{var a=r,{className:t}=a,e=s(a,["className"]);return jsxRuntime.jsx(H__namespace.Image,i({ref:o,className:n("aspect-square h-full w-full",t)},e))});qe.displayName=H__namespace.Image.displayName;var Ue=p__namespace.forwardRef((r,o)=>{var a=r,{className:t}=a,e=s(a,["className"]);return jsxRuntime.jsx(H__namespace.Fallback,i({ref:o,className:n("flex h-full w-full items-center justify-center rounded-full bg-muted",t)},e))});Ue.displayName=H__namespace.Fallback.displayName;var Je=T__namespace.Provider,Qe=T__namespace.Root,Ze=T__namespace.Trigger,Me=p__namespace.forwardRef((a,r)=>{var d=a,{className:t,sideOffset:e=4}=d,o=s(d,["className","sideOffset"]);return jsxRuntime.jsx(T__namespace.Portal,{children:jsxRuntime.jsx(T__namespace.Content,i({ref:r,sideOffset:e,className:n("z-50 overflow-hidden rounded-md bg-primary px-3 py-1.5 text-xs text-primary-foreground animate-in fade-in-0 zoom-in-95 data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 origin-[--radix-tooltip-content-transform-origin]",t)},o))})});Me.displayName=T__namespace.Content.displayName;var De=classVarianceAuthority.cva("inline-flex items-center rounded-full border px-2.5 py-0.5 text-xs font-semibold transition-colors focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2",{variants:{variant:{default:"border-transparent bg-primary text-primary-foreground hover:bg-primary/80",secondary:"border-transparent bg-secondary text-secondary-foreground hover:bg-secondary/80",destructive:"border-transparent bg-destructive text-destructive-foreground hover:bg-destructive/80",outline:"text-foreground",success:"border-transparent bg-green-500 text-white hover:bg-green-500/80",warning:"border-transparent bg-yellow-500 text-white hover:bg-yellow-500/80",info:"border-transparent bg-blue-500 text-white hover:bg-blue-500/80"},size:{default:"h-5",sm:"h-4 text-[10px]",lg:"h-6 text-sm"}},defaultVariants:{variant:"default",size:"default"}});var tt=p__namespace.forwardRef((g,u)=>{var v=g,{className:t,variant:e,size:o,icon:r,iconAfter:a,children:d}=v,l=s(v,["className","variant","size","icon","iconAfter","children"]);return jsxRuntime.jsxs("div",f(i({ref:u,className:n(De({variant:e,size:o}),t)},l),{children:[r&&jsxRuntime.jsx("span",{className:"mr-1",children:r}),d,a&&jsxRuntime.jsx("span",{className:"ml-1",children:a})]}))});tt.displayName="Badge";var ua=reactHookForm.FormProvider,at=p__namespace.createContext({}),ba=e=>{var t=s(e,[]);return jsxRuntime.jsx(at.Provider,{value:{name:t.name},children:jsxRuntime.jsx(reactHookForm.Controller,i({},t))})},j=()=>{let t=p__namespace.useContext(at),e=p__namespace.useContext(ot),{getFieldState:o,formState:r}=reactHookForm.useFormContext(),a=o(t.name,r);if(!t)throw new Error("useFormField should be used within <FormField>");let{id:d}=e;return i({id:d,name:t.name,formItemId:`${d}-form-item`,formDescriptionId:`${d}-form-item-description`,formMessageId:`${d}-form-item-message`},a)},ot=p__namespace.createContext({}),ne=p__namespace.forwardRef((r,o)=>{var a=r,{className:t}=a,e=s(a,["className"]);let d=p__namespace.useId();return jsxRuntime.jsx(ot.Provider,{value:{id:d},children:jsxRuntime.jsx("div",i({ref:o,className:n("space-y-2",t),role:"group"},e))})});ne.displayName="FormItem";var se=p__namespace.forwardRef((r,o)=>{var a=r,{className:t}=a,e=s(a,["className"]);let{error:d,formItemId:l}=j();return jsxRuntime.jsx(U,i({ref:o,className:n("text-sm font-medium leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70",d&&"text-destructive",t),htmlFor:l},e))});se.displayName="FormLabel";var de=p__namespace.forwardRef((o,e)=>{var t=s(o,[]);let{error:r,formItemId:a,formDescriptionId:d,formMessageId:l}=j();return jsxRuntime.jsx(reactSlot.Slot,i({ref:e,id:a,"aria-describedby":r?`${d} ${l}`:`${d}`,"aria-invalid":!!r},t))});de.displayName="FormControl";var le=p__namespace.forwardRef((r,o)=>{var a=r,{className:t}=a,e=s(a,["className"]);let{formDescriptionId:d}=j();return jsxRuntime.jsx("p",i({ref:o,id:d,className:n("text-[0.8rem] text-muted-foreground",t)},e))});le.displayName="FormDescription";var me=p__namespace.forwardRef((a,r)=>{var d=a,{className:t,children:e}=d,o=s(d,["className","children"]);var v;let{error:l,formMessageId:u}=j(),g=l?String((v=l==null?void 0:l.message)!=null?v:""):e;return g?jsxRuntime.jsx("p",f(i({ref:r,id:u,className:n("text-[0.8rem] font-medium text-destructive",t),role:"alert"},o),{children:g})):null});me.displayName="FormMessage";var ga=p__namespace.forwardRef((r,o)=>{var a=r,{className:t}=a,e=s(a,["className"]);return jsxRuntime.jsx("div",i({ref:o,className:n("rounded-lg border bg-card text-card-foreground shadow-sm",t)},e))});ga.displayName="Card";var va=p__namespace.forwardRef((r,o)=>{var a=r,{className:t}=a,e=s(a,["className"]);return jsxRuntime.jsx("div",i({ref:o,className:n("flex flex-col space-y-1.5 p-6",t)},e))});va.displayName="CardHeader";var Ra=p__namespace.forwardRef((r,o)=>{var a=r,{className:t}=a,e=s(a,["className"]);return jsxRuntime.jsx("h3",i({ref:o,className:n("text-2xl font-semibold leading-none tracking-tight",t)},e))});Ra.displayName="CardTitle";var wa=p__namespace.forwardRef((r,o)=>{var a=r,{className:t}=a,e=s(a,["className"]);return jsxRuntime.jsx("p",i({ref:o,className:n("text-sm text-muted-foreground",t)},e))});wa.displayName="CardDescription";var ha=p__namespace.forwardRef((r,o)=>{var a=r,{className:t}=a,e=s(a,["className"]);return jsxRuntime.jsx("div",i({ref:o,className:n("p-6 pt-0",t)},e))});ha.displayName="CardContent";var ya=p__namespace.forwardRef((r,o)=>{var a=r,{className:t}=a,e=s(a,["className"]);return jsxRuntime.jsx("div",i({ref:o,className:n("flex items-center p-6 pt-0",t)},e))});ya.displayName="CardFooter";var rt=classVarianceAuthority.cva("group inline-flex h-10 w-max items-center justify-center rounded-md bg-background px-4 py-2 text-sm font-medium transition-colors hover:bg-accent hover:text-accent-foreground focus:bg-accent focus:text-accent-foreground focus:outline-none disabled:pointer-events-none disabled:opacity-50 data-[active]:bg-accent/50 data-[state=open]:bg-accent/50",{variants:{variant:{default:"text-foreground",ghost:"hover:bg-transparent hover:underline",link:"text-primary underline-offset-4 hover:underline",mobile:"w-full justify-between border-b border-border py-4 text-base font-medium"}},defaultVariants:{variant:"default"}});var it=p__namespace.forwardRef((a,r)=>{var d=a,{className:t,children:e}=d,o=s(d,["className","children"]);return jsxRuntime.jsxs(b__namespace.Root,f(i({ref:r,className:n("relative z-10 flex max-w-max flex-1 items-center justify-center",t)},o),{children:[e,jsxRuntime.jsx(Ce,{})]}))});it.displayName=b__namespace.Root.displayName;var nt=p__namespace.forwardRef((r,o)=>{var a=r,{className:t}=a,e=s(a,["className"]);return jsxRuntime.jsx(b__namespace.List,i({ref:o,className:n("group flex flex-1 list-none items-center justify-center space-x-1",t)},e))});nt.displayName=b__namespace.List.displayName;var Na=b__namespace.Item,st=p__namespace.forwardRef((d,a)=>{var l=d,{className:t,children:e,variant:o}=l,r=s(l,["className","children","variant"]);return jsxRuntime.jsxs(b__namespace.Trigger,f(i({ref:a,className:n(rt({variant:o}),t)},r),{children:[e," ",jsxRuntime.jsx(lucideReact.ChevronDown,{className:"relative top-[1px] ml-1 h-3 w-3 transition duration-200 group-data-[state=open]:rotate-180","aria-hidden":"true"})]}))});st.displayName=b__namespace.Trigger.displayName;var dt=p__namespace.forwardRef((r,o)=>{var a=r,{className:t}=a,e=s(a,["className"]);return jsxRuntime.jsx(b__namespace.Content,i({ref:o,className:n("left-0 top-0 w-full data-[motion^=from-]:animate-in data-[motion^=to-]:animate-out data-[motion^=from-]:fade-in data-[motion^=to-]:fade-out data-[motion=from-end]:slide-in-from-right-52 data-[motion=from-start]:slide-in-from-left-52 data-[motion=to-end]:slide-out-to-right-52 data-[motion=to-start]:slide-out-to-left-52 md:absolute md:w-auto",t)},e))});dt.displayName=b__namespace.Content.displayName;var Ma=b__namespace.Link,Ce=p__namespace.forwardRef((r,o)=>{var a=r,{className:t}=a,e=s(a,["className"]);return jsxRuntime.jsx("div",{className:n("absolute left-0 top-full flex justify-center"),children:jsxRuntime.jsx(b__namespace.Viewport,i({className:n("origin-top-center relative mt-1.5 h-[var(--radix-navigation-menu-viewport-height)] w-full overflow-hidden rounded-md border bg-popover text-popover-foreground shadow-lg data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-90 md:w-[var(--radix-navigation-menu-viewport-width)]",t),ref:o},e))})});Ce.displayName=b__namespace.Viewport.displayName;var lt=p__namespace.forwardRef((r,o)=>{var a=r,{className:t}=a,e=s(a,["className"]);return jsxRuntime.jsx(b__namespace.Indicator,f(i({ref:o,className:n("top-full z-[1] flex h-1.5 items-end justify-center overflow-hidden data-[state=visible]:animate-in data-[state=hidden]:animate-out data-[state=hidden]:fade-out data-[state=visible]:fade-in",t)},e),{children:jsxRuntime.jsx("div",{className:"relative top-[60%] h-2 w-2 rotate-45 rounded-tl-sm bg-border shadow-md"})}))});lt.displayName=b__namespace.Indicator.displayName;function Ti(A){var C=A,{name:t,label:e,description:o,className:r,type:a="text",warningText:d,required:l,disabled:u,readOnly:g,placeholder:v,"aria-label":h,"aria-describedby":P,onBlur:x}=C,L=s(C,["name","label","description","className","type","warningText","required","disabled","readOnly","placeholder","aria-label","aria-describedby","onBlur"]);let{control:D}=reactHookForm.useFormContext();return jsxRuntime.jsx(reactHookForm.Controller,{name:t,control:D,render:({field:y,fieldState:{error:E}})=>jsxRuntime.jsxs(ne,{children:[e&&jsxRuntime.jsxs(se,{children:[e,l&&jsxRuntime.jsx("span",{className:"text-destructive ml-1",children:"*"})]}),jsxRuntime.jsx(de,{children:jsxRuntime.jsx(G,i(f(i({},y),{type:a,value:a==="number"&&y.value===0?"":y.value,onChange:S=>{a==="number"?y.onChange(Number(S.target.value)):y.onChange(S.target.value);},onBlur:S=>{a!=="number"&&typeof y.value=="string"&&y.onChange(y.value.trim()),y.onBlur(),x==null||x(S);},className:n(E&&"border-destructive focus-visible:ring-destructive",r),disabled:u,readOnly:g,required:l,placeholder:v,"aria-label":h,"aria-describedby":P,"aria-invalid":!!E,"aria-required":l}),L))}),o&&jsxRuntime.jsx(le,{children:o}),E&&jsxRuntime.jsx(me,{children:E.message}),!E&&d&&jsxRuntime.jsx("p",{className:"text-sm text-yellow-600 dark:text-yellow-500",role:"alert",children:d})]})})}var Sa=o=>{var r=o,{shouldScaleBackground:t=true}=r,e=s(r,["shouldScaleBackground"]);return jsxRuntime.jsx(vaul.Drawer.Root,i({shouldScaleBackground:t},e))};Sa.displayName="Drawer";var ki=vaul.Drawer.Trigger,Ta=vaul.Drawer.Portal,Ai=vaul.Drawer.Close,ft=p__namespace.forwardRef((r,o)=>{var a=r,{className:t}=a,e=s(a,["className"]);return jsxRuntime.jsx(vaul.Drawer.Overlay,i({ref:o,className:n("fixed inset-0 z-50 bg-black/80",t)},e))});ft.displayName=vaul.Drawer.Overlay.displayName;var Fa=p__namespace.forwardRef((a,r)=>{var d=a,{className:t,children:e}=d,o=s(d,["className","children"]);return jsxRuntime.jsxs(Ta,{children:[jsxRuntime.jsx(ft,{}),jsxRuntime.jsxs(vaul.Drawer.Content,f(i({ref:r,className:n("fixed inset-x-0 bottom-0 z-50 mt-24 flex h-auto flex-col rounded-t-[10px] border bg-background",t)},o),{children:[jsxRuntime.jsx("div",{className:"mx-auto mt-4 h-2 w-[100px] rounded-full bg-muted"}),e]}))]})});Fa.displayName="DrawerContent";var La=o=>{var r=o,{className:t}=r,e=s(r,["className"]);return jsxRuntime.jsx("div",i({className:n("grid gap-1.5 p-4 text-center sm:text-left",t)},e))};La.displayName="DrawerHeader";var Ea=o=>{var r=o,{className:t}=r,e=s(r,["className"]);return jsxRuntime.jsx("div",i({className:n("mt-auto flex flex-col gap-2 p-4",t)},e))};Ea.displayName="DrawerFooter";var Ia=p__namespace.forwardRef((r,o)=>{var a=r,{className:t}=a,e=s(a,["className"]);return jsxRuntime.jsx(vaul.Drawer.Title,i({ref:o,className:n("text-lg font-semibold leading-none tracking-tight",t)},e))});Ia.displayName=vaul.Drawer.Title.displayName;var Ha=p__namespace.forwardRef((r,o)=>{var a=r,{className:t}=a,e=s(a,["className"]);return jsxRuntime.jsx(vaul.Drawer.Description,i({ref:o,className:n("text-sm text-muted-foreground",t)},e))});Ha.displayName=vaul.Drawer.Description.displayName;var Se=768;function ut(){let[t,e]=p__namespace.useState(void 0);return p__namespace.useEffect(()=>{let o=window.matchMedia(`(max-width: ${Se-1}px)`),r=()=>{e(window.innerWidth<Se);};return o.addEventListener("change",r),e(window.innerWidth<Se),()=>o.removeEventListener("change",r)},[]),!!t}var Va="sidebar_state",za=60*60*24*7,Ba="16rem",Oa="18rem",_a="3rem",Wa="b",bt=p__namespace.createContext(null);function ce(){let t=p__namespace.useContext(bt);if(!t)throw new Error("useSidebar must be used within a SidebarProvider.");return t}var Ga=p__namespace.forwardRef((g,u)=>{var v=g,{defaultOpen:t=true,open:e,onOpenChange:o,className:r,style:a,children:d}=v,l=s(v,["defaultOpen","open","onOpenChange","className","style","children"]);let h=ut(),[P,x]=p__namespace.useState(false),[L,A]=p__namespace.useState(t),C=e!=null?e:L,D=p__namespace.useCallback(I=>{let V=typeof I=="function"?I(C):I;o?o(V):A(V),document.cookie=`${Va}=${V}; path=/; max-age=${za}`;},[o,C]),y=p__namespace.useCallback(()=>h?x(I=>!I):D(I=>!I),[h,D,x]);p__namespace.useEffect(()=>{let I=V=>{V.key===Wa&&(V.metaKey||V.ctrlKey)&&(V.preventDefault(),y());};return window.addEventListener("keydown",I),()=>window.removeEventListener("keydown",I)},[y]);let E=C?"expanded":"collapsed",S=p__namespace.useMemo(()=>({state:E,open:C,setOpen:D,isMobile:h,openMobile:P,setOpenMobile:x,toggleSidebar:y}),[E,C,D,h,P,x,y]);return jsxRuntime.jsx(bt.Provider,{value:S,children:jsxRuntime.jsx(Je,{delayDuration:0,children:jsxRuntime.jsx("div",f(i({style:i({"--sidebar-width":Ba,"--sidebar-width-icon":_a},a),className:n("group/sidebar-wrapper flex min-h-svh w-full has-[[data-variant=inset]]:bg-sidebar",r),ref:u},l),{children:d}))})})});Ga.displayName="SidebarProvider";var Ka=p__namespace.forwardRef((u,l)=>{var g=u,{side:t="left",variant:e="sidebar",collapsible:o="offcanvas",className:r,children:a}=g,d=s(g,["side","variant","collapsible","className","children"]);let{isMobile:v,state:h,openMobile:P,setOpenMobile:x}=ce();return o==="none"?jsxRuntime.jsx("div",f(i({className:n("flex h-full w-[--sidebar-width] flex-col bg-sidebar text-sidebar-foreground",r),ref:l},d),{children:a})):v?jsxRuntime.jsx(Ge,f(i({open:P,onOpenChange:x},d),{children:jsxRuntime.jsxs(we,{"data-sidebar":"sidebar","data-mobile":"true",className:"w-[--sidebar-width] bg-sidebar p-0 text-sidebar-foreground [&>button]:hidden",style:{"--sidebar-width":Oa},side:t,children:[jsxRuntime.jsxs(he,{className:"sr-only",children:[jsxRuntime.jsx(ye,{children:"Sidebar"}),jsxRuntime.jsx(xe,{children:"Displays the mobile sidebar."})]}),jsxRuntime.jsx("div",{className:"flex h-full w-full flex-col",children:a})]})})):jsxRuntime.jsxs("div",{ref:l,className:"group peer hidden text-sidebar-foreground md:block","data-state":h,"data-collapsible":h==="collapsed"?o:"","data-variant":e,"data-side":t,children:[jsxRuntime.jsx("div",{className:n("relative w-[--sidebar-width] bg-transparent transition-[width] duration-200 ease-linear","group-data-[collapsible=offcanvas]:w-0","group-data-[side=right]:rotate-180",e==="floating"||e==="inset"?"group-data-[collapsible=icon]:w-[calc(var(--sidebar-width-icon)_+_theme(spacing.4))]":"group-data-[collapsible=icon]:w-[--sidebar-width-icon]")}),jsxRuntime.jsx("div",f(i({className:n("fixed inset-y-0 z-10 hidden h-svh w-[--sidebar-width] transition-[left,right,width] duration-200 ease-linear md:flex",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)]",e==="floating"||e==="inset"?"p-2 group-data-[collapsible=icon]:w-[calc(var(--sidebar-width-icon)_+_theme(spacing.4)_+2px)]":"group-data-[collapsible=icon]:w-[--sidebar-width-icon] group-data-[side=left]:border-r group-data-[side=right]:border-l",r)},d),{children:jsxRuntime.jsx("div",{"data-sidebar":"sidebar",className:"flex h-full w-full flex-col bg-sidebar group-data-[variant=floating]:rounded-lg group-data-[variant=floating]:border group-data-[variant=floating]:border-sidebar-border group-data-[variant=floating]:shadow",children:a})}))]})});Ka.displayName="Sidebar";var $a=p__namespace.forwardRef((a,r)=>{var d=a,{className:t,onClick:e}=d,o=s(d,["className","onClick"]);let{toggleSidebar:l}=ce();return jsxRuntime.jsxs(fe,f(i({ref:r,"data-sidebar":"trigger",variant:"ghost",size:"icon",className:n("h-7 w-7",t),onClick:u=>{e==null||e(u),l();}},o),{children:[jsxRuntime.jsx(lucideReact.PanelLeft,{}),jsxRuntime.jsx("span",{className:"sr-only",children:"Toggle Sidebar"})]}))});$a.displayName="SidebarTrigger";var qa=p__namespace.forwardRef((r,o)=>{var a=r,{className:t}=a,e=s(a,["className"]);let{toggleSidebar:d}=ce();return jsxRuntime.jsx("button",i({ref:o,"data-sidebar":"rail","aria-label":"Toggle Sidebar",tabIndex:-1,onClick:d,title:"Toggle Sidebar",className:n("absolute inset-y-0 z-20 hidden w-4 -translate-x-1/2 transition-all ease-linear after:absolute after:inset-y-0 after:left-1/2 after:w-[2px] hover:after:bg-sidebar-border group-data-[side=left]:-right-4 group-data-[side=right]:left-0 sm:flex","[[data-side=left]_&]:cursor-w-resize [[data-side=right]_&]:cursor-e-resize","[[data-side=left][data-state=collapsed]_&]:cursor-e-resize [[data-side=right][data-state=collapsed]_&]:cursor-w-resize","group-data-[collapsible=offcanvas]:translate-x-0 group-data-[collapsible=offcanvas]:after:left-full group-data-[collapsible=offcanvas]:hover:bg-sidebar","[[data-side=left][data-collapsible=offcanvas]_&]:-right-2","[[data-side=right][data-collapsible=offcanvas]_&]:-left-2",t)},e))});qa.displayName="SidebarRail";var Ua=p__namespace.forwardRef((r,o)=>{var a=r,{className:t}=a,e=s(a,["className"]);return jsxRuntime.jsx("main",i({ref:o,className:n("relative flex w-full flex-1 flex-col bg-background","md:peer-data-[variant=inset]:m-2 md:peer-data-[state=collapsed]:peer-data-[variant=inset]:ml-2 md:peer-data-[variant=inset]:ml-0 md:peer-data-[variant=inset]:rounded-xl md:peer-data-[variant=inset]:shadow",t)},e))});Ua.displayName="SidebarInset";var Xa=p__namespace.forwardRef((r,o)=>{var a=r,{className:t}=a,e=s(a,["className"]);return jsxRuntime.jsx(G,i({ref:o,"data-sidebar":"input",className:n("h-8 w-full bg-background shadow-none focus-visible:ring-2 focus-visible:ring-sidebar-ring",t)},e))});Xa.displayName="SidebarInput";var Ya=p__namespace.forwardRef((r,o)=>{var a=r,{className:t}=a,e=s(a,["className"]);return jsxRuntime.jsx("div",i({ref:o,"data-sidebar":"header",className:n("flex flex-col gap-2 p-2",t)},e))});Ya.displayName="SidebarHeader";var Ja=p__namespace.forwardRef((r,o)=>{var a=r,{className:t}=a,e=s(a,["className"]);return jsxRuntime.jsx("div",i({ref:o,"data-sidebar":"footer",className:n("flex flex-col gap-2 p-2",t)},e))});Ja.displayName="SidebarFooter";var Qa=p__namespace.forwardRef((r,o)=>{var a=r,{className:t}=a,e=s(a,["className"]);return jsxRuntime.jsx(ve,i({ref:o,"data-sidebar":"separator",className:n("mx-2 w-auto bg-sidebar-border",t)},e))});Qa.displayName="SidebarSeparator";var Za=p__namespace.forwardRef((r,o)=>{var a=r,{className:t}=a,e=s(a,["className"]);return jsxRuntime.jsx("div",i({ref:o,"data-sidebar":"content",className:n("flex min-h-0 flex-1 flex-col gap-2 overflow-auto group-data-[collapsible=icon]:overflow-hidden",t)},e))});Za.displayName="SidebarContent";var ja=p__namespace.forwardRef((r,o)=>{var a=r,{className:t}=a,e=s(a,["className"]);return jsxRuntime.jsx("div",i({ref:o,"data-sidebar":"group",className:n("relative flex w-full min-w-0 flex-col p-2",t)},e))});ja.displayName="SidebarGroup";var eo=p__namespace.forwardRef((a,r)=>{var d=a,{className:t,asChild:e=false}=d,o=s(d,["className","asChild"]);return jsxRuntime.jsx(e?reactSlot.Slot:"div",i({ref:r,"data-sidebar":"group-label",className:n("flex h-8 shrink-0 items-center rounded-md px-2 text-xs font-medium text-sidebar-foreground/70 outline-none ring-sidebar-ring transition-[margin,opacity] duration-200 ease-linear focus-visible:ring-2 [&>svg]:size-4 [&>svg]:shrink-0","group-data-[collapsible=icon]:-mt-8 group-data-[collapsible=icon]:opacity-0",t)},o))});eo.displayName="SidebarGroupLabel";var to=p__namespace.forwardRef((a,r)=>{var d=a,{className:t,asChild:e=false}=d,o=s(d,["className","asChild"]);return jsxRuntime.jsx(e?reactSlot.Slot:"button",i({ref:r,"data-sidebar":"group-action",className:n("absolute right-3 top-3.5 flex aspect-square w-5 items-center justify-center rounded-md p-0 text-sidebar-foreground outline-none ring-sidebar-ring transition-transform hover:bg-sidebar-accent hover:text-sidebar-accent-foreground focus-visible:ring-2 [&>svg]:size-4 [&>svg]:shrink-0","after:absolute after:-inset-2 after:md:hidden","group-data-[collapsible=icon]:hidden",t)},o))});to.displayName="SidebarGroupAction";var ao=p__namespace.forwardRef((r,o)=>{var a=r,{className:t}=a,e=s(a,["className"]);return jsxRuntime.jsx("div",i({ref:o,"data-sidebar":"group-content",className:n("w-full text-sm",t)},e))});ao.displayName="SidebarGroupContent";var oo=p__namespace.forwardRef((r,o)=>{var a=r,{className:t}=a,e=s(a,["className"]);return jsxRuntime.jsx("ul",i({ref:o,"data-sidebar":"menu",className:n("flex w-full min-w-0 flex-col gap-1",t)},e))});oo.displayName="SidebarMenu";var ro=p__namespace.forwardRef((r,o)=>{var a=r,{className:t}=a,e=s(a,["className"]);return jsxRuntime.jsx("li",i({ref:o,"data-sidebar":"menu-item",className:n("group/menu-item relative",t)},e))});ro.displayName="SidebarMenuItem";var io=classVarianceAuthority.cva("peer/menu-button flex w-full items-center gap-2 overflow-hidden rounded-md p-2 text-left text-sm outline-none 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-4 [&>svg]:shrink-0",{variants:{variant:{default:"hover:bg-sidebar-accent hover:text-sidebar-accent-foreground",outline:"bg-background shadow-[0_0_0_1px_hsl(var(--sidebar-border))] hover:bg-sidebar-accent hover:text-sidebar-accent-foreground hover:shadow-[0_0_0_1px_hsl(var(--sidebar-accent))]"},size:{default:"h-8 text-sm",sm:"h-7 text-xs",lg:"h-12 text-sm group-data-[collapsible=icon]:!p-0"}},defaultVariants:{variant:"default",size:"default"}}),no=p__namespace.forwardRef((g,u)=>{var v=g,{asChild:t=false,isActive:e=false,variant:o="default",size:r="default",tooltip:a,className:d}=v,l=s(v,["asChild","isActive","variant","size","tooltip","className"]);let h=t?reactSlot.Slot:"button",{isMobile:P,state:x}=ce(),L=jsxRuntime.jsx(h,i({ref:u,"data-sidebar":"menu-button","data-size":r,"data-active":e,className:n(io({variant:o,size:r}),d)},l));return a?(typeof a=="string"&&(a={children:a}),jsxRuntime.jsxs(Qe,{children:[jsxRuntime.jsx(Ze,{asChild:true,children:L}),jsxRuntime.jsx(Me,i({side:"right",align:"center",hidden:x!=="collapsed"||P},a))]})):L});no.displayName="SidebarMenuButton";var so=p__namespace.forwardRef((d,a)=>{var l=d,{className:t,asChild:e=false,showOnHover:o=false}=l,r=s(l,["className","asChild","showOnHover"]);return jsxRuntime.jsx(e?reactSlot.Slot:"button",i({ref:a,"data-sidebar":"menu-action",className:n("absolute right-1 top-1.5 flex aspect-square w-5 items-center justify-center rounded-md p-0 text-sidebar-foreground outline-none ring-sidebar-ring transition-transform hover:bg-sidebar-accent hover:text-sidebar-accent-foreground focus-visible:ring-2 peer-hover/menu-button:text-sidebar-accent-foreground [&>svg]:size-4 [&>svg]:shrink-0","after:absolute after:-inset-2 after:md:hidden","peer-data-[size=sm]/menu-button:top-1","peer-data-[size=default]/menu-button:top-1.5","peer-data-[size=lg]/menu-button:top-2.5","group-data-[collapsible=icon]:hidden",o&&"group-focus-within/menu-item:opacity-100 group-hover/menu-item:opacity-100 data-[state=open]:opacity-100 peer-data-[active=true]/menu-button:text-sidebar-accent-foreground md:opacity-0",t)},r))});so.displayName="SidebarMenuAction";var lo=p__namespace.forwardRef((r,o)=>{var a=r,{className:t}=a,e=s(a,["className"]);return jsxRuntime.jsx("div",i({ref:o,"data-sidebar":"menu-badge",className:n("pointer-events-none absolute right-1 flex h-5 min-w-5 select-none items-center justify-center rounded-md px-1 text-xs font-medium tabular-nums text-sidebar-foreground","peer-hover/menu-button:text-sidebar-accent-foreground peer-data-[active=true]/menu-button:text-sidebar-accent-foreground","peer-data-[size=sm]/menu-button:top-1","peer-data-[size=default]/menu-button:top-1.5","peer-data-[size=lg]/menu-button:top-2.5","group-data-[collapsible=icon]:hidden",t)},e))});lo.displayName="SidebarMenuBadge";var mo=p__namespace.forwardRef((a,r)=>{var d=a,{className:t,showIcon:e=false}=d,o=s(d,["className","showIcon"]);let l=p__namespace.useMemo(()=>`${Math.floor(Math.random()*40)+50}%`,[]);return jsxRuntime.jsxs("div",f(i({ref:r,"data-sidebar":"menu-skeleton",className:n("flex h-8 items-center gap-2 rounded-md px-2",t)},o),{children:[e&&jsxRuntime.jsx(Pe,{className:"size-4 rounded-md","data-sidebar":"menu-skeleton-icon"}),jsxRuntime.jsx(Pe,{className:"h-4 max-w-[--skeleton-width] flex-1","data-sidebar":"menu-skeleton-text",style:{"--skeleton-width":l}})]}))});mo.displayName="SidebarMenuSkeleton";var po=p__namespace.forwardRef((r,o)=>{var a=r,{className:t}=a,e=s(a,["className"]);return jsxRuntime.jsx("ul",i({ref:o,"data-sidebar":"menu-sub",className:n("mx-3.5 flex min-w-0 translate-x-px flex-col gap-1 border-l border-sidebar-border px-2.5 py-0.5","group-data-[collapsible=icon]:hidden",t)},e))});po.displayName="SidebarMenuSub";var co=p__namespace.forwardRef((o,e)=>{var t=s(o,[]);return jsxRuntime.jsx("li",i({ref:e},t))});co.displayName="SidebarMenuSubItem";var fo=p__namespace.forwardRef((l,d)=>{var u=l,{asChild:t=false,size:e="md",isActive:o,className:r}=u,a=s(u,["asChild","size","isActive","className"]);return jsxRuntime.jsx(t?reactSlot.Slot:"a",i({ref:d,"data-sidebar":"menu-sub-button","data-size":e,"data-active":o,className:n("flex h-7 min-w-0 -translate-x-px items-center gap-2 overflow-hidden rounded-md px-2 text-sidebar-foreground outline-none ring-sidebar-ring hover:bg-sidebar-accent hover:text-sidebar-accent-foreground focus-visible:ring-2 active:bg-sidebar-accent active:text-sidebar-accent-foreground disabled:pointer-events-none disabled:opacity-50 aria-disabled:pointer-events-none aria-disabled:opacity-50 [&>span:last-child]:truncate [&>svg]:size-4 [&>svg]:shrink-0 [&>svg]:text-sidebar-accent-foreground","data-[active=true]:bg-sidebar-accent data-[active=true]:text-sidebar-accent-foreground",e==="sm"&&"text-xs",e==="md"&&"text-sm","group-data-[collapsible=icon]:hidden",r)},a))});fo.displayName="SidebarMenuSubButton";var vo=m__namespace.Root,Ro=m__namespace.Trigger,wo=m__namespace.Group,ho=m__namespace.Portal,yo=m__namespace.Sub,xo=m__namespace.RadioGroup,gt=p__namespace.forwardRef((d,a)=>{var l=d,{className:t,inset:e,children:o}=l,r=s(l,["className","inset","children"]);return jsxRuntime.jsxs(m__namespace.SubTrigger,f(i({ref:a,className:n("flex cursor-default select-none items-center rounded-sm px-2 py-1.5 text-sm outline-none focus:bg-accent data-[state=open]:bg-accent",e&&"pl-8",t)},r),{children:[o,jsxRuntime.jsx(lucideReact.ChevronRight,{className:"ml-auto h-4 w-4"})]}))});gt.displayName=m__namespace.SubTrigger.displayName;var vt=p__namespace.forwardRef((r,o)=>{var a=r,{className:t}=a,e=s(a,["className"]);return jsxRuntime.jsx(m__namespace.SubContent,i({ref:o,className:n("z-50 min-w-[8rem] overflow-hidden rounded-md border bg-popover p-1 text-popover-foreground shadow-lg data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",t)},e))});vt.displayName=m__namespace.SubContent.displayName;var Rt=p__namespace.forwardRef((a,r)=>{var d=a,{className:t,sideOffset:e=4}=d,o=s(d,["className","sideOffset"]);return jsxRuntime.jsx(m__namespace.Portal,{children:jsxRuntime.jsx(m__namespace.Content,i({ref:r,sideOffset:e,className:n("z-50 min-w-[8rem] overflow-hidden rounded-md border bg-popover p-1 text-popover-foreground shadow-md data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",t)},o))})});Rt.displayName=m__namespace.Content.displayName;var wt=p__namespace.forwardRef((a,r)=>{var d=a,{className:t,inset:e}=d,o=s(d,["className","inset"]);return jsxRuntime.jsx(m__namespace.Item,i({ref:r,className:n("relative flex cursor-default select-none items-center rounded-sm px-2 py-1.5 text-sm outline-none transition-colors focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",e&&"pl-8",t)},o))});wt.displayName=m__namespace.Item.displayName;var ht=p__namespace.forwardRef((d,a)=>{var l=d,{className:t,children:e,checked:o}=l,r=s(l,["className","children","checked"]);return jsxRuntime.jsxs(m__namespace.CheckboxItem,f(i({ref:a,className:n("relative flex cursor-default select-none items-center rounded-sm py-1.5 pl-8 pr-2 text-sm outline-none transition-colors focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",t),checked:o},r),{children:[jsxRuntime.jsx("span",{className:"absolute left-2 flex h-3.5 w-3.5 items-center justify-center",children:jsxRuntime.jsx(m__namespace.ItemIndicator,{children:jsxRuntime.jsx(lucideReact.Check,{className:"h-4 w-4"})})}),e]}))});ht.displayName=m__namespace.CheckboxItem.displayName;var yt=p__namespace.forwardRef((a,r)=>{var d=a,{className:t,children:e}=d,o=s(d,["className","children"]);return jsxRuntime.jsxs(m__namespace.RadioItem,f(i({ref:r,className:n("relative flex cursor-default select-none items-center rounded-sm py-1.5 pl-8 pr-2 text-sm outline-none transition-colors focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",t)},o),{children:[jsxRuntime.jsx("span",{className:"absolute left-2 flex h-3.5 w-3.5 items-center justify-center",children:jsxRuntime.jsx(m__namespace.ItemIndicator,{children:jsxRuntime.jsx(lucideReact.Circle,{className:"h-2 w-2 fill-current"})})}),e]}))});yt.displayName=m__namespace.RadioItem.displayName;var xt=p__namespace.forwardRef((a,r)=>{var d=a,{className:t,inset:e}=d,o=s(d,["className","inset"]);return jsxRuntime.jsx(m__namespace.Label,i({ref:r,className:n("px-2 py-1.5 text-sm font-semibold",e&&"pl-8",t)},o))});xt.displayName=m__namespace.Label.displayName;var Pt=p__namespace.forwardRef((r,o)=>{var a=r,{className:t}=a,e=s(a,["className"]);return jsxRuntime.jsx(m__namespace.Separator,i({ref:o,className:n("-mx-1 my-1 h-px bg-muted",t)},e))});Pt.displayName=m__namespace.Separator.displayName;var Nt=o=>{var r=o,{className:t}=r,e=s(r,["className"]);return jsxRuntime.jsx("span",i({className:n("ml-auto text-xs tracking-widest opacity-60",t)},e))};Nt.displayName="DropdownMenuShortcut";exports.Avatar=$e;exports.AvatarFallback=Ue;exports.AvatarImage=qe;exports.Badge=tt;exports.Box=Kt;exports.Button=fe;exports.Card=ga;exports.CardContent=ha;exports.CardDescription=wa;exports.CardFooter=ya;exports.CardHeader=va;exports.CardTitle=Ra;exports.Container=Wt;exports.Dialog=br;exports.DialogClose=vr;exports.DialogContent=Jt;exports.DialogDescription=ea;exports.DialogFooter=Zt;exports.DialogHeader=Qt;exports.DialogOverlay=_e;exports.DialogPortal=Yt;exports.DialogTitle=jt;exports.DialogTrigger=gr;exports.Drawer=Sa;exports.DrawerClose=Ai;exports.DrawerContent=Fa;exports.DrawerDescription=Ha;exports.DrawerFooter=Ea;exports.DrawerHeader=La;exports.DrawerOverlay=ft;exports.DrawerPortal=Ta;exports.DrawerTitle=Ia;exports.DrawerTrigger=ki;exports.DropdownMenu=vo;exports.DropdownMenuCheckboxItem=ht;exports.DropdownMenuContent=Rt;exports.DropdownMenuGroup=wo;exports.DropdownMenuItem=wt;exports.DropdownMenuLabel=xt;exports.DropdownMenuPortal=ho;exports.DropdownMenuRadioGroup=xo;exports.DropdownMenuRadioItem=yt;exports.DropdownMenuSeparator=Pt;exports.DropdownMenuShortcut=Nt;exports.DropdownMenuSub=yo;exports.DropdownMenuSubContent=vt;exports.DropdownMenuSubTrigger=gt;exports.DropdownMenuTrigger=Ro;exports.Form=ua;exports.FormControl=de;exports.FormDescription=le;exports.FormField=ba;exports.FormItem=ne;exports.FormLabel=se;exports.FormMessage=me;exports.Input=G;exports.NavigationMenu=it;exports.NavigationMenuContent=dt;exports.NavigationMenuIndicator=lt;exports.NavigationMenuItem=Na;exports.NavigationMenuLink=Ma;exports.NavigationMenuList=nt;exports.NavigationMenuTrigger=st;exports.NavigationMenuViewport=Ce;exports.RHFTextField=Ti;exports.Separator=ve;exports.Sheet=Ge;exports.SheetClose=Tr;exports.SheetContent=we;exports.SheetDescription=xe;exports.SheetFooter=na;exports.SheetHeader=he;exports.SheetOverlay=Ke;exports.SheetPortal=ra;exports.SheetTitle=ye;exports.SheetTrigger=Sr;exports.Sidebar=Ka;exports.SidebarContent=Za;exports.SidebarFooter=Ja;exports.SidebarGroup=ja;exports.SidebarGroupAction=to;exports.SidebarGroupContent=ao;exports.SidebarGroupLabel=eo;exports.SidebarHeader=Ya;exports.SidebarInput=Xa;exports.SidebarInset=Ua;exports.SidebarMenu=oo;exports.SidebarMenuAction=so;exports.SidebarMenuBadge=lo;exports.SidebarMenuButton=no;exports.SidebarMenuItem=ro;exports.SidebarMenuSkeleton=mo;exports.SidebarMenuSub=po;exports.SidebarMenuSubButton=fo;exports.SidebarMenuSubItem=co;exports.SidebarProvider=Ga;exports.SidebarRail=qa;exports.SidebarSeparator=Qa;exports.SidebarTrigger=$a;exports.Skeleton=Pe;exports.Stack=qt;exports.TextField=_t;exports.Tooltip=Qe;exports.TooltipContent=Me;exports.TooltipProvider=Je;exports.TooltipTrigger=Ze;exports.badgeVariants=De;exports.buttonVariants=Ie;exports.cn=n;exports.sidebarMenuButtonVariants=io;exports.textFieldVariants=Ot;exports.useFormField=j;exports.useSidebar=ce;//# sourceMappingURL=index.js.map
1
+ 'use strict';var p=require('react'),reactSlot=require('@radix-ui/react-slot'),classVarianceAuthority=require('class-variance-authority'),clsx=require('clsx'),tailwindMerge=require('tailwind-merge'),lucideReact=require('lucide-react'),jsxRuntime=require('react/jsx-runtime'),ue=require('@radix-ui/react-label'),R=require('@radix-ui/react-dialog'),be=require('@radix-ui/react-separator'),H=require('@radix-ui/react-avatar'),F=require('@radix-ui/react-tooltip'),reactHookForm=require('react-hook-form'),v=require('@radix-ui/react-navigation-menu'),vaul=require('vaul'),m=require('@radix-ui/react-dropdown-menu');function _interopNamespace(e){if(e&&e.__esModule)return e;var n=Object.create(null);if(e){Object.keys(e).forEach(function(k){if(k!=='default'){var d=Object.getOwnPropertyDescriptor(e,k);Object.defineProperty(n,k,d.get?d:{enumerable:true,get:function(){return e[k]}});}})}n.default=e;return Object.freeze(n)}var p__namespace=/*#__PURE__*/_interopNamespace(p);var ue__namespace=/*#__PURE__*/_interopNamespace(ue);var R__namespace=/*#__PURE__*/_interopNamespace(R);var be__namespace=/*#__PURE__*/_interopNamespace(be);var H__namespace=/*#__PURE__*/_interopNamespace(H);var F__namespace=/*#__PURE__*/_interopNamespace(F);var v__namespace=/*#__PURE__*/_interopNamespace(v);var m__namespace=/*#__PURE__*/_interopNamespace(m);var Dt=Object.defineProperty,Ct=Object.defineProperties;var St=Object.getOwnPropertyDescriptors;var ae=Object.getOwnPropertySymbols;var Le=Object.prototype.hasOwnProperty,Ee=Object.prototype.propertyIsEnumerable;var Fe=(t,e,o)=>e in t?Dt(t,e,{enumerable:true,configurable:true,writable:true,value:o}):t[e]=o,i=(t,e)=>{for(var o in e||(e={}))Le.call(e,o)&&Fe(t,o,e[o]);if(ae)for(var o of ae(e))Ee.call(e,o)&&Fe(t,o,e[o]);return t},f=(t,e)=>Ct(t,St(e));var s=(t,e)=>{var o={};for(var r in t)Le.call(t,r)&&e.indexOf(r)<0&&(o[r]=t[r]);if(t!=null&&ae)for(var r of ae(t))e.indexOf(r)<0&&Ee.call(t,r)&&(o[r]=t[r]);return o};function n(...t){return tailwindMerge.twMerge(clsx.clsx(t))}var Ie=classVarianceAuthority.cva("inline-flex items-center justify-center whitespace-nowrap rounded-md text-sm font-medium ring-offset-background transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50",{variants:{variant:{default:"bg-primary text-primary-foreground shadow hover:bg-primary/90",destructive:"bg-destructive text-destructive-foreground shadow-sm hover:bg-destructive/90",outline:"border border-input bg-background shadow-sm hover:bg-accent hover:text-accent-foreground",secondary:"bg-secondary text-secondary-foreground shadow-sm hover:bg-secondary/80",ghost:"hover:bg-accent hover:text-accent-foreground",link:"text-primary underline-offset-4 hover:underline"},size:{default:"h-9 px-4 py-2",sm:"h-8 rounded-md px-3 text-xs",lg:"h-10 rounded-md px-8",icon:"h-9 w-9"}},defaultVariants:{variant:"default",size:"default"}}),fe=p__namespace.forwardRef((D,w)=>{var V=D,{className:t,variant:e,size:o,asChild:r=false,startIcon:a,endIcon:d,loading:l=false,disabled:u,children:g,type:b="button","aria-label":y}=V,x=s(V,["className","variant","size","asChild","startIcon","endIcon","loading","disabled","children","type","aria-label"]);let S=r?reactSlot.Slot:"button",C=u||l,P=y||(typeof g=="string"?g:void 0),E=T=>{(T.key==="Enter"||T.key===" ")&&(T.preventDefault(),!C&&x.onClick&&x.onClick(T));};return r?jsxRuntime.jsx(S,f(i({className:n(Ie({variant:e,size:o,className:t})),ref:w,disabled:C,type:b,"aria-label":P,"aria-disabled":C},x),{children:g})):jsxRuntime.jsxs(S,f(i({className:n(Ie({variant:e,size:o,className:t})),ref:w,disabled:C,type:b,"aria-label":P,"aria-disabled":C,onKeyDown:E},x),{children:[l&&jsxRuntime.jsx(lucideReact.Loader2,{className:"mr-2 h-4 w-4 animate-spin",role:"status","aria-label":"Loading","aria-hidden":"true"}),!l&&a&&jsxRuntime.jsx("span",{className:"mr-2","aria-hidden":"true",children:a}),g,!l&&d&&jsxRuntime.jsx("span",{className:"ml-2","aria-hidden":"true",children:d})]}))});fe.displayName="Button";var G=p__namespace.forwardRef((a,r)=>{var d=a,{className:t,type:e}=d,o=s(d,["className","type"]);return jsxRuntime.jsx("input",i({type:e,className:n("flex h-9 w-full rounded-md border border-input bg-transparent px-3 py-1 text-base shadow-sm transition-colors file:border-0 file:bg-transparent file:text-sm file:font-medium file:text-foreground placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:cursor-not-allowed disabled:opacity-50 md:text-sm",t),ref:r},o))});G.displayName="Input";var At=classVarianceAuthority.cva("text-sm font-medium leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70"),U=p__namespace.forwardRef((r,o)=>{var a=r,{className:t}=a,e=s(a,["className"]);return jsxRuntime.jsx(ue__namespace.Root,i({ref:o,className:n(At(),t)},e))});U.displayName=ue__namespace.Root.displayName;var _t=classVarianceAuthority.cva("w-full",{variants:{variant:{default:"",error:"border-destructive focus-visible:ring-destructive"},size:{default:"h-10",sm:"h-8 text-xs",lg:"h-12 text-base"}},defaultVariants:{variant:"default",size:"default"}}),Wt=p__namespace.forwardRef((w,x)=>{var D=w,{className:t,variant:e,size:o,startIcon:r,endIcon:a,loading:d=false,error:l,label:u,helperText:g,disabled:b}=D,y=s(D,["className","variant","size","startIcon","endIcon","loading","error","label","helperText","disabled"]);let V=p__namespace.useId();return jsxRuntime.jsxs("div",{className:"w-full space-y-2",children:[u&&jsxRuntime.jsx(U,{htmlFor:V,children:u}),jsxRuntime.jsxs("div",{className:"relative",children:[r&&jsxRuntime.jsx("div",{className:"absolute left-3 top-1/2 -translate-y-1/2 text-muted-foreground",children:r}),jsxRuntime.jsx(G,i({id:V,className:n(_t({variant:l?"error":e,size:o,className:t}),r&&"pl-9",(a||d)&&"pr-9"),ref:x,disabled:b||d},y)),(a||d)&&jsxRuntime.jsx("div",{className:"absolute right-3 top-1/2 -translate-y-1/2 text-muted-foreground",children:d?jsxRuntime.jsx(lucideReact.Loader2,{className:"h-4 w-4 animate-spin"}):a})]}),(l||g)&&jsxRuntime.jsx("p",{className:n("text-sm",l?"text-destructive":"text-muted-foreground"),children:l||g})]})});Wt.displayName="TextField";var Gt=p__namespace.forwardRef((l,d)=>{var u=l,{className:t,maxWidth:e="lg",disablePadding:o=false,fluid:r=false}=u,a=s(u,["className","maxWidth","disablePadding","fluid"]);return jsxRuntime.jsx("div",i({ref:d,className:n("mx-auto w-full",!o&&"px-4 sm:px-6 lg:px-8",!r&&{"max-w-screen-sm":e==="sm","max-w-screen-md":e==="md","max-w-screen-lg":e==="lg","max-w-screen-xl":e==="xl","max-w-full":e==="full"},t)},a))});Gt.displayName="Container";var Kt=p__namespace.forwardRef((u,l)=>{var g=u,{as:t="div",className:e,width:o,height:r,style:a}=g,d=s(g,["as","className","width","height","style"]);let b=i({width:typeof o=="number"?`${o}px`:o,height:typeof r=="number"?`${r}px`:r},a);return jsxRuntime.jsx(t,i({ref:l,className:n(e),style:b},d))});Kt.displayName="Box";var Ut=p__namespace.forwardRef((w,x)=>{var D=w,{className:t,direction:e="vertical",spacing:o="md",wrap:r=false,center:a=false,justify:d,align:l,width:u,height:g,style:b}=D,y=s(D,["className","direction","spacing","wrap","center","justify","align","width","height","style"]);return jsxRuntime.jsx("div",i({ref:x,className:n("flex",e==="vertical"?"flex-col":"flex-row",{"gap-0":o==="none","gap-1":o==="xs","gap-2":o==="sm","gap-4":o==="md","gap-6":o==="lg","gap-8":o==="xl"},r&&"flex-wrap",a&&"items-center justify-center",d&&{"justify-start":d==="start","justify-end":d==="end","justify-center":d==="center","justify-between":d==="between","justify-around":d==="around","justify-evenly":d==="evenly"},l&&{"items-start":l==="start","items-end":l==="end","items-center":l==="center","items-stretch":l==="stretch","items-baseline":l==="baseline"},t),style:i({width:u,height:g},b)},y))});Ut.displayName="Stack";var yr=R__namespace.Root,xr=R__namespace.Trigger,Jt=R__namespace.Portal,wr=R__namespace.Close,_e=p__namespace.forwardRef((r,o)=>{var a=r,{className:t}=a,e=s(a,["className"]);return jsxRuntime.jsx(R__namespace.Overlay,i({ref:o,className:n("fixed inset-0 z-50 bg-black/80 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0",t)},e))});_e.displayName=R__namespace.Overlay.displayName;var Qt=p__namespace.forwardRef((a,r)=>{var d=a,{className:t,children:e}=d,o=s(d,["className","children"]);return jsxRuntime.jsxs(Jt,{children:[jsxRuntime.jsx(_e,{}),jsxRuntime.jsxs(R__namespace.Content,f(i({ref:r,className:n("fixed left-[50%] top-[50%] z-50 grid w-full max-w-lg translate-x-[-50%] translate-y-[-50%] gap-4 border bg-background p-6 shadow-lg duration-200 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[state=closed]:slide-out-to-left-1/2 data-[state=closed]:slide-out-to-top-[48%] data-[state=open]:slide-in-from-left-1/2 data-[state=open]:slide-in-from-top-[48%] sm:rounded-lg",t)},o),{children:[e,jsxRuntime.jsxs(R__namespace.Close,{className:"absolute right-4 top-4 rounded-sm opacity-70 ring-offset-background transition-opacity hover:opacity-100 focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:pointer-events-none data-[state=open]:bg-accent data-[state=open]:text-muted-foreground",children:[jsxRuntime.jsx(lucideReact.X,{className:"h-4 w-4"}),jsxRuntime.jsx("span",{className:"sr-only",children:"Close"})]})]}))]})});Qt.displayName=R__namespace.Content.displayName;var Zt=o=>{var r=o,{className:t}=r,e=s(r,["className"]);return jsxRuntime.jsx("div",i({className:n("flex flex-col space-y-1.5 text-center sm:text-left",t)},e))};Zt.displayName="DialogHeader";var jt=o=>{var r=o,{className:t}=r,e=s(r,["className"]);return jsxRuntime.jsx("div",i({className:n("flex flex-col-reverse sm:flex-row sm:justify-end sm:space-x-2",t)},e))};jt.displayName="DialogFooter";var ea=p__namespace.forwardRef((r,o)=>{var a=r,{className:t}=a,e=s(a,["className"]);return jsxRuntime.jsx(R__namespace.Title,i({ref:o,className:n("text-lg font-semibold leading-none tracking-tight",t)},e))});ea.displayName=R__namespace.Title.displayName;var ta=p__namespace.forwardRef((r,o)=>{var a=r,{className:t}=a,e=s(a,["className"]);return jsxRuntime.jsx(R__namespace.Description,i({ref:o,className:n("text-sm text-muted-foreground",t)},e))});ta.displayName=R__namespace.Description.displayName;var ve=p__namespace.forwardRef((d,a)=>{var l=d,{className:t,orientation:e="horizontal",decorative:o=true}=l,r=s(l,["className","orientation","decorative"]);return jsxRuntime.jsx(be__namespace.Root,i({ref:a,decorative:o,orientation:e,className:n("shrink-0 bg-border",e==="horizontal"?"h-[1px] w-full":"h-full w-[1px]",t)},r))});ve.displayName=be__namespace.Root.displayName;var Ge=R__namespace.Root,Ir=R__namespace.Trigger,Hr=R__namespace.Close,ia=R__namespace.Portal,$e=p__namespace.forwardRef((r,o)=>{var a=r,{className:t}=a,e=s(a,["className"]);return jsxRuntime.jsx(R__namespace.Overlay,f(i({className:n("fixed inset-0 z-50 bg-black/80 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0",t)},e),{ref:o}))});$e.displayName=R__namespace.Overlay.displayName;var na=classVarianceAuthority.cva("fixed z-50 gap-4 bg-background p-6 shadow-lg transition ease-in-out data-[state=closed]:duration-300 data-[state=open]:duration-500 data-[state=open]:animate-in data-[state=closed]:animate-out",{variants:{side:{top:"inset-x-0 top-0 border-b data-[state=closed]:slide-out-to-top data-[state=open]:slide-in-from-top",bottom:"inset-x-0 bottom-0 border-t data-[state=closed]:slide-out-to-bottom data-[state=open]:slide-in-from-bottom",left:"inset-y-0 left-0 h-full w-3/4 border-r data-[state=closed]:slide-out-to-left data-[state=open]:slide-in-from-left sm:max-w-sm",right:"inset-y-0 right-0 h-full w-3/4 border-l data-[state=closed]:slide-out-to-right data-[state=open]:slide-in-from-right sm:max-w-sm"}},defaultVariants:{side:"right"}}),he=p__namespace.forwardRef((d,a)=>{var l=d,{side:t="right",className:e,children:o}=l,r=s(l,["side","className","children"]);return jsxRuntime.jsxs(ia,{children:[jsxRuntime.jsx($e,{}),jsxRuntime.jsxs(R__namespace.Content,f(i({ref:a,className:n(na({side:t}),e)},r),{children:[jsxRuntime.jsxs(R__namespace.Close,{className:"absolute right-4 top-4 rounded-sm opacity-70 ring-offset-background transition-opacity hover:opacity-100 focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:pointer-events-none data-[state=open]:bg-secondary",children:[jsxRuntime.jsx(lucideReact.X,{className:"h-4 w-4"}),jsxRuntime.jsx("span",{className:"sr-only",children:"Close"})]}),o]}))]})});he.displayName=R__namespace.Content.displayName;var ye=o=>{var r=o,{className:t}=r,e=s(r,["className"]);return jsxRuntime.jsx("div",i({className:n("flex flex-col space-y-2 text-center sm:text-left",t)},e))};ye.displayName="SheetHeader";var sa=o=>{var r=o,{className:t}=r,e=s(r,["className"]);return jsxRuntime.jsx("div",i({className:n("flex flex-col-reverse sm:flex-row sm:justify-end sm:space-x-2",t)},e))};sa.displayName="SheetFooter";var xe=p__namespace.forwardRef((r,o)=>{var a=r,{className:t}=a,e=s(a,["className"]);return jsxRuntime.jsx(R__namespace.Title,i({ref:o,className:n("text-lg font-semibold text-foreground",t)},e))});xe.displayName=R__namespace.Title.displayName;var we=p__namespace.forwardRef((r,o)=>{var a=r,{className:t}=a,e=s(a,["className"]);return jsxRuntime.jsx(R__namespace.Description,i({ref:o,className:n("text-sm text-muted-foreground",t)},e))});we.displayName=R__namespace.Description.displayName;function Pe(o){var r=o,{className:t}=r,e=s(r,["className"]);return jsxRuntime.jsx("div",i({className:n("animate-pulse rounded-md bg-primary/10",t)},e))}var Ke=p__namespace.forwardRef((r,o)=>{var a=r,{className:t}=a,e=s(a,["className"]);return jsxRuntime.jsx(H__namespace.Root,i({ref:o,className:n("relative flex h-10 w-10 shrink-0 overflow-hidden rounded-full",t)},e))});Ke.displayName=H__namespace.Root.displayName;var qe=p__namespace.forwardRef((r,o)=>{var a=r,{className:t}=a,e=s(a,["className"]);return jsxRuntime.jsx(H__namespace.Image,i({ref:o,className:n("aspect-square h-full w-full",t)},e))});qe.displayName=H__namespace.Image.displayName;var Ue=p__namespace.forwardRef((r,o)=>{var a=r,{className:t}=a,e=s(a,["className"]);return jsxRuntime.jsx(H__namespace.Fallback,i({ref:o,className:n("flex h-full w-full items-center justify-center rounded-full bg-muted",t)},e))});Ue.displayName=H__namespace.Fallback.displayName;var Je=F__namespace.Provider,Qe=F__namespace.Root,Ze=F__namespace.Trigger,Me=p__namespace.forwardRef((a,r)=>{var d=a,{className:t,sideOffset:e=4}=d,o=s(d,["className","sideOffset"]);return jsxRuntime.jsx(F__namespace.Portal,{children:jsxRuntime.jsx(F__namespace.Content,i({ref:r,sideOffset:e,className:n("z-50 overflow-hidden rounded-md bg-primary px-3 py-1.5 text-xs text-primary-foreground animate-in fade-in-0 zoom-in-95 data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 origin-[--radix-tooltip-content-transform-origin]",t)},o))})});Me.displayName=F__namespace.Content.displayName;var De=classVarianceAuthority.cva("inline-flex items-center rounded-full border px-2.5 py-0.5 text-xs font-semibold transition-colors focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2",{variants:{variant:{default:"border-transparent bg-primary text-primary-foreground hover:bg-primary/80",secondary:"border-transparent bg-secondary text-secondary-foreground hover:bg-secondary/80",destructive:"border-transparent bg-destructive text-destructive-foreground hover:bg-destructive/80",outline:"text-foreground",success:"border-transparent bg-green-500 text-white hover:bg-green-500/80",warning:"border-transparent bg-yellow-500 text-white hover:bg-yellow-500/80",info:"border-transparent bg-blue-500 text-white hover:bg-blue-500/80"},size:{default:"h-5",sm:"h-4 text-[10px]",lg:"h-6 text-sm"}},defaultVariants:{variant:"default",size:"default"}});var tt=p__namespace.forwardRef((g,u)=>{var b=g,{className:t,variant:e,size:o,icon:r,iconAfter:a,children:d}=b,l=s(b,["className","variant","size","icon","iconAfter","children"]);return jsxRuntime.jsxs("div",f(i({ref:u,className:n(De({variant:e,size:o}),t)},l),{children:[r&&jsxRuntime.jsx("span",{className:"mr-1",children:r}),d,a&&jsxRuntime.jsx("span",{className:"ml-1",children:a})]}))});tt.displayName="Badge";var ga=reactHookForm.FormProvider,at=p__namespace.createContext({}),ba=e=>{var t=s(e,[]);return jsxRuntime.jsx(at.Provider,{value:{name:t.name},children:jsxRuntime.jsx(reactHookForm.Controller,i({},t))})},j=()=>{let t=p__namespace.useContext(at),e=p__namespace.useContext(ot),{getFieldState:o,formState:r}=reactHookForm.useFormContext(),a=o(t.name,r);if(!t)throw new Error("useFormField should be used within <FormField>");let{id:d}=e;return i({id:d,name:t.name,formItemId:`${d}-form-item`,formDescriptionId:`${d}-form-item-description`,formMessageId:`${d}-form-item-message`},a)},ot=p__namespace.createContext({}),ne=p__namespace.forwardRef((r,o)=>{var a=r,{className:t}=a,e=s(a,["className"]);let d=p__namespace.useId();return jsxRuntime.jsx(ot.Provider,{value:{id:d},children:jsxRuntime.jsx("div",i({ref:o,className:n("space-y-2",t),role:"group"},e))})});ne.displayName="FormItem";var se=p__namespace.forwardRef((r,o)=>{var a=r,{className:t}=a,e=s(a,["className"]);let{error:d,formItemId:l}=j();return jsxRuntime.jsx(U,i({ref:o,className:n("text-sm font-medium leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70",d&&"text-destructive",t),htmlFor:l},e))});se.displayName="FormLabel";var de=p__namespace.forwardRef((o,e)=>{var t=s(o,[]);let{error:r,formItemId:a,formDescriptionId:d,formMessageId:l}=j();return jsxRuntime.jsx(reactSlot.Slot,i({ref:e,id:a,"aria-describedby":r?`${d} ${l}`:`${d}`,"aria-invalid":!!r},t))});de.displayName="FormControl";var le=p__namespace.forwardRef((r,o)=>{var a=r,{className:t}=a,e=s(a,["className"]);let{formDescriptionId:d}=j();return jsxRuntime.jsx("p",i({ref:o,id:d,className:n("text-[0.8rem] text-muted-foreground",t)},e))});le.displayName="FormDescription";var me=p__namespace.forwardRef((a,r)=>{var d=a,{className:t,children:e}=d,o=s(d,["className","children"]);var b;let{error:l,formMessageId:u}=j(),g=l?String((b=l==null?void 0:l.message)!=null?b:""):e;return g?jsxRuntime.jsx("p",f(i({ref:r,id:u,className:n("text-[0.8rem] font-medium text-destructive",t),role:"alert"},o),{children:g})):null});me.displayName="FormMessage";var Ra=classVarianceAuthority.cva("",{variants:{variant:{h1:"scroll-m-20 text-4xl font-extrabold tracking-tight lg:text-5xl",h2:"scroll-m-20 text-3xl font-semibold tracking-tight",h3:"scroll-m-20 text-2xl font-semibold tracking-tight",h4:"scroll-m-20 text-xl font-semibold tracking-tight",h5:"scroll-m-20 text-lg font-semibold tracking-tight",h6:"scroll-m-20 text-base font-semibold tracking-tight",p:"leading-7 [&:not(:first-child)]:mt-6",blockquote:"mt-6 border-l-2 border-slate-300 pl-6 italic",list:"my-6 ml-6 list-disc [&>li]:mt-2",lead:"text-xl text-muted-foreground",large:"text-lg font-semibold",small:"text-sm font-medium leading-none",muted:"text-sm text-muted-foreground"},align:{left:"text-left",center:"text-center",right:"text-right",justify:"text-justify"}},defaultVariants:{variant:"p",align:"left"}}),ha=p__namespace.forwardRef((l,d)=>{var u=l,{className:t,variant:e,align:o,as:r="p"}=u,a=s(u,["className","variant","align","as"]);return jsxRuntime.jsx(r,i({className:n(Ra({variant:e,align:o,className:t})),ref:d},a))});ha.displayName="Typography";var xa=p__namespace.forwardRef((r,o)=>{var a=r,{className:t}=a,e=s(a,["className"]);return jsxRuntime.jsx("div",i({ref:o,className:n("rounded-lg border bg-card text-card-foreground shadow-sm",t)},e))});xa.displayName="Card";var wa=p__namespace.forwardRef((r,o)=>{var a=r,{className:t}=a,e=s(a,["className"]);return jsxRuntime.jsx("div",i({ref:o,className:n("flex flex-col space-y-1.5 p-6",t)},e))});wa.displayName="CardHeader";var Pa=p__namespace.forwardRef((r,o)=>{var a=r,{className:t}=a,e=s(a,["className"]);return jsxRuntime.jsx("h3",i({ref:o,className:n("text-2xl font-semibold leading-none tracking-tight",t)},e))});Pa.displayName="CardTitle";var Na=p__namespace.forwardRef((r,o)=>{var a=r,{className:t}=a,e=s(a,["className"]);return jsxRuntime.jsx("p",i({ref:o,className:n("text-sm text-muted-foreground",t)},e))});Na.displayName="CardDescription";var Ma=p__namespace.forwardRef((r,o)=>{var a=r,{className:t}=a,e=s(a,["className"]);return jsxRuntime.jsx("div",i({ref:o,className:n("p-6 pt-0",t)},e))});Ma.displayName="CardContent";var Da=p__namespace.forwardRef((r,o)=>{var a=r,{className:t}=a,e=s(a,["className"]);return jsxRuntime.jsx("div",i({ref:o,className:n("flex items-center p-6 pt-0",t)},e))});Da.displayName="CardFooter";var it=classVarianceAuthority.cva("group inline-flex h-10 w-max items-center justify-center rounded-md bg-background px-4 py-2 text-sm font-medium transition-colors hover:bg-accent hover:text-accent-foreground focus:bg-accent focus:text-accent-foreground focus:outline-none disabled:pointer-events-none disabled:opacity-50 data-[active]:bg-accent/50 data-[state=open]:bg-accent/50",{variants:{variant:{default:"text-foreground",ghost:"hover:bg-transparent hover:underline",link:"text-primary underline-offset-4 hover:underline",mobile:"w-full justify-between border-b border-border py-4 text-base font-medium"}},defaultVariants:{variant:"default"}});var nt=p__namespace.forwardRef((a,r)=>{var d=a,{className:t,children:e}=d,o=s(d,["className","children"]);return jsxRuntime.jsxs(v__namespace.Root,f(i({ref:r,className:n("relative z-10 flex max-w-max flex-1 items-center justify-center",t)},o),{children:[e,jsxRuntime.jsx(Ce,{})]}))});nt.displayName=v__namespace.Root.displayName;var st=p__namespace.forwardRef((r,o)=>{var a=r,{className:t}=a,e=s(a,["className"]);return jsxRuntime.jsx(v__namespace.List,i({ref:o,className:n("group flex flex-1 list-none items-center justify-center space-x-1",t)},e))});st.displayName=v__namespace.List.displayName;var Ta=v__namespace.Item,dt=p__namespace.forwardRef((d,a)=>{var l=d,{className:t,children:e,variant:o}=l,r=s(l,["className","children","variant"]);return jsxRuntime.jsxs(v__namespace.Trigger,f(i({ref:a,className:n(it({variant:o}),t)},r),{children:[e," ",jsxRuntime.jsx(lucideReact.ChevronDown,{className:"relative top-[1px] ml-1 h-3 w-3 transition duration-200 group-data-[state=open]:rotate-180","aria-hidden":"true"})]}))});dt.displayName=v__namespace.Trigger.displayName;var lt=p__namespace.forwardRef((r,o)=>{var a=r,{className:t}=a,e=s(a,["className"]);return jsxRuntime.jsx(v__namespace.Content,i({ref:o,className:n("left-0 top-0 w-full data-[motion^=from-]:animate-in data-[motion^=to-]:animate-out data-[motion^=from-]:fade-in data-[motion^=to-]:fade-out data-[motion=from-end]:slide-in-from-right-52 data-[motion=from-start]:slide-in-from-left-52 data-[motion=to-end]:slide-out-to-right-52 data-[motion=to-start]:slide-out-to-left-52 md:absolute md:w-auto",t)},e))});lt.displayName=v__namespace.Content.displayName;var Fa=v__namespace.Link,Ce=p__namespace.forwardRef((r,o)=>{var a=r,{className:t}=a,e=s(a,["className"]);return jsxRuntime.jsx("div",{className:n("absolute left-0 top-full flex justify-center"),children:jsxRuntime.jsx(v__namespace.Viewport,i({className:n("origin-top-center relative mt-1.5 h-[var(--radix-navigation-menu-viewport-height)] w-full overflow-hidden rounded-md border bg-popover text-popover-foreground shadow-lg data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-90 md:w-[var(--radix-navigation-menu-viewport-width)]",t),ref:o},e))})});Ce.displayName=v__namespace.Viewport.displayName;var mt=p__namespace.forwardRef((r,o)=>{var a=r,{className:t}=a,e=s(a,["className"]);return jsxRuntime.jsx(v__namespace.Indicator,f(i({ref:o,className:n("top-full z-[1] flex h-1.5 items-end justify-center overflow-hidden data-[state=visible]:animate-in data-[state=hidden]:animate-out data-[state=hidden]:fade-out data-[state=visible]:fade-in",t)},e),{children:jsxRuntime.jsx("div",{className:"relative top-[60%] h-2 w-2 rotate-45 rounded-tl-sm bg-border shadow-md"})}))});mt.displayName=v__namespace.Indicator.displayName;function Bi(V){var S=V,{name:t,label:e,description:o,className:r,type:a="text",warningText:d,required:l,disabled:u,readOnly:g,placeholder:b,"aria-label":y,"aria-describedby":x,onBlur:w}=S,D=s(S,["name","label","description","className","type","warningText","required","disabled","readOnly","placeholder","aria-label","aria-describedby","onBlur"]);let{control:C}=reactHookForm.useFormContext();return jsxRuntime.jsx(reactHookForm.Controller,{name:t,control:C,render:({field:P,fieldState:{error:E}})=>jsxRuntime.jsxs(ne,{children:[e&&jsxRuntime.jsxs(se,{children:[e,l&&jsxRuntime.jsx("span",{className:"text-destructive ml-1",children:"*"})]}),jsxRuntime.jsx(de,{children:jsxRuntime.jsx(G,i(f(i({},P),{type:a,value:a==="number"&&P.value===0?"":P.value,onChange:T=>{a==="number"?P.onChange(Number(T.target.value)):P.onChange(T.target.value);},onBlur:T=>{a!=="number"&&typeof P.value=="string"&&P.onChange(P.value.trim()),P.onBlur(),w==null||w(T);},className:n(E&&"border-destructive focus-visible:ring-destructive",r),disabled:u,readOnly:g,required:l,placeholder:b,"aria-label":y,"aria-describedby":x,"aria-invalid":!!E,"aria-required":l}),D))}),o&&jsxRuntime.jsx(le,{children:o}),E&&jsxRuntime.jsx(me,{children:E.message}),!E&&d&&jsxRuntime.jsx("p",{className:"text-sm text-yellow-600 dark:text-yellow-500",role:"alert",children:d})]})})}var Ia=o=>{var r=o,{shouldScaleBackground:t=true}=r,e=s(r,["shouldScaleBackground"]);return jsxRuntime.jsx(vaul.Drawer.Root,i({shouldScaleBackground:t},e))};Ia.displayName="Drawer";var Ki=vaul.Drawer.Trigger,Ha=vaul.Drawer.Portal,qi=vaul.Drawer.Close,ut=p__namespace.forwardRef((r,o)=>{var a=r,{className:t}=a,e=s(a,["className"]);return jsxRuntime.jsx(vaul.Drawer.Overlay,i({ref:o,className:n("fixed inset-0 z-50 bg-black/80",t)},e))});ut.displayName=vaul.Drawer.Overlay.displayName;var ka=p__namespace.forwardRef((a,r)=>{var d=a,{className:t,children:e}=d,o=s(d,["className","children"]);return jsxRuntime.jsxs(Ha,{children:[jsxRuntime.jsx(ut,{}),jsxRuntime.jsxs(vaul.Drawer.Content,f(i({ref:r,className:n("fixed inset-x-0 bottom-0 z-50 mt-24 flex h-auto flex-col rounded-t-[10px] border bg-background",t)},o),{children:[jsxRuntime.jsx("div",{className:"mx-auto mt-4 h-2 w-[100px] rounded-full bg-muted"}),e]}))]})});ka.displayName="DrawerContent";var Va=o=>{var r=o,{className:t}=r,e=s(r,["className"]);return jsxRuntime.jsx("div",i({className:n("grid gap-1.5 p-4 text-center sm:text-left",t)},e))};Va.displayName="DrawerHeader";var Aa=o=>{var r=o,{className:t}=r,e=s(r,["className"]);return jsxRuntime.jsx("div",i({className:n("mt-auto flex flex-col gap-2 p-4",t)},e))};Aa.displayName="DrawerFooter";var za=p__namespace.forwardRef((r,o)=>{var a=r,{className:t}=a,e=s(a,["className"]);return jsxRuntime.jsx(vaul.Drawer.Title,i({ref:o,className:n("text-lg font-semibold leading-none tracking-tight",t)},e))});za.displayName=vaul.Drawer.Title.displayName;var Ba=p__namespace.forwardRef((r,o)=>{var a=r,{className:t}=a,e=s(a,["className"]);return jsxRuntime.jsx(vaul.Drawer.Description,i({ref:o,className:n("text-sm text-muted-foreground",t)},e))});Ba.displayName=vaul.Drawer.Description.displayName;var Se=768;function gt(){let[t,e]=p__namespace.useState(void 0);return p__namespace.useEffect(()=>{let o=window.matchMedia(`(max-width: ${Se-1}px)`),r=()=>{e(window.innerWidth<Se);};return o.addEventListener("change",r),e(window.innerWidth<Se),()=>o.removeEventListener("change",r)},[]),!!t}var Wa="sidebar_state",Ga=60*60*24*7,$a="16rem",Ka="18rem",qa="3rem",Ua="b",bt=p__namespace.createContext(null);function ce(){let t=p__namespace.useContext(bt);if(!t)throw new Error("useSidebar must be used within a SidebarProvider.");return t}var Xa=p__namespace.forwardRef((g,u)=>{var b=g,{defaultOpen:t=true,open:e,onOpenChange:o,className:r,style:a,children:d}=b,l=s(b,["defaultOpen","open","onOpenChange","className","style","children"]);let y=gt(),[x,w]=p__namespace.useState(false),[D,V]=p__namespace.useState(t),S=e!=null?e:D,C=p__namespace.useCallback(I=>{let A=typeof I=="function"?I(S):I;o?o(A):V(A),document.cookie=`${Wa}=${A}; path=/; max-age=${Ga}`;},[o,S]),P=p__namespace.useCallback(()=>y?w(I=>!I):C(I=>!I),[y,C,w]);p__namespace.useEffect(()=>{let I=A=>{A.key===Ua&&(A.metaKey||A.ctrlKey)&&(A.preventDefault(),P());};return window.addEventListener("keydown",I),()=>window.removeEventListener("keydown",I)},[P]);let E=S?"expanded":"collapsed",T=p__namespace.useMemo(()=>({state:E,open:S,setOpen:C,isMobile:y,openMobile:x,setOpenMobile:w,toggleSidebar:P}),[E,S,C,y,x,w,P]);return jsxRuntime.jsx(bt.Provider,{value:T,children:jsxRuntime.jsx(Je,{delayDuration:0,children:jsxRuntime.jsx("div",f(i({style:i({"--sidebar-width":$a,"--sidebar-width-icon":qa},a),className:n("group/sidebar-wrapper flex min-h-svh w-full has-[[data-variant=inset]]:bg-sidebar",r),ref:u},l),{children:d}))})})});Xa.displayName="SidebarProvider";var Ya=p__namespace.forwardRef((u,l)=>{var g=u,{side:t="left",variant:e="sidebar",collapsible:o="offcanvas",className:r,children:a}=g,d=s(g,["side","variant","collapsible","className","children"]);let{isMobile:b,state:y,openMobile:x,setOpenMobile:w}=ce();return o==="none"?jsxRuntime.jsx("div",f(i({className:n("flex h-full w-[--sidebar-width] flex-col bg-sidebar text-sidebar-foreground",r),ref:l},d),{children:a})):b?jsxRuntime.jsx(Ge,f(i({open:x,onOpenChange:w},d),{children:jsxRuntime.jsxs(he,{"data-sidebar":"sidebar","data-mobile":"true",className:"w-[--sidebar-width] bg-sidebar p-0 text-sidebar-foreground [&>button]:hidden",style:{"--sidebar-width":Ka},side:t,children:[jsxRuntime.jsxs(ye,{className:"sr-only",children:[jsxRuntime.jsx(xe,{children:"Sidebar"}),jsxRuntime.jsx(we,{children:"Displays the mobile sidebar."})]}),jsxRuntime.jsx("div",{className:"flex h-full w-full flex-col",children:a})]})})):jsxRuntime.jsxs("div",{ref:l,className:"group peer hidden text-sidebar-foreground md:block","data-state":y,"data-collapsible":y==="collapsed"?o:"","data-variant":e,"data-side":t,children:[jsxRuntime.jsx("div",{className:n("relative w-[--sidebar-width] bg-transparent transition-[width] duration-200 ease-linear","group-data-[collapsible=offcanvas]:w-0","group-data-[side=right]:rotate-180",e==="floating"||e==="inset"?"group-data-[collapsible=icon]:w-[calc(var(--sidebar-width-icon)_+_theme(spacing.4))]":"group-data-[collapsible=icon]:w-[--sidebar-width-icon]")}),jsxRuntime.jsx("div",f(i({className:n("fixed inset-y-0 z-10 hidden h-svh w-[--sidebar-width] transition-[left,right,width] duration-200 ease-linear md:flex",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)]",e==="floating"||e==="inset"?"p-2 group-data-[collapsible=icon]:w-[calc(var(--sidebar-width-icon)_+_theme(spacing.4)_+2px)]":"group-data-[collapsible=icon]:w-[--sidebar-width-icon] group-data-[side=left]:border-r group-data-[side=right]:border-l",r)},d),{children:jsxRuntime.jsx("div",{"data-sidebar":"sidebar",className:"flex h-full w-full flex-col bg-sidebar group-data-[variant=floating]:rounded-lg group-data-[variant=floating]:border group-data-[variant=floating]:border-sidebar-border group-data-[variant=floating]:shadow",children:a})}))]})});Ya.displayName="Sidebar";var Ja=p__namespace.forwardRef((a,r)=>{var d=a,{className:t,onClick:e}=d,o=s(d,["className","onClick"]);let{toggleSidebar:l}=ce();return jsxRuntime.jsxs(fe,f(i({ref:r,"data-sidebar":"trigger",variant:"ghost",size:"icon",className:n("h-7 w-7",t),onClick:u=>{e==null||e(u),l();}},o),{children:[jsxRuntime.jsx(lucideReact.PanelLeft,{}),jsxRuntime.jsx("span",{className:"sr-only",children:"Toggle Sidebar"})]}))});Ja.displayName="SidebarTrigger";var Qa=p__namespace.forwardRef((r,o)=>{var a=r,{className:t}=a,e=s(a,["className"]);let{toggleSidebar:d}=ce();return jsxRuntime.jsx("button",i({ref:o,"data-sidebar":"rail","aria-label":"Toggle Sidebar",tabIndex:-1,onClick:d,title:"Toggle Sidebar",className:n("absolute inset-y-0 z-20 hidden w-4 -translate-x-1/2 transition-all ease-linear after:absolute after:inset-y-0 after:left-1/2 after:w-[2px] hover:after:bg-sidebar-border group-data-[side=left]:-right-4 group-data-[side=right]:left-0 sm:flex","[[data-side=left]_&]:cursor-w-resize [[data-side=right]_&]:cursor-e-resize","[[data-side=left][data-state=collapsed]_&]:cursor-e-resize [[data-side=right][data-state=collapsed]_&]:cursor-w-resize","group-data-[collapsible=offcanvas]:translate-x-0 group-data-[collapsible=offcanvas]:after:left-full group-data-[collapsible=offcanvas]:hover:bg-sidebar","[[data-side=left][data-collapsible=offcanvas]_&]:-right-2","[[data-side=right][data-collapsible=offcanvas]_&]:-left-2",t)},e))});Qa.displayName="SidebarRail";var Za=p__namespace.forwardRef((r,o)=>{var a=r,{className:t}=a,e=s(a,["className"]);return jsxRuntime.jsx("main",i({ref:o,className:n("relative flex w-full flex-1 flex-col bg-background","md:peer-data-[variant=inset]:m-2 md:peer-data-[state=collapsed]:peer-data-[variant=inset]:ml-2 md:peer-data-[variant=inset]:ml-0 md:peer-data-[variant=inset]:rounded-xl md:peer-data-[variant=inset]:shadow",t)},e))});Za.displayName="SidebarInset";var ja=p__namespace.forwardRef((r,o)=>{var a=r,{className:t}=a,e=s(a,["className"]);return jsxRuntime.jsx(G,i({ref:o,"data-sidebar":"input",className:n("h-8 w-full bg-background shadow-none focus-visible:ring-2 focus-visible:ring-sidebar-ring",t)},e))});ja.displayName="SidebarInput";var eo=p__namespace.forwardRef((r,o)=>{var a=r,{className:t}=a,e=s(a,["className"]);return jsxRuntime.jsx("div",i({ref:o,"data-sidebar":"header",className:n("flex flex-col gap-2 p-2",t)},e))});eo.displayName="SidebarHeader";var to=p__namespace.forwardRef((r,o)=>{var a=r,{className:t}=a,e=s(a,["className"]);return jsxRuntime.jsx("div",i({ref:o,"data-sidebar":"footer",className:n("flex flex-col gap-2 p-2",t)},e))});to.displayName="SidebarFooter";var ao=p__namespace.forwardRef((r,o)=>{var a=r,{className:t}=a,e=s(a,["className"]);return jsxRuntime.jsx(ve,i({ref:o,"data-sidebar":"separator",className:n("mx-2 w-auto bg-sidebar-border",t)},e))});ao.displayName="SidebarSeparator";var oo=p__namespace.forwardRef((r,o)=>{var a=r,{className:t}=a,e=s(a,["className"]);return jsxRuntime.jsx("div",i({ref:o,"data-sidebar":"content",className:n("flex min-h-0 flex-1 flex-col gap-2 overflow-auto group-data-[collapsible=icon]:overflow-hidden",t)},e))});oo.displayName="SidebarContent";var ro=p__namespace.forwardRef((r,o)=>{var a=r,{className:t}=a,e=s(a,["className"]);return jsxRuntime.jsx("div",i({ref:o,"data-sidebar":"group",className:n("relative flex w-full min-w-0 flex-col p-2",t)},e))});ro.displayName="SidebarGroup";var io=p__namespace.forwardRef((a,r)=>{var d=a,{className:t,asChild:e=false}=d,o=s(d,["className","asChild"]);return jsxRuntime.jsx(e?reactSlot.Slot:"div",i({ref:r,"data-sidebar":"group-label",className:n("flex h-8 shrink-0 items-center rounded-md px-2 text-xs font-medium text-sidebar-foreground/70 outline-none ring-sidebar-ring transition-[margin,opacity] duration-200 ease-linear focus-visible:ring-2 [&>svg]:size-4 [&>svg]:shrink-0","group-data-[collapsible=icon]:-mt-8 group-data-[collapsible=icon]:opacity-0",t)},o))});io.displayName="SidebarGroupLabel";var no=p__namespace.forwardRef((a,r)=>{var d=a,{className:t,asChild:e=false}=d,o=s(d,["className","asChild"]);return jsxRuntime.jsx(e?reactSlot.Slot:"button",i({ref:r,"data-sidebar":"group-action",className:n("absolute right-3 top-3.5 flex aspect-square w-5 items-center justify-center rounded-md p-0 text-sidebar-foreground outline-none ring-sidebar-ring transition-transform hover:bg-sidebar-accent hover:text-sidebar-accent-foreground focus-visible:ring-2 [&>svg]:size-4 [&>svg]:shrink-0","after:absolute after:-inset-2 after:md:hidden","group-data-[collapsible=icon]:hidden",t)},o))});no.displayName="SidebarGroupAction";var so=p__namespace.forwardRef((r,o)=>{var a=r,{className:t}=a,e=s(a,["className"]);return jsxRuntime.jsx("div",i({ref:o,"data-sidebar":"group-content",className:n("w-full text-sm",t)},e))});so.displayName="SidebarGroupContent";var lo=p__namespace.forwardRef((r,o)=>{var a=r,{className:t}=a,e=s(a,["className"]);return jsxRuntime.jsx("ul",i({ref:o,"data-sidebar":"menu",className:n("flex w-full min-w-0 flex-col gap-1",t)},e))});lo.displayName="SidebarMenu";var mo=p__namespace.forwardRef((r,o)=>{var a=r,{className:t}=a,e=s(a,["className"]);return jsxRuntime.jsx("li",i({ref:o,"data-sidebar":"menu-item",className:n("group/menu-item relative",t)},e))});mo.displayName="SidebarMenuItem";var po=classVarianceAuthority.cva("peer/menu-button flex w-full items-center gap-2 overflow-hidden rounded-md p-2 text-left text-sm outline-none 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-4 [&>svg]:shrink-0",{variants:{variant:{default:"hover:bg-sidebar-accent hover:text-sidebar-accent-foreground",outline:"bg-background shadow-[0_0_0_1px_hsl(var(--sidebar-border))] hover:bg-sidebar-accent hover:text-sidebar-accent-foreground hover:shadow-[0_0_0_1px_hsl(var(--sidebar-accent))]"},size:{default:"h-8 text-sm",sm:"h-7 text-xs",lg:"h-12 text-sm group-data-[collapsible=icon]:!p-0"}},defaultVariants:{variant:"default",size:"default"}}),co=p__namespace.forwardRef((g,u)=>{var b=g,{asChild:t=false,isActive:e=false,variant:o="default",size:r="default",tooltip:a,className:d}=b,l=s(b,["asChild","isActive","variant","size","tooltip","className"]);let y=t?reactSlot.Slot:"button",{isMobile:x,state:w}=ce(),D=jsxRuntime.jsx(y,i({ref:u,"data-sidebar":"menu-button","data-size":r,"data-active":e,className:n(po({variant:o,size:r}),d)},l));return a?(typeof a=="string"&&(a={children:a}),jsxRuntime.jsxs(Qe,{children:[jsxRuntime.jsx(Ze,{asChild:true,children:D}),jsxRuntime.jsx(Me,i({side:"right",align:"center",hidden:w!=="collapsed"||x},a))]})):D});co.displayName="SidebarMenuButton";var fo=p__namespace.forwardRef((d,a)=>{var l=d,{className:t,asChild:e=false,showOnHover:o=false}=l,r=s(l,["className","asChild","showOnHover"]);return jsxRuntime.jsx(e?reactSlot.Slot:"button",i({ref:a,"data-sidebar":"menu-action",className:n("absolute right-1 top-1.5 flex aspect-square w-5 items-center justify-center rounded-md p-0 text-sidebar-foreground outline-none ring-sidebar-ring transition-transform hover:bg-sidebar-accent hover:text-sidebar-accent-foreground focus-visible:ring-2 peer-hover/menu-button:text-sidebar-accent-foreground [&>svg]:size-4 [&>svg]:shrink-0","after:absolute after:-inset-2 after:md:hidden","peer-data-[size=sm]/menu-button:top-1","peer-data-[size=default]/menu-button:top-1.5","peer-data-[size=lg]/menu-button:top-2.5","group-data-[collapsible=icon]:hidden",o&&"group-focus-within/menu-item:opacity-100 group-hover/menu-item:opacity-100 data-[state=open]:opacity-100 peer-data-[active=true]/menu-button:text-sidebar-accent-foreground md:opacity-0",t)},r))});fo.displayName="SidebarMenuAction";var uo=p__namespace.forwardRef((r,o)=>{var a=r,{className:t}=a,e=s(a,["className"]);return jsxRuntime.jsx("div",i({ref:o,"data-sidebar":"menu-badge",className:n("pointer-events-none absolute right-1 flex h-5 min-w-5 select-none items-center justify-center rounded-md px-1 text-xs font-medium tabular-nums text-sidebar-foreground","peer-hover/menu-button:text-sidebar-accent-foreground peer-data-[active=true]/menu-button:text-sidebar-accent-foreground","peer-data-[size=sm]/menu-button:top-1","peer-data-[size=default]/menu-button:top-1.5","peer-data-[size=lg]/menu-button:top-2.5","group-data-[collapsible=icon]:hidden",t)},e))});uo.displayName="SidebarMenuBadge";var go=p__namespace.forwardRef((a,r)=>{var d=a,{className:t,showIcon:e=false}=d,o=s(d,["className","showIcon"]);let l=p__namespace.useMemo(()=>`${Math.floor(Math.random()*40)+50}%`,[]);return jsxRuntime.jsxs("div",f(i({ref:r,"data-sidebar":"menu-skeleton",className:n("flex h-8 items-center gap-2 rounded-md px-2",t)},o),{children:[e&&jsxRuntime.jsx(Pe,{className:"size-4 rounded-md","data-sidebar":"menu-skeleton-icon"}),jsxRuntime.jsx(Pe,{className:"h-4 max-w-[--skeleton-width] flex-1","data-sidebar":"menu-skeleton-text",style:{"--skeleton-width":l}})]}))});go.displayName="SidebarMenuSkeleton";var bo=p__namespace.forwardRef((r,o)=>{var a=r,{className:t}=a,e=s(a,["className"]);return jsxRuntime.jsx("ul",i({ref:o,"data-sidebar":"menu-sub",className:n("mx-3.5 flex min-w-0 translate-x-px flex-col gap-1 border-l border-sidebar-border px-2.5 py-0.5","group-data-[collapsible=icon]:hidden",t)},e))});bo.displayName="SidebarMenuSub";var vo=p__namespace.forwardRef((o,e)=>{var t=s(o,[]);return jsxRuntime.jsx("li",i({ref:e},t))});vo.displayName="SidebarMenuSubItem";var Ro=p__namespace.forwardRef((l,d)=>{var u=l,{asChild:t=false,size:e="md",isActive:o,className:r}=u,a=s(u,["asChild","size","isActive","className"]);return jsxRuntime.jsx(t?reactSlot.Slot:"a",i({ref:d,"data-sidebar":"menu-sub-button","data-size":e,"data-active":o,className:n("flex h-7 min-w-0 -translate-x-px items-center gap-2 overflow-hidden rounded-md px-2 text-sidebar-foreground outline-none ring-sidebar-ring hover:bg-sidebar-accent hover:text-sidebar-accent-foreground focus-visible:ring-2 active:bg-sidebar-accent active:text-sidebar-accent-foreground disabled:pointer-events-none disabled:opacity-50 aria-disabled:pointer-events-none aria-disabled:opacity-50 [&>span:last-child]:truncate [&>svg]:size-4 [&>svg]:shrink-0 [&>svg]:text-sidebar-accent-foreground","data-[active=true]:bg-sidebar-accent data-[active=true]:text-sidebar-accent-foreground",e==="sm"&&"text-xs",e==="md"&&"text-sm","group-data-[collapsible=icon]:hidden",r)},a))});Ro.displayName="SidebarMenuSubButton";var wo=m__namespace.Root,Po=m__namespace.Trigger,No=m__namespace.Group,Mo=m__namespace.Portal,Do=m__namespace.Sub,Co=m__namespace.RadioGroup,vt=p__namespace.forwardRef((d,a)=>{var l=d,{className:t,inset:e,children:o}=l,r=s(l,["className","inset","children"]);return jsxRuntime.jsxs(m__namespace.SubTrigger,f(i({ref:a,className:n("flex cursor-default select-none items-center rounded-sm px-2 py-1.5 text-sm outline-none focus:bg-accent data-[state=open]:bg-accent",e&&"pl-8",t)},r),{children:[o,jsxRuntime.jsx(lucideReact.ChevronRight,{className:"ml-auto h-4 w-4"})]}))});vt.displayName=m__namespace.SubTrigger.displayName;var Rt=p__namespace.forwardRef((r,o)=>{var a=r,{className:t}=a,e=s(a,["className"]);return jsxRuntime.jsx(m__namespace.SubContent,i({ref:o,className:n("z-50 min-w-[8rem] overflow-hidden rounded-md border bg-popover p-1 text-popover-foreground shadow-lg data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",t)},e))});Rt.displayName=m__namespace.SubContent.displayName;var ht=p__namespace.forwardRef((a,r)=>{var d=a,{className:t,sideOffset:e=4}=d,o=s(d,["className","sideOffset"]);return jsxRuntime.jsx(m__namespace.Portal,{children:jsxRuntime.jsx(m__namespace.Content,i({ref:r,sideOffset:e,className:n("z-50 min-w-[8rem] overflow-hidden rounded-md border bg-popover p-1 text-popover-foreground shadow-md data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",t)},o))})});ht.displayName=m__namespace.Content.displayName;var yt=p__namespace.forwardRef((a,r)=>{var d=a,{className:t,inset:e}=d,o=s(d,["className","inset"]);return jsxRuntime.jsx(m__namespace.Item,i({ref:r,className:n("relative flex cursor-default select-none items-center rounded-sm px-2 py-1.5 text-sm outline-none transition-colors focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",e&&"pl-8",t)},o))});yt.displayName=m__namespace.Item.displayName;var xt=p__namespace.forwardRef((d,a)=>{var l=d,{className:t,children:e,checked:o}=l,r=s(l,["className","children","checked"]);return jsxRuntime.jsxs(m__namespace.CheckboxItem,f(i({ref:a,className:n("relative flex cursor-default select-none items-center rounded-sm py-1.5 pl-8 pr-2 text-sm outline-none transition-colors focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",t),checked:o},r),{children:[jsxRuntime.jsx("span",{className:"absolute left-2 flex h-3.5 w-3.5 items-center justify-center",children:jsxRuntime.jsx(m__namespace.ItemIndicator,{children:jsxRuntime.jsx(lucideReact.Check,{className:"h-4 w-4"})})}),e]}))});xt.displayName=m__namespace.CheckboxItem.displayName;var wt=p__namespace.forwardRef((a,r)=>{var d=a,{className:t,children:e}=d,o=s(d,["className","children"]);return jsxRuntime.jsxs(m__namespace.RadioItem,f(i({ref:r,className:n("relative flex cursor-default select-none items-center rounded-sm py-1.5 pl-8 pr-2 text-sm outline-none transition-colors focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",t)},o),{children:[jsxRuntime.jsx("span",{className:"absolute left-2 flex h-3.5 w-3.5 items-center justify-center",children:jsxRuntime.jsx(m__namespace.ItemIndicator,{children:jsxRuntime.jsx(lucideReact.Circle,{className:"h-2 w-2 fill-current"})})}),e]}))});wt.displayName=m__namespace.RadioItem.displayName;var Pt=p__namespace.forwardRef((a,r)=>{var d=a,{className:t,inset:e}=d,o=s(d,["className","inset"]);return jsxRuntime.jsx(m__namespace.Label,i({ref:r,className:n("px-2 py-1.5 text-sm font-semibold",e&&"pl-8",t)},o))});Pt.displayName=m__namespace.Label.displayName;var Nt=p__namespace.forwardRef((r,o)=>{var a=r,{className:t}=a,e=s(a,["className"]);return jsxRuntime.jsx(m__namespace.Separator,i({ref:o,className:n("-mx-1 my-1 h-px bg-muted",t)},e))});Nt.displayName=m__namespace.Separator.displayName;var Mt=o=>{var r=o,{className:t}=r,e=s(r,["className"]);return jsxRuntime.jsx("span",i({className:n("ml-auto text-xs tracking-widest opacity-60",t)},e))};Mt.displayName="DropdownMenuShortcut";exports.Avatar=Ke;exports.AvatarFallback=Ue;exports.AvatarImage=qe;exports.Badge=tt;exports.Box=Kt;exports.Button=fe;exports.Card=xa;exports.CardContent=Ma;exports.CardDescription=Na;exports.CardFooter=Da;exports.CardHeader=wa;exports.CardTitle=Pa;exports.Container=Gt;exports.Dialog=yr;exports.DialogClose=wr;exports.DialogContent=Qt;exports.DialogDescription=ta;exports.DialogFooter=jt;exports.DialogHeader=Zt;exports.DialogOverlay=_e;exports.DialogPortal=Jt;exports.DialogTitle=ea;exports.DialogTrigger=xr;exports.Drawer=Ia;exports.DrawerClose=qi;exports.DrawerContent=ka;exports.DrawerDescription=Ba;exports.DrawerFooter=Aa;exports.DrawerHeader=Va;exports.DrawerOverlay=ut;exports.DrawerPortal=Ha;exports.DrawerTitle=za;exports.DrawerTrigger=Ki;exports.DropdownMenu=wo;exports.DropdownMenuCheckboxItem=xt;exports.DropdownMenuContent=ht;exports.DropdownMenuGroup=No;exports.DropdownMenuItem=yt;exports.DropdownMenuLabel=Pt;exports.DropdownMenuPortal=Mo;exports.DropdownMenuRadioGroup=Co;exports.DropdownMenuRadioItem=wt;exports.DropdownMenuSeparator=Nt;exports.DropdownMenuShortcut=Mt;exports.DropdownMenuSub=Do;exports.DropdownMenuSubContent=Rt;exports.DropdownMenuSubTrigger=vt;exports.DropdownMenuTrigger=Po;exports.Form=ga;exports.FormControl=de;exports.FormDescription=le;exports.FormField=ba;exports.FormItem=ne;exports.FormLabel=se;exports.FormMessage=me;exports.Input=G;exports.NavigationMenu=nt;exports.NavigationMenuContent=lt;exports.NavigationMenuIndicator=mt;exports.NavigationMenuItem=Ta;exports.NavigationMenuLink=Fa;exports.NavigationMenuList=st;exports.NavigationMenuTrigger=dt;exports.NavigationMenuViewport=Ce;exports.RHFTextField=Bi;exports.Separator=ve;exports.Sheet=Ge;exports.SheetClose=Hr;exports.SheetContent=he;exports.SheetDescription=we;exports.SheetFooter=sa;exports.SheetHeader=ye;exports.SheetOverlay=$e;exports.SheetPortal=ia;exports.SheetTitle=xe;exports.SheetTrigger=Ir;exports.Sidebar=Ya;exports.SidebarContent=oo;exports.SidebarFooter=to;exports.SidebarGroup=ro;exports.SidebarGroupAction=no;exports.SidebarGroupContent=so;exports.SidebarGroupLabel=io;exports.SidebarHeader=eo;exports.SidebarInput=ja;exports.SidebarInset=Za;exports.SidebarMenu=lo;exports.SidebarMenuAction=fo;exports.SidebarMenuBadge=uo;exports.SidebarMenuButton=co;exports.SidebarMenuItem=mo;exports.SidebarMenuSkeleton=go;exports.SidebarMenuSub=bo;exports.SidebarMenuSubButton=Ro;exports.SidebarMenuSubItem=vo;exports.SidebarProvider=Xa;exports.SidebarRail=Qa;exports.SidebarSeparator=ao;exports.SidebarTrigger=Ja;exports.Skeleton=Pe;exports.Stack=Ut;exports.TextField=Wt;exports.Tooltip=Qe;exports.TooltipContent=Me;exports.TooltipProvider=Je;exports.TooltipTrigger=Ze;exports.Typography=ha;exports.badgeVariants=De;exports.buttonVariants=Ie;exports.cn=n;exports.sidebarMenuButtonVariants=po;exports.textFieldVariants=_t;exports.typographyVariants=Ra;exports.useFormField=j;exports.useIsMobile=gt;exports.useSidebar=ce;//# sourceMappingURL=index.js.map
2
2
  //# sourceMappingURL=index.js.map