import{jsx as a}from"react/jsx-runtime";import*as l from"react";import{cva as d}from"class-variance-authority";import{c as s}from"./utils-CMbmcP35.js";const g=d("relative w-full rounded-lg border p-4 [&>svg~*]:pl-7 [&>svg+div]:translate-y-[-3px] [&>svg]:absolute [&>svg]:left-4 [&>svg]:top-4 [&>svg]:text-foreground",{variants:{variant:{default:"bg-background text-foreground",destructive:"border-destructive/50 text-destructive dark:border-destructive [&>svg]:text-destructive",warning:"border-yellow-500/50 text-yellow-900 dark:text-yellow-100 bg-yellow-50 dark:bg-yellow-900/20 [&>svg]:text-yellow-600 dark:[&>svg]:text-yellow-400",success:"border-green-500/50 text-green-900 dark:text-green-100 bg-green-50 dark:bg-green-900/20 [&>svg]:text-green-600 dark:[&>svg]:text-green-400",info:"border-blue-500/50 text-blue-900 dark:text-blue-100 bg-blue-50 dark:bg-blue-900/20 [&>svg]:text-blue-600 dark:[&>svg]:text-blue-400"}},defaultVariants:{variant:"default"}}),i=l.forwardRef(({className:e,variant:t,...r},o)=>a("div",{ref:o,role:"alert",className:s(g({variant:t}),e),...r}));i.displayName="Alert";const n=l.forwardRef(({className:e,...t},r)=>a("h5",{ref:r,className:s("mb-1 font-medium leading-none tracking-tight",e),...t}));n.displayName="AlertTitle";const v=l.forwardRef(({className:e,...t},r)=>a("div",{ref:r,className:s("text-sm [&_p]:leading-relaxed",e),...t}));v.displayName="AlertDescription";export{i as A,v as a,n as b};
