PageSourceSearch

https://everydayactivismhabit.com/_nuxt/CMAojurC.js

js everydayactivismhabit.com collected 2026-10-09 23:03:31 UTC 57,948 bytes, 13 lines download raw bytes

1import{o as r,a as i,b as v,d as It,ap as Ut,y as at,aa as Me,x as A,J as lt,ak as ot,p as q,O as st,k as f,a3 as Nt,a2 as c,g as u,i as n,n as d,c as m,h as w,w as ee,aG as ue,K as D,aw as L,F as S,r as O,au as b,av as F,q as rt,at as Mt,as as Vt,j as zt,aI as de,_ as Et}from"./CKnJE26D.js";import{b as Rt,c as qt,d as Ft,e as Pt,L as nt,_ as U,G as jt,l as Dt,i as Lt}from"./BHxanwY1.js";import{I as Ot,H as $t,u as Gt}from"./DVKYc8HH.js";import{_ as Ht}from"./CnV6ui_b.js";import Yt from"./DfMAtynd.js";import{T as Ve}from"./BPU_Z_On.js";import Qt from"./BGw00Z9O.js";import{D as ze}from"./CbyoXVkN.js";import{M as ce}from"./6VLj4-WU.js";import Ee from"./Dvr_4F4s.js";import Re from"./CA3q2fKV.js";import{u as Xt,a as Zt,b as Jt}from"./DpHGrvAo.js";import{u as Kt,a as ea}from"./C9aEaXVi.js";import{A as Q}from"./FO-UtzH2.js";import{u as ta}from"./eq0vzKOS.js";import{u as aa}from"./CX72Wkfz.js";import{u as la}from"./Q8pfYJEn.js";import{u as oa}from"./DP2YntoH.js";import{u as sa,a as ra}from"./xu_j-wru.js";import{u as na}from"./LDOpe6Jx.js";import{u as ia}from"./D4_b-RtD.js";import{u as ua}from"./D_7KB9Ti.js";import"./Fr0Bg2rT.js";import"./CFi9FLxk.js";import"./C5DtGtgh.js";import"./CVCY4NfD.js";import"./BBob-OgL.js";import"./C6ALrSwC.js";import"./CjWywbWB.js";import"./EBUc4Gsa.js";import"./Stjfq0Lv.js";import"./D2Q-_cZ3.js";import"./DgUcM66q.js";import"./-zhqwYie.js";import"./tWNRloEz.js";import"./CvQSOvVH.js";function qe(te,ve){return r(),i("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor","aria-hidden":"true","data-slot":"icon"},[v("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M11.48 3.499a.562.562 0 0 1 1.04 0l2.125 5.111a.563.563 0 0 0 .475.345l5.518.442c.499.04.701.663.321.988l-4.204 3.602a.563.563 0 0 0-.182.557l1.285 5.385a.562.562 0 0 1-.84.61l-4.725-2.885a.562.562 0 0 0-.586 0L6.982 20.54a.562.562 0 0 1-.84-.61l1.285-5.386a.562.562 0 0 0-.182-.557l-4.204-3.602a.562.562 0 0 1 .321-.988l5.518-.442a.563.563 0 0 0 .475-.345L11.48 3.5Z"})])}function Fe(te,ve){return r(),i("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true","data-slot":"icon"},[v("path",{"fill-rule":"evenodd",d:"M10.868 2.884c-.321-.772-1.415-.772-1.736 0l-1.83 4.401-4.753.381c-.833.067-1.171 1.107-.536 1.651l3.62 3.102-1.106 4.637c-.194.813.691 1.456 1.405 1.02L10 15.591l4.069 2.485c.713.436 1.598-.207 1.404-1.02l-1.106-4.637 3.62-3.102c.635-.544.297-1.584-.536-1.65l-4.752-.382-1.831-4.401Z","clip-rule":"evenodd"})])}const da={key:0,class:"hover-bridge",style:{position:"absolute",top:"-50px",left:"0",width:"220px",height:"50px"},"aria-hidden":"true"},ca={key:4,class:"marked w-full","data-blank":'Add items here, or switch to a single column layout from "Size & Alignment'},va=["data-section"],ma={key:0,class:"border-element"},pa={class:"testimonial-content"},ga={key:0,class:"mb-3 quotes","data-section":"blocks","data-section-setting":"blocks","data-edit-text":"Icon"},ha=["data-section"],ya=["data-section"],fa={key:1,class:"half-star w-[21px]",version:"1.1",xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",viewBox:"0 0 20 20","xml:space":"preserve"},xa=["data-section"],ka=["data-section","data-item-id"],wa=["data-section","data-item-id"],ba={class:"avatar relative"},Ca=["data-section"],Sa=["data-section"],Aa={key:4,class:"marked w-full items-marked","data-blank":"Add items here, or switch to a single column layout from Size & Alignment"},Ta={key:0,class:"border-element"},_a={key:0,class:"mb-3 quotes","data-section":"blocks","data-section-setting":"blocks"},Ba=["data-section"],Wa=["data-section"],Ia={key:1,class:"half-star w-[21px]",version:"1.1",xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",viewBox:"0 0 20 20","xml:space":"preserve"},Ua=["data-section"],Na=["data-section","data-item-id"],Ma=["data-section","data-item-id"],Va={class:"avatar relative"},za=["data-section"],Ea=["data-section"],Ra={class:"controls-wrapper switcher-container !z-[40] group"},qa={key:1,class:"hover-bridge",style:{position:"absolute",top:"-50px",left:"0",width:"220px",height:"50px"},"aria-hidden":"true"},Fa={key:4,class:"marked w-full","data-blank":'Add items here, or switch to a single column layout from "Size & Alignment'},Pa=["aria-hidden"],ja=["data-section"],Da={key:0,class:"border-element"},La={key:0,class:"mb-3 quotes","data-section":"blocks","data-section-setting":"blocks"},Oa=["data-section"],$a=["data-section"],Ga={key:1,class:"half-star w-[21px]",version:"1.1",xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",viewBox:"0 0 20 20","xml:space":"preserve"},Ha=["data-section"],Ya=["data-section","data-item-id"],Qa=["data-section","data-item-id"],Xa={class:"avatar relative"},Za=["data-section"],Ja=["data-section"],Ka=It({__name:"testimonialsAndReviews",props:{section:{}},emits:["sendEvent"],setup(te,{emit:ve}){const X=Rt(),k=te,{isBuilder:P}=Ut(),B=de({}),M=de({}),W=de({}),V=de({}),Pe=l=>{var s;if(((s=l.data)==null?void 0:s.type)!=="ai-section-generating"||l.data.sectionId!==k.section.id||!l.data.itemId)return;const a=l.data.itemId,x=l.data.target;if(x!=="media"&&x!=="avatar")return;const _=x==="avatar"?W:B,t=x==="avatar"?V:M;l.data.phase==="generating"?(_[a]=!0,t[a]=null):l.data.phase==="preview"&&l.data.imageUrl?(_[a]=!1,t[a]=l.data.imageUrl):(_[a]=!1,t[a]=null)};at(()=>{P.value&&window.addEventListener("message",Pe)}),Me(()=>{window.removeEventListener("message",Pe)});const je=f(()=>X.value>=1024),I=f(()=>C.value&&j.value&&je.value),ae=qt(),j=f(()=>P.value&&ae.value===k.section.id),it=()=>{ae.value=k.section.id},ut=()=>{ae.value===k.section.id&&(ae.value=null)},e=A(k.section.settings),{latestAdminUpdate:dt}=lt(ot());q(()=>k.section.settings,(l,a,x)=>{dt.value.sectionId===k.section.id&&(e.value=l)},{deep:!0}),q(()=>e.value.design,l=>{N.value&&l!=="loop"&&(N.value=!1)});const me=A({});function z(l,a){me.value[l]=a}function E(l){me.value[l]=null}function ct(){e.value.design==="loop"&&(N.value=!N.value)}function le(l){var s;if(!N.value||e.value.design!=="loop")return;const a=l.target,x=(s=De.value)==null?void 0:s.contains(a),_=a.closest(".layout-width-layer, .layout-width-resizer, .layout-width-badge, .inline-resizer, .col-badge, .grip"),t=document.querySelector(".layout-width-dragging, .dragging");!x&&!_&&!t&&(N.value=!1)}const y=(l,a)=>me.value[l]===a,{debouncedUpdateContent:h}=Ft(k.section.id),pe=A(null),De=A(null),{noTitles:$}=Gt(f(()=>e.value)),H=f(()=>{var l;return pe.value&&((l=pe.value)==null?void 0:l.focusedInput)||null}),vt=A(!1),N=A(!1),mt=f(()=>!e.value.mediaImgSrc||!e.value.mediaVideoSrc||!e.value.mediaYouTubeSrc||!$.value),ge=f(()=>({"has-shadow":e.value.boxStyle==="custom"&&e.value.hasBoxShadow&&(e.value.withBox||e.value.withBorder)})),Le=ot(),{inspectorActive:pt}=lt(Le),p=A(null),C=f(()=>pt.value),Oe=f(()=>{const l=e.value;return!!(l.fullSlider&&l.design==="slider"&&l.mainColumns!==2)}),G=f(()=>e.value.design==="slider"),Z=f(()=>e.value.design==="grid"),oe=f(()=>e.value.design==="loop"),$e=A(e.value.perPage),Ge=f(()=>{var l,a;return X.value<=600||e.value.perPage===1?1:X.value<=800?((l=e.value)==null?void 0:l.perPage)<2?1:2:X.value<=1200?((a=e.value)==null?void 0:a.perPage)<3?2:3:e.value.perPage}),se=A(e.value.dots),he=A(!0),ye=A("left"),fe=A(!1),He=A(e.value.interval||3e3);q(()=>e.value.perPage,l=>{$e.value=l,Ge.value=l}),q(()=>e.value.mainColumns,l=>{he.value=l===1?se.value:!1},{immediate:!0}),q(()=>e.value.dots,l=>{se.value=l,he.value=e.value.mainColumns===1?se.value:!1}),q(()=>e.value.focus,l=>{ye.value=l}),q(()=>e.value.autoplay,async l=>{var x,_;const a=(x=R.value)==null?void 0:x.splide;(_=a==null?void 0:a.Components)!=null&&_.Autoplay&&(l?a.Components.Autoplay.play():a.Components.Autoplay.pause())}),q(()=>e.value.interval,async l=>{var x;He.value=l;const a=(x=R.value)==null?void 0:x.splide;a&&(a.destroy(!0),st(()=>{a.mount(),K==null||K(),e.value.autoplay?a.Components.Autoplay.play():a.Components.Autoplay.pause()}))});const gt=f(()=>{const l=Ge.value,a=ye.value==="center"?"center":0;return{rewind:!0,perPage:l,perMove:1,arrows:!1,pagination:he.value,focus:a,type:"loop",trimSpace
1:!0,gap:"20px",autoplay:fe.value,interval:He.value,breakpoints:{1e3:{perPage:l>1?2:1},600:{perPage:1,arrows:!1}}}}),{widthTextStyle:xe}=ia(),ht=f(()=>{let l=e.value.columns||4;switch(ft.value){case"xl":l=e.value.columns||4;break;case"lg":l=Math.min(3,l);break;case"md":l=Math.min(2,l);break;default:l=1}const a=e.value.testimonials||[],x=Array.from({length:l},()=>[]);return a.forEach((_,t)=>{x[t%l].push(_)}),x}),yt=l=>l>=1200?"xl":l>=1e3?"lg":l>=750?"md":"sm",ft=f(()=>yt(X.value)),Ye=A(!1),{verticalTopSpaceClass:xt,verticalBottomSpaceClass:kt}=ta(e),{maxWidthClass:re}=aa(),{infoWidthStyle:wt}=Zt(e),{contentAlignmentClass:ke}=oa(e),{verticalPaddingClass:bt,horizontalPaddingClass:J}=ea(e),{controlsPadding:Qe}=Jt(e),R=A(null),Xe=()=>{var a;const l=(a=R.value)==null?void 0:a.splide;l==null||l.go("-1")},Ze=()=>{var a;const l=(a=R.value)==null?void 0:a.splide;l==null||l.go("+1")},{onEditorReady:Ct}=Xt({refresh:()=>{var l,a,x;return(x=(a=(l=R.value)==null?void 0:l.splide)==null?void 0:a.refresh)==null?void 0:x.call(a)},resetWatchSource:()=>(e.value.testimonials||[]).map(l=>l.id).join(",")});at(()=>{var a,x;$e.value=e.value.perPage||2,se.value=e.value.dots||!1,ye.value=e.value.focus||"left",fe.value=e.value.autoplay||!1,K();const l=(a=R.value)==null?void 0:a.splide;fe.value&&((x=l==null?void 0:l.Components)!=null&&x.Autoplay)&&l.Components.Autoplay.play(),document.addEventListener("click",le,!0),document.addEventListener("pointerdown",le,!0)}),Me(()=>{document.removeEventListener("click",le,!0),document.removeEventListener("pointerdown",le,!0)}),q(()=>e.value.design,async l=>{var a;l==="slider"&&(await st(),(a=R.value)==null||a.splide.refresh(),K())},{immediate:!1}),Me(()=>{Wt()});const{getFocalPointClass:Je}=la(),Y=l=>Je(l.focalPoint,"object"),St=f(()=>Je(e.value.backgroundFocalPoint,"bg")),{blockCustomBorder:we}=sa(e),{blockCustomStyle:be}=ua(e),{blockTextStyle:Ce}=ra(e),Se=f(()=>{if(!e.value.hasTextColor||e.value.blockTextColorType!=="solid")return{};const l=e.value.textColor;return l?l.startsWith("var(--")?{"--text-color":`oklab(from ${l} l a b / var(--text-color-opacity))`,"--text-color-opacity":(e.value.textColorOpacity??100)+"%"}:{"--text-color":l}:{}}),Ke=l=>{if(!l.customColors||!l.arrowsBgColor)return{};const a=l.arrowsBgColor;return a?a.startsWith("var(--")?{"--arrows-bg-color":`oklab(from ${a} l a b / var(--arrows-bg-color-opacity))`,"--arrows-bg-color-opacity":(l.arrowsBgColorOpacity??100)+"%"}:{"--arrows-bg-color":a}:{}},et=l=>{if(!l.customColors||!l.arrowsIconColor)return{};const a=l.arrowsIconColor;return a?a.startsWith("var(--")?{"--arrows-icon-color":`oklab(from ${a} l a b / var(--arrows-icon-color-opacity))`,"--arrows-icon-color-opacity":(l.arrowsIconColorOpacity??100)+"%"}:{"--arrows-icon-color":a}:{}},At=l=>{if(!l.customColors||!l.dotsActiveColor)return{};const a=l.dotsActiveColor;return a?a.startsWith("var(--")?{"--active-color":`oklab(from ${a} l a b / var(--dots-active-color-opacity))`,"--dots-active-color-opacity":(l.dotsActiveColorOpacity??100)+"%"}:{"--active-color":a}:{}},Tt=l=>{if(!l.customColors||!l.dotsInactiveColor)return{};const a=l.dotsInactiveColor;return a?a.startsWith("var(--")?{"--inactive-color":`oklab(from ${a} l a b / var(--dots-inactive-color-opacity))`,"--dots-inactive-color-opacity":(l.dotsInactiveColorOpacity??100)+"%"}:{"--inactive-color":a}:{}},ne=f(()=>{if(!e.value.hasNameColor||e.value.blockNameColorType!=="solid")return{};const l=e.value.nameColor;return l?l.startsWith("var(--")?{"--name-color":`oklab(from ${l} l a b / var(--name-color-opacity))`,"--name-color-opacity":(e.value.nameColorOpacity??100)+"%"}:{"--name-color":l}:{}}),Ae=f(()=>{if(!e.value.hasAuthorTitleColor||e.value.blockTitleColorType!=="solid")return{};const l=e.value.authorTitleColor;return l?l.startsWith("var(--")?{"--title-color":`oklab(from ${l} l a b / var(--title-color-opacity))`,"--title-color-opacity":(e.value.authorTitleColorOpacity??100)+"%"}:{"--title-color":l}:{}}),Te=f(()=>{if(!e.value.hasQuotesColor)return{};const l=e.value.quotesColor;return l?l.startsWith("var(--")?{"--quotes-color":`oklab(from ${l} l a b / var(--quotes-color-opacity))`,"--quotes-color-opacity":(e.value.quotesColorOpacity??100)+"%"}:{"--quotes-color":l}:{}}),_e=f(()=>{if(!e.value.hasStarsColor)return{};const l=e.value.starsColor;return l?l.startsWith("var(--")?{"--stars-color":`oklab(from ${l} l a b / var(--stars-color-opacity))`,"--stars-color-opacity":(e.value.starsColorOpacity??100)+"%"}:{"--stars-color":l}:{}}),{boxStyleClass:Be}=Dt(()=>e.value.boxStyle),{getSizeClass:ie}=Lt(),We=f(()=>ie(e.value.textSize)),Ie=f(()=>ie(e.value.nameSize)),Ue=f(()=>ie(e.value.quotesSize)),Ne=f(()=>ie(e.value.starsSize)),{sectionStyleObject:_t}=na(e),Bt=ve,T=l=>
1Bt("sendEvent",l),tt=A(null);Pt(tt,T);const{reattach:K,detach:Wt}=Kt({splideRef:R,getTotalSlides:()=>(e.value.testimonials||[]).length,isActive:f(()=>G.value)});return(l,a)=>{var x,_;return r(),i("section",{ref_key:"sectionElement",ref:tt,"data-section":"alignment","data-section-type":"testimonialsAndReviews",onMouseenter:it,onMouseleave:ut,class:d(["testimonials",e.value.customClass,e.value.sectionStyle==="custom"&&e.value.backgroundType==="gradient"?"gradient-color":"",e.value.sectionStyle,n(ke),e.value.design==="loop"?"marquee":"",{divider:e.value.divider},{"image-bg":e.value.backgroundImage},{"dark-divider":e.value.dividerStyle==="dark","light-divider":e.value.dividerStyle==="light"},St.value,{"inspector-active":C.value},e.value.sectionStyle==="colored"?`${e.value.paletteTheme||((_=(x=n(Le).page)==null?void 0:x.styles)==null?void 0:_.defaultPaletteTheme)||"light"}-palette-theme`:""]),style:c([{"--layout-width":e.value.layoutWidth+"px"},n(_t)])},[Nt(l.$slots,"default",{},void 0,!0),e.value.blur&&e.value.backgroundImage?(r(),i("div",{key:0,class:"blurred-background",style:c({"--bg-blur":e.value.blur+"px"})},null,4)):u("",!0),e.value.mainColumns!==1||mt.value?(r(),i("div",{key:1,class:d(["testimonials-container relative w-full mx-auto resizer-container",e.value.design==="slider"?"overflow-hidden":"",e.value.mainColumns===2?n(J):{},e.value.mainColumns===2?"two-columns":"",n(ke),e.value.mainColumns!==1&&e.value.stickySide?"!overflow-visible":"",e.value.mainColumns===2&&e.value.layoutWidth<=864?"mobile":"",e.value.design==="slider"?"slider":"grid",{"flex-row-reverse fliped":e.value.columnsAlignment==="right"&&e.value.design==="grid"},n(xt),n(kt),n(bt),{"!max-w-none":e.value.fullWidth},{dragging:p.value==="inlineInfoWidth"}]),"data-section":"alignment",style:c([e.value.mainColumns===2?n(wt)(e.value.infoWidth):{},n(re)(e.value.layoutWidth)])},[C.value&&(j.value||p.value==="contentSpacing")?(r(),m(Yt,{key:0,class:d({"!max-w-full":e.value.fullWidth}),"top-desktop":e.value.verticalTopSpace,"bottom-desktop":e.value.verticalBottomSpace,"top-mobile":e.value.verticalTopMobileSpace,"bottom-mobile":e.value.verticalBottomMobileSpace,"remove-top":e.value.topSpace,"remove-bottom":e.value.bottomSpace,"send-event":T,onDragging:a[0]||(a[0]=t=>{p.value=t?"contentSpacing":p.value==="contentSpacing"?null:p.value}),onChangeEnd:a[1]||(a[1]=({key:t,value:s})=>{e.value[t]=s,n(h)({key:t,value:s})})},null,8,["class","top-desktop","bottom-desktop","top-mobile","bottom-mobile","remove-top","remove-bottom"])):u("",!0),(I.value||p.value==="layoutWidth:left")&&!e.value.fullWidth&&!Oe.value?(r(),m(nt,{key:1,modelValue:e.value.layoutWidth,"onUpdate:modelValue":a[2]||(a[2]=t=>e.value.layoutWidth=t),min:768,max:1536,step:48,side:"left",sendEvent:T,onDragging:a[3]||(a[3]=t=>{p.value=t?"layoutWidth:left":p.value==="layoutWidth:left"?null:p.value}),onChangeEnd:a[4]||(a[4]=t=>n(h)({key:"layoutWidth",value:t}))},null,8,["modelValue"])):u("",!0),(I.value||p.value==="layoutWidth:right")&&!e.value.fullWidth&&!Oe.value?(r(),m(nt,{key:2,modelValue:e.value.layoutWidth,"onUpdate:modelValue":a[5]||(a[5]=t=>e.value.layoutWidth=t),min:768,max:1536,step:48,side:"right",sendEvent:T,onDragging:a[6]||(a[6]=t=>{p.value=t?"layoutWidth:right":p.value==="layoutWidth:right"?null:p.value}),onChangeEnd:a[7]||(a[7]=t=>n(h)({key:"layoutWidth",value:t}))},null,8,["modelValue"])):u("",!0),I.value&&e.value.mainColumns===2||p.value==="inlineInfoWidth"?(r(),m(Ot,{key:3,modelValue:e.value.infoWidth,"onUpdate:modelValue":a[8]||(a[8]=t=>e.value.infoWidth=t),min:20,max:80,offset:20,"send-event":T,reverse:e.value.columnsAlignment==="right","highlight-by-padding":!0,onDragging:a[9]||(a[9]=t=>{p.value=t?"inlineInfoWidth":p.value==="inlineInfoWidth"?null:p.value,vt.value=t}),onChangeEnd:a[10]||(a[10]=t=>n(h)({key:"infoWidth",value:t}))},null,8,["modelValue","reverse"])):u("",!0),v("div",{class:d(["headings-box z-[40]",[n(ke),e.value.mainColumns!==1&&e.value.stickySide?"sticky self-start":"",e.value.mainColumns===2?{"self-center":e.value.infoAlignment==="center","self-end":e.value.infoAlignment==="bottom"}:{},e.value.mainColumns!==1&&C.value&&n($)&&!H.value?"marked":""]]),"data-blank":'Add heading here, or switch to a single column layout from "Size & Alignment"'},[w($t,{ref_key:"headerBlockElement",ref:pe,"data-section":"background",class:d(["flex-1 container headings py-0",{"!max-w-none":e.value.fullWidth},n(J)]),section:e.value,"section-id":te.section.id,style:c([e.value.sectionStyle==="custom"?{"--text-color":e.value.textStyle}:{}]),customStyle:{subTitle:[e.value.sectionStyle==="custom"?{"--text-color":e.value.textStyle}:{}]},hasLeftOffset:!1,"section-type":"testimonialsAndReviews"},null,8,["class","section","section-id","style","customStyle"]),e.value.arrows&&e.value.mainColumns===2&&G.value&&(!n($)||H.value)?(r(),i("div",{key:0,class:d(["slider-control
1s",e.value.customColors?"custom-color":"",{"!mt-0":n($)&&!H.value},n(J),n(Qe),{"!max-w-none":e.value.fullWidth},{"justify-center":e.value.contentAlignment==="center","justify-end":e.value.contentAlignment==="right"}]),style:c([e.value.sectionStyle==="custom"?{"--controls-color":e.value.textStyle||"#000000"}:{},e.value.customColors?{...Ke(e.value),...et(e.value)}:{},e.value.sectionStyle==="custom"?{"--text-color":e.value.textStyle}:{},n(re)(e.value.layoutWidth)])},[v("div",{class:"arrow arrow-prev",onClick:ee(Xe,["stop"])},[w(n(ue),{type:"chevron-left"})]),v("div",{class:"arrow arrow-next",onClick:ee(Ze,["stop"])},[w(n(ue),{type:"chevron-right"})])],6)):u("",!0)],2),v("div",{ref_key:"testimonialsSlideElement",ref:De,"data-edit-text":"Box",class:d(["flex-1 testimonials-side container py-0 !z-[40] relative",{"inspector-active":C.value},e.value.design==="loop"?"overflow-hidden !px-0":"",e.value.mainColumns!==1&&e.value.stickySide?"sticky self-start":"",n(J),{"!max-w-none":e.value.fullWidth},{"!max-w-none !px-0 full-slider":e.value.fullSlider&&e.value.design==="slider"&&e.value.mainColumns!==2,"!max-w-none":e.value.fullWidth},{"edit-marquee-mode":N.value&&e.value.design==="loop"}]),style:c([e.value.mainColumns===1?n(re)(e.value.layoutWidth):{},e.value.sectionStyle==="custom"?{"--controls-color":e.value.textStyle||"#000000"}:{}])},[Z.value?(r(),i("div",{key:0,class:d(["testimonials-box relative ",{"!mt-0":n($)&&!H.value},{"no-transitions":Ye.value}]),style:c(e.value.sectionStyle==="custom"&&e.value.itemStyle==="plain"||e.value.itemStyle==="bordered"?{"--text-color":e.value.textStyle||"#000000"}:{})},[v("div",{class:"columns-wrapper relative flex flex-wrap items-start switcher-container !z-[40] gap-5 group",style:c(e.value.sectionStyle==="custom"&&e.value.boxStyle==="plain"||e.value.boxStyle==="bordered"?{"--text-color":e.value.textStyle||"#000000"}:{})},[C.value&&Z.value?(r(),i("div",da)):u("",!0),I.value&&Z.value?D((r(),m(ze,{key:1,modelValue:e.value.design,"onUpdate:modelValue":a[11]||(a[11]=t=>e.value.design=t),options:["grid","slider","loop"],alwaysVisible:!1,offsetY:-50,offsetX:0,anchor:"top-left",onChangeEnd:a[12]||(a[12]=t=>n(h)({key:"design",value:t}))},null,8,["modelValue"])),[[L,!p.value]]):u("",!0),I.value&&Z.value?D((r(),m(Qt,{key:2,"model-value":e.value.columns||1,options:[1,2,3,4],"always-visible":!1,"offset-y":-50,"offset-x":135,anchor:"top-left","onUpdate:modelValue":a[13]||(a[13]=t=>e.value.columns=t),onChangeEnd:a[14]||(a[14]=t=>n(h)({key:"columns",value:t}))},null,8,["model-value"])),[[L,!p.value]]):u("",!0),I.value&&Z.value?D((r(),m(ce,{key:3,"model-value":e.value.mainColumns||1,"always-visible":!1,"offset-y":-50,"offset-x":0,anchor:"top-right","onUpdate:modelValue":a[15]||(a[15]=t=>e.value.mainColumns=t),onChangeEnd:a[16]||(a[16]=t=>n(h)({key:"mainColumns",value:t}))},null,8,["model-value"])),[[L,!p.value]]):u("",!0),w(Ee,{"is-visible":C.value&&j.value,items:e.value.testimonials,"section-id":k.section.id,"button-text":"Add item","update-content":n(h),"send-event":T,"items-key":"testimonials","preset-type":k.section.presetType,"max-items":30},null,8,["is-visible","items","section-id","update-content","preset-type"]),e.value.mainColumns===2&&(!e.value.testimonials||e.value.testimonials.length===0)?(r(),i("div",ca)):u("",!0),(r(!0),i(S,null,O(ht.value,(t,s)=>(r(),i("div",{key:s,class:"column flex flex-col gap-5 flex-1 min-w-[260px]"},[(r(!0),i(S,null,O(t,o=>(r(),i("div",{key:o.order,"data-section":"testimonials-"+o.order,style:c([e.value.customRadius?{"--box-radius":`${e.value.radius}px`}:{},n(be),n(Ce),n(we)]),class:d(["testimonial-item relative group/item",ge.value,{"with-box":e.value.withBox,"with-border":e.value.withBorder,"backdrop-blur-lg":e.value.boxStyle==="custom"&&e.value.withBlur&&(e.value.withBox||e.value.withBorder)},n(Be)])},[e.value.sectionStyle==="custom"&&e.value.boxStyle==="bordered"?(r(),i("div",ma)):u("",!0),v("div",pa,[e.value.type==="testimonial"&&!o.mediaImgSrc?(r(),i("div",ga,[(r(),i("svg",{style:c(Te.value),class:d(["quotes",Ue.value,{"custom-color":e.value.hasQuotesColor,"mx-auto":e.value.cardsAlignment==="center","ml-auto":e.value.cardsAlignment==="right"}]),xmlns:"http://www.w3.org/2000/svg",width:"30",height:"30",viewBox:"0 0 24 24"},[...a[27]||(a[27]=[v("path",{d:"M13 14.725c0-5.141 3.892-10.519 10-11.725l.984 2.126c-2.215.835-4.163 3.742-4.38 5.746 2.491.392 4.396 2.547 4.396 5.149 0 3.182-2.584 4.979-5.199 4.979-3.015 0-5.801-2.305-5.801-6.275zm-13 0c0-5.141 3.892-10.519 10-11.725l.984 2.126c-2.215.835-4.163 3.742-4.38 5.746 2.491.392 4.396 2.547 4.396 5.149 0 3.182-2.584 4.979-5.199 4.979-3.015 0-5.801-2.305-5.801-6.275z"},null,-1)])],6))])):u("",!0),e.value.type==="testimonial"&&(o.mediaImgSrc||B[o.id]||M[o.id])?(r(),i("div",{key:1,"data-section":"testimonials-"+o.order,style:c({"--max-width":o.mediaWidth+"px"}),"data-section-setting":"media","data-edit-text":"Image",class:d(["image justify-self-start relative",{"!justify-self-center":e.value.cardsAlignment==="center","!justify-self-end":e.value.cardsAlignment==="right"}])},[n(P)?(r(),m(Q,{key:0,sectionId:k.section.id,itemId:o.id,active:B[o.id]||!1},null,8,["sectionId","itemId","active"])):u("",!0),M[o.id]?(r(),m(U,{key:1,src:M[o.id],transformations:{},class:d({"mx-auto":e.value.cardsAlignment==="center","ml-auto":e.value.cardsAlignment==="right"}),style:c({"--max-width":o.mediaWidth+"px"}),alt:"banner"},null,8,["src","class","style"])):!B[o.id]&&o.mediaImgSrc?(r(),m(U,{key:2,src:o.mediaImgSrc,transformations:{},class:d({"mx-auto":e.value.cardsAlignment==="center","ml-auto":e.value.cardsAlignment==="right"}),style:c({"--max-width":o.mediaWidth+"px"}),alt:"banner"},null,8,["src","class","style"])):u("",!0)],14,ha)):u("",!0),e.value.type==="review"?(r(),i("div",{key:2,style:c(_e.value),"data-section":"testimonials-"+o.order,"data-section-setting":"rating","data-edit-text":"Rating",class:d(["rating flex items-center mb-3",Ne.value,{"!mb-0":!o.text&&!y(o.id,"text"),"custom-color":e.value.hasStarsColor,"justify-center":e.value.cardsAlignment==="center","justify-end":e.value.cardsAlignment==="right"}])},[(r(),i(S,null,O(5,g=>(r(),i(S,{key:g},[g<=Math.floor(o.rating)?(r(),m(n(Fe),{key:0,class:"w-[25px] h-[25px] full-star",style:c({color:o.rating===1?"#ea3300 !important":"#eab100"})},null,8,["style"])):o.rating>g-1&&o.rating<g?(r(),i("svg",fa,[...a[28]||(a[28]=[v("g",{class:"full-half"},[v("path",{d:`M10.2,0.5c-0.2,0-0.4,0-0.6,0.1C9.2,0.7,9,1,8.8,1.3l0,0l-2.1,5L1.3,6.7C1,6.8,0.7,6.9,0.4,7.2c-0.2,0.3-0.3,0.6-0.3,1
2                            c0,0.3,0.2,0.7,0.5,0.9l4.1,3.5l-1.3,5.3c-0.1,0.3,0,0.7,0.2,1c0.2,0.3,0.5,0.5,0.8,0.6c0.1,0,0.2,0,0.3,0c0.2,0,0.5-0.1,0.7-0.2
3                            l4.6-2.8l0.1,0.1V0.5z`})],-1),v("g",{class:"empty-half"},[v("path",{d:`M19.8,7.6c-0.2-0.5-0.6-0.9-1.1-0.9l-5.4-0.4l-2.1-5c-0.1-0.3-0.4-0.6-0.7-0.7c-0.1,0-0.2-0.1-0.3-0.1v2.2L11.9,7
4                            c0.2,0.5,0.6,0.8,1.1,0.8l5.1,0.4l-3.9,3.3c-0.4,0.3-0.5,0.8-0.4,1.3l1.2,4.9l-4.3-2.6c-0.2-0.1-0.3-0.1-0.5-0.2v1.6l4.4,2.7
5                            c0.3,0.2,0.7,0.2,1,0.2c0.3-0.1,0.6-0.3,0.8-0.6c0.2-0.3,0.2-0.7,0.2-1l-1.3-5.3L19.4,9C19.8,8.7,20,8.1,19.8,7.6z`})],-1)])])):(r(),m(n(qe),{key:2,class:"w-[25px] h-[25px] empty-star"}))],64))),64))],14,ya)):u("",!0),o.text&&n(b)(o.text)||y(o.id,"text")?(r(),i("div",{key:3,"data-section":"testimonials-"+o.order,"data-section-setting":"text","data-edit-text":"Text","data-text-width-host":"",style:c([n(xe)(o.textWidth),e.value.hasTextColor?e.value.blockTextColorType==="solid"?Se.value:{"--text-color":e.value.blockTextGradient}:{}]),class:d(["body-font text-left text",e.value.hasTextColor?e.value.blockTextColorType==="solid"?"custom-text-color":"custom-gradient":"",We.value,{"ml-auto":e.value.cardsAlignment==="right","mx-auto":e.value.cardsAlignment==="center","text-center":e.value.cardsAlignment==="center","text-right":e.value.cardsAlignment==="right"}])}
5,[w(F,{content:o.text,"onUpdate:content":g=>n(h)({key:"text",value:g,parent:"testimonials",id:o.id}),onFocus:()=>z(o.id,"text"),onBlur:()=>E(o.id)},null,8,["content","onUpdate:content","onFocus","onBlur"]),C.value||p.value==="textWidth:"+o.id?(r(),m(Ve,{key:0,modelValue:o.textWidth,"onUpdate:modelValue":g=>o.textWidth=g,min:100,max:1500,"send-event":T,onDragging:g=>{p.value=g?"textWidth:"+o.id:p.value==="textWidth:"+o.id?null:p.value},onChangeEnd:g=>n(h)({key:"textWidth",value:g,parent:"testimonials",id:o.id})},null,8,["modelValue","onUpdate:modelValue","onDragging","onChangeEnd"])):u("",!0)],14,xa)):u("",!0),!e.value.hideAvatar||!e.value.hideName&&o.name&&n(b)(o.name)||y(o.id,"name")||!e.value.hideTitle&&o.title&&n(b)(o.title)||y(o.id,"title")?(r(),i("div",{key:4,class:d(["author-info flex items-center gap-3 mt-6",{"!mt-4":!o.text&&!y(o.id,"text"),"flex-col":e.value.cardsAlignment==="center","flex-row-reverse":e.value.cardsAlignment==="right"}])},[e.value.hideAvatar?u("",!0):(r(),i(S,{key:0},[(o.avatarSrc==="/img/dummy-avatar.svg"||!o.avatarSrc)&&!W[o.id]&&!V[o.id]?(r(),i("div",{key:0,"data-section":"testimonials-"+o.order,"data-section-setting":"avatar","data-edit-text":"Avatar","data-ai-target":"avatar","data-item-id":o.id},[...a[29]||(a[29]=[v("div",{class:"avatar"},[v("svg",{class:"blank-img",type:"image/svg+xml",xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 200 200",role:"img",preserveAspectRatio:"xMidYMid meet","data-testid":"media"},[v("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M100 107.5c6.2 0 11.3-6.2 11.3-13.7 0-7.6-5-13.8-11.3-13.8-6.2 0-11.3 6.2-11.3 13.8 0 7.5 5 13.7 11.3 13.7m20.1 5.2-.1-.7c-.2-1.2-1.1-2-1.5-2.3l-2-1-1.8-.9q-1.9-1-3.5-1.5s-3.7 5.7-11.2 5.7-11.3-5.7-11.3-5.7c-.9.2-2.2 1-3.4 1.5l-1.9 1q-1 .3-1.9 1c-.4.2-1.3 1-1.5 2.2a7 7 0 0 0-.2 2.7 6 6 0 0 0 3.9 5l1.7.3h29.2q.8 0 1.7-.3a6 6 0 0 0 3.9-5z",fill:"#fff"})])],-1)])],8,ka)):(r(),i("div",{key:1,"data-section":"testimonials-"+o.order,"data-section-setting":"avatar","data-edit-text":"Avatar","data-ai-target":"avatar","data-item-id":o.id},[v("div",ba,[n(P)?(r(),m(Q,{key:0,sectionId:k.section.id,itemId:o.id,target:"avatar",isCircle:!0,"hide-label":!0,active:W[o.id]||!1},null,8,["sectionId","itemId","active"])):u("",!0),V[o.id]?(r(),m(U,{key:1,src:V[o.id],transformations:{},class:d(Y(o)),alt:"banner"},null,8,["src","class"])):!W[o.id]&&o.avatarSrc?(r(),m(U,{key:2,src:o.avatarSrc,transformations:{},class:d(Y(o)),alt:"banner"},null,8,["src","class"])):u("",!0)])],8,wa))],64)),!e.value.hideName&&o.name&&n(b)(o.name)||y(o.id,"name")||!e.value.hideTitle&&o.title&&n(b)(o.title)||y(o.id,"title")?(r(),i("div",{key:1,class:d(["info text-left",{"text-center":e.value.cardsAlignment==="center","text-right":e.value.cardsAlignment==="right"}])},[!e.value.hideName&&o.name&&n(b)(o.name)||y(o.id,"name")?(r(),i("div",{key:0,"data-section":"testimonials-"+o.order,"data-section-setting":"name","data-edit-text":"Name",style:c([o.hasNameBold?{"--font-weight":"800"}:{},e.value.hasNameColor?e.value.blockNameColorType==="solid"?ne.value:{"--name-color":e.value.blockNameGradient}:{}]),class:d(["name main-font",o.hasNameItalic&&"!italic",o.hasNameUnderline&&o.hasNameStrike&&"[text-decoration-line:underline_line-through]",o.hasNameUnderline&&"underline",o.hasNameStrike&&"line-through",o.hasNameUppercase&&"uppercase",o.hasNameUnderline&&"underline",Ie.value,e.value.hasNameColor?e.value.blockNameColorType==="solid"?"custom-name-color":"custom-gradient":""])},[w(F,{content:o.name,showBubbleMenu:!1,"onUpdate:content":g=>n(h)({key:"name",value:g,parent:"testimonials",id:o.id}),onFocus:()=>z(o.id,"name"),onBlur:()=>E(o.id)},null,8,["content","onUpdate:content","onFocus","onBlur"])],14,Ca)):u("",!0),e.value.hideTitle?u("",!0):(r(),i(S,{key:1},[o.title&&n(b)(o.title)||y(o.id,"title")?(r(),i("span",{key:0,"data-section":"testimonials-"+o.order,"data-section-setting":"authorTitle","data-edit-text":"Title",style:c([o.hasTitleBold?{"--font-body-weight":"600"}:{},e.value.hasAuthorTitleColor?e.value.blockTitleColorType==="solid"?Ae.value:{"--title-color":e.value.blockTitleGradient}:{}
5]),class:d(["author-title body-font",o.hasTitleItalic&&"!italic",o.hasTitleUnderline&&o.hasTitleStrike&&"[text-decoration-line:underline_line-through]",o.hasTitleUnderline&&"underline",o.hasTitleStrike&&"line-through",o.hasTitleUppercase&&"uppercase",o.hasTitleUnderline&&"underline",e.value.hasAuthorTitleColor?e.value.blockTitleColorType==="solid"?"custom-title-color":"custom-gradient":""])},[w(F,{content:o.title,showBubbleMenu:!1,"onUpdate:content":g=>n(h)({key:"title",value:g,parent:"testimonials",id:o.id}),onFocus:()=>z(o.id,"title"),onBlur:()=>E(o.id)},null,8,["content","onUpdate:content","onFocus","onBlur"])],14,Sa)):u("",!0)],64))],2)):u("",!0)],2)):u("",!0)]),w(Re,{"is-visible":C.value&&j.value,items:e.value.testimonials,"item-index":e.value.testimonials.findIndex(g=>g.id===o.id),"section-id":k.section.id,"duplicate-title":"Duplicate testimonial","remove-title":"Remove testimonial","update-content":n(h),"send-event":T,"items-key":"testimonials","max-items":30,"is-generating":B[o.id]||W[o.id]||!1},null,8,["is-visible","items","item-index","section-id","update-content","is-generating"])],14,va))),128))]))),128))],4)],6)):u("",!0),G.value?(r(),i("div",{key:1,style:c([{"--slider-width":e.value.layoutWidth+"px"},e.value.autoplay?{"--interval":e.value.interval+"s"}:{},e.value.customColors?{...At(e.value),...Tt(e.value)}:{},e.value.sectionStyle==="custom"&&(e.value.boxStyle==="plain"||e.value.boxStyle==="bordered")?{"--text-color":e.value.textStyle||"#000000"}:{}]),class:d(["testimonials-slider switcher-container relative group",e.value.customColors?"custom-color":"",{autoplay:e.value.autoplay,"pagination-left":e.value.arrowsAlignment==="left","pagination-right":e.value.arrowsAlignment==="right"},{"full-page":e.value.fullWidth,mask:e.value.mask&&e.value.mainColumns!==2},{"arrows-left":e.value.cardsAlignment==="left","arrows-right":e.value.cardsAlignment==="right"}])},[C.value&&G.value?(r(),i("div",{key:0,class:"hover-bridge",style:c({position:"absolute",top:e.value.design==="slider"&&e.value.mainColumns!==1?"-40px":"-10px",left:"0",width:"220px",height:"40px"}),"aria-hidden":"true"},null,4)):u("",!0),I.value&&G.value?D((r(),m(ze,{key:1,modelValue:e.value.design,"onUpdate:modelValue":a[17]||(a[17]=t=>e.value.design=t),options:["grid","slider","loop"],alwaysVisible:!1,offsetY:e.value.arrows&&e.value.mainColumns===1?20:e.value.design==="slider"&&e.value.mainColumns!==1?-40:-10,offsetX:e.value.design==="slider"&&(e.value.fullWidth||e.value.fullSlider)&&e.value.mainColumns===1?20:0,anchor:"top-left",onChangeEnd:a[18]||(a[18]=t=>n(h)({key:"design",value:t}))},null,8,["modelValue","offsetY","offsetX"])),[[L,!p.value]]):u("",!0),I.value&&G.value&&e.value.mainColumns===2?D((r(),m(ce,{key:2,"model-value":e.value.mainColumns||1,"always-visible":!1,"offset-y":-40,"offset-x":(e.value.design==="slider"&&(e.value.fullWidth||e.value.fullSlider)&&e.value.mainColumns===1?20:0)+135,anchor:"top-left","onUpdate:modelValue":a[19]||(a[19]=t=>e.value.mainColumns=t),onChangeEnd:a[20]||(a[20]=t=>n(h)({key:"mainColumns",value:t}))},null,8,["model-value","offset-x"])),[[L,!p.value]]):u("",!0),I.value&&G.value&&e.value.mainColumns!==2?D((r(),m(ce,{key:3,"model-value":e.value.mainColumns||1,"always-visible":!1,"offset-y":e.value.arrows&&e.value.mainColumns===1?20:-10,"offset-x":e.value.design==="slider"&&e.value.fullSlider?20:0,anchor:"top-right","onUpdate:modelValue":a[21]||(a[21]=t=>e.value.mainColumns=t),onChangeEnd:a[22]||(a[22]=t=>n(h)({key:"mainColumns",value:t}))},null,8,["model-value","offset-y","offset-x"])),[[L,!p.value]]):u("",!0),w(Ee,{"is-visible":I.value,items:e.value.testimonials,"section-id":k.section.id,"button-text":"Add item","update-content":n(h),"send-event":T,"items-key":"testimonials","preset-type":k.section.presetType},null,8,["is-visible","items","section-id","update-content","preset-type"]),e.value.mainColumns===2&&(!e.value.testimonials||e.value.testimonials.length===0)?(r(),i("div",Aa)):u("",!0),e.value.arrows&&e.value.mainColumns!==2?(r(),i("div",{key:5,class:d(["slider-controls",e.value.customColors?"custom-color":"",{"!mt-0":n($)&&!H.value},n(J),n(Qe),{"!max-w-none":e.value.fullWidth},{"justify-center":e.value.arrowsAlignment==="center","justify-end":e.value.arrowsAlignment==="right"}]),style:c([e.value.sectionStyle==="custom"?{"--controls-color":e.value.textStyle||"#000000"}:{}
5,e.value.customColors?{...Ke(e.value),...et(e.value),"--controls-color":e.value.dotsInactiveColor}:{},n(re)(e.value.layoutWidth)])},[v("div",{class:"arrow arrow-prev",onClick:ee(Xe,["stop"])},[w(n(ue),{type:"chevron-left"})]),v("div",{class:"arrow arrow-next",onClick:ee(Ze,["stop"])},[w(n(ue),{type:"chevron-right"})])],6)):u("",!0),w(n(Vt),{ref_key:"splideRef",ref:R,options:gt.value,"aria-label":"My Favorite Images"},{default:rt(()=>[(r(!0),i(S,null,O(e.value.testimonials,(t,s)=>(r(),m(n(Mt),{key:t.order,"data-section":"testimonials-"+t.order,class:d(["relative z-[10] group/item",e.value.cardHeight==="center"?"flex self-center justify-center":""])},{default:rt(()=>[v("div",{style:c([e.value.customRadius?{"--box-radius":`${e.value.radius}px`}:{},n(be),n(Ce),n(we)]),class:d(["testimonial-item w-full relative",ge.value,{"with-box":e.value.withBox,"with-border":e.value.withBorder,"backdrop-blur-lg":e.value.boxStyle==="custom"&&e.value.withBlur&&(e.value.withBox||e.value.withBorder)},e.value.cardHeight==="unified"?"h-full":"h-auto",n(Be)])},[e.value.sectionStyle==="custom"&&e.value.boxStyle==="bordered"?(r(),i("div",Ta)):u("",!0),v("div",{class:d(["testimonial-content flex flex-col",e.value.cardHeight==="unified"?"justify-between h-full":"h-auto"])},[v("div",null,[e.value.type==="testimonial"&&!t.mediaImgSrc?(r(),i("div",_a,[(r(),i("svg",{style:c(Te.value),class:d(["quotes",Ue.value,{"custom-color":e.value.hasQuotesColor,"mx-auto":e.value.cardsAlignment==="center","ml-auto":e.value.cardsAlignment==="right"}]),xmlns:"http://www.w3.org/2000/svg",width:"30",height:"30",viewBox:"0 0 24 24"},[...a[30]||(a[30]=[v("path",{d:"M13 14.725c0-5.141 3.892-10.519 10-11.725l.984 2.126c-2.215.835-4.163 3.742-4.38 5.746 2.491.392 4.396 2.547 4.396 5.149 0 3.182-2.584 4.979-5.199 4.979-3.015 0-5.801-2.305-5.801-6.275zm-13 0c0-5.141 3.892-10.519 10-11.725l.984 2.126c-2.215.835-4.163 3.742-4.38 5.746 2.491.392 4.396 2.547 4.396 5.149 0 3.182-2.584 4.979-5.199 4.979-3.015 0-5.801-2.305-5.801-6.275z"},null,-1)])],6))])):u("",!0),e.value.type==="testimonial"&&(t.mediaImgSrc||B[t.id]||M[t.id])?(r(),i("div",{key:1,"data-section":"testimonials-"+t.order,style:c({"--max-width":t.mediaWidth+"px"}),"data-section-setting":"media","data-edit-text":"Image",class:d(["image justify-self-start relative",{"!justify-self-center":e.value.cardsAlignment==="center","!justify-self-end":e.value.cardsAlignment==="right"}])},[n(P)?(r(),m(Q,{key:0,sectionId:k.section.id,itemId:t.id,active:B[t.id]||!1},null,8,["sectionId","itemId","active"])):u("",!0),M[t.id]?(r(),m(U,{key:1,src:M[t.id],transformations:{},class:d({"mx-auto":e.value.cardsAlignment==="center","ml-auto":e.value.cardsAlignment==="right"}),style:c({"--max-width":t.mediaWidth+"px"}),alt:"banner"},null,8,["src","class","style"])):!B[t.id]&&t.mediaImgSrc?(r(),m(U,{key:2,src:t.mediaImgSrc,transformations:{},class:d({"mx-auto":e.value.cardsAlignment==="center","ml-auto":e.value.cardsAlignment==="right"}),style:c({"--max-width":t.mediaWidth+"px"}),alt:"banner"},null,8,["src","class","style"])):u("",!0)],14,Ba)):u("",!0),e.value.type==="review"?(r(),i("div",{key:2,style:c(_e.value),"data-section":"testimonials-"+t.order,"data-section-setting":"rating","data-edit-text":"Rating",class:d(["rating flex items-center mb-3",Ne.value,{"!mb-0":!t.text&&!y(t.id,"text"),"custom-color":e.value.hasStarsColor,"justify-center":e.value.cardsAlignment==="center","justify-end":e.value.cardsAlignment==="right"}])},[(r(),i(S,null,O(5,o=>(r(),i(S,{key:o},[o<=Math.floor(t.rating)?(r(),m(n(Fe),{key:0,class:"w-[25px] h-[25px] full-star",style:c({color:t.rating===1?"#ea3800":"#eab100"})},null,8,["style"])):t.rating>o-1&&t.rating<o?(r(),i("svg",Ia,[...a[31]||(a[31]=[v("g",{class:"full-half"},[v("path",{d:`M10.2,0.5c-0.2,0-0.4,0-0.6,0.1C9.2,0.7,9,1,8.8,1.3l0,0l-2.1,5L1.3,6.7C1,6.8,0.7,6.9,0.4,7.2c-0.2,0.3-0.3,0.6-0.3,1
6                            c0,0.3,0.2,0.7,0.5,0.9l4.1,3.5l-1.3,5.3c-0.1,0.3,0,0.7,0.2,1c0.2,0.3,0.5,0.5,0.8,0.6c0.1,0,0.2,0,0.3,0c0.2,0,0.5-0.1,0.7-0.2
7                            l4.6-2.8l0.1,0.1V0.5z`})],-1),v("g",{class:"empty-half"},[v("path",{d:`M19.8,7.6c-0.2-0.5-0.6-0.9-1.1-0.9l-5.4-0.4l-2.1-5c-0.1-0.3-0.4-0.6-0.7-0.7c-0.1,0-0.2-0.1-0.3-0.1v2.2L11.9,7
8                            c0.2,0.5,0.6,0.8,1.1,0.8l5.1,0.4l-3.9,3.3c-0.4,0.3-0.5,0.8-0.4,1.3l1.2,4.9l-4.3-2.6c-0.2-0.1-0.3-0.1-0.5-0.2v1.6l4.4,2.7
9                            c0.3,0.2,0.7,0.2,1,0.2c0.3-0.1,0.6-0.3,0.8-0.6c0.2-0.3,0.2-0.7,0.2-1l-1.3-5.3L19.4,9C19.8,8.7,20,8.1,19.8,7.6z`})],-1)])])):(r(),m(n(qe),{key:2,class:"w-[25px] h-[25px] empty-star"}))],64))),64))],14,Wa)):u("",!0),t.text&&n(b)(t.text)||y(t.id,"text")?(r(),i("div",{key:3,"data-section":"testimonials-"+t.order,"data-section-setting":"text","data-edit-text":"Text","data-text-width-host":"",style:c([n(xe)(t.textWidth),e.value.hasTextColor?e.value.blockTextColorType==="solid"?Se.value:{"--text-color":e.value.blockTextGradient}:{}]),class:d(["text-left text body-font",e.value.hasTextColor?e.value.blockTextColorType==="solid"?"custom-text-color":"custom-gradient":"",We.value,{"ml-auto":e.value.cardsAlignment==="right","mx-auto":e.value.cardsAlignment==="center","max-width":e.value.perPage===1,"text-center":e.value.cardsAlignment==="center","text-right":e.value.cardsAlignment==="right"}])}
9,[w(F,{content:t.text,onReady:()=>n(Ct)(t.id),"onUpdate:content":o=>n(h)({key:"text",value:o,parent:"testimonials",id:t.id}),onFocus:()=>z(t.id,"text"),onBlur:()=>E(t.id)},null,8,["content","onReady","onUpdate:content","onFocus","onBlur"]),C.value||p.value==="textWidth:"+t.id?(r(),m(Ve,{key:0,modelValue:t.textWidth,"onUpdate:modelValue":o=>t.textWidth=o,min:100,max:1500,"send-event":T,onDragging:o=>{p.value=o?"textWidth:"+t.id:p.value==="textWidth:"+t.id?null:p.value},onChangeEnd:o=>n(h)({key:"textWidth",value:o,parent:"testimonials",id:t.id})},null,8,["modelValue","onUpdate:modelValue","onDragging","onChangeEnd"])):u("",!0)],14,Ua)):u("",!0)]),!e.value.hideAvatar||!e.value.hideName&&t.name&&n(b)(t.name)||y(t.id,"name")||!e.value.hideTitle&&t.title&&n(b)(t.title)||y(t.id,"title")?(r(),i("div",{key:0,class:d(["author-info flex items-center gap-3 mt-6",{"!mt-4":!t.text&&!y(t.id,"text"),"flex-col":e.value.cardsAlignment==="center","flex-row-reverse":e.value.cardsAlignment==="right"}])},[e.value.hideAvatar?u("",!0):(r(),i(S,{key:0},[(t.avatarSrc==="/img/dummy-avatar.svg"||!t.avatarSrc)&&!W[t.id]&&!V[t.id]?(r(),i("div",{key:0,"data-section":"testimonials-"+t.order,"data-section-setting":"avatar","data-edit-text":"Avatar","data-ai-target":"avatar","data-item-id":t.id},[...a[32]||(a[32]=[v("div",{class:"avatar"},[v("svg",{class:"blank-img",type:"image/svg+xml",xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 200 200",role:"img",preserveAspectRatio:"xMidYMid meet","data-testid":"media"},[v("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M100 107.5c6.2 0 11.3-6.2 11.3-13.7 0-7.6-5-13.8-11.3-13.8-6.2 0-11.3 6.2-11.3 13.8 0 7.5 5 13.7 11.3 13.7m20.1 5.2-.1-.7c-.2-1.2-1.1-2-1.5-2.3l-2-1-1.8-.9q-1.9-1-3.5-1.5s-3.7 5.7-11.2 5.7-11.3-5.7-11.3-5.7c-.9.2-2.2 1-3.4 1.5l-1.9 1q-1 .3-1.9 1c-.4.2-1.3 1-1.5 2.2a7 7 0 0 0-.2 2.7 6 6 0 0 0 3.9 5l1.7.3h29.2q.8 0 1.7-.3a6 6 0 0 0 3.9-5z",fill:"#fff"})])],-1)])],8,Na)):(r(),i("div",{key:1,"data-section":"testimonials-"+t.order,"data-section-setting":"avatar","data-edit-text":"Avatar","data-ai-target":"avatar","data-item-id":t.id},[v("div",Va,[n(P)?(r(),m(Q,{key:0,sectionId:k.section.id,itemId:t.id,target:"avatar",isCircle:!0,"hide-label":!0,active:W[t.id]||!1},null,8,["sectionId","itemId","active"])):u("",!0),V[t.id]?(r(),m(U,{key:1,src:V[t.id],transformations:{},class:d(Y(t)),alt:"banner"},null,8,["src","class"])):!W[t.id]&&t.avatarSrc?(r(),m(U,{key:2,src:t.avatarSrc,transformations:{},class:d(Y(t)),alt:"banner"},null,8,["src","class"])):u("",!0)])],8,Ma))],64)),!e.value.hideName&&t.name&&n(b)(t.name)||y(t.id,"name")||!e.value.hideTitle&&t.title&&n(b)(t.title)||y(t.id,"title")?(r(),i("div",{key:1,style:c(e.value.boxStyle==="custom"&&e.value.hasNameColor&&e.value.blockNameColorType==="solid"?ne.value:{}),class:d(["info text-left",{"text-center":e.value.cardsAlignment==="center","text-right":e.value.cardsAlignment==="right"}])},[!e.value.hideName&&t.name&&n(b)(t.name)||y(t.id,"name")?(r(),i("div",{key:0,"data-section":"testimonials-"+t.order,"data-section-setting":"name","data-edit-text":"Name",style:c([t.hasNameBold?{"--font-weight":"800"}:{},e.value.hasNameColor?e.value.blockNameColorType==="solid"?ne.value:{"--name-color":e.value.blockNameGradient}:{}]),class:d(["name main-font",t.hasNameItalic&&"!italic",t.hasNameUnderline&&t.hasNameStrike&&"[text-decoration-line:underline_line-through]",t.hasNameUnderline&&"underline",t.hasNameStrike&&"line-through",t.hasNameUppercase&&"uppercase",t.hasNameUnderline&&"underline",e.value.hasNameColor?e.value.blockNameColorType==="solid"?"custom-name-color":"custom-gradient":"",Ie.value])}
9,[w(F,{content:t.name,showBubbleMenu:!1,"onUpdate:content":o=>n(h)({key:"name",value:o,parent:"testimonials",id:t.id}),onFocus:()=>z(t.id,"name"),onBlur:()=>E(t.id)},null,8,["content","onUpdate:content","onFocus","onBlur"])],14,za)):u("",!0),e.value.hideTitle?u("",!0):(r(),i(S,{key:1},[t.title&&n(b)(t.title)||y(t.id,"title")?(r(),i("span",{key:0,"data-section":"testimonials-"+t.order,"data-section-setting":"authorTitle",style:c([t.hasTitleBold?{"--font-body-weight":"600"}:{},e.value.hasAuthorTitleColor?e.value.blockTitleColorType==="solid"?Ae.value:{"--title-color":e.value.blockTitleGradient}:{}]),class:d(["author-title body-font",t.hasTitleItalic&&"!italic",t.hasTitleUnderline&&t.hasTitleStrike&&"[text-decoration-line:underline_line-through]",t.hasTitleUnderline&&"underline",t.hasTitleStrike&&"line-through",t.hasTitleUppercase&&"uppercase",t.hasTitleUnderline&&"underline",e.value.hasAuthorTitleColor?e.value.blockTitleColorType==="solid"?"custom-title-color":"custom-gradient":""])},[w(F,{content:t.title,showBubbleMenu:!1,"onUpdate:content":o=>n(h)({key:"title",value:o,parent:"testimonials",id:t.id}),onFocus:()=>z(t.id,"title"),onBlur:()=>E(t.id)},null,8,["content","onUpdate:content","onFocus","onBlur"])],14,Ea)):u("",!0)],64))],6)):u("",!0)],2)):u("",!0)],2),w(Re,{"is-visible":C.value&&j.value,items:e.value.testimonials,"item-index":s,"section-id":k.section.id,"duplicate-title":"Duplicate testimonial","remove-title":"Remove testimonial","update-content":n(h),"send-event":T,"items-key":"testimonials","is-generating":B[t.id]||W[t.id]||!1},null,8,["is-visible","items","item-index","section-id","update-content","is-generating"])],6)]),_:2},1032,["data-section","class"]))),128))]),_:1},8,["options"])],6)):u("",!0),oe.value?(r(),i("div",{key:2,class:d(["testimonials-box relative ",{"!mt-0":n($)&&!H.value},{"no-transitions":Ye.value}]),style:c(e.value.sectionStyle==="custom"&&e.value.itemStyle==="plain"||e.value.itemStyle==="bordered"?{"--text-color":e.value.textStyle||"#000000"}:{})},[v("div",Ra,[!N.value&&je.value&&C.value&&j.value&&e.value.design==="loop"?(r(),i("div",{key:0,class:"edit-marquee opacity-0 scale-90 transition-[transform,opacity] duration-[400ms] ease-[linear(0,_0.01_0.8%,_0.037_1.6%,_0.15_3.4%,_0.779_9.9%,_1.002_12.7%,_1.079_14%,_1.142_15.4%,_1.185_16.8%,_1.21_18.3%,_1.216_20.1%,_1.2_22%,_1.165_24.1%,_1.055_29.2%,_1.008_31.8%,_0.972_34.8%,_0.955_37.8%,_0.957_41.7%,_0.998_51.3%,_1.009_57%,_0.998_76.1%,_1)] group-hover:opacity-100 group-hover:scale-100 hover:bg-[#52505099] cursor-pointer absolute left-1/2 top-1/2 -translate-x-1/2 -translate-y-1/2 z-[100] bg-[#65676699] text-white px-7 py-3 rounded-full backdrop-blur-md text-[15px] font-normal flex items-center gap-[5px]",onClick:ee(ct,["stop"])},[w(n(jt),{size:16,weight:"bold"}),a[33]||(a[33]=zt(" Edit Content ",-1))])):u("",!0),C.value&&oe.value?(r(),i("div",qa)):u("",!0),I.value&&oe.value&&N.value?D((r(),m(ze,{key:2,modelValue:e.value.design,"onUpdate:modelValue":a[23]||(a[23]=t=>e.value.design=t),options:["grid","slider","loop"],alwaysVisible:!1,offsetY:-40,offsetX:0,anchor:"top-left",onChangeEnd:a[24]||(a[24]=t=>n(h)({key:"design",value:t}))},null,8,["modelValue"])),[[L,!p.value]]):u("",!0),I.value&&oe.value&&N.value?D((r(),m(ce,{key:3,"model-value":e.value.mainColumns||1,"always-visible":!1,"offset-y":-40,"offset-x":0,anchor:"top-right","onUpdate:modelValue":a[25]||(a[25]=t=>e.value.mainColumns=t),onChangeEnd:a[26]||(a[26]=t=>n(h)({key:"mainColumns",value:t}))},null,8,["model-value"])),[[L,!p.value]]):u("",!0),w(Ee,{"is-visible":C.value&&j.value&&N.value,items:e.value.testimonials,"section-id":k.section.id,"button-text":"Add item","update-content":n(h),"send-event":T,"items-key":"testimonials","preset-type":k.section.presetType,"max-items":30},null,8,["is-visible","items","section-id","update-content","preset-type"]),e.value.mainColumns===2&&(!e.value.testimonials||e.value.testimonials.length===0)?(r(),i("div",Fa)):u("",!0),v("div",{class:d(["columns-wrapper loop-wrapper relative flex items-start group",{mask:e.value.mask,"pause-on-hover":e.value.pauseOnHover,reversed:e.value.direction==="end"}]),style:c([{"--duration":e.value.speed+"ms","--mobile-duration":e.value.mobileSpeed+"ms"},e.value.sectionStyle==="custom"&&e.value.boxStyle==="plain"||e.value.boxStyle==="bordered"?{"--text-color":e.value.textStyle||"#000000"}:{}])},[(r(),i(S,null,O(2,t=>v("div",{class:d(["column loop-group flex",e.value.cardHeight==="center"?"items-center ":e.value.cardHeight==="unique"?"items-start":""]),"aria-hidden":t===2?"true":null},[(r(!0),i(S,null,O(e.value.testimonials,(s,o)=>(r(),i("div",{key:(t===2?"dup-":"")+s.order,"data-section":"testimonials-"+s.order,style:c([e.value.customRadius?{"--box-radius":`${e.value.radius}px`}:{},n(be),n(Ce),n(we)]),class:d(["testimonial-item relative group/item",ge.value,{"with-box":e.value.withBox,"with-border":e.value.withBorder,"backdrop-blur-lg":e.value.boxStyle==="custom"&&e.value.withBlur&&(e.value.withBox||e.value.withBorder)},n(Be)])},[e.value.sectionStyle==="custom"&&e.value.boxStyle==="bordered"?(r(),i("div",Da)):u("",!0),v("div",{class:d(["testimonial-content",e.value.cardHeight==="unified"?"h-full flex flex-col justify-between":""])},[v("div",{class:"content-box",style:c(n(xe)(s.textWidth))},[e.value.type==="testimonial"&&!s.mediaImgSrc?(r(),i("div",La,[(r(),i("svg",{style:c(Te.value),class:d(["quotes",Ue.value,{"custom-color":e.value.hasQuotesColor,"mx-auto":e.value.cardsAlignment==="center","ml-auto":e.value.cardsAlignment==="right"}]),xmlns:"http://www.w3.org/2000/svg",width:"30",height:"30",viewBox:"0 0 24 24"},[...a[34]||(a[34]=[v("path",{d:"M13 14.725c0-5.141 3.892-10.519 10-11.725l.984 2.126c-2.215.835-4.163 3.742-4.38 5.746 2.491.392 4.396 2.547 4.396 5.149 0 3.182-2.584 4.979-5.199 4.979-3.015 0-5.801-2.305-5.801-6.275zm-13 0c0-5.141 3.892-10.519 10-11.725l.984 2.126c-2.215.835-4.163 3.742-4.38 5.746 2.491.392 4.396 2.547 4.396 5.149 0 3.182-2.584 4.979-5.199 4.979-3.015 0-5.801-2.305-5.801-6.275z"},null,-1)])],6))])):u("",!0),e.value.type==="testimonial"&&(s.mediaImgSrc||B[s.id]||M[s.id])?(r(),i("div",{key:1,"data-section":"testimonials-"+s.order,style:c({"--max-width":s.mediaWidth+"px"}),"data-section-setting":"media","data-edit-text":"Image",class:d(["image justify-self-start relative",{"!justify-self-center":e.value.cardsAlignment==="center","!justify-self-end":e.value.cardsAlignment==="right"}])},[n(P)?(r(),m(Q,{key:0,sectionId:k.section.id,itemId:s.id,active:B[s.id]||!1},null,8,["sectionId","itemId","active"])):u("",!0),M[s.id]?(r(),m(U,{key:1,src:M[s.id],transformations:{},class:d({"mx-auto":e.value.cardsAlignment==="center","ml-auto":e.value.cardsAlignment==="right"}),style:c({"--max-width":s.mediaWidth+"px"}),alt:"banner"},null,8,["src","class","style"])):!B[s.id]&&s.mediaImgSrc?(r(),m(U,{key:2,src:s.mediaImgSrc,transformations:{},class:d({"mx-auto":e.value.cardsAlignment==="center","ml-auto":e.value.cardsAlignment==="right"}),style:c({"--max-width":s.mediaWidth+"px"}),alt:"banner"},null,8,["src","class","style"])):u("",!0)],14,Oa)):u("",!0),e.value.type==="review"?(r(),i("div",{key:2,style:c(_e.value),"data-section":"testimonials-"+s.order,"data-section-setting":"rating","data-edit-text":"Rating",class:d(["rating flex items-center mb-3",Ne.value,{"!mb-0":!s.text&&!y(s.id,"text"),"custom-color":e.value.hasStarsColor,"justify-center":e.value.cardsAlignment==="center","justify-end":e.value.cardsAlignment==="right"}])},[(r(),i(S,null,O(5,g=>(r(),i(S,{key:g},[g<=Math.floor(s.rating)?(r(),m(n(Fe),{key:0,class:"w-[25px] h-[25px] full-star",style:c({color:s.rating===1?"#ea3300 !important":"#eab100"})},null,8,["style"])):s.rating>g-1&&s.rating<g?(r(),i("svg",Ga,[...a[35]||(a[35]=[v("g",{class:"full-half"},[v("path",{d:`M10.2,0.5c-0.2,0-0.4,0-0.6,0.1C9.2,0.7,9,1,8.8,1.3l0,0l-2.1,5L1.3,6.7C1,6.8,0.7,6.9,0.4,7.2c-0.2,0.3-0.3,0.6-0.3,1
10                                c0,0.3,0.2,0.7,0.5,0.9l4.1,3.5l-1.3,5.3c-0.1,0.3,0,0.7,0.2,1c0.2,0.3,0.5,0.5,0.8,0.6c0.1,0,0.2,0,0.3,0c0.2,0,0.5-0.1,0.7-0.2
11                                l4.6-2.8l0.1,0.1V0.5z`})],-1),v("g",{class:"empty-half"},[v("path",{d:`M19.8,7.6c-0.2-0.5-0.6-0.9-1.1-0.9l-5.4-0.4l-2.1-5c-0.1-0.3-0.4-0.6-0.7-0.7c-0.1,0-0.2-0.1-0.3-0.1v2.2L11.9,7
12                                c0.2,0.5,0.6,0.8,1.1,0.8l5.1,0.4l-3.9,3.3c-0.4,0.3-0.5,0.8-0.4,1.3l1.2,4.9l-4.3-2.6c-0.2-0.1-0.3-0.1-0.5-0.2v1.6l4.4,2.7
13                                c0.3,0.2,0.7,0.2,1,0.2c0.3-0.1,0.6-0.3,0.8-0.6c0.2-0.3,0.2-0.7,0.2-1l-1.3-5.3L19.4,9C19.8,8.7,20,8.1,19.8,7.6z`})],-1)])])):(r(),m(n(qe),{key:2,class:"w-[25px] h-[25px] empty-star"}))],64))),64))],14,$a)):u("",!0),s.text&&n(b)(s.text)||y(s.id,"text")?(r(),i("div",{key:3,"data-section":"testimonials-"+s.order,"data-section-setting":"text","data-edit-text":"Text","data-text-width-host":"",style:c([e.value.hasTextColor?e.value.blockTextColorType==="solid"?Se.value:{"--text-color":e.value.blockTextGradient}:{}]),class:d(["body-font text-left text",e.value.hasTextColor?e.value.blockTextColorType==="solid"?"custom-text-color":"custom-gradient":"",We.value,{"ml-auto":e.value.cardsAlignment==="right","mx-auto":e.value.cardsAlignment==="center","text-center":e.value.cardsAlignment==="center","text-right":e.value.cardsAlignment==="right"}])}
13,[w(F,{content:s.text,"onUpdate:content":g=>n(h)({key:"text",value:g,parent:"testimonials",id:s.id}),onFocus:()=>z(s.id,"text"),onBlur:()=>E(s.id)},null,8,["content","onUpdate:content","onFocus","onBlur"]),C.value||p.value==="textWidth:"+s.id?(r(),m(Ve,{key:0,modelValue:s.textWidth,"onUpdate:modelValue":g=>s.textWidth=g,min:100,max:1500,side:e.value.cardsAlignment==="right"?"left":"right","send-event":T,onDragging:g=>{p.value=g?"textWidth:"+s.id:p.value==="textWidth:"+s.id?null:p.value},onChangeEnd:g=>n(h)({key:"textWidth",value:g,parent:"testimonials",id:s.id})},null,8,["modelValue","onUpdate:modelValue","side","onDragging","onChangeEnd"])):u("",!0)],14,Ha)):u("",!0)],4),!e.value.hideAvatar||!e.value.hideName&&s.name&&n(b)(s.name)||y(s.id,"name")||!e.value.hideTitle&&s.title&&n(b)(s.title)||y(s.id,"title")?(r(),i("div",{key:0,class:d(["author-info flex items-center gap-3 mt-6",{"!mt-4":!s.text&&!y(s.id,"text"),"flex-col":e.value.cardsAlignment==="center","flex-row-reverse":e.value.cardsAlignment==="right"}])},[e.value.hideAvatar?u("",!0):(r(),i(S,{key:0},[(s.avatarSrc==="/img/dummy-avatar.svg"||!s.avatarSrc)&&!W[s.id]&&!V[s.id]?(r(),i("div",{key:0,"data-section":"testimonials-"+s.order,"data-section-setting":"avatar","data-edit-text":"Avatar","data-ai-target":"avatar","data-item-id":s.id},[...a[36]||(a[36]=[v("div",{class:"avatar"},[v("svg",{class:"blank-img",type:"image/svg+xml",xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 200 200",role:"img",preserveAspectRatio:"xMidYMid meet","data-testid":"media"},[v("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M100 107.5c6.2 0 11.3-6.2 11.3-13.7 0-7.6-5-13.8-11.3-13.8-6.2 0-11.3 6.2-11.3 13.8 0 7.5 5 13.7 11.3 13.7m20.1 5.2-.1-.7c-.2-1.2-1.1-2-1.5-2.3l-2-1-1.8-.9q-1.9-1-3.5-1.5s-3.7 5.7-11.2 5.7-11.3-5.7-11.3-5.7c-.9.2-2.2 1-3.4 1.5l-1.9 1q-1 .3-1.9 1c-.4.2-1.3 1-1.5 2.2a7 7 0 0 0-.2 2.7 6 6 0 0 0 3.9 5l1.7.3h29.2q.8 0 1.7-.3a6 6 0 0 0 3.9-5z",fill:"#fff"})])],-1)])],8,Ya)):(r(),i("div",{key:1,"data-section":"testimonials-"+s.order,"data-section-setting":"avatar","data-edit-text":"Avatar","data-ai-target":"avatar","data-item-id":s.id},[v("div",Xa,[n(P)?(r(),m(Q,{key:0,sectionId:k.section.id,itemId:s.id,target:"avatar",isCircle:!0,"hide-label":!0,active:W[s.id]||!1},null,8,["sectionId","itemId","active"])):u("",!0),V[s.id]?(r(),m(U,{key:1,src:V[s.id],transformations:{},class:d(Y(s)),alt:"banner"},null,8,["src","class"])):!W[s.id]&&s.avatarSrc?(r(),m(U,{key:2,src:s.avatarSrc,transformations:{},class:d(Y(s)),alt:"banner"},null,8,["src","class"])):u("",!0)])],8,Qa))],64)),!e.value.hideName&&s.name&&n(b)(s.name)||y(s.id,"name")||!e.value.hideTitle&&s.title&&n(b)(s.title)||y(s.id,"title")?(r(),i("div",{key:1,class:d(["info text-left",{"text-center":e.value.cardsAlignment==="center","text-right":e.value.cardsAlignment==="right"}])},[!e.value.hideName&&s.name&&n(b)(s.name)||y(s.id,"name")?(r(),i("div",{key:0,"data-section":"testimonials-"+s.order,"data-section-setting":"name","data-edit-text":"Name",style:c([s.hasNameBold?{"--font-weight":"800"}:{},e.value.hasNameColor?e.value.blockNameColorType==="solid"?ne.value:{"--name-color":e.value.blockNameGradient}:{}]),class:d(["name main-font",s.hasNameItalic&&"!italic",s.hasNameUnderline&&s.hasNameStrike&&"[text-decoration-line:underline_line-through]",s.hasNameUnderline&&"underline",s.hasNameStrike&&"line-through",s.hasNameUppercase&&"uppercase",s.hasNameUnderline&&"underline",Ie.value,e.value.hasNameColor?e.value.blockNameColorType==="solid"?"custom-name-color":"custom-gradient":""])},[w(F,{content:s.name,showBubbleMenu:!1,"onUpdate:content":g=>n(h)({key:"name",value:g,parent:"testimonials",id:s.id}),onFocus:()=>z(s.id,"name"),onBlur:()=>E(s.id)},null,8,["content","onUpdate:content","onFocus","onBlur"])],14,Za)):u("",!0),e.value.hideTitle?u("",!0):(r(),i(S,{key:1},[s.title&&n(b)(s.title)||y(s.id,"title")?(r(),i("span",{key:0,"data-section":"testimonials-"+s.order,"data-section-setting":"authorTitle","data-edit-text":"Title",style:c([s.hasTitleBold?{"--font-body-weight":"600"}:{},e.value.hasAuthorTitleColor?e.value.blockTitleColorType==="solid"?Ae.value:{"--title-color":e.value.blockTitleGradient}:{}
13]),class:d(["author-title body-font",s.hasTitleItalic&&"!italic",s.hasTitleUnderline&&s.hasTitleStrike&&"[text-decoration-line:underline_line-through]",s.hasTitleUnderline&&"underline",s.hasTitleStrike&&"line-through",s.hasTitleUppercase&&"uppercase",s.hasTitleUnderline&&"underline",e.value.hasAuthorTitleColor?e.value.blockTitleColorType==="solid"?"custom-title-color":"custom-gradient":""])},[w(F,{content:s.title,showBubbleMenu:!1,"onUpdate:content":g=>n(h)({key:"title",value:g,parent:"testimonials",id:s.id}),onFocus:()=>z(s.id,"title"),onBlur:()=>E(s.id)},null,8,["content","onUpdate:content","onFocus","onBlur"])],14,Ja)):u("",!0)],64))],2)):u("",!0)],2)):u("",!0)],2),w(Re,{"is-visible":C.value&&j.value,items:e.value.testimonials,"item-index":(t===2?"dup-":"")+e.value.testimonials.findIndex(g=>g.id===s.id),"section-id":k.section.id,"duplicate-title":"Duplicate testimonial","remove-title":"Remove testimonial","update-content":n(h),"send-event":T,"items-key":"testimonials","max-items":30,"is-generating":B[s.id]||W[s.id]||!1},null,8,["is-visible","items","item-index","section-id","update-content","is-generating"])],14,ja))),128))],10,Pa)),64))],6)])],6)):u("",!0),w(Ht,{model:e.value,"update-content":n(h)},null,8,["model","update-content"])],6)],6)):u("",!0)],38)}}}),El=Et(Ka,[["__scopeId","data-v-741c1b3f"]]);export{El 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.