@mx-cartographer/experiences 6.16.4 → 6.16.6-alpha.mega1

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
@@ -4,9 +4,9 @@ import { observer as I } from "mobx-react-lite";
4
4
  import L from "@mui/material/Box";
5
5
  import H from "@mui/material/Divider";
6
6
  import ie from "@mui/material/List";
7
- import Mt from "@mui/material/ListSubheader";
7
+ import kt from "@mui/material/ListSubheader";
8
8
  import we from "@mui/system/Stack";
9
- import { AccountsIcon as el, P as xe, Icon as $, useTokens as gt, Text as p, H2 as cn, CategoryIcon as kt, DialogHeader as tl, DialogFooter as nl, Drawer as il, Footer as al, DateRangePicker as ko, H3 as mt, H1 as Xt, TextField as yn, IconWeight as ft, MerchantLogo as rn, CategoryIconVariants as os, InstitutionLogo as ut, ChevronRightIcon as ol, THEMES as Go } from "@mxenabled/mxui";
9
+ import { AccountsIcon as el, P as Ee, Icon as $, useTokens as gt, Text as p, H2 as cn, CategoryIcon as Gt, DialogHeader as tl, DialogFooter as nl, Drawer as il, Footer as al, DateRangePicker as ko, H3 as mt, H1 as Xt, TextField as yn, IconWeight as ft, MerchantLogo as rn, CategoryIconVariants as os, InstitutionLogo as ut, ChevronRightIcon as ol, THEMES as Go } from "@mxenabled/mxui";
10
10
  import rl from "bowser";
11
11
  import { getUnixTime as He } from "date-fns/getUnixTime";
12
12
  import { intlFormat as sl } from "date-fns/intlFormat";
@@ -49,12 +49,12 @@ import pl from "@mui/icons-material/KeyboardArrowLeftRounded";
49
49
  import Cl from "@mui/icons-material/KeyboardArrowRightRounded";
50
50
  import { isSameDay as yt } from "date-fns/isSameDay";
51
51
  import { isWithinInterval as Ua } from "date-fns/isWithinInterval";
52
- import * as Dt from "d3";
52
+ import * as Rt from "d3";
53
53
  import { selectAll as fl, interpolateString as bl, arc as yl } from "d3";
54
54
  import { useTheme as at, alpha as zn, keyframes as El, ThemeProvider as Sl } from "@mui/material/styles";
55
55
  import { ResponsiveChartContainer as Tl, AreaPlot as Al, LinePlot as Il, MarkPlot as xl, BarPlot as vl, ChartsXAxis as wl, ChartsYAxis as Nl, ChartsReferenceLine as Dl, ChartsLegend as Rl, LineChart as cs } from "@mui/x-charts";
56
- import Rt from "@mui/material/Card";
57
- import Ot from "@mui/material/CardContent";
56
+ import Ot from "@mui/material/Card";
57
+ import Lt from "@mui/material/CardContent";
58
58
  import je from "@mui/material/Grid";
59
59
  import { differenceInCalendarDays as Ol } from "date-fns/differenceInCalendarDays";
60
60
  import { endOfToday as En } from "date-fns/endOfToday";
@@ -77,8 +77,8 @@ import za from "@mui/material/CircularProgress";
77
77
  import { v4 as jl } from "uuid";
78
78
  import Ki from "@mui/material/InputAdornment";
79
79
  import Xl from "@mui/material/Radio";
80
- import Gt from "@mui/material/Avatar";
81
- import ke from "@mui/material/ListItemAvatar";
80
+ import Bt from "@mui/material/Avatar";
81
+ import Ge from "@mui/material/ListItemAvatar";
82
82
  import ht from "@mui/material/ListItemIcon";
83
83
  import Ya from "@mui/material/MenuItem";
84
84
  import nt from "@mui/material/TextField";
