"use strict";var e=require("../../../common/helpers.js"),t=require("@gem-sdk/core");const o=t=>e.filterTruthy(t);exports.composeContainerStyles=(e,l)=>{let{pos:s,d:r,op:a,right:i,top:p,left:c,bottom:n,z:y,padding:m,margin:S}=e??{},g=e?.["spacing-setting"],d=t.composeAdvanceStyle({pos:s,d:r,op:a,right:i,top:p,left:c,bottom:n,z:y,padding:m,margin:S,"spacing-setting":g});return o({...d,...t.makeStyleResponsive("ta",l?.align)})},exports.composeTextareaStyles=(e,l,s)=>{let{border:r,rounded:a,hasBoxShadow:i,boxShadow:p}=e??{},{typography:c}=l??{},{globalSize:n}=s??{},y=t.composeTypographyStyle(l?.typo,c),m=t.composeAdvanceStyle({border:r,rounded:a,hasBoxShadow:i,boxShadow:p}),S=t.makeGlobalSize(n);return o({...S?.width?.["--w"]?S.width:{},...S.padding,...t.getGlobalColorStyle(l?.color),...l?.size?.type?{}:t.composeSize(l?.size?.custom),...t.makeStyle({tt:l?.transform}),...y,...m,...t.makeStyle({bc:t.getSingleColorVariable(r?.color)}),...t.getStyleShadow({value:p,styleAppliedFor:"box-shadow",isEnableShadow:i})})};
