"use strict";var system=require("@gem-sdk/system"),core=require("@gem-sdk/core");const getStyles=(e,t)=>{let{styles:s,justifyContent:o,order:r,layout:i,parentTag:l,children:n}=e,c=core.getResponsiveValue(i,"display"),a={},p=["IconListItem","ThirdPartySlot"];for(let e of core.DEVICES)a[e]="fit"===core.getResponsiveValueByScreen(c,e)||i&&core.isColumnDirectionExist(i,e)||p.includes(l||"")?"none":s?.display?.[e];let y=()=>{let e=Object.fromEntries(Object.entries(s?.order??{}).map(([e,t])=>[e,String(t)])),o=r??e;return t?{desktop:o?.desktop,tablet:o?.desktop,mobile:o?.desktop}:o},m=system.createStyle({...core.makeStyleResponsive("cg",s?.gap),...core.makeStyleResponsive("rg",s?.gap),...core.makeStyleResponsive("ai",s?.alignItem),...core.makeStyleResponsive("jc",o??s?.justifyContent),...core.makeStyleResponsive("o",y()),...core.makeStyleResponsive("d",n?s?.display:a)});return{colStyle:m}};exports.getStyles=getStyles;
