import{L as e,Nt as t,O as n,Pt as r,Vt as i,Wt as a,d as o,ft as s,g as c,o as l,s as u,z as d}from"./xY0c-UfG.js";import"./xihTtKlq.js";import{i as f,r as p}from"./Cvnwo5OO.js";var m=p({base:`relative w-full rounded-[var(--radius-md)] border px-3 py-2 text-sm flex items-start gap-2 [&>svg]:shrink-0 [&>svg]:size-4 [&>svg]:mt-0.5`,variants:{variant:{default:`bg-[var(--color-bg-surface)] text-[var(--color-text-primary)] border-[var(--color-border)]`,destructive:`bg-[color-mix(in_srgb,var(--color-accent-fg)_10%,transparent)] text-[var(--color-text-primary)] border-[color-mix(in_srgb,var(--color-accent-fg)_30%,transparent)] [&>svg]:text-[var(--color-accent-fg)]`,info:`bg-[color-mix(in_srgb,var(--color-accent-fg)_10%,transparent)] text-[var(--color-text-primary)] border-[color-mix(in_srgb,var(--color-accent-fg)_30%,transparent)] [&>svg]:text-[var(--color-accent-fg)]`}},defaultVariants:{variant:`default`}}),h=d(`<div><!></div>`);function g(d,p){r(p,!0);let g=l(p,`variant`,3,`default`),_=l(p,`ref`,15,null),v=u(p,[`$$slots`,`$$events`,`$$legacy`,`class`,`variant`,`ref`,`children`]);var y=h();c(y,e=>({class:e,role:`alert`,...v}),[()=>f(m({variant:g()}),p.class)]),n(s(y),()=>p.children??a),i(y),o(y,e=>_(e),()=>_()),e(d,y),t()}d(`<h5><!></h5>`);var _=d(`<div><!></div>`);function v(d,p){r(p,!0);let m=l(p,`ref`,15,null),h=u(p,[`$$slots`,`$$events`,`$$legacy`,`class`,`ref`,`children`]);var g=_();c(g,e=>({class:e,...h}),[()=>f(`text-sm text-[var(--color-text-primary)] leading-snug`,p.class)]),n(s(g),()=>p.children??a),i(g),o(g,e=>m(e),()=>m()),e(d,g),t()}export{g as n,v as t};