1import{_ as c}from"./C7VX0i3G.js";import{d as p,m as a,z as d,o as m,f as u,g as f,p as _,e as v,_ as g}from"./Bk_0yVAb.js";const w=p({__name:"BackTop",props:{data:{}},setup(T){const l=a(!1),t=a(!1);let s=a(0),n;const r=()=>{t.value||window.scrollTo({top:0,behavior:"smooth"})};return d(()=>{window.addEventListener("scroll",()=>{t.value=!0,clearTimeout(n);const e=window.pageYOffset||document.documentElement.scrollTop,o=e<s.value;s.value=e,l.value=window.scrollY>200&&o,n=setTimeout(()=>{t.value=!1},300)})}),(e,o)=>{const i=c;return m(),u("div",{class:_(["back-to-top",{visible:v(l)}])},[f(i,{src:e.data.image.src,title:e.data.image.title,alt:e.data.image.alt,width:40,height:40,loading:"lazy",onClick:o[0]||(o[0]=k=>r())},null,8,["src","title","alt"])],2)}}}),h=g(w,[["__scopeId","data-v-97e241d5"]]);export{h 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.