import{$t as e,Kt as t,Q as n,lr as r,or as i,st as a}from"./dist-CoD0k1Bd.js";import{i as o,o as s}from"./Primitive-GZZWGonv.js";var c=a({__name:`Alert`,props:{class:{type:[Boolean,null,String,Object,Array]},variant:{}},setup(a){let s=a;return(c,l)=>(t(),n(`div`,{"data-slot":`alert`,class:r(i(o)(i(u)({variant:a.variant}),s.class)),role:`alert`},[e(c.$slots,`default`)],2))}}),l=a({__name:`AlertDescription`,props:{class:{type:[Boolean,null,String,Object,Array]}},setup(a){let s=a;return(a,c)=>(t(),n(`div`,{"data-slot":`alert-description`,class:r(i(o)(`text-muted-foreground col-start-2 text-sm [&_p]:leading-relaxed`,s.class))},[e(a.$slots,`default`)],2))}}),u=s(`relative w-full rounded-lg border px-4 py-3 text-sm grid has-[>svg]:grid-cols-[calc(var(--spacing)*4)_1fr] grid-cols-[0_1fr] has-[>svg]:gap-x-3 gap-y-0.5 items-start [&>svg]:size-4 [&>svg]:translate-y-0.5 [&>svg]:text-current`,{variants:{variant:{default:`bg-card text-card-foreground`,destructive:`text-destructive bg-card [&>svg]:text-current *:data-[slot=alert-description]:text-destructive/90`}},defaultVariants:{variant:`default`}});export{c as n,l as t};