import{o as d,g as l,d as a,u as t,i as n,p as i,j as m,t as f}from"./init-Ck7wRxmZ.js";import{l as p,s as c}from"./theme-BfDtj5yE.js";import{_ as u}from"./_plugin-vue_export-helper-DlAUqK2U.js";const b={class:"dropdown bd-mode-toggle"},g={class:"nav-link dropdown-toggle align-items-center",id:"bd-theme",type:"button","aria-expanded":"false","data-bs-toggle":"dropdown","aria-label":"{{ $t('navbar.toggle_theme') }} ({{ $t('navbar.theme_auto') }})"},v={id:"bd-theme-text"},h={class:"dropdown-menu dropdown-menu-end","aria-labelledby":"bd-theme-text"},_={type:"button",class:"dropdown-item d-flex align-items-center","data-bs-theme-value":"light","aria-pressed":"false"},$={type:"button",class:"dropdown-item d-flex align-items-center","data-bs-theme-value":"dark","aria-pressed":"false"},w={type:"button",class:"dropdown-item d-flex align-items-center active","data-bs-theme-value":"auto","aria-pressed":"true"},k={__name:"ThemeToggle",setup(s){return d(()=>{p(),c()}),(e,o)=>(i(),l("div",b,[a("a",g,[o[0]||(o[0]=a("span",{class:"bi my-1 theme-icon-active"},[a("i",{class:"fa-solid fa-circle-half-stroke"})],-1)),a("span",v,t(e.$t("navbar.toggle_theme")),1)]),a("ul",h,[a("li",null,[a("button",_,[o[1]||(o[1]=a("i",{class:"bi me-2 theme-icon fas fa-fw fa-solid fa-sun"},null,-1)),n(" "+t(e.$t("navbar.theme_light")),1)])]),a("li",null,[a("button",$,[o[2]||(o[2]=a("i",{class:"bi me-2 theme-icon fas fa-fw fa-solid fa-moon"},null,-1)),n(" "+t(e.$t("navbar.theme_dark")),1)])]),a("li",null,[a("button",w,[o[3]||(o[3]=a("i",{class:"bi me-2 theme-icon fas fa-fw fa-solid fa-circle-half-stroke"},null,-1)),n(" "+t(e.$t("navbar.theme_auto")),1)])])])]))}},T=""+new URL("../images/logo-apollo-45.png",import.meta.url).href,y={components:{ThemeToggle:k},created(){console.log("Header mounted!")},mounted(){let s=document.querySelector("a[href='"+document.location.pathname+"']");s&&s.classList.add("active")}},N={class:"navbar navbar-light navbar-expand-lg navbar-background header"},S={class:"container"},C={class:"collapse navbar-collapse",id:"navbarSupportedContent"},x={class:"navbar-nav me-auto mb-2 mb-lg-0"},A={class:"nav-item"},B={class:"nav-link",href:"./"},L={class:"nav-item"},V={class:"nav-link",href:"./pin"},j={class:"nav-item"},q={class:"nav-link",href:"./apps"},D={class:"nav-item"},E={class:"nav-link",href:"./config"},H={class:"nav-item"},M={class:"nav-link",href:"./password"},R={class:"nav-item"},U={class:"nav-link",href:"./troubleshooting"},z={class:"nav-item"};function F(s,e,o,G,I,J){const r=f("ThemeToggle");return i(),l("nav",N,[a("div",S,[e[6]||(e[6]=a("a",{class:"navbar-brand",href:"./",title:"Apollo"},[a("img",{src:T,height:"45",alt:"Apollo"})],-1)),e[7]||(e[7]=a("button",{class:"navbar-toggler",type:"button","data-bs-toggle":"collapse","data-bs-target":"#navbarSupportedContent","aria-controls":"navbarSupportedContent","aria-expanded":"false","aria-label":"Toggle navigation"},[a("span",{class:"navbar-toggler-icon"})],-1)),a("div",C,[a("ul",x,[a("li",A,[a("a",B,[e[0]||(e[0]=a("i",{class:"fas fa-fw fa-home"},null,-1)),n(" "+t(s.$t("navbar.home")),1)])]),a("li",L,[a("a",V,[e[1]||(e[1]=a("i",{class:"fas fa-fw fa-unlock"},null,-1)),n(" "+t(s.$t("navbar.pin")),1)])]),a("li",j,[a("a",q,[e[2]||(e[2]=a("i",{class:"fas fa-fw fa-stream"},null,-1)),n(" "+t(s.$t("navbar.applications")),1)])]),a("li",D,[a("a",E,[e[3]||(e[3]=a("i",{class:"fas fa-fw fa-cog"},null,-1)),n(" "+t(s.$t("navbar.configuration")),1)])]),a("li",H,[a("a",M,[e[4]||(e[4]=a("i",{class:"fas fa-fw fa-user-shield"},null,-1)),n(" "+t(s.$t("navbar.password")),1)])]),a("li",R,[a("a",U,[e[5]||(e[5]=a("i",{class:"fas fa-fw fa-info"},null,-1)),n(" "+t(s.$t("navbar.troubleshoot")),1)])]),a("li",z,[m(r)])])])])])}const Q=u(y,[["render",F]]);export{Q as N};
