PageSourceSearch

https://www.wipro-3d.com/static/testimonial-8n3qMwdI.js

js wipro-3d.com collected 2026-10-06 18:34:39 UTC 9,369 bytes, 1 lines download raw bytes

1import{r as e,e as l,A as a,j as s}from"./vendor-DmVkdISk.js";import{C as t,E as n,W as o,e as i,a as r,A as d,c}from"./index-BgeTnqXy.js";import{E as m}from"./video-CrehMYnT.js";import{u,D as x}from"./embla-carousel-pagination-button-kVqbIpbG.js";import{H as h,a as v}from"./arrow-left-two-oO_GjKnm.js";import{g as p}from"./get-content-library-data--kATiRuB.js";const _={active:!0,loop:!0,slidesToScroll:1},g=g2=>{var f,j;const{headingSize:b,headingHtmlTag:N,preLoadImage:C,contentAlignment:w,displayDescription:y,displayHeading:E,videoAutoPlay:T,loop:H,controls:R,headingColor:K,descriptionColor:U,loadImageLazy:D=o.CHECK_TRUE,showNavigationArrow:I,showPaginationDots:S,sectionGap:k,showBackgroundColor:L}=t.propsParser(g2),{componentDataDispatcher:M,contentModel:P,selectedIndex:$,scrollSnaps:O,onDotButtonClick:A,scrollNext:F,scrollPrev:B,emblaRef:z,scrollProgress:G}=(s2=>{const{id:r2,contentModel:d2,modelInternalName:c2,enableAutoplay:m2,autoplayDuration:x2}=t.propsParser(s2),h2="testimonial-ssr",{componentDataDispatcher:v2,setComponentDataDispatcher:g3,isComponentLoaded:f2}=n({id:r2,modelInternalName:c2,modelKeyForSSR:h2});let j2;d2!=null&&d2.trim().length&&(j2=JSON.parse(d2));const[b2,N2]=e.useState(0),C2={playOnInit:!t.isRenderingOnServer()&&m2===o.CHECK_TRUE,delay:parseInt(x2)||1e3,stopOnInteraction:!1,stopOnMouseEnter:!0,stopOnMouseLeave:!1},[w2,y2]=l(_,[a(C2)]),E2=e.useCallback((()=>{y2&&y2.scrollPrev()}),[y2]),T2=e.useCallback((()=>{y2&&y2.scrollNext()}),[y2]),{selectedIndex:H2,scrollSnaps:R2,onDotButtonClick:K2}=u(y2),U2=e.useCallback((e2=>{const l2=Math.max(0,Math.min(1,e2.scrollProgress()));N2(100*l2)}),[]);return e.useEffect((()=>{y2&&(U2(y2),y2.on("reInit",U2).on("scroll",U2))}),[y2,U2]),e.useEffect((()=>{var e2;f2&&(g3({type:i.fetchingData}),(e2=d2==null?void 0:d2.trim())!=null&&e2.length&&(async()=>g3({type:i.dataFetched,data:await p(j2,c2,h2,r2)}))())}),[d2]),{componentDataDispatcher:v2,contentModel:d2,selectedIndex:H2,scrollSnaps:R2,onDotButtonClick:K2,scrollNext:T2,scrollPrev:E2,emblaRef:w2,scrollProgress:b2}})(g2),{componentData:q,isLoading:J}=M,W=`${N}`;return s.jsxs(s.Fragment,{children:[s.jsx(r,{loaderClassName:"",contentModel:P,isLoading:J,componentData:q}),(q==null?void 0:q.id)&&!J&&s.jsx(d,{defaultClassName:"animated",className:"fadeInUp",children:s.jsx("section",{className:`mb-12 lg:${k}`,children:s.jsx("div",{className:"container",children:s.jsx("div",{className:` ${L===o.CHECK_TRUE?"bg-gray-50 p-6 lg:p-8":""} rounded-3xl`,children:s.jsxs("div",{className:"flex flex-wrap items-center -mx-4 lg:-mx-8 gap-y-4",children:[s.jsx("div",{className:"px-4 lg:px-8 w-full lg:w-5/12",children:s.jsxs("div",{className:`lg:pl-16 ${w}`,children:[(q==null?void 0:q.heading)&&E===o.CHECK_TRUE&&s.jsx(W,{className:`text-3xl lg:text-4xl xl:text-4xl 1xl:${b} font-semibold mb-4 text-neutrals-900`,dangerouslySetInnerHTML:{__html:q==null?void 0:q.heading},style:{color:K}}),(q==null?void 0:q.description)&&y===o.CHECK_TRUE&&s.jsx("p",{className:"text-base lg:text-lg text-neutrals-700",dangerouslySetInnerHTML:{__html:q==null?void 0:q.description},style:{color:U}})," ",s.jsx("div",{className:"embla__controls hidden md:flex items-center flex-col md:flex-row justify-between relative mt-16",children:s.jsx("div",{className:"flex items-center justify-between order-2 md:order-1 mt-6 md:mt-0",children:s.jsxs("div",{className:"embla__buttons flex items-center gap-2.5",children:[I===o.CHECK_TRUE&&s.jsx("button",{className:"leading-[0] embla__prev group/slider-arrow",onClick:B,children:s.jsx("i",{className:"icon w-6 h-6 flex items-center justify-center rounded-full text-neutrals-400 hover:text-primary",children:s.jsx(h,{})})}),S===o.CHECK_TRUE&&s.jsxs(s.Fragment,{children:[s.jsx("div",{className:"w-[120px] flex justify-center  embla__dots",children:s.jsx("div",{className:"w-full h-1 relative overflow-hidden bg-neutrals-300 embla__progress rounded-lg",children:s.jsx("div",{className:"bg-primaryGreen rounded-lg w-full absolute top-0 bottom-0 -left-full embla__progress__bar",style:{transform:`translate3d(${G}%,0px,0px)`}})})}),s.jsx("div",{className:"justify-center gap-x-3  leading-[0] embla__dots hidden",children:O.map(((e2,l2)=>s.jsx(x,{onClick:()=>A(l2),className:"w-2 h-2 border border-secondary embla__dot".concat(l2===$?" bg-secondary embla__dot--selected":"")},l2)))})]}),I===o.CHECK_TRUE&&s.jsx("button",{className:"leading-[0] embla__next group/sl
1ider-arrow",onClick:F,children:s.jsx("i",{className:"icon w-6 h-6 flex items-center justify-center rounded-full text-neutrals-400 hover:text-primary",children:s.jsx(v,{})})})]})})})]})}),s.jsxs("div",{className:"px-4 lg:px-8 w-full lg:w-7/12",children:[s.jsx("div",{className:"relative embla overflow-hidden",ref:z,children:s.jsx("div",{className:"embla__container flex",children:(q==null?void 0:q.testimonial_slider)&&!!((f=q==null?void 0:q.testimonial_slider)!=null&&f.length)&&((j=q==null?void 0:q.testimonial_slider)==null?void 0:j.map(((e2,l2)=>{var a2,t2,n2,i2,r2,d2,u2,x2,h2,v2,p2;return s.jsxs("div",{className:"relative embla__slide basis-full shrink-0 min-w-0 [&_>div]:rounded-3xl [&_>div]:max-h-[417px] [&_>div]:overflow-hidden [&_video]:!w-full [&_video]:!h-full",children:[((a2=e2==null?void 0:e2.video)==null?void 0:a2.length)>0?s.jsx(m,{url:((t2=e2==null?void 0:e2.video)==null?void 0:t2.length)>0?(i2=JSON.parse((n2=e2==null?void 0:e2.video)==null?void 0:n2[0]))==null?void 0:i2.publicUrl:"",autoplay:T===o.CHECK_TRUE,loop:H===o.CHECK_TRUE,controls:R===o.CHECK_TRUE,thumbnail:(r2=q==null?void 0:q.video_poster)!=null&&r2[0]?(d2=q==null?void 0:q.video_poster)==null?void 0:d2[0]:"",width:568,height:417,className:"w-full h-full"}):e2!=null&&e2.video_url?s.jsx(m,{url:e2==null?void 0:e2.video_url,autoplay:T===o.CHECK_TRUE,loop:H===o.CHECK_TRUE,controls:R===o.CHECK_TRUE,width:568,height:417,className:"w-full h-full"}):e2!=null&&e2.image?s.jsx("div",{className:"w-full h-[280px] lg:h-[417px] rounded-2xl overflow-hidden",children:s.jsx(c,{src:(u2=e2==null?void 0:e2.image)==null?void 0:u2[0],alt:(e2==null?void 0:e2.author_name)||"Testimonial",name:(e2==null?void 0:e2.author_name)||"Testimonial",title:(e2==null?void 0:e2.author_name)||"Testimonial",width:568,height:380,preLoad:C===o.CHECK_TRUE,lazyLoad:D===o.CHECK_TRUE,className:"w-full h-full object-cover"})}):e2!=null&&e2.card_text?s.jsxs("div",{className:"bg-white p-4 lg:p-8 1xl:p-16 rounded-2xl min-h-[280px] lg:min-h-[417px] !max-h-0",children:[!!((x2=e2==null?void 0:e2.quote_image)!=null&&x2.length)&&s.jsx("div",{className:"mb-12",children:s.jsx(c,{src:(h2=e2==null?void 0:e2.quote_image)==null?void 0:h2[0],alt:(e2==null?void 0:e2.author_name)||"Testimonial",name:(e2==null?void 0:e2.author_name)||"Testimonial",title:(e2==null?void 0:e2.author_name)||"Testimonial",className:"",width:80,height:48})}),s.jsx("p",{className:"text-lg lg:text-2xl text-neutrals-700 font-semibold",dangerouslySetInnerHTML:{__html:e2==null?void 0:e2.card_text}})]}):null,s.jsxs("div",{className:"flex items-center mt-4 gap-4",children:[!!((v2=e2==null?void 0:e2.author_image)!=null&&v2.length)&&s.jsx("div",{className:"rounded-full w-[50px] h-[50px] min-w-[50px] overflow-hidden",children:s.jsx(c,{src:(p2=e2==null?void 0:e2.author_image)==null?void 0:p2[0],name:`author_${e2==null?void 0:e2.author_name}`,alt:`author_${e2==null?void 0:e2.author_name}`,title:`author_${e2==null?void 0:e2.author_name}`,width:50,height:50})}),s.jsxs("div",{className:"",children:[(e2==null?void 0:e2.author_name)&&s.jsx("p",{className:"text-base lg:text-lg text-neutrals-900 mb-1 font-semibold",dangerouslySetInnerHTML:{__html:e2==null?void 0:e2.author_name}}),(e2==null?void 0:e2.author_description)&&s.jsx("span",{className:"text-base text-neutrals-700",dangerouslySetInnerHTML:{__html:e2==null?void 0:e2.author_description}})]})]})]},l2.toString())})))})}),s.jsx("div",{className:"embla__controls flex md:hidden items-center flex-col md:flex-row justify-between relative mt-4",children:s.jsx("div",{className:"flex items-center justify-between order-2 md:order-1 mt-6 md:mt-0",children:s.jsxs("div",{className:"embla__buttons flex items-center gap-2.5",children:[I===o.CHECK_TRUE&&s.jsx("button",{className:"leading-[0] embla__prev group/slider-arrow",onClick:B,"aria-label":"Previous",children:s.jsx("i",{className:"icon w-6 h-6 flex items-center justify-center rounded-full text-neutrals-400 hover:text-primary",children:s.jsx(h,{})})}),S===o.CHECK_TRUE&&s.jsxs(s.Fragment,{children:[s.jsx("div",{className:"w-[120px] flex justify-center  embla__dots",children:s.jsx("div",{className:"w-full h-1 relative overflow-hidden bg-neutrals-300 embla__progress rounded-lg",children:s.jsx("div",{className:"bg-primaryGreen rounded-lg w-full absolute top-0 bottom-0 -left-full embla__progress__bar",style:{transform:`translate3d(${G}%,0px,0px)`}})})}),s.jsx("div",{className:"justify-center gap-x-3  leading-[0] embla__dots hidden",children:O.map(((e2,l2)=>s.jsx(x,{onClick:()=>A(l2),className:"w-2 h-2 border border-secondary embla__dot".concat(l2===$?" bg-secondary embla__dot--selected":"")},l2)))})]}),I===o.CHECK_TRUE&&s.jsx("button",{className:"leading-[0] embla__next group/sl
1ider-arrow",onClick:F,"aria-label":"Next",children:s.jsx("i",{className:"icon w-6 h-6 flex items-center justify-center rounded-full text-neutrals-400 hover:text-primary",children:s.jsx(v,{})})})]})})})]})]})})})})})]})};export{g 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.