import{makeStyleResponsive as e}from"@gem-sdk/core";import{makeStyleResponsiveRatio as t}from"./helpers.js";function r(e){return Object.fromEntries(Object.entries(e||{}).filter(([,e])=>!!e))}let l=(t,l)=>{let{aspectRatio:o}=t||{},u={...l,...e("aspect",o)};return r(u)},o=t=>{let l={...e("aspect",t)};return r(l)},u=t=>{let l={...e("aspect",t)};return r(l)},i=t=>{let l={...e("aspect",t)};return r(l)},a=t=>{let l={...e("aspect",t)};return r(l)},g=()=>r({"--op":0,"--z":-1,display:"none",width:"100%",height:"auto"}),n=t=>{let l={...e("aspect",t),position:"absolute",height:"100%",width:"100%"};return r(l)},s=(e,l)=>{let o={backgroundImage:`url(${l})`,...t("aspect",e)};return r(o)},c=e=>{let t={...e,position:"absolute",height:"100%",width:"100%"};return r(t)},m=(e,t)=>{let l={...e};return t&&(l={"background-image":`url(${t})`,...l}),r(l)};export{s as getArticleVimeoStyle,m as getArticleYoutubeStyle,a as getFallBackImageStyle,i as getHtml5Style,n as getIframeVimeoStyle,c as getIframeYoutubeStyle,g as getPreloadImageStyle,l as getStyle,u as getVimeoStyle,o as getYoutubeStyle};
