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