1import{j as z,l as j,x as H,_ as N,B as V,a as A,f as M,H as q,F as D,b as E}from"./CfgPpeTU.js";import{_ as I}from"./BZE1KEME.js";import{d as G,g as r,c as b,o as c,a as e,w as a,n as J,u as l,f as g,b as w,q as d,k as y,t as $,e as K,F as O,h as Q}from"./Dwp8xOK1.js";const R=["innerHTML"],Y=G({__name:"HeroSectionBlock",props:{data:{},compact:{type:Boolean}},setup(t){const i=z(),C=j(),x=H().get("language"),s=t,m=r(()=>`color: ${s.data.textColor}`),v=r(()=>s.data.imagePosition==="background-full-width"&&!s.compact?`background-image:url(${s.data.image});background-position: center;background-color:${s.data.backgroundColor};background-size:cover;`:`background:${s.data.backgroundColor};`),B=r(()=>s.data.imagePosition==="background-full-width"?P.value:""),P=r(()=>{switch(s.data.textPosition){case"left":return"justify-start";case"right":return"justify-end";default:return"justify-center"}}),_=(u,k=!0)=>i(u.translations[0],"buttonLink")||(k?`/${x.value===C.value.country?"":x.value}${u.buttonLink}`:`${u.buttonLink}`);return(u,k)=>{const h=V,n=N,L=I,o=A,p=M,S=D,F=q,T=E;return c(),b("div",{class:"hero-section-block",style:d(l(v))},[e(T,null,{default:a(()=>[e(n,{gap:"8",class:J(["relative md:h-[460px]",l(B)])},{default:a(()=>[!t.compact&&t.data.image&&t.data.imagePosition==="left-half-width"?(c(),g(n,{key:0,class:"h-full w-full",center:"",middle:""},{default:a(()=>[e(h,{class:"w-full",source:t.data.image},null,8,["source"])]),_:1})):w("",!0),e(o,{class:"pb-8 pt-8 md:w-6/12 md:pb-0"},{default:a(()=>[e(n,{vertical:""},{default:a(()=>[e(o,null,{default:a(()=>[e(L,{level:"1",class:"text-3xl sm:text-4xl lg:text-5xl xl:text-6xl 2xl:text-7xl",uppercase:"","extra-light":"",style:d(l(m))},{default:a(()=>[y($(l(i)(t.data.translations,"title")),1)]),_:1},8,["style"])]),_:1}),e(o,{class:"pt-1 md:pt-3"},{default:a(()=>[e(p,{style:d(l(m)),class:"text-lg xl:text-xl 2xl:text-2xl"},{default:a(()=>[K("span",{innerHTML:l(i)(t.data.translations,"text")},null,8,R)]),_:1},8,["style"])]),_:1}),e(o,{class:"pt-10"},{default:a(()=>[e(n,{class:"w-full sm:w-auto",gap:t.compact?"2":"6"},{default:a(()=>[(c(!0),b(O,null,Q(t.data.buttons,f=>(c(),g(o,{key:_(f,!1),class:"w-1/2 sm:w-auto"},{default:a(()=>[e(F,{path:`${_(f)}`},{default:a(()=>[e(S,{class:"w-full",white:"",compact:t.compact},{default:a(()=>[e(p,{size:t.compact?"base":"lg",uppercase:"","break-word":"",style:d(l(m))},{default:a(()=>[y($(l(i)(f.translations[0],"buttonText")),1)]),_:2},1032,["size","style"])]),_:2},1032,["compact"])]),_:2},1032,["path"])]),_:2},1024))),128))]),_:1},8,["gap"])]),_:1})]),_:1})]),_:1}),!t.compact&&t.data.image&&(t.data.imagePosition==="right-half-width"||!t.data.imagePosition)?(c(),g(n,{key:1,class:"h-full w-full",center:"",middle:""},{default:a(()=>[e(h,{class:"w-full",source:t.data.image},null,8,["source"])]),_:1})):w("",!0)]),_:1},8,["class"])]),_:1})],4)}}});export{Y 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.