1import{_ as d}from"./Dv3IKxac.js";import{_ as p}from"./Cs2IV45D.js";import{_ as g}from"./BHxpoVYy.js";import{_ as u}from"./DlwTQUuT.js";import{_}from"./CFjRaLDM.js";import{d as f,j as c,m as h,i as s,l as i,o as n,x as D,c as m,z as k}from"./DBXVTj02.js";import"./CpuKX2Cn.js";import"./5PyF7hHB.js";const L={class:"teaser-grid__image"},y=["alt"],H={key:0,class:"teaser-grid__headline"},W=["innerHTML"],U=f({__name:"GridTeaserSmart",props:{componentData:{},componentIndex:{type:Number,default:null}},setup(t){const o=t,a=()=>{let e=null;return o.componentData?.content&&o.componentData.content.images&&o.componentData.content.images.length>0&&(e=o.componentData.content.images[0]),e};return(e,x)=>{const l=d,r=p;return t.componentData&&t.componentData.content?(n(),c(r,{key:0,destination:("getLinkDestinationWithLocale"in e?e.getLinkDestinationWithLocale:s(g))(t.componentData.content.url)},{default:h(()=>[D("div",L,[a()?(n(),c(l,{key:0,"component-data":a(),"component-index":t.componentIndex,format:"720x405",alt:a()?.storageOptions.fileName},null,8,["component-data","component-index","alt"])):(n(),m("img",{key:1,src:_,alt:t.componentData.content.title,width:"720",height:"405",class:"img-fluid",loading:"lazy"},null,8,y))]),t.componentData.content.title?(n(),m("div",H,k(t.componentData.content.title),1)):i("",!0),t.componentData.content.subtitle?(n(),m("div",{key:1,class:"teaser-grid__meta",innerHTML:("getHtmlWithParsedUrls"in e?e.getHtmlWithParsedUrls:s(u))(t.componentData.content.subtitle)},null,8,W)):i("",!0)]),_:1},8,["destination"])):i("",!0)}}});export{U 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.