xfds 0.1.0 → 0.1.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/xfds.umd.js DELETED
@@ -1,7 +0,0 @@
1
- (function(o,a){typeof exports=="object"&&typeof module<"u"?a(exports,require("react/jsx-runtime"),require("radix-ui"),require("clsx"),require("tailwind-merge"),require("class-variance-authority"),require("react"),require("react-day-picker"),require("embla-carousel-react"),require("recharts"),require("@base-ui/react"),require("cmdk"),require("vaul"),require("input-otp"),require("react-resizable-panels"),require("sonner")):typeof define=="function"&&define.amd?define(["exports","react/jsx-runtime","radix-ui","clsx","tailwind-merge","class-variance-authority","react","react-day-picker","embla-carousel-react","recharts","@base-ui/react","cmdk","vaul","input-otp","react-resizable-panels","sonner"],a):(o=typeof globalThis<"u"?globalThis:o||self,a(o.XFDS={},o.jsxRuntime,o.radixUi,o.clsx,o.tailwindMerge,o.classVarianceAuthority,o.React,o.reactDayPicker,o.useEmblaCarousel,o.RechartsPrimitive,o.react,o.cmdk,o.vaul,o.inputOtp,o.ResizablePrimitive,o.sonner))})(this,function(o,a,i,$e,We,x,R,q,Xe,Ye,v,D,_,ee,Je,Ue){"use strict";function H(e){const t=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const n in e)if(n!=="default"){const s=Object.getOwnPropertyDescriptor(e,n);Object.defineProperty(t,n,s.get?s:{enumerable:!0,get:()=>e[n]})}}return t.default=e,Object.freeze(t)}const g=H(R),F=H(Ye),O=H(Je);function r(...e){return We.twMerge($e.clsx(e))}const te="data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='48'%20height='48'%20viewBox='0%20-960%20960%20960'%3e%3cpath%20d='M480-554%20283-357l-43-43%20240-240%20240%20240-43%2043-197-197Z'/%3e%3c/svg%3e",A="data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='48'%20height='48'%20viewBox='0%20-960%20960%20960'%3e%3cpath%20d='M480-344%20240-584l43-43%20197%20197%20197-197%2043%2043-240%20240Z'/%3e%3c/svg%3e";function Re({className:e,...t}){return a.jsx(i.Accordion.Root,{"data-slot":"accordion",className:r("flex w-full flex-col",e),...t})}function et({className:e,...t}){return a.jsx(i.Accordion.Item,{"data-slot":"accordion-item",className:r("border-b border-border",e),...t})}function tt({className:e,children:t,...n}){return a.jsx(i.Accordion.Header,{className:"flex",children:a.jsxs(i.Accordion.Trigger,{"data-slot":"accordion-trigger",className:r("focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-offset-2 focus-visible:ring-ring [&_[data-slot=accordion-trigger-icon]]:text-muted-foreground rounded-input-area py-4 text-left text-base font-medium hover:underline [&_[data-slot=accordion-trigger-icon]]:ml-auto [&_[data-slot=accordion-trigger-icon]]:size-4 group/accordion-trigger relative flex flex-1 items-center justify-between gap-4 border border-transparent transition-all disabled:pointer-events-none disabled:opacity-50",e),...n,children:[t,a.jsx(A,{"data-slot":"accordion-trigger-icon",className:"pointer-events-none shrink-0 group-aria-expanded/accordion-trigger:hidden size-4"}),a.jsx(te,{"data-slot":"accordion-trigger-icon",className:"pointer-events-none hidden shrink-0 group-aria-expanded/accordion-trigger:inline size-4"})]})})}function at({className:e,children:t,...n}){return a.jsx(i.Accordion.Content,{"data-slot":"accordion-content",className:"data-open:animate-accordion-down data-closed:animate-accordion-up text-sm overflow-hidden",...n,children:a.jsx("div",{className:r("pb-0 pt-4 text-sm leading-5 [&_a]:hover:text-foreground [&_a]:underline [&_a]:underline-offset-3 [&_p:not(:last-child)]:mb-4",e),children:t})})}const ot=x.cva("grid gap-1 rounded-input-card border p-4 text-left text-sm has-data-[slot=alert-action]:relative has-data-[slot=alert-action]:pr-18 has-[>svg]:grid-cols-[auto_1fr] has-[>svg]:gap-x-2.5 *:[svg]:row-span-2 *:[svg]:translate-y-0.5 *:[svg]:text-current *:[svg:not([class*='size-'])]:size-4 w-full relative group/alert",{variants:{variant:{default:"bg-card text-card-foreground border-border",destructive:"text-destructive bg-card border-destructive *:data-[slot=alert-description]:text-destructive/90 *:[svg]:text-current"}},defaultVariants:{variant:"default"}});function rt({className:e,variant:t,...n}){return a.jsx("div",{"data-slot":"alert",role:"alert",className:r(ot({variant:t}),e),...n})}function nt({className:e,...t}){return a.jsx("div",{"data-slot":"alert-title",className:r("font-medium group-has-[>svg]/alert:col-start-2 text-base [&_a]:hover:text-foreground [&_a]:underline [&_a]:underline-offset-3",e),...t})}function it({className:e,...t}){return a.jsx("div",{"data-slot":"alert-description",className:r("text-muted-foreground text-sm text-balance md:text-pretty [&_p:not(:last-child)]:mb-4 [&_a]:hover:text-foreground [&_a]:underline [&_a]:underline-offset-3",e),...t})}function st({className:e,...t}){return a.jsx("div",{"data-slot":"alert-action",className:r("absolute top-2.5 right-3",e),...t})}const E=x.cva("focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-offset-2 focus-visible:ring-ring aria-invalid:ring-2 aria-invalid:ring-offset-2 aria-invalid:ring-destructive border border-transparent bg-clip-padding text-sm font-medium [&_svg:not([class*='size-'])]:size-4 inline-flex items-center justify-center whitespace-nowrap transition-all disabled:pointer-events-none disabled:opacity-50 [&_svg]:pointer-events-none shrink-0 [&_svg]:shrink-0 group/button select-none",{variants:{variant:{default:"bg-primary text-primary-foreground hover:bg-primary-hover",outline:"border-border bg-none hover:bg-muted hover:text-foreground aria-expanded:bg-muted aria-expanded:text-foreground",secondary:"bg-secondary text-secondary-foreground hover:bg-secondary-hover aria-expanded:bg-secondary aria-expanded:text-secondary-foreground",ghost:"hover:bg-muted hover:text-foreground aria-expanded:bg-muted aria-expanded:text-foreground",destructive:"bg-destructive text-destructive-foreground hover:bg-destructive-hover focus-visible:ring-destructive",link:"text-primary underline-offset-4 hover:underline"},size:{default:"h-9 gap-1.5 px-2.5 rounded-input-sm in-data-[slot=button-group]:rounded-input-sm has-data-[icon=inline-end]:pr-2 has-data-[icon=inline-start]:pl-2",xs:"h-6 gap-1 rounded-input-sm px-2 text-xs in-data-[slot=button-group]:rounded-input-sm has-data-[icon=inline-end]:pr-1.5 has-data-[icon=inline-start]:pl-1.5 [&_svg:not([class*='size-'])]:size-3",sm:"h-8 gap-1 rounded-input-sm px-2.5 in-data-[slot=button-group]:rounded-input-sm has-data-[icon=inline-end]:pr-1.5 has-data-[icon=inline-start]:pl-1.5",lg:"h-10 gap-1.5 px-2.5 rounded-input-sm has-data-[icon=inline-end]:pr-3 has-data-[icon=inline-start]:pl-3",xl:"h-12 gap-2 px-4 text-base rounded-input-sm has-data-[icon=inline-end]:pr-4 has-data-[icon=inline-start]:pl-4 [&_svg:not([class*='size-'])]:size-5",icon:"size-9 rounded-input-sm","icon-xs":"size-6 rounded-input-sm in-data-[slot=button-group]:rounded-input-sm [&_svg:not([class*='size-'])]:size-3","icon-sm":"size-8 rounded-input-sm in-data-[slot=button-group]:rounded-input-sm","icon-lg":"size-10 rounded-input-sm","icon-xl":"size-12 rounded-input-sm [&_svg:not([class*='size-'])]:size-5"}},defaultVariants:{variant:"default",size:"default"}});function N({className:e,variant:t="default",size:n="default",asChild:s=!1,...d}){const c=s?i.Slot.Root:"button";return a.jsx(c,{"data-slot":"button","data-variant":t,"data-size":n,className:r(E({variant:t,size:n,className:e})),...d})}function dt({...e}){return a.jsx(i.AlertDialog.Root,{"data-slot":"alert-dialog",...e})}function lt({...e}){return a.jsx(i.AlertDialog.Trigger,{"data-slot":"alert-dialog-trigger",...e})}function ae({...e}){return a.jsx(i.AlertDialog.Portal,{"data-slot":"alert-dialog-portal",...e})}function oe({className:e,...t}){return a.jsx(i.AlertDialog.Overlay,{"data-slot":"alert-dialog-overlay",className:r("data-open:animate-in data-closed:animate-out data-closed:fade-out-0 data-open:fade-in-0 bg-overlay duration-100 supports-backdrop-filter:backdrop-blur-xs fixed inset-0 z-50",e),...t})}function ct({className:e,size:t="default",overlayClassName:n,...s}){return a.jsxs(ae,{children:[a.jsx(oe,{className:n}),a.jsx(i.AlertDialog.Content,{"data-slot":"alert-dialog-content","data-size":t,className:r("data-open:animate-in data-closed:animate-out data-closed:fade-out-0 data-open:fade-in-0 data-closed:zoom-out-95 data-open:zoom-in-95 bg-popover border border-solid shadow-lg gap-6 rounded-card p-6 duration-100 data-[size=default]:max-w-xs data-[size=sm]:max-w-xs data-[size=default]:sm:max-w-lg group/alert-dialog-content fixed top-1/2 left-1/2 z-50 grid w-full -translate-x-1/2 -translate-y-1/2 outline-none text-center sm:text-left",e),...s})]})}function ut({className:e,...t}){return a.jsx("div",{"data-slot":"alert-dialog-header",className:r("grid grid-rows-[auto_1fr] gap-2 text-center sm:text-left sm:group-data-[size=default]/alert-dialog-content:has-data-[slot=alert-dialog-media]:grid-rows-[auto_1fr]",e),...t})}function gt({className:e,...t}){return a.jsx("div",{"data-slot":"alert-dialog-footer",className:r("flex flex-col gap-2 justify-center sm:flex-row sm:justify-end",e),...t})}function ft({className:e,...t}){return a.jsx("div",{"data-slot":"alert-dialog-media",className:r("bg-muted mb-2 inline-flex size-16 items-center justify-center rounded-input-area sm:group-data-[size=default]/alert-dialog-content:row-span-2 *:[svg:not([class*='size-'])]:size-8",e),...t})}function pt({className:e,...t}){return a.jsx(i.AlertDialog.Title,{"data-slot":"alert-dialog-title",className:r("text-lg font-semibold text-foreground sm:group-data-[size=default]/alert-dialog-content:group-has-data-[slot=alert-dialog-media]/alert-dialog-content:col-start-2",e),...t})}function bt({className:e,...t}){return a.jsx(i.AlertDialog.Description,{"data-slot":"alert-dialog-description",className:r("text-sm text-muted-foreground *:[a]:hover:text-foreground text-balance md:text-pretty *:[a]:underline *:[a]:underline-offset-3",e),...t})}function mt({className:e,variant:t="default",size:n="default",...s}){return a.jsx(N,{variant:t,size:n,asChild:!0,children:a.jsx(i.AlertDialog.Action,{"data-slot":"alert-dialog-action",className:r(e),...s})})}function vt({className:e,variant:t="outline",size:n="default",...s}){return a.jsx(N,{variant:t,size:n,asChild:!0,children:a.jsx(i.AlertDialog.Cancel,{"data-slot":"alert-dialog-cancel",className:r(e),...s})})}function ht({...e}){return a.jsx(i.AspectRatio.Root,{"data-slot":"aspect-ratio",...e})}function wt({className:e,size:t="default",...n}){return a.jsx(i.Avatar.Root,{"data-slot":"avatar","data-size":t,className:r("size-8 rounded-full after:rounded-full data-[size=lg]:size-10 data-[size=sm]:size-6 after:border-border group/avatar relative flex shrink-0 select-none after:absolute after:inset-0 after:border after:mix-blend-darken dark:after:mix-blend-lighten",e),...n})}function xt({className:e,...t}){return a.jsx(i.Avatar.Image,{"data-slot":"avatar-image",className:r("rounded-full aspect-square size-full object-cover",e),...t})}function Nt({className:e,...t}){return a.jsx(i.Avatar.Fallback,{"data-slot":"avatar-fallback",className:r("bg-muted text-muted-foreground rounded-full flex size-full items-center justify-center text-sm group-data-[size=sm]/avatar:text-xs",e),...t})}function zt({className:e,...t}){return a.jsx("span",{"data-slot":"avatar-badge",className:r("bg-primary text-primary-foreground ring-background absolute right-0 bottom-0 z-10 inline-flex items-center justify-center rounded-full bg-blend-color ring-2 select-none","group-data-[size=sm]/avatar:size-2 group-data-[size=sm]/avatar:[&>svg]:hidden","group-data-[size=default]/avatar:size-2.5 group-data-[size=default]/avatar:[&>svg]:size-2","group-data-[size=lg]/avatar:size-3 group-data-[size=lg]/avatar:[&>svg]:size-2",e),...t})}function yt({className:e,...t}){return a.jsx("div",{"data-slot":"avatar-group",className:r("*:data-[slot=avatar]:ring-background group/avatar-group flex -space-x-2 *:data-[slot=avatar]:ring-2",e),...t})}function Ct({className:e,...t}){return a.jsx("div",{"data-slot":"avatar-group-count",className:r("bg-muted text-muted-foreground size-8 rounded-full text-sm group-has-data-[size=lg]/avatar-group:size-10 group-has-data-[size=sm]/avatar-group:size-6 [&>svg]:size-4 group-has-data-[size=lg]/avatar-group:[&>svg]:size-5 group-has-data-[size=sm]/avatar-group:[&>svg]:size-3 ring-background relative flex shrink-0 items-center justify-center ring-2",e),...t})}const re=x.cva("inline-flex items-center justify-center gap-1 rounded-full border border-transparent px-2.5 py-0.5 text-xs font-semibold transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 has-data-[icon=inline-end]:pr-1.5 has-data-[icon=inline-start]:pl-1.5 [&>svg]:size-3 w-fit whitespace-nowrap shrink-0 [&>svg]:pointer-events-none group/badge",{variants:{variant:{default:"bg-primary text-primary-foreground hover:bg-primary-hover",secondary:"bg-secondary text-secondary-foreground hover:bg-secondary-hover",destructive:"bg-destructive text-destructive-foreground hover:bg-destructive-hover hover:![background-color]",outline:"text-foreground border-border hover:bg-muted hover:text-foreground",ghost:"hover:bg-muted hover:text-foreground",link:"bg-transparent text-primary underline-offset-4 hover:bg-muted hover:underline"}},defaultVariants:{variant:"default"}});function St({className:e,variant:t="default",asChild:n=!1,...s}){const d=n?i.Slot.Root:"span";return a.jsx(d,{"data-slot":"badge","data-variant":t,className:r(re({variant:t}),e),...s})}const T="data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='48'%20height='48'%20viewBox='0%20-960%20960%20960'%3e%3cpath%20d='M530-481%20332-679l43-43%20241%20241-241%20241-43-43%20198-198Z'/%3e%3c/svg%3e",ne="data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='48'%20height='48'%20viewBox='0%20-960%20960%20960'%3e%3cpath%20d='M207.86-432Q188-432%20174-446.14t-14-34Q160-500%20174.14-514t34-14Q228-528%20242-513.86t14%2034Q256-460%20241.86-446t-34%2014Zm272%200Q460-432%20446-446.14t-14-34Q432-500%20446.14-514t34-14Q500-528%20514-513.86t14%2034Q528-460%20513.86-446t-34%2014Zm272%200Q732-432%20718-446.14t-14-34Q704-500%20718.14-514t34-14Q772-528%20786-513.86t14%2034Q800-460%20785.86-446t-34%2014Z'/%3e%3c/svg%3e";function Mt({className:e,...t}){return a.jsx("nav",{"aria-label":"breadcrumb","data-slot":"breadcrumb",className:r(e),...t})}function kt({className:e,...t}){return a.jsx("ol",{"data-slot":"breadcrumb-list",className:r("text-muted-foreground gap-1 text-sm sm:gap-2 flex flex-wrap items-center break-words font-normal leading-5",e),...t})}function _t({className:e,...t}){return a.jsx("li",{"data-slot":"breadcrumb-item",className:r("gap-1 inline-flex items-center",e),...t})}function Dt({asChild:e,className:t,...n}){const s=e?i.Slot.Root:"a";return a.jsx(s,{"data-slot":"breadcrumb-link",className:r("hover:text-foreground transition-colors text-sm leading-5 font-normal focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2",t),...n})}function Tt({className:e,...t}){return a.jsx("span",{"data-slot":"breadcrumb-page",role:"link","aria-disabled":"true","aria-current":"page",className:r("text-foreground font-normal text-sm leading-5",e),...t})}function It({children:e,className:t,...n}){return a.jsx("li",{"data-slot":"breadcrumb-separator",role:"presentation","aria-hidden":"true",className:r("[&>svg]:size-3.5 text-muted-foreground",t),...n,children:e??a.jsx(T,{})})}function Pt({className:e,...t}){return a.jsxs("span",{"data-slot":"breadcrumb-ellipsis",role:"presentation","aria-hidden":"true",className:r("size-5 [&>svg]:size-4 flex items-center justify-center text-muted-foreground",e),...t,children:[a.jsx(ne,{}),a.jsx("span",{className:"sr-only",children:"More"})]})}function G({className:e,orientation:t="horizontal",decorative:n=!0,...s}){return a.jsx(i.Separator.Root,{"data-slot":"separator",decorative:n,orientation:t,className:r("bg-border shrink-0 data-[orientation=horizontal]:h-px data-[orientation=horizontal]:w-full data-[orientation=vertical]:w-px data-[orientation=vertical]:self-stretch",e),...s})}const ie=x.cva("has-[>[data-slot=button-group]]:gap-2 has-[select[aria-hidden=true]:last-child]:[&>[data-slot=select-trigger]:last-of-type]:rounded-r-input-sm flex w-fit items-stretch [&>*]:focus-visible:z-10 [&>*]:focus-visible:relative [&>[data-slot=select-trigger]:not([class*='w-'])]:w-fit [&>input]:flex-1",{variants:{orientation:{horizontal:"[&>[data-slot]:not(:has(~[data-slot]))]:rounded-r-input-sm! [&>*:not(:first-child)]:rounded-l-none [&>*:not(:first-child)]:border-l-0 [&>*:not(:last-child)]:rounded-r-none",vertical:"[&>[data-slot]:not(:has(~[data-slot]))]:rounded-b-input-sm! flex-col [&>*:not(:first-child)]:rounded-t-none [&>*:not(:first-child)]:border-t-0 [&>*:not(:last-child)]:rounded-b-none"}},defaultVariants:{orientation:"horizontal"}});function At({className:e,orientation:t,...n}){return a.jsx("div",{role:"group","data-slot":"button-group","data-orientation":t,className:r(ie({orientation:t}),e),...n})}function Gt({className:e,asChild:t=!1,...n}){const s=t?i.Slot.Root:"div";return a.jsx(s,{className:r("bg-muted gap-2 rounded-input-sm border px-2.5 text-sm font-medium [&_svg:not([class*='size-'])]:size-4 flex items-center [&_svg]:pointer-events-none",e),...n})}function jt({className:e,orientation:t="vertical",...n}){return a.jsx(G,{"data-slot":"button-group-separator",orientation:t,className:r("bg-input relative self-stretch data-[orientation=horizontal]:mx-px data-[orientation=horizontal]:w-auto data-[orientation=vertical]:my-px data-[orientation=vertical]:h-auto",e),...n})}const Q="data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='48'%20height='48'%20viewBox='0%20-960%20960%20960'%3e%3cpath%20d='M561-240%20320-481l241-241%2043%2043-198%20198%20198%20198-43%2043Z'/%3e%3c/svg%3e";function Lt({className:e,classNames:t,showOutsideDays:n=!0,captionLayout:s="label",buttonVariant:d="ghost",formatters:c,components:u,...p}){const l=q.getDefaultClassNames();return a.jsx(q.DayPicker,{showOutsideDays:n,className:r("p-3 [--cell-size:--spacing(8)] rounded-input-area bg-background group/calendar [[data-slot=card-content]_&]:bg-transparent [[data-slot=popover-content]_&]:bg-transparent",String.raw`rtl:**:[.rdp-button\_next>svg]:rotate-180`,String.raw`rtl:**:[.rdp-button\_previous>svg]:rotate-180`,e),captionLayout:s,formatters:{formatMonthDropdown:b=>b.toLocaleString("default",{month:"short"}),...c},classNames:{root:r("w-fit",l.root),months:r("flex gap-4 flex-col md:flex-row relative",l.months),month:r("flex flex-col w-full gap-4",l.month),nav:r("flex items-center gap-1 w-full absolute top-0 inset-x-0 justify-between",l.nav),button_previous:r(E({variant:d}),"size-(--cell-size) aria-disabled:opacity-50 p-0 select-none",l.button_previous),button_next:r(E({variant:d}),"size-(--cell-size) aria-disabled:opacity-50 p-0 select-none",l.button_next),month_caption:r("flex items-center justify-center h-(--cell-size) w-full px-(--cell-size)",l.month_caption),dropdowns:r("w-full flex items-center text-sm font-medium justify-center h-(--cell-size) gap-1.5",l.dropdowns),dropdown_root:r("relative cn-calendar-dropdown-root rounded-input-sm",l.dropdown_root),dropdown:r("absolute bg-popover inset-0 opacity-0",l.dropdown),caption_label:r("select-none font-medium",s==="label"?"text-sm":"cn-calendar-caption-label rounded-input-sm flex items-center gap-1 text-sm [&>svg]:text-muted-foreground [&>svg]:size-3.5",l.caption_label),table:"w-full border-collapse",weekdays:r("flex",l.weekdays),weekday:r("text-muted-foreground rounded-input-sm flex-1 font-normal text-[0.8rem] select-none",l.weekday),week:r("flex w-full mt-2",l.week),week_number_header:r("select-none w-(--cell-size)",l.week_number_header),week_number:r("text-[0.8rem] select-none text-muted-foreground",l.week_number),day:r("relative w-full rounded-input-sm h-full p-0 text-center [&:last-child[data-selected=true]_button]:rounded-r-input-sm group/day aspect-square select-none overflow-hidden",p.showWeekNumber?"[&:nth-child(2)[data-selected=true]_button]:rounded-l-input-sm":"[&:first-child[data-selected=true]_button]:rounded-l-input-sm",l.day),range_start:r("rounded-l-input-sm rounded-r-none bg-muted relative after:bg-muted after:absolute after:inset-y-0 after:w-4 after:right-0 -z-0 isolate",l.range_start),range_middle:r("rounded-none",l.range_middle),range_end:r("rounded-r-input-sm rounded-l-none bg-muted relative after:bg-muted-200 after:absolute after:inset-y-0 after:w-4 after:left-0 -z-0 isolate",l.range_end),today:r("bg-muted text-foreground rounded-none data-[selected=true]:rounded-none",l.today),outside:r("text-muted-foreground aria-selected:text-muted-foreground",l.outside),disabled:r("text-muted-foreground opacity-50",l.disabled),hidden:r("invisible",l.hidden),...t},components:{Root:({className:b,rootRef:h,...z})=>a.jsx("div",{"data-slot":"calendar",ref:h,className:r(b),...z}),Chevron:({className:b,orientation:h,...z})=>h==="left"?a.jsx(Q,{className:r("size-4",b),style:{fontVariationSettings:"'wght' 400, 'opsz' 24, 'FILL' 0, 'GRAD' 0"},...z}):h==="right"?a.jsx(T,{className:r("size-4",b),style:{fontVariationSettings:"'wght' 400, 'opsz' 24, 'FILL' 0, 'GRAD' 0"},...z}):a.jsx(A,{className:r("size-4",b),style:{fontVariationSettings:"'wght' 400, 'opsz' 24, 'FILL' 0, 'GRAD' 0"},...z}),DayButton:se,WeekNumber:({children:b,...h})=>a.jsx("td",{...h,children:a.jsx("div",{className:"flex size-(--cell-size) items-center justify-center text-center",children:b})}),...u},...p})}function se({className:e,day:t,modifiers:n,...s}){const d=q.getDefaultClassNames(),c=g.useRef(null);return g.useEffect(()=>{var u;n.focused&&((u=c.current)==null||u.focus())},[n.focused]),a.jsx(N,{ref:c,variant:"ghost",size:"icon","data-day":t.date.toLocaleDateString(),"data-selected-single":n.selected&&!n.range_start&&!n.range_end&&!n.range_middle,"data-range-start":n.range_start,"data-range-end":n.range_end,"data-range-middle":n.range_middle,className:r("data-[selected-single=true]:bg-primary data-[selected-single=true]:text-primary-foreground data-[range-middle=true]:bg-muted data-[range-middle=true]:text-foreground data-[range-start=true]:bg-primary data-[range-start=true]:text-primary-foreground data-[range-end=true]:bg-primary data-[range-end=true]:text-primary-foreground group-data-[focused=true]/day:border-ring group-data-[focused=true]/day:focus-visible:outline-none group-data-[focused=true]/day:focus-visible:ring-2 group-data-[focused=true]/day:focus-visible:ring-offset-2 group-data-[focused=true]/day:focus-visible:ring-ring dark:hover:text-foreground relative isolate z-10 flex aspect-square size-auto w-full min-w-(--cell-size) flex-col gap-1 border-0 leading-none font-normal group-data-[focused=true]/day:relative group-data-[focused=true]/day:z-10 data-[range-end=true]:rounded-input-sm data-[range-end=true]:rounded-r-input-sm data-[range-middle=true]:rounded-none data-[range-start=true]:rounded-input-sm data-[range-start=true]:rounded-l-input-sm [&>span]:text-xs [&>span]:opacity-70 rounded-input-sm",d.day,e),...s})}function Bt({className:e,size:t="default",...n}){return a.jsx("div",{"data-slot":"card","data-size":t,className:r("bg-card text-card-foreground gap-6 overflow-hidden rounded-card py-6 text-sm ring-1 ring-border has-[>img:first-child]:pt-0 data-[size=sm]:gap-4 data-[size=sm]:py-4 *:[img:first-child]:rounded-t-none *:[img:last-child]:rounded-b-none group/card flex flex-col",e),...n})}function Et({className:e,...t}){return a.jsx("div",{"data-slot":"card-header",className:r("gap-1.5 px-6 pb-6 group-data-[size=sm]/card:px-4 group-data-[size=sm]/card:pb-4 group/card-header @container/card-header grid auto-rows-min items-start has-data-[slot=card-action]:grid-cols-[1fr_auto] has-data-[slot=card-description]:grid-rows-[auto_auto]",e),...t})}function qt({className:e,...t}){return a.jsx("div",{"data-slot":"card-title",className:r("text-2xl font-semibold leading-none tracking-tight group-data-[size=sm]/card:text-lg",e),...t})}function Ht({className:e,...t}){return a.jsx("div",{"data-slot":"card-description",className:r("text-sm text-muted-foreground leading-5",e),...t})}function Ft({className:e,...t}){return a.jsx("div",{"data-slot":"card-action",className:r("col-start-2 row-span-2 row-start-1 self-start justify-self-end",e),...t})}function Ot({className:e,...t}){return a.jsx("div",{"data-slot":"card-content",className:r("px-6 pb-6 group-data-[size=sm]/card:px-4 group-data-[size=sm]/card:pb-4",e),...t})}function Qt({className:e,...t}){return a.jsx("div",{"data-slot":"card-footer",className:r("px-6 pb-6 group-data-[size=sm]/card:px-4 group-data-[size=sm]/card:pb-4 flex items-center gap-3",e),...t})}const de=g.createContext(null);function j(){const e=g.useContext(de);if(!e)throw new Error("useCarousel must be used within a <Carousel />");return e}function Zt({orientation:e="horizontal",opts:t,setApi:n,plugins:s,className:d,children:c,...u}){const[p,l]=Xe({...t,axis:e==="horizontal"?"x":"y"},s),[b,h]=g.useState(!1),[z,I]=g.useState(!1),S=g.useCallback(w=>{w&&(h(w.canScrollPrev()),I(w.canScrollNext()))},[]),M=g.useCallback(()=>{l==null||l.scrollPrev()},[l]),C=g.useCallback(()=>{l==null||l.scrollNext()},[l]),f=g.useCallback(w=>{w.key==="ArrowLeft"?(w.preventDefault(),M()):w.key==="ArrowRight"&&(w.preventDefault(),C())},[M,C]);return g.useEffect(()=>{!l||!n||n(l)},[l,n]),g.useEffect(()=>{if(l)return S(l),l.on("reInit",S),l.on("select",S),()=>{l==null||l.off("select",S)}},[l,S]),a.jsx(de.Provider,{value:{carouselRef:p,api:l,opts:t,orientation:e||((t==null?void 0:t.axis)==="y"?"vertical":"horizontal"),scrollPrev:M,scrollNext:C,canScrollPrev:b,canScrollNext:z},children:a.jsx("div",{onKeyDownCapture:f,className:r("relative",d),role:"region","aria-roledescription":"carousel","data-slot":"carousel",...u,children:c})})}function Vt({className:e,...t}){const{carouselRef:n,orientation:s}=j();return a.jsx("div",{ref:n,className:"overflow-hidden","data-slot":"carousel-content",children:a.jsx("div",{className:r("flex",s==="horizontal"?"-ml-4":"-mt-4 flex-col",e),...t})})}function Kt({className:e,...t}){const{orientation:n}=j();return a.jsx("div",{role:"group","aria-roledescription":"slide","data-slot":"carousel-item",className:r("min-w-0 shrink-0 grow-0 basis-full",n==="horizontal"?"pl-4":"pt-4",e),...t})}function $t({className:e,variant:t="outline",size:n="icon-sm",...s}){const{orientation:d,scrollPrev:c,canScrollPrev:u}=j();return a.jsxs(N,{"data-slot":"carousel-previous",variant:t,size:n,className:r("absolute touch-manipulation rounded-input-sm",d==="horizontal"?"top-1/2 -left-12 -translate-y-1/2":"-top-12 left-1/2 -translate-x-1/2 rotate-90",e),disabled:!u,onClick:c,...s,children:[a.jsx(Q,{}),a.jsx("span",{className:"sr-only",children:"Previous slide"})]})}function Wt({className:e,variant:t="outline",size:n="icon-sm",...s}){const{orientation:d,scrollNext:c,canScrollNext:u}=j();return a.jsxs(N,{"data-slot":"carousel-next",variant:t,size:n,className:r("absolute touch-manipulation rounded-input-sm",d==="horizontal"?"top-1/2 -right-12 -translate-y-1/2":"-bottom-12 left-1/2 -translate-x-1/2 rotate-90",e),disabled:!u,onClick:c,...s,children:[a.jsx(T,{}),a.jsx("span",{className:"sr-only",children:"Next slide"})]})}const Xt={light:"",dark:".dark"},le=g.createContext(null);function ce(){const e=g.useContext(le);if(!e)throw new Error("useChart must be used within a <ChartContainer />");return e}function Yt({id:e,className:t,children:n,config:s,...d}){const c=g.useId(),u=`chart-${e||c.replace(/:/g,"")}`;return a.jsx(le.Provider,{value:{config:s},children:a.jsxs("div",{"data-slot":"chart","data-chart":u,className:r("[&_.recharts-cartesian-axis-tick_text]:fill-[var(--muted-foreground)] [&_.recharts-cartesian-grid_line[stroke='#ccc']]:stroke-[var(--border)] [&_.recharts-curve.recharts-tooltip-cursor]:stroke-[var(--border)] [&_.recharts-polar-grid_[stroke='#ccc']]:stroke-[var(--border)] [&_.recharts-radial-bar-background-sector]:fill-[var(--muted)] [&_.recharts-rectangle.recharts-tooltip-cursor]:fill-[var(--muted)] [&_.recharts-reference-line_[stroke='#ccc']]:stroke-[var(--border)] flex aspect-video justify-center text-xs [&_.recharts-dot[stroke='#fff']]:stroke-transparent [&_.recharts-layer]:outline-hidden [&_.recharts-sector]:outline-hidden [&_.recharts-sector[stroke='#fff']]:stroke-transparent [&_.recharts-surface]:outline-hidden","chart-container",t),...d,children:[a.jsx(ue,{id:u,config:s}),a.jsx(F.ResponsiveContainer,{children:n})]})})}const ue=({id:e,config:t})=>{const n=Object.entries(t).filter(([,s])=>s.theme||s.color);return n.length?a.jsx("style",{dangerouslySetInnerHTML:{__html:Object.entries(Xt).map(([s,d])=>`
2
- ${d} [data-chart=${e}] {
3
- ${n.map(([c,u])=>{var l;const p=((l=u.theme)==null?void 0:l[s])||u.color;return p?` --color-${c}: ${p};`:null}).join(`
4
- `)}
5
- }
6
- `).join(`
7
- `)}}):null},Jt=F.Tooltip;function Ut({active:e,payload:t,className:n,indicator:s="dot",hideLabel:d=!1,hideIndicator:c=!1,label:u,labelFormatter:p,labelClassName:l,formatter:b,color:h,nameKey:z,labelKey:I}){const{config:S}=ce(),M=g.useMemo(()=>{var y;if(d||!(t!=null&&t.length))return null;const[f]=t,w=`${I||(f==null?void 0:f.dataKey)||(f==null?void 0:f.name)||"value"}`,P=Z(S,f,w),m=!I&&typeof u=="string"?((y=S[u])==null?void 0:y.label)||u:P==null?void 0:P.label;return p?a.jsx("div",{className:r("font-medium",l),children:p(m,t)}):m?a.jsx("div",{className:r("font-medium",l),children:m}):null},[u,p,t,d,l,S,I]);if(!e||!(t!=null&&t.length))return null;const C=t.length===1&&s!=="dot";return a.jsxs("div",{className:r("chart-tooltip","border border-[var(--border)] bg-[var(--background)] gap-1.5 rounded-popover px-2.5 py-1.5 text-xs shadow-xl grid min-w-[8rem] items-start",n),children:[C?null:M,a.jsx("div",{className:"chart-tooltip-content grid gap-1.5",children:t.filter(f=>f.type!=="none").map((f,w)=>{const P=`${z||f.name||f.dataKey||"value"}`,m=Z(S,f,P),y=h||f.payload.fill||f.color;return a.jsx("div",{className:r("[&>svg]:text-[var(--muted-foreground)] flex w-full flex-wrap items-stretch gap-2 [&>svg]:h-2.5 [&>svg]:w-2.5",s==="dot"&&"items-center"),children:b&&(f==null?void 0:f.value)!==void 0&&f.name?b(f.value,f.name,f,w,f.payload):a.jsxs(a.Fragment,{children:[m!=null&&m.icon?a.jsx(m.icon,{}):!c&&a.jsx("div",{className:r("shrink-0 rounded-[2px] border-[var(--color-border)] bg-[var(--color-bg)]",{"h-2.5 w-2.5":s==="dot","w-1":s==="line","w-0 border-[1.5px] border-dashed bg-transparent":s==="dashed","my-0.5":C&&s==="dashed"}),style:{"--color-bg":y,"--color-border":y}}),a.jsxs("div",{className:r("flex flex-1 justify-between leading-none",C?"items-end":"items-center"),children:[a.jsxs("div",{className:"grid gap-1.5",children:[C?M:null,a.jsx("span",{className:"text-[var(--muted-foreground)]",children:(m==null?void 0:m.label)||f.name})]}),f.value&&a.jsx("span",{className:"text-[var(--foreground)] font-mono font-medium tabular-nums",children:f.value.toLocaleString()})]})]})},f.dataKey)})})]})}const Rt=F.Legend;function ea({className:e,hideIcon:t=!1,payload:n,verticalAlign:s="bottom",nameKey:d}){const{config:c}=ce();return n!=null&&n.length?a.jsx("div",{className:r("flex items-center justify-center gap-4",s==="top"?"pb-3":"pt-3",e),children:n.filter(u=>u.type!=="none").map(u=>{const p=`${d||u.dataKey||"value"}`,l=Z(c,u,p);return a.jsxs("div",{className:r("[&>svg]:text-[var(--muted-foreground)] flex items-center gap-1.5 [&>svg]:h-3 [&>svg]:w-3"),children:[l!=null&&l.icon&&!t?a.jsx(l.icon,{}):a.jsx("div",{className:"h-2 w-2 shrink-0 rounded-[2px]",style:{backgroundColor:u.color}}),l==null?void 0:l.label]},u.value)})}):null}function Z(e,t,n){if(typeof t!="object"||t===null)return;const s="payload"in t&&typeof t.payload=="object"&&t.payload!==null?t.payload:void 0;let d=n;return n in t&&typeof t[n]=="string"?d=t[n]:s&&n in s&&typeof s[n]=="string"&&(d=s[n]),d in e?e[d]:e[n]}const k="data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='48'%20height='48'%20viewBox='0%20-960%20960%20960'%3e%3cpath%20d='M378-246%20154-470l43-43%20181%20181%20384-384%2043%2043-427%20427Z'/%3e%3c/svg%3e";function ta({className:e,...t}){return a.jsx(i.Checkbox.Root,{"data-slot":"checkbox",className:r("border-input-border bg-input data-checked:bg-primary data-checked:text-primary-foreground data-checked:border-primary aria-invalid:aria-checked:border-primary aria-invalid:border-destructive focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-offset-2 focus-visible:ring-ring aria-invalid:ring-2 aria-invalid:ring-offset-2 aria-invalid:ring-destructive flex size-4 items-center justify-center rounded-xs border transition-shadow group-has-disabled/field:opacity-50 peer relative shrink-0 disabled:cursor-not-allowed disabled:opacity-50 after:absolute after:-inset-x-3 after:-inset-y-2",e),...t,children:a.jsx(i.Checkbox.Indicator,{"data-slot":"checkbox-indicator",className:"[&>svg]:size-3.5 grid place-content-center text-current transition-none",children:a.jsx(k,{})})})}function aa({...e}){return a.jsx(i.Collapsible.Root,{"data-slot":"collapsible",...e})}function oa({...e}){return a.jsx(i.Collapsible.CollapsibleTrigger,{"data-slot":"collapsible-trigger",...e})}function ra({...e}){return a.jsx(i.Collapsible.CollapsibleContent,{"data-slot":"collapsible-content",...e})}function V({className:e,type:t,...n}){return a.jsx("input",{type:t,"data-slot":"input",className:r("border-input-border bg-input focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-offset-2 focus-visible:ring-ring aria-invalid:ring-2 aria-invalid:ring-offset-2 aria-invalid:ring-destructive h-9 rounded-input-sm border bg-input px-3 py-1 text-base transition-[color,box-shadow] file:h-7 file:text-sm file:font-medium md:text-sm file:text-foreground placeholder:text-muted-foreground w-full min-w-0 file:inline-flex file:border-0 file:bg-transparent disabled:pointer-events-none disabled:cursor-not-allowed disabled:opacity-50",e),...n})}function ge({className:e,...t}){return a.jsx("textarea",{"data-slot":"textarea",className:r("border-input-border bg-input focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-offset-2 focus-visible:ring-ring aria-invalid:ring-2 aria-invalid:ring-offset-2 aria-invalid:ring-destructive rounded-input-area border px-2.5 py-2 text-base transition-[color,box-shadow] md:text-sm placeholder:text-muted-foreground flex field-sizing-content min-h-16 w-full disabled:cursor-not-allowed disabled:opacity-50",e),...t})}function K({className:e,...t}){return a.jsx("div",{"data-slot":"input-group",role:"group",className:r("border-input-border bg-input has-[[data-slot=input-group-control]:focus-visible]:outline-none has-[[data-slot=input-group-control]:focus-visible]:ring-2 has-[[data-slot=input-group-control]:focus-visible]:ring-offset-2 has-[[data-slot=input-group-control]:focus-visible]:ring-ring has-[[data-slot][aria-invalid=true]]:ring-2 has-[[data-slot][aria-invalid=true]]:ring-offset-2 has-[[data-slot][aria-invalid=true]]:ring-destructive h-9 rounded-input-sm border transition-[color,box-shadow] has-[>textarea]:h-auto group/input-group relative flex w-full min-w-0 items-center outline-none [[data-slot=combobox-content]_&]:focus-within:border-inherit [[data-slot=combobox-content]_&]:focus-within:ring-0",e),...t})}const na=x.cva("text-muted-foreground h-auto ml-1.5 gap-2 py-1.5 text-sm font-medium group-data-[disabled=true]/input-group:opacity-50 [&>kbd]:rounded-input-sm [&>svg:not([class*='size-'])]:size-4 flex cursor-text items-center justify-center select-none",{variants:{align:{"inline-start":"pl-2 has-[>button]:ml-[-0.25rem] has-[>kbd]:ml-[-0.15rem] order-first","inline-end":"pr-2 has-[>button]:mr-[-0.25rem] has-[>kbd]:mr-[-0.15rem] order-last","block-start":"px-2.5 pt-2 group-has-[>input]/input-group:pt-2 [.border-b]:pb-2 order-first w-full justify-start","block-end":"px-2.5 pb-2 group-has-[>input]/input-group:pb-2 [.border-t]:pt-2 order-last w-full justify-start"}},defaultVariants:{align:"inline-start"}});function $({className:e,align:t="inline-start",...n}){return a.jsx("div",{role:"group","data-slot":"input-group-addon","data-align":t,className:r(na({align:t}),e),onClick:s=>{var d,c;s.target.closest("button")||(c=(d=s.currentTarget.parentElement)==null?void 0:d.querySelector("input"))==null||c.focus()},...n})}const ia=x.cva("gap-2 text-sm shadow-none border-0 mr-1.5 rounded-input-sm bg-transparent focus-visible:ring-0 flex items-center",{variants:{size:{xs:"h-6 gap-1 px-1.5 [&>svg:not([class*='size-'])]:size-3.5",sm:"","icon-xs":"size-6 p-0 has-[>svg]:p-0","icon-sm":"size-8 p-0 has-[>svg]:p-0"}},defaultVariants:{size:"xs"}});function W({className:e,type:t="button",variant:n="ghost",size:s="xs",...d}){return a.jsx(N,{type:t,"data-size":s,variant:n,className:r(ia({size:s}),e),...d})}function sa({className:e,...t}){return a.jsx("span",{className:r("text-muted-foreground gap-2 text-sm [&_svg:not([class*='size-'])]:size-4 flex items-center [&_svg]:pointer-events-none",e),...t})}function fe({className:e,...t}){return a.jsx(V,{"data-slot":"input-group-control",className:r("rounded-none border-0 bg-transparent shadow-none ring-0 ring-offset-0 focus-visible:ring-0 focus-visible:ring-offset-0 aria-invalid:ring-0 aria-invalid:ring-offset-0 flex-1",e),...t})}function da({className:e,...t}){return a.jsx(ge,{"data-slot":"input-group-control",className:r("rounded-none border-0 bg-transparent py-2 shadow-none ring-0 ring-offset-0 focus-visible:ring-0 focus-visible:ring-offset-0 aria-invalid:ring-0 aria-invalid:ring-offset-0 flex-1 resize-none",e),...t})}const L="data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='48'%20height='48'%20viewBox='0%20-960%20960%20960'%3e%3cpath%20d='m249-207-42-42%20231-231-231-231%2042-42%20231%20231%20231-231%2042%2042-231%20231%20231%20231-42%2042-231-231-231%20231Z'/%3e%3c/svg%3e",la=v.Combobox.Root;function ca({...e}){return a.jsx(v.Combobox.Value,{"data-slot":"combobox-value",...e})}function pe({className:e,children:t,...n}){return a.jsxs(v.Combobox.Trigger,{"data-slot":"combobox-trigger",className:r("[&_svg:not([class*='size-'])]:size-4",e),...n,children:[t,a.jsx(A,{className:"text-muted-foreground size-4 pointer-events-none"})]})}function ua({className:e,...t}){return a.jsx(v.Combobox.Clear,{"data-slot":"combobox-clear",render:a.jsx(W,{variant:"ghost",size:"icon-xs"}),className:r(e),...t,children:a.jsx(L,{className:"pointer-events-none"})})}function ga({className:e,children:t,disabled:n=!1,showTrigger:s=!0,showClear:d=!1,...c}){return a.jsxs(K,{className:r("w-auto",e),children:[a.jsx(v.Combobox.Input,{render:a.jsx(fe,{disabled:n}),...c}),a.jsxs($,{align:"inline-end",children:[s&&a.jsx(W,{size:"icon-xs",variant:"ghost",asChild:!0,"data-slot":"input-group-button",className:"group-has-data-[slot=combobox-clear]/input-group:hidden data-pressed:bg-transparent",disabled:n,children:a.jsx(pe,{})}),d&&a.jsx(ua,{disabled:n})]}),t]})}function fa({className:e,side:t="bottom",sideOffset:n=6,align:s="start",alignOffset:d=0,anchor:c,...u}){return a.jsx(v.Combobox.Portal,{children:a.jsx(v.Combobox.Positioner,{side:t,sideOffset:n,align:s,alignOffset:d,anchor:c,className:"isolate z-50",children:a.jsx(v.Combobox.Popup,{"data-slot":"combobox-content","data-chips":!!c,className:r("bg-popover text-popover-foreground data-open:animate-in data-closed:animate-out data-closed:fade-out-0 data-open:fade-in-0 data-closed:zoom-out-95 data-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 *:data-[slot=input-group]:bg-input/30 *:data-[slot=input-group]:border-input-border/30 max-h-72 min-w-36 overflow-hidden rounded-popover shadow-md ring-1 ring-foreground/10 duration-100 *:data-[slot=input-group]:m-1 *:data-[slot=input-group]:mb-0 *:data-[slot=input-group]:h-8 *:data-[slot=input-group]:shadow-none group/combobox-content relative max-h-(--available-height) w-(--anchor-width) max-w-(--available-width) min-w-[calc(var(--anchor-width)+--spacing(7))] origin-(--transform-origin) data-[chips=true]:min-w-(--anchor-width) p-2",e),...u})})})}function pa({className:e,...t}){return a.jsx(v.Combobox.List,{"data-slot":"combobox-list",className:r("no-scrollbar max-h-[min(calc(--spacing(72)---spacing(9)),calc(var(--available-height)---spacing(9)))] scroll-py-1 overflow-y-auto p-2 data-empty:p-0 overflow-y-auto overscroll-contain",e),...t})}function ba({className:e,children:t,...n}){return a.jsxs(v.Combobox.Item,{"data-slot":"combobox-item",className:r("data-highlighted:bg-accent data-highlighted:text-accent-foreground not-data-[variant=destructive]:data-highlighted:**:text-accent-foreground gap-2 rounded-input-area p-1 py-1.5 pr-8 pl-2 text-sm [&_svg:not([class*='size-'])]:size-4 relative flex w-full cursor-default items-center outline-hidden select-none data-[disabled]:pointer-events-none data-[disabled]:opacity-50 [&_svg]:pointer-events-none [&_svg]:shrink-0",e),...n,children:[t,a.jsx(v.Combobox.ItemIndicator,{render:a.jsx("span",{className:"pointer-events-none absolute right-2 flex size-4 items-center justify-center"}),children:a.jsx(k,{className:"pointer-events-none"})})]})}function ma({className:e,...t}){return a.jsx(v.Combobox.Group,{"data-slot":"combobox-group",className:r(e),...t})}function va({className:e,...t}){return a.jsx(v.Combobox.GroupLabel,{"data-slot":"combobox-label",className:r("text-muted-foreground px-2 py-1.5 text-xs",e),...t})}function ha({...e}){return a.jsx(v.Combobox.Collection,{"data-slot":"combobox-collection",...e})}function wa({className:e,...t}){return a.jsx(v.Combobox.Empty,{"data-slot":"combobox-empty",className:r("text-muted-foreground hidden w-full justify-center py-2 text-center text-sm group-data-empty/combobox-content:flex",e),...t})}function xa({className:e,...t}){return a.jsx(v.Combobox.Separator,{"data-slot":"combobox-separator",className:r("bg-border -mx-1 my-1 h-px",e),...t})}function Na({className:e,...t}){return a.jsx(v.Combobox.Chips,{"data-slot":"combobox-chips",className:r("dark:bg-input border-input-border focus-within:border-ring focus-within:focus-visible:outline-none focus-within:focus-visible:ring-2 focus-within:focus-visible:ring-offset-2 focus-within:focus-visible:ring-ring has-aria-invalid:ring-2 has-aria-invalid:ring-offset-2 has-aria-invalid:ring-destructive has-aria-invalid:border-destructive dark:has-aria-invalid:border-destructive flex min-h-9 flex-wrap items-center gap-1.5 rounded-input-area border bg-transparent bg-clip-padding px-2.5 py-1.5 text-sm transition-[color,box-shadow] has-data-[slot=combobox-chip]:px-1.5",e),...t})}function za({className:e,children:t,showRemove:n=!0,...s}){return a.jsxs(v.Combobox.Chip,{"data-slot":"combobox-chip",className:r("bg-muted text-foreground flex h-[calc(--spacing(5.5))] w-fit items-center justify-center gap-1 rounded-input-area px-1.5 text-xs font-medium whitespace-nowrap has-data-[slot=combobox-chip-remove]:pr-0 has-disabled:pointer-events-none has-disabled:cursor-not-allowed has-disabled:opacity-50",e),...s,children:[t,n&&a.jsx(v.Combobox.ChipRemove,{render:a.jsx(N,{variant:"ghost",size:"icon-xs"}),className:"-ml-1 opacity-50 hover:opacity-100","data-slot":"combobox-chip-remove",children:a.jsx(L,{className:"pointer-events-none"})})]})}function ya({className:e,...t}){return a.jsx(v.Combobox.Input,{"data-slot":"combobox-chip-input",className:r("min-w-16 flex-1 outline-none",e),...t})}function Ca(){return g.useRef(null)}function be({...e}){return a.jsx(i.Dialog.Root,{"data-slot":"dialog",...e})}function Sa({...e}){return a.jsx(i.Dialog.Trigger,{"data-slot":"dialog-trigger",...e})}function me({...e}){return a.jsx(i.Dialog.Portal,{"data-slot":"dialog-portal",...e})}function Ma({...e}){return a.jsx(i.Dialog.Close,{"data-slot":"dialog-close",...e})}function ve({className:e,...t}){return a.jsx(i.Dialog.Overlay,{"data-slot":"dialog-overlay",className:r("data-open:animate-in data-closed:animate-out data-closed:fade-out-0 data-open:fade-in-0 bg-overlay duration-100 supports-backdrop-filter:backdrop-blur-xs fixed inset-0 isolate z-50",e),...t})}function he({className:e,children:t,showCloseButton:n=!0,overlayClassName:s,...d}){return a.jsxs(me,{children:[a.jsx(ve,{className:s}),a.jsxs(i.Dialog.Content,{"data-slot":"dialog-content",className:r("bg-popover data-open:animate-in data-closed:animate-out data-closed:fade-out-0 data-open:fade-in-0 data-closed:zoom-out-95 data-open:zoom-in-95 shadow-lg grid max-w-[calc(100%-2rem)] gap-6 rounded-card p-6 text-sm duration-100 sm:max-w-md fixed top-1/2 left-1/2 z-50 w-full -translate-x-1/2 -translate-y-1/2",e),...d,children:[t,n&&a.jsx(i.Dialog.Close,{"data-slot":"dialog-close",asChild:!0,children:a.jsxs(N,{variant:"ghost",className:"absolute top-4 right-4",size:"icon-sm",children:[a.jsx(L,{}),a.jsx("span",{className:"sr-only",children:"Close"})]})})]})]})}function we({className:e,...t}){return a.jsx("div",{"data-slot":"dialog-header",className:r("gap-2 flex flex-col",e),...t})}function ka({className:e,showCloseButton:t=!1,children:n,...s}){return a.jsxs("div",{"data-slot":"dialog-footer",className:r("gap-2 flex flex-col-reverse gap-2 sm:flex-row sm:justify-end",e),...s,children:[n,t&&a.jsx(i.Dialog.Close,{asChild:!0,children:a.jsx(N,{variant:"outline",children:"Close"})})]})}function xe({className:e,...t}){return a.jsx(i.Dialog.Title,{"data-slot":"dialog-title",className:r("leading-none font-medium",e),...t})}function Ne({className:e,...t}){return a.jsx(i.Dialog.Description,{"data-slot":"dialog-description",className:r("text-muted-foreground *:[a]:hover:text-foreground text-sm *:[a]:underline *:[a]:underline-offset-3",e),...t})}const _a="data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='48'%20height='48'%20viewBox='0%20-960%20960%20960'%3e%3cpath%20d='M796-121%20533-384q-30%2026-69.96%2040.5Q423.08-329%20378-329q-108.16%200-183.08-75Q120-479%20120-585t75-181q75-75%20181.5-75t181%2075Q632-691%20632-584.85%20632-542%20618-502q-14%2040-42%2075l264%20262-44%2044ZM377-389q81.25%200%20138.13-57.5Q572-504%20572-585t-56.87-138.5Q458.25-781%20377-781q-82.08%200-139.54%2057.5Q180-666%20180-585t57.46%20138.5Q294.92-389%20377-389Z'/%3e%3c/svg%3e";function ze({className:e,...t}){return a.jsx(D.Command,{"data-slot":"command",className:r("bg-popover text-popover-foreground rounded-popover p-1 flex size-full flex-col overflow-hidden",e),...t})}function Da({title:e="Command Palette",description:t="Search for a command to run...",children:n,className:s,showCloseButton:d=!1,...c}){return a.jsxs(be,{...c,children:[a.jsxs(we,{className:"sr-only",children:[a.jsx(xe,{children:e}),a.jsx(Ne,{children:t})]}),a.jsx(he,{className:r("rounded-popover overflow-hidden p-0",s),showCloseButton:d,children:a.jsx(ze,{children:n})})]})}function Ta({className:e,...t}){return a.jsx("div",{"data-slot":"command-input-wrapper",className:"p-1 pb-0",children:a.jsxs(K,{className:"bg-input border-input h-8! rounded-input-area! shadow-none! *:data-[slot=input-group-addon]:pl-2!",children:[a.jsx(D.Command.Input,{"data-slot":"command-input",className:r("w-full text-sm outline-hidden disabled:cursor-not-allowed disabled:opacity-50",e),...t}),a.jsx($,{children:a.jsx(_a,{className:"size-4 shrink-0 opacity-50"})})]})})}function Ia({className:e,...t}){return a.jsx(D.Command.List,{"data-slot":"command-list",className:r("no-scrollbar max-h-72 scroll-py-1 outline-none overflow-x-hidden overflow-y-auto",e),...t})}function Pa({className:e,...t}){return a.jsx(D.Command.Empty,{"data-slot":"command-empty",className:r("py-6 text-center text-sm",e),...t})}function Aa({className:e,...t}){return a.jsx(D.Command.Group,{"data-slot":"command-group",className:r("text-foreground [&_[cmdk-group-heading]]:text-muted-foreground overflow-hidden p-1 [&_[cmdk-group-heading]]:px-2 [&_[cmdk-group-heading]]:py-1.5 [&_[cmdk-group-heading]]:text-xs [&_[cmdk-group-heading]]:font-medium",e),...t})}function Ga({className:e,...t}){return a.jsx(D.Command.Separator,{"data-slot":"command-separator",className:r("bg-border -mx-1 h-px w-auto",e),...t})}function ja({className:e,children:t,...n}){return a.jsxs(D.Command.Item,{"data-slot":"command-item",className:r("data-selected:bg-accent data-selected:text-accent-foreground data-selected:**:[svg]:text-accent-foreground relative flex cursor-default items-center gap-2 rounded-input-area px-2 py-1.5 text-sm outline-hidden select-none [&_svg:not([class*='size-'])]:size-4 [[data-slot=dialog-content]_&]:rounded-input-area! group/command-item data-[disabled=true]:pointer-events-none data-[disabled=true]:opacity-50 [&_svg]:pointer-events-none [&_svg]:shrink-0",e),...n,children:[t,a.jsx(k,{className:"ml-auto opacity-0 group-has-[[data-slot=command-shortcut]]/command-item:hidden group-data-[checked=true]/command-item:opacity-100"})]})}function La({className:e,...t}){return a.jsx("span",{"data-slot":"command-shortcut",className:r("text-muted-foreground group-data-selected/command-item:text-accent-foreground ml-auto text-xs tracking-widest",e),...t})}function Ba({...e}){return a.jsx(i.ContextMenu.Root,{"data-slot":"context-menu",...e})}function Ea({className:e,...t}){return a.jsx(i.ContextMenu.Trigger,{"data-slot":"context-menu-trigger",className:r("select-none",e),...t})}function qa({...e}){return a.jsx(i.ContextMenu.Group,{"data-slot":"context-menu-group",...e})}function Ha({...e}){return a.jsx(i.ContextMenu.Portal,{"data-slot":"context-menu-portal",...e})}function Fa({...e}){return a.jsx(i.ContextMenu.Sub,{"data-slot":"context-menu-sub",...e})}function Oa({...e}){return a.jsx(i.ContextMenu.RadioGroup,{"data-slot":"context-menu-radio-group",...e})}function Qa({className:e,...t}){return a.jsx(i.ContextMenu.Portal,{children:a.jsx(i.ContextMenu.Content,{"data-slot":"context-menu-content",className:r("data-open:animate-in data-closed:animate-out data-closed:fade-out-0 data-open:fade-in-0 data-closed:zoom-out-95 data-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 ring-foreground/10 bg-popover text-popover-foreground min-w-36 rounded-popover p-1 shadow-md ring-1 duration-100 z-50 max-h-(--radix-context-menu-content-available-height) origin-(--radix-context-menu-content-transform-origin) overflow-x-hidden overflow-y-auto",e),...t})})}function Za({className:e,inset:t,variant:n="default",...s}){return a.jsx(i.ContextMenu.Item,{"data-slot":"context-menu-item","data-inset":t,"data-variant":n,className:r("focus:bg-accent focus:text-accent-foreground data-[variant=destructive]:text-destructive data-[variant=destructive]:focus:bg-destructive/10 dark:data-[variant=destructive]:focus:bg-destructive/20 data-[variant=destructive]:focus:text-destructive data-[variant=destructive]:*:[svg]:text-destructive focus:*:[svg]:text-accent-foreground gap-2 rounded-input-area px-2 py-1.5 text-sm [&_svg:not([class*='size-'])]:size-4 group/context-menu-item relative flex cursor-default items-center outline-hidden select-none data-[disabled]:pointer-events-none data-[disabled]:opacity-50 data-[inset]:pl-8 [&_svg]:pointer-events-none [&_svg]:shrink-0",e),...s})}function Va({className:e,inset:t,children:n,...s}){return a.jsxs(i.ContextMenu.SubTrigger,{"data-slot":"context-menu-sub-trigger","data-inset":t,className:r("focus:bg-accent focus:text-accent-foreground data-open:bg-accent data-open:text-accent-foreground rounded-input-area px-2 py-1.5 text-sm [&_svg:not([class*='size-'])]:size-4 flex cursor-default items-center outline-hidden select-none data-[inset]:pl-8 [&_svg]:pointer-events-none [&_svg]:shrink-0",e),...s,children:[n,a.jsx(T,{className:"ml-auto"})]})}function Ka({className:e,...t}){return a.jsx(i.ContextMenu.SubContent,{"data-slot":"context-menu-sub-content",className:r("data-open:animate-in data-closed:animate-out data-closed:fade-out-0 data-open:fade-in-0 data-closed:zoom-out-95 data-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 bg-popover text-popover-foreground min-w-32 rounded-popover border p-1 shadow-lg duration-100 z-50 origin-(--radix-context-menu-content-transform-origin) overflow-hidden",e),...t})}function $a({className:e,children:t,checked:n,...s}){return a.jsxs(i.ContextMenu.CheckboxItem,{"data-slot":"context-menu-checkbox-item",className:r("focus:bg-accent focus:text-accent-foreground gap-2 rounded-input-area py-1.5 pr-8 pl-2 text-sm [&_svg:not([class*='size-'])]:size-4 relative flex cursor-default items-center outline-hidden select-none data-[disabled]:pointer-events-none data-[disabled]:opacity-50 [&_svg]:pointer-events-none [&_svg]:shrink-0",e),checked:n,...s,children:[a.jsx("span",{className:"absolute right-2 pointer-events-none",children:a.jsx(i.ContextMenu.ItemIndicator,{children:a.jsx(k,{})})}),t]})}function Wa({className:e,children:t,...n}){return a.jsxs(i.ContextMenu.RadioItem,{"data-slot":"context-menu-radio-item",className:r("focus:bg-accent focus:text-accent-foreground gap-2 rounded-input-area py-1.5 pr-8 pl-2 text-sm [&_svg:not([class*='size-'])]:size-4 relative flex cursor-default items-center outline-hidden select-none data-[disabled]:pointer-events-none data-[disabled]:opacity-50 [&_svg]:pointer-events-none [&_svg]:shrink-0",e),...n,children:[a.jsx("span",{className:"absolute right-2 pointer-events-none",children:a.jsx(i.ContextMenu.ItemIndicator,{children:a.jsx(k,{})})}),t]})}function Xa({className:e,inset:t,...n}){return a.jsx(i.ContextMenu.Label,{"data-slot":"context-menu-label","data-inset":t,className:r("text-muted-foreground px-2 py-1.5 text-xs font-medium data-[inset]:pl-8",e),...n})}function Ya({className:e,...t}){return a.jsx(i.ContextMenu.Separator,{"data-slot":"context-menu-separator",className:r("bg-border -mx-1 my-1 h-px",e),...t})}function Ja({className:e,...t}){return a.jsx("span",{"data-slot":"context-menu-shortcut",className:r("text-muted-foreground group-focus/context-menu-item:text-accent-foreground ml-auto text-xs tracking-widest",e),...t})}function Ua({...e}){return a.jsx(_.Drawer.Root,{"data-slot":"drawer",...e})}function Ra({...e}){return a.jsx(_.Drawer.Trigger,{"data-slot":"drawer-trigger",...e})}function ye({...e}){return a.jsx(_.Drawer.Portal,{"data-slot":"drawer-portal",...e})}function eo({...e}){return a.jsx(_.Drawer.Close,{"data-slot":"drawer-close",...e})}function Ce({className:e,...t}){return a.jsx(_.Drawer.Overlay,{"data-slot":"drawer-overlay",className:r("data-open:animate-in data-closed:animate-out data-closed:fade-out-0 data-open:fade-in-0 bg-overlay supports-backdrop-filter:backdrop-blur-xs fixed inset-0 z-50",e),...t})}function to({className:e,children:t,overlayClassName:n,...s}){return a.jsxs(ye,{"data-slot":"drawer-portal",children:[a.jsx(Ce,{className:n}),a.jsxs(_.Drawer.Content,{"data-slot":"drawer-content",className:r("bg-background flex h-auto flex-col text-sm data-[vaul-drawer-direction=bottom]:inset-x-0 data-[vaul-drawer-direction=bottom]:bottom-0 data-[vaul-drawer-direction=bottom]:mt-24 data-[vaul-drawer-direction=bottom]:max-h-[80vh] data-[vaul-drawer-direction=bottom]:rounded-t-xl data-[vaul-drawer-direction=bottom]:border-t data-[vaul-drawer-direction=left]:inset-y-0 data-[vaul-drawer-direction=left]:left-0 data-[vaul-drawer-direction=left]:w-3/4 data-[vaul-drawer-direction=left]:rounded-r-xl data-[vaul-drawer-direction=left]:border-r data-[vaul-drawer-direction=right]:inset-y-0 data-[vaul-drawer-direction=right]:right-0 data-[vaul-drawer-direction=right]:w-3/4 data-[vaul-drawer-direction=right]:rounded-l-xl data-[vaul-drawer-direction=right]:border-l data-[vaul-drawer-direction=top]:inset-x-0 data-[vaul-drawer-direction=top]:top-0 data-[vaul-drawer-direction=top]:mb-24 data-[vaul-drawer-direction=top]:max-h-[80vh] data-[vaul-drawer-direction=top]:rounded-b-xl data-[vaul-drawer-direction=top]:border-b data-[vaul-drawer-direction=left]:sm:max-w-sm data-[vaul-drawer-direction=right]:sm:max-w-sm group/drawer-content fixed z-50",e),...s,children:[a.jsx("div",{className:"bg-muted mx-auto mt-4 hidden h-1.5 w-[100px] shrink-0 rounded-full group-data-[vaul-drawer-direction=bottom]/drawer-content:block bg-muted mx-auto hidden shrink-0 group-data-[vaul-drawer-direction=bottom]/drawer-content:block"}),t]})]})}function ao({className:e,...t}){return a.jsx("div",{"data-slot":"drawer-header",className:r("gap-0.5 p-4 group-data-[vaul-drawer-direction=bottom]/drawer-content:text-center group-data-[vaul-drawer-direction=top]/drawer-content:text-center md:gap-1.5 md:text-left flex flex-col",e),...t})}function oo({className:e,...t}){return a.jsx("div",{"data-slot":"drawer-footer",className:r("gap-2 p-4 mt-auto flex flex-col",e),...t})}function ro({className:e,...t}){return a.jsx(_.Drawer.Title,{"data-slot":"drawer-title",className:r("text-foreground font-medium",e),...t})}function no({className:e,...t}){return a.jsx(_.Drawer.Description,{"data-slot":"drawer-description",className:r("text-muted-foreground text-sm",e),...t})}function io({...e}){return a.jsx(i.DropdownMenu.Root,{"data-slot":"dropdown-menu",...e})}function so({...e}){return a.jsx(i.DropdownMenu.Portal,{"data-slot":"dropdown-menu-portal",...e})}function lo({...e}){return a.jsx(i.DropdownMenu.Trigger,{"data-slot":"dropdown-menu-trigger",...e})}function co({className:e,align:t="start",sideOffset:n=4,...s}){return a.jsx(i.DropdownMenu.Portal,{children:a.jsx(i.DropdownMenu.Content,{"data-slot":"dropdown-menu-content",sideOffset:n,align:t,className:r("data-open:animate-in data-closed:animate-out data-closed:fade-out-0 data-open:fade-in-0 data-closed:zoom-out-95 data-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 ring-foreground/10 bg-popover text-popover-foreground min-w-32 rounded-popover p-1 shadow-md ring-1 duration-100 z-50 max-h-(--radix-dropdown-menu-content-available-height) w-(--radix-dropdown-menu-trigger-width) origin-(--radix-dropdown-menu-content-transform-origin) overflow-x-hidden overflow-y-auto data-[state=closed]:overflow-hidden",e),...s})})}function uo({...e}){return a.jsx(i.DropdownMenu.Group,{"data-slot":"dropdown-menu-group",...e})}function go({className:e,inset:t,variant:n="default",...s}){return a.jsx(i.DropdownMenu.Item,{"data-slot":"dropdown-menu-item","data-inset":t,"data-variant":n,className:r("focus:bg-accent focus:text-accent-foreground data-[variant=destructive]:text-destructive data-[variant=destructive]:focus:bg-destructive/10 dark:data-[variant=destructive]:focus:bg-destructive/20 data-[variant=destructive]:focus:text-destructive data-[variant=destructive]:*:[svg]:text-destructive not-data-[variant=destructive]:focus:**:text-accent-foreground gap-2 rounded-input-area px-2 py-1.5 text-sm [&_svg:not([class*='size-'])]:size-4 group/dropdown-menu-item relative flex cursor-default items-center outline-hidden select-none data-[disabled]:pointer-events-none data-[disabled]:opacity-50 data-[inset]:pl-8 [&_svg]:pointer-events-none [&_svg]:shrink-0",e),...s})}function fo({className:e,children:t,checked:n,...s}){return a.jsxs(i.DropdownMenu.CheckboxItem,{"data-slot":"dropdown-menu-checkbox-item",className:r("focus:bg-accent focus:text-accent-foreground focus:**:text-accent-foreground gap-2 rounded-input-area py-1.5 pr-8 pl-2 text-sm [&_svg:not([class*='size-'])]:size-4 relative flex cursor-default items-center outline-hidden select-none data-[disabled]:pointer-events-none data-[disabled]:opacity-50 [&_svg]:pointer-events-none [&_svg]:shrink-0",e),checked:n,...s,children:[a.jsx("span",{className:"pointer-events-none absolute right-2 flex items-center justify-center pointer-events-none","data-slot":"dropdown-menu-checkbox-item-indicator",children:a.jsx(i.DropdownMenu.ItemIndicator,{children:a.jsx(k,{})})}),t]})}function po({...e}){return a.jsx(i.DropdownMenu.RadioGroup,{"data-slot":"dropdown-menu-radio-group",...e})}function bo({className:e,children:t,...n}){return a.jsxs(i.DropdownMenu.RadioItem,{"data-slot":"dropdown-menu-radio-item",className:r("focus:bg-accent focus:text-accent-foreground focus:**:text-accent-foreground gap-2 rounded-input-area py-1.5 pr-8 pl-2 text-sm [&_svg:not([class*='size-'])]:size-4 relative flex cursor-default items-center outline-hidden select-none data-[disabled]:pointer-events-none data-[disabled]:opacity-50 [&_svg]:pointer-events-none [&_svg]:shrink-0",e),...n,children:[a.jsx("span",{className:"pointer-events-none absolute right-2 flex items-center justify-center pointer-events-none","data-slot":"dropdown-menu-radio-item-indicator",children:a.jsx(i.DropdownMenu.ItemIndicator,{children:a.jsx(k,{})})}),t]})}function mo({className:e,inset:t,...n}){return a.jsx(i.DropdownMenu.Label,{"data-slot":"dropdown-menu-label","data-inset":t,className:r("text-muted-foreground px-2 py-1.5 text-xs font-medium data-[inset]:pl-8",e),...n})}function vo({className:e,...t}){return a.jsx(i.DropdownMenu.Separator,{"data-slot":"dropdown-menu-separator",className:r("bg-border -mx-1 my-1 h-px",e),...t})}function ho({className:e,...t}){return a.jsx("span",{"data-slot":"dropdown-menu-shortcut",className:r("text-muted-foreground group-focus/dropdown-menu-item:text-accent-foreground ml-auto text-xs tracking-widest",e),...t})}function wo({...e}){return a.jsx(i.DropdownMenu.Sub,{"data-slot":"dropdown-menu-sub",...e})}function xo({className:e,inset:t,children:n,...s}){return a.jsxs(i.DropdownMenu.SubTrigger,{"data-slot":"dropdown-menu-sub-trigger","data-inset":t,className:r("focus:bg-accent focus:text-accent-foreground data-open:bg-accent data-open:text-accent-foreground not-data-[variant=destructive]:focus:**:text-accent-foreground gap-2 rounded-input-area px-2 py-1.5 text-sm [&_svg:not([class*='size-'])]:size-4 flex cursor-default items-center outline-hidden select-none data-[inset]:pl-8 [&_svg]:pointer-events-none [&_svg]:shrink-0",e),...s,children:[n,a.jsx(T,{className:"ml-auto"})]})}function No({className:e,...t}){return a.jsx(i.DropdownMenu.SubContent,{"data-slot":"dropdown-menu-sub-content",className:r("data-open:animate-in data-closed:animate-out data-closed:fade-out-0 data-open:fade-in-0 data-closed:zoom-out-95 data-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 ring-foreground/10 bg-popover text-popover-foreground min-w-[96px] rounded-popover p-1 shadow-lg ring-1 duration-100 z-50 origin-(--radix-dropdown-menu-content-transform-origin) overflow-hidden",e),...t})}function zo({className:e,...t}){return a.jsx("div",{"data-slot":"empty",className:r("gap-4 rounded-lg border-dashed p-12 flex w-full min-w-0 flex-1 flex-col items-center justify-center text-center text-balance",e),...t})}function yo({className:e,...t}){return a.jsx("div",{"data-slot":"empty-header",className:r("gap-2 flex max-w-sm flex-col items-center",e),...t})}const Co=x.cva("mb-2 flex shrink-0 items-center justify-center [&_svg]:pointer-events-none [&_svg]:shrink-0",{variants:{variant:{default:"bg-transparent",icon:"bg-muted text-foreground flex size-10 shrink-0 items-center justify-center rounded-lg [&_svg:not([class*='size-'])]:size-6"}},defaultVariants:{variant:"default"}});function So({className:e,variant:t="default",...n}){return a.jsx("div",{"data-slot":"empty-icon","data-variant":t,className:r(Co({variant:t,className:e})),...n})}function Mo({className:e,...t}){return a.jsx("div",{"data-slot":"empty-title",className:r("text-lg font-medium tracking-tight",e),...t})}function ko({className:e,...t}){return a.jsx("div",{"data-slot":"empty-description",className:r("text-sm/relaxed text-muted-foreground [&>a:hover]:text-primary [&>a]:underline [&>a]:underline-offset-4",e),...t})}function _o({className:e,...t}){return a.jsx("div",{"data-slot":"empty-content",className:r("gap-4 text-sm flex w-full max-w-sm min-w-0 flex-col items-center text-balance",e),...t})}function Se({className:e,...t}){return a.jsx(i.Label.Root,{"data-slot":"label",className:r("gap-2 text-sm leading-none font-medium group-data-[disabled=true]:opacity-50 peer-disabled:opacity-50 flex items-center select-none group-data-[disabled=true]:pointer-events-none peer-disabled:cursor-not-allowed",e),...t})}function Do({className:e,...t}){return a.jsx("fieldset",{"data-slot":"field-set",className:r("gap-6 has-[>[data-slot=checkbox-group]]:gap-3 has-[>[data-slot=radio-group]]:gap-3 flex flex-col",e),...t})}function To({className:e,variant:t="legend",...n}){return a.jsx("legend",{"data-slot":"field-legend","data-variant":t,className:r("mb-3 font-medium data-[variant=label]:text-sm data-[variant=legend]:text-base",e),...n})}function Io({className:e,...t}){return a.jsx("div",{"data-slot":"field-group",className:r("gap-7 data-[slot=checkbox-group]:gap-3 [&>[data-slot=field-group]]:gap-4 group/field-group @container/field-group flex w-full flex-col",e),...t})}const Po=x.cva("data-[invalid=true]:text-destructive gap-3 group/field flex w-full",{variants:{orientation:{vertical:"flex-col [&>*]:w-full [&>.sr-only]:w-auto",horizontal:"flex-row items-center [&>[data-slot=field-label]]:flex-auto has-[>[data-slot=field-content]]:items-start has-[>[data-slot=field-content]]:[&>[role=checkbox],[role=radio]]:mt-px",responsive:"flex-col [&>*]:w-full [&>.sr-only]:w-auto @md/field-group:flex-row @md/field-group:items-center @md/field-group:[&>*]:w-auto @md/field-group:[&>[data-slot=field-label]]:flex-auto @md/field-group:has-[>[data-slot=field-content]]:items-start @md/field-group:has-[>[data-slot=field-content]]:[&>[role=checkbox],[role=radio]]:mt-px"}},defaultVariants:{orientation:"vertical"}});function Ao({className:e,orientation:t="vertical",...n}){return a.jsx("div",{role:"group","data-slot":"field","data-orientation":t,className:r(Po({orientation:t}),e),...n})}function Go({className:e,...t}){return a.jsx("div",{"data-slot":"field-content",className:r("gap-1 group/field-content flex flex-1 flex-col leading-snug",e),...t})}function jo({className:e,...t}){return a.jsx(Se,{"data-slot":"field-label",className:r("has-data-checked:bg-primary/5 has-data-checked:border-primary dark:has-data-checked:bg-primary/10 gap-2 group-data-[disabled=true]/field:opacity-50 has-[>[data-slot=field]]:rounded-input-sm has-[>[data-slot=field]]:border [&>*]:data-[slot=field]:p-3 group/field-label peer/field-label flex w-fit leading-snug","has-[>[data-slot=field]]:w-full has-[>[data-slot=field]]:flex-col",e),...t})}function Lo({className:e,...t}){return a.jsx("div",{"data-slot":"field-label",className:r("gap-2 text-sm font-medium group-data-[disabled=true]/field:opacity-50 flex w-fit items-center leading-snug",e),...t})}function Bo({className:e,...t}){return a.jsx("p",{"data-slot":"field-description",className:r("text-muted-foreground text-left text-sm [[data-variant=legend]+&]:-mt-1.5 leading-normal font-normal group-has-[[data-orientation=horizontal]]/field:text-balance","last:mt-0 nth-last-2:-mt-1","[&>a:hover]:text-primary [&>a]:underline [&>a]:underline-offset-4",e),...t})}function Eo({children:e,className:t,...n}){return a.jsxs("div",{"data-slot":"field-separator","data-content":!!e,className:r("-my-2 h-5 text-sm group-data-[variant=outline]/field-group:-mb-2 relative",t),...n,children:[a.jsx(G,{className:"absolute inset-0 top-1/2"}),e&&a.jsx("span",{className:"text-muted-foreground px-2 bg-background relative mx-auto block w-fit","data-slot":"field-separator-content",children:e})]})}function qo({className:e,children:t,errors:n,...s}){const d=R.useMemo(()=>{var u;if(t)return t;if(!(n!=null&&n.length))return null;const c=[...new Map(n.map(p=>[p==null?void 0:p.message,p])).values()];return(c==null?void 0:c.length)==1?(u=c[0])==null?void 0:u.message:a.jsx("ul",{className:"ml-4 flex list-disc flex-col gap-1",children:c.map((p,l)=>(p==null?void 0:p.message)&&a.jsx("li",{children:p.message},l))})},[t,n]);return d?a.jsx("div",{role:"alert","data-slot":"field-error",className:r("text-destructive text-sm font-normal",e),...s,children:d}):null}function Ho({...e}){return a.jsx(i.HoverCard.Root,{"data-slot":"hover-card",...e})}function Fo({...e}){return a.jsx(i.HoverCard.Trigger,{"data-slot":"hover-card-trigger",...e})}function Oo({className:e,align:t="center",sideOffset:n=4,...s}){return a.jsx(i.HoverCard.Portal,{"data-slot":"hover-card-portal",children:a.jsx(i.HoverCard.Content,{"data-slot":"hover-card-content",align:t,sideOffset:n,className:r("data-open:animate-in data-closed:animate-out data-closed:fade-out-0 data-open:fade-in-0 data-closed:zoom-out-95 data-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 ring-foreground/10 bg-popover text-popover-foreground w-64 rounded-popover p-4 text-sm shadow-md ring-1 duration-100 z-50 origin-(--radix-hover-card-content-transform-origin) outline-hidden",e),...s})})}const Qo="data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='48'%20height='48'%20viewBox='0%20-960%20960%20960'%3e%3cpath%20d='M200-450v-60h560v60H200Z'/%3e%3c/svg%3e";function Zo({className:e,containerClassName:t,...n}){return a.jsx(ee.OTPInput,{"data-slot":"input-otp",containerClassName:r("cn-input-otp flex items-center has-disabled:opacity-50",t),spellCheck:!1,className:r("disabled:cursor-not-allowed",e),...n})}function Vo({className:e,...t}){return a.jsx("div",{"data-slot":"input-otp-group",className:r("has-aria-invalid:ring-2 has-aria-invalid:ring-offset-2 has-aria-invalid:ring-destructive rounded-input-sm flex items-center",e),...t})}function Ko({index:e,className:t,...n}){const s=g.useContext(ee.OTPInputContext),{char:d,hasFakeCaret:c,isActive:u}=(s==null?void 0:s.slots[e])??{};return s==null||s.slots.length,a.jsxs("div",{"data-slot":"input-otp-slot","data-active":u,className:r("bg-input border-input-border data-[active=true]:border-transparent data-[active=true]:outline-none data-[active=true]:ring-2 data-[active=true]:ring-offset-2 data-[active=true]:ring-ring data-[active=true]:aria-invalid:ring-2 data-[active=true]:aria-invalid:ring-offset-2 data-[active=true]:aria-invalid:ring-destructive aria-invalid:border-destructive data-[active=true]:aria-invalid:border-destructive size-9 border-y border-r text-sm transition-all first:rounded-l-input-sm first:border-l last:rounded-r-input-sm data-[active=true]:z-10 relative flex items-center justify-center",t),...n,children:[d,c&&a.jsx("div",{className:"pointer-events-none absolute inset-0 flex items-center justify-center",children:a.jsx("div",{className:"animate-caret-blink bg-foreground h-4 w-px duration-1000"})})]})}function $o({...e}){return a.jsx("div",{"data-slot":"input-otp-separator",className:"[&_svg:not([class*='size-'])]:size-4 flex items-center",role:"separator",...e,children:a.jsx(Qo,{})})}function Wo({className:e,...t}){return a.jsx("div",{role:"list","data-slot":"item-group",className:r("gap-4 has-[[data-size=sm]]:gap-2.5 has-[[data-size=xs]]:gap-2 group/item-group flex w-full flex-col",e),...t})}function Xo({className:e,...t}){return a.jsx(G,{"data-slot":"item-separator",orientation:"horizontal",className:r("my-2",e),...t})}const Yo=x.cva("[a]:hover:bg-muted rounded-input-sm border text-sm w-full group/item focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-offset-2 focus-visible:ring-ring flex items-center flex-wrap transition-colors duration-100 [a]:transition-colors",{variants:{variant:{default:"border-transparent",outline:"border-border",muted:"bg-muted/50 border-transparent"},size:{default:"gap-3.5 px-4 py-3.5",sm:"gap-2.5 px-3 py-2.5",xs:"gap-2 px-2.5 py-2 [[data-slot=dropdown-menu-content]_&]:p-0"}},defaultVariants:{variant:"default",size:"default"}});function Jo({className:e,variant:t="default",size:n="default",asChild:s=!1,...d}){const c=s?i.Slot.Root:"div";return a.jsx(c,{"data-slot":"item","data-variant":t,"data-size":n,className:r(Yo({variant:t,size:n,className:e})),...d})}const Uo=x.cva("gap-2 group-has-[[data-slot=item-description]]/item:translate-y-0.5 group-has-[[data-slot=item-description]]/item:self-start flex shrink-0 items-center justify-center [&_svg]:pointer-events-none",{variants:{variant:{default:"bg-transparent",icon:"[&_svg:not([class*='size-'])]:size-4",image:"size-10 overflow-hidden rounded-input-sm group-data-[size=sm]/item:size-8 group-data-[size=xs]/item:size-6 [&_img]:size-full [&_img]:object-cover"}},defaultVariants:{variant:"default"}});function Ro({className:e,variant:t="default",...n}){return a.jsx("div",{"data-slot":"item-media","data-variant":t,className:r(Uo({variant:t,className:e})),...n})}function er({className:e,...t}){return a.jsx("div",{"data-slot":"item-content",className:r("gap-1 group-data-[size=xs]/item:gap-0 flex flex-1 flex-col [&+[data-slot=item-content]]:flex-none",e),...t})}function tr({className:e,...t}){return a.jsx("div",{"data-slot":"item-title",className:r("gap-2 text-sm leading-snug font-medium underline-offset-4 line-clamp-1 flex w-fit items-center",e),...t})}function ar({className:e,...t}){return a.jsx("p",{"data-slot":"item-description",className:r("text-muted-foreground text-left text-sm leading-normal group-data-[size=xs]/item:text-xs [&>a:hover]:text-primary line-clamp-2 font-normal [&>a]:underline [&>a]:underline-offset-4",e),...t})}function or({className:e,...t}){return a.jsx("div",{"data-slot":"item-actions",className:r("gap-2 flex items-center",e),...t})}function rr({className:e,...t}){return a.jsx("div",{"data-slot":"item-header",className:r("gap-2 flex basis-full items-center justify-between",e),...t})}function nr({className:e,...t}){return a.jsx("div",{"data-slot":"item-footer",className:r("gap-2 flex basis-full items-center justify-between",e),...t})}function ir({className:e,...t}){return a.jsx("kbd",{"data-slot":"kbd",className:r("bg-muted text-muted-foreground [[data-slot=tooltip-content]_&]:bg-background/20 [[data-slot=tooltip-content]_&]:text-background dark:[[data-slot=tooltip-content]_&]:bg-background/10 h-5 w-fit min-w-5 gap-1 rounded-input-sm px-1 font-sans text-xs font-medium [&_svg:not([class*='size-'])]:size-3 pointer-events-none inline-flex items-center justify-center select-none",e),...t})}function sr({className:e,...t}){return a.jsx("kbd",{"data-slot":"kbd-group",className:r("gap-1 inline-flex items-center",e),...t})}function dr({className:e,...t}){return a.jsx(i.Menubar.Root,{"data-slot":"menubar",className:r("bg-background h-9 gap-1 rounded-input-md border p-1 flex items-center",e),...t})}function lr({...e}){return a.jsx(i.Menubar.Menu,{"data-slot":"menubar-menu",...e})}function cr({...e}){return a.jsx(i.Menubar.Group,{"data-slot":"menubar-group",...e})}function Me({...e}){return a.jsx(i.Menubar.Portal,{"data-slot":"menubar-portal",...e})}function ur({...e}){return a.jsx(i.Menubar.RadioGroup,{"data-slot":"menubar-radio-group",...e})}function gr({className:e,...t}){return a.jsx(i.Menubar.Trigger,{"data-slot":"menubar-trigger",className:r("hover:bg-primary hover:text-primary-foreground aria-expanded:bg-primary aria-expanded:text-primary-foreground rounded-input-sm px-2 py-1 text-sm font-medium flex items-center outline-hidden select-none",e),...t})}function fr({className:e,align:t="start",alignOffset:n=-4,sideOffset:s=8,...d}){return a.jsx(Me,{children:a.jsx(i.Menubar.Content,{"data-slot":"menubar-content",align:t,alignOffset:n,sideOffset:s,className:r("bg-popover text-popover-foreground data-open:animate-in data-open:fade-in-0 data-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 ring-foreground/10 min-w-36 rounded-popover p-1 shadow-md ring-1 duration-100 z-50 origin-(--radix-menubar-content-transform-origin) overflow-hidden",e),...d})})}function pr({className:e,inset:t,variant:n="default",...s}){return a.jsx(i.Menubar.Item,{"data-slot":"menubar-item","data-inset":t,"data-variant":n,className:r("focus:bg-accent focus:text-accent-foreground data-[variant=destructive]:text-destructive data-[variant=destructive]:focus:bg-destructive/10 data-[variant=destructive]:focus:text-destructive data-[variant=destructive]:*:[svg]:!text-destructive not-data-[variant=destructive]:focus:**:text-accent-foreground gap-2 rounded-input-area px-2 py-1.5 text-sm data-[disabled]:opacity-50 data-[inset]:pl-8 [&_svg:not([class*='size-'])]:size-4 group/menubar-item relative flex cursor-default items-center outline-hidden select-none data-[disabled]:pointer-events-none [&_svg]:pointer-events-none [&_svg]:shrink-0",e),...s})}function br({className:e,children:t,checked:n,...s}){return a.jsxs(i.Menubar.CheckboxItem,{"data-slot":"menubar-checkbox-item",className:r("focus:bg-accent focus:text-accent-foreground focus:**:text-accent-foreground gap-2 rounded-input-area py-1.5 pr-2 pl-8 text-sm data-disabled:opacity-50 [&_svg:not([class*='size-'])]:size-4 relative flex cursor-default items-center outline-hidden select-none data-disabled:pointer-events-none [&_svg]:pointer-events-none [&_svg]:shrink-0",e),checked:n,...s,children:[a.jsx("span",{className:"left-2 size-4 [&_svg:not([class*='size-'])]:size-4 pointer-events-none absolute flex items-center justify-center",children:a.jsx(i.Menubar.ItemIndicator,{children:a.jsx(k,{})})}),t]})}function mr({className:e,children:t,...n}){return a.jsxs(i.Menubar.RadioItem,{"data-slot":"menubar-radio-item",className:r("focus:bg-accent focus:text-accent-foreground focus:**:text-accent-foreground gap-2 rounded-input-area py-1.5 pr-2 pl-8 text-sm data-disabled:opacity-50 [&_svg:not([class*='size-'])]:size-4 relative flex cursor-default items-center outline-hidden select-none data-disabled:pointer-events-none [&_svg]:pointer-events-none [&_svg]:shrink-0",e),...n,children:[a.jsx("span",{className:"left-2 size-4 [&_svg:not([class*='size-'])]:size-4 pointer-events-none absolute flex items-center justify-center",children:a.jsx(i.Menubar.ItemIndicator,{children:a.jsx(k,{})})}),t]})}function vr({className:e,inset:t,...n}){return a.jsx(i.Menubar.Label,{"data-slot":"menubar-label","data-inset":t,className:r("px-2 py-1.5 text-sm font-medium data-[inset]:pl-8",e),...n})}function hr({className:e,...t}){return a.jsx(i.Menubar.Separator,{"data-slot":"menubar-separator",className:r("bg-border -mx-1 my-1 h-px",e),...t})}function wr({className:e,...t}){return a.jsx("span",{"data-slot":"menubar-shortcut",className:r("text-muted-foreground group-focus/menubar-item:text-accent-foreground text-xs tracking-widest ml-auto",e),...t})}function xr({...e}){return a.jsx(i.Menubar.Sub,{"data-slot":"menubar-sub",...e})}function Nr({className:e,inset:t,children:n,...s}){return a.jsxs(i.Menubar.SubTrigger,{"data-slot":"menubar-sub-trigger","data-inset":t,className:r("focus:bg-accent focus:text-accent-foreground data-open:bg-accent data-open:text-accent-foreground gap-2 rounded-input-area px-2 py-1.5 text-sm data-[inset]:pl-8 [&_svg:not([class*='size-'])]:size-4 flex cursor-default items-center outline-none select-none",e),...s,children:[n,a.jsx(T,{className:"ml-auto size-4"})]})}function zr({className:e,...t}){return a.jsx(i.Menubar.SubContent,{"data-slot":"menubar-sub-content",className:r("bg-popover text-popover-foreground data-open:animate-in data-closed:animate-out data-closed:fade-out-0 data-open:fade-in-0 data-closed:zoom-out-95 data-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 ring-foreground/10 min-w-32 rounded-popover p-1 shadow-lg ring-1 duration-100 z-50 origin-(--radix-menubar-content-transform-origin) overflow-hidden",e),...t})}function yr({className:e,children:t,viewport:n=!0,...s}){return a.jsxs(i.NavigationMenu.Root,{"data-slot":"navigation-menu","data-viewport":n,className:r("max-w-max group/navigation-menu relative flex max-w-max flex-1 items-center justify-center",e),...s,children:[t,n&&a.jsx(_e,{})]})}function Cr({className:e,...t}){return a.jsx(i.NavigationMenu.List,{"data-slot":"navigation-menu-list",className:r("gap-0 group flex flex-1 list-none items-center justify-center",e),...t})}function Sr({className:e,...t}){return a.jsx(i.NavigationMenu.Item,{"data-slot":"navigation-menu-item",className:r("relative",e),...t})}const ke=x.cva("bg-background hover:bg-accent focus:bg-accent data-open:hover:bg-accent data-open:focus:bg-accent data-open:bg-muted/50 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-offset-2 focus-visible:ring-ring data-popup-open:bg-muted/50 data-popup-open:hover:bg-accent rounded-input-sm px-4 py-2 text-sm font-medium transition-all focus-visible:outline-1 disabled:opacity-50 group/navigation-menu-trigger inline-flex h-10 w-max items-center justify-center disabled:pointer-events-none");function Mr({className:e,children:t,...n}){return a.jsxs(i.NavigationMenu.Trigger,{"data-slot":"navigation-menu-trigger",className:r(ke(),"group",e),...n,children:[t," ",a.jsx(A,{className:"relative top-[1px] ml-1 size-3 transition duration-300 group-data-open/navigation-menu-trigger:rotate-180 group-data-popup-open/navigation-menu-trigger:rotate-180","aria-hidden":"true"})]})}function kr({className:e,...t}){return a.jsx(i.NavigationMenu.Content,{"data-slot":"navigation-menu-content",className:r("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 group-data-[viewport=false]/navigation-menu:bg-popover group-data-[viewport=false]/navigation-menu:text-popover-foreground group-data-[viewport=false]/navigation-menu:data-open:animate-in group-data-[viewport=false]/navigation-menu:data-closed:animate-out group-data-[viewport=false]/navigation-menu:data-closed:zoom-out-95 group-data-[viewport=false]/navigation-menu:data-open:zoom-in-95 group-data-[viewport=false]/navigation-menu:data-open:fade-in-0 group-data-[viewport=false]/navigation-menu:data-closed:fade-out-0 group-data-[viewport=false]/navigation-menu:ring-foreground/10 p-2 pr-2.5 ease-[cubic-bezier(0.22,1,0.36,1)] group-data-[viewport=false]/navigation-menu:rounded-input-sm group-data-[viewport=false]/navigation-menu:shadow group-data-[viewport=false]/navigation-menu:ring-1 group-data-[viewport=false]/navigation-menu:duration-300 top-0 left-0 w-full group-data-[viewport=false]/navigation-menu:top-full group-data-[viewport=false]/navigation-menu:mt-1.5 group-data-[viewport=false]/navigation-menu:overflow-hidden **:data-[slot=navigation-menu-link]:focus:ring-0 **:data-[slot=navigation-menu-link]:focus:outline-none md:absolute md:w-auto",e),...t})}function _e({className:e,...t}){return a.jsx("div",{className:r("absolute top-full left-0 isolate z-50 flex justify-center"),children:a.jsx(i.NavigationMenu.Viewport,{"data-slot":"navigation-menu-viewport",className:r("bg-popover text-popover-foreground data-open:animate-in data-closed:animate-out data-closed:zoom-out-95 data-open:zoom-in-90 ring-foreground/10 rounded-card shadow ring-1 duration-100 origin-top-center relative mt-1.5 h-[var(--radix-navigation-menu-viewport-height)] w-full overflow-hidden md:w-[var(--radix-navigation-menu-viewport-width)]",e),...t})})}function _r({className:e,...t}){return a.jsx(i.NavigationMenu.Link,{"data-slot":"navigation-menu-link",className:r("data-[active=true]:focus:bg-accent data-[active=true]:hover:bg-accent data-[active=true]:bg-muted/50 focus-visible:ring-ring hover:bg-accent focus:bg-accent flex items-center gap-1.5 rounded-input-area p-2 text-sm transition-all outline-none focus-visible:ring-[3px] focus-visible:outline-1 [&_svg:not([class*='size-'])]:size-4",e),...t})}function Dr({className:e,...t}){return a.jsx(i.NavigationMenu.Indicator,{"data-slot":"navigation-menu-indicator",className:r("data-[state=visible]:animate-in data-[state=hidden]:animate-out data-[state=hidden]:fade-out data-[state=visible]:fade-in top-full z-[1] flex h-1.5 items-end justify-center overflow-hidden",e),...t,children:a.jsx("div",{className:"bg-border rounded-tl-sm shadow-md relative top-[60%] h-2 w-2 rotate-45"})})}function Tr({className:e,...t}){return a.jsx("nav",{role:"navigation","aria-label":"pagination","data-slot":"pagination",className:r("mx-auto flex w-full justify-center",e),...t})}function Ir({className:e,...t}){return a.jsx("ul",{"data-slot":"pagination-content",className:r("gap-1 flex items-center",e),...t})}function Pr({...e}){return a.jsx("li",{"data-slot":"pagination-item",...e})}function X({className:e,isActive:t,size:n="icon",...s}){return a.jsx(N,{asChild:!0,variant:t?"outline":"ghost",size:n,className:r(e),children:a.jsx("a",{"aria-current":t?"page":void 0,"data-slot":"pagination-link","data-active":t,...s})})}function Ar({className:e,...t}){return a.jsxs(X,{"aria-label":"Go to previous page",size:"default",className:r("pl-2!",e),...t,children:[a.jsx(Q,{"data-icon":"inline-start"}),a.jsx("span",{className:"hidden sm:block",children:"Previous"})]})}function Gr({className:e,...t}){return a.jsxs(X,{"aria-label":"Go to next page",size:"default",className:r("pr-2!",e),...t,children:[a.jsx("span",{className:"hidden sm:block",children:"Next"}),a.jsx(T,{"data-icon":"inline-end"})]})}function jr({className:e,...t}){return a.jsxs("span",{"aria-hidden":!0,"data-slot":"pagination-ellipsis",className:r("size-9 items-center justify-center [&_svg:not([class*='size-'])]:size-4 flex items-center justify-center",e),...t,children:[a.jsx(ne,{}),a.jsx("span",{className:"sr-only",children:"More pages"})]})}function Lr({...e}){return a.jsx(i.Popover.Root,{"data-slot":"popover",...e})}function Br({...e}){return a.jsx(i.Popover.Trigger,{"data-slot":"popover-trigger",...e})}function Er({className:e,align:t="center",sideOffset:n=4,...s}){return a.jsx(i.Popover.Portal,{children:a.jsx(i.Popover.Content,{"data-slot":"popover-content",align:t,sideOffset:n,className:r("bg-popover text-popover-foreground data-open:animate-in data-closed:animate-out data-closed:fade-out-0 data-open:fade-in-0 data-closed:zoom-out-95 data-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 ring-foreground/10 flex flex-col gap-4 rounded-popover p-4 text-sm shadow-md ring-1 duration-100 z-50 w-72 origin-(--radix-popover-content-transform-origin) outline-hidden",e),...s})})}function qr({...e}){return a.jsx(i.Popover.Anchor,{"data-slot":"popover-anchor",...e})}function Hr({className:e,...t}){return a.jsx("div",{"data-slot":"popover-header",className:r("flex flex-col gap-1 text-sm",e),...t})}function Fr({className:e,...t}){return a.jsx("div",{"data-slot":"popover-title",className:r("font-medium",e),...t})}function Or({className:e,...t}){return a.jsx("p",{"data-slot":"popover-description",className:r("text-muted-foreground",e),...t})}function Qr({className:e,value:t,...n}){return a.jsx(i.Progress.Root,{"data-slot":"progress",className:r("bg-muted h-1.5 rounded-full relative flex w-full items-center overflow-x-hidden",e),...n,children:a.jsx(i.Progress.Indicator,{"data-slot":"progress-indicator",className:"bg-primary size-full flex-1 transition-all",style:{transform:`translateX(-${100-(t||0)}%)`}})})}const Zr="data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='48'%20height='48'%20viewBox='0%20-960%20960%20960'%3e%3cpath%20d='M480-80q-82%200-155-31.5t-127.5-86Q143-252%20111.5-325T80-480q0-83%2031.5-156t86-127Q252-817%20325-848.5T480-880q83%200%20156%2031.5T763-763q54%2054%2085.5%20127T880-480q0%2082-31.5%20155T763-197.5q-54%2054.5-127%2086T480-80Z'/%3e%3c/svg%3e";function Vr({className:e,...t}){return a.jsx(i.RadioGroup.Root,{"data-slot":"radio-group",className:r("grid gap-3 w-full",e),...t})}function Kr({className:e,...t}){return a.jsx(i.RadioGroup.Item,{"data-slot":"radio-group-item",className:r("border-input-border text-primary bg-input data-[state=checked]:border-primary focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-offset-2 focus-visible:ring-ring aria-invalid:ring-2 aria-invalid:ring-offset-2 aria-invalid:ring-destructive flex size-4 rounded-full group/radio-group-item peer relative aspect-square shrink-0 border after:absolute after:-inset-x-3 after:-inset-y-2 disabled:cursor-not-allowed disabled:opacity-50",e),...t,children:a.jsx(i.RadioGroup.Indicator,{"data-slot":"radio-group-indicator",className:"group-aria-invalid/radio-group-item:text-destructive text-primary flex size-4 items-center justify-center",children:a.jsx(Zr,{className:"absolute top-1/2 left-1/2 size-2.5 -translate-x-1/2 -translate-y-1/2 fill-current"})})})}function $r({className:e,...t}){return a.jsx(O.Group,{"data-slot":"resizable-panel-group",className:r("flex h-full w-full aria-[orientation=vertical]:flex-col",e),...t})}function Wr({...e}){return a.jsx(O.Panel,{"data-slot":"resizable-panel",...e})}function Xr({withHandle:e,className:t,...n}){return a.jsx(O.Separator,{"data-slot":"resizable-handle",className:r("bg-border focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-offset-1 focus-visible:ring-ring relative flex w-px items-center justify-center after:absolute after:inset-y-0 after:left-1/2 after:w-1 after:-translate-x-1/2 focus-visible:outline-hidden aria-[orientation=horizontal]:h-px aria-[orientation=horizontal]:w-full aria-[orientation=horizontal]:after:left-0 aria-[orientation=horizontal]:after:h-1 aria-[orientation=horizontal]:after:w-full aria-[orientation=horizontal]:after:translate-x-0 aria-[orientation=horizontal]:after:-translate-y-1/2 [&[aria-orientation=horizontal]>div]:rotate-90",t),...n,children:e&&a.jsx("div",{className:"bg-border h-6 w-1 rounded-input-sm z-10 flex shrink-0"})})}function Yr({className:e,children:t,...n}){return a.jsxs(i.ScrollArea.Root,{"data-slot":"scroll-area",className:r("relative",e),...n,children:[a.jsx(i.ScrollArea.Viewport,{"data-slot":"scroll-area-viewport",className:"focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-offset-2 focus-visible:ring-ring size-full rounded-[inherit] transition-[color,box-shadow] focus-visible:outline-1",children:t}),a.jsx(De,{}),a.jsx(i.ScrollArea.Corner,{})]})}function De({className:e,orientation:t="vertical",...n}){return a.jsx(i.ScrollArea.ScrollAreaScrollbar,{"data-slot":"scroll-area-scrollbar","data-orientation":t,orientation:t,className:r("data-horizontal:h-2.5 data-horizontal:flex-col data-horizontal:border-t data-horizontal:border-t-transparent data-vertical:h-full data-vertical:w-2.5 data-vertical:border-l data-vertical:border-l-transparent flex touch-none p-px transition-colors select-none",e),...n,children:a.jsx(i.ScrollArea.ScrollAreaThumb,{"data-slot":"scroll-area-thumb",className:"rounded-full bg-border relative flex-1"})})}function Jr({...e}){return a.jsx(i.Select.Root,{"data-slot":"select",...e})}function Ur({className:e,...t}){return a.jsx(i.Select.Group,{"data-slot":"select-group",className:r("scroll-my-1 p-1",e),...t})}function Rr({...e}){return a.jsx(i.Select.Value,{"data-slot":"select-value",...e})}function en({className:e,size:t="default",children:n,...s}){return a.jsxs(i.Select.Trigger,{"data-slot":"select-trigger","data-size":t,className:r("border border-input-border data-[placeholder]:text-muted-foreground bg-input hover:bg-input/50 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-offset-2 focus-visible:ring-ring aria-invalid:ring-2 aria-invalid:ring-offset-2 aria-invalid:ring-destructive gap-1.5 rounded-input-sm py-2 pr-2 pl-2.5 text-base md:text-sm transition-[color,box-shadow] data-[size=default]:h-9 data-[size=sm]:h-8 *:data-[slot=select-value]:flex *:data-[slot=select-value]:gap-1.5 [&_svg:not([class*='size-'])]:size-4 flex w-fit items-center justify-between whitespace-nowrap disabled:cursor-not-allowed disabled:opacity-50 *:data-[slot=select-value]:line-clamp-1 *:data-[slot=select-value]:flex *:data-[slot=select-value]:items-center [&_svg]:pointer-events-none [&_svg]:shrink-0",e),...s,children:[n,a.jsx(i.Select.Icon,{asChild:!0,children:a.jsx(A,{className:"text-muted-foreground size-4 pointer-events-none"})})]})}function tn({className:e,children:t,position:n="item-aligned",align:s="center",...d}){return a.jsx(i.Select.Portal,{children:a.jsxs(i.Select.Content,{"data-slot":"select-content",className:r("bg-popover text-popover-foreground data-open:animate-in data-closed:animate-out data-closed:fade-out-0 data-open:fade-in-0 data-closed:zoom-out-95 data-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 ring-foreground/10 min-w-36 p-1 rounded-popover shadow-md ring-1 duration-100 relative z-50 max-h-(--radix-select-content-available-height) origin-(--radix-select-content-transform-origin) overflow-x-hidden overflow-y-auto",n==="popper"&&"data-[side=bottom]:translate-y-1 data-[side=left]:-translate-x-1 data-[side=right]:translate-x-1 data-[side=top]:-translate-y-1",e),position:n,align:s,...d,children:[a.jsx(Te,{}),a.jsx(i.Select.Viewport,{"data-position":n,className:r("data-[position=popper]:h-[var(--radix-select-trigger-height)] data-[position=popper]:w-full data-[position=popper]:min-w-[var(--radix-select-trigger-width)]",n==="popper"&&""),children:t}),a.jsx(Ie,{})]})})}function an({className:e,...t}){return a.jsx(i.Select.Label,{"data-slot":"select-label",className:r("text-muted-foreground px-2 py-1.5 text-xs",e),...t})}function on({className:e,children:t,...n}){return a.jsxs(i.Select.Item,{"data-slot":"select-item",className:r("focus:bg-accent focus:text-accent-foreground not-data-[variant=destructive]:focus:**:text-accent-foreground gap-2 rounded-input-area py-1.5 pr-8 pl-2 text-sm [&_svg:not([class*='size-'])]:size-4 *:[span]:last:flex *:[span]:last:items-center *:[span]:last:gap-2 relative flex w-full cursor-default items-center outline-hidden select-none data-[disabled]:pointer-events-none data-[disabled]:opacity-50 [&_svg]:pointer-events-none [&_svg]:shrink-0",e),...n,children:[a.jsx("span",{className:"pointer-events-none absolute right-2 flex size-4 items-center justify-center",children:a.jsx(i.Select.ItemIndicator,{children:a.jsx(k,{className:"pointer-events-none"})})}),a.jsx(i.Select.ItemText,{children:t})]})}function rn({className:e,...t}){return a.jsx(i.Select.Separator,{"data-slot":"select-separator",className:r("bg-border -mx-1 my-1 h-px pointer-events-none",e),...t})}function Te({className:e,...t}){return a.jsx(i.Select.ScrollUpButton,{"data-slot":"select-scroll-up-button",className:r("bg-popover z-10 flex cursor-default items-center justify-center py-1 [&_svg:not([class*='size-'])]:size-4",e),...t,children:a.jsx(te,{})})}function Ie({className:e,...t}){return a.jsx(i.Select.ScrollDownButton,{"data-slot":"select-scroll-down-button",className:r("bg-popover z-10 flex cursor-default items-center justify-center py-1 [&_svg:not([class*='size-'])]:size-4",e),...t,children:a.jsx(A,{})})}function Pe({...e}){return a.jsx(i.Dialog.Root,{"data-slot":"sheet",...e})}function nn({...e}){return a.jsx(i.Dialog.Trigger,{"data-slot":"sheet-trigger",...e})}function Ae({...e}){return a.jsx(i.Dialog.Close,{"data-slot":"sheet-close",...e})}function sn({...e}){return a.jsx(i.Dialog.Portal,{"data-slot":"sheet-portal",...e})}function dn({className:e,...t}){return a.jsx(i.Dialog.Overlay,{"data-slot":"sheet-overlay",className:r("data-open:animate-in data-closed:animate-out data-closed:fade-out-0 data-open:fade-in-0 bg-overlay duration-100 data-ending-style:opacity-0 data-starting-style:opacity-0 supports-backdrop-filter:backdrop-blur-xs fixed inset-0 z-50",e),...t})}function Ge({className:e,children:t,side:n="right",showCloseButton:s=!0,overlayClassName:d,...c}){return a.jsxs(sn,{children:[a.jsx(dn,{className:d}),a.jsxs(i.Dialog.Content,{"data-slot":"sheet-content","data-side":n,className:r("bg-background data-open:animate-in data-closed:animate-out data-[side=right]:data-closed:slide-out-to-right-10 data-[side=right]:data-open:slide-in-from-right-10 data-[side=left]:data-closed:slide-out-to-left-10 data-[side=left]:data-open:slide-in-from-left-10 data-[side=top]:data-closed:slide-out-to-top-10 data-[side=top]:data-open:slide-in-from-top-10 data-closed:fade-out-0 data-open:fade-in-0 data-[side=bottom]:data-closed:slide-out-to-bottom-10 data-[side=bottom]:data-open:slide-in-from-bottom-10 fixed z-50 flex flex-col gap-4 bg-clip-padding text-sm shadow-lg transition duration-200 ease-in-out data-[side=bottom]:inset-x-0 data-[side=bottom]:bottom-0 data-[side=bottom]:h-auto data-[side=bottom]:border-t data-[side=left]:inset-y-0 data-[side=left]:left-0 data-[side=left]:h-full data-[side=left]:w-3/4 data-[side=left]:border-r data-[side=right]:inset-y-0 data-[side=right]:right-0 data-[side=right]:h-full data-[side=right]:w-3/4 data-[side=right]:border-l data-[side=top]:inset-x-0 data-[side=top]:top-0 data-[side=top]:h-auto data-[side=top]:border-b data-[side=left]:sm:max-w-sm data-[side=right]:sm:max-w-sm",e),...c,children:[t,s&&a.jsx(i.Dialog.Close,{"data-slot":"sheet-close",asChild:!0,children:a.jsxs(N,{variant:"ghost",className:"absolute top-4 right-4",size:"icon-sm",children:[a.jsx(L,{}),a.jsx("span",{className:"sr-only",children:"Close"})]})})]})]})}function je({className:e,...t}){return a.jsx("div",{"data-slot":"sheet-header",className:r("gap-1.5 p-4 flex flex-col",e),...t})}function ln({className:e,...t}){return a.jsx("div",{"data-slot":"sheet-footer",className:r("gap-2 p-4 mt-auto flex flex-col",e),...t})}function Le({className:e,...t}){return a.jsx(i.Dialog.Title,{"data-slot":"sheet-title",className:r("text-foreground font-medium",e),...t})}function Be({className:e,...t}){return a.jsx(i.Dialog.Description,{"data-slot":"sheet-description",className:r("text-muted-foreground text-sm",e),...t})}function Y({className:e,...t}){return a.jsx("div",{"data-slot":"skeleton",className:r("bg-muted rounded-md animate-pulse",e),...t})}function Ee({delayDuration:e=0,...t}){return a.jsx(i.Tooltip.Provider,{"data-slot":"tooltip-provider",delayDuration:e,...t})}function qe({...e}){return a.jsx(Ee,{children:a.jsx(i.Tooltip.Root,{"data-slot":"tooltip",...e})})}function He({...e}){return a.jsx(i.Tooltip.Trigger,{"data-slot":"tooltip-trigger",...e})}function Fe({className:e,sideOffset:t=0,children:n,...s}){return a.jsx(i.Tooltip.Portal,{children:a.jsxs(i.Tooltip.Content,{"data-slot":"tooltip-content",sideOffset:t,className:r("data-open:animate-in data-open:fade-in-0 data-open:zoom-in-95 data-[state=delayed-open]:animate-in data-[state=delayed-open]:fade-in-0 data-[state=delayed-open]:zoom-in-95 data-closed:animate-out data-closed:fade-out-0 data-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 rounded-input-area px-3 py-1.5 text-xs bg-foreground text-background z-50 w-fit max-w-xs origin-(--radix-tooltip-content-transform-origin)",e),...s,children:[n,a.jsx(i.Tooltip.Arrow,{className:"size-2.5 translate-y-[calc(-50%_-_2px)] rotate-45 rounded-[2px] bg-foreground fill-foreground z-50 translate-y-[calc(-50%_-_2px)]"})]})})}const J=768;function cn(){const[e,t]=g.useState(void 0);return g.useEffect(()=>{const n=window.matchMedia(`(max-width: ${J-1}px)`),s=()=>{t(window.innerWidth<J)};return n.addEventListener("change",s),t(window.innerWidth<J),()=>n.removeEventListener("change",s)},[]),!!e}const un="data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='48'%20height='48'%20viewBox='0%20-960%20960%20960'%3e%3cpath%20d='M633-180h147v-600H633v600Zm-453%200h393v-600H180v600Zm453%200h147-147Zm-513%2060v-720h720v720H120Z'/%3e%3c/svg%3e",gn="sidebar_state",fn=60*60*24*7,pn="16rem",bn="3rem",mn="b",Oe=g.createContext(null);function B(){const e=g.useContext(Oe);if(!e)throw new Error("useSidebar must be used within a SidebarProvider.");return e}function vn({defaultOpen:e=!0,open:t,onOpenChange:n,forceDesktop:s=!1,className:d,style:c,children:u,...p}){const l=cn(),b=s?!1:l,[h,z]=g.useState(!1),[I,S]=g.useState(e),M=t??I,C=g.useCallback(m=>{const y=typeof m=="function"?m(M):m;n?n(y):S(y),document.cookie=`${gn}=${y}; path=/; max-age=${fn}`},[n,M]),f=g.useCallback(()=>b?z(m=>!m):C(m=>!m),[b,C,z]);g.useEffect(()=>{const m=y=>{y.key===mn&&(y.metaKey||y.ctrlKey)&&(y.preventDefault(),f())};return window.addEventListener("keydown",m),()=>window.removeEventListener("keydown",m)},[f]);const w=M?"expanded":"collapsed",P=g.useMemo(()=>({state:w,open:M,setOpen:C,isMobile:b,openMobile:h,setOpenMobile:z,toggleSidebar:f}),[w,M,C,b,h,z,f]);return a.jsx(Oe.Provider,{value:P,children:a.jsx("div",{"data-slot":"sidebar-wrapper",style:{"--sidebar-width":pn,"--sidebar-width-icon":bn,...c},className:r("group/sidebar-wrapper has-data-[variant=inset]:bg-sidebar flex min-h-svh w-full",d),...p,children:u})})}function hn({side:e="left",variant:t="sidebar",collapsible:n="offExamples",className:s,children:d,...c}){const{isMobile:u,state:p,openMobile:l,setOpenMobile:b}=B();return n==="none"?a.jsx("div",{"data-slot":"sidebar",className:r("bg-sidebar text-sidebar-foreground flex h-full w-(--sidebar-width) flex-col",s),...c,children:d}):u?a.jsx(Pe,{open:l,onOpenChange:b,...c,children:a.jsxs(Ge,{"data-sidebar":"sidebar","data-slot":"sidebar","data-mobile":"true",className:"bg-sidebar text-sidebar-foreground w-screen h-screen p-0 border-0 [&>button]:hidden",style:{"--sidebar-width":"100vw"},side:"left",children:[a.jsxs(je,{className:"bg-sidebar border-sidebar-border flex h-16 items-left justify-between px-4 border-b",children:[a.jsx(Le,{className:"sr-only",children:"Navigation Menu"}),a.jsx(Be,{className:"sr-only",children:"Main navigation menu for Thundercat application"}),a.jsxs("div",{className:"flex items-center justify-between gap-3",children:[a.jsxs("div",{className:"flex items-center gap-2",children:[a.jsx("div",{className:"size-6 bg-sidebar-accent rounded-lg"}),a.jsxs("div",{children:[a.jsx("div",{className:"text-sidebar-foreground text-base font-medium",children:"Navigation"}),a.jsx("div",{className:"text-sidebar-foreground/70 text-sm",children:"Menu"})]})]}),a.jsx(Ae,{asChild:!0,children:a.jsx(N,{variant:"ghost",size:"icon",className:" text-sidebar-foreground",children:a.jsx(L,{className:"size-6","aria-hidden":"true"})})})]})]}),a.jsx("div",{className:"flex h-full w-full flex-col overflow-hidden",children:a.jsx("div",{className:"flex-1 overflow-y-auto p-6","data-mobile":"true",children:d})})]})}):a.jsxs("div",{className:"group peer text-sidebar-foreground hidden md:block","data-state":p,"data-collapsible":p==="collapsed"?n:"","data-variant":t,"data-side":e,"data-slot":"sidebar",children:[a.jsx("div",{"data-slot":"sidebar-gap",className:r("transition-[width] duration-150 ease-out relative w-(--sidebar-width) bg-transparent","group-data-[collapsible=offExamples]:w-0","group-data-[side=right]:rotate-180",t==="floating"||t==="inset"?"group-data-[collapsible=icon]:w-[calc(var(--sidebar-width-icon)+(--spacing(4)))]":"group-data-[collapsible=icon]:w-(--sidebar-width-icon)")}),a.jsx("div",{"data-slot":"sidebar-container",className:r("fixed inset-y-0 z-10 hidden h-svh w-(--sidebar-width) transition-[left,right,width] duration-150 ease-out md:flex",e==="left"?"left-0 group-data-[collapsible=offExamples]:left-[calc(var(--sidebar-width)*-1)]":"right-0 group-data-[collapsible=offExamples]:right-[calc(var(--sidebar-width)*-1)]",t==="floating"||t==="inset"?"p-2 group-data-[collapsible=icon]:w-[calc(var(--sidebar-width-icon)+(--spacing(4))+2px)]":"group-data-[collapsible=icon]:w-(--sidebar-width-icon) group-data-[side=left]:border-r group-data-[side=right]:border-l",s),...c,children:a.jsx("div",{"data-sidebar":"sidebar","data-slot":"sidebar-inner",className:"bg-sidebar group-data-[variant=floating]:ring-sidebar-border group-data-[variant=floating]:rounded-card group-data-[variant=floating]:shadow-sm group-data-[variant=floating]:ring-1 flex size-full flex-col",children:d})})]})}function wn({className:e,onClick:t,...n}){const{toggleSidebar:s}=B();return a.jsxs(N,{"data-sidebar":"trigger","data-slot":"sidebar-trigger",variant:"ghost",size:"icon-sm",className:r(e),onClick:d=>{t==null||t(d),s()},...n,children:[a.jsx(un,{}),a.jsx("span",{className:"sr-only",children:"Toggle Sidebar"})]})}function xn({className:e,...t}){const{toggleSidebar:n}=B();return a.jsx("button",{"data-sidebar":"rail","data-slot":"sidebar-rail","aria-label":"Toggle Sidebar",tabIndex:-1,onClick:n,title:"Toggle Sidebar",className:r("hover:after:bg-sidebar-border absolute inset-y-0 z-20 hidden w-4 -translate-x-1/2 transition-all ease-linear group-data-[side=left]:-right-4 group-data-[side=right]:left-0 after:absolute after:inset-y-0 after:left-1/2 after:w-[2px] sm:flex","in-data-[side=left]:cursor-w-resize in-data-[side=right]:cursor-e-resize","[[data-side=left][data-state=collapsed]_&]:cursor-e-resize [[data-side=right][data-state=collapsed]_&]:cursor-w-resize","hover:group-data-[collapsible=offExamples]:bg-sidebar group-data-[collapsible=offExamples]:translate-x-0 group-data-[collapsible=offExamples]:after:left-full","[[data-side=left][data-collapsible=offExamples]_&]:-right-2","[[data-side=right][data-collapsible=offExamples]_&]:-left-2",e),...t})}function Nn({className:e,...t}){return a.jsx("main",{"data-slot":"sidebar-inset",className:r("bg-background md:peer-data-[variant=inset]:m-2 md:peer-data-[variant=inset]:ml-0 md:peer-data-[variant=inset]:rounded-card md:peer-data-[variant=inset]:shadow-sm md:peer-data-[variant=inset]:peer-data-[state=collapsed]:ml-2 relative flex w-full flex-1 flex-col",e),...t})}function zn({className:e,...t}){return a.jsx(V,{"data-slot":"sidebar-input","data-sidebar":"input",className:r("bg-background h-8 w-full shadow-none group-data-[collapsible=icon]:hidden",e),...t})}function yn({className:e,...t}){return a.jsx("div",{"data-slot":"sidebar-header","data-sidebar":"header",className:r("gap-2 p-2 flex flex-col group-data-[collapsible=icon]:items-center",e),...t})}function Cn({className:e,...t}){return a.jsx("div",{"data-slot":"sidebar-footer","data-sidebar":"footer",className:r("gap-2 p-2 flex flex-col",e),...t})}function Sn({className:e,...t}){return a.jsx(G,{"data-slot":"sidebar-separator","data-sidebar":"separator",className:r("bg-sidebar-border",e),...t})}function Mn({className:e,...t}){return a.jsx("div",{"data-slot":"sidebar-content","data-sidebar":"content",className:r("no-scrollbar gap-2 flex min-h-0 flex-1 flex-col overflow-auto group-data-[collapsible=icon]:overflow-hidden",e),...t})}function kn({className:e,...t}){return a.jsx("div",{"data-slot":"sidebar-group","data-sidebar":"group",className:r("p-2 relative flex w-full min-w-0 flex-col",e),...t})}function _n({className:e,asChild:t=!1,...n}){const s=t?i.Slot.Root:"div";return a.jsx(s,{"data-slot":"sidebar-group-label","data-sidebar":"group-label",className:r("text-sidebar-foreground/70 ring-sidebar-ring h-8 rounded-input-sm px-2 text-xs font-medium transition-[margin,opacity] duration-150 ease-out group-data-[collapsible=icon]:-mt-8 group-data-[collapsible=icon]:opacity-0 focus-visible:ring-2 [&>svg]:size-4 flex shrink-0 items-center outline-hidden [&>svg]:shrink-0 data-[mobile=true]:text-sm data-[mobile=true]:h-10 data-[mobile=true]:px-3",e),...n})}function Dn({className:e,asChild:t=!1,...n}){const s=t?i.Slot.Root:"button";return a.jsx(s,{"data-slot":"sidebar-group-action","data-sidebar":"group-action",className:r("text-sidebar-foreground ring-sidebar-ring hover:bg-sidebar-accent hover:text-sidebar-accent-foreground absolute top-3.5 right-3 w-5 rounded-input-sm p-0 focus-visible:ring-2 [&>svg]:size-4 flex aspect-square items-center justify-center outline-hidden transition-transform group-data-[collapsible=icon]:hidden after:absolute after:-inset-2 md:after:hidden [&>svg]:shrink-0",e),...n})}function Tn({className:e,...t}){return a.jsx("div",{"data-slot":"sidebar-group-content","data-sidebar":"group-content",className:r("text-sm w-full",e),...t})}function In({className:e,...t}){return a.jsx("ul",{"data-slot":"sidebar-menu","data-sidebar":"menu",className:r("gap-1 flex w-full min-w-0 flex-col",e),...t})}function Pn({className:e,...t}){return a.jsx("li",{"data-slot":"sidebar-menu-item","data-sidebar":"menu-item",className:r("group/menu-item relative",e),...t})}const An=x.cva("ring-sidebar-ring hover:bg-sidebar-accent hover:text-sidebar-accent-foreground active:bg-sidebar-accent active:text-sidebar-accent-foreground data-active:bg-sidebar-accent data-active:text-sidebar-accent-foreground data-open:hover:bg-sidebar-accent data-open:hover:text-sidebar-accent-foreground gap-2 rounded-input-sm p-2 text-left text-sm transition-[width,height,padding] group-has-data-[sidebar=menu-action]/menu-item:pr-8 group-data-[collapsible=icon]:size-8! group-data-[collapsible=icon]:p-2! focus-visible:ring-2 data-active:font-medium peer/menu-button flex w-full items-center overflow-hidden outline-hidden 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 data-[mobile=true]:text-base data-[mobile=true]:h-12 data-[mobile=true]:[&_svg]:size-5",{variants:{variant:{default:"hover:bg-sidebar-accent hover:text-sidebar-accent-foreground",outline:"bg-background hover:bg-sidebar-accent hover:text-sidebar-accent-foreground shadow-[0_0_0_1px_hsl(var(--sidebar-border))] 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"}});function Gn({asChild:e=!1,isActive:t=!1,variant:n="default",size:s="default",tooltip:d,className:c,...u}){const p=e?i.Slot.Root:"button",{isMobile:l,state:b}=B(),h=a.jsx(p,{"data-slot":"sidebar-menu-button","data-sidebar":"menu-button","data-size":s,"data-active":t,className:r(An({variant:n,size:s}),c),...u});return d?(typeof d=="string"&&(d={children:d}),a.jsxs(qe,{children:[a.jsx(He,{asChild:!0,children:h}),a.jsx(Fe,{side:"right",align:"center",hidden:b!=="collapsed"||l,...d})]})):h}function jn({className:e,asChild:t=!1,showOnHover:n=!1,...s}){const d=t?i.Slot.Root:"button";return a.jsx(d,{"data-slot":"sidebar-menu-action","data-sidebar":"menu-action",className:r("text-sidebar-foreground ring-sidebar-ring hover:bg-sidebar-accent hover:text-sidebar-accent-foreground peer-hover/menu-button:text-sidebar-accent-foreground absolute top-1.5 right-1 aspect-square w-5 rounded-input-sm p-0 peer-data-[size=default]/menu-button:top-1.5 peer-data-[size=lg]/menu-button:top-2.5 peer-data-[size=sm]/menu-button:top-1 focus-visible:ring-2 [&>svg]:size-4 flex items-center justify-center outline-hidden transition-transform group-data-[collapsible=icon]:hidden after:absolute after:-inset-2 md:after:hidden [&>svg]:shrink-0",n&&"peer-data-active/menu-button:text-sidebar-accent-foreground group-focus-within/menu-item:opacity-100 group-hover/menu-item:opacity-100 data-open:opacity-100 md:opacity-0",e),...s})}function Ln({className:e,...t}){return a.jsx("div",{"data-slot":"sidebar-menu-badge","data-sidebar":"menu-badge",className:r("text-sidebar-foreground peer-hover/menu-button:text-sidebar-accent-foreground peer-data-active/menu-button:text-sidebar-accent-foreground pointer-events-none absolute right-1 flex h-5 min-w-5 rounded-input-sm px-1 text-xs font-medium peer-data-[size=default]/menu-button:top-1.5 peer-data-[size=lg]/menu-button:top-2.5 peer-data-[size=sm]/menu-button:top-1 flex items-center justify-center tabular-nums select-none group-data-[collapsible=icon]:hidden",e),...t})}const Qe=["54%","64%","70%","82%"];function Bn({className:e,showIcon:t=!1,...n}){const s=g.useId(),d=g.useMemo(()=>{const c=s.replace(/\D+/g,""),u=c?Number(c):0;return Qe[u%Qe.length]},[s]);return a.jsxs("div",{"data-slot":"sidebar-menu-skeleton","data-sidebar":"menu-skeleton",className:r("h-8 gap-2 rounded-input-sm px-2 flex items-center",e),...n,children:[t&&a.jsx(Y,{className:"size-4 rounded-lg","data-sidebar":"menu-skeleton-icon"}),a.jsx(Y,{className:"h-4 max-w-(--skeleton-width) flex-1","data-sidebar":"menu-skeleton-text",style:{"--skeleton-width":d}})]})}function En({className:e,...t}){return a.jsx("ul",{"data-slot":"sidebar-menu-sub","data-sidebar":"menu-sub",className:r("border-sidebar-border mx-3.5 translate-x-px gap-1 border-l px-2.5 py-0.5 group-data-[collapsible=icon]:hidden flex min-w-0 flex-col",e),...t})}function qn({className:e,...t}){return a.jsx("li",{"data-slot":"sidebar-menu-sub-item","data-sidebar":"menu-sub-item",className:r("group/menu-sub-item relative",e),...t})}function Hn({asChild:e=!1,size:t="md",isActive:n=!1,className:s,...d}){const c=e?i.Slot.Root:"a";return a.jsx(c,{"data-slot":"sidebar-menu-sub-button","data-sidebar":"menu-sub-button","data-size":t,"data-active":n,className:r("text-sidebar-foreground ring-sidebar-ring hover:bg-sidebar-accent hover:text-sidebar-accent-foreground active:bg-sidebar-accent active:text-sidebar-accent-foreground [&>svg]:text-sidebar-accent-foreground data-active:bg-sidebar-accent data-active:text-sidebar-accent-foreground h-7 gap-2 rounded-input-sm px-2 focus-visible:ring-2 data-[size=md]:text-sm data-[size=sm]:text-xs [&>svg]:size-4 flex min-w-0 -translate-x-px items-center overflow-hidden outline-hidden group-data-[collapsible=icon]:hidden disabled:pointer-events-none disabled:opacity-50 aria-disabled:pointer-events-none aria-disabled:opacity-50 [&>span:last-child]:truncate [&>svg]:shrink-0",s),...d})}function Fn({className:e,defaultValue:t,value:n,min:s=0,max:d=100,...c}){const u=g.useMemo(()=>Array.isArray(n)?n:Array.isArray(t)?t:[s,d],[n,t,s,d]);return a.jsxs(i.Slider.Root,{"data-slot":"slider",defaultValue:t,value:n,min:s,max:d,className:r("data-vertical:min-h-40 relative flex w-full touch-none items-center select-none data-disabled:opacity-50 data-vertical:h-full data-vertical:w-auto data-vertical:flex-col",e),...c,children:[a.jsx(i.Slider.Track,{"data-slot":"slider-track",className:"bg-muted rounded-full data-horizontal:h-1.5 data-horizontal:w-full data-vertical:h-full data-vertical:w-1.5 bg-muted relative grow overflow-hidden data-horizontal:w-full data-vertical:h-full",children:a.jsx(i.Slider.Range,{"data-slot":"slider-range",className:"bg-primary absolute select-none data-horizontal:h-full data-vertical:w-full"})}),Array.from({length:u.length},(p,l)=>a.jsx(i.Slider.Thumb,{"data-slot":"slider-thumb",className:"border-primary ring-ring/50 size-4 rounded-full border bg-white shadow-sm transition-[color,box-shadow] hover:ring-4 focus-visible:ring-4 focus-visible:outline-hidden block shrink-0 select-none disabled:pointer-events-none disabled:opacity-50"},l))]})}const On="data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='48'%20height='48'%20viewBox='0%20-960%20960%20960'%3e%3cpath%20d='m421-298%20283-283-46-45-237%20237-120-120-45%2045%20165%20166Zm59%20218q-82%200-155-31.5t-127.5-86Q143-252%20111.5-325T80-480q0-83%2031.5-156t86-127Q252-817%20325-848.5T480-880q83%200%20156%2031.5T763-763q54%2054%2085.5%20127T880-480q0%2082-31.5%20155T763-197.5q-54%2054.5-127%2086T480-80Zm0-60q142%200%20241-99.5T820-480q0-142-99-241t-241-99q-141%200-240.5%2099T140-480q0%20141%2099.5%20240.5T480-140Zm0-340Z'/%3e%3c/svg%3e",Qn="data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='48'%20height='48'%20viewBox='0%20-960%20960%20960'%3e%3cpath%20d='M453-280h60v-240h-60v240Zm26.98-314q14.02%200%2023.52-9.2T513-626q0-14.45-9.48-24.22-9.48-9.78-23.5-9.78t-23.52%209.78Q447-640.45%20447-626q0%2013.6%209.48%2022.8%209.48%209.2%2023.5%209.2Zm.29%20514q-82.74%200-155.5-31.5Q252-143%20197.5-197.5t-86-127.34Q80-397.68%2080-480.5t31.5-155.66Q143-709%20197.5-763t127.34-85.5Q397.68-880%20480.5-880t155.66%2031.5Q709-817%20763-763t85.5%20127Q880-563%20880-480.27q0%2082.74-31.5%20155.5Q817-252%20763-197.68q-54%2054.31-127%2086Q563-80%20480.27-80Zm.23-60Q622-140%20721-239.5t99-241Q820-622%20721.19-721T480-820q-141%200-240.5%2098.81T140-480q0%20141%2099.5%20240.5t241%2099.5Zm-.5-340Z'/%3e%3c/svg%3e",Zn="data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='48'%20height='48'%20viewBox='0%20-960%20960%20960'%3e%3cpath%20d='m40-120%20440-760%20440%20760H40Zm104-60h672L480-760%20144-180Zm340.18-57q12.82%200%2021.32-8.68%208.5-8.67%208.5-21.5%200-12.82-8.68-21.32-8.67-8.5-21.5-8.5-12.82%200-21.32%208.68-8.5%208.67-8.5%2021.5%200%2012.82%208.68%2021.32%208.67%208.5%2021.5%208.5ZM454-348h60v-224h-60v224Zm26-122Z'/%3e%3c/svg%3e",Vn="data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='48'%20height='48'%20viewBox='0%20-960%20960%20960'%3e%3cpath%20d='M330-120%20120-330v-300l210-210h300l210%20210v300L630-120H330Zm27-195%20123-123%20123%20123%2042-42-123-123%20123-123-42-42-123%20123-123-123-42%2042%20123%20123-123%20123%2042%2042Zm-2%20135h250l175-175v-250L605-780H355L180-605v250l175%20175Zm125-300Z'/%3e%3c/svg%3e",Ze="data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='48'%20height='48'%20viewBox='0%20-960%20960%20960'%3e%3cpath%20d='M480-80q-84%200-157-31t-127-85q-54-54-85-127T80-480q0-83.73%2031-156.86Q142-710%20196-764t127-85q73-31%20157-31v60q-141.31%200-240.66%2099.28Q140-621.44%20140-480.22t99.28%20240.72q99.28%2099.5%20240.5%2099.5t240.72-99.34Q820-338.69%20820-480h60q0%2084-31%20157t-85%20127q-54%2054-127.14%2085Q563.73-80%20480-80Z'/%3e%3c/svg%3e",Kn=({...e})=>{const[t,n]=g.useState("system");return g.useEffect(()=>{const s=()=>{const c=document.body.getAttribute("data-theme");return c==="dark-mode"?"dark":c==="light-mode"?"light":"system"};n(s());const d=new MutationObserver(()=>{n(s())});return d.observe(document.body,{attributes:!0,attributeFilter:["data-theme"]}),()=>{d.disconnect()}},[]),a.jsx(Ue.Toaster,{theme:t,className:"toaster group",icons:{success:a.jsx(On,{className:"size-4"}),info:a.jsx(Qn,{className:"size-4"}),warning:a.jsx(Zn,{className:"size-4"}),error:a.jsx(Vn,{className:"size-4"}),loading:a.jsx(Ze,{className:"size-4 animate-spin"})},style:{"--normal-bg":"var(--popover)","--normal-text":"var(--popover-foreground)","--normal-border":"var(--border)","--border-radius":"var(--radius-card)"},toastOptions:{classNames:{toast:"cn-toast"}},...e})};function $n({className:e,...t}){return a.jsx(Ze,{role:"status","aria-label":"Loading",className:r("size-4 animate-spin",e),...t})}function Wn({className:e,size:t="default",...n}){return a.jsx(i.Switch.Root,{"data-slot":"switch","data-size":t,className:r("data-checked:bg-primary data-unchecked:bg-border focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-offset-2 focus-visible:ring-ring aria-invalid:ring-2 aria-invalid:ring-offset-2 aria-invalid:ring-destructive shrink-0 rounded-full border border-transparent data-[size=default]:h-[18.4px] data-[size=default]:w-[32px] data-[size=sm]:h-[14px] data-[size=sm]:w-[24px] data-[size=lg]:h-[24px] data-[size=lg]:w-[42px] peer group/switch relative inline-flex items-center transition-all after:absolute after:-inset-x-3 after:-inset-y-2 data-disabled:cursor-not-allowed data-disabled:opacity-50",e),...n,children:a.jsx(i.Switch.Thumb,{"data-slot":"switch-thumb",className:"bg-primary-foreground dark:data-unchecked:bg-primary dark:data-checked:bg-primary-foreground rounded-full group-data-[size=default]/switch:size-4 group-data-[size=sm]/switch:size-3 group-data-[size=lg]/switch:size-5 group-data-[size=default]/switch:data-checked:translate-x-[calc(100%-2px)] group-data-[size=sm]/switch:data-checked:translate-x-[calc(100%-2px)] group-data-[size=lg]/switch:data-checked:translate-x-[calc(100%-2px)] group-data-[size=default]/switch:data-unchecked:translate-x-0 group-data-[size=sm]/switch:data-unchecked:translate-x-0 group-data-[size=lg]/switch:data-unchecked:translate-x-0 pointer-events-none block ring-0 transition-transform"})})}function Xn({className:e,...t}){return a.jsx("div",{"data-slot":"table-container",className:"relative w-full overflow-x-auto",children:a.jsx("table",{"data-slot":"table",className:r("w-full caption-bottom text-sm",e),...t})})}function Yn({className:e,...t}){return a.jsx("thead",{"data-slot":"table-header",className:r("[&_tr]:border-b",e),...t})}function Jn({className:e,...t}){return a.jsx("tbody",{"data-slot":"table-body",className:r("[&_tr:last-child]:border-0",e),...t})}function Un({className:e,...t}){return a.jsx("tfoot",{"data-slot":"table-footer",className:r("bg-muted/50 border-t font-medium [&>tr]:last:border-b-0",e),...t})}function Rn({className:e,...t}){return a.jsx("tr",{"data-slot":"table-row",className:r("hover:bg-muted/50 data-[state=selected]:bg-muted border-b transition-colors",e),...t})}function ei({className:e,...t}){return a.jsx("th",{"data-slot":"table-head",className:r("text-foreground h-10 px-2 text-left align-middle font-medium whitespace-nowrap [&:has([role=checkbox])]:pr-0",e),...t})}function ti({className:e,...t}){return a.jsx("td",{"data-slot":"table-cell",className:r("p-2 align-middle whitespace-nowrap [&:has([role=checkbox])]:pr-0",e),...t})}function ai({className:e,...t}){return a.jsx("caption",{"data-slot":"table-caption",className:r("text-muted-foreground mt-4 text-sm",e),...t})}function oi({className:e,orientation:t="horizontal",...n}){return a.jsx(i.Tabs.Root,{"data-slot":"tabs","data-orientation":t,className:r("gap-2 group/tabs flex data-[orientation=horizontal]:flex-col",e),...n})}const Ve=x.cva("rounded-input-md p-[3px] group-data-horizontal/tabs:h-9 data-[variant=line]:rounded-none group/tabs-list text-muted-foreground inline-flex w-fit items-center justify-center group-data-[orientation=vertical]/tabs:h-fit group-data-[orientation=vertical]/tabs:flex-col",{variants:{variant:{default:"bg-muted",line:"gap-1 bg-transparent border-b border-border relative"}},defaultVariants:{variant:"default"}});function ri({className:e,variant:t="default",...n}){return a.jsx(i.Tabs.List,{"data-slot":"tabs-list","data-variant":t,className:r(Ve({variant:t}),e),...n})}function ni({className:e,...t}){return a.jsx(i.Tabs.Trigger,{"data-slot":"tabs-trigger",className:r("gap-1.5 rounded-input-sm border border-transparent px-2 py-1 text-sm font-medium [&_svg:not([class*='size-'])]:size-4 focus-visible:border-ring focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 focus-visible:outline-none text-muted-foreground hover:text-foreground data-active:text-primary-foreground data-active:hover:text-primary-foreground group-data-[variant=line]/tabs-list:data-active:text-primary group-data-[variant=line]/tabs-list:data-active:hover:text-primary relative inline-flex h-[calc(100%-1px)] flex-1 items-center justify-center whitespace-nowrap transition-all group-data-[orientation=vertical]/tabs:w-full group-data-[orientation=vertical]/tabs:justify-start disabled:pointer-events-none disabled:opacity-50 [&_svg]:pointer-events-none [&_svg]:shrink-0","group-data-[variant=line]/tabs-list:bg-transparent group-data-[variant=line]/tabs-list:data-active:bg-transparent","data-active:bg-primary data-active:text-primary-foreground data-active:border-transparent group-data-[variant=line]/tabs-list:data-active:text-primary","after:bg-primary after:absolute after:opacity-0 after:transition-opacity group-data-[orientation=horizontal]/tabs:after:inset-x-0 group-data-[orientation=horizontal]/tabs:after:bottom-[-5px] group-data-[orientation=horizontal]/tabs:after:h-0.75 group-data-[orientation=vertical]/tabs:after:inset-y-0 group-data-[orientation=vertical]/tabs:after:-right-1 group-data-[orientation=vertical]/tabs:after:w-0.75 group-data-[variant=line]/tabs-list:data-active:after:opacity-100",e),...t})}function ii({className:e,...t}){return a.jsx(i.Tabs.Content,{"data-slot":"tabs-content",className:r("text-sm flex-1 outline-none",e),...t})}const U=x.cva("hover:text-foreground aria-pressed:bg-muted focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-offset-2 focus-visible:ring-ring aria-invalid:ring-2 aria-invalid:ring-offset-2 aria-invalid:ring-destructive gap-1 rounded-input-sm text-sm font-medium transition-[color,box-shadow] [&_svg:not([class*='size-'])]:size-4 group/toggle hover:bg-muted inline-flex items-center justify-center whitespace-nowrap disabled:pointer-events-none disabled:opacity-50 [&_svg]:pointer-events-none [&_svg]:shrink-0",{variants:{variant:{default:"bg-transparent",outline:"border-input-border hover:bg-muted border bg-transparent"},size:{default:"h-9 min-w-9 px-2",sm:"h-8 min-w-8 px-1.5",lg:"h-10 min-w-10 px-2.5"}},defaultVariants:{variant:"default",size:"default"}});function si({className:e,variant:t="default",size:n="default",...s}){return a.jsx(i.Toggle.Root,{"data-slot":"toggle",className:r(U({variant:t,size:n,className:e})),...s})}const Ke=g.createContext({size:"default",variant:"default",spacing:0,orientation:"horizontal"});function di({className:e,variant:t,size:n,spacing:s=0,orientation:d="horizontal",children:c,...u}){return a.jsx(i.ToggleGroup.Root,{"data-slot":"toggle-group","data-variant":t,"data-size":n,"data-spacing":s,"data-orientation":d,style:{"--gap":s},className:r("rounded-input-sm data-[spacing=0]:data-[variant=outline]: group/toggle-group flex w-fit flex-row items-center gap-[--spacing(var(--gap))] data-[orientation=vertical]:flex-col data-[orientation=vertical]:items-stretch",e),...u,children:a.jsx(Ke.Provider,{value:{variant:t,size:n,spacing:s,orientation:d},children:c})})}function li({className:e,children:t,variant:n="default",size:s="default",...d}){const c=g.useContext(Ke);return a.jsx(i.ToggleGroup.Item,{"data-slot":"toggle-group-item","data-variant":c.variant||n,"data-size":c.size||s,"data-spacing":c.spacing,className:r("data-[state=on]:bg-muted group-data-[spacing=0]/toggle-group:rounded-none group-data-[spacing=0]/toggle-group:px-2 group-data-[spacing=0]/toggle-group:shadow-none group-data-horizontal/toggle-group:data-[spacing=0]:first:rounded-l-input-sm group-data-vertical/toggle-group:data-[spacing=0]:first:rounded-t-input-sm group-data-horizontal/toggle-group:data-[spacing=0]:last:rounded-r-input-sm group-data-vertical/toggle-group:data-[spacing=0]:last:rounded-b-input-sm shrink-0 focus:z-10 focus-visible:z-10 group-data-horizontal/toggle-group:data-[spacing=0]:data-[variant=outline]:border-l-0 group-data-vertical/toggle-group:data-[spacing=0]:data-[variant=outline]:border-t-0 group-data-horizontal/toggle-group:data-[spacing=0]:data-[variant=outline]:first:border-l group-data-vertical/toggle-group:data-[spacing=0]:data-[variant=outline]:first:border-t",U({variant:c.variant||n,size:c.size||s}),e),...d,children:t})}o.Accordion=Re,o.AccordionContent=at,o.AccordionItem=et,o.AccordionTrigger=tt,o.Alert=rt,o.AlertAction=st,o.AlertDescription=it,o.AlertDialog=dt,o.AlertDialogAction=mt,o.AlertDialogCancel=vt,o.AlertDialogContent=ct,o.AlertDialogDescription=bt,o.AlertDialogFooter=gt,o.AlertDialogHeader=ut,o.AlertDialogMedia=ft,o.AlertDialogOverlay=oe,o.AlertDialogPortal=ae,o.AlertDialogTitle=pt,o.AlertDialogTrigger=lt,o.AlertTitle=nt,o.AspectRatio=ht,o.Avatar=wt,o.AvatarBadge=zt,o.AvatarFallback=Nt,o.AvatarGroup=yt,o.AvatarGroupCount=Ct,o.AvatarImage=xt,o.Badge=St,o.Breadcrumb=Mt,o.BreadcrumbEllipsis=Pt,o.BreadcrumbItem=_t,o.BreadcrumbLink=Dt,o.BreadcrumbList=kt,o.BreadcrumbPage=Tt,o.BreadcrumbSeparator=It,o.Button=N,o.ButtonGroup=At,o.ButtonGroupSeparator=jt,o.ButtonGroupText=Gt,o.Calendar=Lt,o.CalendarDayButton=se,o.Card=Bt,o.CardAction=Ft,o.CardContent=Ot,o.CardDescription=Ht,o.CardFooter=Qt,o.CardHeader=Et,o.CardTitle=qt,o.Carousel=Zt,o.CarouselContent=Vt,o.CarouselItem=Kt,o.CarouselNext=Wt,o.CarouselPrevious=$t,o.ChartContainer=Yt,o.ChartLegend=Rt,o.ChartLegendContent=ea,o.ChartStyle=ue,o.ChartTooltip=Jt,o.ChartTooltipContent=Ut,o.Checkbox=ta,o.Collapsible=aa,o.CollapsibleContent=ra,o.CollapsibleTrigger=oa,o.Combobox=la,o.ComboboxChip=za,o.ComboboxChips=Na,o.ComboboxChipsInput=ya,o.ComboboxCollection=ha,o.ComboboxContent=fa,o.ComboboxEmpty=wa,o.ComboboxGroup=ma,o.ComboboxInput=ga,o.ComboboxItem=ba,o.ComboboxLabel=va,o.ComboboxList=pa,o.ComboboxSeparator=xa,o.ComboboxTrigger=pe,o.ComboboxValue=ca,o.Command=ze,o.CommandDialog=Da,o.CommandEmpty=Pa,o.CommandGroup=Aa,o.CommandInput=Ta,o.CommandItem=ja,o.CommandList=Ia,o.CommandSeparator=Ga,o.CommandShortcut=La,o.ContextMenu=Ba,o.ContextMenuCheckboxItem=$a,o.ContextMenuContent=Qa,o.ContextMenuGroup=qa,o.ContextMenuItem=Za,o.ContextMenuLabel=Xa,o.ContextMenuPortal=Ha,o.ContextMenuRadioGroup=Oa,o.ContextMenuRadioItem=Wa,o.ContextMenuSeparator=Ya,o.ContextMenuShortcut=Ja,o.ContextMenuSub=Fa,o.ContextMenuSubContent=Ka,o.ContextMenuSubTrigger=Va,o.ContextMenuTrigger=Ea,o.Dialog=be,o.DialogClose=Ma,o.DialogContent=he,o.DialogDescription=Ne,o.DialogFooter=ka,o.DialogHeader=we,o.DialogOverlay=ve,o.DialogPortal=me,o.DialogTitle=xe,o.DialogTrigger=Sa,o.Drawer=Ua,o.DrawerClose=eo,o.DrawerContent=to,o.DrawerDescription=no,o.DrawerFooter=oo,o.DrawerHeader=ao,o.DrawerOverlay=Ce,o.DrawerPortal=ye,o.DrawerTitle=ro,o.DrawerTrigger=Ra,o.DropdownMenu=io,o.DropdownMenuCheckboxItem=fo,o.DropdownMenuContent=co,o.DropdownMenuGroup=uo,o.DropdownMenuItem=go,o.DropdownMenuLabel=mo,o.DropdownMenuPortal=so,o.DropdownMenuRadioGroup=po,o.DropdownMenuRadioItem=bo,o.DropdownMenuSeparator=vo,o.DropdownMenuShortcut=ho,o.DropdownMenuSub=wo,o.DropdownMenuSubContent=No,o.DropdownMenuSubTrigger=xo,o.DropdownMenuTrigger=lo,o.Empty=zo,o.EmptyContent=_o,o.EmptyDescription=ko,o.EmptyHeader=yo,o.EmptyMedia=So,o.EmptyTitle=Mo,o.Field=Ao,o.FieldContent=Go,o.FieldDescription=Bo,o.FieldError=qo,o.FieldGroup=Io,o.FieldLabel=jo,o.FieldLegend=To,o.FieldSeparator=Eo,o.FieldSet=Do,o.FieldTitle=Lo,o.HoverCard=Ho,o.HoverCardContent=Oo,o.HoverCardTrigger=Fo,o.Input=V,o.InputGroup=K,o.InputGroupAddon=$,o.InputGroupButton=W,o.InputGroupInput=fe,o.InputGroupText=sa,o.InputGroupTextarea=da,o.InputOTP=Zo,o.InputOTPGroup=Vo,o.InputOTPSeparator=$o,o.InputOTPSlot=Ko,o.Item=Jo,o.ItemActions=or,o.ItemContent=er,o.ItemDescription=ar,o.ItemFooter=nr,o.ItemGroup=Wo,o.ItemHeader=rr,o.ItemMedia=Ro,o.ItemSeparator=Xo,o.ItemTitle=tr,o.Kbd=ir,o.KbdGroup=sr,o.Label=Se,o.Menubar=dr,o.MenubarCheckboxItem=br,o.MenubarContent=fr,o.MenubarGroup=cr,o.MenubarItem=pr,o.MenubarLabel=vr,o.MenubarMenu=lr,o.MenubarPortal=Me,o.MenubarRadioGroup=ur,o.MenubarRadioItem=mr,o.MenubarSeparator=hr,o.MenubarShortcut=wr,o.MenubarSub=xr,o.MenubarSubContent=zr,o.MenubarSubTrigger=Nr,o.MenubarTrigger=gr,o.NavigationMenu=yr,o.NavigationMenuContent=kr,o.NavigationMenuIndicator=Dr,o.NavigationMenuItem=Sr,o.NavigationMenuLink=_r,o.NavigationMenuList=Cr,o.NavigationMenuTrigger=Mr,o.NavigationMenuViewport=_e,o.Pagination=Tr,o.PaginationContent=Ir,o.PaginationEllipsis=jr,o.PaginationItem=Pr,o.PaginationLink=X,o.PaginationNext=Gr,o.PaginationPrevious=Ar,o.Popover=Lr,o.PopoverAnchor=qr,o.PopoverContent=Er,o.PopoverDescription=Or,o.PopoverHeader=Hr,o.PopoverTitle=Fr,o.PopoverTrigger=Br,o.Progress=Qr,o.RadioGroup=Vr,o.RadioGroupItem=Kr,o.ResizableHandle=Xr,o.ResizablePanel=Wr,o.ResizablePanelGroup=$r,o.ScrollArea=Yr,o.ScrollBar=De,o.Select=Jr,o.SelectContent=tn,o.SelectGroup=Ur,o.SelectItem=on,o.SelectLabel=an,o.SelectScrollDownButton=Ie,o.SelectScrollUpButton=Te,o.SelectSeparator=rn,o.SelectTrigger=en,o.SelectValue=Rr,o.Separator=G,o.Sheet=Pe,o.SheetClose=Ae,o.SheetContent=Ge,o.SheetDescription=Be,o.SheetFooter=ln,o.SheetHeader=je,o.SheetTitle=Le,o.SheetTrigger=nn,o.Sidebar=hn,o.SidebarContent=Mn,o.SidebarFooter=Cn,o.SidebarGroup=kn,o.SidebarGroupAction=Dn,o.SidebarGroupContent=Tn,o.SidebarGroupLabel=_n,o.SidebarHeader=yn,o.SidebarInput=zn,o.SidebarInset=Nn,o.SidebarMenu=In,o.SidebarMenuAction=jn,o.SidebarMenuBadge=Ln,o.SidebarMenuButton=Gn,o.SidebarMenuItem=Pn,o.SidebarMenuSkeleton=Bn,o.SidebarMenuSub=En,o.SidebarMenuSubButton=Hn,o.SidebarMenuSubItem=qn,o.SidebarProvider=vn,o.SidebarRail=xn,o.SidebarSeparator=Sn,o.SidebarTrigger=wn,o.Skeleton=Y,o.Slider=Fn,o.Spinner=$n,o.Switch=Wn,o.Table=Xn,o.TableBody=Jn,o.TableCaption=ai,o.TableCell=ti,o.TableFooter=Un,o.TableHead=ei,o.TableHeader=Yn,o.TableRow=Rn,o.Tabs=oi,o.TabsContent=ii,o.TabsList=ri,o.TabsTrigger=ni,o.Textarea=ge,o.Toaster=Kn,o.Toggle=si,o.ToggleGroup=di,o.ToggleGroupItem=li,o.Tooltip=qe,o.TooltipContent=Fe,o.TooltipProvider=Ee,o.TooltipTrigger=He,o.badgeVariants=re,o.buttonGroupVariants=ie,o.buttonVariants=E,o.navigationMenuTriggerStyle=ke,o.tabsListVariants=Ve,o.toggleVariants=U,o.useCarousel=j,o.useComboboxAnchor=Ca,o.useSidebar=B,Object.defineProperty(o,Symbol.toStringTag,{value:"Module"})});