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