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