import{b as m,x as o,o as d,f as p,h as l,k as a,l as r,H as f,I as _,m as v,q as h}from"./entry.5c8819da.js";const g={class:"-mt-4"},w=m({__name:"Callout",props:{type:{type:String,default:"info",validator(s){return["info","success","warning","danger","primary"].includes(s)}},modelValue:{required:!1,default:o(!1)}},emits:["update:modelValue"],setup(s,{emit:c}){const e=o(s.modelValue),u=()=>{e.value=!e.value,c("update:modelValue",e.value)};return(t,y)=>{const n=v,i=h;return d(),p("div",{class:r(["relative px-4 mt-4 mb-4 text-sm leading-relaxed callout rounded-xl",[s.type]])},[l("span",{class:"flex items-center justify-between",onClick:u},[a(n,{use:t.$slots.summary},null,8,["use"]),a(i,{name:"heroicons-outline:chevron-right",class:r(["w-5 h-5 transition-transform transform",{"rotate-90":e.value}])},null,8,["class"])]),f(l("div",g,[a(n,{use:t.$slots.content},null,8,["use"])],512),[[_,e.value]])],2)}}});export{w as _};
