1import{E as e,e as l,g as t,a as n,j as a,b as i,d as s,f as o,c as r}from"./index-C2S2Yysw.js";import{e as d,r as c}from"./vendor-CK00QW4g.js";import{c as m,A as x}from"./main-BcBMYSYc.js";import{u as h,D as _}from"./embla-carousel-pagination-button-M2T532ru.js";import{H as u,a as g}from"./arrow-right-2-CgB3nlN-.js";const p=p=>{const{component_content:v}=p,{isShowPagination:b,paginationPosition:f,showSliderArrows:w,headingTag:j,enableAi:N,version:y,colorOptions:k}=JSON.parse(v),{componentDataDispatcher:D,contentModel:C,selectedIndex:L,scrollSnaps:S,DotButton:I,emblaRef:M,onDotButtonClick:T,scrollNext:P,scrollPrev:H}=(a=>{const{isAutoPlay:i,autoPlayTime:s,id:o,contentModel:r,modelInternalName:u}=d.propsParser(a),g="testimonial-slider-ssr",{componentDataDispatcher:p,setComponentDataDispatcher:v,isComponentLoaded:b}=e({id:o,modelInternalName:u,modelKeyForSSR:g}),{WIDGET_CHECK_TRUE:f}=n,w={playOnInit:i===f,delay:parseInt(s)||1e3},[j,N]=m({active:!0,loop:!0,slidesToScroll:1},[x(w)]);let y;(null==r?void 0:r.trim().length)&&(y=JSON.parse(r)),c.useEffect((()=>{var e;b&&(v({type:l.fetchingData}),(null==(e=null==r?void 0:r.trim())?void 0:e.length)&&(async()=>{v({type:l.dataFetched,data:await t(y,u,g,o)})})())}),[r]);const k=c.useCallback((()=>{N&&N.scrollPrev()}),[N]),D=c.useCallback((()=>{N&&N.scrollNext()}),[N]),{selectedIndex:C,scrollSnaps:L,onDotButtonClick:S}=h(N);return{componentDataDispatcher:p,contentModel:r,selectedIndex:C,scrollSnaps:L,DotButton:_,emblaRef:j,onDotButtonClick:S,scrollNext:D,scrollPrev:k}})(p),{WIDGET_CHECK_TRUE:A}=n,{componentData:E,isLoading:F}=D,B=[{width:48},{width:48},{width:48},{width:36},{width:36}];return a.jsxs(a.Fragment,{children:[a.jsx(i,{loaderClassName:"",contentModel:C,isLoading:F,componentData:E}),(null==E?void 0:E.id)&&!F&&("v2"===y?a.jsx(a.Fragment,{children:a.jsx("section",{className:"integration-slider bg-ai-50 section-gap lg:py-20 py-16 relative overflow-hidden",children:a.jsx("div",{className:"container",children:a.jsx("div",{className:"relative",children:a.jsxs("div",{className:"row flex flex-wrap items-center -mx-4 [&_.column]:px-4",children:[((null==E?void 0:E.heading_et)||(null==E?void 0:E.description_et))&&a.jsx("div",{className:"column w-full",children:a.jsxs("div",{className:(N===A?"section-title-part-ai":"section-title-part")+" text-center",children:[(null==E?void 0:E.tag_line_et)&&a.jsxs("span",{className:"tag-line "+(N===A?"text-coolgray-500":"text-white opacity-50"),children:[" ",null==E?void 0:E.tag_line_et," "]}),(null==E?void 0:E.heading_et)&&a.jsx("h2",{className:`text-white ${j||"h2"} mb-4 ${N===A?"font-semibold":""}`,dangerouslySetInnerHTML:{__html:null==E?void 0:E.heading_et}}),(null==E?void 0:E.description_et)&&a.jsx("p",{className:"w-full !text-white opacity-50",dangerouslySetInnerHTML:{__html:null==E?void 0:E.description_et}})]})}),a.jsx("div",{className:"column w-full",children:a.jsxs("div",{className:"integration-slider-inner",children:[a.jsx("div",{className:"embla integration-slider-embla overflow-hidden lg:-mx-4 md:-mx-11 -mx-6",ref:M,children:a.jsx("div",{className:"embla__container integration-slider-container flex",children:(null==E?void 0:E.testimonial_item_com)&&(null==E?void 0:E.testimonial_item_com.length)&&(null==E?void 0:E.testimonial_item_com.map(((e,l)=>a.jsx(a.Fragment,{children:a.jsx("div",{className:"embla__slide integration-slider-slide lg:flex-[0_0_33.334%] sm:flex-[0_0_50%] flex-[0_0_90%] md:px-4 pr-4",children:a.jsxs("div",{className:"h-full rounded-2xl bg-[#161616] flex flex-wrap overflow-hidden",children:[(null==e?void 0:e.author_tag_line_et)&&a.jsx("div",{className:" md:p-8 p-5 lg:-leading-8 overflow-hidden relative after:absolute after:right-0 after:bottom-0 after:bg-testimonial-shape after:w-[51px] after:h-[38px] after:bg-no-repeat after:bg-[length:100%] md:h-[calc(100%_-_116px)] h-[calc(100%_-_90px)]",children:a.jsx("p",{className:"lg:text-2xl md:text-xl text-lg text-white font-secondary lg:leading-9 leading-6 md:-tracking-[0.5px]",dangerouslySetInnerHTML:{__html:(null==e?void 0:e.author_tag_line_et)||""}})}),a.jsx("div",{className:"flex flex-wrap w-full md:p-8 p-5 bg-[#2D2D2D] rounded-ss-2xl md:h-[116px] h-[90px]",children:(null==e?void 0:e.author_name_et)&&a.jsxs("span",{className:"integration-detail
1s inline-flex flex-wrap items-center text-white",children:[(null==e?void 0:e.author_name_et)&&a.jsx("strong",{className:(N===A?"font-semibold":"")+" w-full mb-1",children:null==e?void 0:e.author_name_et}),(null==e?void 0:e.author_role_et)&&a.jsx("span",{className:"w-full md:text-sm text-coolgray-400",children:null==e?void 0:e.author_role_et})]})})]})},l)}))))})}),w===A&&a.jsx(a.Fragment,{children:a.jsx("div",{className:"embla__controls embla-controls lg:hidden flex mt-6",children:a.jsxs("div",{className:"flex justify-center gap-4 relative embla__buttons embla-controls-buttons stroke-coolgray-900 w-full",children:[a.jsx("button",{"aria-label":"Arrow Prev",className:"embla__prev group embla-controls-embla-prev rounded-2xl w-6 h-6 [&_svg]:w-full [&_svg]:h-full bg-[#161616] hover:bg-white group-hover:bg-white text-white hover:text-[#161616] group-hover:text-[#161616] inline-flex items-center justify-center",onClick:H,children:a.jsx("i",{className:"icon",children:a.jsx("svg",{width:"14",height:"14",viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:a.jsx("path",{d:"M9.1875 11.375L4.8125 7L9.1875 2.625",stroke:"currentColor",strokeWidth:"1.2",strokeMiterlimit:"10",strokeLinecap:"round",strokeLinejoin:"round"})})})}),a.jsx("button",{"aria-label":"Arrow Next",className:" embla__next group embla-controls-embla-next rounded-2xl w-6 h-6 [&_svg]:w-full [&_svg]:h-full bg-[#161616] hover:bg-white group-hover:bg-white text-white hover:text-[#161616] group-hover:text-[#161616] -rotate-180 inline-flex items-center justify-center",onClick:P,children:a.jsx("i",{className:"icon",children:a.jsx("svg",{width:"14",height:"14",viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:a.jsx("path",{d:"M9.1875 11.375L4.8125 7L9.1875 2.625",stroke:"currentColor",strokeWidth:"1.2",strokeMiterlimit:"10",strokeLinecap:"round",strokeLinejoin:"round"})})})})]})})}),b===A&&(null==S?void 0:S.length)>1&&a.jsx("div",{className:"embla__controls embla-controls lg:flex hidden mt-6",children:a.jsx("div",{className:"embla__dots flex embla-dots gap-3 flex-wrap items-center justify-center [&_.embla-dot--selected]:w-3 [&_.embla-dot--selected]:h-3 w-full",children:S.map(((e,l)=>a.jsx(I,{onClick:()=>T(l),className:"w-2 h-2 bg-white rounded-full embla__dot".concat(l===L?" bg-secondary embla__dot--selected embla-dot--selected":"")},l)))})})]})})]})})})})}):a.jsx(a.Fragment,{children:a.jsx("section",{className:"integration-slider bg-coolgray-100 section-gap relative overflow-hidden",children:a.jsx("div",{className:"container",children:a.jsx("div",{className:"pt-[56px] lg:pb-[125px] md:pb-[100px] pb-[72px] relative before:absolute before:content-[''] xl:before:w-[183px] before:w-[72px] xl:before:h-[100px] before:h-[72px] before:left-0 before:top-[0px] before:bg-no-repeat before:bg-quote-slider-icon before:bg-[length:100%]",children:a.jsxs("div",{className:"row flex flex-wrap items-center -mx-4 [&_.column]:px-4",children:[((null==E?void 0:E.heading_et)||(null==E?void 0:E.description_et)||(null==E?void 0:E.link_com)&&(null==E?void 0:E.link_com.length)>0&&(null==E?void 0:E.link_com[0].button_text_et))&&a.jsx("div",{className:"column xl:w-3/12 w-full",children:a.jsxs("div",{className:"integration-slider-title xl:mb-0 md:mb-12 mb-10",children:[(null==E?void 0:E.tag_line_et)&&a.jsxs("span",{className:"tag-line-style "+(N===A?"text-coolgray-500":`${k}`),children:[" ",null==E?void 0:E.tag_line_et," "]}),(null==E?void 0:E.heading_et)&&a.jsx("h2",{className:`${j||"h5"} mb-4 ${N===A?"font-semibold":""}`,dangerouslySetInnerHTML:{__html:null==E?void 0:E.heading_et}}),(null==E?void 0:E.description_et)&&a.jsx("p",{className:"xl:mb-10 mb-4 md:text-base text-gray-700",dangerouslySetInnerHTML:{__html:null==E?void 0:E.description_et}}),(null==E?void 0:E.link_com)&&(null==E?void 0:E.link_com.length)>0&&(null==E?void 0:E.link_com[0].button_text_et)&&a.jsxs(s,{name:null==E?void 0:E.title,to:null==E?void 0:E.link_com[0].button_link_et,className:"link-wth-arrow "+(N===A?"link-wth-arrow-ai":""),children:[null==E?void 0:E.link_com[0].button_text_et,a.jsx("i",{className:"icon",children:a.jsx(o,{})})]})]})}),a.jsx("div",{className:"column xl:w-9/12 w-full",children:a.jsxs("div",{className:"integration-sli
1der-inner w-100",children:[a.jsx("div",{className:"embla integration-slider-embla overflow-hidden lg:-mx-4 md:-mx-11 -mx-6",ref:M,children:a.jsx("div",{className:"embla__container integration-slider-container flex",children:(null==E?void 0:E.testimonial_item_com)&&(null==E?void 0:E.testimonial_item_com.length)&&(null==E?void 0:E.testimonial_item_com.map(((e,l)=>a.jsx("div",{className:"embla__slide integration-slider-slide lg:flex-[0_0_33.334%] sm:flex-[0_0_50%] flex-[0_0_90%] md:px-4 pr-4",children:a.jsxs("div",{className:"integration-slider-slide-inner h-full rounded-[16px] p-6 border border-amber-200 bg-amber-100",children:[(null==e?void 0:e.author_tag_line_et)&&a.jsx("p",{className:"md:text-base font-secondary -tracking-tighter",dangerouslySetInnerHTML:{__html:null==e?void 0:e.author_tag_line_et}}),a.jsxs("div",{className:"integration-slider-slide-inner-user mt-6 flex flex-wrap items-center",children:[a.jsx(r,{name:"userimage",alt:null==e?void 0:e.author_name_et,title:null==e?void 0:e.author_name_et,width:"48",height:"48",src:e.author_image_emd?e.author_image_emd[0]:"",className:"md:w-12 w-9 inline-block rounded-full",options:B}),(null==e?void 0:e.author_name_et)&&a.jsxs("span",{className:"integration-details md:pl-4 pl-2 md:w-[calc(100%_-_48px)] w-[calc(100%_-_36px)] inline-flex flex-wrap items-center ",children:[(null==e?void 0:e.author_name_et)&&a.jsx("strong",{className:(N===A?"font-semibold":"")+" w-full md:text-base text-xs",children:null==e?void 0:e.author_name_et}),(null==e?void 0:e.author_role_et)&&a.jsx("span",{className:"w-full md:text-sm",children:null==e?void 0:e.author_role_et})]})]})]})},l))))})}),a.jsxs("div",{className:"embla__controls embla-controls",children:[a.jsx("div",{className:"hidden lg:block embla__buttons embla-controls-buttons",children:w===A&&a.jsxs(a.Fragment,{children:[a.jsx("button",{"aria-label":"Arrow Prev",className:"absolute left-4 xl:left-[13.75rem] top-2/4 -translate-y-[50%] leading-[0] embla__prev embla-controls-embla-prev",onClick:H,children:a.jsx("i",{className:"icon w-8 h-8 lg:w-12 lg:h-12 [&>svg]:stroke-secondary",children:a.jsx(u,{})})}),a.jsx("button",{"aria-label":"Arrow Next",className:"absolute right-4 xl:right-[13.75rem] top-2/4 -translate-y-[50%] leading-[0] embla__next embla-controls-embla-next",onClick:P,children:a.jsx("i",{className:"icon w-8 h-8 lg:w-12 lg:h-12 [&>svg]:stroke-secondary",children:a.jsx(g,{})})})]})}),b===A&&a.jsx("div",{className:`embla__dots hidden lg:flex lg:mt-6 mt-4 embla-dots gap-3 flex-wrap items-center lg:justify-start justify-center [&_.embla-dot--selected]:w-3 [&_.embla-dot--selected]:h-3 ${f}`,children:S.map(((e,l)=>a.jsx(I,{onClick:()=>T(l),className:"w-2 h-2 bg-gray-300 rounded-full embla__dot".concat(l===L?" bg-secondary embla__dot--selected embla-dot--selected":"")},l)))})]})]})})]})})})})}))]})};export{p 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.