1import{b as H,_ as V}from"./Buel1yN9.js";import{_ as D}from"./D0MrgONB.js";import{_ as N}from"./DJAw_iMb.js";import{_ as P}from"./CfQcPf88.js";import{d as E,R as S,aa as G,o as l,k as F,r as m,z as T,D as z,e,A as K,c as s,B as u,X as U,E as v,g as h,m as X,K as Z,H as q}from"./DzmMXjjF.js";import{u as J}from"./_KX8eI1t.js";import{_ as O}from"./Cdyewept.js";import{d as Q}from"./bS00KlC3.js";import{t as C,u as A}from"./BZPLvFJg.js";import{i as W}from"./D-_E0le2.js";import{d as L}from"./BYTRu-Av.js";import"./BQn5VO3H.js";import"./BDlKsl4J.js";import"./DdSPAO-K.js";import"./C0KRnyn_.js";import"./DQdq_7Em.js";import"./BDaal8kW.js";import"./DOlrEPSd.js";import"./BvtVXqY7.js";import"./CcYRwkug.js";import"./DTPw5Ycm.js";import"./rfKrGHTJ.js";import"./Bqmaa44f.js";import"./Dtqp4Czw.js";import"./CEmCFsCn.js";import"./DxnLz4uQ.js";import"./C1y32zJd.js";import"./DrOwkIVW.js";import"./CQb_7WEP.js";import"./C_RBi3Co.js";import"./D3WKE-Um.js";import"./86TBCSdQ.js";import"./DgIWC6N3.js";import"./BB-olbqJ.js";import"./C-7Lbyem.js";import"./7ZBoanV9.js";import"./1uZxDz3o.js";import"./DyklOQVz.js";import"./BgOR1WYB.js";import"./Bvum4aFq.js";import"./CJ9Vi6We.js";import"./CqxolwbF.js";import"./B4eAEnw9.js";import"./DJrCJANg.js";import"./B8tf3Ems.js";import"./CZDCstAS.js";import"./Bz-qibdS.js";import"./bq8VFmwC.js";import"./DMafrwxq.js";const _=t=>{if(!t)return null;const a={to:t.link?.to??t.to??"",target:t.link?.target??t.target,title:t.link?.title??t.title??""},g={label:t.button?.label??t.label??"",disabled:t.button?.disabled??t.disabled,inverted:t.button?.inverted??t.inverted,icon:t.button?.icon??t.icon};return{link:a,button:g}},Y={"data-t-name":"header",class:"h-fit z-50 bg-white relative shadow-md w-full items-center flex flex-row justify-between px-2 md:px-6"},tt=E({__name:"LandingPageHeader",props:{logo2:{default:null},logo3:{default:null},campaignCta:{default:()=>{}}},setup(t){const a=v(null),g=v(null),b=v(!1),i=_(t.campaignCta),{homepageLink:k}=S(),n=()=>{const c=a.value,o=g.value;if(!c||!o)return;const p=Array.from(c.children).filter(x=>x!==o).reduce((x,B)=>{const I=B.getBoundingClientRect();return Math.max(x,I.right)},0),f=o.getBoundingClientRect();b.value=Math.trunc(p)<Math.trunc(f.left)};G(()=>{n(),J("resize",n)});const r=h(()=>({to:"",...i?.link,ctaType:"cta_lp_header",iconName:i?.button.icon?.prefix?.name||i?.button.icon?.suffix?.name||"",label:i?.button.label,trackingType:"cta"}));return(c,o)=>{const d=H,y=D,p=N,f=P;return l(),F("header",Y,[m("div",{ref_key:"logoContainer",ref:a,class:"flex flex-wrap items-center gap-x-8 gap-y-2 md:gap-x-4 w-full h-28 py-4"},[T(y,{to:e(k),title:("globalLabel"in c?c.globalLabel:e(K))("logo_label"),class:"pr-4"},{default:z(()=>[T(d,{class:"h-full"})]),_:1},8,["to","title"]),t.logo2?(l(),s(p,{key:0,image:t.logo2,class:"h-full","object-fit":"contain"},null,8,["image"])):u("",!0),t.logo3?(l(),s(p,{key:1,image:t.logo3,class:"h-full","object-fit":"contain"},null,8,["image"])):u("",!0),m("div",{ref_key:"ctaButtonContainer",ref:g,class:U(["min-w-36 absolute right-2 md:right-6 transition-opacity duration-200",{"opacity-0 pointer-events-none":!e(b)}])},[e(i)?(l(),s(f,{key:0,link:e(r),button:{...e(i).button,variant:"accent"}},null,8,["link","button"])):u("",!0)],2)],512)])}}}),et={class:"pt-16 sm:pt-24 w-full lg:min-h-[630px] h-fit bg-darkgreen pb-40 relative"},at=["src"],nt={class:"h-fit px-8 sm:px-0 w-full sm:w-[480px] lg:w-[800px] mx-auto text-center"},ot={class:"mb-6 text-white font-bold text-2xl sm:text-5xl lg:text-[64px] lg:leading-[72px]"},lt={class:"w-[80%] md:w-4/5 mx-auto gap-4 pt-4 flex flex-wrap justify-center"},ee=E({__name:"LandingPage",props:{children:{},page:{}},async setup(t){let a,g;const b=X("landingPageBanner"),i=h(()=>t.page.campaignCta),k=h(()=>t.page.text||""),n=_(t.page.primaryCta),r=_(t.page.secondaryCta),[c,o]=([a,g]=Z(()=>Promise.all([A([t.page.image],"LANDING_PAGE"),A([t.page.logo2,t.page.logo3].filter(W),"FULL_SIZE")])),a=await a,g(),a),d=t.page.image?.referenceId&&c.value[t.page.image.referenceId]?L(C(c.value[t.page.image.referenceId]),{altText:t.page.imageAltText,title:t.page.imageTitleText}):null,y=t.page.logo2?.referenceId&&o.value[t.page.logo2.referenceId]?L(C(o.value[t.page.logo2.referenceId]),{altText:t.page.logo2AltText,title:t.page.logo2AltText}):null,p=t.page.logo3?.referenceId&&o.value[t.page.logo3.referenceId]?L(C(o.value[t.page.logo3.referenceId]),{altText:t.page.logo3AltText,title:t.page.logo3AltText}):null,f=h(()=>({to:"",...n?.link,ctaType:"cta_lp",iconName:n?.button.icon?.prefix?.name||n?.button.icon?.suffix?.name||"",label:n?.button.label,trackingType:"cta"})),x=h(()=>({to:"",...r?.link,ctaType:"cta_lp",iconName:r?.button.icon?.prefix?.name||r?.button.icon?.suffix?.name||"",label:r?.button.label,trackingType:"cta"}));return(B,I)=>{const M=tt,R=O,w=P,$=N,j=V;return l(),s(j,{children:t.children,page:t.page,"show-breadcrumbs":!1,"show-page-header":!1},{header:z(()=>[T(M,{"campaign-cta":e(i),logo2:e(y),logo3:e(p)},null,8,["campaign-cta","logo2","logo3"]),m("section",{ref_key:"landingPageBanner",ref:b,class:"relative h-fit xl:max-h-[1096px] flex flex-col items-center"},[m("div",et,[m("img",{alt:"",src:e(Q),class:"h-[470px] sm:h-[590px] w-auto hidden xl:block text-2xl absolute left-0 translate-x-[-174px] -translate-y-[12px]"},null,8,at),m("div",nt,[m("h1",ot,q(t.page.headline),1),e(k)?(l(),s(R,{key:0,class:"relative mt-8 mb-4 **:text-white",element:e(k)},null,8,["element"])):u("",!0),m("div",lt,[e(n)?(l(),s(w,{key:0,link:e(f),button:{...e(n).button,variant:"accent"}},null,8,["link","button"])):u("",!0),e(r)?(l(),s(w,{key:1,link:e(x),button:{...e(r).button,variant:"outline",inverted:!0}},null,8,["link","button"])):u("",!0)])])]),e(d)?(l(),s($,{key:0,image:e(d),lazy:!1,fetchpriority:"high",class:"md:max-w-[1280px] w-[95%] -translate-y-12 sm:-translate-y-16 lg:-translate-y-20 max-h-[373px] md:max-h-[505px] shadow-2xl rounded-2xl overflow-hidden"},null,8,["image"])):u("",!0)],512)]),_:1},8,["children","page"])}}});
1export{ee 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.