"use strict";exports.id=2977,exports.ids=[2977],exports.modules={76362:(e,n,t)=>{function on(e){for(var n=[],t=1;t<arguments.length;t++)n[t-1]=arguments[t];e&&e.addEventListener&&e.addEventListener.apply(e,n)}function off(e){for(var n=[],t=1;t<arguments.length;t++)n[t-1]=arguments[t];e&&e.removeEventListener&&e.removeEventListener.apply(e,n)}t.d(n,{S1:()=>off,jU:()=>i,on:()=>on});var i="undefined"!=typeof window},72977:(e,n,t)=>{t.d(n,{Z:()=>esm_useWindowSize});var i=t(16689);let esm_useEffectOnce=function(e){(0,i.useEffect)(e,[])},esm_useUnmount=function(e){var n=(0,i.useRef)(e);n.current=e,esm_useEffectOnce(function(){return function(){return n.current()}})},esm_useRafState=function(e){var n=(0,i.useRef)(0),t=(0,i.useState)(e),r=t[0],o=t[1],u=(0,i.useCallback)(function(e){cancelAnimationFrame(n.current),n.current=requestAnimationFrame(function(){o(e)})},[]);return esm_useUnmount(function(){cancelAnimationFrame(n.current)}),[r,u]};var r=t(76362);let esm_useWindowSize=function(e,n){void 0===e&&(e=1/0),void 0===n&&(n=1/0);var t=esm_useRafState({width:r.jU?window.innerWidth:e,height:r.jU?window.innerHeight:n}),o=t[0],u=t[1];return(0,i.useEffect)(function(){if(r.jU){var handler_1=function(){u({width:window.innerWidth,height:window.innerHeight})};return(0,r.on)(window,"resize",handler_1),function(){(0,r.S1)(window,"resize",handler_1)}}},[]),o}}};