'use client';
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var jsxRuntime=require("react/jsx-runtime"),core=require("@gem-sdk/core"),helpers=require("./common/helpers.js"),classes=require("./common/classes.js"),system=require("@gem-sdk/system");const CollectionPaginator=({setting:e,builderProps:s})=>{let{pageQuantity:r,align:t}=e??{},a=parseInt(r??"0");if(!a)return null;let l=helpers.renderPaginatorItem({setting:e,builderProps:s},"react"),i=system.createClass({...classes.getPaginatorWrapperClass()}),n=system.createClass({...classes.getPaginatorClass()}),c=system.createStyle({...core.makeStyleResponsive("ta",t)});return jsxRuntime.jsx("div",{id:s?.uid,children:jsxRuntime.jsx("div",{className:n,style:c,children:jsxRuntime.jsx("div",{className:i,children:l})})})};exports.default=CollectionPaginator;
