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