PageSourceSearch

https://schiavello.com/_next/static/chunks/4444-1432bbb21f2b8cfe.js?dpl=dpl_GBVqLh3sCew79413oAi37M8rRRE9

js schiavello.com collected 2026-10-02 07:23:45 UTC 17,228 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[4444],{21860:function(e,t,n){var l=n(57437),i=n(56800),r=n.n(i),a=n(43527),s=n(83340),c=n(78198),o=n(2265),d=n(29953),m=n(32503);t.Z=e=>{let{isDisabled:t,delay:n,distance:i,duration:u,amount:x,nodeRef:g,triggerRef:h,className:f,children:p}=e,b=(0,o.useRef)(null),j=null!=g?g:b,y=(0,a.Y)(null!=h?h:j,{once:!0,amount:null!=x?x:d.a1}),w=(0,s.J)(),[N,v]=(0,o.useState)(!1);return((0,m.n)(()=>{j.current&&j.current.getBoundingClientRect().top<0&&v(!0)}),t||w)?(0,l.jsx)("div",{className:r()(f),children:p}):(0,l.jsx)(c.E.div,{ref:j,initial:!1,animate:y||N?{opacity:1,y:0}:{opacity:0,y:null!=i?i:d.S},transition:{duration:N?0:null!=u?u:d.BM,ease:d.uF,delay:N?0:n||0},className:r()(f),children:p})}},29953:function(e,t,n){n.d(t,{BM:function(){return i},LN:function(){return c},Rf:function(){return s},S:function(){return l},a1:function(){return a},uF:function(){return r}});let l=40,i=1,r=[.22,1,.36,1],a=.3,s=.25,c={distance:80,duration:1.25,amount:.2}},98137:function(e,t,n){n.d(t,{d:function(){return i}});var l=n(61239);let i=e=>!l.jO||!e},74712:function(e,t,n){var l=n(57437),i=n(56800),r=n.n(i),a=n(29744),s=n(83815),c=n(50666);t.Z=e=>{let{isLargeCaption:t,removeCaptionHeightRestriction:n,image:i,hasLeftDarkGradient:o,hasBaseDarkGradient:d,hasImageLoadAnimation:m=!0,captionColour:u="light",caption:x,captionClassName:g,className:h}=e;return(0,l.jsxs)("div",{className:r()("relative",h),children:[o&&(0,l.jsx)("div",{className:"absolute inset-0 z-10 [background:linear-gradient(254.01deg,rgba(0,0,0,0)71.66%,rgba(0,0,0,0.4)87.29%)]"}),d&&(0,l.jsx)("div",{className:"absolute inset-0 z-10 [background:linear-gradient(179.86deg,rgba(0,0,0,0)67.93%,rgba(0,0,0,0.2)99.88%)]"}),(0,l.jsx)(a.Z,{src:i.url,alt:(0,c.k4)(i.smartTags),layout:"cover",hasLoadAnimation:m,className:"h-full w-full"}),x.length>0&&(0,l.jsx)(s.Z,{cubeClassName:r()({"md:min-w-[23px] md:translate-y-1.5 xxs:translate-y-0 md:min-h-[23px]":t}),cubeColour:r()({"bg-grey-800":"dark"===u,"bg-white":"light"===u}),internalContainerClassName:r()({"h-3":!t&&!n}),className:r()("absolute left-0 z-20 flex justify-center",g),children:(0,l.jsx)("span",{className:r()({"font-normal":!t,"md:text-heading-med font-normal md:font-medium":t,"text-white":"light"===u,"text-grey-700":"dark"===u}),children:x})})]})}},50930:function(e,t,n){n.d(t,{Z:function(){return f}});var l=n(57437),i=n(56800),r=n.n(i),a=n(2265),s=n(43153),c=n(59867),o=n(53959),d=n(29744);let m={infinite:!0,arrows:!1,speed:700,slidesToScroll:1,slidesToShow:1,draggable:!0,variableWidth:!0,responsive:[{breakpoint:9999,settings:"unslick"},{breakpoint:1023,settings:{slidesToShow:3}},{breakpoint:767,settings:{slidesToShow:1}}]};var u=n(83815),x=n(50666),g=n(31290);let h="whitespace-nowrap text-title-light lg:text-subheading-light text-grey-800 transition-opacity hover:opacity-100";var f=e=>{let{content:t}=e,n=t.teamMembers.map(e=>e.location).filter((e,t,n)=>n.indexOf(e)===t).filter(Boolean),i=t.teamMembers.map(e=>e.subLocation).filter((e,t,n)=>n.indexOf(e)===t).filter(Boolean).filter(e=>"North America"!==e),[f,p]=(0,a.useState)(n[0]),[b,j]=(0,a.useState)(null),y="Australia"===f,w=e=>{p(e),j(null)},N=e=>{j(e)},v=t.teamMembers.filter(e=>{let t="Australia"===f;return("Global"!==f||f===e.location)&&("Directors"!==f||!!e.location.includes("Director"))&&(!t||!b||b===e.subLocation)&&(!t||"North America"!==e.subLocation)});return(0,l.jsx)("section",{id:(0,g.qi)(t.title),children:(0,l.jsxs)(o.Z,{className:"pb-30 pt-10 lg:pb-20",children:[(0,l.jsx)(u.Z,{hasNoOffsetFromLeftOnMobile:!0,heading:t.title,className:"mb-10"}),(0,l.jsx)("div",{className:"mb-4 flex flex-wrap gap-x-10 gap-y-4",children:n.map((e,t)=>(0,l.jsx)("button",{onClick:()=>w(e),className:r()(h,{"opacity-20":f!==e}),children:e},t))}),(0,l.jsx)("div",{className:r()("flex flex-wrap justify-start gap-x-10 gap-y-4 transition-all",{"mb-10 md:max-h-[116px] lg:max-h-18":y,"pointer-events-none mb-6 max-h-0 opacity-0":!y}),children:i.map((e,t)=>(0,l.jsx)("button",{onClick:()=>N(e),className:r()(h,{"opacity-20":b!==e}),children:e},t))}),(0,l.jsx)(c.Z,{updateKey:"".concat(f,"-").concat(b),children:(0,l.jsx)(s.Z,{...m,className:"mt-10 lg:grid lg:grid-cols-3 lg:gap-x-4 lg:gap-y-10 xl:grid-cols-4",children:v.map((e,t)=>(0,l.jsxs)("div",{className:"mr-4 w-full min-w-[240px] max-w-[240px] font-normal md:min-w-[328px] md:max-w-[328px] lg:mr-0 lg:min-w-[unset]",children:[(0,l.jsx)(d.Z,{src:e.image.url,alt:(0,x.k4)(e.image.smartTags),layout:"cover",className:"mb-4 aspect-square size-[240px] md:size-[328px] lg:h-[328px] lg:w-full"}),(0,l.jsx)("h3",{className:"mb-2",children:e.name}),(0,l.jsx)("p",{children:e.description})]},t))})})]})})}},80434:function(e,t,n){var l=n(57437),i=n(56800),r=n.n(i),a=n(87847),s=n(2265),c=n(53959),o=n(29744),d=n(83815),m=n(15787),u=n(61239),x=n(91625),g=n(19073),h=n(31290),f=n(90371),p=n(83678),b=n(52596),j=n(40231);let y=e=>{let{direction:t,onClick:n,children:i}=e;return(0,l.jsxs)("div",{className:"flex flex-col gap-y-3.5",children:[(0,l.jsx)("span",{className:"font-medium text-grey-500",children:i}),(0,l.jsx)("button",{onClick:n,className:"group inline-flex size-10 min-w-10 items-center justify-center rounded-b-sm bg-grey-200",children:"left"===t?(0,l.jsx)(p.Z,{className:r()(m.ft,"transition-transform group-hover:-translate-x-0.5")}):(0,l.jsx)(b.Z,{className:r()(m.ft,"transition-transform group-hover:translate-x-0.5")})})]})};t.Z=e=>{var t,n;
1let{section:i,shouldUseLightGreyBackground:m,hasSpacingAbove:p,hasSpacingBelow:b}=e,{isOnHomePage:w,currentGeographicRegion:N}=(0,g.f)(),{title:v,timelineItems:Z,titleUS:C,timelineItemsUS:k}=i,{title:E,timelineItems:L}=N===j.J.Americas&&w&&u.jO?{title:C,timelineItems:k}:{title:v,timelineItems:Z},{isMobile:M,isTablet:S}=(0,f.Z)(),[O,R]=(0,s.useState)(L[0]),[I,z]=(0,s.useState)(0),[B,D]=(0,s.useState)(!1),[H,T]=(0,s.useState)(!1),[Y,X]=(0,s.useState)(0),[A,F]=(0,s.useState)(0),[_,q]=(0,s.useState)(!1),P=(0,s.useRef)(null),U=(0,s.useRef)(null),G=(0,s.useRef)(),J=(0,s.useRef)(0),K=M?216:533,Q=null===(t=L.find(e=>e.image))||void 0===t?void 0:t.image,W=L[0].year,$=L[L.length-1].year,V=e=>{if(!G.current)return;let t=G.current.invert(e),n=Math.floor(t),l=Math.ceil(t),i=L[Math.max(0,n)],r=L[Math.min(L.length-1,l)],s=t-n,c=s<.5?i:r;c&&R(c);let o=(1-s)*G.current(n)+s*G.current(l);o=Math.max(5.5,Math.min(o,A-5.5)),a.Ys(U.current).select(".thumb").transition().duration(500).ease(a.mmQ).attr("x",o-5.5),o>=A-500&&(o-=500),z(o),D(o>=A-500)};(0,s.useEffect)(()=>{let e=a.Ys(P.current),t=a.BYU().domain([0,L.length-1]).range([0,A]);G.current=t;let n=()=>{var t;if(!P.current)return;X(P.current.getBoundingClientRect().width||0);let n=(null===(t=e.node())||void 0===t?void 0:t.getBoundingClientRect().width)||0;n&&(n=n-5.5-74),F(n);let l=a.BYU().domain([0,L.length-1]).range([0,n]);G.current=l,S&&D(!1)};return n(),window.addEventListener("resize",n),()=>{window.removeEventListener("resize",n)}},[A,Y,P.current,G.current]);let ee=L.length*K,et=O?(null===(n=G.current)||void 0===n?void 0:n.call(G,L.indexOf(O)))/(Y-74):0,en=et*(ee-Y);M?(en=Math.max(0,Math.min(en,ee-Y)),et>.5&&(en+=K)):en=Math.max(0,Math.min(en,ee-Y));let el=e=>{V(G.current(e))},ei=()=>{let e=L.indexOf(O);e!==L.length-1&&V(G.current(e+1))},er=e=>{if(M)return;let t="clientX"in e?e.clientX:e.touches[0].clientX;J.current=t,T(!0)},ea=()=>{T(!1)},es=e=>{if(!H||M)return;let t="clientX"in e?e.clientX:e.touches[0].clientX,n=t-J.current,l=a.Ys(P.current);V(a.cx$(e,l.node())[0]-n),J.current=t},ec=()=>{V(0)};return(0,s.useEffect)(()=>{let e;return _||(e=setInterval(()=>{L.indexOf(O)===L.indexOf(L.at(-1))?ec():ei()},x.we)),()=>clearInterval(e)},[_,ei]),(0,l.jsx)("section",{id:(0,h.qi)(E),className:r()("overflow-hidden",{"pt-20":m||p,"pb-20":m||b}),children:(0,l.jsx)("div",{className:r()("overflow-hidden",{"bg-grey-100":m}),children:(0,l.jsx)(c.Z,{onClick:()=>{_||q(!0)},className:"relative",children:(0,l.jsxs)("div",{ref:P,onMouseLeave:ea,className:"py-20",children:[(0,l.jsx)(d.Z,{hasNoOffsetFromLeftOnMobile:!0,heading:E,className:"mb-10"}),(0,l.jsxs)("div",{className:"mb-[220px] flex w-full items-center",children:[(0,l.jsx)(y,{direction:"left",onClick:()=>{let e=L.indexOf(O);0!==e&&V(G.current(e-1))},children:W}),(0,l.jsxs)("div",{className:"relative w-full",children:[(0,l.jsxs)("svg",{ref:U,className:"h-[17px] w-full",children:[(0,l.jsx)("rect",{x:"0",y:"4.5",width:"100%",height:"2",fill:"#E2E2E2"}),(0,l.jsx)("rect",{className:"thumb",y:"6",width:"11",height:"11",fill:"black"})]}),(0,l.jsxs)("div",{id:"relative-content",className:r()("absolute top-20 max-w-[473px] transition-transform duration-[500ms] ease-in-out lg:top-10",{"-left-10 md:left-0":!B,"right-0":B}),style:{transform:S?"unset":"translateX(".concat(I,"px)")},children:[(0,l.jsx)("h3",{className:"text-title-light mb-4",children:O.year}),(0,l.jsx)("h4",{className:"font-medium",children:O.title}),(0,l.jsx)("p",{children:O.description})]})]}),(0,l.jsx)(y,{direction:"right",onClick:ei,children:$})]}),(0,l.jsx)("div",{className:"flex transition-transform duration-700",style:{transform:"translateX(-".concat(en,"px)"),width:"".concat(L.length*K,"px")},children:L.map((e,t)=>(0,l.jsx)("div",{onMouseUp:ea,onMouseDown:er,onMouseMove:es,onTouchStart:er,onTouchMove:es,onClick:()=>el(t),className:"cursor-pointer pt-10 last:border-r-0 md:border-r md:pt-[60px]",children:(0,l.jsx)(o.Z,{src:e.image?e.image.url:Q.url,alt:e.title,layout:"cover",draggable:!1,className:r()("h-[198px] w-[216px] min-w-[216px] transition-opacity duration-700 md:h-[364px] md:w-[533px] md:min-w-[533px]",{"opacity-20":O.id!==e.id})},e.id)},e.id))})]})})})})}},26624:function(e,t,n){var l=n(57437),i=n(56800),r=n.n(i),a=n(2265),s=n(82603),c=n(53959),o=n(5090),d=n(32534),m=n(83815),u=n(15787),x=n(52721),g=n(31290),h=n(90371),f=n(80622),p=n(26113),b=n(71515);t.Z=e=>{let{isFixedInitially:t,isNewsArticle:n,isAboutPage:i,pageName:j,articleTitle:y,downloadableCaseStudy:w,items:N}=e,{isTablet:v}=(0,h.Z)(),[Z,C]=(0,a.useState)(null),[k,E]=(0,a.useState)(t||n),{isEnabled:L,disable:M,enable:S}=(0,f.Z)({defaultOpen:!0}),[O,R]=(0,a.useState)(!0),I=(0,a.useRef)(null),z=(0,a.useRef)(null),B=()=>{z.current.style.maxHeight=null,M()},D=()=>{z.current.style.maxHeight="".concat(z.current.scrollHeight,"px"),S()},H=()=>{L?B():D()};return(0,a.useEffect)(()=>
1{if(v&&!i)return;let e=[],t=new IntersectionObserver(t=>{t.forEach(t=>{if(t.isIntersecting)e.push({index:N.findIndex(e=>e.id===t.target.id),boundingClientRect:t.boundingClientRect});else{let n=e.findIndex(e=>e.index===N.findIndex(e=>e.id===t.target.id));-1!==n&&e.splice(n,1)}}),e.length>0&&C(N[e.sort((e,t)=>e.boundingClientRect.top-t.boundingClientRect.top)[0].index].id)},{rootMargin:"0px 0px -70% 0px",threshold:.1});return N.forEach(e=>{let n=document.getElementById(e.id);n&&t.observe(n)}),()=>t.disconnect()},[N,v]),(0,a.useEffect)(()=>{var e;if(!I.current)return;let l=document.getElementById(null===(e=N[0])||void 0===e?void 0:e.id);if(!l)return;let i=()=>{if(n||t)return;if(l){let e=l.getBoundingClientRect().top;e<0&&!k?E(!0):e>=0&&k&&E(!1)}let e=0===window.scrollY,i=window.innerHeight+window.scrollY>=document.body.scrollHeight-100;e&&C(null),i?(O&&R(!1),C(N[N.length-1].id)):i||O||R(!0)},r=()=>{z.current&&z.current.style.maxHeight&&(z.current.style.maxHeight="".concat(z.current.scrollHeight,"px"))};return window.addEventListener("scroll",i),window.addEventListener("resize",r),()=>{window.removeEventListener("scroll",i),window.removeEventListener("resize",r)}},[k,O,v]),(0,a.useEffect)(()=>{i&&v?(z.current.style.maxHeight="0px",M()):(z.current.style.maxHeight="".concat(z.current.scrollHeight,"px"),v&&R(!0))},[v]),(0,a.useEffect)(()=>{let e=e=>{L?e.deltaY>0&&B():!i&&e.deltaY<0&&D()};return window.addEventListener("wheel",e),()=>{window.removeEventListener("wheel",e)}},[L,i]),(0,l.jsx)(c.Z,{ref:I,noPaddingTablet:!0,noPaddingMobile:!0,className:r()("flex w-full transition-opacity lg:left-1/2 lg:z-30 lg:h-px lg:max-w-[1440px] lg:-translate-x-1/2 lg:justify-end lg:px-10",{"top-[54px] z-40 xxs:fixed md:top-18":i,"lg:fixed lg:top-20":k,"lg:absolute lg:top-20":!k,"lg:pointer-events-none lg:opacity-0":!O}),children:(0,l.jsxs)("aside",{className:r()("sharpen-transform w-full rounded-sm border-y backdrop-blur-[7px] [background:linear-gradient(161deg,rgba(255,255,255,0.90)37.75%,rgba(247,247,247,0.60)132.88%)] lg:h-max lg:w-[328px] lg:border",{"border-grey-200":!i&&!n,"border-white":i||n,"pt-14":n,"md:pl-6 lg:pl-0":i}),children:[!n&&(0,l.jsxs)("div",{onClick:H,onKeyDown:e=>{"Enter"===e.key&&H()},className:"flex cursor-pointer items-center justify-between gap-x-10 pb-5 pr-4 pt-4",children:[(0,l.jsx)(m.Z,{cubeColour:r()({"bg-grey-200":!i,"lg:bg-grey-200 bg-grey-800":i}),internalContainerClassName:"flex select-none items-center w-full justify-between",className:"mb-0",children:(0,l.jsx)("span",{className:r()("font-normal",{"text-grey-300":!i,"text-grey-800 lg:text-grey-300":i}),children:j})}),(0,l.jsx)("button",{className:r()("size-[34px] min-w-[34px] items-center justify-center rounded-sm lg:inline-flex",{hidden:!i,"inline-flex bg-white":i}),children:(0,l.jsx)(p.Z,{className:r()("text-grey-800 transition-transform",u.IN,{"rotate-180":L})})})]}),(0,l.jsx)("div",{ref:z,className:r()("max-h-0 overflow-hidden transition-[opacity,max-height]",{"opacity-0":!L}),children:(0,l.jsxs)("div",{className:"pb-10",children:[y&&(0,l.jsx)(m.Z,{onClick:()=>(0,g.L6)(x.m),className:"mb-5",children:(0,l.jsx)("span",{className:"text-subheading-med text-grey-800",children:y})}),(0,l.jsx)("ul",{className:"flex flex-col gap-y-2.5",children:N.map((e,t)=>(0,l.jsx)("li",{children:(0,l.jsx)("a",{href:"#".concat(e.id),onClick:n=>{n.preventDefault();let l=o.ik;0===t&&(l=0),(0,g.L6)(e.id,l)},className:r()("transition-colors",{"text-grey-800":Z===e.id||!Z&&0===t,"text-grey-300":Z!==e.id}),children:(0,l.jsx)(m.Z,{cubeColour:r()({"bg-transparent":Z&&Z!==e.id,"bg-grey-800":Z===e.id||!Z&&0===t}),className:"mb-0 font-normal",children:e.title})})},e.id))}),w&&(0,l.jsx)(d.Z,{href:w.file.url,children:(0,l.jsxs)(s.Z,{variant:"grey-400-outlined",tabIndex:-1,onClick:e=>{e.stopPropagation()},className:"ml-6 mt-8 lg:mt-14",children:["Download case study ",(0,l.jsx)(b.Z,{className:r()(u.IN)})]})})]})})]})})}},48735:function(e,t,n){var l=n(57437),i=n(56800),r=n.n(i),a=n(93426),s=n(74712),c=n(70018);t.Z=e=>{let{isLargeCaption:t=!0,anchorHref:n,image:i,title:o,description:d,imageLink:m,captionClassName:u,imageClassName:x,descriptionClassName:g,className:h}=e;return(0,l.jsxs)(a.Z,{href:m||(n?"#".concat(n):void 0),className:r()(h),children:[(0,l.jsx)(s.Z,{image:i,caption:o,isLargeCaption:t,hasBaseDarkGradient:!0,captionClassName:r()(u,"bottom-8 max-w-[400px]"),className:r()(x,{"mb-6 h-[244px] w-full md:h-[442px] lg:mb-10":!x})}),d&&(0,l.jsx)("div",{className:r()(g,{"max-w-[484px] font-normal":!g}),children:(0,l.jsx)(c.Z,{content:d})})]})}},88734:function(e,t,n){var l=n(57437),i=n(53959),r=n(21860),a=n(29953),s=n(98137),c=n(83815),o=n(48735);t.Z=e=>{let{id:t,title:n,imageCards:d,hasScrollRevealAnimation:m}=e,u=(0,s.d)(m);return(0,l.jsx)("section",{id:t,children:(0,l.jsxs)(i.Z,{className:"py-20",children:[n.length>0&&(0,l.jsx)(c.Z,{hasNoOffsetFromLeftOnMobile:!0,heading:n,className:"mb-10"}),(0,l.jsx)("div",{className:"grid gap-y-20 lg:grid-cols-2 lg:gap-x-4 lg:gap-y-30",children:d.map((e,t)=>(0,l.jsx)(r.Z,{isDisabled:u,delay:t%2*a.Rf,children:(0,l.jsx)(o.Z,{image:e.image,imageLink:e.imageLink,title:e.title,de
1scription:e.descriptionStructured})},e.id))})]})})}},49386:function(e,t,n){var l=n(57437),i=n(56800),r=n.n(i),a=n(53959),s=n(21860),c=n(29953),o=n(83815);t.Z=e=>{let{id:t,title:n,values:i,hasSmallDescriptions:d,shouldUseLightGreyBackground:m,hasSpacingAbove:u,hasSpacingBelow:x,hasScrollRevealAnimation:g}=e,h=i.some(e=>e.description.length>0);return(0,l.jsx)("section",{id:t,className:r()({"bg-grey-100":m,"pt-20":u,"pb-20":x}),children:(0,l.jsxs)(a.Z,{noAnimate:g,className:"py-20",children:[(0,l.jsx)(s.Z,{isDisabled:!g,...c.LN,children:(0,l.jsx)(o.Z,{hasNoOffsetFromLeftOnTablet:!0,heading:n,className:"mb-20 lg:mb-32"})}),(0,l.jsx)("ul",{className:"flex flex-col gap-y-10 lg:gap-y-16",children:i.map((e,t)=>(0,l.jsxs)("li",{className:r()("border-t border-grey-200 pt-10 first:border-t-0 first:pt-0 lg:flex lg:gap-x-10",{"lg:justify-between":h,"lg:justify-end":!h}),children:[(0,l.jsx)(s.Z,{isDisabled:!g,...c.LN,children:(0,l.jsx)(o.Z,{cubeColour:"bg-grey-800",cubeClassName:r()({"lg:min-h-[34px] lg:min-w-[34px]":!h,"min-w-[11px] min-h-[11px] md:min-w-[23px] md:min-h-[23px] xxs:translate-y-0 md:!-translate-y-0.5":h}),internalContainerClassName:r()("-translate-y-0.5 lg:-translate-y-2",{"max-w-[600px]":d&&h,"max-w-[447px]":!d&&h,"lg:w-[800px] lg:mr-20":!h}),className:r()("gap-x-3.5 text-grey-800",{"lg:gap-x-6":!h}),children:(0,l.jsx)("h3",{className:r()({"md:text-heading-med font-normal":h,"text-heading-med lg:text-title-med":!h}),children:e.title})})}),h&&(0,l.jsx)(s.Z,{isDisabled:!g,delay:.2,...c.LN,children:(0,l.jsx)("p",{className:r()("mt-6 text-sm font-normal md:mt-20 md:text-base lg:mt-0",{"max-w-[327px] lg:max-w-[240px]":d,"max-w-[438px]":!d}),children:e.description})})]},t))})]})})}},52721:function(e,t,n){n.d(t,{m:function(){return l}});let l="top"}}]);

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.