@burdenoff/microfe-kadaikodi 2026.626.2 → 2026.704.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (63) hide show
  1. package/dist/kadaikodi/hooks/useKadaikodiApi.js +209 -105
  2. package/dist/kadaikodi/hooks/useKadaikodiApi.js.map +1 -1
  3. package/dist/kadaikodi/pages/HomePage.js +4 -4
  4. package/dist/kadaikodi/pages/HomePage.js.map +1 -1
  5. package/dist/kadaikodi/pages/admin/AdminDashboard.js +1 -1
  6. package/dist/kadaikodi/pages/admin/AdminDashboard.js.map +1 -1
  7. package/dist/kadaikodi/pages/admin/AdminOrdersPage.js +1 -1
  8. package/dist/kadaikodi/pages/admin/AdminOrdersPage.js.map +1 -1
  9. package/dist/kadaikodi/pages/admin/CartManagementPage.js +279 -333
  10. package/dist/kadaikodi/pages/admin/CartManagementPage.js.map +1 -1
  11. package/dist/kadaikodi/pages/admin/UserManagementPage.js +299 -372
  12. package/dist/kadaikodi/pages/admin/UserManagementPage.js.map +1 -1
  13. package/dist/kadaikodi/pages/cart-owner/AnalyticsDashboard.js +214 -214
  14. package/dist/kadaikodi/pages/cart-owner/AnalyticsDashboard.js.map +1 -1
  15. package/dist/kadaikodi/pages/cart-owner/CartOwnerDashboard.js +226 -230
  16. package/dist/kadaikodi/pages/cart-owner/CartOwnerDashboard.js.map +1 -1
  17. package/dist/kadaikodi/pages/cart-owner/CartOwnerProfilePage.js +255 -256
  18. package/dist/kadaikodi/pages/cart-owner/CartOwnerProfilePage.js.map +1 -1
  19. package/dist/kadaikodi/pages/cart-owner/InventoryManagementPage.js +275 -278
  20. package/dist/kadaikodi/pages/cart-owner/InventoryManagementPage.js.map +1 -1
  21. package/dist/kadaikodi/pages/cart-owner/OrderManagementPage.js +228 -446
  22. package/dist/kadaikodi/pages/cart-owner/OrderManagementPage.js.map +1 -1
  23. package/dist/kadaikodi/pages/common/NotificationCenterPage.js +1 -1
  24. package/dist/kadaikodi/pages/common/NotificationCenterPage.js.map +1 -1
  25. package/dist/kadaikodi/pages/common/SettingsPage.js +34 -46
  26. package/dist/kadaikodi/pages/common/SettingsPage.js.map +1 -1
  27. package/dist/kadaikodi/pages/customer/BookingDetailsPage.js +193 -447
  28. package/dist/kadaikodi/pages/customer/BookingDetailsPage.js.map +1 -1
  29. package/dist/kadaikodi/pages/customer/CartDetailPage.js +6 -6
  30. package/dist/kadaikodi/pages/customer/CartDetailPage.js.map +1 -1
  31. package/dist/kadaikodi/pages/customer/CartDiscoveryPage.js +2 -2
  32. package/dist/kadaikodi/pages/customer/CartDiscoveryPage.js.map +1 -1
  33. package/dist/kadaikodi/pages/customer/DirectServiceBookingPage.js +255 -215
  34. package/dist/kadaikodi/pages/customer/DirectServiceBookingPage.js.map +1 -1
  35. package/dist/kadaikodi/pages/customer/FavoritesPage.js +141 -178
  36. package/dist/kadaikodi/pages/customer/FavoritesPage.js.map +1 -1
  37. package/dist/kadaikodi/pages/customer/OrderTrackingPage.js +155 -161
  38. package/dist/kadaikodi/pages/customer/OrderTrackingPage.js.map +1 -1
  39. package/dist/kadaikodi/pages/customer/ReviewsPage.js +14 -140
  40. package/dist/kadaikodi/pages/customer/ReviewsPage.js.map +1 -1
  41. package/dist/kadaikodi/pages/investor/InvestmentOpportunitiesPage.js +304 -458
  42. package/dist/kadaikodi/pages/investor/InvestmentOpportunitiesPage.js.map +1 -1
  43. package/dist/kadaikodi/pages/investor/InvestorDashboard.js +1 -1
  44. package/dist/kadaikodi/pages/investor/InvestorDashboard.js.map +1 -1
  45. package/dist/kadaikodi/pages/investor/InvestorInvestmentsPage.js +2 -2
  46. package/dist/kadaikodi/pages/investor/InvestorInvestmentsPage.js.map +1 -1
  47. package/dist/kadaikodi/pages/investor/InvestorProfilePage.js +361 -361
  48. package/dist/kadaikodi/pages/investor/InvestorProfilePage.js.map +1 -1
  49. package/dist/kadaikodi/pages/worker/TaskDetailsPage.js +226 -220
  50. package/dist/kadaikodi/pages/worker/TaskDetailsPage.js.map +1 -1
  51. package/dist/kadaikodi/pages/worker/WorkerDashboard.js +15 -15
  52. package/dist/kadaikodi/pages/worker/WorkerDashboard.js.map +1 -1
  53. package/dist/kadaikodi/pages/worker/WorkerOrdersPage.js +2 -2
  54. package/dist/kadaikodi/pages/worker/WorkerOrdersPage.js.map +1 -1
  55. package/dist/kadaikodi/pages/worker/WorkerProfilePage.js +252 -253
  56. package/dist/kadaikodi/pages/worker/WorkerProfilePage.js.map +1 -1
  57. package/dist/kadaikodi/pages/worker/WorkerSchedulePage.js +3 -3
  58. package/dist/kadaikodi/pages/worker/WorkerSchedulePage.js.map +1 -1
  59. package/package.json +1 -1
  60. package/dist/kadaikodi/mocks/data.js +0 -1517
  61. package/dist/kadaikodi/mocks/data.js.map +0 -1
  62. package/dist/kadaikodi/mocks/users.js +0 -34
  63. package/dist/kadaikodi/mocks/users.js.map +0 -1
@@ -1,44 +1,43 @@
1
1
  import { useKadaikodi as e } from "../../context/KadaikodiContext.js";
2
2
  import { cn as t } from "../../utils/cn.js";
3
3
  import { PageLayout as n } from "../../components/PageLayout.js";
4
- import { useInvestments as r } from "../../hooks/useKadaikodiApi.js";
5
- import { formatCurrency as i, formatDate as ee } from "../../utils/formatters.js";
6
- import { mockActiveInvestments as te } from "../../mocks/data.js";
7
- import { useCallback as a, useMemo as o, useState as s } from "react";
8
- import { Bell as c, Briefcase as ne, Building2 as re, Camera as ie, CheckCircle2 as l, DollarSign as u, Edit3 as d, Eye as f, EyeOff as p, FileText as m, Globe as h, Linkedin as ae, Lock as oe, Mail as se, MapPin as ce, Monitor as g, Phone as _, PieChart as v, Save as y, Shield as b, Smartphone as x, TrendingUp as S, User as C, X as w } from "lucide-react";
9
- import { Fragment as T, jsx as E, jsxs as D } from "react/jsx-runtime";
4
+ import { useInvestments as ee } from "../../hooks/useKadaikodiApi.js";
5
+ import { formatCurrency as r, formatDate as te } from "../../utils/formatters.js";
6
+ import { useCallback as i, useMemo as a, useState as o } from "react";
7
+ import { Bell as s, Briefcase as ne, Building2 as re, Camera as c, CheckCircle2 as l, DollarSign as ie, Edit3 as ae, Eye as u, EyeOff as d, FileText as f, Globe as oe, Linkedin as p, Lock as m, Mail as h, MapPin as g, Monitor as _, Phone as v, PieChart as y, Save as se, Shield as ce, Smartphone as b, TrendingUp as x, User as S, X as C } from "lucide-react";
8
+ import { Fragment as w, jsx as T, jsxs as E } from "react/jsx-runtime";
10
9
  import { EmphasisPanel as le, PagePurpose as ue } from "@burdenoff/fe-libs/ui";
11
10
  //#region src/kadaikodi/pages/investor/InvestorProfilePage.tsx
