import{a as o,a8 as a,M as s,aF as l}from"./index-d4baa715.js";function r(){const r=o(0);return a((o=>{r.value=o.scrollTop})),s((()=>{r.value=0})),{scrollTop:r,scrollToTop:function(){l({scrollTop:0,duration:500})}}}export{r as u};