@@ -325,7 +325,7 @@ const Bd = async (e, n, i = "1.0.0", a = "Experiences") => {
325
325
  TRENDS_HOVER_POINT: "trends_widget_hover_chart_point",
326
326
  TRENDS_VIEW_TRANSACTIONS: "trends_widget_view_transactions",
327
327
  WIDGET_BACK_CLICK: "widget_back_button_click"
328
- }, Hd = "do", Z4 = "MMM do, yyyy", re = {
328
+ }, Hd = "do", ZE = "MMM do, yyyy", re = {
329
329
  TIME_STAMP_HOUR_MINUTE: {
330
330
  hour: "numeric",
331
331
  minute: "numeric"
@@ -410,7 +410,7 @@ const Fd = [
410
410
  /* IMPAIRED */
411
411
  ], xs = [...Is, ...As];
412
412
  var Ln = /* @__PURE__ */ ((e) => (e.Connected = "Connected", e.Error = "Error", e.Processing = "Processing", e.RequiresMfa = "RequiresMfa", e))(Ln || {});
413
- const q4 = {
413
+ const qE = {
414
414
  3: "Challenged",
415
415
  12: "Closed",
416
416
  9: "Degraded",
@@ -460,7 +460,7 @@ const q4 = {
460
460
  2: "savings"
461
461
  }, Wd = {
462
462
  5: "bid_landscape"
463
- }, Q4 = {
463
+ }, QE = {
464
464
  0: "Real Estate",
465
465
  1: "Vehicle",
466
466
  2: "Art",
@@ -800,7 +800,7 @@ const q4 = {
800
800
  UNKNOWN: "help"
801
801
  }, jo = 9999999999e-2;
802
802
  var zi = /* @__PURE__ */ ((e) => (e.CAD = "CAD", e.USD = "USD", e))(zi || {}), Vd = /* @__PURE__ */ ((e) => (e[e.Unknown = 0] = "Unknown", e[e.EveryWeek = 1] = "EveryWeek", e[e.EveryOtherWeek = 2] = "EveryOtherWeek", e[e.EveryMonth = 3] = "EveryMonth", e[e.EveryOtherMonth = 4] = "EveryOtherMonth", e[e.EveryQuarter = 5] = "EveryQuarter", e[e.EveryOtherQuarter = 6] = "EveryOtherQuarter", e[e.EveryYear = 7] = "EveryYear", e))(Vd || {});
803
- const J4 = [
803
+ const JE = [
804
804
  { id: 0, copy: "frequency_unknown" },
805
805
  { id: 1, copy: "frequency_every_week" },
806
806
  { id: 2, copy: "frequency_every_other_week" },
@@ -809,7 +809,7 @@ const J4 = [
809
809
  { id: 5, copy: "frequency_every_quarter" },
810
810
  { id: 6, copy: "frequency_every_other_quarter" },
811
811
  { id: 7, copy: "frequency_every_year" }
812
- ], eE = {
812
+ ], e4 = {
813
813
  ERROR: "ERROR",
814
814
  LOADING: "LOADING",
815
815
  SUCCESS: "SUCCESS"
@@ -821,7 +821,7 @@ const oi = 44, Xo = (e, n) => e.find((i) => i.guid === n), jd = (e, n) => e.find
821
821
  const i = e.find((a) => a.subCategories.find((o) => o.guid === n));
822
822
  if (i)
823
823
  return i.subCategories.find((a) => a.guid === n);
824
- }, tE = (e, n) => {
824
+ }, t4 = (e, n) => {
825
825
  const i = [];
826
826
  for (const a of n) {
827
827
  const o = Xo(e, a.category_guid);
@@ -842,7 +842,7 @@ const oi = 44, Xo = (e, n) => e.find((i) => i.guid === n), jd = (e, n) => e.find
842
842
  });
843
843
  }
844
844
  return i;
845
- }, nE = (e, n) => {
845
+ }, n4 = (e, n) => {
846
846
  const i = e.find((a) => a.guid === n);
847
847
  return i ? i.guid === N.INCOME || i.parent_guid === N.INCOME : !1;
848
848
  }, no = (e) => {
@@ -890,7 +890,7 @@ const oi = 44, Xo = (e, n) => e.find((i) => i.guid === n), jd = (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
+ }, i4 = (e, n, i, ...a) => !e || !n ? "" : T(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
  };
@@ -984,7 +984,7 @@ const P = (e, n, i) => {
984
984
  }) => {
985
985
  const a = a_(n).select(e);
986
986
  return `${e}${i[a]}`;
987
- }, aE = (e, n) => {
987
+ }, a4 = (e, n) => {
988
988
  const i = e.palette.mode === "dark", a = (s, c) => {
989
989
  const d = n?.[s];
990
990
  return {
@@ -1210,7 +1210,7 @@ class _i {
1210
1210
  }
1211
1211
  getGlobalCopy = async (n, i) => this.fetchInstance.post(`${G.LOCALIZED_CONTENT}/${n}`, { translation_key: i }).then((a) => a);
1212
1212
  }
1213
- class oE {
1213
+ class o4 {
1214
1214
  fetchInstance;
1215
1215
  constructor(n, i) {
1216
1216
  this.fetchInstance = new ot(n, i);
@@ -1234,7 +1234,7 @@ class Qo {
1234
1234
  // A bug ticket has been filed to fix it, but should not require any changes here.
1235
1235
  markAllAsViewed = (n) => this.fetchInstance.put(`${G.NOTIFICATIONS}/mark_all_as_viewed`, { channel: n }).finally();
1236
1236
  }
1237
- class rE {
1237
+ class r4 {
1238
1238
  fetchInstance;
1239
1239
  constructor(n, i) {
1240
1240
  this.fetchInstance = new ot(n, i);
@@ -1271,7 +1271,7 @@ const Ea = (e, n) => e.reduce((i, a) => (i[a.guid] = n?.includes(a.guid), i), {}
1271
1271
  guid: a.guid
1272
1272
  };
1273
1273
  return Object.prototype.hasOwnProperty.call(i, o) ? i[o] = i[o].concat(r) : i[o] = [r], i;
1274
- }, {}), Pn = g.createContext(null), sE = ({
1274
+ }, {}), Pn = g.createContext(null), s4 = ({
1275
1275
  children: e,
1276
1276
  globalStore: n,
1277
1277
  onEvent: i,
@@ -1302,7 +1302,7 @@ const Ea = (e, n) => e.reduce((i, a) => (i[a.guid] = n?.includes(a.guid), i), {}
1302
1302
  if (!n)
1303
1303
  throw new Error(`${e}() must be used within the GlobalDataContext`);
1304
1304
  return n;
1305
- }, Ee = () => qe("useAccountStore").globalStore.accountStore, Fn = () => qe("useAppConfig").globalStore.appDataStore.appConfig, io = () => qe("useAnalyticsStore").globalStore.analyticsStore, lt = () => qe("useBudgetsStore").globalStore.budgetsStore, ao = () => qe("useCashflowStore").globalStore.cashflowStore, $e = () => qe("useCategoryStore").globalStore.categoryStore, Ms = () => qe("useConnectStore").globalStore.connectStore, ca = () => qe("useDebtsStore").globalStore.debtsStore, la = () => qe("useGlobalStore").globalStore, de = () => qe("useGlobalUiStore").globalStore.globalUiStore, x = () => qe("globalCopyStore").globalStore.copyStore.copy, tt = () => qe("useGoalStore").globalStore.goalStore, oo = () => qe("useHelpStore").globalStore.helpStore, Gn = () => qe("useHoldingStore").globalStore.holdingStore, s_ = () => qe("useMerchantStore").globalStore.merchantStore, ks = () => qe("useNetWorthStore").globalStore.netWorthStore, Gs = () => qe("useNotificationStore").globalStore.notificationStore, ze = () => qe("useRecurringTransactionsStore").globalStore.recurringTransactionsStore, pt = () => qe("useSettingsStore").globalStore.settingsStore, Ne = () => qe("useTransactionStore").globalStore.transactionStore, Bt = () => qe("useUserStore").globalStore.userStore, j = () => ({ onEvent: qe().onEvent }), cE = () => ({ onPageView: qe().onPageView }), c_ = (e = "useWidgetContainerContext") => {
1305
+ }, Se = () => qe("useAccountStore").globalStore.accountStore, Fn = () => qe("useAppConfig").globalStore.appDataStore.appConfig, io = () => qe("useAnalyticsStore").globalStore.analyticsStore, lt = () => qe("useBudgetsStore").globalStore.budgetsStore, ao = () => qe("useCashflowStore").globalStore.cashflowStore, $e = () => qe("useCategoryStore").globalStore.categoryStore, Ms = () => qe("useConnectStore").globalStore.connectStore, ca = () => qe("useDebtsStore").globalStore.debtsStore, la = () => qe("useGlobalStore").globalStore, de = () => qe("useGlobalUiStore").globalStore.globalUiStore, x = () => qe("globalCopyStore").globalStore.copyStore.copy, tt = () => qe("useGoalStore").globalStore.goalStore, oo = () => qe("useHelpStore").globalStore.helpStore, Gn = () => qe("useHoldingStore").globalStore.holdingStore, s_ = () => qe("useMerchantStore").globalStore.merchantStore, ks = () => qe("useNetWorthStore").globalStore.netWorthStore, Gs = () => qe("useNotificationStore").globalStore.notificationStore, ze = () => qe("useRecurringTransactionsStore").globalStore.recurringTransactionsStore, pt = () => qe("useSettingsStore").globalStore.settingsStore, Ne = () => qe("useTransactionStore").globalStore.transactionStore, Mt = () => qe("useUserStore").globalStore.userStore, j = () => ({ onEvent: qe().onEvent }), c4 = () => ({ onPageView: qe().onPageView }), c_ = (e = "useWidgetContainerContext") => {
1306
1306
  const n = g.useContext(Os);
1307
1307
  if (!n)
1308
1308
  throw new Error(`${e}() must be used within the WidgetContainerContext`);
@@ -1353,8 +1353,8 @@ const Ea = (e, n) => e.reduce((i, a) => (i[a.guid] = n?.includes(a.guid), i), {}
1353
1353
  },
1354
1354
  children: [
1355
1355
  /* @__PURE__ */ t(el, { size: 32 }),
1356
- /* @__PURE__ */ t(xe, { bold: !0, mt: 12, children: i.zeroStateTitle }),
1357
- /* @__PURE__ */ t(xe, { mt: 12, children: i.zeroStateDescription }),
1356
+ /* @__PURE__ */ t(Ee, { bold: !0, mt: 12, children: i.zeroStateTitle }),
1357
+ /* @__PURE__ */ t(Ee, { mt: 12, children: i.zeroStateDescription }),
1358
1358
  /* @__PURE__ */ t(te, { onClick: s, children: i.zeroStateButton })
1359
1359
  ]
1360
1360
  }
@@ -1423,7 +1423,7 @@ const Ea = (e, n) => e.reduce((i, a) => (i[a.guid] = n?.includes(a.guid), i), {}
1423
1423
  "aria-label": T(i.accountTypeAccounts, S),
1424
1424
  className: "mx-cmn-account-options-group",
1425
1425
  dense: !0,
1426
- subheader: /* @__PURE__ */ t(Mt, { disableGutters: !0, children: /* @__PURE__ */ t(
1426
+ subheader: /* @__PURE__ */ t(kt, { disableGutters: !0, children: /* @__PURE__ */ t(
1427
1427
  ue,
1428
1428
  {
1429
1429
  "aria-label": T(i.toggleAccountTypeAccounts, S),
@@ -1554,7 +1554,7 @@ const l_ = (e, n) => {
1554
1554
  // Between 600 and 1200
1555
1555
  isTablet: e > a && e <= r
1556
1556
  }), c;
1557
- }, lE = (e) => {
1557
+ }, l4 = (e) => {
1558
1558
  const n = as();
1559
1559
  return Mn(() => {
1560
1560
  n.current = e;
@@ -1828,7 +1828,7 @@ const l_ = (e, n) => {
1828
1828
  }), m_ = (e, n) => e + n, p_ = (e, n) => Math.abs(n) > e ? Math.abs(n) : e, C_ = (e, n) => [...e, n.value], nr = (e, n, i) => {
1829
1829
  const a = e && n ? i / 2 : i;
1830
1830
  return e ? a : 0;
1831
- }, f_ = (e, n, i, a) => e / (n < 0 ? -i : n) * a || 0, dE = ({
1831
+ }, f_ = (e, n, i, a) => e / (n < 0 ? -i : n) * a || 0, d4 = ({
1832
1832
  average: e,
1833
1833
  barWidth: n = "8%",
1834
1834
  color: i,
@@ -2383,7 +2383,7 @@ const I_ = ({
2383
2383
  "aria-label": T(i.category_icon_label_aria, o),
2384
2384
  mb: 4,
2385
2385
  role: "img",
2386
- children: /* @__PURE__ */ t(kt, { categoryGuid: n })
2386
+ children: /* @__PURE__ */ t(Gt, { categoryGuid: n })
2387
2387
  }
2388
2388
  ),
2389
2389
  /* @__PURE__ */ t(p, { variant: "Body", children: o })
@@ -2419,7 +2419,7 @@ const I_ = ({
2419
2419
  }, [a, o]), !i) return null;
2420
2420
  const u = i.reduce((_, h) => _ + h.y, 0);
2421
2421
  return /* @__PURE__ */ t(
2422
- Rt,
2422
+ Ot,
2423
2423
  {
2424
2424
  ref: s,
2425
2425
  sx: {
@@ -2429,7 +2429,7 @@ const I_ = ({
2429
2429
  width: 250,
2430
2430
  pointerEvents: "none"
2431
2431
  },
2432
- children: /* @__PURE__ */ l(Ot, { children: [
2432
+ children: /* @__PURE__ */ l(Lt, { children: [
2433
2433
  /* @__PURE__ */ l(L, { alignItems: "center", display: "flex", flexDirection: "column", children: [
2434
2434
  /* @__PURE__ */ t(Ws, { categoryGuid: e, topLevelCategoryGuid: n }),
2435
2435
  /* @__PURE__ */ t(p, { variant: "Small", children: `${i.length}-month total` }),
@@ -2528,7 +2528,7 @@ const I_ = ({
2528
2528
  isAreaHovered: !1,
2529
2529
  cursorPos: { x: 0, y: 0 }
2530
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(
2531
- (K, Le) => o.reduce((Ge, Pt) => Ge + Pt.dataset[Le]?.y || 0, 0)
2531
+ (K, Le) => o.reduce((ke, Pt) => ke + 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))
2534
2534
  ), Q = Math.floor(Math.min(...D) / 100) * 100, oe = Math.ceil(Math.max(O, U) / 100) * 100, J = o.map((K, Le) => ({
@@ -2537,22 +2537,22 @@ const I_ = ({
2537
2537
  top_level_guid: K.top_level_category_guid,
2538
2538
  area: !0,
2539
2539
  color: o[Le].category_color ?? d.palette.primary.main,
2540
- data: K.dataset.map((Ge) => Ge.y),
2540
+ data: K.dataset.map((ke) => ke.y),
2541
2541
  label: o[Le].category_name,
2542
2542
  stack: "total",
2543
2543
  type: "line",
2544
2544
  highlightScope: { highlight: "item" },
2545
- valueFormatter: (Ge) => P(Ge, "0,0")
2545
+ valueFormatter: (ke) => P(ke, "0,0")
2546
2546
  })), ge = r.map((K, Le) => ({
2547
2547
  id: `unstacked-${Le}`,
2548
2548
  guid: K.category_guid,
2549
2549
  top_level_guid: K.top_level_category_guid,
2550
2550
  area: !1,
2551
2551
  color: K.category_color,
2552
- data: K.dataset.map((Ge) => Ge.y),
2552
+ data: K.dataset.map((ke) => ke.y),
2553
2553
  label: K.category_name,
2554
2554
  type: "line",
2555
- valueFormatter: (Ge) => P(Ge, "0,0")
2555
+ valueFormatter: (ke) => P(ke, "0,0")
2556
2556
  })), De = [...J, ...ge], Re = [
2557
2557
  ...J.map(({ guid: K, top_level_guid: Le }) => ({
2558
2558
  guid: K,
@@ -2562,28 +2562,28 @@ const I_ = ({
2562
2562
  guid: K,
2563
2563
  top_level_guid: Le
2564
2564
  }))
2565
- ], Se = (K) => {
2566
- const Ge = K.startsWith("stacked-") ? o[parseInt(K.split("-")[1])] : r[parseInt(K.split("-")[1])];
2565
+ ], Te = (K) => {
2566
+ const ke = K.startsWith("stacked-") ? o[parseInt(K.split("-")[1])] : r[parseInt(K.split("-")[1])];
2567
2567
  return {
2568
- guid: Ge?.category_guid,
2569
- topLevelGuid: Ge?.top_level_category_guid
2568
+ guid: ke?.category_guid,
2569
+ topLevelGuid: ke?.top_level_category_guid
2570
2570
  };
2571
2571
  }, Oe = (K) => {
2572
2572
  m(K), i?.(K ?? "");
2573
- }, It = (K) => {
2573
+ }, xt = (K) => {
2574
2574
  a?.(K ?? "");
2575
2575
  }, ee = () => {
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), ke = 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,
2583
2583
  hoveredAreaData: null,
2584
2584
  isAreaHovered: !1,
2585
2585
  cursorPos: A
2586
- }), n?.(Ge);
2586
+ }), n?.(ke);
2587
2587
  else if (ii) {
2588
2588
  const ai = Pt?.data.map((fa, ba) => ({
2589
2589
  x: M[ba],
@@ -2594,7 +2594,7 @@ const I_ = ({
2594
2594
  hoveredAreaData: ai,
2595
2595
  isAreaHovered: !0,
2596
2596
  cursorPos: A
2597
- }), e?.(Ge);
2597
+ }), e?.(ke);
2598
2598
  } else
2599
2599
  f({
2600
2600
  hoveredSeriesId: null,
@@ -2604,8 +2604,8 @@ const I_ = ({
2604
2604
  });
2605
2605
  }, Ue = (K) => {
2606
2606
  const Le = K.currentTarget.getBoundingClientRect();
2607
- f((Ge) => ({
2608
- ...Ge,
2607
+ f((ke) => ({
2608
+ ...ke,
2609
2609
  cursorPos: {
2610
2610
  x: K.clientX - Le.left,
2611
2611
  y: K.clientY - Le.top
@@ -2627,10 +2627,10 @@ const I_ = ({
2627
2627
  '& [class*="MuiLineElement-series-unstacked-"]': {
2628
2628
  strokeWidth: 3
2629
2629
  },
2630
- ...h && J.reduce((K, Le, Ge) => {
2631
- const Pt = `.MuiAreaElement-series-stacked-${Ge}`;
2630
+ ...h && J.reduce((K, Le, ke) => {
2631
+ const Pt = `.MuiAreaElement-series-stacked-${ke}`;
2632
2632
  return K[Pt] = {
2633
- opacity: J[Ge].guid === h ? 0.9 : 0.2
2633
+ opacity: J[ke].guid === h ? 0.9 : 0.2
2634
2634
  }, K;
2635
2635
  }, {})
2636
2636
  };
@@ -2659,7 +2659,7 @@ const I_ = ({
2659
2659
  itemContent: (K) => v && E ? /* @__PURE__ */ t(
2660
2660
  G_,
2661
2661
  {
2662
- categoryGuids: Se(E),
2662
+ categoryGuids: Te(E),
2663
2663
  xData: M,
2664
2664
  ...K
2665
2665
  }
@@ -2692,7 +2692,7 @@ const I_ = ({
2692
2692
  {
2693
2693
  categoryGuids: Re,
2694
2694
  hoveredLegend: h,
2695
- onClickLegend: It,
2695
+ onClickLegend: xt,
2696
2696
  onHoverLegend: Oe,
2697
2697
  sx: { px: u ? 0 : 24 }
2698
2698
  }
@@ -2700,7 +2700,7 @@ const I_ = ({
2700
2700
  w && /* @__PURE__ */ t(
2701
2701
  k_,
2702
2702
  {
2703
- categoryGuids: Se(E),
2703
+ categoryGuids: Te(E),
2704
2704
  chartContainerRef: _,
2705
2705
  cursorPosition: A,
2706
2706
  hoveredAreaData: y.map((K) => ({
@@ -3142,7 +3142,7 @@ const I_ = ({
3142
3142
  }
3143
3143
  )
3144
3144
  ] });
3145
- }, _E = ({
3145
+ }, _4 = ({
3146
3146
  hasGap: e = !1,
3147
3147
  segments: n,
3148
3148
  size: i = ws,
@@ -3280,7 +3280,7 @@ const co = ({
3280
3280
  title: r
3281
3281
  }) => (
3282
3282
  // Override Material UI styles by applying this className/sx (passed from the caller)
3283
- /* @__PURE__ */ t(b, { className: n, sx: { alignItems: "center", ...o }, children: /* @__PURE__ */ l(Rt, { sx: { boxShadow: "0px 2px 8px 0px #0000001F" }, children: [
3283
+ /* @__PURE__ */ t(b, { className: n, sx: { alignItems: "center", ...o }, children: /* @__PURE__ */ l(Ot, { sx: { boxShadow: "0px 2px 8px 0px #0000001F" }, children: [
3284
3284
  /* @__PURE__ */ t(
3285
3285
  dn,
3286
3286
  {
@@ -3303,7 +3303,7 @@ const co = ({
3303
3303
  title: /* @__PURE__ */ t(mt, { sx: { width: "calc(100% - 10px)" }, children: r })
3304
3304
  }
3305
3305
  ),
3306
- /* @__PURE__ */ t(Ot, { sx: { p: 0, ":last-child": { pb: 0 } }, children: e })
3306
+ /* @__PURE__ */ t(Lt, { sx: { p: 0, ":last-child": { pb: 0 } }, children: e })
3307
3307
  ] }) })
3308
3308
  ), U_ = (e, n) => g.useMemo(() => {
3309
3309
  let i = null;
@@ -3349,7 +3349,7 @@ const Dn = ({
3349
3349
  title: d = ""
3350
3350
  }) => {
3351
3351
  const [u, { height: _, width: h }] = $s();
3352
- return /* @__PURE__ */ l(Rt, { className: e, sx: { ...c }, children: [
3352
+ return /* @__PURE__ */ l(Ot, { className: e, sx: { ...c }, children: [
3353
3353
  /* @__PURE__ */ t(
3354
3354
  dn,
3355
3355
  {
@@ -3360,7 +3360,7 @@ const Dn = ({
3360
3360
  title: d ? /* @__PURE__ */ t(mt, { sx: { pb: 4 }, children: d }) : null
3361
3361
  }
3362
3362
  ),
3363
- /* @__PURE__ */ t(Ot, { ref: u, sx: { p: 0 }, children: /* @__PURE__ */ t(Ls, { availableHeight: _, availableWidth: h, children: i }) })
3363
+ /* @__PURE__ */ t(Lt, { ref: u, sx: { p: 0 }, children: /* @__PURE__ */ t(Ls, { availableHeight: _, availableWidth: h, children: i }) })
3364
3364
  ] });
3365
3365
  }, _e = ({ height: e = 250, label: n = "", size: i = 32 }) => {
3366
3366
  const a = gt();
@@ -3422,7 +3422,7 @@ const Dn = ({
3422
3422
  dateRangePreviousAria: D.date_range_picker.previous_aria
3423
3423
  }, Q = o ? o.start : v.start, oe = o ? o.end : v.end, J = n?.length > 1;
3424
3424
  return /* @__PURE__ */ l(
3425
- Rt,
3425
+ Ot,
3426
3426
  {
3427
3427
  className: s,
3428
3428
  sx: {
@@ -3462,26 +3462,26 @@ 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;
3465
+ const { iconName: De, onClick: Re, label: Te } = ge;
3466
3466
  return J ? S || w ? /* @__PURE__ */ t(
3467
3467
  te,
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) : S || w ? /* @__PURE__ */ t(
3476
3476
  te,
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: {
@@ -3521,7 +3521,7 @@ const Dn = ({
3521
3521
  }
3522
3522
  )
3523
3523
  ] }),
3524
- /* @__PURE__ */ t(Ot, { ref: C, sx: { p: 0 }, children: /* @__PURE__ */ t(Ls, { availableHeight: f, availableWidth: E, children: a }) })
3524
+ /* @__PURE__ */ t(Lt, { ref: C, sx: { p: 0 }, children: /* @__PURE__ */ t(Ls, { availableHeight: f, availableWidth: E, children: a }) })
3525
3525
  ]
3526
3526
  }
3527
3527
  );
@@ -3551,7 +3551,7 @@ const Dn = ({
3551
3551
  }
3552
3552
  );
3553
3553
  }, Yi = I(K_);
3554
- var xn = /* @__PURE__ */ ((e) => (e.Loading = "loading", e.Error = "error", e))(xn || {}), vt = /* @__PURE__ */ ((e) => (e.Currency = "currency", e.Date = "date", e.Input = "input", e.Select = "select", e))(vt || {});
3554
+ var xn = /* @__PURE__ */ ((e) => (e.Loading = "loading", e.Error = "error", e))(xn || {}), wt = /* @__PURE__ */ ((e) => (e.Currency = "currency", e.Date = "date", e.Input = "input", e.Select = "select", e))(wt || {});
3555
3555
  const ar = "connect_widget", or = "connections_widget", z_ = ({
3556
3556
  loadWidgetProps: e,
3557
3557
  onClose: n,
@@ -3559,7 +3559,7 @@ const ar = "connect_widget", or = "connections_widget", z_ = ({
3559
3559
  title: a
3560
3560
  }) => {
3561
3561
  let o;
3562
- const { refreshAccounts: r } = Ee(), { loadWidget: s } = Ms(), { connect: c } = x(), [d, u] = g.useState(!1), [_, h] = g.useState(!1), {
3562
+ const { refreshAccounts: r } = Se(), { loadWidget: s } = Ms(), { connect: c } = x(), [d, u] = g.useState(!1), [_, h] = g.useState(!1), {
3563
3563
  palette: { mode: m }
3564
3564
  } = pe();
3565
3565
  return g.useEffect(() => (i ? (u(!0), s({ mode: m, ...e }).then((C) => {
@@ -3644,8 +3644,8 @@ const ar = "connect_widget", or = "connections_widget", z_ = ({
3644
3644
  yn,
3645
3645
  {
3646
3646
  InputProps: {
3647
- endAdornment: Nn().includes("fr-ca") ? /* @__PURE__ */ t(xe, { children: "$" }) : void 0,
3648
- startAdornment: Nn().includes("fr-ca") ? void 0 : /* @__PURE__ */ t(xe, { children: "$" })
3647
+ endAdornment: Nn().includes("fr-ca") ? /* @__PURE__ */ t(Ee, { children: "$" }) : void 0,
3648
+ startAdornment: Nn().includes("fr-ca") ? void 0 : /* @__PURE__ */ t(Ee, { children: "$" })
3649
3649
  },
3650
3650
  "aria-label": n || E.enter_amount,
3651
3651
  className: `mx-cmn-currency-input ${S}`,
@@ -3667,7 +3667,7 @@ const ar = "connect_widget", or = "connections_widget", z_ = ({
3667
3667
  "& .MuiInputBase-adornedStart > .p": {
3668
3668
  marginRight: e.Spacing.Tiny
3669
3669
  }
3670
- }), uE = ({
3670
+ }), u4 = ({
3671
3671
  icon: e,
3672
3672
  label: n,
3673
3673
  onClick: i,
@@ -3822,7 +3822,7 @@ const ar = "connect_widget", or = "connections_widget", z_ = ({
3822
3822
  }
3823
3823
  ), ka = ({ iconName: e, label: n, onClick: i, value: a }) => {
3824
3824
  const o = /* @__PURE__ */ l(q, { children: [
3825
- /* @__PURE__ */ t(ke, { children: /* @__PURE__ */ t(Gt, { sx: { bgcolor: "border.light" }, variant: "rounded", children: /* @__PURE__ */ t($, { name: e, sx: { color: "text.primary" }, weight: ft.Dark }) }) }),
3825
+ /* @__PURE__ */ t(Ge, { children: /* @__PURE__ */ t(Bt, { sx: { bgcolor: "border.light" }, variant: "rounded", children: /* @__PURE__ */ t($, { name: e, sx: { color: "text.primary" }, weight: ft.Dark }) }) }),
3826
3826
  /* @__PURE__ */ t(
3827
3827
  ae,
3828
3828
  {
@@ -3873,7 +3873,7 @@ const ar = "connect_widget", or = "connections_widget", z_ = ({
3873
3873
  const { config: a } = Fn(), [o, r] = g.useState(!1);
3874
3874
  if (a.show_connections_widget_in_master)
3875
3875
  return /* @__PURE__ */ l(g.Fragment, { children: [
3876
- /* @__PURE__ */ l(Rt, { sx: { m: 24 }, children: [
3876
+ /* @__PURE__ */ l(Ot, { sx: { m: 24 }, children: [
3877
3877
  /* @__PURE__ */ t(
3878
3878
  dn,
3879
3879
  {
@@ -3882,7 +3882,7 @@ const ar = "connect_widget", or = "connections_widget", z_ = ({
3882
3882
  title: /* @__PURE__ */ t(p, { bold: !0, variant: "Body", children: i })
3883
3883
  }
3884
3884
  ),
3885
- /* @__PURE__ */ t(Ot, { sx: { ":last-child": { pb: 4 }, ml: 28, py: 0 }, children: /* @__PURE__ */ l(b, { alignItems: "flex-start", spacing: 2, children: [
3885
+ /* @__PURE__ */ t(Lt, { sx: { ":last-child": { pb: 4 }, ml: 28, py: 0 }, children: /* @__PURE__ */ l(b, { alignItems: "flex-start", spacing: 2, children: [
3886
3886
  /* @__PURE__ */ t(p, { color: "text.secondary", sx: { textWrap: "wrap" }, variant: "ParagraphSmall", children: e }),
3887
3887
  /* @__PURE__ */ t(
3888
3888
  te,
@@ -4069,7 +4069,7 @@ const ar = "connect_widget", or = "connections_widget", z_ = ({
4069
4069
  "& .MuiListItemButton-root": { pr: 24 }
4070
4070
  },
4071
4071
  children: /* @__PURE__ */ l(ue, { disabled: a, onClick: o, children: [
4072
- e && /* @__PURE__ */ t(ke, { children: e }),
4072
+ e && /* @__PURE__ */ t(Ge, { children: e }),
4073
4073
  /* @__PURE__ */ t(ae, { primaryTypographyProps: { fontWeight: 400 }, children: /* @__PURE__ */ t(b, { alignItems: "center", direction: "row", justifyContent: "space-between", children: /* @__PURE__ */ l(b, { children: [
4074
4074
  /* @__PURE__ */ t(p, { variant: "body1", children: s }),
4075
4075
  /* @__PURE__ */ t(p, { color: "text.secondary", variant: "caption", children: c })
@@ -4467,7 +4467,7 @@ const ti = () => {
4467
4467
  /* @__PURE__ */ t(We, { amount: e, bold: !0, sx: { fontSize: 12 } })
4468
4468
  ] });
4469
4469
  }, uo = I(ou), ru = ({ onAddIncomeClick: e }) => {
4470
- const n = pe(), { availableWidth: i } = Wn(), { isMobile: a } = Ce(), { visibleCashAccounts: o, visibleCashBalance: r } = Ee(), { selectedAccountGuids: s } = de(), { cashflow: c } = x(), { userProfile: d } = Bt(), {
4470
+ const n = pe(), { availableWidth: i } = Wn(), { isMobile: a } = Ce(), { visibleCashAccounts: o, visibleCashBalance: r } = Se(), { selectedAccountGuids: s } = de(), { cashflow: c } = x(), { userProfile: d } = Mt(), {
4471
4471
  daysUntilNextIncome: u,
4472
4472
  expensesTilNextIncome: _,
4473
4473
  selectedCashAccounts: h,
@@ -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(xe, { variant: "XSmall", whiteSpace: "nowrap", children: T(
4506
+ /* @__PURE__ */ t(Ee, { variant: "XSmall", whiteSpace: "nowrap", children: T(
4507
4507
  c.total_cash_accounts,
4508
4508
  h.length
4509
4509
  ) })
@@ -4511,19 +4511,19 @@ 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(xe, { variant: "XSmall", whiteSpace: "nowrap", children: T(c.expenses_due, _.length) })
4514
+ /* @__PURE__ */ t(Ee, { variant: "XSmall", whiteSpace: "nowrap", children: T(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: [
4518
4518
  /* @__PURE__ */ t(We, { amount: v, variant: "H2" }),
4519
4519
  /* @__PURE__ */ l(b, { alignItems: "center", direction: "row", gap: 8, children: [
4520
- /* @__PURE__ */ t(xe, { variant: "XSmall", whiteSpace: "nowrap", children: c.available_to_spend }),
4520
+ /* @__PURE__ */ t(Ee, { variant: "XSmall", whiteSpace: "nowrap", children: c.available_to_spend }),
4521
4521
  /* @__PURE__ */ t(lo, { body: c.tooltip_body, title: c.tooltip_title })
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
4525
  /* @__PURE__ */ t(p, { variant: "H2", children: T(c.days, u) }),
4526
- /* @__PURE__ */ t(xe, { variant: "XSmall", whiteSpace: "nowrap", children: c.next_paycheck })
4526
+ /* @__PURE__ */ t(Ee, { variant: "XSmall", whiteSpace: "nowrap", children: c.next_paycheck })
4527
4527
  ] }) : /* @__PURE__ */ t(
4528
4528
  te,
4529
4529
  {
@@ -4607,7 +4607,7 @@ const ti = () => {
4607
4607
  children: /* @__PURE__ */ t(su, { onAddIncomeClick: e })
4608
4608
  }
4609
4609
  ) : /* @__PURE__ */ t(_e, {});
4610
- }, hE = I(cu), lu = (e) => {
4610
+ }, h4 = I(cu), lu = (e) => {
4611
4611
  if (!e) return "";
4612
4612
  let n = e.user_name || e.feed_name || "";
4613
4613
  return e.account_number && (n = `${n} *${e.account_number}`), n;
@@ -4985,7 +4985,7 @@ const Eu = [
4985
4985
  tags: _
4986
4986
  };
4987
4987
  });
4988
- }, Te = {
4988
+ }, Ae = {
4989
4989
  ADD: "Add",
4990
4990
  ADD_CATEGORY: "Add Category",
4991
4991
  CHANGE_CATEGORY: "Change Category",
@@ -4999,11 +4999,11 @@ const Eu = [
4999
4999
  SELECT: "Select",
5000
5000
  UNHIDE: "Unhide",
5001
5001
  UNSPLIT: "Unsplit"
5002
- }, Ae = {
5002
+ }, Ie = {
5003
5003
  TRANSACTION_DETAILS: "Transaction Details",
5004
5004
  TRANSACTIONS_LIST: "Transactions List",
5005
5005
  TRANSACTIONS_WIDGET: "Transactions Widget"
5006
- }, Ie = {
5006
+ }, xe = {
5007
5007
  ADD_TRANSACTION: "Manual Transaction",
5008
5008
  CATEGORY: "Category",
5009
5009
  DATE: "Date",
@@ -5025,216 +5025,216 @@ const Eu = [
5025
5025
  }, dr = {
5026
5026
  // splits
5027
5027
  [Y.ON_TRANSACTION_SPLIT_CLICK]: {
5028
- action: Te.SELECT,
5029
- category: Ae.TRANSACTION_DETAILS,
5030
- label: Ie.SPLITS
5028
+ action: Ae.SELECT,
5029
+ category: Ie.TRANSACTION_DETAILS,
5030
+ label: xe.SPLITS
5031
5031
  },
5032
5032
  [Y.ON_TRANSACTION_SPLIT_CATEGORY_CLICK]: {
5033
- action: Te.ADD_CATEGORY,
5034
- category: Ae.TRANSACTION_DETAILS,
5035
- label: Ie.SPLITS
5033
+ action: Ae.ADD_CATEGORY,
5034
+ category: Ie.TRANSACTION_DETAILS,
5035
+ label: xe.SPLITS
5036
5036
  },
5037
5037
  [Y.ON_TRANSACTION_SPLIT_DELETE_CLICK]: {
5038
- action: Te.DELETE,
5039
- category: Ae.TRANSACTION_DETAILS,
5040
- label: Ie.SPLITS
5038
+ action: Ae.DELETE,
5039
+ category: Ie.TRANSACTION_DETAILS,
5040
+ label: xe.SPLITS
5041
5041
  },
5042
5042
  [Y.ON_TRANSACTION_SPLIT_SAVE_CLICK]: {
5043
- action: Te.SPLIT,
5044
- category: Ae.TRANSACTION_DETAILS,
5045
- label: Ie.SPLITS
5043
+ action: Ae.SPLIT,
5044
+ category: Ie.TRANSACTION_DETAILS,
5045
+ label: xe.SPLITS
5046
5046
  },
5047
5047
  [Y.ON_TRANSACTION_UNSPLIT]: {
5048
- action: Te.UNSPLIT,
5049
- category: Ae.TRANSACTION_DETAILS,
5050
- label: Ie.SPLITS
5048
+ action: Ae.UNSPLIT,
5049
+ category: Ie.TRANSACTION_DETAILS,
5050
+ label: xe.SPLITS
5051
5051
  },
5052
5052
  // category
5053
5053
  [Y.ON_TRANSACTION_CATEGORY_CLICK]: {
5054
- action: Te.SELECT,
5055
- category: Ae.TRANSACTIONS_LIST,
5056
- label: Ie.CATEGORY
5054
+ action: Ae.SELECT,
5055
+ category: Ie.TRANSACTIONS_LIST,
5056
+ label: xe.CATEGORY
5057
5057
  },
5058
5058
  [Y.ON_TRANSACTION_CATEGORY_CHANGED]: {
5059
- action: Te.CHANGE_CATEGORY,
5060
- category: Ae.TRANSACTION_DETAILS,
5061
- label: Ie.CATEGORY
5059
+ action: Ae.CHANGE_CATEGORY,
5060
+ category: Ie.TRANSACTION_DETAILS,
5061
+ label: xe.CATEGORY
5062
5062
  },
5063
5063
  // date
5064
5064
  [Y.ON_TRANSACTION_DATE_CHANGED]: {
5065
- action: Te.SAVE,
5066
- category: Ae.TRANSACTION_DETAILS,
5067
- label: Ie.DATE
5065
+ action: Ae.SAVE,
5066
+ category: Ie.TRANSACTION_DETAILS,
5067
+ label: xe.DATE
5068
5068
  },
5069
5069
  [Y.ON_TRANSACTION_DATE_CLICK]: {
5070
- action: Te.SELECT,
5071
- category: Ae.TRANSACTION_DETAILS,
5072
- label: Ie.DATE
5070
+ action: Ae.SELECT,
5071
+ category: Ie.TRANSACTION_DETAILS,
5072
+ label: xe.DATE
5073
5073
  },
5074
5074
  // merchant logo
5075
5075
  [Y.ON_TRANSACTION_DELETE_LOGO_CANCEL]: {
5076
- action: Te.CLOSE,
5077
- category: Ae.TRANSACTION_DETAILS,
5078
- label: Ie.DELETE_MERCHANT_LOGO
5076
+ action: Ae.CLOSE,
5077
+ category: Ie.TRANSACTION_DETAILS,
5078
+ label: xe.DELETE_MERCHANT_LOGO
5079
5079
  },
5080
5080
  [Y.ON_TRANSACTION_DELETE_LOGO_CLICK]: {
5081
- action: Te.SELECT,
5082
- category: Ae.TRANSACTION_DETAILS,
5083
- label: Ie.DELETE_MERCHANT_LOGO
5081
+ action: Ae.SELECT,
5082
+ category: Ie.TRANSACTION_DETAILS,
5083
+ label: xe.DELETE_MERCHANT_LOGO
5084
5084
  },
5085
5085
  [Y.ON_TRANSACTION_DELETE_LOGO_DELETED]: {
5086
- action: Te.DELETE,
5087
- category: Ae.TRANSACTION_DETAILS,
5088
- label: Ie.DELETE_MERCHANT_LOGO
5086
+ action: Ae.DELETE,
5087
+ category: Ie.TRANSACTION_DETAILS,
5088
+ label: xe.DELETE_MERCHANT_LOGO
5089
5089
  },
5090
5090
  // description
5091
5091
  [Y.ON_TRANSACTION_DESCRIPTION_EDIT_CLICK]: {
5092
- action: Te.EDIT,
5093
- category: Ae.TRANSACTION_DETAILS,
5094
- label: Ie.DESCRIPTION
5092
+ action: Ae.EDIT,
5093
+ category: Ie.TRANSACTION_DETAILS,
5094
+ label: xe.DESCRIPTION
5095
5095
  },
5096
5096
  [Y.ON_TRANSACTION_DESCRIPTION_SAVE_CLICK]: {
5097
- action: Te.SAVE,
5098
- category: Ae.TRANSACTION_DETAILS,
5099
- label: Ie.DESCRIPTION
5097
+ action: Ae.SAVE,
5098
+ category: Ie.TRANSACTION_DETAILS,
5099
+ label: xe.DESCRIPTION
5100
5100
  },
5101
5101
  // hide transactions
5102
5102
  [Y.ON_TRANSACTION_HIDDEN]: {
5103
- action: Te.SAVE,
5104
- category: Ae.TRANSACTION_DETAILS,
5105
- label: Ie.HIDE_TRANSACTION
5103
+ action: Ae.SAVE,
5104
+ category: Ie.TRANSACTION_DETAILS,
5105
+ label: xe.HIDE_TRANSACTION
5106
5106
  },
5107
5107
  [Y.ON_TRANSACTION_HIDE_CLICK]: {
5108
- action: Te.SELECT,
5109
- category: Ae.TRANSACTION_DETAILS,
5110
- label: Ie.HIDE_TRANSACTION
5108
+ action: Ae.SELECT,
5109
+ category: Ie.TRANSACTION_DETAILS,
5110
+ label: xe.HIDE_TRANSACTION
5111
5111
  },
5112
5112
  [Y.ON_TRANSACTION_HIDE_CANCEL_CLICK]: {
5113
- action: Te.CLOSE,
5114
- category: Ae.TRANSACTION_DETAILS,
5115
- label: Ie.HIDE_TRANSACTION
5113
+ action: Ae.CLOSE,
5114
+ category: Ie.TRANSACTION_DETAILS,
5115
+ label: xe.HIDE_TRANSACTION
5116
5116
  },
5117
5117
  // transaction list
5118
5118
  [Y.ON_TRANSACTION_LIST_ITEM_CLICK]: {
5119
- action: Te.SELECT,
5120
- category: Ae.TRANSACTIONS_LIST,
5121
- label: Ie.TRANSACTION
5119
+ action: Ae.SELECT,
5120
+ category: Ie.TRANSACTIONS_LIST,
5121
+ label: xe.TRANSACTION
5122
5122
  },
5123
5123
  // memo
5124
5124
  [Y.ON_TRANSACTION_MEMO_CHANGED]: {
5125
- action: Te.SAVE,
5126
- category: Ae.TRANSACTION_DETAILS,
5127
- label: Ie.MEMO
5125
+ action: Ae.SAVE,
5126
+ category: Ie.TRANSACTION_DETAILS,
5127
+ label: xe.MEMO
5128
5128
  },
5129
5129
  [Y.ON_TRANSACTION_MEMO_CLICK]: {
5130
- action: Te.SELECT,
5131
- category: Ae.TRANSACTION_DETAILS,
5132
- label: Ie.MEMO
5130
+ action: Ae.SELECT,
5131
+ category: Ie.TRANSACTION_DETAILS,
5132
+ label: xe.MEMO
5133
5133
  },
5134
5134
  // tags
5135
5135
  [Y.ON_TRANSACTION_TAGS_CHANGED]: {
5136
- action: Te.SAVE,
5137
- category: Ae.TRANSACTION_DETAILS,
5138
- label: Ie.TAGS
5136
+ action: Ae.SAVE,
5137
+ category: Ie.TRANSACTION_DETAILS,
5138
+ label: xe.TAGS
5139
5139
  },
5140
5140
  [Y.ON_TRANSACTION_TAGS_CLICK]: {
5141
- action: Te.SELECT,
5142
- category: Ae.TRANSACTION_DETAILS,
5143
- label: Ie.TAGS
5141
+ action: Ae.SELECT,
5142
+ category: Ie.TRANSACTION_DETAILS,
5143
+ label: xe.TAGS
5144
5144
  },
5145
5145
  [Y.ON_TRANSACTION_TAGS_TAG_ADD_CANCEL_CLICK]: {
5146
- action: Te.CLOSE,
5147
- category: Ae.TRANSACTION_DETAILS,
5148
- label: Ie.TAGS
5146
+ action: Ae.CLOSE,
5147
+ category: Ie.TRANSACTION_DETAILS,
5148
+ label: xe.TAGS
5149
5149
  },
5150
5150
  [Y.ON_TRANSACTION_TAGS_TAG_ADD_CLICK]: {
5151
- action: Te.ADD,
5152
- category: Ae.TRANSACTION_DETAILS,
5153
- label: Ie.TAG_ADD
5151
+ action: Ae.ADD,
5152
+ category: Ie.TRANSACTION_DETAILS,
5153
+ label: xe.TAG_ADD
5154
5154
  },
5155
5155
  [Y.ON_TRANSACTION_TAGS_TAG_ADDED]: {
5156
- action: Te.SAVE,
5157
- category: Ae.TRANSACTION_DETAILS,
5158
- label: Ie.TAG_ADD
5156
+ action: Ae.SAVE,
5157
+ category: Ie.TRANSACTION_DETAILS,
5158
+ label: xe.TAG_ADD
5159
5159
  },
5160
5160
  [Y.ON_TRANSACTION_TAGS_TAG_DELETE_CLICK]: {
5161
- action: Te.SELECT,
5162
- category: Ae.TRANSACTION_DETAILS,
5163
- label: Ie.TAG_DELETE
5161
+ action: Ae.SELECT,
5162
+ category: Ie.TRANSACTION_DETAILS,
5163
+ label: xe.TAG_DELETE
5164
5164
  },
5165
5165
  [Y.ON_TRANSACTION_TAGS_TAG_DELETE_CANCEL_CLICK]: {
5166
- action: Te.CLOSE,
5167
- category: Ae.TRANSACTION_DETAILS,
5168
- label: Ie.TAG_DELETE
5166
+ action: Ae.CLOSE,
5167
+ category: Ie.TRANSACTION_DETAILS,
5168
+ label: xe.TAG_DELETE
5169
5169
  },
5170
5170
  [Y.ON_TRANSACTION_TAGS_TAG_DELETED]: {
5171
- action: Te.SAVE,
5172
- category: Ae.TRANSACTION_DETAILS,
5173
- label: Ie.TAG_DELETE
5171
+ action: Ae.SAVE,
5172
+ category: Ie.TRANSACTION_DETAILS,
5173
+ label: xe.TAG_DELETE
5174
5174
  },
5175
5175
  [Y.ON_TRANSACTION_TAGS_TAG_EDIT_CLICK]: {
5176
- action: Te.EDIT,
5177
- category: Ae.TRANSACTION_DETAILS,
5178
- label: Ie.TAG_EDIT
5176
+ action: Ae.EDIT,
5177
+ category: Ie.TRANSACTION_DETAILS,
5178
+ label: xe.TAG_EDIT
5179
5179
  },
5180
5180
  [Y.ON_TRANSACTION_TAGS_TAG_EDIT_SAVED]: {
5181
- action: Te.SAVE,
5182
- category: Ae.TRANSACTION_DETAILS,
5183
- label: Ie.TAG_EDIT
5181
+ action: Ae.SAVE,
5182
+ category: Ie.TRANSACTION_DETAILS,
5183
+ label: xe.TAG_EDIT
5184
5184
  },
5185
5185
  // flag
5186
5186
  [Y.ON_TRANSACTION_TOGGLE_FLAG_CLICK]: {
5187
- action: Te.SELECT,
5188
- category: Ae.TRANSACTION_DETAILS,
5189
- label: Ie.FLAG
5187
+ action: Ae.SELECT,
5188
+ category: Ie.TRANSACTION_DETAILS,
5189
+ label: xe.FLAG
5190
5190
  },
5191
5191
  // hide
5192
5192
  [Y.ON_TRANSACTION_UNHIDDEN]: {
5193
- action: Te.SAVE,
5194
- category: Ae.TRANSACTION_DETAILS,
5195
- label: Ie.UNHIDE_TRANSACTION
5193
+ action: Ae.SAVE,
5194
+ category: Ie.TRANSACTION_DETAILS,
5195
+ label: xe.UNHIDE_TRANSACTION
5196
5196
  },
5197
5197
  [Y.ON_TRANSACTION_UNHIDE_CLICK]: {
5198
- action: Te.SELECT,
5199
- category: Ae.TRANSACTION_DETAILS,
5200
- label: Ie.UNHIDE_TRANSACTION
5198
+ action: Ae.SELECT,
5199
+ category: Ie.TRANSACTION_DETAILS,
5200
+ label: xe.UNHIDE_TRANSACTION
5201
5201
  },
5202
5202
  [Y.ON_TRANSACTION_UNHIDE_CANCEL_CLICK]: {
5203
- action: Te.CLOSE,
5204
- category: Ae.TRANSACTION_DETAILS,
5205
- label: Ie.UNHIDE_TRANSACTION
5203
+ action: Ae.CLOSE,
5204
+ category: Ie.TRANSACTION_DETAILS,
5205
+ label: xe.UNHIDE_TRANSACTION
5206
5206
  },
5207
5207
  // export CSV
5208
5208
  [Y.ON_TRANSACTION_EXPORT_CSV_CLICK]: {
5209
- action: Te.SELECT,
5210
- category: Ae.TRANSACTIONS_WIDGET,
5211
- label: Ie.EXPORT_CSV
5209
+ action: Ae.SELECT,
5210
+ category: Ie.TRANSACTIONS_WIDGET,
5211
+ label: xe.EXPORT_CSV
5212
5212
  },
5213
5213
  // add transaction
5214
5214
  [Y.ON_TRANSACTION_MANUAL_ADD_CLICK]: {
5215
- action: Te.SELECT,
5216
- category: Ae.TRANSACTIONS_WIDGET,
5217
- label: Ie.ADD_TRANSACTION
5215
+ action: Ae.SELECT,
5216
+ category: Ie.TRANSACTIONS_WIDGET,
5217
+ label: xe.ADD_TRANSACTION
5218
5218
  },
5219
5219
  [Y.ON_TRANSACTION_MANUAL_ADD_ADDED]: {
5220
- action: Te.ADD,
5221
- category: Ae.TRANSACTIONS_WIDGET,
5222
- label: Ie.ADD_TRANSACTION
5220
+ action: Ae.ADD,
5221
+ category: Ie.TRANSACTIONS_WIDGET,
5222
+ label: xe.ADD_TRANSACTION
5223
5223
  },
5224
5224
  [Y.ON_TRANSACTION_DELETE_CLICK]: {
5225
- action: Te.SELECT,
5226
- category: Ae.TRANSACTIONS_WIDGET,
5227
- label: Ie.DELETE_TRANSACTION
5225
+ action: Ae.SELECT,
5226
+ category: Ie.TRANSACTIONS_WIDGET,
5227
+ label: xe.DELETE_TRANSACTION
5228
5228
  },
5229
5229
  [Y.ON_TRANSACTION_DELETE_CANCEL]: {
5230
- action: Te.CLOSE,
5231
- category: Ae.TRANSACTIONS_WIDGET,
5232
- label: Ie.DELETE_TRANSACTION
5230
+ action: Ae.CLOSE,
5231
+ category: Ie.TRANSACTIONS_WIDGET,
5232
+ label: xe.DELETE_TRANSACTION
5233
5233
  },
5234
5234
  [Y.ON_TRANSACTION_DELETE_DELETED]: {
5235
- action: Te.DELETE,
5236
- category: Ae.TRANSACTIONS_WIDGET,
5237
- label: Ie.DELETE_TRANSACTION
5235
+ action: Ae.DELETE,
5236
+ category: Ie.TRANSACTIONS_WIDGET,
5237
+ label: xe.DELETE_TRANSACTION
5238
5238
  }
5239
5239
  }, Au = async (e, n) => !n || !dr[e] ? null : n.sendAnalyticEvent(dr[e]), Ha = {
5240
5240
  FLAG: "flag",
@@ -5274,7 +5274,7 @@ const Eu = [
5274
5274
  const i = e.toLowerCase().split(" "), a = n?.toString().toLowerCase() ?? "";
5275
5275
  return i.every((o) => a.indexOf(o) > -1);
5276
5276
  };
5277
- var Nu = /* @__PURE__ */ ((e) => (e[e.UNKNOWN = 0] = "UNKNOWN", e[e.CORRECT = 1] = "CORRECT", e[e.INCORRECT = 2] = "INCORRECT", e))(Nu || {}), Du = /* @__PURE__ */ ((e) => (e.Missed = "Missed", e.Paid = "Paid", e.Upcoming = "Upcoming expense", e.Income = "Income", e))(Du || {}), Ru = /* @__PURE__ */ ((e) => (e[e.Unknown = 0] = "Unknown", e[e.Subscription = 1] = "Subscription", e[e.Bill = 2] = "Bill", e))(Ru || {}), V = /* @__PURE__ */ ((e) => (e[e.DEBT_TRACK = 1] = "DEBT_TRACK", e[e.SAVINGS_TRACK = 2] = "SAVINGS_TRACK", e[e.RETIREMENT_TRACK = 3] = "RETIREMENT_TRACK", e[e.EMERGENCY_FUND_TRACK = 4] = "EMERGENCY_FUND_TRACK", e))(V || {}), Pa = /* @__PURE__ */ ((e) => (e[e.SAVE_AMOUNT = 1] = "SAVE_AMOUNT", e[e.KEEP_BALANCE_BELOW = 2] = "KEEP_BALANCE_BELOW", e[e.KEEP_BALANCE_ABOVE = 3] = "KEEP_BALANCE_ABOVE", e[e.ACTION = 4] = "ACTION", e))(Pa || {}), wt = /* @__PURE__ */ ((e) => (e[e.AUTOMOBILE = 1] = "AUTOMOBILE", e[e.COLLEGE = 2] = "COLLEGE", e[e.HOUSE = 3] = "HOUSE", e[e.RECREATIONAL_VEHICLE = 4] = "RECREATIONAL_VEHICLE", e[e.VACATION = 5] = "VACATION", e[e.ELECTRONIC = 6] = "ELECTRONIC", e[e.OTHER = 7] = "OTHER", e[e.RETIREMENT = 8] = "RETIREMENT", e[e.EMERGENCY_FUND = 9] = "EMERGENCY_FUND", e[e.SETUP_BUDGETS = 10] = "SETUP_BUDGETS", e[e.START_MONEY_MANAGEMENT = 11] = "START_MONEY_MANAGEMENT", e[e.CREDIT_CARD = 12] = "CREDIT_CARD", e[e.LINE_OF_CREDIT = 13] = "LINE_OF_CREDIT", e[e.LOANS = 14] = "LOANS", e))(wt || {}), xt = /* @__PURE__ */ ((e) => (e.Accounts = "accounts", e.Budgets = "budgets", e.Insights = "insights", e))(xt || {}), Ct = /* @__PURE__ */ ((e) => (e[e.DebtPaymentReminder = 3] = "DebtPaymentReminder", e[e.AccountBalanceLow = 6] = "AccountBalanceLow", e[e.AccountDepositLarge = 7] = "AccountDepositLarge", e[e.TransactionExpenseLarge = 8] = "TransactionExpenseLarge", e[e.TransactionFeeCharge = 9] = "TransactionFeeCharge", e[e.InternationalTransaction = 23] = "InternationalTransaction", e[e.AccountDepositLargePosted = 48] = "AccountDepositLargePosted", e))(Ct || {}), qn = /* @__PURE__ */ ((e) => (e[e.BudgetExceeded = 1] = "BudgetExceeded", e[e.BudgetOffTarget = 2] = "BudgetOffTarget", e))(qn || {}), Ve = /* @__PURE__ */ ((e) => (e[e.AccountBalanceLow = 33] = "AccountBalanceLow", e[e.BillAmountNotStandard = 49] = "BillAmountNotStandard", e[e.CategorySpending = 50] = "CategorySpending", e[e.CreditCardCloseToLimit = 51] = "CreditCardCloseToLimit", e[e.DebtPaymentReminder = 37] = "DebtPaymentReminder", e[e.DuplicatePayment = 42] = "DuplicatePayment", e[e.MonthlySpendComparison = 53] = "MonthlySpendComparison", e[e.MonthlySpendToIncomeComparison = 54] = "MonthlySpendToIncomeComparison", e[e.MonthlySubscriptionAggregate = 55] = "MonthlySubscriptionAggregate", e[e.MonthlyTopMerchantSpending = 56] = "MonthlyTopMerchantSpending", e[e.SaveAnExtra100Dollars = 57] = "SaveAnExtra100Dollars", e[e.SavingsOpportunity = 58] = "SavingsOpportunity", e[e.SetUpDirectDeposit = 59] = "SetUpDirectDeposit", e[e.SwitchDirectDeposit = 60] = "SwitchDirectDeposit", e[e.UncategorizedTransactions = 61] = "UncategorizedTransactions", e[e.UnifiedDeposit = 62] = "UnifiedDeposit", e[e.UpcomingBill = 63] = "UpcomingBill", e[e.WeekendSpendingSummary = 64] = "WeekendSpendingSummary", e[e.WeeklyNewMerchants = 65] = "WeeklyNewMerchants", e[e.DiscoveredAccounts = 52] = "DiscoveredAccounts", e[e.TransactionExpenseLarge = 39] = "TransactionExpenseLarge", e[e.PromotionalCampaignMessages = 67] = "PromotionalCampaignMessages", e[e.TransparentOverdraft = 68] = "TransparentOverdraft", e))(Ve || {}), Kt = /* @__PURE__ */ ((e) => (e[e.CREDIT = 1] = "CREDIT", e[e.DEBIT = 2] = "DEBIT", e))(Kt || {}), ho = /* @__PURE__ */ ((e) => (e[e.POSTED = 1] = "POSTED", e[e.PENDING = 2] = "PENDING", e))(ho || {}), Ou = /* @__PURE__ */ ((e) => (e.Desktop = "Desktop", e.Mobile = "Mobile", e))(Ou || {}), me = /* @__PURE__ */ ((e) => (e[e.Unknown = 0] = "Unknown", e[e.EveryWeek = 1] = "EveryWeek", e[e.EveryOtherWeek = 2] = "EveryOtherWeek", e[e.EveryMonth = 3] = "EveryMonth", e[e.EveryOtherMonth = 4] = "EveryOtherMonth", e[e.EveryQuarter = 5] = "EveryQuarter", e[e.EveryOtherQuarter = 6] = "EveryOtherQuarter", e[e.EveryYear = 7] = "EveryYear", e[e.TwiceAMonth = 8] = "TwiceAMonth", e))(me || {}), Je = /* @__PURE__ */ ((e) => (e[e.Paid = 0] = "Paid", e[e.Missed = 1] = "Missed", e[e.Upcoming = 2] = "Upcoming", e))(Je || {}), zt = /* @__PURE__ */ ((e) => (e[e.Expense = 0] = "Expense", e[e.Income = 1] = "Income", e))(zt || {}), an = /* @__PURE__ */ ((e) => (e[e.Unknown = 0] = "Unknown", e[e.Subscription = 1] = "Subscription", e[e.Bill = 2] = "Bill", e[e.Income = 3] = "Income", e[e.Transfer = 4] = "Transfer", e))(an || {});
5277
+ var Nu = /* @__PURE__ */ ((e) => (e[e.UNKNOWN = 0] = "UNKNOWN", e[e.CORRECT = 1] = "CORRECT", e[e.INCORRECT = 2] = "INCORRECT", e))(Nu || {}), Du = /* @__PURE__ */ ((e) => (e.Missed = "Missed", e.Paid = "Paid", e.Upcoming = "Upcoming expense", e.Income = "Income", e))(Du || {}), Ru = /* @__PURE__ */ ((e) => (e[e.Unknown = 0] = "Unknown", e[e.Subscription = 1] = "Subscription", e[e.Bill = 2] = "Bill", e))(Ru || {}), V = /* @__PURE__ */ ((e) => (e[e.DEBT_TRACK = 1] = "DEBT_TRACK", e[e.SAVINGS_TRACK = 2] = "SAVINGS_TRACK", e[e.RETIREMENT_TRACK = 3] = "RETIREMENT_TRACK", e[e.EMERGENCY_FUND_TRACK = 4] = "EMERGENCY_FUND_TRACK", e))(V || {}), Pa = /* @__PURE__ */ ((e) => (e[e.SAVE_AMOUNT = 1] = "SAVE_AMOUNT", e[e.KEEP_BALANCE_BELOW = 2] = "KEEP_BALANCE_BELOW", e[e.KEEP_BALANCE_ABOVE = 3] = "KEEP_BALANCE_ABOVE", e[e.ACTION = 4] = "ACTION", e))(Pa || {}), Nt = /* @__PURE__ */ ((e) => (e[e.AUTOMOBILE = 1] = "AUTOMOBILE", e[e.COLLEGE = 2] = "COLLEGE", e[e.HOUSE = 3] = "HOUSE", e[e.RECREATIONAL_VEHICLE = 4] = "RECREATIONAL_VEHICLE", e[e.VACATION = 5] = "VACATION", e[e.ELECTRONIC = 6] = "ELECTRONIC", e[e.OTHER = 7] = "OTHER", e[e.RETIREMENT = 8] = "RETIREMENT", e[e.EMERGENCY_FUND = 9] = "EMERGENCY_FUND", e[e.SETUP_BUDGETS = 10] = "SETUP_BUDGETS", e[e.START_MONEY_MANAGEMENT = 11] = "START_MONEY_MANAGEMENT", e[e.CREDIT_CARD = 12] = "CREDIT_CARD", e[e.LINE_OF_CREDIT = 13] = "LINE_OF_CREDIT", e[e.LOANS = 14] = "LOANS", e))(Nt || {}), vt = /* @__PURE__ */ ((e) => (e.Accounts = "accounts", e.Budgets = "budgets", e.Insights = "insights", e))(vt || {}), Ct = /* @__PURE__ */ ((e) => (e[e.DebtPaymentReminder = 3] = "DebtPaymentReminder", e[e.AccountBalanceLow = 6] = "AccountBalanceLow", e[e.AccountDepositLarge = 7] = "AccountDepositLarge", e[e.TransactionExpenseLarge = 8] = "TransactionExpenseLarge", e[e.TransactionFeeCharge = 9] = "TransactionFeeCharge", e[e.InternationalTransaction = 23] = "InternationalTransaction", e[e.AccountDepositLargePosted = 48] = "AccountDepositLargePosted", e))(Ct || {}), qn = /* @__PURE__ */ ((e) => (e[e.BudgetExceeded = 1] = "BudgetExceeded", e[e.BudgetOffTarget = 2] = "BudgetOffTarget", e))(qn || {}), Ve = /* @__PURE__ */ ((e) => (e[e.AccountBalanceLow = 33] = "AccountBalanceLow", e[e.BillAmountNotStandard = 49] = "BillAmountNotStandard", e[e.CategorySpending = 50] = "CategorySpending", e[e.CreditCardCloseToLimit = 51] = "CreditCardCloseToLimit", e[e.DebtPaymentReminder = 37] = "DebtPaymentReminder", e[e.DuplicatePayment = 42] = "DuplicatePayment", e[e.MonthlySpendComparison = 53] = "MonthlySpendComparison", e[e.MonthlySpendToIncomeComparison = 54] = "MonthlySpendToIncomeComparison", e[e.MonthlySubscriptionAggregate = 55] = "MonthlySubscriptionAggregate", e[e.MonthlyTopMerchantSpending = 56] = "MonthlyTopMerchantSpending", e[e.SaveAnExtra100Dollars = 57] = "SaveAnExtra100Dollars", e[e.SavingsOpportunity = 58] = "SavingsOpportunity", e[e.SetUpDirectDeposit = 59] = "SetUpDirectDeposit", e[e.SwitchDirectDeposit = 60] = "SwitchDirectDeposit", e[e.UncategorizedTransactions = 61] = "UncategorizedTransactions", e[e.UnifiedDeposit = 62] = "UnifiedDeposit", e[e.UpcomingBill = 63] = "UpcomingBill", e[e.WeekendSpendingSummary = 64] = "WeekendSpendingSummary", e[e.WeeklyNewMerchants = 65] = "WeeklyNewMerchants", e[e.DiscoveredAccounts = 52] = "DiscoveredAccounts", e[e.TransactionExpenseLarge = 39] = "TransactionExpenseLarge", e[e.PromotionalCampaignMessages = 67] = "PromotionalCampaignMessages", e[e.TransparentOverdraft = 68] = "TransparentOverdraft", e))(Ve || {}), Kt = /* @__PURE__ */ ((e) => (e[e.CREDIT = 1] = "CREDIT", e[e.DEBIT = 2] = "DEBIT", e))(Kt || {}), ho = /* @__PURE__ */ ((e) => (e[e.POSTED = 1] = "POSTED", e[e.PENDING = 2] = "PENDING", e))(ho || {}), Ou = /* @__PURE__ */ ((e) => (e.Desktop = "Desktop", e.Mobile = "Mobile", e))(Ou || {}), me = /* @__PURE__ */ ((e) => (e[e.Unknown = 0] = "Unknown", e[e.EveryWeek = 1] = "EveryWeek", e[e.EveryOtherWeek = 2] = "EveryOtherWeek", e[e.EveryMonth = 3] = "EveryMonth", e[e.EveryOtherMonth = 4] = "EveryOtherMonth", e[e.EveryQuarter = 5] = "EveryQuarter", e[e.EveryOtherQuarter = 6] = "EveryOtherQuarter", e[e.EveryYear = 7] = "EveryYear", e[e.TwiceAMonth = 8] = "TwiceAMonth", e))(me || {}), Je = /* @__PURE__ */ ((e) => (e[e.Paid = 0] = "Paid", e[e.Missed = 1] = "Missed", e[e.Upcoming = 2] = "Upcoming", e))(Je || {}), zt = /* @__PURE__ */ ((e) => (e[e.Expense = 0] = "Expense", e[e.Income = 1] = "Income", e))(zt || {}), an = /* @__PURE__ */ ((e) => (e[e.Unknown = 0] = "Unknown", e[e.Subscription = 1] = "Subscription", e[e.Bill = 2] = "Bill", e[e.Income = 3] = "Income", e[e.Transfer = 4] = "Transfer", e))(an || {});
5278
5278
  const Ks = {
5279
5279
  account_guid: "",
5280
5280
  amount: 0,
@@ -5338,6 +5338,9 @@ let Lu = class {
5338
5338
  const i = [...this.expandedSplits], a = this.expandedSplits.findIndex((o) => o === n);
5339
5339
  a >= 0 ? i.splice(a, 1) : i.push(n), this.expandedSplits = i;
5340
5340
  };
5341
+ clearExpandedSplits = () => {
5342
+ this.expandedSplits.length !== 0 && (this.expandedSplits = []);
5343
+ };
5341
5344
  updateManualTransaction = (n) => {
5342
5345
  this.manualTransaction = n;
5343
5346
  };
@@ -5540,7 +5543,7 @@ class Mu {
5540
5543
  );
5541
5544
  };
5542
5545
  }
5543
- const Lt = () => {
5546
+ const It = () => {
5544
5547
  if (!g.useContext(Pn))
5545
5548
  throw new Error("useTransactionsUiStore() must be used within the GlobalDataContext");
5546
5549
  return Ne().uiStore;
@@ -5582,14 +5585,14 @@ function Wu(e) {
5582
5585
  });
5583
5586
  }
5584
5587
  const $u = ({ transaction: e, onClick: n }) => {
5585
- const { associatedBeats: i } = Ne(), { transactions: a } = x(), { showInsights: o } = Lt(), r = e.transaction_type === Kt.CREDIT, s = g.useMemo(() => i.find((c) => c.associated_transaction_guid === e.guid), [i, e]);
5588
+ const { associatedBeats: i } = Ne(), { transactions: a } = x(), { showInsights: o } = It(), r = e.transaction_type === Kt.CREDIT, s = g.useMemo(() => i.find((c) => c.associated_transaction_guid === e.guid), [i, e]);
5586
5589
  return /* @__PURE__ */ l(
5587
5590
  X_,
5588
5591
  {
5589
5592
  clickEventName: Y.ON_TRANSACTION_LIST_ITEM_CLICK,
5590
5593
  onClick: n ? () => n(e.guid) : void 0,
5591
5594
  children: [
5592
- /* @__PURE__ */ t(ke, { children: e.parent_guid ? /* @__PURE__ */ t(g.Fragment, {}) : /* @__PURE__ */ t(
5595
+ /* @__PURE__ */ t(Ge, { children: e.parent_guid ? /* @__PURE__ */ t(g.Fragment, {}) : /* @__PURE__ */ t(
5593
5596
  rn,
5594
5597
  {
5595
5598
  categoryGuid: e.top_level_category_guid || "",
@@ -5671,52 +5674,52 @@ const $u = ({ transaction: e, onClick: n }) => {
5671
5674
  width: c = "100%",
5672
5675
  zeroState: d = /* @__PURE__ */ t(Vu, {})
5673
5676
  }) => {
5674
- const { isLoading: u, sortedTransactions: _ } = Ne(), h = g.useMemo(() => s ? _ : _.filter((A) => !A.is_hidden), [_, s]), { setShowInsights: m, toggleSplit: C } = Lt(), { onEvent: f } = j(), E = (A) => {
5675
- const w = h.find((v) => v.guid === A);
5676
- if (w?.has_been_split) {
5677
- C(w.guid);
5677
+ const { isLoading: u, sortedTransactions: _ } = Ne(), h = g.useMemo(() => s ? _ : _.filter((w) => !w.is_hidden), [_, s]), { clearExpandedSplits: m, setShowInsights: C, toggleSplit: f } = It(), { onEvent: E } = j(), y = (w) => {
5678
+ const v = h.find((R) => R.guid === w);
5679
+ if (v?.has_been_split) {
5680
+ f(v.guid);
5678
5681
  return;
5679
5682
  }
5680
- f(W.ACCOUNT_DETAILS_CLICK_TRANSACTION, {
5681
- account_guid: w?.account_guid,
5682
- transaction_guid: A
5683
- }), a?.(A);
5684
- }, y = g.useRef(null), S = ms({
5683
+ E(W.ACCOUNT_DETAILS_CLICK_TRANSACTION, {
5684
+ account_guid: v?.account_guid,
5685
+ transaction_guid: w
5686
+ }), a?.(w);
5687
+ }, S = g.useRef(null), A = ms({
5685
5688
  count: h.length,
5686
- getScrollElement: () => y.current,
5687
- estimateSize: (A) => ur + (_r(A, h) ? hr : 0),
5689
+ getScrollElement: () => S.current,
5690
+ estimateSize: (w) => ur + (_r(w, h) ? hr : 0),
5688
5691
  overscan: 5
5689
5692
  });
5690
- 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(
5693
+ return g.useEffect(() => A.measure(), [h]), g.useEffect(() => C(o), [o]), g.useEffect(() => () => m(), []), /* @__PURE__ */ t(ie, { children: /* @__PURE__ */ t(L, { height: n, overflow: "auto", ref: S, width: c, children: /* @__PURE__ */ l(
5691
5694
  L,
5692
5695
  {
5693
5696
  height: (
5694
5697
  // set the height to auto when there are no transactions so the zero state isn't set to 0
5695
- S.getVirtualItems().length === 0 ? "auto" : S.getTotalSize()
5698
+ A.getVirtualItems().length === 0 ? "auto" : A.getTotalSize()
5696
5699
  ),
5697
5700
  position: "relative",
5698
5701
  width: "100%",
5699
5702
  children: [
5700
5703
  (u || r) && i,
5701
- !u && !r && S.getVirtualItems().length === 0 && d,
5702
- !u && !r && S.getVirtualItems().length > 0 && S.getVirtualItems().map((A) => {
5703
- const w = h[A.index], v = _r(A.index, h), R = Ku(A.index, h), B = ur + (v ? hr : 0);
5704
+ !u && !r && A.getVirtualItems().length === 0 && d,
5705
+ !u && !r && A.getVirtualItems().length > 0 && A.getVirtualItems().map((w) => {
5706
+ const v = h[w.index], R = _r(w.index, h), B = Ku(w.index, h), M = ur + (R ? hr : 0);
5704
5707
  return /* @__PURE__ */ l(
5705
5708
  L,
5706
5709
  {
5707
5710
  sx: {
5708
- height: B,
5711
+ height: M,
5709
5712
  position: "absolute",
5710
- transform: `translateY(${A.start}px)`,
5713
+ transform: `translateY(${w.start}px)`,
5711
5714
  width: "100%"
5712
5715
  },
5713
5716
  children: [
5714
- v && /* @__PURE__ */ t(mo, { bgcolor: e, children: sa(w.date) }),
5715
- /* @__PURE__ */ t(go, { onClick: E, transaction: w }),
5716
- /* @__PURE__ */ t(H, { sx: { ml: R ? 24 : 0 } })
5717
+ R && /* @__PURE__ */ t(mo, { bgcolor: e, children: sa(v.date) }),
5718
+ /* @__PURE__ */ t(go, { onClick: y, transaction: v }),
5719
+ /* @__PURE__ */ t(H, { sx: { ml: B ? 24 : 0 } })
5717
5720
  ]
5718
5721
  },
5719
- w.guid
5722
+ v.guid
5720
5723
  );
5721
5724
  })
5722
5725
  ]
@@ -5726,7 +5729,7 @@ const $u = ({ transaction: e, onClick: n }) => {
5726
5729
  `${e.row.account}`,
5727
5730
  e.row.number && ` | ${e.row.number}`
5728
5731
  ] }), ju = (e) => {
5729
- const { associatedBeats: n } = Ne(), { showInsights: i } = Lt(), { amount: a, transaction_type: o } = e.row, r = n.find((c) => c.associated_transaction_guid === e.row.guid), s = o === Kt.CREDIT;
5732
+ const { associatedBeats: n } = Ne(), { showInsights: i } = It(), { amount: a, transaction_type: o } = e.row, r = n.find((c) => c.associated_transaction_guid === e.row.guid), s = o === Kt.CREDIT;
5730
5733
  return /* @__PURE__ */ l(b, { alignItems: "flex-end", tabIndex: e.tabIndex, children: [
5731
5734
  /* @__PURE__ */ l(p, { color: s ? "success.main" : "text.primary", variant: "Small", children: [
5732
5735
  s ? "+" : "",
@@ -5795,40 +5798,40 @@ const $u = ({ transaction: e, onClick: n }) => {
5795
5798
  onCategoryClick: n,
5796
5799
  onRowClick: i
5797
5800
  }) => {
5798
- const { isLoading: a, sortedTransactions: o } = Ne(), { transactions: r } = x(), { isCopyLoaded: s } = de(), c = g.useMemo(
5799
- () => o.map((_) => ({
5800
- id: _.guid,
5801
+ const { transactions: a } = x(), { isCopyLoaded: o } = de(), { isLoading: r, sortedTransactions: s } = Ne(), { clearExpandedSplits: c, toggleSplit: d } = It();
5802
+ g.useEffect(() => () => c(), []);
5803
+ const u = g.useMemo(
5804
+ () => s.map((m) => ({
5805
+ id: m.guid,
5801
5806
  isHovering: !1,
5802
- ..._
5807
+ ...m
5803
5808
  })),
5804
- [o]
5805
- ), d = (_) => {
5806
- _.field === "category" ? n?.(_.row.guid) : i?.(_.row.guid);
5807
- };
5808
- if (!s)
5809
+ [s]
5810
+ ), _ = ({ row: { id: m, guid: C, has_been_split: f }, field: E }) => f ? d(m) : E === "category" ? n?.(C) : i?.(C);
5811
+ if (!o)
5809
5812
  return /* @__PURE__ */ t(_e, {});
5810
- const u = [
5813
+ const h = [
5811
5814
  {
5812
5815
  field: "flag",
5813
5816
  headerName: "",
5814
5817
  minWidth: 32,
5815
5818
  width: 32,
5816
5819
  sortable: !1,
5817
- renderCell: (_) => /* @__PURE__ */ t(Ju, { ..._ }),
5818
- renderHeader: () => /* @__PURE__ */ t("span", { "aria-label": r.transaction_status, role: "presentation" })
5820
+ renderCell: (m) => /* @__PURE__ */ t(Ju, { ...m }),
5821
+ renderHeader: () => /* @__PURE__ */ t("span", { "aria-label": a.transaction_status, role: "presentation" })
5819
5822
  },
5820
5823
  {
5821
5824
  field: "date",
5822
- headerName: r.date_title,
5825
+ headerName: a.date_title,
5823
5826
  width: 103,
5824
5827
  renderHeader: ri,
5825
- renderCell: qu,
5828
+ renderCell: (m) => m.row.parent_guid ? null : /* @__PURE__ */ t(qu, { ...m }),
5826
5829
  sortingOrder: ["desc", "asc"]
5827
5830
  },
5828
5831
  {
5829
5832
  cellClassName: "vertical-align-center",
5830
5833
  field: "payee",
5831
- headerName: r.payee_title,
5834
+ headerName: a.payee_title,
5832
5835
  flex: 0.33,
5833
5836
  renderHeader: ri,
5834
5837
  renderCell: eh,
@@ -5836,23 +5839,23 @@ const $u = ({ transaction: e, onClick: n }) => {
5836
5839
  },
5837
5840
  {
5838
5841
  field: "category",
5839
- headerName: r.category_title,
5842
+ headerName: a.category_title,
5840
5843
  flex: 0.25,
5841
5844
  renderHeader: ri,
5842
- renderCell: (_) => /* @__PURE__ */ t(Zu, { ..._ }),
5845
+ renderCell: (m) => /* @__PURE__ */ t(Zu, { ...m }),
5843
5846
  sortingOrder: ["asc", "desc"]
5844
5847
  },
5845
5848
  {
5846
5849
  field: "account",
5847
- headerName: r.account_title,
5850
+ headerName: a.account_title,
5848
5851
  flex: 0.33,
5849
5852
  renderHeader: ri,
5850
- renderCell: Yu,
5853
+ renderCell: (m) => m.row.parent_guid ? null : /* @__PURE__ */ t(Yu, { ...m }),
5851
5854
  sortingOrder: ["asc", "desc"]
5852
5855
  },
5853
5856
  {
5854
5857
  field: "amount",
5855
- headerName: r.amount_title,
5858
+ headerName: a.amount_title,
5856
5859
  flex: 0.25,
5857
5860
  renderHeader: ri,
5858
5861
  renderCell: ju,
@@ -5864,15 +5867,20 @@ const $u = ({ transaction: e, onClick: n }) => {
5864
5867
  return /* @__PURE__ */ t(St, { sx: { height: e, px: 24, width: "100%", boxShadow: "none" }, children: /* @__PURE__ */ t(
5865
5868
  Hn,
5866
5869
  {
5867
- columns: u,
5870
+ columns: h,
5868
5871
  disableColumnFilter: !0,
5869
5872
  disableColumnMenu: !0,
5873
+ getCellClassName: (m) => m.row.parent_guid ? "split-row" : "",
5870
5874
  hideFooter: !0,
5871
5875
  initialState: { sorting: { sortModel: [{ field: "date", sort: "desc" }] } },
5872
- loading: a,
5873
- onCellClick: d,
5874
- rows: c,
5875
- slotProps: { baseIconButton: { color: "secondary", sx: { ml: 8 } } }
5876
+ loading: r,
5877
+ onCellClick: _,
5878
+ rows: u,
5879
+ sx: {
5880
+ "& .split-row": {
5881
+ bgcolor: "background.default"
5882
+ }
5883
+ }
5876
5884
  }
5877
5885
  ) });
5878
5886
  }, nh = I(th), _n = () => {
@@ -6135,7 +6143,7 @@ const ih = ({
6135
6143
  id: `category-${e.guid}`,
6136
6144
  onClick: c,
6137
6145
  children: [
6138
- /* @__PURE__ */ t(ke, { children: /* @__PURE__ */ t(kt, { categoryGuid: e.guid }) }),
6146
+ /* @__PURE__ */ t(Ge, { children: /* @__PURE__ */ t(Gt, { categoryGuid: e.guid }) }),
6139
6147
  /* @__PURE__ */ t(
6140
6148
  ae,
6141
6149
  {
@@ -6428,7 +6436,7 @@ class Th {
6428
6436
  getCategoryName = (n) => this.categories.find((a) => a.guid === n)?.name ?? ra[n];
6429
6437
  }
6430
6438
  const Xs = ({ transaction: e }) => {
6431
- const { addOrUpdateTransactionRule: n, updateTransaction: i } = Ne(), { categories: a } = $e(), { onEvent: o } = j(), { setShouldDisableDrawerScroll: r, updateManualTransaction: s } = Lt(), { transactions: c } = x(), [d, u] = g.useState(!1), [_, h] = g.useState(""), m = async (y) => {
6439
+ const { addOrUpdateTransactionRule: n, updateTransaction: i } = Ne(), { categories: a } = $e(), { onEvent: o } = j(), { setShouldDisableDrawerScroll: r, updateManualTransaction: s } = It(), { transactions: c } = x(), [d, u] = g.useState(!1), [_, h] = g.useState(""), m = async (y) => {
6432
6440
  await i({ ...e, category_guid: _ }), y && await n(_, e), h(""), o(W.TRANSACTION_DETAILS_CLICK_CATEGORY, {
6433
6441
  transaction_guid: e.guid
6434
6442
  });
@@ -6458,8 +6466,8 @@ const Xs = ({ transaction: e }) => {
6458
6466
  o(Y.ON_TRANSACTION_CATEGORY_CLICK), u(!0);
6459
6467
  },
6460
6468
  children: [
6461
- /* @__PURE__ */ t(ke, { children: /* @__PURE__ */ t(Gt, { sx: { bgcolor: "border.light" }, variant: "rounded", children: /* @__PURE__ */ t(
6462
- kt,
6469
+ /* @__PURE__ */ t(Ge, { children: /* @__PURE__ */ t(Bt, { sx: { bgcolor: "border.light" }, variant: "rounded", children: /* @__PURE__ */ t(
6470
+ Gt,
6463
6471
  {
6464
6472
  categoryGuid: e.top_level_category_guid,
6465
6473
  size: 24,
@@ -6513,7 +6521,7 @@ const Xs = ({ transaction: e }) => {
6513
6521
  )
6514
6522
  ] });
6515
6523
  }, Zs = ({ transaction: e }) => {
6516
- const n = gt(), { onEvent: i } = j(), { updateTransaction: a } = Ne(), { updateManualTransaction: o } = Lt(), { common: r, transactions: s } = x(), [c, d] = g.useState(!1), [u, _] = g.useState(e.date), h = (C) => {
6524
+ const n = gt(), { onEvent: i } = j(), { updateTransaction: a } = Ne(), { updateManualTransaction: o } = It(), { common: r, transactions: s } = x(), [c, d] = g.useState(!1), [u, _] = g.useState(e.date), h = (C) => {
6517
6525
  _(He(C));
6518
6526
  }, m = async () => {
6519
6527
  if (e.is_manual && !e.guid) {
@@ -6530,7 +6538,7 @@ const Xs = ({ transaction: e }) => {
6530
6538
  i(Y.ON_TRANSACTION_DATE_CLICK), d(!0);
6531
6539
  },
6532
6540
  children: [
6533
- /* @__PURE__ */ t(ke, { children: /* @__PURE__ */ t(Gt, { sx: { bgcolor: "border.light" }, variant: "rounded", children: /* @__PURE__ */ t($, { name: "calendar_month", sx: { color: "text.primary" }, weight: ft.Dark }) }) }),
6541
+ /* @__PURE__ */ t(Ge, { children: /* @__PURE__ */ t(Bt, { sx: { bgcolor: "border.light" }, variant: "rounded", children: /* @__PURE__ */ t($, { name: "calendar_month", sx: { color: "text.primary" }, weight: ft.Dark }) }) }),
6534
6542
  /* @__PURE__ */ t(
6535
6543
  ae,
6536
6544
  {
@@ -6570,7 +6578,7 @@ const Xs = ({ transaction: e }) => {
6570
6578
  )
6571
6579
  ] });
6572
6580
  }, Ah = ({ transaction: e }) => {
6573
- const { onEvent: n } = j(), { removeTransaction: i } = Ne(), { setShouldDisableDrawerScroll: a } = Lt(), { common: o, transactions: r } = x(), [s, c] = g.useState(!1), d = async () => {
6581
+ const { onEvent: n } = j(), { removeTransaction: i } = Ne(), { setShouldDisableDrawerScroll: a } = It(), { common: o, transactions: r } = x(), [s, c] = g.useState(!1), d = async () => {
6574
6582
  await i(e.guid), n(Y.ON_TRANSACTION_DELETE_DELETED);
6575
6583
  };
6576
6584
  return /* @__PURE__ */ l(L, { className: "mx-txn-delete", children: [
@@ -6581,7 +6589,7 @@ const Xs = ({ transaction: e }) => {
6581
6589
  n(Y.ON_TRANSACTION_DELETE_CLICK), a(!0), c(!0);
6582
6590
  },
6583
6591
  children: [
6584
- /* @__PURE__ */ t(ke, { children: /* @__PURE__ */ t(Gt, { variant: "rounded", children: /* @__PURE__ */ t(pi, { color: "secondary", fontSize: "small" }) }) }),
6592
+ /* @__PURE__ */ t(Ge, { children: /* @__PURE__ */ t(Bt, { variant: "rounded", children: /* @__PURE__ */ t(pi, { color: "secondary", fontSize: "small" }) }) }),
6585
6593
  /* @__PURE__ */ t(
6586
6594
  ae,
6587
6595
  {
@@ -6610,7 +6618,7 @@ const Xs = ({ transaction: e }) => {
6610
6618
  )
6611
6619
  ] });
6612
6620
  }, Ih = I(Ah), xh = ({ transaction: e }) => {
6613
- const { onEvent: n } = j(), { updateTransaction: i } = Ne(), { setShouldDisableDrawerScroll: a } = Lt(), { common: o, transactions: r } = x(), [s, c] = g.useState(!1), d = async () => {
6621
+ const { onEvent: n } = j(), { updateTransaction: i } = Ne(), { setShouldDisableDrawerScroll: a } = It(), { common: o, transactions: r } = x(), [s, c] = g.useState(!1), d = async () => {
6614
6622
  await i({ ...e, merchant_guid: "" }), n(W.TRANSACTION_DETAILS_CLICK_DELETE_LOGO, {
6615
6623
  transaction_guid: e.guid
6616
6624
  });
@@ -6623,7 +6631,7 @@ const Xs = ({ transaction: e }) => {
6623
6631
  n(Y.ON_TRANSACTION_DELETE_LOGO_CLICK), c(!0);
6624
6632
  },
6625
6633
  children: [
6626
- /* @__PURE__ */ t(ke, { children: /* @__PURE__ */ t(Gt, { sx: { bgcolor: "border.light" }, variant: "rounded", children: /* @__PURE__ */ t($, { name: "delete", sx: { color: "text.primary" }, weight: ft.Dark }) }) }),
6634
+ /* @__PURE__ */ t(Ge, { children: /* @__PURE__ */ t(Bt, { sx: { bgcolor: "border.light" }, variant: "rounded", children: /* @__PURE__ */ t($, { name: "delete", sx: { color: "text.primary" }, weight: ft.Dark }) }) }),
6627
6635
  /* @__PURE__ */ t(ae, { primary: r.merchant_logo_title, secondary: r.merchant_logo_desc }),
6628
6636
  /* @__PURE__ */ t(ht, { children: /* @__PURE__ */ t($, { name: "chevron_right", weight: ft.Dark }) })
6629
6637
  ]
@@ -6650,7 +6658,7 @@ const Xs = ({ transaction: e }) => {
6650
6658
  )
6651
6659
  ] });
6652
6660
  }, vh = I(xh), wh = ({ transaction: e }) => {
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 () => {
6661
+ const { onEvent: n } = j(), { updateTransaction: i } = Ne(), { setShouldDisableDrawerScroll: a } = It(), { common: o, transactions: r } = x(), [s, c] = g.useState(!1), d = e.is_hidden, u = async () => {
6654
6662
  await i({ ...e, is_hidden: !e.is_hidden }), n(
6655
6663
  d ? Y.ON_TRANSACTION_UNHIDDEN : Y.ON_TRANSACTION_HIDDEN
6656
6664
  );
@@ -6672,7 +6680,7 @@ const Xs = ({ transaction: e }) => {
6672
6680
  },
6673
6681
  role: "switch",
6674
6682
  children: [
6675
- /* @__PURE__ */ t(ke, { children: /* @__PURE__ */ t(Gt, { sx: { bgcolor: "border.light" }, variant: "rounded", children: d ? /* @__PURE__ */ t(
6683
+ /* @__PURE__ */ t(Ge, { children: /* @__PURE__ */ t(Bt, { sx: { bgcolor: "border.light" }, variant: "rounded", children: d ? /* @__PURE__ */ t(
6676
6684
  $,
6677
6685
  {
6678
6686
  name: "visibilityOff",
@@ -6739,7 +6747,7 @@ const Xs = ({ transaction: e }) => {
6739
6747
  ] })
6740
6748
  ] });
6741
6749
  }, Dh = ({ transaction: e }) => {
6742
- const { onEvent: n } = j(), { updateTransaction: i } = Ne(), { updateManualTransaction: a } = Lt(), { common: o, transactions: r } = x(), [s, c] = g.useState(!1), [d, u] = g.useState("");
6750
+ const { onEvent: n } = j(), { updateTransaction: i } = Ne(), { updateManualTransaction: a } = It(), { common: o, transactions: r } = x(), [s, c] = g.useState(!1), [d, u] = g.useState("");
6743
6751
  g.useEffect(() => {
6744
6752
  s && u(e.memo ? e.memo : "");
6745
6753
  }, [s]);
@@ -6758,7 +6766,7 @@ const Xs = ({ transaction: e }) => {
6758
6766
  n(Y.ON_TRANSACTION_MEMO_CLICK), c(!0);
6759
6767
  },
6760
6768
  children: [
6761
- /* @__PURE__ */ t(ke, { children: /* @__PURE__ */ t(Gt, { sx: { bgcolor: "border.light" }, variant: "rounded", children: /* @__PURE__ */ t($, { name: "article", sx: { color: "text.primary" }, weight: ft.Dark }) }) }),
6769
+ /* @__PURE__ */ t(Ge, { children: /* @__PURE__ */ t(Bt, { sx: { bgcolor: "border.light" }, variant: "rounded", children: /* @__PURE__ */ t($, { name: "article", sx: { color: "text.primary" }, weight: ft.Dark }) }) }),
6762
6770
  /* @__PURE__ */ t(
6763
6771
  ae,
6764
6772
  {
@@ -6833,7 +6841,7 @@ const Xs = ({ transaction: e }) => {
6833
6841
  {
6834
6842
  endIcon: /* @__PURE__ */ t(ia, {}),
6835
6843
  onClick: () => h(!0),
6836
- startIcon: /* @__PURE__ */ t(kt, { categoryGuid: o.top_level_category_guid }),
6844
+ startIcon: /* @__PURE__ */ t(Gt, { categoryGuid: o.top_level_category_guid }),
6837
6845
  sx: { px: r.Spacing.Small, py: r.Spacing.XSmall },
6838
6846
  children: o.category
6839
6847
  }
@@ -6966,7 +6974,7 @@ const Xs = ({ transaction: e }) => {
6966
6974
  ) })
6967
6975
  ] });
6968
6976
  }, Mh = I(Lh), kh = ({ transaction: e }) => {
6969
- const { onEvent: n } = j(), { splitTransaction: i, unSplitTransaction: a } = Ne(), { common: o, transactions: r } = x(), { setShouldDisableDrawerScroll: s } = Lt(), { categories: c } = $e(), d = {
6977
+ const { onEvent: n } = j(), { splitTransaction: i, unSplitTransaction: a } = Ne(), { common: o, transactions: r } = x(), { setShouldDisableDrawerScroll: s } = It(), { categories: c } = $e(), d = {
6970
6978
  ...e,
6971
6979
  amount: e.amount - 1,
6972
6980
  guid: "",
@@ -7027,7 +7035,7 @@ const Xs = ({ transaction: e }) => {
7027
7035
  }, [f]);
7028
7036
  return /* @__PURE__ */ l(g.Fragment, { children: [
7029
7037
  e && /* @__PURE__ */ t(z, { disableGutters: !0, disablePadding: !0, children: /* @__PURE__ */ l(ue, { onClick: v, children: [
7030
- /* @__PURE__ */ t(ke, { children: /* @__PURE__ */ t(Gt, { sx: { bgcolor: "border.light" }, variant: "rounded", children: /* @__PURE__ */ t($, { name: "call_split", sx: { color: "text.primary" }, weight: ft.Dark }) }) }),
7038
+ /* @__PURE__ */ t(Ge, { children: /* @__PURE__ */ t(Bt, { sx: { bgcolor: "border.light" }, variant: "rounded", children: /* @__PURE__ */ t($, { name: "call_split", sx: { color: "text.primary" }, weight: ft.Dark }) }) }),
7031
7039
  /* @__PURE__ */ t(
7032
7040
  ae,
7033
7041
  {
@@ -7078,7 +7086,7 @@ const Xs = ({ transaction: e }) => {
7078
7086
  },
7079
7087
  primaryText: o.delete_button,
7080
7088
  secondaryText: o.cancel_button,
7081
- children: /* @__PURE__ */ t(p, { variant: "Paragraph", children: T(
7089
+ children: /* @__PURE__ */ t(Ee, { variant: "Paragraph", children: T(
7082
7090
  r.split_transaction_unsplit_description,
7083
7091
  e.description
7084
7092
  ) })
@@ -7143,7 +7151,7 @@ const Xs = ({ transaction: e }) => {
7143
7151
  value: s
7144
7152
  }
7145
7153
  ),
7146
- /* @__PURE__ */ t(xe, { id: "add-tag-error", sx: { color: "error.main" }, variant: "ParagraphSmall", children: d })
7154
+ /* @__PURE__ */ t(Ee, { id: "add-tag-error", sx: { color: "error.main" }, variant: "ParagraphSmall", children: d })
7147
7155
  ]
7148
7156
  }
7149
7157
  )
@@ -7246,7 +7254,7 @@ const Xs = ({ transaction: e }) => {
7246
7254
  value: m
7247
7255
  }
7248
7256
  ),
7249
- /* @__PURE__ */ t(xe, { id: "update-tag-error", sx: { color: "error.main" }, variant: "ParagraphSmall", children: f })
7257
+ /* @__PURE__ */ t(Ee, { id: "update-tag-error", sx: { color: "error.main" }, variant: "ParagraphSmall", children: f })
7250
7258
  ]
7251
7259
  }
7252
7260
  ),
@@ -7285,7 +7293,7 @@ const Xs = ({ transaction: e }) => {
7285
7293
  ] }, s.guid)) }) })
7286
7294
  ] });
7287
7295
  }, Vh = I(Uh), Kh = ({ transaction: e }) => {
7288
- const { onEvent: n } = j(), { tags: i, updateTaggings: a, updateTransaction: o } = Ne(), { common: r, transactions: s } = x(), { updateManualTransaction: c } = Lt(), [d, u] = g.useState(!1), [_, h] = g.useState(e.tags);
7296
+ const { onEvent: n } = j(), { tags: i, updateTaggings: a, updateTransaction: o } = Ne(), { common: r, transactions: s } = x(), { updateManualTransaction: c } = It(), [d, u] = g.useState(!1), [_, h] = g.useState(e.tags);
7289
7297
  g.useEffect(() => {
7290
7298
  h(e.tags);
7291
7299
  }, [d, e]);
@@ -7312,7 +7320,7 @@ const Xs = ({ transaction: e }) => {
7312
7320
  n(Y.ON_TRANSACTION_TAGS_CLICK), u(!0);
7313
7321
  },
7314
7322
  children: [
7315
- /* @__PURE__ */ t(ke, { children: /* @__PURE__ */ t(Gt, { sx: { bgcolor: "border.light" }, variant: "rounded", children: /* @__PURE__ */ t($, { name: "local_offer", sx: { color: "text.primary" }, weight: ft.Dark }) }) }),
7323
+ /* @__PURE__ */ t(Ge, { children: /* @__PURE__ */ t(Bt, { sx: { bgcolor: "border.light" }, variant: "rounded", children: /* @__PURE__ */ t($, { name: "local_offer", sx: { color: "text.primary" }, weight: ft.Dark }) }) }),
7316
7324
  /* @__PURE__ */ t(
7317
7325
  ae,
7318
7326
  {
@@ -7470,7 +7478,7 @@ const Xs = ({ transaction: e }) => {
7470
7478
  s === Hi.MerchantLogo && /* @__PURE__ */ t(vh, { transaction: i }),
7471
7479
  /* @__PURE__ */ t(H, { variant: c < e.length - 1 ? "inset" : "fullWidth" })
7472
7480
  ] }, s)),
7473
- i.is_manual && /* @__PURE__ */ t(Ih, { transaction: i })
7481
+ i.is_manual && !i.parent_guid && !i.has_been_split && /* @__PURE__ */ t(Ih, { transaction: i })
7474
7482
  ] }) })
7475
7483
  ] }) }) : /* @__PURE__ */ t(_e, {});
7476
7484
  }, ni = I(Zh), qh = ({ copy: e, isOpen: n, onClose: i, onPrimaryAction: a }) => {
@@ -7493,7 +7501,7 @@ const Xs = ({ transaction: e }) => {
7493
7501
  }
7494
7502
  ) : /* @__PURE__ */ t(_e, {});
7495
7503
  }, Qh = I(qh), Jh = () => {
7496
- const { selectedAccounts: e } = de(), { common: n, transactions: i } = x(), { manualTransaction: a, setIsAmountValid: o, updateManualTransaction: r } = Lt(), [s, c] = g.useState(""), [d, u] = g.useState(""), _ = g.useMemo(
7504
+ const { selectedAccounts: e } = de(), { common: n, transactions: i } = x(), { manualTransaction: a, setIsAmountValid: o, updateManualTransaction: r } = It(), [s, c] = g.useState(""), [d, u] = g.useState(""), _ = g.useMemo(
7497
7505
  () => e.filter((y) => y.is_manual),
7498
7506
  [e]
7499
7507
  ).map((y) => ({
@@ -7623,7 +7631,7 @@ const Xs = ({ transaction: e }) => {
7623
7631
  onSecondaryAction: () => u(!1),
7624
7632
  primaryText: o.actions_apply_to_all,
7625
7633
  secondaryText: o.actions_this_time_only,
7626
- children: /* @__PURE__ */ t(p, { children: T(
7634
+ children: /* @__PURE__ */ t(Ee, { variant: "Paragraph", children: T(
7627
7635
  o.actions_all_past_and_future,
7628
7636
  n.description,
7629
7637
  d?.name
@@ -7637,14 +7645,14 @@ const Xs = ({ transaction: e }) => {
7637
7645
  showInsights: i = !1,
7638
7646
  sx: a = {}
7639
7647
  }) => {
7640
- const { visibleAccounts: o, refreshAccounts: r } = Ee(), s = pe(), { setSearchValue: c } = _n(), {
7648
+ const { visibleAccounts: o, refreshAccounts: r } = Se(), s = pe(), { setSearchValue: c } = _n(), {
7641
7649
  manualTransaction: d,
7642
7650
  isAmountValid: u,
7643
7651
  searchValue: _,
7644
7652
  setSearchValue: h,
7645
7653
  setShowInsights: m,
7646
7654
  updateManualTransaction: C
7647
- } = Lt(), {
7655
+ } = It(), {
7648
7656
  addTransaction: f,
7649
7657
  filter: E,
7650
7658
  loadAssociatedBeats: y,
@@ -7653,14 +7661,14 @@ const Xs = ({ transaction: e }) => {
7653
7661
  tags: w,
7654
7662
  transactions: v,
7655
7663
  updateTransaction: R
7656
- } = Ne(), { common: B, transactions: M } = x(), { userProfile: D } = Bt(), { onEvent: k } = j(), {
7664
+ } = Ne(), { common: B, transactions: M } = x(), { userProfile: D } = Mt(), { onEvent: k } = j(), {
7657
7665
  displayedDateRange: O,
7658
7666
  isCopyLoaded: U,
7659
7667
  isInitialized: Q,
7660
7668
  selectedAccountGuids: oe,
7661
7669
  setDisplayedDate: J,
7662
7670
  setSelectedAccounts: ge
7663
- } = de(), [De, Re] = g.useState(""), [Se, Oe] = g.useState(""), [It, ee] = g.useState(!1), [ne, Ue] = g.useState(!1), [Qe, K] = g.useState(!1);
7671
+ } = de(), [De, Re] = g.useState(""), [Te, Oe] = g.useState(""), [xt, ee] = g.useState(!1), [ne, Ue] = g.useState(!1), [Qe, K] = g.useState(!1);
7664
7672
  g.useEffect(() => {
7665
7673
  const rt = o.filter((Un) => !Un.is_hidden), Lo = Ze(he()), Mo = Ye(he());
7666
7674
  ge(rt), J(Lo, Mo), S({
@@ -7680,7 +7688,7 @@ const Xs = ({ transaction: e }) => {
7680
7688
  const Le = g.useMemo(
7681
7689
  () => o.filter((rt) => rt.is_manual),
7682
7690
  [o]
7683
- ), Ge = Se ? v.find((rt) => rt.guid === Se) : void 0, Pt = u && !!d.payee && !!d.account_guid && !!d.category_guid, dt = (rt) => {
7691
+ ), ke = Te ? v.find((rt) => rt.guid === Te) : void 0, Pt = u && !!d.payee && !!d.account_guid && !!d.category_guid, dt = (rt) => {
7684
7692
  J(rt[0], rt[1]);
7685
7693
  }, ii = (rt) => {
7686
7694
  h(rt), S({
@@ -7705,7 +7713,7 @@ const Xs = ({ transaction: e }) => {
7705
7713
  }, qc = async () => {
7706
7714
  Ue(!1), await r();
7707
7715
  }, Qc = async () => {
7708
- Ge && !Ge.has_been_viewed && await R({ ...Ge, has_been_viewed: !0 }), Re("");
7716
+ ke && !ke.has_been_viewed && await R({ ...ke, has_been_viewed: !0 }), Re("");
7709
7717
  };
7710
7718
  return !U || !Q || !Qe ? /* @__PURE__ */ t(_e, {}) : /* @__PURE__ */ l(
7711
7719
  bt,
@@ -7793,19 +7801,19 @@ const Xs = ({ transaction: e }) => {
7793
7801
  le,
7794
7802
  {
7795
7803
  ariaLabelClose: B.close_aria,
7796
- isOpen: De === "transaction",
7804
+ isOpen: De === "transaction" && !!ke,
7797
7805
  onClose: Qc,
7798
7806
  title: M.details_title,
7799
- children: Ge && /* @__PURE__ */ t(ni, { transaction: Ge })
7807
+ children: ke && /* @__PURE__ */ t(ni, { transaction: ke })
7800
7808
  }
7801
7809
  ),
7802
- Ge && De === "category" && /* @__PURE__ */ t(
7810
+ ke && De === "category" && /* @__PURE__ */ t(
7803
7811
  ng,
7804
7812
  {
7805
7813
  onClose: () => {
7806
7814
  c(""), Re(""), Oe("");
7807
7815
  },
7808
- transaction: Ge
7816
+ transaction: ke
7809
7817
  }
7810
7818
  ),
7811
7819
  /* @__PURE__ */ t(
@@ -7824,7 +7832,7 @@ const Xs = ({ transaction: e }) => {
7824
7832
  Qh,
7825
7833
  {
7826
7834
  copy: { title: M.add_manual_account },
7827
- isOpen: It,
7835
+ isOpen: xt,
7828
7836
  onClose: () => {
7829
7837
  ee(!1);
7830
7838
  },
@@ -7842,7 +7850,7 @@ const Xs = ({ transaction: e }) => {
7842
7850
  ]
7843
7851
  }
7844
7852
  );
7845
- }, pE = I(ig), ec = ({
7853
+ }, p4 = I(ig), ec = ({
7846
7854
  frequency: e,
7847
7855
  firstDay: n,
7848
7856
  secondDay: i,
@@ -8050,7 +8058,7 @@ const Xs = ({ transaction: e }) => {
8050
8058
  le,
8051
8059
  {
8052
8060
  ariaLabelClose: i.close_drawer_aria,
8053
- isOpen: !!C,
8061
+ isOpen: !!C && !!E,
8054
8062
  onClose: () => f(""),
8055
8063
  title: i.transaction_details_drawer_title,
8056
8064
  children: E && /* @__PURE__ */ t(ni, { transaction: E })
@@ -8082,7 +8090,7 @@ const Xs = ({ transaction: e }) => {
8082
8090
  /* @__PURE__ */ l(ue, { onClick: () => {
8083
8091
  e(n), o(!0);
8084
8092
  }, children: [
8085
- /* @__PURE__ */ t(ke, { children: /* @__PURE__ */ t(
8093
+ /* @__PURE__ */ t(Ge, { children: /* @__PURE__ */ t(
8086
8094
  rn,
8087
8095
  {
8088
8096
  categoryGuid: r,
@@ -8167,9 +8175,9 @@ const Xs = ({ transaction: e }) => {
8167
8175
  onSearch: i,
8168
8176
  onSelected: a
8169
8177
  }) => {
8170
- const { recurring: o } = x(), { searchValue: r, setSearchValue: s } = Lt();
8178
+ const { recurring: o } = x(), { searchValue: r, setSearchValue: s } = It();
8171
8179
  return /* @__PURE__ */ l(b, { sx: { bgcolor: e, gap: 16, pt: 8 }, children: [
8172
- n && /* @__PURE__ */ t(xe, { sx: { mx: 24 }, children: n }),
8180
+ n && /* @__PURE__ */ t(Ee, { sx: { mx: 24 }, children: n }),
8173
8181
  /* @__PURE__ */ t(
8174
8182
  da,
8175
8183
  {
@@ -8222,7 +8230,7 @@ const Xs = ({ transaction: e }) => {
8222
8230
  label: n,
8223
8231
  onAddRecurringTransaction: i = () => null
8224
8232
  }) => {
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), [S, A] = g.useState(15), w = g.useMemo(
8233
+ const { recurring: a } = x(), { filter: o, setFilter: r, transactions: s } = Ne(), { addRepeatingTransaction: c } = ze(), { user: d } = Mt(), [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(
8226
8234
  () => s.find((M) => M.guid === h),
8227
8235
  [h, s]
8228
8236
  ), v = () => {
@@ -8564,7 +8572,7 @@ const Xs = ({ transaction: e }) => {
8564
8572
  /* @__PURE__ */ l(ue, { onClick: () => {
8565
8573
  c(!0), i(e);
8566
8574
  }, children: [
8567
- /* @__PURE__ */ t(ke, { children: /* @__PURE__ */ t(
8575
+ /* @__PURE__ */ t(Ge, { children: /* @__PURE__ */ t(
8568
8576
  rn,
8569
8577
  {
8570
8578
  categoryGuid: e.categoryGuid,
@@ -8675,7 +8683,7 @@ const Xs = ({ transaction: e }) => {
8675
8683
  /* @__PURE__ */ t(z, { children: /* @__PURE__ */ t(
8676
8684
  ie,
8677
8685
  {
8678
- subheader: /* @__PURE__ */ t(Mt, { sx: { bgcolor: "background.paper", ml: 8, pb: 4, pt: 12 }, children: /* @__PURE__ */ t(p, { bold: !0, variant: "caption", children: ce(d.date, re.DAY_OF_WEEK_MONTH_DAY) }) }),
8686
+ subheader: /* @__PURE__ */ t(kt, { sx: { bgcolor: "background.paper", ml: 8, pb: 4, pt: 12 }, children: /* @__PURE__ */ t(p, { bold: !0, variant: "caption", children: ce(d.date, re.DAY_OF_WEEK_MONTH_DAY) }) }),
8679
8687
  sx: { width: "100%" },
8680
8688
  children: d.recurrences.map((_, h) => /* @__PURE__ */ t(g.Fragment, { children: /* @__PURE__ */ t(
8681
8689
  br,
@@ -8818,8 +8826,8 @@ const Xs = ({ transaction: e }) => {
8818
8826
  )
8819
8827
  ] }) })
8820
8828
  ] });
8821
- }), CE = I(({ onBackClick: e, sx: n = {} }) => {
8822
- const { accounts: i } = Ee(), { recurring: a } = x(), { isCopyLoaded: o, isInitialized: r, selectedAccountGuids: s, setSelectedAccounts: c } = de(), { isDataLoaded: d, loadRepeatingTransactions: u } = ze(), { setFilter: _ } = Ne(), { onEvent: h } = j(), [m, C] = g.useState(!1);
8829
+ }), C4 = I(({ onBackClick: e, sx: n = {} }) => {
8830
+ const { accounts: i } = Se(), { recurring: a } = x(), { isCopyLoaded: o, isInitialized: r, selectedAccountGuids: s, setSelectedAccounts: c } = de(), { isDataLoaded: d, loadRepeatingTransactions: u } = ze(), { setFilter: _ } = Ne(), { onEvent: h } = j(), [m, C] = g.useState(!1);
8823
8831
  return g.useEffect(() => {
8824
8832
  c(i);
8825
8833
  }, [i]), g.useEffect(() => {
@@ -8883,9 +8891,9 @@ const Xs = ({ transaction: e }) => {
8883
8891
  }
8884
8892
  )
8885
8893
  ] });
8886
- }), fE = I(
8894
+ }), f4 = I(
8887
8895
  ({ onPrimaryCtaClick: e, sx: n }) => {
8888
- const { accounts: i } = Ee(), { recurring: a } = x(), { setFilter: o } = Ne(), { isDataLoaded: r, loadRepeatingTransactions: s } = ze(), { isCopyLoaded: c, isInitialized: d, setSelectedAccounts: u, selectedAccountGuids: _ } = de();
8896
+ const { accounts: i } = Se(), { recurring: a } = x(), { setFilter: o } = Ne(), { isDataLoaded: r, loadRepeatingTransactions: s } = ze(), { isCopyLoaded: c, isInitialized: d, setSelectedAccounts: u, selectedAccountGuids: _ } = de();
8889
8897
  return g.useEffect(() => {
8890
8898
  d && u(i);
8891
8899
  }, [d]), g.useEffect(() => {
@@ -8980,13 +8988,13 @@ const Xs = ({ transaction: e }) => {
8980
8988
  return /* @__PURE__ */ l(b, { sx: { alignItems: "start", flexDirection: "row", gap: 12, pb: 16, px: 16 }, children: [
8981
8989
  /* @__PURE__ */ t(Wl, { size: 32 }),
8982
8990
  /* @__PURE__ */ l(b, { children: [
8983
- /* @__PURE__ */ t(xe, { fontWeight: 600, variant: "body1", children: e.zero_state_content_header }),
8984
- /* @__PURE__ */ t(xe, { color: "text.secondary", variant: "subtitle2", children: e.zero_state_content_description })
8991
+ /* @__PURE__ */ t(Ee, { fontWeight: 600, variant: "body1", children: e.zero_state_content_header }),
8992
+ /* @__PURE__ */ t(Ee, { color: "text.secondary", variant: "subtitle2", children: e.zero_state_content_description })
8985
8993
  ] })
8986
8994
  ] });
8987
- }), bE = I(
8995
+ }), b4 = I(
8988
8996
  ({ onCTAClick: e }) => {
8989
- const [n, i] = g.useState(!1), { accounts: a } = Ee(), { isCopyLoaded: o, isInitialized: r, selectedAccountGuids: s, setSelectedAccounts: c } = de(), {
8997
+ const [n, i] = g.useState(!1), { accounts: a } = Se(), { isCopyLoaded: o, isInitialized: r, selectedAccountGuids: s, setSelectedAccounts: c } = de(), {
8990
8998
  loadRepeatingTransactions: d,
8991
8999
  upcomingRecurrences: u,
8992
9000
  expenseTotal: _,
@@ -9085,7 +9093,7 @@ const Xs = ({ transaction: e }) => {
9085
9093
  }
9086
9094
  ),
9087
9095
  /* @__PURE__ */ t(
9088
- xe,
9096
+ Ee,
9089
9097
  {
9090
9098
  sx: {
9091
9099
  pr: 12
@@ -9381,7 +9389,7 @@ const fg = {
9381
9389
  label: n.account_name,
9382
9390
  name: "user_name",
9383
9391
  placeholder: T(n.enter_value, n.account_name),
9384
- type: vt.Input,
9392
+ type: wt.Input,
9385
9393
  validation: (a) => a ? "" : T(n.field_is_required, n.account_name),
9386
9394
  valueFormatter: (a) => a
9387
9395
  }
@@ -9391,7 +9399,7 @@ const fg = {
9391
9399
  label: n.account_balance,
9392
9400
  name: "balance",
9393
9401
  placeholder: T(n.enter_value, n.account_balance),
9394
- type: vt.Currency,
9402
+ type: wt.Currency,
9395
9403
  valueFormatter: (o) => P(o, "0,0.00")
9396
9404
  });
9397
9405
  const a = Object.keys(se).filter((o) => Number(o)).map((o) => ({
@@ -9404,7 +9412,7 @@ const fg = {
9404
9412
  name: "account_type",
9405
9413
  options: a,
9406
9414
  placeholder: T(n.select_value, n.account_type),
9407
- type: vt.Select,
9415
+ type: wt.Select,
9408
9416
  valueFormatter: (o) => a.find((r) => r.value === o)?.label
9409
9417
  });
9410
9418
  }
@@ -9419,7 +9427,7 @@ const fg = {
9419
9427
  name: "property_type",
9420
9428
  options: a,
9421
9429
  placeholder: T(n.select_value, n.property_type),
9422
- type: vt.Select,
9430
+ type: wt.Select,
9423
9431
  valueFormatter: (o) => a.find((r) => r.value === o)?.label
9424
9432
  });
9425
9433
  }
@@ -9430,7 +9438,7 @@ const fg = {
9430
9438
  label: a,
9431
9439
  name: o,
9432
9440
  placeholder: T(n.enter_value, a),
9433
- type: vt.Input,
9441
+ type: wt.Input,
9434
9442
  validation: (r) => Ma(r) ? "" : n.error_amount_is_invalid,
9435
9443
  valueFormatter: (r) => Ma(r) ? vi(r / 100) : r
9436
9444
  });
@@ -9439,12 +9447,12 @@ const fg = {
9439
9447
  label: n.minimum_payment,
9440
9448
  name: "minimum_payment",
9441
9449
  placeholder: T(n.enter_value, n.minimum_payment),
9442
- type: vt.Currency,
9450
+ type: wt.Currency,
9443
9451
  valueFormatter: (a) => P(a, "0,0.00")
9444
9452
  }), e.payment_due_at ? i.push({
9445
9453
  label: n.next_payment,
9446
9454
  name: "payment_due_at",
9447
- type: vt.Date,
9455
+ type: wt.Date,
9448
9456
  valueFormatter: (a) => {
9449
9457
  const o = typeof a == "number" ? new Date(a * 1e3) : a;
9450
9458
  return ce(o, re.MED_MONTH_SHORT_DAY_FULL_YEAR);
@@ -9453,7 +9461,7 @@ const fg = {
9453
9461
  label: n.day_payment_due,
9454
9462
  name: "day_payment_is_due",
9455
9463
  placeholder: T(n.enter_value, n.day_payment_due),
9456
- type: vt.Date,
9464
+ type: wt.Date,
9457
9465
  valueFormatter: (a) => T(
9458
9466
  n.day_of_every_month,
9459
9467
  Ci(a <= 31 ? a : new Date(a).getDate())
@@ -9462,14 +9470,14 @@ const fg = {
9462
9470
  label: n.credit_limit,
9463
9471
  name: "credit_limit",
9464
9472
  placeholder: T(n.enter_value, n.credit_limit),
9465
- type: vt.Currency,
9473
+ type: wt.Currency,
9466
9474
  valueFormatter: (a) => P(a, "0,0.00")
9467
9475
  }), Tg(e) && i.push({
9468
9476
  label: n.original_balance,
9469
9477
  minAmount: 1,
9470
9478
  name: "original_balance",
9471
9479
  placeholder: T(n.enter_value, n.original_balance),
9472
- type: vt.Currency,
9480
+ type: wt.Currency,
9473
9481
  valueFormatter: (a) => P(a, "0,0.00")
9474
9482
  }), i;
9475
9483
  }, lc = (e, n) => {
@@ -9510,7 +9518,7 @@ const fg = {
9510
9518
  let _;
9511
9519
  (e.connectionStatus === Ln.Error || e.connectionStatus === Ln.RequiresMfa) && (_ = /* @__PURE__ */ t(bg, { size: 16 }));
9512
9520
  const h = /* @__PURE__ */ l(q, { children: [
9513
- /* @__PURE__ */ t(ke, { children: /* @__PURE__ */ t(
9521
+ /* @__PURE__ */ t(Ge, { children: /* @__PURE__ */ t(
9514
9522
  fs,
9515
9523
  {
9516
9524
  badgeContent: a ? _ : void 0,
@@ -9600,7 +9608,7 @@ const vg = ({ recurrence: e }) => /* @__PURE__ */ l(q, { children: [
9600
9608
  const { cashflow: i } = x();
9601
9609
  return /* @__PURE__ */ l(q, { children: [
9602
9610
  /* @__PURE__ */ l(
9603
- Mt,
9611
+ kt,
9604
9612
  {
9605
9613
  sx: {
9606
9614
  alignItems: "center",
@@ -9997,7 +10005,7 @@ const vg = ({ recurrence: e }) => /* @__PURE__ */ l(q, { children: [
9997
10005
  ]
9998
10006
  }
9999
10007
  ), Ir = (e, n) => (i) => i.accountGuid && e.includes(i.accountGuid) && (qa(i.expectedDate) || nn(i.expectedDate, n.start)) && Xe(i.expectedDate, n.end), kg = () => {
10000
- const { availableWidth: e } = Wn(), { cashflow: n } = x(), { upcomingExpenses: i, upcomingIncome: a } = ze(), { selectedAccountGuids: o } = de(), { dateRange: r, selectedCashAccounts: s } = ti(), { userProfile: c } = Bt(), [d, u] = g.useState(!1), _ = g.useMemo(
10008
+ const { availableWidth: e } = Wn(), { cashflow: n } = x(), { upcomingExpenses: i, upcomingIncome: a } = ze(), { selectedAccountGuids: o } = de(), { dateRange: r, selectedCashAccounts: s } = ti(), { userProfile: c } = Mt(), [d, u] = g.useState(!1), _ = g.useMemo(
10001
10009
  () => i.filter(Ir(o, r)),
10002
10010
  [r, o, i]
10003
10011
  ), h = g.useMemo(
@@ -10103,9 +10111,9 @@ const vg = ({ recurrence: e }) => /* @__PURE__ */ l(q, { children: [
10103
10111
  children: i.welcome_sub_title
10104
10112
  }
10105
10113
  ),
10106
- /* @__PURE__ */ t(xe, { pb: 32, children: i.welcome_description }),
10114
+ /* @__PURE__ */ t(Ee, { pb: 32, children: i.welcome_description }),
10107
10115
  /* @__PURE__ */ l(b, { direction: "column", mb: 32, spacing: 32, children: [
10108
- /* @__PURE__ */ l(xe, { sx: { display: "flex", alignItems: "center", fontSize: 18 }, children: [
10116
+ /* @__PURE__ */ l(Ee, { sx: { display: "flex", alignItems: "center", fontSize: 18 }, children: [
10109
10117
  /* @__PURE__ */ t(
10110
10118
  L,
10111
10119
  {
@@ -10121,7 +10129,7 @@ const vg = ({ recurrence: e }) => /* @__PURE__ */ l(q, { children: [
10121
10129
  ),
10122
10130
  i.bullet_one
10123
10131
  ] }),
10124
- /* @__PURE__ */ l(xe, { sx: { display: "flex", alignItems: "center", fontSize: 18 }, children: [
10132
+ /* @__PURE__ */ l(Ee, { sx: { display: "flex", alignItems: "center", fontSize: 18 }, children: [
10125
10133
  /* @__PURE__ */ t(
10126
10134
  L,
10127
10135
  {
@@ -10137,7 +10145,7 @@ const vg = ({ recurrence: e }) => /* @__PURE__ */ l(q, { children: [
10137
10145
  ),
10138
10146
  i.bullet_two
10139
10147
  ] }),
10140
- /* @__PURE__ */ l(xe, { sx: { display: "flex", alignItems: "center", fontSize: 18 }, children: [
10148
+ /* @__PURE__ */ l(Ee, { sx: { display: "flex", alignItems: "center", fontSize: 18 }, children: [
10141
10149
  /* @__PURE__ */ t(
10142
10150
  L,
10143
10151
  {
@@ -10167,7 +10175,7 @@ const vg = ({ recurrence: e }) => /* @__PURE__ */ l(q, { children: [
10167
10175
  return /* @__PURE__ */ l(g.Fragment, { children: [
10168
10176
  /* @__PURE__ */ t("div", { children: /* @__PURE__ */ t("img", { alt: "Loading", src: dc.CASHFLOW_LOADING_ANIMATION }) }),
10169
10177
  /* @__PURE__ */ t(Xt, { pb: 12, children: e.loading_title }),
10170
- /* @__PURE__ */ t(xe, { children: e.loading_description })
10178
+ /* @__PURE__ */ t(Ee, { children: e.loading_description })
10171
10179
  ] });
10172
10180
  }, Fg = I(Pg), Wg = El`
10173
10181
  from {
@@ -10178,10 +10186,10 @@ const vg = ({ recurrence: e }) => /* @__PURE__ */ l(q, { children: [
10178
10186
  }
10179
10187
  `, $g = () => {
10180
10188
  const { addRepeatingTransaction: e, repeatingTransactions: n } = ze(), { cashflow: i, common: a } = x(), { completeOnboarding: o } = ao(), { isDirty: r } = ti(), { isMobile: s } = Ce(), { isCopyLoaded: c, setDisplayedDate: d } = de(), { 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, Q] = Et(""), oe = g.useMemo(
10181
- () => h.find((Se) => Se.guid === U),
10189
+ () => h.find((Te) => Te.guid === U),
10182
10190
  [U, h]
10183
10191
  ), J = !!n.filter(
10184
- (Se) => Se.repeating_transaction_type === an.Income
10192
+ (Te) => Te.repeating_transaction_type === an.Income
10185
10193
  ).length, ge = async () => {
10186
10194
  D(2), d(
10187
10195
  // Beginning of the month, 90 days before today
@@ -10191,14 +10199,14 @@ const vg = ({ recurrence: e }) => /* @__PURE__ */ l(q, { children: [
10191
10199
  }, De = async () => {
10192
10200
  if (!(k.length < 1)) {
10193
10201
  B(!0);
10194
- for (let Se = 0; Se < k.length; Se++) {
10195
- const Oe = k[Se], It = Ba(E, Fe(Oe.date)), ee = {
10202
+ for (let Te = 0; Te < k.length; Te++) {
10203
+ const Oe = k[Te], xt = Ba(E, Fe(Oe.date)), ee = {
10196
10204
  account_guid: Oe.account_guid,
10197
10205
  amount: Oe.amount,
10198
10206
  merchant_guid: Oe.merchant_guid,
10199
10207
  description: Oe.feed_description || Oe.description,
10200
- predicted_occurs_on: na(It, { representation: "date" }),
10201
- recurrence_day: It.getDay(),
10208
+ predicted_occurs_on: na(xt, { representation: "date" }),
10209
+ recurrence_day: xt.getDay(),
10202
10210
  recurrence_type: E,
10203
10211
  repeating_transaction_type: an.Income,
10204
10212
  transaction_type: Oe.transaction_type
@@ -10248,15 +10256,15 @@ const vg = ({ recurrence: e }) => /* @__PURE__ */ l(q, { children: [
10248
10256
  },
10249
10257
  children: [
10250
10258
  /* @__PURE__ */ t(Xt, { pb: 12, children: i.add_income_title }),
10251
- /* @__PURE__ */ t(xe, { mb: 24, children: i.add_income_description }),
10259
+ /* @__PURE__ */ t(Ee, { mb: 24, children: i.add_income_description }),
10252
10260
  k.length > 0 && !oe && /* @__PURE__ */ l(q, { children: [
10253
- /* @__PURE__ */ t(ie, { children: k.map((Se, Oe) => /* @__PURE__ */ l(g.Fragment, { children: [
10261
+ /* @__PURE__ */ t(ie, { children: k.map((Te, Oe) => /* @__PURE__ */ l(g.Fragment, { children: [
10254
10262
  /* @__PURE__ */ t(mo, { bgcolor: "background.paper", children: sa(
10255
- He(Se.nextDate || Se.date)
10263
+ He(Te.nextDate || Te.date)
10256
10264
  ) }),
10257
- /* @__PURE__ */ t(go, { transaction: Se }),
10265
+ /* @__PURE__ */ t(go, { transaction: Te }),
10258
10266
  Oe !== k.length - 1 && /* @__PURE__ */ t(H, {})
10259
- ] }, Se.guid)) }),
10267
+ ] }, Te.guid)) }),
10260
10268
  /* @__PURE__ */ l(b, { alignItems: "center", direction: "row", children: [
10261
10269
  /* @__PURE__ */ t(H, { sx: { flexGrow: 1 } }),
10262
10270
  /* @__PURE__ */ t(
@@ -10273,16 +10281,16 @@ const vg = ({ recurrence: e }) => /* @__PURE__ */ l(q, { children: [
10273
10281
  ic,
10274
10282
  {
10275
10283
  bgcolor: "background.paper",
10276
- onSearch: (Se) => _({
10284
+ onSearch: (Te) => _({
10277
10285
  ...u,
10278
- custom: (Oe) => Se ? oc(Oe, Se) : fi(Oe)
10286
+ custom: (Oe) => Te ? oc(Oe, Te) : fi(Oe)
10279
10287
  }),
10280
- onSelected: (Se) => {
10281
- Q(Se), f(!1);
10288
+ onSelected: (Te) => {
10289
+ Q(Te), f(!1);
10282
10290
  }
10283
10291
  }
10284
10292
  ),
10285
- !J && r && /* @__PURE__ */ t(xe, { color: "error", mt: 16, children: i.confirm_error }),
10293
+ !J && r && /* @__PURE__ */ t(Ee, { color: "error", mt: 16, children: i.confirm_error }),
10286
10294
  oe && /* @__PURE__ */ l(q, { children: [
10287
10295
  /* @__PURE__ */ t(
10288
10296
  ac,
@@ -10303,12 +10311,12 @@ const vg = ({ recurrence: e }) => /* @__PURE__ */ l(q, { children: [
10303
10311
  {
10304
10312
  "aria-disabled": !oe,
10305
10313
  onClick: () => {
10306
- const Se = [...k];
10307
- Se.push({
10314
+ const Te = [...k];
10315
+ Te.push({
10308
10316
  ...oe,
10309
10317
  nextDate: Ba(E, Fe(oe.date)),
10310
10318
  frequency: E
10311
- }), O(Se), Q("");
10319
+ }), O(Te), Q("");
10312
10320
  },
10313
10321
  variant: "contained",
10314
10322
  children: a.confirm_button
@@ -10360,7 +10368,7 @@ const vg = ({ recurrence: e }) => /* @__PURE__ */ l(q, { children: [
10360
10368
  setSelectedAccounts: o,
10361
10369
  shouldDisableNextDate: r,
10362
10370
  shouldDisablePrevDate: s
10363
- } = de(), { 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 } = de(), [S, A] = g.useState(!1);
10371
+ } = de(), { onEvent: c } = j(), { visibleCashAccounts: d } = Se(), { setFilter: u } = Ne(), { userProfile: _ } = Mt(), { dateRange: h, setSelectedCashAccounts: m } = ti(), { loadRepeatingTransactions: C } = ze(), { cashflow: f } = x(), { isCopyLoaded: E, isInitialized: y } = de(), [S, A] = g.useState(!1);
10364
10372
  return g.useEffect(() => {
10365
10373
  y && C().finally();
10366
10374
  }, [y]), g.useEffect(() => {
@@ -10424,8 +10432,8 @@ const vg = ({ recurrence: e }) => /* @__PURE__ */ l(q, { children: [
10424
10432
  children: /* @__PURE__ */ t(Ug, {})
10425
10433
  }
10426
10434
  );
10427
- }, yE = I(Vg);
10428
- class EE {
10435
+ }, y4 = I(Vg);
10436
+ class E4 {
10429
10437
  fetchInstance;
10430
10438
  constructor(n, i) {
10431
10439
  this.fetchInstance = new ot(n, i);
@@ -10956,7 +10964,7 @@ const un = () => {
10956
10964
  }, qg = I(Zg), Ht = () => {
10957
10965
  if (!g.useContext(Pn))
10958
10966
  throw new Error("useCategoryUiStore() must be used within the GlobalDataContext");
10959
- return Ee().uiStore;
10967
+ return Se().uiStore;
10960
10968
  }, ma = (e) => e.top_level_category_guid === N.INCOME || e.category_guid === N.INCOME, Qg = (e) => !ma(e) && !hc(e), uc = (e) => Yo.includes(e.top_level_category_guid) || Yo.includes(e.category_guid), hc = (e) => e.top_level_category_guid === N.TRANSFER || e.category_guid === N.TRANSFER, Jg = (e) => !ma(e) && !uc(e) && !hc(e), em = (e) => e.filter((n) => n.category_guid === n.top_level_category_guid), To = (e, n) => {
10961
10969
  const i = [];
10962
10970
  let a = Ze(Yt(/* @__PURE__ */ new Date(), 5));
@@ -11025,7 +11033,7 @@ const un = () => {
11025
11033
  r(!0);
11026
11034
  });
11027
11035
  }, [i, a]), !i || !o ? /* @__PURE__ */ t(_e, {}) : /* @__PURE__ */ l(
11028
- Rt,
11036
+ Ot,
11029
11037
  {
11030
11038
  sx: {
11031
11039
  "& .MuiCardContent-root:last-child": {
@@ -11041,12 +11049,12 @@ const un = () => {
11041
11049
  title: /* @__PURE__ */ t(mt, { sx: { pb: 4 }, children: ce(/* @__PURE__ */ new Date(), re.MONTH_LONG) })
11042
11050
  }
11043
11051
  ),
11044
- /* @__PURE__ */ t(Ot, { sx: { p: 0 }, children: /* @__PURE__ */ t(cm, {}) })
11052
+ /* @__PURE__ */ t(Lt, { sx: { p: 0 }, children: /* @__PURE__ */ t(cm, {}) })
11045
11053
  ]
11046
11054
  }
11047
11055
  );
11048
11056
  }, dm = I(lm), _m = ({ customDetailsChart: e }) => {
11049
- const { institutions: n } = Ee(), { selectedAccount: i } = Ht(), { accounts: a } = x(), { firstSubtitle: o, firstValue: r, hasAvailableBalance: s, secondSubtitle: c, secondValue: d } = lc(i, a), u = n.find(
11057
+ const { institutions: n } = Se(), { selectedAccount: i } = Ht(), { accounts: a } = x(), { firstSubtitle: o, firstValue: r, hasAvailableBalance: s, secondSubtitle: c, secondValue: d } = lc(i, a), u = n.find(
11050
11058
  (h) => h.guid === i?.institution_guid
11051
11059
  ), _ = [
11052
11060
  ...Ja,
@@ -11213,7 +11221,7 @@ const gc = ({
11213
11221
  const e = ln(), { debts: n } = x(), { selectedDebtChartData: i } = un();
11214
11222
  return /* @__PURE__ */ l(q, { children: [
11215
11223
  /* @__PURE__ */ l(
11216
- Rt,
11224
+ Ot,
11217
11225
  {
11218
11226
  sx: {
11219
11227
  "& .MuiCardContent-root:last-child": {
@@ -11222,7 +11230,7 @@ const gc = ({
11222
11230
  },
11223
11231
  children: [
11224
11232
  /* @__PURE__ */ t(dn, { sx: { pb: 0 }, title: /* @__PURE__ */ t(mt, { sx: { pb: 4 }, children: n.details_chart_title }) }),
11225
- /* @__PURE__ */ t(Ot, { sx: { p: 0 }, children: /* @__PURE__ */ t(gc, { debts: [i], height: 250 }) })
11233
+ /* @__PURE__ */ t(Lt, { sx: { p: 0 }, children: /* @__PURE__ */ t(gc, { debts: [i], height: 250 }) })
11226
11234
  ]
11227
11235
  }
11228
11236
  ),
@@ -11402,7 +11410,7 @@ const gc = ({
11402
11410
  }
11403
11411
  );
11404
11412
  }), fm = I(({ debt: e }) => {
11405
- const { debts: n } = x(), { updateAccount: i } = Ee(), { onEvent: a } = j(), [o, r] = g.useState(e.interest_rate ?? 0), s = o < 0, c = async () => {
11413
+ const { debts: n } = x(), { updateAccount: i } = Se(), { onEvent: a } = j(), [o, r] = g.useState(e.interest_rate ?? 0), s = o < 0, c = async () => {
11406
11414
  await i({ ...e.account, interest_rate: o }), e.interest_rate = o, a(W.DEBTS_SAVE_RATE_ACTION, { account_guid: e.guid });
11407
11415
  }, d = () => {
11408
11416
  setTimeout(() => {
@@ -11432,7 +11440,7 @@ const gc = ({
11432
11440
  }
11433
11441
  );
11434
11442
  }), bm = I(({ debt: e }) => {
11435
- const { debts: n } = x(), { updateAccount: i } = Ee(), { onEvent: a } = j(), [o, r] = g.useState(e.monthly_payment ?? 0), s = o < 0 || o > 9999999999e-2, c = async () => {
11443
+ const { debts: n } = x(), { updateAccount: i } = Se(), { onEvent: a } = j(), [o, r] = g.useState(e.monthly_payment ?? 0), s = o < 0 || o > 9999999999e-2, c = async () => {
11436
11444
  await i({ ...e.account, minimum_payment: o }), e.monthly_payment = o, a(W.DEBTS_SAVE_PAYMENT_ACTION, { account_guid: e.guid });
11437
11445
  }, d = () => {
11438
11446
  setTimeout(() => {
@@ -11464,7 +11472,7 @@ const gc = ({
11464
11472
  }
11465
11473
  );
11466
11474
  }), ym = I(({ debt: e }) => {
11467
- const { debts: n } = x(), { updateAccount: i } = Ee(), { onEvent: a } = j(), [o, r] = g.useState(e.original_balance ?? 0), s = o < 0 || o > 9999999999e-2, c = async () => {
11475
+ const { debts: n } = x(), { updateAccount: i } = Se(), { onEvent: a } = j(), [o, r] = g.useState(e.original_balance ?? 0), s = o < 0 || o > 9999999999e-2, c = async () => {
11468
11476
  await i({ ...e.account, original_balance: o }), e.original_balance = o, a(W.DEBTS_SAVE_BALANCE_ACTION, { account_guid: e.guid });
11469
11477
  }, d = () => {
11470
11478
  setTimeout(() => {
@@ -12036,7 +12044,7 @@ const $t = (e) => /* @__PURE__ */ t(p, { fontWeight: 600, variant: "Small", chil
12036
12044
  }
12037
12045
  );
12038
12046
  }), Um = ({ onBackClick: e, sx: n }) => {
12039
- 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 } = de(), { setSelectedAccount: S } = Ht(), { selectedDebtPriority: A, setSelectedDebtChartData: w } = un(), { visibleDebtAccounts: v } = Ee(), { goalsLoaded: R, loadGoals: B, monthlyCashFlowProfile: M } = tt(), { debts: D } = ca(), k = g.useMemo(() => {
12047
+ 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 } = de(), { setSelectedAccount: S } = Ht(), { selectedDebtPriority: A, setSelectedDebtChartData: w } = un(), { visibleDebtAccounts: v } = Se(), { goalsLoaded: R, loadGoals: B, monthlyCashFlowProfile: M } = tt(), { debts: D } = ca(), k = g.useMemo(() => {
12040
12048
  const ge = M?.extra_payment ?? 0;
12041
12049
  return Wm(D, A, ge);
12042
12050
  }, [D, A, M]);
@@ -12122,7 +12130,7 @@ const $t = (e) => /* @__PURE__ */ t(p, { fontWeight: 600, variant: "Small", chil
12122
12130
  ]
12123
12131
  }
12124
12132
  );
12125
- }, TE = I(Um), Vm = {
12133
+ }, T4 = I(Um), Vm = {
12126
12134
  unnamed_label: "Unnamed Debt"
12127
12135
  };
12128
12136
  function Km(e, n) {
@@ -12237,27 +12245,27 @@ function jm(e) {
12237
12245
  {
12238
12246
  icon: "ecg_heart",
12239
12247
  label: e.saving_goal_emergency_fund,
12240
- metaType: wt.EMERGENCY_FUND
12248
+ metaType: Nt.EMERGENCY_FUND
12241
12249
  },
12242
12250
  {
12243
12251
  icon: "directions_car",
12244
12252
  label: e.saving_gaol_automobile,
12245
- metaType: wt.AUTOMOBILE
12253
+ metaType: Nt.AUTOMOBILE
12246
12254
  },
12247
- { icon: "school", label: e.saving_goal_college, metaType: wt.COLLEGE },
12248
- { icon: "home", label: e.saving_goal_home, metaType: wt.HOUSE },
12255
+ { icon: "school", label: e.saving_goal_college, metaType: Nt.COLLEGE },
12256
+ { icon: "home", label: e.saving_goal_home, metaType: Nt.HOUSE },
12249
12257
  {
12250
12258
  icon: "mountain_flag",
12251
12259
  label: e.saving_goal_recreational,
12252
- metaType: wt.RECREATIONAL_VEHICLE
12260
+ metaType: Nt.RECREATIONAL_VEHICLE
12253
12261
  },
12254
- { icon: "airplane_ticket", label: e.saving_goal_vacation, metaType: wt.VACATION },
12262
+ { icon: "airplane_ticket", label: e.saving_goal_vacation, metaType: Nt.VACATION },
12255
12263
  {
12256
12264
  icon: "desktop_windows",
12257
12265
  label: e.saving_goal_electronic,
12258
- metaType: wt.ELECTRONIC
12266
+ metaType: Nt.ELECTRONIC
12259
12267
  },
12260
- { icon: "payments", label: e.saving_goal_other, metaType: wt.OTHER }
12268
+ { icon: "payments", label: e.saving_goal_other, metaType: Nt.OTHER }
12261
12269
  ],
12262
12270
  type: V.SAVINGS_TRACK
12263
12271
  },
@@ -12306,11 +12314,11 @@ const Xm = (e, n) => {
12306
12314
  }
12307
12315
  ];
12308
12316
  let f = /* @__PURE__ */ t(_s, {});
12309
- return e.track_type === V.DEBT_TRACK ? f = /* @__PURE__ */ t(us, {}) : e.track_type === V.RETIREMENT_TRACK && (f = /* @__PURE__ */ t(hs, {})), /* @__PURE__ */ t(Rt, { elevation: 2, children: /* @__PURE__ */ l(ys, { disabled: !i, onClick: i, children: [
12317
+ return e.track_type === V.DEBT_TRACK ? f = /* @__PURE__ */ t(us, {}) : e.track_type === V.RETIREMENT_TRACK && (f = /* @__PURE__ */ t(hs, {})), /* @__PURE__ */ t(Ot, { elevation: 2, children: /* @__PURE__ */ l(ys, { disabled: !i, onClick: i, children: [
12310
12318
  /* @__PURE__ */ t(
12311
12319
  dn,
12312
12320
  {
12313
- avatar: /* @__PURE__ */ t(Gt, { sx: { bgcolor: c, color: d, height: 48, width: 48 }, variant: "rounded", children: f }),
12321
+ avatar: /* @__PURE__ */ t(Bt, { sx: { bgcolor: c, color: d, height: 48, width: 48 }, variant: "rounded", children: f }),
12314
12322
  subheader: /* @__PURE__ */ t(p, { variant: n || s ? "H3" : "H2", children: `${P(e.current_amount, s ? "0,0" : "0,0.00")} / ${Zm(
12315
12323
  m,
12316
12324
  s
@@ -12318,7 +12326,7 @@ const Xm = (e, n) => {
12318
12326
  title: /* @__PURE__ */ t(cn, { color: "text.secondary", fontWeight: 400, variant: "Body", children: e.name })
12319
12327
  }
12320
12328
  ),
12321
- /* @__PURE__ */ t(Ot, { sx: { pt: 0 }, children: /* @__PURE__ */ l(b, { gap: 6, children: [
12329
+ /* @__PURE__ */ t(Lt, { sx: { pt: 0 }, children: /* @__PURE__ */ l(b, { gap: 6, children: [
12322
12330
  /* @__PURE__ */ t(Xn, { data: C, height: 24 }),
12323
12331
  /* @__PURE__ */ l(b, { alignItems: "center", direction: "row", justifyContent: "space-between", children: [
12324
12332
  /* @__PURE__ */ t(p, { color: "text.secondary", variant: "XSmall", children: _ }),
@@ -12431,7 +12439,7 @@ const Xm = (e, n) => {
12431
12439
  onPrimaryAction: m,
12432
12440
  title: n.reorder_goals_title,
12433
12441
  children: /* @__PURE__ */ l(b, { children: [
12434
- /* @__PURE__ */ t(xe, { sx: { my: 12, mx: 24 }, children: n.reorder_goals_description }),
12442
+ /* @__PURE__ */ t(Ee, { sx: { my: 12, mx: 24 }, children: n.reorder_goals_description }),
12435
12443
  /* @__PURE__ */ t(
12436
12444
  Hn,
12437
12445
  {
@@ -12462,7 +12470,7 @@ const Xm = (e, n) => {
12462
12470
  const { goals: i } = x();
12463
12471
  return /* @__PURE__ */ t(z, { children: /* @__PURE__ */ l(ue, { children: [
12464
12472
  e.track_type !== V.RETIREMENT_TRACK && /* @__PURE__ */ t(
12465
- ke,
12473
+ Ge,
12466
12474
  {
12467
12475
  sx: {
12468
12476
  alignItems: "center",
@@ -12470,7 +12478,7 @@ const Xm = (e, n) => {
12470
12478
  justifyContent: "center",
12471
12479
  ".MuiAvatar-root": { height: "16px", width: "16px" }
12472
12480
  },
12473
- children: /* @__PURE__ */ t(Gt, { sx: { bgcolor: "text.primary", height: "16px", width: "16px" }, children: /* @__PURE__ */ t(p, { bold: !0, variant: "XSmall", children: n + 1 }) })
12481
+ children: /* @__PURE__ */ t(Bt, { sx: { bgcolor: "text.primary", height: "16px", width: "16px" }, children: /* @__PURE__ */ t(p, { bold: !0, variant: "XSmall", children: n + 1 }) })
12474
12482
  }
12475
12483
  ),
12476
12484
  /* @__PURE__ */ t(ae, { primaryTypographyProps: { variant: "Body" }, children: /* @__PURE__ */ l(b, { alignItems: "center", direction: "row", justifyContent: "space-between", children: [
@@ -12490,7 +12498,7 @@ const Xm = (e, n) => {
12490
12498
  }, ep = ({ goal: e }) => {
12491
12499
  const { goals: n } = x();
12492
12500
  return /* @__PURE__ */ t(z, { children: /* @__PURE__ */ l(ue, { children: [
12493
- /* @__PURE__ */ t(ke, { sx: { alignItems: "center", display: "flex", justifyContent: "center" }, children: /* @__PURE__ */ t(Ka, { color: "success", filled: !0, size: 20 }) }),
12501
+ /* @__PURE__ */ t(Ge, { sx: { alignItems: "center", display: "flex", justifyContent: "center" }, children: /* @__PURE__ */ t(Ka, { color: "success", filled: !0, size: 20 }) }),
12494
12502
  /* @__PURE__ */ t(ae, { primaryTypographyProps: { variant: "Body" }, children: /* @__PURE__ */ l(b, { alignItems: "center", direction: "row", justifyContent: "space-between", children: [
12495
12503
  /* @__PURE__ */ l(b, { children: [
12496
12504
  /* @__PURE__ */ t(p, { bold: !0, variant: "Body", children: e.name }),
@@ -12524,7 +12532,7 @@ const Xm = (e, n) => {
12524
12532
  children: /* @__PURE__ */ l(b, { children: [
12525
12533
  /* @__PURE__ */ l(b, { m: 24, children: [
12526
12534
  /* @__PURE__ */ t(mt, { children: h }),
12527
- /* @__PURE__ */ t(xe, { color: "text.secondary", sx: { textWrap: "wrap" }, variant: "ParagraphSmall", children: m })
12535
+ /* @__PURE__ */ t(Ee, { color: "text.secondary", sx: { textWrap: "wrap" }, variant: "ParagraphSmall", children: m })
12528
12536
  ] }),
12529
12537
  /* @__PURE__ */ t(qm, { trackType: e }),
12530
12538
  /* @__PURE__ */ t(p, { bold: !0, sx: { mb: 4, mx: 24, mt: 12 }, variant: "XSmall", children: n.goal_priority }),
@@ -12585,7 +12593,7 @@ const Xm = (e, n) => {
12585
12593
  py: 18,
12586
12594
  children: [
12587
12595
  /* @__PURE__ */ t(
12588
- xe,
12596
+ Ee,
12589
12597
  {
12590
12598
  sx: (_) => ({
12591
12599
  color: "text.secondary",
@@ -12605,7 +12613,7 @@ const Xm = (e, n) => {
12605
12613
  e !== V.RETIREMENT_TRACK && /* @__PURE__ */ l(b, { gap: 16, mt: 48, children: [
12606
12614
  /* @__PURE__ */ t(p, { color: "text.secondary", variant: "Small", children: a.complete_title }),
12607
12615
  d.length === 0 && /* @__PURE__ */ t(b, { alignItems: "center", bgcolor: "background.default", borderRadius: 2, py: 18, children: /* @__PURE__ */ t(
12608
- xe,
12616
+ Ee,
12609
12617
  {
12610
12618
  sx: (_) => ({
12611
12619
  color: "text.secondary",
@@ -12618,7 +12626,7 @@ const Xm = (e, n) => {
12618
12626
  children: u
12619
12627
  }
12620
12628
  ) }),
12621
- d.map((_) => /* @__PURE__ */ t(Rt, { elevation: 2, children: /* @__PURE__ */ t(ys, { onClick: () => r(_), children: /* @__PURE__ */ t(Ot, { sx: { ":last-child": { pb: 16 } }, children: /* @__PURE__ */ l(b, { alignItems: "center", direction: "row", justifyContent: "space-between", children: [
12629
+ d.map((_) => /* @__PURE__ */ t(Ot, { elevation: 2, children: /* @__PURE__ */ t(ys, { onClick: () => r(_), children: /* @__PURE__ */ t(Lt, { sx: { ":last-child": { pb: 16 } }, children: /* @__PURE__ */ l(b, { alignItems: "center", direction: "row", justifyContent: "space-between", children: [
12622
12630
  /* @__PURE__ */ l(b, { alignItems: "center", direction: "row", gap: 6, children: [
12623
12631
  /* @__PURE__ */ t($, { color: "success", fill: !0, name: "check_circle", size: 20 }),
12624
12632
  /* @__PURE__ */ t(p, { color: "text.secondary", variant: "Body", children: _.name })
@@ -12635,11 +12643,11 @@ const Xm = (e, n) => {
12635
12643
  {
12636
12644
  onClick: h ? () => _(!u) : () => n(
12637
12645
  d === V.RETIREMENT_TRACK ? i.retirement : "",
12638
- d === V.RETIREMENT_TRACK ? wt.RETIREMENT : wt.OTHER,
12646
+ d === V.RETIREMENT_TRACK ? Nt.RETIREMENT : Nt.OTHER,
12639
12647
  d
12640
12648
  ),
12641
12649
  children: [
12642
- /* @__PURE__ */ t(ke, { children: /* @__PURE__ */ t(Gt, { sx: { bgcolor: a }, variant: "rounded", children: /* @__PURE__ */ t(ct, { name: o, sx: { color: "grey.900" } }) }) }),
12650
+ /* @__PURE__ */ t(Ge, { children: /* @__PURE__ */ t(Bt, { sx: { bgcolor: a }, variant: "rounded", children: /* @__PURE__ */ t(ct, { name: o, sx: { color: "grey.900" } }) }) }),
12643
12651
  /* @__PURE__ */ t(ae, { primary: r, secondary: s, sx: { mr: 24 } }),
12644
12652
  !h && /* @__PURE__ */ t(it, {}),
12645
12653
  h && (u ? /* @__PURE__ */ t($l, {}) : /* @__PURE__ */ t(Va, {}))
@@ -12679,12 +12687,12 @@ const Xm = (e, n) => {
12679
12687
  onPrimaryAction: () => a(c),
12680
12688
  title: o,
12681
12689
  children: [
12682
- /* @__PURE__ */ t(xe, { color: "text.secondary", sx: { mx: 24, my: 12 }, children: r.select_debt_accounts_description }),
12690
+ /* @__PURE__ */ t(Ee, { color: "text.secondary", sx: { mx: 24, my: 12 }, children: r.select_debt_accounts_description }),
12683
12691
  /* @__PURE__ */ l(ie, { sx: { bgcolor: "background.white" }, children: [
12684
12692
  /* @__PURE__ */ t(H, { variant: "fullWidth" }),
12685
12693
  e.map((_, h) => /* @__PURE__ */ l(g.Fragment, { children: [
12686
12694
  /* @__PURE__ */ t(z, { children: /* @__PURE__ */ l(ue, { onClick: () => u(_), children: [
12687
- /* @__PURE__ */ t(ke, { children: /* @__PURE__ */ t(
12695
+ /* @__PURE__ */ t(Ge, { children: /* @__PURE__ */ t(
12688
12696
  ut,
12689
12697
  {
12690
12698
  alt: _?.name || "",
@@ -12715,7 +12723,7 @@ const Xm = (e, n) => {
12715
12723
  }
12716
12724
  );
12717
12725
  }, ip = ({ onClose: e }) => {
12718
- const { goals: n } = x(), { addGoal: i, debtGoals: a, setAlert: o, setSelectedGoal: r } = tt(), { visibleDebtAccounts: s } = Ee(), [c, d] = g.useState(!1), u = jm(n), _ = (m, C, f) => {
12726
+ const { goals: n } = x(), { addGoal: i, debtGoals: a, setAlert: o, setSelectedGoal: r } = tt(), { visibleDebtAccounts: s } = Se(), [c, d] = g.useState(!1), u = jm(n), _ = (m, C, f) => {
12719
12727
  f === V.DEBT_TRACK ? d(!0) : r({
12720
12728
  amount: 0,
12721
12729
  current_amount: 0,
@@ -12727,8 +12735,8 @@ const Xm = (e, n) => {
12727
12735
  });
12728
12736
  }, h = async (m) => {
12729
12737
  for (const C of m) {
12730
- let f = wt.CREDIT_CARD;
12731
- C.account_type === se.LOAN ? f = wt.LOANS : C.account_type === se.LINE_OF_CREDIT && (f = wt.LINE_OF_CREDIT), await i({
12738
+ let f = Nt.CREDIT_CARD;
12739
+ C.account_type === se.LOAN ? f = Nt.LOANS : C.account_type === se.LINE_OF_CREDIT && (f = Nt.LINE_OF_CREDIT), await i({
12732
12740
  account_guid: C.guid,
12733
12741
  amount: 0,
12734
12742
  current_amount: 0,
@@ -12762,7 +12770,7 @@ const Xm = (e, n) => {
12762
12770
  /* @__PURE__ */ l(ue, { onClick: () => {
12763
12771
  i(e), o(!0);
12764
12772
  }, children: [
12765
- /* @__PURE__ */ t(ke, { children: /* @__PURE__ */ t(
12773
+ /* @__PURE__ */ t(Ge, { children: /* @__PURE__ */ t(
12766
12774
  ut,
12767
12775
  {
12768
12776
  alt: e.name || "",
@@ -12818,7 +12826,7 @@ const Xm = (e, n) => {
12818
12826
  }
12819
12827
  );
12820
12828
  }), op = ({ goal: e }) => {
12821
- const { visibleCheckingAccounts: n, visibleSavingsAccounts: i } = Ee(), { accounts: a, goals: o } = x(), { setAlert: r, setSelectedGoal: s, updateGoal: c } = tt(), d = !e.guid, [u, _] = g.useState(!1), h = async ({ balance: m, guid: C }) => {
12829
+ const { visibleCheckingAccounts: n, visibleSavingsAccounts: i } = Se(), { accounts: a, goals: o } = x(), { setAlert: r, setSelectedGoal: s, updateGoal: c } = tt(), d = !e.guid, [u, _] = g.useState(!1), h = async ({ balance: m, guid: C }) => {
12822
12830
  const f = { ...e, account_guid: C, current_amount: m || 0 };
12823
12831
  d ? s(f) : (await c(f), r(o.alert_account_changed)), _(!1);
12824
12832
  };
@@ -12844,7 +12852,7 @@ const Xm = (e, n) => {
12844
12852
  /* @__PURE__ */ t(le, { isOpen: u, onClose: () => _(!1), title: o.details_change_account, children: /* @__PURE__ */ l(b, { children: [
12845
12853
  /* @__PURE__ */ t(p, { bold: !0, sx: { mb: 4, ml: 24, mt: 12 }, variant: "XSmall", children: a.account_types[1] }),
12846
12854
  /* @__PURE__ */ t(ie, { sx: { bgcolor: "background.paper" }, children: n.map((m) => /* @__PURE__ */ t(z, { children: /* @__PURE__ */ l(ue, { onClick: () => h(m), children: [
12847
- /* @__PURE__ */ t(ke, { children: /* @__PURE__ */ t(
12855
+ /* @__PURE__ */ t(Ge, { children: /* @__PURE__ */ t(
12848
12856
  ut,
12849
12857
  {
12850
12858
  alt: m?.name || "",
@@ -12862,7 +12870,7 @@ const Xm = (e, n) => {
12862
12870
  ] }) }, m.guid)) }),
12863
12871
  /* @__PURE__ */ t(p, { bold: !0, sx: { mb: 4, ml: 24, mt: 12 }, variant: "XSmall", children: a.account_types[2] }),
12864
12872
  /* @__PURE__ */ t(ie, { sx: { bgcolor: "background.paper" }, children: i.map((m) => /* @__PURE__ */ t(z, { children: /* @__PURE__ */ l(ue, { onClick: () => h(m), children: [
12865
- /* @__PURE__ */ t(ke, { children: /* @__PURE__ */ t(
12873
+ /* @__PURE__ */ t(Ge, { children: /* @__PURE__ */ t(
12866
12874
  ut,
12867
12875
  {
12868
12876
  alt: m?.name || "",
@@ -12954,7 +12962,7 @@ const Xm = (e, n) => {
12954
12962
  }
12955
12963
  );
12956
12964
  }, cp = I(({ goal: e }) => {
12957
- const { goals: n } = x(), { user: i, updateUser: a } = Bt(), { setAlert: o } = tt(), [r, s] = g.useState(Fe(i.birthday ?? 0)), [c, d] = g.useState(null), u = e.is_complete, _ = async () => {
12965
+ const { goals: n } = x(), { user: i, updateUser: a } = Mt(), { setAlert: o } = tt(), [r, s] = g.useState(Fe(i.birthday ?? 0)), [c, d] = g.useState(null), u = e.is_complete, _ = async () => {
12958
12966
  r && Sd(r) && (await a({ ...i, birthday: He(r) }), o(n.alert_goal_updated_birthday));
12959
12967
  };
12960
12968
  return /* @__PURE__ */ t(
@@ -12980,7 +12988,7 @@ const Xm = (e, n) => {
12980
12988
  }
12981
12989
  );
12982
12990
  }), lp = ({ goal: e }) => {
12983
- const { goals: n } = x(), { visibleInvestmentAccounts: i } = Ee(), {
12991
+ const { goals: n } = x(), { visibleInvestmentAccounts: i } = Se(), {
12984
12992
  addRetirementGoalAccount: a,
12985
12993
  newRetirementGoalAccounts: o,
12986
12994
  retirementGoalAccounts: r,
@@ -13031,7 +13039,7 @@ const Xm = (e, n) => {
13031
13039
  )
13032
13040
  ] });
13033
13041
  }, dp = I(({ goal: e }) => {
13034
- const { goals: n } = x(), { visibleAccounts: i } = Ee(), a = g.useMemo(
13042
+ const { goals: n } = x(), { visibleAccounts: i } = Se(), a = g.useMemo(
13035
13043
  () => i.find((s) => s.guid === e.account_guid),
13036
13044
  [i, e]
13037
13045
  ), o = e.track_type;
@@ -13076,7 +13084,7 @@ const Xm = (e, n) => {
13076
13084
  e.track_type === V.SAVINGS_TRACK && !e.is_complete && /* @__PURE__ */ t(op, { goal: e })
13077
13085
  ] });
13078
13086
  }), _p = I(({ onClose: e }) => {
13079
- const { visibleInvestmentAccounts: n } = Ee(), { goals: i, common: a } = x(), {
13087
+ const { visibleInvestmentAccounts: n } = Se(), { goals: i, common: a } = x(), {
13080
13088
  addGoal: o,
13081
13089
  addRetirementGoal: r,
13082
13090
  deleteGoal: s,
@@ -13087,7 +13095,7 @@ const Xm = (e, n) => {
13087
13095
  setAlert: h,
13088
13096
  setSelectedGoal: m,
13089
13097
  updateGoal: C
13090
- } = 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(() => {
13098
+ } = tt(), { user: f } = Mt(), [E, y] = g.useState(!1), S = !_?.guid, A = _?.track_type === V.SAVINGS_TRACK && _.is_complete && !_.has_been_spent, w = g.useMemo(() => {
13091
13099
  const O = S ? d : u;
13092
13100
  return n.filter((U) => O.some((Q) => Q.account_guid === U.guid));
13093
13101
  }, [S, n, d, u]), v = g.useMemo(() => {
@@ -13142,8 +13150,8 @@ const Xm = (e, n) => {
13142
13150
  }
13143
13151
  )
13144
13152
  ] });
13145
- }), AE = I(({ onBackClick: e, sx: n }) => {
13146
- const { onEvent: i } = j(), { isMobile: a } = Ce(), { visibleAccounts: o } = Ee(), { isCopyLoaded: r, isInitialized: s, setSelectedAccounts: c } = de(), { 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(
13153
+ }), A4 = I(({ onBackClick: e, sx: n }) => {
13154
+ const { onEvent: i } = j(), { isMobile: a } = Ce(), { visibleAccounts: o } = Se(), { isCopyLoaded: r, isInitialized: s, setSelectedAccounts: c } = de(), { 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(
13147
13155
  a ? d.tab_subtitle_mobile : d.tab_subtitle,
13148
13156
  P(R, "0,0")
13149
13157
  ) : "", k = r ? T(
@@ -13451,7 +13459,7 @@ const hp = I(({ goal: e }) => {
13451
13459
  } = fc(n, e), c = Math.round(r * 100);
13452
13460
  let d = /* @__PURE__ */ t(_s, {});
13453
13461
  return e.track_type === V.DEBT_TRACK ? d = /* @__PURE__ */ t(us, {}) : e.track_type === V.RETIREMENT_TRACK && (d = /* @__PURE__ */ t(hs, {})), /* @__PURE__ */ l(b, { alignItems: "center", direction: "row", spacing: 12, sx: { py: 12 }, children: [
13454
- /* @__PURE__ */ t(Gt, { sx: { bgcolor: a, color: o, height: 32, width: 32 }, variant: "rounded", children: d }),
13462
+ /* @__PURE__ */ t(Bt, { sx: { bgcolor: a, color: o, height: 32, width: 32 }, variant: "rounded", children: d }),
13455
13463
  /* @__PURE__ */ l(L, { width: "65%", children: [
13456
13464
  /* @__PURE__ */ t(cn, { fontSize: 15, fontWeight: 600, variant: "Body", children: e.name }),
13457
13465
  e.projected_to_complete_at && /* @__PURE__ */ t(p, { color: "text.secondary", variant: "XSmall", children: s })
@@ -13492,8 +13500,8 @@ const hp = I(({ goal: e }) => {
13492
13500
  )
13493
13501
  ]
13494
13502
  }
13495
- ), IE = I(({ onCTAClick: e }) => {
13496
- const { visibleAccounts: n } = Ee(), { onEvent: i } = j(), { goals: a } = x(), { isInitialized: o, setSelectedAccounts: r, isCopyLoaded: s } = de(), { ongoingGoalsForMicroWidget: c, loadGoals: d, goalsLoaded: u } = tt();
13503
+ ), I4 = I(({ onCTAClick: e }) => {
13504
+ const { visibleAccounts: n } = Se(), { onEvent: i } = j(), { goals: a } = x(), { isInitialized: o, setSelectedAccounts: r, isCopyLoaded: s } = de(), { ongoingGoalsForMicroWidget: c, loadGoals: d, goalsLoaded: u } = tt();
13497
13505
  g.useEffect(() => {
13498
13506
  r(n), i(W.GOALS_VIEW);
13499
13507
  }, []), g.useEffect(() => {
@@ -14118,7 +14126,7 @@ const Lp = /^[ a-zA-ZÀ-ÿ0-9]+$/, Mp = 50, Or = 65, kp = ({
14118
14126
  width: "100%",
14119
14127
  children: [
14120
14128
  /* @__PURE__ */ t(z, { disableGutters: !0, disablePadding: !0, children: /* @__PURE__ */ l(ue, { onClick: () => u(f.guid), children: [
14121
- /* @__PURE__ */ t(ke, { children: /* @__PURE__ */ t(rn, { categoryGuid: "", merchantGuid: f.guid }) }),
14129
+ /* @__PURE__ */ t(Ge, { children: /* @__PURE__ */ t(rn, { categoryGuid: "", merchantGuid: f.guid }) }),
14122
14130
  /* @__PURE__ */ t(ae, { primary: f.name })
14123
14131
  ] }) }),
14124
14132
  /* @__PURE__ */ t(H, { sx: { ml: 24 } })
@@ -14131,7 +14139,7 @@ const Lp = /^[ a-zA-ZÀ-ÿ0-9]+$/, Mp = 50, Or = 65, kp = ({
14131
14139
  !a.length && /* @__PURE__ */ t(b, { alignItems: "center", my: 24, children: /* @__PURE__ */ t(p, { bold: !0, color: "secondary", variant: "Small", children: r.search_zero_state }) })
14132
14140
  ] }) }) })
14133
14141
  ] }) : /* @__PURE__ */ t(_e, {});
14134
- }, xE = I(kp);
14142
+ }, x4 = I(kp);
14135
14143
  class Lr {
14136
14144
  fetchInstance;
14137
14145
  constructor(n, i) {
@@ -14261,7 +14269,7 @@ const Bp = ({
14261
14269
  };
14262
14270
  return /* @__PURE__ */ l(b, { direction: "column", sx: { width: 320 }, children: [
14263
14271
  /* @__PURE__ */ l(ie, { children: [
14264
- /* @__PURE__ */ t(Mt, { sx: { backgroundColor: "transparent", mb: 8, mt: 12, px: 12 }, children: /* @__PURE__ */ t(p, { bold: !0, component: "h2", variant: "Body", children: c.monthly_totals }) }),
14272
+ /* @__PURE__ */ t(kt, { sx: { backgroundColor: "transparent", mb: 8, mt: 12, px: 12 }, children: /* @__PURE__ */ t(p, { bold: !0, component: "h2", variant: "Body", children: c.monthly_totals }) }),
14265
14273
  /* @__PURE__ */ t(H, {}),
14266
14274
  e.map((_, h) => /* @__PURE__ */ t(
14267
14275
  Fp,
@@ -14471,10 +14479,10 @@ const e1 = ({ amount: e, copy: n, trendValue: i }) => {
14471
14479
  /* @__PURE__ */ t(ct, { name: "elevation", size: 32, sx: { color: "text.primary" } }),
14472
14480
  /* @__PURE__ */ l(b, { children: [
14473
14481
  /* @__PURE__ */ t(p, { sx: { display: "block", fontWeight: 600 }, variant: "body1", children: e.empty_widget_header }),
14474
- /* @__PURE__ */ t(xe, { sx: { color: "text.secondary" }, variant: "body2", children: e.zero_state_description })
14482
+ /* @__PURE__ */ t(Ee, { sx: { color: "text.secondary" }, variant: "body2", children: e.zero_state_description })
14475
14483
  ] })
14476
- ] }), vE = I(({ onCTAClick: e }) => {
14477
- const [n, i] = g.useState(!1), { visibleAccounts: a } = Ee(), { onEvent: o } = j(), { net_worth: r, common: s } = x(), { isInitialized: c, selectedAccounts: d, setSelectedAccounts: u } = de(), { loadChartData: _, loadNetWorthData: h, netWorthData: m, selectedData: C } = ks(), f = async () => {
14484
+ ] }), v4 = I(({ onCTAClick: e }) => {
14485
+ const [n, i] = g.useState(!1), { visibleAccounts: a } = Se(), { onEvent: o } = j(), { net_worth: r, common: s } = x(), { isInitialized: c, selectedAccounts: d, setSelectedAccounts: u } = de(), { loadChartData: _, loadNetWorthData: h, netWorthData: m, selectedData: C } = ks(), f = async () => {
14478
14486
  await h(d), await _(1), i(!0);
14479
14487
  };
14480
14488
  if (g.useEffect(() => u(a), [a]), g.useEffect(() => {
@@ -14507,7 +14515,7 @@ const e1 = ({ amount: e, copy: n, trendValue: i }) => {
14507
14515
  title: i
14508
14516
  }) => {
14509
14517
  let a;
14510
- const { refreshAccounts: o } = Ee(), { loadWidget: r } = Ms(), { connect: s } = x(), c = at(), [d, u] = g.useState(!1), [_, h] = g.useState(!1);
14518
+ const { refreshAccounts: o } = Se(), { loadWidget: r } = Ms(), { connect: s } = x(), c = at(), [d, u] = g.useState(!1), [_, h] = g.useState(!1);
14511
14519
  return g.useEffect(() => (n ? (u(!0), r({ widget: "connections_widget", mode: c.palette.mode }).then((m) => {
14512
14520
  a = new Yl({
14513
14521
  container: `#${or}`,
@@ -14605,7 +14613,7 @@ const e1 = ({ amount: e, copy: n, trendValue: i }) => {
14605
14613
  }
14606
14614
  ),
14607
14615
  /* @__PURE__ */ l(ie, { children: [
14608
- /* @__PURE__ */ t(Mt, { sx: { mb: 8, mt: 12, mx: 8 }, children: /* @__PURE__ */ t(
14616
+ /* @__PURE__ */ t(kt, { sx: { mb: 8, mt: 12, mx: 8 }, children: /* @__PURE__ */ t(
14609
14617
  ae,
14610
14618
  {
14611
14619
  primary: /* @__PURE__ */ l(b, { direction: "row", justifyContent: "space-between", children: [
@@ -14615,7 +14623,7 @@ const e1 = ({ amount: e, copy: n, trendValue: i }) => {
14615
14623
  }
14616
14624
  ) }),
14617
14625
  /* @__PURE__ */ t(Gr, { groupedAccounts: kr(n) }),
14618
- /* @__PURE__ */ t(Mt, { sx: { mb: 8, mt: 12, mx: 8 }, children: /* @__PURE__ */ t(
14626
+ /* @__PURE__ */ t(kt, { sx: { mb: 8, mt: 12, mx: 8 }, children: /* @__PURE__ */ t(
14619
14627
  ae,
14620
14628
  {
14621
14629
  primary: /* @__PURE__ */ l(b, { direction: "row", justifyContent: "space-between", children: [
@@ -14642,7 +14650,7 @@ const e1 = ({ amount: e, copy: n, trendValue: i }) => {
14642
14650
  e && /* @__PURE__ */ t(wo, { currencyVariant: "H1", iconSize: 32, netWorth: e, theme: s })
14643
14651
  ] }),
14644
14652
  /* @__PURE__ */ l(ie, { children: [
14645
- /* @__PURE__ */ t(Mt, { sx: { mb: 8, mt: 12, mx: 8 }, children: /* @__PURE__ */ t(
14653
+ /* @__PURE__ */ t(kt, { sx: { mb: 8, mt: 12, mx: 8 }, children: /* @__PURE__ */ t(
14646
14654
  ae,
14647
14655
  {
14648
14656
  primary: /* @__PURE__ */ l(b, { direction: "row", justifyContent: "space-between", children: [
@@ -14671,7 +14679,7 @@ const e1 = ({ amount: e, copy: n, trendValue: i }) => {
14671
14679
  ) }),
14672
14680
  /* @__PURE__ */ t(H, {})
14673
14681
  ] }, c.accountName)),
14674
- /* @__PURE__ */ t(Mt, { sx: { mb: 8, mt: 12, mx: 8 }, children: /* @__PURE__ */ t(
14682
+ /* @__PURE__ */ t(kt, { sx: { mb: 8, mt: 12, mx: 8 }, children: /* @__PURE__ */ t(
14675
14683
  ae,
14676
14684
  {
14677
14685
  primary: /* @__PURE__ */ l(b, { direction: "row", justifyContent: "space-between", children: [
@@ -14702,8 +14710,8 @@ const e1 = ({ amount: e, copy: n, trendValue: i }) => {
14702
14710
  ] }))
14703
14711
  ] })
14704
14712
  ] });
14705
- }, s1 = I(r1), wE = I(({ onBackClick: e }) => {
14706
- const { isCopyLoaded: n, isInitialized: i, selectedAccounts: a, setSelectedAccounts: o } = de(), { accounts: r, net_worth: s } = x(), { visibleAccounts: c } = Ee(), {
14713
+ }, s1 = I(r1), w4 = I(({ onBackClick: e }) => {
14714
+ const { isCopyLoaded: n, isInitialized: i, selectedAccounts: a, setSelectedAccounts: o } = de(), { accounts: r, net_worth: s } = x(), { visibleAccounts: c } = Se(), {
14707
14715
  assetsLiabilities: d,
14708
14716
  gainsLosses: u,
14709
14717
  hoveredData: _,
@@ -14733,7 +14741,7 @@ const e1 = ({ amount: e, copy: n, trendValue: i }) => {
14733
14741
  E(null);
14734
14742
  }, Re = () => {
14735
14743
  A(W.NET_WORTH_WIDGET_CLICK_ASSETS_LIABILITIES), O(!0);
14736
- }, Se = async (ee) => {
14744
+ }, Te = async (ee) => {
14737
14745
  const ne = ee[0], Ue = ee[1];
14738
14746
  ne && Ue && B(id(Ue, ne));
14739
14747
  }, Oe = {
@@ -14744,7 +14752,7 @@ const e1 = ({ amount: e, copy: n, trendValue: i }) => {
14744
14752
  onMouseEnter: ge,
14745
14753
  onMouseLeave: De,
14746
14754
  selectedData: f
14747
- }, It = () => {
14755
+ }, xt = () => {
14748
14756
  Q(!0), A(W.ACCOUNTS_CLICK_CONNECT);
14749
14757
  };
14750
14758
  return n ? /* @__PURE__ */ t(
@@ -14752,7 +14760,7 @@ const e1 = ({ amount: e, copy: n, trendValue: i }) => {
14752
14760
  {
14753
14761
  accountOptions: c,
14754
14762
  calendarActions: {
14755
- onRangeChanged: Se
14763
+ onRangeChanged: Te
14756
14764
  },
14757
14765
  dateRangeVariant: S ? "timeframetabs" : "timeframebuttons",
14758
14766
  onAccountsFilterClick: () => A(W.NET_WORTH_WIDGET_CLICK_FILTER),
@@ -14792,7 +14800,7 @@ const e1 = ({ amount: e, copy: n, trendValue: i }) => {
14792
14800
  {
14793
14801
  header: s.empty_widget_header,
14794
14802
  icon: "elevation",
14795
- onClick: It,
14803
+ onClick: xt,
14796
14804
  primaryButton: s.empty_widget_button,
14797
14805
  subText: s.empty_widget_description,
14798
14806
  sx: {
@@ -14838,7 +14846,7 @@ const e1 = ({ amount: e, copy: n, trendValue: i }) => {
14838
14846
  ] }) : /* @__PURE__ */ t(_e, {})
14839
14847
  }
14840
14848
  ) : /* @__PURE__ */ t(_e, {});
14841
- }), NE = (e) => {
14849
+ }), N4 = (e) => {
14842
14850
  switch (e) {
14843
14851
  case qn.BudgetExceeded:
14844
14852
  case qn.BudgetOffTarget:
@@ -14897,7 +14905,7 @@ const d1 = (e, n) => {
14897
14905
  const i = mi(n[e].delivered_at), a = mi(n[e - 1]?.delivered_at);
14898
14906
  return !ad(i, a);
14899
14907
  }, _1 = ({ date: e }) => /* @__PURE__ */ t(L, { sx: { display: "flex", justifyContent: "center", mt: 12, py: 8 }, children: /* @__PURE__ */ t(p, { bold: !0, variant: "Small", children: sa(e) }) }), u1 = ({ notification: e }) => {
14900
- const { accounts: n } = Ee(), { budgets: i } = lt(), { accounts: a } = x(), o = n.find((d) => d.guid === e.entity_guid), r = i.find((d) => d.guid === e.entity_guid), s = e.entity_guid.includes("GOL"), c = {
14908
+ const { accounts: n } = Se(), { budgets: i } = lt(), { accounts: a } = x(), o = n.find((d) => d.guid === e.entity_guid), r = i.find((d) => d.guid === e.entity_guid), s = e.entity_guid.includes("GOL"), c = {
14901
14909
  badge: {
14902
14910
  display: "flex",
14903
14911
  alignItems: "center",
@@ -14913,7 +14921,7 @@ const d1 = (e, n) => {
14913
14921
  institutionGuid: o?.institution_guid ?? "",
14914
14922
  size: 33
14915
14923
  }
14916
- ) }) : /* @__PURE__ */ t("div", { style: c.badge, children: /* @__PURE__ */ t(kt, { categoryGuid: r?.category_guid, size: 36 }) });
14924
+ ) }) : /* @__PURE__ */ t("div", { style: c.badge, children: /* @__PURE__ */ t(Gt, { categoryGuid: r?.category_guid, size: 36 }) });
14917
14925
  }, h1 = I(u1), g1 = ({ notification: e, onClick: n }) => {
14918
14926
  const { updateNotification: i } = Gs(), a = ln(), o = {
14919
14927
  card: {
@@ -15042,32 +15050,32 @@ const Hr = "PARENT-ENTITY", f1 = (e, n) => ({
15042
15050
  [Ve.TransactionExpenseLarge]: n.large_transaction,
15043
15051
  [Ve.PromotionalCampaignMessages]: n.promotional_campaign_messages,
15044
15052
  [Ve.TransparentOverdraft]: n.transparent_overdraft
15045
- })[e] || "", b1 = (e, n, i, a, o) => {
15046
- const r = [], {
15047
- email_notifications_enabled: s,
15048
- sms_notifications_enabled: c,
15049
- push_notifications_enabled: d
15053
+ })[e] || "", b1 = (e, n, i, a, o, r) => {
15054
+ const s = [], {
15055
+ email_notifications_enabled: c,
15056
+ sms_notifications_enabled: d,
15057
+ push_notifications_enabled: u
15050
15058
  } = n, {
15051
- opted_out_of_email_notifications: u,
15052
- opted_out_of_sms_notifications: _,
15053
- opted_out_of_push_notifications: h
15059
+ opted_out_of_email_notifications: _,
15060
+ opted_out_of_sms_notifications: h,
15061
+ opted_out_of_push_notifications: m
15054
15062
  } = o;
15055
- for (const m of a.filter((C) => C.entity_guid === Hr)) {
15056
- const C = f1(m.notification_type, i), f = a.filter(
15057
- (y) => y.entity_guid !== Hr && y.notification_type === m.notification_type && e.some((S) => S.guid === y.entity_guid)
15058
- ), E = [];
15059
- 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({
15060
- ...m,
15061
- children: f.map((y) => ({
15062
- ...y,
15063
- account: e.find((S) => S.guid === y.entity_guid),
15064
- label: C
15063
+ for (const C of a.filter((f) => f.entity_guid === Hr)) {
15064
+ const f = f1(C.notification_type, i), E = a.filter(
15065
+ (S) => S.entity_guid !== Hr && S.notification_type === C.notification_type && e.some((A) => A.guid === S.entity_guid)
15066
+ ), y = [];
15067
+ c && !_ && C.email_channel && r.email && y.push(i.delivery_method_email_label), d && !h && C.sms_channel && r.phone && y.push(i.delivery_method_sms_label), u && !m && C.push_channel && y.push(i.delivery_method_push_label), s.push({
15068
+ ...C,
15069
+ children: E.map((S) => ({
15070
+ ...S,
15071
+ account: e.find((A) => A.guid === S.entity_guid),
15072
+ label: f
15065
15073
  })),
15066
- deliveryMethodsLabel: E.join(", "),
15067
- label: C
15074
+ deliveryMethodsLabel: y.join(", "),
15075
+ label: f
15068
15076
  });
15069
15077
  }
15070
- return r;
15078
+ return s;
15071
15079
  };
15072
15080
  class y1 {
15073
15081
  globalStore;
@@ -15108,7 +15116,8 @@ class y1 {
15108
15116
  this.clientCommunicationProfile,
15109
15117
  this.copy,
15110
15118
  this.notificationProfiles,
15111
- this.userCommunicationsProfile
15119
+ this.userCommunicationsProfile,
15120
+ this.globalStore.userStore.user
15112
15121
  ) : [];
15113
15122
  }
15114
15123
  get userCommunicationsProfile() {
@@ -15246,7 +15255,7 @@ class y1 {
15246
15255
  };
15247
15256
  }
15248
15257
  const E1 = I(() => {
15249
- const { common: e, settings: n } = x(), { sendEmailVerification: i } = pt(), { user: a } = Bt(), o = pe(), [r, s] = g.useState(!1), c = () => {
15258
+ const { common: e, settings: n } = x(), { sendEmailVerification: i } = pt(), { user: a } = Mt(), o = pe(), [r, s] = g.useState(!1), c = () => {
15250
15259
  s(!1);
15251
15260
  }, d = () => {
15252
15261
  s(!0);
@@ -15320,7 +15329,7 @@ const E1 = I(() => {
15320
15329
  );
15321
15330
  }
15322
15331
  ), T1 = I(() => {
15323
- const { common: e, settings: n } = x(), { sendPhoneVerification: i, verifyPhoneToken: a } = pt(), { user: o } = Bt(), r = pe(), [s, c] = g.useState(!1), [d, u] = g.useState(!1), _ = () => {
15332
+ const { common: e, settings: n } = x(), { sendPhoneVerification: i, verifyPhoneToken: a } = pt(), { user: o } = Mt(), r = pe(), [s, c] = g.useState(!1), [d, u] = g.useState(!1), _ = () => {
15324
15333
  c(!1);
15325
15334
  }, h = () => {
15326
15335
  c(!0);
@@ -15385,7 +15394,7 @@ const E1 = I(() => {
15385
15394
  )
15386
15395
  ] });
15387
15396
  }), A1 = ({ availableWidth: e, handleOnLeavClick: n }) => {
15388
- const i = at(), { common: a, settings: o } = x(), { isDesktop: r, isMobile: s, isSmallMobile: c, isTablet: d } = Ce(e), { config: u } = Fn(), { updateUser: _ } = pt(), { user: h } = Bt(), [m, C] = g.useState({
15397
+ const i = at(), { common: a, settings: o } = x(), { isDesktop: r, isMobile: s, isSmallMobile: c, isTablet: d } = Ce(e), { config: u } = Fn(), { updateUser: _ } = pt(), { user: h } = Mt(), [m, C] = g.useState({
15389
15398
  first_name: h.first_name,
15390
15399
  last_name: h.last_name,
15391
15400
  email: h.email,
@@ -15438,7 +15447,7 @@ const E1 = I(() => {
15438
15447
  },
15439
15448
  children: [
15440
15449
  /* @__PURE__ */ t(mt, { children: o.personal_details }),
15441
- /* @__PURE__ */ t(xe, { variant: "Body", children: o.update_information }),
15450
+ /* @__PURE__ */ t(Ee, { variant: "Body", children: o.update_information }),
15442
15451
  /* @__PURE__ */ l(
15443
15452
  b,
15444
15453
  {
@@ -15892,7 +15901,7 @@ const x1 = ({
15892
15901
  /* @__PURE__ */ t(p, { truncate: !1, variant: "Small", children: c.mobile_devices_access_info_2 })
15893
15902
  ] }),
15894
15903
  e === st.Edit && /* @__PURE__ */ t(b, { children: /* @__PURE__ */ t(nt, { onChange: (A) => C(A.target.value), value: m }) }),
15895
- e === st.Delete && /* @__PURE__ */ t(xe, { children: c.mobile_devices_delete_info })
15904
+ e === st.Delete && /* @__PURE__ */ t(Ee, { children: c.mobile_devices_delete_info })
15896
15905
  ]
15897
15906
  }
15898
15907
  );
@@ -15922,7 +15931,7 @@ const x1 = ({
15922
15931
  children: [
15923
15932
  /* @__PURE__ */ l(b, { gap: 4, children: [
15924
15933
  /* @__PURE__ */ t(mt, { children: n.mobile_devices_title }),
15925
- /* @__PURE__ */ t(xe, { variant: "Body", children: n.mobile_devices_info })
15934
+ /* @__PURE__ */ t(Ee, { variant: "Body", children: n.mobile_devices_info })
15926
15935
  ] }),
15927
15936
  e ? /* @__PURE__ */ t(
15928
15937
  v1,
@@ -15941,7 +15950,7 @@ const x1 = ({
15941
15950
  ),
15942
15951
  /* @__PURE__ */ l(b, { sx: { alignItems: "center", px: 24, py: 12, gap: 4 }, children: [
15943
15952
  /* @__PURE__ */ t(p, { bold: !0, variant: "Body", children: n.mobile_devices_access_title }),
15944
- /* @__PURE__ */ t(xe, { align: "center", variant: "Small", children: n.mobile_devices_access_description }),
15953
+ /* @__PURE__ */ t(Ee, { align: "center", variant: "Small", children: n.mobile_devices_access_description }),
15945
15954
  /* @__PURE__ */ t(te, { onClick: f, variant: "text", children: n.mobile_devices_access_cta })
15946
15955
  ] }),
15947
15956
  /* @__PURE__ */ t(
@@ -16076,7 +16085,7 @@ const x1 = ({
16076
16085
  },
16077
16086
  title: o.edit_rule,
16078
16087
  children: [
16079
- /* @__PURE__ */ t(Mt, { children: /* @__PURE__ */ t(p, { bold: !0, variant: "XSmall", children: o.details }) }),
16088
+ /* @__PURE__ */ t(kt, { children: /* @__PURE__ */ t(p, { bold: !0, variant: "XSmall", children: o.details }) }),
16080
16089
  /* @__PURE__ */ t(O1, {}),
16081
16090
  /* @__PURE__ */ t(H, { sx: { ml: 24 } }),
16082
16091
  /* @__PURE__ */ t(R1, {}),
@@ -16121,13 +16130,13 @@ const x1 = ({
16121
16130
  }, []), /* @__PURE__ */ l(b, { spacing: 24, sx: { pb: 48, pt: 24 }, children: [
16122
16131
  /* @__PURE__ */ l(b, { sx: { px: o || a ? 0 : 24 }, children: [
16123
16132
  /* @__PURE__ */ t(mt, { children: e.transaction_rules_label }),
16124
- /* @__PURE__ */ t(xe, { variant: "Body", children: e.transaction_rules_description })
16133
+ /* @__PURE__ */ t(Ee, { variant: "Body", children: e.transaction_rules_description })
16125
16134
  ] }),
16126
16135
  /* @__PURE__ */ t(ie, { children: i.map((r, s) => /* @__PURE__ */ t(k1, { rule: r }, s)) })
16127
16136
  ] });
16128
16137
  }), G1 = I(
16129
16138
  ({ onProfileUpdated: e, profile: n }) => {
16130
- 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(
16139
+ const { common: i, recurring: a, settings: o } = x(), { updateAccount: r } = Se(), s = n.notification_type === Ct.DebtPaymentReminder, [c, d] = g.useState(!1), [u, _] = g.useState(n.threshold || 0), [h, m] = g.useState(
16131
16140
  n.account?.day_payment_is_due || 0
16132
16141
  ), C = n.account?.name || n.account?.feed_name || "", f = n.account?.day_payment_is_due ? T(
16133
16142
  o.notification_debt_payment_date,
@@ -16207,7 +16216,7 @@ const x1 = ({
16207
16216
  }
16208
16217
  ), B1 = I(
16209
16218
  ({ onUpdateProfile: e, profile: n }) => {
16210
- const { settings: i } = x(), { user: a } = Bt(), { clientCommunicationProfile: o, userCommunicationsProfile: r } = pt(), { isMobile: s } = Ce(), c = n.notification_type > 2, {
16219
+ const { settings: i } = x(), { user: a } = Mt(), { clientCommunicationProfile: o, userCommunicationsProfile: r } = pt(), { isMobile: s } = Ce(), c = n.notification_type > 2, {
16211
16220
  opted_out_of_email_notifications: d,
16212
16221
  opted_out_of_push_notifications: u,
16213
16222
  opted_out_of_sms_notifications: _
@@ -16223,8 +16232,8 @@ const x1 = ({
16223
16232
  h && /* @__PURE__ */ t(b, { sx: { pl: 24 }, children: /* @__PURE__ */ t(
16224
16233
  bn,
16225
16234
  {
16226
- isChecked: !d && n.email_channel,
16227
- isDisabled: d,
16235
+ isChecked: !d && n.email_channel && !!a.email,
16236
+ isDisabled: d || !a.email,
16228
16237
  onToggle: () => e({ ...n, email_channel: !n.email_channel }),
16229
16238
  primaryText: i.delivery_method_email_label,
16230
16239
  secondaryText: a.email || "",
@@ -16235,8 +16244,8 @@ const x1 = ({
16235
16244
  C && /* @__PURE__ */ t(b, { sx: { pl: 24 }, children: /* @__PURE__ */ t(
16236
16245
  bn,
16237
16246
  {
16238
- isChecked: !_ && n.sms_channel,
16239
- isDisabled: _,
16247
+ isChecked: !_ && n.sms_channel && !!a.phone,
16248
+ isDisabled: _ || !a.phone,
16240
16249
  onToggle: () => e({ ...n, sms_channel: !n.sms_channel }),
16241
16250
  primaryText: `${i.delivery_method_sms_label}`,
16242
16251
  secondaryText: a.phone || "",
@@ -16326,40 +16335,40 @@ const x1 = ({
16326
16335
  opted_out_of_push_notifications: c,
16327
16336
  opted_out_of_sms_notifications: d
16328
16337
  }
16329
- } = pt(), [u, _] = g.useState(!1), h = async () => {
16330
- await m({ ...e, is_enabled: !e.is_enabled }), e.is_enabled && _(!1);
16331
- }, m = async (f) => {
16332
- await r(f);
16333
- }, C = i || o || a;
16338
+ } = pt(), { user: u } = Mt(), [_, h] = g.useState(!1), m = async () => {
16339
+ await C({ ...e, is_enabled: !e.is_enabled }), e.is_enabled && h(!1);
16340
+ }, C = async (E) => {
16341
+ await r(E);
16342
+ }, f = i || o || a;
16334
16343
  return /* @__PURE__ */ l(ie, { sx: { bgcolor: "background.paper" }, children: [
16335
16344
  /* @__PURE__ */ t(
16336
16345
  _o,
16337
16346
  {
16338
- endIcon: C ? /* @__PURE__ */ t(
16347
+ endIcon: f ? /* @__PURE__ */ t(
16339
16348
  Va,
16340
16349
  {
16341
16350
  sx: {
16342
16351
  transition: "transform 0.3s ease-in-out",
16343
- transform: u ? "rotate(180deg)" : "rotate(0deg)"
16352
+ transform: _ ? "rotate(180deg)" : "rotate(0deg)"
16344
16353
  }
16345
16354
  }
16346
16355
  ) : void 0,
16347
16356
  isChecked: e.is_enabled,
16348
16357
  isDisabled: !e.is_enabled,
16349
- onClick: () => _(!u),
16350
- onToggle: () => h(),
16358
+ onClick: () => h(!_),
16359
+ onToggle: () => m(),
16351
16360
  primaryText: e.label,
16352
16361
  secondaryText: e.is_enabled ? e.deliveryMethodsLabel : void 0
16353
16362
  },
16354
16363
  e.guid
16355
16364
  ),
16356
- C && /* @__PURE__ */ t(ei, { in: u, children: /* @__PURE__ */ l(ie, { sx: { bgcolor: "background.default" }, children: [
16365
+ f && /* @__PURE__ */ t(ei, { in: _, children: /* @__PURE__ */ l(ie, { sx: { bgcolor: "background.default" }, children: [
16357
16366
  i && /* @__PURE__ */ t(
16358
16367
  bn,
16359
16368
  {
16360
- isChecked: !s && e.email_channel,
16361
- isDisabled: s,
16362
- onToggle: () => m({
16369
+ isChecked: !s && e.email_channel && !!u.email,
16370
+ isDisabled: s || !u.email,
16371
+ onToggle: () => C({
16363
16372
  ...e,
16364
16373
  email_channel: !e.email_channel
16365
16374
  }),
@@ -16370,9 +16379,9 @@ const x1 = ({
16370
16379
  o && /* @__PURE__ */ t(
16371
16380
  bn,
16372
16381
  {
16373
- isChecked: !d && e.sms_channel,
16374
- isDisabled: d,
16375
- onToggle: () => m({
16382
+ isChecked: !d && e.sms_channel && !!u.phone,
16383
+ isDisabled: d || !u.phone,
16384
+ onToggle: () => C({
16376
16385
  ...e,
16377
16386
  sms_channel: !e.sms_channel
16378
16387
  }),
@@ -16385,7 +16394,7 @@ const x1 = ({
16385
16394
  {
16386
16395
  isChecked: !c && e.push_channel,
16387
16396
  isDisabled: c,
16388
- onToggle: () => m({
16397
+ onToggle: () => C({
16389
16398
  ...e,
16390
16399
  push_channel: !e.push_channel
16391
16400
  }),
@@ -16399,7 +16408,7 @@ const x1 = ({
16399
16408
  const { budgetProfiles: e } = pt();
16400
16409
  return /* @__PURE__ */ t(b, { children: e.map((n) => /* @__PURE__ */ t(Rc, { profile: n }, n.guid)) });
16401
16410
  }), H1 = I(() => {
16402
- const { onEvent: e } = j(), { settings: n } = x(), { clientCommunicationProfile: i, updateUserCommunicationProfile: a, userCommunicationsProfile: o } = pt(), { user: r } = Bt(), s = async (c, d) => {
16411
+ const { onEvent: e } = j(), { settings: n } = x(), { clientCommunicationProfile: i, updateUserCommunicationProfile: a, userCommunicationsProfile: o } = pt(), { user: r } = Mt(), s = async (c, d) => {
16403
16412
  const u = {
16404
16413
  ...o,
16405
16414
  [c]: d
@@ -16457,7 +16466,7 @@ const x1 = ({
16457
16466
  useExtraPadding: !1
16458
16467
  }
16459
16468
  ),
16460
- i.sms_notifications_enabled && /* @__PURE__ */ t(Rt, { sx: { backgroundColor: "background.default", mt: 12 }, children: /* @__PURE__ */ t(Ot, { children: /* @__PURE__ */ l(b, { alignItems: "flex-start", direction: "row", gap: 6, children: [
16469
+ i.sms_notifications_enabled && /* @__PURE__ */ t(Ot, { sx: { backgroundColor: "background.default", mt: 12 }, children: /* @__PURE__ */ t(Lt, { children: /* @__PURE__ */ l(b, { alignItems: "flex-start", direction: "row", gap: 6, children: [
16461
16470
  /* @__PURE__ */ t(Vl, { color: "primary", filled: !0 }),
16462
16471
  /* @__PURE__ */ t(p, { sx: { whiteSpace: "wrap" }, variant: "XSmall", children: n.delivery_method_sms_note_1 })
16463
16472
  ] }) }) })
@@ -16466,7 +16475,7 @@ const x1 = ({
16466
16475
  const { insightsProfiles: e } = pt();
16467
16476
  return /* @__PURE__ */ t(b, { children: e.map((n) => /* @__PURE__ */ t(Rc, { profile: n }, n.guid)) });
16468
16477
  }), qi = I(
16469
- ({ notificationTypes: e = [xt.Accounts, xt.Budgets], view: n }) => {
16478
+ ({ notificationTypes: e = [vt.Accounts, vt.Budgets], view: n }) => {
16470
16479
  const { settings: i } = x(), { isInitialized: a } = de(), { clientCommunicationProfile: o, loadNotificationProfiles: r } = pt(), { isMobile: s } = Ce(), [c, d] = g.useState(
16471
16480
  void 0
16472
16481
  );
@@ -16475,7 +16484,7 @@ const x1 = ({
16475
16484
  }, [a]), !a)
16476
16485
  return /* @__PURE__ */ t(_e, {});
16477
16486
  let u = i.manage_account_notifications;
16478
- c === xt.Budgets ? u = i.manage_budget_notifications : c === xt.Insights && (u = i.manage_insights_notifications);
16487
+ c === vt.Budgets ? u = i.manage_budget_notifications : c === vt.Insights && (u = i.manage_insights_notifications);
16479
16488
  const {
16480
16489
  email_notifications_enabled: _,
16481
16490
  sms_notifications_enabled: h,
@@ -16490,15 +16499,15 @@ const x1 = ({
16490
16499
  /* @__PURE__ */ t(mt, { sx: { mb: 4 }, children: "Notification Types" })
16491
16500
  ] }),
16492
16501
  /* @__PURE__ */ l(ie, { children: [
16493
- e.includes(xt.Accounts) && /* @__PURE__ */ t(z, { children: /* @__PURE__ */ l(ue, { onClick: () => d(xt.Accounts), children: [
16502
+ e.includes(vt.Accounts) && /* @__PURE__ */ t(z, { children: /* @__PURE__ */ l(ue, { onClick: () => d(vt.Accounts), children: [
16494
16503
  /* @__PURE__ */ t(ae, { primary: i.accounts_title, secondary: i.accounts_subtitle }),
16495
16504
  /* @__PURE__ */ t(it, {})
16496
16505
  ] }) }),
16497
- e.includes(xt.Budgets) && /* @__PURE__ */ t(z, { children: /* @__PURE__ */ l(ue, { onClick: () => d(xt.Budgets), children: [
16506
+ e.includes(vt.Budgets) && /* @__PURE__ */ t(z, { children: /* @__PURE__ */ l(ue, { onClick: () => d(vt.Budgets), children: [
16498
16507
  /* @__PURE__ */ t(ae, { primary: i.budgets_title, secondary: i.budgets_subtitle }),
16499
16508
  /* @__PURE__ */ t(it, {})
16500
16509
  ] }) }),
16501
- e.includes(xt.Insights) && /* @__PURE__ */ t(z, { children: /* @__PURE__ */ l(ue, { onClick: () => d(xt.Insights), children: [
16510
+ e.includes(vt.Insights) && /* @__PURE__ */ t(z, { children: /* @__PURE__ */ l(ue, { onClick: () => d(vt.Insights), children: [
16502
16511
  /* @__PURE__ */ t(ae, { primary: i.insights_title, secondary: i.insights_subtitle }),
16503
16512
  /* @__PURE__ */ t(it, {})
16504
16513
  ] }) })
@@ -16510,9 +16519,9 @@ const x1 = ({
16510
16519
  onClose: () => d(void 0),
16511
16520
  title: u,
16512
16521
  children: /* @__PURE__ */ l(b, { children: [
16513
- c === xt.Accounts && /* @__PURE__ */ t(Pr, {}),
16514
- c === xt.Budgets && /* @__PURE__ */ t(Fr, {}),
16515
- c === xt.Insights && /* @__PURE__ */ t(Wr, {})
16522
+ c === vt.Accounts && /* @__PURE__ */ t(Pr, {}),
16523
+ c === vt.Budgets && /* @__PURE__ */ t(Fr, {}),
16524
+ c === vt.Insights && /* @__PURE__ */ t(Wr, {})
16516
16525
  ] })
16517
16526
  }
16518
16527
  )
@@ -16710,7 +16719,7 @@ const x1 = ({
16710
16719
  ] }),
16711
16720
  /* @__PURE__ */ t(cn, { color: "text.primary", sx: { mt: 24, whiteSpace: { sm: "nowrap", xs: "wrap" } }, children: r })
16712
16721
  ] });
16713
- }, Nt = ({
16722
+ }, Dt = ({
16714
16723
  altImage: e,
16715
16724
  content: n,
16716
16725
  hasDivider: i = !0,
@@ -16835,7 +16844,7 @@ const x1 = ({
16835
16844
  ] }) }),
16836
16845
  i && /* @__PURE__ */ t(H, {})
16837
16846
  ] });
16838
- }, F = ({ content: e, sx: n }) => /* @__PURE__ */ t(xe, { sx: { lineHeight: "24px", py: 6, ...n }, children: e }), fe = ({ content: e, sx: n }) => /* @__PURE__ */ t(mt, { color: "text.primary", sx: { py: 12, whiteSpace: { sm: "nowrap", xs: "wrap" }, ...n }, children: e }), X = ({
16847
+ }, F = ({ content: e, sx: n }) => /* @__PURE__ */ t(Ee, { sx: { lineHeight: "24px", py: 6, ...n }, children: e }), fe = ({ content: e, sx: n }) => /* @__PURE__ */ t(mt, { color: "text.primary", sx: { py: 12, whiteSpace: { sm: "nowrap", xs: "wrap" }, ...n }, children: e }), X = ({
16839
16848
  items: e,
16840
16849
  listType: n = "ul",
16841
16850
  subItemPlacement: i,
@@ -16915,7 +16924,7 @@ const x1 = ({
16915
16924
  ),
16916
16925
  /* @__PURE__ */ t(fe, { content: e.accounts_overview.edit_account_title, sx: { pt: 48 } }),
16917
16926
  /* @__PURE__ */ t(
16918
- Nt,
16927
+ Dt,
16919
16928
  {
16920
16929
  altImage: e.accounts_overview.alt_image_account_details,
16921
16930
  content: /* @__PURE__ */ t(g.Fragment, { children: /* @__PURE__ */ t(
@@ -17056,7 +17065,7 @@ const x1 = ({
17056
17065
  }
17057
17066
  ),
17058
17067
  "need-to-fix-a-broken-account": /* @__PURE__ */ t(
17059
- Nt,
17068
+ Dt,
17060
17069
  {
17061
17070
  altImage: e.need_to_fix_a_broken_account.alt_image,
17062
17071
  content: /* @__PURE__ */ l(g.Fragment, { children: [
@@ -17158,7 +17167,7 @@ const x1 = ({
17158
17167
  ),
17159
17168
  /* @__PURE__ */ t(fe, { content: i.adjusting_income_title, sx: { pt: 48 } }),
17160
17169
  /* @__PURE__ */ t(
17161
- Nt,
17170
+ Dt,
17162
17171
  {
17163
17172
  altImage: i.adjusting_income_alt_image,
17164
17173
  content: /* @__PURE__ */ l(g.Fragment, { children: [
@@ -17307,7 +17316,7 @@ const x1 = ({
17307
17316
  }
17308
17317
  ),
17309
17318
  debtPrioritization: /* @__PURE__ */ t(
17310
- Nt,
17319
+ Dt,
17311
17320
  {
17312
17321
  altImage: n.debt_prioritization,
17313
17322
  content: /* @__PURE__ */ l(g.Fragment, { children: [
@@ -17399,7 +17408,7 @@ const x1 = ({
17399
17408
  }
17400
17409
  ),
17401
17410
  debtDetails: /* @__PURE__ */ t(
17402
- Nt,
17411
+ Dt,
17403
17412
  {
17404
17413
  altImage: n.debt_details,
17405
17414
  content: /* @__PURE__ */ l(g.Fragment, { children: [
@@ -17737,7 +17746,7 @@ const x1 = ({
17737
17746
  ),
17738
17747
  /* @__PURE__ */ t(fe, { content: n.savings_goal_section_title, sx: { pt: 48 } }),
17739
17748
  /* @__PURE__ */ t(
17740
- Nt,
17749
+ Dt,
17741
17750
  {
17742
17751
  altImage: "savings_goal",
17743
17752
  content: /* @__PURE__ */ t(
@@ -17761,7 +17770,7 @@ const x1 = ({
17761
17770
  ),
17762
17771
  /* @__PURE__ */ t(fe, { content: n.debt_payoff_goal_section_title, sx: { pt: 48 } }),
17763
17772
  /* @__PURE__ */ t(
17764
- Nt,
17773
+ Dt,
17765
17774
  {
17766
17775
  altImage: "debt_payoff",
17767
17776
  content: /* @__PURE__ */ t(g.Fragment, { children: /* @__PURE__ */ t(
@@ -17787,7 +17796,7 @@ const x1 = ({
17787
17796
  ),
17788
17797
  /* @__PURE__ */ t(fe, { content: n.retirement_goal_section_title, sx: { pt: 48 } }),
17789
17798
  /* @__PURE__ */ t(
17790
- Nt,
17799
+ Dt,
17791
17800
  {
17792
17801
  altImage: "retirement_goal",
17793
17802
  content: /* @__PURE__ */ t(
@@ -17820,7 +17829,7 @@ const x1 = ({
17820
17829
  }
17821
17830
  ),
17822
17831
  /* @__PURE__ */ t(
17823
- Nt,
17832
+ Dt,
17824
17833
  {
17825
17834
  altImage: "manage_goal",
17826
17835
  content: /* @__PURE__ */ t(
@@ -18035,7 +18044,7 @@ const x1 = ({
18035
18044
  ),
18036
18045
  /* @__PURE__ */ t(fe, { content: i.gains_losses_section_title, sx: { mt: 36 } }),
18037
18046
  /* @__PURE__ */ t(
18038
- Nt,
18047
+ Dt,
18039
18048
  {
18040
18049
  altImage: i.alt_image_gains_losses,
18041
18050
  content: /* @__PURE__ */ l(g.Fragment, { children: [
@@ -18076,7 +18085,7 @@ const x1 = ({
18076
18085
  }
18077
18086
  ),
18078
18087
  /* @__PURE__ */ t(
18079
- Nt,
18088
+ Dt,
18080
18089
  {
18081
18090
  altImage: i.alt_image_assets_liabilities,
18082
18091
  content: /* @__PURE__ */ l(g.Fragment, { children: [
@@ -18261,7 +18270,7 @@ const x1 = ({
18261
18270
  }
18262
18271
  ),
18263
18272
  editSsction: /* @__PURE__ */ t(
18264
- Nt,
18273
+ Dt,
18265
18274
  {
18266
18275
  altImage: n.manage_alt_image,
18267
18276
  content: /* @__PURE__ */ l(g.Fragment, { children: [
@@ -18282,7 +18291,7 @@ const x1 = ({
18282
18291
  }
18283
18292
  ),
18284
18293
  paymentFrequencySection: /* @__PURE__ */ t(
18285
- Nt,
18294
+ Dt,
18286
18295
  {
18287
18296
  altImage: n.payment_alt_image,
18288
18297
  content: /* @__PURE__ */ l(g.Fragment, { children: [
@@ -18931,7 +18940,7 @@ const x1 = ({
18931
18940
  ),
18932
18941
  /* @__PURE__ */ t(fe, { content: i.full_feed_section_title, sx: { mt: 48 } }),
18933
18942
  /* @__PURE__ */ t(
18934
- Nt,
18943
+ Dt,
18935
18944
  {
18936
18945
  altImage: i.alt_image_full_feed,
18937
18946
  content: /* @__PURE__ */ l(g.Fragment, { children: [
@@ -19058,7 +19067,7 @@ const x1 = ({
19058
19067
  ]
19059
19068
  }
19060
19069
  ),
19061
- e && /* @__PURE__ */ t(xe, { color: "text.secondary", sx: { px: 24 }, variant: "Small", children: e })
19070
+ e && /* @__PURE__ */ t(Ee, { color: "text.secondary", sx: { px: 24 }, variant: "Small", children: e })
19062
19071
  ] }), aC = ({
19063
19072
  alert: e,
19064
19073
  copy: n,
@@ -19299,7 +19308,7 @@ const x1 = ({
19299
19308
  guid: a,
19300
19309
  sx: o
19301
19310
  }) => /* @__PURE__ */ t(z, { disableGutters: !0, disablePadding: !0, children: /* @__PURE__ */ l(ue, { "aria-label": e, onClick: n, children: [
19302
- a && /* @__PURE__ */ t(ke, { children: /* @__PURE__ */ t(ut, { alt: e, institutionGuid: a || "", size: 32 }) }),
19311
+ a && /* @__PURE__ */ t(Ge, { children: /* @__PURE__ */ t(ut, { alt: e, institutionGuid: a || "", size: 32 }) }),
19303
19312
  /* @__PURE__ */ t(
19304
19313
  ae,
19305
19314
  {
@@ -19329,7 +19338,7 @@ const x1 = ({
19329
19338
  onClose: a,
19330
19339
  topic: o
19331
19340
  }) => {
19332
- const { institutions: r, accounts: s } = Ee(), c = g.useMemo(
19341
+ const { institutions: r, accounts: s } = Se(), c = g.useMemo(
19333
19342
  () => yp(r, s, {
19334
19343
  singular: e.request_support_institution_account,
19335
19344
  plural: e.request_support_institution_accounts
@@ -19362,7 +19371,7 @@ const x1 = ({
19362
19371
  }, dC = ({ copy: e, onButtonClick: n }) => {
19363
19372
  const i = _C();
19364
19373
  return /* @__PURE__ */ l(b, { sx: { alignItems: "center", gap: 5 }, children: [
19365
- /* @__PURE__ */ t(xe, { color: "text.secondary", sx: i, children: e.contact_support }),
19374
+ /* @__PURE__ */ t(Ee, { color: "text.secondary", sx: i, children: e.contact_support }),
19366
19375
  /* @__PURE__ */ t(
19367
19376
  p,
19368
19377
  {
@@ -19420,7 +19429,7 @@ const x1 = ({
19420
19429
  }
19421
19430
  ),
19422
19431
  /* @__PURE__ */ t(
19423
- xe,
19432
+ Ee,
19424
19433
  {
19425
19434
  color: "secondary",
19426
19435
  sx: {
@@ -19451,7 +19460,7 @@ const x1 = ({
19451
19460
  /* @__PURE__ */ t(b, { sx: { alignItems: "center", pb: 24, pt: 80 }, children: /* @__PURE__ */ t($, { color: "success", fill: !0, name: "check_circle", size: 64 }) }),
19452
19461
  /* @__PURE__ */ l(b, { sx: { alignItems: "center", gap: 16, pb: 48 }, children: [
19453
19462
  /* @__PURE__ */ t(cn, { children: e.request_support_success }),
19454
- /* @__PURE__ */ t(xe, { align: "center", variant: "Body", children: e.request_support_submit_success_message }),
19463
+ /* @__PURE__ */ t(Ee, { align: "center", variant: "Body", children: e.request_support_submit_success_message }),
19455
19464
  /* @__PURE__ */ t(p, { bold: !0, variant: "Body", children: n })
19456
19465
  ] }),
19457
19466
  /* @__PURE__ */ t(te, { fullWidth: !0, onClick: o, variant: "contained", children: r.done_button }),
@@ -19459,7 +19468,7 @@ const x1 = ({
19459
19468
  ] }) });
19460
19469
  }, gC = I(
19461
19470
  ({ copy: e, isOpen: n, onClose: i }) => {
19462
- const { alert: a, createSupportTicket: o, isLoading: r, setAlert: s } = oo(), { user: c } = Bt(), { isInitialized: d } = de(), [u, _] = g.useState(""), [h, m] = g.useState(!1), [C, f] = g.useState(!1), [E, y] = g.useState({
19471
+ const { alert: a, createSupportTicket: o, isLoading: r, setAlert: s } = oo(), { user: c } = Mt(), { isInitialized: d } = de(), [u, _] = g.useState(""), [h, m] = g.useState(!1), [C, f] = g.useState(!1), [E, y] = g.useState({
19463
19472
  isOpen: !1,
19464
19473
  topic: "",
19465
19474
  type: void 0
@@ -19646,7 +19655,7 @@ const x1 = ({
19646
19655
  }
19647
19656
  )
19648
19657
  ] });
19649
- }, DE = I(({ sx: e }) => {
19658
+ }, D4 = I(({ sx: e }) => {
19650
19659
  const { isCopyLoaded: n, isInitialized: i } = de();
19651
19660
  return !n || !i ? /* @__PURE__ */ t(_e, {}) : /* @__PURE__ */ t(bt, { sx: { p: 16 }, children: /* @__PURE__ */ t(Lc, { sx: e }) });
19652
19661
  }), mC = I(({ selectedTab: e }) => {
@@ -19680,7 +19689,7 @@ const x1 = ({
19680
19689
  ] });
19681
19690
  });
19682
19691
  var Kn = /* @__PURE__ */ ((e) => (e[e.Profile = 0] = "Profile", e[e.Devices = 1] = "Devices", e[e.Notifications = 2] = "Notifications", e[e.TransactionRules = 3] = "TransactionRules", e[e.Help = 4] = "Help", e))(Kn || {});
19683
- const RE = I(({ onBackClick: e, sx: n }) => {
19692
+ const R4 = I(({ onBackClick: e, sx: n }) => {
19684
19693
  const { settings: i } = x(), { isCopyLoaded: a, isInitialized: o } = de(), { config: r } = Fn(), { isMobile: s } = Ce(), {
19685
19694
  display_user_profile_in_settings: c,
19686
19695
  display_mobile_devices_in_settings: d,
@@ -19719,13 +19728,13 @@ const RE = I(({ onBackClick: e, sx: n }) => {
19719
19728
  ] })
19720
19729
  }
19721
19730
  );
19722
- }), OE = I((e) => {
19731
+ }), O4 = I((e) => {
19723
19732
  const { isMobile: n } = Ce(), { clientConfig: i } = Fn(), a = i?.master?.deep_link_params?.view;
19724
19733
  return a ? /* @__PURE__ */ t(qi, { view: a }) : /* @__PURE__ */ t(bt, { ...e, children: /* @__PURE__ */ t(b, { mx: n ? 0 : 48, my: 24, children: /* @__PURE__ */ t(qi, {}) }) });
19725
- }), LE = (e) => {
19734
+ }), L4 = (e) => {
19726
19735
  const { isMobile: n } = Ce();
19727
19736
  return /* @__PURE__ */ t(bt, { ...e, children: /* @__PURE__ */ t(b, { sx: { mx: n ? 0 : 48, my: 24 }, children: /* @__PURE__ */ t(Dc, {}) }) });
19728
- }, ME = I(
19737
+ }, M4 = I(
19729
19738
  ({ notificationTypes: e, isOpen: n, onClose: i, onNotificationClick: a }) => {
19730
19739
  const { notifications: o } = x(), { isCopyLoaded: r } = de(), { isMobile: s } = Ce(), [c, d] = g.useState(!1);
19731
19740
  return r ? /* @__PURE__ */ l(
@@ -20021,7 +20030,7 @@ class bC {
20021
20030
  }
20022
20031
  };
20023
20032
  }
20024
- class kE {
20033
+ class k4 {
20025
20034
  // Global properties
20026
20035
  appConfig = Ur;
20027
20036
  endpoint = "/";
@@ -20081,12 +20090,12 @@ const xa = ({
20081
20090
  ] }) }),
20082
20091
  /* @__PURE__ */ t(H, { sx: { ml: n ? 0 : 24 } })
20083
20092
  ] }), yC = () => {
20084
- const { accounts: e } = Ee(), { selectedAccount: n, selectedMember: i } = Ht();
20093
+ const { accounts: e } = Se(), { selectedAccount: n, selectedMember: i } = Ht();
20085
20094
  return e.filter(
20086
20095
  (a) => a.member_guid === i.guid && i.successfully_aggregated_at && a.guid !== n.guid
20087
20096
  );
20088
20097
  }, EC = () => {
20089
- 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) => {
20098
+ 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: _ } = Se(), { accounts: h } = x(), m = yC(), { onEvent: C } = j(), { modifyTransactionByAccountGuid: f } = Ne(), E = async (S) => {
20090
20099
  await _({
20091
20100
  ...d,
20092
20101
  ...S
@@ -20097,7 +20106,7 @@ const xa = ({
20097
20106
  );
20098
20107
  };
20099
20108
  return /* @__PURE__ */ l(q, { children: [
20100
- /* @__PURE__ */ t(Mt, { sx: { backgroundColor: "transparent", mb: 4, mt: 12, mx: 8 }, children: /* @__PURE__ */ t(p, { bold: !0, component: "h2", variant: "XSmall", children: h.actions }) }),
20109
+ /* @__PURE__ */ t(kt, { sx: { backgroundColor: "transparent", mb: 4, mt: 12, mx: 8 }, children: /* @__PURE__ */ t(p, { bold: !0, component: "h2", variant: "XSmall", children: h.actions }) }),
20101
20110
  /* @__PURE__ */ t(
20102
20111
  xa,
20103
20112
  {
@@ -20373,12 +20382,12 @@ const xa = ({
20373
20382
  secondaryMessage: s.title
20374
20383
  };
20375
20384
  return /* @__PURE__ */ l(q, { children: [
20376
- /* @__PURE__ */ t(Mt, { sx: { mb: 4, mt: 12, mx: 8 }, children: /* @__PURE__ */ t(p, { bold: !0, component: "h2", variant: "XSmall", children: o.connection_status }) }),
20385
+ /* @__PURE__ */ t(kt, { sx: { mb: 4, mt: 12, mx: 8 }, children: /* @__PURE__ */ t(p, { bold: !0, component: "h2", variant: "XSmall", children: o.connection_status }) }),
20377
20386
  /* @__PURE__ */ t(z, { sx: { backgroundColor: "background.paper" }, children: a.is_manual || !c.ctaCopy ? /* @__PURE__ */ l(b, { alignItems: "center", direction: "row", px: 24, py: 12, children: [
20378
- /* @__PURE__ */ t(ke, { children: /* @__PURE__ */ t(vn, { backingSx: { backgroundColor: c.color, borderRadius: 1 }, size: 32, children: c.icon }) }),
20387
+ /* @__PURE__ */ t(Ge, { children: /* @__PURE__ */ t(vn, { backingSx: { backgroundColor: c.color, borderRadius: 1 }, size: 32, children: c.icon }) }),
20379
20388
  /* @__PURE__ */ t(ae, { primary: c.mainMessage, secondary: c.secondaryMessage })
20380
20389
  ] }) : /* @__PURE__ */ l(ue, { onClick: () => n(!0), children: [
20381
- /* @__PURE__ */ t(ke, { children: /* @__PURE__ */ t(vn, { backingSx: { backgroundColor: c.color, borderRadius: 1 }, size: 32, children: c.icon }) }),
20390
+ /* @__PURE__ */ t(Ge, { children: /* @__PURE__ */ t(vn, { backingSx: { backgroundColor: c.color, borderRadius: 1 }, size: 32, children: c.icon }) }),
20382
20391
  /* @__PURE__ */ t(
20383
20392
  ae,
20384
20393
  {
@@ -20395,7 +20404,7 @@ const xa = ({
20395
20404
  /* @__PURE__ */ t(H, { sx: { ml: a.is_manual || !a.institution_url ? 0 : 24 } }),
20396
20405
  !a.is_manual && a.institution_url && /* @__PURE__ */ l(q, { children: [
20397
20406
  /* @__PURE__ */ t(z, { sx: { backgroundColor: "background.paper" }, children: /* @__PURE__ */ l(ue, { component: "a", href: a.institution_url, target: "_blank", children: [
20398
- /* @__PURE__ */ t(ke, { children: /* @__PURE__ */ t(
20407
+ /* @__PURE__ */ t(Ge, { children: /* @__PURE__ */ t(
20399
20408
  vn,
20400
20409
  {
20401
20410
  backingSx: {
@@ -20430,11 +20439,11 @@ const xa = ({
20430
20439
  )
20431
20440
  ] });
20432
20441
  }, AC = I(TC), IC = ({ field: e, isOpen: n, onClose: i }) => {
20433
- 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 = () => {
20442
+ const { updateAccount: a } = Se(), { selectedAccount: o } = Ht(), { accounts: r } = x(), [s, c] = g.useState(o[e.name]), [d, u] = g.useState(""), [_, h] = g.useState(!0), m = () => {
20434
20443
  c(""), u(""), i();
20435
20444
  }, C = () => {
20436
20445
  switch (e.type) {
20437
- case vt.Select:
20446
+ case wt.Select:
20438
20447
  return /* @__PURE__ */ l(wd, { fullWidth: !0, children: [
20439
20448
  /* @__PURE__ */ t(Nd, { id: `${e.label}-select-label`, children: e.label }),
20440
20449
  /* @__PURE__ */ t(
@@ -20455,7 +20464,7 @@ const xa = ({
20455
20464
  }
20456
20465
  )
20457
20466
  ] });
20458
- case vt.Currency:
20467
+ case wt.Currency:
20459
20468
  return /* @__PURE__ */ t(
20460
20469
  Qt,
20461
20470
  {
@@ -20467,7 +20476,7 @@ const xa = ({
20467
20476
  setHasValidInput: h
20468
20477
  }
20469
20478
  );
20470
- case vt.Date:
20479
+ case wt.Date:
20471
20480
  return /* @__PURE__ */ t(Dd, { dateAdapter: Jn, children: /* @__PURE__ */ t(
20472
20481
  Xa,
20473
20482
  {
@@ -20691,7 +20700,7 @@ const xa = ({
20691
20700
  /* @__PURE__ */ t(Zn, { index: 1, name: "account-details", value: e, children: /* @__PURE__ */ t(DC, {}) })
20692
20701
  ] });
20693
20702
  }, kc = I(kC), GC = () => {
20694
- const [e, n] = g.useState(""), { accounts: i } = x(), { selectedAccounts: a } = de(), { setSelectedAccount: o, setSelectedMember: r } = Ht(), { members: s } = Ee(), { onEvent: c } = j(), d = [...new Set(a.map((y) => y.account_type))], u = a.find((y) => e === y.guid), _ = g.useMemo(
20703
+ const [e, n] = g.useState(""), { accounts: i } = x(), { selectedAccounts: a } = de(), { setSelectedAccount: o, setSelectedMember: r } = Ht(), { members: s } = Se(), { onEvent: c } = j(), d = [...new Set(a.map((y) => y.account_type))], u = a.find((y) => e === y.guid), _ = g.useMemo(
20695
20704
  () => a.filter((y) => y.is_hidden),
20696
20705
  [a]
20697
20706
  ), h = g.useMemo(
@@ -20722,7 +20731,7 @@ const xa = ({
20722
20731
  ie,
20723
20732
  {
20724
20733
  "aria-label": w,
20725
- subheader: /* @__PURE__ */ t(Mt, { component: "h2", sx: { backgroundColor: "transparent", px: 24 }, children: /* @__PURE__ */ l(
20734
+ subheader: /* @__PURE__ */ t(kt, { component: "h2", sx: { backgroundColor: "transparent", px: 24 }, children: /* @__PURE__ */ l(
20726
20735
  we,
20727
20736
  {
20728
20737
  component: "span",
@@ -20779,7 +20788,7 @@ const xa = ({
20779
20788
  ie,
20780
20789
  {
20781
20790
  "aria-label": i.account_type_accounts[S[0]?.account_type],
20782
- subheader: /* @__PURE__ */ t(Mt, { component: "h2", sx: { backgroundColor: "transparent", px: 24 }, children: /* @__PURE__ */ l(
20791
+ subheader: /* @__PURE__ */ t(kt, { component: "h2", sx: { backgroundColor: "transparent", px: 24 }, children: /* @__PURE__ */ l(
20783
20792
  we,
20784
20793
  {
20785
20794
  component: "span",
@@ -20834,7 +20843,7 @@ const xa = ({
20834
20843
  )
20835
20844
  ] });
20836
20845
  }, BC = I(GC), HC = ({ onBackClick: e, sx: n = {} }) => {
20837
- const [i, a] = g.useState(!1), [o, r] = g.useState(!1), { config: s } = Fn(), { accounts: c } = Ee(), { accounts: d, connect: u } = x(), { isCopyLoaded: _, isInitialized: h, setSelectedAccounts: m, selectedAccountGuids: C } = de(), { isDesktop: f } = Ce(), { onEvent: E } = j();
20846
+ const [i, a] = g.useState(!1), [o, r] = g.useState(!1), { config: s } = Fn(), { accounts: c } = Se(), { accounts: d, connect: u } = x(), { isCopyLoaded: _, isInitialized: h, setSelectedAccounts: m, selectedAccountGuids: C } = de(), { isDesktop: f } = Ce(), { onEvent: E } = j();
20838
20847
  g.useEffect(() => {
20839
20848
  m(c);
20840
20849
  }, [c]);
@@ -20883,8 +20892,8 @@ const xa = ({
20883
20892
  ] }) : /* @__PURE__ */ t(_e, {})
20884
20893
  }
20885
20894
  ) : /* @__PURE__ */ t(_e, {});
20886
- }, GE = I(HC), PC = ({ onPrimaryCtaClick: e, sx: n }) => {
20887
- const { visibleAccounts: i } = Ee(), { accounts: a } = x(), { isCopyLoaded: o, isInitialized: r, selectedAccounts: s, setSelectedAccounts: c } = de();
20895
+ }, G4 = I(HC), PC = ({ onPrimaryCtaClick: e, sx: n }) => {
20896
+ const { visibleAccounts: i } = Se(), { accounts: a } = x(), { isCopyLoaded: o, isInitialized: r, selectedAccounts: s, setSelectedAccounts: c } = de();
20888
20897
  return g.useEffect(() => {
20889
20898
  c(i);
20890
20899
  }, [i]), o ? /* @__PURE__ */ t(
@@ -20914,7 +20923,7 @@ const xa = ({
20914
20923
  ] }) : /* @__PURE__ */ t(_e, {})
20915
20924
  }
20916
20925
  ) : /* @__PURE__ */ t(_e, {});
20917
- }, BE = I(PC), FC = () => /* @__PURE__ */ l(
20926
+ }, B4 = I(PC), FC = () => /* @__PURE__ */ l(
20918
20927
  "svg",
20919
20928
  {
20920
20929
  fill: "none",
@@ -21399,7 +21408,7 @@ const xa = ({
21399
21408
  ]
21400
21409
  }
21401
21410
  ) : /* @__PURE__ */ t(_e, {});
21402
- }, HE = I(UC);
21411
+ }, H4 = I(UC);
21403
21412
  class Kr {
21404
21413
  fetchInstance;
21405
21414
  constructor(n, i) {
@@ -21759,7 +21768,7 @@ const zC = () => {
21759
21768
  ]
21760
21769
  }
21761
21770
  ) : /* @__PURE__ */ t(_e, {});
21762
- }, PE = I(ZC), zr = 5, qC = 100, QC = 25, JC = (e) => {
21771
+ }, P4 = I(ZC), zr = 5, qC = 100, QC = 25, JC = (e) => {
21763
21772
  const n = (o) => {
21764
21773
  o.active || e.alphaTarget(0.3).restart(), o.subject.fx = o.subject.x, o.subject.fy = o.subject.y;
21765
21774
  }, i = (o) => {
@@ -21767,23 +21776,23 @@ const zC = () => {
21767
21776
  }, a = (o) => {
21768
21777
  o.active || e.alphaTarget(0), o.subject.fx = null, o.subject.fy = null;
21769
21778
  };
21770
- return Dt.drag().on("start", n).on("drag", i).on("end", a);
21779
+ return Rt.drag().on("start", n).on("drag", i).on("end", a);
21771
21780
  }, e0 = (e) => {
21772
21781
  let n = e.transaction_total / e.amount;
21773
21782
  n < 0 ? n = 0 : n > 1 && (n = 1);
21774
- const i = n * 2 * Math.PI, a = Dt.interpolate(0, i), o = Dt.arc().cornerRadius(5).innerRadius(e.radius - zr * 2).outerRadius(e.radius - zr).startAngle(0).endAngle(0);
21783
+ const i = n * 2 * Math.PI, a = Rt.interpolate(0, i), o = Rt.arc().cornerRadius(5).innerRadius(e.radius - zr * 2).outerRadius(e.radius - zr).startAngle(0).endAngle(0);
21775
21784
  return (r) => (o.endAngle(a(r)), o(e) || "");
21776
21785
  }, t0 = (e) => {
21777
- Dt.selectAll(".bubble").call(JC(e));
21786
+ Rt.selectAll(".bubble").call(JC(e));
21778
21787
  }, n0 = (e, n, i) => {
21779
21788
  e.alpha(1).restart().force(
21780
21789
  "x",
21781
- Dt.forceX().x(i / 2).strength(0.01)
21790
+ Rt.forceX().x(i / 2).strength(0.01)
21782
21791
  ).force(
21783
21792
  "y",
21784
- Dt.forceY().y(n / 2).strength(0.01)
21793
+ Rt.forceY().y(n / 2).strength(0.01)
21785
21794
  );
21786
- }, i0 = (e, n) => Dt.scaleLinear().domain([e, n]).range([QC, qC]), a0 = (e) => {
21795
+ }, i0 = (e, n) => Rt.scaleLinear().domain([e, n]).range([QC, qC]), a0 = (e) => {
21787
21796
  const n = e.reduce((r, s) => {
21788
21797
  const c = Math.max(s.transaction_total, s.amount);
21789
21798
  return c > r ? c : r;
@@ -21797,8 +21806,8 @@ const zC = () => {
21797
21806
  radius: s
21798
21807
  };
21799
21808
  });
21800
- return Dt.forceSimulation(o).velocityDecay(0.05).force("collide", Dt.forceCollide((r) => r.radius + 2).strength(0.5)).on("tick", () => {
21801
- Dt.selectAll(".bubble").data(o).attr("transform", (r) => `translate(${r.x},${r.y})`);
21809
+ return Rt.forceSimulation(o).velocityDecay(0.05).force("collide", Rt.forceCollide((r) => r.radius + 2).strength(0.5)).on("tick", () => {
21810
+ Rt.selectAll(".bubble").data(o).attr("transform", (r) => `translate(${r.x},${r.y})`);
21802
21811
  });
21803
21812
  }, Yr = 5, o0 = 2e3;
21804
21813
  function r0({ bubble: e }) {
@@ -21808,9 +21817,9 @@ function r0({ bubble: e }) {
21808
21817
  radius: o
21809
21818
  } = e, r = `mercury-${i}`;
21810
21819
  g.useEffect(() => {
21811
- Dt.select(`.${r}`).selectAll(".status").remove(), Dt.select(`.${r}`).append("path").transition().duration(o0).delay(0).attr("class", "status").attr("style", `fill: ${a}; fill-opacity: 1;`).attrTween("d", () => e0(e));
21820
+ Rt.select(`.${r}`).selectAll(".status").remove(), Rt.select(`.${r}`).append("path").transition().duration(o0).delay(0).attr("class", "status").attr("style", `fill: ${a}; fill-opacity: 1;`).attrTween("d", () => e0(e));
21812
21821
  }, [e]);
21813
- const s = Dt.arc().innerRadius((c) => c - 2 * Yr).outerRadius((c) => c - Yr).startAngle(0).endAngle(2 * Math.PI);
21822
+ const s = Rt.arc().innerRadius((c) => c - 2 * Yr).outerRadius((c) => c - Yr).startAngle(0).endAngle(2 * Math.PI);
21814
21823
  return /* @__PURE__ */ t("g", { className: r, children: /* @__PURE__ */ t(
21815
21824
  "path",
21816
21825
  {
@@ -21825,7 +21834,7 @@ function s0({ bubble: e, isDraggable: n, onClick: i = () => {
21825
21834
  const [a, o] = g.useState(!1);
21826
21835
  if (g.useEffect(() => {
21827
21836
  document.fonts.ready.then(() => {
21828
- const S = Dt.select(`.icon-${c}`), A = S.node()?.getComputedTextLength();
21837
+ const S = Rt.select(`.icon-${c}`), A = S.node()?.getComputedTextLength();
21829
21838
  S.attr("x", () => h < Vn ? A ? A / 2 - 12 : 12 : A ? A / 2 - 16 : 16);
21830
21839
  });
21831
21840
  }, []), !e) return;
@@ -22059,7 +22068,7 @@ const c0 = ({
22059
22068
  ] });
22060
22069
  }
22061
22070
  ), _0 = (e) => {
22062
- const n = pe(), { accounts: i } = Ee(), { budgets: a, isDataLoaded: o, loadBudgetData: r, setTheme: s } = lt(), { budgets: c } = x(), { isCopyLoaded: d, isInitialized: u } = de(), { reloadCategoryTotals: _ } = $e(), h = tu(), m = a.length === 0;
22071
+ const n = pe(), { accounts: i } = Se(), { budgets: a, isDataLoaded: o, loadBudgetData: r, setTheme: s } = lt(), { budgets: c } = x(), { isCopyLoaded: d, isInitialized: u } = de(), { reloadCategoryTotals: _ } = $e(), h = tu(), m = a.length === 0;
22063
22072
  return g.useEffect(() => {
22064
22073
  s(n);
22065
22074
  }, [n]), g.useEffect(() => {
@@ -22088,7 +22097,7 @@ const c0 = ({
22088
22097
  ] }) : /* @__PURE__ */ t(_e, {})
22089
22098
  }
22090
22099
  ) : /* @__PURE__ */ t(_e, {});
22091
- }, FE = I(_0), u0 = I(() => {
22100
+ }, F4 = I(_0), u0 = I(() => {
22092
22101
  const { budgets: e } = x(), { totalBudgeted: n } = lt(), { projectedIncome: i } = ze(), a = i - n;
22093
22102
  return /* @__PURE__ */ l(b, { direction: "row", justifyContent: "center", my: 16, spacing: 20, children: [
22094
22103
  /* @__PURE__ */ l(b, { alignItems: "center", children: [
@@ -22114,7 +22123,7 @@ const c0 = ({
22114
22123
  }, [n, i]);
22115
22124
  return /* @__PURE__ */ l(g.Fragment, { children: [
22116
22125
  /* @__PURE__ */ t(z, { children: /* @__PURE__ */ l(ue, { children: [
22117
- /* @__PURE__ */ t(ke, { children: /* @__PURE__ */ t(kt, { categoryGuid: e.guid, variant: "filled" }) }),
22126
+ /* @__PURE__ */ t(Ge, { children: /* @__PURE__ */ t(Gt, { categoryGuid: e.guid, variant: "filled" }) }),
22118
22127
  /* @__PURE__ */ t(ae, { primary: e.name, secondary: a })
22119
22128
  ] }) }),
22120
22129
  /* @__PURE__ */ t(H, {})
@@ -22177,7 +22186,7 @@ const c0 = ({
22177
22186
  );
22178
22187
  return /* @__PURE__ */ l(g.Fragment, { children: [
22179
22188
  /* @__PURE__ */ t(z, { children: /* @__PURE__ */ l(ue, { onClick: () => r(!0), children: [
22180
- /* @__PURE__ */ t(ke, { children: /* @__PURE__ */ t(kt, { categoryGuid: e.guid }) }),
22189
+ /* @__PURE__ */ t(Ge, { children: /* @__PURE__ */ t(Gt, { categoryGuid: e.guid }) }),
22181
22190
  /* @__PURE__ */ t(
22182
22191
  ae,
22183
22192
  {
@@ -22230,8 +22239,8 @@ const c0 = ({
22230
22239
  percentage: `${r}%`
22231
22240
  }
22232
22241
  ];
22233
- return /* @__PURE__ */ t(Rt, { sx: { mt: 24, mx: 24 }, children: /* @__PURE__ */ t(Ot, { children: /* @__PURE__ */ l(b, { alignItems: "center", gap: 16, children: [
22234
- /* @__PURE__ */ t(kt, { categoryGuid: o, size: 56 }),
22242
+ return /* @__PURE__ */ t(Ot, { sx: { mt: 24, mx: 24 }, children: /* @__PURE__ */ t(Lt, { children: /* @__PURE__ */ l(b, { alignItems: "center", gap: 16, children: [
22243
+ /* @__PURE__ */ t(Gt, { categoryGuid: o, size: 56 }),
22235
22244
  /* @__PURE__ */ t(Xt, { children: `${P(s, "0,0")} / ${P(n, "0,0")}` }),
22236
22245
  /* @__PURE__ */ t(p, { bold: !0, variant: "XSmall", children: a }),
22237
22246
  /* @__PURE__ */ t(Xn, { data: c, height: 10 })
@@ -22252,7 +22261,7 @@ const c0 = ({
22252
22261
  transaction_total: r
22253
22262
  } = e, { setSelectedSubBudget: s } = lt();
22254
22263
  return /* @__PURE__ */ t(z, { children: /* @__PURE__ */ l(ue, { onClick: () => s(e), children: [
22255
- /* @__PURE__ */ t(ke, { sx: { mb: -8, mr: 16 }, children: /* @__PURE__ */ t(so, { color: i, percent: o, size: 40, children: /* @__PURE__ */ t(kt, { categoryGuid: a.parent_guid, variant: "basic" }) }) }),
22264
+ /* @__PURE__ */ t(Ge, { sx: { mb: -8, mr: 16 }, children: /* @__PURE__ */ t(so, { color: i, percent: o, size: 40, children: /* @__PURE__ */ t(Gt, { categoryGuid: a.parent_guid, variant: "basic" }) }) }),
22256
22265
  /* @__PURE__ */ t(
22257
22266
  ae,
22258
22267
  {
@@ -22539,7 +22548,7 @@ const c0 = ({
22539
22548
  transaction_total: u
22540
22549
  } = e;
22541
22550
  return /* @__PURE__ */ t(z, { children: /* @__PURE__ */ l(ue, { onClick: () => n?.(e), children: [
22542
- /* @__PURE__ */ t(ke, { sx: { mb: -8, mr: 16 }, children: /* @__PURE__ */ t(so, { color: a, percent: c, size: 40, children: /* @__PURE__ */ t(kt, { categoryGuid: r, variant: "basic" }) }) }),
22551
+ /* @__PURE__ */ t(Ge, { sx: { mb: -8, mr: 16 }, children: /* @__PURE__ */ t(so, { color: a, percent: c, size: 40, children: /* @__PURE__ */ t(Gt, { categoryGuid: r, variant: "basic" }) }) }),
22543
22552
  /* @__PURE__ */ t(
22544
22553
  ae,
22545
22554
  {
@@ -22564,15 +22573,15 @@ const c0 = ({
22564
22573
  click_type: "list"
22565
22574
  });
22566
22575
  };
22567
- return /* @__PURE__ */ l(Rt, { elevation: 2, children: [
22576
+ return /* @__PURE__ */ l(Ot, { elevation: 2, children: [
22568
22577
  /* @__PURE__ */ t(dn, { sx: { pb: 8, pl: 24 }, title: /* @__PURE__ */ t(mt, { children: n.budget_categories_title }) }),
22569
- /* @__PURE__ */ t(Ot, { sx: { p: 0, ":last-child": { p: 0 } }, children: /* @__PURE__ */ t(ie, { children: i.map((r) => /* @__PURE__ */ l(g.Fragment, { children: [
22578
+ /* @__PURE__ */ t(Lt, { sx: { p: 0, ":last-child": { p: 0 } }, children: /* @__PURE__ */ t(ie, { children: i.map((r) => /* @__PURE__ */ l(g.Fragment, { children: [
22570
22579
  /* @__PURE__ */ t(T0, { budget: r, onClick: o }),
22571
22580
  /* @__PURE__ */ t(H, {})
22572
22581
  ] }, r.guid)) }) })
22573
22582
  ] });
22574
22583
  }), I0 = I(() => {
22575
- const e = pe(), { onEvent: n } = j(), { visibleAccounts: i } = Ee(), { budgets: a, common: o, recurring: r } = x(), { incomeCategories: s, spendCategories: c } = $e(), { detailedBudgets: d, totalBudgeted: u } = lt(), { projectedIncome: _ } = ze(), { setFilter: h } = Ne(), [m, C] = g.useState(!1), [f, E] = g.useMemo(() => {
22584
+ const e = pe(), { onEvent: n } = j(), { visibleAccounts: i } = Se(), { budgets: a, common: o, recurring: r } = x(), { incomeCategories: s, spendCategories: c } = $e(), { detailedBudgets: d, totalBudgeted: u } = lt(), { projectedIncome: _ } = ze(), { setFilter: h } = Ne(), [m, C] = g.useState(!1), [f, E] = g.useMemo(() => {
22576
22585
  const w = c.reduce((M, D) => M + D.totalAmount, 0);
22577
22586
  let v = w / u;
22578
22587
  v > 1 && (v = 1);
@@ -22607,9 +22616,9 @@ const c0 = ({
22607
22616
  }
22608
22617
  }), C(!0), n(W.BUDGETS_CLICK_EDIT_INCOME);
22609
22618
  };
22610
- return /* @__PURE__ */ l(Rt, { elevation: 2, sx: { overflow: "visible" }, children: [
22619
+ return /* @__PURE__ */ l(Ot, { elevation: 2, sx: { overflow: "visible" }, children: [
22611
22620
  /* @__PURE__ */ t(dn, { sx: { pb: 8, pl: 24 }, title: /* @__PURE__ */ t(mt, { children: a.overview_title }) }),
22612
- /* @__PURE__ */ t(Ot, { sx: { pt: 12, px: 24 }, children: /* @__PURE__ */ l(b, { gap: 24, children: [
22621
+ /* @__PURE__ */ t(Lt, { sx: { pt: 12, px: 24 }, children: /* @__PURE__ */ l(b, { gap: 24, children: [
22613
22622
  /* @__PURE__ */ l(b, { gap: 8, children: [
22614
22623
  /* @__PURE__ */ t(p, { bold: !0, sx: { mb: 8 }, variant: "Body", children: a.spending_title }),
22615
22624
  /* @__PURE__ */ t(Xn, { data: E, height: 16 }),
@@ -22654,8 +22663,8 @@ const c0 = ({
22654
22663
  }
22655
22664
  )
22656
22665
  ] });
22657
- }), Xr = 480, WE = I(({ onBackClick: e, sx: n }) => {
22658
- const i = pe(), { onEvent: a } = j(), { visibleAccounts: o } = Ee(), { budgets: r, common: s } = x(), { isCopyLoaded: c, isInitialized: d, selectedAccounts: u, setDisplayedDate: _, setSelectedAccounts: h } = de(), {
22666
+ }), Xr = 480, W4 = I(({ onBackClick: e, sx: n }) => {
22667
+ const i = pe(), { onEvent: a } = j(), { visibleAccounts: o } = Se(), { budgets: r, common: s } = x(), { isCopyLoaded: c, isInitialized: d, selectedAccounts: u, setDisplayedDate: _, setSelectedAccounts: h } = de(), {
22659
22668
  alert: m,
22660
22669
  dateRange: C,
22661
22670
  isDataLoaded: f,
@@ -22839,7 +22848,7 @@ const c0 = ({
22839
22848
  }
22840
22849
  ) });
22841
22850
  }, w0 = I(v0), N0 = () => {
22842
- const [e, n] = g.useState(!1), { visibleAccounts: i } = Ee(), { selectedAccountGuids: a, setSelectedAccountGuids: o } = de(), { common: r, connect: s } = x(), { config: c } = Fn(), { isMobile: d } = Ce(), u = {
22851
+ const [e, n] = g.useState(!1), { visibleAccounts: i } = Se(), { selectedAccountGuids: a, setSelectedAccountGuids: o } = de(), { common: r, connect: s } = x(), { config: c } = Fn(), { isMobile: d } = Ce(), u = {
22843
22852
  accountFilterOptionsCopy: {
22844
22853
  accountTypeAccounts: r.account_filter.account_type_accounts,
22845
22854
  cancelButton: r.cancel_button,
@@ -22896,7 +22905,7 @@ const c0 = ({
22896
22905
  }, D0 = I(N0);
22897
22906
  var Pi = /* @__PURE__ */ ((e) => (e[e.Main = 0] = "Main", e[e.RightSide = 1] = "RightSide", e[e.Disabled = 2] = "Disabled", e))(Pi || {});
22898
22907
  const R0 = ({ widgets: e, isLoading: n }) => {
22899
- const { isDesktop: i, isMobile: a } = Ce(), { copyStore: o } = la(), { setSelectedAccounts: r } = de(), { visibleAccounts: s } = Ee();
22908
+ const { isDesktop: i, isMobile: a } = Ce(), { copyStore: o } = la(), { setSelectedAccounts: r } = de(), { visibleAccounts: s } = Se();
22900
22909
  g.useEffect(() => {
22901
22910
  r(s);
22902
22911
  }, [s]);
@@ -22927,7 +22936,7 @@ const R0 = ({ widgets: e, isLoading: n }) => {
22927
22936
  /* @__PURE__ */ t(gn, { height: 300, variant: "rounded", width: "100%" })
22928
22937
  ] }) : /* @__PURE__ */ t(b, { direction: "column", spacing: 24, children: u.map((_) => /* @__PURE__ */ t(g.Fragment, { children: _.component }, _.index)) }) })
22929
22938
  ] });
22930
- }, $E = I(R0), Do = ({ sx: e = {} }) => {
22939
+ }, $4 = I(R0), Do = ({ sx: e = {} }) => {
22931
22940
  const { investments: n } = x(), { onEvent: i } = j(), { setShowConnectionsWidget: a } = Gn();
22932
22941
  return /* @__PURE__ */ l(b, { sx: { alignItems: "center", gap: 24, height: 164, p: 24, width: "100%", ...e }, children: [
22933
22942
  /* @__PURE__ */ l(
@@ -23283,7 +23292,7 @@ const R0 = ({ widgets: e, isLoading: n }) => {
23283
23292
  }, P0 = () => {
23284
23293
  const [e, n] = g.useState(0), [i, a] = g.useState(""), [o, r] = g.useState(""), s = (f) => {
23285
23294
  i !== f ? a(f) : (a(""), r(""));
23286
- }, { selectedAccountGuids: c } = de(), { visibleHoldings: d } = Gn(), { visibleInvestmentAccounts: u } = Ee(), {
23295
+ }, { selectedAccountGuids: c } = de(), { visibleHoldings: d } = Gn(), { visibleInvestmentAccounts: u } = Se(), {
23287
23296
  investments: { allocation: _ }
23288
23297
  } = x(), h = G0(
23289
23298
  u.filter(({ guid: f }) => c.includes(f)),
@@ -23424,7 +23433,7 @@ const R0 = ({ widgets: e, isLoading: n }) => {
23424
23433
  ] });
23425
23434
  }, $0 = ({ body: e, title: n }) => /* @__PURE__ */ l(b, { sx: { gap: 4, p: 12 }, children: [
23426
23435
  /* @__PURE__ */ t(p, { bold: !0, variant: "Body", children: n }),
23427
- /* @__PURE__ */ t(xe, { variant: "ParagraphSmall", children: e })
23436
+ /* @__PURE__ */ t(Ee, { variant: "ParagraphSmall", children: e })
23428
23437
  ] }), U0 = ({
23429
23438
  placement: e = "bottom",
23430
23439
  tooltip_info_body: n,
@@ -23477,7 +23486,7 @@ const R0 = ({ widgets: e, isLoading: n }) => {
23477
23486
  writingMode: "vertical-rl"
23478
23487
  },
23479
23488
  children: [
23480
- /* @__PURE__ */ t(xe, { bold: !0, color: "secondary.main", variant: m, children: a === wn.Stocks ? e.market_capitalization : e.credit_quality }),
23489
+ /* @__PURE__ */ t(Ee, { bold: !0, color: "secondary.main", variant: m, children: a === wn.Stocks ? e.market_capitalization : e.credit_quality }),
23481
23490
  /* @__PURE__ */ t(
23482
23491
  b,
23483
23492
  {
@@ -24096,14 +24105,14 @@ const R0 = ({ widgets: e, isLoading: n }) => {
24096
24105
  ...Qe,
24097
24106
  [ee]: Ue
24098
24107
  }));
24099
- }, { visibleHoldings: oe } = Gn(), { visibleInvestmentAccounts: J } = Ee(), ge = J.filter(
24108
+ }, { visibleHoldings: oe } = Gn(), { visibleInvestmentAccounts: J } = Se(), ge = J.filter(
24100
24109
  ({ guid: ee }) => r.includes(ee)
24101
24110
  ), De = ge.reduce((ee, ne) => ee + (ne.balance || 0), 0), Re = ge.map(({ guid: ee }) => ee), Oe = oe.filter(
24102
24111
  ({ account_guid: ee }) => Re.includes(ee)
24103
24112
  ).reduce((ee, ne) => {
24104
24113
  const Ue = ne.market_value ? ne.market_value - (ne.cost_basis || 0) : 0;
24105
24114
  return ee + Ue;
24106
- }, 0), It = () => {
24115
+ }, 0), xt = () => {
24107
24116
  o(!1);
24108
24117
  };
24109
24118
  return f ? /* @__PURE__ */ l(we, { sx: { alignItems: "center", gap: 48, pt: 48, width: "100%" }, children: [
@@ -24321,7 +24330,7 @@ const R0 = ({ widgets: e, isLoading: n }) => {
24321
24330
  },
24322
24331
  ee.guid
24323
24332
  );
24324
- const Ge = v ? "grey.700" : "grey.400", Pt = ne.length ? "text.primary" : Ge;
24333
+ const ke = v ? "grey.700" : "grey.400", Pt = ne.length ? "text.primary" : ke;
24325
24334
  return /* @__PURE__ */ l(
24326
24335
  Ai,
24327
24336
  {
@@ -24473,7 +24482,7 @@ const R0 = ({ widgets: e, isLoading: n }) => {
24473
24482
  handleCostBasisClick: D,
24474
24483
  handleCostBasisKeyDown: O,
24475
24484
  isOpen: a,
24476
- onClose: It
24485
+ onClose: xt
24477
24486
  }
24478
24487
  ),
24479
24488
  /* @__PURE__ */ t(
@@ -24485,8 +24494,8 @@ const R0 = ({ widgets: e, isLoading: n }) => {
24485
24494
  }
24486
24495
  )
24487
24496
  ] }) : /* @__PURE__ */ t(_e, {});
24488
- }, Z0 = I(X0), q0 = ({ title: e }) => /* @__PURE__ */ t(p, { bold: !0, variant: "Body", children: e }), UE = I(({ onBackClick: e, sx: n }) => {
24489
- const { onEvent: i } = j(), { isMobile: a } = Ce(), { visibleInvestmentAccounts: o } = Ee(), {
24497
+ }, Z0 = I(X0), q0 = ({ title: e }) => /* @__PURE__ */ t(p, { bold: !0, variant: "Body", children: e }), U4 = I(({ onBackClick: e, sx: n }) => {
24498
+ const { onEvent: i } = j(), { isMobile: a } = Ce(), { visibleInvestmentAccounts: o } = Se(), {
24490
24499
  visibleHoldings: r,
24491
24500
  setShowConnectionsWidget: s,
24492
24501
  showConnectionsWidget: c
@@ -24820,7 +24829,7 @@ const Di = g.createContext(null), of = ({
24820
24829
  E && E <= 325 && A(3);
24821
24830
  }, [E]);
24822
24831
  const { cardStyle: R, linkTextStyle: B } = h, M = f ? R : { border: "none", boxShadow: "none", ...R }, D = /* @__PURE__ */ t(
24823
- xe,
24832
+ Ee,
24824
24833
  {
24825
24834
  className: "mx-micro-card-description",
24826
24835
  color: m.textColor ? "undefined" : "text.primary",
@@ -24868,7 +24877,7 @@ const Di = g.createContext(null), of = ({
24868
24877
  },
24869
24878
  tabIndex: c ? 0 : -1,
24870
24879
  children: /* @__PURE__ */ t(
24871
- Rt,
24880
+ Ot,
24872
24881
  {
24873
24882
  "aria-roledescription": "slide",
24874
24883
  className: "mx-micro-card",
@@ -24903,7 +24912,7 @@ const Di = g.createContext(null), of = ({
24903
24912
  titleTypographyProps: { fontSize: 15, fontWeight: 600, variant: "h3" }
24904
24913
  }
24905
24914
  ),
24906
- /* @__PURE__ */ t(Ot, { sx: { p: 0 }, children: !d && D }),
24915
+ /* @__PURE__ */ t(Lt, { sx: { p: 0 }, children: !d && D }),
24907
24916
  !!n && /* @__PURE__ */ t(Ld, { sx: { padding: 0 }, children: /* @__PURE__ */ t(
24908
24917
  L,
24909
24918
  {
@@ -24932,7 +24941,7 @@ const Di = g.createContext(null), of = ({
24932
24941
  const [n, i] = Et(N.UNCATEGORIZED);
24933
24942
  return Mn(() => {
24934
24943
  e.primary_category_guid ? i(e.primary_category_guid) : e.category_guids?.length && i(e.category_guids[0]);
24935
- }, []), /* @__PURE__ */ t(kt, { categoryGuid: n, size: 16, sx: { minWidth: 16 } });
24944
+ }, []), /* @__PURE__ */ t(Gt, { categoryGuid: n, size: 16, sx: { minWidth: 16 } });
24936
24945
  }, sf = ({ beat: e }) => {
24937
24946
  const n = gt(), i = cf(n);
24938
24947
  return /* @__PURE__ */ t(
@@ -26030,15 +26039,15 @@ const Di = g.createContext(null), of = ({
26030
26039
  ref: m,
26031
26040
  children: [
26032
26041
  e.map((J, ge) => {
26033
- const De = ge + 1, Re = e.length + 1, Se = T(
26042
+ const De = ge + 1, Re = e.length + 1, Te = T(
26034
26043
  w.card_position_in_carousel_aria,
26035
26044
  De.toString(),
26036
26045
  Re.toString()
26037
- ), Oe = J.micro_title && J.micro_title.length > 0, It = J.micro_description && J.micro_description.length > 0, ee = Oe ? J.micro_title : J.title, ne = It ? J.micro_description : J.description;
26046
+ ), Oe = J.micro_title && J.micro_title.length > 0, xt = J.micro_description && J.micro_description.length > 0, ee = Oe ? J.micro_title : J.title, ne = xt ? J.micro_description : J.description;
26038
26047
  return /* @__PURE__ */ t(
26039
26048
  pf,
26040
26049
  {
26041
- ariaLabel: `${Se}: ${ee}, ${ne}`,
26050
+ ariaLabel: `${Te}: ${ee}, ${ne}`,
26042
26051
  beat: J,
26043
26052
  index: ge,
26044
26053
  isActiveCard: ge === Q,
@@ -26243,7 +26252,7 @@ const Di = g.createContext(null), of = ({
26243
26252
  widthOverrides: u
26244
26253
  }
26245
26254
  );
26246
- }, VE = I(zc), Yc = ({
26255
+ }, V4 = I(zc), Yc = ({
26247
26256
  ariaLabel: e,
26248
26257
  carouselSize: n,
26249
26258
  heightOverrides: i,
@@ -26285,7 +26294,7 @@ const Di = g.createContext(null), of = ({
26285
26294
  widthOverrides: d
26286
26295
  }
26287
26296
  );
26288
- }, KE = I(Yc), If = () => /* @__PURE__ */ t(
26297
+ }, K4 = I(Yc), If = () => /* @__PURE__ */ t(
26289
26298
  L,
26290
26299
  {
26291
26300
  sx: {
@@ -26378,7 +26387,7 @@ const Di = g.createContext(null), of = ({
26378
26387
  ] }) })
26379
26388
  ] })
26380
26389
  );
26381
- }, zE = I(xf), vf = ({
26390
+ }, z4 = I(xf), vf = ({
26382
26391
  isActiveCard: e,
26383
26392
  ariaLabel: n,
26384
26393
  clientColorScheme: i,
@@ -26532,7 +26541,7 @@ const Di = g.createContext(null), of = ({
26532
26541
  sx: c === "mini" ? { gap: 0, mb: 0 } : { gap: { xs: 4, xl: 8 }, mb: { xs: 4, xl: 8 } },
26533
26542
  children: [
26534
26543
  /* @__PURE__ */ t(
26535
- kt,
26544
+ Gt,
26536
26545
  {
26537
26546
  categoryGuid: n ? N.INCOME : h.guid,
26538
26547
  size: c === "mini" ? 24 : f,
@@ -26683,7 +26692,7 @@ const Di = g.createContext(null), of = ({
26683
26692
  children: /* @__PURE__ */ t(Of, {})
26684
26693
  }
26685
26694
  ) : /* @__PURE__ */ t(_e, {});
26686
- }, YE = I(Lf), Mf = ({
26695
+ }, Y4 = I(Lf), Mf = ({
26687
26696
  data: e,
26688
26697
  onSelected: n,
26689
26698
  selectedId: i = "",
@@ -26934,7 +26943,7 @@ const Di = g.createContext(null), of = ({
26934
26943
  )
26935
26944
  ] });
26936
26945
  }, Pf = I(Hf), Ff = ({ onBackClick: e, sx: n = {} }) => {
26937
- const { visibleAccounts: i } = Ee(), { spending: a } = x(), { isCopyLoaded: o, isInitialized: r, setDisplayedDate: s, setSelectedAccounts: c } = de(), { onEvent: d } = j(), [u, _] = g.useState(!1);
26946
+ const { visibleAccounts: i } = Se(), { spending: a } = x(), { isCopyLoaded: o, isInitialized: r, setDisplayedDate: s, setSelectedAccounts: c } = de(), { onEvent: d } = j(), [u, _] = g.useState(!1);
26938
26947
  g.useEffect(() => {
26939
26948
  c(i);
26940
26949
  }, [i]), g.useEffect(() => {
@@ -26955,7 +26964,7 @@ const Di = g.createContext(null), of = ({
26955
26964
  children: /* @__PURE__ */ t(L, { height: "calc(100dvh - 150px)", overflow: "scroll", width: "100%", children: /* @__PURE__ */ t(Pf, {}) })
26956
26965
  }
26957
26966
  );
26958
- }, jE = I(Ff), Wf = (e) => In[e] ?? In.default, $f = (e) => ra[e];
26967
+ }, j4 = I(Ff), Wf = (e) => In[e] ?? In.default, $f = (e) => ra[e];
26959
26968
  function Uf(e, n) {
26960
26969
  const i = [], a = new Date(e);
26961
26970
  for (; a <= n; ) {
@@ -27001,7 +27010,7 @@ const Vf = (e) => e.reduce((i, a) => {
27001
27010
  {
27002
27011
  "aria-label": T(i.category_icon_label_aria, a),
27003
27012
  role: "img",
27004
- children: /* @__PURE__ */ t(kt, { categoryGuid: n })
27013
+ children: /* @__PURE__ */ t(Gt, { categoryGuid: n })
27005
27014
  }
27006
27015
  ),
27007
27016
  /* @__PURE__ */ t(p, { sx: { ml: 12, pb: 6 }, variant: "Small", children: a })
@@ -27131,7 +27140,7 @@ const Vf = (e) => e.reduce((i, a) => {
27131
27140
  }, eb = I(Jf), tb = {
27132
27141
  view_transactions: "View Transactions"
27133
27142
  }, nb = ({ onBackClick: e, sx: n }) => {
27134
- 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 } = de(), { 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({
27143
+ const i = at(), { onEvent: a } = j(), { isDesktop: o, isTablet: r, isMobile: s } = Ce(), { visibleAccounts: c } = Se(), { loadMonthlyCategoryTotals: d, monthlyCategoryTotals: u, getCategoryName: _ } = $e(), { sortedTransactions: h } = Ne(), { isCopyLoaded: m, isInitialized: C, selectedAccounts: f, setSelectedAccounts: E } = de(), { 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({
27135
27144
  start: zo(Ye(Yt(/* @__PURE__ */ new Date(), 6)), 1),
27136
27145
  end: Ye(/* @__PURE__ */ new Date())
27137
27146
  });
@@ -27179,11 +27188,11 @@ const Vf = (e) => e.reduce((i, a) => {
27179
27188
  a(W.TRENDS_CLICK_FILTER);
27180
27189
  }, Re = (ne) => {
27181
27190
  k(ne);
27182
- }, Se = (ne) => {
27191
+ }, Te = (ne) => {
27183
27192
  k(ne), a(W.TRENDS_CLICK_LEGEND, { category: _(ne) });
27184
27193
  }, Oe = (ne) => {
27185
27194
  a(W.TRENDS_HOVER_LEGEND, { category: _(ne) });
27186
- }, It = (ne) => {
27195
+ }, xt = (ne) => {
27187
27196
  a(W.TRENDS_HOVER_AREA, { category: ne });
27188
27197
  }, ee = (ne) => {
27189
27198
  a(W.TRENDS_HOVER_POINT, { category: ne });
@@ -27285,8 +27294,8 @@ const Vf = (e) => e.reduce((i, a) => {
27285
27294
  B === "Chart" && /* @__PURE__ */ t(
27286
27295
  H_,
27287
27296
  {
27288
- onClickLegend: Se,
27289
- onHoverArea: It,
27297
+ onClickLegend: Te,
27298
+ onHoverArea: xt,
27290
27299
  onHoverLegend: Oe,
27291
27300
  onHoverPoint: ee,
27292
27301
  stackedDatasets: Q.stackedDatasets,
@@ -27318,7 +27327,7 @@ const Vf = (e) => e.reduce((i, a) => {
27318
27327
  ]
27319
27328
  }
27320
27329
  );
27321
- }, XE = I(nb), ib = () => {
27330
+ }, X4 = I(nb), ib = () => {
27322
27331
  const e = at(), { monthlyCategoryTotals: n } = $e(), { trends: i } = x(), a = am(n);
27323
27332
  return /* @__PURE__ */ t(
27324
27333
  ro,
@@ -27349,7 +27358,7 @@ const Vf = (e) => e.reduce((i, a) => {
27349
27358
  children: a ? /* @__PURE__ */ t(ab, {}) : /* @__PURE__ */ t(_e, {})
27350
27359
  }
27351
27360
  ) : /* @__PURE__ */ t(_e, {});
27352
- }, ZE = I(ob);
27361
+ }, Z4 = I(ob);
27353
27362
  export {
27354
27363
  W as ANALYTICS_EVENTS,
27355
27364
  Kr as AccountApi,
@@ -27364,30 +27373,30 @@ export {
27364
27373
  Pd as AccountSubType,
27365
27374
  se as AccountType,
27366
27375
  Qa as AccountTypeName,
27367
- BE as AccountsMiniWidget,
27368
- GE as AccountsWidget,
27376
+ B4 as AccountsMiniWidget,
27377
+ G4 as AccountsWidget,
27369
27378
  Qh as AddAccountModal,
27370
27379
  ac as AddRecurringTransactionDetails,
27371
27380
  o_ as AnalyticsApi,
27372
27381
  G as ApiEndpoints,
27373
27382
  af as AppStore,
27374
27383
  Zo as BannerApi,
27375
- dE as BarChart,
27384
+ d4 as BarChart,
27376
27385
  jn as BeatApi,
27377
27386
  pf as BeatCard,
27378
27387
  Hi as BottomActions,
27379
- FE as BubbleBudgetsMiniWidget,
27380
- WE as BubbleBudgetsWidget,
27388
+ F4 as BubbleBudgetsMiniWidget,
27389
+ W4 as BubbleBudgetsWidget,
27381
27390
  Fr as BudgetNotificationProfiles,
27382
27391
  qn as BudgetNotificationTypes,
27383
27392
  I_ as Calendar,
27384
27393
  Ps as CalendarSelectionTypes,
27385
27394
  Tf as CarouselHeader,
27386
- EE as CashflowApi,
27387
- hE as CashflowMiniWidget,
27395
+ E4 as CashflowApi,
27396
+ h4 as CashflowMiniWidget,
27388
27397
  Ug as CashflowOnboarding,
27389
27398
  zg as CashflowStore,
27390
- yE as CashflowWidget,
27399
+ y4 as CashflowWidget,
27391
27400
  qo as CategoryApi,
27392
27401
  In as CategoryColors,
27393
27402
  ra as CategoryGuidToName,
@@ -27400,7 +27409,7 @@ export {
27400
27409
  df as ChartFilledIcon,
27401
27410
  Us as ConnectCard,
27402
27411
  $n as ConnectDrawer,
27403
- HE as ConnectMiniWidget,
27412
+ H4 as ConnectMiniWidget,
27404
27413
  Ln as ConnectionStatus,
27405
27414
  _t as ConnectionStatusEnums,
27406
27415
  zi as CurrencyCodes,
@@ -27409,14 +27418,14 @@ export {
27409
27418
  re as DATE_FORMATS_INTL,
27410
27419
  ws as DEFAULT_DONUT_SIZE,
27411
27420
  Ns as DEFAULT_STROKE_WIDTH,
27412
- $E as Dashboard,
27421
+ $4 as Dashboard,
27413
27422
  Pi as DashboardLocation,
27414
27423
  ka as DataRow,
27415
27424
  ir as DateRangeSelector,
27416
27425
  gc as DebtsChart,
27417
27426
  Ym as DebtsStore,
27418
27427
  Bm as DebtsTable,
27419
- TE as DebtsWidget,
27428
+ T4 as DebtsWidget,
27420
27429
  D1 as DeviceTab,
27421
27430
  Me as Dialog,
27422
27431
  Fs as Donut,
@@ -27426,86 +27435,86 @@ export {
27426
27435
  Is as ErrorStatuses,
27427
27436
  Du as ExpenseStatus,
27428
27437
  ot as Fetch,
27429
- vt as FieldType,
27438
+ wt as FieldType,
27430
27439
  me as Frequency,
27431
27440
  _i as GlobalCopyApi,
27432
27441
  Z_ as GlobalCopyStore,
27433
27442
  Pn as GlobalDataContext,
27434
- sE as GlobalDataProvider,
27435
- kE as GlobalStore,
27443
+ s4 as GlobalDataProvider,
27444
+ k4 as GlobalStore,
27436
27445
  wr as GoalApi,
27437
27446
  up as GoalStore,
27438
27447
  Pa as GoalType,
27439
- IE as GoalsMicroWidget,
27440
- AE as GoalsWidget,
27448
+ I4 as GoalsMicroWidget,
27449
+ A4 as GoalsWidget,
27441
27450
  Lc as Help,
27442
- DE as HelpWidget,
27451
+ D4 as HelpWidget,
27443
27452
  Ja as INCOME_ACCOUNT_TYPES,
27444
27453
  vn as IconBacking,
27445
27454
  lo as InformationTooltip,
27446
27455
  Ve as InsightNotificationTypes,
27447
- zE as InsightsMicroWidget,
27456
+ z4 as InsightsMicroWidget,
27448
27457
  of as InsightsMicroWidgetDataProvider,
27449
27458
  Wr as InsightsNotificationProfiles,
27450
- UE as InvestmentsWidget,
27459
+ U4 as InvestmentsWidget,
27451
27460
  zd as IterationItemTypes,
27452
- eE as LOADING_STATUS,
27461
+ e4 as LOADING_STATUS,
27453
27462
  ro as LineChart,
27454
27463
  Jt as ListItemAction,
27455
27464
  X_ as ListItemWrapper,
27456
27465
  _e as Loader,
27457
- oE as LocalizedCopyApi,
27466
+ o4 as LocalizedCopyApi,
27458
27467
  rg as ManageExpenses,
27459
27468
  Co as ManageIncome,
27460
27469
  xn as MemberConnectionStatus,
27461
- xE as MerchantLookup,
27470
+ x4 as MerchantLookup,
27462
27471
  Gp as MerchantStore,
27463
- wt as MetaType,
27472
+ Nt as MetaType,
27464
27473
  As as MfaStatuses,
27465
27474
  yf as MicroBeatCarousel,
27466
27475
  Ca as MicroInsightCard,
27467
27476
  co as MicroWidgetContainer,
27468
27477
  Dn as MiniWidgetContainer,
27469
27478
  hf as MonthlySpendComparisonIcon,
27470
- _E as MultiSegmentDonut,
27479
+ _4 as MultiSegmentDonut,
27471
27480
  Hp as NetWorthChart,
27472
27481
  $p as NetWorthList,
27473
- vE as NetWorthMicroWidget,
27482
+ v4 as NetWorthMicroWidget,
27474
27483
  Jp as NetWorthStore,
27475
27484
  Kp as NetWorthSummary,
27476
- wE as NetWorthWidget,
27477
- VE as NoRelevantInsightsCard,
27485
+ w4 as NetWorthWidget,
27486
+ V4 as NoRelevantInsightsCard,
27478
27487
  xs as NonConnectedStatuses,
27479
27488
  Qo as NotificationApi,
27480
- ME as NotificationDrawer,
27489
+ M4 as NotificationDrawer,
27481
27490
  C1 as NotificationList,
27482
27491
  qi as NotificationSettings,
27483
- OE as NotificationSettingsWidget,
27492
+ O4 as NotificationSettingsWidget,
27484
27493
  l1 as NotificationStore,
27485
- xt as NotificationTypes,
27494
+ vt as NotificationTypes,
27486
27495
  Hd as ORDINAL_DATE_FORMAT,
27487
- Z4 as ORDINAL_MONTH_DAY_YEAR_FORMAT,
27496
+ ZE as ORDINAL_MONTH_DAY_YEAR_FORMAT,
27488
27497
  eo as PAYMENT_ACCOUNT_TYPES,
27489
27498
  Yo as PaymentCategories,
27490
27499
  Kd as PlanTypes,
27491
27500
  Fd as ProcessingStatuses,
27492
27501
  I1 as ProfileTab,
27493
27502
  Ts as PropertyType,
27494
- Q4 as PropertyTypeName,
27495
- J4 as RECURRENCE_COPY,
27503
+ QE as PropertyTypeName,
27504
+ JE as RECURRENCE_COPY,
27496
27505
  Je as RecurrenceStatus,
27497
27506
  zt as RecurrenceType,
27498
27507
  Vd as RecurrenceTypes,
27499
27508
  sc as RecurringSettings,
27500
- bE as RecurringTransactionsMicroWidget,
27501
- fE as RecurringTransactionsMiniWidget,
27509
+ b4 as RecurringTransactionsMicroWidget,
27510
+ f4 as RecurringTransactionsMiniWidget,
27502
27511
  Cg as RecurringTransactionsStore,
27503
- CE as RecurringTransactionsWidget,
27512
+ C4 as RecurringTransactionsWidget,
27504
27513
  an as RepeatingType,
27505
- uE as ResponsiveButton,
27514
+ u4 as ResponsiveButton,
27506
27515
  to as SPENDING_ACCOUNT_TYPES,
27507
27516
  Ru as ScheduledPaymentTypes,
27508
- rE as ScheduledPaymentsApi,
27517
+ r4 as ScheduledPaymentsApi,
27509
27518
  Ou as ScreenSize,
27510
27519
  da as SearchBox,
27511
27520
  Mi as Select,
@@ -27514,16 +27523,16 @@ export {
27514
27523
  Br as SettingsApi,
27515
27524
  y1 as SettingsStore,
27516
27525
  Kn as SettingsTabs,
27517
- RE as SettingsWidget,
27526
+ R4 as SettingsWidget,
27518
27527
  mC as SettingsWidgetContents,
27519
27528
  so as SingleSegmentDonut,
27520
27529
  Yd as Sizes,
27521
- YE as SpendingMiniWidget,
27522
- jE as SpendingWidget,
27530
+ Y4 as SpendingMiniWidget,
27531
+ j4 as SpendingWidget,
27523
27532
  H_ as StackedLineChart,
27524
27533
  Xn as StatusBar,
27525
- q4 as StatusName,
27526
- PE as SurveyMiniWidget,
27534
+ qE as StatusName,
27535
+ P4 as SurveyMiniWidget,
27527
27536
  oi as TOUCH_TARGET,
27528
27537
  Y as TRANSACTION_EVENTS,
27529
27538
  Zn as TabContentContainer,
@@ -27536,14 +27545,14 @@ export {
27536
27545
  Rn as TransactionList,
27537
27546
  go as TransactionRow,
27538
27547
  Dc as TransactionRulesTab,
27539
- LE as TransactionRulesWidget,
27548
+ L4 as TransactionRulesWidget,
27540
27549
  ho as TransactionStatus,
27541
27550
  Mu as TransactionStore,
27542
27551
  nh as TransactionTable,
27543
27552
  Kt as TransactionType,
27544
- pE as TransactionWidget,
27545
- XE as TrendsFullWidget,
27546
- ZE as TrendsMiniWidget,
27553
+ p4 as TransactionWidget,
27554
+ X4 as TrendsFullWidget,
27555
+ Z4 as TrendsMiniWidget,
27547
27556
  ya as UserApi,
27548
27557
  bC as UserStore,
27549
27558
  Nu as UserVerification,
@@ -27552,11 +27561,11 @@ export {
27552
27561
  bt as WidgetContainer,
27553
27562
  Os as WidgetContainerContext,
27554
27563
  Ls as WidgetContainerProvider,
27555
- KE as ZeroStateCard,
27564
+ K4 as ZeroStateCard,
27556
27565
  $c as ZeroStateIcon,
27557
27566
  Bd as analyticsSession,
27558
27567
  T as buildDynamicCopy,
27559
- iE as buildPluralCopy,
27568
+ i4 as buildPluralCopy,
27560
27569
  zs as exportTransactionsToCSV,
27561
27570
  P as formatCurrency,
27562
27571
  ce as formatDate,
@@ -27566,16 +27575,16 @@ export {
27566
27575
  lc as getAccountBalanceDetails,
27567
27576
  Ag as getAccountDetailFields,
27568
27577
  Xo as getCategory,
27569
- tE as getCategoryTotalsByParent,
27570
- aE as getClientTheme,
27578
+ t4 as getCategoryTotalsByParent,
27579
+ a4 as getClientTheme,
27571
27580
  n_ as getCurrencyCodes,
27572
27581
  jd as getDetailedCategory,
27573
27582
  Xd as getDetailedSubCategory,
27574
27583
  Nn as getLocale,
27575
- NE as getNotificationDetailRoute,
27576
- nE as isIncome,
27584
+ N4 as getNotificationDetailRoute,
27585
+ n4 as isIncome,
27577
27586
  Ma as isValidNumber,
27578
- Ee as useAccountStore,
27587
+ Se as useAccountStore,
27579
27588
  Ht as useAccountUiStore,
27580
27589
  Fn as useAppConfig,
27581
27590
  lt as useBudgetsStore,
@@ -27596,14 +27605,14 @@ export {
27596
27605
  s_ as useMerchantStore,
27597
27606
  ks as useNetWorthStore,
27598
27607
  Gs as useNotificationStore,
27599
- cE as usePageView,
27600
- lE as usePrevious,
27608
+ c4 as usePageView,
27609
+ l4 as usePrevious,
27601
27610
  ze as useRecurringTransactionsStore,
27602
27611
  Ce as useScreenSize,
27603
27612
  pt as useSettingsStore,
27604
27613
  Ne as useTransactionStore,
27605
- Lt as useTransactionsUiStore,
27606
- Bt as useUserStore,
27614
+ It as useTransactionsUiStore,
27615
+ Mt as useUserStore,
27607
27616
  Wn as useWidgetContainerProvider
27608
27617
  };
27609
27618
  //# sourceMappingURL=index.es.js.map