senthazalravi commited on
Commit
198dfb8
·
verified ·
1 Parent(s): 3affd32

Add 2 files

Browse files
Files changed (2) hide show
  1. README.md +6 -4
  2. index.html +1188 -19
README.md CHANGED
@@ -1,10 +1,12 @@
1
  ---
2
- title: Diabcarenew
3
- emoji: 💻
4
  colorFrom: green
5
- colorTo: blue
6
  sdk: static
7
  pinned: false
 
 
8
  ---
9
 
10
- Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
 
1
  ---
2
+ title: diabcarenew
3
+ emoji: 🐳
4
  colorFrom: green
5
+ colorTo: purple
6
  sdk: static
7
  pinned: false
8
+ tags:
9
+ - deepsite
10
  ---
11
 
12
+ Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
index.html CHANGED
@@ -1,19 +1,1188 @@
1
- <!doctype html>
2
- <html>
3
- <head>
4
- <meta charset="utf-8" />
5
- <meta name="viewport" content="width=device-width" />
6
- <title>My static Space</title>
7
- <link rel="stylesheet" href="style.css" />
8
- </head>
9
- <body>
10
- <div class="card">
11
- <h1>Welcome to your static Space!</h1>
12
- <p>You can modify this app directly by editing <i>index.html</i> in the Files and versions tab.</p>
13
- <p>
14
- Also don't forget to check the
15
- <a href="https://huggingface.co/docs/hub/spaces" target="_blank">Spaces documentation</a>.
16
- </p>
17
- </div>
18
- </body>
19
- </html>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <!DOCTYPE html>
2
+ <html lang="ta">
3
+ <head>
4
+ <meta charset="UTF-8">
5
+ <meta name="viewport" content="width=device-width, initial-scale=1.0">
6
+ <title>நீரிழிவு முன்னறிவிப்பு அமைப்பு | Diabetes Prediction System</title>
7
+ <script src="https://cdn.tailwindcss.com"></script>
8
+ <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css">
9
+ <style>
10
+ @import url('https://fonts.googleapis.com/css2?family=Noto+Sans+Tamil:wght@400;700&display=swap');
11
+ @import url('https://fonts.googleapis.com/css2?family=Noto+Sans+Devanagari:wght@400;700&display=swap');
12
+
13
+ body {
14
+ font-family: 'Noto Sans Tamil', sans-serif;
15
+ background-color: #f0fdf4;
16
+ }
17
+
18
+ .hindi-font {
19
+ font-family: 'Noto Sans Devanagari', sans-serif;
20
+ }
21
+
22
+ .language-flag {
23
+ width: 24px;
24
+ height: 16px;
25
+ display: inline-block;
26
+ margin-right: 8px;
27
+ background-size: cover;
28
+ border-radius: 2px;
29
+ }
30
+
31
+ .tamil { background-image: url('https://flagcdn.com/w20/in.png'); }
32
+ .english { background-image: url('https://flagcdn.com/w20/gb.png'); }
33
+ .chinese { background-image: url('https://flagcdn.com/w20/cn.png'); }
34
+ .arabic { background-image: url('https://flagcdn.com/w20/sa.png'); }
35
+ .hindi { background-image: url('https://flagcdn.com/w20/in.png'); }
36
+ .swedish { background-image: url('https://flagcdn.com/w20/se.png'); }
37
+
38
+ .result-card {
39
+ background: linear-gradient(135deg, #4ade80 0%, #22d3ee 100%);
40
+ box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
41
+ }
42
+
43
+ .form-section {
44
+ transition: all 0.3s ease;
45
+ }
46
+
47
+ .form-section:not(.active) {
48
+ display: none;
49
+ }
50
+ </style>
51
+ </head>
52
+ <body class="min-h-screen">
53
+ <div class="container mx-auto px-4 py-8 max-w-4xl">
54
+ <!-- Language Selector -->
55
+ <div class="flex justify-end mb-6">
56
+ <div class="relative">
57
+ <button id="languageBtn" class="flex items-center px-4 py-2 bg-white rounded-lg shadow-md hover:bg-gray-50 transition">
58
+ <span class="language-flag tamil"></span>
59
+ <span id="currentLanguage" data-lang="ta">தமிழ்</span>
60
+ <i class="fas fa-chevron-down ml-2 text-sm"></i>
61
+ </button>
62
+ <div id="languageDropdown" class="absolute right-0 mt-2 w-48 bg-white rounded-md shadow-lg z-10 hidden">
63
+ <div class="py-1">
64
+ <a href="#" data-lang="ta" class="language-option block px-4 py-2 text-sm hover:bg-gray-100">
65
+ <span class="language-flag tamil"></span> தமிழ்
66
+ </a>
67
+ <a href="#" data-lang="en" class="language-option block px-4 py-2 text-sm hover:bg-gray-100">
68
+ <span class="language-flag english"></span> English
69
+ </a>
70
+ <a href="#" data-lang="zh" class="language-option block px-4 py-2 text-sm hover:bg-gray-100">
71
+ <span class="language-flag chinese"></span> 中文
72
+ </a>
73
+ <a href="#" data-lang="ar" class="language-option block px-4 py-2 text-sm hover:bg-gray-100">
74
+ <span class="language-flag arabic"></span> العربية
75
+ </a>
76
+ <a href="#" data-lang="hi" class="language-option block px-4 py-2 text-sm hover:bg-gray-100 hindi-font">
77
+ <span class="language-flag hindi"></span> हिन्दी
78
+ </a>
79
+ <a href="#" data-lang="sv" class="language-option block px-4 py-2 text-sm hover:bg-gray-100">
80
+ <span class="language-flag swedish"></span> Svenska
81
+ </a>
82
+ </div>
83
+ </div>
84
+ </div>
85
+ </div>
86
+
87
+ <!-- Header -->
88
+ <div class="text-center mb-10">
89
+ <h1 id="appTitle" class="text-3xl font-bold text-gray-800 mb-2">நீரிழிவு முன்னறிவிப்பு அமைப்பு</h1>
90
+ <p id="appSubtitle" class="text-gray-600">உங்கள் நீரிழிவு ஆபத்து அளவை அறிய பின்வரும் தகவல்களை நிரப்பவும்</p>
91
+ </div>
92
+
93
+ <!-- Progress Bar -->
94
+ <div class="mb-8">
95
+ <div class="flex justify-between mb-2">
96
+ <span id="progressText" class="text-sm font-medium">1/3 படிகள்</span>
97
+ <span id="progressPercent" class="text-sm font-medium">33%</span>
98
+ </div>
99
+ <div class="w-full bg-gray-200 rounded-full h-2.5">
100
+ <div id="progressBar" class="bg-green-500 h-2.5 rounded-full" style="width: 33%"></div>
101
+ </div>
102
+ </div>
103
+
104
+ <!-- Form Sections -->
105
+ <form id="diabetesForm" class="bg-white rounded-xl shadow-lg p-6 mb-8">
106
+ <!-- Section 1: Basic Info -->
107
+ <div id="section1" class="form-section active">
108
+ <h2 class="text-xl font-semibold mb-4 text-gray-800 border-b pb-2" id="section1Title">அடிப்படை தகவல்கள்</h2>
109
+
110
+ <div class="grid grid-cols-1 md:grid-cols-2 gap-6">
111
+ <div>
112
+ <label for="name" class="block mb-2 text-sm font-medium text-gray-700" id="nameLabel">பெயர்</label>
113
+ <input type="text" id="name" name="name" class="w-full px-4 py-2 border border-gray-300 rounded-lg focus:ring-2 focus:ring-green-500 focus:border-green-500">
114
+ </div>
115
+
116
+ <div>
117
+ <label for="age" class="block mb-2 text-sm font-medium text-gray-700" id="ageLabel">வயது</label>
118
+ <input type="number" id="age" name="age" min="1" max="120" class="w-full px-4 py-2 border border-gray-300 rounded-lg focus:ring-2 focus:ring-green-500 focus:border-green-500">
119
+ </div>
120
+
121
+ <div>
122
+ <label for="gender" class="block mb-2 text-sm font-medium text-gray-700" id="genderLabel">பாலினம்</label>
123
+ <select id="gender" name="gender" class="w-full px-4 py-2 border border-gray-300 rounded-lg focus:ring-2 focus:ring-green-500 focus:border-green-500">
124
+ <option value="" selected disabled id="selectGender">தேர்ந்தெடுக்கவும்</option>
125
+ <option value="male" id="maleOption">ஆண்</option>
126
+ <option value="female" id="femaleOption">பெண்</option>
127
+ <option value="other" id="otherOption">மற்றவை</option>
128
+ </select>
129
+ </div>
130
+
131
+ <div>
132
+ <label for="weight" class="block mb-2 text-sm font-medium text-gray-700" id="weightLabel">உடல் எடை (கிலோ)</label>
133
+ <input type="number" id="weight" name="weight" min="30" max="200" class="w-full px-4 py-2 border border-gray-300 rounded-lg focus:ring-2 focus:ring-green-500 focus:border-green-500">
134
+ </div>
135
+
136
+ <div>
137
+ <label for="height" class="block mb-2 text-sm font-medium text-gray-700" id="heightLabel">உயரம் (செ.மீ)</label>
138
+ <input type="number" id="height" name="height" min="100" max="250" class="w-full px-4 py-2 border border-gray-300 rounded-lg focus:ring-2 focus:ring-green-500 focus:border-green-500">
139
+ </div>
140
+
141
+ <div>
142
+ <label for="cuisine" class="block mb-2 text-sm font-medium text-gray-700" id="cuisineLabel">விருப்பமான உணவு வகை</label>
143
+ <select id="cuisine" name="cuisine" class="w-full px-4 py-2 border border-gray-300 rounded-lg focus:ring-2 focus:ring-green-500 focus:border-green-500">
144
+ <option value="" selected disabled id="selectCuisine">தேர்ந்தெடுக்கவும்</option>
145
+ <option value="indian" id="indianOption">இந்திய உணவு</option>
146
+ <option value="western" id="westernOption">மேற்கத்திய உணவு</option>
147
+ <option value="chinese" id="chineseOption">சீன உணவு</option>
148
+ <option value="mixed" id="mixedOption">கலப்பு உணவு</option>
149
+ </select>
150
+ </div>
151
+ </div>
152
+
153
+ <div class="flex justify-between mt-8">
154
+ <div></div>
155
+ <button type="button" id="next1" class="px-6 py-2 bg-green-600 text-white rounded-lg hover:bg-green-700 transition flex items-center">
156
+ <span id="next1Text">அடுத்தது</span>
157
+ <i class="fas fa-arrow-right ml-2"></i>
158
+ </button>
159
+ </div>
160
+ </div>
161
+
162
+ <!-- Section 2: Dietary Habits -->
163
+ <div id="section2" class="form-section">
164
+ <h2 class="text-xl font-semibold mb-4 text-gray-800 border-b pb-2" id="section2Title">உணவு பழக்கவழக்கங்கள்</h2>
165
+
166
+ <div class="grid grid-cols-1 md:grid-cols-2 gap-6">
167
+ <div>
168
+ <label class="block mb-2 text-sm font-medium text-gray-700" id="breakfastLabel">காலை உணவு</label>
169
+ <div class="space-y-2">
170
+ <div class="flex items-center">
171
+ <input type="radio" id="breakfast-heavy" name="breakfast" value="heavy" class="h-4 w-4 text-green-600 focus:ring-green-500">
172
+ <label for="breakfast-heavy" class="ml-2 block text-sm text-gray-700" id="heavyBreakfast">கனமான (இட்லி, தோசை, பூரி)</label>
173
+ </div>
174
+ <div class="flex items-center">
175
+ <input type="radio" id="breakfast-light" name="breakfast" value="light" class="h-4 w-4 text-green-600 focus:ring-green-500">
176
+ <label for="breakfast-light" class="ml-2 block text-sm text-gray-700" id="lightBreakfast">இலகுவான (தானியங்கள், பழம்)</label>
177
+ </div>
178
+ <div class="flex items-center">
179
+ <input type="radio" id="breakfast-skip" name="breakfast" value="skip" class="h-4 w-4 text-green-600 focus:ring-green-500">
180
+ <label for="breakfast-skip" class="ml-2 block text-sm text-gray-700" id="skipBreakfast">தவிர்க்கிறேன்</label>
181
+ </div>
182
+ </div>
183
+ </div>
184
+
185
+ <div>
186
+ <label class="block mb-2 text-sm font-medium text-gray-700" id="lunchLabel">மதிய உணவு</label>
187
+ <div class="space-y-2">
188
+ <div class="flex items-center">
189
+ <input type="radio" id="lunch-rice" name="lunch" value="rice" class="h-4 w-4 text-green-600 focus:ring-green-500">
190
+ <label for="lunch-rice" class="ml-2 block text-sm text-gray-700" id="riceLunch">அரிசி உணவு</label>
191
+ </div>
192
+ <div class="flex items-center">
193
+ <input type="radio" id="lunch-wheat" name="lunch" value="wheat" class="h-4 w-4 text-green-600 focus:ring-green-500">
194
+ <label for="lunch-wheat" class="ml-2 block text-sm text-gray-700" id="wheatLunch">கோதுமை உணவு (சப்பாத்தி, ரொட்டி)</label>
195
+ </div>
196
+ <div class="flex items-center">
197
+ <input type="radio" id="lunch-light" name="lunch" value="light" class="h-4 w-4 text-green-600 focus:ring-green-500">
198
+ <label for="lunch-light" class="ml-2 block text-sm text-gray-700" id="lightLunch">இலகுவான உணவு</label>
199
+ </div>
200
+ </div>
201
+ </div>
202
+
203
+ <div>
204
+ <label class="block mb-2 text-sm font-medium text-gray-700" id="dinnerLabel">இரவு உணவு</label>
205
+ <div class="space-y-2">
206
+ <div class="flex items-center">
207
+ <input type="radio" id="dinner-heavy" name="dinner" value="heavy" class="h-4 w-4 text-green-600 focus:ring-green-500">
208
+ <label for="dinner-heavy" class="ml-2 block text-sm text-gray-700" id="heavyDinner">கனமான உணவு</label>
209
+ </div>
210
+ <div class="flex items-center">
211
+ <input type="radio" id="dinner-light" name="dinner" value="light" class="h-4 w-4 text-green-600 focus:ring-green-500">
212
+ <label for="dinner-light" class="ml-2 block text-sm text-gray-700" id="lightDinner">இலகுவான உணவு</label>
213
+ </div>
214
+ <div class="flex items-center">
215
+ <input type="radio" id="dinner-early" name="dinner" value="early" class="h-4 w-4 text-green-600 focus:ring-green-500">
216
+ <label for="dinner-early" class="ml-2 block text-sm text-gray-700" id="earlyDinner">ஆரம்பத்தில் (���ாலை 7 மணிக்கு முன்)</label>
217
+ </div>
218
+ </div>
219
+ </div>
220
+
221
+ <div>
222
+ <label class="block mb-2 text-sm font-medium text-gray-700" id="fastingLabel">நோன்பு பழக்கம்</label>
223
+ <div class="space-y-2">
224
+ <div class="flex items-center">
225
+ <input type="radio" id="fasting-yes" name="fasting" value="yes" class="h-4 w-4 text-green-600 focus:ring-green-500">
226
+ <label for="fasting-yes" class="ml-2 block text-sm text-gray-700" id="yesFasting">உண்டு (வாரத்தில் சில நாட்கள்)</label>
227
+ </div>
228
+ <div class="flex items-center">
229
+ <input type="radio" id="fasting-no" name="fasting" value="no" class="h-4 w-4 text-green-600 focus:ring-green-500">
230
+ <label for="fasting-no" class="ml-2 block text-sm text-gray-700" id="noFasting">இல்லை</label>
231
+ </div>
232
+ </div>
233
+ </div>
234
+
235
+ <div>
236
+ <label class="block mb-2 text-sm font-medium text-gray-700" id="snackingLabel">சிற்றுண்டி பழக்கம்</label>
237
+ <div class="space-y-2">
238
+ <div class="flex items-center">
239
+ <input type="radio" id="snacking-often" name="snacking" value="often" class="h-4 w-4 text-green-600 focus:ring-green-500">
240
+ <label for="snacking-often" class="ml-2 block text-sm text-gray-700" id="oftenSnacking">அடிக்கடி (நாள்தோறும்)</label>
241
+ </div>
242
+ <div class="flex items-center">
243
+ <input type="radio" id="snacking-sometimes" name="snacking" value="sometimes" class="h-4 w-4 text-green-600 focus:ring-green-500">
244
+ <label for="snacking-sometimes" class="ml-2 block text-sm text-gray-700" id="sometimesSnacking">சில நேரங்களில்</label>
245
+ </div>
246
+ <div class="flex items-center">
247
+ <input type="radio" id="snacking-rarely" name="snacking" value="rarely" class="h-4 w-4 text-green-600 focus:ring-green-500">
248
+ <label for="snacking-rarely" class="ml-2 block text-sm text-gray-700" id="rarelySnacking">அரிதாக</label>
249
+ </div>
250
+ </div>
251
+ </div>
252
+
253
+ <div>
254
+ <label class="block mb-2 text-sm font-medium text-gray-700" id="sweetsLabel">இனிப்பு உணவு பழக்கம்</label>
255
+ <div class="space-y-2">
256
+ <div class="flex items-center">
257
+ <input type="radio" id="sweets-daily" name="sweets" value="daily" class="h-4 w-4 text-green-600 focus:ring-green-500">
258
+ <label for="sweets-daily" class="ml-2 block text-sm text-gray-700" id="dailySweets">தினமும்</label>
259
+ </div>
260
+ <div class="flex items-center">
261
+ <input type="radio" id="sweets-weekly" name="sweets" value="weekly" class="h-4 w-4 text-green-600 focus:ring-green-500">
262
+ <label for="sweets-weekly" class="ml-2 block text-sm text-gray-700" id="weeklySweets">வாரத்தில் சில முறை</label>
263
+ </div>
264
+ <div class="flex items-center">
265
+ <input type="radio" id="sweets-rarely" name="sweets" value="rarely" class="h-4 w-4 text-green-600 focus:ring-green-500">
266
+ <label for="sweets-rarely" class="ml-2 block text-sm text-gray-700" id="rarelySweets">அரிதாக</label>
267
+ </div>
268
+ </div>
269
+ </div>
270
+ </div>
271
+
272
+ <div class="flex justify-between mt-8">
273
+ <button type="button" id="prev2" class="px-6 py-2 bg-gray-200 text-gray-700 rounded-lg hover:bg-gray-300 transition flex items-center">
274
+ <i class="fas fa-arrow-left mr-2"></i>
275
+ <span id="prev2Text">முந்தைய</span>
276
+ </button>
277
+ <button type="button" id="next2" class="px-6 py-2 bg-green-600 text-white rounded-lg hover:bg-green-700 transition flex items-center">
278
+ <span id="next2Text">அடுத்தது</span>
279
+ <i class="fas fa-arrow-right ml-2"></i>
280
+ </button>
281
+ </div>
282
+ </div>
283
+
284
+ <!-- Section 3: Physical Activity -->
285
+ <div id="section3" class="form-section">
286
+ <h2 class="text-xl font-semibold mb-4 text-gray-800 border-b pb-2" id="section3Title">உடல் செயல்பாடு</h2>
287
+
288
+ <div class="grid grid-cols-1 md:grid-cols-2 gap-6">
289
+ <div>
290
+ <label class="block mb-2 text-sm font-medium text-gray-700" id="walkingLabel">நடைப்பயணம்</label>
291
+ <div class="space-y-2">
292
+ <div class="flex items-center">
293
+ <input type="radio" id="walking-daily" name="walking" value="daily" class="h-4 w-4 text-green-600 focus:ring-green-500">
294
+ <label for="walking-daily" class="ml-2 block text-sm text-gray-700" id="dailyWalking">தினமும் (30 நிமிடங்களுக்கு மேல்)</label>
295
+ </div>
296
+ <div class="flex items-center">
297
+ <input type="radio" id="walking-weekly" name="walking" value="weekly" class="h-4 w-4 text-green-600 focus:ring-green-500">
298
+ <label for="walking-weekly" class="ml-2 block text-sm text-gray-700" id="weeklyWalking">வாரத்தில் சில முறை</label>
299
+ </div>
300
+ <div class="flex items-center">
301
+ <input type="radio" id="walking-rarely" name="walking" value="rarely" class="h-4 w-4 text-green-600 focus:ring-green-500">
302
+ <label for="walking-rarely" class="ml-2 block text-sm text-gray-700" id="rarelyWalking">அரிதாக</label>
303
+ </div>
304
+ </div>
305
+ </div>
306
+
307
+ <div>
308
+ <label class="block mb-2 text-sm font-medium text-gray-700" id="exerciseLabel">உடற்பயிற்சி / ஜிம்</label>
309
+ <div class="space-y-2">
310
+ <div class="flex items-center">
311
+ <input type="radio" id="exercise-daily" name="exercise" value="daily" class="h-4 w-4 text-green-600 focus:ring-green-500">
312
+ <label for="exercise-daily" class="ml-2 block text-sm text-gray-700" id="dailyExercise">தினமும்</label>
313
+ </div>
314
+ <div class="flex items-center">
315
+ <input type="radio" id="exercise-weekly" name="exercise" value="weekly" class="h-4 w-4 text-green-600 focus:ring-green-500">
316
+ <label for="exercise-weekly" class="ml-2 block text-sm text-gray-700" id="weeklyExercise">வாரத்தில் 3-4 முறை</label>
317
+ </div>
318
+ <div class="flex items-center">
319
+ <input type="radio" id="exercise-monthly" name="exercise" value="monthly" class="h-4 w-4 text-green-600 focus:ring-green-500">
320
+ <label for="exercise-monthly" class="ml-2 block text-sm text-gray-700" id="monthlyExercise">மாதத்தில் சில முறை</label>
321
+ </div>
322
+ <div class="flex items-center">
323
+ <input type="radio" id="exercise-rarely" name="exercise" value="rarely" class="h-4 w-4 text-green-600 focus:ring-green-500">
324
+ <label for="exercise-rarely" class="ml-2 block text-sm text-gray-700" id="rarelyExercise">அரிதாக</label>
325
+ </div>
326
+ </div>
327
+ </div>
328
+
329
+ <div>
330
+ <label class="block mb-2 text-sm font-medium text-gray-700" id="familyLabel">குடும்பத்தில் நீரிழிவு வரலாறு</label>
331
+ <div class="space-y-2">
332
+ <div class="flex items-center">
333
+ <input type="radio" id="family-yes" name="family" value="yes" class="h-4 w-4 text-green-600 focus:ring-green-500">
334
+ <label for="family-yes" class="ml-2 block text-sm text-gray-700" id="yesFamily">உண்டு (பெற்றோர் அல்லது உடன்பிறப்பு)</label>
335
+ </div>
336
+ <div class="flex items-center">
337
+ <input type="radio" id="family-no" name="family" value="no" class="h-4 w-4 text-green-600 focus:ring-green-500">
338
+ <label for="family-no" class="ml-2 block text-sm text-gray-700" id="noFamily">இல்லை</label>
339
+ </div>
340
+ </div>
341
+ </div>
342
+
343
+ <div>
344
+ <label class="block mb-2 text-sm font-medium text-gray-700" id="stressLabel">மன அழுத்த நிலை</label>
345
+ <div class="space-y-2">
346
+ <div class="flex items-center">
347
+ <input type="radio" id="stress-high" name="stress" value="high" class="h-4 w-4 text-green-600 focus:ring-green-500">
348
+ <label for="stress-high" class="ml-2 block text-sm text-gray-700" id="highStress">அதிகம்</label>
349
+ </div>
350
+ <div class="flex items-center">
351
+ <input type="radio" id="stress-moderate" name="stress" value="moderate" class="h-4 w-4 text-green-600 focus:ring-green-500">
352
+ <label for="stress-moderate" class="ml-2 block text-sm text-gray-700" id="moderateStress">மிதமான</label>
353
+ </div>
354
+ <div class="flex items-center">
355
+ <input type="radio" id="stress-low" name="stress" value="low" class="h-4 w-4 text-green-600 focus:ring-green-500">
356
+ <label for="stress-low" class="ml-2 block text-sm text-gray-700" id="lowStress">குறைவு</label>
357
+ </div>
358
+ </div>
359
+ </div>
360
+ </div>
361
+
362
+ <div class="flex justify-between mt-8">
363
+ <button type="button" id="prev3" class="px-6 py-2 bg-gray-200 text-gray-700 rounded-lg hover:bg-gray-300 transition flex items-center">
364
+ <i class="fas fa-arrow-left mr-2"></i>
365
+ <span id="prev3Text">முந்தைய</span>
366
+ </button>
367
+ <button type="submit" id="submitBtn" class="px-6 py-2 bg-green-600 text-white rounded-lg hover:bg-green-700 transition flex items-center">
368
+ <span id="submitText">முடிவுகளைப் பெறுங்கள்</span>
369
+ <i class="fas fa-chart-line ml-2"></i>
370
+ </button>
371
+ </div>
372
+ </div>
373
+ </form>
374
+
375
+ <!-- Results Section (Initially Hidden) -->
376
+ <div id="resultsSection" class="hidden">
377
+ <div class="result-card rounded-xl p-6 mb-6 text-white">
378
+ <div class="flex items-center mb-4">
379
+ <i class="fas fa-chart-pie text-3xl mr-4"></i>
380
+ <div>
381
+ <h2 id="resultTitle" class="text-2xl font-bold">உங்கள் நீரிழிவு ஆபத்து மதிப்பீடு</h2>
382
+ <p id="resultSubtitle" class="text-white text-opacity-80">பின்வரும் முடிவுகள் உங்கள் வழங்கிய தகவல்களின் அடிப்படையில் உள்ளன</p>
383
+ </div>
384
+ </div>
385
+
386
+ <div class="grid grid-cols-1 md:grid-cols-3 gap-4 mb-6">
387
+ <div class="bg-white bg-opacity-20 rounded-lg p-4">
388
+ <div class="text-sm font-medium mb-1" id="riskLabel">ஆபத்து நிலை</div>
389
+ <div id="riskLevel" class="text-2xl font-bold">மிதமான</div>
390
+ </div>
391
+ <div class="bg-white bg-opacity-20 rounded-lg p-4">
392
+ <div class="text-sm font-medium mb-1" id="scoreLabel">மதிப்பெண்</div>
393
+ <div id="riskScore" class="text-2xl font-bold">45/100</div>
394
+ </div>
395
+ <div class="bg-white bg-opacity-20 rounded-lg p-4">
396
+ <div class="text-sm font-medium mb-1" id="probabilityLabel">நிகழ்தகவு</div>
397
+ <div id="riskProbability" class="text-2xl font-bold">25%</div>
398
+ </div>
399
+ </div>
400
+
401
+ <div class="mb-6">
402
+ <div class="flex justify-between mb-2">
403
+ <span id="recommendationTitle" class="font-medium">பரிந்துரைகள்:</span>
404
+ </div>
405
+ <ul id="recommendations" class="list-disc pl-5 space-y-2">
406
+ <li id="rec1">உங்கள் உணவில் இனிப்பு மற்றும் கார்போஹைட்ரேட் உட்கொள்ளலைக் குறைக்கவும்</li>
407
+ <li id="rec2">வாரத்தில் குறைந்தது 150 நிமிடங்கள் மிதமான உடற்பயிற்சி செய்யவு��்</li>
408
+ <li id="rec3">உங்கள் உடல் எடையை கண்காணிக்கவும் மற்றும் பராமரிக்கவும்</li>
409
+ </ul>
410
+ </div>
411
+
412
+ <div class="flex justify-between items-center">
413
+ <button id="downloadBtn" class="px-4 py-2 bg-white text-green-600 rounded-lg hover:bg-gray-100 transition flex items-center">
414
+ <i class="fas fa-download mr-2"></i>
415
+ <span id="downloadText">முடிவுகளைப் பதிவிறக்கவும்</span>
416
+ </button>
417
+ <button id="restartBtn" class="px-4 py-2 bg-white bg-opacity-20 hover:bg-opacity-30 rounded-lg transition flex items-center">
418
+ <i class="fas fa-redo mr-2"></i>
419
+ <span id="restartText">மீண்டும் தொடங்கவும்</span>
420
+ </button>
421
+ </div>
422
+ </div>
423
+ </div>
424
+ </div>
425
+
426
+ <script>
427
+ // Language translations
428
+ const translations = {
429
+ ta: {
430
+ appTitle: "நீரிழிவு முன்னறிவிப்பு அமைப்பு",
431
+ appSubtitle: "உங்கள் நீரிழிவு ஆபத்து அளவை அறிய பின்வரும் தகவல்களை நிரப்பவும்",
432
+ section1Title: "அடிப்படை தகவல்கள்",
433
+ nameLabel: "பெயர்",
434
+ ageLabel: "வயது",
435
+ genderLabel: "பாலினம்",
436
+ selectGender: "தேர்ந்தெடுக்கவும்",
437
+ maleOption: "ஆண்",
438
+ femaleOption: "பெண்",
439
+ otherOption: "மற்றவை",
440
+ weightLabel: "உடல் எடை (கிலோ)",
441
+ heightLabel: "உயரம் (செ.மீ)",
442
+ cuisineLabel: "விருப்பமான உணவு வகை",
443
+ selectCuisine: "தேர்ந்தெடுக்கவும்",
444
+ indianOption: "இந்திய உணவு",
445
+ westernOption: "மேற்கத்திய உணவு",
446
+ chineseOption: "சீன உணவு",
447
+ mixedOption: "கலப்பு உணவு",
448
+ next1Text: "அடுத்தது",
449
+ section2Title: "உணவு பழக்கவழக்கங்கள்",
450
+ breakfastLabel: "காலை உணவு",
451
+ heavyBreakfast: "கனமான (இட்லி, தோசை, பூரி)",
452
+ lightBreakfast: "இலகுவான (தானியங்கள், பழம்)",
453
+ skipBreakfast: "தவிர்க்கிறேன்",
454
+ lunchLabel: "மதிய உணவு",
455
+ riceLunch: "அரிசி உணவு",
456
+ wheatLunch: "கோதுமை உணவு (சப்பாத்தி, ரொட்டி)",
457
+ lightLunch: "இலகுவான உணவு",
458
+ dinnerLabel: "இரவு உணவு",
459
+ heavyDinner: "கனமான உணவு",
460
+ lightDinner: "இலகுவான உணவு",
461
+ earlyDinner: "ஆரம்பத்தில் (மாலை 7 மணிக்கு முன்)",
462
+ fastingLabel: "நோன்பு பழக்கம்",
463
+ yesFasting: "உண்டு (வாரத்தில் சில நாட்கள்)",
464
+ noFasting: "இல்லை",
465
+ snackingLabel: "சிற்றுண்டி பழக்கம்",
466
+ oftenSnacking: "அடிக்கடி (நாள்தோறும்)",
467
+ sometimesSnacking: "சில நேரங்களில்",
468
+ rarelySnacking: "அரிதாக",
469
+ sweetsLabel: "இனிப்பு உணவு பழக்கம்",
470
+ dailySweets: "தினமும்",
471
+ weeklySweets: "வாரத்தில் சில முறை",
472
+ rarelySweets: "அரிதாக",
473
+ prev2Text: "முந்தைய",
474
+ next2Text: "அடுத்தது",
475
+ section3Title: "உடல் செயல்பாடு",
476
+ walkingLabel: "நடைப்பயணம்",
477
+ dailyWalking: "தினமும் (30 நிமிடங்களுக்கு மேல்)",
478
+ weeklyWalking: "வாரத்தில் சில முறை",
479
+ rarelyWalking: "அரிதாக",
480
+ exerciseLabel: "உடற்பயிற்சி / ஜிம்",
481
+ dailyExercise: "தினமும்",
482
+ weeklyExercise: "வாரத்தில் 3-4 முறை",
483
+ monthlyExercise: "மாதத்தில் சில முறை",
484
+ rarelyExercise: "அரிதாக",
485
+ familyLabel: "குடும்பத்தில் நீரிழிவு வரலாறு",
486
+ yesFamily: "உண்டு (பெற்றோர் அல்லது உடன்பிறப்பு)",
487
+ noFamily: "இல்லை",
488
+ stressLabel: "மன அழுத்த நிலை",
489
+ highStress: "அதிகம்",
490
+ moderateStress: "மிதமான",
491
+ lowStress: "குறைவு",
492
+ prev3Text: "முந்தைய",
493
+ submitText: "முடிவுகளைப் பெறுங்கள்",
494
+ progressText: "1/3 படிகள்",
495
+ resultTitle: "உங்கள் நீரிழிவு ஆபத்து மதிப்பீடு",
496
+ resultSubtitle: "பின்வரும் முடிவுகள் உங்கள் வழங்கிய தகவல்களின் அடிப்படையில் உள்ளன",
497
+ riskLabel: "ஆபத்து நிலை",
498
+ scoreLabel: "மதிப்பெண்",
499
+ probabilityLabel: "நிகழ்தகவு",
500
+ recommendationTitle: "பரிந்துரைகள்:",
501
+ rec1: "உங்கள் உணவில் இனிப்பு மற்றும் கார்போஹைட்ரேட் உட்கொள்ளலைக் குறைக்கவும்",
502
+ rec2: "வாரத்தில் குறைந்தது 150 நிமிடங்கள் மிதமான உடற்பயிற்சி செய்யவும்",
503
+ rec3: "உங்கள் உடல் எடையை கண்காணிக்கவும் மற்றும் பராமரிக்கவும்",
504
+ downloadText: "முடிவுகளைப் பதிவிறக்கவும்",
505
+ restartText: "மீண்டும் தொடங்கவும்"
506
+ },
507
+ en: {
508
+ appTitle: "Diabetes Prediction System",
509
+ appSubtitle: "Fill in the following information to assess your diabetes risk",
510
+ section1Title: "Basic Information",
511
+ nameLabel: "Name",
512
+ ageLabel: "Age",
513
+ genderLabel: "Gender",
514
+ selectGender: "Select",
515
+ maleOption: "Male",
516
+ femaleOption: "Female",
517
+ otherOption: "Other",
518
+ weightLabel: "Weight (kg)",
519
+ heightLabel: "Height (cm)",
520
+ cuisineLabel: "Preferred Cuisine Type",
521
+ selectCuisine: "Select",
522
+ indianOption: "Indian Food",
523
+ westernOption: "Western Food",
524
+ chineseOption: "Chinese Food",
525
+ mixedOption: "Mixed Food",
526
+ next1Text: "Next",
527
+ section2Title: "Dietary Habits",
528
+ breakfastLabel: "Breakfast",
529
+ heavyBreakfast: "Heavy (Idli, Dosa, Puri)",
530
+ lightBreakfast: "Light (Cereals, Fruits)",
531
+ skipBreakfast: "Skip Breakfast",
532
+ lunchLabel: "Lunch",
533
+ riceLunch: "Rice Meal",
534
+ wheatLunch: "Wheat Meal (Chapati, Roti)",
535
+ lightLunch: "Light Meal",
536
+ dinnerLabel: "Dinner",
537
+ heavyDinner: "Heavy Meal",
538
+ lightDinner: "Light Meal",
539
+ earlyDinner: "Early (Before 7 PM)",
540
+ fastingLabel: "Fasting Habit",
541
+ yesFasting: "Yes (Few days a week)",
542
+ noFasting: "No",
543
+ snackingLabel: "Snacking Habit",
544
+ oftenSnacking: "Often (Daily)",
545
+ sometimesSnacking: "Sometimes",
546
+ rarelySnacking: "Rarely",
547
+ sweetsLabel: "Sweet Consumption",
548
+ dailySweets: "Daily",
549
+ weeklySweets: "Few times a week",
550
+ rarelySweets: "Rarely",
551
+ prev2Text: "Previous",
552
+ next2Text: "Next",
553
+ section3Title: "Physical Activity",
554
+ walkingLabel: "Walking",
555
+ dailyWalking: "Daily (More than 30 mins)",
556
+ weeklyWalking: "Few times a week",
557
+ rarelyWalking: "Rarely",
558
+ exerciseLabel: "Exercise / Gym",
559
+ dailyExercise: "Daily",
560
+ weeklyExercise: "3-4 times a week",
561
+ monthlyExercise: "Few times a month",
562
+ rarelyExercise: "Rarely",
563
+ familyLabel: "Family History of Diabetes",
564
+ yesFamily: "Yes (Parent or Sibling)",
565
+ noFamily: "No",
566
+ stressLabel: "Stress Level",
567
+ highStress: "High",
568
+ moderateStress: "Moderate",
569
+ lowStress: "Low",
570
+ prev3Text: "Previous",
571
+ submitText: "Get Results",
572
+ progressText: "1/3 Steps",
573
+ resultTitle: "Your Diabetes Risk Assessment",
574
+ resultSubtitle: "The following results are based on the information you provided",
575
+ riskLabel: "Risk Level",
576
+ scoreLabel: "Score",
577
+ probabilityLabel: "Probability",
578
+ recommendationTitle: "Recommendations:",
579
+ rec1: "Reduce sugar and carbohydrate intake in your diet",
580
+ rec2: "Do at least 150 minutes of moderate exercise per week",
581
+ rec3: "Monitor and maintain your body weight",
582
+ downloadText: "Download Results",
583
+ restartText: "Start Again"
584
+ },
585
+ zh: {
586
+ appTitle: "糖尿病预测系统",
587
+ appSubtitle: "填写以下信息以评估您的糖尿病风险",
588
+ section1Title: "基本信息",
589
+ nameLabel: "姓名",
590
+ ageLabel: "年龄",
591
+ genderLabel: "性别",
592
+ selectGender: "选择",
593
+ maleOption: "男",
594
+ femaleOption: "女",
595
+ otherOption: "其他",
596
+ weightLabel: "体重 (公斤)",
597
+ heightLabel: "身高 (厘米)",
598
+ cuisineLabel: "偏好的饮食类型",
599
+ selectCuisine: "选择",
600
+ indianOption: "印度菜",
601
+ westernOption: "西餐",
602
+ chineseOption: "中餐",
603
+ mixedOption: "混合餐",
604
+ next1Text: "下一步",
605
+ section2Title: "饮食习惯",
606
+ breakfastLabel: "早餐",
607
+ heavyBreakfast: "丰盛 (印度薄饼, 多萨饼, 普里)",
608
+ lightBreakfast: "清淡 (谷物, 水果)",
609
+ skipBreakfast: "不吃早餐",
610
+ lunchLabel: "午餐",
611
+ riceLunch: "米饭餐",
612
+ wheatLunch: "面食 (印度烤饼, 罗提)",
613
+ lightLunch: "清淡餐",
614
+ dinnerLabel: "晚餐",
615
+ heavyDinner: "丰盛餐",
616
+ lightDinner: "清淡餐",
617
+ earlyDinner: "早吃 (晚上7点前)",
618
+ fastingLabel: "禁食习惯",
619
+ yesFasting: "有 (每周几天)",
620
+ noFasting: "没有",
621
+ snackingLabel: "零食习惯",
622
+ oftenSnacking: "经常 (每天)",
623
+ sometimesSnacking: "有时",
624
+ rarelySnacking: "很少",
625
+ sweetsLabel: "甜食消费",
626
+ dailySweets: "每天",
627
+ weeklySweets: "每周几次",
628
+ rarelySweets: "很少",
629
+ prev2Text: "上一步",
630
+ next2Text: "下一步",
631
+ section3Title: "身体活动",
632
+ walkingLabel: "步行",
633
+ dailyWalking: "每天 (超过30分钟)",
634
+ weeklyWalking: "每周几次",
635
+ rarelyWalking: "很少",
636
+ exerciseLabel: "锻炼 / 健身房",
637
+ dailyExercise: "每天",
638
+ weeklyExercise: "每周3-4次",
639
+ monthlyExercise: "每月几次",
640
+ rarelyExercise: "很少",
641
+ familyLabel: "糖尿病家族史",
642
+ yesFamily: "有 (父母或兄弟姐妹)",
643
+ noFamily: "没有",
644
+ stressLabel: "压力水平",
645
+ highStress: "高",
646
+ moderateStress: "中等",
647
+ lowStress: "低",
648
+ prev3Text: "上一步",
649
+ submitText: "获取结果",
650
+ progressText: "1/3 步骤",
651
+ resultTitle: "您的糖尿病风险评估",
652
+ resultSubtitle: "以下结果基于您提供的信息",
653
+ riskLabel: "风险等级",
654
+ scoreLabel: "分数",
655
+ probabilityLabel: "概率",
656
+ recommendationTitle: "建议:",
657
+ rec1: "减少饮食中的糖和碳水化合物摄入",
658
+ rec2: "每周至少进行150分钟中等强度锻炼",
659
+ rec3: "监测并保持您的体重",
660
+ downloadText: "下载结果",
661
+ restartText: "重新开始"
662
+ },
663
+ ar: {
664
+ appTitle: "نظام التنبؤ بمرض السكري",
665
+ appSubtitle: "املأ المعلومات التالية لتقييم خطر الإصابة بمرض السكري",
666
+ section1Title: "المعلومات الأساسية",
667
+ nameLabel: "الاسم",
668
+ ageLabel: "العمر",
669
+ genderLabel: "الجنس",
670
+ selectGender: "اختر",
671
+ maleOption: "ذكر",
672
+ femaleOption: "أنثى",
673
+ otherOption: "آخر",
674
+ weightLabel: "الوزن (كجم)",
675
+ heightLabel: "الطول (سم)",
676
+ cuisineLabel: "نوع المطبخ المفضل",
677
+ selectCuisine: "اختر",
678
+ indianOption: "طعام هندي",
679
+ westernOption: "طعام غربي",
680
+ chineseOption: "طعام صيني",
681
+ mixedOption: "طعام مختلط",
682
+ next1Text: "التالي",
683
+ section2Title: "العادات الغذائية",
684
+ breakfastLabel: "الإفطار",
685
+ heavyBreakfast: "ثقيل (إدلي، دوسا، بوري)",
686
+ lightBreakfast: "خفيف (حبوب، فواكه)",
687
+ skipBreakfast: "تخطي الإفطار",
688
+ lunchLabel: "الغداء",
689
+ riceLunch: "وجبة أرز",
690
+ wheatLunch: "وجبة قمح (تشاباتي، روتي)",
691
+ lightLunch: "وجبة خفيفة",
692
+ dinnerLabel: "العشاء",
693
+ heavyDinner: "وجبة ثقيلة",
694
+ lightDinner: "وجبة خفيفة",
695
+ earlyDinner: "مبكر (قبل الساعة 7 مساءً)",
696
+ fastingLabel: "عادة الصيام",
697
+ yesFasting: "نعم (بضعة أيام في الأسبوع)",
698
+ noFasting: "لا",
699
+ snackingLabel: "عادة تناول الوجبات الخفيفة",
700
+ oftenSnacking: "غالبًا (يوميًا)",
701
+ sometimesSnacking: "أحيانًا",
702
+ rarelySnacking: "نادرًا",
703
+ sweetsLabel: "استهلاك الحلويات",
704
+ dailySweets: "يوميًا",
705
+ weeklySweets: "بضعة مرات في الأسبوع",
706
+ rarelySweets: "نادرًا",
707
+ prev2Text: "السابق",
708
+ next2Text: "التالي",
709
+ section3Title: "النشاط البدني",
710
+ walkingLabel: "المشي",
711
+ dailyWalking: "يوميًا (أكثر من 30 دقيقة)",
712
+ weeklyWalking: "بضعة مرات في الأسبوع",
713
+ rarelyWalking: "نادرًا",
714
+ exerciseLabel: "التمرين / الجيم",
715
+ dailyExercise: "يوميًا",
716
+ weeklyExercise: "3-4 مرات في الأسبوع",
717
+ monthlyExercise: "بضعة مرات في الشهر",
718
+ rarelyExercise: "نادرًا",
719
+ familyLabel: "تاريخ عائلي لمرض السكري",
720
+ yesFamily: "نعم (أحد الوالدين أو الأشقاء)",
721
+ noFamily: "لا",
722
+ stressLabel: "مستوى التوتر",
723
+ highStress: "مرتفع",
724
+ moderateStress: "متوسط",
725
+ lowStress: "منخفض",
726
+ prev3Text: "السابق",
727
+ submitText: "الحصول على النتائج",
728
+ progressText: "1/3 خطوات",
729
+ resultTitle: "تقييم خطر الإصابة بمرض السكري",
730
+ resultSubtitle: "النتائج التالية تستند إلى المعلومات التي قدمتها",
731
+ riskLabel: "مستوى الخطر",
732
+ scoreLabel: "النتيجة",
733
+ probabilityLabel: "الاحتمالية",
734
+ recommendationTitle: "التوصيات:",
735
+ rec1: "قلل من تناول السكر والكربوهيدرات في نظامك الغذائي",
736
+ rec2: "مارس التمارين المعتدلة لمدة 150 دقيقة على الأقل أسبوعيًا",
737
+ rec3: "راقب وزنك وحافظ عليه",
738
+ downloadText: "تنزيل النتائج",
739
+ restartText: "ابدأ من جديد"
740
+ },
741
+ hi: {
742
+ appTitle: "मधुमेह भविष्यवाणी प्रणाली",
743
+ appSubtitle: "अपने मधुमेह जोखिम का आकलन करने के लिए निम्नलिखित जानकारी भरें",
744
+ section1Title: "मूल जानकारी",
745
+ nameLabel: "नाम",
746
+ ageLabel: "आयु",
747
+ genderLabel: "लिंग",
748
+ selectGender: "चुनें",
749
+ maleOption: "पुरुष",
750
+ femaleOption: "महिला",
751
+ otherOption: "अन्य",
752
+ weightLabel: "वजन (किलो)",
753
+ heightLabel: "ऊंचाई (सेमी)",
754
+ cuisineLabel: "पसंदीदा भोजन प्रकार",
755
+ selectCuisine: "चुनें",
756
+ indianOption: "भारतीय भोजन",
757
+ westernOption: "पश्चिमी भोजन",
758
+ chineseOption: "चीनी भोजन",
759
+ mixedOption: "मिश्रित भोजन",
760
+ next1Text: "अगला",
761
+ section2Title: "आहार संबंधी आदतें",
762
+ breakfastLabel: "नाश्ता",
763
+ heavyBreakfast: "भारी (इडली, डोसा, पूरी)",
764
+ lightBreakfast: "हल्का (अनाज, फल)",
765
+ skipBreakfast: "नाश्ता छोड़ें",
766
+ lunchLabel: "दोपहर का भोजन",
767
+ riceLunch: "चावल का भोजन",
768
+ wheatLunch: "गेहूं का भोजन (चपाती, रोटी)",
769
+ lightLunch: "हल्का भोजन",
770
+ dinnerLabel: "रात का खाना",
771
+ heavyDinner: "भारी भोजन",
772
+ lightDinner: "हल्का भोजन",
773
+ earlyDinner: "जल्दी (शाम 7 बजे से पहले)",
774
+ fastingLabel: "उपवास की आदत",
775
+ yesFasting: "हाँ (सप्ताह में कुछ दिन)",
776
+ noFasting: "नहीं",
777
+ snackingLabel: "स्नैकिंग की आदत",
778
+ oftenSnacking: "अक्सर (रोज)",
779
+ sometimesSnacking: "कभी-कभी",
780
+ rarelySnacking: "शायद ही कभी",
781
+ sweetsLabel: "मिठाई की खपत",
782
+ dailySweets: "रोज",
783
+ weeklySweets: "सप्ताह में कुछ बार",
784
+ rarelySweets: "शायद ही कभी",
785
+ prev2Text: "पिछला",
786
+ next2Text: "अगला",
787
+ section3Title: "शारीरिक गतिविधि",
788
+ walkingLabel: "चलना",
789
+ dailyWalking: "रोज (30 मिनट से अधिक)",
790
+ weeklyWalking: "सप्ताह में कुछ बार",
791
+ rarelyWalking: "शायद ही कभी",
792
+ exerciseLabel: "व्यायाम / जिम",
793
+ dailyExercise: "रोज",
794
+ weeklyExercise: "सप्ताह में 3-4 बार",
795
+ monthlyExercise: "महीने में कुछ बार",
796
+ rarelyExercise: "शायद ही कभी",
797
+ familyLabel: "मधुमेह का पारिवारिक इतिहास",
798
+ yesFamily: "हाँ (माता-पिता या भाई-बहन)",
799
+ noFamily: "नहीं",
800
+ stressLabel: "तनाव का स्तर",
801
+ highStress: "उच्च",
802
+ moderateStress: "मध्यम",
803
+ lowStress: "कम",
804
+ prev3Text: "पिछला",
805
+ submitText: "परिणाम प्राप्त करें",
806
+ progressText: "1/3 चरण",
807
+ resultTitle: "आपका मधुमेह जोखिम मूल्यांकन",
808
+ resultSubtitle: "निम्नलिखित परिणाम आपके द्वारा प्रदान की गई जानकारी पर आधारित हैं",
809
+ riskLabel: "जोखिम स्तर",
810
+ scoreLabel: "स्कोर",
811
+ probabilityLabel: "संभावना",
812
+ recommendationTitle: "सिफारिशें:",
813
+ rec1: "अपने आहार में चीनी और कार्बोहाइड्रेट का सेवन कम करें",
814
+ rec2: "प्रति सप्ताह कम से कम 150 मिनट मध्यम व्यायाम करें",
815
+ rec3: "अपने शरीर के वजन की निगरानी और रखरखाव करें",
816
+ downloadText: "परिणाम डाउनलोड करें",
817
+ restartText: "फिर से शुरू करें"
818
+ },
819
+ sv: {
820
+ appTitle: "Diabetes Prediktionssystem",
821
+ appSubtitle: "Fyll i följande information för att bedöma din risk för diabetes",
822
+ section1Title: "Grundläggande information",
823
+ nameLabel: "Namn",
824
+ ageLabel: "Ålder",
825
+ genderLabel: "Kön",
826
+ selectGender: "Välj",
827
+ maleOption: "Man",
828
+ femaleOption: "Kvinna",
829
+ otherOption: "Annat",
830
+ weightLabel: "Vikt (kg)",
831
+ heightLabel: "Längd (cm)",
832
+ cuisineLabel: "Föredragen mattyp",
833
+ selectCuisine: "Välj",
834
+ indianOption: "Indisk mat",
835
+ westernOption: "Västerländsk mat",
836
+ chineseOption: "Kinesisk mat",
837
+ mixedOption: "Blandad mat",
838
+ next1Text: "Nästa",
839
+ section2Title: "Matvanor",
840
+ breakfastLabel: "Frukost",
841
+ heavyBreakfast: "Tung (Idli, Dosa, Puri)",
842
+ lightBreakfast: "Lätt (Flingor, Frukt)",
843
+ skipBreakfast: "Hoppa över frukost",
844
+ lunchLabel: "Lunch",
845
+ riceLunch: "Rismåltid",
846
+ wheatLunch: "Vetemåltid (Chapati, Roti)",
847
+ lightLunch: "Lätt måltid",
848
+ dinnerLabel: "Middag",
849
+ heavyDinner: "Tung måltid",
850
+ lightDinner: "Lätt måltid",
851
+ earlyDinner: "Tidig (före kl. 19)",
852
+ fastingLabel: "Fastvanor",
853
+ yesFasting: "Ja (några dagar i veckan)",
854
+ noFasting: "Nej",
855
+ snackingLabel: "Mellanmål vanor",
856
+ oftenSnacking: "Ofta (Dagligen)",
857
+ sometimesSnacking: "Ibland",
858
+ rarelySnacking: "Sällan",
859
+ sweetsLabel: "Sötsaker konsumtion",
860
+ dailySweets: "Dagligen",
861
+ weeklySweets: "Några gånger i veckan",
862
+ rarelySweets: "Sällan",
863
+ prev2Text: "Föregående",
864
+ next2Text: "Nästa",
865
+ section3Title: "Fysisk aktivitet",
866
+ walkingLabel: "Promenad",
867
+ dailyWalking: "Dagligen (Mer än 30 min)",
868
+ weeklyWalking: "Några gånger i veckan",
869
+ rarelyWalking: "Sällan",
870
+ exerciseLabel: "Träning / Gym",
871
+ dailyExercise: "Dagligen",
872
+ weeklyExercise: "3-4 gånger i veckan",
873
+ monthlyExercise: "Några gånger i månaden",
874
+ rarelyExercise: "Sällan",
875
+ familyLabel: "Familjehistoria av diabetes",
876
+ yesFamily: "Ja (Förälder eller syskon)",
877
+ noFamily: "Nej",
878
+ stressLabel: "Stressnivå",
879
+ highStress: "Hög",
880
+ moderateStress: "Måttlig",
881
+ lowStress: "Låg",
882
+ prev3Text: "Föregående",
883
+ submitText: "Få resultat",
884
+ progressText: "1/3 Steg",
885
+ resultTitle: "Din diabetesriskbedömning",
886
+ resultSubtitle: "Följande resultat baseras på informationen du har angett",
887
+ riskLabel: "Risknivå",
888
+ scoreLabel: "Poäng",
889
+ probabilityLabel: "Sannolikhet",
890
+ recommendationTitle: "Rekommendationer:",
891
+ rec1: "Minska intaget av socker och kolhydrater i din kost",
892
+ rec2: "Gör minst 150 minuter måttlig träning per vecka",
893
+ rec3: "Övervaka och upprätthåll din kroppsvikt",
894
+ downloadText: "Ladda ner resultat",
895
+ restartText: "Börja om"
896
+ }
897
+ };
898
+
899
+ // Current language
900
+ let currentLang = 'ta';
901
+
902
+ // Form navigation
903
+ let currentSection = 1;
904
+ const totalSections = 3;
905
+
906
+ // DOM elements
907
+ const languageBtn = document.getElementById('languageBtn');
908
+ const languageDropdown = document.getElementById('languageDropdown');
909
+ const currentLanguage = document.getElementById('currentLanguage');
910
+ const languageOptions = document.querySelectorAll('.language-option');
911
+
912
+ const progressText = document.getElementById('progressText');
913
+ const progressPercent = document.getElementById('progressPercent');
914
+ const progressBar = document.getElementById('progressBar');
915
+
916
+ const formSections = document.querySelectorAll('.form-section');
917
+ const next1Btn = document.getElementById('next1');
918
+ const next2Btn = document.getElementById('next2');
919
+ const prev2Btn = document.getElementById('prev2');
920
+ const prev3Btn = document.getElementById('prev3');
921
+ const submitBtn = document.getElementById('submitBtn');
922
+
923
+ const diabetesForm = document.getElementById('diabetesForm');
924
+ const resultsSection = document.getElementById('resultsSection');
925
+ const restartBtn = document.getElementById('restartBtn');
926
+ const downloadBtn = document.getElementById('downloadBtn');
927
+
928
+ // Event listeners
929
+ languageBtn.addEventListener('click', toggleLanguageDropdown);
930
+ languageOptions.forEach(option => option.addEventListener('click', changeLanguage));
931
+
932
+ next1Btn.addEventListener('click', () => navigateToSection(2));
933
+ next2Btn.addEventListener('click', () => navigateToSection(3));
934
+ prev2Btn.addEventListener('click', () => navigateToSection(1));
935
+ prev3Btn.addEventListener('click', () => navigateToSection(2));
936
+
937
+ diabetesForm.addEventListener('submit', handleFormSubmit);
938
+ restartBtn.addEventListener('click', restartForm);
939
+ downloadBtn.addEventListener('click', downloadResults);
940
+
941
+ // Functions
942
+ function toggleLanguageDropdown() {
943
+ languageDropdown.classList.toggle('hidden');
944
+ }
945
+
946
+ function changeLanguage(e) {
947
+ e.preventDefault();
948
+ const lang = this.getAttribute('data-lang');
949
+ currentLang = lang;
950
+ currentLanguage.textContent = this.textContent.trim();
951
+ currentLanguage.setAttribute('data-lang', lang);
952
+ languageDropdown.classList.add('hidden');
953
+ updateTranslations();
954
+ }
955
+
956
+ function updateTranslations() {
957
+ const translation = translations[currentLang];
958
+
959
+ // Update all elements with translations
960
+ document.getElementById('appTitle').textContent = translation.appTitle;
961
+ document.getElementById('appSubtitle').textContent = translation.appSubtitle;
962
+
963
+ document.getElementById('section1Title').textContent = translation.section1Title;
964
+ document.getElementById('nameLabel').textContent = translation.nameLabel;
965
+ document.getElementById('ageLabel').textContent = translation.ageLabel;
966
+ document.getElementById('genderLabel').textContent = translation.genderLabel;
967
+ document.getElementById('selectGender').textContent = translation.selectGender;
968
+ document.getElementById('maleOption').textContent = translation.maleOption;
969
+ document.getElementById('femaleOption').textContent = translation.femaleOption;
970
+ document.getElementById('otherOption').textContent = translation.otherOption;
971
+ document.getElementById('weightLabel').textContent = translation.weightLabel;
972
+ document.getElementById('heightLabel').textContent = translation.heightLabel;
973
+ document.getElementById('cuisineLabel').textContent = translation.cuisineLabel;
974
+ document.getElementById('selectCuisine').textContent = translation.selectCuisine;
975
+ document.getElementById('indianOption').textContent = translation.indianOption;
976
+ document.getElementById('westernOption').textContent = translation.westernOption;
977
+ document.getElementById('chineseOption').textContent = translation.chineseOption;
978
+ document.getElementById('mixedOption').textContent = translation.mixedOption;
979
+ document.getElementById('next1Text').textContent = translation.next1Text;
980
+
981
+ document.getElementById('section2Title').textContent = translation.section2Title;
982
+ document.getElementById('breakfastLabel').textContent = translation.breakfastLabel;
983
+ document.getElementById('heavyBreakfast').textContent = translation.heavyBreakfast;
984
+ document.getElementById('lightBreakfast').textContent = translation.lightBreakfast;
985
+ document.getElementById('skipBreakfast').textContent = translation.skipBreakfast;
986
+ document.getElementById('lunchLabel').textContent = translation.lunchLabel;
987
+ document.getElementById('riceLunch').textContent = translation.riceLunch;
988
+ document.getElementById('wheatLunch').textContent = translation.wheatLunch;
989
+ document.getElementById('lightLunch').textContent = translation.lightLunch;
990
+ document.getElementById('dinnerLabel').textContent = translation.dinnerLabel;
991
+ document.getElementById('heavyDinner').textContent = translation.heavyDinner;
992
+ document.getElementById('lightDinner').textContent = translation.lightDinner;
993
+ document.getElementById('earlyDinner').textContent = translation.earlyDinner;
994
+ document.getElementById('fastingLabel').textContent = translation.fastingLabel;
995
+ document.getElementById('yesFasting').textContent = translation.yesFasting;
996
+ document.getElementById('noFasting').textContent = translation.noFasting;
997
+ document.getElementById('snackingLabel').textContent = translation.snackingLabel;
998
+ document.getElementById('oftenSnacking').textContent = translation.oftenSnacking;
999
+ document.getElementById('sometimesSnacking').textContent = translation.sometimesSnacking;
1000
+ document.getElementById('rarelySnacking').textContent = translation.rarelySnacking;
1001
+ document.getElementById('sweetsLabel').textContent = translation.sweetsLabel;
1002
+ document.getElementById('dailySweets').textContent = translation.dailySweets;
1003
+ document.getElementById('weeklySweets').textContent = translation.weeklySweets;
1004
+ document.getElementById('rarelySweets').textContent = translation.rarelySweets;
1005
+ document.getElementById('prev2Text').textContent = translation.prev2Text;
1006
+ document.getElementById('next2Text').textContent = translation.next2Text;
1007
+
1008
+ document.getElementById('section3Title').textContent = translation.section3Title;
1009
+ document.getElementById('walkingLabel').textContent = translation.walkingLabel;
1010
+ document.getElementById('dailyWalking').textContent = translation.dailyWalking;
1011
+ document.getElementById('weeklyWalking').textContent = translation.weeklyWalking;
1012
+ document.getElementById('rarelyWalking').textContent = translation.rarelyWalking;
1013
+ document.getElementById('exerciseLabel').textContent = translation.exerciseLabel;
1014
+ document.getElementById('dailyExercise').textContent = translation.dailyExercise;
1015
+ document.getElementById('weeklyExercise').textContent = translation.weeklyExercise;
1016
+ document.getElementById('monthlyExercise').textContent = translation.monthlyExercise;
1017
+ document.getElementById('rarelyExercise').textContent = translation.rarelyExercise;
1018
+ document.getElementById('familyLabel').textContent = translation.familyLabel;
1019
+ document.getElementById('yesFamily').textContent = translation.yesFamily;
1020
+ document.getElementById('noFamily').textContent = translation.noFamily;
1021
+ document.getElementById('stressLabel').textContent = translation.stressLabel;
1022
+ document.getElementById('highStress').textContent = translation.highStress;
1023
+ document.getElementById('moderateStress').textContent = translation.moderateStress;
1024
+ document.getElementById('lowStress').textContent = translation.lowStress;
1025
+ document.getElementById('prev3Text').textContent = translation.prev3Text;
1026
+ document.getElementById('submitText').textContent = translation.submitText;
1027
+
1028
+ document.getElementById('progressText').textContent = `${currentSection}/${totalSections} ${currentLang === 'en' ? 'Steps' : currentLang === 'zh' ? '步骤' : currentLang === 'ar' ? 'خطوات' : currentLang === 'hi' ? 'चरण' : currentLang === 'sv' ? 'Steg' : 'படிகள்'}`;
1029
+
1030
+ document.getElementById('resultTitle').textContent = translation.resultTitle;
1031
+ document.getElementById('resultSubtitle').textContent = translation.resultSubtitle;
1032
+ document.getElementById('riskLabel').textContent = translation.riskLabel;
1033
+ document.getElementById('scoreLabel').textContent = translation.scoreLabel;
1034
+ document.getElementById('probabilityLabel').textContent = translation.probabilityLabel;
1035
+ document.getElementById('recommendationTitle').textContent = translation.recommendationTitle;
1036
+ document.getElementById('rec1').textContent = translation.rec1;
1037
+ document.getElementById('rec2').textContent = translation.rec2;
1038
+ document.getElementById('rec3').textContent = translation.rec3;
1039
+ document.getElementById('downloadText').textContent = translation.downloadText;
1040
+ document.getElementById('restartText').textContent = translation.restartText;
1041
+ }
1042
+
1043
+ function navigateToSection(sectionNum) {
1044
+ // Hide current section
1045
+ document.getElementById(`section${currentSection}`).classList.remove('active');
1046
+
1047
+ // Update current section
1048
+ currentSection = sectionNum;
1049
+
1050
+ // Show new section
1051
+ document.getElementById(`section${currentSection}`).classList.add('active');
1052
+
1053
+ // Update progress
1054
+ updateProgress();
1055
+ }
1056
+
1057
+ function updateProgress() {
1058
+ const progressPercentage = Math.round((currentSection / totalSections) * 100);
1059
+ progressBar.style.width = `${progressPercentage}%`;
1060
+ progressPercent.textContent = `${progressPercentage}%`;
1061
+
1062
+ const translation = translations[currentLang];
1063
+ progressText.textContent = `${currentSection}/${totalSections} ${currentLang === 'en' ? 'Steps' : currentLang === 'zh' ? '步骤' : currentLang === 'ar' ? 'خطوات' : currentLang === 'hi' ? 'चरण' : currentLang === 'sv' ? 'Steg' : 'படிகள்'}`;
1064
+ }
1065
+
1066
+ function handleFormSubmit(e) {
1067
+ e.preventDefault();
1068
+
1069
+ // Calculate risk score (simplified example)
1070
+ const age = parseInt(document.getElementById('age').value) || 0;
1071
+ const weight = parseInt(document.getElementById('weight').value) || 0;
1072
+ const height = parseInt(document.getElementById('height').value) || 1;
1073
+
1074
+ const bmi = weight / Math.pow(height / 100, 2);
1075
+
1076
+ let score = 0;
1077
+
1078
+ // Age factor
1079
+ if (age > 50) score += 20;
1080
+ else if (age > 40) score += 15;
1081
+ else if (age > 30) score += 10;
1082
+ else score += 5;
1083
+
1084
+ // BMI factor
1085
+ if (bmi > 30) score += 25;
1086
+ else if (bmi > 25) score += 15;
1087
+ else if (bmi > 18.5) score += 5;
1088
+
1089
+ // Family history
1090
+ if (document.querySelector('input[name="family"]:checked')?.value === 'yes') score += 15;
1091
+
1092
+ // Exercise
1093
+ const exercise = document.querySelector('input[name="exercise"]:checked')?.value;
1094
+ if (exercise === 'rarely') score += 15;
1095
+ else if (exercise === 'monthly') score += 10;
1096
+ else if (exercise === 'weekly') score += 5;
1097
+
1098
+ // Walking
1099
+ const walking = document.querySelector('input[name="walking"]:checked')?.value;
1100
+ if (walking === 'rarely') score += 10;
1101
+ else if (walking === 'weekly') score += 5;
1102
+
1103
+ // Diet factors
1104
+ const sweets = document.querySelector('input[name="sweets"]:checked')?.value;
1105
+ if (sweets === 'daily') score += 15;
1106
+ else if (sweets === 'weekly') score += 10;
1107
+
1108
+ const fasting = document.querySelector('input[name="fasting"]:checked')?.value;
1109
+ if (fasting === 'yes') score -= 5;
1110
+
1111
+ // Stress
1112
+ const stress = document.querySelector('input[name="stress"]:checked')?.value;
1113
+ if (stress === 'high') score += 10;
1114
+ else if (stress === 'moderate') score += 5;
1115
+
1116
+ // Cap score at 100
1117
+ score = Math.min(score, 100);
1118
+
1119
+ // Determine risk level
1120
+ let riskLevel, riskProbability;
1121
+ if (score > 70) {
1122
+ riskLevel = currentLang === 'en' ? 'High' :
1123
+ currentLang === 'zh' ? '高' :
1124
+ currentLang === 'ar' ? 'عالي' :
1125
+ currentLang === 'hi' ? 'उच्च' :
1126
+ currentLang === 'sv' ? 'Hög' : 'அதிகம்';
1127
+ riskProbability = '70%';
1128
+ } else if (score > 40) {
1129
+ riskLevel = currentLang === 'en' ? 'Moderate' :
1130
+ currentLang === 'zh' ? '中等' :
1131
+ currentLang === 'ar' ? 'متوسط' :
1132
+ currentLang === 'hi' ? 'मध्यम' :
1133
+ currentLang === 'sv' ? 'Måttlig' : 'மிதமான';
1134
+ riskProbability = '40%';
1135
+ } else {
1136
+ riskLevel = currentLang === 'en' ? 'Low' :
1137
+ currentLang === 'zh' ? '低' :
1138
+ currentLang === 'ar' ? 'منخفض' :
1139
+ currentLang === 'hi' ? 'कम' :
1140
+ currentLang === 'sv' ? 'Låg' : 'குறைவு';
1141
+ riskProbability = '15%';
1142
+ }
1143
+
1144
+ // Update results
1145
+ document.getElementById('riskLevel').textContent = riskLevel;
1146
+ document.getElementById('riskScore').textContent = `${score}/100`;
1147
+ document.getElementById('riskProbability').textContent = riskProbability;
1148
+
1149
+ // Show results
1150
+ diabetesForm.classList.add('hidden');
1151
+ resultsSection.classList.remove('hidden');
1152
+ }
1153
+
1154
+ function restartForm() {
1155
+ // Reset form
1156
+ diabetesForm.reset();
1157
+
1158
+ // Reset navigation
1159
+ currentSection = 1;
1160
+ formSections.forEach((section, index) => {
1161
+ if (index === 0) {
1162
+ section.classList.add('active');
1163
+ } else {
1164
+ section.classList.remove('active');
1165
+ }
1166
+ });
1167
+
1168
+ // Update progress
1169
+ updateProgress();
1170
+
1171
+ // Show form and hide results
1172
+ diabetesForm.classList.remove('hidden');
1173
+ resultsSection.classList.add('hidden');
1174
+ }
1175
+
1176
+ function downloadResults() {
1177
+ // In a real app, this would generate a PDF or CSV
1178
+ alert(currentLang === 'en' ? 'Results downloaded (simulated)' :
1179
+ currentLang === 'zh' ? '结果已下载(模拟)' :
1180
+ currentLang === 'ar' ? 'تم تنزيل النتائج (محاكاة)' :
1181
+ currentLang === 'hi' ? 'परिणाम डाउनलोड किए गए (सिम्युलेटेड)' :
1182
+ currentLang === 'sv' ? 'Resultat nedladdade (simulerad)' :
1183
+ 'முடிவுகள் பதிவிறக்கப்பட்டன (சிமுலேடட்)');
1184
+ }
1185
+ </script>
1186
+ <p style="border-radius: 8px; text-align: center; font-size: 12px; color: #fff; margin-top: 16px;position: fixed; left: 8px; bottom: 8px; z-index: 10; background: rgba(0, 0, 0, 0.8); padding: 4px 8px;">Made with <img src="https://enzostvs-deepsite.hf.space/logo.svg" alt="DeepSite Logo" style="width: 16px; height: 16px; vertical-align: middle;display:inline-block;margin-right:3px;filter:brightness(0) invert(1);"><a href="https://enzostvs-deepsite.hf.space" style="color: #fff;text-decoration: underline;" target="_blank" >DeepSite</a> - 🧬 <a href="https://enzostvs-deepsite.hf.space?remix=senthazalravi/diabcarenew" style="color: #fff;text-decoration: underline;" target="_blank" >Remix</a></p></body>
1187
+
1188
+ </html>