import{_ as p,u as _,a as m,o as v,c as f,b as t,t as c,d as h,h as a,E as b,i as n,l as i,B as l,y as C,j as S}from"./index-C611KsFR.js";import{L as k}from"./LogoutButton-_2alxat7.js";const g={class:"client-layout"},y={class:"client-header"},B={class:"header-title"},L={class:"header-actions"},N={class:"header-avatar"},$={class:"client-content"},I={class:"bottom-nav"},V={__name:"ClientLayout",setup(j){const r=_(),u=m(),d=C(()=>(r.user?.name||"").split(" ").map(s=>s[0]).join("").substring(0,2).toUpperCase()||"CL");return(e,s)=>{const o=S("router-link");return v(),f("div",g,[t("header",y,[t("div",B,c(h(u).businessName),1),t("div",L,[a(k),t("div",N,c(d.value),1)])]),t("main",$,[b(e.$slots,"default",{},void 0)]),t("nav",I,[a(o,{to:"/client/inicio",class:l(["nav-item",{active:e.$route.path==="/client/inicio"}])},{default:n(()=>[...s[0]||(s[0]=[t("span",{class:"nav-icon"},"🏠",-1),i(" Inicio ",-1)])]),_:1},8,["class"]),a(o,{to:"/client/book",class:l(["nav-item",{active:e.$route.path==="/client/book"}])},{default:n(()=>[...s[1]||(s[1]=[t("span",{class:"nav-icon"},"📅",-1),i(" Reservar ",-1)])]),_:1},8,["class"]),a(o,{to:"/client/perfil",class:l(["nav-item",{active:e.$route.path==="/client/perfil"}])},{default:n(()=>[...s[2]||(s[2]=[t("span",{class:"nav-icon"},"👤",-1),i(" Perfil ",-1)])]),_:1},8,["class"])])])}}},w=p(V,[["__scopeId","data-v-e5fab43b"]]);export{w as C};
