1import{u as b}from"./mediaqueries.59013988.js";import{d as _,u as y,c as u,z as w,e as o,h as e,t as m,n as d,k as r,Z as c,j as x,w as k,ag as v,o as a,g as D}from"./entry.f950ca0e.js";import{s as I}from"./cms.174926e6.js";import{_ as U}from"./_plugin-vue_export-helper.a5752213.js";(function(){try{var l=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},t=new Error().stack;t&&(l._sentryDebugIds=l._sentryDebugIds||{},l._sentryDebugIds[t]="3c2f7cef-04de-4a1f-b4aa-cb0d81fcc374",l._sentryDebugIdIdentifier="sentry-dbid-3c2f7cef-04de-4a1f-b4aa-cb0d81fcc374")}catch{}})();(function(){try{var l=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},t=new Error().stack;t&&(l._sentryDebugIds=l._sentryDebugIds||{},l._sentryDebugIds[t]="9e9a1451-159c-403a-bed6-9dac43e2306e",l._sentryDebugIdIdentifier="sentry-dbid-9e9a1451-159c-403a-bed6-9dac43e2306e")}catch{}})();const C=["aria-label"],B={key:0,class:"sr-only"},q={class:"relative hero"},H={key:0},T=["srcset"],z=["src","alt"],$={class:"flex flex-col md:absolute md:left-6 md:bottom-0.5 xl:bottom-6"},E=["src"],M={key:1,class:"p-6 bg-white"},N={class:"text-sm leading-6"},S=_({name:"TheHero"}),V=_({...S,props:{title:{default:""},titleFontSize:{default:"large"},backgroundUrlDesktop:{default:""},backgroundUrlMobile:{default:""},iconUrl:{default:""},description:{default:""},overlay:{type:Boolean,default:!1},template:{default:void 0},heroAlt:{default:""},suppressH1:{type:Boolean,default:!1}},setup(l){const t=l,{mq:i}=b(),{t:p}=y(),n=u(()=>t.backgroundUrlMobile||t.backgroundUrlDesktop),h=u(()=>{if(t.overlay)return["hero__overlay"]}),g=u(()=>t.template?I(t.template,"hero").join(" "):""),f=u(()=>t.titleFontSize==="large");return w(()=>({link:[{rel:"preload",as:"image",href:`${n.value}?w=568&h=284&fit=fill&fm=webp&q=85`,media:"(max-width: 768px)"},{rel:"preload",as:"image",href:`${t.backgroundUrlDesktop}?w=1900&h=528&fit=fill&fm=webp&q=85`,media:"(min-width: 768px)"}]})),(s,j)=>(a(),o("div",{role:"region","data-test":"hero-section","aria-label":e(p)("main_page.hero_section")},[!s.suppressH1&&(!e(f)||!s.title)?(a(),o("h1",B,m(s.title||e(p)("main_page.hero_section")),1)):d("",!0),r("div",q,[e(n)?(a(),o("picture",H,[r("source",{srcset:`${s.backgroundUrlDesktop}?w=1900&h=528&fit=fill&fm=webp&q=85`,media:"(min-width: 768px)"},null,8,T),r("img",{src:`${e(n)}?w=568&h=284&fit=fill&fm=webp&q=85`,alt:s.heroAlt,class:"relative w-full"},null,8,z)])):(a(),o("div",{key:1,class:c(["image-fallback",e(g)])},null,2)),r("div",{class:c(e(h))},[r("div",$,[r("div",{class:c(["absolute bottom-0 flex items-center p-6 md:relative md:pt-0 md:pr-0",{"text-white":e(n)}])},[s.iconUrl?(a(),o("img",{key:0,class:"w-6 h-6 mr-2 md:w-12 md:h-12 md:mr-4 lg:w-16 lg:h-16",src:s.iconUrl,alt:"","aria-hidden":"true"},null,8,E)):d("",!0),s.title?(a(),x(v(e(f)?"h1":"h2"),{key:1,class:c(["leading-tight font-heading",{"text-2xl md:text-4xl lg:text-6xl 2xl:text-7xl":e(f),"text-xl md:text-2xl lg:text-4xl 2xl:text-5xl":!e(f)}])},{default:k(()=>[D(m(s.title),1)]),_:1},8,["class"])):d("",!0)],2),e(i).xsmall||e(i).small?d("",!0):(a(),o("p",{key:0,class:c(["px-6 pb-5 text-lg leading-6",{"text-white":e(n)}])},m(s.description),3))])],2)]),(e(i).xsmall||e(i).small)&&s.description?(a(),o("div",M,[r("p",N,m(s.description),1)])):d("",!0)],8,C))}});const G=U(V,[["__scopeId","data-v-42af47ac"]]);export{G as _};
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.