myshell-react-lib 0.2.44 → 0.2.45

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.cts CHANGED
@@ -362,7 +362,11 @@ declare const DrawerTitle: React$1.ForwardRefExoticComponent<Omit<DialogPrimitiv
362
362
  declare const DrawerDescription: React$1.ForwardRefExoticComponent<Omit<DialogPrimitive.DialogDescriptionProps & React$1.RefAttributes<HTMLParagraphElement>, "ref"> & React$1.RefAttributes<HTMLParagraphElement>>;
363
363
 
364
364
  declare const DropdownMenu: React$1.FC<DropdownMenuPrimitive.DropdownMenuProps>;
365
- declare const DropdownMenuTrigger: React$1.ForwardRefExoticComponent<DropdownMenuPrimitive.DropdownMenuTriggerProps & React$1.RefAttributes<HTMLButtonElement>>;
365
+ declare const DropdownMenuHover: ({ children, openDelay, closeDelay, modal, ...props }: React$1.ComponentPropsWithoutRef<typeof DropdownMenuPrimitive.Root> & {
366
+ openDelay?: number;
367
+ closeDelay?: number;
368
+ }) => react_jsx_runtime.JSX.Element;
369
+ declare const DropdownMenuTrigger: React$1.ForwardRefExoticComponent<Omit<DropdownMenuPrimitive.DropdownMenuTriggerProps & React$1.RefAttributes<HTMLButtonElement>, "ref"> & React$1.RefAttributes<HTMLButtonElement>>;
366
370
  declare const DropdownMenuGroup: React$1.ForwardRefExoticComponent<DropdownMenuPrimitive.DropdownMenuGroupProps & React$1.RefAttributes<HTMLDivElement>>;
367
371
  declare const DropdownMenuPortal: React$1.FC<DropdownMenuPrimitive.DropdownMenuPortalProps>;
368
372
  declare const DropdownMenuSub: React$1.FC<DropdownMenuPrimitive.DropdownMenuSubProps>;
@@ -1777,4 +1781,4 @@ declare const NetworkErrorIcon: React$1.ForwardRefExoticComponent<React$1.HTMLAt
1777
1781
  component?: React$1.ElementType;
1778
1782
  } & React$1.RefAttributes<SVGSVGElement>>;
1779
1783
 
1780
- export { Accordion, AccordionContent, AccordionItem, type AccordionItemProps, AccordionTrigger, AlertDialog, AlertDialogAction, AlertDialogCancel, AlertDialogContent, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogOverlay, AlertDialogPortal, AlertDialogTitle, AlertDialogTrigger, AspectRatio, AudioPlayer, AudioPlaying, Avatar, AvatarImage, AvatarRoot, Badge, Button, type ButtonComponentProps, type ButtonProps, Card, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, CaretDownIcon, Cascader, CascaderContent, type CascaderOption, Checkbox, Chips, CircleErrorIcon, CircleInfoIcon, CircleSuccessIcon, CircleWarningIcon, Command, CommandDialog, CommandEmpty, CommandGroup, CommandInput, CommandItem, CommandList, CommandSeparator, CommandShortcut, ContextMenu, ContextMenuCheckboxItem, ContextMenuContent, ContextMenuGroup, ContextMenuItem, ContextMenuLabel, ContextMenuPortal, ContextMenuRadioGroup, ContextMenuRadioItem, ContextMenuSeparator, ContextMenuShortcut, ContextMenuSub, ContextMenuSubContent, ContextMenuSubTrigger, ContextMenuTrigger, type CustomToasterProps, DataEmptyState, Description, Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger, Display, Drawer, DrawerClose, DrawerContent, DrawerDescription, DrawerFooter, DrawerHeader, DrawerOverlay, DrawerPortal, DrawerTitle, DrawerTrigger, DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger, ErrorIcon, ErrorState, Form, FormControl, FormDescription, FormField, FormItem, FormLabel, FormMessage, type FormRef, Guide, Heading, type IAudioProps, type INumberInputProps, type ISelectProps, Icon, IconButton, type IconButtonComponentProps, type IconComponent, type IconProps, type IconType, Image, type ImageProps, ImgEmptyState, Input, type InputProps, Label, Link, LinkButton, type LinkButtonProps, type LinkProps, LogoIcon, LogoLoading, Masonry, Menubar, MenubarCheckboxItem, MenubarContent, MenubarGroup, MenubarItem, MenubarLabel, MenubarMenu, MenubarPortal, MenubarRadioGroup, MenubarRadioItem, MenubarSeparator, MenubarShortcut, MenubarSub, MenubarSubContent, MenubarSubTrigger, MenubarTrigger, Message, MiddleBar, Modal, ModalBody, ModalContent, ModalFooter, ModalHeader, ModalOverlay, ModalRoot, ModalTitle, MultipleSelector, type MultipleSelectorRef, NetworkErrorIcon, NetworkErrorState, NoPageIcon, NoPageState, NumberInput, type Option, Paragraph, Popover, PopoverAnchor, PopoverContent, type PopoverContentExs, PopoverRoot, Progress, ProgressIndicator, type ProgressProps, ProgressRoot, type Props, RadioGroup, RadioGroupItem, ScrollArea, ScrollBar, SearchBar, type SearchBarProps, SearchEmptyState, type SearchInputProps, Select, SelectContent, SelectGroup, SelectIcon, SelectItem, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, SelectValue, Separator, Sheet, SheetClose, SheetContent, SheetDescription, SheetFooter, SheetHeader, SheetOverlay, SheetPortal, SheetTitle, SheetTrigger, Skeleton, Slider, SliderSingle, Spinner, State$1 as State, SubHeading, SubTitle, Swiper, type SwiperProps, Switch, type TModalState, Tab, Tabs, TabsContent, TabsList, TabsRoot, TabsTrigger, Text, Textarea, type TextareaProps, Title, Toast$1 as Toast, ToastAction, type ToastActionElement, ToastClose, ToastDescription, type ToastProps, ToastProvider, ToastTitle, type ToastType, ToastViewport, Toaster, type ToasterProps, Toggle, ToggleGroup, ToggleGroupItem, Tooltip, TooltipProvider, TopNavigationBar, WalletEmptyState, buttonVariants, dangerouText, iconButtonVariants, reducer, toast, toggleVariants, useDebounce, useDevice, useFormField, useIsMobileByWindowWidth, useNativeBridge, useNotification, useToast, useWindowWidth };
1784
+ export { Accordion, AccordionContent, AccordionItem, type AccordionItemProps, AccordionTrigger, AlertDialog, AlertDialogAction, AlertDialogCancel, AlertDialogContent, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogOverlay, AlertDialogPortal, AlertDialogTitle, AlertDialogTrigger, AspectRatio, AudioPlayer, AudioPlaying, Avatar, AvatarImage, AvatarRoot, Badge, Button, type ButtonComponentProps, type ButtonProps, Card, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, CaretDownIcon, Cascader, CascaderContent, type CascaderOption, Checkbox, Chips, CircleErrorIcon, CircleInfoIcon, CircleSuccessIcon, CircleWarningIcon, Command, CommandDialog, CommandEmpty, CommandGroup, CommandInput, CommandItem, CommandList, CommandSeparator, CommandShortcut, ContextMenu, ContextMenuCheckboxItem, ContextMenuContent, ContextMenuGroup, ContextMenuItem, ContextMenuLabel, ContextMenuPortal, ContextMenuRadioGroup, ContextMenuRadioItem, ContextMenuSeparator, ContextMenuShortcut, ContextMenuSub, ContextMenuSubContent, ContextMenuSubTrigger, ContextMenuTrigger, type CustomToasterProps, DataEmptyState, Description, Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger, Display, Drawer, DrawerClose, DrawerContent, DrawerDescription, DrawerFooter, DrawerHeader, DrawerOverlay, DrawerPortal, DrawerTitle, DrawerTrigger, DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuHover, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger, ErrorIcon, ErrorState, Form, FormControl, FormDescription, FormField, FormItem, FormLabel, FormMessage, type FormRef, Guide, Heading, type IAudioProps, type INumberInputProps, type ISelectProps, Icon, IconButton, type IconButtonComponentProps, type IconComponent, type IconProps, type IconType, Image, type ImageProps, ImgEmptyState, Input, type InputProps, Label, Link, LinkButton, type LinkButtonProps, type LinkProps, LogoIcon, LogoLoading, Masonry, Menubar, MenubarCheckboxItem, MenubarContent, MenubarGroup, MenubarItem, MenubarLabel, MenubarMenu, MenubarPortal, MenubarRadioGroup, MenubarRadioItem, MenubarSeparator, MenubarShortcut, MenubarSub, MenubarSubContent, MenubarSubTrigger, MenubarTrigger, Message, MiddleBar, Modal, ModalBody, ModalContent, ModalFooter, ModalHeader, ModalOverlay, ModalRoot, ModalTitle, MultipleSelector, type MultipleSelectorRef, NetworkErrorIcon, NetworkErrorState, NoPageIcon, NoPageState, NumberInput, type Option, Paragraph, Popover, PopoverAnchor, PopoverContent, type PopoverContentExs, PopoverRoot, Progress, ProgressIndicator, type ProgressProps, ProgressRoot, type Props, RadioGroup, RadioGroupItem, ScrollArea, ScrollBar, SearchBar, type SearchBarProps, SearchEmptyState, type SearchInputProps, Select, SelectContent, SelectGroup, SelectIcon, SelectItem, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, SelectValue, Separator, Sheet, SheetClose, SheetContent, SheetDescription, SheetFooter, SheetHeader, SheetOverlay, SheetPortal, SheetTitle, SheetTrigger, Skeleton, Slider, SliderSingle, Spinner, State$1 as State, SubHeading, SubTitle, Swiper, type SwiperProps, Switch, type TModalState, Tab, Tabs, TabsContent, TabsList, TabsRoot, TabsTrigger, Text, Textarea, type TextareaProps, Title, Toast$1 as Toast, ToastAction, type ToastActionElement, ToastClose, ToastDescription, type ToastProps, ToastProvider, ToastTitle, type ToastType, ToastViewport, Toaster, type ToasterProps, Toggle, ToggleGroup, ToggleGroupItem, Tooltip, TooltipProvider, TopNavigationBar, WalletEmptyState, buttonVariants, dangerouText, iconButtonVariants, reducer, toast, toggleVariants, useDebounce, useDevice, useFormField, useIsMobileByWindowWidth, useNativeBridge, useNotification, useToast, useWindowWidth };
package/dist/index.d.ts CHANGED
@@ -362,7 +362,11 @@ declare const DrawerTitle: React$1.ForwardRefExoticComponent<Omit<DialogPrimitiv
362
362
  declare const DrawerDescription: React$1.ForwardRefExoticComponent<Omit<DialogPrimitive.DialogDescriptionProps & React$1.RefAttributes<HTMLParagraphElement>, "ref"> & React$1.RefAttributes<HTMLParagraphElement>>;
