PageSourceSearch

https://fonoglobal.com.ar/build/assets/Dashboard-inogDeYk.js

js fonoglobal.com.ar collected 2026-10-08 18:33:12 UTC 27,832 bytes, 1 lines download raw bytes

1import{l as n,a as y}from"./app-Cb5rOCm2.js";import{_ as M}from"./PopupLlamada-v5a13dG0.js";import{g as b,i as w,j as t,B as r,l as j,A as f,D as i,y as o,E as h,C as a,t as c,b as k,L as C,F as B,I as z}from"./runtime-dom.esm-bundler-DPZ-bGLk.js";import"./index-BetwS6Uc.js";const _={class:"flex flex-col min-h-screen"},$={class:"bg-gradient-to-r from-indigo-600 via-indigo-700 to-purple-700 shadow-lg sticky top-0 z-50"},V={class:"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8"},A={class:"flex justify-between h-16"},H={class:"flex items-center"},D={class:"hidden sm:ml-8 sm:flex sm:space-x-2"},L={class:"flex items-center"},S={class:"flex items-center gap-3 px-3 py-2 rounded-lg text-white"},E={class:"hidden sm:block text-sm font-medium"},N={key:0,class:"bg-gradient-to-br from-slate-900 via-slate-800 to-slate-900 text-white border-t border-slate-700"},F={class:"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8"},X={class:"py-6 grid grid-cols-1 md:grid-cols-4 gap-6"},W={class:"space-y-2"},T={class:"py-4 flex flex-col sm:flex-row justify-between items-center gap-2"},G={class:"text-xs text-slate-500"},P={__name:"AppLayout",props:{hideFooter:{type:Boolean,default:!1}},setup(l){const p=y(),x=d=>{const s=p.url;return d==="/clientes"?s.startsWith("/clientes"):s===d||s.startsWith(d+"/")},u=k(()=>{var d,s,m;return((m=(s=(d=p.props)==null?void 0:d.auth)==null?void 0:s.user)==null?void 0:m.name)||"Usuario"}),e=k(()=>new Date().getFullYear());return(d,s)=>(w(),b(B,null,[t("div",_,[t("nav",$,[t("div",V,[t("div",A,[t("div",H,[s[5]||(s[5]=f('<div class="flex-shrink-0 flex items-center gap-3"><div class="h-10 w-10 bg-white rounded-lg flex items-center justify-center shadow-md"><svg class="h-6 w-6 text-indigo-600" fill="none" stroke="currentColor" viewBox="0 0 24 24"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M8 12h.01M12 12h.01M16 12h.01M21 12c0 4.418-4.03 8-9 8a9.863 9.863 0 01-4.255-.949L3 20l1.395-3.72C3.512 15.042 3 13.574 3 12c0-4.418 4.03-8 9-8s9 3.582 9 8z"></path></svg></div><h1 class="text-xl font-bold text-white">CRM FG Bolivia</h1></div>',1)),t("div",D,[r(a(n),{href:"/dashboard",class:h([x("/dashboard")?"bg-white bg-opacity-20 text-white":"text-indigo-100 hover:bg-white hover:bg-opacity-10 hover:text-white","inline-flex items-center px-4 py-2 rounded-lg text-sm font-medium transition-all duration-200"])},{default:i(()=>[...s[0]||(s[0]=[t("svg",{class:"h-5 w-5 mr-2",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24"},[t("path",{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M3 12l2-2m0 0l7-7 7 7M5 10v10a1 1 0 001 1h3m10-11l2 2m-2-2v10a1 1 0 01-1 1h-3m-6 0a1 1 0 001-1v-4a1 1 0 011-1h2a1 1 0 011 1v4a1 1 0 001 1m-6 0h6"})],-1),o(" Dashboard ",-1)])]),_:1},8,["class"]),r(a(n),{href:"/whatsapp-web",class:h([x("/whatsapp-web")?"bg-white bg-opacity-20 text-white":"text-indigo-100 hover:bg-white hover:bg-opacity-10 hover:text-white","inline-flex items-center px-4 py-2 rounded-lg text-sm font-medium transition-all duration-200"])},{default:i(()=>[...s[1]||(s[1]=[t("svg",{class:"h-5 w-5 mr-2",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24"},[t("path",{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M8 12h.01M12 12h.01M16 12h.01M21 12c0 4.418-4.03 8-9 8a9.863 9.863 0 01-4.255-.949L3 20l1.395-3.72C3.512 15.042 3 13.574 3 12c0-4.418 4.03-8 9-8s9 3.582 9 8z"})],-1),o(" WhatsApp ",-1)])]),_:1},8,["class"]),r(a(n),{href:"/clientes",class:h([x("/clientes")?"bg-white bg-opacity-20 text-white":"text-indigo-100 hover:bg-white hover:bg-opacity-10 hover:text-white","inline-flex items-center px-4 py-2 rounded-lg text-sm font-medium transition-all duration-200"])},{default:i(()=>[...s[2]||(s[2]=[t("svg",{class:"h-5 w-5 mr-2",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24"},[t("path",{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M17 20h5v-2a3 3 0 00-5.356-1.857M17 20H7m10 0v-2c0-.656-.126-1.283-.356-1.857M7 20H2v-2a3 3 0 015.356-1.857M7 20v-2c0-.656.126-1.283.356-1.857m0 0a5.002 5.002 0 019.288 0M15 7a3 3 0 11-6 0 3 3 0 016 0zm6 3a2 2 0 11-4 0 2 2 0 014 0zM7 10a2 2 0 11-4 0 2 2 
10 014 0z"})],-1),o(" Clientes ",-1)])]),_:1},8,["class"]),r(a(n),{href:"/estadisticas",class:h([x("/estadisticas")?"bg-white bg-opacity-20 text-white":"text-indigo-100 hover:bg-white hover:bg-opacity-10 hover:text-white","inline-flex items-center px-4 py-2 rounded-lg text-sm font-medium transition-all duration-200"])},{default:i(()=>[...s[3]||(s[3]=[t("svg",{class:"h-5 w-5 mr-2",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24"},[t("path",{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M9 19v-6a2 2 0 00-2-2H5a2 2 0 00-2 2v6a2 2 0 002 2h2a2 2 0 002-2zm0 0V9a2 2 0 012-2h2a2 2 0 012 2v10m-6 0a2 2 0 002 2h2a2 2 0 002-2m0 0V5a2 2 0 012-2h2a2 2 0 012 2v14a2 2 0 01-2 2h-2a2 2 0 01-2-2z"})],-1),o(" Estadísticas ",-1)])]),_:1},8,["class"]),r(a(n),{href:"/admin",class:h([x("/admin")?"bg-white bg-opacity-20 text-white":"text-indigo-100 hover:bg-white hover:bg-opacity-10 hover:text-white","inline-flex items-center px-4 py-2 rounded-lg text-sm font-medium transition-all duration-200"])},{default:i(()=>[...s[4]||(s[4]=[t("svg",{class:"h-5 w-5 mr-2",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24"},[t("path",{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M10.325 4.317c.426-1.756 2.924-1.756 3.35 0a1.724 1.724 0 002.573 1.066c1.543-.94 3.31.826 2.37 2.37a1.724 1.724 0 001.065 2.572c1.756.426 1.756 2.924 0 3.35a1.724 1.724 0 00-1.066 2.573c.94 1.543-.826 3.31-2.37 2.37a1.724 1.724 0 00-2.572 1.065c-.426 1.756-2.924 1.756-3.35 0a1.724 1.724 0 00-2.573-1.066c-1.543.94-3.31-.826-2.37-2.37a1.724 1.724 0 00-1.065-2.572c-1.756-.426-1.756-2.924 0-3.35a1.724 1.724 0 001.066-2.573c-.94-1.543.826-3.31 2.37-2.37.996.608 2.296.07 2.572-1.065z"}),t("path",{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M15 12a3 3 0 11-6 0 3 3 0 016 0z"})],-1),o(" Admin ",-1)])]),_:1},8,["class"])])]),t("div",L,[t("div",S,[s[6]||(s[6]=t("div",{class:"h-8 w-8 rounded-full bg-white flex items-center justify-center shadow-md"},[t("svg",{class:"h-5 w-5 text-indigo-600",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24"},[t("path",{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M16 7a4 4 0 11-8 0 4 4 0 018 0zM12 14a7 7 0 00-7 7h14a7 7 0 00-7-7z"})])],-1)),t("span",E,c(u.value),1)])])])])]),t("main",{class:h(l.hideFooter?"bg-gray-50 overflow-hidden":"flex-grow bg-gray-50")},[C(d.$slots,"default")],2),l.hideFooter?j("",!0):(w(),b("footer",N,[t("div",F,[t("div",X,[s[12]||(s[12]=f('<div class="md:col-span-1"><div class="flex items-center gap-2 mb-3"><div class="h-10 w-10 bg-gradient-to-br from-indigo-500 to-purple-600 rounded-lg flex items-center justify-center shadow-lg"><svg class="h-5 w-5 text-white" fill="none" stroke="currentColor" viewBox="0 0 24 24"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M8 12h.01M12 12h.01M16 12h.01M21 12c0 4.418-4.03 8-9 8a9.863 9.863 0 01-4.255-.949L3 20l1.395-3.72C3.512 15.042 3 13.574 3 12c0-4.418 4.03-8 9-8s9 3.582 9 8z"></path></svg></div><div><h3 class="font-bold text-base">CRM FG Bolivia</h3><p class="text-[10px] text-slate-400">Gestión inteligente</p></div></div><p class="text-xs text-slate-400 leading-relaxed"> Sistema integral para gestión de clientes y comunicación vía WhatsApp. </p></div>',1)),t("div",null,[s[11]||(s[11]=t("h4",{class:"text-xs font-bold text-slate-300 uppercase tracking-wider mb-3"},"Navegación",-1)),t("ul",W,[t("li",null,[r(a(n),{href:"/dashboard",class:"text-xs text-slate-400 hover:text-white transition-colors flex items-center gap-2 group"},{default:i(()=>[...s[7]||(s[7]=[t("svg",{class:"h-3 w-3 text-slate-500 group-hover:text-indigo-400",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24"},[t("path",{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M9 5l7 7-7 7"})],-1),o(" Dashboard ",-1)])]),_:1})]),t("li",null,[r(a(n),{href:"/whatsapp-web",class:"text-xs text-slate-400 hover:text-white transition-colors flex items-center gap-2 group"},{default:i(()=>[...s[8]||(s[8]=[t("svg",{class:"h-3 w-3 text-slate-500 group-hover:text-indigo-400",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24"},[t("path",{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M9 5l7 7-7 7"})],-1),o(" WhatsApp ",-1)])]),_:1})]),t("li",null,[r(a(n),{href:"/clientes",class:"text-xs text-slate-400 hover:text-white transition-colors flex items-center gap-2 group"},{default:i(()=>[...s[9]||(s[9]=[t("svg",{class:"h-3 w-3 text-slate-500 group-hover:text-indigo-400",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24"},[t("path",{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M9 5l7 7-7 7"})],-1),o(" Clientes ",-1)])]),_:1})]),t("li",null,[r(a(n),{href:"/estadisticas",class:"text-xs text-slate-400 hover:text-white transition-colors flex items-center gap-2 group"},{default:i(()=>[...s[10]||(s[10]=[t("svg",{class:"h-3 w-3 text-slate-500 group-hover:text-indigo-400",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24"},[t("path",{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M9 5l7 7-7 7"})],-1),o(" Estadísticas ",-1)])]),_:1})])])]),s[13]||(s[13]=f('<div><h4 class="text-xs font-bold text-slate-300 uppercase tracking-wider mb-3">Soporte</h4><ul class="space-y-2 text-xs text-slate-400"><li class="flex items-start gap-2"><svg class="h-4 w-4 text-indigo-400 flex-shrink-0 mt-0.5" fill="none" stroke="currentColor" viewBox="0 0 24 24">
1<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M3 8l7.89 5.26a2 2 0 002.22 0L21 8M5 19h14a2 2 0 002-2V7a2 2 0 00-2-2H5a2 2 0 00-2 2v10a2 2 0 002 2z"></path></svg><a href="mailto:[email protected]" class="hover:text-white transition-colors"> [email protected] </a></li><li class="flex items-start gap-2"><svg class="h-4 w-4 text-indigo-400 flex-shrink-0 mt-0.5" fill="none" stroke="currentColor" viewBox="0 0 24 24"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M3 5a2 2 0 012-2h3.28a1 1 0 01.948.684l1.498 4.493a1 1 0 01-.502 1.21l-2.257 1.13a11.042 11.042 0 005.516 5.516l1.13-2.257a1 1 0 011.21-.502l4.493 1.498a1 1 0 01.684.949V19a2 2 0 01-2 2h-1C9.716 21 3 14.284 3 6V5z"></path></svg><span>+591 XXX XXXXX</span></li><li class="flex items-start gap-2"><svg class="h-4 w-4 text-indigo-400 flex-shrink-0 mt-0.5" fill="none" stroke="currentColor" viewBox="0 0 24 24"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M12 8v4l3 3m6-3a9 9 0 11-18 0 9 9 0 0118 0z"></path></svg><span>Lun - Vie: 8:00 - 18:00</span></li></ul></div><div><h4 class="text-xs font-bold text-slate-300 uppercase tracking-wider mb-3">Sistema</h4><div class="space-y-2"><div class="flex items-center gap-2 text-xs"><span class="h-2 w-2 bg-green-500 rounded-full animate-pulse"></span><span class="text-slate-400">Estado: <span class="text-green-400">Operativo</span></span></div><div class="text-xs text-slate-400"><span class="text-slate-500">Versión:</span> 1.0.0 </div><div class="text-xs text-slate-400"><span class="text-slate-500">Laravel</span> 11 + <span class="text-slate-500">Vue</span> 3 </div></div></div>',2))]),s[17]||(s[17]=t("div",{class:"border-t border-slate-700"},null,-1)),t("div",T,[t("p",G,[o(" © "+c(e.value)+" ",1),s[14]||(s[14]=t("span",{class:"text-slate-400 font-medium"},"CRM FG Bolivia",-1)),s[15]||(s[15]=o(". Todos los derechos reservados. ",-1))]),s[16]||(s[16]=t("div",{class:"flex items-center gap-4 text-xs text-slate-500"},[t("a",{href:"#",class:"hover:text-slate-300 transition-colors"},"Privacidad"),t("span",null,"•"),t("a",{href:"#",class:"hover:text-slate-300 transition-colors"},"Términos"),t("span",null,"•"),t("a",{href:"#",class:"hover:text-slate-300 transition-colors"},"Ayuda")],-1))])])]))]),r(M)],64))}},R={class:"max-w-7xl mx-auto py-4 px-4 sm:py-6 sm:px-6 lg:px-8"},q={class:"mb-4 sm:mb-6 lg:mb-8"},I={class:"bg-gradient-to-r from-purple-600 via-pink-600 to-red-600 rounded-xl sm:rounded-2xl shadow-xl p-4 sm:p-6 lg:p-8"},O={class:"flex flex-col sm:flex-row sm:justify-between sm:items-center"},U={class:"text-2xl sm:text-3xl lg:text-4xl font-bold text-white mb-2"},Y={class:"mt-4 sm:mt-0"},J={class:"text-white text-right"},K={class:"text-lg sm:text-xl font-bold"},Q={class:"grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-4 gap-4 sm:gap-6 mb-6"},Z={class:"bg-white rounded-xl shadow-lg overflow-hidden border border-gray-100 transform hover:scale-105 transition-all duration-200"},tt={class:"p-5 sm:p-6"},et={class:"flex items-center justify-between"},st={class:"flex-1"},ot={class:"mt-2 text-2xl sm:text-3xl font-bold text-gray-900"},rt={class:"bg-gradient-to-r from-blue-50 to-indigo-50 px-5 py-3"},it={class:"bg-white rounded-xl shadow-lg overflow-hidden border border-gray-100 transform hover:scale-105 transition-all duration-200"},lt={class:"p-5 sm:p-6"},nt={class:"flex items-center justify-between"},at={class:"flex-1"},dt={class:"mt-2 text-2xl sm:text-3xl font-bold text-gray-900"},ct={class:"bg-gradient-to-r from-green-50 to-emerald-50 px-5 py-3"},xt={class:"text-xs sm:text-sm font-medium text-green-700"},ut={class:"bg-white rounded-xl shadow-lg overflow-hidden border border-gray-100 transform hover:scale-105 transition-all duration-200"},mt={class:"p-5 sm:p-6"},ht={class:"flex items-center justify-between"},pt={class:"flex-1"},gt={class:"mt-2 text-2xl sm:text-3xl font-bold text-gray-900"},vt={class:"bg-white rounded-xl shadow-lg overflow-hidden border border-gray-100 transform hover:scale-105 transition-all duration-200"},ft={class:"p-5 sm:p-6"},wt={class:"flex items-center justify-between"},kt={class:"flex-1"},bt={class:"mt-2 text-2xl sm:text-3xl font-bold text-gray-900"},yt={class:"bg-gradient-to-r from-orange-50 to-red-50 px-5 py-3"},Mt={class:"text-xs sm:text-sm font-medium text-orange-700"},jt={class:"grid grid-cols-1 lg:grid-cols-2 gap-4 sm:gap-6"},Ct={class:"bg-white rounded-xl shadow-lg overflow-hidden border border-gray-100"},Bt={class:"p-4 sm:p-6 space-y-3"},zt={class:"bg-white rounded-xl shadow-lg overflow-hidden border border-gray-100"},_t={class:"p-4 sm:p-6"},$t={class:"space-y-4"},Vt={class:"flex items-center justify-between p-3 bg-gray-50 rounded-lg"},At={class:"text-sm font-medium text-purple-600"},Et={__name:"Dashboard",props:{user:Object,stats:{type:Object,default:()=>({totalClientes:0,clientesActivos:0,nuevosEsteMes:0,sinContacto:0,ultimaSync:null})}},setup(l){const p=k(()=>{const u={weekday:"long",year:"numeric",month:"long",day:"numeric"};return new Date().toLocaleDateString("es-ES",u)}),x=u=>{if(!u)return"Pendiente";const e=new Date(u),s=new Date-e,m=Math.floor(s/6e4);if(m<1)return"Ahora mismo";if(m<60)return`Hace ${m} min`;const g=Math.floor(m/60);if(g<24)return`Hace ${g}h`;const v=Math.floor(g/24);return v===1?"Ayer":v<7?`Hace ${v} días`:e.toLocaleDateString("es-ES",{day:"2-digit",month:"2-digit",year:"numeric"})};return(u,e)=>(w(),z(P,null,{default:i(()=>{var d;return[t("div",R,[t("div",q,[t("div",I,[t("div",O,[t("div",null,[t("h1",U," ¡Bienvenido de vuelta, "+c(((d=l.user)==null?void 0:d.name)||"Usuario")+"! 👋 ",1),e[0]||(e[0]=t("p",{class:"text-sm sm:text-base text-pink-100"}," Aquí tienes un resumen de tu actividad hoy ",-1))]),t("div",Y,[t("div",J,[e[1]||(e[1]=t("p",{class:"text-xs sm:text-sm text-pink-100"},"Hoy",-1)),t("p",K,c(p.value),1)])])])])]),t("div",Q,[t("div",Z,[t("div",tt,[t("div",et,[t("div",st,[e[2]||(e[2]=t("p",{class:"text-xs sm:text-sm font-medium text-gray-500 uppercase tracking-wider"},"Total Clientes",-1)),t("p",ot,c(l.stats.totalClientes),1),e[3]||(e[3]=t("p",{class:"mt-2 text-xs sm:text-sm text-green-600 flex items-center"},[t("svg",{class:"h-4 w-4 mr-1",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24"},[t("path",{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M13 7h8m0 0v8m0-8l-8 8-4-4-6 6"})]),o(" Base de datos ")],-1))]),e[4]||(e[4]=t("div",{class:"flex-shrink-0"}
1,[t("div",{class:"h-12 w-12 sm:h-14 sm:w-14 rounded-full bg-gradient-to-br from-blue-500 to-indigo-600 flex items-center justify-center shadow-lg"},[t("svg",{class:"h-6 w-6 sm:h-7 sm:w-7 text-white",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24"},[t("path",{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M17 20h5v-2a3 3 0 00-5.356-1.857M17 20H7m10 0v-2c0-.656-.126-1.283-.356-1.857M7 20H2v-2a3 3 0 015.356-1.857M7 20v-2c0-.656.126-1.283.356-1.857m0 0a5.002 5.002 0 019.288 0M15 7a3 3 0 11-6 0 3 3 0 016 0zm6 3a2 2 0 11-4 0 2 2 0 014 0zM7 10a2 2 0 11-4 0 2 2 0 014 0z"})])])],-1))])]),t("div",rt,[r(a(n),{href:"/clientes",class:"text-xs sm:text-sm font-medium text-blue-700 hover:text-blue-900 flex items-center"},{default:i(()=>[...e[5]||(e[5]=[o(" Ver todos los clientes ",-1),t("svg",{class:"ml-1 h-4 w-4",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24"},[t("path",{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M9 5l7 7-7 7"})],-1)])]),_:1})])]),t("div",it,[t("div",lt,[t("div",nt,[t("div",at,[e[6]||(e[6]=t("p",{class:"text-xs sm:text-sm font-medium text-gray-500 uppercase tracking-wider"},"Activos",-1)),t("p",dt,c(l.stats.clientesActivos),1),e[7]||(e[7]=t("p",{class:"mt-2 text-xs sm:text-sm text-green-600 flex items-center"},[t("svg",{class:"h-4 w-4 mr-1",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24"},[t("path",{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M9 12l2 2 4-4m6 2a9 9 0 11-18 0 9 9 0 0118 0z"})]),o(" Con contacto ")],-1))]),e[8]||(e[8]=t("div",{class:"flex-shrink-0"},[t("div",{class:"h-12 w-12 sm:h-14 sm:w-14 rounded-full bg-gradient-to-br from-green-500 to-emerald-600 flex items-center justify-center shadow-lg"},[t("svg",{class:"h-6 w-6 sm:h-7 sm:w-7 text-white",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24"},[t("path",{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M9 12l2 2 4-4m6 2a9 9 0 11-18 0 9 9 0 0118 0z"})])])],-1))])]),t("div",ct,[t("div",xt,c(Math.round(l.stats.clientesActivos/l.stats.totalClientes*100))+"% del total ",1)])]),t("div",ut,[t("div",mt,[t("div",ht,[t("div",pt,[e[9]||(e[9]=t("p",{class:"text-xs sm:text-sm font-medium text-gray-500 uppercase tracking-wider"},"Nuevos",-1)),t("p",gt,c(l.stats.nuevosEsteMes),1),e[10]||(e[10]=t("p",{class:"mt-2 text-xs sm:text-sm text-purple-600 flex items-center"},[t("svg",{class:"h-4 w-4 mr-1",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24"},[t("path",{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M8 7V3m8 4V3m-9 8h10M5 21h14a2 2 0 002-2V7a2 2 0 00-2-2H5a2 2 0 00-2 2v12a2 2 0 002 2z"})]),o(" Este mes ")],-1))]),e[11]||(e[11]=t("div",{class:"flex-shrink-0"},[t("div",{class:"h-12 w-12 sm:h-14 sm:w-14 rounded-full bg-gradient-to-br from-purple-500 to-pink-600 flex items-center justify-center shadow-lg"},[t("svg",{class:"h-6 w-6 sm:h-7 sm:w-7 text-white",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24"},[t("path",{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M18 9v3m0 0v3m0-3h3m-3 0h-3m-2-5a4 4 0 11-8 0 4 4 0 018 0zM3 20a6 6 0 0112 0v1H3v-1z"})])])],-1))])]),e[12]||(e[12]=t("div",{class:"bg-gradient-to-r from-purple-50 to-pink-50 px-5 py-3"},[t("div",{class:"text-xs sm:text-sm font-medium text-purple-700"}," Crecimiento mensual ")],-1))]),t("div",vt,[t("div",ft,[t("div",wt,[t("div",kt,[e[13]||(e[13]=t("p",{class:"text-xs sm:text-sm font-medium text-gray-500 uppercase tracking-wider"},"Sin Contacto",-1)),t("p",bt,c(l.stats.sinContacto),1),e[14]||(e[14]=t("p",{class:"mt-2 text-xs sm:text-sm text-orange-600 flex items-center"},[t("svg",{class:"h-4 w-4 mr-1",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24"},[t("path",{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M12 9v2m0 4h.01m-6.938 4h13.856c1.54 0 2.502-1.667 1.732-3L13.732 4c-.77-1.333-2.694-1.333-3.464 0L3.34 16c-.77 1.333.192 3 1.732 3z"})]),o(" Requiere atención ")],-1))]),e[15]||(e[15]=t("div",{class:"flex-shrink-0"},[t("div",{class:"h-12 w-12 sm:h-14 sm:w-14 rounded-full bg-gradient-to-br from-orange-500 to-red-600 flex items-center justify-center shadow-lg"}
1,[t("svg",{class:"h-6 w-6 sm:h-7 sm:w-7 text-white",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24"},[t("path",{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M12 8v4m0 4h.01M21 12a9 9 0 11-18 0 9 9 0 0118 0z"})])])],-1))])]),t("div",yt,[t("div",Mt,c(Math.round(l.stats.sinContacto/l.stats.totalClientes*100))+"% sin teléfono ",1)])])]),t("div",jt,[t("div",Ct,[e[19]||(e[19]=t("div",{class:"bg-gradient-to-r from-gray-50 to-gray-100 px-4 sm:px-6 py-3 sm:py-4 border-b border-gray-200"},[t("h3",{class:"text-base sm:text-lg font-bold text-gray-800 flex items-center"},[t("svg",{class:"h-5 w-5 mr-2 text-indigo-600",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24"},[t("path",{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M13 10V3L4 14h7v7l9-11h-7z"})]),o(" Acciones Rápidas ")])],-1)),t("div",Bt,[r(a(n),{href:"/clientes",class:"flex items-center p-4 bg-blue-50 rounded-lg hover:bg-blue-100 transition-colors group"},{default:i(()=>[...e[16]||(e[16]=[t("div",{class:"h-10 w-10 rounded-full bg-blue-500 flex items-center justify-center mr-4"},[t("svg",{class:"h-5 w-5 text-white",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24"},[t("path",{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M12 4.354a4 4 0 110 5.292M15 21H3v-1a6 6 0 0112 0v1zm0 0h6v-1a6 6 0 00-9-5.197M13 7a4 4 0 11-8 0 4 4 0 018 0z"})])],-1),t("div",{class:"flex-1"},[t("h4",{class:"text-sm font-semibold text-gray-900 group-hover:text-blue-700"},"Buscar Cliente"),t("p",{class:"text-xs text-gray-500"},"Encuentra clientes por DNI, nombre o teléfono")],-1),t("svg",{class:"h-5 w-5 text-gray-400 group-hover:text-blue-600",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24"},[t("path",{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M9 5l7 7-7 7"})],-1)])]),_:1}),r(a(n),{href:"/whatsapp-web",class:"flex items-center p-4 bg-green-50 rounded-lg hover:bg-green-100 transition-colors group"},{default:i(()=>[...e[17]||(e[17]=[t("div",{class:"h-10 w-10 rounded-full bg-green-500 flex items-center justify-center mr-4"},[t("svg",{class:"h-5 w-5 text-white",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24"},[t("path",{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M8 12h.01M12 12h.01M16 12h.01M21 12c0 4.418-4.03 8-9 8a9.863 9.863 0 01-4.255-.949L3 20l1.395-3.72C3.512 15.042 3 13.574 3 12c0-4.418 4.03-8 9-8s9 3.582 9 8z"})])],-1),t("div",{class:"flex-1"},[t("h4",{class:"text-sm font-semibold text-gray-900 group-hover:text-green-700"},"WhatsApp Web"),t("p",{class:"text-xs text-gray-500"},"Gestiona conversaciones con clientes")],-1),t("svg",{class:"h-5 w-5 text-gray-400 group-hover:text-green-600",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24"},[t("path",{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M9 5l7 7-7 7"})],-1)])]),_:1}),r(a(n),{href:"/admin",class:"flex items-center p-4 bg-purple-50 rounded-lg hover:bg-purple-100 transition-colors group"},{default:i(()=>[...e[18]||(e[18]=[t("div",{class:"h-10 w-10 rounded-full bg-purple-500 flex items-center justify-center mr-4"},[t("svg",{class:"h-5 w-5 text-white",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24"},[t("path",{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M10.325 4.317c.426-1.756 2.924-1.756 3.35 0a1.724 1.724 0 002.573 1.066c1.543-.94 3.31.826 2.37 2.37a1.724 1.724 0 001.065 2.572c1.756.426 1.756 2.924 0 3.35a1.724 1.724 0 00-1.066 2.573c.94 1.543-.826 3.31-2.37 2.37a1.724 1.724 0 00-2.572 1.065c-.426 1.756-2.924 1.756-3.35 0a1.724 1.724 0 00-2.573-1.066c-1.543.94-3.31-.826-2.37-2.37a1.724 1.724 0 00-1.065-2.572c-1.756-.426-1.756-2.924 0-3.35a1.724 1.724 0 001.066-2.573c-.94-1.543.826-3.31 2.37-2.37.996.608 2.296.07 2.572-1.065z"}),t("path",{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M15 12a3 3 0 11-6 0 3 3 0 016 0z"})])],-1),t("div",{class:"flex-1"},[t("h4",{class:"text-sm font-semibold text-gray-900 group-hover:text-purple-700"},"Panel Admin"),t("p",{class:"text-xs text-gray-500"},"Configuración y administración del sistema")],-1),t("svg",{class:"h-5 w-5 text-gray-400 group-hover:text-purple-600",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24"},[t("path",{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M9 5l7 7-7 7"})],-1)])]),_:1})])]),t("div",zt,[e[24]||(e[24]=t("div",{class:"bg-gradient-to-r from-gray-50 to-gray-100 px-4 sm:px-6 py-3 sm:py-4 border-b border-gray-200"},[t("h3",{class:"text-base sm:text-lg font-bold text-gray-800 flex items-center"},[t("svg",{class:"h-5 w-5 mr-2 text-green-600",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24"},[t("path",{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M9 19v-6a2 2 0 00-2-2H5a2 2 0 00-2 2v6a2 2 0 002 2h2a2 2 0 002-2zm0 0V9a2 2 0 012-2h2a2 2 0 012 2v10m-6 0a2 2 0 002 2h2a2 2 0 002-2m0 0V5a2 2 0 012-2h2a2 2 0 012 2v14a2 2 0 01-2 2h-2a2 2 0 01-2-2z"})]),o(" Estadísticas de Hoy ")])],-1)),t("div",_t,[t("div",$t,[e[21]||(e[21]=t("div",{class:"flex items-center justify-between p-3 bg-gray-50 rounded-lg"},[t("div",{class:"flex items-center"},[t("div",{class:"h-8 w-8 rounded-full bg-blue-100 flex items-center justify-center mr-3"},[t("svg",{class:"h-4 w-4 text-blue-600",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24"},[t("path",{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M21 21l-6-6m2-5a7 7 0 11-14 0 7 7 0 0114 0z"})])]),t("span",{class:"text-sm font-medium text-gray-700"},"Búsquedas realizadas")]),t("span",{class:"text-lg font-bold text-gray-900"},"--")],-1)),e[22]||(e[22]=t("div",{class:"flex items-center justify-between p-3 bg-gray-50 rounded-lg"},[t("div",{class:"flex items-center"},[t("div",{class:"h-8 w-8 rounded-full bg-green-100 flex items-center justify-center mr-3"},[t("svg",{class:"h-4 w-4 text-green-600",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24"},[t("path",{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M15 12a3 3 0 11-6 0 3 3 0 016 0z"}),t("path",{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M2.458 12C3.732 7.943 7.523 5 12 5c4.478 0 8.268 2.943 9.542 7-1.274 4.057-5.064 7-9.542 7-4.477 0-8.268-2.943-9.542-7z"})])]),t("span",{class:"text-sm font-medium text-gray-700"},"Clientes visualizados")]),t("span",{class:"text-lg font-bold text-gray-900"},"--")],-1)),t("div",Vt,[e[20]||(e[20]=t("div",{class:"flex items-center"},[t("div",{class:"h-8 w-8 rounded-full bg-purple-100 flex items-center justify-center mr-3"},[t("svg",{class:"h-4 w-4 text-purple-600",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24"},[t("path",{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M12 8v4l3 3m6-3a9 9 0 11-18 0 9 9 0 0118 0z"})])]),t("span",{class:"text-sm font-medium text-gray-700"},"Última sincronización")],-1)),t("span",At,c(x(l.stats.ultimaSync)),1)])]),e[23]||(e[23]=t("div",{class:"mt-6 p-4 bg-gradient-to-r from-blue-50 to-indigo-50 rounded-lg border border-blue-100"},[t("div",{class:"flex items-start"},[t("svg",{class:"h-5 w-5 text-blue-600 mt-0.5 mr-3",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24"},[t("path",{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M13 16h-1v-4h-1m1-4h.01M21 12a9 9 0 11-18 0 9 9 0 0118 0z"})]),t("div",null,[t("h4",{class:"text-sm font-semibold text-blue-900"},"Tip del día"),t("p",{class:"text-xs text-blue-700 mt-1"}," Usa el buscador en la sección de clientes para encontrar rápidamente cualquier cliente por DNI, nombre o teléfono. ")])])],-1))])])])])]}),_:1}))}};export{Et as default};

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.