import{_ as k,Q as w,v as n,w as a,R as L,o as i,b as t,a as p,B as s,d as r,S as f,c as m,u as h,F as v,T as C,I,K as B,U as D,D as S,P as A,t as o,W as N,X as g,Y as U,Z as z,V as E,q as d,O as y,$ as F,a0 as R,a1 as T,a2 as M,a3 as b,C as W,a4 as $,p as j,e as H}from"./entry.XZ73OZLO.js";const P=""+new URL("avatar_blueish.DLBh9fAt.png",import.meta.url).href,Y={name:"DefaultLayout",setup(){const{smAndDown:e}=w();return{smAndDown:e}},data:()=>({projectUrl:"https://github.com/Rakantor/personal-portfolio",availableLocales:[{code:"en",name:"English"},{code:"de",name:"Deutsch"}],pages:[{icon:"mdi-home",title:"headerHome",url:"/"},{icon:"mdi-text-account",title:"headerAbout",url:"/bio"},{icon:"mdi-briefcase",title:"headerWork",url:"/portfolio"}],drawer:!1}),methods:{changeLocale(e){this.$i18n.setLocale(e),localStorage.setItem("lang",e)}},created(){const e=localStorage.getItem("lang")||this.$i18n.locale;e!=this.$i18n.locale&&this.$i18n.setLocale(e)}},q=e=>(j("data-v-49c35caf"),e=e(),H(),e),K={class:"pa-2"},O=q(()=>p("img",{src:P,width:"55"},null,-1)),Q={class:"text-caption text-no-wrap"};function X(e,c,Z,_,G,V){return i(),n(L,{class:"v-app-bg"},{default:a(()=>[t(C,{"model-value":e.drawer,location:"right",app:"","disable-resize-watcher":""},{append:a(()=>[p("div",K,[t(s,{block:"",outlined:"",color:"primary","prepend-icon":"mdi-email-outline",href:`mailto:<${e.$config.public.myEmail}>`},{default:a(()=>[r(" Contact ")]),_:1},8,["href"])])]),default:a(()=>[t(f,{nav:"",lines:!1},{default:a(()=>[(i(!0),m(v,null,h(e.pages,(l,u)=>(i(),n(b,{key:u,to:l.url,"active-color":"primary",router:"",exact:""},{prepend:a(()=>[t(W,{icon:l.icon},null,8,["icon"])]),default:a(()=>[t($,{textContent:o(e.$t(l.title))},null,8,["textContent"])]),_:2},1032,["to"]))),128))]),_:1})]),_:1},8,["model-value"]),t(N,{app:"",color:"background",class:"px-md-10 py-md-4"},{prepend:a(()=>[t(I,{size:"48",color:"surface",style:{cursor:"pointer"},onClick:c[0]||(c[0]=l=>e.$router.push("/"))},{default:a(()=>[O]),_:1})]),default:a(()=>[t(B),_.smAndDown?(i(),n(D,{key:0,onClick:c[1]||(c[1]=S(l=>e.drawer=!e.drawer,["stop"]))})):(i(),n(A,{key:1,"model-value":0,mandatory:"",variant:"plain","selected-class":"link-active"},{default:a(()=>[t(s,{ripple:!1,to:"/"},{default:a(()=>[r(o(e.$t("headerHome")),1)]),_:1}),t(s,{ripple:!1,to:"/bio"},{default:a(()=>[r(o(e.$t("headerAbout")),1)]),_:1}),t(s,{ripple:!1,to:"/portfolio"},{default:a(()=>[r(o(e.$t("headerWork")),1)]),_:1}),t(s,{ripple:!1,href:`mailto:<${e.$config.public.myEmail}>`},{default:a(()=>[r(o(e.$t("headerContact")),1)]),_:1},8,["href"])]),_:1}))]),_:1}),t(z,null,{default:a(()=>[t(g,{class:"pa-md-16 my-16"},{default:a(()=>[U(e.$slots,"default",{},void 0,!0)]),_:3})]),_:3}),t(M,{app:"",absolute:"",color:"transparent",style:{"border-top":"1px solid rgba(var(--v-theme-on-surface), 0.1)"}},{default:a(()=>[t(g,{class:"d-flex py-0 my-0"},{default:a(()=>[t(E,{"no-gutters":""},{default:a(()=>[t(d,{cols:"4",class:y(["my-auto",e.$vuetify.display.mobile?"text-left":"text-center"])},{default:a(()=>[t(s,{variant:"plain",size:"x-small",density:"compact",color:"on-surface",ripple:!1,class:"link",to:"/imprint"},{default:a(()=>[r(o(e.$t("imprint")),1)]),_:1})]),_:1},8,["class"]),t(d,{cols:"4",class:"text-center my-auto"},{default:a(()=>[p("span",Q," © "+o(new Date().getFullYear())+" "+o(e.$config.public.myName),1)]),_:1}),t(d,{cols:"4",class:y(["my-auto",e.$vuetify.display.mobile?"text-right":"text-center"])},{default:a(()=>[t(s,{variant:"plain",icon:"mdi-github",density:"comfortable",color:"on-surface",ripple:!1,class:"link",href:e.projectUrl,target:"_blank"},null,8,["href"]),t(F,{location:"top right","close-on-content-click":!1},{activator:a(({props:l})=>[t(s,R(l,{variant:"plain",icon:"mdi-translate",density:"comfortable",color:"on-surface",ripple:!1,class:"link"}),null,16)]),default:a(()=>[t(f,{nav:"","min-width":"150"},{default:a(()=>[t(T,null,{default:a(()=>[r(o(e.$t("lang").toUpperCase()),1)]),_:1}),(i(!0),m(v,null,h(e.availableLocales,l=>(i(),n(b,{key:l.code,value:l,active:l.code==e.$i18n.locale,"active-color":"primary"},{default:a(()=>[t($,{onClick:u=>V.changeLocale(l.code)},{default:a(()=>[r(o(l.name),1)]),_:2},1032,["onClick"])]),_:2},1032,["value","active"]))),128))]),_:1})]),_:1})]),_:1},8,["class"])]),_:1})]),_:1})]),_:1})]),_:3})}const x=k(Y,[["render",X],["__scopeId","data-v-49c35caf"]]);export{x as default};
