import{d as b,o as n,c as f,g,n as o,s as m,a as s,r as a,i as r,t as l,aS as u,I as p,bM as y}from"./C6MRUCyE.js";const x={class:"flex flex-col gap-2"},h={class:"font-semibold flex justify-between gap-4"},v={class:"font-normal text-sm sm:text-base"},w={class:"ml-auto w-fit"},S=b({__name:"Admonition",props:{type:{type:String,default:"info"},header:{type:String,default:""},body:{type:String,default:""}},setup(e){const d={info:"border-brand-blue bg-bg-blue",warning:"border-brand-orange bg-bg-orange",critical:"border-brand-red bg-bg-red"},i={info:"text-brand-blue",warning:"text-brand-orange",critical:"text-brand-red"},c={info:u,warning:p,critical:y};return(t,C)=>(n(),f("div",{class:o(["flex rounded-2xl border-2 border-solid p-4 gap-4 font-semibold text-contrast",d[e.type]])},[(n(),g(m(c[e.type]),{class:o(["hidden h-8 w-8 flex-none sm:block",i[e.type]])},null,8,["class"])),s("div",x,[s("div",h,[a(t.$slots,"header",{},()=>[r(l(e.header),1)])]),s("div",v,[a(t.$slots,"default",{},()=>[r(l(e.body),1)])])]),s("div",w,[a(t.$slots,"actions")])],2))}});export{S as _};