"use client"
import{b as r}from"./chunk-AVIVXNKB.mjs";import{p as l}from"./chunk-EKW2J4TE.mjs";import{Fragment as p,jsx as e,jsxs as i}from"react/jsx-runtime";function c({page:s,onPageChange:d,pageSize:t=l,totalCount:a,resourceName:m=n=>`item${n?"s":""}`,children:o}){return i(p,{children:[e("div",{className:"h-[90px]"}),e("div",{className:"fixed bottom-4 left-1/2 w-full max-w-[768px] -translate-x-1/2 px-2.5 max-[920px]:bottom-5 max-[920px]:pr-20",children:i("nav",{className:"flex w-full 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:[i("div",{className:"flex items-center gap-2",children:[i("div",{children:[e("span",{className:"hidden sm:inline-block",children:"Viewing"})," ",i("span",{className:"font-medium",children:[s*t+(a?1:0),"-",Math.min(s*t+t,a)]})," ","of"," ",e("span",{className:"font-medium",children:a.toLocaleString()})," ",(m==null?void 0:m(a!==1))||"items"]}),o]}),i("div",{className:"flex items-center gap-2",children:[e(r,{variant:"secondary",text:"Previous",className:"h-7 px-2",onClick:()=>d(n=>n-1),disabled:s<1}),e(r,{variant:"secondary",text:"Next",className:"h-7 px-2",onClick:()=>d(n=>n+1),disabled:(s+1)*t>=a})]})]})})]})}export{c as a};
