1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8070],{8070:(e,t,r)=>{"use strict";r.r(t),r.d(t,{ImmersiveHero:()=>v});var n=r(23798),o=r(53524),i=r(21462),l=r(22267),s=r(94268),a=r(69478),c=r(34030),u=r(21655),d=r.n(u);let v=({position:e,eyebrow:t,title:r,heroMedia:u})=>{let v=(0,c.b)(),[y,b]=(0,i.useState)(!0),[p,f]=(0,i.useState)(!1),h=(0,i.useCallback)(()=>{},[]);if((0,i.useEffect)(()=>{let e=new AbortController,t=window.matchMedia("(max-width: 690px)");if(null!=t)return f(t.matches),t.addEventListener("change",e=>{f(e.matches)},{signal:e.signal}),()=>{e.abort()}},[]),!u)return v.error("ImmersiveHero: heroMedia is null"),null;let m=p&&u.mobileVideo?u.mobileVideo:u.desktopVideo,w=p&&u.mobileImage?u.mobileImage:u.desktopImage,_=p&&u.alternateVideoPosterMobile?u.alternateVideoPosterMobile:u.alternateVideoPosterDesktop;return(0,n.jsxs)("div",{className:d().container,children:[(0,n.jsxs)("div",{className:d().background,children:[m?(0,n.jsx)(a.L,{content:m.video,posterUrl:_?.url,className:d().video,onPlaybackSuspended:h,onPlay:h,loop:!0,playVideo:y}):null,w?(0,n.jsx)(l.D,{image:w,className:d().image,objectPosition:"center center",objectFit:"cover"}):null,r||t?(0,n.jsx)("div",{className:d().overlay}):null]}),m?(0,n.jsx)("button",{title:"Play/pause video",className:(0,o.A)(d().playButton,{[d().playButtonFirst]:0===e}),onClick:()=>{b(!y)},children:y?(0,n.jsx)(s.v,{}):(0,n.jsx)(s.j,{})}):null,r||t?(0,n.jsxs)("div",{className:d().content,children:[t?(0,n.jsx)("span",{className:d().eyebrow,children:t}):null,r?(0,n.jsx)("h1",{className:d().title,children:r}):null]}):null]})}},21655:e=>{e.exports={container:"style_container__xJp_p",background:"style_background__RTOv_",image:"style_image__jmWKg",video:"style_video__opmrJ",overlay:"style_overlay__2uwbY",content:"style_content__G1u3_",eyebrow:"style_eyebrow__yzNWj",title:"style_title__awo6n",playButton:"style_playButton__Eo2Ej",playButtonFirst:"style_playButtonFirst__qXgTD"}},42238:(e,t,r)=>{"use strict";r.d(t,{W:()=>l});var n=r(21462);function o(){return(o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(this,arguments)}var i=function(e){var t=(0,n.useRef)(e);return t.current=e,t},l=function(e){var t=void 0===e?{}:e,r=t.root,l=t.rootMargin,s=t.threshold,a=void 0===s?0:s,c=t.trackVisibility,u=t.delay,d=t.unobserveOnEnter,v=t.onChange,y=t.onEnter,b=t.onLeave,p=(0,n.useState)({inView:!1,scrollDirection:{}}),f=p[0],h=p[1],m=(0,n.useRef)(!1),w=(0,n.useRef)({}),_=(0,n.useRef)(),g=(0,n.useRef)(!1),x=i(v),j=i(y),k=i(b),N=(0,n.useRef)(),V=(0,n.useCallback)(function(){_.current&&(_.current.disconnect(),w.current={})},[]),I=(0,n.useCallback)(function(e){e&&e!==N.current&&(V(),N.current=e),_.current&&N.current&&_.current.observe(N.current)},[V]),M=(0,n.useCallback)(function(){if(N.current){var e=N.current.getBoundingClientRect();w.current={x:e.x,y:e.y}}},[N]);return(0,n.useEffect)(function(){if(!("IntersectionObserver"in window)||!("IntersectionObserverEntry"in window))return console.error("\uD83D\uDCA1 react-cool-inview: the browser doesn't support Intersection Observer, please install polyfill: https://github.com/wellyshen/react-cool-inview#intersection-observer-polyfill"),function(){return null};var e=!0;return _.current=new IntersectionObserver(function(t){var r=t[0],n=r.intersectionRatio,i=r.isIntersecting,l=r.boundingClientRect,s=l.x,u=l.y,v=r.isVisible,y={},b=Array.isArray(a)?Math.min.apply(Math,a):a,p=void 0!==i?i:n>0;p=b>0?n>=b:p,s<w.current.x&&(y.horizontal="left"),s>w.current.x&&(y.horizontal="right"),w.current.x=s,u<w.current.y&&(y.vertical="up"),u>w.current.y&&(y.vertical="down"),w.current.y=u;var f={entry:r,scrollDirection:y,observe:I,unobserve:V};c&&(void 0!==v||g.current||(console.warn("\uD83D\uDCA1 react-cool-inview: the browser doesn't support Intersection Observer v2, fallback to v1 behavior"),g.current=!0),void 0!==v&&(p=v)),p&&!m.current&&(d&&V(),j.current&&j.current(f)),!p&&m.current&&k.current&&k.current(f),x.current&&x.current(o({},f,{inView:p})),e&&h({inView:p,scrollDirection:y,entry:r}),m.current=p},{root:r,rootMargin:l,threshold:a,trackVisibility:c,delay:u}),I(),function(){e=!1,V()}},[d,r,l,JSON.stringify(a),c,u,I,V]),o({},f,{observe:I,unobserve:V,updatePosition:M})}},69478:(e,t,r)=>{"use strict";r.d(t,{L:()=>a});var n=r(23798),o=r(21462),i=r(42238),l=r(37665);let s=(0,o.lazy)(async()=>({default:(await Promise.all([r.e(1822),r.e(9864)]).then(r.bind(r,69864))).VideoPlayer})),a=({className:e,rootMargin:t,unmountDelayInSeconds:r=3,playVideo:a=!0,...c})=>{let[u,d]=(0,o.useState)("unmounted"),v=t?.top??25,y=t?.bottom??25,{observe:b,inView:p}=(0,i.W)({rootMargin:`${v}% 0px ${y}% 0px`});return(0,o.useEffect)(()=>
1{if(p&&a)return void d(()=>"playing");if(d(()=>"paused"),!p){let e=setTimeout(()=>{d(()=>"unmounted")},(!1===Number.isNaN(r)&&r>=1?r:3)*l.Z2);return()=>{clearTimeout(e)}}},[r,p,a]),(0,n.jsx)("div",{className:e,ref:b,children:"unmounted"===u?null:(0,n.jsx)(o.Suspense,{fallback:null,children:(0,n.jsx)(s,{...c,play:"playing"===u})})})}},94268:(e,t,r)=>{"use strict";r.d(t,{j:()=>o,v:()=>i});var n=r(23798);let o=()=>(0,n.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 18 21",fill:"none",children:(0,n.jsx)("path",{d:"M17.4637 10.1774L0.349305 20.0585L0.349306 0.296421L17.4637 10.1774Z",fill:"#fff"})}),i=()=>(0,n.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 7 10",fill:"none",children:(0,n.jsx)("path",{d:"M1.68774 0.818115L1.68774 9.95428M5.05493 0.818115L5.05493 9.95428",stroke:"white",strokeWidth:"2"})})}}]);
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.