1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[495],{20495:function(n,e,r){"use strict";r.r(e),r.d(e,{default:function(){return u}});var t=r(7320),a=r(98661),l=r(95730),o=r.n(l),i=r(94184),c=r.n(i),u=function(n){var e=n.classes,r=n.children,l=(0,a.useRef)(null),i=null===e||void 0===e?void 0:e.includes("parallax-scroll"),u=null===e||void 0===e?void 0:e.includes("parallax-scroll-reverse"),s=null===e||void 0===e?void 0:e.includes("parallax-fade"),p=function(n){var e="100";return n.forEach((function(n,r){null!==n.match(/^parallax-y(.*)$/gm)&&(e=n.replace("parallax-y-",""))})),e}(e),f=""!==p?function(n){var e="%";return null!==n.match(/^[0-9](.*px)$/gm)&&(e="px"),e}(p):"%",d=parseInt(null===p||void 0===p?void 0:p.replace(f,"")),v=(0,a.useState)(d>0?d:100),x=v[0],m=v[1],h=function(n){if(null!==n){var e=n.getBoundingClientRect(),r="px"==f?d:e.height*d/100,t=i?e.bottom-r:e.bottom,a=i?e.top-r:e.top,o=u?t:a,c=window.innerHeight||document.documentElement.clientHeight,p=o<=c||o<=0;if(p)if(i){if(m(o/c*100+("px"==f?1:0)),s){var v=e.bottom/c;l.current.style.opacity="".concat(v<.4?0:1)}}else m(0);else i||m(d);return p}};return(0,a.useEffect)((function(){if(null!==l)return window.addEventListener("scroll",(function(){h(l.current)}),!1),h(l.current),function(){return window.removeEventListener("scroll",(function(){h(l.current)}),!1)}}),[l]),(0,t.tZ)("div",{style:{transform:"translate3d(0,".concat(u?-1*x:x).concat(f,",0)")},ref:l,className:c()(o()["parallax-wrapper"],i?o()["transition-none"]:"","parallax-wrapper"),children:r})}},95730:function(n){n.exports={"parallax-wrapper":"Parallax_parallax-wrapper__fK3mt","transition-none":"Parallax_transition-none__Ozhat"}}}]);
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.