PageSourceSearch

https://smadar.ai/assets/HealthAnalytics-C4vYJE2S.js

js smadar.ai collected 2026-10-05 15:06:19 UTC 3,732 bytes, 6 lines download raw bytes

1import{c as x,b as h,j as e,C as t,h as l}from"./index-BoPK12rZ.js";import{T as p,a as u,b as n,c}from"./tabs-DWQ6x32b.js";import{P as j}from"./progress-B2ndVF8r.js";import{T as y}from"./trending-up-CjqgoF2p.js";import{A as f}from"./activity-CT9PJwf8.js";import{H as g}from"./heart-BibdQAhM.js";import{D as N}from"./droplets-BQpdZSpW.js";import"./index-Bu4KJFpo.js";import"./index-DR_KIw6N.js";/**
2 * @license lucide-react v0.462.0 - ISC
3 *
4 * This source code is licensed under the ISC license.
5 * See the LICENSE file in the root directory of this source tree.
6 */const v=x("Thermometer",[["path",{d:"M14 4v10.54a4 4 0 1 1-4 0V4a2 2 0 0 1 4 0Z",key:"17jzev"}]]),L=()=>{const{t:s,language:o}=h(),m=o==="he",d=[{nameHe:"אנרגיה",nameEn:"Energy",value:72,icon:e.jsx(f,{className:"h-5 w-5 text-orange-500"}),color:"text-orange-500"},{nameHe:"מצב רוח",nameEn:"Mood",value:85,icon:e.jsx(g,{className:"h-5 w-5 text-pink-500"}),color:"text-pink-500"},{nameHe:"שינה",nameEn:"Sleep",value:68,icon:e.jsx(v,{className:"h-5 w-5 text-blue-500"}),color:"text-blue-500"},{nameHe:"שתייה",nameEn:"Hydration",value:55,icon:e.jsx(N,{className:"h-5 w-5 text-cyan-500"}),color:"text-cyan-500"}],i=[{dayHe:"א׳",dayEn:"Sun",score:70},{dayHe:"ב׳",dayEn:"Mon",score:75},{dayHe:"ג׳",dayEn:"Tue",score:65},{dayHe:"ד׳",dayEn:"Wed",score:80},{dayHe:"ה׳",dayEn:"Thu",score:72},{dayHe:"ו׳",dayEn:"Fri",score:88},{dayHe:"ש׳",dayEn:"Sat",score:82}];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-4",children:[e.jsxs("div",{className:"flex items-center gap-3 mb-6",children:[e.jsx(y,{className:"h-7 w-7 text-primary"}),e.jsx("h1",{className:"text-2xl font-bold text-foreground",children:s("אנליטיקת בריאות","Health Analytics")})]}),e.jsx(t,{className:"bg-primary/5 border-primary/20",children:e.jsxs(l,{className:"p-4 text-center",children:[e.jsx("p",{className:"text-sm text-muted-foreground",children:s("ציון בריאות כללי","Overall Health Score")}),e.jsx("p",{className:"text-4xl font-bold text-primary mt-1",children:"76"}),e.jsx("p",{className:"text-xs text-muted-foreground mt-1",children:s("עלייה של 4 נקודות מהשבוע שעבר","+4 points from last week")})]})}),e.jsx("div",{className:"grid grid-cols-2 gap-3",children:d.map((a,r)=>e.jsx(t,{children:e.jsxs(l,{className:"p-3 space-y-2",children:[e.jsxs("div",{className:"flex items-center gap-2",children:[a.icon,e.jsx("span",{className:"text-sm font-medium",children:s(a.nameHe,a.nameEn)})]}),e.jsx(j,{value:a.value,className:"h-2"}),e.jsxs("p",{className:`text-lg font-bold ${a.color}`,children:[a.value,"%"]})]})},r))}),e.jsxs(p,{defaultValue:"week",children:[e.jsxs(u,{className:"w-full",children:[e.jsx(n,{value:"week",className:"flex-1",children:s("שבועי","Weekly")}),e.jsx(n,{value:"month",className:"flex-1",children:s("חודשי","Monthly")})]}),e.jsx(c,{value:"week",className:"mt-3",children:e.jsx(t,{children:e.jsx(l,{className:"p-4",children:e.jsx("div",{className:"flex items-end justify-between gap-1 h-32",children:i.map((a,r)=>e.jsxs("div",{className:"flex flex-col items-center gap-1 flex-1",children:[e.jsx("div",{className:"w-full bg-primary/20 rounded-t",style:{height:`${a.score}%`},children:e.jsx("div",{className:"w-full bg-primary rounded-t h-full"})}),e.jsx("span",{className:"text-[10px] text-muted-foreground",children:s(a.dayHe,a.dayEn)})]},r))})})})}),e.jsx(c,{value:"month",className:"mt-3",children:e.jsx(t,{children:e.jsx(l,{className:"p-6 text-center text-muted-foreground",children:s("נתונים חודשיים בקרוב","Monthly data coming soon")})})})]})]})})};export{L 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.