import{getResponsiveValueByScreen as e}from"@gem-sdk/core";function t(e){return e.split(" ").reduce((e,t)=>(e[t]=!0,e),{})}let g=({className:e,builderProps:g,isInstantLP:p,advancedCssClass:l})=>{let a=`!gp-max-w-none gp-bg-black gp-overflow-hidden [&_>_article]:gp-aspect-[var(--aspect)] tablet:[&_>_article]:gp-aspect-[var(--aspect-tablet,_var(--aspect))] mobile:[&_>_article]:gp-aspect-[var(--aspect-mobile,_var(--aspect-tablet,_var(--aspect)))] ${g?.uid}`;return p||(a+=" gp-relative"),e&&(a+=` ${e}`),l&&(a+=` ${l}`),{...g?.uid&&{[g.uid]:!0},...t(a)}},p=()=>({...t("gp-absolute gp-left-1/2 gp-top-1/2 gp-flex gp-aspect-[56/32] gp-w-14 -gp-translate-x-1/2 -gp-translate-y-1/2 gp-items-center gp-justify-center gp-rounded gp-bg-black/80 gp-transition-colors hover:gp-bg-[#ef0800]")}),l=()=>({...t("gp-w-full gp-h-full gp-object-cover")}),a=e=>{let g="gp-absolute gp-top-0 gp-left-0  gp-w-full gp-thumbnail-video gp-h-full";return e&&(g+=" gp-hidden"),{...t(g)}},s=()=>({...t("gp-w-full gp-h-full gp-object-cover")}),o=(g,p)=>{let l="gp-relative gp-bg-cover gp-bg-center gp-lite-vimeo-embed-article",a=e(p,"desktop"),s=e(p,"tablet"),o=e(p,"mobile");return g||a&&"auto"!=a||(l+=" !gp-aspect-video"),g||s&&"auto"!=s||(l+=" tablet:!gp-aspect-video"),g||o&&"auto"!=o||(l+=" mobile:!gp-aspect-video"),{...t(l)}},r=(e,g)=>{let p="gp-w-full";return e&&(p+=` ${e}`),g||(p+=" gp-lazyload-video"),{...t(p)}},i=e=>{let g="gp-h-full gp-w-full gp-relative gp-top-0 gp-left-0 gp-z-9";return e&&(g+="  gp-invisible gp-opacity-0"),{...t(g)}},u=e=>{let g="gp-absolute gp-left-1/2 gp-top-1/2 gp-flex gp-aspect-[56/32] gp-w-14 -gp-translate-x-1/2 -gp-translate-y-1/2 gp-items-center gp-justify-center gp-rounded gp-bg-black/80 gp-transition-colors hover:gp-bg-[#ef0800] gp-z-10 gp-lite-vimeo-embed-button";return e&&(g+="  gp-invisible gp-opacity-0"),{...t(g)}},b=()=>({...t("gp-inset-0 gp-w-full gp-bg-black")}),n=e=>{let g="gp-absolute gp-left-1/2 gp-top-1/2 gp-w-[68px] -gp-translate-x-1/2 -gp-translate-y-1/2 gp-lite-youtube-embed-button";return e?g+=" gp-opacity-0":g+=" gp-visible gp-opacity-100",{...t(g)}},c=()=>({...t("gp-invisible gp-w-full gp-h-full gp_lazyforbg")}),f=(e,g)=>{let p="gp-relative gp-bg-cover gp-bg-center gp-lite-youtube-embed-article";return e||(p+=" gp_lazybg"),g&&(p+=` ${g}`),{...t(p)}},m=e=>{let g="gp-inset-0 gp-w-full gp-bg-black  gp-h-full !gp-max-w-none";return e&&(g+=` ${e}`),{...t(g)}},v=()=>({...t("gp-absolute gp-left-0 gp-top-0 gp-h-full gp-w-full")});export{o as getArticleVimeoClasses,f as getArticleYoutubeClasses,p as getButtonThumbnailClasses,u as getButtonVimeoClasses,n as getButtonYoutubeClasses,g as getClasses,l as getFallbackImageClasses,b as getIframeVimeoClasses,m as getIframeYoutubeClasses,s as getImageThumbnailClasses,i as getImageVimeoClasses,c as getImageYoutubeClasses,r as getVideoYoutubeClasses,a as getWrapThumbnailClasses,v as getYoutubeContentClasses};
