import{_ as L,L as E,t as B,C as P,a0 as V,r as a,o as s,c as l,a as n,x as r,j as d,k as h,F as v,E as w,b as _,e as c,G as N,p as I,f as A}from"./app.2934e07b.js";import{S as F,P as H,N as z,A as M,a as T,b as j}from"./swiper-slide.b36045cb.js";import{E as D}from"./effect-fade.d919fe95.js";/* empty css                        */F.use([H,z,M]);const G={name:"testimonials",props:["sectionClasses","contentClasses","containerClasses","componentStyles","buttons","testimonials"],components:{Anchor:E,Swiper:T,SwiperSlide:j,CustomPicture:B,CustomSvg:P,Heading:V},setup(){return{modules:[D]}},data(){return{swiper:null,options:{slider:{slidesPerView:1,centeredSlides:!1,spaceBetween:50,navigation:{nextEl:".testimonial-next",prevEl:".testimonial-prev"},pagination:{clickable:!0,el:".testimonial-pagination"},autoplay:{delay:5e3},breakpoints:{320:{slidesPerView:1,spaceBetween:50},769:{slidesPerView:1,spaceBetween:50},1025:{slidesPerView:1,spaceBetween:50},1281:{slidesPerView:1,spaceBetween:50}}}},itemCount:this.testimonials.length}},methods:{updateCenteredClass(t){if(!t.navigation)return;const p=t.params.navigation.lockClass,i=t.navigation.prevEl||null,u=t.navigation.nextEl||null,o=i!==null&&u!==null&&i.classList.contains(p)&&u.classList.contains(p);this.previouslyLocked!==o&&(t.el.classList.toggle("swiper-locked",o),t.update(),this.previouslyLocked=o)},onResize(t){this.updateCenteredClass(t)},onSwiper(t){this.swiper=t}}},C=t=>(I("data-v-55bcd198"),t=t(),A(),t),R={key:0,class:"image-container"},q={class:"content-container"},J=["innerHTML"],K={class:"extras-container"},O=C(()=>n("div",{class:"empty-container"},null,-1)),Q={class:"navigation-container"},U={key:0,class:"buttons-container"},W={class:"slider-navigation"},X={class:"testimonial-prev",slot:"button-prev"},Y=C(()=>n("div",{class:"testimonial-pagination",slot:"pagination"},null,-1)),Z={class:"testimonial-next",slot:"button-next"};function $(t,p,i,u,o,f){const k=a("custom-picture"),y=a("heading"),x=a("swiper-slide"),S=a("anchor"),g=a("custom-svg"),b=a("swiper");return s(),l("section",{class:r(i.sectionClasses)},[n("div",{class:r(i.contentClasses)},[n("div",{class:r(i.containerClasses)},[o.itemCount>0?(s(),d(b,{key:0,class:"testimonials",autoplay:o.options.slider.autoplay,breakpoints:o.options.slider.breakpoints,pagination:o.options.slider.pagination,navigation:o.options.slider.navigation,onSwiper:f.onSwiper},{default:h(()=>[(s(!0),l(v,null,w(i.testimonials,e=>(s(),d(x,null,{default:h(()=>[e.picture.url?(s(),l("div",R,[_(k,{pictureClasses:"img-container",src:e.picture.url,sources:e.picture.media,width:e.picture.width,height:e.picture.height,alt:e.picture.alt,title:e.picture.alt},null,8,["src","sources","width","height","alt","title"])])):c("",!0),n("div",q,[e.heading?(s(),d(y,{key:0,class:"heading",config:e.heading},null,8,["config"])):c("",!0),e.content?(s(),l("div",{key:1,class:"content",innerHTML:e.content},null,8,J)):c("",!0)])]),_:2},1024))),256)),n("div",K,[O,n("div",Q,[i.buttons?(s(),l("div",U,[(s(!0),l(v,null,w(i.buttons,e=>{var m;return s(),d(S,{href:e.href,class:r(e.class),target:(m=e.target)!=null?m:"_self",textContent:N(e.text)},null,8,["href","class","target","textContent"])}),256))])):c("",!0),n("div",W,[n("div",X,[_(g,{type:"icon",name:"icon-arrow",id:"arrow-prev",title:"",desc:""})]),Y,n("div",Z,[_(g,{type:"icon",name:"icon-arrow",id:"arrow-next",title:"",desc:""})])])])])]),_:1},8,["autoplay","breakpoints","pagination","navigation","onSwiper"])):c("",!0)],2)],2)],2)}const ie=L(G,[["render",$],["__scopeId","data-v-55bcd198"]]);export{ie as default};