1globalThis.process??={},globalThis.process.env??={};import{o as e}from"./rolldown-runtime.DIol1n-R.js";import{At as t,jt as n,tt as r}from"./a-withfaye-ui-core.CjHharLG.js";import{t as i}from"./compiler-runtime.C3XETJ2Y.js";import{t as a}from"./useIsMobile.b7xO3CuY.js";var o=i(),s=t();function c(){let t,e=(0,o.c)(2),l=a("md")?"top":"bottom";return e[0]===l?t=e[1]:(t=(0,s.jsx)(r,{position:l}),e[0]=l,e[1]=t),t}var l=e(n(),1),u=600;function d(o,t){o.style.overflow=t}function f(o,t){let s={position:o.style.position,top:o.style.top,left:o.style.left,right:o.style.right};return o.style.position="fixed",o.style.top=`-${t}px`,o.style.left="0",o.style.right="0",s}function p(o,t){o.style.position=t.position,o.style.top=t.top,o.style.left=t.left,o.style.right=t.right}function m(t,s){let e,r=(0,o.c)(8);r[0]===s?e=r[1]:(e=void 0===s?{}:s,r[0]=s,r[1]=e);let i,n,{element:a,stashPosition:c,restoreWindowMs:m}=e,w=void 0!==c&&c,y=void 0===m?u:m;r[2]!==a||r[3]!==t||r[4]!==y||r[5]!==w?(i=()=>{if(!t)return;let o=a??document.body,s=o.style.overflow;d(o,"hidden");let e=w?{scrollY:window.scrollY,restoration:window.history.scrollRestoration,styles:f(o,window.scrollY)}:null;return e&&(window.history.scrollRestoration="manual"),()=>{if(d(o,s),!e)return;p(o,e.styles);let t=performance.now(),r=()=>{window.scrollY!==e.scrollY&&window.scrollTo(0,e.scrollY),performance.now()-t<y?requestAnimationFrame(r):window.history.scrollRestoration=e.restoration};r()}},n=[t,a,w,y],r[2]=a,r[3]=t,r[4]=y,r[5]=w,r[6]=i,r[7]=n):(i=r[6],n=r[7]),(0,l.useEffect)(i,n)}export{c as n,m as t};
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.