PageSourceSearch

https://thisisdash.com/_next/static/chunks/726-5813d9639f39cb46.js

js thisisdash.com collected 2026-10-01 16:14:21 UTC 68,921 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[726],{6726:function(e,t,n){n.d(t,{Z:function(){return Te}});var s={};n.r(s),n.d(s,{Apply:function(){return ye},BasicText:function(){return q},Cases:function(){return $},Contact:function(){return Re},ContentList:function(){return D},Divider:function(){return ae},FeaturedAnchorList:function(){return J},FeaturedContent:function(){return T},FeaturedList:function(){return U},Hero:function(){return y},HeroAnimated:function(){return z.Z},HeroBasic:function(){return _e},HeroDetail:function(){return ce},ImageSlider:function(){return I},ListingPerks:function(){return le},ListingStories:function(){return ke},ListingTeam:function(){return re},MultiCta:function(){return V},Quote:function(){return Pe},SplittedText:function(){return Le},StackedContentWindows:function(){return M},TextAnimated:function(){return O},TextContentWindows:function(){return E},TextTitleCta:function(){return R},TextVisual:function(){return A},Visual:function(){return Ne}});var r,l=n(7294),a=n(6038);function i(){return i=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var s in n)Object.prototype.hasOwnProperty.call(n,s)&&(e[s]=n[s])}return e},i.apply(this,arguments)}var c=function(e){return l.createElement("svg",i({viewBox:"0 0 10 10",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg"},e),r||(r=l.createElement("path",{d:"m3.871 8.473 1.819.255.225-1.604-.064-1.1.016-.107.099.069.727.838 1.278.998 1.13-1.45-1.277-.997-.994-.495-.1-.068.146-.061 1.065-.205 1.503-.607-.688-1.705-1.503.606-.93.606-.115.038.02-.133.363-1.04.226-1.604L4.999.451l-.226 1.605.064 1.1-.023.16-.122-.1-.7-.834-1.278-.997-1.131 1.45 1.278.997.967.49.122.1-.114.038-1.092.2-1.503.607.687 1.706 1.503-.607.93-.606.115-.038-.015.107-.364 1.04-.226 1.604Z"})))},o=n(3183),d=n(5893),u=function(e){var t=e.props,n=e.setShowWindow,s=(0,l.useRef)(),r=(0,l.useRef)(),i=(0,l.useRef)(),u=(0,l.useRef)(),m=(0,l.useRef)(),f=(0,l.useRef)(),h=(0,l.useRef)(),p=(0,l.useRef)(),x=(0,o.dX)((function(e){return e.setCursor})),v=(0,l.useState)(null),j=v[0],g=v[1];return(0,l.useEffect)((function(){a.ZP.set(p.current,{scaleY:0}),a.ZP.set(u.current,{yPercent:100}),a.ZP.set(f.current,{scale:0,rotation:-1080}),g(a.ZP.timeline({paused:!0}))}),[]),(0,l.useEffect)((function(){if(!j)return!1;j.reveal(r.current,{stagger:.25}).reveal(h.current,{},"c").to(p.current,{scaleY:1,duration:.75,ease:"expo.out"},"a").to(u.current,{yPercent:0,duration:.75,ease:"expo.out"},"a").to(i.current,{rotation:window.innerWidth>800?-2:0,duration:.5,ease:"elastic.out"},"b").to(f.current,{scale:1,duration:1.5,ease:"expo.out"},"b").to(f.current,{rotation:0,duration:3,ease:"expo.out"},"b").to(m.current.children[0],{rotation:"360",ease:"none",repeat:-1,duration:3},"b"),setTimeout((function(){a.ZP.set(s.current,{opacity:1}),j.play()}),500)}),[j]),(0,d.jsx)(d.Fragment,{children:(0,d.jsxs)("div",{ref:s,className:"flex flex-col",style:{opacity:0},children:[(0,d.jsx)("p",{ref:r,className:"text-xl font-medium uppercase text-secondary font-display",style:{opacity:0},children:t.tagline}),(0,d.jsx)("div",{className:"relative pt-8",children:(0,d.jsxs)("div",{className:"heading heading--1",children:[(0,d.jsxs)("div",{ref:i,className:"absolute z-20 inline-block transform",children:[(0,d.jsx)("div",{ref:p,className:"absolute bottom-0 z-0 bg-tertiary -top-3 -right-3 -left-3 -sm:-top-2 -sm:-right-2 -sm:-left-2 md:-top-4 md:-left-5 md:-right-6"}),(0,d.jsx)("div",{className:"overflow-hidden",children:(0,d.jsx)("span",{ref:u,className:"relative block text-background",children:t.headline})}),(0,d.jsx)("div",{className:"absolute flex items-center justify-center rounded-full cursor-pointer bg-background -top-6 -right-6 md:-top-12 md:-right-12 w-7 h-7 md:w-12 md:h-12",ref:f,onClick:function(){x(""),n(!0)},onMouseLeave:function(){return x("")},onMouseEnter:function(){return x("HUH?")},children:(0,d.jsx)("div",{ref:m,className:"w-3 h-3 md:w-6 md:h-6 text-tertiary",children:(0,d.jsx)(c,{})})})]}),(0,d.jsxs)("span",{ref:h,className:"relative z-10",style:{opacity:0}
1,children:[(0,d.jsx)("span",{children:t.headline})," ",t.headlineRest]})]})})]})})},m=n(9499),f=n(5490),h=n(1664),p=n.n(h),x=(n(1163),n(9971)),v=function(e){var t=e.href,n=e.title,s=e.classes,r=e.share,i=e.stories,c=(0,l.useState)(""),u=c[0],m=c[1],f=(0,o.dX)((function(e){return e.setCursor})),h=(0,l.useRef)(),v=(0,l.useRef)(),j=(0,l.useRef)(),g="back.in";(0,l.useEffect)((function(){"object"===typeof t&&null!==t?x.ZP.fetch('*[_id == "'.concat(t._ref,'"]{\n            slug,\n          }')).then((function(e){var t,n="/"===e[0].slug.current?e[0].slug.current:"/".concat(e[0].slug.current);t=i?"/stories".concat(n):n,m(t)})):"string"===typeof t&&m(t)}),[]),(0,l.useEffect)((function(){a.ZP.set(h.current,{yPercent:100,y:-6}),a.ZP.set(v.current,{yPercent:-100,y:-2})}));var b=function(){f("pointer"),a.ZP.to([h.current,v.current],{duration:.3,ease:"back.out",yPercent:0,y:0})},w=function(){f("default"),a.ZP.to(h.current,{duration:.3,ease:g,yPercent:100,y:-6}),a.ZP.to(v.current,{duration:.3,ease:g,yPercent:-100,y:-2})};return(0,d.jsxs)(d.Fragment,{children:[t&&(0,d.jsx)(d.Fragment,{children:(0,d.jsx)(p(),{href:u,children:(0,d.jsxs)("a",{target:"linkedin"==n?"_blank":"",rel:"linkedin"==n?"noreferrer noopener":"",onMouseEnter:b,onMouseLeave:w,className:"".concat(null!==s&&void 0!==s?s:""," relative flex flex-col overflow-hidden text-xs font-extrabold uppercase cursor-pointer"),children:[(0,d.jsx)("div",{className:"relative z-10 text-tertiary",children:(0,d.jsx)("span",{className:"block py-1",children:n})}),(0,d.jsxs)("div",{ref:h,className:"absolute inset-0 z-20 p-1 -m-1 overflow-hidden text-background",children:[(0,d.jsx)("span",{ref:j,className:"absolute inset-0 bg-tertiary"}),(0,d.jsx)("span",{className:"block py-1",ref:v,children:n})]})]})})}),!t&&(0,d.jsxs)("div",{onMouseEnter:b,onMouseLeave:w,onClick:function(){if(!r)return!1;if("linkedin"==r){var e=window.open("https://www.linkedin.com/shareArticle?mini=true&url="+document.URL,"linkedin-popup","height=350,width=600");return e.focus&&e.focus(),!1}var t;return"facebook"==r?((t=window.open("https://www.facebook.com/sharer/sharer.php?u="+document.URL,"facebook-popup","height=350,width=600")).focus&&t.focus(),!1):"twitter"==r?((t=window.open("http://www.twitter.com/share?url="+document.URL)).focus&&t.focus(),!1):void("copy"==r&&navigator.clipboard.writeText(document.URL))},className:"relative flex flex-col overflow-hidden text-xs font-extrabold uppercase cursor-pointer",children:[(0,d.jsx)("div",{className:"relative z-10 text-tertiary",children:(0,d.jsx)("span",{className:"block py-1",children:n})}),(0,d.jsxs)("div",{ref:h,className:"absolute inset-0 z-20 p-1 -m-1 overflow-hidden text-background",children:[(0,d.jsx)("span",{ref:j,className:"absolute inset-0 bg-tertiary"}),(0,d.jsx)("span",{className:"block py-1",ref:v,children:n})]})]})]})},j=n(2152);function g(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(e);t&&(s=s.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,s)}return n}function b(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?g(Object(n),!0).forEach((function(t){(0,m.Z)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):g(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var w=function(e){var t=e.props,n=e.index,s=e.imageRatio,r=e.offsets,i=e.setShowWindow,c=e.popup,u=(0,l.useState)({x:0,y:0}),m=u[0],h=m.x,p=m.y,x=u[1],g=(0,l.useState)({correctionX:0,correctionY:0}),w=g[0],y=w.correctionX,N=w.correctionY,k=g[1],S=(0,l.useState)({offsetX:0,offsetY:0}),E=S[0],Z=E.offsetX,P=E.offsetY,L=S[1],F=(0,l.useState)(!0),O=F[0],R=F[1],_=(0,o.Q3)((function(e){return e.globalZIndex})),C=(0,o.Q3)((function(e){return e.updateGlobalZIndex})),T=(0,o.dX)((function(e){return e.setCursor})),z=(0,l.useState)(_-1+n),M=z[0],W=z[1],D=(0,l.useRef)(),I=(0,l.useRef)(),Y=(0,l.useRef)(),B=(0,l.useRef)(),V=(0,l.useRef)(),A=(0,l.useRef)();(0,l.useEffect)((function(){a.ZP.set(D.current,{transformOrigin:"top center"})}),[]),(0,l.useEffect)((function(){var e=c?0:-.5*D.current.scrollHeight;
1k((function(){return{correctionX:-.5*D.current.scrollWidth,correctionY:e}})),r&&L((function(){return{offsetX:r.x*(window.innerWidth/24),offsetY:r.y*(window.innerWidth/24)}}))}),[r]),(0,l.useEffect)((function(){a.ZP.set(D.current,{x:h+y+Z,y:p+N+P})}));var X=function(){B.current.classList.contains("bg-background")&&(B.current.classList.remove("bg-background","text-tertiary"),B.current.classList.add("bg-secondary","text-white"),V.current&&V.current.classList.add("bg-secondary","text-white"))},H=function(){B.current.classList.contains("bg-secondary")&&(B.current.classList.remove("bg-secondary","text-white"),B.current.classList.add("bg-background","text-tertiary"),V.current&&V.current.classList.remove("bg-secondary","text-white"))},U=(0,f.useGesture)({onDragStart:function(){document.querySelector("body").classList.add("select-none"),T("closed"),a.ZP.set(D.current,{x:h,y:p}),a.ZP.to(D.current,{duration:.2,scale:1.1,ease:"elastic.out"})},onDrag:function(e){B.current.classList.contains("bg-background")&&(B.current.classList.remove("bg-background","text-tertiary"),B.current.classList.add("bg-secondary","text-white")),x((function(){return{x:e.offset[0],y:e.offset[1]}}))},onDragEnd:function(){T("open"),document.querySelector("body").classList.remove("select-none"),a.ZP.set(D.current,{x:h,y:p}),a.ZP.to(D.current,{duration:.2,scale:1,ease:"elastic.out"})}});return(0,d.jsx)(d.Fragment,{children:(0,d.jsx)("div",{ref:D,onMouseDown:function(){X(),C(_+1),W(_+1)},onMouseLeave:function(){T("default")},className:"absolute cursor-pointer w-16/24 ".concat(c?"top-0":"top-1/2"," left-1/2 will-change-transform md:w-10/24 lg:w-7/24").concat(O?"":" pointer-events-none"),style:{zIndex:M},children:(0,d.jsx)("div",{ref:I,className:"overflow-hidden",children:(0,d.jsxs)("div",{ref:Y,children:[(0,d.jsxs)("div",{ref:B,onMouseEnter:X,onMouseLeave:function(){T(""),H()},className:"flex items-stretch justify-between text-xs font-extrabold uppercase pointer-events-auto text-tertiary bg-background font-display",children:[c?(0,d.jsx)("span",{onClick:function(){T(""),i(!1)},onMouseEnter:function(){T("Close me")},className:"block px-5 py-3 transform -rotate-45 cursor-pointer",children:"+"}):(0,d.jsx)("span",{onClick:function(){T(O?"show":"hide"),R(!O)},onMouseEnter:function(){T(O?"hide":"show")},className:"block px-5 py-3 cursor-pointer",children:O?"-":"+"}),(0,d.jsx)("span",b(b({},U()),{},{onMouseEnter:function(){T("open")},className:"block w-full px-5 py-3 text-right select-none flex-grow-1 cursor-[grab] touch-none",children:t.title}))]}),(0,d.jsx)("div",{onMouseUp:function(){H()},onMouseLeave:function(){H()},onMouseEnter:function(){M<_&&T("bring up")},onClick:function(){return T("")},ref:A,className:"flex relative w-full bg-secondary ".concat(null!==s&&void 0!==s?s:"pb-[110%]"," ").concat(O?"":" opacity-0 pointer-events-none"),children:(0,d.jsx)(j.Z,{props:t,preload:!!c})}),t.content&&(0,d.jsxs)("div",{onMouseUp:function(){H()},onMouseLeave:function(){H()},ref:V,className:O?"px-8 pb-8 pt-7 bg-background":"hidden px-8 pb-8 pt-7 bg-background",children:[(0,d.jsx)("div",{className:"text-xs font-bold uppercase font-display",children:t.content.title}),(0,d.jsx)("p",{className:"pt-1",children:t.content.text}),(0,d.jsx)("div",{className:"flex justify-start pt-3",children:t.content.anchor&&(0,d.jsx)(v,{title:t.content.anchor.title,href:t.content.anchor.href})})]})]})})})})},y=function(e){var t=e.props,n=(0,l.useState)(!1),s=n[0],r=n[1];return(0,d.jsx)(d.Fragment,{children:(0,d.jsxs)("section",{className:"relative mt-32 section--default pt-4/24 md:mt-3/24 md:pt-1/24",children:[(0,d.jsx)("div",{className:"grid grid-cols-24 gap-x-2.5",children:"text"==t.type&&(0,d.jsx)("div",{className:"col-start-3 col-end-23 xl:col-start-3 xl:col-end-19",children:(0,d.jsx)(u,{props:t,setShowWindow:r})})}),t.window&&s&&(0,d.jsx)(w,{props:t.window,index:0,setShowWindow:r,imageRatio:"pt-[80%]",popup:!0})]})})},N=function(e){var t=e.windows,n=e.offsetFactor,s=(0,l.useState)(null!==n&&void 0!==n?n:1.5)[0],r=(0,l.useState)(1),a=r[0],i=r[1];(0,l.useEffect)((function(){return window.addEventListener("resize",c),c(),function(){window.removeEventListener("resize",c)}}),[]);var c=function(){i(window.innerWidth<800?2:1)},o=[{x:-.25*s*a,y:-1.25*s*a},{x:.25*s*a,y:1.25*s*a},{x:-.75*s*a,y:.25*s*a},{x:.75*s*a,y:-.25*s*a}];return(0,d.jsx)("div",{className:"relative w-full pb-[150%] md:pb-[80%]",children:t.map((function(e,t){return(0,d.jsx)(w,{index:t,props:e,title:e.title,image:e.image,offsets:o[t],easter:!1},t)}
1))})},k=n(7715),S=n(4279),E=function(e){var t,n,s=e.props,r=(0,l.useState)(s.inverted?"col-start-3 col-end-22 lg:col-start-13 lg:col-end-19 order-2":" col-start-3 col-end-22 lg:col-end-10")[0],a=(0,l.useState)(s.inverted?"col-start-1 col-end-25 lg:col-start-1 lg:col-end-12 order-1":"col-start-1 col-end-25 lg:col-start-10")[0],i=(0,l.useState)("justify-center"),c=i[0],o=i[1];return s.padding?(t=":col-start-3 md:col-start-5 col-end-22 lg:col-end-12",n="col-start-1 col-end-25 lg:col-start-12"):(t="",n=""),(0,l.useEffect)((function(){"top"===s.verticalAlign?o("justify-start"):"center"===s.verticalAlign?o("justify-center"):"bottom"===s.verticalAlign&&o("justify-end")})),(0,d.jsx)(d.Fragment,{children:(0,d.jsx)("section",{className:"z-30 section--default",children:(0,d.jsxs)("div",{className:"relative grid grid-cols-24 js-reveal-parent",children:[(0,d.jsxs)("div",{className:"flex flex-col ".concat(c," ").concat(t," items-start ").concat(r),children:[(0,d.jsx)("div",{className:"stagger-child js-reveal-child",children:(0,d.jsx)("span",{className:"block mb-4 text--label",children:s.label})}),(0,d.jsx)("div",{className:"stagger-child js-reveal-child",children:(0,d.jsx)("h2",{className:"mb-6 heading heading--4",children:s.title})}),(0,d.jsx)("div",{className:"stagger-child js-reveal-child",children:(0,d.jsx)("div",{className:"wysiwyg",children:(0,d.jsx)(S.YI,{value:s.text,components:{marks:{link:function(e){var t=e.value,n=e.children,s=((null===t||void 0===t?void 0:t.href)||"").startsWith("http")?"_blank":void 0;return(0,d.jsx)("a",{href:null===t||void 0===t?void 0:t.href,target:s,rel:"_blank"===s&&"noindex nofollow",children:n})}}}})})}),(0,d.jsx)("div",{className:"stagger-child js-reveal-child",children:s.buttonToggle&&(0,d.jsx)(k.Z,{classes:"mt-2/24 md:mt-1/24",title:s.button.title,href:s.button.href})}),(0,d.jsx)("div",{className:"stagger-child js-reveal-child",children:s.anchorToggle&&(0,d.jsx)(v,{classes:"mt-6 md:mt-10",title:s.anchor.title,href:s.anchor.title})})]}),(0,d.jsx)("div",{className:"".concat(a," ").concat(n),children:(0,d.jsx)(N,{windows:s.windows,offsetFactor:s.offsetFactor})})]})})})},Z=n(6066),P=n(5675),L=n.n(P),F=n(1202),O=function(e){var t,n,s=e.props,r=(0,l.useRef)(),i=(0,l.useRef)(),c=(0,l.useRef)(),u=(0,o.kx)((function(e){return e.windowSize})),m=(0,l.useState)(null),f=m[0],h=m[1];s.shapeFull&&(t=(0,F.J)(x.ZP,s.shapeFull)),s.shapeGap&&(n=(0,F.J)(x.ZP,s.shapeGap));var p,v="right"===s.shapePosition?"justify-end":"justify-start",j="right"===s.shapePosition?"right-0":"left-0";return p="top"===s.verticalAlign?"top-2/24":"bottom"===s.verticalAlign?"bottom-2/24":"top-1/2 transform -translate-y-1/2",(0,l.useEffect)((function(){if(i.current){i.current.getBoundingClientRect().top,document.documentElement.scrollTop;var e=a.ZP.fromTo([i.current,c.current],{y:160},{y:-80,scrollTrigger:{trigger:r.current,start:"top bottom",end:"bottom top",scrub:!0}});h(e)}}),[]),(0,l.useEffect)((function(){f&&f.scrollTrigger.refresh()}),[u]),(0,d.jsx)("section",{ref:r,className:"section--default",children:(0,d.jsxs)("div",{className:"relative flex ".concat(v," w-full"),children:[(0,d.jsx)("div",{ref:i,className:"relative flex flex-col items-stretch h-auto w-16/24 md:w-14/24",children:s.shapeFull&&(0,d.jsx)(L(),{src:t.src,width:t.width,loader:t.loader,height:t.height,objectFit:"cover",lazyBoundary:"800px",sizes:"(min-width: 800px) 50vw, 90vw",layout:"responsive"})}),(0,d.jsx)("div",{className:"absolute ".concat(p," w-full heading heading--0"),children:(0,d.jsx)(Z.Z,{props:{text:s.text}})}),(0,d.jsx)("div",{ref:c,className:"absolute flex flex-col items-stretch top-0 ".concat(j," z-20 h-auto w-16/24 md:w-14/24"),children:s.shapeGap&&(0,d.jsx)(L(),{src:n.src,width:n.width,loader:n.loader,height:n.height,objectFit:"cover",lazyBoundary:"800px",sizes:"(min-width: 800px) 50vw, 90vw",layout:"responsive"})})]})})},R=function(e){var t=e.props,n=(0,l.useState)(null),s=n[0],r=n[1];return(0,l.useEffect)((function(){t.anchorToggle&&x.ZP.fetch('*[_type == "page" && _id == "'.concat(t.anchor.href._ref,'"]{\n      slug,\n    }')).then((function(e){"/"===e[0].slug.current?r("".concat(e[0].slug.current)):r("/".concat(e[0].slug.current))}))})),(0,d.jsx)(d.Fragment,{children:(0,d.jsx)("section",{className:"section--default pb-3/24 md:pb-2/24",children:(0,d.jsx)("div",{className:"grid grid-cols-24 gap-x-2.5",children:(0,d.jsx)("div",{className:"col-start-3 col-end-25 md:col-start-3 md:col-end-17 lg:col-end-13",children:(0,d.jsxs)("div",{className:"flex flex-col md:flex-row js-reveal-parent",children:[(0,d.jsxs)("div",{className:"flex flex-col",children:[(0,d.jsx)("span",{className:"mb-4 text-lg text-secondary js-reveal-child",children:t.number}),(0,d.jsx)("div",{className:"flex js-reveal-child",children:(0,d.jsx)("h4",{className:"w-20/24 heading heading--4 md:w-6/24 lg:w-4/24",children:t.title})})]}),(0,d.jsxs)("div",{className:"flex flex-col pt-4 md:pt-11",children:[(0,d.jsx)("div",{className:"w-18/24 text-creme md:w-9/24 lg:w-7/24 wysiwyg js-reveal-child",children:(0,d.jsx)(S.YI,{value:t.text,components:{marks:{link:function(e){var t=e.value,n=e.children,s=((null===t||void 0===t?void 0:t.href)||"").startsWith("http")?"_blank":void 0;return(0,d.jsx)("a",{href:null===t||void 0===t?void 0:t.href,target:s,rel:"_blank"===s&&"noindex nofollow",children:n})}}}})}),t.anchor&&(0,d.jsx)("div",{className:"flex justify-start pt-6 js-reveal-child",children:(0,d.jsx)(v,{href:s,title:t.anchor.title})})]})]})})})})})},_=function(e){var t,n=e.props,s=(0,o.dX)((function(e){return e.setCursor}));return t=n.space?"flex pb-3":"inline-flex",(0,d.jsx)(d.Fragment,{children:(0,d.jsxs)("div",{className:"js-reveal-parent",children:[(0,d.jsx)("div",{className:"block mb-6 js-reveal-child",children:(0,d.jsxs)("div",{className:"inline",children:[(0,d.jsxs)("div",{className:"".concat(t," items-center tagline transform -translate-y-2"),children:[(0,d.jsx)("span",{className:"inline-block text-sm font-bold uppercase md:text-lg text-secondary font-display",children:n.label}),(0,d.jsx)("span",{className:"inline-block mx-4 rounded-full shrink-0 md:mx-8 bg-secondary w-3.5 h-3.5 md:w-7 md:h-7 transform -translate-y-0.5"})]}),n.text&&(0,d.jsx)("div",{className:"inline uppercase wysiwyg wysiwyg--lg",children:(0,d.jsx)(S.YI,{value:n.text,components:{block:{h3:function(e){var t=e.children;return(0,d.jsx)("span",{className:"heading heading--3",children:t})},normal:function(e){var t=e.children;return(0,d.jsx)("span",{className:"heading heading--3",children:t})}},marks:{link:function(e){var t=e.value,n=e.children,s=((null===t||void 0===t?void 0:t.href)||"").startsWith("http")?"_blank":void 0;return(0,d.jsx)("a",{href:null===t||void 0===t?void 0:t.href,target:s,rel:"_blank"===s&&"noindex nofollow",children:n})},marker:function(e){var t=e.children;return(0,d.jsx)("span",{onMouseEnter:function(){return s("peace")},onMouseLeave:function(){return s("default")},className:"px-3 pt-2 pb-1 text-white bg-secondary",children:t})}}}})})]})}),n.optionalLabel&&(0,d.jsx)("span",{className:"block mb-4 uppercase text--label !font-bold js-reveal-child",children:n.optionalLabel}),n.optionalText&&(0,d.jsx)("div",{className:"w-full text-base md:text--lg md:w-2/5 wysiwyg js-reveal-child",children:(0,d.jsx)(S.YI,{value:n.optionalText,components:{marks:{link:function(e){var t=e.value,n=e.children,s=((null===t||void 0===t?void 0:t.href)||"").startsWith("http")?"_blank":void 0;return(0,d.jsx)("a",{href:null===t||void 0===t?void 0:t.href,target:s,rel:"_blank"===s&&"noindex nofollow",children:n})}}}})}),n.buttonToggle&&(0,d.jsx)("div",{className:"js-reveal-child",children:(0,d.jsx)(k.Z,{classes:"mt-6",title:n.button.title,href:n.button.href})})]})})},C=n(5835),T=function(e){var t,n,s=e.props;return t=s.padding?"md:col-start-4 md:col-end-20":"md:col-start-3 md:col-end-19",n=s.images?"py-2/24":"pt-2/24",(0,d.jsx)(d.Fragment,{children:(0,d.jsx)("section",{className:"section--default",children:(0,d.jsxs)("div",{className:"relative grid grid-cols-24 gap-y-4/24 md:gap-y-0 md:gap-x-2.5 ".concat(n),children:[(0,d.jsx)("div",{className:"order-2 md:order-1 col-start-3 col-end-23 ".concat(t),children:(0,d.jsx)(_,{props:s})}),s.images&&(0,d.jsx)("div",{className:"relative z-10 w-full h-full pb-[100%] md:pb-0 md:absolute col-start-2 col-end-24 md:col-start-12 lg:col-start-14",children:(0,d.jsx)(C.Z,{type:"small",props:s.images})})]})})})},z=n(3539),M=function(e){var t=e.props,n=(0,l.useState)("md:justify-center"),s=n[0],r=n[1];return(0,l.useEffect)((function(){"left"===t.alignWindows?r("md:justify-start"):"right"===t.alignWindows&&r("md:justify-end md:mr-3/24")})),(0,d.jsx)("section",{className:"section--default",children:(0,d.jsx)("div",{className:"flex justify-center ".concat(s),children:(0,d.jsx)("div",{className:"w-full md:w-14/24 lg:w-11/24",children:(0,d.jsx)(N,{windows:t.windows})})})})},W=function(e){var t=e.props;return(0,d.jsx)(d.Fragment,{children:(0,d.jsxs)("div",{className:"js-reveal-parent",children:[(0,d.jsx)("span",{className:"block mb-4 text--label js-reveal-child",children:t.label}),(0,d.jsxs)("div",{className:"flex flex-col justify-between md:flex-row",children:[(0,d.jsx)("h2",{className:"w-full mb-6 md:w-5/24 lg:w-4/24 heading heading--4 js-reveal-child",children:t.title}),(0,d.jsx)("div",{className:"w-full md:pl-2 md:w-8/24 lg:w-7/24 wysiwyg js-reveal-child",children:(0,d.jsx)(S.YI,{value:t.text,components:{marks:{link:function(e){var t=e.value,n=e.children,s=((null===t||void 0===t?void 0:t.href)||"").startsWith("http")?"_blank":void 0;return(0,d.jsx)("a",{href:null===t||void 0===t?void 0:t.href,target:s,rel:"_blank"===s&&"noindex nofollow",children:n})}}}})})]})]})})},D=function(e){var t,n,s=e.props,r=(0,F.J)(x.ZP,s.shape),i=(0,o.kx)((function(e){return e.windowSize})),c=(0,l.useState)(null),u=c[0],m=c[1],f=(0,l.useRef)(),h=(0,l.useRef)();
1return"left"==s.contentAlign?(t="md:col-start-4 md:col-end-18 lg:col-end-16",n="col-start-11 col-end-25"):(t="md:col-start-8 lg:col-start-10 md:col-end-22",n="col-start-1 col-end-15"),(0,l.useEffect)((function(){var e=a.ZP.fromTo(f.current,{y:120},{y:-120,scrollTrigger:{trigger:h.current,start:"top bottom",end:"bottom top",scrub:!0}});m(e)}),[]),(0,l.useEffect)((function(){u&&u.scrollTrigger.refresh()}),[i]),(0,d.jsx)(d.Fragment,{children:(0,d.jsx)("section",{ref:h,className:"relative section--default",children:(0,d.jsxs)("div",{className:"grid grid-cols-24 gap-x-2.5",children:[s.shapeToggle&&(0,d.jsx)("div",{className:"".concat(n),children:(0,d.jsx)("div",{ref:f,className:"relative w-full h-full",children:(0,d.jsx)("div",{className:"absolute w-full h-full",children:s.shape&&(0,d.jsx)(L(),{src:r.src,loader:r.loader,width:r.width,height:r.height,objectFit:"cover",lazyBoundary:"800px",sizes:"(min-width: 800px) 35vw, 80vw",layout:"responsive"})})})}),(0,d.jsx)("div",{className:"col-start-3 col-end-23 z-50 ".concat(t," pt-2/24"),children:(0,d.jsx)("div",{className:"flex flex-col space-y-20",children:s.list.map((function(e,t){return(0,d.jsx)(W,{props:e},t)}))})})]})})})},I=function(e){var t=e.props;return(0,d.jsx)(d.Fragment,{children:(0,d.jsx)("section",{className:"section--default pt-3/24 md:pt-2/24",children:(0,d.jsx)("div",{className:"relative grid grid-cols-24",children:t.images&&(0,d.jsx)("div",{className:"relative z-10 w-full pb-[52%] col-start-2 col-end-24 ",children:(0,d.jsx)(C.Z,{type:t.type,props:t.images})})})})})},Y=n(2218),B=function(e){var t=e.props,n=e.position,s=(0,l.useState)(""),r=s[0],a=s[1],i=(0,l.useState)(!1),c=i[0],o=i[1],u=(0,F.J)(x.ZP,t.image),m=(0,l.useState)(""),f=m[0],h=m[1],v=(0,l.useRef)();return(0,l.useEffect)((function(){t.href&&x.ZP.fetch('*[_id == "'.concat(t.href._ref,'"]{\n            slug,\n            _type\n          }')).then((function(e){var t="";t+="story"===e[0]._type?"/stories":"",t+="/"===e[0].slug.current?"/":"/".concat(e[0].slug.current),h(t)}))}),[t]),(0,l.useEffect)((function(){window.innerWidth<800&&o(!0)}),[]),(0,d.jsx)(d.Fragment,{children:(0,d.jsx)(p(),{href:f,children:(0,d.jsxs)("div",{onMouseEnter:function(){o(!0)},onMouseLeave:function(){o(!1)},ref:v,className:"relative w-full cursor-pointer bg-secondary pb-[100%] ".concat(n),children:[(0,d.jsxs)("div",{className:"absolute inset-0 z-10 w-full h-full",children:[(0,d.jsx)(j.Z,{props:t}),(0,d.jsx)(L(),{onLoadingComplete:function(){v.current&&v.current.classList.remove("bg-secondary")},sizes:"(min-width: 800px) 35vw, 90vw",lazyBoundary:"800px",loader:u.loader,src:u.src,objectFit:"cover",layout:"fill"})]}),(0,d.jsx)("div",{className:"absolute z-30 flex items-center justify-center w-full h-full",children:(0,d.jsx)(Y.Z,{props:{text:t.title,hideBullet:!0,padding:"px-5 pt-4 pb-2.5",hover:r,setHover:a,large:!0,mouseEnter:c}})})]})})})},V=function(e){var t=e.props;return(0,d.jsx)(d.Fragment,{children:(0,d.jsx)("section",{className:"section--default pt-3/24 md:pt-4/24 pb-2/24",children:(0,d.jsxs)("div",{className:"grid grid-cols-24 gap-x-2.5",children:[(0,d.jsx)("div",{className:"col-start-4 col-end-23",children:(0,d.jsxs)("div",{className:"w-9/24 md:w-6/24 lg:w-5/24 js-reveal-parent",children:[(0,d.jsx)("span",{className:"block mb-4 text--label js-reveal-child",children:t.label}),(0,d.jsx)("h2",{className:"mb-6 heading heading--4 js-reveal-child",children:t.title})]})}),(0,d.jsx)("div",{className:"order-2 col-start-3 md:order-1 col-end-23 md:col-start-4 md:col-end-12 md:z-10",children:(0,d.jsx)(B,{props:t.leftCta,position:"transform md:translate-x-12 md:translate-y-20 -rotate-[10deg]"})}),(0,d.jsx)("div",{className:"z-10 order-1 col-start-3 pt-16 md:pt-0 col-end-23 md:col-start-13 md:col-end-21 md:z-0",children:(0,d.jsx)(B,{props:t.rightCta,position:"transform md:-translate-y-4 rotate-[10deg]"})})]})})})},A=function(e){var t=e.props,n=(0,F.J)(x.ZP,t.shape),s=(0,l.useRef)(),r=(0,l.useRef)(),i=(0,o.kx)((function(e){return e.windowSize})),c=(0,l.useState)(null),u=c[0],m=c[1];return(0,l.useEffect)((function(){var e=a.ZP.fromTo(s.current,{y:120},{y:-120,scrollTrigger:{trigger:r.current,start:"top bottom",end:"bottom top",scrub:!0}});m(e)}),[]),(0,l.useEffect)((function(){u&&u.scrollTrigger.refresh()}),[i]),(0,d.jsx)(d.Fragment,{children:(0,d.jsx)("section",{ref:r,className:"relative section--default pt-4/24 md:pt-2/24",children:(0,d.jsxs)("div",{className:"relative grid grid-cols-24 gap-x-2.5",children:[(0,d.jsxs)("div",{className:"z-50 col-start-3 col-end-23 md:col-start-4 md:col-end-12 md:pt-1/24 js-reveal-parent",children:[t.label&&(0,d.jsx)(d.Fragment,{children:(0,d.jsx)("span",{className:"block mb-4 text--label js-reveal-child",children:t.label})}),t.title&&(0,d.jsx)(d.Fragment,{children:(0,d.jsx)("h2",{className:"mb-6 heading heading--4 js-reveal-child",children:t.title})}),t.text&&(0,d.jsx)(d.Fragment,{children:(0,d.jsx)("div",{className:"wysiwyg js-reveal-child",children:(0,d.jsx)(S.YI,{value:t.text,components:{marks:{link:function(e){var t=e.value,n=e.children,s=((null===t||void 0===t?void 0:t.href)||"").startsWith("http")?"_blank":void 0;return(0,d.jsx)("a",{href:null===t||void 0===t?void 0:t.href,target:s,rel:"_blank"===s&&"noindex nofollow",children:n})}}}})})}),t.buttonToggle&&(0,d.jsx)(d.Fragment,{children:(0,d.jsx)("div",{className:"flex justify-start pt-10 js-reveal-child","data-href":t.button.href,children:(0,d.jsx)(k.Z,{href:t.button.href,title:t.button.title})})})]}),(0,d.jsx)("div",{className:"absolute inset-0 col-start-12 col-end-25",children:(0,d.jsx)("div",{ref:s,className:"absolute w-full h-full",children:t.shape&&(0,d.jsx)(L(),{src:n.src,width:n.width,loader:n.loader,height:n.height,objectFit:"cover",sizes:"(min-width: 800px) 50vw, 90vw",priority:"true",layout:"responsive"})})})]})})})},X=n(3984),H=function(e){var t=e.props,n=(0,l.useState)(""),s=n[0],r=n[1],a=(0,l.useState)(!1),i=a[0],c=a[1];return(0,d.jsx)("div",{onMouseEnter:function(){c(!0)},onMouseLeave:function(){c(!1)},className:"relative js-reveal-parent",children:(0,d.jsxs)("div",{className:"relative block js-reveal-child",children:[(0,d.jsx)("div",{className:"flex items-start py-5 pl-2/24 pr-2/24 md:pr-0/24 md:pl-3/24 md:items-center ".concat(i?"opacity-0":"opacity-100"),children:(0,d.jsxs)("div",{className:"flex justify-center pl-5 md:pl-0 md:flex-col",children:[(0,d.jsx)("div",{className:"relative w-5 h-4 transform translate-y-1 md:hidden md:w-12 md:h-8 text-tertiary md:translate-y-0",children:(0,d.jsx)(X.Z,{})}),(0,d.jsx)("p",{className:"pl-4 font-bold md:pl-0 !uppercase heading heading--3 text-primary",children:t.text})]})}),(0,d.jsx)("div",{className:"absolute inset-0 w-full h-full",children:(0,d.jsx)(Y.Z,{props:{text:t.text,viewText:t.hoverText,hideBullet:!0,padding:"pt-5 pb-4 py-4",hover:s,setHover:r,large:!1,feature:!0,link:!1,mouseEnter:i}})})]})})},U=function(e){var t=e.props;return(0,d.jsx)(d.Fragment,{children:(0,d.jsx)("section",{className:"relative section--default md:mt-1/24",children:(0,d.jsx)("div",{className:"grid grid-cols-24 gap-x-2.5",children:(0,d.jsxs)("div",{className:"col-start-1 col-end-25",children:[(0,d.jsx)("div",{className:"pl-3/24 pr-2/24 md:pr-0/24 md:pl-3/24 js-reveal-parent",children:t.label&&(0,d.jsx)("span",{className:"block text--label js-reveal-child",children:t.label})}),(0,d.jsx)("ul",{className:"flex flex-col pt-11  md:space-y-3.5",children:t.items.map((function(e,t){return(0,d.jsx)(H,{props:e},t)}))})]})})})})},G=function(e){var t=e.props,n=e.text,s=(0,l.useState)(""),r=s[0],a=s[1],i=(0,o.dX)((function(e){return e.setCursor})),c=(0,l.useState)(!1),u=c[0],m=c[1],f=(0,l.useState)({}),h=f[0],j=f[1];return(0,l.useEffect)((function(){t._ref&&x.ZP.fetch('*[_type == "job" && _id == "'.concat(t._ref,'"]{\n            title,\n            slug,\n          }')).then((function(e){j(e[0])}))}),[]),(0,d.jsx)(p(),{passHref:!0,href:h.slug?"/careers/".concat(h.slug.current):"",children:(0,d.jsx)("a",{onMouseEnter:function(){i("pointer"),m(!0)},onMouseLeave:function(){i("default"),m(!1)},className:"relative cursor-pointer js-reveal-parent",children:(0,d.jsxs)("div",{className:"relative block js-reveal-child",children:[(0,d.jsxs)("div",{className:"flex items-start py-5 pl-2/24 pr-2/24 md:pr-0/24 md:pl-3/24 md:items-center ".concat(u?"md:opacity-0":"opacity-100"),children:[(0,d.jsx)("div",{className:"relative w-5 h-4 transform translate-y-4 md:w-12 md:h-8 text-tertiary md:translate-y-0",children:(0,d.jsx)(X.Z,{})}),(0,d.jsxs)("div",{className:"flex flex-col pl-5",children:[(0,d.jsx)("p",{className:"font-bold !uppercase heading heading--3 text-primary",children:h.title}),(0,d.jsx)("div",{className:"inline-flex md:hidden pt-2.5",children:(0,d.jsx)(v,{title:n})})]})]}),(0,d.jsx)("div",{className:"absolute inset-0 hidden w-full h-full md:block",children:(0,d.jsx)(Y.Z,{props:{text:h.title,viewText:n,hideBullet:!0,padding:"px-5 py-4",hover:r,setHover:a,large:!1,feature:!0,link:!0,mouseEnter:u}})})]})})})},J=function(e){var t=e.props;return(0,d.jsx)(d.Fragment,{children:(0,d.jsx)("section",{className:"relative section--default pt-4/24 ",children:(0,d.jsx)("div",{className:"grid grid-cols-24 gap-x-2.5",children:(0,d.jsxs)("div",{className:"col-start-1 col-end-25",children:[(0,d.jsxs)("div",{className:"pl-2/24 pr-2/24 md:pr-0/24 md:pl-3/24 js-reveal-parent",children:[(0,d.jsx)("span",{className:"block mb-4 text--label js-reveal-child",children:t.label}),(0,d.jsx)("h2",{className:"block pt-1 heading heading--4 js-reveal-child",children:t.title})]}),(0,d.jsx)("ul",{className:"flex flex-col pt-11 space-y-3.5",children:t.items.map((function(e,n){return(0,d.jsx)(G,{props:e,text:t.anchorText},n)}))})]})})})})},q=function(e){var t,n,s=e.props;n=s.padding?"pb-5/24 md:pb-3/24":"pb-0","middle"===s.align?t="md:col-start-8 md:col-end-19":"left"===s.align&&(t="md:col-start-4 md:col-end-11");var r=(0,l.useState)(null),a=r[0],i=r[1];return(0,l.useEffect)((function(){s.anchorToggle&&x.ZP.fetch('*[_type == "page" && _id == "'.concat(s.anchor.href._ref,'"]{\n            slug,\n          }')).then((function(e){i("/".concat(e[0].slug.current))}))})),(0,d.jsx)(d.Fragment,{children:(0,d.jsx)("section",{className:"pt-4/24 md:pt-2/24 ".concat(n),children:(0,d.jsx)("div",{className:"grid grid-cols-24 gap-x-2.5 js-reveal-parent",children:(0,d.jsxs)("div",{className:"col-start-3 col-end-23 ".concat(t),children:[s.label&&(0,d.jsx)(d.Fragment,{children:(0,d.jsx)("span",{className:"block mb-4 text--label js-reveal-child",children:s.label})}),s.title&&(0,d.jsx)(d.Fragment,{children:(0,d.jsx)("h2",{className:"mb-6 heading heading--4 js-reveal-child",children:s.title})}),s.text&&(0,d.jsx)(d.Fragment,{children:(0,d.jsx)("div",{className:"wysiwyg js-reveal-child",children:(0,d.jsx)(S.YI,{value:s.text,components:{marks:{link:function(e){var t=e.value,n=e.children,s=((null===t||void 0===t?void 0:t.href)||"").startsWith("http")?"_blank":void 0;return(0,d.jsx)("a",{href:null===t||void 0===t?void 0:t.href,target:s,rel:"_blank"===s&&"noindex nofollow",children:n})}}}})})}),s.anchorToggle&&(0,d.jsx)(d.Fragment,{children:(0,d.jsx)("div",{className:"flex justify-start pt-6 js-reveal-child",children:(0,d.jsx)(v,{href:a,title:s.anch
1or.title})})})]})})})})},Q=n(9995),K=function(e){var t=e.props,n=(0,l.useState)("Read more"),s=n[0],r=n[1],a=(0,l.useState)(!1),i=a[0],c=a[1],o=(0,l.useState)({}),u=o[0],m=o[1];return(0,l.useEffect)((function(){t._ref&&x.ZP.fetch('*[_type == "caseSingle" && _id == "'.concat(t._ref,'"]{\n      title,\n      intro,\n      text,\n      visualProps\n    }')).then((function(e){m(e[0])}))}),[]),(0,d.jsxs)("div",{className:"w-full case",children:[u.visualProps&&(0,d.jsx)(Q.Z,{props:u.visualProps}),(0,d.jsxs)("div",{className:"flex flex-col w-full md:flex-row pt-15",children:[(0,d.jsx)("div",{className:"w-16/24 md:w-6/24",children:u.title&&(0,d.jsx)("h2",{className:"heading heading--4",children:u.title})}),(0,d.jsxs)("div",{className:"pt-5 md:pl-8 md:pt-0",children:[(0,d.jsx)("div",{className:"w-19/24 md:w-6/24",children:(0,d.jsx)("div",{className:"wysiwyg",children:u.intro&&(0,d.jsx)(S.YI,{value:u.intro,components:{marks:{link:function(e){var t=e.value,n=e.children,s=((null===t||void 0===t?void 0:t.href)||"").startsWith("http")?"_blank":void 0;return(0,d.jsx)("a",{href:null===t||void 0===t?void 0:t.href,target:s,rel:"_blank"===s&&"noindex nofollow",children:n})}}}})})}),i&&(0,d.jsx)("div",{className:"w-19/24 md:w-15/24",children:(0,d.jsx)("div",{className:"wysiwyg md:columns-2 gap-1/24 pt-11",children:u.text&&(0,d.jsx)(S.YI,{value:u.text,components:{marks:{code:function(e){e.children;return(0,d.jsx)("br",{})},link:function(e){var t=e.value,n=e.children,s=((null===t||void 0===t?void 0:t.href)||"").startsWith("http")?"_blank":void 0;return(0,d.jsx)("a",{href:null===t||void 0===t?void 0:t.href,target:s,rel:"_blank"===s&&"noindex nofollow",children:n})}}}})})}),(0,d.jsx)("div",{onClick:function(){c(!i),r(i?"Read more":"Read less")},className:"inline-block pt-5",children:(0,d.jsx)(v,{title:s,href:""})})]})]})]})},$=function(e){var t=e.props;return(0,d.jsx)(d.Fragment,{children:(0,d.jsx)("section",{className:"pt-4/24 md:pt-2/24 pb-4/24 md:pb-2/24",children:(0,d.jsxs)("div",{className:"grid grid-cols-24 gap-x-2.5",children:[(0,d.jsxs)("div",{className:"col-start-3 col-end-23 md:col-start-4 md:col-end-14 lg:col-end-11",children:[t.label&&(0,d.jsx)("span",{className:"block mb-4 text--label",children:t.label}),t.title&&(0,d.jsx)("h2",{className:"mb-6 heading heading--4",children:t.title})]}),(0,d.jsx)("div",{className:"col-start-3 col-end-23 md:col-start-2 md:col-end-24",children:(0,d.jsx)("ul",{className:"flex flex-col pt-10 md:pt-16 space-y-3/24",children:t.cases.map((function(e,t){return(0,d.jsx)(K,{props:e},t)}))})})]})})})};function ee(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(e);t&&(s=s.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,s)}return n}function te(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?ee(Object(n),!0).forEach((function(t){(0,m.Z)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ee(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var ne=function(e){var t,n=e.image,s=e.imageRatio,r=e.showContent,a=e.setCursor,i=e.thisZIndex,c=e.globalZIndex,o=(0,l.useRef)(null),u=(0,x.t3)(x.ZP);return(0,d.jsx)("div",{onMouseEnter:function(){i<c&&a("bring up")},onClick:function(){return a("")},ref:o,className:"flex relative w-full bg-secondary ".concat(null!==s&&void 0!==s?s:"pb-[110%]"," ").concat(r?"":" opacity-0 pointer-events-none"),children:(0,d.jsx)(L(),{onLoadingComplete:function(){o.current.classList.remove("bg-secondary")},src:(t=n.asset,u.image(t)).url(),lazyBoundary:"800px",objectFit:"cover",layout:"fill",sizes:"(min-width: 800px) 20vw, 90vw"})})},se=function(e){var t=e.props,n=e.index,s=e.imageRatio,r=e.offsets,i=e.type,c=(0,l.useState)({x:0,y:0}),u=c[0],m=u.x,h=u.y,p=c[1],j=(0,l.useState)({offsetX:0,offsetY:0}),g=j[0],b=g.offsetX,w=g.offsetY,y=j[1],N=(0,l.useState)(!0),k=N[0],S=N[1],E=(0,o.Q3)((function(e){return e.globalZIndex})),Z=(0,o.Q3)((function(e){return e.updateGlobalZIndex})),P=(0,o.dX)((function(e){return e.setCursor})),L=(0,l.useState)(E-n),F=L[0],O=L[1],R=(0,l.useState)({}),_=R[0],C=R[1],T=(0,l.useRef)(),z=(0,l.useRef)(),M=(0,l.useRef)();(0,l.useEffect)((function(){t._ref&&x.ZP.fetch("*[_type == '".concat(i,"' && _id == \"").concat(t._ref,'"]{\n            name,\n            image,\n            contentToggle,\n            content\n          }')).then((function(e){C(e[0])})),a.ZP.set(T.current,{transformOrigin:"top center"}),O("member"===i&&window.innerWidth<800?E+n:E-n)}),[]),(0,l.useEffect)((function(){r&&y((function(){return{offsetX:r.x,offsetY:r.y}}))}),[r]),(0,l.useEffect)((function(){(window.innerWidth>800||"story"!==i)&&a.ZP.set(T.current,{x:m+b,y:h+w})}));var W=function(){z.current.classList.contains("bg-background")&&(z.current.classList.remove("bg-background","text-tertiary"),z.current.classList.add("bg-secondary","text-white"),M.current&&M.current.classList.add("bg-secondary","text-white"))},D=function(){z.current.classList.contains("bg-secondary")&&(z.current.classList.remove("bg-secondary","text-white"),z.current.classList.add("bg-background","text-tertiary"),M.current&&M.current.classList.remove("bg-secondary","text-white"))},I=(0,f.useGesture)({onDragStart:function(){P("closed"),document.querySelector("body").classList.add("select-none"),a.ZP.set(T.current,{x:m,y:h}),a.ZP.to(T.current,{duration:.2,scale:1.1,ease:"elastic.out"})},onDragEnd:function(){P("open"),document.querySelector("body").classList.remove("select-none"),a.ZP.set(T.current,{x:m,y:h}),a.ZP.to(T.current,{duration:.2,scale:1,ease:"elastic.out"})},onDrag:function(e){z.current.classList.contains("bg-background")&&(z.current.classList.remove("bg-background","text-tertiary"),z.current.classList.add("bg-secondary","text-white")),p((function(){return{x:e.offset[0],y:e.offset[1]}}))}});return(0,d.jsxs)("div",{ref:T,onMouseDown:function(){W(),Z(E+1),O(E+1)},onMouseLeave:function(){P("default"),D()},className:"".concat("story"===i?"relative -sm:py-2 -md:px-4 -md:py-4 md:absolute md:cursor-pointer md:top-0 md:left-0 md:will-change-transform":"absolute cursor-pointer top-0 left-0 will-change-transform"," ").concat(k?""
1:" pointer-events-none"," js-content-window-listing"),style:{zIndex:F,width:"".concat(t.width,"px")},children:[(0,d.jsxs)("div",{ref:z,onMouseEnter:W,onMouseLeave:D,className:"flex items-stretch justify-between text-xs font-extrabold uppercase pointer-events-auto text-tertiary bg-background font-display",children:[(0,d.jsx)("span",{onClick:function(){P(k?"show":"hide"),S(!k)},onMouseEnter:function(){P(k?"hide":"show")},className:"block px-5 py-3 cursor-pointer",children:k?"-":"+"}),(0,d.jsx)("span",te(te({},I()),{},{onMouseEnter:function(){P("open")},className:"block w-full px-5 py-3 text-right select-none flex-grow-1 cursor-[grab] touch-none",children:_.name}))]}),_.image&&(0,d.jsx)(ne,{image:_.image,setCursor:P,imageRatio:s,showContent:k,thisZIndex:F,globalZIndex:E}),_.contentToggle&&(0,d.jsxs)("div",{ref:M,className:"".concat(k?"":"hidden "," bg-background ").concat("perk"===i?"p-4 md:px-8 md:pb-8 md:pt-7":"py-10 px-8 md:px-8 md:pb-8 md:pt-7"),onMouseUp:function(){D()},onMouseLeave:function(){D()},children:[_.content.title&&(0,d.jsx)("div",{className:"text-xs font-bold uppercase font-display",children:_.content.title}),_.content.text&&(0,d.jsx)("p",{className:"pt-1",children:_.content.text}),_.content.anchorToggle&&(0,d.jsx)("div",{className:"flex justify-start pt-3",children:(0,d.jsx)(v,{title:_.content.anchor.title,href:_.content.anchor.href,stories:!0})})]})]})},re=function(e){var t=e.props,n=(0,l.useRef)(null),s=(0,l.useState)(0),r=s[0],a=s[1],i=(0,l.useState)(),c=i[0],o=i[1],u=(0,l.useState)(0),m=u[0],f=u[1],h=(0,l.useState)(0),p=h[0],x=h[1],v=(0,l.useState)(0),j=v[0],g=v[1],b=(0,l.useState)(0),w=b[0],y=b[1],N=(0,l.useState)(t.members),k=N[0],S=N[1],E={small:2,large:3},Z={small:260,large:400},P={small:240,large:160};(0,l.useEffect)((function(){g((function(){return(w-m)/c}))}),[w]),(0,l.useEffect)((function(){var e=1,n=0,s=[];t.members.map((function(t,r){r%c===0&&0!==r&&(e*=-1);var l={x:n*j,y:p*r};n+=e,t.offsets=l,t.width=m,s.push(t)})),S(s)}),[j]),(0,l.useEffect)((function(){a(n.current.lastChild.getBoundingClientRect().height+p*(k.length-1))}),[k]),(0,l.useEffect)((function(){return window.addEventListener("resize",L),setTimeout((function(){L()}),500),function(){return window.removeEventListener("resize",L)}}),[]);var L=function(){o((function(){return window.innerWidth<800?E.small:E.large})),f((function(){return window.innerWidth<800?Z.small:Z.large})),x((function(){return window.innerWidth<800?P.small:P.large})),y((function(){return n.current.getBoundingClientRect().width}))};return(0,d.jsx)("section",{className:"section--default",children:(0,d.jsxs)("div",{className:"grid grid-cols-24",children:[(0,d.jsxs)("div",{className:"mb-6 col-start-3 col-end-23 -md:pr-2/24 md:mb-12 md:col-start-4",children:[t.label&&(0,d.jsx)("span",{className:"block mb-4 text text--label",children:t.label}),t.title&&(0,d.jsx)("h2",{className:"heading heading--1",children:t.title})]}),(0,d.jsx)("div",{className:"col-start-1 col-end-25 md:col-start-3 md:col-end-23",children:(0,d.jsx)("div",{ref:n,className:"relative w-full",style:{height:"".concat(r,"px")},children:k.length&&k.map((function(e,t){return(0,d.jsx)(se,{index:t,type:"member",props:e,offsets:e.offsets},t)}))})})]})})},le=function(e){var t=e.props,n=(0,l.useRef)(null),s=(0,l.useState)(0),r=s[0],a=s[1],i=(0,l.useState)(),c=i[0],o=i[1],u=(0,l.useState)(0),m=u[0],f=u[1],h=(0,l.useState)(0),p=h[0],x=h[1],v=(0,l.useState)(0),j=v[0],g=v[1],b=(0,l.useState)(0),w=b[0],y=b[1],N=(0,l.useState)(t.perks),k=N[0],S=N[1],E={small:2,large:3},Z={small:260,large:400},P={small:200,large:160};(0,l.useEffect)((function(){g((function(){return(w-m)/c}))}),[w]),(0,l.useEffect)((function(){var e=1,s=0,r=[];t.perks.map((function(t,n){n%c===0&&0!==n&&(e*=-1);var l={x:s*j,y:p*n};s+=e,t.offsets=l,t.width=m,r.push(t)})),S(r),a(n.current.lastChild.getBoundingClientRect().height+p*(t.perks.length-1))}),[j]),(0,l.useEffect)((function(){return window.addEventListener("resize",L),setTimeout((function(){L()}),500),function(){return window.removeEventListener("resize",L)}}),[]);var L=function(){o((function(){return window.innerWidth<800?E.small:E.large})),f((function(){return window.innerWidth<800?Z.small:Z.large})),x((function(){return window.innerWidth<800?P.small:P.large})),y((function(){return n.current.getBoundingClientRect().width}))};return(0,d.jsx)("section",{className:"section--default",children:(0,d.jsxs)("div",{className:"grid grid-cols-24",children:[(0,d.jsxs)("div",{className:"mb-6 col-start-3 col-end-23 -md:pr-2/24 md:mb-12 md:col-start-4",children:[t.label&&(0,d.jsx)("span",{className:"block mb-4 text text--label",children:t.label}),t.title&&(0,d.jsx)("h2",{className:"heading heading--1",dangerouslySetInnerHTML:{__html:t.title}}
1)]}),(0,d.jsx)("div",{className:"col-start-1 col-end-25 md:col-start-3 md:col-end-23",children:(0,d.jsx)("div",{ref:n,className:"relative w-full",style:{height:"".concat(r,"px")},children:k.length&&k.map((function(e,t){return(0,d.jsx)(se,{index:t,props:e,type:"perk",offsets:e.offsets,imageRatio:"pb-[80%]"},t)}))})})]})})},ae=function(e){var t,n=e.props,s=(0,F.J)(x.ZP,n.shape),r=(0,l.useRef)(),i=(0,o.kx)((function(e){return e.windowSize})),c=(0,l.useState)(null),u=c[0],m=c[1];return t="right"==n.align?"col-start-11 col-end-25":"col-start-1 col-end-15",(0,l.useEffect)((function(){var e=a.ZP.fromTo(r.current,{y:120},{y:-120,scrollTrigger:{trigger:r.current,start:"top bottom",end:"bottom top",scrub:!0}});m(e)}),[]),(0,l.useEffect)((function(){u&&u.scrollTrigger.refresh()}),[i]),(0,d.jsx)(d.Fragment,{children:(0,d.jsx)("section",{className:"pt-2/24",children:(0,d.jsx)("div",{className:"grid grid-cols-24 gap-x-2.5",children:(0,d.jsx)("div",{className:"".concat(t),children:(0,d.jsx)("div",{ref:r,className:"relative w-full h-full",children:n.shape&&(0,d.jsx)(L(),{src:s.src,loader:s.loader,width:s.width,height:s.height,objectFit:"cover",lazyBoundary:"800px",sizes:"(min-width: 800px) 35vw, 80vw",layout:"responsive"})})})})})})},ie=function(e){var t=e.props;return(0,d.jsx)(d.Fragment,{children:(0,d.jsx)("div",{className:"px-4 py-2 bg-secondary",children:(0,d.jsx)("ul",{className:"flex flex-wrap justify-center md:flex-nowrap md:justify-start space-x-2.5",children:t.map((function(e,t){return(0,d.jsxs)("li",{className:"flex items-center",children:[0!==t&&(0,d.jsx)("div",{className:"bg-white rounded-full h-0.5 w-0.5"}),0!==t&&(0,d.jsx)("p",{className:"text-xs font-bold text-white uppercase font-display md:text-sm pl-2.5",children:e}),0===t&&(0,d.jsx)("p",{className:"text-xs font-bold text-white uppercase font-display md:text-sm",children:e})]},t)}))})})})},ce=function(e){var t,n=e.props;t=n.imageToggle?"pt-2/24 md:pt-1/24":"pt-8/24 md:pt-4/24";var s=(0,F.J)(x.ZP,n.image),r=(0,l.useRef)();return(0,d.jsx)(d.Fragment,{children:(0,d.jsx)("section",{className:"".concat(t," md:pb-2/24"),children:(0,d.jsxs)("div",{className:"grid grid-cols-24 gap-x-2.5",children:[n.imageToggle&&(0,d.jsx)("div",{className:"mt-24 pb-2/24 col-start-2 col-end-24 md:col-start-3 md:col-end-23 md:pb-16 md:mt-[2.0833335vw]",children:(0,d.jsx)("div",{ref:r,className:"relative w-full pb-[55%] bg-secondary",children:(0,d.jsx)(L(),{onLoadingComplete:function(){r.current.classList.remove("bg-secondary")},loader:s.loader,src:s.src,objectFit:"cover",priority:!0,layout:"fill"})})}),n.list&&(0,d.jsx)("div",{className:"col-start-5 col-end-21 md:col-start-4 md:col-end-22",children:(0,d.jsx)("div",{className:"flex justify-center",children:(0,d.jsx)(ie,{props:n.list})})}),n.title&&(0,d.jsx)("div",{className:"col-start-3 col-end-23 md:col-start-5 md:col-end-21",children:(0,d.jsx)("div",{className:"pt-9 md:pt-14",children:(0,d.jsx)("h1",{className:"font-bold text-center heading heading--2",children:n.title})})}),n.text&&(0,d.jsxs)("div",{className:"col-start-3 col-end-23 md:col-start-8 md:col-end-18",children:[(0,d.jsx)("div",{className:"pt-24 wysiwyg",children:(0,d.jsx)(S.YI,{value:n.text,components:{marks:{link:function(e){var t=e.value,n=e.children,s=((null===t||void 0===t?void 0:t.href)||"").startsWith("http")?"_blank":void 0;return(0,d.jsx)("a",{href:null===t||void 0===t?void 0:t.href,target:s,rel:"_blank"===s&&"noindex nofollow",children:n})}}}})}),n.buttonToggle&&(0,d.jsx)(k.Z,{classes:"mt-8 md:mt-9",title:n.button.title,href:n.button.href,form:n.button.formLink})]})]})})})},oe=n(29),de=n(7794),ue=n.n(de);function me(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(e);t&&(s=s.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,s)}return n}function fe(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?me(Object(n),!0).forEach((function(t){(0,m.Z)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):me(Object(n)).forEac
1h((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var he,pe,xe,ve,je,ge={},be={},we=!0,ye=function(e){var t=e.props,n=(0,l.useState)(""),s=n[0],r=n[1],a=(0,l.useState)(""),i=a[0],c=a[1],o=(0,l.useState)(""),u=o[0],m=o[1],f=(0,l.useState)(""),h=f[0],p=f[1],x=(0,l.useState)(void 0),v=x[0],j=x[1],g=(0,l.useState)(void 0),b=g[0],y=g[1],N=(0,l.useState)(""),E=N[0],Z=N[1],P=(0,l.useState)({}),L=P[0],F=P[1],O=(0,l.useState)({}),R=O[0],_=O[1],C=(0,l.useRef)(),T=function(){var e=(0,oe.Z)(ue().mark((function e(t,n){var s,r,l=arguments;return ue().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:s=l.length>2&&void 0!==l[2]&&l[2],(r=new FileReader).readAsDataURL(n),r.onload=function(){"cv"==t?he=r.result.split(",")[1]:"motivation"==t&&(pe=r.result.split(",")[1]),s&&z()};case 4:case"end":return e.stop()}}),e)})));return function(t,n){return e.apply(this,arguments)}}(),z=function(){var e=(0,oe.Z)(ue().mark((function e(){var n,l,a,o,d,f;return ue().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(n=v?v.name:"empty",l=b?b.name:"empty",a=pe||"",o=he||"",!xe){e.next=24;break}return e.next=7,fetch("/api/sendgrid",{body:JSON.stringify({role:t.role,email:u,firstname:s,lastname:i,phone:h,cv:n,cvAttachment:o,motivation:l,motivationAttachment:a,linkedin:E}),headers:{"Content-Type":"application/json"},method:"POST"});case 7:return d=e.sent,e.next=10,d.json();case 10:if(f=e.sent,!f.error){e.next=14;break}return e.abrupt("return");case 14:C.current.classList.remove("hidden"),r(""),c(""),m(""),p(""),j(void 0),y(void 0),Z(""),_({}),F({});case 24:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}(),M=function(){return we=!0,s.length<=0?(ge.firstname=!0,be.firstname=!1,we=!1):(be.firstname=!0,ge.firstname=!1),i.length<=0?(ge.lastname=!0,be.lastname=!1,we=!1):(be.lastname=!0,ge.lastname=!1),u.length<=0?(ge.email=!0,be.email=!1,we=!1):(be.email=!0,ge.email=!1),void 0==v?(j(void 0),be.cv=!0,ge.cv=!1):"application/pdf"!=v.type?(ge.cv=!0,be.cv=!1,we=!1,j(void 0)):(be.cv=!0,ge.cv=!1),void 0==b?(y(void 0),be.motivation=!0,ge.motivation=!1):"application/pdf"!=b.type?(ge.motivation=!0,be.motivation=!1,we=!1,y(void 0)):(be.motivation=!0,ge.motivation=!1),F(fe({},ge)),_(fe({},be)),we};return(0,d.jsx)(d.Fragment,{children:(0,d.jsx)("section",{className:"pt-4/24 md:pt-2/24 pb-4/24 md:pb-2/24 apply-form",children:(0,d.jsxs)("div",{className:"grid grid-cols-24 gap-x-2.5",children:[(0,d.jsx)("div",{className:"col-start-3 col-end-23 md:col-start-5 md:col-end-11 lg:col-end-9",children:(0,d.jsx)("div",{className:"flex flex-col md:flex-row",children:(0,d.jsxs)("div",{className:"w-full",children:[(0,d.jsx)("span",{className:"block mb-4 text--label",children:t.label}),(0,d.jsx)("h2",{className:"heading heading--4",children:t.title})]})})}),(0,d.jsxs)("div",{className:"col-start-3 col-end-23 md:col-start-11 md:col-end-21 lg:col-start-9 lg:col-end-17",children:[(0,d.jsx)("div",{className:"w-full mt-8 md:w-4/5 wysiwyg",children:(0,d.jsx)(S.YI,{value:t.text,components:{marks:{link:function(e){var t=e.value,n=e.children,s=((null===t||void 0===t?void 0:t.href)||"").startsWith("http")?"_blank":void 0;return(0,d.jsx)("a",{href:null===t||void 0===t?void 0:t.href,target:s,rel:"_blank"===s&&"noindex nofollow",children:n})}}}})}),(0,d.jsxs)("div",{className:"pt-18",children:[(0,d.jsx)("h3",{className:"font-black uppercase font-display text-[22px] md:w-4/5 leading-6",children:t.role}),(0,d.jsxs)("form",{onSubmit:function(e){e.preventDefault(),xe=M(),v&&b?(T("motivation",b),T("cv",v,!0)):!v&&b?T("motivation",b,!0):v&&!b?T("cv",v,!0):z()},className:"relative flex flex-col",children:[(0,d.jsxs)("div",{className:"flex flex-col w-full pt-8 md:flex-row",children:[(0,d.jsxs)("div",{className:"flex flex-col w-full md:pr-2",children:[(0,d.jsxs)("label",{htmlFor:"firstname",className:"pb-2 text-sm font-black uppercase font-display",children:["First name* ",(null===L||void 0===L?void 0:L.firstname)&&(0,d.jsx)("p",{className:"text-xs mt-0.5 font-body text-secondary",children:"First cannot be empty."}),(null===R||void 0===R?void 0:R.firstname)&&(0,d.jsx)("p",{className:"text-xs mt-0.5 font-body text-tertiary",children:"Valid"})]}),(0,d.jsx)("input",{type:"text",value:s,onChange:function(e){r(e.target.value)},name:"firstname",className:"pl-4 bg-transparent border py-[10px] md:py-3 focus:outline-none"})]}),(0,d.jsxs)("div",{className:"flex flex-col w-full pt-8 md:pt-0 md:pl-2",children:[(0,d.jsxs)("label",{htmlFor:"lastname",className:"pb-2 text-sm font-black uppercase font-display",children:["Last name* ",(null===L||void 0===L?void 0:L.lastname)&&(0,d.jsx)("p",{className:"text-xs mt-0.5 font-body text-secondary",children:"Last name cannot be empty."}),(null===R||void 0===R?void 0:R.lastname)&&(0,d.jsx)("p",{className:"text-xs mt-0.5 font-body text-tertiary",children:"Valid"})]}),(0,d.jsx)("input",{type:"text",value:i,onChange:function(e){c(e.target.value)},name:"lastname",className:"pl-4 bg-transparent border py-[10px] md:py-3 focus:outline-none"})]})]}),(0,d.jsxs)("div",{className:"flex flex-col w-full pt-6 md:flex-row",children:[(0,d.jsxs)("div",{className:"flex flex-col w-full md:pr-2",children:[(0,d.jsxs)("label",{htmlFor:"email",className:"pb-2 text-sm font-black uppercase font-display",children:["E-mail* ",(null===L||void 0===L?void 0:L.email)&&(0,d.jsx)("p",{className:"text-xs mt-0.5 text-secondary font-body",children:"E-mail cannot be empty."}),(null===R||void 0===R?void 0:R.email)&&(0,d.jsx)("p",{className:"text-xs mt-0.5 font-body text-tertiary",children:"Valid"})]}),(0,d.jsx)("input",{type:"email",value:u,onChange:function(e){m(e.target.value)},name:"email",className:"pl-4 bg-transparent border py-[10px] md:py-3 focus:outline-none"})]}),(0,d.jsxs)("div",{className:"flex flex-col w-full pt-8 md:pt-0 md:pl-2",children:[(0,d.jsxs)("label",{htmlFor:"phone",className:"pb-2 text-sm font-black uppercase font-display",children:["Phone ",(null===L||void 0===L?void 0:L.phone)&&(0,d.jsx)("p",{className:"text-xs mt-0.5 text-secondary font-body",children:"Phone cannot be empty."})," ",(null===R||void 0===R?void 0:R.phone)&&(0,d.jsx)("p",{className:"text-xs mt-0.5 font-body text-tertiary",children:"Valid"})]}),(0,d.jsx)("input",{type:"tel",value:h,onChange:function(e){p(e.target.value)},name:"phone",className:"pl-4 bg-transparent border py-[10px] md:py-3 focus:outline-none"})]})]}),(0,d.jsxs)("div",{className:"flex items-center pt-8",children:[(0,d.jsxs)("div",{className:"flex flex-col w-full",children:[(0,d.jsxs)("label",{htmlFor:"cv",className:"pb-2 text-sm font-black uppercase font-display",children:["Curriculum vitae ",(null===L||void 0===L?void 0:L.cv)&&(0,d.jsx)("p",{className:"text-xs mt-0.5 text-secondary font-body",children:"Please upload a PDF"})," ",(null===R||void 0===R?void 0:R.cv)&&(0,d.jsx)("p",{className:"text-xs mt-0.5 font-body text-tertiary",children:"Valid"})]}),(0,d.jsx)("div",{className:"pl-4 bg-transparent border border-solid py-[10px] md:py-3 border-primary focus:outline-none text-tertiary",children:void 0===v?".pdf":v.name})]}),(0,d.jsxs)("div",{className:"relative pt-7 ".concat((null===L||void 0===L?void 0:L.cv)&&"pt-[46px] 4xl:pt-[74px]"," ").concat((null===R||void 0===R?void 0:R.cv)&&"pt-[46px] 4xl:pt-[74px]"),children:[(0,d.jsx)(k.Z,{title:"upload"}),(0,d.jsx)("input",{type:"file",onChange:function(e){j(e.target.files[0])},name:"cv",className:"absolute inset-0 z-50 w-full h-full opacity-0 cursor-pointer"})]})]}),(0,d.jsxs)("div",{className:"flex items-center pt-8",children:[(0,d.jsxs)("div",{className:"flex flex-col w-full",children:[(0,d.jsxs)("label",{htmlFor:"motivation",className:"pb-2 text-sm font-black uppercase font-display",children:["Motivation ",(null===L||void 0===L?void 0:L.motivation)&&(0,d.jsx)("p",{className:"text-xs mt-0.5 text-secondary font-body",children:"Please upload a PDF"})," ",(null===R||void 0===R?void 0:R.motivation)&&(0,d.jsx)("p",{className:"text-xs mt-0.5 font-body text-tertiary",children:"Valid"})]}),(0,d.jsx)("div",{className:"pl-4 bg-transparent border border-solid py-[10px] md:py-3 border-primary focus:outline-none text-tertiary",children:void 0===b?".pdf":b.name})]}),(0,d.jsxs)("div",{className:"relative pt-7 ".concat((null===L||void 0===L?void 0:L.motivation)&&"pt-[46px] 4xl:pt-[74px]"," ").concat((null===R||void 0===R?void 0:R.motivation)&&"pt-[46px] 4xl:pt-[74px]"),children:[(0,d.jsx)(k.Z,{title:"upload"}),(0,d.jsx)("input",{type:"file",onChange:function(e){y(e.target.files[0])},name:"motivation",className:"absolute inset-0 z-50 w-full h-full opacity-0 cursor-pointer"})]})]}),(0,d.jsxs)("div",{className:"flex flex-col w-full pt-8",children:[(0,d.jsxs)("label",{htmlFor:"linkedin",className:"pb-2 text-sm font-black uppercase font-display",children:["LinkedIn url (optional)"," ",(null===L||void 0===L?void 0:L.linkedin)&&(0,d.jsx)("p",{className:"text-xs mt-0.5 text-secondary font-body",children:"LinkedIn url cannot be empty."})," ",(null===R||void 0===R?void 0:R.linkedin)&&(0,d.jsx)("p",{className:"text-xs mt-0.5 font-body text-tertiary",children:"Valid"})]}),(0,d.jsx)("input",{type:"text",value:E,onChange:function(e){Z(e.target.value)},name:"linkedin",className:"pl-4 bg-transparent border py-[10px] md:py-3 focus:outline-none"})]}),(0,d.jsx)("div",{ref:C,className:"absolute z-50 flex justify-center hidden pl-9/24 md:pl-3/24",children:(0,d.jsx)(w,{props:t.window},t.window.id)}),(0,d.jsx)("div",{className:"flex flex-row items-center justify-start pt-8",children:(0,d.jsx)(k.Z,{title:"Submit Application",type:"submit"})})]})]})]})]})})})},Ne=function(e){var t=e.props,n=e.classes;return n=t.padding?"py-3/24 md:py-2/24":"py-2/24 md:py-0",(0,d.jsx)(d.Fragment,{children:(0,d.jsx)("section",{className:"".concat(n),children:(0,d.jsx)("div",{className:"grid grid-cols-24 gap-x-2.5",children:(0,d.jsx)("div",{className:"col-start-2 col-end-24",children:(0,d.jsx)(Q.Z,{props:t.props})})})})})},ke=function(e){var t=e.props,n=(0,l.useRef)(null),s=(0,l.useState)(0),r=s[0],a=s[1],i=(0,l.useState)(),c=i[0],o=i[1],u=(0,l.useState)(0),m=u[0],f=u[1],h=(0,l.useState)(0),p=h[0],x=h[1],v=(0,l.useState)(0),j=v[0],g=v[1],b=(0,l.useState)(0),w=b[0],y=b[1],N=(0,l.useState)(0),k=N[0],S=N[1],E=(0,l.useState)(t.stories),Z=E[0],P=E[1];(0,l.useEffect)((function(){y((function(){return(k-m)/c})),g((function(){return document.querySelector(".js-content-window-listing").getBoundingClientRect().height}))})),(0,l.useEffect)((function(){var e=[];t.stories.map((function(t,n){var s={x:n%(c+1)*w,y:p*n};t.offsets=s,t.width=m,e.push(t)})),P(e);var n=window.innerWidth<800?"auto":p*(t.stories.length-1)+j;a(n)}),[w,j]),(0,l.useEffect)((function(){return window.addEventListener("resize",L),setTimeout((function(){L()}),500),function(){return window.removeEventListener("resize",L)}}),[]);var L=function(){o((function(){return window.innerWidth<600?1:window.innerWidth<1e3?2:3})),f((function(){return window.innerWidth<600?window.innerWidth:window.innerWidth<800?.5*window.innerWidth:window.innerWidth<1e3?.33*window.innerWidth:400/1440*window.innerWidth})),x((function(){return 240/1440*window.innerWidth})),S((function(){return n.current.getBoundingClientRect().width}))};return(0,d.jsx)("section",{className:"section--default",children:(0,d.jsxs)("div",{className:"grid grid-cols-24",children:[(0,d.jsxs)("div",{className:"col-start-3 mb-6 col-end-23 -md:pr-2/24 md:mb-12 md:col-start-4",children:[t.label&&(0,d.jsx)("span",{className:"block mb-4 text text--label",children:t.label}),t.title&&(0,d.jsx)("h2",{className:"heading heading--1",children:t.title})]}),(0,d.jsx)("div",{className:"col-start-1 col-end-25",children:(0,d.jsx)("div",{ref:n,className:"relative w-full -md:flex -md:flex-wrap",style:{height:"auto"==r?"auto":"".concat(r,"px")},children:Z.length&&Z.map((function(e,t){return(0,d.jsx)(se,{index:t,props:e,offsets:e.offsets,type:"story",imageRatio:"pb-[80%]"},t)}))})})]})})};function Se(){return Se=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var s in n)Object.prototype.hasOwnProperty.call(n,s)&&(e[s]=n[s])}return e},Se.apply(this,arguments)}var Ee,Ze=function(e){return l.createElement("svg",Se({viewBox:"0 0 51 51",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),ve||(ve=l.createElement("circle",{cx:25.5,cy:25.5,r:25.5,fill:"#4F26E8"})),je||(je=l.createElement("path",{d:"M20.464 30.572c2.16 0 2.808-1.08 2.808-3.024 0-2.016-.864-2.916-2.844-2.916-.036-2.376.684-3.384 2.484-3.384V18.8c-4.068 0-5.832 2.088-5.832 6.984 0 2.376.324 4.788 3.384 4.788Zm8.316 0c2.124 0 2.808-1.08 2.808-3.024 0-2.016-.9-2.916-2.88-2.916 0-2.376.72-3.384 2.484-3.384l.036-2.448c-4.068 0-5.832 2.088-5.832 6.984 0 2.376.324 4.788 3.384 4.788Z",fill:"#F3E4D8"})))},Pe=function(e){var t=e.props;return(0,d.jsx)(d.Fragment,{children:(0,d.jsx)("section",{className:"pt-4/24 md:pt-3/24",children:(0,d.jsx)("div",{className:"grid grid-cols-24 gap-x-2.5",children:(0,d.jsx)("div",{className:"col-start-3 col-end-20 md:col-start-6 md:col-end-24 lg:col-start-8 lg:col-end-22",children:(0,d.jsxs)("div",{className:"flex flex-col-reverse md:flex-row",children:[(0,d.jsxs)("span",{className:"block w-3/4 pl-12 mb-4 font-bold uppercase pt-2.5 md:text-right md:w-6/24 lg:w-4/24 heading heading--6 text-secondary transform md:translate-y-1 md:pt-0 md:pl-0",children:[t.person,", ",t.role]}),(0,d.jsxs)("div",{className:"flex",children:[(0,d.jsx)("i",{className:"w-8 h-8 mr-6 md:w-12 md:h-12 md:mx-7",children:(0,d.jsx)(Ze,{})}),(0,d.jsx)("h3",{className:"w-full font-bold md:w-10/24 lg:w-8/24 text-primary heading heading--3",children:t.text})]})]})})})})})},Le=function(e){var t=e.props;return(0,d.jsx)(d.Fragment,{children:(0,d.jsx)("section",{className:"pt-4/24 md:pt-2/24 pb-2/24",children:(0,d.jsx)("div",{className:"grid grid-cols-24 gap-x-2.5",children:(0,d.jsxs)("div",{className:"col-start-3 col-end-23 md:col-start-4 md:col-end-21",children:[t.label&&(0,d.jsx)(d.Fragment,{children:(0,d.jsx)("span",{className:"block mb-4 text--label",children:t.label})}),t.title&&(0,d.jsx)(d.Fragment,{children:(0,d.jsx)("h2",{className:"mb-6 heading heading--5",children:t.title})}),t.text&&(0,d.jsxs)(d.Fragment,{children:[t.headline&&(0,d.jsx)("h5",{className:"pb-4 heading heading--5",children:t.headline})," ",(0,d.jsx)("div",{className:"wysiwyg md:columns-2 md:gap-1/24",children:(0,d.jsx)(S.YI,{value:t.text,components:{marks:{code:function(e){e.children;return(0,d.jsx)("br",{})},link:function(e){var t=e.value,n=e.children,s=((null===t||void 0===t?void 0:t.href)||"").startsWith("http")?"_blank":void 0;return(0,d.jsx)("a",{href:null===t||void 0===t?void 0:t.href,target:s,rel:"_blank"===s&&"noindex nofollow",children:n})}}}})})]}),t.share&&(0,d.jsxs)(d.Fragment,{children:[(0,d.jsx)("p",{className:"pt-16",children:"Share this story"}),(0,d.jsxs)("div",{className:"flex justify-start pt-4 space-x-4",children:[(0,d.jsx)(v,{share:"linkedin",title:"LinkedIn"}),(0,d.jsx)(v,{share:"facebook",title:"Facebook"}),(0,d.jsx)(v,{share:"twitter",title:"Twitter"}),(0,d.jsx)(v,{share:"copy",title:"Copy/Link"})]})]})]})})})})};function Fe(){return Fe=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var s in n)Object.prototype.hasOwnProperty.call(n,s)&&(e[s]=n[s])}return e},Fe.apply(this,arguments)}var Oe=function(e){return l.createElement("svg",Fe({viewBox:"0 0 793 555",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),Ee||(Ee=l.createElement("path",{d:"M481 182.451 633 270V88.549L481 1v181.451ZM641 467.126 793 555V372.874L641 285v182.126ZM481 375.011 633 463V280.635L481 193v182.011ZM473 375.011 320 463V280.635L473 193v182.011ZM160 375.011 313 463V280.635L160 193v182.011ZM152 375.011 0 463V280.635L152 193v182.011ZM793 180.777 641 268V87.223L793 0v180.777ZM473 180.777 320 268V87.223L473 0v180.777Z",fill:"#4F26E9"})))},Re=function(e){var t,n,s=e.settings,r=(0,l.useRef)(),i=(0,l.useRef)(),c=(0,o.kx)((function(e){return e.windowSize})),u=(0,l.useState)(null),f=u[0],h=u[1];return(0,l.useEffect)((function(){var e=a.ZP.fromTo(r.current,{y:120},{y:-120,scrollTrigger:{trigger:i.current,start:"top bottom",end:"bottom top",scrub:!0}});h(e)}),[]),(0,l.useEffect)((function(){f&&f.scrollTrigger.refresh()}),[c]),(0,d.jsx)(d.Fragment,{children:(0,d.jsx)("section",{ref:i,className:"pt-10/24 md:pt-4/24",children:(0,d.jsxs)("div",{className:"relativ
1e grid grid-cols-24 gap-x-2.5",children:[(0,d.jsx)("div",{className:"z-10 col-start-3 col-end-23 md:col-start-4 md:col-end-18 lg:col-end-13",children:(0,d.jsxs)("div",{className:"grid grid-cols-2 gap-x-1/24 gap-y-3/24 md:gap-y-1/24",children:[(0,d.jsxs)("div",{className:"col-span-2 md:col-span-1",children:[(0,d.jsx)("span",{className:"block text--label",children:"01"}),(0,d.jsx)("h2",{className:"pt-4 heading heading--4",children:"Location"}),(0,d.jsxs)("div",{className:"pt-4 md:pt-6",children:[(0,d.jsx)("p",{className:"font-bold",children:"DASH"}),(0,d.jsx)("p",{children:s.address[0].streetname}),(0,d.jsxs)("p",{children:[s.address[0].zipcode," ",s.address[0].city]})]})]}),(0,d.jsxs)("div",{className:"col-span-2 md:col-span-1",children:[(0,d.jsx)("span",{className:"block mb-4 text--label",children:"02"}),(0,d.jsx)("h2",{className:"heading heading--4",children:"Reach us"}),(0,d.jsx)("div",{className:"inline-block pt-4 md:pt-6",children:(0,d.jsxs)("ul",{children:[(0,d.jsxs)("li",{className:"flex w-full ",children:[(0,d.jsx)("p",{className:"w-16 font-bold",children:"general"}),(0,d.jsx)("a",(t={href:"mailto:".concat(s.contact[0].email),className:"pl-6"},(0,m.Z)(t,"href","mailto:[email protected]"),(0,m.Z)(t,"children",s.contact[0].email),t))]}),(0,d.jsxs)("li",{className:"flex w-full",children:[(0,d.jsx)("p",{className:"w-16 font-bold",children:"careers"}),(0,d.jsx)("a",(n={href:"mailto:".concat(s.contact[0].jobEmail),className:"pl-6"},(0,m.Z)(n,"href","mailto:[email protected]"),(0,m.Z)(n,"children",s.contact[0].jobEmail),n))]}),(0,d.jsxs)("li",{className:"flex w-full ",children:[(0,d.jsx)("p",{className:"w-16 font-bold",children:"talk"}),(0,d.jsx)("a",{href:"tel:".concat(s.contact[0].phone),className:"pl-6",children:s.contact[0].phone})]})]})})]}),s.footer[0].github&&(0,d.jsxs)("div",{className:"order-3 md:order-2",children:[(0,d.jsx)("span",{className:"block mb-4 text--label",children:"03"}),(0,d.jsx)("h2",{className:"heading heading--4",children:"Github"}),(0,d.jsx)("div",{className:"inline-block pt-4 md:pt-6",children:(0,d.jsx)(v,{href:s.socials[0].github,title:"github"})})]}),s.footer[0].linkedin&&(0,d.jsxs)("div",{className:"order-3 md:order-2",children:[(0,d.jsx)("span",{className:"block mb-4 text--label",children:s.footer[0].github?"04":"03"}),(0,d.jsx)("h2",{className:" heading heading--4",children:"Follow us"}),(0,d.jsx)("div",{className:"inline-flex pt-4 space-x-4 md:pt-6",children:(0,d.jsx)(v,{href:s.socials[0].linkedIn,title:"linkedin"})})]})]})}),(0,d.jsx)("div",{ref:r,className:"absolute w-full h-full col-start-11 pt-12 col-end-25 md:pt-0",children:(0,d.jsx)("div",{className:"relative w-full h-full",children:(0,d.jsx)("div",{className:"relative w-full h-full",children:(0,d.jsx)("i",{className:"w-20",children:(0,d.jsx)(Oe,{})})})})})]})})})},_e=function(e){var t=e.props;return(0,d.jsx)(d.Fragment,{children:(0,d.jsx)("section",{className:"pt-10/24 md:pt-4/24",children:(0,d.jsx)("div",{className:"grid grid-cols-24 gap-x-2.5",children:t.title&&(0,d.jsx)(d.Fragment,{children:(0,d.jsx)("div",{className:"col-start-3 col-end-23 md:col-start-6 md:col-end-20",children:(0,d.jsx)("h1",{className:"md:text-center heading heading--2",children:t.title})})})})})})},Ce=n(6486),Te=function(e){var t=e.sections;return t?(0,d.jsx)(l.Fragment,{children:t.map((function(t){var n=function(e){var t=s[(0,Ce.upperFirst)(e._type)];if(t)return t}(t);return n?(0,d.jsx)(n,{props:t,settings:e.settings},t._key):(0,d.jsxs)("div",{children:["Missing section ",t._type]})}))}):(0,d.jsx)("div",{children:"Missing sections"})}}}]);

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.