1import{x as h,l as n,p as l,o as f,m as c,aa as t,a0 as B,Z as T,n as w,aj as O,W as F,b0 as _,F as $,ai as C,u as k,ah as S,aY as H,aT as L,a6 as R,a4 as j,a as K,b2 as Y,Y as Z,e as G,aO as q,az as V,f as I,t as M,as as b}from"./B48720pF.js";import{_ as A}from"./Dfmp04cT.js";import{_ as J}from"./DuuIAHnE.js";import{u as Q}from"./BeHjxEPg.js";import{u as X}from"./B61J54Gx.js";import"./DAtltRl5.js";import"./AX2vT3d4.js";const ee=["viewBox"],te={key:0,d:"M-730 95c279.2 0 420.7-16.7 557.8-32.8C-34.2 45.9 96.3 30.6 364 30.6c267.7 0 398.2 15.3 536.2 31.6C1037.3 78.2 1178.8 95 1458 95c279.2 0 420.7-16.7 557.8-32.8 138-16.3 268.5-31.6 536.2-31.6V0H-730v95z",fill:"#fff"},ae={key:1,width:"100%",height:"1280",fill:"#fff"},ne=["y"],D=h({__name:"WaveBg",props:{waveType:{default:"wave-2x-padding"}},setup(v){const e=v,u=n(()=>e.waveType==="wave-2x-padding"),r=n(()=>e.waveType==="wave-1x-padding"),a=n(()=>e.waveType==="wave-middle"),o=n(()=>a.value?"0 0 1440 1440":r.value?"0 0 1440 160":"0 0 1440 95");return(i,p)=>(t(),l("svg",{fill:"none",xmlns:"http://www.w3.org/2000/svg",viewBox:o.value},[u.value?(t(),l("path",te)):f("",!0),a.value?(t(),l("rect",ae)):f("",!0),r.value||a.value?(t(),l("svg",{key:2,y:[a.value?"1275":"0"]},p[0]||(p[0]=[c("path",{d:"M1440 113.9c-10.33-2.1-20.66-4.31-30.99-6.62-236.81-52.96-473.62-52.96-710.43 0-232.86 52.08-465.72 52.94-698.58 2.6V0h1440v113.9z",fill:"#fff","fill-opacity":".3"},null,-1),c("path",{d:"M0 89.73V32.29C253.03-.11 506.06 7.94 759.08 56.42c-9.19 2.46-18.37 5.05-27.56 7.77A3932.1 3932.1 0 00451.6 95.13a3930.46 3930.46 0 01-294.81 32.02c-52.27-8.53-104.53-21-156.79-37.42zM1440 76.57v18.26c-15.44-4.6-30.88-9.56-46.32-14.85a1215.44 1215.44 0 00-35.15-11.45c27.15 2.39 54.31 5.07 81.47 8.04z",fill:"#fff","fill-opacity":".75"},null,-1),c("path",{d:"M451.6 95.13A3932.5 3932.5 0 01731.5 64.2l-1.34.4A1196.84 1196.84 0 00682 79.97c-109.34 37.48-218.69 57.69-328.04 60.62l-1.82.04a1047.76 1047.76 0 01-195.34-13.49 3930.44 3930.44 0 00294.8-32.02z",fill:"#fff","fill-opacity":".6"},null,-1),c("path",{d:"M1440 76.57a3921.56 3921.56 0 00-81.46-8.04C1158.72 6.8 958.9 2.76 759.09 56.42 506.06 7.94 253.03-.1 0 32.29V0h1440v76.57z",fill:"#fff"},null,-1)]),8,ne)):f("",!0)],8,ee))}}),le={class:"background__slot"},oe=h({__name:"DynamicBackgrounds",props:{layout:{default:"solid"},image:{default:null},overlay:{default:null},color:{default:null},parallaxType:{default:null},parallax:{default:null},wave:{default:null}},setup(v){const e=v,u=n(()=>e.wave==="wave-1x-padding"||e.wave==="wave-2x-padding"||e.wave==="wave-middle");return(r,a)=>(t(),l("div",{class:T(["background",[e.color&&`background-${e.color}`,e.parallax&&"background--parallax",e.parallaxType&&`background--${e.parallaxType}`,e.wave&&`background--${e.wave}`]]),style:B([e.layout!=="image"&&e.color&&{backgroundColor:`${e.color}`},e.layout!=="solid"&&e.image&&{backgroundImage:`url(${e.image})`},e.layout==="image"&&e.image&&{backgroundSize:"cover"}])},[u.value?(t(),w(D,{key:0,"wave-type":e.wave,class:"background__wave-top"},null,8,["wave-type"])):f("",!0),e.overlay?(t(),l("div",{key:1,class:"background__overlay",style:B({backgroundColor:e.overlay.color,opacity:e.overlay.opacity})},null,4)):f("",!0),c("div",le,[O(r.$slots,"default")]),u.value?(t(),w(D,{key:2,"wave-type":e.wave,class:"background__wave-bottom"},null,8,["wave-type"])):f("",!0)],6))}}),ue={class:"container-content"},N=h({__name:"ContainerContentRenderer",props:{element:{},position:{}},setup(v){const e=v,u=n(()=>/^[0-9_-]+$/.test(e.element.type??"")),r=n(()=>e.element.content&&"content"in e.element.content?e.element.content.content:Object.values(e.element.content??{}).reduce((o,i)=>[...o,...i],[])),a=n(()=>u.value?e.element.type?.split("_").map(i=>{const[p,g]=i.split("-");return 100/Number(g)*Number(p)})??null:null);return(o,i)=>(t(),l("div",ue,[u.value?(t(),w(J,F({key:0,id:o.element.id},o.element.appearance),{default:_(()=>[c("div",{class:T(["container-content__row",o.position?`container-content__row--${o.position}`:""])},[(t(!0),l($,null,C(r.value,(p,g)=>(t(),l("div",{key:p.id,class:"container-content__column",style:B({maxWidth:`${a.value[g]}
1%`})},[k(A,{content:[p]},null,8,["content"])],4))),128))],2)]),_:1},16,["id"])):(t(),l("div",{key:1,class:T(["container-content__row",o.position?`container-content__row--${o.position}`:""])},[k(A,{content:[o.element]},null,8,["content"])],2))]))}}),se={class:"popup-content"},re=h({__name:"Popup",props:{isOpen:{type:Boolean,default:!1},delay:{default:0},triggerId:{default:null},onclickPopup:{type:Boolean,default:!0}},setup(v){const e=v,u=S(!1),r=S(null);H(()=>e.isOpen,m=>{m?i():a()});function a(){u.value=!1,r.value&&r.value.focus()}const o=L("closeButton");function i(){setTimeout(()=>{r.value=document.activeElement,u.value=!0,Z(()=>{o.value&&o.value.focus()})},e.delay)}const{on:p,off:g}=Q();return R(()=>{e.onclickPopup?e.triggerId&&p("toggle-popup",m=>{e.triggerId.toString()===m.toString()&&i()}):i()}),j(()=>{e.onclickPopup&&e.triggerId&&g("toggle-popup")}),(m,d)=>(t(),w(K,{name:"fade"},{default:_(()=>[u.value?(t(),l("div",{key:0,class:"popup",tabindex:"-1",role:"dialog","aria-labelledby":"popupTitle","aria-modal":"true",onKeyup:Y(a,["esc"])},[c("div",se,[c("button",{class:"close-button",ref:"closeButton","aria-label":"Close popup",onClick:a},d[0]||(d[0]=[c("span",null," â ",-1)]),512),d[1]||(d[1]=c("h2",{id:"popupTitle",class:"visually-hidden"},"Popup Content",-1)),O(m.$slots,"default",{},void 0,!0)])],32)):f("",!0)]),_:3}))}}),ce=G(re,[["__scopeId","data-v-b6a72e47"]]),ie={key:0,class:"text-center"},pe={class:"space-before-small"},de={key:0},ve={class:"space-before-small"},he=h({__name:"T3CeFullwidthcomponent",props:{uid:{},content:{},header:{},settings:{default:null},fullHeight:{type:Boolean,default:!1},sectionBackground:{default:null},gatedContent:{type:Boolean,default:!1},popup:{type:Boolean,default:!1},onclickPopup:{type:Boolean,default:!1},popupDelay:{default:0}},setup(v){const e=v,{isLoggedIn:u}=X(),r=n(()=>{const s=e.header||[],z=e.content||[];return s[0]&&(s[0].customType="header"),[...s,...z]}),a=n(()=>e.settings?.settings),o=n(()=>a.value?.elasticBackgroundType||null),i=n(()=>a.value?.elasticBackgroundColor?.split("color-")[1]||null),p=n(()=>a.value?.backgroundPosition||null),g=n(()=>a.value?.elasticBackgroundType==="solid"||!e.settings?.sectionBackground?.length&&!e.sectionBackground?.length?null:e.settings?.sectionBackground?.[0].publicUrl||e.sectionBackground?.[0].publicUrl||null),{$fetch:m}=q(),d=n(()=>({action:e.content[0]?.action,button:e.content[0]?.button,message:e.content[0]?.message})),x=async()=>{if(d.value.action)try{const s=await m(d.value.action,{method:"POST"});s.redirectUrl&&(window.location.href=s.redirectUrl)}catch{}},P=n(()=>a.value?.backgroundType!=="parallax"?null:a.value.backgroundType),U=n(()=>P.value?a.value?.parallaxBackgroundType??null:null),E=n(()=>!a.value?.elasticBackgroundType||!a.value.elasticBackgroundAppearance?null:a.value.elasticBackgroundAppearance),W=n(()=>a.value?.elasticBackgroundAppearance!=="padding-not-present");return(s,z)=>(t(),l("div",{class:T(["ce-full-width-component",{"ce-full-width-component--full-height":e.fullHeight}])},[k(oe,{layout:o.value||null,color:i.value,image:g.value,"parallax-type":U.value,parallax:P.value,wave:E.value},{default:_(()=>[c("div",{style:B({padding:W.value?"80px 0":"0"})},[s.popup?(t(),w(ce,{key:0,"onclick-popup":s.onclickPopup,"trigger-id":s.uid,delay:s.popupDelay?s.popupDelay*1e3:0},{default:_(()=>[(t(!0),l($,null,C(r.value,y=>(t(),l("div",{key:y.id,class:"ce-fullwidthcomponent__row"},[!V(u)&&y.customType!=="header"?(t(),l("div",ie,[k(I,{size:"small",onClick:x},{default:_(()=>[M(b(d.value.button),1)]),_:1}),c("p",pe,b(d.value.message),1)])):(t(),w(N,{key:1,element:y},null,8,["element"]))]))),128))]),_:1},8,["onclick-popup","trigger-id","delay"])):(t(!0),l($,{key:1},C(r.value,y=>(t(),l("div",{key:y.id,class:"ce-fullwidthcomponent__row"},[k(N,{element:y,position:p.value||void 0},null,8,["element","position"]),s.gatedContent&&!V(u)?(t(),l("div",de,[k(I,{size:"small",onClick:x},{default:_(()=>[M(b(d.value.button),1)]),_:1}),c("p",ve,b(d.value.message),1)])):f("",!0)]))),128))],4)]),_:1},8,["layout","color","image","parallax-type","parallax","wave"])],2))}});
1export{he 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.