363
363
 
364
364
  declare const DropdownMenu: React$1.FC<DropdownMenuPrimitive.DropdownMenuProps>;
365
- declare const DropdownMenuTrigger: React$1.ForwardRefExoticComponent<DropdownMenuPrimitive.DropdownMenuTriggerProps & React$1.RefAttributes<HTMLButtonElement>>;
365
+ declare const DropdownMenuHover: ({ children, openDelay, closeDelay, modal, ...props }: React$1.ComponentPropsWithoutRef<typeof DropdownMenuPrimitive.Root> & {
366
+ openDelay?: number;
367
+ closeDelay?: number;
368
+ }) => react_jsx_runtime.JSX.Element;
369
+ declare const DropdownMenuTrigger: React$1.ForwardRefExoticComponent<Omit<DropdownMenuPrimitive.DropdownMenuTriggerProps & React$1.RefAttributes<HTMLButtonElement>, "ref"> & React$1.RefAttributes<HTMLButtonElement>>;
366
370
  declare const DropdownMenuGroup: React$1.ForwardRefExoticComponent<DropdownMenuPrimitive.DropdownMenuGroupProps & React$1.RefAttributes<HTMLDivElement>>;
367
371
  declare const DropdownMenuPortal: React$1.FC<DropdownMenuPrimitive.DropdownMenuPortalProps>;
368
372
  declare const DropdownMenuSub: React$1.FC<DropdownMenuPrimitive.DropdownMenuSubProps>;
@@ -1777,4 +1781,4 @@ declare const NetworkErrorIcon: React$1.ForwardRefExoticComponent<React$1.HTMLAt
1777
1781
  component?: React$1.ElementType;
1778
1782
  } & React$1.RefAttributes<SVGSVGElement>>;
1779
1783
 
