1import{B as b,o as r,f as s,q as o,v as m,R as c,g as l,U as i,F as h,t as a,j as v,i as n,V as B}from"./zD-EGUJh.js";import{_ as C}from"./CYYMCP4T.js";const U={key:0,autoplay:"",muted:"",loop:"",playsinline:"",class:"hero-video"},w=["src"],P={class:"mb-0"},T={class:"bigger-h1"},F={class:"text-secondary-top"},I={class:"h5 text-secondary-bottom"},_={class:"big-h1"},S={__name:"HeroContainer",props:{hero:{type:Object,required:!0}},setup(e){const t=e,d=n(()=>t.hero.layerDark?"layer-dark":""),g=n(()=>t.hero.ctaText&&t.hero.ctaLink&&t.hero.ctaStyle),x=n(()=>t.hero.textPosition==="left"?"hero-row hero-row-left":t.hero.textPosition==="center"?"hero-row hero-row-center":t.hero.textPosition==="right"?"hero-row hero-row-right":""),y=n(()=>t.hero.textPosition==="left"?"hero-col align-items-start":t.hero.textPosition==="center"?"hero-col align-items-center":t.hero.textPosition==="right"?"hero-col align-items-start":""),u=n(()=>t.hero.backgroundImageUrl?t.hero.backgroundImageUrl:C(t.hero.backgroundImage?.url)),f=n(()=>t.hero.videoUrl?{backgroundColor:"#000"}:u.value?{backgroundImage:`url(${u.value})`}:{backgroundColor:"#F2F2F2"});return(L,V)=>{const k=B;return r(),s("div",{class:c(`hero-image ${l(d)}`),style:i(l(f))},[e.hero.videoUrl?(r(),s("video",U,[o("source",{src:e.hero.videoUrl,type:"video/mp4"},null,8,w)])):m("",!0),o("div",{class:c(`${l(x)} container`)},[o("div",{class:c(l(y))},[o("span",{style:i({color:e.hero.textColor})},[e.hero.layout==="main"?(r(),s(h,{key:0},[o("h2",P,a(e.hero.textTop),1),o("h1",T,a(e.hero.textBottom),1)],64)):e.hero.layout==="secondary"?(r(),s(h,{key:1},[o("h1",F,a(e.hero.textTop),1),o("h2",I,a(e.hero.textBottom),1)],64)):(r(),s(h,{key:2},[o("h1",_,a(e.hero.textTop),1),o("p",null,a(e.hero.textBottom),1)],64))],4),l(g)?(r(),v(k,{key:0,text:e.hero.ctaText,link:e.hero.ctaLink,style:i(e.hero.ctaStyle),"aria-label":e.hero.ctaAriaLabel,target:e.hero.ctaTarget,class:"margin-from-text"},null,8,["text","link","style","aria-label","target"])):m("",!0)],2)],2)],6)}}},q=b(S,[["__scopeId","data-v-38796fad"]]);export{q 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.