import{d as y,ba as d,a as _,f as z,e as b,h as p,I as m,n as v,b5 as w,_ as x}from"./index-e450010e.js";const T=(e,t,n,o)=>(e/=o/2,e<1?n/2*e*e+t:(e--,-n/2*(e*(e-2)-1)+t)),h=function(){return window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||function(e){window.setTimeout(e,1e3/60)}}(),C=e=>{document.documentElement.scrollTop=e,document.body.parentNode.scrollTop=e,document.body.scrollTop=e},S=()=>document.documentElement.scrollTop||document.body.parentNode.scrollTop||document.body.scrollTop,g=(e,t,n)=>{const o=S(),a=e-o,l=20;let s=0;t=typeof t>"u"?500:t;const u=function(){s+=l;const i=T(s,o,a,t);C(i),s{const f=w;return _(),z("div",{class:v("pagination "+{hidden:e.hidden})},[b(f,{"current-page":p(a),"onUpdate:currentPage":r[0]||(r[0]=c=>m(a)?a.value=c:null),"page-size":p(l),"onUpdate:pageSize":r[1]||(r[1]=c=>m(l)?l.value=c:null),background:e.background,layout:e.layout,"page-sizes":e.pagesizes,total:e.total,onSizeChange:s,onCurrentChange:u},null,8,["current-page","page-size","background","layout","page-sizes","total"])],2)}}});const q=x(N,[["__scopeId","data-v-336d690c"]]);export{q as _};