1780
- export { Accordion, AccordionContent, AccordionItem, type AccordionItemProps, AccordionTrigger, AlertDialog, AlertDialogAction, AlertDialogCancel, AlertDialogContent, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogOverlay, AlertDialogPortal, AlertDialogTitle, AlertDialogTrigger, AspectRatio, AudioPlayer, AudioPlaying, Avatar, AvatarImage, AvatarRoot, Badge, Button, type ButtonComponentProps, type ButtonProps, Card, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, CaretDownIcon, Cascader, CascaderContent, type CascaderOption, Checkbox, Chips, CircleErrorIcon, CircleInfoIcon, CircleSuccessIcon, CircleWarningIcon, Command, CommandDialog, CommandEmpty, CommandGroup, CommandInput, CommandItem, CommandList, CommandSeparator, CommandShortcut, ContextMenu, ContextMenuCheckboxItem, ContextMenuContent, ContextMenuGroup, ContextMenuItem, ContextMenuLabel, ContextMenuPortal, ContextMenuRadioGroup, ContextMenuRadioItem, ContextMenuSeparator, ContextMenuShortcut, ContextMenuSub, ContextMenuSubContent, ContextMenuSubTrigger, ContextMenuTrigger, type CustomToasterProps, DataEmptyState, Description, Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger, Display, Drawer, DrawerClose, DrawerContent, DrawerDescription, DrawerFooter, DrawerHeader, DrawerOverlay, DrawerPortal, DrawerTitle, DrawerTrigger, DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger, ErrorIcon, ErrorState, Form, FormControl, FormDescription, FormField, FormItem, FormLabel, FormMessage, type FormRef, Guide, Heading, type IAudioProps, type INumberInputProps, type ISelectProps, Icon, IconButton, type IconButtonComponentProps, type IconComponent, type IconProps, type IconType, Image, type ImageProps, ImgEmptyState, Input, type InputProps, Label, Link, LinkButton, type LinkButtonProps, type LinkProps, LogoIcon, LogoLoading, Masonry, Menubar, MenubarCheckboxItem, MenubarContent, MenubarGroup, MenubarItem, MenubarLabel, MenubarMenu, MenubarPortal, MenubarRadioGroup, MenubarRadioItem, MenubarSeparator, MenubarShortcut, MenubarSub, MenubarSubContent, MenubarSubTrigger, MenubarTrigger, Message, MiddleBar, Modal, ModalBody, ModalContent, ModalFooter, ModalHeader, ModalOverlay, ModalRoot, ModalTitle, MultipleSelector, type MultipleSelectorRef, NetworkErrorIcon, NetworkErrorState, NoPageIcon, NoPageState, NumberInput, type Option, Paragraph, Popover, PopoverAnchor, PopoverContent, type PopoverContentExs, PopoverRoot, Progress, ProgressIndicator, type ProgressProps, ProgressRoot, type Props, RadioGroup, RadioGroupItem, ScrollArea, ScrollBar, SearchBar, type SearchBarProps, SearchEmptyState, type SearchInputProps, Select, SelectContent, SelectGroup, SelectIcon, SelectItem, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, SelectValue, Separator, Sheet, SheetClose, SheetContent, SheetDescription, SheetFooter, SheetHeader, SheetOverlay, SheetPortal, SheetTitle, SheetTrigger, Skeleton, Slider, SliderSingle, Spinner, State$1 as State, SubHeading, SubTitle, Swiper, type SwiperProps, Switch, type TModalState, Tab, Tabs, TabsContent, TabsList, TabsRoot, TabsTrigger, Text, Textarea, type TextareaProps, Title, Toast$1 as Toast, ToastAction, type ToastActionElement, ToastClose, ToastDescription, type ToastProps, ToastProvider, ToastTitle, type ToastType, ToastViewport, Toaster, type ToasterProps, Toggle, ToggleGroup, ToggleGroupItem, Tooltip, TooltipProvider, TopNavigationBar, WalletEmptyState, buttonVariants, dangerouText, iconButtonVariants, reducer, toast, toggleVariants, useDebounce, useDevice, useFormField, useIsMobileByWindowWidth, useNativeBridge, useNotification, useToast, useWindowWidth };
1784
+ export { Accordion, AccordionContent, AccordionItem, type AccordionItemProps, AccordionTrigger, AlertDialog, AlertDialogAction, AlertDialogCancel, AlertDialogContent, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogOverlay, AlertDialogPortal, AlertDialogTitle, AlertDialogTrigger, AspectRatio, AudioPlayer, AudioPlaying, Avatar, AvatarImage, AvatarRoot, Badge, Button, type ButtonComponentProps, type ButtonProps, Card, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, CaretDownIcon, Cascader, CascaderContent, type CascaderOption, Checkbox, Chips, CircleErrorIcon, CircleInfoIcon, CircleSuccessIcon, CircleWarningIcon, Command, CommandDialog, CommandEmpty, CommandGroup, CommandInput, CommandItem, CommandList, CommandSeparator, CommandShortcut, ContextMenu, ContextMenuCheckboxItem, ContextMenuContent, ContextMenuGroup, ContextMenuItem, ContextMenuLabel, ContextMenuPortal, ContextMenuRadioGroup, ContextMenuRadioItem, ContextMenuSeparator, ContextMenuShortcut, ContextMenuSub, ContextMenuSubContent, ContextMenuSubTrigger, ContextMenuTrigger, type CustomToasterProps, DataEmptyState, Description, Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger, Display, Drawer, DrawerClose, DrawerContent, DrawerDescription, DrawerFooter, DrawerHeader, DrawerOverlay, DrawerPortal, DrawerTitle, DrawerTrigger, DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuHover, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger, ErrorIcon, ErrorState, Form, FormControl, FormDescription, FormField, FormItem, FormLabel, FormMessage, type FormRef, Guide, Heading, type IAudioProps, type INumberInputProps, type ISelectProps, Icon, IconButton, type IconButtonComponentProps, type IconComponent, type IconProps, type IconType, Image, type ImageProps, ImgEmptyState, Input, type InputProps, Label, Link, LinkButton, type LinkButtonProps, type LinkProps, LogoIcon, LogoLoading, Masonry, Menubar, MenubarCheckboxItem, MenubarContent, MenubarGroup, MenubarItem, MenubarLabel, MenubarMenu, MenubarPortal, MenubarRadioGroup, MenubarRadioItem, MenubarSeparator, MenubarShortcut, MenubarSub, MenubarSubContent, MenubarSubTrigger, MenubarTrigger, Message, MiddleBar, Modal, ModalBody, ModalContent, ModalFooter, ModalHeader, ModalOverlay, ModalRoot, ModalTitle, MultipleSelector, type MultipleSelectorRef, NetworkErrorIcon, NetworkErrorState, NoPageIcon, NoPageState, NumberInput, type Option, Paragraph, Popover, PopoverAnchor, PopoverContent, type PopoverContentExs, PopoverRoot, Progress, ProgressIndicator, type ProgressProps, ProgressRoot, type Props, RadioGroup, RadioGroupItem, ScrollArea, ScrollBar, SearchBar, type SearchBarProps, SearchEmptyState, type SearchInputProps, Select, SelectContent, SelectGroup, SelectIcon, SelectItem, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, SelectValue, Separator, Sheet, SheetClose, SheetContent, SheetDescription, SheetFooter, SheetHeader, SheetOverlay, SheetPortal, SheetTitle, SheetTrigger, Skeleton, Slider, SliderSingle, Spinner, State$1 as State, SubHeading, SubTitle, Swiper, type SwiperProps, Switch, type TModalState, Tab, Tabs, TabsContent, TabsList, TabsRoot, TabsTrigger, Text, Textarea, type TextareaProps, Title, Toast$1 as Toast, ToastAction, type ToastActionElement, ToastClose, ToastDescription, type ToastProps, ToastProvider, ToastTitle, type ToastType, ToastViewport, Toaster, type ToasterProps, Toggle, ToggleGroup, ToggleGroupItem, Tooltip, TooltipProvider, TopNavigationBar, WalletEmptyState, buttonVariants, dangerouText, iconButtonVariants, reducer, toast, toggleVariants, useDebounce, useDevice, useFormField, useIsMobileByWindowWidth, useNativeBridge, useNotification, useToast, useWindowWidth };
package/dist/index.js CHANGED
@@ -10492,7 +10492,7 @@ var renderIcon2 = function(icon, direction, param) {
10492
10492
  };
10493
10493
  LinkButton.displayName = "LinkButton";
10494
10494
  // src/components/cascader.tsx
10495
- import { useState as useState5, useRef as useRef4, Fragment as Fragment5 } from "react";
10495
+ import { useState as useState6, useRef as useRef5, Fragment as Fragment5 } from "react";
10496
10496
  import { Check as Check2, ChevronDown, X } from "lucide-react";
10497
10497
  import { cva as cva8 } from "class-variance-authority";
10498
10498
  // src/components/dropdown-menu.tsx
@@ -10501,7 +10501,107 @@ import { Check, ChevronRight, Circle } from "lucide-react";
10501
10501
  import * as React21 from "react";
10502
10502
  import { jsx as jsx27, jsxs as jsxs16 } from "react/jsx-runtime";
10503
10503
  var DropdownMenu = DropdownMenuPrimitive.Root;
