import{handleConvertClassColor as e,getGlobalColorStateClass as t}from"@gem-sdk/core";let g=({styles:g,builderProps:i})=>{let{bgColor:r,iconBorder:p}=g??{},n=e(p),l=t("bg",r);return{"icon-wrapper gp-inline-flex gp-overflow-hidden":!0,...i?.uid&&{[i.uid]:!0},...n&&{[n]:!0},[l]:!0}},i=({styles:e})=>{let{color:g,spin:i}=e??{},r=t("text",g);return{"gp-inline-flex gp-items-center gp-justify-center gp-overflow-hidden [&>svg]:!gp-h-[var(--height-desktop)] [&>svg]:!gp-w-auto tablet:[&>svg]:!gp-h-[var(--height-tablet)] mobile:[&>svg]:!gp-h-[var(--height-mobile)]":!0,...i&&{"gp-animate-spin":!0},[r]:!0}};export{g as getContainerClasses,i as getIconClasses};
