iBet uBet web content aggregator. Adding the entire web to your favor.
iBet uBet web content aggregator. Adding the entire web to your favor.



Link to original content: http://www.adjust.com/_nuxt/C9P4kivV.js
import{d as N,f as $,C as j,o as s,b as a,a as c,k as t,u as d,j as A,Z as I,F as p,r as _,c as f,V as u,e as l,w as i,l as T,m as F,_ as H,ai as L,c4 as V}from"./CehUzQrt.js";import{_ as P}from"./Cp-ykBG8.js";import{_ as E}from"./BcD7Q_1B.js";import{_ as q}from"./ZI0vaduX.js";import{_ as O}from"./CUsdtpDg.js";const Z={class:"s-testimonial grid gap-y-2xl m:gap-y-lg d:gap-y-0 d:p-0 d:u-rows-1fr"},D={class:"s-testimonial__body flex flex-col overflow-hidden items-start justify-center mt:gap-md"},G={class:"s-testimonial__content flex flex-col overflow-hidden mt:gap-md"},J={key:0,class:"s-testimonial__footer w-full td:flex td:items-center td:justify-between d:mt-xl d:pb-xl"},K={key:0,class:"w-full flex flex-row items-center justify-start gap-md pt-xl border-t border-t-black/20 border-solid"},Y=N({__name:"STestimonial",props:{testimonialHeading:{default:""},testimonialText:{default:""},personName:{default:""},personTitle:{default:""},personCompany:{default:""},personFaceImage:{default:""},personCompanyLogoImage:{default:""},ctaBlock:{default:()=>[]},testimonialStatsBlocks:{default:()=>[]},imageShape:{default:"pebble"},theme:{default:"light"},cssClasses:{default:""},isCarousel:{type:Boolean,default:!1},totalSlides:{default:0}},setup(g){const h=g,b=$(0),y=j(()=>h.testimonialStatsBlocks.length>1?"--col-2":"--col-1");function k(e){b.value=e.activeSlide}return(e,M)=>{const m=T,w=P,S=E,r=F,C=H,v=L,x=q,B=O,z=V;return s(),a("div",Z,[c("div",D,[c("div",G,[t(m,{theme:e.theme,"block-heading":e.testimonialHeading,"block-heading-h-tag":"h2","block-heading-theme":"none","block-heading-size":"size2","block-heading-classes":"d:mb-xl"},null,8,["theme","block-heading"]),d(A)(e.testimonialStatsBlocks)?l("",!0):(s(),a("div",{key:0,class:I([d(y),"s-testimonial__stats w-full pb-xl border-b border-solid border-b-black/50 m:pb-md t:mb-md d:gap-x-3xl d:mb-xl"])},[(s(!0),a(p,null,_(e.testimonialStatsBlocks,(o,n)=>(s(),f(w,u({key:n,ref_for:!0},o,{direction:"flex-col",gap:["m:small","t:small","d:medium"],"horizontal-alignment":"start","bg-color":"none"}),null,16))),128))],2)),t(m,{theme:e.theme,"block-byline":e.testimonialText,"block-byline-h-tag":"p","block-byline-theme":"none","block-byline-weight":"regular","block-byline-size":"size4","block-byline-classes":"s-testimonial__quote"},null,8,["theme","block-byline"])]),e.personName?(s(),a("div",J,[t(S,{"person-name":e.personName,"person-title":e.personTitle,"person-company":e.personCompany,"has-border":!1,"person-name-tag":"p","person-title-size":"size7",class:"s-testimonial__author min-w-200 max-w-[240px] m:mb-md"},null,8,["person-name","person-title","person-company"]),t(v,{direction:"flex-row","horizontal-alignment":"none","child-spacing":"none"},{default:i(()=>[t(r,{"primary-image":e.personCompanyLogoImage,width:124,height:40,shape:"none",class:"s-testimonial__logo m:w-5xl td:w-[124px]"},null,8,["primary-image"]),(s(!0),a(p,null,_(e.ctaBlock,(o,n)=>(s(),f(C,u({key:n,ref_for:!0},o,{theme:e.theme,class:"s-testimonial__cta"}),null,16,["theme"]))),128))]),_:1})])):l("",!0),t(z,null,{default:i(()=>[e.isCarousel?(s(),a("div",K,[t(B,{onClick:k},{default:i(()=>[t(x,{type:"fraction"})]),_:1})])):l("",!0)]),_:1})]),t(r,{"primary-image":e.personFaceImage,width:448,height:448,shape:e.imageShape,"css-classes-picture":"s-testimonial__picture","css-classes-image":"s-testimonial__image",class:"s-testimonial__asset m:flex m:items-center m:justify-center mt:overflow-hidden td:flex td:items-center td:justify-center"},null,8,["primary-image","shape"])])}}});export{Y as _};