import{D as u,E as p,I as v,J as g,x as c,h as l,z as d,U as h,T as A,l as w,k as f,C as b,Z as D}from"./Dxe7MGPQ.js";var m={};(function(e){Object.defineProperty(e,"__esModule",{value:!0});var n="fas",i="angle-down",t=448,r=512,o=[8964],a="f107",s="M201.4 374.6c12.5 12.5 32.8 12.5 45.3 0l160-160c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0L224 306.7 86.6 169.4c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3l160 160z";e.definition={prefix:n,iconName:i,icon:[t,r,o,a,s]},e.faAngleDown=e.definition,e.prefix=n,e.iconName=i,e.width=t,e.height=r,e.ligatures=o,e.unicode=a,e.svgPathData=s,e.aliases=o})(m);const N=p({name:"AccordionList",components:{FontAwesomeIcon:v},props:["title","content","textSize"],data(){return{accordiongIcon:m.faAngleDown,openAccordion:!1}}},"$ZdRvyQqDIc"),k={class:"w-full border-b border-solid border-gray-border mt-4 pb-4 mx-auto"},_=["innerHTML"];function $(e,n,i,t,r,o){const a=g("font-awesome-icon");return c(),l("div",k,[e.title?(c(),l("div",{key:0,class:d(["cursor-pointer select-none text-lg",e.textSize]),onClick:n[0]||(n[0]=s=>e.openAccordion=!e.openAccordion)},[h(A(e.title)+" ",1),w(a,{icon:e.accordiongIcon,size:"sm",class:d(["transform transition-all duration-300 h-5 inline",{"rotate-180":e.openAccordion,"":!e.openAccordion}])},null,8,["icon","class"])],2)):f("",!0),b("div",{class:d(["pt-4",{block:e.openAccordion,hidden:!e.openAccordion}])},[e.content?(c(),l("span",{key:0,innerHTML:e.content},null,8,_)):f("",!0),D(e.$slots,"default")],2)])}const z=u(N,[["render",$]]);export{z as default};