function c(o,e){!o||Object.keys(e).forEach(t=>{o.style[t]=e[t]})}function l(o){window.requestAnimationFrame||(window.requestAnimationFrame=function(n,s){return window.setTimeout(n,17)});let e=document.documentElement.scrollTop||document.body.scrollTop;const t=function(){const n=o-e;e=e+n/5,Math.abs(n)<1?document.body.scrollTo(0,o):(document.body.scrollTo(0,e),requestAnimationFrame(t))};t()}export{c as a,l as s};
