import{cls as e,getGlobalColorStateClass as s}from"@gem-sdk/core";let getClassContainerBanner=({builderProps:s,setting:r,advanced:o})=>{let{contentPosition:a}=r??{};return composeClasses(e(s?.uid,o?.cssClass,"gp-group/hero gp-flex gp-flex-col gp-relative gp-overflow-hidden gp-transition-colors gp-duration-200 gp-ease-in-out",{"gp-justify-center":"center"===a,"gp-justify-start":"top"===a,"gp-justify-end":"bottom"===a}))},getClassContainerBackgoundImage=({setting:s})=>{let{hoverEffect:r}=s??{};return composeClasses(e("gp-absolute gp-inset-0 gp-transition-transform ",{"gp-duration-[var(--duration)] group-hover/hero:gp-scale-[var(--scale)]":"zoom"===r}))},getClassOverlayBanner=({setting:r})=>{let{overlayColor:o}=r??{};return composeClasses(e("gp-absolute gp-inset-0 gp-transition-all gp-duration-300 group-hover/hero:gp-bg-[color:var(--hvr-bgc,_var(--bgc))] group-hover/hero:gp-opacity-[var(--hvr-op,_var(--op))]",s("bg",o)))},getClassLinkBanner=()=>composeClasses("gp-absolute gp-inset-0 gp-z-1"),composeClasses=e=>e.trim().split(/\s+/).reduce((e,s)=>(e[s]=!0,e),{});export{getClassContainerBackgoundImage,getClassContainerBanner,getClassLinkBanner,getClassOverlayBanner};
