import{_ as p,c as n,o as r,b as e,t as o,h,F as m,f as u,n as _}from"../entries/pages.x0_YHtxO.js";const f={props:["customersOpinions","customerOpinionDesc"],data(){return{currentSlide:0}},methods:{changeSlide(t){t==="next"?this.currentSlide=(this.currentSlide+1)%this.customersOpinions.length:this.currentSlide=(this.currentSlide-1+this.customersOpinions.length)%this.customersOpinions.length}}},g={class:"text-center font-bold md:text-4xl text-3xl text-liberty-blue"},b=["innerHTML"],w={class:"flex items-center md:gap-4 gap-1"},y={class:"material-symbols-outlined text-[#171717] sm:text-2xl text-xl"},$={class:"overflow-hidden"},v={class:"flex lg:flex-row flex-col lg:items-center sm:gap-6 gap-4 sm:p-6 p-4 pb-0 border border-solid border-[#E1E4ED] rounded-lg",style:{"box-shadow":"0px 1px 4px 0px #19213D14"}},k={class:"md:w-1/3 sm:w-1/2 w-full m-auto rounded-tl-xl rounded-tr-xl overflow-hidden"},S=["src","alt"],E={class:"lg:w-2/3 w-full md:pb-6 pb-4"},C={class:"flex"},D=["innerHTML"],O={class:"lg:mt-10 sm:mt-6 mt-4 md:text-lg sm:text-base text-sm text-legal-eagle font-semibold"},T={class:"material-symbols-outlined text-[#171717] sm:text-2xl text-xl"};function L(t,l,i,H,a,d){return r(),n("div",null,[e("p",g,o(t.$t("What our clients say")),1),e("p",{class:"text-center sm:my-10 my-6 md:text-xl text-rainmaker",innerHTML:i.customerOpinionDesc[`title_${t.$i18n.locale}`]},null,8,b),e("div",w,[e("button",{onClick:l[0]||(l[0]=s=>d.changeSlide("prev")),class:"flex items-center justify-center rounded-full sm:w-10 sm:h-10 w-8 h-8 shrink-0 border border-solid border-[#E1E4ED]",style:{"box-shadow":"0px 2px 2px 0px #0000000A"}},[e("p",y,o(t.$i18n.locale==="en"?"arrow_left_alt":"arrow_right_alt"),1)]),e("div",$,[e("div",{class:"flex transition-transform duration-700 ease-in-out",style:h(`${t.$i18n.locale==="en"?`transform: translateX(-${a.currentSlide*100}%)`:`transform: translateX(${a.currentSlide*100}%)`}`)},[(r(!0),n(m,null,u(i.customersOpinions,(s,x)=>(r(),n("div",{key:x,class:"w-full shrink-0 px-1"},[e("div",v,[e("div",k,[e("img",{class:"w-full",src:s.image,alt:s[`name_${t.$i18n.locale}`]},null,8,S)]),e("div",E,[e("div",C,[(r(),n(m,null,u(5,(M,c)=>e("span",{key:c,class:_(`material-symbols-rounded fill ${c<s.rate?"text-[#CCCCCC]":"text-night-sky"}`)},"kid_star",2)),64))]),e("p",{class:"lg:mt-6 sm:mt-4 mt-2 text-legal-eagle md:text-base text-sm",innerHTML:s[`opinion_${t.$i18n.locale}`]?s[`opinion_${t.$i18n.locale}`].replace(/\t/g,"    ").replace(/\r?\n/g,"<br>"):""},null,8,D),e("p",O,o(s[`name_${t.$i18n.locale}`]),1)])])]))),128))],4)]),e("button",{onClick:l[1]||(l[1]=s=>d.changeSlide("next")),class:"flex items-center justify-center rounded-full sm:w-10 sm:h-10 w-8 h-8 shrink-0 border border-solid border-[#E1E4ED]",style:{"box-shadow":"0px 2px 2px 0px #0000000A"}},[e("p",T,o(t.$i18n.locale==="en"?"arrow_right_alt":"arrow_left_alt"),1)])])])}const j=p(f,[["render",L]]);export{j as T};
