1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,380098,e=>{"use strict";var t=e.i(843476),l=e.i(271645),i=e.i(575003),a=e.i(514476),s=e.i(484941),n=e.i(866818),r=e.i(1445),o=e.i(770806),d=e.i(876439),c=e.i(109167);e.i(556755);var u=e.i(41639),x=e.i(278796),p=e.i(551647);let m=105/145;function h(e,t){return"number"==typeof e&&Number.isFinite(e)&&e>0?e:t}function g(e,t,l,i){let a=Math.min(l,i/t);return{width:Math.round(e*a),height:Math.round(t*a)}}function f(e){return/<\/?[a-z][^>]*>/i.test(e)}let b="title-2 max-xl:!text-18xl max-xl:!tracking-[-0.55px] text-brand-black xl:text-legacy-onyx",w="body-text max-xl:!text-md max-xl:!tracking-[0.18px] text-brand-grey-2 xl:mx-auto xl:w-[620px]",v="/images/slider-case-studies-glass-mask.svg",j={maskImage:`url(${v})`,maskSize:"2125px 1118.5px",maskPosition:"-196px 89.5px",maskRepeat:"no-repeat",WebkitMaskImage:`url(${v})`,WebkitMaskSize:"2125px 1118.5px",WebkitMaskPosition:"-196px 89.5px",WebkitMaskRepeat:"no-repeat"},y="/images/slider-case-studies-nav-arrow.svg",N=[{top:343,left:-513,width:1400,height:585,alpha:.9,blur:130},{top:475,left:979,width:821,height:729,alpha:.54,blur:85}],k=[{top:268.46,left:-58,width:1400,height:585,alpha:.6,blur:150},{top:-9.54,left:-401,width:821,height:729,alpha:.3,blur:100},{top:.46,left:-57,width:821,height:311,alpha:.3,blur:100}];function C({className:e,scrims:i}){let a=(0,l.useId)().replace(/[^a-zA-Z0-9-]/g,"");return(0,t.jsxs)("svg",{"aria-hidden":"true",className:`pointer-events-none absolute inset-0 h-full w-full overflow-hidden ${e}`,children:[(0,t.jsx)("defs",{children:i.map((e,l)=>(0,t.jsx)("filter",{id:`${a}-scrim-${l}`,filterUnits:"userSpaceOnUse",x:e.left-4*e.blur,y:e.top-4*e.blur,width:e.width+8*e.blur,height:e.height+8*e.blur,colorInterpolationFilters:"sRGB",children:(0,t.jsx)("feGaussianBlur",{stdDeviation:e.blur})},l))}),i.map((e,l)=>(0,t.jsx)("ellipse",{cx:e.left+e.width/2,cy:e.top+e.height/2,rx:e.width/2,ry:e.height/2,fill:"#000",fillOpacity:e.alpha,filter:`url(#${a}-scrim-${l})`},l))]})}function I({slide:e,className:l}){if(!e.headline)return null;let i="title-4 max-xl:!text-6xl max-xl:!tracking-[-0.32px]";return e.headlineIsHtml?(0,t.jsx)("div",{...(0,c.fieldTag)(e.raw,"headline"),className:l,children:(0,t.jsx)(r.default,{value:e.headline,className:i})}):(0,t.jsx)("h2",{...(0,c.fieldTag)(e.raw,"headline"),className:`${i} ${l}`,children:e.headline})}function $({slide:e,className:l}){if(!e.description)return null;let i="body-text whitespace-normal xl:whitespace-pre-wrap max-xl:!text-xs max-xl:!tracking-[0.14px]";return e.descriptionIsHtml?(0,t.jsx)("div",{...(0,c.fieldTag)(e.raw,"description"),className:l,children:(0,t.jsx)(r.default,{value:e.description,className:i})}):(0,t.jsx)("p",{...(0,c.fieldTag)(e.raw,"description"),className:`${i} ${l}`,children:e.description})}function T({slide:e,className:l}){if(!e.statLabel&&!e.statCount)return null;let i="eyebrow max-w-[170px] whitespace-pre-wrap",a="title-4 text-legacy-lime xl:!text-35xl xl:!tracking-[-0.9px]";return(0,t.jsxs)("div",{className:`flex flex-col gap-3xs xl:gap-xs ${l}`,children:[e.statCount&&(e.statCountIsHtml?(0,t.jsx)("div",{...(0,c.fieldTag)(e.raw,"stat_count"),children:(0,t.jsx)(r.default,{value:e.statCount,className:a})}):(0,t.jsx)("p",{...(0,c.fieldTag)(e.raw,"stat_count"),className:a,children:e.statCount})),e.statLabel&&(e.statLabelIsHtml?(0,t.jsx)("div",{...(0,c.fieldTag)(e.raw,"stat_label"),children:(0,t.jsx)(r.default,{value:e.statLabel,className:i})}):(0,t.jsx)("p",{...(0,c.fieldTag)(e.raw,"stat_label"),className:i,children:e.statLabel}))]})}function _({slide:e,className:l,frameClassName:i,sizes:a,pictureProps:r,priority:o}){let{mediaVideo:d}=e;return d?.kind==="file"?(0,t.jsx)(s.default,{src:d.src,type:d.type,loop:d.loop,preload:"auto",className:l}):d?.kind==="youtube"?(0,t.jsx)("iframe",{src:d.src,title:d.title||"Case study video",allow:"autoplay; encrypted-media",tabIndex:-1,"aria-hidden":"true",className:`${i} pointer-events-none border-0`}):e.mediaImage?(0,t.jsx)(n.default,{node:e.mediaImage,priority:o,sizes:a,className:l,...r?{pictureProps:r}:{}}):null}function M({slide:e,className:l}){let{mediaImage:i,mediaVideo:a}=e;return i?(0,t.jsx)(n.default,{node:i,sizes:"480px",className:l,pictureProps:{className:"block"}}):a?a.posterUrl?(0,t.jsx)("img",{src:a.posterUrl,alt:"",className:l}
1):(0,t.jsx)("video",{src:a.src,"data-slider-backdrop":"",muted:!0,playsInline:!0,preload:"metadata",className:l}):null}function U({slides:e,active:l,outgoing:i,animation:a,render:s}){return(0,t.jsx)(t.Fragment,{children:(null===i?[l]:[i,l]).map(i=>{let n=e[i];return n&&(n.mediaImage||n.mediaVideo)?(0,t.jsx)("div",{className:i===l?`absolute inset-0 ${a}`:"absolute inset-0",children:s(n)},n.index):null})})}function z({node:e,priority:s=!1}){let n,v,z,H,{autoplay:P,eyebrow:A,introHeadline:R,introHeadlineIsHtml:S,introDescription:W,introDescriptionIsHtml:E,slides:L,sectionId:q,schema:B,appearanceClasses:F}=(n=(e?.slide??[]).filter(e=>!!e).map((e,t)=>{let l,i,a,s=e.logoConnection?.edges?.[0]?.node??null,n=s?.logoConnection?.edges?.[0]?.node??null,r=e.mediaConnection?.edges?.[0]?.node??null,o=r&&"Image"===r.__typename&&r.imageConnection?.edges?.[0]?.node?.url?r:null,d=r&&"Video"===r.__typename?(l=r.loop??!0,i=r.title?.trim()||"",(a=(0,p.resolveVideoUrl)(r))?{kind:"file",src:a,type:(0,p.getMimeTypeFromUrl)(a),posterUrl:void 0,loop:l,title:i,raw:r}:r.video_id?{kind:"youtube",src:(0,p.buildYouTubeEmbedUrl)(r.video_id,{autoplay:!0,muted:!0,controls:!1,loop:l,fullscreen:!1,keyboard:!1,annotations:!1,playsInline:!0}),type:void 0,posterUrl:`https://i.ytimg.com/vi/${encodeURIComponent(r.video_id)}/hqdefault.jpg`,loop:l,title:i,raw:r}:null):null,c=e.ctaConnection?.edges?.[0]?.node??null,u=c?.label?.trim()?c:null,x=e.headline?.trim()||"",b=e.description?.trim()||"",w=e.stat_label?.trim()||"",v=e.stat_count?.trim()||"",j=h(n?.dimension?.width,100),y=h(n?.dimension?.height,32),N=g(j,y,1,80),k=g(j,y,m,58);return{index:t,raw:e,headline:x,headlineIsHtml:f(x),description:b,descriptionIsHtml:f(b),statLabel:w,statLabelIsHtml:f(w),statCount:v,statCountIsHtml:f(v),mediaImage:o,mediaVideo:d,cta:u,logoUrl:n?.url||"",logoAlt:s?.logo_name||s?.title||"",logoWidth:N.width,logoHeight:N.height,logoMobileWidth:k.width,logoMobileHeight:k.height}}).filter(e=>!!e.headline||!!e.description||!!e.statCount||!!e.mediaImage||!!e.mediaVideo||!!e.logoUrl),v=e?.headline?.trim()||"",z=e?.description?.trim()||"",H=(e?.testimonials??[]).filter(e=>!!e).map((e,t)=>{let l=e.logoConnection?.edges?.[0]?.node??null,i=l?.logoConnection?.edges?.[0]?.node??null,a=e.imageConnection?.edges?.[0]?.node??null,s=a?.imageConnection?.edges?.[0]?.node?.url?a:null,n=h(i?.dimension?.width,100),r=h(i?.dimension?.height,32),o=g(n,r,1,80),d=(0,x.resolveCtaUrl)(e,void 0),c=d?{external_link:{href:d},target:!0===e.open_in_a_new_window?"new-window":void 0}:null,u=e.internal_linkConnection?.edges?.[0]?.node?.url?"internal_link":"external_link",p=e.quote?.trim()||"";return{index:t,raw:e,name:e.name?.trim()||"",designation:e.designation?.trim()||"",quote:p,isFeatured:!!p,image:s,cta:c,linkField:u,logoUrl:i?.url||"",logoAlt:l?.logo_name||l?.title||"",logoWidth:o.width,logoHeight:o.height,logoMobileWidth:Math.round(n/r*20),logoMobileHeight:20}}).filter(e=>!!e.name||!!e.designation||!!e.quote||!!e.image||!!e.logoUrl),{uid:e?.system?.uid,variant:e?.frontend_component,sectionId:e?.section_id?.trim()||"",schema:e?.structured_json_ld,appearanceClasses:(0,u.getSectionAppearanceClasses)(e?.section_appearance),autoplay:e?.autoplay===!0,eyebrow:e?.eyebrow?.trim()||"",introHeadline:v,introHeadlineIsHtml:f(v),introDescription:z,introDescriptionIsHtml:f(z),slides:n,testimonials:H}),[{active:V,previous:D,direction:O},G]=(0,l.useState)({active:0,previous:0,direction:1}),X=L.length,Y=e=>G(t=>e===t.active?t:{active:e,previous:t.active,direction:e<t.active?-1:1}),K=e=>G(t=>({active:(t.active+e+X)%X,previous:t.active,direction:e}));(0,l.useEffect)(()=>{if(!P||X<2||document.documentElement.hasAttribute("data-foundry-qa")||window.matchMedia("(prefers-reduced-motion: reduce)").matches)return;let e=window.setInterval(()=>G(e=>({active:(e.active+1)%X,previous:e.active,direction:1})),6e3);return()=>window.clearInterval(e)},[P,X]),(0,l.useEffect)(()=>{if(D===V)return;let e=window.setTimeout(()=>G(e=>({...e,previous:e.active})),700);return()=>window.clearTimeout(e)},[D,V]);let Z=(0,l.useRef)(null),J=(0,l.useRef)(null),Q=(0,l.useRef)(!1);(0,l.useEffect)(()=>{let e=document.documentElement.hasAttribute("data-foundry-qa")||window.matchMedia("(prefers-reduced-motion: reduce)").matches,t=()=>
1{let t=Z.current?.querySelectorAll("video:not([data-slider-backdrop])");if(t)for(let l of t)!function(e,t){if(e.muted=!0,t||0===e.getBoundingClientRect().width){e.autoplay=!1,e.pause();return}e.play().catch(()=>{})}(l,e)};return t(),window.addEventListener("resize",t),()=>window.removeEventListener("resize",t)},[V]);let ee=!!(A||R||W);if(0===X)return null;let et=L[Math.min(V,X-1)],el=(0,c.listParentTag)(e,"slide"),ei=X>1,ea=D!==V,es=ea?D:null,en=ea?O<0?"motion-safe:slide-media-in-from-left":"motion-safe:slide-media-in-from-right":"",er=ea?O<0?"motion-safe:slide-copy-in-from-left":"motion-safe:slide-copy-in-from-right":"",eo=et.cta?(0,t.jsx)("div",{...(0,c.fieldTag)(et.raw,"cta"),children:(0,t.jsx)(a.default,{node:et.cta})}):null;return(0,t.jsxs)("section",{id:q||void 0,"data-section":"slider-with-case-studies",className:`relative mx-auto max-w-[1600px] antialiased xl:px-[30px] mt-[110px] ${F}`,children:[ee&&(0,t.jsx)(i.default,{className:"xl:!max-w-[1600px] xl:!px-[130px]",children:(0,t.jsxs)("div",{className:"flex flex-col gap-xs xl:gap-s xl:text-center",children:[A&&(0,t.jsx)("div",{...(0,c.fieldTag)(e,"eyebrow"),className:"eyebrow text-brand-bright-blue",children:(0,t.jsx)(r.default,{value:A,className:"eyebrow text-brand-bright-blue"})}),R&&(S?(0,t.jsx)("div",{...(0,c.fieldTag)(e,"headline"),children:(0,t.jsx)(r.default,{value:R,className:b})}):(0,t.jsx)("h2",{...(0,c.fieldTag)(e,"headline"),className:b,children:R})),W&&(E?(0,t.jsx)("div",{...(0,c.fieldTag)(e,"description"),children:(0,t.jsx)(r.default,{value:W,className:w})}):(0,t.jsx)("p",{...(0,c.fieldTag)(e,"description"),className:w,children:W}))]})}),(0,t.jsxs)("div",{ref:Z,className:`relative overflow-hidden xl:h-[860px] xl:rounded-m ${ee?"mt-s xl:mt-[100px]":""}`,style:{backgroundColor:"rgb(0 0 0)",isolation:"isolate"},children:[(0,t.jsx)("div",{"aria-hidden":"true",className:"pointer-events-none absolute inset-0 hidden overflow-hidden xl:block",children:(0,t.jsx)(U,{slides:L,active:V,outgoing:es,animation:en,render:e=>(0,t.jsx)(_,{slide:e,priority:s,sizes:"100vw",className:"absolute top-0 h-full w-full scale-[1.057] object-cover",frameClassName:"absolute inset-0 h-full w-full scale-[1.15]",pictureProps:{className:"block h-full w-full"}})})}),(0,t.jsx)("div",{"aria-hidden":"true",className:"pointer-events-none absolute inset-0 overflow-hidden xl:hidden",children:(0,t.jsx)(U,{slides:L,active:V,outgoing:es,animation:"",render:e=>(0,t.jsx)(M,{slide:e,className:"absolute top-[22.46px] left-0 h-[838px] w-[1489px] max-w-none object-cover blur-[49.4px]"})})}),(0,t.jsx)("div",{"aria-hidden":"true",className:"pointer-events-none absolute inset-y-0 right-0 hidden w-[1600px] xl:flex",style:j,children:Array.from({length:20},(e,l)=>(0,t.jsx)("span",{className:"h-full flex-1 bg-gradient-to-b from-brand-white/10 to-brand-white/[0.02]",style:{boxShadow:"inset -16px 0 18px 0 rgb(255 255 255 / 0.15)"}},l))}),(0,t.jsx)("div",{"aria-hidden":"true",className:"pointer-events-none absolute inset-y-0 left-[-742.13px] flex w-[1742.26px] opacity-30 xl:hidden",children:Array.from({length:20},(e,l)=>(0,t.jsx)("span",{className:"h-full flex-1 bg-gradient-to-b from-brand-white/10 to-brand-white/[0.02]",style:{boxShadow:"inset -16px 0 18px 0 rgb(255 255 255 / 0.15)"}},l))}),(0,t.jsx)("span",{"aria-hidden":"true",className:"pointer-events-none absolute inset-x-0 top-0 hidden h-[475px] xl:block",style:{background:"linear-gradient(180deg, rgb(0 0 0 / 0.8) 30%, rgb(0 0 0 / 0) 100%)"}}),(0,t.jsx)(C,{className:"hidden xl:block",scrims:N}),(0,t.jsx)(C,{className:"block xl:hidden",scrims:k}),(0,t.jsx)(i.default,{className:"relative xl:!max-w-[1600px] xl:!px-[130px]",children:(0,t.jsxs)("div",{className:"flex flex-col py-3xl xl:h-[860px] xl:justify-between",children:[(0,t.jsx)("div",{className:"hidden gap-xs xl:flex",...el,"aria-label":"Case studies",children:L.map((l,i)=>{var a;let n=i===V,r=(a=l.headline)?a.replace(/<br\s*\/?>/gi," ").replace(/<[^>]+>/g,"").replace(/ /gi," ").replace(/</gi,"<").replace(/>/gi,">").replace(/"/gi,'"').replace(/�?39;|'/gi,"'").replace(/&/gi,"&").replace(/\s+/g," ").trim():"",o=ei?{type:"button","aria-pressed":n,"aria-label":`Show case study: ${l.logoAlt||r||i+1}`,onClick:()=>Y(i)}:{};return(0,t.jsxs)(ei?"button":"div",{...o,className:`group relative flex h-[80px] max-w-[305px] flex-1 items-center justify-center ${ei?"cursor-pointer":""} ${n?"":"opacity-50 transition-opacity duration-500 ease-out hover:opacity-100 focus-visible:opacity-100 motion-reduce:transition-none"}`,...(0,c.listItemTag)(e,"slide",l.index),children:[(0,t.jsx)("span",{"aria-hidden":"true",className:n?"absolute top-[-5px] left-0 h-[5px] w-full bg-brand-white":"absolute top-[-1px] left-0 h-px w-full bg-brand-white"}),!n&&(0,t.jsx)("span",{"aria-hidden":"true",className:"absolute top-[-5px] left-0 h-[5px] w-full origin-left scale-x-0 bg-brand-white transition-transform duration-500 ease-out group-hover:scale-x-100 group-focus-visible:scale-x-100 motion-reduce:transition-none"}
1),l.logoUrl?(0,t.jsx)(d.CsResponsiveImage,{src:l.logoUrl,alt:l.logoAlt,width:l.logoWidth,height:l.logoHeight,sizes:"200px",priority:s,className:"h-auto max-w-full",pictureProps:(0,c.fieldTag)(l.raw,"logo")}):(0,t.jsx)("span",{className:"button-text-2 text-brand-white",children:r||`Slide ${i+1}`})]},l.index)})}),(0,t.jsxs)("div",{className:`relative hidden h-[360px] items-end justify-between xl:flex ${er}`,children:[(0,t.jsxs)("div",{className:"flex w-[590px] flex-col gap-m",children:[(0,t.jsxs)("div",{className:"flex flex-col gap-2xs",children:[(0,t.jsx)(I,{slide:et,className:"text-brand-white"}),(0,t.jsx)($,{slide:et,className:"text-brand-white"})]}),eo]}),(0,t.jsx)(T,{slide:et,className:"w-[240px] text-brand-white"}),(0,t.jsx)("span",{"aria-hidden":"true",className:"absolute top-[53px] right-[271px] h-[387px] w-px bg-gradient-to-b from-transparent to-brand-white"})]},`copy-desktop-${V}`),(0,t.jsxs)("div",{onPointerDown:e=>{"mouse"===e.pointerType||X<2||(Q.current=!1,J.current={id:e.pointerId,x:e.clientX,y:e.clientY,axis:""},e.currentTarget.setPointerCapture(e.pointerId))},onPointerMove:e=>{let t=J.current;if(!t||t.id!==e.pointerId||t.axis)return;let l=e.clientX-t.x,i=e.clientY-t.y;8>Math.abs(l)&&8>Math.abs(i)||(t.axis=Math.abs(l)>Math.abs(i)?"x":"y","y"===t.axis&&(J.current=null))},onPointerUp:e=>{let t=J.current;if(J.current=null,!t||t.id!==e.pointerId||"x"!==t.axis)return;let l=e.clientX-t.x;48>Math.abs(l)||(Q.current=!0,K(l<0?1:-1))},onPointerCancel:()=>{J.current=null},onClickCapture:e=>{Q.current&&(Q.current=!1,e.preventDefault(),e.stopPropagation())},className:`flex touch-pan-y touch-pinch-zoom flex-col gap-m max-[420px]:max-w-[330px] xl:hidden ${X>1?"max-[420px]:ml-auto":""}`,children:[(0,t.jsxs)("div",{className:"flex flex-col gap-s",children:[L.some(e=>e.logoUrl)&&(0,t.jsx)("div",{className:"grid items-end",children:L.map((e,l)=>e.logoUrl?(0,t.jsx)("div",{className:`col-start-1 row-start-1 ${l===V?er:"invisible"}`,children:(0,t.jsx)(d.CsResponsiveImage,{src:e.logoUrl,alt:e.logoAlt,width:e.logoMobileWidth,height:e.logoMobileHeight,sizes:"200px",priority:s&&l===V,className:"h-auto max-w-full",pictureProps:(0,c.fieldTag)(e.raw,"logo")})},e.index):null)}),L.some(e=>e.mediaImage||e.mediaVideo)&&(0,t.jsx)("div",{className:"relative aspect-[480/270] w-full overflow-hidden rounded-m",children:(0,t.jsx)(U,{slides:L,active:V,outgoing:es,animation:en,render:e=>(0,t.jsx)(_,{slide:e,priority:s,sizes:"330px",className:"absolute top-[-0.16%] left-[-0.61%] h-[101.6%] w-[102.12%] max-w-none object-cover",frameClassName:"absolute inset-0 h-full w-full scale-[1.4] md:scale-[1.25]",pictureProps:{className:"block h-full w-full",...(0,c.fieldTag)(e.raw,"media")}})})}),(0,t.jsx)("div",{className:"grid",children:L.map((e,l)=>(0,t.jsxs)("div",{className:`col-start-1 row-start-1 flex flex-col gap-s ${l===V?er:"invisible"}`,children:[(0,t.jsxs)("div",{className:"flex flex-col gap-3xs",children:[(0,t.jsx)(I,{slide:e,className:"text-brand-white"}),(0,t.jsx)($,{slide:e,className:"text-brand-white"})]}),(0,t.jsx)(T,{slide:e,className:"text-brand-white"})]},e.index))})]}),L.some(e=>e.cta)&&(0,t.jsx)("div",{className:"grid",children:L.map((e,l)=>e.cta?(0,t.jsx)("div",{...(0,c.fieldTag)(e.raw,"cta"),className:`col-start-1 row-start-1 ${l===V?"":"invisible"}`,children:(0,t.jsx)(a.default,{node:e.cta})},e.index):null)}),X>1&&(0,t.jsxs)("div",{className:"flex h-[40px] items-center justify-between",children:[(0,t.jsx)("div",{className:"flex items-center gap-3xs",...el,children:L.map((e,l)=>(0,t.jsx)("button",{type:"button",onClick:()=>Y(l),"aria-label":`Go to slide ${l+1}`,"aria-current":l===V?"true":void 0,className:`relative h-[6px] cursor-pointer rounded-full before:absolute before:-inset-x-[5px] before:-inset-y-[17px] before:content-[''] ${l===V?"w-[66px] bg-brand-white":"w-[6px] bg-brand-grey-3/30"}`},e.index))}),(0,t.jsxs)("div",{className:"flex items-center gap-xs",children:[(0,t.jsx)("button",{type:"button","aria-label":"Previous slide",onClick:()=>K(-1),className:"flex size-[40px] cursor-pointer items-center justify-center rounded-full bg-brand-white",children:(0,t.jsx)("span",{"aria-hidden":"true",style:{backgroundImage:`url(${y})`},className:"block size-[40px] -scale-x-100 bg-contain bg-no-repeat"})}),(0,t.jsx)("button",{type:"button","aria-label":"Next slide",onClick:()=>K(1),className:"flex size-[40px] cursor-pointer items-center justify-center rounded-full bg-brand-white",children:(0,t.jsx)("span",{"aria-hidden":"true",style:{backgroundImage:`url(${y})`},className:"block size-[40px] bg-contain bg-no-repeat"})})]})]})]})]})})]}),(0,t.jsx)(o.default,{schema:B})]})}e.s(["default",()=>z],380098)}]);
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.