import{d as g,v,j,l as m,z as C,r as p,o as c,b as r,w as t,n as h,s as o,q as e,A as k,B as w,T as V,e as B,C as L}from"./index-2e57ee69.js";import y from"./Footer-e54b900a.js";import{_ as N}from"./NavbarThemeSwitcher.vue_vue_type_script_setup_true_lang-631c7e23.js";import{_ as I}from"./UserProfile.vue_vue_type_script_setup_true_lang-8b977f8d.js";import{V as O}from"./VSpacer-0163be53.js";import"./VTooltip-4d5f55d5.js";import"./VMenu-9f22b74a.js";import"./VList-0b71c0f0.js";import"./VDivider-29fb9868.js";import"./VBadge-2ebabc99.js";const P=[{heading:"Preferencias",subject:"Preferencias"},{title:"Ajustes",icon:{icon:"tabler-settings"},to:"settings-settings",subject:"Settings"},{title:"Landing Page",icon:{icon:"tabler-app-window"},to:"settings-landing",subject:"LandingPage"}],S=[{heading:"Bolsa Laboraal",subject:"Bolsa Laboral"},{title:"Ofertas",to:"bolsa-laboral-panel-offers",icon:{icon:"mdi-format-list-bulleted"},subject:"Offers"},{title:"Empresas",to:"bolsa-laboral-panel-companies",icon:{icon:"mdi-domain"},subject:"Companies"},{title:"Postulaciones",to:"bolsa-laboral-panel-postulations",icon:{icon:"mdi-account-check"},subject:"Applications"},{title:"Mis Postulaciones",to:"bolsa-laboral-panel-me-postulations",icon:{icon:"mdi-account-check-outline"},subject:"Candidate"},{title:"Mis CVS",to:"bolsa-laboral-panel-me-cvs",icon:{icon:"mdi-files"},subject:"Candidate"},{title:"Ofertas Laborales",to:"bolsa-laboral-empleos",icon:{icon:"mdi-briefcase"},subject:"Candidate"},{title:"Mantenedores",to:"bolsa-laboral-panel-maintainers",icon:{icon:"mdi-cog"},subject:"JobMaintainers"}],T=[{heading:"Configuración",subject:"Configuración"},{title:"Usuarios",icon:{icon:"tabler-users"},to:"configuration-users",subject:"UsersList"}],x=[...T,...P,...S],M={class:"d-flex h-100 align-center"},G=g({__name:"DefaultLayoutWithVerticalNav",setup(R){const{appRouteTransition:d,isLessThanOverlayNavBreakpoint:b}=v(),{width:f}=j(),l=m(JSON.parse(JSON.stringify(x))),u=m(0);return C.on("updateUrlLinkNav",n=>{const a=l.value.find(s=>s.subject===n.subject);a&&(a.href=n.url,u.value++,console.log("URL:"+n.url))}),(n,a)=>{const s=p("IconBtn"),_=p("RouterView");return c(),r(o(L),{key:o(u),"nav-items":o(l)},{navbar:t(({toggleVerticalOverlayNavActive:i})=>[h("div",M,[o(b)(o(f))?(c(),r(s,{key:0,id:"vertical-nav-toggle-btn",class:"ms-n3",onClick:U=>i(!0)},{default:t(()=>[e(k,{size:"26",icon:"tabler-menu-2"})]),_:2},1032,["onClick"])):w("",!0),e(O),e(N,{class:"me-1"}),e(I)])]),footer:t(()=>[e(y)]),default:t(()=>[e(_,null,{default:t(({Component:i})=>[e(V,{name:o(d),mode:"out-in"},{default:t(()=>[(c(),r(B(i)))]),_:2},1032,["name"])]),_:1})]),_:1},8,["nav-items"])}}});export{G as default};
