"use strict";var core=require("@gem-sdk/core"),helper=require("../../common/helper.js");const getClasses=({builderProps:e,styles:s})=>{let{align:t}=s??{},l="gp-flex gp-w-full ";return e?.uid&&(l+=e?.uid?.toLocaleLowerCase()),{...core.composeClasses(l),"gp-justify-start":"left"===t,"gp-justify-end":"right"===t,"gp-justify-center":"center"===t}},getComponentClasses=e=>{let s=helper.checkIsValidURL(e||"");return{"gp-underline":!s}},getTextClasses=e=>{let s=helper.checkIsValidURL(e||"");return{...core.composeClasses("!gp-break-normal gp-leading-[15px] gp-min-w-fit [&>*]:gp-text-center [&>*]:gp-inline-block "),"[&>*]:gp-underline":!s}},getElementMarginClasses=()=>({"gp-h-2":!0});exports.getClasses=getClasses,exports.getComponentClasses=getComponentClasses,exports.getElementMarginClasses=getElementMarginClasses,exports.getTextClasses=getTextClasses;
