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