1const g=c=>{c.data("productInfoSticky",()=>({init(){let e=this.$el,s=e.offsetHeight,o=window.innerHeight,i=0,r=o-s,n=window.scrollY;e.style.top=`${i}px`;const p=()=>{s=e.offsetHeight,o=window.innerHeight},w=()=>{if(s<=o){const l=document.querySelector(".sticky-header"),d=document.querySelector(".sticky-top-header"),a=(l==null?void 0:l.offsetHeight)|0,f=(d==null?void 0:d.offsetHeight)|0,h=s+a+f;e.style.top=`${i}px`,l&&h<o?e.classList.add("lg:!top-[104px]"):e.classList.remove("lg:!top-[104px]");return}r=window.innerHeight-e.offsetHeight;let t=parseInt(e.style.top,10);s>o&&(window.scrollY<n?t<i?e.style.top=`${t+n-window.scrollY}px`:t>=i&&t!==i&&(e.style.top=`${i}px`):t>r?e.style.top=`${t+n-window.scrollY}px`:t<r&&t!==r&&(e.style.top=`${r}px`)),n=window.scrollY};window.addEventListener("resize",p),window.addEventListener("scroll",()=>{window.innerWidth>=1150&&w()},{capture:!0,passive:!0})}}))};export{g 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.