import{u as r}from"./useNl2br-N6ZYQSPJ.js";import{d as p,c as o,o as a,b as s,t as n,h as m,F as _,p as h,u,A as b,n as g}from"./app-DJb_CRLj.js";const v=["id"],y={class:"row"},f={class:"col-12"},w={class:"card main-forms"},k={class:"card-body ps-md-5 ps-4 pe-md-5 pe-4 p-5 pt-4"},q={class:"w-100 text-center text-dark mb-2 mt-2 fw-bolder lts-05 lh-30 fs-5"},B={class:"w-100 text-center text-gray mb-5 fw-normal lts-05 lh-20 fs-8"},M={class:"accordion",id:"accordionMenu"},C=["index"],F={class:"accordion-header"},L=["data-bs-target","aria-controls"],N={class:"pe-2 fs-8 lh-25"},z=["id"],H={class:"accordion-body"},S={class:"row"},T={class:"col-12 mb-2"},V=["innerHTML"],x={key:0,class:"empty-item bg-white lts-05 p-5 text-center"},$=p({__name:"FaqBox",props:{status:{},component_id:{},data:{}},setup(A){return(t,d)=>{var i,c;return a(),o("div",{id:"component-"+t.component_id,class:g({container:!0,readonly:t.status=="dev"}),style:b("margin-top:"+((i=t.data.style)==null?void 0:i.margin.top)+"px; margin-bottom:"+(((c=t.data.style)==null?void 0:c.margin.bottom)??20)+"px;")},[s("div",y,[s("div",f,[s("div",w,[s("div",k,[s("div",q,n(t.data.content.title),1),s("div",B,n(t.data.content.description),1),s("div",M,[(a(!0),o(_,null,h(t.data.faq,(l,e)=>(a(),o("div",{key:e,index:e,class:"accordion-item"},[s("h2",F,[s("button",{style:{"border-radius":"18px"},class:"accordion-button collapsed",type:"button","data-bs-toggle":"collapse","data-bs-target":"#collapse-menu-"+e,"aria-expanded":"false","aria-controls":"collapse-menu-"+e},[d[0]||(d[0]=s("i",{class:"ri-question-line fw-light text-light-gray me-2"},null,-1)),s("span",N,n(e+1+". "+l.question),1)],8,L)]),s("div",{id:"collapse-menu-"+e,class:"accordion-collapse collapse","data-bs-parent":"#accordionMenu"},[s("div",H,[s("div",S,[s("div",T,[s("p",{class:"text-dark lh-30 mb-0",innerHTML:u(r)(l.answer)},null,8,V)])])])],8,z)],8,C))),128)),t.data.faq.length==0?(a(),o("div",x,n(t.$t("messages.sentence.no_items_have_been_added_yet")),1)):m("",!0)])])])])])],14,v)}}});export{$ as default};
