1import{_ as w}from"./mK3A30g4.js";import{a as _,S as b}from"./DT9TCT83.js";import{N as y}from"./D7ZV-Xvd.js";import{E as k}from"./-A1Bj4ve.js";import{e as S,n as B,y as C,f as s,o as r,c as p,a as t,t as d,b as x,w as f,F as $,r as M,i as N,O as D,g as v,j,l as T}from"./BBcOK2SC.js";import"./Blz3CJFz.js";import"./2yr96UCY.js";import"./BR5EhWGF.js";const F={key:0,class:"depoimentos relative px-9 pt-10 pb-32 lg:h-full lg:px-0 lg:py-25",style:{background:"transparent linear-gradient(180deg, #744ec0 0%, #00b1ab 100%) 0% 0%"}},V={class:"container mx-auto flex h-full flex-col gap-6 px-8 pb-12 lg:gap-6 lg:px-16"},q={class:"grid grid-cols-1 gap-15 lg:grid-cols-2 lg:items-start"},z={class:"space-y-3"},L={class:"text-sm font-medium text-white"},U={key:0,class:"w-full lg:max-w-lg xl:max-w-2xl"},A=["src","title"],E=["id"],O=["innerHTML"],G={class:"flex justify-start gap-10"},H={class:"flex flex-col gap-4"},I={class:"text-base font-bold text-white lg:text-xl"},J={class:"text-base text-white lg:text-xl"},P={class:"hidden h-16.5 w-26.5 items-center overflow-hidden rounded-2xl bg-white p-1 lg:flex"},W=S({__name:"SectionDepoimentos",async setup(K){let a,u;const{data:i}=([a,u]=B(()=>C("/api/depoimentos","$VN2mx7GJWG")),a=await a,u(),a),l=j(1),c=T(()=>i.value?.length||0),g=n=>{const e=document.querySelector(`.depoimentos .swiper-button-${n}`);e?e.click():console.warn(`[Swiper Navigation]: Botão de navegação '.swiper-button-${n}' não foi encontrado no DOM.`)},m=n=>{l.value+=n==="next"?1:-1;const e=c.value;l.value>e?l.value=1:l.value<1&&(l.value=e)};return(n,e)=>{const h=w;return s(i)&&s(i).length>0?(r(),p("section",F,[t("div",V,[e[7]||(e[7]=t("h2",{class:"font-Museo-moderno text-[40px] font-semibold text-white lg:text-[50px]"}," Depoimentos ",-1)),t("div",q,[t("div",z,[e[4]||(e[4]=t("p",{class:"text-sm leading-6 text-white lg:text-base"}," Descubra o que os residentes tem a dizer sobre a transformação que vivem no Mindhub. ",-1)),t("span",L,d(l.value)+" / "+d(c.value),1)]),t("div",null,[x(s(b),{modules:[s(k),s(y)],onSlidePrevTransitionStart:e[0]||(e[0]=o=>m("prev")),onSlideNextTransitionStart:e[1]||(e[1]=o=>m("next")),"slides-per-view":1,loop:!0,pagination:!0,navigation:!0,crossFade:!0,class:"h-full",style:{margin:"0"}},{default:f(()=>[(r(!0),p($,null,M(s(i),o=>(r(),N(s(_),{class:"depoimentos-swiper-slide flex",key:o._id,style:D(o.videoUrl?"":"justify-content: flex-end")},{default:f(()=>[o.videoUrl&&o.videoUrl!==""?(r(),p("div",U,[t("iframe",{class:"w-full rounded-xl sm:w-2/3 lg:h-5/6 lg:w-full",src:o.videoUrl,frameborder:"0",title:`VÃdeo de depoimento de ${o.name}, ${o.position}`},null,8,A)])):v("",!0),t("div",{class:"flex h-full max-w-125 flex-col gap-12 lg:mb-10.5 lg:w-full",id:o._id},[t("div",{class:"text-sm text-white lg:text-xl lg:leading-10",innerHTML:o.text.html},null,8,O),t("div",G,[t("div",H,[t("p",I,d(o.name),1),t("p",J,d(o.position),1)]),t("div",P,[x(h,{width:106,height:66,src:o.image._path,alt:"Logo do parceiro"},null,8,["src"])])])],8,E)]),_:2},1032,["style"]))),128))]),_:1},8,["modules"])])]),t("button",{type:"button","aria-label":"Botão para mover para a esquerda o slide de depoimentos",class:"nav-button bg-gray/40 hover:bg-primary-purple-400 absolute top-1/2 left-[3dvw] z-10 scale-75 rounded-[60%] px-4.5 py-2.5 transition-all lg:scale-100",onClick:e[2]||(e[2]=o=>g("prev"))},[...e[5]||(e[5]=[t("svg",{class:"rotate-180",xmlns:"http://www.w3.org/2000/svg",width:"17.973",height:"30.38",viewBox:"0 0 17.973 30.38"},[t("path",{id:"right",d:"M1212.426,67.231l12.868,10.416a3.2,3.2,0,0,1,0,5.194l-13.034,10.55",transform:"translate(-1210.15 -65.121)",fill:"none",stroke:"#fff","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"3"})],-1)])]),t("button",{type:"button","aria-label":"Botão para mover para a direita o slide de depoimentos",class:"nav-button bg-gray/40 hover:bg-primary-purple-400 absolute top-1/2 right-[3dvw] z-10 scale-75 rounded-[60%] px-4.5 py-2.5 transition-all lg:scale-100",onClick:e[3]||(e[3]=o=>g("next"))},[...e[6]||(e[6]=[t("svg",{xmlns:"http://www.w3.org/2000/svg",width:"17.973",height:"30.38",viewBox:"0 0 17.973 30.38"},[t("path",{id:"right",d:"M1212.426,67.231l12.868,10.416a3.2,3.2,0,0,1,0,5.194l-13.034,10.55",transform:"translate(-1210.15 -65.121)",fill:"none",stroke:"#fff","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"3"})],-1)])])])])):v("",!0)}}}),se=Object.assign(W,{__name:"MoleculesSectionDepoimentos"});export{se as default};
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.