1import{y as v,g as y}from"./CpCVh7gd.js";import{m as a,av as d,aa as m}from"#entry";function w(e,o,l,t){const s=l-o;return e/=t/2,e<1?s/2*e*e*e+o:s/2*((e-=2)*e*e+2)+o}const p=e=>a?window.requestAnimationFrame(e):setTimeout(e,16),h=e=>a?window.cancelAnimationFrame(e):clearTimeout(e);let u;const S=e=>{var r;if(!a)return 0;if(u!==void 0)return u;const o=document.createElement("div");o.className=`${e}-scrollbar__wrap`,o.style.visibility="hidden",o.style.width="100px",o.style.position="absolute",o.style.top="-9999px",document.body.appendChild(o);const l=o.offsetWidth;o.style.overflow="scroll";const t=document.createElement("div");t.style.width="100%",o.appendChild(t);const s=t.offsetWidth;return(r=o.parentNode)==null||r.removeChild(o),u=l-s,u};function C(e,o){if(!a)return;if(!o){e.scrollTop=0;return}const l=[];let t=o.offsetParent;for(;t!==null&&e!==t&&e.contains(t);)l.push(t),t=t.offsetParent;const s=o.offsetTop+l.reduce((i,f)=>i+f.offsetTop,0),r=s+o.offsetHeight,n=e.scrollTop,c=n+e.clientHeight;s<n?e.scrollTop=s:r>c&&(e.scrollTop=r-e.clientHeight)}function W(e,o,l,t,s){const r=Date.now();let n;const c=()=>{const i=Date.now()-r,f=w(i>t?t:i,o,l,t);d(e)?e.scrollTo(window.pageXOffset,f):e.scrollTop=f,i<t?n=p(c):m(s)&&s()};return c(),()=>{n&&h(n)}}const x=(e,o)=>d(o)?e.ownerDocument.documentElement:o,E=e=>d(e)?window.scrollY:e.scrollTop;export{x as a,W as b,h as c,E as d,S as g,p as r,C 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.