import{x as C,aE as T,u as D,aK as F,V as O,m as E,r as p,f as o,M as R,h as t,o as n,g as c,k as m,F as j,B as q,i as k,H as z,K,L as M,O as U,N as S,U as A,a8 as J,C as Z,J as G,au as L,aC as Q,n as $,z as B,s as W,b as X,a0 as Y,j as ee,a2 as te,R as ae,I as ne}from"./B7moA0Zy.js";const se={class:"lang-bar"},oe={key:0},ce={key:1},le={__name:"LangBar",setup(f){const l=T(),{locale:r,locales:_}=D(),s=F("zk_lang",{sameSite:"strict",maxAge:60*60*24*30}),h=O();return s.value&&s.value!==r.value&&h.replace(l(s.value)),E(r,()=>{s.value=r.value}),(d,i)=>{const g=U,y=S,x=A,w=J,u=p("lay"),v=p("pad"),e=p("space");return o((n(),c("div",se,[d.$mq.s?o((n(),c("div",oe,[m(g,{data:{text:d.$t("language_switch_cta"),typo:"4"}},null,8,["data"]),o((n(),c("div",null,[o((n(),c("div",null,[(n(!0),c(j,null,q(t(_),a=>(n(),k(y,{data:{url:t(l)(a.code),themes:["button","switch-button","fixed-width"],typo:"4",active:a.code===t(r)}},{default:z(()=>[K(M(d.$t(a.code)),1)]),_:2},1032,["data"]))),256))])),[[u,"h"]]),o(m(x,{onClick:i[0]||(i[0]=a=>s.value=t(r)),data:{name:"cross",color:"grey",size:"s"}},null,512),[[u,{align:"center"}],[v,{x:"s"}]])])),[[u,{dir:"h",gap:"m",fluid:!0}]])])),[[u,{dir:"h",align:["center","even"],fluid:!0}],[v,["xs","m"]]]):o((n(),c("div",ce,[o((n(),c("div",null,[m(g,{data:{text:d.$t("language_switch_cta"),typo:"4"}},null,8,["data"]),o(m(x,{onClick:i[1]||(i[1]=a=>s.value=t(r)),data:{name:"cross",color:"grey",size:"s"}},null,512),[[v,"m"]])])),[[u,{dir:"h",align:["center","even"],fluid:!0}],[e,{left:"m"}]]),m(w,{onUpdate:i[2]||(i[2]=a=>t(h).push(t(l)(a))),data:{type:"select",choices:t(_).map(a=>({text:d.$t(a.code),value:a.code,selected:a.code===t(r)})),theme:"white",showError:!1,hideHeader:!0}},null,8,["data"])])),[[v,"m"],[u,{gap:"m"}]])],512)),[[R,!t(s)]])}}},re=C(le,[["__scopeId","data-v-395fc2dd"]]),ie={},ue={viewBox:"0 0 558 83",xmlns:"http://www.w3.org/2000/svg"};function de(f,l){return n(),c("svg",ue,l[0]||(l[0]=[Z("path",{d:"m78.2681 1.12365v49.65015c0 8.5547 1.873 12.1054 3.5231 14.4426 4.9652 6.667 12.6656 7.8805 18.1808 7.8805 21.496 0 21.496-16.9895 21.496-22.7725v-49.20075h10.688v49.42545c0 4.3298-.104 13.3339-6.496 21.3343-7.819 9.8881-19.95 11.1166-25.6731 11.1166-7.4923 0-20.7228-2.1125-28.1111-12.7796-2.4231-3.5507-4.6233-8.2101-4.6233-20.2107v-48.88605zm-78.2681 69.09675 45.9648-59.3135h-44.7458v-9.78325h57.8574v10.99675l-46.3959 59.4334h47.1689v9.7832h-59.8494zm546.925 11.1016h11.075v-21.1095h-11.075zm-19.935-80.19835h11.03v80.19835h-11.03zm-178.27 0v80.19835h50.811v-9.7682h-39.795v-26.4581h37.03v-9.5435h-37.03v-24.6603h72.515v70.4301h10.911v-70.4301h37.967v70.4301h10.912v-70.4301h26.669v-9.76825h-170.005zm-58.422 0v34.42855h37.804v-34.42855h11.015v80.19835h-11.015v-36.2263h-37.804v36.2113h-11.03v-80.18335zm-29.969 21.66385c-.446-2.7716-1.873-13.88822-17.2-13.88822-19.177 0-22.596 19.77622-22.596 33.09512 0 15.1168 4.296 31.4321 22.492 31.4321 4.846 0 9.484-1.2135 12.889-4.7792 2.869-3.1163 3.523-6.5471 3.85-8.4348h12.13c-1.65 15.776-16.099 22.3231-29.761 22.3231-27.992 0-33.403-24.8851-33.403-40.4363-0-16.8847 6.511-42.0993 34.83-42.0993 11.239 0 27.115 4.55451 28.542 22.7726h-11.788zm-69.111 0c-.446-2.7716-1.873-13.88822-17.2-13.88822-19.177 0-22.596 19.77622-22.596 33.09512 0 15.1168 4.297 31.4321 22.492 31.4321 4.846 0 9.485-1.2135 12.889-4.7792 2.869-3.1163 3.523-6.5471 3.85-8.4348h12.13c-1.65 15.776-16.099 22.3231-29.761 22.3231-27.992 0-33.403-24.8851-33.403-40.4363-0-16.8847 6.511-42.0993 34.83-42.0993 11.239 0 27.115 4.55451 28.543 22.7726h-11.789z"},null,-1)]))}const _e=C(ie,[["render",de]]),ve={__name:"Header",props:{data:{type:Object}},setup(f){var v;const l=f,r=G();let _=0,s=35,h=7.5,d=85;L(()=>{_=Q(window).y,s=$(()=>{let e=35-_.value/2*7.5/85;return e<=25&&(e=25),e}),h=$(()=>{let e=7.5-_.value/2*7.5/85;return e<=2.5&&(e=2.5),e}),d=$(()=>{let e=85-_.value/2;return e<=35&&(e=35),e})});const i=B((v=l.data)==null?void 0:v.home),{intersectingHero:g,headerEl:y,afterTransition:x,vCard:w}=W(X());E(x,e=>{var a;e&&(i.value=(a=l.data)==null?void 0:a.home)});const u=B();return L(()=>{y.value=Y(u)}),(e,a)=>{const b=re,I=ne,N=_e,V=S,H=p("pad"),P=p("lay");return n(),c("header",{ref_key:"el",ref:u,class:ae({hero:t(g)}),id:"header"},[m(I,null,{default:z(()=>[!f.data.print&&!t(w)?(n(),k(b,{key:0})):ee("",!0)]),_:1}),o((n(),c("div",null,[o((n(),k(V,{class:"top",data:{url:t(r)("/")}},{default:z(()=>[m(N,{style:te({height:t(i)&&e.$mq.s?`clamp(${t(s)}px, ${t(h)}vw, ${t(d)}px)`:"clamp(25px, 2.5vw, 35px)"})},null,8,["style"])]),_:1},8,["data"])),[[H,"m"]])])),[[P,{align:"center"}]])],2)}}},he=C(ve,[["__scopeId","data-v-3db1598e"]]);export{he as _};