const restoreScroll=(o,s)=>{if(!window.history.state||!window.history.state.key){let t=Math.random().toString(32).slice(2);window.history.replaceState({key:t},"")}try{const e=JSON.parse(sessionStorage.getItem(o)||"{}")[s||window.history.state.key];typeof e=="number"&&window.scrollTo(0,e)}catch(t){console.error(t),sessionStorage.removeItem(o)}},STORAGE_KEY="positions",JsonElement=document.querySelector('script[type="application/json"][data-ttark="__remixScroll"]'),data=JSON.parse(JsonElement.textContent);restoreScroll(STORAGE_KEY,data.key);

//# sourceMappingURL=remixScrollRestoration-1453fc9ae537f97b6185-0a477847e83a3bcf5e25808098a4be0372fd5cfd.js.map