1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2146],{12146:function(e,t,n){"use strict";n.r(t),n.d(t,{ImageFadeOutTextFadeInAnimation:function(){return _}});var a=n(85893),i=n(26038),l=n(67294),r=n(47548),o=n.n(r),c=n(11370),u=n(23853),d=n(15227),s=n(45370),f=n(19986),m=n(87987),x=n(93967),v=n.n(x),p=n(86492);let _=e=>{var t,n;let{content:r}=e,{textPanels:x,cloudinaryMedia:_,cloudinaryMobileMedia:h}=r,{isMobile:g}=(0,m.X)(),y=(0,l.useRef)(null),b=(0,l.useRef)(null),j=(0,l.useRef)(null),k=(0,l.useRef)(null),{pageTheme:I}=(0,u.l)(),{src:N,alt:E}=(0,f.G)({cloudinaryMedia:_,cloudinaryMobileMedia:h}),F=null==x?void 0:null===(t=x[0])||void 0===t?void 0:t.headline;return(0,l.useEffect)(()=>(k.current=i.p8.timeline({scrollTrigger:{trigger:j.current,start:"400px top",end:"bottom bottom",scrub:!0,onLeave:()=>{var e;null===(e=k.current)||void 0===e||e.kill()}}}).to(y.current,{opacity:.2}).to(b.current,{opacity:1},"<25%"),()=>{var e;null===(e=k.current)||void 0===e||e.kill()}),[b,y]),g?(0,a.jsx)(s.default,{content:{textPanel:null===(n=r.textPanels)||void 0===n?void 0:n[0],cloudinaryMedia:r.cloudinaryMedia,bgColor:"dark"===I?d.b3.BLACK:d.b3.WHITE}}):(0,a.jsxs)("div",{className:v()("relative",o()["image-fade-out-text-fade-in-animation__container"]),ref:j,children:[(0,a.jsx)("div",{className:v()("sticky top-0 h-screen"),ref:y,children:(0,a.jsx)("div",{ref:y,className:v()("relative h-full opacity-100"),children:N&&(0,a.jsx)(c.ZP,{src:N,alt:E,layout:"fill",objectFit:"cover"})})}),(0,a.jsx)("div",{className:"text-white sticky top-0 w-full h-screen flex items-center justify-center text-center md-max:px-12 opacity-0",ref:b,children:F&&(0,a.jsx)("h1",{dangerouslySetInnerHTML:{__html:(0,p.decode)(F)}})})]})};t.default=_},47548:function(e){e.exports={"image-fade-out-text-fade-in-animation__container":"ImageFadeOutTextFadeInAnimation_image-fade-out-text-fade-in-animation__container__Epc0B"}}}]);
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.