import{o as k,D as h,X as w,aW as $,p as D,r as A,u as n,aa as c,z as e,y as a,cp as I,H as r,bo as M,J as l,v as u,a6 as S,L as C,M as p,aj as L,O as i,K as o,bO as N,ab as B,ct as P,b5 as U,_ as H}from"./dashboard-practitioner-8196694d.js";import{_ as j}from"./logo-horizontal-dc50b46c.js";import{A as q}from"./AuthMenu-2e14b25b.js";import{V as E,a as O}from"./VSecondaryBtn-019c1e6d.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]="e378659b-fe9a-4a42-a311-47413187823e",d._sentryDebugIdIdentifier="sentry-dbid-e378659b-fe9a-4a42-a311-47413187823e")}catch{}})();const R={class:"d-flex align-center"},z={key:0},F={key:1},J={class:"d-flex flex-column ga-2 py-2"},K=k({__name:"AppBar",setup(d){const{xs:y,smAndUp:V,lgAndUp:m}=h(),b=w(),g=$(),f=D(!1);return(t,_)=>{const s=A("router-link");return n(),c("div",null,[e(P,{flat:"",color:"white"},{default:a(()=>[e(I,{absolute:"",color:"secondary",active:r(g).loading,indeterminate:r(g).loading},null,8,["active","indeterminate"]),e(M,{class:"d-flex align-center justify-center justify-md-start"},{default:a(()=>[l("div",R,[t.$vuetify.display.lgAndUp?p("",!0):(n(),u(C,{key:0,onClick:_[0]||(_[0]=S(v=>f.value=!f.value,["stop"])),icon:"mdi-menu",density:"comfortable"})),e(s,{to:{name:"Home"},class:""},{default:a(()=>[e(L,{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(N),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",z,o(t.$t("appBar.areYouPractitioner")),1)):(n(),c("span",F,o(t.$t("appBar.practitioner")),1))]),_:1}),r(m)?(n(),u(O,{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",J,[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 x=H(K,[["__scopeId","data-v-b7edcdf9"]]);export{x as D}; //# sourceMappingURL=AppBar-895b257e.js.map