1globalThis.process??={},globalThis.process.env??={};import{a as e,i as t,t as n}from"./const.B2ftgsED.js";import{a as r,i,o as a,t as o}from"./functions.CwyuANJV.js";document.addEventListener(`DOMContentLoaded`,()=>{let t=document.querySelector(`.js-floating-menu-button`),i=document.querySelectorAll(`section[id]`),o=document.querySelector(`.js-overlay`),s=null;t?.addEventListener(`click`,t=>{let n=t.currentTarget,i=n.nextElementSibling;i?.classList.toggle(e),n.classList.toggle(e),n.classList.contains(`is-open`)?(i?.setAttribute(`aria-hidden`,`false`),a(n),o?.classList.add(e)):(i?.setAttribute(`aria-hidden`,`true`),r(n),o?.classList.remove(e))}),o?.addEventListener(`click`,()=>{let n=t,i=n.nextElementSibling;i?.classList.contains(`is-open`)&&(i?.classList.toggle(e),n.classList.toggle(e),i?.setAttribute(`aria-hidden`,`true`),r(n),o?.classList.remove(e))});let c=new IntersectionObserver(e=>{e.forEach(e=>{let t=e.target.id,r=document.querySelector(`a[href="#${t}"]`)?.parentElement;e.isIntersecting?(s&&(s.classList.remove(n),s.querySelector(`a`)?.setAttribute(`aria-current`,`false`)),r?.classList.add(n),r?.querySelector(`a`)?.setAttribute(`aria-current`,`true`),r&&(s=r)):r&&[`index`,`is-active`].every(e=>r.classList.contains(e))&&(r?.classList.remove(n),r?.querySelector(`a`)?.setAttribute(`aria-current`,`false`))})},{root:null,rootMargin:`-50% 0px -50% 0px`,threshold:0});i.forEach(e=>c.observe(e))}),document.addEventListener(`DOMContentLoaded`,()=>{let e,n,r,a,s=document.querySelector(`.js-floating-menu`),c=document.querySelector(`.js-floating-menu-wrap`),l=document.querySelector(`[data-floating-menu='start']`),u=document.querySelector(`[data-floating-menu='end']`),d=document.querySelector(`.js-footer`),f=document.querySelector(`.js-floating-menu-button`),p=f?.clientHeight;if(!c||!s||!l||!u)return;let m=()=>{n=c.getBoundingClientRect().top+window.scrollY,e=l.getBoundingClientRect().top+window.scrollY-n,r=l.getBoundingClientRect().top+window.scrollY,a=u.getBoundingClientRect().top+u.offsetHeight+window.scrollY},h=()=>{let o=window.scrollY;if(i()===`sp`){if(!d||!f||!p)return;let e=d.getBoundingClientRect().top+window.scrollY-p;f.getBoundingClientRect().bottom+window.scrollY>e?f.classList.add(`is-hide`):f.classList.remove(`is-hide`)}else{let i=c.offsetHeight,l=document.querySelector(`.js-header`),u=l?l?.clientHeight+Number(getComputedStyle(l).getPropertyValue(`--drawer-padding-num`)):0;if(o>=r-u)if(o+u>=a-s.offsetHeight){let e=n+i-a;s.style.cssText=`position: absolute; top: auto; bottom: ${e}px; opacity: 0;`,l?.classList.add(t)}else s.style.cssText=`position: fixed; top: calc(var(--drawer-padding) + ${u}px); bottom: auto`,l?.classList.remove(t);else s.style.cssText=`position: absolute; top: ${e}px; bottom: auto`}},g=()=>{i()===`sp`?s.removeAttribute(`style`):(m(),scrollY<r&&(s.style.top=`${e}px`)),document.addEventListener(`scroll`,h)};window.addEventListener(`resize`,o(()=>{g()},100)),new MutationObserver(()=>{g()}).observe(document.body,{childList:!0,subtree:!0}),g()});
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.