import{_ as m}from"./Icon.DriN-LnI.js";import{_}from"./Button.CpdQ1HRJ.js";import{_ as p}from"./Accordion.ClnxDlwE.js";import{f as d,o as u,k as g,w as o,b as s,l as n,a,t as x}from"./entry.DV6a5_Hb.js";const b={class:"py-3 font-semibold text-[var(--text-light-primary)] text-left md:text-base"},h=["innerHTML"],k=d({__name:"Accordion",props:{questions:{}},setup(f){return(r,y)=>{const i=m,c=_,l=p;return u(),g(l,{items:r.questions,ui:{wrapper:"flex flex-col w-full accordion-faq"}},{default:o(({item:e,open:t})=>[s(c,{color:"gray",variant:"ghost",ui:{rounded:"!rounded-lg",padding:{sm:"p-2"}},class:n(`${[t?"!rounded-b-none":"rounded-b-lg"]} mt-2 md:mt-4 px-4 md:px-7 bg-[var(--bg-light-tertiary)] hover:bg-[var(--bg-light-tertiary)]`)},{trailing:o(()=>[s(i,{name:"",class:n(`${[t?"i-heroicons-minus-solid":"i-heroicons-plus-solid"]} w-6 h-6 ms-auto bg-[var(--light-primary)]`)},null,8,["class"])]),default:o(()=>[a("h2",b,x(e.label),1)]),_:2},1032,["class"])]),item:o(({item:e,close:t})=>[a("p",{class:n(`${[t?"mt-[-6px]":"mt-0"]} 
            text-accordion bg-[var(--bg-light-tertiary)] p-4 md:px-7 md:text-base text-[var(--text-light-secondary)] mb-[-10px] rounded-b-lg`),innerHTML:e.content},null,10,h)]),_:1},8,["items"])}}});export{k as _};