@mx-cartographer/experiences 6.15.1-alpha.mega1 → 6.16.0-ram1-testing-unknown-accounts

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/index.es.js CHANGED
@@ -10,7 +10,7 @@ import { AccountsIcon as qc, P as ve, Icon as $, useTokens as gt, Text as p, H2
10
10
  import il from "bowser";
11
11
  import { getUnixTime as He } from "date-fns/getUnixTime";
12
12
  import { intlFormat as al } from "date-fns/intlFormat";
13
- import { addMonths as Tt } from "date-fns/addMonths";
13
+ import { addMonths as St } from "date-fns/addMonths";
14
14
  import { addQuarters as gi } from "date-fns/addQuarters";
15
15
  import { addWeeks as is } from "date-fns/addWeeks";
16
16
  import { addYears as Wi } from "date-fns/addYears";
@@ -32,7 +32,7 @@ import ae from "@mui/material/ListItemText";
32
32
  import as from "@mui/material/Popover";
33
33
  import b from "@mui/material/Stack";
34
34
  import Vi from "@mui/material/Checkbox";
35
- import { alpha as rl, lighten as Bo, darken as Ho, Stack as ye, Box as Tn, useTheme as ln, Card as Ji, CardContent as sl, Button as cl } from "@mui/material";
35
+ import { alpha as rl, lighten as Bo, darken as Ho, Stack as ye, Box as Sn, useTheme as ln, Card as Ji, CardContent as sl, Button as cl } from "@mui/material";
36
36
  import pe from "@mui/material/styles/useTheme";
37
37
  import Wt from "@mui/material/useMediaQuery";
38
38
  import { css as Zt, keyframes as ll } from "@mxenabled/cssinjs";
@@ -44,7 +44,7 @@ import { format as kn } from "date-fns/format";
44
44
  import { isSameMonth as ul } from "date-fns/isSameMonth";
45
45
  import { startOfMonth as Ze } from "date-fns/startOfMonth";
46
46
  import { subMonths as Yt } from "date-fns/subMonths";
47
- import St from "@mui/material/Paper";
47
+ import Tt from "@mui/material/Paper";
48
48
  import hl from "@mui/icons-material/KeyboardArrowLeftRounded";
49
49
  import gl from "@mui/icons-material/KeyboardArrowRightRounded";
50
50
  import { isSameDay as yt } from "date-fns/isSameDay";
@@ -52,7 +52,7 @@ import { isWithinInterval as $a } from "date-fns/isWithinInterval";
52
52
  import * as Dt from "d3";
53
53
  import { selectAll as ml, interpolateString as pl, arc as Cl } from "d3";
54
54
  import { useTheme as at, alpha as Kn, keyframes as fl, ThemeProvider as bl } from "@mui/material/styles";
55
- import { ResponsiveChartContainer as yl, AreaPlot as El, LinePlot as Sl, MarkPlot as Tl, BarPlot as Al, ChartsXAxis as Il, ChartsYAxis as xl, ChartsReferenceLine as vl, ChartsLegend as wl, LineChart as os } from "@mui/x-charts";
55
+ import { ResponsiveChartContainer as yl, AreaPlot as El, LinePlot as Tl, MarkPlot as Sl, BarPlot as Al, ChartsXAxis as Il, ChartsYAxis as xl, ChartsReferenceLine as vl, ChartsLegend as wl, LineChart as os } from "@mui/x-charts";
56
56
  import Rt from "@mui/material/Card";
57
57
  import Ot from "@mui/material/CardContent";
58
58
  import je from "@mui/material/Grid";
@@ -91,13 +91,13 @@ import na from "@mui/icons-material/ChevronRight";
91
91
  import ia from "@mui/icons-material/ExpandMore";
92
92
  import { DataGridPro as Hn } from "@mui/x-data-grid-pro";
93
93
  import { intervalToDuration as ql, formatDuration as Ql, getDate as $o, fromUnixTime as mi, startOfMonth as Uo, format as Jl, differenceInMonths as ed, isSameDay as td, subDays as nd, startOfToday as id, endOfToday as ad } from "date-fns";
94
- import Sn from "@mui/material/Alert";
95
- import Si from "@mui/material/Snackbar";
94
+ import Tn from "@mui/material/Alert";
95
+ import Ti from "@mui/material/Snackbar";
96
96
  import od from "@mui/material/Stack/Stack";
97
97
  import { useVirtualizer as us } from "@tanstack/react-virtual";
98
98
  import { AdapterDateFns as Qn } from "@mui/x-date-pickers/AdapterDateFnsV3";
99
99
  import { DatePicker as Ya } from "@mui/x-date-pickers";
100
- import { LocalizationProvider as Ti } from "@mui/x-date-pickers/LocalizationProvider";
100
+ import { LocalizationProvider as Si } from "@mui/x-date-pickers/LocalizationProvider";
101
101
  import Jn from "@mui/material/Collapse";
102
102
  import gn from "@mui/material/Skeleton";
103
103
  import { isAfter as nn } from "date-fns/isAfter";
@@ -135,8 +135,8 @@ import aa from "@mui/icons-material/Error";
135
135
  import yd from "@mui/material/Chip";
136
136
  import Ed from "@mui/icons-material/EditOutlined";
137
137
  import { isToday as Za } from "date-fns/isToday";
138
- import Sd from "@mui/icons-material/CheckCircleRounded";
139
- import Td from "@mui/icons-material/LanguageRounded";
138
+ import Td from "@mui/icons-material/CheckCircleRounded";
139
+ import Sd from "@mui/icons-material/LanguageRounded";
140
140
  import { isYesterday as Ad } from "date-fns/isYesterday";
141
141
  import Id from "@mui/material/FormControl";
142
142
  import xd from "@mui/material/InputLabel";
@@ -392,7 +392,7 @@ const Bd = [
392
392
  3,
393
393
  4
394
394
  /* REJECTED */
395
- ], Ss = [
395
+ ], Ts = [
396
396
  1,
397
397
  2,
398
398
  5,
@@ -408,7 +408,7 @@ const Bd = [
408
408
  19,
409
409
  20
410
410
  /* IMPAIRED */
411
- ], Ts = [...Ss, ...Es];
411
+ ], Ss = [...Ts, ...Es];
412
412
  var Ln = /* @__PURE__ */ ((e) => (e.Connected = "Connected", e.Error = "Error", e.Processing = "Processing", e.RequiresMfa = "RequiresMfa", e))(Ln || {});
413
413
  const q4 = {
414
414
  3: "Challenged",
@@ -857,11 +857,11 @@ const oi = 44, Xo = (e, n) => e.find((i) => i.guid === n), Kd = (e, n) => e.find
857
857
  }, jd = (e) => {
858
858
  let n = Ui(he(), e.getDate());
859
859
  for (; Xe(n, he()); )
860
- n = Tt(n, 1);
860
+ n = St(n, 1);
861
861
  return n;
862
862
  }, Xd = (e) => {
863
863
  const n = to(e);
864
- return Tt(n, 1);
864
+ return St(n, 1);
865
865
  }, vs = (e) => {
866
866
  let n = gi(e, 1);
867
867
  for (; Xe(n, he()); )
@@ -870,7 +870,7 @@ const oi = 44, Xo = (e, n) => e.find((i) => i.guid === n), Kd = (e, n) => e.find
870
870
  }, Zd = (e) => {
871
871
  const n = vs(e);
872
872
  return gi(n, 1);
873
- }, qd = (e) => Wi(e, 1), ra = (e) => se(Fe(e), oe.DAY_OF_WEEK_MONTH_DAY), ws = (e) => e ? se(Fe(e), oe.MONTH_YEAR) : "", Qd = /(?<static>.*?)(?<dynamic>(?:_\d+{(?:.*?)}))|(?<staticEnd>.+)/g, T = (e, ...n) => {
873
+ }, qd = (e) => Wi(e, 1), ra = (e) => se(Fe(e), oe.DAY_OF_WEEK_MONTH_DAY), ws = (e) => e ? se(Fe(e), oe.MONTH_YEAR) : "", Qd = /(?<static>.*?)(?<dynamic>(?:_\d+{(?:.*?)}))|(?<staticEnd>.+)/g, S = (e, ...n) => {
874
874
  if (!e) return "";
875
875
  const i = n.some((r) => typeof r != "string"), o = [...e.matchAll(Qd)].reduce(
876
876
  (r, s, c) => {
@@ -890,7 +890,7 @@ const oi = 44, Xo = (e, n) => e.find((i) => i.guid === n), Kd = (e, n) => e.find
890
890
  []
891
891
  );
892
892
  return i ? o : o.join("");
893
- }, iE = (e, n, i, ...a) => !e || !n ? "" : T(i === 1 ? e : n, ...a), Nn = () => {
893
+ }, iE = (e, n, i, ...a) => !e || !n ? "" : S(i === 1 ? e : n, ...a), Nn = () => {
894
894
  const e = "en-us", n = ["en-us", "en-ca", "fr", "fr-ca", "es"], i = window?.app?.options?.language?.toLowerCase() ?? "", a = window.navigator.language.toLowerCase();
895
895
  return i === "browser" && n.includes(a) ? a : n.includes(i) ? i : e;
896
896
  };
@@ -1324,7 +1324,7 @@ const ya = (e, n) => e.reduce((i, a) => (i[a.guid] = n?.includes(a.guid), i), {}
1324
1324
  const { connect: m } = x(), C = Zc(
1325
1325
  () => i_(e, m.connection_statuses[12]),
1326
1326
  [e]
1327
- ), f = e.length < 1, E = !!n, y = Object.values(d).every((S) => !!S);
1327
+ ), f = e.length < 1, E = !!n, y = Object.values(d).every((T) => !!T);
1328
1328
  return /* @__PURE__ */ t(
1329
1329
  as,
1330
1330
  {
@@ -1396,10 +1396,10 @@ const ya = (e, n) => e.reduce((i, a) => (i[a.guid] = n?.includes(a.guid), i), {}
1396
1396
  "data-ui-test": `checked-${y}`,
1397
1397
  disableRipple: !0,
1398
1398
  onChange: () => {
1399
- const S = {};
1399
+ const T = {};
1400
1400
  Object.keys(d).forEach((A) => {
1401
- S[A] = !y;
1402
- }), u(S);
1401
+ T[A] = !y;
1402
+ }), u(T);
1403
1403
  },
1404
1404
  size: "small",
1405
1405
  sx: {
@@ -1413,24 +1413,24 @@ const ya = (e, n) => e.reduce((i, a) => (i[a.guid] = n?.includes(a.guid), i), {}
1413
1413
  label: y ? i.unselectAllAccounts : i.selectAllAccounts
1414
1414
  }
1415
1415
  ) }),
1416
- Object.keys(C).map((S) => {
1417
- const A = C[S], w = A.every(
1416
+ Object.keys(C).map((T) => {
1417
+ const A = C[T], w = A.every(
1418
1418
  (v) => d[v.guid]
1419
1419
  );
1420
1420
  return /* @__PURE__ */ t(z, { disableGutters: !0, disablePadding: !0, children: /* @__PURE__ */ t(
1421
1421
  ie,
1422
1422
  {
1423
- "aria-label": T(i.accountTypeAccounts, S),
1423
+ "aria-label": S(i.accountTypeAccounts, T),
1424
1424
  className: "mx-cmn-account-options-group",
1425
1425
  dense: !0,
1426
1426
  subheader: /* @__PURE__ */ t(Mt, { disableGutters: !0, children: /* @__PURE__ */ t(
1427
1427
  _e,
1428
1428
  {
1429
- "aria-label": T(i.toggleAccountTypeAccounts, S),
1429
+ "aria-label": S(i.toggleAccountTypeAccounts, T),
1430
1430
  "aria-pressed": w,
1431
1431
  disableGutters: !0,
1432
1432
  onClick: () => o(
1433
- S,
1433
+ T,
1434
1434
  C,
1435
1435
  w
1436
1436
  ),
@@ -1442,7 +1442,7 @@ const ya = (e, n) => e.reduce((i, a) => (i[a.guid] = n?.includes(a.guid), i), {}
1442
1442
  children: /* @__PURE__ */ t(
1443
1443
  ae,
1444
1444
  {
1445
- primary: S,
1445
+ primary: T,
1446
1446
  primaryTypographyProps: { variant: "XSmall", fontWeight: "bold" }
1447
1447
  }
1448
1448
  )
@@ -1487,7 +1487,7 @@ const ya = (e, n) => e.reduce((i, a) => (i[a.guid] = n?.includes(a.guid), i), {}
1487
1487
  );
1488
1488
  })
1489
1489
  }
1490
- ) }, S);
1490
+ ) }, T);
1491
1491
  })
1492
1492
  ]
1493
1493
  }
@@ -1616,10 +1616,10 @@ const r_ = (e, n) => {
1616
1616
  onAccountClick: (E) => {
1617
1617
  m({ ...h, [E.guid]: !h[E.guid] });
1618
1618
  },
1619
- onAccountGroupClick: (E, y, S) => {
1619
+ onAccountGroupClick: (E, y, T) => {
1620
1620
  const A = { ...h };
1621
1621
  y[E].forEach((w) => {
1622
- A[w.guid] = !S;
1622
+ A[w.guid] = !T;
1623
1623
  }), m(A);
1624
1624
  },
1625
1625
  onCancelClick: () => {
@@ -1762,7 +1762,7 @@ const r_ = (e, n) => {
1762
1762
  width: h,
1763
1763
  xAxisLabel: m = ""
1764
1764
  }) => {
1765
- const C = gt(), f = __(C, h), E = u / s * d, y = Math.abs(u) / s * i, S = c === void 0 || c === o ? "primary" : "secondary";
1765
+ const C = gt(), f = __(C, h), E = u / s * d, y = Math.abs(u) / s * i, T = c === void 0 || c === o ? "primary" : "secondary";
1766
1766
  return /* @__PURE__ */ l("div", { className: `mx-cmn-barchart-bar-column ${f}`, children: [
1767
1767
  /* @__PURE__ */ t("div", { style: { height: d }, children: u >= 0 && /* @__PURE__ */ t(
1768
1768
  er,
@@ -1796,7 +1796,7 @@ const r_ = (e, n) => {
1796
1796
  {
1797
1797
  className: `mx-cmn-bar-label ${r ? "mx-cmn-clickable" : ""}`,
1798
1798
  onClick: r ? () => r(o) : void 0,
1799
- children: /* @__PURE__ */ t(p, { bold: c === o, color: S, variant: "Small", children: m })
1799
+ children: /* @__PURE__ */ t(p, { bold: c === o, color: T, variant: "Small", children: m })
1800
1800
  }
1801
1801
  )
1802
1802
  ] });
@@ -1840,7 +1840,7 @@ const r_ = (e, n) => {
1840
1840
  selectedIndex: d,
1841
1841
  valueFormatter: u = (_) => `${_}`
1842
1842
  }) => {
1843
- const _ = gt(), h = p_(_), m = a.reduce(g_, []), C = e !== void 0 ? e : m.reduce(u_, 0) / m.length, f = Math.max(...m), E = Math.min(...m), y = m.reduce(h_, 0), S = f >= 0, A = E < 0, w = nr(S, A, o), v = nr(A, S, o), R = m_(C, f, E, w || v), B = (D) => d === void 0 || D === d ? i : `${i}80`, M = () => /* @__PURE__ */ t(
1843
+ const _ = gt(), h = p_(_), m = a.reduce(g_, []), C = e !== void 0 ? e : m.reduce(u_, 0) / m.length, f = Math.max(...m), E = Math.min(...m), y = m.reduce(h_, 0), T = f >= 0, A = E < 0, w = nr(T, A, o), v = nr(A, T, o), R = m_(C, f, E, w || v), B = (D) => d === void 0 || D === d ? i : `${i}80`, M = () => /* @__PURE__ */ t(
1844
1844
  tr,
1845
1845
  {
1846
1846
  averageLineHeight: R,
@@ -1993,7 +1993,7 @@ const r_ = (e, n) => {
1993
1993
  }
1994
1994
  }), E_ = 340, ui = 44;
1995
1995
  var Gs = /* @__PURE__ */ ((e) => (e.None = "None", e.Single = "Single", e.Range = "Range", e))(Gs || {});
1996
- const S_ = ({
1996
+ const T_ = ({
1997
1997
  copy: e,
1998
1998
  beginDate: n = void 0,
1999
1999
  endDate: i = void 0,
@@ -2002,7 +2002,7 @@ const S_ = ({
2002
2002
  selectionType: r = "Single"
2003
2003
  /* Single */
2004
2004
  }) => {
2005
- const s = gt(), c = T_(s), [d, u] = g.useState(he), [_, h] = g.useState(n), [m, C] = g.useState(i);
2005
+ const s = gt(), c = S_(s), [d, u] = g.useState(he), [_, h] = g.useState(n), [m, C] = g.useState(i);
2006
2006
  g.useEffect(() => {
2007
2007
  h(n), C(i), n && u(n);
2008
2008
  }, [n, i]);
@@ -2026,18 +2026,18 @@ const S_ = ({
2026
2026
  }, y = () => {
2027
2027
  const w = he();
2028
2028
  u(w), r !== "None" && (h(w), r === "Single" ? a?.(w) : (C(w), o?.(w, w)));
2029
- }, S = () => {
2030
- u(Tt(d, 1));
2029
+ }, T = () => {
2030
+ u(St(d, 1));
2031
2031
  }, A = () => {
2032
2032
  u(Yt(d, 1));
2033
2033
  };
2034
- return /* @__PURE__ */ t("div", { className: `mx-cmn-calendar ${c}`, children: /* @__PURE__ */ l(St, { sx: { boxShadow: "none" }, children: [
2034
+ return /* @__PURE__ */ t("div", { className: `mx-cmn-calendar ${c}`, children: /* @__PURE__ */ l(Tt, { sx: { boxShadow: "none" }, children: [
2035
2035
  /* @__PURE__ */ t(
2036
2036
  C_,
2037
2037
  {
2038
2038
  copy: e,
2039
2039
  date: d,
2040
- onNextClick: S,
2040
+ onNextClick: T,
2041
2041
  onPreviousClick: A
2042
2042
  }
2043
2043
  ),
@@ -2055,7 +2055,7 @@ const S_ = ({
2055
2055
  )) }, `w-${v}`)),
2056
2056
  /* @__PURE__ */ t("div", { className: "mx-cmn-calendar-today-container", children: /* @__PURE__ */ t(J, { onClick: y, size: "small", variant: "text", children: e.today }) })
2057
2057
  ] }) });
2058
- }, T_ = (e) => Zt({
2058
+ }, S_ = (e) => Zt({
2059
2059
  width: E_,
2060
2060
  "& .MuiPaper-root": {
2061
2061
  paddingLeft: 24,
@@ -2213,7 +2213,7 @@ const S_ = ({
2213
2213
  return /* @__PURE__ */ l(ye, { style: { flexDirection: "row", gap: 25, ...i }, children: [
2214
2214
  e.map((o, r) => /* @__PURE__ */ l(ye, { style: { alignItems: "center", flexDirection: "row" }, children: [
2215
2215
  /* @__PURE__ */ t(
2216
- Tn,
2216
+ Sn,
2217
2217
  {
2218
2218
  sx: {
2219
2219
  width: 10,
@@ -2251,7 +2251,7 @@ const S_ = ({
2251
2251
  valueFormatterString: C = "0,0",
2252
2252
  width: f
2253
2253
  }) => {
2254
- const E = at(), y = i.flat().map((D) => D.x), S = i.flat().map((D) => D.y), A = Math.round(S.reduce((D, k) => k + D, 0) / S.length), w = Math.floor(Math.min(...S) / 100) * 100, v = Math.ceil(Math.max(...S) / 100) * 100, R = i.map((D, k) => ({
2254
+ const E = at(), y = i.flat().map((D) => D.x), T = i.flat().map((D) => D.y), A = Math.round(T.reduce((D, k) => k + D, 0) / T.length), w = Math.floor(Math.min(...T) / 100) * 100, v = Math.ceil(Math.max(...T) / 100) * 100, R = i.map((D, k) => ({
2255
2255
  type: d ? "bar" : "line",
2256
2256
  curve: "linear",
2257
2257
  color: d ? E.palette.chart?.chart6 : n[k] ?? E.palette.primary.main,
@@ -2305,7 +2305,7 @@ const S_ = ({
2305
2305
  children: [
2306
2306
  /* @__PURE__ */ t(El, {}),
2307
2307
  /* @__PURE__ */ t(
2308
- Sl,
2308
+ Tl,
2309
2309
  {
2310
2310
  slots: u && R.length < 2 ? {
2311
2311
  line: (D) => /* @__PURE__ */ t(w_, { ...D, lineColor: n[0] ?? E.palette.primary.main })
@@ -2313,7 +2313,7 @@ const S_ = ({
2313
2313
  }
2314
2314
  ),
2315
2315
  /* @__PURE__ */ t(
2316
- Tl,
2316
+ Sl,
2317
2317
  {
2318
2318
  slots: m ? {
2319
2319
  mark: (D) => /* @__PURE__ */ t(
@@ -2322,7 +2322,7 @@ const S_ = ({
2322
2322
  handlers: s,
2323
2323
  showLabel: h,
2324
2324
  style: c?.(D.dataIndex) ?? {},
2325
- yData: S,
2325
+ yData: T,
2326
2326
  ...D
2327
2327
  }
2328
2328
  )
@@ -2380,7 +2380,7 @@ const S_ = ({
2380
2380
  /* @__PURE__ */ t(
2381
2381
  L,
2382
2382
  {
2383
- "aria-label": T(i.category_icon_label_aria, o),
2383
+ "aria-label": S(i.category_icon_label_aria, o),
2384
2384
  mb: 4,
2385
2385
  role: "img",
2386
2386
  children: /* @__PURE__ */ t(kt, { categoryGuid: n })
@@ -2461,7 +2461,7 @@ const S_ = ({
2461
2461
  xData: o
2462
2462
  }) => {
2463
2463
  const r = ln(), s = a.data[i], c = o[i];
2464
- return s === void 0 || !c ? null : /* @__PURE__ */ t(Ji, { sx: { pt: 4, px: 8 }, children: /* @__PURE__ */ t(sl, { children: /* @__PURE__ */ l(Tn, { alignItems: "center", display: "flex", flexDirection: "column", children: [
2464
+ return s === void 0 || !c ? null : /* @__PURE__ */ t(Ji, { sx: { pt: 4, px: 8 }, children: /* @__PURE__ */ t(sl, { children: /* @__PURE__ */ l(Sn, { alignItems: "center", display: "flex", flexDirection: "column", children: [
2465
2465
  /* @__PURE__ */ t(Hs, { categoryGuid: e, topLevelCategoryGuid: n }),
2466
2466
  /* @__PURE__ */ t(p, { color: r.palette.text.secondary, variant: "Small", children: se(c, oe.MONTH_SHORT_YEAR) }),
2467
2467
  /* @__PURE__ */ t(We, { amount: String(s), bold: !0, formatString: "0,0", variant: "Body" })
@@ -2527,7 +2527,7 @@ const S_ = ({
2527
2527
  hoveredAreaData: null,
2528
2528
  isAreaHovered: !1,
2529
2529
  cursorPos: { x: 0, y: 0 }
2530
- }), { hoveredSeriesId: E, hoveredAreaData: y, isAreaHovered: S, cursorPos: A } = C, w = S && E && y, v = !w, R = [...o, ...r], B = R[0]?.dataset.length ?? 0, M = R.flatMap((K) => K.dataset.map((Le) => Le.x)), D = R.flatMap((K) => K.dataset.map((Le) => Le.y)), k = o[0]?.dataset?.map(
2530
+ }), { hoveredSeriesId: E, hoveredAreaData: y, isAreaHovered: T, cursorPos: A } = C, w = T && E && y, v = !w, R = [...o, ...r], B = R[0]?.dataset.length ?? 0, M = R.flatMap((K) => K.dataset.map((Le) => Le.x)), D = R.flatMap((K) => K.dataset.map((Le) => Le.y)), k = o[0]?.dataset?.map(
2531
2531
  (K, Le) => o.reduce((Ge, Pt) => Ge + Pt.dataset[Le]?.y || 0, 0)
2532
2532
  ) ?? [0], O = Math.max(...k), U = Math.max(
2533
2533
  ...r.flatMap((K) => K.dataset.map((Le) => Le.y))
@@ -2562,7 +2562,7 @@ const S_ = ({
2562
2562
  guid: K,
2563
2563
  top_level_guid: Le
2564
2564
  }))
2565
- ], Se = (K) => {
2565
+ ], Te = (K) => {
2566
2566
  const Ge = K.startsWith("stacked-") ? o[parseInt(K.split("-")[1])] : r[parseInt(K.split("-")[1])];
2567
2567
  return {
2568
2568
  guid: Ge?.category_guid,
@@ -2573,10 +2573,10 @@ const S_ = ({
2573
2573
  }, It = (K) => {
2574
2574
  a?.(K ?? "");
2575
2575
  }, Q = () => {
2576
- const K = Se(String(E)).guid;
2576
+ const K = Te(String(E)).guid;
2577
2577
  K && a?.(K);
2578
2578
  }, ne = (K) => {
2579
- const Le = String(K?.seriesId), Ge = Se(Le).guid, Pt = De.find((ai) => ai.id === Le), dt = Pt && K?.dataIndex !== void 0, ii = Pt && K?.dataIndex === void 0;
2579
+ const Le = String(K?.seriesId), Ge = Te(Le).guid, Pt = De.find((ai) => ai.id === Le), dt = Pt && K?.dataIndex !== void 0, ii = Pt && K?.dataIndex === void 0;
2580
2580
  if (dt)
2581
2581
  f({
2582
2582
  hoveredSeriesId: Le,
@@ -2659,7 +2659,7 @@ const S_ = ({
2659
2659
  itemContent: (K) => v && E ? /* @__PURE__ */ t(
2660
2660
  L_,
2661
2661
  {
2662
- categoryGuids: Se(E),
2662
+ categoryGuids: Te(E),
2663
2663
  xData: M,
2664
2664
  ...K
2665
2665
  }
@@ -2700,7 +2700,7 @@ const S_ = ({
2700
2700
  w && /* @__PURE__ */ t(
2701
2701
  O_,
2702
2702
  {
2703
- categoryGuids: Se(E),
2703
+ categoryGuids: Te(E),
2704
2704
  chartContainerRef: _,
2705
2705
  cursorPosition: A,
2706
2706
  hoveredAreaData: y.map((K) => ({
@@ -2907,7 +2907,7 @@ const S_ = ({
2907
2907
  shouldShrinkToIcon: o = !0,
2908
2908
  variant: r = "outlined"
2909
2909
  }) => {
2910
- const s = pe(), c = s.palette.mode === "dark", { isMobile: d } = Ce(), [u, _] = g.useState(a), [h, m] = g.useState(i.dateRangePickerCopy.dateRangeThisMonth), [C, f] = g.useState(u), [E, y] = g.useState(!1), [S, A] = g.useState(!0), [w, v] = g.useState(6), R = {
2910
+ const s = pe(), c = s.palette.mode === "dark", { isMobile: d } = Ce(), [u, _] = g.useState(a), [h, m] = g.useState(i.dateRangePickerCopy.dateRangeThisMonth), [C, f] = g.useState(u), [E, y] = g.useState(!1), [T, A] = g.useState(!0), [w, v] = g.useState(6), R = {
2911
2911
  buttons: [
2912
2912
  { label: "3M", value: 3 },
2913
2913
  { label: "6M", value: 6 },
@@ -2932,7 +2932,7 @@ const S_ = ({
2932
2932
  }, M = (O) => {
2933
2933
  const U = [...u], ee = u[0], ue = u[1], te = O === "previous";
2934
2934
  if (h === i.dateRangePickerCopy.dateRangeThisMonth)
2935
- U[0] = te ? Yt(ee, 1) : Tt(ee, 1), U[1] = Ye(te ? Yt(ue, 1) : Tt(ue, 1));
2935
+ U[0] = te ? Yt(ee, 1) : St(ee, 1), U[1] = Ye(te ? Yt(ue, 1) : St(ue, 1));
2936
2936
  else if (h === i.dateRangePickerCopy.dateRangeYTD || h === i.dateRangePickerCopy.dateRangeLastYear)
2937
2937
  U[0] = te ? Da(Fo(ee), 1) : Wi(Fo(ee), 1), U[1] = te ? Da(Po(ee), 1) : Wi(Po(ee), 1);
2938
2938
  else {
@@ -3000,7 +3000,7 @@ const S_ = ({
3000
3000
  sx: {
3001
3001
  p: d ? 0 : 8
3002
3002
  },
3003
- children: S ? se(u[0], oe.MONTH_YEAR) : /* @__PURE__ */ l("span", { children: [
3003
+ children: T ? se(u[0], oe.MONTH_YEAR) : /* @__PURE__ */ l("span", { children: [
3004
3004
  se(u[0], oe.MONTH_DAY_YEAR),
3005
3005
  " -",
3006
3006
  " ",
@@ -3383,7 +3383,7 @@ const Dn = ({
3383
3383
  sx: h = {},
3384
3384
  title: m = ""
3385
3385
  }) => {
3386
- const [C, { height: f, width: E }] = Ps(), { onEvent: y } = j(), { isDesktop: S, isMobile: A, isTablet: w } = Ce(E), { displayedDateRange: v, isCopyLoaded: R, selectedAccountGuids: B, setSelectedAccountGuids: M } = le(), { common: D } = x(), k = () => {
3386
+ const [C, { height: f, width: E }] = Ps(), { onEvent: y } = j(), { isDesktop: T, isMobile: A, isTablet: w } = Ce(E), { displayedDateRange: v, isCopyLoaded: R, selectedAccountGuids: B, setSelectedAccountGuids: M } = le(), { common: D } = x(), k = () => {
3387
3387
  d && (d(), y(W.WIDGET_BACK_CLICK));
3388
3388
  };
3389
3389
  if (!R)
@@ -3437,7 +3437,7 @@ const Dn = ({
3437
3437
  dn,
3438
3438
  {
3439
3439
  action: /* @__PURE__ */ l(b, { alignItems: "center", flexDirection: "row", children: [
3440
- S && i && /* @__PURE__ */ t(L, { sx: { flexGrow: 1 }, children: /* @__PURE__ */ t(
3440
+ T && i && /* @__PURE__ */ t(L, { sx: { flexGrow: 1 }, children: /* @__PURE__ */ t(
3441
3441
  ir,
3442
3442
  {
3443
3443
  calendarActions: i,
@@ -3462,38 +3462,38 @@ const Dn = ({
3462
3462
  ),
3463
3463
  n?.map((ge) => {
3464
3464
  if (g.isValidElement(ge)) return ge;
3465
- const { iconName: De, onClick: Re, label: Se } = ge;
3466
- return te ? S || w ? /* @__PURE__ */ t(
3465
+ const { iconName: De, onClick: Re, label: Te } = ge;
3466
+ return te ? T || w ? /* @__PURE__ */ t(
3467
3467
  J,
3468
3468
  {
3469
3469
  onClick: Re,
3470
3470
  startIcon: /* @__PURE__ */ t($, { name: De, size: 24 }),
3471
3471
  sx: { my: 4 },
3472
- children: Se
3472
+ children: Te
3473
3473
  },
3474
3474
  De
3475
- ) : /* @__PURE__ */ t(Pe, { "aria-label": Se, onClick: Re, children: /* @__PURE__ */ t($, { name: De, size: 24 }) }, De) : S || w ? /* @__PURE__ */ t(
3475
+ ) : /* @__PURE__ */ t(Pe, { "aria-label": Te, onClick: Re, children: /* @__PURE__ */ t($, { name: De, size: 24 }) }, De) : T || w ? /* @__PURE__ */ t(
3476
3476
  J,
3477
3477
  {
3478
3478
  onClick: Re,
3479
3479
  startIcon: /* @__PURE__ */ t($, { name: De, size: 24 }),
3480
3480
  sx: { my: 4 },
3481
- children: Se
3481
+ children: Te
3482
3482
  },
3483
3483
  De
3484
- ) : /* @__PURE__ */ t(Pe, { "aria-label": Se, onClick: Re, children: /* @__PURE__ */ t($, { name: De, size: 24 }) }, De);
3484
+ ) : /* @__PURE__ */ t(Pe, { "aria-label": Te, onClick: Re, children: /* @__PURE__ */ t($, { name: De, size: 24 }) }, De);
3485
3485
  })
3486
3486
  ] }),
3487
3487
  sx: {
3488
3488
  "& .MuiCardHeader-action": {
3489
- ...i && S && { flexGrow: 1 },
3489
+ ...i && T && { flexGrow: 1 },
3490
3490
  ...(A || w) && { alignSelf: "center" },
3491
3491
  mr: 0
3492
3492
  },
3493
- p: S ? 48 : 24,
3493
+ p: T ? 48 : 24,
3494
3494
  pb: 0
3495
3495
  },
3496
- title: S || w ? /* @__PURE__ */ t(Xt, { children: m }) : /* @__PURE__ */ l(b, { alignItems: "center", flexDirection: "row", children: [
3496
+ title: T || w ? /* @__PURE__ */ t(Xt, { children: m }) : /* @__PURE__ */ l(b, { alignItems: "center", flexDirection: "row", children: [
3497
3497
  A && d && /* @__PURE__ */ t(
3498
3498
  Pe,
3499
3499
  {
@@ -3507,7 +3507,7 @@ const Dn = ({
3507
3507
  ] })
3508
3508
  }
3509
3509
  ),
3510
- c && /* @__PURE__ */ t(H, { sx: { mt: S ? 48 : 24 } }),
3510
+ c && /* @__PURE__ */ t(H, { sx: { mt: T ? 48 : 24 } }),
3511
3511
  i && (A || w) && /* @__PURE__ */ l(b, { gap: 24, justifyContent: "center", sx: { mt: A ? 0 : 16 }, children: [
3512
3512
  _ && /* @__PURE__ */ t(H, {}),
3513
3513
  /* @__PURE__ */ t(
@@ -3610,7 +3610,7 @@ const ar = "connect_widget", or = "connections_widget", U_ = ({
3610
3610
  setHasValidInput: _,
3611
3611
  ...h
3612
3612
  }) => {
3613
- const [m, C] = g.useState(""), { common: f } = x(), E = o || f.currency_input, y = gt(), S = V_(y), A = /^[0-9]*$/, w = /^(\d)*(\,)?([0-9]{1,2})?$/, v = /^(\d)*(\.)?([0-9]{1,2})?$/;
3613
+ const [m, C] = g.useState(""), { common: f } = x(), E = o || f.currency_input, y = gt(), T = V_(y), A = /^[0-9]*$/, w = /^(\d)*(\,)?([0-9]{1,2})?$/, v = /^(\d)*(\.)?([0-9]{1,2})?$/;
3614
3614
  let R;
3615
3615
  const B = g.useRef(Kl());
3616
3616
  if (e)
@@ -3629,12 +3629,12 @@ const ar = "connect_widget", or = "connections_widget", U_ = ({
3629
3629
  }, [i]);
3630
3630
  const M = (D) => {
3631
3631
  !a && (D === "" || D === "." || D === ",") ? (C(""), _?.(!1)) : Number(D) < d ? (C(
3632
- T(
3632
+ S(
3633
3633
  E.error_amount_must_be_equal_to,
3634
3634
  P(d, "0")
3635
3635
  )
3636
3636
  ), _?.(!1)) : Number(D) > jo ? (C(
3637
- T(
3637
+ S(
3638
3638
  E.error_amount_must_be_less_than_or_equal_to,
3639
3639
  P(jo, e ? "0,0.00" : "0,0", Math.floor)
3640
3640
  )
@@ -3648,7 +3648,7 @@ const ar = "connect_widget", or = "connections_widget", U_ = ({
3648
3648
  startAdornment: Nn().includes("fr-ca") ? void 0 : /* @__PURE__ */ t(ve, { children: "$" })
3649
3649
  },
3650
3650
  "aria-label": n || E.enter_amount,
3651
- className: `mx-cmn-currency-input ${S}`,
3651
+ className: `mx-cmn-currency-input ${T}`,
3652
3652
  error: !!m,
3653
3653
  helperText: m,
3654
3654
  inputMode: e ? "decimal" : "numeric",
@@ -4293,7 +4293,7 @@ const cr = (e, n) => !e && !n ? 0 : !e && n ? 101 : n / e * 100, lr = (e, n) =>
4293
4293
  ...r,
4294
4294
  budgetColors: lr(d, a),
4295
4295
  category: s,
4296
- description: T(
4296
+ description: S(
4297
4297
  u < 0 ? i.budget_remaining_over : i.budget_remaining_left,
4298
4298
  P(Math.abs(u), "0,0")
4299
4299
  ),
@@ -4312,7 +4312,7 @@ const cr = (e, n) => !e && !n ? 0 : !e && n ? 101 : n / e * 100, lr = (e, n) =>
4312
4312
  ...r,
4313
4313
  budgetColors: lr(_, a),
4314
4314
  category: s,
4315
- description: T(
4315
+ description: S(
4316
4316
  u < 0 ? i.budget_remaining_over : i.budget_remaining_left,
4317
4317
  P(Math.abs(u), "0,0")
4318
4318
  ),
@@ -4474,17 +4474,17 @@ const ti = () => {
4474
4474
  setNextIncome: m,
4475
4475
  setSelectedCashAccounts: C,
4476
4476
  setUpcomingExpenses: f
4477
- } = ti(), { isDataLoaded: E, nextIncomeRecurrence: y, upcomingExpenses: S } = ze();
4477
+ } = ti(), { isDataLoaded: E, nextIncomeRecurrence: y, upcomingExpenses: T } = ze();
4478
4478
  g.useEffect(() => {
4479
4479
  C(
4480
4480
  o.filter((B) => s.includes(B.guid))
4481
4481
  );
4482
4482
  }, [o, s]), g.useEffect(() => {
4483
- y && m(y), f(S);
4484
- }, [y, S]);
4483
+ y && m(y), f(T);
4484
+ }, [y, T]);
4485
4485
  const A = g.useMemo(
4486
4486
  () => o.filter((B) => s.includes(B.guid)).reduce((B, M) => B + (M?.balance || 0), 0),
4487
- [s, S]
4487
+ [s, T]
4488
4488
  ), w = g.useMemo(
4489
4489
  () => _.filter((B) => s.includes(B.accountGuid || "")).reduce((B, M) => B + M.amount, 0),
4490
4490
  [s, _]
@@ -4503,7 +4503,7 @@ const ti = () => {
4503
4503
  children: [
4504
4504
  /* @__PURE__ */ l(b, { pb: 14, pt: 12, children: [
4505
4505
  /* @__PURE__ */ t(We, { amount: A, variant: "H2" }),
4506
- /* @__PURE__ */ t(ve, { variant: "XSmall", whiteSpace: "nowrap", children: T(
4506
+ /* @__PURE__ */ t(ve, { variant: "XSmall", whiteSpace: "nowrap", children: S(
4507
4507
  c.total_cash_accounts,
4508
4508
  h.length
4509
4509
  ) })
@@ -4511,7 +4511,7 @@ const ti = () => {
4511
4511
  /* @__PURE__ */ t(b, { pt: 18, children: /* @__PURE__ */ t($, { name: "remove" }) }),
4512
4512
  /* @__PURE__ */ l(b, { pb: 14, pt: 12, children: [
4513
4513
  /* @__PURE__ */ t(We, { amount: w, variant: "H2" }),
4514
- /* @__PURE__ */ t(ve, { variant: "XSmall", whiteSpace: "nowrap", children: T(c.expenses_due, _.length) })
4514
+ /* @__PURE__ */ t(ve, { variant: "XSmall", whiteSpace: "nowrap", children: S(c.expenses_due, _.length) })
4515
4515
  ] }),
4516
4516
  /* @__PURE__ */ t(b, { pt: 18, children: /* @__PURE__ */ t($, { name: "equals" }) }),
4517
4517
  /* @__PURE__ */ l(b, { pb: 14, pr: 24, pt: 12, children: [
@@ -4522,7 +4522,7 @@ const ti = () => {
4522
4522
  ] })
4523
4523
  ] }),
4524
4524
  /* @__PURE__ */ t(b, { borderLeft: `1px solid ${n.palette.border.light}`, pb: 12, pl: 24, pt: 12, children: R ? /* @__PURE__ */ l(q, { children: [
4525
- /* @__PURE__ */ t(p, { variant: "H2", children: T(c.days, u) }),
4525
+ /* @__PURE__ */ t(p, { variant: "H2", children: S(c.days, u) }),
4526
4526
  /* @__PURE__ */ t(ve, { variant: "XSmall", whiteSpace: "nowrap", children: c.next_paycheck })
4527
4527
  ] }) : /* @__PURE__ */ t(
4528
4528
  J,
@@ -4537,7 +4537,7 @@ const ti = () => {
4537
4537
  }
4538
4538
  ) : /* @__PURE__ */ l(b, { border: `1px solid ${n.palette.border.light}`, borderRadius: 1, children: [
4539
4539
  /* @__PURE__ */ l(b, { direction: "row", justifyContent: "space-between", p: 16, children: [
4540
- /* @__PURE__ */ t(p, { variant: "Small", children: T(
4540
+ /* @__PURE__ */ t(p, { variant: "Small", children: S(
4541
4541
  c.total_cash_accounts,
4542
4542
  h.length
4543
4543
  ) }),
@@ -4545,7 +4545,7 @@ const ti = () => {
4545
4545
  ] }),
4546
4546
  /* @__PURE__ */ t(H, {}),
4547
4547
  /* @__PURE__ */ l(b, { direction: "row", justifyContent: "space-between", p: 16, children: [
4548
- /* @__PURE__ */ t(p, { variant: "Small", children: T(c.expenses_due, _.length) }),
4548
+ /* @__PURE__ */ t(p, { variant: "Small", children: S(c.expenses_due, _.length) }),
4549
4549
  /* @__PURE__ */ t(We, { amount: w, bold: !0, symbol: "-", variant: "XSmall" })
4550
4550
  ] }),
4551
4551
  /* @__PURE__ */ t(H, {}),
@@ -4566,7 +4566,7 @@ const ti = () => {
4566
4566
  /* @__PURE__ */ t(H, {}),
4567
4567
  R ? /* @__PURE__ */ l(b, { direction: "row", justifyContent: "space-between", p: 16, children: [
4568
4568
  /* @__PURE__ */ t(p, { variant: "Small", children: c.next_paycheck }),
4569
- /* @__PURE__ */ t(p, { bold: !0, variant: "XSmall", children: T(c.days, u) })
4569
+ /* @__PURE__ */ t(p, { bold: !0, variant: "XSmall", children: S(c.days, u) })
4570
4570
  ] }) : /* @__PURE__ */ l(
4571
4571
  b,
4572
4572
  {
@@ -4632,7 +4632,7 @@ const ti = () => {
4632
4632
  status: Je.Upcoming,
4633
4633
  type: e.repeating_transaction_type === an.Income ? zt.Income : zt.Expense,
4634
4634
  transaction: void 0
4635
- }, r = Ze(he()), s = Ye(Tt(he(), 1));
4635
+ }, r = Ze(he()), s = Ye(St(he(), 1));
4636
4636
  switch (e.recurrence_type) {
4637
4637
  case me.EveryWeek:
4638
4638
  n.push(...cu(o, r, s));
@@ -4684,15 +4684,15 @@ const ti = () => {
4684
4684
  return a;
4685
4685
  }, du = (e) => {
4686
4686
  const n = [], i = Ui(he(), e.recurrenceDay), a = e.secondRecurrenceDay && e.secondRecurrenceDay < 28 ? Ui(he(), e.secondRecurrenceDay) : sd(he());
4687
- return n.push({ ...e, expectedDate: i }), n.push({ ...e, expectedDate: a }), n.push({ ...e, expectedDate: Tt(i, 1) }), n.push({ ...e, expectedDate: Tt(a, 1) }), n;
4687
+ return n.push({ ...e, expectedDate: i }), n.push({ ...e, expectedDate: a }), n.push({ ...e, expectedDate: St(i, 1) }), n.push({ ...e, expectedDate: St(a, 1) }), n;
4688
4688
  }, _u = (e) => {
4689
4689
  const n = [], i = Ui(he(), e.recurrenceDay);
4690
- return n.push({ ...e, expectedDate: i }), n.push({ ...e, expectedDate: Tt(i, 1) }), n;
4690
+ return n.push({ ...e, expectedDate: i }), n.push({ ...e, expectedDate: St(i, 1) }), n;
4691
4691
  }, uu = (e, n, i) => {
4692
4692
  const a = [], o = e.expectedDate;
4693
4693
  let r = Xe(o, i) ? o : Yt(o, 2);
4694
4694
  for (; Xe(r, i); )
4695
- nn(r, n) && a.push({ ...e, expectedDate: r }), r = Tt(r, 2);
4695
+ nn(r, n) && a.push({ ...e, expectedDate: r }), r = St(r, 2);
4696
4696
  return a;
4697
4697
  }, hu = (e, n, i) => {
4698
4698
  const a = [], o = e.expectedDate;
@@ -4745,37 +4745,37 @@ const ti = () => {
4745
4745
  }), n;
4746
4746
  }, []), ji = (e, n, i) => {
4747
4747
  const a = $i(he(), n.recurrence_day), o = gs(he(), n.recurrence_day), r = Ci(n.recurrence_day), s = n.second_recurrence_day ? Ci(n.second_recurrence_day) : "";
4748
- let c = i ? T(e.monthly_ordinal, r) : e.monthly;
4748
+ let c = i ? S(e.monthly_ordinal, r) : e.monthly;
4749
4749
  switch (n.recurrence_type) {
4750
4750
  case me.EveryQuarter:
4751
- c = i ? T(e.quarterly_ordinal, r) : e.quarterly;
4751
+ c = i ? S(e.quarterly_ordinal, r) : e.quarterly;
4752
4752
  break;
4753
4753
  case me.EveryWeek:
4754
- c = i ? T(
4754
+ c = i ? S(
4755
4755
  e.weekly_ordinal,
4756
4756
  se(a, oe.DAY_OF_WEEK)
4757
4757
  ) : e.weekly;
4758
4758
  break;
4759
4759
  case me.EveryYear:
4760
- c = i ? T(
4760
+ c = i ? S(
4761
4761
  e.anually_ordinal,
4762
4762
  se(o, oe.MONTH_DAY)
4763
4763
  ) : e.anually;
4764
4764
  break;
4765
4765
  case me.EveryOtherWeek:
4766
- c = i ? T(
4766
+ c = i ? S(
4767
4767
  e.every_other_week_ordinal,
4768
4768
  se(a, oe.DAY_OF_WEEK)
4769
4769
  ) : e.every_other_week;
4770
4770
  break;
4771
4771
  case me.EveryOtherMonth:
4772
- c = i ? T(e.every_other_month_ordinal, r) : e.every_other_month;
4772
+ c = i ? S(e.every_other_month_ordinal, r) : e.every_other_month;
4773
4773
  break;
4774
4774
  case me.EveryOtherQuarter:
4775
- c = i ? T(e.every_other_quarter_ordinal, r) : e.every_other_quarter;
4775
+ c = i ? S(e.every_other_quarter_ordinal, r) : e.every_other_quarter;
4776
4776
  break;
4777
4777
  case me.TwiceAMonth:
4778
- c = i ? T(e.twice_a_month_ordinal, r, s) : e.twice_a_month;
4778
+ c = i ? S(e.twice_a_month_ordinal, r, s) : e.twice_a_month;
4779
4779
  break;
4780
4780
  }
4781
4781
  return c;
@@ -4985,7 +4985,7 @@ const fu = [
4985
4985
  tags: _
4986
4986
  };
4987
4987
  });
4988
- }, Te = {
4988
+ }, Se = {
4989
4989
  ADD: "Add",
4990
4990
  ADD_CATEGORY: "Add Category",
4991
4991
  CHANGE_CATEGORY: "Change Category",
@@ -5025,214 +5025,214 @@ const fu = [
5025
5025
  }, dr = {
5026
5026
  // splits
5027
5027
  [Y.ON_TRANSACTION_SPLIT_CLICK]: {
5028
- action: Te.SELECT,
5028
+ action: Se.SELECT,
5029
5029
  category: Ae.TRANSACTION_DETAILS,
5030
5030
  label: Ie.SPLITS
5031
5031
  },
5032
5032
  [Y.ON_TRANSACTION_SPLIT_CATEGORY_CLICK]: {
5033
- action: Te.ADD_CATEGORY,
5033
+ action: Se.ADD_CATEGORY,
5034
5034
  category: Ae.TRANSACTION_DETAILS,
5035
5035
  label: Ie.SPLITS
5036
5036
  },
5037
5037
  [Y.ON_TRANSACTION_SPLIT_DELETE_CLICK]: {
5038
- action: Te.DELETE,
5038
+ action: Se.DELETE,
5039
5039
  category: Ae.TRANSACTION_DETAILS,
5040
5040
  label: Ie.SPLITS
5041
5041
  },
5042
5042
  [Y.ON_TRANSACTION_SPLIT_SAVE_CLICK]: {
5043
- action: Te.SPLIT,
5043
+ action: Se.SPLIT,
5044
5044
  category: Ae.TRANSACTION_DETAILS,
5045
5045
  label: Ie.SPLITS
5046
5046
  },
5047
5047
  [Y.ON_TRANSACTION_UNSPLIT]: {
5048
- action: Te.UNSPLIT,
5048
+ action: Se.UNSPLIT,
5049
5049
  category: Ae.TRANSACTION_DETAILS,
5050
5050
  label: Ie.SPLITS
5051
5051
  },
5052
5052
  // category
5053
5053
  [Y.ON_TRANSACTION_CATEGORY_CLICK]: {
5054
- action: Te.SELECT,
5054
+ action: Se.SELECT,
5055
5055
  category: Ae.TRANSACTIONS_LIST,
5056
5056
  label: Ie.CATEGORY
5057
5057
  },
5058
5058
  [Y.ON_TRANSACTION_CATEGORY_CHANGED]: {
5059
- action: Te.CHANGE_CATEGORY,
5059
+ action: Se.CHANGE_CATEGORY,
5060
5060
  category: Ae.TRANSACTION_DETAILS,
5061
5061
  label: Ie.CATEGORY
5062
5062
  },
5063
5063
  // date
5064
5064
  [Y.ON_TRANSACTION_DATE_CHANGED]: {
5065
- action: Te.SAVE,
5065
+ action: Se.SAVE,
5066
5066
  category: Ae.TRANSACTION_DETAILS,
5067
5067
  label: Ie.DATE
5068
5068
  },
5069
5069
  [Y.ON_TRANSACTION_DATE_CLICK]: {
5070
- action: Te.SELECT,
5070
+ action: Se.SELECT,
5071
5071
  category: Ae.TRANSACTION_DETAILS,
5072
5072
  label: Ie.DATE
5073
5073
  },
5074
5074
  // merchant logo
5075
5075
  [Y.ON_TRANSACTION_DELETE_LOGO_CANCEL]: {
5076
- action: Te.CLOSE,
5076
+ action: Se.CLOSE,
5077
5077
  category: Ae.TRANSACTION_DETAILS,
5078
5078
  label: Ie.DELETE_MERCHANT_LOGO
5079
5079
  },
5080
5080
  [Y.ON_TRANSACTION_DELETE_LOGO_CLICK]: {
5081
- action: Te.SELECT,
5081
+ action: Se.SELECT,
5082
5082
  category: Ae.TRANSACTION_DETAILS,
5083
5083
  label: Ie.DELETE_MERCHANT_LOGO
5084
5084
  },
5085
5085
  [Y.ON_TRANSACTION_DELETE_LOGO_DELETED]: {
5086
- action: Te.DELETE,
5086
+ action: Se.DELETE,
5087
5087
  category: Ae.TRANSACTION_DETAILS,
5088
5088
  label: Ie.DELETE_MERCHANT_LOGO
5089
5089
  },
5090
5090
  // description
5091
5091
  [Y.ON_TRANSACTION_DESCRIPTION_EDIT_CLICK]: {
5092
- action: Te.EDIT,
5092
+ action: Se.EDIT,
5093
5093
  category: Ae.TRANSACTION_DETAILS,
5094
5094
  label: Ie.DESCRIPTION
5095
5095
  },
5096
5096
  [Y.ON_TRANSACTION_DESCRIPTION_SAVE_CLICK]: {
5097
- action: Te.SAVE,
5097
+ action: Se.SAVE,
5098
5098
  category: Ae.TRANSACTION_DETAILS,
5099
5099
  label: Ie.DESCRIPTION
5100
5100
  },
5101
5101
  // hide transactions
5102
5102
  [Y.ON_TRANSACTION_HIDDEN]: {
5103
- action: Te.SAVE,
5103
+ action: Se.SAVE,
5104
5104
  category: Ae.TRANSACTION_DETAILS,
5105
5105
  label: Ie.HIDE_TRANSACTION
5106
5106
  },
5107
5107
  [Y.ON_TRANSACTION_HIDE_CLICK]: {
5108
- action: Te.SELECT,
5108
+ action: Se.SELECT,
5109
5109
  category: Ae.TRANSACTION_DETAILS,
5110
5110
  label: Ie.HIDE_TRANSACTION
5111
5111
  },
5112
5112
  [Y.ON_TRANSACTION_HIDE_CANCEL_CLICK]: {
5113
- action: Te.CLOSE,
5113
+ action: Se.CLOSE,
5114
5114
  category: Ae.TRANSACTION_DETAILS,
5115
5115
  label: Ie.HIDE_TRANSACTION
5116
5116
  },
5117
5117
  // transaction list
5118
5118
  [Y.ON_TRANSACTION_LIST_ITEM_CLICK]: {
5119
- action: Te.SELECT,
5119
+ action: Se.SELECT,
5120
5120
  category: Ae.TRANSACTIONS_LIST,
5121
5121
  label: Ie.TRANSACTION
5122
5122
  },
5123
5123
  // memo
5124
5124
  [Y.ON_TRANSACTION_MEMO_CHANGED]: {
5125
- action: Te.SAVE,
5125
+ action: Se.SAVE,
5126
5126
  category: Ae.TRANSACTION_DETAILS,
5127
5127
  label: Ie.MEMO
5128
5128
  },
5129
5129
  [Y.ON_TRANSACTION_MEMO_CLICK]: {
5130
- action: Te.SELECT,
5130
+ action: Se.SELECT,
5131
5131
  category: Ae.TRANSACTION_DETAILS,
5132
5132
  label: Ie.MEMO
5133
5133
  },
5134
5134
  // tags
5135
5135
  [Y.ON_TRANSACTION_TAGS_CHANGED]: {
5136
- action: Te.SAVE,
5136
+ action: Se.SAVE,
5137
5137
  category: Ae.TRANSACTION_DETAILS,
5138
5138
  label: Ie.TAGS
5139
5139
  },
5140
5140
  [Y.ON_TRANSACTION_TAGS_CLICK]: {
5141
- action: Te.SELECT,
5141
+ action: Se.SELECT,
5142
5142
  category: Ae.TRANSACTION_DETAILS,
5143
5143
  label: Ie.TAGS
5144
5144
  },
5145
5145
  [Y.ON_TRANSACTION_TAGS_TAG_ADD_CANCEL_CLICK]: {
5146
- action: Te.CLOSE,
5146
+ action: Se.CLOSE,
5147
5147
  category: Ae.TRANSACTION_DETAILS,
5148
5148
  label: Ie.TAGS
5149
5149
  },
5150
5150
  [Y.ON_TRANSACTION_TAGS_TAG_ADD_CLICK]: {
5151
- action: Te.ADD,
5151
+ action: Se.ADD,
5152
5152
  category: Ae.TRANSACTION_DETAILS,
5153
5153
  label: Ie.TAG_ADD
5154
5154
  },
5155
5155
  [Y.ON_TRANSACTION_TAGS_TAG_ADDED]: {
5156
- action: Te.SAVE,
5156
+ action: Se.SAVE,
5157
5157
  category: Ae.TRANSACTION_DETAILS,
5158
5158
  label: Ie.TAG_ADD
5159
5159
  },
5160
5160
  [Y.ON_TRANSACTION_TAGS_TAG_DELETE_CLICK]: {
5161
- action: Te.SELECT,
5161
+ action: Se.SELECT,
5162
5162
  category: Ae.TRANSACTION_DETAILS,
5163
5163
  label: Ie.TAG_DELETE
5164
5164
  },
5165
5165
  [Y.ON_TRANSACTION_TAGS_TAG_DELETE_CANCEL_CLICK]: {
5166
- action: Te.CLOSE,
5166
+ action: Se.CLOSE,
5167
5167
  category: Ae.TRANSACTION_DETAILS,
5168
5168
  label: Ie.TAG_DELETE
5169
5169
  },
5170
5170
  [Y.ON_TRANSACTION_TAGS_TAG_DELETED]: {
5171
- action: Te.SAVE,
5171
+ action: Se.SAVE,
5172
5172
  category: Ae.TRANSACTION_DETAILS,
5173
5173
  label: Ie.TAG_DELETE
5174
5174
  },
5175
5175
  [Y.ON_TRANSACTION_TAGS_TAG_EDIT_CLICK]: {
5176
- action: Te.EDIT,
5176
+ action: Se.EDIT,
5177
5177
  category: Ae.TRANSACTION_DETAILS,
5178
5178
  label: Ie.TAG_EDIT
5179
5179
  },
5180
5180
  [Y.ON_TRANSACTION_TAGS_TAG_EDIT_SAVED]: {
5181
- action: Te.SAVE,
5181
+ action: Se.SAVE,
5182
5182
  category: Ae.TRANSACTION_DETAILS,
5183
5183
  label: Ie.TAG_EDIT
5184
5184
  },
5185
5185
  // flag
5186
5186
  [Y.ON_TRANSACTION_TOGGLE_FLAG_CLICK]: {
5187
- action: Te.SELECT,
5187
+ action: Se.SELECT,
5188
5188
  category: Ae.TRANSACTION_DETAILS,
5189
5189
  label: Ie.FLAG
5190
5190
  },
5191
5191
  // hide
5192
5192
  [Y.ON_TRANSACTION_UNHIDDEN]: {
5193
- action: Te.SAVE,
5193
+ action: Se.SAVE,
5194
5194
  category: Ae.TRANSACTION_DETAILS,
5195
5195
  label: Ie.UNHIDE_TRANSACTION
5196
5196
  },
5197
5197
  [Y.ON_TRANSACTION_UNHIDE_CLICK]: {
5198
- action: Te.SELECT,
5198
+ action: Se.SELECT,
5199
5199
  category: Ae.TRANSACTION_DETAILS,
5200
5200
  label: Ie.UNHIDE_TRANSACTION
5201
5201
  },
5202
5202
  [Y.ON_TRANSACTION_UNHIDE_CANCEL_CLICK]: {
5203
- action: Te.CLOSE,
5203
+ action: Se.CLOSE,
5204
5204
  category: Ae.TRANSACTION_DETAILS,
5205
5205
  label: Ie.UNHIDE_TRANSACTION
5206
5206
  },
5207
5207
  // export CSV
5208
5208
  [Y.ON_TRANSACTION_EXPORT_CSV_CLICK]: {
5209
- action: Te.SELECT,
5209
+ action: Se.SELECT,
5210
5210
  category: Ae.TRANSACTIONS_WIDGET,
5211
5211
  label: Ie.EXPORT_CSV
5212
5212
  },
5213
5213
  // add transaction
5214
5214
  [Y.ON_TRANSACTION_MANUAL_ADD_CLICK]: {
5215
- action: Te.SELECT,
5215
+ action: Se.SELECT,
5216
5216
  category: Ae.TRANSACTIONS_WIDGET,
5217
5217
  label: Ie.ADD_TRANSACTION
5218
5218
  },
5219
5219
  [Y.ON_TRANSACTION_MANUAL_ADD_ADDED]: {
5220
- action: Te.ADD,
5220
+ action: Se.ADD,
5221
5221
  category: Ae.TRANSACTIONS_WIDGET,
5222
5222
  label: Ie.ADD_TRANSACTION
5223
5223
  },
5224
5224
  [Y.ON_TRANSACTION_DELETE_CLICK]: {
5225
- action: Te.SELECT,
5225
+ action: Se.SELECT,
5226
5226
  category: Ae.TRANSACTIONS_WIDGET,
5227
5227
  label: Ie.DELETE_TRANSACTION
5228
5228
  },
5229
5229
  [Y.ON_TRANSACTION_DELETE_CANCEL]: {
5230
- action: Te.CLOSE,
5230
+ action: Se.CLOSE,
5231
5231
  category: Ae.TRANSACTIONS_WIDGET,
5232
5232
  label: Ie.DELETE_TRANSACTION
5233
5233
  },
5234
5234
  [Y.ON_TRANSACTION_DELETE_DELETED]: {
5235
- action: Te.DELETE,
5235
+ action: Se.DELETE,
5236
5236
  category: Ae.TRANSACTIONS_WIDGET,
5237
5237
  label: Ie.DELETE_TRANSACTION
5238
5238
  }
@@ -5243,7 +5243,7 @@ const fu = [
5243
5243
  CATEGORY: "category",
5244
5244
  ACCOUNT: "account",
5245
5245
  AMOUNT: "amount"
5246
- }, Su = "uncategorized", Tu = (e, n, i, a, o, r) => {
5246
+ }, Tu = "uncategorized", Su = (e, n, i, a, o, r) => {
5247
5247
  const s = Au(e, o, r), c = Iu(s, i, a);
5248
5248
  return n.forEach((d) => {
5249
5249
  const u = c.findIndex((h) => h.guid === d), _ = r.filter((h) => h.parent_guid === d);
@@ -5257,7 +5257,7 @@ const fu = [
5257
5257
  searchTerm: s = ""
5258
5258
  } = e;
5259
5259
  return i.filter((c) => !c.parent_guid).filter((c) => !!a.find((d) => d === c.account_guid)).filter((c) => c.date > He(o.start) && c.date < He(o.end)).filter(r).filter((c) => {
5260
- if (s === Su && c.has_been_split)
5260
+ if (s === Tu && c.has_been_split)
5261
5261
  return !1;
5262
5262
  if (/^spl/i.test(s) && (c.has_been_split || c.parent_guid))
5263
5263
  return !0;
@@ -5347,16 +5347,16 @@ class Ru {
5347
5347
  uiStore;
5348
5348
  api = new Xi("/", "");
5349
5349
  beatApi = new Yn("/", "");
5350
- isLoading = !0;
5351
- taggings = [];
5352
- tags = [];
5353
- transactionRules = [];
5354
- transactions = [];
5355
5350
  associatedBeats = [];
5356
5351
  cachedStartDate = At(he(), 90);
5352
+ filter = {};
5353
+ isLoading = !0;
5354
+ rawTransactions = [];
5357
5355
  sortColumn = Ba.DATE;
5358
5356
  sortDirection = Ws.DESC;
5359
- filter = {};
5357
+ taggings = [];
5358
+ tags = [];
5359
+ transactionRules = [];
5360
5360
  onAnalyticEvent = Eu;
5361
5361
  constructor(n) {
5362
5362
  this.globalStore = n, this.uiStore = new Du(), this.api = new Xi(n.endpoint, n.sessionToken), this.beatApi = new Yn(n.endpoint, n.sessionToken), Be(this);
@@ -5374,7 +5374,7 @@ class Ru {
5374
5374
  });
5375
5375
  };
5376
5376
  get sortedTransactions() {
5377
- return Tu(
5377
+ return Su(
5378
5378
  this.filter,
5379
5379
  this.uiStore.expandedSplits,
5380
5380
  this.sortColumn,
@@ -5383,6 +5383,9 @@ class Ru {
5383
5383
  this.transactions
5384
5384
  );
5385
5385
  }
5386
+ get transactions() {
5387
+ return this.augmentTransactions(this.rawTransactions);
5388
+ }
5386
5389
  addTag = async (n) => {
5387
5390
  await this.api.addTag({ name: n }), await this.loadTags();
5388
5391
  };
@@ -5408,9 +5411,7 @@ class Ru {
5408
5411
  };
5409
5412
  addTransaction = async (n) => {
5410
5413
  const i = await this.api.addTransaction(n);
5411
- i && Z(
5412
- () => this.transactions = this.augmentTransactions([i, ...this.transactions])
5413
- );
5414
+ i && Z(() => this.rawTransactions = [i, ...this.transactions]);
5414
5415
  };
5415
5416
  augmentTransactions = (n) => yu(
5416
5417
  n,
@@ -5435,14 +5436,14 @@ class Ru {
5435
5436
  Z(() => this.transactionRules = n);
5436
5437
  };
5437
5438
  loadTransactions = async (n = this.cachedStartDate, i = En()) => {
5438
- this.setIsLoading(!0), this.transactions = [];
5439
+ this.setIsLoading(!0), this.rawTransactions = [];
5439
5440
  try {
5440
5441
  const a = await this.api.getTransactionsByDateRange(
5441
5442
  He(n),
5442
5443
  He(i)
5443
5444
  );
5444
5445
  Z(() => {
5445
- this.transactions = this.augmentTransactions(a);
5446
+ this.rawTransactions = a;
5446
5447
  });
5447
5448
  } catch (a) {
5448
5449
  console.error(`Error occurred while loading transactions: ${a}`);
@@ -5457,7 +5458,7 @@ class Ru {
5457
5458
  });
5458
5459
  };
5459
5460
  modifyTransactionByAccountGuid = (n, i) => {
5460
- this.transactions = this.transactions.map(
5461
+ this.rawTransactions = this.transactions.map(
5461
5462
  (a) => a.account_guid === n ? { ...a, ...i } : a
5462
5463
  );
5463
5464
  };
@@ -5472,7 +5473,7 @@ class Ru {
5472
5473
  const i = this.transactions.findIndex((a) => a.guid === n);
5473
5474
  if (i >= 0) {
5474
5475
  const a = [...this.transactions];
5475
- a.splice(i, 1), Z(() => this.transactions = a);
5476
+ a.splice(i, 1), Z(() => this.rawTransactions = a);
5476
5477
  }
5477
5478
  };
5478
5479
  setFilter = (n) => {
@@ -5492,12 +5493,12 @@ class Ru {
5492
5493
  }
5493
5494
  const r = this.transactions.findIndex((s) => s.guid === n.guid);
5494
5495
  r >= 0 && Z(
5495
- () => this.transactions = this.augmentTransactions([
5496
+ () => this.rawTransactions = [
5496
5497
  ...this.transactions.slice(0, r),
5497
5498
  a,
5498
5499
  ...this.transactions.slice(r + 1),
5499
5500
  ...o
5500
- ])
5501
+ ]
5501
5502
  );
5502
5503
  };
5503
5504
  unSplitTransaction = async (n) => {
@@ -5510,7 +5511,7 @@ class Ru {
5510
5511
  });
5511
5512
  const o = a.findIndex((s) => s.guid === n), r = a[o];
5512
5513
  r.has_been_split = !1, o >= 0 && Z(
5513
- () => this.transactions = [
5514
+ () => this.rawTransactions = [
5514
5515
  ...a.slice(0, o),
5515
5516
  r,
5516
5517
  ...a.slice(o + 1)
@@ -5531,11 +5532,11 @@ class Ru {
5531
5532
  updateTransaction = async (n) => {
5532
5533
  const i = await this.api.updateTransaction(n), a = this.transactions.findIndex((o) => o.guid === n.guid);
5533
5534
  a >= 0 && Z(
5534
- () => this.transactions = this.augmentTransactions([
5535
+ () => this.rawTransactions = [
5535
5536
  ...this.transactions.slice(0, a),
5536
5537
  i,
5537
5538
  ...this.transactions.slice(a + 1)
5538
- ])
5539
+ ]
5539
5540
  );
5540
5541
  };
5541
5542
  }
@@ -5680,25 +5681,25 @@ const Pu = ({ transaction: e, onClick: n }) => {
5680
5681
  account_guid: w?.account_guid,
5681
5682
  transaction_guid: A
5682
5683
  }), a?.(A);
5683
- }, y = g.useRef(null), S = us({
5684
+ }, y = g.useRef(null), T = us({
5684
5685
  count: h.length,
5685
5686
  getScrollElement: () => y.current,
5686
5687
  estimateSize: (A) => ur + (_r(A, h) ? hr : 0),
5687
5688
  overscan: 5
5688
5689
  });
5689
- return g.useEffect(() => S.measure(), [h]), g.useEffect(() => m(o), [o]), /* @__PURE__ */ t(ie, { children: /* @__PURE__ */ t(L, { height: n, overflow: "auto", ref: y, width: c, children: /* @__PURE__ */ l(
5690
+ return g.useEffect(() => T.measure(), [h]), g.useEffect(() => m(o), [o]), /* @__PURE__ */ t(ie, { children: /* @__PURE__ */ t(L, { height: n, overflow: "auto", ref: y, width: c, children: /* @__PURE__ */ l(
5690
5691
  L,
5691
5692
  {
5692
5693
  height: (
5693
5694
  // set the height to auto when there are no transactions so the zero state isn't set to 0
5694
- S.getVirtualItems().length === 0 ? "auto" : S.getTotalSize()
5695
+ T.getVirtualItems().length === 0 ? "auto" : T.getTotalSize()
5695
5696
  ),
5696
5697
  position: "relative",
5697
5698
  width: "100%",
5698
5699
  children: [
5699
5700
  (u || r) && i,
5700
- !u && !r && S.getVirtualItems().length === 0 && d,
5701
- !u && !r && S.getVirtualItems().length > 0 && S.getVirtualItems().map((A) => {
5701
+ !u && !r && T.getVirtualItems().length === 0 && d,
5702
+ !u && !r && T.getVirtualItems().length > 0 && T.getVirtualItems().map((A) => {
5702
5703
  const w = h[A.index], v = _r(A.index, h), R = $u(A.index, h), B = ur + (v ? hr : 0);
5703
5704
  return /* @__PURE__ */ l(
5704
5705
  L,
@@ -5860,7 +5861,7 @@ const Pu = ({ transaction: e, onClick: n }) => {
5860
5861
  sortingOrder: ["asc", "desc"]
5861
5862
  }
5862
5863
  ];
5863
- return /* @__PURE__ */ t(St, { sx: { height: e, px: 24, width: "100%", boxShadow: "none" }, children: /* @__PURE__ */ t(
5864
+ return /* @__PURE__ */ t(Tt, { sx: { height: e, px: 24, width: "100%", boxShadow: "none" }, children: /* @__PURE__ */ t(
5864
5865
  Hn,
5865
5866
  {
5866
5867
  columns: u,
@@ -5907,12 +5908,12 @@ const eh = ({
5907
5908
  u = c.add_subcategory_title;
5908
5909
  break;
5909
5910
  case "edit":
5910
- u = T(c.edit_subcategory_title, e);
5911
+ u = S(c.edit_subcategory_title, e);
5911
5912
  break;
5912
5913
  case "delete":
5913
- u = c.delete_subcategory_heading, _ = T(
5914
+ u = c.delete_subcategory_heading, _ = S(
5914
5915
  c.all_transactions_in_this_subcategory,
5915
- /* @__PURE__ */ t(p, { bold: !0, children: T(c.all_parent_category, e) })
5916
+ /* @__PURE__ */ t(p, { bold: !0, children: S(c.all_parent_category, e) })
5916
5917
  );
5917
5918
  break;
5918
5919
  }
@@ -6019,7 +6020,7 @@ const eh = ({
6019
6020
  showSelected: s,
6020
6021
  unselectable: c,
6021
6022
  unselectableText: d
6022
- } = _n(), { categories: u } = x(), { onEvent: _ } = j(), [h, m] = g.useState(!1), [C, f] = g.useState(!1), E = !!n.revision, y = n.guid === a, S = !c.some((w) => w === n.guid);
6023
+ } = _n(), { categories: u } = x(), { onEvent: _ } = j(), [h, m] = g.useState(!1), [C, f] = g.useState(!1), E = !!n.revision, y = n.guid === a, T = !c.some((w) => w === n.guid);
6023
6024
  return /* @__PURE__ */ l(
6024
6025
  z,
6025
6026
  {
@@ -6034,7 +6035,7 @@ const eh = ({
6034
6035
  "aria-pressed": y,
6035
6036
  color: "secondary",
6036
6037
  onClick: () => {
6037
- S && (o(n.guid), i(n.guid), _(jt.ON_CATEGORY_SELECTED));
6038
+ T && (o(n.guid), i(n.guid), _(jt.ON_CATEGORY_SELECTED));
6038
6039
  },
6039
6040
  sx: { height: 44 },
6040
6041
  children: [
@@ -6046,7 +6047,7 @@ const eh = ({
6046
6047
  }
6047
6048
  ),
6048
6049
  s && y && /* @__PURE__ */ t(Xa, { fontSize: "small" }),
6049
- !S && /* @__PURE__ */ t(yd, { label: d })
6050
+ !T && /* @__PURE__ */ t(yd, { label: d })
6050
6051
  ]
6051
6052
  }
6052
6053
  ),
@@ -6054,7 +6055,7 @@ const eh = ({
6054
6055
  /* @__PURE__ */ t(
6055
6056
  Pe,
6056
6057
  {
6057
- "aria-label": T(u.edit_subcategory_aria, n.name),
6058
+ "aria-label": S(u.edit_subcategory_aria, n.name),
6058
6059
  onClick: () => {
6059
6060
  m(!0), r(!0), _(jt.ON_SUBCATEGORY_EDIT_CLICK);
6060
6061
  },
@@ -6064,7 +6065,7 @@ const eh = ({
6064
6065
  /* @__PURE__ */ t(
6065
6066
  Pe,
6066
6067
  {
6067
- "aria-label": T(u.delete_subcategory_aria, n.name),
6068
+ "aria-label": S(u.delete_subcategory_aria, n.name),
6068
6069
  edge: "end",
6069
6070
  onClick: () => {
6070
6071
  f(!0), r(!0), _(jt.ON_SUBCATEGORY_DELETE_CLICK);
@@ -6156,7 +6157,7 @@ const eh = ({
6156
6157
  const _ = [
6157
6158
  {
6158
6159
  ...d,
6159
- name: T(i.all_parent_category, d.name),
6160
+ name: S(i.all_parent_category, d.name),
6160
6161
  parent_guid: d.guid
6161
6162
  },
6162
6163
  ...r
@@ -6168,7 +6169,7 @@ const eh = ({
6168
6169
  }
6169
6170
  return c;
6170
6171
  }, []))(e, n);
6171
- return /* @__PURE__ */ t(St, { className: "mx-cat-category-list", sx: { boxShadow: "none" }, children: /* @__PURE__ */ t(ie, { children: o.map((r) => /* @__PURE__ */ t(
6172
+ return /* @__PURE__ */ t(Tt, { className: "mx-cat-category-list", sx: { boxShadow: "none" }, children: /* @__PURE__ */ t(ie, { children: o.map((r) => /* @__PURE__ */ t(
6172
6173
  Vs,
6173
6174
  {
6174
6175
  category: r.category,
@@ -6433,12 +6434,12 @@ const zs = ({ transaction: e }) => {
6433
6434
  });
6434
6435
  }, C = (y) => {
6435
6436
  if (e.is_manual && !e.guid) {
6436
- const S = a.find((A) => A.guid === y);
6437
+ const T = a.find((A) => A.guid === y);
6437
6438
  s({
6438
6439
  ...e,
6439
- category: S?.name,
6440
+ category: T?.name,
6440
6441
  category_guid: y,
6441
- top_level_category_guid: S?.parent_guid || y
6442
+ top_level_category_guid: T?.parent_guid || y
6442
6443
  });
6443
6444
  } else
6444
6445
  h(y);
@@ -6492,7 +6493,7 @@ const zs = ({ transaction: e }) => {
6492
6493
  Me,
6493
6494
  {
6494
6495
  copy: {
6495
- title: T(
6496
+ title: S(
6496
6497
  c.actions_apply_to_all_transaction_types,
6497
6498
  e.description
6498
6499
  )
@@ -6503,7 +6504,7 @@ const zs = ({ transaction: e }) => {
6503
6504
  onSecondaryAction: () => m(!1),
6504
6505
  primaryText: c.actions_apply_to_all,
6505
6506
  secondaryText: c.actions_this_time_only,
6506
- children: /* @__PURE__ */ t(p, { children: T(
6507
+ children: /* @__PURE__ */ t(p, { children: S(
6507
6508
  c.actions_all_past_and_future,
6508
6509
  e.description,
6509
6510
  E?.name
@@ -6553,7 +6554,7 @@ const zs = ({ transaction: e }) => {
6553
6554
  secondaryText: r.cancel_button,
6554
6555
  title: s.date_edit_title,
6555
6556
  children: /* @__PURE__ */ t(b, { alignItems: "center", mt: n.Spacing.XXLarge, children: /* @__PURE__ */ t(
6556
- S_,
6557
+ T_,
6557
6558
  {
6558
6559
  beginDate: Fe(u),
6559
6560
  copy: {
@@ -6608,7 +6609,7 @@ const zs = ({ transaction: e }) => {
6608
6609
  }
6609
6610
  )
6610
6611
  ] });
6611
- }, Sh = I(Eh), Th = ({ transaction: e }) => {
6612
+ }, Th = I(Eh), Sh = ({ transaction: e }) => {
6612
6613
  const { onEvent: n } = j(), { updateTransaction: i } = Ne(), { setShouldDisableDrawerScroll: a } = Lt(), { common: o, transactions: r } = x(), [s, c] = g.useState(!1), d = async () => {
6613
6614
  await i({ ...e, merchant_guid: "" }), n(W.TRANSACTION_DETAILS_CLICK_DELETE_LOGO, {
6614
6615
  transaction_guid: e.guid
@@ -6648,7 +6649,7 @@ const zs = ({ transaction: e }) => {
6648
6649
  }
6649
6650
  )
6650
6651
  ] });
6651
- }, Ah = I(Th), Ih = ({ transaction: e }) => {
6652
+ }, Ah = I(Sh), Ih = ({ transaction: e }) => {
6652
6653
  const { onEvent: n } = j(), { updateTransaction: i } = Ne(), { setShouldDisableDrawerScroll: a } = Lt(), { common: o, transactions: r } = x(), [s, c] = g.useState(!1), d = e.is_hidden, u = async () => {
6653
6654
  await i({ ...e, is_hidden: !e.is_hidden }), n(
6654
6655
  d ? Y.ON_TRANSACTION_UNHIDDEN : Y.ON_TRANSACTION_HIDDEN
@@ -6923,7 +6924,7 @@ const zs = ({ transaction: e }) => {
6923
6924
  const s = gt(), { transactions: c } = x(), { onEvent: d } = j(), [u, _] = g.useState("");
6924
6925
  return g.useEffect(() => {
6925
6926
  _(o.length <= 1 ? c.split_transaction_errors_min_splits : ""), _(
6926
- o[0].amount < 0 ? T(
6927
+ o[0].amount < 0 ? S(
6927
6928
  c.split_transaction_errors_totals_must_equal_amount,
6928
6929
  P(r.amount, "0,0.00")
6929
6930
  ) : ""
@@ -6983,7 +6984,7 @@ const zs = ({ transaction: e }) => {
6983
6984
  }, [_, h] = g.useState(!1), [m, C] = g.useState(!1), [f, E] = g.useState([]), y = () => {
6984
6985
  const k = [...f];
6985
6986
  k.push({ ...u }), k[0].amount -= 1, E(k);
6986
- }, S = (k) => {
6987
+ }, T = (k) => {
6987
6988
  if (k > 0) {
6988
6989
  const O = f[k], U = [...f];
6989
6990
  U.splice(k, 1), U[0].amount += O.amount, E(U);
@@ -7054,7 +7055,7 @@ const zs = ({ transaction: e }) => {
7054
7055
  {
7055
7056
  onAddSplit: y,
7056
7057
  onCategoryChanged: w,
7057
- onDeleteSplit: S,
7058
+ onDeleteSplit: T,
7058
7059
  onUpdateAmount: A,
7059
7060
  splits: f,
7060
7061
  transaction: e
@@ -7077,7 +7078,7 @@ const zs = ({ transaction: e }) => {
7077
7078
  },
7078
7079
  primaryText: o.delete_button,
7079
7080
  secondaryText: o.cancel_button,
7080
- children: /* @__PURE__ */ t(p, { variant: "Paragraph", children: T(
7081
+ children: /* @__PURE__ */ t(p, { variant: "Paragraph", children: S(
7081
7082
  r.split_transaction_unsplit_description,
7082
7083
  e.description
7083
7084
  ) })
@@ -7174,7 +7175,7 @@ const zs = ({ transaction: e }) => {
7174
7175
  }, Bh = I(Gh), Hh = ({ onTagChecked: e, selectedTags: n, tag: i }) => {
7175
7176
  const { onEvent: a } = j(), { removeTag: o, updateTag: r } = Ne(), { common: s, transactions: c } = x(), [d, u] = g.useState(!1), [_, h] = g.useState(!1), [m, C] = g.useState(""), [f, E] = g.useState(""), y = async () => {
7176
7177
  a(Y.ON_TRANSACTION_TAGS_TAG_EDIT_SAVED), i && await r({ ...i, name: m }), u(!1);
7177
- }, S = async () => {
7178
+ }, T = async () => {
7178
7179
  a(Y.ON_TRANSACTION_TAGS_TAG_DELETED), await o(i.guid), h(!1);
7179
7180
  };
7180
7181
  g.useEffect(() => {
@@ -7255,7 +7256,7 @@ const zs = ({ transaction: e }) => {
7255
7256
  copy: { title: c.tags_delete_title },
7256
7257
  isOpen: _,
7257
7258
  onClose: () => h(!1),
7258
- onPrimaryAction: S,
7259
+ onPrimaryAction: T,
7259
7260
  onSecondaryAction: () => a(Y.ON_TRANSACTION_TAGS_TAG_DELETE_CANCEL_CLICK),
7260
7261
  primaryText: s.delete_button,
7261
7262
  secondaryText: s.cancel_button,
@@ -7278,7 +7279,7 @@ const zs = ({ transaction: e }) => {
7278
7279
  }
7279
7280
  ),
7280
7281
  /* @__PURE__ */ t(kh, {}),
7281
- /* @__PURE__ */ t(St, { sx: { boxShadow: "none" }, children: /* @__PURE__ */ t(ie, { children: r.map((s) => /* @__PURE__ */ l(g.Fragment, { children: [
7282
+ /* @__PURE__ */ t(Tt, { sx: { boxShadow: "none" }, children: /* @__PURE__ */ t(ie, { children: r.map((s) => /* @__PURE__ */ l(g.Fragment, { children: [
7282
7283
  /* @__PURE__ */ t(Ph, { onTagChecked: n, selectedTags: e, tag: s }),
7283
7284
  /* @__PURE__ */ t(H, { sx: { ml: 24 } })
7284
7285
  ] }, s.guid)) }) })
@@ -7289,8 +7290,8 @@ const zs = ({ transaction: e }) => {
7289
7290
  h(e.tags);
7290
7291
  }, [d, e]);
7291
7292
  const m = (E) => {
7292
- const y = [..._], S = _.indexOf(E);
7293
- S >= 0 ? y.splice(S, 1) : y.push(E), h(y);
7293
+ const y = [..._], T = _.indexOf(E);
7294
+ T >= 0 ? y.splice(T, 1) : y.push(E), h(y);
7294
7295
  }, C = async () => {
7295
7296
  if (e.is_manual && !e.guid) {
7296
7297
  c({ ...e, tags: _ }), u(!1);
@@ -7299,7 +7300,7 @@ const zs = ({ transaction: e }) => {
7299
7300
  await a(_, e.guid), await o({ ...e, tags: _ }), n(W.TRANSACTION_DETAILS_CLICK_TAGS, { transaction_guid: e.guid }), u(!1);
7300
7301
  }, f = g.useMemo(
7301
7302
  () => e.tags.map(
7302
- (E, y, S) => `${i.find((A) => A.guid === E)?.name}${y < S.length - 1 ? " / " : ""}`
7303
+ (E, y, T) => `${i.find((A) => A.guid === E)?.name}${y < T.length - 1 ? " / " : ""}`
7303
7304
  ),
7304
7305
  [i, e]
7305
7306
  );
@@ -7432,7 +7433,7 @@ const zs = ({ transaction: e }) => {
7432
7433
  []
7433
7434
  ), a ? /* @__PURE__ */ t(L, { className: "mx-txn-transaction-details", width: "100%", children: i && /* @__PURE__ */ l(b, { children: [
7434
7435
  /* @__PURE__ */ l(b, { gap: 12, p: 24, children: [
7435
- /* @__PURE__ */ t(St, { elevation: 2, sx: { width: 64 }, children: /* @__PURE__ */ t(
7436
+ /* @__PURE__ */ t(Tt, { elevation: 2, sx: { width: 64 }, children: /* @__PURE__ */ t(
7436
7437
  rn,
7437
7438
  {
7438
7439
  categoryGuid: i.top_level_category_guid || "",
@@ -7454,7 +7455,7 @@ const zs = ({ transaction: e }) => {
7454
7455
  /* @__PURE__ */ t(p, { bold: !0, color: "secondary", variant: "Tiny", children: i.feed_description })
7455
7456
  ] })
7456
7457
  ] }),
7457
- /* @__PURE__ */ t(St, { square: !0, sx: { boxShadow: "none" }, children: /* @__PURE__ */ t(ie, { children: n.map((s, c) => /* @__PURE__ */ l(g.Fragment, { children: [
7458
+ /* @__PURE__ */ t(Tt, { square: !0, sx: { boxShadow: "none" }, children: /* @__PURE__ */ t(ie, { children: n.map((s, c) => /* @__PURE__ */ l(g.Fragment, { children: [
7458
7459
  s === li.Category && /* @__PURE__ */ t(zs, { transaction: i }),
7459
7460
  s === li.Date && /* @__PURE__ */ t(Ys, { transaction: i }),
7460
7461
  s === li.Memo && /* @__PURE__ */ t(Xs, { transaction: i }),
@@ -7462,14 +7463,14 @@ const zs = ({ transaction: e }) => {
7462
7463
  /* @__PURE__ */ t(H, { variant: c < n.length - 1 ? "inset" : "fullWidth" })
7463
7464
  ] }, s)) }) }),
7464
7465
  /* @__PURE__ */ t(p, { bold: !0, mb: 8, ml: 26, mt: 16, variant: "Body", children: "Actions" }),
7465
- /* @__PURE__ */ t(St, { square: !0, sx: { boxShadow: "none" }, children: /* @__PURE__ */ l(ie, { children: [
7466
+ /* @__PURE__ */ t(Tt, { square: !0, sx: { boxShadow: "none" }, children: /* @__PURE__ */ l(ie, { children: [
7466
7467
  e.map((s, c) => /* @__PURE__ */ l(g.Fragment, { children: [
7467
7468
  s === Hi.SplitTransaction && /* @__PURE__ */ t(Lh, { transaction: i }),
7468
7469
  s === Hi.HideTransaction && /* @__PURE__ */ t(xh, { transaction: i }),
7469
7470
  s === Hi.MerchantLogo && /* @__PURE__ */ t(Ah, { transaction: i }),
7470
7471
  /* @__PURE__ */ t(H, { variant: c < e.length - 1 ? "inset" : "fullWidth" })
7471
7472
  ] }, s)),
7472
- i.is_manual && /* @__PURE__ */ t(Sh, { transaction: i })
7473
+ i.is_manual && /* @__PURE__ */ t(Th, { transaction: i })
7473
7474
  ] }) })
7474
7475
  ] }) }) : /* @__PURE__ */ t(de, {});
7475
7476
  }, ni = I(Yh), jh = ({ copy: e, isOpen: n, onClose: i, onPrimaryAction: a }) => {
@@ -7505,8 +7506,8 @@ const zs = ({ transaction: e }) => {
7505
7506
  enter_amount: n.currency_input.enter_amount
7506
7507
  }, m = (y) => {
7507
7508
  c(y), r({ ...a, amount: Number(y) });
7508
- }, C = (y, S) => {
7509
- r({ ...a, transaction_type: Number(S) });
7509
+ }, C = (y, T) => {
7510
+ r({ ...a, transaction_type: Number(T) });
7510
7511
  }, f = (y) => {
7511
7512
  u(y), r({ ...a, payee: y, description: y });
7512
7513
  }, E = (y) => {
@@ -7611,7 +7612,7 @@ const zs = ({ transaction: e }) => {
7611
7612
  Me,
7612
7613
  {
7613
7614
  copy: {
7614
- title: T(
7615
+ title: S(
7615
7616
  o.actions_apply_to_all_transaction_types,
7616
7617
  n.description
7617
7618
  )
@@ -7622,7 +7623,7 @@ const zs = ({ transaction: e }) => {
7622
7623
  onSecondaryAction: () => u(!1),
7623
7624
  primaryText: o.actions_apply_to_all,
7624
7625
  secondaryText: o.actions_this_time_only,
7625
- children: /* @__PURE__ */ t(p, { children: T(
7626
+ children: /* @__PURE__ */ t(p, { children: S(
7626
7627
  o.actions_all_past_and_future,
7627
7628
  n.description,
7628
7629
  d?.name
@@ -7647,7 +7648,7 @@ const zs = ({ transaction: e }) => {
7647
7648
  addTransaction: f,
7648
7649
  filter: E,
7649
7650
  loadAssociatedBeats: y,
7650
- setFilter: S,
7651
+ setFilter: T,
7651
7652
  sortedTransactions: A,
7652
7653
  tags: w,
7653
7654
  transactions: v,
@@ -7659,16 +7660,16 @@ const zs = ({ transaction: e }) => {
7659
7660
  selectedAccountGuids: ue,
7660
7661
  setDisplayedDate: te,
7661
7662
  setSelectedAccounts: ge
7662
- } = le(), [De, Re] = g.useState(""), [Se, Oe] = g.useState(""), [It, Q] = g.useState(!1), [ne, Ue] = g.useState(!1), [Qe, K] = g.useState(!1);
7663
+ } = le(), [De, Re] = g.useState(""), [Te, Oe] = g.useState(""), [It, Q] = g.useState(!1), [ne, Ue] = g.useState(!1), [Qe, K] = g.useState(!1);
7663
7664
  g.useEffect(() => {
7664
7665
  const rt = o.filter(($n) => !$n.is_hidden), Lo = Ze(he()), Mo = Ye(he());
7665
- ge(rt), te(Lo, Mo), S({
7666
+ ge(rt), te(Lo, Mo), T({
7666
7667
  accounts: rt.map(($n) => $n.guid),
7667
7668
  custom: ($n) => !$n.accountIsClosed && !$n.accountIsHidden,
7668
7669
  dateRange: { start: Lo, end: Mo }
7669
7670
  }), K(!0), k(W.TRANSACTIONS_VIEW);
7670
7671
  }, [o]), g.useEffect(() => {
7671
- Qe && (S({
7672
+ Qe && (T({
7672
7673
  ...E,
7673
7674
  accounts: ue,
7674
7675
  dateRange: { start: O.start, end: O.end }
@@ -7679,10 +7680,10 @@ const zs = ({ transaction: e }) => {
7679
7680
  const Le = g.useMemo(
7680
7681
  () => o.filter((rt) => rt.is_manual),
7681
7682
  [o]
7682
- ), Ge = Se ? v.find((rt) => rt.guid === Se) : void 0, Pt = u && !!d.payee && !!d.account_guid && !!d.category_guid, dt = (rt) => {
7683
+ ), Ge = Te ? v.find((rt) => rt.guid === Te) : void 0, Pt = u && !!d.payee && !!d.account_guid && !!d.category_guid, dt = (rt) => {
7683
7684
  te(rt[0], rt[1]);
7684
7685
  }, ii = (rt) => {
7685
- h(rt), S({
7686
+ h(rt), T({
7686
7687
  ...E,
7687
7688
  searchTerm: rt
7688
7689
  }), k(W.TRANSACTIONS_CLICK_SEARCH, { search_term: rt });
@@ -7914,7 +7915,7 @@ const zs = ({ transaction: e }) => {
7914
7915
  value: i || 0
7915
7916
  }
7916
7917
  ),
7917
- e === me.EveryYear && /* @__PURE__ */ t(Ti, { dateAdapter: Qn, children: /* @__PURE__ */ t(
7918
+ e === me.EveryYear && /* @__PURE__ */ t(Si, { dateAdapter: Qn, children: /* @__PURE__ */ t(
7918
7919
  Ya,
7919
7920
  {
7920
7921
  disablePast: !0,
@@ -7980,7 +7981,7 @@ const zs = ({ transaction: e }) => {
7980
7981
  const E = g.useMemo(
7981
7982
  () => c.find((w) => w.guid === C),
7982
7983
  [C, c]
7983
- ), y = n.repeating_transaction_type === an.Income, S = async () => {
7984
+ ), y = n.repeating_transaction_type === an.Income, T = async () => {
7984
7985
  await r(n.guid), e();
7985
7986
  }, A = () => {
7986
7987
  m(!0), o(W.RECURRING_TRANSACTIONS_DETAILS_CLICK_DELETE);
@@ -8064,7 +8065,7 @@ const zs = ({ transaction: e }) => {
8064
8065
  },
8065
8066
  isOpen: h,
8066
8067
  onClose: () => m(!1),
8067
- onPrimaryAction: S,
8068
+ onPrimaryAction: T,
8068
8069
  children: /* @__PURE__ */ t(p, { children: y ? i.delete_income_description : i.delete_expense_description })
8069
8070
  }
8070
8071
  )
@@ -8221,7 +8222,7 @@ const zs = ({ transaction: e }) => {
8221
8222
  label: n,
8222
8223
  onAddRecurringTransaction: i = () => null
8223
8224
  }) => {
8224
- const { recurring: a } = x(), { filter: o, setFilter: r, transactions: s } = Ne(), { addRepeatingTransaction: c } = ze(), { user: d } = Bt(), [u, _] = g.useState(!1), [h, m] = g.useState(""), [C, f] = g.useState(me.EveryMonth), [E, y] = g.useState(1), [S, A] = g.useState(15), w = g.useMemo(
8225
+ const { recurring: a } = x(), { filter: o, setFilter: r, transactions: s } = Ne(), { addRepeatingTransaction: c } = ze(), { user: d } = Bt(), [u, _] = g.useState(!1), [h, m] = g.useState(""), [C, f] = g.useState(me.EveryMonth), [E, y] = g.useState(1), [T, A] = g.useState(15), w = g.useMemo(
8225
8226
  () => s.find((M) => M.guid === h),
8226
8227
  [h, s]
8227
8228
  ), v = () => {
@@ -8243,7 +8244,7 @@ const zs = ({ transaction: e }) => {
8243
8244
  recurrence_day: E,
8244
8245
  recurrence_type: C,
8245
8246
  repeating_transaction_type: e ? an.Income : an.Bill,
8246
- second_recurrence_day: S,
8247
+ second_recurrence_day: T,
8247
8248
  transaction_type: w.transaction_type,
8248
8249
  user_guid: d.guid
8249
8250
  };
@@ -8298,7 +8299,7 @@ const zs = ({ transaction: e }) => {
8298
8299
  onFirstDayChange: y,
8299
8300
  onFrequencyChange: f,
8300
8301
  onSecondDayChange: A,
8301
- secondDay: S,
8302
+ secondDay: T,
8302
8303
  transaction: w
8303
8304
  }
8304
8305
  )
@@ -8465,7 +8466,7 @@ const zs = ({ transaction: e }) => {
8465
8466
  }, s = /* @__PURE__ */ t(
8466
8467
  ja,
8467
8468
  {
8468
- maxDate: Ye(Tt(/* @__PURE__ */ new Date(), 1)),
8469
+ maxDate: Ye(St(/* @__PURE__ */ new Date(), 1)),
8469
8470
  minDate: Ze(/* @__PURE__ */ new Date()),
8470
8471
  onMonthChange: r,
8471
8472
  showDaysOutsideCurrentMonth: !0,
@@ -8508,7 +8509,7 @@ const zs = ({ transaction: e }) => {
8508
8509
  views: ["day"]
8509
8510
  }
8510
8511
  );
8511
- return /* @__PURE__ */ t(b, { justifyContent: "center", children: /* @__PURE__ */ l(Ti, { dateAdapter: Qn, children: [
8512
+ return /* @__PURE__ */ t(b, { justifyContent: "center", children: /* @__PURE__ */ l(Si, { dateAdapter: Qn, children: [
8512
8513
  i && s,
8513
8514
  !i && s,
8514
8515
  /* @__PURE__ */ t(og, {})
@@ -8527,7 +8528,7 @@ const zs = ({ transaction: e }) => {
8527
8528
  }, sg = (e, n) => {
8528
8529
  switch (e.status) {
8529
8530
  case Je.Paid:
8530
- return e.expectedDate ? T(
8531
+ return e.expectedDate ? S(
8531
8532
  n.paid_on,
8532
8533
  se(
8533
8534
  e.occurredOnDate || e.expectedDate,
@@ -8535,12 +8536,12 @@ const zs = ({ transaction: e }) => {
8535
8536
  )
8536
8537
  ) : n.paid;
8537
8538
  case Je.Missed:
8538
- return T(
8539
+ return S(
8539
8540
  n.missed_on,
8540
8541
  se(e.expectedDate, oe.MONTH_DAY)
8541
8542
  );
8542
8543
  case Je.Upcoming:
8543
- return T(
8544
+ return S(
8544
8545
  n.upcoming_on,
8545
8546
  se(e.expectedDate, oe.MONTH_DAY)
8546
8547
  );
@@ -8731,7 +8732,7 @@ const zs = ({ transaction: e }) => {
8731
8732
  selectedDay: m,
8732
8733
  selectedDayRecurrences: C,
8733
8734
  upcomingRecurrences: f
8734
- } = ze(), [E, y] = g.useState(0), S = (v, R) => {
8735
+ } = ze(), [E, y] = g.useState(0), T = (v, R) => {
8735
8736
  y(R);
8736
8737
  }, A = (v) => {
8737
8738
  a(W.RECURRING_TRANSACTIONS_CLICK_UPCOMING, {
@@ -8772,7 +8773,7 @@ const zs = ({ transaction: e }) => {
8772
8773
  }
8773
8774
  ),
8774
8775
  (i || n) && /* @__PURE__ */ l(b, { children: [
8775
- /* @__PURE__ */ l(qt, { onChange: S, value: E, variant: "fullWidth", children: [
8776
+ /* @__PURE__ */ l(qt, { onChange: T, value: E, variant: "fullWidth", children: [
8776
8777
  /* @__PURE__ */ t(
8777
8778
  et,
8778
8779
  {
@@ -8809,7 +8810,7 @@ const zs = ({ transaction: e }) => {
8809
8810
  {
8810
8811
  onRecurrenceClick: w,
8811
8812
  recurrences: C || u,
8812
- title: m ? T(
8813
+ title: m ? S(
8813
8814
  e.day_transactions,
8814
8815
  se(m, oe.MONTH_DAY)
8815
8816
  ) : e.paid_activity
@@ -8875,7 +8876,7 @@ const zs = ({ transaction: e }) => {
8875
8876
  onResetClick: i ? () => o(i) : void 0,
8876
8877
  recurrences: a || r.slice(0, 5),
8877
8878
  sx: { width: s ? "100%" : "calc(100% - 336px)", mt: 12 },
8878
- title: i ? T(
8879
+ title: i ? S(
8879
8880
  e.day_transactions,
8880
8881
  se(i, oe.MONTH_DAY)
8881
8882
  ) : e.upcoming_activity
@@ -8999,7 +9000,7 @@ const zs = ({ transaction: e }) => {
8999
9000
  accounts: o
9000
9001
  }), s().finally());
9001
9002
  }, [a]);
9002
- const { onEvent: E } = j(), y = pe(), S = Wt("(max-width:288px)"), A = Wt("(min-width:450px)"), w = g.useMemo(() => {
9003
+ const { onEvent: E } = j(), y = pe(), T = Wt("(max-width:288px)"), A = Wt("(min-width:450px)"), w = g.useMemo(() => {
9003
9004
  const O = [
9004
9005
  { color: y.palette.success.main, percentage: `${_ / d}` }
9005
9006
  ];
@@ -9058,7 +9059,7 @@ const zs = ({ transaction: e }) => {
9058
9059
  b,
9059
9060
  {
9060
9061
  sx: [
9061
- v.length >= 10 && S ? { flexDirection: "column" } : { flexDirection: "row", gap: 2 },
9062
+ v.length >= 10 && T ? { flexDirection: "column" } : { flexDirection: "row", gap: 2 },
9062
9063
  {
9063
9064
  alignItems: "baseline",
9064
9065
  width: 180
@@ -9070,7 +9071,7 @@ const zs = ({ transaction: e }) => {
9070
9071
  ]
9071
9072
  }
9072
9073
  ),
9073
- S ? /* @__PURE__ */ t(
9074
+ T ? /* @__PURE__ */ t(
9074
9075
  _g,
9075
9076
  {
9076
9077
  logoSize: B,
@@ -9098,7 +9099,7 @@ const zs = ({ transaction: e }) => {
9098
9099
  amount: O.amount,
9099
9100
  bgcolor: O.bgColor,
9100
9101
  isLargeScreen: A,
9101
- isSmallScreen: S,
9102
+ isSmallScreen: T,
9102
9103
  label: O.label
9103
9104
  },
9104
9105
  `recurrence-legend-${U}`
@@ -9125,7 +9126,7 @@ class Er {
9125
9126
  ).then((i) => i.repeating_transaction);
9126
9127
  deleteRepeatingTransaction = async (n) => this.fetchInstance.delete(`${G.REPEATING_TRANSACTIONS}/${n}`).then((i) => i);
9127
9128
  }
9128
- const Sr = (e) => $a(e.expectedDate, {
9129
+ const Tr = (e) => $a(e.expectedDate, {
9129
9130
  start: Ze(he()),
9130
9131
  end: Ye(he())
9131
9132
  }), si = (e, n) => e + n.amount;
@@ -9215,13 +9216,13 @@ class gg {
9215
9216
  * Returns the expense recurrences for the current month.
9216
9217
  */
9217
9218
  get currentMonthExpenses() {
9218
- return this.expenses.filter(Sr);
9219
+ return this.expenses.filter(Tr);
9219
9220
  }
9220
9221
  /**
9221
9222
  * Returns the income recurrences for the current month.
9222
9223
  */
9223
9224
  get currentMonthIncome() {
9224
- return this.income.filter(Sr);
9225
+ return this.income.filter(Tr);
9225
9226
  }
9226
9227
  /**
9227
9228
  * Calculates the total amount of all expenses for the current month.
@@ -9361,9 +9362,9 @@ const mg = {
9361
9362
  event: "account_details_click_account_name",
9362
9363
  label: n.account_name,
9363
9364
  name: "user_name",
9364
- placeholder: T(n.enter_value, n.account_name),
9365
+ placeholder: S(n.enter_value, n.account_name),
9365
9366
  type: vt.Input,
9366
- validation: (a) => a ? "" : T(n.field_is_required, n.account_name),
9367
+ validation: (a) => a ? "" : S(n.field_is_required, n.account_name),
9367
9368
  valueFormatter: (a) => a
9368
9369
  }
9369
9370
  ];
@@ -9371,7 +9372,7 @@ const mg = {
9371
9372
  i.unshift({
9372
9373
  label: n.account_balance,
9373
9374
  name: "balance",
9374
- placeholder: T(n.enter_value, n.account_balance),
9375
+ placeholder: S(n.enter_value, n.account_balance),
9375
9376
  type: vt.Currency,
9376
9377
  valueFormatter: (o) => P(o, "0,0.00")
9377
9378
  });
@@ -9384,7 +9385,7 @@ const mg = {
9384
9385
  label: n.account_type,
9385
9386
  name: "account_type",
9386
9387
  options: a,
9387
- placeholder: T(n.select_value, n.account_type),
9388
+ placeholder: S(n.select_value, n.account_type),
9388
9389
  type: vt.Select,
9389
9390
  valueFormatter: (o) => a.find((r) => r.value === o)?.label
9390
9391
  });
@@ -9399,7 +9400,7 @@ const mg = {
9399
9400
  label: n.property_type,
9400
9401
  name: "property_type",
9401
9402
  options: a,
9402
- placeholder: T(n.select_value, n.property_type),
9403
+ placeholder: S(n.select_value, n.property_type),
9403
9404
  type: vt.Select,
9404
9405
  valueFormatter: (o) => a.find((r) => r.value === o)?.label
9405
9406
  });
@@ -9410,7 +9411,7 @@ const mg = {
9410
9411
  event: "account_details_click_interest_rate",
9411
9412
  label: a,
9412
9413
  name: o,
9413
- placeholder: T(n.enter_value, a),
9414
+ placeholder: S(n.enter_value, a),
9414
9415
  type: vt.Input,
9415
9416
  validation: (r) => La(r) ? "" : n.error_amount_is_invalid,
9416
9417
  valueFormatter: (r) => La(r) ? vi(r / 100) : r
@@ -9419,7 +9420,7 @@ const mg = {
9419
9420
  return Eo(e) && (i.push({
9420
9421
  label: n.minimum_payment,
9421
9422
  name: "minimum_payment",
9422
- placeholder: T(n.enter_value, n.minimum_payment),
9423
+ placeholder: S(n.enter_value, n.minimum_payment),
9423
9424
  type: vt.Currency,
9424
9425
  valueFormatter: (a) => P(a, "0,0.00")
9425
9426
  }), e.payment_due_at ? i.push({
@@ -9433,23 +9434,23 @@ const mg = {
9433
9434
  }) : i.push({
9434
9435
  label: n.day_payment_due,
9435
9436
  name: "day_payment_is_due",
9436
- placeholder: T(n.enter_value, n.day_payment_due),
9437
+ placeholder: S(n.enter_value, n.day_payment_due),
9437
9438
  type: vt.Date,
9438
- valueFormatter: (a) => T(
9439
+ valueFormatter: (a) => S(
9439
9440
  n.day_of_every_month,
9440
9441
  Ci(a <= 31 ? a : new Date(a).getDate())
9441
9442
  )
9442
9443
  })), fg(e) && i.push({
9443
9444
  label: n.credit_limit,
9444
9445
  name: "credit_limit",
9445
- placeholder: T(n.enter_value, n.credit_limit),
9446
+ placeholder: S(n.enter_value, n.credit_limit),
9446
9447
  type: vt.Currency,
9447
9448
  valueFormatter: (a) => P(a, "0,0.00")
9448
9449
  }), yg(e) && i.push({
9449
9450
  label: n.original_balance,
9450
9451
  minAmount: 1,
9451
9452
  name: "original_balance",
9452
- placeholder: T(n.enter_value, n.original_balance),
9453
+ placeholder: S(n.enter_value, n.original_balance),
9453
9454
  type: vt.Currency,
9454
9455
  valueFormatter: (a) => P(a, "0,0.00")
9455
9456
  }), i;
@@ -9464,7 +9465,7 @@ const mg = {
9464
9465
  default:
9465
9466
  if (i = n.current_balance, a = e.balance, e.minimum_payment && e.payment_due_at) {
9466
9467
  const c = typeof e.payment_due_at == "number" ? new Date(e.payment_due_at * 1e3) : e.payment_due_at;
9467
- o = /* @__PURE__ */ t(p, { component: "strong", variant: "XSmall", children: T(
9468
+ o = /* @__PURE__ */ t(p, { component: "strong", variant: "XSmall", children: S(
9468
9469
  n.payment_due_on,
9469
9470
  P(e.minimum_payment, "0,0.00"),
9470
9471
  se(c, oe.FULL_MONTH_DAY)
@@ -9478,7 +9479,7 @@ const mg = {
9478
9479
  secondValue: r,
9479
9480
  hasAvailableBalance: s
9480
9481
  };
9481
- }, Sg = ({
9482
+ }, Tg = ({
9482
9483
  account: e,
9483
9484
  onRowClick: n,
9484
9485
  listItemProps: i,
@@ -9543,7 +9544,7 @@ const mg = {
9543
9544
  children: n ? /* @__PURE__ */ t(_e, { alignItems: "flex-start", onClick: n, sx: { px: 24 }, children: h }) : h
9544
9545
  }
9545
9546
  );
9546
- }, bi = I(Sg), Tg = ({ remaining: e }) => /* @__PURE__ */ t(
9547
+ }, bi = I(Tg), Sg = ({ remaining: e }) => /* @__PURE__ */ t(
9547
9548
  z,
9548
9549
  {
9549
9550
  sx: {
@@ -9577,7 +9578,7 @@ const Ag = ({ recurrence: e }) => /* @__PURE__ */ l(q, { children: [
9577
9578
  )
9578
9579
  ] }),
9579
9580
  /* @__PURE__ */ t(H, {})
9580
- ] }), Tr = I(Ag), Ig = ({ total: e, type: n }) => {
9581
+ ] }), Sr = I(Ag), Ig = ({ total: e, type: n }) => {
9581
9582
  const { cashflow: i } = x();
9582
9583
  return /* @__PURE__ */ l(q, { children: [
9583
9584
  /* @__PURE__ */ l(
@@ -9652,7 +9653,7 @@ const Ag = ({ recurrence: e }) => /* @__PURE__ */ l(q, { children: [
9652
9653
  {
9653
9654
  subheader: /* @__PURE__ */ t(Ar, { total: u, type: yi.INCOME }),
9654
9655
  sx: { width: "100%" },
9655
- children: c.map((h) => /* @__PURE__ */ t(Tr, { recurrence: h }, h.repeatingTransactionGuid))
9656
+ children: c.map((h) => /* @__PURE__ */ t(Sr, { recurrence: h }, h.repeatingTransactionGuid))
9656
9657
  }
9657
9658
  ) }),
9658
9659
  d.length > 0 && /* @__PURE__ */ t(z, { children: /* @__PURE__ */ t(
@@ -9660,11 +9661,11 @@ const Ag = ({ recurrence: e }) => /* @__PURE__ */ l(q, { children: [
9660
9661
  {
9661
9662
  subheader: /* @__PURE__ */ t(Ar, { total: _, type: yi.EXPENSE }),
9662
9663
  sx: { width: "100%" },
9663
- children: d.map((h) => /* @__PURE__ */ t(Tr, { recurrence: h }, h.repeatingTransactionGuid))
9664
+ children: d.map((h) => /* @__PURE__ */ t(Sr, { recurrence: h }, h.repeatingTransactionGuid))
9664
9665
  }
9665
9666
  ) }),
9666
9667
  /* @__PURE__ */ t(
9667
- Tg,
9668
+ Sg,
9668
9669
  {
9669
9670
  remaining: (s.available_balance || s.balance || 0) + u - _
9670
9671
  }
@@ -9985,9 +9986,9 @@ const Ag = ({ recurrence: e }) => /* @__PURE__ */ l(q, { children: [
9985
9986
  () => a.filter(Ir(o, r)),
9986
9987
  [r, o, a]
9987
9988
  ), m = g.useMemo(
9988
- () => s.reduce((S, A) => S + (A?.balance || 0), 0),
9989
+ () => s.reduce((T, A) => T + (A?.balance || 0), 0),
9989
9990
  [s]
9990
- ), C = _.reduce((S, A) => S + A.amount, 0), f = h.reduce((S, A) => S + A.amount, 0), E = m - C + f, y = e < 725;
9991
+ ), C = _.reduce((T, A) => T + A.amount, 0), f = h.reduce((T, A) => T + A.amount, 0), E = m - C + f, y = e < 725;
9991
9992
  return /* @__PURE__ */ l(b, { sx: { mx: y ? 16 : 0, my: y ? 24 : 42 }, children: [
9992
9993
  /* @__PURE__ */ l(
9993
9994
  b,
@@ -10158,11 +10159,11 @@ const Ag = ({ recurrence: e }) => /* @__PURE__ */ l(q, { children: [
10158
10159
  transform: rotate(360deg);
10159
10160
  }
10160
10161
  `, Pg = () => {
10161
- const { addRepeatingTransaction: e, repeatingTransactions: n } = ze(), { cashflow: i, common: a } = x(), { completeOnboarding: o } = io(), { isDirty: r } = ti(), { isMobile: s } = Ce(), { isCopyLoaded: c, setDisplayedDate: d } = le(), { filter: u, setFilter: _, transactions: h } = Ne(), m = pe(), [C, f] = Et(!0), [E, y] = g.useState(me.EveryMonth), [S, A] = g.useState(1), [w, v] = g.useState(15), [R, B] = Et(!1), [M, D] = Et(1), [k, O] = Et([]), [U, ee] = Et(""), ue = g.useMemo(
10162
- () => h.find((Se) => Se.guid === U),
10162
+ const { addRepeatingTransaction: e, repeatingTransactions: n } = ze(), { cashflow: i, common: a } = x(), { completeOnboarding: o } = io(), { isDirty: r } = ti(), { isMobile: s } = Ce(), { isCopyLoaded: c, setDisplayedDate: d } = le(), { filter: u, setFilter: _, transactions: h } = Ne(), m = pe(), [C, f] = Et(!0), [E, y] = g.useState(me.EveryMonth), [T, A] = g.useState(1), [w, v] = g.useState(15), [R, B] = Et(!1), [M, D] = Et(1), [k, O] = Et([]), [U, ee] = Et(""), ue = g.useMemo(
10163
+ () => h.find((Te) => Te.guid === U),
10163
10164
  [U, h]
10164
10165
  ), te = !!n.filter(
10165
- (Se) => Se.repeating_transaction_type === an.Income
10166
+ (Te) => Te.repeating_transaction_type === an.Income
10166
10167
  ).length, ge = async () => {
10167
10168
  D(2), d(
10168
10169
  // Beginning of the month, 90 days before today
@@ -10172,8 +10173,8 @@ const Ag = ({ recurrence: e }) => /* @__PURE__ */ l(q, { children: [
10172
10173
  }, De = async () => {
10173
10174
  if (!(k.length < 1)) {
10174
10175
  B(!0);
10175
- for (let Se = 0; Se < k.length; Se++) {
10176
- const Oe = k[Se], It = Ga(E, Fe(Oe.date)), Q = {
10176
+ for (let Te = 0; Te < k.length; Te++) {
10177
+ const Oe = k[Te], It = Ga(E, Fe(Oe.date)), Q = {
10177
10178
  account_guid: Oe.account_guid,
10178
10179
  amount: Oe.amount,
10179
10180
  merchant_guid: Oe.merchant_guid,
@@ -10231,13 +10232,13 @@ const Ag = ({ recurrence: e }) => /* @__PURE__ */ l(q, { children: [
10231
10232
  /* @__PURE__ */ t(Xt, { pb: 12, children: i.add_income_title }),
10232
10233
  /* @__PURE__ */ t(ve, { mb: 24, children: i.add_income_description }),
10233
10234
  k.length > 0 && !ue && /* @__PURE__ */ l(q, { children: [
10234
- /* @__PURE__ */ t(ie, { children: k.map((Se, Oe) => /* @__PURE__ */ l(g.Fragment, { children: [
10235
+ /* @__PURE__ */ t(ie, { children: k.map((Te, Oe) => /* @__PURE__ */ l(g.Fragment, { children: [
10235
10236
  /* @__PURE__ */ t(go, { bgcolor: "background.paper", children: ra(
10236
- He(Se.nextDate || Se.date)
10237
+ He(Te.nextDate || Te.date)
10237
10238
  ) }),
10238
- /* @__PURE__ */ t(ho, { transaction: Se }),
10239
+ /* @__PURE__ */ t(ho, { transaction: Te }),
10239
10240
  Oe !== k.length - 1 && /* @__PURE__ */ t(H, {})
10240
- ] }, Se.guid)) }),
10241
+ ] }, Te.guid)) }),
10241
10242
  /* @__PURE__ */ l(b, { alignItems: "center", direction: "row", children: [
10242
10243
  /* @__PURE__ */ t(H, { sx: { flexGrow: 1 } }),
10243
10244
  /* @__PURE__ */ t(
@@ -10254,12 +10255,12 @@ const Ag = ({ recurrence: e }) => /* @__PURE__ */ l(q, { children: [
10254
10255
  ec,
10255
10256
  {
10256
10257
  bgcolor: "background.paper",
10257
- onSearch: (Se) => _({
10258
+ onSearch: (Te) => _({
10258
10259
  ...u,
10259
- custom: (Oe) => Se ? nc(Oe, Se) : fi(Oe)
10260
+ custom: (Oe) => Te ? nc(Oe, Te) : fi(Oe)
10260
10261
  }),
10261
- onSelected: (Se) => {
10262
- ee(Se), f(!1);
10262
+ onSelected: (Te) => {
10263
+ ee(Te), f(!1);
10263
10264
  }
10264
10265
  }
10265
10266
  ),
@@ -10269,7 +10270,7 @@ const Ag = ({ recurrence: e }) => /* @__PURE__ */ l(q, { children: [
10269
10270
  tc,
10270
10271
  {
10271
10272
  bgcolor: "background.paper",
10272
- firstDay: S,
10273
+ firstDay: T,
10273
10274
  frequency: E,
10274
10275
  onFirstDayChange: A,
10275
10276
  onFrequencyChange: y,
@@ -10284,12 +10285,12 @@ const Ag = ({ recurrence: e }) => /* @__PURE__ */ l(q, { children: [
10284
10285
  {
10285
10286
  "aria-disabled": !ue,
10286
10287
  onClick: () => {
10287
- const Se = [...k];
10288
- Se.push({
10288
+ const Te = [...k];
10289
+ Te.push({
10289
10290
  ...ue,
10290
10291
  nextDate: Ga(E, Fe(ue.date)),
10291
10292
  frequency: E
10292
- }), O(Se), ee("");
10293
+ }), O(Te), ee("");
10293
10294
  },
10294
10295
  variant: "contained",
10295
10296
  children: a.confirm_button
@@ -10341,7 +10342,7 @@ const Ag = ({ recurrence: e }) => /* @__PURE__ */ l(q, { children: [
10341
10342
  setSelectedAccounts: o,
10342
10343
  shouldDisableNextDate: r,
10343
10344
  shouldDisablePrevDate: s
10344
- } = le(), { onEvent: c } = j(), { visibleCashAccounts: d } = Ee(), { setFilter: u } = Ne(), { userProfile: _ } = Bt(), { dateRange: h, setSelectedCashAccounts: m } = ti(), { loadRepeatingTransactions: C } = ze(), { cashflow: f } = x(), { isCopyLoaded: E, isInitialized: y } = le(), [S, A] = g.useState(!1);
10345
+ } = le(), { onEvent: c } = j(), { visibleCashAccounts: d } = Ee(), { setFilter: u } = Ne(), { userProfile: _ } = Bt(), { dateRange: h, setSelectedCashAccounts: m } = ti(), { loadRepeatingTransactions: C } = ze(), { cashflow: f } = x(), { isCopyLoaded: E, isInitialized: y } = le(), [T, A] = g.useState(!1);
10345
10346
  return g.useEffect(() => {
10346
10347
  y && C().finally();
10347
10348
  }, [y]), g.useEffect(() => {
@@ -10387,7 +10388,7 @@ const Ag = ({ recurrence: e }) => /* @__PURE__ */ l(q, { children: [
10387
10388
  ce,
10388
10389
  {
10389
10390
  ariaLabelClose: f.close_settings_aria,
10390
- isOpen: S,
10391
+ isOpen: T,
10391
10392
  onClose: () => A(!1),
10392
10393
  shouldShowHeaderBorders: !1,
10393
10394
  title: f.cashflow_settings,
@@ -10500,12 +10501,12 @@ function Vg(e, n, i = 0) {
10500
10501
  const f = (m.interest_rate ?? 0) / 100 / 12, E = m.balance * f;
10501
10502
  let y = m.monthly_payment ?? 0;
10502
10503
  h === 0 && i && (y += i), m.balance += E;
10503
- const S = Math.min(m.balance, y + r);
10504
- if (S <= E) {
10504
+ const T = Math.min(m.balance, y + r);
10505
+ if (T <= E) {
10505
10506
  m.is_impossible = !0;
10506
10507
  continue;
10507
10508
  }
10508
- m.balance -= S, m.balance = m.balance < 0.01 ? 0 : m.balance, o += E, m.balance <= 0 && (r += y), S > 0 && (_ = !0);
10509
+ m.balance -= T, m.balance = m.balance < 0.01 ? 0 : m.balance, o += E, m.balance <= 0 && (r += y), T > 0 && (_ = !0);
10509
10510
  }
10510
10511
  _ && c.setMonth(c.getMonth() + 1);
10511
10512
  }
@@ -10627,13 +10628,13 @@ const un = () => {
10627
10628
  }
10628
10629
  ),
10629
10630
  /* @__PURE__ */ l(ye, { flexDirection: "row", justifyContent: "space-between", sx: { pt: 12, px: 24, pb: 8 }, children: [
10630
- /* @__PURE__ */ t(p, { bold: !0, variant: "XSmall", children: T(o.snowball_drawer_month_header, 1) }),
10631
+ /* @__PURE__ */ t(p, { bold: !0, variant: "XSmall", children: S(o.snowball_drawer_month_header, 1) }),
10631
10632
  /* @__PURE__ */ t(p, { bold: !0, variant: "XSmall", children: o.snowball_drawer_payment_header })
10632
10633
  ] }),
10633
10634
  /* @__PURE__ */ l(ye, { bgcolor: a.palette.background.paper, mb: 24, children: [
10634
10635
  /* @__PURE__ */ l(ye, { alignItems: "center", flexDirection: "row", pl: 24, children: [
10635
10636
  /* @__PURE__ */ t(
10636
- Tn,
10637
+ Sn,
10637
10638
  {
10638
10639
  sx: {
10639
10640
  display: "flex",
@@ -10660,13 +10661,13 @@ const un = () => {
10660
10661
  },
10661
10662
  children: [
10662
10663
  /* @__PURE__ */ l(ye, { flexGrow: 1, children: [
10663
- /* @__PURE__ */ t(p, { variant: "Body", children: T(o.snowball_drawer_debt_label, "A") }),
10664
+ /* @__PURE__ */ t(p, { variant: "Body", children: S(o.snowball_drawer_debt_label, "A") }),
10664
10665
  /* @__PURE__ */ l(p, { color: a.palette.secondary.main, variant: "XSmall", children: [
10665
- T(
10666
+ S(
10666
10667
  o.snowball_drawer_rollover_explainer_pt1,
10667
10668
  "$100"
10668
10669
  ),
10669
- /* @__PURE__ */ t("strong", { children: T(o.snowball_drawer_debt_label, "B") }),
10670
+ /* @__PURE__ */ t("strong", { children: S(o.snowball_drawer_debt_label, "B") }),
10670
10671
  o.snowball_drawer_rollover_explainer_pt2
10671
10672
  ] })
10672
10673
  ] }),
@@ -10689,7 +10690,7 @@ const un = () => {
10689
10690
  ] }),
10690
10691
  /* @__PURE__ */ l(ye, { alignItems: "center", flexDirection: "row", pl: 24, children: [
10691
10692
  /* @__PURE__ */ t(
10692
- Tn,
10693
+ Sn,
10693
10694
  {
10694
10695
  sx: {
10695
10696
  width: 20,
@@ -10711,7 +10712,7 @@ const un = () => {
10711
10712
  pr: 24
10712
10713
  },
10713
10714
  children: [
10714
- /* @__PURE__ */ t(p, { flexGrow: 1, variant: "Body", children: T(o.snowball_drawer_debt_label, "B") }),
10715
+ /* @__PURE__ */ t(p, { flexGrow: 1, variant: "Body", children: S(o.snowball_drawer_debt_label, "B") }),
10715
10716
  /* @__PURE__ */ t(p, { variant: "Body", children: "$400.00" })
10716
10717
  ]
10717
10718
  }
@@ -10719,7 +10720,7 @@ const un = () => {
10719
10720
  ] }),
10720
10721
  /* @__PURE__ */ l(ye, { alignItems: "center", flexDirection: "row", pl: 24, py: 14, children: [
10721
10722
  /* @__PURE__ */ t(
10722
- Tn,
10723
+ Sn,
10723
10724
  {
10724
10725
  sx: {
10725
10726
  width: 20,
@@ -10731,7 +10732,7 @@ const un = () => {
10731
10732
  }
10732
10733
  ),
10733
10734
  /* @__PURE__ */ l(ye, { flexDirection: "row", flexGrow: 1, pr: 24, children: [
10734
- /* @__PURE__ */ t(p, { flexGrow: 1, variant: "Body", children: T(o.snowball_drawer_debt_label, "C") }),
10735
+ /* @__PURE__ */ t(p, { flexGrow: 1, variant: "Body", children: S(o.snowball_drawer_debt_label, "C") }),
10735
10736
  /* @__PURE__ */ t(p, { variant: "Body", children: "$1,000.00" })
10736
10737
  ] })
10737
10738
  ] }),
@@ -10754,13 +10755,13 @@ const un = () => {
10754
10755
  )
10755
10756
  ] }),
10756
10757
  /* @__PURE__ */ l(ye, { flexDirection: "row", justifyContent: "space-between", sx: { pt: 12, px: 24, pb: 8 }, children: [
10757
- /* @__PURE__ */ t(p, { bold: !0, variant: "XSmall", children: T(o.snowball_drawer_month_header, 2) }),
10758
+ /* @__PURE__ */ t(p, { bold: !0, variant: "XSmall", children: S(o.snowball_drawer_month_header, 2) }),
10758
10759
  /* @__PURE__ */ t(p, { bold: !0, variant: "XSmall", children: o.snowball_drawer_payment_header })
10759
10760
  ] }),
10760
10761
  /* @__PURE__ */ l(ye, { bgcolor: a.palette.background.paper, mb: 24, children: [
10761
10762
  /* @__PURE__ */ l(ye, { alignItems: "center", flexDirection: "row", pl: 24, children: [
10762
10763
  /* @__PURE__ */ t(
10763
- Tn,
10764
+ Sn,
10764
10765
  {
10765
10766
  sx: {
10766
10767
  display: "flex",
@@ -10787,13 +10788,13 @@ const un = () => {
10787
10788
  },
10788
10789
  children: [
10789
10790
  /* @__PURE__ */ l(ye, { flexGrow: 1, children: [
10790
- /* @__PURE__ */ t(p, { variant: "Body", children: T(o.snowball_drawer_debt_label, "B") }),
10791
+ /* @__PURE__ */ t(p, { variant: "Body", children: S(o.snowball_drawer_debt_label, "B") }),
10791
10792
  /* @__PURE__ */ l(p, { color: a.palette.secondary.main, variant: "XSmall", children: [
10792
- T(
10793
+ S(
10793
10794
  o.snowball_drawer_rollover_explainer_pt1,
10794
10795
  "$500"
10795
10796
  ),
10796
- /* @__PURE__ */ t("strong", { children: T(o.snowball_drawer_debt_label, "C") }),
10797
+ /* @__PURE__ */ t("strong", { children: S(o.snowball_drawer_debt_label, "C") }),
10797
10798
  o.snowball_drawer_rollover_explainer_pt2
10798
10799
  ] })
10799
10800
  ] }),
@@ -10816,7 +10817,7 @@ const un = () => {
10816
10817
  ] }),
10817
10818
  /* @__PURE__ */ l(ye, { alignItems: "center", flexDirection: "row", pl: 24, children: [
10818
10819
  /* @__PURE__ */ t(
10819
- Tn,
10820
+ Sn,
10820
10821
  {
10821
10822
  sx: {
10822
10823
  width: 20,
@@ -10837,7 +10838,7 @@ const un = () => {
10837
10838
  pr: 24
10838
10839
  },
10839
10840
  children: [
10840
- /* @__PURE__ */ t(p, { flexGrow: 1, variant: "Body", children: T(o.snowball_drawer_debt_label, "C") }),
10841
+ /* @__PURE__ */ t(p, { flexGrow: 1, variant: "Body", children: S(o.snowball_drawer_debt_label, "C") }),
10841
10842
  /* @__PURE__ */ t(p, { variant: "Body", children: "$1,000.00" })
10842
10843
  ]
10843
10844
  }
@@ -10862,13 +10863,13 @@ const un = () => {
10862
10863
  )
10863
10864
  ] }),
10864
10865
  /* @__PURE__ */ l(ye, { flexDirection: "row", justifyContent: "space-between", sx: { pt: 12, px: 24, pb: 8 }, children: [
10865
- /* @__PURE__ */ t(p, { bold: !0, variant: "XSmall", children: T(o.snowball_drawer_month_header, 3) }),
10866
+ /* @__PURE__ */ t(p, { bold: !0, variant: "XSmall", children: S(o.snowball_drawer_month_header, 3) }),
10866
10867
  /* @__PURE__ */ t(p, { bold: !0, variant: "XSmall", children: o.snowball_drawer_payment_header })
10867
10868
  ] }),
10868
10869
  /* @__PURE__ */ l(ye, { bgcolor: a.palette.background.paper, mb: 24, children: [
10869
10870
  /* @__PURE__ */ l(ye, { alignItems: "center", flexDirection: "row", pl: 24, children: [
10870
10871
  /* @__PURE__ */ t(
10871
- Tn,
10872
+ Sn,
10872
10873
  {
10873
10874
  sx: {
10874
10875
  display: "flex",
@@ -10894,7 +10895,7 @@ const un = () => {
10894
10895
  pr: 24
10895
10896
  },
10896
10897
  children: [
10897
- /* @__PURE__ */ t(ye, { flexGrow: 1, children: /* @__PURE__ */ t(p, { variant: "Body", children: T(o.snowball_drawer_debt_label, "C") }) }),
10898
+ /* @__PURE__ */ t(ye, { flexGrow: 1, children: /* @__PURE__ */ t(p, { variant: "Body", children: S(o.snowball_drawer_debt_label, "C") }) }),
10898
10899
  /* @__PURE__ */ l(ye, { children: [
10899
10900
  /* @__PURE__ */ t(p, { variant: "Body", children: "$1,500.00" }),
10900
10901
  /* @__PURE__ */ t(
@@ -10938,7 +10939,7 @@ const un = () => {
10938
10939
  if (!g.useContext(Pn))
10939
10940
  throw new Error("useCategoryUiStore() must be used within the GlobalDataContext");
10940
10941
  return Ee().uiStore;
10941
- }, ga = (e) => e.top_level_category_guid === N.INCOME || e.category_guid === N.INCOME, Xg = (e) => !ga(e) && !dc(e), lc = (e) => Yo.includes(e.top_level_category_guid) || Yo.includes(e.category_guid), dc = (e) => e.top_level_category_guid === N.TRANSFER || e.category_guid === N.TRANSFER, Zg = (e) => !ga(e) && !lc(e) && !dc(e), qg = (e) => e.filter((n) => n.category_guid === n.top_level_category_guid), So = (e, n) => {
10942
+ }, ga = (e) => e.top_level_category_guid === N.INCOME || e.category_guid === N.INCOME, Xg = (e) => !ga(e) && !dc(e), lc = (e) => Yo.includes(e.top_level_category_guid) || Yo.includes(e.category_guid), dc = (e) => e.top_level_category_guid === N.TRANSFER || e.category_guid === N.TRANSFER, Zg = (e) => !ga(e) && !lc(e) && !dc(e), qg = (e) => e.filter((n) => n.category_guid === n.top_level_category_guid), To = (e, n) => {
10942
10943
  const i = [];
10943
10944
  let a = Ze(Yt(/* @__PURE__ */ new Date(), 5));
10944
10945
  const o = /* @__PURE__ */ new Date();
@@ -10946,17 +10947,17 @@ const un = () => {
10946
10947
  i.push({
10947
10948
  x: se(a, oe.MONTH_SHORT),
10948
10949
  y: e.filter((r) => r.year === a.getFullYear() && r.month === a.getMonth() + 1).reduce((r, s) => r + s.total, 0)
10949
- }), a = Tt(a, 1);
10950
+ }), a = St(a, 1);
10950
10951
  return i;
10951
10952
  }, Qg = (e, n) => {
10952
10953
  const i = e.filter(ga);
10953
- return So(i).map((a) => ({ ...a, y: Math.abs(a.y) }));
10954
+ return To(i).map((a) => ({ ...a, y: Math.abs(a.y) }));
10954
10955
  }, Jg = (e, n) => {
10955
10956
  const i = e.filter(lc);
10956
- return So(i).map((a) => ({ ...a, y: Math.abs(a.y) }));
10957
+ return To(i).map((a) => ({ ...a, y: Math.abs(a.y) }));
10957
10958
  }, em = (e, n) => {
10958
10959
  const i = e.filter(Zg);
10959
- return So(i);
10960
+ return To(i);
10960
10961
  }, tm = (e) => {
10961
10962
  const n = [], i = e.filter(
10962
10963
  (r) => r.top_level_category_guid !== N.INCOME && r.top_level_category_guid !== N.TRANSFER && r.total > 0
@@ -10967,7 +10968,7 @@ const un = () => {
10967
10968
  n.push({
10968
10969
  x: se(a, oe.MONTH_SHORT),
10969
10970
  y: i.filter((r) => r.year === a.getFullYear() && r.month === a.getMonth() + 1).reduce((r, s) => r + s.total, 0)
10970
- }), a = Tt(a, 1);
10971
+ }), a = St(a, 1);
10971
10972
  return n;
10972
10973
  }, nm = (e, n) => {
10973
10974
  const i = Qa.includes(n) ? Qg(e) : [], a = Ja.includes(n) ? Jg(e) : [], o = eo.includes(n) ? em(e) : [];
@@ -11059,7 +11060,7 @@ const un = () => {
11059
11060
  ] }),
11060
11061
  _ && /* @__PURE__ */ t(b, { children: e || /* @__PURE__ */ t(sm, {}) })
11061
11062
  ] });
11062
- }, To = I(cm), lm = "#FF7B08";
11063
+ }, So = I(cm), lm = "#FF7B08";
11063
11064
  function dm(e, n) {
11064
11065
  const [i, a, o] = e.replace(/^#/, "").match(/.{1,2}/g).map((s) => parseInt(s, 16)), r = [
11065
11066
  Math.max(0, Math.min(255, Math.round(i * n))),
@@ -11121,7 +11122,7 @@ const _c = ({
11121
11122
  showMark: !1,
11122
11123
  disableHighlight: !0
11123
11124
  });
11124
- const S = (v) => y.findIndex((R) => R?.guid === v);
11125
+ const T = (v) => y.findIndex((R) => R?.guid === v);
11125
11126
  return /* @__PURE__ */ t(
11126
11127
  os,
11127
11128
  {
@@ -11161,10 +11162,10 @@ const _c = ({
11161
11162
  strokeDasharray: "10 5",
11162
11163
  strokeWidth: 1
11163
11164
  },
11164
- [`& .MuiLineElement-series-debt-${S(o ?? "0")}`]: {
11165
+ [`& .MuiLineElement-series-debt-${T(o ?? "0")}`]: {
11165
11166
  opacity: 1
11166
11167
  },
11167
- [`& .MuiAreaElement-series-debt-${S(o ?? "0")}`]: {
11168
+ [`& .MuiAreaElement-series-debt-${T(o ?? "0")}`]: {
11168
11169
  opacity: 1
11169
11170
  },
11170
11171
  ...e
@@ -11501,8 +11502,8 @@ const _c = ({
11501
11502
  return g.useEffect(() => {
11502
11503
  a && e(1);
11503
11504
  }, [a]), !a && !o ? /* @__PURE__ */ t(q, {}) : /* @__PURE__ */ l(ye, { gap: 16, children: [
11504
- /* @__PURE__ */ t(St, { sx: { my: 16, mx: 24, ...n }, children: /* @__PURE__ */ l(
11505
- Sn,
11505
+ /* @__PURE__ */ t(Tt, { sx: { my: 16, mx: 24, ...n }, children: /* @__PURE__ */ l(
11506
+ Tn,
11506
11507
  {
11507
11508
  icon: a ? /* @__PURE__ */ t(aa, {}) : /* @__PURE__ */ t(Xa, { color: "success" }),
11508
11509
  severity: "error",
@@ -11522,8 +11523,8 @@ const _c = ({
11522
11523
  ]
11523
11524
  }
11524
11525
  ) }),
11525
- a && /* @__PURE__ */ t(St, { sx: { mb: 16, mt: 100, mx: 24, ...n }, children: /* @__PURE__ */ l(
11526
- Sn,
11526
+ a && /* @__PURE__ */ t(Tt, { sx: { mb: 16, mt: 100, mx: 24, ...n }, children: /* @__PURE__ */ l(
11527
+ Tn,
11527
11528
  {
11528
11529
  icon: /* @__PURE__ */ t(q, {}),
11529
11530
  severity: "error",
@@ -11541,7 +11542,7 @@ const _c = ({
11541
11542
  }
11542
11543
  ) })
11543
11544
  ] });
11544
- }, Em = I(ym), Sm = () => {
11545
+ }, Em = I(ym), Tm = () => {
11545
11546
  const { debts: e } = x(), { showError: n, showCompleted: i } = un(), [a, o] = g.useState(0);
11546
11547
  return /* @__PURE__ */ l(q, { children: [
11547
11548
  (n || i) && /* @__PURE__ */ t(Em, { setTabValue: o, sx: { mt: -24 } }),
@@ -11577,7 +11578,7 @@ const _c = ({
11577
11578
  /* @__PURE__ */ t(Xn, { index: 0, name: "debt-schedule", value: a, children: /* @__PURE__ */ t(gm, {}) }),
11578
11579
  /* @__PURE__ */ t(Xn, { index: 1, name: "debt-details", value: a, children: /* @__PURE__ */ t(bm, {}) })
11579
11580
  ] });
11580
- }, Tm = I(Sm), Am = ({ isOpen: e, onClose: n, sx: i }) => {
11581
+ }, Sm = I(Tm), Am = ({ isOpen: e, onClose: n, sx: i }) => {
11581
11582
  const { debts: a } = x(), { showError: o, showCompleted: r } = un(), s = o || r ? /* @__PURE__ */ t(q, {}) : /* @__PURE__ */ t(um, {});
11582
11583
  return /* @__PURE__ */ t(
11583
11584
  ce,
@@ -11588,8 +11589,8 @@ const _c = ({
11588
11589
  sx: { ...i },
11589
11590
  title: a.details_title,
11590
11591
  children: /* @__PURE__ */ l(b, { bgcolor: "background.default", children: [
11591
- /* @__PURE__ */ t(To, { customDetailsChart: s }),
11592
- /* @__PURE__ */ t(Tm, {})
11592
+ /* @__PURE__ */ t(So, { customDetailsChart: s }),
11593
+ /* @__PURE__ */ t(Sm, {})
11593
11594
  ] })
11594
11595
  }
11595
11596
  );
@@ -11814,14 +11815,14 @@ const $t = (e) => /* @__PURE__ */ t(p, { fontWeight: 600, variant: "Small", chil
11814
11815
  headerAlign: "right",
11815
11816
  width: 20
11816
11817
  }
11817
- ], C = g.useMemo(() => n.map((y, S) => ({
11818
+ ], C = g.useMemo(() => n.map((y, T) => ({
11818
11819
  ...y,
11819
- id: S,
11820
+ id: T,
11820
11821
  priority: Dm(y)
11821
11822
  })), [n]), f = (y) => {
11822
11823
  const w = y.target.closest("[data-id]")?.getAttribute("data-id"), v = n[Number(w)];
11823
11824
  a?.(v?.guid ?? "");
11824
- }, E = (y) => C.find((S) => S.guid === y)?.id;
11825
+ }, E = (y) => C.find((T) => T.guid === y)?.id;
11825
11826
  return /* @__PURE__ */ t(
11826
11827
  L,
11827
11828
  {
@@ -12013,11 +12014,11 @@ const $t = (e) => /* @__PURE__ */ t(p, { fontWeight: 600, variant: "Small", chil
12013
12014
  "aria-label": "extra-paydown",
12014
12015
  onClick: e,
12015
12016
  sx: { justifyContent: "start", minWidth: 100, mx: 4 },
12016
- children: T(s, P(r, "0,0"))
12017
+ children: S(s, P(r, "0,0"))
12017
12018
  }
12018
12019
  );
12019
12020
  }), Fm = ({ onBackClick: e, sx: n }) => {
12020
- const [i, a] = g.useState(!1), [o, r] = g.useState(!1), [s, c] = g.useState(!1), [d, u] = g.useState(""), { isDesktop: _, isMobile: h } = Ce(), { debts: m } = x(), { onEvent: C } = j(), { isCopyLoaded: f, isInitialized: E, setSelectedAccounts: y } = le(), { setSelectedAccount: S } = Ht(), { selectedDebtPriority: A, setSelectedDebtChartData: w } = un(), { visibleDebtAccounts: v } = Ee(), { goalsLoaded: R, loadGoals: B, monthlyCashFlowProfile: M } = tt(), { debts: D } = sa(), k = g.useMemo(() => {
12021
+ const [i, a] = g.useState(!1), [o, r] = g.useState(!1), [s, c] = g.useState(!1), [d, u] = g.useState(""), { isDesktop: _, isMobile: h } = Ce(), { debts: m } = x(), { onEvent: C } = j(), { isCopyLoaded: f, isInitialized: E, setSelectedAccounts: y } = le(), { setSelectedAccount: T } = Ht(), { selectedDebtPriority: A, setSelectedDebtChartData: w } = un(), { visibleDebtAccounts: v } = Ee(), { goalsLoaded: R, loadGoals: B, monthlyCashFlowProfile: M } = tt(), { debts: D } = sa(), k = g.useMemo(() => {
12021
12022
  const ge = M?.extra_payment ?? 0;
12022
12023
  return Hm(D, A, ge);
12023
12024
  }, [D, A, M]);
@@ -12030,7 +12031,7 @@ const $t = (e) => /* @__PURE__ */ t(p, { fontWeight: 600, variant: "Small", chil
12030
12031
  }, [E]);
12031
12032
  const O = (ge) => u(ge), U = () => {
12032
12033
  const ge = v.find((Re) => Re.guid === d), De = k.find((Re) => Re.guid === d);
12033
- ge && S(ge), De && w(De), a(!0);
12034
+ ge && T(ge), De && w(De), a(!0);
12034
12035
  }, ee = () => C(W.DEBTS_CLICK_FILTER), ue = () => {
12035
12036
  c(!0), C(W.DEBTS_CLICK_SNOWBALL_CTA);
12036
12037
  }, te = () => {
@@ -12103,7 +12104,7 @@ const $t = (e) => /* @__PURE__ */ t(p, { fontWeight: 600, variant: "Small", chil
12103
12104
  ]
12104
12105
  }
12105
12106
  );
12106
- }, TE = I(Fm), Wm = {
12107
+ }, SE = I(Fm), Wm = {
12107
12108
  unnamed_label: "Unnamed Debt"
12108
12109
  };
12109
12110
  function $m(e, n) {
@@ -12176,7 +12177,7 @@ class wr {
12176
12177
  updateMonthlyCashFlowProfile = async (n) => this.fetchInstance.put(`${G.MONTHLY_CASH_FLOW_PROFILE}`, n).then((i) => i.monthly_cash_flow_profile);
12177
12178
  updateRetirementGoal = async (n) => this.fetchInstance.put(`${G.RETIREMENT_GOALS}/${n.guid}`, n).then((i) => i.retirement_goal);
12178
12179
  }
12179
- function Sa({ title: e, subtitle: n }) {
12180
+ function Ta({ title: e, subtitle: n }) {
12180
12181
  return /* @__PURE__ */ l(b, { children: [
12181
12182
  /* @__PURE__ */ t(p, { bold: !0, variant: "Body", children: e }),
12182
12183
  /* @__PURE__ */ t(p, { sx: { fontWeight: 400 }, variant: "Body", children: n })
@@ -12192,10 +12193,10 @@ function mc(e, n) {
12192
12193
  style: "percent",
12193
12194
  minimumFractionDigits: 0,
12194
12195
  maximumFractionDigits: 0
12195
- }, c = n.is_complete ? n.completed_at : n.projected_to_complete_at, d = c ? Fe(c) : /* @__PURE__ */ new Date(), u = T(
12196
+ }, c = n.is_complete ? n.completed_at : n.projected_to_complete_at, d = c ? Fe(c) : /* @__PURE__ */ new Date(), u = S(
12196
12197
  e.goal_percentage,
12197
12198
  vi(a, s)
12198
- ), _ = T(
12199
+ ), _ = S(
12199
12200
  n.is_complete ? e.completed_label : e.goal_projection,
12200
12201
  se(d, oe.MONTH_SHORT_YEAR)
12201
12202
  );
@@ -12263,11 +12264,11 @@ function Km(e) {
12263
12264
  const zm = (e, n) => {
12264
12265
  switch (e) {
12265
12266
  case V.DEBT_TRACK:
12266
- return T(n.zero_state_ongoing, "debt");
12267
+ return S(n.zero_state_ongoing, "debt");
12267
12268
  case V.SAVINGS_TRACK:
12268
- return T(n.zero_state_ongoing, "saving");
12269
+ return S(n.zero_state_ongoing, "saving");
12269
12270
  default:
12270
- return T(n.zero_state_ongoing, "retirement");
12271
+ return S(n.zero_state_ongoing, "retirement");
12271
12272
  }
12272
12273
  }, Ym = (e, n) => n ? P(e, e < 1e3 ? "0" : "0.00a").replace(
12273
12274
  /(\d+)(?:\.0+|(\.\d*?[1-9])0*)([a-zA-Z]* ?\$?)/g,
@@ -12354,7 +12355,7 @@ const zm = (e, n) => {
12354
12355
  const f = C.row;
12355
12356
  return /* @__PURE__ */ l(b, { children: [
12356
12357
  /* @__PURE__ */ t(p, { bold: !0, variant: "Body", children: f.name }),
12357
- /* @__PURE__ */ t(p, { variant: "XSmall", children: T(
12358
+ /* @__PURE__ */ t(p, { variant: "XSmall", children: S(
12358
12359
  n.goal_projection,
12359
12360
  se(
12360
12361
  Fe(f.projected_to_complete_at || 0),
@@ -12457,7 +12458,7 @@ const zm = (e, n) => {
12457
12458
  /* @__PURE__ */ t(ae, { primaryTypographyProps: { variant: "Body" }, children: /* @__PURE__ */ l(b, { alignItems: "center", direction: "row", justifyContent: "space-between", children: [
12458
12459
  /* @__PURE__ */ l(b, { children: [
12459
12460
  /* @__PURE__ */ t(p, { bold: !0, variant: "Body", children: e.name }),
12460
- /* @__PURE__ */ t(p, { variant: "XSmall", children: T(
12461
+ /* @__PURE__ */ t(p, { variant: "XSmall", children: S(
12461
12462
  i.goal_projection,
12462
12463
  se(
12463
12464
  Fe(e.projected_to_complete_at || 0),
@@ -12475,7 +12476,7 @@ const zm = (e, n) => {
12475
12476
  /* @__PURE__ */ t(ae, { primaryTypographyProps: { variant: "Body" }, children: /* @__PURE__ */ l(b, { alignItems: "center", direction: "row", justifyContent: "space-between", children: [
12476
12477
  /* @__PURE__ */ l(b, { children: [
12477
12478
  /* @__PURE__ */ t(p, { bold: !0, variant: "Body", children: e.name }),
12478
- /* @__PURE__ */ t(p, { variant: "XSmall", children: T(
12479
+ /* @__PURE__ */ t(p, { variant: "XSmall", children: S(
12479
12480
  n.completed_label,
12480
12481
  se(
12481
12482
  Fe(e.completed_at || 0),
@@ -12541,7 +12542,7 @@ const zm = (e, n) => {
12541
12542
  }
12542
12543
  )
12543
12544
  ] });
12544
- }, Ta = I(({ trackType: e, onAddGoals: n }) => {
12545
+ }, Sa = I(({ trackType: e, onAddGoals: n }) => {
12545
12546
  const { isMobile: i } = Ce(), { goals: a } = x(), { orderedGoals: o, setSelectedGoal: r } = tt(), s = o.filter((_) => _.track_type === e), c = s.filter(
12546
12547
  (_) => _.track_type === V.SAVINGS_TRACK && !_.has_been_spent || _.track_type !== V.SAVINGS_TRACK && !_.is_complete
12547
12548
  ), d = s.filter(
@@ -12760,7 +12761,7 @@ const zm = (e, n) => {
12760
12761
  /* @__PURE__ */ t(it, {})
12761
12762
  ] }),
12762
12763
  /* @__PURE__ */ t(ce, { isOpen: a, onClose: () => o(!1), title: n.account_details, children: /* @__PURE__ */ l(b, { children: [
12763
- /* @__PURE__ */ t(To, {}),
12764
+ /* @__PURE__ */ t(So, {}),
12764
12765
  /* @__PURE__ */ t(Oc, {})
12765
12766
  ] }) })
12766
12767
  ] });
@@ -12818,7 +12819,7 @@ const zm = (e, n) => {
12818
12819
  color: "text.secondary",
12819
12820
  sx: { textAlign: "center", whiteSpace: "wrap" },
12820
12821
  variant: "Paragraph",
12821
- children: T(o.details_change_account_description, e.name)
12822
+ children: S(o.details_change_account_description, e.name)
12822
12823
  }
12823
12824
  )
12824
12825
  ] }),
@@ -12948,7 +12949,7 @@ const zm = (e, n) => {
12948
12949
  primaryText: n.details_birthday,
12949
12950
  secondaryText: `${se(Fe(i.birthday ?? 0), oe.MONTH_DAY_YEAR)}`,
12950
12951
  zeroStateText: !e.guid && !i.birthday ? n.add_birthday : void 0,
12951
- children: /* @__PURE__ */ t(Ti, { dateAdapter: Qn, children: /* @__PURE__ */ t(
12952
+ children: /* @__PURE__ */ t(Si, { dateAdapter: Qn, children: /* @__PURE__ */ t(
12952
12953
  Ya,
12953
12954
  {
12954
12955
  label: n.details_birthday,
@@ -12970,18 +12971,18 @@ const zm = (e, n) => {
12970
12971
  setNewRetirementGoalAccounts: d,
12971
12972
  setSelectedGoal: u
12972
12973
  } = tt(), [_, h] = g.useState(!1), m = !e.guid, C = i.filter(
12973
- (y) => m ? o.find((S) => S.account_guid === y.guid) : r.find((S) => S.account_guid === y.guid)
12974
+ (y) => m ? o.find((T) => T.account_guid === y.guid) : r.find((T) => T.account_guid === y.guid)
12974
12975
  ), f = i.filter(
12975
- (y) => !r.find((S) => S.account_guid === y.guid)
12976
+ (y) => !r.find((T) => T.account_guid === y.guid)
12976
12977
  ), E = async (y) => {
12977
- const S = y.map((A) => ({
12978
+ const T = y.map((A) => ({
12978
12979
  account_guid: A.guid,
12979
12980
  retirement_goal_guid: e.guid
12980
12981
  }));
12981
12982
  if (m)
12982
- d(S);
12983
+ d(T);
12983
12984
  else
12984
- for (const A of S)
12985
+ for (const A of T)
12985
12986
  await a(A), c(n.alert_account_added);
12986
12987
  u({
12987
12988
  ...s,
@@ -13068,16 +13069,16 @@ const zm = (e, n) => {
13068
13069
  setAlert: h,
13069
13070
  setSelectedGoal: m,
13070
13071
  updateGoal: C
13071
- } = tt(), { user: f } = Bt(), [E, y] = g.useState(!1), S = !_?.guid, A = _?.track_type === V.SAVINGS_TRACK && _.is_complete && !_.has_been_spent, w = g.useMemo(() => {
13072
- const O = S ? d : u;
13072
+ } = tt(), { user: f } = Bt(), [E, y] = g.useState(!1), T = !_?.guid, A = _?.track_type === V.SAVINGS_TRACK && _.is_complete && !_.has_been_spent, w = g.useMemo(() => {
13073
+ const O = T ? d : u;
13073
13074
  return n.filter((U) => O.some((ee) => ee.account_guid === U.guid));
13074
- }, [S, n, d, u]), v = g.useMemo(() => {
13075
+ }, [T, n, d, u]), v = g.useMemo(() => {
13075
13076
  if (!_) return !1;
13076
13077
  const { account_guid: O, track_type: U, name: ee, amount: ue, retirement_age: te } = _;
13077
13078
  return U === V.SAVINGS_TRACK ? O ? !!ee && !!ue : !1 : U === V.RETIREMENT_TRACK ? w.length ? !!ee && !!ue && !!te && !!f.birthday : !1 : !0;
13078
13079
  }, [_, w, f.birthday]);
13079
13080
  let R = a.delete_button, B = () => y(!0);
13080
- S ? (B = () => M(), R = a.save_button) : A && (B = () => k(), R = i.mark_as_complete_button);
13081
+ T ? (B = () => M(), R = a.save_button) : A && (B = () => k(), R = i.mark_as_complete_button);
13081
13082
  const M = async () => {
13082
13083
  if (_) {
13083
13084
  const O = _.track_type;
@@ -13097,12 +13098,12 @@ const zm = (e, n) => {
13097
13098
  ce,
13098
13099
  {
13099
13100
  ariaLabelClose: a.close_aria,
13100
- hasSecondaryAction: S,
13101
+ hasSecondaryAction: T,
13101
13102
  isOpen: !!_,
13102
13103
  isPrimaryDisabled: !v,
13103
13104
  onClose: () => m(void 0),
13104
13105
  onPrimaryAction: B,
13105
- primaryColor: S || A ? "primary" : "error",
13106
+ primaryColor: T || A ? "primary" : "error",
13106
13107
  primaryText: R,
13107
13108
  secondaryColor: "primary",
13108
13109
  title: i.goal_details,
@@ -13119,18 +13120,18 @@ const zm = (e, n) => {
13119
13120
  onPrimaryAction: D,
13120
13121
  primaryColor: "error",
13121
13122
  primaryText: a.delete_button,
13122
- children: /* @__PURE__ */ t(p, { sx: { textWrap: "wrap" }, variant: "Paragraph", children: T(i.delete_description, _?.name || "") })
13123
+ children: /* @__PURE__ */ t(p, { sx: { textWrap: "wrap" }, variant: "Paragraph", children: S(i.delete_description, _?.name || "") })
13123
13124
  }
13124
13125
  )
13125
13126
  ] });
13126
13127
  }), AE = I(({ onBackClick: e, sx: n }) => {
13127
- const { onEvent: i } = j(), { isMobile: a } = Ce(), { visibleAccounts: o } = Ee(), { isCopyLoaded: r, isInitialized: s, setSelectedAccounts: c } = le(), { goals: d, common: u } = x(), { alert: _, goals: h, goalsLoaded: m, loadGoals: C, monthlyCashFlowProfile: f, setAlert: E, retirmentGoals: y } = tt(), [S, A] = g.useState(0), [w, v] = g.useState(!1), R = f?.amount_allocated_for_savings_goals || 0, B = f?.amount_allocated_for_debt_goals || 0, M = f?.amount_allocated_for_retirement_goals || 0, D = r ? T(
13128
+ const { onEvent: i } = j(), { isMobile: a } = Ce(), { visibleAccounts: o } = Ee(), { isCopyLoaded: r, isInitialized: s, setSelectedAccounts: c } = le(), { goals: d, common: u } = x(), { alert: _, goals: h, goalsLoaded: m, loadGoals: C, monthlyCashFlowProfile: f, setAlert: E, retirmentGoals: y } = tt(), [T, A] = g.useState(0), [w, v] = g.useState(!1), R = f?.amount_allocated_for_savings_goals || 0, B = f?.amount_allocated_for_debt_goals || 0, M = f?.amount_allocated_for_retirement_goals || 0, D = r ? S(
13128
13129
  a ? d.tab_subtitle_mobile : d.tab_subtitle,
13129
13130
  P(R, "0,0")
13130
- ) : "", k = r ? T(
13131
+ ) : "", k = r ? S(
13131
13132
  a ? d.tab_subtitle_mobile : d.tab_subtitle,
13132
13133
  P(B, "0,0")
13133
- ) : "", O = r ? T(
13134
+ ) : "", O = r ? S(
13134
13135
  a ? d.tab_subtitle_mobile : d.tab_subtitle,
13135
13136
  P(M, "0,0")
13136
13137
  ) : "";
@@ -13172,28 +13173,28 @@ const zm = (e, n) => {
13172
13173
  onChange: (ge, De) => A(De),
13173
13174
  sx: { bgcolor: "background.paper" },
13174
13175
  textColor: "primary",
13175
- value: te ? !1 : S,
13176
+ value: te ? !1 : T,
13176
13177
  variant: "fullWidth",
13177
13178
  children: [
13178
13179
  /* @__PURE__ */ t(
13179
13180
  et,
13180
13181
  {
13181
13182
  disabled: te,
13182
- label: /* @__PURE__ */ t(Sa, { subtitle: D, title: d.tab_saving_title })
13183
+ label: /* @__PURE__ */ t(Ta, { subtitle: D, title: d.tab_saving_title })
13183
13184
  }
13184
13185
  ),
13185
13186
  /* @__PURE__ */ t(
13186
13187
  et,
13187
13188
  {
13188
13189
  disabled: te,
13189
- label: /* @__PURE__ */ t(Sa, { subtitle: k, title: d.tab_debt_title })
13190
+ label: /* @__PURE__ */ t(Ta, { subtitle: k, title: d.tab_debt_title })
13190
13191
  }
13191
13192
  ),
13192
13193
  /* @__PURE__ */ t(
13193
13194
  et,
13194
13195
  {
13195
13196
  disabled: te,
13196
- label: /* @__PURE__ */ t(Sa, { subtitle: O, title: d.tab_retirement_title })
13197
+ label: /* @__PURE__ */ t(Ta, { subtitle: O, title: d.tab_retirement_title })
13197
13198
  }
13198
13199
  )
13199
13200
  ]
@@ -13215,9 +13216,9 @@ const zm = (e, n) => {
13215
13216
  }
13216
13217
  }
13217
13218
  ) : /* @__PURE__ */ l(q, { children: [
13218
- S === 0 && /* @__PURE__ */ t(Ta, { onAddGoals: ee, trackType: V.SAVINGS_TRACK }),
13219
- S === 1 && /* @__PURE__ */ t(Ta, { onAddGoals: ee, trackType: V.DEBT_TRACK }),
13220
- S === 2 && /* @__PURE__ */ t(Ta, { onAddGoals: ee, trackType: V.RETIREMENT_TRACK })
13219
+ T === 0 && /* @__PURE__ */ t(Sa, { onAddGoals: ee, trackType: V.SAVINGS_TRACK }),
13220
+ T === 1 && /* @__PURE__ */ t(Sa, { onAddGoals: ee, trackType: V.DEBT_TRACK }),
13221
+ T === 2 && /* @__PURE__ */ t(Sa, { onAddGoals: ee, trackType: V.RETIREMENT_TRACK })
13221
13222
  ] })
13222
13223
  ] }),
13223
13224
  /* @__PURE__ */ t(cp, { onClose: ue }),
@@ -13232,13 +13233,13 @@ const zm = (e, n) => {
13232
13233
  }
13233
13234
  ),
13234
13235
  /* @__PURE__ */ t(
13235
- Si,
13236
+ Ti,
13236
13237
  {
13237
13238
  anchorOrigin: { vertical: "bottom", horizontal: "right" },
13238
13239
  autoHideDuration: 3500,
13239
13240
  onClose: () => E(""),
13240
13241
  open: !!_,
13241
- children: /* @__PURE__ */ t(Sn, { onClose: () => E(""), severity: "success", variant: "filled", children: _ })
13242
+ children: /* @__PURE__ */ t(Tn, { onClose: () => E(""), severity: "success", variant: "filled", children: _ })
13242
13243
  }
13243
13244
  )
13244
13245
  ]
@@ -13928,8 +13929,8 @@ const bp = {
13928
13929
  for (let o = 0; o < i.length; o += n)
13929
13930
  a.push(i.slice(o, o + n).map((r) => e[r]));
13930
13931
  return a;
13931
- }, Ep = bc(Io), Sp = bc(Ao), Tp = (e) => {
13932
- const n = Rr(e, Tc), i = Rr(e, Ec), a = (r, s) => {
13932
+ }, Ep = bc(Io), Tp = bc(Ao), Sp = (e) => {
13933
+ const n = Rr(e, Sc), i = Rr(e, Ec), a = (r, s) => {
13933
13934
  const c = r.reduce((u, _) => u + Ic(_), 0), d = r.reduce((u, _) => {
13934
13935
  const h = s(_);
13935
13936
  return Object.keys(h).forEach((m) => u[m] = (u[m] || 0) + h[m]), u;
@@ -13939,7 +13940,7 @@ const bp = {
13939
13940
  );
13940
13941
  };
13941
13942
  return {
13942
- stocks: a(n, Sc),
13943
+ stocks: a(n, Tc),
13943
13944
  bonds: a(i, yc)
13944
13945
  };
13945
13946
  }, Ap = (e) => {
@@ -13950,7 +13951,7 @@ const bp = {
13950
13951
  }), c;
13951
13952
  }, {});
13952
13953
  return {
13953
- stocks: a(n, Sc, bp),
13954
+ stocks: a(n, Tc, bp),
13954
13955
  bonds: a(i, yc, yp)
13955
13956
  };
13956
13957
  }, Ip = (e, n) => Object.fromEntries(
@@ -13960,7 +13961,7 @@ const bp = {
13960
13961
  return {
13961
13962
  [Io[n]]: 100
13962
13963
  };
13963
- }, Sc = (e) => Ac(e, Tc, Ao), Tc = (e) => {
13964
+ }, Tc = (e) => Ac(e, Sc, Ao), Sc = (e) => {
13964
13965
  const {
13965
13966
  large_core_weight: n,
13966
13967
  large_growth_weight: i,
@@ -14001,7 +14002,7 @@ const bp = {
14001
14002
  const a = n(i), o = xo(a);
14002
14003
  return o > 80 && o < 120;
14003
14004
  }), wp = (e, n) => {
14004
- const i = n === wn.Stocks ? Sp : Ep, a = e[n];
14005
+ const i = n === wn.Stocks ? Tp : Ep, a = e[n];
14005
14006
  return !a || !a || Object.keys(a).length === 0 ? i.map((o) => o.map(() => "0%")) : i.map((o) => o.map((r) => vp(a[r] ?? 0)));
14006
14007
  }, xo = (e) => Object.values(e).reduce((n, i) => n + i, 0);
14007
14008
  class Np {
@@ -14015,7 +14016,7 @@ class Np {
14015
14016
  this.globalStore = n, this.api = new Dr(n.endpoint, n.sessionToken), Be(this);
14016
14017
  }
14017
14018
  get analysisChartData() {
14018
- return wp(Tp(this.visibleHoldings), this.analysisType);
14019
+ return wp(Sp(this.visibleHoldings), this.analysisType);
14019
14020
  }
14020
14021
  get analysisDetails() {
14021
14022
  return Ap(this.visibleHoldings)[this.analysisType] || {};
@@ -14085,7 +14086,7 @@ const Dp = /^[ a-zA-ZÀ-ÿ0-9]+$/, Rp = 50, Or = 65, Op = ({
14085
14086
  searchValue: c
14086
14087
  }
14087
14088
  ),
14088
- /* @__PURE__ */ t(St, { sx: { boxShadow: "none" }, children: /* @__PURE__ */ t(ie, { children: /* @__PURE__ */ l(L, { height: e, overflow: "auto", ref: h, children: [
14089
+ /* @__PURE__ */ t(Tt, { sx: { boxShadow: "none" }, children: /* @__PURE__ */ t(ie, { children: /* @__PURE__ */ l(L, { height: e, overflow: "auto", ref: h, children: [
14089
14090
  /* @__PURE__ */ l(L, { height: m.getTotalSize(), position: "relative", children: [
14090
14091
  i && /* @__PURE__ */ t(de, { label: "Loading...", size: 32 }),
14091
14092
  !i && m.getVirtualItems().length > 0 && m.getVirtualItems().map((C) => {
@@ -14697,7 +14698,7 @@ const qp = ({ amount: e, copy: n, trendValue: i }) => {
14697
14698
  selectedData: f,
14698
14699
  setHoveredData: E,
14699
14700
  setSelectedData: y
14700
- } = Os(), { isMobile: S } = Ce(), { onEvent: A } = j(), [w, v] = g.useState(!1), [R, B] = g.useState(6), [M, D] = g.useState(!1), [k, O] = g.useState(!1), [U, ee] = g.useState(!1), ue = async () => {
14701
+ } = Os(), { isMobile: T } = Ce(), { onEvent: A } = j(), [w, v] = g.useState(!1), [R, B] = g.useState(6), [M, D] = g.useState(!1), [k, O] = g.useState(!1), [U, ee] = g.useState(!1), ue = async () => {
14701
14702
  await m(a), await h(R), v(!0);
14702
14703
  };
14703
14704
  g.useEffect(() => {
@@ -14717,7 +14718,7 @@ const qp = ({ amount: e, copy: n, trendValue: i }) => {
14717
14718
  E(null);
14718
14719
  }, Re = () => {
14719
14720
  A(W.NET_WORTH_WIDGET_CLICK_ASSETS_LIABILITIES), O(!0);
14720
- }, Se = async (Q) => {
14721
+ }, Te = async (Q) => {
14721
14722
  const ne = Q[0], Ue = Q[1];
14722
14723
  ne && Ue && B(ed(Ue, ne));
14723
14724
  }, Oe = {
@@ -14736,14 +14737,14 @@ const qp = ({ amount: e, copy: n, trendValue: i }) => {
14736
14737
  {
14737
14738
  accountOptions: c,
14738
14739
  calendarActions: {
14739
- onRangeChanged: Se
14740
+ onRangeChanged: Te
14740
14741
  },
14741
- dateRangeVariant: S ? "timeframetabs" : "timeframebuttons",
14742
+ dateRangeVariant: T ? "timeframetabs" : "timeframebuttons",
14742
14743
  onAccountsFilterClick: () => A(W.NET_WORTH_WIDGET_CLICK_FILTER),
14743
14744
  onBackClick: e,
14744
14745
  showDividerAboveDateSelector: !1,
14745
14746
  sx: {
14746
- p: S ? 0 : 48,
14747
+ p: T ? 0 : 48,
14747
14748
  "& .MuiCardHeader-root": {
14748
14749
  px: 16,
14749
14750
  py: 12
@@ -14762,9 +14763,9 @@ const qp = ({ amount: e, copy: n, trendValue: i }) => {
14762
14763
  /* @__PURE__ */ l(
14763
14764
  b,
14764
14765
  {
14765
- alignItems: S ? "center" : "flex-start",
14766
- direction: S ? "column" : "row",
14767
- spacing: S ? 0 : 48,
14766
+ alignItems: T ? "center" : "flex-start",
14767
+ direction: T ? "column" : "row",
14768
+ spacing: T ? 0 : 48,
14768
14769
  children: [
14769
14770
  /* @__PURE__ */ t(kp, { ...Oe }),
14770
14771
  /* @__PURE__ */ t(Pp, { ...Oe })
@@ -15038,13 +15039,13 @@ const Hr = "PARENT-ENTITY", m1 = (e, n) => ({
15038
15039
  } = o;
15039
15040
  for (const m of a.filter((C) => C.entity_guid === Hr)) {
15040
15041
  const C = m1(m.notification_type, i), f = a.filter(
15041
- (y) => y.entity_guid !== Hr && y.notification_type === m.notification_type && e.some((S) => S.guid === y.entity_guid)
15042
+ (y) => y.entity_guid !== Hr && y.notification_type === m.notification_type && e.some((T) => T.guid === y.entity_guid)
15042
15043
  ), E = [];
15043
15044
  s && !u && m.email_channel && E.push(i.delivery_method_email_label), c && !_ && m.sms_channel && E.push(i.delivery_method_sms_label), d && !h && m.push_channel && E.push(i.delivery_method_push_label), r.push({
15044
15045
  ...m,
15045
15046
  children: f.map((y) => ({
15046
15047
  ...y,
15047
- account: e.find((S) => S.guid === y.entity_guid),
15048
+ account: e.find((T) => T.guid === y.entity_guid),
15048
15049
  label: C
15049
15050
  })),
15050
15051
  deliveryMethodsLabel: E.join(", "),
@@ -15377,11 +15378,11 @@ const f1 = I(() => {
15377
15378
  birthday: h.birthday,
15378
15379
  postal_code: h.postal_code,
15379
15380
  credit_score: h.credit_score
15380
- }), [f, E] = g.useState(!1), [y, S] = g.useState(!1), A = g.useRef(null), w = m.email && !h.email_is_verified && !f, v = m.phone && !h.phone_is_verified && !f;
15381
+ }), [f, E] = g.useState(!1), [y, T] = g.useState(!1), A = g.useRef(null), w = m.email && !h.email_is_verified && !f, v = m.phone && !h.phone_is_verified && !f;
15381
15382
  g.useEffect(() => {
15382
15383
  if (n) {
15383
15384
  const O = (U) => {
15384
- A.current && !A.current.contains(U.target) && f && S(!0);
15385
+ A.current && !A.current.contains(U.target) && f && T(!0);
15385
15386
  };
15386
15387
  return document.addEventListener("mousedown", O), () => {
15387
15388
  document.removeEventListener("mousedown", O);
@@ -15396,9 +15397,9 @@ const f1 = I(() => {
15396
15397
  }, B = async () => {
15397
15398
  await _({ ...h, ...m }), E(!1);
15398
15399
  }, M = () => {
15399
- S(!1), n && n();
15400
+ T(!1), n && n();
15400
15401
  }, D = () => {
15401
- S(!1);
15402
+ T(!1);
15402
15403
  }, k = (O) => {
15403
15404
  const U = {
15404
15405
  ...m,
@@ -15475,7 +15476,7 @@ const f1 = I(() => {
15475
15476
  ] })
15476
15477
  ] }),
15477
15478
  /* @__PURE__ */ l(b, { direction: s ? "column" : "row", spacing: s ? 44 : 24, sx: { mb: 44 }, children: [
15478
- /* @__PURE__ */ t(Ti, { dateAdapter: Qn, children: /* @__PURE__ */ t(
15479
+ /* @__PURE__ */ t(Si, { dateAdapter: Qn, children: /* @__PURE__ */ t(
15479
15480
  Ya,
15480
15481
  {
15481
15482
  label: o.birthdate,
@@ -15550,9 +15551,9 @@ const f1 = I(() => {
15550
15551
  }
15551
15552
  )
15552
15553
  ] });
15553
- }, S1 = I(E1);
15554
+ }, T1 = I(E1);
15554
15555
  var st = /* @__PURE__ */ ((e) => (e.Delete = "delete", e.Edit = "edit", e.Token = "token", e))(st || {});
15555
- const T1 = ({
15556
+ const S1 = ({
15556
15557
  devices: e,
15557
15558
  onClickDeviceEdit: n,
15558
15559
  onClickDeviceDelete: i
@@ -15643,7 +15644,7 @@ const T1 = ({
15643
15644
  alignItems: "center",
15644
15645
  p: "12px 16px"
15645
15646
  },
15646
- children: /* @__PURE__ */ t(p, { color: a.palette.text.secondary, variant: "Small", children: T(
15647
+ children: /* @__PURE__ */ t(p, { color: a.palette.text.secondary, variant: "Small", children: S(
15647
15648
  o.mobile_devices_count,
15648
15649
  /* @__PURE__ */ t("b", { children: e.length }),
15649
15650
  /* @__PURE__ */ t("b", { children: e.length })
@@ -15758,7 +15759,7 @@ const T1 = ({
15758
15759
  borderColor: a.palette.border.light,
15759
15760
  p: "12px 16px"
15760
15761
  },
15761
- children: /* @__PURE__ */ t(p, { color: a.palette.text.secondary, variant: "Small", children: T(
15762
+ children: /* @__PURE__ */ t(p, { color: a.palette.text.secondary, variant: "Small", children: S(
15762
15763
  o.mobile_devices_count,
15763
15764
  /* @__PURE__ */ t("b", { children: e.length }),
15764
15765
  /* @__PURE__ */ t("b", { children: e.length })
@@ -15829,19 +15830,19 @@ const T1 = ({
15829
15830
  }
15830
15831
  }
15831
15832
  };
15832
- }, S = async () => {
15833
+ }, T = async () => {
15833
15834
  if (e === st.Token && i(), e === st.Edit && a) {
15834
15835
  const A = { ...a, name: m };
15835
15836
  (await d(A)).success ? (_(c.mobile_devices_edit_success, "success"), h()) : _(
15836
- T(c.mobile_devices_edit_error, a.name),
15837
+ S(c.mobile_devices_edit_error, a.name),
15837
15838
  "error"
15838
15839
  ), i();
15839
15840
  }
15840
15841
  e === st.Delete && a && ((await u(a.guid)).success ? (_(
15841
- T(c.mobile_devices_delete_success, a.name),
15842
+ S(c.mobile_devices_delete_success, a.name),
15842
15843
  "success"
15843
15844
  ), h()) : _(
15844
- T(c.mobile_devices_delete_error, a.name),
15845
+ S(c.mobile_devices_delete_error, a.name),
15845
15846
  "error"
15846
15847
  ), i());
15847
15848
  };
@@ -15851,7 +15852,7 @@ const T1 = ({
15851
15852
  copy: { title: f() },
15852
15853
  isOpen: n,
15853
15854
  onClose: i,
15854
- onPrimaryAction: S,
15855
+ onPrimaryAction: T,
15855
15856
  onSecondaryAction: i,
15856
15857
  primaryColor: e === st.Delete ? "error" : void 0,
15857
15858
  primaryText: E(),
@@ -15892,7 +15893,7 @@ const T1 = ({
15892
15893
  h(A), u({ open: !0, type: st.Edit });
15893
15894
  }, y = (A) => {
15894
15895
  h(A), u({ open: !0, type: st.Delete });
15895
- }, S = () => {
15896
+ }, T = () => {
15896
15897
  u({ open: !1, type: "" }), h(void 0);
15897
15898
  };
15898
15899
  return !i || !a ? /* @__PURE__ */ t(de, {}) : /* @__PURE__ */ l(
@@ -15916,7 +15917,7 @@ const T1 = ({
15916
15917
  onClickDeviceEdit: E
15917
15918
  }
15918
15919
  ) : /* @__PURE__ */ t(
15919
- T1,
15920
+ S1,
15920
15921
  {
15921
15922
  devices: r,
15922
15923
  onClickDeviceDelete: y,
@@ -15935,7 +15936,7 @@ const T1 = ({
15935
15936
  deviceToken: m,
15936
15937
  dialogType: d.type,
15937
15938
  isOpen: d.open,
15938
- onClose: S
15939
+ onClose: T
15939
15940
  }
15940
15941
  )
15941
15942
  ]
@@ -16113,7 +16114,7 @@ const T1 = ({
16113
16114
  ({ onProfileUpdated: e, profile: n }) => {
16114
16115
  const { common: i, recurring: a, settings: o } = x(), { updateAccount: r } = Ee(), s = n.notification_type === Ct.DebtPaymentReminder, [c, d] = g.useState(!1), [u, _] = g.useState(n.threshold || 0), [h, m] = g.useState(
16115
16116
  n.account?.day_payment_is_due || 0
16116
- ), C = n.account?.name || n.account?.feed_name || "", f = n.account?.day_payment_is_due ? T(
16117
+ ), C = n.account?.name || n.account?.feed_name || "", f = n.account?.day_payment_is_due ? S(
16117
16118
  o.notification_debt_payment_date,
16118
16119
  Ci(n.account?.day_payment_is_due)
16119
16120
  ) : o.notification_debt_payment_zero_state, E = s ? f : P(n.threshold ?? 0, "0,0"), y = async () => {
@@ -16153,13 +16154,13 @@ const T1 = ({
16153
16154
  onClose: () => d(!1),
16154
16155
  onPrimaryAction: y,
16155
16156
  primaryText: i.save_button,
16156
- children: s ? /* @__PURE__ */ t(Ti, { dateAdapter: Qn, children: /* @__PURE__ */ t(
16157
+ children: s ? /* @__PURE__ */ t(Si, { dateAdapter: Qn, children: /* @__PURE__ */ t(
16157
16158
  ja,
16158
16159
  {
16159
16160
  maxDate: Ye(/* @__PURE__ */ new Date()),
16160
16161
  minDate: Ze(/* @__PURE__ */ new Date()),
16161
- onChange: (S) => {
16162
- m(S.getDate());
16162
+ onChange: (T) => {
16163
+ m(T.getDate());
16163
16164
  },
16164
16165
  slots: {
16165
16166
  // Hides the arrows
@@ -16181,7 +16182,7 @@ const T1 = ({
16181
16182
  autoFocus: !0,
16182
16183
  fullWidth: !0,
16183
16184
  minAmount: 0,
16184
- setAmount: (S) => _(Number(S) || 0),
16185
+ setAmount: (T) => _(Number(T) || 0),
16185
16186
  sx: { ".MuiTypography-Body": { p: 0 } }
16186
16187
  }
16187
16188
  )
@@ -16536,7 +16537,7 @@ const T1 = ({
16536
16537
  ] }),
16537
16538
  /* @__PURE__ */ t(b, { sx: { flexDirection: { xs: "column", md: "row" }, gap: 12 }, children: [0, 1].map((_) => {
16538
16539
  const h = _ === 0 ? 0 : u, m = _ === 0 ? u : i.length, C = i.slice(h, m);
16539
- return /* @__PURE__ */ t(b, { sx: { flex: 1, gap: 12, maxWidth: { md: "calc(50% - 6px)" } }, children: C.map(({ guid: f, icon: E, topics: y, title: S }, A) => {
16540
+ return /* @__PURE__ */ t(b, { sx: { flex: 1, gap: 12, maxWidth: { md: "calc(50% - 6px)" } }, children: C.map(({ guid: f, icon: E, topics: y, title: T }, A) => {
16540
16541
  const w = A + h;
16541
16542
  return /* @__PURE__ */ l(
16542
16543
  Ai,
@@ -16564,7 +16565,7 @@ const T1 = ({
16564
16565
  sx: { height: 64, p: "14px 24px" },
16565
16566
  children: /* @__PURE__ */ l(b, { sx: { alignItems: "center", flexDirection: "row", gap: 12 }, children: [
16566
16567
  /* @__PURE__ */ t($, { name: E, size: 24 }),
16567
- /* @__PURE__ */ t(p, { variant: "Body", children: S })
16568
+ /* @__PURE__ */ t(p, { variant: "Body", children: T })
16568
16569
  ] })
16569
16570
  }
16570
16571
  ),
@@ -16581,7 +16582,7 @@ const T1 = ({
16581
16582
  {
16582
16583
  "aria-label": v,
16583
16584
  divider: !0,
16584
- onClick: () => s({ guid: f, category: S, pageTitle: v, topicKey: R }),
16585
+ onClick: () => s({ guid: f, category: T, pageTitle: v, topicKey: R }),
16585
16586
  sx: {
16586
16587
  pl: "6px !important",
16587
16588
  borderColor: "border.light",
@@ -16906,12 +16907,12 @@ const T1 = ({
16906
16907
  X,
16907
16908
  {
16908
16909
  items: [
16909
- T(
16910
+ S(
16910
16911
  e.accounts_overview.edit_account_step_1_instruction,
16911
16912
  /* @__PURE__ */ t("b", { children: e.accounts_overview.edit_account_step_1_bold })
16912
16913
  ),
16913
16914
  e.accounts_overview.edit_account_step_2_instruction,
16914
- T(
16915
+ S(
16915
16916
  e.accounts_overview.edit_account_step_3_instruction,
16916
16917
  /* @__PURE__ */ t("b", { children: e.accounts_overview.edit_account_step_3_bold_1 }),
16917
16918
  /* @__PURE__ */ t("b", { children: e.accounts_overview.edit_account_step_3_bold_2 }),
@@ -16942,15 +16943,15 @@ const T1 = ({
16942
16943
  X,
16943
16944
  {
16944
16945
  items: [
16945
- T(
16946
+ S(
16946
16947
  e.accounts_overview.add_account_step_1_instruction,
16947
16948
  /* @__PURE__ */ t("b", { children: e.accounts_overview.add_account_step_1_bold })
16948
16949
  ),
16949
- T(
16950
+ S(
16950
16951
  e.accounts_overview.add_account_step_2_instruction,
16951
16952
  /* @__PURE__ */ t("b", { children: e.accounts_overview.add_account_step_2_bold })
16952
16953
  ),
16953
- T(
16954
+ S(
16954
16955
  e.accounts_overview.add_account_step_3_instruction,
16955
16956
  /* @__PURE__ */ t("b", { children: e.accounts_overview.add_account_step_3_bold })
16956
16957
  ),
@@ -16963,7 +16964,7 @@ const T1 = ({
16963
16964
  /* @__PURE__ */ t(
16964
16965
  F,
16965
16966
  {
16966
- content: T(
16967
+ content: S(
16967
16968
  e.accounts_overview.exclude_account_info_text,
16968
16969
  /* @__PURE__ */ t("b", { children: e.accounts_overview.exclude_account_info_bold_1 }),
16969
16970
  /* @__PURE__ */ t("b", { children: e.accounts_overview.exclude_account_info_bold_2 }),
@@ -16977,11 +16978,11 @@ const T1 = ({
16977
16978
  X,
16978
16979
  {
16979
16980
  items: [
16980
- T(
16981
+ S(
16981
16982
  e.accounts_overview.hide_account_step_1_instruction,
16982
16983
  /* @__PURE__ */ t("b", { children: e.accounts_overview.hide_account_step_1_bold })
16983
16984
  ),
16984
- T(
16985
+ S(
16985
16986
  e.accounts_overview.hide_account_step_2_instruction,
16986
16987
  /* @__PURE__ */ t("b", { children: e.accounts_overview.hide_account_step_2_bold })
16987
16988
  )
@@ -16994,11 +16995,11 @@ const T1 = ({
16994
16995
  X,
16995
16996
  {
16996
16997
  items: [
16997
- T(
16998
+ S(
16998
16999
  e.accounts_overview.unhide_account_step_1_instruction,
16999
17000
  /* @__PURE__ */ t("b", { children: e.accounts_overview.unhide_account_step_1_bold })
17000
17001
  ),
17001
- T(
17002
+ S(
17002
17003
  e.accounts_overview.unhide_account_step_2_instruction,
17003
17004
  /* @__PURE__ */ t("b", { children: e.accounts_overview.unhide_account_step_2_bold })
17004
17005
  )
@@ -17058,7 +17059,7 @@ const T1 = ({
17058
17059
  {
17059
17060
  items: [
17060
17061
  e.need_to_fix_a_broken_account.step_1,
17061
- T(
17062
+ S(
17062
17063
  e.need_to_fix_a_broken_account.step_2,
17063
17064
  /* @__PURE__ */ t("b", { children: e.need_to_fix_a_broken_account.step_2_bold })
17064
17065
  ),
@@ -17092,13 +17093,13 @@ const T1 = ({
17092
17093
  {
17093
17094
  items: [
17094
17095
  e.seeing_duplicate_accounts.step_1_instruction,
17095
- T(
17096
+ S(
17096
17097
  e.seeing_duplicate_accounts.step_2_instruction,
17097
17098
  /* @__PURE__ */ t("b", { children: e.seeing_duplicate_accounts.step_2_bold }),
17098
17099
  /* @__PURE__ */ t("b", { children: e.seeing_duplicate_accounts.step_2_bold_2 })
17099
17100
  ),
17100
17101
  e.seeing_duplicate_accounts.step_3_instruction,
17101
- T(
17102
+ S(
17102
17103
  e.seeing_duplicate_accounts.step_4_instruction,
17103
17104
  /* @__PURE__ */ t("b", { children: e.seeing_duplicate_accounts.step_4_bold })
17104
17105
  )
@@ -17125,11 +17126,11 @@ const T1 = ({
17125
17126
  X,
17126
17127
  {
17127
17128
  items: [
17128
- T(
17129
+ S(
17129
17130
  i.overview_list_item_1_text,
17130
17131
  /* @__PURE__ */ t("b", { children: i.overview_list_item_1_bold })
17131
17132
  ),
17132
- T(
17133
+ S(
17133
17134
  i.overview_list_item_2_text,
17134
17135
  /* @__PURE__ */ t("b", { children: i.overview_list_item_2_bold })
17135
17136
  )
@@ -17151,11 +17152,11 @@ const T1 = ({
17151
17152
  X,
17152
17153
  {
17153
17154
  items: [
17154
- T(
17155
+ S(
17155
17156
  i.adjusting_income_list_items_1_text,
17156
17157
  /* @__PURE__ */ t("b", { children: i.adjusting_income_list_items_1_bold })
17157
17158
  ),
17158
- T(
17159
+ S(
17159
17160
  i.adjusting_income_list_items_2_text,
17160
17161
  /* @__PURE__ */ t("b", { children: i.adjusting_income_list_items_2_bold })
17161
17162
  )
@@ -17178,7 +17179,7 @@ const T1 = ({
17178
17179
  items: [
17179
17180
  i.create_budget_list_items_1,
17180
17181
  i.create_budget_list_items_2,
17181
- T(
17182
+ S(
17182
17183
  i.create_budget_list_items_3,
17183
17184
  /* @__PURE__ */ t("b", { children: i.create_budget_list_items_3_bold_1 }),
17184
17185
  /* @__PURE__ */ t("b", { children: i.create_budget_list_items_3_bold_2 }),
@@ -17233,7 +17234,7 @@ const T1 = ({
17233
17234
  content: /* @__PURE__ */ t(
17234
17235
  F,
17235
17236
  {
17236
- content: T(
17237
+ content: S(
17237
17238
  e.cashflow_overview.expense_details_instruction,
17238
17239
  /* @__PURE__ */ t("b", { children: e.cashflow_overview.edit_expense_details_bold_1 })
17239
17240
  ),
@@ -17270,7 +17271,7 @@ const T1 = ({
17270
17271
  content: /* @__PURE__ */ t(
17271
17272
  F,
17272
17273
  {
17273
- content: T(
17274
+ content: S(
17274
17275
  n.overview_desc,
17275
17276
  /* @__PURE__ */ t("b", { children: n.snowball_method })
17276
17277
  )
@@ -17300,19 +17301,19 @@ const T1 = ({
17300
17301
  X,
17301
17302
  {
17302
17303
  items: [
17303
- T(
17304
+ S(
17304
17305
  n.debt_prioritization_list_1_item_1,
17305
17306
  /* @__PURE__ */ t("b", { children: n.debt_prioritization_list_1_item_1_bold })
17306
17307
  ),
17307
- T(
17308
+ S(
17308
17309
  n.debt_prioritization_list_1_item_2,
17309
17310
  /* @__PURE__ */ t("b", { children: n.debt_prioritization_list_1_item_2_bold })
17310
17311
  ),
17311
- T(
17312
+ S(
17312
17313
  n.debt_prioritization_list_1_item_3,
17313
17314
  /* @__PURE__ */ t("b", { children: n.debt_prioritization_list_1_item_3_bold })
17314
17315
  ),
17315
- T(
17316
+ S(
17316
17317
  n.debt_prioritization_list_1_item_3,
17317
17318
  /* @__PURE__ */ t("b", { children: n.debt_prioritization_list_1_item_3_bold })
17318
17319
  )
@@ -17344,15 +17345,15 @@ const T1 = ({
17344
17345
  X,
17345
17346
  {
17346
17347
  items: [
17347
- T(
17348
+ S(
17348
17349
  n.debt_chart_list_item_1,
17349
17350
  /* @__PURE__ */ t("b", { children: n.debt_chart_list_item_1_bold })
17350
17351
  ),
17351
- T(
17352
+ S(
17352
17353
  n.debt_chart_list_item_2,
17353
17354
  /* @__PURE__ */ t("b", { children: n.debt_chart_list_item_2_bold })
17354
17355
  ),
17355
- T(
17356
+ S(
17356
17357
  n.debt_chart_list_item_3,
17357
17358
  /* @__PURE__ */ t("b", { children: n.debt_chart_list_item_3_bold })
17358
17359
  )
@@ -17393,7 +17394,7 @@ const T1 = ({
17393
17394
  {
17394
17395
  items: [
17395
17396
  n.debt_details_list_1_item_1,
17396
- T(
17397
+ S(
17397
17398
  n.debt_details_list_1_item_2,
17398
17399
  /* @__PURE__ */ t("b", { children: n.debt_details_list_1_item_2_bold })
17399
17400
  )
@@ -17407,7 +17408,7 @@ const T1 = ({
17407
17408
  {
17408
17409
  items: [
17409
17410
  n.debt_details_list_2_item_1,
17410
- T(
17411
+ S(
17411
17412
  n.debt_details_list_2_item_2,
17412
17413
  /* @__PURE__ */ t("b", { children: n.debt_details_list_2_item_2_bold })
17413
17414
  ),
@@ -17432,7 +17433,7 @@ const T1 = ({
17432
17433
  items: [
17433
17434
  n.hiding_accounts_list_1_item_1,
17434
17435
  n.hiding_accounts_list_1_item_2,
17435
- T(
17436
+ S(
17436
17437
  n.hiding_accounts_list_1_item_3,
17437
17438
  /* @__PURE__ */ t("b", { children: n.hiding_accounts_list_1_item_3_bold })
17438
17439
  )
@@ -17446,7 +17447,7 @@ const T1 = ({
17446
17447
  {
17447
17448
  items: [
17448
17449
  n.hiding_accounts_list_2_item_1,
17449
- T(
17450
+ S(
17450
17451
  n.hiding_accounts_list_2_item_2,
17451
17452
  /* @__PURE__ */ t("b", { children: n.hiding_accounts_list_2_item_2_bold })
17452
17453
  )
@@ -17466,11 +17467,11 @@ const T1 = ({
17466
17467
  X,
17467
17468
  {
17468
17469
  items: [
17469
- T(
17470
+ S(
17470
17471
  n.extra_payments_list_2_item_1,
17471
17472
  /* @__PURE__ */ t("b", { children: n.extra_payments_list_2_item_1_bold })
17472
17473
  ),
17473
- T(
17474
+ S(
17474
17475
  n.extra_payments_list_2_item_2,
17475
17476
  /* @__PURE__ */ t("b", { children: n.extra_payments_list_2_item_2_bold })
17476
17477
  )
@@ -17518,20 +17519,20 @@ const T1 = ({
17518
17519
  X,
17519
17520
  {
17520
17521
  items: [
17521
- T(
17522
+ S(
17522
17523
  i.data_private_secure_step1,
17523
17524
  /* @__PURE__ */ t("b", { children: i.encryption_firewalls_bold_text })
17524
17525
  ),
17525
- T(
17526
+ S(
17526
17527
  i.data_private_secure_step2,
17527
17528
  /* @__PURE__ */ t("b", { children: i.secure_authentication_bold_text })
17528
17529
  ),
17529
- T(
17530
+ S(
17530
17531
  i.data_private_secure_step3,
17531
17532
  /* @__PURE__ */ t("b", { children: i.privacy_protection_bold_text }),
17532
17533
  /* @__PURE__ */ t("b", { children: i.not_bold_text })
17533
17534
  ),
17534
- T(
17535
+ S(
17535
17536
  i.data_private_secure_step4,
17536
17537
  /* @__PURE__ */ t("b", { children: i.policy_updates_bold_text })
17537
17538
  )
@@ -17552,11 +17553,11 @@ const T1 = ({
17552
17553
  X,
17553
17554
  {
17554
17555
  items: [
17555
- T(
17556
+ S(
17556
17557
  i.transactions_categorized_step1,
17557
17558
  /* @__PURE__ */ t("b", { children: i.checks_atm_withdrawals_bold_text })
17558
17559
  ),
17559
- T(
17560
+ S(
17560
17561
  i.transactions_categorized_step2,
17561
17562
  /* @__PURE__ */ t("b", { children: i.limited_transaction_details_bold_text })
17562
17563
  )
@@ -17574,11 +17575,11 @@ const T1 = ({
17574
17575
  X,
17575
17576
  {
17576
17577
  items: [
17577
- T(
17578
+ S(
17578
17579
  i.transactions_uncategorized_step1,
17579
17580
  /* @__PURE__ */ t("b", { children: i.transactions_bold_text })
17580
17581
  ),
17581
- T(
17582
+ S(
17582
17583
  i.transactions_uncategorized_step2,
17583
17584
  /* @__PURE__ */ t("b", { children: i.categorize_bold_text })
17584
17585
  ),
@@ -17621,16 +17622,16 @@ const T1 = ({
17621
17622
  X,
17622
17623
  {
17623
17624
  items: [
17624
- T(
17625
+ S(
17625
17626
  i.display_issues_step1,
17626
17627
  /* @__PURE__ */ t("b", { children: i.f12_bold_text })
17627
17628
  ),
17628
- T(
17629
+ S(
17629
17630
  i.display_issues_step2,
17630
17631
  /* @__PURE__ */ t("b", { children: i.browser_mode_bold_text })
17631
17632
  ),
17632
17633
  i.display_issues_step3,
17633
- T(
17634
+ S(
17634
17635
  i.display_issues_step4,
17635
17636
  /* @__PURE__ */ t("b", { children: i.document_mode_bold_text })
17636
17637
  ),
@@ -17666,15 +17667,15 @@ const T1 = ({
17666
17667
  X,
17667
17668
  {
17668
17669
  items: [
17669
- T(
17670
+ S(
17670
17671
  n.setting_goals_step1,
17671
17672
  /* @__PURE__ */ t("b", { children: n.savings_bold_text })
17672
17673
  ),
17673
- T(
17674
+ S(
17674
17675
  n.setting_goals_step2,
17675
17676
  /* @__PURE__ */ t("b", { children: n.debt_payoff_bold_text })
17676
17677
  ),
17677
- T(
17678
+ S(
17678
17679
  n.setting_goals_step3,
17679
17680
  /* @__PURE__ */ t("b", { children: n.retirement_bold_text })
17680
17681
  )
@@ -17694,11 +17695,11 @@ const T1 = ({
17694
17695
  X,
17695
17696
  {
17696
17697
  items: [
17697
- T(
17698
+ S(
17698
17699
  n.create_goal_step1,
17699
17700
  /* @__PURE__ */ t("b", { children: n.add_goal_bold_text })
17700
17701
  ),
17701
- T(
17702
+ S(
17702
17703
  n.create_goal_step2,
17703
17704
  /* @__PURE__ */ t("b", { children: n.savings_bold_text }),
17704
17705
  /* @__PURE__ */ t("b", { children: n.debt_payoff_bold_text }),
@@ -17706,7 +17707,7 @@ const T1 = ({
17706
17707
  ),
17707
17708
  n.create_goal_step3,
17708
17709
  n.create_goal_step4,
17709
- T(
17710
+ S(
17710
17711
  n.create_goal_step5,
17711
17712
  /* @__PURE__ */ t("b", { children: n.save_bold_text })
17712
17713
  )
@@ -17730,7 +17731,7 @@ const T1 = ({
17730
17731
  items: [
17731
17732
  n.savings_goals_step1,
17732
17733
  n.savings_goals_step2,
17733
- T(
17734
+ S(
17734
17735
  n.savings_goals_step3,
17735
17736
  /* @__PURE__ */ t("b", { children: n.priority_bold_text }),
17736
17737
  /* @__PURE__ */ t("b", { children: n.monthly_contribution_bold_text })
@@ -17754,7 +17755,7 @@ const T1 = ({
17754
17755
  items: [
17755
17756
  n.debt_payoff_goals_step1,
17756
17757
  n.debt_payoff_goals_step2,
17757
- T(
17758
+ S(
17758
17759
  n.debt_payoff_goals_step3,
17759
17760
  /* @__PURE__ */ t("b", { children: n.fastest_payoff_bold_text }),
17760
17761
  /* @__PURE__ */ t("b", { children: n.highest_interest_bold_text }),
@@ -17778,13 +17779,13 @@ const T1 = ({
17778
17779
  X,
17779
17780
  {
17780
17781
  items: [
17781
- T(
17782
+ S(
17782
17783
  n.retirement_goals_step1,
17783
17784
  /* @__PURE__ */ t("b", { children: n.desired_retirement_age_bold_text }),
17784
17785
  /* @__PURE__ */ t("b", { children: n.savings_goal_bold_text })
17785
17786
  ),
17786
17787
  n.retirement_goals_step2,
17787
- T(
17788
+ S(
17788
17789
  n.retirement_goals_step3,
17789
17790
  /* @__PURE__ */ t("b", { children: n.blue_i_icon_bold_text })
17790
17791
  )
@@ -17811,17 +17812,17 @@ const T1 = ({
17811
17812
  X,
17812
17813
  {
17813
17814
  items: [
17814
- T(
17815
+ S(
17815
17816
  n.adjusting_contribution_priorities_step1,
17816
17817
  /* @__PURE__ */ t("b", { children: n.manage_goals_bold_text })
17817
17818
  ),
17818
- T(
17819
+ S(
17819
17820
  n.create_goal_step2,
17820
17821
  /* @__PURE__ */ t("b", { children: n.savings_bold_text }),
17821
17822
  /* @__PURE__ */ t("b", { children: n.debt_payoff_bold_text }),
17822
17823
  /* @__PURE__ */ t("b", { children: n.retirement_bold_text })
17823
17824
  ),
17824
- T(
17825
+ S(
17825
17826
  n.adjusting_contribution_priorities_step3,
17826
17827
  /* @__PURE__ */ t("b", { children: n.pencil_icon_bold_text })
17827
17828
  ),
@@ -17846,7 +17847,7 @@ const T1 = ({
17846
17847
  /* @__PURE__ */ t(
17847
17848
  F,
17848
17849
  {
17849
- content: T(
17850
+ content: S(
17850
17851
  n.description_1,
17851
17852
  /* @__PURE__ */ t("b", { children: n.description_1_bold_1 }),
17852
17853
  /* @__PURE__ */ t("b", { children: n.description_1_bold_2 })
@@ -17857,7 +17858,7 @@ const T1 = ({
17857
17858
  /* @__PURE__ */ t(
17858
17859
  F,
17859
17860
  {
17860
- content: T(
17861
+ content: S(
17861
17862
  n.list_1_description,
17862
17863
  /* @__PURE__ */ t("b", { children: n.list_1_description_bold })
17863
17864
  ),
@@ -17880,7 +17881,7 @@ const T1 = ({
17880
17881
  /* @__PURE__ */ t(
17881
17882
  F,
17882
17883
  {
17883
- content: T(
17884
+ content: S(
17884
17885
  n.list_2_description,
17885
17886
  /* @__PURE__ */ t("b", { children: n.list_2_description_bold })
17886
17887
  ),
@@ -17910,20 +17911,20 @@ const T1 = ({
17910
17911
  X,
17911
17912
  {
17912
17913
  items: [
17913
- T(
17914
+ S(
17914
17915
  n.mobile_devices_overview_step1,
17915
17916
  /* @__PURE__ */ t("b", { children: n.icon_mobile_bold_text })
17916
17917
  ),
17917
- T(
17918
+ S(
17918
17919
  n.mobile_devices_overview_step2,
17919
17920
  /* @__PURE__ */ t("b", { children: n.generate_access_code_bold_text })
17920
17921
  ),
17921
- T(
17922
+ S(
17922
17923
  n.mobile_devices_overview_step3,
17923
17924
  /* @__PURE__ */ t("b", { children: n.ios_bold_text }),
17924
17925
  /* @__PURE__ */ t("b", { children: n.android_bold_text })
17925
17926
  ),
17926
- T(
17927
+ S(
17927
17928
  n.mobile_devices_overview_step4,
17928
17929
  /* @__PURE__ */ t("b", { children: n.access_code_bold_text })
17929
17930
  )
@@ -17950,19 +17951,19 @@ const T1 = ({
17950
17951
  X,
17951
17952
  {
17952
17953
  items: [
17953
- T(
17954
+ S(
17954
17955
  n.preventing_app_crashes_step1,
17955
17956
  /* @__PURE__ */ t("b", { children: n.update_bold_text })
17956
17957
  ),
17957
- T(
17958
+ S(
17958
17959
  n.preventing_app_crashes_step2,
17959
17960
  /* @__PURE__ */ t("b", { children: n.close_bold_text })
17960
17961
  ),
17961
- T(
17962
+ S(
17962
17963
  n.preventing_app_crashes_step3,
17963
17964
  /* @__PURE__ */ t("b", { children: n.restart_bold_text })
17964
17965
  ),
17965
- T(
17966
+ S(
17966
17967
  n.preventing_app_crashes_step4,
17967
17968
  /* @__PURE__ */ t("b", { children: n.reinstall_bold_text })
17968
17969
  )
@@ -17982,7 +17983,7 @@ const T1 = ({
17982
17983
  content: /* @__PURE__ */ t(
17983
17984
  F,
17984
17985
  {
17985
- content: T(
17986
+ content: S(
17986
17987
  i.net_worth_widget_overview_text,
17987
17988
  /* @__PURE__ */ t("b", { children: i.accounts_bold_text })
17988
17989
  )
@@ -18007,7 +18008,7 @@ const T1 = ({
18007
18008
  /* @__PURE__ */ t(
18008
18009
  F,
18009
18010
  {
18010
- content: T(
18011
+ content: S(
18011
18012
  i.net_worth_history_step1,
18012
18013
  /* @__PURE__ */ t("b", { children: i.dates_bold_text })
18013
18014
  )
@@ -18026,7 +18027,7 @@ const T1 = ({
18026
18027
  /* @__PURE__ */ t(
18027
18028
  F,
18028
18029
  {
18029
- content: T(
18030
+ content: S(
18030
18031
  i.gains_losses_subheader,
18031
18032
  /* @__PURE__ */ t("b", { children: i.monthly_totals_bold_text })
18032
18033
  )
@@ -18036,11 +18037,11 @@ const T1 = ({
18036
18037
  X,
18037
18038
  {
18038
18039
  items: [
18039
- T(
18040
+ S(
18040
18041
  i.gains_losses_step1,
18041
18042
  /* @__PURE__ */ t("b", { children: i.gains_bold_text })
18042
18043
  ),
18043
- T(
18044
+ S(
18044
18045
  i.gains_losses_step2,
18045
18046
  /* @__PURE__ */ t("b", { children: i.losses_bold_text })
18046
18047
  )
@@ -18069,7 +18070,7 @@ const T1 = ({
18069
18070
  X,
18070
18071
  {
18071
18072
  items: [
18072
- T(
18073
+ S(
18073
18074
  i.assests_liabilities_step1,
18074
18075
  /* @__PURE__ */ t("b", { children: i.assets_liabilities_section_title })
18075
18076
  ),
@@ -18082,11 +18083,11 @@ const T1 = ({
18082
18083
  X,
18083
18084
  {
18084
18085
  items: [
18085
- T(
18086
+ S(
18086
18087
  i.assets_definition,
18087
18088
  /* @__PURE__ */ t("b", { children: i.assets_bold_text })
18088
18089
  ),
18089
- T(
18090
+ S(
18090
18091
  i.liabilities_definition,
18091
18092
  /* @__PURE__ */ t("b", { children: i.liabilities_bold_text })
18092
18093
  )
@@ -18110,7 +18111,7 @@ const T1 = ({
18110
18111
  content: /* @__PURE__ */ t(
18111
18112
  F,
18112
18113
  {
18113
- content: T(
18114
+ content: S(
18114
18115
  e.notifications_overview.widget_overview_instruction,
18115
18116
  /* @__PURE__ */ t("b", { children: e.notifications_overview.widget_overview_instruction_bold_1 }),
18116
18117
  /* @__PURE__ */ t("b", { children: e.notifications_overview.widget_overview_instruction_bold_2 })
@@ -18137,7 +18138,7 @@ const T1 = ({
18137
18138
  {
18138
18139
  items: [
18139
18140
  e.notifications_overview.managing_notifications_list_1,
18140
- T(
18141
+ S(
18141
18142
  e.notifications_overview.managing_notifications_list_2,
18142
18143
  /* @__PURE__ */ t("b", { children: e.notifications_overview.managing_notifications_list_2_bold_1 })
18143
18144
  )
@@ -18164,19 +18165,19 @@ const T1 = ({
18164
18165
  X,
18165
18166
  {
18166
18167
  items: [
18167
- T(
18168
+ S(
18168
18169
  e.notifications_overview.notification_work_list_1,
18169
18170
  /* @__PURE__ */ t("b", { children: e.notifications_overview.notification_work_list_1_bold })
18170
18171
  ),
18171
- T(
18172
+ S(
18172
18173
  e.notifications_overview.notification_work_list_2,
18173
18174
  /* @__PURE__ */ t("b", { children: e.notifications_overview.notification_work_list_2_bold })
18174
18175
  ),
18175
- T(
18176
+ S(
18176
18177
  e.notifications_overview.notification_work_list_3,
18177
18178
  /* @__PURE__ */ t("b", { children: e.notifications_overview.notification_work_list_3_bold })
18178
18179
  ),
18179
- T(
18180
+ S(
18180
18181
  e.notifications_overview.notification_work_list_4,
18181
18182
  /* @__PURE__ */ t("b", { children: e.notifications_overview.notification_work_list_4_bold })
18182
18183
  )
@@ -18197,7 +18198,7 @@ const T1 = ({
18197
18198
  {
18198
18199
  items: [
18199
18200
  e.notifications_overview.verify_email_list_1,
18200
- T(
18201
+ S(
18201
18202
  e.notifications_overview.verify_email_list_2,
18202
18203
  /* @__PURE__ */ t("b", { children: e.notifications_overview.verify_email_list_2_bold })
18203
18204
  )
@@ -18219,7 +18220,7 @@ const T1 = ({
18219
18220
  content: /* @__PURE__ */ t(
18220
18221
  F,
18221
18222
  {
18222
- content: T(
18223
+ content: S(
18223
18224
  n.overview_description,
18224
18225
  /* @__PURE__ */ t("b", { children: n.recurring_transactions })
18225
18226
  )
@@ -18236,7 +18237,7 @@ const T1 = ({
18236
18237
  content: /* @__PURE__ */ t(
18237
18238
  F,
18238
18239
  {
18239
- content: T(
18240
+ content: S(
18240
18241
  n.calendar_dec,
18241
18242
  /* @__PURE__ */ t("b", { children: n.calendar_bold })
18242
18243
  )
@@ -18252,7 +18253,7 @@ const T1 = ({
18252
18253
  /* @__PURE__ */ t(
18253
18254
  F,
18254
18255
  {
18255
- content: T(
18256
+ content: S(
18256
18257
  n.edit_recurring_transaction_dec_1,
18257
18258
  /* @__PURE__ */ t("b", { children: n.edit_recurring_transaction_dec_bold_1 }),
18258
18259
  /* @__PURE__ */ t("b", { children: n.edit_recurring_transaction_dec_bold_2 }),
@@ -18318,7 +18319,7 @@ const T1 = ({
18318
18319
  items: [
18319
18320
  i.widget_overview_instruction_1,
18320
18321
  i.widget_overview_instruction_2,
18321
- T(
18322
+ S(
18322
18323
  i.widget_overview_instruction_3,
18323
18324
  /* @__PURE__ */ t("b", { children: i.widget_overview_instruction_3_bold })
18324
18325
  )
@@ -18342,15 +18343,15 @@ const T1 = ({
18342
18343
  X,
18343
18344
  {
18344
18345
  items: [
18345
- T(
18346
+ S(
18346
18347
  i.date_range_section_list_1,
18347
18348
  /* @__PURE__ */ t("b", { children: i.date_range_section_list_1_bold })
18348
18349
  ),
18349
- T(
18350
+ S(
18350
18351
  i.date_range_section_list_2,
18351
18352
  /* @__PURE__ */ t("b", { children: i.date_range_section_list_2_bold })
18352
18353
  ),
18353
- T(
18354
+ S(
18354
18355
  i.date_range_section_list_3,
18355
18356
  /* @__PURE__ */ t("b", { children: i.date_range_section_list_3_bold })
18356
18357
  )
@@ -18371,12 +18372,12 @@ const T1 = ({
18371
18372
  X,
18372
18373
  {
18373
18374
  items: [
18374
- T(
18375
+ S(
18375
18376
  i.spending_categories_list_1,
18376
18377
  /* @__PURE__ */ t("b", { children: i.spending_categories_list_1_bold_1 }),
18377
18378
  /* @__PURE__ */ t("b", { children: i.spending_categories_list_1_bold_2 })
18378
18379
  ),
18379
- T(
18380
+ S(
18380
18381
  i.spending_categories_list_2,
18381
18382
  /* @__PURE__ */ t("b", { children: i.spending_categories_list_2_bold })
18382
18383
  ),
@@ -18420,11 +18421,11 @@ const T1 = ({
18420
18421
  e.transactions_widget_overview.widget_overview_transaction_details,
18421
18422
  e.transactions_widget_overview.widget_overview_filter_accounts,
18422
18423
  e.transactions_widget_overview.widget_overview_search_transactions,
18423
- T(
18424
+ S(
18424
18425
  e.transactions_widget_overview.widget_overview_add_transaction_text,
18425
18426
  /* @__PURE__ */ t("b", { children: e.transactions_widget_overview.widget_overview_add_transaction_bold })
18426
18427
  ),
18427
- T(
18428
+ S(
18428
18429
  e.transactions_widget_overview.widget_overview_export_csv_text,
18429
18430
  /* @__PURE__ */ t("b", { children: e.transactions_widget_overview.widget_overview_export_csv_bold })
18430
18431
  )
@@ -18518,7 +18519,7 @@ const T1 = ({
18518
18519
  X,
18519
18520
  {
18520
18521
  items: [
18521
- T(
18522
+ S(
18522
18523
  e.transactions_widget_overview.categorizing_transactions_select_category,
18523
18524
  /* @__PURE__ */ t("b", { children: e.transactions_widget_overview.categorizing_transactions_category_bold })
18524
18525
  ),
@@ -18557,7 +18558,7 @@ const T1 = ({
18557
18558
  {
18558
18559
  items: [
18559
18560
  e.transactions_widget_overview.transaction_rules_recategorize,
18560
- T(
18561
+ S(
18561
18562
  e.transactions_widget_overview.transaction_rules_apply_to_all_text,
18562
18563
  /* @__PURE__ */ t("b", { children: e.transactions_widget_overview.transaction_rules_apply_to_all_bold })
18563
18564
  )
@@ -18576,12 +18577,12 @@ const T1 = ({
18576
18577
  X,
18577
18578
  {
18578
18579
  items: [
18579
- T(
18580
+ S(
18580
18581
  e.transactions_widget_overview.transaction_rules_go_to_settings,
18581
18582
  /* @__PURE__ */ t("b", { children: e.transactions_widget_overview.transaction_rules_go_to_settings_bold })
18582
18583
  ),
18583
18584
  e.transactions_widget_overview.transaction_rules_edit_payee_category,
18584
- T(
18585
+ S(
18585
18586
  e.transactions_widget_overview.transaction_rules_save_text,
18586
18587
  /* @__PURE__ */ t("b", { children: e.transactions_widget_overview.transaction_rules_save_bold })
18587
18588
  )
@@ -18600,12 +18601,12 @@ const T1 = ({
18600
18601
  X,
18601
18602
  {
18602
18603
  items: [
18603
- T(
18604
+ S(
18604
18605
  e.transactions_widget_overview.transaction_rules_delete_go_to_settings,
18605
18606
  /* @__PURE__ */ t("b", { children: e.transactions_widget_overview.transaction_rules_delete_go_to_settings_bold })
18606
18607
  ),
18607
18608
  e.transactions_widget_overview.transaction_rules_select_rule_delete_icon,
18608
- T(
18609
+ S(
18609
18610
  e.transactions_widget_overview.transaction_rules_delete_text,
18610
18611
  /* @__PURE__ */ t("b", { children: e.transactions_widget_overview.transaction_rules_delete_bold })
18611
18612
  )
@@ -18636,12 +18637,12 @@ const T1 = ({
18636
18637
  {
18637
18638
  items: [
18638
18639
  e.transactions_widget_overview.split_transactions_select_transaction,
18639
- T(
18640
+ S(
18640
18641
  e.transactions_widget_overview.split_transactions_select_split_transaction,
18641
18642
  /* @__PURE__ */ t("b", { children: e.transactions_widget_overview.split_transactions_select_split_transaction_bold })
18642
18643
  ),
18643
18644
  e.transactions_widget_overview.split_transactions_add_splits,
18644
- T(
18645
+ S(
18645
18646
  e.transactions_widget_overview.split_transactions_save_text,
18646
18647
  /* @__PURE__ */ t("b", { children: e.transactions_widget_overview.split_transactions_save_bold })
18647
18648
  )
@@ -18661,11 +18662,11 @@ const T1 = ({
18661
18662
  {
18662
18663
  items: [
18663
18664
  e.transactions_widget_overview.split_transactions_delete_select_split_transaction,
18664
- T(
18665
+ S(
18665
18666
  e.transactions_widget_overview.split_transactions_delete_split_text,
18666
18667
  /* @__PURE__ */ t("b", { children: e.transactions_widget_overview.split_transactions_delete_split_bold })
18667
18668
  ),
18668
- T(
18669
+ S(
18669
18670
  e.transactions_widget_overview.split_transactions_delete_text,
18670
18671
  /* @__PURE__ */ t("b", { children: e.transactions_widget_overview.split_transactions_delete_bold })
18671
18672
  )
@@ -18685,16 +18686,16 @@ const T1 = ({
18685
18686
  X,
18686
18687
  {
18687
18688
  items: [
18688
- T(
18689
+ S(
18689
18690
  e.duplicate_transactions.duplicate_accounts,
18690
18691
  /* @__PURE__ */ t("b", { children: e.duplicate_transactions.duplicate_accounts_bold }),
18691
18692
  /* @__PURE__ */ t("b", { children: e.duplicate_transactions.account_details_mark_as_duplicate_bold })
18692
18693
  ),
18693
- T(
18694
+ S(
18694
18695
  e.duplicate_transactions.both_debit_credit_sides,
18695
18696
  /* @__PURE__ */ t("b", { children: e.duplicate_transactions.both_debit_credit_sides_bold })
18696
18697
  ),
18697
- T(
18698
+ S(
18698
18699
  e.duplicate_transactions.data_issues_institution,
18699
18700
  /* @__PURE__ */ t("b", { children: e.duplicate_transactions.data_issues_institution_bold })
18700
18701
  )
@@ -18708,15 +18709,15 @@ const T1 = ({
18708
18709
  X,
18709
18710
  {
18710
18711
  items: [
18711
- T(
18712
+ S(
18712
18713
  e.missing_transactions.processing_time,
18713
18714
  /* @__PURE__ */ t("b", { children: e.missing_transactions.processing_time_bold })
18714
18715
  ),
18715
- T(
18716
+ S(
18716
18717
  e.missing_transactions.new_accounts,
18717
18718
  /* @__PURE__ */ t("b", { children: e.missing_transactions.new_accounts_bold })
18718
18719
  ),
18719
- T(
18720
+ S(
18720
18721
  e.missing_transactions.infrequent_logins,
18721
18722
  /* @__PURE__ */ t("b", { children: e.missing_transactions.infrequent_logins_bold })
18722
18723
  )
@@ -18731,7 +18732,7 @@ const T1 = ({
18731
18732
  X,
18732
18733
  {
18733
18734
  items: [
18734
- T(
18735
+ S(
18735
18736
  e.pending_transactions.pending_transactions_details,
18736
18737
  /* @__PURE__ */ t("b", { children: "date, description, or amount" })
18737
18738
  ),
@@ -18748,7 +18749,7 @@ const T1 = ({
18748
18749
  /* @__PURE__ */ t(
18749
18750
  F,
18750
18751
  {
18751
- content: T(
18752
+ content: S(
18752
18753
  e.export_transactions.export_transactions_title,
18753
18754
  /* @__PURE__ */ t("b", { children: "CSV file" })
18754
18755
  )
@@ -18759,11 +18760,11 @@ const T1 = ({
18759
18760
  X,
18760
18761
  {
18761
18762
  items: [
18762
- T(
18763
+ S(
18763
18764
  e.export_transactions.export_filter_transactions,
18764
18765
  /* @__PURE__ */ t("b", { children: "Filter accounts" })
18765
18766
  ),
18766
- T(
18767
+ S(
18767
18768
  e.export_transactions.export_csv,
18768
18769
  /* @__PURE__ */ t("b", { children: "Export CSV" })
18769
18770
  ),
@@ -18790,15 +18791,15 @@ const T1 = ({
18790
18791
  X,
18791
18792
  {
18792
18793
  items: [
18793
- T(
18794
+ S(
18794
18795
  e.trends_widget_overview.widget_overview_y_axis_instruction,
18795
18796
  /* @__PURE__ */ t("b", { children: e.trends_widget_overview.widget_overview_y_axis_bold })
18796
18797
  ),
18797
- T(
18798
+ S(
18798
18799
  e.trends_widget_overview.widget_overview_x_axis_instruction,
18799
18800
  /* @__PURE__ */ t("b", { children: e.trends_widget_overview.widget_overview_x_axis_bold })
18800
18801
  ),
18801
- T(
18802
+ S(
18802
18803
  e.trends_widget_overview.widget_overview_colored_sections_instruction,
18803
18804
  /* @__PURE__ */ t("b", { children: e.trends_widget_overview.widget_overview_colored_sections_bold })
18804
18805
  )
@@ -18866,19 +18867,19 @@ const T1 = ({
18866
18867
  X,
18867
18868
  {
18868
18869
  items: [
18869
- T(
18870
+ S(
18870
18871
  i.insights_work_list_1,
18871
18872
  /* @__PURE__ */ t("b", { children: i.insights_work_list_1_bold })
18872
18873
  ),
18873
- T(
18874
+ S(
18874
18875
  i.insights_work_list_2,
18875
18876
  /* @__PURE__ */ t("b", { children: i.insights_work_list_2_bold })
18876
18877
  ),
18877
- T(
18878
+ S(
18878
18879
  i.insights_work_list_3,
18879
18880
  /* @__PURE__ */ t("b", { children: i.insights_work_list_3_bold })
18880
18881
  ),
18881
- T(
18882
+ S(
18882
18883
  i.insights_work_list_4,
18883
18884
  /* @__PURE__ */ t("b", { children: i.insights_work_list_4_bold })
18884
18885
  )
@@ -18900,7 +18901,7 @@ const T1 = ({
18900
18901
  /* @__PURE__ */ t(
18901
18902
  F,
18902
18903
  {
18903
- content: T(
18904
+ content: S(
18904
18905
  i.dashboard_insights_content_1,
18905
18906
  /* @__PURE__ */ t("b", { children: i.dashboard_insights_content_1_bold_1 }),
18906
18907
  /* @__PURE__ */ t("b", { children: i.dashboard_insights_content_1_bold_2 }),
@@ -18922,7 +18923,7 @@ const T1 = ({
18922
18923
  /* @__PURE__ */ t(
18923
18924
  F,
18924
18925
  {
18925
- content: T(
18926
+ content: S(
18926
18927
  i.full_feed_content,
18927
18928
  /* @__PURE__ */ t("b", { children: i.full_feed_content_bold_1 }),
18928
18929
  /* @__PURE__ */ t("b", { children: i.full_feed_content_bold_2 })
@@ -18933,15 +18934,15 @@ const T1 = ({
18933
18934
  X,
18934
18935
  {
18935
18936
  items: [
18936
- T(
18937
+ S(
18937
18938
  i.full_feed_list_1,
18938
18939
  /* @__PURE__ */ t("b", { children: i.full_feed_list_1_bold })
18939
18940
  ),
18940
- T(
18941
+ S(
18941
18942
  i.full_feed_list_2,
18942
18943
  /* @__PURE__ */ t("b", { children: i.full_feed_list_2_bold })
18943
18944
  ),
18944
- T(
18945
+ S(
18945
18946
  i.full_feed_list_3,
18946
18947
  /* @__PURE__ */ t("b", { children: i.full_feed_list_3_bold })
18947
18948
  )
@@ -18962,7 +18963,7 @@ const T1 = ({
18962
18963
  /* @__PURE__ */ t(
18963
18964
  F,
18964
18965
  {
18965
- content: T(
18966
+ content: S(
18966
18967
  i.hide_insights_content_1,
18967
18968
  /* @__PURE__ */ t("b", { children: i.hide_insights_content_1_bold })
18968
18969
  )
@@ -19116,13 +19117,13 @@ const T1 = ({
19116
19117
  ) })
19117
19118
  ] }),
19118
19119
  e.message && /* @__PURE__ */ t(
19119
- Si,
19120
+ Ti,
19120
19121
  {
19121
19122
  anchorOrigin: { vertical: "bottom", horizontal: "center" },
19122
19123
  autoHideDuration: 3500,
19123
19124
  onClose: () => d(""),
19124
19125
  open: !!e.message && e.severity === "error" && !o,
19125
- children: /* @__PURE__ */ t(Sn, { onClose: () => d(""), severity: e.severity, variant: "filled", children: e.message })
19126
+ children: /* @__PURE__ */ t(Tn, { onClose: () => d(""), severity: e.severity, variant: "filled", children: e.message })
19126
19127
  }
19127
19128
  )
19128
19129
  ]
@@ -19215,11 +19216,11 @@ const T1 = ({
19215
19216
  d(Pr), _(Aa), i();
19216
19217
  }, C = (E) => {
19217
19218
  const {
19218
- target: { name: y, value: S }
19219
+ target: { name: y, value: T }
19219
19220
  } = E;
19220
19221
  _((A) => ({
19221
19222
  ...A,
19222
- [y]: S
19223
+ [y]: T
19223
19224
  }));
19224
19225
  };
19225
19226
  return /* @__PURE__ */ l(
@@ -19230,9 +19231,9 @@ const T1 = ({
19230
19231
  onPrimaryAction: () => {
19231
19232
  const E = {};
19232
19233
  let y = !0;
19233
- h.forEach(({ label: S, name: A, required: w }) => {
19234
+ h.forEach(({ label: T, name: A, required: w }) => {
19234
19235
  const v = u[A];
19235
- w && !v && (E[A] = `${S} ${e.request_support_required_message}`, y = !1), (A === "institutionWebsite" || A === "institutionLoginPage") && v && !/(.+)\.(.{2,})/g.test(v) && (E[A] = e.request_support_valid_url_message, y = !1);
19236
+ w && !v && (E[A] = `${T} ${e.request_support_required_message}`, y = !1), (A === "institutionWebsite" || A === "institutionLoginPage") && v && !/(.+)\.(.{2,})/g.test(v) && (E[A] = e.request_support_valid_url_message, y = !1);
19236
19237
  }), d(E), y && (a(u), _(Aa));
19237
19238
  },
19238
19239
  secondaryColor: "primary",
@@ -19263,13 +19264,13 @@ const T1 = ({
19263
19264
  y
19264
19265
  )) }),
19265
19266
  o.message && /* @__PURE__ */ t(
19266
- Si,
19267
+ Ti,
19267
19268
  {
19268
19269
  anchorOrigin: { vertical: "bottom", horizontal: "center" },
19269
19270
  autoHideDuration: 3500,
19270
19271
  onClose: () => s(""),
19271
19272
  open: !!o.message && o.severity === "error" && !r,
19272
- children: /* @__PURE__ */ t(Sn, { onClose: () => s(""), severity: o.severity, variant: "filled", children: o.message })
19273
+ children: /* @__PURE__ */ t(Tn, { onClose: () => s(""), severity: o.severity, variant: "filled", children: o.message })
19273
19274
  }
19274
19275
  )
19275
19276
  ]
@@ -19400,7 +19401,7 @@ const T1 = ({
19400
19401
  fontWeight: 600
19401
19402
  },
19402
19403
  variant: "Body",
19403
- children: T(e.request_support_institution_message_title, n)
19404
+ children: S(e.request_support_institution_message_title, n)
19404
19405
  }
19405
19406
  ),
19406
19407
  /* @__PURE__ */ t(
@@ -19412,7 +19413,7 @@ const T1 = ({
19412
19413
  mt: 2
19413
19414
  },
19414
19415
  variant: "ParagraphSmall",
19415
- children: T(e.request_support_institution_message, n)
19416
+ children: S(e.request_support_institution_message, n)
19416
19417
  }
19417
19418
  )
19418
19419
  ]
@@ -19447,7 +19448,7 @@ const T1 = ({
19447
19448
  isOpen: !1,
19448
19449
  topic: "",
19449
19450
  type: void 0
19450
- }), S = hp.map((D) => ({
19451
+ }), T = hp.map((D) => ({
19451
19452
  ...D,
19452
19453
  title: e.help_by_category_list[D.guid].label,
19453
19454
  topics: D.topics.map(({ type: k }, O) => ({
@@ -19522,7 +19523,7 @@ const T1 = ({
19522
19523
  /* @__PURE__ */ t(
19523
19524
  oC,
19524
19525
  {
19525
- helpByCategory: S,
19526
+ helpByCategory: T,
19526
19527
  onClick: R
19527
19528
  }
19528
19529
  ),
@@ -19636,20 +19637,20 @@ const T1 = ({
19636
19637
  }), mC = I(({ selectedTab: e }) => {
19637
19638
  const { alert: n, setAlert: i } = pt();
19638
19639
  return /* @__PURE__ */ l(q, { children: [
19639
- e === Vn.Profile && /* @__PURE__ */ t(S1, {}),
19640
+ e === Vn.Profile && /* @__PURE__ */ t(T1, {}),
19640
19641
  e === Vn.Devices && /* @__PURE__ */ t(v1, {}),
19641
19642
  e === Vn.Notifications && /* @__PURE__ */ t(No, {}),
19642
19643
  e === Vn.TransactionRules && /* @__PURE__ */ t(vc, {}),
19643
19644
  e === Vn.Help && /* @__PURE__ */ t(Dc, {}),
19644
19645
  /* @__PURE__ */ t(
19645
- Si,
19646
+ Ti,
19646
19647
  {
19647
19648
  anchorOrigin: { vertical: "bottom", horizontal: "right" },
19648
19649
  autoHideDuration: 3500,
19649
19650
  onClose: () => i(""),
19650
19651
  open: !!n.message,
19651
19652
  children: /* @__PURE__ */ t(
19652
- Sn,
19653
+ Tn,
19653
19654
  {
19654
19655
  onClose: () => {
19655
19656
  i("");
@@ -19688,7 +19689,7 @@ const RE = I(({ onBackClick: e, sx: n }) => {
19688
19689
  /* @__PURE__ */ t(
19689
19690
  qt,
19690
19691
  {
19691
- onChange: (y, S) => E(S),
19692
+ onChange: (y, T) => E(T),
19692
19693
  sx: { bgcolor: "background.paper" },
19693
19694
  textColor: "primary",
19694
19695
  value: f,
@@ -19951,7 +19952,7 @@ class fC {
19951
19952
  };
19952
19953
  };
19953
19954
  get shouldDisableNextDate() {
19954
- const n = Li(this.displayedDate), i = Li(Tt(/* @__PURE__ */ new Date(), 1));
19955
+ const n = Li(this.displayedDate), i = Li(St(/* @__PURE__ */ new Date(), 1));
19955
19956
  return n === i;
19956
19957
  }
19957
19958
  get shouldDisablePrevDate() {
@@ -20069,11 +20070,11 @@ const Ia = ({
20069
20070
  (a) => a.member_guid === i.guid && i.successfully_aggregated_at && a.guid !== n.guid
20070
20071
  );
20071
20072
  }, EC = () => {
20072
- const [e, n] = g.useState(!1), [i, a] = g.useState(!1), [o, r] = g.useState(!1), [s, c] = g.useState({}), { selectedAccount: d } = Ht(), { mergeAccounts: u, updateAccount: _ } = Ee(), { accounts: h } = x(), m = yC(), { onEvent: C } = j(), { modifyTransactionByAccountGuid: f } = Ne(), E = async (S) => {
20073
+ const [e, n] = g.useState(!1), [i, a] = g.useState(!1), [o, r] = g.useState(!1), [s, c] = g.useState({}), { selectedAccount: d } = Ht(), { mergeAccounts: u, updateAccount: _ } = Ee(), { accounts: h } = x(), m = yC(), { onEvent: C } = j(), { modifyTransactionByAccountGuid: f } = Ne(), E = async (T) => {
20073
20074
  await _({
20074
20075
  ...d,
20075
- ...S
20076
- }), "is_closed" in S && S.is_closed !== d.is_closed && f(d.guid, { accountIsClosed: S.is_closed });
20076
+ ...T
20077
+ }), "is_closed" in T && T.is_closed !== d.is_closed && f(d.guid, { accountIsClosed: T.is_closed });
20077
20078
  }, y = () => {
20078
20079
  u([d.guid, s.guid]).finally(
20079
20080
  () => a(!1)
@@ -20131,7 +20132,7 @@ const Ia = ({
20131
20132
  n(!1);
20132
20133
  },
20133
20134
  onPrimaryAction: () => E({ is_closed: !d.is_closed }),
20134
- children: T(
20135
+ children: S(
20135
20136
  d.is_closed ? h.this_will_resume_updating_the_balance : h.this_will_set_the_balance_of_your_account,
20136
20137
  d.name
20137
20138
  )
@@ -20144,20 +20145,20 @@ const Ia = ({
20144
20145
  isOpen: i,
20145
20146
  onClose: () => a(!1),
20146
20147
  title: h.mark_as_duplicate,
20147
- children: /* @__PURE__ */ t(ie, { children: m.map((S) => {
20148
- const A = m.indexOf(S) === m.length - 1;
20148
+ children: /* @__PURE__ */ t(ie, { children: m.map((T) => {
20149
+ const A = m.indexOf(T) === m.length - 1;
20149
20150
  return /* @__PURE__ */ l(g.Fragment, { children: [
20150
20151
  /* @__PURE__ */ t(
20151
20152
  bi,
20152
20153
  {
20153
- account: S,
20154
+ account: T,
20154
20155
  onRowClick: () => {
20155
- r(!0), c(S);
20156
+ r(!0), c(T);
20156
20157
  }
20157
20158
  }
20158
20159
  ),
20159
20160
  /* @__PURE__ */ t(ie, { sx: { ml: A ? 0 : 24 } })
20160
- ] }, S.guid);
20161
+ ] }, T.guid);
20161
20162
  }) })
20162
20163
  }
20163
20164
  ),
@@ -20172,7 +20173,7 @@ const Ia = ({
20172
20173
  onClose: () => r(!1),
20173
20174
  onPrimaryAction: y,
20174
20175
  children: [
20175
- T(
20176
+ S(
20176
20177
  h.this_means_accounts_will_be_merged,
20177
20178
  d.name,
20178
20179
  s.name
@@ -20182,13 +20183,13 @@ const Ia = ({
20182
20183
  }
20183
20184
  )
20184
20185
  ] });
20185
- }, SC = I(EC), Rc = (e, n) => {
20186
+ }, TC = I(EC), Rc = (e, n) => {
20186
20187
  const { connection_messages: i } = n;
20187
20188
  switch (e.connection_status) {
20188
20189
  case _t.CHALLENGED:
20189
20190
  return {
20190
20191
  cta: i.challenged_cta,
20191
- main: T(
20192
+ main: S(
20192
20193
  i.challenged_connection_description,
20193
20194
  e.name
20194
20195
  ),
@@ -20209,7 +20210,7 @@ const Ia = ({
20209
20210
  };
20210
20211
  case _t.DELAYED:
20211
20212
  return {
20212
- main: T(
20213
+ main: S(
20213
20214
  i.delayed_connection_description,
20214
20215
  e.name
20215
20216
  ),
@@ -20219,7 +20220,7 @@ const Ia = ({
20219
20220
  case _t.DENIED:
20220
20221
  return {
20221
20222
  cta: i.denied_cta,
20222
- main: T(
20223
+ main: S(
20223
20224
  i.denied_connection_description,
20224
20225
  e.name
20225
20226
  ),
@@ -20234,7 +20235,7 @@ const Ia = ({
20234
20235
  };
20235
20236
  case _t.DISCONNECTED:
20236
20237
  return {
20237
- main: T(
20238
+ main: S(
20238
20239
  i.disconnected_connection_description,
20239
20240
  e.name
20240
20241
  ),
@@ -20256,7 +20257,7 @@ const Ia = ({
20256
20257
  };
20257
20258
  case _t.FAILED:
20258
20259
  return {
20259
- main: T(
20260
+ main: S(
20260
20261
  i.failed_connection_description,
20261
20262
  e.name
20262
20263
  ),
@@ -20266,7 +20267,7 @@ const Ia = ({
20266
20267
  case _t.IMPAIRED:
20267
20268
  return {
20268
20269
  cta: i.impaired_cta,
20269
- main: T(
20270
+ main: S(
20270
20271
  i.impaired_connection_description,
20271
20272
  e.name
20272
20273
  ),
@@ -20275,7 +20276,7 @@ const Ia = ({
20275
20276
  };
20276
20277
  case _t.IMPEDED:
20277
20278
  return {
20278
- main: T(
20279
+ main: S(
20279
20280
  i.impeded_connection_description,
20280
20281
  e.name,
20281
20282
  e.name
@@ -20286,7 +20287,7 @@ const Ia = ({
20286
20287
  case _t.IMPORTED:
20287
20288
  return {
20288
20289
  cta: i.imported_cta,
20289
- main: T(
20290
+ main: S(
20290
20291
  i.imported_connection_description,
20291
20292
  e.name
20292
20293
  ),
@@ -20296,7 +20297,7 @@ const Ia = ({
20296
20297
  case _t.LOCKED:
20297
20298
  return {
20298
20299
  cta: i.locked_cta,
20299
- main: T(
20300
+ main: S(
20300
20301
  i.locked_connection_description,
20301
20302
  e.name
20302
20303
  ),
@@ -20321,7 +20322,7 @@ const Ia = ({
20321
20322
  const a = () => {
20322
20323
  const o = e.successfully_aggregated_at ? Fe(e.successfully_aggregated_at) : void 0, r = o && se(o, oe.TIME_STAMP_HOUR_MINUTE);
20323
20324
  if (r)
20324
- return Za(o) ? T(n.last_updated_at, n.today, r) : Ad(o) ? T(n.last_updated_at, n.yesterday, r) : T(
20325
+ return Za(o) ? S(n.last_updated_at, n.today, r) : Ad(o) ? S(n.last_updated_at, n.yesterday, r) : S(
20325
20326
  n.last_updated_at,
20326
20327
  se(o, oe.MONTH_DAY_YEAR),
20327
20328
  r
@@ -20340,10 +20341,10 @@ const Ia = ({
20340
20341
  gridRow: 1,
20341
20342
  gridColumn: 1,
20342
20343
  zIndex: 2
20343
- }, TC = () => {
20344
+ }, SC = () => {
20344
20345
  const [e, n] = g.useState(!1), {
20345
20346
  palette: { mode: i }
20346
- } = pe(), { selectedMember: a } = Ht(), { accounts: o, connect: r } = x(), s = Rc(a, r), c = Ts.includes(a.connection_status) ? {
20347
+ } = pe(), { selectedMember: a } = Ht(), { accounts: o, connect: r } = x(), s = Rc(a, r), c = Ss.includes(a.connection_status) ? {
20347
20348
  color: "error.main",
20348
20349
  ctaCopy: s.cta ?? "",
20349
20350
  icon: /* @__PURE__ */ t(aa, { sx: { ...xa } }),
@@ -20351,7 +20352,7 @@ const Ia = ({
20351
20352
  secondaryMessage: `${s.title}.`
20352
20353
  } : {
20353
20354
  color: "success.main",
20354
- icon: /* @__PURE__ */ t(Sd, { sx: { ...xa } }),
20355
+ icon: /* @__PURE__ */ t(Td, { sx: { ...xa } }),
20355
20356
  mainMessage: s.statusName,
20356
20357
  secondaryMessage: s.title
20357
20358
  };
@@ -20387,7 +20388,7 @@ const Ia = ({
20387
20388
  },
20388
20389
  size: 32,
20389
20390
  children: /* @__PURE__ */ t(
20390
- Td,
20391
+ Sd,
20391
20392
  {
20392
20393
  sx: {
20393
20394
  ...xa,
@@ -20412,7 +20413,7 @@ const Ia = ({
20412
20413
  }
20413
20414
  )
20414
20415
  ] });
20415
- }, AC = I(TC), IC = ({ field: e, isOpen: n, onClose: i }) => {
20416
+ }, AC = I(SC), IC = ({ field: e, isOpen: n, onClose: i }) => {
20416
20417
  const { updateAccount: a } = Ee(), { selectedAccount: o } = Ht(), { accounts: r } = x(), [s, c] = g.useState(o[e.name]), [d, u] = g.useState(""), [_, h] = g.useState(!0), m = () => {
20417
20418
  c(""), u(""), i();
20418
20419
  }, C = () => {
@@ -20454,7 +20455,7 @@ const Ia = ({
20454
20455
  return /* @__PURE__ */ t(vd, { dateAdapter: Qn, children: /* @__PURE__ */ t(
20455
20456
  ja,
20456
20457
  {
20457
- maxDate: Tt(/* @__PURE__ */ new Date(), 1),
20458
+ maxDate: St(/* @__PURE__ */ new Date(), 1),
20458
20459
  minDate: /* @__PURE__ */ new Date(),
20459
20460
  onChange: (y) => {
20460
20461
  o[e.name] && Number(o[e.name]) <= 31 ? c(y.getDate()) : c(y);
@@ -20499,7 +20500,7 @@ const Ia = ({
20499
20500
  {
20500
20501
  copy: {
20501
20502
  close_aria: r.close_aria,
20502
- title: T(r.edit_field, e.label)
20503
+ title: S(r.edit_field, e.label)
20503
20504
  },
20504
20505
  disablePrimaryButton: !!d || !_,
20505
20506
  isOpen: n,
@@ -20556,17 +20557,17 @@ const Ia = ({
20556
20557
  return g.useEffect(() => e(W.ACCOUNT_DETAILS_VIEW), []), /* @__PURE__ */ l(ie, { children: [
20557
20558
  /* @__PURE__ */ t(wC, {}),
20558
20559
  /* @__PURE__ */ t(AC, {}),
20559
- /* @__PURE__ */ t(SC, {})
20560
+ /* @__PURE__ */ t(TC, {})
20560
20561
  ] });
20561
20562
  }, DC = I(NC), RC = ({ setTabValue: e }) => {
20562
- const [n, i] = g.useState(!1), { selectedMember: a } = Ht(), { accounts: o, connect: r } = x(), s = a.connection_status && Ts.includes(a.connection_status);
20563
+ const [n, i] = g.useState(!1), { selectedMember: a } = Ht(), { accounts: o, connect: r } = x(), s = a.connection_status && Ss.includes(a.connection_status);
20563
20564
  if (g.useEffect(() => {
20564
20565
  s && e(1);
20565
20566
  }, [s]), !s) return;
20566
20567
  const c = Rc(a, r);
20567
20568
  return /* @__PURE__ */ l(q, { children: [
20568
20569
  /* @__PURE__ */ t(
20569
- St,
20570
+ Tt,
20570
20571
  {
20571
20572
  sx: {
20572
20573
  mb: 16,
@@ -20574,7 +20575,7 @@ const Ia = ({
20574
20575
  mx: 24
20575
20576
  },
20576
20577
  children: /* @__PURE__ */ l(
20577
- Sn,
20578
+ Tn,
20578
20579
  {
20579
20580
  icon: /* @__PURE__ */ t(aa, {}),
20580
20581
  severity: "error",
@@ -20681,16 +20682,16 @@ const Ia = ({
20681
20682
  () => a.filter((y) => y.is_closed),
20682
20683
  [a]
20683
20684
  ), m = _.reduce(
20684
- (y, S) => (S.available_balance || S.balance || 0) + y,
20685
+ (y, T) => (T.available_balance || T.balance || 0) + y,
20685
20686
  0
20686
20687
  ), C = h.reduce(
20687
- (y, S) => (S.available_balance || S.balance || 0) + y,
20688
+ (y, T) => (T.available_balance || T.balance || 0) + y,
20688
20689
  0
20689
20690
  );
20690
20691
  g.useEffect(() => {
20691
20692
  if (u) {
20692
20693
  o(u);
20693
- const y = s.find((S) => S.guid === u?.member_guid) || {};
20694
+ const y = s.find((T) => T.guid === u?.member_guid) || {};
20694
20695
  y && r(y);
20695
20696
  }
20696
20697
  }, [u, e]);
@@ -20700,7 +20701,7 @@ const Ia = ({
20700
20701
  account_type: y.account_type
20701
20702
  });
20702
20703
  }, E = (y) => {
20703
- const S = y === "hidden" ? _ : h, A = y === "hidden" ? m : C, w = y === "hidden" ? i.account_hidden : i.account_closed;
20704
+ const T = y === "hidden" ? _ : h, A = y === "hidden" ? m : C, w = y === "hidden" ? i.account_hidden : i.account_closed;
20704
20705
  return /* @__PURE__ */ t(L, { children: /* @__PURE__ */ t(
20705
20706
  ie,
20706
20707
  {
@@ -20717,7 +20718,7 @@ const Ia = ({
20717
20718
  ]
20718
20719
  }
20719
20720
  ) }),
20720
- children: /* @__PURE__ */ t(we, { children: S.map((v, R, B) => {
20721
+ children: /* @__PURE__ */ t(we, { children: T.map((v, R, B) => {
20721
20722
  const M = R === B.length - 1;
20722
20723
  return /* @__PURE__ */ l(g.Fragment, { children: [
20723
20724
  /* @__PURE__ */ t(
@@ -20752,16 +20753,16 @@ const Ia = ({
20752
20753
  };
20753
20754
  return /* @__PURE__ */ l(L, { sx: { pt: 24 }, children: [
20754
20755
  d.map((y) => {
20755
- const S = a.filter(
20756
+ const T = a.filter(
20756
20757
  (w) => w.account_type === y && !w.is_closed && !w.is_hidden
20757
- ), A = S.reduce(
20758
+ ), A = T.reduce(
20758
20759
  (w, v) => (v.available_balance || v.balance || 0) + w,
20759
20760
  0
20760
20761
  );
20761
- return S.length === 0 ? null : /* @__PURE__ */ t(
20762
+ return T.length === 0 ? null : /* @__PURE__ */ t(
20762
20763
  ie,
20763
20764
  {
20764
- "aria-label": i.account_type_accounts[S[0]?.account_type],
20765
+ "aria-label": i.account_type_accounts[T[0]?.account_type],
20765
20766
  subheader: /* @__PURE__ */ t(Mt, { component: "h2", sx: { backgroundColor: "transparent", px: 24 }, children: /* @__PURE__ */ l(
20766
20767
  we,
20767
20768
  {
@@ -20774,8 +20775,8 @@ const Ia = ({
20774
20775
  ]
20775
20776
  }
20776
20777
  ) }),
20777
- children: /* @__PURE__ */ t(we, { children: S.map((w) => {
20778
- const v = a.indexOf(w) === a.length - 1, R = S.indexOf(w) === S.length - 1;
20778
+ children: /* @__PURE__ */ t(we, { children: T.map((w) => {
20779
+ const v = a.indexOf(w) === a.length - 1, R = T.indexOf(w) === T.length - 1;
20779
20780
  return /* @__PURE__ */ l(g.Fragment, { children: [
20780
20781
  /* @__PURE__ */ t(
20781
20782
  bi,
@@ -20810,7 +20811,7 @@ const Ia = ({
20810
20811
  onClose: () => n(""),
20811
20812
  title: i.account_details,
20812
20813
  children: [
20813
- /* @__PURE__ */ t(To, {}),
20814
+ /* @__PURE__ */ t(So, {}),
20814
20815
  /* @__PURE__ */ t(Oc, {})
20815
20816
  ]
20816
20817
  }
@@ -20823,7 +20824,7 @@ const Ia = ({
20823
20824
  }, [c]);
20824
20825
  const y = () => {
20825
20826
  a(!0), E(W.ACCOUNTS_CLICK_CONNECT);
20826
- }, S = () => {
20827
+ }, T = () => {
20827
20828
  r(!0), E(W.ACCOUNTS_CLICK_CONNECT);
20828
20829
  };
20829
20830
  return _ ? /* @__PURE__ */ t(
@@ -20835,7 +20836,7 @@ const Ia = ({
20835
20836
  {
20836
20837
  iconName: "credit_card_gear",
20837
20838
  label: d.manage,
20838
- onClick: S
20839
+ onClick: T
20839
20840
  }
20840
20841
  ] : [],
20841
20842
  onAccountsFilterClick: () => E(W.ACCOUNTS_CLICK_FILTER),
@@ -21486,7 +21487,7 @@ class KC {
21486
21487
  if (o > -1) {
21487
21488
  let r = Ln.Connected;
21488
21489
  const s = this.members[o];
21489
- Ss.includes(s.connection_status) ? r = Ln.Error : Bd.includes(s.connection_status) ? r = Ln.Processing : Es.includes(s.connection_status) && (r = Ln.RequiresMfa);
21490
+ Ts.includes(s.connection_status) ? r = Ln.Error : Bd.includes(s.connection_status) ? r = Ln.Processing : Es.includes(s.connection_status) && (r = Ln.RequiresMfa);
21490
21491
  let c = a.user_name || a.feed_name || "";
21491
21492
  a.account_number && (c = `${c} *${a.account_number}`), i.push({
21492
21493
  ...a,
@@ -21671,7 +21672,7 @@ const zC = () => {
21671
21672
  responsePayload: u,
21672
21673
  resetStore: _,
21673
21674
  survey: h
21674
- } = no(), { analytics: m, common: C } = x(), { isCopyLoaded: f, isInitialized: E } = le(), [y, S] = g.useState(!1);
21675
+ } = no(), { analytics: m, common: C } = x(), { isCopyLoaded: f, isInitialized: E } = le(), [y, T] = g.useState(!1);
21675
21676
  g.useEffect(() => {
21676
21677
  E && s();
21677
21678
  }, [E]), g.useEffect(() => {
@@ -21682,11 +21683,11 @@ const zC = () => {
21682
21683
  const A = () => {
21683
21684
  e("survey dismissed", {
21684
21685
  $survey_id: i
21685
- }), _(), S(!1);
21686
+ }), _(), T(!1);
21686
21687
  }, w = () => {
21687
21688
  r();
21688
21689
  }, v = () => {
21689
- e("survey sent", u), _(), S(!0);
21690
+ e("survey sent", u), _(), T(!0);
21690
21691
  };
21691
21692
  return f ? !a && !y ? null : /* @__PURE__ */ l(
21692
21693
  Dn,
@@ -21737,7 +21738,7 @@ const zC = () => {
21737
21738
  ] }),
21738
21739
  y && /* @__PURE__ */ l(g.Fragment, { children: [
21739
21740
  /* @__PURE__ */ t(b, { sx: { px: 24, py: 24 }, children: /* @__PURE__ */ t(p, { bold: !0, truncate: !1, children: m.thank_you }) }),
21740
- /* @__PURE__ */ t(b, { sx: { px: 24, pb: 24 }, children: /* @__PURE__ */ t(Sn, { severity: "success", variant: "filled", children: m.feedback_sent_successfully }) })
21741
+ /* @__PURE__ */ t(b, { sx: { px: 24, pb: 24 }, children: /* @__PURE__ */ t(Tn, { severity: "success", variant: "filled", children: m.feedback_sent_successfully }) })
21741
21742
  ] })
21742
21743
  ]
21743
21744
  }
@@ -21808,8 +21809,8 @@ function s0({ bubble: e, isDraggable: n, onClick: i = () => {
21808
21809
  const [a, o] = g.useState(!1);
21809
21810
  if (g.useEffect(() => {
21810
21811
  document.fonts.ready.then(() => {
21811
- const S = Dt.select(`.icon-${c}`), A = S.node()?.getComputedTextLength();
21812
- S.attr("x", () => h < Un ? A ? A / 2 - 12 : 12 : A ? A / 2 - 16 : 16);
21812
+ const T = Dt.select(`.icon-${c}`), A = T.node()?.getComputedTextLength();
21813
+ T.attr("x", () => h < Un ? A ? A / 2 - 12 : 12 : A ? A / 2 - 16 : 16);
21813
21814
  });
21814
21815
  }, []), !e) return;
21815
21816
  const {
@@ -22011,7 +22012,7 @@ const c0 = ({
22011
22012
  budget_category: A.category.name,
22012
22013
  click_type: "bubble"
22013
22014
  });
22014
- }, S = () => {
22015
+ }, T = () => {
22015
22016
  f(!0), s(W.ACCOUNTS_CLICK_CONNECT);
22016
22017
  };
22017
22018
  return d ? /* @__PURE__ */ t(b, { alignItems: "center", height: n, justifyContent: "center", width: Math.abs(E), children: /* @__PURE__ */ t(de, {}) }) : /* @__PURE__ */ l(L, { ml: o || m ? 0 : 24, sx: { alignSelf: "center" }, children: [
@@ -22020,7 +22021,7 @@ const c0 = ({
22020
22021
  {
22021
22022
  createBudgetOnClick: e,
22022
22023
  isMiniWidget: a,
22023
- onConnectAccountsClick: S
22024
+ onConnectAccountsClick: T
22024
22025
  }
22025
22026
  ) : /* @__PURE__ */ t(
22026
22027
  l0,
@@ -22092,7 +22093,7 @@ const c0 = ({
22092
22093
  }), h0 = I(
22093
22094
  ({ category: e }) => {
22094
22095
  const { budgets: n } = x(), { budgets: i } = lt(), a = g.useMemo(() => {
22095
- const o = i.find((c) => c.category_guid === e.guid), r = P(e.totalAverageAmount, "0,0"), s = o ? T(n.recalculate_previous_budget, P(o.amount, "0,0")) : n.recalculate_new_budget;
22096
+ const o = i.find((c) => c.category_guid === e.guid), r = P(e.totalAverageAmount, "0,0"), s = o ? S(n.recalculate_previous_budget, P(o.amount, "0,0")) : n.recalculate_new_budget;
22096
22097
  return `${r} - ${s}`;
22097
22098
  }, [n, i]);
22098
22099
  return /* @__PURE__ */ l(g.Fragment, { children: [
@@ -22136,11 +22137,11 @@ const c0 = ({
22136
22137
  const { budgets: a } = x(), { totalBudgeted: o } = lt(), { projectedIncome: r } = ze(), s = r - o;
22137
22138
  return /* @__PURE__ */ l(b, { gap: 16, children: [
22138
22139
  /* @__PURE__ */ l(b, { children: [
22139
- /* @__PURE__ */ t(p, { children: T(
22140
+ /* @__PURE__ */ t(p, { children: S(
22140
22141
  a.add_description_top,
22141
22142
  P(s, "0,0")
22142
22143
  ) }),
22143
- /* @__PURE__ */ t(p, { children: T(a.add_description_bottom, n) })
22144
+ /* @__PURE__ */ t(p, { children: S(a.add_description_bottom, n) })
22144
22145
  ] }),
22145
22146
  /* @__PURE__ */ t(
22146
22147
  Qt,
@@ -22185,7 +22186,7 @@ const c0 = ({
22185
22186
  ] });
22186
22187
  }), p0 = I(({ onRecalculateBudgets: e }) => {
22187
22188
  const { budgets: n } = x(), { addBudget: i, setAlert: a, unbudgetedCategories: o } = lt(), r = async (s, c) => {
22188
- await i(s, c), a(T(n.alert_budget_created, s.name));
22189
+ await i(s, c), a(S(n.alert_budget_created, s.name));
22189
22190
  };
22190
22191
  return /* @__PURE__ */ l(b, { children: [
22191
22192
  /* @__PURE__ */ t(u0, {}),
@@ -22250,8 +22251,8 @@ const c0 = ({
22250
22251
  }), b0 = I(({ category: e, parentBudget: n }) => {
22251
22252
  const { budgets: i, common: a } = x(), { setExpandedGuid: o, setOnSelect: r } = _n(), { addBudget: s } = lt(), [c, d] = g.useState(!1), [u, _] = g.useState(!1), [h, m] = g.useState(""), [C, f] = g.useState(void 0);
22252
22253
  g.useEffect(() => {
22253
- r((S) => {
22254
- const A = e.subCategories.find((w) => w.guid === S);
22254
+ r((T) => {
22255
+ const A = e.subCategories.find((w) => w.guid === T);
22255
22256
  A && (f(A), m(`${A.currentAmount === 0 ? "" : A.currentAmount}`), _(!0));
22256
22257
  });
22257
22258
  }, []);
@@ -22307,7 +22308,7 @@ const c0 = ({
22307
22308
  custom: (v) => v.category_guid === s.category_guid
22308
22309
  }));
22309
22310
  }, [s]);
22310
- const S = async () => {
22311
+ const T = async () => {
22311
22312
  s && await d({
22312
22313
  ...s,
22313
22314
  amount: Number(E)
@@ -22353,7 +22354,7 @@ const c0 = ({
22353
22354
  disablePrimaryButton: Number(E) <= 0,
22354
22355
  isOpen: h,
22355
22356
  onClose: () => m(!1),
22356
- onPrimaryAction: S,
22357
+ onPrimaryAction: T,
22357
22358
  primaryText: a.edit_save_button,
22358
22359
  children: /* @__PURE__ */ t(
22359
22360
  ma,
@@ -22375,7 +22376,7 @@ const c0 = ({
22375
22376
  primaryColor: "error",
22376
22377
  primaryText: "Delete",
22377
22378
  secondaryColor: "secondary",
22378
- children: /* @__PURE__ */ t(p, { variant: "Paragraph", children: T(a.delete_description, s.category.name) })
22379
+ children: /* @__PURE__ */ t(p, { variant: "Paragraph", children: S(a.delete_description, s.category.name) })
22379
22380
  }
22380
22381
  )
22381
22382
  ] })
@@ -22431,7 +22432,7 @@ const c0 = ({
22431
22432
  )
22432
22433
  ] })
22433
22434
  ] });
22434
- }), S0 = I(() => {
22435
+ }), T0 = I(() => {
22435
22436
  const { selectedAccountGuids: e } = le(), { budgets: n, common: i } = x(), {
22436
22437
  dateRange: a,
22437
22438
  deleteBudget: o,
@@ -22440,7 +22441,7 @@ const c0 = ({
22440
22441
  setAlert: c,
22441
22442
  setSelectedBudget: d,
22442
22443
  updateBudget: u
22443
- } = lt(), { setFilter: _ } = Ne(), [h, m] = g.useState(!1), [C, f] = g.useState(!1), [E, y] = g.useState(!1), [S, A] = g.useState("");
22444
+ } = lt(), { setFilter: _ } = Ne(), [h, m] = g.useState(!1), [C, f] = g.useState(!1), [E, y] = g.useState(!1), [T, A] = g.useState("");
22444
22445
  g.useEffect(() => {
22445
22446
  r && !s && (A(`${r.amount}`), m(!0), _({
22446
22447
  accounts: e,
@@ -22451,11 +22452,11 @@ const c0 = ({
22451
22452
  const w = async () => {
22452
22453
  r && (await u({
22453
22454
  ...r,
22454
- amount: Number(S),
22455
- percentage: r.category.totalAmount / Number(S) * 100
22456
- }), c(T(n.alert_budget_updated, r.category.name)));
22455
+ amount: Number(T),
22456
+ percentage: r.category.totalAmount / Number(T) * 100
22457
+ }), c(S(n.alert_budget_updated, r.category.name)));
22457
22458
  }, v = async () => {
22458
- r && (await o(r.guid), c(T(n.alert_budget_deleted, r.category.name))), y(!1), R();
22459
+ r && (await o(r.guid), c(S(n.alert_budget_deleted, r.category.name))), y(!1), R();
22459
22460
  }, R = () => {
22460
22461
  m(!1), setTimeout(() => {
22461
22462
  d(void 0);
@@ -22482,7 +22483,7 @@ const c0 = ({
22482
22483
  Me,
22483
22484
  {
22484
22485
  copy: { close_aria: i.close_aria, title: n.details_edit_title },
22485
- disablePrimaryButton: Number(S) <= 0,
22486
+ disablePrimaryButton: Number(T) <= 0,
22486
22487
  isOpen: C,
22487
22488
  onClose: () => f(!1),
22488
22489
  onPrimaryAction: w,
@@ -22490,7 +22491,7 @@ const c0 = ({
22490
22491
  children: /* @__PURE__ */ t(
22491
22492
  ma,
22492
22493
  {
22493
- amount: S,
22494
+ amount: T,
22494
22495
  categoryName: r.category.name,
22495
22496
  onAmountChanged: A
22496
22497
  }
@@ -22507,11 +22508,11 @@ const c0 = ({
22507
22508
  primaryColor: "error",
22508
22509
  primaryText: n.details_delete_button,
22509
22510
  secondaryColor: "secondary",
22510
- children: /* @__PURE__ */ t(p, { variant: "Paragraph", children: T(n.delete_description, r.category.name) })
22511
+ children: /* @__PURE__ */ t(p, { variant: "Paragraph", children: S(n.delete_description, r.category.name) })
22511
22512
  }
22512
22513
  )
22513
22514
  ] });
22514
- }), T0 = ({ budget: e, onClick: n }) => {
22515
+ }), S0 = ({ budget: e, onClick: n }) => {
22515
22516
  const {
22516
22517
  amount: i,
22517
22518
  budgetColors: { background: a, description: o },
@@ -22550,7 +22551,7 @@ const c0 = ({
22550
22551
  return /* @__PURE__ */ l(Rt, { elevation: 2, children: [
22551
22552
  /* @__PURE__ */ t(dn, { sx: { pb: 8, pl: 24 }, title: /* @__PURE__ */ t(mt, { children: n.budget_categories_title }) }),
22552
22553
  /* @__PURE__ */ t(Ot, { sx: { p: 0, ":last-child": { p: 0 } }, children: /* @__PURE__ */ t(ie, { children: i.map((r) => /* @__PURE__ */ l(g.Fragment, { children: [
22553
- /* @__PURE__ */ t(T0, { budget: r, onClick: o }),
22554
+ /* @__PURE__ */ t(S0, { budget: r, onClick: o }),
22554
22555
  /* @__PURE__ */ t(H, {})
22555
22556
  ] }, r.guid)) }) })
22556
22557
  ] });
@@ -22568,7 +22569,7 @@ const c0 = ({
22568
22569
  }
22569
22570
  ];
22570
22571
  return [w, B];
22571
- }, [d, c]), [y, S] = g.useMemo(() => {
22572
+ }, [d, c]), [y, T] = g.useMemo(() => {
22572
22573
  const w = Math.abs(
22573
22574
  s.reduce((B, M) => B + M.totalAmount, 0)
22574
22575
  );
@@ -22596,7 +22597,7 @@ const c0 = ({
22596
22597
  /* @__PURE__ */ l(b, { gap: 8, children: [
22597
22598
  /* @__PURE__ */ t(p, { bold: !0, sx: { mb: 8 }, variant: "Body", children: a.spending_title }),
22598
22599
  /* @__PURE__ */ t(jn, { data: E, height: 16 }),
22599
- /* @__PURE__ */ t(p, { variant: "Small", children: T(
22600
+ /* @__PURE__ */ t(p, { variant: "Small", children: S(
22600
22601
  a.spending_description,
22601
22602
  P(f, "0,0"),
22602
22603
  P(u, "0,0")
@@ -22615,8 +22616,8 @@ const c0 = ({
22615
22616
  }
22616
22617
  )
22617
22618
  ] }),
22618
- /* @__PURE__ */ t(jn, { data: S, height: 16 }),
22619
- /* @__PURE__ */ t(p, { variant: "Small", children: T(
22619
+ /* @__PURE__ */ t(jn, { data: T, height: 16 }),
22620
+ /* @__PURE__ */ t(p, { variant: "Small", children: S(
22620
22621
  a.income_description,
22621
22622
  P(y, "0,0"),
22622
22623
  P(_, "0,0")
@@ -22644,7 +22645,7 @@ const c0 = ({
22644
22645
  isDataLoaded: f,
22645
22646
  loadBudgetData: E,
22646
22647
  setDateRange: y,
22647
- setAlert: S,
22648
+ setAlert: T,
22648
22649
  setTheme: A,
22649
22650
  budgets: w
22650
22651
  } = lt(), { loadRepeatingTransactions: v } = ze(), { reloadCategoryTotals: R } = $e(), { isSmallTablet: B, isMobile: M, isSmallMobile: D } = Ce(), k = B || M || D, [O, U] = g.useState(!1);
@@ -22716,7 +22717,7 @@ const c0 = ({
22716
22717
  ]
22717
22718
  }
22718
22719
  ),
22719
- /* @__PURE__ */ t(S0, {}),
22720
+ /* @__PURE__ */ t(T0, {}),
22720
22721
  /* @__PURE__ */ t(
22721
22722
  ce,
22722
22723
  {
@@ -22728,19 +22729,19 @@ const c0 = ({
22728
22729
  }
22729
22730
  ),
22730
22731
  /* @__PURE__ */ t(
22731
- Si,
22732
+ Ti,
22732
22733
  {
22733
22734
  anchorOrigin: { vertical: "bottom", horizontal: "right" },
22734
22735
  autoHideDuration: 3500,
22735
22736
  onClose: () => {
22736
- S("");
22737
+ T("");
22737
22738
  },
22738
22739
  open: !!m,
22739
22740
  children: /* @__PURE__ */ t(
22740
- Sn,
22741
+ Tn,
22741
22742
  {
22742
22743
  onClose: () => {
22743
- S("");
22744
+ T("");
22744
22745
  },
22745
22746
  severity: "success",
22746
22747
  variant: "filled",
@@ -22841,7 +22842,7 @@ const c0 = ({
22841
22842
  return m > 1 && m < 12 ? r.good_morning : m >= 12 && m < 18 ? r.good_afternoon : r.good_evening;
22842
22843
  };
22843
22844
  return /* @__PURE__ */ l(g.Fragment, { children: [
22844
- /* @__PURE__ */ t(St, { sx: { gap: 12, mb: d ? 24 : 0, p: 24 }, children: /* @__PURE__ */ l(b, { alignItems: "center", flexDirection: "row", justifyContent: "space-between", children: [
22845
+ /* @__PURE__ */ t(Tt, { sx: { gap: 12, mb: d ? 24 : 0, p: 24 }, children: /* @__PURE__ */ l(b, { alignItems: "center", flexDirection: "row", justifyContent: "space-between", children: [
22845
22846
  /* @__PURE__ */ t(b, { direction: "row", spacing: 2, children: /* @__PURE__ */ l(b, { children: [
22846
22847
  /* @__PURE__ */ t(Xt, { children: _() }),
22847
22848
  /* @__PURE__ */ t(p, { color: "text.secondary", sx: { fontSize: 15 }, children: r.heres_your_spending_overview })
@@ -23034,17 +23035,17 @@ const R0 = ({ widgets: e, isLoading: n }) => {
23034
23035
  const y = c.filter(
23035
23036
  (w) => !!w[f.name]
23036
23037
  );
23037
- let S = y.reduce(
23038
+ let T = y.reduce(
23038
23039
  (w, v) => w + Fi(v) * v[f.name] / 100,
23039
23040
  0
23040
23041
  );
23041
23042
  const A = k0(
23042
23043
  y,
23043
23044
  f.name,
23044
- S
23045
+ T
23045
23046
  );
23046
23047
  if (f.name === "allocations_cash" && d > 0) {
23047
- S += d;
23048
+ T += d;
23048
23049
  const w = {
23049
23050
  displayName: n.cash_balance_display_name,
23050
23051
  name: "allocations_name",
@@ -23053,22 +23054,22 @@ const R0 = ({ widgets: e, isLoading: n }) => {
23053
23054
  };
23054
23055
  A.push(w);
23055
23056
  }
23056
- S > 0 && (o.push({
23057
+ T > 0 && (o.push({
23057
23058
  name: f.name,
23058
23059
  displayName: a[E],
23059
23060
  guid: `${f.name}-${E}`,
23060
23061
  holdings: A,
23061
- percentage: S / m,
23062
- value: S,
23062
+ percentage: T / m,
23063
+ value: T,
23063
23064
  color: O0[f.name]
23064
- }), r += S);
23065
+ }), r += T);
23065
23066
  });
23066
23067
  const C = o.map(
23067
- ({ displayName: f, guid: E, color: y, value: S }) => ({
23068
+ ({ displayName: f, guid: E, color: y, value: T }) => ({
23068
23069
  id: E,
23069
23070
  color: y,
23070
23071
  label: f,
23071
- value: S / r * 100
23072
+ value: T / r * 100
23072
23073
  })
23073
23074
  );
23074
23075
  return {
@@ -23086,7 +23087,7 @@ const R0 = ({ widgets: e, isLoading: n }) => {
23086
23087
  selectedTabs: a,
23087
23088
  setSelectedTabs: o
23088
23089
  }) => {
23089
- const r = (S, A) => {
23090
+ const r = (T, A) => {
23090
23091
  A !== null && o(A);
23091
23092
  }, { isMobile: s } = Ce(), {
23092
23093
  investments: { allocation: c }
@@ -23102,7 +23103,7 @@ const R0 = ({ widgets: e, isLoading: n }) => {
23102
23103
  fullWidth: !0,
23103
23104
  onChange: r,
23104
23105
  value: E ? -1 : a,
23105
- children: f.map(({ label: S, value: A }) => /* @__PURE__ */ t(
23106
+ children: f.map(({ label: T, value: A }) => /* @__PURE__ */ t(
23106
23107
  qn,
23107
23108
  {
23108
23109
  sx: {
@@ -23123,13 +23124,13 @@ const R0 = ({ widgets: e, isLoading: n }) => {
23123
23124
  color: _
23124
23125
  },
23125
23126
  value: A,
23126
- children: /* @__PURE__ */ t(p, { bold: !0, textTransform: "capitalize", variant: "Body", children: S })
23127
+ children: /* @__PURE__ */ t(p, { bold: !0, textTransform: "capitalize", variant: "Body", children: T })
23127
23128
  },
23128
- S
23129
+ T
23129
23130
  ))
23130
23131
  }
23131
23132
  ),
23132
- /* @__PURE__ */ t(ie, { sx: { px: 12 }, children: e.investmentsData.map((S) => /* @__PURE__ */ l(g.Fragment, { children: [
23133
+ /* @__PURE__ */ t(ie, { sx: { px: 12 }, children: e.investmentsData.map((T) => /* @__PURE__ */ l(g.Fragment, { children: [
23133
23134
  /* @__PURE__ */ t(
23134
23135
  z,
23135
23136
  {
@@ -23141,8 +23142,8 @@ const R0 = ({ widgets: e, isLoading: n }) => {
23141
23142
  children: /* @__PURE__ */ l(
23142
23143
  _e,
23143
23144
  {
23144
- "aria-expanded": i === S.guid,
23145
- onClick: () => n(S.guid),
23145
+ "aria-expanded": i === T.guid,
23146
+ onClick: () => n(T.guid),
23146
23147
  sx: { minHeight: 44, px: 12, py: 0 },
23147
23148
  children: [
23148
23149
  /* @__PURE__ */ t(
@@ -23151,7 +23152,7 @@ const R0 = ({ widgets: e, isLoading: n }) => {
23151
23152
  borderRadius: 4,
23152
23153
  flexShrink: 0,
23153
23154
  height: 8,
23154
- sx: { backgroundColor: S.color, mr: 8 },
23155
+ sx: { backgroundColor: T.color, mr: 8 },
23155
23156
  width: 8
23156
23157
  }
23157
23158
  ),
@@ -23163,8 +23164,8 @@ const R0 = ({ widgets: e, isLoading: n }) => {
23163
23164
  justifyContent: "space-between",
23164
23165
  width: "100%",
23165
23166
  children: [
23166
- /* @__PURE__ */ t(p, { bold: i === S.guid, children: S.displayName }),
23167
- /* @__PURE__ */ t(p, { bold: i === S.guid, variant: "Body", children: a === 0 ? hi(S.value) : Wa(S.percentage) })
23167
+ /* @__PURE__ */ t(p, { bold: i === T.guid, children: T.displayName }),
23168
+ /* @__PURE__ */ t(p, { bold: i === T.guid, variant: "Body", children: a === 0 ? hi(T.value) : Wa(T.percentage) })
23168
23169
  ]
23169
23170
  }
23170
23171
  )
@@ -23174,8 +23175,8 @@ const R0 = ({ widgets: e, isLoading: n }) => {
23174
23175
  }
23175
23176
  ),
23176
23177
  /* @__PURE__ */ t(H, {}),
23177
- S.holdings && S.holdings.length > 0 && /* @__PURE__ */ t(Jn, { in: i === S.guid, unmountOnExit: !0, children: /* @__PURE__ */ l(ie, { children: [
23178
- S?.holdings?.map((A) => /* @__PURE__ */ t(
23178
+ T.holdings && T.holdings.length > 0 && /* @__PURE__ */ t(Jn, { in: i === T.guid, unmountOnExit: !0, children: /* @__PURE__ */ l(ie, { children: [
23179
+ T?.holdings?.map((A) => /* @__PURE__ */ t(
23179
23180
  z,
23180
23181
  {
23181
23182
  sx: {
@@ -23195,7 +23196,7 @@ const R0 = ({ widgets: e, isLoading: n }) => {
23195
23196
  )),
23196
23197
  /* @__PURE__ */ t(H, {})
23197
23198
  ] }) })
23198
- ] }, S.guid)) }),
23199
+ ] }, T.guid)) }),
23199
23200
  E ? /* @__PURE__ */ l(q, { children: [
23200
23201
  /* @__PURE__ */ t(p, { sx: { color: "secondary.main", p: 8, textAlign: "center" }, children: c.empty_data }),
23201
23202
  /* @__PURE__ */ t(H, { sx: { borderColor: "border.light" } }),
@@ -23225,7 +23226,7 @@ const R0 = ({ widgets: e, isLoading: n }) => {
23225
23226
  [s]
23226
23227
  ), {
23227
23228
  investments: { allocation: m }
23228
- } = x(), C = g.useMemo(() => e.donutData.length > 0 ? e.donutData : [{ id: "0", color: u.palette.border.light, value: 100 }], [e, u]), f = _ ? "#0AC295" : "#09A57F", E = _ ? "grey.300" : "grey.700", y = () => h ? m.pie_chart_centered_click_for_details : i ? Wa(e.totalGainLossPercentage) : hi(e.totalGainLoss), S = e.totalGainLoss >= 0 ? f : E;
23229
+ } = x(), C = g.useMemo(() => e.donutData.length > 0 ? e.donutData : [{ id: "0", color: u.palette.border.light, value: 100 }], [e, u]), f = _ ? "#0AC295" : "#09A57F", E = _ ? "grey.300" : "grey.700", y = () => h ? m.pie_chart_centered_click_for_details : i ? Wa(e.totalGainLossPercentage) : hi(e.totalGainLoss), T = e.totalGainLoss >= 0 ? f : E;
23229
23230
  return /* @__PURE__ */ t(
23230
23231
  Bs,
23231
23232
  {
@@ -23245,14 +23246,14 @@ const R0 = ({ widgets: e, isLoading: n }) => {
23245
23246
  {
23246
23247
  name: e.totalGainLoss >= 0 ? "trending_up" : "trending_down",
23247
23248
  size: 20,
23248
- sx: { color: S }
23249
+ sx: { color: T }
23249
23250
  }
23250
23251
  ),
23251
23252
  /* @__PURE__ */ t(
23252
23253
  p,
23253
23254
  {
23254
23255
  sx: {
23255
- color: S,
23256
+ color: T,
23256
23257
  fontWeight: 700
23257
23258
  },
23258
23259
  variant: "Small",
@@ -23509,8 +23510,8 @@ const R0 = ({ widgets: e, isLoading: n }) => {
23509
23510
  ]
23510
23511
  }
23511
23512
  ),
23512
- n.map((C, f, E) => /* @__PURE__ */ t(b, { sx: { flexDirection: "row", gap: 4 }, children: C.map((y, S) => {
23513
- const A = f === 0, w = f === E.length - 1, v = S === 0, R = S === C.length - 1, B = Number(y.replace("%", "")) >= 25;
23513
+ n.map((C, f, E) => /* @__PURE__ */ t(b, { sx: { flexDirection: "row", gap: 4 }, children: C.map((y, T) => {
23514
+ const A = f === 0, w = f === E.length - 1, v = T === 0, R = T === C.length - 1, B = Number(y.replace("%", "")) >= 25;
23514
23515
  let M = "grey.200", D = "grey.900";
23515
23516
  return d ? (M = B ? "grey.200" : "grey.700", D = B ? "grey.900" : "common.white") : (M = B ? "grey.700" : "grey.200", D = B ? "common.white" : "grey.900"), /* @__PURE__ */ t(
23516
23517
  b,
@@ -23540,7 +23541,7 @@ const R0 = ({ widgets: e, isLoading: n }) => {
23540
23541
  }
23541
23542
  )
23542
23543
  },
23543
- S
23544
+ T
23544
23545
  );
23545
23546
  }) }, f)),
23546
23547
  /* @__PURE__ */ t(b, { sx: { alignSelf: "center", flexDirection: "row", pt: 12 }, children: h.map((C) => /* @__PURE__ */ t(b, { sx: { alignItems: "center", width: u }, children: /* @__PURE__ */ t(p, { color: "secondary.main", variant: m, children: C }) }, C)) }),
@@ -24029,7 +24030,7 @@ const R0 = ({ widgets: e, isLoading: n }) => {
24029
24030
  }
24030
24031
  ];
24031
24032
  return /* @__PURE__ */ t(
24032
- St,
24033
+ Tt,
24033
24034
  {
24034
24035
  sx: {
24035
24036
  boxShadow: "none",
@@ -24053,7 +24054,7 @@ const R0 = ({ widgets: e, isLoading: n }) => {
24053
24054
  const { isMobile: e } = Ce(), [n, i] = Et({}), [a, o] = Et(!1), { selectedAccountGuids: r } = le(), { visibleHoldings: s, updateHoldings: c } = Gn(), [d, u] = g.useState(!1), [_, h] = Et({
24054
24055
  accounts: [],
24055
24056
  holdings: []
24056
- }), { accounts: m, investments: C } = x(), { isCopyLoaded: f } = le(), [E, y] = Et(null), [S, A] = Et(""), v = pe().palette.mode === "dark", R = v ? "#0AC295" : "#09A57F", B = v ? "grey.300" : "grey.700", M = (Q, ne = "lesserThan") => ne === "greaterThan" ? Q >= 0 ? R : B : Q <= 0 ? B : R, D = (Q, ne) => {
24057
+ }), { accounts: m, investments: C } = x(), { isCopyLoaded: f } = le(), [E, y] = Et(null), [T, A] = Et(""), v = pe().palette.mode === "dark", R = v ? "#0AC295" : "#09A57F", B = v ? "grey.300" : "grey.700", M = (Q, ne = "lesserThan") => ne === "greaterThan" ? Q >= 0 ? R : B : Q <= 0 ? B : R, D = (Q, ne) => {
24057
24058
  y(Q), A(ne.toFixed(2));
24058
24059
  }, k = (Q) => {
24059
24060
  const ne = Q.target.value;
@@ -24063,7 +24064,7 @@ const R0 = ({ widgets: e, isLoading: n }) => {
24063
24064
  }, U = (Q) => {
24064
24065
  const ne = s.find(({ guid: Qe }) => Qe === Q);
24065
24066
  if (!ne) return;
24066
- const Ue = Number(S);
24067
+ const Ue = Number(T);
24067
24068
  if (c({ ...ne, cost_basis: Ue }), e) {
24068
24069
  const Qe = _.holdings.map(
24069
24070
  (K) => K.id === Q ? { ...K, costBasis: Ue } : K
@@ -24137,7 +24138,7 @@ const R0 = ({ widgets: e, isLoading: n }) => {
24137
24138
  ), Le = Qe ? K / Qe * 100 : 0;
24138
24139
  if (e)
24139
24140
  return /* @__PURE__ */ t(
24140
- St,
24141
+ Tt,
24141
24142
  {
24142
24143
  onClick: ne.length ? () => {
24143
24144
  o(!0), h({
@@ -24427,10 +24428,10 @@ const R0 = ({ widgets: e, isLoading: n }) => {
24427
24428
  ]
24428
24429
  }
24429
24430
  ),
24430
- /* @__PURE__ */ t(Ii, { sx: { bgcolor: "background.default", p: 12 }, children: /* @__PURE__ */ t(St, { sx: { border: 1, borderColor: "border.light" }, children: /* @__PURE__ */ t(
24431
+ /* @__PURE__ */ t(Ii, { sx: { bgcolor: "background.default", p: 12 }, children: /* @__PURE__ */ t(Tt, { sx: { border: 1, borderColor: "border.light" }, children: /* @__PURE__ */ t(
24431
24432
  j0,
24432
24433
  {
24433
- currentEditedCostBasis: S,
24434
+ currentEditedCostBasis: T,
24434
24435
  data: ne,
24435
24436
  editingHoldingId: E,
24436
24437
  handleCostBasisBlur: U,
@@ -24449,7 +24450,7 @@ const R0 = ({ widgets: e, isLoading: n }) => {
24449
24450
  Y0,
24450
24451
  {
24451
24452
  accountHoldingsData: _,
24452
- currentEditedCostBasis: S,
24453
+ currentEditedCostBasis: T,
24453
24454
  editingHoldingId: E,
24454
24455
  handleCostBasisBlur: U,
24455
24456
  handleCostBasisChange: k,
@@ -24483,7 +24484,7 @@ const R0 = ({ widgets: e, isLoading: n }) => {
24483
24484
  i(W.INVESTMENT_WIDGET_ACCOUNT_FILTER_CLICK);
24484
24485
  };
24485
24486
  if (!_ || !h) return /* @__PURE__ */ t(de, {});
24486
- const S = [
24487
+ const T = [
24487
24488
  W.INVESTMENT_WIDGET_DETAILS_CLICK,
24488
24489
  W.INVESTMENT_WIDGET_ALLOCATION_CLICK,
24489
24490
  W.INVESTMENT_WIDGET_ANALYSIS_CLICK
@@ -24506,7 +24507,7 @@ const R0 = ({ widgets: e, isLoading: n }) => {
24506
24507
  qt,
24507
24508
  {
24508
24509
  onChange: (v, R) => {
24509
- f(R), i(S[R]);
24510
+ f(R), i(T[R]);
24510
24511
  },
24511
24512
  sx: { bgcolor: "background.paper" },
24512
24513
  textColor: "primary",
@@ -24798,7 +24799,7 @@ const Di = g.createContext(null), of = ({
24798
24799
  variant: f,
24799
24800
  widthOverrides: E
24800
24801
  }, y) {
24801
- const [S, A] = g.useState(2), [w, v] = g.useState(!1);
24802
+ const [T, A] = g.useState(2), [w, v] = g.useState(!1);
24802
24803
  g.useEffect(() => {
24803
24804
  E && E <= 325 && A(3);
24804
24805
  }, [E]);
@@ -24814,7 +24815,7 @@ const Di = g.createContext(null), of = ({
24814
24815
  lineHeight: "20px",
24815
24816
  px: d ? 0 : 28,
24816
24817
  overflow: "hidden",
24817
- WebkitLineClamp: S,
24818
+ WebkitLineClamp: T,
24818
24819
  WebkitBoxOrient: "vertical",
24819
24820
  wordWrap: "break-word"
24820
24821
  },
@@ -25806,12 +25807,12 @@ const Di = g.createContext(null), of = ({
25806
25807
  }) => {
25807
25808
  const { ref: C, inView: f } = bs({
25808
25809
  threshold: $c
25809
- }), { cardsCopy: E } = On(), { onEvent: y } = Ri(), { updateBeat: S, updateOffer: A } = gf();
25810
+ }), { cardsCopy: E } = On(), { onEvent: y } = Ri(), { updateBeat: T, updateOffer: A } = gf();
25810
25811
  Mn(() => {
25811
25812
  f && (i.has_been_displayed ? y(Gc(i.template)) : (i.guid.startsWith("OFR") ? A({
25812
25813
  ...i,
25813
25814
  has_been_displayed: !0
25814
- }) : S({
25815
+ }) : T({
25815
25816
  ...i,
25816
25817
  has_been_displayed: !0
25817
25818
  }), y(Bc(i.template))));
@@ -25961,7 +25962,7 @@ const Di = g.createContext(null), of = ({
25961
25962
  variant: u,
25962
25963
  widthOverrides: _
25963
25964
  }) => {
25964
- const h = Ef(a, d, _), m = g.useRef(null), [C, f] = g.useState(0), [E, y] = g.useState(null), [S, A] = g.useState(null), { carouselCopy: w } = On(), { onEvent: v } = Ri(), R = () => {
25965
+ const h = Ef(a, d, _), m = g.useRef(null), [C, f] = g.useState(0), [E, y] = g.useState(null), [T, A] = g.useState(null), { carouselCopy: w } = On(), { onEvent: v } = Ri(), R = () => {
25965
25966
  v(Vt.ON_CAROUSEL_FORWARD_CLICK), m.current && m.current.scrollTo({
25966
25967
  left: (
25967
25968
  // Adds the flex gap to the carousel ref's width
@@ -25979,8 +25980,8 @@ const Di = g.createContext(null), of = ({
25979
25980
  }, M = () => {
25980
25981
  m.current && f(m.current.scrollLeft);
25981
25982
  }, D = () => {
25982
- if (!S || !E) return;
25983
- S - E > mf ? v(Vt.ON_CAROUSEL_FORWARD_SWIPE) : v(Vt.ON_CAROUSEL_BACK_SWIPE);
25983
+ if (!T || !E) return;
25984
+ T - E > mf ? v(Vt.ON_CAROUSEL_FORWARD_SWIPE) : v(Vt.ON_CAROUSEL_BACK_SWIPE);
25984
25985
  }, k = (te) => {
25985
25986
  y(te.targetTouches[0].clientX);
25986
25987
  }, O = (te) => {
@@ -26013,7 +26014,7 @@ const Di = g.createContext(null), of = ({
26013
26014
  ref: m,
26014
26015
  children: [
26015
26016
  e.map((te, ge) => {
26016
- const De = ge + 1, Re = e.length + 1, Se = T(
26017
+ const De = ge + 1, Re = e.length + 1, Te = S(
26017
26018
  w.card_position_in_carousel_aria,
26018
26019
  De.toString(),
26019
26020
  Re.toString()
@@ -26021,7 +26022,7 @@ const Di = g.createContext(null), of = ({
26021
26022
  return /* @__PURE__ */ t(
26022
26023
  pf,
26023
26024
  {
26024
- ariaLabel: `${Se}: ${Q}, ${ne}`,
26025
+ ariaLabel: `${Te}: ${Q}, ${ne}`,
26025
26026
  beat: te,
26026
26027
  index: ge,
26027
26028
  isActiveCard: ge === ee,
@@ -26082,7 +26083,7 @@ const Di = g.createContext(null), of = ({
26082
26083
  display: "none"
26083
26084
  }
26084
26085
  }
26085
- }), Sf = ({
26086
+ }), Tf = ({
26086
26087
  clientColorScheme: e,
26087
26088
  onCardClick: n,
26088
26089
  posthog: i,
@@ -26151,7 +26152,7 @@ const Di = g.createContext(null), of = ({
26151
26152
  ]
26152
26153
  }
26153
26154
  ) : /* @__PURE__ */ t(de, {});
26154
- }, Tf = I(Sf), Af = ({
26155
+ }, Sf = I(Tf), Af = ({
26155
26156
  heightOverrides: e,
26156
26157
  widthOverrides: n,
26157
26158
  children: i
@@ -26303,7 +26304,7 @@ const Di = g.createContext(null), of = ({
26303
26304
  showIcon: f,
26304
26305
  showWithMargin: E = !0,
26305
26306
  token: y = "",
26306
- useDarkMode: S,
26307
+ useDarkMode: T,
26307
26308
  userHasFullInsightFeedBeats: A,
26308
26309
  variant: w,
26309
26310
  widthOverrides: v
@@ -26324,7 +26325,7 @@ const Di = g.createContext(null), of = ({
26324
26325
  posthog: _,
26325
26326
  showIcon: f,
26326
26327
  showWithMargin: E,
26327
- useDarkMode: S,
26328
+ useDarkMode: T,
26328
26329
  widthOverrides: v
26329
26330
  }, ue = {
26330
26331
  carouselSize: B,
@@ -26338,7 +26339,7 @@ const Di = g.createContext(null), of = ({
26338
26339
  /* @__PURE__ */ t(of, { onEvent: O, onPageview: U, store: hn, children: /* @__PURE__ */ l(Af, { heightOverrides: r, widthOverrides: v, children: [
26339
26340
  (e || !hn.isInitialized) && /* @__PURE__ */ t(If, {}),
26340
26341
  D && C && /* @__PURE__ */ t(
26341
- Tf,
26342
+ Sf,
26342
26343
  {
26343
26344
  clientColorScheme: i,
26344
26345
  onCardClick: c,
@@ -26588,8 +26589,8 @@ const Di = g.createContext(null), of = ({
26588
26589
  ), C = g.useMemo(
26589
26590
  () => zc(a, o, c),
26590
26591
  [a, o, c]
26591
- ), f = (y, S) => {
26592
- h(S), u("");
26592
+ ), f = (y, T) => {
26593
+ h(T), u("");
26593
26594
  }, E = (y) => {
26594
26595
  u(d === y ? "" : y);
26595
26596
  };
@@ -26803,7 +26804,7 @@ const Di = g.createContext(null), of = ({
26803
26804
  e.palette.chartMono.chartMono1,
26804
26805
  e.palette.chartMono.chartMono6
26805
26806
  ], Hf = () => {
26806
- const e = ln(), { categories: n, dateRangeCategoryTotals: i, loadDateRangeCategoryTotals: a } = $e(), { spending: o } = x(), { displayedDateRange: r, selectedAccounts: s, selectedAccountGuids: c } = le(), { setFilter: d, sortedTransactions: u } = Ne(), [_, h] = g.useState(""), [m, C] = g.useState(0), [f, E] = g.useState(""), [y, S] = g.useState(!1);
26807
+ const e = ln(), { categories: n, dateRangeCategoryTotals: i, loadDateRangeCategoryTotals: a } = $e(), { spending: o } = x(), { displayedDateRange: r, selectedAccounts: s, selectedAccountGuids: c } = le(), { setFilter: d, sortedTransactions: u } = Ne(), [_, h] = g.useState(""), [m, C] = g.useState(0), [f, E] = g.useState(""), [y, T] = g.useState(!1);
26807
26808
  g.useEffect(() => {
26808
26809
  a(
26809
26810
  s,
@@ -26846,7 +26847,7 @@ const Di = g.createContext(null), of = ({
26846
26847
  ...k,
26847
26848
  custom: (O) => D ? O.category_guid === D : O.top_level_category_guid === N.INCOME
26848
26849
  });
26849
- S(!0);
26850
+ T(!0);
26850
26851
  };
26851
26852
  return /* @__PURE__ */ l(L, { children: [
26852
26853
  /* @__PURE__ */ l(qt, { onChange: R, value: m, variant: "fullWidth", children: [
@@ -26900,7 +26901,7 @@ const Di = g.createContext(null), of = ({
26900
26901
  {
26901
26902
  ariaLabelClose: o.close_drawer_aria,
26902
26903
  isOpen: y,
26903
- onClose: () => S(!1),
26904
+ onClose: () => T(!1),
26904
26905
  title: o.transactions_drawer_title,
26905
26906
  children: /* @__PURE__ */ t(Rn, { onClick: E })
26906
26907
  }
@@ -26982,7 +26983,7 @@ const Vf = (e) => e.reduce((i, a) => {
26982
26983
  /* @__PURE__ */ t(
26983
26984
  L,
26984
26985
  {
26985
- "aria-label": T(i.category_icon_label_aria, a),
26986
+ "aria-label": S(i.category_icon_label_aria, a),
26986
26987
  role: "img",
26987
26988
  children: /* @__PURE__ */ t(kt, { categoryGuid: n })
26988
26989
  }
@@ -27042,11 +27043,11 @@ const Vf = (e) => e.reduce((i, a) => {
27042
27043
  (E) => E.category_guid === i || E.top_level_category_guid === i
27043
27044
  ) : e).reduce(
27044
27045
  (E, y) => {
27045
- const { category_guid: S, top_level_category_guid: A, month: w, total: v, year: R } = y, B = i ? S : A;
27046
+ const { category_guid: T, top_level_category_guid: A, month: w, total: v, year: R } = y, B = i ? T : A;
27046
27047
  E[B] || (E[B] = {
27047
27048
  id: B,
27048
27049
  category: B,
27049
- category_guid: S,
27050
+ category_guid: T,
27050
27051
  top_level_category_guid: A
27051
27052
  });
27052
27053
  const M = se(new Date(R, w - 1), oe.MONTH_SHORT);
@@ -27114,7 +27115,7 @@ const Vf = (e) => e.reduce((i, a) => {
27114
27115
  }, eb = I(Jf), tb = {
27115
27116
  view_transactions: "View Transactions"
27116
27117
  }, nb = ({ onBackClick: e, sx: n }) => {
27117
- const i = at(), { onEvent: a } = j(), { isDesktop: o, isTablet: r, isMobile: s } = Ce(), { visibleAccounts: c } = Ee(), { loadMonthlyCategoryTotals: d, monthlyCategoryTotals: u, getCategoryName: _ } = $e(), { sortedTransactions: h } = Ne(), { isCopyLoaded: m, isInitialized: C, selectedAccounts: f, setSelectedAccounts: E } = le(), { trends: y } = x(), S = i.palette.mode === "dark", [A, w] = g.useState(!1), [v, R] = g.useState(!1), [B, M] = g.useState("Chart"), [D, k] = g.useState(""), [O, U] = g.useState({
27118
+ const i = at(), { onEvent: a } = j(), { isDesktop: o, isTablet: r, isMobile: s } = Ce(), { visibleAccounts: c } = Ee(), { loadMonthlyCategoryTotals: d, monthlyCategoryTotals: u, getCategoryName: _ } = $e(), { sortedTransactions: h } = Ne(), { isCopyLoaded: m, isInitialized: C, selectedAccounts: f, setSelectedAccounts: E } = le(), { trends: y } = x(), T = i.palette.mode === "dark", [A, w] = g.useState(!1), [v, R] = g.useState(!1), [B, M] = g.useState("Chart"), [D, k] = g.useState(""), [O, U] = g.useState({
27118
27119
  start: zo(Ye(Yt(/* @__PURE__ */ new Date(), 6)), 1),
27119
27120
  end: Ye(/* @__PURE__ */ new Date())
27120
27121
  });
@@ -27162,7 +27163,7 @@ const Vf = (e) => e.reduce((i, a) => {
27162
27163
  a(W.TRENDS_CLICK_FILTER);
27163
27164
  }, Re = (ne) => {
27164
27165
  k(ne);
27165
- }, Se = (ne) => {
27166
+ }, Te = (ne) => {
27166
27167
  k(ne), a(W.TRENDS_CLICK_LEGEND, { category: _(ne) });
27167
27168
  }, Oe = (ne) => {
27168
27169
  a(W.TRENDS_HOVER_LEGEND, { category: _(ne) });
@@ -27230,20 +27231,20 @@ const Vf = (e) => e.reduce((i, a) => {
27230
27231
  fontWeight: 600,
27231
27232
  height: 44,
27232
27233
  width: 56,
27233
- color: S ? i.palette.grey[200] : i.palette.grey[600],
27234
- borderColor: S ? i.palette.grey[600] : i.palette.grey[400],
27234
+ color: T ? i.palette.grey[200] : i.palette.grey[600],
27235
+ borderColor: T ? i.palette.grey[600] : i.palette.grey[400],
27235
27236
  "&:hover": {
27236
- backgroundColor: S ? `${i.palette.primary.darker}25` : "inherit",
27237
- borderColor: S ? i.palette.grey[500] : i.palette.primary.main,
27238
- color: S ? i.palette.primary.light : i.palette.primary.dark
27237
+ backgroundColor: T ? `${i.palette.primary.darker}25` : "inherit",
27238
+ borderColor: T ? i.palette.grey[500] : i.palette.primary.main,
27239
+ color: T ? i.palette.primary.light : i.palette.primary.dark
27239
27240
  },
27240
27241
  "&.Mui-selected": {
27241
- backgroundColor: S ? i.palette.primary.darker : i.palette.primary.lighter,
27242
- borderColor: S ? i.palette.primary.light : i.palette.primary.main,
27243
- color: S ? i.palette.common.white : i.palette.primary.dark
27242
+ backgroundColor: T ? i.palette.primary.darker : i.palette.primary.lighter,
27243
+ borderColor: T ? i.palette.primary.light : i.palette.primary.main,
27244
+ color: T ? i.palette.common.white : i.palette.primary.dark
27244
27245
  },
27245
27246
  "&.Mui-disabled": {
27246
- borderColor: S ? i.palette.grey[700] : i.palette.grey[400],
27247
+ borderColor: T ? i.palette.grey[700] : i.palette.grey[400],
27247
27248
  color: i.palette.grey[500]
27248
27249
  }
27249
27250
  },
@@ -27268,7 +27269,7 @@ const Vf = (e) => e.reduce((i, a) => {
27268
27269
  B === "Chart" && /* @__PURE__ */ t(
27269
27270
  k_,
27270
27271
  {
27271
- onClickLegend: Se,
27272
+ onClickLegend: Te,
27272
27273
  onHoverArea: It,
27273
27274
  onHoverLegend: Oe,
27274
27275
  onHoverPoint: Q,
@@ -27337,7 +27338,7 @@ export {
27337
27338
  W as ANALYTICS_EVENTS,
27338
27339
  $r as AccountApi,
27339
27340
  Oc as AccountDetailsContent,
27340
- To as AccountDetailsHeader,
27341
+ So as AccountDetailsHeader,
27341
27342
  ks as AccountFilter,
27342
27343
  As as AccountIcon,
27343
27344
  Hd as AccountIconVariants,
@@ -27363,9 +27364,9 @@ export {
27363
27364
  WE as BubbleBudgetsWidget,
27364
27365
  G1 as BudgetNotificationProfiles,
27365
27366
  Zn as BudgetNotificationTypes,
27366
- S_ as Calendar,
27367
+ T_ as Calendar,
27367
27368
  Gs as CalendarSelectionTypes,
27368
- Tf as CarouselHeader,
27369
+ Sf as CarouselHeader,
27369
27370
  EE as CashflowApi,
27370
27371
  hE as CashflowMiniWidget,
27371
27372
  Fg as CashflowOnboarding,
@@ -27399,14 +27400,14 @@ export {
27399
27400
  _c as DebtsChart,
27400
27401
  Vm as DebtsStore,
27401
27402
  Mm as DebtsTable,
27402
- TE as DebtsWidget,
27403
+ SE as DebtsWidget,
27403
27404
  v1 as DeviceTab,
27404
27405
  Me as Dialog,
27405
27406
  Bs as Donut,
27406
27407
  ce as Drawer,
27407
27408
  zn as EmptyState,
27408
27409
  P_ as ErrorBoundary,
27409
- Ss as ErrorStatuses,
27410
+ Ts as ErrorStatuses,
27410
27411
  vu as ExpenseStatus,
27411
27412
  ot as Fetch,
27412
27413
  vt as FieldType,
@@ -27458,7 +27459,7 @@ export {
27458
27459
  $p as NetWorthSummary,
27459
27460
  wE as NetWorthWidget,
27460
27461
  VE as NoRelevantInsightsCard,
27461
- Ts as NonConnectedStatuses,
27462
+ Ss as NonConnectedStatuses,
27462
27463
  Qo as NotificationApi,
27463
27464
  ME as NotificationDrawer,
27464
27465
  g1 as NotificationList,
@@ -27472,7 +27473,7 @@ export {
27472
27473
  Yo as PaymentCategories,
27473
27474
  $d as PlanTypes,
27474
27475
  Bd as ProcessingStatuses,
27475
- S1 as ProfileTab,
27476
+ T1 as ProfileTab,
27476
27477
  ys as PropertyType,
27477
27478
  Q4 as PropertyTypeName,
27478
27479
  J4 as RECURRENCE_COPY,
@@ -27538,7 +27539,7 @@ export {
27538
27539
  KE as ZeroStateCard,
27539
27540
  Pc as ZeroStateIcon,
27540
27541
  Md as analyticsSession,
27541
- T as buildDynamicCopy,
27542
+ S as buildDynamicCopy,
27542
27543
  iE as buildPluralCopy,
27543
27544
  Us as exportTransactionsToCSV,
27544
27545
  P as formatCurrency,