"use strict";var helpers$1=require("../../../common/helpers.js"),core=require("@gem-sdk/core"),helpers=require("../../../../image/common/helpers.js");const composeStyles=e=>helpers$1.filterTruthy(e),composeContainerStyles=e=>composeStyles({...core.makeStyleResponsive("ta",e?.align)}),composeFormCheckboxStyles=(e,o,t)=>{let{typography:r,horizontalSpacing:s}=e??{},{wrapperBorder:l,borderRadius:p,shadow:c,globalSize:m}=o??{},a=core.composeTypographyStyle(e?.typo,r),y=core.makeGlobalSize(m);return composeStyles({...y?.width?.["--w"]?y.width:{"--w":"100%"},...a,...core.getStyleBackgroundByDevice(e?.background),...core.makeStyle({cg:s}),...core.getBorderStyle(l),...core.getBorderRadiusStyle(p),...helpers.overwriteDefaultRadius(t?.builderData?.advanced?.rounded),...core.getStyleShadow({value:c,styleAppliedFor:"box-shadow",isEnableShadow:c?.type!=="none"}),...y.padding})},composeFormCheckboxInputStyles=()=>composeStyles({appearance:"auto"}),getComposedTextStyle=e=>{let{horizontalSpacing:o}=e??{};return composeStyles({...core.makeStyleResponsive("pl",o)})};exports.composeContainerStyles=composeContainerStyles,exports.composeFormCheckboxInputStyles=composeFormCheckboxInputStyles,exports.composeFormCheckboxStyles=composeFormCheckboxStyles,exports.getComposedTextStyle=getComposedTextStyle;
