import{_ as x,r as g,u as A,b as r,d as I,e as N,o as a,c as o,f as e,g as _,w as u,h,i as m,n as v,j as F,l as V,F as q,a as w,k as z,m as B,p as P,q as E,s as H}from"./index-46b50c97.js";const t=l=>(E("data-v-3048e105"),l=l(),H(),l),M={class:"container mx-auto"},O=t(()=>e("svg",{fill:"#0FF",title:"Leagues Logo"},[e("use",{"xlink:href":"#logo_white"})],-1)),j={key:0,class:"supporter"},D={class:"nav-items"},Q=t(()=>e("a",{href:"https://app.leagues.football/",target:"_blank"},"APP",-1)),T={class:"login"},U={key:0},G={key:1},J=t(()=>e("span",null,null,-1)),K=t(()=>e("span",null,null,-1)),R=t(()=>e("span",null,null,-1)),W=t(()=>e("span",null,null,-1)),X=[J,K,R,W],Y={class:"nav-items"},Z=t(()=>e("a",{href:"https://app.leagues.football/",target:"_blank"},"App",-1)),$={key:0},ee={key:1},ae=w('<div class="caption" data-v-3048e105> Lade dir die App runter! </div><div class="get-app" data-v-3048e105><div class="qr-container" data-v-3048e105><img src="'+z+'" alt="Qr code zur app" data-v-3048e105></div><div class="badges-container" data-v-3048e105><div data-v-3048e105><a href="https://apps.apple.com/us/app/leagues-football/id1572628190" target="_blank" data-v-3048e105><img src="'+B+'" alt="App Store Abzeichen" data-v-3048e105></a></div><div data-v-3048e105><a href="https://play.google.com/store/apps/details?id=football.leagues.app" target="_blank" data-v-3048e105><img src="'+P+'" alt="App Play Abzeichen" data-v-3048e105></a></div></div></div>',2),te={__name:"navigationComponent",setup(l){const n=g(!1),s=g(!1),f=()=>{n.value=!n.value},k=()=>{c.value?i.logout():s.value=!s.value},L=()=>{c.value?i.logout():(s.value=!s.value,n.value=!1)},b=()=>{s.value=!1},i=A(),c=r(()=>i.isLoggedIn),y=I(),C=r(()=>y.isPlaying),S=r(()=>{var d;return(d=i.userData)==null?void 0:d.supporter});return(d,se)=>{const p=N("router-link");return a(),o(q,null,[e("nav",{class:v({"md:hidden":C.value})},[e("div",M,[_(p,{to:"/",class:"flex items-center gap-2"},{default:u(()=>[O,S.value?(a(),o("div",j,"Supporter")):h("",!0)]),_:1}),e("div",D,[Q,_(p,{to:"/faq"},{default:u(()=>[m("HILFE")]),_:1}),e("div",T,[e("a",{href:"#",onClick:k},[c.value?(a(),o("span",U,"Logout")):(a(),o("span",G,"Login"))])])]),e("div",{id:"menu-icon",class:v({open:n.value}),onClick:f,"aria-label":"menu"},X,2)])],2),e("div",{class:v(["overlay-menu",{open:n.value}])},[e("div",Y,[Z,_(p,{to:"/faq"},{default:u(()=>[m("Hilfe")]),_:1}),e("a",{href:"#",onClick:L},[c.value?(a(),o("span",$,"Logout")):(a(),o("span",ee,"Login"))])]),ae],2),s.value?(a(),F(V,{key:0,onCloseLogin:b})):h("",!0)],64)}}},ne=x(te,[["__scopeId","data-v-3048e105"]]);export{ne as default};