@syscore/ui-library 1.0.14 → 1.0.15

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.
@@ -26,7 +26,7 @@ const AccordionTrigger = React.forwardRef<
26
26
  <AccordionPrimitive.Trigger
27
27
  ref={ref}
28
28
  className={cn(
29
- "flex flex-1 items-center justify-between py-4 font-medium transition-all hover:underline [&[data-state=open]>svg]:rotate-180",
29
+ "flex flex-1 items-center justify-between py-4 font-medium transition-all [&[data-state=open]>svg]:rotate-180",
30
30
  className,
31
31
  )}
32
32
  {...props}
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime"),a=require("react"),t=require("@radix-ui/react-accordion"),s=require("lucide-react"),r=require("clsx"),o=require("tailwind-merge"),i=require("@radix-ui/react-aspect-ratio"),n=require("@radix-ui/react-separator"),d=require("@radix-ui/react-scroll-area"),l=require("react-resizable-panels"),c=require("@radix-ui/react-slot"),m=require("class-variance-authority"),f=require("@radix-ui/react-dialog"),p=require("@radix-ui/react-tooltip"),u=require("@radix-ui/react-label"),x=require("@radix-ui/react-checkbox"),g=require("@radix-ui/react-radio-group"),b=require("@radix-ui/react-switch"),N=require("@radix-ui/react-slider"),h=require("input-otp"),v=require("@radix-ui/react-select"),y=require("react-hook-form"),w=require("@radix-ui/react-toggle-group"),j=require("@radix-ui/react-toggle"),C=require("@radix-ui/react-alert-dialog"),R=require("@radix-ui/react-avatar"),S=require("@radix-ui/react-progress"),k=require("react-day-picker"),T=require("@radix-ui/react-tabs"),I=require("@radix-ui/react-navigation-menu"),z=require("@radix-ui/react-menubar"),D=require("@radix-ui/react-dropdown-menu"),M=require("vaul"),_=require("@radix-ui/react-popover"),P=require("@radix-ui/react-hover-card"),A=require("@radix-ui/react-context-menu"),O=require("embla-carousel-react"),L=require("@radix-ui/react-collapsible"),q=require("cmdk"),F=require("@radix-ui/react-toast"),G=require("recharts");function B(e){const a=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e)for(const t in e)if("default"!==t){const s=Object.getOwnPropertyDescriptor(e,t);Object.defineProperty(a,t,s.get?s:{enumerable:!0,get:()=>e[t]})}return a.default=e,Object.freeze(a)}const E=B(a),H=B(t),V=B(i),$=B(n),K=B(d),U=B(l),X=B(f),W=B(p),J=B(u),Q=B(x),Y=B(g),Z=B(b),ee=B(N),ae=B(v),te=B(w),se=B(j),re=B(C),oe=B(R),ie=B(S),ne=B(T),de=B(I),le=B(z),ce=B(D),me=B(_),fe=B(P),pe=B(A),ue=B(L),xe=B(F),ge=B(G);function be(...e){return o.twMerge(r.clsx(e))}const Ne=H.Root,he=E.forwardRef(({className:a,...t},s)=>e.jsx(H.Item,{ref:s,className:be("border-b",a),...t}));he.displayName="AccordionItem";const ve=E.forwardRef(({className:a,children:t,...r},o)=>e.jsx(H.Header,{className:"flex",children:e.jsxs(H.Trigger,{ref:o,className:be("flex flex-1 items-center justify-between py-4 font-medium transition-all hover:underline [&[data-state=open]>svg]:rotate-180",a),...r,children:[t,e.jsx(s.ChevronDown,{className:"h-4 w-4 shrink-0 transition-transform duration-200"})]})}));ve.displayName=H.Trigger.displayName;const ye=E.forwardRef(({className:a,children:t,...s},r)=>e.jsx(H.Content,{ref:r,className:"overflow-hidden text-sm transition-all data-[state=closed]:animate-accordion-up data-[state=open]:animate-accordion-down",...s,children:e.jsx("div",{className:be("pb-4 pt-0",a),children:t})}));ye.displayName=H.Content.displayName;const we=V.Root,je=E.forwardRef(({className:a,...t},s)=>e.jsx("div",{ref:s,className:be("rounded-lg border bg-card text-card-foreground shadow-sm",a),...t}));je.displayName="Card";const Ce=E.forwardRef(({className:a,...t},s)=>e.jsx("div",{ref:s,className:be("flex flex-col space-y-1.5 p-6",a),...t}));Ce.displayName="CardHeader";const Re=E.forwardRef(({className:a,...t},s)=>e.jsx("h3",{ref:s,className:be("text-2xl font-semibold leading-none tracking-tight",a),...t}));Re.displayName="CardTitle";const Se=E.forwardRef(({className:a,...t},s)=>e.jsx("p",{ref:s,className:be("text-sm text-muted-foreground",a),...t}));Se.displayName="CardDescription";const ke=E.forwardRef(({className:a,...t},s)=>e.jsx("div",{ref:s,className:be("p-6 pt-0",a),...t}));ke.displayName="CardContent";const Te=E.forwardRef(({className:a,...t},s)=>e.jsx("div",{ref:s,className:be("flex items-center p-6 pt-0",a),...t}));Te.displayName="CardFooter";const Ie=E.forwardRef(({className:a,orientation:t="horizontal",decorative:s=!0,...r},o)=>e.jsx($.Root,{ref:o,decorative:s,orientation:t,className:be("shrink-0 bg-border","horizontal"===t?"h-[1px] w-full":"h-full w-[1px]",a),...r}));Ie.displayName=$.Root.displayName;const ze=E.forwardRef(({className:a,children:t,...s},r)=>e.jsxs(K.Root,{ref:r,className:be("relative overflow-hidden",a),...s,children:[e.jsx(K.Viewport,{className:"h-full w-full rounded-[inherit]",children:t}),e.jsx(De,{}),e.jsx(K.Corner,{})]}));ze.displayName=K.Root.displayName;const De=E.forwardRef(({className:a,orientation:t="vertical",...s},r)=>e.jsx(K.ScrollAreaScrollbar,{ref:r,orientation:t,className:be("flex touch-none select-none transition-colors","vertical"===t&&"h-full w-2.5 border-l border-l-transparent p-[1px]","horizontal"===t&&"h-2.5 flex-col border-t border-t-transparent p-[1px]",a),...s,children:e.jsx(K.ScrollAreaThumb,{className:"relative flex-1 rounded-full bg-border"})}));De.displayName=K.ScrollAreaScrollbar.displayName;const Me=E.forwardRef(({className:a,...t},s)=>e.jsx("div",{className:"relative w-full overflow-auto",children:e.jsx("table",{ref:s,className:be("w-full caption-bottom text-sm",a),...t})}));Me.displayName="Table";const _e=E.forwardRef(({className:a,...t},s)=>e.jsx("thead",{ref:s,className:be("[&_tr]:border-b",a),...t}));_e.displayName="TableHeader";const Pe=E.forwardRef(({className:a,...t},s)=>e.jsx("tbody",{ref:s,className:be("[&_tr:last-child]:border-0",a),...t}));Pe.displayName="TableBody";const Ae=E.forwardRef(({className:a,...t},s)=>e.jsx("tfoot",{ref:s,className:be("border-t bg-muted/50 font-medium [&>tr]:last:border-b-0",a),...t}));Ae.displayName="TableFooter";const Oe=E.forwardRef(({className:a,...t},s)=>e.jsx("tr",{ref:s,className:be("border-b transition-colors hover:bg-muted/50 data-[state=selected]:bg-muted",a),...t}));Oe.displayName="TableRow";const Le=E.forwardRef(({className:a,...t},s)=>e.jsx("th",{ref:s,className:be("h-12 px-4 text-left align-middle font-medium text-muted-foreground [&:has([role=checkbox])]:pr-0",a),...t}));Le.displayName="TableHead";const qe=E.forwardRef(({className:a,...t},s)=>e.jsx("td",{ref:s,className:be("p-4 align-middle [&:has([role=checkbox])]:pr-0",a),...t}));qe.displayName="TableCell";const Fe=E.forwardRef(({className:a,...t},s)=>e.jsx("caption",{ref:s,className:be("mt-4 text-sm text-muted-foreground",a),...t}));Fe.displayName="TableCaption";const Ge=U.Panel;const Be=m.cva("inline-flex items-center justify-center gap-2 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 [&_svg]:pointer-events-none [&_svg]:size-4 [&_svg]:shrink-0",{variants:{variant:{default:"bg-primary text-primary-foreground hover:bg-primary/90",destructive:"bg-destructive text-destructive-foreground hover:bg-destructive/90",outline:"border border-input bg-background hover:bg-accent hover:text-accent-foreground",secondary:"bg-secondary text-secondary-foreground hover:bg-secondary/80",ghost:"hover:bg-accent hover:text-accent-foreground",link:"text-primary underline-offset-4 hover:underline"},size:{default:"h-10 px-4 py-2",sm:"h-9 rounded-md px-3",lg:"h-11 rounded-md px-8",icon:"h-10 w-10"}},defaultVariants:{variant:"default",size:"default"}}),Ee=E.forwardRef(({className:a,variant:t,size:s,asChild:r=!1,...o},i)=>{const n=r?c.Slot:"button";return e.jsx(n,{className:be(Be({variant:t,size:s,className:a})),ref:i,...o})});Ee.displayName="Button";const He=E.forwardRef(({className:a,type:t,...s},r)=>e.jsx("input",{type:t,className:be("flex h-10 w-full rounded-md border border-input bg-background px-3 py-2 text-base ring-offset-background 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-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50 md:text-sm",a),ref:r,...s}));He.displayName="Input";const Ve=X.Root,$e=X.Trigger,Ke=X.Close,Ue=X.Portal,Xe=E.forwardRef(({className:a,...t},s)=>e.jsx(X.Overlay,{className:be("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",a),...t,ref:s}));Xe.displayName=X.Overlay.displayName;const We=m.cva("fixed z-50 gap-4 bg-background p-6 shadow-lg transition ease-in-out data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:duration-300 data-[state=open]:duration-500",{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"}}),Je=E.forwardRef(({side:a="right",className:t,children:r,...o},i)=>e.jsxs(Ue,{children:[e.jsx(Xe,{}),e.jsxs(X.Content,{ref:i,className:be(We({side:a}),t),...o,children:[r,e.jsxs(X.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:[e.jsx(s.X,{className:"h-4 w-4"}),e.jsx("span",{className:"sr-only",children:"Close"})]})]})]}));Je.displayName=X.Content.displayName;const Qe=({className:a,...t})=>e.jsx("div",{className:be("flex flex-col space-y-2 text-center sm:text-left",a),...t});Qe.displayName="SheetHeader";const Ye=({className:a,...t})=>e.jsx("div",{className:be("flex flex-col-reverse sm:flex-row sm:justify-end sm:space-x-2",a),...t});Ye.displayName="SheetFooter";const Ze=E.forwardRef(({className:a,...t},s)=>e.jsx(X.Title,{ref:s,className:be("text-lg font-semibold text-foreground",a),...t}));Ze.displayName=X.Title.displayName;const ea=E.forwardRef(({className:a,...t},s)=>e.jsx(X.Description,{ref:s,className:be("text-sm text-muted-foreground",a),...t}));function aa({className:a,...t}){return e.jsx("div",{className:be("animate-pulse rounded-md bg-muted",a),...t})}ea.displayName=X.Description.displayName;const ta=W.Provider,sa=W.Root,ra=W.Trigger,oa=E.forwardRef(({className:a,sideOffset:t=4,...s},r)=>e.jsx(W.Content,{ref:r,sideOffset:t,className:be("z-50 overflow-hidden rounded-md border bg-popover px-3 py-1.5 text-sm text-popover-foreground shadow-md 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",a),...s}));oa.displayName=W.Content.displayName;const ia=E.createContext(null);function na(){const e=E.useContext(ia);if(!e)throw new Error("useSidebar must be used within a SidebarProvider.");return e}E.forwardRef(({defaultOpen:a=!0,open:t,onOpenChange:s,className:r,style:o,children:i,...n},d)=>{const l=function(){const[e,a]=E.useState(void 0);return E.useEffect(()=>{const e=window.matchMedia("(max-width: 767px)"),t=()=>{a(window.innerWidth<768)};return e.addEventListener("change",t),a(window.innerWidth<768),()=>e.removeEventListener("change",t)},[]),!!e}(),[c,m]=E.useState(!1),[f,p]=E.useState(a),u=t??f,x=E.useCallback(e=>{const a="function"==typeof e?e(u):e;s?s(a):p(a),document.cookie=`sidebar:state=${a}; path=/; max-age=604800`},[s,u]),g=E.useCallback(()=>l?m(e=>!e):x(e=>!e),[l,x,m]);E.useEffect(()=>{const e=e=>{"b"===e.key&&(e.metaKey||e.ctrlKey)&&(e.preventDefault(),g())};return window.addEventListener("keydown",e),()=>window.removeEventListener("keydown",e)},[g]);const b=u?"expanded":"collapsed",N=E.useMemo(()=>({state:b,open:u,setOpen:x,isMobile:l,openMobile:c,setOpenMobile:m,toggleSidebar:g}),[b,u,x,l,c,m,g]);return e.jsx(ia.Provider,{value:N,children:e.jsx(ta,{delayDuration:0,children:e.jsx("div",{style:{"--sidebar-width":"16rem","--sidebar-width-icon":"3rem",...o},className:be("group/sidebar-wrapper flex min-h-svh w-full has-[[data-variant=inset]]:bg-sidebar",r),ref:d,...n,children:i})})})}).displayName="SidebarProvider";const da=E.forwardRef(({side:a="left",variant:t="sidebar",collapsible:s="offcanvas",className:r,children:o,...i},n)=>{const{isMobile:d,state:l,openMobile:c,setOpenMobile:m}=na();return"none"===s?e.jsx("div",{className:be("flex h-full w-[--sidebar-width] flex-col bg-sidebar text-sidebar-foreground",r),ref:n,...i,children:o}):d?e.jsx(Ve,{open:c,onOpenChange:m,...i,children:e.jsx(Je,{"data-sidebar":"sidebar","data-mobile":"true",className:"w-[--sidebar-width] bg-sidebar p-0 text-sidebar-foreground [&>button]:hidden",style:{"--sidebar-width":"18rem"},side:a,children:e.jsx("div",{className:"flex h-full w-full flex-col",children:o})})}):e.jsxs("div",{ref:n,className:"group peer hidden md:block text-sidebar-foreground","data-state":l,"data-collapsible":"collapsed"===l?s:"","data-variant":t,"data-side":a,children:[e.jsx("div",{className:be("duration-200 relative h-svh w-[--sidebar-width] bg-transparent transition-[width] ease-linear","group-data-[collapsible=offcanvas]:w-0","group-data-[side=right]:rotate-180","floating"===t||"inset"===t?"group-data-[collapsible=icon]:w-[calc(var(--sidebar-width-icon)_+_theme(spacing.4))]":"group-data-[collapsible=icon]:w-[--sidebar-width-icon]")}),e.jsx("div",{className:be("duration-200 fixed inset-y-0 z-10 hidden h-svh w-[--sidebar-width] transition-[left,right,width] ease-linear md:flex","left"===a?"left-0 group-data-[collapsible=offcanvas]:left-[calc(var(--sidebar-width)*-1)]":"right-0 group-data-[collapsible=offcanvas]:right-[calc(var(--sidebar-width)*-1)]","floating"===t||"inset"===t?"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),...i,children:e.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:o})})]})});da.displayName="Sidebar";E.forwardRef(({className:a,onClick:t,...r},o)=>{const{toggleSidebar:i}=na();return e.jsxs(Ee,{ref:o,"data-sidebar":"trigger",variant:"ghost",size:"icon",className:be("h-7 w-7",a),onClick:e=>{null==t||t(e),i()},...r,children:[e.jsx(s.PanelLeft,{}),e.jsx("span",{className:"sr-only",children:"Toggle Sidebar"})]})}).displayName="SidebarTrigger";E.forwardRef(({className:a,...t},s)=>{const{toggleSidebar:r}=na();return e.jsx("button",{ref:s,"data-sidebar":"rail","aria-label":"Toggle Sidebar",tabIndex:-1,onClick:r,title:"Toggle Sidebar",className:be("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",a),...t})}).displayName="SidebarRail";E.forwardRef(({className:a,...t},s)=>e.jsx("main",{ref:s,className:be("relative flex min-h-svh flex-1 flex-col bg-background","peer-data-[variant=inset]:min-h-[calc(100svh-theme(spacing.4))] 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",a),...t})).displayName="SidebarInset";E.forwardRef(({className:a,...t},s)=>e.jsx(He,{ref:s,"data-sidebar":"input",className:be("h-8 w-full bg-background shadow-none focus-visible:ring-2 focus-visible:ring-sidebar-ring",a),...t})).displayName="SidebarInput";const la=E.forwardRef(({className:a,...t},s)=>e.jsx("div",{ref:s,"data-sidebar":"header",className:be("flex flex-col gap-2 p-2",a),...t}));la.displayName="SidebarHeader";const ca=E.forwardRef(({className:a,...t},s)=>e.jsx("div",{ref:s,"data-sidebar":"footer",className:be("flex flex-col gap-2 p-2",a),...t}));ca.displayName="SidebarFooter";E.forwardRef(({className:a,...t},s)=>e.jsx(Ie,{ref:s,"data-sidebar":"separator",className:be("mx-2 w-auto bg-sidebar-border",a),...t})).displayName="SidebarSeparator";const ma=E.forwardRef(({className:a,...t},s)=>e.jsx("div",{ref:s,"data-sidebar":"content",className:be("flex min-h-0 flex-1 flex-col gap-2 overflow-auto group-data-[collapsible=icon]:overflow-hidden",a),...t}));ma.displayName="SidebarContent";const fa=E.forwardRef(({className:a,...t},s)=>e.jsx("div",{ref:s,"data-sidebar":"group",className:be("relative flex w-full min-w-0 flex-col p-2",a),...t}));fa.displayName="SidebarGroup";const pa=E.forwardRef(({className:a,asChild:t=!1,...s},r)=>{const o=t?c.Slot:"div";return e.jsx(o,{ref:r,"data-sidebar":"group-label",className:be("duration-200 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,opa] ease-linear focus-visible:ring-2 [&>svg]:size-4 [&>svg]:shrink-0","group-data-[collapsible=icon]:-mt-8 group-data-[collapsible=icon]:opacity-0",a),...s})});pa.displayName="SidebarGroupLabel";E.forwardRef(({className:a,asChild:t=!1,...s},r)=>{const o=t?c.Slot:"button";return e.jsx(o,{ref:r,"data-sidebar":"group-action",className:be("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",a),...s})}).displayName="SidebarGroupAction";const ua=E.forwardRef(({className:a,...t},s)=>e.jsx("div",{ref:s,"data-sidebar":"group-content",className:be("w-full text-sm",a),...t}));ua.displayName="SidebarGroupContent";const xa=E.forwardRef(({className:a,...t},s)=>e.jsx("ul",{ref:s,"data-sidebar":"menu",className:be("flex w-full min-w-0 flex-col gap-1",a),...t}));xa.displayName="SidebarMenu";const ga=E.forwardRef(({className:a,...t},s)=>e.jsx("li",{ref:s,"data-sidebar":"menu-item",className:be("group/menu-item relative",a),...t}));ga.displayName="SidebarMenuItem";const ba=m.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"}}),Na=E.forwardRef(({asChild:a=!1,isActive:t=!1,variant:s="default",size:r="default",tooltip:o,className:i,...n},d)=>{const l=a?c.Slot:"button",{isMobile:m,state:f}=na(),p=e.jsx(l,{ref:d,"data-sidebar":"menu-button","data-size":r,"data-active":t,className:be(ba({variant:s,size:r}),i),...n});return o?("string"==typeof o&&(o={children:o}),e.jsxs(sa,{children:[e.jsx(ra,{asChild:!0,children:p}),e.jsx(oa,{side:"right",align:"center",hidden:"collapsed"!==f||m,...o})]})):p});Na.displayName="SidebarMenuButton";E.forwardRef(({className:a,asChild:t=!1,showOnHover:s=!1,...r},o)=>{const i=t?c.Slot:"button";return e.jsx(i,{ref:o,"data-sidebar":"menu-action",className:be("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",s&&"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",a),...r})}).displayName="SidebarMenuAction";E.forwardRef(({className:a,...t},s)=>e.jsx("div",{ref:s,"data-sidebar":"menu-badge",className:be("absolute right-1 flex h-5 min-w-5 items-center justify-center rounded-md px-1 text-xs font-medium tabular-nums text-sidebar-foreground select-none pointer-events-none","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",a),...t})).displayName="SidebarMenuBadge";E.forwardRef(({className:a,showIcon:t=!1,...s},r)=>{const o=E.useMemo(()=>`${Math.floor(40*Math.random())+50}%`,[]);return e.jsxs("div",{ref:r,"data-sidebar":"menu-skeleton",className:be("rounded-md h-8 flex gap-2 px-2 items-center",a),...s,children:[t&&e.jsx(aa,{className:"size-4 rounded-md","data-sidebar":"menu-skeleton-icon"}),e.jsx(aa,{className:"h-4 flex-1 max-w-[--skeleton-width]","data-sidebar":"menu-skeleton-text",style:{"--skeleton-width":o}})]})}).displayName="SidebarMenuSkeleton";const ha=E.forwardRef(({className:a,...t},s)=>e.jsx("ul",{ref:s,"data-sidebar":"menu-sub",className:be("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",a),...t}));ha.displayName="SidebarMenuSub";const va=E.forwardRef(({...a},t)=>e.jsx("li",{ref:t,...a}));va.displayName="SidebarMenuSubItem";const ya=E.forwardRef(({asChild:a=!1,size:t="md",isActive:s,className:r,...o},i)=>{const n=a?c.Slot:"a";return e.jsx(n,{ref:i,"data-sidebar":"menu-sub-button","data-size":t,"data-active":s,className:be("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","sm"===t&&"text-xs","md"===t&&"text-sm","group-data-[collapsible=icon]:hidden",r),...o})});ya.displayName="SidebarMenuSubButton";const wa=m.cva("text-sm font-medium leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70"),ja=E.forwardRef(({className:a,...t},s)=>e.jsx(J.Root,{ref:s,className:be(wa(),a),...t}));ja.displayName=J.Root.displayName;const Ca=E.forwardRef(({className:a,...t},s)=>e.jsx("textarea",{className:be("flex min-h-[80px] w-full rounded-md border border-input bg-background px-3 py-2 text-sm ring-offset-background placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50",a),ref:s,...t}));Ca.displayName="Textarea";const Ra=E.forwardRef(({className:a,...t},r)=>e.jsx(Q.Root,{ref:r,className:be("peer h-4 w-4 shrink-0 rounded-sm border border-primary ring-offset-background focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50 data-[state=checked]:bg-primary data-[state=checked]:text-primary-foreground",a),...t,children:e.jsx(Q.Indicator,{className:be("flex items-center justify-center text-current"),children:e.jsx(s.Check,{className:"h-4 w-4"})})}));Ra.displayName=Q.Root.displayName;const Sa=E.forwardRef(({className:a,...t},s)=>e.jsx(Y.Root,{className:be("grid gap-2",a),...t,ref:s}));Sa.displayName=Y.Root.displayName;const ka=E.forwardRef(({className:a,...t},r)=>e.jsx(Y.Item,{ref:r,className:be("aspect-square h-4 w-4 rounded-full border border-primary text-primary ring-offset-background focus:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50",a),...t,children:e.jsx(Y.Indicator,{className:"flex items-center justify-center",children:e.jsx(s.Circle,{className:"h-2.5 w-2.5 fill-current text-current"})})}));ka.displayName=Y.Item.displayName;const Ta=E.forwardRef(({className:a,...t},s)=>e.jsx(Z.Root,{className:be("peer inline-flex h-6 w-11 shrink-0 cursor-pointer items-center rounded-full border-2 border-transparent transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 focus-visible:ring-offset-background disabled:cursor-not-allowed disabled:opacity-50 data-[state=checked]:bg-primary data-[state=unchecked]:bg-input",a),...t,ref:s,children:e.jsx(Z.Thumb,{className:be("pointer-events-none block h-5 w-5 rounded-full bg-background shadow-lg ring-0 transition-transform data-[state=checked]:translate-x-5 data-[state=unchecked]:translate-x-0")})}));Ta.displayName=Z.Root.displayName;const Ia=E.forwardRef(({className:a,...t},s)=>e.jsxs(ee.Root,{ref:s,className:be("relative flex w-full touch-none select-none items-center",a),...t,children:[e.jsx(ee.Track,{className:"relative h-2 w-full grow overflow-hidden rounded-full bg-secondary",children:e.jsx(ee.Range,{className:"absolute h-full bg-primary"})}),e.jsx(ee.Thumb,{className:"block h-5 w-5 rounded-full border-2 border-primary bg-background 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"})]}));Ia.displayName=ee.Root.displayName;const za=E.forwardRef(({className:a,containerClassName:t,...s},r)=>e.jsx(h.OTPInput,{ref:r,containerClassName:be("flex items-center gap-2 has-[:disabled]:opacity-50",t),className:be("disabled:cursor-not-allowed",a),...s}));za.displayName="InputOTP";const Da=E.forwardRef(({className:a,...t},s)=>e.jsx("div",{ref:s,className:be("flex items-center",a),...t}));Da.displayName="InputOTPGroup";const Ma=E.forwardRef(({index:a,className:t,...s},r)=>{const o=E.useContext(h.OTPInputContext),{char:i,hasFakeCaret:n,isActive:d}=o.slots[a];return e.jsxs("div",{ref:r,className:be("relative flex h-10 w-10 items-center justify-center border-y border-r border-input text-sm transition-all first:rounded-l-md first:border-l last:rounded-r-md",d&&"z-10 ring-2 ring-ring ring-offset-background",t),...s,children:[i,n&&e.jsx("div",{className:"pointer-events-none absolute inset-0 flex items-center justify-center",children:e.jsx("div",{className:"h-4 w-px animate-caret-blink bg-foreground duration-1000"})})]})});Ma.displayName="InputOTPSlot";const _a=E.forwardRef(({...a},t)=>e.jsx("div",{ref:t,role:"separator",...a,children:e.jsx(s.Dot,{})}));_a.displayName="InputOTPSeparator";const Pa=ae.Root,Aa=ae.Group,Oa=ae.Value,La=E.forwardRef(({className:a,children:t,...r},o)=>e.jsxs(ae.Trigger,{ref:o,className:be("flex h-10 w-full items-center justify-between rounded-md border border-input bg-background px-3 py-2 text-sm ring-offset-background placeholder:text-muted-foreground focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50 [&>span]:line-clamp-1",a),...r,children:[t,e.jsx(ae.Icon,{asChild:!0,children:e.jsx(s.ChevronDown,{className:"h-4 w-4 opacity-50"})})]}));La.displayName=ae.Trigger.displayName;const qa=E.forwardRef(({className:a,...t},r)=>e.jsx(ae.ScrollUpButton,{ref:r,className:be("flex cursor-default items-center justify-center py-1",a),...t,children:e.jsx(s.ChevronUp,{className:"h-4 w-4"})}));qa.displayName=ae.ScrollUpButton.displayName;const Fa=E.forwardRef(({className:a,...t},r)=>e.jsx(ae.ScrollDownButton,{ref:r,className:be("flex cursor-default items-center justify-center py-1",a),...t,children:e.jsx(s.ChevronDown,{className:"h-4 w-4"})}));Fa.displayName=ae.ScrollDownButton.displayName;const Ga=E.forwardRef(({className:a,children:t,position:s="popper",...r},o)=>e.jsx(ae.Portal,{children:e.jsxs(ae.Content,{ref:o,className:be("relative z-50 max-h-96 min-w-[8rem] overflow-hidden rounded-md border bg-popover 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","popper"===s&&"data-[side=bottom]:translate-y-1 data-[side=left]:-translate-x-1 data-[side=right]:translate-x-1 data-[side=top]:-translate-y-1",a),position:s,...r,children:[e.jsx(qa,{}),e.jsx(ae.Viewport,{className:be("p-1","popper"===s&&"h-[var(--radix-select-trigger-height)] w-full min-w-[var(--radix-select-trigger-width)]"),children:t}),e.jsx(Fa,{})]})}));Ga.displayName=ae.Content.displayName;const Ba=E.forwardRef(({className:a,...t},s)=>e.jsx(ae.Label,{ref:s,className:be("py-1.5 pl-8 pr-2 text-sm font-semibold",a),...t}));Ba.displayName=ae.Label.displayName;const Ea=E.forwardRef(({className:a,children:t,...r},o)=>e.jsxs(ae.Item,{ref:o,className:be("relative flex w-full cursor-default select-none items-center rounded-sm py-1.5 pl-8 pr-2 text-sm outline-none focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",a),...r,children:[e.jsx("span",{className:"absolute left-2 flex h-3.5 w-3.5 items-center justify-center",children:e.jsx(ae.ItemIndicator,{children:e.jsx(s.Check,{className:"h-4 w-4"})})}),e.jsx(ae.ItemText,{children:t})]}));Ea.displayName=ae.Item.displayName;const Ha=E.forwardRef(({className:a,...t},s)=>e.jsx(ae.Separator,{ref:s,className:be("-mx-1 my-1 h-px bg-muted",a),...t}));Ha.displayName=ae.Separator.displayName;const Va=y.FormProvider,$a=E.createContext({}),Ka=()=>{const e=E.useContext($a),a=E.useContext(Ua),{getFieldState:t,formState:s}=y.useFormContext(),r=t(e.name,s);if(!e)throw new Error("useFormField should be used within <FormField>");const{id:o}=a;return{id:o,name:e.name,formItemId:`${o}-form-item`,formDescriptionId:`${o}-form-item-description`,formMessageId:`${o}-form-item-message`,...r}},Ua=E.createContext({}),Xa=E.forwardRef(({className:a,...t},s)=>{const r=E.useId();return e.jsx(Ua.Provider,{value:{id:r},children:e.jsx("div",{ref:s,className:be("space-y-2",a),...t})})});Xa.displayName="FormItem";const Wa=E.forwardRef(({className:a,...t},s)=>{const{error:r,formItemId:o}=Ka();return e.jsx(ja,{ref:s,className:be(r&&"text-destructive",a),htmlFor:o,...t})});Wa.displayName="FormLabel";const Ja=E.forwardRef(({...a},t)=>{const{error:s,formItemId:r,formDescriptionId:o,formMessageId:i}=Ka();return e.jsx(c.Slot,{ref:t,id:r,"aria-describedby":s?`${o} ${i}`:`${o}`,"aria-invalid":!!s,...a})});Ja.displayName="FormControl";const Qa=E.forwardRef(({className:a,...t},s)=>{const{formDescriptionId:r}=Ka();return e.jsx("p",{ref:s,id:r,className:be("text-sm text-muted-foreground",a),...t})});Qa.displayName="FormDescription";const Ya=E.forwardRef(({className:a,children:t,...s},r)=>{const{error:o,formMessageId:i}=Ka(),n=o?String(null==o?void 0:o.message):t;return n?e.jsx("p",{ref:r,id:i,className:be("text-sm font-medium text-destructive",a),...s,children:n}):null});Ya.displayName="FormMessage";const Za=m.cva("inline-flex items-center justify-center rounded-md text-sm font-medium ring-offset-background transition-colors hover:bg-muted hover:text-muted-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50 data-[state=on]:bg-accent data-[state=on]:text-accent-foreground",{variants:{variant:{default:"bg-transparent",outline:"border border-input bg-transparent hover:bg-accent hover:text-accent-foreground"},size:{default:"h-10 px-3",sm:"h-9 px-2.5",lg:"h-11 px-5"}},defaultVariants:{variant:"default",size:"default"}}),et=E.forwardRef(({className:a,variant:t,size:s,...r},o)=>e.jsx(se.Root,{ref:o,className:be(Za({variant:t,size:s,className:a})),...r}));et.displayName=se.Root.displayName;const at=E.createContext({size:"default",variant:"default"}),tt=E.forwardRef(({className:a,variant:t,size:s,children:r,...o},i)=>e.jsx(te.Root,{ref:i,className:be("flex items-center justify-center gap-1",a),...o,children:e.jsx(at.Provider,{value:{variant:t,size:s},children:r})}));tt.displayName=te.Root.displayName;const st=E.forwardRef(({className:a,children:t,variant:s,size:r,...o},i)=>{const n=E.useContext(at);return e.jsx(te.Item,{ref:i,className:be(Za({variant:n.variant||s,size:n.size||r}),a),...o,children:t})});st.displayName=te.Item.displayName;const rt=m.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"}},defaultVariants:{variant:"default"}});const ot=m.cva("relative w-full rounded-lg border p-4 [&>svg~*]:pl-7 [&>svg+div]:translate-y-[-3px] [&>svg]:absolute [&>svg]:left-4 [&>svg]:top-4 [&>svg]:text-foreground",{variants:{variant:{default:"bg-background text-foreground",destructive:"border-destructive/50 text-destructive dark:border-destructive [&>svg]:text-destructive"}},defaultVariants:{variant:"default"}}),it=E.forwardRef(({className:a,variant:t,...s},r)=>e.jsx("div",{ref:r,role:"alert",className:be(ot({variant:t}),a),...s}));it.displayName="Alert";const nt=E.forwardRef(({className:a,...t},s)=>e.jsx("h5",{ref:s,className:be("mb-1 font-medium leading-none tracking-tight",a),...t}));nt.displayName="AlertTitle";const dt=E.forwardRef(({className:a,...t},s)=>e.jsx("div",{ref:s,className:be("text-sm [&_p]:leading-relaxed",a),...t}));dt.displayName="AlertDescription";const lt=re.Root,ct=re.Trigger,mt=re.Portal,ft=E.forwardRef(({className:a,...t},s)=>e.jsx(re.Overlay,{className:be("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",a),...t,ref:s}));ft.displayName=re.Overlay.displayName;const pt=E.forwardRef(({className:a,...t},s)=>e.jsxs(mt,{children:[e.jsx(ft,{}),e.jsx(re.Content,{ref:s,className:be("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",a),...t})]}));pt.displayName=re.Content.displayName;const ut=({className:a,...t})=>e.jsx("div",{className:be("flex flex-col space-y-2 text-center sm:text-left",a),...t});ut.displayName="AlertDialogHeader";const xt=({className:a,...t})=>e.jsx("div",{className:be("flex flex-col-reverse sm:flex-row sm:justify-end sm:space-x-2",a),...t});xt.displayName="AlertDialogFooter";const gt=E.forwardRef(({className:a,...t},s)=>e.jsx(re.Title,{ref:s,className:be("text-lg font-semibold",a),...t}));gt.displayName=re.Title.displayName;const bt=E.forwardRef(({className:a,...t},s)=>e.jsx(re.Description,{ref:s,className:be("text-sm text-muted-foreground",a),...t}));bt.displayName=re.Description.displayName;const Nt=E.forwardRef(({className:a,...t},s)=>e.jsx(re.Action,{ref:s,className:be(Be(),a),...t}));Nt.displayName=re.Action.displayName;const ht=E.forwardRef(({className:a,...t},s)=>e.jsx(re.Cancel,{ref:s,className:be(Be({variant:"outline"}),"mt-2 sm:mt-0",a),...t}));ht.displayName=re.Cancel.displayName;const vt=E.forwardRef(({className:a,...t},s)=>e.jsx(oe.Root,{ref:s,className:be("relative flex h-10 w-10 shrink-0 overflow-hidden rounded-full",a),...t}));vt.displayName=oe.Root.displayName;const yt=E.forwardRef(({className:a,...t},s)=>e.jsx(oe.Image,{ref:s,className:be("aspect-square h-full w-full",a),...t}));yt.displayName=oe.Image.displayName;const wt=E.forwardRef(({className:a,...t},s)=>e.jsx(oe.Fallback,{ref:s,className:be("flex h-full w-full items-center justify-center rounded-full bg-muted",a),...t}));wt.displayName=oe.Fallback.displayName;const jt=E.forwardRef(({...a},t)=>e.jsx("nav",{ref:t,"aria-label":"breadcrumb",...a}));jt.displayName="Breadcrumb";const Ct=E.forwardRef(({className:a,...t},s)=>e.jsx("ol",{ref:s,className:be("flex flex-wrap items-center gap-1.5 break-words text-sm text-muted-foreground sm:gap-2.5",a),...t}));Ct.displayName="BreadcrumbList";const Rt=E.forwardRef(({className:a,...t},s)=>e.jsx("li",{ref:s,className:be("inline-flex items-center gap-1.5",a),...t}));Rt.displayName="BreadcrumbItem";const St=E.forwardRef(({asChild:a,className:t,...s},r)=>{const o=a?c.Slot:"a";return e.jsx(o,{ref:r,className:be("transition-colors hover:text-foreground",t),...s})});St.displayName="BreadcrumbLink";const kt=E.forwardRef(({className:a,...t},s)=>e.jsx("span",{ref:s,role:"link","aria-disabled":"true","aria-current":"page",className:be("font-normal text-foreground",a),...t}));kt.displayName="BreadcrumbPage";const Tt=({children:a,className:t,...r})=>e.jsx("li",{role:"presentation","aria-hidden":"true",className:be("[&>svg]:size-3.5",t),...r,children:a??e.jsx(s.ChevronRight,{})});Tt.displayName="BreadcrumbSeparator";const It=E.forwardRef(({className:a,value:t,...s},r)=>e.jsx(ie.Root,{ref:r,className:be("relative h-4 w-full overflow-hidden rounded-full bg-secondary",a),...s,children:e.jsx(ie.Indicator,{className:"h-full w-full flex-1 bg-primary transition-all",style:{transform:`translateX(-${100-(t||0)}%)`}})}));function zt({className:a,classNames:t,showOutsideDays:r=!0,...o}){return e.jsx(k.DayPicker,{showOutsideDays:r,className:be("p-3",a),classNames:{months:"flex flex-col sm:flex-row space-y-4 sm:space-x-4 sm:space-y-0",month:"space-y-4",caption:"flex justify-center pt-1 relative items-center",caption_label:"text-sm font-medium",nav:"space-x-1 flex items-center",nav_button:be(Be({variant:"outline"}),"h-7 w-7 bg-transparent p-0 opacity-50 hover:opacity-100"),nav_button_previous:"absolute left-1",nav_button_next:"absolute right-1",table:"w-full border-collapse space-y-1",head_row:"flex",head_cell:"text-muted-foreground rounded-md w-9 font-normal text-[0.8rem]",row:"flex w-full mt-2",cell:"h-9 w-9 text-center text-sm p-0 relative [&:has([aria-selected].day-range-end)]:rounded-r-md [&:has([aria-selected].day-outside)]:bg-accent/50 [&:has([aria-selected])]:bg-accent first:[&:has([aria-selected])]:rounded-l-md last:[&:has([aria-selected])]:rounded-r-md focus-within:relative focus-within:z-20",day:be(Be({variant:"ghost"}),"h-9 w-9 p-0 font-normal aria-selected:opacity-100"),day_range_end:"day-range-end",day_selected:"bg-primary text-primary-foreground hover:bg-primary hover:text-primary-foreground focus:bg-primary focus:text-primary-foreground",day_today:"bg-accent text-accent-foreground",day_outside:"day-outside text-muted-foreground opacity-50 aria-selected:bg-accent/50 aria-selected:text-muted-foreground aria-selected:opacity-30",day_disabled:"text-muted-foreground opacity-50",day_range_middle:"aria-selected:bg-accent aria-selected:text-accent-foreground",day_hidden:"invisible",...t},components:{Chevron:a=>"left"===a.orientation?e.jsx(s.ChevronLeft,{className:"h-4 w-4"}):e.jsx(s.ChevronRight,{className:"h-4 w-4"})},...o})}It.displayName=ie.Root.displayName,zt.displayName="Calendar";const Dt=ne.Root,Mt=E.forwardRef(({className:a,...t},s)=>e.jsx(ne.List,{ref:s,className:be("inline-flex h-10 items-center justify-center rounded-md bg-muted p-1 text-muted-foreground",a),...t}));Mt.displayName=ne.List.displayName;const _t=E.forwardRef(({className:a,...t},s)=>e.jsx(ne.Trigger,{ref:s,className:be("inline-flex items-center justify-center whitespace-nowrap rounded-sm px-3 py-1.5 text-sm font-medium ring-offset-background transition-all focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50 data-[state=active]:bg-background data-[state=active]:text-foreground data-[state=active]:shadow-sm",a),...t}));_t.displayName=ne.Trigger.displayName;const Pt=E.forwardRef(({className:a,...t},s)=>e.jsx(ne.Content,{ref:s,className:be("mt-2 ring-offset-background focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2",a),...t}));Pt.displayName=ne.Content.displayName;const At=({className:a,...t})=>e.jsx("nav",{role:"navigation","aria-label":"pagination",className:be("mx-auto flex w-full justify-center",a),...t});At.displayName="Pagination";const Ot=E.forwardRef(({className:a,...t},s)=>e.jsx("ul",{ref:s,className:be("flex flex-row items-center gap-1",a),...t}));Ot.displayName="PaginationContent";const Lt=E.forwardRef(({className:a,...t},s)=>e.jsx("li",{ref:s,className:be("",a),...t}));Lt.displayName="PaginationItem";const qt=({className:a,isActive:t,size:s="icon",...r})=>e.jsx("a",{"aria-current":t?"page":void 0,className:be(Be({variant:t?"outline":"ghost",size:s}),a),...r});qt.displayName="PaginationLink";const Ft=({className:a,...t})=>e.jsxs(qt,{"aria-label":"Go to previous page",size:"default",className:be("gap-1 pl-2.5",a),...t,children:[e.jsx(s.ChevronLeft,{className:"h-4 w-4"}),e.jsx("span",{children:"Previous"})]});Ft.displayName="PaginationPrevious";const Gt=({className:a,...t})=>e.jsxs(qt,{"aria-label":"Go to next page",size:"default",className:be("gap-1 pr-2.5",a),...t,children:[e.jsx("span",{children:"Next"}),e.jsx(s.ChevronRight,{className:"h-4 w-4"})]});Gt.displayName="PaginationNext";const Bt=({className:a,...t})=>e.jsxs("span",{"aria-hidden":!0,className:be("flex h-9 w-9 items-center justify-center",a),...t,children:[e.jsx(s.MoreHorizontal,{className:"h-4 w-4"}),e.jsx("span",{className:"sr-only",children:"More pages"})]});Bt.displayName="PaginationEllipsis";const Et=E.forwardRef(({className:a,children:t,...s},r)=>e.jsxs(de.Root,{ref:r,className:be("relative z-10 flex max-w-max flex-1 items-center justify-center",a),...s,children:[t,e.jsx(Wt,{})]}));Et.displayName=de.Root.displayName;const Ht=E.forwardRef(({className:a,...t},s)=>e.jsx(de.List,{ref:s,className:be("group flex flex-1 list-none items-center justify-center space-x-1",a),...t}));Ht.displayName=de.List.displayName;const Vt=de.Item,$t=m.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"),Kt=E.forwardRef(({className:a,children:t,...r},o)=>e.jsxs(de.Trigger,{ref:o,className:be($t(),"group",a),...r,children:[t," ",e.jsx(s.ChevronDown,{className:"relative top-[1px] ml-1 h-3 w-3 transition duration-200 group-data-[state=open]:rotate-180","aria-hidden":"true"})]}));Kt.displayName=de.Trigger.displayName;const Ut=E.forwardRef(({className:a,...t},s)=>e.jsx(de.Content,{ref:s,className:be("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 ",a),...t}));Ut.displayName=de.Content.displayName;const Xt=de.Link,Wt=E.forwardRef(({className:a,...t},s)=>e.jsx("div",{className:be("absolute left-0 top-full flex justify-center"),children:e.jsx(de.Viewport,{className:be("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)]",a),ref:s,...t})}));Wt.displayName=de.Viewport.displayName;E.forwardRef(({className:a,...t},s)=>e.jsx(de.Indicator,{ref:s,className:be("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",a),...t,children:e.jsx("div",{className:"relative top-[60%] h-2 w-2 rotate-45 rounded-tl-sm bg-border shadow-md"})})).displayName=de.Indicator.displayName;const Jt=le.Menu,Qt=le.Sub,Yt=le.RadioGroup,Zt=E.forwardRef(({className:a,...t},s)=>e.jsx(le.Root,{ref:s,className:be("flex h-10 items-center space-x-1 rounded-md border bg-background p-1",a),...t}));Zt.displayName=le.Root.displayName;const es=E.forwardRef(({className:a,...t},s)=>e.jsx(le.Trigger,{ref:s,className:be("flex cursor-default select-none items-center rounded-sm px-3 py-1.5 text-sm font-medium outline-none focus:bg-accent focus:text-accent-foreground data-[state=open]:bg-accent data-[state=open]:text-accent-foreground",a),...t}));es.displayName=le.Trigger.displayName;const as=E.forwardRef(({className:a,inset:t,children:r,...o},i)=>e.jsxs(le.SubTrigger,{ref:i,className:be("flex cursor-default select-none items-center rounded-sm px-2 py-1.5 text-sm outline-none focus:bg-accent focus:text-accent-foreground data-[state=open]:bg-accent data-[state=open]:text-accent-foreground",t&&"pl-8",a),...o,children:[r,e.jsx(s.ChevronRight,{className:"ml-auto h-4 w-4"})]}));as.displayName=le.SubTrigger.displayName;const ts=E.forwardRef(({className:a,...t},s)=>e.jsx(le.SubContent,{ref:s,className:be("z-50 min-w-[8rem] overflow-hidden rounded-md border bg-popover p-1 text-popover-foreground 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",a),...t}));ts.displayName=le.SubContent.displayName;const ss=E.forwardRef(({className:a,align:t="start",alignOffset:s=-4,sideOffset:r=8,...o},i)=>e.jsx(le.Portal,{children:e.jsx(le.Content,{ref:i,align:t,alignOffset:s,sideOffset:r,className:be("z-50 min-w-[12rem] overflow-hidden rounded-md border bg-popover p-1 text-popover-foreground shadow-md data-[state=open]:animate-in 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",a),...o})}));ss.displayName=le.Content.displayName;const rs=E.forwardRef(({className:a,inset:t,...s},r)=>e.jsx(le.Item,{ref:r,className:be("relative flex cursor-default select-none items-center rounded-sm px-2 py-1.5 text-sm outline-none focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",t&&"pl-8",a),...s}));rs.displayName=le.Item.displayName;const os=E.forwardRef(({className:a,children:t,checked:r,...o},i)=>e.jsxs(le.CheckboxItem,{ref:i,className:be("relative flex cursor-default select-none items-center rounded-sm py-1.5 pl-8 pr-2 text-sm outline-none focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",a),checked:r,...o,children:[e.jsx("span",{className:"absolute left-2 flex h-3.5 w-3.5 items-center justify-center",children:e.jsx(le.ItemIndicator,{children:e.jsx(s.Check,{className:"h-4 w-4"})})}),t]}));os.displayName=le.CheckboxItem.displayName;const is=E.forwardRef(({className:a,children:t,...r},o)=>e.jsxs(le.RadioItem,{ref:o,className:be("relative flex cursor-default select-none items-center rounded-sm py-1.5 pl-8 pr-2 text-sm outline-none focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",a),...r,children:[e.jsx("span",{className:"absolute left-2 flex h-3.5 w-3.5 items-center justify-center",children:e.jsx(le.ItemIndicator,{children:e.jsx(s.Circle,{className:"h-2 w-2 fill-current"})})}),t]}));is.displayName=le.RadioItem.displayName;const ns=E.forwardRef(({className:a,inset:t,...s},r)=>e.jsx(le.Label,{ref:r,className:be("px-2 py-1.5 text-sm font-semibold",t&&"pl-8",a),...s}));ns.displayName=le.Label.displayName;const ds=E.forwardRef(({className:a,...t},s)=>e.jsx(le.Separator,{ref:s,className:be("-mx-1 my-1 h-px bg-muted",a),...t}));ds.displayName=le.Separator.displayName;const ls=({className:a,...t})=>e.jsx("span",{className:be("ml-auto text-xs tracking-widest text-muted-foreground",a),...t});ls.displayname="MenubarShortcut";const cs=ce.Root,ms=ce.Trigger,fs=ce.Group,ps=ce.Portal,us=ce.Sub,xs=ce.RadioGroup,gs=E.forwardRef(({className:a,inset:t,children:r,...o},i)=>e.jsxs(ce.SubTrigger,{ref:i,className:be("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",t&&"pl-8",a),...o,children:[r,e.jsx(s.ChevronRight,{className:"ml-auto h-4 w-4"})]}));gs.displayName=ce.SubTrigger.displayName;const bs=E.forwardRef(({className:a,...t},s)=>e.jsx(ce.SubContent,{ref:s,className:be("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",a),...t}));bs.displayName=ce.SubContent.displayName;const Ns=E.forwardRef(({className:a,sideOffset:t=4,...s},r)=>e.jsx(ce.Portal,{children:e.jsx(ce.Content,{ref:r,sideOffset:t,className:be("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",a),...s})}));Ns.displayName=ce.Content.displayName;const hs=E.forwardRef(({className:a,inset:t,...s},r)=>e.jsx(ce.Item,{ref:r,className:be("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",t&&"pl-8",a),...s}));hs.displayName=ce.Item.displayName;const vs=E.forwardRef(({className:a,children:t,checked:r,...o},i)=>e.jsxs(ce.CheckboxItem,{ref:i,className:be("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",a),checked:r,...o,children:[e.jsx("span",{className:"absolute left-2 flex h-3.5 w-3.5 items-center justify-center",children:e.jsx(ce.ItemIndicator,{children:e.jsx(s.Check,{className:"h-4 w-4"})})}),t]}));vs.displayName=ce.CheckboxItem.displayName;const ys=E.forwardRef(({className:a,children:t,...r},o)=>e.jsxs(ce.RadioItem,{ref:o,className:be("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",a),...r,children:[e.jsx("span",{className:"absolute left-2 flex h-3.5 w-3.5 items-center justify-center",children:e.jsx(ce.ItemIndicator,{children:e.jsx(s.Circle,{className:"h-2 w-2 fill-current"})})}),t]}));ys.displayName=ce.RadioItem.displayName;const ws=E.forwardRef(({className:a,inset:t,...s},r)=>e.jsx(ce.Label,{ref:r,className:be("px-2 py-1.5 text-sm font-semibold",t&&"pl-8",a),...s}));ws.displayName=ce.Label.displayName;const js=E.forwardRef(({className:a,...t},s)=>e.jsx(ce.Separator,{ref:s,className:be("-mx-1 my-1 h-px bg-muted",a),...t}));js.displayName=ce.Separator.displayName;const Cs=({className:a,...t})=>e.jsx("span",{className:be("ml-auto text-xs tracking-widest opacity-60",a),...t});Cs.displayName="DropdownMenuShortcut";const Rs=X.Root,Ss=X.Trigger,ks=X.Portal,Ts=X.Close,Is=E.forwardRef(({className:a,...t},s)=>e.jsx(X.Overlay,{ref:s,className:be("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",a),...t}));Is.displayName=X.Overlay.displayName;const zs=E.forwardRef(({className:a,children:t,...r},o)=>e.jsxs(ks,{children:[e.jsx(Is,{}),e.jsxs(X.Content,{ref:o,className:be("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",a),...r,children:[t,e.jsxs(X.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:[e.jsx(s.X,{className:"h-4 w-4"}),e.jsx("span",{className:"sr-only",children:"Close"})]})]})]}));zs.displayName=X.Content.displayName;const Ds=({className:a,...t})=>e.jsx("div",{className:be("flex flex-col space-y-1.5 text-center sm:text-left",a),...t});Ds.displayName="DialogHeader";const Ms=({className:a,...t})=>e.jsx("div",{className:be("flex flex-col-reverse sm:flex-row sm:justify-end sm:space-x-2",a),...t});Ms.displayName="DialogFooter";const _s=E.forwardRef(({className:a,...t},s)=>e.jsx(X.Title,{ref:s,className:be("text-lg font-semibold leading-none tracking-tight",a),...t}));_s.displayName=X.Title.displayName;const Ps=E.forwardRef(({className:a,...t},s)=>e.jsx(X.Description,{ref:s,className:be("text-sm text-muted-foreground",a),...t}));Ps.displayName=X.Description.displayName;const As=({shouldScaleBackground:a=!0,...t})=>e.jsx(M.Drawer.Root,{shouldScaleBackground:a,...t});As.displayName="Drawer";const Os=M.Drawer.Trigger,Ls=M.Drawer.Portal,qs=M.Drawer.Close,Fs=E.forwardRef(({className:a,...t},s)=>e.jsx(M.Drawer.Overlay,{ref:s,className:be("fixed inset-0 z-50 bg-black/80",a),...t}));Fs.displayName=M.Drawer.Overlay.displayName;const Gs=E.forwardRef(({className:a,children:t,...s},r)=>e.jsxs(Ls,{children:[e.jsx(Fs,{}),e.jsxs(M.Drawer.Content,{ref:r,className:be("fixed inset-x-0 bottom-0 z-50 mt-24 flex h-auto flex-col rounded-t-[10px] border bg-background",a),...s,children:[e.jsx("div",{className:"mx-auto mt-4 h-2 w-[100px] rounded-full bg-muted"}),t]})]}));Gs.displayName="DrawerContent";const Bs=({className:a,...t})=>e.jsx("div",{className:be("grid gap-1.5 p-4 text-center sm:text-left",a),...t});Bs.displayName="DrawerHeader";const Es=({className:a,...t})=>e.jsx("div",{className:be("mt-auto flex flex-col gap-2 p-4",a),...t});Es.displayName="DrawerFooter";const Hs=E.forwardRef(({className:a,...t},s)=>e.jsx(M.Drawer.Title,{ref:s,className:be("text-lg font-semibold leading-none tracking-tight",a),...t}));Hs.displayName=M.Drawer.Title.displayName;const Vs=E.forwardRef(({className:a,...t},s)=>e.jsx(M.Drawer.Description,{ref:s,className:be("text-sm text-muted-foreground",a),...t}));Vs.displayName=M.Drawer.Description.displayName;const $s=me.Root,Ks=me.Trigger,Us=E.forwardRef(({className:a,align:t="center",sideOffset:s=4,...r},o)=>e.jsx(me.Portal,{children:e.jsx(me.Content,{ref:o,align:t,sideOffset:s,className:be("z-50 w-72 rounded-md border bg-popover p-4 text-popover-foreground shadow-md outline-none 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",a),...r})}));Us.displayName=me.Content.displayName;const Xs=fe.Root,Ws=fe.Trigger,Js=E.forwardRef(({className:a,align:t="center",sideOffset:s=4,...r},o)=>e.jsx(fe.Content,{ref:o,align:t,sideOffset:s,className:be("z-50 w-64 rounded-md border bg-popover p-4 text-popover-foreground shadow-md outline-none 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",a),...r}));Js.displayName=fe.Content.displayName;const Qs=pe.Root,Ys=pe.Trigger,Zs=pe.Group,er=pe.Portal,ar=pe.Sub,tr=pe.RadioGroup,sr=E.forwardRef(({className:a,inset:t,children:r,...o},i)=>e.jsxs(pe.SubTrigger,{ref:i,className:be("flex cursor-default select-none items-center rounded-sm px-2 py-1.5 text-sm outline-none focus:bg-accent focus:text-accent-foreground data-[state=open]:bg-accent data-[state=open]:text-accent-foreground",t&&"pl-8",a),...o,children:[r,e.jsx(s.ChevronRight,{className:"ml-auto h-4 w-4"})]}));sr.displayName=pe.SubTrigger.displayName;const rr=E.forwardRef(({className:a,...t},s)=>e.jsx(pe.SubContent,{ref:s,className:be("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",a),...t}));rr.displayName=pe.SubContent.displayName;const or=E.forwardRef(({className:a,...t},s)=>e.jsx(pe.Portal,{children:e.jsx(pe.Content,{ref:s,className:be("z-50 min-w-[8rem] overflow-hidden rounded-md border bg-popover p-1 text-popover-foreground shadow-md animate-in fade-in-80 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",a),...t})}));or.displayName=pe.Content.displayName;const ir=E.forwardRef(({className:a,inset:t,...s},r)=>e.jsx(pe.Item,{ref:r,className:be("relative flex cursor-default select-none items-center rounded-sm px-2 py-1.5 text-sm outline-none focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",t&&"pl-8",a),...s}));ir.displayName=pe.Item.displayName;const nr=E.forwardRef(({className:a,children:t,checked:r,...o},i)=>e.jsxs(pe.CheckboxItem,{ref:i,className:be("relative flex cursor-default select-none items-center rounded-sm py-1.5 pl-8 pr-2 text-sm outline-none focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",a),checked:r,...o,children:[e.jsx("span",{className:"absolute left-2 flex h-3.5 w-3.5 items-center justify-center",children:e.jsx(pe.ItemIndicator,{children:e.jsx(s.Check,{className:"h-4 w-4"})})}),t]}));nr.displayName=pe.CheckboxItem.displayName;const dr=E.forwardRef(({className:a,children:t,...r},o)=>e.jsxs(pe.RadioItem,{ref:o,className:be("relative flex cursor-default select-none items-center rounded-sm py-1.5 pl-8 pr-2 text-sm outline-none focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",a),...r,children:[e.jsx("span",{className:"absolute left-2 flex h-3.5 w-3.5 items-center justify-center",children:e.jsx(pe.ItemIndicator,{children:e.jsx(s.Circle,{className:"h-2 w-2 fill-current"})})}),t]}));dr.displayName=pe.RadioItem.displayName;const lr=E.forwardRef(({className:a,inset:t,...s},r)=>e.jsx(pe.Label,{ref:r,className:be("px-2 py-1.5 text-sm font-semibold text-foreground",t&&"pl-8",a),...s}));lr.displayName=pe.Label.displayName;const cr=E.forwardRef(({className:a,...t},s)=>e.jsx(pe.Separator,{ref:s,className:be("-mx-1 my-1 h-px bg-border",a),...t}));cr.displayName=pe.Separator.displayName;const mr=({className:a,...t})=>e.jsx("span",{className:be("ml-auto text-xs tracking-widest text-muted-foreground",a),...t});mr.displayName="ContextMenuShortcut";const fr=E.createContext(null);function pr(){const e=E.useContext(fr);if(!e)throw new Error("useCarousel must be used within a <Carousel />");return e}const ur=E.forwardRef(({orientation:a="horizontal",opts:t,setApi:s,plugins:r,className:o,children:i,...n},d)=>{const[l,c]=O({...t,axis:"horizontal"===a?"x":"y"},r),[m,f]=E.useState(!1),[p,u]=E.useState(!1),x=E.useCallback(e=>{e&&(f(e.canScrollPrev()),u(e.canScrollNext()))},[]),g=E.useCallback(()=>{null==c||c.scrollPrev()},[c]),b=E.useCallback(()=>{null==c||c.scrollNext()},[c]),N=E.useCallback(e=>{"ArrowLeft"===e.key?(e.preventDefault(),g()):"ArrowRight"===e.key&&(e.preventDefault(),b())},[g,b]);return E.useEffect(()=>{c&&s&&s(c)},[c,s]),E.useEffect(()=>{if(c)return x(c),c.on("reInit",x),c.on("select",x),()=>{null==c||c.off("select",x)}},[c,x]),e.jsx(fr.Provider,{value:{carouselRef:l,api:c,opts:t,orientation:a||("y"===(null==t?void 0:t.axis)?"vertical":"horizontal"),scrollPrev:g,scrollNext:b,canScrollPrev:m,canScrollNext:p},children:e.jsx("div",{ref:d,onKeyDownCapture:N,className:be("relative",o),role:"region","aria-roledescription":"carousel",...n,children:i})})});ur.displayName="Carousel";const xr=E.forwardRef(({className:a,...t},s)=>{const{carouselRef:r,orientation:o}=pr();return e.jsx("div",{ref:r,className:"overflow-hidden",children:e.jsx("div",{ref:s,className:be("flex","horizontal"===o?"-ml-4":"-mt-4 flex-col",a),...t})})});xr.displayName="CarouselContent";const gr=E.forwardRef(({className:a,...t},s)=>{const{orientation:r}=pr();return e.jsx("div",{ref:s,role:"group","aria-roledescription":"slide",className:be("min-w-0 shrink-0 grow-0 basis-full","horizontal"===r?"pl-4":"pt-4",a),...t})});gr.displayName="CarouselItem";const br=E.forwardRef(({className:a,variant:t="outline",size:r="icon",...o},i)=>{const{orientation:n,scrollPrev:d,canScrollPrev:l}=pr();return e.jsxs(Ee,{ref:i,variant:t,size:r,className:be("absolute h-8 w-8 rounded-full","horizontal"===n?"-left-12 top-1/2 -translate-y-1/2":"-top-12 left-1/2 -translate-x-1/2 rotate-90",a),disabled:!l,onClick:d,...o,children:[e.jsx(s.ArrowLeft,{className:"h-4 w-4"}),e.jsx("span",{className:"sr-only",children:"Previous slide"})]})});br.displayName="CarouselPrevious";const Nr=E.forwardRef(({className:a,variant:t="outline",size:r="icon",...o},i)=>{const{orientation:n,scrollNext:d,canScrollNext:l}=pr();return e.jsxs(Ee,{ref:i,variant:t,size:r,className:be("absolute h-8 w-8 rounded-full","horizontal"===n?"-right-12 top-1/2 -translate-y-1/2":"-bottom-12 left-1/2 -translate-x-1/2 rotate-90",a),disabled:!l,onClick:d,...o,children:[e.jsx(s.ArrowRight,{className:"h-4 w-4"}),e.jsx("span",{className:"sr-only",children:"Next slide"})]})});Nr.displayName="CarouselNext";const hr=ue.Root,vr=ue.CollapsibleTrigger,yr=ue.CollapsibleContent,wr=E.forwardRef(({className:a,...t},s)=>e.jsx(q.Command,{ref:s,className:be("flex h-full w-full flex-col overflow-hidden rounded-md bg-popover text-popover-foreground",a),...t}));wr.displayName=q.Command.displayName;const jr=E.forwardRef(({className:a,...t},r)=>e.jsxs("div",{className:"flex items-center border-b px-3","cmdk-input-wrapper":"",children:[e.jsx(s.Search,{className:"mr-2 h-4 w-4 shrink-0 opacity-50"}),e.jsx(q.Command.Input,{ref:r,className:be("flex h-11 w-full rounded-md bg-transparent py-3 text-sm outline-none placeholder:text-muted-foreground disabled:cursor-not-allowed disabled:opacity-50",a),...t})]}));jr.displayName=q.Command.Input.displayName;const Cr=E.forwardRef(({className:a,...t},s)=>e.jsx(q.Command.List,{ref:s,className:be("max-h-[300px] overflow-y-auto overflow-x-hidden",a),...t}));Cr.displayName=q.Command.List.displayName;const Rr=E.forwardRef((a,t)=>e.jsx(q.Command.Empty,{ref:t,className:"py-6 text-center text-sm",...a}));Rr.displayName=q.Command.Empty.displayName;const Sr=E.forwardRef(({className:a,...t},s)=>e.jsx(q.Command.Group,{ref:s,className:be("overflow-hidden p-1 text-foreground [&_[cmdk-group-heading]]:px-2 [&_[cmdk-group-heading]]:py-1.5 [&_[cmdk-group-heading]]:text-xs [&_[cmdk-group-heading]]:font-medium [&_[cmdk-group-heading]]:text-muted-foreground",a),...t}));Sr.displayName=q.Command.Group.displayName;const kr=E.forwardRef(({className:a,...t},s)=>e.jsx(q.Command.Separator,{ref:s,className:be("-mx-1 h-px bg-border",a),...t}));kr.displayName=q.Command.Separator.displayName;const Tr=E.forwardRef(({className:a,...t},s)=>e.jsx(q.Command.Item,{ref:s,className:be("relative flex cursor-default select-none items-center rounded-sm px-2 py-1.5 text-sm outline-none data-[disabled=true]:pointer-events-none data-[selected='true']:bg-accent data-[selected=true]:text-accent-foreground data-[disabled=true]:opacity-50",a),...t}));Tr.displayName=q.Command.Item.displayName;const Ir=({className:a,...t})=>e.jsx("span",{className:be("ml-auto text-xs tracking-widest text-muted-foreground",a),...t});Ir.displayName="CommandShortcut";const zr=xe.Provider,Dr=E.forwardRef(({className:a,...t},s)=>e.jsx(xe.Viewport,{ref:s,className:be("fixed top-0 z-[100] flex max-h-screen w-full flex-col-reverse p-4 sm:bottom-0 sm:right-0 sm:top-auto sm:flex-col md:max-w-[420px]",a),...t}));Dr.displayName=xe.Viewport.displayName;const Mr=m.cva("group pointer-events-auto relative flex w-full items-center justify-between space-x-4 overflow-hidden rounded-md border p-6 pr-8 shadow-lg transition-all data-[swipe=cancel]:translate-x-0 data-[swipe=end]:translate-x-[var(--radix-toast-swipe-end-x)] data-[swipe=move]:translate-x-[var(--radix-toast-swipe-move-x)] data-[swipe=move]:transition-none data-[state=open]:animate-in data-[state=closed]:animate-out data-[swipe=end]:animate-out data-[state=closed]:fade-out-80 data-[state=closed]:slide-out-to-right-full data-[state=open]:slide-in-from-top-full data-[state=open]:sm:slide-in-from-bottom-full",{variants:{variant:{default:"border bg-background text-foreground",destructive:"destructive group border-destructive bg-destructive text-destructive-foreground"}},defaultVariants:{variant:"default"}}),_r=E.forwardRef(({className:a,variant:t,...s},r)=>e.jsx(xe.Root,{ref:r,className:be(Mr({variant:t}),a),...s}));_r.displayName=xe.Root.displayName;const Pr=E.forwardRef(({className:a,...t},s)=>e.jsx(xe.Action,{ref:s,className:be("inline-flex h-8 shrink-0 items-center justify-center rounded-md border bg-transparent px-3 text-sm font-medium ring-offset-background transition-colors hover:bg-secondary focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:pointer-events-none disabled:opacity-50 group-[.destructive]:border-muted/40 group-[.destructive]:hover:border-destructive/30 group-[.destructive]:hover:bg-destructive group-[.destructive]:hover:text-destructive-foreground group-[.destructive]:focus:ring-destructive",a),...t}));Pr.displayName=xe.Action.displayName;const Ar=E.forwardRef(({className:a,...t},r)=>e.jsx(xe.Close,{ref:r,className:be("absolute right-2 top-2 rounded-md p-1 text-foreground/50 opacity-0 transition-opacity hover:text-foreground focus:opacity-100 focus:outline-none focus:ring-2 group-hover:opacity-100 group-[.destructive]:text-red-300 group-[.destructive]:hover:text-red-50 group-[.destructive]:focus:ring-red-400 group-[.destructive]:focus:ring-offset-red-600",a),"toast-close":"",...t,children:e.jsx(s.X,{className:"h-4 w-4"})}));Ar.displayName=xe.Close.displayName;const Or=E.forwardRef(({className:a,...t},s)=>e.jsx(xe.Title,{ref:s,className:be("text-sm font-semibold",a),...t}));Or.displayName=xe.Title.displayName;const Lr=E.forwardRef(({className:a,...t},s)=>e.jsx(xe.Description,{ref:s,className:be("text-sm opacity-90",a),...t}));Lr.displayName=xe.Description.displayName;let qr=0;const Fr=new Map,Gr=e=>{if(Fr.has(e))return;const a=setTimeout(()=>{Fr.delete(e),Vr({type:"REMOVE_TOAST",toastId:e})},1e6);Fr.set(e,a)},Br=(e,a)=>{switch(a.type){case"ADD_TOAST":return{...e,toasts:[a.toast,...e.toasts].slice(0,1)};case"UPDATE_TOAST":return{...e,toasts:e.toasts.map(e=>e.id===a.toast.id?{...e,...a.toast}:e)};case"DISMISS_TOAST":{const{toastId:t}=a;return t?Gr(t):e.toasts.forEach(e=>{Gr(e.id)}),{...e,toasts:e.toasts.map(e=>e.id===t||void 0===t?{...e,open:!1}:e)}}case"REMOVE_TOAST":return void 0===a.toastId?{...e,toasts:[]}:{...e,toasts:e.toasts.filter(e=>e.id!==a.toastId)}}},Er=[];let Hr={toasts:[]};function Vr(e){Hr=Br(Hr,e),Er.forEach(e=>{e(Hr)})}function $r({...e}){const a=(qr=(qr+1)%Number.MAX_SAFE_INTEGER,qr.toString()),t=()=>Vr({type:"DISMISS_TOAST",toastId:a});return Vr({type:"ADD_TOAST",toast:{...e,id:a,open:!0,onOpenChange:e=>{e||t()}}}),{id:a,dismiss:t,update:e=>Vr({type:"UPDATE_TOAST",toast:{...e,id:a}})}}const Kr={light:"",dark:".dark"},Ur=E.createContext(null);function Xr(){const e=E.useContext(Ur);if(!e)throw new Error("useChart must be used within a <ChartContainer />");return e}const Wr=E.forwardRef(({id:a,className:t,children:s,config:r,...o},i)=>{const n=E.useId(),d=`chart-${a||n.replace(/:/g,"")}`;return e.jsx(Ur.Provider,{value:{config:r},children:e.jsxs("div",{"data-chart":d,ref:i,className:be("flex aspect-video justify-center text-xs [&_.recharts-cartesian-axis-tick_text]:fill-muted-foreground [&_.recharts-cartesian-grid_line[stroke='#ccc']]:stroke-border/50 [&_.recharts-curve.recharts-tooltip-cursor]:stroke-border [&_.recharts-dot[stroke='#fff']]:stroke-transparent [&_.recharts-layer]:outline-none [&_.recharts-polar-grid_[stroke='#ccc']]:stroke-border [&_.recharts-radial-bar-background-sector]:fill-muted [&_.recharts-rectangle.recharts-tooltip-cursor]:fill-muted [&_.recharts-reference-line_[stroke='#ccc']]:stroke-border [&_.recharts-sector[stroke='#fff']]:stroke-transparent [&_.recharts-sector]:outline-none [&_.recharts-surface]:outline-none",t),...o,children:[e.jsx(Jr,{id:d,config:r}),e.jsx(ge.ResponsiveContainer,{children:s})]})})});Wr.displayName="Chart";const Jr=({id:a,config:t})=>{const s=Object.entries(t).filter(([e,a])=>a.theme||a.color);return s.length?e.jsx("style",{dangerouslySetInnerHTML:{__html:Object.entries(Kr).map(([e,t])=>`\n${t} [data-chart=${a}] {\n${s.map(([a,t])=>{var s;const r=(null==(s=t.theme)?void 0:s[e])||t.color;return r?` --color-${a}: ${r};`:null}).join("\n")}\n}\n`).join("\n")}}):null},Qr=ge.Tooltip,Yr=E.forwardRef(({active:a,payload:t,className:s,indicator:r="dot",hideLabel:o=!1,hideIndicator:i=!1,label:n,labelFormatter:d,labelClassName:l,formatter:c,color:m,nameKey:f,labelKey:p},u)=>{const{config:x}=Xr(),g=E.useMemo(()=>{var a;if(o||!(null==t?void 0:t.length))return null;const[s]=t,r=`${p||s.dataKey||s.name||"value"}`,i=eo(x,s,r),c=p||"string"!=typeof n?null==i?void 0:i.label:(null==(a=x[n])?void 0:a.label)||n;return d?e.jsx("div",{className:be("font-medium",l),children:d(c,t)}):c?e.jsx("div",{className:be("font-medium",l),children:c}):null},[n,d,t,o,l,x,p]);if(!a||!(null==t?void 0:t.length))return null;const b=1===t.length&&"dot"!==r;return e.jsxs("div",{ref:u,className:be("grid min-w-[8rem] items-start gap-1.5 rounded-lg border border-border/50 bg-background px-2.5 py-1.5 text-xs shadow-xl",s),children:[b?null:g,e.jsx("div",{className:"grid gap-1.5",children:t.map((a,t)=>{const s=`${f||a.name||a.dataKey||"value"}`,o=eo(x,a,s),n=m||a.payload.fill||a.color;return e.jsx("div",{className:be("flex w-full flex-wrap items-stretch gap-2 [&>svg]:h-2.5 [&>svg]:w-2.5 [&>svg]:text-muted-foreground","dot"===r&&"items-center"),children:c&&void 0!==(null==a?void 0:a.value)&&a.name?c(a.value,a.name,a,t,a.payload):e.jsxs(e.Fragment,{children:[(null==o?void 0:o.icon)?e.jsx(o.icon,{}):!i&&e.jsx("div",{className:be("shrink-0 rounded-[2px] border-[--color-border] bg-[--color-bg]",{"h-2.5 w-2.5":"dot"===r,"w-1":"line"===r,"w-0 border-[1.5px] border-dashed bg-transparent":"dashed"===r,"my-0.5":b&&"dashed"===r}),style:{"--color-bg":n,"--color-border":n}}),e.jsxs("div",{className:be("flex flex-1 justify-between leading-none",b?"items-end":"items-center"),children:[e.jsxs("div",{className:"grid gap-1.5",children:[b?g:null,e.jsx("span",{className:"text-muted-foreground",children:(null==o?void 0:o.label)||a.name})]}),a.value&&e.jsx("span",{className:"font-mono font-medium tabular-nums text-foreground",children:a.value.toLocaleString()})]})]})},a.dataKey)})})]})});Yr.displayName="ChartTooltip";const Zr=ge.Legend;function eo(e,a,t){if("object"!=typeof a||null===a)return;const s="payload"in a&&"object"==typeof a.payload&&null!==a.payload?a.payload:void 0;let r=t;return t in a&&"string"==typeof a[t]?r=a[t]:s&&t in s&&"string"==typeof s[t]&&(r=s[t]),r in e?e[r]:e[t]}E.forwardRef(({className:a,hideIcon:t=!1,payload:s,verticalAlign:r="bottom",nameKey:o},i)=>{const{config:n}=Xr();return(null==s?void 0:s.length)?e.jsx("div",{ref:i,className:be("flex items-center justify-center gap-4","top"===r?"pb-3":"pt-3",a),children:s.map(a=>{const s=`${o||a.dataKey||"value"}`,r=eo(n,a,s);return e.jsxs("div",{className:be("flex items-center gap-1.5 [&>svg]:h-3 [&>svg]:w-3 [&>svg]:text-muted-foreground"),children:[(null==r?void 0:r.icon)&&!t?e.jsx(r.icon,{}):e.jsx("div",{className:"h-2 w-2 shrink-0 rounded-[2px]",style:{backgroundColor:a.color}}),null==r?void 0:r.label]},a.value)})}):null}).displayName="ChartLegend",exports.Accordion=Ne,exports.AccordionContent=ye,exports.AccordionItem=he,exports.AccordionTrigger=ve,exports.Alert=it,exports.AlertDescription=dt,exports.AlertDialog=lt,exports.AlertDialogAction=Nt,exports.AlertDialogCancel=ht,exports.AlertDialogContent=pt,exports.AlertDialogDescription=bt,exports.AlertDialogFooter=xt,exports.AlertDialogHeader=ut,exports.AlertDialogTitle=gt,exports.AlertDialogTrigger=ct,exports.AlertTitle=nt,exports.AspectRatio=we,exports.Avatar=vt,exports.AvatarFallback=wt,exports.AvatarImage=yt,exports.Badge=function({className:a,variant:t,...s}){return e.jsx("div",{className:be(rt({variant:t}),a),...s})},exports.Breadcrumb=jt,exports.BreadcrumbItem=Rt,exports.BreadcrumbLink=St,exports.BreadcrumbList=Ct,exports.BreadcrumbPage=kt,exports.BreadcrumbSeparator=Tt,exports.Button=Ee,exports.Calendar=zt,exports.Card=je,exports.CardContent=ke,exports.CardDescription=Se,exports.CardFooter=Te,exports.CardHeader=Ce,exports.CardTitle=Re,exports.Carousel=ur,exports.CarouselContent=xr,exports.CarouselItem=gr,exports.CarouselNext=Nr,exports.CarouselPrevious=br,exports.ChartContainer=Wr,exports.ChartLegend=Zr,exports.ChartStyle=Jr,exports.ChartTooltip=Qr,exports.ChartTooltipContent=Yr,exports.Checkbox=Ra,exports.Collapsible=hr,exports.CollapsibleContent=yr,exports.CollapsibleTrigger=vr,exports.Command=wr,exports.CommandDialog=({children:a,...t})=>e.jsx(Rs,{...t,children:e.jsx(zs,{className:"overflow-hidden p-0 shadow-lg",children:e.jsx(wr,{className:"[&_[cmdk-group-heading]]:px-2 [&_[cmdk-group-heading]]:font-medium [&_[cmdk-group-heading]]:text-muted-foreground [&_[cmdk-group]:not([hidden])_~[cmdk-group]]:pt-0 [&_[cmdk-group]]:px-2 [&_[cmdk-input-wrapper]_svg]:h-5 [&_[cmdk-input-wrapper]_svg]:w-5 [&_[cmdk-input]]:h-12 [&_[cmdk-item]]:px-2 [&_[cmdk-item]]:py-3 [&_[cmdk-item]_svg]:h-5 [&_[cmdk-item]_svg]:w-5",children:a})})}),exports.CommandEmpty=Rr,exports.CommandGroup=Sr,exports.CommandInput=jr,exports.CommandItem=Tr,exports.CommandList=Cr,exports.CommandSeparator=kr,exports.CommandShortcut=Ir,exports.ContextMenu=Qs,exports.ContextMenuCheckboxItem=nr,exports.ContextMenuContent=or,exports.ContextMenuGroup=Zs,exports.ContextMenuItem=ir,exports.ContextMenuLabel=lr,exports.ContextMenuPortal=er,exports.ContextMenuRadioGroup=tr,exports.ContextMenuRadioItem=dr,exports.ContextMenuSeparator=cr,exports.ContextMenuShortcut=mr,exports.ContextMenuSub=ar,exports.ContextMenuSubContent=rr,exports.ContextMenuSubTrigger=sr,exports.ContextMenuTrigger=Ys,exports.Dialog=Rs,exports.DialogClose=Ts,exports.DialogContent=zs,exports.DialogDescription=Ps,exports.DialogFooter=Ms,exports.DialogHeader=Ds,exports.DialogTitle=_s,exports.DialogTrigger=Ss,exports.Drawer=As,exports.DrawerClose=qs,exports.DrawerContent=Gs,exports.DrawerDescription=Vs,exports.DrawerFooter=Es,exports.DrawerHeader=Bs,exports.DrawerTitle=Hs,exports.DrawerTrigger=Os,exports.DropdownMenu=cs,exports.DropdownMenuCheckboxItem=vs,exports.DropdownMenuContent=Ns,exports.DropdownMenuGroup=fs,exports.DropdownMenuItem=hs,exports.DropdownMenuLabel=ws,exports.DropdownMenuPortal=ps,exports.DropdownMenuRadioGroup=xs,exports.DropdownMenuRadioItem=ys,exports.DropdownMenuSeparator=js,exports.DropdownMenuShortcut=Cs,exports.DropdownMenuSub=us,exports.DropdownMenuSubContent=bs,exports.DropdownMenuSubTrigger=gs,exports.DropdownMenuTrigger=ms,exports.Form=Va,exports.FormControl=Ja,exports.FormDescription=Qa,exports.FormField=({...a})=>e.jsx($a.Provider,{value:{name:a.name},children:e.jsx(y.Controller,{...a})}),exports.FormItem=Xa,exports.FormLabel=Wa,exports.FormMessage=Ya,exports.HoverCard=Xs,exports.HoverCardContent=Js,exports.HoverCardTrigger=Ws,exports.Input=He,exports.InputOTP=za,exports.InputOTPGroup=Da,exports.InputOTPSeparator=_a,exports.InputOTPSlot=Ma,exports.Label=ja,exports.Menubar=Zt,exports.MenubarCheckboxItem=os,exports.MenubarContent=ss,exports.MenubarItem=rs,exports.MenubarLabel=ns,exports.MenubarMenu=Jt,exports.MenubarRadioGroup=Yt,exports.MenubarRadioItem=is,exports.MenubarSeparator=ds,exports.MenubarShortcut=ls,exports.MenubarSub=Qt,exports.MenubarSubContent=ts,exports.MenubarSubTrigger=as,exports.MenubarTrigger=es,exports.NavigationMenu=Et,exports.NavigationMenuContent=Ut,exports.NavigationMenuItem=Vt,exports.NavigationMenuLink=Xt,exports.NavigationMenuList=Ht,exports.NavigationMenuTrigger=Kt,exports.Pagination=At,exports.PaginationContent=Ot,exports.PaginationEllipsis=Bt,exports.PaginationItem=Lt,exports.PaginationLink=qt,exports.PaginationNext=Gt,exports.PaginationPrevious=Ft,exports.Popover=$s,exports.PopoverContent=Us,exports.PopoverTrigger=Ks,exports.Progress=It,exports.RadioGroup=Sa,exports.RadioGroupItem=ka,exports.ResizableHandle=({withHandle:a,className:t,...r})=>e.jsx(U.PanelResizeHandle,{className:be("relative flex w-px items-center justify-center bg-border after:absolute after:inset-y-0 after:left-1/2 after:w-1 after:-translate-x-1/2 focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring focus-visible:ring-offset-1 data-[panel-group-direction=vertical]:h-px data-[panel-group-direction=vertical]:w-full data-[panel-group-direction=vertical]:after:left-0 data-[panel-group-direction=vertical]:after:h-1 data-[panel-group-direction=vertical]:after:w-full data-[panel-group-direction=vertical]:after:-translate-y-1/2 data-[panel-group-direction=vertical]:after:translate-x-0 [&[data-panel-group-direction=vertical]>div]:rotate-90",t),...r,children:a&&e.jsx("div",{className:"z-10 flex h-4 w-3 items-center justify-center rounded-sm border bg-border",children:e.jsx(s.GripVertical,{className:"h-2.5 w-2.5"})})}),exports.ResizablePanel=Ge,exports.ResizablePanelGroup=({className:a,...t})=>e.jsx(U.PanelGroup,{className:be("flex h-full w-full data-[panel-group-direction=vertical]:flex-col",a),...t}),exports.ScrollArea=ze,exports.ScrollBar=De,exports.Select=Pa,exports.SelectContent=Ga,exports.SelectGroup=Aa,exports.SelectItem=Ea,exports.SelectLabel=Ba,exports.SelectScrollDownButton=Fa,exports.SelectScrollUpButton=qa,exports.SelectSeparator=Ha,exports.SelectTrigger=La,exports.SelectValue=Oa,exports.Separator=Ie,exports.Sheet=Ve,exports.SheetClose=Ke,exports.SheetContent=Je,exports.SheetDescription=ea,exports.SheetFooter=Ye,exports.SheetHeader=Qe,exports.SheetTitle=Ze,exports.SheetTrigger=$e,exports.Sidebar=da,exports.SidebarContent=ma,exports.SidebarFooter=ca,exports.SidebarGroup=fa,exports.SidebarGroupContent=ua,exports.SidebarGroupLabel=pa,exports.SidebarHeader=la,exports.SidebarMenu=xa,exports.SidebarMenuButton=Na,exports.SidebarMenuItem=ga,exports.SidebarMenuSub=ha,exports.SidebarMenuSubButton=ya,exports.SidebarMenuSubItem=va,exports.Skeleton=aa,exports.Slider=Ia,exports.Switch=Ta,exports.Table=Me,exports.TableBody=Pe,exports.TableCaption=Fe,exports.TableCell=qe,exports.TableFooter=Ae,exports.TableHead=Le,exports.TableHeader=_e,exports.TableRow=Oe,exports.Tabs=Dt,exports.TabsContent=Pt,exports.TabsList=Mt,exports.TabsTrigger=_t,exports.Textarea=Ca,exports.Toast=_r,exports.ToastAction=Pr,exports.ToastClose=Ar,exports.ToastDescription=Lr,exports.ToastProvider=zr,exports.ToastTitle=Or,exports.ToastViewport=Dr,exports.Toaster=function(){const{toasts:a}=function(){const[e,a]=E.useState(Hr);return E.useEffect(()=>(Er.push(a),()=>{const e=Er.indexOf(a);e>-1&&Er.splice(e,1)}),[e]),{...e,toast:$r,dismiss:e=>Vr({type:"DISMISS_TOAST",toastId:e})}}();return e.jsxs(zr,{children:[a.map(function({id:a,title:t,description:s,action:r,...o}){return e.jsxs(_r,{...o,children:[e.jsxs("div",{className:"grid gap-1",children:[t&&e.jsx(Or,{children:t}),s&&e.jsx(Lr,{children:s})]}),r,e.jsx(Ar,{})]},a)}),e.jsx(Dr,{})]})},exports.Toggle=et,exports.ToggleGroup=tt,exports.ToggleGroupItem=st,exports.Tooltip=sa,exports.TooltipContent=oa,exports.TooltipProvider=ta,exports.TooltipTrigger=ra,exports.badgeVariants=rt,exports.buttonVariants=Be,exports.navigationMenuTriggerStyle=$t,exports.toggleVariants=Za;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime"),a=require("react"),t=require("@radix-ui/react-accordion"),s=require("lucide-react"),r=require("clsx"),o=require("tailwind-merge"),i=require("@radix-ui/react-aspect-ratio"),n=require("@radix-ui/react-separator"),d=require("@radix-ui/react-scroll-area"),l=require("react-resizable-panels"),c=require("@radix-ui/react-slot"),m=require("class-variance-authority"),f=require("@radix-ui/react-dialog"),p=require("@radix-ui/react-tooltip"),u=require("@radix-ui/react-label"),x=require("@radix-ui/react-checkbox"),g=require("@radix-ui/react-radio-group"),b=require("@radix-ui/react-switch"),N=require("@radix-ui/react-slider"),h=require("input-otp"),v=require("@radix-ui/react-select"),y=require("react-hook-form"),w=require("@radix-ui/react-toggle-group"),j=require("@radix-ui/react-toggle"),C=require("@radix-ui/react-alert-dialog"),R=require("@radix-ui/react-avatar"),S=require("@radix-ui/react-progress"),k=require("react-day-picker"),T=require("@radix-ui/react-tabs"),I=require("@radix-ui/react-navigation-menu"),z=require("@radix-ui/react-menubar"),D=require("@radix-ui/react-dropdown-menu"),M=require("vaul"),_=require("@radix-ui/react-popover"),P=require("@radix-ui/react-hover-card"),A=require("@radix-ui/react-context-menu"),O=require("embla-carousel-react"),L=require("@radix-ui/react-collapsible"),q=require("cmdk"),F=require("@radix-ui/react-toast"),G=require("recharts");function B(e){const a=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e)for(const t in e)if("default"!==t){const s=Object.getOwnPropertyDescriptor(e,t);Object.defineProperty(a,t,s.get?s:{enumerable:!0,get:()=>e[t]})}return a.default=e,Object.freeze(a)}const E=B(a),H=B(t),V=B(i),$=B(n),K=B(d),U=B(l),X=B(f),W=B(p),J=B(u),Q=B(x),Y=B(g),Z=B(b),ee=B(N),ae=B(v),te=B(w),se=B(j),re=B(C),oe=B(R),ie=B(S),ne=B(T),de=B(I),le=B(z),ce=B(D),me=B(_),fe=B(P),pe=B(A),ue=B(L),xe=B(F),ge=B(G);function be(...e){return o.twMerge(r.clsx(e))}const Ne=H.Root,he=E.forwardRef(({className:a,...t},s)=>e.jsx(H.Item,{ref:s,className:be("border-b",a),...t}));he.displayName="AccordionItem";const ve=E.forwardRef(({className:a,children:t,...r},o)=>e.jsx(H.Header,{className:"flex",children:e.jsxs(H.Trigger,{ref:o,className:be("flex flex-1 items-center justify-between py-4 font-medium transition-all [&[data-state=open]>svg]:rotate-180",a),...r,children:[t,e.jsx(s.ChevronDown,{className:"h-4 w-4 shrink-0 transition-transform duration-200"})]})}));ve.displayName=H.Trigger.displayName;const ye=E.forwardRef(({className:a,children:t,...s},r)=>e.jsx(H.Content,{ref:r,className:"overflow-hidden text-sm transition-all data-[state=closed]:animate-accordion-up data-[state=open]:animate-accordion-down",...s,children:e.jsx("div",{className:be("pb-4 pt-0",a),children:t})}));ye.displayName=H.Content.displayName;const we=V.Root,je=E.forwardRef(({className:a,...t},s)=>e.jsx("div",{ref:s,className:be("rounded-lg border bg-card text-card-foreground shadow-sm",a),...t}));je.displayName="Card";const Ce=E.forwardRef(({className:a,...t},s)=>e.jsx("div",{ref:s,className:be("flex flex-col space-y-1.5 p-6",a),...t}));Ce.displayName="CardHeader";const Re=E.forwardRef(({className:a,...t},s)=>e.jsx("h3",{ref:s,className:be("text-2xl font-semibold leading-none tracking-tight",a),...t}));Re.displayName="CardTitle";const Se=E.forwardRef(({className:a,...t},s)=>e.jsx("p",{ref:s,className:be("text-sm text-muted-foreground",a),...t}));Se.displayName="CardDescription";const ke=E.forwardRef(({className:a,...t},s)=>e.jsx("div",{ref:s,className:be("p-6 pt-0",a),...t}));ke.displayName="CardContent";const Te=E.forwardRef(({className:a,...t},s)=>e.jsx("div",{ref:s,className:be("flex items-center p-6 pt-0",a),...t}));Te.displayName="CardFooter";const Ie=E.forwardRef(({className:a,orientation:t="horizontal",decorative:s=!0,...r},o)=>e.jsx($.Root,{ref:o,decorative:s,orientation:t,className:be("shrink-0 bg-border","horizontal"===t?"h-[1px] w-full":"h-full w-[1px]",a),...r}));Ie.displayName=$.Root.displayName;const ze=E.forwardRef(({className:a,children:t,...s},r)=>e.jsxs(K.Root,{ref:r,className:be("relative overflow-hidden",a),...s,children:[e.jsx(K.Viewport,{className:"h-full w-full rounded-[inherit]",children:t}),e.jsx(De,{}),e.jsx(K.Corner,{})]}));ze.displayName=K.Root.displayName;const De=E.forwardRef(({className:a,orientation:t="vertical",...s},r)=>e.jsx(K.ScrollAreaScrollbar,{ref:r,orientation:t,className:be("flex touch-none select-none transition-colors","vertical"===t&&"h-full w-2.5 border-l border-l-transparent p-[1px]","horizontal"===t&&"h-2.5 flex-col border-t border-t-transparent p-[1px]",a),...s,children:e.jsx(K.ScrollAreaThumb,{className:"relative flex-1 rounded-full bg-border"})}));De.displayName=K.ScrollAreaScrollbar.displayName;const Me=E.forwardRef(({className:a,...t},s)=>e.jsx("div",{className:"relative w-full overflow-auto",children:e.jsx("table",{ref:s,className:be("w-full caption-bottom text-sm",a),...t})}));Me.displayName="Table";const _e=E.forwardRef(({className:a,...t},s)=>e.jsx("thead",{ref:s,className:be("[&_tr]:border-b",a),...t}));_e.displayName="TableHeader";const Pe=E.forwardRef(({className:a,...t},s)=>e.jsx("tbody",{ref:s,className:be("[&_tr:last-child]:border-0",a),...t}));Pe.displayName="TableBody";const Ae=E.forwardRef(({className:a,...t},s)=>e.jsx("tfoot",{ref:s,className:be("border-t bg-muted/50 font-medium [&>tr]:last:border-b-0",a),...t}));Ae.displayName="TableFooter";const Oe=E.forwardRef(({className:a,...t},s)=>e.jsx("tr",{ref:s,className:be("border-b transition-colors hover:bg-muted/50 data-[state=selected]:bg-muted",a),...t}));Oe.displayName="TableRow";const Le=E.forwardRef(({className:a,...t},s)=>e.jsx("th",{ref:s,className:be("h-12 px-4 text-left align-middle font-medium text-muted-foreground [&:has([role=checkbox])]:pr-0",a),...t}));Le.displayName="TableHead";const qe=E.forwardRef(({className:a,...t},s)=>e.jsx("td",{ref:s,className:be("p-4 align-middle [&:has([role=checkbox])]:pr-0",a),...t}));qe.displayName="TableCell";const Fe=E.forwardRef(({className:a,...t},s)=>e.jsx("caption",{ref:s,className:be("mt-4 text-sm text-muted-foreground",a),...t}));Fe.displayName="TableCaption";const Ge=U.Panel;const Be=m.cva("inline-flex items-center justify-center gap-2 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 [&_svg]:pointer-events-none [&_svg]:size-4 [&_svg]:shrink-0",{variants:{variant:{default:"bg-primary text-primary-foreground hover:bg-primary/90",destructive:"bg-destructive text-destructive-foreground hover:bg-destructive/90",outline:"border border-input bg-background hover:bg-accent hover:text-accent-foreground",secondary:"bg-secondary text-secondary-foreground hover:bg-secondary/80",ghost:"hover:bg-accent hover:text-accent-foreground",link:"text-primary underline-offset-4 hover:underline"},size:{default:"h-10 px-4 py-2",sm:"h-9 rounded-md px-3",lg:"h-11 rounded-md px-8",icon:"h-10 w-10"}},defaultVariants:{variant:"default",size:"default"}}),Ee=E.forwardRef(({className:a,variant:t,size:s,asChild:r=!1,...o},i)=>{const n=r?c.Slot:"button";return e.jsx(n,{className:be(Be({variant:t,size:s,className:a})),ref:i,...o})});Ee.displayName="Button";const He=E.forwardRef(({className:a,type:t,...s},r)=>e.jsx("input",{type:t,className:be("flex h-10 w-full rounded-md border border-input bg-background px-3 py-2 text-base ring-offset-background 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-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50 md:text-sm",a),ref:r,...s}));He.displayName="Input";const Ve=X.Root,$e=X.Trigger,Ke=X.Close,Ue=X.Portal,Xe=E.forwardRef(({className:a,...t},s)=>e.jsx(X.Overlay,{className:be("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",a),...t,ref:s}));Xe.displayName=X.Overlay.displayName;const We=m.cva("fixed z-50 gap-4 bg-background p-6 shadow-lg transition ease-in-out data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:duration-300 data-[state=open]:duration-500",{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"}}),Je=E.forwardRef(({side:a="right",className:t,children:r,...o},i)=>e.jsxs(Ue,{children:[e.jsx(Xe,{}),e.jsxs(X.Content,{ref:i,className:be(We({side:a}),t),...o,children:[r,e.jsxs(X.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:[e.jsx(s.X,{className:"h-4 w-4"}),e.jsx("span",{className:"sr-only",children:"Close"})]})]})]}));Je.displayName=X.Content.displayName;const Qe=({className:a,...t})=>e.jsx("div",{className:be("flex flex-col space-y-2 text-center sm:text-left",a),...t});Qe.displayName="SheetHeader";const Ye=({className:a,...t})=>e.jsx("div",{className:be("flex flex-col-reverse sm:flex-row sm:justify-end sm:space-x-2",a),...t});Ye.displayName="SheetFooter";const Ze=E.forwardRef(({className:a,...t},s)=>e.jsx(X.Title,{ref:s,className:be("text-lg font-semibold text-foreground",a),...t}));Ze.displayName=X.Title.displayName;const ea=E.forwardRef(({className:a,...t},s)=>e.jsx(X.Description,{ref:s,className:be("text-sm text-muted-foreground",a),...t}));function aa({className:a,...t}){return e.jsx("div",{className:be("animate-pulse rounded-md bg-muted",a),...t})}ea.displayName=X.Description.displayName;const ta=W.Provider,sa=W.Root,ra=W.Trigger,oa=E.forwardRef(({className:a,sideOffset:t=4,...s},r)=>e.jsx(W.Content,{ref:r,sideOffset:t,className:be("z-50 overflow-hidden rounded-md border bg-popover px-3 py-1.5 text-sm text-popover-foreground shadow-md 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",a),...s}));oa.displayName=W.Content.displayName;const ia=E.createContext(null);function na(){const e=E.useContext(ia);if(!e)throw new Error("useSidebar must be used within a SidebarProvider.");return e}E.forwardRef(({defaultOpen:a=!0,open:t,onOpenChange:s,className:r,style:o,children:i,...n},d)=>{const l=function(){const[e,a]=E.useState(void 0);return E.useEffect(()=>{const e=window.matchMedia("(max-width: 767px)"),t=()=>{a(window.innerWidth<768)};return e.addEventListener("change",t),a(window.innerWidth<768),()=>e.removeEventListener("change",t)},[]),!!e}(),[c,m]=E.useState(!1),[f,p]=E.useState(a),u=t??f,x=E.useCallback(e=>{const a="function"==typeof e?e(u):e;s?s(a):p(a),document.cookie=`sidebar:state=${a}; path=/; max-age=604800`},[s,u]),g=E.useCallback(()=>l?m(e=>!e):x(e=>!e),[l,x,m]);E.useEffect(()=>{const e=e=>{"b"===e.key&&(e.metaKey||e.ctrlKey)&&(e.preventDefault(),g())};return window.addEventListener("keydown",e),()=>window.removeEventListener("keydown",e)},[g]);const b=u?"expanded":"collapsed",N=E.useMemo(()=>({state:b,open:u,setOpen:x,isMobile:l,openMobile:c,setOpenMobile:m,toggleSidebar:g}),[b,u,x,l,c,m,g]);return e.jsx(ia.Provider,{value:N,children:e.jsx(ta,{delayDuration:0,children:e.jsx("div",{style:{"--sidebar-width":"16rem","--sidebar-width-icon":"3rem",...o},className:be("group/sidebar-wrapper flex min-h-svh w-full has-[[data-variant=inset]]:bg-sidebar",r),ref:d,...n,children:i})})})}).displayName="SidebarProvider";const da=E.forwardRef(({side:a="left",variant:t="sidebar",collapsible:s="offcanvas",className:r,children:o,...i},n)=>{const{isMobile:d,state:l,openMobile:c,setOpenMobile:m}=na();return"none"===s?e.jsx("div",{className:be("flex h-full w-[--sidebar-width] flex-col bg-sidebar text-sidebar-foreground",r),ref:n,...i,children:o}):d?e.jsx(Ve,{open:c,onOpenChange:m,...i,children:e.jsx(Je,{"data-sidebar":"sidebar","data-mobile":"true",className:"w-[--sidebar-width] bg-sidebar p-0 text-sidebar-foreground [&>button]:hidden",style:{"--sidebar-width":"18rem"},side:a,children:e.jsx("div",{className:"flex h-full w-full flex-col",children:o})})}):e.jsxs("div",{ref:n,className:"group peer hidden md:block text-sidebar-foreground","data-state":l,"data-collapsible":"collapsed"===l?s:"","data-variant":t,"data-side":a,children:[e.jsx("div",{className:be("duration-200 relative h-svh w-[--sidebar-width] bg-transparent transition-[width] ease-linear","group-data-[collapsible=offcanvas]:w-0","group-data-[side=right]:rotate-180","floating"===t||"inset"===t?"group-data-[collapsible=icon]:w-[calc(var(--sidebar-width-icon)_+_theme(spacing.4))]":"group-data-[collapsible=icon]:w-[--sidebar-width-icon]")}),e.jsx("div",{className:be("duration-200 fixed inset-y-0 z-10 hidden h-svh w-[--sidebar-width] transition-[left,right,width] ease-linear md:flex","left"===a?"left-0 group-data-[collapsible=offcanvas]:left-[calc(var(--sidebar-width)*-1)]":"right-0 group-data-[collapsible=offcanvas]:right-[calc(var(--sidebar-width)*-1)]","floating"===t||"inset"===t?"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),...i,children:e.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:o})})]})});da.displayName="Sidebar";E.forwardRef(({className:a,onClick:t,...r},o)=>{const{toggleSidebar:i}=na();return e.jsxs(Ee,{ref:o,"data-sidebar":"trigger",variant:"ghost",size:"icon",className:be("h-7 w-7",a),onClick:e=>{null==t||t(e),i()},...r,children:[e.jsx(s.PanelLeft,{}),e.jsx("span",{className:"sr-only",children:"Toggle Sidebar"})]})}).displayName="SidebarTrigger";E.forwardRef(({className:a,...t},s)=>{const{toggleSidebar:r}=na();return e.jsx("button",{ref:s,"data-sidebar":"rail","aria-label":"Toggle Sidebar",tabIndex:-1,onClick:r,title:"Toggle Sidebar",className:be("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",a),...t})}).displayName="SidebarRail";E.forwardRef(({className:a,...t},s)=>e.jsx("main",{ref:s,className:be("relative flex min-h-svh flex-1 flex-col bg-background","peer-data-[variant=inset]:min-h-[calc(100svh-theme(spacing.4))] 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",a),...t})).displayName="SidebarInset";E.forwardRef(({className:a,...t},s)=>e.jsx(He,{ref:s,"data-sidebar":"input",className:be("h-8 w-full bg-background shadow-none focus-visible:ring-2 focus-visible:ring-sidebar-ring",a),...t})).displayName="SidebarInput";const la=E.forwardRef(({className:a,...t},s)=>e.jsx("div",{ref:s,"data-sidebar":"header",className:be("flex flex-col gap-2 p-2",a),...t}));la.displayName="SidebarHeader";const ca=E.forwardRef(({className:a,...t},s)=>e.jsx("div",{ref:s,"data-sidebar":"footer",className:be("flex flex-col gap-2 p-2",a),...t}));ca.displayName="SidebarFooter";E.forwardRef(({className:a,...t},s)=>e.jsx(Ie,{ref:s,"data-sidebar":"separator",className:be("mx-2 w-auto bg-sidebar-border",a),...t})).displayName="SidebarSeparator";const ma=E.forwardRef(({className:a,...t},s)=>e.jsx("div",{ref:s,"data-sidebar":"content",className:be("flex min-h-0 flex-1 flex-col gap-2 overflow-auto group-data-[collapsible=icon]:overflow-hidden",a),...t}));ma.displayName="SidebarContent";const fa=E.forwardRef(({className:a,...t},s)=>e.jsx("div",{ref:s,"data-sidebar":"group",className:be("relative flex w-full min-w-0 flex-col p-2",a),...t}));fa.displayName="SidebarGroup";const pa=E.forwardRef(({className:a,asChild:t=!1,...s},r)=>{const o=t?c.Slot:"div";return e.jsx(o,{ref:r,"data-sidebar":"group-label",className:be("duration-200 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,opa] ease-linear focus-visible:ring-2 [&>svg]:size-4 [&>svg]:shrink-0","group-data-[collapsible=icon]:-mt-8 group-data-[collapsible=icon]:opacity-0",a),...s})});pa.displayName="SidebarGroupLabel";E.forwardRef(({className:a,asChild:t=!1,...s},r)=>{const o=t?c.Slot:"button";return e.jsx(o,{ref:r,"data-sidebar":"group-action",className:be("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",a),...s})}).displayName="SidebarGroupAction";const ua=E.forwardRef(({className:a,...t},s)=>e.jsx("div",{ref:s,"data-sidebar":"group-content",className:be("w-full text-sm",a),...t}));ua.displayName="SidebarGroupContent";const xa=E.forwardRef(({className:a,...t},s)=>e.jsx("ul",{ref:s,"data-sidebar":"menu",className:be("flex w-full min-w-0 flex-col gap-1",a),...t}));xa.displayName="SidebarMenu";const ga=E.forwardRef(({className:a,...t},s)=>e.jsx("li",{ref:s,"data-sidebar":"menu-item",className:be("group/menu-item relative",a),...t}));ga.displayName="SidebarMenuItem";const ba=m.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"}}),Na=E.forwardRef(({asChild:a=!1,isActive:t=!1,variant:s="default",size:r="default",tooltip:o,className:i,...n},d)=>{const l=a?c.Slot:"button",{isMobile:m,state:f}=na(),p=e.jsx(l,{ref:d,"data-sidebar":"menu-button","data-size":r,"data-active":t,className:be(ba({variant:s,size:r}),i),...n});return o?("string"==typeof o&&(o={children:o}),e.jsxs(sa,{children:[e.jsx(ra,{asChild:!0,children:p}),e.jsx(oa,{side:"right",align:"center",hidden:"collapsed"!==f||m,...o})]})):p});Na.displayName="SidebarMenuButton";E.forwardRef(({className:a,asChild:t=!1,showOnHover:s=!1,...r},o)=>{const i=t?c.Slot:"button";return e.jsx(i,{ref:o,"data-sidebar":"menu-action",className:be("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",s&&"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",a),...r})}).displayName="SidebarMenuAction";E.forwardRef(({className:a,...t},s)=>e.jsx("div",{ref:s,"data-sidebar":"menu-badge",className:be("absolute right-1 flex h-5 min-w-5 items-center justify-center rounded-md px-1 text-xs font-medium tabular-nums text-sidebar-foreground select-none pointer-events-none","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",a),...t})).displayName="SidebarMenuBadge";E.forwardRef(({className:a,showIcon:t=!1,...s},r)=>{const o=E.useMemo(()=>`${Math.floor(40*Math.random())+50}%`,[]);return e.jsxs("div",{ref:r,"data-sidebar":"menu-skeleton",className:be("rounded-md h-8 flex gap-2 px-2 items-center",a),...s,children:[t&&e.jsx(aa,{className:"size-4 rounded-md","data-sidebar":"menu-skeleton-icon"}),e.jsx(aa,{className:"h-4 flex-1 max-w-[--skeleton-width]","data-sidebar":"menu-skeleton-text",style:{"--skeleton-width":o}})]})}).displayName="SidebarMenuSkeleton";const ha=E.forwardRef(({className:a,...t},s)=>e.jsx("ul",{ref:s,"data-sidebar":"menu-sub",className:be("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",a),...t}));ha.displayName="SidebarMenuSub";const va=E.forwardRef(({...a},t)=>e.jsx("li",{ref:t,...a}));va.displayName="SidebarMenuSubItem";const ya=E.forwardRef(({asChild:a=!1,size:t="md",isActive:s,className:r,...o},i)=>{const n=a?c.Slot:"a";return e.jsx(n,{ref:i,"data-sidebar":"menu-sub-button","data-size":t,"data-active":s,className:be("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","sm"===t&&"text-xs","md"===t&&"text-sm","group-data-[collapsible=icon]:hidden",r),...o})});ya.displayName="SidebarMenuSubButton";const wa=m.cva("text-sm font-medium leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70"),ja=E.forwardRef(({className:a,...t},s)=>e.jsx(J.Root,{ref:s,className:be(wa(),a),...t}));ja.displayName=J.Root.displayName;const Ca=E.forwardRef(({className:a,...t},s)=>e.jsx("textarea",{className:be("flex min-h-[80px] w-full rounded-md border border-input bg-background px-3 py-2 text-sm ring-offset-background placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50",a),ref:s,...t}));Ca.displayName="Textarea";const Ra=E.forwardRef(({className:a,...t},r)=>e.jsx(Q.Root,{ref:r,className:be("peer h-4 w-4 shrink-0 rounded-sm border border-primary ring-offset-background focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50 data-[state=checked]:bg-primary data-[state=checked]:text-primary-foreground",a),...t,children:e.jsx(Q.Indicator,{className:be("flex items-center justify-center text-current"),children:e.jsx(s.Check,{className:"h-4 w-4"})})}));Ra.displayName=Q.Root.displayName;const Sa=E.forwardRef(({className:a,...t},s)=>e.jsx(Y.Root,{className:be("grid gap-2",a),...t,ref:s}));Sa.displayName=Y.Root.displayName;const ka=E.forwardRef(({className:a,...t},r)=>e.jsx(Y.Item,{ref:r,className:be("aspect-square h-4 w-4 rounded-full border border-primary text-primary ring-offset-background focus:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50",a),...t,children:e.jsx(Y.Indicator,{className:"flex items-center justify-center",children:e.jsx(s.Circle,{className:"h-2.5 w-2.5 fill-current text-current"})})}));ka.displayName=Y.Item.displayName;const Ta=E.forwardRef(({className:a,...t},s)=>e.jsx(Z.Root,{className:be("peer inline-flex h-6 w-11 shrink-0 cursor-pointer items-center rounded-full border-2 border-transparent transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 focus-visible:ring-offset-background disabled:cursor-not-allowed disabled:opacity-50 data-[state=checked]:bg-primary data-[state=unchecked]:bg-input",a),...t,ref:s,children:e.jsx(Z.Thumb,{className:be("pointer-events-none block h-5 w-5 rounded-full bg-background shadow-lg ring-0 transition-transform data-[state=checked]:translate-x-5 data-[state=unchecked]:translate-x-0")})}));Ta.displayName=Z.Root.displayName;const Ia=E.forwardRef(({className:a,...t},s)=>e.jsxs(ee.Root,{ref:s,className:be("relative flex w-full touch-none select-none items-center",a),...t,children:[e.jsx(ee.Track,{className:"relative h-2 w-full grow overflow-hidden rounded-full bg-secondary",children:e.jsx(ee.Range,{className:"absolute h-full bg-primary"})}),e.jsx(ee.Thumb,{className:"block h-5 w-5 rounded-full border-2 border-primary bg-background 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"})]}));Ia.displayName=ee.Root.displayName;const za=E.forwardRef(({className:a,containerClassName:t,...s},r)=>e.jsx(h.OTPInput,{ref:r,containerClassName:be("flex items-center gap-2 has-[:disabled]:opacity-50",t),className:be("disabled:cursor-not-allowed",a),...s}));za.displayName="InputOTP";const Da=E.forwardRef(({className:a,...t},s)=>e.jsx("div",{ref:s,className:be("flex items-center",a),...t}));Da.displayName="InputOTPGroup";const Ma=E.forwardRef(({index:a,className:t,...s},r)=>{const o=E.useContext(h.OTPInputContext),{char:i,hasFakeCaret:n,isActive:d}=o.slots[a];return e.jsxs("div",{ref:r,className:be("relative flex h-10 w-10 items-center justify-center border-y border-r border-input text-sm transition-all first:rounded-l-md first:border-l last:rounded-r-md",d&&"z-10 ring-2 ring-ring ring-offset-background",t),...s,children:[i,n&&e.jsx("div",{className:"pointer-events-none absolute inset-0 flex items-center justify-center",children:e.jsx("div",{className:"h-4 w-px animate-caret-blink bg-foreground duration-1000"})})]})});Ma.displayName="InputOTPSlot";const _a=E.forwardRef(({...a},t)=>e.jsx("div",{ref:t,role:"separator",...a,children:e.jsx(s.Dot,{})}));_a.displayName="InputOTPSeparator";const Pa=ae.Root,Aa=ae.Group,Oa=ae.Value,La=E.forwardRef(({className:a,children:t,...r},o)=>e.jsxs(ae.Trigger,{ref:o,className:be("flex h-10 w-full items-center justify-between rounded-md border border-input bg-background px-3 py-2 text-sm ring-offset-background placeholder:text-muted-foreground focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50 [&>span]:line-clamp-1",a),...r,children:[t,e.jsx(ae.Icon,{asChild:!0,children:e.jsx(s.ChevronDown,{className:"h-4 w-4 opacity-50"})})]}));La.displayName=ae.Trigger.displayName;const qa=E.forwardRef(({className:a,...t},r)=>e.jsx(ae.ScrollUpButton,{ref:r,className:be("flex cursor-default items-center justify-center py-1",a),...t,children:e.jsx(s.ChevronUp,{className:"h-4 w-4"})}));qa.displayName=ae.ScrollUpButton.displayName;const Fa=E.forwardRef(({className:a,...t},r)=>e.jsx(ae.ScrollDownButton,{ref:r,className:be("flex cursor-default items-center justify-center py-1",a),...t,children:e.jsx(s.ChevronDown,{className:"h-4 w-4"})}));Fa.displayName=ae.ScrollDownButton.displayName;const Ga=E.forwardRef(({className:a,children:t,position:s="popper",...r},o)=>e.jsx(ae.Portal,{children:e.jsxs(ae.Content,{ref:o,className:be("relative z-50 max-h-96 min-w-[8rem] overflow-hidden rounded-md border bg-popover 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","popper"===s&&"data-[side=bottom]:translate-y-1 data-[side=left]:-translate-x-1 data-[side=right]:translate-x-1 data-[side=top]:-translate-y-1",a),position:s,...r,children:[e.jsx(qa,{}),e.jsx(ae.Viewport,{className:be("p-1","popper"===s&&"h-[var(--radix-select-trigger-height)] w-full min-w-[var(--radix-select-trigger-width)]"),children:t}),e.jsx(Fa,{})]})}));Ga.displayName=ae.Content.displayName;const Ba=E.forwardRef(({className:a,...t},s)=>e.jsx(ae.Label,{ref:s,className:be("py-1.5 pl-8 pr-2 text-sm font-semibold",a),...t}));Ba.displayName=ae.Label.displayName;const Ea=E.forwardRef(({className:a,children:t,...r},o)=>e.jsxs(ae.Item,{ref:o,className:be("relative flex w-full cursor-default select-none items-center rounded-sm py-1.5 pl-8 pr-2 text-sm outline-none focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",a),...r,children:[e.jsx("span",{className:"absolute left-2 flex h-3.5 w-3.5 items-center justify-center",children:e.jsx(ae.ItemIndicator,{children:e.jsx(s.Check,{className:"h-4 w-4"})})}),e.jsx(ae.ItemText,{children:t})]}));Ea.displayName=ae.Item.displayName;const Ha=E.forwardRef(({className:a,...t},s)=>e.jsx(ae.Separator,{ref:s,className:be("-mx-1 my-1 h-px bg-muted",a),...t}));Ha.displayName=ae.Separator.displayName;const Va=y.FormProvider,$a=E.createContext({}),Ka=()=>{const e=E.useContext($a),a=E.useContext(Ua),{getFieldState:t,formState:s}=y.useFormContext(),r=t(e.name,s);if(!e)throw new Error("useFormField should be used within <FormField>");const{id:o}=a;return{id:o,name:e.name,formItemId:`${o}-form-item`,formDescriptionId:`${o}-form-item-description`,formMessageId:`${o}-form-item-message`,...r}},Ua=E.createContext({}),Xa=E.forwardRef(({className:a,...t},s)=>{const r=E.useId();return e.jsx(Ua.Provider,{value:{id:r},children:e.jsx("div",{ref:s,className:be("space-y-2",a),...t})})});Xa.displayName="FormItem";const Wa=E.forwardRef(({className:a,...t},s)=>{const{error:r,formItemId:o}=Ka();return e.jsx(ja,{ref:s,className:be(r&&"text-destructive",a),htmlFor:o,...t})});Wa.displayName="FormLabel";const Ja=E.forwardRef(({...a},t)=>{const{error:s,formItemId:r,formDescriptionId:o,formMessageId:i}=Ka();return e.jsx(c.Slot,{ref:t,id:r,"aria-describedby":s?`${o} ${i}`:`${o}`,"aria-invalid":!!s,...a})});Ja.displayName="FormControl";const Qa=E.forwardRef(({className:a,...t},s)=>{const{formDescriptionId:r}=Ka();return e.jsx("p",{ref:s,id:r,className:be("text-sm text-muted-foreground",a),...t})});Qa.displayName="FormDescription";const Ya=E.forwardRef(({className:a,children:t,...s},r)=>{const{error:o,formMessageId:i}=Ka(),n=o?String(null==o?void 0:o.message):t;return n?e.jsx("p",{ref:r,id:i,className:be("text-sm font-medium text-destructive",a),...s,children:n}):null});Ya.displayName="FormMessage";const Za=m.cva("inline-flex items-center justify-center rounded-md text-sm font-medium ring-offset-background transition-colors hover:bg-muted hover:text-muted-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50 data-[state=on]:bg-accent data-[state=on]:text-accent-foreground",{variants:{variant:{default:"bg-transparent",outline:"border border-input bg-transparent hover:bg-accent hover:text-accent-foreground"},size:{default:"h-10 px-3",sm:"h-9 px-2.5",lg:"h-11 px-5"}},defaultVariants:{variant:"default",size:"default"}}),et=E.forwardRef(({className:a,variant:t,size:s,...r},o)=>e.jsx(se.Root,{ref:o,className:be(Za({variant:t,size:s,className:a})),...r}));et.displayName=se.Root.displayName;const at=E.createContext({size:"default",variant:"default"}),tt=E.forwardRef(({className:a,variant:t,size:s,children:r,...o},i)=>e.jsx(te.Root,{ref:i,className:be("flex items-center justify-center gap-1",a),...o,children:e.jsx(at.Provider,{value:{variant:t,size:s},children:r})}));tt.displayName=te.Root.displayName;const st=E.forwardRef(({className:a,children:t,variant:s,size:r,...o},i)=>{const n=E.useContext(at);return e.jsx(te.Item,{ref:i,className:be(Za({variant:n.variant||s,size:n.size||r}),a),...o,children:t})});st.displayName=te.Item.displayName;const rt=m.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"}},defaultVariants:{variant:"default"}});const ot=m.cva("relative w-full rounded-lg border p-4 [&>svg~*]:pl-7 [&>svg+div]:translate-y-[-3px] [&>svg]:absolute [&>svg]:left-4 [&>svg]:top-4 [&>svg]:text-foreground",{variants:{variant:{default:"bg-background text-foreground",destructive:"border-destructive/50 text-destructive dark:border-destructive [&>svg]:text-destructive"}},defaultVariants:{variant:"default"}}),it=E.forwardRef(({className:a,variant:t,...s},r)=>e.jsx("div",{ref:r,role:"alert",className:be(ot({variant:t}),a),...s}));it.displayName="Alert";const nt=E.forwardRef(({className:a,...t},s)=>e.jsx("h5",{ref:s,className:be("mb-1 font-medium leading-none tracking-tight",a),...t}));nt.displayName="AlertTitle";const dt=E.forwardRef(({className:a,...t},s)=>e.jsx("div",{ref:s,className:be("text-sm [&_p]:leading-relaxed",a),...t}));dt.displayName="AlertDescription";const lt=re.Root,ct=re.Trigger,mt=re.Portal,ft=E.forwardRef(({className:a,...t},s)=>e.jsx(re.Overlay,{className:be("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",a),...t,ref:s}));ft.displayName=re.Overlay.displayName;const pt=E.forwardRef(({className:a,...t},s)=>e.jsxs(mt,{children:[e.jsx(ft,{}),e.jsx(re.Content,{ref:s,className:be("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",a),...t})]}));pt.displayName=re.Content.displayName;const ut=({className:a,...t})=>e.jsx("div",{className:be("flex flex-col space-y-2 text-center sm:text-left",a),...t});ut.displayName="AlertDialogHeader";const xt=({className:a,...t})=>e.jsx("div",{className:be("flex flex-col-reverse sm:flex-row sm:justify-end sm:space-x-2",a),...t});xt.displayName="AlertDialogFooter";const gt=E.forwardRef(({className:a,...t},s)=>e.jsx(re.Title,{ref:s,className:be("text-lg font-semibold",a),...t}));gt.displayName=re.Title.displayName;const bt=E.forwardRef(({className:a,...t},s)=>e.jsx(re.Description,{ref:s,className:be("text-sm text-muted-foreground",a),...t}));bt.displayName=re.Description.displayName;const Nt=E.forwardRef(({className:a,...t},s)=>e.jsx(re.Action,{ref:s,className:be(Be(),a),...t}));Nt.displayName=re.Action.displayName;const ht=E.forwardRef(({className:a,...t},s)=>e.jsx(re.Cancel,{ref:s,className:be(Be({variant:"outline"}),"mt-2 sm:mt-0",a),...t}));ht.displayName=re.Cancel.displayName;const vt=E.forwardRef(({className:a,...t},s)=>e.jsx(oe.Root,{ref:s,className:be("relative flex h-10 w-10 shrink-0 overflow-hidden rounded-full",a),...t}));vt.displayName=oe.Root.displayName;const yt=E.forwardRef(({className:a,...t},s)=>e.jsx(oe.Image,{ref:s,className:be("aspect-square h-full w-full",a),...t}));yt.displayName=oe.Image.displayName;const wt=E.forwardRef(({className:a,...t},s)=>e.jsx(oe.Fallback,{ref:s,className:be("flex h-full w-full items-center justify-center rounded-full bg-muted",a),...t}));wt.displayName=oe.Fallback.displayName;const jt=E.forwardRef(({...a},t)=>e.jsx("nav",{ref:t,"aria-label":"breadcrumb",...a}));jt.displayName="Breadcrumb";const Ct=E.forwardRef(({className:a,...t},s)=>e.jsx("ol",{ref:s,className:be("flex flex-wrap items-center gap-1.5 break-words text-sm text-muted-foreground sm:gap-2.5",a),...t}));Ct.displayName="BreadcrumbList";const Rt=E.forwardRef(({className:a,...t},s)=>e.jsx("li",{ref:s,className:be("inline-flex items-center gap-1.5",a),...t}));Rt.displayName="BreadcrumbItem";const St=E.forwardRef(({asChild:a,className:t,...s},r)=>{const o=a?c.Slot:"a";return e.jsx(o,{ref:r,className:be("transition-colors hover:text-foreground",t),...s})});St.displayName="BreadcrumbLink";const kt=E.forwardRef(({className:a,...t},s)=>e.jsx("span",{ref:s,role:"link","aria-disabled":"true","aria-current":"page",className:be("font-normal text-foreground",a),...t}));kt.displayName="BreadcrumbPage";const Tt=({children:a,className:t,...r})=>e.jsx("li",{role:"presentation","aria-hidden":"true",className:be("[&>svg]:size-3.5",t),...r,children:a??e.jsx(s.ChevronRight,{})});Tt.displayName="BreadcrumbSeparator";const It=E.forwardRef(({className:a,value:t,...s},r)=>e.jsx(ie.Root,{ref:r,className:be("relative h-4 w-full overflow-hidden rounded-full bg-secondary",a),...s,children:e.jsx(ie.Indicator,{className:"h-full w-full flex-1 bg-primary transition-all",style:{transform:`translateX(-${100-(t||0)}%)`}})}));function zt({className:a,classNames:t,showOutsideDays:r=!0,...o}){return e.jsx(k.DayPicker,{showOutsideDays:r,className:be("p-3",a),classNames:{months:"flex flex-col sm:flex-row space-y-4 sm:space-x-4 sm:space-y-0",month:"space-y-4",caption:"flex justify-center pt-1 relative items-center",caption_label:"text-sm font-medium",nav:"space-x-1 flex items-center",nav_button:be(Be({variant:"outline"}),"h-7 w-7 bg-transparent p-0 opacity-50 hover:opacity-100"),nav_button_previous:"absolute left-1",nav_button_next:"absolute right-1",table:"w-full border-collapse space-y-1",head_row:"flex",head_cell:"text-muted-foreground rounded-md w-9 font-normal text-[0.8rem]",row:"flex w-full mt-2",cell:"h-9 w-9 text-center text-sm p-0 relative [&:has([aria-selected].day-range-end)]:rounded-r-md [&:has([aria-selected].day-outside)]:bg-accent/50 [&:has([aria-selected])]:bg-accent first:[&:has([aria-selected])]:rounded-l-md last:[&:has([aria-selected])]:rounded-r-md focus-within:relative focus-within:z-20",day:be(Be({variant:"ghost"}),"h-9 w-9 p-0 font-normal aria-selected:opacity-100"),day_range_end:"day-range-end",day_selected:"bg-primary text-primary-foreground hover:bg-primary hover:text-primary-foreground focus:bg-primary focus:text-primary-foreground",day_today:"bg-accent text-accent-foreground",day_outside:"day-outside text-muted-foreground opacity-50 aria-selected:bg-accent/50 aria-selected:text-muted-foreground aria-selected:opacity-30",day_disabled:"text-muted-foreground opacity-50",day_range_middle:"aria-selected:bg-accent aria-selected:text-accent-foreground",day_hidden:"invisible",...t},components:{Chevron:a=>"left"===a.orientation?e.jsx(s.ChevronLeft,{className:"h-4 w-4"}):e.jsx(s.ChevronRight,{className:"h-4 w-4"})},...o})}It.displayName=ie.Root.displayName,zt.displayName="Calendar";const Dt=ne.Root,Mt=E.forwardRef(({className:a,...t},s)=>e.jsx(ne.List,{ref:s,className:be("inline-flex h-10 items-center justify-center rounded-md bg-muted p-1 text-muted-foreground",a),...t}));Mt.displayName=ne.List.displayName;const _t=E.forwardRef(({className:a,...t},s)=>e.jsx(ne.Trigger,{ref:s,className:be("inline-flex items-center justify-center whitespace-nowrap rounded-sm px-3 py-1.5 text-sm font-medium ring-offset-background transition-all focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50 data-[state=active]:bg-background data-[state=active]:text-foreground data-[state=active]:shadow-sm",a),...t}));_t.displayName=ne.Trigger.displayName;const Pt=E.forwardRef(({className:a,...t},s)=>e.jsx(ne.Content,{ref:s,className:be("mt-2 ring-offset-background focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2",a),...t}));Pt.displayName=ne.Content.displayName;const At=({className:a,...t})=>e.jsx("nav",{role:"navigation","aria-label":"pagination",className:be("mx-auto flex w-full justify-center",a),...t});At.displayName="Pagination";const Ot=E.forwardRef(({className:a,...t},s)=>e.jsx("ul",{ref:s,className:be("flex flex-row items-center gap-1",a),...t}));Ot.displayName="PaginationContent";const Lt=E.forwardRef(({className:a,...t},s)=>e.jsx("li",{ref:s,className:be("",a),...t}));Lt.displayName="PaginationItem";const qt=({className:a,isActive:t,size:s="icon",...r})=>e.jsx("a",{"aria-current":t?"page":void 0,className:be(Be({variant:t?"outline":"ghost",size:s}),a),...r});qt.displayName="PaginationLink";const Ft=({className:a,...t})=>e.jsxs(qt,{"aria-label":"Go to previous page",size:"default",className:be("gap-1 pl-2.5",a),...t,children:[e.jsx(s.ChevronLeft,{className:"h-4 w-4"}),e.jsx("span",{children:"Previous"})]});Ft.displayName="PaginationPrevious";const Gt=({className:a,...t})=>e.jsxs(qt,{"aria-label":"Go to next page",size:"default",className:be("gap-1 pr-2.5",a),...t,children:[e.jsx("span",{children:"Next"}),e.jsx(s.ChevronRight,{className:"h-4 w-4"})]});Gt.displayName="PaginationNext";const Bt=({className:a,...t})=>e.jsxs("span",{"aria-hidden":!0,className:be("flex h-9 w-9 items-center justify-center",a),...t,children:[e.jsx(s.MoreHorizontal,{className:"h-4 w-4"}),e.jsx("span",{className:"sr-only",children:"More pages"})]});Bt.displayName="PaginationEllipsis";const Et=E.forwardRef(({className:a,children:t,...s},r)=>e.jsxs(de.Root,{ref:r,className:be("relative z-10 flex max-w-max flex-1 items-center justify-center",a),...s,children:[t,e.jsx(Wt,{})]}));Et.displayName=de.Root.displayName;const Ht=E.forwardRef(({className:a,...t},s)=>e.jsx(de.List,{ref:s,className:be("group flex flex-1 list-none items-center justify-center space-x-1",a),...t}));Ht.displayName=de.List.displayName;const Vt=de.Item,$t=m.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"),Kt=E.forwardRef(({className:a,children:t,...r},o)=>e.jsxs(de.Trigger,{ref:o,className:be($t(),"group",a),...r,children:[t," ",e.jsx(s.ChevronDown,{className:"relative top-[1px] ml-1 h-3 w-3 transition duration-200 group-data-[state=open]:rotate-180","aria-hidden":"true"})]}));Kt.displayName=de.Trigger.displayName;const Ut=E.forwardRef(({className:a,...t},s)=>e.jsx(de.Content,{ref:s,className:be("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 ",a),...t}));Ut.displayName=de.Content.displayName;const Xt=de.Link,Wt=E.forwardRef(({className:a,...t},s)=>e.jsx("div",{className:be("absolute left-0 top-full flex justify-center"),children:e.jsx(de.Viewport,{className:be("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)]",a),ref:s,...t})}));Wt.displayName=de.Viewport.displayName;E.forwardRef(({className:a,...t},s)=>e.jsx(de.Indicator,{ref:s,className:be("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",a),...t,children:e.jsx("div",{className:"relative top-[60%] h-2 w-2 rotate-45 rounded-tl-sm bg-border shadow-md"})})).displayName=de.Indicator.displayName;const Jt=le.Menu,Qt=le.Sub,Yt=le.RadioGroup,Zt=E.forwardRef(({className:a,...t},s)=>e.jsx(le.Root,{ref:s,className:be("flex h-10 items-center space-x-1 rounded-md border bg-background p-1",a),...t}));Zt.displayName=le.Root.displayName;const es=E.forwardRef(({className:a,...t},s)=>e.jsx(le.Trigger,{ref:s,className:be("flex cursor-default select-none items-center rounded-sm px-3 py-1.5 text-sm font-medium outline-none focus:bg-accent focus:text-accent-foreground data-[state=open]:bg-accent data-[state=open]:text-accent-foreground",a),...t}));es.displayName=le.Trigger.displayName;const as=E.forwardRef(({className:a,inset:t,children:r,...o},i)=>e.jsxs(le.SubTrigger,{ref:i,className:be("flex cursor-default select-none items-center rounded-sm px-2 py-1.5 text-sm outline-none focus:bg-accent focus:text-accent-foreground data-[state=open]:bg-accent data-[state=open]:text-accent-foreground",t&&"pl-8",a),...o,children:[r,e.jsx(s.ChevronRight,{className:"ml-auto h-4 w-4"})]}));as.displayName=le.SubTrigger.displayName;const ts=E.forwardRef(({className:a,...t},s)=>e.jsx(le.SubContent,{ref:s,className:be("z-50 min-w-[8rem] overflow-hidden rounded-md border bg-popover p-1 text-popover-foreground 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",a),...t}));ts.displayName=le.SubContent.displayName;const ss=E.forwardRef(({className:a,align:t="start",alignOffset:s=-4,sideOffset:r=8,...o},i)=>e.jsx(le.Portal,{children:e.jsx(le.Content,{ref:i,align:t,alignOffset:s,sideOffset:r,className:be("z-50 min-w-[12rem] overflow-hidden rounded-md border bg-popover p-1 text-popover-foreground shadow-md data-[state=open]:animate-in 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",a),...o})}));ss.displayName=le.Content.displayName;const rs=E.forwardRef(({className:a,inset:t,...s},r)=>e.jsx(le.Item,{ref:r,className:be("relative flex cursor-default select-none items-center rounded-sm px-2 py-1.5 text-sm outline-none focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",t&&"pl-8",a),...s}));rs.displayName=le.Item.displayName;const os=E.forwardRef(({className:a,children:t,checked:r,...o},i)=>e.jsxs(le.CheckboxItem,{ref:i,className:be("relative flex cursor-default select-none items-center rounded-sm py-1.5 pl-8 pr-2 text-sm outline-none focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",a),checked:r,...o,children:[e.jsx("span",{className:"absolute left-2 flex h-3.5 w-3.5 items-center justify-center",children:e.jsx(le.ItemIndicator,{children:e.jsx(s.Check,{className:"h-4 w-4"})})}),t]}));os.displayName=le.CheckboxItem.displayName;const is=E.forwardRef(({className:a,children:t,...r},o)=>e.jsxs(le.RadioItem,{ref:o,className:be("relative flex cursor-default select-none items-center rounded-sm py-1.5 pl-8 pr-2 text-sm outline-none focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",a),...r,children:[e.jsx("span",{className:"absolute left-2 flex h-3.5 w-3.5 items-center justify-center",children:e.jsx(le.ItemIndicator,{children:e.jsx(s.Circle,{className:"h-2 w-2 fill-current"})})}),t]}));is.displayName=le.RadioItem.displayName;const ns=E.forwardRef(({className:a,inset:t,...s},r)=>e.jsx(le.Label,{ref:r,className:be("px-2 py-1.5 text-sm font-semibold",t&&"pl-8",a),...s}));ns.displayName=le.Label.displayName;const ds=E.forwardRef(({className:a,...t},s)=>e.jsx(le.Separator,{ref:s,className:be("-mx-1 my-1 h-px bg-muted",a),...t}));ds.displayName=le.Separator.displayName;const ls=({className:a,...t})=>e.jsx("span",{className:be("ml-auto text-xs tracking-widest text-muted-foreground",a),...t});ls.displayname="MenubarShortcut";const cs=ce.Root,ms=ce.Trigger,fs=ce.Group,ps=ce.Portal,us=ce.Sub,xs=ce.RadioGroup,gs=E.forwardRef(({className:a,inset:t,children:r,...o},i)=>e.jsxs(ce.SubTrigger,{ref:i,className:be("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",t&&"pl-8",a),...o,children:[r,e.jsx(s.ChevronRight,{className:"ml-auto h-4 w-4"})]}));gs.displayName=ce.SubTrigger.displayName;const bs=E.forwardRef(({className:a,...t},s)=>e.jsx(ce.SubContent,{ref:s,className:be("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",a),...t}));bs.displayName=ce.SubContent.displayName;const Ns=E.forwardRef(({className:a,sideOffset:t=4,...s},r)=>e.jsx(ce.Portal,{children:e.jsx(ce.Content,{ref:r,sideOffset:t,className:be("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",a),...s})}));Ns.displayName=ce.Content.displayName;const hs=E.forwardRef(({className:a,inset:t,...s},r)=>e.jsx(ce.Item,{ref:r,className:be("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",t&&"pl-8",a),...s}));hs.displayName=ce.Item.displayName;const vs=E.forwardRef(({className:a,children:t,checked:r,...o},i)=>e.jsxs(ce.CheckboxItem,{ref:i,className:be("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",a),checked:r,...o,children:[e.jsx("span",{className:"absolute left-2 flex h-3.5 w-3.5 items-center justify-center",children:e.jsx(ce.ItemIndicator,{children:e.jsx(s.Check,{className:"h-4 w-4"})})}),t]}));vs.displayName=ce.CheckboxItem.displayName;const ys=E.forwardRef(({className:a,children:t,...r},o)=>e.jsxs(ce.RadioItem,{ref:o,className:be("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",a),...r,children:[e.jsx("span",{className:"absolute left-2 flex h-3.5 w-3.5 items-center justify-center",children:e.jsx(ce.ItemIndicator,{children:e.jsx(s.Circle,{className:"h-2 w-2 fill-current"})})}),t]}));ys.displayName=ce.RadioItem.displayName;const ws=E.forwardRef(({className:a,inset:t,...s},r)=>e.jsx(ce.Label,{ref:r,className:be("px-2 py-1.5 text-sm font-semibold",t&&"pl-8",a),...s}));ws.displayName=ce.Label.displayName;const js=E.forwardRef(({className:a,...t},s)=>e.jsx(ce.Separator,{ref:s,className:be("-mx-1 my-1 h-px bg-muted",a),...t}));js.displayName=ce.Separator.displayName;const Cs=({className:a,...t})=>e.jsx("span",{className:be("ml-auto text-xs tracking-widest opacity-60",a),...t});Cs.displayName="DropdownMenuShortcut";const Rs=X.Root,Ss=X.Trigger,ks=X.Portal,Ts=X.Close,Is=E.forwardRef(({className:a,...t},s)=>e.jsx(X.Overlay,{ref:s,className:be("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",a),...t}));Is.displayName=X.Overlay.displayName;const zs=E.forwardRef(({className:a,children:t,...r},o)=>e.jsxs(ks,{children:[e.jsx(Is,{}),e.jsxs(X.Content,{ref:o,className:be("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",a),...r,children:[t,e.jsxs(X.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:[e.jsx(s.X,{className:"h-4 w-4"}),e.jsx("span",{className:"sr-only",children:"Close"})]})]})]}));zs.displayName=X.Content.displayName;const Ds=({className:a,...t})=>e.jsx("div",{className:be("flex flex-col space-y-1.5 text-center sm:text-left",a),...t});Ds.displayName="DialogHeader";const Ms=({className:a,...t})=>e.jsx("div",{className:be("flex flex-col-reverse sm:flex-row sm:justify-end sm:space-x-2",a),...t});Ms.displayName="DialogFooter";const _s=E.forwardRef(({className:a,...t},s)=>e.jsx(X.Title,{ref:s,className:be("text-lg font-semibold leading-none tracking-tight",a),...t}));_s.displayName=X.Title.displayName;const Ps=E.forwardRef(({className:a,...t},s)=>e.jsx(X.Description,{ref:s,className:be("text-sm text-muted-foreground",a),...t}));Ps.displayName=X.Description.displayName;const As=({shouldScaleBackground:a=!0,...t})=>e.jsx(M.Drawer.Root,{shouldScaleBackground:a,...t});As.displayName="Drawer";const Os=M.Drawer.Trigger,Ls=M.Drawer.Portal,qs=M.Drawer.Close,Fs=E.forwardRef(({className:a,...t},s)=>e.jsx(M.Drawer.Overlay,{ref:s,className:be("fixed inset-0 z-50 bg-black/80",a),...t}));Fs.displayName=M.Drawer.Overlay.displayName;const Gs=E.forwardRef(({className:a,children:t,...s},r)=>e.jsxs(Ls,{children:[e.jsx(Fs,{}),e.jsxs(M.Drawer.Content,{ref:r,className:be("fixed inset-x-0 bottom-0 z-50 mt-24 flex h-auto flex-col rounded-t-[10px] border bg-background",a),...s,children:[e.jsx("div",{className:"mx-auto mt-4 h-2 w-[100px] rounded-full bg-muted"}),t]})]}));Gs.displayName="DrawerContent";const Bs=({className:a,...t})=>e.jsx("div",{className:be("grid gap-1.5 p-4 text-center sm:text-left",a),...t});Bs.displayName="DrawerHeader";const Es=({className:a,...t})=>e.jsx("div",{className:be("mt-auto flex flex-col gap-2 p-4",a),...t});Es.displayName="DrawerFooter";const Hs=E.forwardRef(({className:a,...t},s)=>e.jsx(M.Drawer.Title,{ref:s,className:be("text-lg font-semibold leading-none tracking-tight",a),...t}));Hs.displayName=M.Drawer.Title.displayName;const Vs=E.forwardRef(({className:a,...t},s)=>e.jsx(M.Drawer.Description,{ref:s,className:be("text-sm text-muted-foreground",a),...t}));Vs.displayName=M.Drawer.Description.displayName;const $s=me.Root,Ks=me.Trigger,Us=E.forwardRef(({className:a,align:t="center",sideOffset:s=4,...r},o)=>e.jsx(me.Portal,{children:e.jsx(me.Content,{ref:o,align:t,sideOffset:s,className:be("z-50 w-72 rounded-md border bg-popover p-4 text-popover-foreground shadow-md outline-none 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",a),...r})}));Us.displayName=me.Content.displayName;const Xs=fe.Root,Ws=fe.Trigger,Js=E.forwardRef(({className:a,align:t="center",sideOffset:s=4,...r},o)=>e.jsx(fe.Content,{ref:o,align:t,sideOffset:s,className:be("z-50 w-64 rounded-md border bg-popover p-4 text-popover-foreground shadow-md outline-none 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",a),...r}));Js.displayName=fe.Content.displayName;const Qs=pe.Root,Ys=pe.Trigger,Zs=pe.Group,er=pe.Portal,ar=pe.Sub,tr=pe.RadioGroup,sr=E.forwardRef(({className:a,inset:t,children:r,...o},i)=>e.jsxs(pe.SubTrigger,{ref:i,className:be("flex cursor-default select-none items-center rounded-sm px-2 py-1.5 text-sm outline-none focus:bg-accent focus:text-accent-foreground data-[state=open]:bg-accent data-[state=open]:text-accent-foreground",t&&"pl-8",a),...o,children:[r,e.jsx(s.ChevronRight,{className:"ml-auto h-4 w-4"})]}));sr.displayName=pe.SubTrigger.displayName;const rr=E.forwardRef(({className:a,...t},s)=>e.jsx(pe.SubContent,{ref:s,className:be("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",a),...t}));rr.displayName=pe.SubContent.displayName;const or=E.forwardRef(({className:a,...t},s)=>e.jsx(pe.Portal,{children:e.jsx(pe.Content,{ref:s,className:be("z-50 min-w-[8rem] overflow-hidden rounded-md border bg-popover p-1 text-popover-foreground shadow-md animate-in fade-in-80 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",a),...t})}));or.displayName=pe.Content.displayName;const ir=E.forwardRef(({className:a,inset:t,...s},r)=>e.jsx(pe.Item,{ref:r,className:be("relative flex cursor-default select-none items-center rounded-sm px-2 py-1.5 text-sm outline-none focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",t&&"pl-8",a),...s}));ir.displayName=pe.Item.displayName;const nr=E.forwardRef(({className:a,children:t,checked:r,...o},i)=>e.jsxs(pe.CheckboxItem,{ref:i,className:be("relative flex cursor-default select-none items-center rounded-sm py-1.5 pl-8 pr-2 text-sm outline-none focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",a),checked:r,...o,children:[e.jsx("span",{className:"absolute left-2 flex h-3.5 w-3.5 items-center justify-center",children:e.jsx(pe.ItemIndicator,{children:e.jsx(s.Check,{className:"h-4 w-4"})})}),t]}));nr.displayName=pe.CheckboxItem.displayName;const dr=E.forwardRef(({className:a,children:t,...r},o)=>e.jsxs(pe.RadioItem,{ref:o,className:be("relative flex cursor-default select-none items-center rounded-sm py-1.5 pl-8 pr-2 text-sm outline-none focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",a),...r,children:[e.jsx("span",{className:"absolute left-2 flex h-3.5 w-3.5 items-center justify-center",children:e.jsx(pe.ItemIndicator,{children:e.jsx(s.Circle,{className:"h-2 w-2 fill-current"})})}),t]}));dr.displayName=pe.RadioItem.displayName;const lr=E.forwardRef(({className:a,inset:t,...s},r)=>e.jsx(pe.Label,{ref:r,className:be("px-2 py-1.5 text-sm font-semibold text-foreground",t&&"pl-8",a),...s}));lr.displayName=pe.Label.displayName;const cr=E.forwardRef(({className:a,...t},s)=>e.jsx(pe.Separator,{ref:s,className:be("-mx-1 my-1 h-px bg-border",a),...t}));cr.displayName=pe.Separator.displayName;const mr=({className:a,...t})=>e.jsx("span",{className:be("ml-auto text-xs tracking-widest text-muted-foreground",a),...t});mr.displayName="ContextMenuShortcut";const fr=E.createContext(null);function pr(){const e=E.useContext(fr);if(!e)throw new Error("useCarousel must be used within a <Carousel />");return e}const ur=E.forwardRef(({orientation:a="horizontal",opts:t,setApi:s,plugins:r,className:o,children:i,...n},d)=>{const[l,c]=O({...t,axis:"horizontal"===a?"x":"y"},r),[m,f]=E.useState(!1),[p,u]=E.useState(!1),x=E.useCallback(e=>{e&&(f(e.canScrollPrev()),u(e.canScrollNext()))},[]),g=E.useCallback(()=>{null==c||c.scrollPrev()},[c]),b=E.useCallback(()=>{null==c||c.scrollNext()},[c]),N=E.useCallback(e=>{"ArrowLeft"===e.key?(e.preventDefault(),g()):"ArrowRight"===e.key&&(e.preventDefault(),b())},[g,b]);return E.useEffect(()=>{c&&s&&s(c)},[c,s]),E.useEffect(()=>{if(c)return x(c),c.on("reInit",x),c.on("select",x),()=>{null==c||c.off("select",x)}},[c,x]),e.jsx(fr.Provider,{value:{carouselRef:l,api:c,opts:t,orientation:a||("y"===(null==t?void 0:t.axis)?"vertical":"horizontal"),scrollPrev:g,scrollNext:b,canScrollPrev:m,canScrollNext:p},children:e.jsx("div",{ref:d,onKeyDownCapture:N,className:be("relative",o),role:"region","aria-roledescription":"carousel",...n,children:i})})});ur.displayName="Carousel";const xr=E.forwardRef(({className:a,...t},s)=>{const{carouselRef:r,orientation:o}=pr();return e.jsx("div",{ref:r,className:"overflow-hidden",children:e.jsx("div",{ref:s,className:be("flex","horizontal"===o?"-ml-4":"-mt-4 flex-col",a),...t})})});xr.displayName="CarouselContent";const gr=E.forwardRef(({className:a,...t},s)=>{const{orientation:r}=pr();return e.jsx("div",{ref:s,role:"group","aria-roledescription":"slide",className:be("min-w-0 shrink-0 grow-0 basis-full","horizontal"===r?"pl-4":"pt-4",a),...t})});gr.displayName="CarouselItem";const br=E.forwardRef(({className:a,variant:t="outline",size:r="icon",...o},i)=>{const{orientation:n,scrollPrev:d,canScrollPrev:l}=pr();return e.jsxs(Ee,{ref:i,variant:t,size:r,className:be("absolute h-8 w-8 rounded-full","horizontal"===n?"-left-12 top-1/2 -translate-y-1/2":"-top-12 left-1/2 -translate-x-1/2 rotate-90",a),disabled:!l,onClick:d,...o,children:[e.jsx(s.ArrowLeft,{className:"h-4 w-4"}),e.jsx("span",{className:"sr-only",children:"Previous slide"})]})});br.displayName="CarouselPrevious";const Nr=E.forwardRef(({className:a,variant:t="outline",size:r="icon",...o},i)=>{const{orientation:n,scrollNext:d,canScrollNext:l}=pr();return e.jsxs(Ee,{ref:i,variant:t,size:r,className:be("absolute h-8 w-8 rounded-full","horizontal"===n?"-right-12 top-1/2 -translate-y-1/2":"-bottom-12 left-1/2 -translate-x-1/2 rotate-90",a),disabled:!l,onClick:d,...o,children:[e.jsx(s.ArrowRight,{className:"h-4 w-4"}),e.jsx("span",{className:"sr-only",children:"Next slide"})]})});Nr.displayName="CarouselNext";const hr=ue.Root,vr=ue.CollapsibleTrigger,yr=ue.CollapsibleContent,wr=E.forwardRef(({className:a,...t},s)=>e.jsx(q.Command,{ref:s,className:be("flex h-full w-full flex-col overflow-hidden rounded-md bg-popover text-popover-foreground",a),...t}));wr.displayName=q.Command.displayName;const jr=E.forwardRef(({className:a,...t},r)=>e.jsxs("div",{className:"flex items-center border-b px-3","cmdk-input-wrapper":"",children:[e.jsx(s.Search,{className:"mr-2 h-4 w-4 shrink-0 opacity-50"}),e.jsx(q.Command.Input,{ref:r,className:be("flex h-11 w-full rounded-md bg-transparent py-3 text-sm outline-none placeholder:text-muted-foreground disabled:cursor-not-allowed disabled:opacity-50",a),...t})]}));jr.displayName=q.Command.Input.displayName;const Cr=E.forwardRef(({className:a,...t},s)=>e.jsx(q.Command.List,{ref:s,className:be("max-h-[300px] overflow-y-auto overflow-x-hidden",a),...t}));Cr.displayName=q.Command.List.displayName;const Rr=E.forwardRef((a,t)=>e.jsx(q.Command.Empty,{ref:t,className:"py-6 text-center text-sm",...a}));Rr.displayName=q.Command.Empty.displayName;const Sr=E.forwardRef(({className:a,...t},s)=>e.jsx(q.Command.Group,{ref:s,className:be("overflow-hidden p-1 text-foreground [&_[cmdk-group-heading]]:px-2 [&_[cmdk-group-heading]]:py-1.5 [&_[cmdk-group-heading]]:text-xs [&_[cmdk-group-heading]]:font-medium [&_[cmdk-group-heading]]:text-muted-foreground",a),...t}));Sr.displayName=q.Command.Group.displayName;const kr=E.forwardRef(({className:a,...t},s)=>e.jsx(q.Command.Separator,{ref:s,className:be("-mx-1 h-px bg-border",a),...t}));kr.displayName=q.Command.Separator.displayName;const Tr=E.forwardRef(({className:a,...t},s)=>e.jsx(q.Command.Item,{ref:s,className:be("relative flex cursor-default select-none items-center rounded-sm px-2 py-1.5 text-sm outline-none data-[disabled=true]:pointer-events-none data-[selected='true']:bg-accent data-[selected=true]:text-accent-foreground data-[disabled=true]:opacity-50",a),...t}));Tr.displayName=q.Command.Item.displayName;const Ir=({className:a,...t})=>e.jsx("span",{className:be("ml-auto text-xs tracking-widest text-muted-foreground",a),...t});Ir.displayName="CommandShortcut";const zr=xe.Provider,Dr=E.forwardRef(({className:a,...t},s)=>e.jsx(xe.Viewport,{ref:s,className:be("fixed top-0 z-[100] flex max-h-screen w-full flex-col-reverse p-4 sm:bottom-0 sm:right-0 sm:top-auto sm:flex-col md:max-w-[420px]",a),...t}));Dr.displayName=xe.Viewport.displayName;const Mr=m.cva("group pointer-events-auto relative flex w-full items-center justify-between space-x-4 overflow-hidden rounded-md border p-6 pr-8 shadow-lg transition-all data-[swipe=cancel]:translate-x-0 data-[swipe=end]:translate-x-[var(--radix-toast-swipe-end-x)] data-[swipe=move]:translate-x-[var(--radix-toast-swipe-move-x)] data-[swipe=move]:transition-none data-[state=open]:animate-in data-[state=closed]:animate-out data-[swipe=end]:animate-out data-[state=closed]:fade-out-80 data-[state=closed]:slide-out-to-right-full data-[state=open]:slide-in-from-top-full data-[state=open]:sm:slide-in-from-bottom-full",{variants:{variant:{default:"border bg-background text-foreground",destructive:"destructive group border-destructive bg-destructive text-destructive-foreground"}},defaultVariants:{variant:"default"}}),_r=E.forwardRef(({className:a,variant:t,...s},r)=>e.jsx(xe.Root,{ref:r,className:be(Mr({variant:t}),a),...s}));_r.displayName=xe.Root.displayName;const Pr=E.forwardRef(({className:a,...t},s)=>e.jsx(xe.Action,{ref:s,className:be("inline-flex h-8 shrink-0 items-center justify-center rounded-md border bg-transparent px-3 text-sm font-medium ring-offset-background transition-colors hover:bg-secondary focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:pointer-events-none disabled:opacity-50 group-[.destructive]:border-muted/40 group-[.destructive]:hover:border-destructive/30 group-[.destructive]:hover:bg-destructive group-[.destructive]:hover:text-destructive-foreground group-[.destructive]:focus:ring-destructive",a),...t}));Pr.displayName=xe.Action.displayName;const Ar=E.forwardRef(({className:a,...t},r)=>e.jsx(xe.Close,{ref:r,className:be("absolute right-2 top-2 rounded-md p-1 text-foreground/50 opacity-0 transition-opacity hover:text-foreground focus:opacity-100 focus:outline-none focus:ring-2 group-hover:opacity-100 group-[.destructive]:text-red-300 group-[.destructive]:hover:text-red-50 group-[.destructive]:focus:ring-red-400 group-[.destructive]:focus:ring-offset-red-600",a),"toast-close":"",...t,children:e.jsx(s.X,{className:"h-4 w-4"})}));Ar.displayName=xe.Close.displayName;const Or=E.forwardRef(({className:a,...t},s)=>e.jsx(xe.Title,{ref:s,className:be("text-sm font-semibold",a),...t}));Or.displayName=xe.Title.displayName;const Lr=E.forwardRef(({className:a,...t},s)=>e.jsx(xe.Description,{ref:s,className:be("text-sm opacity-90",a),...t}));Lr.displayName=xe.Description.displayName;let qr=0;const Fr=new Map,Gr=e=>{if(Fr.has(e))return;const a=setTimeout(()=>{Fr.delete(e),Vr({type:"REMOVE_TOAST",toastId:e})},1e6);Fr.set(e,a)},Br=(e,a)=>{switch(a.type){case"ADD_TOAST":return{...e,toasts:[a.toast,...e.toasts].slice(0,1)};case"UPDATE_TOAST":return{...e,toasts:e.toasts.map(e=>e.id===a.toast.id?{...e,...a.toast}:e)};case"DISMISS_TOAST":{const{toastId:t}=a;return t?Gr(t):e.toasts.forEach(e=>{Gr(e.id)}),{...e,toasts:e.toasts.map(e=>e.id===t||void 0===t?{...e,open:!1}:e)}}case"REMOVE_TOAST":return void 0===a.toastId?{...e,toasts:[]}:{...e,toasts:e.toasts.filter(e=>e.id!==a.toastId)}}},Er=[];let Hr={toasts:[]};function Vr(e){Hr=Br(Hr,e),Er.forEach(e=>{e(Hr)})}function $r({...e}){const a=(qr=(qr+1)%Number.MAX_SAFE_INTEGER,qr.toString()),t=()=>Vr({type:"DISMISS_TOAST",toastId:a});return Vr({type:"ADD_TOAST",toast:{...e,id:a,open:!0,onOpenChange:e=>{e||t()}}}),{id:a,dismiss:t,update:e=>Vr({type:"UPDATE_TOAST",toast:{...e,id:a}})}}const Kr={light:"",dark:".dark"},Ur=E.createContext(null);function Xr(){const e=E.useContext(Ur);if(!e)throw new Error("useChart must be used within a <ChartContainer />");return e}const Wr=E.forwardRef(({id:a,className:t,children:s,config:r,...o},i)=>{const n=E.useId(),d=`chart-${a||n.replace(/:/g,"")}`;return e.jsx(Ur.Provider,{value:{config:r},children:e.jsxs("div",{"data-chart":d,ref:i,className:be("flex aspect-video justify-center text-xs [&_.recharts-cartesian-axis-tick_text]:fill-muted-foreground [&_.recharts-cartesian-grid_line[stroke='#ccc']]:stroke-border/50 [&_.recharts-curve.recharts-tooltip-cursor]:stroke-border [&_.recharts-dot[stroke='#fff']]:stroke-transparent [&_.recharts-layer]:outline-none [&_.recharts-polar-grid_[stroke='#ccc']]:stroke-border [&_.recharts-radial-bar-background-sector]:fill-muted [&_.recharts-rectangle.recharts-tooltip-cursor]:fill-muted [&_.recharts-reference-line_[stroke='#ccc']]:stroke-border [&_.recharts-sector[stroke='#fff']]:stroke-transparent [&_.recharts-sector]:outline-none [&_.recharts-surface]:outline-none",t),...o,children:[e.jsx(Jr,{id:d,config:r}),e.jsx(ge.ResponsiveContainer,{children:s})]})})});Wr.displayName="Chart";const Jr=({id:a,config:t})=>{const s=Object.entries(t).filter(([e,a])=>a.theme||a.color);return s.length?e.jsx("style",{dangerouslySetInnerHTML:{__html:Object.entries(Kr).map(([e,t])=>`\n${t} [data-chart=${a}] {\n${s.map(([a,t])=>{var s;const r=(null==(s=t.theme)?void 0:s[e])||t.color;return r?` --color-${a}: ${r};`:null}).join("\n")}\n}\n`).join("\n")}}):null},Qr=ge.Tooltip,Yr=E.forwardRef(({active:a,payload:t,className:s,indicator:r="dot",hideLabel:o=!1,hideIndicator:i=!1,label:n,labelFormatter:d,labelClassName:l,formatter:c,color:m,nameKey:f,labelKey:p},u)=>{const{config:x}=Xr(),g=E.useMemo(()=>{var a;if(o||!(null==t?void 0:t.length))return null;const[s]=t,r=`${p||s.dataKey||s.name||"value"}`,i=eo(x,s,r),c=p||"string"!=typeof n?null==i?void 0:i.label:(null==(a=x[n])?void 0:a.label)||n;return d?e.jsx("div",{className:be("font-medium",l),children:d(c,t)}):c?e.jsx("div",{className:be("font-medium",l),children:c}):null},[n,d,t,o,l,x,p]);if(!a||!(null==t?void 0:t.length))return null;const b=1===t.length&&"dot"!==r;return e.jsxs("div",{ref:u,className:be("grid min-w-[8rem] items-start gap-1.5 rounded-lg border border-border/50 bg-background px-2.5 py-1.5 text-xs shadow-xl",s),children:[b?null:g,e.jsx("div",{className:"grid gap-1.5",children:t.map((a,t)=>{const s=`${f||a.name||a.dataKey||"value"}`,o=eo(x,a,s),n=m||a.payload.fill||a.color;return e.jsx("div",{className:be("flex w-full flex-wrap items-stretch gap-2 [&>svg]:h-2.5 [&>svg]:w-2.5 [&>svg]:text-muted-foreground","dot"===r&&"items-center"),children:c&&void 0!==(null==a?void 0:a.value)&&a.name?c(a.value,a.name,a,t,a.payload):e.jsxs(e.Fragment,{children:[(null==o?void 0:o.icon)?e.jsx(o.icon,{}):!i&&e.jsx("div",{className:be("shrink-0 rounded-[2px] border-[--color-border] bg-[--color-bg]",{"h-2.5 w-2.5":"dot"===r,"w-1":"line"===r,"w-0 border-[1.5px] border-dashed bg-transparent":"dashed"===r,"my-0.5":b&&"dashed"===r}),style:{"--color-bg":n,"--color-border":n}}),e.jsxs("div",{className:be("flex flex-1 justify-between leading-none",b?"items-end":"items-center"),children:[e.jsxs("div",{className:"grid gap-1.5",children:[b?g:null,e.jsx("span",{className:"text-muted-foreground",children:(null==o?void 0:o.label)||a.name})]}),a.value&&e.jsx("span",{className:"font-mono font-medium tabular-nums text-foreground",children:a.value.toLocaleString()})]})]})},a.dataKey)})})]})});Yr.displayName="ChartTooltip";const Zr=ge.Legend;function eo(e,a,t){if("object"!=typeof a||null===a)return;const s="payload"in a&&"object"==typeof a.payload&&null!==a.payload?a.payload:void 0;let r=t;return t in a&&"string"==typeof a[t]?r=a[t]:s&&t in s&&"string"==typeof s[t]&&(r=s[t]),r in e?e[r]:e[t]}E.forwardRef(({className:a,hideIcon:t=!1,payload:s,verticalAlign:r="bottom",nameKey:o},i)=>{const{config:n}=Xr();return(null==s?void 0:s.length)?e.jsx("div",{ref:i,className:be("flex items-center justify-center gap-4","top"===r?"pb-3":"pt-3",a),children:s.map(a=>{const s=`${o||a.dataKey||"value"}`,r=eo(n,a,s);return e.jsxs("div",{className:be("flex items-center gap-1.5 [&>svg]:h-3 [&>svg]:w-3 [&>svg]:text-muted-foreground"),children:[(null==r?void 0:r.icon)&&!t?e.jsx(r.icon,{}):e.jsx("div",{className:"h-2 w-2 shrink-0 rounded-[2px]",style:{backgroundColor:a.color}}),null==r?void 0:r.label]},a.value)})}):null}).displayName="ChartLegend",exports.Accordion=Ne,exports.AccordionContent=ye,exports.AccordionItem=he,exports.AccordionTrigger=ve,exports.Alert=it,exports.AlertDescription=dt,exports.AlertDialog=lt,exports.AlertDialogAction=Nt,exports.AlertDialogCancel=ht,exports.AlertDialogContent=pt,exports.AlertDialogDescription=bt,exports.AlertDialogFooter=xt,exports.AlertDialogHeader=ut,exports.AlertDialogTitle=gt,exports.AlertDialogTrigger=ct,exports.AlertTitle=nt,exports.AspectRatio=we,exports.Avatar=vt,exports.AvatarFallback=wt,exports.AvatarImage=yt,exports.Badge=function({className:a,variant:t,...s}){return e.jsx("div",{className:be(rt({variant:t}),a),...s})},exports.Breadcrumb=jt,exports.BreadcrumbItem=Rt,exports.BreadcrumbLink=St,exports.BreadcrumbList=Ct,exports.BreadcrumbPage=kt,exports.BreadcrumbSeparator=Tt,exports.Button=Ee,exports.Calendar=zt,exports.Card=je,exports.CardContent=ke,exports.CardDescription=Se,exports.CardFooter=Te,exports.CardHeader=Ce,exports.CardTitle=Re,exports.Carousel=ur,exports.CarouselContent=xr,exports.CarouselItem=gr,exports.CarouselNext=Nr,exports.CarouselPrevious=br,exports.ChartContainer=Wr,exports.ChartLegend=Zr,exports.ChartStyle=Jr,exports.ChartTooltip=Qr,exports.ChartTooltipContent=Yr,exports.Checkbox=Ra,exports.Collapsible=hr,exports.CollapsibleContent=yr,exports.CollapsibleTrigger=vr,exports.Command=wr,exports.CommandDialog=({children:a,...t})=>e.jsx(Rs,{...t,children:e.jsx(zs,{className:"overflow-hidden p-0 shadow-lg",children:e.jsx(wr,{className:"[&_[cmdk-group-heading]]:px-2 [&_[cmdk-group-heading]]:font-medium [&_[cmdk-group-heading]]:text-muted-foreground [&_[cmdk-group]:not([hidden])_~[cmdk-group]]:pt-0 [&_[cmdk-group]]:px-2 [&_[cmdk-input-wrapper]_svg]:h-5 [&_[cmdk-input-wrapper]_svg]:w-5 [&_[cmdk-input]]:h-12 [&_[cmdk-item]]:px-2 [&_[cmdk-item]]:py-3 [&_[cmdk-item]_svg]:h-5 [&_[cmdk-item]_svg]:w-5",children:a})})}),exports.CommandEmpty=Rr,exports.CommandGroup=Sr,exports.CommandInput=jr,exports.CommandItem=Tr,exports.CommandList=Cr,exports.CommandSeparator=kr,exports.CommandShortcut=Ir,exports.ContextMenu=Qs,exports.ContextMenuCheckboxItem=nr,exports.ContextMenuContent=or,exports.ContextMenuGroup=Zs,exports.ContextMenuItem=ir,exports.ContextMenuLabel=lr,exports.ContextMenuPortal=er,exports.ContextMenuRadioGroup=tr,exports.ContextMenuRadioItem=dr,exports.ContextMenuSeparator=cr,exports.ContextMenuShortcut=mr,exports.ContextMenuSub=ar,exports.ContextMenuSubContent=rr,exports.ContextMenuSubTrigger=sr,exports.ContextMenuTrigger=Ys,exports.Dialog=Rs,exports.DialogClose=Ts,exports.DialogContent=zs,exports.DialogDescription=Ps,exports.DialogFooter=Ms,exports.DialogHeader=Ds,exports.DialogTitle=_s,exports.DialogTrigger=Ss,exports.Drawer=As,exports.DrawerClose=qs,exports.DrawerContent=Gs,exports.DrawerDescription=Vs,exports.DrawerFooter=Es,exports.DrawerHeader=Bs,exports.DrawerTitle=Hs,exports.DrawerTrigger=Os,exports.DropdownMenu=cs,exports.DropdownMenuCheckboxItem=vs,exports.DropdownMenuContent=Ns,exports.DropdownMenuGroup=fs,exports.DropdownMenuItem=hs,exports.DropdownMenuLabel=ws,exports.DropdownMenuPortal=ps,exports.DropdownMenuRadioGroup=xs,exports.DropdownMenuRadioItem=ys,exports.DropdownMenuSeparator=js,exports.DropdownMenuShortcut=Cs,exports.DropdownMenuSub=us,exports.DropdownMenuSubContent=bs,exports.DropdownMenuSubTrigger=gs,exports.DropdownMenuTrigger=ms,exports.Form=Va,exports.FormControl=Ja,exports.FormDescription=Qa,exports.FormField=({...a})=>e.jsx($a.Provider,{value:{name:a.name},children:e.jsx(y.Controller,{...a})}),exports.FormItem=Xa,exports.FormLabel=Wa,exports.FormMessage=Ya,exports.HoverCard=Xs,exports.HoverCardContent=Js,exports.HoverCardTrigger=Ws,exports.Input=He,exports.InputOTP=za,exports.InputOTPGroup=Da,exports.InputOTPSeparator=_a,exports.InputOTPSlot=Ma,exports.Label=ja,exports.Menubar=Zt,exports.MenubarCheckboxItem=os,exports.MenubarContent=ss,exports.MenubarItem=rs,exports.MenubarLabel=ns,exports.MenubarMenu=Jt,exports.MenubarRadioGroup=Yt,exports.MenubarRadioItem=is,exports.MenubarSeparator=ds,exports.MenubarShortcut=ls,exports.MenubarSub=Qt,exports.MenubarSubContent=ts,exports.MenubarSubTrigger=as,exports.MenubarTrigger=es,exports.NavigationMenu=Et,exports.NavigationMenuContent=Ut,exports.NavigationMenuItem=Vt,exports.NavigationMenuLink=Xt,exports.NavigationMenuList=Ht,exports.NavigationMenuTrigger=Kt,exports.Pagination=At,exports.PaginationContent=Ot,exports.PaginationEllipsis=Bt,exports.PaginationItem=Lt,exports.PaginationLink=qt,exports.PaginationNext=Gt,exports.PaginationPrevious=Ft,exports.Popover=$s,exports.PopoverContent=Us,exports.PopoverTrigger=Ks,exports.Progress=It,exports.RadioGroup=Sa,exports.RadioGroupItem=ka,exports.ResizableHandle=({withHandle:a,className:t,...r})=>e.jsx(U.PanelResizeHandle,{className:be("relative flex w-px items-center justify-center bg-border after:absolute after:inset-y-0 after:left-1/2 after:w-1 after:-translate-x-1/2 focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring focus-visible:ring-offset-1 data-[panel-group-direction=vertical]:h-px data-[panel-group-direction=vertical]:w-full data-[panel-group-direction=vertical]:after:left-0 data-[panel-group-direction=vertical]:after:h-1 data-[panel-group-direction=vertical]:after:w-full data-[panel-group-direction=vertical]:after:-translate-y-1/2 data-[panel-group-direction=vertical]:after:translate-x-0 [&[data-panel-group-direction=vertical]>div]:rotate-90",t),...r,children:a&&e.jsx("div",{className:"z-10 flex h-4 w-3 items-center justify-center rounded-sm border bg-border",children:e.jsx(s.GripVertical,{className:"h-2.5 w-2.5"})})}),exports.ResizablePanel=Ge,exports.ResizablePanelGroup=({className:a,...t})=>e.jsx(U.PanelGroup,{className:be("flex h-full w-full data-[panel-group-direction=vertical]:flex-col",a),...t}),exports.ScrollArea=ze,exports.ScrollBar=De,exports.Select=Pa,exports.SelectContent=Ga,exports.SelectGroup=Aa,exports.SelectItem=Ea,exports.SelectLabel=Ba,exports.SelectScrollDownButton=Fa,exports.SelectScrollUpButton=qa,exports.SelectSeparator=Ha,exports.SelectTrigger=La,exports.SelectValue=Oa,exports.Separator=Ie,exports.Sheet=Ve,exports.SheetClose=Ke,exports.SheetContent=Je,exports.SheetDescription=ea,exports.SheetFooter=Ye,exports.SheetHeader=Qe,exports.SheetTitle=Ze,exports.SheetTrigger=$e,exports.Sidebar=da,exports.SidebarContent=ma,exports.SidebarFooter=ca,exports.SidebarGroup=fa,exports.SidebarGroupContent=ua,exports.SidebarGroupLabel=pa,exports.SidebarHeader=la,exports.SidebarMenu=xa,exports.SidebarMenuButton=Na,exports.SidebarMenuItem=ga,exports.SidebarMenuSub=ha,exports.SidebarMenuSubButton=ya,exports.SidebarMenuSubItem=va,exports.Skeleton=aa,exports.Slider=Ia,exports.Switch=Ta,exports.Table=Me,exports.TableBody=Pe,exports.TableCaption=Fe,exports.TableCell=qe,exports.TableFooter=Ae,exports.TableHead=Le,exports.TableHeader=_e,exports.TableRow=Oe,exports.Tabs=Dt,exports.TabsContent=Pt,exports.TabsList=Mt,exports.TabsTrigger=_t,exports.Textarea=Ca,exports.Toast=_r,exports.ToastAction=Pr,exports.ToastClose=Ar,exports.ToastDescription=Lr,exports.ToastProvider=zr,exports.ToastTitle=Or,exports.ToastViewport=Dr,exports.Toaster=function(){const{toasts:a}=function(){const[e,a]=E.useState(Hr);return E.useEffect(()=>(Er.push(a),()=>{const e=Er.indexOf(a);e>-1&&Er.splice(e,1)}),[e]),{...e,toast:$r,dismiss:e=>Vr({type:"DISMISS_TOAST",toastId:e})}}();return e.jsxs(zr,{children:[a.map(function({id:a,title:t,description:s,action:r,...o}){return e.jsxs(_r,{...o,children:[e.jsxs("div",{className:"grid gap-1",children:[t&&e.jsx(Or,{children:t}),s&&e.jsx(Lr,{children:s})]}),r,e.jsx(Ar,{})]},a)}),e.jsx(Dr,{})]})},exports.Toggle=et,exports.ToggleGroup=tt,exports.ToggleGroupItem=st,exports.Tooltip=sa,exports.TooltipContent=oa,exports.TooltipProvider=ta,exports.TooltipTrigger=ra,exports.badgeVariants=rt,exports.buttonVariants=Be,exports.navigationMenuTriggerStyle=$t,exports.toggleVariants=Za;
@@ -57,7 +57,7 @@ const AccordionTrigger = React.forwardRef(({ className, children, ...props }, re
57
57
  {
58
58
  ref,
59
59
  className: cn(
60
- "flex flex-1 items-center justify-between py-4 font-medium transition-all hover:underline [&[data-state=open]>svg]:rotate-180",
60
+ "flex flex-1 items-center justify-between py-4 font-medium transition-all [&[data-state=open]>svg]:rotate-180",
61
61
  className
62
62
  ),
63
63
  ...props,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@syscore/ui-library",
3
- "version": "1.0.14",
3
+ "version": "1.0.15",
4
4
  "description": "A comprehensive React component library built with Radix UI, Tailwind CSS, and TypeScript",
5
5
  "private": false,
6
6
  "type": "module",