import{j as s}from"./index-Dyazi077.js";function b({page:n,totalPages:e,currentStart:t,currentEnd:i,totalItems:a,onPrevious:l,onNext:c,onLatest:r,stepLabel:d="50"}){return a<=0?null:s.jsxs("div",{className:"pager",children:[s.jsxs("button",{className:"page-btn",type:"button",onClick:l,disabled:n<=1,children:["← 前 ",d]}),s.jsxs("span",{className:"page-info",children:["第 ",t,"-",i," 章 · 第 ",n,"/",e," 页"]}),s.jsxs("div",{className:"pager-actions",children:[s.jsx("button",{className:"page-btn",type:"button",onClick:c,disabled:n>=e,children:"下一页 →"}),s.jsx("button",{className:"page-btn",type:"button",onClick:r,disabled:n>=e,children:"跳到最新 →"})]})]})}export{b as P};
