1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[6986],{23765:t=>{var e="function"==typeof Float32Array;function i(t,e,i){return(((1-3*i+3*e)*t+(3*i-6*e))*t+3*e)*t}function s(t,e,i){return 3*(1-3*i+3*e)*t*t+2*(3*i-6*e)*t+3*e}function n(t){return t}t.exports=function(t,r,a,l){if(!(0<=t&&t<=1&&0<=a&&a<=1))throw Error("bezier x values must be in [0, 1] range");if(t===r&&a===l)return n;for(var o=e?new Float32Array(11):Array(11),h=0;h<11;++h)o[h]=i(.1*h,t,a);return function(e){return 0===e?0:1===e?1:i(function(e){for(var n=0,r=1;10!==r&&o[r]<=e;++r)n+=.1;var l=n+(e-o[--r])/(o[r+1]-o[r])*.1,h=s(l,t,a);if(h>=.001){for(var u=l,d=0;d<4;++d){var c=s(u,t,a);if(0===c)break;var p=i(u,t,a)-e;u-=p/c}return u}return 0===h?l:function(t,e,s,n,r){var a,l,o=0;do(a=i(l=e+(s-e)/2,n,r)-t)>0?s=l:e=l;while(Math.abs(a)>1e-7&&++o<10);return l}(e,n,n+.1,t,a)}(e),r,l)}}},46986:(t,e,i)=>{"use strict";i.d(e,{zE:()=>R});var s,n,r,a,l,o,h,u,d,c,p,f=i(23765),v=i.n(f),w=function(t){this.startX=t.startX,this.startY=t.startY,this.endX=t.endX,this.endY=t.endY,this.totalX=this.endX-this.startX,this.totalY=this.endY-this.startY,this.startMultiplierX=t.startMultiplierX||1,this.endMultiplierX=t.endMultiplierX||1,this.startMultiplierY=t.startMultiplierY||1,this.endMultiplierY=t.endMultiplierY||1};function g(){return(g=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var i=arguments[e];for(var s in i)Object.prototype.hasOwnProperty.call(i,s)&&(t[s]=i[s])}return t}).apply(this,arguments)}(s=o||(o={})).speed="speed",s.translateX="translateX",s.translateY="translateY",s.rotate="rotate",s.rotateX="rotateX",s.rotateY="rotateY",s.rotateZ="rotateZ",s.scale="scale",s.scaleX="scaleX",s.scaleY="scaleY",s.scaleZ="scaleZ",s.opacity="opacity",(n=h||(h={})).px="px",n["%"]="%",n.vh="vh",n.vw="vw",(r=u||(u={})).deg="deg",r.turn="turn",r.rad="rad",(d||(d={}))[""]="",(a=c||(c={})).vertical="vertical",a.horizontal="horizontal",(l=p||(p={})).ease="ease",l.easeIn="easeIn",l.easeOut="easeOut",l.easeInOut="easeInOut",l.easeInQuad="easeInQuad",l.easeInCubic="easeInCubic",l.easeInQuart="easeInQuart",l.easeInQuint="easeInQuint",l.easeInSine="easeInSine",l.easeInExpo="easeInExpo",l.easeInCirc="easeInCirc",l.easeOutQuad="easeOutQuad",l.easeOutCubic="easeOutCubic",l.easeOutQuart="easeOutQuart",l.easeOutQuint="easeOutQuint",l.easeOutSine="easeOutSine",l.easeOutExpo="easeOutExpo",l.easeOutCirc="easeOutCirc",l.easeInOutQuad="easeInOutQuad",l.easeInOutCubic="easeInOutCubic",l.easeInOutQuart="easeInOutQuart",l.easeInOutQuint="easeInOutQuint",l.easeInOutSine="easeInOutSine",l.easeInOutExpo="easeInOutExpo",l.easeInOutCirc="easeInOutCirc",l.easeInBack="easeInBack",l.easeOutBack="easeOutBack",l.easeInOutBack="easeInOutBack";var m=0,E=function(){function t(t){var e=t.el.getBoundingClientRect();if(t.view.scrollContainer){var i=t.view.scrollContainer.getBoundingClientRect();e=g({},e,{top:e.top-i.top,right:e.right-i.left,bottom:e.bottom-i.top,left:e.left-i.left})}this.height=t.el.offsetHeight,this.width=t.el.offsetWidth,this.left=e.left,this.right=e.right,this.top=e.top,this.bottom=e.bottom,t.rootMargin&&this._setRectWithRootMargin(t.rootMargin)}return t.prototype._setRectWithRootMargin=function(t){var e=t.top+t.bottom,i=t.left+t.right;this.top-=t.top,this.right+=t.right,this.bottom+=t.bottom,this.left-=t.left,this.height+=e,this.width+=i},t}(),_=[d[""],h.px,h["%"],h.vh,h.vw,u.deg,u.turn,u.rad];function b(t,e){void 0===e&&(e=h["%"]);var i={value:0,unit:e};if(void 0===t)return i;if("number"!=typeof t&&"string"!=typeof t)throw Error("Invalid value provided. Must provide a value as a string or number");if(i.value=parseFloat(t=String(t)),i.unit=t.match(/[\d.\-+]*\s*(.*)/)[1]||e,!_.includes(i.unit))throw Error("Invalid unit provided.");return i}var C={ease:[.25,.1,.25,1],easeIn:[.42,0,1,1],easeOut:[0,0,.58,1],easeInOut:[.42,0,.58,1],easeInQuad:[.55,.085,.68,.53],easeInCubic:[.55,.055,.675,.19],easeInQuart:[.895,.03,.685,.22],easeInQuint:[.755,.05,.855,.06],easeInSine:[.47,0,.745,.715],easeInExpo:[.95,.05,.795,.035],easeInCirc:[.6,.04,.98,.335],easeOutQuad:[.25,.46,.45,.94],easeOutCubic:[.215,.61,.355,1],easeOutQuart:[.165,.84,.44,1],easeOutQuint:[.23,1,.32,1],easeOutSine:[.39,.575,.565,1],easeOutExpo:[.19,1,.22,1],easeOutCirc:[.075,.82,.165,1],easeInOutQuad:[.455,.03,.515,.955],easeInOutCubic:[.645,.045,.355,1],easeInOutQuart:[.77,0,.175,1],easeInOutQuint:[.86,0,.07,1],easeInOutSine:[.445,.05,.55,.95],easeInOutExpo:[1,0,0,1],easeInOutCirc:[.785,.135,.15,.86],easeInBack:[.6,-.28,.735,.045],easeOutBack:[.175,.885,.32,1.275],easeInOutBack:[.68,-.55,.265,1.55]};function y(t){if(Array.isArray(t))return v()(t[0],t[1],t[2],t[3]);if("string"==typeof t&&void 0!==C[t]){var e=C[t];return v()(e[0],e[1],e[2],e[3])}}var O=Object.values(o),I={speed:"px",translateX:"%",translateY:"%",rotate:"deg",rotateX:"deg",rotateY:"deg",rotateZ:"deg",scale:"",scaleX:"",scaleY:"",scaleZ:"",opacity:""};function x(t,e){var i={};return O.forEach(function(s){var n=I[s];if("number"==typeof(null==t?void 0:t[s])){var r=null==t?void 0:t[s],a=b(10*(r||0)+"px"),l=b(-10*(r||0)+"px"),o={start:a.value,end:l.value,unit:a.unit};e===c.vertical&&(i.translateY=o),e===c.horizontal&&(i.translateX=o)}if(Array.isArray(null==t?void 0:t[s])){var h=null==t?void 0:t[s];if(void 0!==h[0]&&void 0!==h[1]){var u=b(null==h?void 0:h[0],n),d=b(null==h?void 0:h[1],n),p=y(null==h?void 0:h[2]);if(i[s]={start:u.value,end:d.value,unit:u.unit,easing:p}
1,u.unit!==d.unit)throw Error("Must provide matching units for the min and max offset values of each axis.")}}}),i}function S(t,e,i,s){var n=(i-t)/e;return s&&(n=s(n)),n}function P(t,e){var i,s;return{value:(i="function"==typeof t.easing?t.easing(e):e,s=(null==t?void 0:t.start)||0,(((null==t?void 0:t.end)||0)-s)*(i-0)/1+s),unit:null==t?void 0:t.unit}}var A=Object.values(o).filter(function(t){return"opacity"!==t});function X(t){var e=t.el;e&&(e.style.transform="",e.style.opacity="")}function Y(t,e,i){return Math.max(i/(i+(Math.abs(t)+Math.abs(e))*(e>t?-1:1)),1)}function M(t,e){var i=t.start,s=t.end,n=t.unit;if("%"===n){var r=e/100;i*=r,s*=r}if("vw"===n){var a=i/100,l=s/100;i=window.innerWidth*a,s=window.innerWidth*l}if("vh"===n){var o=i/100,h=s/100;i=window.innerHeight*o,s=window.innerHeight*h}return{start:i,end:s}}var z={start:0,end:0,unit:""},Q=function(t,e,i){return Math.min(Math.max(t,e),i)},H=function(){function t(t){var e,i;this.el=t.el,this.props=t.props,this.scrollAxis=t.scrollAxis,this.disabledParallaxController=t.disabledParallaxController||!1,this.id=++m,this.effects=x(this.props,this.scrollAxis),this.isInView=null,this.progress=0,this._setElementEasing(t.props.easing),e=t.el,i=Object.keys(this.effects).includes("opacity"),e.style.willChange="transform"+(i?",opacity":"")}var e=t.prototype;return e.updateProps=function(t){return this.props=g({},this.props,t),this.effects=x(t,this.scrollAxis),this._setElementEasing(t.easing),this},e.setCachedAttributes=function(t,e){X(this),this.rect=new E({el:this.props.targetElement||this.el,rootMargin:this.props.rootMargin,view:t});var i,s,n,r,a,l,o,h,u,d,p,f,v=(i=this.props,s=this.effects,n=this.scrollAxis,!i.rootMargin&&!i.targetElement&&!i.shouldDisableScalingTranslations&&(!!s.translateX&&n===c.horizontal||!!s.translateY&&n===c.vertical));return"number"==typeof this.props.startScroll&&"number"==typeof this.props.endScroll?(this.limits=new w({startX:this.props.startScroll,startY:this.props.startScroll,endX:this.props.endScroll,endY:this.props.endScroll}),this._setElementStyles(),this):(v?(this.limits=function(t,e,i,s,n,r){var a=i.translateX||z,l=i.translateY||z,o=M(a,t.width),h=o.start,u=o.end,d=M(l,t.height),p=d.start,f=d.end,v=t.top-e.height,g=t.left-e.width,m=t.bottom,E=t.right,_=1,b=1;n===c.vertical&&(b=_=Y(p,f,e.height+t.height));var C=1,y=1;if(n===c.horizontal&&(y=C=Y(h,u,e.width+t.width)),p<0&&(v+=p*_),f>0&&(m+=f*b),h<0&&(g+=h*C),u>0&&(E+=u*y),g+=s.x,E+=s.x,v+=s.y,m+=s.y,r){var O=s.y+t.top<e.height,I=s.x+t.left<e.width,x=s.y+t.bottom>e.scrollHeight-e.height,S=s.x+t.right>e.scrollWidth-e.height;O&&x&&(_=1,b=1,v=0,m=e.scrollHeight-e.height),I&&S&&(C=1,y=1,g=0,E=e.scrollWidth-e.width),!O&&x&&(v=t.top-e.height+s.y,_=Y(p,f,(m=e.scrollHeight-e.height)-v),b=1,p<0&&(v+=p*_)),!I&&S&&(g=t.left-e.width+s.x,C=Y(h,u,(E=e.scrollWidth-e.width)-g),y=1,h<0&&(g+=h*C)),O&&!x&&(v=0,_=1,b=Y(p,f,(m=t.bottom+s.y)-v),f>0&&(m+=f*b)),I&&!S&&(g=0,C=1,y=Y(h,u,(E=t.right+s.x)-g),u>0&&(E+=u*y))}return new w({startX:g,startY:v,endX:E,endY:m,startMultiplierX:C,endMultiplierX:y,startMultiplierY:_,endMultiplierY:b})}(this.rect,t,this.effects,e,this.scrollAxis,this.props.shouldAlwaysCompleteAnimation),this.scaledEffects=(r=this.effects,a=this.limits,(l=g({},r)).translateX&&(l.translateX=g({},r.translateX,{start:l.translateX.start*a.startMultiplierX,end:l.translateX.end*a.endMultiplierX})),l.translateY&&(l.translateY=g({},r.translateY,{start:l.translateY.start*a.startMultiplierY,end:l.translateY.end*a.endMultiplierY})),l)):this.limits=(o=this.rect,h=this.props.shouldAlwaysCompleteAnimation,u=o.top-t.height,d=o.left-t.width,p=o.bottom,f=o.right,d+=e.x,f+=e.x,u+=e.y,p+=e.y,h&&(e.y+o.top<t.height&&(u=0),e.x+o.left<t.width&&(d=0),p>t.scrollHeight-t.height&&(p=t.scrollHeight-t.height),f>t.scrollWidth-t.width&&(f=t.scrollWidth-t.width)),new w({startX:d,startY:u,endX:f,endY:p})),this._setElementStyles(),this)},e._updateElementIsInView=function(t){var e=null===this.isInView;t!==this.isInView&&(t?this.props.onEnter&&this.props.onEnter(this):!e&&(this._setFinalProgress(),this._setElementStyles(),this.props.onExit&&this.props.onExit(this))),this.isInView=t},e._setFinalProgress=function(){var t=Q(Math.round(this.progress),0,1);this._updateElementProgress(t)},e._setElementStyles=function(){this.props.disabled||this.disabledParallaxController||function(t,e,
1i){if(i){var s,n,r,a,l,o=(s=t,n=e,A.reduce(function(t,e){var i=s[e]&&P(s[e],n);return void 0===i||void 0===i.value||void 0===i.unit?t:t+(e+"("+i.value+i.unit)+")"},"")),h=(r=t,a=e,void 0===(l=r.opacity&&P(r.opacity,a))||void 0===l.value||void 0===l.unit?"":""+l.value);i.style.transform=o,i.style.opacity=h}}(this.scaledEffects||this.effects,this.progress,this.el)},e._updateElementProgress=function(t){this.progress=t,this.props.onProgressChange&&this.props.onProgressChange(this.progress),this.props.onChange&&this.props.onChange(this)},e._setElementEasing=function(t){this.easing=y(t)},e.updateElementOptions=function(t){this.scrollAxis=t.scrollAxis,this.disabledParallaxController=t.disabledParallaxController||!1},e.updatePosition=function(t){if(!this.limits)return this;var e=this.scrollAxis===c.vertical,i=null===this.isInView,s=e?this.limits.startY:this.limits.startX,n=e?this.limits.endY:this.limits.endX,r=e?this.limits.totalY:this.limits.totalX,a=e?t.y:t.x,l=a>=s&&a<=n;if(this._updateElementIsInView(l),l){var o=S(s,r,a,this.easing);this._updateElementProgress(o),this._setElementStyles()}else i&&(this.progress=Q(Math.round(S(s,r,a,this.easing)),0,1),this._setElementStyles());return this},t}(),W=function(){function t(t){this.scrollContainer=t.scrollContainer,this.width=t.width,this.height=t.height,this.scrollHeight=t.scrollHeight,this.scrollWidth=t.scrollWidth}var e=t.prototype;return e.hasChanged=function(t){return t.width!==this.width||t.height!==this.height||t.scrollWidth!==this.scrollWidth||t.scrollHeight!==this.scrollHeight},e.setSize=function(t){return this.width=t.width,this.height=t.height,this.scrollHeight=t.scrollHeight,this.scrollWidth=t.scrollWidth,this},t}(),k=function(){function t(t,e){this.x=t,this.y=e,this.dx=0,this.dy=0}return t.prototype.setScroll=function(t,e){return this.dx=t-this.x,this.dy=e-this.y,this.x=t,this.y=e,this},t}(),L=function(){function t(t){var e=t.scrollAxis,i=void 0===e?c.vertical:e,s=t.scrollContainer,n=t.disabled;this.disabled=void 0!==n&&n,this.scrollAxis=i,this.elements=[],this._hasScrollContainer=!!s,this.viewEl=null!=s?s:window;var r=this._getScrollPosition(),a=r[0],l=r[1];this.scroll=new k(a,l),this.view=new W({width:0,height:0,scrollWidth:0,scrollHeight:0,scrollContainer:this._hasScrollContainer?s:void 0}),this._ticking=!1,this._supportsPassive=function(){var t=!1;try{var e=Object.defineProperty({},"passive",{get:function(){return t=!0,!0}});window.addEventListener("test",null,e),window.removeEventListener("test",null,e)}catch(t){}return t}(),this._bindAllMethods(),this.disabled||(this._addListeners(this.viewEl),this._addResizeObserver(),this._setViewSize())}t.init=function(e){if(!("u">typeof window))throw Error("Looks like ParallaxController.init() was called on the server. This method must be called on the client.");return new t(e)};var e=t.prototype;return e._bindAllMethods=function(){var t=this;["_addListeners","_removeListeners","_getScrollPosition","_handleScroll","_handleUpdateCache","_updateAllElements","_updateElementPosition","_setViewSize","_addResizeObserver","_checkIfViewHasChanged","_getViewParams","getElements","createElement","removeElementById","resetElementStyles","updateElementPropsById","update","updateScrollContainer","destroy"].forEach(function(e){t[e]=t[e].bind(t)})},e._addListeners=function(t){t.addEventListener("scroll",this._handleScroll,!!this._supportsPassive&&{passive:!0}),window.addEventListener("resize",this._handleUpdateCache,!1),window.addEventListener("blur",this._handleUpdateCache,!1),window.addEventListener("focus",this._handleUpdateCache,!1),window.addEventListener("load",this._handleUpdateCache,!1)},e._removeListeners=function(t){var e;t.removeEventListener("scroll",this._handleScroll,!1),window.removeEventListener("resize",this._handleUpdateCache,!1),window.removeEventListener("blur",this._handleUpdateCache,!1),window.removeEventListener("focus",this._handleUpdateCache,!1),window.removeEventListener("load",this._handleUpdateCache,!1),null==(e=this._resizeObserver)||e.disconnect()},e._addResizeObserver=function(){var t=this;try{var e=this._hasScrollContainer?this.viewEl:document.documentElement;this._resizeObserver=new ResizeObserver(function(){return t.update(
1)}),this._resizeObserver.observe(e)}catch(t){console.warn("Failed to create the resize observer in the ParallaxContoller")}},e._getScrollPosition=function(){return[this._hasScrollContainer?this.viewEl.scrollLeft:window.pageXOffset,this._hasScrollContainer?this.viewEl.scrollTop:window.pageYOffset]},e._handleScroll=function(){var t,e=this._getScrollPosition(),i=e[0],s=e[1];this.scroll.setScroll(i,s),!this._ticking&&(null==(t=this.elements)?void 0:t.length)>0&&(this._ticking=!0,window.requestAnimationFrame(this._updateAllElements))},e._handleUpdateCache=function(){this._setViewSize(),this._updateAllElements({updateCache:!0})},e._updateAllElements=function(t){var e=this,i=(void 0===t?{}:t).updateCache;this.elements&&this.elements.forEach(function(t){i&&t.setCachedAttributes(e.view,e.scroll),e._updateElementPosition(t)}),this._ticking=!1},e._updateElementPosition=function(t){t.props.disabled||this.disabled||t.updatePosition(this.scroll)},e._getViewParams=function(){if(this._hasScrollContainer){var t=this.viewEl.offsetWidth,e=this.viewEl.offsetHeight,i=this.viewEl.scrollHeight,s=this.viewEl.scrollWidth;return this.view.setSize({width:t,height:e,scrollHeight:i,scrollWidth:s})}var n=document.documentElement;return{width:window.innerWidth||n.clientWidth,height:window.innerHeight||n.clientHeight,scrollHeight:n.scrollHeight,scrollWidth:n.scrollWidth}},e._setViewSize=function(){return this.view.setSize(this._getViewParams())},e._checkIfViewHasChanged=function(){return this.view.hasChanged(this._getViewParams())},e.getElements=function(){return this.elements},e.createElement=function(t){var e=new H(g({},t,{scrollAxis:this.scrollAxis,disabledParallaxController:this.disabled}));return e.setCachedAttributes(this.view,this.scroll),this.elements=this.elements?[].concat(this.elements,[e]):[e],this._updateElementPosition(e),this._checkIfViewHasChanged()&&this.update(),e},e.removeElementById=function(t){this.elements&&(this.elements=this.elements.filter(function(e){return e.id!==t}))},e.updateElementPropsById=function(t,e){this.elements&&(this.elements=this.elements.map(function(i){return i.id===t?i.updateProps(e):i})),this.update()},e.resetElementStyles=function(t){X(t)},e.update=function(){var t=this._getScrollPosition(),e=t[0],i=t[1];this.scroll.setScroll(e,i),this._setViewSize(),this._updateAllElements({updateCache:!0})},e.updateScrollContainer=function(t){this._removeListeners(this.viewEl),this.viewEl=t,this._hasScrollContainer=!!t,this.view=new W({width:0,height:0,scrollWidth:0,scrollHeight:0,scrollContainer:t}),this._setViewSize(),this._addListeners(this.viewEl),this._updateAllElements({updateCache:!0})},e.disableParallaxController=function(){this.disabled=!0,this._removeListeners(this.viewEl),this.elements&&this.elements.forEach(function(t){return X(t)})},e.enableParallaxController=function(){var t=this;this.disabled=!1,this.elements&&this.elements.forEach(function(e){return e.updateElementOptions({disabledParallaxController:!1,scrollAxis:t.scrollAxis})}),this._addListeners(this.viewEl),this._addResizeObserver(),this._setViewSize()},e.disableAllElements=function(){console.warn("deprecated: use disableParallaxController() instead"),this.elements&&(this.elements=this.elements.map(function(t){return t.updateProps({disabled:!0})})),this.update()},e.enableAllElements=function(){console.warn("deprecated: use enableParallaxController() instead"),this.elements&&(this.elements=this.elements.map(function(t){return t.updateProps({disabled:!1})})),this.update()},e.destroy=function(){this._removeListeners(this.viewEl),this.elements&&this.elements.forEach(function(t){return X(t)}),this.elements=void 0},t}(),V=i(56493);let B=V.createContext(null);function R(t){var e;let i=(0,V.useRef)(null);return i.current||(e={scrollAxis:t.scrollAxis||c.vertical,scrollContainer:t.scrollContainer,disabled:t.isDisabled},i.current="u">typeof window?L.init(e):null),(0,V.useEffect)(()=>{t.scrollContainer&&i.current&&i.current.updateScrollContainer(t.scrollContainer)},[t.scrollContainer]),(0,V.useEffect)(()=>{t.isDisabled&&i.current&&i.current.disableParallaxController(),!t.isDisabled&&i.current&&i.current.enableParallaxController()},[t.isDisabled]),(0,V.useEffect)(()=>()=>{var t;null==i||null==(t=i.current)||t.destroy()},[]),V.createElement(B.Provider,{value:i.current},t.children)}}}]);
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.