1import{W as _,B as $}from"#entry";import{D as w,E as f,$ as s,L as o,Z as h,a9 as p,ad as d,ac as r,ab as c,X as l,aa as n,aE as C,C as t,ay as S,a8 as z,aN as B,f as v,az as T}from"./BZS6mqMC.js";import{_ as I}from"./Z9EXHVsN.js";import{_ as y}from"./CViM96fn.js";import{_ as D}from"./C7_eb5qT.js";import"./BpErUTaN.js";const N={key:0,class:"absolute inset-0 z-0"},V={class:"size-full [&_img]:size-full [&_img]:object-cover"},j={class:"z-10 flex flex-col gap-2xs on-surface:text-white"},E={key:0,class:"heading-4"},A={key:0,class:"text-sm"},G={key:0},L={key:1,class:"z-10 flex flex-wrap gap-2xs on-surface:text-white"},M=["href"],R=w({__name:"ContentTeaser",props:{background:{default:"brand-neutral"},headline:{default:""},description:{default:""},href:{default:"#"},buttonText:{default:"Button"},overlayStyle:{default:void 0}},setup(m){const i=m,u={"brand-neutral":"bg-neutral","brand-essentials":"bg-petrol-dark","brand-one":"bg-one","brand-one-light":"bg-one-light","brand-sports":"bg-sports","brand-sports-light":"bg-sports-light","brand-aesthetics":"bg-aesthetics","brand-aesthetics-light":"bg-aesthetics-light","surface-neutral-white":"bg-neutral-white","surface-gold":"bg-gold","surface-gold-light":"bg-gold-light","surface-warm":"bg-gold-lightest","surface-cool":"bg-neutral-cool","surface-pets":"bg-pets","surface-petrol-dark":"bg-petrol-dark"},a=f(()=>u[i.background||"brand-neutral"]),k=f(()=>i.overlayStyle==="dark"?"bg-neutral-inverse":"bg-neutral"),b=f(()=>i.overlayStyle==="dark"?"bg-neutral-inverse/70":"bg-neutral/60");return(e,g)=>(s(),o("div",{class:p(["relative flex flex-col gap-md px-lg py-2xl",e.$slots.image?k.value:a.value])},[e.$slots.image?(s(),o("div",N,[h("div",{class:p(["absolute inset-0",b.value])},null,2),h("div",V,[d(e.$slots,"image")])])):r("",!0),h("div",j,[d(e.$slots,"headline",{},()=>[e.headline?(s(),o("p",E,c(e.headline),1)):r("",!0)]),e.$slots.description||e.description?(s(),o("div",A,[d(e.$slots,"description",{},()=>[e.description?(s(),o("p",G,c(e.description),1)):r("",!0)])])):r("",!0)]),e.$slots.cta||e.buttonText&&e.href?(s(),o("div",L,[d(e.$slots,"cta",{},()=>[e.buttonText&&e.href?(s(),o("a",{key:0,href:e.href},[l(t($),null,{default:n(()=>[C(c(e.buttonText)+" ",1),l(t(_),{class:"icon-sm"})]),_:1})],8,M)):r("",!0)])])):r("",!0)],2))}}),J=w({__name:"ContentTeaser",props:{blok:{}},setup(m){const i=v("isInGrid",!1),u=v("isInContentSection",!1);return(a,k)=>{var e,g;const b=T("editable");return S((s(),z(t(R),{class:p([!t(i)&&!t(u)&&"my-xl"]),background:a.blok.background,"button-text":a.blok.cta_label,"overlay-style":a.blok.style||void 0},B({description:n(()=>[l(t(y),{text:a.blok.description},null,8,["text"])]),_:2},[a.blok.headline?{name:"headline",fn:n(()=>[l(t(y),{class:"heading-4",text:a.blok.headline},null,8,["text"])]),key:"0"}:void 0,(e=a.blok.background_image)!=null&&e.filename?{name:"image",fn:n(()=>[l(I,{image:a.blok.background_image,alt:"",class:"size-full object-cover",sizes:"xs:100vw md:50vw lg:50vw"},null,8,["image"])]),key:"1"}:void 0,(g=a.blok.cta_link)!=null&&g.cached_url&&a.blok.cta_label?{name:"cta",fn:n(()=>[l(t($),{"as-child":""},{default:n(()=>[l(t(D),{link:a.blok.cta_link,class:"text-base font-semibold"},{default:n(()=>[C(c(a.blok.cta_label)+" ",1),l(t(_))]),_:1},8,["link"])]),_:1})]),key:"2"}:void 0]),1032,["class","background","button-text","overlay-style"])),[[b,a.blok]])}}});export{J 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.