@mx-cartographer/experiences 7.6.9 → 7.6.10

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/CHANGELOG.md CHANGED
@@ -1,3 +1,7 @@
1
+ ## [7.6.10] - 01-16-2026
2
+
3
+ - **UPDATED** - `Finstrong` KeyIndicators Line Graph Style
4
+
1
5
  ## [7.6.9] - 01-14-2026
2
6
 
3
7
  - **REMOVED** - The ability to open account details from goals due to being inconsistent with other widgets.
@@ -1,34 +1,34 @@
1
1
  import { jsxs as a, Fragment as E, jsx as e } from "react/jsx-runtime";
2
2
  import k from "@mui/material/Box";
3
3
  import p from "@mui/material/Stack";
4
- import { useTheme as G, alpha as se } from "@mui/material/styles";
4
+ import { useTheme as G, alpha as ce } from "@mui/material/styles";
5
5
  import { PieChart as nn } from "@mui/x-charts/PieChart";
6
6
  import { P as M, H3 as K, Text as I, InstitutionLogo as ct, H2 as Le, MerchantLogo as on, Icon as rn } from "@mxenabled/mxui";
7
7
  import { TrendingUp as lt, ArrowRightAlt as an, TrendingDown as sn, AccountBalance as dt, ChevronRight as J, MultilineChart as pt, CreditCard as Ge, CheckCircle as cn, Cancel as ln, Savings as dn, ContentCopy as pn, Add as _t, Cardiology as _n, Payments as hn, CalendarMonth as un, ExpandMore as mn } from "@mxenabled/mx-icons";
8
- import { g as gn, a as yn, r as Je, b as bn, c as He, d as ht, C as we, e as ke, f as fn, h as xn, i as Sn, j as ut, k as et, l as Cn, m as tt, n as vn, o as mt, p as wn, q as gt, s as Oe, t as yt, u as kn, v as bt, w as Mn, A as ne, x as Dn, P as In } from "../FinstrongStore-bEn_im_e.mjs";
8
+ import { g as gn, a as yn, r as Je, b as bn, c as He, d as ht, C as ke, e as Me, f as fn, h as xn, i as Sn, j as ut, k as et, l as Cn, m as tt, n as vn, o as mt, p as wn, q as gt, s as Oe, t as yt, u as kn, v as bt, w as Mn, A as oe, x as Dn, P as In } from "../FinstrongStore-bEn_im_e.mjs";
9
9
  import { y as bi, F as fi } from "../FinstrongStore-bEn_im_e.mjs";
10
10
  import * as nt from "d3";
11
11
  import { observer as w } from "mobx-react-lite";
12
- import { u as x, b as U, a as Ne, o as ee, z as L, p as An, d as Se, m as je, f as Tn, j as Ke, h as On, i as Rn } from "../hooks-ZMp65DFz.mjs";
12
+ import { u as x, b as U, a as Ne, o as ee, z as L, p as An, d as Ce, m as je, f as Tn, j as Ke, h as On, i as Rn } from "../hooks-ZMp65DFz.mjs";
13
13
  import { L as te } from "../Loader-DUaFpDGv.mjs";
14
14
  import m from "react";
15
15
  import P from "@mui/material/Button";
16
16
  import V from "@mui/material/Card";
17
17
  import { L as Ve } from "../LineChart-BF4QA-Lx.mjs";
18
18
  import { C as ft } from "../ConnectionsDrawer-XlO1q6PK.mjs";
19
- import { l as re, g as xt, A as ze } from "../ConnectDrawer-CPvaP8lk.mjs";
20
- import ce from "@mui/material/Tab";
19
+ import { l as ae, g as xt, A as ze } from "../ConnectDrawer-CPvaP8lk.mjs";
20
+ import le from "@mui/material/Tab";
21
21
  import Xe from "@mui/material/Tabs";
22
22
  import Re from "@mui/material/TextField";
23
23
  import { u as Ye } from "../useScreenSize-B6JyS_Lj.mjs";
24
24
  import { a as Fn, f as Ln, D as Bn } from "../Dialog-B4PI-_bL.mjs";
25
25
  import { u as St } from "../useDimensions-27p2evRx.mjs";
26
26
  import Pn from "@mui/material/Chip";
27
- import { D as oe } from "../Drawer-DV4NTsFg.mjs";
28
- import de from "@mui/material/Divider";
29
- import be from "@mui/material/ListItem";
27
+ import { D as re } from "../Drawer-DV4NTsFg.mjs";
28
+ import pe from "@mui/material/Divider";
29
+ import fe from "@mui/material/ListItem";
30
30
  import Ct from "@mui/material/ListItemAvatar";
31
- import fe from "@mui/material/ListItemText";
31
+ import xe from "@mui/material/ListItemText";
32
32
  import { g as vt } from "../AccountFields-BQPsS98r.mjs";
33
33
  import Ee from "@mui/material/List";
34
34
  import Wn from "@mui/material/ListItemButton";
@@ -39,7 +39,7 @@ import { S as ot, F as wt, e as zn, R as kt } from "../RecurringTransactions-Bf4
39
39
  import { S as En } from "../StatusBar-BK_uYHAB.mjs";
40
40
  import { h as Mt } from "../DateUtil-D7U-nc1Y.mjs";
41
41
  import { T as Gn, s as Hn, h as Nn, S as jn, b as Kn } from "../TransactionDetails-BKoBKUNp.mjs";
42
- import { T as le } from "../TabContentContainer-j01JYR_7.mjs";
42
+ import { T as de } from "../TabContentContainer-j01JYR_7.mjs";
43
43
  import { E as Fe } from "../EmptyState-DoxNUae-.mjs";
44
44
  import Vn from "@mui/material/useMediaQuery";
45
45
  import { BarPlot as Xn } from "@mui/x-charts/BarChart";
