@burdenoff/microfe-kadaikodi 2026.704.1 → 2026.704.2

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