1import{d as m,r as p,o as n,c as a,a as l,x as r,j as v,n as o,u as g,b as c,h as y,w as C,a5 as w,aq as B,T as x}from"./debounce-066c2ac9.js";import{r as b}from"./ChevronDownIcon-78a04932.js";const k={key:0},N=m({__name:"VAccordion",props:{customClass:{type:String,default:null},hasContent:{type:Boolean,default:!1},contentClass:{type:String,default:"bg-white/[0.5]"},noIcon:{type:Boolean},isOpen:{type:Boolean,default:!1}},setup(t){const s=p(t.isOpen),i=()=>{s.value=!s.value},h=e=>{e.style.height="0"},u=e=>{e.style.height=e.scrollHeight+"px"},f=e=>{e.style.height=e.scrollHeight+"px"},d=e=>{e.style.height="0"};return(e,S)=>(n(),a("div",null,[l("div",{onClick:i,class:o(["flex items-center justify-between p-6 bg-white text-xl",t.customClass])},[r(e.$slots,"title"),t.noIcon?c("",!0):(n(),v(g(b),{key:0,class:o(["w-4 h-4 transition",s.value?"rotate-180":""])},null,8,["class"]))],2),y(x,{onBeforeEnter:h,onEnter:u,onBeforeLeave:f,onLeave:d},{default:C(()=>[t.hasContent?w((n(),a("nav",k,[l("div",{class:o(t.contentClass)},[r(e.$slots,"content")],2)],512)),[[B,s.value]]):c("",!0)]),_:3})]))}});export{N as _};
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.