import{b as x,g as y,a as S,B as D,S as L}from"./chunk-BxOEGRdV.js";import{_ as b,j as n,o as a,c,f as s,t as p,v as B,b as m,w as g,l as d,n as o,g as k,F as C,e as H,m as A}from"./chunk-VdC208LP.js";import{a as N}from"./chunk-CDws8Ys7.js";import{r as z,n as $}from"./chunk-BDWfaWzc.js";import{s as V}from"./chunk-evWSYW8S.js";const E={components:{BasicImage:x,BasicLink:y},props:{headline:String,bgColor:{type:String,default:"#fff"},coopLogo:{type:Object,default:null},coopText:String,coopTextColor:{type:String,default:"#949494"},textColor:{type:String,default:"#fff"},link:{type:Object,default:null}}},U={class:"modableTeaserBlockHeader__coopInfo"};function j(t,r,e,f,h,i){const l=n("BasicImage"),_=n("BasicLink");return a(),c("div",{class:"modableTeaserBlockHeader__wrapper",style:B(`background-color:${e.bgColor}`)},[s("span",{class:"modableTeaserBlockHeader__headline",style:B(`color:${e.textColor}`)},p(e.headline),5),s("div",U,[s("span",{class:"modableTeaserBlockHeader__coopText",style:B(`color:${e.coopTextColor}`)},p(e.coopText),5),e.link?(a(),m(_,{key:0,data:e.link,class:"teaserBlockLink"},{default:g(()=>[d(l,{"image-data":e.coopLogo,"lazy-loading":!0,class:"modableTeaserBlockHeader__coopLogo"},null,8,["image-data"])]),_:1},8,["data"])):(a(),m(l,{key:1,"image-data":e.coopLogo,"lazy-loading":!0,class:"modableTeaserBlockHeader__coopLogo"},null,8,["image-data"]))])],4)}const M=b(E,[["render",j]]),q={components:{ArrowIcon:S},props:{sliderPrevClass:{type:String,default:""},sliderNextClass:{type:String,default:""}}},F={class:"sliderButtons"};function R(t,r,e,f,h,i){const l=n("ArrowIcon");return a(),c("div",F,[s("button",{class:o(["swiper-prev",e.sliderPrevClass])},[d(l,{rotation:180})],2),s("button",{class:o(["swiper-next",e.sliderNextClass])},[d(l,{rotation:0})],2)])}const W=b(q,[["render",R],["__scopeId","data-v-0fa48109"]]),K={components:{BasicButton:D,BasicImage:x,BasicLink:y,ModableTeaserBlockHeader:M,Slider:L,SliderButtons:W,TeaserBlockHeader:N},props:{bgColor:String,textColor:String,coopText:String,coopTextColor:{type:String,default:"#949494"},coopLogo:{type:Object,default:null},link:{type:Object,default:null},headline:String,trackingId:{type:String,default:""},teasers:{type:Array,default:()=>[]}},computed:{id(){return V(this.headline)},swiperId(){return`swiper-id-${this.id}`},swiperNext(){return`swiper-next-${this.id}`},swiperPrev(){return`swiper-prev-${this.id}`},swiperPagination(){return`swiper-pagination-${this.id}`},impolicy(){return this.$mobileHeaderIsSet?"busdev_teaser_mobile":"busdev_teaser_desktop"},isAd(){return this.teasers[0].isAd}},mounted(){this.initSwiper()},methods:{initSwiper(){return this.$swiper(`.${this.swiperId}`,{slidesPerView:1.75,loop:!0,loopedSlides:5,spaceBetween:12,breakpoints:{[z]:{loop:!0,loopedSlides:this.teasers.length,slidesPerView:5,spaceBetween:20}},navigation:{prevEl:`.${this.swiperPrev}`,nextEl:`.${this.swiperNext}`},pagination:{el:`.${this.swiperPagination}`,type:"bullets",clickable:!0,dynamicBullets:!0}})},lazyLoadingActive(t,r){return this.$mobileHeaderIsSet?t>=2&&t