@mx-cartographer/experiences 7.2.15-alpha.sms3 → 7.2.16-alpha.mm0
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.
- package/dist/{AccountDetailsContent-Vj4LO6cx.mjs → AccountDetailsContent-CsH1w_GZ.mjs} +1 -1
- package/dist/{ManageIncome-B9yGuahc.mjs → ManageIncome-CV-bGuR-.mjs} +1 -1
- package/dist/{NotificationSettings-DqrkNMod.mjs → NotificationSettings-5i3IywCi.mjs} +238 -236
- package/dist/{RecurringSettings-D9GFcsXV.mjs → RecurringSettings-G6_BbsIF.mjs} +1 -1
- package/dist/{TransactionDetails-BqCr2FTh.mjs → TransactionDetails-CDtya0KS.mjs} +42 -42
- package/dist/{TransactionStore-Dx8hFybD.mjs → TransactionStore-DxPLdF3B.mjs} +57 -57
- package/dist/accounts/index.es.js +118 -116
- package/dist/budgets/index.es.js +501 -499
- package/dist/cashflow/index.es.js +383 -381
- package/dist/common/index.es.js +2 -2
- package/dist/debts/index.es.js +377 -375
- package/dist/finstrong/index.es.js +417 -415
- package/dist/goals/index.es.js +559 -557
- package/dist/investments/index.es.js +436 -434
- package/dist/networth/index.es.js +173 -171
- package/dist/notifications/index.es.js +1 -1
- package/dist/recurringtransactions/index.es.js +174 -172
- package/dist/settings/index.es.js +284 -278
- package/dist/spending/index.es.js +282 -280
- package/dist/transactions/components/shared/transactiondetails/actions/DateAction.d.ts +2 -2
- package/dist/transactions/index.es.js +4 -4
- package/dist/trends/index.es.js +1 -1
- package/package.json +1 -1
|
@@ -1,56 +1,56 @@
|
|
|
1
|
-
import { jsx as e, jsxs as u, Fragment as
|
|
1
|
+
import { jsx as e, jsxs as u, Fragment as ie } from "react/jsx-runtime";
|
|
2
2
|
import x from "@mui/material/Box";
|
|
3
|
-
import
|
|
4
|
-
import { useTheme as
|
|
3
|
+
import _ from "@mui/material/Stack";
|
|
4
|
+
import { useTheme as E, alpha as oe } from "@mui/material/styles";
|
|
5
5
|
import { PieChart as Oe } from "@mui/x-charts";
|
|
6
|
-
import { ChevronRight as j, Check as De, TrendingUp as Me, ArrowRightAlt as Te, TrendingDown as we, AccountBalance as
|
|
7
|
-
import { Text as W, P as y, H3 as H, Icon as
|
|
8
|
-
import { format as
|
|
6
|
+
import { ChevronRight as j, Check as De, TrendingUp as Me, ArrowRightAlt as Te, TrendingDown as we, AccountBalance as ue, ExpandMore as Fe, Payments as Re, CalendarMonth as Pe, CreditCard as he, Savings as Ge, ContentCopy as Le, MultilineChart as Ee } from "@mxenabled/mx-icons";
|
|
7
|
+
import { Text as W, P as y, H3 as H, Icon as _e } from "@mxenabled/mxui";
|
|
8
|
+
import { format as ge } from "date-fns/format";
|
|
9
9
|
import C from "react";
|
|
10
10
|
import We from "@mui/material/Avatar";
|
|
11
|
-
import
|
|
11
|
+
import fe from "@mui/material/Divider";
|
|
12
12
|
import Be from "@mui/material/List";
|
|
13
13
|
import He from "@mui/material/ListItem";
|
|
14
14
|
import ze from "@mui/material/ListItemAvatar";
|
|
15
15
|
import $e from "@mui/material/ListItemButton";
|
|
16
16
|
import Ne from "@mui/material/ListItemText";
|
|
17
17
|
import { b } from "../Localization-2MODESHW.mjs";
|
|
18
|
-
import * as
|
|
18
|
+
import * as le from "d3";
|
|
19
19
|
import { observer as I } from "mobx-react-lite";
|
|
20
|
-
import { u as S, b as z, x as $, p as Y, d as
|
|
20
|
+
import { u as S, b as z, x as $, p as Y, d as ye, i as be, n as Ke, m as Xe } from "../hooks-D6XlXHf4.mjs";
|
|
21
21
|
import { L as N } from "../Loader-DUaFpDGv.mjs";
|
|
22
|
-
import { F as
|
|
22
|
+
import { F as Ko, a as Xo } from "../FinstrongStore-F2c607dj.mjs";
|
|
23
23
|
import q from "@mui/material/Button";
|
|
24
24
|
import J from "@mui/material/Card";
|
|
25
|
-
import { L as
|
|
26
|
-
import { l as
|
|
27
|
-
import
|
|
28
|
-
import
|
|
29
|
-
import
|
|
30
|
-
import
|
|
31
|
-
import { u as
|
|
32
|
-
import { C as
|
|
33
|
-
import { R as
|
|
34
|
-
import
|
|
35
|
-
import { u as
|
|
36
|
-
import { a as
|
|
37
|
-
import { AdapterDateFns as
|
|
38
|
-
import { StaticDatePicker as
|
|
39
|
-
import { LocalizationProvider as
|
|
25
|
+
import { L as xe } from "../LineChart-D4GI7nVh.mjs";
|
|
26
|
+
import { l as Ce } from "../ConnectDrawer-Bw5s6Dw1.mjs";
|
|
27
|
+
import je from "@mui/material/Accordion";
|
|
28
|
+
import Ue from "@mui/material/AccordionDetails";
|
|
29
|
+
import Ve from "@mui/material/AccordionSummary";
|
|
30
|
+
import Ye from "@mui/material/CardHeader";
|
|
31
|
+
import { u as qe } from "../useDimensions-27p2evRx.mjs";
|
|
32
|
+
import { C as Je } from "../ConnectionsDrawer-BDvVuJQf.mjs";
|
|
33
|
+
import { R as Qe } from "../RecurringSettings-G6_BbsIF.mjs";
|
|
34
|
+
import Ze from "@mui/material/TextField";
|
|
35
|
+
import { u as Se } from "../useScreenSize-B6JyS_Lj.mjs";
|
|
36
|
+
import { a as et } from "../Dialog-CWW597AF.mjs";
|
|
37
|
+
import { AdapterDateFns as tt } from "@mui/x-date-pickers/AdapterDateFnsV3";
|
|
38
|
+
import { StaticDatePicker as ot } from "@mui/x-date-pickers";
|
|
39
|
+
import { LocalizationProvider as nt } from "@mui/x-date-pickers/LocalizationProvider";
|
|
40
40
|
import { D as V } from "../Drawer-kEE73B87.mjs";
|
|
41
|
-
import
|
|
42
|
-
import
|
|
43
|
-
import { f as
|
|
44
|
-
import { T as
|
|
45
|
-
import
|
|
46
|
-
import
|
|
47
|
-
import
|
|
48
|
-
import
|
|
49
|
-
import
|
|
50
|
-
import
|
|
51
|
-
import { W as
|
|
41
|
+
import ne from "@mui/material/Tab";
|
|
42
|
+
import rt from "@mui/material/Tabs";
|
|
43
|
+
import { f as it } from "../NumberFormatting-Buh7u8Oi.mjs";
|
|
44
|
+
import { T as re } from "../TabContentContainer-j01JYR_7.mjs";
|
|
45
|
+
import st from "@mui/lab/Timeline";
|
|
46
|
+
import at, { timelineItemClasses as ct } from "@mui/lab/TimelineItem";
|
|
47
|
+
import lt from "@mui/lab/TimelineConnector";
|
|
48
|
+
import dt from "@mui/lab/TimelineContent";
|
|
49
|
+
import pt from "@mui/lab/TimelineDot";
|
|
50
|
+
import mt from "@mui/lab/TimelineSeparator";
|
|
51
|
+
import { W as ut } from "../WidgetContainer-EbrN1oIo.mjs";
|
|
52
52
|
var A = /* @__PURE__ */ ((n) => (n.Connections = "connections", n.CreditScore = "credit_score", n.DateOfBirth = "date_of_birth", n.MonthlyIncome = "monthly_income", n))(A || {});
|
|
53
|
-
const
|
|
53
|
+
const ht = ({ list: n, onClickItem: o }) => /* @__PURE__ */ e(x, { sx: { bgcolor: "background.paper" }, children: /* @__PURE__ */ e(
|
|
54
54
|
Be,
|
|
55
55
|
{
|
|
56
56
|
sx: {
|
|
@@ -59,7 +59,7 @@ const ut = ({ list: n, onClickItem: o }) => /* @__PURE__ */ e(x, { sx: { bgcolor
|
|
|
59
59
|
pr: 24
|
|
60
60
|
}
|
|
61
61
|
},
|
|
62
|
-
children: n.map((t,
|
|
62
|
+
children: n.map((t, a) => /* @__PURE__ */ u(C.Fragment, { children: [
|
|
63
63
|
/* @__PURE__ */ e(He, { secondaryAction: /* @__PURE__ */ e(j, {}), children: /* @__PURE__ */ u($e, { onClick: () => o(t.key), children: [
|
|
64
64
|
/* @__PURE__ */ e(ze, { children: /* @__PURE__ */ e(
|
|
65
65
|
We,
|
|
@@ -85,10 +85,10 @@ const ut = ({ list: n, onClickItem: o }) => /* @__PURE__ */ e(x, { sx: { bgcolor
|
|
|
85
85
|
}
|
|
86
86
|
)
|
|
87
87
|
] }) }),
|
|
88
|
-
|
|
88
|
+
a < n.length - 1 && /* @__PURE__ */ e(fe, { sx: { color: "divider", ml: 68 } })
|
|
89
89
|
] }, t.key))
|
|
90
90
|
}
|
|
91
|
-
) }),
|
|
91
|
+
) }), _t = ht, de = (n) => n * (180 / Math.PI), se = (n, o) => [
|
|
92
92
|
{
|
|
93
93
|
description: o.vulnerable_description,
|
|
94
94
|
max: 25,
|
|
@@ -125,7 +125,7 @@ const ut = ({ list: n, onClickItem: o }) => /* @__PURE__ */ e(x, { sx: { bgcolor
|
|
|
125
125
|
GOOD: "#FFC02C",
|
|
126
126
|
VERY_GOOD: "#29C76B",
|
|
127
127
|
EXCEPTIONAL: "#008A5A"
|
|
128
|
-
},
|
|
128
|
+
}, gt = (n, o, t) => n >= 300 && n < 580 ? {
|
|
129
129
|
status: t.poor,
|
|
130
130
|
color: o ? M.POOR : D.POOR
|
|
131
131
|
} : n >= 580 && n < 670 ? {
|
|
@@ -140,124 +140,124 @@ const ut = ({ list: n, onClickItem: o }) => /* @__PURE__ */ e(x, { sx: { bgcolor
|
|
|
140
140
|
} : n >= 800 && n <= 850 ? {
|
|
141
141
|
status: t.exceptional,
|
|
142
142
|
color: o ? M.EXCEPTIONAL : D.EXCEPTIONAL
|
|
143
|
-
} : { status: t.missing_data },
|
|
144
|
-
const d = n.reduce((r,
|
|
143
|
+
} : { status: t.missing_data }, ft = (n, o, t, a) => {
|
|
144
|
+
const d = n.reduce((r, s) => r + s.value, 0);
|
|
145
145
|
let l = 0;
|
|
146
|
-
const
|
|
147
|
-
const
|
|
148
|
-
return l +=
|
|
146
|
+
const i = n.map((r) => {
|
|
147
|
+
const s = r.value / d * o, c = t + l, p = c + s;
|
|
148
|
+
return l += s, {
|
|
149
149
|
...r,
|
|
150
150
|
startAngle: c,
|
|
151
151
|
endAngle: p
|
|
152
152
|
};
|
|
153
153
|
});
|
|
154
|
-
return [
|
|
155
|
-
},
|
|
156
|
-
let l = 0,
|
|
157
|
-
const r = Math.floor(
|
|
158
|
-
return r > t ? (l = n,
|
|
159
|
-
},
|
|
160
|
-
const
|
|
161
|
-
return [
|
|
162
|
-
},
|
|
154
|
+
return [i[a].startAngle, i[a].endAngle];
|
|
155
|
+
}, yt = (n, o, t, a, d) => {
|
|
156
|
+
let l = 0, i = 0;
|
|
157
|
+
const r = Math.floor(a), s = a - r;
|
|
158
|
+
return r > t ? (l = n, i = o) : r === t && s > 0 && (l = n, i = d), [l, i];
|
|
159
|
+
}, bt = (n, o, t = 0) => {
|
|
160
|
+
const a = n * Math.sin(o - t), d = -n * Math.cos(o - t);
|
|
161
|
+
return [a, d];
|
|
162
|
+
}, xt = ({
|
|
163
163
|
dynamicCopy: n,
|
|
164
164
|
fallbackLabel: o,
|
|
165
165
|
icon: t,
|
|
166
|
-
key:
|
|
166
|
+
key: a,
|
|
167
167
|
label: d,
|
|
168
168
|
value: l
|
|
169
169
|
}) => {
|
|
170
|
-
const
|
|
170
|
+
const i = !!l, r = i ? Ct(a, l) : n && b(n, o) || o;
|
|
171
171
|
return {
|
|
172
|
-
icon:
|
|
173
|
-
isComplete:
|
|
174
|
-
key:
|
|
172
|
+
icon: i ? /* @__PURE__ */ e(De, {}) : t,
|
|
173
|
+
isComplete: i,
|
|
174
|
+
key: a,
|
|
175
175
|
primaryText: d,
|
|
176
176
|
secondaryText: r
|
|
177
177
|
};
|
|
178
|
-
},
|
|
179
|
-
[A.DateOfBirth]: (
|
|
180
|
-
[A.MonthlyIncome]: (
|
|
181
|
-
})[n]?.(o) ?? String(o),
|
|
178
|
+
}, Ct = (n, o) => ({
|
|
179
|
+
[A.DateOfBirth]: (a) => ge(new Date(Number(a) * 1e3), "MMM d, yyyy"),
|
|
180
|
+
[A.MonthlyIncome]: (a) => `$${a}`
|
|
181
|
+
})[n]?.(o) ?? String(o), pe = (n) => n !== null ? Math.round(n * 100) : null, St = ({
|
|
182
182
|
dialScoreData: n,
|
|
183
183
|
dataIndex: o,
|
|
184
184
|
arcColor: t,
|
|
185
|
-
arcStartAngle:
|
|
185
|
+
arcStartAngle: a,
|
|
186
186
|
totalAngularSpan: d,
|
|
187
187
|
centerX: l,
|
|
188
|
-
centerY:
|
|
188
|
+
centerY: i,
|
|
189
189
|
arcRadius: r,
|
|
190
|
-
innerArcRadius:
|
|
190
|
+
innerArcRadius: s,
|
|
191
191
|
outterArcRadius: c,
|
|
192
192
|
progressEndAngle: p,
|
|
193
193
|
unitsPerSegment: h,
|
|
194
194
|
isFinacialStrengthGraph: m
|
|
195
195
|
}) => {
|
|
196
|
-
const
|
|
197
|
-
{ offset: "13.62%", color:
|
|
198
|
-
{ offset: "36.67%", color:
|
|
199
|
-
{ offset: "59.72%", color:
|
|
200
|
-
{ offset: "83.46%", color:
|
|
201
|
-
], [T,
|
|
196
|
+
const f = E(), v = [
|
|
197
|
+
{ offset: "13.62%", color: f.palette.chartMono.chartMono2 },
|
|
198
|
+
{ offset: "36.67%", color: f.palette.chartMono.chartMono3 },
|
|
199
|
+
{ offset: "59.72%", color: f.palette.chartMono.chartMono4 },
|
|
200
|
+
{ offset: "83.46%", color: f.palette.chartMono.chartMono5 }
|
|
201
|
+
], [T, R] = ft(
|
|
202
202
|
n,
|
|
203
203
|
d,
|
|
204
|
-
|
|
204
|
+
a,
|
|
205
205
|
o
|
|
206
|
-
), [
|
|
206
|
+
), [w, L] = yt(
|
|
207
207
|
T,
|
|
208
|
-
|
|
208
|
+
R,
|
|
209
209
|
o,
|
|
210
210
|
h,
|
|
211
211
|
p
|
|
212
|
-
), K =
|
|
213
|
-
return /* @__PURE__ */ u(
|
|
212
|
+
), K = le.arc().innerRadius(s).outerRadius(c).startAngle(T).endAngle(R).padAngle(0.02).cornerRadius(8), P = le.arc().innerRadius(s).outerRadius(c).startAngle(w).endAngle(L).padAngle(0.02).cornerRadius(8);
|
|
213
|
+
return /* @__PURE__ */ u(ie, { children: [
|
|
214
214
|
/* @__PURE__ */ e(
|
|
215
215
|
"path",
|
|
216
216
|
{
|
|
217
217
|
d: K({}),
|
|
218
|
-
fill: m ?
|
|
218
|
+
fill: m ? f.palette.divider : t
|
|
219
219
|
}
|
|
220
220
|
),
|
|
221
|
-
m && /* @__PURE__ */ e("path", { d:
|
|
221
|
+
m && /* @__PURE__ */ e("path", { d: P({}), fill: "url(#arcGradient)" }),
|
|
222
222
|
/* @__PURE__ */ e("defs", { children: /* @__PURE__ */ e(
|
|
223
223
|
"linearGradient",
|
|
224
224
|
{
|
|
225
|
-
gradientTransform: `rotate(5, ${l}, ${
|
|
225
|
+
gradientTransform: `rotate(5, ${l}, ${i})`,
|
|
226
226
|
gradientUnits: "userSpaceOnUse",
|
|
227
227
|
id: "arcGradient",
|
|
228
228
|
x1: l + r * 0.8 * Math.cos(Math.PI / 1.35),
|
|
229
229
|
x2: l - r * 0.8 * Math.cos(Math.PI / 1.35),
|
|
230
|
-
y1:
|
|
231
|
-
y2:
|
|
232
|
-
children:
|
|
230
|
+
y1: i + r * 0.8 * Math.sin(Math.PI / 1.35),
|
|
231
|
+
y2: i - r * 0.8 * Math.sin(Math.PI / 1.35),
|
|
232
|
+
children: v.map((G, k) => /* @__PURE__ */ e("stop", { offset: G.offset, stopColor: G.color }, k))
|
|
233
233
|
}
|
|
234
234
|
) })
|
|
235
235
|
] });
|
|
236
|
-
},
|
|
236
|
+
}, ve = ({
|
|
237
237
|
arcRadius: n = 100,
|
|
238
238
|
healthScore: o,
|
|
239
239
|
size: t = "L",
|
|
240
|
-
dialScoreData:
|
|
240
|
+
dialScoreData: a,
|
|
241
241
|
minValue: d = 0,
|
|
242
242
|
maxValue: l = 100,
|
|
243
|
-
markerColor:
|
|
243
|
+
markerColor: i,
|
|
244
244
|
healthScoreStatus: r,
|
|
245
|
-
footerCenterContent:
|
|
245
|
+
footerCenterContent: s,
|
|
246
246
|
footerLeftContent: c,
|
|
247
247
|
footerRightContent: p,
|
|
248
248
|
isFinacialStrengthGraph: h = !1
|
|
249
249
|
}) => {
|
|
250
|
-
const m =
|
|
250
|
+
const m = E(), f = -Math.PI / 1.35, v = Math.PI / 1.35, T = v - f, R = T / (l - d), w = (o - d) * R, L = f + w + 0.02, K = t !== "SM" ? 0.1 : 0.12, P = n, G = n * (1 - K), k = P * 2.5, O = k / 2, F = k / 2, Z = (G + P) / 2, U = o !== 25 && o !== 50 && o !== 75 && o !== 100 ? 0 : 0.12, [ee, te] = bt(Z, L, U), Ae = o / 25, ae = {
|
|
251
251
|
L: { markerSize: 12, healthScoreFontSize: 64 },
|
|
252
252
|
M: { markerSize: 10, healthScoreFontSize: 48 },
|
|
253
253
|
SM: { markerSize: 3, healthScoreFontSize: 14 }
|
|
254
|
-
}, Ie =
|
|
254
|
+
}, Ie = s === 0 ? Te : we;
|
|
255
255
|
return /* @__PURE__ */ u(
|
|
256
|
-
|
|
256
|
+
_,
|
|
257
257
|
{
|
|
258
258
|
sx: {
|
|
259
|
-
width:
|
|
260
|
-
height:
|
|
259
|
+
width: k,
|
|
260
|
+
height: k,
|
|
261
261
|
position: "relative",
|
|
262
262
|
alignSelf: "center"
|
|
263
263
|
},
|
|
@@ -265,16 +265,16 @@ const ut = ({ list: n, onClickItem: o }) => /* @__PURE__ */ e(x, { sx: { bgcolor
|
|
|
265
265
|
/* @__PURE__ */ e(
|
|
266
266
|
Oe,
|
|
267
267
|
{
|
|
268
|
-
height:
|
|
268
|
+
height: k,
|
|
269
269
|
margin: { top: 0, right: 0, bottom: 0, left: 0 },
|
|
270
270
|
series: [
|
|
271
271
|
{
|
|
272
|
-
data:
|
|
273
|
-
innerRadius:
|
|
274
|
-
outerRadius:
|
|
275
|
-
startAngle: Math.round(
|
|
272
|
+
data: a,
|
|
273
|
+
innerRadius: G,
|
|
274
|
+
outerRadius: P,
|
|
275
|
+
startAngle: Math.round(de(f)),
|
|
276
276
|
// Use Math.degrees to convert
|
|
277
|
-
endAngle: Math.round(
|
|
277
|
+
endAngle: Math.round(de(v))
|
|
278
278
|
// Use Math.degrees to convert
|
|
279
279
|
}
|
|
280
280
|
],
|
|
@@ -283,20 +283,20 @@ const ut = ({ list: n, onClickItem: o }) => /* @__PURE__ */ e(x, { sx: { bgcolor
|
|
|
283
283
|
legend: { hidden: !0 }
|
|
284
284
|
},
|
|
285
285
|
slots: {
|
|
286
|
-
pieArc: (
|
|
287
|
-
|
|
286
|
+
pieArc: (ce) => /* @__PURE__ */ e(
|
|
287
|
+
St,
|
|
288
288
|
{
|
|
289
|
-
arcColor:
|
|
289
|
+
arcColor: ce.color,
|
|
290
290
|
arcRadius: n,
|
|
291
|
-
arcStartAngle:
|
|
292
|
-
centerX:
|
|
293
|
-
centerY:
|
|
294
|
-
dataIndex:
|
|
295
|
-
dialScoreData:
|
|
296
|
-
innerArcRadius:
|
|
291
|
+
arcStartAngle: f,
|
|
292
|
+
centerX: O,
|
|
293
|
+
centerY: F,
|
|
294
|
+
dataIndex: ce.dataIndex,
|
|
295
|
+
dialScoreData: a,
|
|
296
|
+
innerArcRadius: G,
|
|
297
297
|
isFinacialStrengthGraph: h,
|
|
298
|
-
outterArcRadius:
|
|
299
|
-
progressEndAngle:
|
|
298
|
+
outterArcRadius: P,
|
|
299
|
+
progressEndAngle: L,
|
|
300
300
|
totalAngularSpan: T,
|
|
301
301
|
unitsPerSegment: Ae
|
|
302
302
|
}
|
|
@@ -307,15 +307,15 @@ const ut = ({ list: n, onClickItem: o }) => /* @__PURE__ */ e(x, { sx: { bgcolor
|
|
|
307
307
|
stroke: "none"
|
|
308
308
|
}
|
|
309
309
|
},
|
|
310
|
-
width:
|
|
310
|
+
width: k,
|
|
311
311
|
children: o >= d && o <= l && /* @__PURE__ */ e(
|
|
312
312
|
"circle",
|
|
313
313
|
{
|
|
314
|
-
cx:
|
|
315
|
-
cy:
|
|
314
|
+
cx: O + ee,
|
|
315
|
+
cy: F + te,
|
|
316
316
|
fill: m.palette.common.white,
|
|
317
|
-
r:
|
|
318
|
-
stroke: h ? "url(#arcGradient)" :
|
|
317
|
+
r: ae[t].markerSize,
|
|
318
|
+
stroke: h ? "url(#arcGradient)" : i,
|
|
319
319
|
strokeWidth: t !== "SM" ? 3 : 1
|
|
320
320
|
}
|
|
321
321
|
)
|
|
@@ -326,13 +326,13 @@ const ut = ({ list: n, onClickItem: o }) => /* @__PURE__ */ e(x, { sx: { bgcolor
|
|
|
326
326
|
{
|
|
327
327
|
sx: {
|
|
328
328
|
position: "absolute",
|
|
329
|
-
top: `${
|
|
330
|
-
left: `${
|
|
329
|
+
top: `${F}px`,
|
|
330
|
+
left: `${O}px`,
|
|
331
331
|
transform: "translate(-50%, -50%)",
|
|
332
332
|
textAlign: "center"
|
|
333
333
|
},
|
|
334
334
|
children: /* @__PURE__ */ u(
|
|
335
|
-
|
|
335
|
+
_,
|
|
336
336
|
{
|
|
337
337
|
spacing: 1,
|
|
338
338
|
sx: { alignItems: "center", justifyContent: "center", gap: t !== "M" ? 10 : 3 },
|
|
@@ -341,7 +341,7 @@ const ut = ({ list: n, onClickItem: o }) => /* @__PURE__ */ e(x, { sx: { bgcolor
|
|
|
341
341
|
y,
|
|
342
342
|
{
|
|
343
343
|
sx: {
|
|
344
|
-
fontSize:
|
|
344
|
+
fontSize: ae[t].healthScoreFontSize,
|
|
345
345
|
lineHeight: t !== "SM" ? "48px" : "100%"
|
|
346
346
|
},
|
|
347
347
|
variant: "H1",
|
|
@@ -354,30 +354,30 @@ const ut = ({ list: n, onClickItem: o }) => /* @__PURE__ */ e(x, { sx: { bgcolor
|
|
|
354
354
|
)
|
|
355
355
|
}
|
|
356
356
|
),
|
|
357
|
-
|
|
357
|
+
s !== void 0 && /* @__PURE__ */ e(
|
|
358
358
|
x,
|
|
359
359
|
{
|
|
360
360
|
sx: {
|
|
361
361
|
position: "absolute",
|
|
362
|
-
top: `${
|
|
363
|
-
left: `${
|
|
362
|
+
top: `${F * 2 * 0.83}px`,
|
|
363
|
+
left: `${O}px`,
|
|
364
364
|
transform: "translate(-50%, -50%)",
|
|
365
365
|
textAlign: "center"
|
|
366
366
|
},
|
|
367
|
-
children: typeof
|
|
368
|
-
|
|
367
|
+
children: typeof s == "number" ? /* @__PURE__ */ u(_, { sx: { flexDirection: "row", alignItems: "center", gap: 4 }, children: [
|
|
368
|
+
s > 0 ? /* @__PURE__ */ e(Me, { size: 16, sx: { color: "success.main" } }) : /* @__PURE__ */ e(Ie, { size: 16, sx: { color: "text.secondary" } }),
|
|
369
369
|
/* @__PURE__ */ e(
|
|
370
370
|
y,
|
|
371
371
|
{
|
|
372
372
|
sx: {
|
|
373
373
|
fontWeight: 600,
|
|
374
|
-
color:
|
|
374
|
+
color: s > 0 ? "success.main" : "text.secondary"
|
|
375
375
|
},
|
|
376
376
|
variant: "body1",
|
|
377
|
-
children:
|
|
377
|
+
children: s
|
|
378
378
|
}
|
|
379
379
|
)
|
|
380
|
-
] }) : /* @__PURE__ */ e(y, { sx: { color: "text.secondary" }, variant: "subtitle2", children:
|
|
380
|
+
] }) : /* @__PURE__ */ e(y, { sx: { color: "text.secondary" }, variant: "subtitle2", children: s })
|
|
381
381
|
}
|
|
382
382
|
),
|
|
383
383
|
c !== void 0 && /* @__PURE__ */ e(
|
|
@@ -385,8 +385,8 @@ const ut = ({ list: n, onClickItem: o }) => /* @__PURE__ */ e(x, { sx: { bgcolor
|
|
|
385
385
|
{
|
|
386
386
|
sx: {
|
|
387
387
|
position: "absolute",
|
|
388
|
-
top: `${
|
|
389
|
-
left: `${
|
|
388
|
+
top: `${F * 2 * 0.83}px`,
|
|
389
|
+
left: `${O - O / 2}px`,
|
|
390
390
|
// shift left from center
|
|
391
391
|
transform: "translate(-50%, -50%)",
|
|
392
392
|
textAlign: "left"
|
|
@@ -399,8 +399,8 @@ const ut = ({ list: n, onClickItem: o }) => /* @__PURE__ */ e(x, { sx: { bgcolor
|
|
|
399
399
|
{
|
|
400
400
|
sx: {
|
|
401
401
|
position: "absolute",
|
|
402
|
-
top: `${
|
|
403
|
-
left: `${
|
|
402
|
+
top: `${F * 2 * 0.83}px`,
|
|
403
|
+
left: `${O + O / 2}px`,
|
|
404
404
|
transform: "translate(-50%, -50%)",
|
|
405
405
|
textAlign: "right"
|
|
406
406
|
},
|
|
@@ -410,37 +410,37 @@ const ut = ({ list: n, onClickItem: o }) => /* @__PURE__ */ e(x, { sx: { bgcolor
|
|
|
410
410
|
]
|
|
411
411
|
}
|
|
412
412
|
);
|
|
413
|
-
},
|
|
414
|
-
({ arcRadius: n, size: o = "L", healthScore: t, footerCenterContent:
|
|
413
|
+
}, ke = I(
|
|
414
|
+
({ arcRadius: n, size: o = "L", healthScore: t, footerCenterContent: a }) => {
|
|
415
415
|
const d = [
|
|
416
416
|
{ id: 1, label: "Group A", value: 25 },
|
|
417
417
|
{ id: 2, label: "Group B", value: 25 },
|
|
418
418
|
{ id: 3, label: "Group C", value: 25 },
|
|
419
419
|
{ id: 4, label: "Group D", value: 25 }
|
|
420
|
-
], { finstrong: l } = S(),
|
|
420
|
+
], { finstrong: l } = S(), i = se(t, l);
|
|
421
421
|
return /* @__PURE__ */ e(
|
|
422
|
-
|
|
422
|
+
ve,
|
|
423
423
|
{
|
|
424
424
|
arcRadius: n,
|
|
425
425
|
dialScoreData: d,
|
|
426
|
-
footerCenterContent: o === "L" ? l.footer_center_content_updated_just_now :
|
|
426
|
+
footerCenterContent: o === "L" ? l.footer_center_content_updated_just_now : a,
|
|
427
427
|
healthScore: t,
|
|
428
|
-
healthScoreStatus:
|
|
428
|
+
healthScoreStatus: i.status,
|
|
429
429
|
isFinacialStrengthGraph: !0,
|
|
430
430
|
size: o
|
|
431
431
|
}
|
|
432
432
|
);
|
|
433
433
|
}
|
|
434
|
-
),
|
|
434
|
+
), Ho = I(
|
|
435
435
|
({
|
|
436
436
|
arcRadius: n,
|
|
437
437
|
size: o = "L",
|
|
438
438
|
healthScore: t,
|
|
439
|
-
maxValue:
|
|
439
|
+
maxValue: a = 850,
|
|
440
440
|
minValue: d = 300,
|
|
441
441
|
footerCenterContent: l
|
|
442
442
|
}) => {
|
|
443
|
-
const r =
|
|
443
|
+
const r = E().palette.mode === "dark", s = [
|
|
444
444
|
{
|
|
445
445
|
id: 1,
|
|
446
446
|
label: "Poor",
|
|
@@ -473,23 +473,23 @@ const ut = ({ list: n, onClickItem: o }) => /* @__PURE__ */ e(x, { sx: { bgcolor
|
|
|
473
473
|
}
|
|
474
474
|
], { finstrong: c } = S(), { isCopyLoaded: p } = z();
|
|
475
475
|
if (!p) return /* @__PURE__ */ e(N, {});
|
|
476
|
-
const { status: h, color: m = "none" } =
|
|
476
|
+
const { status: h, color: m = "none" } = gt(
|
|
477
477
|
t,
|
|
478
478
|
r,
|
|
479
479
|
c.credit_score_status
|
|
480
480
|
);
|
|
481
481
|
return /* @__PURE__ */ e(
|
|
482
|
-
|
|
482
|
+
ve,
|
|
483
483
|
{
|
|
484
484
|
arcRadius: n,
|
|
485
|
-
dialScoreData:
|
|
485
|
+
dialScoreData: s,
|
|
486
486
|
footerCenterContent: l,
|
|
487
487
|
footerLeftContent: d,
|
|
488
|
-
footerRightContent:
|
|
488
|
+
footerRightContent: a,
|
|
489
489
|
healthScore: t,
|
|
490
490
|
healthScoreStatus: h,
|
|
491
491
|
markerColor: m,
|
|
492
|
-
maxValue:
|
|
492
|
+
maxValue: a,
|
|
493
493
|
minValue: d,
|
|
494
494
|
size: o
|
|
495
495
|
}
|
|
@@ -499,11 +499,11 @@ const ut = ({ list: n, onClickItem: o }) => /* @__PURE__ */ e(x, { sx: { bgcolor
|
|
|
499
499
|
isDashboard: n = !1,
|
|
500
500
|
hasIcon: o = !0,
|
|
501
501
|
buttonText: t,
|
|
502
|
-
title:
|
|
502
|
+
title: a,
|
|
503
503
|
description: d,
|
|
504
504
|
sx: l
|
|
505
505
|
}) => {
|
|
506
|
-
const [
|
|
506
|
+
const [i, r] = C.useState(!1), { connect: s, finstrong: c } = S();
|
|
507
507
|
return /* @__PURE__ */ u(
|
|
508
508
|
J,
|
|
509
509
|
{
|
|
@@ -516,15 +516,15 @@ const ut = ({ list: n, onClickItem: o }) => /* @__PURE__ */ e(x, { sx: { bgcolor
|
|
|
516
516
|
},
|
|
517
517
|
children: [
|
|
518
518
|
/* @__PURE__ */ u(
|
|
519
|
-
|
|
519
|
+
_,
|
|
520
520
|
{
|
|
521
521
|
sx: {
|
|
522
522
|
gap: 8,
|
|
523
523
|
...n && { flexDirection: "row", alignItems: "center" }
|
|
524
524
|
},
|
|
525
525
|
children: [
|
|
526
|
-
o && /* @__PURE__ */ e(
|
|
527
|
-
/* @__PURE__ */ e(H, { className: "connect-more-accounts-title", sx: { ...n && { fontSize: 15 } }, children:
|
|
526
|
+
o && /* @__PURE__ */ e(ue, { sx: { height: 20, width: 20 } }),
|
|
527
|
+
/* @__PURE__ */ e(H, { className: "connect-more-accounts-title", sx: { ...n && { fontSize: 15 } }, children: a || c.connect_more_accounts_title })
|
|
528
528
|
]
|
|
529
529
|
}
|
|
530
530
|
),
|
|
@@ -548,21 +548,21 @@ const ut = ({ list: n, onClickItem: o }) => /* @__PURE__ */ e(x, { sx: { bgcolor
|
|
|
548
548
|
}
|
|
549
549
|
),
|
|
550
550
|
/* @__PURE__ */ e(
|
|
551
|
-
|
|
551
|
+
Ce,
|
|
552
552
|
{
|
|
553
553
|
onClose: () => r(!1),
|
|
554
|
-
showConnectWidget:
|
|
555
|
-
title:
|
|
554
|
+
showConnectWidget: i,
|
|
555
|
+
title: s.mini_title
|
|
556
556
|
}
|
|
557
557
|
)
|
|
558
558
|
]
|
|
559
559
|
}
|
|
560
560
|
);
|
|
561
|
-
},
|
|
562
|
-
const n =
|
|
561
|
+
}, vt = I(() => {
|
|
562
|
+
const n = E(), [o, { width: t }] = qe(), { finstrong: a } = S(), { isCopyLoaded: d, isInitialized: l } = z(), { healthScore: i, healthScoreChange: r } = $(), s = n.palette.mode === "dark", c = se(i?.health_score, a);
|
|
563
563
|
return !d || !l ? /* @__PURE__ */ e(N, {}) : /* @__PURE__ */ u(J, { ref: o, sx: { p: 16 }, children: [
|
|
564
564
|
/* @__PURE__ */ e(
|
|
565
|
-
|
|
565
|
+
Ye,
|
|
566
566
|
{
|
|
567
567
|
action: /* @__PURE__ */ e(
|
|
568
568
|
q,
|
|
@@ -575,10 +575,10 @@ const ut = ({ list: n, onClickItem: o }) => /* @__PURE__ */ e(x, { sx: { bgcolor
|
|
|
575
575
|
color: "primary.main"
|
|
576
576
|
},
|
|
577
577
|
variant: "text",
|
|
578
|
-
children:
|
|
578
|
+
children: a.financial_strength_header_action
|
|
579
579
|
}
|
|
580
580
|
),
|
|
581
|
-
subheader: /* @__PURE__ */ e(H, { color: "text.primary", children:
|
|
581
|
+
subheader: /* @__PURE__ */ e(H, { color: "text.primary", children: a.financial_strength_header }),
|
|
582
582
|
sx: {
|
|
583
583
|
p: 0,
|
|
584
584
|
"& .MuiCardHeader-content": {
|
|
@@ -587,21 +587,21 @@ const ut = ({ list: n, onClickItem: o }) => /* @__PURE__ */ e(x, { sx: { bgcolor
|
|
|
587
587
|
}
|
|
588
588
|
}
|
|
589
589
|
),
|
|
590
|
-
/* @__PURE__ */ e(
|
|
591
|
-
|
|
590
|
+
/* @__PURE__ */ e(_, { sx: { justifyContent: "center", alignItems: "center" }, children: /* @__PURE__ */ e(
|
|
591
|
+
ke,
|
|
592
592
|
{
|
|
593
593
|
arcRadius: t <= 323 ? 73 : 154,
|
|
594
594
|
footerCenterContent: r,
|
|
595
|
-
healthScore:
|
|
595
|
+
healthScore: i?.health_score || 0,
|
|
596
596
|
size: t <= 323 ? "M" : "L"
|
|
597
597
|
}
|
|
598
598
|
) }),
|
|
599
|
-
|
|
600
|
-
|
|
599
|
+
i?.health_score ? /* @__PURE__ */ u(
|
|
600
|
+
je,
|
|
601
601
|
{
|
|
602
602
|
sx: {
|
|
603
603
|
px: 16,
|
|
604
|
-
backgroundColor:
|
|
604
|
+
backgroundColor: s ? "grey.800" : "grey.50",
|
|
605
605
|
//TODO: Need to change the background color to palette (supporting both darkmode and lightmode)
|
|
606
606
|
"&.Mui-expanded": {
|
|
607
607
|
m: 0
|
|
@@ -612,9 +612,9 @@ const ut = ({ list: n, onClickItem: o }) => /* @__PURE__ */ e(x, { sx: { bgcolor
|
|
|
612
612
|
},
|
|
613
613
|
children: [
|
|
614
614
|
/* @__PURE__ */ e(
|
|
615
|
-
|
|
615
|
+
Ve,
|
|
616
616
|
{
|
|
617
|
-
expandIcon: /* @__PURE__ */ e(
|
|
617
|
+
expandIcon: /* @__PURE__ */ e(Fe, { size: 20 }),
|
|
618
618
|
sx: {
|
|
619
619
|
height: 52,
|
|
620
620
|
p: 0,
|
|
@@ -622,21 +622,21 @@ const ut = ({ list: n, onClickItem: o }) => /* @__PURE__ */ e(x, { sx: { bgcolor
|
|
|
622
622
|
minHeight: 0
|
|
623
623
|
}
|
|
624
624
|
},
|
|
625
|
-
children: /* @__PURE__ */ e(y, { sx: { fontWeight: 600 }, variant: "body1", children:
|
|
625
|
+
children: /* @__PURE__ */ e(y, { sx: { fontWeight: 600 }, variant: "body1", children: a.accordion_title_text })
|
|
626
626
|
}
|
|
627
627
|
),
|
|
628
|
-
/* @__PURE__ */ e(
|
|
628
|
+
/* @__PURE__ */ e(Ue, { sx: { "&.MuiAccordionDetails-root": { padding: 0, pb: 16 } }, children: /* @__PURE__ */ e(y, { variant: "subtitle1", children: c.scoreContent }) })
|
|
629
629
|
]
|
|
630
630
|
}
|
|
631
631
|
) : /* @__PURE__ */ e(
|
|
632
632
|
Q,
|
|
633
633
|
{
|
|
634
|
-
buttonText:
|
|
635
|
-
description:
|
|
634
|
+
buttonText: a.connect_more_accounts_title,
|
|
635
|
+
description: a.health_score_zero_description,
|
|
636
636
|
hasIcon: !1,
|
|
637
637
|
isDashboard: !0,
|
|
638
638
|
sx: {
|
|
639
|
-
backgroundColor:
|
|
639
|
+
backgroundColor: s ? "grey.800" : "grey.50",
|
|
640
640
|
//TODO: Need to change the background color to palette (supporting both darkmode and lightmode)
|
|
641
641
|
".connect-more-accounts-title": {
|
|
642
642
|
fontWeight: 600,
|
|
@@ -645,20 +645,20 @@ const ut = ({ list: n, onClickItem: o }) => /* @__PURE__ */ e(x, { sx: { bgcolor
|
|
|
645
645
|
},
|
|
646
646
|
".connect-more-accounts-description": { color: "text.primary" }
|
|
647
647
|
},
|
|
648
|
-
title:
|
|
648
|
+
title: a.health_score_zero_title
|
|
649
649
|
}
|
|
650
650
|
)
|
|
651
651
|
] });
|
|
652
|
-
}),
|
|
653
|
-
const { common: t, finstrong:
|
|
654
|
-
o(), setTimeout(() =>
|
|
652
|
+
}), kt = ({ isOpen: n, onClose: o }) => {
|
|
653
|
+
const { common: t, finstrong: a } = S(), { isMobile: d } = Se(), { updateUser: l, user: i } = Y(), [r, s] = C.useState(i.credit_score || 0), c = !isNaN(r), p = () => {
|
|
654
|
+
o(), setTimeout(() => s(i.credit_score || 0), 300);
|
|
655
655
|
}, h = () => {
|
|
656
|
-
!r || r ===
|
|
656
|
+
!r || r === i.credit_score || l({ ...i, credit_score: r });
|
|
657
657
|
};
|
|
658
658
|
return /* @__PURE__ */ e(
|
|
659
|
-
|
|
659
|
+
et,
|
|
660
660
|
{
|
|
661
|
-
copy: { close_aria: t.close_aria, title:
|
|
661
|
+
copy: { close_aria: t.close_aria, title: a.edit_credit_score },
|
|
662
662
|
disablePrimaryButton: !r || !c,
|
|
663
663
|
isOpen: n,
|
|
664
664
|
maxWidth: "xs",
|
|
@@ -672,7 +672,7 @@ const ut = ({ list: n, onClickItem: o }) => /* @__PURE__ */ e(x, { sx: { bgcolor
|
|
|
672
672
|
}
|
|
673
673
|
},
|
|
674
674
|
children: /* @__PURE__ */ e(
|
|
675
|
-
|
|
675
|
+
Ze,
|
|
676
676
|
{
|
|
677
677
|
error: !c,
|
|
678
678
|
fullWidth: !0,
|
|
@@ -681,14 +681,14 @@ const ut = ({ list: n, onClickItem: o }) => /* @__PURE__ */ e(x, { sx: { bgcolor
|
|
|
681
681
|
noValidate: !0,
|
|
682
682
|
pattern: "[0-9]*"
|
|
683
683
|
},
|
|
684
|
-
onChange: (m) =>
|
|
684
|
+
onChange: (m) => s(Number(m.target.value)),
|
|
685
685
|
value: c ? r : ""
|
|
686
686
|
}
|
|
687
687
|
)
|
|
688
688
|
}
|
|
689
689
|
);
|
|
690
|
-
},
|
|
691
|
-
const { finstrong: t } = S(),
|
|
690
|
+
}, At = I(kt), It = ({ isOpen: n, onClose: o }) => {
|
|
691
|
+
const { finstrong: t } = S(), a = E(), { updateUser: d, user: l } = Y(), [i, r] = C.useState(l.birthday), s = (p) => {
|
|
692
692
|
r(Math.floor(new Date(p).getTime() / 1e3));
|
|
693
693
|
};
|
|
694
694
|
return /* @__PURE__ */ e(
|
|
@@ -697,26 +697,26 @@ const ut = ({ list: n, onClickItem: o }) => /* @__PURE__ */ e(x, { sx: { bgcolor
|
|
|
697
697
|
isOpen: n,
|
|
698
698
|
onClose: o,
|
|
699
699
|
onPrimaryAction: () => {
|
|
700
|
-
!
|
|
700
|
+
!i || i === l.birthday || (d({ ...l, birthday: i }), o());
|
|
701
701
|
},
|
|
702
702
|
onSecondaryAction: o,
|
|
703
703
|
title: t.date_of_birth,
|
|
704
|
-
children: /* @__PURE__ */ e(
|
|
705
|
-
|
|
704
|
+
children: /* @__PURE__ */ e(nt, { dateAdapter: tt, children: /* @__PURE__ */ e(
|
|
705
|
+
ot,
|
|
706
706
|
{
|
|
707
707
|
disableFuture: !0,
|
|
708
|
-
onChange:
|
|
708
|
+
onChange: s,
|
|
709
709
|
slotProps: {
|
|
710
710
|
nextIconButton: {
|
|
711
711
|
sx: {
|
|
712
712
|
color: "primary.main",
|
|
713
|
-
"&:hover": { bgcolor:
|
|
713
|
+
"&:hover": { bgcolor: oe(a.palette.primary.light, 0.1) }
|
|
714
714
|
}
|
|
715
715
|
},
|
|
716
716
|
previousIconButton: {
|
|
717
717
|
sx: {
|
|
718
718
|
color: "primary.main",
|
|
719
|
-
"&:hover": { bgcolor:
|
|
719
|
+
"&:hover": { bgcolor: oe(a.palette.primary.light, 0.1) }
|
|
720
720
|
}
|
|
721
721
|
}
|
|
722
722
|
},
|
|
@@ -728,118 +728,118 @@ const ut = ({ list: n, onClickItem: o }) => /* @__PURE__ */ e(x, { sx: { bgcolor
|
|
|
728
728
|
width: "100%",
|
|
729
729
|
"& .MuiIconButton-edgeEnd": {
|
|
730
730
|
color: "primary.main",
|
|
731
|
-
"&:hover": { bgcolor:
|
|
731
|
+
"&:hover": { bgcolor: oe(a.palette.primary.light, 0.1) }
|
|
732
732
|
}
|
|
733
733
|
},
|
|
734
|
-
value:
|
|
734
|
+
value: i ? new Date(i * 1e3) : /* @__PURE__ */ new Date()
|
|
735
735
|
}
|
|
736
736
|
) })
|
|
737
737
|
}
|
|
738
738
|
);
|
|
739
|
-
},
|
|
740
|
-
/* @__PURE__ */ e(
|
|
739
|
+
}, Ot = I(It), Dt = ({ value: n, completeCopy: o }) => /* @__PURE__ */ u(_, { sx: { gap: 8 }, children: [
|
|
740
|
+
/* @__PURE__ */ e(_, { sx: { flexDirection: "row", gap: 4 }, children: Array.from({ length: 4 }).map((t, a) => /* @__PURE__ */ e(
|
|
741
741
|
x,
|
|
742
742
|
{
|
|
743
743
|
sx: {
|
|
744
|
-
bgcolor:
|
|
744
|
+
bgcolor: a < n ? "primary.main" : "neutral.light",
|
|
745
745
|
borderRadius: "24px",
|
|
746
746
|
height: 4,
|
|
747
747
|
width: "100%"
|
|
748
748
|
}
|
|
749
749
|
},
|
|
750
|
-
|
|
750
|
+
a
|
|
751
751
|
)) }),
|
|
752
752
|
/* @__PURE__ */ u(W, { sx: { color: "text.secondary" }, variant: "body2", children: [
|
|
753
753
|
n / 4 * 100,
|
|
754
754
|
"% ",
|
|
755
755
|
o
|
|
756
756
|
] })
|
|
757
|
-
] }),
|
|
758
|
-
const { visibleFinstrongAccounts: t } =
|
|
757
|
+
] }), Mt = ({ isOpen: n, onClose: o }) => {
|
|
758
|
+
const { visibleFinstrongAccounts: t } = ye(), { incomeBudget: a } = be(), {
|
|
759
759
|
accounts: d,
|
|
760
760
|
common: l,
|
|
761
|
-
finstrong:
|
|
762
|
-
} = S(), { user: r } = Y(), [
|
|
761
|
+
finstrong: i
|
|
762
|
+
} = S(), { user: r } = Y(), [s, c] = C.useState(null), h = [
|
|
763
763
|
{
|
|
764
|
-
dynamicCopy:
|
|
765
|
-
fallbackLabel:
|
|
766
|
-
icon: /* @__PURE__ */ e(
|
|
764
|
+
dynamicCopy: i.add_profile_item,
|
|
765
|
+
fallbackLabel: i.monthly_income,
|
|
766
|
+
icon: /* @__PURE__ */ e(Re, {}),
|
|
767
767
|
key: A.MonthlyIncome,
|
|
768
|
-
label:
|
|
769
|
-
value:
|
|
768
|
+
label: i.monthly_income,
|
|
769
|
+
value: a
|
|
770
770
|
},
|
|
771
771
|
{
|
|
772
|
-
dynamicCopy:
|
|
773
|
-
fallbackLabel:
|
|
772
|
+
dynamicCopy: i.add_profile_item,
|
|
773
|
+
fallbackLabel: i.date_of_birth,
|
|
774
774
|
icon: /* @__PURE__ */ e(Pe, {}),
|
|
775
775
|
key: A.DateOfBirth,
|
|
776
|
-
label:
|
|
776
|
+
label: i.date_of_birth,
|
|
777
777
|
value: r.birthday
|
|
778
778
|
},
|
|
779
779
|
{
|
|
780
|
-
dynamicCopy:
|
|
781
|
-
fallbackLabel:
|
|
782
|
-
icon: /* @__PURE__ */ e(
|
|
780
|
+
dynamicCopy: i.add_profile_item,
|
|
781
|
+
fallbackLabel: i.credit_score,
|
|
782
|
+
icon: /* @__PURE__ */ e(he, {}),
|
|
783
783
|
key: A.CreditScore,
|
|
784
|
-
label:
|
|
784
|
+
label: i.credit_score,
|
|
785
785
|
value: r.credit_score
|
|
786
786
|
},
|
|
787
787
|
{
|
|
788
|
-
fallbackLabel:
|
|
789
|
-
icon: /* @__PURE__ */ e(
|
|
788
|
+
fallbackLabel: i.connect_your_accounts,
|
|
789
|
+
icon: /* @__PURE__ */ e(ue, {}),
|
|
790
790
|
key: A.Connections,
|
|
791
|
-
label:
|
|
791
|
+
label: i.connections,
|
|
792
792
|
value: t.length > 0 ? b(
|
|
793
|
-
|
|
793
|
+
i.connected_account,
|
|
794
794
|
String(t.length),
|
|
795
|
-
t.length > 1 ?
|
|
795
|
+
t.length > 1 ? i.accounts : i.account
|
|
796
796
|
) : void 0
|
|
797
797
|
}
|
|
798
|
-
].map((m) =>
|
|
799
|
-
return /* @__PURE__ */ u(V, { isOpen: n, onClose: o, title:
|
|
800
|
-
/* @__PURE__ */ u(
|
|
801
|
-
/* @__PURE__ */ u(
|
|
802
|
-
/* @__PURE__ */ e(H, { children:
|
|
803
|
-
/* @__PURE__ */ e(y, { children:
|
|
798
|
+
].map((m) => xt(m));
|
|
799
|
+
return /* @__PURE__ */ u(V, { isOpen: n, onClose: o, title: i.financial_profile, children: [
|
|
800
|
+
/* @__PURE__ */ u(_, { sx: { gap: 20, p: 24 }, children: [
|
|
801
|
+
/* @__PURE__ */ u(_, { sx: { gap: 8 }, children: [
|
|
802
|
+
/* @__PURE__ */ e(H, { children: i.your_financial_profile }),
|
|
803
|
+
/* @__PURE__ */ e(y, { children: i.financial_profile_description })
|
|
804
804
|
] }),
|
|
805
805
|
/* @__PURE__ */ e(
|
|
806
|
-
|
|
806
|
+
Dt,
|
|
807
807
|
{
|
|
808
|
-
completeCopy:
|
|
809
|
-
value: h.reduce((m,
|
|
808
|
+
completeCopy: i.complete,
|
|
809
|
+
value: h.reduce((m, f) => m + (f.isComplete ? 1 : 0), 0)
|
|
810
810
|
}
|
|
811
811
|
)
|
|
812
812
|
] }),
|
|
813
|
-
/* @__PURE__ */ e(
|
|
813
|
+
/* @__PURE__ */ e(_t, { list: h, onClickItem: c }),
|
|
814
814
|
/* @__PURE__ */ e(x, { sx: { p: 24 }, children: /* @__PURE__ */ e(
|
|
815
815
|
Q,
|
|
816
816
|
{
|
|
817
|
-
description:
|
|
817
|
+
description: i.connect_more_accounts_to_view_more_accurate_financial_picture,
|
|
818
818
|
isDashboard: !0,
|
|
819
|
-
title:
|
|
819
|
+
title: i.dont_see_all_your_accounts
|
|
820
820
|
}
|
|
821
821
|
) }),
|
|
822
822
|
/* @__PURE__ */ e(
|
|
823
823
|
V,
|
|
824
824
|
{
|
|
825
|
-
isOpen:
|
|
825
|
+
isOpen: s === A.MonthlyIncome,
|
|
826
826
|
onClose: () => c(null),
|
|
827
827
|
title: l.settings,
|
|
828
|
-
children: /* @__PURE__ */ e(
|
|
828
|
+
children: /* @__PURE__ */ e(Qe, {})
|
|
829
829
|
}
|
|
830
830
|
),
|
|
831
|
-
/* @__PURE__ */ e(
|
|
832
|
-
/* @__PURE__ */ e(
|
|
831
|
+
/* @__PURE__ */ e(Ot, { isOpen: s === A.DateOfBirth, onClose: () => c(null) }),
|
|
832
|
+
/* @__PURE__ */ e(At, { isOpen: s === A.CreditScore, onClose: () => c(null) }),
|
|
833
833
|
/* @__PURE__ */ e(
|
|
834
|
-
|
|
834
|
+
Je,
|
|
835
835
|
{
|
|
836
836
|
onClose: () => c(null),
|
|
837
|
-
showConnectionsWidget:
|
|
837
|
+
showConnectionsWidget: s === A.Connections,
|
|
838
838
|
title: d.manage_connections
|
|
839
839
|
}
|
|
840
840
|
)
|
|
841
841
|
] });
|
|
842
|
-
},
|
|
842
|
+
}, Tt = I(Mt), X = {
|
|
843
843
|
creditScore: {
|
|
844
844
|
poor: 600,
|
|
845
845
|
good: 720
|
|
@@ -860,7 +860,7 @@ const ut = ({ list: n, onClickItem: o }) => /* @__PURE__ */ e(x, { sx: { bgcolor
|
|
|
860
860
|
poor: 110,
|
|
861
861
|
good: 100
|
|
862
862
|
}
|
|
863
|
-
},
|
|
863
|
+
}, g = {
|
|
864
864
|
GOOD: "Good",
|
|
865
865
|
FAIR: "Fair",
|
|
866
866
|
OFF_TRACK: "Off Track",
|
|
@@ -868,17 +868,17 @@ const ut = ({ list: n, onClickItem: o }) => /* @__PURE__ */ e(x, { sx: { bgcolor
|
|
|
868
868
|
}, B = ({
|
|
869
869
|
title: n,
|
|
870
870
|
description: o,
|
|
871
|
-
cardState: t =
|
|
872
|
-
stateTitle:
|
|
871
|
+
cardState: t = g.MISSING,
|
|
872
|
+
stateTitle: a
|
|
873
873
|
}) => {
|
|
874
874
|
const d = {
|
|
875
|
-
[
|
|
876
|
-
[
|
|
877
|
-
[
|
|
878
|
-
[
|
|
875
|
+
[g.GOOD]: { backgroundColor: "success.lighter", color: "success.main" },
|
|
876
|
+
[g.FAIR]: { backgroundColor: "warning.lighter", color: "warning.main" },
|
|
877
|
+
[g.OFF_TRACK]: { backgroundColor: "error.lighter", color: "error.main" },
|
|
878
|
+
[g.MISSING]: { backgroundColor: "divider", color: "text.secondary" }
|
|
879
879
|
}[t];
|
|
880
880
|
return /* @__PURE__ */ u(
|
|
881
|
-
|
|
881
|
+
_,
|
|
882
882
|
{
|
|
883
883
|
alignItems: "center",
|
|
884
884
|
flexDirection: "row",
|
|
@@ -892,7 +892,7 @@ const ut = ({ list: n, onClickItem: o }) => /* @__PURE__ */ e(x, { sx: { bgcolor
|
|
|
892
892
|
},
|
|
893
893
|
children: [
|
|
894
894
|
/* @__PURE__ */ u(x, { sx: { minHeight: 48 }, children: [
|
|
895
|
-
/* @__PURE__ */ u(
|
|
895
|
+
/* @__PURE__ */ u(_, { flexDirection: "row", gap: 4, children: [
|
|
896
896
|
/* @__PURE__ */ e(y, { fontWeight: 600, sx: { mb: 8 }, truncate: !0, variant: "body1", children: n }),
|
|
897
897
|
/* @__PURE__ */ e(
|
|
898
898
|
x,
|
|
@@ -904,44 +904,44 @@ const ut = ({ list: n, onClickItem: o }) => /* @__PURE__ */ e(x, { sx: { bgcolor
|
|
|
904
904
|
py: 2,
|
|
905
905
|
height: 16
|
|
906
906
|
},
|
|
907
|
-
children: /* @__PURE__ */ e(y, { fontWeight: 700, sx: { minHeight: 12 }, uppercase: !0, variant: "tiny", children:
|
|
907
|
+
children: /* @__PURE__ */ e(y, { fontWeight: 700, sx: { minHeight: 12 }, uppercase: !0, variant: "tiny", children: a })
|
|
908
908
|
}
|
|
909
909
|
)
|
|
910
910
|
] }),
|
|
911
911
|
/* @__PURE__ */ e(y, { color: "secondary", variant: "subtitle2", children: o })
|
|
912
912
|
] }),
|
|
913
|
-
/* @__PURE__ */ e(x, { children: /* @__PURE__ */ e(
|
|
913
|
+
/* @__PURE__ */ e(x, { children: /* @__PURE__ */ e(_e, { color: "secondary", name: "chevron_right", size: 24 }) })
|
|
914
914
|
]
|
|
915
915
|
}
|
|
916
916
|
);
|
|
917
|
-
},
|
|
918
|
-
const { healthScore: n } = $(), { finstrong: o } = S(), { key_indicators_spend: t } = o,
|
|
919
|
-
const { good:
|
|
920
|
-
let p =
|
|
921
|
-
return r !== null && (r <
|
|
917
|
+
}, wt = () => {
|
|
918
|
+
const { healthScore: n } = $(), { finstrong: o } = S(), { key_indicators_spend: t } = o, a = (r) => {
|
|
919
|
+
const { good: s, poor: c } = X.spendToIncomeRatio;
|
|
920
|
+
let p = g.MISSING, h = t.ratio_missing_description, m = o.key_indicators_missing;
|
|
921
|
+
return r !== null && (r < s ? (p = g.GOOD, h = b(t.ratio_good_description, r), m = o.key_indicators_good) : r >= s && r < c ? (p = g.FAIR, h = b(t.ratio_fair_description, r), m = o.key_indicators_fair) : r >= c && (p = g.OFF_TRACK, h = b(t.ratio_off_track_description, r), m = o.key_indicators_off_track)), {
|
|
922
922
|
cardState: p,
|
|
923
923
|
description: h,
|
|
924
924
|
title: t.ratio_card_title,
|
|
925
925
|
stateTitle: m
|
|
926
926
|
};
|
|
927
927
|
}, d = (r) => {
|
|
928
|
-
let
|
|
929
|
-
return r !== null && (r === 0 ? (
|
|
930
|
-
cardState:
|
|
928
|
+
let s = g.MISSING, c = t.count_missing_description, p = o.key_indicators_missing;
|
|
929
|
+
return r !== null && (r === 0 ? (s = g.GOOD, c = t.count_good_description, p = o.key_indicators_good) : r >= 1 && (s = g.OFF_TRACK, c = t.count_off_track_description, p = o.key_indicators_off_track)), {
|
|
930
|
+
cardState: s,
|
|
931
931
|
description: c,
|
|
932
932
|
title: t.count_card_title,
|
|
933
933
|
stateTitle: p
|
|
934
934
|
};
|
|
935
|
-
}, { spendToIncomeRatio: l, spendFeeCount:
|
|
936
|
-
const r = n.spend_to_income_ratio !== null ? Math.round(n.spend_to_income_ratio * 100) : null,
|
|
937
|
-
return { spendToIncomeRatio:
|
|
935
|
+
}, { spendToIncomeRatio: l, spendFeeCount: i } = C.useMemo(() => {
|
|
936
|
+
const r = n.spend_to_income_ratio !== null ? Math.round(n.spend_to_income_ratio * 100) : null, s = a(r), c = d(n.spending_fee_transaction_count);
|
|
937
|
+
return { spendToIncomeRatio: s, spendFeeCount: c };
|
|
938
938
|
}, [
|
|
939
939
|
n.spend_to_income_ratio,
|
|
940
940
|
n.spending_fee_transaction_count,
|
|
941
941
|
t,
|
|
942
942
|
o
|
|
943
943
|
]);
|
|
944
|
-
return /* @__PURE__ */ u(
|
|
944
|
+
return /* @__PURE__ */ u(_, { direction: "column", gap: 24, sx: { p: 8, pt: 24 }, children: [
|
|
945
945
|
/* @__PURE__ */ e(
|
|
946
946
|
B,
|
|
947
947
|
{
|
|
@@ -954,45 +954,45 @@ const ut = ({ list: n, onClickItem: o }) => /* @__PURE__ */ e(x, { sx: { bgcolor
|
|
|
954
954
|
/* @__PURE__ */ e(
|
|
955
955
|
B,
|
|
956
956
|
{
|
|
957
|
-
cardState:
|
|
958
|
-
description:
|
|
959
|
-
stateTitle:
|
|
960
|
-
title:
|
|
957
|
+
cardState: i.cardState,
|
|
958
|
+
description: i.description,
|
|
959
|
+
stateTitle: i.stateTitle,
|
|
960
|
+
title: i.title
|
|
961
961
|
}
|
|
962
962
|
)
|
|
963
963
|
] });
|
|
964
|
-
},
|
|
965
|
-
const { healthScore: n } = $(), { finstrong: o } = S(), { key_indicators_save: t } = o,
|
|
966
|
-
const { good:
|
|
967
|
-
let p =
|
|
968
|
-
return r !== null && (r >=
|
|
964
|
+
}, Ft = () => {
|
|
965
|
+
const { healthScore: n } = $(), { finstrong: o } = S(), { key_indicators_save: t } = o, a = (r) => {
|
|
966
|
+
const { good: s, poor: c } = X.daysOfCashOnHand;
|
|
967
|
+
let p = g.MISSING, h = t.days_of_cash_missing_description, m = o.key_indicators_missing;
|
|
968
|
+
return r !== null && (r >= s ? (p = g.GOOD, h = b(t.days_of_cash_good_description, r), m = o.key_indicators_good) : r < s && r >= c ? (p = g.FAIR, h = b(t.days_of_cash_fair_description, r), m = o.key_indicators_fair) : r < c && (p = g.OFF_TRACK, h = b(t.days_of_cash_off_track_description, r), m = o.key_indicators_off_track)), {
|
|
969
969
|
cardState: p,
|
|
970
970
|
description: h,
|
|
971
971
|
title: t.days_of_cash_title,
|
|
972
972
|
stateTitle: m
|
|
973
973
|
};
|
|
974
974
|
}, d = (r) => {
|
|
975
|
-
const { good:
|
|
976
|
-
let p =
|
|
977
|
-
return r !== null && (r >=
|
|
975
|
+
const { good: s, poor: c } = X.emergencySavings;
|
|
976
|
+
let p = g.MISSING, h = t.emergency_savings_missing_description, m = o.key_indicators_missing;
|
|
977
|
+
return r !== null && (r >= s ? (p = g.GOOD, h = t.emergency_savings_good_description, m = o.key_indicators_good) : r < s && r >= c ? (p = g.FAIR, h = b(
|
|
978
978
|
t.emergency_savings_fair_description,
|
|
979
|
-
|
|
980
|
-
), m = o.key_indicators_fair) : r < c && (p =
|
|
979
|
+
it(r, "0,0.00")
|
|
980
|
+
), m = o.key_indicators_fair) : r < c && (p = g.OFF_TRACK, h = t.emergency_savings_off_track_description, m = o.key_indicators_off_track)), {
|
|
981
981
|
cardState: p,
|
|
982
982
|
description: h,
|
|
983
983
|
title: t.emergency_savings_title,
|
|
984
984
|
stateTitle: m
|
|
985
985
|
};
|
|
986
|
-
}, { daysOfCashOnHand: l, emergencySavings:
|
|
987
|
-
const r = n.months_of_cash_on_hand !== null ? Math.round(n.months_of_cash_on_hand * 30) : null,
|
|
988
|
-
return { daysOfCashOnHand:
|
|
986
|
+
}, { daysOfCashOnHand: l, emergencySavings: i } = C.useMemo(() => {
|
|
987
|
+
const r = n.months_of_cash_on_hand !== null ? Math.round(n.months_of_cash_on_hand * 30) : null, s = a(r), c = n.emergency_savings_on_hand !== null ? Math.round(n.emergency_savings_on_hand) : null, p = d(c);
|
|
988
|
+
return { daysOfCashOnHand: s, emergencySavings: p };
|
|
989
989
|
}, [
|
|
990
990
|
n.months_of_cash_on_hand,
|
|
991
991
|
n.emergency_savings_on_hand,
|
|
992
992
|
t,
|
|
993
993
|
o
|
|
994
994
|
]);
|
|
995
|
-
return /* @__PURE__ */ u(
|
|
995
|
+
return /* @__PURE__ */ u(_, { direction: "column", gap: 24, sx: { p: 8, pt: 24 }, children: [
|
|
996
996
|
/* @__PURE__ */ e(
|
|
997
997
|
B,
|
|
998
998
|
{
|
|
@@ -1005,53 +1005,53 @@ const ut = ({ list: n, onClickItem: o }) => /* @__PURE__ */ e(x, { sx: { bgcolor
|
|
|
1005
1005
|
/* @__PURE__ */ e(
|
|
1006
1006
|
B,
|
|
1007
1007
|
{
|
|
1008
|
-
cardState:
|
|
1009
|
-
description:
|
|
1010
|
-
stateTitle:
|
|
1011
|
-
title:
|
|
1008
|
+
cardState: i.cardState,
|
|
1009
|
+
description: i.description,
|
|
1010
|
+
stateTitle: i.stateTitle,
|
|
1011
|
+
title: i.title
|
|
1012
1012
|
}
|
|
1013
1013
|
)
|
|
1014
1014
|
] });
|
|
1015
1015
|
}, Rt = () => {
|
|
1016
|
-
const { healthScore: n } = $(), { finstrong: o } = S(), { key_indicators_borrow: t } = o, { user:
|
|
1016
|
+
const { healthScore: n } = $(), { finstrong: o } = S(), { key_indicators_borrow: t } = o, { user: a } = Y(), d = (s) => {
|
|
1017
1017
|
const { good: c, poor: p } = X.debtToIncomeRatio;
|
|
1018
|
-
let h =
|
|
1019
|
-
return
|
|
1018
|
+
let h = g.MISSING, m = t.manage_debit_missing_description, f = o.key_indicators_missing;
|
|
1019
|
+
return s != null && (s <= c ? (h = g.GOOD, m = t.manage_debit_good_description, f = o.key_indicators_good) : s > c && s <= p ? (h = g.FAIR, m = b(t.manage_debit_fair_description, s), f = o.key_indicators_fair) : s > p && (h = g.OFF_TRACK, m = b(
|
|
1020
1020
|
t.manage_debit_off_track_description,
|
|
1021
|
-
|
|
1022
|
-
),
|
|
1021
|
+
s
|
|
1022
|
+
), f = o.key_indicators_off_track)), {
|
|
1023
1023
|
cardState: h,
|
|
1024
1024
|
description: m,
|
|
1025
1025
|
title: t.manage_debit_title,
|
|
1026
|
-
stateTitle:
|
|
1026
|
+
stateTitle: f
|
|
1027
1027
|
};
|
|
1028
|
-
}, l = (
|
|
1028
|
+
}, l = (s) => {
|
|
1029
1029
|
const { good: c, poor: p } = X.creditScore;
|
|
1030
|
-
let h =
|
|
1031
|
-
return
|
|
1030
|
+
let h = g.MISSING, m = t.credit_score_missing_description, f = o.key_indicators_missing;
|
|
1031
|
+
return s !== null && (s >= c ? (h = g.GOOD, m = b(t.credit_score_good_description, s), f = o.key_indicators_good) : s < c && s >= p ? (h = g.FAIR, m = b(t.credit_score_fair_description, s), f = o.key_indicators_fair) : s < p && (h = g.OFF_TRACK, m = b(
|
|
1032
1032
|
t.credit_score_off_track_description,
|
|
1033
|
-
|
|
1034
|
-
),
|
|
1033
|
+
s
|
|
1034
|
+
), f = o.key_indicators_off_track)), {
|
|
1035
1035
|
cardState: h,
|
|
1036
1036
|
description: m,
|
|
1037
1037
|
title: t.credit_score_title,
|
|
1038
|
-
stateTitle:
|
|
1038
|
+
stateTitle: f
|
|
1039
1039
|
};
|
|
1040
|
-
}, { manageDebtStatus:
|
|
1041
|
-
const
|
|
1040
|
+
}, { manageDebtStatus: i, creditScoreStatus: r } = C.useMemo(() => {
|
|
1041
|
+
const s = n.debt_to_income_ratio !== null ? Math.round(n.debt_to_income_ratio * 100) : null, c = d(s), p = l(a.credit_score || null);
|
|
1042
1042
|
return {
|
|
1043
1043
|
manageDebtStatus: c,
|
|
1044
1044
|
creditScoreStatus: p
|
|
1045
1045
|
};
|
|
1046
|
-
}, [n.debt_to_income_ratio,
|
|
1047
|
-
return /* @__PURE__ */ u(
|
|
1046
|
+
}, [n.debt_to_income_ratio, a.credit_score, t, o]);
|
|
1047
|
+
return /* @__PURE__ */ u(_, { direction: "column", gap: 24, sx: { p: 8, pt: 24 }, children: [
|
|
1048
1048
|
/* @__PURE__ */ e(
|
|
1049
1049
|
B,
|
|
1050
1050
|
{
|
|
1051
|
-
cardState:
|
|
1052
|
-
description:
|
|
1053
|
-
stateTitle:
|
|
1054
|
-
title:
|
|
1051
|
+
cardState: i.cardState,
|
|
1052
|
+
description: i.description,
|
|
1053
|
+
stateTitle: i.stateTitle,
|
|
1054
|
+
title: i.title
|
|
1055
1055
|
}
|
|
1056
1056
|
),
|
|
1057
1057
|
/* @__PURE__ */ e(
|
|
@@ -1064,25 +1064,25 @@ const ut = ({ list: n, onClickItem: o }) => /* @__PURE__ */ e(x, { sx: { bgcolor
|
|
|
1064
1064
|
}
|
|
1065
1065
|
)
|
|
1066
1066
|
] });
|
|
1067
|
-
},
|
|
1067
|
+
}, Pt = () => {
|
|
1068
1068
|
const [n, o] = C.useState(0), { finstrong: t } = S();
|
|
1069
|
-
return /* @__PURE__ */ u(
|
|
1069
|
+
return /* @__PURE__ */ u(ie, { children: [
|
|
1070
1070
|
/* @__PURE__ */ u(
|
|
1071
|
-
|
|
1071
|
+
rt,
|
|
1072
1072
|
{
|
|
1073
1073
|
"aria-label": "Key Indicators",
|
|
1074
1074
|
centered: !0,
|
|
1075
|
-
onChange: (
|
|
1075
|
+
onChange: (a, d) => o(d),
|
|
1076
1076
|
sx: { mb: 0 },
|
|
1077
1077
|
textColor: "primary",
|
|
1078
1078
|
value: n,
|
|
1079
1079
|
variant: "fullWidth",
|
|
1080
1080
|
children: [
|
|
1081
1081
|
/* @__PURE__ */ e(
|
|
1082
|
-
|
|
1082
|
+
ne,
|
|
1083
1083
|
{
|
|
1084
1084
|
"aria-controls": "spend-details-tabpanel-0",
|
|
1085
|
-
icon: /* @__PURE__ */ e(
|
|
1085
|
+
icon: /* @__PURE__ */ e(he, { sx: { mr: 8 } }),
|
|
1086
1086
|
iconPosition: "start",
|
|
1087
1087
|
id: "spend-details-tab-0",
|
|
1088
1088
|
label: t.key_indicators_spend.title,
|
|
@@ -1090,7 +1090,7 @@ const ut = ({ list: n, onClickItem: o }) => /* @__PURE__ */ e(x, { sx: { bgcolor
|
|
|
1090
1090
|
}
|
|
1091
1091
|
),
|
|
1092
1092
|
/* @__PURE__ */ e(
|
|
1093
|
-
|
|
1093
|
+
ne,
|
|
1094
1094
|
{
|
|
1095
1095
|
"aria-controls": "save-details-tabpanel-1",
|
|
1096
1096
|
icon: /* @__PURE__ */ e(Ge, { sx: { mr: 8 } }),
|
|
@@ -1101,7 +1101,7 @@ const ut = ({ list: n, onClickItem: o }) => /* @__PURE__ */ e(x, { sx: { bgcolor
|
|
|
1101
1101
|
}
|
|
1102
1102
|
),
|
|
1103
1103
|
/* @__PURE__ */ e(
|
|
1104
|
-
|
|
1104
|
+
ne,
|
|
1105
1105
|
{
|
|
1106
1106
|
"aria-controls": "borrow-details-tabpanel-2",
|
|
1107
1107
|
icon: /* @__PURE__ */ e(Le, { sx: { mr: 8 } }),
|
|
@@ -1114,25 +1114,25 @@ const ut = ({ list: n, onClickItem: o }) => /* @__PURE__ */ e(x, { sx: { bgcolor
|
|
|
1114
1114
|
]
|
|
1115
1115
|
}
|
|
1116
1116
|
),
|
|
1117
|
-
/* @__PURE__ */ e(
|
|
1118
|
-
/* @__PURE__ */ e(
|
|
1119
|
-
/* @__PURE__ */ e(
|
|
1117
|
+
/* @__PURE__ */ e(re, { index: 0, name: "spend-details", value: n, children: /* @__PURE__ */ e(wt, {}) }),
|
|
1118
|
+
/* @__PURE__ */ e(re, { index: 1, name: "save-details", value: n, children: /* @__PURE__ */ e(Ft, {}) }),
|
|
1119
|
+
/* @__PURE__ */ e(re, { index: 2, name: "borrow-details", value: n, children: /* @__PURE__ */ e(Rt, {}) })
|
|
1120
1120
|
] });
|
|
1121
|
-
},
|
|
1121
|
+
}, Gt = ({
|
|
1122
1122
|
additionalContent: n,
|
|
1123
1123
|
children: o,
|
|
1124
1124
|
description: t,
|
|
1125
|
-
drawerTitle:
|
|
1125
|
+
drawerTitle: a,
|
|
1126
1126
|
isOpen: d,
|
|
1127
1127
|
loadConnectAccountsCard: l = !0,
|
|
1128
|
-
onClose:
|
|
1128
|
+
onClose: i,
|
|
1129
1129
|
stickyComponent: r,
|
|
1130
|
-
title:
|
|
1130
|
+
title: s
|
|
1131
1131
|
}) => {
|
|
1132
1132
|
const { finstrong: c } = S(), { isCopyLoaded: p } = z();
|
|
1133
|
-
return p ? /* @__PURE__ */ u(V, { isOpen: d, onClose:
|
|
1134
|
-
(
|
|
1135
|
-
|
|
1133
|
+
return p ? /* @__PURE__ */ u(V, { isOpen: d, onClose: i, title: a || c.key_indicators, children: [
|
|
1134
|
+
(s || t) && /* @__PURE__ */ u(_, { sx: { p: 24, pb: 0, gap: 8, backgroundColor: "background.paper" }, children: [
|
|
1135
|
+
s && /* @__PURE__ */ e(H, { children: s }),
|
|
1136
1136
|
t && /* @__PURE__ */ e(y, { children: t })
|
|
1137
1137
|
] }),
|
|
1138
1138
|
r && /* @__PURE__ */ e(
|
|
@@ -1147,55 +1147,55 @@ const ut = ({ list: n, onClickItem: o }) => /* @__PURE__ */ e(x, { sx: { bgcolor
|
|
|
1147
1147
|
}
|
|
1148
1148
|
),
|
|
1149
1149
|
n && /* @__PURE__ */ e(x, { children: n }),
|
|
1150
|
-
/* @__PURE__ */ e(
|
|
1151
|
-
/* @__PURE__ */ u(
|
|
1150
|
+
/* @__PURE__ */ e(fe, {}),
|
|
1151
|
+
/* @__PURE__ */ u(_, { sx: { p: 24, gap: 24 }, children: [
|
|
1152
1152
|
o,
|
|
1153
1153
|
l && /* @__PURE__ */ e(Q, { isDashboard: !0 })
|
|
1154
1154
|
] })
|
|
1155
1155
|
] }) : /* @__PURE__ */ e(N, {});
|
|
1156
|
-
},
|
|
1156
|
+
}, Lt = I(Gt), me = ({
|
|
1157
1157
|
content: n,
|
|
1158
1158
|
islast: o = !1
|
|
1159
|
-
}) => /* @__PURE__ */ u(
|
|
1160
|
-
/* @__PURE__ */ u(
|
|
1161
|
-
/* @__PURE__ */ e(
|
|
1162
|
-
!o && /* @__PURE__ */ e(
|
|
1159
|
+
}) => /* @__PURE__ */ u(at, { sx: { minHeight: 0 }, children: [
|
|
1160
|
+
/* @__PURE__ */ u(mt, { children: [
|
|
1161
|
+
/* @__PURE__ */ e(pt, { sx: { bgcolor: "divider", borderWidth: 1, p: 3 } }),
|
|
1162
|
+
!o && /* @__PURE__ */ e(lt, { sx: { bgcolor: "divider", width: 0.1 } })
|
|
1163
1163
|
] }),
|
|
1164
|
-
/* @__PURE__ */ e(
|
|
1165
|
-
] }),
|
|
1164
|
+
/* @__PURE__ */ e(dt, { sx: { pb: 16, pl: 12, pr: 0, pt: 5 }, children: /* @__PURE__ */ e(y, { fontSize: 13, fontWeight: 400, variant: "subtitle2", children: n }) })
|
|
1165
|
+
] }), Et = ({ report: n }) => {
|
|
1166
1166
|
const { finstrong: o } = S(), { score_history_drawer_timeline: t } = o, {
|
|
1167
|
-
health_score_point_difference:
|
|
1167
|
+
health_score_point_difference: a,
|
|
1168
1168
|
newer_credit_score: d,
|
|
1169
1169
|
older_credit_score: l,
|
|
1170
|
-
older_spend_to_income_ratio:
|
|
1170
|
+
older_spend_to_income_ratio: i,
|
|
1171
1171
|
newer_spend_to_income_ratio: r,
|
|
1172
|
-
older_health_score:
|
|
1172
|
+
older_health_score: s,
|
|
1173
1173
|
newer_health_score: c,
|
|
1174
1174
|
newer_score_calculated_at: p
|
|
1175
|
-
} = n, h =
|
|
1176
|
-
if (
|
|
1177
|
-
const T =
|
|
1178
|
-
return /* @__PURE__ */ u(
|
|
1175
|
+
} = n, h = ge(new Date(p), "MMM d"), m = () => a === 0 ? "info.lighter" : a > 0 ? "success.lighter" : "error.lighter", f = () => a === 0 ? b(t.stayed_at, s) : a > 0 ? t.less_spending : t.more_spending, v = () => {
|
|
1176
|
+
if (a === 0) return null;
|
|
1177
|
+
const T = a > 0 ? t.up_from : t.down_from, R = b(T, s, c);
|
|
1178
|
+
return /* @__PURE__ */ u(ie, { children: [
|
|
1179
1179
|
/* @__PURE__ */ e(
|
|
1180
|
-
|
|
1180
|
+
_e,
|
|
1181
1181
|
{
|
|
1182
1182
|
fill: !0,
|
|
1183
1183
|
name: "circle",
|
|
1184
1184
|
sx: { color: "text.secondary", fontSize: 8, mx: 4, p: 1 }
|
|
1185
1185
|
}
|
|
1186
1186
|
),
|
|
1187
|
-
|
|
1187
|
+
R
|
|
1188
1188
|
] });
|
|
1189
1189
|
};
|
|
1190
|
-
return /* @__PURE__ */ e(J, { children: /* @__PURE__ */ u(
|
|
1190
|
+
return /* @__PURE__ */ e(J, { children: /* @__PURE__ */ u(_, { sx: { backgroundColor: "background.paper" }, children: [
|
|
1191
1191
|
/* @__PURE__ */ e(x, { sx: { borderBottom: "1px solid", borderBottomColor: "divider", p: 16 }, children: /* @__PURE__ */ u(
|
|
1192
|
-
|
|
1192
|
+
_,
|
|
1193
1193
|
{
|
|
1194
1194
|
flexDirection: "row",
|
|
1195
1195
|
sx: { alignItems: "center", gap: 16, height: 48, width: "100%" },
|
|
1196
1196
|
children: [
|
|
1197
1197
|
/* @__PURE__ */ e(
|
|
1198
|
-
|
|
1198
|
+
_,
|
|
1199
1199
|
{
|
|
1200
1200
|
sx: {
|
|
1201
1201
|
alignItems: "center",
|
|
@@ -1205,25 +1205,25 @@ const ut = ({ list: n, onClickItem: o }) => /* @__PURE__ */ e(x, { sx: { bgcolor
|
|
|
1205
1205
|
justifyContent: "center",
|
|
1206
1206
|
minWidth: 48
|
|
1207
1207
|
},
|
|
1208
|
-
children: /* @__PURE__ */ e(y, { sx: { fontWeight: 600 }, variant: "Body", children:
|
|
1208
|
+
children: /* @__PURE__ */ e(y, { sx: { fontWeight: 600 }, variant: "Body", children: a > 0 ? `+${a}` : a })
|
|
1209
1209
|
}
|
|
1210
1210
|
),
|
|
1211
|
-
/* @__PURE__ */ u(
|
|
1212
|
-
/* @__PURE__ */ e(W, { fontWeight: 600, variant: "Body", children:
|
|
1211
|
+
/* @__PURE__ */ u(_, { sx: { gap: 2, width: "80%" }, children: [
|
|
1212
|
+
/* @__PURE__ */ e(W, { fontWeight: 600, variant: "Body", children: f() }),
|
|
1213
1213
|
/* @__PURE__ */ u(W, { sx: { color: "text.secondary" }, variant: "subtitle2", children: [
|
|
1214
1214
|
h,
|
|
1215
1215
|
" ",
|
|
1216
|
-
|
|
1216
|
+
v()
|
|
1217
1217
|
] })
|
|
1218
1218
|
] })
|
|
1219
1219
|
]
|
|
1220
1220
|
}
|
|
1221
1221
|
) }),
|
|
1222
|
-
|
|
1223
|
-
|
|
1222
|
+
a !== 0 && /* @__PURE__ */ e(x, { sx: { color: "text.secondary", pb: 8, pl: 32, pr: 16, pt: 12 }, children: /* @__PURE__ */ u(
|
|
1223
|
+
st,
|
|
1224
1224
|
{
|
|
1225
1225
|
sx: {
|
|
1226
|
-
[`& .${
|
|
1226
|
+
[`& .${ct.root}:before`]: {
|
|
1227
1227
|
flex: 0,
|
|
1228
1228
|
padding: 0
|
|
1229
1229
|
},
|
|
@@ -1232,17 +1232,17 @@ const ut = ({ list: n, onClickItem: o }) => /* @__PURE__ */ e(x, { sx: { bgcolor
|
|
|
1232
1232
|
},
|
|
1233
1233
|
children: [
|
|
1234
1234
|
/* @__PURE__ */ e(
|
|
1235
|
-
|
|
1235
|
+
me,
|
|
1236
1236
|
{
|
|
1237
1237
|
content: b(
|
|
1238
1238
|
t.spend_to_income_description,
|
|
1239
|
-
|
|
1240
|
-
|
|
1239
|
+
pe(i),
|
|
1240
|
+
pe(r)
|
|
1241
1241
|
)
|
|
1242
1242
|
}
|
|
1243
1243
|
),
|
|
1244
1244
|
/* @__PURE__ */ e(
|
|
1245
|
-
|
|
1245
|
+
me,
|
|
1246
1246
|
{
|
|
1247
1247
|
content: b(
|
|
1248
1248
|
t.credit_score_description,
|
|
@@ -1256,45 +1256,45 @@ const ut = ({ list: n, onClickItem: o }) => /* @__PURE__ */ e(x, { sx: { bgcolor
|
|
|
1256
1256
|
}
|
|
1257
1257
|
) })
|
|
1258
1258
|
] }) });
|
|
1259
|
-
},
|
|
1260
|
-
const t =
|
|
1259
|
+
}, Wt = I(Et), Bt = ({ isOpen: n, onClose: o }) => {
|
|
1260
|
+
const t = E(), { finstrong: a } = S(), { isCopyLoaded: d, isInitialized: l } = z(), { healthScore: i, healthScoreChangeReports: r, augmentedChartData: s } = $();
|
|
1261
1261
|
if (!d || !l) return /* @__PURE__ */ e(N, {});
|
|
1262
|
-
const c =
|
|
1262
|
+
const c = se(i.health_score || 0, a), p = r.slice().reverse();
|
|
1263
1263
|
return /* @__PURE__ */ e(
|
|
1264
|
-
|
|
1264
|
+
Lt,
|
|
1265
1265
|
{
|
|
1266
|
-
additionalContent: /* @__PURE__ */ e(
|
|
1267
|
-
|
|
1266
|
+
additionalContent: /* @__PURE__ */ e(_, { sx: { pl: 18, backgroundColor: "background.paper" }, children: /* @__PURE__ */ e(
|
|
1267
|
+
xe,
|
|
1268
1268
|
{
|
|
1269
1269
|
axisColor: t.palette.divider,
|
|
1270
1270
|
baseline: "min",
|
|
1271
1271
|
colors: [t.palette.primary.main],
|
|
1272
1272
|
curveType: "natural",
|
|
1273
|
-
datasets: [
|
|
1273
|
+
datasets: [s],
|
|
1274
1274
|
height: 160,
|
|
1275
|
-
labels: [
|
|
1275
|
+
labels: [a.key_indicators_label],
|
|
1276
1276
|
margin: { top: 12, left: 24 },
|
|
1277
1277
|
showArea: !0,
|
|
1278
1278
|
showAverage: !0,
|
|
1279
|
-
title:
|
|
1279
|
+
title: a.peer_average,
|
|
1280
1280
|
useCustomMark: !0
|
|
1281
1281
|
}
|
|
1282
1282
|
) }),
|
|
1283
|
-
drawerTitle:
|
|
1283
|
+
drawerTitle: a.score_history,
|
|
1284
1284
|
isOpen: n,
|
|
1285
1285
|
loadConnectAccountsCard: !1,
|
|
1286
1286
|
onClose: o,
|
|
1287
1287
|
stickyComponent: /* @__PURE__ */ u(
|
|
1288
|
-
|
|
1288
|
+
_,
|
|
1289
1289
|
{
|
|
1290
1290
|
direction: "row",
|
|
1291
1291
|
sx: { backgroundColor: "background.paper", gap: 16, pb: 12, pt: 8, px: 24 },
|
|
1292
1292
|
children: [
|
|
1293
1293
|
/* @__PURE__ */ e(x, { children: /* @__PURE__ */ e(
|
|
1294
|
-
|
|
1294
|
+
ke,
|
|
1295
1295
|
{
|
|
1296
1296
|
arcRadius: 20,
|
|
1297
|
-
healthScore:
|
|
1297
|
+
healthScore: i?.health_score,
|
|
1298
1298
|
size: "SM"
|
|
1299
1299
|
}
|
|
1300
1300
|
) }),
|
|
@@ -1305,14 +1305,14 @@ const ut = ({ list: n, onClickItem: o }) => /* @__PURE__ */ e(x, { sx: { bgcolor
|
|
|
1305
1305
|
]
|
|
1306
1306
|
}
|
|
1307
1307
|
),
|
|
1308
|
-
children: /* @__PURE__ */ e(
|
|
1308
|
+
children: /* @__PURE__ */ e(_, { sx: { gap: 16 }, children: p.map((h, m) => /* @__PURE__ */ e(Wt, { report: h }, m)) })
|
|
1309
1309
|
}
|
|
1310
1310
|
);
|
|
1311
|
-
},
|
|
1311
|
+
}, Ht = I(Bt), zt = ({ onClick: n }) => {
|
|
1312
1312
|
const { finstrong: o } = S(), { isCopyLoaded: t } = z();
|
|
1313
|
-
return t ? /* @__PURE__ */ u(
|
|
1313
|
+
return t ? /* @__PURE__ */ u(_, { sx: { alignItems: "center", gap: 12, pt: 12, pb: 32 }, children: [
|
|
1314
1314
|
/* @__PURE__ */ e(Ee, { size: 48 }),
|
|
1315
|
-
/* @__PURE__ */ u(
|
|
1315
|
+
/* @__PURE__ */ u(_, { sx: { alignItems: "center", gap: 4, textAlign: "center" }, children: [
|
|
1316
1316
|
/* @__PURE__ */ e(H, { children: o.missing_data_title }),
|
|
1317
1317
|
/* @__PURE__ */ e(y, { sx: { width: { sm: 348 } }, variant: "subtitle1", children: o.missing_data_description })
|
|
1318
1318
|
] }),
|
|
@@ -1333,60 +1333,62 @@ const ut = ({ list: n, onClickItem: o }) => /* @__PURE__ */ e(x, { sx: { bgcolor
|
|
|
1333
1333
|
}
|
|
1334
1334
|
) })
|
|
1335
1335
|
] }) : /* @__PURE__ */ e(N, {});
|
|
1336
|
-
},
|
|
1337
|
-
const t =
|
|
1336
|
+
}, $t = I(zt), Nt = ({ onBackClick: n, sx: o }) => {
|
|
1337
|
+
const t = E(), { onLoad: a } = Ke(), { visibleAccounts: d } = ye(), { dateRange: l, isDataLoaded: i, loadBudgetData: r, setTheme: s } = be(), { reloadCategoryTotals: c } = Xe(), { augmentedChartData: p, calculateHealthScore: h, healthScore: m, loadAugmentedChartData: f } = $(), { finstrong: v, connect: T } = S(), { isCopyLoaded: R, isInitialized: w, selectedAccounts: L, setSelectedAccounts: K } = z(), { isMobile: P } = Se(), [G, k] = C.useState(!1);
|
|
1338
1338
|
C.useEffect(() => {
|
|
1339
|
-
|
|
1340
|
-
}, []), C.useEffect(() =>
|
|
1341
|
-
|
|
1342
|
-
|
|
1343
|
-
|
|
1344
|
-
}, [
|
|
1345
|
-
|
|
1346
|
-
|
|
1347
|
-
const
|
|
1348
|
-
|
|
1339
|
+
s(t);
|
|
1340
|
+
}, []), C.useEffect(() => K(d), [d]), C.useEffect(() => {
|
|
1341
|
+
w && (h().finally(), f().finally(() => {
|
|
1342
|
+
a?.("FinstrongWidget");
|
|
1343
|
+
}));
|
|
1344
|
+
}, [w]), C.useEffect(() => {
|
|
1345
|
+
w && (c(L, l.start, l.end), i || r());
|
|
1346
|
+
}, [l, i, w, L]);
|
|
1347
|
+
const [O, F] = C.useState(!1), [Z, U] = C.useState(!1);
|
|
1348
|
+
if (!R || !w) return /* @__PURE__ */ e(N, {});
|
|
1349
|
+
const ee = () => {
|
|
1350
|
+
}, te = () => F(!0);
|
|
1349
1351
|
return /* @__PURE__ */ u(
|
|
1350
|
-
|
|
1352
|
+
ut,
|
|
1351
1353
|
{
|
|
1352
|
-
accountOptions:
|
|
1354
|
+
accountOptions: d,
|
|
1353
1355
|
actions: [
|
|
1354
1356
|
{
|
|
1355
1357
|
iconName: "person",
|
|
1356
|
-
label:
|
|
1357
|
-
onClick:
|
|
1358
|
+
label: v.profile,
|
|
1359
|
+
onClick: te
|
|
1358
1360
|
}
|
|
1359
1361
|
],
|
|
1360
1362
|
hasDivider: !0,
|
|
1361
|
-
onAccountsFilterClick:
|
|
1363
|
+
onAccountsFilterClick: ee,
|
|
1362
1364
|
onBackClick: n,
|
|
1363
1365
|
sx: o,
|
|
1364
|
-
title:
|
|
1366
|
+
title: v.title,
|
|
1365
1367
|
children: [
|
|
1366
1368
|
/* @__PURE__ */ u(
|
|
1367
|
-
|
|
1369
|
+
_,
|
|
1368
1370
|
{
|
|
1369
1371
|
sx: {
|
|
1370
1372
|
flexDirection: { md: "row" },
|
|
1371
1373
|
gap: 24,
|
|
1372
1374
|
justifyContent: "center",
|
|
1373
|
-
pt:
|
|
1375
|
+
pt: P ? 24 : 16,
|
|
1374
1376
|
px: 24
|
|
1375
1377
|
},
|
|
1376
1378
|
children: [
|
|
1377
|
-
/* @__PURE__ */ u(
|
|
1378
|
-
/* @__PURE__ */ e(
|
|
1379
|
+
/* @__PURE__ */ u(_, { sx: { gap: 24, width: { md: 432 } }, children: [
|
|
1380
|
+
/* @__PURE__ */ e(vt, {}),
|
|
1379
1381
|
/* @__PURE__ */ e(
|
|
1380
1382
|
Q,
|
|
1381
1383
|
{
|
|
1382
|
-
description:
|
|
1383
|
-
title:
|
|
1384
|
+
description: v.connect_more_accounts_description,
|
|
1385
|
+
title: v.connect_more_accounts_title
|
|
1384
1386
|
}
|
|
1385
1387
|
)
|
|
1386
1388
|
] }),
|
|
1387
|
-
/* @__PURE__ */ e(
|
|
1388
|
-
/* @__PURE__ */ u(
|
|
1389
|
-
/* @__PURE__ */ e(H, { children:
|
|
1389
|
+
/* @__PURE__ */ e(_, { sx: { maxWidth: 848, minWidth: 288, width: { md: 720 } }, children: /* @__PURE__ */ u(J, { sx: { background: t.palette.background.paper, p: 16 }, children: [
|
|
1390
|
+
/* @__PURE__ */ u(_, { direction: "row", sx: { alignItems: "center", justifyContent: "space-between" }, children: [
|
|
1391
|
+
/* @__PURE__ */ e(H, { children: v.key_indicators }),
|
|
1390
1392
|
/* @__PURE__ */ e(
|
|
1391
1393
|
q,
|
|
1392
1394
|
{
|
|
@@ -1396,65 +1398,65 @@ const ut = ({ list: n, onClickItem: o }) => /* @__PURE__ */ e(x, { sx: { bgcolor
|
|
|
1396
1398
|
fontSize: 13
|
|
1397
1399
|
},
|
|
1398
1400
|
variant: "text",
|
|
1399
|
-
children:
|
|
1401
|
+
children: v.whats_changed
|
|
1400
1402
|
}
|
|
1401
1403
|
)
|
|
1402
1404
|
] }),
|
|
1403
|
-
|
|
1404
|
-
|
|
1405
|
+
p.length ? /* @__PURE__ */ e(
|
|
1406
|
+
xe,
|
|
1405
1407
|
{
|
|
1406
1408
|
axisColor: t.palette.divider,
|
|
1407
1409
|
baseline: "min",
|
|
1408
1410
|
colors: [t.palette.primary.main],
|
|
1409
1411
|
curveType: "natural",
|
|
1410
1412
|
customLegendVariant: "XSmall",
|
|
1411
|
-
datasets: [
|
|
1413
|
+
datasets: [p],
|
|
1412
1414
|
height: 300,
|
|
1413
1415
|
isGraphClippingXAxis: !0,
|
|
1414
1416
|
labelBackgroundColor: t.palette.border.dark,
|
|
1415
1417
|
labelFontColor: t.palette.common.white,
|
|
1416
1418
|
labelFontSize: typeof t.typography.XSmall?.fontSize == "string" ? parseFloat(t.typography.XSmall.fontSize) : t.typography.XSmall?.fontSize,
|
|
1417
|
-
labels: [
|
|
1419
|
+
labels: [v.key_indicators_label],
|
|
1418
1420
|
margin: { right: 20, left: 25 },
|
|
1419
1421
|
showArea: !0,
|
|
1420
1422
|
showAverage: !0,
|
|
1421
1423
|
showLegend: !0,
|
|
1422
1424
|
showMarkLabel: !0,
|
|
1423
1425
|
showXAxis: !0,
|
|
1424
|
-
title:
|
|
1426
|
+
title: v.peer_average,
|
|
1425
1427
|
useCustomMark: !0
|
|
1426
1428
|
}
|
|
1427
|
-
) : /* @__PURE__ */ e(
|
|
1428
|
-
|
|
1429
|
+
) : /* @__PURE__ */ e($t, { onClick: () => k(!0) }),
|
|
1430
|
+
m.health_score !== null && /* @__PURE__ */ e(Pt, {})
|
|
1429
1431
|
] }) })
|
|
1430
1432
|
]
|
|
1431
1433
|
}
|
|
1432
1434
|
),
|
|
1433
|
-
/* @__PURE__ */ e(
|
|
1435
|
+
/* @__PURE__ */ e(Tt, { isOpen: O, onClose: () => F(!1) }),
|
|
1434
1436
|
/* @__PURE__ */ e(
|
|
1435
|
-
|
|
1437
|
+
Ce,
|
|
1436
1438
|
{
|
|
1437
|
-
onClose: () =>
|
|
1438
|
-
showConnectWidget:
|
|
1439
|
-
title:
|
|
1439
|
+
onClose: () => k(!1),
|
|
1440
|
+
showConnectWidget: G,
|
|
1441
|
+
title: T.mini_title
|
|
1440
1442
|
}
|
|
1441
1443
|
),
|
|
1442
1444
|
/* @__PURE__ */ e(
|
|
1443
|
-
|
|
1445
|
+
Ht,
|
|
1444
1446
|
{
|
|
1445
|
-
isOpen:
|
|
1447
|
+
isOpen: Z,
|
|
1446
1448
|
onClose: () => U(!1)
|
|
1447
1449
|
}
|
|
1448
1450
|
)
|
|
1449
1451
|
]
|
|
1450
1452
|
}
|
|
1451
1453
|
);
|
|
1452
|
-
},
|
|
1454
|
+
}, zo = I(Nt);
|
|
1453
1455
|
export {
|
|
1454
|
-
|
|
1455
|
-
|
|
1456
|
-
|
|
1457
|
-
|
|
1458
|
-
|
|
1459
|
-
|
|
1456
|
+
Ho as CreditScoreGraph,
|
|
1457
|
+
ve as DialScoreCard,
|
|
1458
|
+
ke as FinancialStrengthGraph,
|
|
1459
|
+
Ko as FinstrongApi,
|
|
1460
|
+
Xo as FinstrongStore,
|
|
1461
|
+
zo as FinstrongWidget
|
|
1460
1462
|
};
|