"use client"
import{b as m}from"./chunk-3GNKXJEC.mjs";import{i as l}from"./chunk-KU5NLUHX.mjs";import{Fragment as o,jsx as e,jsxs as a}from"react/jsx-runtime";function b({page:i,onPageChange:r,pageSize:s=l,totalCount:t,resourceName:d=n=>`item${n?"s":""}`}){return a(o,{children:[e("div",{className:"h-[90px]"}),a("nav",{className:"fixed bottom-4 left-1/2 flex w-full max-w-[768px] -translate-x-1/2 items-center justify-between rounded-xl border border-gray-200 bg-white px-4 py-3.5 text-sm leading-6 text-gray-600 [filter:drop-shadow(0_5px_8px_#222A351d)]",children:[a("div",{children:[e("span",{className:"hidden sm:inline-block",children:"Viewing"})," ",a("span",{className:"font-medium",children:[i*s+1,"-",Math.min(i*s+s,t)]})," ","of ",e("span",{className:"font-medium",children:t.toLocaleString()})," ",(d==null?void 0:d(t!==1))||"items"]}),a("div",{className:"flex items-center gap-2",children:[e(m,{variant:"secondary",text:"Previous",className:"h-7 px-2",onClick:()=>r(n=>n-1),disabled:i<1}),e(m,{variant:"secondary",text:"Next",className:"h-7 px-2",onClick:()=>r(n=>n+1),disabled:(i+1)*s>=t})]})]})]})}export{b as a};
