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