1import{d as x,Y as y,b9 as C,c as r,b as i,o as a,H as u,k as t,l as s,h as l,a as o,g as T,W as S,X as w,t as k,I as B,K as P,am as I,m as L,C as E,f as _,ba as R,bb as D,_ as N,w as O,r as V,F as $,j as F}from"./Cdma0c0o.js";import{B as M}from"./I-9_TdlR.js";import{R as z}from"./BRInCMfI.js";import{M as j}from"./l1OykVI3.js";const A={class:"subteaser-tile-item__image"},H={class:"subteaser-tile-item__description"},K={key:0,class:"subteaser-tile-item__cta"},W={key:0,class:"subteaser-tile-item__link","aria-hidden":"true"},Y={class:"arrow"},G={class:"subteaser-tile-item__overlay-label"},U=x({__name:"SubTeaserTilesItem",props:{blok:{}},setup(e){const{t:d}=y(),{translationExists:m}=C(),b=s(()=>!!e.blok.ctaLink?.url),c=s(()=>!R(e.blok.text)&&e.blok.withoutPrice&&!e.blok.ctaText),n=s(()=>m(e.blok.ctaText??"")?d(e.blok.ctaText??""):e.blok.ctaText),v=s(()=>n.value||e.blok.headline),f=s(()=>n.value&&e.blok.headline&&n.value!==e.blok.headline?`${e.blok.headline}: ${n.value}`:void 0),h=s(()=>{if(!(e.blok.withoutPrice||!e.blok.priceCurrent))return{isPriceFrom:!0,priceCurrent:e.blok.priceCurrent}}),g=s(()=>!!D(e.blok));return(J,Q)=>e.blok.ctaLink?(a(),r("div",{key:0,class:u(["subteaser-tile-item",{"subteaser-tile-item--clickable":t(b)}])},[l("div",A,[T(w,{class:u({"no-scale":!e.blok.ctaLink?.url&&e.blok.withoutPrice}),sizes:t(j).SUBTEASER_ITEM,src:e.blok.image.filename,provider:t(S).STORYBLOK},null,8,["class","sizes","src","provider"])]),l("div",{class:u(["subteaser-tile-item__content",{"subteaser-tile-item__content--centered":t(c)}])},[l("div",H,[t(g)?(a(),o(M,{key:0,item:e.blok},null,8,["item"])):i("",!0),l("p",{class:u(["subteaser-tile-item__title",{"subteaser-tile-item__title--centered":t(c)}])},k(e.blok.headline),3),e.blok.text?.content?.[0]?.content?(a(),o(z,{key:1,class:"subteaser-tile-item__text",doc:e.blok.text,"without-links":""},null,8,["doc"])):i("",!0)]),e.blok.ctaText&&e.blok.ctaLink?.url||!e.blok.withoutPrice?(a(),r("div",K,[e.blok.ctaText?(a(),r("div",W,[B(k(t(n))+" ",1),l("span",Y,[T(P,{class:"arrow__icon",name:"arrow-right"})])])):t(h)?(a(),o(I,L({key:1,"is-highlighted":"","is-large":""},t(h)),null,16)):i("",!0)])):i("",!0)],2),t(b)?(a(),o(E,{key:0,to:e.blok.ctaLink.url,class:"subteaser-tile-item__overlay","aria-label":t(f),"data-fs":e.blok.fullStoryData},{default:_(()=>[l("span",G,k(t(v)),1)]),_:1},8,["to","aria-label","data-fs"])):i("",!0)],2)):i("",!0)}}),X=N(U,[["__scopeId","data-v-be907ee7"]]),Z={class:"subteaser-tile"},q=x({__name:"SubTeaserTiles",props:{blok:{}},setup(e){return(d,m)=>{const b=V("editable");return O((a(),r("section",Z,[(a(!0),r($,null,F(e.blok.items,c=>(a(),o(X,{key:c._uid,blok:c},null,8,["blok"]))),128))])),[[b,e.blok]])}}}),se=Object.assign(q,{__name:"SubTeaserTiles"});export{se as default};
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.