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