10504
- var DropdownMenuTrigger = DropdownMenuPrimitive.Trigger;
10504
+ var DropdownMenuHoverContext = React21.createContext(null);
10505
+ var DropdownMenuHover = function(_param) {
10506
+ var children = _param.children, _param_openDelay = _param.openDelay, openDelay = _param_openDelay === void 0 ? 200 : _param_openDelay, _param_closeDelay = _param.closeDelay, closeDelay = _param_closeDelay === void 0 ? 300 : _param_closeDelay, _param_modal = _param.modal, modal = _param_modal === void 0 ? false : _param_modal, props = _object_without_properties(_param, [
10507
+ "children",
10508
+ "openDelay",
10509
+ "closeDelay",
10510
+ "modal"
10511
+ ]);
10512
+ var _React21_useState = _sliced_to_array(React21.useState(false), 2), open = _React21_useState[0], setOpen = _React21_useState[1];
10513
+ var openTimeoutRef = React21.useRef();
10514
+ var closeTimeoutRef = React21.useRef();
10515
+ var openStateRef = React21.useRef(false);
10516
+ React21.useEffect(function() {
10517
+ openStateRef.current = open;
10518
+ }, [
10519
+ open
10520
+ ]);
10521
+ var clearAllTimeouts = React21.useCallback(function() {
10522
+ if (openTimeoutRef.current) {
10523
+ clearTimeout(openTimeoutRef.current);
10524
+ openTimeoutRef.current = void 0;
10525
+ }
10526
+ if (closeTimeoutRef.current) {
10527
+ clearTimeout(closeTimeoutRef.current);
10528
+ closeTimeoutRef.current = void 0;
10529
+ }
10530
+ }, []);
10531
+ var handleMouseEnter = React21.useCallback(function() {
10532
+ if (closeTimeoutRef.current) {
10533
+ clearTimeout(closeTimeoutRef.current);
10534
+ closeTimeoutRef.current = void 0;
10535
+ }
10536
+ if (openTimeoutRef.current || openStateRef.current) {
10537
+ return;
10538
+ }
10539
+ openTimeoutRef.current = setTimeout(function() {
10540
+ setOpen(true);
10541
+ openTimeoutRef.current = void 0;
10542
+ }, openDelay);
10543
+ }, [
10544
+ openDelay
10545
+ ]);
10546
+ var handleMouseLeave = React21.useCallback(function() {
10547
+ if (openTimeoutRef.current) {
10548
+ clearTimeout(openTimeoutRef.current);
10549
+ openTimeoutRef.current = void 0;
10550
+ }
10551
+ if (closeTimeoutRef.current || !openStateRef.current) {
10552
+ return;
10553
+ }
10554
+ closeTimeoutRef.current = setTimeout(function() {
10555
+ setOpen(false);
10556
+ closeTimeoutRef.current = void 0;
10557
+ }, closeDelay);
10558
+ }, [
10559
+ closeDelay
10560
+ ]);
10561
+ React21.useEffect(function() {
10562
+ return function() {
10563
+ clearAllTimeouts();
10564
+ };
10565
+ }, [
10566
+ clearAllTimeouts
10567
+ ]);
10568
+ var contextValue = React21.useMemo(function() {
10569
+ return {
10570
+ handleMouseEnter: handleMouseEnter,
10571
+ handleMouseLeave: handleMouseLeave
10572
+ };
10573
+ }, [
10574
+ handleMouseEnter,
10575
+ handleMouseLeave
10576
+ ]);
10577
+ return /* @__PURE__ */ jsx27(DropdownMenuHoverContext.Provider, {
10578
+ value: contextValue,
10579
+ children: /* @__PURE__ */ jsx27(DropdownMenuPrimitive.Root, _object_spread_props(_object_spread({
10580
+ open: open,
10581
+ modal: modal,
10582
+ onOpenChange: function(newOpen) {
10583
+ if (!newOpen) {
10584
+ setOpen(false);
10585
+ clearAllTimeouts();
10586
+ } else {
10587
+ setOpen(true);
10588
+ }
10589
+ }
10590
+ }, props), {
10591
+ children: children
10592
+ }))
10593
+ });
10594
+ };
10595
+ var DropdownMenuTriggerPrimitive = DropdownMenuPrimitive.Trigger;
10596
+ var DropdownMenuTrigger = React21.forwardRef(function(props, ref) {
10597
+ var hoverContext = React21.useContext(DropdownMenuHoverContext);
10598
+ return /* @__PURE__ */ jsx27(DropdownMenuTriggerPrimitive, _object_spread({
10599
+ ref: ref,
10600
+ onMouseEnter: hoverContext === null || hoverContext === void 0 ? void 0 : hoverContext.handleMouseEnter,
10601
+ onMouseLeave: hoverContext === null || hoverContext === void 0 ? void 0 : hoverContext.handleMouseLeave
10602
+ }, props));
10603
+ });
10604
+ DropdownMenuTrigger.displayName = DropdownMenuPrimitive.Trigger.displayName;
10505
10605
  var DropdownMenuGroup = DropdownMenuPrimitive.Group;
10506
10606
  var DropdownMenuPortal = DropdownMenuPrimitive.Portal;
10507
10607
  var DropdownMenuSub = DropdownMenuPrimitive.Sub;
@@ -10526,24 +10626,77 @@ var DropdownMenuSubTrigger = React21.forwardRef(function(_param, ref) {
10526
10626
  });
10527
10627
  DropdownMenuSubTrigger.displayName = DropdownMenuPrimitive.SubTrigger.displayName;
