1import{n as e}from"./rolldown-runtime-DEa_Ew-f.js";import{i as t,n as r,r as i,t as n}from"./slide-up-DXE5MjP7.js";var a;function o(){return(o=e(()=>{n(),i(),a={el:{root:document.querySelector(".ar-nav"),items:document.querySelectorAll(".ar-nav__list li ul li a"),older:document.querySelector(".ar-nav__list > li.ar-nav__item-older > a")},init(){this.el.items.forEach(e=>{e.addEventListener("click",t=>{if(!e.classList.contains("ar-nav__link--clickable")){t.preventDefault();const e=t.currentTarget,r=e.getAttribute("href"),i=document.querySelector(".header");if(!r||!i)return;const n=r.replace("#",""),a=i.getBoundingClientRect().height,o=document.querySelector(`.ar-blocks[data-id=${CSS.escape(n)}]`);this.el.items.forEach(e=>{e.parentNode.classList.remove("ar-nav__item--active")}),e.parentNode.classList.add("ar-nav__item--active"),o&&window.scrollTo({behavior:"smooth",top:o.getBoundingClientRect().top-document.body.getBoundingClientRect().top-a-20})}})}),this.el.older&&this.el.older.addEventListener("click",e=>{e.preventDefault();const i=e.currentTarget.closest("li");if(!i)return;const n=i.querySelector(".ar-nav__list");n&&("block"===n.style.display?r(n):t(n))})},getHeaderSize:()=>window.innerWidth>=775?90:78}}))()}o();export{a as default};
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.