import{a as g,_ as y}from"./WebContentListNew-mh7ZYUMn.mjs";import{u as h}from"./useImageUrl-1XbeiwSF.mjs";import{_ as f,o,c as s,F as w,x,y as p,l as c,b as n}from"./D3QDdvKp.js";import"./WebContentItem-w4poi7go.mjs";import"./WebImage-DvfS6dKm.mjs";import"./nuxt-link-BiyNtbCl.mjs";const C={props:{logo:{type:String},items:{type:Array,required:!0},showSummary:{type:Boolean,default:!0},titleColor:{type:String}},computed:{imageSizes(){return{tiny:250,small:320,medium:640,large:950,xlarge:1200}},logoUrl(){return`${h(this.logo,"max",!1)}`}}},S={class:"ebm-external-rss-feed"},b={key:0},k=["src"];function v(e,r,t,l,B,a){var i;const u=g,d=y;return o(),s("div",S,[t.logo?(o(),s("div",b,[(o(!0),s(w,null,x(a.imageSizes,(_,m)=>(o(),s("div",{key:m},[a.logoUrl?(o(),s("img",{key:0,src:`${a.logoUrl}&w=${_}`,class:p(["logo",m])},null,10,k)):c("",!0)]))),128))])):c("",!0),(i=e.$ss)!=null&&i.useNewDesign?(o(),n(u,{key:1,data:{items:t.items},"show-summary":t.showSummary,"image-position":"none","title-color":t.titleColor},null,8,["data","show-summary","title-color"])):(o(),n(d,{key:2,data:{items:t.items},"show-summary":t.showSummary,"image-position":"none","title-color":t.titleColor},null,8,["data","show-summary","title-color"]))])}const F=f(C,[["render",v],["__scopeId","data-v-df0dc2be"]]),W={__name:"ExternalRssFeedBlock",props:{data:{type:Object,required:!0,validator(e){return["items"].every(r=>r in e)}},settings:{type:Object,required:!0,validator(e){return["logo","titleFontColor","showSummary"].every(r=>r in e)}}},setup(e){return(r,t)=>{const l=F;return o(),n(l,{logo:e.settings.logo,items:e.data.items,"title-color":e.settings.titleFontColor,"show-summary":e.settings.showSummary},null,8,["logo","items","title-color","show-summary"])}}};export{W as default};