"use strict";(globalThis.webpackChunksurerank=globalThis.webpackChunksurerank||[]).push([[418],{2743:(n,t,e)=>{e.d(t,{U:()=>c});var r=e(98288),u=e(8452);function c(){if(u.r.current=!0,r.B)if(window.matchMedia){const n=window.matchMedia("(prefers-reduced-motion)"),t=()=>u.O.current=n.matches;n.addEventListener("change",t),t()}else u.O.current=!1}},8452:(n,t,e)=>{e.d(t,{O:()=>r,r:()=>u});const r={current:null},u={current:!1}},14322:(n,t,e)=>{e.d(t,{u:()=>u});var r=e(89495);function u(n){return(0,r.S)(n)?n.get():n}},15746:(n,t,e)=>{e.d(t,{w:()=>u});const r=(n,t)=>Math.abs(n-t);function u(n,t){const e=r(n.x,t.x),u=r(n.y,t.y);return Math.sqrt(e**2+u**2)}},22503:(n,t,e)=>{function r(n,t){if(!Array.isArray(t))return!1;const e=t.length;if(e!==n.length)return!1;for(let r=0;r<e;r++)if(t[r]!==n[r])return!1;return!0}e.d(t,{a:()=>r})},22681:(n,t,e)=>{e.d(t,{s:()=>c});var r=e(51609);function u(n,t){if("function"===typeof n)return n(t);null!==n&&void 0!==n&&(n.current=t)}function c(...n){return r.useCallback(function(...n){return t=>{let e=!1;const r=n.map(n=>{const r=u(n,t);return e||"function"!==typeof r||(e=!0),r});if(e)return()=>{for(let t=0;t<r.length;t++){const e=r[t];"function"===typeof e?e():u(n[t],null)}}}}(...n),n)}},25128:(n,t,e)=>{e.d(t,{E:()=>u});var r=e(51609);const u=e(98288).B?r.useLayoutEffect:r.useEffect},28601:(n,t,e)=>{e.d(t,{M:()=>u});var r=e(51609);function u(n){const t=(0,r.useRef)(null);return null===t.current&&(t.current=n()),t.current}},50029:(n,t,e)=>{e.d(t,{g:()=>c});var r=e(98731),u=e(89495);function c(n,t){const e=n.getValue("willChange");if(c=e,Boolean((0,u.S)(c)&&c.add))return e.add(t);if(!e&&r.W.WillChange){const e=new r.W.WillChange("auto");n.addValue("willChange",e),e.add(t)}var c}},66528:(n,t,e)=>{e.d(t,{c:()=>c});var r=e(91833),u=e(1207);function c(n,t){const e=r.k.now(),c=({timestamp:r})=>{const o=r-e;o>=t&&((0,u.WG)(c),n(o-t))};return u.Gt.setup(c,!0),()=>(0,u.WG)(c)}},83953:(n,t,e)=>{function r(n){return n&&"object"===typeof n&&Object.prototype.hasOwnProperty.call(n,"current")}e.d(t,{X:()=>r})},84364:(n,t,e)=>{e.d(t,{s:()=>r});const r=({current:n})=>n?n.ownerDocument.defaultView:null},98288:(n,t,e)=>{e.d(t,{B:()=>r});const r="undefined"!==typeof window}}]);