1import{o as e}from"./rolldown-runtime-DAXXjFlN.js";import{C as t,x as n}from"./vendor-react-D7IHMnuo.js";import{t as r}from"./dist-BMvf3tHZ.js";import{t as i}from"./utils-BTCdVlRL.js";import{t as a}from"./dist-DxlWxqp_.js";import{t as o}from"./Spinner-BDTT7_nO.js";var s=e(t(),1),c=n(),l=a(`cursor-pointer inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-md text-sm font-medium transition-all disabled:cursor-not-allowed disabled:opacity-50 **:[svg]:pointer-events-none **:[svg:not([class*=size-])]:size-4 shrink-0 **:[svg]:shrink-0 outline-none focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:ring-3 aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive`,{variants:{variant:{default:`bg-primary-blue text-primary-foreground hover:bg-primary-blue/90`,destructive:`bg-destructive text-primary-foreground hover:bg-destructive/90 focus-visible:ring-destructive/20 dark:focus-visible:ring-destructive/40 dark:bg-destructive/60`,outline:`border bg-background shadow-xs hover:bg-accent-50 hover:text-accent-foreground dark:bg-input/30 dark:border-input dark:hover:bg-input/50`,outlineDestructive:`border bg-background shadow-xs hover:bg-destructive/10 hover:text-accent-foreground dark:bg-input/30 dark:border-input dark:hover:bg-input/50 text-semantic-error hover:text-semantic-error border-semantic-error`,outlineWarning:`border bg-background shadow-xs hover:bg-semantic-warning/10 text-semantic-warning hover:text-semantic-warning border-semantic-warning`,secondary:`bg-secondary text-secondary-foreground hover:bg-secondary/80`,ghost:`text-foreground hover:bg-accent-50 hover:text-accent-foreground data-[state=active]:bg-accent-50 data-[state=active]:text-accent-foreground data-[state=active]:hover:bg-accent-50 data-[state=open]:bg-accent-50 data-[state=open]:text-accent-foreground dark:hover:bg-accent/50`,link:`text-primary underline-offset-4 hover:underline`,warning:`bg-semantic-warning text-primary-foreground hover:bg-semantic-warning/90`},size:{default:`h-9 px-4 py-2 has-[>svg]:px-3`,sm:`h-8 rounded-md gap-1.5 px-3 has-[>svg]:px-2.5`,lg:`h-10 rounded-md px-6 has-[>svg]:px-4`,icon:`size-9`,"icon-sm":`size-8`,"icon-lg":`size-10`}},defaultVariants:{variant:`default`,size:`default`}}),u=s.forwardRef(({className:e,variant:t,size:n,loading:a=!1,asChild:s=!1,...u},d)=>(0,c.jsx)(s?r:`button`,{"data-slot":`button`,"data-variant":t||`default`,type:u.type||`button`,className:i(l({variant:t,size:n,className:e})),disabled:a||u.disabled,ref:d,...u,children:s?u.children:(0,c.jsxs)(c.Fragment,{children:[a&&(0,c.jsx)(o,{}),` `,u.children]})}));u.displayName=`Button`;export{l as n,u as t};
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.