'use client';
import{jsx as e}from"react/jsx-runtime";import{makeStyleResponsive as r}from"@gem-sdk/core";import{renderPaginatorItem as t}from"./common/helpers.js";import{getPaginatorWrapperClass as o,getPaginatorClass as m}from"./common/classes.js";import{createClass as i,createStyle as l}from"@gem-sdk/system";let CollectionPaginator=({setting:s,builderProps:a})=>{let{pageQuantity:n,align:c}=s??{},d=parseInt(n??"0");if(!d)return null;let p=t({setting:s,builderProps:a},"react"),f=i({...o()}),u=i({...m()}),g=l({...r("ta",c)});return e("div",{id:a?.uid,children:e("div",{className:u,style:g,children:e("div",{className:f,children:p})})})};export{CollectionPaginator as default};