@@ -141,17 +141,17 @@ const Mo = ({
141
141
  footerRightContent: h,
142
142
  isFinacialStrengthGraph: y = !1
143
143
  }) => {
144
- const S = G(), v = -Math.PI / 1.35, f = Math.PI / 1.35, D = f - v, C = D / (i - s), g = (o - s) * C, b = v + g + 0.02, R = n !== "SM" ? 0.1 : 0.12, B = t, Y = t * (1 - R), T = B * 2, $ = T / 2, z = T / 2, _e = (Y + B) / 2, ve = o !== 25 && o !== 50 && o !== 75 && o !== 100 ? 0 : 0.12, [Q, X] = bn(_e, b, ve), he = o / 25, H = {
144
+ const S = G(), v = -Math.PI / 1.35, f = Math.PI / 1.35, D = f - v, C = D / (i - s), g = (o - s) * C, b = v + g + 0.02, R = n !== "SM" ? 0.1 : 0.12, B = t, Y = t * (1 - R), T = B * 2, $ = T / 2, z = T / 2, he = (Y + B) / 2, we = o !== 25 && o !== 50 && o !== 75 && o !== 100 ? 0 : 0.12, [Q, X] = bn(he, b, we), ue = o / 25, H = {
145
145
  L: { markerSize: 12, healthScoreFontSize: 64 },
146
146
  M: { markerSize: 8, healthScoreFontSize: 48 },
147
147
  SM: { markerSize: 3, healthScoreFontSize: 14 }
148
- }, ue = {
148
+ }, me = {
149
149
  top: 0,
150
150
  right: 0,
151
151
  bottom: 0,
152
152
  left: 0,
153
153
  ...l
154
- }, N = _ === 0 ? an : sn, ae = n !== "SM" ? 3 : 1, De = ae * 4, me = H[n].markerSize * 2 + De;
154
+ }, N = _ === 0 ? an : sn, ie = n !== "SM" ? 3 : 1, ge = ie * 4, ne = H[n].markerSize * 2 + ge;
155
155
  return /* @__PURE__ */ a(
156
156
  p,
157
157
  {
@@ -168,7 +168,7 @@ const Mo = ({
168
168
  {
169
169
  height: n === "SM" ? T - 7 : T,
170
170
  hideLegend: !0,
171
- margin: ue,
171
+ margin: me,
172
172
  series: [
173
173
  {
174
174
  data: r,
@@ -197,7 +197,7 @@ const Mo = ({
197
197
  outterArcRadius: B,
198
198
  progressEndAngle: b,
199
199
  totalAngularSpan: D,
200
- unitsPerSegment: he
200
+ unitsPerSegment: ue
201
201
  }
202
202
  )
203
203
  },
@@ -212,15 +212,15 @@ const Mo = ({
212
212
  o >= s && o <= i && /* @__PURE__ */ e(
213
213
  "svg",
214
214
  {
215
- height: me,
215
+ height: ne,
216
216
  style: {
217
217
  position: "absolute",
218
218
  left: $ + Q - H[n].markerSize - 5,
219
219
  top: z + X - H[n].markerSize - 5,
220
220
  overflow: "visible"
221
221
  },
222
- viewBox: `${$ + Q - H[n].markerSize - 5} ${z + X - H[n].markerSize - 5} ${me} ${me}`,
223
- width: me,
222
+ viewBox: `${$ + Q - H[n].markerSize - 5} ${z + X - H[n].markerSize - 5} ${ne} ${ne}`,
223
+ width: ne,
224
224
  children: /* @__PURE__ */ e(
225
225
  "circle",
226
226
  {
@@ -229,7 +229,7 @@ const Mo = ({
229
229
  fill: S.palette.common.white,
230
230
  r: H[n].markerSize,
231
231
  stroke: y ? "url(#arcGradient)" : c,
232
- strokeWidth: ae
232
+ strokeWidth: ie
233
233
  }
234
234
  )
235
235
  }
@@ -376,31 +376,31 @@ const Mo = ({
376
376
  id: 1,
377
377
  label: "Poor",
378
378
  value: 29,
379
- color: c ? we.POOR : ke.POOR
379
+ color: c ? ke.POOR : Me.POOR
380
380
  },
381
381
  {
382
382
  id: 2,
383
383
  label: "Fair",
384
384
  value: 25,
385
- color: c ? we.FAIR : ke.FAIR
385
+ color: c ? ke.FAIR : Me.FAIR
386
386
  },
387
387
  {
388
388
  id: 3,
389
389
  label: "Good",
390
390
  value: 17,
391
- color: c ? we.GOOD : ke.GOOD
391
+ color: c ? ke.GOOD : Me.GOOD
392
392
  },
393
393
  {
394
394
  id: 4,
395
395
  label: "Very Good",
396
396
  value: 17,
397
- color: c ? we.VERY_GOOD : ke.VERY_GOOD
397
+ color: c ? ke.VERY_GOOD : Me.VERY_GOOD
398
398
  },
399
399
  {
400
400
  id: 5,
401
401
  label: "Exceptional",
402
402
  value: 12,
403
- color: c ? we.EXCEPTIONAL : ke.EXCEPTIONAL
403
+ color: c ? ke.EXCEPTIONAL : Me.EXCEPTIONAL
404
404
  }
405
405
  ], { finstrong: _ } = x(), { isCopyLoaded: u } = U();
406
406
  if (!u) return /* @__PURE__ */ e(te, {});
@@ -481,7 +481,7 @@ const Mo = ({
481
481
  }
482
482
  ),
483
483
  t === "connectDrawer" && /* @__PURE__ */ e(
484
- re,
484
+ ae,
485
485
  {
486
486
  onClose: () => _(!1),
487
487
  showConnectWidget: d,
@@ -500,7 +500,7 @@ const Mo = ({
500
500
  }
501
501
  ) : null;
502
502
  };
503
- var pe = /* @__PURE__ */ ((t) => (t.SpendLessThanYouMake = "spendLessThanYouMake", t.PayBillsOnTime = "payBillsOnTime", t.SaveEnoughToLiveOn = "saveEnoughToLiveOn", t.MaintainEmergencySavings = "maintainEmergencySavings", t.HaveManageableDebt = "haveManageableDebt", t.HaveAGoodCreditScore = "haveAGoodCreditScore", t))(pe || {});
503
+ var _e = /* @__PURE__ */ ((t) => (t.SpendLessThanYouMake = "spendLessThanYouMake", t.PayBillsOnTime = "payBillsOnTime", t.SaveEnoughToLiveOn = "saveEnoughToLiveOn", t.MaintainEmergencySavings = "maintainEmergencySavings", t.HaveManageableDebt = "haveManageableDebt", t.HaveAGoodCreditScore = "haveAGoodCreditScore", t))(_e || {});
504
504
  const Io = "https://content.moneydesktop.com/storage/MD_Assets/serenity/loading_animation_final.gif", Ao = ({ isOpen: t, onClose: o }) => {
505
505
  const { common: n, finstrong: r } = x(), { isMobile: s } = Ye(), { updateUser: i, user: l } = ee(), [c, d] = m.useState(l.credit_score || 0), _ = !isNaN(c), u = () => {
506
506
  o(), setTimeout(() => d(l.credit_score || 0), 300);
@@ -702,7 +702,7 @@ const Io = "https://content.moneydesktop.com/storage/MD_Assets/serenity/loading_
702
702
  drawerType: h
703
703
  }) => {
704
704
  const { finstrong: y } = x(), { isCopyLoaded: S } = U();
705
- return S ? /* @__PURE__ */ e(oe, { isOpen: l, onClose: d, title: i || y.key_indicators, children: /* @__PURE__ */ a(p, { sx: { backgroundColor: "background.default", height: "100%" }, children: [
705
+ return S ? /* @__PURE__ */ e(re, { isOpen: l, onClose: d, title: i || y.key_indicators, children: /* @__PURE__ */ a(p, { sx: { backgroundColor: "background.default", height: "100%" }, children: [
706
706
  (u || s) && /* @__PURE__ */ a(
707
707
  p,
708
708
  {
@@ -780,7 +780,7 @@ const Io = "https://content.moneydesktop.com/storage/MD_Assets/serenity/loading_
780
780
  }), f = /* @__PURE__ */ a(E, { children: [
781
781
  /* @__PURE__ */ e(Ct, { children: /* @__PURE__ */ e(ct, { alt: "MX", institutionGuid: h.institution_guid ?? "" }) }),
782
782
  /* @__PURE__ */ e(
783
- fe,
783
+ xe,
784
784
  {
785
785
  primary: `${v}${h.account_number ? ` *${h.account_number}` : ""}`,
786
786
  primaryTypographyProps: { noWrap: !0, pr: 4, variant: "body1" }
@@ -789,11 +789,11 @@ const Io = "https://content.moneydesktop.com/storage/MD_Assets/serenity/loading_
789
789
  o && /* @__PURE__ */ e(M, { bold: !0, variant: "body2", children: W(S ?? 0, "0,0.00") })
790
790
  ] });
791
791
  return /* @__PURE__ */ a(m.Fragment, { children: [
792
- /* @__PURE__ */ e(be, { sx: { px: t ? 0 : 24 }, children: t ? /* @__PURE__ */ e(Wn, { onClick: () => l(h), children: f }) : f }),
793
- y !== _.length - 1 && /* @__PURE__ */ e(de, { variant: "inset" })
792
+ /* @__PURE__ */ e(fe, { sx: { px: t ? 0 : 24 }, children: t ? /* @__PURE__ */ e(Wn, { onClick: () => l(h), children: f }) : f }),
793
+ y !== _.length - 1 && /* @__PURE__ */ e(pe, { variant: "inset" })
794
794
  ] }, h.guid);
795
795
  }),
796
- /* @__PURE__ */ e(de, {})
796
+ /* @__PURE__ */ e(pe, {})
797
797
  ]
798
798
  },
799
799
  d
@@ -811,10 +811,10 @@ const Io = "https://content.moneydesktop.com/storage/MD_Assets/serenity/loading_
811
811
  };
812
812
  return y.length >= 1 ? /* @__PURE__ */ a(E, { children: [
813
813
  /* @__PURE__ */ e(k, { sx: { border: `1px solid ${n.palette.divider}`, borderRadius: 2 }, children: S.map((f, D) => /* @__PURE__ */ a(m.Fragment, { children: [
814
- /* @__PURE__ */ a(be, { sx: { px: 24 }, children: [
814
+ /* @__PURE__ */ a(fe, { sx: { px: 24 }, children: [
815
815
  /* @__PURE__ */ e(Ct, { children: /* @__PURE__ */ e(ct, { alt: "MX", institutionGuid: f.institution_guid ?? "" }) }),
816
816
  /* @__PURE__ */ e(
817
- fe,
817
+ xe,
818
818
  {
819
819
  primary: `${xt(f, {
820
820
  allowNickname: r?.show_account_nicknames_in_master
@@ -825,7 +825,7 @@ const Io = "https://content.moneydesktop.com/storage/MD_Assets/serenity/loading_
825
825
  ),
826
826
  /* @__PURE__ */ e(M, { bold: !0, variant: "body2", children: W(v(f), "0,0.00") })
827
827
  ] }),
828
- D < S.length - 1 && /* @__PURE__ */ e(de, { variant: "inset" })
828
+ D < S.length - 1 && /* @__PURE__ */ e(pe, { variant: "inset" })
829
829
  ] }, f.guid)) }),
830
830
  y.length > 3 && /* @__PURE__ */ a(E, { children: [
831
831
  /* @__PURE__ */ e(k, { children: /* @__PURE__ */ e(
@@ -842,7 +842,7 @@ const Io = "https://content.moneydesktop.com/storage/MD_Assets/serenity/loading_
842
842
  ] })
843
843
  }
844
844
  ) }),
845
- /* @__PURE__ */ e(oe, { isOpen: d, onClose: () => _(!1), title: i.accounts, children: /* @__PURE__ */ e(Lt, { loadAccounts: t }) })
845
+ /* @__PURE__ */ e(re, { isOpen: d, onClose: () => _(!1), title: i.accounts, children: /* @__PURE__ */ e(Lt, { loadAccounts: t }) })
846
846
  ] })
847
847
  ] }) : /* @__PURE__ */ a(E, { children: [
848
848
  /* @__PURE__ */ e(k, { children: /* @__PURE__ */ e(
@@ -856,7 +856,7 @@ const Io = "https://content.moneydesktop.com/storage/MD_Assets/serenity/loading_
856
856
  }
857
857
  ) }),
858
858
  /* @__PURE__ */ e(
859
- re,
859
+ ae,
860
860
  {
861
861
  onClose: () => h(!1),
862
862
  showConnectWidget: u,
@@ -864,7 +864,7 @@ const Io = "https://content.moneydesktop.com/storage/MD_Assets/serenity/loading_
864
864
  }
865
865
  )
866
866
  ] });
867
- }, Bt = w(Wo), Ce = ({ balance: t, title: o, sx: n }) => /* @__PURE__ */ a(
867
+ }, Bt = w(Wo), ve = ({ balance: t, title: o, sx: n }) => /* @__PURE__ */ a(
868
868
  p,
869
869
  {
870
870
  sx: {
@@ -882,7 +882,7 @@ const Io = "https://content.moneydesktop.com/storage/MD_Assets/serenity/loading_
882
882
  ]
883
883
  }
884
884
  );
885
- var O = /* @__PURE__ */ ((t) => (t[t.ConnectAccounts = 1] = "ConnectAccounts", t[t.MonthlyIncome = 2] = "MonthlyIncome", t[t.Birthday = 3] = "Birthday", t[t.CreditScore = 4] = "CreditScore", t))(O || {}), Me = /* @__PURE__ */ ((t) => (t[t.Months = 1] = "Months", t[t.Years = 2] = "Years", t[t.Days = 3] = "Days", t))(Me || {}), Z = /* @__PURE__ */ ((t) => (t[t.Monthly = 1] = "Monthly", t[t.BiWeekly = 2] = "BiWeekly", t[t.Weekly = 3] = "Weekly", t[t.Daily = 4] = "Daily", t))(Z || {});
885
+ var O = /* @__PURE__ */ ((t) => (t[t.ConnectAccounts = 1] = "ConnectAccounts", t[t.MonthlyIncome = 2] = "MonthlyIncome", t[t.Birthday = 3] = "Birthday", t[t.CreditScore = 4] = "CreditScore", t))(O || {}), De = /* @__PURE__ */ ((t) => (t[t.Months = 1] = "Months", t[t.Years = 2] = "Years", t[t.Days = 3] = "Days", t))(De || {}), Z = /* @__PURE__ */ ((t) => (t[t.Monthly = 1] = "Monthly", t[t.BiWeekly = 2] = "BiWeekly", t[t.Weekly = 3] = "Weekly", t[t.Daily = 4] = "Daily", t))(Z || {});
886
886
  const $o = ({ total: t }) => {
887
887
  const { finstrong: o } = x(), n = [
888
888
  { id: Z.Monthly, label: o.maintain_emergency_savings_monthly },
@@ -895,12 +895,12 @@ const $o = ({ total: t }) => {
895
895
  [Z.Weekly]: o.maintain_emergency_savings_estimated_period_weekly,
896
896
  [Z.Daily]: o.maintain_emergency_savings_estimated_period_daily
897
897
  }, s = [
898
- { id: Me.Months, label: o.maintain_emergency_savings_months },
899
- { id: Me.Years, label: o.maintain_emergency_savings_years },
900
- { id: Me.Days, label: o.maintain_emergency_savings_days }
898
+ { id: De.Months, label: o.maintain_emergency_savings_months },
899
+ { id: De.Years, label: o.maintain_emergency_savings_years },
900
+ { id: De.Days, label: o.maintain_emergency_savings_days }
901
901
  ], i = Math.ceil((t + 1) / 1e3) * 1e3, [l, c] = m.useState(0), [d, _] = m.useState(et(t)), [u, h] = m.useState(
902
902
  et(t)
903
- ), [y, S] = m.useState(i), [v, f] = m.useState(Cn(t)), [D, C] = m.useState(Me.Months);
903
+ ), [y, S] = m.useState(i), [v, f] = m.useState(Cn(t)), [D, C] = m.useState(De.Months);
904
904
  m.useEffect(() => {
905
905
  c(
906
906
  tt({
@@ -925,7 +925,7 @@ const $o = ({ total: t }) => {
925
925
  };
926
926
  return /* @__PURE__ */ e(V, { children: /* @__PURE__ */ e("form", { onSubmit: g, children: /* @__PURE__ */ a(p, { sx: { gap: 24, pb: 24, pt: 16, px: 16 }, children: [
927
927
  /* @__PURE__ */ e(
928
- Ce,
928
+ ve,
929
929
  {
930
930
  balance: /* @__PURE__ */ a(p, { sx: { flexDirection: "row", height: 32 }, children: [
931
931
  /* @__PURE__ */ e(I, { variant: "h2", children: W(l, "0,0") }),
@@ -1011,13 +1011,13 @@ const $o = ({ total: t }) => {
1011
1011
  /* @__PURE__ */ e(P, { fullWidth: !0, onClick: g, type: "submit", variant: "contained", children: o.maintain_emergency_savings_calculate })
1012
1012
  ] }) }) });
1013
1013
  }, zo = w($o), Eo = () => {
1014
- const { savingsAccounts: t } = Se(), { finstrong: o } = x(), [n, r] = m.useState(!1), s = m.useMemo(
1014
+ const { savingsAccounts: t } = Ce(), { finstrong: o } = x(), [n, r] = m.useState(!1), s = m.useMemo(
1015
1015
  () => t.reduce((i, l) => i + (l.balance ?? 0), 0),
1016
1016
  [t]
1017
1017
  );
1018
1018
  return /* @__PURE__ */ a(p, { sx: { gap: 24 }, children: [
1019
1019
  /* @__PURE__ */ e(V, { sx: { bgcolor: "background.paper", p: 16 }, children: /* @__PURE__ */ a(p, { sx: { gap: 16 }, children: [
1020
- /* @__PURE__ */ e(Ce, { balance: s, title: o.maintain_emergency_savings_your_savings }),
1020
+ /* @__PURE__ */ e(ve, { balance: s, title: o.maintain_emergency_savings_your_savings }),
1021
1021
  t.length ? /* @__PURE__ */ e(
1022
1022
  Bt,
1023
1023
  {
@@ -1028,7 +1028,7 @@ const $o = ({ total: t }) => {
1028
1028
  ] }) }),
1029
1029
  /* @__PURE__ */ e(zo, { total: s }),
1030
1030
  /* @__PURE__ */ e(
1031
- re,
1031
+ ae,
1032
1032
  {
1033
1033
  onClose: () => r(!1),
1034
1034
  showConnectWidget: n,
@@ -1104,7 +1104,7 @@ const $o = ({ total: t }) => {
1104
1104
  {
1105
1105
  bottomComponent: /* @__PURE__ */ e(p, { sx: { flexDirection: "row", justifyContent: "space-between" }, children: No.map((s) => /* @__PURE__ */ a(p, { sx: { alignItems: "center", height: 24, width: 30 }, children: [
1106
1106
  /* @__PURE__ */ e(
1107
- de,
1107
+ pe,
1108
1108
  {
1109
1109
  orientation: "vertical",
1110
1110
  sx: {
@@ -1153,7 +1153,7 @@ const $o = ({ total: t }) => {
1153
1153
  }
1154
1154
  ) }),
1155
1155
  /* @__PURE__ */ e(
1156
- re,
1156
+ ae,
1157
1157
  {
1158
1158
  onClose: () => y(!1),
1159
1159
  showConnectWidget: h,
@@ -1228,7 +1228,7 @@ const $o = ({ total: t }) => {
1228
1228
  }
1229
1229
  ) }),
1230
1230
  /* @__PURE__ */ e(
1231
- oe,
1231
+ re,
1232
1232
  {
1233
1233
  isOpen: _,
1234
1234
  onClose: () => u(!1),
@@ -1313,10 +1313,10 @@ const $o = ({ total: t }) => {
1313
1313
  }
1314
1314
  );
1315
1315
  }, qo = w(Yo), Uo = () => {
1316
- const { savingsAndCheckingAccountsBalance: t } = Se(), { finstrong: o } = x();
1316
+ const { savingsAndCheckingAccountsBalance: t } = Ce(), { finstrong: o } = x();
1317
1317
  return /* @__PURE__ */ a(p, { gap: 16, sx: { p: 16 }, children: [
1318
1318
  /* @__PURE__ */ e(
1319
- Ce,
1319
+ ve,
1320
1320
  {
1321
1321
  balance: t,
1322
1322
  title: o.key_indicators_save.drawer_available_balance
@@ -1347,7 +1347,7 @@ const $o = ({ total: t }) => {
1347
1347
  }, [r.spend, r.debtSpend]);
1348
1348
  return o ? /* @__PURE__ */ a(p, { gap: 16, sx: { p: 16 }, children: [
1349
1349
  /* @__PURE__ */ e(
1350
- Ce,
1350
+ ve,
1351
1351
  {
1352
1352
  balance: n.ninety_day_spend / 90,
1353
1353
  title: t.key_indicators_save.drawer_daily_spend
@@ -1371,7 +1371,7 @@ const $o = ({ total: t }) => {
1371
1371
  variant: "fullWidth",
1372
1372
  children: [
1373
1373
  /* @__PURE__ */ e(
1374
- ce,
1374
+ le,
1375
1375
  {
1376
1376
  "aria-controls": "available-details-tabpanel-0",
1377
1377
  label: n.key_indicators_save.drawer_available,
@@ -1379,7 +1379,7 @@ const $o = ({ total: t }) => {
1379
1379
  }
1380
1380
  ),
1381
1381
  /* @__PURE__ */ e(
1382
- ce,
1382
+ le,
1383
1383
  {
1384
1384
  "aria-controls": "spending-details-tabpanel-1",
1385
1385
  label: n.key_indicators_save.drawer_spending,
@@ -1389,8 +1389,8 @@ const $o = ({ total: t }) => {
1389
1389
  ]
1390
1390
  }
1391
1391
  ),
1392
- /* @__PURE__ */ e(le, { index: 0, name: "available-details", value: t, children: /* @__PURE__ */ e(Qo, {}) }),
1393
- /* @__PURE__ */ e(le, { index: 1, name: "spending-details", value: t, children: /* @__PURE__ */ e(Jo, {}) })
1392
+ /* @__PURE__ */ e(de, { index: 0, name: "available-details", value: t, children: /* @__PURE__ */ e(Qo, {}) }),
1393
+ /* @__PURE__ */ e(de, { index: 1, name: "spending-details", value: t, children: /* @__PURE__ */ e(Jo, {}) })
1394
1394
  ] }),
1395
1395
  /* @__PURE__ */ e(qe, { chartFor: "savingsOverTime" })
1396
1396
  ] });
@@ -1418,7 +1418,7 @@ const $o = ({ total: t }) => {
1418
1418
  },
1419
1419
  children: [
1420
1420
  /* @__PURE__ */ e(
1421
- de,
1421
+ pe,
1422
1422
  {
1423
1423
  orientation: "vertical",
1424
1424
  sx: {
@@ -1480,7 +1480,7 @@ const $o = ({ total: t }) => {
1480
1480
  },
1481
1481
  children: [
1482
1482
  /* @__PURE__ */ e(
1483
- de,
1483
+ pe,
1484
1484
  {
1485
1485
  orientation: "vertical",
1486
1486
  sx: {
@@ -1528,7 +1528,7 @@ const $o = ({ total: t }) => {
1528
1528
  const { healthScore: t, allTransactions: o } = L(), { connect: n, finstrong: r } = x(), [s, i] = m.useState(!1);
1529
1529
  return /* @__PURE__ */ a(p, { gap: 16, sx: { p: 16 }, children: [
1530
1530
  /* @__PURE__ */ e(
1531
- Ce,
1531
+ ve,
1532
1532
  {
1533
1533
  balance: t.ninety_day_income,
1534
1534
  sx: { flexDirection: "column-reverse" },
@@ -1549,7 +1549,7 @@ const $o = ({ total: t }) => {
1549
1549
  }
1550
1550
  ),
1551
1551
  /* @__PURE__ */ e(
1552
- re,
1552
+ ae,
1553
1553
  {
1554
1554
  onClose: () => i(!1),
1555
1555
  showConnectWidget: s,
@@ -1561,7 +1561,7 @@ const $o = ({ total: t }) => {
1561
1561
  const { allTransactions: t, healthScore: o } = L(), { connect: n, finstrong: r } = x(), [s, i] = m.useState(!1);
1562
1562
  return /* @__PURE__ */ a(p, { gap: 16, sx: { p: 16 }, children: [
1563
1563
  /* @__PURE__ */ e(
1564
- Ce,
1564
+ ve,
1565
1565
  {
1566
1566
  balance: o.ninety_day_debt_spend,
1567
1567
  sx: { flexDirection: "column-reverse" },
@@ -1588,7 +1588,7 @@ const $o = ({ total: t }) => {
1588
1588
  }
1589
1589
  ),
1590
1590
  /* @__PURE__ */ e(
1591
- re,
1591
+ ae,
1592
1592
  {
1593
1593
  onClose: () => i(!1),
1594
1594
  showConnectWidget: s,
@@ -1872,7 +1872,7 @@ const $o = ({ total: t }) => {
1872
1872
  variant: "fullWidth",
1873
1873
  children: [
1874
1874
  /* @__PURE__ */ e(
1875
- ce,
1875
+ le,
1876
1876
  {
1877
1877
  "aria-controls": "income-details-tabpanel-0",
1878
1878
  id: "income-details-tab-0",
@@ -1881,7 +1881,7 @@ const $o = ({ total: t }) => {
1881
1881
  }
1882
1882
  ),
1883
1883
  /* @__PURE__ */ e(
1884
- ce,
1884
+ le,
1885
1885
  {
1886
1886
  "aria-controls": "debt-payment-details-tabpanel-1",
1887
1887
  id: "debt-payment-details-tab-1",
@@ -1893,7 +1893,7 @@ const $o = ({ total: t }) => {
1893
1893
  }
1894
1894
  ),
1895
1895
  /* @__PURE__ */ e(
1896
- le,
1896
+ de,
1897
1897
  {
1898
1898
  "aria-labelledby": "income-details-tab-0",
1899
1899
  index: 0,
@@ -1903,7 +1903,7 @@ const $o = ({ total: t }) => {
1903
1903
  }
1904
1904
  ),
1905
1905
  /* @__PURE__ */ e(
1906
- le,
1906
+ de,
1907
1907
  {
1908
1908
  "aria-labelledby": "debt-payment-details-tab-1",
1909
1909
  index: 1,
@@ -2000,7 +2000,7 @@ const $o = ({ total: t }) => {
2000
2000
  }
2001
2001
  );
2002
2002
  }, ur = w(hr), mr = () => {
2003
- const { accounts: t } = Se(), { categories: o, dateRangeCategoryTotals: n, loadDateRangeCategoryTotals: r } = je(), { monthlySummaries: s, handleFinstrongWidgetPrimaryCtaClick: i } = L(), { appDataStore: l } = Tn(), { finstrong: c, goals: d, spending: _ } = x(), u = G(), [h, y] = m.useState("");
2003
+ const { accounts: t } = Ce(), { categories: o, dateRangeCategoryTotals: n, loadDateRangeCategoryTotals: r } = je(), { monthlySummaries: s, handleFinstrongWidgetPrimaryCtaClick: i } = L(), { appDataStore: l } = Tn(), { finstrong: c, goals: d, spending: _ } = x(), u = G(), [h, y] = m.useState("");
2004
2004
  m.useEffect(() => {
2005
2005
  r(
2006
2006
  t,
@@ -2211,7 +2211,7 @@ const $o = ({ total: t }) => {
2211
2211
  children: /* @__PURE__ */ e(p, { sx: { gap: 16 }, children: i.content })
2212
2212
  }
2213
2213
  );
2214
- }, br = w(yr), xe = ({
2214
+ }, br = w(yr), Se = ({
2215
2215
  drawerFor: t,
2216
2216
  title: o,
2217
2217
  description: n,
@@ -2288,20 +2288,20 @@ const $o = ({ total: t }) => {
2288
2288
  ]);
2289
2289
  return /* @__PURE__ */ a(p, { sx: { gap: 24, p: 8, pt: 24 }, children: [
2290
2290
  /* @__PURE__ */ e(
2291
- xe,
2291
+ Se,
2292
2292
  {
2293
2293
  cardState: s.cardState,
2294
2294
  description: s.description,
2295
- drawerFor: pe.SpendLessThanYouMake,
2295
+ drawerFor: _e.SpendLessThanYouMake,
2296
2296
  title: s.title
2297
2297
  }
2298
2298
  ),
2299
2299
  /* @__PURE__ */ e(
2300
- xe,
2300
+ Se,
2301
2301
  {
2302
2302
  cardState: i.cardState,
2303
2303
  description: i.description,
2304
- drawerFor: pe.PayBillsOnTime,
2304
+ drawerFor: _e.PayBillsOnTime,
2305
2305
  title: i.title
2306
2306
  }
2307
2307
  )
@@ -2346,20 +2346,20 @@ const $o = ({ total: t }) => {
2346
2346
  ]);
2347
2347
  return /* @__PURE__ */ a(p, { direction: "column", gap: 24, sx: { p: 8, pt: 24 }, children: [
2348
2348
  /* @__PURE__ */ e(
2349
- xe,
2349
+ Se,
2350
2350
  {
2351
2351
  cardState: i.cardState,
2352
2352
  description: i.description,
2353
- drawerFor: pe.SaveEnoughToLiveOn,
2353
+ drawerFor: _e.SaveEnoughToLiveOn,
2354
2354
  title: i.title
2355
2355
  }
2356
2356
  ),
2357
2357
  /* @__PURE__ */ e(
2358
- xe,
2358
+ Se,
2359
2359
  {
2360
2360
  cardState: l.cardState,
2361
2361
  description: l.description,
2362
- drawerFor: pe.MaintainEmergencySavings,
2362
+ drawerFor: _e.MaintainEmergencySavings,
2363
2363
  title: l.title
2364
2364
  }
2365
2365
  )
@@ -2398,20 +2398,20 @@ const $o = ({ total: t }) => {
2398
2398
  }, [t.debt_to_income_ratio, r.credit_score, n, o]);
2399
2399
  return /* @__PURE__ */ a(p, { direction: "column", gap: 24, sx: { p: 8, pt: 24 }, children: [
2400
2400
  /* @__PURE__ */ e(
2401
- xe,
2401
+ Se,
2402
2402
  {
2403
2403
  cardState: l.cardState,
2404
2404
  description: l.description,
2405
- drawerFor: pe.HaveManageableDebt,
2405
+ drawerFor: _e.HaveManageableDebt,
2406
2406
  title: l.title
2407
2407
  }
2408
2408
  ),
2409
2409
  /* @__PURE__ */ e(
2410
- xe,
2410
+ Se,
2411
2411
  {
2412
2412
  cardState: c.cardState,
2413
2413
  description: c.description,
2414
- drawerFor: pe.HaveAGoodCreditScore,
2414
+ drawerFor: _e.HaveAGoodCreditScore,
2415
2415
  title: c.title
2416
2416
  }
2417
2417
  )
@@ -2437,7 +2437,7 @@ const $o = ({ total: t }) => {
2437
2437
  variant: "fullWidth",
2438
2438
  children: [
2439
2439
  /* @__PURE__ */ e(
2440
- ce,
2440
+ le,
2441
2441
  {
2442
2442
  "aria-controls": "spend-details-tabpanel-0",
2443
2443
  icon: /* @__PURE__ */ e(Ge, { sx: { mr: 8 } }),
@@ -2448,7 +2448,7 @@ const $o = ({ total: t }) => {
2448
2448
  }
2449
2449
  ),
2450
2450
  /* @__PURE__ */ e(
2451
- ce,
2451
+ le,
2452
2452
  {
2453
2453
  "aria-controls": "save-details-tabpanel-1",
2454
2454
  icon: /* @__PURE__ */ e(dn, { sx: { mr: 8 } }),
@@ -2459,7 +2459,7 @@ const $o = ({ total: t }) => {
2459
2459
  }
2460
2460
  ),
2461
2461
  /* @__PURE__ */ e(
2462
- ce,
2462
+ le,
2463
2463
  {
2464
2464
  "aria-controls": "borrow-details-tabpanel-2",
2465
2465
  icon: /* @__PURE__ */ e(pn, { sx: { mr: 8 } }),
@@ -2472,9 +2472,9 @@ const $o = ({ total: t }) => {
2472
2472
  ]
2473
2473
  }
2474
2474
  ),
2475
- /* @__PURE__ */ e(le, { index: 0, name: "spend-details", value: t, children: /* @__PURE__ */ e(xr, {}) }),
2476
- /* @__PURE__ */ e(le, { index: 1, name: "save-details", value: t, children: /* @__PURE__ */ e(Cr, {}) }),
2477
- /* @__PURE__ */ e(le, { index: 2, name: "borrow-details", value: t, children: /* @__PURE__ */ e(wr, {}) })
2475
+ /* @__PURE__ */ e(de, { index: 0, name: "spend-details", value: t, children: /* @__PURE__ */ e(xr, {}) }),
2476
+ /* @__PURE__ */ e(de, { index: 1, name: "save-details", value: t, children: /* @__PURE__ */ e(Cr, {}) }),
2477
+ /* @__PURE__ */ e(de, { index: 2, name: "borrow-details", value: t, children: /* @__PURE__ */ e(wr, {}) })
2478
2478
  ] });
2479
2479
  }, Mr = w(kr), Dr = ({ onClick: t }) => {
2480
2480
  const { finstrong: o } = x(), { isCopyLoaded: n } = U();
@@ -2522,7 +2522,7 @@ const $o = ({ total: t }) => {
2522
2522
  /* @__PURE__ */ a(m.Fragment, { children: [
2523
2523
  S && /* @__PURE__ */ e(jn, { children: Mt(h.date) }),
2524
2524
  /* @__PURE__ */ e(Kn, { transaction: h }),
2525
- /* @__PURE__ */ e(de, { sx: { ml: v ? 44 : 0 } })
2525
+ /* @__PURE__ */ e(pe, { sx: { ml: v ? 44 : 0 } })
2526
2526
  ] }, h.guid)
2527
2527
  ), u;
2528
2528
  }, []) }),
@@ -2563,13 +2563,13 @@ const $o = ({ total: t }) => {
2563
2563
  nextIconButton: {
2564
2564
  sx: {
2565
2565
  color: "primary.main",
2566
- "&:hover": { bgcolor: se(r.palette.primary.light, 0.1) }
2566
+ "&:hover": { bgcolor: ce(r.palette.primary.light, 0.1) }
2567
2567
  }
2568
2568
  },
2569
2569
  previousIconButton: {
2570
2570
  sx: {
2571
2571
  color: "primary.main",
2572
- "&:hover": { bgcolor: se(r.palette.primary.light, 0.1) }
2572
+ "&:hover": { bgcolor: ce(r.palette.primary.light, 0.1) }
2573
2573
  }
2574
2574
  }
2575
2575
  },
@@ -2577,7 +2577,7 @@ const $o = ({ total: t }) => {
2577
2577
  width: "100%",
2578
2578
  "& .MuiIconButton-edgeEnd": {
2579
2579
  color: "primary.main",
2580
- "&:hover": { bgcolor: se(r.palette.primary.light, 0.1) }
2580
+ "&:hover": { bgcolor: ce(r.palette.primary.light, 0.1) }
2581
2581
  }
2582
2582
  },
2583
2583
  value: t ? new Date(t * 1e3) : null
@@ -2633,9 +2633,9 @@ const $o = ({ total: t }) => {
2633
2633
  step: O.ConnectAccounts,
2634
2634
  type: "main"
2635
2635
  }, Pr = ({ isOpen: t, onClose: o }) => {
2636
- const { visibleAccounts: n } = Se(), { calculateHealthScore: r } = L(), { finstrong: s } = x(), { setSelectedAccounts: i } = U(), { addRepeatingTransaction: l, setDateRange: c } = Ke(), { filter: d, setFilter: _, transactions: u } = On(), { user: h, userProfile: y, updateUser: S, updateUserProfile: v } = ee(), [f, D] = m.useState(h.credit_score || 0), [C, g] = m.useState(
2636
+ const { visibleAccounts: n } = Ce(), { calculateHealthScore: r } = L(), { finstrong: s } = x(), { setSelectedAccounts: i } = U(), { addRepeatingTransaction: l, setDateRange: c } = Ke(), { filter: d, setFilter: _, transactions: u } = On(), { user: h, userProfile: y, updateUser: S, updateUserProfile: v } = ee(), [f, D] = m.useState(h.credit_score || 0), [C, g] = m.useState(
2637
2637
  it
2638
- ), [b, R] = m.useState(1), [B, Y] = m.useState(wt.EveryMonth), [T, $] = m.useState([]), [z, _e] = m.useState(!1), [ve, Q] = m.useState(!1), [X, he] = m.useState(h.birthday), [H, ue] = m.useState(15), [N, ae] = m.useState("");
2638
+ ), [b, R] = m.useState(1), [B, Y] = m.useState(wt.EveryMonth), [T, $] = m.useState([]), [z, he] = m.useState(!1), [we, Q] = m.useState(!1), [X, ue] = m.useState(h.birthday), [H, me] = m.useState(15), [N, ie] = m.useState("");
2639
2639
  m.useEffect(() => {
2640
2640
  c({ start: Dt(rt()), end: It(rt()) });
2641
2641
  }, []), m.useEffect(() => {
@@ -2648,10 +2648,10 @@ const $o = ({ total: t }) => {
2648
2648
  custom: at
2649
2649
  }), i(n);
2650
2650
  }, [n]);
2651
- const De = m.useMemo(
2651
+ const ge = m.useMemo(
2652
2652
  () => u.find((A) => A.guid === N),
2653
2653
  [N, u]
2654
- ), me = m.useMemo(() => ({
2654
+ ), ne = m.useMemo(() => ({
2655
2655
  [O.ConnectAccounts]: !0,
2656
2656
  [O.MonthlyIncome]: !!N,
2657
2657
  [O.Birthday]: !!h.birthday || !!X,
@@ -2682,15 +2682,15 @@ const $o = ({ total: t }) => {
2682
2682
  secondDay: H,
2683
2683
  setCurrentStep: (A) => {
2684
2684
  g(A), $((F) => {
2685
- if (F.some((ie) => ie.guid === N)) return F.filter((ie) => ie.guid !== N);
2686
- const Ae = u.find((ie) => ie.guid === N);
2685
+ if (F.some((se) => se.guid === N)) return F.filter((se) => se.guid !== N);
2686
+ const Ae = u.find((se) => se.guid === N);
2687
2687
  return Ae ? [...F, { ...Ae, firstDay: b, frequency: B, secondDay: H }] : F;
2688
2688
  });
2689
2689
  },
2690
2690
  setFirstDay: R,
2691
2691
  setFrequency: Y,
2692
- setSecondDay: ue,
2693
- transaction: De
2692
+ setSecondDay: me,
2693
+ transaction: ge
2694
2694
  }
2695
2695
  ),
2696
2696
  detailActionContent: s.onboarding_confirm_income,
@@ -2699,7 +2699,7 @@ const $o = ({ total: t }) => {
2699
2699
  {
2700
2700
  onSearch: zt,
2701
2701
  onSelected: (A) => {
2702
- g({ step: O.MonthlyIncome, type: "detail" }), ae(A);
2702
+ g({ step: O.MonthlyIncome, type: "detail" }), ie(A);
2703
2703
  }
2704
2704
  }
2705
2705
  ),
@@ -2708,7 +2708,7 @@ const $o = ({ total: t }) => {
2708
2708
  secondaryText: s.onboarding_add_income_secondary
2709
2709
  },
2710
2710
  [O.Birthday]: {
2711
- main: /* @__PURE__ */ e(Rr, { selectedDate: X, setSelectedDate: he }),
2711
+ main: /* @__PURE__ */ e(Rr, { selectedDate: X, setSelectedDate: ue }),
2712
2712
  mainActionContent: s.onboarding_next,
2713
2713
  primaryText: s.onboarding_birthday_primary,
2714
2714
  secondaryText: s.onboarding_birthday_secondary
@@ -2720,9 +2720,9 @@ const $o = ({ total: t }) => {
2720
2720
  secondaryText: s.onboarding_credit_score_secondary
2721
2721
  }
2722
2722
  }, Ue = () => {
2723
- g(it), _e(!1), ae(""), o();
2723
+ g(it), he(!1), ie(""), o();
2724
2724
  }, Qe = async () => {
2725
- _e(!0), await jt(T), await r(), await v({ ...y, has_completed_finstrong_onboarding: !0 }), Ue();
2725
+ he(!0), await jt(T), await r(), await v({ ...y, has_completed_finstrong_onboarding: !0 }), Ue();
2726
2726
  }, Gt = () => {
2727
2727
  if (C.step === O.CreditScore) {
2728
2728
  Qe();
@@ -2739,9 +2739,9 @@ const $o = ({ total: t }) => {
2739
2739
  f && f !== h.credit_score && S({ ...h, credit_score: f }), Qe();
2740
2740
  return;
2741
2741
  case O.MonthlyIncome:
2742
- N && T.findIndex(({ guid: ye }) => ye === N) === -1 && $((ye) => [
2743
- ...ye,
2744
- { ...De, firstDay: b, frequency: B, secondDay: H }
2742
+ N && T.findIndex(({ guid: be }) => be === N) === -1 && $((be) => [
2743
+ ...be,
2744
+ { ...ge, firstDay: b, frequency: B, secondDay: H }
2745
2745
  ]);
2746
2746
  break;
2747
2747
  case O.ConnectAccounts:
@@ -2766,9 +2766,9 @@ const $o = ({ total: t }) => {
2766
2766
  }, jt = async (A) => {
2767
2767
  for (const F of A) {
2768
2768
  const {
2769
- account_guid: ye,
2769
+ account_guid: be,
2770
2770
  amount: Ae,
2771
- date: ie,
2771
+ date: se,
2772
2772
  description: Xt,
2773
2773
  feed_description: Yt,
2774
2774
  firstDay: qt,
@@ -2777,8 +2777,8 @@ const $o = ({ total: t }) => {
2777
2777
  merchant_guid: Qt,
2778
2778
  payee: Zt,
2779
2779
  transaction_type: Jt
2780
- } = F, en = zn(Ze, to(ie)), tn = {
2781
- account_guid: ye,
2780
+ } = F, en = zn(Ze, to(se)), tn = {
2781
+ account_guid: be,
2782
2782
  amount: Ae,
2783
2783
  created_by: 0,
2784
2784
  description: Zt || Xt || Yt,
@@ -2793,22 +2793,22 @@ const $o = ({ total: t }) => {
2793
2793
  };
2794
2794
  await l(tn, F);
2795
2795
  }
2796
- }, ge = Et[C.step], Ie = C.step === O.ConnectAccounts, Kt = {
2796
+ }, ye = Et[C.step], Ie = C.step === O.ConnectAccounts, Kt = {
2797
2797
  fullWidth: !0,
2798
2798
  ...Ie && !q && { startIcon: /* @__PURE__ */ e(_t, {}) }
2799
2799
  }, Vt = !Ie || Ie && !q;
2800
2800
  return /* @__PURE__ */ a(m.Fragment, { children: [
2801
2801
  /* @__PURE__ */ e(
2802
- oe,
2802
+ re,
2803
2803
  {
2804
2804
  footerStyles: { px: 24, py: 16 },
2805
2805
  hasSecondaryAction: !Ie,
2806
2806
  isOpen: t,
2807
- isPrimaryDisabled: !me,
2807
+ isPrimaryDisabled: !ne,
2808
2808
  onClose: Ue,
2809
2809
  onSecondaryAction: Nt,
2810
2810
  primaryButtonProps: Kt,
2811
- primaryText: ge?.mainActionContent,
2811
+ primaryText: ye?.mainActionContent,
2812
2812
  secondaryColor: "primary",
2813
2813
  secondaryText: s.onboarding_back,
2814
2814
  title: s.title,
@@ -2819,30 +2819,30 @@ const $o = ({ total: t }) => {
2819
2819
  /* @__PURE__ */ e(Le, { children: s.onboarding_calculate_primary }),
2820
2820
  /* @__PURE__ */ e(M, { sx: { textAlign: "center" }, variant: "subtitle1", children: s.onboarding_calculate_secondary })
2821
2821
  ] }),
2822
- ge && !z && /* @__PURE__ */ a(m.Fragment, { children: [
2822
+ ye && !z && /* @__PURE__ */ a(m.Fragment, { children: [
2823
2823
  /* @__PURE__ */ e(
2824
2824
  Br,
2825
2825
  {
2826
2826
  completeCopy: s.complete,
2827
- primaryText: ge.primaryText,
2828
- secondaryText: ge.secondaryText,
2827
+ primaryText: ye.primaryText,
2828
+ secondaryText: ye.secondaryText,
2829
2829
  value: $t
2830
2830
  }
2831
2831
  ),
2832
2832
  C.type === "main" && /* @__PURE__ */ a(k, { sx: { bgcolor: "background.default" }, children: [
2833
- ge.main,
2833
+ ye.main,
2834
2834
  Vt && /* @__PURE__ */ e(p, { sx: { alignItems: "center", px: 24, py: 12 }, children: /* @__PURE__ */ e(P, { fullWidth: !0, onClick: Gt, children: s.onboarding_do_it_later }) })
2835
2835
  ] }),
2836
- C.type === "detail" && ge.detail
2836
+ C.type === "detail" && ye.detail
2837
2837
  ] })
2838
2838
  ] })
2839
2839
  }
2840
2840
  ),
2841
2841
  /* @__PURE__ */ e(
2842
- re,
2842
+ ae,
2843
2843
  {
2844
2844
  onClose: () => Q(!1),
2845
- showConnectWidget: ve,
2845
+ showConnectWidget: we,
2846
2846
  title: s.connect_more_accounts_button
2847
2847
  }
2848
2848
  )
@@ -2879,7 +2879,7 @@ const $o = ({ total: t }) => {
2879
2879
  c(Math.floor(new Date(u).getTime() / 1e3));
2880
2880
  };
2881
2881
  return /* @__PURE__ */ e(
2882
- oe,
2882
+ re,
2883
2883
  {
2884
2884
  isOpen: t,
2885
2885
  onClose: o,
@@ -2897,19 +2897,19 @@ const $o = ({ total: t }) => {
2897
2897
  nextIconButton: {
2898
2898
  sx: {
2899
2899
  color: "primary.main",
2900
- "&:hover": { bgcolor: se(r.palette.primary.light, 0.1) }
2900
+ "&:hover": { bgcolor: ce(r.palette.primary.light, 0.1) }
2901
2901
  }
2902
2902
  },
2903
2903
  previousIconButton: {
2904
2904
  sx: {
2905
2905
  color: "primary.main",
2906
- "&:hover": { bgcolor: se(r.palette.primary.light, 0.1) }
2906
+ "&:hover": { bgcolor: ce(r.palette.primary.light, 0.1) }
2907
2907
  }
2908
2908
  },
2909
2909
  switchViewButton: {
2910
2910
  sx: {
2911
2911
  color: "primary.main",
2912
- "&:hover": { bgcolor: se(r.palette.primary.light, 0.1) }
2912
+ "&:hover": { bgcolor: ce(r.palette.primary.light, 0.1) }
2913
2913
  }
2914
2914
  }
2915
2915
  },
@@ -2921,7 +2921,7 @@ const $o = ({ total: t }) => {
2921
2921
  width: "100%",
2922
2922
  "& .MuiIconButton-edgeEnd": {
2923
2923
  color: "primary.main",
2924
- "&:hover": { bgcolor: se(r.palette.primary.light, 0.1) }
2924
+ "&:hover": { bgcolor: ce(r.palette.primary.light, 0.1) }
2925
2925
  }
2926
2926
  },
2927
2927
  value: l ? new Date(l * 1e3) : /* @__PURE__ */ new Date()
@@ -2930,7 +2930,7 @@ const $o = ({ total: t }) => {
2930
2930
  }
2931
2931
  );
2932
2932
  }, Er = w(zr), Gr = ({ isOpen: t, onClose: o }) => {
2933
- const { visibleFinstrongAccounts: n } = Se(), {
2933
+ const { visibleFinstrongAccounts: n } = Ce(), {
2934
2934
  accounts: r,
2935
2935
  common: s,
2936
2936
  finstrong: i,
@@ -2943,7 +2943,7 @@ const $o = ({ total: t }) => {
2943
2943
  dynamicCopy: i.add_profile_item,
2944
2944
  fallbackLabel: i.monthly_income,
2945
2945
  icon: /* @__PURE__ */ e(hn, {}),
2946
- key: ne.MonthlyIncome,
2946
+ key: oe.MonthlyIncome,
2947
2947
  label: i.monthly_income,
2948
2948
  value: _
2949
2949
  },
@@ -2951,7 +2951,7 @@ const $o = ({ total: t }) => {
2951
2951
  dynamicCopy: i.add_profile_item,
2952
2952
  fallbackLabel: i.date_of_birth,
2953
2953
  icon: /* @__PURE__ */ e(un, {}),
2954
- key: ne.DateOfBirth,
2954
+ key: oe.DateOfBirth,
2955
2955
  label: i.date_of_birth,
2956
2956
  value: d.birthday
2957
2957
  },
@@ -2959,14 +2959,14 @@ const $o = ({ total: t }) => {
2959
2959
  dynamicCopy: i.add_profile_item,
2960
2960
  fallbackLabel: i.credit_score,
2961
2961
  icon: /* @__PURE__ */ e(Ge, {}),
2962
- key: ne.CreditScore,
2962
+ key: oe.CreditScore,
2963
2963
  label: i.credit_score,
2964
2964
  value: d.credit_score
2965
2965
  },
2966
2966
  {
2967
2967
  fallbackLabel: i.connect_your_accounts,
2968
2968
  icon: /* @__PURE__ */ e(dt, {}),
2969
- key: ne.Connections,
2969
+ key: oe.Connections,
2970
2970
  label: i.connections,
2971
2971
  value: n.length > 0 ? j(
2972
2972
  i.connected_account,
@@ -2975,7 +2975,7 @@ const $o = ({ total: t }) => {
2975
2975
  ) : void 0
2976
2976
  }
2977
2977
  ].map((v) => Dn(v));
2978
- return /* @__PURE__ */ a(oe, { isOpen: t, onClose: o, title: i.financial_profile, children: [
2978
+ return /* @__PURE__ */ a(re, { isOpen: t, onClose: o, title: i.financial_profile, children: [
2979
2979
  /* @__PURE__ */ a(p, { sx: { bgcolor: "background.default", height: "100%" }, children: [
2980
2980
  /* @__PURE__ */ a(p, { sx: { gap: 20, p: 24 }, children: [
2981
2981
  /* @__PURE__ */ a(p, { sx: { gap: 8 }, children: [
@@ -3003,22 +3003,22 @@ const $o = ({ total: t }) => {
3003
3003
  ) })
3004
3004
  ] }),
3005
3005
  /* @__PURE__ */ e(
3006
- oe,
3006
+ re,
3007
3007
  {
3008
- isOpen: u === ne.MonthlyIncome,
3008
+ isOpen: u === oe.MonthlyIncome,
3009
3009
  onClose: () => h(null),
3010
3010
  shouldShowHeaderBorders: !1,
3011
3011
  title: l.action_title,
3012
3012
  children: /* @__PURE__ */ e(lo, {})
3013
3013
  }
3014
3014
  ),
3015
- /* @__PURE__ */ e(Er, { isOpen: u === ne.DateOfBirth, onClose: () => h(null) }),
3016
- /* @__PURE__ */ e(Rt, { isOpen: u === ne.CreditScore, onClose: () => h(null) }),
3015
+ /* @__PURE__ */ e(Er, { isOpen: u === oe.DateOfBirth, onClose: () => h(null) }),
3016
+ /* @__PURE__ */ e(Rt, { isOpen: u === oe.CreditScore, onClose: () => h(null) }),
3017
3017
  /* @__PURE__ */ e(
3018
3018
  ft,
3019
3019
  {
3020
3020
  onClose: () => h(null),
3021
- showConnectionsWidget: u === ne.Connections,
3021
+ showConnectionsWidget: u === oe.Connections,
3022
3022
  title: r.manage_connections
3023
3023
  }
3024
3024
  )
@@ -3260,7 +3260,7 @@ const $o = ({ total: t }) => {
3260
3260
  ] });
3261
3261
  }, Yr = ({ isOpen: t, onClose: o }) => {
3262
3262
  const { finstrong: n } = x(), { isCopyLoaded: r } = U();
3263
- return r ? /* @__PURE__ */ e(oe, { isOpen: t, onClose: o, title: n.score_rubric, children: /* @__PURE__ */ a(p, { sx: { bgcolor: "background.default", gap: 36, height: "100%", p: 24 }, children: [
3263
+ return r ? /* @__PURE__ */ e(re, { isOpen: t, onClose: o, title: n.score_rubric, children: /* @__PURE__ */ a(p, { sx: { bgcolor: "background.default", gap: 36, height: "100%", p: 24 }, children: [
3264
3264
  /* @__PURE__ */ a(p, { sx: { gap: 20 }, children: [
3265
3265
  /* @__PURE__ */ a(p, { sx: { gap: 8 }, children: [
3266
3266
  /* @__PURE__ */ e(K, { sx: { textWrap: "wrap" }, children: n.your_path_to_financial_freedom }),
@@ -3290,15 +3290,15 @@ const $o = ({ total: t }) => {
3290
3290
  }
3291
3291
  },
3292
3292
  children: [
3293
- /* @__PURE__ */ e(be, { sx: { display: "list-item" }, children: /* @__PURE__ */ e(
3294
- fe,
3293
+ /* @__PURE__ */ e(fe, { sx: { display: "list-item" }, children: /* @__PURE__ */ e(
3294
+ xe,
3295
3295
  {
3296
3296
  primary: n.understand_your_habits,
3297
3297
  secondary: n.understand_your_habits_description
3298
3298
  }
3299
3299
  ) }),
3300
- /* @__PURE__ */ e(be, { sx: { display: "list-item", pt: 16 }, children: /* @__PURE__ */ e(
3301
- fe,
3300
+ /* @__PURE__ */ e(fe, { sx: { display: "list-item", pt: 16 }, children: /* @__PURE__ */ e(
3301
+ xe,
3302
3302
  {
3303
3303
  primary: n.see_whats_possible,
3304
3304
  secondary: n.see_whats_possible_description
@@ -3331,8 +3331,8 @@ const $o = ({ total: t }) => {
3331
3331
  }
3332
3332
  },
3333
3333
  children: [
3334
- /* @__PURE__ */ e(be, { sx: { display: "list-item" }, children: /* @__PURE__ */ e(fe, { secondary: n.we_ask_questions_description_1 }) }),
3335
- /* @__PURE__ */ e(be, { sx: { display: "list-item" }, children: /* @__PURE__ */ e(fe, { secondary: n.we_ask_questions_description_2 }) })
3334
+ /* @__PURE__ */ e(fe, { sx: { display: "list-item" }, children: /* @__PURE__ */ e(xe, { secondary: n.we_ask_questions_description_1 }) }),
3335
+ /* @__PURE__ */ e(fe, { sx: { display: "list-item" }, children: /* @__PURE__ */ e(xe, { secondary: n.we_ask_questions_description_2 }) })
3336
3336
  ]
3337
3337
  }
3338
3338
  )
@@ -3439,7 +3439,7 @@ const $o = ({ total: t }) => {
3439
3439
  )
3440
3440
  ] });
3441
3441
  }), Qr = ({ onBackClick: t, sx: o, onPrimaryCtaClick: n }) => {
3442
- const { visibleAccounts: r } = Se(), { dateRange: s, isDataLoaded: i, loadBudgetData: l, setTheme: c } = Rn(), { reloadCategoryTotals: d } = je(), _ = L(), {
3442
+ const { visibleAccounts: r } = Ce(), { dateRange: s, isDataLoaded: i, loadBudgetData: l, setTheme: c } = Rn(), { reloadCategoryTotals: d } = je(), _ = L(), {
3443
3443
  augmentedChartData: u,
3444
3444
  calculateHealthScore: h,
3445
3445
  healthScore: y,
@@ -3447,7 +3447,7 @@ const $o = ({ total: t }) => {
3447
3447
  loadMonthlySummaries: v,
3448
3448
  loadPeerScore: f,
3449
3449
  peerScore: D
3450
- } = _, { finstrong: C, connect: g } = x(), { isCopyLoaded: b, isInitialized: R } = U(), { loadRepeatingTransactions: B } = Ke(), { isSmallMobile: Y } = Ye(), T = G(), { userProfile: $ } = ee(), [z, _e] = m.useState(!1), [ve, Q] = m.useState(!1), [X, he] = m.useState(!1), [H, ue] = m.useState(!1);
3450
+ } = _, { finstrong: C, connect: g } = x(), { isCopyLoaded: b, isInitialized: R } = U(), { loadRepeatingTransactions: B } = Ke(), { isSmallMobile: Y } = Ye(), T = G(), { userProfile: $ } = ee(), [z, he] = m.useState(!1), [we, Q] = m.useState(!1), [X, ue] = m.useState(!1), [H, me] = m.useState(!1);
3451
3451
  if (wo({
3452
3452
  widgetName: "FinstrongWidget",
3453
3453
  isLoaded: z
@@ -3459,10 +3459,10 @@ const $o = ({ total: t }) => {
3459
3459
  R && (v().finally(), f().finally(), h().finally(), S().finally());
3460
3460
  }, [R]), m.useEffect(() => {
3461
3461
  R && (d(r, s.start, s.end).finally(() => {
3462
- _e(!0);
3462
+ he(!0);
3463
3463
  }), i || (l(), B().finally()));
3464
3464
  }, [s, i, R, r]), !b || !R || !z) return /* @__PURE__ */ e(te, {});
3465
- const N = () => Q(!0), ae = Math.round(D?.average_health_score?.average_health_score || 0);
3465
+ const N = () => Q(!0), ie = Math.round(D?.average_health_score?.average_health_score || 0), ge = u.some((ne) => ne.y !== 0);
3466
3466
  return /* @__PURE__ */ a(
3467
3467
  ko,
3468
3468
  {
@@ -3513,7 +3513,7 @@ const $o = ({ total: t }) => {
3513
3513
  P,
3514
3514
  {
3515
3515
  endIcon: /* @__PURE__ */ e(J, {}),
3516
- onClick: () => he(!0),
3516
+ onClick: () => ue(!0),
3517
3517
  size: "small",
3518
3518
  variant: "text",
3519
3519
  children: /* @__PURE__ */ e(I, { bold: !0, sx: { flexShrink: 0 }, variant: "body2", children: C.whats_changed })
@@ -3522,7 +3522,7 @@ const $o = ({ total: t }) => {
3522
3522
  ]
3523
3523
  }
3524
3524
  ),
3525
- u.length ? /* @__PURE__ */ e(
3525
+ ge ? /* @__PURE__ */ e(
3526
3526
  Ve,
3527
3527
  {
3528
3528
  axisColor: T.palette.divider,
@@ -3539,28 +3539,27 @@ const $o = ({ total: t }) => {
3539
3539
  labelFontColor: T.palette.common.white,
3540
3540
  labelFontSize: typeof T.typography.XSmall?.fontSize == "string" ? parseFloat(T.typography.XSmall.fontSize) : T.typography.XSmall?.fontSize,
3541
3541
  labels: [C.key_indicators_label],
3542
- margin: { right: 0, left: -37 },
3543
- peerAverage: ae,
3542
+ margin: { right: 12, left: -37 },
3543
+ peerAverage: ie,
3544
3544
  showArea: !0,
3545
3545
  showAverage: !0,
3546
3546
  showLegend: !0,
3547
3547
  showMarkLabel: !0,
3548
+ showTooltip: !0,
3548
3549
  showXAxis: !0,
3549
- title: C.peer_average,
3550
- useCustomMark: !0,
3551
- xAxisScaleType: "band"
3550
+ title: C.peer_average
3552
3551
  }
3553
- ) : /* @__PURE__ */ e(Ir, { onClick: () => ue(!0) }),
3552
+ ) : /* @__PURE__ */ e(Ir, { onClick: () => me(!0) }),
3554
3553
  y.health_score !== null && /* @__PURE__ */ e(Mr, {})
3555
3554
  ] }) })
3556
3555
  ]
3557
3556
  }
3558
3557
  ) : /* @__PURE__ */ e($r, {}),
3559
- /* @__PURE__ */ e(Hr, { isOpen: ve, onClose: () => Q(!1) }),
3558
+ /* @__PURE__ */ e(Hr, { isOpen: we, onClose: () => Q(!1) }),
3560
3559
  /* @__PURE__ */ e(
3561
- re,
3560
+ ae,
3562
3561
  {
3563
- onClose: () => ue(!1),
3562
+ onClose: () => me(!1),
3564
3563
  showConnectWidget: H,
3565
3564
  title: g.mini_title
3566
3565
  }
@@ -3569,7 +3568,7 @@ const $o = ({ total: t }) => {
3569
3568
  Vr,
3570
3569
  {
3571
3570
  isOpen: X,
3572
- onClose: () => he(!1)
3571
+ onClose: () => ue(!1)
3573
3572
  }
3574
3573
  )
3575
3574
  ]
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mx-cartographer/experiences",
3
- "version": "7.6.9",
3
+ "version": "7.6.10",
4
4
  "description": "Library containing experience widgets",
5
5
  "author": "MX",
6
6
  "license": "MIT",