import{j as V,x as h,N as w,aQ as $,k as A,aS as D,p as n,a1 as c,t as e,w as a,cl as S,A as r,bk as C,B as l,q as u,Y as I,D as M,F as p,aa as N,H as i,C as o,bK as L,a2 as B,cp as P,b0 as U,_ as H}from"./dashboard-practitioner-437a797a.js";import{_ as j}from"./logo-horizontal-dc50b46c.js";import{A as q}from"./AuthMenu-765d8f9b.js";import{V as E,a as F}from"./VSecondaryBtn-8ebaf1db.js";(function(){try{var d=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},y=new Error().stack;y&&(d._sentryDebugIds=d._sentryDebugIds||{},d._sentryDebugIds[y]="ce6120ed-4895-442c-8d40-cfbfa2e82bcf",d._sentryDebugIdIdentifier="sentry-dbid-ce6120ed-4895-442c-8d40-cfbfa2e82bcf")}catch{}})();const R={class:"d-flex align-center"},Y={key:0},x={key:1},K={class:"d-flex flex-column ga-2 py-2"},Q=V({__name:"AppBar",setup(d){const{xs:y,smAndUp:k,lgAndUp:m}=h(),b=w(),g=$(),f=A(!1);return(t,_)=>{const s=D("router-link");return n(),c("div",null,[e(P,{flat:"",color:"white"},{default:a(()=>[e(S,{absolute:"",color:"secondary",active:r(g).loading,indeterminate:r(g).loading},null,8,["active","indeterminate"]),e(C,{class:"d-flex align-center justify-center justify-md-start"},{default:a(()=>[l("div",R,[t.$vuetify.display.lgAndUp?p("",!0):(n(),u(M,{key:0,onClick:_[0]||(_[0]=I(v=>f.value=!f.value,["stop"])),icon:"mdi-menu",density:"comfortable"})),e(s,{to:{name:"Home"},class:""},{default:a(()=>[e(N,{eager:"",inline:"",width:"175",src:j,class:"mr-2"})]),_:1})]),r(m)?(n(),u(s,{key:0,class:"nav-menu-btn",density:"comfortable",to:{name:"Mission"}},{default:a(()=>[i(o(t.$t("appBar.our_mission")),1)]),_:1})):p("",!0),r(m)?(n(),u(s,{key:1,class:"nav-menu-btn",density:"comfortable",to:{name:"Home",hash:"#section-contact"}},{default:a(()=>[i(o(t.$t("appBar.contact")),1)]),_:1})):p("",!0),e(L),r(b).isLogged?(n(),u(q,{key:3})):(n(),c(B,{key:2},[e(E,{to:{name:"PractitionerPresentation"}},{default:a(()=>[r(m)?(n(),c("span",Y,o(t.$t("appBar.areYouPractitioner")),1)):(n(),c("span",x,o(t.$t("appBar.practitioner")),1))]),_:1}),r(m)?(n(),u(F,{key:0,to:{name:"Login"},"prepend-icon":"mdi-account-outline",class:"ml-2"},{default:a(()=>[i(o(t.$t("appBar.login")),1)]),_:1})):p("",!0)],64))]),_:1})]),_:1}),e(U,{class:"fill-height",color:"white",temporary:!0,modelValue:f.value,"onUpdate:modelValue":_[1]||(_[1]=v=>f.value=v),location:"left"},{default:a(()=>[l("div",K,[l("div",null,[e(s,{class:"nav-menu-btn",density:"comfortable",to:{name:"Mission"}},{default:a(()=>[i(o(t.$t("appBar.our_mission")),1)]),_:1})]),l("div",null,[e(s,{class:"nav-menu-btn",density:"comfortable",to:{name:"Home",hash:"#section-contact"}},{default:a(()=>[i(o(t.$t("appBar.contact")),1)]),_:1})]),r(b).isLogged?p("",!0):(n(),c(B,{key:0},[l("div",null,[e(s,{class:"nav-menu-btn",density:"comfortable",to:{name:"Register",query:{role:"patient"}}},{default:a(()=>[i(o(t.$t("footer.create_an_patient_account")),1)]),_:1})]),l("div",null,[e(s,{class:"nav-menu-btn",density:"comfortable",to:{name:"Register",query:{role:"praticien"}}},{default:a(()=>[i(o(t.$t("footer.create_an_practitionner_account")),1)]),_:1})]),l("div",null,[e(s,{class:"nav-menu-btn",density:"comfortable",to:{name:"Login"}},{default:a(()=>[i(o(t.$t("appBar.login")),1)]),_:1})])],64))])]),_:1},8,["modelValue"])])}}});const O=H(Q,[["__scopeId","data-v-b7edcdf9"]]);export{O as D}; //# sourceMappingURL=AppBar-f74d7e10.js.map