10528
10628
  var DropdownMenuSubContent = React21.forwardRef(function(_param, ref) {
10529
- var className = _param.className, props = _object_without_properties(_param, [
10530
- "className"
10629
+ var className = _param.className, _param_sideOffset = _param.sideOffset, sideOffset = _param_sideOffset === void 0 ? 4 : _param_sideOffset, onMouseEnter = _param.onMouseEnter, onMouseLeave = _param.onMouseLeave, props = _object_without_properties(_param, [
10630
+ "className",
10631
+ "sideOffset",
10632
+ "onMouseEnter",
10633
+ "onMouseLeave"
10634
+ ]);
10635
+ var hoverContext = React21.useContext(DropdownMenuHoverContext);
10636
+ var handleMouseEnter = React21.useCallback(function(event) {
10637
+ onMouseEnter === null || onMouseEnter === void 0 ? void 0 : onMouseEnter(event);
10638
+ if (hoverContext) {
10639
+ hoverContext.handleMouseEnter();
10640
+ }
10641
+ }, [
10642
+ hoverContext,
10643
+ onMouseEnter
10644
+ ]);
10645
+ var handleMouseLeave = React21.useCallback(function(event) {
10646
+ onMouseLeave === null || onMouseLeave === void 0 ? void 0 : onMouseLeave(event);
10647
+ if (hoverContext) {
10648
+ hoverContext.handleMouseLeave();
10649
+ }
10650
+ }, [
10651
+ hoverContext,
10652
+ onMouseLeave
10531
10653
  ]);
10532
10654
  return /* @__PURE__ */ jsx27(DropdownMenuPrimitive.SubContent, _object_spread({
10533
10655
  ref: ref,
10534
- className: cn("z-50 min-w-[8rem] overflow-hidden rounded-sm border border-Colors-Border-Default bg-Colors-Background-Utilities-Modal p-2 text-Colors-Text-Default shadow-modal-default 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", className)
10656
+ sideOffset: sideOffset,
10657
+ className: cn("z-50 min-w-[8rem] overflow-hidden rounded-sm border border-Colors-Border-Default bg-Colors-Background-Utilities-Modal p-2 text-Colors-Text-Default shadow-modal-default 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", className),
10658
+ onMouseEnter: hoverContext ? handleMouseEnter : onMouseEnter,
10659
+ onMouseLeave: hoverContext ? handleMouseLeave : onMouseLeave
10535
10660
  }, props));
10536
10661
  });
10537
10662
  DropdownMenuSubContent.displayName = DropdownMenuPrimitive.SubContent.displayName;
10538
10663
  var DropdownMenuContent = React21.forwardRef(function(_param, ref) {
10539
- var className = _param.className, _param_sideOffset = _param.sideOffset, sideOffset = _param_sideOffset === void 0 ? 4 : _param_sideOffset, props = _object_without_properties(_param, [
10664
+ var className = _param.className, _param_sideOffset = _param.sideOffset, sideOffset = _param_sideOffset === void 0 ? 4 : _param_sideOffset, onMouseEnter = _param.onMouseEnter, onMouseLeave = _param.onMouseLeave, props = _object_without_properties(_param, [
10540
10665
  "className",
10541
- "sideOffset"
10666
+ "sideOffset",
10667
+ "onMouseEnter",
10668
+ "onMouseLeave"
10669
+ ]);
10670
+ var hoverContext = React21.useContext(DropdownMenuHoverContext);
10671
+ var handleMouseEnter = React21.useCallback(function(event) {
10672
+ onMouseEnter === null || onMouseEnter === void 0 ? void 0 : onMouseEnter(event);
10673
+ if (hoverContext) {
10674
+ hoverContext.handleMouseEnter();
10675
+ }
10676
+ }, [
10677
+ hoverContext,
10678
+ onMouseEnter
10679
+ ]);
10680
+ var handleMouseLeave = React21.useCallback(function(event) {
10681
+ onMouseLeave === null || onMouseLeave === void 0 ? void 0 : onMouseLeave(event);
10682
+ var relatedTarget = event.relatedTarget;
10683
+ var currentTarget = event.currentTarget;
10684
+ if (relatedTarget && currentTarget.contains(relatedTarget)) {
10685
+ return;
10686
+ }
10687
+ if (hoverContext) {
10688
+ hoverContext.handleMouseLeave();
10689
+ }
10690
+ }, [
10691
+ hoverContext,
10692
+ onMouseLeave
10542
10693
  ]);
10543
10694
  return /* @__PURE__ */ jsx27(DropdownMenuPrimitive.Content, _object_spread({
10544
10695
  ref: ref,
10545
10696
  sideOffset: sideOffset,
10546
- className: cn("z-[100] min-w-[8rem] overflow-hidden rounded-sm border border-Colors-Border-Opaque bg-Colors-Background-Utilities-Modal p-1 text-Colors-Text-Default shadow-modal-default 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", className)
10697
+ className: cn("z-[100] min-w-[8rem] overflow-hidden rounded-sm border border-Colors-Border-Opaque bg-Colors-Background-Utilities-Modal p-1 text-Colors-Text-Default shadow-modal-default 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", className),
10698
+ onMouseEnter: hoverContext ? handleMouseEnter : onMouseEnter,
10699
+ onMouseLeave: hoverContext ? handleMouseLeave : onMouseLeave
10547
10700
  }, props));
10548
10701
  });
10549
10702
  DropdownMenuContent.displayName = DropdownMenuPrimitive.Content.displayName;
@@ -10707,9 +10860,9 @@ function CascaderContent(param) {
10707
10860
  }
10708
10861
  function Cascader(props) {
10709
10862
  var options = props.options, className = props.className, value1 = props.value, defaultValue = props.defaultValue, onValueChange = props.onValueChange, clearByDefault = props.clearByDefault, showParentLabel = props.showParentLabel, placeholder = props.placeholder, emptyText = props.emptyText, _props_rounded = props.rounded, rounded = _props_rounded === void 0 ? "default" : _props_rounded, _props_size = props.size, size = _props_size === void 0 ? "sm" : _props_size, _props_border = props.border, border = _props_border === void 0 ? "default" : _props_border, _props_outline = props.outline, outline = _props_outline === void 0 ? "default" : _props_outline, _props_background = props.background, background = _props_background === void 0 ? "default" : _props_background, _props_disabled = props.disabled, disabled = _props_disabled === void 0 ? false : _props_disabled;
10710
- var _useState5 = _sliced_to_array(useState5(false), 2), open = _useState5[0], setOpen = _useState5[1];
10711
- var conRef = useRef4(null);
10712
- var buttonRef = useRef4(null);
10863
+ var _useState6 = _sliced_to_array(useState6(false), 2), open = _useState6[0], setOpen = _useState6[1];
10864
+ var conRef = useRef5(null);
10865
+ var buttonRef = useRef5(null);
10713
10866
  var inputVariants = cva8("", {
10714
10867
  variants: {
10715
10868
  rounded: {
@@ -11398,7 +11551,7 @@ ContextMenuShortcut.displayName = "ContextMenuShortcut";
11398
11551
  import dayjs from "dayjs";
11399
11552
  import duration from "dayjs/plugin/duration";
11400
11553
  import utc from "dayjs/plugin/utc";
11401
- import { useMemo, useEffect as useEffect5, useState as useState6 } from "react";
11554
+ import { useMemo as useMemo2, useEffect as useEffect6, useState as useState7 } from "react";
11402
11555
  import { jsx as jsx34, jsxs as jsxs22 } from "react/jsx-runtime";
11403
11556
  dayjs.extend(duration);
11404
11557
  dayjs.extend(utc);
@@ -11654,12 +11807,12 @@ FormMessage.displayName = "FormMessage";
11654
11807
  import { jsx as jsx38 } from "react/jsx-runtime";
11655
11808
  // src/components/guide.tsx
11656
11809
  import { driver } from "driver.js";
11657
- import { useEffect as useEffect6, useMemo as useMemo2, useRef as useRef5 } from "react";
11810
+ import { useEffect as useEffect7, useMemo as useMemo3, useRef as useRef6 } from "react";
11658
11811
  import "driver.js/dist/driver.css";
11659
11812
  var Guide = function(param) {
11660
11813
  var steps = param.steps, _param_showProgress = param.showProgress, showProgress = _param_showProgress === void 0 ? true : _param_showProgress, _param_showOverlay = param.showOverlay, showOverlay = _param_showOverlay === void 0 ? false : _param_showOverlay, _param_hasSkip = param.hasSkip, hasSkip = _param_hasSkip === void 0 ? true : _param_hasSkip, _param_hasCloseBtn = param.hasCloseBtn, hasCloseBtn = _param_hasCloseBtn === void 0 ? true : _param_hasCloseBtn, _param_hasPrevBtn = param.hasPrevBtn, hasPrevBtn = _param_hasPrevBtn === void 0 ? false : _param_hasPrevBtn, _param_hasNextBtn = param.hasNextBtn, hasNextBtn = _param_hasNextBtn === void 0 ? true : _param_hasNextBtn, _param_allowClose = param.allowClose, allowClose = _param_allowClose === void 0 ? false : _param_allowClose, _param_skipText = param.skipText, skipText = _param_skipText === void 0 ? "Skip" : _param_skipText, _param_prevBtnText = param.prevBtnText, prevBtnText = _param_prevBtnText === void 0 ? "Previous" : _param_prevBtnText, _param_nextBtnText = param.nextBtnText, nextBtnText = _param_nextBtnText === void 0 ? "Next" : _param_nextBtnText, _param_doneBtnText = param.doneBtnText, doneBtnText = _param_doneBtnText === void 0 ? "Done" : _param_doneBtnText, className = param.className, onComplete = param.onComplete, onSkip = param.onSkip;
11661
- var driverRef = useRef5(null);
11662
- var buttons = useMemo2(function() {
11814
+ var driverRef = useRef6(null);
11815
+ var buttons = useMemo3(function() {
11663
11816
  var buttons2 = [];
11664
11817
  if (hasPrevBtn) {
11665
11818
  buttons2.push("previous");
@@ -11676,7 +11829,7 @@ var Guide = function(param) {
11676
11829
  hasPrevBtn,
11677
11830
  hasCloseBtn
11678
11831
  ]);
11679
- useEffect6(function() {
11832
+ useEffect7(function() {
11680
11833
  driverRef.current = driver({
11681
11834
  overlayOpacity: showOverlay ? 0.8 : 0,
11682
11835
  animate: true,
@@ -11894,11 +12047,11 @@ var Input = React31.forwardRef(function(_param, ref) {
11894
12047
  Input.displayName = "Input";
11895
12048
  // src/components/link.tsx
11896
12049
  import LinkComponent from "next/link";
11897
- import { useMemo as useMemo3 } from "react";
12050
+ import { useMemo as useMemo4 } from "react";
11898
12051
  // src/common/hooks/useNativeBridge.ts
11899
- import { useCallback as useCallback2 } from "react";
12052
+ import { useCallback as useCallback3 } from "react";
11900
12053
  function useNativeBridge() {
11901
- var callNative = useCallback2(function(action, data) {
12054
+ var callNative = useCallback3(function(action, data) {
11902
12055
  var _window_webkit_messageHandlers, _window_webkit;
11903
12056
  if (isIosApp() && ((_window_webkit = window.webkit) === null || _window_webkit === void 0 ? void 0 : (_window_webkit_messageHandlers = _window_webkit.messageHandlers) === null || _window_webkit_messageHandlers === void 0 ? void 0 : _window_webkit_messageHandlers.reactNative)) {
11904
12057
  window.webkit.messageHandlers.reactNative.postMessage({
@@ -11913,10 +12066,10 @@ function useNativeBridge() {
11913
12066
  }));
11914
12067
  }
11915
12068
  }, []);
11916
- var getIosUrl = useCallback2(function(path) {
12069
+ var getIosUrl = useCallback3(function(path) {
11917
12070
  return path;
11918
12071
  }, []);
11919
- var nativeGoBack = useCallback2(function() {
12072
+ var nativeGoBack = useCallback3(function() {
11920
12073
  callNative("goBack");
11921
12074
  }, [
11922
12075
  callNative
@@ -11949,7 +12102,7 @@ function Link(_param) {
11949
12102
  var isIos = isClient() && isIosApp();
11950
12103
  var componentIsMobile = useMedia3("(max-width: 768px)");
11951
12104
  var isMob = isMobile2 !== null && isMobile2 !== void 0 ? isMobile2 : componentIsMobile;
11952
- var pathname = useMemo3(function() {
12105
+ var pathname = useMemo4(function() {
11953
12106
  if (externalLink) return path;
11954
12107
  var formatPath = path;
11955
12108
  var isMobPath = path.startsWith("/m/") || path === "/m";
@@ -11987,7 +12140,7 @@ function Link(_param) {
11987
12140
  var link_default = Link;
11988
12141
  // src/components/masonry.tsx
11989
12142
  import { indexOf, min as min2 } from "lodash-es";
11990
- import { Children, useEffect as useEffect7, useState as useState7 } from "react";
12143
+ import { Children, useEffect as useEffect8, useState as useState8 } from "react";
11991
12144
  import { jsx as jsx41 } from "react/jsx-runtime";
11992
12145
  import { createElement } from "react";
11993
12146
  var Masonry = function(param) {
@@ -11998,7 +12151,7 @@ var Masonry = function(param) {
11998
12151
  1439: 3,
11999
12152
  1199: 2
12000
12153
  } : _param_breakpointCols, _param_className = param.className, className = _param_className === void 0 ? "" : _param_className, _param_columnClassName = param.columnClassName, columnClassName = _param_columnClassName === void 0 ? "" : _param_columnClassName, children = param.children, _param_columnAttrs = param.columnAttrs, columnAttrs = _param_columnAttrs === void 0 ? {} : _param_columnAttrs, heights = param.heights;
12001
- var _useState7 = _sliced_to_array(useState7(typeof breakpointCols === "number" ? breakpointCols : breakpointCols.default), 2), columnCount = _useState7[0], setColumnCount = _useState7[1];
12154
+ var _useState8 = _sliced_to_array(useState8(typeof breakpointCols === "number" ? breakpointCols : breakpointCols.default), 2), columnCount = _useState8[0], setColumnCount = _useState8[1];
12002
12155
  var reCalculateColumnCount = function() {
12003
12156
  var _window;
12004
12157
  var windowWidth = ((_window = window) === null || _window === void 0 ? void 0 : _window.innerWidth) || Infinity;
@@ -12019,7 +12172,7 @@ var Masonry = function(param) {
12019
12172
  setColumnCount(newColumnCount);
12020
12173
  }
12021
12174
  };
12022
- useEffect7(function() {
12175
+ useEffect8(function() {
12023
12176
  var handleResize = function() {
12024
12177
  reCalculateColumnCount();
12025
12178
  };
@@ -12976,7 +13129,7 @@ ModalBody.displayName = "ModalBody";
12976
13129
  import { XIcon as XIcon2, SearchIcon } from "lucide-react";
12977
13130
  import { cva as cva14 } from "class-variance-authority";
12978
13131
  import * as React38 from "react";
12979
- import { useEffect as useEffect10 } from "react";
13132
+ import { useEffect as useEffect11 } from "react";
12980
13133
  import { jsx as jsx45, jsxs as jsxs28 } from "react/jsx-runtime";
12981
13134
  var searchBarVariants = cva14("rounded-sm", {
12982
13135
  variants: {
@@ -13005,7 +13158,7 @@ function SearchBar(_param) {
13005
13158
  "defaultSearchByChange"
13006
13159
  ]);
13007
13160
  var _React38_useState = _sliced_to_array(React38.useState(""), 2), value1 = _React38_useState[0], setValue = _React38_useState[1];
13008
- useEffect10(function() {
13161
+ useEffect11(function() {
13009
13162
  setValue(searchValue || "");
13010
13163
  }, [
13011
13164
  searchValue
@@ -13375,7 +13528,7 @@ var ScrollBar = React41.forwardRef(function(_param, ref) {
13375
13528
  });
13376
13529
  ScrollBar.displayName = ScrollAreaPrimitive.ScrollAreaScrollbar.displayName;
13377
13530
  // src/components/top-navigation-bar.tsx
13378
- import { useEffect as useEffect11, useRef as useRef8, useState as useState10 } from "react";
13531
+ import { useEffect as useEffect12, useRef as useRef9, useState as useState11 } from "react";
13379
13532
  import { useMedia as useMedia5 } from "react-use";
13380
13533
  import { ArrowLeftIcon } from "lucide-react";
13381
13534
  import { jsx as jsx53, jsxs as jsxs35 } from "react/jsx-runtime";
@@ -13383,9 +13536,9 @@ function TopNavigationBar(param) {
13383
13536
  var searchElement = param.searchElement, title = param.title, border = param.border, backUrl = param.backUrl, children = param.children, _param_hasBackground = param.hasBackground, hasBackground = _param_hasBackground === void 0 ? false : _param_hasBackground, avatar = param.avatar, onBack = param.onBack, _param_pageType = param.pageType, pageType = _param_pageType === void 0 ? 2 : _param_pageType, className = param.className, isMobile2 = param.isMobile;
13384
13537
  var componentIsMobile = useMedia5("(max-width: 768px)");
13385
13538
  var isMob = isMobile2 !== null && isMobile2 !== void 0 ? isMobile2 : componentIsMobile;
13386
- var navbarRef = useRef8(null);
13387
- var _useState10 = _sliced_to_array(useState10(hasBackground), 2), showBackground = _useState10[0], setShowBackground = _useState10[1];
13388
- useEffect11(function() {
13539
+ var navbarRef = useRef9(null);
13540
+ var _useState11 = _sliced_to_array(useState11(hasBackground), 2), showBackground = _useState11[0], setShowBackground = _useState11[1];
13541
+ useEffect12(function() {
13389
13542
  if (hasBackground) {
13390
13543
  setShowBackground(true);
13391
13544
  return;
@@ -13713,11 +13866,11 @@ SelectSeparator.displayName = SelectPrimitive.Separator.displayName;
13713
13866
  import { Command as CommandPrimitive2, useCommandState } from "cmdk";
13714
13867
  import { ChevronDown as ChevronDown3, X as X3 } from "lucide-react";
13715
13868
  import * as React43 from "react";
13716
- import { forwardRef as forwardRef39, useEffect as useEffect12 } from "react";
13869
+ import { forwardRef as forwardRef39, useEffect as useEffect13 } from "react";
13717
13870
  import { Fragment as Fragment11, jsx as jsx55, jsxs as jsxs37 } from "react/jsx-runtime";
13718
13871
  function useDebounce(value1, delay) {
13719
13872
  var _React43_useState = _sliced_to_array(React43.useState(value1), 2), debouncedValue = _React43_useState[0], setDebouncedValue = _React43_useState[1];
13720
- useEffect12(function() {
13873
+ useEffect13(function() {
13721
13874
  var timer = setTimeout(function() {
13722
13875
  return setDebouncedValue(value1);
13723
13876
  }, delay || 500);
@@ -13888,7 +14041,7 @@ var MultipleSelector = React43.forwardRef(function(param, ref) {
13888
14041
  handleUnselect,
13889
14042
  selected
13890
14043
  ]);
13891
- useEffect12(function() {
14044
+ useEffect13(function() {
13892
14045
  if (open) {
13893
14046
  document.addEventListener("mousedown", handleClickOutside);
13894
14047
  document.addEventListener("touchend", handleClickOutside);
@@ -13903,7 +14056,7 @@ var MultipleSelector = React43.forwardRef(function(param, ref) {
13903
14056
  }, [
13904
14057
  open
13905
14058
  ]);
13906
- useEffect12(function() {
14059
+ useEffect13(function() {
13907
14060
  if (value1) {
13908
14061
  setSelected((arrayOptions === null || arrayOptions === void 0 ? void 0 : arrayOptions.filter(function(item) {
13909
14062
  return value1 === null || value1 === void 0 ? void 0 : value1.includes(item.value);
@@ -13912,7 +14065,7 @@ var MultipleSelector = React43.forwardRef(function(param, ref) {
13912
14065
  }, [
13913
14066
  value1
13914
14067
  ]);
13915
- useEffect12(function() {
14068
+ useEffect13(function() {
13916
14069
  if (!arrayOptions || onSearch) {
13917
14070
  return;
13918
14071
  }
@@ -13926,7 +14079,7 @@ var MultipleSelector = React43.forwardRef(function(param, ref) {
13926
14079
  onSearch,
13927
14080
  options
13928
14081
  ]);
13929
- useEffect12(function() {
14082
+ useEffect13(function() {
13930
14083
  var doSearchSync = function() {
13931
14084
  var res = onSearchSync === null || onSearchSync === void 0 ? void 0 : onSearchSync(debouncedSearchTerm);
13932
14085
  setOptions(transToGroupOption(res || [], groupBy));
@@ -13956,7 +14109,7 @@ var MultipleSelector = React43.forwardRef(function(param, ref) {
13956
14109
  open,
13957
14110
  triggerSearchOnFocus
13958
14111
  ]);
13959
- useEffect12(function() {
14112
+ useEffect13(function() {
13960
14113
  var doSearch = function() {
13961
14114
  return _async_to_generator(function() {
13962
14115
  var res;
@@ -15329,7 +15482,7 @@ var NoPageState = function(args) {
15329
15482
  // src/components/logo-loading.tsx
15330
15483
  import lottie from "lottie-web";
15331
15484
  import { useTheme } from "next-themes";
15332
- import { useEffect as useEffect13, useRef as useRef10, useState as useState12 } from "react";
15485
+ import { useEffect as useEffect14, useRef as useRef11, useState as useState13 } from "react";
15333
15486
  // src/common/assets/animationData.json
15334
15487
  var animationData_default = {
15335
15488
  v: "5.12.1",
@@ -24854,11 +25007,11 @@ var animationDataDark_default = {
24854
25007
  import { jsx as jsx67, jsxs as jsxs45 } from "react/jsx-runtime";
24855
25008
  function LogoLoading(param) {
24856
25009
  var className = param.className, containerClassName = param.containerClassName;
24857
- var lottieContainer = useRef10(null);
24858
- var _useState12 = _sliced_to_array(useState12(false), 2), isLottieLoaded = _useState12[0], setIsLottieLoaded = _useState12[1];
25010
+ var lottieContainer = useRef11(null);
25011
+ var _useState13 = _sliced_to_array(useState13(false), 2), isLottieLoaded = _useState13[0], setIsLottieLoaded = _useState13[1];
24859
25012
  var resolvedTheme = useTheme().resolvedTheme;
24860
25013
  var isDark = resolvedTheme === "dark";
24861
- useEffect13(function() {
25014
+ useEffect14(function() {
24862
25015
  if (!lottieContainer.current) return;
24863
25016
  var anim = lottie.loadAnimation({
24864
25017
  container: lottieContainer.current,
@@ -25306,7 +25459,7 @@ function Toaster() {
25306
25459
  }
25307
25460
  // src/components/swiper/index.tsx
25308
25461
  import { cva as cva22 } from "class-variance-authority";
25309
- import { useEffect as useEffect15, useMemo as useMemo6, useRef as useRef11, useState as useState14 } from "react";
25462
+ import { useEffect as useEffect16, useMemo as useMemo7, useRef as useRef12, useState as useState15 } from "react";
25310
25463
  import { useRouter as useRouter2 } from "next/navigation";
25311
25464
  import { Autoplay, Navigation, FreeMode, Scrollbar, Mousewheel, Grid } from "swiper/modules";
25312
25465
  import { Swiper as SwiperComponent, SwiperSlide } from "swiper/react";
@@ -25344,7 +25497,7 @@ function Swiper(props) {
25344
25497
  var isGrid = swiperType === "grid";
25345
25498
  var router = useRouter2();
25346
25499
  var Com = component || "div";
25347
- var swiperList = useMemo6(function() {
25500
+ var swiperList = useMemo7(function() {
25348
25501
  var length = dataList.length;
25349
25502
  if (length < 2 || isGrid || isFeatured) {
25350
25503
  return dataList;
@@ -25359,7 +25512,7 @@ function Swiper(props) {
25359
25512
  var autoPlayOptions = {
25360
25513
  delay: delay
25361
25514
  };
25362
- var swiperRef = useRef11();
25515
+ var swiperRef = useRef12();
25363
25516
  var fgconfigs = {
25364
25517
  0: {
25365
25518
  slidesPerView: 1.014,
@@ -25423,8 +25576,8 @@ function Swiper(props) {
25423
25576
  Grid
25424
25577
  ]
25425
25578
  });
25426
- var _useState14 = _sliced_to_array(useState14(false), 2), animate = _useState14[0], setAnimate = _useState14[1];
25427
- useEffect15(function() {
25579
+ var _useState15 = _sliced_to_array(useState15(false), 2), animate = _useState15[0], setAnimate = _useState15[1];
25580
+ useEffect16(function() {
25428
25581
  setTimeout(function() {
25429
25582
  setAnimate(true);
25430
25583
  }, 200);
@@ -25559,11 +25712,11 @@ function CustomNotification(param) {
25559
25712
  });
25560
25713
  }
25561
25714
  // src/common/hooks/useNotification.tsx
25562
- import { useCallback as useCallback6 } from "react";
25715
+ import { useCallback as useCallback7 } from "react";
25563
25716
  import { toast as toast3 } from "react-hot-toast";
25564
25717
  import { jsx as jsx73 } from "react/jsx-runtime";
25565
25718
  function useNotification() {
25566
- var addToast = useCallback6(function(config2, duration2) {
25719
+ var addToast = useCallback7(function(config2, duration2) {
25567
25720
  if (config2.id) {
25568
25721
  toast3.remove(config2.id);
25569
25722
  }
@@ -25579,30 +25732,30 @@ function useNotification() {
25579
25732
  duration: duration2
25580
25733
  });
25581
25734
  }, []);
25582
- var message = useCallback6(function(config2, duration2) {
25735
+ var message = useCallback7(function(config2, duration2) {
25583
25736
  return addToast(_object_spread({}, config2), duration2);
25584
25737
  }, []);
25585
- var success = useCallback6(function(config2, duration2) {
25738
+ var success = useCallback7(function(config2, duration2) {
25586
25739
  return addToast(_object_spread_props(_object_spread({}, config2), {
25587
25740
  type: "success"
25588
25741
  }), duration2);
25589
25742
  }, []);
25590
- var error = useCallback6(function(config2, duration2) {
25743
+ var error = useCallback7(function(config2, duration2) {
25591
25744
  return addToast(_object_spread_props(_object_spread({}, config2), {
25592
25745
  type: "error"
25593
25746
  }), duration2);
25594
25747
  }, []);
25595
- var warning = useCallback6(function(config2, duration2) {
25748
+ var warning = useCallback7(function(config2, duration2) {
25596
25749
  return addToast(_object_spread_props(_object_spread({}, config2), {
25597
25750
  type: "warning"
25598
25751
  }), duration2);
25599
25752
  }, []);
25600
- var info = useCallback6(function(config2, duration2) {
25753
+ var info = useCallback7(function(config2, duration2) {
25601
25754
  return addToast(_object_spread_props(_object_spread({}, config2), {
25602
25755
  type: "info"
25603
25756
  }), duration2);
25604
25757
  }, []);
25605
- var close = useCallback6(function(id) {
25758
+ var close = useCallback7(function(id) {
25606
25759
  toast3.dismiss(id);
25607
25760
  }, []);
25608
25761
  return {
@@ -25684,7 +25837,7 @@ var Message = /*#__PURE__*/ function() {
25684
25837
  ]);
25685
25838
  return Message;
25686
25839
  }();
25687
- export { Accordion, AccordionContent, AccordionItem, AccordionTrigger, AlertDialog, AlertDialogAction, AlertDialogCancel, AlertDialogContent, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogOverlay, AlertDialogPortal, AlertDialogTitle, AlertDialogTrigger, AspectRatio, AudioPlayer, AudioPlaying, Avatar, AvatarImage, AvatarRoot, Badge, Button, Card, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, CaretDownIcon, Cascader, CascaderContent, Checkbox, Chips, CircleErrorIcon, CircleInfoIcon, CircleSuccessIcon, CircleWarningIcon, Command, CommandDialog, CommandEmpty, CommandGroup, CommandInput, CommandItem, CommandList, CommandSeparator, CommandShortcut, ContextMenu, ContextMenuCheckboxItem, ContextMenuContent, ContextMenuGroup, ContextMenuItem, ContextMenuLabel, ContextMenuPortal, ContextMenuRadioGroup, ContextMenuRadioItem, ContextMenuSeparator, ContextMenuShortcut, ContextMenuSub, ContextMenuSubContent, ContextMenuSubTrigger, ContextMenuTrigger, Controller, DataEmptyState, Description, Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger, Display, Drawer, DrawerClose, DrawerContent, DrawerDescription, DrawerFooter, DrawerHeader, DrawerOverlay, DrawerPortal, DrawerTitle, DrawerTrigger, DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger, ErrorIcon, ErrorState, Form, FormControl, FormDescription, FormField, FormItem, FormLabel, FormMessage, FormProvider, Guide, Heading, Icon, IconButton, Image2 as Image, ImgEmptyState, Input, Label3 as Label, Link, LinkButton, LogoIcon, LogoLoading, Masonry, Menubar, MenubarCheckboxItem, MenubarContent, MenubarGroup, MenubarItem, MenubarLabel, MenubarMenu, MenubarPortal, MenubarRadioGroup, MenubarRadioItem, MenubarSeparator, MenubarShortcut, MenubarSub, MenubarSubContent, MenubarSubTrigger, MenubarTrigger, Message, MiddleBar, Modal, ModalBody, ModalContent, ModalFooter, ModalHeader, ModalOverlay, ModalRoot, ModalTitle, MultipleSelector, NetworkErrorIcon, NetworkErrorState, NoPageIcon, NoPageState, NumberInput, Paragraph, Popover, PopoverAnchor, PopoverContent, PopoverRoot, Progress, ProgressIndicator, ProgressRoot, RadioGroup4 as RadioGroup, RadioGroupItem, ScrollArea, ScrollBar, SearchBar, SearchEmptyState, Select, SelectContent, SelectGroup, SelectIcon, SelectItem, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, SelectValue, Separator, Sheet, SheetClose, SheetContent, SheetDescription, SheetFooter, SheetHeader, SheetOverlay, SheetPortal, SheetTitle, SheetTrigger, Skeleton, Slider, SliderPrimitive, SliderSingle, Spinner, State2 as State, SubHeading, SubTitle, Swiper, Switch, Tab, Tabs2 as Tabs, TabsContent, TabsList, TabsRoot, TabsTrigger, Text, Textarea, Title, Toast, ToastAction, ToastClose, ToastDescription, ToastProvider, ToastTitle, ToastViewport, Toaster, Toggle, ToggleGroup, ToggleGroupItem, Tooltip, TooltipProvider, TopNavigationBar, WalletEmptyState, buttonVariants, dangerouText, iconButtonVariants, reducer, toast, toggleVariants, useDebounce, useDevice, useForm, useFormContext, useFormField, useIsMobileByWindowWidth, useNativeBridge, useNotification, useToast, useWatch, useWindowWidth }; /*! Bundled license information:
25840
+ export { Accordion, AccordionContent, AccordionItem, AccordionTrigger, AlertDialog, AlertDialogAction, AlertDialogCancel, AlertDialogContent, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogOverlay, AlertDialogPortal, AlertDialogTitle, AlertDialogTrigger, AspectRatio, AudioPlayer, AudioPlaying, Avatar, AvatarImage, AvatarRoot, Badge, Button, Card, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, CaretDownIcon, Cascader, CascaderContent, Checkbox, Chips, CircleErrorIcon, CircleInfoIcon, CircleSuccessIcon, CircleWarningIcon, Command, CommandDialog, CommandEmpty, CommandGroup, CommandInput, CommandItem, CommandList, CommandSeparator, CommandShortcut, ContextMenu, ContextMenuCheckboxItem, ContextMenuContent, ContextMenuGroup, ContextMenuItem, ContextMenuLabel, ContextMenuPortal, ContextMenuRadioGroup, ContextMenuRadioItem, ContextMenuSeparator, ContextMenuShortcut, ContextMenuSub, ContextMenuSubContent, ContextMenuSubTrigger, ContextMenuTrigger, Controller, DataEmptyState, Description, Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger, Display, Drawer, DrawerClose, DrawerContent, DrawerDescription, DrawerFooter, DrawerHeader, DrawerOverlay, DrawerPortal, DrawerTitle, DrawerTrigger, DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuHover, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger, ErrorIcon, ErrorState, Form, FormControl, FormDescription, FormField, FormItem, FormLabel, FormMessage, FormProvider, Guide, Heading, Icon, IconButton, Image2 as Image, ImgEmptyState, Input, Label3 as Label, Link, LinkButton, LogoIcon, LogoLoading, Masonry, Menubar, MenubarCheckboxItem, MenubarContent, MenubarGroup, MenubarItem, MenubarLabel, MenubarMenu, MenubarPortal, MenubarRadioGroup, MenubarRadioItem, MenubarSeparator, MenubarShortcut, MenubarSub, MenubarSubContent, MenubarSubTrigger, MenubarTrigger, Message, MiddleBar, Modal, ModalBody, ModalContent, ModalFooter, ModalHeader, ModalOverlay, ModalRoot, ModalTitle, MultipleSelector, NetworkErrorIcon, NetworkErrorState, NoPageIcon, NoPageState, NumberInput, Paragraph, Popover, PopoverAnchor, PopoverContent, PopoverRoot, Progress, ProgressIndicator, ProgressRoot, RadioGroup4 as RadioGroup, RadioGroupItem, ScrollArea, ScrollBar, SearchBar, SearchEmptyState, Select, SelectContent, SelectGroup, SelectIcon, SelectItem, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, SelectValue, Separator, Sheet, SheetClose, SheetContent, SheetDescription, SheetFooter, SheetHeader, SheetOverlay, SheetPortal, SheetTitle, SheetTrigger, Skeleton, Slider, SliderPrimitive, SliderSingle, Spinner, State2 as State, SubHeading, SubTitle, Swiper, Switch, Tab, Tabs2 as Tabs, TabsContent, TabsList, TabsRoot, TabsTrigger, Text, Textarea, Title, Toast, ToastAction, ToastClose, ToastDescription, ToastProvider, ToastTitle, ToastViewport, Toaster, Toggle, ToggleGroup, ToggleGroupItem, Tooltip, TooltipProvider, TopNavigationBar, WalletEmptyState, buttonVariants, dangerouText, iconButtonVariants, reducer, toast, toggleVariants, useDebounce, useDevice, useForm, useFormContext, useFormField, useIsMobileByWindowWidth, useNativeBridge, useNotification, useToast, useWatch, useWindowWidth }; /*! Bundled license information:
25688
25841
 
25689
25842
  decimal.js/decimal.mjs:
25690
25843
  (*!