import{H as e,It as t,Mt as n,Q as r,V as i,W as a,d as o,ft as s,jt as c,mt as l,s as u,st as d,yt as f}from"./BA99CCI5.js";import"./xihTtKlq.js";import"./DGo8yE5j.js";import{t as p}from"./D1MpTH1m.js";import{t as m}from"./DBUl7-VL.js";import{t as h}from"./B66v-P2b.js";var g=a(`<div class="flex items-center gap-2 text-sm text-neutral-600 dark:text-neutral-400"><!> <span> </span> <!></div>`);function _(a,_){n(_,!1);let v=u(_,`currentPage`,8),y=u(_,`totalPages`,8),b=u(_,`onPageChange`,8);o();var x=g(),S=s(x);{let e=f(()=>v()<=1);h(S,{variant:`ghost`,size:`sm`,get icon(){return p},get disabled(){return r(e)},ariaLabel:`Previous page`,$$events:{click:()=>b()(v()-1)}})}var C=l(S,2),w=s(C);t(C);var T=l(C,2);{let e=f(()=>v()>=y());h(T,{variant:`ghost`,size:`sm`,get icon(){return m},get disabled(){return r(e)},ariaLabel:`Next page`,$$events:{click:()=>b()(v()+1)}})}t(x),d(()=>i(w,`Page ${v()??``} of ${y()??``}`)),e(a,x),c()}export{_ as t};