"use strict";var core=require("@gem-sdk/core");function filterTruthyStyles(e){return Object.fromEntries(Object.entries(e||{}).filter(([,e])=>!!e))}const getWrapperStyle=e=>{let t={...core.makeStyleResponsive("jc",e?.textAlign)};return filterTruthyStyles(t)},getContainStyle=e=>{let{horizontalGap:t,textAlign:r}=e||{},l={gap:t,...core.makeStyleResponsive("jc",r)};return filterTruthyStyles(l)},getDateStyle=e=>{let{borderState:t,itemPadding:r,backgroundItemColor:l,roundedState:o}=e||{},y={...core.getResponsiveStylePadding(r),...core.handleConvertBorderStyle(t),...core.handleConvertBorderWidth(t),...core.handleConvertBorderColor(t),...core.composeRadius(o),...core.makeStyle({bg:core.getGlobalColorCSSProp(l)})};return filterTruthyStyles(y)},getTextFrontStyle=e=>{let{colorNumber:t,verticalGap:r}=e||{},l={};return t&&(l={...core.makeStyle({mb:r,c:core.getGlobalColorCSSProp(t)})}),filterTruthyStyles(l)},getTextBackStyle=e=>{let{colorLabel:t}=e||{},r={};return t&&(r={...core.makeStyle({c:core.getGlobalColorCSSProp(t)})}),filterTruthyStyles(r)};exports.getContainStyle=getContainStyle,exports.getDateStyle=getDateStyle,exports.getTextBackStyle=getTextBackStyle,exports.getTextFrontStyle=getTextFrontStyle,exports.getWrapperStyle=getWrapperStyle;
