@chaibuilder/sdk 2.1.2 → 2.1.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{CodeEditor-BG4oToVY.cjs → CodeEditor-Ca96GgCc.cjs} +1 -1
- package/dist/{CodeEditor-CdNhJvdd.js → CodeEditor-gWBq2ypP.js} +1 -1
- package/dist/{chai-theme-helpers-BpnwYsLZ.js → chai-theme-helpers-CVkLfKt7.js} +4 -5
- package/dist/chai-theme-helpers-GQ1UI3nD.cjs +22 -0
- package/dist/core.cjs +6 -6
- package/dist/core.js +4060 -7360
- package/dist/{plugin-D56-CF7U.js → plugin-DRtv2KR5.js} +1 -1
- package/dist/{plugin-PDQQ8m4D.cjs → plugin-uUPBh-_c.cjs} +1 -1
- package/dist/render.cjs +1 -1
- package/dist/render.js +3 -3
- package/dist/tailwind.cjs +1 -1
- package/dist/tailwind.js +1 -1
- package/dist/tooltip-BU2vOhlU.js +821 -0
- package/dist/tooltip-CUA6Xg5r.cjs +1 -0
- package/dist/ui.cjs +1 -1
- package/dist/ui.js +2 -2
- package/package.json +1 -1
- package/dist/chai-theme-helpers-D2bHv81c.cjs +0 -22
- package/dist/tooltip-CkYl0YhP.cjs +0 -1
- package/dist/tooltip-D9DF_nUo.js +0 -1900
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";const o=require("react/jsx-runtime"),tt=require("react"),at=require("@radix-ui/react-accordion"),x=require("@radix-ui/react-icons"),v=require("class-variance-authority"),ot=require("@radix-ui/react-alert-dialog"),P=require("@radix-ui/react-slot"),rt=require("@radix-ui/react-avatar"),m=require("cmdk"),st=require("@radix-ui/react-dialog"),nt=require("@radix-ui/react-dropdown-menu"),T=require("react-hook-form"),it=require("@radix-ui/react-label"),dt=require("@radix-ui/react-hover-card"),lt=require("@radix-ui/react-popover"),ct=require("@radix-ui/react-scroll-area"),mt=require("@radix-ui/react-separator"),pt=require("next-themes"),ut=require("sonner"),ft=require("@radix-ui/react-switch"),gt=require("@radix-ui/react-tabs"),xt=require("@radix-ui/react-tooltip"),bt=require("clsx"),yt=require("tailwind-merge");function p(e){const t=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const a in e)if(a!=="default"){const n=Object.getOwnPropertyDescriptor(e,a);Object.defineProperty(t,a,n.get?n:{enumerable:!0,get:()=>e[a]})}}return t.default=e,Object.freeze(t)}const s=p(tt),g=p(at),c=p(ot),y=p(rt),i=p(st),l=p(nt),F=p(it),j=p(dt),h=p(lt),f=p(ct),_=p(mt),R=p(ft),b=p(gt),N=p(xt),r=(...e)=>yt.twMerge(bt.clsx(e)),Nt=g.Root,M=s.forwardRef(({className:e,...t},a)=>o.jsx(g.Item,{ref:a,className:r("border-b",e),...t}));M.displayName="AccordionItem";const z=s.forwardRef(({className:e,children:t,...a},n)=>o.jsx(g.Header,{className:"flex",children:o.jsxs(g.Trigger,{ref:n,className:r("flex flex-1 items-center justify-between py-4 text-sm font-medium transition-all hover:underline [&[data-state=open]>svg]:rotate-180",e),...a,children:[t,a.hideArrow?null:o.jsx(x.ChevronDownIcon,{className:"h-4 w-4 shrink-0 text-muted-foreground transition-transform duration-200"})]})}));z.displayName=g.Trigger.displayName;const q=s.forwardRef(({className:e,children:t,...a},n)=>o.jsx(g.Content,{ref:n,className:r("text-sm data-[state=closed]:animate-accordion-up data-[state=open]:animate-accordion-down",e),...a,children:o.jsx("div",{className:"pb-4 pt-0",children:t})}));q.displayName=g.Content.displayName;const ht=v.cva("relative w-full rounded-lg border px-4 py-3 text-sm [&:has(svg)]:pl-11 [&>svg+div]:translate-y-[-3px] [&>svg]:absolute [&>svg]:left-4 [&>svg]:top-4 [&>svg]:text-foreground",{variants:{variant:{default:"bg-background text-foreground",destructive:"border-destructive/50 text-destructive dark:border-destructive [&>svg]:text-destructive"}},defaultVariants:{variant:"default"}}),H=s.forwardRef(({className:e,variant:t,...a},n)=>o.jsx("div",{ref:n,role:"alert",className:r(ht({variant:t}),e),...a}));H.displayName="Alert";const L=s.forwardRef(({className:e,...t},a)=>o.jsx("h5",{ref:a,className:r("mb-1 font-medium leading-none tracking-tight",e),...t}));L.displayName="AlertTitle";const O=s.forwardRef(({className:e,...t},a)=>o.jsx("div",{ref:a,className:r("text-sm [&_p]:leading-relaxed",e),...t}));O.displayName="AlertDescription";const D=v.cva("inline-flex items-center justify-center rounded-md text-sm font-medium transition-colors focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:pointer-events-none disabled:opacity-50",{variants:{variant:{default:"bg-primary text-primary-foreground shadow hover:bg-primary/90",destructive:"bg-destructive text-destructive-foreground shadow-sm hover:bg-destructive/90",outline:"border border-input bg-background shadow-sm hover:bg-accent hover:text-accent-foreground",secondary:"bg-secondary text-secondary-foreground shadow-sm hover:bg-secondary/80",ghost:"hover:bg-accent hover:text-accent-foreground",link:"text-primary underline-offset-4 hover:underline"},size:{default:"h-9 px-4 py-2",sm:"h-8 rounded-md px-3 text-xs",lg:"h-10 rounded-md px-8",icon:"h-9 w-9"}},defaultVariants:{variant:"default",size:"default"}}),V=s.forwardRef(({className:e,variant:t,size:a,asChild:n=!1,...d},u)=>{const C=n?P.Slot:"button";return o.jsx(C,{className:r(D({variant:t,size:a,className:e})),ref:u,...d})});V.displayName="Button";const vt=c.Root,wt=c.Trigger,G=({className:e,...t})=>o.jsx(c.Portal,{className:r(e),...t});G.displayName=c.Portal.displayName;const B=s.forwardRef(({className:e,...t},a)=>o.jsx(c.Overlay,{className:r("fixed inset-0 z-50 bg-background/80 backdrop-blur-sm data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0",e),...t,ref:a}));B.displayName=c.Overlay.displayName;const $=s.forwardRef(({className:e,...t},a)=>o.jsxs(G,{children:[o.jsx(B,{}),o.jsx(c.Content,{ref:a,className:r("fixed left-[50%] top-[50%] z-50 grid w-full max-w-lg translate-x-[-50%] translate-y-[-50%] gap-4 border bg-background p-6 shadow-lg duration-200 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[state=closed]:slide-out-to-left-1/2 data-[state=closed]:slide-out-to-top-[48%] data-[state=open]:slide-in-from-left-1/2 data-[state=open]:slide-in-from-top-[48%] sm:rounded-lg md:w-full",e),...t})]}));$.displayName=c.Content.displayName;const E=({className:e,...t})=>o.jsx("div",{className:r("flex flex-col space-y-2 text-center sm:text-left",e),...t});E.displayName="AlertDialogHeader";const J=({className:e,...t})=>o.jsx("div",{className:r("flex flex-col-reverse sm:flex-row sm:justify-end sm:space-x-2",e),...t});J.displayName="AlertDialogFooter";const K=s.forwardRef(({className:e,...t},a)=>o.jsx(c.Title,{ref:a,className:r("text-lg font-semibold",e),...t}));K.displayName=c.Title.displayName;const Q=s.forwardRef(({className:e,...t},a)=>o.jsx(c.Description,{ref:a,className:r("text-sm text-muted-foreground",e),...t}));Q.displayName=c.Description.displayName;const U=s.forwardRef(({className:e,...t},a)=>o.jsx(c.Action,{ref:a,className:r(D(),e),...t}));U.displayName=c.Action.displayName;const W=s.forwardRef(({className:e,...t},a)=>o.jsx(c.Cancel,{ref:a,className:r(D({variant:"outline"}),"mt-2 sm:mt-0",e),...t}));W.displayName=c.Cancel.displayName;const X=s.forwardRef(({className:e,...t},a)=>o.jsx(y.Root,{ref:a,className:r("relative flex h-10 w-10 shrink-0 overflow-hidden rounded-full",e),...t}));X.displayName=y.Root.displayName;const Y=s.forwardRef(({className:e,...t},a)=>o.jsx(y.Image,{ref:a,className:r("aspect-square h-full w-full",e),...t}));Y.displayName=y.Image.displayName;const Z=s.forwardRef(({className:e,...t},a)=>o.jsx(y.Fallback,{ref:a,className:r("flex h-full w-full items-center justify-center rounded-full bg-muted",e),...t}));Z.displayName=y.Fallback.displayName;const ee=v.cva("inline-flex items-center rounded-md border px-2.5 py-0.5 text-xs font-semibold transition-colors focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2",{variants:{variant:{default:"border-transparent bg-primary text-primary-foreground shadow hover:bg-primary/80",secondary:"border-transparent bg-secondary text-secondary-foreground hover:bg-secondary/80",destructive:"border-transparent bg-destructive text-destructive-foreground shadow hover:bg-destructive/80",outline:"text-foreground"}},defaultVariants:{variant:"default"}}),Ct=({className:e,variant:t,...a})=>o.jsx("div",{className:r(ee({variant:t}),e),...a}),te=s.forwardRef(({className:e,...t},a)=>o.jsx("div",{ref:a,className:r("rounded-xl border bg-card text-card-foreground shadow",e),...t}));te.displayName="Card";const ae=s.forwardRef(({className:e,...t},a)=>o.jsx("div",{ref:a,className:r("flex flex-col space-y-1.5 p-6",e),...t}));ae.displayName="CardHeader";const oe=s.forwardRef(({className:e,...t},a)=>o.jsx("h3",{ref:a,className:r("font-semibold leading-none tracking-tight",e),...t}));oe.displayName="CardTitle";const re=s.forwardRef(({className:e,...t},a)=>o.jsx("p",{ref:a,className:r("text-sm text-muted-foreground",e),...t}));re.displayName="CardDescription";const se=s.forwardRef(({className:e,...t},a)=>o.jsx("div",{ref:a,className:r("p-6 pt-0",e),...t}));se.displayName="CardContent";const ne=s.forwardRef(({className:e,...t},a)=>o.jsx("div",{ref:a,className:r(" flex items-center p-6 pt-0",e),...t}));ne.displayName="CardFooter";const ie=i.Root,jt=i.Trigger,de=({className:e,...t})=>o.jsx(i.Portal,{className:r(e),...t});de.displayName=i.Portal.displayName;const le=s.forwardRef(({className:e,...t},a)=>o.jsx(i.Overlay,{ref:a,className:r("fixed inset-0 z-50 bg-background/80 backdrop-blur-sm data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0",e),...t}));le.displayName=i.Overlay.displayName;const k=s.forwardRef(({className:e,children:t,...a},n)=>o.jsxs(de,{children:[o.jsx(le,{}),o.jsxs(i.Content,{ref:n,className:r("fixed left-[50%] top-[50%] z-[999] grid w-full max-w-lg translate-x-[-50%] translate-y-[-50%] gap-4 border bg-background p-6 shadow-lg duration-200 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[state=closed]:slide-out-to-left-1/2 data-[state=closed]:slide-out-to-top-[48%] data-[state=open]:slide-in-from-left-1/2 data-[state=open]:slide-in-from-top-[48%] sm:rounded-lg md:w-full",e),...a,children:[t,o.jsxs(i.Close,{className:"absolute right-4 top-4 rounded-sm opacity-70 ring-offset-background transition-opacity hover:opacity-100 focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:pointer-events-none data-[state=open]:bg-accent data-[state=open]:text-muted-foreground",children:[o.jsx(x.Cross2Icon,{className:"h-4 w-4"}),o.jsx("span",{className:"sr-only",children:"Close"})]})]})]}));k.displayName=i.Content.displayName;const ce=({className:e,...t})=>o.jsx("div",{className:r("flex flex-col space-y-1.5 text-center sm:text-left",e),...t});ce.displayName="DialogHeader";const me=({className:e,...t})=>o.jsx("div",{className:r("flex flex-col-reverse sm:flex-row sm:justify-end sm:space-x-2",e),...t});me.displayName="DialogFooter";const pe=s.forwardRef(({className:e,...t},a)=>o.jsx(i.Title,{ref:a,className:r("text-lg font-semibold leading-none tracking-tight",e),...t}));pe.displayName=i.Title.displayName;const ue=s.forwardRef(({className:e,...t},a)=>o.jsx(i.Description,{ref:a,className:r("text-sm text-muted-foreground",e),...t}));ue.displayName=i.Description.displayName;const S=s.forwardRef(({className:e,...t},a)=>o.jsx(m.Command,{ref:a,className:r("flex h-full w-full flex-col overflow-hidden rounded-md bg-popover text-popover-foreground",e),...t}));S.displayName=m.Command.displayName;const Dt=({children:e,...t})=>o.jsx(ie,{...t,children:o.jsx(k,{className:"overflow-hidden p-0",children:o.jsx(S,{className:"[&_[cmdk-group-heading]]:px-2 [&_[cmdk-group-heading]]:font-medium [&_[cmdk-group-heading]]:text-muted-foreground [&_[cmdk-group]:not([hidden])_~[cmdk-group]]:pt-0 [&_[cmdk-group]]:px-2 [&_[cmdk-input-wrapper]_svg]:h-5 [&_[cmdk-input-wrapper]_svg]:w-5 [&_[cmdk-input]]:h-12 [&_[cmdk-item]]:px-2 [&_[cmdk-item]]:py-3 [&_[cmdk-item]_svg]:h-5 [&_[cmdk-item]_svg]:w-5",children:e})})}),fe=s.forwardRef(({className:e,...t},a)=>o.jsxs("div",{className:"flex items-center border-b px-3","cmdk-input-wrapper":"",children:[o.jsx(x.MagnifyingGlassIcon,{className:"mr-2 h-4 w-4 shrink-0 opacity-50"}),o.jsx(m.Command.Input,{ref:a,className:r("flex h-10 w-full rounded-md bg-transparent py-3 text-sm outline-none placeholder:text-muted-foreground disabled:cursor-not-allowed disabled:opacity-50",e),...t})]}));fe.displayName=m.Command.Input.displayName;const ge=s.forwardRef(({className:e,...t},a)=>o.jsx(m.Command.List,{ref:a,className:r("max-h-[300px] overflow-y-auto overflow-x-hidden",e),...t}));ge.displayName=m.Command.List.displayName;const xe=s.forwardRef((e,t)=>o.jsx(m.Command.Empty,{ref:t,className:"py-6 text-center text-sm",...e}));xe.displayName=m.Command.Empty.displayName;const be=s.forwardRef(({className:e,...t},a)=>o.jsx(m.Command.Group,{ref:a,className:r("overflow-hidden p-1 text-foreground [&_[cmdk-group-heading]]:px-2 [&_[cmdk-group-heading]]:py-1.5 [&_[cmdk-group-heading]]:text-xs [&_[cmdk-group-heading]]:font-medium [&_[cmdk-group-heading]]:text-muted-foreground",e),...t}));be.displayName=m.Command.Group.displayName;const ye=s.forwardRef(({className:e,...t},a)=>o.jsx(m.Command.Separator,{ref:a,className:r("-mx-1 h-px bg-border",e),...t}));ye.displayName=m.Command.Separator.displayName;const Ne=s.forwardRef(({className:e,...t},a)=>o.jsx(m.Command.Item,{ref:a,className:r("relative flex cursor-default select-none items-center rounded-sm px-2 py-1.5 text-sm outline-none aria-selected:bg-accent aria-selected:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",e),...t}));Ne.displayName=m.Command.Item.displayName;const he=({className:e,...t})=>o.jsx("span",{className:r("ml-auto text-xs tracking-widest text-muted-foreground",e),...t});he.displayName="CommandShortcut";const Rt=l.Root,Tt=l.Trigger,kt=l.Group,St=l.Portal,At=l.Sub,It=l.RadioGroup,ve=s.forwardRef(({className:e,inset:t,children:a,...n},d)=>o.jsxs(l.SubTrigger,{ref:d,className:r("flex cursor-default select-none items-center rounded-sm px-2 py-1.5 text-sm outline-none focus:bg-accent data-[state=open]:bg-accent",t&&"pl-8",e),...n,children:[a,o.jsx(x.ChevronRightIcon,{className:"ml-auto h-4 w-4"})]}));ve.displayName=l.SubTrigger.displayName;const we=s.forwardRef(({className:e,...t},a)=>o.jsx(l.SubContent,{ref:a,className:r("z-50 min-w-[8rem] overflow-hidden rounded-md border bg-popover p-1 text-popover-foreground shadow-lg data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",e),...t}));we.displayName=l.SubContent.displayName;const Ce=s.forwardRef(({className:e,sideOffset:t=4,...a},n)=>o.jsx(l.Portal,{children:o.jsx(l.Content,{ref:n,sideOffset:t,className:r("z-50 min-w-[8rem] overflow-hidden rounded-md border bg-popover p-1 text-popover-foreground shadow-md","data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",e),...a})}));Ce.displayName=l.Content.displayName;const je=s.forwardRef(({className:e,inset:t,...a},n)=>o.jsx(l.Item,{ref:n,className:r("relative flex cursor-default select-none items-center rounded-sm px-2 py-1.5 text-sm outline-none transition-colors focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",t&&"pl-8",e),...a}));je.displayName=l.Item.displayName;const De=s.forwardRef(({className:e,children:t,checked:a,...n},d)=>o.jsxs(l.CheckboxItem,{ref:d,className:r("relative flex cursor-default select-none items-center rounded-sm py-1.5 pl-8 pr-2 text-sm outline-none transition-colors focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",e),checked:a,...n,children:[o.jsx("span",{className:"absolute left-2 flex h-3.5 w-3.5 items-center justify-center",children:o.jsx(l.ItemIndicator,{children:o.jsx(x.CheckIcon,{className:"h-4 w-4"})})}),t]}));De.displayName=l.CheckboxItem.displayName;const Re=s.forwardRef(({className:e,children:t,...a},n)=>o.jsxs(l.RadioItem,{ref:n,className:r("relative flex cursor-default select-none items-center rounded-sm py-1.5 pl-8 pr-2 text-sm outline-none transition-colors focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",e),...a,children:[o.jsx("span",{className:"absolute left-2 flex h-3.5 w-3.5 items-center justify-center",children:o.jsx(l.ItemIndicator,{children:o.jsx(x.DotFilledIcon,{className:"h-4 w-4 fill-current"})})}),t]}));Re.displayName=l.RadioItem.displayName;const Te=s.forwardRef(({className:e,inset:t,...a},n)=>o.jsx(l.Label,{ref:n,className:r("px-2 py-1.5 text-sm font-semibold",t&&"pl-8",e),...a}));Te.displayName=l.Label.displayName;const ke=s.forwardRef(({className:e,...t},a)=>o.jsx(l.Separator,{ref:a,className:r("-mx-1 my-1 h-px bg-muted",e),...t}));ke.displayName=l.Separator.displayName;const Se=({className:e,...t})=>o.jsx("span",{className:r("ml-auto text-xs tracking-widest opacity-60",e),...t});Se.displayName="DropdownMenuShortcut";const Pt=v.cva("text-sm font-medium leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70"),A=s.forwardRef(({className:e,...t},a)=>o.jsx(F.Root,{ref:a,className:r(Pt(),e),...t}));A.displayName=F.Root.displayName;const Ft=T.FormProvider,Ae=s.createContext({}),_t=({...e})=>o.jsx(Ae.Provider,{value:{name:e.name},children:o.jsx(T.Controller,{...e})}),w=()=>{const e=s.useContext(Ae),t=s.useContext(Ie),{getFieldState:a,formState:n}=T.useFormContext(),d=a(e.name,n);if(!e)throw new Error("useFormField should be used within <FormField>");const{id:u}=t;return{id:u,name:e.name,formItemId:`${u}-form-item`,formDescriptionId:`${u}-form-item-description`,formMessageId:`${u}-form-item-message`,...d}},Ie=s.createContext({}),Pe=s.forwardRef(({className:e,...t},a)=>{const n=s.useId();return o.jsx(Ie.Provider,{value:{id:n},children:o.jsx("div",{ref:a,className:r("space-y-2",e),...t})})});Pe.displayName="FormItem";const Fe=s.forwardRef(({className:e,...t},a)=>{const{error:n,formItemId:d}=w();return o.jsx(A,{ref:a,className:r(n&&"text-destructive",e),htmlFor:d,...t})});Fe.displayName="FormLabel";const _e=s.forwardRef(({...e},t)=>{const{error:a,formItemId:n,formDescriptionId:d,formMessageId:u}=w();return o.jsx(P.Slot,{ref:t,id:n,"aria-describedby":a?`${d} ${u}`:`${d}`,"aria-invalid":!!a,...e})});_e.displayName="FormControl";const Me=s.forwardRef(({className:e,...t},a)=>{const{formDescriptionId:n}=w();return o.jsx("p",{ref:a,id:n,className:r("text-sm text-muted-foreground",e),...t})});Me.displayName="FormDescription";const ze=s.forwardRef(({className:e,children:t,...a},n)=>{const{error:d,formMessageId:u}=w(),C=d?String(d==null?void 0:d.message):t;return C?o.jsx("p",{ref:n,id:u,className:r("text-sm font-medium text-destructive",e),...a,children:C}):null});ze.displayName="FormMessage";const Mt=j.Root,zt=j.Trigger,qe=s.forwardRef(({className:e,align:t="center",sideOffset:a=4,...n},d)=>o.jsx(j.Content,{ref:d,align:t,sideOffset:a,className:r("z-50 w-64 rounded-md border bg-popover p-4 text-popover-foreground shadow-md outline-none data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",e),...n}));qe.displayName=j.Content.displayName;const He=s.forwardRef(({className:e,type:t,...a},n)=>o.jsx("input",{type:t,className:r("flex h-9 w-full rounded-md border border-border bg-background px-3 py-1 text-sm shadow-sm transition-colors file:border-0 file:bg-transparent file:text-sm file:font-medium placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:cursor-not-allowed disabled:opacity-50",e),ref:n,...a,autoCapitalize:"off",autoCorrect:"off",spellCheck:"false"}));He.displayName="Input";const qt=h.Root,Ht=h.Trigger,Le=s.forwardRef(({className:e,align:t="center",sideOffset:a=4,...n},d)=>o.jsx(h.Portal,{children:o.jsx(h.Content,{ref:d,align:t,sideOffset:a,className:r("z-50 w-72 rounded-md border bg-popover p-4 text-popover-foreground shadow-md outline-none data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",e),...n})}));Le.displayName=h.Content.displayName;const Oe=s.forwardRef(({className:e,children:t,...a},n)=>o.jsxs(f.Root,{ref:n,className:r("relative overflow-hidden",e),...a,children:[o.jsx(f.Viewport,{className:"h-full w-full rounded-[inherit]",children:t}),o.jsx(I,{}),o.jsx(f.Corner,{})]}));Oe.displayName=f.Root.displayName;const I=s.forwardRef(({className:e,orientation:t="vertical",...a},n)=>o.jsx(f.ScrollAreaScrollbar,{ref:n,orientation:t,className:r("flex touch-none select-none transition-colors",t==="vertical"&&"h-full w-2.5 border-l border-l-transparent p-[1px]",t==="horizontal"&&"h-2.5 border-t border-t-transparent p-[1px]",e),...a,children:o.jsx(f.ScrollAreaThumb,{className:"relative flex-1 rounded-full bg-border"})}));I.displayName=f.ScrollAreaScrollbar.displayName;const Ve=s.forwardRef(({className:e,orientation:t="horizontal",decorative:a=!0,...n},d)=>o.jsx(_.Root,{ref:d,decorative:a,orientation:t,className:r("shrink-0 bg-border",t==="horizontal"?"h-[1px] w-full":"h-full w-[1px]",e),...n}));Ve.displayName=_.Root.displayName;const Lt=i.Root,Ot=i.Trigger,Vt=i.Close,Ge=({className:e,...t})=>o.jsx(i.Portal,{className:r(e),...t});Ge.displayName=i.Portal.displayName;const Be=s.forwardRef(({className:e,...t},a)=>o.jsx(i.Overlay,{className:r("fixed inset-0 z-50 bg-background/80 backdrop-blur-sm data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0",e),...t,ref:a}));Be.displayName=i.Overlay.displayName;const Gt=v.cva("fixed z-50 gap-4 bg-background p-6 shadow-lg transition ease-in-out data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:duration-300 data-[state=open]:duration-500",{variants:{side:{top:"inset-x-0 top-0 border-b data-[state=closed]:slide-out-to-top data-[state=open]:slide-in-from-top",bottom:"inset-x-0 bottom-0 border-t data-[state=closed]:slide-out-to-bottom data-[state=open]:slide-in-from-bottom",left:"inset-y-0 left-0 h-full w-3/4 border-r data-[state=closed]:slide-out-to-left data-[state=open]:slide-in-from-left sm:max-w-sm",right:"inset-y-0 right-0 h-full w-3/4 border-l data-[state=closed]:slide-out-to-right data-[state=open]:slide-in-from-right sm:max-w-sm"}},defaultVariants:{side:"right"}}),$e=s.forwardRef(({side:e="right",className:t,children:a,...n},d)=>o.jsxs(Ge,{children:[o.jsx(Be,{}),o.jsxs(i.Content,{ref:d,className:r(Gt({side:e}),t),...n,children:[a,o.jsxs(i.Close,{className:"absolute right-4 top-4 rounded-sm opacity-70 ring-offset-background transition-opacity hover:opacity-100 focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:pointer-events-none data-[state=open]:bg-secondary",children:[o.jsx(x.Cross2Icon,{className:"h-4 w-4"}),o.jsx("span",{className:"sr-only",children:"Close"})]})]})]}));$e.displayName=i.Content.displayName;const Ee=({className:e,...t})=>o.jsx("div",{className:r("flex flex-col space-y-2 text-center sm:text-left",e),...t});Ee.displayName="SheetHeader";const Je=({className:e,...t})=>o.jsx("div",{className:r("flex flex-col-reverse sm:flex-row sm:justify-end sm:space-x-2",e),...t});Je.displayName="SheetFooter";const Ke=s.forwardRef(({className:e,...t},a)=>o.jsx(i.Title,{ref:a,className:r("text-lg font-semibold text-foreground",e),...t}));Ke.displayName=i.Title.displayName;const Qe=s.forwardRef(({className:e,...t},a)=>o.jsx(i.Description,{ref:a,className:r("text-sm text-muted-foreground",e),...t}));Qe.displayName=i.Description.displayName;const Bt=({className:e,...t})=>o.jsx("div",{className:r("animate-pulse rounded-md bg-primary/10",e),...t}),$t=({...e})=>{const{theme:t="system"}=pt.useTheme();return o.jsx(ut.Toaster,{theme:t,className:"toaster group",toastOptions:{classNames:{toast:"group toast group-[.toaster]:bg-background group-[.toaster]:text-foreground group-[.toaster]:border-border group-[.toaster]:shadow-lg",description:"group-[.toast]:text-muted-foreground",actionButton:"group-[.toast]:bg-primary group-[.toast]:text-primary-foreground",cancelButton:"group-[.toast]:bg-muted group-[.toast]:text-muted-foreground"}},...e})},Ue=s.forwardRef(({className:e,...t},a)=>o.jsx(R.Root,{className:r("peer inline-flex h-[24px] w-[44px] shrink-0 cursor-pointer items-center rounded-full border-2 border-transparent transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-slate-400 focus-visible:ring-offset-2 focus-visible:ring-offset-white disabled:cursor-not-allowed disabled:opacity-50 data-[state=checked]:bg-slate-900 data-[state=unchecked]:bg-slate-200 dark:focus-visible:ring-slate-800 dark:focus-visible:ring-offset-slate-950 dark:data-[state=checked]:bg-slate-50 dark:data-[state=unchecked]:bg-slate-800",e),...t,ref:a,children:o.jsx(R.Thumb,{className:r("pointer-events-none block h-5 w-5 rounded-full bg-white shadow-lg ring-0 transition-transform data-[state=checked]:translate-x-5 data-[state=unchecked]:translate-x-0 dark:bg-slate-950")})}));Ue.displayName=R.Root.displayName;const Et=b.Root,We=s.forwardRef(({className:e,...t},a)=>o.jsx(b.List,{ref:a,className:r("inline-flex h-9 items-center justify-center rounded-lg bg-muted p-1 text-muted-foreground",e),...t}));We.displayName=b.List.displayName;const Xe=s.forwardRef(({className:e,...t},a)=>o.jsx(b.Trigger,{ref:a,className:r("inline-flex items-center justify-center whitespace-nowrap rounded-md px-3 py-1 text-sm font-medium ring-offset-background transition-all focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50 data-[state=active]:bg-background data-[state=active]:text-foreground data-[state=active]:shadow",e),...t}));Xe.displayName=b.Trigger.displayName;const Ye=s.forwardRef(({className:e,...t},a)=>o.jsx(b.Content,{ref:a,className:r("mt-2 ring-offset-background focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2",e),...t}));Ye.displayName=b.Content.displayName;const Ze=s.forwardRef(({className:e,...t},a)=>o.jsx("textarea",{className:r("flex min-h-[60px] w-full rounded-md border border-input bg-transparent px-3 py-2 text-sm shadow-sm placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:cursor-not-allowed disabled:opacity-50",e),ref:a,...t,autoCapitalize:"off",autoCorrect:"off",spellCheck:"false"}));Ze.displayName="Textarea";const Jt=N.Portal,Kt=N.Provider,Qt=N.Root,Ut=N.Trigger,et=s.forwardRef(({className:e,sideOffset:t=4,...a},n)=>o.jsx(N.Content,{ref:n,sideOffset:t,className:r("z-50 overflow-hidden rounded-md bg-primary px-3 py-1.5 text-xs text-primary-foreground animate-in fade-in-0 zoom-in-95 data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",e),...a}));et.displayName=N.Content.displayName;exports.Accordion=Nt;exports.AccordionContent=q;exports.AccordionItem=M;exports.AccordionTrigger=z;exports.Alert=H;exports.AlertDescription=O;exports.AlertDialog=vt;exports.AlertDialogAction=U;exports.AlertDialogCancel=W;exports.AlertDialogContent=$;exports.AlertDialogDescription=Q;exports.AlertDialogFooter=J;exports.AlertDialogHeader=E;exports.AlertDialogTitle=K;exports.AlertDialogTrigger=wt;exports.AlertTitle=L;exports.Avatar=X;exports.AvatarFallback=Z;exports.AvatarImage=Y;exports.Badge=Ct;exports.Button=V;exports.Card=te;exports.CardContent=se;exports.CardDescription=re;exports.CardFooter=ne;exports.CardHeader=ae;exports.CardTitle=oe;exports.Command=S;exports.CommandDialog=Dt;exports.CommandEmpty=xe;exports.CommandGroup=be;exports.CommandInput=fe;exports.CommandItem=Ne;exports.CommandList=ge;exports.CommandSeparator=ye;exports.CommandShortcut=he;exports.Dialog=ie;exports.DialogContent=k;exports.DialogDescription=ue;exports.DialogFooter=me;exports.DialogHeader=ce;exports.DialogTitle=pe;exports.DialogTrigger=jt;exports.DropdownMenu=Rt;exports.DropdownMenuCheckboxItem=De;exports.DropdownMenuContent=Ce;exports.DropdownMenuGroup=kt;exports.DropdownMenuItem=je;exports.DropdownMenuLabel=Te;exports.DropdownMenuPortal=St;exports.DropdownMenuRadioGroup=It;exports.DropdownMenuRadioItem=Re;exports.DropdownMenuSeparator=ke;exports.DropdownMenuShortcut=Se;exports.DropdownMenuSub=At;exports.DropdownMenuSubContent=we;exports.DropdownMenuSubTrigger=ve;exports.DropdownMenuTrigger=Tt;exports.Form=Ft;exports.FormControl=_e;exports.FormDescription=Me;exports.FormField=_t;exports.FormItem=Pe;exports.FormLabel=Fe;exports.FormMessage=ze;exports.HoverCard=Mt;exports.HoverCardContent=qe;exports.HoverCardTrigger=zt;exports.Input=He;exports.Label=A;exports.Popover=qt;exports.PopoverContent=Le;exports.PopoverTrigger=Ht;exports.ScrollArea=Oe;exports.ScrollBar=I;exports.Separator=Ve;exports.Sheet=Lt;exports.SheetClose=Vt;exports.SheetContent=$e;exports.SheetDescription=Qe;exports.SheetFooter=Je;exports.SheetHeader=Ee;exports.SheetTitle=Ke;exports.SheetTrigger=Ot;exports.Skeleton=Bt;exports.Switch=Ue;exports.Tabs=Et;exports.TabsContent=Ye;exports.TabsList=We;exports.TabsTrigger=Xe;exports.Textarea=Ze;exports.Toaster=$t;exports.Tooltip=Qt;exports.TooltipContent=et;exports.TooltipPortal=Jt;exports.TooltipProvider=Kt;exports.TooltipTrigger=Ut;exports.badgeVariants=ee;exports.buttonVariants=D;exports.cn=r;exports.useFormField=w;
|
package/dist/ui.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./tooltip-CkYl0YhP.cjs"),r=require("react/jsx-runtime"),R=require("react"),F=require("@radix-ui/react-context-menu"),m=require("@radix-ui/react-icons"),P=require("@radix-ui/react-select"),k=require("@radix-ui/react-slider"),L=require("@radix-ui/react-toggle"),G=require("class-variance-authority");function u(t){const a=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(t){for(const o in t)if(o!=="default"){const i=Object.getOwnPropertyDescriptor(t,o);Object.defineProperty(a,o,i.get?i:{enumerable:!0,get:()=>t[o]})}}return a.default=t,Object.freeze(a)}const d=u(R),n=u(F),s=u(P),c=u(k),p=u(L),H=n.Root,z=n.Trigger,V=n.Group,_=n.Portal,q=n.Sub,B=n.RadioGroup,g=d.forwardRef(({className:t,inset:a,children:o,...i},l)=>r.jsxs(n.SubTrigger,{ref:l,className:e.cn("flex cursor-default select-none items-center rounded-sm px-2 py-1.5 text-sm outline-none focus:bg-accent focus:text-accent-foreground data-[state=open]:bg-accent data-[state=open]:text-accent-foreground",a&&"pl-8",t),...i,children:[o,r.jsx(m.ChevronRightIcon,{className:"ml-auto h-4 w-4"})]}));g.displayName=n.SubTrigger.displayName;const f=d.forwardRef(({className:t,...a},o)=>r.jsx(n.SubContent,{ref:o,className:e.cn("z-50 min-w-[8rem] overflow-hidden rounded-md border bg-popover p-1 text-popover-foreground shadow-lg data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",t),...a}));f.displayName=n.SubContent.displayName;const x=d.forwardRef(({className:t,...a},o)=>r.jsx(n.Portal,{children:r.jsx(n.Content,{ref:o,className:e.cn("z-50 min-w-[8rem] overflow-hidden rounded-md border bg-popover p-1 text-popover-foreground shadow-md data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",t),...a})}));x.displayName=n.Content.displayName;const b=d.forwardRef(({className:t,inset:a,...o},i)=>r.jsx(n.Item,{ref:i,className:e.cn("relative flex cursor-default select-none items-center rounded-sm px-2 py-1.5 text-sm outline-none focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",a&&"pl-8",t),...o}));b.displayName=n.Item.displayName;const C=d.forwardRef(({className:t,children:a,checked:o,...i},l)=>r.jsxs(n.CheckboxItem,{ref:l,className:e.cn("relative flex cursor-default select-none items-center rounded-sm py-1.5 pl-8 pr-2 text-sm outline-none focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",t),checked:o,...i,children:[r.jsx("span",{className:"absolute left-2 flex h-3.5 w-3.5 items-center justify-center",children:r.jsx(n.ItemIndicator,{children:r.jsx(m.CheckIcon,{className:"h-4 w-4"})})}),a]}));C.displayName=n.CheckboxItem.displayName;const h=d.forwardRef(({className:t,children:a,...o},i)=>r.jsxs(n.RadioItem,{ref:i,className:e.cn("relative flex cursor-default select-none items-center rounded-sm py-1.5 pl-8 pr-2 text-sm outline-none focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",t),...o,children:[r.jsx("span",{className:"absolute left-2 flex h-3.5 w-3.5 items-center justify-center",children:r.jsx(n.ItemIndicator,{children:r.jsx(m.DotFilledIcon,{className:"h-4 w-4 fill-current"})})}),a]}));h.displayName=n.RadioItem.displayName;const S=d.forwardRef(({className:t,inset:a,...o},i)=>r.jsx(n.Label,{ref:i,className:e.cn("px-2 py-1.5 text-sm font-semibold text-foreground",a&&"pl-8",t),...o}));S.displayName=n.Label.displayName;const w=d.forwardRef(({className:t,...a},o)=>r.jsx(n.Separator,{ref:o,className:e.cn("-mx-1 my-1 h-px bg-border",t),...a}));w.displayName=n.Separator.displayName;const D=({className:t,...a})=>r.jsx("span",{className:e.cn("ml-auto text-xs tracking-widest text-muted-foreground",t),...a});D.displayName="ContextMenuShortcut";const O=s.Root,E=s.Group,J=s.Value,T=d.forwardRef(({className:t,children:a,...o},i)=>r.jsxs(s.Trigger,{ref:i,className:e.cn("flex h-9 w-full items-center justify-between rounded-md border border-input bg-transparent px-3 py-2 text-sm shadow-sm ring-offset-background placeholder:text-muted-foreground focus:outline-none focus:ring-1 focus:ring-ring disabled:cursor-not-allowed disabled:opacity-50",t),...o,children:[a,r.jsx(s.Icon,{asChild:!0,children:r.jsx(m.CaretSortIcon,{className:"h-4 w-4 opacity-50"})})]}));T.displayName=s.Trigger.displayName;const v=d.forwardRef(({className:t,children:a,position:o="popper",...i},l)=>r.jsx(s.Portal,{children:r.jsx(s.Content,{ref:l,className:e.cn("relative z-50 min-w-[8rem] overflow-hidden rounded-md border bg-popover text-popover-foreground shadow-md data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",o==="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",t),position:o,...i,children:r.jsx(s.Viewport,{className:e.cn("p-1",o==="popper"&&"h-[var(--radix-select-trigger-height)] w-full min-w-[var(--radix-select-trigger-width)]"),children:a})})}));v.displayName=s.Content.displayName;const y=d.forwardRef(({className:t,...a},o)=>r.jsx(s.Label,{ref:o,className:e.cn("px-2 py-1.5 text-sm font-semibold",t),...a}));y.displayName=s.Label.displayName;const M=d.forwardRef(({className:t,children:a,...o},i)=>r.jsxs(s.Item,{ref:i,className:e.cn("relative flex w-full cursor-default select-none items-center rounded-sm py-1.5 pl-2 pr-8 text-sm outline-none focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",t),...o,children:[r.jsx("span",{className:"absolute right-2 flex h-3.5 w-3.5 items-center justify-center",children:r.jsx(s.ItemIndicator,{children:r.jsx(m.CheckIcon,{className:"h-4 w-4"})})}),r.jsx(s.ItemText,{children:a})]}));M.displayName=s.Item.displayName;const N=d.forwardRef(({className:t,...a},o)=>r.jsx(s.Separator,{ref:o,className:e.cn("-mx-1 my-1 h-px bg-muted",t),...a}));N.displayName=s.Separator.displayName;const I=d.forwardRef(({className:t,...a},o)=>r.jsxs(c.Root,{ref:o,className:e.cn("relative flex w-full touch-none select-none items-center",t),...a,children:[r.jsx(c.Track,{className:"relative h-1.5 w-full grow overflow-hidden rounded-full bg-primary/20",children:r.jsx(c.Range,{className:"absolute h-full bg-primary"})}),r.jsx(c.Thumb,{className:"block h-4 w-4 rounded-full border border-primary/50 bg-background shadow transition-colors focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:pointer-events-none disabled:opacity-50"})]}));I.displayName=c.Root.displayName;const j=G.cva("inline-flex items-center justify-center rounded-md text-sm font-medium ring-offset-background transition-colors hover:bg-muted hover:text-muted-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50 data-[state=on]:bg-accent data-[state=on]:text-accent-foreground",{variants:{variant:{default:"bg-transparent",outline:"border border-input bg-transparent hover:bg-accent hover:text-accent-foreground"},size:{default:"h-10 px-3",sm:"h-9 px-2.5",lg:"h-11 px-5"}},defaultVariants:{variant:"default",size:"default"}}),A=d.forwardRef(({className:t,variant:a,size:o,...i},l)=>r.jsx(p.Root,{ref:l,className:e.cn(j({variant:a,size:o,className:t})),...i}));A.displayName=p.Root.displayName;exports.Accordion=e.Accordion;exports.AccordionContent=e.AccordionContent;exports.AccordionItem=e.AccordionItem;exports.AccordionTrigger=e.AccordionTrigger;exports.Alert=e.Alert;exports.AlertDescription=e.AlertDescription;exports.AlertDialog=e.AlertDialog;exports.AlertDialogAction=e.AlertDialogAction;exports.AlertDialogCancel=e.AlertDialogCancel;exports.AlertDialogContent=e.AlertDialogContent;exports.AlertDialogDescription=e.AlertDialogDescription;exports.AlertDialogFooter=e.AlertDialogFooter;exports.AlertDialogHeader=e.AlertDialogHeader;exports.AlertDialogTitle=e.AlertDialogTitle;exports.AlertDialogTrigger=e.AlertDialogTrigger;exports.AlertTitle=e.AlertTitle;exports.Avatar=e.Avatar;exports.AvatarFallback=e.AvatarFallback;exports.AvatarImage=e.AvatarImage;exports.Badge=e.Badge;exports.Button=e.Button;exports.Card=e.Card;exports.CardContent=e.CardContent;exports.CardDescription=e.CardDescription;exports.CardFooter=e.CardFooter;exports.CardHeader=e.CardHeader;exports.CardTitle=e.CardTitle;exports.Command=e.Command;exports.CommandDialog=e.CommandDialog;exports.CommandEmpty=e.CommandEmpty;exports.CommandGroup=e.CommandGroup;exports.CommandInput=e.CommandInput;exports.CommandItem=e.CommandItem;exports.CommandList=e.CommandList;exports.CommandSeparator=e.CommandSeparator;exports.CommandShortcut=e.CommandShortcut;exports.Dialog=e.Dialog;exports.DialogContent=e.DialogContent;exports.DialogDescription=e.DialogDescription;exports.DialogFooter=e.DialogFooter;exports.DialogHeader=e.DialogHeader;exports.DialogTitle=e.DialogTitle;exports.DialogTrigger=e.DialogTrigger;exports.DropdownMenu=e.DropdownMenu;exports.DropdownMenuCheckboxItem=e.DropdownMenuCheckboxItem;exports.DropdownMenuContent=e.DropdownMenuContent;exports.DropdownMenuGroup=e.DropdownMenuGroup;exports.DropdownMenuItem=e.DropdownMenuItem;exports.DropdownMenuLabel=e.DropdownMenuLabel;exports.DropdownMenuPortal=e.DropdownMenuPortal;exports.DropdownMenuRadioGroup=e.DropdownMenuRadioGroup;exports.DropdownMenuRadioItem=e.DropdownMenuRadioItem;exports.DropdownMenuSeparator=e.DropdownMenuSeparator;exports.DropdownMenuShortcut=e.DropdownMenuShortcut;exports.DropdownMenuSub=e.DropdownMenuSub;exports.DropdownMenuSubContent=e.DropdownMenuSubContent;exports.DropdownMenuSubTrigger=e.DropdownMenuSubTrigger;exports.DropdownMenuTrigger=e.DropdownMenuTrigger;exports.Form=e.Form;exports.FormControl=e.FormControl;exports.FormDescription=e.FormDescription;exports.FormField=e.FormField;exports.FormItem=e.FormItem;exports.FormLabel=e.FormLabel;exports.FormMessage=e.FormMessage;exports.HoverCard=e.HoverCard;exports.HoverCardContent=e.HoverCardContent;exports.HoverCardTrigger=e.HoverCardTrigger;exports.Input=e.Input;exports.Label=e.Label;exports.Popover=e.Popover;exports.PopoverContent=e.PopoverContent;exports.PopoverTrigger=e.PopoverTrigger;exports.ScrollArea=e.ScrollArea;exports.ScrollBar=e.ScrollBar;exports.Separator=e.Separator;exports.Sheet=e.Sheet;exports.SheetClose=e.SheetClose;exports.SheetContent=e.SheetContent;exports.SheetDescription=e.SheetDescription;exports.SheetFooter=e.SheetFooter;exports.SheetHeader=e.SheetHeader;exports.SheetTitle=e.SheetTitle;exports.SheetTrigger=e.SheetTrigger;exports.Skeleton=e.Skeleton;exports.Switch=e.Switch;exports.Tabs=e.Tabs;exports.TabsContent=e.TabsContent;exports.TabsList=e.TabsList;exports.TabsTrigger=e.TabsTrigger;exports.Textarea=e.Textarea;exports.Toaster=e.Toaster;exports.Tooltip=e.Tooltip;exports.TooltipContent=e.TooltipContent;exports.TooltipPortal=e.TooltipPortal;exports.TooltipProvider=e.TooltipProvider;exports.TooltipTrigger=e.TooltipTrigger;exports.badgeVariants=e.badgeVariants;exports.buttonVariants=e.buttonVariants;exports.useFormField=e.useFormField;exports.ContextMenu=H;exports.ContextMenuCheckboxItem=C;exports.ContextMenuContent=x;exports.ContextMenuGroup=V;exports.ContextMenuItem=b;exports.ContextMenuLabel=S;exports.ContextMenuPortal=_;exports.ContextMenuRadioGroup=B;exports.ContextMenuRadioItem=h;exports.ContextMenuSeparator=w;exports.ContextMenuShortcut=D;exports.ContextMenuSub=q;exports.ContextMenuSubContent=f;exports.ContextMenuSubTrigger=g;exports.ContextMenuTrigger=z;exports.Select=O;exports.SelectContent=v;exports.SelectGroup=E;exports.SelectItem=M;exports.SelectLabel=y;exports.SelectSeparator=N;exports.SelectTrigger=T;exports.SelectValue=J;exports.Slider=I;exports.Toggle=A;exports.toggleVariants=j;
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./tooltip-CUA6Xg5r.cjs"),r=require("react/jsx-runtime"),R=require("react"),F=require("@radix-ui/react-context-menu"),m=require("@radix-ui/react-icons"),P=require("@radix-ui/react-select"),k=require("@radix-ui/react-slider"),L=require("@radix-ui/react-toggle"),G=require("class-variance-authority");function u(t){const a=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(t){for(const o in t)if(o!=="default"){const i=Object.getOwnPropertyDescriptor(t,o);Object.defineProperty(a,o,i.get?i:{enumerable:!0,get:()=>t[o]})}}return a.default=t,Object.freeze(a)}const d=u(R),n=u(F),s=u(P),c=u(k),p=u(L),H=n.Root,z=n.Trigger,V=n.Group,_=n.Portal,q=n.Sub,B=n.RadioGroup,g=d.forwardRef(({className:t,inset:a,children:o,...i},l)=>r.jsxs(n.SubTrigger,{ref:l,className:e.cn("flex cursor-default select-none items-center rounded-sm px-2 py-1.5 text-sm outline-none focus:bg-accent focus:text-accent-foreground data-[state=open]:bg-accent data-[state=open]:text-accent-foreground",a&&"pl-8",t),...i,children:[o,r.jsx(m.ChevronRightIcon,{className:"ml-auto h-4 w-4"})]}));g.displayName=n.SubTrigger.displayName;const f=d.forwardRef(({className:t,...a},o)=>r.jsx(n.SubContent,{ref:o,className:e.cn("z-50 min-w-[8rem] overflow-hidden rounded-md border bg-popover p-1 text-popover-foreground shadow-lg data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",t),...a}));f.displayName=n.SubContent.displayName;const x=d.forwardRef(({className:t,...a},o)=>r.jsx(n.Portal,{children:r.jsx(n.Content,{ref:o,className:e.cn("z-50 min-w-[8rem] overflow-hidden rounded-md border bg-popover p-1 text-popover-foreground shadow-md data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",t),...a})}));x.displayName=n.Content.displayName;const b=d.forwardRef(({className:t,inset:a,...o},i)=>r.jsx(n.Item,{ref:i,className:e.cn("relative flex cursor-default select-none items-center rounded-sm px-2 py-1.5 text-sm outline-none focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",a&&"pl-8",t),...o}));b.displayName=n.Item.displayName;const C=d.forwardRef(({className:t,children:a,checked:o,...i},l)=>r.jsxs(n.CheckboxItem,{ref:l,className:e.cn("relative flex cursor-default select-none items-center rounded-sm py-1.5 pl-8 pr-2 text-sm outline-none focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",t),checked:o,...i,children:[r.jsx("span",{className:"absolute left-2 flex h-3.5 w-3.5 items-center justify-center",children:r.jsx(n.ItemIndicator,{children:r.jsx(m.CheckIcon,{className:"h-4 w-4"})})}),a]}));C.displayName=n.CheckboxItem.displayName;const h=d.forwardRef(({className:t,children:a,...o},i)=>r.jsxs(n.RadioItem,{ref:i,className:e.cn("relative flex cursor-default select-none items-center rounded-sm py-1.5 pl-8 pr-2 text-sm outline-none focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",t),...o,children:[r.jsx("span",{className:"absolute left-2 flex h-3.5 w-3.5 items-center justify-center",children:r.jsx(n.ItemIndicator,{children:r.jsx(m.DotFilledIcon,{className:"h-4 w-4 fill-current"})})}),a]}));h.displayName=n.RadioItem.displayName;const S=d.forwardRef(({className:t,inset:a,...o},i)=>r.jsx(n.Label,{ref:i,className:e.cn("px-2 py-1.5 text-sm font-semibold text-foreground",a&&"pl-8",t),...o}));S.displayName=n.Label.displayName;const w=d.forwardRef(({className:t,...a},o)=>r.jsx(n.Separator,{ref:o,className:e.cn("-mx-1 my-1 h-px bg-border",t),...a}));w.displayName=n.Separator.displayName;const D=({className:t,...a})=>r.jsx("span",{className:e.cn("ml-auto text-xs tracking-widest text-muted-foreground",t),...a});D.displayName="ContextMenuShortcut";const O=s.Root,E=s.Group,J=s.Value,T=d.forwardRef(({className:t,children:a,...o},i)=>r.jsxs(s.Trigger,{ref:i,className:e.cn("flex h-9 w-full items-center justify-between rounded-md border border-input bg-transparent px-3 py-2 text-sm shadow-sm ring-offset-background placeholder:text-muted-foreground focus:outline-none focus:ring-1 focus:ring-ring disabled:cursor-not-allowed disabled:opacity-50",t),...o,children:[a,r.jsx(s.Icon,{asChild:!0,children:r.jsx(m.CaretSortIcon,{className:"h-4 w-4 opacity-50"})})]}));T.displayName=s.Trigger.displayName;const v=d.forwardRef(({className:t,children:a,position:o="popper",...i},l)=>r.jsx(s.Portal,{children:r.jsx(s.Content,{ref:l,className:e.cn("relative z-50 min-w-[8rem] overflow-hidden rounded-md border bg-popover text-popover-foreground shadow-md data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",o==="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",t),position:o,...i,children:r.jsx(s.Viewport,{className:e.cn("p-1",o==="popper"&&"h-[var(--radix-select-trigger-height)] w-full min-w-[var(--radix-select-trigger-width)]"),children:a})})}));v.displayName=s.Content.displayName;const y=d.forwardRef(({className:t,...a},o)=>r.jsx(s.Label,{ref:o,className:e.cn("px-2 py-1.5 text-sm font-semibold",t),...a}));y.displayName=s.Label.displayName;const M=d.forwardRef(({className:t,children:a,...o},i)=>r.jsxs(s.Item,{ref:i,className:e.cn("relative flex w-full cursor-default select-none items-center rounded-sm py-1.5 pl-2 pr-8 text-sm outline-none focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",t),...o,children:[r.jsx("span",{className:"absolute right-2 flex h-3.5 w-3.5 items-center justify-center",children:r.jsx(s.ItemIndicator,{children:r.jsx(m.CheckIcon,{className:"h-4 w-4"})})}),r.jsx(s.ItemText,{children:a})]}));M.displayName=s.Item.displayName;const N=d.forwardRef(({className:t,...a},o)=>r.jsx(s.Separator,{ref:o,className:e.cn("-mx-1 my-1 h-px bg-muted",t),...a}));N.displayName=s.Separator.displayName;const I=d.forwardRef(({className:t,...a},o)=>r.jsxs(c.Root,{ref:o,className:e.cn("relative flex w-full touch-none select-none items-center",t),...a,children:[r.jsx(c.Track,{className:"relative h-1.5 w-full grow overflow-hidden rounded-full bg-primary/20",children:r.jsx(c.Range,{className:"absolute h-full bg-primary"})}),r.jsx(c.Thumb,{className:"block h-4 w-4 rounded-full border border-primary/50 bg-background shadow transition-colors focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:pointer-events-none disabled:opacity-50"})]}));I.displayName=c.Root.displayName;const j=G.cva("inline-flex items-center justify-center rounded-md text-sm font-medium ring-offset-background transition-colors hover:bg-muted hover:text-muted-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50 data-[state=on]:bg-accent data-[state=on]:text-accent-foreground",{variants:{variant:{default:"bg-transparent",outline:"border border-input bg-transparent hover:bg-accent hover:text-accent-foreground"},size:{default:"h-10 px-3",sm:"h-9 px-2.5",lg:"h-11 px-5"}},defaultVariants:{variant:"default",size:"default"}}),A=d.forwardRef(({className:t,variant:a,size:o,...i},l)=>r.jsx(p.Root,{ref:l,className:e.cn(j({variant:a,size:o,className:t})),...i}));A.displayName=p.Root.displayName;exports.Accordion=e.Accordion;exports.AccordionContent=e.AccordionContent;exports.AccordionItem=e.AccordionItem;exports.AccordionTrigger=e.AccordionTrigger;exports.Alert=e.Alert;exports.AlertDescription=e.AlertDescription;exports.AlertDialog=e.AlertDialog;exports.AlertDialogAction=e.AlertDialogAction;exports.AlertDialogCancel=e.AlertDialogCancel;exports.AlertDialogContent=e.AlertDialogContent;exports.AlertDialogDescription=e.AlertDialogDescription;exports.AlertDialogFooter=e.AlertDialogFooter;exports.AlertDialogHeader=e.AlertDialogHeader;exports.AlertDialogTitle=e.AlertDialogTitle;exports.AlertDialogTrigger=e.AlertDialogTrigger;exports.AlertTitle=e.AlertTitle;exports.Avatar=e.Avatar;exports.AvatarFallback=e.AvatarFallback;exports.AvatarImage=e.AvatarImage;exports.Badge=e.Badge;exports.Button=e.Button;exports.Card=e.Card;exports.CardContent=e.CardContent;exports.CardDescription=e.CardDescription;exports.CardFooter=e.CardFooter;exports.CardHeader=e.CardHeader;exports.CardTitle=e.CardTitle;exports.Command=e.Command;exports.CommandDialog=e.CommandDialog;exports.CommandEmpty=e.CommandEmpty;exports.CommandGroup=e.CommandGroup;exports.CommandInput=e.CommandInput;exports.CommandItem=e.CommandItem;exports.CommandList=e.CommandList;exports.CommandSeparator=e.CommandSeparator;exports.CommandShortcut=e.CommandShortcut;exports.Dialog=e.Dialog;exports.DialogContent=e.DialogContent;exports.DialogDescription=e.DialogDescription;exports.DialogFooter=e.DialogFooter;exports.DialogHeader=e.DialogHeader;exports.DialogTitle=e.DialogTitle;exports.DialogTrigger=e.DialogTrigger;exports.DropdownMenu=e.DropdownMenu;exports.DropdownMenuCheckboxItem=e.DropdownMenuCheckboxItem;exports.DropdownMenuContent=e.DropdownMenuContent;exports.DropdownMenuGroup=e.DropdownMenuGroup;exports.DropdownMenuItem=e.DropdownMenuItem;exports.DropdownMenuLabel=e.DropdownMenuLabel;exports.DropdownMenuPortal=e.DropdownMenuPortal;exports.DropdownMenuRadioGroup=e.DropdownMenuRadioGroup;exports.DropdownMenuRadioItem=e.DropdownMenuRadioItem;exports.DropdownMenuSeparator=e.DropdownMenuSeparator;exports.DropdownMenuShortcut=e.DropdownMenuShortcut;exports.DropdownMenuSub=e.DropdownMenuSub;exports.DropdownMenuSubContent=e.DropdownMenuSubContent;exports.DropdownMenuSubTrigger=e.DropdownMenuSubTrigger;exports.DropdownMenuTrigger=e.DropdownMenuTrigger;exports.Form=e.Form;exports.FormControl=e.FormControl;exports.FormDescription=e.FormDescription;exports.FormField=e.FormField;exports.FormItem=e.FormItem;exports.FormLabel=e.FormLabel;exports.FormMessage=e.FormMessage;exports.HoverCard=e.HoverCard;exports.HoverCardContent=e.HoverCardContent;exports.HoverCardTrigger=e.HoverCardTrigger;exports.Input=e.Input;exports.Label=e.Label;exports.Popover=e.Popover;exports.PopoverContent=e.PopoverContent;exports.PopoverTrigger=e.PopoverTrigger;exports.ScrollArea=e.ScrollArea;exports.ScrollBar=e.ScrollBar;exports.Separator=e.Separator;exports.Sheet=e.Sheet;exports.SheetClose=e.SheetClose;exports.SheetContent=e.SheetContent;exports.SheetDescription=e.SheetDescription;exports.SheetFooter=e.SheetFooter;exports.SheetHeader=e.SheetHeader;exports.SheetTitle=e.SheetTitle;exports.SheetTrigger=e.SheetTrigger;exports.Skeleton=e.Skeleton;exports.Switch=e.Switch;exports.Tabs=e.Tabs;exports.TabsContent=e.TabsContent;exports.TabsList=e.TabsList;exports.TabsTrigger=e.TabsTrigger;exports.Textarea=e.Textarea;exports.Toaster=e.Toaster;exports.Tooltip=e.Tooltip;exports.TooltipContent=e.TooltipContent;exports.TooltipPortal=e.TooltipPortal;exports.TooltipProvider=e.TooltipProvider;exports.TooltipTrigger=e.TooltipTrigger;exports.badgeVariants=e.badgeVariants;exports.buttonVariants=e.buttonVariants;exports.useFormField=e.useFormField;exports.ContextMenu=H;exports.ContextMenuCheckboxItem=C;exports.ContextMenuContent=x;exports.ContextMenuGroup=V;exports.ContextMenuItem=b;exports.ContextMenuLabel=S;exports.ContextMenuPortal=_;exports.ContextMenuRadioGroup=B;exports.ContextMenuRadioItem=h;exports.ContextMenuSeparator=w;exports.ContextMenuShortcut=D;exports.ContextMenuSub=q;exports.ContextMenuSubContent=f;exports.ContextMenuSubTrigger=g;exports.ContextMenuTrigger=z;exports.Select=O;exports.SelectContent=v;exports.SelectGroup=E;exports.SelectItem=M;exports.SelectLabel=y;exports.SelectSeparator=N;exports.SelectTrigger=T;exports.SelectValue=J;exports.Slider=I;exports.Toggle=A;exports.toggleVariants=j;
|
package/dist/ui.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { c as i } from "./tooltip-
|
|
2
|
-
import { A as Y, d as Z, a as _, b as $, e as ee, g as ae, h as te, o as oe, p as re, j as se, n as ne, l as ie, k as de, m as le, i as ce, f as me, q as pe, r as ue, s as fe, t as ge, B as be, C as he, D as xe, z as Ce, x as we, w as ye, y as Ne, E as ve, F as Se, I as De, J as Te, G as Ie, K as Me, H as Re, M as Ae, L as Fe, N as ke, P as Pe, T as ze, R as Le, Q as Ge, S as je, O as He, U as Ve, Y as Be, W as Ee, a1 as qe, X as Je, _ as Ke, a2 as Oe, a6 as Qe, Z as Ue, $ as We, a0 as Xe, a3 as Ye, a4 as Ze, a5 as _e, V as $e, a7 as ea, a8 as aa, a9 as ta, aa as oa, ab as ra, ac as sa, ad as na, af as ia, ah as da, ag as la, ai as ca, aj as ma, ak as pa, am as ua, al as fa, an as ga, ao as ba, ap as ha, aq as xa, as as Ca, at as wa, ax as ya, av as Na, au as va, aw as Sa, ar as Da, ay as Ta, aA as Ia, aB as Ma, aE as Ra, aC as Aa, aD as Fa, aF as ka, az as Pa, aG as za, aI as La, aK as Ga, aJ as ja, aH as Ha, u as Va, v as Ba, ae as Ea } from "./tooltip-
|
|
1
|
+
import { c as i } from "./tooltip-BU2vOhlU.js";
|
|
2
|
+
import { A as Y, d as Z, a as _, b as $, e as ee, g as ae, h as te, o as oe, p as re, j as se, n as ne, l as ie, k as de, m as le, i as ce, f as me, q as pe, r as ue, s as fe, t as ge, B as be, C as he, D as xe, z as Ce, x as we, w as ye, y as Ne, E as ve, F as Se, I as De, J as Te, G as Ie, K as Me, H as Re, M as Ae, L as Fe, N as ke, P as Pe, T as ze, R as Le, Q as Ge, S as je, O as He, U as Ve, Y as Be, W as Ee, a1 as qe, X as Je, _ as Ke, a2 as Oe, a6 as Qe, Z as Ue, $ as We, a0 as Xe, a3 as Ye, a4 as Ze, a5 as _e, V as $e, a7 as ea, a8 as aa, a9 as ta, aa as oa, ab as ra, ac as sa, ad as na, af as ia, ah as da, ag as la, ai as ca, aj as ma, ak as pa, am as ua, al as fa, an as ga, ao as ba, ap as ha, aq as xa, as as Ca, at as wa, ax as ya, av as Na, au as va, aw as Sa, ar as Da, ay as Ta, aA as Ia, aB as Ma, aE as Ra, aC as Aa, aD as Fa, aF as ka, az as Pa, aG as za, aI as La, aK as Ga, aJ as ja, aH as Ha, u as Va, v as Ba, ae as Ea } from "./tooltip-BU2vOhlU.js";
|
|
3
3
|
import { jsxs as c, jsx as o } from "react/jsx-runtime";
|
|
4
4
|
import * as d from "react";
|
|
5
5
|
import * as r from "@radix-ui/react-context-menu";
|
package/package.json
CHANGED
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
"use strict";const _=require("@chaibuilder/runtime"),F=require("lodash-es");function h(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}const b={fontFamily:{"font-heading":"Inter","font-body":"Inter"},borderRadius:"10px",colors:[{group:"Body",items:{background:["#FFFFFF","#121212"],foreground:["#121212","#FFFFFF"]}},{group:"Primary",items:{primary:["#2563EB","#3B82F6"],"primary-foreground":["#FFFFFF","#FFFFFF"]}},{group:"Secondary",items:{secondary:["#F3F4F6","#374151"],"secondary-foreground":["#1F2937","#F9FAFB"]}},{group:"Border, Input & Ring",items:{border:["#E5E7EB","#374151"],input:["#E5E7EB","#374151"],ring:["#2563EB","#3B82F6"]}},{group:"Card",items:{card:["#FFFFFF","#1F2937"],"card-foreground":["#121212","#FFFFFF"]}},{group:"Popover",items:{popover:["#FFFFFF","#1F2937"],"popover-foreground":["#121212","#FFFFFF"]}},{group:"Muted",items:{muted:["#F3F4F6","#374151"],"muted-foreground":["#6B7280","#9CA3AF"]}},{group:"Accent",items:{accent:["#F3F4F6","#374151"],"accent-foreground":["#1F2937","#FFFFFF"]}},{group:"Destructive",items:{destructive:["#DC2626","#EF4444"],"destructive-foreground":["#FFFFFF","#FFFFFF"]}}]};var d={},c={},m;function v(){return m||(m=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return t}});function r(n,o){return{handler:n,config:o}}r.withOptions=function(n,o=()=>({})){const u=function(i){return{__options:i,handler:n(i),config:o(i)}};return u.__isOptionsFunction=!0,u.__pluginFunction=n,u.__configFunction=o,u};const t=r}(c)),c}var p;function C(){return p||(p=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return n}});const r=t(v());function t(o){return o&&o.__esModule?o:{default:o}}const n=r.default}(d)),d}var f,y;function P(){if(y)return f;y=1;let e=C();return f=(e.__esModule?e:{default:e}).default,f}var j=P();const B=h(j),E=e=>({fontFamily:e.fontFamily?F.keys(e.fontFamily).reduce((t,n)=>({...t,[n.replace("font-","")]:`var(--${n})`}),{}):{},borderRadius:e.borderRadius?{lg:"var(--radius)",md:"calc(var(--radius) - 2px)",sm:"calc(var(--radius) - 4px)"}:{},colors:e.colors?F.flatten(e.colors.map(t=>Object.entries(t.items))).reduce((t,[n])=>({...t,[n]:`hsl(var(--${n}))`}),{}):{}});function $(e){const r=/^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i.exec(e);let t=parseInt(r[1],16),n=parseInt(r[2],16),o=parseInt(r[3],16);t/=255,n/=255,o/=255;const u=Math.max(t,n,o),i=Math.min(t,n,o);let a,s;const g=(u+i)/2;if(u==i)a=s=0;else{const l=u-i;switch(s=g>.5?l/(2-u-i):l/(u+i),u){case t:a=(n-o)/l+(n<o?6:0);break;case n:a=(o-t)/l+2;break;case o:a=(t-n)/l+4;break}a/=6}return`${Math.round(a*360)} ${Math.round(s*100)}% ${Math.round(g*100)}%`}const M=e=>{const t=_.getAllRegisteredFonts().find(n=>n.family===e);return`"${e}", ${F.get(t,"fallback","")}`},q=e=>`:root {
|
|
2
|
-
${e.fontFamily&&Object.entries(e.fontFamily).map(([r,t])=>`--font-${r}: ${M(t)};`).join(`
|
|
3
|
-
`)}
|
|
4
|
-
${e.borderRadius&&`--radius: ${e.borderRadius};`}
|
|
5
|
-
${e.colors&&Object.entries(e.colors).map(([r,t])=>`--${r}: ${$(t[0])};`).join(`
|
|
6
|
-
`)}
|
|
7
|
-
}
|
|
8
|
-
.dark {
|
|
9
|
-
${e.colors&&Object.entries(e.colors).map(([r,t])=>`--${r}: ${$(t[1])};`).join(`
|
|
10
|
-
`)}
|
|
11
|
-
}`,O=e=>!e||e.length===0?"":F.uniqBy(e,"family").map(r=>`<link rel="stylesheet" href="${r.url}" />`).join(`
|
|
12
|
-
`),k=e=>!e||e.length===0?"":F.uniqBy(e,"family").map(r=>`@import url("${r.url}");`).join(`
|
|
13
|
-
`),R=e=>!e||e.length===0?"":F.uniqBy(e,"family").map(r=>r.src.map(t=>`@font-face {
|
|
14
|
-
font-family: "${r.family}";
|
|
15
|
-
src: url("${t.url}") format("${t.format}");
|
|
16
|
-
font-display: swap;
|
|
17
|
-
${t.fontWeight?`font-weight: ${t.fontWeight};`:""}
|
|
18
|
-
${t.fontStyle?`font-style: ${t.fontStyle};`:""}
|
|
19
|
-
${t.fontStretch?`font-stretch: ${t.fontStretch};`:""}
|
|
20
|
-
}`).join(`
|
|
21
|
-
`)).join(`
|
|
22
|
-
`);exports.defaultThemeOptions=b;exports.getChaiThemeCssVariables=q;exports.getChaiThemeOptions=E;exports.getDefaultExportFromCjs=h;exports.getThemeCustomFontFace=R;exports.getThemeFontsCSSImport=k;exports.getThemeFontsLinkMarkup=O;exports.plugin=B;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";const d=require("react/jsx-runtime"),w=require("react"),hs=require("@radix-ui/react-accordion"),ge=require("@radix-ui/react-icons"),Ae=require("class-variance-authority"),vs=require("@radix-ui/react-alert-dialog"),Ft=require("@radix-ui/react-slot"),ws=require("@radix-ui/react-avatar"),$=require("cmdk"),Ns=require("@radix-ui/react-dialog"),_s=require("@radix-ui/react-dropdown-menu"),Cs=require("@radix-ui/react-label"),Ds=require("@radix-ui/react-hover-card"),Fs=require("@radix-ui/react-popover"),As=require("@radix-ui/react-scroll-area"),Ss=require("@radix-ui/react-separator"),ks=require("next-themes"),Vs=require("sonner"),js=require("@radix-ui/react-switch"),Rs=require("@radix-ui/react-tabs"),Ts=require("@radix-ui/react-tooltip"),Ps=require("clsx"),Is=require("tailwind-merge");function K(e){const r=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const t in e)if(t!=="default"){const a=Object.getOwnPropertyDescriptor(e,t);Object.defineProperty(r,t,a.get?a:{enumerable:!0,get:()=>e[t]})}}return r.default=e,Object.freeze(r)}const y=K(w),me=K(hs),z=K(vs),xe=K(ws),S=K(Ns),V=K(_s),At=K(Cs),Me=K(Ds),Fe=K(Fs),fe=K(As),St=K(Ss),$e=K(js),pe=K(Rs),be=K(Ts),m=(...e)=>Is.twMerge(Ps.clsx(e)),Ms=me.Root,kt=y.forwardRef(({className:e,...r},t)=>d.jsx(me.Item,{ref:t,className:m("border-b",e),...r}));kt.displayName="AccordionItem";const Vt=y.forwardRef(({className:e,children:r,...t},a)=>d.jsx(me.Header,{className:"flex",children:d.jsxs(me.Trigger,{ref:a,className:m("flex flex-1 items-center justify-between py-4 text-sm font-medium transition-all hover:underline [&[data-state=open]>svg]:rotate-180",e),...t,children:[r,t.hideArrow?null:d.jsx(ge.ChevronDownIcon,{className:"h-4 w-4 shrink-0 text-muted-foreground transition-transform duration-200"})]})}));Vt.displayName=me.Trigger.displayName;const jt=y.forwardRef(({className:e,children:r,...t},a)=>d.jsx(me.Content,{ref:a,className:m("text-sm data-[state=closed]:animate-accordion-up data-[state=open]:animate-accordion-down",e),...t,children:d.jsx("div",{className:"pb-4 pt-0",children:r})}));jt.displayName=me.Content.displayName;const Es=Ae.cva("relative w-full rounded-lg border px-4 py-3 text-sm [&:has(svg)]:pl-11 [&>svg+div]:translate-y-[-3px] [&>svg]:absolute [&>svg]:left-4 [&>svg]:top-4 [&>svg]:text-foreground",{variants:{variant:{default:"bg-background text-foreground",destructive:"border-destructive/50 text-destructive dark:border-destructive [&>svg]:text-destructive"}},defaultVariants:{variant:"default"}}),Rt=y.forwardRef(({className:e,variant:r,...t},a)=>d.jsx("div",{ref:a,role:"alert",className:m(Es({variant:r}),e),...t}));Rt.displayName="Alert";const Tt=y.forwardRef(({className:e,...r},t)=>d.jsx("h5",{ref:t,className:m("mb-1 font-medium leading-none tracking-tight",e),...r}));Tt.displayName="AlertTitle";const Pt=y.forwardRef(({className:e,...r},t)=>d.jsx("div",{ref:t,className:m("text-sm [&_p]:leading-relaxed",e),...r}));Pt.displayName="AlertDescription";const Ee=Ae.cva("inline-flex items-center justify-center rounded-md text-sm font-medium transition-colors focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:pointer-events-none disabled:opacity-50",{variants:{variant:{default:"bg-primary text-primary-foreground shadow hover:bg-primary/90",destructive:"bg-destructive text-destructive-foreground shadow-sm hover:bg-destructive/90",outline:"border border-input bg-background shadow-sm hover:bg-accent hover:text-accent-foreground",secondary:"bg-secondary text-secondary-foreground shadow-sm hover:bg-secondary/80",ghost:"hover:bg-accent hover:text-accent-foreground",link:"text-primary underline-offset-4 hover:underline"},size:{default:"h-9 px-4 py-2",sm:"h-8 rounded-md px-3 text-xs",lg:"h-10 rounded-md px-8",icon:"h-9 w-9"}},defaultVariants:{variant:"default",size:"default"}}),It=y.forwardRef(({className:e,variant:r,size:t,asChild:a=!1,...o},n)=>{const u=a?Ft.Slot:"button";return d.jsx(u,{className:m(Ee({variant:r,size:t,className:e})),ref:n,...o})});It.displayName="Button";const Ls=z.Root,Os=z.Trigger,Mt=({className:e,...r})=>d.jsx(z.Portal,{className:m(e),...r});Mt.displayName=z.Portal.displayName;const Et=y.forwardRef(({className:e,...r},t)=>d.jsx(z.Overlay,{className:m("fixed inset-0 z-50 bg-background/80 backdrop-blur-sm data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0",e),...r,ref:t}));Et.displayName=z.Overlay.displayName;const Lt=y.forwardRef(({className:e,...r},t)=>d.jsxs(Mt,{children:[d.jsx(Et,{}),d.jsx(z.Content,{ref:t,className:m("fixed left-[50%] top-[50%] z-50 grid w-full max-w-lg translate-x-[-50%] translate-y-[-50%] gap-4 border bg-background p-6 shadow-lg duration-200 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[state=closed]:slide-out-to-left-1/2 data-[state=closed]:slide-out-to-top-[48%] data-[state=open]:slide-in-from-left-1/2 data-[state=open]:slide-in-from-top-[48%] sm:rounded-lg md:w-full",e),...r})]}));Lt.displayName=z.Content.displayName;const Ot=({className:e,...r})=>d.jsx("div",{className:m("flex flex-col space-y-2 text-center sm:text-left",e),...r});Ot.displayName="AlertDialogHeader";const qt=({className:e,...r})=>d.jsx("div",{className:m("flex flex-col-reverse sm:flex-row sm:justify-end sm:space-x-2",e),...r});qt.displayName="AlertDialogFooter";const zt=y.forwardRef(({className:e,...r},t)=>d.jsx(z.Title,{ref:t,className:m("text-lg font-semibold",e),...r}));zt.displayName=z.Title.displayName;const Bt=y.forwardRef(({className:e,...r},t)=>d.jsx(z.Description,{ref:t,className:m("text-sm text-muted-foreground",e),...r}));Bt.displayName=z.Description.displayName;const Ut=y.forwardRef(({className:e,...r},t)=>d.jsx(z.Action,{ref:t,className:m(Ee(),e),...r}));Ut.displayName=z.Action.displayName;const Ht=y.forwardRef(({className:e,...r},t)=>d.jsx(z.Cancel,{ref:t,className:m(Ee({variant:"outline"}),"mt-2 sm:mt-0",e),...r}));Ht.displayName=z.Cancel.displayName;const Gt=y.forwardRef(({className:e,...r},t)=>d.jsx(xe.Root,{ref:t,className:m("relative flex h-10 w-10 shrink-0 overflow-hidden rounded-full",e),...r}));Gt.displayName=xe.Root.displayName;const Wt=y.forwardRef(({className:e,...r},t)=>d.jsx(xe.Image,{ref:t,className:m("aspect-square h-full w-full",e),...r}));Wt.displayName=xe.Image.displayName;const $t=y.forwardRef(({className:e,...r},t)=>d.jsx(xe.Fallback,{ref:t,className:m("flex h-full w-full items-center justify-center rounded-full bg-muted",e),...r}));$t.displayName=xe.Fallback.displayName;const Kt=Ae.cva("inline-flex items-center rounded-md border px-2.5 py-0.5 text-xs font-semibold transition-colors focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2",{variants:{variant:{default:"border-transparent bg-primary text-primary-foreground shadow hover:bg-primary/80",secondary:"border-transparent bg-secondary text-secondary-foreground hover:bg-secondary/80",destructive:"border-transparent bg-destructive text-destructive-foreground shadow hover:bg-destructive/80",outline:"text-foreground"}},defaultVariants:{variant:"default"}}),qs=({className:e,variant:r,...t})=>d.jsx("div",{className:m(Kt({variant:r}),e),...t}),Yt=y.forwardRef(({className:e,...r},t)=>d.jsx("div",{ref:t,className:m("rounded-xl border bg-card text-card-foreground shadow",e),...r}));Yt.displayName="Card";const Jt=y.forwardRef(({className:e,...r},t)=>d.jsx("div",{ref:t,className:m("flex flex-col space-y-1.5 p-6",e),...r}));Jt.displayName="CardHeader";const Qt=y.forwardRef(({className:e,...r},t)=>d.jsx("h3",{ref:t,className:m("font-semibold leading-none tracking-tight",e),...r}));Qt.displayName="CardTitle";const Xt=y.forwardRef(({className:e,...r},t)=>d.jsx("p",{ref:t,className:m("text-sm text-muted-foreground",e),...r}));Xt.displayName="CardDescription";const Zt=y.forwardRef(({className:e,...r},t)=>d.jsx("div",{ref:t,className:m("p-6 pt-0",e),...r}));Zt.displayName="CardContent";const er=y.forwardRef(({className:e,...r},t)=>d.jsx("div",{ref:t,className:m(" flex items-center p-6 pt-0",e),...r}));er.displayName="CardFooter";const tr=S.Root,zs=S.Trigger,rr=({className:e,...r})=>d.jsx(S.Portal,{className:m(e),...r});rr.displayName=S.Portal.displayName;const sr=y.forwardRef(({className:e,...r},t)=>d.jsx(S.Overlay,{ref:t,className:m("fixed inset-0 z-50 bg-background/80 backdrop-blur-sm data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0",e),...r}));sr.displayName=S.Overlay.displayName;const Ye=y.forwardRef(({className:e,children:r,...t},a)=>d.jsxs(rr,{children:[d.jsx(sr,{}),d.jsxs(S.Content,{ref:a,className:m("fixed left-[50%] top-[50%] z-[999] grid w-full max-w-lg translate-x-[-50%] translate-y-[-50%] gap-4 border bg-background p-6 shadow-lg duration-200 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[state=closed]:slide-out-to-left-1/2 data-[state=closed]:slide-out-to-top-[48%] data-[state=open]:slide-in-from-left-1/2 data-[state=open]:slide-in-from-top-[48%] sm:rounded-lg md:w-full",e),...t,children:[r,d.jsxs(S.Close,{className:"absolute right-4 top-4 rounded-sm opacity-70 ring-offset-background transition-opacity hover:opacity-100 focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:pointer-events-none data-[state=open]:bg-accent data-[state=open]:text-muted-foreground",children:[d.jsx(ge.Cross2Icon,{className:"h-4 w-4"}),d.jsx("span",{className:"sr-only",children:"Close"})]})]})]}));Ye.displayName=S.Content.displayName;const ar=({className:e,...r})=>d.jsx("div",{className:m("flex flex-col space-y-1.5 text-center sm:text-left",e),...r});ar.displayName="DialogHeader";const or=({className:e,...r})=>d.jsx("div",{className:m("flex flex-col-reverse sm:flex-row sm:justify-end sm:space-x-2",e),...r});or.displayName="DialogFooter";const ir=y.forwardRef(({className:e,...r},t)=>d.jsx(S.Title,{ref:t,className:m("text-lg font-semibold leading-none tracking-tight",e),...r}));ir.displayName=S.Title.displayName;const nr=y.forwardRef(({className:e,...r},t)=>d.jsx(S.Description,{ref:t,className:m("text-sm text-muted-foreground",e),...r}));nr.displayName=S.Description.displayName;const Je=y.forwardRef(({className:e,...r},t)=>d.jsx($.Command,{ref:t,className:m("flex h-full w-full flex-col overflow-hidden rounded-md bg-popover text-popover-foreground",e),...r}));Je.displayName=$.Command.displayName;const Bs=({children:e,...r})=>d.jsx(tr,{...r,children:d.jsx(Ye,{className:"overflow-hidden p-0",children:d.jsx(Je,{className:"[&_[cmdk-group-heading]]:px-2 [&_[cmdk-group-heading]]:font-medium [&_[cmdk-group-heading]]:text-muted-foreground [&_[cmdk-group]:not([hidden])_~[cmdk-group]]:pt-0 [&_[cmdk-group]]:px-2 [&_[cmdk-input-wrapper]_svg]:h-5 [&_[cmdk-input-wrapper]_svg]:w-5 [&_[cmdk-input]]:h-12 [&_[cmdk-item]]:px-2 [&_[cmdk-item]]:py-3 [&_[cmdk-item]_svg]:h-5 [&_[cmdk-item]_svg]:w-5",children:e})})}),lr=y.forwardRef(({className:e,...r},t)=>d.jsxs("div",{className:"flex items-center border-b px-3","cmdk-input-wrapper":"",children:[d.jsx(ge.MagnifyingGlassIcon,{className:"mr-2 h-4 w-4 shrink-0 opacity-50"}),d.jsx($.Command.Input,{ref:t,className:m("flex h-10 w-full rounded-md bg-transparent py-3 text-sm outline-none placeholder:text-muted-foreground disabled:cursor-not-allowed disabled:opacity-50",e),...r})]}));lr.displayName=$.Command.Input.displayName;const dr=y.forwardRef(({className:e,...r},t)=>d.jsx($.Command.List,{ref:t,className:m("max-h-[300px] overflow-y-auto overflow-x-hidden",e),...r}));dr.displayName=$.Command.List.displayName;const cr=y.forwardRef((e,r)=>d.jsx($.Command.Empty,{ref:r,className:"py-6 text-center text-sm",...e}));cr.displayName=$.Command.Empty.displayName;const ur=y.forwardRef(({className:e,...r},t)=>d.jsx($.Command.Group,{ref:t,className:m("overflow-hidden p-1 text-foreground [&_[cmdk-group-heading]]:px-2 [&_[cmdk-group-heading]]:py-1.5 [&_[cmdk-group-heading]]:text-xs [&_[cmdk-group-heading]]:font-medium [&_[cmdk-group-heading]]:text-muted-foreground",e),...r}));ur.displayName=$.Command.Group.displayName;const fr=y.forwardRef(({className:e,...r},t)=>d.jsx($.Command.Separator,{ref:t,className:m("-mx-1 h-px bg-border",e),...r}));fr.displayName=$.Command.Separator.displayName;const mr=y.forwardRef(({className:e,...r},t)=>d.jsx($.Command.Item,{ref:t,className:m("relative flex cursor-default select-none items-center rounded-sm px-2 py-1.5 text-sm outline-none aria-selected:bg-accent aria-selected:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",e),...r}));mr.displayName=$.Command.Item.displayName;const gr=({className:e,...r})=>d.jsx("span",{className:m("ml-auto text-xs tracking-widest text-muted-foreground",e),...r});gr.displayName="CommandShortcut";const Us=V.Root,Hs=V.Trigger,Gs=V.Group,Ws=V.Portal,$s=V.Sub,Ks=V.RadioGroup,pr=y.forwardRef(({className:e,inset:r,children:t,...a},o)=>d.jsxs(V.SubTrigger,{ref:o,className:m("flex cursor-default select-none items-center rounded-sm px-2 py-1.5 text-sm outline-none focus:bg-accent data-[state=open]:bg-accent",r&&"pl-8",e),...a,children:[t,d.jsx(ge.ChevronRightIcon,{className:"ml-auto h-4 w-4"})]}));pr.displayName=V.SubTrigger.displayName;const yr=y.forwardRef(({className:e,...r},t)=>d.jsx(V.SubContent,{ref:t,className:m("z-50 min-w-[8rem] overflow-hidden rounded-md border bg-popover p-1 text-popover-foreground shadow-lg data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",e),...r}));yr.displayName=V.SubContent.displayName;const xr=y.forwardRef(({className:e,sideOffset:r=4,...t},a)=>d.jsx(V.Portal,{children:d.jsx(V.Content,{ref:a,sideOffset:r,className:m("z-50 min-w-[8rem] overflow-hidden rounded-md border bg-popover p-1 text-popover-foreground shadow-md","data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",e),...t})}));xr.displayName=V.Content.displayName;const br=y.forwardRef(({className:e,inset:r,...t},a)=>d.jsx(V.Item,{ref:a,className:m("relative flex cursor-default select-none items-center rounded-sm px-2 py-1.5 text-sm outline-none transition-colors focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",r&&"pl-8",e),...t}));br.displayName=V.Item.displayName;const hr=y.forwardRef(({className:e,children:r,checked:t,...a},o)=>d.jsxs(V.CheckboxItem,{ref:o,className:m("relative flex cursor-default select-none items-center rounded-sm py-1.5 pl-8 pr-2 text-sm outline-none transition-colors focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",e),checked:t,...a,children:[d.jsx("span",{className:"absolute left-2 flex h-3.5 w-3.5 items-center justify-center",children:d.jsx(V.ItemIndicator,{children:d.jsx(ge.CheckIcon,{className:"h-4 w-4"})})}),r]}));hr.displayName=V.CheckboxItem.displayName;const vr=y.forwardRef(({className:e,children:r,...t},a)=>d.jsxs(V.RadioItem,{ref:a,className:m("relative flex cursor-default select-none items-center rounded-sm py-1.5 pl-8 pr-2 text-sm outline-none transition-colors focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",e),...t,children:[d.jsx("span",{className:"absolute left-2 flex h-3.5 w-3.5 items-center justify-center",children:d.jsx(V.ItemIndicator,{children:d.jsx(ge.DotFilledIcon,{className:"h-4 w-4 fill-current"})})}),r]}));vr.displayName=V.RadioItem.displayName;const wr=y.forwardRef(({className:e,inset:r,...t},a)=>d.jsx(V.Label,{ref:a,className:m("px-2 py-1.5 text-sm font-semibold",r&&"pl-8",e),...t}));wr.displayName=V.Label.displayName;const Nr=y.forwardRef(({className:e,...r},t)=>d.jsx(V.Separator,{ref:t,className:m("-mx-1 my-1 h-px bg-muted",e),...r}));Nr.displayName=V.Separator.displayName;const _r=({className:e,...r})=>d.jsx("span",{className:m("ml-auto text-xs tracking-widest opacity-60",e),...r});_r.displayName="DropdownMenuShortcut";var Se=e=>e.type==="checkbox",ue=e=>e instanceof Date,G=e=>e==null;const Cr=e=>typeof e=="object";var T=e=>!G(e)&&!Array.isArray(e)&&Cr(e)&&!ue(e),Dr=e=>T(e)&&e.target?Se(e.target)?e.target.checked:e.target.value:e,Ys=e=>e.substring(0,e.search(/\.\d+(\.|$)/))||e,Fr=(e,r)=>e.has(Ys(r)),Js=e=>{const r=e.constructor&&e.constructor.prototype;return T(r)&&r.hasOwnProperty("isPrototypeOf")},Qe=typeof window<"u"&&typeof window.HTMLElement<"u"&&typeof document<"u";function O(e){let r;const t=Array.isArray(e),a=typeof FileList<"u"?e instanceof FileList:!1;if(e instanceof Date)r=new Date(e);else if(e instanceof Set)r=new Set(e);else if(!(Qe&&(e instanceof Blob||a))&&(t||T(e)))if(r=t?[]:{},!t&&!Js(e))r=e;else for(const o in e)e.hasOwnProperty(o)&&(r[o]=O(e[o]));else return e;return r}var Le=e=>Array.isArray(e)?e.filter(Boolean):[],R=e=>e===void 0,g=(e,r,t)=>{if(!r||!T(e))return t;const a=Le(r.split(/[,[\].]+?/)).reduce((o,n)=>G(o)?o:o[n],e);return R(a)||a===e?R(e[r])?t:e[r]:a},J=e=>typeof e=="boolean",Xe=e=>/^\w*$/.test(e),Ar=e=>Le(e.replace(/["|']|\]/g,"").split(/\.|\[/)),A=(e,r,t)=>{let a=-1;const o=Xe(r)?[r]:Ar(r),n=o.length,u=n-1;for(;++a<n;){const x=o[a];let _=t;if(a!==u){const I=e[x];_=T(I)||Array.isArray(I)?I:isNaN(+o[a+1])?{}:[]}if(x==="__proto__"||x==="constructor"||x==="prototype")return;e[x]=_,e=e[x]}};const Re={BLUR:"blur",FOCUS_OUT:"focusout",CHANGE:"change"},ee={onBlur:"onBlur",onChange:"onChange",onSubmit:"onSubmit",onTouched:"onTouched",all:"all"},ie={max:"max",min:"min",maxLength:"maxLength",minLength:"minLength",pattern:"pattern",required:"required",validate:"validate"},Sr=w.createContext(null),Oe=()=>w.useContext(Sr),Qs=e=>{const{children:r,...t}=e;return w.createElement(Sr.Provider,{value:t},r)};var kr=(e,r,t,a=!0)=>{const o={defaultValues:r._defaultValues};for(const n in e)Object.defineProperty(o,n,{get:()=>{const u=n;return r._proxyFormState[u]!==ee.all&&(r._proxyFormState[u]=!a||ee.all),t&&(t[u]=!0),e[u]}});return o};function Xs(e){const r=Oe(),{control:t=r.control,disabled:a,name:o,exact:n}=e,[u,x]=w.useState(t._formState),_=w.useRef({isDirty:!1,isLoading:!1,dirtyFields:!1,touchedFields:!1,validatingFields:!1,isValidating:!1,isValid:!1,errors:!1}),I=w.useRef(o);return I.current=o,w.useEffect(()=>t._subscribe({name:I.current,formState:_.current,exact:n,callback:D=>{!a&&x({...t._formState,...D})}}),[t,a,n]),w.useEffect(()=>{_.current.isValid&&t._setValid(!0)},[t]),w.useMemo(()=>kr(u,t,_.current,!1),[u,t])}var ae=e=>typeof e=="string",Vr=(e,r,t,a,o)=>ae(e)?(a&&r.watch.add(e),g(t,e,o)):Array.isArray(e)?e.map(n=>(a&&r.watch.add(n),g(t,n))):(a&&(r.watchAll=!0),t);function Zs(e){const r=Oe(),{control:t=r.control,name:a,defaultValue:o,disabled:n,exact:u}=e,x=w.useRef(a),_=w.useRef(o);x.current=a,w.useEffect(()=>t._subscribe({name:x.current,formState:{values:!0},exact:u,callback:k=>!n&&D(Vr(x.current,t._names,k.values||t._formValues,!1,_.current))}),[t,n,u]);const[I,D]=w.useState(t._getWatch(a,o));return w.useEffect(()=>t._removeUnmounted()),I}function ea(e){const r=Oe(),{name:t,disabled:a,control:o=r.control,shouldUnregister:n}=e,u=Fr(o._names.array,t),x=Zs({control:o,name:t,defaultValue:g(o._formValues,t,g(o._defaultValues,t,e.defaultValue)),exact:!0}),_=Xs({control:o,name:t,exact:!0}),I=w.useRef(e),D=w.useRef(o.register(t,{...e.rules,value:x,...J(e.disabled)?{disabled:e.disabled}:{}})),k=w.useMemo(()=>Object.defineProperties({},{invalid:{enumerable:!0,get:()=>!!g(_.errors,t)},isDirty:{enumerable:!0,get:()=>!!g(_.dirtyFields,t)},isTouched:{enumerable:!0,get:()=>!!g(_.touchedFields,t)},isValidating:{enumerable:!0,get:()=>!!g(_.validatingFields,t)},error:{enumerable:!0,get:()=>g(_.errors,t)}}),[_,t]),v=w.useCallback(B=>D.current.onChange({target:{value:Dr(B),name:t},type:Re.CHANGE}),[t]),de=w.useCallback(()=>D.current.onBlur({target:{value:g(o._formValues,t),name:t},type:Re.BLUR}),[t,o._formValues]),X=w.useCallback(B=>{const U=g(o._fields,t);U&&B&&(U._f.ref={focus:()=>B.focus(),select:()=>B.select(),setCustomValidity:h=>B.setCustomValidity(h),reportValidity:()=>B.reportValidity()})},[o._fields,t]),L=w.useMemo(()=>({name:t,value:x,...J(a)||_.disabled?{disabled:_.disabled||a}:{},onChange:v,onBlur:de,ref:X}),[t,a,_.disabled,v,de,X,x]);return w.useEffect(()=>{const B=o._options.shouldUnregister||n;o.register(t,{...I.current.rules,...J(I.current.disabled)?{disabled:I.current.disabled}:{}});const U=(h,Z)=>{const Y=g(o._fields,h);Y&&Y._f&&(Y._f.mount=Z)};if(U(t,!0),B){const h=O(g(o._options.defaultValues,t));A(o._defaultValues,t,h),R(g(o._formValues,t))&&A(o._formValues,t,h)}return!u&&o.register(t),()=>{(u?B&&!o._state.action:B)?o.unregister(t):U(t,!1)}},[t,o,u,n]),w.useEffect(()=>{o._setDisabledField({disabled:a,name:t})},[a,t,o]),w.useMemo(()=>({field:L,formState:_,fieldState:k}),[L,_,k])}const ta=e=>e.render(ea(e));var jr=(e,r,t,a,o)=>r?{...t[e],types:{...t[e]&&t[e].types?t[e].types:{},[a]:o||!0}}:{},Ce=e=>Array.isArray(e)?e:[e],pt=()=>{let e=[];return{get observers(){return e},next:o=>{for(const n of e)n.next&&n.next(o)},subscribe:o=>(e.push(o),{unsubscribe:()=>{e=e.filter(n=>n!==o)}}),unsubscribe:()=>{e=[]}}},Ke=e=>G(e)||!Cr(e);function le(e,r){if(Ke(e)||Ke(r))return e===r;if(ue(e)&&ue(r))return e.getTime()===r.getTime();const t=Object.keys(e),a=Object.keys(r);if(t.length!==a.length)return!1;for(const o of t){const n=e[o];if(!a.includes(o))return!1;if(o!=="ref"){const u=r[o];if(ue(n)&&ue(u)||T(n)&&T(u)||Array.isArray(n)&&Array.isArray(u)?!le(n,u):n!==u)return!1}}return!0}var H=e=>T(e)&&!Object.keys(e).length,Ze=e=>e.type==="file",te=e=>typeof e=="function",Te=e=>{if(!Qe)return!1;const r=e?e.ownerDocument:0;return e instanceof(r&&r.defaultView?r.defaultView.HTMLElement:HTMLElement)},Rr=e=>e.type==="select-multiple",et=e=>e.type==="radio",ra=e=>et(e)||Se(e),We=e=>Te(e)&&e.isConnected;function sa(e,r){const t=r.slice(0,-1).length;let a=0;for(;a<t;)e=R(e)?a++:e[r[a++]];return e}function aa(e){for(const r in e)if(e.hasOwnProperty(r)&&!R(e[r]))return!1;return!0}function M(e,r){const t=Array.isArray(r)?r:Xe(r)?[r]:Ar(r),a=t.length===1?e:sa(e,t),o=t.length-1,n=t[o];return a&&delete a[n],o!==0&&(T(a)&&H(a)||Array.isArray(a)&&aa(a))&&M(e,t.slice(0,-1)),e}var Tr=e=>{for(const r in e)if(te(e[r]))return!0;return!1};function Pe(e,r={}){const t=Array.isArray(e);if(T(e)||t)for(const a in e)Array.isArray(e[a])||T(e[a])&&!Tr(e[a])?(r[a]=Array.isArray(e[a])?[]:{},Pe(e[a],r[a])):G(e[a])||(r[a]=!0);return r}function Pr(e,r,t){const a=Array.isArray(e);if(T(e)||a)for(const o in e)Array.isArray(e[o])||T(e[o])&&!Tr(e[o])?R(r)||Ke(t[o])?t[o]=Array.isArray(e[o])?Pe(e[o],[]):{...Pe(e[o])}:Pr(e[o],G(r)?{}:r[o],t[o]):t[o]=!le(e[o],r[o]);return t}var Ne=(e,r)=>Pr(e,r,Pe(r));const yt={value:!1,isValid:!1},xt={value:!0,isValid:!0};var Ir=e=>{if(Array.isArray(e)){if(e.length>1){const r=e.filter(t=>t&&t.checked&&!t.disabled).map(t=>t.value);return{value:r,isValid:!!r.length}}return e[0].checked&&!e[0].disabled?e[0].attributes&&!R(e[0].attributes.value)?R(e[0].value)||e[0].value===""?xt:{value:e[0].value,isValid:!0}:xt:yt}return yt},Mr=(e,{valueAsNumber:r,valueAsDate:t,setValueAs:a})=>R(e)?e:r?e===""?NaN:e&&+e:t&&ae(e)?new Date(e):a?a(e):e;const bt={isValid:!1,value:null};var Er=e=>Array.isArray(e)?e.reduce((r,t)=>t&&t.checked&&!t.disabled?{isValid:!0,value:t.value}:r,bt):bt;function ht(e){const r=e.ref;return Ze(r)?r.files:et(r)?Er(e.refs).value:Rr(r)?[...r.selectedOptions].map(({value:t})=>t):Se(r)?Ir(e.refs).value:Mr(R(r.value)?e.ref.value:r.value,e)}var oa=(e,r,t,a)=>{const o={};for(const n of e){const u=g(r,n);u&&A(o,n,u._f)}return{criteriaMode:t,names:[...e],fields:o,shouldUseNativeValidation:a}},Ie=e=>e instanceof RegExp,_e=e=>R(e)?e:Ie(e)?e.source:T(e)?Ie(e.value)?e.value.source:e.value:e,vt=e=>({isOnSubmit:!e||e===ee.onSubmit,isOnBlur:e===ee.onBlur,isOnChange:e===ee.onChange,isOnAll:e===ee.all,isOnTouch:e===ee.onTouched});const wt="AsyncFunction";var ia=e=>!!e&&!!e.validate&&!!(te(e.validate)&&e.validate.constructor.name===wt||T(e.validate)&&Object.values(e.validate).find(r=>r.constructor.name===wt)),na=e=>e.mount&&(e.required||e.min||e.max||e.maxLength||e.minLength||e.pattern||e.validate),Nt=(e,r,t)=>!t&&(r.watchAll||r.watch.has(e)||[...r.watch].some(a=>e.startsWith(a)&&/^\.\w+/.test(e.slice(a.length))));const De=(e,r,t,a)=>{for(const o of t||Object.keys(e)){const n=g(e,o);if(n){const{_f:u,...x}=n;if(u){if(u.refs&&u.refs[0]&&r(u.refs[0],o)&&!a)return!0;if(u.ref&&r(u.ref,u.name)&&!a)return!0;if(De(x,r))break}else if(T(x)&&De(x,r))break}}};function _t(e,r,t){const a=g(e,t);if(a||Xe(t))return{error:a,name:t};const o=t.split(".");for(;o.length;){const n=o.join("."),u=g(r,n),x=g(e,n);if(u&&!Array.isArray(u)&&t!==n)return{name:t};if(x&&x.type)return{name:n,error:x};o.pop()}return{name:t}}var la=(e,r,t,a)=>{t(e);const{name:o,...n}=e;return H(n)||Object.keys(n).length>=Object.keys(r).length||Object.keys(n).find(u=>r[u]===(!a||ee.all))},da=(e,r,t)=>!e||!r||e===r||Ce(e).some(a=>a&&(t?a===r:a.startsWith(r)||r.startsWith(a))),ca=(e,r,t,a,o)=>o.isOnAll?!1:!t&&o.isOnTouch?!(r||e):(t?a.isOnBlur:o.isOnBlur)?!e:(t?a.isOnChange:o.isOnChange)?e:!0,ua=(e,r)=>!Le(g(e,r)).length&&M(e,r),fa=(e,r,t)=>{const a=Ce(g(e,t));return A(a,"root",r[t]),A(e,t,a),e},je=e=>ae(e);function Ct(e,r,t="validate"){if(je(e)||Array.isArray(e)&&e.every(je)||J(e)&&!e)return{type:t,message:je(e)?e:"",ref:r}}var ye=e=>T(e)&&!Ie(e)?e:{value:e,message:""},Dt=async(e,r,t,a,o,n)=>{const{ref:u,refs:x,required:_,maxLength:I,minLength:D,min:k,max:v,pattern:de,validate:X,name:L,valueAsNumber:B,mount:U}=e._f,h=g(t,L);if(!U||r.has(L))return{};const Z=x?x[0]:u,Y=F=>{o&&Z.reportValidity&&(Z.setCustomValidity(J(F)?"":F||""),Z.reportValidity())},E={},he=et(u),ve=Se(u),qe=he||ve,re=(B||Ze(u))&&R(u.value)&&R(h)||Te(u)&&u.value===""||h===""||Array.isArray(h)&&!h.length,ce=jr.bind(null,L,a,E),oe=(F,N,j,W=ie.maxLength,Q=ie.minLength)=>{const se=F?N:j;E[L]={type:F?W:Q,message:se,ref:u,...ce(F?W:Q,se)}};if(n?!Array.isArray(h)||!h.length:_&&(!qe&&(re||G(h))||J(h)&&!h||ve&&!Ir(x).isValid||he&&!Er(x).isValid)){const{value:F,message:N}=je(_)?{value:!!_,message:_}:ye(_);if(F&&(E[L]={type:ie.required,message:N,ref:Z,...ce(ie.required,N)},!a))return Y(N),E}if(!re&&(!G(k)||!G(v))){let F,N;const j=ye(v),W=ye(k);if(!G(h)&&!isNaN(h)){const Q=u.valueAsNumber||h&&+h;G(j.value)||(F=Q>j.value),G(W.value)||(N=Q<W.value)}else{const Q=u.valueAsDate||new Date(h),se=Ve=>new Date(new Date().toDateString()+" "+Ve),ne=u.type=="time",we=u.type=="week";ae(j.value)&&h&&(F=ne?se(h)>se(j.value):we?h>j.value:Q>new Date(j.value)),ae(W.value)&&h&&(N=ne?se(h)<se(W.value):we?h<W.value:Q<new Date(W.value))}if((F||N)&&(oe(!!F,j.message,W.message,ie.max,ie.min),!a))return Y(E[L].message),E}if((I||D)&&!re&&(ae(h)||n&&Array.isArray(h))){const F=ye(I),N=ye(D),j=!G(F.value)&&h.length>+F.value,W=!G(N.value)&&h.length<+N.value;if((j||W)&&(oe(j,F.message,N.message),!a))return Y(E[L].message),E}if(de&&!re&&ae(h)){const{value:F,message:N}=ye(de);if(Ie(F)&&!h.match(F)&&(E[L]={type:ie.pattern,message:N,ref:u,...ce(ie.pattern,N)},!a))return Y(N),E}if(X){if(te(X)){const F=await X(h,t),N=Ct(F,Z);if(N&&(E[L]={...N,...ce(ie.validate,N.message)},!a))return Y(N.message),E}else if(T(X)){let F={};for(const N in X){if(!H(F)&&!a)break;const j=Ct(await X[N](h,t),Z,N);j&&(F={...j,...ce(N,j.message)},Y(j.message),a&&(E[L]=F))}if(!H(F)&&(E[L]={ref:Z,...F},!a))return E}}return Y(!0),E};const ma={mode:ee.onSubmit,reValidateMode:ee.onChange,shouldFocusError:!0};function ga(e={}){let r={...ma,...e},t={submitCount:0,isDirty:!1,isLoading:te(r.defaultValues),isValidating:!1,isSubmitted:!1,isSubmitting:!1,isSubmitSuccessful:!1,isValid:!1,touchedFields:{},dirtyFields:{},validatingFields:{},errors:r.errors||{},disabled:r.disabled||!1};const a={};let o=T(r.defaultValues)||T(r.values)?O(r.values||r.defaultValues)||{}:{},n=r.shouldUnregister?{}:O(o),u={action:!1,mount:!1,watch:!1},x={mount:new Set,disabled:new Set,unMount:new Set,array:new Set,watch:new Set},_,I=0;const D={isDirty:!1,dirtyFields:!1,validatingFields:!1,touchedFields:!1,isValidating:!1,isValid:!1,errors:!1};let k={...D};const v={array:pt(),state:pt()},de=vt(r.mode),X=vt(r.reValidateMode),L=r.criteriaMode===ee.all,B=s=>i=>{clearTimeout(I),I=setTimeout(s,i)},U=async s=>{if(!r.disabled&&(D.isValid||k.isValid||s)){const i=r.resolver?H((await re()).errors):await oe(a,!0);i!==t.isValid&&v.state.next({isValid:i})}},h=(s,i)=>{!r.disabled&&(D.isValidating||D.validatingFields||k.isValidating||k.validatingFields)&&((s||Array.from(x.mount)).forEach(l=>{l&&(i?A(t.validatingFields,l,i):M(t.validatingFields,l))}),v.state.next({validatingFields:t.validatingFields,isValidating:!H(t.validatingFields)}))},Z=(s,i=[],l,p,f=!0,c=!0)=>{if(p&&l&&!r.disabled){if(u.action=!0,c&&Array.isArray(g(a,s))){const b=l(g(a,s),p.argA,p.argB);f&&A(a,s,b)}if(c&&Array.isArray(g(t.errors,s))){const b=l(g(t.errors,s),p.argA,p.argB);f&&A(t.errors,s,b),ua(t.errors,s)}if((D.touchedFields||k.touchedFields)&&c&&Array.isArray(g(t.touchedFields,s))){const b=l(g(t.touchedFields,s),p.argA,p.argB);f&&A(t.touchedFields,s,b)}(D.dirtyFields||k.dirtyFields)&&(t.dirtyFields=Ne(o,n)),v.state.next({name:s,isDirty:N(s,i),dirtyFields:t.dirtyFields,errors:t.errors,isValid:t.isValid})}else A(n,s,i)},Y=(s,i)=>{A(t.errors,s,i),v.state.next({errors:t.errors})},E=s=>{t.errors=s,v.state.next({errors:t.errors,isValid:!1})},he=(s,i,l,p)=>{const f=g(a,s);if(f){const c=g(n,s,R(l)?g(o,s):l);R(c)||p&&p.defaultChecked||i?A(n,s,i?c:ht(f._f)):Q(s,c),u.mount&&U()}},ve=(s,i,l,p,f)=>{let c=!1,b=!1;const C={name:s};if(!r.disabled){if(!l||p){(D.isDirty||k.isDirty)&&(b=t.isDirty,t.isDirty=C.isDirty=N(),c=b!==C.isDirty);const P=le(g(o,s),i);b=!!g(t.dirtyFields,s),P?M(t.dirtyFields,s):A(t.dirtyFields,s,!0),C.dirtyFields=t.dirtyFields,c=c||(D.dirtyFields||k.dirtyFields)&&b!==!P}if(l){const P=g(t.touchedFields,s);P||(A(t.touchedFields,s,l),C.touchedFields=t.touchedFields,c=c||(D.touchedFields||k.touchedFields)&&P!==l)}c&&f&&v.state.next(C)}return c?C:{}},qe=(s,i,l,p)=>{const f=g(t.errors,s),c=(D.isValid||k.isValid)&&J(i)&&t.isValid!==i;if(r.delayError&&l?(_=B(()=>Y(s,l)),_(r.delayError)):(clearTimeout(I),_=null,l?A(t.errors,s,l):M(t.errors,s)),(l?!le(f,l):f)||!H(p)||c){const b={...p,...c&&J(i)?{isValid:i}:{},errors:t.errors,name:s};t={...t,...b},v.state.next(b)}},re=async s=>{h(s,!0);const i=await r.resolver(n,r.context,oa(s||x.mount,a,r.criteriaMode,r.shouldUseNativeValidation));return h(s),i},ce=async s=>{const{errors:i}=await re(s);if(s)for(const l of s){const p=g(i,l);p?A(t.errors,l,p):M(t.errors,l)}else t.errors=i;return i},oe=async(s,i,l={valid:!0})=>{for(const p in s){const f=s[p];if(f){const{_f:c,...b}=f;if(c){const C=x.array.has(c.name),P=f._f&&ia(f._f);P&&D.validatingFields&&h([p],!0);const q=await Dt(f,x.disabled,n,L,r.shouldUseNativeValidation&&!i,C);if(P&&D.validatingFields&&h([p]),q[c.name]&&(l.valid=!1,i))break;!i&&(g(q,c.name)?C?fa(t.errors,q,c.name):A(t.errors,c.name,q[c.name]):M(t.errors,c.name))}!H(b)&&await oe(b,i,l)}}return l.valid},F=()=>{for(const s of x.unMount){const i=g(a,s);i&&(i._f.refs?i._f.refs.every(l=>!We(l)):!We(i._f.ref))&&Be(s)}x.unMount=new Set},N=(s,i)=>!r.disabled&&(s&&i&&A(n,s,i),!le(st(),o)),j=(s,i,l)=>Vr(s,x,{...u.mount?n:R(i)?o:ae(s)?{[s]:i}:i},l,i),W=s=>Le(g(u.mount?n:o,s,r.shouldUnregister?g(o,s,[]):[])),Q=(s,i,l={})=>{const p=g(a,s);let f=i;if(p){const c=p._f;c&&(!c.disabled&&A(n,s,Mr(i,c)),f=Te(c.ref)&&G(i)?"":i,Rr(c.ref)?[...c.ref.options].forEach(b=>b.selected=f.includes(b.value)):c.refs?Se(c.ref)?c.refs.length>1?c.refs.forEach(b=>(!b.defaultChecked||!b.disabled)&&(b.checked=Array.isArray(f)?!!f.find(C=>C===b.value):f===b.value)):c.refs[0]&&(c.refs[0].checked=!!f):c.refs.forEach(b=>b.checked=b.value===f):Ze(c.ref)?c.ref.value="":(c.ref.value=f,c.ref.type||v.state.next({name:s,values:O(n)})))}(l.shouldDirty||l.shouldTouch)&&ve(s,f,l.shouldTouch,l.shouldDirty,!0),l.shouldValidate&&ze(s)},se=(s,i,l)=>{for(const p in i){const f=i[p],c=`${s}.${p}`,b=g(a,c);(x.array.has(s)||T(f)||b&&!b._f)&&!ue(f)?se(c,f,l):Q(c,f,l)}},ne=(s,i,l={})=>{const p=g(a,s),f=x.array.has(s),c=O(i);A(n,s,c),f?(v.array.next({name:s,values:O(n)}),(D.isDirty||D.dirtyFields||k.isDirty||k.dirtyFields)&&l.shouldDirty&&v.state.next({name:s,dirtyFields:Ne(o,n),isDirty:N(s,c)})):p&&!p._f&&!G(c)?se(s,c,l):Q(s,c,l),Nt(s,x)&&v.state.next({...t}),v.state.next({name:u.mount?s:void 0,values:O(n)})},we=async s=>{u.mount=!0;const i=s.target;let l=i.name,p=!0;const f=g(a,l),c=b=>{p=Number.isNaN(b)||ue(b)&&isNaN(b.getTime())||le(b,g(n,l,b))};if(f){let b,C;const P=i.type?ht(f._f):Dr(s),q=s.type===Re.BLUR||s.type===Re.FOCUS_OUT,ys=!na(f._f)&&!r.resolver&&!g(t.errors,l)&&!f._f.deps||ca(q,g(t.touchedFields,l),t.isSubmitted,X,de),He=Nt(l,x,q);A(n,l,P),q?(f._f.onBlur&&f._f.onBlur(s),_&&_(0)):f._f.onChange&&f._f.onChange(s);const Ge=ve(l,P,q),xs=!H(Ge)||He;if(!q&&v.state.next({name:l,type:s.type,values:O(n)}),ys)return(D.isValid||k.isValid)&&(r.mode==="onBlur"?q&&U():q||U()),xs&&v.state.next({name:l,...He?{}:Ge});if(!q&&He&&v.state.next({...t}),r.resolver){const{errors:mt}=await re([l]);if(c(P),p){const bs=_t(t.errors,a,l),gt=_t(mt,a,bs.name||l);b=gt.error,l=gt.name,C=H(mt)}}else h([l],!0),b=(await Dt(f,x.disabled,n,L,r.shouldUseNativeValidation))[l],h([l]),c(P),p&&(b?C=!1:(D.isValid||k.isValid)&&(C=await oe(a,!0)));p&&(f._f.deps&&ze(f._f.deps),qe(l,C,b,Ge))}},Ve=(s,i)=>{if(g(t.errors,i)&&s.focus)return s.focus(),1},ze=async(s,i={})=>{let l,p;const f=Ce(s);if(r.resolver){const c=await ce(R(s)?s:f);l=H(c),p=s?!f.some(b=>g(c,b)):l}else s?(p=(await Promise.all(f.map(async c=>{const b=g(a,c);return await oe(b&&b._f?{[c]:b}:b)}))).every(Boolean),!(!p&&!t.isValid)&&U()):p=l=await oe(a);return v.state.next({...!ae(s)||(D.isValid||k.isValid)&&l!==t.isValid?{}:{name:s},...r.resolver||!s?{isValid:l}:{},errors:t.errors}),i.shouldFocus&&!p&&De(a,Ve,s?f:x.mount),p},st=s=>{const i={...u.mount?n:o};return R(s)?i:ae(s)?g(i,s):s.map(l=>g(i,l))},at=(s,i)=>({invalid:!!g((i||t).errors,s),isDirty:!!g((i||t).dirtyFields,s),error:g((i||t).errors,s),isValidating:!!g(t.validatingFields,s),isTouched:!!g((i||t).touchedFields,s)}),ds=s=>{s&&Ce(s).forEach(i=>M(t.errors,i)),v.state.next({errors:s?t.errors:{}})},ot=(s,i,l)=>{const p=(g(a,s,{_f:{}})._f||{}).ref,f=g(t.errors,s)||{},{ref:c,message:b,type:C,...P}=f;A(t.errors,s,{...P,...i,ref:p}),v.state.next({name:s,errors:t.errors,isValid:!1}),l&&l.shouldFocus&&p&&p.focus&&p.focus()},cs=(s,i)=>te(s)?v.state.subscribe({next:l=>s(j(void 0,i),l)}):j(s,i,!0),it=s=>v.state.subscribe({next:i=>{da(s.name,i.name,s.exact)&&la(i,s.formState||D,ps,s.reRenderRoot)&&s.callback({values:{...n},...t,...i})}}).unsubscribe,us=s=>(u.mount=!0,k={...k,...s.formState},it({...s,formState:k})),Be=(s,i={})=>{for(const l of s?Ce(s):x.mount)x.mount.delete(l),x.array.delete(l),i.keepValue||(M(a,l),M(n,l)),!i.keepError&&M(t.errors,l),!i.keepDirty&&M(t.dirtyFields,l),!i.keepTouched&&M(t.touchedFields,l),!i.keepIsValidating&&M(t.validatingFields,l),!r.shouldUnregister&&!i.keepDefaultValue&&M(o,l);v.state.next({values:O(n)}),v.state.next({...t,...i.keepDirty?{isDirty:N()}:{}}),!i.keepIsValid&&U()},nt=({disabled:s,name:i})=>{(J(s)&&u.mount||s||x.disabled.has(i))&&(s?x.disabled.add(i):x.disabled.delete(i))},Ue=(s,i={})=>{let l=g(a,s);const p=J(i.disabled)||J(r.disabled);return A(a,s,{...l||{},_f:{...l&&l._f?l._f:{ref:{name:s}},name:s,mount:!0,...i}}),x.mount.add(s),l?nt({disabled:J(i.disabled)?i.disabled:r.disabled,name:s}):he(s,!0,i.value),{...p?{disabled:i.disabled||r.disabled}:{},...r.progressive?{required:!!i.required,min:_e(i.min),max:_e(i.max),minLength:_e(i.minLength),maxLength:_e(i.maxLength),pattern:_e(i.pattern)}:{},name:s,onChange:we,onBlur:we,ref:f=>{if(f){Ue(s,i),l=g(a,s);const c=R(f.value)&&f.querySelectorAll&&f.querySelectorAll("input,select,textarea")[0]||f,b=ra(c),C=l._f.refs||[];if(b?C.find(P=>P===c):c===l._f.ref)return;A(a,s,{_f:{...l._f,...b?{refs:[...C.filter(We),c,...Array.isArray(g(o,s))?[{}]:[]],ref:{type:c.type,name:s}}:{ref:c}}}),he(s,!1,void 0,c)}else l=g(a,s,{}),l._f&&(l._f.mount=!1),(r.shouldUnregister||i.shouldUnregister)&&!(Fr(x.array,s)&&u.action)&&x.unMount.add(s)}}},lt=()=>r.shouldFocusError&&De(a,Ve,x.mount),fs=s=>{J(s)&&(v.state.next({disabled:s}),De(a,(i,l)=>{const p=g(a,l);p&&(i.disabled=p._f.disabled||s,Array.isArray(p._f.refs)&&p._f.refs.forEach(f=>{f.disabled=p._f.disabled||s}))},0,!1))},dt=(s,i)=>async l=>{let p;l&&(l.preventDefault&&l.preventDefault(),l.persist&&l.persist());let f=O(n);if(v.state.next({isSubmitting:!0}),r.resolver){const{errors:c,values:b}=await re();t.errors=c,f=b}else await oe(a);if(x.disabled.size)for(const c of x.disabled)A(f,c,void 0);if(M(t.errors,"root"),H(t.errors)){v.state.next({errors:{}});try{await s(f,l)}catch(c){p=c}}else i&&await i({...t.errors},l),lt(),setTimeout(lt);if(v.state.next({isSubmitted:!0,isSubmitting:!1,isSubmitSuccessful:H(t.errors)&&!p,submitCount:t.submitCount+1,errors:t.errors}),p)throw p},ms=(s,i={})=>{g(a,s)&&(R(i.defaultValue)?ne(s,O(g(o,s))):(ne(s,i.defaultValue),A(o,s,O(i.defaultValue))),i.keepTouched||M(t.touchedFields,s),i.keepDirty||(M(t.dirtyFields,s),t.isDirty=i.defaultValue?N(s,O(g(o,s))):N()),i.keepError||(M(t.errors,s),D.isValid&&U()),v.state.next({...t}))},ct=(s,i={})=>{const l=s?O(s):o,p=O(l),f=H(s),c=f?o:p;if(i.keepDefaultValues||(o=l),!i.keepValues){if(i.keepDirtyValues){const b=new Set([...x.mount,...Object.keys(Ne(o,n))]);for(const C of Array.from(b))g(t.dirtyFields,C)?A(c,C,g(n,C)):ne(C,g(c,C))}else{if(Qe&&R(s))for(const b of x.mount){const C=g(a,b);if(C&&C._f){const P=Array.isArray(C._f.refs)?C._f.refs[0]:C._f.ref;if(Te(P)){const q=P.closest("form");if(q){q.reset();break}}}}for(const b of x.mount)ne(b,g(c,b))}n=O(c),v.array.next({values:{...c}}),v.state.next({values:{...c}})}x={mount:i.keepDirtyValues?x.mount:new Set,unMount:new Set,array:new Set,disabled:new Set,watch:new Set,watchAll:!1,focus:""},u.mount=!D.isValid||!!i.keepIsValid||!!i.keepDirtyValues,u.watch=!!r.shouldUnregister,v.state.next({submitCount:i.keepSubmitCount?t.submitCount:0,isDirty:f?!1:i.keepDirty?t.isDirty:!!(i.keepDefaultValues&&!le(s,o)),isSubmitted:i.keepIsSubmitted?t.isSubmitted:!1,dirtyFields:f?{}:i.keepDirtyValues?i.keepDefaultValues&&n?Ne(o,n):t.dirtyFields:i.keepDefaultValues&&s?Ne(o,s):i.keepDirty?t.dirtyFields:{},touchedFields:i.keepTouched?t.touchedFields:{},errors:i.keepErrors?t.errors:{},isSubmitSuccessful:i.keepIsSubmitSuccessful?t.isSubmitSuccessful:!1,isSubmitting:!1})},ut=(s,i)=>ct(te(s)?s(n):s,i),gs=(s,i={})=>{const l=g(a,s),p=l&&l._f;if(p){const f=p.refs?p.refs[0]:p.ref;f.focus&&(f.focus(),i.shouldSelect&&te(f.select)&&f.select())}},ps=s=>{t={...t,...s}},ft={control:{register:Ue,unregister:Be,getFieldState:at,handleSubmit:dt,setError:ot,_subscribe:it,_runSchema:re,_getWatch:j,_getDirty:N,_setValid:U,_setFieldArray:Z,_setDisabledField:nt,_setErrors:E,_getFieldArray:W,_reset:ct,_resetDefaultValues:()=>te(r.defaultValues)&&r.defaultValues().then(s=>{ut(s,r.resetOptions),v.state.next({isLoading:!1})}),_removeUnmounted:F,_disableForm:fs,_subjects:v,_proxyFormState:D,get _fields(){return a},get _formValues(){return n},get _state(){return u},set _state(s){u=s},get _defaultValues(){return o},get _names(){return x},set _names(s){x=s},get _formState(){return t},get _options(){return r},set _options(s){r={...r,...s}}},subscribe:us,trigger:ze,register:Ue,handleSubmit:dt,watch:cs,setValue:ne,getValues:st,reset:ut,resetField:ms,clearErrors:ds,unregister:Be,setError:ot,setFocus:gs,getFieldState:at};return{...ft,formControl:ft}}function pa(e={}){const r=w.useRef(void 0),t=w.useRef(void 0),[a,o]=w.useState({isDirty:!1,isValidating:!1,isLoading:te(e.defaultValues),isSubmitted:!1,isSubmitting:!1,isSubmitSuccessful:!1,isValid:!1,submitCount:0,dirtyFields:{},touchedFields:{},validatingFields:{},errors:e.errors||{},disabled:e.disabled||!1,defaultValues:te(e.defaultValues)?void 0:e.defaultValues});r.current||(r.current={...e.formControl?e.formControl:ga(e),formState:a},e.formControl&&e.defaultValues&&!te(e.defaultValues)&&e.formControl.reset(e.defaultValues,e.resetOptions));const n=r.current.control;return n._options=e,w.useLayoutEffect(()=>n._subscribe({formState:n._proxyFormState,callback:()=>o({...n._formState}),reRenderRoot:!0}),[n]),w.useEffect(()=>n._disableForm(e.disabled),[n,e.disabled]),w.useEffect(()=>{if(n._proxyFormState.isDirty){const u=n._getDirty();u!==a.isDirty&&n._subjects.state.next({isDirty:u})}},[n,a.isDirty]),w.useEffect(()=>{e.values&&!le(e.values,t.current)?(n._reset(e.values,n._options.resetOptions),t.current=e.values,o(u=>({...u}))):n._resetDefaultValues()},[e.values,n]),w.useEffect(()=>{e.errors&&!H(e.errors)&&n._setErrors(e.errors)},[e.errors,n]),w.useEffect(()=>{n._state.mount||(n._setValid(),n._state.mount=!0),n._state.watch&&(n._state.watch=!1,n._subjects.state.next({...n._formState})),n._removeUnmounted()}),w.useEffect(()=>{e.shouldUnregister&&n._subjects.state.next({values:n._getWatch()})},[e.shouldUnregister,n]),r.current.formState=kr(a,n),r.current}const ya=Ae.cva("text-sm font-medium leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70"),tt=y.forwardRef(({className:e,...r},t)=>d.jsx(At.Root,{ref:t,className:m(ya(),e),...r}));tt.displayName=At.Root.displayName;const xa=Qs,Lr=y.createContext({}),ba=({...e})=>d.jsx(Lr.Provider,{value:{name:e.name},children:d.jsx(ta,{...e})}),ke=()=>{const e=y.useContext(Lr),r=y.useContext(Or),{getFieldState:t,formState:a}=Oe(),o=t(e.name,a);if(!e)throw new Error("useFormField should be used within <FormField>");const{id:n}=r;return{id:n,name:e.name,formItemId:`${n}-form-item`,formDescriptionId:`${n}-form-item-description`,formMessageId:`${n}-form-item-message`,...o}},Or=y.createContext({}),qr=y.forwardRef(({className:e,...r},t)=>{const a=y.useId();return d.jsx(Or.Provider,{value:{id:a},children:d.jsx("div",{ref:t,className:m("space-y-2",e),...r})})});qr.displayName="FormItem";const zr=y.forwardRef(({className:e,...r},t)=>{const{error:a,formItemId:o}=ke();return d.jsx(tt,{ref:t,className:m(a&&"text-destructive",e),htmlFor:o,...r})});zr.displayName="FormLabel";const Br=y.forwardRef(({...e},r)=>{const{error:t,formItemId:a,formDescriptionId:o,formMessageId:n}=ke();return d.jsx(Ft.Slot,{ref:r,id:a,"aria-describedby":t?`${o} ${n}`:`${o}`,"aria-invalid":!!t,...e})});Br.displayName="FormControl";const Ur=y.forwardRef(({className:e,...r},t)=>{const{formDescriptionId:a}=ke();return d.jsx("p",{ref:t,id:a,className:m("text-sm text-muted-foreground",e),...r})});Ur.displayName="FormDescription";const Hr=y.forwardRef(({className:e,children:r,...t},a)=>{const{error:o,formMessageId:n}=ke(),u=o?String(o==null?void 0:o.message):r;return u?d.jsx("p",{ref:a,id:n,className:m("text-sm font-medium text-destructive",e),...t,children:u}):null});Hr.displayName="FormMessage";const ha=Me.Root,va=Me.Trigger,Gr=y.forwardRef(({className:e,align:r="center",sideOffset:t=4,...a},o)=>d.jsx(Me.Content,{ref:o,align:r,sideOffset:t,className:m("z-50 w-64 rounded-md border bg-popover p-4 text-popover-foreground shadow-md outline-none data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",e),...a}));Gr.displayName=Me.Content.displayName;const Wr=y.forwardRef(({className:e,type:r,...t},a)=>d.jsx("input",{type:r,className:m("flex h-9 w-full rounded-md border border-border bg-background px-3 py-1 text-sm shadow-sm transition-colors file:border-0 file:bg-transparent file:text-sm file:font-medium placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:cursor-not-allowed disabled:opacity-50",e),ref:a,...t,autoCapitalize:"off",autoCorrect:"off",spellCheck:"false"}));Wr.displayName="Input";const wa=Fe.Root,Na=Fe.Trigger,$r=y.forwardRef(({className:e,align:r="center",sideOffset:t=4,...a},o)=>d.jsx(Fe.Portal,{children:d.jsx(Fe.Content,{ref:o,align:r,sideOffset:t,className:m("z-50 w-72 rounded-md border bg-popover p-4 text-popover-foreground shadow-md outline-none data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",e),...a})}));$r.displayName=Fe.Content.displayName;const Kr=y.forwardRef(({className:e,children:r,...t},a)=>d.jsxs(fe.Root,{ref:a,className:m("relative overflow-hidden",e),...t,children:[d.jsx(fe.Viewport,{className:"h-full w-full rounded-[inherit]",children:r}),d.jsx(rt,{}),d.jsx(fe.Corner,{})]}));Kr.displayName=fe.Root.displayName;const rt=y.forwardRef(({className:e,orientation:r="vertical",...t},a)=>d.jsx(fe.ScrollAreaScrollbar,{ref:a,orientation:r,className:m("flex touch-none select-none transition-colors",r==="vertical"&&"h-full w-2.5 border-l border-l-transparent p-[1px]",r==="horizontal"&&"h-2.5 border-t border-t-transparent p-[1px]",e),...t,children:d.jsx(fe.ScrollAreaThumb,{className:"relative flex-1 rounded-full bg-border"})}));rt.displayName=fe.ScrollAreaScrollbar.displayName;const Yr=y.forwardRef(({className:e,orientation:r="horizontal",decorative:t=!0,...a},o)=>d.jsx(St.Root,{ref:o,decorative:t,orientation:r,className:m("shrink-0 bg-border",r==="horizontal"?"h-[1px] w-full":"h-full w-[1px]",e),...a}));Yr.displayName=St.Root.displayName;const _a=S.Root,Ca=S.Trigger,Da=S.Close,Jr=({className:e,...r})=>d.jsx(S.Portal,{className:m(e),...r});Jr.displayName=S.Portal.displayName;const Qr=y.forwardRef(({className:e,...r},t)=>d.jsx(S.Overlay,{className:m("fixed inset-0 z-50 bg-background/80 backdrop-blur-sm data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0",e),...r,ref:t}));Qr.displayName=S.Overlay.displayName;const Fa=Ae.cva("fixed z-50 gap-4 bg-background p-6 shadow-lg transition ease-in-out data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:duration-300 data-[state=open]:duration-500",{variants:{side:{top:"inset-x-0 top-0 border-b data-[state=closed]:slide-out-to-top data-[state=open]:slide-in-from-top",bottom:"inset-x-0 bottom-0 border-t data-[state=closed]:slide-out-to-bottom data-[state=open]:slide-in-from-bottom",left:"inset-y-0 left-0 h-full w-3/4 border-r data-[state=closed]:slide-out-to-left data-[state=open]:slide-in-from-left sm:max-w-sm",right:"inset-y-0 right-0 h-full w-3/4 border-l data-[state=closed]:slide-out-to-right data-[state=open]:slide-in-from-right sm:max-w-sm"}},defaultVariants:{side:"right"}}),Xr=y.forwardRef(({side:e="right",className:r,children:t,...a},o)=>d.jsxs(Jr,{children:[d.jsx(Qr,{}),d.jsxs(S.Content,{ref:o,className:m(Fa({side:e}),r),...a,children:[t,d.jsxs(S.Close,{className:"absolute right-4 top-4 rounded-sm opacity-70 ring-offset-background transition-opacity hover:opacity-100 focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:pointer-events-none data-[state=open]:bg-secondary",children:[d.jsx(ge.Cross2Icon,{className:"h-4 w-4"}),d.jsx("span",{className:"sr-only",children:"Close"})]})]})]}));Xr.displayName=S.Content.displayName;const Zr=({className:e,...r})=>d.jsx("div",{className:m("flex flex-col space-y-2 text-center sm:text-left",e),...r});Zr.displayName="SheetHeader";const es=({className:e,...r})=>d.jsx("div",{className:m("flex flex-col-reverse sm:flex-row sm:justify-end sm:space-x-2",e),...r});es.displayName="SheetFooter";const ts=y.forwardRef(({className:e,...r},t)=>d.jsx(S.Title,{ref:t,className:m("text-lg font-semibold text-foreground",e),...r}));ts.displayName=S.Title.displayName;const rs=y.forwardRef(({className:e,...r},t)=>d.jsx(S.Description,{ref:t,className:m("text-sm text-muted-foreground",e),...r}));rs.displayName=S.Description.displayName;const Aa=({className:e,...r})=>d.jsx("div",{className:m("animate-pulse rounded-md bg-primary/10",e),...r}),Sa=({...e})=>{const{theme:r="system"}=ks.useTheme();return d.jsx(Vs.Toaster,{theme:r,className:"toaster group",toastOptions:{classNames:{toast:"group toast group-[.toaster]:bg-background group-[.toaster]:text-foreground group-[.toaster]:border-border group-[.toaster]:shadow-lg",description:"group-[.toast]:text-muted-foreground",actionButton:"group-[.toast]:bg-primary group-[.toast]:text-primary-foreground",cancelButton:"group-[.toast]:bg-muted group-[.toast]:text-muted-foreground"}},...e})},ss=y.forwardRef(({className:e,...r},t)=>d.jsx($e.Root,{className:m("peer inline-flex h-[24px] w-[44px] shrink-0 cursor-pointer items-center rounded-full border-2 border-transparent transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-slate-400 focus-visible:ring-offset-2 focus-visible:ring-offset-white disabled:cursor-not-allowed disabled:opacity-50 data-[state=checked]:bg-slate-900 data-[state=unchecked]:bg-slate-200 dark:focus-visible:ring-slate-800 dark:focus-visible:ring-offset-slate-950 dark:data-[state=checked]:bg-slate-50 dark:data-[state=unchecked]:bg-slate-800",e),...r,ref:t,children:d.jsx($e.Thumb,{className:m("pointer-events-none block h-5 w-5 rounded-full bg-white shadow-lg ring-0 transition-transform data-[state=checked]:translate-x-5 data-[state=unchecked]:translate-x-0 dark:bg-slate-950")})}));ss.displayName=$e.Root.displayName;const ka=pe.Root,as=y.forwardRef(({className:e,...r},t)=>d.jsx(pe.List,{ref:t,className:m("inline-flex h-9 items-center justify-center rounded-lg bg-muted p-1 text-muted-foreground",e),...r}));as.displayName=pe.List.displayName;const os=y.forwardRef(({className:e,...r},t)=>d.jsx(pe.Trigger,{ref:t,className:m("inline-flex items-center justify-center whitespace-nowrap rounded-md px-3 py-1 text-sm font-medium ring-offset-background transition-all focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50 data-[state=active]:bg-background data-[state=active]:text-foreground data-[state=active]:shadow",e),...r}));os.displayName=pe.Trigger.displayName;const is=y.forwardRef(({className:e,...r},t)=>d.jsx(pe.Content,{ref:t,className:m("mt-2 ring-offset-background focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2",e),...r}));is.displayName=pe.Content.displayName;const ns=y.forwardRef(({className:e,...r},t)=>d.jsx("textarea",{className:m("flex min-h-[60px] w-full rounded-md border border-input bg-transparent px-3 py-2 text-sm shadow-sm placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:cursor-not-allowed disabled:opacity-50",e),ref:t,...r,autoCapitalize:"off",autoCorrect:"off",spellCheck:"false"}));ns.displayName="Textarea";const Va=be.Portal,ja=be.Provider,Ra=be.Root,Ta=be.Trigger,ls=y.forwardRef(({className:e,sideOffset:r=4,...t},a)=>d.jsx(be.Content,{ref:a,sideOffset:r,className:m("z-50 overflow-hidden rounded-md bg-primary px-3 py-1.5 text-xs text-primary-foreground animate-in fade-in-0 zoom-in-95 data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",e),...t}));ls.displayName=be.Content.displayName;exports.Accordion=Ms;exports.AccordionContent=jt;exports.AccordionItem=kt;exports.AccordionTrigger=Vt;exports.Alert=Rt;exports.AlertDescription=Pt;exports.AlertDialog=Ls;exports.AlertDialogAction=Ut;exports.AlertDialogCancel=Ht;exports.AlertDialogContent=Lt;exports.AlertDialogDescription=Bt;exports.AlertDialogFooter=qt;exports.AlertDialogHeader=Ot;exports.AlertDialogTitle=zt;exports.AlertDialogTrigger=Os;exports.AlertTitle=Tt;exports.Avatar=Gt;exports.AvatarFallback=$t;exports.AvatarImage=Wt;exports.Badge=qs;exports.Button=It;exports.Card=Yt;exports.CardContent=Zt;exports.CardDescription=Xt;exports.CardFooter=er;exports.CardHeader=Jt;exports.CardTitle=Qt;exports.Command=Je;exports.CommandDialog=Bs;exports.CommandEmpty=cr;exports.CommandGroup=ur;exports.CommandInput=lr;exports.CommandItem=mr;exports.CommandList=dr;exports.CommandSeparator=fr;exports.CommandShortcut=gr;exports.Dialog=tr;exports.DialogContent=Ye;exports.DialogDescription=nr;exports.DialogFooter=or;exports.DialogHeader=ar;exports.DialogTitle=ir;exports.DialogTrigger=zs;exports.DropdownMenu=Us;exports.DropdownMenuCheckboxItem=hr;exports.DropdownMenuContent=xr;exports.DropdownMenuGroup=Gs;exports.DropdownMenuItem=br;exports.DropdownMenuLabel=wr;exports.DropdownMenuPortal=Ws;exports.DropdownMenuRadioGroup=Ks;exports.DropdownMenuRadioItem=vr;exports.DropdownMenuSeparator=Nr;exports.DropdownMenuShortcut=_r;exports.DropdownMenuSub=$s;exports.DropdownMenuSubContent=yr;exports.DropdownMenuSubTrigger=pr;exports.DropdownMenuTrigger=Hs;exports.Form=xa;exports.FormControl=Br;exports.FormDescription=Ur;exports.FormField=ba;exports.FormItem=qr;exports.FormLabel=zr;exports.FormMessage=Hr;exports.HoverCard=ha;exports.HoverCardContent=Gr;exports.HoverCardTrigger=va;exports.Input=Wr;exports.Label=tt;exports.Popover=wa;exports.PopoverContent=$r;exports.PopoverTrigger=Na;exports.ScrollArea=Kr;exports.ScrollBar=rt;exports.Separator=Yr;exports.Sheet=_a;exports.SheetClose=Da;exports.SheetContent=Xr;exports.SheetDescription=rs;exports.SheetFooter=es;exports.SheetHeader=Zr;exports.SheetTitle=ts;exports.SheetTrigger=Ca;exports.Skeleton=Aa;exports.Switch=ss;exports.Tabs=ka;exports.TabsContent=is;exports.TabsList=as;exports.TabsTrigger=os;exports.Textarea=ns;exports.Toaster=Sa;exports.Tooltip=Ra;exports.TooltipContent=ls;exports.TooltipPortal=Va;exports.TooltipProvider=ja;exports.TooltipTrigger=Ta;exports.appendErrors=jr;exports.badgeVariants=Kt;exports.buttonVariants=Ee;exports.cn=m;exports.get=g;exports.set=A;exports.useForm=pa;exports.useFormField=ke;
|