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