12
- var O = [
11
+ var D = [
13
12
  {
14
13
  id: "personal",
15
14
  label: "Personal Info",
16
- Icon: C
15
+ Icon: S
17
16
  },
18
17
  {
19
18
  id: "investment",
20
19
  label: "Investment Profile",
21
- Icon: S
20
+ Icon: x
22
21
  },
23
22
  {
24
23
  id: "portfolio",
25
24
  label: "Portfolio",
26
- Icon: v
25
+ Icon: y
27
26
  },
28
27
  {
29
28
  id: "documents",
30
29
  label: "Documents",
31
- Icon: m
30
+ Icon: f
32
31
  },
33
32
  {
34
33
  id: "security",
35
34
  label: "Security",
36
- Icon: b
35
+ Icon: ce
37
36
  },
38
37
  {
39
38
  id: "notifications",
40
39
  label: "Notifications",
41
- Icon: c
40
+ Icon: s
42
41
  }
43
42
  ], de = [
44
43
  {
@@ -91,13 +90,13 @@ var O = [
91
90
  "Logistics",
92
91
  "FinTech"
93
92
  ];
94
- function k() {
95
- let { currentUser: c, navigateTo: b } = e(), { data: k = [] } = r(c?.id || ""), [A, j] = s("personal"), [M, N] = s(!1), [P, F] = s(!1), [I, L] = s(""), R = o(() => ({
96
- firstName: c?.firstName ?? c?.name?.split(" ")[0] ?? "Rajesh",
97
- lastName: c?.lastName ?? c?.name?.split(" ")[1] ?? "Mehta",
98
- email: c?.email ?? "investor@burdenoff.com",
93
+ function O() {
94
+ let { currentUser: s, navigateTo: ce } = e(), { data: O = [] } = ee(s?.id || ""), [k, A] = o("personal"), [j, M] = o(!1), [N, P] = o(!1), [F, I] = o(""), L = a(() => ({
95
+ firstName: s?.firstName ?? s?.name?.split(" ")[0] ?? "Rajesh",
96
+ lastName: s?.lastName ?? s?.name?.split(" ")[1] ?? "Mehta",
97
+ email: s?.email ?? "investor@burdenoff.com",
99
98
  phone: "+91 98765 43230",
100
- profileImage: c?.avatar ?? "",
99
+ profileImage: s?.avatar ?? "",
101
100
  investorType: "Angel Investor",
102
101
  investmentRange: "5L - 25L",
103
102
  preferredSectors: [
@@ -116,14 +115,12 @@ function k() {
116
115
  state: "Karnataka",
117
116
  country: "India",
118
117
  pincode: "560001"
119
- }), [c]), [z, B] = s(R);
120
- o(() => ({
121
- totalInvested: k.reduce((e, t) => e + t.investedAmount, 0),
122
- portfolioValue: k.reduce((e, t) => e + t.currentValue, 0),
123
- totalReturns: k.reduce((e, t) => e + t.returns, 0),
124
- activeInvestments: k.length
125
- }), [k]);
126
- let [V, me] = s([
118
+ }), [s]), [R, z] = o(L), B = a(() => ({
119
+ totalInvested: O.reduce((e, t) => e + t.investedAmount, 0),
120
+ portfolioValue: O.reduce((e, t) => e + t.currentValue, 0),
121
+ totalReturns: O.reduce((e, t) => e + t.returns, 0),
122
+ activeInvestments: O.length
123
+ }), [O]), [V, me] = o([
127
124
  {
128
125
  id: "opportunities",
129
126
  label: "New Investment Opportunities",
@@ -160,32 +157,32 @@ function k() {
160
157
  description: "Notifications when dividends are credited to your account",
161
158
  enabled: !0
162
159
  }
163
- ]), [he, H] = s(!1), [U, W] = s(""), [G, K] = s(""), [q, J] = s(""), [Y, ge] = s(!1), [X, _e] = s(!1), [Z, ve] = s(!1), Q = a((e, t) => {
164
- B((n) => ({
160
+ ]), [he, H] = o(!1), [U, W] = o(""), [G, K] = o(""), [q, J] = o(""), [Y, ge] = o(!1), [X, Z] = o(!1), [Q, _e] = o(!1), $ = i((e, t) => {
161
+ z((n) => ({
165
162
  ...n,
166
163
  [e]: t
167
164
  }));
168
- }, []), $ = a(() => {
169
- F(!0), setTimeout(() => {
170
- F(!1), N(!1), L("Profile updated successfully!"), setTimeout(() => L(""), 3e3);
165
+ }, []), ve = i(() => {
166
+ P(!0), setTimeout(() => {
167
+ P(!1), M(!1), I("Profile updated successfully!"), setTimeout(() => I(""), 3e3);
171
168
  }, 1200);
172
- }, []), ye = a((e) => {
169
+ }, []), ye = i((e) => {
173
170
  let t = e.target.files?.[0];
174
171
  if (t) {
175
172
  let e = new FileReader();
176
173
  e.onloadend = () => {
177
- B((t) => ({
174
+ z((t) => ({
178
175
  ...t,
179
176
  profileImage: e.result
180
177
  }));
181
178
  }, e.readAsDataURL(t);
182
179
  }
183
- }, []), be = a((e) => {
180
+ }, []), be = i((e) => {
184
181
  me((t) => t.map((t) => t.id === e ? {
185
182
  ...t,
186
183
  enabled: !t.enabled
187
184
  } : t));
188
- }, []), xe = a(() => {
185
+ }, []), xe = i(() => {
189
186
  if (!(!U || !G || !q)) {
190
187
  if (G !== q) {
191
188
  alert("Passwords do not match");
@@ -201,68 +198,68 @@ function k() {
201
198
  U,
202
199
  G,
203
200
  q
204
- ]), Se = a(() => {
205
- ve((e) => {
201
+ ]), Se = i(() => {
202
+ _e((e) => {
206
203
  let t = !e;
207
204
  return alert(t ? "2FA has been enabled" : "2FA has been disabled"), t;
208
205
  });
209
206
  }, []);
210
- return /* @__PURE__ */ D(n, {
207
+ return /* @__PURE__ */ E(n, {
211
208
  title: "Investor Profile",
212
209
  description: "Manage your investment profile and preferences",
213
- actions: /* @__PURE__ */ D("div", {
210
+ actions: /* @__PURE__ */ E("div", {
214
211
  className: "flex items-center gap-2",
215
- children: [I && /* @__PURE__ */ E("span", {
212
+ children: [F && /* @__PURE__ */ T("span", {
216
213
  className: "text-sm font-medium text-status-success-text",
217
- children: I
218
- }), M ? /* @__PURE__ */ D(T, { children: [/* @__PURE__ */ D("button", {
214
+ children: F
215
+ }), j ? /* @__PURE__ */ E(w, { children: [/* @__PURE__ */ E("button", {
219
216
  type: "button",
220
217
  onClick: () => {
221
- N(!1), B(R);
218
+ M(!1), z(L);
222
219
  },
223
220
  className: "flex items-center gap-2 rounded-lg border border-border-subtle px-4 py-2 text-sm font-medium text-text-primary hover:bg-accent transition-colors",
224
- children: [/* @__PURE__ */ E(w, { className: "h-4 w-4" }), "Cancel"]
225
- }), /* @__PURE__ */ E("button", {
221
+ children: [/* @__PURE__ */ T(C, { className: "h-4 w-4" }), "Cancel"]
222
+ }), /* @__PURE__ */ T("button", {
226
223
  type: "button",
227
- onClick: $,
228
- disabled: P,
229
- className: t("flex items-center gap-2 rounded-lg px-4 py-2 text-sm font-medium transition-colors", P ? "cursor-not-allowed bg-bg-sunken text-text-secondary" : "bg-action-primary-bg text-action-primary-text hover:bg-action-primary-bg/90"),
230
- children: P ? /* @__PURE__ */ D(T, { children: [/* @__PURE__ */ E("div", { className: "h-4 w-4 animate-spin rounded-full border-2 border-current border-t-transparent" }), "Saving..."] }) : /* @__PURE__ */ D(T, { children: [/* @__PURE__ */ E(y, { className: "h-4 w-4" }), "Save Changes"] })
231
- })] }) : /* @__PURE__ */ D("button", {
224
+ onClick: ve,
225
+ disabled: N,
226
+ className: t("flex items-center gap-2 rounded-lg px-4 py-2 text-sm font-medium transition-colors", N ? "cursor-not-allowed bg-bg-sunken text-text-secondary" : "bg-action-primary-bg text-action-primary-text hover:bg-action-primary-bg/90"),
227
+ children: N ? /* @__PURE__ */ E(w, { children: [/* @__PURE__ */ T("div", { className: "h-4 w-4 animate-spin rounded-full border-2 border-current border-t-transparent" }), "Saving..."] }) : /* @__PURE__ */ E(w, { children: [/* @__PURE__ */ T(se, { className: "h-4 w-4" }), "Save Changes"] })
228
+ })] }) : /* @__PURE__ */ E("button", {
232
229
  type: "button",
233
- onClick: () => N(!0),
230
+ onClick: () => M(!0),
234
231
  className: "flex items-center gap-2 rounded-lg bg-action-primary-bg px-4 py-2 text-sm font-medium text-action-primary-text hover:bg-action-primary-bg/90 transition-colors",
235
- children: [/* @__PURE__ */ E(d, { className: "h-4 w-4" }), "Edit Profile"]
232
+ children: [/* @__PURE__ */ T(ae, { className: "h-4 w-4" }), "Edit Profile"]
236
233
  })]
237
234
  }),
238
- children: [/* @__PURE__ */ E(ue, {
235
+ children: [/* @__PURE__ */ T(ue, {
239
236
  className: "mb-6",
240
237
  children: "Your investor identity and how the platform tailors deals to you. Use this page to keep your personal and professional details current, set your investment profile (preferred sectors, ticket size and risk tolerance) so you see the right opportunities, review your portfolio at a glance, and complete KYC so you're cleared to invest. A complete, verified profile unlocks more and better opportunities."
241
- }), /* @__PURE__ */ D("div", {
238
+ }), /* @__PURE__ */ E("div", {
242
239
  className: "grid grid-cols-1 gap-6 lg:grid-cols-4",
243
- children: [/* @__PURE__ */ D("div", {
240
+ children: [/* @__PURE__ */ E("div", {
244
241
  className: "lg:col-span-1",
245
242
  children: [
246
- /* @__PURE__ */ D(le, {
243
+ /* @__PURE__ */ E(le, {
247
244
  className: "p-4 sm:p-6",
248
- children: [/* @__PURE__ */ D("div", {
245
+ children: [/* @__PURE__ */ E("div", {
249
246
  className: "text-center",
250
247
  children: [
251
- /* @__PURE__ */ D("div", {
248
+ /* @__PURE__ */ E("div", {
252
249
  className: "relative mx-auto inline-block",
253
- children: [/* @__PURE__ */ E("div", {
250
+ children: [/* @__PURE__ */ T("div", {
254
251
  className: "h-20 w-20 overflow-hidden rounded-full bg-bg-sunken sm:h-24 sm:w-24",
255
- children: z.profileImage ? /* @__PURE__ */ E("img", {
256
- src: z.profileImage,
252
+ children: R.profileImage ? /* @__PURE__ */ T("img", {
253
+ src: R.profileImage,
257
254
  alt: "Profile",
258
255
  className: "h-full w-full object-cover"
259
- }) : /* @__PURE__ */ E("div", {
256
+ }) : /* @__PURE__ */ T("div", {
260
257
  className: "flex h-full w-full items-center justify-center",
261
- children: /* @__PURE__ */ E(C, { className: "h-10 w-10 text-text-secondary" })
258
+ children: /* @__PURE__ */ T(S, { className: "h-10 w-10 text-text-secondary" })
262
259
  })
263
- }), M && /* @__PURE__ */ D("label", {
260
+ }), j && /* @__PURE__ */ E("label", {
264
261
  className: "absolute bottom-0 right-0 flex h-8 w-8 cursor-pointer items-center justify-center rounded-full bg-action-primary-bg text-action-primary-text hover:bg-action-primary-bg/90 transition-colors",
265
- children: [/* @__PURE__ */ E(ie, { className: "h-4 w-4" }), /* @__PURE__ */ E("input", {
262
+ children: [/* @__PURE__ */ T(c, { className: "h-4 w-4" }), /* @__PURE__ */ T("input", {
266
263
  type: "file",
267
264
  accept: "image/*",
268
265
  onChange: ye,
@@ -270,267 +267,267 @@ function k() {
270
267
  })]
271
268
  })]
272
269
  }),
273
- /* @__PURE__ */ D("h3", {
270
+ /* @__PURE__ */ E("h3", {
274
271
  className: "mt-3 text-base font-semibold text-text-primary sm:text-lg",
275
272
  children: [
276
- z.firstName,
273
+ R.firstName,
277
274
  " ",
278
- z.lastName
275
+ R.lastName
279
276
  ]
280
277
  }),
281
- /* @__PURE__ */ E("p", {
278
+ /* @__PURE__ */ T("p", {
282
279
  className: "text-sm text-text-secondary",
283
- children: z.investorType
280
+ children: R.investorType
284
281
  }),
285
- /* @__PURE__ */ E("p", {
282
+ /* @__PURE__ */ T("p", {
286
283
  className: "mt-1 truncate text-xs text-text-secondary",
287
- children: z.companyName
284
+ children: R.companyName
288
285
  })
289
286
  ]
290
- }), /* @__PURE__ */ D("div", {
287
+ }), /* @__PURE__ */ E("div", {
291
288
  className: "mt-5 space-y-3 border-t border-border-subtle pt-4",
292
289
  children: [
293
- /* @__PURE__ */ D("div", {
290
+ /* @__PURE__ */ E("div", {
294
291
  className: "flex items-center justify-between",
295
- children: [/* @__PURE__ */ E("span", {
292
+ children: [/* @__PURE__ */ T("span", {
296
293
  className: "text-xs text-text-secondary sm:text-sm",
297
294
  children: "Portfolio Value"
298
- }), /* @__PURE__ */ E("span", {
295
+ }), /* @__PURE__ */ T("span", {
299
296
  className: "text-xs font-semibold text-primary sm:text-sm",
300
- children: i(z.portfolioValue ?? 0, { minimumFractionDigits: 0 })
297
+ children: r(B.portfolioValue, { minimumFractionDigits: 0 })
301
298
  })]
302
299
  }),
303
- /* @__PURE__ */ D("div", {
300
+ /* @__PURE__ */ E("div", {
304
301
  className: "flex items-center justify-between",
305
- children: [/* @__PURE__ */ E("span", {
302
+ children: [/* @__PURE__ */ T("span", {
306
303
  className: "text-xs text-text-secondary sm:text-sm",
307
304
  children: "Active Investments"
308
- }), /* @__PURE__ */ E("span", {
305
+ }), /* @__PURE__ */ T("span", {
309
306
  className: "text-xs font-semibold text-text-primary sm:text-sm",
310
- children: z.activeInvestments
307
+ children: B.activeInvestments
311
308
  })]
312
309
  }),
313
- /* @__PURE__ */ D("div", {
310
+ /* @__PURE__ */ E("div", {
314
311
  className: "flex items-center justify-between",
315
- children: [/* @__PURE__ */ E("span", {
312
+ children: [/* @__PURE__ */ T("span", {
316
313
  className: "text-xs text-text-secondary sm:text-sm",
317
314
  children: "Total Returns"
318
- }), /* @__PURE__ */ D("span", {
315
+ }), /* @__PURE__ */ E("span", {
319
316
  className: "text-xs font-semibold text-status-success-text sm:text-sm",
320
- children: ["+", i(z.totalReturns ?? 0, { minimumFractionDigits: 0 })]
317
+ children: ["+", r(B.totalReturns, { minimumFractionDigits: 0 })]
321
318
  })]
322
319
  }),
323
- /* @__PURE__ */ D("div", {
320
+ /* @__PURE__ */ E("div", {
324
321
  className: "flex items-center justify-between",
325
- children: [/* @__PURE__ */ E("span", {
322
+ children: [/* @__PURE__ */ T("span", {
326
323
  className: "text-xs text-text-secondary sm:text-sm",
327
324
  children: "Total Invested"
328
- }), /* @__PURE__ */ E("span", {
325
+ }), /* @__PURE__ */ T("span", {
329
326
  className: "text-xs font-semibold text-text-primary sm:text-sm",
330
- children: i(z.totalInvested ?? 0, { minimumFractionDigits: 0 })
327
+ children: r(B.totalInvested, { minimumFractionDigits: 0 })
331
328
  })]
332
329
  })
333
330
  ]
334
331
  })]
335
332
  }),
336
- /* @__PURE__ */ E("div", {
333
+ /* @__PURE__ */ T("div", {
337
334
  className: "mt-4 flex gap-2 overflow-x-auto pb-2 lg:hidden",
338
- children: O.map((e) => /* @__PURE__ */ D("button", {
335
+ children: D.map((e) => /* @__PURE__ */ E("button", {
339
336
  type: "button",
340
- onClick: () => j(e.id),
341
- className: t("flex shrink-0 items-center gap-2 rounded-lg px-3 py-2 text-sm font-medium transition-colors", A === e.id ? "bg-action-primary-bg text-action-primary-text shadow-sm" : "bg-bg-surface text-text-primary hover:bg-accent"),
342
- children: [/* @__PURE__ */ E(e.Icon, { className: "h-4 w-4 shrink-0" }), e.label]
337
+ onClick: () => A(e.id),
338
+ className: t("flex shrink-0 items-center gap-2 rounded-lg px-3 py-2 text-sm font-medium transition-colors", k === e.id ? "bg-action-primary-bg text-action-primary-text shadow-sm" : "bg-bg-surface text-text-primary hover:bg-accent"),
339
+ children: [/* @__PURE__ */ T(e.Icon, { className: "h-4 w-4 shrink-0" }), e.label]
343
340
  }, e.id))
344
341
  }),
345
- /* @__PURE__ */ E("div", {
342
+ /* @__PURE__ */ T("div", {
346
343
  className: "mt-4 hidden space-y-2 lg:block",
347
- children: O.map((e) => /* @__PURE__ */ D("button", {
344
+ children: D.map((e) => /* @__PURE__ */ E("button", {
348
345
  type: "button",
349
- onClick: () => j(e.id),
350
- className: t("flex w-full items-center gap-3 rounded-lg px-4 py-3 text-sm font-medium transition-colors", A === e.id ? "bg-action-primary-bg text-action-primary-text" : "bg-bg-surface text-text-primary hover:bg-accent"),
351
- children: [/* @__PURE__ */ E(e.Icon, { className: "h-4 w-4" }), e.label]
346
+ onClick: () => A(e.id),
347
+ className: t("flex w-full items-center gap-3 rounded-lg px-4 py-3 text-sm font-medium transition-colors", k === e.id ? "bg-action-primary-bg text-action-primary-text" : "bg-bg-surface text-text-primary hover:bg-accent"),
348
+ children: [/* @__PURE__ */ T(e.Icon, { className: "h-4 w-4" }), e.label]
352
349
  }, e.id))
353
350
  })
354
351
  ]
355
- }), /* @__PURE__ */ E("div", {
352
+ }), /* @__PURE__ */ T("div", {
356
353
  className: "lg:col-span-3",
357
- children: /* @__PURE__ */ D("div", {
354
+ children: /* @__PURE__ */ E("div", {
358
355
  className: "rounded-lg border border-border-subtle bg-bg-surface p-4 sm:p-6 lg:p-8",
359
356
  children: [
360
- A === "personal" && /* @__PURE__ */ D("div", { children: [/* @__PURE__ */ E("h2", {
357
+ k === "personal" && /* @__PURE__ */ E("div", { children: [/* @__PURE__ */ T("h2", {
361
358
  className: "mb-6 text-lg font-semibold text-text-primary sm:text-xl",
362
359
  children: "Personal Information"
363
- }), /* @__PURE__ */ D("div", {
360
+ }), /* @__PURE__ */ E("div", {
364
361
  className: "space-y-6",
365
362
  children: [
366
- /* @__PURE__ */ D("div", {
363
+ /* @__PURE__ */ E("div", {
367
364
  className: "grid grid-cols-1 gap-4 sm:grid-cols-2 sm:gap-6",
368
365
  children: [
369
- /* @__PURE__ */ D("div", { children: [/* @__PURE__ */ E("label", {
366
+ /* @__PURE__ */ E("div", { children: [/* @__PURE__ */ T("label", {
370
367
  className: "mb-1 block text-sm font-medium text-text-primary",
371
368
  children: "First Name"
372
- }), /* @__PURE__ */ E("input", {
369
+ }), /* @__PURE__ */ T("input", {
373
370
  type: "text",
374
- value: z.firstName,
375
- onChange: (e) => Q("firstName", e.target.value),
376
- disabled: !M,
371
+ value: R.firstName,
372
+ onChange: (e) => $("firstName", e.target.value),
373
+ disabled: !j,
377
374
  className: "w-full rounded-lg border border-border-subtle bg-bg-surface px-3 py-2 text-sm text-text-primary disabled:bg-bg-sunken disabled:text-text-secondary focus:outline-none focus:ring-2 focus:ring-[var(--color-focus-ring)]"
378
375
  })] }),
379
- /* @__PURE__ */ D("div", { children: [/* @__PURE__ */ E("label", {
376
+ /* @__PURE__ */ E("div", { children: [/* @__PURE__ */ T("label", {
380
377
  className: "mb-1 block text-sm font-medium text-text-primary",
381
378
  children: "Last Name"
382
- }), /* @__PURE__ */ E("input", {
379
+ }), /* @__PURE__ */ T("input", {
383
380
  type: "text",
384
- value: z.lastName,
385
- onChange: (e) => Q("lastName", e.target.value),
386
- disabled: !M,
381
+ value: R.lastName,
382
+ onChange: (e) => $("lastName", e.target.value),
383
+ disabled: !j,
387
384
  className: "w-full rounded-lg border border-border-subtle bg-bg-surface px-3 py-2 text-sm text-text-primary disabled:bg-bg-sunken disabled:text-text-secondary focus:outline-none focus:ring-2 focus:ring-[var(--color-focus-ring)]"
388
385
  })] }),
389
- /* @__PURE__ */ D("div", { children: [/* @__PURE__ */ E("label", {
386
+ /* @__PURE__ */ E("div", { children: [/* @__PURE__ */ T("label", {
390
387
  className: "mb-1 block text-sm font-medium text-text-primary",
391
388
  children: "Email Address"
392
- }), /* @__PURE__ */ D("div", {
389
+ }), /* @__PURE__ */ E("div", {
393
390
  className: "relative",
394
- children: [/* @__PURE__ */ E(se, { className: "absolute left-3 top-1/2 h-4 w-4 -translate-y-1/2 text-text-secondary" }), /* @__PURE__ */ E("input", {
391
+ children: [/* @__PURE__ */ T(h, { className: "absolute left-3 top-1/2 h-4 w-4 -translate-y-1/2 text-text-secondary" }), /* @__PURE__ */ T("input", {
395
392
  type: "email",
396
- value: z.email,
397
- onChange: (e) => Q("email", e.target.value),
398
- disabled: !M,
393
+ value: R.email,
394
+ onChange: (e) => $("email", e.target.value),
395
+ disabled: !j,
399
396
  className: "w-full rounded-lg border border-border-subtle bg-bg-surface py-2 pl-10 pr-3 text-sm text-text-primary disabled:bg-bg-sunken disabled:text-text-secondary focus:outline-none focus:ring-2 focus:ring-[var(--color-focus-ring)]"
400
397
  })]
401
398
  })] }),
402
- /* @__PURE__ */ D("div", { children: [/* @__PURE__ */ E("label", {
399
+ /* @__PURE__ */ E("div", { children: [/* @__PURE__ */ T("label", {
403
400
  className: "mb-1 block text-sm font-medium text-text-primary",
404
401
  children: "Phone Number"
405
- }), /* @__PURE__ */ D("div", {
402
+ }), /* @__PURE__ */ E("div", {
406
403
  className: "relative",
407
- children: [/* @__PURE__ */ E(_, { className: "absolute left-3 top-1/2 h-4 w-4 -translate-y-1/2 text-text-secondary" }), /* @__PURE__ */ E("input", {
404
+ children: [/* @__PURE__ */ T(v, { className: "absolute left-3 top-1/2 h-4 w-4 -translate-y-1/2 text-text-secondary" }), /* @__PURE__ */ T("input", {
408
405
  type: "tel",
409
- value: z.phone,
410
- onChange: (e) => Q("phone", e.target.value),
411
- disabled: !M,
406
+ value: R.phone,
407
+ onChange: (e) => $("phone", e.target.value),
408
+ disabled: !j,
412
409
  className: "w-full rounded-lg border border-border-subtle bg-bg-surface py-2 pl-10 pr-3 text-sm text-text-primary disabled:bg-bg-sunken disabled:text-text-secondary focus:outline-none focus:ring-2 focus:ring-[var(--color-focus-ring)]"
413
410
  })]
414
411
  })] })
415
412
  ]
416
413
  }),
417
- /* @__PURE__ */ D("div", {
414
+ /* @__PURE__ */ E("div", {
418
415
  className: "border-t border-border-subtle pt-6",
419
- children: [/* @__PURE__ */ E("h3", {
416
+ children: [/* @__PURE__ */ T("h3", {
420
417
  className: "mb-4 text-sm font-semibold text-text-primary sm:text-base",
421
418
  children: "Professional Details"
422
- }), /* @__PURE__ */ D("div", {
419
+ }), /* @__PURE__ */ E("div", {
423
420
  className: "grid grid-cols-1 gap-4 sm:grid-cols-2 sm:gap-6",
424
421
  children: [
425
- /* @__PURE__ */ D("div", { children: [/* @__PURE__ */ E("label", {
422
+ /* @__PURE__ */ E("div", { children: [/* @__PURE__ */ T("label", {
426
423
  className: "mb-1 block text-sm font-medium text-text-primary",
427
424
  children: "Company/Organization"
428
- }), /* @__PURE__ */ D("div", {
425
+ }), /* @__PURE__ */ E("div", {
429
426
  className: "relative",
430
- children: [/* @__PURE__ */ E(re, { className: "absolute left-3 top-1/2 h-4 w-4 -translate-y-1/2 text-text-secondary" }), /* @__PURE__ */ E("input", {
427
+ children: [/* @__PURE__ */ T(re, { className: "absolute left-3 top-1/2 h-4 w-4 -translate-y-1/2 text-text-secondary" }), /* @__PURE__ */ T("input", {
431
428
  type: "text",
432
- value: z.companyName,
433
- onChange: (e) => Q("companyName", e.target.value),
434
- disabled: !M,
429
+ value: R.companyName,
430
+ onChange: (e) => $("companyName", e.target.value),
431
+ disabled: !j,
435
432
  className: "w-full rounded-lg border border-border-subtle bg-bg-surface py-2 pl-10 pr-3 text-sm text-text-primary disabled:bg-bg-sunken disabled:text-text-secondary focus:outline-none focus:ring-2 focus:ring-[var(--color-focus-ring)]"
436
433
  })]
437
434
  })] }),
438
- /* @__PURE__ */ D("div", { children: [/* @__PURE__ */ E("label", {
435
+ /* @__PURE__ */ E("div", { children: [/* @__PURE__ */ T("label", {
439
436
  className: "mb-1 block text-sm font-medium text-text-primary",
440
437
  children: "Designation"
441
- }), /* @__PURE__ */ E("input", {
438
+ }), /* @__PURE__ */ T("input", {
442
439
  type: "text",
443
- value: z.designation,
444
- onChange: (e) => Q("designation", e.target.value),
445
- disabled: !M,
440
+ value: R.designation,
441
+ onChange: (e) => $("designation", e.target.value),
442
+ disabled: !j,
446
443
  className: "w-full rounded-lg border border-border-subtle bg-bg-surface px-3 py-2 text-sm text-text-primary disabled:bg-bg-sunken disabled:text-text-secondary focus:outline-none focus:ring-2 focus:ring-[var(--color-focus-ring)]"
447
444
  })] }),
448
- /* @__PURE__ */ D("div", { children: [/* @__PURE__ */ E("label", {
445
+ /* @__PURE__ */ E("div", { children: [/* @__PURE__ */ T("label", {
449
446
  className: "mb-1 block text-sm font-medium text-text-primary",
450
447
  children: "Company Website"
451
- }), /* @__PURE__ */ D("div", {
448
+ }), /* @__PURE__ */ E("div", {
452
449
  className: "relative",
453
- children: [/* @__PURE__ */ E(h, { className: "absolute left-3 top-1/2 h-4 w-4 -translate-y-1/2 text-text-secondary" }), /* @__PURE__ */ E("input", {
450
+ children: [/* @__PURE__ */ T(oe, { className: "absolute left-3 top-1/2 h-4 w-4 -translate-y-1/2 text-text-secondary" }), /* @__PURE__ */ T("input", {
454
451
  type: "text",
455
- value: z.companyWebsite,
456
- onChange: (e) => Q("companyWebsite", e.target.value),
457
- disabled: !M,
452
+ value: R.companyWebsite,
453
+ onChange: (e) => $("companyWebsite", e.target.value),
454
+ disabled: !j,
458
455
  className: "w-full rounded-lg border border-border-subtle bg-bg-surface py-2 pl-10 pr-3 text-sm text-text-primary disabled:bg-bg-sunken disabled:text-text-secondary focus:outline-none focus:ring-2 focus:ring-[var(--color-focus-ring)]"
459
456
  })]
460
457
  })] }),
461
- /* @__PURE__ */ D("div", { children: [/* @__PURE__ */ E("label", {
458
+ /* @__PURE__ */ E("div", { children: [/* @__PURE__ */ T("label", {
462
459
  className: "mb-1 block text-sm font-medium text-text-primary",
463
460
  children: "LinkedIn Profile"
464
- }), /* @__PURE__ */ D("div", {
461
+ }), /* @__PURE__ */ E("div", {
465
462
  className: "relative",
466
- children: [/* @__PURE__ */ E(ae, { className: "absolute left-3 top-1/2 h-4 w-4 -translate-y-1/2 text-text-secondary" }), /* @__PURE__ */ E("input", {
463
+ children: [/* @__PURE__ */ T(p, { className: "absolute left-3 top-1/2 h-4 w-4 -translate-y-1/2 text-text-secondary" }), /* @__PURE__ */ T("input", {
467
464
  type: "text",
468
- value: z.linkedinProfile,
469
- onChange: (e) => Q("linkedinProfile", e.target.value),
470
- disabled: !M,
465
+ value: R.linkedinProfile,
466
+ onChange: (e) => $("linkedinProfile", e.target.value),
467
+ disabled: !j,
471
468
  className: "w-full rounded-lg border border-border-subtle bg-bg-surface py-2 pl-10 pr-3 text-sm text-text-primary disabled:bg-bg-sunken disabled:text-text-secondary focus:outline-none focus:ring-2 focus:ring-[var(--color-focus-ring)]"
472
469
  })]
473
470
  })] })
474
471
  ]
475
472
  })]
476
473
  }),
477
- /* @__PURE__ */ D("div", {
474
+ /* @__PURE__ */ E("div", {
478
475
  className: "border-t border-border-subtle pt-6",
479
- children: [/* @__PURE__ */ E("h3", {
476
+ children: [/* @__PURE__ */ T("h3", {
480
477
  className: "mb-4 text-sm font-semibold text-text-primary sm:text-base",
481
478
  children: "Address"
482
- }), /* @__PURE__ */ D("div", {
479
+ }), /* @__PURE__ */ E("div", {
483
480
  className: "space-y-4",
484
- children: [/* @__PURE__ */ D("div", { children: [/* @__PURE__ */ E("label", {
481
+ children: [/* @__PURE__ */ E("div", { children: [/* @__PURE__ */ T("label", {
485
482
  className: "mb-1 block text-sm font-medium text-text-primary",
486
483
  children: "Street Address"
487
- }), /* @__PURE__ */ E("textarea", {
484
+ }), /* @__PURE__ */ T("textarea", {
488
485
  rows: 2,
489
- value: z.address,
490
- onChange: (e) => Q("address", e.target.value),
491
- disabled: !M,
486
+ value: R.address,
487
+ onChange: (e) => $("address", e.target.value),
488
+ disabled: !j,
492
489
  className: "w-full rounded-lg border border-border-subtle bg-bg-surface px-3 py-2 text-sm text-text-primary disabled:bg-bg-sunken disabled:text-text-secondary focus:outline-none focus:ring-2 focus:ring-[var(--color-focus-ring)]"
493
- })] }), /* @__PURE__ */ D("div", {
490
+ })] }), /* @__PURE__ */ E("div", {
494
491
  className: "grid grid-cols-1 gap-4 sm:grid-cols-2 sm:gap-6",
495
492
  children: [
496
- /* @__PURE__ */ D("div", { children: [/* @__PURE__ */ E("label", {
493
+ /* @__PURE__ */ E("div", { children: [/* @__PURE__ */ T("label", {
497
494
  className: "mb-1 block text-sm font-medium text-text-primary",
498
495
  children: "City"
499
- }), /* @__PURE__ */ E("input", {
496
+ }), /* @__PURE__ */ T("input", {
500
497
  type: "text",
501
- value: z.city,
502
- onChange: (e) => Q("city", e.target.value),
503
- disabled: !M,
498
+ value: R.city,
499
+ onChange: (e) => $("city", e.target.value),
500
+ disabled: !j,
504
501
  className: "w-full rounded-lg border border-border-subtle bg-bg-surface px-3 py-2 text-sm text-text-primary disabled:bg-bg-sunken disabled:text-text-secondary focus:outline-none focus:ring-2 focus:ring-[var(--color-focus-ring)]"
505
502
  })] }),
506
- /* @__PURE__ */ D("div", { children: [/* @__PURE__ */ E("label", {
503
+ /* @__PURE__ */ E("div", { children: [/* @__PURE__ */ T("label", {
507
504
  className: "mb-1 block text-sm font-medium text-text-primary",
508
505
  children: "State"
509
- }), /* @__PURE__ */ E("input", {
506
+ }), /* @__PURE__ */ T("input", {
510
507
  type: "text",
511
- value: z.state,
512
- onChange: (e) => Q("state", e.target.value),
513
- disabled: !M,
508
+ value: R.state,
509
+ onChange: (e) => $("state", e.target.value),
510
+ disabled: !j,
514
511
  className: "w-full rounded-lg border border-border-subtle bg-bg-surface px-3 py-2 text-sm text-text-primary disabled:bg-bg-sunken disabled:text-text-secondary focus:outline-none focus:ring-2 focus:ring-[var(--color-focus-ring)]"
515
512
  })] }),
516
- /* @__PURE__ */ D("div", { children: [/* @__PURE__ */ E("label", {
513
+ /* @__PURE__ */ E("div", { children: [/* @__PURE__ */ T("label", {
517
514
  className: "mb-1 block text-sm font-medium text-text-primary",
518
515
  children: "Country"
519
- }), /* @__PURE__ */ E("input", {
516
+ }), /* @__PURE__ */ T("input", {
520
517
  type: "text",
521
- value: z.country,
522
- onChange: (e) => Q("country", e.target.value),
523
- disabled: !M,
518
+ value: R.country,
519
+ onChange: (e) => $("country", e.target.value),
520
+ disabled: !j,
524
521
  className: "w-full rounded-lg border border-border-subtle bg-bg-surface px-3 py-2 text-sm text-text-primary disabled:bg-bg-sunken disabled:text-text-secondary focus:outline-none focus:ring-2 focus:ring-[var(--color-focus-ring)]"
525
522
  })] }),
526
- /* @__PURE__ */ D("div", { children: [/* @__PURE__ */ E("label", {
523
+ /* @__PURE__ */ E("div", { children: [/* @__PURE__ */ T("label", {
527
524
  className: "mb-1 block text-sm font-medium text-text-primary",
528
525
  children: "Pincode"
529
- }), /* @__PURE__ */ E("input", {
526
+ }), /* @__PURE__ */ T("input", {
530
527
  type: "text",
531
- value: z.pincode,
532
- onChange: (e) => Q("pincode", e.target.value),
533
- disabled: !M,
528
+ value: R.pincode,
529
+ onChange: (e) => $("pincode", e.target.value),
530
+ disabled: !j,
534
531
  className: "w-full rounded-lg border border-border-subtle bg-bg-surface px-3 py-2 text-sm text-text-primary disabled:bg-bg-sunken disabled:text-text-secondary focus:outline-none focus:ring-2 focus:ring-[var(--color-focus-ring)]"
535
532
  })] })
536
533
  ]
@@ -539,187 +536,187 @@ function k() {
539
536
  })
540
537
  ]
541
538
  })] }),
542
- A === "investment" && /* @__PURE__ */ D("div", { children: [/* @__PURE__ */ E("h2", {
539
+ k === "investment" && /* @__PURE__ */ E("div", { children: [/* @__PURE__ */ T("h2", {
543
540
  className: "mb-6 text-lg font-semibold text-text-primary sm:text-xl",
544
541
  children: "Investment Profile"
545
- }), /* @__PURE__ */ D("div", {
542
+ }), /* @__PURE__ */ E("div", {
546
543
  className: "space-y-6",
547
544
  children: [
548
- /* @__PURE__ */ D("div", {
545
+ /* @__PURE__ */ E("div", {
549
546
  className: "grid grid-cols-1 gap-4 sm:grid-cols-2 sm:gap-6",
550
547
  children: [
551
- /* @__PURE__ */ D("div", { children: [/* @__PURE__ */ E("label", {
548
+ /* @__PURE__ */ E("div", { children: [/* @__PURE__ */ T("label", {
552
549
  className: "mb-1 block text-sm font-medium text-text-primary",
553
550
  children: "Investor Type"
554
- }), /* @__PURE__ */ D("select", {
555
- value: z.investorType,
556
- onChange: (e) => Q("investorType", e.target.value),
557
- disabled: !M,
551
+ }), /* @__PURE__ */ E("select", {
552
+ value: R.investorType,
553
+ onChange: (e) => $("investorType", e.target.value),
554
+ disabled: !j,
558
555
  className: "w-full rounded-lg border border-border-subtle bg-bg-surface px-3 py-2 text-sm text-text-primary disabled:bg-bg-sunken disabled:text-text-secondary focus:outline-none focus:ring-2 focus:ring-[var(--color-focus-ring)]",
559
556
  children: [
560
- /* @__PURE__ */ E("option", { children: "Angel Investor" }),
561
- /* @__PURE__ */ E("option", { children: "Venture Capitalist" }),
562
- /* @__PURE__ */ E("option", { children: "Private Equity" }),
563
- /* @__PURE__ */ E("option", { children: "Strategic Investor" })
557
+ /* @__PURE__ */ T("option", { children: "Angel Investor" }),
558
+ /* @__PURE__ */ T("option", { children: "Venture Capitalist" }),
559
+ /* @__PURE__ */ T("option", { children: "Private Equity" }),
560
+ /* @__PURE__ */ T("option", { children: "Strategic Investor" })
564
561
  ]
565
562
  })] }),
566
- /* @__PURE__ */ D("div", { children: [/* @__PURE__ */ E("label", {
563
+ /* @__PURE__ */ E("div", { children: [/* @__PURE__ */ T("label", {
567
564
  className: "mb-1 block text-sm font-medium text-text-primary",
568
565
  children: "Investment Range"
569
- }), /* @__PURE__ */ D("select", {
570
- value: z.investmentRange,
571
- onChange: (e) => Q("investmentRange", e.target.value),
572
- disabled: !M,
566
+ }), /* @__PURE__ */ E("select", {
567
+ value: R.investmentRange,
568
+ onChange: (e) => $("investmentRange", e.target.value),
569
+ disabled: !j,
573
570
  className: "w-full rounded-lg border border-border-subtle bg-bg-surface px-3 py-2 text-sm text-text-primary disabled:bg-bg-sunken disabled:text-text-secondary focus:outline-none focus:ring-2 focus:ring-[var(--color-focus-ring)]",
574
571
  children: [
575
- /* @__PURE__ */ E("option", { children: "1L - 5L" }),
576
- /* @__PURE__ */ E("option", { children: "5L - 25L" }),
577
- /* @__PURE__ */ E("option", { children: "25L - 1Cr" }),
578
- /* @__PURE__ */ E("option", { children: "1Cr+" })
572
+ /* @__PURE__ */ T("option", { children: "1L - 5L" }),
573
+ /* @__PURE__ */ T("option", { children: "5L - 25L" }),
574
+ /* @__PURE__ */ T("option", { children: "25L - 1Cr" }),
575
+ /* @__PURE__ */ T("option", { children: "1Cr+" })
579
576
  ]
580
577
  })] }),
581
- /* @__PURE__ */ D("div", { children: [/* @__PURE__ */ E("label", {
578
+ /* @__PURE__ */ E("div", { children: [/* @__PURE__ */ T("label", {
582
579
  className: "mb-1 block text-sm font-medium text-text-primary",
583
580
  children: "Investment Horizon"
584
- }), /* @__PURE__ */ D("select", {
585
- value: z.investmentHorizon,
586
- onChange: (e) => Q("investmentHorizon", e.target.value),
587
- disabled: !M,
581
+ }), /* @__PURE__ */ E("select", {
582
+ value: R.investmentHorizon,
583
+ onChange: (e) => $("investmentHorizon", e.target.value),
584
+ disabled: !j,
588
585
  className: "w-full rounded-lg border border-border-subtle bg-bg-surface px-3 py-2 text-sm text-text-primary disabled:bg-bg-sunken disabled:text-text-secondary focus:outline-none focus:ring-2 focus:ring-[var(--color-focus-ring)]",
589
586
  children: [
590
- /* @__PURE__ */ E("option", { children: "1-2 years" }),
591
- /* @__PURE__ */ E("option", { children: "3-5 years" }),
592
- /* @__PURE__ */ E("option", { children: "5-7 years" }),
593
- /* @__PURE__ */ E("option", { children: "7+ years" })
587
+ /* @__PURE__ */ T("option", { children: "1-2 years" }),
588
+ /* @__PURE__ */ T("option", { children: "3-5 years" }),
589
+ /* @__PURE__ */ T("option", { children: "5-7 years" }),
590
+ /* @__PURE__ */ T("option", { children: "7+ years" })
594
591
  ]
595
592
  })] }),
596
- /* @__PURE__ */ D("div", { children: [/* @__PURE__ */ E("label", {
593
+ /* @__PURE__ */ E("div", { children: [/* @__PURE__ */ T("label", {
597
594
  className: "mb-1 block text-sm font-medium text-text-primary",
598
595
  children: "Risk Profile"
599
- }), /* @__PURE__ */ D("select", {
600
- value: z.riskProfile,
601
- onChange: (e) => Q("riskProfile", e.target.value),
602
- disabled: !M,
596
+ }), /* @__PURE__ */ E("select", {
597
+ value: R.riskProfile,
598
+ onChange: (e) => $("riskProfile", e.target.value),
599
+ disabled: !j,
603
600
  className: "w-full rounded-lg border border-border-subtle bg-bg-surface px-3 py-2 text-sm text-text-primary disabled:bg-bg-sunken disabled:text-text-secondary focus:outline-none focus:ring-2 focus:ring-[var(--color-focus-ring)]",
604
601
  children: [
605
- /* @__PURE__ */ E("option", { children: "Conservative" }),
606
- /* @__PURE__ */ E("option", { children: "Moderate" }),
607
- /* @__PURE__ */ E("option", { children: "Aggressive" })
602
+ /* @__PURE__ */ T("option", { children: "Conservative" }),
603
+ /* @__PURE__ */ T("option", { children: "Moderate" }),
604
+ /* @__PURE__ */ T("option", { children: "Aggressive" })
608
605
  ]
609
606
  })] })
610
607
  ]
611
608
  }),
612
- /* @__PURE__ */ D("div", { children: [/* @__PURE__ */ E("label", {
609
+ /* @__PURE__ */ E("div", { children: [/* @__PURE__ */ T("label", {
613
610
  className: "mb-3 block text-sm font-medium text-text-primary",
614
611
  children: "Preferred Sectors"
615
- }), /* @__PURE__ */ E("div", {
612
+ }), /* @__PURE__ */ T("div", {
616
613
  className: "grid grid-cols-2 gap-3 sm:grid-cols-3",
617
- children: pe.map((e) => /* @__PURE__ */ D("label", {
614
+ children: pe.map((e) => /* @__PURE__ */ E("label", {
618
615
  className: "flex items-center gap-2",
619
- children: [/* @__PURE__ */ E("input", {
616
+ children: [/* @__PURE__ */ T("input", {
620
617
  type: "checkbox",
621
- checked: z.preferredSectors.includes(e),
618
+ checked: R.preferredSectors.includes(e),
622
619
  onChange: (t) => {
623
- t.target.checked ? Q("preferredSectors", [...z.preferredSectors, e]) : Q("preferredSectors", z.preferredSectors.filter((t) => t !== e));
620
+ t.target.checked ? $("preferredSectors", [...R.preferredSectors, e]) : $("preferredSectors", R.preferredSectors.filter((t) => t !== e));
624
621
  },
625
- disabled: !M,
622
+ disabled: !j,
626
623
  className: "h-4 w-4 rounded border-border-subtle text-primary focus:ring-[var(--color-focus-ring)]"
627
- }), /* @__PURE__ */ E("span", {
624
+ }), /* @__PURE__ */ T("span", {
628
625
  className: "text-sm text-text-primary",
629
626
  children: e
630
627
  })]
631
628
  }, e))
632
629
  })] }),
633
- /* @__PURE__ */ D("div", {
630
+ /* @__PURE__ */ E("div", {
634
631
  className: "rounded-lg border border-border-subtle p-4",
635
- children: [/* @__PURE__ */ D("div", {
632
+ children: [/* @__PURE__ */ E("div", {
636
633
  className: "mb-2 flex items-center justify-between",
637
- children: [/* @__PURE__ */ E("p", {
634
+ children: [/* @__PURE__ */ T("p", {
638
635
  className: "text-sm font-medium text-text-primary",
639
636
  children: "Risk Tolerance"
640
- }), /* @__PURE__ */ E("span", {
641
- className: t("text-sm font-semibold", z.riskProfile === "Conservative" ? "text-status-success-text" : z.riskProfile === "Moderate" ? "text-status-warning-text" : "text-status-error-text"),
642
- children: z.riskProfile
637
+ }), /* @__PURE__ */ T("span", {
638
+ className: t("text-sm font-semibold", R.riskProfile === "Conservative" ? "text-status-success-text" : R.riskProfile === "Moderate" ? "text-status-warning-text" : "text-status-error-text"),
639
+ children: R.riskProfile
643
640
  })]
644
- }), /* @__PURE__ */ E("div", {
641
+ }), /* @__PURE__ */ T("div", {
645
642
  className: "flex gap-1",
646
643
  children: [
647
644
  "Conservative",
648
645
  "Moderate",
649
646
  "Aggressive"
650
- ].map((e) => /* @__PURE__ */ E("div", { className: t("h-2.5 flex-1 rounded-full", e === "Conservative" && "bg-status-success-bg-subtle", e === "Moderate" && "bg-status-warning-bg-subtle", e === "Aggressive" && "bg-status-error-bg-subtle", e === z.riskProfile && e === "Conservative" && "bg-status-success-text", e === z.riskProfile && e === "Moderate" && "bg-status-warning-text", e === z.riskProfile && e === "Aggressive" && "bg-status-error-text") }, e))
647
+ ].map((e) => /* @__PURE__ */ T("div", { className: t("h-2.5 flex-1 rounded-full", e === "Conservative" && "bg-status-success-bg-subtle", e === "Moderate" && "bg-status-warning-bg-subtle", e === "Aggressive" && "bg-status-error-bg-subtle", e === R.riskProfile && e === "Conservative" && "bg-status-success-text", e === R.riskProfile && e === "Moderate" && "bg-status-warning-text", e === R.riskProfile && e === "Aggressive" && "bg-status-error-text") }, e))
651
648
  })]
652
649
  })
653
650
  ]
654
651
  })] }),
655
- A === "portfolio" && /* @__PURE__ */ D("div", { children: [
656
- /* @__PURE__ */ E("h2", {
652
+ k === "portfolio" && /* @__PURE__ */ E("div", { children: [
653
+ /* @__PURE__ */ T("h2", {
657
654
  className: "mb-6 text-lg font-semibold text-text-primary sm:text-xl",
658
655
  children: "Investment Portfolio"
659
656
  }),
660
- /* @__PURE__ */ D("div", {
657
+ /* @__PURE__ */ E("div", {
661
658
  className: "mb-8 grid grid-cols-2 gap-4 sm:grid-cols-4 sm:gap-6",
662
659
  children: [
663
- /* @__PURE__ */ D("div", {
660
+ /* @__PURE__ */ E("div", {
664
661
  className: "rounded-lg bg-bg-sunken/50 p-4",
665
662
  children: [
666
- /* @__PURE__ */ E(u, { className: "mb-2 h-7 w-7 text-primary sm:h-8 sm:w-8" }),
667
- /* @__PURE__ */ E("div", {
663
+ /* @__PURE__ */ T(ie, { className: "mb-2 h-7 w-7 text-primary sm:h-8 sm:w-8" }),
664
+ /* @__PURE__ */ T("div", {
668
665
  className: "text-lg font-bold text-text-primary sm:text-2xl",
669
- children: i(z.totalInvested ?? 0, {
666
+ children: r(B.totalInvested, {
670
667
  minimumFractionDigits: 0,
671
668
  notation: "compact"
672
669
  })
673
670
  }),
674
- /* @__PURE__ */ E("div", {
671
+ /* @__PURE__ */ T("div", {
675
672
  className: "text-xs text-text-secondary sm:text-sm",
676
673
  children: "Total Invested"
677
674
  })
678
675
  ]
679
676
  }),
680
- /* @__PURE__ */ D("div", {
677
+ /* @__PURE__ */ E("div", {
681
678
  className: "rounded-lg bg-bg-sunken/50 p-4",
682
679
  children: [
683
- /* @__PURE__ */ E(ne, { className: "mb-2 h-7 w-7 text-text-primary sm:h-8 sm:w-8" }),
684
- /* @__PURE__ */ E("div", {
680
+ /* @__PURE__ */ T(ne, { className: "mb-2 h-7 w-7 text-text-primary sm:h-8 sm:w-8" }),
681
+ /* @__PURE__ */ T("div", {
685
682
  className: "text-lg font-bold text-text-primary sm:text-2xl",
686
- children: z.activeInvestments
683
+ children: B.activeInvestments
687
684
  }),
688
- /* @__PURE__ */ E("div", {
685
+ /* @__PURE__ */ T("div", {
689
686
  className: "text-xs text-text-secondary sm:text-sm",
690
687
  children: "Active Investments"
691
688
  })
692
689
  ]
693
690
  }),
694
- /* @__PURE__ */ D("div", {
691
+ /* @__PURE__ */ E("div", {
695
692
  className: "rounded-lg bg-bg-sunken/50 p-4",
696
693
  children: [
697
- /* @__PURE__ */ E(S, { className: "mb-2 h-7 w-7 text-status-success-text sm:h-8 sm:w-8" }),
698
- /* @__PURE__ */ E("div", {
694
+ /* @__PURE__ */ T(x, { className: "mb-2 h-7 w-7 text-status-success-text sm:h-8 sm:w-8" }),
695
+ /* @__PURE__ */ T("div", {
699
696
  className: "text-lg font-bold text-text-primary sm:text-2xl",
700
- children: i(z.totalReturns ?? 0, {
697
+ children: r(B.totalReturns, {
701
698
  minimumFractionDigits: 0,
702
699
  notation: "compact"
703
700
  })
704
701
  }),
705
- /* @__PURE__ */ E("div", {
702
+ /* @__PURE__ */ T("div", {
706
703
  className: "text-xs text-text-secondary sm:text-sm",
707
704
  children: "Total Returns"
708
705
  })
709
706
  ]
710
707
  }),
711
- /* @__PURE__ */ D("div", {
708
+ /* @__PURE__ */ E("div", {
712
709
  className: "rounded-lg bg-bg-sunken/50 p-4",
713
710
  children: [
714
- /* @__PURE__ */ E(v, { className: "mb-2 h-7 w-7 text-text-primary sm:h-8 sm:w-8" }),
715
- /* @__PURE__ */ E("div", {
711
+ /* @__PURE__ */ T(y, { className: "mb-2 h-7 w-7 text-text-primary sm:h-8 sm:w-8" }),
712
+ /* @__PURE__ */ T("div", {
716
713
  className: "text-lg font-bold text-text-primary sm:text-2xl",
717
- children: i(z.portfolioValue ?? 0, {
714
+ children: r(B.portfolioValue, {
718
715
  minimumFractionDigits: 0,
719
716
  notation: "compact"
720
717
  })
721
718
  }),
722
- /* @__PURE__ */ E("div", {
719
+ /* @__PURE__ */ T("div", {
723
720
  className: "text-xs text-text-secondary sm:text-sm",
724
721
  children: "Portfolio Value"
725
722
  })
@@ -727,19 +724,22 @@ function k() {
727
724
  })
728
725
  ]
729
726
  }),
730
- /* @__PURE__ */ D("div", { children: [/* @__PURE__ */ E("h3", {
727
+ /* @__PURE__ */ E("div", { children: [/* @__PURE__ */ T("h3", {
731
728
  className: "mb-4 text-base font-semibold text-text-primary",
732
729
  children: "Active Investments"
733
- }), /* @__PURE__ */ E("div", {
730
+ }), O.length === 0 ? /* @__PURE__ */ T("p", {
731
+ className: "rounded-lg border border-border-subtle bg-bg-sunken/30 p-4 text-sm text-text-secondary",
732
+ children: "You don't have any active investments yet. Explore opportunities to start building your portfolio."
733
+ }) : /* @__PURE__ */ T("div", {
734
734
  className: "space-y-3",
735
- children: te.map((e, n) => /* @__PURE__ */ D("div", {
735
+ children: O.map((e, n) => /* @__PURE__ */ E("div", {
736
736
  className: "rounded-lg border border-border-subtle bg-bg-sunken/30 p-4",
737
- children: [/* @__PURE__ */ D("div", {
737
+ children: [/* @__PURE__ */ E("div", {
738
738
  className: "mb-3 flex items-start justify-between",
739
- children: [/* @__PURE__ */ E("h4", {
739
+ children: [/* @__PURE__ */ T("h4", {
740
740
  className: "text-sm font-medium text-text-primary sm:text-base",
741
741
  children: e.cartName
742
- }), /* @__PURE__ */ D("span", {
742
+ }), /* @__PURE__ */ E("span", {
743
743
  className: t("text-sm font-semibold", e.returns > 0 ? "text-status-success-text" : "text-status-error-text"),
744
744
  children: [
745
745
  e.returns > 0 ? "+" : "",
@@ -747,74 +747,74 @@ function k() {
747
747
  "%"
748
748
  ]
749
749
  })]
750
- }), /* @__PURE__ */ D("div", {
750
+ }), /* @__PURE__ */ E("div", {
751
751
  className: "grid grid-cols-1 gap-3 text-sm sm:grid-cols-3",
752
752
  children: [
753
- /* @__PURE__ */ D("div", { children: [/* @__PURE__ */ E("span", {
753
+ /* @__PURE__ */ E("div", { children: [/* @__PURE__ */ T("span", {
754
754
  className: "text-text-secondary",
755
755
  children: "Invested: "
756
- }), /* @__PURE__ */ E("span", {
756
+ }), /* @__PURE__ */ T("span", {
757
757
  className: "font-medium text-text-primary",
758
- children: i(e.investedAmount, { minimumFractionDigits: 0 })
758
+ children: r(e.investedAmount, { minimumFractionDigits: 0 })
759
759
  })] }),
760
- /* @__PURE__ */ D("div", { children: [/* @__PURE__ */ E("span", {
760
+ /* @__PURE__ */ E("div", { children: [/* @__PURE__ */ T("span", {
761
761
  className: "text-text-secondary",
762
762
  children: "Current Value: "
763
- }), /* @__PURE__ */ E("span", {
763
+ }), /* @__PURE__ */ T("span", {
764
764
  className: "font-medium text-text-primary",
765
- children: i(e.currentValue, { minimumFractionDigits: 0 })
765
+ children: r(e.currentValue, { minimumFractionDigits: 0 })
766
766
  })] }),
767
- /* @__PURE__ */ D("div", { children: [/* @__PURE__ */ E("span", {
767
+ /* @__PURE__ */ E("div", { children: [/* @__PURE__ */ T("span", {
768
768
  className: "text-text-secondary",
769
769
  children: "Returns: "
770
- }), /* @__PURE__ */ E("span", {
770
+ }), /* @__PURE__ */ T("span", {
771
771
  className: "font-medium text-status-success-text",
772
- children: i(e.currentValue - e.investedAmount, { minimumFractionDigits: 0 })
772
+ children: r(e.currentValue - e.investedAmount, { minimumFractionDigits: 0 })
773
773
  })] })
774
774
  ]
775
775
  })]
776
776
  }, n))
777
777
  })] })
778
778
  ] }),
779
- A === "documents" && /* @__PURE__ */ D("div", { children: [/* @__PURE__ */ E("h2", {
779
+ k === "documents" && /* @__PURE__ */ E("div", { children: [/* @__PURE__ */ T("h2", {
780
780
  className: "mb-6 text-lg font-semibold text-text-primary sm:text-xl",
781
781
  children: "Documents & KYC"
782
- }), /* @__PURE__ */ D("div", {
782
+ }), /* @__PURE__ */ E("div", {
783
783
  className: "space-y-6",
784
784
  children: [
785
- /* @__PURE__ */ D("div", {
785
+ /* @__PURE__ */ E("div", {
786
786
  className: "flex items-center gap-2 rounded-lg bg-status-success-bg-subtle px-4 py-3",
787
- children: [/* @__PURE__ */ E(l, { className: "h-5 w-5 text-status-success-text" }), /* @__PURE__ */ E("p", {
787
+ children: [/* @__PURE__ */ T(l, { className: "h-5 w-5 text-status-success-text" }), /* @__PURE__ */ T("p", {
788
788
  className: "text-sm font-medium text-status-success-text",
789
789
  children: "Your KYC is complete and verified"
790
790
  })]
791
791
  }),
792
- /* @__PURE__ */ E("div", {
792
+ /* @__PURE__ */ T("div", {
793
793
  className: "grid grid-cols-1 gap-4 sm:grid-cols-2 sm:gap-6",
794
- children: de.map((e) => /* @__PURE__ */ D("div", {
794
+ children: de.map((e) => /* @__PURE__ */ E("div", {
795
795
  className: "rounded-lg border border-border-subtle bg-bg-surface p-4 sm:p-6",
796
796
  children: [
797
- /* @__PURE__ */ E(m, { className: "mb-3 h-8 w-8 text-primary" }),
798
- /* @__PURE__ */ E("h3", {
797
+ /* @__PURE__ */ T(f, { className: "mb-3 h-8 w-8 text-primary" }),
798
+ /* @__PURE__ */ T("h3", {
799
799
  className: "text-base font-semibold text-text-primary",
800
800
  children: e.name
801
801
  }),
802
- /* @__PURE__ */ E("p", {
802
+ /* @__PURE__ */ T("p", {
803
803
  className: "mt-1 text-sm text-text-secondary",
804
804
  children: e.status === "verified" ? `Verified on ${e.verifiedOn}` : e.status === "uploaded" ? `Uploaded on ${e.verifiedOn}` : "Template available"
805
805
  }),
806
- /* @__PURE__ */ D("div", {
806
+ /* @__PURE__ */ E("div", {
807
807
  className: "mt-3 flex items-center gap-2",
808
808
  children: [
809
- e.status === "verified" && /* @__PURE__ */ D("span", {
809
+ e.status === "verified" && /* @__PURE__ */ E("span", {
810
810
  className: "flex items-center gap-1 rounded-full bg-status-success-bg-subtle px-2 py-0.5 text-xs font-medium text-status-success-text",
811
- children: [/* @__PURE__ */ E(l, { className: "h-3 w-3" }), "Verified"]
811
+ children: [/* @__PURE__ */ T(l, { className: "h-3 w-3" }), "Verified"]
812
812
  }),
813
- e.status === "uploaded" && /* @__PURE__ */ D("span", {
813
+ e.status === "uploaded" && /* @__PURE__ */ E("span", {
814
814
  className: "flex items-center gap-1 rounded-full bg-[var(--color-accent-soft)] px-2 py-0.5 text-xs font-medium text-text-primary",
815
- children: [/* @__PURE__ */ E(m, { className: "h-3 w-3" }), "Uploaded"]
815
+ children: [/* @__PURE__ */ T(f, { className: "h-3 w-3" }), "Uploaded"]
816
816
  }),
817
- /* @__PURE__ */ E("button", {
817
+ /* @__PURE__ */ T("button", {
818
818
  type: "button",
819
819
  onClick: () => alert(e.status === "template" ? `Downloading ${e.name} template...` : `Viewing ${e.name}...`),
820
820
  className: "rounded-lg border border-border-subtle px-3 py-1.5 text-xs font-medium text-text-primary hover:bg-accent transition-colors",
@@ -825,21 +825,21 @@ function k() {
825
825
  ]
826
826
  }, e.name))
827
827
  }),
828
- M && /* @__PURE__ */ D("div", {
828
+ j && /* @__PURE__ */ E("div", {
829
829
  className: "rounded-lg border-2 border-dashed border-border-subtle p-6 text-center",
830
830
  children: [
831
- /* @__PURE__ */ E(m, { className: "mx-auto mb-2 h-8 w-8 text-text-secondary" }),
832
- /* @__PURE__ */ E("p", {
831
+ /* @__PURE__ */ T(f, { className: "mx-auto mb-2 h-8 w-8 text-text-secondary" }),
832
+ /* @__PURE__ */ T("p", {
833
833
  className: "text-sm font-medium text-text-primary",
834
834
  children: "Upload New Document"
835
835
  }),
836
- /* @__PURE__ */ E("p", {
836
+ /* @__PURE__ */ T("p", {
837
837
  className: "mt-1 text-xs text-text-secondary",
838
838
  children: "PDF, JPG, or PNG up to 10MB"
839
839
  }),
840
- /* @__PURE__ */ D("label", {
840
+ /* @__PURE__ */ E("label", {
841
841
  className: "mt-3 inline-block cursor-pointer rounded-lg bg-action-primary-bg px-4 py-2 text-sm font-medium text-action-primary-text hover:bg-action-primary-bg/90 transition-colors",
842
- children: ["Choose File", /* @__PURE__ */ E("input", {
842
+ children: ["Choose File", /* @__PURE__ */ T("input", {
843
843
  type: "file",
844
844
  accept: ".pdf,.jpg,.png",
845
845
  className: "hidden"
@@ -849,80 +849,80 @@ function k() {
849
849
  })
850
850
  ]
851
851
  })] }),
852
- A === "security" && /* @__PURE__ */ D("div", { children: [/* @__PURE__ */ E("h2", {
852
+ k === "security" && /* @__PURE__ */ E("div", { children: [/* @__PURE__ */ T("h2", {
853
853
  className: "mb-6 text-lg font-semibold text-text-primary sm:text-xl",
854
854
  children: "Security Settings"
855
- }), /* @__PURE__ */ D("div", {
855
+ }), /* @__PURE__ */ E("div", {
856
856
  className: "space-y-6",
857
857
  children: [
858
- /* @__PURE__ */ D("div", {
858
+ /* @__PURE__ */ E("div", {
859
859
  className: "rounded-lg border border-border-subtle p-4 sm:p-6",
860
860
  children: [
861
- /* @__PURE__ */ D("div", {
861
+ /* @__PURE__ */ E("div", {
862
862
  className: "flex items-center gap-3 mb-3",
863
- children: [/* @__PURE__ */ E(oe, { className: "h-5 w-5 text-text-secondary" }), /* @__PURE__ */ E("h3", {
863
+ children: [/* @__PURE__ */ T(m, { className: "h-5 w-5 text-text-secondary" }), /* @__PURE__ */ T("h3", {
864
864
  className: "text-base font-semibold text-text-primary",
865
865
  children: "Change Password"
866
866
  })]
867
867
  }),
868
- /* @__PURE__ */ E("p", {
868
+ /* @__PURE__ */ T("p", {
869
869
  className: "mb-4 text-sm text-text-secondary",
870
870
  children: "Update your password regularly to keep your account secure"
871
871
  }),
872
- he ? /* @__PURE__ */ D("div", {
872
+ he ? /* @__PURE__ */ E("div", {
873
873
  className: "space-y-4",
874
874
  children: [
875
- /* @__PURE__ */ D("div", { children: [/* @__PURE__ */ E("label", {
875
+ /* @__PURE__ */ E("div", { children: [/* @__PURE__ */ T("label", {
876
876
  className: "mb-1 block text-sm font-medium text-text-primary",
877
877
  children: "Current Password"
878
- }), /* @__PURE__ */ D("div", {
878
+ }), /* @__PURE__ */ E("div", {
879
879
  className: "relative",
880
- children: [/* @__PURE__ */ E("input", {
880
+ children: [/* @__PURE__ */ T("input", {
881
881
  type: Y ? "text" : "password",
882
882
  value: U,
883
883
  onChange: (e) => W(e.target.value),
884
884
  className: "w-full rounded-lg border border-border-subtle bg-bg-surface px-3 py-2 pr-10 text-sm text-text-primary focus:outline-none focus:ring-2 focus:ring-[var(--color-focus-ring)]"
885
- }), /* @__PURE__ */ E("button", {
885
+ }), /* @__PURE__ */ T("button", {
886
886
  type: "button",
887
887
  onClick: () => ge(!Y),
888
888
  className: "absolute right-3 top-1/2 -translate-y-1/2 text-text-secondary hover:text-text-primary",
889
- children: E(Y ? p : f, { className: "h-4 w-4" })
889
+ children: T(Y ? d : u, { className: "h-4 w-4" })
890
890
  })]
891
891
  })] }),
892
- /* @__PURE__ */ D("div", { children: [/* @__PURE__ */ E("label", {
892
+ /* @__PURE__ */ E("div", { children: [/* @__PURE__ */ T("label", {
893
893
  className: "mb-1 block text-sm font-medium text-text-primary",
894
894
  children: "New Password"
895
- }), /* @__PURE__ */ D("div", {
895
+ }), /* @__PURE__ */ E("div", {
896
896
  className: "relative",
897
- children: [/* @__PURE__ */ E("input", {
897
+ children: [/* @__PURE__ */ T("input", {
898
898
  type: X ? "text" : "password",
899
899
  value: G,
900
900
  onChange: (e) => K(e.target.value),
901
901
  className: "w-full rounded-lg border border-border-subtle bg-bg-surface px-3 py-2 pr-10 text-sm text-text-primary focus:outline-none focus:ring-2 focus:ring-[var(--color-focus-ring)]"
902
- }), /* @__PURE__ */ E("button", {
902
+ }), /* @__PURE__ */ T("button", {
903
903
  type: "button",
904
- onClick: () => _e(!X),
904
+ onClick: () => Z(!X),
905
905
  className: "absolute right-3 top-1/2 -translate-y-1/2 text-text-secondary hover:text-text-primary",
906
- children: E(X ? p : f, { className: "h-4 w-4" })
906
+ children: T(X ? d : u, { className: "h-4 w-4" })
907
907
  })]
908
908
  })] }),
909
- /* @__PURE__ */ D("div", { children: [/* @__PURE__ */ E("label", {
909
+ /* @__PURE__ */ E("div", { children: [/* @__PURE__ */ T("label", {
910
910
  className: "mb-1 block text-sm font-medium text-text-primary",
911
911
  children: "Confirm New Password"
912
- }), /* @__PURE__ */ E("input", {
912
+ }), /* @__PURE__ */ T("input", {
913
913
  type: "password",
914
914
  value: q,
915
915
  onChange: (e) => J(e.target.value),
916
916
  className: "w-full rounded-lg border border-border-subtle bg-bg-surface px-3 py-2 text-sm text-text-primary focus:outline-none focus:ring-2 focus:ring-[var(--color-focus-ring)]"
917
917
  })] }),
918
- /* @__PURE__ */ D("div", {
918
+ /* @__PURE__ */ E("div", {
919
919
  className: "flex gap-3",
920
- children: [/* @__PURE__ */ E("button", {
920
+ children: [/* @__PURE__ */ T("button", {
921
921
  type: "button",
922
922
  onClick: xe,
923
923
  className: "rounded-lg bg-action-primary-bg px-4 py-2 text-sm font-medium text-action-primary-text hover:bg-action-primary-bg/90 transition-colors",
924
924
  children: "Update Password"
925
- }), /* @__PURE__ */ E("button", {
925
+ }), /* @__PURE__ */ T("button", {
926
926
  type: "button",
927
927
  onClick: () => {
928
928
  H(!1), W(""), K(""), J("");
@@ -932,7 +932,7 @@ function k() {
932
932
  })]
933
933
  })
934
934
  ]
935
- }) : /* @__PURE__ */ E("button", {
935
+ }) : /* @__PURE__ */ T("button", {
936
936
  type: "button",
937
937
  onClick: () => H(!0),
938
938
  className: "rounded-lg border border-border-subtle px-4 py-2 text-sm font-medium text-text-primary hover:bg-accent transition-colors",
@@ -940,70 +940,70 @@ function k() {
940
940
  })
941
941
  ]
942
942
  }),
943
- /* @__PURE__ */ D("div", {
943
+ /* @__PURE__ */ E("div", {
944
944
  className: "rounded-lg border border-border-subtle p-4 sm:p-6",
945
945
  children: [
946
- /* @__PURE__ */ D("div", {
946
+ /* @__PURE__ */ E("div", {
947
947
  className: "flex items-center gap-3 mb-3",
948
- children: [/* @__PURE__ */ E(x, { className: "h-5 w-5 text-text-secondary" }), /* @__PURE__ */ E("h3", {
948
+ children: [/* @__PURE__ */ T(b, { className: "h-5 w-5 text-text-secondary" }), /* @__PURE__ */ T("h3", {
949
949
  className: "text-base font-semibold text-text-primary",
950
950
  children: "Two-Factor Authentication"
951
951
  })]
952
952
  }),
953
- /* @__PURE__ */ E("p", {
953
+ /* @__PURE__ */ T("p", {
954
954
  className: "mb-4 text-sm text-text-secondary",
955
955
  children: "Add an extra layer of security to your investment account"
956
956
  }),
957
- /* @__PURE__ */ D("div", {
957
+ /* @__PURE__ */ E("div", {
958
958
  className: "flex items-center justify-between rounded-lg bg-bg-sunken/50 p-3",
959
- children: [/* @__PURE__ */ E("div", {
959
+ children: [/* @__PURE__ */ T("div", {
960
960
  className: "flex items-center gap-2",
961
- children: /* @__PURE__ */ E("span", {
962
- className: t("inline-flex items-center rounded-full px-2.5 py-0.5 text-xs font-medium", Z ? "bg-status-success-bg-subtle text-status-success-text" : "bg-bg-sunken text-text-secondary"),
963
- children: Z ? "Enabled" : "Disabled"
961
+ children: /* @__PURE__ */ T("span", {
962
+ className: t("inline-flex items-center rounded-full px-2.5 py-0.5 text-xs font-medium", Q ? "bg-status-success-bg-subtle text-status-success-text" : "bg-bg-sunken text-text-secondary"),
963
+ children: Q ? "Enabled" : "Disabled"
964
964
  })
965
- }), /* @__PURE__ */ E("button", {
965
+ }), /* @__PURE__ */ T("button", {
966
966
  type: "button",
967
967
  onClick: Se,
968
- className: t("rounded-lg px-4 py-2 text-sm font-medium transition-colors", Z ? "border border-border-subtle text-text-primary hover:bg-accent" : "bg-action-primary-bg text-action-primary-text hover:bg-action-primary-bg/90"),
969
- children: Z ? "Disable 2FA" : "Enable 2FA"
968
+ className: t("rounded-lg px-4 py-2 text-sm font-medium transition-colors", Q ? "border border-border-subtle text-text-primary hover:bg-accent" : "bg-action-primary-bg text-action-primary-text hover:bg-action-primary-bg/90"),
969
+ children: Q ? "Disable 2FA" : "Enable 2FA"
970
970
  })]
971
971
  })
972
972
  ]
973
973
  }),
974
- /* @__PURE__ */ D("div", {
974
+ /* @__PURE__ */ E("div", {
975
975
  className: "rounded-lg border border-border-subtle p-4 sm:p-6",
976
- children: [/* @__PURE__ */ D("div", {
976
+ children: [/* @__PURE__ */ E("div", {
977
977
  className: "flex items-center gap-3 mb-4",
978
- children: [/* @__PURE__ */ E(g, { className: "h-5 w-5 text-text-secondary" }), /* @__PURE__ */ E("h3", {
978
+ children: [/* @__PURE__ */ T(_, { className: "h-5 w-5 text-text-secondary" }), /* @__PURE__ */ T("h3", {
979
979
  className: "text-base font-semibold text-text-primary",
980
980
  children: "Login Activity"
981
981
  })]
982
- }), /* @__PURE__ */ E("div", {
982
+ }), /* @__PURE__ */ T("div", {
983
983
  className: "space-y-3",
984
- children: fe.map((e, t) => /* @__PURE__ */ D("div", {
984
+ children: fe.map((e, t) => /* @__PURE__ */ E("div", {
985
985
  className: "flex items-center justify-between rounded-lg bg-bg-sunken/30 p-3",
986
- children: [/* @__PURE__ */ D("div", { children: [/* @__PURE__ */ D("div", {
986
+ children: [/* @__PURE__ */ E("div", { children: [/* @__PURE__ */ E("div", {
987
987
  className: "flex items-center gap-2",
988
- children: [/* @__PURE__ */ E("p", {
988
+ children: [/* @__PURE__ */ T("p", {
989
989
  className: "text-sm font-medium text-text-primary",
990
990
  children: e.device
991
- }), e.current && /* @__PURE__ */ E("span", {
991
+ }), e.current && /* @__PURE__ */ T("span", {
992
992
  className: "rounded-full bg-status-success-bg-subtle px-2 py-0.5 text-xs font-medium text-status-success-text",
993
993
  children: "Current"
994
994
  })]
995
- }), /* @__PURE__ */ D("div", {
995
+ }), /* @__PURE__ */ E("div", {
996
996
  className: "mt-1 flex items-center gap-2 text-xs text-text-secondary",
997
997
  children: [
998
- /* @__PURE__ */ E(ce, { className: "h-3 w-3" }),
999
- /* @__PURE__ */ E("span", { children: e.location }),
1000
- /* @__PURE__ */ E("span", { children: "•" }),
1001
- /* @__PURE__ */ E("span", { children: ee(e.date, {
998
+ /* @__PURE__ */ T(g, { className: "h-3 w-3" }),
999
+ /* @__PURE__ */ T("span", { children: e.location }),
1000
+ /* @__PURE__ */ T("span", { children: "•" }),
1001
+ /* @__PURE__ */ T("span", { children: te(e.date, {
1002
1002
  hour: "numeric",
1003
1003
  minute: "2-digit"
1004
1004
  }) })
1005
1005
  ]
1006
- })] }), !e.current && /* @__PURE__ */ E("button", {
1006
+ })] }), !e.current && /* @__PURE__ */ T("button", {
1007
1007
  type: "button",
1008
1008
  onClick: () => alert("Session revoked"),
1009
1009
  className: "rounded-lg border border-border-subtle px-3 py-1.5 text-xs font-medium text-text-primary hover:bg-accent transition-colors",
@@ -1014,34 +1014,34 @@ function k() {
1014
1014
  })
1015
1015
  ]
1016
1016
  })] }),
1017
- A === "notifications" && /* @__PURE__ */ D("div", { children: [/* @__PURE__ */ E("h2", {
1017
+ k === "notifications" && /* @__PURE__ */ E("div", { children: [/* @__PURE__ */ T("h2", {
1018
1018
  className: "mb-6 text-lg font-semibold text-text-primary sm:text-xl",
1019
1019
  children: "Notification Preferences"
1020
- }), /* @__PURE__ */ D("div", {
1020
+ }), /* @__PURE__ */ E("div", {
1021
1021
  className: "space-y-4",
1022
- children: [V.map((e) => /* @__PURE__ */ D("div", {
1022
+ children: [V.map((e) => /* @__PURE__ */ E("div", {
1023
1023
  className: "flex items-center justify-between rounded-lg border border-border-subtle bg-bg-sunken/30 p-4",
1024
- children: [/* @__PURE__ */ D("div", {
1024
+ children: [/* @__PURE__ */ E("div", {
1025
1025
  className: "flex-1 pr-4",
1026
- children: [/* @__PURE__ */ E("h4", {
1026
+ children: [/* @__PURE__ */ T("h4", {
1027
1027
  className: "text-sm font-medium text-text-primary",
1028
1028
  children: e.label
1029
- }), /* @__PURE__ */ E("p", {
1029
+ }), /* @__PURE__ */ T("p", {
1030
1030
  className: "mt-0.5 text-xs text-text-secondary sm:text-sm",
1031
1031
  children: e.description
1032
1032
  })]
1033
- }), /* @__PURE__ */ E("button", {
1033
+ }), /* @__PURE__ */ T("button", {
1034
1034
  type: "button",
1035
1035
  onClick: () => {
1036
- M && be(e.id);
1036
+ j && be(e.id);
1037
1037
  },
1038
- disabled: !M,
1039
- className: t("relative inline-flex h-6 w-11 shrink-0 cursor-pointer rounded-full transition-colors duration-200", e.enabled ? "bg-action-primary-bg" : "bg-bg-sunken", !M && "cursor-not-allowed opacity-60"),
1040
- children: /* @__PURE__ */ E("span", { className: t("pointer-events-none inline-block h-5 w-5 translate-y-0.5 rounded-full bg-white shadow ring-0 transition-transform duration-200", e.enabled ? "translate-x-5" : "translate-x-0.5") })
1038
+ disabled: !j,
1039
+ className: t("relative inline-flex h-6 w-11 shrink-0 cursor-pointer rounded-full transition-colors duration-200", e.enabled ? "bg-action-primary-bg" : "bg-bg-sunken", !j && "cursor-not-allowed opacity-60"),
1040
+ children: /* @__PURE__ */ T("span", { className: t("pointer-events-none inline-block h-5 w-5 translate-y-0.5 rounded-full bg-white shadow ring-0 transition-transform duration-200", e.enabled ? "translate-x-5" : "translate-x-0.5") })
1041
1041
  })]
1042
- }, e.id)), /* @__PURE__ */ E("div", {
1042
+ }, e.id)), /* @__PURE__ */ T("div", {
1043
1043
  className: "mt-4 rounded-lg border border-border-subtle bg-bg-sunken/50 p-4",
1044
- children: /* @__PURE__ */ D("p", {
1044
+ children: /* @__PURE__ */ E("p", {
1045
1045
  className: "text-sm text-text-secondary",
1046
1046
  children: [
1047
1047
  V.filter((e) => e.enabled).length,
@@ -1049,7 +1049,7 @@ function k() {
1049
1049
  V.length,
1050
1050
  " ",
1051
1051
  "notification types enabled.",
1052
- !M && /* @__PURE__ */ E("span", {
1052
+ !j && /* @__PURE__ */ T("span", {
1053
1053
  className: "ml-1",
1054
1054
  children: "Click \"Edit Profile\" to modify preferences."
1055
1055
  })
@@ -1064,6 +1064,6 @@ function k() {
1064
1064
  });
1065
1065
  }
1066
1066
  //#endregion
1067
- export { k as InvestorProfilePage };
1067
+ export { O as InvestorProfilePage };
1068
1068
 
1069
1069
  //# sourceMappingURL=InvestorProfilePage.js.map