@sigtes/ui 0.4.1 → 0.4.2

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.
@@ -1,49 +1,137 @@
1
- "use client";"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const a=require("./Button-CfO2renX.cjs"),Gn=require("@radix-ui/react-dropdown-menu"),R=require("lucide-react"),D=require("react"),Q=require("@tabler/icons-react"),Te=require("@dnd-kit/sortable"),Un=require("@dnd-kit/utilities"),X=require("@tanstack/react-table"),V=require("@dnd-kit/core"),lt=require("@radix-ui/react-slot"),mt=require("class-variance-authority"),Vn=require("tailwind-merge"),Xn=require("@radix-ui/react-select"),Qn=require("@dnd-kit/modifiers");require("@sigtes/hooks");const Zn=require("@radix-ui/react-label"),Z=require("react-day-picker"),Jn=require("@radix-ui/react-popover"),Kn=require("@radix-ui/react-checkbox"),er=require("@radix-ui/react-collapsible"),tr=require("@radix-ui/react-dialog"),fe=require("cmdk"),nr=require("@radix-ui/react-separator"),Ae=require("react-hook-form"),rr=require("next-themes"),Bt=require("sonner"),ar=require("@radix-ui/react-tabs"),or=require("recharts");function H(e){const t=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const r in e)if(r!=="default"){const n=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(t,r,n.get?n:{enumerable:!0,get:()=>e[r]})}}return t.default=e,Object.freeze(t)}const P=H(Gn),W=H(D),F=H(Xn),sr=H(Zn),Ze=H(Jn),wt=H(Kn),ft=H(er),J=H(tr),ir=H(nr),Je=H(ar),ht=H(or);function st({...e}){return a.jsxRuntimeExports.jsx(P.Root,{"data-slot":"dropdown-menu",...e})}function cr({...e}){return a.jsxRuntimeExports.jsx(P.Portal,{"data-slot":"dropdown-menu-portal",...e})}function Ge({...e}){return a.jsxRuntimeExports.jsx(P.Trigger,{"data-slot":"dropdown-menu-trigger",...e})}function it({className:e,sideOffset:t=4,...r}){return a.jsxRuntimeExports.jsx(P.Portal,{children:a.jsxRuntimeExports.jsx(P.Content,{"data-slot":"dropdown-menu-content",sideOffset:t,className:a.cn("bg-popover 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 z-50 max-h-(--radix-dropdown-menu-content-available-height) min-w-[8rem] origin-(--radix-dropdown-menu-content-transform-origin) overflow-x-hidden overflow-y-auto rounded-md border p-1 shadow-md",e),...r})})}function ur({...e}){return a.jsxRuntimeExports.jsx(P.Group,{"data-slot":"dropdown-menu-group",...e})}function dr({className:e,inset:t,variant:r="default",...n}){return a.jsxRuntimeExports.jsx(P.Item,{"data-slot":"dropdown-menu-item","data-inset":t,"data-variant":r,className:a.cn("focus:bg-accent focus:text-accent-foreground data-[variant=destructive]:text-destructive data-[variant=destructive]:focus:bg-destructive/10 dark:data-[variant=destructive]:focus:bg-destructive/20 data-[variant=destructive]:focus:text-destructive data-[variant=destructive]:*:[svg]:!text-destructive [&_svg:not([class*='text-'])]:text-muted-foreground relative flex cursor-default items-center gap-2 rounded-sm px-2 py-1.5 text-sm outline-hidden select-none data-[disabled]:pointer-events-none data-[disabled]:opacity-50 data-[inset]:pl-8 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",e),...n})}function At({className:e,children:t,checked:r,...n}){return a.jsxRuntimeExports.jsxs(P.CheckboxItem,{"data-slot":"dropdown-menu-checkbox-item",className:a.cn("focus:bg-accent focus:text-accent-foreground relative flex cursor-default items-center gap-2 rounded-sm py-1.5 pr-2 pl-8 text-sm outline-hidden select-none data-[disabled]:pointer-events-none data-[disabled]:opacity-50 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",e),checked:r,...n,children:[a.jsxRuntimeExports.jsx("span",{className:"pointer-events-none absolute left-2 flex size-3.5 items-center justify-center",children:a.jsxRuntimeExports.jsx(P.ItemIndicator,{children:a.jsxRuntimeExports.jsx(R.CheckIcon,{className:"size-4"})})}),t]})}function Gt({...e}){return a.jsxRuntimeExports.jsx(P.RadioGroup,{"data-slot":"dropdown-menu-radio-group",...e})}function Ut({className:e,children:t,...r}){return a.jsxRuntimeExports.jsxs(P.RadioItem,{"data-slot":"dropdown-menu-radio-item",className:a.cn("focus:bg-accent focus:text-accent-foreground relative flex cursor-default items-center gap-2 rounded-sm py-1.5 pr-2 pl-8 text-sm outline-hidden select-none data-[disabled]:pointer-events-none data-[disabled]:opacity-50 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",e),...r,children:[a.jsxRuntimeExports.jsx("span",{className:"pointer-events-none absolute left-2 flex size-3.5 items-center justify-center",children:a.jsxRuntimeExports.jsx(P.ItemIndicator,{children:a.jsxRuntimeExports.jsx(R.CircleIcon,{className:"size-2 fill-current"})})}),t]})}function lr({className:e,inset:t,...r}){return a.jsxRuntimeExports.jsx(P.Label,{"data-slot":"dropdown-menu-label","data-inset":t,className:a.cn("px-2 py-1.5 text-sm font-medium data-[inset]:pl-8",e),...r})}function mr({className:e,...t}){return a.jsxRuntimeExports.jsx(P.Separator,{"data-slot":"dropdown-menu-separator",className:a.cn("bg-border -mx-1 my-1 h-px",e),...t})}function fr({className:e,...t}){return a.jsxRuntimeExports.jsx("span",{"data-slot":"dropdown-menu-shortcut",className:a.cn("text-muted-foreground ml-auto text-xs tracking-widest",e),...t})}function hr({...e}){return a.jsxRuntimeExports.jsx(P.Sub,{"data-slot":"dropdown-menu-sub",...e})}function pr({className:e,inset:t,children:r,...n}){return a.jsxRuntimeExports.jsxs(P.SubTrigger,{"data-slot":"dropdown-menu-sub-trigger","data-inset":t,className:a.cn("focus:bg-accent focus:text-accent-foreground data-[state=open]:bg-accent data-[state=open]:text-accent-foreground flex cursor-default items-center rounded-sm px-2 py-1.5 text-sm outline-hidden select-none data-[inset]:pl-8",e),...n,children:[r,a.jsxRuntimeExports.jsx(R.ChevronRightIcon,{className:"ml-auto size-4"})]})}function xr({className:e,...t}){return a.jsxRuntimeExports.jsx(P.SubContent,{"data-slot":"dropdown-menu-sub-content",className:a.cn("bg-popover 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 z-50 min-w-[8rem] origin-(--radix-dropdown-menu-content-transform-origin) overflow-hidden rounded-md border p-1 shadow-lg",e),...t})}function gr(){return a.jsxRuntimeExports.jsx(Ge,{asChild:!0,children:a.jsxRuntimeExports.jsxs(a.Button,{variant:"ghost",className:"data-[state=open]:bg-muted text-muted-foreground flex size-8 p-0",size:"icon",children:[a.jsxRuntimeExports.jsx(Q.IconDotsVertical,{className:"size-4"}),a.jsxRuntimeExports.jsx("span",{className:"sr-only",children:"Abrir Menu"})]})})}function Vt({row:e,onRowClick:t=()=>{}}){const{transform:r,transition:n,setNodeRef:o,isDragging:s}=Te.useSortable({id:e.original.id});return a.jsxRuntimeExports.jsx(Ue,{"data-state":e.getIsSelected()&&"selected","data-dragging":s,ref:o,style:{transform:Un.CSS.Transform.toString(r),transition:n,cursor:"grab"},onClick:()=>{t(e.original)},children:e.getVisibleCells().map(c=>a.jsxRuntimeExports.jsx(xt,{className:"cursor-pointer",children:X.flexRender(c.column.columnDef.cell,c.getContext())},c.id))})}function Xt({className:e,type:t,...r}){return a.jsxRuntimeExports.jsx("input",{type:t,"data-slot":"input",className:a.cn("file:text-foreground placeholder:text-muted-foreground selection:bg-primary selection:text-primary-foreground dark:bg-input/30 border-input flex h-9 w-full min-w-0 rounded-md border bg-transparent px-3 py-1 text-base shadow-xs transition-[color,box-shadow] outline-none file:inline-flex file:h-7 file:border-0 file:bg-transparent file:text-sm file:font-medium disabled:pointer-events-none disabled:cursor-not-allowed disabled:opacity-50 md:text-sm","focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:ring-[3px]","aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive",e),...r})}function Qt({...e}){return a.jsxRuntimeExports.jsx(F.Root,{"data-slot":"select",...e})}function br({...e}){return a.jsxRuntimeExports.jsx(F.Group,{"data-slot":"select-group",...e})}function Zt({...e}){return a.jsxRuntimeExports.jsx(F.Value,{"data-slot":"select-value",...e})}function Jt({className:e,size:t="default",children:r,...n}){return a.jsxRuntimeExports.jsxs(F.Trigger,{"data-slot":"select-trigger","data-size":t,className:a.cn("border-input data-[placeholder]:text-muted-foreground [&_svg:not([class*='text-'])]:text-muted-foreground focus-visible:border-ring focus-visible:ring-ring/50 aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive dark:bg-input/30 dark:hover:bg-input/50 flex w-fit items-center justify-between gap-2 rounded-md border bg-transparent px-3 py-2 text-sm whitespace-nowrap shadow-xs transition-[color,box-shadow] outline-none focus-visible:ring-[3px] disabled:cursor-not-allowed disabled:opacity-50 data-[size=default]:h-9 data-[size=sm]:h-8 *:data-[slot=select-value]:line-clamp-1 *:data-[slot=select-value]:flex *:data-[slot=select-value]:items-center *:data-[slot=select-value]:gap-2 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",e),...n,children:[r,a.jsxRuntimeExports.jsx(F.Icon,{asChild:!0,children:a.jsxRuntimeExports.jsx(R.ChevronDownIcon,{className:"size-4 opacity-50"})})]})}function Kt({className:e,children:t,position:r="popper",...n}){return a.jsxRuntimeExports.jsx(F.Portal,{children:a.jsxRuntimeExports.jsxs(F.Content,{"data-slot":"select-content",className:a.cn("bg-popover 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 relative z-50 max-h-(--radix-select-content-available-height) min-w-[8rem] origin-(--radix-select-content-transform-origin) overflow-x-hidden overflow-y-auto rounded-md border shadow-md",r==="popper"&&"data-[side=bottom]:translate-y-1 data-[side=left]:-translate-x-1 data-[side=right]:translate-x-1 data-[side=top]:-translate-y-1",e),position:r,...n,children:[a.jsxRuntimeExports.jsx(tn,{}),a.jsxRuntimeExports.jsx(F.Viewport,{className:a.cn("p-1",r==="popper"&&"h-[var(--radix-select-trigger-height)] w-full min-w-[var(--radix-select-trigger-width)] scroll-my-1"),children:t}),a.jsxRuntimeExports.jsx(nn,{})]})})}function yr({className:e,...t}){return a.jsxRuntimeExports.jsx(F.Label,{"data-slot":"select-label",className:a.cn("text-muted-foreground px-2 py-1.5 text-xs",e),...t})}function en({className:e,children:t,...r}){return a.jsxRuntimeExports.jsxs(F.Item,{"data-slot":"select-item",className:a.cn("focus:bg-accent focus:text-accent-foreground [&_svg:not([class*='text-'])]:text-muted-foreground relative flex w-full cursor-default items-center gap-2 rounded-sm py-1.5 pr-8 pl-2 text-sm outline-hidden select-none data-[disabled]:pointer-events-none data-[disabled]:opacity-50 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4 *:[span]:last:flex *:[span]:last:items-center *:[span]:last:gap-2",e),...r,children:[a.jsxRuntimeExports.jsx("span",{className:"absolute right-2 flex size-3.5 items-center justify-center",children:a.jsxRuntimeExports.jsx(F.ItemIndicator,{children:a.jsxRuntimeExports.jsx(R.CheckIcon,{className:"size-4"})})}),a.jsxRuntimeExports.jsx(F.ItemText,{children:t})]})}function vr({className:e,...t}){return a.jsxRuntimeExports.jsx(F.Separator,{"data-slot":"select-separator",className:a.cn("bg-border pointer-events-none -mx-1 my-1 h-px",e),...t})}function tn({className:e,...t}){return a.jsxRuntimeExports.jsx(F.ScrollUpButton,{"data-slot":"select-scroll-up-button",className:a.cn("flex cursor-default items-center justify-center py-1",e),...t,children:a.jsxRuntimeExports.jsx(R.ChevronUpIcon,{className:"size-4"})})}function nn({className:e,...t}){return a.jsxRuntimeExports.jsx(F.ScrollDownButton,{"data-slot":"select-scroll-down-button",className:a.cn("flex cursor-default items-center justify-center py-1",e),...t,children:a.jsxRuntimeExports.jsx(R.ChevronDownIcon,{className:"size-4"})})}function pt({className:e,...t}){return a.jsxRuntimeExports.jsx(sr.Root,{"data-slot":"label",className:a.cn("flex items-center gap-2 text-sm leading-none font-medium select-none group-data-[disabled=true]:pointer-events-none group-data-[disabled=true]:opacity-50 peer-disabled:cursor-not-allowed peer-disabled:opacity-50",e),...t})}function wr({data:e,columns:t,getRowId:r,onRowOrderChange:n,onRowClick:o=()=>{},tableKey:s,Actions:c,defaultColumnFilter:d}){const u=`tablePageSize_${s}`,h=`tableColumnVisibility_${s}`,[f,m]=D.useState(()=>{if(typeof window>"u")return{};const p=localStorage.getItem(h);return p?JSON.parse(p):{}}),[g,T]=D.useState({pageIndex:0,pageSize:Number(typeof window<"u"&&localStorage.getItem(u))||10}),B=D.useId(),O=V.useSensors(V.useSensor(V.MouseSensor,{}),V.useSensor(V.TouchSensor,{}),V.useSensor(V.KeyboardSensor,{})),E=D.useMemo(()=>e?.map(({id:p})=>p)||[],[e]),[z,Y]=D.useState(e),[M,K]=D.useState({}),[ve,he]=D.useState([]),[we,re]=D.useState([]);D.useEffect(()=>{Y(e)},[e]),D.useEffect(()=>{localStorage.setItem(h,JSON.stringify(f))},[f,h]),D.useEffect(()=>{localStorage.setItem(u,String(g.pageSize))},[g.pageSize,u]);function je({columns:p}){let S=!1;for(const q of p)if(q.id==="drag"){S=!0;break}const L={id:"drag"};return S?[...p]:[L,...p]}function Ee(p){const{active:S,over:L}=p;S&&L&&S.id!==L.id&&Y(q=>{const oe=q.findIndex(x=>x.id===S.id),i=q.findIndex(x=>x.id===L.id),l=Te.arrayMove(q,oe,i);return n&&n(l),l})}const v=X.useReactTable({data:z,columns:je({columns:t}),state:{sorting:we,columnVisibility:f,rowSelection:M,columnFilters:ve,pagination:g},getRowId:r,enableRowSelection:!0,onRowSelectionChange:K,onSortingChange:re,onColumnFiltersChange:he,onColumnVisibilityChange:m,onPaginationChange:T,getCoreRowModel:X.getCoreRowModel(),getFilteredRowModel:X.getFilteredRowModel(),getPaginationRowModel:X.getPaginationRowModel(),getSortedRowModel:X.getSortedRowModel(),getFacetedRowModel:X.getFacetedRowModel(),getFacetedUniqueValues:X.getFacetedUniqueValues()});function ae(){const p=v.getAllColumns()[1].columnDef;return String(p.id)?String(p.id):String(p.header)}const[G,U]=D.useState(d??ae());return a.jsxRuntimeExports.jsxs("div",{children:[a.jsxRuntimeExports.jsxs("div",{className:"flex items-center justify-between px-4 lg:px-6 mb-5 gap-2",children:[a.jsxRuntimeExports.jsxs("div",{className:"relative w-full h-8",children:[a.jsxRuntimeExports.jsx(R.Search,{className:"absolute left-3 top-1/2 w-4 -translate-y-1/2 text-muted-foreground"}),a.jsxRuntimeExports.jsx(Xt,{type:"text",placeholder:"",className:"pl-10 h-8",value:v.getColumn(G)?.getFilterValue()??"",onChange:p=>{v.getColumn(G)?.setFilterValue(p.target.value)}})]}),a.jsxRuntimeExports.jsxs("div",{className:"flex items-center gap-2",children:[a.jsxRuntimeExports.jsxs(st,{children:[a.jsxRuntimeExports.jsx(Ge,{asChild:!0,children:a.jsxRuntimeExports.jsxs(a.Button,{variant:"outline",size:"sm",children:[a.jsxRuntimeExports.jsx(R.FilterIcon,{}),a.jsxRuntimeExports.jsx("span",{className:"sm:hidden lg:inline",children:G||"Filtro"}),a.jsxRuntimeExports.jsx("span",{className:"lg:hidden",children:G||"Filtro"}),a.jsxRuntimeExports.jsx(Q.IconChevronDown,{})]})}),a.jsxRuntimeExports.jsx(it,{align:"end",className:"w-56",children:a.jsxRuntimeExports.jsx(Gt,{value:G,onValueChange:p=>{he([]),U(p)},children:v.getAllColumns().filter(p=>typeof p.accessorFn<"u"&&p.getCanHide()).map(p=>{const S=p.columnDef.id?String(p.columnDef.id):String(p.columnDef.header);return a.jsxRuntimeExports.jsx(Ut,{value:S,children:S},S)})})})]}),a.jsxRuntimeExports.jsxs(st,{children:[a.jsxRuntimeExports.jsx(Ge,{asChild:!0,children:a.jsxRuntimeExports.jsxs(a.Button,{variant:"outline",size:"sm",children:[a.jsxRuntimeExports.jsx(Q.IconLayoutColumns,{}),a.jsxRuntimeExports.jsx("span",{className:"hidden lg:inline",children:"Colunas"}),a.jsxRuntimeExports.jsx("span",{className:"lg:hidden",children:"Colunas"}),a.jsxRuntimeExports.jsx(Q.IconChevronDown,{})]})}),a.jsxRuntimeExports.jsx(it,{align:"end",className:"w-56",children:v.getAllColumns().filter(p=>typeof p.accessorFn<"u"&&p.getCanHide()).map(p=>a.jsxRuntimeExports.jsx(At,{className:"capitalize",checked:p.getIsVisible(),onCheckedChange:S=>{p.toggleVisibility(!!S)},children:p.columnDef.id?String(p.columnDef.id):String(p.columnDef.header)},p.id))})]}),c]})]}),a.jsxRuntimeExports.jsxs("div",{className:"relative flex flex-col gap-4 overflow-auto px-4 lg:px-6",children:[a.jsxRuntimeExports.jsx("div",{className:"overflow-hidden rounded-lg border",children:a.jsxRuntimeExports.jsx(V.DndContext,{collisionDetection:V.closestCenter,modifiers:[Qn.restrictToVerticalAxis],onDragEnd:Ee,sensors:O,id:B,children:a.jsxRuntimeExports.jsxs(rn,{children:[a.jsxRuntimeExports.jsx(an,{className:"sticky top-0 z-10",children:v.getHeaderGroups().map(p=>a.jsxRuntimeExports.jsx(Ue,{children:p.headers.map(S=>a.jsxRuntimeExports.jsx(sn,{colSpan:S.colSpan,children:S.isPlaceholder?null:X.flexRender(S.column.columnDef.header,S.getContext())},S.id))},p.id))}),a.jsxRuntimeExports.jsx(Te.SortableContext,{items:E,strategy:Te.verticalListSortingStrategy,children:a.jsxRuntimeExports.jsx(on,{className:"**:data-[slot=table-cell]:first:w-8",children:v.getRowModel().rows?.length?v.getRowModel().rows.map(p=>a.jsxRuntimeExports.jsx(Vt,{row:p,onRowClick:o},p.id)):a.jsxRuntimeExports.jsx(Ue,{children:a.jsxRuntimeExports.jsx(xt,{colSpan:t.length,className:"h-24 text-center",children:"Nenhum Resultado."})})})})]})})}),a.jsxRuntimeExports.jsxs("div",{className:"flex items-center justify-between px-4",children:[a.jsxRuntimeExports.jsxs("div",{className:"text-muted-foreground hidden flex-1 text-sm lg:flex",children:[v.getFilteredSelectedRowModel().rows.length," de"," ",v.getFilteredRowModel().rows.length," linhas selecionadas."]}),a.jsxRuntimeExports.jsxs("div",{className:"flex w-full items-center gap-8 lg:w-fit",children:[a.jsxRuntimeExports.jsxs("div",{className:"hidden items-center gap-2 lg:flex",children:[a.jsxRuntimeExports.jsx(pt,{htmlFor:"rows-per-page",className:"text-sm font-medium",children:"linhas por paginas"}),a.jsxRuntimeExports.jsxs(Qt,{value:`${v.getState().pagination.pageSize}`,onValueChange:p=>{v.setPageSize(Number(p))},children:[a.jsxRuntimeExports.jsx(Jt,{size:"sm",className:"w-20",id:"rows-per-page",children:a.jsxRuntimeExports.jsx(Zt,{placeholder:v.getState().pagination.pageSize})}),a.jsxRuntimeExports.jsx(Kt,{side:"top",children:[10,20,30,40,50].map(p=>a.jsxRuntimeExports.jsx(en,{value:`${p}`,children:p},p))})]})]}),a.jsxRuntimeExports.jsxs("div",{className:"flex w-fit items-center justify-center text-sm font-medium",children:["Página ",v.getState().pagination.pageIndex+1," de"," ",v.getPageCount()]}),a.jsxRuntimeExports.jsxs("div",{className:"ml-auto flex items-center gap-2 lg:ml-0",children:[a.jsxRuntimeExports.jsxs(a.Button,{variant:"outline",className:"hidden h-8 w-8 p-0 lg:flex",onClick:()=>v.setPageIndex(0),disabled:!v.getCanPreviousPage(),children:[a.jsxRuntimeExports.jsx("span",{className:"sr-only",children:"Go to first page"}),a.jsxRuntimeExports.jsx(Q.IconChevronsLeft,{})]}),a.jsxRuntimeExports.jsxs(a.Button,{variant:"outline",className:"size-8",size:"icon",onClick:()=>v.previousPage(),disabled:!v.getCanPreviousPage(),children:[a.jsxRuntimeExports.jsx("span",{className:"sr-only",children:"Go to previous page"}),a.jsxRuntimeExports.jsx(Q.IconChevronLeft,{})]}),a.jsxRuntimeExports.jsxs(a.Button,{variant:"outline",className:"size-8",size:"icon",onClick:()=>v.nextPage(),disabled:!v.getCanNextPage(),children:[a.jsxRuntimeExports.jsx("span",{className:"sr-only",children:"Go to next page"}),a.jsxRuntimeExports.jsx(Q.IconChevronRight,{})]}),a.jsxRuntimeExports.jsxs(a.Button,{variant:"outline",className:"hidden size-8 lg:flex",size:"icon",onClick:()=>v.setPageIndex(v.getPageCount()-1),disabled:!v.getCanNextPage(),children:[a.jsxRuntimeExports.jsx("span",{className:"sr-only",children:"Go to last page"}),a.jsxRuntimeExports.jsx(Q.IconChevronsRight,{})]})]})]})]})]})]})}function jr({id:e}){const{attributes:t,listeners:r}=Te.useSortable({id:e});return a.jsxRuntimeExports.jsxs(a.Button,{...t,...r,variant:"ghost",size:"icon",className:"text-muted-foreground size-7 hover:bg-transparent cursor-pointer",children:[a.jsxRuntimeExports.jsx(Q.IconGripVertical,{className:"text-muted-foreground size-3"}),a.jsxRuntimeExports.jsx("span",{className:"sr-only",children:"Drag to reorder"})]})}function rn({className:e,...t}){return a.jsxRuntimeExports.jsx("div",{"data-slot":"table-container",className:"relative w-full overflow-x-auto",children:a.jsxRuntimeExports.jsx("table",{"data-slot":"table",className:a.cn("w-full caption-bottom text-sm",e),...t})})}function an({className:e,...t}){return a.jsxRuntimeExports.jsx("thead",{"data-slot":"table-header",className:a.cn("[&_tr]:border-b",e),...t})}function on({className:e,...t}){return a.jsxRuntimeExports.jsx("tbody",{"data-slot":"table-body",className:a.cn("[&_tr:last-child]:border-0",e),...t})}function Er({className:e,...t}){return a.jsxRuntimeExports.jsx("tfoot",{"data-slot":"table-footer",className:a.cn("bg-muted/50 border-t font-medium [&>tr]:last:border-b-0",e),...t})}function Ue({className:e,...t}){return a.jsxRuntimeExports.jsx("tr",{"data-slot":"table-row",className:a.cn("hover:bg-muted/50 data-[state=selected]:bg-muted border-b transition-colors",e),...t})}function sn({className:e,...t}){return a.jsxRuntimeExports.jsx("th",{"data-slot":"table-head",className:a.cn("text-foreground h-10 px-2 text-left align-middle font-medium whitespace-nowrap [&:has([role=checkbox])]:pr-0 [&>[role=checkbox]]:translate-y-[2px]",e),...t})}function xt({className:e,...t}){return a.jsxRuntimeExports.jsx("td",{"data-slot":"table-cell",className:a.cn("p-2 align-middle whitespace-nowrap [&:has([role=checkbox])]:pr-0 [&>[role=checkbox]]:translate-y-[2px]",e),...t})}function kr({className:e,...t}){return a.jsxRuntimeExports.jsx("caption",{"data-slot":"table-caption",className:a.cn("text-muted-foreground mt-4 text-sm",e),...t})}function gt({className:e,classNames:t,showOutsideDays:r=!0,captionLayout:n="label",buttonVariant:o="ghost",formatters:s,components:c,...d}){const u=Z.getDefaultClassNames();return a.jsxRuntimeExports.jsx(Z.DayPicker,{showOutsideDays:r,className:a.cn("bg-background group/calendar p-3 [--cell-size:--spacing(8)] [[data-slot=card-content]_&]:bg-transparent [[data-slot=popover-content]_&]:bg-transparent",String.raw`rtl:**:[.rdp-button\_next>svg]:rotate-180`,String.raw`rtl:**:[.rdp-button\_previous>svg]:rotate-180`,e),captionLayout:n,formatters:{formatMonthDropdown:h=>h.toLocaleString("default",{month:"short"}),...s},classNames:{root:a.cn("w-fit",u.root),months:a.cn("flex gap-4 flex-col md:flex-row relative",u.months),month:a.cn("flex flex-col w-full gap-4",u.month),nav:a.cn("flex items-center gap-1 w-full absolute top-0 inset-x-0 justify-between",u.nav),button_previous:a.cn(a.buttonVariants({variant:o}),"size-(--cell-size) aria-disabled:opacity-50 p-0 select-none",u.button_previous),button_next:a.cn(a.buttonVariants({variant:o}),"size-(--cell-size) aria-disabled:opacity-50 p-0 select-none",u.button_next),month_caption:a.cn("flex items-center justify-center h-(--cell-size) w-full px-(--cell-size)",u.month_caption),dropdowns:a.cn("w-full flex items-center text-sm font-medium justify-center h-(--cell-size) gap-1.5",u.dropdowns),dropdown_root:a.cn("relative has-focus:border-ring border border-input shadow-xs has-focus:ring-ring/50 has-focus:ring-[3px] rounded-md",u.dropdown_root),dropdown:a.cn("absolute bg-popover inset-0 opacity-0",u.dropdown),caption_label:a.cn("select-none font-medium",n==="label"?"text-sm":"rounded-md pl-2 pr-1 flex items-center gap-1 text-sm h-8 [&>svg]:text-muted-foreground [&>svg]:size-3.5",u.caption_label),table:"w-full border-collapse",weekdays:a.cn("flex",u.weekdays),weekday:a.cn("text-muted-foreground rounded-md flex-1 font-normal text-[0.8rem] select-none",u.weekday),week:a.cn("flex w-full mt-2",u.week),week_number_header:a.cn("select-none w-(--cell-size)",u.week_number_header),week_number:a.cn("text-[0.8rem] select-none text-muted-foreground",u.week_number),day:a.cn("relative w-full h-full p-0 text-center [&:first-child[data-selected=true]_button]:rounded-l-md [&:last-child[data-selected=true]_button]:rounded-r-md group/day aspect-square select-none",u.day),range_start:a.cn("rounded-l-md bg-accent",u.range_start),range_middle:a.cn("rounded-none",u.range_middle),range_end:a.cn("rounded-r-md bg-accent",u.range_end),today:a.cn("bg-accent text-accent-foreground rounded-md data-[selected=true]:rounded-none",u.today),outside:a.cn("text-muted-foreground aria-selected:text-muted-foreground",u.outside),disabled:a.cn("text-muted-foreground opacity-50",u.disabled),hidden:a.cn("invisible",u.hidden),...t},components:{Root:({className:h,rootRef:f,...m})=>a.jsxRuntimeExports.jsx("div",{"data-slot":"calendar",ref:f,className:a.cn(h),...m}),Chevron:({className:h,orientation:f,...m})=>f==="left"?a.jsxRuntimeExports.jsx(R.ChevronLeftIcon,{className:a.cn("size-4",h),...m}):f==="right"?a.jsxRuntimeExports.jsx(R.ChevronRightIcon,{className:a.cn("size-4",h),...m}):a.jsxRuntimeExports.jsx(R.ChevronDownIcon,{className:a.cn("size-4",h),...m}),DayButton:cn,WeekNumber:({children:h,...f})=>a.jsxRuntimeExports.jsx("td",{...f,children:a.jsxRuntimeExports.jsx("div",{className:"flex size-(--cell-size) items-center justify-center text-center",children:h})}),...c},...d})}function cn({className:e,day:t,modifiers:r,...n}){const o=Z.getDefaultClassNames(),s=D.useRef(null);return D.useEffect(()=>{r.focused&&s.current?.focus()},[r.focused]),a.jsxRuntimeExports.jsx(a.Button,{ref:s,variant:"ghost",size:"icon","data-day":t.date.toLocaleDateString(),"data-selected-single":r.selected&&!r.range_start&&!r.range_end&&!r.range_middle,"data-range-start":r.range_start,"data-range-end":r.range_end,"data-range-middle":r.range_middle,className:a.cn("data-[selected-single=true]:bg-primary data-[selected-single=true]:text-primary-foreground data-[range-middle=true]:bg-accent data-[range-middle=true]:text-accent-foreground data-[range-start=true]:bg-primary data-[range-start=true]:text-primary-foreground data-[range-end=true]:bg-primary data-[range-end=true]:text-primary-foreground group-data-[focused=true]/day:border-ring group-data-[focused=true]/day:ring-ring/50 dark:hover:text-accent-foreground flex aspect-square size-auto w-full min-w-(--cell-size) flex-col gap-1 leading-none font-normal group-data-[focused=true]/day:relative group-data-[focused=true]/day:z-10 group-data-[focused=true]/day:ring-[3px] data-[range-end=true]:rounded-md data-[range-end=true]:rounded-r-md data-[range-middle=true]:rounded-none data-[range-start=true]:rounded-md data-[range-start=true]:rounded-l-md [&>span]:text-xs [&>span]:opacity-70",o.day,e),...n})}const un=6048e5,Sr=864e5,jt=Symbol.for("constructDateFrom");function ne(e,t){return typeof e=="function"?e(t):e&&typeof e=="object"&&jt in e?e[jt](t):e instanceof Date?new e.constructor(t):new Date(t)}function $(e,t){return ne(t||e,e)}let Rr={};function Ke(){return Rr}function Oe(e,t){const r=Ke(),n=t?.weekStartsOn??t?.locale?.options?.weekStartsOn??r.weekStartsOn??r.locale?.options?.weekStartsOn??0,o=$(e,t?.in),s=o.getDay(),c=(s<n?7:0)+s-n;return o.setDate(o.getDate()-c),o.setHours(0,0,0,0),o}function Ve(e,t){return Oe(e,{...t,weekStartsOn:1})}function dn(e,t){const r=$(e,t?.in),n=r.getFullYear(),o=ne(r,0);o.setFullYear(n+1,0,4),o.setHours(0,0,0,0);const s=Ve(o),c=ne(r,0);c.setFullYear(n,0,4),c.setHours(0,0,0,0);const d=Ve(c);return r.getTime()>=s.getTime()?n+1:r.getTime()>=d.getTime()?n:n-1}function Et(e){const t=$(e),r=new Date(Date.UTC(t.getFullYear(),t.getMonth(),t.getDate(),t.getHours(),t.getMinutes(),t.getSeconds(),t.getMilliseconds()));return r.setUTCFullYear(t.getFullYear()),+e-+r}function Cr(e,...t){const r=ne.bind(null,t.find(n=>typeof n=="object"));return t.map(r)}function kt(e,t){const r=$(e,t?.in);return r.setHours(0,0,0,0),r}function Dr(e,t,r){const[n,o]=Cr(r?.in,e,t),s=kt(n),c=kt(o),d=+s-Et(s),u=+c-Et(c);return Math.round((d-u)/Sr)}function Nr(e,t){const r=dn(e,t),n=ne(e,0);return n.setFullYear(r,0,4),n.setHours(0,0,0,0),Ve(n)}function Mr(e){return e instanceof Date||typeof e=="object"&&Object.prototype.toString.call(e)==="[object Date]"}function Pr(e){return!(!Mr(e)&&typeof e!="number"||isNaN(+$(e)))}function Tr(e,t){const r=$(e,t?.in);return r.setFullYear(r.getFullYear(),0,1),r.setHours(0,0,0,0),r}const Or={lessThanXSeconds:{one:"less than a second",other:"less than {{count}} seconds"},xSeconds:{one:"1 second",other:"{{count}} seconds"},halfAMinute:"half a minute",lessThanXMinutes:{one:"less than a minute",other:"less than {{count}} minutes"},xMinutes:{one:"1 minute",other:"{{count}} minutes"},aboutXHours:{one:"about 1 hour",other:"about {{count}} hours"},xHours:{one:"1 hour",other:"{{count}} hours"},xDays:{one:"1 day",other:"{{count}} days"},aboutXWeeks:{one:"about 1 week",other:"about {{count}} weeks"},xWeeks:{one:"1 week",other:"{{count}} weeks"},aboutXMonths:{one:"about 1 month",other:"about {{count}} months"},xMonths:{one:"1 month",other:"{{count}} months"},aboutXYears:{one:"about 1 year",other:"about {{count}} years"},xYears:{one:"1 year",other:"{{count}} years"},overXYears:{one:"over 1 year",other:"over {{count}} years"},almostXYears:{one:"almost 1 year",other:"almost {{count}} years"}},_r=(e,t,r)=>{let n;const o=Or[e];return typeof o=="string"?n=o:t===1?n=o.one:n=o.other.replace("{{count}}",t.toString()),r?.addSuffix?r.comparison&&r.comparison>0?"in "+n:n+" ago":n};function nt(e){return(t={})=>{const r=t.width?String(t.width):e.defaultWidth;return e.formats[r]||e.formats[e.defaultWidth]}}const Fr={full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},Wr={full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},zr={full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},Ir={date:nt({formats:Fr,defaultWidth:"full"}),time:nt({formats:Wr,defaultWidth:"full"}),dateTime:nt({formats:zr,defaultWidth:"full"})},Yr={lastWeek:"'last' eeee 'at' p",yesterday:"'yesterday at' p",today:"'today at' p",tomorrow:"'tomorrow at' p",nextWeek:"eeee 'at' p",other:"P"},Lr=(e,t,r,n)=>Yr[e];function ke(e){return(t,r)=>{const n=r?.context?String(r.context):"standalone";let o;if(n==="formatting"&&e.formattingValues){const c=e.defaultFormattingWidth||e.defaultWidth,d=r?.width?String(r.width):c;o=e.formattingValues[d]||e.formattingValues[c]}else{const c=e.defaultWidth,d=r?.width?String(r.width):e.defaultWidth;o=e.values[d]||e.values[c]}const s=e.argumentCallback?e.argumentCallback(t):t;return o[s]}}const qr={narrow:["B","A"],abbreviated:["BC","AD"],wide:["Before Christ","Anno Domini"]},Hr={narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1st quarter","2nd quarter","3rd quarter","4th quarter"]},$r={narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],wide:["January","February","March","April","May","June","July","August","September","October","November","December"]},Br={narrow:["S","M","T","W","T","F","S"],short:["Su","Mo","Tu","We","Th","Fr","Sa"],abbreviated:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],wide:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]},Ar={narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"}},Gr={narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"}},Ur=(e,t)=>{const r=Number(e),n=r%100;if(n>20||n<10)switch(n%10){case 1:return r+"st";case 2:return r+"nd";case 3:return r+"rd"}return r+"th"},Vr={ordinalNumber:Ur,era:ke({values:qr,defaultWidth:"wide"}),quarter:ke({values:Hr,defaultWidth:"wide",argumentCallback:e=>e-1}),month:ke({values:$r,defaultWidth:"wide"}),day:ke({values:Br,defaultWidth:"wide"}),dayPeriod:ke({values:Ar,defaultWidth:"wide",formattingValues:Gr,defaultFormattingWidth:"wide"})};function Se(e){return(t,r={})=>{const n=r.width,o=n&&e.matchPatterns[n]||e.matchPatterns[e.defaultMatchWidth],s=t.match(o);if(!s)return null;const c=s[0],d=n&&e.parsePatterns[n]||e.parsePatterns[e.defaultParseWidth],u=Array.isArray(d)?Qr(d,m=>m.test(c)):Xr(d,m=>m.test(c));let h;h=e.valueCallback?e.valueCallback(u):u,h=r.valueCallback?r.valueCallback(h):h;const f=t.slice(c.length);return{value:h,rest:f}}}function Xr(e,t){for(const r in e)if(Object.prototype.hasOwnProperty.call(e,r)&&t(e[r]))return r}function Qr(e,t){for(let r=0;r<e.length;r++)if(t(e[r]))return r}function Zr(e){return(t,r={})=>{const n=t.match(e.matchPattern);if(!n)return null;const o=n[0],s=t.match(e.parsePattern);if(!s)return null;let c=e.valueCallback?e.valueCallback(s[0]):s[0];c=r.valueCallback?r.valueCallback(c):c;const d=t.slice(o.length);return{value:c,rest:d}}}const Jr=/^(\d+)(th|st|nd|rd)?/i,Kr=/\d+/i,ea={narrow:/^(b|a)/i,abbreviated:/^(b\.?\s?c\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?)/i,wide:/^(before christ|before common era|anno domini|common era)/i},ta={any:[/^b/i,/^(a|c)/i]},na={narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](th|st|nd|rd)? quarter/i},ra={any:[/1/i,/2/i,/3/i,/4/i]},aa={narrow:/^[jfmasond]/i,abbreviated:/^(jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec)/i,wide:/^(january|february|march|april|may|june|july|august|september|october|november|december)/i},oa={narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^ja/i,/^f/i,/^mar/i,/^ap/i,/^may/i,/^jun/i,/^jul/i,/^au/i,/^s/i,/^o/i,/^n/i,/^d/i]},sa={narrow:/^[smtwf]/i,short:/^(su|mo|tu|we|th|fr|sa)/i,abbreviated:/^(sun|mon|tue|wed|thu|fri|sat)/i,wide:/^(sunday|monday|tuesday|wednesday|thursday|friday|saturday)/i},ia={narrow:[/^s/i,/^m/i,/^t/i,/^w/i,/^t/i,/^f/i,/^s/i],any:[/^su/i,/^m/i,/^tu/i,/^w/i,/^th/i,/^f/i,/^sa/i]},ca={narrow:/^(a|p|mi|n|(in the|at) (morning|afternoon|evening|night))/i,any:/^([ap]\.?\s?m\.?|midnight|noon|(in the|at) (morning|afternoon|evening|night))/i},ua={any:{am:/^a/i,pm:/^p/i,midnight:/^mi/i,noon:/^no/i,morning:/morning/i,afternoon:/afternoon/i,evening:/evening/i,night:/night/i}},da={ordinalNumber:Zr({matchPattern:Jr,parsePattern:Kr,valueCallback:e=>parseInt(e,10)}),era:Se({matchPatterns:ea,defaultMatchWidth:"wide",parsePatterns:ta,defaultParseWidth:"any"}),quarter:Se({matchPatterns:na,defaultMatchWidth:"wide",parsePatterns:ra,defaultParseWidth:"any",valueCallback:e=>e+1}),month:Se({matchPatterns:aa,defaultMatchWidth:"wide",parsePatterns:oa,defaultParseWidth:"any"}),day:Se({matchPatterns:sa,defaultMatchWidth:"wide",parsePatterns:ia,defaultParseWidth:"any"}),dayPeriod:Se({matchPatterns:ca,defaultMatchWidth:"any",parsePatterns:ua,defaultParseWidth:"any"})},la={code:"en-US",formatDistance:_r,formatLong:Ir,formatRelative:Lr,localize:Vr,match:da,options:{weekStartsOn:0,firstWeekContainsDate:1}};function ma(e,t){const r=$(e,t?.in);return Dr(r,Tr(r))+1}function fa(e,t){const r=$(e,t?.in),n=+Ve(r)-+Nr(r);return Math.round(n/un)+1}function ln(e,t){const r=$(e,t?.in),n=r.getFullYear(),o=Ke(),s=t?.firstWeekContainsDate??t?.locale?.options?.firstWeekContainsDate??o.firstWeekContainsDate??o.locale?.options?.firstWeekContainsDate??1,c=ne(t?.in||e,0);c.setFullYear(n+1,0,s),c.setHours(0,0,0,0);const d=Oe(c,t),u=ne(t?.in||e,0);u.setFullYear(n,0,s),u.setHours(0,0,0,0);const h=Oe(u,t);return+r>=+d?n+1:+r>=+h?n:n-1}function ha(e,t){const r=Ke(),n=t?.firstWeekContainsDate??t?.locale?.options?.firstWeekContainsDate??r.firstWeekContainsDate??r.locale?.options?.firstWeekContainsDate??1,o=ln(e,t),s=ne(t?.in||e,0);return s.setFullYear(o,0,n),s.setHours(0,0,0,0),Oe(s,t)}function pa(e,t){const r=$(e,t?.in),n=+Oe(r,t)-+ha(r,t);return Math.round(n/un)+1}function w(e,t){const r=e<0?"-":"",n=Math.abs(e).toString().padStart(t,"0");return r+n}const ee={y(e,t){const r=e.getFullYear(),n=r>0?r:1-r;return w(t==="yy"?n%100:n,t.length)},M(e,t){const r=e.getMonth();return t==="M"?String(r+1):w(r+1,2)},d(e,t){return w(e.getDate(),t.length)},a(e,t){const r=e.getHours()/12>=1?"pm":"am";switch(t){case"a":case"aa":return r.toUpperCase();case"aaa":return r;case"aaaaa":return r[0];case"aaaa":default:return r==="am"?"a.m.":"p.m."}},h(e,t){return w(e.getHours()%12||12,t.length)},H(e,t){return w(e.getHours(),t.length)},m(e,t){return w(e.getMinutes(),t.length)},s(e,t){return w(e.getSeconds(),t.length)},S(e,t){const r=t.length,n=e.getMilliseconds(),o=Math.trunc(n*Math.pow(10,r-3));return w(o,t.length)}},pe={midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},St={G:function(e,t,r){const n=e.getFullYear()>0?1:0;switch(t){case"G":case"GG":case"GGG":return r.era(n,{width:"abbreviated"});case"GGGGG":return r.era(n,{width:"narrow"});case"GGGG":default:return r.era(n,{width:"wide"})}},y:function(e,t,r){if(t==="yo"){const n=e.getFullYear(),o=n>0?n:1-n;return r.ordinalNumber(o,{unit:"year"})}return ee.y(e,t)},Y:function(e,t,r,n){const o=ln(e,n),s=o>0?o:1-o;if(t==="YY"){const c=s%100;return w(c,2)}return t==="Yo"?r.ordinalNumber(s,{unit:"year"}):w(s,t.length)},R:function(e,t){const r=dn(e);return w(r,t.length)},u:function(e,t){const r=e.getFullYear();return w(r,t.length)},Q:function(e,t,r){const n=Math.ceil((e.getMonth()+1)/3);switch(t){case"Q":return String(n);case"QQ":return w(n,2);case"Qo":return r.ordinalNumber(n,{unit:"quarter"});case"QQQ":return r.quarter(n,{width:"abbreviated",context:"formatting"});case"QQQQQ":return r.quarter(n,{width:"narrow",context:"formatting"});case"QQQQ":default:return r.quarter(n,{width:"wide",context:"formatting"})}},q:function(e,t,r){const n=Math.ceil((e.getMonth()+1)/3);switch(t){case"q":return String(n);case"qq":return w(n,2);case"qo":return r.ordinalNumber(n,{unit:"quarter"});case"qqq":return r.quarter(n,{width:"abbreviated",context:"standalone"});case"qqqqq":return r.quarter(n,{width:"narrow",context:"standalone"});case"qqqq":default:return r.quarter(n,{width:"wide",context:"standalone"})}},M:function(e,t,r){const n=e.getMonth();switch(t){case"M":case"MM":return ee.M(e,t);case"Mo":return r.ordinalNumber(n+1,{unit:"month"});case"MMM":return r.month(n,{width:"abbreviated",context:"formatting"});case"MMMMM":return r.month(n,{width:"narrow",context:"formatting"});case"MMMM":default:return r.month(n,{width:"wide",context:"formatting"})}},L:function(e,t,r){const n=e.getMonth();switch(t){case"L":return String(n+1);case"LL":return w(n+1,2);case"Lo":return r.ordinalNumber(n+1,{unit:"month"});case"LLL":return r.month(n,{width:"abbreviated",context:"standalone"});case"LLLLL":return r.month(n,{width:"narrow",context:"standalone"});case"LLLL":default:return r.month(n,{width:"wide",context:"standalone"})}},w:function(e,t,r,n){const o=pa(e,n);return t==="wo"?r.ordinalNumber(o,{unit:"week"}):w(o,t.length)},I:function(e,t,r){const n=fa(e);return t==="Io"?r.ordinalNumber(n,{unit:"week"}):w(n,t.length)},d:function(e,t,r){return t==="do"?r.ordinalNumber(e.getDate(),{unit:"date"}):ee.d(e,t)},D:function(e,t,r){const n=ma(e);return t==="Do"?r.ordinalNumber(n,{unit:"dayOfYear"}):w(n,t.length)},E:function(e,t,r){const n=e.getDay();switch(t){case"E":case"EE":case"EEE":return r.day(n,{width:"abbreviated",context:"formatting"});case"EEEEE":return r.day(n,{width:"narrow",context:"formatting"});case"EEEEEE":return r.day(n,{width:"short",context:"formatting"});case"EEEE":default:return r.day(n,{width:"wide",context:"formatting"})}},e:function(e,t,r,n){const o=e.getDay(),s=(o-n.weekStartsOn+8)%7||7;switch(t){case"e":return String(s);case"ee":return w(s,2);case"eo":return r.ordinalNumber(s,{unit:"day"});case"eee":return r.day(o,{width:"abbreviated",context:"formatting"});case"eeeee":return r.day(o,{width:"narrow",context:"formatting"});case"eeeeee":return r.day(o,{width:"short",context:"formatting"});case"eeee":default:return r.day(o,{width:"wide",context:"formatting"})}},c:function(e,t,r,n){const o=e.getDay(),s=(o-n.weekStartsOn+8)%7||7;switch(t){case"c":return String(s);case"cc":return w(s,t.length);case"co":return r.ordinalNumber(s,{unit:"day"});case"ccc":return r.day(o,{width:"abbreviated",context:"standalone"});case"ccccc":return r.day(o,{width:"narrow",context:"standalone"});case"cccccc":return r.day(o,{width:"short",context:"standalone"});case"cccc":default:return r.day(o,{width:"wide",context:"standalone"})}},i:function(e,t,r){const n=e.getDay(),o=n===0?7:n;switch(t){case"i":return String(o);case"ii":return w(o,t.length);case"io":return r.ordinalNumber(o,{unit:"day"});case"iii":return r.day(n,{width:"abbreviated",context:"formatting"});case"iiiii":return r.day(n,{width:"narrow",context:"formatting"});case"iiiiii":return r.day(n,{width:"short",context:"formatting"});case"iiii":default:return r.day(n,{width:"wide",context:"formatting"})}},a:function(e,t,r){const o=e.getHours()/12>=1?"pm":"am";switch(t){case"a":case"aa":return r.dayPeriod(o,{width:"abbreviated",context:"formatting"});case"aaa":return r.dayPeriod(o,{width:"abbreviated",context:"formatting"}).toLowerCase();case"aaaaa":return r.dayPeriod(o,{width:"narrow",context:"formatting"});case"aaaa":default:return r.dayPeriod(o,{width:"wide",context:"formatting"})}},b:function(e,t,r){const n=e.getHours();let o;switch(n===12?o=pe.noon:n===0?o=pe.midnight:o=n/12>=1?"pm":"am",t){case"b":case"bb":return r.dayPeriod(o,{width:"abbreviated",context:"formatting"});case"bbb":return r.dayPeriod(o,{width:"abbreviated",context:"formatting"}).toLowerCase();case"bbbbb":return r.dayPeriod(o,{width:"narrow",context:"formatting"});case"bbbb":default:return r.dayPeriod(o,{width:"wide",context:"formatting"})}},B:function(e,t,r){const n=e.getHours();let o;switch(n>=17?o=pe.evening:n>=12?o=pe.afternoon:n>=4?o=pe.morning:o=pe.night,t){case"B":case"BB":case"BBB":return r.dayPeriod(o,{width:"abbreviated",context:"formatting"});case"BBBBB":return r.dayPeriod(o,{width:"narrow",context:"formatting"});case"BBBB":default:return r.dayPeriod(o,{width:"wide",context:"formatting"})}},h:function(e,t,r){if(t==="ho"){let n=e.getHours()%12;return n===0&&(n=12),r.ordinalNumber(n,{unit:"hour"})}return ee.h(e,t)},H:function(e,t,r){return t==="Ho"?r.ordinalNumber(e.getHours(),{unit:"hour"}):ee.H(e,t)},K:function(e,t,r){const n=e.getHours()%12;return t==="Ko"?r.ordinalNumber(n,{unit:"hour"}):w(n,t.length)},k:function(e,t,r){let n=e.getHours();return n===0&&(n=24),t==="ko"?r.ordinalNumber(n,{unit:"hour"}):w(n,t.length)},m:function(e,t,r){return t==="mo"?r.ordinalNumber(e.getMinutes(),{unit:"minute"}):ee.m(e,t)},s:function(e,t,r){return t==="so"?r.ordinalNumber(e.getSeconds(),{unit:"second"}):ee.s(e,t)},S:function(e,t){return ee.S(e,t)},X:function(e,t,r){const n=e.getTimezoneOffset();if(n===0)return"Z";switch(t){case"X":return Ct(n);case"XXXX":case"XX":return ue(n);case"XXXXX":case"XXX":default:return ue(n,":")}},x:function(e,t,r){const n=e.getTimezoneOffset();switch(t){case"x":return Ct(n);case"xxxx":case"xx":return ue(n);case"xxxxx":case"xxx":default:return ue(n,":")}},O:function(e,t,r){const n=e.getTimezoneOffset();switch(t){case"O":case"OO":case"OOO":return"GMT"+Rt(n,":");case"OOOO":default:return"GMT"+ue(n,":")}},z:function(e,t,r){const n=e.getTimezoneOffset();switch(t){case"z":case"zz":case"zzz":return"GMT"+Rt(n,":");case"zzzz":default:return"GMT"+ue(n,":")}},t:function(e,t,r){const n=Math.trunc(+e/1e3);return w(n,t.length)},T:function(e,t,r){return w(+e,t.length)}};function Rt(e,t=""){const r=e>0?"-":"+",n=Math.abs(e),o=Math.trunc(n/60),s=n%60;return s===0?r+String(o):r+String(o)+t+w(s,2)}function Ct(e,t){return e%60===0?(e>0?"-":"+")+w(Math.abs(e)/60,2):ue(e,t)}function ue(e,t=""){const r=e>0?"-":"+",n=Math.abs(e),o=w(Math.trunc(n/60),2),s=w(n%60,2);return r+o+t+s}const Dt=(e,t)=>{switch(e){case"P":return t.date({width:"short"});case"PP":return t.date({width:"medium"});case"PPP":return t.date({width:"long"});case"PPPP":default:return t.date({width:"full"})}},mn=(e,t)=>{switch(e){case"p":return t.time({width:"short"});case"pp":return t.time({width:"medium"});case"ppp":return t.time({width:"long"});case"pppp":default:return t.time({width:"full"})}},xa=(e,t)=>{const r=e.match(/(P+)(p+)?/)||[],n=r[1],o=r[2];if(!o)return Dt(e,t);let s;switch(n){case"P":s=t.dateTime({width:"short"});break;case"PP":s=t.dateTime({width:"medium"});break;case"PPP":s=t.dateTime({width:"long"});break;case"PPPP":default:s=t.dateTime({width:"full"});break}return s.replace("{{date}}",Dt(n,t)).replace("{{time}}",mn(o,t))},ga={p:mn,P:xa},ba=/^D+$/,ya=/^Y+$/,va=["D","DD","YY","YYYY"];function wa(e){return ba.test(e)}function ja(e){return ya.test(e)}function Ea(e,t,r){const n=ka(e,t,r);if(console.warn(n),va.includes(e))throw new RangeError(n)}function ka(e,t,r){const n=e[0]==="Y"?"years":"days of the month";return`Use \`${e.toLowerCase()}\` instead of \`${e}\` (in \`${t}\`) for formatting ${n} to the input \`${r}\`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md`}const Sa=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,Ra=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,Ca=/^'([^]*?)'?$/,Da=/''/g,Na=/[a-zA-Z]/;function ct(e,t,r){const n=Ke(),o=r?.locale??n.locale??la,s=r?.firstWeekContainsDate??r?.locale?.options?.firstWeekContainsDate??n.firstWeekContainsDate??n.locale?.options?.firstWeekContainsDate??1,c=r?.weekStartsOn??r?.locale?.options?.weekStartsOn??n.weekStartsOn??n.locale?.options?.weekStartsOn??0,d=$(e,r?.in);if(!Pr(d))throw new RangeError("Invalid time value");let u=t.match(Ra).map(f=>{const m=f[0];if(m==="p"||m==="P"){const g=ga[m];return g(f,o.formatLong)}return f}).join("").match(Sa).map(f=>{if(f==="''")return{isToken:!1,value:"'"};const m=f[0];if(m==="'")return{isToken:!1,value:Ma(f)};if(St[m])return{isToken:!0,value:f};if(m.match(Na))throw new RangeError("Format string contains an unescaped latin alphabet character `"+m+"`");return{isToken:!1,value:f}});o.localize.preprocessor&&(u=o.localize.preprocessor(d,u));const h={firstWeekContainsDate:s,weekStartsOn:c,locale:o};return u.map(f=>{if(!f.isToken)return f.value;const m=f.value;(!r?.useAdditionalWeekYearTokens&&ja(m)||!r?.useAdditionalDayOfYearTokens&&wa(m))&&Ea(m,t,String(e));const g=St[m[0]];return g(d,m,o.localize,h)}).join("")}function Ma(e){const t=e.match(Ca);return t?t[1].replace(Da,"'"):e}function ze({...e}){return a.jsxRuntimeExports.jsx(Ze.Root,{"data-slot":"popover",...e})}function Ie({...e}){return a.jsxRuntimeExports.jsx(Ze.Trigger,{"data-slot":"popover-trigger",...e})}function Ye({className:e,align:t="center",sideOffset:r=4,...n}){return a.jsxRuntimeExports.jsx(Ze.Content,{"data-slot":"popover-content",align:t,sideOffset:r,className:a.cn("bg-popover 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 z-50 w-72 origin-(--radix-popover-content-transform-origin) rounded-md border p-4 shadow-md outline-hidden",e),...n})}function Pa({...e}){return a.jsxRuntimeExports.jsx(Ze.Anchor,{"data-slot":"popover-anchor",...e})}function Ta({value:e,onChange:t=()=>{},locale:r}){const[n,o]=D.useState(e);return a.jsxRuntimeExports.jsxs(ze,{children:[a.jsxRuntimeExports.jsx(Ie,{asChild:!0,children:a.jsxRuntimeExports.jsxs(a.Button,{variant:"outline",className:a.cn("justify-start text-left font-normal cursor-pointer h-8 border-dashed",!n&&"text-muted-foreground"),children:[a.jsxRuntimeExports.jsx(R.Calendar,{className:"mr-2 h-4 w-4"}),n?ct(new Z.TZDate(n.toString(),"UTC"),"dd 'de' MMMM 'de' yyyy",{locale:r}):a.jsxRuntimeExports.jsx("span",{children:"Selecione uma data"})]})}),a.jsxRuntimeExports.jsx(Ye,{className:"w-auto p-0",children:a.jsxRuntimeExports.jsx(gt,{mode:"single",captionLayout:"dropdown",timeZone:"UTC",selected:n,defaultMonth:e?new Z.TZDate(e.toString()):new Z.TZDate,onSelect:s=>{console.log(s),o(s),t(s)},endMonth:new Z.TZDate(2099,11)})})]})}function Oa({locale:e,value:t,onChange:r=()=>{}}){const[n,o]=D.useState(t);return a.jsxRuntimeExports.jsxs(ze,{children:[a.jsxRuntimeExports.jsx(Ie,{asChild:!0,children:a.jsxRuntimeExports.jsxs(a.Button,{variant:"outline",className:a.cn("justify-start text-left font-normal cursor-pointer h-8 border-dashed",!n&&"text-muted-foreground"),children:[a.jsxRuntimeExports.jsx(R.Calendar,{className:"mr-2 h-4 w-4"}),n?.from&&n?.to?`${ct(n.from,"dd/MM/yy")} - ${ct(n.to,"dd/MM/yy")}`:a.jsxRuntimeExports.jsx("span",{children:"Selecione um período"})]})}),a.jsxRuntimeExports.jsx(Ye,{className:"w-auto p-0",children:a.jsxRuntimeExports.jsx(gt,{mode:"range",selected:n,onSelect:s=>{s&&(o(s),r(s))},locale:e,captionLayout:"dropdown",endMonth:new Z.TZDate(2099,11),numberOfMonths:1,className:"rounded-lg border shadow-sm"})})]})}const fn=mt.cva("inline-flex items-center justify-center rounded-md border px-2 py-0.5 text-xs font-medium w-fit whitespace-nowrap shrink-0 [&>svg]:size-3 gap-1 [&>svg]:pointer-events-none focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:ring-[3px] aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive transition-[color,box-shadow] overflow-hidden",{variants:{variant:{default:"border-transparent bg-primary text-primary-foreground [a&]:hover:bg-primary/90",secondary:"border-transparent bg-secondary text-secondary-foreground [a&]:hover:bg-secondary/90",destructive:"border-transparent bg-destructive text-white [a&]:hover:bg-destructive/90 focus-visible:ring-destructive/20 dark:focus-visible:ring-destructive/40 dark:bg-destructive/60",outline:"text-foreground [a&]:hover:bg-accent [a&]:hover:text-accent-foreground"}},defaultVariants:{variant:"default"}});function Be({className:e,variant:t,asChild:r=!1,...n}){const o=r?lt.Slot:"span";return a.jsxRuntimeExports.jsx(o,{"data-slot":"badge",className:a.cn(fn({variant:t}),e),...n})}function _a({className:e,...t}){return a.jsxRuntimeExports.jsx("div",{"data-slot":"card",className:a.cn("bg-card text-card-foreground flex flex-col gap-6 rounded-xl border py-6 shadow-sm",e),...t})}function Fa({className:e,...t}){return a.jsxRuntimeExports.jsx("div",{"data-slot":"card-header",className:a.cn("@container/card-header grid auto-rows-min grid-rows-[auto_auto] items-start gap-1.5 px-6 has-data-[slot=card-action]:grid-cols-[1fr_auto] [.border-b]:pb-6",e),...t})}function Wa({className:e,...t}){return a.jsxRuntimeExports.jsx("div",{"data-slot":"card-title",className:a.cn("leading-none font-semibold",e),...t})}function za({className:e,...t}){return a.jsxRuntimeExports.jsx("div",{"data-slot":"card-description",className:a.cn("text-muted-foreground text-sm",e),...t})}function Ia({className:e,...t}){return a.jsxRuntimeExports.jsx("div",{"data-slot":"card-action",className:a.cn("col-start-2 row-span-2 row-start-1 self-start justify-self-end",e),...t})}function Ya({className:e,...t}){return a.jsxRuntimeExports.jsx("div",{"data-slot":"card-content",className:a.cn("px-6",e),...t})}function La({className:e,...t}){return a.jsxRuntimeExports.jsx("div",{"data-slot":"card-footer",className:a.cn("flex items-center px-6 [.border-t]:pt-6",e),...t})}function qa({className:e,...t}){return a.jsxRuntimeExports.jsx(wt.Root,{"data-slot":"checkbox",className:a.cn("peer border-input dark:bg-input/30 data-[state=checked]:bg-primary data-[state=checked]:text-primary-foreground dark:data-[state=checked]:bg-primary data-[state=checked]:border-primary focus-visible:border-ring focus-visible:ring-ring/50 aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive size-4 shrink-0 rounded-[4px] border shadow-xs transition-shadow outline-none focus-visible:ring-[3px] disabled:cursor-not-allowed disabled:opacity-50",e),...t,children:a.jsxRuntimeExports.jsx(wt.Indicator,{"data-slot":"checkbox-indicator",className:"flex items-center justify-center text-current transition-none",children:a.jsxRuntimeExports.jsx(R.CheckIcon,{className:"size-3.5"})})})}function Ha({...e}){return a.jsxRuntimeExports.jsx(ft.Root,{"data-slot":"collapsible",...e})}function $a({...e}){return a.jsxRuntimeExports.jsx(ft.CollapsibleTrigger,{"data-slot":"collapsible-trigger",...e})}function Ba({...e}){return a.jsxRuntimeExports.jsx(ft.CollapsibleContent,{"data-slot":"collapsible-content",...e})}function hn({...e}){return a.jsxRuntimeExports.jsx(J.Root,{"data-slot":"dialog",...e})}function Aa({...e}){return a.jsxRuntimeExports.jsx(J.Trigger,{"data-slot":"dialog-trigger",...e})}function pn({...e}){return a.jsxRuntimeExports.jsx(J.Portal,{"data-slot":"dialog-portal",...e})}function Ga({...e}){return a.jsxRuntimeExports.jsx(J.Close,{"data-slot":"dialog-close",...e})}function xn({className:e,...t}){return a.jsxRuntimeExports.jsx(J.Overlay,{"data-slot":"dialog-overlay",className:a.cn("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",e),...t})}function gn({className:e,children:t,showCloseButton:r=!0,...n}){return a.jsxRuntimeExports.jsxs(pn,{"data-slot":"dialog-portal",children:[a.jsxRuntimeExports.jsx(xn,{}),a.jsxRuntimeExports.jsxs(J.Content,{"data-slot":"dialog-content",className:a.cn("bg-background 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-[50%] left-[50%] z-50 grid w-full max-w-[calc(100%-2rem)] translate-x-[-50%] translate-y-[-50%] gap-4 rounded-lg border p-6 shadow-lg duration-200 sm:max-w-lg",e),...n,children:[t,r&&a.jsxRuntimeExports.jsxs(J.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:[a.jsxRuntimeExports.jsx(R.XIcon,{}),a.jsxRuntimeExports.jsx("span",{className:"sr-only",children:"Close"})]})]})]})}function bn({className:e,...t}){return a.jsxRuntimeExports.jsx("div",{"data-slot":"dialog-header",className:a.cn("flex flex-col gap-2 text-center sm:text-left",e),...t})}function Ua({className:e,...t}){return a.jsxRuntimeExports.jsx("div",{"data-slot":"dialog-footer",className:a.cn("flex flex-col-reverse gap-2 sm:flex-row sm:justify-end",e),...t})}function yn({className:e,...t}){return a.jsxRuntimeExports.jsx(J.Title,{"data-slot":"dialog-title",className:a.cn("text-lg leading-none font-semibold",e),...t})}function vn({className:e,...t}){return a.jsxRuntimeExports.jsx(J.Description,{"data-slot":"dialog-description",className:a.cn("text-muted-foreground text-sm",e),...t})}function et({className:e,...t}){return a.jsxRuntimeExports.jsx(fe.Command,{"data-slot":"command",className:a.cn("bg-popover text-popover-foreground flex h-full w-full flex-col overflow-hidden rounded-md",e),...t})}function Va({title:e="Command Palette",description:t="Search for a command to run...",children:r,className:n,showCloseButton:o=!0,...s}){return a.jsxRuntimeExports.jsxs(hn,{...s,children:[a.jsxRuntimeExports.jsxs(bn,{className:"sr-only",children:[a.jsxRuntimeExports.jsx(yn,{children:e}),a.jsxRuntimeExports.jsx(vn,{children:t})]}),a.jsxRuntimeExports.jsx(gn,{className:a.cn("overflow-hidden p-0",n),showCloseButton:o,children:a.jsxRuntimeExports.jsx(et,{className:"[&_[cmdk-group-heading]]:text-muted-foreground **:data-[slot=command-input-wrapper]:h-12 [&_[cmdk-group-heading]]:px-2 [&_[cmdk-group-heading]]:font-medium [&_[cmdk-group]]:px-2 [&_[cmdk-group]:not([hidden])_~[cmdk-group]]:pt-0 [&_[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:r})})]})}function bt({className:e,...t}){return a.jsxRuntimeExports.jsxs("div",{"data-slot":"command-input-wrapper",className:"flex h-9 items-center gap-2 border-b px-3",children:[a.jsxRuntimeExports.jsx(R.SearchIcon,{className:"size-4 shrink-0 opacity-50"}),a.jsxRuntimeExports.jsx(fe.Command.Input,{"data-slot":"command-input",className:a.cn("placeholder:text-muted-foreground flex h-10 w-full rounded-md bg-transparent py-3 text-sm outline-hidden disabled:cursor-not-allowed disabled:opacity-50",e),...t})]})}function yt({className:e,...t}){return a.jsxRuntimeExports.jsx(fe.Command.List,{"data-slot":"command-list",className:a.cn("max-h-[300px] scroll-py-1 overflow-x-hidden overflow-y-auto",e),...t})}function vt({...e}){return a.jsxRuntimeExports.jsx(fe.Command.Empty,{"data-slot":"command-empty",className:"py-6 text-center text-sm",...e})}function Xe({className:e,...t}){return a.jsxRuntimeExports.jsx(fe.Command.Group,{"data-slot":"command-group",className:a.cn("text-foreground [&_[cmdk-group-heading]]:text-muted-foreground overflow-hidden p-1 [&_[cmdk-group-heading]]:px-2 [&_[cmdk-group-heading]]:py-1.5 [&_[cmdk-group-heading]]:text-xs [&_[cmdk-group-heading]]:font-medium",e),...t})}function wn({className:e,...t}){return a.jsxRuntimeExports.jsx(fe.Command.Separator,{"data-slot":"command-separator",className:a.cn("bg-border -mx-1 h-px",e),...t})}function Qe({className:e,...t}){return a.jsxRuntimeExports.jsx(fe.Command.Item,{"data-slot":"command-item",className:a.cn("data-[selected=true]:bg-accent data-[selected=true]:text-accent-foreground [&_svg:not([class*='text-'])]:text-muted-foreground relative flex cursor-default items-center gap-2 rounded-sm px-2 py-1.5 text-sm outline-hidden select-none data-[disabled=true]:pointer-events-none data-[disabled=true]:opacity-50 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",e),...t})}function Xa({className:e,...t}){return a.jsxRuntimeExports.jsx("span",{"data-slot":"command-shortcut",className:a.cn("text-muted-foreground ml-auto text-xs tracking-widest",e),...t})}function Qa({data:e=[],placeholder:t="Selecione um item...",value:r,...n}){const[o,s]=W.useState(!1);let c=-1;r&&(c=e.findIndex(h=>h.value===r));const[d,u]=W.useState(c);return a.jsxRuntimeExports.jsxs(ze,{open:o,onOpenChange:s,children:[a.jsxRuntimeExports.jsx(Ie,{asChild:!0,children:a.jsxRuntimeExports.jsxs(a.Button,{variant:"outline",role:"combobox","aria-expanded":o,className:"justify-between",disabled:n.disabled,children:[d>-1?e[d].label:a.jsxRuntimeExports.jsx("div",{className:"text-sm text-foreground opacity-50 font-normal",children:t}),a.jsxRuntimeExports.jsx(R.ChevronsUpDown,{className:"opacity-50"})]})}),a.jsxRuntimeExports.jsx(Ye,{className:" lg:w-[654px] md:w-[558px] p-0",children:a.jsxRuntimeExports.jsxs(et,{children:[a.jsxRuntimeExports.jsx(bt,{placeholder:t,className:"h-9 opacity-50",...n}),a.jsxRuntimeExports.jsxs(yt,{children:[a.jsxRuntimeExports.jsx(vt,{children:"Nenhum registro encontrado."}),a.jsxRuntimeExports.jsx(Xe,{children:e?.map(h=>a.jsxRuntimeExports.jsxs(Qe,{disabled:n.disabled,value:h.label,onSelect:f=>{const m=e.findIndex(g=>g.label===f);u(m),typeof n.onValueChange=="function"&&n.onValueChange(e[m].value),s(!1)},children:[h.label,a.jsxRuntimeExports.jsx(R.Check,{className:a.cn("ml-auto",h.value===e[d]?.value?"opacity-100":"opacity-0")})]},h.value))})]})]})})]})}function jn({className:e,orientation:t="horizontal",decorative:r=!0,...n}){return a.jsxRuntimeExports.jsx(ir.Root,{"data-slot":"separator",decorative:r,orientation:t,className:a.cn("bg-border shrink-0 data-[orientation=horizontal]:h-px data-[orientation=horizontal]:w-full data-[orientation=vertical]:h-full data-[orientation=vertical]:w-px",e),...n})}function Za({column:e,title:t,options:r,onChange:n,onOpenStateChange:o,value:s=[]}){const c=e?.getFacetedUniqueValues(),d=[...s];return a.jsxRuntimeExports.jsxs(ze,{onOpenChange:u=>{typeof o=="function"&&o(u,d)},children:[a.jsxRuntimeExports.jsx(Ie,{asChild:!0,children:a.jsxRuntimeExports.jsxs(a.Button,{variant:"outline",size:"sm",className:"h-8 border-dashed",children:[a.jsxRuntimeExports.jsx(R.PlusCircle,{}),t,d?.length>0&&a.jsxRuntimeExports.jsxs(a.jsxRuntimeExports.Fragment,{children:[a.jsxRuntimeExports.jsx(jn,{orientation:"vertical",className:"mx-2 h-4"}),a.jsxRuntimeExports.jsx(Be,{variant:"secondary",className:"rounded-sm px-1 font-normal lg:hidden",children:d.length}),a.jsxRuntimeExports.jsx("div",{className:"hidden gap-1 lg:flex",children:d.length>2?a.jsxRuntimeExports.jsxs(Be,{variant:"secondary",className:"rounded-sm px-1 font-normal",children:[d.length," selecionado"]}):r.filter(u=>d.includes(u.value)).map(u=>a.jsxRuntimeExports.jsx(Be,{variant:"secondary",className:"rounded-sm px-1 font-normal",children:u.label},u.value))})]})]})}),a.jsxRuntimeExports.jsx(Ye,{className:"w-[200px] p-0",align:"start",children:a.jsxRuntimeExports.jsxs(et,{children:[a.jsxRuntimeExports.jsx(bt,{placeholder:t}),a.jsxRuntimeExports.jsxs(yt,{children:[a.jsxRuntimeExports.jsx(vt,{children:"Nenhum resultado encontrado."}),a.jsxRuntimeExports.jsx(Xe,{children:r.map(u=>{const h=d.includes(u.value);return a.jsxRuntimeExports.jsxs(Qe,{onSelect:()=>{let f=[...d];h?f=f.filter(g=>g!==u.value):f.push(u.value),typeof n=="function"&&n(f);const m=Array.from(f);e?.setFilterValue(m.length?m:void 0)},children:[a.jsxRuntimeExports.jsx("div",{className:a.cn("flex size-4 items-center justify-center rounded-[4px] border",h?"bg-primary border-primary text-primary-foreground":"border-input [&_svg]:invisible"),children:a.jsxRuntimeExports.jsx(R.Check,{className:"text-primary-foreground size-3.5"})}),u.icon&&a.jsxRuntimeExports.jsx(u.icon,{className:"text-muted-foreground size-4"}),a.jsxRuntimeExports.jsx("span",{children:u.label}),c?.get(u.value)&&a.jsxRuntimeExports.jsx("span",{className:"text-muted-foreground ml-auto flex size-4 items-center justify-center font-mono text-xs",children:c.get(u.value)})]},u.value)})}),d.length>0&&a.jsxRuntimeExports.jsxs(a.jsxRuntimeExports.Fragment,{children:[a.jsxRuntimeExports.jsx(wn,{}),a.jsxRuntimeExports.jsx(Xe,{children:a.jsxRuntimeExports.jsx(Qe,{onSelect:()=>{e?.setFilterValue(void 0),typeof n=="function"&&n([])},className:"justify-center text-center",children:"Limpar Filtro"})})]})]})]})})]})}const Ja=Ae.FormProvider,En=W.createContext({}),Ka=({...e})=>a.jsxRuntimeExports.jsx(En.Provider,{value:{name:e.name},children:a.jsxRuntimeExports.jsx(Ae.Controller,{...e})}),Le=()=>{const e=W.useContext(En),t=W.useContext(kn),{getFieldState:r}=Ae.useFormContext(),n=Ae.useFormState({name:e.name}),o=r(e.name,n);if(!e)throw new Error("useFormField should be used within <FormField>");const{id:s}=t;return{id:s,name:e.name,formItemId:`${s}-form-item`,formDescriptionId:`${s}-form-item-description`,formMessageId:`${s}-form-item-message`,...o}},kn=W.createContext({});function eo({className:e,...t}){const r=W.useId();return a.jsxRuntimeExports.jsx(kn.Provider,{value:{id:r},children:a.jsxRuntimeExports.jsx("div",{"data-slot":"form-item",className:a.cn("grid gap-2",e),...t})})}function to({className:e,...t}){const{error:r,formItemId:n}=Le();return a.jsxRuntimeExports.jsx(pt,{"data-slot":"form-label","data-error":!!r,className:a.cn("data-[error=true]:text-destructive",e),htmlFor:n,...t})}function no({...e}){const{error:t,formItemId:r,formDescriptionId:n,formMessageId:o}=Le();return a.jsxRuntimeExports.jsx(lt.Slot,{"data-slot":"form-control",id:r,"aria-describedby":t?`${n} ${o}`:`${n}`,"aria-invalid":!!t,...e})}function ro({className:e,...t}){const{formDescriptionId:r}=Le();return a.jsxRuntimeExports.jsx("p",{"data-slot":"form-description",id:r,className:a.cn("text-muted-foreground text-sm",e),...t})}function ao({className:e,...t}){const{error:r,formMessageId:n}=Le(),o=r?String(r?.message??""):t.children;return o?a.jsxRuntimeExports.jsx("p",{"data-slot":"form-message",id:n,className:a.cn("text-destructive text-sm",e),...t,children:o}):null}function Sn({className:e,...t}){return a.jsxRuntimeExports.jsx("div",{"data-slot":"skeleton",className:a.cn("bg-accent animate-pulse rounded-md",e),...t})}const oo=({...e})=>{const{theme:t="system"}=rr.useTheme();return a.jsxRuntimeExports.jsx(Bt.Toaster,{theme:t,className:"toaster group",style:{"--normal-bg":"var(--popover)","--normal-text":"var(--popover-foreground)","--normal-border":"var(--border)"},...e})};function so({className:e,...t}){return a.jsxRuntimeExports.jsx(Je.Root,{"data-slot":"tabs",className:a.cn("flex flex-col gap-2",e),...t})}function io({className:e,...t}){return a.jsxRuntimeExports.jsx(Je.List,{"data-slot":"tabs-list",className:a.cn("bg-muted text-muted-foreground inline-flex h-9 w-fit items-center justify-center rounded-lg p-[3px]",e),...t})}function co({className:e,...t}){return a.jsxRuntimeExports.jsx(Je.Trigger,{"data-slot":"tabs-trigger",className:a.cn("data-[state=active]:bg-background dark:data-[state=active]:text-foreground focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:outline-ring dark:data-[state=active]:border-input dark:data-[state=active]:bg-input/30 text-foreground dark:text-muted-foreground inline-flex h-[calc(100%-1px)] flex-1 items-center justify-center gap-1.5 rounded-md border border-transparent px-2 py-1 text-sm font-medium whitespace-nowrap transition-[color,box-shadow] focus-visible:ring-[3px] focus-visible:outline-1 disabled:pointer-events-none disabled:opacity-50 data-[state=active]:shadow-sm [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",e),...t})}function uo({className:e,...t}){return a.jsxRuntimeExports.jsx(Je.Content,{"data-slot":"tabs-content",className:a.cn("flex-1 outline-none",e),...t})}function lo({className:e,...t}){return a.jsxRuntimeExports.jsx("textarea",{"data-slot":"textarea",className:a.cn("border-input placeholder:text-muted-foreground focus-visible:border-ring focus-visible:ring-ring/50 aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive dark:bg-input/30 flex field-sizing-content min-h-16 w-full rounded-md border bg-transparent px-3 py-2 text-base shadow-xs transition-[color,box-shadow] outline-none focus-visible:ring-[3px] disabled:cursor-not-allowed disabled:opacity-50 md:text-sm",e),...t})}function mo({user:e}){const t=e?.username,r=t?t.substring(0,2):"";return e.id===""?a.jsxRuntimeExports.jsx(Sn,{className:"h-9 w-9 rounded-4xl"}):a.jsxRuntimeExports.jsx("div",{className:"rounded-full w-9 h-9 justify-center text-xs cursor-default uppercase items-center flex flex-col bg-amber-400 border-2 border-black",children:r})}const fo={light:"",dark:".dark"},Rn=W.createContext(null);function Cn(){const e=W.useContext(Rn);if(!e)throw new Error("useChart must be used within a <ChartContainer />");return e}function ho({id:e,className:t,children:r,config:n,...o}){const s=W.useId(),c=`chart-${e||s.replace(/:/g,"")}`;return a.jsxRuntimeExports.jsx(Rn.Provider,{value:{config:n},children:a.jsxRuntimeExports.jsxs("div",{"data-slot":"chart","data-chart":c,className:a.cn("[&_.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-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 flex aspect-video justify-center text-xs [&_.recharts-dot[stroke='#fff']]:stroke-transparent [&_.recharts-layer]:outline-hidden [&_.recharts-sector]:outline-hidden [&_.recharts-sector[stroke='#fff']]:stroke-transparent [&_.recharts-surface]:outline-hidden",t),...o,children:[a.jsxRuntimeExports.jsx(Dn,{id:c,config:n}),a.jsxRuntimeExports.jsx(ht.ResponsiveContainer,{children:r})]})})}const Dn=({id:e,config:t})=>{const r=Object.entries(t).filter(([,n])=>n.theme||n.color);return r.length?a.jsxRuntimeExports.jsx("style",{dangerouslySetInnerHTML:{__html:Object.entries(fo).map(([n,o])=>`
2
- ${o} [data-chart=${e}] {
3
- ${r.map(([s,c])=>{const d=c.theme?.[n]||c.color;return d?` --color-${s}: ${d};`:null}).join(`
1
+ "use client";"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const u=require("./Button-BZQNLEhf.cjs"),Ao=require("@radix-ui/react-dropdown-menu"),Q=require("lucide-react"),B=require("react"),ae=require("@tabler/icons-react"),We=require("@dnd-kit/sortable"),Fo=require("@dnd-kit/utilities"),oe=require("@tanstack/react-table"),ne=require("@dnd-kit/core"),sr=require("@radix-ui/react-slot"),G=require("class-variance-authority"),Io=require("tailwind-merge"),Mo=require("@radix-ui/react-select"),Vo=require("@dnd-kit/modifiers");require("@sigtes/hooks");const Wo=require("@radix-ui/react-label"),ie=require("react-day-picker"),Uo=require("@radix-ui/react-popover"),Lo=require("@radix-ui/react-checkbox"),Yo=require("@radix-ui/react-collapsible"),Xo=require("@radix-ui/react-dialog"),de=require("cmdk"),Jo=require("@radix-ui/react-separator"),ht=require("react-hook-form"),Ho=require("next-themes"),Kn=require("sonner"),Go=require("@radix-ui/react-tabs"),Ko=require("recharts");function te(r){const n=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(r){for(const s in r)if(s!=="default"){const c=Object.getOwnPropertyDescriptor(r,s);Object.defineProperty(n,s,c.get?c:{enumerable:!0,get:()=>r[s]})}}return n.default=r,Object.freeze(n)}const Z=te(Ao),N=te(B),ee=te(Mo),Bo=te(Wo),Rt=te(Uo),vr=te(Lo),lr=te(Yo),se=te(Xo),qo=te(Jo),Et=te(Go),cr=te(Ko);function nr({...r}){return u.jsxRuntimeExports.jsx(Z.Root,{"data-slot":"dropdown-menu",...r})}function Qo({...r}){return u.jsxRuntimeExports.jsx(Z.Portal,{"data-slot":"dropdown-menu-portal",...r})}function kt({...r}){return u.jsxRuntimeExports.jsx(Z.Trigger,{"data-slot":"dropdown-menu-trigger",...r})}function or({className:r,sideOffset:n=4,...s}){return u.jsxRuntimeExports.jsx(Z.Portal,{children:u.jsxRuntimeExports.jsx(Z.Content,{"data-slot":"dropdown-menu-content",sideOffset:n,className:u.cn("bg-popover 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 z-50 max-h-(--radix-dropdown-menu-content-available-height) min-w-[8rem] origin-(--radix-dropdown-menu-content-transform-origin) overflow-x-hidden overflow-y-auto rounded-md border p-1 shadow-md",r),...s})})}function Zo({...r}){return u.jsxRuntimeExports.jsx(Z.Group,{"data-slot":"dropdown-menu-group",...r})}function ea({className:r,inset:n,variant:s="default",...c}){return u.jsxRuntimeExports.jsx(Z.Item,{"data-slot":"dropdown-menu-item","data-inset":n,"data-variant":s,className:u.cn("focus:bg-accent focus:text-accent-foreground data-[variant=destructive]:text-destructive data-[variant=destructive]:focus:bg-destructive/10 dark:data-[variant=destructive]:focus:bg-destructive/20 data-[variant=destructive]:focus:text-destructive data-[variant=destructive]:*:[svg]:!text-destructive [&_svg:not([class*='text-'])]:text-muted-foreground relative flex cursor-default items-center gap-2 rounded-sm px-2 py-1.5 text-sm outline-hidden select-none data-[disabled]:pointer-events-none data-[disabled]:opacity-50 data-[inset]:pl-8 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",r),...c})}function Bn({className:r,children:n,checked:s,...c}){return u.jsxRuntimeExports.jsxs(Z.CheckboxItem,{"data-slot":"dropdown-menu-checkbox-item",className:u.cn("focus:bg-accent focus:text-accent-foreground relative flex cursor-default items-center gap-2 rounded-sm py-1.5 pr-2 pl-8 text-sm outline-hidden select-none data-[disabled]:pointer-events-none data-[disabled]:opacity-50 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",r),checked:s,...c,children:[u.jsxRuntimeExports.jsx("span",{className:"pointer-events-none absolute left-2 flex size-3.5 items-center justify-center",children:u.jsxRuntimeExports.jsx(Z.ItemIndicator,{children:u.jsxRuntimeExports.jsx(Q.CheckIcon,{className:"size-4"})})}),n]})}function qn({...r}){return u.jsxRuntimeExports.jsx(Z.RadioGroup,{"data-slot":"dropdown-menu-radio-group",...r})}function Qn({className:r,children:n,...s}){return u.jsxRuntimeExports.jsxs(Z.RadioItem,{"data-slot":"dropdown-menu-radio-item",className:u.cn("focus:bg-accent focus:text-accent-foreground relative flex cursor-default items-center gap-2 rounded-sm py-1.5 pr-2 pl-8 text-sm outline-hidden select-none data-[disabled]:pointer-events-none data-[disabled]:opacity-50 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",r),...s,children:[u.jsxRuntimeExports.jsx("span",{className:"pointer-events-none absolute left-2 flex size-3.5 items-center justify-center",children:u.jsxRuntimeExports.jsx(Z.ItemIndicator,{children:u.jsxRuntimeExports.jsx(Q.CircleIcon,{className:"size-2 fill-current"})})}),n]})}function ta({className:r,inset:n,...s}){return u.jsxRuntimeExports.jsx(Z.Label,{"data-slot":"dropdown-menu-label","data-inset":n,className:u.cn("px-2 py-1.5 text-sm font-medium data-[inset]:pl-8",r),...s})}function ra({className:r,...n}){return u.jsxRuntimeExports.jsx(Z.Separator,{"data-slot":"dropdown-menu-separator",className:u.cn("bg-border -mx-1 my-1 h-px",r),...n})}function na({className:r,...n}){return u.jsxRuntimeExports.jsx("span",{"data-slot":"dropdown-menu-shortcut",className:u.cn("text-muted-foreground ml-auto text-xs tracking-widest",r),...n})}function oa({...r}){return u.jsxRuntimeExports.jsx(Z.Sub,{"data-slot":"dropdown-menu-sub",...r})}function aa({className:r,inset:n,children:s,...c}){return u.jsxRuntimeExports.jsxs(Z.SubTrigger,{"data-slot":"dropdown-menu-sub-trigger","data-inset":n,className:u.cn("focus:bg-accent focus:text-accent-foreground data-[state=open]:bg-accent data-[state=open]:text-accent-foreground flex cursor-default items-center rounded-sm px-2 py-1.5 text-sm outline-hidden select-none data-[inset]:pl-8",r),...c,children:[s,u.jsxRuntimeExports.jsx(Q.ChevronRightIcon,{className:"ml-auto size-4"})]})}function ia({className:r,...n}){return u.jsxRuntimeExports.jsx(Z.SubContent,{"data-slot":"dropdown-menu-sub-content",className:u.cn("bg-popover 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 z-50 min-w-[8rem] origin-(--radix-dropdown-menu-content-transform-origin) overflow-hidden rounded-md border p-1 shadow-lg",r),...n})}function sa(){return u.jsxRuntimeExports.jsx(kt,{asChild:!0,children:u.jsxRuntimeExports.jsxs(u.Button,{variant:"ghost",className:"data-[state=open]:bg-muted text-muted-foreground flex size-8 p-0",size:"icon",children:[u.jsxRuntimeExports.jsx(ae.IconDotsVertical,{className:"size-4"}),u.jsxRuntimeExports.jsx("span",{className:"sr-only",children:"Abrir Menu"})]})})}function Zn({row:r,onRowClick:n=()=>{}}){const{transform:s,transition:c,setNodeRef:l,isDragging:d}=We.useSortable({id:r.original.id});return u.jsxRuntimeExports.jsx(jt,{"data-state":r.getIsSelected()&&"selected","data-dragging":d,ref:l,style:{transform:Fo.CSS.Transform.toString(s),transition:c,cursor:"grab"},onClick:()=>{n(r.original)},children:r.getVisibleCells().map(f=>u.jsxRuntimeExports.jsx(dr,{className:"cursor-pointer",children:oe.flexRender(f.column.columnDef.cell,f.getContext())},f.id))})}function eo({className:r,type:n,...s}){return u.jsxRuntimeExports.jsx("input",{type:n,"data-slot":"input",className:u.cn("file:text-foreground placeholder:text-muted-foreground selection:bg-primary selection:text-primary-foreground dark:bg-input/30 border-input flex h-9 w-full min-w-0 rounded-md border bg-transparent px-3 py-1 text-base shadow-xs transition-[color,box-shadow] outline-none file:inline-flex file:h-7 file:border-0 file:bg-transparent file:text-sm file:font-medium disabled:pointer-events-none disabled:cursor-not-allowed disabled:opacity-50 md:text-sm","focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:ring-[3px]","aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive",r),...s})}function to({...r}){return u.jsxRuntimeExports.jsx(ee.Root,{"data-slot":"select",...r})}function la({...r}){return u.jsxRuntimeExports.jsx(ee.Group,{"data-slot":"select-group",...r})}function ro({...r}){return u.jsxRuntimeExports.jsx(ee.Value,{"data-slot":"select-value",...r})}function no({className:r,size:n="default",children:s,...c}){return u.jsxRuntimeExports.jsxs(ee.Trigger,{"data-slot":"select-trigger","data-size":n,className:u.cn("border-input data-[placeholder]:text-muted-foreground [&_svg:not([class*='text-'])]:text-muted-foreground focus-visible:border-ring focus-visible:ring-ring/50 aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive dark:bg-input/30 dark:hover:bg-input/50 flex w-fit items-center justify-between gap-2 rounded-md border bg-transparent px-3 py-2 text-sm whitespace-nowrap shadow-xs transition-[color,box-shadow] outline-none focus-visible:ring-[3px] disabled:cursor-not-allowed disabled:opacity-50 data-[size=default]:h-9 data-[size=sm]:h-8 *:data-[slot=select-value]:line-clamp-1 *:data-[slot=select-value]:flex *:data-[slot=select-value]:items-center *:data-[slot=select-value]:gap-2 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",r),...c,children:[s,u.jsxRuntimeExports.jsx(ee.Icon,{asChild:!0,children:u.jsxRuntimeExports.jsx(Q.ChevronDownIcon,{className:"size-4 opacity-50"})})]})}function oo({className:r,children:n,position:s="popper",...c}){return u.jsxRuntimeExports.jsx(ee.Portal,{children:u.jsxRuntimeExports.jsxs(ee.Content,{"data-slot":"select-content",className:u.cn("bg-popover 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 relative z-50 max-h-(--radix-select-content-available-height) min-w-[8rem] origin-(--radix-select-content-transform-origin) overflow-x-hidden overflow-y-auto rounded-md border shadow-md",s==="popper"&&"data-[side=bottom]:translate-y-1 data-[side=left]:-translate-x-1 data-[side=right]:translate-x-1 data-[side=top]:-translate-y-1",r),position:s,...c,children:[u.jsxRuntimeExports.jsx(io,{}),u.jsxRuntimeExports.jsx(ee.Viewport,{className:u.cn("p-1",s==="popper"&&"h-[var(--radix-select-trigger-height)] w-full min-w-[var(--radix-select-trigger-width)] scroll-my-1"),children:n}),u.jsxRuntimeExports.jsx(so,{})]})})}function ca({className:r,...n}){return u.jsxRuntimeExports.jsx(ee.Label,{"data-slot":"select-label",className:u.cn("text-muted-foreground px-2 py-1.5 text-xs",r),...n})}function ao({className:r,children:n,...s}){return u.jsxRuntimeExports.jsxs(ee.Item,{"data-slot":"select-item",className:u.cn("focus:bg-accent focus:text-accent-foreground [&_svg:not([class*='text-'])]:text-muted-foreground relative flex w-full cursor-default items-center gap-2 rounded-sm py-1.5 pr-8 pl-2 text-sm outline-hidden select-none data-[disabled]:pointer-events-none data-[disabled]:opacity-50 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4 *:[span]:last:flex *:[span]:last:items-center *:[span]:last:gap-2",r),...s,children:[u.jsxRuntimeExports.jsx("span",{className:"absolute right-2 flex size-3.5 items-center justify-center",children:u.jsxRuntimeExports.jsx(ee.ItemIndicator,{children:u.jsxRuntimeExports.jsx(Q.CheckIcon,{className:"size-4"})})}),u.jsxRuntimeExports.jsx(ee.ItemText,{children:n})]})}function ua({className:r,...n}){return u.jsxRuntimeExports.jsx(ee.Separator,{"data-slot":"select-separator",className:u.cn("bg-border pointer-events-none -mx-1 my-1 h-px",r),...n})}function io({className:r,...n}){return u.jsxRuntimeExports.jsx(ee.ScrollUpButton,{"data-slot":"select-scroll-up-button",className:u.cn("flex cursor-default items-center justify-center py-1",r),...n,children:u.jsxRuntimeExports.jsx(Q.ChevronUpIcon,{className:"size-4"})})}function so({className:r,...n}){return u.jsxRuntimeExports.jsx(ee.ScrollDownButton,{"data-slot":"select-scroll-down-button",className:u.cn("flex cursor-default items-center justify-center py-1",r),...n,children:u.jsxRuntimeExports.jsx(Q.ChevronDownIcon,{className:"size-4"})})}function ur({className:r,...n}){return u.jsxRuntimeExports.jsx(Bo.Root,{"data-slot":"label",className:u.cn("flex items-center gap-2 text-sm leading-none font-medium select-none group-data-[disabled=true]:pointer-events-none group-data-[disabled=true]:opacity-50 peer-disabled:cursor-not-allowed peer-disabled:opacity-50",r),...n})}function da({data:r,columns:n,getRowId:s,onRowOrderChange:c,onRowClick:l=()=>{},tableKey:d,Actions:f,defaultColumnFilter:p}){const g=`tablePageSize_${d}`,O=`tableColumnVisibility_${d}`,[x,h]=B.useState(()=>{if(typeof window>"u")return{};const b=localStorage.getItem(O);return b?JSON.parse(b):{}}),[E,v]=B.useState({pageIndex:0,pageSize:Number(typeof window<"u"&&localStorage.getItem(g))||10}),z=B.useId(),I=ne.useSensors(ne.useSensor(ne.MouseSensor,{}),ne.useSensor(ne.TouchSensor,{}),ne.useSensor(ne.KeyboardSensor,{})),y=B.useMemo(()=>r?.map(({id:b})=>b)||[],[r]),[V,M]=B.useState(r),[F,W]=B.useState({}),[L,U]=B.useState([]),[Y,X]=B.useState([]);B.useEffect(()=>{M(r)},[r]),B.useEffect(()=>{localStorage.setItem(O,JSON.stringify(x))},[x,O]),B.useEffect(()=>{localStorage.setItem(g,String(E.pageSize))},[E.pageSize,g]);function k({columns:b}){let R=!1;for(const P of b)if(P.id==="drag"){R=!0;break}const T={id:"drag"};return R?[...b]:[T,...b]}function J(b){const{active:R,over:T}=b;R&&T&&R.id!==T.id&&M(P=>{const $=P.findIndex(t=>t.id===R.id),D=P.findIndex(t=>t.id===T.id),e=We.arrayMove(P,$,D);return c&&c(e),e})}const A=oe.useReactTable({data:V,columns:k({columns:n}),state:{sorting:Y,columnVisibility:x,rowSelection:F,columnFilters:L,pagination:E},getRowId:s,enableRowSelection:!0,onRowSelectionChange:W,onSortingChange:X,onColumnFiltersChange:U,onColumnVisibilityChange:h,onPaginationChange:v,getCoreRowModel:oe.getCoreRowModel(),getFilteredRowModel:oe.getFilteredRowModel(),getPaginationRowModel:oe.getPaginationRowModel(),getSortedRowModel:oe.getSortedRowModel(),getFacetedRowModel:oe.getFacetedRowModel(),getFacetedUniqueValues:oe.getFacetedUniqueValues()});function j(){const b=A.getAllColumns()[1].columnDef;return String(b.id)?String(b.id):String(b.header)}const[C,H]=B.useState(p??j());return u.jsxRuntimeExports.jsxs("div",{children:[u.jsxRuntimeExports.jsxs("div",{className:"flex items-center justify-between px-4 lg:px-6 mb-5 gap-2",children:[u.jsxRuntimeExports.jsxs("div",{className:"relative w-full h-8",children:[u.jsxRuntimeExports.jsx(Q.Search,{className:"absolute left-3 top-1/2 w-4 -translate-y-1/2 text-muted-foreground"}),u.jsxRuntimeExports.jsx(eo,{type:"text",placeholder:"",className:"pl-10 h-8",value:A.getColumn(C)?.getFilterValue()??"",onChange:b=>{A.getColumn(C)?.setFilterValue(b.target.value)}})]}),u.jsxRuntimeExports.jsxs("div",{className:"flex items-center gap-2",children:[u.jsxRuntimeExports.jsxs(nr,{children:[u.jsxRuntimeExports.jsx(kt,{asChild:!0,children:u.jsxRuntimeExports.jsxs(u.Button,{variant:"outline",size:"sm",children:[u.jsxRuntimeExports.jsx(Q.FilterIcon,{}),u.jsxRuntimeExports.jsx("span",{className:"sm:hidden lg:inline",children:C||"Filtro"}),u.jsxRuntimeExports.jsx("span",{className:"lg:hidden",children:C||"Filtro"}),u.jsxRuntimeExports.jsx(ae.IconChevronDown,{})]})}),u.jsxRuntimeExports.jsx(or,{align:"end",className:"w-56",children:u.jsxRuntimeExports.jsx(qn,{value:C,onValueChange:b=>{U([]),H(b)},children:A.getAllColumns().filter(b=>typeof b.accessorFn<"u"&&b.getCanHide()).map(b=>{const R=b.columnDef.id?String(b.columnDef.id):String(b.columnDef.header);return u.jsxRuntimeExports.jsx(Qn,{value:R,children:R},R)})})})]}),u.jsxRuntimeExports.jsxs(nr,{children:[u.jsxRuntimeExports.jsx(kt,{asChild:!0,children:u.jsxRuntimeExports.jsxs(u.Button,{variant:"outline",size:"sm",children:[u.jsxRuntimeExports.jsx(ae.IconLayoutColumns,{}),u.jsxRuntimeExports.jsx("span",{className:"hidden lg:inline",children:"Colunas"}),u.jsxRuntimeExports.jsx("span",{className:"lg:hidden",children:"Colunas"}),u.jsxRuntimeExports.jsx(ae.IconChevronDown,{})]})}),u.jsxRuntimeExports.jsx(or,{align:"end",className:"w-56",children:A.getAllColumns().filter(b=>typeof b.accessorFn<"u"&&b.getCanHide()).map(b=>u.jsxRuntimeExports.jsx(Bn,{className:"capitalize",checked:b.getIsVisible(),onCheckedChange:R=>{b.toggleVisibility(!!R)},children:b.columnDef.id?String(b.columnDef.id):String(b.columnDef.header)},b.id))})]}),f]})]}),u.jsxRuntimeExports.jsxs("div",{className:"relative flex flex-col gap-4 overflow-auto px-4 lg:px-6",children:[u.jsxRuntimeExports.jsx("div",{className:"overflow-hidden rounded-lg border",children:u.jsxRuntimeExports.jsx(ne.DndContext,{collisionDetection:ne.closestCenter,modifiers:[Vo.restrictToVerticalAxis],onDragEnd:J,sensors:I,id:z,children:u.jsxRuntimeExports.jsxs(lo,{children:[u.jsxRuntimeExports.jsx(co,{className:"sticky top-0 z-10",children:A.getHeaderGroups().map(b=>u.jsxRuntimeExports.jsx(jt,{children:b.headers.map(R=>u.jsxRuntimeExports.jsx(fo,{colSpan:R.colSpan,children:R.isPlaceholder?null:oe.flexRender(R.column.columnDef.header,R.getContext())},R.id))},b.id))}),u.jsxRuntimeExports.jsx(We.SortableContext,{items:y,strategy:We.verticalListSortingStrategy,children:u.jsxRuntimeExports.jsx(uo,{className:"**:data-[slot=table-cell]:first:w-8",children:A.getRowModel().rows?.length?A.getRowModel().rows.map(b=>u.jsxRuntimeExports.jsx(Zn,{row:b,onRowClick:l},b.id)):u.jsxRuntimeExports.jsx(jt,{children:u.jsxRuntimeExports.jsx(dr,{colSpan:n.length,className:"h-24 text-center",children:"Nenhum Resultado."})})})})]})})}),u.jsxRuntimeExports.jsxs("div",{className:"flex items-center justify-between px-4",children:[u.jsxRuntimeExports.jsxs("div",{className:"text-muted-foreground hidden flex-1 text-sm lg:flex",children:[A.getFilteredSelectedRowModel().rows.length," de"," ",A.getFilteredRowModel().rows.length," linhas selecionadas."]}),u.jsxRuntimeExports.jsxs("div",{className:"flex w-full items-center gap-8 lg:w-fit",children:[u.jsxRuntimeExports.jsxs("div",{className:"hidden items-center gap-2 lg:flex",children:[u.jsxRuntimeExports.jsx(ur,{htmlFor:"rows-per-page",className:"text-sm font-medium",children:"linhas por paginas"}),u.jsxRuntimeExports.jsxs(to,{value:`${A.getState().pagination.pageSize}`,onValueChange:b=>{A.setPageSize(Number(b))},children:[u.jsxRuntimeExports.jsx(no,{size:"sm",className:"w-20",id:"rows-per-page",children:u.jsxRuntimeExports.jsx(ro,{placeholder:A.getState().pagination.pageSize})}),u.jsxRuntimeExports.jsx(oo,{side:"top",children:[10,20,30,40,50].map(b=>u.jsxRuntimeExports.jsx(ao,{value:`${b}`,children:b},b))})]})]}),u.jsxRuntimeExports.jsxs("div",{className:"flex w-fit items-center justify-center text-sm font-medium",children:["Página ",A.getState().pagination.pageIndex+1," de"," ",A.getPageCount()]}),u.jsxRuntimeExports.jsxs("div",{className:"ml-auto flex items-center gap-2 lg:ml-0",children:[u.jsxRuntimeExports.jsxs(u.Button,{variant:"outline",className:"hidden h-8 w-8 p-0 lg:flex",onClick:()=>A.setPageIndex(0),disabled:!A.getCanPreviousPage(),children:[u.jsxRuntimeExports.jsx("span",{className:"sr-only",children:"Go to first page"}),u.jsxRuntimeExports.jsx(ae.IconChevronsLeft,{})]}),u.jsxRuntimeExports.jsxs(u.Button,{variant:"outline",className:"size-8",size:"icon",onClick:()=>A.previousPage(),disabled:!A.getCanPreviousPage(),children:[u.jsxRuntimeExports.jsx("span",{className:"sr-only",children:"Go to previous page"}),u.jsxRuntimeExports.jsx(ae.IconChevronLeft,{})]}),u.jsxRuntimeExports.jsxs(u.Button,{variant:"outline",className:"size-8",size:"icon",onClick:()=>A.nextPage(),disabled:!A.getCanNextPage(),children:[u.jsxRuntimeExports.jsx("span",{className:"sr-only",children:"Go to next page"}),u.jsxRuntimeExports.jsx(ae.IconChevronRight,{})]}),u.jsxRuntimeExports.jsxs(u.Button,{variant:"outline",className:"hidden size-8 lg:flex",size:"icon",onClick:()=>A.setPageIndex(A.getPageCount()-1),disabled:!A.getCanNextPage(),children:[u.jsxRuntimeExports.jsx("span",{className:"sr-only",children:"Go to last page"}),u.jsxRuntimeExports.jsx(ae.IconChevronsRight,{})]})]})]})]})]})]})}function fa({id:r}){const{attributes:n,listeners:s}=We.useSortable({id:r});return u.jsxRuntimeExports.jsxs(u.Button,{...n,...s,variant:"ghost",size:"icon",className:"text-muted-foreground size-7 hover:bg-transparent cursor-pointer",children:[u.jsxRuntimeExports.jsx(ae.IconGripVertical,{className:"text-muted-foreground size-3"}),u.jsxRuntimeExports.jsx("span",{className:"sr-only",children:"Drag to reorder"})]})}function lo({className:r,...n}){return u.jsxRuntimeExports.jsx("div",{"data-slot":"table-container",className:"relative w-full overflow-x-auto",children:u.jsxRuntimeExports.jsx("table",{"data-slot":"table",className:u.cn("w-full caption-bottom text-sm",r),...n})})}function co({className:r,...n}){return u.jsxRuntimeExports.jsx("thead",{"data-slot":"table-header",className:u.cn("[&_tr]:border-b",r),...n})}function uo({className:r,...n}){return u.jsxRuntimeExports.jsx("tbody",{"data-slot":"table-body",className:u.cn("[&_tr:last-child]:border-0",r),...n})}function pa({className:r,...n}){return u.jsxRuntimeExports.jsx("tfoot",{"data-slot":"table-footer",className:u.cn("bg-muted/50 border-t font-medium [&>tr]:last:border-b-0",r),...n})}function jt({className:r,...n}){return u.jsxRuntimeExports.jsx("tr",{"data-slot":"table-row",className:u.cn("hover:bg-muted/50 data-[state=selected]:bg-muted border-b transition-colors",r),...n})}function fo({className:r,...n}){return u.jsxRuntimeExports.jsx("th",{"data-slot":"table-head",className:u.cn("text-foreground h-10 px-2 text-left align-middle font-medium whitespace-nowrap [&:has([role=checkbox])]:pr-0 [&>[role=checkbox]]:translate-y-[2px]",r),...n})}function dr({className:r,...n}){return u.jsxRuntimeExports.jsx("td",{"data-slot":"table-cell",className:u.cn("p-2 align-middle whitespace-nowrap [&:has([role=checkbox])]:pr-0 [&>[role=checkbox]]:translate-y-[2px]",r),...n})}function ma({className:r,...n}){return u.jsxRuntimeExports.jsx("caption",{"data-slot":"table-caption",className:u.cn("text-muted-foreground mt-4 text-sm",r),...n})}function fr({className:r,classNames:n,showOutsideDays:s=!0,captionLayout:c="label",buttonVariant:l="ghost",formatters:d,components:f,...p}){const g=ie.getDefaultClassNames();return u.jsxRuntimeExports.jsx(ie.DayPicker,{showOutsideDays:s,className:u.cn("bg-background group/calendar p-3 [--cell-size:--spacing(8)] [[data-slot=card-content]_&]:bg-transparent [[data-slot=popover-content]_&]:bg-transparent",String.raw`rtl:**:[.rdp-button\_next>svg]:rotate-180`,String.raw`rtl:**:[.rdp-button\_previous>svg]:rotate-180`,r),captionLayout:c,formatters:{formatMonthDropdown:O=>O.toLocaleString("default",{month:"short"}),...d},classNames:{root:u.cn("w-fit",g.root),months:u.cn("flex gap-4 flex-col md:flex-row relative",g.months),month:u.cn("flex flex-col w-full gap-4",g.month),nav:u.cn("flex items-center gap-1 w-full absolute top-0 inset-x-0 justify-between",g.nav),button_previous:u.cn(u.buttonVariants({variant:l}),"size-(--cell-size) aria-disabled:opacity-50 p-0 select-none",g.button_previous),button_next:u.cn(u.buttonVariants({variant:l}),"size-(--cell-size) aria-disabled:opacity-50 p-0 select-none",g.button_next),month_caption:u.cn("flex items-center justify-center h-(--cell-size) w-full px-(--cell-size)",g.month_caption),dropdowns:u.cn("w-full flex items-center text-sm font-medium justify-center h-(--cell-size) gap-1.5",g.dropdowns),dropdown_root:u.cn("relative has-focus:border-ring border border-input shadow-xs has-focus:ring-ring/50 has-focus:ring-[3px] rounded-md",g.dropdown_root),dropdown:u.cn("absolute bg-popover inset-0 opacity-0",g.dropdown),caption_label:u.cn("select-none font-medium",c==="label"?"text-sm":"rounded-md pl-2 pr-1 flex items-center gap-1 text-sm h-8 [&>svg]:text-muted-foreground [&>svg]:size-3.5",g.caption_label),table:"w-full border-collapse",weekdays:u.cn("flex",g.weekdays),weekday:u.cn("text-muted-foreground rounded-md flex-1 font-normal text-[0.8rem] select-none",g.weekday),week:u.cn("flex w-full mt-2",g.week),week_number_header:u.cn("select-none w-(--cell-size)",g.week_number_header),week_number:u.cn("text-[0.8rem] select-none text-muted-foreground",g.week_number),day:u.cn("relative w-full h-full p-0 text-center [&:first-child[data-selected=true]_button]:rounded-l-md [&:last-child[data-selected=true]_button]:rounded-r-md group/day aspect-square select-none",g.day),range_start:u.cn("rounded-l-md bg-accent",g.range_start),range_middle:u.cn("rounded-none",g.range_middle),range_end:u.cn("rounded-r-md bg-accent",g.range_end),today:u.cn("bg-accent text-accent-foreground rounded-md data-[selected=true]:rounded-none",g.today),outside:u.cn("text-muted-foreground aria-selected:text-muted-foreground",g.outside),disabled:u.cn("text-muted-foreground opacity-50",g.disabled),hidden:u.cn("invisible",g.hidden),...n},components:{Root:({className:O,rootRef:x,...h})=>u.jsxRuntimeExports.jsx("div",{"data-slot":"calendar",ref:x,className:u.cn(O),...h}),Chevron:({className:O,orientation:x,...h})=>x==="left"?u.jsxRuntimeExports.jsx(Q.ChevronLeftIcon,{className:u.cn("size-4",O),...h}):x==="right"?u.jsxRuntimeExports.jsx(Q.ChevronRightIcon,{className:u.cn("size-4",O),...h}):u.jsxRuntimeExports.jsx(Q.ChevronDownIcon,{className:u.cn("size-4",O),...h}),DayButton:po,WeekNumber:({children:O,...x})=>u.jsxRuntimeExports.jsx("td",{...x,children:u.jsxRuntimeExports.jsx("div",{className:"flex size-(--cell-size) items-center justify-center text-center",children:O})}),...f},...p})}function po({className:r,day:n,modifiers:s,...c}){const l=ie.getDefaultClassNames(),d=B.useRef(null);return B.useEffect(()=>{s.focused&&d.current?.focus()},[s.focused]),u.jsxRuntimeExports.jsx(u.Button,{ref:d,variant:"ghost",size:"icon","data-day":n.date.toLocaleDateString(),"data-selected-single":s.selected&&!s.range_start&&!s.range_end&&!s.range_middle,"data-range-start":s.range_start,"data-range-end":s.range_end,"data-range-middle":s.range_middle,className:u.cn("data-[selected-single=true]:bg-primary data-[selected-single=true]:text-primary-foreground data-[range-middle=true]:bg-accent data-[range-middle=true]:text-accent-foreground data-[range-start=true]:bg-primary data-[range-start=true]:text-primary-foreground data-[range-end=true]:bg-primary data-[range-end=true]:text-primary-foreground group-data-[focused=true]/day:border-ring group-data-[focused=true]/day:ring-ring/50 dark:hover:text-accent-foreground flex aspect-square size-auto w-full min-w-(--cell-size) flex-col gap-1 leading-none font-normal group-data-[focused=true]/day:relative group-data-[focused=true]/day:z-10 group-data-[focused=true]/day:ring-[3px] data-[range-end=true]:rounded-md data-[range-end=true]:rounded-r-md data-[range-middle=true]:rounded-none data-[range-start=true]:rounded-md data-[range-start=true]:rounded-l-md [&>span]:text-xs [&>span]:opacity-70",l.day,r),...c})}const mo=6048e5,ba=864e5,yr=Symbol.for("constructDateFrom");function ce(r,n){return typeof r=="function"?r(n):r&&typeof r=="object"&&yr in r?r[yr](n):r instanceof Date?new r.constructor(n):new Date(n)}function re(r,n){return ce(n||r,r)}let va={};function Nt(){return va}function Ue(r,n){const s=Nt(),c=n?.weekStartsOn??n?.locale?.options?.weekStartsOn??s.weekStartsOn??s.locale?.options?.weekStartsOn??0,l=re(r,n?.in),d=l.getDay(),f=(d<c?7:0)+d-c;return l.setDate(l.getDate()-f),l.setHours(0,0,0,0),l}function wt(r,n){return Ue(r,{...n,weekStartsOn:1})}function bo(r,n){const s=re(r,n?.in),c=s.getFullYear(),l=ce(s,0);l.setFullYear(c+1,0,4),l.setHours(0,0,0,0);const d=wt(l),f=ce(s,0);f.setFullYear(c,0,4),f.setHours(0,0,0,0);const p=wt(f);return s.getTime()>=d.getTime()?c+1:s.getTime()>=p.getTime()?c:c-1}function gr(r){const n=re(r),s=new Date(Date.UTC(n.getFullYear(),n.getMonth(),n.getDate(),n.getHours(),n.getMinutes(),n.getSeconds(),n.getMilliseconds()));return s.setUTCFullYear(n.getFullYear()),+r-+s}function ya(r,...n){const s=ce.bind(null,n.find(c=>typeof c=="object"));return n.map(s)}function xr(r,n){const s=re(r,n?.in);return s.setHours(0,0,0,0),s}function ga(r,n,s){const[c,l]=ya(s?.in,r,n),d=xr(c),f=xr(l),p=+d-gr(d),g=+f-gr(f);return Math.round((p-g)/ba)}function xa(r,n){const s=bo(r,n),c=ce(r,0);return c.setFullYear(s,0,4),c.setHours(0,0,0,0),wt(c)}function ha(r){return r instanceof Date||typeof r=="object"&&Object.prototype.toString.call(r)==="[object Date]"}function ka(r){return!(!ha(r)&&typeof r!="number"||isNaN(+re(r)))}function ja(r,n){const s=re(r,n?.in);return s.setFullYear(s.getFullYear(),0,1),s.setHours(0,0,0,0),s}const wa={lessThanXSeconds:{one:"less than a second",other:"less than {{count}} seconds"},xSeconds:{one:"1 second",other:"{{count}} seconds"},halfAMinute:"half a minute",lessThanXMinutes:{one:"less than a minute",other:"less than {{count}} minutes"},xMinutes:{one:"1 minute",other:"{{count}} minutes"},aboutXHours:{one:"about 1 hour",other:"about {{count}} hours"},xHours:{one:"1 hour",other:"{{count}} hours"},xDays:{one:"1 day",other:"{{count}} days"},aboutXWeeks:{one:"about 1 week",other:"about {{count}} weeks"},xWeeks:{one:"1 week",other:"{{count}} weeks"},aboutXMonths:{one:"about 1 month",other:"about {{count}} months"},xMonths:{one:"1 month",other:"{{count}} months"},aboutXYears:{one:"about 1 year",other:"about {{count}} years"},xYears:{one:"1 year",other:"{{count}} years"},overXYears:{one:"over 1 year",other:"over {{count}} years"},almostXYears:{one:"almost 1 year",other:"almost {{count}} years"}},_a=(r,n,s)=>{let c;const l=wa[r];return typeof l=="string"?c=l:n===1?c=l.one:c=l.other.replace("{{count}}",n.toString()),s?.addSuffix?s.comparison&&s.comparison>0?"in "+c:c+" ago":c};function Ct(r){return(n={})=>{const s=n.width?String(n.width):r.defaultWidth;return r.formats[s]||r.formats[r.defaultWidth]}}const Sa={full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},Ra={full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},Ea={full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},Na={date:Ct({formats:Sa,defaultWidth:"full"}),time:Ct({formats:Ra,defaultWidth:"full"}),dateTime:Ct({formats:Ea,defaultWidth:"full"})},Oa={lastWeek:"'last' eeee 'at' p",yesterday:"'yesterday at' p",today:"'today at' p",tomorrow:"'tomorrow at' p",nextWeek:"eeee 'at' p",other:"P"},Ca=(r,n,s,c)=>Oa[r];function pe(r){return(n,s)=>{const c=s?.context?String(s.context):"standalone";let l;if(c==="formatting"&&r.formattingValues){const f=r.defaultFormattingWidth||r.defaultWidth,p=s?.width?String(s.width):f;l=r.formattingValues[p]||r.formattingValues[f]}else{const f=r.defaultWidth,p=s?.width?String(s.width):r.defaultWidth;l=r.values[p]||r.values[f]}const d=r.argumentCallback?r.argumentCallback(n):n;return l[d]}}const Ta={narrow:["B","A"],abbreviated:["BC","AD"],wide:["Before Christ","Anno Domini"]},Pa={narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1st quarter","2nd quarter","3rd quarter","4th quarter"]},za={narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],wide:["January","February","March","April","May","June","July","August","September","October","November","December"]},$a={narrow:["S","M","T","W","T","F","S"],short:["Su","Mo","Tu","We","Th","Fr","Sa"],abbreviated:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],wide:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]},Da={narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"}},Aa={narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"}},Fa=(r,n)=>{const s=Number(r),c=s%100;if(c>20||c<10)switch(c%10){case 1:return s+"st";case 2:return s+"nd";case 3:return s+"rd"}return s+"th"},Ia={ordinalNumber:Fa,era:pe({values:Ta,defaultWidth:"wide"}),quarter:pe({values:Pa,defaultWidth:"wide",argumentCallback:r=>r-1}),month:pe({values:za,defaultWidth:"wide"}),day:pe({values:$a,defaultWidth:"wide"}),dayPeriod:pe({values:Da,defaultWidth:"wide",formattingValues:Aa,defaultFormattingWidth:"wide"})};function me(r){return(n,s={})=>{const c=s.width,l=c&&r.matchPatterns[c]||r.matchPatterns[r.defaultMatchWidth],d=n.match(l);if(!d)return null;const f=d[0],p=c&&r.parsePatterns[c]||r.parsePatterns[r.defaultParseWidth],g=Array.isArray(p)?Va(p,h=>h.test(f)):Ma(p,h=>h.test(f));let O;O=r.valueCallback?r.valueCallback(g):g,O=s.valueCallback?s.valueCallback(O):O;const x=n.slice(f.length);return{value:O,rest:x}}}function Ma(r,n){for(const s in r)if(Object.prototype.hasOwnProperty.call(r,s)&&n(r[s]))return s}function Va(r,n){for(let s=0;s<r.length;s++)if(n(r[s]))return s}function Wa(r){return(n,s={})=>{const c=n.match(r.matchPattern);if(!c)return null;const l=c[0],d=n.match(r.parsePattern);if(!d)return null;let f=r.valueCallback?r.valueCallback(d[0]):d[0];f=s.valueCallback?s.valueCallback(f):f;const p=n.slice(l.length);return{value:f,rest:p}}}const Ua=/^(\d+)(th|st|nd|rd)?/i,La=/\d+/i,Ya={narrow:/^(b|a)/i,abbreviated:/^(b\.?\s?c\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?)/i,wide:/^(before christ|before common era|anno domini|common era)/i},Xa={any:[/^b/i,/^(a|c)/i]},Ja={narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](th|st|nd|rd)? quarter/i},Ha={any:[/1/i,/2/i,/3/i,/4/i]},Ga={narrow:/^[jfmasond]/i,abbreviated:/^(jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec)/i,wide:/^(january|february|march|april|may|june|july|august|september|october|november|december)/i},Ka={narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^ja/i,/^f/i,/^mar/i,/^ap/i,/^may/i,/^jun/i,/^jul/i,/^au/i,/^s/i,/^o/i,/^n/i,/^d/i]},Ba={narrow:/^[smtwf]/i,short:/^(su|mo|tu|we|th|fr|sa)/i,abbreviated:/^(sun|mon|tue|wed|thu|fri|sat)/i,wide:/^(sunday|monday|tuesday|wednesday|thursday|friday|saturday)/i},qa={narrow:[/^s/i,/^m/i,/^t/i,/^w/i,/^t/i,/^f/i,/^s/i],any:[/^su/i,/^m/i,/^tu/i,/^w/i,/^th/i,/^f/i,/^sa/i]},Qa={narrow:/^(a|p|mi|n|(in the|at) (morning|afternoon|evening|night))/i,any:/^([ap]\.?\s?m\.?|midnight|noon|(in the|at) (morning|afternoon|evening|night))/i},Za={any:{am:/^a/i,pm:/^p/i,midnight:/^mi/i,noon:/^no/i,morning:/morning/i,afternoon:/afternoon/i,evening:/evening/i,night:/night/i}},ei={ordinalNumber:Wa({matchPattern:Ua,parsePattern:La,valueCallback:r=>parseInt(r,10)}),era:me({matchPatterns:Ya,defaultMatchWidth:"wide",parsePatterns:Xa,defaultParseWidth:"any"}),quarter:me({matchPatterns:Ja,defaultMatchWidth:"wide",parsePatterns:Ha,defaultParseWidth:"any",valueCallback:r=>r+1}),month:me({matchPatterns:Ga,defaultMatchWidth:"wide",parsePatterns:Ka,defaultParseWidth:"any"}),day:me({matchPatterns:Ba,defaultMatchWidth:"wide",parsePatterns:qa,defaultParseWidth:"any"}),dayPeriod:me({matchPatterns:Qa,defaultMatchWidth:"any",parsePatterns:Za,defaultParseWidth:"any"})},ti={code:"en-US",formatDistance:_a,formatLong:Na,formatRelative:Ca,localize:Ia,match:ei,options:{weekStartsOn:0,firstWeekContainsDate:1}};function ri(r,n){const s=re(r,n?.in);return ga(s,ja(s))+1}function ni(r,n){const s=re(r,n?.in),c=+wt(s)-+xa(s);return Math.round(c/mo)+1}function vo(r,n){const s=re(r,n?.in),c=s.getFullYear(),l=Nt(),d=n?.firstWeekContainsDate??n?.locale?.options?.firstWeekContainsDate??l.firstWeekContainsDate??l.locale?.options?.firstWeekContainsDate??1,f=ce(n?.in||r,0);f.setFullYear(c+1,0,d),f.setHours(0,0,0,0);const p=Ue(f,n),g=ce(n?.in||r,0);g.setFullYear(c,0,d),g.setHours(0,0,0,0);const O=Ue(g,n);return+s>=+p?c+1:+s>=+O?c:c-1}function oi(r,n){const s=Nt(),c=n?.firstWeekContainsDate??n?.locale?.options?.firstWeekContainsDate??s.firstWeekContainsDate??s.locale?.options?.firstWeekContainsDate??1,l=vo(r,n),d=ce(n?.in||r,0);return d.setFullYear(l,0,c),d.setHours(0,0,0,0),Ue(d,n)}function ai(r,n){const s=re(r,n?.in),c=+Ue(s,n)-+oi(s,n);return Math.round(c/mo)+1}function q(r,n){const s=r<0?"-":"",c=Math.abs(r).toString().padStart(n,"0");return s+c}const le={y(r,n){const s=r.getFullYear(),c=s>0?s:1-s;return q(n==="yy"?c%100:c,n.length)},M(r,n){const s=r.getMonth();return n==="M"?String(s+1):q(s+1,2)},d(r,n){return q(r.getDate(),n.length)},a(r,n){const s=r.getHours()/12>=1?"pm":"am";switch(n){case"a":case"aa":return s.toUpperCase();case"aaa":return s;case"aaaaa":return s[0];default:return s==="am"?"a.m.":"p.m."}},h(r,n){return q(r.getHours()%12||12,n.length)},H(r,n){return q(r.getHours(),n.length)},m(r,n){return q(r.getMinutes(),n.length)},s(r,n){return q(r.getSeconds(),n.length)},S(r,n){const s=n.length,c=r.getMilliseconds(),l=Math.trunc(c*Math.pow(10,s-3));return q(l,n.length)}},fe={midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},hr={G:function(r,n,s){const c=r.getFullYear()>0?1:0;switch(n){case"G":case"GG":case"GGG":return s.era(c,{width:"abbreviated"});case"GGGGG":return s.era(c,{width:"narrow"});default:return s.era(c,{width:"wide"})}},y:function(r,n,s){if(n==="yo"){const c=r.getFullYear(),l=c>0?c:1-c;return s.ordinalNumber(l,{unit:"year"})}return le.y(r,n)},Y:function(r,n,s,c){const l=vo(r,c),d=l>0?l:1-l;if(n==="YY"){const f=d%100;return q(f,2)}return n==="Yo"?s.ordinalNumber(d,{unit:"year"}):q(d,n.length)},R:function(r,n){const s=bo(r);return q(s,n.length)},u:function(r,n){const s=r.getFullYear();return q(s,n.length)},Q:function(r,n,s){const c=Math.ceil((r.getMonth()+1)/3);switch(n){case"Q":return String(c);case"QQ":return q(c,2);case"Qo":return s.ordinalNumber(c,{unit:"quarter"});case"QQQ":return s.quarter(c,{width:"abbreviated",context:"formatting"});case"QQQQQ":return s.quarter(c,{width:"narrow",context:"formatting"});default:return s.quarter(c,{width:"wide",context:"formatting"})}},q:function(r,n,s){const c=Math.ceil((r.getMonth()+1)/3);switch(n){case"q":return String(c);case"qq":return q(c,2);case"qo":return s.ordinalNumber(c,{unit:"quarter"});case"qqq":return s.quarter(c,{width:"abbreviated",context:"standalone"});case"qqqqq":return s.quarter(c,{width:"narrow",context:"standalone"});default:return s.quarter(c,{width:"wide",context:"standalone"})}},M:function(r,n,s){const c=r.getMonth();switch(n){case"M":case"MM":return le.M(r,n);case"Mo":return s.ordinalNumber(c+1,{unit:"month"});case"MMM":return s.month(c,{width:"abbreviated",context:"formatting"});case"MMMMM":return s.month(c,{width:"narrow",context:"formatting"});default:return s.month(c,{width:"wide",context:"formatting"})}},L:function(r,n,s){const c=r.getMonth();switch(n){case"L":return String(c+1);case"LL":return q(c+1,2);case"Lo":return s.ordinalNumber(c+1,{unit:"month"});case"LLL":return s.month(c,{width:"abbreviated",context:"standalone"});case"LLLLL":return s.month(c,{width:"narrow",context:"standalone"});default:return s.month(c,{width:"wide",context:"standalone"})}},w:function(r,n,s,c){const l=ai(r,c);return n==="wo"?s.ordinalNumber(l,{unit:"week"}):q(l,n.length)},I:function(r,n,s){const c=ni(r);return n==="Io"?s.ordinalNumber(c,{unit:"week"}):q(c,n.length)},d:function(r,n,s){return n==="do"?s.ordinalNumber(r.getDate(),{unit:"date"}):le.d(r,n)},D:function(r,n,s){const c=ri(r);return n==="Do"?s.ordinalNumber(c,{unit:"dayOfYear"}):q(c,n.length)},E:function(r,n,s){const c=r.getDay();switch(n){case"E":case"EE":case"EEE":return s.day(c,{width:"abbreviated",context:"formatting"});case"EEEEE":return s.day(c,{width:"narrow",context:"formatting"});case"EEEEEE":return s.day(c,{width:"short",context:"formatting"});default:return s.day(c,{width:"wide",context:"formatting"})}},e:function(r,n,s,c){const l=r.getDay(),d=(l-c.weekStartsOn+8)%7||7;switch(n){case"e":return String(d);case"ee":return q(d,2);case"eo":return s.ordinalNumber(d,{unit:"day"});case"eee":return s.day(l,{width:"abbreviated",context:"formatting"});case"eeeee":return s.day(l,{width:"narrow",context:"formatting"});case"eeeeee":return s.day(l,{width:"short",context:"formatting"});default:return s.day(l,{width:"wide",context:"formatting"})}},c:function(r,n,s,c){const l=r.getDay(),d=(l-c.weekStartsOn+8)%7||7;switch(n){case"c":return String(d);case"cc":return q(d,n.length);case"co":return s.ordinalNumber(d,{unit:"day"});case"ccc":return s.day(l,{width:"abbreviated",context:"standalone"});case"ccccc":return s.day(l,{width:"narrow",context:"standalone"});case"cccccc":return s.day(l,{width:"short",context:"standalone"});default:return s.day(l,{width:"wide",context:"standalone"})}},i:function(r,n,s){const c=r.getDay(),l=c===0?7:c;switch(n){case"i":return String(l);case"ii":return q(l,n.length);case"io":return s.ordinalNumber(l,{unit:"day"});case"iii":return s.day(c,{width:"abbreviated",context:"formatting"});case"iiiii":return s.day(c,{width:"narrow",context:"formatting"});case"iiiiii":return s.day(c,{width:"short",context:"formatting"});default:return s.day(c,{width:"wide",context:"formatting"})}},a:function(r,n,s){const l=r.getHours()/12>=1?"pm":"am";switch(n){case"a":case"aa":return s.dayPeriod(l,{width:"abbreviated",context:"formatting"});case"aaa":return s.dayPeriod(l,{width:"abbreviated",context:"formatting"}).toLowerCase();case"aaaaa":return s.dayPeriod(l,{width:"narrow",context:"formatting"});default:return s.dayPeriod(l,{width:"wide",context:"formatting"})}},b:function(r,n,s){const c=r.getHours();let l;switch(c===12?l=fe.noon:c===0?l=fe.midnight:l=c/12>=1?"pm":"am",n){case"b":case"bb":return s.dayPeriod(l,{width:"abbreviated",context:"formatting"});case"bbb":return s.dayPeriod(l,{width:"abbreviated",context:"formatting"}).toLowerCase();case"bbbbb":return s.dayPeriod(l,{width:"narrow",context:"formatting"});default:return s.dayPeriod(l,{width:"wide",context:"formatting"})}},B:function(r,n,s){const c=r.getHours();let l;switch(c>=17?l=fe.evening:c>=12?l=fe.afternoon:c>=4?l=fe.morning:l=fe.night,n){case"B":case"BB":case"BBB":return s.dayPeriod(l,{width:"abbreviated",context:"formatting"});case"BBBBB":return s.dayPeriod(l,{width:"narrow",context:"formatting"});default:return s.dayPeriod(l,{width:"wide",context:"formatting"})}},h:function(r,n,s){if(n==="ho"){let c=r.getHours()%12;return c===0&&(c=12),s.ordinalNumber(c,{unit:"hour"})}return le.h(r,n)},H:function(r,n,s){return n==="Ho"?s.ordinalNumber(r.getHours(),{unit:"hour"}):le.H(r,n)},K:function(r,n,s){const c=r.getHours()%12;return n==="Ko"?s.ordinalNumber(c,{unit:"hour"}):q(c,n.length)},k:function(r,n,s){let c=r.getHours();return c===0&&(c=24),n==="ko"?s.ordinalNumber(c,{unit:"hour"}):q(c,n.length)},m:function(r,n,s){return n==="mo"?s.ordinalNumber(r.getMinutes(),{unit:"minute"}):le.m(r,n)},s:function(r,n,s){return n==="so"?s.ordinalNumber(r.getSeconds(),{unit:"second"}):le.s(r,n)},S:function(r,n){return le.S(r,n)},X:function(r,n,s){const c=r.getTimezoneOffset();if(c===0)return"Z";switch(n){case"X":return jr(c);case"XXXX":case"XX":return ue(c);default:return ue(c,":")}},x:function(r,n,s){const c=r.getTimezoneOffset();switch(n){case"x":return jr(c);case"xxxx":case"xx":return ue(c);default:return ue(c,":")}},O:function(r,n,s){const c=r.getTimezoneOffset();switch(n){case"O":case"OO":case"OOO":return"GMT"+kr(c,":");default:return"GMT"+ue(c,":")}},z:function(r,n,s){const c=r.getTimezoneOffset();switch(n){case"z":case"zz":case"zzz":return"GMT"+kr(c,":");default:return"GMT"+ue(c,":")}},t:function(r,n,s){const c=Math.trunc(+r/1e3);return q(c,n.length)},T:function(r,n,s){return q(+r,n.length)}};function kr(r,n=""){const s=r>0?"-":"+",c=Math.abs(r),l=Math.trunc(c/60),d=c%60;return d===0?s+String(l):s+String(l)+n+q(d,2)}function jr(r,n){return r%60===0?(r>0?"-":"+")+q(Math.abs(r)/60,2):ue(r,n)}function ue(r,n=""){const s=r>0?"-":"+",c=Math.abs(r),l=q(Math.trunc(c/60),2),d=q(c%60,2);return s+l+n+d}const wr=(r,n)=>{switch(r){case"P":return n.date({width:"short"});case"PP":return n.date({width:"medium"});case"PPP":return n.date({width:"long"});default:return n.date({width:"full"})}},yo=(r,n)=>{switch(r){case"p":return n.time({width:"short"});case"pp":return n.time({width:"medium"});case"ppp":return n.time({width:"long"});default:return n.time({width:"full"})}},ii=(r,n)=>{const s=r.match(/(P+)(p+)?/)||[],c=s[1],l=s[2];if(!l)return wr(r,n);let d;switch(c){case"P":d=n.dateTime({width:"short"});break;case"PP":d=n.dateTime({width:"medium"});break;case"PPP":d=n.dateTime({width:"long"});break;default:d=n.dateTime({width:"full"});break}return d.replace("{{date}}",wr(c,n)).replace("{{time}}",yo(l,n))},si={p:yo,P:ii},li=/^D+$/,ci=/^Y+$/,ui=["D","DD","YY","YYYY"];function di(r){return li.test(r)}function fi(r){return ci.test(r)}function pi(r,n,s){const c=mi(r,n,s);if(console.warn(c),ui.includes(r))throw new RangeError(c)}function mi(r,n,s){const c=r[0]==="Y"?"years":"days of the month";return`Use \`${r.toLowerCase()}\` instead of \`${r}\` (in \`${n}\`) for formatting ${c} to the input \`${s}\`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md`}const bi=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,vi=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,yi=/^'([^]*?)'?$/,gi=/''/g,xi=/[a-zA-Z]/;function ar(r,n,s){const c=Nt(),l=s?.locale??c.locale??ti,d=s?.firstWeekContainsDate??s?.locale?.options?.firstWeekContainsDate??c.firstWeekContainsDate??c.locale?.options?.firstWeekContainsDate??1,f=s?.weekStartsOn??s?.locale?.options?.weekStartsOn??c.weekStartsOn??c.locale?.options?.weekStartsOn??0,p=re(r,s?.in);if(!ka(p))throw new RangeError("Invalid time value");let g=n.match(vi).map(x=>{const h=x[0];if(h==="p"||h==="P"){const E=si[h];return E(x,l.formatLong)}return x}).join("").match(bi).map(x=>{if(x==="''")return{isToken:!1,value:"'"};const h=x[0];if(h==="'")return{isToken:!1,value:hi(x)};if(hr[h])return{isToken:!0,value:x};if(h.match(xi))throw new RangeError("Format string contains an unescaped latin alphabet character `"+h+"`");return{isToken:!1,value:x}});l.localize.preprocessor&&(g=l.localize.preprocessor(p,g));const O={firstWeekContainsDate:d,weekStartsOn:f,locale:l};return g.map(x=>{if(!x.isToken)return x.value;const h=x.value;(!s?.useAdditionalWeekYearTokens&&fi(h)||!s?.useAdditionalDayOfYearTokens&&di(h))&&pi(h,n,String(r));const E=hr[h[0]];return E(p,h,l.localize,O)}).join("")}function hi(r){const n=r.match(yi);return n?n[1].replace(gi,"'"):r}function Le({...r}){return u.jsxRuntimeExports.jsx(Rt.Root,{"data-slot":"popover",...r})}function Ye({...r}){return u.jsxRuntimeExports.jsx(Rt.Trigger,{"data-slot":"popover-trigger",...r})}function Xe({className:r,align:n="center",sideOffset:s=4,...c}){return u.jsxRuntimeExports.jsx(Rt.Content,{"data-slot":"popover-content",align:n,sideOffset:s,className:u.cn("bg-popover 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 z-50 w-72 origin-(--radix-popover-content-transform-origin) rounded-md border p-4 shadow-md outline-hidden",r),...c})}function ki({...r}){return u.jsxRuntimeExports.jsx(Rt.Anchor,{"data-slot":"popover-anchor",...r})}function ji({value:r,onChange:n=()=>{},locale:s}){const[c,l]=B.useState(r);return u.jsxRuntimeExports.jsxs(Le,{children:[u.jsxRuntimeExports.jsx(Ye,{asChild:!0,children:u.jsxRuntimeExports.jsxs(u.Button,{variant:"outline",className:u.cn("justify-start text-left font-normal cursor-pointer h-8 border-dashed",!c&&"text-muted-foreground"),children:[u.jsxRuntimeExports.jsx(Q.Calendar,{className:"mr-2 h-4 w-4"}),c?ar(new ie.TZDate(c.toString(),"UTC"),"dd 'de' MMMM 'de' yyyy",{locale:s}):u.jsxRuntimeExports.jsx("span",{children:"Selecione uma data"})]})}),u.jsxRuntimeExports.jsx(Xe,{className:"w-auto p-0",children:u.jsxRuntimeExports.jsx(fr,{mode:"single",captionLayout:"dropdown",timeZone:"UTC",selected:c,defaultMonth:r?new ie.TZDate(r.toString()):new ie.TZDate,onSelect:d=>{console.log(d),l(d),n(d)},endMonth:new ie.TZDate(2099,11)})})]})}function wi({locale:r,value:n,onChange:s=()=>{}}){const[c,l]=B.useState(n);return u.jsxRuntimeExports.jsxs(Le,{children:[u.jsxRuntimeExports.jsx(Ye,{asChild:!0,children:u.jsxRuntimeExports.jsxs(u.Button,{variant:"outline",className:u.cn("justify-start text-left font-normal cursor-pointer h-8 border-dashed",!c&&"text-muted-foreground"),children:[u.jsxRuntimeExports.jsx(Q.Calendar,{className:"mr-2 h-4 w-4"}),c?.from&&c?.to?`${ar(c.from,"dd/MM/yy")} - ${ar(c.to,"dd/MM/yy")}`:u.jsxRuntimeExports.jsx("span",{children:"Selecione um período"})]})}),u.jsxRuntimeExports.jsx(Xe,{className:"w-auto p-0",children:u.jsxRuntimeExports.jsx(fr,{mode:"range",selected:c,onSelect:d=>{d&&(l(d),s(d))},locale:r,captionLayout:"dropdown",endMonth:new ie.TZDate(2099,11),numberOfMonths:1,className:"rounded-lg border shadow-sm"})})]})}const go=G.cva("inline-flex items-center justify-center rounded-md border px-2 py-0.5 text-xs font-medium w-fit whitespace-nowrap shrink-0 [&>svg]:size-3 gap-1 [&>svg]:pointer-events-none focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:ring-[3px] aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive transition-[color,box-shadow] overflow-hidden",{variants:{variant:{default:"border-transparent bg-primary text-primary-foreground [a&]:hover:bg-primary/90",secondary:"border-transparent bg-secondary text-secondary-foreground [a&]:hover:bg-secondary/90",destructive:"border-transparent bg-destructive text-white [a&]:hover:bg-destructive/90 focus-visible:ring-destructive/20 dark:focus-visible:ring-destructive/40 dark:bg-destructive/60",outline:"text-foreground [a&]:hover:bg-accent [a&]:hover:text-accent-foreground"}},defaultVariants:{variant:"default"}});function xt({className:r,variant:n,asChild:s=!1,...c}){const l=s?sr.Slot:"span";return u.jsxRuntimeExports.jsx(l,{"data-slot":"badge",className:u.cn(go({variant:n}),r),...c})}function _i({className:r,...n}){return u.jsxRuntimeExports.jsx("div",{"data-slot":"card",className:u.cn("bg-card text-card-foreground flex flex-col gap-6 rounded-xl border py-6 shadow-sm",r),...n})}function Si({className:r,...n}){return u.jsxRuntimeExports.jsx("div",{"data-slot":"card-header",className:u.cn("@container/card-header grid auto-rows-min grid-rows-[auto_auto] items-start gap-1.5 px-6 has-data-[slot=card-action]:grid-cols-[1fr_auto] [.border-b]:pb-6",r),...n})}function Ri({className:r,...n}){return u.jsxRuntimeExports.jsx("div",{"data-slot":"card-title",className:u.cn("leading-none font-semibold",r),...n})}function Ei({className:r,...n}){return u.jsxRuntimeExports.jsx("div",{"data-slot":"card-description",className:u.cn("text-muted-foreground text-sm",r),...n})}function Ni({className:r,...n}){return u.jsxRuntimeExports.jsx("div",{"data-slot":"card-action",className:u.cn("col-start-2 row-span-2 row-start-1 self-start justify-self-end",r),...n})}function Oi({className:r,...n}){return u.jsxRuntimeExports.jsx("div",{"data-slot":"card-content",className:u.cn("px-6",r),...n})}function Ci({className:r,...n}){return u.jsxRuntimeExports.jsx("div",{"data-slot":"card-footer",className:u.cn("flex items-center px-6 [.border-t]:pt-6",r),...n})}function Ti({className:r,...n}){return u.jsxRuntimeExports.jsx(vr.Root,{"data-slot":"checkbox",className:u.cn("peer border-input dark:bg-input/30 data-[state=checked]:bg-primary data-[state=checked]:text-primary-foreground dark:data-[state=checked]:bg-primary data-[state=checked]:border-primary focus-visible:border-ring focus-visible:ring-ring/50 aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive size-4 shrink-0 rounded-[4px] border shadow-xs transition-shadow outline-none focus-visible:ring-[3px] disabled:cursor-not-allowed disabled:opacity-50",r),...n,children:u.jsxRuntimeExports.jsx(vr.Indicator,{"data-slot":"checkbox-indicator",className:"flex items-center justify-center text-current transition-none",children:u.jsxRuntimeExports.jsx(Q.CheckIcon,{className:"size-3.5"})})})}function Pi({...r}){return u.jsxRuntimeExports.jsx(lr.Root,{"data-slot":"collapsible",...r})}function zi({...r}){return u.jsxRuntimeExports.jsx(lr.CollapsibleTrigger,{"data-slot":"collapsible-trigger",...r})}function $i({...r}){return u.jsxRuntimeExports.jsx(lr.CollapsibleContent,{"data-slot":"collapsible-content",...r})}function xo({...r}){return u.jsxRuntimeExports.jsx(se.Root,{"data-slot":"dialog",...r})}function Di({...r}){return u.jsxRuntimeExports.jsx(se.Trigger,{"data-slot":"dialog-trigger",...r})}function ho({...r}){return u.jsxRuntimeExports.jsx(se.Portal,{"data-slot":"dialog-portal",...r})}function Ai({...r}){return u.jsxRuntimeExports.jsx(se.Close,{"data-slot":"dialog-close",...r})}function ko({className:r,...n}){return u.jsxRuntimeExports.jsx(se.Overlay,{"data-slot":"dialog-overlay",className:u.cn("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",r),...n})}function jo({className:r,children:n,showCloseButton:s=!0,...c}){return u.jsxRuntimeExports.jsxs(ho,{"data-slot":"dialog-portal",children:[u.jsxRuntimeExports.jsx(ko,{}),u.jsxRuntimeExports.jsxs(se.Content,{"data-slot":"dialog-content",className:u.cn("bg-background 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-[50%] left-[50%] z-50 grid w-full max-w-[calc(100%-2rem)] translate-x-[-50%] translate-y-[-50%] gap-4 rounded-lg border p-6 shadow-lg duration-200 sm:max-w-lg",r),...c,children:[n,s&&u.jsxRuntimeExports.jsxs(se.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:[u.jsxRuntimeExports.jsx(Q.XIcon,{}),u.jsxRuntimeExports.jsx("span",{className:"sr-only",children:"Close"})]})]})]})}function wo({className:r,...n}){return u.jsxRuntimeExports.jsx("div",{"data-slot":"dialog-header",className:u.cn("flex flex-col gap-2 text-center sm:text-left",r),...n})}function Fi({className:r,...n}){return u.jsxRuntimeExports.jsx("div",{"data-slot":"dialog-footer",className:u.cn("flex flex-col-reverse gap-2 sm:flex-row sm:justify-end",r),...n})}function _o({className:r,...n}){return u.jsxRuntimeExports.jsx(se.Title,{"data-slot":"dialog-title",className:u.cn("text-lg leading-none font-semibold",r),...n})}function So({className:r,...n}){return u.jsxRuntimeExports.jsx(se.Description,{"data-slot":"dialog-description",className:u.cn("text-muted-foreground text-sm",r),...n})}function Ot({className:r,...n}){return u.jsxRuntimeExports.jsx(de.Command,{"data-slot":"command",className:u.cn("bg-popover text-popover-foreground flex h-full w-full flex-col overflow-hidden rounded-md",r),...n})}function Ii({title:r="Command Palette",description:n="Search for a command to run...",children:s,className:c,showCloseButton:l=!0,...d}){return u.jsxRuntimeExports.jsxs(xo,{...d,children:[u.jsxRuntimeExports.jsxs(wo,{className:"sr-only",children:[u.jsxRuntimeExports.jsx(_o,{children:r}),u.jsxRuntimeExports.jsx(So,{children:n})]}),u.jsxRuntimeExports.jsx(jo,{className:u.cn("overflow-hidden p-0",c),showCloseButton:l,children:u.jsxRuntimeExports.jsx(Ot,{className:"[&_[cmdk-group-heading]]:text-muted-foreground **:data-[slot=command-input-wrapper]:h-12 [&_[cmdk-group-heading]]:px-2 [&_[cmdk-group-heading]]:font-medium [&_[cmdk-group]]:px-2 [&_[cmdk-group]:not([hidden])_~[cmdk-group]]:pt-0 [&_[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:s})})]})}function pr({className:r,...n}){return u.jsxRuntimeExports.jsxs("div",{"data-slot":"command-input-wrapper",className:"flex h-9 items-center gap-2 border-b px-3",children:[u.jsxRuntimeExports.jsx(Q.SearchIcon,{className:"size-4 shrink-0 opacity-50"}),u.jsxRuntimeExports.jsx(de.Command.Input,{"data-slot":"command-input",className:u.cn("placeholder:text-muted-foreground flex h-10 w-full rounded-md bg-transparent py-3 text-sm outline-hidden disabled:cursor-not-allowed disabled:opacity-50",r),...n})]})}function mr({className:r,...n}){return u.jsxRuntimeExports.jsx(de.Command.List,{"data-slot":"command-list",className:u.cn("max-h-[300px] scroll-py-1 overflow-x-hidden overflow-y-auto",r),...n})}function br({...r}){return u.jsxRuntimeExports.jsx(de.Command.Empty,{"data-slot":"command-empty",className:"py-6 text-center text-sm",...r})}function _t({className:r,...n}){return u.jsxRuntimeExports.jsx(de.Command.Group,{"data-slot":"command-group",className:u.cn("text-foreground [&_[cmdk-group-heading]]:text-muted-foreground overflow-hidden p-1 [&_[cmdk-group-heading]]:px-2 [&_[cmdk-group-heading]]:py-1.5 [&_[cmdk-group-heading]]:text-xs [&_[cmdk-group-heading]]:font-medium",r),...n})}function Ro({className:r,...n}){return u.jsxRuntimeExports.jsx(de.Command.Separator,{"data-slot":"command-separator",className:u.cn("bg-border -mx-1 h-px",r),...n})}function St({className:r,...n}){return u.jsxRuntimeExports.jsx(de.Command.Item,{"data-slot":"command-item",className:u.cn("data-[selected=true]:bg-accent data-[selected=true]:text-accent-foreground [&_svg:not([class*='text-'])]:text-muted-foreground relative flex cursor-default items-center gap-2 rounded-sm px-2 py-1.5 text-sm outline-hidden select-none data-[disabled=true]:pointer-events-none data-[disabled=true]:opacity-50 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",r),...n})}function Mi({className:r,...n}){return u.jsxRuntimeExports.jsx("span",{"data-slot":"command-shortcut",className:u.cn("text-muted-foreground ml-auto text-xs tracking-widest",r),...n})}function Vi({data:r=[],placeholder:n="Selecione um item...",value:s,...c}){const[l,d]=N.useState(!1);let f=-1;s&&(f=r.findIndex(O=>O.value===s));const[p,g]=N.useState(f);return u.jsxRuntimeExports.jsxs(Le,{open:l,onOpenChange:d,children:[u.jsxRuntimeExports.jsx(Ye,{asChild:!0,children:u.jsxRuntimeExports.jsxs(u.Button,{variant:"outline",role:"combobox","aria-expanded":l,className:"justify-between",disabled:c.disabled,children:[p>-1?r[p].label:u.jsxRuntimeExports.jsx("div",{className:"text-sm text-foreground opacity-50 font-normal",children:n}),u.jsxRuntimeExports.jsx(Q.ChevronsUpDown,{className:"opacity-50"})]})}),u.jsxRuntimeExports.jsx(Xe,{className:" lg:w-[654px] md:w-[558px] p-0",children:u.jsxRuntimeExports.jsxs(Ot,{children:[u.jsxRuntimeExports.jsx(pr,{placeholder:n,className:"h-9 opacity-50",...c}),u.jsxRuntimeExports.jsxs(mr,{children:[u.jsxRuntimeExports.jsx(br,{children:"Nenhum registro encontrado."}),u.jsxRuntimeExports.jsx(_t,{children:r?.map(O=>u.jsxRuntimeExports.jsxs(St,{disabled:c.disabled,value:O.label,onSelect:x=>{const h=r.findIndex(E=>E.label===x);g(h),typeof c.onValueChange=="function"&&c.onValueChange(r[h].value),d(!1)},children:[O.label,u.jsxRuntimeExports.jsx(Q.Check,{className:u.cn("ml-auto",O.value===r[p]?.value?"opacity-100":"opacity-0")})]},O.value))})]})]})})]})}function Eo({className:r,orientation:n="horizontal",decorative:s=!0,...c}){return u.jsxRuntimeExports.jsx(qo.Root,{"data-slot":"separator",decorative:s,orientation:n,className:u.cn("bg-border shrink-0 data-[orientation=horizontal]:h-px data-[orientation=horizontal]:w-full data-[orientation=vertical]:h-full data-[orientation=vertical]:w-px",r),...c})}function Wi({column:r,title:n,options:s,onChange:c,onOpenStateChange:l,value:d=[]}){const f=r?.getFacetedUniqueValues(),p=[...d];return u.jsxRuntimeExports.jsxs(Le,{onOpenChange:g=>{typeof l=="function"&&l(g,p)},children:[u.jsxRuntimeExports.jsx(Ye,{asChild:!0,children:u.jsxRuntimeExports.jsxs(u.Button,{variant:"outline",size:"sm",className:"h-8 border-dashed",children:[u.jsxRuntimeExports.jsx(Q.PlusCircle,{}),n,p?.length>0&&u.jsxRuntimeExports.jsxs(u.jsxRuntimeExports.Fragment,{children:[u.jsxRuntimeExports.jsx(Eo,{orientation:"vertical",className:"mx-2 h-4"}),u.jsxRuntimeExports.jsx(xt,{variant:"secondary",className:"rounded-sm px-1 font-normal lg:hidden",children:p.length}),u.jsxRuntimeExports.jsx("div",{className:"hidden gap-1 lg:flex",children:p.length>2?u.jsxRuntimeExports.jsxs(xt,{variant:"secondary",className:"rounded-sm px-1 font-normal",children:[p.length," selecionado"]}):s.filter(g=>p.includes(g.value)).map(g=>u.jsxRuntimeExports.jsx(xt,{variant:"secondary",className:"rounded-sm px-1 font-normal",children:g.label},g.value))})]})]})}),u.jsxRuntimeExports.jsx(Xe,{className:"w-[200px] p-0",align:"start",children:u.jsxRuntimeExports.jsxs(Ot,{children:[u.jsxRuntimeExports.jsx(pr,{placeholder:n}),u.jsxRuntimeExports.jsxs(mr,{children:[u.jsxRuntimeExports.jsx(br,{children:"Nenhum resultado encontrado."}),u.jsxRuntimeExports.jsx(_t,{children:s.map(g=>{const O=p.includes(g.value);return u.jsxRuntimeExports.jsxs(St,{onSelect:()=>{let x=[...p];O?x=x.filter(E=>E!==g.value):x.push(g.value),typeof c=="function"&&c(x);const h=Array.from(x);r?.setFilterValue(h.length?h:void 0)},children:[u.jsxRuntimeExports.jsx("div",{className:u.cn("flex size-4 items-center justify-center rounded-[4px] border",O?"bg-primary border-primary text-primary-foreground":"border-input [&_svg]:invisible"),children:u.jsxRuntimeExports.jsx(Q.Check,{className:"text-primary-foreground size-3.5"})}),g.icon&&u.jsxRuntimeExports.jsx(g.icon,{className:"text-muted-foreground size-4"}),u.jsxRuntimeExports.jsx("span",{children:g.label}),f?.get(g.value)&&u.jsxRuntimeExports.jsx("span",{className:"text-muted-foreground ml-auto flex size-4 items-center justify-center font-mono text-xs",children:f.get(g.value)})]},g.value)})}),p.length>0&&u.jsxRuntimeExports.jsxs(u.jsxRuntimeExports.Fragment,{children:[u.jsxRuntimeExports.jsx(Ro,{}),u.jsxRuntimeExports.jsx(_t,{children:u.jsxRuntimeExports.jsx(St,{onSelect:()=>{r?.setFilterValue(void 0),typeof c=="function"&&c([])},className:"justify-center text-center",children:"Limpar Filtro"})})]})]})]})})]})}const Ui=ht.FormProvider,No=N.createContext({}),Li=({...r})=>u.jsxRuntimeExports.jsx(No.Provider,{value:{name:r.name},children:u.jsxRuntimeExports.jsx(ht.Controller,{...r})}),Je=()=>{const r=N.useContext(No),n=N.useContext(Oo),{getFieldState:s}=ht.useFormContext(),c=ht.useFormState({name:r.name}),l=s(r.name,c);if(!r)throw new Error("useFormField should be used within <FormField>");const{id:d}=n;return{id:d,name:r.name,formItemId:`${d}-form-item`,formDescriptionId:`${d}-form-item-description`,formMessageId:`${d}-form-item-message`,...l}},Oo=N.createContext({});function Yi({className:r,...n}){const s=N.useId();return u.jsxRuntimeExports.jsx(Oo.Provider,{value:{id:s},children:u.jsxRuntimeExports.jsx("div",{"data-slot":"form-item",className:u.cn("grid gap-2",r),...n})})}function Xi({className:r,...n}){const{error:s,formItemId:c}=Je();return u.jsxRuntimeExports.jsx(ur,{"data-slot":"form-label","data-error":!!s,className:u.cn("data-[error=true]:text-destructive",r),htmlFor:c,...n})}function Ji({...r}){const{error:n,formItemId:s,formDescriptionId:c,formMessageId:l}=Je();return u.jsxRuntimeExports.jsx(sr.Slot,{"data-slot":"form-control",id:s,"aria-describedby":n?`${c} ${l}`:`${c}`,"aria-invalid":!!n,...r})}function Hi({className:r,...n}){const{formDescriptionId:s}=Je();return u.jsxRuntimeExports.jsx("p",{"data-slot":"form-description",id:s,className:u.cn("text-muted-foreground text-sm",r),...n})}function Gi({className:r,...n}){const{error:s,formMessageId:c}=Je(),l=s?String(s?.message??""):n.children;return l?u.jsxRuntimeExports.jsx("p",{"data-slot":"form-message",id:c,className:u.cn("text-destructive text-sm",r),...n,children:l}):null}function Co({className:r,...n}){return u.jsxRuntimeExports.jsx("div",{"data-slot":"skeleton",className:u.cn("bg-accent animate-pulse rounded-md",r),...n})}const Ki=({...r})=>{const{theme:n="system"}=Ho.useTheme();return u.jsxRuntimeExports.jsx(Kn.Toaster,{theme:n,className:"toaster group",style:{"--normal-bg":"var(--popover)","--normal-text":"var(--popover-foreground)","--normal-border":"var(--border)"},...r})};function Bi({className:r,...n}){return u.jsxRuntimeExports.jsx(Et.Root,{"data-slot":"tabs",className:u.cn("flex flex-col gap-2",r),...n})}function qi({className:r,...n}){return u.jsxRuntimeExports.jsx(Et.List,{"data-slot":"tabs-list",className:u.cn("bg-muted text-muted-foreground inline-flex h-9 w-fit items-center justify-center rounded-lg p-[3px]",r),...n})}function Qi({className:r,...n}){return u.jsxRuntimeExports.jsx(Et.Trigger,{"data-slot":"tabs-trigger",className:u.cn("data-[state=active]:bg-background dark:data-[state=active]:text-foreground focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:outline-ring dark:data-[state=active]:border-input dark:data-[state=active]:bg-input/30 text-foreground dark:text-muted-foreground inline-flex h-[calc(100%-1px)] flex-1 items-center justify-center gap-1.5 rounded-md border border-transparent px-2 py-1 text-sm font-medium whitespace-nowrap transition-[color,box-shadow] focus-visible:ring-[3px] focus-visible:outline-1 disabled:pointer-events-none disabled:opacity-50 data-[state=active]:shadow-sm [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",r),...n})}function Zi({className:r,...n}){return u.jsxRuntimeExports.jsx(Et.Content,{"data-slot":"tabs-content",className:u.cn("flex-1 outline-none",r),...n})}function es({className:r,...n}){return u.jsxRuntimeExports.jsx("textarea",{"data-slot":"textarea",className:u.cn("border-input placeholder:text-muted-foreground focus-visible:border-ring focus-visible:ring-ring/50 aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive dark:bg-input/30 flex field-sizing-content min-h-16 w-full rounded-md border bg-transparent px-3 py-2 text-base shadow-xs transition-[color,box-shadow] outline-none focus-visible:ring-[3px] disabled:cursor-not-allowed disabled:opacity-50 md:text-sm",r),...n})}function ts({user:r}){const n=r?.username,s=n?n.substring(0,2):"";return r.id===""?u.jsxRuntimeExports.jsx(Co,{className:"h-9 w-9 rounded-4xl"}):u.jsxRuntimeExports.jsx("div",{className:"rounded-full w-9 h-9 justify-center text-xs cursor-default uppercase items-center flex flex-col bg-amber-400 border-2 border-black",children:s})}const rs={light:"",dark:".dark"},To=N.createContext(null);function Po(){const r=N.useContext(To);if(!r)throw new Error("useChart must be used within a <ChartContainer />");return r}function ns({id:r,className:n,children:s,config:c,...l}){const d=N.useId(),f=`chart-${r||d.replace(/:/g,"")}`;return u.jsxRuntimeExports.jsx(To.Provider,{value:{config:c},children:u.jsxRuntimeExports.jsxs("div",{"data-slot":"chart","data-chart":f,className:u.cn("[&_.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-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 flex aspect-video justify-center text-xs [&_.recharts-dot[stroke='#fff']]:stroke-transparent [&_.recharts-layer]:outline-hidden [&_.recharts-sector]:outline-hidden [&_.recharts-sector[stroke='#fff']]:stroke-transparent [&_.recharts-surface]:outline-hidden",n),...l,children:[u.jsxRuntimeExports.jsx(zo,{id:f,config:c}),u.jsxRuntimeExports.jsx(cr.ResponsiveContainer,{children:s})]})})}const zo=({id:r,config:n})=>{const s=Object.entries(n).filter(([,c])=>c.theme||c.color);return s.length?u.jsxRuntimeExports.jsx("style",{dangerouslySetInnerHTML:{__html:Object.entries(rs).map(([c,l])=>`
2
+ ${l} [data-chart=${r}] {
3
+ ${s.map(([d,f])=>{const p=f.theme?.[c]||f.color;return p?` --color-${d}: ${p};`:null}).join(`
4
4
  `)}
5
5
  }
6
6
  `).join(`
7
- `)}}):null},po=ht.Tooltip;function xo({active:e,payload:t,className:r,indicator:n="dot",hideLabel:o=!1,hideIndicator:s=!1,label:c,labelFormatter:d,labelClassName:u,formatter:h,color:f,nameKey:m,labelKey:g}){const{config:T}=Cn(),B=W.useMemo(()=>{if(o||!t?.length)return null;const[E]=t,z=`${g||E?.dataKey||E?.name||"value"}`,Y=ut(T,E,z),M=!g&&typeof c=="string"?T[c]?.label||c:Y?.label;return d?a.jsxRuntimeExports.jsx("div",{className:a.cn("font-medium",u),children:d(M,t)}):M?a.jsxRuntimeExports.jsx("div",{className:a.cn("font-medium",u),children:M}):null},[c,d,t,o,u,T,g]);if(!e||!t?.length)return null;const O=t.length===1&&n!=="dot";return a.jsxRuntimeExports.jsxs("div",{className:a.cn("border-border/50 bg-background grid min-w-[8rem] items-start gap-1.5 rounded-lg border px-2.5 py-1.5 text-xs shadow-xl",r),children:[O?null:B,a.jsxRuntimeExports.jsx("div",{className:"grid gap-1.5",children:t.map((E,z)=>{const Y=`${m||E.name||E.dataKey||"value"}`,M=ut(T,E,Y),K=f||E.payload.fill||E.color;return a.jsxRuntimeExports.jsx("div",{className:a.cn("[&>svg]:text-muted-foreground flex w-full flex-wrap items-stretch gap-2 [&>svg]:h-2.5 [&>svg]:w-2.5",n==="dot"&&"items-center"),children:h&&E?.value!==void 0&&E.name?h(E.value,E.name,E,z,E.payload):a.jsxRuntimeExports.jsxs(a.jsxRuntimeExports.Fragment,{children:[M?.icon?a.jsxRuntimeExports.jsx(M.icon,{}):!s&&a.jsxRuntimeExports.jsx("div",{className:a.cn("shrink-0 rounded-[2px] border-(--color-border) bg-(--color-bg)",{"h-2.5 w-2.5":n==="dot","w-1":n==="line","w-0 border-[1.5px] border-dashed bg-transparent":n==="dashed","my-0.5":O&&n==="dashed"}),style:{"--color-bg":K,"--color-border":K}}),a.jsxRuntimeExports.jsxs("div",{className:a.cn("flex flex-1 justify-between leading-none",O?"items-end":"items-center"),children:[a.jsxRuntimeExports.jsxs("div",{className:"grid gap-1.5",children:[O?B:null,a.jsxRuntimeExports.jsx("span",{className:"text-muted-foreground",children:M?.label||E.name})]}),E.value&&a.jsxRuntimeExports.jsx("span",{className:"text-foreground font-mono font-medium tabular-nums",children:E.value.toLocaleString()})]})]})},E.dataKey)})})]})}const go=ht.Legend;function bo({className:e,hideIcon:t=!1,payload:r,verticalAlign:n="bottom",nameKey:o}){const{config:s}=Cn();return r?.length?a.jsxRuntimeExports.jsx("div",{className:a.cn("flex items-center justify-center gap-4",n==="top"?"pb-3":"pt-3",e),children:r.map(c=>{const d=`${o||c.dataKey||"value"}`,u=ut(s,c,d);return a.jsxRuntimeExports.jsxs("div",{className:a.cn("[&>svg]:text-muted-foreground flex items-center gap-1.5 [&>svg]:h-3 [&>svg]:w-3"),children:[u?.icon&&!t?a.jsxRuntimeExports.jsx(u.icon,{}):a.jsxRuntimeExports.jsx("div",{className:"h-2 w-2 shrink-0 rounded-[2px]",style:{backgroundColor:c.color}}),u?.label]},c.value)})}):null}function ut(e,t,r){if(typeof t!="object"||t===null)return;const n="payload"in t&&typeof t.payload=="object"&&t.payload!==null?t.payload:void 0;let o=r;return r in t&&typeof t[r]=="string"?o=t[r]:n&&r in n&&typeof n[r]=="string"&&(o=n[r]),o in e?e[o]:e[r]}var rt={exports:{}},Re={};/**
8
- * @license React
9
- * react-jsx-runtime.production.js
10
- *
11
- * Copyright (c) Meta Platforms, Inc. and affiliates.
12
- *
13
- * This source code is licensed under the MIT license found in the
14
- * LICENSE file in the root directory of this source tree.
15
- */var Nt;function yo(){if(Nt)return Re;Nt=1;var e=Symbol.for("react.transitional.element"),t=Symbol.for("react.fragment");function r(n,o,s){var c=null;if(s!==void 0&&(c=""+s),o.key!==void 0&&(c=""+o.key),"key"in o){s={};for(var d in o)d!=="key"&&(s[d]=o[d])}else s=o;return o=s.ref,{$$typeof:e,type:n,key:c,ref:o!==void 0?o:null,props:s}}return Re.Fragment=t,Re.jsx=r,Re.jsxs=r,Re}var He={};/**
16
- * @license React
17
- * react-jsx-runtime.development.js
18
- *
19
- * Copyright (c) Meta Platforms, Inc. and affiliates.
20
- *
21
- * This source code is licensed under the MIT license found in the
22
- * LICENSE file in the root directory of this source tree.
23
- */var Mt;function vo(){return Mt||(Mt=1,process.env.NODE_ENV!=="production"&&(function(){function e(i){if(i==null)return null;if(typeof i=="function")return i.$$typeof===Ee?null:i.displayName||i.name||null;if(typeof i=="string")return i;switch(i){case O:return"Fragment";case z:return"Profiler";case E:return"StrictMode";case ve:return"Suspense";case he:return"SuspenseList";case je:return"Activity"}if(typeof i=="object")switch(typeof i.tag=="number"&&console.error("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),i.$$typeof){case B:return"Portal";case M:return(i.displayName||"Context")+".Provider";case Y:return(i._context.displayName||"Context")+".Consumer";case K:var l=i.render;return i=i.displayName,i||(i=l.displayName||l.name||"",i=i!==""?"ForwardRef("+i+")":"ForwardRef"),i;case we:return l=i.displayName||null,l!==null?l:e(i.type)||"Memo";case re:l=i._payload,i=i._init;try{return e(i(l))}catch{}}return null}function t(i){return""+i}function r(i){try{t(i);var l=!1}catch{l=!0}if(l){l=console;var x=l.error,b=typeof Symbol=="function"&&Symbol.toStringTag&&i[Symbol.toStringTag]||i.constructor.name||"Object";return x.call(l,"The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",b),t(i)}}function n(i){if(i===O)return"<>";if(typeof i=="object"&&i!==null&&i.$$typeof===re)return"<...>";try{var l=e(i);return l?"<"+l+">":"<...>"}catch{return"<...>"}}function o(){var i=v.A;return i===null?null:i.getOwner()}function s(){return Error("react-stack-top-frame")}function c(i){if(ae.call(i,"key")){var l=Object.getOwnPropertyDescriptor(i,"key").get;if(l&&l.isReactWarning)return!1}return i.key!==void 0}function d(i,l){function x(){p||(p=!0,console.error("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://react.dev/link/special-props)",l))}x.isReactWarning=!0,Object.defineProperty(i,"key",{get:x,configurable:!0})}function u(){var i=e(this.type);return S[i]||(S[i]=!0,console.error("Accessing element.ref was removed in React 19. ref is now a regular prop. It will be removed from the JSX Element type in a future release.")),i=this.props.ref,i!==void 0?i:null}function h(i,l,x,b,_,C,se,ie){return x=C.ref,i={$$typeof:T,type:i,key:l,props:C,_owner:_},(x!==void 0?x:null)!==null?Object.defineProperty(i,"ref",{enumerable:!1,get:u}):Object.defineProperty(i,"ref",{enumerable:!1,value:null}),i._store={},Object.defineProperty(i._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:0}),Object.defineProperty(i,"_debugInfo",{configurable:!1,enumerable:!1,writable:!0,value:null}),Object.defineProperty(i,"_debugStack",{configurable:!1,enumerable:!1,writable:!0,value:se}),Object.defineProperty(i,"_debugTask",{configurable:!1,enumerable:!1,writable:!0,value:ie}),Object.freeze&&(Object.freeze(i.props),Object.freeze(i)),i}function f(i,l,x,b,_,C,se,ie){var y=l.children;if(y!==void 0)if(b)if(G(y)){for(b=0;b<y.length;b++)m(y[b]);Object.freeze&&Object.freeze(y)}else console.error("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");else m(y);if(ae.call(l,"key")){y=e(i);var I=Object.keys(l).filter(function(tt){return tt!=="key"});b=0<I.length?"{key: someKey, "+I.join(": ..., ")+": ...}":"{key: someKey}",oe[y+b]||(I=0<I.length?"{"+I.join(": ..., ")+": ...}":"{}",console.error(`A props object containing a "key" prop is being spread into JSX:
24
- let props = %s;
25
- <%s {...props} />
26
- React keys must be passed directly to JSX without using spread:
27
- let props = %s;
28
- <%s key={someKey} {...props} />`,b,y,I,y),oe[y+b]=!0)}if(y=null,x!==void 0&&(r(x),y=""+x),c(l)&&(r(l.key),y=""+l.key),"key"in l){x={};for(var ce in l)ce!=="key"&&(x[ce]=l[ce])}else x=l;return y&&d(x,typeof i=="function"?i.displayName||i.name||"Unknown":i),h(i,y,C,_,o(),x,se,ie)}function m(i){typeof i=="object"&&i!==null&&i.$$typeof===T&&i._store&&(i._store.validated=1)}var g=D,T=Symbol.for("react.transitional.element"),B=Symbol.for("react.portal"),O=Symbol.for("react.fragment"),E=Symbol.for("react.strict_mode"),z=Symbol.for("react.profiler"),Y=Symbol.for("react.consumer"),M=Symbol.for("react.context"),K=Symbol.for("react.forward_ref"),ve=Symbol.for("react.suspense"),he=Symbol.for("react.suspense_list"),we=Symbol.for("react.memo"),re=Symbol.for("react.lazy"),je=Symbol.for("react.activity"),Ee=Symbol.for("react.client.reference"),v=g.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,ae=Object.prototype.hasOwnProperty,G=Array.isArray,U=console.createTask?console.createTask:function(){return null};g={react_stack_bottom_frame:function(i){return i()}};var p,S={},L=g.react_stack_bottom_frame.bind(g,s)(),q=U(n(s)),oe={};He.Fragment=O,He.jsx=function(i,l,x,b,_){var C=1e4>v.recentlyCreatedOwnerStacks++;return f(i,l,x,!1,b,_,C?Error("react-stack-top-frame"):L,C?U(n(i)):q)},He.jsxs=function(i,l,x,b,_){var C=1e4>v.recentlyCreatedOwnerStacks++;return f(i,l,x,!0,b,_,C?Error("react-stack-top-frame"):L,C?U(n(i)):q)}})()),He}var Pt;function wo(){return Pt||(Pt=1,process.env.NODE_ENV==="production"?rt.exports=yo():rt.exports=vo()),rt.exports}var jo=wo();mt.cva("inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-md text-sm font-medium transition-all disabled:pointer-events-none disabled:opacity-50 [&_svg]:pointer-events-none [&_svg:not([class*='size-'])]:size-4 shrink-0 [&_svg]:shrink-0 outline-none focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:ring-[3px] aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive",{variants:{variant:{default:"bg-primary text-primary-foreground shadow-xs hover:bg-primary/90",destructive:"bg-destructive text-white shadow-xs hover:bg-destructive/90 focus-visible:ring-destructive/20 dark:focus-visible:ring-destructive/40 dark:bg-destructive/60",outline:"border bg-background shadow-xs hover:bg-accent hover:text-accent-foreground dark:bg-input/30 dark:border-input dark:hover:bg-input/50",secondary:"bg-secondary text-secondary-foreground shadow-xs hover:bg-secondary/80",ghost:"hover:bg-accent hover:text-accent-foreground dark:hover:bg-accent/50",link:"text-primary underline-offset-4 hover:underline"},size:{default:"h-9 px-4 py-2 has-[>svg]:px-3",sm:"h-8 rounded-md gap-1.5 px-3 has-[>svg]:px-2.5",lg:"h-10 rounded-md px-6 has-[>svg]:px-4",icon:"size-9"}},defaultVariants:{variant:"default",size:"default"}});function Nn(e){var t,r,n="";if(typeof e=="string"||typeof e=="number")n+=e;else if(typeof e=="object")if(Array.isArray(e)){var o=e.length;for(t=0;t<o;t++)e[t]&&(r=Nn(e[t]))&&(n&&(n+=" "),n+=r)}else for(r in e)e[r]&&(n&&(n+=" "),n+=r);return n}function Eo(){for(var e,t,r=0,n="",o=arguments.length;r<o;r++)(e=arguments[r])&&(t=Nn(e))&&(n&&(n+=" "),n+=t);return n}function ko(...e){return Vn.twMerge(Eo(e))}var at={exports:{}},Ce={};/**
29
- * @license React
30
- * react-jsx-runtime.production.js
31
- *
32
- * Copyright (c) Meta Platforms, Inc. and affiliates.
33
- *
34
- * This source code is licensed under the MIT license found in the
35
- * LICENSE file in the root directory of this source tree.
36
- */var Tt;function So(){if(Tt)return Ce;Tt=1;var e=Symbol.for("react.transitional.element"),t=Symbol.for("react.fragment");function r(n,o,s){var c=null;if(s!==void 0&&(c=""+s),o.key!==void 0&&(c=""+o.key),"key"in o){s={};for(var d in o)d!=="key"&&(s[d]=o[d])}else s=o;return o=s.ref,{$$typeof:e,type:n,key:c,ref:o!==void 0?o:null,props:s}}return Ce.Fragment=t,Ce.jsx=r,Ce.jsxs=r,Ce}var $e={};/**
37
- * @license React
38
- * react-jsx-runtime.development.js
39
- *
40
- * Copyright (c) Meta Platforms, Inc. and affiliates.
41
- *
42
- * This source code is licensed under the MIT license found in the
43
- * LICENSE file in the root directory of this source tree.
44
- */var Ot;function Ro(){return Ot||(Ot=1,process.env.NODE_ENV!=="production"&&(function(){function e(i){if(i==null)return null;if(typeof i=="function")return i.$$typeof===Ee?null:i.displayName||i.name||null;if(typeof i=="string")return i;switch(i){case O:return"Fragment";case z:return"Profiler";case E:return"StrictMode";case ve:return"Suspense";case he:return"SuspenseList";case je:return"Activity"}if(typeof i=="object")switch(typeof i.tag=="number"&&console.error("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),i.$$typeof){case B:return"Portal";case M:return(i.displayName||"Context")+".Provider";case Y:return(i._context.displayName||"Context")+".Consumer";case K:var l=i.render;return i=i.displayName,i||(i=l.displayName||l.name||"",i=i!==""?"ForwardRef("+i+")":"ForwardRef"),i;case we:return l=i.displayName||null,l!==null?l:e(i.type)||"Memo";case re:l=i._payload,i=i._init;try{return e(i(l))}catch{}}return null}function t(i){return""+i}function r(i){try{t(i);var l=!1}catch{l=!0}if(l){l=console;var x=l.error,b=typeof Symbol=="function"&&Symbol.toStringTag&&i[Symbol.toStringTag]||i.constructor.name||"Object";return x.call(l,"The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",b),t(i)}}function n(i){if(i===O)return"<>";if(typeof i=="object"&&i!==null&&i.$$typeof===re)return"<...>";try{var l=e(i);return l?"<"+l+">":"<...>"}catch{return"<...>"}}function o(){var i=v.A;return i===null?null:i.getOwner()}function s(){return Error("react-stack-top-frame")}function c(i){if(ae.call(i,"key")){var l=Object.getOwnPropertyDescriptor(i,"key").get;if(l&&l.isReactWarning)return!1}return i.key!==void 0}function d(i,l){function x(){p||(p=!0,console.error("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://react.dev/link/special-props)",l))}x.isReactWarning=!0,Object.defineProperty(i,"key",{get:x,configurable:!0})}function u(){var i=e(this.type);return S[i]||(S[i]=!0,console.error("Accessing element.ref was removed in React 19. ref is now a regular prop. It will be removed from the JSX Element type in a future release.")),i=this.props.ref,i!==void 0?i:null}function h(i,l,x,b,_,C,se,ie){return x=C.ref,i={$$typeof:T,type:i,key:l,props:C,_owner:_},(x!==void 0?x:null)!==null?Object.defineProperty(i,"ref",{enumerable:!1,get:u}):Object.defineProperty(i,"ref",{enumerable:!1,value:null}),i._store={},Object.defineProperty(i._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:0}),Object.defineProperty(i,"_debugInfo",{configurable:!1,enumerable:!1,writable:!0,value:null}),Object.defineProperty(i,"_debugStack",{configurable:!1,enumerable:!1,writable:!0,value:se}),Object.defineProperty(i,"_debugTask",{configurable:!1,enumerable:!1,writable:!0,value:ie}),Object.freeze&&(Object.freeze(i.props),Object.freeze(i)),i}function f(i,l,x,b,_,C,se,ie){var y=l.children;if(y!==void 0)if(b)if(G(y)){for(b=0;b<y.length;b++)m(y[b]);Object.freeze&&Object.freeze(y)}else console.error("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");else m(y);if(ae.call(l,"key")){y=e(i);var I=Object.keys(l).filter(function(tt){return tt!=="key"});b=0<I.length?"{key: someKey, "+I.join(": ..., ")+": ...}":"{key: someKey}",oe[y+b]||(I=0<I.length?"{"+I.join(": ..., ")+": ...}":"{}",console.error(`A props object containing a "key" prop is being spread into JSX:
45
- let props = %s;
46
- <%s {...props} />
47
- React keys must be passed directly to JSX without using spread:
48
- let props = %s;
49
- <%s key={someKey} {...props} />`,b,y,I,y),oe[y+b]=!0)}if(y=null,x!==void 0&&(r(x),y=""+x),c(l)&&(r(l.key),y=""+l.key),"key"in l){x={};for(var ce in l)ce!=="key"&&(x[ce]=l[ce])}else x=l;return y&&d(x,typeof i=="function"?i.displayName||i.name||"Unknown":i),h(i,y,C,_,o(),x,se,ie)}function m(i){typeof i=="object"&&i!==null&&i.$$typeof===T&&i._store&&(i._store.validated=1)}var g=D,T=Symbol.for("react.transitional.element"),B=Symbol.for("react.portal"),O=Symbol.for("react.fragment"),E=Symbol.for("react.strict_mode"),z=Symbol.for("react.profiler"),Y=Symbol.for("react.consumer"),M=Symbol.for("react.context"),K=Symbol.for("react.forward_ref"),ve=Symbol.for("react.suspense"),he=Symbol.for("react.suspense_list"),we=Symbol.for("react.memo"),re=Symbol.for("react.lazy"),je=Symbol.for("react.activity"),Ee=Symbol.for("react.client.reference"),v=g.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,ae=Object.prototype.hasOwnProperty,G=Array.isArray,U=console.createTask?console.createTask:function(){return null};g={react_stack_bottom_frame:function(i){return i()}};var p,S={},L=g.react_stack_bottom_frame.bind(g,s)(),q=U(n(s)),oe={};$e.Fragment=O,$e.jsx=function(i,l,x,b,_){var C=1e4>v.recentlyCreatedOwnerStacks++;return f(i,l,x,!1,b,_,C?Error("react-stack-top-frame"):L,C?U(n(i)):q)},$e.jsxs=function(i,l,x,b,_){var C=1e4>v.recentlyCreatedOwnerStacks++;return f(i,l,x,!0,b,_,C?Error("react-stack-top-frame"):L,C?U(n(i)):q)}})()),$e}var _t;function Co(){return _t||(_t=1,process.env.NODE_ENV==="production"?at.exports=So():at.exports=Ro()),at.exports}Co();const Do={id:"",username:"",email:"",created_at:null,updated_at:null,features:[]};D.createContext({user:Do,isLoading:!0,fetchUser:async()=>{},logout:async()=>{},login:async()=>!1});function ot(e){return(t={})=>{const r=t.width?String(t.width):e.defaultWidth;return e.formats[r]||e.formats[e.defaultWidth]}}function De(e){return(t,r)=>{const n=r?.context?String(r.context):"standalone";let o;if(n==="formatting"&&e.formattingValues){const c=e.defaultFormattingWidth||e.defaultWidth,d=r?.width?String(r.width):c;o=e.formattingValues[d]||e.formattingValues[c]}else{const c=e.defaultWidth,d=r?.width?String(r.width):e.defaultWidth;o=e.values[d]||e.values[c]}const s=e.argumentCallback?e.argumentCallback(t):t;return o[s]}}function Ne(e){return(t,r={})=>{const n=r.width,o=n&&e.matchPatterns[n]||e.matchPatterns[e.defaultMatchWidth],s=t.match(o);if(!s)return null;const c=s[0],d=n&&e.parsePatterns[n]||e.parsePatterns[e.defaultParseWidth],u=Array.isArray(d)?Mo(d,m=>m.test(c)):No(d,m=>m.test(c));let h;h=e.valueCallback?e.valueCallback(u):u,h=r.valueCallback?r.valueCallback(h):h;const f=t.slice(c.length);return{value:h,rest:f}}}function No(e,t){for(const r in e)if(Object.prototype.hasOwnProperty.call(e,r)&&t(e[r]))return r}function Mo(e,t){for(let r=0;r<e.length;r++)if(t(e[r]))return r}function Po(e){return(t,r={})=>{const n=t.match(e.matchPattern);if(!n)return null;const o=n[0],s=t.match(e.parsePattern);if(!s)return null;let c=e.valueCallback?e.valueCallback(s[0]):s[0];c=r.valueCallback?r.valueCallback(c):c;const d=t.slice(o.length);return{value:c,rest:d}}}const Mn=6048e5,To=864e5,Ft=Symbol.for("constructDateFrom");function N(e,t){return typeof e=="function"?e(t):e&&typeof e=="object"&&Ft in e?e[Ft](t):e instanceof Date?new e.constructor(t):new Date(t)}function ye(e,...t){const r=N.bind(null,t.find(n=>typeof n=="object"));return t.map(r)}let Oo={};function qe(){return Oo}function k(e,t){return N(t||e,e)}function be(e,t){const r=qe(),n=t?.weekStartsOn??t?.locale?.options?.weekStartsOn??r.weekStartsOn??r.locale?.options?.weekStartsOn??0,o=k(e,t?.in),s=o.getDay(),c=(s<n?7:0)+s-n;return o.setDate(o.getDate()-c),o.setHours(0,0,0,0),o}const _o={lessThanXSeconds:{one:"less than a second",other:"less than {{count}} seconds"},xSeconds:{one:"1 second",other:"{{count}} seconds"},halfAMinute:"half a minute",lessThanXMinutes:{one:"less than a minute",other:"less than {{count}} minutes"},xMinutes:{one:"1 minute",other:"{{count}} minutes"},aboutXHours:{one:"about 1 hour",other:"about {{count}} hours"},xHours:{one:"1 hour",other:"{{count}} hours"},xDays:{one:"1 day",other:"{{count}} days"},aboutXWeeks:{one:"about 1 week",other:"about {{count}} weeks"},xWeeks:{one:"1 week",other:"{{count}} weeks"},aboutXMonths:{one:"about 1 month",other:"about {{count}} months"},xMonths:{one:"1 month",other:"{{count}} months"},aboutXYears:{one:"about 1 year",other:"about {{count}} years"},xYears:{one:"1 year",other:"{{count}} years"},overXYears:{one:"over 1 year",other:"over {{count}} years"},almostXYears:{one:"almost 1 year",other:"almost {{count}} years"}},Fo=(e,t,r)=>{let n;const o=_o[e];return typeof o=="string"?n=o:t===1?n=o.one:n=o.other.replace("{{count}}",t.toString()),r?.addSuffix?r.comparison&&r.comparison>0?"in "+n:n+" ago":n},Wo={lastWeek:"'last' eeee 'at' p",yesterday:"'yesterday at' p",today:"'today at' p",tomorrow:"'tomorrow at' p",nextWeek:"eeee 'at' p",other:"P"},zo=(e,t,r,n)=>Wo[e],Io={narrow:["B","A"],abbreviated:["BC","AD"],wide:["Before Christ","Anno Domini"]},Yo={narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1st quarter","2nd quarter","3rd quarter","4th quarter"]},Lo={narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],wide:["January","February","March","April","May","June","July","August","September","October","November","December"]},qo={narrow:["S","M","T","W","T","F","S"],short:["Su","Mo","Tu","We","Th","Fr","Sa"],abbreviated:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],wide:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]},Ho={narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"}},$o={narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"}},Bo=(e,t)=>{const r=Number(e),n=r%100;if(n>20||n<10)switch(n%10){case 1:return r+"st";case 2:return r+"nd";case 3:return r+"rd"}return r+"th"},Ao={ordinalNumber:Bo,era:De({values:Io,defaultWidth:"wide"}),quarter:De({values:Yo,defaultWidth:"wide",argumentCallback:e=>e-1}),month:De({values:Lo,defaultWidth:"wide"}),day:De({values:qo,defaultWidth:"wide"}),dayPeriod:De({values:Ho,defaultWidth:"wide",formattingValues:$o,defaultFormattingWidth:"wide"})},Go=/^(\d+)(th|st|nd|rd)?/i,Uo=/\d+/i,Vo={narrow:/^(b|a)/i,abbreviated:/^(b\.?\s?c\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?)/i,wide:/^(before christ|before common era|anno domini|common era)/i},Xo={any:[/^b/i,/^(a|c)/i]},Qo={narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](th|st|nd|rd)? quarter/i},Zo={any:[/1/i,/2/i,/3/i,/4/i]},Jo={narrow:/^[jfmasond]/i,abbreviated:/^(jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec)/i,wide:/^(january|february|march|april|may|june|july|august|september|october|november|december)/i},Ko={narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^ja/i,/^f/i,/^mar/i,/^ap/i,/^may/i,/^jun/i,/^jul/i,/^au/i,/^s/i,/^o/i,/^n/i,/^d/i]},es={narrow:/^[smtwf]/i,short:/^(su|mo|tu|we|th|fr|sa)/i,abbreviated:/^(sun|mon|tue|wed|thu|fri|sat)/i,wide:/^(sunday|monday|tuesday|wednesday|thursday|friday|saturday)/i},ts={narrow:[/^s/i,/^m/i,/^t/i,/^w/i,/^t/i,/^f/i,/^s/i],any:[/^su/i,/^m/i,/^tu/i,/^w/i,/^th/i,/^f/i,/^sa/i]},ns={narrow:/^(a|p|mi|n|(in the|at) (morning|afternoon|evening|night))/i,any:/^([ap]\.?\s?m\.?|midnight|noon|(in the|at) (morning|afternoon|evening|night))/i},rs={any:{am:/^a/i,pm:/^p/i,midnight:/^mi/i,noon:/^no/i,morning:/morning/i,afternoon:/afternoon/i,evening:/evening/i,night:/night/i}},as={ordinalNumber:Po({matchPattern:Go,parsePattern:Uo,valueCallback:e=>parseInt(e,10)}),era:Ne({matchPatterns:Vo,defaultMatchWidth:"wide",parsePatterns:Xo,defaultParseWidth:"any"}),quarter:Ne({matchPatterns:Qo,defaultMatchWidth:"wide",parsePatterns:Zo,defaultParseWidth:"any",valueCallback:e=>e+1}),month:Ne({matchPatterns:Jo,defaultMatchWidth:"wide",parsePatterns:Ko,defaultParseWidth:"any"}),day:Ne({matchPatterns:es,defaultMatchWidth:"wide",parsePatterns:ts,defaultParseWidth:"any"}),dayPeriod:Ne({matchPatterns:ns,defaultMatchWidth:"any",parsePatterns:rs,defaultParseWidth:"any"})},os={full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},ss={full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},is={full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},cs={date:ot({formats:os,defaultWidth:"full"}),time:ot({formats:ss,defaultWidth:"full"}),dateTime:ot({formats:is,defaultWidth:"full"})},ge={code:"en-US",formatDistance:Fo,formatLong:cs,formatRelative:zo,localize:Ao,match:as,options:{weekStartsOn:0,firstWeekContainsDate:1}};function us(e,t,r="long"){return new Intl.DateTimeFormat("en-US",{hour:"numeric",timeZone:e,timeZoneName:r}).format(t).split(/\s/g).slice(2).join(" ")}const ds={},Me={};function le(e,t){try{const r=(ds[e]||=new Intl.DateTimeFormat("en-US",{timeZone:e,timeZoneName:"longOffset"}).format)(t).split("GMT")[1];return r in Me?Me[r]:Wt(r,r.split(":"))}catch{if(e in Me)return Me[e];const r=e?.match(ls);return r?Wt(e,r.slice(1)):NaN}}const ls=/([+-]\d\d):?(\d\d)?/;function Wt(e,t){const r=+(t[0]||0),n=+(t[1]||0),o=+(t[2]||0)/60;return Me[e]=r*60+n>0?r*60+n+o:r*60-n-o}class A extends Date{constructor(...t){super(),t.length>1&&typeof t[t.length-1]=="string"&&(this.timeZone=t.pop()),this.internal=new Date,isNaN(le(this.timeZone,this))?this.setTime(NaN):t.length?typeof t[0]=="number"&&(t.length===1||t.length===2&&typeof t[1]!="number")?this.setTime(t[0]):typeof t[0]=="string"?this.setTime(+new Date(t[0])):t[0]instanceof Date?this.setTime(+t[0]):(this.setTime(+new Date(...t)),Pn(this),dt(this)):this.setTime(Date.now())}static tz(t,...r){return r.length?new A(...r,t):new A(Date.now(),t)}withTimeZone(t){return new A(+this,t)}getTimezoneOffset(){const t=-le(this.timeZone,this);return t>0?Math.floor(t):Math.ceil(t)}setTime(t){return Date.prototype.setTime.apply(this,arguments),dt(this),+this}[Symbol.for("constructDateFrom")](t){return new A(+new Date(t),this.timeZone)}}const zt=/^(get|set)(?!UTC)/;Object.getOwnPropertyNames(Date.prototype).forEach(e=>{if(!zt.test(e))return;const t=e.replace(zt,"$1UTC");A.prototype[t]&&(e.startsWith("get")?A.prototype[e]=function(){return this.internal[t]()}:(A.prototype[e]=function(){return Date.prototype[t].apply(this.internal,arguments),ms(this),+this},A.prototype[t]=function(){return Date.prototype[t].apply(this,arguments),dt(this),+this}))});function dt(e){e.internal.setTime(+e),e.internal.setUTCSeconds(e.internal.getUTCSeconds()-Math.round(-le(e.timeZone,e)*60))}function ms(e){Date.prototype.setFullYear.call(e,e.internal.getUTCFullYear(),e.internal.getUTCMonth(),e.internal.getUTCDate()),Date.prototype.setHours.call(e,e.internal.getUTCHours(),e.internal.getUTCMinutes(),e.internal.getUTCSeconds(),e.internal.getUTCMilliseconds()),Pn(e)}function Pn(e){const t=le(e.timeZone,e),r=t>0?Math.floor(t):Math.ceil(t),n=new Date(+e);n.setUTCHours(n.getUTCHours()-1);const o=-new Date(+e).getTimezoneOffset(),s=-new Date(+n).getTimezoneOffset(),c=o-s,d=Date.prototype.getHours.apply(e)!==e.internal.getUTCHours();c&&d&&e.internal.setUTCMinutes(e.internal.getUTCMinutes()+c);const u=o-r;u&&Date.prototype.setUTCMinutes.call(e,Date.prototype.getUTCMinutes.call(e)+u);const h=new Date(+e);h.setUTCSeconds(0);const f=o>0?h.getSeconds():(h.getSeconds()-60)%60,m=Math.round(-(le(e.timeZone,e)*60))%60;(m||f)&&(e.internal.setUTCSeconds(e.internal.getUTCSeconds()+m),Date.prototype.setUTCSeconds.call(e,Date.prototype.getUTCSeconds.call(e)+m+f));const g=le(e.timeZone,e),T=g>0?Math.floor(g):Math.ceil(g),B=-new Date(+e).getTimezoneOffset()-T,O=T!==r,E=B-u;if(O&&E){Date.prototype.setUTCMinutes.call(e,Date.prototype.getUTCMinutes.call(e)+E);const z=le(e.timeZone,e),Y=z>0?Math.floor(z):Math.ceil(z),M=T-Y;M&&(e.internal.setUTCMinutes(e.internal.getUTCMinutes()+M),Date.prototype.setUTCMinutes.call(e,Date.prototype.getUTCMinutes.call(e)+M))}}class me extends A{static tz(t,...r){return r.length?new me(...r,t):new me(Date.now(),t)}toISOString(){const[t,r,n]=this.tzComponents(),o=`${t}${r}:${n}`;return this.internal.toISOString().slice(0,-1)+o}toString(){return`${this.toDateString()} ${this.toTimeString()}`}toDateString(){const[t,r,n,o]=this.internal.toUTCString().split(" ");return`${t?.slice(0,-1)} ${n} ${r} ${o}`}toTimeString(){const t=this.internal.toUTCString().split(" ")[4],[r,n,o]=this.tzComponents();return`${t} GMT${r}${n}${o} (${us(this.timeZone,this)})`}toLocaleString(t,r){return Date.prototype.toLocaleString.call(this,t,{...r,timeZone:r?.timeZone||this.timeZone})}toLocaleDateString(t,r){return Date.prototype.toLocaleDateString.call(this,t,{...r,timeZone:r?.timeZone||this.timeZone})}toLocaleTimeString(t,r){return Date.prototype.toLocaleTimeString.call(this,t,{...r,timeZone:r?.timeZone||this.timeZone})}tzComponents(){const t=this.getTimezoneOffset(),r=t>0?"-":"+",n=String(Math.floor(Math.abs(t)/60)).padStart(2,"0"),o=String(Math.abs(t)%60).padStart(2,"0");return[r,n,o]}withTimeZone(t){return new me(+this,t)}[Symbol.for("constructDateFrom")](t){return new me(+new Date(t),this.timeZone)}}function Tn(e,t,r){const n=k(e,r?.in);return isNaN(t)?N(e,NaN):(t&&n.setDate(n.getDate()+t),n)}function On(e,t,r){const n=k(e,r?.in);if(isNaN(t))return N(e,NaN);if(!t)return n;const o=n.getDate(),s=N(e,n.getTime());s.setMonth(n.getMonth()+t+1,0);const c=s.getDate();return o>=c?s:(n.setFullYear(s.getFullYear(),s.getMonth(),o),n)}function _e(e,t){return be(e,{...t,weekStartsOn:1})}function _n(e,t){const r=k(e,t?.in),n=r.getFullYear(),o=N(r,0);o.setFullYear(n+1,0,4),o.setHours(0,0,0,0);const s=_e(o),c=N(r,0);c.setFullYear(n,0,4),c.setHours(0,0,0,0);const d=_e(c);return r.getTime()>=s.getTime()?n+1:r.getTime()>=d.getTime()?n:n-1}function It(e){const t=k(e),r=new Date(Date.UTC(t.getFullYear(),t.getMonth(),t.getDate(),t.getHours(),t.getMinutes(),t.getSeconds(),t.getMilliseconds()));return r.setUTCFullYear(t.getFullYear()),+e-+r}function Fe(e,t){const r=k(e,t?.in);return r.setHours(0,0,0,0),r}function Fn(e,t,r){const[n,o]=ye(r?.in,e,t),s=Fe(n),c=Fe(o),d=+s-It(s),u=+c-It(c);return Math.round((d-u)/To)}function fs(e,t){const r=_n(e,t),n=N(e,0);return n.setFullYear(r,0,4),n.setHours(0,0,0,0),_e(n)}function hs(e,t,r){return Tn(e,t*7,r)}function ps(e,t,r){return On(e,t*12,r)}function xs(e,t){let r,n=t?.in;return e.forEach(o=>{!n&&typeof o=="object"&&(n=N.bind(null,o));const s=k(o,n);(!r||r<s||isNaN(+s))&&(r=s)}),N(n,r||NaN)}function gs(e,t){let r,n=t?.in;return e.forEach(o=>{!n&&typeof o=="object"&&(n=N.bind(null,o));const s=k(o,n);(!r||r>s||isNaN(+s))&&(r=s)}),N(n,r||NaN)}function bs(e,t,r){const[n,o]=ye(r?.in,e,t);return+Fe(n)==+Fe(o)}function Wn(e){return e instanceof Date||typeof e=="object"&&Object.prototype.toString.call(e)==="[object Date]"}function ys(e){return!(!Wn(e)&&typeof e!="number"||isNaN(+k(e)))}function vs(e,t,r){const[n,o]=ye(r?.in,e,t),s=n.getFullYear()-o.getFullYear(),c=n.getMonth()-o.getMonth();return s*12+c}function ws(e,t){const r=k(e,t?.in),n=r.getMonth();return r.setFullYear(r.getFullYear(),n+1,0),r.setHours(23,59,59,999),r}function zn(e,t){const[r,n]=ye(e,t.start,t.end);return{start:r,end:n}}function js(e,t){const{start:r,end:n}=zn(t?.in,e);let o=+r>+n;const s=o?+r:+n,c=o?n:r;c.setHours(0,0,0,0),c.setDate(1);let d=1;const u=[];for(;+c<=s;)u.push(N(r,c)),c.setMonth(c.getMonth()+d);return o?u.reverse():u}function Es(e,t){const r=k(e,t?.in);return r.setDate(1),r.setHours(0,0,0,0),r}function ks(e,t){const r=k(e,t?.in),n=r.getFullYear();return r.setFullYear(n+1,0,0),r.setHours(23,59,59,999),r}function In(e,t){const r=k(e,t?.in);return r.setFullYear(r.getFullYear(),0,1),r.setHours(0,0,0,0),r}function Ss(e,t){const{start:r,end:n}=zn(t?.in,e);let o=+r>+n;const s=o?+r:+n,c=o?n:r;c.setHours(0,0,0,0),c.setMonth(0,1);let d=1;const u=[];for(;+c<=s;)u.push(N(r,c)),c.setFullYear(c.getFullYear()+d);return o?u.reverse():u}function Yn(e,t){const r=qe(),n=t?.weekStartsOn??t?.locale?.options?.weekStartsOn??r.weekStartsOn??r.locale?.options?.weekStartsOn??0,o=k(e,t?.in),s=o.getDay(),c=(s<n?-7:0)+6-(s-n);return o.setDate(o.getDate()+c),o.setHours(23,59,59,999),o}function Rs(e,t){return Yn(e,{...t,weekStartsOn:1})}function Cs(e,t){const r=k(e,t?.in);return Fn(r,In(r))+1}function Ln(e,t){const r=k(e,t?.in),n=+_e(r)-+fs(r);return Math.round(n/Mn)+1}function qn(e,t){const r=k(e,t?.in),n=r.getFullYear(),o=qe(),s=t?.firstWeekContainsDate??t?.locale?.options?.firstWeekContainsDate??o.firstWeekContainsDate??o.locale?.options?.firstWeekContainsDate??1,c=N(t?.in||e,0);c.setFullYear(n+1,0,s),c.setHours(0,0,0,0);const d=be(c,t),u=N(t?.in||e,0);u.setFullYear(n,0,s),u.setHours(0,0,0,0);const h=be(u,t);return+r>=+d?n+1:+r>=+h?n:n-1}function Ds(e,t){const r=qe(),n=t?.firstWeekContainsDate??t?.locale?.options?.firstWeekContainsDate??r.firstWeekContainsDate??r.locale?.options?.firstWeekContainsDate??1,o=qn(e,t),s=N(t?.in||e,0);return s.setFullYear(o,0,n),s.setHours(0,0,0,0),be(s,t)}function Hn(e,t){const r=k(e,t?.in),n=+be(r,t)-+Ds(r,t);return Math.round(n/Mn)+1}function j(e,t){const r=e<0?"-":"",n=Math.abs(e).toString().padStart(t,"0");return r+n}const te={y(e,t){const r=e.getFullYear(),n=r>0?r:1-r;return j(t==="yy"?n%100:n,t.length)},M(e,t){const r=e.getMonth();return t==="M"?String(r+1):j(r+1,2)},d(e,t){return j(e.getDate(),t.length)},a(e,t){const r=e.getHours()/12>=1?"pm":"am";switch(t){case"a":case"aa":return r.toUpperCase();case"aaa":return r;case"aaaaa":return r[0];case"aaaa":default:return r==="am"?"a.m.":"p.m."}},h(e,t){return j(e.getHours()%12||12,t.length)},H(e,t){return j(e.getHours(),t.length)},m(e,t){return j(e.getMinutes(),t.length)},s(e,t){return j(e.getSeconds(),t.length)},S(e,t){const r=t.length,n=e.getMilliseconds(),o=Math.trunc(n*Math.pow(10,r-3));return j(o,t.length)}},xe={midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},Yt={G:function(e,t,r){const n=e.getFullYear()>0?1:0;switch(t){case"G":case"GG":case"GGG":return r.era(n,{width:"abbreviated"});case"GGGGG":return r.era(n,{width:"narrow"});case"GGGG":default:return r.era(n,{width:"wide"})}},y:function(e,t,r){if(t==="yo"){const n=e.getFullYear(),o=n>0?n:1-n;return r.ordinalNumber(o,{unit:"year"})}return te.y(e,t)},Y:function(e,t,r,n){const o=qn(e,n),s=o>0?o:1-o;if(t==="YY"){const c=s%100;return j(c,2)}return t==="Yo"?r.ordinalNumber(s,{unit:"year"}):j(s,t.length)},R:function(e,t){const r=_n(e);return j(r,t.length)},u:function(e,t){const r=e.getFullYear();return j(r,t.length)},Q:function(e,t,r){const n=Math.ceil((e.getMonth()+1)/3);switch(t){case"Q":return String(n);case"QQ":return j(n,2);case"Qo":return r.ordinalNumber(n,{unit:"quarter"});case"QQQ":return r.quarter(n,{width:"abbreviated",context:"formatting"});case"QQQQQ":return r.quarter(n,{width:"narrow",context:"formatting"});case"QQQQ":default:return r.quarter(n,{width:"wide",context:"formatting"})}},q:function(e,t,r){const n=Math.ceil((e.getMonth()+1)/3);switch(t){case"q":return String(n);case"qq":return j(n,2);case"qo":return r.ordinalNumber(n,{unit:"quarter"});case"qqq":return r.quarter(n,{width:"abbreviated",context:"standalone"});case"qqqqq":return r.quarter(n,{width:"narrow",context:"standalone"});case"qqqq":default:return r.quarter(n,{width:"wide",context:"standalone"})}},M:function(e,t,r){const n=e.getMonth();switch(t){case"M":case"MM":return te.M(e,t);case"Mo":return r.ordinalNumber(n+1,{unit:"month"});case"MMM":return r.month(n,{width:"abbreviated",context:"formatting"});case"MMMMM":return r.month(n,{width:"narrow",context:"formatting"});case"MMMM":default:return r.month(n,{width:"wide",context:"formatting"})}},L:function(e,t,r){const n=e.getMonth();switch(t){case"L":return String(n+1);case"LL":return j(n+1,2);case"Lo":return r.ordinalNumber(n+1,{unit:"month"});case"LLL":return r.month(n,{width:"abbreviated",context:"standalone"});case"LLLLL":return r.month(n,{width:"narrow",context:"standalone"});case"LLLL":default:return r.month(n,{width:"wide",context:"standalone"})}},w:function(e,t,r,n){const o=Hn(e,n);return t==="wo"?r.ordinalNumber(o,{unit:"week"}):j(o,t.length)},I:function(e,t,r){const n=Ln(e);return t==="Io"?r.ordinalNumber(n,{unit:"week"}):j(n,t.length)},d:function(e,t,r){return t==="do"?r.ordinalNumber(e.getDate(),{unit:"date"}):te.d(e,t)},D:function(e,t,r){const n=Cs(e);return t==="Do"?r.ordinalNumber(n,{unit:"dayOfYear"}):j(n,t.length)},E:function(e,t,r){const n=e.getDay();switch(t){case"E":case"EE":case"EEE":return r.day(n,{width:"abbreviated",context:"formatting"});case"EEEEE":return r.day(n,{width:"narrow",context:"formatting"});case"EEEEEE":return r.day(n,{width:"short",context:"formatting"});case"EEEE":default:return r.day(n,{width:"wide",context:"formatting"})}},e:function(e,t,r,n){const o=e.getDay(),s=(o-n.weekStartsOn+8)%7||7;switch(t){case"e":return String(s);case"ee":return j(s,2);case"eo":return r.ordinalNumber(s,{unit:"day"});case"eee":return r.day(o,{width:"abbreviated",context:"formatting"});case"eeeee":return r.day(o,{width:"narrow",context:"formatting"});case"eeeeee":return r.day(o,{width:"short",context:"formatting"});case"eeee":default:return r.day(o,{width:"wide",context:"formatting"})}},c:function(e,t,r,n){const o=e.getDay(),s=(o-n.weekStartsOn+8)%7||7;switch(t){case"c":return String(s);case"cc":return j(s,t.length);case"co":return r.ordinalNumber(s,{unit:"day"});case"ccc":return r.day(o,{width:"abbreviated",context:"standalone"});case"ccccc":return r.day(o,{width:"narrow",context:"standalone"});case"cccccc":return r.day(o,{width:"short",context:"standalone"});case"cccc":default:return r.day(o,{width:"wide",context:"standalone"})}},i:function(e,t,r){const n=e.getDay(),o=n===0?7:n;switch(t){case"i":return String(o);case"ii":return j(o,t.length);case"io":return r.ordinalNumber(o,{unit:"day"});case"iii":return r.day(n,{width:"abbreviated",context:"formatting"});case"iiiii":return r.day(n,{width:"narrow",context:"formatting"});case"iiiiii":return r.day(n,{width:"short",context:"formatting"});case"iiii":default:return r.day(n,{width:"wide",context:"formatting"})}},a:function(e,t,r){const n=e.getHours()/12>=1?"pm":"am";switch(t){case"a":case"aa":return r.dayPeriod(n,{width:"abbreviated",context:"formatting"});case"aaa":return r.dayPeriod(n,{width:"abbreviated",context:"formatting"}).toLowerCase();case"aaaaa":return r.dayPeriod(n,{width:"narrow",context:"formatting"});case"aaaa":default:return r.dayPeriod(n,{width:"wide",context:"formatting"})}},b:function(e,t,r){const n=e.getHours();let o;switch(n===12?o=xe.noon:n===0?o=xe.midnight:o=n/12>=1?"pm":"am",t){case"b":case"bb":return r.dayPeriod(o,{width:"abbreviated",context:"formatting"});case"bbb":return r.dayPeriod(o,{width:"abbreviated",context:"formatting"}).toLowerCase();case"bbbbb":return r.dayPeriod(o,{width:"narrow",context:"formatting"});case"bbbb":default:return r.dayPeriod(o,{width:"wide",context:"formatting"})}},B:function(e,t,r){const n=e.getHours();let o;switch(n>=17?o=xe.evening:n>=12?o=xe.afternoon:n>=4?o=xe.morning:o=xe.night,t){case"B":case"BB":case"BBB":return r.dayPeriod(o,{width:"abbreviated",context:"formatting"});case"BBBBB":return r.dayPeriod(o,{width:"narrow",context:"formatting"});case"BBBB":default:return r.dayPeriod(o,{width:"wide",context:"formatting"})}},h:function(e,t,r){if(t==="ho"){let n=e.getHours()%12;return n===0&&(n=12),r.ordinalNumber(n,{unit:"hour"})}return te.h(e,t)},H:function(e,t,r){return t==="Ho"?r.ordinalNumber(e.getHours(),{unit:"hour"}):te.H(e,t)},K:function(e,t,r){const n=e.getHours()%12;return t==="Ko"?r.ordinalNumber(n,{unit:"hour"}):j(n,t.length)},k:function(e,t,r){let n=e.getHours();return n===0&&(n=24),t==="ko"?r.ordinalNumber(n,{unit:"hour"}):j(n,t.length)},m:function(e,t,r){return t==="mo"?r.ordinalNumber(e.getMinutes(),{unit:"minute"}):te.m(e,t)},s:function(e,t,r){return t==="so"?r.ordinalNumber(e.getSeconds(),{unit:"second"}):te.s(e,t)},S:function(e,t){return te.S(e,t)},X:function(e,t,r){const n=e.getTimezoneOffset();if(n===0)return"Z";switch(t){case"X":return qt(n);case"XXXX":case"XX":return de(n);case"XXXXX":case"XXX":default:return de(n,":")}},x:function(e,t,r){const n=e.getTimezoneOffset();switch(t){case"x":return qt(n);case"xxxx":case"xx":return de(n);case"xxxxx":case"xxx":default:return de(n,":")}},O:function(e,t,r){const n=e.getTimezoneOffset();switch(t){case"O":case"OO":case"OOO":return"GMT"+Lt(n,":");case"OOOO":default:return"GMT"+de(n,":")}},z:function(e,t,r){const n=e.getTimezoneOffset();switch(t){case"z":case"zz":case"zzz":return"GMT"+Lt(n,":");case"zzzz":default:return"GMT"+de(n,":")}},t:function(e,t,r){const n=Math.trunc(+e/1e3);return j(n,t.length)},T:function(e,t,r){return j(+e,t.length)}};function Lt(e,t=""){const r=e>0?"-":"+",n=Math.abs(e),o=Math.trunc(n/60),s=n%60;return s===0?r+String(o):r+String(o)+t+j(s,2)}function qt(e,t){return e%60===0?(e>0?"-":"+")+j(Math.abs(e)/60,2):de(e,t)}function de(e,t=""){const r=e>0?"-":"+",n=Math.abs(e),o=j(Math.trunc(n/60),2),s=j(n%60,2);return r+o+t+s}const Ht=(e,t)=>{switch(e){case"P":return t.date({width:"short"});case"PP":return t.date({width:"medium"});case"PPP":return t.date({width:"long"});case"PPPP":default:return t.date({width:"full"})}},$n=(e,t)=>{switch(e){case"p":return t.time({width:"short"});case"pp":return t.time({width:"medium"});case"ppp":return t.time({width:"long"});case"pppp":default:return t.time({width:"full"})}},Ns=(e,t)=>{const r=e.match(/(P+)(p+)?/)||[],n=r[1],o=r[2];if(!o)return Ht(e,t);let s;switch(n){case"P":s=t.dateTime({width:"short"});break;case"PP":s=t.dateTime({width:"medium"});break;case"PPP":s=t.dateTime({width:"long"});break;case"PPPP":default:s=t.dateTime({width:"full"});break}return s.replace("{{date}}",Ht(n,t)).replace("{{time}}",$n(o,t))},Ms={p:$n,P:Ns},Ps=/^D+$/,Ts=/^Y+$/,Os=["D","DD","YY","YYYY"];function _s(e){return Ps.test(e)}function Fs(e){return Ts.test(e)}function Ws(e,t,r){const n=zs(e,t,r);if(console.warn(n),Os.includes(e))throw new RangeError(n)}function zs(e,t,r){const n=e[0]==="Y"?"years":"days of the month";return`Use \`${e.toLowerCase()}\` instead of \`${e}\` (in \`${t}\`) for formatting ${n} to the input \`${r}\`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md`}const Is=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,Ys=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,Ls=/^'([^]*?)'?$/,qs=/''/g,Hs=/[a-zA-Z]/;function Pe(e,t,r){const n=qe(),o=r?.locale??n.locale??ge,s=r?.firstWeekContainsDate??r?.locale?.options?.firstWeekContainsDate??n.firstWeekContainsDate??n.locale?.options?.firstWeekContainsDate??1,c=r?.weekStartsOn??r?.locale?.options?.weekStartsOn??n.weekStartsOn??n.locale?.options?.weekStartsOn??0,d=k(e,r?.in);if(!ys(d))throw new RangeError("Invalid time value");let u=t.match(Ys).map(f=>{const m=f[0];if(m==="p"||m==="P"){const g=Ms[m];return g(f,o.formatLong)}return f}).join("").match(Is).map(f=>{if(f==="''")return{isToken:!1,value:"'"};const m=f[0];if(m==="'")return{isToken:!1,value:$s(f)};if(Yt[m])return{isToken:!0,value:f};if(m.match(Hs))throw new RangeError("Format string contains an unescaped latin alphabet character `"+m+"`");return{isToken:!1,value:f}});o.localize.preprocessor&&(u=o.localize.preprocessor(d,u));const h={firstWeekContainsDate:s,weekStartsOn:c,locale:o};return u.map(f=>{if(!f.isToken)return f.value;const m=f.value;(!r?.useAdditionalWeekYearTokens&&Fs(m)||!r?.useAdditionalDayOfYearTokens&&_s(m))&&Ws(m,t,String(e));const g=Yt[m[0]];return g(d,m,o.localize,h)}).join("")}function $s(e){const t=e.match(Ls);return t?t[1].replace(qs,"'"):e}function Bs(e,t){const r=k(e,t?.in),n=r.getFullYear(),o=r.getMonth(),s=N(r,0);return s.setFullYear(n,o+1,0),s.setHours(0,0,0,0),s.getDate()}function As(e,t){return k(e,t?.in).getMonth()}function Gs(e,t){return k(e,t?.in).getFullYear()}function Us(e,t){return+k(e)>+k(t)}function Vs(e,t){return+k(e)<+k(t)}function Xs(e,t,r){const[n,o]=ye(r?.in,e,t);return n.getFullYear()===o.getFullYear()&&n.getMonth()===o.getMonth()}function Qs(e,t,r){const[n,o]=ye(r?.in,e,t);return n.getFullYear()===o.getFullYear()}function Zs(e,t,r){const n=k(e,r?.in),o=n.getFullYear(),s=n.getDate(),c=N(e,0);c.setFullYear(o,t,15),c.setHours(0,0,0,0);const d=Bs(c);return n.setMonth(t,Math.min(s,d)),n}function Js(e,t,r){const n=k(e,r?.in);return isNaN(+n)?N(e,NaN):(n.setFullYear(t),n)}const $t=5,Ks=4;function ei(e,t){const r=t.startOfMonth(e),n=r.getDay()>0?r.getDay():7,o=t.addDays(e,-n+1),s=t.addDays(o,$t*7-1);return t.getMonth(e)===t.getMonth(s)?$t:Ks}function Bn(e,t){const r=t.startOfMonth(e),n=r.getDay();return n===1?r:n===0?t.addDays(r,-6):t.addDays(r,-1*(n-1))}function ti(e,t){const r=Bn(e,t),n=ei(e,t);return t.addDays(r,n*7-1)}const ni={...ge,labels:{labelDayButton:(e,t,r,n)=>{let o;n&&typeof n.format=="function"?o=n.format.bind(n):o=(c,d)=>Pe(c,d,{locale:ge,...r});let s=o(e,"PPPP");return t.today&&(s=`Today, ${s}`),t.selected&&(s=`${s}, selected`),s},labelMonthDropdown:"Choose the Month",labelNext:"Go to the Next Month",labelPrevious:"Go to the Previous Month",labelWeekNumber:e=>`Week ${e}`,labelYearDropdown:"Choose the Year",labelGrid:(e,t,r)=>{let n;return r&&typeof r.format=="function"?n=r.format.bind(r):n=(o,s)=>Pe(o,s,{locale:ge,...t}),n(e,"LLLL yyyy")},labelGridcell:(e,t,r,n)=>{let o;n&&typeof n.format=="function"?o=n.format.bind(n):o=(c,d)=>Pe(c,d,{locale:ge,...r});let s=o(e,"PPPP");return t?.today&&(s=`Today, ${s}`),s},labelNav:"Navigation bar",labelWeekNumberHeader:"Week Number",labelWeekday:(e,t,r)=>{let n;return r&&typeof r.format=="function"?n=r.format.bind(r):n=(o,s)=>Pe(o,s,{locale:ge,...t}),n(e,"cccc")}}};class We{constructor(t,r){this.Date=Date,this.today=()=>this.overrides?.today?this.overrides.today():this.options.timeZone?me.tz(this.options.timeZone):new this.Date,this.newDate=(n,o,s)=>this.overrides?.newDate?this.overrides.newDate(n,o,s):this.options.timeZone?new me(n,o,s,this.options.timeZone):new Date(n,o,s),this.addDays=(n,o)=>this.overrides?.addDays?this.overrides.addDays(n,o):Tn(n,o),this.addMonths=(n,o)=>this.overrides?.addMonths?this.overrides.addMonths(n,o):On(n,o),this.addWeeks=(n,o)=>this.overrides?.addWeeks?this.overrides.addWeeks(n,o):hs(n,o),this.addYears=(n,o)=>this.overrides?.addYears?this.overrides.addYears(n,o):ps(n,o),this.differenceInCalendarDays=(n,o)=>this.overrides?.differenceInCalendarDays?this.overrides.differenceInCalendarDays(n,o):Fn(n,o),this.differenceInCalendarMonths=(n,o)=>this.overrides?.differenceInCalendarMonths?this.overrides.differenceInCalendarMonths(n,o):vs(n,o),this.eachMonthOfInterval=n=>this.overrides?.eachMonthOfInterval?this.overrides.eachMonthOfInterval(n):js(n),this.eachYearOfInterval=n=>{const o=this.overrides?.eachYearOfInterval?this.overrides.eachYearOfInterval(n):Ss(n),s=new Set(o.map(d=>this.getYear(d)));if(s.size===o.length)return o;const c=[];return s.forEach(d=>{c.push(new Date(d,0,1))}),c},this.endOfBroadcastWeek=n=>this.overrides?.endOfBroadcastWeek?this.overrides.endOfBroadcastWeek(n):ti(n,this),this.endOfISOWeek=n=>this.overrides?.endOfISOWeek?this.overrides.endOfISOWeek(n):Rs(n),this.endOfMonth=n=>this.overrides?.endOfMonth?this.overrides.endOfMonth(n):ws(n),this.endOfWeek=(n,o)=>this.overrides?.endOfWeek?this.overrides.endOfWeek(n,o):Yn(n,this.options),this.endOfYear=n=>this.overrides?.endOfYear?this.overrides.endOfYear(n):ks(n),this.format=(n,o,s)=>{const c=this.overrides?.format?this.overrides.format(n,o,this.options):Pe(n,o,this.options);return this.options.numerals&&this.options.numerals!=="latn"?this.replaceDigits(c):c},this.getISOWeek=n=>this.overrides?.getISOWeek?this.overrides.getISOWeek(n):Ln(n),this.getMonth=(n,o)=>this.overrides?.getMonth?this.overrides.getMonth(n,this.options):As(n,this.options),this.getYear=(n,o)=>this.overrides?.getYear?this.overrides.getYear(n,this.options):Gs(n,this.options),this.getWeek=(n,o)=>this.overrides?.getWeek?this.overrides.getWeek(n,this.options):Hn(n,this.options),this.isAfter=(n,o)=>this.overrides?.isAfter?this.overrides.isAfter(n,o):Us(n,o),this.isBefore=(n,o)=>this.overrides?.isBefore?this.overrides.isBefore(n,o):Vs(n,o),this.isDate=n=>this.overrides?.isDate?this.overrides.isDate(n):Wn(n),this.isSameDay=(n,o)=>this.overrides?.isSameDay?this.overrides.isSameDay(n,o):bs(n,o),this.isSameMonth=(n,o)=>this.overrides?.isSameMonth?this.overrides.isSameMonth(n,o):Xs(n,o),this.isSameYear=(n,o)=>this.overrides?.isSameYear?this.overrides.isSameYear(n,o):Qs(n,o),this.max=n=>this.overrides?.max?this.overrides.max(n):xs(n),this.min=n=>this.overrides?.min?this.overrides.min(n):gs(n),this.setMonth=(n,o)=>this.overrides?.setMonth?this.overrides.setMonth(n,o):Zs(n,o),this.setYear=(n,o)=>this.overrides?.setYear?this.overrides.setYear(n,o):Js(n,o),this.startOfBroadcastWeek=(n,o)=>this.overrides?.startOfBroadcastWeek?this.overrides.startOfBroadcastWeek(n,this):Bn(n,this),this.startOfDay=n=>this.overrides?.startOfDay?this.overrides.startOfDay(n):Fe(n),this.startOfISOWeek=n=>this.overrides?.startOfISOWeek?this.overrides.startOfISOWeek(n):_e(n),this.startOfMonth=n=>this.overrides?.startOfMonth?this.overrides.startOfMonth(n):Es(n),this.startOfWeek=(n,o)=>this.overrides?.startOfWeek?this.overrides.startOfWeek(n,this.options):be(n,this.options),this.startOfYear=n=>this.overrides?.startOfYear?this.overrides.startOfYear(n):In(n),this.options={locale:ni,...t},this.overrides=r}getDigitMap(){const{numerals:t="latn"}=this.options,r=new Intl.NumberFormat("en-US",{numberingSystem:t}),n={};for(let o=0;o<10;o++)n[o.toString()]=r.format(o);return n}replaceDigits(t){const r=this.getDigitMap();return t.replace(/\d/g,n=>r[n]||n)}formatNumber(t){return this.replaceDigits(t.toString())}getMonthYearOrder(){const t=this.options.locale?.code;return t&&We.yearFirstLocales.has(t)?"year-first":"month-first"}formatMonthYear(t){const{locale:r,timeZone:n,numerals:o}=this.options,s=r?.code;if(s&&We.yearFirstLocales.has(s))try{return new Intl.DateTimeFormat(s,{month:"long",year:"numeric",timeZone:n,numberingSystem:o}).format(t)}catch{}const c=this.getMonthYearOrder()==="year-first"?"y LLLL":"LLLL y";return this.format(t,c)}}We.yearFirstLocales=new Set(["eu","hu","ja","ja-Hira","ja-JP","ko","ko-KR","lt","lt-LT","lv","lv-LV","mn","mn-MN","zh","zh-CN","zh-HK","zh-TW"]);new We;D.createContext({locale:void 0});const ri=mt.cva("inline-flex items-center justify-center rounded-md border px-2 py-0.5 text-xs font-medium w-fit whitespace-nowrap shrink-0 [&>svg]:size-3 gap-1 [&>svg]:pointer-events-none focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:ring-[3px] aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive transition-[color,box-shadow] overflow-hidden",{variants:{variant:{default:"border-transparent bg-primary text-primary-foreground [a&]:hover:bg-primary/90",secondary:"border-transparent bg-secondary text-secondary-foreground [a&]:hover:bg-secondary/90",destructive:"border-transparent bg-destructive text-white [a&]:hover:bg-destructive/90 focus-visible:ring-destructive/20 dark:focus-visible:ring-destructive/40 dark:bg-destructive/60",outline:"text-foreground [a&]:hover:bg-accent [a&]:hover:text-accent-foreground"}},defaultVariants:{variant:"default"}});function ai({className:e,variant:t,asChild:r=!1,...n}){const o=r?lt.Slot:"span";return jo.jsx(o,{"data-slot":"badge",className:ko(ri({variant:t}),e),...n})}W.createContext({});W.createContext({});W.createContext(null);function An({displayName:e,value:t,...r}){return a.jsxRuntimeExports.jsxs("div",{className:`flex justify-between border-b pb-2 ${r.className}`,children:[a.jsxRuntimeExports.jsx("span",{className:"text-muted-foreground",children:e}),a.jsxRuntimeExports.jsx("span",{className:"font-medium",children:typeof t=="string"?a.jsxRuntimeExports.jsx(ai,{variant:"secondary",children:t}):t})]})}function oi({lines:e,data:t,...r}){function n(o,s){return o===void 0?"":s.split(".").reduce((d,u)=>d&&d[u]!==void 0?d[u]:void 0,o)}return a.jsxRuntimeExports.jsx("div",{className:r.className,children:e.map(o=>a.jsxRuntimeExports.jsx(An,{displayName:o.displayName,value:o.formatFunction&&t!==void 0?o.formatFunction(t,n(t,o.key)):n(t,o.key)},o.key))})}function si({children:e,header:t,sidebar:r,showSidebar:n}){return a.jsxRuntimeExports.jsx("div",{className:"flex h-screen flex-col ",children:a.jsxRuntimeExports.jsxs("div",{className:"flex flex-1 overflow-hidden",children:[a.jsxRuntimeExports.jsx("div",{className:`transition-all duration-300 ease-in-out overflow-hidden ${n?"w-64 opacity-100":"w-0 opacity-0"}`,children:r}),a.jsxRuntimeExports.jsxs("div",{className:"flex flex-1 flex-col overflow-y-auto",children:[t,a.jsxRuntimeExports.jsx("main",{className:"flex-1 overflow-y-auto p-6",children:e})]})]})})}function ii(e){return a.jsxRuntimeExports.jsx("div",{className:"h-full w-70 max-w-64 min-w-64 border-r border-r-gray-700",children:e.children})}function ci({children:e,title:t}){return a.jsxRuntimeExports.jsxs("div",{className:"p-3",children:[a.jsxRuntimeExports.jsxs("div",{className:"flex items-center gap-3 mb-2",children:[a.jsxRuntimeExports.jsx("span",{className:"text-[10px] tracking-wide font-medium uppercase text-placeholder shrink-0 transition-opacity",children:t}),a.jsxRuntimeExports.jsx("div",{className:"flex-1 h-px"})]}),a.jsxRuntimeExports.jsx("div",{className:"relative flex flex-col gap-2",children:e})]})}function ui({pageName:e,hiddenSidebar:t,children:r}){return a.jsxRuntimeExports.jsx("div",{className:"h-14 inset-x-0 border-b border-b-gray-700 bg-background",children:a.jsxRuntimeExports.jsxs("div",{className:"flex items-center justify-between",children:[a.jsxRuntimeExports.jsxs("div",{className:"flex items-center gap-8 pl-6",children:[a.jsxRuntimeExports.jsx(R.PanelLeft,{className:"h-4 mt-1 cursor-pointer",onClick:t}),a.jsxRuntimeExports.jsx("h1",{className:"text-base font-medium",children:e})]}),a.jsxRuntimeExports.jsx("div",{className:"flex gap-4 items-center px-8 py-2 justify-between",children:r})]})})}exports.Button=a.Button;exports.buttonVariants=a.buttonVariants;Object.defineProperty(exports,"TZDate",{enumerable:!0,get:()=>Z.TZDate});Object.defineProperty(exports,"toast",{enumerable:!0,get:()=>Bt.toast});exports.Avatar=mo;exports.Badge=Be;exports.Calendar=gt;exports.CalendarDayButton=cn;exports.Card=_a;exports.CardAction=Ia;exports.CardContent=Ya;exports.CardDescription=za;exports.CardFooter=La;exports.CardHeader=Fa;exports.CardTitle=Wa;exports.ChartContainer=ho;exports.ChartLegend=go;exports.ChartLegendContent=bo;exports.ChartStyle=Dn;exports.ChartTooltip=po;exports.ChartTooltipContent=xo;exports.Checkbox=qa;exports.Collapsible=Ha;exports.CollapsibleContent=Ba;exports.CollapsibleTrigger=$a;exports.Combobox=Qa;exports.Command=et;exports.CommandDialog=Va;exports.CommandEmpty=vt;exports.CommandGroup=Xe;exports.CommandInput=bt;exports.CommandItem=Qe;exports.CommandList=yt;exports.CommandSeparator=wn;exports.CommandShortcut=Xa;exports.DataTable=wr;exports.DataTableFacetedFilter=Za;exports.DatePicker=Ta;exports.DateRangePicker=Oa;exports.DefaultDropdownMenuTrigger=gr;exports.DefaultLayoutBase=si;exports.DetailsLine=An;exports.DetailsList=oi;exports.Dialog=hn;exports.DialogClose=Ga;exports.DialogContent=gn;exports.DialogDescription=vn;exports.DialogFooter=Ua;exports.DialogHeader=bn;exports.DialogOverlay=xn;exports.DialogPortal=pn;exports.DialogTitle=yn;exports.DialogTrigger=Aa;exports.DragHandle=jr;exports.DraggableRow=Vt;exports.DropdownMenu=st;exports.DropdownMenuCheckboxItem=At;exports.DropdownMenuContent=it;exports.DropdownMenuGroup=ur;exports.DropdownMenuItem=dr;exports.DropdownMenuLabel=lr;exports.DropdownMenuPortal=cr;exports.DropdownMenuRadioGroup=Gt;exports.DropdownMenuRadioItem=Ut;exports.DropdownMenuSeparator=mr;exports.DropdownMenuShortcut=fr;exports.DropdownMenuSub=hr;exports.DropdownMenuSubContent=xr;exports.DropdownMenuSubTrigger=pr;exports.DropdownMenuTrigger=Ge;exports.Form=Ja;exports.FormControl=no;exports.FormDescription=ro;exports.FormField=Ka;exports.FormItem=eo;exports.FormLabel=to;exports.FormMessage=ao;exports.HeaderBase=ui;exports.Input=Xt;exports.Label=pt;exports.Popover=ze;exports.PopoverAnchor=Pa;exports.PopoverContent=Ye;exports.PopoverTrigger=Ie;exports.Select=Qt;exports.SelectContent=Kt;exports.SelectGroup=br;exports.SelectItem=en;exports.SelectLabel=yr;exports.SelectScrollDownButton=nn;exports.SelectScrollUpButton=tn;exports.SelectSeparator=vr;exports.SelectTrigger=Jt;exports.SelectValue=Zt;exports.Separator=jn;exports.Sidebar=ii;exports.SidebarGroup=ci;exports.Skeleton=Sn;exports.Table=rn;exports.TableBody=on;exports.TableCaption=kr;exports.TableCell=xt;exports.TableFooter=Er;exports.TableHead=sn;exports.TableHeader=an;exports.TableRow=Ue;exports.Tabs=so;exports.TabsContent=uo;exports.TabsList=io;exports.TabsTrigger=co;exports.Textarea=lo;exports.Toaster=oo;exports.badgeVariants=fn;exports.useFormField=Le;
7
+ `)}}):null},os=cr.Tooltip;function as({active:r,payload:n,className:s,indicator:c="dot",hideLabel:l=!1,hideIndicator:d=!1,label:f,labelFormatter:p,labelClassName:g,formatter:O,color:x,nameKey:h,labelKey:E}){const{config:v}=Po(),z=N.useMemo(()=>{if(l||!n?.length)return null;const[y]=n,V=`${E||y?.dataKey||y?.name||"value"}`,M=ir(v,y,V),F=!E&&typeof f=="string"?v[f]?.label||f:M?.label;return p?u.jsxRuntimeExports.jsx("div",{className:u.cn("font-medium",g),children:p(F,n)}):F?u.jsxRuntimeExports.jsx("div",{className:u.cn("font-medium",g),children:F}):null},[f,p,n,l,g,v,E]);if(!r||!n?.length)return null;const I=n.length===1&&c!=="dot";return u.jsxRuntimeExports.jsxs("div",{className:u.cn("border-border/50 bg-background grid min-w-[8rem] items-start gap-1.5 rounded-lg border px-2.5 py-1.5 text-xs shadow-xl",s),children:[I?null:z,u.jsxRuntimeExports.jsx("div",{className:"grid gap-1.5",children:n.map((y,V)=>{const M=`${h||y.name||y.dataKey||"value"}`,F=ir(v,y,M),W=x||y.payload.fill||y.color;return u.jsxRuntimeExports.jsx("div",{className:u.cn("[&>svg]:text-muted-foreground flex w-full flex-wrap items-stretch gap-2 [&>svg]:h-2.5 [&>svg]:w-2.5",c==="dot"&&"items-center"),children:O&&y?.value!==void 0&&y.name?O(y.value,y.name,y,V,y.payload):u.jsxRuntimeExports.jsxs(u.jsxRuntimeExports.Fragment,{children:[F?.icon?u.jsxRuntimeExports.jsx(F.icon,{}):!d&&u.jsxRuntimeExports.jsx("div",{className:u.cn("shrink-0 rounded-[2px] border-(--color-border) bg-(--color-bg)",{"h-2.5 w-2.5":c==="dot","w-1":c==="line","w-0 border-[1.5px] border-dashed bg-transparent":c==="dashed","my-0.5":I&&c==="dashed"}),style:{"--color-bg":W,"--color-border":W}}),u.jsxRuntimeExports.jsxs("div",{className:u.cn("flex flex-1 justify-between leading-none",I?"items-end":"items-center"),children:[u.jsxRuntimeExports.jsxs("div",{className:"grid gap-1.5",children:[I?z:null,u.jsxRuntimeExports.jsx("span",{className:"text-muted-foreground",children:F?.label||y.name})]}),y.value&&u.jsxRuntimeExports.jsx("span",{className:"text-foreground font-mono font-medium tabular-nums",children:y.value.toLocaleString()})]})]})},y.dataKey)})})]})}const is=cr.Legend;function ss({className:r,hideIcon:n=!1,payload:s,verticalAlign:c="bottom",nameKey:l}){const{config:d}=Po();return s?.length?u.jsxRuntimeExports.jsx("div",{className:u.cn("flex items-center justify-center gap-4",c==="top"?"pb-3":"pt-3",r),children:s.map(f=>{const p=`${l||f.dataKey||"value"}`,g=ir(d,f,p);return u.jsxRuntimeExports.jsxs("div",{className:u.cn("[&>svg]:text-muted-foreground flex items-center gap-1.5 [&>svg]:h-3 [&>svg]:w-3"),children:[g?.icon&&!n?u.jsxRuntimeExports.jsx(g.icon,{}):u.jsxRuntimeExports.jsx("div",{className:"h-2 w-2 shrink-0 rounded-[2px]",style:{backgroundColor:f.color}}),g?.label]},f.value)})}):null}function ir(r,n,s){if(typeof n!="object"||n===null)return;const c="payload"in n&&typeof n.payload=="object"&&n.payload!==null?n.payload:void 0;let l=s;return s in n&&typeof n[s]=="string"?l=n[s]:c&&s in c&&typeof c[s]=="string"&&(l=c[s]),l in r?r[l]:r[s]}var Tt={exports:{}},be={},_r;function ls(){if(_r)return be;_r=1;var r=Symbol.for("react.transitional.element"),n=Symbol.for("react.fragment");function s(c,l,d){var f=null;if(d!==void 0&&(f=""+d),l.key!==void 0&&(f=""+l.key),"key"in l){d={};for(var p in l)p!=="key"&&(d[p]=l[p])}else d=l;return l=d.ref,{$$typeof:r,type:c,key:f,ref:l!==void 0?l:null,props:d}}return be.Fragment=n,be.jsx=s,be.jsxs=s,be}var He={},Sr;function cs(){return Sr||(Sr=1,process.env.NODE_ENV!=="production"&&(function(){function r(e){if(e==null)return null;if(typeof e=="function")return e.$$typeof===A?null:e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case y:return"Fragment";case M:return"Profiler";case V:return"StrictMode";case U:return"Suspense";case Y:return"SuspenseList";case J:return"Activity"}if(typeof e=="object")switch(typeof e.tag=="number"&&console.error("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),e.$$typeof){case I:return"Portal";case W:return e.displayName||"Context";case F:return(e._context.displayName||"Context")+".Consumer";case L:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case X:return t=e.displayName||null,t!==null?t:r(e.type)||"Memo";case k:t=e._payload,e=e._init;try{return r(e(t))}catch{}}return null}function n(e){return""+e}function s(e){try{n(e);var t=!1}catch{t=!0}if(t){t=console;var o=t.error,a=typeof Symbol=="function"&&Symbol.toStringTag&&e[Symbol.toStringTag]||e.constructor.name||"Object";return o.call(t,"The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",a),n(e)}}function c(e){if(e===y)return"<>";if(typeof e=="object"&&e!==null&&e.$$typeof===k)return"<...>";try{var t=r(e);return t?"<"+t+">":"<...>"}catch{return"<...>"}}function l(){var e=j.A;return e===null?null:e.getOwner()}function d(){return Error("react-stack-top-frame")}function f(e){if(C.call(e,"key")){var t=Object.getOwnPropertyDescriptor(e,"key").get;if(t&&t.isReactWarning)return!1}return e.key!==void 0}function p(e,t){function o(){R||(R=!0,console.error("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://react.dev/link/special-props)",t))}o.isReactWarning=!0,Object.defineProperty(e,"key",{get:o,configurable:!0})}function g(){var e=r(this.type);return T[e]||(T[e]=!0,console.error("Accessing element.ref was removed in React 19. ref is now a regular prop. It will be removed from the JSX Element type in a future release.")),e=this.props.ref,e!==void 0?e:null}function O(e,t,o,a,w,_){var i=o.ref;return e={$$typeof:z,type:e,key:t,props:o,_owner:a},(i!==void 0?i:null)!==null?Object.defineProperty(e,"ref",{enumerable:!1,get:g}):Object.defineProperty(e,"ref",{enumerable:!1,value:null}),e._store={},Object.defineProperty(e._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:0}),Object.defineProperty(e,"_debugInfo",{configurable:!1,enumerable:!1,writable:!0,value:null}),Object.defineProperty(e,"_debugStack",{configurable:!1,enumerable:!1,writable:!0,value:w}),Object.defineProperty(e,"_debugTask",{configurable:!1,enumerable:!1,writable:!0,value:_}),Object.freeze&&(Object.freeze(e.props),Object.freeze(e)),e}function x(e,t,o,a,w,_){var i=t.children;if(i!==void 0)if(a)if(H(i)){for(a=0;a<i.length;a++)h(i[a]);Object.freeze&&Object.freeze(i)}else console.error("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");else h(i);if(C.call(t,"key")){i=r(e);var m=Object.keys(t).filter(function(K){return K!=="key"});a=0<m.length?"{key: someKey, "+m.join(": ..., ")+": ...}":"{key: someKey}",D[i+a]||(m=0<m.length?"{"+m.join(": ..., ")+": ...}":"{}",console.error(`A props object containing a "key" prop is being spread into JSX:
8
+ let props = %s;
9
+ <%s {...props} />
10
+ React keys must be passed directly to JSX without using spread:
11
+ let props = %s;
12
+ <%s key={someKey} {...props} />`,a,i,m,i),D[i+a]=!0)}if(i=null,o!==void 0&&(s(o),i=""+o),f(t)&&(s(t.key),i=""+t.key),"key"in t){o={};for(var S in t)S!=="key"&&(o[S]=t[S])}else o=t;return i&&p(o,typeof e=="function"?e.displayName||e.name||"Unknown":e),O(e,i,o,l(),w,_)}function h(e){E(e)?e._store&&(e._store.validated=1):typeof e=="object"&&e!==null&&e.$$typeof===k&&(e._payload.status==="fulfilled"?E(e._payload.value)&&e._payload.value._store&&(e._payload.value._store.validated=1):e._store&&(e._store.validated=1))}function E(e){return typeof e=="object"&&e!==null&&e.$$typeof===z}var v=B,z=Symbol.for("react.transitional.element"),I=Symbol.for("react.portal"),y=Symbol.for("react.fragment"),V=Symbol.for("react.strict_mode"),M=Symbol.for("react.profiler"),F=Symbol.for("react.consumer"),W=Symbol.for("react.context"),L=Symbol.for("react.forward_ref"),U=Symbol.for("react.suspense"),Y=Symbol.for("react.suspense_list"),X=Symbol.for("react.memo"),k=Symbol.for("react.lazy"),J=Symbol.for("react.activity"),A=Symbol.for("react.client.reference"),j=v.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,C=Object.prototype.hasOwnProperty,H=Array.isArray,b=console.createTask?console.createTask:function(){return null};v={react_stack_bottom_frame:function(e){return e()}};var R,T={},P=v.react_stack_bottom_frame.bind(v,d)(),$=b(c(d)),D={};He.Fragment=y,He.jsx=function(e,t,o){var a=1e4>j.recentlyCreatedOwnerStacks++;return x(e,t,o,!1,a?Error("react-stack-top-frame"):P,a?b(c(e)):$)},He.jsxs=function(e,t,o){var a=1e4>j.recentlyCreatedOwnerStacks++;return x(e,t,o,!0,a?Error("react-stack-top-frame"):P,a?b(c(e)):$)}})()),He}var Rr;function us(){return Rr||(Rr=1,process.env.NODE_ENV==="production"?Tt.exports=ls():Tt.exports=cs()),Tt.exports}var ds=us();G.cva("inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-md text-sm font-medium transition-all disabled:pointer-events-none disabled:opacity-50 [&_svg]:pointer-events-none [&_svg:not([class*='size-'])]:size-4 shrink-0 [&_svg]:shrink-0 outline-none focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:ring-[3px] aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive",{variants:{variant:{default:"bg-primary text-primary-foreground shadow-xs hover:bg-primary/90",destructive:"bg-destructive text-white shadow-xs hover:bg-destructive/90 focus-visible:ring-destructive/20 dark:focus-visible:ring-destructive/40 dark:bg-destructive/60",outline:"border bg-background shadow-xs hover:bg-accent hover:text-accent-foreground dark:bg-input/30 dark:border-input dark:hover:bg-input/50",secondary:"bg-secondary text-secondary-foreground shadow-xs hover:bg-secondary/80",ghost:"hover:bg-accent hover:text-accent-foreground dark:hover:bg-accent/50",link:"text-primary underline-offset-4 hover:underline"},size:{default:"h-9 px-4 py-2 has-[>svg]:px-3",sm:"h-8 rounded-md gap-1.5 px-3 has-[>svg]:px-2.5",lg:"h-10 rounded-md px-6 has-[>svg]:px-4",icon:"size-9"}},defaultVariants:{variant:"default",size:"default"}});function $o(r){var n,s,c="";if(typeof r=="string"||typeof r=="number")c+=r;else if(typeof r=="object")if(Array.isArray(r)){var l=r.length;for(n=0;n<l;n++)r[n]&&(s=$o(r[n]))&&(c&&(c+=" "),c+=s)}else for(s in r)r[s]&&(c&&(c+=" "),c+=s);return c}function fs(){for(var r,n,s=0,c="",l=arguments.length;s<l;s++)(r=arguments[s])&&(n=$o(r))&&(c&&(c+=" "),c+=n);return c}function ps(...r){return Io.twMerge(fs(r))}const ms=G.cva("inline-flex items-center justify-center rounded-md border px-2 py-0.5 text-xs font-medium w-fit whitespace-nowrap shrink-0 [&>svg]:size-3 gap-1 [&>svg]:pointer-events-none focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:ring-[3px] aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive transition-[color,box-shadow] overflow-hidden",{variants:{variant:{default:"border-transparent bg-primary text-primary-foreground [a&]:hover:bg-primary/90",secondary:"border-transparent bg-secondary text-secondary-foreground [a&]:hover:bg-secondary/90",destructive:"border-transparent bg-destructive text-white [a&]:hover:bg-destructive/90 focus-visible:ring-destructive/20 dark:focus-visible:ring-destructive/40 dark:bg-destructive/60",outline:"text-foreground [a&]:hover:bg-accent [a&]:hover:text-accent-foreground"}},defaultVariants:{variant:"default"}});function bs({className:r,variant:n,asChild:s=!1,...c}){const l=s?sr.Slot:"span";return ds.jsx(l,{"data-slot":"badge",className:ps(ms({variant:n}),r),...c})}N.createContext({});N.createContext({});N.createContext(null);var Pt={exports:{}},ve={},Er;function vs(){if(Er)return ve;Er=1;var r=Symbol.for("react.transitional.element"),n=Symbol.for("react.fragment");function s(c,l,d){var f=null;if(d!==void 0&&(f=""+d),l.key!==void 0&&(f=""+l.key),"key"in l){d={};for(var p in l)p!=="key"&&(d[p]=l[p])}else d=l;return l=d.ref,{$$typeof:r,type:c,key:f,ref:l!==void 0?l:null,props:d}}return ve.Fragment=n,ve.jsx=s,ve.jsxs=s,ve}var Ge={},Nr;function ys(){return Nr||(Nr=1,process.env.NODE_ENV!=="production"&&(function(){function r(e){if(e==null)return null;if(typeof e=="function")return e.$$typeof===A?null:e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case y:return"Fragment";case M:return"Profiler";case V:return"StrictMode";case U:return"Suspense";case Y:return"SuspenseList";case J:return"Activity"}if(typeof e=="object")switch(typeof e.tag=="number"&&console.error("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),e.$$typeof){case I:return"Portal";case W:return e.displayName||"Context";case F:return(e._context.displayName||"Context")+".Consumer";case L:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case X:return t=e.displayName||null,t!==null?t:r(e.type)||"Memo";case k:t=e._payload,e=e._init;try{return r(e(t))}catch{}}return null}function n(e){return""+e}function s(e){try{n(e);var t=!1}catch{t=!0}if(t){t=console;var o=t.error,a=typeof Symbol=="function"&&Symbol.toStringTag&&e[Symbol.toStringTag]||e.constructor.name||"Object";return o.call(t,"The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",a),n(e)}}function c(e){if(e===y)return"<>";if(typeof e=="object"&&e!==null&&e.$$typeof===k)return"<...>";try{var t=r(e);return t?"<"+t+">":"<...>"}catch{return"<...>"}}function l(){var e=j.A;return e===null?null:e.getOwner()}function d(){return Error("react-stack-top-frame")}function f(e){if(C.call(e,"key")){var t=Object.getOwnPropertyDescriptor(e,"key").get;if(t&&t.isReactWarning)return!1}return e.key!==void 0}function p(e,t){function o(){R||(R=!0,console.error("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://react.dev/link/special-props)",t))}o.isReactWarning=!0,Object.defineProperty(e,"key",{get:o,configurable:!0})}function g(){var e=r(this.type);return T[e]||(T[e]=!0,console.error("Accessing element.ref was removed in React 19. ref is now a regular prop. It will be removed from the JSX Element type in a future release.")),e=this.props.ref,e!==void 0?e:null}function O(e,t,o,a,w,_){var i=o.ref;return e={$$typeof:z,type:e,key:t,props:o,_owner:a},(i!==void 0?i:null)!==null?Object.defineProperty(e,"ref",{enumerable:!1,get:g}):Object.defineProperty(e,"ref",{enumerable:!1,value:null}),e._store={},Object.defineProperty(e._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:0}),Object.defineProperty(e,"_debugInfo",{configurable:!1,enumerable:!1,writable:!0,value:null}),Object.defineProperty(e,"_debugStack",{configurable:!1,enumerable:!1,writable:!0,value:w}),Object.defineProperty(e,"_debugTask",{configurable:!1,enumerable:!1,writable:!0,value:_}),Object.freeze&&(Object.freeze(e.props),Object.freeze(e)),e}function x(e,t,o,a,w,_){var i=t.children;if(i!==void 0)if(a)if(H(i)){for(a=0;a<i.length;a++)h(i[a]);Object.freeze&&Object.freeze(i)}else console.error("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");else h(i);if(C.call(t,"key")){i=r(e);var m=Object.keys(t).filter(function(K){return K!=="key"});a=0<m.length?"{key: someKey, "+m.join(": ..., ")+": ...}":"{key: someKey}",D[i+a]||(m=0<m.length?"{"+m.join(": ..., ")+": ...}":"{}",console.error(`A props object containing a "key" prop is being spread into JSX:
13
+ let props = %s;
14
+ <%s {...props} />
15
+ React keys must be passed directly to JSX without using spread:
16
+ let props = %s;
17
+ <%s key={someKey} {...props} />`,a,i,m,i),D[i+a]=!0)}if(i=null,o!==void 0&&(s(o),i=""+o),f(t)&&(s(t.key),i=""+t.key),"key"in t){o={};for(var S in t)S!=="key"&&(o[S]=t[S])}else o=t;return i&&p(o,typeof e=="function"?e.displayName||e.name||"Unknown":e),O(e,i,o,l(),w,_)}function h(e){E(e)?e._store&&(e._store.validated=1):typeof e=="object"&&e!==null&&e.$$typeof===k&&(e._payload.status==="fulfilled"?E(e._payload.value)&&e._payload.value._store&&(e._payload.value._store.validated=1):e._store&&(e._store.validated=1))}function E(e){return typeof e=="object"&&e!==null&&e.$$typeof===z}var v=B,z=Symbol.for("react.transitional.element"),I=Symbol.for("react.portal"),y=Symbol.for("react.fragment"),V=Symbol.for("react.strict_mode"),M=Symbol.for("react.profiler"),F=Symbol.for("react.consumer"),W=Symbol.for("react.context"),L=Symbol.for("react.forward_ref"),U=Symbol.for("react.suspense"),Y=Symbol.for("react.suspense_list"),X=Symbol.for("react.memo"),k=Symbol.for("react.lazy"),J=Symbol.for("react.activity"),A=Symbol.for("react.client.reference"),j=v.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,C=Object.prototype.hasOwnProperty,H=Array.isArray,b=console.createTask?console.createTask:function(){return null};v={react_stack_bottom_frame:function(e){return e()}};var R,T={},P=v.react_stack_bottom_frame.bind(v,d)(),$=b(c(d)),D={};Ge.Fragment=y,Ge.jsx=function(e,t,o){var a=1e4>j.recentlyCreatedOwnerStacks++;return x(e,t,o,!1,a?Error("react-stack-top-frame"):P,a?b(c(e)):$)},Ge.jsxs=function(e,t,o){var a=1e4>j.recentlyCreatedOwnerStacks++;return x(e,t,o,!0,a?Error("react-stack-top-frame"):P,a?b(c(e)):$)}})()),Ge}var Or;function gs(){return Or||(Or=1,process.env.NODE_ENV==="production"?Pt.exports=vs():Pt.exports=ys()),Pt.exports}gs();G.cva("inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-md text-sm font-medium transition-all disabled:pointer-events-none disabled:opacity-50 [&_svg]:pointer-events-none [&_svg:not([class*='size-'])]:size-4 shrink-0 [&_svg]:shrink-0 outline-none focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:ring-[3px] aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive",{variants:{variant:{default:"bg-primary text-primary-foreground shadow-xs hover:bg-primary/90",destructive:"bg-destructive text-white shadow-xs hover:bg-destructive/90 focus-visible:ring-destructive/20 dark:focus-visible:ring-destructive/40 dark:bg-destructive/60",outline:"border bg-background shadow-xs hover:bg-accent hover:text-accent-foreground dark:bg-input/30 dark:border-input dark:hover:bg-input/50",secondary:"bg-secondary text-secondary-foreground shadow-xs hover:bg-secondary/80",ghost:"hover:bg-accent hover:text-accent-foreground dark:hover:bg-accent/50",link:"text-primary underline-offset-4 hover:underline"},size:{default:"h-9 px-4 py-2 has-[>svg]:px-3",sm:"h-8 rounded-md gap-1.5 px-3 has-[>svg]:px-2.5",lg:"h-10 rounded-md px-6 has-[>svg]:px-4",icon:"size-9"}},defaultVariants:{variant:"default",size:"default"}});G.cva("inline-flex items-center justify-center rounded-md border px-2 py-0.5 text-xs font-medium w-fit whitespace-nowrap shrink-0 [&>svg]:size-3 gap-1 [&>svg]:pointer-events-none focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:ring-[3px] aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive transition-[color,box-shadow] overflow-hidden",{variants:{variant:{default:"border-transparent bg-primary text-primary-foreground [a&]:hover:bg-primary/90",secondary:"border-transparent bg-secondary text-secondary-foreground [a&]:hover:bg-secondary/90",destructive:"border-transparent bg-destructive text-white [a&]:hover:bg-destructive/90 focus-visible:ring-destructive/20 dark:focus-visible:ring-destructive/40 dark:bg-destructive/60",outline:"text-foreground [a&]:hover:bg-accent [a&]:hover:text-accent-foreground"}},defaultVariants:{variant:"default"}});N.createContext({});N.createContext({});N.createContext(null);var zt={exports:{}},ye={},Cr;function xs(){if(Cr)return ye;Cr=1;var r=Symbol.for("react.transitional.element"),n=Symbol.for("react.fragment");function s(c,l,d){var f=null;if(d!==void 0&&(f=""+d),l.key!==void 0&&(f=""+l.key),"key"in l){d={};for(var p in l)p!=="key"&&(d[p]=l[p])}else d=l;return l=d.ref,{$$typeof:r,type:c,key:f,ref:l!==void 0?l:null,props:d}}return ye.Fragment=n,ye.jsx=s,ye.jsxs=s,ye}var Ke={},Tr;function hs(){return Tr||(Tr=1,process.env.NODE_ENV!=="production"&&(function(){function r(e){if(e==null)return null;if(typeof e=="function")return e.$$typeof===A?null:e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case y:return"Fragment";case M:return"Profiler";case V:return"StrictMode";case U:return"Suspense";case Y:return"SuspenseList";case J:return"Activity"}if(typeof e=="object")switch(typeof e.tag=="number"&&console.error("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),e.$$typeof){case I:return"Portal";case W:return e.displayName||"Context";case F:return(e._context.displayName||"Context")+".Consumer";case L:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case X:return t=e.displayName||null,t!==null?t:r(e.type)||"Memo";case k:t=e._payload,e=e._init;try{return r(e(t))}catch{}}return null}function n(e){return""+e}function s(e){try{n(e);var t=!1}catch{t=!0}if(t){t=console;var o=t.error,a=typeof Symbol=="function"&&Symbol.toStringTag&&e[Symbol.toStringTag]||e.constructor.name||"Object";return o.call(t,"The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",a),n(e)}}function c(e){if(e===y)return"<>";if(typeof e=="object"&&e!==null&&e.$$typeof===k)return"<...>";try{var t=r(e);return t?"<"+t+">":"<...>"}catch{return"<...>"}}function l(){var e=j.A;return e===null?null:e.getOwner()}function d(){return Error("react-stack-top-frame")}function f(e){if(C.call(e,"key")){var t=Object.getOwnPropertyDescriptor(e,"key").get;if(t&&t.isReactWarning)return!1}return e.key!==void 0}function p(e,t){function o(){R||(R=!0,console.error("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://react.dev/link/special-props)",t))}o.isReactWarning=!0,Object.defineProperty(e,"key",{get:o,configurable:!0})}function g(){var e=r(this.type);return T[e]||(T[e]=!0,console.error("Accessing element.ref was removed in React 19. ref is now a regular prop. It will be removed from the JSX Element type in a future release.")),e=this.props.ref,e!==void 0?e:null}function O(e,t,o,a,w,_){var i=o.ref;return e={$$typeof:z,type:e,key:t,props:o,_owner:a},(i!==void 0?i:null)!==null?Object.defineProperty(e,"ref",{enumerable:!1,get:g}):Object.defineProperty(e,"ref",{enumerable:!1,value:null}),e._store={},Object.defineProperty(e._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:0}),Object.defineProperty(e,"_debugInfo",{configurable:!1,enumerable:!1,writable:!0,value:null}),Object.defineProperty(e,"_debugStack",{configurable:!1,enumerable:!1,writable:!0,value:w}),Object.defineProperty(e,"_debugTask",{configurable:!1,enumerable:!1,writable:!0,value:_}),Object.freeze&&(Object.freeze(e.props),Object.freeze(e)),e}function x(e,t,o,a,w,_){var i=t.children;if(i!==void 0)if(a)if(H(i)){for(a=0;a<i.length;a++)h(i[a]);Object.freeze&&Object.freeze(i)}else console.error("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");else h(i);if(C.call(t,"key")){i=r(e);var m=Object.keys(t).filter(function(K){return K!=="key"});a=0<m.length?"{key: someKey, "+m.join(": ..., ")+": ...}":"{key: someKey}",D[i+a]||(m=0<m.length?"{"+m.join(": ..., ")+": ...}":"{}",console.error(`A props object containing a "key" prop is being spread into JSX:
18
+ let props = %s;
19
+ <%s {...props} />
20
+ React keys must be passed directly to JSX without using spread:
21
+ let props = %s;
22
+ <%s key={someKey} {...props} />`,a,i,m,i),D[i+a]=!0)}if(i=null,o!==void 0&&(s(o),i=""+o),f(t)&&(s(t.key),i=""+t.key),"key"in t){o={};for(var S in t)S!=="key"&&(o[S]=t[S])}else o=t;return i&&p(o,typeof e=="function"?e.displayName||e.name||"Unknown":e),O(e,i,o,l(),w,_)}function h(e){E(e)?e._store&&(e._store.validated=1):typeof e=="object"&&e!==null&&e.$$typeof===k&&(e._payload.status==="fulfilled"?E(e._payload.value)&&e._payload.value._store&&(e._payload.value._store.validated=1):e._store&&(e._store.validated=1))}function E(e){return typeof e=="object"&&e!==null&&e.$$typeof===z}var v=B,z=Symbol.for("react.transitional.element"),I=Symbol.for("react.portal"),y=Symbol.for("react.fragment"),V=Symbol.for("react.strict_mode"),M=Symbol.for("react.profiler"),F=Symbol.for("react.consumer"),W=Symbol.for("react.context"),L=Symbol.for("react.forward_ref"),U=Symbol.for("react.suspense"),Y=Symbol.for("react.suspense_list"),X=Symbol.for("react.memo"),k=Symbol.for("react.lazy"),J=Symbol.for("react.activity"),A=Symbol.for("react.client.reference"),j=v.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,C=Object.prototype.hasOwnProperty,H=Array.isArray,b=console.createTask?console.createTask:function(){return null};v={react_stack_bottom_frame:function(e){return e()}};var R,T={},P=v.react_stack_bottom_frame.bind(v,d)(),$=b(c(d)),D={};Ke.Fragment=y,Ke.jsx=function(e,t,o){var a=1e4>j.recentlyCreatedOwnerStacks++;return x(e,t,o,!1,a?Error("react-stack-top-frame"):P,a?b(c(e)):$)},Ke.jsxs=function(e,t,o){var a=1e4>j.recentlyCreatedOwnerStacks++;return x(e,t,o,!0,a?Error("react-stack-top-frame"):P,a?b(c(e)):$)}})()),Ke}var Pr;function ks(){return Pr||(Pr=1,process.env.NODE_ENV==="production"?zt.exports=xs():zt.exports=hs()),zt.exports}ks();G.cva("inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-md text-sm font-medium transition-all disabled:pointer-events-none disabled:opacity-50 [&_svg]:pointer-events-none [&_svg:not([class*='size-'])]:size-4 shrink-0 [&_svg]:shrink-0 outline-none focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:ring-[3px] aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive",{variants:{variant:{default:"bg-primary text-primary-foreground shadow-xs hover:bg-primary/90",destructive:"bg-destructive text-white shadow-xs hover:bg-destructive/90 focus-visible:ring-destructive/20 dark:focus-visible:ring-destructive/40 dark:bg-destructive/60",outline:"border bg-background shadow-xs hover:bg-accent hover:text-accent-foreground dark:bg-input/30 dark:border-input dark:hover:bg-input/50",secondary:"bg-secondary text-secondary-foreground shadow-xs hover:bg-secondary/80",ghost:"hover:bg-accent hover:text-accent-foreground dark:hover:bg-accent/50",link:"text-primary underline-offset-4 hover:underline"},size:{default:"h-9 px-4 py-2 has-[>svg]:px-3",sm:"h-8 rounded-md gap-1.5 px-3 has-[>svg]:px-2.5",lg:"h-10 rounded-md px-6 has-[>svg]:px-4",icon:"size-9"}},defaultVariants:{variant:"default",size:"default"}});G.cva("inline-flex items-center justify-center rounded-md border px-2 py-0.5 text-xs font-medium w-fit whitespace-nowrap shrink-0 [&>svg]:size-3 gap-1 [&>svg]:pointer-events-none focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:ring-[3px] aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive transition-[color,box-shadow] overflow-hidden",{variants:{variant:{default:"border-transparent bg-primary text-primary-foreground [a&]:hover:bg-primary/90",secondary:"border-transparent bg-secondary text-secondary-foreground [a&]:hover:bg-secondary/90",destructive:"border-transparent bg-destructive text-white [a&]:hover:bg-destructive/90 focus-visible:ring-destructive/20 dark:focus-visible:ring-destructive/40 dark:bg-destructive/60",outline:"text-foreground [a&]:hover:bg-accent [a&]:hover:text-accent-foreground"}},defaultVariants:{variant:"default"}});N.createContext({});N.createContext({});N.createContext(null);var $t={exports:{}},ge={},zr;function js(){if(zr)return ge;zr=1;var r=Symbol.for("react.transitional.element"),n=Symbol.for("react.fragment");function s(c,l,d){var f=null;if(d!==void 0&&(f=""+d),l.key!==void 0&&(f=""+l.key),"key"in l){d={};for(var p in l)p!=="key"&&(d[p]=l[p])}else d=l;return l=d.ref,{$$typeof:r,type:c,key:f,ref:l!==void 0?l:null,props:d}}return ge.Fragment=n,ge.jsx=s,ge.jsxs=s,ge}var Be={},$r;function ws(){return $r||($r=1,process.env.NODE_ENV!=="production"&&(function(){function r(e){if(e==null)return null;if(typeof e=="function")return e.$$typeof===A?null:e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case y:return"Fragment";case M:return"Profiler";case V:return"StrictMode";case U:return"Suspense";case Y:return"SuspenseList";case J:return"Activity"}if(typeof e=="object")switch(typeof e.tag=="number"&&console.error("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),e.$$typeof){case I:return"Portal";case W:return e.displayName||"Context";case F:return(e._context.displayName||"Context")+".Consumer";case L:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case X:return t=e.displayName||null,t!==null?t:r(e.type)||"Memo";case k:t=e._payload,e=e._init;try{return r(e(t))}catch{}}return null}function n(e){return""+e}function s(e){try{n(e);var t=!1}catch{t=!0}if(t){t=console;var o=t.error,a=typeof Symbol=="function"&&Symbol.toStringTag&&e[Symbol.toStringTag]||e.constructor.name||"Object";return o.call(t,"The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",a),n(e)}}function c(e){if(e===y)return"<>";if(typeof e=="object"&&e!==null&&e.$$typeof===k)return"<...>";try{var t=r(e);return t?"<"+t+">":"<...>"}catch{return"<...>"}}function l(){var e=j.A;return e===null?null:e.getOwner()}function d(){return Error("react-stack-top-frame")}function f(e){if(C.call(e,"key")){var t=Object.getOwnPropertyDescriptor(e,"key").get;if(t&&t.isReactWarning)return!1}return e.key!==void 0}function p(e,t){function o(){R||(R=!0,console.error("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://react.dev/link/special-props)",t))}o.isReactWarning=!0,Object.defineProperty(e,"key",{get:o,configurable:!0})}function g(){var e=r(this.type);return T[e]||(T[e]=!0,console.error("Accessing element.ref was removed in React 19. ref is now a regular prop. It will be removed from the JSX Element type in a future release.")),e=this.props.ref,e!==void 0?e:null}function O(e,t,o,a,w,_){var i=o.ref;return e={$$typeof:z,type:e,key:t,props:o,_owner:a},(i!==void 0?i:null)!==null?Object.defineProperty(e,"ref",{enumerable:!1,get:g}):Object.defineProperty(e,"ref",{enumerable:!1,value:null}),e._store={},Object.defineProperty(e._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:0}),Object.defineProperty(e,"_debugInfo",{configurable:!1,enumerable:!1,writable:!0,value:null}),Object.defineProperty(e,"_debugStack",{configurable:!1,enumerable:!1,writable:!0,value:w}),Object.defineProperty(e,"_debugTask",{configurable:!1,enumerable:!1,writable:!0,value:_}),Object.freeze&&(Object.freeze(e.props),Object.freeze(e)),e}function x(e,t,o,a,w,_){var i=t.children;if(i!==void 0)if(a)if(H(i)){for(a=0;a<i.length;a++)h(i[a]);Object.freeze&&Object.freeze(i)}else console.error("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");else h(i);if(C.call(t,"key")){i=r(e);var m=Object.keys(t).filter(function(K){return K!=="key"});a=0<m.length?"{key: someKey, "+m.join(": ..., ")+": ...}":"{key: someKey}",D[i+a]||(m=0<m.length?"{"+m.join(": ..., ")+": ...}":"{}",console.error(`A props object containing a "key" prop is being spread into JSX:
23
+ let props = %s;
24
+ <%s {...props} />
25
+ React keys must be passed directly to JSX without using spread:
26
+ let props = %s;
27
+ <%s key={someKey} {...props} />`,a,i,m,i),D[i+a]=!0)}if(i=null,o!==void 0&&(s(o),i=""+o),f(t)&&(s(t.key),i=""+t.key),"key"in t){o={};for(var S in t)S!=="key"&&(o[S]=t[S])}else o=t;return i&&p(o,typeof e=="function"?e.displayName||e.name||"Unknown":e),O(e,i,o,l(),w,_)}function h(e){E(e)?e._store&&(e._store.validated=1):typeof e=="object"&&e!==null&&e.$$typeof===k&&(e._payload.status==="fulfilled"?E(e._payload.value)&&e._payload.value._store&&(e._payload.value._store.validated=1):e._store&&(e._store.validated=1))}function E(e){return typeof e=="object"&&e!==null&&e.$$typeof===z}var v=B,z=Symbol.for("react.transitional.element"),I=Symbol.for("react.portal"),y=Symbol.for("react.fragment"),V=Symbol.for("react.strict_mode"),M=Symbol.for("react.profiler"),F=Symbol.for("react.consumer"),W=Symbol.for("react.context"),L=Symbol.for("react.forward_ref"),U=Symbol.for("react.suspense"),Y=Symbol.for("react.suspense_list"),X=Symbol.for("react.memo"),k=Symbol.for("react.lazy"),J=Symbol.for("react.activity"),A=Symbol.for("react.client.reference"),j=v.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,C=Object.prototype.hasOwnProperty,H=Array.isArray,b=console.createTask?console.createTask:function(){return null};v={react_stack_bottom_frame:function(e){return e()}};var R,T={},P=v.react_stack_bottom_frame.bind(v,d)(),$=b(c(d)),D={};Be.Fragment=y,Be.jsx=function(e,t,o){var a=1e4>j.recentlyCreatedOwnerStacks++;return x(e,t,o,!1,a?Error("react-stack-top-frame"):P,a?b(c(e)):$)},Be.jsxs=function(e,t,o){var a=1e4>j.recentlyCreatedOwnerStacks++;return x(e,t,o,!0,a?Error("react-stack-top-frame"):P,a?b(c(e)):$)}})()),Be}var Dr;function _s(){return Dr||(Dr=1,process.env.NODE_ENV==="production"?$t.exports=js():$t.exports=ws()),$t.exports}_s();G.cva("inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-md text-sm font-medium transition-all disabled:pointer-events-none disabled:opacity-50 [&_svg]:pointer-events-none [&_svg:not([class*='size-'])]:size-4 shrink-0 [&_svg]:shrink-0 outline-none focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:ring-[3px] aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive",{variants:{variant:{default:"bg-primary text-primary-foreground shadow-xs hover:bg-primary/90",destructive:"bg-destructive text-white shadow-xs hover:bg-destructive/90 focus-visible:ring-destructive/20 dark:focus-visible:ring-destructive/40 dark:bg-destructive/60",outline:"border bg-background shadow-xs hover:bg-accent hover:text-accent-foreground dark:bg-input/30 dark:border-input dark:hover:bg-input/50",secondary:"bg-secondary text-secondary-foreground shadow-xs hover:bg-secondary/80",ghost:"hover:bg-accent hover:text-accent-foreground dark:hover:bg-accent/50",link:"text-primary underline-offset-4 hover:underline"},size:{default:"h-9 px-4 py-2 has-[>svg]:px-3",sm:"h-8 rounded-md gap-1.5 px-3 has-[>svg]:px-2.5",lg:"h-10 rounded-md px-6 has-[>svg]:px-4",icon:"size-9"}},defaultVariants:{variant:"default",size:"default"}});G.cva("inline-flex items-center justify-center rounded-md border px-2 py-0.5 text-xs font-medium w-fit whitespace-nowrap shrink-0 [&>svg]:size-3 gap-1 [&>svg]:pointer-events-none focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:ring-[3px] aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive transition-[color,box-shadow] overflow-hidden",{variants:{variant:{default:"border-transparent bg-primary text-primary-foreground [a&]:hover:bg-primary/90",secondary:"border-transparent bg-secondary text-secondary-foreground [a&]:hover:bg-secondary/90",destructive:"border-transparent bg-destructive text-white [a&]:hover:bg-destructive/90 focus-visible:ring-destructive/20 dark:focus-visible:ring-destructive/40 dark:bg-destructive/60",outline:"text-foreground [a&]:hover:bg-accent [a&]:hover:text-accent-foreground"}},defaultVariants:{variant:"default"}});N.createContext({});N.createContext({});N.createContext(null);var Dt={exports:{}},xe={},Ar;function Ss(){if(Ar)return xe;Ar=1;var r=Symbol.for("react.transitional.element"),n=Symbol.for("react.fragment");function s(c,l,d){var f=null;if(d!==void 0&&(f=""+d),l.key!==void 0&&(f=""+l.key),"key"in l){d={};for(var p in l)p!=="key"&&(d[p]=l[p])}else d=l;return l=d.ref,{$$typeof:r,type:c,key:f,ref:l!==void 0?l:null,props:d}}return xe.Fragment=n,xe.jsx=s,xe.jsxs=s,xe}var qe={},Fr;function Rs(){return Fr||(Fr=1,process.env.NODE_ENV!=="production"&&(function(){function r(e){if(e==null)return null;if(typeof e=="function")return e.$$typeof===A?null:e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case y:return"Fragment";case M:return"Profiler";case V:return"StrictMode";case U:return"Suspense";case Y:return"SuspenseList";case J:return"Activity"}if(typeof e=="object")switch(typeof e.tag=="number"&&console.error("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),e.$$typeof){case I:return"Portal";case W:return e.displayName||"Context";case F:return(e._context.displayName||"Context")+".Consumer";case L:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case X:return t=e.displayName||null,t!==null?t:r(e.type)||"Memo";case k:t=e._payload,e=e._init;try{return r(e(t))}catch{}}return null}function n(e){return""+e}function s(e){try{n(e);var t=!1}catch{t=!0}if(t){t=console;var o=t.error,a=typeof Symbol=="function"&&Symbol.toStringTag&&e[Symbol.toStringTag]||e.constructor.name||"Object";return o.call(t,"The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",a),n(e)}}function c(e){if(e===y)return"<>";if(typeof e=="object"&&e!==null&&e.$$typeof===k)return"<...>";try{var t=r(e);return t?"<"+t+">":"<...>"}catch{return"<...>"}}function l(){var e=j.A;return e===null?null:e.getOwner()}function d(){return Error("react-stack-top-frame")}function f(e){if(C.call(e,"key")){var t=Object.getOwnPropertyDescriptor(e,"key").get;if(t&&t.isReactWarning)return!1}return e.key!==void 0}function p(e,t){function o(){R||(R=!0,console.error("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://react.dev/link/special-props)",t))}o.isReactWarning=!0,Object.defineProperty(e,"key",{get:o,configurable:!0})}function g(){var e=r(this.type);return T[e]||(T[e]=!0,console.error("Accessing element.ref was removed in React 19. ref is now a regular prop. It will be removed from the JSX Element type in a future release.")),e=this.props.ref,e!==void 0?e:null}function O(e,t,o,a,w,_){var i=o.ref;return e={$$typeof:z,type:e,key:t,props:o,_owner:a},(i!==void 0?i:null)!==null?Object.defineProperty(e,"ref",{enumerable:!1,get:g}):Object.defineProperty(e,"ref",{enumerable:!1,value:null}),e._store={},Object.defineProperty(e._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:0}),Object.defineProperty(e,"_debugInfo",{configurable:!1,enumerable:!1,writable:!0,value:null}),Object.defineProperty(e,"_debugStack",{configurable:!1,enumerable:!1,writable:!0,value:w}),Object.defineProperty(e,"_debugTask",{configurable:!1,enumerable:!1,writable:!0,value:_}),Object.freeze&&(Object.freeze(e.props),Object.freeze(e)),e}function x(e,t,o,a,w,_){var i=t.children;if(i!==void 0)if(a)if(H(i)){for(a=0;a<i.length;a++)h(i[a]);Object.freeze&&Object.freeze(i)}else console.error("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");else h(i);if(C.call(t,"key")){i=r(e);var m=Object.keys(t).filter(function(K){return K!=="key"});a=0<m.length?"{key: someKey, "+m.join(": ..., ")+": ...}":"{key: someKey}",D[i+a]||(m=0<m.length?"{"+m.join(": ..., ")+": ...}":"{}",console.error(`A props object containing a "key" prop is being spread into JSX:
28
+ let props = %s;
29
+ <%s {...props} />
30
+ React keys must be passed directly to JSX without using spread:
31
+ let props = %s;
32
+ <%s key={someKey} {...props} />`,a,i,m,i),D[i+a]=!0)}if(i=null,o!==void 0&&(s(o),i=""+o),f(t)&&(s(t.key),i=""+t.key),"key"in t){o={};for(var S in t)S!=="key"&&(o[S]=t[S])}else o=t;return i&&p(o,typeof e=="function"?e.displayName||e.name||"Unknown":e),O(e,i,o,l(),w,_)}function h(e){E(e)?e._store&&(e._store.validated=1):typeof e=="object"&&e!==null&&e.$$typeof===k&&(e._payload.status==="fulfilled"?E(e._payload.value)&&e._payload.value._store&&(e._payload.value._store.validated=1):e._store&&(e._store.validated=1))}function E(e){return typeof e=="object"&&e!==null&&e.$$typeof===z}var v=B,z=Symbol.for("react.transitional.element"),I=Symbol.for("react.portal"),y=Symbol.for("react.fragment"),V=Symbol.for("react.strict_mode"),M=Symbol.for("react.profiler"),F=Symbol.for("react.consumer"),W=Symbol.for("react.context"),L=Symbol.for("react.forward_ref"),U=Symbol.for("react.suspense"),Y=Symbol.for("react.suspense_list"),X=Symbol.for("react.memo"),k=Symbol.for("react.lazy"),J=Symbol.for("react.activity"),A=Symbol.for("react.client.reference"),j=v.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,C=Object.prototype.hasOwnProperty,H=Array.isArray,b=console.createTask?console.createTask:function(){return null};v={react_stack_bottom_frame:function(e){return e()}};var R,T={},P=v.react_stack_bottom_frame.bind(v,d)(),$=b(c(d)),D={};qe.Fragment=y,qe.jsx=function(e,t,o){var a=1e4>j.recentlyCreatedOwnerStacks++;return x(e,t,o,!1,a?Error("react-stack-top-frame"):P,a?b(c(e)):$)},qe.jsxs=function(e,t,o){var a=1e4>j.recentlyCreatedOwnerStacks++;return x(e,t,o,!0,a?Error("react-stack-top-frame"):P,a?b(c(e)):$)}})()),qe}var Ir;function Es(){return Ir||(Ir=1,process.env.NODE_ENV==="production"?Dt.exports=Ss():Dt.exports=Rs()),Dt.exports}Es();G.cva("inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-md text-sm font-medium transition-all disabled:pointer-events-none disabled:opacity-50 [&_svg]:pointer-events-none [&_svg:not([class*='size-'])]:size-4 shrink-0 [&_svg]:shrink-0 outline-none focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:ring-[3px] aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive",{variants:{variant:{default:"bg-primary text-primary-foreground shadow-xs hover:bg-primary/90",destructive:"bg-destructive text-white shadow-xs hover:bg-destructive/90 focus-visible:ring-destructive/20 dark:focus-visible:ring-destructive/40 dark:bg-destructive/60",outline:"border bg-background shadow-xs hover:bg-accent hover:text-accent-foreground dark:bg-input/30 dark:border-input dark:hover:bg-input/50",secondary:"bg-secondary text-secondary-foreground shadow-xs hover:bg-secondary/80",ghost:"hover:bg-accent hover:text-accent-foreground dark:hover:bg-accent/50",link:"text-primary underline-offset-4 hover:underline"},size:{default:"h-9 px-4 py-2 has-[>svg]:px-3",sm:"h-8 rounded-md gap-1.5 px-3 has-[>svg]:px-2.5",lg:"h-10 rounded-md px-6 has-[>svg]:px-4",icon:"size-9"}},defaultVariants:{variant:"default",size:"default"}});G.cva("inline-flex items-center justify-center rounded-md border px-2 py-0.5 text-xs font-medium w-fit whitespace-nowrap shrink-0 [&>svg]:size-3 gap-1 [&>svg]:pointer-events-none focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:ring-[3px] aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive transition-[color,box-shadow] overflow-hidden",{variants:{variant:{default:"border-transparent bg-primary text-primary-foreground [a&]:hover:bg-primary/90",secondary:"border-transparent bg-secondary text-secondary-foreground [a&]:hover:bg-secondary/90",destructive:"border-transparent bg-destructive text-white [a&]:hover:bg-destructive/90 focus-visible:ring-destructive/20 dark:focus-visible:ring-destructive/40 dark:bg-destructive/60",outline:"text-foreground [a&]:hover:bg-accent [a&]:hover:text-accent-foreground"}},defaultVariants:{variant:"default"}});N.createContext({});N.createContext({});N.createContext(null);var At={exports:{}},he={},Mr;function Ns(){if(Mr)return he;Mr=1;var r=Symbol.for("react.transitional.element"),n=Symbol.for("react.fragment");function s(c,l,d){var f=null;if(d!==void 0&&(f=""+d),l.key!==void 0&&(f=""+l.key),"key"in l){d={};for(var p in l)p!=="key"&&(d[p]=l[p])}else d=l;return l=d.ref,{$$typeof:r,type:c,key:f,ref:l!==void 0?l:null,props:d}}return he.Fragment=n,he.jsx=s,he.jsxs=s,he}var Qe={},Vr;function Os(){return Vr||(Vr=1,process.env.NODE_ENV!=="production"&&(function(){function r(e){if(e==null)return null;if(typeof e=="function")return e.$$typeof===A?null:e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case y:return"Fragment";case M:return"Profiler";case V:return"StrictMode";case U:return"Suspense";case Y:return"SuspenseList";case J:return"Activity"}if(typeof e=="object")switch(typeof e.tag=="number"&&console.error("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),e.$$typeof){case I:return"Portal";case W:return e.displayName||"Context";case F:return(e._context.displayName||"Context")+".Consumer";case L:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case X:return t=e.displayName||null,t!==null?t:r(e.type)||"Memo";case k:t=e._payload,e=e._init;try{return r(e(t))}catch{}}return null}function n(e){return""+e}function s(e){try{n(e);var t=!1}catch{t=!0}if(t){t=console;var o=t.error,a=typeof Symbol=="function"&&Symbol.toStringTag&&e[Symbol.toStringTag]||e.constructor.name||"Object";return o.call(t,"The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",a),n(e)}}function c(e){if(e===y)return"<>";if(typeof e=="object"&&e!==null&&e.$$typeof===k)return"<...>";try{var t=r(e);return t?"<"+t+">":"<...>"}catch{return"<...>"}}function l(){var e=j.A;return e===null?null:e.getOwner()}function d(){return Error("react-stack-top-frame")}function f(e){if(C.call(e,"key")){var t=Object.getOwnPropertyDescriptor(e,"key").get;if(t&&t.isReactWarning)return!1}return e.key!==void 0}function p(e,t){function o(){R||(R=!0,console.error("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://react.dev/link/special-props)",t))}o.isReactWarning=!0,Object.defineProperty(e,"key",{get:o,configurable:!0})}function g(){var e=r(this.type);return T[e]||(T[e]=!0,console.error("Accessing element.ref was removed in React 19. ref is now a regular prop. It will be removed from the JSX Element type in a future release.")),e=this.props.ref,e!==void 0?e:null}function O(e,t,o,a,w,_){var i=o.ref;return e={$$typeof:z,type:e,key:t,props:o,_owner:a},(i!==void 0?i:null)!==null?Object.defineProperty(e,"ref",{enumerable:!1,get:g}):Object.defineProperty(e,"ref",{enumerable:!1,value:null}),e._store={},Object.defineProperty(e._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:0}),Object.defineProperty(e,"_debugInfo",{configurable:!1,enumerable:!1,writable:!0,value:null}),Object.defineProperty(e,"_debugStack",{configurable:!1,enumerable:!1,writable:!0,value:w}),Object.defineProperty(e,"_debugTask",{configurable:!1,enumerable:!1,writable:!0,value:_}),Object.freeze&&(Object.freeze(e.props),Object.freeze(e)),e}function x(e,t,o,a,w,_){var i=t.children;if(i!==void 0)if(a)if(H(i)){for(a=0;a<i.length;a++)h(i[a]);Object.freeze&&Object.freeze(i)}else console.error("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");else h(i);if(C.call(t,"key")){i=r(e);var m=Object.keys(t).filter(function(K){return K!=="key"});a=0<m.length?"{key: someKey, "+m.join(": ..., ")+": ...}":"{key: someKey}",D[i+a]||(m=0<m.length?"{"+m.join(": ..., ")+": ...}":"{}",console.error(`A props object containing a "key" prop is being spread into JSX:
33
+ let props = %s;
34
+ <%s {...props} />
35
+ React keys must be passed directly to JSX without using spread:
36
+ let props = %s;
37
+ <%s key={someKey} {...props} />`,a,i,m,i),D[i+a]=!0)}if(i=null,o!==void 0&&(s(o),i=""+o),f(t)&&(s(t.key),i=""+t.key),"key"in t){o={};for(var S in t)S!=="key"&&(o[S]=t[S])}else o=t;return i&&p(o,typeof e=="function"?e.displayName||e.name||"Unknown":e),O(e,i,o,l(),w,_)}function h(e){E(e)?e._store&&(e._store.validated=1):typeof e=="object"&&e!==null&&e.$$typeof===k&&(e._payload.status==="fulfilled"?E(e._payload.value)&&e._payload.value._store&&(e._payload.value._store.validated=1):e._store&&(e._store.validated=1))}function E(e){return typeof e=="object"&&e!==null&&e.$$typeof===z}var v=B,z=Symbol.for("react.transitional.element"),I=Symbol.for("react.portal"),y=Symbol.for("react.fragment"),V=Symbol.for("react.strict_mode"),M=Symbol.for("react.profiler"),F=Symbol.for("react.consumer"),W=Symbol.for("react.context"),L=Symbol.for("react.forward_ref"),U=Symbol.for("react.suspense"),Y=Symbol.for("react.suspense_list"),X=Symbol.for("react.memo"),k=Symbol.for("react.lazy"),J=Symbol.for("react.activity"),A=Symbol.for("react.client.reference"),j=v.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,C=Object.prototype.hasOwnProperty,H=Array.isArray,b=console.createTask?console.createTask:function(){return null};v={react_stack_bottom_frame:function(e){return e()}};var R,T={},P=v.react_stack_bottom_frame.bind(v,d)(),$=b(c(d)),D={};Qe.Fragment=y,Qe.jsx=function(e,t,o){var a=1e4>j.recentlyCreatedOwnerStacks++;return x(e,t,o,!1,a?Error("react-stack-top-frame"):P,a?b(c(e)):$)},Qe.jsxs=function(e,t,o){var a=1e4>j.recentlyCreatedOwnerStacks++;return x(e,t,o,!0,a?Error("react-stack-top-frame"):P,a?b(c(e)):$)}})()),Qe}var Wr;function Cs(){return Wr||(Wr=1,process.env.NODE_ENV==="production"?At.exports=Ns():At.exports=Os()),At.exports}Cs();G.cva("inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-md text-sm font-medium transition-all disabled:pointer-events-none disabled:opacity-50 [&_svg]:pointer-events-none [&_svg:not([class*='size-'])]:size-4 shrink-0 [&_svg]:shrink-0 outline-none focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:ring-[3px] aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive",{variants:{variant:{default:"bg-primary text-primary-foreground shadow-xs hover:bg-primary/90",destructive:"bg-destructive text-white shadow-xs hover:bg-destructive/90 focus-visible:ring-destructive/20 dark:focus-visible:ring-destructive/40 dark:bg-destructive/60",outline:"border bg-background shadow-xs hover:bg-accent hover:text-accent-foreground dark:bg-input/30 dark:border-input dark:hover:bg-input/50",secondary:"bg-secondary text-secondary-foreground shadow-xs hover:bg-secondary/80",ghost:"hover:bg-accent hover:text-accent-foreground dark:hover:bg-accent/50",link:"text-primary underline-offset-4 hover:underline"},size:{default:"h-9 px-4 py-2 has-[>svg]:px-3",sm:"h-8 rounded-md gap-1.5 px-3 has-[>svg]:px-2.5",lg:"h-10 rounded-md px-6 has-[>svg]:px-4",icon:"size-9"}},defaultVariants:{variant:"default",size:"default"}});G.cva("inline-flex items-center justify-center rounded-md border px-2 py-0.5 text-xs font-medium w-fit whitespace-nowrap shrink-0 [&>svg]:size-3 gap-1 [&>svg]:pointer-events-none focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:ring-[3px] aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive transition-[color,box-shadow] overflow-hidden",{variants:{variant:{default:"border-transparent bg-primary text-primary-foreground [a&]:hover:bg-primary/90",secondary:"border-transparent bg-secondary text-secondary-foreground [a&]:hover:bg-secondary/90",destructive:"border-transparent bg-destructive text-white [a&]:hover:bg-destructive/90 focus-visible:ring-destructive/20 dark:focus-visible:ring-destructive/40 dark:bg-destructive/60",outline:"text-foreground [a&]:hover:bg-accent [a&]:hover:text-accent-foreground"}},defaultVariants:{variant:"default"}});N.createContext({});N.createContext({});N.createContext(null);var Ft={exports:{}},ke={},Ur;function Ts(){if(Ur)return ke;Ur=1;var r=Symbol.for("react.transitional.element"),n=Symbol.for("react.fragment");function s(c,l,d){var f=null;if(d!==void 0&&(f=""+d),l.key!==void 0&&(f=""+l.key),"key"in l){d={};for(var p in l)p!=="key"&&(d[p]=l[p])}else d=l;return l=d.ref,{$$typeof:r,type:c,key:f,ref:l!==void 0?l:null,props:d}}return ke.Fragment=n,ke.jsx=s,ke.jsxs=s,ke}var Ze={},Lr;function Ps(){return Lr||(Lr=1,process.env.NODE_ENV!=="production"&&(function(){function r(e){if(e==null)return null;if(typeof e=="function")return e.$$typeof===A?null:e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case y:return"Fragment";case M:return"Profiler";case V:return"StrictMode";case U:return"Suspense";case Y:return"SuspenseList";case J:return"Activity"}if(typeof e=="object")switch(typeof e.tag=="number"&&console.error("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),e.$$typeof){case I:return"Portal";case W:return e.displayName||"Context";case F:return(e._context.displayName||"Context")+".Consumer";case L:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case X:return t=e.displayName||null,t!==null?t:r(e.type)||"Memo";case k:t=e._payload,e=e._init;try{return r(e(t))}catch{}}return null}function n(e){return""+e}function s(e){try{n(e);var t=!1}catch{t=!0}if(t){t=console;var o=t.error,a=typeof Symbol=="function"&&Symbol.toStringTag&&e[Symbol.toStringTag]||e.constructor.name||"Object";return o.call(t,"The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",a),n(e)}}function c(e){if(e===y)return"<>";if(typeof e=="object"&&e!==null&&e.$$typeof===k)return"<...>";try{var t=r(e);return t?"<"+t+">":"<...>"}catch{return"<...>"}}function l(){var e=j.A;return e===null?null:e.getOwner()}function d(){return Error("react-stack-top-frame")}function f(e){if(C.call(e,"key")){var t=Object.getOwnPropertyDescriptor(e,"key").get;if(t&&t.isReactWarning)return!1}return e.key!==void 0}function p(e,t){function o(){R||(R=!0,console.error("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://react.dev/link/special-props)",t))}o.isReactWarning=!0,Object.defineProperty(e,"key",{get:o,configurable:!0})}function g(){var e=r(this.type);return T[e]||(T[e]=!0,console.error("Accessing element.ref was removed in React 19. ref is now a regular prop. It will be removed from the JSX Element type in a future release.")),e=this.props.ref,e!==void 0?e:null}function O(e,t,o,a,w,_){var i=o.ref;return e={$$typeof:z,type:e,key:t,props:o,_owner:a},(i!==void 0?i:null)!==null?Object.defineProperty(e,"ref",{enumerable:!1,get:g}):Object.defineProperty(e,"ref",{enumerable:!1,value:null}),e._store={},Object.defineProperty(e._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:0}),Object.defineProperty(e,"_debugInfo",{configurable:!1,enumerable:!1,writable:!0,value:null}),Object.defineProperty(e,"_debugStack",{configurable:!1,enumerable:!1,writable:!0,value:w}),Object.defineProperty(e,"_debugTask",{configurable:!1,enumerable:!1,writable:!0,value:_}),Object.freeze&&(Object.freeze(e.props),Object.freeze(e)),e}function x(e,t,o,a,w,_){var i=t.children;if(i!==void 0)if(a)if(H(i)){for(a=0;a<i.length;a++)h(i[a]);Object.freeze&&Object.freeze(i)}else console.error("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");else h(i);if(C.call(t,"key")){i=r(e);var m=Object.keys(t).filter(function(K){return K!=="key"});a=0<m.length?"{key: someKey, "+m.join(": ..., ")+": ...}":"{key: someKey}",D[i+a]||(m=0<m.length?"{"+m.join(": ..., ")+": ...}":"{}",console.error(`A props object containing a "key" prop is being spread into JSX:
38
+ let props = %s;
39
+ <%s {...props} />
40
+ React keys must be passed directly to JSX without using spread:
41
+ let props = %s;
42
+ <%s key={someKey} {...props} />`,a,i,m,i),D[i+a]=!0)}if(i=null,o!==void 0&&(s(o),i=""+o),f(t)&&(s(t.key),i=""+t.key),"key"in t){o={};for(var S in t)S!=="key"&&(o[S]=t[S])}else o=t;return i&&p(o,typeof e=="function"?e.displayName||e.name||"Unknown":e),O(e,i,o,l(),w,_)}function h(e){E(e)?e._store&&(e._store.validated=1):typeof e=="object"&&e!==null&&e.$$typeof===k&&(e._payload.status==="fulfilled"?E(e._payload.value)&&e._payload.value._store&&(e._payload.value._store.validated=1):e._store&&(e._store.validated=1))}function E(e){return typeof e=="object"&&e!==null&&e.$$typeof===z}var v=B,z=Symbol.for("react.transitional.element"),I=Symbol.for("react.portal"),y=Symbol.for("react.fragment"),V=Symbol.for("react.strict_mode"),M=Symbol.for("react.profiler"),F=Symbol.for("react.consumer"),W=Symbol.for("react.context"),L=Symbol.for("react.forward_ref"),U=Symbol.for("react.suspense"),Y=Symbol.for("react.suspense_list"),X=Symbol.for("react.memo"),k=Symbol.for("react.lazy"),J=Symbol.for("react.activity"),A=Symbol.for("react.client.reference"),j=v.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,C=Object.prototype.hasOwnProperty,H=Array.isArray,b=console.createTask?console.createTask:function(){return null};v={react_stack_bottom_frame:function(e){return e()}};var R,T={},P=v.react_stack_bottom_frame.bind(v,d)(),$=b(c(d)),D={};Ze.Fragment=y,Ze.jsx=function(e,t,o){var a=1e4>j.recentlyCreatedOwnerStacks++;return x(e,t,o,!1,a?Error("react-stack-top-frame"):P,a?b(c(e)):$)},Ze.jsxs=function(e,t,o){var a=1e4>j.recentlyCreatedOwnerStacks++;return x(e,t,o,!0,a?Error("react-stack-top-frame"):P,a?b(c(e)):$)}})()),Ze}var Yr;function zs(){return Yr||(Yr=1,process.env.NODE_ENV==="production"?Ft.exports=Ts():Ft.exports=Ps()),Ft.exports}zs();G.cva("inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-md text-sm font-medium transition-all disabled:pointer-events-none disabled:opacity-50 [&_svg]:pointer-events-none [&_svg:not([class*='size-'])]:size-4 shrink-0 [&_svg]:shrink-0 outline-none focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:ring-[3px] aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive",{variants:{variant:{default:"bg-primary text-primary-foreground shadow-xs hover:bg-primary/90",destructive:"bg-destructive text-white shadow-xs hover:bg-destructive/90 focus-visible:ring-destructive/20 dark:focus-visible:ring-destructive/40 dark:bg-destructive/60",outline:"border bg-background shadow-xs hover:bg-accent hover:text-accent-foreground dark:bg-input/30 dark:border-input dark:hover:bg-input/50",secondary:"bg-secondary text-secondary-foreground shadow-xs hover:bg-secondary/80",ghost:"hover:bg-accent hover:text-accent-foreground dark:hover:bg-accent/50",link:"text-primary underline-offset-4 hover:underline"},size:{default:"h-9 px-4 py-2 has-[>svg]:px-3",sm:"h-8 rounded-md gap-1.5 px-3 has-[>svg]:px-2.5",lg:"h-10 rounded-md px-6 has-[>svg]:px-4",icon:"size-9"}},defaultVariants:{variant:"default",size:"default"}});G.cva("inline-flex items-center justify-center rounded-md border px-2 py-0.5 text-xs font-medium w-fit whitespace-nowrap shrink-0 [&>svg]:size-3 gap-1 [&>svg]:pointer-events-none focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:ring-[3px] aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive transition-[color,box-shadow] overflow-hidden",{variants:{variant:{default:"border-transparent bg-primary text-primary-foreground [a&]:hover:bg-primary/90",secondary:"border-transparent bg-secondary text-secondary-foreground [a&]:hover:bg-secondary/90",destructive:"border-transparent bg-destructive text-white [a&]:hover:bg-destructive/90 focus-visible:ring-destructive/20 dark:focus-visible:ring-destructive/40 dark:bg-destructive/60",outline:"text-foreground [a&]:hover:bg-accent [a&]:hover:text-accent-foreground"}},defaultVariants:{variant:"default"}});N.createContext({});N.createContext({});N.createContext(null);var It={exports:{}},je={},Xr;function $s(){if(Xr)return je;Xr=1;var r=Symbol.for("react.transitional.element"),n=Symbol.for("react.fragment");function s(c,l,d){var f=null;if(d!==void 0&&(f=""+d),l.key!==void 0&&(f=""+l.key),"key"in l){d={};for(var p in l)p!=="key"&&(d[p]=l[p])}else d=l;return l=d.ref,{$$typeof:r,type:c,key:f,ref:l!==void 0?l:null,props:d}}return je.Fragment=n,je.jsx=s,je.jsxs=s,je}var et={},Jr;function Ds(){return Jr||(Jr=1,process.env.NODE_ENV!=="production"&&(function(){function r(e){if(e==null)return null;if(typeof e=="function")return e.$$typeof===A?null:e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case y:return"Fragment";case M:return"Profiler";case V:return"StrictMode";case U:return"Suspense";case Y:return"SuspenseList";case J:return"Activity"}if(typeof e=="object")switch(typeof e.tag=="number"&&console.error("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),e.$$typeof){case I:return"Portal";case W:return e.displayName||"Context";case F:return(e._context.displayName||"Context")+".Consumer";case L:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case X:return t=e.displayName||null,t!==null?t:r(e.type)||"Memo";case k:t=e._payload,e=e._init;try{return r(e(t))}catch{}}return null}function n(e){return""+e}function s(e){try{n(e);var t=!1}catch{t=!0}if(t){t=console;var o=t.error,a=typeof Symbol=="function"&&Symbol.toStringTag&&e[Symbol.toStringTag]||e.constructor.name||"Object";return o.call(t,"The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",a),n(e)}}function c(e){if(e===y)return"<>";if(typeof e=="object"&&e!==null&&e.$$typeof===k)return"<...>";try{var t=r(e);return t?"<"+t+">":"<...>"}catch{return"<...>"}}function l(){var e=j.A;return e===null?null:e.getOwner()}function d(){return Error("react-stack-top-frame")}function f(e){if(C.call(e,"key")){var t=Object.getOwnPropertyDescriptor(e,"key").get;if(t&&t.isReactWarning)return!1}return e.key!==void 0}function p(e,t){function o(){R||(R=!0,console.error("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://react.dev/link/special-props)",t))}o.isReactWarning=!0,Object.defineProperty(e,"key",{get:o,configurable:!0})}function g(){var e=r(this.type);return T[e]||(T[e]=!0,console.error("Accessing element.ref was removed in React 19. ref is now a regular prop. It will be removed from the JSX Element type in a future release.")),e=this.props.ref,e!==void 0?e:null}function O(e,t,o,a,w,_){var i=o.ref;return e={$$typeof:z,type:e,key:t,props:o,_owner:a},(i!==void 0?i:null)!==null?Object.defineProperty(e,"ref",{enumerable:!1,get:g}):Object.defineProperty(e,"ref",{enumerable:!1,value:null}),e._store={},Object.defineProperty(e._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:0}),Object.defineProperty(e,"_debugInfo",{configurable:!1,enumerable:!1,writable:!0,value:null}),Object.defineProperty(e,"_debugStack",{configurable:!1,enumerable:!1,writable:!0,value:w}),Object.defineProperty(e,"_debugTask",{configurable:!1,enumerable:!1,writable:!0,value:_}),Object.freeze&&(Object.freeze(e.props),Object.freeze(e)),e}function x(e,t,o,a,w,_){var i=t.children;if(i!==void 0)if(a)if(H(i)){for(a=0;a<i.length;a++)h(i[a]);Object.freeze&&Object.freeze(i)}else console.error("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");else h(i);if(C.call(t,"key")){i=r(e);var m=Object.keys(t).filter(function(K){return K!=="key"});a=0<m.length?"{key: someKey, "+m.join(": ..., ")+": ...}":"{key: someKey}",D[i+a]||(m=0<m.length?"{"+m.join(": ..., ")+": ...}":"{}",console.error(`A props object containing a "key" prop is being spread into JSX:
43
+ let props = %s;
44
+ <%s {...props} />
45
+ React keys must be passed directly to JSX without using spread:
46
+ let props = %s;
47
+ <%s key={someKey} {...props} />`,a,i,m,i),D[i+a]=!0)}if(i=null,o!==void 0&&(s(o),i=""+o),f(t)&&(s(t.key),i=""+t.key),"key"in t){o={};for(var S in t)S!=="key"&&(o[S]=t[S])}else o=t;return i&&p(o,typeof e=="function"?e.displayName||e.name||"Unknown":e),O(e,i,o,l(),w,_)}function h(e){E(e)?e._store&&(e._store.validated=1):typeof e=="object"&&e!==null&&e.$$typeof===k&&(e._payload.status==="fulfilled"?E(e._payload.value)&&e._payload.value._store&&(e._payload.value._store.validated=1):e._store&&(e._store.validated=1))}function E(e){return typeof e=="object"&&e!==null&&e.$$typeof===z}var v=B,z=Symbol.for("react.transitional.element"),I=Symbol.for("react.portal"),y=Symbol.for("react.fragment"),V=Symbol.for("react.strict_mode"),M=Symbol.for("react.profiler"),F=Symbol.for("react.consumer"),W=Symbol.for("react.context"),L=Symbol.for("react.forward_ref"),U=Symbol.for("react.suspense"),Y=Symbol.for("react.suspense_list"),X=Symbol.for("react.memo"),k=Symbol.for("react.lazy"),J=Symbol.for("react.activity"),A=Symbol.for("react.client.reference"),j=v.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,C=Object.prototype.hasOwnProperty,H=Array.isArray,b=console.createTask?console.createTask:function(){return null};v={react_stack_bottom_frame:function(e){return e()}};var R,T={},P=v.react_stack_bottom_frame.bind(v,d)(),$=b(c(d)),D={};et.Fragment=y,et.jsx=function(e,t,o){var a=1e4>j.recentlyCreatedOwnerStacks++;return x(e,t,o,!1,a?Error("react-stack-top-frame"):P,a?b(c(e)):$)},et.jsxs=function(e,t,o){var a=1e4>j.recentlyCreatedOwnerStacks++;return x(e,t,o,!0,a?Error("react-stack-top-frame"):P,a?b(c(e)):$)}})()),et}var Hr;function As(){return Hr||(Hr=1,process.env.NODE_ENV==="production"?It.exports=$s():It.exports=Ds()),It.exports}As();G.cva("inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-md text-sm font-medium transition-all disabled:pointer-events-none disabled:opacity-50 [&_svg]:pointer-events-none [&_svg:not([class*='size-'])]:size-4 shrink-0 [&_svg]:shrink-0 outline-none focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:ring-[3px] aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive",{variants:{variant:{default:"bg-primary text-primary-foreground shadow-xs hover:bg-primary/90",destructive:"bg-destructive text-white shadow-xs hover:bg-destructive/90 focus-visible:ring-destructive/20 dark:focus-visible:ring-destructive/40 dark:bg-destructive/60",outline:"border bg-background shadow-xs hover:bg-accent hover:text-accent-foreground dark:bg-input/30 dark:border-input dark:hover:bg-input/50",secondary:"bg-secondary text-secondary-foreground shadow-xs hover:bg-secondary/80",ghost:"hover:bg-accent hover:text-accent-foreground dark:hover:bg-accent/50",link:"text-primary underline-offset-4 hover:underline"},size:{default:"h-9 px-4 py-2 has-[>svg]:px-3",sm:"h-8 rounded-md gap-1.5 px-3 has-[>svg]:px-2.5",lg:"h-10 rounded-md px-6 has-[>svg]:px-4",icon:"size-9"}},defaultVariants:{variant:"default",size:"default"}});G.cva("inline-flex items-center justify-center rounded-md border px-2 py-0.5 text-xs font-medium w-fit whitespace-nowrap shrink-0 [&>svg]:size-3 gap-1 [&>svg]:pointer-events-none focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:ring-[3px] aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive transition-[color,box-shadow] overflow-hidden",{variants:{variant:{default:"border-transparent bg-primary text-primary-foreground [a&]:hover:bg-primary/90",secondary:"border-transparent bg-secondary text-secondary-foreground [a&]:hover:bg-secondary/90",destructive:"border-transparent bg-destructive text-white [a&]:hover:bg-destructive/90 focus-visible:ring-destructive/20 dark:focus-visible:ring-destructive/40 dark:bg-destructive/60",outline:"text-foreground [a&]:hover:bg-accent [a&]:hover:text-accent-foreground"}},defaultVariants:{variant:"default"}});N.createContext({});N.createContext({});N.createContext(null);var Mt={exports:{}},we={},Gr;function Fs(){if(Gr)return we;Gr=1;var r=Symbol.for("react.transitional.element"),n=Symbol.for("react.fragment");function s(c,l,d){var f=null;if(d!==void 0&&(f=""+d),l.key!==void 0&&(f=""+l.key),"key"in l){d={};for(var p in l)p!=="key"&&(d[p]=l[p])}else d=l;return l=d.ref,{$$typeof:r,type:c,key:f,ref:l!==void 0?l:null,props:d}}return we.Fragment=n,we.jsx=s,we.jsxs=s,we}var tt={},Kr;function Is(){return Kr||(Kr=1,process.env.NODE_ENV!=="production"&&(function(){function r(e){if(e==null)return null;if(typeof e=="function")return e.$$typeof===A?null:e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case y:return"Fragment";case M:return"Profiler";case V:return"StrictMode";case U:return"Suspense";case Y:return"SuspenseList";case J:return"Activity"}if(typeof e=="object")switch(typeof e.tag=="number"&&console.error("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),e.$$typeof){case I:return"Portal";case W:return e.displayName||"Context";case F:return(e._context.displayName||"Context")+".Consumer";case L:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case X:return t=e.displayName||null,t!==null?t:r(e.type)||"Memo";case k:t=e._payload,e=e._init;try{return r(e(t))}catch{}}return null}function n(e){return""+e}function s(e){try{n(e);var t=!1}catch{t=!0}if(t){t=console;var o=t.error,a=typeof Symbol=="function"&&Symbol.toStringTag&&e[Symbol.toStringTag]||e.constructor.name||"Object";return o.call(t,"The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",a),n(e)}}function c(e){if(e===y)return"<>";if(typeof e=="object"&&e!==null&&e.$$typeof===k)return"<...>";try{var t=r(e);return t?"<"+t+">":"<...>"}catch{return"<...>"}}function l(){var e=j.A;return e===null?null:e.getOwner()}function d(){return Error("react-stack-top-frame")}function f(e){if(C.call(e,"key")){var t=Object.getOwnPropertyDescriptor(e,"key").get;if(t&&t.isReactWarning)return!1}return e.key!==void 0}function p(e,t){function o(){R||(R=!0,console.error("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://react.dev/link/special-props)",t))}o.isReactWarning=!0,Object.defineProperty(e,"key",{get:o,configurable:!0})}function g(){var e=r(this.type);return T[e]||(T[e]=!0,console.error("Accessing element.ref was removed in React 19. ref is now a regular prop. It will be removed from the JSX Element type in a future release.")),e=this.props.ref,e!==void 0?e:null}function O(e,t,o,a,w,_){var i=o.ref;return e={$$typeof:z,type:e,key:t,props:o,_owner:a},(i!==void 0?i:null)!==null?Object.defineProperty(e,"ref",{enumerable:!1,get:g}):Object.defineProperty(e,"ref",{enumerable:!1,value:null}),e._store={},Object.defineProperty(e._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:0}),Object.defineProperty(e,"_debugInfo",{configurable:!1,enumerable:!1,writable:!0,value:null}),Object.defineProperty(e,"_debugStack",{configurable:!1,enumerable:!1,writable:!0,value:w}),Object.defineProperty(e,"_debugTask",{configurable:!1,enumerable:!1,writable:!0,value:_}),Object.freeze&&(Object.freeze(e.props),Object.freeze(e)),e}function x(e,t,o,a,w,_){var i=t.children;if(i!==void 0)if(a)if(H(i)){for(a=0;a<i.length;a++)h(i[a]);Object.freeze&&Object.freeze(i)}else console.error("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");else h(i);if(C.call(t,"key")){i=r(e);var m=Object.keys(t).filter(function(K){return K!=="key"});a=0<m.length?"{key: someKey, "+m.join(": ..., ")+": ...}":"{key: someKey}",D[i+a]||(m=0<m.length?"{"+m.join(": ..., ")+": ...}":"{}",console.error(`A props object containing a "key" prop is being spread into JSX:
48
+ let props = %s;
49
+ <%s {...props} />
50
+ React keys must be passed directly to JSX without using spread:
51
+ let props = %s;
52
+ <%s key={someKey} {...props} />`,a,i,m,i),D[i+a]=!0)}if(i=null,o!==void 0&&(s(o),i=""+o),f(t)&&(s(t.key),i=""+t.key),"key"in t){o={};for(var S in t)S!=="key"&&(o[S]=t[S])}else o=t;return i&&p(o,typeof e=="function"?e.displayName||e.name||"Unknown":e),O(e,i,o,l(),w,_)}function h(e){E(e)?e._store&&(e._store.validated=1):typeof e=="object"&&e!==null&&e.$$typeof===k&&(e._payload.status==="fulfilled"?E(e._payload.value)&&e._payload.value._store&&(e._payload.value._store.validated=1):e._store&&(e._store.validated=1))}function E(e){return typeof e=="object"&&e!==null&&e.$$typeof===z}var v=B,z=Symbol.for("react.transitional.element"),I=Symbol.for("react.portal"),y=Symbol.for("react.fragment"),V=Symbol.for("react.strict_mode"),M=Symbol.for("react.profiler"),F=Symbol.for("react.consumer"),W=Symbol.for("react.context"),L=Symbol.for("react.forward_ref"),U=Symbol.for("react.suspense"),Y=Symbol.for("react.suspense_list"),X=Symbol.for("react.memo"),k=Symbol.for("react.lazy"),J=Symbol.for("react.activity"),A=Symbol.for("react.client.reference"),j=v.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,C=Object.prototype.hasOwnProperty,H=Array.isArray,b=console.createTask?console.createTask:function(){return null};v={react_stack_bottom_frame:function(e){return e()}};var R,T={},P=v.react_stack_bottom_frame.bind(v,d)(),$=b(c(d)),D={};tt.Fragment=y,tt.jsx=function(e,t,o){var a=1e4>j.recentlyCreatedOwnerStacks++;return x(e,t,o,!1,a?Error("react-stack-top-frame"):P,a?b(c(e)):$)},tt.jsxs=function(e,t,o){var a=1e4>j.recentlyCreatedOwnerStacks++;return x(e,t,o,!0,a?Error("react-stack-top-frame"):P,a?b(c(e)):$)}})()),tt}var Br;function Ms(){return Br||(Br=1,process.env.NODE_ENV==="production"?Mt.exports=Fs():Mt.exports=Is()),Mt.exports}Ms();G.cva("inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-md text-sm font-medium transition-all disabled:pointer-events-none disabled:opacity-50 [&_svg]:pointer-events-none [&_svg:not([class*='size-'])]:size-4 shrink-0 [&_svg]:shrink-0 outline-none focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:ring-[3px] aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive",{variants:{variant:{default:"bg-primary text-primary-foreground shadow-xs hover:bg-primary/90",destructive:"bg-destructive text-white shadow-xs hover:bg-destructive/90 focus-visible:ring-destructive/20 dark:focus-visible:ring-destructive/40 dark:bg-destructive/60",outline:"border bg-background shadow-xs hover:bg-accent hover:text-accent-foreground dark:bg-input/30 dark:border-input dark:hover:bg-input/50",secondary:"bg-secondary text-secondary-foreground shadow-xs hover:bg-secondary/80",ghost:"hover:bg-accent hover:text-accent-foreground dark:hover:bg-accent/50",link:"text-primary underline-offset-4 hover:underline"},size:{default:"h-9 px-4 py-2 has-[>svg]:px-3",sm:"h-8 rounded-md gap-1.5 px-3 has-[>svg]:px-2.5",lg:"h-10 rounded-md px-6 has-[>svg]:px-4",icon:"size-9"}},defaultVariants:{variant:"default",size:"default"}});G.cva("inline-flex items-center justify-center rounded-md border px-2 py-0.5 text-xs font-medium w-fit whitespace-nowrap shrink-0 [&>svg]:size-3 gap-1 [&>svg]:pointer-events-none focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:ring-[3px] aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive transition-[color,box-shadow] overflow-hidden",{variants:{variant:{default:"border-transparent bg-primary text-primary-foreground [a&]:hover:bg-primary/90",secondary:"border-transparent bg-secondary text-secondary-foreground [a&]:hover:bg-secondary/90",destructive:"border-transparent bg-destructive text-white [a&]:hover:bg-destructive/90 focus-visible:ring-destructive/20 dark:focus-visible:ring-destructive/40 dark:bg-destructive/60",outline:"text-foreground [a&]:hover:bg-accent [a&]:hover:text-accent-foreground"}},defaultVariants:{variant:"default"}});N.createContext({});N.createContext({});N.createContext(null);var Vt={exports:{}},_e={},qr;function Vs(){if(qr)return _e;qr=1;var r=Symbol.for("react.transitional.element"),n=Symbol.for("react.fragment");function s(c,l,d){var f=null;if(d!==void 0&&(f=""+d),l.key!==void 0&&(f=""+l.key),"key"in l){d={};for(var p in l)p!=="key"&&(d[p]=l[p])}else d=l;return l=d.ref,{$$typeof:r,type:c,key:f,ref:l!==void 0?l:null,props:d}}return _e.Fragment=n,_e.jsx=s,_e.jsxs=s,_e}var rt={},Qr;function Ws(){return Qr||(Qr=1,process.env.NODE_ENV!=="production"&&(function(){function r(e){if(e==null)return null;if(typeof e=="function")return e.$$typeof===A?null:e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case y:return"Fragment";case M:return"Profiler";case V:return"StrictMode";case U:return"Suspense";case Y:return"SuspenseList";case J:return"Activity"}if(typeof e=="object")switch(typeof e.tag=="number"&&console.error("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),e.$$typeof){case I:return"Portal";case W:return e.displayName||"Context";case F:return(e._context.displayName||"Context")+".Consumer";case L:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case X:return t=e.displayName||null,t!==null?t:r(e.type)||"Memo";case k:t=e._payload,e=e._init;try{return r(e(t))}catch{}}return null}function n(e){return""+e}function s(e){try{n(e);var t=!1}catch{t=!0}if(t){t=console;var o=t.error,a=typeof Symbol=="function"&&Symbol.toStringTag&&e[Symbol.toStringTag]||e.constructor.name||"Object";return o.call(t,"The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",a),n(e)}}function c(e){if(e===y)return"<>";if(typeof e=="object"&&e!==null&&e.$$typeof===k)return"<...>";try{var t=r(e);return t?"<"+t+">":"<...>"}catch{return"<...>"}}function l(){var e=j.A;return e===null?null:e.getOwner()}function d(){return Error("react-stack-top-frame")}function f(e){if(C.call(e,"key")){var t=Object.getOwnPropertyDescriptor(e,"key").get;if(t&&t.isReactWarning)return!1}return e.key!==void 0}function p(e,t){function o(){R||(R=!0,console.error("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://react.dev/link/special-props)",t))}o.isReactWarning=!0,Object.defineProperty(e,"key",{get:o,configurable:!0})}function g(){var e=r(this.type);return T[e]||(T[e]=!0,console.error("Accessing element.ref was removed in React 19. ref is now a regular prop. It will be removed from the JSX Element type in a future release.")),e=this.props.ref,e!==void 0?e:null}function O(e,t,o,a,w,_){var i=o.ref;return e={$$typeof:z,type:e,key:t,props:o,_owner:a},(i!==void 0?i:null)!==null?Object.defineProperty(e,"ref",{enumerable:!1,get:g}):Object.defineProperty(e,"ref",{enumerable:!1,value:null}),e._store={},Object.defineProperty(e._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:0}),Object.defineProperty(e,"_debugInfo",{configurable:!1,enumerable:!1,writable:!0,value:null}),Object.defineProperty(e,"_debugStack",{configurable:!1,enumerable:!1,writable:!0,value:w}),Object.defineProperty(e,"_debugTask",{configurable:!1,enumerable:!1,writable:!0,value:_}),Object.freeze&&(Object.freeze(e.props),Object.freeze(e)),e}function x(e,t,o,a,w,_){var i=t.children;if(i!==void 0)if(a)if(H(i)){for(a=0;a<i.length;a++)h(i[a]);Object.freeze&&Object.freeze(i)}else console.error("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");else h(i);if(C.call(t,"key")){i=r(e);var m=Object.keys(t).filter(function(K){return K!=="key"});a=0<m.length?"{key: someKey, "+m.join(": ..., ")+": ...}":"{key: someKey}",D[i+a]||(m=0<m.length?"{"+m.join(": ..., ")+": ...}":"{}",console.error(`A props object containing a "key" prop is being spread into JSX:
53
+ let props = %s;
54
+ <%s {...props} />
55
+ React keys must be passed directly to JSX without using spread:
56
+ let props = %s;
57
+ <%s key={someKey} {...props} />`,a,i,m,i),D[i+a]=!0)}if(i=null,o!==void 0&&(s(o),i=""+o),f(t)&&(s(t.key),i=""+t.key),"key"in t){o={};for(var S in t)S!=="key"&&(o[S]=t[S])}else o=t;return i&&p(o,typeof e=="function"?e.displayName||e.name||"Unknown":e),O(e,i,o,l(),w,_)}function h(e){E(e)?e._store&&(e._store.validated=1):typeof e=="object"&&e!==null&&e.$$typeof===k&&(e._payload.status==="fulfilled"?E(e._payload.value)&&e._payload.value._store&&(e._payload.value._store.validated=1):e._store&&(e._store.validated=1))}function E(e){return typeof e=="object"&&e!==null&&e.$$typeof===z}var v=B,z=Symbol.for("react.transitional.element"),I=Symbol.for("react.portal"),y=Symbol.for("react.fragment"),V=Symbol.for("react.strict_mode"),M=Symbol.for("react.profiler"),F=Symbol.for("react.consumer"),W=Symbol.for("react.context"),L=Symbol.for("react.forward_ref"),U=Symbol.for("react.suspense"),Y=Symbol.for("react.suspense_list"),X=Symbol.for("react.memo"),k=Symbol.for("react.lazy"),J=Symbol.for("react.activity"),A=Symbol.for("react.client.reference"),j=v.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,C=Object.prototype.hasOwnProperty,H=Array.isArray,b=console.createTask?console.createTask:function(){return null};v={react_stack_bottom_frame:function(e){return e()}};var R,T={},P=v.react_stack_bottom_frame.bind(v,d)(),$=b(c(d)),D={};rt.Fragment=y,rt.jsx=function(e,t,o){var a=1e4>j.recentlyCreatedOwnerStacks++;return x(e,t,o,!1,a?Error("react-stack-top-frame"):P,a?b(c(e)):$)},rt.jsxs=function(e,t,o){var a=1e4>j.recentlyCreatedOwnerStacks++;return x(e,t,o,!0,a?Error("react-stack-top-frame"):P,a?b(c(e)):$)}})()),rt}var Zr;function Us(){return Zr||(Zr=1,process.env.NODE_ENV==="production"?Vt.exports=Vs():Vt.exports=Ws()),Vt.exports}Us();G.cva("inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-md text-sm font-medium transition-all disabled:pointer-events-none disabled:opacity-50 [&_svg]:pointer-events-none [&_svg:not([class*='size-'])]:size-4 shrink-0 [&_svg]:shrink-0 outline-none focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:ring-[3px] aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive",{variants:{variant:{default:"bg-primary text-primary-foreground shadow-xs hover:bg-primary/90",destructive:"bg-destructive text-white shadow-xs hover:bg-destructive/90 focus-visible:ring-destructive/20 dark:focus-visible:ring-destructive/40 dark:bg-destructive/60",outline:"border bg-background shadow-xs hover:bg-accent hover:text-accent-foreground dark:bg-input/30 dark:border-input dark:hover:bg-input/50",secondary:"bg-secondary text-secondary-foreground shadow-xs hover:bg-secondary/80",ghost:"hover:bg-accent hover:text-accent-foreground dark:hover:bg-accent/50",link:"text-primary underline-offset-4 hover:underline"},size:{default:"h-9 px-4 py-2 has-[>svg]:px-3",sm:"h-8 rounded-md gap-1.5 px-3 has-[>svg]:px-2.5",lg:"h-10 rounded-md px-6 has-[>svg]:px-4",icon:"size-9"}},defaultVariants:{variant:"default",size:"default"}});G.cva("inline-flex items-center justify-center rounded-md border px-2 py-0.5 text-xs font-medium w-fit whitespace-nowrap shrink-0 [&>svg]:size-3 gap-1 [&>svg]:pointer-events-none focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:ring-[3px] aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive transition-[color,box-shadow] overflow-hidden",{variants:{variant:{default:"border-transparent bg-primary text-primary-foreground [a&]:hover:bg-primary/90",secondary:"border-transparent bg-secondary text-secondary-foreground [a&]:hover:bg-secondary/90",destructive:"border-transparent bg-destructive text-white [a&]:hover:bg-destructive/90 focus-visible:ring-destructive/20 dark:focus-visible:ring-destructive/40 dark:bg-destructive/60",outline:"text-foreground [a&]:hover:bg-accent [a&]:hover:text-accent-foreground"}},defaultVariants:{variant:"default"}});N.createContext({});N.createContext({});N.createContext(null);var Wt={exports:{}},Se={},en;function Ls(){if(en)return Se;en=1;var r=Symbol.for("react.transitional.element"),n=Symbol.for("react.fragment");function s(c,l,d){var f=null;if(d!==void 0&&(f=""+d),l.key!==void 0&&(f=""+l.key),"key"in l){d={};for(var p in l)p!=="key"&&(d[p]=l[p])}else d=l;return l=d.ref,{$$typeof:r,type:c,key:f,ref:l!==void 0?l:null,props:d}}return Se.Fragment=n,Se.jsx=s,Se.jsxs=s,Se}var nt={},tn;function Ys(){return tn||(tn=1,process.env.NODE_ENV!=="production"&&(function(){function r(e){if(e==null)return null;if(typeof e=="function")return e.$$typeof===A?null:e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case y:return"Fragment";case M:return"Profiler";case V:return"StrictMode";case U:return"Suspense";case Y:return"SuspenseList";case J:return"Activity"}if(typeof e=="object")switch(typeof e.tag=="number"&&console.error("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),e.$$typeof){case I:return"Portal";case W:return e.displayName||"Context";case F:return(e._context.displayName||"Context")+".Consumer";case L:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case X:return t=e.displayName||null,t!==null?t:r(e.type)||"Memo";case k:t=e._payload,e=e._init;try{return r(e(t))}catch{}}return null}function n(e){return""+e}function s(e){try{n(e);var t=!1}catch{t=!0}if(t){t=console;var o=t.error,a=typeof Symbol=="function"&&Symbol.toStringTag&&e[Symbol.toStringTag]||e.constructor.name||"Object";return o.call(t,"The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",a),n(e)}}function c(e){if(e===y)return"<>";if(typeof e=="object"&&e!==null&&e.$$typeof===k)return"<...>";try{var t=r(e);return t?"<"+t+">":"<...>"}catch{return"<...>"}}function l(){var e=j.A;return e===null?null:e.getOwner()}function d(){return Error("react-stack-top-frame")}function f(e){if(C.call(e,"key")){var t=Object.getOwnPropertyDescriptor(e,"key").get;if(t&&t.isReactWarning)return!1}return e.key!==void 0}function p(e,t){function o(){R||(R=!0,console.error("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://react.dev/link/special-props)",t))}o.isReactWarning=!0,Object.defineProperty(e,"key",{get:o,configurable:!0})}function g(){var e=r(this.type);return T[e]||(T[e]=!0,console.error("Accessing element.ref was removed in React 19. ref is now a regular prop. It will be removed from the JSX Element type in a future release.")),e=this.props.ref,e!==void 0?e:null}function O(e,t,o,a,w,_){var i=o.ref;return e={$$typeof:z,type:e,key:t,props:o,_owner:a},(i!==void 0?i:null)!==null?Object.defineProperty(e,"ref",{enumerable:!1,get:g}):Object.defineProperty(e,"ref",{enumerable:!1,value:null}),e._store={},Object.defineProperty(e._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:0}),Object.defineProperty(e,"_debugInfo",{configurable:!1,enumerable:!1,writable:!0,value:null}),Object.defineProperty(e,"_debugStack",{configurable:!1,enumerable:!1,writable:!0,value:w}),Object.defineProperty(e,"_debugTask",{configurable:!1,enumerable:!1,writable:!0,value:_}),Object.freeze&&(Object.freeze(e.props),Object.freeze(e)),e}function x(e,t,o,a,w,_){var i=t.children;if(i!==void 0)if(a)if(H(i)){for(a=0;a<i.length;a++)h(i[a]);Object.freeze&&Object.freeze(i)}else console.error("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");else h(i);if(C.call(t,"key")){i=r(e);var m=Object.keys(t).filter(function(K){return K!=="key"});a=0<m.length?"{key: someKey, "+m.join(": ..., ")+": ...}":"{key: someKey}",D[i+a]||(m=0<m.length?"{"+m.join(": ..., ")+": ...}":"{}",console.error(`A props object containing a "key" prop is being spread into JSX:
58
+ let props = %s;
59
+ <%s {...props} />
60
+ React keys must be passed directly to JSX without using spread:
61
+ let props = %s;
62
+ <%s key={someKey} {...props} />`,a,i,m,i),D[i+a]=!0)}if(i=null,o!==void 0&&(s(o),i=""+o),f(t)&&(s(t.key),i=""+t.key),"key"in t){o={};for(var S in t)S!=="key"&&(o[S]=t[S])}else o=t;return i&&p(o,typeof e=="function"?e.displayName||e.name||"Unknown":e),O(e,i,o,l(),w,_)}function h(e){E(e)?e._store&&(e._store.validated=1):typeof e=="object"&&e!==null&&e.$$typeof===k&&(e._payload.status==="fulfilled"?E(e._payload.value)&&e._payload.value._store&&(e._payload.value._store.validated=1):e._store&&(e._store.validated=1))}function E(e){return typeof e=="object"&&e!==null&&e.$$typeof===z}var v=B,z=Symbol.for("react.transitional.element"),I=Symbol.for("react.portal"),y=Symbol.for("react.fragment"),V=Symbol.for("react.strict_mode"),M=Symbol.for("react.profiler"),F=Symbol.for("react.consumer"),W=Symbol.for("react.context"),L=Symbol.for("react.forward_ref"),U=Symbol.for("react.suspense"),Y=Symbol.for("react.suspense_list"),X=Symbol.for("react.memo"),k=Symbol.for("react.lazy"),J=Symbol.for("react.activity"),A=Symbol.for("react.client.reference"),j=v.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,C=Object.prototype.hasOwnProperty,H=Array.isArray,b=console.createTask?console.createTask:function(){return null};v={react_stack_bottom_frame:function(e){return e()}};var R,T={},P=v.react_stack_bottom_frame.bind(v,d)(),$=b(c(d)),D={};nt.Fragment=y,nt.jsx=function(e,t,o){var a=1e4>j.recentlyCreatedOwnerStacks++;return x(e,t,o,!1,a?Error("react-stack-top-frame"):P,a?b(c(e)):$)},nt.jsxs=function(e,t,o){var a=1e4>j.recentlyCreatedOwnerStacks++;return x(e,t,o,!0,a?Error("react-stack-top-frame"):P,a?b(c(e)):$)}})()),nt}var rn;function Xs(){return rn||(rn=1,process.env.NODE_ENV==="production"?Wt.exports=Ls():Wt.exports=Ys()),Wt.exports}Xs();G.cva("inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-md text-sm font-medium transition-all disabled:pointer-events-none disabled:opacity-50 [&_svg]:pointer-events-none [&_svg:not([class*='size-'])]:size-4 shrink-0 [&_svg]:shrink-0 outline-none focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:ring-[3px] aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive",{variants:{variant:{default:"bg-primary text-primary-foreground shadow-xs hover:bg-primary/90",destructive:"bg-destructive text-white shadow-xs hover:bg-destructive/90 focus-visible:ring-destructive/20 dark:focus-visible:ring-destructive/40 dark:bg-destructive/60",outline:"border bg-background shadow-xs hover:bg-accent hover:text-accent-foreground dark:bg-input/30 dark:border-input dark:hover:bg-input/50",secondary:"bg-secondary text-secondary-foreground shadow-xs hover:bg-secondary/80",ghost:"hover:bg-accent hover:text-accent-foreground dark:hover:bg-accent/50",link:"text-primary underline-offset-4 hover:underline"},size:{default:"h-9 px-4 py-2 has-[>svg]:px-3",sm:"h-8 rounded-md gap-1.5 px-3 has-[>svg]:px-2.5",lg:"h-10 rounded-md px-6 has-[>svg]:px-4",icon:"size-9"}},defaultVariants:{variant:"default",size:"default"}});G.cva("inline-flex items-center justify-center rounded-md border px-2 py-0.5 text-xs font-medium w-fit whitespace-nowrap shrink-0 [&>svg]:size-3 gap-1 [&>svg]:pointer-events-none focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:ring-[3px] aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive transition-[color,box-shadow] overflow-hidden",{variants:{variant:{default:"border-transparent bg-primary text-primary-foreground [a&]:hover:bg-primary/90",secondary:"border-transparent bg-secondary text-secondary-foreground [a&]:hover:bg-secondary/90",destructive:"border-transparent bg-destructive text-white [a&]:hover:bg-destructive/90 focus-visible:ring-destructive/20 dark:focus-visible:ring-destructive/40 dark:bg-destructive/60",outline:"text-foreground [a&]:hover:bg-accent [a&]:hover:text-accent-foreground"}},defaultVariants:{variant:"default"}});N.createContext({});N.createContext({});N.createContext(null);var Ut={exports:{}},Re={},nn;function Js(){if(nn)return Re;nn=1;var r=Symbol.for("react.transitional.element"),n=Symbol.for("react.fragment");function s(c,l,d){var f=null;if(d!==void 0&&(f=""+d),l.key!==void 0&&(f=""+l.key),"key"in l){d={};for(var p in l)p!=="key"&&(d[p]=l[p])}else d=l;return l=d.ref,{$$typeof:r,type:c,key:f,ref:l!==void 0?l:null,props:d}}return Re.Fragment=n,Re.jsx=s,Re.jsxs=s,Re}var ot={},on;function Hs(){return on||(on=1,process.env.NODE_ENV!=="production"&&(function(){function r(e){if(e==null)return null;if(typeof e=="function")return e.$$typeof===A?null:e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case y:return"Fragment";case M:return"Profiler";case V:return"StrictMode";case U:return"Suspense";case Y:return"SuspenseList";case J:return"Activity"}if(typeof e=="object")switch(typeof e.tag=="number"&&console.error("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),e.$$typeof){case I:return"Portal";case W:return e.displayName||"Context";case F:return(e._context.displayName||"Context")+".Consumer";case L:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case X:return t=e.displayName||null,t!==null?t:r(e.type)||"Memo";case k:t=e._payload,e=e._init;try{return r(e(t))}catch{}}return null}function n(e){return""+e}function s(e){try{n(e);var t=!1}catch{t=!0}if(t){t=console;var o=t.error,a=typeof Symbol=="function"&&Symbol.toStringTag&&e[Symbol.toStringTag]||e.constructor.name||"Object";return o.call(t,"The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",a),n(e)}}function c(e){if(e===y)return"<>";if(typeof e=="object"&&e!==null&&e.$$typeof===k)return"<...>";try{var t=r(e);return t?"<"+t+">":"<...>"}catch{return"<...>"}}function l(){var e=j.A;return e===null?null:e.getOwner()}function d(){return Error("react-stack-top-frame")}function f(e){if(C.call(e,"key")){var t=Object.getOwnPropertyDescriptor(e,"key").get;if(t&&t.isReactWarning)return!1}return e.key!==void 0}function p(e,t){function o(){R||(R=!0,console.error("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://react.dev/link/special-props)",t))}o.isReactWarning=!0,Object.defineProperty(e,"key",{get:o,configurable:!0})}function g(){var e=r(this.type);return T[e]||(T[e]=!0,console.error("Accessing element.ref was removed in React 19. ref is now a regular prop. It will be removed from the JSX Element type in a future release.")),e=this.props.ref,e!==void 0?e:null}function O(e,t,o,a,w,_){var i=o.ref;return e={$$typeof:z,type:e,key:t,props:o,_owner:a},(i!==void 0?i:null)!==null?Object.defineProperty(e,"ref",{enumerable:!1,get:g}):Object.defineProperty(e,"ref",{enumerable:!1,value:null}),e._store={},Object.defineProperty(e._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:0}),Object.defineProperty(e,"_debugInfo",{configurable:!1,enumerable:!1,writable:!0,value:null}),Object.defineProperty(e,"_debugStack",{configurable:!1,enumerable:!1,writable:!0,value:w}),Object.defineProperty(e,"_debugTask",{configurable:!1,enumerable:!1,writable:!0,value:_}),Object.freeze&&(Object.freeze(e.props),Object.freeze(e)),e}function x(e,t,o,a,w,_){var i=t.children;if(i!==void 0)if(a)if(H(i)){for(a=0;a<i.length;a++)h(i[a]);Object.freeze&&Object.freeze(i)}else console.error("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");else h(i);if(C.call(t,"key")){i=r(e);var m=Object.keys(t).filter(function(K){return K!=="key"});a=0<m.length?"{key: someKey, "+m.join(": ..., ")+": ...}":"{key: someKey}",D[i+a]||(m=0<m.length?"{"+m.join(": ..., ")+": ...}":"{}",console.error(`A props object containing a "key" prop is being spread into JSX:
63
+ let props = %s;
64
+ <%s {...props} />
65
+ React keys must be passed directly to JSX without using spread:
66
+ let props = %s;
67
+ <%s key={someKey} {...props} />`,a,i,m,i),D[i+a]=!0)}if(i=null,o!==void 0&&(s(o),i=""+o),f(t)&&(s(t.key),i=""+t.key),"key"in t){o={};for(var S in t)S!=="key"&&(o[S]=t[S])}else o=t;return i&&p(o,typeof e=="function"?e.displayName||e.name||"Unknown":e),O(e,i,o,l(),w,_)}function h(e){E(e)?e._store&&(e._store.validated=1):typeof e=="object"&&e!==null&&e.$$typeof===k&&(e._payload.status==="fulfilled"?E(e._payload.value)&&e._payload.value._store&&(e._payload.value._store.validated=1):e._store&&(e._store.validated=1))}function E(e){return typeof e=="object"&&e!==null&&e.$$typeof===z}var v=B,z=Symbol.for("react.transitional.element"),I=Symbol.for("react.portal"),y=Symbol.for("react.fragment"),V=Symbol.for("react.strict_mode"),M=Symbol.for("react.profiler"),F=Symbol.for("react.consumer"),W=Symbol.for("react.context"),L=Symbol.for("react.forward_ref"),U=Symbol.for("react.suspense"),Y=Symbol.for("react.suspense_list"),X=Symbol.for("react.memo"),k=Symbol.for("react.lazy"),J=Symbol.for("react.activity"),A=Symbol.for("react.client.reference"),j=v.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,C=Object.prototype.hasOwnProperty,H=Array.isArray,b=console.createTask?console.createTask:function(){return null};v={react_stack_bottom_frame:function(e){return e()}};var R,T={},P=v.react_stack_bottom_frame.bind(v,d)(),$=b(c(d)),D={};ot.Fragment=y,ot.jsx=function(e,t,o){var a=1e4>j.recentlyCreatedOwnerStacks++;return x(e,t,o,!1,a?Error("react-stack-top-frame"):P,a?b(c(e)):$)},ot.jsxs=function(e,t,o){var a=1e4>j.recentlyCreatedOwnerStacks++;return x(e,t,o,!0,a?Error("react-stack-top-frame"):P,a?b(c(e)):$)}})()),ot}var an;function Gs(){return an||(an=1,process.env.NODE_ENV==="production"?Ut.exports=Js():Ut.exports=Hs()),Ut.exports}Gs();G.cva("inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-md text-sm font-medium transition-all disabled:pointer-events-none disabled:opacity-50 [&_svg]:pointer-events-none [&_svg:not([class*='size-'])]:size-4 shrink-0 [&_svg]:shrink-0 outline-none focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:ring-[3px] aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive",{variants:{variant:{default:"bg-primary text-primary-foreground shadow-xs hover:bg-primary/90",destructive:"bg-destructive text-white shadow-xs hover:bg-destructive/90 focus-visible:ring-destructive/20 dark:focus-visible:ring-destructive/40 dark:bg-destructive/60",outline:"border bg-background shadow-xs hover:bg-accent hover:text-accent-foreground dark:bg-input/30 dark:border-input dark:hover:bg-input/50",secondary:"bg-secondary text-secondary-foreground shadow-xs hover:bg-secondary/80",ghost:"hover:bg-accent hover:text-accent-foreground dark:hover:bg-accent/50",link:"text-primary underline-offset-4 hover:underline"},size:{default:"h-9 px-4 py-2 has-[>svg]:px-3",sm:"h-8 rounded-md gap-1.5 px-3 has-[>svg]:px-2.5",lg:"h-10 rounded-md px-6 has-[>svg]:px-4",icon:"size-9"}},defaultVariants:{variant:"default",size:"default"}});G.cva("inline-flex items-center justify-center rounded-md border px-2 py-0.5 text-xs font-medium w-fit whitespace-nowrap shrink-0 [&>svg]:size-3 gap-1 [&>svg]:pointer-events-none focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:ring-[3px] aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive transition-[color,box-shadow] overflow-hidden",{variants:{variant:{default:"border-transparent bg-primary text-primary-foreground [a&]:hover:bg-primary/90",secondary:"border-transparent bg-secondary text-secondary-foreground [a&]:hover:bg-secondary/90",destructive:"border-transparent bg-destructive text-white [a&]:hover:bg-destructive/90 focus-visible:ring-destructive/20 dark:focus-visible:ring-destructive/40 dark:bg-destructive/60",outline:"text-foreground [a&]:hover:bg-accent [a&]:hover:text-accent-foreground"}},defaultVariants:{variant:"default"}});N.createContext({});N.createContext({});N.createContext(null);var Lt={exports:{}},Ee={},sn;function Ks(){if(sn)return Ee;sn=1;var r=Symbol.for("react.transitional.element"),n=Symbol.for("react.fragment");function s(c,l,d){var f=null;if(d!==void 0&&(f=""+d),l.key!==void 0&&(f=""+l.key),"key"in l){d={};for(var p in l)p!=="key"&&(d[p]=l[p])}else d=l;return l=d.ref,{$$typeof:r,type:c,key:f,ref:l!==void 0?l:null,props:d}}return Ee.Fragment=n,Ee.jsx=s,Ee.jsxs=s,Ee}var at={},ln;function Bs(){return ln||(ln=1,process.env.NODE_ENV!=="production"&&(function(){function r(e){if(e==null)return null;if(typeof e=="function")return e.$$typeof===A?null:e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case y:return"Fragment";case M:return"Profiler";case V:return"StrictMode";case U:return"Suspense";case Y:return"SuspenseList";case J:return"Activity"}if(typeof e=="object")switch(typeof e.tag=="number"&&console.error("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),e.$$typeof){case I:return"Portal";case W:return e.displayName||"Context";case F:return(e._context.displayName||"Context")+".Consumer";case L:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case X:return t=e.displayName||null,t!==null?t:r(e.type)||"Memo";case k:t=e._payload,e=e._init;try{return r(e(t))}catch{}}return null}function n(e){return""+e}function s(e){try{n(e);var t=!1}catch{t=!0}if(t){t=console;var o=t.error,a=typeof Symbol=="function"&&Symbol.toStringTag&&e[Symbol.toStringTag]||e.constructor.name||"Object";return o.call(t,"The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",a),n(e)}}function c(e){if(e===y)return"<>";if(typeof e=="object"&&e!==null&&e.$$typeof===k)return"<...>";try{var t=r(e);return t?"<"+t+">":"<...>"}catch{return"<...>"}}function l(){var e=j.A;return e===null?null:e.getOwner()}function d(){return Error("react-stack-top-frame")}function f(e){if(C.call(e,"key")){var t=Object.getOwnPropertyDescriptor(e,"key").get;if(t&&t.isReactWarning)return!1}return e.key!==void 0}function p(e,t){function o(){R||(R=!0,console.error("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://react.dev/link/special-props)",t))}o.isReactWarning=!0,Object.defineProperty(e,"key",{get:o,configurable:!0})}function g(){var e=r(this.type);return T[e]||(T[e]=!0,console.error("Accessing element.ref was removed in React 19. ref is now a regular prop. It will be removed from the JSX Element type in a future release.")),e=this.props.ref,e!==void 0?e:null}function O(e,t,o,a,w,_){var i=o.ref;return e={$$typeof:z,type:e,key:t,props:o,_owner:a},(i!==void 0?i:null)!==null?Object.defineProperty(e,"ref",{enumerable:!1,get:g}):Object.defineProperty(e,"ref",{enumerable:!1,value:null}),e._store={},Object.defineProperty(e._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:0}),Object.defineProperty(e,"_debugInfo",{configurable:!1,enumerable:!1,writable:!0,value:null}),Object.defineProperty(e,"_debugStack",{configurable:!1,enumerable:!1,writable:!0,value:w}),Object.defineProperty(e,"_debugTask",{configurable:!1,enumerable:!1,writable:!0,value:_}),Object.freeze&&(Object.freeze(e.props),Object.freeze(e)),e}function x(e,t,o,a,w,_){var i=t.children;if(i!==void 0)if(a)if(H(i)){for(a=0;a<i.length;a++)h(i[a]);Object.freeze&&Object.freeze(i)}else console.error("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");else h(i);if(C.call(t,"key")){i=r(e);var m=Object.keys(t).filter(function(K){return K!=="key"});a=0<m.length?"{key: someKey, "+m.join(": ..., ")+": ...}":"{key: someKey}",D[i+a]||(m=0<m.length?"{"+m.join(": ..., ")+": ...}":"{}",console.error(`A props object containing a "key" prop is being spread into JSX:
68
+ let props = %s;
69
+ <%s {...props} />
70
+ React keys must be passed directly to JSX without using spread:
71
+ let props = %s;
72
+ <%s key={someKey} {...props} />`,a,i,m,i),D[i+a]=!0)}if(i=null,o!==void 0&&(s(o),i=""+o),f(t)&&(s(t.key),i=""+t.key),"key"in t){o={};for(var S in t)S!=="key"&&(o[S]=t[S])}else o=t;return i&&p(o,typeof e=="function"?e.displayName||e.name||"Unknown":e),O(e,i,o,l(),w,_)}function h(e){E(e)?e._store&&(e._store.validated=1):typeof e=="object"&&e!==null&&e.$$typeof===k&&(e._payload.status==="fulfilled"?E(e._payload.value)&&e._payload.value._store&&(e._payload.value._store.validated=1):e._store&&(e._store.validated=1))}function E(e){return typeof e=="object"&&e!==null&&e.$$typeof===z}var v=B,z=Symbol.for("react.transitional.element"),I=Symbol.for("react.portal"),y=Symbol.for("react.fragment"),V=Symbol.for("react.strict_mode"),M=Symbol.for("react.profiler"),F=Symbol.for("react.consumer"),W=Symbol.for("react.context"),L=Symbol.for("react.forward_ref"),U=Symbol.for("react.suspense"),Y=Symbol.for("react.suspense_list"),X=Symbol.for("react.memo"),k=Symbol.for("react.lazy"),J=Symbol.for("react.activity"),A=Symbol.for("react.client.reference"),j=v.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,C=Object.prototype.hasOwnProperty,H=Array.isArray,b=console.createTask?console.createTask:function(){return null};v={react_stack_bottom_frame:function(e){return e()}};var R,T={},P=v.react_stack_bottom_frame.bind(v,d)(),$=b(c(d)),D={};at.Fragment=y,at.jsx=function(e,t,o){var a=1e4>j.recentlyCreatedOwnerStacks++;return x(e,t,o,!1,a?Error("react-stack-top-frame"):P,a?b(c(e)):$)},at.jsxs=function(e,t,o){var a=1e4>j.recentlyCreatedOwnerStacks++;return x(e,t,o,!0,a?Error("react-stack-top-frame"):P,a?b(c(e)):$)}})()),at}var cn;function qs(){return cn||(cn=1,process.env.NODE_ENV==="production"?Lt.exports=Ks():Lt.exports=Bs()),Lt.exports}qs();G.cva("inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-md text-sm font-medium transition-all disabled:pointer-events-none disabled:opacity-50 [&_svg]:pointer-events-none [&_svg:not([class*='size-'])]:size-4 shrink-0 [&_svg]:shrink-0 outline-none focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:ring-[3px] aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive",{variants:{variant:{default:"bg-primary text-primary-foreground shadow-xs hover:bg-primary/90",destructive:"bg-destructive text-white shadow-xs hover:bg-destructive/90 focus-visible:ring-destructive/20 dark:focus-visible:ring-destructive/40 dark:bg-destructive/60",outline:"border bg-background shadow-xs hover:bg-accent hover:text-accent-foreground dark:bg-input/30 dark:border-input dark:hover:bg-input/50",secondary:"bg-secondary text-secondary-foreground shadow-xs hover:bg-secondary/80",ghost:"hover:bg-accent hover:text-accent-foreground dark:hover:bg-accent/50",link:"text-primary underline-offset-4 hover:underline"},size:{default:"h-9 px-4 py-2 has-[>svg]:px-3",sm:"h-8 rounded-md gap-1.5 px-3 has-[>svg]:px-2.5",lg:"h-10 rounded-md px-6 has-[>svg]:px-4",icon:"size-9"}},defaultVariants:{variant:"default",size:"default"}});G.cva("inline-flex items-center justify-center rounded-md border px-2 py-0.5 text-xs font-medium w-fit whitespace-nowrap shrink-0 [&>svg]:size-3 gap-1 [&>svg]:pointer-events-none focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:ring-[3px] aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive transition-[color,box-shadow] overflow-hidden",{variants:{variant:{default:"border-transparent bg-primary text-primary-foreground [a&]:hover:bg-primary/90",secondary:"border-transparent bg-secondary text-secondary-foreground [a&]:hover:bg-secondary/90",destructive:"border-transparent bg-destructive text-white [a&]:hover:bg-destructive/90 focus-visible:ring-destructive/20 dark:focus-visible:ring-destructive/40 dark:bg-destructive/60",outline:"text-foreground [a&]:hover:bg-accent [a&]:hover:text-accent-foreground"}},defaultVariants:{variant:"default"}});N.createContext({});N.createContext({});N.createContext(null);var Yt={exports:{}},Ne={},un;function Qs(){if(un)return Ne;un=1;var r=Symbol.for("react.transitional.element"),n=Symbol.for("react.fragment");function s(c,l,d){var f=null;if(d!==void 0&&(f=""+d),l.key!==void 0&&(f=""+l.key),"key"in l){d={};for(var p in l)p!=="key"&&(d[p]=l[p])}else d=l;return l=d.ref,{$$typeof:r,type:c,key:f,ref:l!==void 0?l:null,props:d}}return Ne.Fragment=n,Ne.jsx=s,Ne.jsxs=s,Ne}var it={},dn;function Zs(){return dn||(dn=1,process.env.NODE_ENV!=="production"&&(function(){function r(e){if(e==null)return null;if(typeof e=="function")return e.$$typeof===A?null:e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case y:return"Fragment";case M:return"Profiler";case V:return"StrictMode";case U:return"Suspense";case Y:return"SuspenseList";case J:return"Activity"}if(typeof e=="object")switch(typeof e.tag=="number"&&console.error("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),e.$$typeof){case I:return"Portal";case W:return e.displayName||"Context";case F:return(e._context.displayName||"Context")+".Consumer";case L:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case X:return t=e.displayName||null,t!==null?t:r(e.type)||"Memo";case k:t=e._payload,e=e._init;try{return r(e(t))}catch{}}return null}function n(e){return""+e}function s(e){try{n(e);var t=!1}catch{t=!0}if(t){t=console;var o=t.error,a=typeof Symbol=="function"&&Symbol.toStringTag&&e[Symbol.toStringTag]||e.constructor.name||"Object";return o.call(t,"The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",a),n(e)}}function c(e){if(e===y)return"<>";if(typeof e=="object"&&e!==null&&e.$$typeof===k)return"<...>";try{var t=r(e);return t?"<"+t+">":"<...>"}catch{return"<...>"}}function l(){var e=j.A;return e===null?null:e.getOwner()}function d(){return Error("react-stack-top-frame")}function f(e){if(C.call(e,"key")){var t=Object.getOwnPropertyDescriptor(e,"key").get;if(t&&t.isReactWarning)return!1}return e.key!==void 0}function p(e,t){function o(){R||(R=!0,console.error("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://react.dev/link/special-props)",t))}o.isReactWarning=!0,Object.defineProperty(e,"key",{get:o,configurable:!0})}function g(){var e=r(this.type);return T[e]||(T[e]=!0,console.error("Accessing element.ref was removed in React 19. ref is now a regular prop. It will be removed from the JSX Element type in a future release.")),e=this.props.ref,e!==void 0?e:null}function O(e,t,o,a,w,_){var i=o.ref;return e={$$typeof:z,type:e,key:t,props:o,_owner:a},(i!==void 0?i:null)!==null?Object.defineProperty(e,"ref",{enumerable:!1,get:g}):Object.defineProperty(e,"ref",{enumerable:!1,value:null}),e._store={},Object.defineProperty(e._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:0}),Object.defineProperty(e,"_debugInfo",{configurable:!1,enumerable:!1,writable:!0,value:null}),Object.defineProperty(e,"_debugStack",{configurable:!1,enumerable:!1,writable:!0,value:w}),Object.defineProperty(e,"_debugTask",{configurable:!1,enumerable:!1,writable:!0,value:_}),Object.freeze&&(Object.freeze(e.props),Object.freeze(e)),e}function x(e,t,o,a,w,_){var i=t.children;if(i!==void 0)if(a)if(H(i)){for(a=0;a<i.length;a++)h(i[a]);Object.freeze&&Object.freeze(i)}else console.error("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");else h(i);if(C.call(t,"key")){i=r(e);var m=Object.keys(t).filter(function(K){return K!=="key"});a=0<m.length?"{key: someKey, "+m.join(": ..., ")+": ...}":"{key: someKey}",D[i+a]||(m=0<m.length?"{"+m.join(": ..., ")+": ...}":"{}",console.error(`A props object containing a "key" prop is being spread into JSX:
73
+ let props = %s;
74
+ <%s {...props} />
75
+ React keys must be passed directly to JSX without using spread:
76
+ let props = %s;
77
+ <%s key={someKey} {...props} />`,a,i,m,i),D[i+a]=!0)}if(i=null,o!==void 0&&(s(o),i=""+o),f(t)&&(s(t.key),i=""+t.key),"key"in t){o={};for(var S in t)S!=="key"&&(o[S]=t[S])}else o=t;return i&&p(o,typeof e=="function"?e.displayName||e.name||"Unknown":e),O(e,i,o,l(),w,_)}function h(e){E(e)?e._store&&(e._store.validated=1):typeof e=="object"&&e!==null&&e.$$typeof===k&&(e._payload.status==="fulfilled"?E(e._payload.value)&&e._payload.value._store&&(e._payload.value._store.validated=1):e._store&&(e._store.validated=1))}function E(e){return typeof e=="object"&&e!==null&&e.$$typeof===z}var v=B,z=Symbol.for("react.transitional.element"),I=Symbol.for("react.portal"),y=Symbol.for("react.fragment"),V=Symbol.for("react.strict_mode"),M=Symbol.for("react.profiler"),F=Symbol.for("react.consumer"),W=Symbol.for("react.context"),L=Symbol.for("react.forward_ref"),U=Symbol.for("react.suspense"),Y=Symbol.for("react.suspense_list"),X=Symbol.for("react.memo"),k=Symbol.for("react.lazy"),J=Symbol.for("react.activity"),A=Symbol.for("react.client.reference"),j=v.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,C=Object.prototype.hasOwnProperty,H=Array.isArray,b=console.createTask?console.createTask:function(){return null};v={react_stack_bottom_frame:function(e){return e()}};var R,T={},P=v.react_stack_bottom_frame.bind(v,d)(),$=b(c(d)),D={};it.Fragment=y,it.jsx=function(e,t,o){var a=1e4>j.recentlyCreatedOwnerStacks++;return x(e,t,o,!1,a?Error("react-stack-top-frame"):P,a?b(c(e)):$)},it.jsxs=function(e,t,o){var a=1e4>j.recentlyCreatedOwnerStacks++;return x(e,t,o,!0,a?Error("react-stack-top-frame"):P,a?b(c(e)):$)}})()),it}var fn;function el(){return fn||(fn=1,process.env.NODE_ENV==="production"?Yt.exports=Qs():Yt.exports=Zs()),Yt.exports}el();G.cva("inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-md text-sm font-medium transition-all disabled:pointer-events-none disabled:opacity-50 [&_svg]:pointer-events-none [&_svg:not([class*='size-'])]:size-4 shrink-0 [&_svg]:shrink-0 outline-none focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:ring-[3px] aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive",{variants:{variant:{default:"bg-primary text-primary-foreground shadow-xs hover:bg-primary/90",destructive:"bg-destructive text-white shadow-xs hover:bg-destructive/90 focus-visible:ring-destructive/20 dark:focus-visible:ring-destructive/40 dark:bg-destructive/60",outline:"border bg-background shadow-xs hover:bg-accent hover:text-accent-foreground dark:bg-input/30 dark:border-input dark:hover:bg-input/50",secondary:"bg-secondary text-secondary-foreground shadow-xs hover:bg-secondary/80",ghost:"hover:bg-accent hover:text-accent-foreground dark:hover:bg-accent/50",link:"text-primary underline-offset-4 hover:underline"},size:{default:"h-9 px-4 py-2 has-[>svg]:px-3",sm:"h-8 rounded-md gap-1.5 px-3 has-[>svg]:px-2.5",lg:"h-10 rounded-md px-6 has-[>svg]:px-4",icon:"size-9"}},defaultVariants:{variant:"default",size:"default"}});G.cva("inline-flex items-center justify-center rounded-md border px-2 py-0.5 text-xs font-medium w-fit whitespace-nowrap shrink-0 [&>svg]:size-3 gap-1 [&>svg]:pointer-events-none focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:ring-[3px] aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive transition-[color,box-shadow] overflow-hidden",{variants:{variant:{default:"border-transparent bg-primary text-primary-foreground [a&]:hover:bg-primary/90",secondary:"border-transparent bg-secondary text-secondary-foreground [a&]:hover:bg-secondary/90",destructive:"border-transparent bg-destructive text-white [a&]:hover:bg-destructive/90 focus-visible:ring-destructive/20 dark:focus-visible:ring-destructive/40 dark:bg-destructive/60",outline:"text-foreground [a&]:hover:bg-accent [a&]:hover:text-accent-foreground"}},defaultVariants:{variant:"default"}});N.createContext({});N.createContext({});N.createContext(null);var Xt={exports:{}},Oe={},pn;function tl(){if(pn)return Oe;pn=1;var r=Symbol.for("react.transitional.element"),n=Symbol.for("react.fragment");function s(c,l,d){var f=null;if(d!==void 0&&(f=""+d),l.key!==void 0&&(f=""+l.key),"key"in l){d={};for(var p in l)p!=="key"&&(d[p]=l[p])}else d=l;return l=d.ref,{$$typeof:r,type:c,key:f,ref:l!==void 0?l:null,props:d}}return Oe.Fragment=n,Oe.jsx=s,Oe.jsxs=s,Oe}var st={},mn;function rl(){return mn||(mn=1,process.env.NODE_ENV!=="production"&&(function(){function r(e){if(e==null)return null;if(typeof e=="function")return e.$$typeof===A?null:e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case y:return"Fragment";case M:return"Profiler";case V:return"StrictMode";case U:return"Suspense";case Y:return"SuspenseList";case J:return"Activity"}if(typeof e=="object")switch(typeof e.tag=="number"&&console.error("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),e.$$typeof){case I:return"Portal";case W:return e.displayName||"Context";case F:return(e._context.displayName||"Context")+".Consumer";case L:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case X:return t=e.displayName||null,t!==null?t:r(e.type)||"Memo";case k:t=e._payload,e=e._init;try{return r(e(t))}catch{}}return null}function n(e){return""+e}function s(e){try{n(e);var t=!1}catch{t=!0}if(t){t=console;var o=t.error,a=typeof Symbol=="function"&&Symbol.toStringTag&&e[Symbol.toStringTag]||e.constructor.name||"Object";return o.call(t,"The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",a),n(e)}}function c(e){if(e===y)return"<>";if(typeof e=="object"&&e!==null&&e.$$typeof===k)return"<...>";try{var t=r(e);return t?"<"+t+">":"<...>"}catch{return"<...>"}}function l(){var e=j.A;return e===null?null:e.getOwner()}function d(){return Error("react-stack-top-frame")}function f(e){if(C.call(e,"key")){var t=Object.getOwnPropertyDescriptor(e,"key").get;if(t&&t.isReactWarning)return!1}return e.key!==void 0}function p(e,t){function o(){R||(R=!0,console.error("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://react.dev/link/special-props)",t))}o.isReactWarning=!0,Object.defineProperty(e,"key",{get:o,configurable:!0})}function g(){var e=r(this.type);return T[e]||(T[e]=!0,console.error("Accessing element.ref was removed in React 19. ref is now a regular prop. It will be removed from the JSX Element type in a future release.")),e=this.props.ref,e!==void 0?e:null}function O(e,t,o,a,w,_){var i=o.ref;return e={$$typeof:z,type:e,key:t,props:o,_owner:a},(i!==void 0?i:null)!==null?Object.defineProperty(e,"ref",{enumerable:!1,get:g}):Object.defineProperty(e,"ref",{enumerable:!1,value:null}),e._store={},Object.defineProperty(e._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:0}),Object.defineProperty(e,"_debugInfo",{configurable:!1,enumerable:!1,writable:!0,value:null}),Object.defineProperty(e,"_debugStack",{configurable:!1,enumerable:!1,writable:!0,value:w}),Object.defineProperty(e,"_debugTask",{configurable:!1,enumerable:!1,writable:!0,value:_}),Object.freeze&&(Object.freeze(e.props),Object.freeze(e)),e}function x(e,t,o,a,w,_){var i=t.children;if(i!==void 0)if(a)if(H(i)){for(a=0;a<i.length;a++)h(i[a]);Object.freeze&&Object.freeze(i)}else console.error("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");else h(i);if(C.call(t,"key")){i=r(e);var m=Object.keys(t).filter(function(K){return K!=="key"});a=0<m.length?"{key: someKey, "+m.join(": ..., ")+": ...}":"{key: someKey}",D[i+a]||(m=0<m.length?"{"+m.join(": ..., ")+": ...}":"{}",console.error(`A props object containing a "key" prop is being spread into JSX:
78
+ let props = %s;
79
+ <%s {...props} />
80
+ React keys must be passed directly to JSX without using spread:
81
+ let props = %s;
82
+ <%s key={someKey} {...props} />`,a,i,m,i),D[i+a]=!0)}if(i=null,o!==void 0&&(s(o),i=""+o),f(t)&&(s(t.key),i=""+t.key),"key"in t){o={};for(var S in t)S!=="key"&&(o[S]=t[S])}else o=t;return i&&p(o,typeof e=="function"?e.displayName||e.name||"Unknown":e),O(e,i,o,l(),w,_)}function h(e){E(e)?e._store&&(e._store.validated=1):typeof e=="object"&&e!==null&&e.$$typeof===k&&(e._payload.status==="fulfilled"?E(e._payload.value)&&e._payload.value._store&&(e._payload.value._store.validated=1):e._store&&(e._store.validated=1))}function E(e){return typeof e=="object"&&e!==null&&e.$$typeof===z}var v=B,z=Symbol.for("react.transitional.element"),I=Symbol.for("react.portal"),y=Symbol.for("react.fragment"),V=Symbol.for("react.strict_mode"),M=Symbol.for("react.profiler"),F=Symbol.for("react.consumer"),W=Symbol.for("react.context"),L=Symbol.for("react.forward_ref"),U=Symbol.for("react.suspense"),Y=Symbol.for("react.suspense_list"),X=Symbol.for("react.memo"),k=Symbol.for("react.lazy"),J=Symbol.for("react.activity"),A=Symbol.for("react.client.reference"),j=v.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,C=Object.prototype.hasOwnProperty,H=Array.isArray,b=console.createTask?console.createTask:function(){return null};v={react_stack_bottom_frame:function(e){return e()}};var R,T={},P=v.react_stack_bottom_frame.bind(v,d)(),$=b(c(d)),D={};st.Fragment=y,st.jsx=function(e,t,o){var a=1e4>j.recentlyCreatedOwnerStacks++;return x(e,t,o,!1,a?Error("react-stack-top-frame"):P,a?b(c(e)):$)},st.jsxs=function(e,t,o){var a=1e4>j.recentlyCreatedOwnerStacks++;return x(e,t,o,!0,a?Error("react-stack-top-frame"):P,a?b(c(e)):$)}})()),st}var bn;function nl(){return bn||(bn=1,process.env.NODE_ENV==="production"?Xt.exports=tl():Xt.exports=rl()),Xt.exports}nl();G.cva("inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-md text-sm font-medium transition-all disabled:pointer-events-none disabled:opacity-50 [&_svg]:pointer-events-none [&_svg:not([class*='size-'])]:size-4 shrink-0 [&_svg]:shrink-0 outline-none focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:ring-[3px] aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive",{variants:{variant:{default:"bg-primary text-primary-foreground shadow-xs hover:bg-primary/90",destructive:"bg-destructive text-white shadow-xs hover:bg-destructive/90 focus-visible:ring-destructive/20 dark:focus-visible:ring-destructive/40 dark:bg-destructive/60",outline:"border bg-background shadow-xs hover:bg-accent hover:text-accent-foreground dark:bg-input/30 dark:border-input dark:hover:bg-input/50",secondary:"bg-secondary text-secondary-foreground shadow-xs hover:bg-secondary/80",ghost:"hover:bg-accent hover:text-accent-foreground dark:hover:bg-accent/50",link:"text-primary underline-offset-4 hover:underline"},size:{default:"h-9 px-4 py-2 has-[>svg]:px-3",sm:"h-8 rounded-md gap-1.5 px-3 has-[>svg]:px-2.5",lg:"h-10 rounded-md px-6 has-[>svg]:px-4",icon:"size-9"}},defaultVariants:{variant:"default",size:"default"}});G.cva("inline-flex items-center justify-center rounded-md border px-2 py-0.5 text-xs font-medium w-fit whitespace-nowrap shrink-0 [&>svg]:size-3 gap-1 [&>svg]:pointer-events-none focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:ring-[3px] aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive transition-[color,box-shadow] overflow-hidden",{variants:{variant:{default:"border-transparent bg-primary text-primary-foreground [a&]:hover:bg-primary/90",secondary:"border-transparent bg-secondary text-secondary-foreground [a&]:hover:bg-secondary/90",destructive:"border-transparent bg-destructive text-white [a&]:hover:bg-destructive/90 focus-visible:ring-destructive/20 dark:focus-visible:ring-destructive/40 dark:bg-destructive/60",outline:"text-foreground [a&]:hover:bg-accent [a&]:hover:text-accent-foreground"}},defaultVariants:{variant:"default"}});N.createContext({});N.createContext({});N.createContext(null);var Jt={exports:{}},Ce={},vn;function ol(){if(vn)return Ce;vn=1;var r=Symbol.for("react.transitional.element"),n=Symbol.for("react.fragment");function s(c,l,d){var f=null;if(d!==void 0&&(f=""+d),l.key!==void 0&&(f=""+l.key),"key"in l){d={};for(var p in l)p!=="key"&&(d[p]=l[p])}else d=l;return l=d.ref,{$$typeof:r,type:c,key:f,ref:l!==void 0?l:null,props:d}}return Ce.Fragment=n,Ce.jsx=s,Ce.jsxs=s,Ce}var lt={},yn;function al(){return yn||(yn=1,process.env.NODE_ENV!=="production"&&(function(){function r(e){if(e==null)return null;if(typeof e=="function")return e.$$typeof===A?null:e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case y:return"Fragment";case M:return"Profiler";case V:return"StrictMode";case U:return"Suspense";case Y:return"SuspenseList";case J:return"Activity"}if(typeof e=="object")switch(typeof e.tag=="number"&&console.error("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),e.$$typeof){case I:return"Portal";case W:return e.displayName||"Context";case F:return(e._context.displayName||"Context")+".Consumer";case L:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case X:return t=e.displayName||null,t!==null?t:r(e.type)||"Memo";case k:t=e._payload,e=e._init;try{return r(e(t))}catch{}}return null}function n(e){return""+e}function s(e){try{n(e);var t=!1}catch{t=!0}if(t){t=console;var o=t.error,a=typeof Symbol=="function"&&Symbol.toStringTag&&e[Symbol.toStringTag]||e.constructor.name||"Object";return o.call(t,"The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",a),n(e)}}function c(e){if(e===y)return"<>";if(typeof e=="object"&&e!==null&&e.$$typeof===k)return"<...>";try{var t=r(e);return t?"<"+t+">":"<...>"}catch{return"<...>"}}function l(){var e=j.A;return e===null?null:e.getOwner()}function d(){return Error("react-stack-top-frame")}function f(e){if(C.call(e,"key")){var t=Object.getOwnPropertyDescriptor(e,"key").get;if(t&&t.isReactWarning)return!1}return e.key!==void 0}function p(e,t){function o(){R||(R=!0,console.error("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://react.dev/link/special-props)",t))}o.isReactWarning=!0,Object.defineProperty(e,"key",{get:o,configurable:!0})}function g(){var e=r(this.type);return T[e]||(T[e]=!0,console.error("Accessing element.ref was removed in React 19. ref is now a regular prop. It will be removed from the JSX Element type in a future release.")),e=this.props.ref,e!==void 0?e:null}function O(e,t,o,a,w,_){var i=o.ref;return e={$$typeof:z,type:e,key:t,props:o,_owner:a},(i!==void 0?i:null)!==null?Object.defineProperty(e,"ref",{enumerable:!1,get:g}):Object.defineProperty(e,"ref",{enumerable:!1,value:null}),e._store={},Object.defineProperty(e._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:0}),Object.defineProperty(e,"_debugInfo",{configurable:!1,enumerable:!1,writable:!0,value:null}),Object.defineProperty(e,"_debugStack",{configurable:!1,enumerable:!1,writable:!0,value:w}),Object.defineProperty(e,"_debugTask",{configurable:!1,enumerable:!1,writable:!0,value:_}),Object.freeze&&(Object.freeze(e.props),Object.freeze(e)),e}function x(e,t,o,a,w,_){var i=t.children;if(i!==void 0)if(a)if(H(i)){for(a=0;a<i.length;a++)h(i[a]);Object.freeze&&Object.freeze(i)}else console.error("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");else h(i);if(C.call(t,"key")){i=r(e);var m=Object.keys(t).filter(function(K){return K!=="key"});a=0<m.length?"{key: someKey, "+m.join(": ..., ")+": ...}":"{key: someKey}",D[i+a]||(m=0<m.length?"{"+m.join(": ..., ")+": ...}":"{}",console.error(`A props object containing a "key" prop is being spread into JSX:
83
+ let props = %s;
84
+ <%s {...props} />
85
+ React keys must be passed directly to JSX without using spread:
86
+ let props = %s;
87
+ <%s key={someKey} {...props} />`,a,i,m,i),D[i+a]=!0)}if(i=null,o!==void 0&&(s(o),i=""+o),f(t)&&(s(t.key),i=""+t.key),"key"in t){o={};for(var S in t)S!=="key"&&(o[S]=t[S])}else o=t;return i&&p(o,typeof e=="function"?e.displayName||e.name||"Unknown":e),O(e,i,o,l(),w,_)}function h(e){E(e)?e._store&&(e._store.validated=1):typeof e=="object"&&e!==null&&e.$$typeof===k&&(e._payload.status==="fulfilled"?E(e._payload.value)&&e._payload.value._store&&(e._payload.value._store.validated=1):e._store&&(e._store.validated=1))}function E(e){return typeof e=="object"&&e!==null&&e.$$typeof===z}var v=B,z=Symbol.for("react.transitional.element"),I=Symbol.for("react.portal"),y=Symbol.for("react.fragment"),V=Symbol.for("react.strict_mode"),M=Symbol.for("react.profiler"),F=Symbol.for("react.consumer"),W=Symbol.for("react.context"),L=Symbol.for("react.forward_ref"),U=Symbol.for("react.suspense"),Y=Symbol.for("react.suspense_list"),X=Symbol.for("react.memo"),k=Symbol.for("react.lazy"),J=Symbol.for("react.activity"),A=Symbol.for("react.client.reference"),j=v.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,C=Object.prototype.hasOwnProperty,H=Array.isArray,b=console.createTask?console.createTask:function(){return null};v={react_stack_bottom_frame:function(e){return e()}};var R,T={},P=v.react_stack_bottom_frame.bind(v,d)(),$=b(c(d)),D={};lt.Fragment=y,lt.jsx=function(e,t,o){var a=1e4>j.recentlyCreatedOwnerStacks++;return x(e,t,o,!1,a?Error("react-stack-top-frame"):P,a?b(c(e)):$)},lt.jsxs=function(e,t,o){var a=1e4>j.recentlyCreatedOwnerStacks++;return x(e,t,o,!0,a?Error("react-stack-top-frame"):P,a?b(c(e)):$)}})()),lt}var gn;function il(){return gn||(gn=1,process.env.NODE_ENV==="production"?Jt.exports=ol():Jt.exports=al()),Jt.exports}il();G.cva("inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-md text-sm font-medium transition-all disabled:pointer-events-none disabled:opacity-50 [&_svg]:pointer-events-none [&_svg:not([class*='size-'])]:size-4 shrink-0 [&_svg]:shrink-0 outline-none focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:ring-[3px] aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive",{variants:{variant:{default:"bg-primary text-primary-foreground shadow-xs hover:bg-primary/90",destructive:"bg-destructive text-white shadow-xs hover:bg-destructive/90 focus-visible:ring-destructive/20 dark:focus-visible:ring-destructive/40 dark:bg-destructive/60",outline:"border bg-background shadow-xs hover:bg-accent hover:text-accent-foreground dark:bg-input/30 dark:border-input dark:hover:bg-input/50",secondary:"bg-secondary text-secondary-foreground shadow-xs hover:bg-secondary/80",ghost:"hover:bg-accent hover:text-accent-foreground dark:hover:bg-accent/50",link:"text-primary underline-offset-4 hover:underline"},size:{default:"h-9 px-4 py-2 has-[>svg]:px-3",sm:"h-8 rounded-md gap-1.5 px-3 has-[>svg]:px-2.5",lg:"h-10 rounded-md px-6 has-[>svg]:px-4",icon:"size-9"}},defaultVariants:{variant:"default",size:"default"}});G.cva("inline-flex items-center justify-center rounded-md border px-2 py-0.5 text-xs font-medium w-fit whitespace-nowrap shrink-0 [&>svg]:size-3 gap-1 [&>svg]:pointer-events-none focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:ring-[3px] aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive transition-[color,box-shadow] overflow-hidden",{variants:{variant:{default:"border-transparent bg-primary text-primary-foreground [a&]:hover:bg-primary/90",secondary:"border-transparent bg-secondary text-secondary-foreground [a&]:hover:bg-secondary/90",destructive:"border-transparent bg-destructive text-white [a&]:hover:bg-destructive/90 focus-visible:ring-destructive/20 dark:focus-visible:ring-destructive/40 dark:bg-destructive/60",outline:"text-foreground [a&]:hover:bg-accent [a&]:hover:text-accent-foreground"}},defaultVariants:{variant:"default"}});N.createContext({});N.createContext({});N.createContext(null);var Ht={exports:{}},Te={},xn;function sl(){if(xn)return Te;xn=1;var r=Symbol.for("react.transitional.element"),n=Symbol.for("react.fragment");function s(c,l,d){var f=null;if(d!==void 0&&(f=""+d),l.key!==void 0&&(f=""+l.key),"key"in l){d={};for(var p in l)p!=="key"&&(d[p]=l[p])}else d=l;return l=d.ref,{$$typeof:r,type:c,key:f,ref:l!==void 0?l:null,props:d}}return Te.Fragment=n,Te.jsx=s,Te.jsxs=s,Te}var ct={},hn;function ll(){return hn||(hn=1,process.env.NODE_ENV!=="production"&&(function(){function r(e){if(e==null)return null;if(typeof e=="function")return e.$$typeof===A?null:e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case y:return"Fragment";case M:return"Profiler";case V:return"StrictMode";case U:return"Suspense";case Y:return"SuspenseList";case J:return"Activity"}if(typeof e=="object")switch(typeof e.tag=="number"&&console.error("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),e.$$typeof){case I:return"Portal";case W:return e.displayName||"Context";case F:return(e._context.displayName||"Context")+".Consumer";case L:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case X:return t=e.displayName||null,t!==null?t:r(e.type)||"Memo";case k:t=e._payload,e=e._init;try{return r(e(t))}catch{}}return null}function n(e){return""+e}function s(e){try{n(e);var t=!1}catch{t=!0}if(t){t=console;var o=t.error,a=typeof Symbol=="function"&&Symbol.toStringTag&&e[Symbol.toStringTag]||e.constructor.name||"Object";return o.call(t,"The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",a),n(e)}}function c(e){if(e===y)return"<>";if(typeof e=="object"&&e!==null&&e.$$typeof===k)return"<...>";try{var t=r(e);return t?"<"+t+">":"<...>"}catch{return"<...>"}}function l(){var e=j.A;return e===null?null:e.getOwner()}function d(){return Error("react-stack-top-frame")}function f(e){if(C.call(e,"key")){var t=Object.getOwnPropertyDescriptor(e,"key").get;if(t&&t.isReactWarning)return!1}return e.key!==void 0}function p(e,t){function o(){R||(R=!0,console.error("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://react.dev/link/special-props)",t))}o.isReactWarning=!0,Object.defineProperty(e,"key",{get:o,configurable:!0})}function g(){var e=r(this.type);return T[e]||(T[e]=!0,console.error("Accessing element.ref was removed in React 19. ref is now a regular prop. It will be removed from the JSX Element type in a future release.")),e=this.props.ref,e!==void 0?e:null}function O(e,t,o,a,w,_){var i=o.ref;return e={$$typeof:z,type:e,key:t,props:o,_owner:a},(i!==void 0?i:null)!==null?Object.defineProperty(e,"ref",{enumerable:!1,get:g}):Object.defineProperty(e,"ref",{enumerable:!1,value:null}),e._store={},Object.defineProperty(e._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:0}),Object.defineProperty(e,"_debugInfo",{configurable:!1,enumerable:!1,writable:!0,value:null}),Object.defineProperty(e,"_debugStack",{configurable:!1,enumerable:!1,writable:!0,value:w}),Object.defineProperty(e,"_debugTask",{configurable:!1,enumerable:!1,writable:!0,value:_}),Object.freeze&&(Object.freeze(e.props),Object.freeze(e)),e}function x(e,t,o,a,w,_){var i=t.children;if(i!==void 0)if(a)if(H(i)){for(a=0;a<i.length;a++)h(i[a]);Object.freeze&&Object.freeze(i)}else console.error("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");else h(i);if(C.call(t,"key")){i=r(e);var m=Object.keys(t).filter(function(K){return K!=="key"});a=0<m.length?"{key: someKey, "+m.join(": ..., ")+": ...}":"{key: someKey}",D[i+a]||(m=0<m.length?"{"+m.join(": ..., ")+": ...}":"{}",console.error(`A props object containing a "key" prop is being spread into JSX:
88
+ let props = %s;
89
+ <%s {...props} />
90
+ React keys must be passed directly to JSX without using spread:
91
+ let props = %s;
92
+ <%s key={someKey} {...props} />`,a,i,m,i),D[i+a]=!0)}if(i=null,o!==void 0&&(s(o),i=""+o),f(t)&&(s(t.key),i=""+t.key),"key"in t){o={};for(var S in t)S!=="key"&&(o[S]=t[S])}else o=t;return i&&p(o,typeof e=="function"?e.displayName||e.name||"Unknown":e),O(e,i,o,l(),w,_)}function h(e){E(e)?e._store&&(e._store.validated=1):typeof e=="object"&&e!==null&&e.$$typeof===k&&(e._payload.status==="fulfilled"?E(e._payload.value)&&e._payload.value._store&&(e._payload.value._store.validated=1):e._store&&(e._store.validated=1))}function E(e){return typeof e=="object"&&e!==null&&e.$$typeof===z}var v=B,z=Symbol.for("react.transitional.element"),I=Symbol.for("react.portal"),y=Symbol.for("react.fragment"),V=Symbol.for("react.strict_mode"),M=Symbol.for("react.profiler"),F=Symbol.for("react.consumer"),W=Symbol.for("react.context"),L=Symbol.for("react.forward_ref"),U=Symbol.for("react.suspense"),Y=Symbol.for("react.suspense_list"),X=Symbol.for("react.memo"),k=Symbol.for("react.lazy"),J=Symbol.for("react.activity"),A=Symbol.for("react.client.reference"),j=v.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,C=Object.prototype.hasOwnProperty,H=Array.isArray,b=console.createTask?console.createTask:function(){return null};v={react_stack_bottom_frame:function(e){return e()}};var R,T={},P=v.react_stack_bottom_frame.bind(v,d)(),$=b(c(d)),D={};ct.Fragment=y,ct.jsx=function(e,t,o){var a=1e4>j.recentlyCreatedOwnerStacks++;return x(e,t,o,!1,a?Error("react-stack-top-frame"):P,a?b(c(e)):$)},ct.jsxs=function(e,t,o){var a=1e4>j.recentlyCreatedOwnerStacks++;return x(e,t,o,!0,a?Error("react-stack-top-frame"):P,a?b(c(e)):$)}})()),ct}var kn;function cl(){return kn||(kn=1,process.env.NODE_ENV==="production"?Ht.exports=sl():Ht.exports=ll()),Ht.exports}cl();G.cva("inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-md text-sm font-medium transition-all disabled:pointer-events-none disabled:opacity-50 [&_svg]:pointer-events-none [&_svg:not([class*='size-'])]:size-4 shrink-0 [&_svg]:shrink-0 outline-none focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:ring-[3px] aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive",{variants:{variant:{default:"bg-primary text-primary-foreground shadow-xs hover:bg-primary/90",destructive:"bg-destructive text-white shadow-xs hover:bg-destructive/90 focus-visible:ring-destructive/20 dark:focus-visible:ring-destructive/40 dark:bg-destructive/60",outline:"border bg-background shadow-xs hover:bg-accent hover:text-accent-foreground dark:bg-input/30 dark:border-input dark:hover:bg-input/50",secondary:"bg-secondary text-secondary-foreground shadow-xs hover:bg-secondary/80",ghost:"hover:bg-accent hover:text-accent-foreground dark:hover:bg-accent/50",link:"text-primary underline-offset-4 hover:underline"},size:{default:"h-9 px-4 py-2 has-[>svg]:px-3",sm:"h-8 rounded-md gap-1.5 px-3 has-[>svg]:px-2.5",lg:"h-10 rounded-md px-6 has-[>svg]:px-4",icon:"size-9"}},defaultVariants:{variant:"default",size:"default"}});G.cva("inline-flex items-center justify-center rounded-md border px-2 py-0.5 text-xs font-medium w-fit whitespace-nowrap shrink-0 [&>svg]:size-3 gap-1 [&>svg]:pointer-events-none focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:ring-[3px] aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive transition-[color,box-shadow] overflow-hidden",{variants:{variant:{default:"border-transparent bg-primary text-primary-foreground [a&]:hover:bg-primary/90",secondary:"border-transparent bg-secondary text-secondary-foreground [a&]:hover:bg-secondary/90",destructive:"border-transparent bg-destructive text-white [a&]:hover:bg-destructive/90 focus-visible:ring-destructive/20 dark:focus-visible:ring-destructive/40 dark:bg-destructive/60",outline:"text-foreground [a&]:hover:bg-accent [a&]:hover:text-accent-foreground"}},defaultVariants:{variant:"default"}});N.createContext({});N.createContext({});N.createContext(null);var Gt={exports:{}},Pe={},jn;function ul(){if(jn)return Pe;jn=1;var r=Symbol.for("react.transitional.element"),n=Symbol.for("react.fragment");function s(c,l,d){var f=null;if(d!==void 0&&(f=""+d),l.key!==void 0&&(f=""+l.key),"key"in l){d={};for(var p in l)p!=="key"&&(d[p]=l[p])}else d=l;return l=d.ref,{$$typeof:r,type:c,key:f,ref:l!==void 0?l:null,props:d}}return Pe.Fragment=n,Pe.jsx=s,Pe.jsxs=s,Pe}var ut={},wn;function dl(){return wn||(wn=1,process.env.NODE_ENV!=="production"&&(function(){function r(e){if(e==null)return null;if(typeof e=="function")return e.$$typeof===A?null:e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case y:return"Fragment";case M:return"Profiler";case V:return"StrictMode";case U:return"Suspense";case Y:return"SuspenseList";case J:return"Activity"}if(typeof e=="object")switch(typeof e.tag=="number"&&console.error("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),e.$$typeof){case I:return"Portal";case W:return e.displayName||"Context";case F:return(e._context.displayName||"Context")+".Consumer";case L:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case X:return t=e.displayName||null,t!==null?t:r(e.type)||"Memo";case k:t=e._payload,e=e._init;try{return r(e(t))}catch{}}return null}function n(e){return""+e}function s(e){try{n(e);var t=!1}catch{t=!0}if(t){t=console;var o=t.error,a=typeof Symbol=="function"&&Symbol.toStringTag&&e[Symbol.toStringTag]||e.constructor.name||"Object";return o.call(t,"The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",a),n(e)}}function c(e){if(e===y)return"<>";if(typeof e=="object"&&e!==null&&e.$$typeof===k)return"<...>";try{var t=r(e);return t?"<"+t+">":"<...>"}catch{return"<...>"}}function l(){var e=j.A;return e===null?null:e.getOwner()}function d(){return Error("react-stack-top-frame")}function f(e){if(C.call(e,"key")){var t=Object.getOwnPropertyDescriptor(e,"key").get;if(t&&t.isReactWarning)return!1}return e.key!==void 0}function p(e,t){function o(){R||(R=!0,console.error("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://react.dev/link/special-props)",t))}o.isReactWarning=!0,Object.defineProperty(e,"key",{get:o,configurable:!0})}function g(){var e=r(this.type);return T[e]||(T[e]=!0,console.error("Accessing element.ref was removed in React 19. ref is now a regular prop. It will be removed from the JSX Element type in a future release.")),e=this.props.ref,e!==void 0?e:null}function O(e,t,o,a,w,_){var i=o.ref;return e={$$typeof:z,type:e,key:t,props:o,_owner:a},(i!==void 0?i:null)!==null?Object.defineProperty(e,"ref",{enumerable:!1,get:g}):Object.defineProperty(e,"ref",{enumerable:!1,value:null}),e._store={},Object.defineProperty(e._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:0}),Object.defineProperty(e,"_debugInfo",{configurable:!1,enumerable:!1,writable:!0,value:null}),Object.defineProperty(e,"_debugStack",{configurable:!1,enumerable:!1,writable:!0,value:w}),Object.defineProperty(e,"_debugTask",{configurable:!1,enumerable:!1,writable:!0,value:_}),Object.freeze&&(Object.freeze(e.props),Object.freeze(e)),e}function x(e,t,o,a,w,_){var i=t.children;if(i!==void 0)if(a)if(H(i)){for(a=0;a<i.length;a++)h(i[a]);Object.freeze&&Object.freeze(i)}else console.error("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");else h(i);if(C.call(t,"key")){i=r(e);var m=Object.keys(t).filter(function(K){return K!=="key"});a=0<m.length?"{key: someKey, "+m.join(": ..., ")+": ...}":"{key: someKey}",D[i+a]||(m=0<m.length?"{"+m.join(": ..., ")+": ...}":"{}",console.error(`A props object containing a "key" prop is being spread into JSX:
93
+ let props = %s;
94
+ <%s {...props} />
95
+ React keys must be passed directly to JSX without using spread:
96
+ let props = %s;
97
+ <%s key={someKey} {...props} />`,a,i,m,i),D[i+a]=!0)}if(i=null,o!==void 0&&(s(o),i=""+o),f(t)&&(s(t.key),i=""+t.key),"key"in t){o={};for(var S in t)S!=="key"&&(o[S]=t[S])}else o=t;return i&&p(o,typeof e=="function"?e.displayName||e.name||"Unknown":e),O(e,i,o,l(),w,_)}function h(e){E(e)?e._store&&(e._store.validated=1):typeof e=="object"&&e!==null&&e.$$typeof===k&&(e._payload.status==="fulfilled"?E(e._payload.value)&&e._payload.value._store&&(e._payload.value._store.validated=1):e._store&&(e._store.validated=1))}function E(e){return typeof e=="object"&&e!==null&&e.$$typeof===z}var v=B,z=Symbol.for("react.transitional.element"),I=Symbol.for("react.portal"),y=Symbol.for("react.fragment"),V=Symbol.for("react.strict_mode"),M=Symbol.for("react.profiler"),F=Symbol.for("react.consumer"),W=Symbol.for("react.context"),L=Symbol.for("react.forward_ref"),U=Symbol.for("react.suspense"),Y=Symbol.for("react.suspense_list"),X=Symbol.for("react.memo"),k=Symbol.for("react.lazy"),J=Symbol.for("react.activity"),A=Symbol.for("react.client.reference"),j=v.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,C=Object.prototype.hasOwnProperty,H=Array.isArray,b=console.createTask?console.createTask:function(){return null};v={react_stack_bottom_frame:function(e){return e()}};var R,T={},P=v.react_stack_bottom_frame.bind(v,d)(),$=b(c(d)),D={};ut.Fragment=y,ut.jsx=function(e,t,o){var a=1e4>j.recentlyCreatedOwnerStacks++;return x(e,t,o,!1,a?Error("react-stack-top-frame"):P,a?b(c(e)):$)},ut.jsxs=function(e,t,o){var a=1e4>j.recentlyCreatedOwnerStacks++;return x(e,t,o,!0,a?Error("react-stack-top-frame"):P,a?b(c(e)):$)}})()),ut}var _n;function fl(){return _n||(_n=1,process.env.NODE_ENV==="production"?Gt.exports=ul():Gt.exports=dl()),Gt.exports}fl();G.cva("inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-md text-sm font-medium transition-all disabled:pointer-events-none disabled:opacity-50 [&_svg]:pointer-events-none [&_svg:not([class*='size-'])]:size-4 shrink-0 [&_svg]:shrink-0 outline-none focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:ring-[3px] aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive",{variants:{variant:{default:"bg-primary text-primary-foreground shadow-xs hover:bg-primary/90",destructive:"bg-destructive text-white shadow-xs hover:bg-destructive/90 focus-visible:ring-destructive/20 dark:focus-visible:ring-destructive/40 dark:bg-destructive/60",outline:"border bg-background shadow-xs hover:bg-accent hover:text-accent-foreground dark:bg-input/30 dark:border-input dark:hover:bg-input/50",secondary:"bg-secondary text-secondary-foreground shadow-xs hover:bg-secondary/80",ghost:"hover:bg-accent hover:text-accent-foreground dark:hover:bg-accent/50",link:"text-primary underline-offset-4 hover:underline"},size:{default:"h-9 px-4 py-2 has-[>svg]:px-3",sm:"h-8 rounded-md gap-1.5 px-3 has-[>svg]:px-2.5",lg:"h-10 rounded-md px-6 has-[>svg]:px-4",icon:"size-9"}},defaultVariants:{variant:"default",size:"default"}});G.cva("inline-flex items-center justify-center rounded-md border px-2 py-0.5 text-xs font-medium w-fit whitespace-nowrap shrink-0 [&>svg]:size-3 gap-1 [&>svg]:pointer-events-none focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:ring-[3px] aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive transition-[color,box-shadow] overflow-hidden",{variants:{variant:{default:"border-transparent bg-primary text-primary-foreground [a&]:hover:bg-primary/90",secondary:"border-transparent bg-secondary text-secondary-foreground [a&]:hover:bg-secondary/90",destructive:"border-transparent bg-destructive text-white [a&]:hover:bg-destructive/90 focus-visible:ring-destructive/20 dark:focus-visible:ring-destructive/40 dark:bg-destructive/60",outline:"text-foreground [a&]:hover:bg-accent [a&]:hover:text-accent-foreground"}},defaultVariants:{variant:"default"}});N.createContext({});N.createContext({});N.createContext(null);var Kt={exports:{}},ze={},Sn;function pl(){if(Sn)return ze;Sn=1;var r=Symbol.for("react.transitional.element"),n=Symbol.for("react.fragment");function s(c,l,d){var f=null;if(d!==void 0&&(f=""+d),l.key!==void 0&&(f=""+l.key),"key"in l){d={};for(var p in l)p!=="key"&&(d[p]=l[p])}else d=l;return l=d.ref,{$$typeof:r,type:c,key:f,ref:l!==void 0?l:null,props:d}}return ze.Fragment=n,ze.jsx=s,ze.jsxs=s,ze}var dt={},Rn;function ml(){return Rn||(Rn=1,process.env.NODE_ENV!=="production"&&(function(){function r(e){if(e==null)return null;if(typeof e=="function")return e.$$typeof===A?null:e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case y:return"Fragment";case M:return"Profiler";case V:return"StrictMode";case U:return"Suspense";case Y:return"SuspenseList";case J:return"Activity"}if(typeof e=="object")switch(typeof e.tag=="number"&&console.error("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),e.$$typeof){case I:return"Portal";case W:return e.displayName||"Context";case F:return(e._context.displayName||"Context")+".Consumer";case L:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case X:return t=e.displayName||null,t!==null?t:r(e.type)||"Memo";case k:t=e._payload,e=e._init;try{return r(e(t))}catch{}}return null}function n(e){return""+e}function s(e){try{n(e);var t=!1}catch{t=!0}if(t){t=console;var o=t.error,a=typeof Symbol=="function"&&Symbol.toStringTag&&e[Symbol.toStringTag]||e.constructor.name||"Object";return o.call(t,"The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",a),n(e)}}function c(e){if(e===y)return"<>";if(typeof e=="object"&&e!==null&&e.$$typeof===k)return"<...>";try{var t=r(e);return t?"<"+t+">":"<...>"}catch{return"<...>"}}function l(){var e=j.A;return e===null?null:e.getOwner()}function d(){return Error("react-stack-top-frame")}function f(e){if(C.call(e,"key")){var t=Object.getOwnPropertyDescriptor(e,"key").get;if(t&&t.isReactWarning)return!1}return e.key!==void 0}function p(e,t){function o(){R||(R=!0,console.error("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://react.dev/link/special-props)",t))}o.isReactWarning=!0,Object.defineProperty(e,"key",{get:o,configurable:!0})}function g(){var e=r(this.type);return T[e]||(T[e]=!0,console.error("Accessing element.ref was removed in React 19. ref is now a regular prop. It will be removed from the JSX Element type in a future release.")),e=this.props.ref,e!==void 0?e:null}function O(e,t,o,a,w,_){var i=o.ref;return e={$$typeof:z,type:e,key:t,props:o,_owner:a},(i!==void 0?i:null)!==null?Object.defineProperty(e,"ref",{enumerable:!1,get:g}):Object.defineProperty(e,"ref",{enumerable:!1,value:null}),e._store={},Object.defineProperty(e._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:0}),Object.defineProperty(e,"_debugInfo",{configurable:!1,enumerable:!1,writable:!0,value:null}),Object.defineProperty(e,"_debugStack",{configurable:!1,enumerable:!1,writable:!0,value:w}),Object.defineProperty(e,"_debugTask",{configurable:!1,enumerable:!1,writable:!0,value:_}),Object.freeze&&(Object.freeze(e.props),Object.freeze(e)),e}function x(e,t,o,a,w,_){var i=t.children;if(i!==void 0)if(a)if(H(i)){for(a=0;a<i.length;a++)h(i[a]);Object.freeze&&Object.freeze(i)}else console.error("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");else h(i);if(C.call(t,"key")){i=r(e);var m=Object.keys(t).filter(function(K){return K!=="key"});a=0<m.length?"{key: someKey, "+m.join(": ..., ")+": ...}":"{key: someKey}",D[i+a]||(m=0<m.length?"{"+m.join(": ..., ")+": ...}":"{}",console.error(`A props object containing a "key" prop is being spread into JSX:
98
+ let props = %s;
99
+ <%s {...props} />
100
+ React keys must be passed directly to JSX without using spread:
101
+ let props = %s;
102
+ <%s key={someKey} {...props} />`,a,i,m,i),D[i+a]=!0)}if(i=null,o!==void 0&&(s(o),i=""+o),f(t)&&(s(t.key),i=""+t.key),"key"in t){o={};for(var S in t)S!=="key"&&(o[S]=t[S])}else o=t;return i&&p(o,typeof e=="function"?e.displayName||e.name||"Unknown":e),O(e,i,o,l(),w,_)}function h(e){E(e)?e._store&&(e._store.validated=1):typeof e=="object"&&e!==null&&e.$$typeof===k&&(e._payload.status==="fulfilled"?E(e._payload.value)&&e._payload.value._store&&(e._payload.value._store.validated=1):e._store&&(e._store.validated=1))}function E(e){return typeof e=="object"&&e!==null&&e.$$typeof===z}var v=B,z=Symbol.for("react.transitional.element"),I=Symbol.for("react.portal"),y=Symbol.for("react.fragment"),V=Symbol.for("react.strict_mode"),M=Symbol.for("react.profiler"),F=Symbol.for("react.consumer"),W=Symbol.for("react.context"),L=Symbol.for("react.forward_ref"),U=Symbol.for("react.suspense"),Y=Symbol.for("react.suspense_list"),X=Symbol.for("react.memo"),k=Symbol.for("react.lazy"),J=Symbol.for("react.activity"),A=Symbol.for("react.client.reference"),j=v.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,C=Object.prototype.hasOwnProperty,H=Array.isArray,b=console.createTask?console.createTask:function(){return null};v={react_stack_bottom_frame:function(e){return e()}};var R,T={},P=v.react_stack_bottom_frame.bind(v,d)(),$=b(c(d)),D={};dt.Fragment=y,dt.jsx=function(e,t,o){var a=1e4>j.recentlyCreatedOwnerStacks++;return x(e,t,o,!1,a?Error("react-stack-top-frame"):P,a?b(c(e)):$)},dt.jsxs=function(e,t,o){var a=1e4>j.recentlyCreatedOwnerStacks++;return x(e,t,o,!0,a?Error("react-stack-top-frame"):P,a?b(c(e)):$)}})()),dt}var En;function bl(){return En||(En=1,process.env.NODE_ENV==="production"?Kt.exports=pl():Kt.exports=ml()),Kt.exports}bl();G.cva("inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-md text-sm font-medium transition-all disabled:pointer-events-none disabled:opacity-50 [&_svg]:pointer-events-none [&_svg:not([class*='size-'])]:size-4 shrink-0 [&_svg]:shrink-0 outline-none focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:ring-[3px] aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive",{variants:{variant:{default:"bg-primary text-primary-foreground shadow-xs hover:bg-primary/90",destructive:"bg-destructive text-white shadow-xs hover:bg-destructive/90 focus-visible:ring-destructive/20 dark:focus-visible:ring-destructive/40 dark:bg-destructive/60",outline:"border bg-background shadow-xs hover:bg-accent hover:text-accent-foreground dark:bg-input/30 dark:border-input dark:hover:bg-input/50",secondary:"bg-secondary text-secondary-foreground shadow-xs hover:bg-secondary/80",ghost:"hover:bg-accent hover:text-accent-foreground dark:hover:bg-accent/50",link:"text-primary underline-offset-4 hover:underline"},size:{default:"h-9 px-4 py-2 has-[>svg]:px-3",sm:"h-8 rounded-md gap-1.5 px-3 has-[>svg]:px-2.5",lg:"h-10 rounded-md px-6 has-[>svg]:px-4",icon:"size-9"}},defaultVariants:{variant:"default",size:"default"}});G.cva("inline-flex items-center justify-center rounded-md border px-2 py-0.5 text-xs font-medium w-fit whitespace-nowrap shrink-0 [&>svg]:size-3 gap-1 [&>svg]:pointer-events-none focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:ring-[3px] aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive transition-[color,box-shadow] overflow-hidden",{variants:{variant:{default:"border-transparent bg-primary text-primary-foreground [a&]:hover:bg-primary/90",secondary:"border-transparent bg-secondary text-secondary-foreground [a&]:hover:bg-secondary/90",destructive:"border-transparent bg-destructive text-white [a&]:hover:bg-destructive/90 focus-visible:ring-destructive/20 dark:focus-visible:ring-destructive/40 dark:bg-destructive/60",outline:"text-foreground [a&]:hover:bg-accent [a&]:hover:text-accent-foreground"}},defaultVariants:{variant:"default"}});N.createContext({});N.createContext({});N.createContext(null);var Bt={exports:{}},$e={},Nn;function vl(){if(Nn)return $e;Nn=1;var r=Symbol.for("react.transitional.element"),n=Symbol.for("react.fragment");function s(c,l,d){var f=null;if(d!==void 0&&(f=""+d),l.key!==void 0&&(f=""+l.key),"key"in l){d={};for(var p in l)p!=="key"&&(d[p]=l[p])}else d=l;return l=d.ref,{$$typeof:r,type:c,key:f,ref:l!==void 0?l:null,props:d}}return $e.Fragment=n,$e.jsx=s,$e.jsxs=s,$e}var ft={},On;function yl(){return On||(On=1,process.env.NODE_ENV!=="production"&&(function(){function r(e){if(e==null)return null;if(typeof e=="function")return e.$$typeof===A?null:e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case y:return"Fragment";case M:return"Profiler";case V:return"StrictMode";case U:return"Suspense";case Y:return"SuspenseList";case J:return"Activity"}if(typeof e=="object")switch(typeof e.tag=="number"&&console.error("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),e.$$typeof){case I:return"Portal";case W:return e.displayName||"Context";case F:return(e._context.displayName||"Context")+".Consumer";case L:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case X:return t=e.displayName||null,t!==null?t:r(e.type)||"Memo";case k:t=e._payload,e=e._init;try{return r(e(t))}catch{}}return null}function n(e){return""+e}function s(e){try{n(e);var t=!1}catch{t=!0}if(t){t=console;var o=t.error,a=typeof Symbol=="function"&&Symbol.toStringTag&&e[Symbol.toStringTag]||e.constructor.name||"Object";return o.call(t,"The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",a),n(e)}}function c(e){if(e===y)return"<>";if(typeof e=="object"&&e!==null&&e.$$typeof===k)return"<...>";try{var t=r(e);return t?"<"+t+">":"<...>"}catch{return"<...>"}}function l(){var e=j.A;return e===null?null:e.getOwner()}function d(){return Error("react-stack-top-frame")}function f(e){if(C.call(e,"key")){var t=Object.getOwnPropertyDescriptor(e,"key").get;if(t&&t.isReactWarning)return!1}return e.key!==void 0}function p(e,t){function o(){R||(R=!0,console.error("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://react.dev/link/special-props)",t))}o.isReactWarning=!0,Object.defineProperty(e,"key",{get:o,configurable:!0})}function g(){var e=r(this.type);return T[e]||(T[e]=!0,console.error("Accessing element.ref was removed in React 19. ref is now a regular prop. It will be removed from the JSX Element type in a future release.")),e=this.props.ref,e!==void 0?e:null}function O(e,t,o,a,w,_){var i=o.ref;return e={$$typeof:z,type:e,key:t,props:o,_owner:a},(i!==void 0?i:null)!==null?Object.defineProperty(e,"ref",{enumerable:!1,get:g}):Object.defineProperty(e,"ref",{enumerable:!1,value:null}),e._store={},Object.defineProperty(e._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:0}),Object.defineProperty(e,"_debugInfo",{configurable:!1,enumerable:!1,writable:!0,value:null}),Object.defineProperty(e,"_debugStack",{configurable:!1,enumerable:!1,writable:!0,value:w}),Object.defineProperty(e,"_debugTask",{configurable:!1,enumerable:!1,writable:!0,value:_}),Object.freeze&&(Object.freeze(e.props),Object.freeze(e)),e}function x(e,t,o,a,w,_){var i=t.children;if(i!==void 0)if(a)if(H(i)){for(a=0;a<i.length;a++)h(i[a]);Object.freeze&&Object.freeze(i)}else console.error("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");else h(i);if(C.call(t,"key")){i=r(e);var m=Object.keys(t).filter(function(K){return K!=="key"});a=0<m.length?"{key: someKey, "+m.join(": ..., ")+": ...}":"{key: someKey}",D[i+a]||(m=0<m.length?"{"+m.join(": ..., ")+": ...}":"{}",console.error(`A props object containing a "key" prop is being spread into JSX:
103
+ let props = %s;
104
+ <%s {...props} />
105
+ React keys must be passed directly to JSX without using spread:
106
+ let props = %s;
107
+ <%s key={someKey} {...props} />`,a,i,m,i),D[i+a]=!0)}if(i=null,o!==void 0&&(s(o),i=""+o),f(t)&&(s(t.key),i=""+t.key),"key"in t){o={};for(var S in t)S!=="key"&&(o[S]=t[S])}else o=t;return i&&p(o,typeof e=="function"?e.displayName||e.name||"Unknown":e),O(e,i,o,l(),w,_)}function h(e){E(e)?e._store&&(e._store.validated=1):typeof e=="object"&&e!==null&&e.$$typeof===k&&(e._payload.status==="fulfilled"?E(e._payload.value)&&e._payload.value._store&&(e._payload.value._store.validated=1):e._store&&(e._store.validated=1))}function E(e){return typeof e=="object"&&e!==null&&e.$$typeof===z}var v=B,z=Symbol.for("react.transitional.element"),I=Symbol.for("react.portal"),y=Symbol.for("react.fragment"),V=Symbol.for("react.strict_mode"),M=Symbol.for("react.profiler"),F=Symbol.for("react.consumer"),W=Symbol.for("react.context"),L=Symbol.for("react.forward_ref"),U=Symbol.for("react.suspense"),Y=Symbol.for("react.suspense_list"),X=Symbol.for("react.memo"),k=Symbol.for("react.lazy"),J=Symbol.for("react.activity"),A=Symbol.for("react.client.reference"),j=v.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,C=Object.prototype.hasOwnProperty,H=Array.isArray,b=console.createTask?console.createTask:function(){return null};v={react_stack_bottom_frame:function(e){return e()}};var R,T={},P=v.react_stack_bottom_frame.bind(v,d)(),$=b(c(d)),D={};ft.Fragment=y,ft.jsx=function(e,t,o){var a=1e4>j.recentlyCreatedOwnerStacks++;return x(e,t,o,!1,a?Error("react-stack-top-frame"):P,a?b(c(e)):$)},ft.jsxs=function(e,t,o){var a=1e4>j.recentlyCreatedOwnerStacks++;return x(e,t,o,!0,a?Error("react-stack-top-frame"):P,a?b(c(e)):$)}})()),ft}var Cn;function gl(){return Cn||(Cn=1,process.env.NODE_ENV==="production"?Bt.exports=vl():Bt.exports=yl()),Bt.exports}gl();G.cva("inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-md text-sm font-medium transition-all disabled:pointer-events-none disabled:opacity-50 [&_svg]:pointer-events-none [&_svg:not([class*='size-'])]:size-4 shrink-0 [&_svg]:shrink-0 outline-none focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:ring-[3px] aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive",{variants:{variant:{default:"bg-primary text-primary-foreground shadow-xs hover:bg-primary/90",destructive:"bg-destructive text-white shadow-xs hover:bg-destructive/90 focus-visible:ring-destructive/20 dark:focus-visible:ring-destructive/40 dark:bg-destructive/60",outline:"border bg-background shadow-xs hover:bg-accent hover:text-accent-foreground dark:bg-input/30 dark:border-input dark:hover:bg-input/50",secondary:"bg-secondary text-secondary-foreground shadow-xs hover:bg-secondary/80",ghost:"hover:bg-accent hover:text-accent-foreground dark:hover:bg-accent/50",link:"text-primary underline-offset-4 hover:underline"},size:{default:"h-9 px-4 py-2 has-[>svg]:px-3",sm:"h-8 rounded-md gap-1.5 px-3 has-[>svg]:px-2.5",lg:"h-10 rounded-md px-6 has-[>svg]:px-4",icon:"size-9"}},defaultVariants:{variant:"default",size:"default"}});G.cva("inline-flex items-center justify-center rounded-md border px-2 py-0.5 text-xs font-medium w-fit whitespace-nowrap shrink-0 [&>svg]:size-3 gap-1 [&>svg]:pointer-events-none focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:ring-[3px] aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive transition-[color,box-shadow] overflow-hidden",{variants:{variant:{default:"border-transparent bg-primary text-primary-foreground [a&]:hover:bg-primary/90",secondary:"border-transparent bg-secondary text-secondary-foreground [a&]:hover:bg-secondary/90",destructive:"border-transparent bg-destructive text-white [a&]:hover:bg-destructive/90 focus-visible:ring-destructive/20 dark:focus-visible:ring-destructive/40 dark:bg-destructive/60",outline:"text-foreground [a&]:hover:bg-accent [a&]:hover:text-accent-foreground"}},defaultVariants:{variant:"default"}});N.createContext({});N.createContext({});N.createContext(null);var qt={exports:{}},De={},Tn;function xl(){if(Tn)return De;Tn=1;var r=Symbol.for("react.transitional.element"),n=Symbol.for("react.fragment");function s(c,l,d){var f=null;if(d!==void 0&&(f=""+d),l.key!==void 0&&(f=""+l.key),"key"in l){d={};for(var p in l)p!=="key"&&(d[p]=l[p])}else d=l;return l=d.ref,{$$typeof:r,type:c,key:f,ref:l!==void 0?l:null,props:d}}return De.Fragment=n,De.jsx=s,De.jsxs=s,De}var pt={},Pn;function hl(){return Pn||(Pn=1,process.env.NODE_ENV!=="production"&&(function(){function r(e){if(e==null)return null;if(typeof e=="function")return e.$$typeof===A?null:e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case y:return"Fragment";case M:return"Profiler";case V:return"StrictMode";case U:return"Suspense";case Y:return"SuspenseList";case J:return"Activity"}if(typeof e=="object")switch(typeof e.tag=="number"&&console.error("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),e.$$typeof){case I:return"Portal";case W:return e.displayName||"Context";case F:return(e._context.displayName||"Context")+".Consumer";case L:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case X:return t=e.displayName||null,t!==null?t:r(e.type)||"Memo";case k:t=e._payload,e=e._init;try{return r(e(t))}catch{}}return null}function n(e){return""+e}function s(e){try{n(e);var t=!1}catch{t=!0}if(t){t=console;var o=t.error,a=typeof Symbol=="function"&&Symbol.toStringTag&&e[Symbol.toStringTag]||e.constructor.name||"Object";return o.call(t,"The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",a),n(e)}}function c(e){if(e===y)return"<>";if(typeof e=="object"&&e!==null&&e.$$typeof===k)return"<...>";try{var t=r(e);return t?"<"+t+">":"<...>"}catch{return"<...>"}}function l(){var e=j.A;return e===null?null:e.getOwner()}function d(){return Error("react-stack-top-frame")}function f(e){if(C.call(e,"key")){var t=Object.getOwnPropertyDescriptor(e,"key").get;if(t&&t.isReactWarning)return!1}return e.key!==void 0}function p(e,t){function o(){R||(R=!0,console.error("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://react.dev/link/special-props)",t))}o.isReactWarning=!0,Object.defineProperty(e,"key",{get:o,configurable:!0})}function g(){var e=r(this.type);return T[e]||(T[e]=!0,console.error("Accessing element.ref was removed in React 19. ref is now a regular prop. It will be removed from the JSX Element type in a future release.")),e=this.props.ref,e!==void 0?e:null}function O(e,t,o,a,w,_){var i=o.ref;return e={$$typeof:z,type:e,key:t,props:o,_owner:a},(i!==void 0?i:null)!==null?Object.defineProperty(e,"ref",{enumerable:!1,get:g}):Object.defineProperty(e,"ref",{enumerable:!1,value:null}),e._store={},Object.defineProperty(e._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:0}),Object.defineProperty(e,"_debugInfo",{configurable:!1,enumerable:!1,writable:!0,value:null}),Object.defineProperty(e,"_debugStack",{configurable:!1,enumerable:!1,writable:!0,value:w}),Object.defineProperty(e,"_debugTask",{configurable:!1,enumerable:!1,writable:!0,value:_}),Object.freeze&&(Object.freeze(e.props),Object.freeze(e)),e}function x(e,t,o,a,w,_){var i=t.children;if(i!==void 0)if(a)if(H(i)){for(a=0;a<i.length;a++)h(i[a]);Object.freeze&&Object.freeze(i)}else console.error("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");else h(i);if(C.call(t,"key")){i=r(e);var m=Object.keys(t).filter(function(K){return K!=="key"});a=0<m.length?"{key: someKey, "+m.join(": ..., ")+": ...}":"{key: someKey}",D[i+a]||(m=0<m.length?"{"+m.join(": ..., ")+": ...}":"{}",console.error(`A props object containing a "key" prop is being spread into JSX:
108
+ let props = %s;
109
+ <%s {...props} />
110
+ React keys must be passed directly to JSX without using spread:
111
+ let props = %s;
112
+ <%s key={someKey} {...props} />`,a,i,m,i),D[i+a]=!0)}if(i=null,o!==void 0&&(s(o),i=""+o),f(t)&&(s(t.key),i=""+t.key),"key"in t){o={};for(var S in t)S!=="key"&&(o[S]=t[S])}else o=t;return i&&p(o,typeof e=="function"?e.displayName||e.name||"Unknown":e),O(e,i,o,l(),w,_)}function h(e){E(e)?e._store&&(e._store.validated=1):typeof e=="object"&&e!==null&&e.$$typeof===k&&(e._payload.status==="fulfilled"?E(e._payload.value)&&e._payload.value._store&&(e._payload.value._store.validated=1):e._store&&(e._store.validated=1))}function E(e){return typeof e=="object"&&e!==null&&e.$$typeof===z}var v=B,z=Symbol.for("react.transitional.element"),I=Symbol.for("react.portal"),y=Symbol.for("react.fragment"),V=Symbol.for("react.strict_mode"),M=Symbol.for("react.profiler"),F=Symbol.for("react.consumer"),W=Symbol.for("react.context"),L=Symbol.for("react.forward_ref"),U=Symbol.for("react.suspense"),Y=Symbol.for("react.suspense_list"),X=Symbol.for("react.memo"),k=Symbol.for("react.lazy"),J=Symbol.for("react.activity"),A=Symbol.for("react.client.reference"),j=v.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,C=Object.prototype.hasOwnProperty,H=Array.isArray,b=console.createTask?console.createTask:function(){return null};v={react_stack_bottom_frame:function(e){return e()}};var R,T={},P=v.react_stack_bottom_frame.bind(v,d)(),$=b(c(d)),D={};pt.Fragment=y,pt.jsx=function(e,t,o){var a=1e4>j.recentlyCreatedOwnerStacks++;return x(e,t,o,!1,a?Error("react-stack-top-frame"):P,a?b(c(e)):$)},pt.jsxs=function(e,t,o){var a=1e4>j.recentlyCreatedOwnerStacks++;return x(e,t,o,!0,a?Error("react-stack-top-frame"):P,a?b(c(e)):$)}})()),pt}var zn;function kl(){return zn||(zn=1,process.env.NODE_ENV==="production"?qt.exports=xl():qt.exports=hl()),qt.exports}kl();G.cva("inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-md text-sm font-medium transition-all disabled:pointer-events-none disabled:opacity-50 [&_svg]:pointer-events-none [&_svg:not([class*='size-'])]:size-4 shrink-0 [&_svg]:shrink-0 outline-none focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:ring-[3px] aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive",{variants:{variant:{default:"bg-primary text-primary-foreground shadow-xs hover:bg-primary/90",destructive:"bg-destructive text-white shadow-xs hover:bg-destructive/90 focus-visible:ring-destructive/20 dark:focus-visible:ring-destructive/40 dark:bg-destructive/60",outline:"border bg-background shadow-xs hover:bg-accent hover:text-accent-foreground dark:bg-input/30 dark:border-input dark:hover:bg-input/50",secondary:"bg-secondary text-secondary-foreground shadow-xs hover:bg-secondary/80",ghost:"hover:bg-accent hover:text-accent-foreground dark:hover:bg-accent/50",link:"text-primary underline-offset-4 hover:underline"},size:{default:"h-9 px-4 py-2 has-[>svg]:px-3",sm:"h-8 rounded-md gap-1.5 px-3 has-[>svg]:px-2.5",lg:"h-10 rounded-md px-6 has-[>svg]:px-4",icon:"size-9"}},defaultVariants:{variant:"default",size:"default"}});G.cva("inline-flex items-center justify-center rounded-md border px-2 py-0.5 text-xs font-medium w-fit whitespace-nowrap shrink-0 [&>svg]:size-3 gap-1 [&>svg]:pointer-events-none focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:ring-[3px] aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive transition-[color,box-shadow] overflow-hidden",{variants:{variant:{default:"border-transparent bg-primary text-primary-foreground [a&]:hover:bg-primary/90",secondary:"border-transparent bg-secondary text-secondary-foreground [a&]:hover:bg-secondary/90",destructive:"border-transparent bg-destructive text-white [a&]:hover:bg-destructive/90 focus-visible:ring-destructive/20 dark:focus-visible:ring-destructive/40 dark:bg-destructive/60",outline:"text-foreground [a&]:hover:bg-accent [a&]:hover:text-accent-foreground"}},defaultVariants:{variant:"default"}});N.createContext({});N.createContext({});N.createContext(null);var Qt={exports:{}},Ae={},$n;function jl(){if($n)return Ae;$n=1;var r=Symbol.for("react.transitional.element"),n=Symbol.for("react.fragment");function s(c,l,d){var f=null;if(d!==void 0&&(f=""+d),l.key!==void 0&&(f=""+l.key),"key"in l){d={};for(var p in l)p!=="key"&&(d[p]=l[p])}else d=l;return l=d.ref,{$$typeof:r,type:c,key:f,ref:l!==void 0?l:null,props:d}}return Ae.Fragment=n,Ae.jsx=s,Ae.jsxs=s,Ae}var mt={},Dn;function wl(){return Dn||(Dn=1,process.env.NODE_ENV!=="production"&&(function(){function r(e){if(e==null)return null;if(typeof e=="function")return e.$$typeof===A?null:e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case y:return"Fragment";case M:return"Profiler";case V:return"StrictMode";case U:return"Suspense";case Y:return"SuspenseList";case J:return"Activity"}if(typeof e=="object")switch(typeof e.tag=="number"&&console.error("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),e.$$typeof){case I:return"Portal";case W:return e.displayName||"Context";case F:return(e._context.displayName||"Context")+".Consumer";case L:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case X:return t=e.displayName||null,t!==null?t:r(e.type)||"Memo";case k:t=e._payload,e=e._init;try{return r(e(t))}catch{}}return null}function n(e){return""+e}function s(e){try{n(e);var t=!1}catch{t=!0}if(t){t=console;var o=t.error,a=typeof Symbol=="function"&&Symbol.toStringTag&&e[Symbol.toStringTag]||e.constructor.name||"Object";return o.call(t,"The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",a),n(e)}}function c(e){if(e===y)return"<>";if(typeof e=="object"&&e!==null&&e.$$typeof===k)return"<...>";try{var t=r(e);return t?"<"+t+">":"<...>"}catch{return"<...>"}}function l(){var e=j.A;return e===null?null:e.getOwner()}function d(){return Error("react-stack-top-frame")}function f(e){if(C.call(e,"key")){var t=Object.getOwnPropertyDescriptor(e,"key").get;if(t&&t.isReactWarning)return!1}return e.key!==void 0}function p(e,t){function o(){R||(R=!0,console.error("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://react.dev/link/special-props)",t))}o.isReactWarning=!0,Object.defineProperty(e,"key",{get:o,configurable:!0})}function g(){var e=r(this.type);return T[e]||(T[e]=!0,console.error("Accessing element.ref was removed in React 19. ref is now a regular prop. It will be removed from the JSX Element type in a future release.")),e=this.props.ref,e!==void 0?e:null}function O(e,t,o,a,w,_){var i=o.ref;return e={$$typeof:z,type:e,key:t,props:o,_owner:a},(i!==void 0?i:null)!==null?Object.defineProperty(e,"ref",{enumerable:!1,get:g}):Object.defineProperty(e,"ref",{enumerable:!1,value:null}),e._store={},Object.defineProperty(e._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:0}),Object.defineProperty(e,"_debugInfo",{configurable:!1,enumerable:!1,writable:!0,value:null}),Object.defineProperty(e,"_debugStack",{configurable:!1,enumerable:!1,writable:!0,value:w}),Object.defineProperty(e,"_debugTask",{configurable:!1,enumerable:!1,writable:!0,value:_}),Object.freeze&&(Object.freeze(e.props),Object.freeze(e)),e}function x(e,t,o,a,w,_){var i=t.children;if(i!==void 0)if(a)if(H(i)){for(a=0;a<i.length;a++)h(i[a]);Object.freeze&&Object.freeze(i)}else console.error("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");else h(i);if(C.call(t,"key")){i=r(e);var m=Object.keys(t).filter(function(K){return K!=="key"});a=0<m.length?"{key: someKey, "+m.join(": ..., ")+": ...}":"{key: someKey}",D[i+a]||(m=0<m.length?"{"+m.join(": ..., ")+": ...}":"{}",console.error(`A props object containing a "key" prop is being spread into JSX:
113
+ let props = %s;
114
+ <%s {...props} />
115
+ React keys must be passed directly to JSX without using spread:
116
+ let props = %s;
117
+ <%s key={someKey} {...props} />`,a,i,m,i),D[i+a]=!0)}if(i=null,o!==void 0&&(s(o),i=""+o),f(t)&&(s(t.key),i=""+t.key),"key"in t){o={};for(var S in t)S!=="key"&&(o[S]=t[S])}else o=t;return i&&p(o,typeof e=="function"?e.displayName||e.name||"Unknown":e),O(e,i,o,l(),w,_)}function h(e){E(e)?e._store&&(e._store.validated=1):typeof e=="object"&&e!==null&&e.$$typeof===k&&(e._payload.status==="fulfilled"?E(e._payload.value)&&e._payload.value._store&&(e._payload.value._store.validated=1):e._store&&(e._store.validated=1))}function E(e){return typeof e=="object"&&e!==null&&e.$$typeof===z}var v=B,z=Symbol.for("react.transitional.element"),I=Symbol.for("react.portal"),y=Symbol.for("react.fragment"),V=Symbol.for("react.strict_mode"),M=Symbol.for("react.profiler"),F=Symbol.for("react.consumer"),W=Symbol.for("react.context"),L=Symbol.for("react.forward_ref"),U=Symbol.for("react.suspense"),Y=Symbol.for("react.suspense_list"),X=Symbol.for("react.memo"),k=Symbol.for("react.lazy"),J=Symbol.for("react.activity"),A=Symbol.for("react.client.reference"),j=v.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,C=Object.prototype.hasOwnProperty,H=Array.isArray,b=console.createTask?console.createTask:function(){return null};v={react_stack_bottom_frame:function(e){return e()}};var R,T={},P=v.react_stack_bottom_frame.bind(v,d)(),$=b(c(d)),D={};mt.Fragment=y,mt.jsx=function(e,t,o){var a=1e4>j.recentlyCreatedOwnerStacks++;return x(e,t,o,!1,a?Error("react-stack-top-frame"):P,a?b(c(e)):$)},mt.jsxs=function(e,t,o){var a=1e4>j.recentlyCreatedOwnerStacks++;return x(e,t,o,!0,a?Error("react-stack-top-frame"):P,a?b(c(e)):$)}})()),mt}var An;function _l(){return An||(An=1,process.env.NODE_ENV==="production"?Qt.exports=jl():Qt.exports=wl()),Qt.exports}_l();G.cva("inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-md text-sm font-medium transition-all disabled:pointer-events-none disabled:opacity-50 [&_svg]:pointer-events-none [&_svg:not([class*='size-'])]:size-4 shrink-0 [&_svg]:shrink-0 outline-none focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:ring-[3px] aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive",{variants:{variant:{default:"bg-primary text-primary-foreground shadow-xs hover:bg-primary/90",destructive:"bg-destructive text-white shadow-xs hover:bg-destructive/90 focus-visible:ring-destructive/20 dark:focus-visible:ring-destructive/40 dark:bg-destructive/60",outline:"border bg-background shadow-xs hover:bg-accent hover:text-accent-foreground dark:bg-input/30 dark:border-input dark:hover:bg-input/50",secondary:"bg-secondary text-secondary-foreground shadow-xs hover:bg-secondary/80",ghost:"hover:bg-accent hover:text-accent-foreground dark:hover:bg-accent/50",link:"text-primary underline-offset-4 hover:underline"},size:{default:"h-9 px-4 py-2 has-[>svg]:px-3",sm:"h-8 rounded-md gap-1.5 px-3 has-[>svg]:px-2.5",lg:"h-10 rounded-md px-6 has-[>svg]:px-4",icon:"size-9"}},defaultVariants:{variant:"default",size:"default"}});G.cva("inline-flex items-center justify-center rounded-md border px-2 py-0.5 text-xs font-medium w-fit whitespace-nowrap shrink-0 [&>svg]:size-3 gap-1 [&>svg]:pointer-events-none focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:ring-[3px] aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive transition-[color,box-shadow] overflow-hidden",{variants:{variant:{default:"border-transparent bg-primary text-primary-foreground [a&]:hover:bg-primary/90",secondary:"border-transparent bg-secondary text-secondary-foreground [a&]:hover:bg-secondary/90",destructive:"border-transparent bg-destructive text-white [a&]:hover:bg-destructive/90 focus-visible:ring-destructive/20 dark:focus-visible:ring-destructive/40 dark:bg-destructive/60",outline:"text-foreground [a&]:hover:bg-accent [a&]:hover:text-accent-foreground"}},defaultVariants:{variant:"default"}});N.createContext({});N.createContext({});N.createContext(null);var Zt={exports:{}},Fe={},Fn;function Sl(){if(Fn)return Fe;Fn=1;var r=Symbol.for("react.transitional.element"),n=Symbol.for("react.fragment");function s(c,l,d){var f=null;if(d!==void 0&&(f=""+d),l.key!==void 0&&(f=""+l.key),"key"in l){d={};for(var p in l)p!=="key"&&(d[p]=l[p])}else d=l;return l=d.ref,{$$typeof:r,type:c,key:f,ref:l!==void 0?l:null,props:d}}return Fe.Fragment=n,Fe.jsx=s,Fe.jsxs=s,Fe}var bt={},In;function Rl(){return In||(In=1,process.env.NODE_ENV!=="production"&&(function(){function r(e){if(e==null)return null;if(typeof e=="function")return e.$$typeof===A?null:e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case y:return"Fragment";case M:return"Profiler";case V:return"StrictMode";case U:return"Suspense";case Y:return"SuspenseList";case J:return"Activity"}if(typeof e=="object")switch(typeof e.tag=="number"&&console.error("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),e.$$typeof){case I:return"Portal";case W:return e.displayName||"Context";case F:return(e._context.displayName||"Context")+".Consumer";case L:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case X:return t=e.displayName||null,t!==null?t:r(e.type)||"Memo";case k:t=e._payload,e=e._init;try{return r(e(t))}catch{}}return null}function n(e){return""+e}function s(e){try{n(e);var t=!1}catch{t=!0}if(t){t=console;var o=t.error,a=typeof Symbol=="function"&&Symbol.toStringTag&&e[Symbol.toStringTag]||e.constructor.name||"Object";return o.call(t,"The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",a),n(e)}}function c(e){if(e===y)return"<>";if(typeof e=="object"&&e!==null&&e.$$typeof===k)return"<...>";try{var t=r(e);return t?"<"+t+">":"<...>"}catch{return"<...>"}}function l(){var e=j.A;return e===null?null:e.getOwner()}function d(){return Error("react-stack-top-frame")}function f(e){if(C.call(e,"key")){var t=Object.getOwnPropertyDescriptor(e,"key").get;if(t&&t.isReactWarning)return!1}return e.key!==void 0}function p(e,t){function o(){R||(R=!0,console.error("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://react.dev/link/special-props)",t))}o.isReactWarning=!0,Object.defineProperty(e,"key",{get:o,configurable:!0})}function g(){var e=r(this.type);return T[e]||(T[e]=!0,console.error("Accessing element.ref was removed in React 19. ref is now a regular prop. It will be removed from the JSX Element type in a future release.")),e=this.props.ref,e!==void 0?e:null}function O(e,t,o,a,w,_){var i=o.ref;return e={$$typeof:z,type:e,key:t,props:o,_owner:a},(i!==void 0?i:null)!==null?Object.defineProperty(e,"ref",{enumerable:!1,get:g}):Object.defineProperty(e,"ref",{enumerable:!1,value:null}),e._store={},Object.defineProperty(e._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:0}),Object.defineProperty(e,"_debugInfo",{configurable:!1,enumerable:!1,writable:!0,value:null}),Object.defineProperty(e,"_debugStack",{configurable:!1,enumerable:!1,writable:!0,value:w}),Object.defineProperty(e,"_debugTask",{configurable:!1,enumerable:!1,writable:!0,value:_}),Object.freeze&&(Object.freeze(e.props),Object.freeze(e)),e}function x(e,t,o,a,w,_){var i=t.children;if(i!==void 0)if(a)if(H(i)){for(a=0;a<i.length;a++)h(i[a]);Object.freeze&&Object.freeze(i)}else console.error("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");else h(i);if(C.call(t,"key")){i=r(e);var m=Object.keys(t).filter(function(K){return K!=="key"});a=0<m.length?"{key: someKey, "+m.join(": ..., ")+": ...}":"{key: someKey}",D[i+a]||(m=0<m.length?"{"+m.join(": ..., ")+": ...}":"{}",console.error(`A props object containing a "key" prop is being spread into JSX:
118
+ let props = %s;
119
+ <%s {...props} />
120
+ React keys must be passed directly to JSX without using spread:
121
+ let props = %s;
122
+ <%s key={someKey} {...props} />`,a,i,m,i),D[i+a]=!0)}if(i=null,o!==void 0&&(s(o),i=""+o),f(t)&&(s(t.key),i=""+t.key),"key"in t){o={};for(var S in t)S!=="key"&&(o[S]=t[S])}else o=t;return i&&p(o,typeof e=="function"?e.displayName||e.name||"Unknown":e),O(e,i,o,l(),w,_)}function h(e){E(e)?e._store&&(e._store.validated=1):typeof e=="object"&&e!==null&&e.$$typeof===k&&(e._payload.status==="fulfilled"?E(e._payload.value)&&e._payload.value._store&&(e._payload.value._store.validated=1):e._store&&(e._store.validated=1))}function E(e){return typeof e=="object"&&e!==null&&e.$$typeof===z}var v=B,z=Symbol.for("react.transitional.element"),I=Symbol.for("react.portal"),y=Symbol.for("react.fragment"),V=Symbol.for("react.strict_mode"),M=Symbol.for("react.profiler"),F=Symbol.for("react.consumer"),W=Symbol.for("react.context"),L=Symbol.for("react.forward_ref"),U=Symbol.for("react.suspense"),Y=Symbol.for("react.suspense_list"),X=Symbol.for("react.memo"),k=Symbol.for("react.lazy"),J=Symbol.for("react.activity"),A=Symbol.for("react.client.reference"),j=v.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,C=Object.prototype.hasOwnProperty,H=Array.isArray,b=console.createTask?console.createTask:function(){return null};v={react_stack_bottom_frame:function(e){return e()}};var R,T={},P=v.react_stack_bottom_frame.bind(v,d)(),$=b(c(d)),D={};bt.Fragment=y,bt.jsx=function(e,t,o){var a=1e4>j.recentlyCreatedOwnerStacks++;return x(e,t,o,!1,a?Error("react-stack-top-frame"):P,a?b(c(e)):$)},bt.jsxs=function(e,t,o){var a=1e4>j.recentlyCreatedOwnerStacks++;return x(e,t,o,!0,a?Error("react-stack-top-frame"):P,a?b(c(e)):$)}})()),bt}var Mn;function El(){return Mn||(Mn=1,process.env.NODE_ENV==="production"?Zt.exports=Sl():Zt.exports=Rl()),Zt.exports}El();G.cva("inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-md text-sm font-medium transition-all disabled:pointer-events-none disabled:opacity-50 [&_svg]:pointer-events-none [&_svg:not([class*='size-'])]:size-4 shrink-0 [&_svg]:shrink-0 outline-none focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:ring-[3px] aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive",{variants:{variant:{default:"bg-primary text-primary-foreground shadow-xs hover:bg-primary/90",destructive:"bg-destructive text-white shadow-xs hover:bg-destructive/90 focus-visible:ring-destructive/20 dark:focus-visible:ring-destructive/40 dark:bg-destructive/60",outline:"border bg-background shadow-xs hover:bg-accent hover:text-accent-foreground dark:bg-input/30 dark:border-input dark:hover:bg-input/50",secondary:"bg-secondary text-secondary-foreground shadow-xs hover:bg-secondary/80",ghost:"hover:bg-accent hover:text-accent-foreground dark:hover:bg-accent/50",link:"text-primary underline-offset-4 hover:underline"},size:{default:"h-9 px-4 py-2 has-[>svg]:px-3",sm:"h-8 rounded-md gap-1.5 px-3 has-[>svg]:px-2.5",lg:"h-10 rounded-md px-6 has-[>svg]:px-4",icon:"size-9"}},defaultVariants:{variant:"default",size:"default"}});G.cva("inline-flex items-center justify-center rounded-md border px-2 py-0.5 text-xs font-medium w-fit whitespace-nowrap shrink-0 [&>svg]:size-3 gap-1 [&>svg]:pointer-events-none focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:ring-[3px] aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive transition-[color,box-shadow] overflow-hidden",{variants:{variant:{default:"border-transparent bg-primary text-primary-foreground [a&]:hover:bg-primary/90",secondary:"border-transparent bg-secondary text-secondary-foreground [a&]:hover:bg-secondary/90",destructive:"border-transparent bg-destructive text-white [a&]:hover:bg-destructive/90 focus-visible:ring-destructive/20 dark:focus-visible:ring-destructive/40 dark:bg-destructive/60",outline:"text-foreground [a&]:hover:bg-accent [a&]:hover:text-accent-foreground"}},defaultVariants:{variant:"default"}});N.createContext({});N.createContext({});N.createContext(null);var er={exports:{}},Ie={},Vn;function Nl(){if(Vn)return Ie;Vn=1;var r=Symbol.for("react.transitional.element"),n=Symbol.for("react.fragment");function s(c,l,d){var f=null;if(d!==void 0&&(f=""+d),l.key!==void 0&&(f=""+l.key),"key"in l){d={};for(var p in l)p!=="key"&&(d[p]=l[p])}else d=l;return l=d.ref,{$$typeof:r,type:c,key:f,ref:l!==void 0?l:null,props:d}}return Ie.Fragment=n,Ie.jsx=s,Ie.jsxs=s,Ie}var vt={},Wn;function Ol(){return Wn||(Wn=1,process.env.NODE_ENV!=="production"&&(function(){function r(e){if(e==null)return null;if(typeof e=="function")return e.$$typeof===A?null:e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case y:return"Fragment";case M:return"Profiler";case V:return"StrictMode";case U:return"Suspense";case Y:return"SuspenseList";case J:return"Activity"}if(typeof e=="object")switch(typeof e.tag=="number"&&console.error("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),e.$$typeof){case I:return"Portal";case W:return e.displayName||"Context";case F:return(e._context.displayName||"Context")+".Consumer";case L:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case X:return t=e.displayName||null,t!==null?t:r(e.type)||"Memo";case k:t=e._payload,e=e._init;try{return r(e(t))}catch{}}return null}function n(e){return""+e}function s(e){try{n(e);var t=!1}catch{t=!0}if(t){t=console;var o=t.error,a=typeof Symbol=="function"&&Symbol.toStringTag&&e[Symbol.toStringTag]||e.constructor.name||"Object";return o.call(t,"The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",a),n(e)}}function c(e){if(e===y)return"<>";if(typeof e=="object"&&e!==null&&e.$$typeof===k)return"<...>";try{var t=r(e);return t?"<"+t+">":"<...>"}catch{return"<...>"}}function l(){var e=j.A;return e===null?null:e.getOwner()}function d(){return Error("react-stack-top-frame")}function f(e){if(C.call(e,"key")){var t=Object.getOwnPropertyDescriptor(e,"key").get;if(t&&t.isReactWarning)return!1}return e.key!==void 0}function p(e,t){function o(){R||(R=!0,console.error("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://react.dev/link/special-props)",t))}o.isReactWarning=!0,Object.defineProperty(e,"key",{get:o,configurable:!0})}function g(){var e=r(this.type);return T[e]||(T[e]=!0,console.error("Accessing element.ref was removed in React 19. ref is now a regular prop. It will be removed from the JSX Element type in a future release.")),e=this.props.ref,e!==void 0?e:null}function O(e,t,o,a,w,_){var i=o.ref;return e={$$typeof:z,type:e,key:t,props:o,_owner:a},(i!==void 0?i:null)!==null?Object.defineProperty(e,"ref",{enumerable:!1,get:g}):Object.defineProperty(e,"ref",{enumerable:!1,value:null}),e._store={},Object.defineProperty(e._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:0}),Object.defineProperty(e,"_debugInfo",{configurable:!1,enumerable:!1,writable:!0,value:null}),Object.defineProperty(e,"_debugStack",{configurable:!1,enumerable:!1,writable:!0,value:w}),Object.defineProperty(e,"_debugTask",{configurable:!1,enumerable:!1,writable:!0,value:_}),Object.freeze&&(Object.freeze(e.props),Object.freeze(e)),e}function x(e,t,o,a,w,_){var i=t.children;if(i!==void 0)if(a)if(H(i)){for(a=0;a<i.length;a++)h(i[a]);Object.freeze&&Object.freeze(i)}else console.error("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");else h(i);if(C.call(t,"key")){i=r(e);var m=Object.keys(t).filter(function(K){return K!=="key"});a=0<m.length?"{key: someKey, "+m.join(": ..., ")+": ...}":"{key: someKey}",D[i+a]||(m=0<m.length?"{"+m.join(": ..., ")+": ...}":"{}",console.error(`A props object containing a "key" prop is being spread into JSX:
123
+ let props = %s;
124
+ <%s {...props} />
125
+ React keys must be passed directly to JSX without using spread:
126
+ let props = %s;
127
+ <%s key={someKey} {...props} />`,a,i,m,i),D[i+a]=!0)}if(i=null,o!==void 0&&(s(o),i=""+o),f(t)&&(s(t.key),i=""+t.key),"key"in t){o={};for(var S in t)S!=="key"&&(o[S]=t[S])}else o=t;return i&&p(o,typeof e=="function"?e.displayName||e.name||"Unknown":e),O(e,i,o,l(),w,_)}function h(e){E(e)?e._store&&(e._store.validated=1):typeof e=="object"&&e!==null&&e.$$typeof===k&&(e._payload.status==="fulfilled"?E(e._payload.value)&&e._payload.value._store&&(e._payload.value._store.validated=1):e._store&&(e._store.validated=1))}function E(e){return typeof e=="object"&&e!==null&&e.$$typeof===z}var v=B,z=Symbol.for("react.transitional.element"),I=Symbol.for("react.portal"),y=Symbol.for("react.fragment"),V=Symbol.for("react.strict_mode"),M=Symbol.for("react.profiler"),F=Symbol.for("react.consumer"),W=Symbol.for("react.context"),L=Symbol.for("react.forward_ref"),U=Symbol.for("react.suspense"),Y=Symbol.for("react.suspense_list"),X=Symbol.for("react.memo"),k=Symbol.for("react.lazy"),J=Symbol.for("react.activity"),A=Symbol.for("react.client.reference"),j=v.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,C=Object.prototype.hasOwnProperty,H=Array.isArray,b=console.createTask?console.createTask:function(){return null};v={react_stack_bottom_frame:function(e){return e()}};var R,T={},P=v.react_stack_bottom_frame.bind(v,d)(),$=b(c(d)),D={};vt.Fragment=y,vt.jsx=function(e,t,o){var a=1e4>j.recentlyCreatedOwnerStacks++;return x(e,t,o,!1,a?Error("react-stack-top-frame"):P,a?b(c(e)):$)},vt.jsxs=function(e,t,o){var a=1e4>j.recentlyCreatedOwnerStacks++;return x(e,t,o,!0,a?Error("react-stack-top-frame"):P,a?b(c(e)):$)}})()),vt}var Un;function Cl(){return Un||(Un=1,process.env.NODE_ENV==="production"?er.exports=Nl():er.exports=Ol()),er.exports}Cl();G.cva("inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-md text-sm font-medium transition-all disabled:pointer-events-none disabled:opacity-50 [&_svg]:pointer-events-none [&_svg:not([class*='size-'])]:size-4 shrink-0 [&_svg]:shrink-0 outline-none focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:ring-[3px] aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive",{variants:{variant:{default:"bg-primary text-primary-foreground shadow-xs hover:bg-primary/90",destructive:"bg-destructive text-white shadow-xs hover:bg-destructive/90 focus-visible:ring-destructive/20 dark:focus-visible:ring-destructive/40 dark:bg-destructive/60",outline:"border bg-background shadow-xs hover:bg-accent hover:text-accent-foreground dark:bg-input/30 dark:border-input dark:hover:bg-input/50",secondary:"bg-secondary text-secondary-foreground shadow-xs hover:bg-secondary/80",ghost:"hover:bg-accent hover:text-accent-foreground dark:hover:bg-accent/50",link:"text-primary underline-offset-4 hover:underline"},size:{default:"h-9 px-4 py-2 has-[>svg]:px-3",sm:"h-8 rounded-md gap-1.5 px-3 has-[>svg]:px-2.5",lg:"h-10 rounded-md px-6 has-[>svg]:px-4",icon:"size-9"}},defaultVariants:{variant:"default",size:"default"}});G.cva("inline-flex items-center justify-center rounded-md border px-2 py-0.5 text-xs font-medium w-fit whitespace-nowrap shrink-0 [&>svg]:size-3 gap-1 [&>svg]:pointer-events-none focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:ring-[3px] aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive transition-[color,box-shadow] overflow-hidden",{variants:{variant:{default:"border-transparent bg-primary text-primary-foreground [a&]:hover:bg-primary/90",secondary:"border-transparent bg-secondary text-secondary-foreground [a&]:hover:bg-secondary/90",destructive:"border-transparent bg-destructive text-white [a&]:hover:bg-destructive/90 focus-visible:ring-destructive/20 dark:focus-visible:ring-destructive/40 dark:bg-destructive/60",outline:"text-foreground [a&]:hover:bg-accent [a&]:hover:text-accent-foreground"}},defaultVariants:{variant:"default"}});N.createContext({});N.createContext({});N.createContext(null);var tr={exports:{}},Me={},Ln;function Tl(){if(Ln)return Me;Ln=1;var r=Symbol.for("react.transitional.element"),n=Symbol.for("react.fragment");function s(c,l,d){var f=null;if(d!==void 0&&(f=""+d),l.key!==void 0&&(f=""+l.key),"key"in l){d={};for(var p in l)p!=="key"&&(d[p]=l[p])}else d=l;return l=d.ref,{$$typeof:r,type:c,key:f,ref:l!==void 0?l:null,props:d}}return Me.Fragment=n,Me.jsx=s,Me.jsxs=s,Me}var yt={},Yn;function Pl(){return Yn||(Yn=1,process.env.NODE_ENV!=="production"&&(function(){function r(e){if(e==null)return null;if(typeof e=="function")return e.$$typeof===A?null:e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case y:return"Fragment";case M:return"Profiler";case V:return"StrictMode";case U:return"Suspense";case Y:return"SuspenseList";case J:return"Activity"}if(typeof e=="object")switch(typeof e.tag=="number"&&console.error("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),e.$$typeof){case I:return"Portal";case W:return e.displayName||"Context";case F:return(e._context.displayName||"Context")+".Consumer";case L:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case X:return t=e.displayName||null,t!==null?t:r(e.type)||"Memo";case k:t=e._payload,e=e._init;try{return r(e(t))}catch{}}return null}function n(e){return""+e}function s(e){try{n(e);var t=!1}catch{t=!0}if(t){t=console;var o=t.error,a=typeof Symbol=="function"&&Symbol.toStringTag&&e[Symbol.toStringTag]||e.constructor.name||"Object";return o.call(t,"The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",a),n(e)}}function c(e){if(e===y)return"<>";if(typeof e=="object"&&e!==null&&e.$$typeof===k)return"<...>";try{var t=r(e);return t?"<"+t+">":"<...>"}catch{return"<...>"}}function l(){var e=j.A;return e===null?null:e.getOwner()}function d(){return Error("react-stack-top-frame")}function f(e){if(C.call(e,"key")){var t=Object.getOwnPropertyDescriptor(e,"key").get;if(t&&t.isReactWarning)return!1}return e.key!==void 0}function p(e,t){function o(){R||(R=!0,console.error("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://react.dev/link/special-props)",t))}o.isReactWarning=!0,Object.defineProperty(e,"key",{get:o,configurable:!0})}function g(){var e=r(this.type);return T[e]||(T[e]=!0,console.error("Accessing element.ref was removed in React 19. ref is now a regular prop. It will be removed from the JSX Element type in a future release.")),e=this.props.ref,e!==void 0?e:null}function O(e,t,o,a,w,_){var i=o.ref;return e={$$typeof:z,type:e,key:t,props:o,_owner:a},(i!==void 0?i:null)!==null?Object.defineProperty(e,"ref",{enumerable:!1,get:g}):Object.defineProperty(e,"ref",{enumerable:!1,value:null}),e._store={},Object.defineProperty(e._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:0}),Object.defineProperty(e,"_debugInfo",{configurable:!1,enumerable:!1,writable:!0,value:null}),Object.defineProperty(e,"_debugStack",{configurable:!1,enumerable:!1,writable:!0,value:w}),Object.defineProperty(e,"_debugTask",{configurable:!1,enumerable:!1,writable:!0,value:_}),Object.freeze&&(Object.freeze(e.props),Object.freeze(e)),e}function x(e,t,o,a,w,_){var i=t.children;if(i!==void 0)if(a)if(H(i)){for(a=0;a<i.length;a++)h(i[a]);Object.freeze&&Object.freeze(i)}else console.error("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");else h(i);if(C.call(t,"key")){i=r(e);var m=Object.keys(t).filter(function(K){return K!=="key"});a=0<m.length?"{key: someKey, "+m.join(": ..., ")+": ...}":"{key: someKey}",D[i+a]||(m=0<m.length?"{"+m.join(": ..., ")+": ...}":"{}",console.error(`A props object containing a "key" prop is being spread into JSX:
128
+ let props = %s;
129
+ <%s {...props} />
130
+ React keys must be passed directly to JSX without using spread:
131
+ let props = %s;
132
+ <%s key={someKey} {...props} />`,a,i,m,i),D[i+a]=!0)}if(i=null,o!==void 0&&(s(o),i=""+o),f(t)&&(s(t.key),i=""+t.key),"key"in t){o={};for(var S in t)S!=="key"&&(o[S]=t[S])}else o=t;return i&&p(o,typeof e=="function"?e.displayName||e.name||"Unknown":e),O(e,i,o,l(),w,_)}function h(e){E(e)?e._store&&(e._store.validated=1):typeof e=="object"&&e!==null&&e.$$typeof===k&&(e._payload.status==="fulfilled"?E(e._payload.value)&&e._payload.value._store&&(e._payload.value._store.validated=1):e._store&&(e._store.validated=1))}function E(e){return typeof e=="object"&&e!==null&&e.$$typeof===z}var v=B,z=Symbol.for("react.transitional.element"),I=Symbol.for("react.portal"),y=Symbol.for("react.fragment"),V=Symbol.for("react.strict_mode"),M=Symbol.for("react.profiler"),F=Symbol.for("react.consumer"),W=Symbol.for("react.context"),L=Symbol.for("react.forward_ref"),U=Symbol.for("react.suspense"),Y=Symbol.for("react.suspense_list"),X=Symbol.for("react.memo"),k=Symbol.for("react.lazy"),J=Symbol.for("react.activity"),A=Symbol.for("react.client.reference"),j=v.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,C=Object.prototype.hasOwnProperty,H=Array.isArray,b=console.createTask?console.createTask:function(){return null};v={react_stack_bottom_frame:function(e){return e()}};var R,T={},P=v.react_stack_bottom_frame.bind(v,d)(),$=b(c(d)),D={};yt.Fragment=y,yt.jsx=function(e,t,o){var a=1e4>j.recentlyCreatedOwnerStacks++;return x(e,t,o,!1,a?Error("react-stack-top-frame"):P,a?b(c(e)):$)},yt.jsxs=function(e,t,o){var a=1e4>j.recentlyCreatedOwnerStacks++;return x(e,t,o,!0,a?Error("react-stack-top-frame"):P,a?b(c(e)):$)}})()),yt}var Xn;function zl(){return Xn||(Xn=1,process.env.NODE_ENV==="production"?tr.exports=Tl():tr.exports=Pl()),tr.exports}zl();G.cva("inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-md text-sm font-medium transition-all disabled:pointer-events-none disabled:opacity-50 [&_svg]:pointer-events-none [&_svg:not([class*='size-'])]:size-4 shrink-0 [&_svg]:shrink-0 outline-none focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:ring-[3px] aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive",{variants:{variant:{default:"bg-primary text-primary-foreground shadow-xs hover:bg-primary/90",destructive:"bg-destructive text-white shadow-xs hover:bg-destructive/90 focus-visible:ring-destructive/20 dark:focus-visible:ring-destructive/40 dark:bg-destructive/60",outline:"border bg-background shadow-xs hover:bg-accent hover:text-accent-foreground dark:bg-input/30 dark:border-input dark:hover:bg-input/50",secondary:"bg-secondary text-secondary-foreground shadow-xs hover:bg-secondary/80",ghost:"hover:bg-accent hover:text-accent-foreground dark:hover:bg-accent/50",link:"text-primary underline-offset-4 hover:underline"},size:{default:"h-9 px-4 py-2 has-[>svg]:px-3",sm:"h-8 rounded-md gap-1.5 px-3 has-[>svg]:px-2.5",lg:"h-10 rounded-md px-6 has-[>svg]:px-4",icon:"size-9"}},defaultVariants:{variant:"default",size:"default"}});G.cva("inline-flex items-center justify-center rounded-md border px-2 py-0.5 text-xs font-medium w-fit whitespace-nowrap shrink-0 [&>svg]:size-3 gap-1 [&>svg]:pointer-events-none focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:ring-[3px] aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive transition-[color,box-shadow] overflow-hidden",{variants:{variant:{default:"border-transparent bg-primary text-primary-foreground [a&]:hover:bg-primary/90",secondary:"border-transparent bg-secondary text-secondary-foreground [a&]:hover:bg-secondary/90",destructive:"border-transparent bg-destructive text-white [a&]:hover:bg-destructive/90 focus-visible:ring-destructive/20 dark:focus-visible:ring-destructive/40 dark:bg-destructive/60",outline:"text-foreground [a&]:hover:bg-accent [a&]:hover:text-accent-foreground"}},defaultVariants:{variant:"default"}});N.createContext({});N.createContext({});N.createContext(null);var rr={exports:{}},Ve={},Jn;function $l(){if(Jn)return Ve;Jn=1;var r=Symbol.for("react.transitional.element"),n=Symbol.for("react.fragment");function s(c,l,d){var f=null;if(d!==void 0&&(f=""+d),l.key!==void 0&&(f=""+l.key),"key"in l){d={};for(var p in l)p!=="key"&&(d[p]=l[p])}else d=l;return l=d.ref,{$$typeof:r,type:c,key:f,ref:l!==void 0?l:null,props:d}}return Ve.Fragment=n,Ve.jsx=s,Ve.jsxs=s,Ve}var gt={},Hn;function Dl(){return Hn||(Hn=1,process.env.NODE_ENV!=="production"&&(function(){function r(e){if(e==null)return null;if(typeof e=="function")return e.$$typeof===A?null:e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case y:return"Fragment";case M:return"Profiler";case V:return"StrictMode";case U:return"Suspense";case Y:return"SuspenseList";case J:return"Activity"}if(typeof e=="object")switch(typeof e.tag=="number"&&console.error("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),e.$$typeof){case I:return"Portal";case W:return e.displayName||"Context";case F:return(e._context.displayName||"Context")+".Consumer";case L:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case X:return t=e.displayName||null,t!==null?t:r(e.type)||"Memo";case k:t=e._payload,e=e._init;try{return r(e(t))}catch{}}return null}function n(e){return""+e}function s(e){try{n(e);var t=!1}catch{t=!0}if(t){t=console;var o=t.error,a=typeof Symbol=="function"&&Symbol.toStringTag&&e[Symbol.toStringTag]||e.constructor.name||"Object";return o.call(t,"The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",a),n(e)}}function c(e){if(e===y)return"<>";if(typeof e=="object"&&e!==null&&e.$$typeof===k)return"<...>";try{var t=r(e);return t?"<"+t+">":"<...>"}catch{return"<...>"}}function l(){var e=j.A;return e===null?null:e.getOwner()}function d(){return Error("react-stack-top-frame")}function f(e){if(C.call(e,"key")){var t=Object.getOwnPropertyDescriptor(e,"key").get;if(t&&t.isReactWarning)return!1}return e.key!==void 0}function p(e,t){function o(){R||(R=!0,console.error("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://react.dev/link/special-props)",t))}o.isReactWarning=!0,Object.defineProperty(e,"key",{get:o,configurable:!0})}function g(){var e=r(this.type);return T[e]||(T[e]=!0,console.error("Accessing element.ref was removed in React 19. ref is now a regular prop. It will be removed from the JSX Element type in a future release.")),e=this.props.ref,e!==void 0?e:null}function O(e,t,o,a,w,_){var i=o.ref;return e={$$typeof:z,type:e,key:t,props:o,_owner:a},(i!==void 0?i:null)!==null?Object.defineProperty(e,"ref",{enumerable:!1,get:g}):Object.defineProperty(e,"ref",{enumerable:!1,value:null}),e._store={},Object.defineProperty(e._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:0}),Object.defineProperty(e,"_debugInfo",{configurable:!1,enumerable:!1,writable:!0,value:null}),Object.defineProperty(e,"_debugStack",{configurable:!1,enumerable:!1,writable:!0,value:w}),Object.defineProperty(e,"_debugTask",{configurable:!1,enumerable:!1,writable:!0,value:_}),Object.freeze&&(Object.freeze(e.props),Object.freeze(e)),e}function x(e,t,o,a,w,_){var i=t.children;if(i!==void 0)if(a)if(H(i)){for(a=0;a<i.length;a++)h(i[a]);Object.freeze&&Object.freeze(i)}else console.error("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");else h(i);if(C.call(t,"key")){i=r(e);var m=Object.keys(t).filter(function(K){return K!=="key"});a=0<m.length?"{key: someKey, "+m.join(": ..., ")+": ...}":"{key: someKey}",D[i+a]||(m=0<m.length?"{"+m.join(": ..., ")+": ...}":"{}",console.error(`A props object containing a "key" prop is being spread into JSX:
133
+ let props = %s;
134
+ <%s {...props} />
135
+ React keys must be passed directly to JSX without using spread:
136
+ let props = %s;
137
+ <%s key={someKey} {...props} />`,a,i,m,i),D[i+a]=!0)}if(i=null,o!==void 0&&(s(o),i=""+o),f(t)&&(s(t.key),i=""+t.key),"key"in t){o={};for(var S in t)S!=="key"&&(o[S]=t[S])}else o=t;return i&&p(o,typeof e=="function"?e.displayName||e.name||"Unknown":e),O(e,i,o,l(),w,_)}function h(e){E(e)?e._store&&(e._store.validated=1):typeof e=="object"&&e!==null&&e.$$typeof===k&&(e._payload.status==="fulfilled"?E(e._payload.value)&&e._payload.value._store&&(e._payload.value._store.validated=1):e._store&&(e._store.validated=1))}function E(e){return typeof e=="object"&&e!==null&&e.$$typeof===z}var v=B,z=Symbol.for("react.transitional.element"),I=Symbol.for("react.portal"),y=Symbol.for("react.fragment"),V=Symbol.for("react.strict_mode"),M=Symbol.for("react.profiler"),F=Symbol.for("react.consumer"),W=Symbol.for("react.context"),L=Symbol.for("react.forward_ref"),U=Symbol.for("react.suspense"),Y=Symbol.for("react.suspense_list"),X=Symbol.for("react.memo"),k=Symbol.for("react.lazy"),J=Symbol.for("react.activity"),A=Symbol.for("react.client.reference"),j=v.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,C=Object.prototype.hasOwnProperty,H=Array.isArray,b=console.createTask?console.createTask:function(){return null};v={react_stack_bottom_frame:function(e){return e()}};var R,T={},P=v.react_stack_bottom_frame.bind(v,d)(),$=b(c(d)),D={};gt.Fragment=y,gt.jsx=function(e,t,o){var a=1e4>j.recentlyCreatedOwnerStacks++;return x(e,t,o,!1,a?Error("react-stack-top-frame"):P,a?b(c(e)):$)},gt.jsxs=function(e,t,o){var a=1e4>j.recentlyCreatedOwnerStacks++;return x(e,t,o,!0,a?Error("react-stack-top-frame"):P,a?b(c(e)):$)}})()),gt}var Gn;function Al(){return Gn||(Gn=1,process.env.NODE_ENV==="production"?rr.exports=$l():rr.exports=Dl()),rr.exports}Al();G.cva("inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-md text-sm font-medium transition-all disabled:pointer-events-none disabled:opacity-50 [&_svg]:pointer-events-none [&_svg:not([class*='size-'])]:size-4 shrink-0 [&_svg]:shrink-0 outline-none focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:ring-[3px] aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive",{variants:{variant:{default:"bg-primary text-primary-foreground shadow-xs hover:bg-primary/90",destructive:"bg-destructive text-white shadow-xs hover:bg-destructive/90 focus-visible:ring-destructive/20 dark:focus-visible:ring-destructive/40 dark:bg-destructive/60",outline:"border bg-background shadow-xs hover:bg-accent hover:text-accent-foreground dark:bg-input/30 dark:border-input dark:hover:bg-input/50",secondary:"bg-secondary text-secondary-foreground shadow-xs hover:bg-secondary/80",ghost:"hover:bg-accent hover:text-accent-foreground dark:hover:bg-accent/50",link:"text-primary underline-offset-4 hover:underline"},size:{default:"h-9 px-4 py-2 has-[>svg]:px-3",sm:"h-8 rounded-md gap-1.5 px-3 has-[>svg]:px-2.5",lg:"h-10 rounded-md px-6 has-[>svg]:px-4",icon:"size-9"}},defaultVariants:{variant:"default",size:"default"}});G.cva("inline-flex items-center justify-center rounded-md border px-2 py-0.5 text-xs font-medium w-fit whitespace-nowrap shrink-0 [&>svg]:size-3 gap-1 [&>svg]:pointer-events-none focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:ring-[3px] aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive transition-[color,box-shadow] overflow-hidden",{variants:{variant:{default:"border-transparent bg-primary text-primary-foreground [a&]:hover:bg-primary/90",secondary:"border-transparent bg-secondary text-secondary-foreground [a&]:hover:bg-secondary/90",destructive:"border-transparent bg-destructive text-white [a&]:hover:bg-destructive/90 focus-visible:ring-destructive/20 dark:focus-visible:ring-destructive/40 dark:bg-destructive/60",outline:"text-foreground [a&]:hover:bg-accent [a&]:hover:text-accent-foreground"}},defaultVariants:{variant:"default"}});N.createContext({});N.createContext({});N.createContext(null);function Do({displayName:r,value:n,...s}){return u.jsxRuntimeExports.jsxs("div",{className:`flex justify-between border-b pb-2 ${s.className}`,children:[u.jsxRuntimeExports.jsx("span",{className:"text-muted-foreground",children:r}),u.jsxRuntimeExports.jsx("span",{className:"font-medium",children:typeof n=="string"?u.jsxRuntimeExports.jsx(bs,{variant:"secondary",children:n}):n})]})}function Fl({lines:r,data:n,...s}){function c(l,d){return l===void 0?"":d.split(".").reduce((p,g)=>p&&p[g]!==void 0?p[g]:void 0,l)}return u.jsxRuntimeExports.jsx("div",{className:s.className,children:r.map(l=>u.jsxRuntimeExports.jsx(Do,{displayName:l.displayName,value:l.formatFunction&&n!==void 0?l.formatFunction(n,c(n,l.key)):c(n,l.key)},l.key))})}function Il({children:r,header:n,sidebar:s,showSidebar:c}){return u.jsxRuntimeExports.jsx("div",{className:"flex h-screen flex-col ",children:u.jsxRuntimeExports.jsxs("div",{className:"flex flex-1 overflow-hidden",children:[u.jsxRuntimeExports.jsx("div",{className:`transition-all duration-300 ease-in-out overflow-hidden ${c?"w-64 opacity-100":"w-0 opacity-0"}`,children:s}),u.jsxRuntimeExports.jsxs("div",{className:"flex flex-1 flex-col overflow-y-auto",children:[n,u.jsxRuntimeExports.jsx("main",{className:"flex-1 overflow-y-auto p-6",children:r})]})]})})}function Ml(r){return u.jsxRuntimeExports.jsx("div",{className:"h-full w-70 max-w-64 min-w-64 border-r border-r-gray-700",children:r.children})}function Vl({children:r,title:n}){return u.jsxRuntimeExports.jsxs("div",{className:"p-3",children:[u.jsxRuntimeExports.jsxs("div",{className:"flex items-center gap-3 mb-2",children:[u.jsxRuntimeExports.jsx("span",{className:"text-[10px] tracking-wide font-medium uppercase text-placeholder shrink-0 transition-opacity",children:n}),u.jsxRuntimeExports.jsx("div",{className:"flex-1 h-px"})]}),u.jsxRuntimeExports.jsx("div",{className:"relative flex flex-col gap-2",children:r})]})}function Wl({pageName:r,hiddenSidebar:n,children:s}){return u.jsxRuntimeExports.jsx("div",{className:"h-14 inset-x-0 border-b border-b-gray-700 bg-background",children:u.jsxRuntimeExports.jsxs("div",{className:"flex items-center justify-between",children:[u.jsxRuntimeExports.jsxs("div",{className:"flex items-center gap-8 pl-6",children:[u.jsxRuntimeExports.jsx(Q.PanelLeft,{className:"h-4 mt-1 cursor-pointer",onClick:n}),u.jsxRuntimeExports.jsx("h1",{className:"text-base font-medium",children:r})]}),u.jsxRuntimeExports.jsx("div",{className:"flex gap-4 items-center px-8 py-2 justify-between",children:s})]})})}exports.Button=u.Button;exports.buttonVariants=u.buttonVariants;Object.defineProperty(exports,"TZDate",{enumerable:!0,get:()=>ie.TZDate});Object.defineProperty(exports,"toast",{enumerable:!0,get:()=>Kn.toast});exports.Avatar=ts;exports.Badge=xt;exports.Calendar=fr;exports.CalendarDayButton=po;exports.Card=_i;exports.CardAction=Ni;exports.CardContent=Oi;exports.CardDescription=Ei;exports.CardFooter=Ci;exports.CardHeader=Si;exports.CardTitle=Ri;exports.ChartContainer=ns;exports.ChartLegend=is;exports.ChartLegendContent=ss;exports.ChartStyle=zo;exports.ChartTooltip=os;exports.ChartTooltipContent=as;exports.Checkbox=Ti;exports.Collapsible=Pi;exports.CollapsibleContent=$i;exports.CollapsibleTrigger=zi;exports.Combobox=Vi;exports.Command=Ot;exports.CommandDialog=Ii;exports.CommandEmpty=br;exports.CommandGroup=_t;exports.CommandInput=pr;exports.CommandItem=St;exports.CommandList=mr;exports.CommandSeparator=Ro;exports.CommandShortcut=Mi;exports.DataTable=da;exports.DataTableFacetedFilter=Wi;exports.DatePicker=ji;exports.DateRangePicker=wi;exports.DefaultDropdownMenuTrigger=sa;exports.DefaultLayoutBase=Il;exports.DetailsLine=Do;exports.DetailsList=Fl;exports.Dialog=xo;exports.DialogClose=Ai;exports.DialogContent=jo;exports.DialogDescription=So;exports.DialogFooter=Fi;exports.DialogHeader=wo;exports.DialogOverlay=ko;exports.DialogPortal=ho;exports.DialogTitle=_o;exports.DialogTrigger=Di;exports.DragHandle=fa;exports.DraggableRow=Zn;exports.DropdownMenu=nr;exports.DropdownMenuCheckboxItem=Bn;exports.DropdownMenuContent=or;exports.DropdownMenuGroup=Zo;exports.DropdownMenuItem=ea;exports.DropdownMenuLabel=ta;exports.DropdownMenuPortal=Qo;exports.DropdownMenuRadioGroup=qn;exports.DropdownMenuRadioItem=Qn;exports.DropdownMenuSeparator=ra;exports.DropdownMenuShortcut=na;exports.DropdownMenuSub=oa;exports.DropdownMenuSubContent=ia;exports.DropdownMenuSubTrigger=aa;exports.DropdownMenuTrigger=kt;exports.Form=Ui;exports.FormControl=Ji;exports.FormDescription=Hi;exports.FormField=Li;exports.FormItem=Yi;exports.FormLabel=Xi;exports.FormMessage=Gi;exports.HeaderBase=Wl;exports.Input=eo;exports.Label=ur;exports.Popover=Le;exports.PopoverAnchor=ki;exports.PopoverContent=Xe;exports.PopoverTrigger=Ye;exports.Select=to;exports.SelectContent=oo;exports.SelectGroup=la;exports.SelectItem=ao;exports.SelectLabel=ca;exports.SelectScrollDownButton=so;exports.SelectScrollUpButton=io;exports.SelectSeparator=ua;exports.SelectTrigger=no;exports.SelectValue=ro;exports.Separator=Eo;exports.Sidebar=Ml;exports.SidebarGroup=Vl;exports.Skeleton=Co;exports.Table=lo;exports.TableBody=uo;exports.TableCaption=ma;exports.TableCell=dr;exports.TableFooter=pa;exports.TableHead=fo;exports.TableHeader=co;exports.TableRow=jt;exports.Tabs=Bi;exports.TabsContent=Zi;exports.TabsList=qi;exports.TabsTrigger=Qi;exports.Textarea=es;exports.Toaster=Ki;exports.badgeVariants=go;exports.useFormField=Je;