import{aK as u,aB as b,aC as p,F as k}from"./BmsEUx_s.js";import{k as f,G as _,H as C,m as n}from"./BO9AmBA3.js";const v=f({__name:"CmsGenericBlock",props:{content:{}},setup(l){const o=l,i=()=>{var s,c,r;const{resolvedComponent:t,componentName:a,isResolved:d}=u(o.content);if(t){if(!d)return n("div",{},"Problem resolving component: "+a);const{cssClasses:m,layoutStyles:e}=b(o.content);e.backgroundImage&&(e.backgroundImage=p(e.backgroundImage,o.content));const g={backgroundColor:e.backgroundColor,backgroundImage:e.backgroundImage};return e.backgroundColor=null,e.backgroundImage=null,n("div",{style:g,class:"cms-block","data-mobile":(s=o.content.visibility)==null?void 0:s.mobile,"data-tablet":(c=o.content.visibility)==null?void 0:c.tablet,"data-desktop":(r=o.content.visibility)==null?void 0:r.desktop},n(t,{content:o.content,style:e,class:{...m,"md:hidden":!1,"lg:hidden":!1,"xl:hidden":!1}}))}return n("div",{},"Loading...")};return(t,a)=>(_(),C(i))}}),h=k(v,[["__scopeId","data-v-f931c4eb"]]);export{h as default};