1import{a0 as l,r as d}from"./index-CZoqhSea.js";const u=()=>{const{hash:o}=l();return d.useEffect(()=>{const i=o.slice(1);if(!i)return;let t,e,c=!1;const n=()=>{const a=document.getElementById(i);if(!a)return!1;const s=window.matchMedia("(min-width: 900px)").matches?80:60,r=a.getBoundingClientRect().top+window.scrollY;return window.scrollTo({top:Math.max(0,r-s),behavior:"smooth"}),c=!0,t==null||t.disconnect(),!0};return n()||(t=new MutationObserver(()=>{n()&&(t==null||t.disconnect())}),t.observe(document.body,{childList:!0,subtree:!0}),e=requestAnimationFrame(()=>{c||n()})),()=>{t==null||t.disconnect(),e!==void 0&&cancelAnimationFrame(e)}},[o]),null};export{u as S};
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.