1import{b as u,u as g,e as r,s as o,j as e,C as l,h as n,F as f}from"./index-BoPK12rZ.js";import{H as N}from"./house-CPCAQwMa.js";import{A as j}from"./activity-CT9PJwf8.js";import{C as b}from"./calendar-CRUjAu6G.js";import{P as w}from"./pill-DyW1TgDo.js";import{U as c}from"./users-DpKGh2ZL.js";import{M as y}from"./message-square-CRH2oD2V.js";import{H as v}from"./heart-BibdQAhM.js";const E=()=>{const{t:a,language:i}=u(),m=i==="he",d=g(),[h,x]=r.useState("");r.useEffect(()=>{(async()=>{const{data:{user:s}}=await o.auth.getUser();if(!s)return;const{data:t}=await o.from("profiles").select("full_name").eq("id",s.id).maybeSingle();x((t==null?void 0:t.full_name)||"")})()},[]);const p=[{he:"×ש××ר×",en:"Dashboard",path:"/dashboard",icon:e.jsx(j,{className:"h-6 w-6"}),color:"bg-blue-500/10 text-blue-600"},{he:"××××",en:"Calendar",path:"/calendar",icon:e.jsx(b,{className:"h-6 w-6"}),color:"bg-green-500/10 text-green-600"},{he:"תר×פ×ת",en:"Medications",path:"/medications",icon:e.jsx(w,{className:"h-6 w-6"}),color:"bg-purple-500/10 text-purple-600"},{he:"××¢×××",en:"Lab Results",path:"/lab-results",icon:e.jsx(f,{className:"h-6 w-6"}),color:"bg-orange-500/10 text-orange-600"},{he:"×צ××ת ש××",en:"My Team",path:"/team",icon:e.jsx(c,{className:"h-6 w-6"}),color:"bg-pink-500/10 text-pink-600"},{he:"צ׳×× AI",en:"AI Chat",path:"/ai-assistant",icon:e.jsx(y,{className:"h-6 w-6"}),color:"bg-cyan-500/10 text-cyan-600"},{he:"×ר×××ת × ×¤×©×ת",en:"Mental Health",path:"/mental-health",icon:e.jsx(v,{className:"h-6 w-6"}),color:"bg-red-500/10 text-red-600"},{he:"×§××××",en:"Community",path:"/community",icon:e.jsx(c,{className:"h-6 w-6"}),color:"bg-yellow-500/10 text-yellow-600"}];return e.jsx("div",{className:"min-h-screen bg-background p-4 pb-24",dir:m?"rtl":"ltr",children:e.jsxs("div",{className:"max-w-lg mx-auto space-y-6",children:[e.jsxs("div",{className:"py-6",children:[e.jsxs("p",{className:"text-muted-foreground text-sm",children:[a("ש×××","Hello")," ð"]}),e.jsx("h1",{className:"text-2xl font-bold text-foreground",children:h||a("×ר×××× ×××××","Welcome")})]}),e.jsx(l,{className:"bg-primary/5 border-primary/20",children:e.jsxs(n,{className:"p-4 flex items-center gap-3",children:[e.jsx(N,{className:"h-6 w-6 text-primary"}),e.jsxs("div",{className:"flex-1",children:[e.jsx("p",{className:"font-medium text-foreground",children:a("××¦× ××××: ×צ××","Overall Status: Stable")}),e.jsx("p",{className:"text-sm text-muted-foreground",children:a("×××פ×× ×××: ××¢×× 3 ××××","Next treatment: in 3 days")})]})]})}),e.jsx("div",{className:"grid grid-cols-2 gap-3",children:p.map((s,t)=>e.jsx(l,{className:"cursor-pointer hover:shadow-md transition-shadow active:scale-[0.98]",onClick:()=>d(s.path),children:e.jsxs(n,{className:"p-4 flex items-center gap-3",children:[e.jsx("div",{className:`h-10 w-10 rounded-lg flex items-center justify-center ${s.color}`,children:s.icon}),e.jsx("span",{className:"font-medium text-sm text-foreground",children:a(s.he,s.en)})]})},t))})]})})};export{E 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.