(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[337],{28953:function(n,e,t){(window.__NEXT_P=window.__NEXT_P||[]).push(["/work",function(){return t(56896)}])},63605:function(n,e,t){"use strict";t.d(e,{Z:function(){return w}});var r=t(26042),i=t(69396),o=t(99534),a=t(85893),c=t(67294),u=t(93293),s=t(5290),l=t(7297),d=t(186);function f(){var n=(0,l.Z)(["\n max-width: 100%;\n max-height: 100%;\n min-width: 100%;\n min-height: 100%;\n object-fit: cover;\n object-position: center;\n\n display: block;\n"]);return f=function(){return n},n}function p(){var n=(0,l.Z)(["\n width: 100%;\n height: 100%;\n display: block;\n\n ",";\n"]);return p=function(){return n},n}function v(){var n=(0,l.Z)(["\n ","\n"]);return v=function(){return n},n}function g(){var n=(0,l.Z)(["\n ","\n"]);return g=function(){return n},n}var h=(0,d.iv)(f()),x=d.ZP.div.withConfig({componentId:"sc-185e8bcd-0"})(p(),(function(n){var e=n.aspectRatio;return e&&"aspect-ratio: ".concat(e)})),m=d.ZP.img.withConfig({componentId:"sc-185e8bcd-1"})(v(),h),b=d.ZP.video.withConfig({componentId:"sc-185e8bcd-2"})(g(),h),Z=function(n){var e=n.mediaType,t=n.media,l=n.aspectRatio,d=n.autoplay,f=n.mute,p=n.videoErrorMessage,v=(0,o.Z)(n,["mediaType","media","aspectRatio","autoplay","mute","videoErrorMessage"]),g=(0,c.useRef)(null);(0,c.useEffect)((function(){d&&(null===g||void 0===g?void 0:g.current)&&g.current.play()}),[d]);var h=(0,a.jsx)(m,{src:(null===t||void 0===t?void 0:t.url)||"",alt:(null===t||void 0===t?void 0:t.alternativeText)||"",loading:"lazy"}),Z=(0,a.jsxs)(b,{ref:g,muted:f,loop:!0,autoPlay:d,preload:"auto",playsInline:!0,onMouseEnter:function(){(0,s.iG)(d?"Pause":"Play"),(0,s.WR)()},onMouseLeave:function(){(0,s.iG)(""),(0,s.d4)()},children:[(0,a.jsx)("source",{src:(null===t||void 0===t?void 0:t.url)||"",type:"video/mp4"}),p||""]});return e?(0,a.jsx)(x,(0,i.Z)((0,r.Z)({aspectRatio:(0,u.kD)(l)},v),{children:"image"===e?h:Z})):null};Z.defaultProps={media:{url:"",alternativeText:""},mediaType:"image"};var w=Z},27580:function(n,e,t){"use strict";t.d(e,{Z:function(){return _}});var r,i,o=t(26042),a=t(69396),c=t(99534),u=t(85893),s=t(65820),l=t(11163),d=t(67294),f=t(58768),p=t(82624);function v(){return v=Object.assign?Object.assign.bind():function(n){for(var e=1;e<arguments.length;e++){var t=arguments[e];for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(n[r]=t[r])}return n},v.apply(this,arguments)}var g=function(n){return d.createElement("svg",v({viewBox:"0 0 18 17",fill:"none",xmlns:"http://www.w3.org/2000/svg"},n),r||(r=d.createElement("path",{fill:"currentColor",d:"m13.025 3.712 1.06 1.06L5.6 13.258l-1.06-1.061z"})),i||(i=d.createElement("path",{fill:"currentColor",d:"m14.087 12.198-1.06 1.06L4.54 4.773l1.06-1.06z"})))},h=t(56838),x=t(31524),m=t(20909),b=t(7297),Z=t(72494),w=t(186),y=t(13681);function C(){var n=(0,b.Z)(["\n display: flex;\n flex-direction: column;\n\n position: relative;\n\n background: rgba(242, 242, 242, 0.14);\n backdrop-filter: blur(8px);\n\n overflow: hidden;\n\n ",";\n\n ",";\n"]);return C=function(){return n},n}function j(){var n=(0,b.Z)(["\n display: flex;\n align-items: center;\n"]);return j=function(){return n},n}function P(){var n=(0,b.Z)(["\n margin: 0 0 16px;\n padding: 0 16px;\n\n svg {\n width: 22.56px;\n\n color: ",";\n\n position: absolute;\n top: 26px;\n right: 26.2px;\n\n cursor: pointer;\n }\n"]);return P=function(){return n},n}function k(){var n=(0,b.Z)(["\n display: flex;\n align-items: center;\n margin: 0 0 0 8px;\n padding: 8px 16px;\n\n border-radius: 33px;\n background: ",";\n\n cursor: pointer;\n"]);return k=function(){return n},n}function E(){var n=(0,b.Z)([""]);return E=function(){return n},n}function T(){var n=(0,b.Z)(["\n display: flex;\n flex-direction: column;\n\n & > :not(li:last-child) {\n margin: 0 0 4px;\n }\n"]);return T=function(){return n},n}function I(){var n=(0,b.Z)(["\n width: fit-content;\n\n padding: 8px 16px;\n border-radius: 33px;\n transition: background-color 0.3s linear;\n\n p {\n transition: color 0.3s linear;\n }\n\n ","\n\n cursor: pointer;\n"]);return I=function(){return n},n}var S,M=w.ZP.div.withConfig({componentId:"sc-2a0bcae-0"})(C(),(function(n){return n.isOpen?"\n align-items: left;\n\n position: absolute;\n left: 28px;\n right: 27px;\n min-width: 300px;\n bottom: 28px;\n border-radius: 28px;\n padding: 28px 20px;\n z-index: ".concat(m.bK.zIndex.filter,";\n "):"\n align-items: center;\n\n border-radius: 40px;\n padding: 8px 8px 8px 20px;\n "}),(0,y.uo)("\n width: fit-content;\n ")),H=(0,w.ZP)(Z.E.div).withConfig({componentId:"sc-2a0bcae-1"})(j()),O=(0,w.ZP)(Z.E.div).withConfig({componentId:"sc-2a0bcae-2"})(P(),m.O9.white),A=w.ZP.div.withConfig({componentId:"sc-2a0bcae-3"})(k(),m.O9.concrete),R=(0,w.ZP)(Z.E.div).withConfig({componentId:"sc-2a0bcae-4"})(E()),z=w.ZP.ul.withConfig({componentId:"sc-2a0bcae-5"})(T()),L=(0,w.ZP)(Z.E.li).withConfig({componentId:"sc-2a0bcae-6"})(I(),(function(n){var e=n.isActive,t=n.hoverTextColor;return e?"\n background: ".concat(m.O9.concrete,";\n p {\n color: ").concat(m.O9.lighterMineShaft,";\n }\n "):"\n &:hover {\n background-color: rgba(242, 242, 242, 0.1);\n ".concat((null===t||void 0===t?void 0:t.length)&&"\n p {\n color: ".concat(null!==(S=m.O9[t])&&void 0!==S?S:t,";\n }\n "),"\n }\n ")})),V=function(n){var e=n.filterText,t=n.tagsList,r=(0,c.Z)(n,["filterText","tagsList"]),i=(0,l.useRouter)(),v=(0,d.useState)(!1),b=v[0],Z=v[1],w=(0,p.useCopyStore)((function(n){return n.copy})).globalSettings,y=(0,p.useGlobalStore)(),C=y.activeFilter,j=y.setActiveFilter,P=(0,d.useState)(C||t.filterTagsList[0].text),k=P[0],E=P[1],T=(0,d.useRef)(null),I=(null===w||void 0===w?void 0:w.buttonsHoverColor)||(null===w||void 0===w?void 0:w.buttonsHoverDefaultColors);(0,d.useEffect)((function(){if(i.query.filter){j(i.query.filter);var n=t.filterTagsList.find((function(n){var e;return(null===n||void 0===n||null===(e=n.tag)||void 0===e?void 0:e.tag)===i.query.filter}));n&&E(i.query.filter)}else j("")}),[i]);var S=(0,u.jsxs)(R,(0,a.Z)((0,o.Z)({},(0,x.qd)(T)),{children:[(0,u.jsxs)(O,{children:[(0,u.jsx)(f.Z,{as:"small",size:"small",text:e}),(0,u.jsx)(g,{onClick:function(){return Z(!1)},onMouseEnter:h.B,onMouseLeave:h.i})]}),(0,u.jsx)(z,{onMouseEnter:h.B,onMouseLeave:h.i,children:t.filterTagsList.map((function(n,e){var t=n.text,r=n.tag,i=n.all;return(0,u.jsx)(L,(0,a.Z)((0,o.Z)({onClick:function(){return j((null===r||void 0===r?void 0:r.tag)||""),E(t),Z(!1)},isActive:(null===r||void 0===r?void 0:r.tag)===C||""===C&&i,hoverTextColor:I},(0,x.eq)(e)),{children:(0,u.jsx)(f.Z,{as:"p",size:"filter",text:t})}),"".concat(t,"-")+e)}))})]})),V=(0,u.jsxs)(H,{ref:T,initial:{opacity:1},animate:b?{opacity:0}:{opacity:1},children:[(0,u.jsx)(f.Z,{as:"small",size:"small",text:e}),(0,u.jsx)(A,{onClick:function(){return Z(!0)},onMouseEnter:h.B,onMouseLeave:h.i,children:(0,u.jsx)(f.Z,{as:"small",size:"small",text:k,color:m.tb.black})})]});return(0,u.jsx)(M,(0,a.Z)((0,o.Z)({isOpen:b,role:"modal"},r),{children:(0,u.jsx)(s.M,{initial:!0,mode:"wait",children:b?S:V})}))};V.defaultProps={filterText:"Show me",tagsList:{filterTagsList:[]}};var _=(0,d.memo)(V)},3339:function(n,e,t){"use strict";t.d(e,{Z:function(){return x}});var r=t(26042),i=t(69396),o=t(99534),a=t(85893),c=(t(67294),t(44169)),u=t(7297),s=t(186),l=t(20909);function d(){var n=(0,u.Z)([""]);return d=function(){return n},n}function f(){var n=(0,u.Z)(["\n & > * {\n ",'; // bugging while rendering, "important" fix it\n }\n']);return f=function(){return n},n}var p,v=s.ZP.div.withConfig({componentId:"sc-cc9a0796-0"})(d()),g=s.ZP.div.withConfig({componentId:"sc-cc9a0796-1"})(f(),(function(n){var e=n.textColor;return e&&"color: ".concat(null!==(p=l.O9[e])&&void 0!==p?p:e," !important")})),h=function(n){var e=n.text,t=n.size,u=n.color,s=(0,o.Z)(n,["text","size","color"]);return(0,a.jsx)(v,(0,i.Z)((0,r.Z)({},s),{children:(0,a.jsx)(g,{textColor:u,children:(0,a.jsx)(c.Z,{as:"h2",size:t,richText:e,defaultFormatting:!0})})}))};h.defaultProps={text:"",size:"heading1"};var x=h},71073:function(n,e,t){"use strict";var r=t(67294),i=t(82624),o=t(93293);e.Z=function(n){var e=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],t=!(arguments.length>2&&void 0!==arguments[2])||arguments[2],a=(0,r.useState)(!1),c=a[0],u=a[1],s=(0,i.useGlobalStore)(),l=s.isEnteringWorkPageContent,d=s.setIsHeaderTextVisible,f=(0,r.useRef)(null),p=(0,r.useCallback)((function(n,e){if(n&&e){var r=(0,o.lQ)(n,e,t);u((function(n){return r!==n?r:n}))}}),[]);return(0,r.useEffect)((function(){d(!c)}),[l,c]),(0,r.useEffect)((function(){if(e){var t=document.getElementById("header_container"),r=(null===n||void 0===n?void 0:n.current)||(null===f||void 0===f?void 0:f.current),i=function(){return p(t,r)};return i(),window.addEventListener("scroll",i),function(){return window.removeEventListener("scroll",i)}}}),[n,f]),[f,!1]}},56896:function(n,e,t){"use strict";t.r(e),t.d(e,{__N_SSG:function(){return Yn},default:function(){return Xn}});var r,i=t(47568),o=t(26042),a=t(69396),c=t(828),u=t(34051),s=t.n(u),l=t(85893),d=t(67294),f=t(99534),p=t(73935),v=t(5678),g=t(27580),h=t(40872),x=t(82624);function m(){return m=Object.assign?Object.assign.bind():function(n){for(var e=1;e<arguments.length;e++){var t=arguments[e];for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(n[r]=t[r])}return n},m.apply(this,arguments)}var b=function(n){return d.createElement("svg",m({viewBox:"0 0 16 14",fill:"none",xmlns:"http://www.w3.org/2000/svg"},n),r||(r=d.createElement("path",{stroke:"currentColor",d:"M.9 1.5h5.4v3.8H.9zM.9 8.7h5.4v3.8H.9zM9.701 1.5h5.4v3.8h-5.4zM9.701 8.7h5.4v3.8h-5.4z"})))},Z=t(56838),w=t(7297),y=t(186),C=t(13681),j=t(20909);function P(){var n=(0,w.Z)(["\n width: 52px;\n height: 52px;\n\n display: grid;\n place-items: center;\n\n border-radius: 30px;\n background: rgba(242, 242, 242, 0.14);\n backdrop-filter: blur(8px);\n\n cursor: pointer;\n\n ","\n"]);return P=function(){return n},n}function k(){var n=(0,w.Z)(["\n width: 16px;\n height: 16px;\n\n display: block;\n\n svg {\n color: ",";\n }\n"]);return k=function(){return n},n}var E=y.ZP.div.withConfig({componentId:"sc-10082df5-0"})(P(),(0,C.uo)("\n width: 54px;\n height: 54px;\n ")),T=y.ZP.div.withConfig({componentId:"sc-10082df5-1"})(k(),j.O9.white),I=function(n){var e=(0,h.Z)({},n),t=(0,x.useGlobalStore)(),r=t.isGridView,i=t.setIsGridView;return(0,v.qR)((function(){return function(){return i(!1)}})),(0,l.jsx)(E,(0,a.Z)((0,o.Z)({onClick:function(){return i(!r)},onMouseEnter:Z.B,onMouseLeave:Z.i},e),{children:(0,l.jsx)(T,{children:(0,l.jsx)(b,{})})}))};I.defaultProps={};var S=I;function M(){var n=(0,w.Z)(["\n width: 100vw;\n\n position: sticky;\n left: 0;\n right: 0;\n bottom: 0;\n"]);return M=function(){return n},n}function H(){var n=(0,w.Z)(["\n display: flex;\n justify-content: center;\n align-items: center;\n\n padding: 28px 0;\n\n ",";\n"]);return H=function(){return n},n}function O(){var n=(0,w.Z)(["\n margin-right: 16px;\n"]);return O=function(){return n},n}var A=y.ZP.div.withConfig({componentId:"sc-cb5748fe-0"})(M()),R=y.ZP.div.withConfig({componentId:"sc-cb5748fe-1"})(H(),(0,C.uo)("\n padding: 32px 25px;\n justify-content: space-between;\n ")),z=y.ZP.div.withConfig({componentId:"sc-cb5748fe-2"})(O()),L=function(n){var e=n.filterText,t=n.filterTagsList,r=n.viewChanger,i=(0,f.Z)(n,["filterText","filterTagsList","viewChanger"]),c=(0,d.useState)(!1),u=c[0],s=c[1];return(0,v.qR)((function(){s(!0)})),u?p.createPortal((0,l.jsx)(A,(0,a.Z)((0,o.Z)({},i),{children:(0,l.jsxs)(R,{children:[(0,l.jsx)(z,{children:(0,l.jsx)(g.Z,{filterText:e,tagsList:t})}),r&&(0,l.jsx)(S,{})]})})),document.getElementById("layout-content")):null};L.defaultProps={filterText:"Show me:",viewChanger:!0};var V=(0,d.memo)(L),_=t(55905),B=t(71073),G=t(59041),q=t(74891),F=t(15125),K=t(68139),D=t(2883),N=t(31524),Q=t(72494),W=t(65820),X=t(8393),Y=t(82981),U=t(18522),$=t(1673),J=t(63605),nn=t(27576),en=t(58768),tn=t(93293),rn=t(23274);function on(){var n=(0,w.Z)(["\n &::before {\n content: attr(data-title);\n position: absolute;\n inset: 0;\n background-color: ",";\n ",";\n padding: 12px;\n ",";\n opacity: 0;\n transition: opacity 0.4s ease-in-out;\n pointer-events: none;\n }\n\n ","\n\n &:hover {\n &::before {\n opacity: 1;\n }\n }\n"]);return on=function(){return n},n}function an(){var n=(0,w.Z)(["\n display: flex;\n\n position: relative;\n overflow: hidden;\n\n ",";\n\n cursor: pointer;\n"]);return an=function(){return n},n}function cn(){var n=(0,w.Z)(["\n position: absolute;\n inset: 0;\n\n background-color: ",";\n padding: 12px;\n"]);return cn=function(){return n},n}var un=(0,y.ZP)(Q.E.li).withConfig({componentId:"sc-e6305ea8-0"})(an(),(function(n){var e=n.isMobile,t=n.backgroundColor,r=n.textColor;return!e&&t&&function(n,e){return(0,y.iv)(on(),n,e&&"color: ".concat(e),(function(n){var e=n.theme.locale;return(0,rn.QA)("filter",e)}),(0,C.ey)("\n &::before {\n ".concat((function(n){var e=n.theme.locale;return(0,rn.QA)("heading5",e)}),";\n }\n ")))}(t,r)})),sn=(0,y.ZP)(Q.E.div).withConfig({componentId:"sc-e6305ea8-1"})(cn(),(function(n){return n.backgroundColor})),ln=function(n){var e=n.id,t=n.heading,r=n.image,i=n.video,c=n.videoErrorMessage,u=n.mediaType,s=n.aspectRatio,p=n.headerText,v=n.headerColoredText,g=n.gridViewTextColor,h=n.color,x=n.redirectTo,m=n.newsArticle,b=n.eventPage,Z=n.caseStudy,w=n.awardPage,y=n.insightArticle,C=n.onHoverStart,j=n.onHoverEnd,P=n.isMobile,k=n.activeId,E=n.setActiveId,T=(0,f.Z)(n,["id","heading","image","video","videoErrorMessage","mediaType","aspectRatio","headerText","headerColoredText","gridViewTextColor","color","redirectTo","newsArticle","eventPage","caseStudy","awardPage","insightArticle","onHoverStart","onHoverEnd","isMobile","activeId","setActiveId"]),I=(0,d.useState)(!1),S=I[0],M=I[1],H={awardPage:w,eventPage:b,newsArticle:m,caseStudy:Z,insightArticle:y};(0,d.useEffect)((function(){P&&k!==e&&M(!1)}),[P,k,e]);var O=P?S?(0,tn.Uq)(x,H):null:(0,tn.Uq)(x,H),A=(0,d.useCallback)((function(){E(e),M(!0),C(p,v,h)}),[e,p,v,h]);return(0,l.jsx)(U.X,{features:$.H,children:(0,l.jsx)(un,(0,a.Z)((0,o.Z)({role:"listitem","data-title":t,backgroundColor:h,textColor:g,onHoverStart:function(){return!P&&C(p,v,h)},onHoverEnd:function(){return!P&&j()},isMobile:P},N.v6,T),{children:(0,l.jsxs)(nn.Z,{href:O,children:[(0,l.jsx)(J.Z,{media:"image"===u?r:i,mediaType:u,aspectRatio:s||"_16x9",videoErrorMessage:c}),P&&(0,l.jsx)(sn,{initial:{opacity:0},animate:S?{opacity:1}:{opacity:0},onClick:A,backgroundColor:h,children:(0,l.jsx)(en.Z,{size:"filter",text:t})})]})}))},e)};ln.defaultProps={id:"1",heading:"",image:{url:""},video:{url:""},mediaType:"image",aspectRatio:"_16x9",headerText:"",headerColoredText:"",gridViewTextColor:"",color:"",redirectTo:"CaseStudyPage",caseStudy:{slug:"test",writingDate:"01/01/1960"},isMobile:!1};var dn=(0,d.memo)(ln);function fn(){var n=(0,w.Z)(["\n display: grid;\n grid-gap: 17px;\n grid-template-columns: repeat(",", minmax(0px, 1fr));\n grid-column: 1/-1;\n\n ","\n\n ","\n"]);return fn=function(){return n},n}var pn=j.bK.columns,vn=pn.min,gn=pn.threeFourth,hn=(0,y.ZP)(Q.E.ul).withConfig({componentId:"sc-8fad0f5e-0"})(fn(),vn,(0,C.uo)("\n grid-gap: 32px;\n grid-template-columns: repeat(".concat(vn,", minmax(0px, 1fr));\n grid-column: 2/12;\n ")),(0,C.ey)("\n grid-template-columns: repeat(".concat(gn,", minmax(0px, 1fr));\n "))),xn=function(n){var e=n.projects,t=(0,f.Z)(n,["projects"]),r=(0,d.useState)(null),i=r[0],c=r[1],u=(0,X.Z)().width,s=(0,x.useGlobalStore)(),p=s.headerText,v=s.setHeaderText,g=u<Y.k1,h=(0,d.useCallback)((function(n,e,t){v((0,a.Z)((0,o.Z)({},p),{normal:n,colored:e,color:t}))}),[p]),m=(0,d.useCallback)((function(){v((0,a.Z)((0,o.Z)({},p),{normal:"",colored:"",color:""}))}),[p]),b=e.map((function(n){return(0,l.jsx)(dn,(0,o.Z)({onHoverStart:h,onHoverEnd:m,isMobile:g,activeId:i,setActiveId:c},n),n.id)}));return(0,l.jsx)(hn,(0,a.Z)((0,o.Z)({role:"list"},N.BH,t),{children:b}))};xn.defaultProps={projects:[]};var mn=(0,d.memo)(xn),bn=t(97650);function Zn(){var n=(0,w.Z)(["\n &::before {\n content: attr(data-title);\n position: absolute;\n inset: 0;\n background-color: ",";\n padding: 12px;\n ",";\n opacity: 0;\n transform: translateY(100%);\n transition: all 0.4s ease-in-out;\n }\n\n &:hover {\n &::before {\n opacity: 1;\n transform: translateY(0);\n }\n }\n\n ","\n"]);return Zn=function(){return n},n}function wn(){var n=(0,w.Z)(["\n height: fit-content;\n display: flex;\n flex-direction: column;\n grid-column: 1/-1;\n\n position: relative;\n overflow: hidden;\n\n ",";\n\n cursor: pointer;\n\n ","\n\n ","\n"]);return wn=function(){return n},n}function yn(){var n=(0,w.Z)(["\n display: none;\n\n ","\n"]);return yn=function(){return n},n}function Cn(){var n=(0,w.Z)(["\n position: absolute;\n inset: 0;\n\n background-color: ",";\n padding: 12px;\n"]);return Cn=function(){return n},n}var jn=(0,y.ZP)(Q.E.li).withConfig({componentId:"sc-97a311e5-0"})(wn(),(function(n){var e=n.isMobile,t=n.backgroundColor;return!e&&t&&function(n){return(0,y.iv)(Zn(),n,(function(n){var e=n.theme.locale;return(0,rn.QA)("heading5",e)}),(0,C.ey)("\n &::before {\n display: none;\n }\n "))}(t)}),(0,C.uo)("\n grid-column: 3/13;\n "),(0,C.ey)("\n grid-column: 3/13;\n ")),Pn=(0,y.ZP)(Q.E.div).withConfig({componentId:"sc-97a311e5-1"})(yn(),(0,C.ey)("\n display: block;\n margin: 8px 0 0;\n ")),kn=(0,y.ZP)(Q.E.div).withConfig({componentId:"sc-97a311e5-2"})(Cn(),(function(n){return n.backgroundColor})),En=function(n){var e=n.id,t=n.heading,r=n.image,i=n.video,u=n.videoErrorMessage,s=n.mediaType,p=n.aspectRatio,g=n.headerText,h=n.headerColoredText,m=n.color,b=n.redirectTo,Z=n.newsArticle,w=n.eventPage,y=n.caseStudy,C=n.awardPage,P=n.insightArticle,k=n.onHoverStart,E=n.onHoverEnd,T=n.isMobile,I=n.activeId,S=n.setActiveId,M=(0,f.Z)(n,["id","heading","image","video","videoErrorMessage","mediaType","aspectRatio","headerText","headerColoredText","color","redirectTo","newsArticle","eventPage","caseStudy","awardPage","insightArticle","onHoverStart","onHoverEnd","isMobile","activeId","setActiveId"]),H=(0,d.useState)(!1),O=H[0],A=H[1],R=(0,x.useGlobalStore)().setIsEnteringWorkPageContent,z=(0,c.Z)((0,bn.YD)({threshold:[.8,1]}),2),L=z[0],V=z[1],_=(0,v.iP)().width;(0,d.useEffect)((function(){T||(V&&_>=Y.zp?(R(!0),k(g,h,j.O9.white)):(E(),R(!1)))}),[T,L,V,_]);var B={awardPage:C,eventPage:w,newsArticle:Z,caseStudy:y,insightArticle:P};(0,d.useEffect)((function(){T&&I!==e&&A(!1)}),[T,I,e]);var G,q=!T||!!O,F=(0,d.useCallback)((function(){S(e),A(!0),k(g,h,m)}),[e,g,h,m]);return(0,l.jsx)(U.X,{features:$.H,children:(0,l.jsx)(jn,(0,a.Z)((0,o.Z)({ref:L,role:"listitem","data-title":t,backgroundColor:m,onHoverStart:function(){return!T&&k(g,h,m)},onHoverEnd:function(){return!T&&(_<Y.zp?E():V?k(g,h,j.O9.white):E())},isMobile:T},N.v6,M),{children:(G=(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)(J.Z,{media:"image"===s?r:i,mediaType:s,aspectRatio:p,videoErrorMessage:u}),_>=Y.zp&&(0,l.jsx)(Pn,{initial:{opacity:0},variants:{hover:{opacity:1,transition:{duration:.4,ease:"easeInOut"}}},children:(0,l.jsx)(en.Z,{as:"h5",size:"heading5",text:t})}),T&&(0,l.jsx)(kn,{initial:{opacity:0},animate:O?{opacity:1}:{opacity:0},onClick:F,backgroundColor:m,children:(0,l.jsx)(en.Z,{size:"heading5",text:t})})]}),q?(0,l.jsx)(nn.Z,{href:(0,tn.Uq)(b,B),children:G}):(0,l.jsx)(l.Fragment,{children:G}))}))},e)};En.defaultProps={id:"1",heading:"",image:{url:""},video:{url:""},mediaType:"image",aspectRatio:"_16x9",headerText:"",headerColoredText:"",color:"",redirectTo:"CaseStudyPage",caseStudy:{slug:"test",writingDate:"01/01/1960"},isMobile:!1};var Tn=En;function In(){var n=(0,w.Z)(["\n width: 100%;\n display: grid;\n grid-row-gap: 64px;\n grid-template-columns: repeat(",", minmax(0px, 1fr));\n grid-column: 1/-1;\n\n ","\n"]);return In=function(){return n},n}var Sn=j.bK.columns.max,Mn=(0,y.ZP)(Q.E.ul).withConfig({componentId:"sc-596f5f8b-0"})(In(),Sn+2,(0,C.ey)("\n grid-row-gap: 160px;\n ")),Hn=function(n){var e=n.projects,t=(0,f.Z)(n,["projects"]),r=(0,d.useState)(null),i=r[0],c=r[1],u=(0,X.Z)().width,s=(0,x.useGlobalStore)(),p=s.headerText,v=s.setHeaderText,g=u<Y.k1,h=(0,d.useCallback)((function(n,e,t){v((0,a.Z)((0,o.Z)({},p),{normal:n,colored:e,color:t}))}),[p]),m=(0,d.useCallback)((function(){v((0,a.Z)((0,o.Z)({},p),{normal:"",colored:"",color:""}))}),[p]),b=e.map((function(n){return(0,l.jsx)(Tn,(0,o.Z)({onHoverStart:h,onHoverEnd:m,isMobile:g,activeId:i,setActiveId:c},n),n.id)}));return(0,l.jsx)(Mn,(0,a.Z)((0,o.Z)({role:"list"},N.BH,t),{children:b}))};Hn.defaultProps={projects:[]};var On=(0,d.memo)(Hn);function An(){var n=(0,w.Z)(["\n display: grid;\n grid-template-columns: repeat(",", minmax(0px, 1fr));\n"]);return An=function(){return n},n}var Rn=j.bK.columns.max,zn=y.ZP.section.withConfig({componentId:"sc-c81d0d17-0"})(An(),Rn),Ln=function(n){var e=n.projects,t=(0,f.Z)(n,["projects"]),r=(0,x.useGlobalStore)(),i=r.isGridView,c=r.activeFilter,u=r.headerText,s=r.setHeaderText;(0,d.useEffect)((function(){s((0,a.Z)((0,o.Z)({},u),{normal:"",colored:"",color:""}))}),[i]);var p=e.filter((function(n){var e=n.tag,t=n.tags;return(null===e||void 0===e?void 0:e.tag)===c||(null===t||void 0===t?void 0:t.some((function(n){return(null===n||void 0===n?void 0:n.tag)===c})))||!c}));return(0,l.jsx)(zn,(0,a.Z)((0,o.Z)({},t),{children:(0,l.jsx)(W.M,{mode:"wait",children:i?(0,l.jsx)(mn,{projects:p}):(0,l.jsx)(On,{projects:p})})}))};Ln.defaultProps={projects:[]};var Vn=Ln,_n=t(3339);function Bn(){var n=(0,w.Z)(["\n padding: 275px 16px 64px;\n\n display: grid;\n grid-template-columns:\n [out-left] 16px\n repeat(",", [content] minmax(0px, 1fr))\n [out-right] 16px;\n\n ","\n\n ","\n"]);return Bn=function(){return n},n}function Gn(){var n=(0,w.Z)(["\n margin-bottom: 238px;\n grid-column: 1/-1;\n\n ","\n\n ","\n"]);return Gn=function(){return n},n}function qn(){var n=(0,w.Z)([""]);return qn=function(){return n},n}function Fn(){var n=(0,w.Z)(["\n grid-column: 1/ -1;\n"]);return Fn=function(){return n},n}var Kn=j.bK.columns.max,Dn=(0,y.ZP)(Q.E.div).withConfig({componentId:"sc-98d9d655-0"})(Bn(),Kn,(0,C.ey)("\n grid-template-columns: [out-left] 124px repeat(".concat(Kn,", [content] minmax(0px, 1fr)) [out-right] 124px;\n ")),(0,C.uo)("\n padding: 153px 0 360px;\n ")),Nn=y.ZP.section.withConfig({componentId:"sc-98d9d655-1"})(Gn(),(0,C.uo)("\n grid-column: content 1/out-right;\n margin-bottom: 240px;\n "),(0,C.ey)("\n grid-column: content 1/content 9;\n ")),Qn=(0,y.ZP)(_n.Z).withConfig({componentId:"sc-98d9d655-2"})(qn()),Wn=(0,y.ZP)(Vn).withConfig({componentId:"sc-98d9d655-3"})(Fn()),Xn=(function(){var n=(0,i.Z)(s().mark((function n(e){var t,r,i,o,a,c,u,l,d,f,p,v,g,h;return s().wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return t=e.locale,n.next=4,(0,D.Ze)(D.u2.workPage,t);case 4:return i=n.sent,n.next=7,(0,D.Ze)(D.u2.cookieBar,t);case 7:return o=n.sent,n.next=10,(0,D.Ze)(D.u2.footer,t);case 10:return a=n.sent,c={cookieId:o,footerId:a},n.next=14,(0,G.vO)({query:(0,q.QY)({id:i,locale:t,globalIds:c})});case 14:if(u=n.sent,l=u.data,d=l.sharedCopies,f=l.workPage,p=l.redirectPopups,v=l.cookieBar,g=l.navbar,h=l.footer,f&&d){n.next=18;break}return n.abrupt("return",{notFound:!0});case 18:return n.abrupt("return",{props:{initialCopy:{head:(null===f||void 0===f?void 0:f.seo)||null,global:(null===(r=d[0])||void 0===r?void 0:r.global)||null,globalSettings:d[0]||null,redirectPopup:p[0]||null,cookieBar:v||null,navbar:g,footer:h},page:f},revalidate:F.C});case 19:case"end":return n.stop()}}),n)})))}(),function(n){var e=n.initialCopy,t=n.page,r=(0,x.useCopyStore)().setCopy,i=(0,x.useGlobalStore)().setHeaderText,u=(0,c.Z)((0,B.Z)(),1)[0];return(0,d.useEffect)((function(){var n;r(e),i({default:null===(n=e.navbar.navLinks.find((function(n){return n.href===K.Z.WORK})))||void 0===n?void 0:n.headerText})}),[e]),t?(0,l.jsxs)(Dn,(0,a.Z)((0,o.Z)({},N.PV),{children:[(null===t||void 0===t?void 0:t.seo)&&(0,l.jsx)(_.Z,{seo:t.seo}),(0,l.jsx)(Nn,{ref:u,children:(0,l.jsx)(Qn,{text:null===t||void 0===t?void 0:t.headline})}),(0,l.jsx)(Wn,{projects:null===t||void 0===t?void 0:t.projects}),(0,l.jsx)(V,{filterText:null===t||void 0===t?void 0:t.buttonText,filterTagsList:null===t||void 0===t?void 0:t.filterPopup})]})):null}),Yn=!0},18522:function(n,e,t){"use strict";t.d(e,{X:function(){return a}});var r=t(67294),i=t(70398),o=t(81879);function a({children:n,features:e,strict:t=!1}){const[,a]=(0,r.useState)(!c(e)),u=(0,r.useRef)(void 0);if(!c(e)){const{renderer:n,...t}=e;u.current=n,(0,o.K)(t)}return(0,r.useEffect)((()=>{c(e)&&e().then((({renderer:n,...e})=>{(0,o.K)(e),u.current=n,a(!0)}))}),[]),r.createElement(i.u.Provider,{value:{renderer:u.current,strict:t}},n)}function c(n){return"function"===typeof n}},1673:function(n,e,t){"use strict";t.d(e,{H:function(){return o}});var r=t(71903),i=t(36872);const o={renderer:t(12380).b,...r.s,...i.E}},97650:function(n,e,t){"use strict";t.d(e,{YD:function(){return l}});var r=t(67294);const i=new Map,o=new WeakMap;let a,c=0;function u(n){return Object.keys(n).sort().filter((e=>void 0!==n[e])).map((e=>{return`${e}_${"root"===e?(t=n.root,t?(o.has(t)||(c+=1,o.set(t,c.toString())),o.get(t)):"0"):n[e]}`;var t})).toString()}function s(n,e,t={},r=a){if("undefined"===typeof window.IntersectionObserver&&void 0!==r){const i=n.getBoundingClientRect();return e(r,{isIntersecting:r,target:n,intersectionRatio:"number"===typeof t.threshold?t.threshold:0,time:0,boundingClientRect:i,intersectionRect:i,rootBounds:i}),()=>{}}const{id:o,observer:c,elements:s}=function(n){let e=u(n),t=i.get(e);if(!t){const r=new Map;let o;const a=new IntersectionObserver((e=>{e.forEach((e=>{var t;const i=e.isIntersecting&&o.some((n=>e.intersectionRatio>=n));n.trackVisibility&&"undefined"===typeof e.isVisible&&(e.isVisible=i),null==(t=r.get(e.target))||t.forEach((n=>{n(i,e)}))}))}),n);o=a.thresholds||(Array.isArray(n.threshold)?n.threshold:[n.threshold||0]),t={id:e,observer:a,elements:r},i.set(e,t)}return t}(t);let l=s.get(n)||[];return s.has(n)||s.set(n,l),l.push(e),c.observe(n),function(){l.splice(l.indexOf(e),1),0===l.length&&(s.delete(n),c.unobserve(n)),0===s.size&&(c.disconnect(),i.delete(o))}}r.Component;function l({threshold:n,delay:e,trackVisibility:t,rootMargin:i,root:o,triggerOnce:a,skip:c,initialInView:u,fallbackInView:l,onChange:d}={}){var f;const[p,v]=r.useState(null),g=r.useRef(),[h,x]=r.useState({inView:!!u,entry:void 0});g.current=d,r.useEffect((()=>{if(c||!p)return;let r;return r=s(p,((n,e)=>{x({inView:n,entry:e}),g.current&&g.current(n,e),e.isIntersecting&&a&&r&&(r(),r=void 0)}),{root:o,rootMargin:i,threshold:n,trackVisibility:t,delay:e},l),()=>{r&&r()}}),[Array.isArray(n)?n.toString():n,p,o,i,a,c,t,l,e]);const m=null==(f=h.entry)?void 0:f.target,b=r.useRef();p||!m||a||c||b.current===m||(b.current=m,x({inView:!!u,entry:void 0}));const Z=[v,h.inView,h.entry];return Z.ref=Z[0],Z.inView=Z[1],Z.entry=Z[2],Z}}},function(n){n.O(0,[970,774,888,179],(function(){return e=28953,n(n.s=e);var e}));var e=n.O();_N_E=e}]); //# sourceMappingURL=work-24c9321bbbc66124.js.map