"use strict";var core=require("@gem-sdk/core");const getPaginatorStyle=(e,o,r)=>({...o,...e?{...core.makeStyle({c:core.getGlobalColorCSSProp(r),bc:core.getGlobalColorCSSProp(r)})}:{}}),getCustomStyle=e=>{let{typo:o,layout:r,typographyPaginator:t,itemSpacing:l,buttonSizeNumber:c,buttonShape:p,normalColor:S}=e??{},a=core.composeTypographyStyle(o,t),m=core.composeMemo(()=>core.removeNullUndefined({...a,...core.makeStyle({ml:l,mr:l,bc:core.getGlobalColorCSSProp(S),c:core.getGlobalColorCSSProp(S)})}),[l,S,o,t?.custom,t?.type]);if("simple"!=r&&(m={...m,...core.makeStyle({h:c+"px",w:c+"px",pr:"10px",pl:"10px"})},"circle"===p)){let e=c?c/2+"px":"1000px";m={...m,...core.makeStyle({bblr:e,bbrr:e,btlr:e,btrr:e})}}return m};exports.getCustomStyle=getCustomStyle,exports.getPaginatorStyle=getPaginatorStyle;
