import{cls as e,composeTypographyClassName as t}from"@gem-sdk/core";let getClassContainerLine=({className:t,styles:s,advanced:l})=>{let{align:o}=s??{};return composeClasses(e("gp-flex",{"gp-justify-start":o?.desktop==="left","gp-justify-center":o?.desktop==="center","gp-justify-end":o?.desktop==="right","tablet:gp-justify-start":o?.tablet==="left","tablet:gp-justify-center":o?.tablet==="center","tablet:gp-justify-end":o?.tablet==="right","mobile:gp-justify-start":o?.mobile==="left","mobile:gp-justify-center":o?.mobile==="center","mobile:gp-justify-end":o?.mobile==="right"},t,l?.cssClass))},getClassWrapNotIcon=({className:t,setting:s})=>{let{enableIconText:l}=s??{};return composeClasses(e({"gp-hidden":l?.desktop,"gp-block":!l?.desktop,"tablet:gp-hidden":l?.tablet,"tablet:gp-block":!l?.tablet,"mobile:gp-hidden":l?.mobile,"mobile:gp-block":!l?.mobile},t))},getClassWrapIcon=({className:t,setting:s})=>{let{enableIconText:l}=s??{};return composeClasses(e("gp-items-center",{"gp-hidden":!l?.desktop,"gp-flex":l?.desktop,"tablet:gp-hidden":!l?.tablet,"tablet:gp-flex":l?.tablet,"mobile:gp-hidden":!l?.mobile,"mobile:gp-flex":l?.mobile},t))},getClassIcon=()=>composeClasses(e("gp-inline-flex gp-flex-none gp-items-center gp-justify-center")),getClassText=({styles:s})=>{let l=t(s?.typo,s?.typography);return composeClasses(e("gp-inline-flex gp-flex-none gp-items-center gp-justify-center",l))},getClassContainerDivider=({className:t,fixedSide:s,config:l})=>composeClasses(e({"gp-hidden":l?.position===s,"gp-flex":l?.position!==s},t));function composeClasses(e){return e.split(" ").reduce((e,t)=>(e[t]=!0,e),{})}export{getClassContainerDivider,getClassContainerLine,getClassIcon,getClassText,getClassWrapIcon,getClassWrapNotIcon};
