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