@syscore/ui-library 1.1.11 → 1.1.13
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/client/components/icons/AchievementBadges.tsx +33 -0
- package/client/components/icons/ConceptIcons.tsx +169 -22
- package/client/components/icons/NavLogo.tsx +4 -4
- package/client/components/icons/ProviderBadges.tsx +28 -28
- package/client/components/icons/ProviderSeals.tsx +35 -35
- package/client/components/icons/StandardLogo.tsx +47 -0
- package/client/components/icons/UtilityChevronDown.tsx +1 -1
- package/client/components/icons/UtilityClearRegular.tsx +43 -0
- package/client/components/icons/UtilityCompare.tsx +71 -0
- package/client/components/icons/UtilityHome.tsx +26 -0
- package/client/components/icons/UtilityReset.tsx +7 -7
- package/client/components/icons/UtilitySave.tsx +35 -0
- package/client/components/icons/UtilityScopeLarge.tsx +86 -0
- package/client/components/icons/UtilityShow.tsx +41 -0
- package/client/components/icons/UtilityTarget.tsx +21 -0
- package/client/components/icons/UtilityTargetActive.tsx +34 -0
- package/client/components/icons/UtilityText.tsx +8 -8
- package/client/components/ui/breadcrumb.tsx +26 -4
- package/client/components/ui/button.tsx +30 -18
- package/client/components/ui/card.tsx +2 -2
- package/client/components/ui/code-badge.tsx +25 -0
- package/client/components/ui/dialog.tsx +4 -4
- package/client/components/ui/input.tsx +53 -9
- package/client/components/ui/label.tsx +2 -2
- package/client/components/ui/{Navigation.tsx → navigation.tsx} +291 -250
- package/client/components/ui/select.tsx +20 -20
- package/client/components/ui/tabs.tsx +27 -178
- package/client/components/ui/{Tag.tsx → tag.tsx} +11 -10
- package/client/components/ui/textarea.tsx +1 -1
- package/client/components/ui/toggle-group.tsx +19 -2
- package/client/components/ui/toggle.tsx +2 -2
- package/client/components/ui/tooltip.tsx +148 -8
- package/client/global.css +18 -11
- package/client/ui/AspectRatio.stories.tsx +1 -1
- package/client/ui/Button.stories.tsx +5 -5
- package/client/ui/Card.stories.tsx +223 -2
- package/client/ui/CodeBadge.stories.tsx +76 -0
- package/client/ui/Dialog.stories.tsx +52 -5
- package/client/ui/Icons.stories.tsx +31 -31
- package/client/ui/Input.stories.tsx +125 -0
- package/client/ui/Label.stories.tsx +8 -11
- package/client/ui/Navigation.stories.tsx +1 -1
- package/client/ui/RadioGroup/RadioGroup.stories.tsx +1 -1
- package/client/ui/SearchField.stories.tsx +1 -1
- package/client/ui/{Select/Select.stories.tsx → Select.stories.tsx} +2 -2
- package/client/ui/{Switch/Switch.stories.tsx → Switch.stories.tsx} +3 -3
- package/client/ui/Tabs.stories.tsx +174 -10
- package/client/ui/Tag.stories.tsx +48 -1
- package/client/ui/{Textarea/Textarea.stories.tsx → Textarea.stories.tsx} +9 -10
- package/client/ui/Toggle.stories.tsx +3 -3
- package/client/ui/Tooltip.stories.tsx +28 -4
- package/client/ui/WELLDashboard/WELLDashboard.stories.tsx +1 -1
- package/client/ui/WELLDashboard/index.tsx +147 -51
- package/dist/ui/index.cjs.js +1 -1
- package/dist/ui/index.d.ts +8 -1
- package/dist/ui/index.es.js +2127 -561
- package/package.json +2 -2
- package/client/components/ui/StrategyTable.tsx +0 -303
- package/client/ui/Input/Input.stories.tsx +0 -69
- package/client/ui/StrategyTable.stories.tsx +0 -138
- /package/client/components/ui/{SearchField.tsx → search.tsx} +0 -0
- /package/client/hooks/{UseTabs.tsx → use-tabs.tsx} +0 -0
package/dist/ui/index.cjs.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime"),a=require("react"),t=require("@radix-ui/react-accordion"),s=require("lucide-react"),r=require("clsx"),o=require("tailwind-merge"),i=require("@radix-ui/react-aspect-ratio"),n=require("@radix-ui/react-separator"),l=require("@radix-ui/react-scroll-area"),d=require("react-resizable-panels"),c=require("@radix-ui/react-slot"),m=require("class-variance-authority"),f=require("@radix-ui/react-dialog"),u=require("@radix-ui/react-tooltip"),p=require("@radix-ui/react-label"),x=require("@radix-ui/react-checkbox"),g=require("@radix-ui/react-radio-group"),b=require("@radix-ui/react-switch"),h=require("@radix-ui/react-slider"),N=require("input-otp"),v=require("@radix-ui/react-select"),y=require("react-hook-form"),w=require("@radix-ui/react-toggle-group"),j=require("@radix-ui/react-alert-dialog"),C=require("@radix-ui/react-avatar"),R=require("@radix-ui/react-progress"),S=require("react-day-picker");require("motion/react");const k=require("@radix-ui/react-tabs"),D=require("@radix-ui/react-navigation-menu"),T=require("@radix-ui/react-menubar"),I=require("@radix-ui/react-dropdown-menu"),z=require("vaul"),M=require("@radix-ui/react-popover"),P=require("@radix-ui/react-hover-card"),_=require("@radix-ui/react-context-menu"),A=require("embla-carousel-react"),L=require("@radix-ui/react-collapsible"),F=require("cmdk"),O=require("@radix-ui/react-toast"),E=require("recharts"),B=require("next-themes"),q=require("sonner");function G(e){const a=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e)for(const t in e)if("default"!==t){const s=Object.getOwnPropertyDescriptor(e,t);Object.defineProperty(a,t,s.get?s:{enumerable:!0,get:()=>e[t]})}return a.default=e,Object.freeze(a)}const V=G(a),H=G(t),$=G(i),W=G(n),K=G(l),U=G(d),X=G(f),Z=G(u),J=G(p),Q=G(x),Y=G(g),ee=G(b),ae=G(h),te=G(v),se=G(w),re=G(j),oe=G(C),ie=G(R),ne=G(k),le=G(D),de=G(T),ce=G(I),me=G(M),fe=G(P),ue=G(_),pe=G(L),xe=G(O),ge=G(E);function be(...e){return o.twMerge(r.clsx(e))}const he=H.Root,Ne=V.forwardRef(({className:a,...t},s)=>e.jsx(H.Item,{ref:s,className:be("border-b",a),...t}));Ne.displayName="AccordionItem";const ve=V.forwardRef(({className:a,children:t,...r},o)=>e.jsx(H.Header,{className:"flex",children:e.jsxs(H.Trigger,{ref:o,className:be("flex flex-1 items-center justify-between py-4 font-medium transition-all [&[data-state=open]>svg]:rotate-180",a),...r,children:[t,e.jsx(s.ChevronDown,{className:"h-4 w-4 shrink-0 transition-transform duration-200"})]})}));ve.displayName=H.Trigger.displayName;const ye=V.forwardRef(({className:a,children:t,...s},r)=>e.jsx(H.Content,{ref:r,className:"overflow-hidden text-sm transition-all data-[state=closed]:animate-accordion-up data-[state=open]:animate-accordion-down",...s,children:e.jsx("div",{className:be("pb-4 pt-0",a),children:t})}));ye.displayName=H.Content.displayName;const we=$.Root,je=V.forwardRef(({className:a,...t},s)=>e.jsx("div",{ref:s,className:be("rounded-lg border border-gray-100 bg-cyan-50 shadow-xs p-6 space-y-6",a),...t}));je.displayName="Card";const Ce=V.forwardRef(({className:a,...t},s)=>e.jsx("div",{ref:s,className:be("flex flex-col gap-6",a),...t}));Ce.displayName="CardHeader";const Re=V.forwardRef(({className:a,...t},s)=>e.jsx("h3",{ref:s,className:be("heading-xxsmall text-gray-800",a),...t}));Re.displayName="CardTitle";const Se=V.forwardRef(({className:a,...t},s)=>e.jsx("p",{ref:s,className:be("body-base text-gray-800",a),...t}));Se.displayName="CardDescription";const ke=V.forwardRef(({className:a,...t},s)=>e.jsx("div",{ref:s,className:be("body-base text-gray-800",a),...t}));ke.displayName="CardContent";const De=V.forwardRef(({className:a,...t},s)=>e.jsx("div",{ref:s,className:be("flex items-center body-base text-gray-800",a),...t}));De.displayName="CardFooter";const Te=V.forwardRef(({className:a,orientation:t="horizontal",decorative:s=!0,...r},o)=>e.jsx(W.Root,{ref:o,decorative:s,orientation:t,className:be("shrink-0 bg-border","horizontal"===t?"h-px w-full":"h-full w-px",a),...r}));Te.displayName=W.Root.displayName;const Ie=V.forwardRef(({className:a,children:t,...s},r)=>e.jsxs(K.Root,{ref:r,className:be("relative overflow-hidden",a),...s,children:[e.jsx(K.Viewport,{className:"h-full w-full rounded-[inherit]",children:t}),e.jsx(ze,{}),e.jsx(K.Corner,{})]}));Ie.displayName=K.Root.displayName;const ze=V.forwardRef(({className:a,orientation:t="vertical",...s},r)=>e.jsx(K.ScrollAreaScrollbar,{ref:r,orientation:t,className:be("flex touch-none select-none transition-colors","vertical"===t&&"h-full w-2.5 border-l border-l-transparent p-px","horizontal"===t&&"h-2.5 flex-col border-t border-t-transparent p-px",a),...s,children:e.jsx(K.ScrollAreaThumb,{className:"relative flex-1 rounded-full bg-border"})}));ze.displayName=K.ScrollAreaScrollbar.displayName;const Me=V.forwardRef(({className:a,...t},s)=>e.jsx("div",{className:"relative w-full overflow-auto",children:e.jsx("table",{ref:s,className:be("w-full caption-bottom text-sm",a),...t})}));Me.displayName="Table";const Pe=V.forwardRef(({className:a,...t},s)=>e.jsx("thead",{ref:s,className:be("[&_tr]:border-b",a),...t}));Pe.displayName="TableHeader";const _e=V.forwardRef(({className:a,...t},s)=>e.jsx("tbody",{ref:s,className:be("[&_tr:last-child]:border-0",a),...t}));_e.displayName="TableBody";const Ae=V.forwardRef(({className:a,...t},s)=>e.jsx("tfoot",{ref:s,className:be("border-t bg-muted/50 font-medium last:[&>tr]:border-b-0",a),...t}));Ae.displayName="TableFooter";const Le=V.forwardRef(({className:a,...t},s)=>e.jsx("tr",{ref:s,className:be("border-b transition-colors hover:bg-muted/50 data-[state=selected]:bg-muted",a),...t}));Le.displayName="TableRow";const Fe=V.forwardRef(({className:a,...t},s)=>e.jsx("th",{ref:s,className:be("h-12 px-4 text-left align-middle font-medium text-muted-foreground [&:has([role=checkbox])]:pr-0",a),...t}));Fe.displayName="TableHead";const Oe=V.forwardRef(({className:a,...t},s)=>e.jsx("td",{ref:s,className:be("p-4 align-middle [&:has([role=checkbox])]:pr-0",a),...t}));Oe.displayName="TableCell";const Ee=V.forwardRef(({className:a,...t},s)=>e.jsx("caption",{ref:s,className:be("mt-4 text-sm text-muted-foreground",a),...t}));Ee.displayName="TableCaption";const Be=U.Panel;const qe=m.cva("group inline-flex items-center justify-center rounded-full transition-all focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50 cursor-pointer",{variants:{variant:{"primary-gradient":"text-white hover:opacity-90 btn-primary-gradient","primary-dark":"bg-cyan-800 text-white hover:bg-cyan-900 focus-visible:ring-cyan-800","secondary-light":"bg-white border border-gray-200 text-cyan-800 hover:bg-gray-50 focus-visible:ring-gray-200","tertiary-light":"bg-blue-50 border border-blue-200 text-blue-600 hover:bg-blue-100 focus-visible:ring-blue-200","general-primary":"bg-blue-600 text-white hover:bg-blue-700 focus-visible:ring-blue-600","general-secondary":"bg-white border border-blue-200 text-blue-600 hover:bg-blue-50 focus-visible:ring-blue-200","general-tertiary":"bg-white border border-gray-200 text-gray-600 hover:bg-gray-50 focus-visible:ring-gray-200","tooltip-primary":"bg-cyan-300 text-white hover:bg-cyan-400 focus-visible:ring-cyan-300","tooltip-secondary":"bg-gray-500 text-white hover:bg-gray-600 focus-visible:ring-gray-500"},size:{xlarge:"h-16 px-10",large:"h-12 px-8",utility:"h-8 px-4",icon:"size-[32px]"}},compoundVariants:[{size:"xlarge",className:"font-semibold"},{size:"large",className:"font-semibold"},{size:"utility",className:"font-semibold"},{size:"icon",className:"p-0 bg-white border border-gray-100 "}],defaultVariants:{variant:"primary-dark",size:"large"}}),Ge=V.forwardRef(({className:a,variant:t,size:s,children:r,style:o,...i},n)=>{const l="xlarge"===s?"body-large":"large"===s?"body-base":"utility"===s?"body-small":"";return e.jsx("button",{className:be(qe({variant:t,size:s}),a),style:o,ref:n,...i,children:"icon"===s?r:e.jsx("span",{className:be("relative z-10",l),children:r})})});Ge.displayName="Button";const Ve=V.forwardRef(({className:a,type:t,...s},r)=>e.jsx("input",{type:t,className:be("flex h-10 w-full rounded-md border border-input bg-background px-3 py-2 text-base ring-offset-background file:border-0 file:bg-transparent file:text-sm file:font-medium file:text-foreground placeholder:text-muted-foreground focus-visible:outline-hidden focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50 md:text-sm",a),ref:r,...s}));Ve.displayName="Input";const He=X.Root,$e=X.Trigger,We=X.Close,Ke=X.Portal,Ue=V.forwardRef(({className:a,...t},s)=>e.jsx(X.Overlay,{className:be("fixed inset-0 z-50 bg-black/80 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0",a),...t,ref:s}));Ue.displayName=X.Overlay.displayName;const Xe=m.cva("fixed z-50 gap-4 bg-background p-6 shadow-lg transition ease-in-out data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:duration-300 data-[state=open]:duration-500",{variants:{side:{top:"inset-x-0 top-0 border-b data-[state=closed]:slide-out-to-top data-[state=open]:slide-in-from-top",bottom:"inset-x-0 bottom-0 border-t data-[state=closed]:slide-out-to-bottom data-[state=open]:slide-in-from-bottom",left:"inset-y-0 left-0 h-full w-3/4 border-r data-[state=closed]:slide-out-to-left data-[state=open]:slide-in-from-left sm:max-w-sm",right:"inset-y-0 right-0 h-full w-3/4 border-l data-[state=closed]:slide-out-to-right data-[state=open]:slide-in-from-right sm:max-w-sm"}},defaultVariants:{side:"right"}}),Ze=V.forwardRef(({side:a="right",className:t,children:r,...o},i)=>e.jsxs(Ke,{children:[e.jsx(Ue,{}),e.jsxs(X.Content,{ref:i,className:be(Xe({side:a}),t),...o,children:[r,e.jsxs(X.Close,{className:"absolute right-4 top-4 rounded-sm opacity-70 ring-offset-background transition-opacity hover:opacity-100 focus:outline-hidden focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:pointer-events-none data-[state=open]:bg-secondary",children:[e.jsx(s.X,{className:"h-4 w-4"}),e.jsx("span",{className:"sr-only",children:"Close"})]})]})]}));Ze.displayName=X.Content.displayName;const Je=({className:a,...t})=>e.jsx("div",{className:be("flex flex-col space-y-2 text-center sm:text-left",a),...t});Je.displayName="SheetHeader";const Qe=({className:a,...t})=>e.jsx("div",{className:be("flex flex-col-reverse sm:flex-row sm:justify-end sm:space-x-2",a),...t});Qe.displayName="SheetFooter";const Ye=V.forwardRef(({className:a,...t},s)=>e.jsx(X.Title,{ref:s,className:be("text-lg font-semibold text-foreground",a),...t}));Ye.displayName=X.Title.displayName;const ea=V.forwardRef(({className:a,...t},s)=>e.jsx(X.Description,{ref:s,className:be("text-sm text-muted-foreground",a),...t}));function aa({className:a,...t}){return e.jsx("div",{className:be("animate-pulse rounded-md bg-muted",a),...t})}function ta({delayDuration:a=0,...t}){return e.jsx(Z.Provider,{"data-slot":"tooltip-provider",delayDuration:a,...t})}function sa({...a}){return e.jsx(ta,{children:e.jsx(Z.Root,{"data-slot":"tooltip",...a})})}function ra({...a}){return e.jsx(Z.Trigger,{"data-slot":"tooltip-trigger",...a})}function oa({className:a,sideOffset:t=0,side:s="bottom",children:r,alignOffset:o=0,...i}){return e.jsx(Z.Portal,{children:e.jsxs(Z.Content,{"data-slot":"tooltip-content",sideOffset:t,alignOffset:o,side:s,className:be("group relative bg-gray-700 animate-in fade-in-0 zoom-in-95 data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 z-50 w-fit origin-(--radix-tooltip-content-transform-origin) rounded-lg px-6 pt-8 pb-6 text-balance shadow-sm",a),...i,children:[e.jsx("div",{className:"absolute left-1/2 -translate-x-1/2 flex justify-center group-data-[side=top]:bottom-0 group-data-[side=top]:rotate-180 group-data-[side=bottom]:top-0 group-data-[side=left]:right-0 group-data-[side=right]:left-0",children:e.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"10",height:"5",viewBox:"0 0 10 5",fill:"none",children:e.jsx("path",{d:"M10 -1.74846e-06L-7.36867e-07 0C-3.29906e-07 2.76142 2.23858 5 5 5C7.76142 5 10 2.76142 10 -1.74846e-06Z",fill:"#39C9EA"})})}),r]})})}ea.displayName=X.Description.displayName;const ia=V.createContext(null);function na(){const e=V.useContext(ia);if(!e)throw new Error("useSidebar must be used within a SidebarProvider.");return e}V.forwardRef(({defaultOpen:a=!0,open:t,onOpenChange:s,className:r,style:o,children:i,...n},l)=>{const d=function(){const[e,a]=V.useState(void 0);return V.useEffect(()=>{const e=window.matchMedia("(max-width: 767px)"),t=()=>{a(window.innerWidth<768)};return e.addEventListener("change",t),a(window.innerWidth<768),()=>e.removeEventListener("change",t)},[]),!!e}(),[c,m]=V.useState(!1),[f,u]=V.useState(a),p=t??f,x=V.useCallback(e=>{const a="function"==typeof e?e(p):e;s?s(a):u(a),document.cookie=`sidebar:state=${a}; path=/; max-age=604800`},[s,p]),g=V.useCallback(()=>d?m(e=>!e):x(e=>!e),[d,x,m]);V.useEffect(()=>{const e=e=>{"b"===e.key&&(e.metaKey||e.ctrlKey)&&(e.preventDefault(),g())};return window.addEventListener("keydown",e),()=>window.removeEventListener("keydown",e)},[g]);const b=p?"expanded":"collapsed",h=V.useMemo(()=>({state:b,open:p,setOpen:x,isMobile:d,openMobile:c,setOpenMobile:m,toggleSidebar:g}),[b,p,x,d,c,m,g]);return e.jsx(ia.Provider,{value:h,children:e.jsx(ta,{delayDuration:0,children:e.jsx("div",{style:{"--sidebar-width":"16rem","--sidebar-width-icon":"3rem",...o},className:be("group/sidebar-wrapper flex min-h-svh w-full has-data-[variant=inset]:bg-sidebar",r),ref:l,...n,children:i})})})}).displayName="SidebarProvider";const la=V.forwardRef(({side:a="left",variant:t="sidebar",collapsible:s="offcanvas",className:r,children:o,...i},n)=>{const{isMobile:l,state:d,openMobile:c,setOpenMobile:m}=na();return"none"===s?e.jsx("div",{className:be("flex h-full w-(--sidebar-width) flex-col bg-sidebar text-sidebar-foreground",r),ref:n,...i,children:o}):l?e.jsx(He,{open:c,onOpenChange:m,...i,children:e.jsx(Ze,{"data-sidebar":"sidebar","data-mobile":"true",className:"w-(--sidebar-width) bg-sidebar p-0 text-sidebar-foreground [&>button]:hidden",style:{"--sidebar-width":"18rem"},side:a,children:e.jsx("div",{className:"flex h-full w-full flex-col",children:o})})}):e.jsxs("div",{ref:n,className:"group peer hidden md:block text-sidebar-foreground","data-state":d,"data-collapsible":"collapsed"===d?s:"","data-variant":t,"data-side":a,children:[e.jsx("div",{className:be("duration-200 relative h-svh w-(--sidebar-width) bg-transparent transition-[width] ease-linear","group-data-[collapsible=offcanvas]:w-0","group-data-[side=right]:rotate-180","floating"===t||"inset"===t?"group-data-[collapsible=icon]:w-[calc(var(--sidebar-width-icon)+(--spacing(4)))]":"group-data-[collapsible=icon]:w-(--sidebar-width-icon)")}),e.jsx("div",{className:be("duration-200 fixed inset-y-0 z-10 hidden h-svh w-(--sidebar-width) transition-[left,right,width] ease-linear md:flex","left"===a?"left-0 group-data-[collapsible=offcanvas]:left-[calc(var(--sidebar-width)*-1)]":"right-0 group-data-[collapsible=offcanvas]:right-[calc(var(--sidebar-width)*-1)]","floating"===t||"inset"===t?"p-2 group-data-[collapsible=icon]:w-[calc(var(--sidebar-width-icon)+(--spacing(4))+2px)]":"group-data-[collapsible=icon]:w-(--sidebar-width-icon) group-data-[side=left]:border-r group-data-[side=right]:border-l",r),...i,children:e.jsx("div",{"data-sidebar":"sidebar",className:"flex h-full w-full flex-col bg-sidebar group-data-[variant=floating]:rounded-lg group-data-[variant=floating]:border group-data-[variant=floating]:border-sidebar-border group-data-[variant=floating]:shadow-sm",children:o})})]})});la.displayName="Sidebar";V.forwardRef(({className:a,onClick:t,...r},o)=>{const{toggleSidebar:i}=na();return e.jsxs(Ge,{ref:o,"data-sidebar":"trigger",variant:"general-tertiary",size:"icon",className:be("h-7 w-7",a),onClick:e=>{null==t||t(e),i()},...r,children:[e.jsx(s.PanelLeft,{}),e.jsx("span",{className:"sr-only",children:"Toggle Sidebar"})]})}).displayName="SidebarTrigger";V.forwardRef(({className:a,...t},s)=>{const{toggleSidebar:r}=na();return e.jsx("button",{ref:s,"data-sidebar":"rail","aria-label":"Toggle Sidebar",tabIndex:-1,onClick:r,title:"Toggle Sidebar",className:be("absolute inset-y-0 z-20 hidden w-4 -translate-x-1/2 transition-all ease-linear after:absolute after:inset-y-0 after:left-1/2 after:w-[2px] hover:after:bg-sidebar-border group-data-[side=left]:-right-4 group-data-[side=right]:left-0 sm:flex","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","group-data-[collapsible=offcanvas]:translate-x-0 group-data-[collapsible=offcanvas]:after:left-full hover:group-data-[collapsible=offcanvas]:bg-sidebar","[[data-side=left][data-collapsible=offcanvas]_&]:-right-2","[[data-side=right][data-collapsible=offcanvas]_&]:-left-2",a),...t})}).displayName="SidebarRail";V.forwardRef(({className:a,...t},s)=>e.jsx("main",{ref:s,className:be("relative flex min-h-svh flex-1 flex-col bg-background","peer-data-[variant=inset]:min-h-[calc(100svh-(--spacing(4)))] md:peer-data-[variant=inset]:m-2 md:peer-data-[variant=inset]:peer-data-[state=collapsed]:ml-2 md:peer-data-[variant=inset]:ml-0 md:peer-data-[variant=inset]:rounded-xl md:peer-data-[variant=inset]:shadow-sm",a),...t})).displayName="SidebarInset";V.forwardRef(({className:a,...t},s)=>e.jsx(Ve,{ref:s,"data-sidebar":"input",className:be("h-8 w-full bg-background shadow-none focus-visible:ring-2 focus-visible:ring-sidebar-ring",a),...t})).displayName="SidebarInput";const da=V.forwardRef(({className:a,...t},s)=>e.jsx("div",{ref:s,"data-sidebar":"header",className:be("flex flex-col gap-2 p-2",a),...t}));da.displayName="SidebarHeader";const ca=V.forwardRef(({className:a,...t},s)=>e.jsx("div",{ref:s,"data-sidebar":"footer",className:be("flex flex-col gap-2 p-2",a),...t}));ca.displayName="SidebarFooter";V.forwardRef(({className:a,...t},s)=>e.jsx(Te,{ref:s,"data-sidebar":"separator",className:be("mx-2 w-auto bg-sidebar-border",a),...t})).displayName="SidebarSeparator";const ma=V.forwardRef(({className:a,...t},s)=>e.jsx("div",{ref:s,"data-sidebar":"content",className:be("flex min-h-0 flex-1 flex-col gap-2 overflow-auto group-data-[collapsible=icon]:overflow-hidden",a),...t}));ma.displayName="SidebarContent";const fa=V.forwardRef(({className:a,...t},s)=>e.jsx("div",{ref:s,"data-sidebar":"group",className:be("relative flex w-full min-w-0 flex-col p-2",a),...t}));fa.displayName="SidebarGroup";const ua=V.forwardRef(({className:a,asChild:t=!1,...s},r)=>{const o=t?c.Slot:"div";return e.jsx(o,{ref:r,"data-sidebar":"group-label",className:be("duration-200 flex h-8 shrink-0 items-center rounded-md px-2 text-xs font-medium text-sidebar-foreground/70 outline-hidden ring-sidebar-ring transition-[margin,opa] ease-linear focus-visible:ring-2 [&>svg]:size-4 [&>svg]:shrink-0","group-data-[collapsible=icon]:-mt-8 group-data-[collapsible=icon]:opacity-0",a),...s})});ua.displayName="SidebarGroupLabel";V.forwardRef(({className:a,asChild:t=!1,...s},r)=>{const o=t?c.Slot:"button";return e.jsx(o,{ref:r,"data-sidebar":"group-action",className:be("absolute right-3 top-3.5 flex aspect-square w-5 items-center justify-center rounded-md p-0 text-sidebar-foreground outline-hidden ring-sidebar-ring transition-transform hover:bg-sidebar-accent hover:text-sidebar-accent-foreground focus-visible:ring-2 [&>svg]:size-4 [&>svg]:shrink-0","after:absolute after:-inset-2 md:after:hidden","group-data-[collapsible=icon]:hidden",a),...s})}).displayName="SidebarGroupAction";const pa=V.forwardRef(({className:a,...t},s)=>e.jsx("div",{ref:s,"data-sidebar":"group-content",className:be("w-full text-sm",a),...t}));pa.displayName="SidebarGroupContent";const xa=V.forwardRef(({className:a,...t},s)=>e.jsx("ul",{ref:s,"data-sidebar":"menu",className:be("flex w-full min-w-0 flex-col gap-1",a),...t}));xa.displayName="SidebarMenu";const ga=V.forwardRef(({className:a,...t},s)=>e.jsx("li",{ref:s,"data-sidebar":"menu-item",className:be("group/menu-item relative",a),...t}));ga.displayName="SidebarMenuItem";const ba=m.cva("peer/menu-button flex w-full items-center gap-2 overflow-hidden rounded-md p-2 text-left text-sm outline-hidden ring-sidebar-ring transition-[width,height,padding] hover:bg-sidebar-accent hover:text-sidebar-accent-foreground focus-visible:ring-2 active:bg-sidebar-accent active:text-sidebar-accent-foreground disabled:pointer-events-none disabled:opacity-50 group-has-data-[sidebar=menu-action]/menu-item:pr-8 aria-disabled:pointer-events-none aria-disabled:opacity-50 data-[active=true]:bg-sidebar-accent data-[active=true]:font-medium data-[active=true]:text-sidebar-accent-foreground data-[state=open]:hover:bg-sidebar-accent data-[state=open]:hover:text-sidebar-accent-foreground group-data-[collapsible=icon]:size-8! group-data-[collapsible=icon]:p-2! [&>span:last-child]:truncate [&>svg]:size-4 [&>svg]:shrink-0",{variants:{variant:{default:"hover:bg-sidebar-accent hover:text-sidebar-accent-foreground",outline:"bg-background shadow-[0_0_0_1px_hsl(var(--sidebar-border))] hover:bg-sidebar-accent hover:text-sidebar-accent-foreground hover:shadow-[0_0_0_1px_hsl(var(--sidebar-accent))]"},size:{default:"h-8 text-sm",sm:"h-7 text-xs",lg:"h-12 text-sm group-data-[collapsible=icon]:p-0!"}},defaultVariants:{variant:"default",size:"default"}}),ha=V.forwardRef(({asChild:a=!1,isActive:t=!1,variant:s="default",size:r="default",tooltip:o,className:i,...n},l)=>{const d=a?c.Slot:"button",{isMobile:m,state:f}=na(),u=e.jsx(d,{ref:l,"data-sidebar":"menu-button","data-size":r,"data-active":t,className:be(ba({variant:s,size:r}),i),...n});return o?("string"==typeof o&&(o={children:o}),e.jsxs(sa,{children:[e.jsx(ra,{asChild:!0,children:u}),e.jsx(oa,{side:"right",align:"center",hidden:"collapsed"!==f||m,...o})]})):u});ha.displayName="SidebarMenuButton";V.forwardRef(({className:a,asChild:t=!1,showOnHover:s=!1,...r},o)=>{const i=t?c.Slot:"button";return e.jsx(i,{ref:o,"data-sidebar":"menu-action",className:be("absolute right-1 top-1.5 flex aspect-square w-5 items-center justify-center rounded-md p-0 text-sidebar-foreground outline-hidden ring-sidebar-ring transition-transform hover:bg-sidebar-accent hover:text-sidebar-accent-foreground focus-visible:ring-2 peer-hover/menu-button:text-sidebar-accent-foreground [&>svg]:size-4 [&>svg]:shrink-0","after:absolute after:-inset-2 md:after:hidden","peer-data-[size=sm]/menu-button:top-1","peer-data-[size=default]/menu-button:top-1.5","peer-data-[size=lg]/menu-button:top-2.5","group-data-[collapsible=icon]:hidden",s&&"group-focus-within/menu-item:opacity-100 group-hover/menu-item:opacity-100 data-[state=open]:opacity-100 peer-data-[active=true]/menu-button:text-sidebar-accent-foreground md:opacity-0",a),...r})}).displayName="SidebarMenuAction";V.forwardRef(({className:a,...t},s)=>e.jsx("div",{ref:s,"data-sidebar":"menu-badge",className:be("absolute right-1 flex h-5 min-w-5 items-center justify-center rounded-md px-1 text-xs font-medium tabular-nums text-sidebar-foreground select-none pointer-events-none","peer-hover/menu-button:text-sidebar-accent-foreground peer-data-[active=true]/menu-button:text-sidebar-accent-foreground","peer-data-[size=sm]/menu-button:top-1","peer-data-[size=default]/menu-button:top-1.5","peer-data-[size=lg]/menu-button:top-2.5","group-data-[collapsible=icon]:hidden",a),...t})).displayName="SidebarMenuBadge";V.forwardRef(({className:a,showIcon:t=!1,...s},r)=>{const o=V.useMemo(()=>`${Math.floor(40*Math.random())+50}%`,[]);return e.jsxs("div",{ref:r,"data-sidebar":"menu-skeleton",className:be("rounded-md h-8 flex gap-2 px-2 items-center",a),...s,children:[t&&e.jsx(aa,{className:"size-4 rounded-md","data-sidebar":"menu-skeleton-icon"}),e.jsx(aa,{className:"h-4 flex-1 max-w-(--skeleton-width)","data-sidebar":"menu-skeleton-text",style:{"--skeleton-width":o}})]})}).displayName="SidebarMenuSkeleton";const Na=V.forwardRef(({className:a,...t},s)=>e.jsx("ul",{ref:s,"data-sidebar":"menu-sub",className:be("mx-3.5 flex min-w-0 translate-x-px flex-col gap-1 border-l border-sidebar-border px-2.5 py-0.5","group-data-[collapsible=icon]:hidden",a),...t}));Na.displayName="SidebarMenuSub";const va=V.forwardRef(({...a},t)=>e.jsx("li",{ref:t,...a}));va.displayName="SidebarMenuSubItem";const ya=V.forwardRef(({asChild:a=!1,size:t="md",isActive:s,className:r,...o},i)=>{const n=a?c.Slot:"a";return e.jsx(n,{ref:i,"data-sidebar":"menu-sub-button","data-size":t,"data-active":s,className:be("flex h-7 min-w-0 -translate-x-px items-center gap-2 overflow-hidden rounded-md px-2 text-sidebar-foreground outline-hidden ring-sidebar-ring hover:bg-sidebar-accent hover:text-sidebar-accent-foreground focus-visible:ring-2 active:bg-sidebar-accent active:text-sidebar-accent-foreground disabled:pointer-events-none disabled:opacity-50 aria-disabled:pointer-events-none aria-disabled:opacity-50 [&>span:last-child]:truncate [&>svg]:size-4 [&>svg]:shrink-0 [&>svg]:text-sidebar-accent-foreground","data-[active=true]:bg-sidebar-accent data-[active=true]:text-sidebar-accent-foreground","sm"===t&&"text-xs","md"===t&&"text-sm","group-data-[collapsible=icon]:hidden",r),...o})});ya.displayName="SidebarMenuSubButton";const wa=m.cva("overline-medium peer-disabled:cursor-not-allowed peer-disabled:opacity-70"),ja=V.forwardRef(({className:a,children:t,...s},r)=>e.jsx(J.Root,{ref:r,className:be(wa(),a),...s,children:t}));ja.displayName=J.Root.displayName;const Ca=V.forwardRef(({className:a,...t},s)=>e.jsx("textarea",{className:be("flex min-h-[80px] w-full rounded-md border border-input bg-background px-3 py-2 text-sm ring-offset-background placeholder:text-muted-foreground focus-visible:outline-hidden focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50",a),ref:s,...t}));Ca.displayName="Textarea";const Ra=V.forwardRef(({className:a,...t},r)=>e.jsx(Q.Root,{ref:r,className:be("peer h-4 w-4 shrink-0 rounded-sm border border-primary ring-offset-background focus-visible:outline-hidden focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50 data-[state=checked]:bg-primary data-[state=checked]:text-primary-foreground",a),...t,children:e.jsx(Q.Indicator,{className:be("flex items-center justify-center text-current"),children:e.jsx(s.Check,{className:"h-4 w-4"})})}));Ra.displayName=Q.Root.displayName;const Sa=V.forwardRef(({className:a,...t},s)=>e.jsx(Y.Root,{className:be("grid gap-2",a),...t,ref:s}));Sa.displayName=Y.Root.displayName;const ka=V.forwardRef(({className:a,...t},r)=>e.jsx(Y.Item,{ref:r,className:be("aspect-square h-4 w-4 rounded-full border border-primary text-primary ring-offset-background focus:outline-hidden focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50",a),...t,children:e.jsx(Y.Indicator,{className:"flex items-center justify-center",children:e.jsx(s.Circle,{className:"h-2.5 w-2.5 fill-current text-current"})})}));ka.displayName=Y.Item.displayName;const Da=V.forwardRef(({className:a,...t},s)=>e.jsx(ee.Root,{className:be("peer inline-flex h-6 w-11 shrink-0 cursor-pointer items-center rounded-full border-2 border-transparent transition-colors focus-visible:outline-hidden focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 focus-visible:ring-offset-background disabled:cursor-not-allowed disabled:opacity-50 data-[state=checked]:bg-primary data-[state=unchecked]:bg-input",a),...t,ref:s,children:e.jsx(ee.Thumb,{className:be("pointer-events-none block h-5 w-5 rounded-full bg-background shadow-lg ring-0 transition-transform data-[state=checked]:translate-x-5 data-[state=unchecked]:translate-x-0")})}));Da.displayName=ee.Root.displayName;const Ta=V.forwardRef(({className:a,...t},s)=>e.jsxs(ae.Root,{ref:s,className:be("relative flex w-full touch-none select-none items-center",a),...t,children:[e.jsx(ae.Track,{className:"relative h-2 w-full grow overflow-hidden rounded-full bg-secondary",children:e.jsx(ae.Range,{className:"absolute h-full bg-primary"})}),e.jsx(ae.Thumb,{className:"block h-5 w-5 rounded-full border-2 border-primary bg-background ring-offset-background transition-colors focus-visible:outline-hidden focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50"})]}));Ta.displayName=ae.Root.displayName;const Ia=V.forwardRef(({className:a,containerClassName:t,...s},r)=>e.jsx(N.OTPInput,{ref:r,containerClassName:be("flex items-center gap-2 has-disabled:opacity-50",t),className:be("disabled:cursor-not-allowed",a),...s}));Ia.displayName="InputOTP";const za=V.forwardRef(({className:a,...t},s)=>e.jsx("div",{ref:s,className:be("flex items-center",a),...t}));za.displayName="InputOTPGroup";const Ma=V.forwardRef(({index:a,className:t,...s},r)=>{const o=V.useContext(N.OTPInputContext),{char:i,hasFakeCaret:n,isActive:l}=o.slots[a];return e.jsxs("div",{ref:r,className:be("relative flex h-10 w-10 items-center justify-center border-y border-r border-input text-sm transition-all first:rounded-l-md first:border-l last:rounded-r-md",l&&"z-10 ring-2 ring-ring ring-offset-background",t),...s,children:[i,n&&e.jsx("div",{className:"pointer-events-none absolute inset-0 flex items-center justify-center",children:e.jsx("div",{className:"h-4 w-px animate-caret-blink bg-foreground duration-1000"})})]})});Ma.displayName="InputOTPSlot";const Pa=V.forwardRef(({...a},t)=>e.jsx("div",{ref:t,role:"separator",...a,children:e.jsx(s.Dot,{})}));Pa.displayName="InputOTPSeparator";const _a=te.Root,Aa=te.Group,La=te.Value,Fa=V.forwardRef(({className:a,children:t,...r},o)=>e.jsxs(te.Trigger,{ref:o,className:be("flex h-10 w-full items-center justify-between rounded-md border border-input bg-background px-3 py-2 text-sm ring-offset-background placeholder:text-muted-foreground focus:outline-hidden focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50 [&>span]:line-clamp-1",a),...r,children:[t,e.jsx(te.Icon,{asChild:!0,children:e.jsx(s.ChevronDown,{className:"h-4 w-4 opacity-50"})})]}));Fa.displayName=te.Trigger.displayName;const Oa=V.forwardRef(({className:a,...t},r)=>e.jsx(te.ScrollUpButton,{ref:r,className:be("flex cursor-default items-center justify-center py-1",a),...t,children:e.jsx(s.ChevronUp,{className:"h-4 w-4"})}));Oa.displayName=te.ScrollUpButton.displayName;const Ea=V.forwardRef(({className:a,...t},r)=>e.jsx(te.ScrollDownButton,{ref:r,className:be("flex cursor-default items-center justify-center py-1",a),...t,children:e.jsx(s.ChevronDown,{className:"h-4 w-4"})}));Ea.displayName=te.ScrollDownButton.displayName;const Ba=V.forwardRef(({className:a,children:t,position:s="popper",...r},o)=>e.jsx(te.Portal,{children:e.jsxs(te.Content,{ref:o,className:be("relative z-50 max-h-96 min-w-32 overflow-hidden rounded-md border bg-popover text-popover-foreground shadow-md data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2","popper"===s&&"data-[side=bottom]:translate-y-1 data-[side=left]:-translate-x-1 data-[side=right]:translate-x-1 data-[side=top]:-translate-y-1",a),position:s,...r,children:[e.jsx(Oa,{}),e.jsx(te.Viewport,{className:be("p-1","popper"===s&&"h-(--radix-select-trigger-height) w-full min-w-(--radix-select-trigger-width)"),children:t}),e.jsx(Ea,{})]})}));Ba.displayName=te.Content.displayName;const qa=V.forwardRef(({className:a,...t},s)=>e.jsx(te.Label,{ref:s,className:be("py-1.5 pl-8 pr-2 text-sm font-semibold",a),...t}));qa.displayName=te.Label.displayName;const Ga=V.forwardRef(({className:a,children:t,...r},o)=>e.jsxs(te.Item,{ref:o,className:be("relative flex w-full cursor-default select-none items-center rounded-sm py-1.5 pl-8 pr-2 text-sm outline-hidden focus:bg-accent focus:text-accent-foreground data-disabled:pointer-events-none data-disabled:opacity-50",a),...r,children:[e.jsx("span",{className:"absolute left-2 flex h-3.5 w-3.5 items-center justify-center",children:e.jsx(te.ItemIndicator,{children:e.jsx(s.Check,{className:"h-4 w-4"})})}),e.jsx(te.ItemText,{children:t})]}));Ga.displayName=te.Item.displayName;const Va=V.forwardRef(({className:a,...t},s)=>e.jsx(te.Separator,{ref:s,className:be("-mx-1 my-1 h-px bg-muted",a),...t}));Va.displayName=te.Separator.displayName;const Ha=y.FormProvider,$a=V.createContext({}),Wa=()=>{const e=V.useContext($a),a=V.useContext(Ka),{getFieldState:t,formState:s}=y.useFormContext(),r=t(e.name,s);if(!e)throw new Error("useFormField should be used within <FormField>");const{id:o}=a;return{id:o,name:e.name,formItemId:`${o}-form-item`,formDescriptionId:`${o}-form-item-description`,formMessageId:`${o}-form-item-message`,...r}},Ka=V.createContext({}),Ua=V.forwardRef(({className:a,...t},s)=>{const r=V.useId();return e.jsx(Ka.Provider,{value:{id:r},children:e.jsx("div",{ref:s,className:be("space-y-2",a),...t})})});Ua.displayName="FormItem";const Xa=V.forwardRef(({className:a,...t},s)=>{const{error:r,formItemId:o}=Wa();return e.jsx(ja,{ref:s,className:be(r&&"text-destructive",a),htmlFor:o,...t})});Xa.displayName="FormLabel";const Za=V.forwardRef(({...a},t)=>{const{error:s,formItemId:r,formDescriptionId:o,formMessageId:i}=Wa();return e.jsx(c.Slot,{ref:t,id:r,"aria-describedby":s?`${o} ${i}`:`${o}`,"aria-invalid":!!s,...a})});Za.displayName="FormControl";const Ja=V.forwardRef(({className:a,...t},s)=>{const{formDescriptionId:r}=Wa();return e.jsx("p",{ref:s,id:r,className:be("text-sm text-muted-foreground",a),...t})});Ja.displayName="FormDescription";const Qa=V.forwardRef(({className:a,children:t,...s},r)=>{const{error:o,formMessageId:i}=Wa(),n=o?String(null==o?void 0:o.message):t;return n?e.jsx("p",{ref:r,id:i,className:be("text-sm font-medium text-destructive",a),...s,children:n}):null});Qa.displayName="FormMessage";const Ya=m.cva("inline-flex items-center justify-center rounded-md text-sm font-medium ring-offset-background transition-colors hover:bg-muted hover:text-muted-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50 data-[state=on]:bg-accent data-[state=on]:text-accent-foreground",{variants:{variant:{default:"bg-transparent",outline:"border border-input bg-transparent hover:bg-accent hover:text-accent-foreground"},size:{default:"h-10 px-3",sm:"h-9 px-2.5",lg:"h-11 px-5"}},defaultVariants:{variant:"default",size:"default"}}),et=V.forwardRef(({className:t,options:s,value:r,defaultValue:o,onValueChange:i,...n},l)=>{var d;const{value:c,onValueChange:m}=function({value:e,defaultValue:t,onValueChange:s}){const[r,o]=a.useState(e??t);a.useEffect(()=>{void 0!==e&&o(e)},[e]);const i=a.useCallback(a=>{void 0===e&&o(a),null==s||s(a)},[e,s]);return{value:e??r,onValueChange:i}}({value:r,defaultValue:o??(null==(d=s[0])?void 0:d.value),onValueChange:i});return e.jsx("div",{ref:l,className:be(t),...n,children:s.map(a=>{const t=V.isValidElement(a.label);return e.jsx("button",{className:be("inline-flex items-center justify-center h-8 px-6 rounded-full transition-all focus-visible:outline-hidden focus-visible:ring-2 focus-visible:ring-ring",c===a.value?"bg-cyan-700 text-white font-semibold":"text-gray-600 hover:bg-gray-50 font-medium"),onClick:()=>m(a.value),type:"button","data-active":c===a.value,children:t?a.label:e.jsx("span",{className:"body-small font-medium",children:a.label})},a.value)})})});et.displayName="SegmentedControl";const at=et,tt=V.createContext({size:"default",variant:"default"}),st=V.forwardRef(({className:a,variant:t,size:s,children:r,...o},i)=>e.jsx(se.Root,{ref:i,className:be("flex items-center justify-center gap-1",a),...o,children:e.jsx(tt.Provider,{value:{variant:t,size:s},children:r})}));st.displayName=se.Root.displayName;const rt=V.forwardRef(({className:a,children:t,variant:s,size:r,...o},i)=>{const n=V.useContext(tt);return e.jsx(se.Item,{ref:i,className:be(Ya({variant:n.variant||s,size:n.size||r}),a),...o,children:t})});rt.displayName=se.Item.displayName;const ot=m.cva("inline-flex items-center rounded-full border px-2.5 py-0.5 text-xs font-semibold transition-colors focus:outline-hidden focus:ring-2 focus:ring-ring focus:ring-offset-2",{variants:{variant:{default:"border-transparent bg-primary text-primary-foreground hover:bg-primary/80",secondary:"border-transparent bg-secondary text-secondary-foreground hover:bg-secondary/80",destructive:"border-transparent bg-destructive text-destructive-foreground hover:bg-destructive/80",outline:"text-foreground"}},defaultVariants:{variant:"default"}});const it=m.cva("relative w-full rounded-lg border p-4 [&>svg~*]:pl-7 [&>svg+div]:translate-y-[-3px] [&>svg]:absolute [&>svg]:left-4 [&>svg]:top-4 [&>svg]:text-foreground",{variants:{variant:{default:"bg-background text-foreground",destructive:"border-destructive/50 text-destructive dark:border-destructive [&>svg]:text-destructive"}},defaultVariants:{variant:"default"}}),nt=V.forwardRef(({className:a,variant:t,...s},r)=>e.jsx("div",{ref:r,role:"alert",className:be(it({variant:t}),a),...s}));nt.displayName="Alert";const lt=V.forwardRef(({className:a,...t},s)=>e.jsx("h5",{ref:s,className:be("mb-1 font-medium leading-none tracking-tight",a),...t}));lt.displayName="AlertTitle";const dt=V.forwardRef(({className:a,...t},s)=>e.jsx("div",{ref:s,className:be("text-sm [&_p]:leading-relaxed",a),...t}));dt.displayName="AlertDescription";const ct=re.Root,mt=re.Trigger,ft=re.Portal,ut=V.forwardRef(({className:a,...t},s)=>e.jsx(re.Overlay,{className:be("fixed inset-0 z-50 bg-black/80 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0",a),...t,ref:s}));ut.displayName=re.Overlay.displayName;const pt=V.forwardRef(({className:a,...t},s)=>e.jsxs(ft,{children:[e.jsx(ut,{}),e.jsx(re.Content,{ref:s,className:be("fixed left-[50%] top-[50%] z-50 border-green grid w-full max-w-lg translate-x-[-50%] translate-y-[-50%] gap-4 border bg-background p-6 shadow-lg duration-200 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[state=closed]:slide-out-to-left-1/2 data-[state=closed]:slide-out-to-top-[48%] data-[state=open]:slide-in-from-left-1/2 data-[state=open]:slide-in-from-top-[48%] sm:rounded-lg",a),...t})]}));pt.displayName=re.Content.displayName;const xt=({className:a,...t})=>e.jsx("div",{className:be("flex flex-col space-y-2 text-center sm:text-left",a),...t});xt.displayName="AlertDialogHeader";const gt=({className:a,...t})=>e.jsx("div",{className:be("flex flex-col-reverse sm:flex-row sm:justify-end sm:space-x-2",a),...t});gt.displayName="AlertDialogFooter";const bt=V.forwardRef(({className:a,...t},s)=>e.jsx(re.Title,{ref:s,className:be("text-lg font-semibold",a),...t}));bt.displayName=re.Title.displayName;const ht=V.forwardRef(({className:a,...t},s)=>e.jsx(re.Description,{ref:s,className:be("text-sm text-muted-foreground",a),...t}));ht.displayName=re.Description.displayName;const Nt=V.forwardRef(({className:a,...t},s)=>e.jsx(re.Action,{ref:s,className:be(qe(),a),...t}));Nt.displayName=re.Action.displayName;const vt=V.forwardRef(({className:a,...t},s)=>e.jsx(re.Cancel,{ref:s,className:be(qe({variant:"general-secondary"}),"mt-2 sm:mt-0",a),...t}));vt.displayName=re.Cancel.displayName;const yt=V.forwardRef(({className:a,...t},s)=>e.jsx(oe.Root,{ref:s,className:be("relative flex h-10 w-10 shrink-0 overflow-hidden rounded-full",a),...t}));yt.displayName=oe.Root.displayName;const wt=V.forwardRef(({className:a,...t},s)=>e.jsx(oe.Image,{ref:s,className:be("aspect-square h-full w-full",a),...t}));wt.displayName=oe.Image.displayName;const jt=V.forwardRef(({className:a,...t},s)=>e.jsx(oe.Fallback,{ref:s,className:be("flex h-full w-full items-center justify-center rounded-full bg-muted",a),...t}));jt.displayName=oe.Fallback.displayName;const Ct=V.forwardRef(({...a},t)=>e.jsx("nav",{ref:t,"aria-label":"breadcrumb",...a}));Ct.displayName="Breadcrumb";const Rt=V.forwardRef(({className:a,...t},s)=>e.jsx("ol",{ref:s,className:be("flex flex-wrap items-center gap-1.5 wrap-break-word text-sm text-muted-foreground sm:gap-2.5",a),...t}));Rt.displayName="BreadcrumbList";const St=V.forwardRef(({className:a,...t},s)=>e.jsx("li",{ref:s,className:be("inline-flex items-center gap-1.5",a),...t}));St.displayName="BreadcrumbItem";const kt=V.forwardRef(({asChild:a,className:t,...s},r)=>{const o=a?c.Slot:"a";return e.jsx(o,{ref:r,className:be("transition-colors hover:text-foreground",t),...s})});kt.displayName="BreadcrumbLink";const Dt=V.forwardRef(({className:a,...t},s)=>e.jsx("span",{ref:s,role:"link","aria-disabled":"true","aria-current":"page",className:be("font-normal text-foreground",a),...t}));Dt.displayName="BreadcrumbPage";const Tt=({children:a,className:t,...r})=>e.jsx("li",{role:"presentation","aria-hidden":"true",className:be("[&>svg]:size-3.5",t),...r,children:a??e.jsx(s.ChevronRight,{})});Tt.displayName="BreadcrumbSeparator";const It=V.forwardRef(({className:a,value:t,...s},r)=>e.jsx(ie.Root,{ref:r,className:be("relative h-4 w-full overflow-hidden rounded-full bg-secondary",a),...s,children:e.jsx(ie.Indicator,{className:"h-full w-full flex-1 bg-primary transition-all",style:{transform:`translateX(-${100-(t||0)}%)`}})}));function zt({className:a,classNames:t,showOutsideDays:r=!0,...o}){return e.jsx(S.DayPicker,{showOutsideDays:r,className:be("p-3",a),classNames:{months:"flex flex-col sm:flex-row space-y-4 sm:space-x-4 sm:space-y-0",month:"space-y-4",caption:"flex justify-center pt-1 relative items-center",caption_label:"text-sm font-medium",nav:"space-x-1 flex items-center",nav_button:be(qe({variant:"general-secondary"}),"h-7 w-7 bg-transparent p-0 opacity-50 hover:opacity-100"),nav_button_previous:"absolute left-1",nav_button_next:"absolute right-1",table:"w-full border-collapse space-y-1",head_row:"flex",head_cell:"text-muted-foreground rounded-md w-9 font-normal text-[0.8rem]",row:"flex w-full mt-2",cell:"h-9 w-9 text-center text-sm p-0 relative [&:has([aria-selected].day-range-end)]:rounded-r-md [&:has([aria-selected].day-outside)]:bg-accent/50 [&:has([aria-selected])]:bg-accent first:[&:has([aria-selected])]:rounded-l-md last:[&:has([aria-selected])]:rounded-r-md focus-within:relative focus-within:z-20",day:be(qe({variant:"general-tertiary"}),"h-9 w-9 p-0 font-normal aria-selected:opacity-100"),day_range_end:"day-range-end",day_selected:"bg-primary text-primary-foreground hover:bg-primary hover:text-primary-foreground focus:bg-primary focus:text-primary-foreground",day_today:"bg-accent text-accent-foreground",day_outside:"day-outside text-muted-foreground opacity-50 aria-selected:bg-accent/50 aria-selected:text-muted-foreground aria-selected:opacity-30",day_disabled:"text-muted-foreground opacity-50",day_range_middle:"aria-selected:bg-accent aria-selected:text-accent-foreground",day_hidden:"invisible",...t},components:{Chevron:a=>"left"===a.orientation?e.jsx(s.ChevronLeft,{className:"h-4 w-4"}):e.jsx(s.ChevronRight,{className:"h-4 w-4"})},...o})}It.displayName=ie.Root.displayName,zt.displayName="Calendar";const Mt=a.forwardRef(({className:a,...t},s)=>e.jsx(ne.Root,{ref:s,className:be("w-full",a),...t}));Mt.displayName=ne.Root.displayName;const Pt=a.forwardRef(({className:a,...t},s)=>e.jsx(ne.List,{ref:s,className:be("inline-flex h-10 items-center justify-center rounded-md bg-muted p-1 text-muted-foreground",a),...t}));Pt.displayName=ne.List.displayName;const _t=a.forwardRef(({className:a,...t},s)=>e.jsx(ne.Trigger,{ref:s,className:be("inline-flex items-center justify-center whitespace-nowrap rounded-sm px-3 py-1.5 text-sm font-medium ring-offset-background transition-all focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50 data-[state=active]:bg-background data-[state=active]:text-foreground data-[state=active]:shadow-sm",a),...t}));_t.displayName=ne.Trigger.displayName;const At=a.forwardRef(({className:a,...t},s)=>e.jsx(ne.Content,{ref:s,className:be("mt-2 ring-offset-background focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2",a),...t}));At.displayName=ne.Content.displayName;const Lt=({className:a,...t})=>e.jsx("nav",{role:"navigation","aria-label":"pagination",className:be("mx-auto flex w-full justify-center",a),...t});Lt.displayName="Pagination";const Ft=V.forwardRef(({className:a,...t},s)=>e.jsx("ul",{ref:s,className:be("flex flex-row items-center gap-1",a),...t}));Ft.displayName="PaginationContent";const Ot=V.forwardRef(({className:a,...t},s)=>e.jsx("li",{ref:s,className:be("",a),...t}));Ot.displayName="PaginationItem";const Et=({className:a,isActive:t,size:s="icon",...r})=>e.jsx("a",{"aria-current":t?"page":void 0,className:be(qe({variant:t?"general-secondary":"general-tertiary",size:s}),a),...r});Et.displayName="PaginationLink";const Bt=({className:a,...t})=>e.jsxs(Et,{"aria-label":"Go to previous page",size:"utility",className:be("gap-1 pl-2.5",a),...t,children:[e.jsx(s.ChevronLeft,{className:"h-4 w-4"}),e.jsx("span",{children:"Previous"})]});Bt.displayName="PaginationPrevious";const qt=({className:a,...t})=>e.jsxs(Et,{"aria-label":"Go to next page",size:"utility",className:be("gap-1 pr-2.5",a),...t,children:[e.jsx("span",{children:"Next"}),e.jsx(s.ChevronRight,{className:"h-4 w-4"})]});qt.displayName="PaginationNext";const Gt=({className:a,...t})=>e.jsxs("span",{"aria-hidden":!0,className:be("flex h-9 w-9 items-center justify-center",a),...t,children:[e.jsx(s.MoreHorizontal,{className:"h-4 w-4"}),e.jsx("span",{className:"sr-only",children:"More pages"})]});Gt.displayName="PaginationEllipsis";const Vt=V.forwardRef(({className:a,children:t,...s},r)=>e.jsxs(le.Root,{ref:r,className:be("relative z-10 flex max-w-max flex-1 items-center justify-center",a),...s,children:[t,e.jsx(Zt,{})]}));Vt.displayName=le.Root.displayName;const Ht=V.forwardRef(({className:a,...t},s)=>e.jsx(le.List,{ref:s,className:be("group flex flex-1 list-none items-center justify-center space-x-1",a),...t}));Ht.displayName=le.List.displayName;const $t=le.Item,Wt=m.cva("group inline-flex h-10 w-max items-center justify-center rounded-md bg-background px-4 py-2 text-sm font-medium transition-colors hover:bg-accent hover:text-accent-foreground focus:bg-accent focus:text-accent-foreground focus:outline-hidden disabled:pointer-events-none disabled:opacity-50 data-active:bg-accent/50 data-[state=open]:bg-accent/50"),Kt=V.forwardRef(({className:a,children:t,...r},o)=>e.jsxs(le.Trigger,{ref:o,className:be(Wt(),"group",a),...r,children:[t," ",e.jsx(s.ChevronDown,{className:"relative top-px ml-1 h-3 w-3 transition duration-200 group-data-[state=open]:rotate-180","aria-hidden":"true"})]}));Kt.displayName=le.Trigger.displayName;const Ut=V.forwardRef(({className:a,...t},s)=>e.jsx(le.Content,{ref:s,className:be("left-0 top-0 w-full data-[motion^=from-]:animate-in data-[motion^=to-]:animate-out data-[motion^=from-]:fade-in data-[motion^=to-]:fade-out data-[motion=from-end]:slide-in-from-right-52 data-[motion=from-start]:slide-in-from-left-52 data-[motion=to-end]:slide-out-to-right-52 data-[motion=to-start]:slide-out-to-left-52 md:absolute md:w-auto ",a),...t}));Ut.displayName=le.Content.displayName;const Xt=le.Link,Zt=V.forwardRef(({className:a,...t},s)=>e.jsx("div",{className:be("absolute left-0 top-full flex justify-center"),children:e.jsx(le.Viewport,{className:be("origin-top-center relative mt-1.5 h-(--radix-navigation-menu-viewport-height) w-full overflow-hidden rounded-md border bg-popover text-popover-foreground shadow-lg data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-90 md:w-(--radix-navigation-menu-viewport-width)",a),ref:s,...t})}));Zt.displayName=le.Viewport.displayName;V.forwardRef(({className:a,...t},s)=>e.jsx(le.Indicator,{ref:s,className:be("top-full z-1 flex h-1.5 items-end justify-center overflow-hidden data-[state=visible]:animate-in data-[state=hidden]:animate-out data-[state=hidden]:fade-out data-[state=visible]:fade-in",a),...t,children:e.jsx("div",{className:"relative top-[60%] h-2 w-2 rotate-45 rounded-tl-sm bg-border shadow-md"})})).displayName=le.Indicator.displayName;const Jt=de.Menu,Qt=de.Sub,Yt=de.RadioGroup,es=V.forwardRef(({className:a,...t},s)=>e.jsx(de.Root,{ref:s,className:be("flex h-10 items-center space-x-1 rounded-md border bg-background p-1",a),...t}));es.displayName=de.Root.displayName;const as=V.forwardRef(({className:a,...t},s)=>e.jsx(de.Trigger,{ref:s,className:be("flex cursor-default select-none items-center rounded-sm px-3 py-1.5 text-sm font-medium outline-hidden focus:bg-accent focus:text-accent-foreground data-[state=open]:bg-accent data-[state=open]:text-accent-foreground",a),...t}));as.displayName=de.Trigger.displayName;const ts=V.forwardRef(({className:a,inset:t,children:r,...o},i)=>e.jsxs(de.SubTrigger,{ref:i,className:be("flex cursor-default select-none items-center rounded-sm px-2 py-1.5 text-sm outline-hidden focus:bg-accent focus:text-accent-foreground data-[state=open]:bg-accent data-[state=open]:text-accent-foreground",t&&"pl-8",a),...o,children:[r,e.jsx(s.ChevronRight,{className:"ml-auto h-4 w-4"})]}));ts.displayName=de.SubTrigger.displayName;const ss=V.forwardRef(({className:a,...t},s)=>e.jsx(de.SubContent,{ref:s,className:be("z-50 min-w-32 overflow-hidden rounded-md border bg-popover p-1 text-popover-foreground data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",a),...t}));ss.displayName=de.SubContent.displayName;const rs=V.forwardRef(({className:a,align:t="start",alignOffset:s=-4,sideOffset:r=8,...o},i)=>e.jsx(de.Portal,{children:e.jsx(de.Content,{ref:i,align:t,alignOffset:s,sideOffset:r,className:be("z-50 min-w-48 overflow-hidden rounded-md border bg-popover p-1 text-popover-foreground shadow-md data-[state=open]:animate-in data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",a),...o})}));rs.displayName=de.Content.displayName;const os=V.forwardRef(({className:a,inset:t,...s},r)=>e.jsx(de.Item,{ref:r,className:be("relative flex cursor-default select-none items-center rounded-sm px-2 py-1.5 text-sm outline-hidden focus:bg-accent focus:text-accent-foreground data-disabled:pointer-events-none data-disabled:opacity-50",t&&"pl-8",a),...s}));os.displayName=de.Item.displayName;const is=V.forwardRef(({className:a,children:t,checked:r,...o},i)=>e.jsxs(de.CheckboxItem,{ref:i,className:be("relative flex cursor-default select-none items-center rounded-sm py-1.5 pl-8 pr-2 text-sm outline-hidden focus:bg-accent focus:text-accent-foreground data-disabled:pointer-events-none data-disabled:opacity-50",a),checked:r,...o,children:[e.jsx("span",{className:"absolute left-2 flex h-3.5 w-3.5 items-center justify-center",children:e.jsx(de.ItemIndicator,{children:e.jsx(s.Check,{className:"h-4 w-4"})})}),t]}));is.displayName=de.CheckboxItem.displayName;const ns=V.forwardRef(({className:a,children:t,...r},o)=>e.jsxs(de.RadioItem,{ref:o,className:be("relative flex cursor-default select-none items-center rounded-sm py-1.5 pl-8 pr-2 text-sm outline-hidden focus:bg-accent focus:text-accent-foreground data-disabled:pointer-events-none data-disabled:opacity-50",a),...r,children:[e.jsx("span",{className:"absolute left-2 flex h-3.5 w-3.5 items-center justify-center",children:e.jsx(de.ItemIndicator,{children:e.jsx(s.Circle,{className:"h-2 w-2 fill-current"})})}),t]}));ns.displayName=de.RadioItem.displayName;const ls=V.forwardRef(({className:a,inset:t,...s},r)=>e.jsx(de.Label,{ref:r,className:be("px-2 py-1.5 text-sm font-semibold",t&&"pl-8",a),...s}));ls.displayName=de.Label.displayName;const ds=V.forwardRef(({className:a,...t},s)=>e.jsx(de.Separator,{ref:s,className:be("-mx-1 my-1 h-px bg-muted",a),...t}));ds.displayName=de.Separator.displayName;const cs=({className:a,...t})=>e.jsx("span",{className:be("ml-auto text-xs tracking-widest text-muted-foreground",a),...t});cs.displayname="MenubarShortcut";const ms=ce.Root,fs=ce.Trigger,us=ce.Group,ps=ce.Portal,xs=ce.Sub,gs=ce.RadioGroup,bs=V.forwardRef(({className:a,inset:t,children:r,...o},i)=>e.jsxs(ce.SubTrigger,{ref:i,className:be("flex cursor-default select-none items-center rounded-sm px-2 py-1.5 text-sm outline-hidden focus:bg-accent data-[state=open]:bg-accent",t&&"pl-8",a),...o,children:[r,e.jsx(s.ChevronRight,{className:"ml-auto h-4 w-4"})]}));bs.displayName=ce.SubTrigger.displayName;const hs=V.forwardRef(({className:a,...t},s)=>e.jsx(ce.SubContent,{ref:s,className:be("z-50 min-w-32 overflow-hidden rounded-md border bg-popover p-1 text-popover-foreground shadow-lg data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",a),...t}));hs.displayName=ce.SubContent.displayName;const Ns=V.forwardRef(({className:a,sideOffset:t=4,...s},r)=>e.jsx(ce.Portal,{children:e.jsx(ce.Content,{ref:r,sideOffset:t,className:be("z-50 min-w-32 overflow-hidden rounded-md border bg-popover p-1 text-popover-foreground shadow-md data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",a),...s})}));Ns.displayName=ce.Content.displayName;const vs=V.forwardRef(({className:a,inset:t,...s},r)=>e.jsx(ce.Item,{ref:r,className:be("relative flex cursor-default select-none items-center rounded-sm px-2 py-1.5 text-sm outline-hidden transition-colors focus:bg-accent focus:text-accent-foreground data-disabled:pointer-events-none data-disabled:opacity-50",t&&"pl-8",a),...s}));vs.displayName=ce.Item.displayName;const ys=V.forwardRef(({className:a,children:t,checked:r,...o},i)=>e.jsxs(ce.CheckboxItem,{ref:i,className:be("relative flex cursor-default select-none items-center rounded-sm py-1.5 pl-8 pr-2 text-sm outline-hidden transition-colors focus:bg-accent focus:text-accent-foreground data-disabled:pointer-events-none data-disabled:opacity-50",a),checked:r,...o,children:[e.jsx("span",{className:"absolute left-2 flex h-3.5 w-3.5 items-center justify-center",children:e.jsx(ce.ItemIndicator,{children:e.jsx(s.Check,{className:"h-4 w-4"})})}),t]}));ys.displayName=ce.CheckboxItem.displayName;const ws=V.forwardRef(({className:a,children:t,...r},o)=>e.jsxs(ce.RadioItem,{ref:o,className:be("relative flex cursor-default select-none items-center rounded-sm py-1.5 pl-8 pr-2 text-sm outline-hidden transition-colors focus:bg-accent focus:text-accent-foreground data-disabled:pointer-events-none data-disabled:opacity-50",a),...r,children:[e.jsx("span",{className:"absolute left-2 flex h-3.5 w-3.5 items-center justify-center",children:e.jsx(ce.ItemIndicator,{children:e.jsx(s.Circle,{className:"h-2 w-2 fill-current"})})}),t]}));ws.displayName=ce.RadioItem.displayName;const js=V.forwardRef(({className:a,inset:t,...s},r)=>e.jsx(ce.Label,{ref:r,className:be("px-2 py-1.5 text-sm font-semibold",t&&"pl-8",a),...s}));js.displayName=ce.Label.displayName;const Cs=V.forwardRef(({className:a,...t},s)=>e.jsx(ce.Separator,{ref:s,className:be("-mx-1 my-1 h-px bg-muted",a),...t}));Cs.displayName=ce.Separator.displayName;const Rs=({className:a,...t})=>e.jsx("span",{className:be("ml-auto text-xs tracking-widest opacity-60",a),...t});function Ss({...a}){return e.jsx(X.Root,{"data-slot":"dialog",...a})}function ks({...a}){return e.jsx(X.Portal,{"data-slot":"dialog-portal",...a})}function Ds({className:a,...t}){return e.jsx(X.Overlay,{"data-slot":"dialog-overlay",className:be("data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 fixed inset-0 z-50 bg-black/50",a),...t})}function Ts({className:a,children:t,showCloseButton:r=!0,...o}){return e.jsxs(ks,{"data-slot":"dialog-portal",children:[e.jsx(Ds,{}),e.jsxs(X.Content,{"data-slot":"dialog-content",className:be("DialogContent overflow-hidden rounded-[40px] gap-4 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 fixed top-[30%] left-[50%] z-50 grid max-w-[calc(100%-2rem)] translate-x-[-50%] translate-y-[-50%] border-12 border-[rgba(255,255,255,0.20)] duration-200 sm:max-w-lg",a),...o,children:[e.jsx("div",{className:"p-6 bg-gray-50",children:t}),r&&e.jsxs(X.Close,{"data-slot":"dialog-close",className:"ring-offset-background focus:ring-ring data-[state=open]:bg-accent data-[state=open]:text-muted-foreground absolute top-4 right-4 rounded-xs opacity-70 transition-opacity hover:opacity-100 focus:ring-2 focus:ring-offset-2 focus:outline-hidden disabled:pointer-events-none [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",children:[e.jsx(s.XIcon,{}),e.jsx("span",{className:"sr-only",children:"Close"})]})]})]})}Rs.displayName="DropdownMenuShortcut";const Is=({shouldScaleBackground:a=!0,...t})=>e.jsx(z.Drawer.Root,{shouldScaleBackground:a,...t});Is.displayName="Drawer";const zs=z.Drawer.Trigger,Ms=z.Drawer.Portal,Ps=z.Drawer.Close,_s=V.forwardRef(({className:a,...t},s)=>e.jsx(z.Drawer.Overlay,{ref:s,className:be("fixed inset-0 z-50 bg-black/80",a),...t}));_s.displayName=z.Drawer.Overlay.displayName;const As=V.forwardRef(({className:a,children:t,...s},r)=>e.jsxs(Ms,{children:[e.jsx(_s,{}),e.jsxs(z.Drawer.Content,{ref:r,className:be("fixed inset-x-0 bottom-0 z-50 mt-24 flex h-auto flex-col rounded-t-[10px] border bg-background",a),...s,children:[e.jsx("div",{className:"mx-auto mt-4 h-2 w-[100px] rounded-full bg-muted"}),t]})]}));As.displayName="DrawerContent";const Ls=({className:a,...t})=>e.jsx("div",{className:be("grid gap-1.5 p-4 text-center sm:text-left",a),...t});Ls.displayName="DrawerHeader";const Fs=({className:a,...t})=>e.jsx("div",{className:be("mt-auto flex flex-col gap-2 p-4",a),...t});Fs.displayName="DrawerFooter";const Os=V.forwardRef(({className:a,...t},s)=>e.jsx(z.Drawer.Title,{ref:s,className:be("text-lg font-semibold leading-none tracking-tight",a),...t}));Os.displayName=z.Drawer.Title.displayName;const Es=V.forwardRef(({className:a,...t},s)=>e.jsx(z.Drawer.Description,{ref:s,className:be("text-sm text-muted-foreground",a),...t}));Es.displayName=z.Drawer.Description.displayName;const Bs=me.Root,qs=me.Trigger,Gs=V.forwardRef(({className:a,align:t="center",sideOffset:s=4,...r},o)=>e.jsx(me.Portal,{children:e.jsx(me.Content,{ref:o,align:t,sideOffset:s,className:be("z-50 w-72 rounded-md border bg-popover p-4 text-popover-foreground shadow-md outline-hidden data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",a),...r})}));Gs.displayName=me.Content.displayName;const Vs=fe.Root,Hs=fe.Trigger,$s=V.forwardRef(({className:a,align:t="center",sideOffset:s=4,...r},o)=>e.jsx(fe.Content,{ref:o,align:t,sideOffset:s,className:be("z-50 w-64 rounded-md border bg-popover p-4 text-popover-foreground shadow-md outline-hidden data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",a),...r}));$s.displayName=fe.Content.displayName;const Ws=ue.Root,Ks=ue.Trigger,Us=ue.Group,Xs=ue.Portal,Zs=ue.Sub,Js=ue.RadioGroup,Qs=V.forwardRef(({className:a,inset:t,children:r,...o},i)=>e.jsxs(ue.SubTrigger,{ref:i,className:be("flex cursor-default select-none items-center rounded-sm px-2 py-1.5 text-sm outline-hidden focus:bg-accent focus:text-accent-foreground data-[state=open]:bg-accent data-[state=open]:text-accent-foreground",t&&"pl-8",a),...o,children:[r,e.jsx(s.ChevronRight,{className:"ml-auto h-4 w-4"})]}));Qs.displayName=ue.SubTrigger.displayName;const Ys=V.forwardRef(({className:a,...t},s)=>e.jsx(ue.SubContent,{ref:s,className:be("z-50 min-w-32 overflow-hidden rounded-md border bg-popover p-1 text-popover-foreground shadow-md data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",a),...t}));Ys.displayName=ue.SubContent.displayName;const er=V.forwardRef(({className:a,...t},s)=>e.jsx(ue.Portal,{children:e.jsx(ue.Content,{ref:s,className:be("z-50 min-w-32 overflow-hidden rounded-md border bg-popover p-1 text-popover-foreground shadow-md animate-in fade-in-80 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",a),...t})}));er.displayName=ue.Content.displayName;const ar=V.forwardRef(({className:a,inset:t,...s},r)=>e.jsx(ue.Item,{ref:r,className:be("relative flex cursor-default select-none items-center rounded-sm px-2 py-1.5 text-sm outline-hidden focus:bg-accent focus:text-accent-foreground data-disabled:pointer-events-none data-disabled:opacity-50",t&&"pl-8",a),...s}));ar.displayName=ue.Item.displayName;const tr=V.forwardRef(({className:a,children:t,checked:r,...o},i)=>e.jsxs(ue.CheckboxItem,{ref:i,className:be("relative flex cursor-default select-none items-center rounded-sm py-1.5 pl-8 pr-2 text-sm outline-hidden focus:bg-accent focus:text-accent-foreground data-disabled:pointer-events-none data-disabled:opacity-50",a),checked:r,...o,children:[e.jsx("span",{className:"absolute left-2 flex h-3.5 w-3.5 items-center justify-center",children:e.jsx(ue.ItemIndicator,{children:e.jsx(s.Check,{className:"h-4 w-4"})})}),t]}));tr.displayName=ue.CheckboxItem.displayName;const sr=V.forwardRef(({className:a,children:t,...r},o)=>e.jsxs(ue.RadioItem,{ref:o,className:be("relative flex cursor-default select-none items-center rounded-sm py-1.5 pl-8 pr-2 text-sm outline-hidden focus:bg-accent focus:text-accent-foreground data-disabled:pointer-events-none data-disabled:opacity-50",a),...r,children:[e.jsx("span",{className:"absolute left-2 flex h-3.5 w-3.5 items-center justify-center",children:e.jsx(ue.ItemIndicator,{children:e.jsx(s.Circle,{className:"h-2 w-2 fill-current"})})}),t]}));sr.displayName=ue.RadioItem.displayName;const rr=V.forwardRef(({className:a,inset:t,...s},r)=>e.jsx(ue.Label,{ref:r,className:be("px-2 py-1.5 text-sm font-semibold text-foreground",t&&"pl-8",a),...s}));rr.displayName=ue.Label.displayName;const or=V.forwardRef(({className:a,...t},s)=>e.jsx(ue.Separator,{ref:s,className:be("-mx-1 my-1 h-px bg-border",a),...t}));or.displayName=ue.Separator.displayName;const ir=({className:a,...t})=>e.jsx("span",{className:be("ml-auto text-xs tracking-widest text-muted-foreground",a),...t});ir.displayName="ContextMenuShortcut";const nr=V.createContext(null);function lr(){const e=V.useContext(nr);if(!e)throw new Error("useCarousel must be used within a <Carousel />");return e}const dr=V.forwardRef(({orientation:a="horizontal",opts:t,setApi:s,plugins:r,className:o,children:i,...n},l)=>{const[d,c]=A({...t,axis:"horizontal"===a?"x":"y"},r),[m,f]=V.useState(!1),[u,p]=V.useState(!1),x=V.useCallback(e=>{e&&(f(e.canScrollPrev()),p(e.canScrollNext()))},[]),g=V.useCallback(()=>{null==c||c.scrollPrev()},[c]),b=V.useCallback(()=>{null==c||c.scrollNext()},[c]),h=V.useCallback(e=>{"ArrowLeft"===e.key?(e.preventDefault(),g()):"ArrowRight"===e.key&&(e.preventDefault(),b())},[g,b]);return V.useEffect(()=>{c&&s&&s(c)},[c,s]),V.useEffect(()=>{if(c)return x(c),c.on("reInit",x),c.on("select",x),()=>{null==c||c.off("select",x)}},[c,x]),e.jsx(nr.Provider,{value:{carouselRef:d,api:c,opts:t,orientation:a||("y"===(null==t?void 0:t.axis)?"vertical":"horizontal"),scrollPrev:g,scrollNext:b,canScrollPrev:m,canScrollNext:u},children:e.jsx("div",{ref:l,onKeyDownCapture:h,className:be("relative",o),role:"region","aria-roledescription":"carousel",...n,children:i})})});dr.displayName="Carousel";const cr=V.forwardRef(({className:a,...t},s)=>{const{carouselRef:r,orientation:o}=lr();return e.jsx("div",{ref:r,className:"overflow-hidden",children:e.jsx("div",{ref:s,className:be("flex","horizontal"===o?"-ml-4":"-mt-4 flex-col",a),...t})})});cr.displayName="CarouselContent";const mr=V.forwardRef(({className:a,...t},s)=>{const{orientation:r}=lr();return e.jsx("div",{ref:s,role:"group","aria-roledescription":"slide",className:be("min-w-0 shrink-0 grow-0 basis-full","horizontal"===r?"pl-4":"pt-4",a),...t})});mr.displayName="CarouselItem";const fr=V.forwardRef(({className:a,variant:t="general-secondary",size:r="icon",...o},i)=>{const{orientation:n,scrollPrev:l,canScrollPrev:d}=lr();return e.jsxs(Ge,{ref:i,variant:t,size:r,className:be("absolute h-8 w-8 rounded-full","horizontal"===n?"-left-12 top-1/2 -translate-y-1/2":"-top-12 left-1/2 -translate-x-1/2 rotate-90",a),disabled:!d,onClick:l,...o,children:[e.jsx(s.ArrowLeft,{className:"h-4 w-4"}),e.jsx("span",{className:"sr-only",children:"Previous slide"})]})});fr.displayName="CarouselPrevious";const ur=V.forwardRef(({className:a,variant:t="general-secondary",size:r="icon",...o},i)=>{const{orientation:n,scrollNext:l,canScrollNext:d}=lr();return e.jsxs(Ge,{ref:i,variant:t,size:r,className:be("absolute h-8 w-8 rounded-full","horizontal"===n?"-right-12 top-1/2 -translate-y-1/2":"-bottom-12 left-1/2 -translate-x-1/2 rotate-90",a),disabled:!d,onClick:l,...o,children:[e.jsx(s.ArrowRight,{className:"h-4 w-4"}),e.jsx("span",{className:"sr-only",children:"Next slide"})]})});ur.displayName="CarouselNext";const pr=pe.Root,xr=pe.CollapsibleTrigger,gr=pe.CollapsibleContent,br=V.forwardRef(({className:a,...t},s)=>e.jsx(F.Command,{ref:s,className:be("flex h-full w-full flex-col overflow-hidden",a),...t}));br.displayName=F.Command.displayName;const hr=V.forwardRef(({className:a,icon:t=s.Search,...r},o)=>e.jsxs("div",{className:be("group relative flex h-14 w-full sm:min-w-[344px] items-center gap-4 rounded-lg border border-gray-200 bg-white p-4 focus:ring-0 focus:outline-none",a),"cmdk-input-wrapper":"",children:[e.jsx(t,{className:" h-4 w-4 shrink-0 group-focus-within:-translate-x-4 group-focus-within:opacity-0 ease-in-out duration-200"}),e.jsx(F.Command.Input,{ref:o,className:be("text-base w-full ring-0 outline-none group-focus-within:-translate-x-8 ease-in-out duration-200",a),...r})]}));hr.displayName=F.Command.Input.displayName;const Nr=V.forwardRef(({className:a,...t},s)=>e.jsx(F.Command.List,{ref:s,className:be("max-h-[300px] overflow-y-auto overflow-x-hidden bg-gray-700 rounded-b-lg",a),...t}));Nr.displayName=F.Command.List.displayName;const vr=V.forwardRef((a,t)=>e.jsx(F.Command.Empty,{ref:t,className:"py-6 text-center text-sm",...a}));vr.displayName=F.Command.Empty.displayName;const yr=V.forwardRef(({className:a,...t},s)=>e.jsx(F.Command.Group,{ref:s,className:be("group overflow-hidden [&_[cmdk-group-heading]]:px-2 [&_[cmdk-group-heading]]:py-1.5 [&_[cmdk-group-heading]]:text-xs [&_[cmdk-group-heading]]:font-medium [&_[cmdk-group-heading]]:text-muted-foreground ",a),...t}));yr.displayName=F.Command.Group.displayName;const wr=V.forwardRef(({className:a,...t},s)=>e.jsx(F.Command.Separator,{ref:s,className:be("-mx-1 h-px bg-border",a),...t}));wr.displayName=F.Command.Separator.displayName;const jr=V.forwardRef(({className:a,...t},s)=>e.jsx(F.Command.Item,{ref:s,className:be("relative flex w-full items-center gap-2 cursor-default select-none p-4 text-sm outline-none data-[disabled=true]:pointer-events-none data-[disabled=true]:opacity-50 [&_svg]:pointer-events-none [&_svg]:size-4 [&_svg]:shrink-0 bg-gray-700 hover:bg-[rgba(0,0,0,0.2)] text-gray-200",a),...t}));jr.displayName=F.Command.Item.displayName;const Cr=({className:a,...t})=>e.jsx("span",{className:be("ml-auto text-xs tracking-widest text-muted-foreground",a),...t});Cr.displayName="CommandShortcut";const Rr=xe.Provider,Sr=V.forwardRef(({className:a,...t},s)=>e.jsx(xe.Viewport,{ref:s,className:be("fixed top-0 z-100 flex max-h-screen w-full flex-col-reverse p-4 sm:bottom-0 sm:right-0 sm:top-auto sm:flex-col md:max-w-[420px]",a),...t}));Sr.displayName=xe.Viewport.displayName;const kr=m.cva("group pointer-events-auto relative flex w-full items-center justify-between space-x-4 overflow-hidden rounded-md border p-6 pr-8 shadow-lg transition-all data-[swipe=cancel]:translate-x-0 data-[swipe=end]:translate-x-(--radix-toast-swipe-end-x) data-[swipe=move]:translate-x-(--radix-toast-swipe-move-x) data-[swipe=move]:transition-none data-[state=open]:animate-in data-[state=closed]:animate-out data-[swipe=end]:animate-out data-[state=closed]:fade-out-80 data-[state=closed]:slide-out-to-right-full data-[state=open]:slide-in-from-top-full sm:data-[state=open]:slide-in-from-bottom-full",{variants:{variant:{default:"border bg-background text-foreground",destructive:"destructive group border-destructive bg-destructive text-destructive-foreground"}},defaultVariants:{variant:"default"}}),Dr=V.forwardRef(({className:a,variant:t,...s},r)=>e.jsx(xe.Root,{ref:r,className:be(kr({variant:t}),a),...s}));Dr.displayName=xe.Root.displayName;const Tr=V.forwardRef(({className:a,...t},s)=>e.jsx(xe.Action,{ref:s,className:be("inline-flex h-8 shrink-0 items-center justify-center rounded-md border bg-transparent px-3 text-sm font-medium ring-offset-background transition-colors hover:bg-secondary focus:outline-hidden focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:pointer-events-none disabled:opacity-50 group-[.destructive]:border-muted/40 hover:group-[.destructive]:border-destructive/30 hover:group-[.destructive]:bg-destructive hover:group-[.destructive]:text-destructive-foreground focus:group-[.destructive]:ring-destructive",a),...t}));Tr.displayName=xe.Action.displayName;const Ir=V.forwardRef(({className:a,...t},r)=>e.jsx(xe.Close,{ref:r,className:be("absolute right-2 top-2 rounded-md p-1 text-foreground/50 opacity-0 transition-opacity hover:text-foreground focus:opacity-100 focus:outline-hidden focus:ring-2 group-hover:opacity-100 group-[.destructive]:text-red-300 hover:group-[.destructive]:text-red-50 focus:group-[.destructive]:ring-red-400 focus:group-[.destructive]:ring-offset-red-600",a),"toast-close":"",...t,children:e.jsx(s.X,{className:"h-4 w-4"})}));Ir.displayName=xe.Close.displayName;const zr=V.forwardRef(({className:a,...t},s)=>e.jsx(xe.Title,{ref:s,className:be("text-sm font-semibold",a),...t}));zr.displayName=xe.Title.displayName;const Mr=V.forwardRef(({className:a,...t},s)=>e.jsx(xe.Description,{ref:s,className:be("text-sm opacity-90",a),...t}));Mr.displayName=xe.Description.displayName;let Pr=0;const _r=new Map,Ar=e=>{if(_r.has(e))return;const a=setTimeout(()=>{_r.delete(e),Er({type:"REMOVE_TOAST",toastId:e})},1e6);_r.set(e,a)},Lr=(e,a)=>{switch(a.type){case"ADD_TOAST":return{...e,toasts:[a.toast,...e.toasts].slice(0,1)};case"UPDATE_TOAST":return{...e,toasts:e.toasts.map(e=>e.id===a.toast.id?{...e,...a.toast}:e)};case"DISMISS_TOAST":{const{toastId:t}=a;return t?Ar(t):e.toasts.forEach(e=>{Ar(e.id)}),{...e,toasts:e.toasts.map(e=>e.id===t||void 0===t?{...e,open:!1}:e)}}case"REMOVE_TOAST":return void 0===a.toastId?{...e,toasts:[]}:{...e,toasts:e.toasts.filter(e=>e.id!==a.toastId)}}},Fr=[];let Or={toasts:[]};function Er(e){Or=Lr(Or,e),Fr.forEach(e=>{e(Or)})}function Br({...e}){const a=(Pr=(Pr+1)%Number.MAX_SAFE_INTEGER,Pr.toString()),t=()=>Er({type:"DISMISS_TOAST",toastId:a});return Er({type:"ADD_TOAST",toast:{...e,id:a,open:!0,onOpenChange:e=>{e||t()}}}),{id:a,dismiss:t,update:e=>Er({type:"UPDATE_TOAST",toast:{...e,id:a}})}}function qr(){const[e,a]=V.useState(Or);return V.useEffect(()=>(Fr.push(a),()=>{const e=Fr.indexOf(a);e>-1&&Fr.splice(e,1)}),[e]),{...e,toast:Br,dismiss:e=>Er({type:"DISMISS_TOAST",toastId:e})}}const Gr={light:"",dark:".dark"},Vr=V.createContext(null);function Hr(){const e=V.useContext(Vr);if(!e)throw new Error("useChart must be used within a <ChartContainer />");return e}const $r=V.forwardRef(({id:a,className:t,children:s,config:r,...o},i)=>{const n=V.useId(),l=`chart-${a||n.replace(/:/g,"")}`;return e.jsx(Vr.Provider,{value:{config:r},children:e.jsxs("div",{"data-chart":l,ref:i,className:be("flex aspect-video justify-center text-xs [&_.recharts-cartesian-axis-tick_text]:fill-muted-foreground [&_.recharts-cartesian-grid_line[stroke='#ccc']]:stroke-border/50 [&_.recharts-curve.recharts-tooltip-cursor]:stroke-border [&_.recharts-dot[stroke='#fff']]:stroke-transparent [&_.recharts-layer]:outline-hidden [&_.recharts-polar-grid_[stroke='#ccc']]:stroke-border [&_.recharts-radial-bar-background-sector]:fill-muted [&_.recharts-rectangle.recharts-tooltip-cursor]:fill-muted [&_.recharts-reference-line_[stroke='#ccc']]:stroke-border [&_.recharts-sector[stroke='#fff']]:stroke-transparent [&_.recharts-sector]:outline-hidden [&_.recharts-surface]:outline-hidden",t),...o,children:[e.jsx(Wr,{id:l,config:r}),e.jsx(ge.ResponsiveContainer,{children:s})]})})});$r.displayName="Chart";const Wr=({id:a,config:t})=>{const s=Object.entries(t).filter(([e,a])=>a.theme||a.color);return s.length?e.jsx("style",{dangerouslySetInnerHTML:{__html:Object.entries(Gr).map(([e,t])=>`\n${t} [data-chart=${a}] {\n${s.map(([a,t])=>{var s;const r=(null==(s=t.theme)?void 0:s[e])||t.color;return r?` --color-${a}: ${r};`:null}).join("\n")}\n}\n`).join("\n")}}):null},Kr=ge.Tooltip,Ur=V.forwardRef(({active:a,payload:t,className:s,indicator:r="dot",hideLabel:o=!1,hideIndicator:i=!1,label:n,labelFormatter:l,labelClassName:d,formatter:c,color:m,nameKey:f,labelKey:u},p)=>{const{config:x}=Hr(),g=V.useMemo(()=>{var a;if(o||!(null==t?void 0:t.length))return null;const[s]=t,r=`${u||s.dataKey||s.name||"value"}`,i=Zr(x,s,r),c=u||"string"!=typeof n?null==i?void 0:i.label:(null==(a=x[n])?void 0:a.label)||n;return l?e.jsx("div",{className:be("font-medium",d),children:l(c,t)}):c?e.jsx("div",{className:be("font-medium",d),children:c}):null},[n,l,t,o,d,x,u]);if(!a||!(null==t?void 0:t.length))return null;const b=1===t.length&&"dot"!==r;return e.jsxs("div",{ref:p,className:be("grid min-w-32 items-start gap-1.5 rounded-lg border bg-background px-2.5 py-1.5 text-xs shadow-xl",s),children:[b?null:g,e.jsx("div",{className:"grid gap-1.5",children:t.map((a,t)=>{const s=`${f||a.name||a.dataKey||"value"}`,o=Zr(x,a,s),n=m||a.payload.fill||a.color;return e.jsx("div",{className:be("flex w-full flex-wrap items-stretch gap-2 [&>svg]:h-2.5 [&>svg]:w-2.5 [&>svg]:text-muted-foreground","dot"===r&&"items-center"),children:c&&void 0!==(null==a?void 0:a.value)&&a.name?c(a.value,a.name,a,t,a.payload):e.jsxs(e.Fragment,{children:[(null==o?void 0:o.icon)?e.jsx(o.icon,{}):!i&&e.jsx("div",{className:be("shrink-0 rounded-[2px] border-border bg-(--color-bg)",{"h-2.5 w-2.5":"dot"===r,"w-1":"line"===r,"w-0 border-[1.5px] border-dashed bg-transparent":"dashed"===r,"my-0.5":b&&"dashed"===r}),style:{"--color-bg":n,"--color-border":n}}),e.jsxs("div",{className:be("flex flex-1 justify-between leading-none",b?"items-end":"items-center"),children:[e.jsxs("div",{className:"grid gap-1.5",children:[b?g:null,e.jsx("span",{className:"text-muted-foreground",children:(null==o?void 0:o.label)||a.name})]}),a.value&&e.jsx("span",{className:"font-mono font-medium tabular-nums text-foreground",children:a.value.toLocaleString()})]})]})},a.dataKey)})})]})});Ur.displayName="ChartTooltip";const Xr=ge.Legend;function Zr(e,a,t){if("object"!=typeof a||null===a)return;const s="payload"in a&&"object"==typeof a.payload&&null!==a.payload?a.payload:void 0;let r=t;return t in a&&"string"==typeof a[t]?r=a[t]:s&&t in s&&"string"==typeof s[t]&&(r=s[t]),r in e?e[r]:e[t]}V.forwardRef(({className:a,hideIcon:t=!1,payload:s,verticalAlign:r="bottom",nameKey:o},i)=>{const{config:n}=Hr();return(null==s?void 0:s.length)?e.jsx("div",{ref:i,className:be("flex items-center justify-center gap-4","top"===r?"pb-3":"pt-3",a),children:s.map(a=>{const s=`${o||a.dataKey||"value"}`,r=Zr(n,a,s);return e.jsxs("div",{className:be("flex items-center gap-1.5 [&>svg]:h-3 [&>svg]:w-3 [&>svg]:text-muted-foreground"),children:[(null==r?void 0:r.icon)&&!t?e.jsx(r.icon,{}):e.jsx("div",{className:"h-2 w-2 shrink-0 rounded-[2px]",style:{backgroundColor:a.color}}),null==r?void 0:r.label]},a.value)})}):null}).displayName="ChartLegend";const Jr=[{name:"Platinum",locations:1,color:"#A8A7AE",icon:"platinum"},{name:"Gold",locations:1,color:"#D7C686",icon:"gold"},{name:"Silver",locations:1,color:"#C0C2C4",icon:"silver"},{name:"Bronze",locations:1,color:"#D1A778",icon:"bronze"},{name:"Precertified",locations:1,color:"#44B0BC",icon:"precertified"}],Qr=[{name:"Health-Safety",locations:1,color:"#7FB3DC",percentage:50,icon:"health"},{name:"Equity",locations:1,color:"#41937D",percentage:67,icon:"equity"},{name:"Performance",locations:"Not Pursued",color:"#0B667F",percentage:2,icon:"performance",inactive:!0},{name:"Coworking",locations:"Not Pursued",color:"#AD7DA3",percentage:2,icon:"coworking",inactive:!0}],Yr=V.forwardRef(({certifiedPercentage:a=60,certifications:t=Jr,ratings:r=Qr,className:o},i)=>e.jsxs("div",{ref:i,className:be("flex flex-col gap-4",o),children:[e.jsxs("div",{className:"flex flex-col lg:flex-row gap-4",children:[e.jsxs("div",{className:"flex-1 min-w-0 rounded-md border border-[#DEDEE5] bg-white/0 p-4 shadow-xs",children:[e.jsx("h2",{className:"text-xl font-medium text-[#3D3E46] text-center mb-6",style:{fontFamily:"'DM Sans', sans-serif"},children:"WELL Certified Locations"}),e.jsxs("div",{className:"flex flex-col md:flex-row justify-center items-center gap-10",children:[e.jsxs("div",{className:"relative w-60 h-60 shrink-0",children:[e.jsxs("svg",{width:"240",height:"240",viewBox:"0 0 240 240",className:"transform -rotate-90",children:[e.jsx("circle",{cx:"120",cy:"120",r:"120",fill:"#F5F9FB"}),e.jsx("circle",{cx:"120",cy:"120",r:"100",fill:"none",stroke:"#327DB9",strokeWidth:"20",strokeDasharray:a/100*628+" 628",strokeLinecap:"round"}),t.map((s,r)=>{const o=t.length,i=a/100*360/o,n=r*i,l=i*Math.PI*100/180,d=n*Math.PI*100/180;return e.jsx("circle",{cx:"120",cy:"120",r:"100",fill:"none",stroke:s.color,strokeWidth:"20",strokeDasharray:`${l} 628`,strokeDashoffset:-d,opacity:"0.7"},s.name)}),e.jsx("circle",{cx:"120",cy:"120",r:"80",fill:"white",filter:"drop-shadow(0 0 16px rgba(0,0,0,0.04))"})]}),e.jsxs("div",{className:"absolute inset-0 flex flex-col items-center justify-center",children:[e.jsxs("div",{className:"text-5xl font-medium text-[#327DB9]",style:{fontFamily:"'DM Sans', sans-serif"},children:[a,"%"]}),e.jsx("div",{className:"text-sm font-medium text-[#78777F] mt-1",style:{fontFamily:"'DM Sans', sans-serif"},children:"Certified"})]})]}),e.jsx("div",{className:"flex flex-col gap-4 min-w-[160px]",children:t.map(a=>e.jsxs("div",{className:"flex items-center gap-2",children:[e.jsx("div",{className:"w-10 h-10 rounded-full shrink-0 flex items-center justify-center",style:{backgroundColor:a.color},children:"precertified"===a.icon&&e.jsx("div",{className:"w-9 h-6 bg-[#44B0BC] rounded-sm flex items-center justify-center text-white text-[10px] font-bold",children:"WELL"})}),e.jsxs("div",{className:"flex flex-col gap-0.5 flex-1",children:[e.jsx("div",{className:"text-base font-medium text-[#3D3E46]",style:{fontFamily:"'DM Sans', sans-serif"},children:a.name}),e.jsxs("div",{className:"flex items-center gap-1",children:[e.jsx(s.Building2,{size:16,className:"text-[#327DB9]",strokeWidth:1.2}),e.jsxs("span",{className:"text-xs font-medium text-[#327DB9]",style:{fontFamily:"'DM Sans', sans-serif"},children:[a.locations," Location",1!==a.locations?"s":""]})]})]})]},a.name))})]})]}),e.jsxs("div",{className:"flex-1 min-w-0 rounded-md border border-[#DEDEE5] bg-white/0 p-4 shadow-xs",children:[e.jsx("h2",{className:"text-xl font-medium text-[#3D3E46] text-center mb-6",style:{fontFamily:"'DM Sans', sans-serif"},children:"WELL Rated Locations"}),e.jsxs("div",{className:"flex flex-col md:flex-row justify-center items-center gap-10",children:[e.jsxs("div",{className:"flex items-end gap-4 h-60 px-4",children:[r.map(a=>e.jsxs("div",{className:"w-10 h-60 relative",children:[e.jsx("div",{className:"absolute inset-0 rounded-t border border-[#DEDEE5] bg-[#F5F9FB]"}),e.jsx("div",{className:"absolute bottom-0 left-0 right-0 rounded-t transition-all",style:{backgroundColor:a.color,height:`${a.percentage}%`}})]},a.name)),e.jsx("div",{className:"w-px h-60 bg-[#DEDEE5]"})]}),e.jsx("div",{className:"flex flex-col gap-4 min-w-[160px]",children:r.map(a=>e.jsxs("div",{className:be("flex items-center gap-2",a.inactive&&"opacity-50"),children:[e.jsx("div",{className:"w-10 h-10 rounded-full shrink-0 flex items-center justify-center",style:{backgroundColor:a.color}}),e.jsxs("div",{className:"flex flex-col gap-0.5 flex-1",children:[e.jsx("div",{className:"text-base font-medium text-[#3D3E46]",style:{fontFamily:"'DM Sans', sans-serif"},children:a.name}),e.jsxs("div",{className:"flex items-center gap-1",children:[e.jsx(s.Building2,{size:16,className:a.inactive?"text-[#78777F]":"text-[#327DB9]",strokeWidth:1.2}),e.jsx("span",{className:be("text-xs font-medium",a.inactive?"text-[#78777F]":"text-[#327DB9]"),style:{fontFamily:"'DM Sans', sans-serif"},children:"number"==typeof a.locations?`${a.locations} Location${1!==a.locations?"s":""}`:a.locations})]})]})]},a.name))})]})]})]}),e.jsxs("p",{className:"text-[10px] leading-3 font-medium text-[#78777F] text-center",style:{fontFamily:"'DM Sans', sans-serif"},children:["Achievement metrics reflect all active program achievements, as of ",(new Date).toLocaleDateString("en-US",{month:"long",day:"numeric",year:"numeric"})]})]}));Yr.displayName="WELLDashboard";exports.Accordion=he,exports.AccordionContent=ye,exports.AccordionItem=Ne,exports.AccordionTrigger=ve,exports.Alert=nt,exports.AlertDescription=dt,exports.AlertDialog=ct,exports.AlertDialogAction=Nt,exports.AlertDialogCancel=vt,exports.AlertDialogContent=pt,exports.AlertDialogDescription=ht,exports.AlertDialogFooter=gt,exports.AlertDialogHeader=xt,exports.AlertDialogTitle=bt,exports.AlertDialogTrigger=mt,exports.AlertTitle=lt,exports.AspectRatio=we,exports.Avatar=yt,exports.AvatarFallback=jt,exports.AvatarImage=wt,exports.Badge=function({className:a,variant:t,...s}){return e.jsx("div",{className:be(ot({variant:t}),a),...s})},exports.Breadcrumb=Ct,exports.BreadcrumbItem=St,exports.BreadcrumbLink=kt,exports.BreadcrumbList=Rt,exports.BreadcrumbPage=Dt,exports.BreadcrumbSeparator=Tt,exports.Button=Ge,exports.Calendar=zt,exports.Card=je,exports.CardContent=ke,exports.CardDescription=Se,exports.CardFooter=De,exports.CardHeader=Ce,exports.CardTitle=Re,exports.Carousel=dr,exports.CarouselContent=cr,exports.CarouselItem=mr,exports.CarouselNext=ur,exports.CarouselPrevious=fr,exports.ChartContainer=$r,exports.ChartLegend=Xr,exports.ChartStyle=Wr,exports.ChartTooltip=Kr,exports.ChartTooltipContent=Ur,exports.Checkbox=Ra,exports.Collapsible=pr,exports.CollapsibleContent=gr,exports.CollapsibleTrigger=xr,exports.Command=br,exports.CommandDialog=({children:a,...t})=>e.jsx(Ss,{...t,children:e.jsx(Ts,{className:"overflow-hidden p-0 shadow-lg",children:e.jsx(br,{className:"[&_[cmdk-group-heading]]:px-2 [&_[cmdk-group-heading]]:font-medium [&_[cmdk-group-heading]]:text-muted-foreground [&_[cmdk-group]:not([hidden])_~[cmdk-group]]:pt-0 [&_[cmdk-group]]:px-2 [&_[cmdk-input-wrapper]_svg]:h-5 [&_[cmdk-input-wrapper]_svg]:w-5 [&_[cmdk-input]]:h-12 [&_[cmdk-item]]:px-2 [&_[cmdk-item]]:py-3 [&_[cmdk-item]_svg]:h-5 [&_[cmdk-item]_svg]:w-5",children:a})})}),exports.CommandEmpty=vr,exports.CommandGroup=yr,exports.CommandInput=hr,exports.CommandItem=jr,exports.CommandList=Nr,exports.CommandSeparator=wr,exports.CommandShortcut=Cr,exports.ContextMenu=Ws,exports.ContextMenuCheckboxItem=tr,exports.ContextMenuContent=er,exports.ContextMenuGroup=Us,exports.ContextMenuItem=ar,exports.ContextMenuLabel=rr,exports.ContextMenuPortal=Xs,exports.ContextMenuRadioGroup=Js,exports.ContextMenuRadioItem=sr,exports.ContextMenuSeparator=or,exports.ContextMenuShortcut=ir,exports.ContextMenuSub=Zs,exports.ContextMenuSubContent=Ys,exports.ContextMenuSubTrigger=Qs,exports.ContextMenuTrigger=Ks,exports.Dialog=Ss,exports.DialogClose=function({...a}){return e.jsx(X.Close,{"data-slot":"dialog-close",...a})},exports.DialogContent=Ts,exports.DialogDescription=function({className:a,...t}){return e.jsx(X.Description,{"data-slot":"dialog-description",className:be("text-muted-foreground text-sm",a),...t})},exports.DialogFooter=function({className:a,...t}){return e.jsx("div",{"data-slot":"dialog-footer",className:be("flex flex-col-reverse gap-2 sm:flex-row sm:justify-end",a),...t})},exports.DialogHeader=function({className:a,...t}){return e.jsx("div",{"data-slot":"dialog-header",className:be("flex flex-col gap-2 text-center sm:text-left",a),...t})},exports.DialogTitle=function({className:a,...t}){return e.jsx(X.Title,{"data-slot":"dialog-title",className:be("heading-xxsmall ",a),...t})},exports.DialogTrigger=function({...a}){return e.jsx(X.Trigger,{"data-slot":"dialog-trigger",...a})},exports.Drawer=Is,exports.DrawerClose=Ps,exports.DrawerContent=As,exports.DrawerDescription=Es,exports.DrawerFooter=Fs,exports.DrawerHeader=Ls,exports.DrawerTitle=Os,exports.DrawerTrigger=zs,exports.DropdownMenu=ms,exports.DropdownMenuCheckboxItem=ys,exports.DropdownMenuContent=Ns,exports.DropdownMenuGroup=us,exports.DropdownMenuItem=vs,exports.DropdownMenuLabel=js,exports.DropdownMenuPortal=ps,exports.DropdownMenuRadioGroup=gs,exports.DropdownMenuRadioItem=ws,exports.DropdownMenuSeparator=Cs,exports.DropdownMenuShortcut=Rs,exports.DropdownMenuSub=xs,exports.DropdownMenuSubContent=hs,exports.DropdownMenuSubTrigger=bs,exports.DropdownMenuTrigger=fs,exports.Form=Ha,exports.FormControl=Za,exports.FormDescription=Ja,exports.FormField=({...a})=>e.jsx($a.Provider,{value:{name:a.name},children:e.jsx(y.Controller,{...a})}),exports.FormItem=Ua,exports.FormLabel=Xa,exports.FormMessage=Qa,exports.HoverCard=Vs,exports.HoverCardContent=$s,exports.HoverCardTrigger=Hs,exports.Input=Ve,exports.InputOTP=Ia,exports.InputOTPGroup=za,exports.InputOTPSeparator=Pa,exports.InputOTPSlot=Ma,exports.Label=ja,exports.Menubar=es,exports.MenubarCheckboxItem=is,exports.MenubarContent=rs,exports.MenubarItem=os,exports.MenubarLabel=ls,exports.MenubarMenu=Jt,exports.MenubarRadioGroup=Yt,exports.MenubarRadioItem=ns,exports.MenubarSeparator=ds,exports.MenubarShortcut=cs,exports.MenubarSub=Qt,exports.MenubarSubContent=ss,exports.MenubarSubTrigger=ts,exports.MenubarTrigger=as,exports.NavigationMenu=Vt,exports.NavigationMenuContent=Ut,exports.NavigationMenuItem=$t,exports.NavigationMenuLink=Xt,exports.NavigationMenuList=Ht,exports.NavigationMenuTrigger=Kt,exports.Pagination=Lt,exports.PaginationContent=Ft,exports.PaginationEllipsis=Gt,exports.PaginationItem=Ot,exports.PaginationLink=Et,exports.PaginationNext=qt,exports.PaginationPrevious=Bt,exports.Popover=Bs,exports.PopoverContent=Gs,exports.PopoverTrigger=qs,exports.Progress=It,exports.RadioGroup=Sa,exports.RadioGroupItem=ka,exports.ResizableHandle=({withHandle:a,className:t,...r})=>e.jsx(U.PanelResizeHandle,{className:be("relative flex w-px items-center justify-center bg-border after:absolute after:inset-y-0 after:left-1/2 after:w-1 after:-translate-x-1/2 focus-visible:outline-hidden focus-visible:ring-1 focus-visible:ring-ring focus-visible:ring-offset-1 data-[panel-group-direction=vertical]:h-px data-[panel-group-direction=vertical]:w-full data-[panel-group-direction=vertical]:after:left-0 data-[panel-group-direction=vertical]:after:h-1 data-[panel-group-direction=vertical]:after:w-full data-[panel-group-direction=vertical]:after:-translate-y-1/2 data-[panel-group-direction=vertical]:after:translate-x-0 [&[data-panel-group-direction=vertical]>div]:rotate-90",t),...r,children:a&&e.jsx("div",{className:"z-10 flex h-4 w-3 items-center justify-center rounded-sm border bg-border",children:e.jsx(s.GripVertical,{className:"h-2.5 w-2.5"})})}),exports.ResizablePanel=Be,exports.ResizablePanelGroup=({className:a,...t})=>e.jsx(U.PanelGroup,{className:be("flex h-full w-full data-[panel-group-direction=vertical]:flex-col",a),...t}),exports.ScrollArea=Ie,exports.ScrollBar=ze,exports.Select=_a,exports.SelectContent=Ba,exports.SelectGroup=Aa,exports.SelectItem=Ga,exports.SelectLabel=qa,exports.SelectScrollDownButton=Ea,exports.SelectScrollUpButton=Oa,exports.SelectSeparator=Va,exports.SelectTrigger=Fa,exports.SelectValue=La,exports.Separator=Te,exports.Sheet=He,exports.SheetClose=We,exports.SheetContent=Ze,exports.SheetDescription=ea,exports.SheetFooter=Qe,exports.SheetHeader=Je,exports.SheetTitle=Ye,exports.SheetTrigger=$e,exports.Sidebar=la,exports.SidebarContent=ma,exports.SidebarFooter=ca,exports.SidebarGroup=fa,exports.SidebarGroupContent=pa,exports.SidebarGroupLabel=ua,exports.SidebarHeader=da,exports.SidebarMenu=xa,exports.SidebarMenuButton=ha,exports.SidebarMenuItem=ga,exports.SidebarMenuSub=Na,exports.SidebarMenuSubButton=ya,exports.SidebarMenuSubItem=va,exports.Skeleton=aa,exports.Slider=Ta,exports.Sonner=({...a})=>{const{theme:t="system"}=B.useTheme();return e.jsx(q.Toaster,{theme:t,className:"toaster group",toastOptions:{classNames:{toast:"group toast group-[.toaster]:bg-background group-[.toaster]:text-foreground group-[.toaster] group-[.toaster]:shadow-lg",description:"group-[.toast]:text-muted-foreground",actionButton:"group-[.toast]:bg-primary group-[.toast]:text-primary-foreground",cancelButton:"group-[.toast]:bg-muted group-[.toast]:text-muted-foreground"}},...a})},exports.Switch=Da,exports.Table=Me,exports.TableBody=_e,exports.TableCaption=Ee,exports.TableCell=Oe,exports.TableFooter=Ae,exports.TableHead=Fe,exports.TableHeader=Pe,exports.TableRow=Le,exports.Tabs=Mt,exports.TabsContent=At,exports.TabsList=Pt,exports.TabsTrigger=_t,exports.Textarea=Ca,exports.Toast=Dr,exports.ToastAction=Tr,exports.ToastClose=Ir,exports.ToastDescription=Mr,exports.ToastProvider=Rr,exports.ToastTitle=zr,exports.ToastViewport=Sr,exports.Toaster=function(){const{toasts:a}=qr();return e.jsxs(Rr,{children:[a.map(function({id:a,title:t,description:s,action:r,...o}){return e.jsxs(Dr,{...o,children:[e.jsxs("div",{className:"grid gap-1",children:[t&&e.jsx(zr,{children:t}),s&&e.jsx(Mr,{children:s})]}),r,e.jsx(Ir,{})]},a)}),e.jsx(Sr,{})]})},exports.Toggle=at,exports.ToggleGroup=st,exports.ToggleGroupItem=rt,exports.Tooltip=sa,exports.TooltipContent=oa,exports.TooltipProvider=ta,exports.TooltipTrigger=ra,exports.WELLDashboard=Yr,exports.badgeVariants=ot,exports.buttonVariants=qe,exports.navigationMenuTriggerStyle=Wt,exports.useToast=qr;
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime"),a=require("react"),t=require("@radix-ui/react-accordion"),s=require("lucide-react"),r=require("clsx"),o=require("tailwind-merge"),i=require("@radix-ui/react-aspect-ratio"),l=require("@radix-ui/react-separator"),n=require("@radix-ui/react-scroll-area"),d=require("react-resizable-panels"),c=require("@radix-ui/react-slot"),m=require("class-variance-authority"),u=require("@radix-ui/react-dialog"),f=require("@radix-ui/react-tooltip"),x=require("@radix-ui/react-label"),p=require("@radix-ui/react-checkbox"),h=require("@radix-ui/react-radio-group"),g=require("@radix-ui/react-switch"),b=require("@radix-ui/react-slider"),N=require("input-otp"),y=require("@radix-ui/react-select"),v=require("react-hook-form"),j=require("@radix-ui/react-toggle-group"),w=require("@radix-ui/react-alert-dialog"),C=require("@radix-ui/react-avatar"),k=require("@radix-ui/react-progress"),R=require("react-day-picker"),S=require("motion/react"),D=require("cmdk"),T=require("@radix-ui/react-tabs"),z=require("@radix-ui/react-navigation-menu"),I=require("@radix-ui/react-menubar"),M=require("@radix-ui/react-dropdown-menu"),L=require("vaul"),E=require("@radix-ui/react-popover"),P=require("@radix-ui/react-hover-card"),F=require("@radix-ui/react-context-menu"),_=require("embla-carousel-react"),A=require("@radix-ui/react-collapsible"),B=require("@radix-ui/react-toast"),O=require("recharts"),q=require("next-themes"),H=require("sonner");function V(e){const a=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e)for(const t in e)if("default"!==t){const s=Object.getOwnPropertyDescriptor(e,t);Object.defineProperty(a,t,s.get?s:{enumerable:!0,get:()=>e[t]})}return a.default=e,Object.freeze(a)}const W=V(a),G=V(t),$=V(i),K=V(l),U=V(n),Z=V(d),X=V(u),J=V(f),Q=V(x),Y=V(p),ee=V(h),ae=V(g),te=V(b),se=V(y),re=V(j),oe=V(w),ie=V(C),le=V(k),ne=V(T),de=V(z),ce=V(I),me=V(M),ue=V(E),fe=V(P),xe=V(F),pe=V(A),he=V(B),ge=V(O);function be(...e){return o.twMerge(r.clsx(e))}const Ne=G.Root,ye=W.forwardRef(({className:a,...t},s)=>e.jsx(G.Item,{ref:s,className:be("border-b",a),...t}));ye.displayName="AccordionItem";const ve=W.forwardRef(({className:a,children:t,...r},o)=>e.jsx(G.Header,{className:"flex",children:e.jsxs(G.Trigger,{ref:o,className:be("flex flex-1 items-center justify-between py-4 font-medium transition-all [&[data-state=open]>svg]:rotate-180",a),...r,children:[t,e.jsx(s.ChevronDown,{className:"h-4 w-4 shrink-0 transition-transform duration-200"})]})}));ve.displayName=G.Trigger.displayName;const je=W.forwardRef(({className:a,children:t,...s},r)=>e.jsx(G.Content,{ref:r,className:"overflow-hidden text-sm transition-all data-[state=closed]:animate-accordion-up data-[state=open]:animate-accordion-down",...s,children:e.jsx("div",{className:be("pb-4 pt-0",a),children:t})}));je.displayName=G.Content.displayName;const we=$.Root,Ce=W.forwardRef(({className:a,...t},s)=>e.jsx("div",{ref:s,className:be("rounded-lg border border-gray-100 bg-cyan-50 p-6 space-y-6",a),...t}));Ce.displayName="Card";const ke=W.forwardRef(({className:a,...t},s)=>e.jsx("div",{ref:s,className:be("flex flex-col gap-6",a),...t}));ke.displayName="CardHeader";const Re=W.forwardRef(({className:a,...t},s)=>e.jsx("h3",{ref:s,className:be("heading-xxsmall text-gray-800",a),...t}));Re.displayName="CardTitle";const Se=W.forwardRef(({className:a,...t},s)=>e.jsx("p",{ref:s,className:be("body-base text-gray-800",a),...t}));Se.displayName="CardDescription";const De=W.forwardRef(({className:a,...t},s)=>e.jsx("div",{ref:s,className:be("body-base text-gray-800",a),...t}));De.displayName="CardContent";const Te=W.forwardRef(({className:a,...t},s)=>e.jsx("div",{ref:s,className:be("flex items-center body-base text-gray-800",a),...t}));Te.displayName="CardFooter";const ze=W.forwardRef(({className:a,orientation:t="horizontal",decorative:s=!0,...r},o)=>e.jsx(K.Root,{ref:o,decorative:s,orientation:t,className:be("shrink-0 bg-border","horizontal"===t?"h-px w-full":"h-full w-px",a),...r}));ze.displayName=K.Root.displayName;const Ie=W.forwardRef(({className:a,children:t,...s},r)=>e.jsxs(U.Root,{ref:r,className:be("relative overflow-hidden",a),...s,children:[e.jsx(U.Viewport,{className:"h-full w-full rounded-[inherit]",children:t}),e.jsx(Me,{}),e.jsx(U.Corner,{})]}));Ie.displayName=U.Root.displayName;const Me=W.forwardRef(({className:a,orientation:t="vertical",...s},r)=>e.jsx(U.ScrollAreaScrollbar,{ref:r,orientation:t,className:be("flex touch-none select-none transition-colors","vertical"===t&&"h-full w-2.5 border-l border-l-transparent p-px","horizontal"===t&&"h-2.5 flex-col border-t border-t-transparent p-px",a),...s,children:e.jsx(U.ScrollAreaThumb,{className:"relative flex-1 rounded-full bg-border"})}));Me.displayName=U.ScrollAreaScrollbar.displayName;const Le=W.forwardRef(({className:a,...t},s)=>e.jsx("div",{className:"relative w-full overflow-auto",children:e.jsx("table",{ref:s,className:be("w-full caption-bottom text-sm",a),...t})}));Le.displayName="Table";const Ee=W.forwardRef(({className:a,...t},s)=>e.jsx("thead",{ref:s,className:be("[&_tr]:border-b",a),...t}));Ee.displayName="TableHeader";const Pe=W.forwardRef(({className:a,...t},s)=>e.jsx("tbody",{ref:s,className:be("[&_tr:last-child]:border-0",a),...t}));Pe.displayName="TableBody";const Fe=W.forwardRef(({className:a,...t},s)=>e.jsx("tfoot",{ref:s,className:be("border-t bg-muted/50 font-medium last:[&>tr]:border-b-0",a),...t}));Fe.displayName="TableFooter";const _e=W.forwardRef(({className:a,...t},s)=>e.jsx("tr",{ref:s,className:be("border-b transition-colors hover:bg-muted/50 data-[state=selected]:bg-muted",a),...t}));_e.displayName="TableRow";const Ae=W.forwardRef(({className:a,...t},s)=>e.jsx("th",{ref:s,className:be("h-12 px-4 text-left align-middle font-medium text-muted-foreground [&:has([role=checkbox])]:pr-0",a),...t}));Ae.displayName="TableHead";const Be=W.forwardRef(({className:a,...t},s)=>e.jsx("td",{ref:s,className:be("p-4 align-middle [&:has([role=checkbox])]:pr-0",a),...t}));Be.displayName="TableCell";const Oe=W.forwardRef(({className:a,...t},s)=>e.jsx("caption",{ref:s,className:be("mt-4 text-sm text-muted-foreground",a),...t}));Oe.displayName="TableCaption";const qe=Z.Panel;function He(){const[e,a]=W.useState(void 0);return W.useEffect(()=>{const e=window.matchMedia("(max-width: 767px)"),t=()=>{a(window.innerWidth<768)};return e.addEventListener("change",t),a(window.innerWidth<768),()=>e.removeEventListener("change",t)},[]),!!e}const Ve=m.cva("group inline-flex items-center justify-center rounded-full transition-all focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50 cursor-pointer",{variants:{variant:{clear:"bg-none border-none",default:"bg-white border border-gray-gray-100","primary-gradient":"text-white hover:opacity-90 btn-primary-gradient","primary-dark":"bg-cyan-800 text-white hover:bg-cyan-900 focus-visible:ring-cyan-800","secondary-light":"bg-white border border-gray-200 text-cyan-800 hover:bg-gray-50 focus-visible:ring-gray-200","tertiary-light":"bg-blue-50 border border-blue-200 text-blue-600 hover:bg-blue-100 focus-visible:ring-blue-200","general-primary":"bg-blue-600 text-white hover:bg-blue-700 focus-visible:ring-blue-600","general-secondary":"bg-white border border-blue-200 text-blue-600 hover:bg-blue-50 focus-visible:ring-blue-200","general-tertiary":"bg-white border border-gray-200 text-gray-600 hover:bg-gray-50 focus-visible:ring-gray-200","tooltip-primary":"bg-cyan-300 text-white hover:bg-cyan-400 focus-visible:ring-cyan-300","tooltip-secondary":"bg-gray-500 text-white hover:bg-gray-600 focus-visible:ring-gray-500"},size:{xlarge:"h-16 px-10",large:"h-12 px-8",utility:"h-8 px-4",icon:"size-8"}},compoundVariants:[{size:"xlarge",className:"font-semibold"},{size:"large",className:"font-semibold"},{size:"utility",className:"font-semibold"},{size:"icon",className:"p-0 bg-white border border-gray-100 hover:border-gray-200 hover:scale-[1.02] transition-all duration-200"}],defaultVariants:{variant:"default",size:"large"}}),We={xlarge:"body-large",large:"body-base",utility:"body-small",icon:""},Ge=W.forwardRef(({className:a,variant:t,size:s,children:r,style:o,...i},l)=>{const n=We[s||"large"];return e.jsx("button",{className:be(Ve({variant:t,size:s}),"cursor-pointer",a),style:o,ref:l,...i,children:"icon"===s?r:e.jsx("span",{className:be("relative z-10 font-semibold ",n),children:r})})});Ge.displayName="Button";const $e=W.forwardRef(({className:a,type:t,startIcon:s,endIcon:r,...o},i)=>{const l=o.readOnly,n=o.disabled;return e.jsxs("div",{className:be("flex h-12 w-full items-center rounded-[6px] border border-gray-200 bg-white px-4 transition-shadow","body-base font-medium font-mazzard text-gray-800","focus-within:border-cyan-300",n&&"opacity-50 cursor-not-allowed",l&&"bg-gray-50 border-blue-200 text-gray-600 focus-within:border-blue-200 cursor-default",a),children:[s?e.jsx("div",{className:"mr-3 flex items-center text-muted-foreground",children:s}):null,e.jsx("input",{type:t,className:be("flex-1 w-full bg-transparent outline-none placeholder:text-gray-500","file"===t&&"p-0 italic text-muted-foreground/70 file:me-3 file:h-full file:border-0 file:border-r file:border-solid file:border-gray-200 file:bg-transparent file:px-3 file:text-base file:font-medium file:not-italic file:text-gray-800","search"===t&&"[&::-webkit-search-cancel-button]:appearance-none [&::-webkit-search-decoration]:appearance-none [&::-webkit-search-results-button]:appearance-none [&::-webkit-search-results-decoration]:appearance-none"),ref:i,disabled:n,readOnly:l,...o}),r?e.jsx("div",{className:"ml-3 flex items-center text-muted-foreground",children:r}):null]})});$e.displayName="Input";const Ke=X.Root,Ue=X.Trigger,Ze=X.Close,Xe=X.Portal,Je=W.forwardRef(({className:a,...t},s)=>e.jsx(X.Overlay,{className:be("fixed inset-0 z-50 bg-black/80 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0",a),...t,ref:s}));Je.displayName=X.Overlay.displayName;const Qe=m.cva("fixed z-50 gap-4 bg-background p-6 shadow-lg transition ease-in-out data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:duration-300 data-[state=open]:duration-500",{variants:{side:{top:"inset-x-0 top-0 border-b data-[state=closed]:slide-out-to-top data-[state=open]:slide-in-from-top",bottom:"inset-x-0 bottom-0 border-t data-[state=closed]:slide-out-to-bottom data-[state=open]:slide-in-from-bottom",left:"inset-y-0 left-0 h-full w-3/4 border-r data-[state=closed]:slide-out-to-left data-[state=open]:slide-in-from-left sm:max-w-sm",right:"inset-y-0 right-0 h-full w-3/4 border-l data-[state=closed]:slide-out-to-right data-[state=open]:slide-in-from-right sm:max-w-sm"}},defaultVariants:{side:"right"}}),Ye=W.forwardRef(({side:a="right",className:t,children:r,...o},i)=>e.jsxs(Xe,{children:[e.jsx(Je,{}),e.jsxs(X.Content,{ref:i,className:be(Qe({side:a}),t),...o,children:[r,e.jsxs(X.Close,{className:"absolute right-4 top-4 rounded-sm opacity-70 ring-offset-background transition-opacity hover:opacity-100 focus:outline-hidden focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:pointer-events-none data-[state=open]:bg-secondary",children:[e.jsx(s.X,{className:"h-4 w-4"}),e.jsx("span",{className:"sr-only",children:"Close"})]})]})]}));Ye.displayName=X.Content.displayName;const ea=({className:a,...t})=>e.jsx("div",{className:be("flex flex-col space-y-2 text-center sm:text-left",a),...t});ea.displayName="SheetHeader";const aa=({className:a,...t})=>e.jsx("div",{className:be("flex flex-col-reverse sm:flex-row sm:justify-end sm:space-x-2",a),...t});aa.displayName="SheetFooter";const ta=W.forwardRef(({className:a,...t},s)=>e.jsx(X.Title,{ref:s,className:be("text-lg font-semibold text-foreground",a),...t}));ta.displayName=X.Title.displayName;const sa=W.forwardRef(({className:a,...t},s)=>e.jsx(X.Description,{ref:s,className:be("text-sm text-muted-foreground",a),...t}));function ra({className:a,...t}){return e.jsx("div",{className:be("animate-pulse rounded-md bg-muted",a),...t})}sa.displayName=X.Description.displayName;const oa=W.createContext({trigger:"hover",toggle:()=>{},close:()=>{},triggerRef:{current:null}});function ia({delayDuration:a=0,...t}){return e.jsx(J.Provider,{"data-slot":"tooltip-provider",delayDuration:a,...t})}function la({trigger:a="hover",open:t,onOpenChange:s,children:r,...o}){const[i,l]=W.useState(!1),n=W.useRef(null),d=void 0!==t,c=d?t:i,m=W.useCallback(e=>{"click"!==a&&(d||l(e),null==s||s(e))},[d,s,a]),u=W.useCallback(()=>{d||l(!1),null==s||s(!1)},[d,s]),f=W.useCallback(()=>{const e=!c;d||l(e),null==s||s(e)},[c,d,s]),x="click"===a?{open:c,onOpenChange:m}:{open:d?t:void 0,onOpenChange:s};return e.jsx(oa.Provider,{value:{trigger:a,toggle:f,close:u,triggerRef:n},children:e.jsx(ia,{delayDuration:"click"===a?1e5:0,children:e.jsx(J.Root,{"data-slot":"tooltip",...x,...o,children:r})})})}function na({onClick:a,...t}){const{trigger:s,toggle:r,triggerRef:o}=W.useContext(oa),i=W.useCallback(e=>{"click"===s&&(e.preventDefault(),e.stopPropagation(),r()),null==a||a(e)},[s,r,a]);return e.jsx(J.Trigger,{ref:o,"data-slot":"tooltip-trigger",onClick:i,...t})}function da({className:a,sideOffset:t=0,side:s="bottom",children:r,alignOffset:o=0,...i}){const{trigger:l,close:n,triggerRef:d}=W.useContext(oa),c=W.useRef(null);return W.useEffect(()=>{if("click"!==l)return;const e=e=>{const a=e.target,t=c.current&&!c.current.contains(a),s=d.current&&!d.current.contains(a);t&&s&&n()},a=setTimeout(()=>{document.addEventListener("click",e)},0);return()=>{clearTimeout(a),document.removeEventListener("click",e)}},[l,n,d]),e.jsx(J.Portal,{children:e.jsxs(J.Content,{ref:c,"data-slot":"tooltip-content",sideOffset:t,alignOffset:o,side:s,className:be("group relative bg-gray-700 animate-in fade-in-0 zoom-in-95 data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 z-50 w-fit origin-(--radix-tooltip-content-transform-origin) rounded-lg p-6 pt-8 shadow-sm mt-3",a),...i,children:[e.jsx("div",{className:"absolute left-1/2 -translate-x-1/2 flex justify-center group-data-[side=top]:bottom-0 group-data-[side=top]:rotate-180 group-data-[side=bottom]:top-0 group-data-[side=left]:right-0 group-data-[side=right]:left-0 ",children:e.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"10",height:"5",viewBox:"0 0 10 5",fill:"none",children:e.jsx("path",{d:"M10 -1.74846e-06L-7.36867e-07 0C-3.29906e-07 2.76142 2.23858 5 5 5C7.76142 5 10 2.76142 10 -1.74846e-06Z",fill:"#39C9EA"})})}),r]})})}const ca=W.createContext(null);function ma(){const e=W.useContext(ca);if(!e)throw new Error("useSidebar must be used within a SidebarProvider.");return e}W.forwardRef(({defaultOpen:a=!0,open:t,onOpenChange:s,className:r,style:o,children:i,...l},n)=>{const d=He(),[c,m]=W.useState(!1),[u,f]=W.useState(a),x=t??u,p=W.useCallback(e=>{const a="function"==typeof e?e(x):e;s?s(a):f(a),document.cookie=`sidebar:state=${a}; path=/; max-age=604800`},[s,x]),h=W.useCallback(()=>d?m(e=>!e):p(e=>!e),[d,p,m]);W.useEffect(()=>{const e=e=>{"b"===e.key&&(e.metaKey||e.ctrlKey)&&(e.preventDefault(),h())};return window.addEventListener("keydown",e),()=>window.removeEventListener("keydown",e)},[h]);const g=x?"expanded":"collapsed",b=W.useMemo(()=>({state:g,open:x,setOpen:p,isMobile:d,openMobile:c,setOpenMobile:m,toggleSidebar:h}),[g,x,p,d,c,m,h]);return e.jsx(ca.Provider,{value:b,children:e.jsx(ia,{delayDuration:0,children:e.jsx("div",{style:{"--sidebar-width":"16rem","--sidebar-width-icon":"3rem",...o},className:be("group/sidebar-wrapper flex min-h-svh w-full has-data-[variant=inset]:bg-sidebar",r),ref:n,...l,children:i})})})}).displayName="SidebarProvider";const ua=W.forwardRef(({side:a="left",variant:t="sidebar",collapsible:s="offcanvas",className:r,children:o,...i},l)=>{const{isMobile:n,state:d,openMobile:c,setOpenMobile:m}=ma();return"none"===s?e.jsx("div",{className:be("flex h-full w-(--sidebar-width) flex-col bg-sidebar text-sidebar-foreground",r),ref:l,...i,children:o}):n?e.jsx(Ke,{open:c,onOpenChange:m,...i,children:e.jsx(Ye,{"data-sidebar":"sidebar","data-mobile":"true",className:"w-(--sidebar-width) bg-sidebar p-0 text-sidebar-foreground [&>button]:hidden",style:{"--sidebar-width":"18rem"},side:a,children:e.jsx("div",{className:"flex h-full w-full flex-col",children:o})})}):e.jsxs("div",{ref:l,className:"group peer hidden md:block text-sidebar-foreground","data-state":d,"data-collapsible":"collapsed"===d?s:"","data-variant":t,"data-side":a,children:[e.jsx("div",{className:be("duration-200 relative h-svh w-(--sidebar-width) bg-transparent transition-[width] ease-linear","group-data-[collapsible=offcanvas]:w-0","group-data-[side=right]:rotate-180","floating"===t||"inset"===t?"group-data-[collapsible=icon]:w-[calc(var(--sidebar-width-icon)+(--spacing(4)))]":"group-data-[collapsible=icon]:w-(--sidebar-width-icon)")}),e.jsx("div",{className:be("duration-200 fixed inset-y-0 z-10 hidden h-svh w-(--sidebar-width) transition-[left,right,width] ease-linear md:flex","left"===a?"left-0 group-data-[collapsible=offcanvas]:left-[calc(var(--sidebar-width)*-1)]":"right-0 group-data-[collapsible=offcanvas]:right-[calc(var(--sidebar-width)*-1)]","floating"===t||"inset"===t?"p-2 group-data-[collapsible=icon]:w-[calc(var(--sidebar-width-icon)+(--spacing(4))+2px)]":"group-data-[collapsible=icon]:w-(--sidebar-width-icon) group-data-[side=left]:border-r group-data-[side=right]:border-l",r),...i,children:e.jsx("div",{"data-sidebar":"sidebar",className:"flex h-full w-full flex-col bg-sidebar group-data-[variant=floating]:rounded-lg group-data-[variant=floating]:border group-data-[variant=floating]:border-sidebar-border group-data-[variant=floating]:shadow-sm",children:o})})]})});ua.displayName="Sidebar";W.forwardRef(({className:a,onClick:t,...r},o)=>{const{toggleSidebar:i}=ma();return e.jsxs(Ge,{ref:o,"data-sidebar":"trigger",variant:"general-tertiary",size:"icon",className:be("h-7 w-7",a),onClick:e=>{null==t||t(e),i()},...r,children:[e.jsx(s.PanelLeft,{}),e.jsx("span",{className:"sr-only",children:"Toggle Sidebar"})]})}).displayName="SidebarTrigger";W.forwardRef(({className:a,...t},s)=>{const{toggleSidebar:r}=ma();return e.jsx("button",{ref:s,"data-sidebar":"rail","aria-label":"Toggle Sidebar",tabIndex:-1,onClick:r,title:"Toggle Sidebar",className:be("absolute inset-y-0 z-20 hidden w-4 -translate-x-1/2 transition-all ease-linear after:absolute after:inset-y-0 after:left-1/2 after:w-[2px] hover:after:bg-sidebar-border group-data-[side=left]:-right-4 group-data-[side=right]:left-0 sm:flex","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","group-data-[collapsible=offcanvas]:translate-x-0 group-data-[collapsible=offcanvas]:after:left-full hover:group-data-[collapsible=offcanvas]:bg-sidebar","[[data-side=left][data-collapsible=offcanvas]_&]:-right-2","[[data-side=right][data-collapsible=offcanvas]_&]:-left-2",a),...t})}).displayName="SidebarRail";W.forwardRef(({className:a,...t},s)=>e.jsx("main",{ref:s,className:be("relative flex min-h-svh flex-1 flex-col bg-background","peer-data-[variant=inset]:min-h-[calc(100svh-(--spacing(4)))] md:peer-data-[variant=inset]:m-2 md:peer-data-[variant=inset]:peer-data-[state=collapsed]:ml-2 md:peer-data-[variant=inset]:ml-0 md:peer-data-[variant=inset]:rounded-xl md:peer-data-[variant=inset]:shadow-sm",a),...t})).displayName="SidebarInset";W.forwardRef(({className:a,...t},s)=>e.jsx($e,{ref:s,"data-sidebar":"input",className:be("h-8 w-full bg-background shadow-none focus-visible:ring-2 focus-visible:ring-sidebar-ring",a),...t})).displayName="SidebarInput";const fa=W.forwardRef(({className:a,...t},s)=>e.jsx("div",{ref:s,"data-sidebar":"header",className:be("flex flex-col gap-2 p-2",a),...t}));fa.displayName="SidebarHeader";const xa=W.forwardRef(({className:a,...t},s)=>e.jsx("div",{ref:s,"data-sidebar":"footer",className:be("flex flex-col gap-2 p-2",a),...t}));xa.displayName="SidebarFooter";W.forwardRef(({className:a,...t},s)=>e.jsx(ze,{ref:s,"data-sidebar":"separator",className:be("mx-2 w-auto bg-sidebar-border",a),...t})).displayName="SidebarSeparator";const pa=W.forwardRef(({className:a,...t},s)=>e.jsx("div",{ref:s,"data-sidebar":"content",className:be("flex min-h-0 flex-1 flex-col gap-2 overflow-auto group-data-[collapsible=icon]:overflow-hidden",a),...t}));pa.displayName="SidebarContent";const ha=W.forwardRef(({className:a,...t},s)=>e.jsx("div",{ref:s,"data-sidebar":"group",className:be("relative flex w-full min-w-0 flex-col p-2",a),...t}));ha.displayName="SidebarGroup";const ga=W.forwardRef(({className:a,asChild:t=!1,...s},r)=>{const o=t?c.Slot:"div";return e.jsx(o,{ref:r,"data-sidebar":"group-label",className:be("duration-200 flex h-8 shrink-0 items-center rounded-md px-2 text-xs font-medium text-sidebar-foreground/70 outline-hidden ring-sidebar-ring transition-[margin,opa] ease-linear focus-visible:ring-2 [&>svg]:size-4 [&>svg]:shrink-0","group-data-[collapsible=icon]:-mt-8 group-data-[collapsible=icon]:opacity-0",a),...s})});ga.displayName="SidebarGroupLabel";W.forwardRef(({className:a,asChild:t=!1,...s},r)=>{const o=t?c.Slot:"button";return e.jsx(o,{ref:r,"data-sidebar":"group-action",className:be("absolute right-3 top-3.5 flex aspect-square w-5 items-center justify-center rounded-md p-0 text-sidebar-foreground outline-hidden ring-sidebar-ring transition-transform hover:bg-sidebar-accent hover:text-sidebar-accent-foreground focus-visible:ring-2 [&>svg]:size-4 [&>svg]:shrink-0","after:absolute after:-inset-2 md:after:hidden","group-data-[collapsible=icon]:hidden",a),...s})}).displayName="SidebarGroupAction";const ba=W.forwardRef(({className:a,...t},s)=>e.jsx("div",{ref:s,"data-sidebar":"group-content",className:be("w-full text-sm",a),...t}));ba.displayName="SidebarGroupContent";const Na=W.forwardRef(({className:a,...t},s)=>e.jsx("ul",{ref:s,"data-sidebar":"menu",className:be("flex w-full min-w-0 flex-col gap-1",a),...t}));Na.displayName="SidebarMenu";const ya=W.forwardRef(({className:a,...t},s)=>e.jsx("li",{ref:s,"data-sidebar":"menu-item",className:be("group/menu-item relative",a),...t}));ya.displayName="SidebarMenuItem";const va=m.cva("peer/menu-button flex w-full items-center gap-2 overflow-hidden rounded-md p-2 text-left text-sm outline-hidden ring-sidebar-ring transition-[width,height,padding] hover:bg-sidebar-accent hover:text-sidebar-accent-foreground focus-visible:ring-2 active:bg-sidebar-accent active:text-sidebar-accent-foreground disabled:pointer-events-none disabled:opacity-50 group-has-data-[sidebar=menu-action]/menu-item:pr-8 aria-disabled:pointer-events-none aria-disabled:opacity-50 data-[active=true]:bg-sidebar-accent data-[active=true]:font-medium data-[active=true]:text-sidebar-accent-foreground data-[state=open]:hover:bg-sidebar-accent data-[state=open]:hover:text-sidebar-accent-foreground group-data-[collapsible=icon]:size-8! group-data-[collapsible=icon]:p-2! [&>span:last-child]:truncate [&>svg]:size-4 [&>svg]:shrink-0",{variants:{variant:{default:"hover:bg-sidebar-accent hover:text-sidebar-accent-foreground",outline:"bg-background shadow-[0_0_0_1px_hsl(var(--sidebar-border))] hover:bg-sidebar-accent hover:text-sidebar-accent-foreground hover:shadow-[0_0_0_1px_hsl(var(--sidebar-accent))]"},size:{default:"h-8 text-sm",sm:"h-7 text-xs",lg:"h-12 text-sm group-data-[collapsible=icon]:p-0!"}},defaultVariants:{variant:"default",size:"default"}}),ja=W.forwardRef(({asChild:a=!1,isActive:t=!1,variant:s="default",size:r="default",tooltip:o,className:i,...l},n)=>{const d=a?c.Slot:"button",{isMobile:m,state:u}=ma(),f=e.jsx(d,{ref:n,"data-sidebar":"menu-button","data-size":r,"data-active":t,className:be(va({variant:s,size:r}),i),...l});return o?("string"==typeof o&&(o={children:o}),e.jsxs(la,{children:[e.jsx(na,{asChild:!0,children:f}),e.jsx(da,{side:"right",align:"center",hidden:"collapsed"!==u||m,...o})]})):f});ja.displayName="SidebarMenuButton";W.forwardRef(({className:a,asChild:t=!1,showOnHover:s=!1,...r},o)=>{const i=t?c.Slot:"button";return e.jsx(i,{ref:o,"data-sidebar":"menu-action",className:be("absolute right-1 top-1.5 flex aspect-square w-5 items-center justify-center rounded-md p-0 text-sidebar-foreground outline-hidden ring-sidebar-ring transition-transform hover:bg-sidebar-accent hover:text-sidebar-accent-foreground focus-visible:ring-2 peer-hover/menu-button:text-sidebar-accent-foreground [&>svg]:size-4 [&>svg]:shrink-0","after:absolute after:-inset-2 md:after:hidden","peer-data-[size=sm]/menu-button:top-1","peer-data-[size=default]/menu-button:top-1.5","peer-data-[size=lg]/menu-button:top-2.5","group-data-[collapsible=icon]:hidden",s&&"group-focus-within/menu-item:opacity-100 group-hover/menu-item:opacity-100 data-[state=open]:opacity-100 peer-data-[active=true]/menu-button:text-sidebar-accent-foreground md:opacity-0",a),...r})}).displayName="SidebarMenuAction";W.forwardRef(({className:a,...t},s)=>e.jsx("div",{ref:s,"data-sidebar":"menu-badge",className:be("absolute right-1 flex h-5 min-w-5 items-center justify-center rounded-md px-1 text-xs font-medium tabular-nums text-sidebar-foreground select-none pointer-events-none","peer-hover/menu-button:text-sidebar-accent-foreground peer-data-[active=true]/menu-button:text-sidebar-accent-foreground","peer-data-[size=sm]/menu-button:top-1","peer-data-[size=default]/menu-button:top-1.5","peer-data-[size=lg]/menu-button:top-2.5","group-data-[collapsible=icon]:hidden",a),...t})).displayName="SidebarMenuBadge";W.forwardRef(({className:a,showIcon:t=!1,...s},r)=>{const o=W.useMemo(()=>`${Math.floor(40*Math.random())+50}%`,[]);return e.jsxs("div",{ref:r,"data-sidebar":"menu-skeleton",className:be("rounded-md h-8 flex gap-2 px-2 items-center",a),...s,children:[t&&e.jsx(ra,{className:"size-4 rounded-md","data-sidebar":"menu-skeleton-icon"}),e.jsx(ra,{className:"h-4 flex-1 max-w-(--skeleton-width)","data-sidebar":"menu-skeleton-text",style:{"--skeleton-width":o}})]})}).displayName="SidebarMenuSkeleton";const wa=W.forwardRef(({className:a,...t},s)=>e.jsx("ul",{ref:s,"data-sidebar":"menu-sub",className:be("mx-3.5 flex min-w-0 translate-x-px flex-col gap-1 border-l border-sidebar-border px-2.5 py-0.5","group-data-[collapsible=icon]:hidden",a),...t}));wa.displayName="SidebarMenuSub";const Ca=W.forwardRef(({...a},t)=>e.jsx("li",{ref:t,...a}));Ca.displayName="SidebarMenuSubItem";const ka=W.forwardRef(({asChild:a=!1,size:t="md",isActive:s,className:r,...o},i)=>{const l=a?c.Slot:"a";return e.jsx(l,{ref:i,"data-sidebar":"menu-sub-button","data-size":t,"data-active":s,className:be("flex h-7 min-w-0 -translate-x-px items-center gap-2 overflow-hidden rounded-md px-2 text-sidebar-foreground outline-hidden ring-sidebar-ring hover:bg-sidebar-accent hover:text-sidebar-accent-foreground focus-visible:ring-2 active:bg-sidebar-accent active:text-sidebar-accent-foreground disabled:pointer-events-none disabled:opacity-50 aria-disabled:pointer-events-none aria-disabled:opacity-50 [&>span:last-child]:truncate [&>svg]:size-4 [&>svg]:shrink-0 [&>svg]:text-sidebar-accent-foreground","data-[active=true]:bg-sidebar-accent data-[active=true]:text-sidebar-accent-foreground","sm"===t&&"text-xs","md"===t&&"text-sm","group-data-[collapsible=icon]:hidden",r),...o})});ka.displayName="SidebarMenuSubButton";const Ra=m.cva("peer-disabled:cursor-not-allowed peer-disabled:opacity-70 text-gray-600 px-2"),Sa=W.forwardRef(({className:a,children:t,...s},r)=>e.jsx(Q.Root,{ref:r,className:be(Ra(),a),...s,children:e.jsx("span",{className:"overline-medium",children:t})}));Sa.displayName=Q.Root.displayName;const Da=W.forwardRef(({className:a,...t},s)=>e.jsx("textarea",{className:be("flex min-h-[80px] w-full rounded-[6px] border border-gray-200 bg-white p-4 body-base font-medium text-gray-800 placeholder:font-normal placeholder:text-gray-500 focus:border-cyan-300 focus:outline-none focus-visible:outline-none disabled:cursor-not-allowed disabled:opacity-50 disabled:border-blue-200 disabled:bg-transparent ring-0",a),ref:s,...t}));Da.displayName="Textarea";const Ta=W.forwardRef(({className:a,...t},r)=>e.jsx(Y.Root,{ref:r,className:be("peer h-4 w-4 shrink-0 rounded-sm border border-primary ring-offset-background focus-visible:outline-hidden focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50 data-[state=checked]:bg-primary data-[state=checked]:text-primary-foreground",a),...t,children:e.jsx(Y.Indicator,{className:be("flex items-center justify-center text-current"),children:e.jsx(s.Check,{className:"h-4 w-4"})})}));Ta.displayName=Y.Root.displayName;const za=W.forwardRef(({className:a,...t},s)=>e.jsx(ee.Root,{className:be("grid gap-2",a),...t,ref:s}));za.displayName=ee.Root.displayName;const Ia=W.forwardRef(({className:a,...t},r)=>e.jsx(ee.Item,{ref:r,className:be("aspect-square h-4 w-4 rounded-full border border-primary text-primary ring-offset-background focus:outline-hidden focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50",a),...t,children:e.jsx(ee.Indicator,{className:"flex items-center justify-center",children:e.jsx(s.Circle,{className:"h-2.5 w-2.5 fill-current text-current"})})}));Ia.displayName=ee.Item.displayName;const Ma=W.forwardRef(({className:a,...t},s)=>e.jsx(ae.Root,{className:be("peer inline-flex h-6 w-11 shrink-0 cursor-pointer items-center rounded-full border-2 border-transparent transition-colors focus-visible:outline-hidden focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 focus-visible:ring-offset-background disabled:cursor-not-allowed disabled:opacity-50 data-[state=checked]:bg-primary data-[state=unchecked]:bg-input",a),...t,ref:s,children:e.jsx(ae.Thumb,{className:be("pointer-events-none block h-5 w-5 rounded-full bg-background shadow-lg ring-0 transition-transform data-[state=checked]:translate-x-5 data-[state=unchecked]:translate-x-0")})}));Ma.displayName=ae.Root.displayName;const La=W.forwardRef(({className:a,...t},s)=>e.jsxs(te.Root,{ref:s,className:be("relative flex w-full touch-none select-none items-center",a),...t,children:[e.jsx(te.Track,{className:"relative h-2 w-full grow overflow-hidden rounded-full bg-secondary",children:e.jsx(te.Range,{className:"absolute h-full bg-primary"})}),e.jsx(te.Thumb,{className:"block h-5 w-5 rounded-full border-2 border-primary bg-background ring-offset-background transition-colors focus-visible:outline-hidden focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50"})]}));La.displayName=te.Root.displayName;const Ea=W.forwardRef(({className:a,containerClassName:t,...s},r)=>e.jsx(N.OTPInput,{ref:r,containerClassName:be("flex items-center gap-2 has-disabled:opacity-50",t),className:be("disabled:cursor-not-allowed",a),...s}));Ea.displayName="InputOTP";const Pa=W.forwardRef(({className:a,...t},s)=>e.jsx("div",{ref:s,className:be("flex items-center",a),...t}));Pa.displayName="InputOTPGroup";const Fa=W.forwardRef(({index:a,className:t,...s},r)=>{const o=W.useContext(N.OTPInputContext),{char:i,hasFakeCaret:l,isActive:n}=o.slots[a];return e.jsxs("div",{ref:r,className:be("relative flex h-10 w-10 items-center justify-center border-y border-r border-input text-sm transition-all first:rounded-l-md first:border-l last:rounded-r-md",n&&"z-10 ring-2 ring-ring ring-offset-background",t),...s,children:[i,l&&e.jsx("div",{className:"pointer-events-none absolute inset-0 flex items-center justify-center",children:e.jsx("div",{className:"h-4 w-px animate-caret-blink bg-foreground duration-1000"})})]})});Fa.displayName="InputOTPSlot";const _a=W.forwardRef(({...a},t)=>e.jsx("div",{ref:t,role:"separator",...a,children:e.jsx(s.Dot,{})}));_a.displayName="InputOTPSeparator";const Aa=({className:a})=>e.jsx("div",{className:be("size-4 flex items-center justify-center text-gray-500",a),children:e.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"12",height:"6",viewBox:"0 0 12 6",fill:"none",className:be("text-inherit"),children:e.jsx("path",{d:"M11 0.75L6 5.25L1 0.75",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})})}),Ba=se.Root,Oa=se.Group,qa=se.Value,Ha=W.forwardRef(({className:a,children:t,...s},r)=>e.jsx(se.Trigger,{ref:r,className:be("group flex h-12 w-full rounded-[6px] border border-gray-200 bg-white p-4 text-gray-800 ring-offset-background placeholder:font-normal placeholder:text-gray-500 focus:outline-none focus:ring-0 data-[state=open]:border-cyan-300 disabled:cursor-not-allowed disabled:opacity-50 [&>span]:line-clamp-1",a),...s,children:e.jsxs("div",{className:"flex items-center justify-between w-full",children:[e.jsx("span",{className:" text-gray-800 font-mazzard body-base font-medium",children:t}),e.jsx(se.Icon,{asChild:!0,children:e.jsx(Aa,{className:" text-gray-600 group-data-[state=open]:rotate-180 transition-transform duration-200"})})]})}));Ha.displayName=se.Trigger.displayName;const Va=W.forwardRef(({className:a,...t},s)=>e.jsx(se.ScrollUpButton,{ref:s,className:be("flex cursor-default items-center justify-center py-1",a),...t,children:e.jsx(Aa,{})}));Va.displayName=se.ScrollUpButton.displayName;const Wa=W.forwardRef(({className:a,...t},s)=>e.jsx(se.ScrollDownButton,{ref:s,className:be("flex cursor-default items-center justify-center py-1",a),...t,children:e.jsx(Aa,{})}));Wa.displayName=se.ScrollDownButton.displayName;const Ga=W.forwardRef(({className:a,children:t,position:s="popper",...r},o)=>e.jsx(se.Portal,{children:e.jsxs(se.Content,{ref:o,className:be("relative z-50 max-h-96 min-w-32 overflow-hidden border-cyan-300 bg-gray-700 text-gray-200 shadow-md data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 data-[side=bottom]:-mt-1 data-[side=bottom]:rounded-t-none data-[side=bottom]:rounded-b-[6px] data-[side=top]:border-b-0 data-[side=top]:rounded-t-[6px] data-[side=top]:rounded-b-none data-[side=top]:-mb-1 data-[side=top]:border-t data-[side=bottom]:border-b",a),position:s,...r,children:[e.jsx(Va,{}),e.jsx(se.Viewport,{className:be("","popper"===s&&"h-(--radix-select-trigger-height) w-full min-w-(--radix-select-trigger-width)"),children:t}),e.jsx(Wa,{})]})}));Ga.displayName=se.Content.displayName;const $a=W.forwardRef(({className:a,...t},s)=>e.jsx(se.Label,{ref:s,className:be("py-1.5 pl-8 pr-2 text-sm font-semibold font-mazzard",a),...t}));$a.displayName=se.Label.displayName;const Ka=W.forwardRef(({className:a,children:t,...s},r)=>e.jsx(se.Item,{ref:r,className:be("relative flex h-12 w-full cursor-default select-none items-center border-x border-cyan-300 px-4 outline-none focus:bg-[rgba(0,0,0,0.2)] data-disabled:pointer-events-none data-disabled:opacity-50",a),...s,children:e.jsx(se.ItemText,{children:t})}));Ka.displayName=se.Item.displayName;const Ua=W.forwardRef(({className:a,...t},s)=>e.jsx(se.Separator,{ref:s,className:be("-mx-1 my-1 h-px bg-muted",a),...t}));Ua.displayName=se.Separator.displayName;const Za=v.FormProvider,Xa=W.createContext({}),Ja=()=>{const e=W.useContext(Xa),a=W.useContext(Qa),{getFieldState:t,formState:s}=v.useFormContext(),r=t(e.name,s);if(!e)throw new Error("useFormField should be used within <FormField>");const{id:o}=a;return{id:o,name:e.name,formItemId:`${o}-form-item`,formDescriptionId:`${o}-form-item-description`,formMessageId:`${o}-form-item-message`,...r}},Qa=W.createContext({}),Ya=W.forwardRef(({className:a,...t},s)=>{const r=W.useId();return e.jsx(Qa.Provider,{value:{id:r},children:e.jsx("div",{ref:s,className:be("space-y-2",a),...t})})});Ya.displayName="FormItem";const et=W.forwardRef(({className:a,...t},s)=>{const{error:r,formItemId:o}=Ja();return e.jsx(Sa,{ref:s,className:be(r&&"text-destructive",a),htmlFor:o,...t})});et.displayName="FormLabel";const at=W.forwardRef(({...a},t)=>{const{error:s,formItemId:r,formDescriptionId:o,formMessageId:i}=Ja();return e.jsx(c.Slot,{ref:t,id:r,"aria-describedby":s?`${o} ${i}`:`${o}`,"aria-invalid":!!s,...a})});at.displayName="FormControl";const tt=W.forwardRef(({className:a,...t},s)=>{const{formDescriptionId:r}=Ja();return e.jsx("p",{ref:s,id:r,className:be("text-sm text-muted-foreground",a),...t})});tt.displayName="FormDescription";const st=W.forwardRef(({className:a,children:t,...s},r)=>{const{error:o,formMessageId:i}=Ja(),l=o?String(null==o?void 0:o.message):t;return l?e.jsx("p",{ref:r,id:i,className:be("text-sm font-medium text-destructive",a),...s,children:l}):null});st.displayName="FormMessage";const rt=m.cva("inline-flex items-center justify-center rounded-full transition-all focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring cursor-pointer",{variants:{variant:{default:"bg-gray-100 text-gray-600 hover:bg-gray-200"},size:{default:"h-8 px-4"}},defaultVariants:{variant:"default",size:"default"}}),ot=W.createContext({size:"default",variant:"default"}),it=W.forwardRef(({className:a,variant:t,size:s,children:r,...o},i)=>e.jsx(re.Root,{ref:i,className:be("flex items-center justify-center gap-1",a),...o,children:e.jsx(ot.Provider,{value:{variant:t,size:s},children:r})}));it.displayName=re.Root.displayName;const lt=W.forwardRef(({className:a,children:t,variant:s,size:r,...o},i)=>{const l=W.useContext(ot);return e.jsx(re.Item,{ref:i,className:be(rt({variant:l.variant||s,size:l.size||r}),a),...o,children:t})});function nt({value:e,defaultValue:t,onValueChange:s}){const[r,o]=a.useState(e??t);a.useEffect(()=>{void 0!==e&&o(e)},[e]);const i=a.useCallback(a=>{void 0===e&&o(a),null==s||s(a)},[e,s]);return{value:e??r,onValueChange:i}}lt.displayName=re.Item.displayName,m.cva("inline-flex items-center justify-center rounded-md text-sm font-medium ring-offset-background transition-colors hover:bg-muted hover:text-muted-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50 data-[state=on]:bg-accent data-[state=on]:text-accent-foreground",{variants:{variant:{default:"bg-transparent",outline:"border border-input bg-transparent hover:bg-accent hover:text-accent-foreground"},size:{default:"h-10 px-3",sm:"h-9 px-2.5",lg:"h-11 px-5"}},defaultVariants:{variant:"default",size:"default"}});const dt=W.forwardRef(({className:a,options:t,value:s,defaultValue:r,onValueChange:o,...i},l)=>{var n;const{value:d,onValueChange:c}=nt({value:s,defaultValue:r??(null==(n=t[0])?void 0:n.value),onValueChange:o});return e.jsx("div",{ref:l,className:be("inline-flex",a),...i,children:t.map(a=>{const t=W.isValidElement(a.label);return e.jsx("button",{className:be("inline-flex items-center justify-center h-8 px-4 rounded-full transition-all focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring cursor-pointer",d===a.value?"bg-cyan-700 text-white font-semibold":"text-gray-600 hover:bg-gray-50 font-medium"),onClick:()=>c(a.value),type:"button","data-active":d===a.value,children:t?a.label:e.jsx("span",{className:"body-small font-medium",children:a.label})},a.value)})})});dt.displayName="SegmentedControl";const ct=dt,mt=m.cva("inline-flex items-center rounded-full border px-2.5 py-0.5 text-xs font-semibold transition-colors focus:outline-hidden focus:ring-2 focus:ring-ring focus:ring-offset-2",{variants:{variant:{default:"border-transparent bg-primary text-primary-foreground hover:bg-primary/80",secondary:"border-transparent bg-secondary text-secondary-foreground hover:bg-secondary/80",destructive:"border-transparent bg-destructive text-destructive-foreground hover:bg-destructive/80",outline:"text-foreground"}},defaultVariants:{variant:"default"}});const ut=m.cva("relative w-full rounded-lg border p-4 [&>svg~*]:pl-7 [&>svg+div]:translate-y-[-3px] [&>svg]:absolute [&>svg]:left-4 [&>svg]:top-4 [&>svg]:text-foreground",{variants:{variant:{default:"bg-background text-foreground",destructive:"border-destructive/50 text-destructive dark:border-destructive [&>svg]:text-destructive"}},defaultVariants:{variant:"default"}}),ft=W.forwardRef(({className:a,variant:t,...s},r)=>e.jsx("div",{ref:r,role:"alert",className:be(ut({variant:t}),a),...s}));ft.displayName="Alert";const xt=W.forwardRef(({className:a,...t},s)=>e.jsx("h5",{ref:s,className:be("mb-1 font-medium leading-none tracking-tight",a),...t}));xt.displayName="AlertTitle";const pt=W.forwardRef(({className:a,...t},s)=>e.jsx("div",{ref:s,className:be("text-sm [&_p]:leading-relaxed",a),...t}));pt.displayName="AlertDescription";const ht=oe.Root,gt=oe.Trigger,bt=oe.Portal,Nt=W.forwardRef(({className:a,...t},s)=>e.jsx(oe.Overlay,{className:be("fixed inset-0 z-50 bg-black/80 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0",a),...t,ref:s}));Nt.displayName=oe.Overlay.displayName;const yt=W.forwardRef(({className:a,...t},s)=>e.jsxs(bt,{children:[e.jsx(Nt,{}),e.jsx(oe.Content,{ref:s,className:be("fixed left-[50%] top-[50%] z-50 border-green grid w-full max-w-lg translate-x-[-50%] translate-y-[-50%] gap-4 border bg-background p-6 shadow-lg duration-200 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[state=closed]:slide-out-to-left-1/2 data-[state=closed]:slide-out-to-top-[48%] data-[state=open]:slide-in-from-left-1/2 data-[state=open]:slide-in-from-top-[48%] sm:rounded-lg",a),...t})]}));yt.displayName=oe.Content.displayName;const vt=({className:a,...t})=>e.jsx("div",{className:be("flex flex-col space-y-2 text-center sm:text-left",a),...t});vt.displayName="AlertDialogHeader";const jt=({className:a,...t})=>e.jsx("div",{className:be("flex flex-col-reverse sm:flex-row sm:justify-end sm:space-x-2",a),...t});jt.displayName="AlertDialogFooter";const wt=W.forwardRef(({className:a,...t},s)=>e.jsx(oe.Title,{ref:s,className:be("text-lg font-semibold",a),...t}));wt.displayName=oe.Title.displayName;const Ct=W.forwardRef(({className:a,...t},s)=>e.jsx(oe.Description,{ref:s,className:be("text-sm text-muted-foreground",a),...t}));Ct.displayName=oe.Description.displayName;const kt=W.forwardRef(({className:a,...t},s)=>e.jsx(oe.Action,{ref:s,className:be(Ve(),a),...t}));kt.displayName=oe.Action.displayName;const Rt=W.forwardRef(({className:a,...t},s)=>e.jsx(oe.Cancel,{ref:s,className:be(Ve({variant:"general-secondary"}),"mt-2 sm:mt-0",a),...t}));Rt.displayName=oe.Cancel.displayName;const St=W.forwardRef(({className:a,...t},s)=>e.jsx(ie.Root,{ref:s,className:be("relative flex h-10 w-10 shrink-0 overflow-hidden rounded-full",a),...t}));St.displayName=ie.Root.displayName;const Dt=W.forwardRef(({className:a,...t},s)=>e.jsx(ie.Image,{ref:s,className:be("aspect-square h-full w-full",a),...t}));Dt.displayName=ie.Image.displayName;const Tt=W.forwardRef(({className:a,...t},s)=>e.jsx(ie.Fallback,{ref:s,className:be("flex h-full w-full items-center justify-center rounded-full bg-muted",a),...t}));Tt.displayName=ie.Fallback.displayName;const zt=W.forwardRef(({...a},t)=>e.jsx("nav",{ref:t,"aria-label":"breadcrumb",...a}));zt.displayName="Breadcrumb";const It=W.forwardRef(({className:a,...t},s)=>e.jsx("ol",{ref:s,className:be("flex flex-wrap items-center gap-1.5 wrap-break-word text-sm text-muted-foreground sm:gap-2.5",a),...t}));It.displayName="BreadcrumbList";const Mt=W.forwardRef(({className:a,...t},s)=>e.jsx("li",{ref:s,className:be("inline-flex items-center gap-1.5",a),...t}));Mt.displayName="BreadcrumbItem";const Lt=W.forwardRef(({asChild:a,className:t,...s},r)=>{const o=a?c.Slot:"a";return e.jsx(o,{ref:r,className:be("transition-colors hover:text-foreground",t),...s})});Lt.displayName="BreadcrumbLink";const Et=W.forwardRef(({className:a,...t},s)=>e.jsx("span",{ref:s,role:"link","aria-disabled":"true","aria-current":"page",className:be("body-small font-medium text-gray-600 text-center whitespace-nowrap",a),...t}));Et.displayName="BreadcrumbPage";const Pt=({children:a,className:t,...s})=>e.jsx("li",{role:"presentation","aria-hidden":"true",className:be("size-4 flex items-center justify-center shrink-0",t),...s,children:a??e.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"5",height:"8",viewBox:"0 0 5 8",fill:"none",children:e.jsx("path",{d:"M0.75 6.75L3.75 3.75L0.75 0.75",stroke:"#CBCDD2",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})})});Pt.displayName="BreadcrumbSeparator";const Ft=W.forwardRef(({className:a,value:t,...s},r)=>e.jsx(le.Root,{ref:r,className:be("relative h-4 w-full overflow-hidden rounded-full bg-secondary",a),...s,children:e.jsx(le.Indicator,{className:"h-full w-full flex-1 bg-primary transition-all",style:{transform:`translateX(-${100-(t||0)}%)`}})}));function _t({className:a,classNames:t,showOutsideDays:r=!0,...o}){return e.jsx(R.DayPicker,{showOutsideDays:r,className:be("p-3",a),classNames:{months:"flex flex-col sm:flex-row space-y-4 sm:space-x-4 sm:space-y-0",month:"space-y-4",caption:"flex justify-center pt-1 relative items-center",caption_label:"text-sm font-medium",nav:"space-x-1 flex items-center",nav_button:be(Ve({variant:"general-secondary"}),"h-7 w-7 bg-transparent p-0 opacity-50 hover:opacity-100"),nav_button_previous:"absolute left-1",nav_button_next:"absolute right-1",table:"w-full border-collapse space-y-1",head_row:"flex",head_cell:"text-muted-foreground rounded-md w-9 font-normal text-[0.8rem]",row:"flex w-full mt-2",cell:"h-9 w-9 text-center text-sm p-0 relative [&:has([aria-selected].day-range-end)]:rounded-r-md [&:has([aria-selected].day-outside)]:bg-accent/50 [&:has([aria-selected])]:bg-accent first:[&:has([aria-selected])]:rounded-l-md last:[&:has([aria-selected])]:rounded-r-md focus-within:relative focus-within:z-20",day:be(Ve({variant:"general-tertiary"}),"h-9 w-9 p-0 font-normal aria-selected:opacity-100"),day_range_end:"day-range-end",day_selected:"bg-primary text-primary-foreground hover:bg-primary hover:text-primary-foreground focus:bg-primary focus:text-primary-foreground",day_today:"bg-accent text-accent-foreground",day_outside:"day-outside text-muted-foreground opacity-50 aria-selected:bg-accent/50 aria-selected:text-muted-foreground aria-selected:opacity-30",day_disabled:"text-muted-foreground opacity-50",day_range_middle:"aria-selected:bg-accent aria-selected:text-accent-foreground",day_hidden:"invisible",...t},components:{Chevron:a=>"left"===a.orientation?e.jsx(s.ChevronLeft,{className:"h-4 w-4"}):e.jsx(s.ChevronRight,{className:"h-4 w-4"})},...o})}Ft.displayName=le.Root.displayName,_t.displayName="Calendar";const At=({className:a})=>e.jsx("div",{className:be("size-4 flex items-center justify-center text-gray-500",a),children:e.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"12",height:"12",viewBox:"0 0 12 12",fill:"none",className:be("size-3 text-inherit"),children:[e.jsx("path",{d:"M10.8002 1.19995L1.2002 10.8",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),e.jsx("path",{d:"M1.2002 1.19995L10.8002 10.8",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})]})}),Bt=({dark:a=!1})=>e.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"64",height:"16",viewBox:"0 0 64 16",fill:"none",className:be(a?"text-gray-700":"text-white"),children:[e.jsx("path",{d:"M53.5868 0H55.0485C55.6026 0 56.0325 0.404706 56.0325 0.969412V12.8941H63.016C63.5701 12.8941 64 13.2988 64 13.8447V15.0306C64 15.5765 63.5701 16 63.016 16H53.5868C53.0327 16 52.6028 15.5765 52.6028 15.0306V0.969412C52.6028 0.404706 53.0423 0 53.5868 0Z",fill:"currentColor"}),e.jsx("path",{d:"M39.9826 0H41.4442C41.9983 0 42.4282 0.404706 42.4282 0.969412V12.8941H49.4118C49.9659 12.8941 50.3958 13.2988 50.3958 13.8447V15.0306C50.3958 15.5765 49.9659 16 49.4118 16H39.9826C39.4285 16 38.9986 15.5765 38.9986 15.0306V0.969412C38.9986 0.404706 39.4285 0 39.9826 0Z",fill:"currentColor"}),e.jsx("path",{d:"M25.4615 0H35.5212C36.0944 0 36.5052 0.404706 36.5052 0.969412V2.15529C36.5052 2.70118 36.0944 3.12471 35.5212 3.12471H27.9072V6.37176H34.222C34.7761 6.37176 35.206 6.77647 35.206 7.32235V8.50824C35.206 9.07294 34.7761 9.47765 34.222 9.47765H27.9072V12.8941H35.6359C36.2091 12.8941 36.6199 13.2988 36.6199 13.8447V15.0306C36.6199 15.5765 36.2091 16 35.6359 16H25.4615C24.9074 16 24.4775 15.5765 24.4775 15.0306V0.969412C24.4775 0.404706 24.9074 0 25.4615 0Z",fill:"currentColor"}),e.jsx("path",{d:"M2.26579 0C2.81989 0 3.37399 0.376471 3.53639 0.922353L6.56483 10.4941L9.51684 0.856471C9.66014 0.357647 10.1665 0 10.6728 0H11.6855C12.2109 0 12.7172 0.357647 12.8605 0.856471L15.8412 10.5035L18.8314 0.922353C18.9747 0.376471 19.5288 0 20.102 0H21.6401C22.1942 0 22.4808 0.404706 22.2898 0.922353L17.4653 15.1435C17.2933 15.6141 16.7965 16 16.2616 16H15.2489C14.7426 16 14.2362 15.6424 14.0929 15.1435L11.1887 5.92L8.25578 15.1435C8.11248 15.6424 7.60615 16 7.08071 16H6.08716C5.58083 16 5.0745 15.6235 4.91209 15.1435L0.0589489 0.922353C-0.13212 0.404706 0.154483 0 0.727688 0H2.26579Z",fill:"currentColor"})]}),Ot=({className:a=""})=>e.jsxs("svg",{width:"32",height:"32",viewBox:"0 0 32 32",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:be("transition-colors duration-300 text-bronze-500",a),children:[e.jsx("path",{d:"M16.0001 14.5C18.2093 14.5 20.0001 12.7091 20.0001 10.5C20.0001 8.29086 18.2093 6.5 16.0001 6.5C13.791 6.5 12.0001 8.29086 12.0001 10.5C12.0001 12.7091 13.791 14.5 16.0001 14.5Z",fill:"currentColor"}),e.jsx("path",{d:"M6.90759 23.3314C8.48801 19.8899 11.9649 17.5 16 17.5C20.0351 17.5 23.5121 19.89 25.0924 23.3316C22.8919 25.8841 19.6347 27.5 16.0001 27.5C12.3654 27.5 9.10818 25.8841 6.90759 23.3314Z",fill:"currentColor"})]}),qt=({color:a})=>e.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"8",height:"9",viewBox:"0 0 8 9",fill:"none",children:e.jsx("circle",{cx:"4",cy:"4.5",r:"3.5",fill:a,stroke:"#F3E7D8"})});function Ht({...a}){return e.jsx(X.Root,{"data-slot":"dialog",...a})}function Vt({...a}){return e.jsx(X.Portal,{"data-slot":"dialog-portal",...a})}function Wt({className:a,...t}){return e.jsx(X.Overlay,{"data-slot":"dialog-overlay",className:be("data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 fixed inset-0 z-50 bg-black/50",a),...t})}function Gt({className:a,children:t,showCloseButton:r=!0,...o}){return e.jsxs(Vt,{"data-slot":"dialog-portal",children:[e.jsx(Wt,{}),e.jsxs(X.Content,{"data-slot":"dialog-content",className:be("DialogContent overflow-hidden rounded-[40px] gap-4 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 fixed top-1/2 left-1/2 z-50 grid -translate-x-1/2 -translate-y-1/2 border-12 border-[rgba(255,255,255,0.20)] duration-200 ",a),...o,children:[e.jsx("div",{className:"p-6 bg-gray-50",children:t}),r&&e.jsxs(X.Close,{"data-slot":"dialog-close",className:"ring-offset-background focus:ring-ring data-[state=open]:bg-accent data-[state=open]:text-muted-foreground absolute top-4 right-4 rounded-xs opacity-70 transition-opacity hover:opacity-100 focus:ring-2 focus:ring-offset-2 focus:outline-hidden disabled:pointer-events-none [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",children:[e.jsx(s.XIcon,{}),e.jsx("span",{className:"sr-only",children:"Close"})]})]})]})}const $t=W.forwardRef(({className:a,...t},s)=>e.jsx(D.Command,{ref:s,className:be("flex h-full w-full flex-col overflow-hidden",a),...t}));$t.displayName=D.Command.displayName;const Kt=W.forwardRef(({className:a,icon:t=s.Search,...r},o)=>e.jsxs("div",{className:be("group relative flex h-14 w-full sm:min-w-[344px] items-center gap-4 rounded-lg border border-gray-200 bg-white p-4 focus:ring-0 focus:outline-none",a),"cmdk-input-wrapper":"",children:[e.jsx(t,{className:" h-4 w-4 shrink-0 group-focus-within:-translate-x-4 group-focus-within:opacity-0 ease-in-out duration-200"}),e.jsx(D.Command.Input,{ref:o,className:be("text-base w-full ring-0 outline-none group-focus-within:-translate-x-8 ease-in-out duration-200",a),...r})]}));Kt.displayName=D.Command.Input.displayName;const Ut=W.forwardRef(({className:a,...t},s)=>e.jsx(D.Command.List,{ref:s,className:be("max-h-[300px] overflow-y-auto overflow-x-hidden bg-gray-700 rounded-b-lg",a),...t}));Ut.displayName=D.Command.List.displayName;const Zt=W.forwardRef((a,t)=>e.jsx(D.Command.Empty,{ref:t,className:"py-6 text-center text-sm",...a}));Zt.displayName=D.Command.Empty.displayName;const Xt=W.forwardRef(({className:a,...t},s)=>e.jsx(D.Command.Group,{ref:s,className:be("group overflow-hidden [&_[cmdk-group-heading]]:px-2 [&_[cmdk-group-heading]]:py-1.5 [&_[cmdk-group-heading]]:text-xs [&_[cmdk-group-heading]]:font-medium [&_[cmdk-group-heading]]:text-muted-foreground ",a),...t}));Xt.displayName=D.Command.Group.displayName;const Jt=W.forwardRef(({className:a,...t},s)=>e.jsx(D.Command.Separator,{ref:s,className:be("-mx-1 h-px bg-border",a),...t}));Jt.displayName=D.Command.Separator.displayName;const Qt=W.forwardRef(({className:a,...t},s)=>e.jsx(D.Command.Item,{ref:s,className:be("relative flex w-full items-center gap-2 cursor-default select-none p-4 text-sm outline-none data-[disabled=true]:pointer-events-none data-[disabled=true]:opacity-50 [&_svg]:pointer-events-none [&_svg]:size-4 [&_svg]:shrink-0 bg-gray-700 hover:bg-[rgba(0,0,0,0.2)] text-gray-200",a),...t}));Qt.displayName=D.Command.Item.displayName;const Yt=({className:a,...t})=>e.jsx("span",{className:be("ml-auto text-xs tracking-widest text-muted-foreground",a),...t});Yt.displayName="CommandShortcut";const es=W.forwardRef(({children:a,active:t=!1,status:s,variant:r="light",className:o,onClick:i,...l},n)=>{if(s){const t=((e,a="light")=>({light:{todo:{bg:"bg-gray-100",text:"text-gray-600"},low:{bg:"bg-cyan-100",text:"text-cyan-600"},medium:{bg:"bg-plum-100",text:"text-plum-600"},high:{bg:"bg-coral-100",text:"text-coral-600"},done:{bg:"bg-emerald-100",text:"text-emerald-600"}},dark:{todo:{bg:"bg-gray-600",text:"text-gray-100"},low:{bg:"bg-cyan-700",text:"text-cyan-100"},medium:{bg:"bg-plum-700",text:"text-plum-100"},high:{bg:"bg-coral-700",text:"text-coral-100"},done:{bg:"bg-emerald-700",text:"text-emerald-100"}}}[a][e]))(s,r);return e.jsx("button",{ref:n,onClick:i,className:be("inline-flex items-center p-[8px] rounded-sm w-fit","focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-offset-2","disabled:opacity-50 disabled:cursor-not-allowed",t.bg,t.text,o),...l,children:e.jsx("span",{className:"overline-medium",children:a})})}return e.jsx("button",{ref:n,onClick:i,className:be("inline-flex items-center h-[32px] px-[12px] py-0 rounded-sm w-fit cursor-pointer","focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-offset-2","disabled:opacity-50 disabled:cursor-not-allowed","transition-all duration-200",t?"bg-cyan-700 text-white hover:border-cyan-700":"bg-blue-100 text-blue-700 hover:bg-cyan-700 hover:text-white",o),...l,children:e.jsx("span",{className:"body-small font-semibold",children:a})})});es.displayName="Tag";const as=a.forwardRef(({className:a,...t},s)=>e.jsx(ne.Root,{ref:s,className:be("w-full",a),...t}));as.displayName=ne.Root.displayName;const ts=a.forwardRef(({className:a,...t},s)=>e.jsx(ne.List,{ref:s,className:be("inline-flex h-10 items-center justify-center rounded-md bg-muted p-1 text-muted-foreground",a),...t}));ts.displayName=ne.List.displayName;const ss=a.forwardRef(({className:a,...t},s)=>e.jsx(ne.Trigger,{ref:s,className:be("inline-flex items-center justify-center whitespace-nowrap rounded-sm px-3 py-1.5 text-sm font-medium ring-offset-background transition-all focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50 data-[state=active]:bg-background data-[state=active]:text-foreground data-[state=active]:shadow-sm",a),...t}));ss.displayName=ne.Trigger.displayName;const rs=a.forwardRef(({className:a,...t},s)=>e.jsx(ne.Content,{ref:s,className:be("mt-2 ring-offset-background focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2",a),...t}));rs.displayName=ne.Content.displayName;const os=({className:a,...t})=>e.jsx("nav",{role:"navigation","aria-label":"pagination",className:be("mx-auto flex w-full justify-center",a),...t});os.displayName="Pagination";const is=W.forwardRef(({className:a,...t},s)=>e.jsx("ul",{ref:s,className:be("flex flex-row items-center gap-1",a),...t}));is.displayName="PaginationContent";const ls=W.forwardRef(({className:a,...t},s)=>e.jsx("li",{ref:s,className:be("",a),...t}));ls.displayName="PaginationItem";const ns=({className:a,isActive:t,size:s="icon",...r})=>e.jsx("a",{"aria-current":t?"page":void 0,className:be(Ve({variant:t?"general-secondary":"general-tertiary",size:s}),a),...r});ns.displayName="PaginationLink";const ds=({className:a,...t})=>e.jsxs(ns,{"aria-label":"Go to previous page",size:"utility",className:be("gap-1 pl-2.5",a),...t,children:[e.jsx(s.ChevronLeft,{className:"h-4 w-4"}),e.jsx("span",{children:"Previous"})]});ds.displayName="PaginationPrevious";const cs=({className:a,...t})=>e.jsxs(ns,{"aria-label":"Go to next page",size:"utility",className:be("gap-1 pr-2.5",a),...t,children:[e.jsx("span",{children:"Next"}),e.jsx(s.ChevronRight,{className:"h-4 w-4"})]});cs.displayName="PaginationNext";const ms=({className:a,...t})=>e.jsxs("span",{"aria-hidden":!0,className:be("flex h-9 w-9 items-center justify-center",a),...t,children:[e.jsx(s.MoreHorizontal,{className:"h-4 w-4"}),e.jsx("span",{className:"sr-only",children:"More pages"})]});ms.displayName="PaginationEllipsis";const us=W.forwardRef(({className:a,children:t,...s},r)=>e.jsxs(de.Root,{ref:r,className:be("relative z-10 flex max-w-max flex-1 items-center justify-center",a),...s,children:[t,e.jsx(Ns,{})]}));us.displayName=de.Root.displayName;const fs=W.forwardRef(({className:a,...t},s)=>e.jsx(de.List,{ref:s,className:be("group flex flex-1 list-none items-center justify-center space-x-1",a),...t}));fs.displayName=de.List.displayName;const xs=de.Item,ps=m.cva("group inline-flex h-10 w-max items-center justify-center rounded-md bg-background px-4 py-2 text-sm font-medium transition-colors hover:bg-accent hover:text-accent-foreground focus:bg-accent focus:text-accent-foreground focus:outline-hidden disabled:pointer-events-none disabled:opacity-50 data-active:bg-accent/50 data-[state=open]:bg-accent/50"),hs=W.forwardRef(({className:a,children:t,...r},o)=>e.jsxs(de.Trigger,{ref:o,className:be(ps(),"group",a),...r,children:[t," ",e.jsx(s.ChevronDown,{className:"relative top-px ml-1 h-3 w-3 transition duration-200 group-data-[state=open]:rotate-180","aria-hidden":"true"})]}));hs.displayName=de.Trigger.displayName;const gs=W.forwardRef(({className:a,...t},s)=>e.jsx(de.Content,{ref:s,className:be("left-0 top-0 w-full data-[motion^=from-]:animate-in data-[motion^=to-]:animate-out data-[motion^=from-]:fade-in data-[motion^=to-]:fade-out data-[motion=from-end]:slide-in-from-right-52 data-[motion=from-start]:slide-in-from-left-52 data-[motion=to-end]:slide-out-to-right-52 data-[motion=to-start]:slide-out-to-left-52 md:absolute md:w-auto ",a),...t}));gs.displayName=de.Content.displayName;const bs=de.Link,Ns=W.forwardRef(({className:a,...t},s)=>e.jsx("div",{className:be("absolute left-0 top-full flex justify-center"),children:e.jsx(de.Viewport,{className:be("origin-top-center relative mt-1.5 h-(--radix-navigation-menu-viewport-height) w-full overflow-hidden rounded-md border bg-popover text-popover-foreground shadow-lg data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-90 md:w-(--radix-navigation-menu-viewport-width)",a),ref:s,...t})}));Ns.displayName=de.Viewport.displayName;W.forwardRef(({className:a,...t},s)=>e.jsx(de.Indicator,{ref:s,className:be("top-full z-1 flex h-1.5 items-end justify-center overflow-hidden data-[state=visible]:animate-in data-[state=hidden]:animate-out data-[state=hidden]:fade-out data-[state=visible]:fade-in",a),...t,children:e.jsx("div",{className:"relative top-[60%] h-2 w-2 rotate-45 rounded-tl-sm bg-border shadow-md"})})).displayName=de.Indicator.displayName;const ys=ce.Menu,vs=ce.Sub,js=ce.RadioGroup,ws=W.forwardRef(({className:a,...t},s)=>e.jsx(ce.Root,{ref:s,className:be("flex h-10 items-center space-x-1 rounded-md border bg-background p-1",a),...t}));ws.displayName=ce.Root.displayName;const Cs=W.forwardRef(({className:a,...t},s)=>e.jsx(ce.Trigger,{ref:s,className:be("flex cursor-default select-none items-center rounded-sm px-3 py-1.5 text-sm font-medium outline-hidden focus:bg-accent focus:text-accent-foreground data-[state=open]:bg-accent data-[state=open]:text-accent-foreground",a),...t}));Cs.displayName=ce.Trigger.displayName;const ks=W.forwardRef(({className:a,inset:t,children:r,...o},i)=>e.jsxs(ce.SubTrigger,{ref:i,className:be("flex cursor-default select-none items-center rounded-sm px-2 py-1.5 text-sm outline-hidden focus:bg-accent focus:text-accent-foreground data-[state=open]:bg-accent data-[state=open]:text-accent-foreground",t&&"pl-8",a),...o,children:[r,e.jsx(s.ChevronRight,{className:"ml-auto h-4 w-4"})]}));ks.displayName=ce.SubTrigger.displayName;const Rs=W.forwardRef(({className:a,...t},s)=>e.jsx(ce.SubContent,{ref:s,className:be("z-50 min-w-32 overflow-hidden rounded-md border bg-popover p-1 text-popover-foreground data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",a),...t}));Rs.displayName=ce.SubContent.displayName;const Ss=W.forwardRef(({className:a,align:t="start",alignOffset:s=-4,sideOffset:r=8,...o},i)=>e.jsx(ce.Portal,{children:e.jsx(ce.Content,{ref:i,align:t,alignOffset:s,sideOffset:r,className:be("z-50 min-w-48 overflow-hidden rounded-md border bg-popover p-1 text-popover-foreground shadow-md data-[state=open]:animate-in data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",a),...o})}));Ss.displayName=ce.Content.displayName;const Ds=W.forwardRef(({className:a,inset:t,...s},r)=>e.jsx(ce.Item,{ref:r,className:be("relative flex cursor-default select-none items-center rounded-sm px-2 py-1.5 text-sm outline-hidden focus:bg-accent focus:text-accent-foreground data-disabled:pointer-events-none data-disabled:opacity-50",t&&"pl-8",a),...s}));Ds.displayName=ce.Item.displayName;const Ts=W.forwardRef(({className:a,children:t,checked:r,...o},i)=>e.jsxs(ce.CheckboxItem,{ref:i,className:be("relative flex cursor-default select-none items-center rounded-sm py-1.5 pl-8 pr-2 text-sm outline-hidden focus:bg-accent focus:text-accent-foreground data-disabled:pointer-events-none data-disabled:opacity-50",a),checked:r,...o,children:[e.jsx("span",{className:"absolute left-2 flex h-3.5 w-3.5 items-center justify-center",children:e.jsx(ce.ItemIndicator,{children:e.jsx(s.Check,{className:"h-4 w-4"})})}),t]}));Ts.displayName=ce.CheckboxItem.displayName;const zs=W.forwardRef(({className:a,children:t,...r},o)=>e.jsxs(ce.RadioItem,{ref:o,className:be("relative flex cursor-default select-none items-center rounded-sm py-1.5 pl-8 pr-2 text-sm outline-hidden focus:bg-accent focus:text-accent-foreground data-disabled:pointer-events-none data-disabled:opacity-50",a),...r,children:[e.jsx("span",{className:"absolute left-2 flex h-3.5 w-3.5 items-center justify-center",children:e.jsx(ce.ItemIndicator,{children:e.jsx(s.Circle,{className:"h-2 w-2 fill-current"})})}),t]}));zs.displayName=ce.RadioItem.displayName;const Is=W.forwardRef(({className:a,inset:t,...s},r)=>e.jsx(ce.Label,{ref:r,className:be("px-2 py-1.5 text-sm font-semibold",t&&"pl-8",a),...s}));Is.displayName=ce.Label.displayName;const Ms=W.forwardRef(({className:a,...t},s)=>e.jsx(ce.Separator,{ref:s,className:be("-mx-1 my-1 h-px bg-muted",a),...t}));Ms.displayName=ce.Separator.displayName;const Ls=({className:a,...t})=>e.jsx("span",{className:be("ml-auto text-xs tracking-widest text-muted-foreground",a),...t});Ls.displayname="MenubarShortcut";const Es=me.Root,Ps=me.Trigger,Fs=me.Group,_s=me.Portal,As=me.Sub,Bs=me.RadioGroup,Os=W.forwardRef(({className:a,inset:t,children:r,...o},i)=>e.jsxs(me.SubTrigger,{ref:i,className:be("flex cursor-default select-none items-center rounded-sm px-2 py-1.5 text-sm outline-hidden focus:bg-accent data-[state=open]:bg-accent",t&&"pl-8",a),...o,children:[r,e.jsx(s.ChevronRight,{className:"ml-auto h-4 w-4"})]}));Os.displayName=me.SubTrigger.displayName;const qs=W.forwardRef(({className:a,...t},s)=>e.jsx(me.SubContent,{ref:s,className:be("z-50 min-w-32 overflow-hidden rounded-md border bg-popover p-1 text-popover-foreground shadow-lg data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",a),...t}));qs.displayName=me.SubContent.displayName;const Hs=W.forwardRef(({className:a,sideOffset:t=4,...s},r)=>e.jsx(me.Portal,{children:e.jsx(me.Content,{ref:r,sideOffset:t,className:be("z-50 min-w-32 overflow-hidden rounded-md border bg-popover p-1 text-popover-foreground shadow-md data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",a),...s})}));Hs.displayName=me.Content.displayName;const Vs=W.forwardRef(({className:a,inset:t,...s},r)=>e.jsx(me.Item,{ref:r,className:be("relative flex cursor-default select-none items-center rounded-sm px-2 py-1.5 text-sm outline-hidden transition-colors focus:bg-accent focus:text-accent-foreground data-disabled:pointer-events-none data-disabled:opacity-50",t&&"pl-8",a),...s}));Vs.displayName=me.Item.displayName;const Ws=W.forwardRef(({className:a,children:t,checked:r,...o},i)=>e.jsxs(me.CheckboxItem,{ref:i,className:be("relative flex cursor-default select-none items-center rounded-sm py-1.5 pl-8 pr-2 text-sm outline-hidden transition-colors focus:bg-accent focus:text-accent-foreground data-disabled:pointer-events-none data-disabled:opacity-50",a),checked:r,...o,children:[e.jsx("span",{className:"absolute left-2 flex h-3.5 w-3.5 items-center justify-center",children:e.jsx(me.ItemIndicator,{children:e.jsx(s.Check,{className:"h-4 w-4"})})}),t]}));Ws.displayName=me.CheckboxItem.displayName;const Gs=W.forwardRef(({className:a,children:t,...r},o)=>e.jsxs(me.RadioItem,{ref:o,className:be("relative flex cursor-default select-none items-center rounded-sm py-1.5 pl-8 pr-2 text-sm outline-hidden transition-colors focus:bg-accent focus:text-accent-foreground data-disabled:pointer-events-none data-disabled:opacity-50",a),...r,children:[e.jsx("span",{className:"absolute left-2 flex h-3.5 w-3.5 items-center justify-center",children:e.jsx(me.ItemIndicator,{children:e.jsx(s.Circle,{className:"h-2 w-2 fill-current"})})}),t]}));Gs.displayName=me.RadioItem.displayName;const $s=W.forwardRef(({className:a,inset:t,...s},r)=>e.jsx(me.Label,{ref:r,className:be("px-2 py-1.5 text-sm font-semibold",t&&"pl-8",a),...s}));$s.displayName=me.Label.displayName;const Ks=W.forwardRef(({className:a,...t},s)=>e.jsx(me.Separator,{ref:s,className:be("-mx-1 my-1 h-px bg-muted",a),...t}));Ks.displayName=me.Separator.displayName;const Us=({className:a,...t})=>e.jsx("span",{className:be("ml-auto text-xs tracking-widest opacity-60",a),...t});Us.displayName="DropdownMenuShortcut";const Zs=({shouldScaleBackground:a=!0,...t})=>e.jsx(L.Drawer.Root,{shouldScaleBackground:a,...t});Zs.displayName="Drawer";const Xs=L.Drawer.Trigger,Js=L.Drawer.Portal,Qs=L.Drawer.Close,Ys=W.forwardRef(({className:a,...t},s)=>e.jsx(L.Drawer.Overlay,{ref:s,className:be("fixed inset-0 z-50 bg-black/80",a),...t}));Ys.displayName=L.Drawer.Overlay.displayName;const er=W.forwardRef(({className:a,children:t,...s},r)=>e.jsxs(Js,{children:[e.jsx(Ys,{}),e.jsxs(L.Drawer.Content,{ref:r,className:be("fixed inset-x-0 bottom-0 z-50 mt-24 flex h-auto flex-col rounded-t-[10px] border bg-background",a),...s,children:[e.jsx("div",{className:"mx-auto mt-4 h-2 w-[100px] rounded-full bg-muted"}),t]})]}));er.displayName="DrawerContent";const ar=({className:a,...t})=>e.jsx("div",{className:be("grid gap-1.5 p-4 text-center sm:text-left",a),...t});ar.displayName="DrawerHeader";const tr=({className:a,...t})=>e.jsx("div",{className:be("mt-auto flex flex-col gap-2 p-4",a),...t});tr.displayName="DrawerFooter";const sr=W.forwardRef(({className:a,...t},s)=>e.jsx(L.Drawer.Title,{ref:s,className:be("text-lg font-semibold leading-none tracking-tight",a),...t}));sr.displayName=L.Drawer.Title.displayName;const rr=W.forwardRef(({className:a,...t},s)=>e.jsx(L.Drawer.Description,{ref:s,className:be("text-sm text-muted-foreground",a),...t}));rr.displayName=L.Drawer.Description.displayName;const or=ue.Root,ir=ue.Trigger,lr=W.forwardRef(({className:a,align:t="center",sideOffset:s=4,...r},o)=>e.jsx(ue.Portal,{children:e.jsx(ue.Content,{ref:o,align:t,sideOffset:s,className:be("z-50 w-72 rounded-md border bg-popover p-4 text-popover-foreground shadow-md outline-hidden data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",a),...r})}));lr.displayName=ue.Content.displayName;const nr=fe.Root,dr=fe.Trigger,cr=W.forwardRef(({className:a,align:t="center",sideOffset:s=4,...r},o)=>e.jsx(fe.Content,{ref:o,align:t,sideOffset:s,className:be("z-50 w-64 rounded-md border bg-popover p-4 text-popover-foreground shadow-md outline-hidden data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",a),...r}));cr.displayName=fe.Content.displayName;const mr=xe.Root,ur=xe.Trigger,fr=xe.Group,xr=xe.Portal,pr=xe.Sub,hr=xe.RadioGroup,gr=W.forwardRef(({className:a,inset:t,children:r,...o},i)=>e.jsxs(xe.SubTrigger,{ref:i,className:be("flex cursor-default select-none items-center rounded-sm px-2 py-1.5 text-sm outline-hidden focus:bg-accent focus:text-accent-foreground data-[state=open]:bg-accent data-[state=open]:text-accent-foreground",t&&"pl-8",a),...o,children:[r,e.jsx(s.ChevronRight,{className:"ml-auto h-4 w-4"})]}));gr.displayName=xe.SubTrigger.displayName;const br=W.forwardRef(({className:a,...t},s)=>e.jsx(xe.SubContent,{ref:s,className:be("z-50 min-w-32 overflow-hidden rounded-md border bg-popover p-1 text-popover-foreground shadow-md data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",a),...t}));br.displayName=xe.SubContent.displayName;const Nr=W.forwardRef(({className:a,...t},s)=>e.jsx(xe.Portal,{children:e.jsx(xe.Content,{ref:s,className:be("z-50 min-w-32 overflow-hidden rounded-md border bg-popover p-1 text-popover-foreground shadow-md animate-in fade-in-80 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",a),...t})}));Nr.displayName=xe.Content.displayName;const yr=W.forwardRef(({className:a,inset:t,...s},r)=>e.jsx(xe.Item,{ref:r,className:be("relative flex cursor-default select-none items-center rounded-sm px-2 py-1.5 text-sm outline-hidden focus:bg-accent focus:text-accent-foreground data-disabled:pointer-events-none data-disabled:opacity-50",t&&"pl-8",a),...s}));yr.displayName=xe.Item.displayName;const vr=W.forwardRef(({className:a,children:t,checked:r,...o},i)=>e.jsxs(xe.CheckboxItem,{ref:i,className:be("relative flex cursor-default select-none items-center rounded-sm py-1.5 pl-8 pr-2 text-sm outline-hidden focus:bg-accent focus:text-accent-foreground data-disabled:pointer-events-none data-disabled:opacity-50",a),checked:r,...o,children:[e.jsx("span",{className:"absolute left-2 flex h-3.5 w-3.5 items-center justify-center",children:e.jsx(xe.ItemIndicator,{children:e.jsx(s.Check,{className:"h-4 w-4"})})}),t]}));vr.displayName=xe.CheckboxItem.displayName;const jr=W.forwardRef(({className:a,children:t,...r},o)=>e.jsxs(xe.RadioItem,{ref:o,className:be("relative flex cursor-default select-none items-center rounded-sm py-1.5 pl-8 pr-2 text-sm outline-hidden focus:bg-accent focus:text-accent-foreground data-disabled:pointer-events-none data-disabled:opacity-50",a),...r,children:[e.jsx("span",{className:"absolute left-2 flex h-3.5 w-3.5 items-center justify-center",children:e.jsx(xe.ItemIndicator,{children:e.jsx(s.Circle,{className:"h-2 w-2 fill-current"})})}),t]}));jr.displayName=xe.RadioItem.displayName;const wr=W.forwardRef(({className:a,inset:t,...s},r)=>e.jsx(xe.Label,{ref:r,className:be("px-2 py-1.5 text-sm font-semibold text-foreground",t&&"pl-8",a),...s}));wr.displayName=xe.Label.displayName;const Cr=W.forwardRef(({className:a,...t},s)=>e.jsx(xe.Separator,{ref:s,className:be("-mx-1 my-1 h-px bg-border",a),...t}));Cr.displayName=xe.Separator.displayName;const kr=({className:a,...t})=>e.jsx("span",{className:be("ml-auto text-xs tracking-widest text-muted-foreground",a),...t});kr.displayName="ContextMenuShortcut";const Rr=W.createContext(null);function Sr(){const e=W.useContext(Rr);if(!e)throw new Error("useCarousel must be used within a <Carousel />");return e}const Dr=W.forwardRef(({orientation:a="horizontal",opts:t,setApi:s,plugins:r,className:o,children:i,...l},n)=>{const[d,c]=_({...t,axis:"horizontal"===a?"x":"y"},r),[m,u]=W.useState(!1),[f,x]=W.useState(!1),p=W.useCallback(e=>{e&&(u(e.canScrollPrev()),x(e.canScrollNext()))},[]),h=W.useCallback(()=>{null==c||c.scrollPrev()},[c]),g=W.useCallback(()=>{null==c||c.scrollNext()},[c]),b=W.useCallback(e=>{"ArrowLeft"===e.key?(e.preventDefault(),h()):"ArrowRight"===e.key&&(e.preventDefault(),g())},[h,g]);return W.useEffect(()=>{c&&s&&s(c)},[c,s]),W.useEffect(()=>{if(c)return p(c),c.on("reInit",p),c.on("select",p),()=>{null==c||c.off("select",p)}},[c,p]),e.jsx(Rr.Provider,{value:{carouselRef:d,api:c,opts:t,orientation:a||("y"===(null==t?void 0:t.axis)?"vertical":"horizontal"),scrollPrev:h,scrollNext:g,canScrollPrev:m,canScrollNext:f},children:e.jsx("div",{ref:n,onKeyDownCapture:b,className:be("relative",o),role:"region","aria-roledescription":"carousel",...l,children:i})})});Dr.displayName="Carousel";const Tr=W.forwardRef(({className:a,...t},s)=>{const{carouselRef:r,orientation:o}=Sr();return e.jsx("div",{ref:r,className:"overflow-hidden",children:e.jsx("div",{ref:s,className:be("flex","horizontal"===o?"-ml-4":"-mt-4 flex-col",a),...t})})});Tr.displayName="CarouselContent";const zr=W.forwardRef(({className:a,...t},s)=>{const{orientation:r}=Sr();return e.jsx("div",{ref:s,role:"group","aria-roledescription":"slide",className:be("min-w-0 shrink-0 grow-0 basis-full","horizontal"===r?"pl-4":"pt-4",a),...t})});zr.displayName="CarouselItem";const Ir=W.forwardRef(({className:a,variant:t="general-secondary",size:r="icon",...o},i)=>{const{orientation:l,scrollPrev:n,canScrollPrev:d}=Sr();return e.jsxs(Ge,{ref:i,variant:t,size:r,className:be("absolute h-8 w-8 rounded-full","horizontal"===l?"-left-12 top-1/2 -translate-y-1/2":"-top-12 left-1/2 -translate-x-1/2 rotate-90",a),disabled:!d,onClick:n,...o,children:[e.jsx(s.ArrowLeft,{className:"h-4 w-4"}),e.jsx("span",{className:"sr-only",children:"Previous slide"})]})});Ir.displayName="CarouselPrevious";const Mr=W.forwardRef(({className:a,variant:t="general-secondary",size:r="icon",...o},i)=>{const{orientation:l,scrollNext:n,canScrollNext:d}=Sr();return e.jsxs(Ge,{ref:i,variant:t,size:r,className:be("absolute h-8 w-8 rounded-full","horizontal"===l?"-right-12 top-1/2 -translate-y-1/2":"-bottom-12 left-1/2 -translate-x-1/2 rotate-90",a),disabled:!d,onClick:n,...o,children:[e.jsx(s.ArrowRight,{className:"h-4 w-4"}),e.jsx("span",{className:"sr-only",children:"Next slide"})]})});Mr.displayName="CarouselNext";const Lr=pe.Root,Er=pe.CollapsibleTrigger,Pr=pe.CollapsibleContent,Fr=he.Provider,_r=W.forwardRef(({className:a,...t},s)=>e.jsx(he.Viewport,{ref:s,className:be("fixed top-0 z-100 flex max-h-screen w-full flex-col-reverse p-4 sm:bottom-0 sm:right-0 sm:top-auto sm:flex-col md:max-w-[420px]",a),...t}));_r.displayName=he.Viewport.displayName;const Ar=m.cva("group pointer-events-auto relative flex w-full items-center justify-between space-x-4 overflow-hidden rounded-md border p-6 pr-8 shadow-lg transition-all data-[swipe=cancel]:translate-x-0 data-[swipe=end]:translate-x-(--radix-toast-swipe-end-x) data-[swipe=move]:translate-x-(--radix-toast-swipe-move-x) data-[swipe=move]:transition-none data-[state=open]:animate-in data-[state=closed]:animate-out data-[swipe=end]:animate-out data-[state=closed]:fade-out-80 data-[state=closed]:slide-out-to-right-full data-[state=open]:slide-in-from-top-full sm:data-[state=open]:slide-in-from-bottom-full",{variants:{variant:{default:"border bg-background text-foreground",destructive:"destructive group border-destructive bg-destructive text-destructive-foreground"}},defaultVariants:{variant:"default"}}),Br=W.forwardRef(({className:a,variant:t,...s},r)=>e.jsx(he.Root,{ref:r,className:be(Ar({variant:t}),a),...s}));Br.displayName=he.Root.displayName;const Or=W.forwardRef(({className:a,...t},s)=>e.jsx(he.Action,{ref:s,className:be("inline-flex h-8 shrink-0 items-center justify-center rounded-md border bg-transparent px-3 text-sm font-medium ring-offset-background transition-colors hover:bg-secondary focus:outline-hidden focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:pointer-events-none disabled:opacity-50 group-[.destructive]:border-muted/40 hover:group-[.destructive]:border-destructive/30 hover:group-[.destructive]:bg-destructive hover:group-[.destructive]:text-destructive-foreground focus:group-[.destructive]:ring-destructive",a),...t}));Or.displayName=he.Action.displayName;const qr=W.forwardRef(({className:a,...t},r)=>e.jsx(he.Close,{ref:r,className:be("absolute right-2 top-2 rounded-md p-1 text-foreground/50 opacity-0 transition-opacity hover:text-foreground focus:opacity-100 focus:outline-hidden focus:ring-2 group-hover:opacity-100 group-[.destructive]:text-red-300 hover:group-[.destructive]:text-red-50 focus:group-[.destructive]:ring-red-400 focus:group-[.destructive]:ring-offset-red-600",a),"toast-close":"",...t,children:e.jsx(s.X,{className:"h-4 w-4"})}));qr.displayName=he.Close.displayName;const Hr=W.forwardRef(({className:a,...t},s)=>e.jsx(he.Title,{ref:s,className:be("text-sm font-semibold",a),...t}));Hr.displayName=he.Title.displayName;const Vr=W.forwardRef(({className:a,...t},s)=>e.jsx(he.Description,{ref:s,className:be("text-sm opacity-90",a),...t}));Vr.displayName=he.Description.displayName;let Wr=0;const Gr=new Map,$r=e=>{if(Gr.has(e))return;const a=setTimeout(()=>{Gr.delete(e),Xr({type:"REMOVE_TOAST",toastId:e})},1e6);Gr.set(e,a)},Kr=(e,a)=>{switch(a.type){case"ADD_TOAST":return{...e,toasts:[a.toast,...e.toasts].slice(0,1)};case"UPDATE_TOAST":return{...e,toasts:e.toasts.map(e=>e.id===a.toast.id?{...e,...a.toast}:e)};case"DISMISS_TOAST":{const{toastId:t}=a;return t?$r(t):e.toasts.forEach(e=>{$r(e.id)}),{...e,toasts:e.toasts.map(e=>e.id===t||void 0===t?{...e,open:!1}:e)}}case"REMOVE_TOAST":return void 0===a.toastId?{...e,toasts:[]}:{...e,toasts:e.toasts.filter(e=>e.id!==a.toastId)}}},Ur=[];let Zr={toasts:[]};function Xr(e){Zr=Kr(Zr,e),Ur.forEach(e=>{e(Zr)})}function Jr({...e}){const a=(Wr=(Wr+1)%Number.MAX_SAFE_INTEGER,Wr.toString()),t=()=>Xr({type:"DISMISS_TOAST",toastId:a});return Xr({type:"ADD_TOAST",toast:{...e,id:a,open:!0,onOpenChange:e=>{e||t()}}}),{id:a,dismiss:t,update:e=>Xr({type:"UPDATE_TOAST",toast:{...e,id:a}})}}function Qr(){const[e,a]=W.useState(Zr);return W.useEffect(()=>(Ur.push(a),()=>{const e=Ur.indexOf(a);e>-1&&Ur.splice(e,1)}),[e]),{...e,toast:Jr,dismiss:e=>Xr({type:"DISMISS_TOAST",toastId:e})}}const Yr={light:"",dark:".dark"},eo=W.createContext(null);function ao(){const e=W.useContext(eo);if(!e)throw new Error("useChart must be used within a <ChartContainer />");return e}const to=W.forwardRef(({id:a,className:t,children:s,config:r,...o},i)=>{const l=W.useId(),n=`chart-${a||l.replace(/:/g,"")}`;return e.jsx(eo.Provider,{value:{config:r},children:e.jsxs("div",{"data-chart":n,ref:i,className:be("flex aspect-video justify-center text-xs [&_.recharts-cartesian-axis-tick_text]:fill-muted-foreground [&_.recharts-cartesian-grid_line[stroke='#ccc']]:stroke-border/50 [&_.recharts-curve.recharts-tooltip-cursor]:stroke-border [&_.recharts-dot[stroke='#fff']]:stroke-transparent [&_.recharts-layer]:outline-hidden [&_.recharts-polar-grid_[stroke='#ccc']]:stroke-border [&_.recharts-radial-bar-background-sector]:fill-muted [&_.recharts-rectangle.recharts-tooltip-cursor]:fill-muted [&_.recharts-reference-line_[stroke='#ccc']]:stroke-border [&_.recharts-sector[stroke='#fff']]:stroke-transparent [&_.recharts-sector]:outline-hidden [&_.recharts-surface]:outline-hidden",t),...o,children:[e.jsx(so,{id:n,config:r}),e.jsx(ge.ResponsiveContainer,{children:s})]})})});to.displayName="Chart";const so=({id:a,config:t})=>{const s=Object.entries(t).filter(([e,a])=>a.theme||a.color);return s.length?e.jsx("style",{dangerouslySetInnerHTML:{__html:Object.entries(Yr).map(([e,t])=>`\n${t} [data-chart=${a}] {\n${s.map(([a,t])=>{var s;const r=(null==(s=t.theme)?void 0:s[e])||t.color;return r?` --color-${a}: ${r};`:null}).join("\n")}\n}\n`).join("\n")}}):null},ro=ge.Tooltip,oo=W.forwardRef(({active:a,payload:t,className:s,indicator:r="dot",hideLabel:o=!1,hideIndicator:i=!1,label:l,labelFormatter:n,labelClassName:d,formatter:c,color:m,nameKey:u,labelKey:f},x)=>{const{config:p}=ao(),h=W.useMemo(()=>{var a;if(o||!(null==t?void 0:t.length))return null;const[s]=t,r=`${f||s.dataKey||s.name||"value"}`,i=lo(p,s,r),c=f||"string"!=typeof l?null==i?void 0:i.label:(null==(a=p[l])?void 0:a.label)||l;return n?e.jsx("div",{className:be("font-medium",d),children:n(c,t)}):c?e.jsx("div",{className:be("font-medium",d),children:c}):null},[l,n,t,o,d,p,f]);if(!a||!(null==t?void 0:t.length))return null;const g=1===t.length&&"dot"!==r;return e.jsxs("div",{ref:x,className:be("grid min-w-32 items-start gap-1.5 rounded-lg border bg-background px-2.5 py-1.5 text-xs shadow-xl",s),children:[g?null:h,e.jsx("div",{className:"grid gap-1.5",children:t.map((a,t)=>{const s=`${u||a.name||a.dataKey||"value"}`,o=lo(p,a,s),l=m||a.payload.fill||a.color;return e.jsx("div",{className:be("flex w-full flex-wrap items-stretch gap-2 [&>svg]:h-2.5 [&>svg]:w-2.5 [&>svg]:text-muted-foreground","dot"===r&&"items-center"),children:c&&void 0!==(null==a?void 0:a.value)&&a.name?c(a.value,a.name,a,t,a.payload):e.jsxs(e.Fragment,{children:[(null==o?void 0:o.icon)?e.jsx(o.icon,{}):!i&&e.jsx("div",{className:be("shrink-0 rounded-[2px] border-border bg-(--color-bg)",{"h-2.5 w-2.5":"dot"===r,"w-1":"line"===r,"w-0 border-[1.5px] border-dashed bg-transparent":"dashed"===r,"my-0.5":g&&"dashed"===r}),style:{"--color-bg":l,"--color-border":l}}),e.jsxs("div",{className:be("flex flex-1 justify-between leading-none",g?"items-end":"items-center"),children:[e.jsxs("div",{className:"grid gap-1.5",children:[g?h:null,e.jsx("span",{className:"text-muted-foreground",children:(null==o?void 0:o.label)||a.name})]}),a.value&&e.jsx("span",{className:"font-mono font-medium tabular-nums text-foreground",children:a.value.toLocaleString()})]})]})},a.dataKey)})})]})});oo.displayName="ChartTooltip";const io=ge.Legend;function lo(e,a,t){if("object"!=typeof a||null===a)return;const s="payload"in a&&"object"==typeof a.payload&&null!==a.payload?a.payload:void 0;let r=t;return t in a&&"string"==typeof a[t]?r=a[t]:s&&t in s&&"string"==typeof s[t]&&(r=s[t]),r in e?e[r]:e[t]}W.forwardRef(({className:a,hideIcon:t=!1,payload:s,verticalAlign:r="bottom",nameKey:o},i)=>{const{config:l}=ao();return(null==s?void 0:s.length)?e.jsx("div",{ref:i,className:be("flex items-center justify-center gap-4","top"===r?"pb-3":"pt-3",a),children:s.map(a=>{const s=`${o||a.dataKey||"value"}`,r=lo(l,a,s);return e.jsxs("div",{className:be("flex items-center gap-1.5 [&>svg]:h-3 [&>svg]:w-3 [&>svg]:text-muted-foreground"),children:[(null==r?void 0:r.icon)&&!t?e.jsx(r.icon,{}):e.jsx("div",{className:"h-2 w-2 shrink-0 rounded-[2px]",style:{backgroundColor:a.color}}),null==r?void 0:r.label]},a.value)})}):null}).displayName="ChartLegend";const no=[{name:"Platinum",locations:1,color:"#A8A7AE",icon:"platinum"},{name:"Gold",locations:1,color:"#D7C686",icon:"gold"},{name:"Silver",locations:1,color:"#C0C2C4",icon:"silver"},{name:"Bronze",locations:1,color:"#D1A778",icon:"bronze"},{name:"Precertified",locations:1,color:"#44B0BC",icon:"precertified"}],co=[{name:"Health-Safety",locations:1,color:"#7FB3DC",percentage:50,icon:"health"},{name:"Equity",locations:1,color:"#41937D",percentage:67,icon:"equity"},{name:"Performance",locations:"Not Pursued",color:"#0B667F",percentage:2,icon:"performance",inactive:!0},{name:"Coworking",locations:"Not Pursued",color:"#AD7DA3",percentage:2,icon:"coworking",inactive:!0}],mo=W.forwardRef(({certifiedPercentage:a=60,certifications:t=no,ratings:r=co,className:o},i)=>e.jsxs("div",{ref:i,className:be("flex flex-col gap-4",o),children:[e.jsxs("div",{className:"flex flex-col lg:flex-row gap-4",children:[e.jsxs("div",{className:"flex-1 min-w-0 rounded-md border border-[#DEDEE5] bg-white/0 p-4 shadow-xs",children:[e.jsx("h2",{className:"text-xl font-medium text-[#3D3E46] text-center mb-6",style:{fontFamily:"'DM Sans', sans-serif"},children:"WELL Certified Locations"}),e.jsxs("div",{className:"flex flex-col md:flex-row justify-center items-center gap-10",children:[e.jsxs("div",{className:"relative w-60 h-60 shrink-0",children:[e.jsxs("svg",{width:"240",height:"240",viewBox:"0 0 240 240",className:"transform -rotate-90",children:[e.jsx("circle",{cx:"120",cy:"120",r:"120",fill:"#F5F9FB"}),e.jsx("circle",{cx:"120",cy:"120",r:"100",fill:"none",stroke:"#327DB9",strokeWidth:"20",strokeDasharray:a/100*628+" 628",strokeLinecap:"round"}),t.map((s,r)=>{const o=t.length,i=a/100*360/o,l=r*i,n=i*Math.PI*100/180,d=l*Math.PI*100/180;return e.jsx("circle",{cx:"120",cy:"120",r:"100",fill:"none",stroke:s.color,strokeWidth:"20",strokeDasharray:`${n} 628`,strokeDashoffset:-d,opacity:"0.7"},s.name)}),e.jsx("circle",{cx:"120",cy:"120",r:"80",fill:"white",filter:"drop-shadow(0 0 16px rgba(0,0,0,0.04))"})]}),e.jsxs("div",{className:"absolute inset-0 flex flex-col items-center justify-center",children:[e.jsxs("div",{className:"text-5xl font-medium text-[#327DB9]",style:{fontFamily:"'DM Sans', sans-serif"},children:[a,"%"]}),e.jsx("div",{className:"text-sm font-medium text-[#78777F] mt-1",style:{fontFamily:"'DM Sans', sans-serif"},children:"Certified"})]})]}),e.jsx("div",{className:"flex flex-col gap-4 min-w-[160px]",children:t.map(a=>e.jsxs("div",{className:"flex items-center gap-2",children:[e.jsx("div",{className:"w-10 h-10 rounded-full shrink-0 flex items-center justify-center",style:{backgroundColor:a.color},children:"precertified"===a.icon&&e.jsx("div",{className:"w-9 h-6 bg-[#44B0BC] rounded-sm flex items-center justify-center text-white text-[10px] font-bold",children:"WELL"})}),e.jsxs("div",{className:"flex flex-col gap-0.5 flex-1",children:[e.jsx("div",{className:"text-base font-medium text-[#3D3E46]",style:{fontFamily:"'DM Sans', sans-serif"},children:a.name}),e.jsxs("div",{className:"flex items-center gap-1",children:[e.jsx(s.Building2,{size:16,className:"text-[#327DB9]",strokeWidth:1.2}),e.jsxs("span",{className:"text-xs font-medium text-[#327DB9]",style:{fontFamily:"'DM Sans', sans-serif"},children:[a.locations," Location",1!==a.locations?"s":""]})]})]})]},a.name))})]})]}),e.jsxs("div",{className:"flex-1 min-w-0 rounded-md border border-[#DEDEE5] bg-white/0 p-4 shadow-xs",children:[e.jsx("h2",{className:"text-xl font-medium text-[#3D3E46] text-center mb-6",style:{fontFamily:"'DM Sans', sans-serif"},children:"WELL Rated Locations"}),e.jsxs("div",{className:"flex flex-col md:flex-row justify-center items-center gap-10",children:[e.jsxs("div",{className:"flex items-end gap-4 h-60 px-4",children:[r.map(a=>e.jsxs("div",{className:"w-10 h-60 relative",children:[e.jsx("div",{className:"absolute inset-0 rounded-t border border-[#DEDEE5] bg-[#F5F9FB]"}),e.jsx("div",{className:"absolute bottom-0 left-0 right-0 rounded-t transition-all",style:{backgroundColor:a.color,height:`${a.percentage}%`}})]},a.name)),e.jsx("div",{className:"w-px h-60 bg-[#DEDEE5]"})]}),e.jsx("div",{className:"flex flex-col gap-4 min-w-[160px]",children:r.map(a=>e.jsxs("div",{className:be("flex items-center gap-2",a.inactive&&"opacity-50"),children:[e.jsx("div",{className:"w-10 h-10 rounded-full shrink-0 flex items-center justify-center",style:{backgroundColor:a.color}}),e.jsxs("div",{className:"flex flex-col gap-0.5 flex-1",children:[e.jsx("div",{className:"text-base font-medium text-[#3D3E46]",style:{fontFamily:"'DM Sans', sans-serif"},children:a.name}),e.jsxs("div",{className:"flex items-center gap-1",children:[e.jsx(s.Building2,{size:16,className:a.inactive?"text-[#78777F]":"text-[#327DB9]",strokeWidth:1.2}),e.jsx("span",{className:be("text-xs font-medium",a.inactive?"text-[#78777F]":"text-[#327DB9]"),style:{fontFamily:"'DM Sans', sans-serif"},children:"number"==typeof a.locations?`${a.locations} Location${1!==a.locations?"s":""}`:a.locations})]})]})]},a.name))})]})]})]}),e.jsxs("p",{className:"text-[10px] leading-3 font-medium text-[#78777F] text-center",style:{fontFamily:"'DM Sans', sans-serif"},children:["Achievement metrics reflect all active program achievements, as of"," ",(new Date).toLocaleDateString("en-US",{month:"long",day:"numeric",year:"numeric"})]})]}));mo.displayName="WELLDashboard";exports.Accordion=Ne,exports.AccordionContent=je,exports.AccordionItem=ye,exports.AccordionTrigger=ve,exports.Alert=ft,exports.AlertDescription=pt,exports.AlertDialog=ht,exports.AlertDialogAction=kt,exports.AlertDialogCancel=Rt,exports.AlertDialogContent=yt,exports.AlertDialogDescription=Ct,exports.AlertDialogFooter=jt,exports.AlertDialogHeader=vt,exports.AlertDialogTitle=wt,exports.AlertDialogTrigger=gt,exports.AlertTitle=xt,exports.AspectRatio=we,exports.Avatar=St,exports.AvatarFallback=Tt,exports.AvatarImage=Dt,exports.Badge=function({className:a,variant:t,...s}){return e.jsx("div",{className:be(mt({variant:t}),a),...s})},exports.Breadcrumb=zt,exports.BreadcrumbItem=Mt,exports.BreadcrumbLink=Lt,exports.BreadcrumbList=It,exports.BreadcrumbPage=Et,exports.BreadcrumbSeparator=Pt,exports.Button=Ge,exports.Calendar=_t,exports.Card=Ce,exports.CardContent=De,exports.CardDescription=Se,exports.CardFooter=Te,exports.CardHeader=ke,exports.CardTitle=Re,exports.Carousel=Dr,exports.CarouselContent=Tr,exports.CarouselItem=zr,exports.CarouselNext=Mr,exports.CarouselPrevious=Ir,exports.ChartContainer=to,exports.ChartLegend=io,exports.ChartStyle=so,exports.ChartTooltip=ro,exports.ChartTooltipContent=oo,exports.Checkbox=Ta,exports.Collapsible=Lr,exports.CollapsibleContent=Pr,exports.CollapsibleTrigger=Er,exports.Command=$t,exports.CommandDialog=({children:a,...t})=>e.jsx(Ht,{...t,children:e.jsx(Gt,{className:"overflow-hidden p-0 shadow-lg",children:e.jsx($t,{className:"[&_[cmdk-group-heading]]:px-2 [&_[cmdk-group-heading]]:font-medium [&_[cmdk-group-heading]]:text-muted-foreground [&_[cmdk-group]:not([hidden])_~[cmdk-group]]:pt-0 [&_[cmdk-group]]:px-2 [&_[cmdk-input-wrapper]_svg]:h-5 [&_[cmdk-input-wrapper]_svg]:w-5 [&_[cmdk-input]]:h-12 [&_[cmdk-item]]:px-2 [&_[cmdk-item]]:py-3 [&_[cmdk-item]_svg]:h-5 [&_[cmdk-item]_svg]:w-5",children:a})})}),exports.CommandEmpty=Zt,exports.CommandGroup=Xt,exports.CommandInput=Kt,exports.CommandItem=Qt,exports.CommandList=Ut,exports.CommandSeparator=Jt,exports.CommandShortcut=Yt,exports.ContextMenu=mr,exports.ContextMenuCheckboxItem=vr,exports.ContextMenuContent=Nr,exports.ContextMenuGroup=fr,exports.ContextMenuItem=yr,exports.ContextMenuLabel=wr,exports.ContextMenuPortal=xr,exports.ContextMenuRadioGroup=hr,exports.ContextMenuRadioItem=jr,exports.ContextMenuSeparator=Cr,exports.ContextMenuShortcut=kr,exports.ContextMenuSub=pr,exports.ContextMenuSubContent=br,exports.ContextMenuSubTrigger=gr,exports.ContextMenuTrigger=ur,exports.Dialog=Ht,exports.DialogClose=function({...a}){return e.jsx(X.Close,{"data-slot":"dialog-close",...a})},exports.DialogContent=Gt,exports.DialogDescription=function({className:a,...t}){return e.jsx(X.Description,{"data-slot":"dialog-description",className:be("text-muted-foreground text-sm",a),...t})},exports.DialogFooter=function({className:a,...t}){return e.jsx("div",{"data-slot":"dialog-footer",className:be("flex flex-col-reverse gap-2 sm:flex-row sm:justify-end",a),...t})},exports.DialogHeader=function({className:a,...t}){return e.jsx("div",{"data-slot":"dialog-header",className:be("flex flex-col gap-2 text-center sm:text-left",a),...t})},exports.DialogOverlay=Wt,exports.DialogPortal=Vt,exports.DialogTitle=function({className:a,...t}){return e.jsx(X.Title,{"data-slot":"dialog-title",className:be("heading-xxsmall ",a),...t})},exports.DialogTrigger=function({...a}){return e.jsx(X.Trigger,{"data-slot":"dialog-trigger",...a})},exports.Drawer=Zs,exports.DrawerClose=Qs,exports.DrawerContent=er,exports.DrawerDescription=rr,exports.DrawerFooter=tr,exports.DrawerHeader=ar,exports.DrawerTitle=sr,exports.DrawerTrigger=Xs,exports.DropdownMenu=Es,exports.DropdownMenuCheckboxItem=Ws,exports.DropdownMenuContent=Hs,exports.DropdownMenuGroup=Fs,exports.DropdownMenuItem=Vs,exports.DropdownMenuLabel=$s,exports.DropdownMenuPortal=_s,exports.DropdownMenuRadioGroup=Bs,exports.DropdownMenuRadioItem=Gs,exports.DropdownMenuSeparator=Ks,exports.DropdownMenuShortcut=Us,exports.DropdownMenuSub=As,exports.DropdownMenuSubContent=qs,exports.DropdownMenuSubTrigger=Os,exports.DropdownMenuTrigger=Ps,exports.Form=Za,exports.FormControl=at,exports.FormDescription=tt,exports.FormField=({...a})=>e.jsx(Xa.Provider,{value:{name:a.name},children:e.jsx(v.Controller,{...a})}),exports.FormItem=Ya,exports.FormLabel=et,exports.FormMessage=st,exports.HoverCard=nr,exports.HoverCardContent=cr,exports.HoverCardTrigger=dr,exports.Input=$e,exports.InputOTP=Ea,exports.InputOTPGroup=Pa,exports.InputOTPSeparator=_a,exports.InputOTPSlot=Fa,exports.Label=Sa,exports.Menubar=ws,exports.MenubarCheckboxItem=Ts,exports.MenubarContent=Ss,exports.MenubarItem=Ds,exports.MenubarLabel=Is,exports.MenubarMenu=ys,exports.MenubarRadioGroup=js,exports.MenubarRadioItem=zs,exports.MenubarSeparator=Ms,exports.MenubarShortcut=Ls,exports.MenubarSub=vs,exports.MenubarSubContent=Rs,exports.MenubarSubTrigger=ks,exports.MenubarTrigger=Cs,exports.Navigation=({navItems:a,isStrategy:t=!1,Link:s,onLinkClick:r,onClose:o})=>{const[i,l]=W.useState(!1),[n,d]=W.useState(null),c=W.useRef(null),m=W.useRef(null),u=W.useRef(null),f=W.useRef(null),x=({href:a,className:t,"aria-label":o,children:i})=>s?e.jsx(s,{href:a,className:t,"aria-label":o,children:i}):r?e.jsx("a",{href:a,className:t,"aria-label":o,onClick:e=>{e.preventDefault(),r(a)},children:i}):e.jsx("a",{href:a,className:t,"aria-label":o,children:i});return e.jsxs("nav",{ref:c,className:be("absolute top-0 left-0 z-50 h-14 w-full",t&&"bg-gray-50 backdrop-blur-xl backdrop-filter border-b border-gray-100"),onMouseLeave:()=>{l(!1),d(null)},children:[!t&&e.jsx("div",{ref:f,className:be("absolute top-0 left-0 z-[-1] h-[340px] w-full duration-300 ease-in-out will-change-transform",i?"translate-y-0 bg-[rgba(62,64,73,0.90)] backdrop-blur-xl":"-translate-y-[calc(100%-56px)] bg-black/16")}),e.jsxs("div",{className:"container-lg flex h-14 items-center justify-between",children:[e.jsxs("div",{className:"flex h-full sm:min-w-[200px] items-center",children:[t?e.jsx(Ge,{className:"mr-4",size:"icon",onClick:e=>{e.preventDefault(),o?o():r&&r("/")},children:e.jsx(At,{className:"text-gray-700 group-hover:text-white"})}):null,e.jsx(x,{href:"/",className:be("flex items-center ease-in-out duration-300 will-change-transform",{"translate-x-0":t}),"aria-label":"Home",children:e.jsx(Bt,{dark:t})})]}),t?null:e.jsx("div",{className:be("relative hidden h-full flex-1 items-center justify-center space-x-12 md:flex"),children:e.jsx("ul",{className:"flex h-full gap-x-12",children:a?a.map((a,t)=>e.jsxs("li",{className:be("relative flex h-full flex-col items-center justify-center"),onMouseEnter:()=>(e=>{l(!0),d(e+1)})(t),children:[e.jsx("span",{className:"body-small cursor-pointer font-semibold text-white",children:a.label}),n===t+1&&e.jsx(S.motion.div,{id:"underline",className:"absolute -bottom-[10px] z-50 h-[10px] w-[10px] rounded-full",layoutId:"underline",transition:{duration:.2,ease:"easeOut"},children:e.jsx("div",{className:"half-circle bg-gradient-to-b from-[#3EECD1] to-[#66FCD9]",style:{width:"10px",height:"5px",borderBottomLeftRadius:"100px",borderBottomRightRadius:"100px",borderBottom:"0",boxSizing:"border-box"}})}),0===t&&e.jsx("div",{className:"absolute -bottom-[5px] z-50 h-[10px] w-[10px] rounded-full",style:{transition:"all 0.2s ease-out"},children:e.jsx("div",{className:"half-circle bg-white",style:{width:"10px",height:"5px",borderTopLeftRadius:"100px",borderTopRightRadius:"100px",borderBottom:"0",boxSizing:"border-box"}})})]},t+1)):null})}),e.jsx("div",{className:"flex h-full sm:min-w-[200px] items-center justify-end gap-4",children:e.jsx(x,{href:"/","aria-label":"Account link",className:be("flex h-8 w-8 items-center justify-center rounded-full transition-colors btn-icon",i?"bg-white/12":"bg-black/8",t?"bg-white border border-gray-100":""),children:e.jsx(Ot,{className:t?"text-bronze-500":"text-bronze-100"})})})]}),i&&e.jsx("div",{className:"h-px w-full bg-[rgba(255,255,255,0.08)]"}),e.jsx("div",{ref:m,className:be("relative max-h-[292px] pointer-events-none",i?"pointer-events-auto":""),children:e.jsx("div",{className:"absolute top-0 left-0 h-full w-full",children:e.jsx("div",{ref:u,className:"relative grid",children:e.jsx(S.AnimatePresence,{mode:"wait",children:e.jsxs(S.motion.div,{initial:{y:10,opacity:0},animate:{y:0,opacity:1},exit:{y:-10,opacity:0},transition:{duration:.2},children:[1===n&&e.jsxs("div",{className:"col-span-full row-span-full container-lg mx-auto space-y-6 py-6 transition-opacity duration-200 ease-in-out",children:[e.jsx("h2",{className:"heading-xsmall py-1",style:{background:"linear-gradient(90deg, #41D5F6 0%, #3EECD1 25%, #66FCD9 50%, #66FCD9 75%, #3EECD1 100%)",WebkitBackgroundClip:"text",WebkitTextFillColor:"transparent",backgroundClip:"text"},children:"WELL sets the standard for people-first places"}),e.jsxs("div",{className:"flex gap-x-20",children:[e.jsxs("div",{className:"space-y-5",children:[e.jsx("h3",{className:"overline-medium font-semibold text-plum-400",children:"Everything"}),e.jsxs("ul",{className:"space-y-5",children:[e.jsx("li",{children:e.jsx(x,{href:"/",className:"body-base block font-medium text-gray-100 hover:text-white",children:"Explore WELL"})}),e.jsx("li",{children:e.jsx(x,{href:"/",className:"body-base block font-medium text-gray-100 hover:text-white",children:"Enroll in WELL"})}),e.jsx("li",{children:e.jsx(x,{href:"/",className:"body-base block font-medium text-gray-100 hover:text-white",children:"What's new"})})]})]}),e.jsxs("div",{className:"space-y-5",children:[e.jsx("h3",{className:"overline-medium font-semibold text-plum-400",children:"WHY WELL"}),e.jsxs("ul",{className:"space-y-5",children:[e.jsx("li",{children:e.jsx(x,{href:"/",className:"body-base block font-medium text-gray-100 hover:text-white",children:"Performance"})}),e.jsx("li",{children:e.jsx(x,{href:"/",className:"body-base block font-medium text-gray-100 hover:text-white",children:"ROI"})}),e.jsx("li",{children:e.jsx(x,{href:"/",className:"body-base block font-medium text-gray-100 hover:text-white",children:"Impact"})})]})]}),e.jsxs("div",{className:"space-y-5",children:[e.jsx("h3",{className:"overline-medium font-semibold text-plum-400",children:"Standard"}),e.jsxs("ul",{className:"space-y-5",children:[e.jsx("li",{children:e.jsx(x,{href:"/",className:"body-base block font-medium text-gray-100 hover:text-white",children:"Strategies"})}),e.jsx("li",{children:e.jsx(x,{href:"/",className:"body-base block font-medium text-gray-100 hover:text-white",children:"Themes"})}),e.jsx("li",{children:e.jsx(x,{href:"/",className:"body-base block font-medium text-gray-100 hover:text-white",children:"Milestones"})})]})]}),e.jsxs("div",{className:"space-y-5",children:[e.jsx("h3",{className:"overline-medium font-semibold text-plum-400",children:"Network"}),e.jsxs("ul",{className:"space-y-5",children:[e.jsx("li",{children:e.jsx(x,{href:"/",className:"body-base block font-medium text-gray-100 hover:text-white",children:"Organizations"})}),e.jsx("li",{children:e.jsx(x,{href:"/",className:"body-base block font-medium text-gray-100 hover:text-white",children:"People"})})]})]}),e.jsxs("div",{className:"space-y-5",children:[e.jsx("h3",{className:"overline-medium font-semibold text-plum-400",children:"Solutions"}),e.jsxs("ul",{className:"space-y-5",children:[e.jsx("li",{children:e.jsx(x,{href:"/",className:"body-base block font-medium text-gray-100 hover:text-white",children:"Products"})}),e.jsx("li",{children:e.jsx(x,{href:"/",className:"body-base block font-medium text-gray-100 hover:text-white",children:"Services"})})]})]}),e.jsxs("div",{className:"space-y-5",children:[e.jsx("h3",{className:"overline-medium font-semibold text-plum-400",children:"Places"}),e.jsxs("ul",{className:"space-y-5",children:[e.jsx("li",{children:e.jsx(x,{href:"/",className:"body-base block font-medium text-gray-100 hover:text-white",children:"Locations"})}),e.jsx("li",{children:e.jsx(x,{href:"/",className:"body-base block font-medium text-gray-100 hover:text-white",children:"Portfolios"})})]})]})]})]}),2===n&&e.jsxs("div",{className:"col-span-full row-span-full container-lg mx-auto space-y-6 py-6 transition-opacity duration-200 ease-in-out",children:[e.jsx("h2",{className:"heading-xsmall py-1",style:{background:"linear-gradient(99deg, #41D5F6 3.39%, #3EECD1 57.86%, #66FCD9 112.32%)",backgroundClip:"text",WebkitBackgroundClip:"text",WebkitTextFillColor:"transparent"},children:"WELL works everywhere, at any scale"}),e.jsxs("div",{className:"flex gap-x-20",children:[e.jsxs("div",{className:"space-y-5",children:[e.jsx("h3",{className:"overline-medium font-semibold text-plum-400",children:"SUBSCRIBE"}),e.jsxs("ul",{className:"space-y-4",children:[e.jsx("li",{children:e.jsx(x,{href:"/",className:"body-base block font-medium text-gray-100 hover:text-white",children:"WELL at scale"})}),e.jsx("li",{children:e.jsxs("div",{className:"flex items-center gap-3 pl-[6px]",children:[e.jsx("div",{className:"h-1 w-1 rounded-full bg-gray-500"}),e.jsx(x,{href:"/",children:e.jsx("span",{className:"body-small font-medium text-gray-100",children:"Pricing"})})]})}),e.jsx("li",{children:e.jsxs("div",{className:"flex items-center gap-3 pl-[6px]",children:[e.jsx("div",{className:"h-1 w-1 rounded-full bg-gray-500"}),e.jsx(x,{href:"/",children:e.jsx("span",{className:"body-small font-medium text-gray-100",children:"Leaderboard"})})]})})]})]}),e.jsxs("div",{className:"space-y-5",children:[e.jsx("h3",{className:"overline-medium font-semibold text-plum-400",children:"Certify"}),e.jsxs("ul",{className:"space-y-4",children:[e.jsx("li",{children:e.jsx(x,{href:"/",className:"body-base block font-medium text-gray-100 hover:text-white",children:"WELL Certification"})}),e.jsx("li",{children:e.jsxs(x,{href:"/",className:"text-gray-100 hover:text-white flex items-center justify-start body-base font-medium",children:["WELL Residence",e.jsx("span",{className:"overline-small text-[#F0AA99] ml-1",children:"PILOT"})]})})]})]}),e.jsxs("div",{className:"space-y-5",children:[e.jsx("h3",{className:"overline-medium font-semibold text-plum-400",children:"Get rated"}),e.jsxs("ul",{className:"space-y-4",children:[e.jsx("li",{children:e.jsx(x,{href:"/",className:"body-base block font-medium text-gray-100 hover:text-white",children:"WELL Ratings"})}),e.jsx("li",{children:e.jsxs("div",{className:"flex items-center gap-3 pl-[6px]",children:[e.jsx(qt,{color:"#F3E7D8"}),e.jsx(x,{href:"/",className:"body-small font-medium text-gray-100",children:"Health-Safety Rating"})]})}),e.jsx("li",{children:e.jsxs("div",{className:"flex items-center gap-3 pl-[6px]",children:[e.jsx(qt,{color:"#0F748A"}),e.jsx(x,{href:"/",className:"body-small font-medium text-gray-100",children:"Performance Rating"})]})}),e.jsx("li",{children:e.jsxs("div",{className:"flex items-center gap-3 pl-[6px]",children:[e.jsx(qt,{color:"#17AA8D"}),e.jsx(x,{href:"/",className:"body-small font-medium text-gray-100",children:"Equity Rating"})]})})]})]})]})]}),3===n&&e.jsxs("div",{className:"col-span-full row-span-full container-lg mx-auto space-y-6 py-6 transition-opacity duration-200 ease-in-out",children:[e.jsx("h2",{className:"heading-xsmall py-1",style:{background:"linear-gradient(90deg, #41D5F6 0%, #3EECD1 25%, #66FCD9 50%, #66FCD9 75%, #3EECD1 100%)",WebkitBackgroundClip:"text",WebkitTextFillColor:"transparent"},children:"Our network drives our movement"}),e.jsxs("div",{className:"flex gap-x-20",children:[e.jsxs("div",{className:"space-y-5",children:[e.jsx("h3",{className:"overline-medium font-semibold text-plum-400",children:"JOIN"}),e.jsxs("ul",{className:"space-y-4",children:[e.jsx("li",{children:e.jsx(x,{href:"/",className:"body-base block font-medium text-gray-100 hover:text-white",children:"Membership"})}),e.jsx("li",{children:e.jsx(x,{href:"/",className:"body-base block font-medium text-gray-100 hover:text-white",children:"Works with WELL"})}),e.jsx("li",{children:e.jsxs("div",{className:"flex items-center gap-3 pl-[6px]",children:[e.jsx(qt,{color:"#2E74AD"}),e.jsx(x,{href:"/",className:"body-small font-medium text-gray-100",children:"Enterprise Provider"})]})}),e.jsx("li",{children:e.jsxs("div",{className:"flex items-center gap-3 pl-[6px]",children:[e.jsx(qt,{color:"#149EBD"}),e.jsx(x,{href:"/",className:"body-small font-medium text-gray-100",children:"Product Provider"})]})}),e.jsx("li",{children:e.jsxs("div",{className:"flex items-center gap-3 pl-[6px]",children:[e.jsx(qt,{color:"#ED896F"}),e.jsx(x,{href:"/",className:"body-small font-medium text-gray-100",children:"Performance Testing Provider"})]})})]})]}),e.jsxs("div",{className:"space-y-5",children:[e.jsx("h3",{className:"overline-medium font-semibold text-plum-400",children:"EARN"}),e.jsxs("ul",{className:"space-y-4",children:[e.jsx("li",{children:e.jsx(x,{href:"/",className:"body-base block font-medium text-gray-100 hover:text-white",children:"WELL AP"})}),e.jsx("li",{children:e.jsx(x,{href:"/",className:"body-base block font-medium text-gray-100 hover:text-white",children:"WELL Faculty"})})]})]})]})]}),4===n&&e.jsxs("div",{className:"col-span-full row-span-full container-lg mx-auto space-y-6 py-6 transition-opacity duration-200 ease-in-out",children:[e.jsx("h2",{className:"heading-xsmall py-1",style:{background:"linear-gradient(90deg, #41D5F6 0%, #3EECD1 25%, #66FCD9 50%, #66FCD9 75%, #3EECD1 100%)",WebkitBackgroundClip:"text",WebkitTextFillColor:"transparent"},children:"Learn from the experts on health"}),e.jsxs("div",{className:"flex gap-x-20",children:[e.jsxs("div",{className:"space-y-5",children:[e.jsx("h3",{className:"overline-medium font-semibold text-plum-400",children:"LEARN"}),e.jsxs("ul",{className:"space-y-4",children:[e.jsx("li",{children:e.jsx(x,{href:"/",className:"body-base block font-medium text-gray-100 hover:text-white",children:"WELL Forum"})}),e.jsx("li",{children:e.jsxs("div",{className:"flex items-center gap-3 pl-[6px]",children:[e.jsx("div",{className:"h-1 w-1 rounded-full bg-gray-500"}),e.jsx(x,{href:"/",className:"body-small font-medium text-gray-100",children:"Threads"})]})}),e.jsx("li",{children:e.jsxs("div",{className:"flex items-center gap-3 pl-[6px]",children:[e.jsx("div",{className:"h-1 w-1 rounded-full bg-gray-500"}),e.jsx(x,{href:"/",className:"body-small font-medium text-gray-100",children:"Webcasts"})]})}),e.jsx("li",{children:e.jsxs("div",{className:"flex items-center gap-3 pl-[6px]",children:[e.jsx("div",{className:"h-1 w-1 rounded-full bg-gray-500"}),e.jsx(x,{href:"/",className:"body-small font-medium text-gray-100",children:"Trainings"})]})})]})]}),e.jsxs("div",{className:"space-y-5",children:[e.jsx("h3",{className:"overline-medium font-semibold text-plum-400",children:"ATTEND"}),e.jsxs("ul",{className:"space-y-4",children:[e.jsx("li",{children:e.jsx(x,{href:"/",className:"body-base block font-medium text-gray-100 hover:text-white",children:"WELL 2025"})}),e.jsx("li",{children:e.jsxs("div",{className:"flex items-center gap-3 pl-[6px]",children:[e.jsx("div",{className:"h-1 w-1 rounded-full bg-gray-500"}),e.jsx(x,{href:"/",className:"body-small font-medium text-gray-100",children:"Flagship events"})]})}),e.jsx("li",{children:e.jsxs("div",{className:"flex items-center gap-3 pl-[6px]",children:[e.jsx("div",{className:"h-1 w-1 rounded-full bg-gray-500"}),e.jsx(x,{href:"/",className:"body-small font-medium text-gray-100",children:"Thematic summits"})]})}),e.jsx("li",{children:e.jsxs("div",{className:"flex items-center gap-3 pl-[6px]",children:[e.jsx("div",{className:"h-1 w-1 rounded-full bg-gray-500"}),e.jsx(x,{href:"/",className:"body-small font-medium text-gray-100",children:"Regional summits"})]})})]})]}),e.jsxs("div",{className:"space-y-5",children:[e.jsx("h3",{className:"overline-medium font-semibold text-plum-400",children:"GUIDANCE"}),e.jsxs("ul",{className:"space-y-4",children:[e.jsx("li",{children:e.jsx(x,{href:"/",className:"body-base block font-medium text-gray-100 hover:text-white",children:"Knowledge base"})}),e.jsx("li",{children:e.jsxs("div",{className:"flex items-center gap-3 pl-[6px]",children:[e.jsx("div",{className:"h-1 w-1 rounded-full bg-gray-500"}),e.jsx(x,{href:"/",className:"body-small font-medium text-gray-100",children:"Tutorials"})]})}),e.jsx("li",{children:e.jsxs("div",{className:"flex items-center gap-3 pl-[6px]",children:[e.jsx("div",{className:"h-1 w-1 rounded-full bg-gray-500"}),e.jsx(x,{href:"/",className:"body-small font-medium text-gray-100",children:"Guides"})]})}),e.jsx("li",{children:e.jsxs("div",{className:"flex items-center gap-3 pl-[6px]",children:[e.jsx("div",{className:"h-1 w-1 rounded-full bg-gray-500"}),e.jsx(x,{href:"/",className:"body-small font-medium text-gray-100",children:"FAQs"})]})})]})]}),e.jsxs("div",{className:"space-y-5",children:[e.jsx("h3",{className:"overline-medium font-semibold text-plum-400",children:"Resources"}),e.jsxs("ul",{className:"space-y-4",children:[e.jsx("li",{children:e.jsx(x,{href:"/",className:"body-base block font-medium text-gray-100 hover:text-white",children:"Resource library"})}),e.jsx("li",{children:e.jsxs("div",{className:"flex items-center gap-3 pl-[6px]",children:[e.jsx("div",{className:"h-1 w-1 rounded-full bg-gray-500"}),e.jsx(x,{href:"/",className:"body-small font-medium text-gray-100",children:"Technical tools"})]})}),e.jsx("li",{children:e.jsxs("div",{className:"flex items-center gap-3 pl-[6px]",children:[e.jsx("div",{className:"h-1 w-1 rounded-full bg-gray-500"}),e.jsx(x,{href:"/",className:"body-small font-medium text-gray-100",children:"Sales tools"})]})}),e.jsx("li",{children:e.jsxs("div",{className:"flex items-center gap-3 pl-[6px]",children:[e.jsx("div",{className:"h-1 w-1 rounded-full bg-gray-500"}),e.jsx(x,{href:"/",className:"body-small font-medium text-gray-100",children:"Media"})]})})]})]})]})]}),5===n&&e.jsxs("div",{className:"col-span-full row-span-full container-lg mx-auto space-y-6 py-6 transition-opacity duration-200 ease-in-out",children:[e.jsx("h2",{className:"heading-xsmall py-1",style:{background:"linear-gradient(90deg, #41D5F6 0%, #3EECD1 25%, #66FCD9 50%, #66FCD9 75%, #3EECD1 100%)",WebkitBackgroundClip:"text",WebkitTextFillColor:"transparent"},children:"The International WELL Building Institute (IWBI)"}),e.jsxs("div",{className:"flex gap-x-20",children:[e.jsxs("div",{className:"space-y-5",children:[e.jsx("h3",{className:"overline-medium font-semibold text-plum-400",children:"About"}),e.jsxs("ul",{className:"space-y-4",children:[e.jsx("li",{children:e.jsx(x,{href:"/",className:"body-base block font-medium text-gray-100 hover:text-white",children:"IWBI"})}),e.jsx("li",{children:e.jsx(x,{href:"/",className:"body-base block font-medium text-gray-100 hover:text-white",children:"Research"})}),e.jsx("li",{children:e.jsx(x,{href:"/",className:"body-base block font-medium text-gray-100 hover:text-white",children:"Advocacy"})})]})]}),e.jsxs("div",{className:"space-y-5",children:[e.jsx("h3",{className:"overline-medium font-semibold text-plum-400",children:"Meet"}),e.jsxs("ul",{className:"space-y-4",children:[e.jsx("li",{children:e.jsx(x,{href:"/",className:"body-base block font-medium text-gray-100 hover:text-white",children:"Team"})}),e.jsx("li",{children:e.jsx(x,{href:"/",className:"body-base block font-medium text-gray-100 hover:text-white",children:"Advisories"})}),e.jsx("li",{children:e.jsx(x,{href:"/",className:"body-base block font-medium text-gray-100 hover:text-white",children:"Governance Council"})})]})]}),e.jsxs("div",{className:"space-y-5",children:[e.jsx("h3",{className:"overline-medium font-semibold text-plum-400",children:"Explore"}),e.jsxs("ul",{className:"space-y-4",children:[e.jsx("li",{children:e.jsx(x,{href:"/",className:"body-base block font-medium text-gray-100 hover:text-white",children:"Newsroom"})}),e.jsx("li",{children:e.jsx(x,{href:"/",className:"body-base block font-medium text-gray-100 hover:text-white",children:"Jobs"})}),e.jsx("li",{children:e.jsx(x,{href:"/",className:"body-base block font-medium text-gray-100 hover:text-white",children:"Blog"})})]})]})]})]})]},n?n+1:"empty")})})})})]})},exports.NavigationMenu=us,exports.NavigationMenuContent=gs,exports.NavigationMenuItem=xs,exports.NavigationMenuLink=bs,exports.NavigationMenuList=fs,exports.NavigationMenuTrigger=hs,exports.Pagination=os,exports.PaginationContent=is,exports.PaginationEllipsis=ms,exports.PaginationItem=ls,exports.PaginationLink=ns,exports.PaginationNext=cs,exports.PaginationPrevious=ds,exports.Popover=or,exports.PopoverContent=lr,exports.PopoverTrigger=ir,exports.Progress=Ft,exports.RadioGroup=za,exports.RadioGroupItem=Ia,exports.ResizableHandle=({withHandle:a,className:t,...r})=>e.jsx(Z.PanelResizeHandle,{className:be("relative flex w-px items-center justify-center bg-border after:absolute after:inset-y-0 after:left-1/2 after:w-1 after:-translate-x-1/2 focus-visible:outline-hidden focus-visible:ring-1 focus-visible:ring-ring focus-visible:ring-offset-1 data-[panel-group-direction=vertical]:h-px data-[panel-group-direction=vertical]:w-full data-[panel-group-direction=vertical]:after:left-0 data-[panel-group-direction=vertical]:after:h-1 data-[panel-group-direction=vertical]:after:w-full data-[panel-group-direction=vertical]:after:-translate-y-1/2 data-[panel-group-direction=vertical]:after:translate-x-0 [&[data-panel-group-direction=vertical]>div]:rotate-90",t),...r,children:a&&e.jsx("div",{className:"z-10 flex h-4 w-3 items-center justify-center rounded-sm border bg-border",children:e.jsx(s.GripVertical,{className:"h-2.5 w-2.5"})})}),exports.ResizablePanel=qe,exports.ResizablePanelGroup=({className:a,...t})=>e.jsx(Z.PanelGroup,{className:be("flex h-full w-full data-[panel-group-direction=vertical]:flex-col",a),...t}),exports.ScrollArea=Ie,exports.ScrollBar=Me,exports.SearchField=({options:t,placeholder:r,emptyMessage:o,value:i,onValueChange:l,disabled:n,isLoading:d=!1})=>{const c=a.useRef(null),[m,u]=a.useState(!1),[f,x]=a.useState(i),[p,h]=a.useState((null==i?void 0:i.label)||""),g=a.useCallback(e=>{const a=c.current;if(a){if(m||u(!0),"Enter"===e.key&&""!==a.value){const e=t.find(e=>e.label===a.value);e&&(x(e),null==l||l(e))}"Escape"===e.key&&a.blur()}},[m,t,l]),b=a.useCallback(()=>{u(!1),h(null==f?void 0:f.label)},[f]),N=a.useCallback(e=>{h(e.label),x(e),null==l||l(e),setTimeout(()=>{var e;null==(e=null==c?void 0:c.current)||e.blur()},0)},[l]);return e.jsxs(D.Command,{onKeyDown:g,children:[e.jsx("div",{children:e.jsx(Kt,{ref:c,value:p,onValueChange:d?void 0:h,onBlur:b,onFocus:()=>u(!0),placeholder:r,disabled:n,className:be("focus-within:border-cyan-300 focus:border-cyan-300",m&&"rounded-b-none")})}),e.jsx("div",{className:"relative",children:e.jsx("div",{className:be("animate-in fade-in-0 absolute top-0 z-10 w-full rounded-xl bg-white outline-none",m?"block":"hidden"),children:e.jsxs(Ut,{className:"border-b border-x border-cyan-300",children:[(null==t?void 0:t.length)>0&&!d?e.jsx(Xt,{children:t.map(a=>{const t=(null==f?void 0:f.value)===a.value;return e.jsxs(Qt,{value:a.label,onMouseDown:e=>{e.preventDefault(),e.stopPropagation()},onSelect:()=>N(a),children:[t?e.jsx(s.Check,{className:"w-4"}):null,a.label]},a.value)})}):null,d?null:e.jsx(Zt,{className:"select-none rounded-sm px-2 py-3 text-center text-sm text-gray-200",children:o})]})})})]})},exports.Select=Ba,exports.SelectContent=Ga,exports.SelectGroup=Oa,exports.SelectItem=Ka,exports.SelectLabel=$a,exports.SelectScrollDownButton=Wa,exports.SelectScrollUpButton=Va,exports.SelectSeparator=Ua,exports.SelectTrigger=Ha,exports.SelectValue=qa,exports.Separator=ze,exports.Sheet=Ke,exports.SheetClose=Ze,exports.SheetContent=Ye,exports.SheetDescription=sa,exports.SheetFooter=aa,exports.SheetHeader=ea,exports.SheetTitle=ta,exports.SheetTrigger=Ue,exports.Sidebar=ua,exports.SidebarContent=pa,exports.SidebarFooter=xa,exports.SidebarGroup=ha,exports.SidebarGroupContent=ba,exports.SidebarGroupLabel=ga,exports.SidebarHeader=fa,exports.SidebarMenu=Na,exports.SidebarMenuButton=ja,exports.SidebarMenuItem=ya,exports.SidebarMenuSub=wa,exports.SidebarMenuSubButton=ka,exports.SidebarMenuSubItem=Ca,exports.Skeleton=ra,exports.Slider=La,exports.Sonner=({...a})=>{const{theme:t="system"}=q.useTheme();return e.jsx(H.Toaster,{theme:t,className:"toaster group",toastOptions:{classNames:{toast:"group toast group-[.toaster]:bg-background group-[.toaster]:text-foreground group-[.toaster] group-[.toaster]:shadow-lg",description:"group-[.toast]:text-muted-foreground",actionButton:"group-[.toast]:bg-primary group-[.toast]:text-primary-foreground",cancelButton:"group-[.toast]:bg-muted group-[.toast]:text-muted-foreground"}},...a})},exports.Switch=Ma,exports.Table=Le,exports.TableBody=Pe,exports.TableCaption=Oe,exports.TableCell=Be,exports.TableFooter=Fe,exports.TableHead=Ae,exports.TableHeader=Ee,exports.TableRow=_e,exports.Tabs=as,exports.TabsContent=rs,exports.TabsList=ts,exports.TabsTrigger=ss,exports.Tag=es,exports.Textarea=Da,exports.Toast=Br,exports.ToastAction=Or,exports.ToastClose=qr,exports.ToastDescription=Vr,exports.ToastProvider=Fr,exports.ToastTitle=Hr,exports.ToastViewport=_r,exports.Toaster=function(){const{toasts:a}=Qr();return e.jsxs(Fr,{children:[a.map(function({id:a,title:t,description:s,action:r,...o}){return e.jsxs(Br,{...o,children:[e.jsxs("div",{className:"grid gap-1",children:[t&&e.jsx(Hr,{children:t}),s&&e.jsx(Vr,{children:s})]}),r,e.jsx(qr,{})]},a)}),e.jsx(_r,{})]})},exports.Toggle=ct,exports.ToggleGroup=it,exports.ToggleGroupItem=lt,exports.Tooltip=la,exports.TooltipContent=da,exports.TooltipProvider=ia,exports.TooltipTrigger=na,exports.WELLDashboard=mo,exports.badgeVariants=mt,exports.buttonVariants=Ve,exports.cn=be,exports.navigationMenuTriggerStyle=ps,exports.useIsMobile=He,exports.useSegmentedControl=nt,exports.useTabs=function({tabs:e,initialTabId:t}){const s=e.findIndex(e=>e.value===t),[r,o]=a.useState(s>=0?s:0);return{tabProps:{tabs:e,selectedTabIndex:r,setSelectedTab:a.useCallback(([e,a])=>{o(e)},[])},selectedTab:e[r]||e[0]}},exports.useToast=Qr;
|