@mx-cartographer/experiences 6.26.19 → 6.26.21-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
@@ -6,7 +6,7 @@ import P from "@mui/material/Divider";
6
6
  import ae from "@mui/material/List";
7
7
  import $t from "@mui/material/ListSubheader";
8
8
  import Oe from "@mui/system/Stack";
9
- import { AccountsIcon as Ul, P as X, Icon as U, useTokens as At, Text as C, H2 as fn, CategoryIcon as Lt, DialogHeader as Vl, DialogFooter as Kl, Drawer as zl, Footer as Yl, DateRangePicker as sr, H3 as qe, H1 as Qt, TextField as Ln, IconWeight as It, MerchantLogo as Jt, CategoryIconList as jl, CategoryIconVariants as Bs, InstitutionLogo as Tt, ChevronRightIcon as Hs, THEMES as cr } from "@mxenabled/mxui";
9
+ import { AccountsIcon as Ul, P as X, Icon as U, useTokens as At, Text as C, H2 as fn, CategoryIcon as Lt, DialogHeader as Vl, DialogFooter as Kl, Drawer as zl, Footer as Yl, DateRangePicker as sr, H3 as Qe, H1 as Qt, TextField as Ln, IconWeight as It, MerchantLogo as Jt, CategoryIconList as jl, CategoryIconVariants as Bs, InstitutionLogo as Tt, ChevronRightIcon as Hs, THEMES as cr } from "@mxenabled/mxui";
10
10
  import Xl from "bowser";
11
11
  import { getUnixTime as Fe } from "date-fns/getUnixTime";
12
12
  import { intlFormat as Zl } from "date-fns/intlFormat";
@@ -18,7 +18,7 @@ import { getDay as ql } from "date-fns/getDay";
18
18
  import { isBefore as ot } from "date-fns/isBefore";
19
19
  import { nextDay as ea } from "date-fns/nextDay";
20
20
  import { setDate as ta } from "date-fns/setDate";
21
- import { startOfToday as ve } from "date-fns/startOfToday";
21
+ import { startOfToday as Ae } from "date-fns/startOfToday";
22
22
  import { fromUnixTime as Ue } from "date-fns/fromUnixTime";
23
23
  import ja from "numeral";
24
24
  import te from "@mui/material/Button";
@@ -38,10 +38,10 @@ import { css as Cn, keyframes as td } from "@mxenabled/cssinjs";
38
38
  import { addDays as Fn } from "date-fns/addDays";
39
39
  import { eachDayOfInterval as nd } from "date-fns/eachDayOfInterval";
40
40
  import { eachWeekOfInterval as id } from "date-fns/eachWeekOfInterval";
41
- import { endOfMonth as Qe } from "date-fns/endOfMonth";
41
+ import { endOfMonth as qe } from "date-fns/endOfMonth";
42
42
  import { format as pn } from "date-fns/format";
43
43
  import { isSameMonth as ad } from "date-fns/isSameMonth";
44
- import { startOfMonth as Ze } from "date-fns/startOfMonth";
44
+ import { startOfMonth as Ye } from "date-fns/startOfMonth";
45
45
  import { subMonths as Ht } from "date-fns/subMonths";
46
46
  import Nt from "@mui/material/Paper";
47
47
  import { ChevronLeft as Ws, ChevronRight as ze, ArrowBack as od, Icon as pt, AccountBalance as co, ExpandMore as ui, CheckCircle as ma, Edit as rd, Delete as $s, Schedule as sd, MonetizationOn as cd, Cancel as Us, CurrencyExchange as ld, Check as dd, TrendingUp as Vs, ArrowRightAlt as _d, TrendingDown as Ks, Payments as lo, CalendarMonth as ud, CreditCard as zs, Savings as hd, ContentCopy as gd, MultilineChart as Ys, NoteStack as js, Person as Xs, ExpandLess as Zs, AddBox as qs, Trophy as md, Star as pd, Settings as fd } from "@mxenabled/mx-icons";
@@ -49,7 +49,7 @@ import { isSameDay as Dt } from "date-fns/isSameDay";
49
49
  import { isWithinInterval as _o } from "date-fns/isWithinInterval";
50
50
  import * as Rt from "d3";
51
51
  import { selectAll as Cd, interpolateString as bd, arc as yd } from "d3";
52
- import { useTheme as Ye, alpha as Nn, keyframes as Sd, ThemeProvider as Ed } from "@mui/material/styles";
52
+ import { useTheme as je, alpha as Nn, keyframes as Sd, ThemeProvider as Ed } from "@mui/material/styles";
53
53
  import { ResponsiveChartContainer as Td, ChartsReferenceLine as Ad, AreaPlot as xd, LinePlot as Id, MarkPlot as vd, BarPlot as wd, ChartsXAxis as Dd, ChartsYAxis as Nd, ChartsAxisHighlight as Rd, LineChart as Qs, PieChart as Od } from "@mui/x-charts";
54
54
  import { ChartsTooltip as Ld } from "@mui/x-charts/ChartsTooltip";
55
55
  import bt from "@mui/material/Card";
@@ -344,7 +344,7 @@ const G_ = async (e, n, i = "1.0.0", a = "Experiences") => {
344
344
  TRENDS_CLICK_GET_STARTED: "trends_click_getStarted",
345
345
  TRENDS_CLICK_VIEW_MORE: "trends_click_viewMore",
346
346
  TRENDS_LOAD_WIDGET: "trends_load_widget"
347
- }, B_ = "do", z2 = "MMM do, yyyy", re = {
347
+ }, B_ = "do", zT = "MMM do, yyyy", re = {
348
348
  TIME_STAMP_HOUR_MINUTE: {
349
349
  hour: "numeric",
350
350
  minute: "numeric"
@@ -429,7 +429,7 @@ const P_ = [
429
429
  /* IMPAIRED */
430
430
  ], uc = [..._c, ...dc];
431
431
  var Yn = /* @__PURE__ */ ((e) => (e.Connected = "Connected", e.Error = "Error", e.Processing = "Processing", e.RequiresMfa = "RequiresMfa", e))(Yn || {});
432
- const Y2 = {
432
+ const YT = {
433
433
  3: "Challenged",
434
434
  12: "Closed",
435
435
  9: "Degraded",
@@ -479,7 +479,7 @@ const Y2 = {
479
479
  2: "savings"
480
480
  }, F_ = {
481
481
  5: "bid_landscape"
482
- }, j2 = {
482
+ }, jT = {
483
483
  0: "Real Estate",
484
484
  1: "Vehicle",
485
485
  2: "Art",
@@ -819,7 +819,7 @@ const Y2 = {
819
819
  UNKNOWN: "help"
820
820
  }, br = 9999999999e-2;
821
821
  var oa = /* @__PURE__ */ ((e) => (e.CAD = "CAD", e.USD = "USD", e))(oa || {}), U_ = /* @__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))(U_ || {});
822
- const X2 = [
822
+ const XT = [
823
823
  { id: 0, copy: "frequency_unknown" },
824
824
  { id: 1, copy: "frequency_every_week" },
825
825
  { id: 2, copy: "frequency_every_other_week" },
@@ -828,7 +828,7 @@ const X2 = [
828
828
  { id: 5, copy: "frequency_every_quarter" },
829
829
  { id: 6, copy: "frequency_every_other_quarter" },
830
830
  { id: 7, copy: "frequency_every_year" }
831
- ], Z2 = {
831
+ ], ZT = {
832
832
  ERROR: "ERROR",
833
833
  LOADING: "LOADING",
834
834
  SUCCESS: "SUCCESS"
@@ -840,7 +840,7 @@ const Ii = 44, yr = (e, n) => e.find((i) => i.guid === n), Y_ = (e, n) => e.find
840
840
  const i = e.find((a) => a.subCategories.find((o) => o.guid === n));
841
841
  if (i)
842
842
  return i.subCategories.find((a) => a.guid === n);
843
- }, q2 = (e, n) => {
843
+ }, qT = (e, n) => {
844
844
  const i = [];
845
845
  for (const a of n) {
846
846
  const o = yr(e, a.category_guid);
@@ -861,21 +861,21 @@ const Ii = 44, yr = (e, n) => e.find((i) => i.guid === n), Y_ = (e, n) => e.find
861
861
  });
862
862
  }
863
863
  return i;
864
- }, Q2 = (e, n) => {
864
+ }, QT = (e, n) => {
865
865
  const i = e.find((a) => a.guid === n);
866
866
  return i ? i.guid === D.INCOME || i.parent_guid === D.INCOME : !1;
867
867
  }, Io = (e) => {
868
868
  const n = ql(e);
869
869
  let i = ea(e, n);
870
- for (; ot(i, ve()); )
870
+ for (; ot(i, Ae()); )
871
871
  i = Ps(i, 1);
872
872
  return i;
873
873
  }, X_ = (e) => {
874
874
  const n = Io(e);
875
875
  return Ps(n, 1);
876
876
  }, Z_ = (e) => {
877
- let n = ta(ve(), e.getDate());
878
- for (; ot(n, ve()); )
877
+ let n = ta(Ae(), e.getDate());
878
+ for (; ot(n, Ae()); )
879
879
  n = rn(n, 1);
880
880
  return n;
881
881
  }, q_ = (e) => {
@@ -883,7 +883,7 @@ const Ii = 44, yr = (e, n) => e.find((i) => i.guid === n), Y_ = (e, n) => e.find
883
883
  return rn(n, 1);
884
884
  }, pc = (e) => {
885
885
  let n = Mi(e, 1);
886
- for (; ot(n, ve()); )
886
+ for (; ot(n, Ae()); )
887
887
  n = Mi(n, 1);
888
888
  return n;
889
889
  }, Q_ = (e) => {
@@ -909,7 +909,7 @@ const Ii = 44, yr = (e, n) => e.find((i) => i.guid === n), Y_ = (e, n) => e.find
909
909
  []
910
910
  );
911
911
  return i ? o : o.join("");
912
- }, J2 = (e, n, i, ...a) => !e || !n ? "" : T(i === 1 ? e : n, ...a), Wn = () => {
912
+ }, JT = (e, n, i, ...a) => !e || !n ? "" : T(i === 1 ? e : n, ...a), Wn = () => {
913
913
  const e = "en-us", n = ["en-us", "en-ca", "fr", "fr-ca", "es"], i = window?.app?.options?.language?.toLowerCase() ?? "", a = window.navigator.language.toLowerCase();
914
914
  return i === "browser" && n.includes(a) ? a : n.includes(i) ? i : e;
915
915
  };
@@ -1003,7 +1003,7 @@ const H = (e, n, i) => {
1003
1003
  }) => {
1004
1004
  const a = iu(n).select(e);
1005
1005
  return `${e}${i[a]}`;
1006
- }, eT = (e, n) => {
1006
+ }, e2 = (e, n) => {
1007
1007
  const i = e.palette.mode === "dark", a = (s, c) => {
1008
1008
  const l = n?.[s];
1009
1009
  return {
@@ -1229,7 +1229,7 @@ class Ri {
1229
1229
  }
1230
1230
  getGlobalCopy = async (n, i) => this.fetchInstance.post(`${B.LOCALIZED_CONTENT}/${n}`, { translation_key: i }).then((a) => a);
1231
1231
  }
1232
- class tT {
1232
+ class t2 {
1233
1233
  fetchInstance;
1234
1234
  constructor(n, i) {
1235
1235
  this.fetchInstance = new dt(n, i);
@@ -1253,7 +1253,7 @@ class Tr {
1253
1253
  // A bug ticket has been filed to fix it, but should not require any changes here.
1254
1254
  markAllAsViewed = (n) => this.fetchInstance.put(`${B.NOTIFICATIONS}/mark_all_as_viewed`, { channel: n }).finally();
1255
1255
  }
1256
- class nT {
1256
+ class n2 {
1257
1257
  fetchInstance;
1258
1258
  constructor(n, i) {
1259
1259
  this.fetchInstance = new dt(n, i);
@@ -1290,7 +1290,7 @@ const Pa = (e, n) => e.reduce((i, a) => (i[a.guid] = n?.includes(a.guid), i), {}
1290
1290
  guid: a.guid
1291
1291
  };
1292
1292
  return Object.prototype.hasOwnProperty.call(i, o) ? i[o] = i[o].concat(r) : i[o] = [r], i;
1293
- }, {}), ti = g.createContext(null), iT = ({
1293
+ }, {}), ti = g.createContext(null), i2 = ({
1294
1294
  children: e,
1295
1295
  globalStore: n,
1296
1296
  onEvent: i,
@@ -1321,7 +1321,7 @@ const Pa = (e, n) => e.reduce((i, a) => (i[a.guid] = n?.includes(a.guid), i), {}
1321
1321
  if (!n)
1322
1322
  throw new Error(`${e}() must be used within the GlobalDataContext`);
1323
1323
  return n;
1324
- }, be = () => nt("useAccountStore").globalStore.accountStore, wt = () => nt("useAppConfig").globalStore.appDataStore.appConfig, wo = () => nt("useAnalyticsStore").globalStore.analyticsStore, ut = () => nt("useBudgetsStore").globalStore.budgetsStore, Do = () => nt("useCashflowStore").globalStore.cashflowStore, $e = () => nt("useCategoryStore").globalStore.categoryStore, bc = () => nt("useConnectStore").globalStore.connectStore, Sa = () => nt("useDebtsStore").globalStore.debtsStore, bi = () => nt("useFinstrongStore").globalStore.finstrongStore, yi = () => nt("useGlobalStore").globalStore, ce = () => nt("useGlobalUiStore").globalStore.globalUiStore, A = () => nt("globalCopyStore").globalStore.copyStore.copy, _t = () => nt("useGoalStore").globalStore.goalStore, No = () => nt("useHelpStore").globalStore.helpStore, Xn = () => nt("useHoldingStore").globalStore.holdingStore, ru = () => nt("useMerchantStore").globalStore.merchantStore, yc = () => nt("useNetWorthStore").globalStore.netWorthStore, Sc = () => nt("useNotificationStore").globalStore.notificationStore, rt = () => nt("useRecurringTransactionsStore").globalStore.recurringTransactionsStore, yt = () => nt("useSettingsStore").globalStore.settingsStore, Le = () => nt("useTransactionStore").globalStore.transactionStore, Si = () => nt("useTrendsStore").globalStore.trendsStore, ft = () => nt("useUserStore").globalStore.userStore, q = () => ({ onEvent: nt().onEvent }), aT = () => ({ onPageView: nt().onPageView }), su = (e = "useWidgetContainerContext") => {
1324
+ }, be = () => nt("useAccountStore").globalStore.accountStore, wt = () => nt("useAppConfig").globalStore.appDataStore.appConfig, wo = () => nt("useAnalyticsStore").globalStore.analyticsStore, ut = () => nt("useBudgetsStore").globalStore.budgetsStore, Do = () => nt("useCashflowStore").globalStore.cashflowStore, $e = () => nt("useCategoryStore").globalStore.categoryStore, bc = () => nt("useConnectStore").globalStore.connectStore, Sa = () => nt("useDebtsStore").globalStore.debtsStore, bi = () => nt("useFinstrongStore").globalStore.finstrongStore, yi = () => nt("useGlobalStore").globalStore, ce = () => nt("useGlobalUiStore").globalStore.globalUiStore, A = () => nt("globalCopyStore").globalStore.copyStore.copy, _t = () => nt("useGoalStore").globalStore.goalStore, No = () => nt("useHelpStore").globalStore.helpStore, Xn = () => nt("useHoldingStore").globalStore.holdingStore, ru = () => nt("useMerchantStore").globalStore.merchantStore, yc = () => nt("useNetWorthStore").globalStore.netWorthStore, Sc = () => nt("useNotificationStore").globalStore.notificationStore, rt = () => nt("useRecurringTransactionsStore").globalStore.recurringTransactionsStore, yt = () => nt("useSettingsStore").globalStore.settingsStore, Le = () => nt("useTransactionStore").globalStore.transactionStore, Si = () => nt("useTrendsStore").globalStore.trendsStore, ft = () => nt("useUserStore").globalStore.userStore, q = () => ({ onEvent: nt().onEvent }), a2 = () => ({ onPageView: nt().onPageView }), su = (e = "useWidgetContainerContext") => {
1325
1325
  const n = g.useContext(Cc);
1326
1326
  if (!n)
1327
1327
  throw new Error(`${e}() must be used within the WidgetContainerContext`);
@@ -1578,7 +1578,7 @@ const cu = (e, n) => {
1578
1578
  // Between 600 and 1200
1579
1579
  isTablet: e > a && e <= r
1580
1580
  }), c;
1581
- }, oT = (e) => {
1581
+ }, o2 = (e) => {
1582
1582
  const n = Gs();
1583
1583
  return Pn(() => {
1584
1584
  n.current = e;
@@ -1853,7 +1853,7 @@ const cu = (e, n) => {
1853
1853
  }), mu = (e, n) => e + n, pu = (e, n) => Math.abs(n) > e ? Math.abs(n) : e, fu = (e, n) => [...e, n.value], vr = (e, n, i) => {
1854
1854
  const a = e && n ? i / 2 : i;
1855
1855
  return e ? a : 0;
1856
- }, Cu = (e, n, i, a) => e / (n < 0 ? -i : n) * a || 0, rT = ({
1856
+ }, Cu = (e, n, i, a) => e / (n < 0 ? -i : n) * a || 0, r2 = ({
1857
1857
  average: e,
1858
1858
  barWidth: n = "8%",
1859
1859
  color: i,
@@ -1935,7 +1935,7 @@ const cu = (e, n) => {
1935
1935
  gap: 4
1936
1936
  }
1937
1937
  }), Eu = ({ beginDate: e, date: n, endDate: i, isInMonth: a, onClick: o }) => {
1938
- const r = Ee(), s = Tu(r), c = e && i && _o(n, { start: e, end: i }) && !Dt(n, e) && !Dt(n, i), l = e && i && Dt(e, n) && !Dt(e, i), u = i && e && Dt(i, n) && !Dt(e, i), _ = e && Dt(e, n) || i && Dt(i, n), h = Dt(n, ve());
1938
+ const r = Ee(), s = Tu(r), c = e && i && _o(n, { start: e, end: i }) && !Dt(n, e) && !Dt(n, i), l = e && i && Dt(e, n) && !Dt(e, i), u = i && e && Dt(i, n) && !Dt(e, i), _ = e && Dt(e, n) || i && Dt(i, n), h = Dt(n, Ae());
1939
1939
  return /* @__PURE__ */ t(
1940
1940
  "div",
1941
1941
  {
@@ -2027,12 +2027,12 @@ const xu = ({
2027
2027
  selectionType: r = "Single"
2028
2028
  /* Single */
2029
2029
  }) => {
2030
- const s = At(), c = Iu(s), [l, u] = g.useState(ve), [_, h] = g.useState(n), [p, m] = g.useState(i);
2030
+ const s = At(), c = Iu(s), [l, u] = g.useState(Ae), [_, h] = g.useState(n), [p, m] = g.useState(i);
2031
2031
  g.useEffect(() => {
2032
2032
  h(n), m(i), n && u(n);
2033
2033
  }, [n, i]);
2034
2034
  const f = g.useMemo(() => {
2035
- const v = id({ start: Ze(l), end: Qe(l) }), w = [];
2035
+ const v = id({ start: Ye(l), end: qe(l) }), w = [];
2036
2036
  for (let N = 0; N < v.length; N++) {
2037
2037
  const R = v[N], M = nd({ start: R, end: Fn(R, 6) }), k = [];
2038
2038
  for (let G = 0; G < M.length; G++)
@@ -2049,7 +2049,7 @@ const xu = ({
2049
2049
  !_ || p ? (h(v), m(void 0)) : ot(v, _) ? (m(_), h(v), o?.(v, _)) : (m(v), o?.(_, v));
2050
2050
  }
2051
2051
  }, y = () => {
2052
- const v = ve();
2052
+ const v = Ae();
2053
2053
  u(v), r !== "None" && (h(v), r === "Single" ? a?.(v) : (m(v), o?.(v, v)));
2054
2054
  }, E = () => {
2055
2055
  u(rn(l, 1));
@@ -2171,7 +2171,7 @@ const xu = ({
2171
2171
  )
2172
2172
  ] });
2173
2173
  }, Nu = (e) => {
2174
- const n = Ye(), i = e.showLabel, a = e.style, o = Number(e.x), r = Number(e.y), s = e.handlers?.onMarkClick, c = e.handlers?.onMouseEnter, l = e.handlers?.onMouseLeave, u = un(n.breakpoints.up("sm")), _ = e.valueFormatterString ? H(e.yData[e.dataIndex], e.valueFormatterString) : String(e.yData[e.dataIndex]), h = u ? n.typography.Small?.fontSize : n.typography.XSmall?.fontSize, p = h ? parseFloat(h.toString()) * 0.6 : 8, y = _.length * p + 8 + 8, E = 24, I = o - y / 2, v = r - 30;
2174
+ const n = je(), i = e.showLabel, a = e.style, o = Number(e.x), r = Number(e.y), s = e.handlers?.onMarkClick, c = e.handlers?.onMouseEnter, l = e.handlers?.onMouseLeave, u = un(n.breakpoints.up("sm")), _ = e.valueFormatterString ? H(e.yData[e.dataIndex], e.valueFormatterString) : String(e.yData[e.dataIndex]), h = u ? n.typography.Small?.fontSize : n.typography.XSmall?.fontSize, p = h ? parseFloat(h.toString()) * 0.6 : 8, y = _.length * p + 8 + 8, E = 24, I = o - y / 2, v = r - 30;
2175
2175
  return /* @__PURE__ */ d(Z, { children: [
2176
2176
  i && /* @__PURE__ */ d(Z, { children: [
2177
2177
  e.labelBackgroundColor && /* @__PURE__ */ t(
@@ -2393,17 +2393,17 @@ const ni = ({
2393
2393
  title: L,
2394
2394
  useCustomMark: W = !1,
2395
2395
  valueFormatterString: K,
2396
- width: oe
2396
+ width: ie
2397
2397
  }) => {
2398
- const ne = Ye(), fe = r.flat().map((J) => J.x), Ae = r.flat().map((J) => J.y), Me = Math.round(Ae.reduce((J, ke) => ke + J, 0) / Ae.length), he = Math.floor(Math.min(...Ae) / 100) * 100, me = Math.ceil(Math.max(...Ae) / 100) * 100, je = r.map((J, ke) => ({
2398
+ const oe = je(), fe = r.flat().map((J) => J.x), xe = r.flat().map((J) => J.y), Me = Math.round(xe.reduce((J, ke) => ke + J, 0) / xe.length), he = Math.floor(Math.min(...xe) / 100) * 100, me = Math.ceil(Math.max(...xe) / 100) * 100, Xe = r.map((J, ke) => ({
2399
2399
  type: I ? "bar" : "line",
2400
2400
  curve: a,
2401
- color: I ? ne.palette.chart?.chart6 : i[ke] ?? ne.palette.primary.main,
2402
- data: J.map((xe) => xe.y),
2401
+ color: I ? oe.palette.chart?.chart6 : i[ke] ?? oe.palette.primary.main,
2402
+ data: J.map((Ie) => Ie.y),
2403
2403
  area: S,
2404
2404
  baseline: n,
2405
2405
  showMark: !0,
2406
- valueFormatter: (xe) => K ? H(xe || 0, K) : String(xe)
2406
+ valueFormatter: (Ie) => K ? H(Ie || 0, K) : String(Ie)
2407
2407
  })), pe = {
2408
2408
  ...{
2409
2409
  top: 60,
@@ -2419,7 +2419,7 @@ const ni = ({
2419
2419
  {
2420
2420
  height: s,
2421
2421
  margin: pe,
2422
- series: je,
2422
+ series: Xe,
2423
2423
  sx: {
2424
2424
  p: 4,
2425
2425
  "& .MuiBarLabel-root": {
@@ -2430,19 +2430,19 @@ const ni = ({
2430
2430
  opacity: 0.15
2431
2431
  }
2432
2432
  },
2433
- width: oe,
2433
+ width: ie,
2434
2434
  xAxis: [{ data: fe, scaleType: I ? "band" : "point" }],
2435
2435
  yAxis: [
2436
2436
  {
2437
2437
  min: c ? -22 : he,
2438
2438
  max: me || 100,
2439
- colorMap: S && je.length < 2 ? {
2439
+ colorMap: S && Xe.length < 2 ? {
2440
2440
  type: "continuous",
2441
2441
  min: he,
2442
2442
  max: me,
2443
2443
  color: [
2444
- ne.palette.background.paper,
2445
- i[0] ?? ne.palette.primary.main
2444
+ oe.palette.background.paper,
2445
+ i[0] ?? oe.palette.primary.main
2446
2446
  ]
2447
2447
  } : void 0,
2448
2448
  valueFormatter: (J) => K ? H(J, K) : String(J)
@@ -2453,7 +2453,7 @@ const ni = ({
2453
2453
  Ad,
2454
2454
  {
2455
2455
  lineStyle: {
2456
- stroke: u ? ne.palette.neutral.main : ne.palette.neutral.dark,
2456
+ stroke: u ? oe.palette.neutral.main : oe.palette.neutral.dark,
2457
2457
  strokeDasharray: "10, 8",
2458
2458
  strokeWidth: 2
2459
2459
  },
@@ -2469,7 +2469,7 @@ const ni = ({
2469
2469
  Ru,
2470
2470
  {
2471
2471
  ...J,
2472
- lineColor: J.ownerState.color ?? ne.palette.primary.main
2472
+ lineColor: J.ownerState.color ?? oe.palette.primary.main
2473
2473
  }
2474
2474
  )
2475
2475
  }
@@ -2489,7 +2489,7 @@ const ni = ({
2489
2489
  showLabel: w,
2490
2490
  style: f?.(J.dataIndex) ?? {},
2491
2491
  valueFormatterString: K,
2492
- yData: Ae,
2492
+ yData: xe,
2493
2493
  ...J
2494
2494
  }
2495
2495
  )
@@ -2552,7 +2552,7 @@ const ni = ({
2552
2552
  average: y ? Me : void 0,
2553
2553
  customLegendVariant: o,
2554
2554
  labels: l,
2555
- series: je,
2555
+ series: Xe,
2556
2556
  style: { position: "absolute", top: 16, left: 16 },
2557
2557
  title: L,
2558
2558
  valueFormatterString: K
@@ -2605,7 +2605,7 @@ const Ic = ({ categoryGuid: e, topLevelCategoryGuid: n }) => {
2605
2605
  ),
2606
2606
  /* @__PURE__ */ t(C, { variant: "Body", children: o })
2607
2607
  ] });
2608
- }, Xe = ({
2608
+ }, Ze = ({
2609
2609
  isIncome: e = !1,
2610
2610
  amount: n = 0,
2611
2611
  bold: i,
@@ -2624,7 +2624,7 @@ const Ic = ({ categoryGuid: e, topLevelCategoryGuid: n }) => {
2624
2624
  cursorPosition: a,
2625
2625
  chartContainerRef: o
2626
2626
  }) => {
2627
- const r = Ye(), s = Gs(null), [c, l] = xt({ x: a.x, y: a.y });
2627
+ const r = je(), s = Gs(null), [c, l] = xt({ x: a.x, y: a.y });
2628
2628
  if (Pn(() => {
2629
2629
  (() => {
2630
2630
  const h = s.current, p = o.current;
@@ -2650,7 +2650,7 @@ const Ic = ({ categoryGuid: e, topLevelCategoryGuid: n }) => {
2650
2650
  /* @__PURE__ */ d(O, { alignItems: "center", display: "flex", flexDirection: "column", children: [
2651
2651
  /* @__PURE__ */ t(Ic, { categoryGuid: e, topLevelCategoryGuid: n }),
2652
2652
  /* @__PURE__ */ t(C, { variant: "Small", children: `${i.length}-month total` }),
2653
- /* @__PURE__ */ t(Xe, { amount: u, bold: !0, formatString: "0,0", variant: "body2" })
2653
+ /* @__PURE__ */ t(Ze, { amount: u, bold: !0, formatString: "0,0", variant: "body2" })
2654
2654
  ] }),
2655
2655
  /* @__PURE__ */ t(P, { sx: { my: 16, width: "100%" } }),
2656
2656
  /* @__PURE__ */ t(st, { container: !0, children: i.map((_, h) => /* @__PURE__ */ d(g.Fragment, { children: [
@@ -2658,7 +2658,7 @@ const Ic = ({ categoryGuid: e, topLevelCategoryGuid: n }) => {
2658
2658
  /* @__PURE__ */ t(st, { item: !0, xs: 4, children: /* @__PURE__ */ d(O, { alignItems: "center", display: "flex", flexDirection: "column", children: [
2659
2659
  /* @__PURE__ */ t(C, { color: r.palette.text.secondary, variant: "XSmall", children: _.x }),
2660
2660
  /* @__PURE__ */ t(
2661
- Xe,
2661
+ Ze,
2662
2662
  {
2663
2663
  amount: _.y,
2664
2664
  bold: !0,
@@ -2681,7 +2681,7 @@ const Ic = ({ categoryGuid: e, topLevelCategoryGuid: n }) => {
2681
2681
  return s === void 0 || !c ? null : /* @__PURE__ */ t(ga, { sx: { pt: 4, px: 8 }, children: /* @__PURE__ */ t(Jl, { children: /* @__PURE__ */ d(An, { alignItems: "center", display: "flex", flexDirection: "column", children: [
2682
2682
  /* @__PURE__ */ t(Ic, { categoryGuid: e, topLevelCategoryGuid: n }),
2683
2683
  /* @__PURE__ */ t(C, { color: r.palette.text.secondary, variant: "Small", children: ue(c, re.MONTH_SHORT_YEAR) }),
2684
- /* @__PURE__ */ t(Xe, { amount: String(s), bold: !0, formatString: "0,0", variant: "Body" })
2684
+ /* @__PURE__ */ t(Ze, { amount: String(s), bold: !0, formatString: "0,0", variant: "Body" })
2685
2685
  ] }) }) });
2686
2686
  }, Fu = ({
2687
2687
  sx: e,
@@ -2751,7 +2751,7 @@ const Ic = ({ categoryGuid: e, topLevelCategoryGuid: n }) => {
2751
2751
  availableHeight: s = 0,
2752
2752
  minimumHeight: c = 350
2753
2753
  }) => {
2754
- const l = Ye(), { isMobile: u } = Ce(), [_, { height: h }] = ii(), p = g.useRef(null), [m, f] = g.useState(0);
2754
+ const l = je(), { isMobile: u } = Ce(), [_, { height: h }] = ii(), p = g.useRef(null), [m, f] = g.useState(0);
2755
2755
  g.useEffect(() => {
2756
2756
  const z = Math.max(s - h, c);
2757
2757
  f(z);
@@ -2761,11 +2761,11 @@ const Ic = ({ categoryGuid: e, topLevelCategoryGuid: n }) => {
2761
2761
  hoveredAreaData: null,
2762
2762
  isAreaHovered: !1,
2763
2763
  cursorPos: { x: 0, y: 0 }
2764
- }), { hoveredSeriesId: v, hoveredAreaData: w, isAreaHovered: N, cursorPos: R } = E, M = N && v && w, k = !M, G = [...o, ...r], L = G[0]?.dataset.length ?? 0, W = G.flatMap((z) => z.dataset.map((Be) => Be.x)), K = G.flatMap((z) => z.dataset.map((Be) => Be.y)), oe = o[0]?.dataset?.map(
2764
+ }), { hoveredSeriesId: v, hoveredAreaData: w, isAreaHovered: N, cursorPos: R } = E, M = N && v && w, k = !M, G = [...o, ...r], L = G[0]?.dataset.length ?? 0, W = G.flatMap((z) => z.dataset.map((Be) => Be.x)), K = G.flatMap((z) => z.dataset.map((Be) => Be.y)), ie = o[0]?.dataset?.map(
2765
2765
  (z, Be) => o.reduce((ct, En) => ct + En.dataset[Be]?.y || 0, 0)
2766
- ) ?? [0], ne = Math.max(...oe), fe = Math.max(
2766
+ ) ?? [0], oe = Math.max(...ie), fe = Math.max(
2767
2767
  ...r.flatMap((z) => z.dataset.map((Be) => Be.y))
2768
- ), Ae = Math.floor(Math.min(...K) / 100) * 100, Me = Math.ceil(Math.max(ne, fe) / 100) * 100, he = o.map((z, Be) => ({
2768
+ ), xe = Math.floor(Math.min(...K) / 100) * 100, Me = Math.ceil(Math.max(oe, fe) / 100) * 100, he = o.map((z, Be) => ({
2769
2769
  id: `stacked-${Be}`,
2770
2770
  guid: z.category_guid,
2771
2771
  top_level_guid: z.top_level_category_guid,
@@ -2787,7 +2787,7 @@ const Ic = ({ categoryGuid: e, topLevelCategoryGuid: n }) => {
2787
2787
  label: z.category_name,
2788
2788
  type: "line",
2789
2789
  valueFormatter: (ct) => H(ct, "0,0")
2790
- })), je = [...he, ...me], V = [
2790
+ })), Xe = [...he, ...me], V = [
2791
2791
  ...he.map(({ guid: z, top_level_guid: Be }) => ({
2792
2792
  guid: z,
2793
2793
  top_level_guid: Be
@@ -2806,11 +2806,11 @@ const Ic = ({ categoryGuid: e, topLevelCategoryGuid: n }) => {
2806
2806
  y(z), i?.(z ?? "");
2807
2807
  }, ke = (z) => {
2808
2808
  a?.(z ?? "");
2809
- }, xe = () => {
2809
+ }, Ie = () => {
2810
2810
  const z = pe(String(v)).guid;
2811
2811
  z && a?.(z);
2812
2812
  }, Ve = (z) => {
2813
- const Be = String(z?.seriesId), ct = pe(Be).guid, En = je.find((xi) => xi.id === Be), La = En && z?.dataIndex !== void 0, Ma = En && z?.dataIndex === void 0;
2813
+ const Be = String(z?.seriesId), ct = pe(Be).guid, En = Xe.find((xi) => xi.id === Be), La = En && z?.dataIndex !== void 0, Ma = En && z?.dataIndex === void 0;
2814
2814
  if (La)
2815
2815
  I({
2816
2816
  hoveredSeriesId: Be,
@@ -2880,9 +2880,9 @@ const Ic = ({ categoryGuid: e, topLevelCategoryGuid: n }) => {
2880
2880
  {
2881
2881
  height: m,
2882
2882
  margin: { bottom: 50 },
2883
- onAreaClick: xe,
2883
+ onAreaClick: Ie,
2884
2884
  onHighlightChange: Ve,
2885
- series: je,
2885
+ series: Xe,
2886
2886
  skipAnimation: !0,
2887
2887
  slotProps: {
2888
2888
  legend: {
@@ -2914,7 +2914,7 @@ const Ic = ({ categoryGuid: e, topLevelCategoryGuid: n }) => {
2914
2914
  ],
2915
2915
  yAxis: [
2916
2916
  {
2917
- min: Ae,
2917
+ min: xe,
2918
2918
  max: Me || 100
2919
2919
  }
2920
2920
  ]
@@ -3129,7 +3129,7 @@ const Ic = ({ categoryGuid: e, topLevelCategoryGuid: n }) => {
3129
3129
  calendarActions: e,
3130
3130
  color: n = "primary",
3131
3131
  copy: i,
3132
- range: a = [Ze(ve()), Qe(mn())],
3132
+ range: a = [Ye(Ae()), qe(mn())],
3133
3133
  shouldShrinkToIcon: o = !0,
3134
3134
  variant: r = "outlined"
3135
3135
  }) => {
@@ -3148,22 +3148,22 @@ const Ic = ({ categoryGuid: e, topLevelCategoryGuid: n }) => {
3148
3148
  ]
3149
3149
  };
3150
3150
  g.useEffect(() => {
3151
- m(a);
3151
+ u(a), m(a);
3152
3152
  }, [a]), g.useEffect(() => {
3153
3153
  (r === "timeframebuttons" || r === "timeframetabs") && e.onRangeChanged(N());
3154
3154
  }, [I]);
3155
3155
  const N = () => {
3156
- const G = Qe(mn());
3157
- return [Qe(Ht(G, I)), G];
3156
+ const G = qe(mn());
3157
+ return [qe(Ht(G, I)), G];
3158
3158
  }, R = (G) => {
3159
- const L = [...l], W = l[0], K = l[1], oe = G === "previous";
3159
+ const L = [...l], W = l[0], K = l[1], ie = G === "previous";
3160
3160
  if (_ === i.dateRangePickerCopy.dateRangeThisMonth)
3161
- L[0] = oe ? Ht(W, 1) : rn(W, 1), L[1] = Qe(oe ? Ht(K, 1) : rn(K, 1));
3161
+ L[0] = ie ? Ht(W, 1) : rn(W, 1), L[1] = qe(ie ? Ht(K, 1) : rn(K, 1));
3162
3162
  else if (_ === i.dateRangePickerCopy.dateRangeYTD || _ === i.dateRangePickerCopy.dateRangeLastYear)
3163
- L[0] = oe ? Za(ur(W), 1) : Ji(ur(W), 1), L[1] = oe ? Za(_r(W), 1) : Ji(_r(W), 1);
3163
+ L[0] = ie ? Za(ur(W), 1) : Ji(ur(W), 1), L[1] = ie ? Za(_r(W), 1) : Ji(_r(W), 1);
3164
3164
  else {
3165
- const ne = Md(K, W);
3166
- L[0] = G === "previous" ? Ot(W, ne) : Fn(W, ne), L[1] = G === "previous" ? Ot(K, ne) : Fn(K, ne);
3165
+ const oe = Md(K, W);
3166
+ ie ? (L[1] = Ot(W, 1), L[0] = Ot(L[1], oe)) : (L[0] = Fn(K, 1), L[1] = Fn(L[0], oe));
3167
3167
  }
3168
3168
  u(L), e.onRangeChanged(L);
3169
3169
  }, M = () => {
@@ -3305,7 +3305,7 @@ const Ic = ({ categoryGuid: e, topLevelCategoryGuid: n }) => {
3305
3305
  copy: i.dateRangePickerCopy,
3306
3306
  dateRange: p,
3307
3307
  onRangeChanged: (G, L) => {
3308
- m(G), h(L);
3308
+ G[0] && !G[1] && (G[1] = G[0]), m(G), h(L);
3309
3309
  },
3310
3310
  selectedShortcut: _,
3311
3311
  sx: { p: 16 }
@@ -3332,7 +3332,7 @@ const Ic = ({ categoryGuid: e, topLevelCategoryGuid: n }) => {
3332
3332
  copy: i.dateRangePickerCopy,
3333
3333
  dateRange: p,
3334
3334
  onRangeChanged: (G, L) => {
3335
- m(G), h(L);
3335
+ G[0] && !G[1] && (G[1] = G[0]), m(G), h(L);
3336
3336
  },
3337
3337
  selectedShortcut: _,
3338
3338
  sx: {
@@ -3346,7 +3346,7 @@ const Ic = ({ categoryGuid: e, topLevelCategoryGuid: n }) => {
3346
3346
  }
3347
3347
  )
3348
3348
  ] });
3349
- }, sT = ({
3349
+ }, s2 = ({
3350
3350
  hasGap: e = !1,
3351
3351
  segments: n,
3352
3352
  size: i = gc,
@@ -3472,7 +3472,7 @@ class Ku extends g.Component {
3472
3472
  return { hasError: !0 };
3473
3473
  }
3474
3474
  render() {
3475
- return this.state.hasError ? /* @__PURE__ */ t(qe, { sx: { pt: 24 }, children: Vu.text }) : this.props.children;
3475
+ return this.state.hasError ? /* @__PURE__ */ t(Qe, { sx: { pt: 24 }, children: Vu.text }) : this.props.children;
3476
3476
  }
3477
3477
  }
3478
3478
  const Ea = ({
@@ -3501,7 +3501,7 @@ const Ea = ({
3501
3501
  ),
3502
3502
  subheader: o && /* @__PURE__ */ t(X, { sx: { color: "text.secondary" }, variant: "body2", children: o }),
3503
3503
  sx: { p: 0, pb: 8, width: "calc(100% - 8px)", "& .MuiCardHeader-action": { mt: 0 } },
3504
- title: /* @__PURE__ */ t(qe, { sx: { width: "calc(100% - 10px)" }, children: s })
3504
+ title: /* @__PURE__ */ t(Qe, { sx: { width: "calc(100% - 10px)" }, children: s })
3505
3505
  }
3506
3506
  ),
3507
3507
  /* @__PURE__ */ t(Pt, { ref: l, sx: { p: 0, ":last-child": { pb: 0 } }, children: /* @__PURE__ */ t(vo, { availableHeight: u, availableWidth: _, children: e }) })
@@ -3527,7 +3527,7 @@ const Ea = ({
3527
3527
  subheader: s || null,
3528
3528
  subheaderTypographyProps: { variant: "Small" },
3529
3529
  sx: { pb: 4 },
3530
- title: l ? /* @__PURE__ */ t(qe, { sx: { pb: 4 }, children: l }) : null
3530
+ title: l ? /* @__PURE__ */ t(Qe, { sx: { pb: 4 }, children: l }) : null
3531
3531
  }
3532
3532
  ),
3533
3533
  /* @__PURE__ */ t(Pt, { ref: u, sx: { p: 0 }, children: /* @__PURE__ */ t(vo, { availableHeight: _, availableWidth: h, children: i }) })
@@ -3558,7 +3558,7 @@ const Ea = ({
3558
3558
  };
3559
3559
  if (!M)
3560
3560
  return /* @__PURE__ */ t(de, {});
3561
- const oe = {
3561
+ const ie = {
3562
3562
  accountFilterOptionsCopy: {
3563
3563
  accountTypeAccounts: L.account_filter.account_type_accounts,
3564
3564
  cancelButton: L.cancel_button,
@@ -3572,7 +3572,7 @@ const Ea = ({
3572
3572
  zeroStateTitle: L.account_filter.zero_state_title
3573
3573
  },
3574
3574
  title: L.account_filter.title
3575
- }, ne = {
3575
+ }, oe = {
3576
3576
  dateRangePickerCopy: {
3577
3577
  dateRangeFrom: L.date_range_picker.from,
3578
3578
  dateRangeTo: L.date_range_picker.to,
@@ -3590,7 +3590,7 @@ const Ea = ({
3590
3590
  dateRangeEditTitle: L.date_range_picker.edit_title,
3591
3591
  dateRangeNextAria: L.date_range_picker.next_aria,
3592
3592
  dateRangePreviousAria: L.date_range_picker.previous_aria
3593
- }, fe = o ? o.start : R.start, Ae = o ? o.end : R.end, Me = n?.length > 1;
3593
+ }, fe = o ? o.start : R.start, xe = o ? o.end : R.end, Me = n?.length > 1;
3594
3594
  return /* @__PURE__ */ d(
3595
3595
  bt,
3596
3596
  {
@@ -3611,8 +3611,8 @@ const Ea = ({
3611
3611
  wr,
3612
3612
  {
3613
3613
  calendarActions: i,
3614
- copy: ne,
3615
- range: [fe, Ae],
3614
+ copy: oe,
3615
+ range: [fe, xe],
3616
3616
  shouldShrinkToIcon: !1,
3617
3617
  variant: r
3618
3618
  }
@@ -3621,7 +3621,7 @@ const Ea = ({
3621
3621
  Tc,
3622
3622
  {
3623
3623
  accounts: e,
3624
- copy: oe,
3624
+ copy: ie,
3625
3625
  onConnectAccountClick: () => f(!0),
3626
3626
  onFilterClick: (he) => {
3627
3627
  G(he), u?.();
@@ -3633,26 +3633,26 @@ const Ea = ({
3633
3633
  ),
3634
3634
  n?.map((he) => {
3635
3635
  if (g.isValidElement(he)) return he;
3636
- const { iconName: me, onClick: je, label: V } = he;
3636
+ const { iconName: me, onClick: Xe, label: V } = he;
3637
3637
  return Me ? v || N ? /* @__PURE__ */ t(
3638
3638
  te,
3639
3639
  {
3640
- onClick: je,
3640
+ onClick: Xe,
3641
3641
  startIcon: /* @__PURE__ */ t(U, { name: me, size: 24 }),
3642
3642
  sx: { my: 4 },
3643
3643
  children: V
3644
3644
  },
3645
3645
  me
3646
- ) : /* @__PURE__ */ t(We, { "aria-label": V, color: "primary", onClick: je, children: /* @__PURE__ */ t(U, { name: me, size: 24 }) }, me) : v || N ? /* @__PURE__ */ t(
3646
+ ) : /* @__PURE__ */ t(We, { "aria-label": V, color: "primary", onClick: Xe, children: /* @__PURE__ */ t(U, { name: me, size: 24 }) }, me) : v || N ? /* @__PURE__ */ t(
3647
3647
  te,
3648
3648
  {
3649
- onClick: je,
3649
+ onClick: Xe,
3650
3650
  startIcon: /* @__PURE__ */ t(U, { name: me, size: 24 }),
3651
3651
  sx: { my: 4 },
3652
3652
  children: V
3653
3653
  },
3654
3654
  me
3655
- ) : /* @__PURE__ */ t(We, { "aria-label": V, color: "primary", onClick: je, children: /* @__PURE__ */ t(U, { name: me, size: 24 }) }, me);
3655
+ ) : /* @__PURE__ */ t(We, { "aria-label": V, color: "primary", onClick: Xe, children: /* @__PURE__ */ t(U, { name: me, size: 24 }) }, me);
3656
3656
  })
3657
3657
  ] }),
3658
3658
  sx: {
@@ -3678,7 +3678,7 @@ const Ea = ({
3678
3678
  children: /* @__PURE__ */ t(U, { name: "arrow_back", size: 24 })
3679
3679
  }
3680
3680
  ),
3681
- /* @__PURE__ */ t(qe, { children: p })
3681
+ /* @__PURE__ */ t(Qe, { children: p })
3682
3682
  ] })
3683
3683
  }
3684
3684
  ),
@@ -3689,8 +3689,8 @@ const Ea = ({
3689
3689
  wr,
3690
3690
  {
3691
3691
  calendarActions: i,
3692
- copy: ne,
3693
- range: [fe, Ae],
3692
+ copy: oe,
3693
+ range: [fe, xe],
3694
3694
  shouldShrinkToIcon: !1,
3695
3695
  variant: r
3696
3696
  }
@@ -3850,7 +3850,7 @@ const Dr = "connect_widget", Nr = "connections_widget", ju = ({
3850
3850
  "& .MuiInputBase-adornedStart > .p": {
3851
3851
  marginRight: e.Spacing.Tiny
3852
3852
  }
3853
- }), cT = ({
3853
+ }), c2 = ({
3854
3854
  icon: e,
3855
3855
  label: n,
3856
3856
  onClick: i,
@@ -4532,7 +4532,7 @@ class oh {
4532
4532
  api = new Or("/", "");
4533
4533
  globalStore;
4534
4534
  alert = "";
4535
- dateRange = { start: Ze(ve()), end: Qe(ve()) };
4535
+ dateRange = { start: Ye(Ae()), end: qe(Ae()) };
4536
4536
  budgets = [];
4537
4537
  selectedBudget;
4538
4538
  selectedSubBudget;
@@ -4676,7 +4676,7 @@ const Ei = () => {
4676
4676
  }
4677
4677
  ),
4678
4678
  /* @__PURE__ */ t(C, { bold: !0, sx: { flexGrow: 1, fontSize: 12 }, children: n.remaining_cash }),
4679
- /* @__PURE__ */ t(Xe, { amount: e, bold: !0, sx: { fontSize: 12 } })
4679
+ /* @__PURE__ */ t(Ze, { amount: e, bold: !0, sx: { fontSize: 12 } })
4680
4680
  ] });
4681
4681
  }, Mo = x(rh), sh = ({ onAddIncomeClick: e }) => {
4682
4682
  const n = Ee(), { availableWidth: i } = $n(), { isMobile: a } = Ce(), { visibleCashAccounts: o, visibleCashBalance: r } = be(), { selectedAccountGuids: s } = ce(), { cashflow: c } = A(), { userProfile: l } = ft(), {
@@ -4714,7 +4714,7 @@ const Ei = () => {
4714
4714
  px: 24,
4715
4715
  children: [
4716
4716
  /* @__PURE__ */ d(b, { pb: 14, pt: 12, children: [
4717
- /* @__PURE__ */ t(Xe, { amount: I, variant: "H2" }),
4717
+ /* @__PURE__ */ t(Ze, { amount: I, variant: "H2" }),
4718
4718
  /* @__PURE__ */ t(X, { variant: "XSmall", whiteSpace: "nowrap", children: T(
4719
4719
  c.total_cash_accounts,
4720
4720
  h.length
@@ -4722,12 +4722,12 @@ const Ei = () => {
4722
4722
  ] }),
4723
4723
  /* @__PURE__ */ t(b, { pt: 18, children: /* @__PURE__ */ t(U, { name: "remove" }) }),
4724
4724
  /* @__PURE__ */ d(b, { pb: 14, pt: 12, children: [
4725
- /* @__PURE__ */ t(Xe, { amount: v, variant: "H2" }),
4725
+ /* @__PURE__ */ t(Ze, { amount: v, variant: "H2" }),
4726
4726
  /* @__PURE__ */ t(X, { variant: "XSmall", whiteSpace: "nowrap", children: T(c.expenses_due, _.length) })
4727
4727
  ] }),
4728
4728
  /* @__PURE__ */ t(b, { pt: 18, children: /* @__PURE__ */ t(U, { name: "equal" }) }),
4729
4729
  /* @__PURE__ */ d(b, { pb: 14, pr: 24, pt: 12, children: [
4730
- /* @__PURE__ */ t(Xe, { amount: w, variant: "H2" }),
4730
+ /* @__PURE__ */ t(Ze, { amount: w, variant: "H2" }),
4731
4731
  /* @__PURE__ */ d(b, { alignItems: "center", direction: "row", gap: 8, children: [
4732
4732
  /* @__PURE__ */ t(X, { variant: "XSmall", whiteSpace: "nowrap", children: c.available_to_spend }),
4733
4733
  /* @__PURE__ */ t(Oo, { body: c.tooltip_body, title: c.tooltip_title })
@@ -4753,12 +4753,12 @@ const Ei = () => {
4753
4753
  c.total_cash_accounts,
4754
4754
  h.length
4755
4755
  ) }),
4756
- /* @__PURE__ */ t(Xe, { amount: r, bold: !0, variant: "XSmall" })
4756
+ /* @__PURE__ */ t(Ze, { amount: r, bold: !0, variant: "XSmall" })
4757
4757
  ] }),
4758
4758
  /* @__PURE__ */ t(P, {}),
4759
4759
  /* @__PURE__ */ d(b, { direction: "row", justifyContent: "space-between", p: 16, children: [
4760
4760
  /* @__PURE__ */ t(C, { variant: "Small", children: T(c.expenses_due, _.length) }),
4761
- /* @__PURE__ */ t(Xe, { amount: v, bold: !0, symbol: "-", variant: "XSmall" })
4761
+ /* @__PURE__ */ t(Ze, { amount: v, bold: !0, symbol: "-", variant: "XSmall" })
4762
4762
  ] }),
4763
4763
  /* @__PURE__ */ t(P, {}),
4764
4764
  /* @__PURE__ */ t(
@@ -4819,7 +4819,7 @@ const Ei = () => {
4819
4819
  children: /* @__PURE__ */ t(ch, { onAddIncomeClick: e })
4820
4820
  }
4821
4821
  ) : /* @__PURE__ */ t(de, {});
4822
- }, lT = x(lh), dh = (e) => {
4822
+ }, l2 = x(lh), dh = (e) => {
4823
4823
  if (!e) return "";
4824
4824
  let n = e.user_name || e.feed_name || "";
4825
4825
  return e.account_number && (n = `${n} *${e.account_number}`), n;
@@ -4875,7 +4875,7 @@ const Ei = () => {
4875
4875
  const u = e.transactions.find(
4876
4876
  (_) => _.repeating_transaction_guid === e.guid && _.date > Fe(Ot(l.expectedDate, 5)) && _.date < Fe(Fn(l.expectedDate, 5))
4877
4877
  );
4878
- u ? (l.transaction = u, l.status = et.Paid, l.occurredOnDate = Ue(u.date)) : ot(l.expectedDate, Ot(ve(), 3)) && (l.status = et.Missed);
4878
+ u ? (l.transaction = u, l.status = et.Paid, l.occurredOnDate = Ue(u.date)) : ot(l.expectedDate, Ot(Ae(), 3)) && (l.status = et.Missed);
4879
4879
  }
4880
4880
  return i;
4881
4881
  }, uh = (e, n, i) => {
@@ -4956,7 +4956,7 @@ const Ei = () => {
4956
4956
  recurrences: [i]
4957
4957
  }), n;
4958
4958
  }, []), sa = (e, n, i) => {
4959
- const a = ea(ve(), n.recurrence_day), o = ic(ve(), n.recurrence_day), r = ki(n.recurrence_day), s = n.second_recurrence_day ? ki(n.second_recurrence_day) : "";
4959
+ const a = ea(Ae(), n.recurrence_day), o = ic(Ae(), n.recurrence_day), r = ki(n.recurrence_day), s = n.second_recurrence_day ? ki(n.second_recurrence_day) : "";
4960
4960
  let c = i ? T(e.monthly_ordinal, r) : e.monthly;
4961
4961
  switch (n.recurrence_type) {
4962
4962
  case Se.EveryQuarter:
@@ -5503,7 +5503,7 @@ const Dc = (e, n) => {
5503
5503
  }, kh = (e, n, i) => {
5504
5504
  const {
5505
5505
  accounts: a = [],
5506
- dateRange: o = { start: Ze(ve()), end: mn() },
5506
+ dateRange: o = { start: Ye(Ae()), end: mn() },
5507
5507
  custom: r = () => !0,
5508
5508
  searchTerm: s = "",
5509
5509
  showSplits: c = !1
@@ -5557,8 +5557,8 @@ const Nc = {
5557
5557
  tags: []
5558
5558
  };
5559
5559
  let Wh = class {
5560
- beginDate = Ze(/* @__PURE__ */ new Date());
5561
- endDate = Qe(/* @__PURE__ */ new Date());
5560
+ beginDate = Ye(/* @__PURE__ */ new Date());
5561
+ endDate = qe(/* @__PURE__ */ new Date());
5562
5562
  expandedSplits = [];
5563
5563
  isInitialized = !1;
5564
5564
  height = 550;
@@ -5603,7 +5603,7 @@ class $h {
5603
5603
  api = new ca("/", "");
5604
5604
  beatApi = new li("/", "");
5605
5605
  associatedBeats = [];
5606
- cachedStartDate = Ot(ve(), 90);
5606
+ cachedStartDate = Ot(Ae(), 90);
5607
5607
  filter = {};
5608
5608
  isLoading = !0;
5609
5609
  rawTransactions = [];
@@ -5622,7 +5622,7 @@ class $h {
5622
5622
  transactions: a
5623
5623
  } = {}) => {
5624
5624
  await Promise.all([
5625
- this.loadAssociatedBeats(Ze(/* @__PURE__ */ new Date()), n),
5625
+ this.loadAssociatedBeats(Ye(/* @__PURE__ */ new Date()), n),
5626
5626
  this.loadTags(),
5627
5627
  this.loadTaggings(),
5628
5628
  this.loadTransactionRules(i),
@@ -5995,7 +5995,7 @@ const zh = ({ transaction: e, onClick: n }) => {
5995
5995
  }
5996
5996
  );
5997
5997
  }, eg = x(Jh), tg = (e) => /* @__PURE__ */ t(C, { tabIndex: e.tabIndex, variant: "Small", children: ue(Ue(e.row.date), re.MONTH_DAY) }), ng = (e) => {
5998
- const n = Ye(), { transactions: i } = A(), { is_flagged: a, is_hidden: o, has_been_viewed: r, parent_guid: s } = e.row, l = !r && !!!s;
5998
+ const n = je(), { transactions: i } = A(), { is_flagged: a, is_hidden: o, has_been_viewed: r, parent_guid: s } = e.row, l = !r && !!!s;
5999
5999
  return /* @__PURE__ */ d(
6000
6000
  O,
6001
6001
  {
@@ -6540,9 +6540,9 @@ const sg = ({
6540
6540
  )
6541
6541
  );
6542
6542
  }, $r = (e) => {
6543
- const n = [], i = ve();
6543
+ const n = [], i = Ae();
6544
6544
  for (let a = 0; a <= Fr; a++) {
6545
- const o = Ze(Ht(i, Fr - a)), s = e.filter(
6545
+ const o = Ye(Ht(i, Fr - a)), s = e.filter(
6546
6546
  (c) => c.year_month === Number(pn(o, "yyyyMM"))
6547
6547
  ).reduce((c, l) => c + l.total, 0);
6548
6548
  n.push({
@@ -6650,7 +6650,7 @@ class wg {
6650
6650
  }
6651
6651
  };
6652
6652
  loadMonthlyCategoryTotals = async (n = this.globalStore.globalUiStore.selectedAccounts, i, a) => {
6653
- const o = Fe(Ze(i ?? Ht(/* @__PURE__ */ new Date(), 11))), r = Fe(Qe(a ?? /* @__PURE__ */ new Date()));
6653
+ const o = Fe(Ye(i ?? Ht(/* @__PURE__ */ new Date(), 11))), r = Fe(qe(a ?? /* @__PURE__ */ new Date()));
6654
6654
  try {
6655
6655
  const s = await this.api.getMonthlyCategoryTotals(o, r, n);
6656
6656
  ee(() => {
@@ -6668,8 +6668,8 @@ class wg {
6668
6668
  Fe(a),
6669
6669
  n
6670
6670
  ), r = await this.api.getMonthlyCategoryTotals(
6671
- Fe(Ze(Ht(a, 11))),
6672
- Fe(Qe(a)),
6671
+ Fe(Ye(Ht(a, 11))),
6672
+ Fe(qe(a)),
6673
6673
  n
6674
6674
  );
6675
6675
  ee(() => {
@@ -7264,11 +7264,11 @@ const Lc = ({ transaction: e }) => {
7264
7264
  }, I = (G, L) => {
7265
7265
  const W = [...f];
7266
7266
  W[G].amount = L, W[0].amount = e.amount - W.reduce(
7267
- (K, oe, ne) => K + (ne !== 0 ? oe.amount : 0),
7267
+ (K, ie, oe) => K + (oe !== 0 ? ie.amount : 0),
7268
7268
  0
7269
7269
  ), S(W);
7270
7270
  }, v = (G, L) => {
7271
- const W = [...f], K = c.find((oe) => oe.guid === L);
7271
+ const W = [...f], K = c.find((ie) => ie.guid === L);
7272
7272
  K && (W[G] = {
7273
7273
  ...W[G],
7274
7274
  category_guid: L,
@@ -7932,13 +7932,13 @@ const Lc = ({ transaction: e }) => {
7932
7932
  } = Le(), {
7933
7933
  manualTransaction: W,
7934
7934
  isAmountValid: K,
7935
- searchValue: oe,
7936
- setSearchValue: ne,
7935
+ searchValue: ie,
7936
+ setSearchValue: oe,
7937
7937
  setShowInsights: fe,
7938
- updateManualTransaction: Ae
7939
- } = vt(), { userProfile: Me } = ft(), [he, me] = g.useState(""), [je, V] = g.useState(""), [pe, J] = g.useState(!1), [ke, xe] = g.useState(!1), [Ve, St] = g.useState(!1);
7938
+ updateManualTransaction: xe
7939
+ } = vt(), { userProfile: Me } = ft(), [he, me] = g.useState(""), [Xe, V] = g.useState(""), [pe, J] = g.useState(!1), [ke, Ie] = g.useState(!1), [Ve, St] = g.useState(!1);
7940
7940
  g.useEffect(() => {
7941
- const ht = o.filter((ai) => !ai.is_hidden), or = Ze(ve()), rr = Qe(ve());
7941
+ const ht = o.filter((ai) => !ai.is_hidden), or = Ye(Ae()), rr = qe(Ae());
7942
7942
  y(ht), S(or, rr), R({
7943
7943
  accounts: ht.map((ai) => ai.guid),
7944
7944
  custom: (ai) => !ai.accountIsClosed && !ai.accountIsHidden,
@@ -7956,19 +7956,19 @@ const Lc = ({ transaction: e }) => {
7956
7956
  const Wt = g.useMemo(
7957
7957
  () => o.filter((ht) => ht.is_manual),
7958
7958
  [o]
7959
- ), z = je ? G.find((ht) => ht.guid === je) : void 0, Be = K && !!W.payee && !!W.account_guid && !!W.category_guid, ct = (ht) => {
7959
+ ), z = Xe ? G.find((ht) => ht.guid === Xe) : void 0, Be = K && !!W.payee && !!W.account_guid && !!W.category_guid, ct = (ht) => {
7960
7960
  S(ht[0], ht[1]);
7961
7961
  }, En = (ht) => {
7962
- ne(ht), R({
7962
+ oe(ht), R({
7963
7963
  ...w,
7964
7964
  searchTerm: ht
7965
7965
  }), l(F.TRANSACTIONS_CLICK_SEARCH, { search_term: ht });
7966
7966
  }, La = () => {
7967
7967
  Dc(M, k), l(F.TRANSACTIONS_CLICK_EXPORT);
7968
7968
  }, Ma = () => {
7969
- Wt.length > 0 ? (Ae({
7969
+ Wt.length > 0 ? (xe({
7970
7970
  ...Nc,
7971
- date: Fe(ve()),
7971
+ date: Fe(Ae()),
7972
7972
  user_guid: Me?.user_guid || ""
7973
7973
  }), me(
7974
7974
  "addTransaction"
@@ -7977,9 +7977,9 @@ const Lc = ({ transaction: e }) => {
7977
7977
  }, xi = async () => {
7978
7978
  Be && await v(W), me("");
7979
7979
  }, ka = () => {
7980
- J(!1), xe(!0);
7980
+ J(!1), Ie(!0);
7981
7981
  }, Ga = async () => {
7982
- xe(!1), await r();
7982
+ Ie(!1), await r();
7983
7983
  }, Wl = async () => {
7984
7984
  z && !z.has_been_viewed && await L({ ...z, has_been_viewed: !0 }), me("");
7985
7985
  };
@@ -8012,7 +8012,7 @@ const Lc = ({ transaction: e }) => {
8012
8012
  {
8013
8013
  onChange: En,
8014
8014
  placeholder: _.action_bar_search_placeholder,
8015
- searchValue: oe
8015
+ searchValue: ie
8016
8016
  }
8017
8017
  ) }),
8018
8018
  /* @__PURE__ */ t(
@@ -8118,7 +8118,7 @@ const Lc = ({ transaction: e }) => {
8118
8118
  ]
8119
8119
  }
8120
8120
  );
8121
- }, uT = x(cm), Hc = ({
8121
+ }, u2 = x(cm), Hc = ({
8122
8122
  frequency: e,
8123
8123
  firstDay: n,
8124
8124
  secondDay: i,
@@ -8151,7 +8151,7 @@ const Lc = ({ transaction: e }) => {
8151
8151
  label: ki(y + 1)
8152
8152
  }));
8153
8153
  u[30].label += ` (${s.last_day_of_month})`;
8154
- const _ = u.slice(0, 15), h = u.slice(14), p = e === Se.EveryWeek || e === Se.EveryOtherWeek, m = e === Se.TwiceAMonth || e === Se.EveryMonth || e === Se.EveryOtherMonth || e === Se.EveryQuarter || e === Se.EveryOtherQuarter, f = ic(ve(), n), S = (y) => {
8154
+ const _ = u.slice(0, 15), h = u.slice(14), p = e === Se.EveryWeek || e === Se.EveryOtherWeek, m = e === Se.TwiceAMonth || e === Se.EveryMonth || e === Se.EveryOtherMonth || e === Se.EveryQuarter || e === Se.EveryOtherQuarter, f = ic(Ae(), n), S = (y) => {
8155
8155
  y && o(r_(y));
8156
8156
  };
8157
8157
  return /* @__PURE__ */ d(b, { gap: 24, sx: { m: 24 }, children: [
@@ -8250,7 +8250,7 @@ const Lc = ({ transaction: e }) => {
8250
8250
  g.useEffect(() => {
8251
8251
  s({
8252
8252
  accounts: a,
8253
- dateRange: { start: Ot(ve(), 90), end: Qe(ve()) },
8253
+ dateRange: { start: Ot(Ae(), 90), end: qe(Ae()) },
8254
8254
  custom: (v) => v.repeating_transaction_guid === n.guid
8255
8255
  });
8256
8256
  }, [n]);
@@ -8739,13 +8739,13 @@ const Lc = ({ transaction: e }) => {
8739
8739
  fr(/* @__PURE__ */ new Date()) * Ii + Vr
8740
8740
  ), s = (l) => {
8741
8741
  r(fr(l) * Ii + Vr), a({
8742
- start: Ze(l),
8743
- end: Qe(l)
8742
+ start: Ye(l),
8743
+ end: qe(l)
8744
8744
  }), n(F.RECURRING_TRANSACTIONS_CLICK_CALENDAR_RIGHT);
8745
8745
  }, c = /* @__PURE__ */ t(
8746
8746
  bo,
8747
8747
  {
8748
- minDate: Ze(/* @__PURE__ */ new Date()),
8748
+ minDate: Ye(/* @__PURE__ */ new Date()),
8749
8749
  onMonthChange: s,
8750
8750
  showDaysOutsideCurrentMonth: !0,
8751
8751
  slots: {
@@ -9033,20 +9033,20 @@ const Lc = ({ transaction: e }) => {
9033
9033
  }, G = () => {
9034
9034
  const W = rn(s.start, 1);
9035
9035
  S({
9036
- start: Ze(W),
9037
- end: Qe(W)
9036
+ start: Ye(W),
9037
+ end: qe(W)
9038
9038
  });
9039
9039
  }, L = () => {
9040
9040
  const W = Ht(s.start, 1);
9041
9041
  S({
9042
- start: Ze(W),
9043
- end: Qe(W)
9042
+ start: Ye(W),
9043
+ end: qe(W)
9044
9044
  });
9045
9045
  };
9046
9046
  return /* @__PURE__ */ d(Dn, { container: !0, sx: { pt: 16, px: 24, spacing: 24 }, children: [
9047
9047
  /* @__PURE__ */ t(Dn, { md: !0, sm: 12, width: "100%", children: /* @__PURE__ */ d(b, { sx: { gap: 16 }, children: [
9048
9048
  /* @__PURE__ */ d(b, { alignItems: "center", direction: "row", justifyContent: "space-between", children: [
9049
- /* @__PURE__ */ t(qe, { sx: { px: 24 }, children: T(
9049
+ /* @__PURE__ */ t(Qe, { sx: { px: 24 }, children: T(
9050
9050
  e.header_title,
9051
9051
  ue(s.start, re.MONTH_LONG)
9052
9052
  ) }),
@@ -9139,15 +9139,15 @@ const Lc = ({ transaction: e }) => {
9139
9139
  )
9140
9140
  ] }) })
9141
9141
  ] });
9142
- }), hT = x(({ onBackClick: e, sx: n = {} }) => {
9142
+ }), h2 = x(({ onBackClick: e, sx: n = {} }) => {
9143
9143
  const { accounts: i } = be(), { recurring: a } = A(), { isCopyLoaded: o, isInitialized: r, selectedAccountGuids: s, setSelectedAccounts: c } = ce(), { isDataLoaded: l, loadRepeatingTransactions: u, setDateRange: _ } = rt(), { setFilter: h } = Le(), { onEvent: p } = q(), [m, f] = g.useState(!1);
9144
9144
  return g.useEffect(() => {
9145
9145
  c(i);
9146
9146
  }, [i]), g.useEffect(() => {
9147
9147
  r && (h({
9148
- dateRange: { start: Ot(ve(), 90), end: mn() },
9148
+ dateRange: { start: Ot(Ae(), 90), end: mn() },
9149
9149
  accounts: s
9150
- }), _({ start: Ze(/* @__PURE__ */ new Date()), end: Qe(/* @__PURE__ */ new Date()) }), u().finally());
9150
+ }), _({ start: Ye(/* @__PURE__ */ new Date()), end: qe(/* @__PURE__ */ new Date()) }), u().finally());
9151
9151
  }, [r]), o ? /* @__PURE__ */ d(
9152
9152
  Ct,
9153
9153
  {
@@ -9204,14 +9204,14 @@ const Lc = ({ transaction: e }) => {
9204
9204
  }
9205
9205
  )
9206
9206
  ] });
9207
- }), gT = x(
9207
+ }), g2 = x(
9208
9208
  ({ onPrimaryCtaClick: e, sx: n }) => {
9209
9209
  const { accounts: i } = be(), { recurring: a } = A(), { setFilter: o } = Le(), { isDataLoaded: r, loadRepeatingTransactions: s } = rt(), { isCopyLoaded: c, isInitialized: l, setSelectedAccounts: u, selectedAccountGuids: _ } = ce();
9210
9210
  return g.useEffect(() => {
9211
9211
  l && u(i);
9212
9212
  }, [l]), g.useEffect(() => {
9213
9213
  _.length > 0 && (o({
9214
- dateRange: { start: Ot(ve(), 90), end: mn() },
9214
+ dateRange: { start: Ot(Ae(), 90), end: mn() },
9215
9215
  accounts: _
9216
9216
  }), s().finally());
9217
9217
  }, [_]), !c || !l ? /* @__PURE__ */ t(de, {}) : /* @__PURE__ */ t(
@@ -9305,7 +9305,7 @@ const Lc = ({ transaction: e }) => {
9305
9305
  /* @__PURE__ */ t(X, { color: "text.secondary", variant: "subtitle2", children: e.zero_state_content_description })
9306
9306
  ] })
9307
9307
  ] });
9308
- }), mT = x(
9308
+ }), m2 = x(
9309
9309
  ({ onCTAClick: e }) => {
9310
9310
  const [n, i] = g.useState(!1), { onEvent: a } = q(), o = Ee(), { accounts: r } = be(), [s, { width: c }] = ii(), { isCopyLoaded: l, isInitialized: u, selectedAccountGuids: _, setSelectedAccounts: h } = ce(), {
9311
9311
  loadRepeatingTransactions: p,
@@ -9322,9 +9322,9 @@ const Lc = ({ transaction: e }) => {
9322
9322
  h(r);
9323
9323
  }, [r]), g.useEffect(() => {
9324
9324
  u && (N({
9325
- dateRange: { start: Ot(ve(), 90), end: mn() },
9325
+ dateRange: { start: Ot(Ae(), 90), end: mn() },
9326
9326
  accounts: _
9327
- }), I({ start: Ze(/* @__PURE__ */ new Date()), end: Qe(/* @__PURE__ */ new Date()) }), p().finally(), i(!0));
9327
+ }), I({ start: Ye(/* @__PURE__ */ new Date()), end: qe(/* @__PURE__ */ new Date()) }), p().finally(), i(!0));
9328
9328
  }, [u]), g.useEffect(() => {
9329
9329
  n && a(F.RECURRING_TRANSACTIONS_LOAD_WIDGET, {
9330
9330
  state: m.length > 0 ? "default" : "zeroState"
@@ -9350,14 +9350,14 @@ const Lc = ({ transaction: e }) => {
9350
9350
  ), e();
9351
9351
  };
9352
9352
  if (!l || !n || !w) return /* @__PURE__ */ t(de, { height: 100 });
9353
- const oe = 32, ne = m.length > 0, fe = () => ne ? k ? /* @__PURE__ */ t(
9353
+ const ie = 32, oe = m.length > 0, fe = () => oe ? k ? /* @__PURE__ */ t(
9354
9354
  bm,
9355
9355
  {
9356
- logoSize: oe,
9356
+ logoSize: ie,
9357
9357
  maxLogos: 3,
9358
9358
  upcomingRecurrences: m.slice(0, 3)
9359
9359
  }
9360
- ) : /* @__PURE__ */ t(Cm, { maxLogos: 3, upcomingRecurrences: m.slice(0, 3) }) : /* @__PURE__ */ t(b, { sx: { width: k ? 64 : 104 } }), Ae = [
9360
+ ) : /* @__PURE__ */ t(Cm, { maxLogos: 3, upcomingRecurrences: m.slice(0, 3) }) : /* @__PURE__ */ t(b, { sx: { width: k ? 64 : 104 } }), xe = [
9361
9361
  {
9362
9362
  amount: y,
9363
9363
  bgColor: "success.main",
@@ -9440,7 +9440,7 @@ const Lc = ({ transaction: e }) => {
9440
9440
  gap: 16,
9441
9441
  mt: 4
9442
9442
  },
9443
- children: Ae.map((he, me) => /* @__PURE__ */ t(
9443
+ children: xe.map((he, me) => /* @__PURE__ */ t(
9444
9444
  ym,
9445
9445
  {
9446
9446
  amount: he.amount,
@@ -9479,7 +9479,7 @@ class Em {
9479
9479
  transactions = [];
9480
9480
  repeatingTransactions = [];
9481
9481
  selectedDay;
9482
- dateRange = { start: Ze(ve()), end: Qe(ve()) };
9482
+ dateRange = { start: Ye(Ae()), end: qe(Ae()) };
9483
9483
  isDataLoaded = !1;
9484
9484
  constructor(n) {
9485
9485
  this.globalStore = n, this.api = new Yr(n.endpoint, n.sessionToken), Pe(this);
@@ -9505,7 +9505,7 @@ class Em {
9505
9505
  */
9506
9506
  get upcomingRecurrences() {
9507
9507
  return this.recurrences.filter(
9508
- (n) => sn(n.expectedDate, Ot(ve(), 3)) && ot(n.expectedDate, this.dateRange.end) && n.status === et.Upcoming
9508
+ (n) => sn(n.expectedDate, Ot(Ae(), 3)) && ot(n.expectedDate, this.dateRange.end) && n.status === et.Upcoming
9509
9509
  );
9510
9510
  }
9511
9511
  /**
@@ -9541,7 +9541,7 @@ class Em {
9541
9541
  );
9542
9542
  }
9543
9543
  get nextIncomeRecurrence() {
9544
- return this.upcomingIncome.find((n) => sn(n.expectedDate, ve()));
9544
+ return this.upcomingIncome.find((n) => sn(n.expectedDate, Ae()));
9545
9545
  }
9546
9546
  /**
9547
9547
  * Returns the expense recurrences for the current month.
@@ -9921,7 +9921,7 @@ const Om = ({ recurrence: e }) => /* @__PURE__ */ d(Z, { children: [
9921
9921
  ] }),
9922
9922
  /* @__PURE__ */ t(C, { sx: { flexGrow: 1, fontSize: 13 }, children: e.name }),
9923
9923
  /* @__PURE__ */ t(
9924
- Xe,
9924
+ Ze,
9925
9925
  {
9926
9926
  amount: e.amount,
9927
9927
  bold: !0,
@@ -10089,9 +10089,9 @@ const Om = ({ recurrence: e }) => /* @__PURE__ */ d(Z, { children: [
10089
10089
  }
10090
10090
  ], l = g.useMemo(() => s.map((u) => {
10091
10091
  const _ = a.filter(
10092
- da(u, { start: ve(), end: Fn(ve(), 30) })
10092
+ da(u, { start: Ae(), end: Fn(Ae(), 30) })
10093
10093
  ).reduce((m, f) => m + f.amount, 0), h = o.filter(
10094
- da(u, { start: ve(), end: Fn(ve(), 30) })
10094
+ da(u, { start: Ae(), end: Fn(Ae(), 30) })
10095
10095
  ).reduce((m, f) => m + f.amount, 0), p = (u.balance || 0) + h - _;
10096
10096
  return {
10097
10097
  account: u,
@@ -10203,7 +10203,7 @@ const Om = ({ recurrence: e }) => /* @__PURE__ */ d(Z, { children: [
10203
10203
  ),
10204
10204
  /* @__PURE__ */ t(C, { variant: "Small", children: `${f} ${m ? `*${m}` : ""}` })
10205
10205
  ] }),
10206
- /* @__PURE__ */ t(Xe, { amount: u.balance, bold: !0, variant: "Small" })
10206
+ /* @__PURE__ */ t(Ze, { amount: u.balance, bold: !0, variant: "Small" })
10207
10207
  ]
10208
10208
  }
10209
10209
  ),
@@ -10218,7 +10218,7 @@ const Om = ({ recurrence: e }) => /* @__PURE__ */ d(Z, { children: [
10218
10218
  py: 12,
10219
10219
  children: [
10220
10220
  /* @__PURE__ */ t(C, { variant: "Small", children: i.projected_income }),
10221
- /* @__PURE__ */ t(Xe, { amount: u.income, bold: !0, symbol: "+", variant: "Small" })
10221
+ /* @__PURE__ */ t(Ze, { amount: u.income, bold: !0, symbol: "+", variant: "Small" })
10222
10222
  ]
10223
10223
  }
10224
10224
  ),
@@ -10233,7 +10233,7 @@ const Om = ({ recurrence: e }) => /* @__PURE__ */ d(Z, { children: [
10233
10233
  py: 12,
10234
10234
  children: [
10235
10235
  /* @__PURE__ */ t(C, { variant: "Small", children: i.projected_expenses }),
10236
- /* @__PURE__ */ t(Xe, { amount: u.expenses, bold: !0, symbol: "-", variant: "Small" })
10236
+ /* @__PURE__ */ t(Ze, { amount: u.expenses, bold: !0, symbol: "-", variant: "Small" })
10237
10237
  ]
10238
10238
  }
10239
10239
  ),
@@ -10322,12 +10322,12 @@ const Om = ({ recurrence: e }) => /* @__PURE__ */ d(Z, { children: [
10322
10322
  padding: n ? "14px 16px" : 0,
10323
10323
  sx: { borderBottomLeftRadius: 4, borderBottomRightRadius: 4 },
10324
10324
  children: [
10325
- !n && /* @__PURE__ */ t(Xe, { amount: e, component: "h2", variant: "H2" }),
10325
+ !n && /* @__PURE__ */ t(Ze, { amount: e, component: "h2", variant: "H2" }),
10326
10326
  /* @__PURE__ */ d(b, { alignItems: "center", component: "span", direction: "row", gap: 8, mt: 2, children: [
10327
10327
  /* @__PURE__ */ t(C, { bold: i, variant: "Small", children: a }),
10328
10328
  r
10329
10329
  ] }),
10330
- n && /* @__PURE__ */ t(Xe, { amount: e, component: "h2", symbol: o, variant: "Small" })
10330
+ n && /* @__PURE__ */ t(Ze, { amount: e, component: "h2", symbol: o, variant: "Small" })
10331
10331
  ]
10332
10332
  }
10333
10333
  ), qr = (e, n) => (i) => i.accountGuid && e.includes(i.accountGuid) && (So(i.expectedDate) || sn(i.expectedDate, n.start)) && ot(i.expectedDate, n.end), Fm = () => {
@@ -10511,28 +10511,28 @@ const Om = ({ recurrence: e }) => /* @__PURE__ */ d(Z, { children: [
10511
10511
  transform: rotate(360deg);
10512
10512
  }
10513
10513
  `, Ym = () => {
10514
- const { addRepeatingTransaction: e, repeatingTransactions: n } = rt(), { cashflow: i, common: a } = A(), { completeOnboarding: o } = Do(), { isDirty: r } = Ei(), { isMobile: s } = Ce(), { isCopyLoaded: c, setDisplayedDate: l } = ce(), { filter: u, setFilter: _, transactions: h } = Le(), p = Ee(), [m, f] = xt(!0), [S, y] = g.useState(Se.EveryMonth), [E, I] = g.useState(1), [v, w] = g.useState(15), [N, R] = xt(!1), [M, k] = xt(1), [G, L] = xt([]), [W, K] = xt(""), oe = g.useMemo(
10514
+ const { addRepeatingTransaction: e, repeatingTransactions: n } = rt(), { cashflow: i, common: a } = A(), { completeOnboarding: o } = Do(), { isDirty: r } = Ei(), { isMobile: s } = Ce(), { isCopyLoaded: c, setDisplayedDate: l } = ce(), { filter: u, setFilter: _, transactions: h } = Le(), p = Ee(), [m, f] = xt(!0), [S, y] = g.useState(Se.EveryMonth), [E, I] = g.useState(1), [v, w] = g.useState(15), [N, R] = xt(!1), [M, k] = xt(1), [G, L] = xt([]), [W, K] = xt(""), ie = g.useMemo(
10515
10515
  () => h.find((he) => he.guid === W),
10516
10516
  [W, h]
10517
- ), ne = !!n.filter(
10517
+ ), oe = !!n.filter(
10518
10518
  (he) => he.repeating_transaction_type === cn.Income
10519
10519
  ).length, fe = async () => {
10520
10520
  k(2), l(
10521
10521
  // Beginning of the month, 90 days before today
10522
- Ze(Ot(ve(), 90)),
10523
- ve()
10522
+ Ye(Ot(Ae(), 90)),
10523
+ Ae()
10524
10524
  ), _({ ...u, custom: Gi }), k(3);
10525
- }, Ae = async () => {
10525
+ }, xe = async () => {
10526
10526
  if (!(G.length < 1)) {
10527
10527
  R(!0);
10528
10528
  for (let he = 0; he < G.length; he++) {
10529
- const me = G[he], je = no(S, Ue(me.date)), V = {
10529
+ const me = G[he], Xe = no(S, Ue(me.date)), V = {
10530
10530
  account_guid: me.account_guid,
10531
10531
  amount: me.amount,
10532
10532
  merchant_guid: me.merchant_guid,
10533
10533
  description: me.feed_description || me.description,
10534
- predicted_occurs_on: fa(je, { representation: "date" }),
10535
- recurrence_day: je.getDay(),
10534
+ predicted_occurs_on: fa(Xe, { representation: "date" }),
10535
+ recurrence_day: Xe.getDay(),
10536
10536
  recurrence_type: S,
10537
10537
  repeating_transaction_type: cn.Income,
10538
10538
  transaction_type: me.transaction_type
@@ -10541,7 +10541,7 @@ const Om = ({ recurrence: e }) => /* @__PURE__ */ d(Z, { children: [
10541
10541
  }
10542
10542
  await o();
10543
10543
  }
10544
- }, Me = !oe && m || !oe && G.length < 1;
10544
+ }, Me = !ie && m || !ie && G.length < 1;
10545
10545
  return c ? /* @__PURE__ */ d(
10546
10546
  O,
10547
10547
  {
@@ -10583,7 +10583,7 @@ const Om = ({ recurrence: e }) => /* @__PURE__ */ d(Z, { children: [
10583
10583
  children: [
10584
10584
  /* @__PURE__ */ t(Qt, { pb: 12, children: i.add_income_title }),
10585
10585
  /* @__PURE__ */ t(X, { mb: 24, children: i.add_income_description }),
10586
- G.length > 0 && !oe && /* @__PURE__ */ d(Z, { children: [
10586
+ G.length > 0 && !ie && /* @__PURE__ */ d(Z, { children: [
10587
10587
  /* @__PURE__ */ t(ae, { children: G.map((he, me) => /* @__PURE__ */ d(g.Fragment, { children: [
10588
10588
  /* @__PURE__ */ t(Aa, { bgcolor: "background.paper", children: ya(
10589
10589
  Fe(he.nextDate || he.date)
@@ -10616,8 +10616,8 @@ const Om = ({ recurrence: e }) => /* @__PURE__ */ d(Z, { children: [
10616
10616
  }
10617
10617
  }
10618
10618
  ),
10619
- !ne && r && /* @__PURE__ */ t(X, { color: "error", mt: 16, children: i.confirm_error }),
10620
- oe && /* @__PURE__ */ d(Z, { children: [
10619
+ !oe && r && /* @__PURE__ */ t(X, { color: "error", mt: 16, children: i.confirm_error }),
10620
+ ie && /* @__PURE__ */ d(Z, { children: [
10621
10621
  /* @__PURE__ */ t(
10622
10622
  $c,
10623
10623
  {
@@ -10628,19 +10628,19 @@ const Om = ({ recurrence: e }) => /* @__PURE__ */ d(Z, { children: [
10628
10628
  onFrequencyChange: y,
10629
10629
  onSecondDayChange: w,
10630
10630
  secondDay: v,
10631
- transaction: oe
10631
+ transaction: ie
10632
10632
  }
10633
10633
  ),
10634
10634
  /* @__PURE__ */ d(b, { direction: "row", gap: 16, ml: 24, mt: 32, children: [
10635
10635
  /* @__PURE__ */ t(
10636
10636
  te,
10637
10637
  {
10638
- "aria-disabled": !oe,
10638
+ "aria-disabled": !ie,
10639
10639
  onClick: () => {
10640
10640
  const he = [...G];
10641
10641
  he.push({
10642
- ...oe,
10643
- nextDate: no(S, Ue(oe.date)),
10642
+ ...ie,
10643
+ nextDate: no(S, Ue(ie.date)),
10644
10644
  frequency: S
10645
10645
  }), L(he), K("");
10646
10646
  },
@@ -10660,12 +10660,12 @@ const Om = ({ recurrence: e }) => /* @__PURE__ */ d(Z, { children: [
10660
10660
  )
10661
10661
  ] })
10662
10662
  ] }),
10663
- G.length > 0 && !oe && /* @__PURE__ */ d(b, { direction: "row", gap: 16, ml: 24, mt: 32, children: [
10663
+ G.length > 0 && !ie && /* @__PURE__ */ d(b, { direction: "row", gap: 16, ml: 24, mt: 32, children: [
10664
10664
  /* @__PURE__ */ t(
10665
10665
  te,
10666
10666
  {
10667
10667
  "aria-disabled": G.length < 1 || N,
10668
- onClick: Ae,
10668
+ onClick: xe,
10669
10669
  startIcon: N ? /* @__PURE__ */ t(
10670
10670
  U,
10671
10671
  {
@@ -10704,7 +10704,7 @@ const Om = ({ recurrence: e }) => /* @__PURE__ */ d(Z, { children: [
10704
10704
  (R) => a.includes(R.guid) && w.includes(R.guid)
10705
10705
  );
10706
10706
  p(N), u({
10707
- dateRange: { start: Ot(ve(), 90), end: mn() },
10707
+ dateRange: { start: Ot(Ae(), 90), end: mn() },
10708
10708
  accounts: N.map((R) => R.guid)
10709
10709
  });
10710
10710
  }, [l, i]), !y || !E ? /* @__PURE__ */ t(de, {}) : _?.has_completed_cash_flow_onboarding ? /* @__PURE__ */ d(
@@ -10758,8 +10758,8 @@ const Om = ({ recurrence: e }) => /* @__PURE__ */ d(Z, { children: [
10758
10758
  children: /* @__PURE__ */ t(jm, {})
10759
10759
  }
10760
10760
  );
10761
- }, pT = x(Xm);
10762
- class fT {
10761
+ }, p2 = x(Xm);
10762
+ class f2 {
10763
10763
  fetchInstance;
10764
10764
  constructor(n, i) {
10765
10765
  this.fetchInstance = new dt(n, i);
@@ -10780,7 +10780,7 @@ class fT {
10780
10780
  }
10781
10781
  let Zm = class {
10782
10782
  // Cashflow is hard-coded to display 30 days starting from today
10783
- dateRange = { start: ve(), end: Fn(ve(), 30) };
10783
+ dateRange = { start: Ae(), end: Fn(Ae(), 30) };
10784
10784
  isDirty = !1;
10785
10785
  nextIncome = void 0;
10786
10786
  upcomingExpenses = [];
@@ -10790,13 +10790,13 @@ let Zm = class {
10790
10790
  }
10791
10791
  // Returns the number of days until the next income activity or 0 if there is no income activity
10792
10792
  get daysUntilNextIncome() {
10793
- return this.nextIncome ? Math.abs(Vd(ve(), this.nextIncome.expectedDate)) : 0;
10793
+ return this.nextIncome ? Math.abs(Vd(Ae(), this.nextIncome.expectedDate)) : 0;
10794
10794
  }
10795
10795
  // Returns the expenses (Activities) until the next income activity or the end of the month
10796
10796
  // if there is no income activity
10797
10797
  get expensesTilNextIncome() {
10798
10798
  return this.upcomingExpenses.filter(
10799
- (n) => ot(n.expectedDate, this.nextIncome?.expectedDate || Qe(/* @__PURE__ */ new Date()))
10799
+ (n) => ot(n.expectedDate, this.nextIncome?.expectedDate || qe(/* @__PURE__ */ new Date()))
10800
10800
  );
10801
10801
  }
10802
10802
  setNextIncome = (n) => {
@@ -11297,7 +11297,7 @@ const Sn = () => {
11297
11297
  return isNaN(i) ? 0 : i;
11298
11298
  }, Ko = (e, n) => {
11299
11299
  const i = [];
11300
- let a = Ze(n?.start ?? Ht(/* @__PURE__ */ new Date(), 5));
11300
+ let a = Ye(n?.start ?? Ht(/* @__PURE__ */ new Date(), 5));
11301
11301
  const o = n?.end ?? /* @__PURE__ */ new Date();
11302
11302
  for (; ot(a, o); )
11303
11303
  i.push({
@@ -11318,8 +11318,8 @@ const Sn = () => {
11318
11318
  const n = [], i = e.filter(
11319
11319
  (r) => r.top_level_category_guid !== D.INCOME && r.top_level_category_guid !== D.TRANSFER && r.total > 0
11320
11320
  );
11321
- let a = Ze(Ht(/* @__PURE__ */ new Date(), 5));
11322
- const o = Qe(/* @__PURE__ */ new Date());
11321
+ let a = Ye(Ht(/* @__PURE__ */ new Date(), 5));
11322
+ const o = qe(/* @__PURE__ */ new Date());
11323
11323
  for (; ot(a, o); )
11324
11324
  n.push({
11325
11325
  x: ue(a, re.MONTH_SHORT),
@@ -11344,7 +11344,7 @@ const Sn = () => {
11344
11344
  }
11345
11345
  return c;
11346
11346
  }, dp = () => {
11347
- const e = Ye(), { selectedAccount: n } = Vt(), { monthlyCategoryTotals: i } = $e(), { trends: a } = A(), o = [e.palette.chart?.chart1, e.palette.chart?.chart2], r = cp(i, n.account_type), s = lp(r, n.account_type, a), c = [_e.LOAN, _e.MORTGAGE].includes(n.account_type);
11347
+ const e = je(), { selectedAccount: n } = Vt(), { monthlyCategoryTotals: i } = $e(), { trends: a } = A(), o = [e.palette.chart?.chart1, e.palette.chart?.chart2], r = cp(i, n.account_type), s = lp(r, n.account_type, a), c = [_e.LOAN, _e.MORTGAGE].includes(n.account_type);
11348
11348
  return /* @__PURE__ */ t("div", { "data-testid": "TrendsChart", children: /* @__PURE__ */ t(
11349
11349
  ni,
11350
11350
  {
@@ -11378,7 +11378,7 @@ const Sn = () => {
11378
11378
  _n,
11379
11379
  {
11380
11380
  sx: { pb: 0 },
11381
- title: /* @__PURE__ */ t(qe, { sx: { pb: 4 }, children: ue(/* @__PURE__ */ new Date(), re.MONTH_LONG) })
11381
+ title: /* @__PURE__ */ t(Qe, { sx: { pb: 4 }, children: ue(/* @__PURE__ */ new Date(), re.MONTH_LONG) })
11382
11382
  }
11383
11383
  ),
11384
11384
  /* @__PURE__ */ t(Pt, { sx: { p: 0 }, children: /* @__PURE__ */ t(_p, {}) })
@@ -11436,7 +11436,7 @@ const qc = ({
11436
11436
  onClickArea: r,
11437
11437
  onHoverArea: s
11438
11438
  }) => {
11439
- const c = Ye(), { onEvent: l } = q(), u = a.filter((w) => !w.is_impossible), _ = [
11439
+ const c = je(), { onEvent: l } = q(), u = a.filter((w) => !w.is_impossible), _ = [
11440
11440
  ...new Set(
11441
11441
  u.flatMap((w) => w.dataset.map((N) => new Date(N.x).getTime()))
11442
11442
  )
@@ -11561,7 +11561,7 @@ const qc = ({
11561
11561
  }
11562
11562
  },
11563
11563
  children: [
11564
- /* @__PURE__ */ t(_n, { sx: { pb: 0 }, title: /* @__PURE__ */ t(qe, { sx: { pb: 4 }, children: n.details_chart_title }) }),
11564
+ /* @__PURE__ */ t(_n, { sx: { pb: 0 }, title: /* @__PURE__ */ t(Qe, { sx: { pb: 4 }, children: n.details_chart_title }) }),
11565
11565
  /* @__PURE__ */ t(Pt, { sx: { p: 0 }, children: /* @__PURE__ */ t(qc, { debts: [i], height: 250 }) })
11566
11566
  ]
11567
11567
  }
@@ -12388,11 +12388,11 @@ const zt = (e) => /* @__PURE__ */ t(C, { fontWeight: 600, variant: "Small", chil
12388
12388
  S && R().finally();
12389
12389
  }, [S]);
12390
12390
  const L = (fe) => u(fe), W = () => {
12391
- const fe = w.find((Me) => Me.guid === l), Ae = G.find((Me) => Me.guid === l);
12392
- fe && E(fe), Ae && v(Ae), a(!0);
12393
- }, K = () => m(F.DEBTS_CLICK_FILTER), oe = () => {
12391
+ const fe = w.find((Me) => Me.guid === l), xe = G.find((Me) => Me.guid === l);
12392
+ fe && E(fe), xe && v(xe), a(!0);
12393
+ }, K = () => m(F.DEBTS_CLICK_FILTER), ie = () => {
12394
12394
  c(!0), m(F.DEBTS_CLICK_SNOWBALL_CTA);
12395
- }, ne = () => {
12395
+ }, oe = () => {
12396
12396
  r(!0), m(F.DEBTS_CLICK_PAYDOWN);
12397
12397
  };
12398
12398
  return !N || !f || !S ? /* @__PURE__ */ t(de, {}) : /* @__PURE__ */ d(
@@ -12401,7 +12401,7 @@ const zt = (e) => /* @__PURE__ */ t(C, { fontWeight: 600, variant: "Small", chil
12401
12401
  accountOptions: w,
12402
12402
  actions: [
12403
12403
  /* @__PURE__ */ t(Up, {}, "prioritize-debts"),
12404
- /* @__PURE__ */ t(Kp, { onClick: ne }, "extra-paydown")
12404
+ /* @__PURE__ */ t(Kp, { onClick: oe }, "extra-paydown")
12405
12405
  ],
12406
12406
  onAccountsFilterClick: K,
12407
12407
  onBackClick: e,
@@ -12433,7 +12433,7 @@ const zt = (e) => /* @__PURE__ */ t(C, { fontWeight: 600, variant: "Small", chil
12433
12433
  ep,
12434
12434
  {
12435
12435
  debts: G,
12436
- onClickCta: oe,
12436
+ onClickCta: ie,
12437
12437
  sx: { mb: h ? "0px" : "64px" }
12438
12438
  }
12439
12439
  )
@@ -12462,7 +12462,7 @@ const zt = (e) => /* @__PURE__ */ t(C, { fontWeight: 600, variant: "Small", chil
12462
12462
  ]
12463
12463
  }
12464
12464
  );
12465
- }, bT = x(zp), Yp = {
12465
+ }, b2 = x(zp), Yp = {
12466
12466
  unnamed_label: "Unnamed Debt"
12467
12467
  };
12468
12468
  function jp(e, n) {
@@ -12658,7 +12658,7 @@ const qp = ({ list: e, onClickItem: n }) => /* @__PURE__ */ t(O, { sx: { bgcolor
12658
12658
  unitsPerSegment: h,
12659
12659
  isFinacialStrengthGraph: p
12660
12660
  }) => {
12661
- const m = Ye(), f = [
12661
+ const m = je(), f = [
12662
12662
  { offset: "13.62%", color: m.palette.chartMono.chartMono2 },
12663
12663
  { offset: "36.67%", color: m.palette.chartMono.chartMono3 },
12664
12664
  { offset: "59.72%", color: m.palette.chartMono.chartMono4 },
@@ -12712,7 +12712,7 @@ const qp = ({ list: e, onClickItem: n }) => /* @__PURE__ */ t(O, { sx: { bgcolor
12712
12712
  footerRightContent: _,
12713
12713
  isFinacialStrengthGraph: h = !1
12714
12714
  }) => {
12715
- const p = Ye(), m = -Math.PI / 1.35, f = Math.PI / 1.35, S = f - m, y = S / (r - o), E = (n - o) * y, I = m + E + 0.02, v = i !== "SM" ? 0.1 : 0.12, w = e, N = e * (1 - v), R = w * 2.5, M = R / 2, k = R / 2, G = (N + w) / 2, L = n !== 25 && n !== 50 && n !== 75 && n !== 100 ? 0 : 0.12, [W, K] = t1(G, I, L), oe = n / 25, ne = {
12715
+ const p = je(), m = -Math.PI / 1.35, f = Math.PI / 1.35, S = f - m, y = S / (r - o), E = (n - o) * y, I = m + E + 0.02, v = i !== "SM" ? 0.1 : 0.12, w = e, N = e * (1 - v), R = w * 2.5, M = R / 2, k = R / 2, G = (N + w) / 2, L = n !== 25 && n !== 50 && n !== 75 && n !== 100 ? 0 : 0.12, [W, K] = t1(G, I, L), ie = n / 25, oe = {
12716
12716
  L: { markerSize: 12, healthScoreFontSize: 64 },
12717
12717
  M: { markerSize: 10, healthScoreFontSize: 48 },
12718
12718
  SM: { markerSize: 3, healthScoreFontSize: 14 }
@@ -12748,22 +12748,22 @@ const qp = ({ list: e, onClickItem: n }) => /* @__PURE__ */ t(O, { sx: { bgcolor
12748
12748
  legend: { hidden: !0 }
12749
12749
  },
12750
12750
  slots: {
12751
- pieArc: (Ae) => /* @__PURE__ */ t(
12751
+ pieArc: (xe) => /* @__PURE__ */ t(
12752
12752
  a1,
12753
12753
  {
12754
- arcColor: Ae.color,
12754
+ arcColor: xe.color,
12755
12755
  arcRadius: e,
12756
12756
  arcStartAngle: m,
12757
12757
  centerX: M,
12758
12758
  centerY: k,
12759
- dataIndex: Ae.dataIndex,
12759
+ dataIndex: xe.dataIndex,
12760
12760
  dialScoreData: a,
12761
12761
  innerArcRadius: N,
12762
12762
  isFinacialStrengthGraph: h,
12763
12763
  outterArcRadius: w,
12764
12764
  progressEndAngle: I,
12765
12765
  totalAngularSpan: S,
12766
- unitsPerSegment: oe
12766
+ unitsPerSegment: ie
12767
12767
  }
12768
12768
  )
12769
12769
  },
@@ -12779,7 +12779,7 @@ const qp = ({ list: e, onClickItem: n }) => /* @__PURE__ */ t(O, { sx: { bgcolor
12779
12779
  cx: M + W,
12780
12780
  cy: k + K,
12781
12781
  fill: p.palette.common.white,
12782
- r: ne[i].markerSize,
12782
+ r: oe[i].markerSize,
12783
12783
  stroke: h ? "url(#arcGradient)" : s,
12784
12784
  strokeWidth: i !== "SM" ? 3 : 1
12785
12785
  }
@@ -12806,7 +12806,7 @@ const qp = ({ list: e, onClickItem: n }) => /* @__PURE__ */ t(O, { sx: { bgcolor
12806
12806
  X,
12807
12807
  {
12808
12808
  sx: {
12809
- fontSize: ne[i].healthScoreFontSize,
12809
+ fontSize: oe[i].healthScoreFontSize,
12810
12810
  lineHeight: i !== "SM" ? "48px" : "100%"
12811
12811
  },
12812
12812
  variant: "H1",
@@ -12896,7 +12896,7 @@ const qp = ({ list: e, onClickItem: n }) => /* @__PURE__ */ t(O, { sx: { bgcolor
12896
12896
  }
12897
12897
  );
12898
12898
  }
12899
- ), yT = x(
12899
+ ), y2 = x(
12900
12900
  ({
12901
12901
  arcRadius: e,
12902
12902
  size: n = "L",
@@ -12905,7 +12905,7 @@ const qp = ({ list: e, onClickItem: n }) => /* @__PURE__ */ t(O, { sx: { bgcolor
12905
12905
  minValue: o = 300,
12906
12906
  footerCenterContent: r
12907
12907
  }) => {
12908
- const c = Ye().palette.mode === "dark", l = [
12908
+ const c = je().palette.mode === "dark", l = [
12909
12909
  {
12910
12910
  id: 1,
12911
12911
  label: "Poor",
@@ -13080,7 +13080,7 @@ const Na = ({
13080
13080
  },
13081
13081
  children: [
13082
13082
  n && /* @__PURE__ */ t(co, { sx: { height: 20, width: 20 } }),
13083
- /* @__PURE__ */ t(qe, { className: "connect-more-accounts-title", sx: { ...e && { fontSize: 15 } }, children: a || u.connect_more_accounts_title })
13083
+ /* @__PURE__ */ t(Qe, { className: "connect-more-accounts-title", sx: { ...e && { fontSize: 15 } }, children: a || u.connect_more_accounts_title })
13084
13084
  ]
13085
13085
  }
13086
13086
  ),
@@ -13115,7 +13115,7 @@ const Na = ({
13115
13115
  }
13116
13116
  );
13117
13117
  }, s1 = x(() => {
13118
- const e = Ye(), [n, { width: i }] = ii(), { finstrong: a } = A(), { isCopyLoaded: o, isInitialized: r } = ce(), { healthScore: s, healthScoreChange: c } = bi(), l = e.palette.mode === "dark", u = Xo(s?.health_score, a);
13118
+ const e = je(), [n, { width: i }] = ii(), { finstrong: a } = A(), { isCopyLoaded: o, isInitialized: r } = ce(), { healthScore: s, healthScoreChange: c } = bi(), l = e.palette.mode === "dark", u = Xo(s?.health_score, a);
13119
13119
  return !o || !r ? /* @__PURE__ */ t(de, {}) : /* @__PURE__ */ d(bt, { ref: n, sx: { p: 16 }, children: [
13120
13120
  /* @__PURE__ */ t(
13121
13121
  _n,
@@ -13134,7 +13134,7 @@ const Na = ({
13134
13134
  children: a.financial_strength_header_action
13135
13135
  }
13136
13136
  ),
13137
- subheader: /* @__PURE__ */ t(qe, { color: "text.primary", children: a.financial_strength_header }),
13137
+ subheader: /* @__PURE__ */ t(Qe, { color: "text.primary", children: a.financial_strength_header }),
13138
13138
  sx: {
13139
13139
  p: 0,
13140
13140
  "& .MuiCardHeader-content": {
@@ -13211,7 +13211,7 @@ const Na = ({
13211
13211
  title: i
13212
13212
  }) => {
13213
13213
  let a;
13214
- const { refreshAccounts: o } = be(), { loadWidget: r } = bc(), { connect: s } = A(), c = Ye(), [l, u] = g.useState(!1), [_, h] = g.useState(!1);
13214
+ const { refreshAccounts: o } = be(), { loadWidget: r } = bc(), { connect: s } = A(), c = je(), [l, u] = g.useState(!1), [_, h] = g.useState(!1);
13215
13215
  return g.useEffect(() => (n ? (u(!0), r({ widget: "connections_widget", mode: c.palette.mode }).then((p) => {
13216
13216
  a = new Hd({
13217
13217
  container: `#${Nr}`,
@@ -13284,7 +13284,7 @@ const Na = ({
13284
13284
  }
13285
13285
  );
13286
13286
  }, d1 = x(l1), _1 = ({ isOpen: e, onClose: n }) => {
13287
- const { finstrong: i } = A(), a = Ye(), { updateUser: o, user: r } = ft(), [s, c] = g.useState(r.birthday), l = (_) => {
13287
+ const { finstrong: i } = A(), a = je(), { updateUser: o, user: r } = ft(), [s, c] = g.useState(r.birthday), l = (_) => {
13288
13288
  c(Math.floor(new Date(_).getTime() / 1e3));
13289
13289
  };
13290
13290
  return /* @__PURE__ */ t(
@@ -13395,7 +13395,7 @@ const Na = ({
13395
13395
  return /* @__PURE__ */ d(le, { isOpen: e, onClose: n, title: s.financial_profile, children: [
13396
13396
  /* @__PURE__ */ d(b, { sx: { gap: 20, p: 24 }, children: [
13397
13397
  /* @__PURE__ */ d(b, { sx: { gap: 8 }, children: [
13398
- /* @__PURE__ */ t(qe, { children: s.your_financial_profile }),
13398
+ /* @__PURE__ */ t(Qe, { children: s.your_financial_profile }),
13399
13399
  /* @__PURE__ */ t(X, { children: s.financial_profile_description })
13400
13400
  ] }),
13401
13401
  /* @__PURE__ */ t(
@@ -13728,7 +13728,7 @@ const Na = ({
13728
13728
  const { finstrong: u } = A(), { isCopyLoaded: _ } = ce();
13729
13729
  return _ ? /* @__PURE__ */ d(le, { isOpen: o, onClose: s, title: a || u.key_indicators, children: [
13730
13730
  (l || i) && /* @__PURE__ */ d(b, { sx: { p: 24, pb: 0, gap: 8, backgroundColor: "background.paper" }, children: [
13731
- l && /* @__PURE__ */ t(qe, { children: l }),
13731
+ l && /* @__PURE__ */ t(Qe, { children: l }),
13732
13732
  i && /* @__PURE__ */ t(X, { children: i })
13733
13733
  ] }),
13734
13734
  c && /* @__PURE__ */ t(
@@ -13847,7 +13847,7 @@ const Na = ({
13847
13847
  ) })
13848
13848
  ] }) });
13849
13849
  }, T1 = x(E1), A1 = ({ isOpen: e, onClose: n }) => {
13850
- const i = Ye(), { finstrong: a } = A(), { isCopyLoaded: o, isInitialized: r } = ce(), { healthScore: s, healthScoreChangeReports: c, augmentedChartData: l } = bi();
13850
+ const i = je(), { finstrong: a } = A(), { isCopyLoaded: o, isInitialized: r } = ce(), { healthScore: s, healthScoreChangeReports: c, augmentedChartData: l } = bi();
13851
13851
  if (!o || !r) return /* @__PURE__ */ t(de, {});
13852
13852
  const u = Xo(s.health_score || 0, a), _ = c.slice().reverse();
13853
13853
  return /* @__PURE__ */ t(
@@ -13903,7 +13903,7 @@ const Na = ({
13903
13903
  return i ? /* @__PURE__ */ d(b, { sx: { alignItems: "center", gap: 12, pt: 12, pb: 32 }, children: [
13904
13904
  /* @__PURE__ */ t(Ys, { size: 48 }),
13905
13905
  /* @__PURE__ */ d(b, { sx: { alignItems: "center", gap: 4, textAlign: "center" }, children: [
13906
- /* @__PURE__ */ t(qe, { children: n.missing_data_title }),
13906
+ /* @__PURE__ */ t(Qe, { children: n.missing_data_title }),
13907
13907
  /* @__PURE__ */ t(X, { sx: { width: { sm: 348 } }, variant: "subtitle1", children: n.missing_data_description })
13908
13908
  ] }),
13909
13909
  /* @__PURE__ */ t(O, { children: /* @__PURE__ */ t(
@@ -13924,7 +13924,7 @@ const Na = ({
13924
13924
  ) })
13925
13925
  ] }) : /* @__PURE__ */ t(de, {});
13926
13926
  }, v1 = x(I1), w1 = ({ onBackClick: e, sx: n }) => {
13927
- const i = Ye(), { visibleAccounts: a } = be(), { dateRange: o, isDataLoaded: r, loadBudgetData: s, setTheme: c } = ut(), { reloadCategoryTotals: l } = $e(), { augmentedChartData: u, calculateHealthScore: _, healthScore: h, loadAugmentedChartData: p } = bi(), { finstrong: m, connect: f } = A(), { isCopyLoaded: S, isInitialized: y, selectedAccounts: E, setSelectedAccounts: I } = ce(), { isMobile: v } = Ce(), [w, N] = g.useState(!1);
13927
+ const i = je(), { visibleAccounts: a } = be(), { dateRange: o, isDataLoaded: r, loadBudgetData: s, setTheme: c } = ut(), { reloadCategoryTotals: l } = $e(), { augmentedChartData: u, calculateHealthScore: _, healthScore: h, loadAugmentedChartData: p } = bi(), { finstrong: m, connect: f } = A(), { isCopyLoaded: S, isInitialized: y, selectedAccounts: E, setSelectedAccounts: I } = ce(), { isMobile: v } = Ce(), [w, N] = g.useState(!1);
13928
13928
  g.useEffect(() => {
13929
13929
  c(i);
13930
13930
  }, []), g.useEffect(() => I(a), [a]), g.useEffect(() => {
@@ -13976,7 +13976,7 @@ const Na = ({
13976
13976
  ] }),
13977
13977
  /* @__PURE__ */ t(b, { sx: { maxWidth: 848, minWidth: 288, width: { md: 720 } }, children: /* @__PURE__ */ d(bt, { sx: { background: i.palette.background.paper, p: 16 }, children: [
13978
13978
  /* @__PURE__ */ d(b, { direction: "row", sx: { alignItems: "center", justifyContent: "space-between" }, children: [
13979
- /* @__PURE__ */ t(qe, { children: m.key_indicators }),
13979
+ /* @__PURE__ */ t(Qe, { children: m.key_indicators }),
13980
13980
  /* @__PURE__ */ t(
13981
13981
  te,
13982
13982
  {
@@ -14039,7 +14039,7 @@ const Na = ({
14039
14039
  ]
14040
14040
  }
14041
14041
  );
14042
- }, ST = x(w1);
14042
+ }, S2 = x(w1);
14043
14043
  class os {
14044
14044
  fetchInstance;
14045
14045
  constructor(n, i) {
@@ -14389,7 +14389,7 @@ const N1 = (e, n) => {
14389
14389
  title: _,
14390
14390
  children: /* @__PURE__ */ d(b, { children: [
14391
14391
  /* @__PURE__ */ d(b, { m: 24, children: [
14392
- /* @__PURE__ */ t(qe, { children: h }),
14392
+ /* @__PURE__ */ t(Qe, { children: h }),
14393
14393
  /* @__PURE__ */ t(X, { color: "text.secondary", sx: { textWrap: "wrap" }, variant: "ParagraphSmall", children: p })
14394
14394
  ] }),
14395
14395
  /* @__PURE__ */ t(O1, { trackType: e }),
@@ -14958,8 +14958,8 @@ const N1 = (e, n) => {
14958
14958
  return n.filter((W) => L.some((K) => K.account_guid === W.guid));
14959
14959
  }, [E, n, l, u]), w = g.useMemo(() => {
14960
14960
  if (!_) return !1;
14961
- const { account_guid: L, track_type: W, name: K, amount: oe, retirement_age: ne } = _;
14962
- return W === Y.SAVINGS_TRACK ? L ? !!K && !!oe : !1 : W === Y.RETIREMENT_TRACK ? v.length ? !!K && !!oe && !!ne && !!f.birthday : !1 : !0;
14961
+ const { account_guid: L, track_type: W, name: K, amount: ie, retirement_age: oe } = _;
14962
+ return W === Y.SAVINGS_TRACK ? L ? !!K && !!ie : !1 : W === Y.RETIREMENT_TRACK ? v.length ? !!K && !!ie && !!oe && !!f.birthday : !1 : !0;
14963
14963
  }, [_, v, f.birthday]);
14964
14964
  let N = a.delete_button, R = () => y(!0);
14965
14965
  E ? (R = () => M(), N = a.save_button) : I && (R = () => G(), N = i.mark_as_complete_button);
@@ -15008,7 +15008,7 @@ const N1 = (e, n) => {
15008
15008
  }
15009
15009
  )
15010
15010
  ] });
15011
- }), ET = x(({ onBackClick: e, sx: n }) => {
15011
+ }), E2 = x(({ onBackClick: e, sx: n }) => {
15012
15012
  const { onEvent: i } = q(), { isMobile: a } = Ce(), { visibleAccounts: o } = be(), { isCopyLoaded: r, isInitialized: s, setSelectedAccounts: c } = ce(), { goals: l, common: u } = A(), { alert: _, goals: h, goalsLoaded: p, loadGoals: m, monthlyCashFlowProfile: f, setAlert: S, retirmentGoals: y } = _t(), [E, I] = g.useState(0), [v, w] = g.useState(!1), N = f?.amount_allocated_for_savings_goals || 0, R = f?.amount_allocated_for_debt_goals || 0, M = f?.amount_allocated_for_retirement_goals || 0, k = r ? T(
15013
15013
  a ? l.tab_subtitle_mobile : l.tab_subtitle,
15014
15014
  H(N, "0,0")
@@ -15028,9 +15028,9 @@ const N1 = (e, n) => {
15028
15028
  i(F.GOALS_CLICK_FILTER);
15029
15029
  }, K = () => {
15030
15030
  w(!0), i(F.GOALS_CLICK_ADD);
15031
- }, oe = (fe) => {
15031
+ }, ie = (fe) => {
15032
15032
  w(!1), fe === Y.SAVINGS_TRACK ? I(0) : fe === Y.DEBT_TRACK ? I(1) : fe === Y.RETIREMENT_TRACK && I(2);
15033
- }, ne = g.useMemo(
15033
+ }, oe = g.useMemo(
15034
15034
  () => p && (h.length === 0 || h.every(({ track_type: fe }) => !fe) && y.length === 0),
15035
15035
  [h, p, y]
15036
15036
  );
@@ -15054,37 +15054,37 @@ const N1 = (e, n) => {
15054
15054
  /* @__PURE__ */ d(
15055
15055
  Ut,
15056
15056
  {
15057
- onChange: (fe, Ae) => I(Ae),
15057
+ onChange: (fe, xe) => I(xe),
15058
15058
  sx: { bgcolor: "background.paper" },
15059
15059
  textColor: "primary",
15060
- value: ne ? !1 : E,
15060
+ value: oe ? !1 : E,
15061
15061
  variant: "fullWidth",
15062
15062
  children: [
15063
15063
  /* @__PURE__ */ t(
15064
15064
  tt,
15065
15065
  {
15066
- disabled: ne,
15066
+ disabled: oe,
15067
15067
  label: /* @__PURE__ */ t(Wa, { subtitle: k, title: l.tab_saving_title })
15068
15068
  }
15069
15069
  ),
15070
15070
  /* @__PURE__ */ t(
15071
15071
  tt,
15072
15072
  {
15073
- disabled: ne,
15073
+ disabled: oe,
15074
15074
  label: /* @__PURE__ */ t(Wa, { subtitle: G, title: l.tab_debt_title })
15075
15075
  }
15076
15076
  ),
15077
15077
  /* @__PURE__ */ t(
15078
15078
  tt,
15079
15079
  {
15080
- disabled: ne,
15080
+ disabled: oe,
15081
15081
  label: /* @__PURE__ */ t(Wa, { subtitle: L, title: l.tab_retirement_title })
15082
15082
  }
15083
15083
  )
15084
15084
  ]
15085
15085
  }
15086
15086
  ),
15087
- ne ? /* @__PURE__ */ t(
15087
+ oe ? /* @__PURE__ */ t(
15088
15088
  jn,
15089
15089
  {
15090
15090
  header: l.create_goals_header,
@@ -15105,7 +15105,7 @@ const N1 = (e, n) => {
15105
15105
  E === 2 && /* @__PURE__ */ t($a, { onAddGoals: K, trackType: Y.RETIREMENT_TRACK })
15106
15106
  ] })
15107
15107
  ] }),
15108
- /* @__PURE__ */ t(z1, { onClose: oe }),
15108
+ /* @__PURE__ */ t(z1, { onClose: ie }),
15109
15109
  /* @__PURE__ */ t(
15110
15110
  le,
15111
15111
  {
@@ -15113,7 +15113,7 @@ const N1 = (e, n) => {
15113
15113
  isOpen: v,
15114
15114
  onClose: () => w(!1),
15115
15115
  title: l.add_goal_title,
15116
- children: /* @__PURE__ */ t(H1, { onClose: oe })
15116
+ children: /* @__PURE__ */ t(H1, { onClose: ie })
15117
15117
  }
15118
15118
  ),
15119
15119
  /* @__PURE__ */ t(Wi, { onClose: () => S(""), open: !!_, children: /* @__PURE__ */ t(Mn, { onClose: () => S(""), severity: "success", variant: "filled", children: _ }) })
@@ -15348,7 +15348,7 @@ const j1 = x(({ goal: e }) => {
15348
15348
  )
15349
15349
  ]
15350
15350
  }
15351
- ), TT = x(({ onCTAClick: e }) => {
15351
+ ), T2 = x(({ onCTAClick: e }) => {
15352
15352
  const { visibleAccounts: n } = be(), { onEvent: i } = q(), { goals: a } = A(), { isInitialized: o, setSelectedAccounts: r, isCopyLoaded: s } = ce(), { ongoingGoalsForMicroWidget: c, loadGoals: l, goalsLoaded: u } = _t();
15353
15353
  g.useEffect(() => {
15354
15354
  r(n);
@@ -15990,7 +15990,7 @@ const mf = /^[ a-zA-ZÀ-ÿ0-9]+$/, pf = 50, ls = 65, ff = ({
15990
15990
  !a.length && /* @__PURE__ */ t(b, { alignItems: "center", my: 24, children: /* @__PURE__ */ t(C, { bold: !0, color: "secondary", variant: "Small", children: r.search_zero_state }) })
15991
15991
  ] }) }) })
15992
15992
  ] }) : /* @__PURE__ */ t(de, {});
15993
- }, AT = x(ff);
15993
+ }, A2 = x(ff);
15994
15994
  class ds {
15995
15995
  fetchInstance;
15996
15996
  constructor(n, i) {
@@ -16031,7 +16031,7 @@ const bf = ({
16031
16031
  onMouseLeave: o,
16032
16032
  selectedData: r
16033
16033
  }) => {
16034
- const { isMobile: s } = Ce(), { availableWidth: c } = $n(), l = Ye(), u = c - 320, _ = e.map((f) => ({
16034
+ const { isMobile: s } = Ce(), { availableWidth: c } = $n(), l = je(), u = c - 320, _ = e.map((f) => ({
16035
16035
  x: pn(Ue(f.x), "MMM"),
16036
16036
  y: f.y
16037
16037
  })), h = r ? { index: e.findIndex((f) => f.x === r.x) } : void 0, p = n ? { index: e.findIndex((f) => f.x === n.x) } : void 0, m = (f) => ({
@@ -16091,7 +16091,7 @@ const bf = ({
16091
16091
  {
16092
16092
  primary: /* @__PURE__ */ d(b, { direction: "row", justifyContent: "space-between", sx: { fontWeight: 400 }, children: [
16093
16093
  /* @__PURE__ */ t(C, { variant: "Body", children: fc(e.x) }),
16094
- /* @__PURE__ */ t(Xe, { amount: e.y, sx: { color: "inherit" }, variant: "Body" })
16094
+ /* @__PURE__ */ t(Ze, { amount: e.y, sx: { color: "inherit" }, variant: "Body" })
16095
16095
  ] })
16096
16096
  }
16097
16097
  )
@@ -16110,7 +16110,7 @@ const bf = ({
16110
16110
  onMouseLeave: r,
16111
16111
  selectedData: s
16112
16112
  }) => {
16113
- const { net_worth: c } = A(), l = Ye(), u = (_) => {
16113
+ const { net_worth: c } = A(), l = je(), u = (_) => {
16114
16114
  const h = _.x === n?.x, p = _.x === s?.x, m = {
16115
16115
  backgroundColor: "inherit",
16116
16116
  borderBottom: "inherit",
@@ -16165,14 +16165,14 @@ const bf = ({
16165
16165
  }
16166
16166
  }
16167
16167
  ),
16168
- /* @__PURE__ */ t(Xe, { amount: a.change, color: s, variant: n }),
16168
+ /* @__PURE__ */ t(Ze, { amount: a.change, color: s, variant: n }),
16169
16169
  /* @__PURE__ */ t(C, { variant: "Small", children: e })
16170
16170
  ] });
16171
16171
  }, Jo = x(xf), If = ({ hoveredData: e, selectedData: n }) => {
16172
- const { net_worth: i } = A(), a = Ye(), o = e || n, r = ec(ci(o.x), "MMMM");
16172
+ const { net_worth: i } = A(), a = je(), o = e || n, r = ec(ci(o.x), "MMMM");
16173
16173
  return /* @__PURE__ */ d(b, { alignItems: "center", direction: "column", m: 24, children: [
16174
16174
  /* @__PURE__ */ t(C, { color: a.palette.secondary.main, variant: "Small", children: `${r} ${i.net_worth}` }),
16175
- /* @__PURE__ */ t(Xe, { amount: o.y, variant: "H2" }),
16175
+ /* @__PURE__ */ t(Ze, { amount: o.y, variant: "H2" }),
16176
16176
  /* @__PURE__ */ t(Jo, { currencyLabel: i.this_month, netWorth: o, theme: a })
16177
16177
  ] });
16178
16178
  }, vf = x(If), gl = 13, wf = (e, n) => e.filter((i) => {
@@ -16181,7 +16181,7 @@ const bf = ({
16181
16181
  }), Df = (e, n) => [...e, ...n], _s = (e) => {
16182
16182
  if (e && e.length > 0)
16183
16183
  return e[e.length - 1];
16184
- }, Nf = (e, n) => e.year_month - n.year_month, Rf = () => Array.from({ length: gl }, (e, n) => Math.floor(Ze(Ht(/* @__PURE__ */ new Date(), n)).getTime() / 1e3)).sort(), Of = (e, n, i) => !e.length || !n.length ? [] : Rf().reduceRight((o, r) => {
16184
+ }, Nf = (e, n) => e.year_month - n.year_month, Rf = () => Array.from({ length: gl }, (e, n) => Math.floor(Ye(Ht(/* @__PURE__ */ new Date(), n)).getTime() / 1e3)).sort(), Of = (e, n, i) => !e.length || !n.length ? [] : Rf().reduceRight((o, r) => {
16185
16185
  const s = n.filter(
16186
16186
  ({ year_month: _ }) => _ === parseInt(pn(Ue(r), "yyyyMM"))
16187
16187
  ), c = e.map((_) => {
@@ -16332,7 +16332,7 @@ const Gf = ({ amount: e, copy: n, trendValue: i }) => {
16332
16332
  /* @__PURE__ */ t(C, { sx: { display: "block", fontWeight: 600 }, variant: "body1", children: e.empty_widget_header }),
16333
16333
  /* @__PURE__ */ t(X, { sx: { color: "text.secondary" }, variant: "body2", children: e.zero_state_description })
16334
16334
  ] })
16335
- ] }), xT = x(({ onCTAClick: e }) => {
16335
+ ] }), x2 = x(({ onCTAClick: e }) => {
16336
16336
  const [n, i] = g.useState(!1), { visibleAccounts: a } = be(), { onEvent: o } = q(), { net_worth: r, common: s } = A(), { isInitialized: c, selectedAccounts: l, setSelectedAccounts: u } = ce(), { loadChartData: _, loadNetWorthData: h, netWorthData: p, selectedData: m } = yc(), f = async () => {
16337
16337
  await h(l), await _(1), i(!0);
16338
16338
  };
@@ -16382,8 +16382,26 @@ const Gf = ({ amount: e, copy: n, trendValue: i }) => {
16382
16382
  se,
16383
16383
  {
16384
16384
  primary: /* @__PURE__ */ d(b, { direction: "row", justifyContent: "space-between", sx: { fontWeight: 400 }, children: [
16385
- /* @__PURE__ */ t(C, { variant: "Body", children: r.accountName }),
16386
- /* @__PURE__ */ t(Xe, { amount: r.balance, variant: "Small" })
16385
+ /* @__PURE__ */ t(
16386
+ C,
16387
+ {
16388
+ sx: {
16389
+ marginRight: 10
16390
+ },
16391
+ variant: "Body",
16392
+ children: r.accountName
16393
+ }
16394
+ ),
16395
+ /* @__PURE__ */ t(
16396
+ Ze,
16397
+ {
16398
+ amount: r.balance,
16399
+ sx: {
16400
+ flexShrink: 0
16401
+ },
16402
+ variant: "Small"
16403
+ }
16404
+ )
16387
16405
  ] }),
16388
16406
  sx: { pl: 72, pr: 16 }
16389
16407
  }
@@ -16413,7 +16431,7 @@ const Gf = ({ amount: e, copy: n, trendValue: i }) => {
16413
16431
  },
16414
16432
  children: [
16415
16433
  /* @__PURE__ */ t(C, { variant: "Body", children: r.current_net_worth }),
16416
- /* @__PURE__ */ t(Xe, { amount: e?.y ?? 0, variant: "H1" }),
16434
+ /* @__PURE__ */ t(Ze, { amount: e?.y ?? 0, variant: "H1" }),
16417
16435
  e && /* @__PURE__ */ t(
16418
16436
  Jo,
16419
16437
  {
@@ -16432,7 +16450,7 @@ const Gf = ({ amount: e, copy: n, trendValue: i }) => {
16432
16450
  {
16433
16451
  primary: /* @__PURE__ */ d(b, { direction: "row", justifyContent: "space-between", children: [
16434
16452
  /* @__PURE__ */ t(C, { sx: { fontWeight: 700 }, variant: "XSmall", children: r.assets }),
16435
- /* @__PURE__ */ t(Xe, { amount: a, sx: { fontWeight: 400 }, variant: "XSmall" })
16453
+ /* @__PURE__ */ t(Ze, { amount: a, sx: { fontWeight: 400 }, variant: "XSmall" })
16436
16454
  ] })
16437
16455
  }
16438
16456
  ) }),
@@ -16442,7 +16460,7 @@ const Gf = ({ amount: e, copy: n, trendValue: i }) => {
16442
16460
  {
16443
16461
  primary: /* @__PURE__ */ d(b, { direction: "row", justifyContent: "space-between", children: [
16444
16462
  /* @__PURE__ */ t(C, { sx: { fontWeight: 700 }, variant: "XSmall", children: r.liabilities }),
16445
- /* @__PURE__ */ t(Xe, { amount: o, sx: { fontWeight: 400 }, variant: "XSmall" })
16463
+ /* @__PURE__ */ t(Ze, { amount: o, sx: { fontWeight: 400 }, variant: "XSmall" })
16446
16464
  ] })
16447
16465
  }
16448
16466
  ) }),
@@ -16469,7 +16487,7 @@ const Gf = ({ amount: e, copy: n, trendValue: i }) => {
16469
16487
  {
16470
16488
  primary: /* @__PURE__ */ d(b, { direction: "row", justifyContent: "space-between", children: [
16471
16489
  /* @__PURE__ */ t(C, { sx: { fontWeight: 700 }, variant: "XSmall", children: r.gains }),
16472
- /* @__PURE__ */ t(Xe, { amount: a, sx: { fontWeight: 400 }, variant: "XSmall" })
16490
+ /* @__PURE__ */ t(Ze, { amount: a, sx: { fontWeight: 400 }, variant: "XSmall" })
16473
16491
  ] })
16474
16492
  }
16475
16493
  ) }),
@@ -16480,7 +16498,7 @@ const Gf = ({ amount: e, copy: n, trendValue: i }) => {
16480
16498
  primary: /* @__PURE__ */ d(b, { direction: "row", justifyContent: "space-between", sx: { fontWeight: 400 }, children: [
16481
16499
  /* @__PURE__ */ t(C, { variant: "Body", children: c.accountName }),
16482
16500
  /* @__PURE__ */ t(
16483
- Xe,
16501
+ Ze,
16484
16502
  {
16485
16503
  amount: c.gain,
16486
16504
  sx: { color: s.palette.success.main, fontWeight: 700 },
@@ -16498,7 +16516,7 @@ const Gf = ({ amount: e, copy: n, trendValue: i }) => {
16498
16516
  {
16499
16517
  primary: /* @__PURE__ */ d(b, { direction: "row", justifyContent: "space-between", children: [
16500
16518
  /* @__PURE__ */ t(C, { sx: { fontWeight: 700 }, variant: "XSmall", children: r.losses }),
16501
- /* @__PURE__ */ t(Xe, { amount: o, sx: { fontWeight: 400 }, variant: "XSmall" })
16519
+ /* @__PURE__ */ t(Ze, { amount: o, sx: { fontWeight: 400 }, variant: "XSmall" })
16502
16520
  ] })
16503
16521
  }
16504
16522
  ) }),
@@ -16512,7 +16530,7 @@ const Gf = ({ amount: e, copy: n, trendValue: i }) => {
16512
16530
  {
16513
16531
  primary: /* @__PURE__ */ d(b, { direction: "row", justifyContent: "space-between", sx: { fontWeight: 400 }, children: [
16514
16532
  /* @__PURE__ */ t(C, { variant: "Body", children: c.accountName }),
16515
- /* @__PURE__ */ t(Xe, { amount: c.loss, sx: { fontWeight: 700 }, variant: "Body" })
16533
+ /* @__PURE__ */ t(Ze, { amount: c.loss, sx: { fontWeight: 700 }, variant: "Body" })
16516
16534
  ] }),
16517
16535
  sx: { px: 16 }
16518
16536
  }
@@ -16524,7 +16542,7 @@ const Gf = ({ amount: e, copy: n, trendValue: i }) => {
16524
16542
  ] }))
16525
16543
  ] })
16526
16544
  ] });
16527
- }, $f = x(Wf), IT = x(({ onBackClick: e }) => {
16545
+ }, $f = x(Wf), I2 = x(({ onBackClick: e }) => {
16528
16546
  const { isCopyLoaded: n, isInitialized: i, selectedAccounts: a, setSelectedAccounts: o } = ce(), { accounts: r, net_worth: s } = A(), { visibleAccounts: c } = be(), {
16529
16547
  assetsLiabilities: l,
16530
16548
  gainsLosses: u,
@@ -16535,7 +16553,7 @@ const Gf = ({ amount: e, copy: n, trendValue: i }) => {
16535
16553
  selectedData: f,
16536
16554
  setHoveredData: S,
16537
16555
  setSelectedData: y
16538
- } = yc(), { isMobile: E } = Ce(), { onEvent: I } = q(), [v, w] = g.useState(!1), [N, R] = g.useState(6), [M, k] = g.useState(!1), [G, L] = g.useState(!1), [W, K] = g.useState(!1), oe = async () => {
16556
+ } = yc(), { isMobile: E } = Ce(), { onEvent: I } = q(), [v, w] = g.useState(!1), [N, R] = g.useState(6), [M, k] = g.useState(!1), [G, L] = g.useState(!1), [W, K] = g.useState(!1), ie = async () => {
16539
16557
  await p(a), await h(N), w(!0);
16540
16558
  };
16541
16559
  g.useEffect(() => {
@@ -16543,15 +16561,15 @@ const Gf = ({ amount: e, copy: n, trendValue: i }) => {
16543
16561
  }, []), g.useEffect(() => {
16544
16562
  o(c);
16545
16563
  }, [c]), g.useEffect(() => {
16546
- i && oe().finally();
16564
+ i && ie().finally();
16547
16565
  }, [i, a]), g.useEffect(() => {
16548
16566
  I(F.NET_WORTH_WIDGET_CLICK_TIMEFRAME, { time_period: N + "M" }), h(N).finally();
16549
16567
  }, [N]);
16550
- const ne = (V, pe) => {
16568
+ const oe = (V, pe) => {
16551
16569
  y(pe), V.currentTarget instanceof HTMLDivElement && k(!0);
16552
16570
  }, fe = (V) => {
16553
16571
  S(V);
16554
- }, Ae = () => {
16572
+ }, xe = () => {
16555
16573
  S(null);
16556
16574
  }, Me = () => {
16557
16575
  I(F.NET_WORTH_WIDGET_CLICK_ASSETS_LIABILITIES), L(!0);
@@ -16562,11 +16580,11 @@ const Gf = ({ amount: e, copy: n, trendValue: i }) => {
16562
16580
  chartData: m,
16563
16581
  hoveredData: _,
16564
16582
  onButtonClick: Me,
16565
- onDataClick: ne,
16583
+ onDataClick: oe,
16566
16584
  onMouseEnter: fe,
16567
- onMouseLeave: Ae,
16585
+ onMouseLeave: xe,
16568
16586
  selectedData: f
16569
- }, je = () => {
16587
+ }, Xe = () => {
16570
16588
  K(!0), I(F.ACCOUNTS_CLICK_CONNECT);
16571
16589
  };
16572
16590
  return n ? /* @__PURE__ */ t(
@@ -16614,7 +16632,7 @@ const Gf = ({ amount: e, copy: n, trendValue: i }) => {
16614
16632
  {
16615
16633
  header: s.empty_widget_header,
16616
16634
  icon: "elevation",
16617
- onClick: je,
16635
+ onClick: Xe,
16618
16636
  primaryButton: s.empty_widget_button,
16619
16637
  subText: s.empty_widget_description,
16620
16638
  sx: {
@@ -16660,7 +16678,7 @@ const Gf = ({ amount: e, copy: n, trendValue: i }) => {
16660
16678
  ] }) : /* @__PURE__ */ t(de, {})
16661
16679
  }
16662
16680
  ) : /* @__PURE__ */ t(de, {});
16663
- }), vT = (e) => {
16681
+ }), v2 = (e) => {
16664
16682
  switch (e) {
16665
16683
  case Zn.BudgetExceeded:
16666
16684
  case Zn.BudgetOffTarget:
@@ -17210,7 +17228,7 @@ const ml = x(() => {
17210
17228
  )
17211
17229
  ] });
17212
17230
  }), iC = ({ availableWidth: e, handleOnLeavClick: n }) => {
17213
- const i = Ye(), { common: a, settings: o } = A(), { isDesktop: r, isMobile: s, isSmallMobile: c, isTablet: l } = Ce(e), { config: u } = wt(), { updateUser: _ } = yt(), { user: h } = ft(), [p, m] = g.useState({
17231
+ const i = je(), { common: a, settings: o } = A(), { isDesktop: r, isMobile: s, isSmallMobile: c, isTablet: l } = Ce(e), { config: u } = wt(), { updateUser: _ } = yt(), { user: h } = ft(), [p, m] = g.useState({
17214
17232
  first_name: h.first_name,
17215
17233
  last_name: h.last_name,
17216
17234
  email: h.email,
@@ -17231,8 +17249,8 @@ const ml = x(() => {
17231
17249
  }, [f]);
17232
17250
  const N = () => {
17233
17251
  if (p.birthday) {
17234
- const L = new Date(p.birthday * 1e3), W = L.getUTCFullYear(), K = L.getUTCMonth(), oe = L.getUTCDate();
17235
- return new Date(W, K, oe);
17252
+ const L = new Date(p.birthday * 1e3), W = L.getUTCFullYear(), K = L.getUTCMonth(), ie = L.getUTCDate();
17253
+ return new Date(W, K, ie);
17236
17254
  }
17237
17255
  }, R = async () => {
17238
17256
  await _({ ...h, ...p }), S(!1);
@@ -17262,7 +17280,7 @@ const ml = x(() => {
17262
17280
  }
17263
17281
  },
17264
17282
  children: [
17265
- /* @__PURE__ */ t(qe, { children: o.personal_details }),
17283
+ /* @__PURE__ */ t(Qe, { children: o.personal_details }),
17266
17284
  /* @__PURE__ */ t(X, { variant: "Body", children: o.update_information }),
17267
17285
  /* @__PURE__ */ d(
17268
17286
  b,
@@ -17746,7 +17764,7 @@ const oC = ({
17746
17764
  },
17747
17765
  children: [
17748
17766
  /* @__PURE__ */ d(b, { gap: 4, children: [
17749
- /* @__PURE__ */ t(qe, { children: n.mobile_devices_title }),
17767
+ /* @__PURE__ */ t(Qe, { children: n.mobile_devices_title }),
17750
17768
  /* @__PURE__ */ t(X, { variant: "Body", children: n.mobile_devices_info })
17751
17769
  ] }),
17752
17770
  e ? /* @__PURE__ */ t(
@@ -17944,7 +17962,7 @@ const oC = ({
17944
17962
  n().finally();
17945
17963
  }, []), /* @__PURE__ */ d(b, { sx: { gap: 24, py: 24 }, children: [
17946
17964
  /* @__PURE__ */ d(b, { sx: { px: 24 }, children: [
17947
- /* @__PURE__ */ t(qe, { children: e.transaction_rules_label }),
17965
+ /* @__PURE__ */ t(Qe, { children: e.transaction_rules_label }),
17948
17966
  /* @__PURE__ */ t(X, { variant: "Body", children: e.transaction_rules_description })
17949
17967
  ] }),
17950
17968
  /* @__PURE__ */ t(ae, { children: i.map((a, o) => /* @__PURE__ */ t(gC, { rule: a }, o)) })
@@ -17996,8 +18014,8 @@ const oC = ({
17996
18014
  children: s ? /* @__PURE__ */ t(gi, { dateAdapter: Jn, children: /* @__PURE__ */ t(
17997
18015
  bo,
17998
18016
  {
17999
- maxDate: Qe(/* @__PURE__ */ new Date()),
18000
- minDate: Ze(/* @__PURE__ */ new Date()),
18017
+ maxDate: qe(/* @__PURE__ */ new Date()),
18018
+ minDate: Ye(/* @__PURE__ */ new Date()),
18001
18019
  onChange: (E) => {
18002
18020
  p(E.getDate());
18003
18021
  },
@@ -18236,7 +18254,7 @@ const oC = ({
18236
18254
  await a(u);
18237
18255
  };
18238
18256
  return /* @__PURE__ */ d(b, { children: [
18239
- /* @__PURE__ */ t(qe, { sx: { mt: 24 }, children: n.delivery_method_title }),
18257
+ /* @__PURE__ */ t(Qe, { sx: { mt: 24 }, children: n.delivery_method_title }),
18240
18258
  i.email_notifications_enabled && /* @__PURE__ */ d(Z, { children: [
18241
18259
  /* @__PURE__ */ t(
18242
18260
  On,
@@ -18301,7 +18319,7 @@ const oC = ({
18301
18319
  return /* @__PURE__ */ d(b, { ref: n, children: [
18302
18320
  /* @__PURE__ */ t(P, {}),
18303
18321
  /* @__PURE__ */ d(b, { sx: { pt: 12 }, children: [
18304
- /* @__PURE__ */ t(qe, { sx: { lineHeight: "20px", pb: 4, pt: 16 }, children: o.personal_details }),
18322
+ /* @__PURE__ */ t(Qe, { sx: { lineHeight: "20px", pb: 4, pt: 16 }, children: o.personal_details }),
18305
18323
  /* @__PURE__ */ d(b, { sx: { flexDirection: i <= 768 ? "column" : "row", gap: 24, py: 16 }, children: [
18306
18324
  e.display_email_edit_field_in_settings && /* @__PURE__ */ d(b, { sx: { flex: 1, pb: 14 }, children: [
18307
18325
  /* @__PURE__ */ t(
@@ -18403,7 +18421,7 @@ const oC = ({
18403
18421
  /* @__PURE__ */ t(fC, {}),
18404
18422
  /* @__PURE__ */ t(P, { sx: { my: 24 } })
18405
18423
  ] }),
18406
- /* @__PURE__ */ t(qe, { sx: { mb: 4 }, children: o.notification_types_title })
18424
+ /* @__PURE__ */ t(Qe, { sx: { mb: 4 }, children: o.notification_types_title })
18407
18425
  ] }),
18408
18426
  /* @__PURE__ */ d(ae, { children: [
18409
18427
  e.includes(Mt.Accounts) && /* @__PURE__ */ t(j, { children: /* @__PURE__ */ d(ge, { onClick: () => u(Mt.Accounts), children: [
@@ -18448,7 +18466,7 @@ const oC = ({
18448
18466
  return /* @__PURE__ */ d(g.Fragment, { children: [
18449
18467
  /* @__PURE__ */ d(st, { container: !0, sx: { alignItems: "center", mb: 24 }, children: [
18450
18468
  /* @__PURE__ */ d(st, { item: !0, md: 12, sm: 12, xs: 12, children: [
18451
- /* @__PURE__ */ t(qe, { children: o }),
18469
+ /* @__PURE__ */ t(Qe, { children: o }),
18452
18470
  /* @__PURE__ */ t(X, { variant: "Body", children: a })
18453
18471
  ] }),
18454
18472
  n && /* @__PURE__ */ t(
@@ -18544,7 +18562,7 @@ const oC = ({
18544
18562
  imageLargeBreakPoint: o = 12,
18545
18563
  sx: r
18546
18564
  }) => {
18547
- const s = Ye();
18565
+ const s = je();
18548
18566
  return /* @__PURE__ */ d(g.Fragment, { children: [
18549
18567
  /* @__PURE__ */ t(O, { sx: { pb: 48, ...r }, children: /* @__PURE__ */ d(st, { container: !0, rowSpacing: 24, children: [
18550
18568
  /* @__PURE__ */ t(st, { item: !0, lg: 12, md: 12, sm: 12, xs: 12, children: n }),
@@ -18588,7 +18606,7 @@ const oC = ({
18588
18606
  return /* @__PURE__ */ d(g.Fragment, { children: [
18589
18607
  /* @__PURE__ */ d(st, { container: !0, sx: { alignItems: "center", justifyContent: "space-between" }, children: [
18590
18608
  /* @__PURE__ */ d(st, { item: !0, sm: 6, xs: 12, children: [
18591
- /* @__PURE__ */ t(qe, { color: "text.primary", children: o }),
18609
+ /* @__PURE__ */ t(Qe, { color: "text.primary", children: o }),
18592
18610
  /* @__PURE__ */ d(
18593
18611
  c_,
18594
18612
  {
@@ -18635,7 +18653,7 @@ const oC = ({
18635
18653
  imageLargeBreakPoint: o = 4,
18636
18654
  sx: r
18637
18655
  }) => {
18638
- const s = Ye();
18656
+ const s = je();
18639
18657
  return /* @__PURE__ */ d(g.Fragment, { children: [
18640
18658
  /* @__PURE__ */ t(O, { sx: { pb: 48, ...r }, children: /* @__PURE__ */ d(st, { container: !0, spacing: 24, sx: { alignItems: "flex-start" }, children: [
18641
18659
  /* @__PURE__ */ t(
@@ -18682,7 +18700,7 @@ const oC = ({
18682
18700
  imageLargeBreakPoint: o = 4,
18683
18701
  sx: r
18684
18702
  }) => {
18685
- const s = Ye();
18703
+ const s = je();
18686
18704
  return /* @__PURE__ */ d(g.Fragment, { children: [
18687
18705
  /* @__PURE__ */ t(O, { sx: { pb: 48, ...r }, children: /* @__PURE__ */ d(st, { container: !0, spacing: 24, sx: { alignItems: "flex-start" }, children: [
18688
18706
  /* @__PURE__ */ t(st, { item: !0, lg: 12 - o, md: 12, sm: 12, xs: 12, children: n }),
@@ -18720,7 +18738,7 @@ const oC = ({
18720
18738
  imageLargeBreakPoint: o = 12,
18721
18739
  sx: r
18722
18740
  }) => {
18723
- const s = Ye();
18741
+ const s = je();
18724
18742
  return /* @__PURE__ */ d(g.Fragment, { children: [
18725
18743
  /* @__PURE__ */ t(O, { sx: { pb: 48, ...r }, children: /* @__PURE__ */ d(st, { container: !0, rowSpacing: 24, children: [
18726
18744
  /* @__PURE__ */ t(
@@ -18752,7 +18770,7 @@ const oC = ({
18752
18770
  ] }) }),
18753
18771
  i && /* @__PURE__ */ t(P, {})
18754
18772
  ] });
18755
- }, $ = ({ content: e, sx: n }) => /* @__PURE__ */ t(X, { sx: { lineHeight: "24px", py: 6, ...n }, children: e }), Te = ({ content: e, sx: n }) => /* @__PURE__ */ t(qe, { color: "text.primary", sx: { py: 12, whiteSpace: { sm: "nowrap", xs: "wrap" }, ...n }, children: e }), ie = ({
18773
+ }, $ = ({ content: e, sx: n }) => /* @__PURE__ */ t(X, { sx: { lineHeight: "24px", py: 6, ...n }, children: e }), Te = ({ content: e, sx: n }) => /* @__PURE__ */ t(Qe, { color: "text.primary", sx: { py: 12, whiteSpace: { sm: "nowrap", xs: "wrap" }, ...n }, children: e }), ne = ({
18756
18774
  items: e,
18757
18775
  listType: n = "ul",
18758
18776
  subItemPlacement: i,
@@ -18764,49 +18782,49 @@ const oC = ({
18764
18782
  /* @__PURE__ */ t($, { content: c, sx: { py: 1 } }),
18765
18783
  i === l ? /* @__PURE__ */ t(s, { ...o === "ol" && { type: "a" }, children: a.map((u, _) => /* @__PURE__ */ t("li", { children: /* @__PURE__ */ t($, { content: u, sx: { py: 1 } }) }, _)) }) : null
18766
18784
  ] }, l)) }) });
18767
- }, Ie = "https://content.moneydesktop.com/storage/MD_Assets/md/help", Re = {
18768
- ACCOUNT_DETAILS: `${Ie}/account/AccountDetails.png`,
18769
- ACCOUNT_OVERVIEW: `${Ie}/account/AccountsOverview.png`,
18770
- ACCOUNT_ADD: `${Ie}/account/AddAccount.png`,
18771
- ACCOUNT_BROKEN_CONNECTION: `${Ie}/account/BrokenConnection.png`,
18772
- ACCOUNT_HIDE: `${Ie}/account/AccountHide.png`,
18773
- ACCOUNT_MANAGE_CONNECTIONS: `${Ie}/account/ManageConnections.png`,
18774
- BUDGETS_ADD_SUB_BUDGET: `${Ie}/budgets/AddSubBudget.png`,
18775
- BUDGETS_WIDGET: `${Ie}/budgets/BudgetWidget.png`,
18776
- BUDGETS_EDIT_INCOME: `${Ie}/budgets/EditIncome.png`,
18777
- CASHFLOW_WIDGET: `${Ie}/cashflow/CashFlowWidget.png`,
18778
- CASHFLOW_EXPENSE_DETAILS: `${Ie}/cashflow/ExpenseDetailsCurrent.png`,
18779
- CASHFLOW_MANAGE_EXPENSES: `${Ie}/cashflow/ManageExpenses.png`,
18780
- DEBTS_DETAILS: `${Ie}/debts/DebtDetails.png`,
18781
- DEBTS_OVERVIEW: `${Ie}/debts/DebtOverview.png`,
18782
- DEBTS_PRIORITIZATION: `${Ie}/debts/DebtPrioritization.png`,
18783
- DEBTS_SNOWBALL_METHOD: `${Ie}/debts/SnowballMethod.png`,
18784
- GENERAL_CATEGORIZE_TRANSACTIONS: `${Ie}/general/CategorizeTransactions.png`,
18785
- GOALS_CREATE_GOAL: `${Ie}/goals/CreateGoal.png`,
18786
- GOALS_DEBT_GOALS: `${Ie}/goals/DebtGoals.png`,
18787
- GOALS_WIDGET_OVERVIEW: `${Ie}/goals/GoalsWidgetOverview.png`,
18788
- GOALS_MANAGE_GOALS: `${Ie}/goals/ManageGoals.png`,
18789
- GOALS_RETIREMENT_GOALS: `${Ie}/goals/RetirementGoals.png`,
18790
- GOALS_SAVINGS_GOALS: `${Ie}/goals/SavingsGoals.png`,
18791
- INSIGHTS_CAROUSEL: `${Ie}/insights/InsightsCarousel.png`,
18792
- INSIGHTS_FEED: `${Ie}/insights/InsightsFeed.png`,
18793
- INVESTMENTS_WIDGET_DETAILS: `${Ie}/investments/WidgetDetails.png`,
18794
- MOBILE_ADD_MOBILE_DEVICE: `${Ie}/mobile/AddMobileDevice.png`,
18795
- NETWORTH_ASSETS_LIABILITIES: `${Ie}/networth/AssetsLiabilities.png`,
18796
- NETWORTH_GAINS_LOSSES: `${Ie}/networth/GainsLosses.png`,
18797
- NETWORTH_WIDGET: `${Ie}/networth/NetWorthWidget.png`,
18798
- NOTIFICATIONS_MANAGING: `${Ie}/notifications/ManagingNotifications.png`,
18799
- NOTIFICATIONS_OVERVIEW: `${Ie}/notifications/NotificationOverview.png`,
18800
- RECURRING_TRANSACTIONS_EXPENSE_DETAILS: `${Ie}/recurringtransactions/expenseDetails.png`,
18801
- RECURRING_TRANSACTIONS_MANAGE_EXPENSES: `${Ie}/recurringtransactions/manageExpenses.png`,
18802
- RECURRING_TRANSACTIONS_OVERVIEW: `${Ie}/recurringtransactions/overview.png`,
18803
- SPENDING_WIDGET: `${Ie}/spending/SpendingWidget.png`,
18804
- TRANSACTIONS_CATEGORIZE: `${Ie}/transactions/CategorizeTransactions.png`,
18805
- TRANSACTIONS_EDIT: `${Ie}/transactions/EditTransactions.png`,
18806
- TRANSACTIONS_EXPORT: `${Ie}/transactions/ExportTransactions.png`,
18807
- TRANSACTIONS_OVERVIEW: `${Ie}/transactions/Overview.png`,
18808
- TRANSACTIONS_RULES: `${Ie}/transactions/TransactionRules.png`,
18809
- TRENDS_WIDGET: `${Ie}/trends/TrendsWidget.png`
18785
+ }, ve = "https://content.moneydesktop.com/storage/MD_Assets/md/help", Re = {
18786
+ ACCOUNT_DETAILS: `${ve}/account/AccountDetails.png`,
18787
+ ACCOUNT_OVERVIEW: `${ve}/account/AccountsOverview.png`,
18788
+ ACCOUNT_ADD: `${ve}/account/AddAccount.png`,
18789
+ ACCOUNT_BROKEN_CONNECTION: `${ve}/account/BrokenConnection.png`,
18790
+ ACCOUNT_HIDE: `${ve}/account/AccountHide.png`,
18791
+ ACCOUNT_MANAGE_CONNECTIONS: `${ve}/account/ManageConnections.png`,
18792
+ BUDGETS_ADD_SUB_BUDGET: `${ve}/budgets/AddSubBudget.png`,
18793
+ BUDGETS_WIDGET: `${ve}/budgets/BudgetWidget.png`,
18794
+ BUDGETS_EDIT_INCOME: `${ve}/budgets/EditIncome.png`,
18795
+ CASHFLOW_WIDGET: `${ve}/cashflow/CashFlowWidget.png`,
18796
+ CASHFLOW_EXPENSE_DETAILS: `${ve}/cashflow/ExpenseDetailsCurrent.png`,
18797
+ CASHFLOW_MANAGE_EXPENSES: `${ve}/cashflow/ManageExpenses.png`,
18798
+ DEBTS_DETAILS: `${ve}/debts/DebtDetails.png`,
18799
+ DEBTS_OVERVIEW: `${ve}/debts/DebtOverview.png`,
18800
+ DEBTS_PRIORITIZATION: `${ve}/debts/DebtPrioritization.png`,
18801
+ DEBTS_SNOWBALL_METHOD: `${ve}/debts/SnowballMethod.png`,
18802
+ GENERAL_CATEGORIZE_TRANSACTIONS: `${ve}/general/CategorizeTransactions.png`,
18803
+ GOALS_CREATE_GOAL: `${ve}/goals/CreateGoal.png`,
18804
+ GOALS_DEBT_GOALS: `${ve}/goals/DebtGoals.png`,
18805
+ GOALS_WIDGET_OVERVIEW: `${ve}/goals/GoalsWidgetOverview.png`,
18806
+ GOALS_MANAGE_GOALS: `${ve}/goals/ManageGoals.png`,
18807
+ GOALS_RETIREMENT_GOALS: `${ve}/goals/RetirementGoals.png`,
18808
+ GOALS_SAVINGS_GOALS: `${ve}/goals/SavingsGoals.png`,
18809
+ INSIGHTS_CAROUSEL: `${ve}/insights/InsightsCarousel.png`,
18810
+ INSIGHTS_FEED: `${ve}/insights/InsightsFeed.png`,
18811
+ INVESTMENTS_WIDGET_DETAILS: `${ve}/investments/WidgetDetails.png`,
18812
+ MOBILE_ADD_MOBILE_DEVICE: `${ve}/mobile/AddMobileDevice.png`,
18813
+ NETWORTH_ASSETS_LIABILITIES: `${ve}/networth/AssetsLiabilities.png`,
18814
+ NETWORTH_GAINS_LOSSES: `${ve}/networth/GainsLosses.png`,
18815
+ NETWORTH_WIDGET: `${ve}/networth/NetWorthWidget.png`,
18816
+ NOTIFICATIONS_MANAGING: `${ve}/notifications/ManagingNotifications.png`,
18817
+ NOTIFICATIONS_OVERVIEW: `${ve}/notifications/NotificationOverview.png`,
18818
+ RECURRING_TRANSACTIONS_EXPENSE_DETAILS: `${ve}/recurringtransactions/expenseDetails.png`,
18819
+ RECURRING_TRANSACTIONS_MANAGE_EXPENSES: `${ve}/recurringtransactions/manageExpenses.png`,
18820
+ RECURRING_TRANSACTIONS_OVERVIEW: `${ve}/recurringtransactions/overview.png`,
18821
+ SPENDING_WIDGET: `${ve}/spending/SpendingWidget.png`,
18822
+ TRANSACTIONS_CATEGORIZE: `${ve}/transactions/CategorizeTransactions.png`,
18823
+ TRANSACTIONS_EDIT: `${ve}/transactions/EditTransactions.png`,
18824
+ TRANSACTIONS_EXPORT: `${ve}/transactions/ExportTransactions.png`,
18825
+ TRANSACTIONS_OVERVIEW: `${ve}/transactions/Overview.png`,
18826
+ TRANSACTIONS_RULES: `${ve}/transactions/TransactionRules.png`,
18827
+ TRENDS_WIDGET: `${ve}/trends/TrendsWidget.png`
18810
18828
  }, EC = ({ copy: e, topicKey: n }) => ({
18811
18829
  "accounts-overview": /* @__PURE__ */ d(g.Fragment, { children: [
18812
18830
  /* @__PURE__ */ t(
@@ -18816,7 +18834,7 @@ const oC = ({
18816
18834
  content: /* @__PURE__ */ d(g.Fragment, { children: [
18817
18835
  /* @__PURE__ */ t($, { content: e.accounts_overview.description, sx: { mt: 24 } }),
18818
18836
  /* @__PURE__ */ t(
18819
- ie,
18837
+ ne,
18820
18838
  {
18821
18839
  items: [
18822
18840
  e.accounts_overview.widget_overview_instruction_step_1,
@@ -18836,7 +18854,7 @@ const oC = ({
18836
18854
  {
18837
18855
  altImage: e.accounts_overview.alt_image_account_details,
18838
18856
  content: /* @__PURE__ */ t(g.Fragment, { children: /* @__PURE__ */ t(
18839
- ie,
18857
+ ne,
18840
18858
  {
18841
18859
  items: [
18842
18860
  T(
@@ -18872,7 +18890,7 @@ const oC = ({
18872
18890
  altImage: e.accounts_overview.alt_image_manage_connections,
18873
18891
  content: /* @__PURE__ */ d(g.Fragment, { children: [
18874
18892
  /* @__PURE__ */ t(
18875
- ie,
18893
+ ne,
18876
18894
  {
18877
18895
  items: [
18878
18896
  T(
@@ -18907,7 +18925,7 @@ const oC = ({
18907
18925
  ),
18908
18926
  /* @__PURE__ */ t(Te, { content: e.accounts_overview.hide_account_title }),
18909
18927
  /* @__PURE__ */ t(
18910
- ie,
18928
+ ne,
18911
18929
  {
18912
18930
  items: [
18913
18931
  T(
@@ -18924,7 +18942,7 @@ const oC = ({
18924
18942
  ),
18925
18943
  /* @__PURE__ */ t(Te, { content: e.accounts_overview.unhide_account_title }),
18926
18944
  /* @__PURE__ */ t(
18927
- ie,
18945
+ ne,
18928
18946
  {
18929
18947
  items: [
18930
18948
  T(
@@ -18952,7 +18970,7 @@ const oC = ({
18952
18970
  content: /* @__PURE__ */ d(g.Fragment, { children: [
18953
18971
  /* @__PURE__ */ t($, { content: e.trouble_adding_an_account.steps_title }),
18954
18972
  /* @__PURE__ */ t(
18955
- ie,
18973
+ ne,
18956
18974
  {
18957
18975
  items: [
18958
18976
  e.trouble_adding_an_account.step_1,
@@ -18987,7 +19005,7 @@ const oC = ({
18987
19005
  }
18988
19006
  ),
18989
19007
  /* @__PURE__ */ t(
18990
- ie,
19008
+ ne,
18991
19009
  {
18992
19010
  items: [
18993
19011
  e.need_to_fix_a_broken_account.step_1,
@@ -19021,7 +19039,7 @@ const oC = ({
19021
19039
  /* @__PURE__ */ t(Te, { content: e.seeing_duplicate_accounts.warning_title }),
19022
19040
  /* @__PURE__ */ t(Te, { content: e.seeing_duplicate_accounts.instructions_title }),
19023
19041
  /* @__PURE__ */ t(
19024
- ie,
19042
+ ne,
19025
19043
  {
19026
19044
  items: [
19027
19045
  e.seeing_duplicate_accounts.step_1_instruction,
@@ -19055,7 +19073,7 @@ const oC = ({
19055
19073
  /* @__PURE__ */ t($, { content: i.overview_description, sx: { mt: 24 } }),
19056
19074
  /* @__PURE__ */ t($, { content: i.overview_list_description, sx: { mt: 12 } }),
19057
19075
  /* @__PURE__ */ t(
19058
- ie,
19076
+ ne,
19059
19077
  {
19060
19078
  items: [
19061
19079
  T(
@@ -19081,7 +19099,7 @@ const oC = ({
19081
19099
  content: /* @__PURE__ */ d(g.Fragment, { children: [
19082
19100
  /* @__PURE__ */ t($, { content: i.adjusting_income_list_description, sx: { mt: 24 } }),
19083
19101
  /* @__PURE__ */ t(
19084
- ie,
19102
+ ne,
19085
19103
  {
19086
19104
  items: [
19087
19105
  T(
@@ -19106,7 +19124,7 @@ const oC = ({
19106
19124
  {
19107
19125
  altImage: i.create_budget_alt_image,
19108
19126
  content: /* @__PURE__ */ t(g.Fragment, { children: /* @__PURE__ */ t(
19109
- ie,
19127
+ ne,
19110
19128
  {
19111
19129
  items: [
19112
19130
  i.create_budget_list_items_1,
@@ -19230,7 +19248,7 @@ const oC = ({
19230
19248
  content: /* @__PURE__ */ d(g.Fragment, { children: [
19231
19249
  /* @__PURE__ */ t($, { content: n.debt_prioritization_list_1_desc }),
19232
19250
  /* @__PURE__ */ t(
19233
- ie,
19251
+ ne,
19234
19252
  {
19235
19253
  items: [
19236
19254
  T(
@@ -19254,7 +19272,7 @@ const oC = ({
19254
19272
  ),
19255
19273
  /* @__PURE__ */ t($, { content: n.debt_prioritization_list_2_desc, sx: { mt: 12 } }),
19256
19274
  /* @__PURE__ */ t(
19257
- ie,
19275
+ ne,
19258
19276
  {
19259
19277
  items: [
19260
19278
  n.debt_prioritization_list_2_item_1,
@@ -19274,7 +19292,7 @@ const oC = ({
19274
19292
  content: /* @__PURE__ */ d(g.Fragment, { children: [
19275
19293
  /* @__PURE__ */ t($, { content: n.debt_chart_list_dec }),
19276
19294
  /* @__PURE__ */ t(
19277
- ie,
19295
+ ne,
19278
19296
  {
19279
19297
  items: [
19280
19298
  T(
@@ -19302,7 +19320,7 @@ const oC = ({
19302
19320
  content: /* @__PURE__ */ d(g.Fragment, { children: [
19303
19321
  /* @__PURE__ */ t($, { content: n.debt_list_dec }),
19304
19322
  /* @__PURE__ */ t(
19305
- ie,
19323
+ ne,
19306
19324
  {
19307
19325
  items: [
19308
19326
  n.debt_list_item_1,
@@ -19322,7 +19340,7 @@ const oC = ({
19322
19340
  content: /* @__PURE__ */ d(g.Fragment, { children: [
19323
19341
  /* @__PURE__ */ t($, { content: n.debt_details_list_1_desc, sx: { mt: 24 } }),
19324
19342
  /* @__PURE__ */ t(
19325
- ie,
19343
+ ne,
19326
19344
  {
19327
19345
  items: [
19328
19346
  n.debt_details_list_1_item_1,
@@ -19336,7 +19354,7 @@ const oC = ({
19336
19354
  ),
19337
19355
  /* @__PURE__ */ t($, { content: n.debt_details_list_2_desc, sx: { mt: 12 } }),
19338
19356
  /* @__PURE__ */ t(
19339
- ie,
19357
+ ne,
19340
19358
  {
19341
19359
  items: [
19342
19360
  n.debt_details_list_2_item_1,
@@ -19360,7 +19378,7 @@ const oC = ({
19360
19378
  /* @__PURE__ */ t($, { content: n.hiding_accounts_desc }),
19361
19379
  /* @__PURE__ */ t($, { content: n.hiding_accounts_list_1_desc, sx: { mt: 12 } }),
19362
19380
  /* @__PURE__ */ t(
19363
- ie,
19381
+ ne,
19364
19382
  {
19365
19383
  items: [
19366
19384
  n.hiding_accounts_list_1_item_1,
@@ -19375,7 +19393,7 @@ const oC = ({
19375
19393
  ),
19376
19394
  /* @__PURE__ */ t($, { content: n.hiding_accounts_list_2_desc, sx: { mt: 12 } }),
19377
19395
  /* @__PURE__ */ t(
19378
- ie,
19396
+ ne,
19379
19397
  {
19380
19398
  items: [
19381
19399
  n.hiding_accounts_list_2_item_1,
@@ -19396,7 +19414,7 @@ const oC = ({
19396
19414
  content: /* @__PURE__ */ d(g.Fragment, { children: [
19397
19415
  /* @__PURE__ */ t($, { content: n.extra_payments_list_1_desc }),
19398
19416
  /* @__PURE__ */ t(
19399
- ie,
19417
+ ne,
19400
19418
  {
19401
19419
  items: [
19402
19420
  T(
@@ -19448,7 +19466,7 @@ const oC = ({
19448
19466
  }
19449
19467
  ),
19450
19468
  /* @__PURE__ */ t(
19451
- ie,
19469
+ ne,
19452
19470
  {
19453
19471
  items: [
19454
19472
  T(
@@ -19482,7 +19500,7 @@ const oC = ({
19482
19500
  content: /* @__PURE__ */ d(g.Fragment, { children: [
19483
19501
  /* @__PURE__ */ t($, { content: i.transactions_categorized_subheader }),
19484
19502
  /* @__PURE__ */ t(
19485
- ie,
19503
+ ne,
19486
19504
  {
19487
19505
  items: [
19488
19506
  T(
@@ -19504,7 +19522,7 @@ const oC = ({
19504
19522
  }
19505
19523
  ),
19506
19524
  /* @__PURE__ */ t(
19507
- ie,
19525
+ ne,
19508
19526
  {
19509
19527
  items: [
19510
19528
  T(
@@ -19541,7 +19559,7 @@ const oC = ({
19541
19559
  content: /* @__PURE__ */ d(g.Fragment, { children: [
19542
19560
  /* @__PURE__ */ t($, { content: i.supported_browser_subheader }),
19543
19561
  /* @__PURE__ */ t(
19544
- ie,
19562
+ ne,
19545
19563
  {
19546
19564
  items: [
19547
19565
  i.supported_browser_step1,
@@ -19551,7 +19569,7 @@ const oC = ({
19551
19569
  ),
19552
19570
  /* @__PURE__ */ t($, { content: i.display_issues_subheader, sx: { mt: 6 } }),
19553
19571
  /* @__PURE__ */ t(
19554
- ie,
19572
+ ne,
19555
19573
  {
19556
19574
  items: [
19557
19575
  T(
@@ -19596,7 +19614,7 @@ const oC = ({
19596
19614
  /* @__PURE__ */ t(Te, { content: n.setting_goals_section_title }),
19597
19615
  /* @__PURE__ */ t($, { content: `${n.setting_goals_title_text}:` }),
19598
19616
  /* @__PURE__ */ t(
19599
- ie,
19617
+ ne,
19600
19618
  {
19601
19619
  items: [
19602
19620
  T(
@@ -19624,7 +19642,7 @@ const oC = ({
19624
19642
  {
19625
19643
  altImage: "create_goal",
19626
19644
  content: /* @__PURE__ */ t(
19627
- ie,
19645
+ ne,
19628
19646
  {
19629
19647
  items: [
19630
19648
  T(
@@ -19658,7 +19676,7 @@ const oC = ({
19658
19676
  {
19659
19677
  altImage: "savings_goal",
19660
19678
  content: /* @__PURE__ */ t(
19661
- ie,
19679
+ ne,
19662
19680
  {
19663
19681
  items: [
19664
19682
  n.savings_goals_step1,
@@ -19682,7 +19700,7 @@ const oC = ({
19682
19700
  {
19683
19701
  altImage: "debt_payoff",
19684
19702
  content: /* @__PURE__ */ t(g.Fragment, { children: /* @__PURE__ */ t(
19685
- ie,
19703
+ ne,
19686
19704
  {
19687
19705
  items: [
19688
19706
  n.debt_payoff_goals_step1,
@@ -19708,7 +19726,7 @@ const oC = ({
19708
19726
  {
19709
19727
  altImage: "retirement_goal",
19710
19728
  content: /* @__PURE__ */ t(
19711
- ie,
19729
+ ne,
19712
19730
  {
19713
19731
  items: [
19714
19732
  T(
@@ -19741,7 +19759,7 @@ const oC = ({
19741
19759
  {
19742
19760
  altImage: "manage_goal",
19743
19761
  content: /* @__PURE__ */ t(
19744
- ie,
19762
+ ne,
19745
19763
  {
19746
19764
  items: [
19747
19765
  T(
@@ -19798,7 +19816,7 @@ const oC = ({
19798
19816
  }
19799
19817
  ),
19800
19818
  /* @__PURE__ */ t(
19801
- ie,
19819
+ ne,
19802
19820
  {
19803
19821
  items: [
19804
19822
  n.list_1_item_1,
@@ -19820,7 +19838,7 @@ const oC = ({
19820
19838
  sx: { mt: 12 }
19821
19839
  }
19822
19840
  ),
19823
- /* @__PURE__ */ t(ie, { items: [n.list_2_item_1, n.list_2_item_2] })
19841
+ /* @__PURE__ */ t(ne, { items: [n.list_2_item_1, n.list_2_item_2] })
19824
19842
  ] }),
19825
19843
  hasDivider: !1,
19826
19844
  image: Re.INVESTMENTS_WIDGET_DETAILS,
@@ -19840,7 +19858,7 @@ const oC = ({
19840
19858
  content: /* @__PURE__ */ d(g.Fragment, { children: [
19841
19859
  /* @__PURE__ */ t($, { content: n.mobile_devices_overview_subheader }),
19842
19860
  /* @__PURE__ */ t(
19843
- ie,
19861
+ ne,
19844
19862
  {
19845
19863
  items: [
19846
19864
  T(
@@ -19880,7 +19898,7 @@ const oC = ({
19880
19898
  ),
19881
19899
  /* @__PURE__ */ t($, { content: n.preventing_app_crashes_subheader }),
19882
19900
  /* @__PURE__ */ t(
19883
- ie,
19901
+ ne,
19884
19902
  {
19885
19903
  items: [
19886
19904
  T(
@@ -19966,7 +19984,7 @@ const oC = ({
19966
19984
  }
19967
19985
  ),
19968
19986
  /* @__PURE__ */ t(
19969
- ie,
19987
+ ne,
19970
19988
  {
19971
19989
  items: [
19972
19990
  T(
@@ -19999,7 +20017,7 @@ const oC = ({
19999
20017
  content: /* @__PURE__ */ d(g.Fragment, { children: [
20000
20018
  /* @__PURE__ */ t($, { content: i.assets_liabilities_subheader }),
20001
20019
  /* @__PURE__ */ t(
20002
- ie,
20020
+ ne,
20003
20021
  {
20004
20022
  items: [
20005
20023
  T(
@@ -20012,7 +20030,7 @@ const oC = ({
20012
20030
  }
20013
20031
  ),
20014
20032
  /* @__PURE__ */ t(
20015
- ie,
20033
+ ne,
20016
20034
  {
20017
20035
  items: [
20018
20036
  T(
@@ -20066,7 +20084,7 @@ const oC = ({
20066
20084
  {
20067
20085
  altImage: e.notifications_overview.alt_image_managing_notifications,
20068
20086
  content: /* @__PURE__ */ t(g.Fragment, { children: /* @__PURE__ */ t(
20069
- ie,
20087
+ ne,
20070
20088
  {
20071
20089
  items: [
20072
20090
  e.notifications_overview.managing_notifications_list_1,
@@ -20094,7 +20112,7 @@ const oC = ({
20094
20112
  content: /* @__PURE__ */ d(g.Fragment, { children: [
20095
20113
  /* @__PURE__ */ t(Te, { content: e.notifications_overview.notification_work_section_title }),
20096
20114
  /* @__PURE__ */ t(
20097
- ie,
20115
+ ne,
20098
20116
  {
20099
20117
  items: [
20100
20118
  T(
@@ -20126,7 +20144,7 @@ const oC = ({
20126
20144
  content: /* @__PURE__ */ d(g.Fragment, { children: [
20127
20145
  /* @__PURE__ */ t(Te, { content: e.notifications_overview.verify_email_section_title }),
20128
20146
  /* @__PURE__ */ t(
20129
- ie,
20147
+ ne,
20130
20148
  {
20131
20149
  items: [
20132
20150
  e.notifications_overview.verify_email_list_1,
@@ -20205,7 +20223,7 @@ const oC = ({
20205
20223
  content: /* @__PURE__ */ d(g.Fragment, { children: [
20206
20224
  /* @__PURE__ */ t($, { content: n.payment_frequency_dec_1 }),
20207
20225
  /* @__PURE__ */ t(
20208
- ie,
20226
+ ne,
20209
20227
  {
20210
20228
  items: [
20211
20229
  n.payment_list_item_1,
@@ -20246,7 +20264,7 @@ const oC = ({
20246
20264
  content: /* @__PURE__ */ d(g.Fragment, { children: [
20247
20265
  /* @__PURE__ */ t($, { content: i.widget_instruction }),
20248
20266
  /* @__PURE__ */ t(
20249
- ie,
20267
+ ne,
20250
20268
  {
20251
20269
  items: [
20252
20270
  i.widget_overview_instruction_1,
@@ -20272,7 +20290,7 @@ const oC = ({
20272
20290
  /* @__PURE__ */ t(Te, { content: i.date_range_section_title }),
20273
20291
  /* @__PURE__ */ t($, { content: i.date_range_section }),
20274
20292
  /* @__PURE__ */ t(
20275
- ie,
20293
+ ne,
20276
20294
  {
20277
20295
  items: [
20278
20296
  T(
@@ -20301,7 +20319,7 @@ const oC = ({
20301
20319
  at,
20302
20320
  {
20303
20321
  content: /* @__PURE__ */ t(
20304
- ie,
20322
+ ne,
20305
20323
  {
20306
20324
  items: [
20307
20325
  T(
@@ -20326,7 +20344,7 @@ const oC = ({
20326
20344
  at,
20327
20345
  {
20328
20346
  content: /* @__PURE__ */ t(
20329
- ie,
20347
+ ne,
20330
20348
  {
20331
20349
  items: [i.category_seem_off_list_1, i.category_seem_off_list_2]
20332
20350
  }
@@ -20345,7 +20363,7 @@ const oC = ({
20345
20363
  content: /* @__PURE__ */ d(g.Fragment, { children: [
20346
20364
  /* @__PURE__ */ t($, { content: e.transactions_widget_overview.widget_overview_description }),
20347
20365
  /* @__PURE__ */ t(
20348
- ie,
20366
+ ne,
20349
20367
  {
20350
20368
  items: [
20351
20369
  e.transactions_widget_overview.widget_overview_new_transactions,
@@ -20390,7 +20408,7 @@ const oC = ({
20390
20408
  }
20391
20409
  ),
20392
20410
  /* @__PURE__ */ t(
20393
- ie,
20411
+ ne,
20394
20412
  {
20395
20413
  items: [
20396
20414
  e.transactions_widget_overview.edit_transactions_payee_description,
@@ -20408,7 +20426,7 @@ const oC = ({
20408
20426
  }
20409
20427
  ),
20410
20428
  /* @__PURE__ */ t(
20411
- ie,
20429
+ ne,
20412
20430
  {
20413
20431
  items: [
20414
20432
  e.transactions_widget_overview.edit_transactions_flag_tracking,
@@ -20448,7 +20466,7 @@ const oC = ({
20448
20466
  }
20449
20467
  ),
20450
20468
  /* @__PURE__ */ t(
20451
- ie,
20469
+ ne,
20452
20470
  {
20453
20471
  items: [
20454
20472
  T(
@@ -20486,7 +20504,7 @@ const oC = ({
20486
20504
  }
20487
20505
  ),
20488
20506
  /* @__PURE__ */ t(
20489
- ie,
20507
+ ne,
20490
20508
  {
20491
20509
  items: [
20492
20510
  e.transactions_widget_overview.transaction_rules_recategorize,
@@ -20506,7 +20524,7 @@ const oC = ({
20506
20524
  }
20507
20525
  ),
20508
20526
  /* @__PURE__ */ t(
20509
- ie,
20527
+ ne,
20510
20528
  {
20511
20529
  items: [
20512
20530
  T(
@@ -20530,7 +20548,7 @@ const oC = ({
20530
20548
  }
20531
20549
  ),
20532
20550
  /* @__PURE__ */ t(
20533
- ie,
20551
+ ne,
20534
20552
  {
20535
20553
  items: [
20536
20554
  T(
@@ -20565,7 +20583,7 @@ const oC = ({
20565
20583
  }
20566
20584
  ),
20567
20585
  /* @__PURE__ */ t(
20568
- ie,
20586
+ ne,
20569
20587
  {
20570
20588
  items: [
20571
20589
  e.transactions_widget_overview.split_transactions_select_transaction,
@@ -20590,7 +20608,7 @@ const oC = ({
20590
20608
  }
20591
20609
  ),
20592
20610
  /* @__PURE__ */ t(
20593
- ie,
20611
+ ne,
20594
20612
  {
20595
20613
  items: [
20596
20614
  e.transactions_widget_overview.split_transactions_delete_select_split_transaction,
@@ -20615,7 +20633,7 @@ const oC = ({
20615
20633
  "seeing-duplicate-transactions": /* @__PURE__ */ d(g.Fragment, { children: [
20616
20634
  /* @__PURE__ */ t($, { content: e.duplicate_transactions.duplicate_transactions_title, sx: { pt: 24 } }),
20617
20635
  /* @__PURE__ */ t(
20618
- ie,
20636
+ ne,
20619
20637
  {
20620
20638
  items: [
20621
20639
  T(
@@ -20638,7 +20656,7 @@ const oC = ({
20638
20656
  "missing-transactions": /* @__PURE__ */ d(g.Fragment, { children: [
20639
20657
  /* @__PURE__ */ t($, { content: e.missing_transactions.missing_transactions_title, sx: { pt: 24 } }),
20640
20658
  /* @__PURE__ */ t(
20641
- ie,
20659
+ ne,
20642
20660
  {
20643
20661
  items: [
20644
20662
  T(
@@ -20661,7 +20679,7 @@ const oC = ({
20661
20679
  "pending-transactions": /* @__PURE__ */ d(g.Fragment, { children: [
20662
20680
  /* @__PURE__ */ t($, { content: e.pending_transactions.pending_transactions_title, sx: { pt: 24 } }),
20663
20681
  /* @__PURE__ */ t(
20664
- ie,
20682
+ ne,
20665
20683
  {
20666
20684
  items: [
20667
20685
  T(
@@ -20689,7 +20707,7 @@ const oC = ({
20689
20707
  ),
20690
20708
  /* @__PURE__ */ t($, { content: e.export_transactions.export_to_export, sx: { pt: 12 } }),
20691
20709
  /* @__PURE__ */ t(
20692
- ie,
20710
+ ne,
20693
20711
  {
20694
20712
  items: [
20695
20713
  T(
@@ -20720,7 +20738,7 @@ const oC = ({
20720
20738
  content: /* @__PURE__ */ d(g.Fragment, { children: [
20721
20739
  /* @__PURE__ */ t($, { content: e.trends_widget_overview.widget_overview_description }),
20722
20740
  /* @__PURE__ */ t(
20723
- ie,
20741
+ ne,
20724
20742
  {
20725
20743
  items: [
20726
20744
  T(
@@ -20750,7 +20768,7 @@ const oC = ({
20750
20768
  content: /* @__PURE__ */ d(g.Fragment, { children: [
20751
20769
  /* @__PURE__ */ t(Te, { content: e.trends_widget_overview.exploring_trends_title }),
20752
20770
  /* @__PURE__ */ t(
20753
- ie,
20771
+ ne,
20754
20772
  {
20755
20773
  items: [
20756
20774
  e.trends_widget_overview.exploring_trends_instruction_1,
@@ -20771,7 +20789,7 @@ const oC = ({
20771
20789
  /* @__PURE__ */ t(Te, { content: e.trends_widget_overview.list_view_title }),
20772
20790
  /* @__PURE__ */ t($, { content: e.trends_widget_overview.list_view_description }),
20773
20791
  /* @__PURE__ */ t(
20774
- ie,
20792
+ ne,
20775
20793
  {
20776
20794
  items: [
20777
20795
  e.trends_widget_overview.list_view_instruction_1,
@@ -20796,7 +20814,7 @@ const oC = ({
20796
20814
  /* @__PURE__ */ t(Te, { content: i.insights_work_section_title }),
20797
20815
  /* @__PURE__ */ t($, { content: i.insights_work_description }),
20798
20816
  /* @__PURE__ */ t(
20799
- ie,
20817
+ ne,
20800
20818
  {
20801
20819
  items: [
20802
20820
  T(
@@ -20863,7 +20881,7 @@ const oC = ({
20863
20881
  }
20864
20882
  ),
20865
20883
  /* @__PURE__ */ t(
20866
- ie,
20884
+ ne,
20867
20885
  {
20868
20886
  items: [
20869
20887
  T(
@@ -21563,7 +21581,7 @@ const oC = ({
21563
21581
  }
21564
21582
  )
21565
21583
  ] });
21566
- }, wT = x(({ sx: e }) => {
21584
+ }, w2 = x(({ sx: e }) => {
21567
21585
  const { isCopyLoaded: n, isInitialized: i } = ce();
21568
21586
  return !n || !i ? /* @__PURE__ */ t(de, {}) : /* @__PURE__ */ t(Ct, { sx: { p: 16 }, children: /* @__PURE__ */ t(yl, { sx: e }) });
21569
21587
  }), ZC = x(({ selectedTab: e }) => {
@@ -21599,7 +21617,7 @@ const oC = ({
21599
21617
  ] });
21600
21618
  });
21601
21619
  var ri = /* @__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))(ri || {});
21602
- const DT = x(({ onBackClick: e, sx: n }) => {
21620
+ const D2 = x(({ onBackClick: e, sx: n }) => {
21603
21621
  const { settings: i } = A(), { isCopyLoaded: a, isInitialized: o } = ce(), { config: r } = wt(), { isMobile: s } = Ce(), {
21604
21622
  display_user_profile_in_settings: c,
21605
21623
  display_mobile_devices_in_settings: l,
@@ -21637,13 +21655,13 @@ const DT = x(({ onBackClick: e, sx: n }) => {
21637
21655
  ] })
21638
21656
  }
21639
21657
  );
21640
- }), NT = x((e) => {
21658
+ }), N2 = x((e) => {
21641
21659
  const { clientConfig: n } = wt(), i = n?.master?.deep_link_params?.view;
21642
21660
  return i ? /* @__PURE__ */ t(_a, { view: i }) : /* @__PURE__ */ t(Ct, { ...e, children: /* @__PURE__ */ t(b, { my: 24, children: /* @__PURE__ */ t(_a, {}) }) });
21643
- }), RT = (e) => {
21661
+ }), R2 = (e) => {
21644
21662
  const { isMobile: n } = Ce();
21645
21663
  return /* @__PURE__ */ t(Ct, { ...e, children: /* @__PURE__ */ t(b, { sx: { mx: n ? 0 : 48, my: 24 }, children: /* @__PURE__ */ t(fl, {}) }) });
21646
- }, OT = x(
21664
+ }, O2 = x(
21647
21665
  ({ notificationTypes: e, isOpen: n, onClose: i, onNotificationClick: a }) => {
21648
21666
  const { config: o } = wt(), { notifications: r, settings: s } = A(), { isCopyLoaded: c } = ce(), [l, u] = g.useState(!1);
21649
21667
  return c ? /* @__PURE__ */ d(Z, { children: [
@@ -21871,7 +21889,7 @@ const e0 = (e) => e.reduce((i, a) => {
21871
21889
  ] });
21872
21890
  }, i0 = (e) => {
21873
21891
  const n = e.row[e.field];
21874
- return /* @__PURE__ */ t(b, { alignItems: "flex-end", tabIndex: e.tabIndex, children: /* @__PURE__ */ t(Xe, { amount: n, variant: "Small" }) });
21892
+ return /* @__PURE__ */ t(b, { alignItems: "flex-end", tabIndex: e.tabIndex, children: /* @__PURE__ */ t(Ze, { amount: n, variant: "Small" }) });
21875
21893
  }, a0 = ({ categoryGuid: e, topLevelCategoryGuid: n }) => {
21876
21894
  const { categories: i } = A(), a = ba[e];
21877
21895
  return /* @__PURE__ */ d(b, { alignItems: "center", direction: "row", justifyContent: "center", children: [
@@ -22009,7 +22027,7 @@ const e0 = (e) => e.reduce((i, a) => {
22009
22027
  }
22010
22028
  );
22011
22029
  }, l0 = x(c0), d0 = ({ onBackClick: e, sx: n }) => {
22012
- const { onEvent: i } = q(), { isDesktop: a, isTablet: o, isMobile: r } = Ce(), { visibleAccounts: s } = be(), { loadMonthlyCategoryTotals: c, monthlyCategoryTotals: l, getCategoryName: u } = $e(), { sortedTransactions: _ } = Le(), { selectedDateRange: h, setSelectedDateRange: p } = Si(), { isCopyLoaded: m, isInitialized: f, selectedAccounts: S, setSelectedAccounts: y } = ce(), { trends: E } = A(), [I, v] = g.useState(!1), [w, N] = g.useState(!1), [R, M] = g.useState("Chart"), [k, G] = g.useState(""), [L, W] = g.useState(window.innerHeight), oe = L - (r ? 315 : 345);
22030
+ const { onEvent: i } = q(), { isDesktop: a, isTablet: o, isMobile: r } = Ce(), { visibleAccounts: s } = be(), { loadMonthlyCategoryTotals: c, monthlyCategoryTotals: l, getCategoryName: u } = $e(), { sortedTransactions: _ } = Le(), { selectedDateRange: h, setSelectedDateRange: p } = Si(), { isCopyLoaded: m, isInitialized: f, selectedAccounts: S, setSelectedAccounts: y } = ce(), { trends: E } = A(), [I, v] = g.useState(!1), [w, N] = g.useState(!1), [R, M] = g.useState("Chart"), [k, G] = g.useState(""), [L, W] = g.useState(window.innerHeight), ie = L - (r ? 315 : 345);
22013
22031
  g.useEffect(() => {
22014
22032
  const J = () => W(window.innerHeight);
22015
22033
  return window.addEventListener("resize", J), () => window.removeEventListener("resize", J);
@@ -22024,14 +22042,14 @@ const e0 = (e) => e.reduce((i, a) => {
22024
22042
  v(!0);
22025
22043
  });
22026
22044
  }, [f, S, h]);
22027
- const ne = g.useMemo(() => {
22045
+ const oe = g.useMemo(() => {
22028
22046
  if (!I) return { stackedDatasets: [], unstackedDatasets: [] };
22029
22047
  const J = t0(
22030
22048
  l,
22031
22049
  h.start,
22032
22050
  h.end
22033
22051
  ), ke = k.length ? J.filter(
22034
- (xe) => xe.top_level_category_guid === k || xe.category_guid === k
22052
+ (Ie) => Ie.top_level_category_guid === k || Ie.category_guid === k
22035
22053
  ) : op(J);
22036
22054
  return {
22037
22055
  stackedDatasets: ke.filter(ip),
@@ -22039,9 +22057,9 @@ const e0 = (e) => e.reduce((i, a) => {
22039
22057
  };
22040
22058
  }, [l, k, h]), fe = (J, ke) => {
22041
22059
  M(ke ?? R), i(F.TRENDS_CLICK_TOGGLE);
22042
- }, Ae = (J) => {
22043
- const ke = mo(J?.[0], 1), xe = J?.[1], Ve = po(xe, ke);
22044
- p({ start: ke, end: xe }), i(F.TRENDS_CLICK_DATE, {
22060
+ }, xe = (J) => {
22061
+ const ke = mo(J?.[0], 1), Ie = J?.[1], Ve = po(Ie, ke);
22062
+ p({ start: ke, end: Ie }), i(F.TRENDS_CLICK_DATE, {
22045
22063
  time_period: Ve + "M"
22046
22064
  });
22047
22065
  }, Me = () => {
@@ -22050,7 +22068,7 @@ const e0 = (e) => e.reduce((i, a) => {
22050
22068
  G(J);
22051
22069
  }, me = (J) => {
22052
22070
  G(J), i(F.TRENDS_CLICK_LEGEND, { category: u(J) });
22053
- }, je = (J) => {
22071
+ }, Xe = (J) => {
22054
22072
  i(F.TRENDS_HOVER_LEGEND, { category: u(J) });
22055
22073
  }, V = (J) => {
22056
22074
  i(F.TRENDS_HOVER_AREA, { category: J });
@@ -22061,7 +22079,7 @@ const e0 = (e) => e.reduce((i, a) => {
22061
22079
  Ct,
22062
22080
  {
22063
22081
  accountOptions: s,
22064
- calendarActions: { onRangeChanged: Ae },
22082
+ calendarActions: { onRangeChanged: xe },
22065
22083
  dateRange: h,
22066
22084
  dateRangeVariant: "timeframebuttons",
22067
22085
  onAccountsFilterClick: Me,
@@ -22106,13 +22124,13 @@ const e0 = (e) => e.reduce((i, a) => {
22106
22124
  R === "Chart" && /* @__PURE__ */ t(
22107
22125
  Wu,
22108
22126
  {
22109
- availableHeight: oe,
22127
+ availableHeight: ie,
22110
22128
  onClickLegend: me,
22111
22129
  onHoverArea: V,
22112
- onHoverLegend: je,
22130
+ onHoverLegend: Xe,
22113
22131
  onHoverPoint: pe,
22114
- stackedDatasets: ne.stackedDatasets,
22115
- unstackedDatasets: ne.unstackedDatasets
22132
+ stackedDatasets: oe.stackedDatasets,
22133
+ unstackedDatasets: oe.unstackedDatasets
22116
22134
  }
22117
22135
  ),
22118
22136
  R === "Table" && /* @__PURE__ */ t(
@@ -22140,8 +22158,8 @@ const e0 = (e) => e.reduce((i, a) => {
22140
22158
  ]
22141
22159
  }
22142
22160
  );
22143
- }, LT = x(d0), _0 = () => {
22144
- const e = Ye(), { monthlyCategoryTotals: n } = $e(), { trends: i } = A(), a = sp(n);
22161
+ }, L2 = x(d0), _0 = () => {
22162
+ const e = je(), { monthlyCategoryTotals: n } = $e(), { trends: i } = A(), a = sp(n);
22145
22163
  return /* @__PURE__ */ t(
22146
22164
  ni,
22147
22165
  {
@@ -22175,7 +22193,7 @@ const e0 = (e) => e.reduce((i, a) => {
22175
22193
  children: o ? /* @__PURE__ */ t(u0, {}) : /* @__PURE__ */ t(de, {})
22176
22194
  }
22177
22195
  );
22178
- }, MT = x(h0), g0 = 70, Ss = ({
22196
+ }, M2 = x(h0), g0 = 70, Ss = ({
22179
22197
  title: e,
22180
22198
  totalAmount: n,
22181
22199
  transactionType: i,
@@ -22242,7 +22260,7 @@ const e0 = (e) => e.reduce((i, a) => {
22242
22260
  {
22243
22261
  ref: c,
22244
22262
  sx: { overflow: "hidden", textOverflow: "ellipsis", whiteSpace: "nowrap" },
22245
- children: /* @__PURE__ */ t(qe, { children: _ })
22263
+ children: /* @__PURE__ */ t(Qe, { children: _ })
22246
22264
  }
22247
22265
  ),
22248
22266
  r && s >= 450 && !y && /* @__PURE__ */ t(
@@ -22268,7 +22286,7 @@ const e0 = (e) => e.reduce((i, a) => {
22268
22286
  /* @__PURE__ */ t(X, { color: "text.secondary", variant: "subtitle2", children: e.zero_state_content_description })
22269
22287
  ] })
22270
22288
  ] });
22271
- }), kT = x(({ onCtaClick: e }) => {
22289
+ }), k2 = x(({ onCtaClick: e }) => {
22272
22290
  const { visibleAccounts: n } = be(), { onEvent: i } = q(), { monthlyCategoryTotals: a, loadMonthlyCategoryTotals: o, monthlyTotalsLoaded: r } = $e(), s = {
22273
22291
  start: Xd(/* @__PURE__ */ new Date(), 1),
22274
22292
  end: /* @__PURE__ */ new Date()
@@ -22451,7 +22469,7 @@ const e0 = (e) => e.reduce((i, a) => {
22451
22469
  u(!l);
22452
22470
  }, p = a.length + (l ? i.length : 0);
22453
22471
  return /* @__PURE__ */ t(b, { sx: { bgColor: "background.paper", width: "100%" }, children: /* @__PURE__ */ d(ae, { children: [
22454
- /* @__PURE__ */ t(b, { sx: { pb: 4, pt: 16, px: 16 }, children: /* @__PURE__ */ t(qe, { children: c.categories }) }),
22472
+ /* @__PURE__ */ t(b, { sx: { pb: 4, pt: 16, px: 16 }, children: /* @__PURE__ */ t(Qe, { children: c.categories }) }),
22455
22473
  a.map((m, f) => /* @__PURE__ */ t(
22456
22474
  Es,
22457
22475
  {
@@ -23824,7 +23842,7 @@ const Ui = g.createContext(null), A0 = ({
23824
23842
  shouldApplyNewAnimation: c = !1,
23825
23843
  visibleCardsCount: l = 1
23826
23844
  }) => {
23827
- const u = Ye(), { carouselCopy: _ } = Kn(), h = Math.floor(s) > r || n - l + 1 === 0, p = s < 0 || i - 1 === n, m = u.palette.grey[500], f = e?.primary_300 ?? u.palette.primary.main;
23845
+ const u = je(), { carouselCopy: _ } = Kn(), h = Math.floor(s) > r || n - l + 1 === 0, p = s < 0 || i - 1 === n, m = u.palette.grey[500], f = e?.primary_300 ?? u.palette.primary.main;
23828
23846
  return /* @__PURE__ */ d(
23829
23847
  b,
23830
23848
  {
@@ -23926,8 +23944,8 @@ const Ui = g.createContext(null), A0 = ({
23926
23944
  const V = f.current.offsetWidth, pe = 8;
23927
23945
  let J;
23928
23946
  if (m > 1) {
23929
- const xe = (V - (m - 1) * pe) / m / 3;
23930
- J = (V - xe - (m - 1) * pe) / m;
23947
+ const Ie = (V - (m - 1) * pe) / m / 3;
23948
+ J = (V - Ie - (m - 1) * pe) / m;
23931
23949
  } else
23932
23950
  J = V;
23933
23951
  M(J);
@@ -23962,18 +23980,18 @@ const Ui = g.createContext(null), A0 = ({
23962
23980
  top: 0,
23963
23981
  behavior: "smooth"
23964
23982
  });
23965
- }, oe = () => {
23983
+ }, ie = () => {
23966
23984
  W(jt.ON_CAROUSEL_BACK_CLICK), f.current && R && f.current.scrollTo({
23967
23985
  left: Math.max(0, y - (R + 8)),
23968
23986
  top: 0,
23969
23987
  behavior: "smooth"
23970
23988
  });
23971
- }, ne = () => {
23989
+ }, oe = () => {
23972
23990
  f.current && E(f.current.scrollLeft);
23973
23991
  }, fe = () => {
23974
23992
  if (!w || !I) return;
23975
23993
  w - I > M0 ? W(jt.ON_CAROUSEL_FORWARD_SWIPE) : W(jt.ON_CAROUSEL_BACK_SWIPE);
23976
- }, Ae = (V) => {
23994
+ }, xe = (V) => {
23977
23995
  v(V.targetTouches[0].clientX);
23978
23996
  }, Me = (V) => {
23979
23997
  v(null), N(V.targetTouches[0].clientX);
@@ -23984,7 +24002,7 @@ const Ui = g.createContext(null), A0 = ({
23984
24002
  posthog: s,
23985
24003
  showIcon: u,
23986
24004
  variant: h
23987
- }, me = R ? Math.round(y / (R + 8)) : 0, je = f.current ? f.current.scrollWidth - f.current.offsetWidth : 0;
24005
+ }, me = R ? Math.round(y / (R + 8)) : 0, Xe = f.current ? f.current.scrollWidth - f.current.offsetWidth : 0;
23988
24006
  return /* @__PURE__ */ d(
23989
24007
  b,
23990
24008
  {
@@ -24003,9 +24021,9 @@ const Ui = g.createContext(null), A0 = ({
24003
24021
  b,
24004
24022
  {
24005
24023
  direction: "row",
24006
- onScroll: ne,
24024
+ onScroll: oe,
24007
24025
  onTouchEnd: fe,
24008
- onTouchMove: Ae,
24026
+ onTouchMove: xe,
24009
24027
  onTouchStart: Me,
24010
24028
  ref: f,
24011
24029
  sx: {
@@ -24027,7 +24045,7 @@ const Ui = g.createContext(null), A0 = ({
24027
24045
  },
24028
24046
  children: [
24029
24047
  n.map((V, pe) => {
24030
- const J = pe + 1, ke = n.length + 1, xe = T(
24048
+ const J = pe + 1, ke = n.length + 1, Ie = T(
24031
24049
  L.card_position_in_carousel_aria,
24032
24050
  J.toString(),
24033
24051
  ke.toString()
@@ -24035,7 +24053,7 @@ const Ui = g.createContext(null), A0 = ({
24035
24053
  return /* @__PURE__ */ t(
24036
24054
  k0,
24037
24055
  {
24038
- ariaLabel: `${xe}: ${Wt}, ${z}`,
24056
+ ariaLabel: `${Ie}: ${Wt}, ${z}`,
24039
24057
  beat: V,
24040
24058
  index: pe,
24041
24059
  isActiveCard: pe === me,
@@ -24065,8 +24083,8 @@ const Ui = g.createContext(null), A0 = ({
24065
24083
  currentBeatIndex: me + m - 1,
24066
24084
  numBeats: n.length + 1,
24067
24085
  onNextClick: K,
24068
- onPreviousClick: oe,
24069
- scrollRightBoundary: je,
24086
+ onPreviousClick: ie,
24087
+ scrollRightBoundary: Xe,
24070
24088
  scrollX: y,
24071
24089
  shouldApplyNewAnimation: k,
24072
24090
  visibleCardsCount: m
@@ -24219,7 +24237,7 @@ const Ui = g.createContext(null), A0 = ({
24219
24237
  widthOverrides: u
24220
24238
  }
24221
24239
  );
24222
- }, GT = x(Ol), Ll = ({
24240
+ }, G2 = x(Ol), Ll = ({
24223
24241
  ariaLabel: e,
24224
24242
  carouselSize: n,
24225
24243
  heightOverrides: i,
@@ -24261,7 +24279,7 @@ const Ui = g.createContext(null), A0 = ({
24261
24279
  widthOverrides: l
24262
24280
  }
24263
24281
  );
24264
- }, BT = x(Ll), $0 = () => /* @__PURE__ */ t(
24282
+ }, B2 = x(Ll), $0 = () => /* @__PURE__ */ t(
24265
24283
  O,
24266
24284
  {
24267
24285
  sx: {
@@ -24304,7 +24322,7 @@ const Ui = g.createContext(null), A0 = ({
24304
24322
  visibleCardsCount: R = 1,
24305
24323
  widthOverrides: M
24306
24324
  }) => {
24307
- const k = Ye(), [G, L] = xt("STANDARD"), [W, K] = xt(!1), oe = cu([u], Tn), ne = lu([_], Tn);
24325
+ const k = je(), [G, L] = xt("STANDARD"), [W, K] = xt(!1), ie = cu([u], Tn), oe = lu([_], Tn);
24308
24326
  g.useEffect(() => {
24309
24327
  Tn.isInitialized || Tn.initialize(r, I, c);
24310
24328
  }, [r, I, c, Tn.isInitialized]), g.useEffect(() => {
@@ -24322,7 +24340,7 @@ const Ui = g.createContext(null), A0 = ({
24322
24340
  showWithMargin: E,
24323
24341
  useDarkMode: v,
24324
24342
  widthOverrides: M
24325
- }, Ae = {
24343
+ }, xe = {
24326
24344
  carouselSize: G,
24327
24345
  variant: N,
24328
24346
  ...fe
@@ -24331,7 +24349,7 @@ const Ui = g.createContext(null), A0 = ({
24331
24349
  // The Theme provider must wrap the component so that the styles don't break when imported into other applications.
24332
24350
  /* @__PURE__ */ d(Ed, { theme: k, children: [
24333
24351
  /* @__PURE__ */ t(o_, {}),
24334
- /* @__PURE__ */ t(A0, { onEvent: oe, onPageview: ne, store: Tn, children: /* @__PURE__ */ d(W0, { heightOverrides: s, widthOverrides: M, children: [
24352
+ /* @__PURE__ */ t(A0, { onEvent: ie, onPageview: oe, store: Tn, children: /* @__PURE__ */ d(W0, { heightOverrides: s, widthOverrides: M, children: [
24335
24353
  (n || !Tn.isInitialized) && /* @__PURE__ */ t($0, {}),
24336
24354
  W && S && /* @__PURE__ */ t(
24337
24355
  F0,
@@ -24355,8 +24373,8 @@ const Ui = g.createContext(null), A0 = ({
24355
24373
  ...fe
24356
24374
  }
24357
24375
  ),
24358
- W && !i.length && w && /* @__PURE__ */ t(Ol, { clientColorScheme: a, ...Ae }),
24359
- W && !i.length && !w && /* @__PURE__ */ t(Ll, { ...Ae })
24376
+ W && !i.length && w && /* @__PURE__ */ t(Ol, { clientColorScheme: a, ...xe }),
24377
+ W && !i.length && !w && /* @__PURE__ */ t(Ll, { ...xe })
24360
24378
  ] }) })
24361
24379
  ] })
24362
24380
  );
@@ -24610,7 +24628,7 @@ const Ui = g.createContext(null), A0 = ({
24610
24628
  selectedDateRange: i,
24611
24629
  totals: a
24612
24630
  }) => {
24613
- const o = Ye(), { trends: r } = A(), { isSmallMobile: s, isMobile: c, isSmallTablet: l, isTablet: u } = Ce(), _ = [o.palette.chart?.chart1, o.palette.chart?.chart2], h = J0(a, i), p = eb(h, r), [m, f] = g.useState(0), S = 458, y = 195, E = 56, I = c || s ? y : l || u ? S : m;
24631
+ const o = je(), { trends: r } = A(), { isSmallMobile: s, isMobile: c, isSmallTablet: l, isTablet: u } = Ce(), _ = [o.palette.chart?.chart1, o.palette.chart?.chart2], h = J0(a, i), p = eb(h, r), [m, f] = g.useState(0), S = 458, y = 195, E = 56, I = c || s ? y : l || u ? S : m;
24614
24632
  return g.useEffect(() => {
24615
24633
  const v = Math.max(e - E, n);
24616
24634
  f(v);
@@ -24646,7 +24664,7 @@ const Ui = g.createContext(null), A0 = ({
24646
24664
  selectedAccounts: I,
24647
24665
  selectedAccountGuids: v,
24648
24666
  setSelectedAccounts: w
24649
- } = ce(), { trends: N } = A(), R = du(), M = r || o, [k, G] = g.useState(!1), [L, W] = g.useState("Chart"), [K, oe] = g.useState(""), [ne, fe] = g.useState(!1), [Ae, Me] = g.useState(window.innerHeight), he = Ae - 208, me = Ae - (R ? 494 : 266);
24667
+ } = ce(), { trends: N } = A(), R = du(), M = r || o, [k, G] = g.useState(!1), [L, W] = g.useState("Chart"), [K, ie] = g.useState(""), [oe, fe] = g.useState(!1), [xe, Me] = g.useState(window.innerHeight), he = xe - 208, me = xe - (R ? 494 : 266);
24650
24668
  g.useEffect(() => {
24651
24669
  const Ve = () => Me(window.innerHeight);
24652
24670
  return window.addEventListener("resize", Ve), () => window.removeEventListener("resize", Ve);
@@ -24676,7 +24694,7 @@ const Ui = g.createContext(null), A0 = ({
24676
24694
  });
24677
24695
  }
24678
24696
  }, [_]);
24679
- const je = (Ve) => {
24697
+ const Xe = (Ve) => {
24680
24698
  f(Ve), fe(!0);
24681
24699
  }, V = () => {
24682
24700
  f(null), fe(!1);
@@ -24689,8 +24707,8 @@ const Ui = g.createContext(null), A0 = ({
24689
24707
  });
24690
24708
  }, ke = () => {
24691
24709
  a(F.TRENDS_CLICK_FILTER);
24692
- }, xe = (Ve) => {
24693
- oe(Ve);
24710
+ }, Ie = (Ve) => {
24711
+ ie(Ve);
24694
24712
  };
24695
24713
  return !y || !k ? /* @__PURE__ */ t(de, {}) : h && _.length === 0 ? /* @__PURE__ */ t(
24696
24714
  jn,
@@ -24739,7 +24757,7 @@ const Ui = g.createContext(null), A0 = ({
24739
24757
  ]
24740
24758
  }
24741
24759
  ),
24742
- /* @__PURE__ */ t(b, { alignItems: "center", flexDirection: "row", width: "100%", children: /* @__PURE__ */ t(O, { flexGrow: 1, children: K && /* @__PURE__ */ d(te, { onClick: () => oe(""), sx: { p: 0, pr: 5 }, children: [
24760
+ /* @__PURE__ */ t(b, { alignItems: "center", flexDirection: "row", width: "100%", children: /* @__PURE__ */ t(O, { flexGrow: 1, children: K && /* @__PURE__ */ d(te, { onClick: () => ie(""), sx: { p: 0, pr: 5 }, children: [
24743
24761
  /* @__PURE__ */ t(U, { name: "arrow_back" }),
24744
24762
  N.all_categories
24745
24763
  ] }) }) }),
@@ -24759,7 +24777,7 @@ const Ui = g.createContext(null), A0 = ({
24759
24777
  {
24760
24778
  height: "unset",
24761
24779
  monthlyCategoryTotals: _,
24762
- onClickRow: xe,
24780
+ onClickRow: Ie,
24763
24781
  selectedCategory: K,
24764
24782
  selectedDateRange: m
24765
24783
  }
@@ -24771,7 +24789,7 @@ const Ui = g.createContext(null), A0 = ({
24771
24789
  f0,
24772
24790
  {
24773
24791
  availableHeight: me,
24774
- onCategoryClick: je
24792
+ onCategoryClick: Xe
24775
24793
  }
24776
24794
  )
24777
24795
  ] })
@@ -24779,11 +24797,11 @@ const Ui = g.createContext(null), A0 = ({
24779
24797
  ]
24780
24798
  }
24781
24799
  ),
24782
- ne && /* @__PURE__ */ t(Q0, { onClose: V })
24800
+ oe && /* @__PURE__ */ t(Q0, { onClose: V })
24783
24801
  ]
24784
24802
  }
24785
24803
  );
24786
- }, HT = x(ib);
24804
+ }, H2 = x(ib);
24787
24805
  class ab {
24788
24806
  globalStore;
24789
24807
  selectedCategoryData = null;
@@ -24791,8 +24809,8 @@ class ab {
24791
24809
  visibleListLength = 5;
24792
24810
  constructor(n) {
24793
24811
  this.globalStore = n, this.selectedDateRange = {
24794
- start: mo(Qe(Ht(/* @__PURE__ */ new Date(), 6)), 1),
24795
- end: Qe(/* @__PURE__ */ new Date())
24812
+ start: mo(qe(Ht(/* @__PURE__ */ new Date(), 6)), 1),
24813
+ end: qe(/* @__PURE__ */ new Date())
24796
24814
  }, Pe(this);
24797
24815
  }
24798
24816
  setSelectedCategoryData = (n) => {
@@ -24902,8 +24920,8 @@ class sb {
24902
24920
  selectedAccountGuids = this.selectedAccounts.map((n) => n.guid);
24903
24921
  displayedDate = /* @__PURE__ */ new Date();
24904
24922
  displayedDateRange = {
24905
- start: Ze(this.displayedDate),
24906
- end: Qe(this.displayedDate)
24923
+ start: Ye(this.displayedDate),
24924
+ end: qe(this.displayedDate)
24907
24925
  };
24908
24926
  constructor(n) {
24909
24927
  Pe(this), this.globalStore = n;
@@ -24986,7 +25004,7 @@ class cb {
24986
25004
  }
24987
25005
  };
24988
25006
  }
24989
- class PT {
25007
+ class P2 {
24990
25008
  // Global properties
24991
25009
  appConfig = ys;
24992
25010
  endpoint = "/";
@@ -25863,7 +25881,7 @@ const Va = ({
25863
25881
  ] }) : /* @__PURE__ */ t(de, {})
25864
25882
  }
25865
25883
  ) : /* @__PURE__ */ t(de, {});
25866
- }, FT = x(vb), wb = ({ onPrimaryCtaClick: e, sx: n }) => {
25884
+ }, F2 = x(vb), wb = ({ onPrimaryCtaClick: e, sx: n }) => {
25867
25885
  const { visibleAccounts: i } = be(), { accounts: a } = A(), { isCopyLoaded: o, isInitialized: r, selectedAccounts: s, setSelectedAccounts: c } = ce();
25868
25886
  return g.useEffect(() => {
25869
25887
  c(i);
@@ -25894,7 +25912,7 @@ const Va = ({
25894
25912
  ] }) : /* @__PURE__ */ t(de, {})
25895
25913
  }
25896
25914
  ) : /* @__PURE__ */ t(de, {});
25897
- }, WT = x(wb), Db = () => /* @__PURE__ */ d(
25915
+ }, W2 = x(wb), Db = () => /* @__PURE__ */ d(
25898
25916
  "svg",
25899
25917
  {
25900
25918
  fill: "none",
@@ -26379,7 +26397,7 @@ const Va = ({
26379
26397
  ]
26380
26398
  }
26381
26399
  ) : /* @__PURE__ */ t(de, {});
26382
- }, $T = x(Ob);
26400
+ }, $2 = x(Ob);
26383
26401
  class Ns {
26384
26402
  fetchInstance;
26385
26403
  constructor(n, i) {
@@ -26756,7 +26774,7 @@ const kb = () => {
26756
26774
  ]
26757
26775
  }
26758
26776
  ) : /* @__PURE__ */ t(de, {});
26759
- }, UT = x(Pb), Rs = 5, Fb = 100, Wb = 25, $b = (e) => {
26777
+ }, U2 = x(Pb), Rs = 5, Fb = 100, Wb = 25, $b = (e) => {
26760
26778
  const n = (o) => {
26761
26779
  o.active || e.alphaTarget(0.3).restart(), o.subject.fx = o.subject.x, o.subject.fy = o.subject.y;
26762
26780
  }, i = (o) => {
@@ -27175,7 +27193,7 @@ const qb = ({
27175
27193
  return g.useEffect(() => {
27176
27194
  s(n);
27177
27195
  }, [n]), g.useEffect(() => {
27178
- _ && !o && p(h, Ze(/* @__PURE__ */ new Date()), Qe(/* @__PURE__ */ new Date())).then(
27196
+ _ && !o && p(h, Ye(/* @__PURE__ */ new Date()), qe(/* @__PURE__ */ new Date())).then(
27179
27197
  () => {
27180
27198
  r().finally();
27181
27199
  }
@@ -27215,7 +27233,7 @@ const qb = ({
27215
27233
  ]
27216
27234
  }
27217
27235
  ) : /* @__PURE__ */ t(de, {});
27218
- }, VT = x(ay), Hl = ({ budget: e }) => {
27236
+ }, V2 = x(ay), Hl = ({ budget: e }) => {
27219
27237
  const {
27220
27238
  amount: n,
27221
27239
  budgetColors: { background: i },
@@ -27569,7 +27587,7 @@ const qb = ({
27569
27587
  });
27570
27588
  };
27571
27589
  return /* @__PURE__ */ d(bt, { elevation: 2, children: [
27572
- /* @__PURE__ */ t(_n, { sx: { pb: 8, pl: 24 }, title: /* @__PURE__ */ t(qe, { children: n.budget_categories_title }) }),
27590
+ /* @__PURE__ */ t(_n, { sx: { pb: 8, pl: 24 }, title: /* @__PURE__ */ t(Qe, { children: n.budget_categories_title }) }),
27573
27591
  /* @__PURE__ */ t(Pt, { sx: { p: 0, ":last-child": { p: 0 } }, children: /* @__PURE__ */ t(ae, { children: i.map((r) => /* @__PURE__ */ d(g.Fragment, { children: [
27574
27592
  /* @__PURE__ */ t(_y, { budget: r, onClick: o }),
27575
27593
  /* @__PURE__ */ t(P, {})
@@ -27612,7 +27630,7 @@ const qb = ({
27612
27630
  }), m(!0), n(F.BUDGETS_CLICK_EDIT_INCOME);
27613
27631
  };
27614
27632
  return /* @__PURE__ */ d(bt, { elevation: 2, sx: { overflow: "visible" }, children: [
27615
- /* @__PURE__ */ t(_n, { sx: { pb: 8, pl: 24 }, title: /* @__PURE__ */ t(qe, { children: a.overview_title }) }),
27633
+ /* @__PURE__ */ t(_n, { sx: { pb: 8, pl: 24 }, title: /* @__PURE__ */ t(Qe, { children: a.overview_title }) }),
27616
27634
  /* @__PURE__ */ t(Pt, { sx: { pt: 12, px: 24 }, children: /* @__PURE__ */ d(b, { gap: 24, children: [
27617
27635
  /* @__PURE__ */ d(b, { gap: 8, children: [
27618
27636
  /* @__PURE__ */ t(C, { bold: !0, sx: { mb: 8 }, variant: "Body", children: a.spending_title }),
@@ -27658,7 +27676,7 @@ const qb = ({
27658
27676
  }
27659
27677
  )
27660
27678
  ] });
27661
- }), Ls = 480, KT = x(({ onBackClick: e, sx: n }) => {
27679
+ }), Ls = 480, K2 = x(({ onBackClick: e, sx: n }) => {
27662
27680
  const i = Ee(), { onEvent: a } = q(), { visibleAccounts: o } = be(), { budgets: r, common: s } = A(), { isCopyLoaded: c, isInitialized: l, selectedAccounts: u, setDisplayedDate: _, setSelectedAccounts: h } = ce(), {
27663
27681
  alert: p,
27664
27682
  dateRange: m,
@@ -27670,21 +27688,21 @@ const qb = ({
27670
27688
  detailedBudgets: v
27671
27689
  } = ut(), { loadRepeatingTransactions: w, setDateRange: N } = rt(), { reloadCategoryTotals: R } = $e(), { isSmallTablet: M, isMobile: k, isSmallMobile: G } = Ce(), L = M || k || G, [W, K] = g.useState(!1);
27672
27690
  g.useEffect(() => {
27673
- I(i), h(o), _(m.start, m.end), a(F.BUDGETS_VIEW);
27691
+ I(i), h(o), y({ start: Ye(Ae()), end: qe(Ae()) }), a(F.BUDGETS_VIEW);
27674
27692
  }, []), g.useEffect(() => {
27675
27693
  h(o);
27676
27694
  }, [o]), g.useEffect(() => {
27677
- l && (R(u, m.start, m.end).finally(), N(m), f || (w().finally(), S().finally()));
27695
+ l && (_(m.start, m.end), R(u, m.start, m.end).finally(), N(m), f || (w().finally(), S().finally()));
27678
27696
  }, [l, u, m]);
27679
- const oe = (he) => {
27697
+ const ie = (he) => {
27680
27698
  y({ start: he[0] || /* @__PURE__ */ new Date(), end: he[1] || /* @__PURE__ */ new Date() });
27681
- }, ne = () => {
27699
+ }, oe = () => {
27682
27700
  a(F.BUDGETS_CLICK_FILTER);
27683
27701
  }, fe = () => {
27684
27702
  K(!0), a(F.BUDGETS_CLICK_ADD);
27685
- }, Ae = () => {
27703
+ }, xe = () => {
27686
27704
  K(!1);
27687
- }, Me = sn(m.end, Ze(/* @__PURE__ */ new Date()));
27705
+ }, Me = sn(m.end, Ye(/* @__PURE__ */ new Date()));
27688
27706
  return !c || !l || !f ? /* @__PURE__ */ t(de, {}) : /* @__PURE__ */ d(
27689
27707
  Ct,
27690
27708
  {
@@ -27696,8 +27714,12 @@ const qb = ({
27696
27714
  onClick: fe
27697
27715
  }
27698
27716
  ],
27699
- calendarActions: { onRangeChanged: oe, shouldDisableNext: Me },
27700
- onAccountsFilterClick: ne,
27717
+ calendarActions: {
27718
+ onRangeChanged: ie,
27719
+ shouldDisableNext: Me,
27720
+ shouldDisablePicker: !0
27721
+ },
27722
+ onAccountsFilterClick: oe,
27701
27723
  onBackClick: e,
27702
27724
  sx: n,
27703
27725
  title: r.budgets_title,
@@ -27745,7 +27767,7 @@ const qb = ({
27745
27767
  isOpen: W,
27746
27768
  onClose: () => K(!1),
27747
27769
  title: r.add_new_title,
27748
- children: /* @__PURE__ */ t(Bl, { onRecalculateBudgets: Ae })
27770
+ children: /* @__PURE__ */ t(Bl, { onRecalculateBudgets: xe })
27749
27771
  }
27750
27772
  ),
27751
27773
  /* @__PURE__ */ t(
@@ -27931,7 +27953,7 @@ const by = ({ widgets: e, isLoading: n }) => {
27931
27953
  /* @__PURE__ */ t(xn, { height: 300, variant: "rounded", width: "100%" })
27932
27954
  ] }) : /* @__PURE__ */ t(b, { direction: "column", spacing: 24, children: u.map((_) => /* @__PURE__ */ t(g.Fragment, { children: _.component }, _.index)) }) })
27933
27955
  ] });
27934
- }, zT = x(by), ar = ({ sx: e = {} }) => {
27956
+ }, z2 = x(by), ar = ({ sx: e = {} }) => {
27935
27957
  const { investments: n } = A(), { onEvent: i } = q(), { setShowConnectionsWidget: a } = Xn();
27936
27958
  return /* @__PURE__ */ d(b, { sx: { alignItems: "center", gap: 24, height: 164, p: 24, width: "100%", ...e }, children: [
27937
27959
  /* @__PURE__ */ d(
@@ -28393,7 +28415,7 @@ const by = ({ widgets: e, isLoading: n }) => {
28393
28415
  ), Oy = () => {
28394
28416
  const {
28395
28417
  investments: { analysis: e }
28396
- } = A(), { analysisChartData: n, analysisDetails: i, analysisType: a, setAnalysisType: o } = Xn(), r = un("(min-width:320px) and (max-width:375px)"), { isMobile: s } = Ce(), l = Ye().palette.mode === "dark", { cellDimension: u, columns: _, rows: h, textVariant: p } = g.useMemo(() => {
28418
+ } = A(), { analysisChartData: n, analysisDetails: i, analysisType: a, setAnalysisType: o } = Xn(), r = un("(min-width:320px) and (max-width:375px)"), { isMobile: s } = Ce(), l = je().palette.mode === "dark", { cellDimension: u, columns: _, rows: h, textVariant: p } = g.useMemo(() => {
28397
28419
  const m = a === Hn.Stocks, f = Object.values(m ? e.stock_column_labels : e.bond_column_labels), S = Object.values(m ? e.stock_row_labels : e.bond_row_labels);
28398
28420
  return { cellDimension: s ? 72 : 100, columns: f, rows: S, textVariant: s ? "XSmall" : "Body" };
28399
28421
  }, [e, s, a]);
@@ -29036,10 +29058,10 @@ const by = ({ widgets: e, isLoading: n }) => {
29036
29058
  const J = Number(E);
29037
29059
  if (c({ ...pe, cost_basis: J }), e) {
29038
29060
  const ke = _.holdings.map(
29039
- (xe) => xe.id === V ? { ...xe, costBasis: J } : xe
29061
+ (Ie) => Ie.id === V ? { ...Ie, costBasis: J } : Ie
29040
29062
  );
29041
- h((xe) => ({
29042
- ...xe,
29063
+ h((Ie) => ({
29064
+ ...Ie,
29043
29065
  holdings: ke
29044
29066
  }));
29045
29067
  }
@@ -29049,20 +29071,20 @@ const by = ({ widgets: e, isLoading: n }) => {
29049
29071
  ...ke,
29050
29072
  [V]: J
29051
29073
  }));
29052
- }, { visibleHoldings: oe } = Xn(), { visibleInvestmentAccounts: ne } = be(), fe = ne.filter(
29074
+ }, { visibleHoldings: ie } = Xn(), { visibleInvestmentAccounts: oe } = be(), fe = oe.filter(
29053
29075
  ({ guid: V }) => r.includes(V)
29054
- ), Ae = fe.reduce((V, pe) => V + (pe.balance || 0), 0), Me = fe.map(({ guid: V }) => V), me = oe.filter(
29076
+ ), xe = fe.reduce((V, pe) => V + (pe.balance || 0), 0), Me = fe.map(({ guid: V }) => V), me = ie.filter(
29055
29077
  ({ account_guid: V }) => Me.includes(V)
29056
29078
  ).reduce((V, pe) => {
29057
29079
  const J = pe.market_value ? pe.market_value - (pe.cost_basis || 0) : 0;
29058
29080
  return V + J;
29059
- }, 0), je = () => {
29081
+ }, 0), Xe = () => {
29060
29082
  o(!1);
29061
29083
  };
29062
29084
  return f ? /* @__PURE__ */ d(Oe, { sx: { alignItems: "center", gap: 48, pt: 48, width: "100%" }, children: [
29063
29085
  !!fe.length && /* @__PURE__ */ d(Oe, { sx: { alignItems: "center" }, children: [
29064
29086
  /* @__PURE__ */ t(C, { sx: { color: "text.secondary" }, children: m.overview.total_portfolio }),
29065
- /* @__PURE__ */ t(Qt, { children: Ae.toLocaleString("en-US", {
29087
+ /* @__PURE__ */ t(Qt, { children: xe.toLocaleString("en-US", {
29066
29088
  currency: "USD",
29067
29089
  maximumFractionDigits: 2,
29068
29090
  minimumFractionDigits: 2,
@@ -29093,7 +29115,7 @@ const by = ({ widgets: e, isLoading: n }) => {
29093
29115
  ] })
29094
29116
  ] }),
29095
29117
  fe.map((V) => {
29096
- const pe = oe.filter((z) => z.account_guid === V.guid).map((z) => ({
29118
+ const pe = ie.filter((z) => z.account_guid === V.guid).map((z) => ({
29097
29119
  id: z.guid,
29098
29120
  qty: z.shares || 0,
29099
29121
  holding: z.symbol || z.description || "Unknown",
@@ -29101,10 +29123,10 @@ const by = ({ widgets: e, isLoading: n }) => {
29101
29123
  totalGainLoss: z.market_value ? z.market_value - (z.cost_basis || 0) : 0,
29102
29124
  marketValue: z.market_value || 0,
29103
29125
  description: z.description || ""
29104
- })), J = pe.length > 0, ke = V.balance, xe = pe.reduce(
29126
+ })), J = pe.length > 0, ke = V.balance, Ie = pe.reduce(
29105
29127
  (z, Be) => Be.totalGainLoss + z,
29106
29128
  0
29107
- ), Ve = ke ? xe / ke * 100 : 0;
29129
+ ), Ve = ke ? Ie / ke * 100 : 0;
29108
29130
  if (e)
29109
29131
  return /* @__PURE__ */ t(
29110
29132
  Nt,
@@ -29197,19 +29219,19 @@ const by = ({ widgets: e, isLoading: n }) => {
29197
29219
  justifyContent: "flex-end"
29198
29220
  },
29199
29221
  children: [
29200
- xe !== 0 && /* @__PURE__ */ t(
29222
+ Ie !== 0 && /* @__PURE__ */ t(
29201
29223
  pt,
29202
29224
  {
29203
- name: xe > 0 ? "trending_up" : "trending_down",
29225
+ name: Ie > 0 ? "trending_up" : "trending_down",
29204
29226
  size: 20,
29205
- sx: { color: M(xe) }
29227
+ sx: { color: M(Ie) }
29206
29228
  }
29207
29229
  ),
29208
29230
  /* @__PURE__ */ d(
29209
29231
  C,
29210
29232
  {
29211
29233
  sx: {
29212
- color: M(xe),
29234
+ color: M(Ie),
29213
29235
  fontWeight: 600
29214
29236
  },
29215
29237
  variant: "Body",
@@ -29224,11 +29246,11 @@ const by = ({ widgets: e, isLoading: n }) => {
29224
29246
  C,
29225
29247
  {
29226
29248
  sx: {
29227
- color: M(xe),
29249
+ color: M(Ie),
29228
29250
  fontWeight: 600
29229
29251
  },
29230
29252
  variant: "Body",
29231
- children: Math.abs(xe).toLocaleString("en-US", {
29253
+ children: Math.abs(Ie).toLocaleString("en-US", {
29232
29254
  currency: "USD",
29233
29255
  maximumFractionDigits: 2,
29234
29256
  minimumFractionDigits: 2,
@@ -29341,19 +29363,19 @@ const by = ({ widgets: e, isLoading: n }) => {
29341
29363
  justifyContent: "flex-end"
29342
29364
  },
29343
29365
  children: [
29344
- xe !== 0 && /* @__PURE__ */ t(
29366
+ Ie !== 0 && /* @__PURE__ */ t(
29345
29367
  pt,
29346
29368
  {
29347
- name: xe >= 0 ? "trending_up" : "trending_down",
29369
+ name: Ie >= 0 ? "trending_up" : "trending_down",
29348
29370
  size: 20,
29349
- sx: { color: M(xe) }
29371
+ sx: { color: M(Ie) }
29350
29372
  }
29351
29373
  ),
29352
29374
  /* @__PURE__ */ d(
29353
29375
  C,
29354
29376
  {
29355
29377
  sx: {
29356
- color: M(xe),
29378
+ color: M(Ie),
29357
29379
  fontWeight: 600
29358
29380
  },
29359
29381
  variant: "Body",
@@ -29368,11 +29390,11 @@ const by = ({ widgets: e, isLoading: n }) => {
29368
29390
  C,
29369
29391
  {
29370
29392
  sx: {
29371
- color: M(xe),
29393
+ color: M(Ie),
29372
29394
  fontWeight: 600
29373
29395
  },
29374
29396
  variant: "Body",
29375
- children: Math.abs(xe).toLocaleString("en-US", {
29397
+ children: Math.abs(Ie).toLocaleString("en-US", {
29376
29398
  currency: "USD",
29377
29399
  maximumFractionDigits: 2,
29378
29400
  minimumFractionDigits: 2,
@@ -29426,7 +29448,7 @@ const by = ({ widgets: e, isLoading: n }) => {
29426
29448
  handleCostBasisClick: k,
29427
29449
  handleCostBasisKeyDown: L,
29428
29450
  isOpen: a,
29429
- onClose: je
29451
+ onClose: Xe
29430
29452
  }
29431
29453
  ),
29432
29454
  /* @__PURE__ */ t(
@@ -29438,7 +29460,7 @@ const by = ({ widgets: e, isLoading: n }) => {
29438
29460
  }
29439
29461
  )
29440
29462
  ] }) : /* @__PURE__ */ t(de, {});
29441
- }, Hy = x(By), Py = ({ title: e }) => /* @__PURE__ */ t(C, { bold: !0, variant: "Body", children: e }), YT = x(({ onBackClick: e, sx: n }) => {
29463
+ }, Hy = x(By), Py = ({ title: e }) => /* @__PURE__ */ t(C, { bold: !0, variant: "Body", children: e }), Y2 = x(({ onBackClick: e, sx: n }) => {
29442
29464
  const { onEvent: i } = q(), { isMobile: a } = Ce(), { visibleInvestmentAccounts: o } = be(), {
29443
29465
  visibleHoldings: r,
29444
29466
  setShowConnectionsWidget: s,
@@ -29696,8 +29718,8 @@ const by = ({ widgets: e, isLoading: n }) => {
29696
29718
  g.useEffect(() => {
29697
29719
  c(
29698
29720
  a,
29699
- Ze(/* @__PURE__ */ new Date()),
29700
- Qe(/* @__PURE__ */ new Date())
29721
+ Ye(/* @__PURE__ */ new Date()),
29722
+ qe(/* @__PURE__ */ new Date())
29701
29723
  ).finally();
29702
29724
  }, [a]);
29703
29725
  const [u, _] = g.useState(""), [h, p] = g.useState(0), m = g.useMemo(
@@ -29786,7 +29808,7 @@ const by = ({ widgets: e, isLoading: n }) => {
29786
29808
  children: /* @__PURE__ */ t(Uy, {})
29787
29809
  }
29788
29810
  );
29789
- }, jT = x(Vy), Ky = ({
29811
+ }, j2 = x(Vy), Ky = ({
29790
29812
  data: e,
29791
29813
  onSelected: n,
29792
29814
  selectedId: i = "",
@@ -29940,32 +29962,32 @@ const by = ({ widgets: e, isLoading: n }) => {
29940
29962
  ), k = g.useMemo(
29941
29963
  () => h.find((K) => K.guid === I),
29942
29964
  [I, h]
29943
- ), G = (K, oe) => {
29944
- E(oe), S("");
29965
+ ), G = (K, ie) => {
29966
+ E(ie), S("");
29945
29967
  }, L = (K) => {
29946
29968
  S(f === K || K === "0" ? "" : K);
29947
29969
  }, W = (K) => {
29948
- const oe = {
29970
+ const ie = {
29949
29971
  accounts: p || u,
29950
29972
  dateRange: c
29951
29973
  };
29952
29974
  if (y === 0)
29953
29975
  if (K === "other") {
29954
- const ne = R.categoryData.find((fe) => fe.guid === "other");
29976
+ const oe = R.categoryData.find((fe) => fe.guid === "other");
29955
29977
  _({
29956
- ...oe,
29957
- custom: (fe) => !!ne?.categoryTotals?.find((Ae) => Ae.guid === fe.top_level_category_guid)
29978
+ ...ie,
29979
+ custom: (fe) => !!oe?.categoryTotals?.find((xe) => xe.guid === fe.top_level_category_guid)
29958
29980
  });
29959
29981
  } else
29960
29982
  _({
29961
- ...oe,
29962
- custom: (ne) => K ? ne.top_level_category_guid === K : ne.top_level_category_guid !== D.INCOME && ne.top_level_category_guid !== D.INVESTMENTS && ne.top_level_category_guid !== D.TRANSFER,
29983
+ ...ie,
29984
+ custom: (oe) => K ? oe.top_level_category_guid === K : oe.top_level_category_guid !== D.INCOME && oe.top_level_category_guid !== D.INVESTMENTS && oe.top_level_category_guid !== D.TRANSFER,
29963
29985
  showSplits: !!K
29964
29986
  });
29965
29987
  else
29966
29988
  _({
29967
- ...oe,
29968
- custom: (ne) => K ? ne.category_guid === K : ne.category_guid === D.INCOME || ne.top_level_category_guid === D.INCOME
29989
+ ...ie,
29990
+ custom: (oe) => K ? oe.category_guid === K : oe.category_guid === D.INCOME || oe.top_level_category_guid === D.INCOME
29969
29991
  });
29970
29992
  N(!0);
29971
29993
  };
@@ -30042,7 +30064,7 @@ const by = ({ widgets: e, isLoading: n }) => {
30042
30064
  g.useEffect(() => {
30043
30065
  c(i);
30044
30066
  }, [i]), g.useEffect(() => {
30045
- _ && Array.isArray(_) && _.length === 2 ? s(_[0], _[1]) : s(Ze(ve()), Qe(ve())), p(!0), l(F.SPENDING_VIEW);
30067
+ _ && Array.isArray(_) && _.length === 2 ? s(_[0], _[1]) : s(Ye(Ae()), qe(Ae())), p(!0), l(F.SPENDING_VIEW);
30046
30068
  }, []);
30047
30069
  const m = (f) => {
30048
30070
  s(f[0], f[1]);
@@ -30059,7 +30081,7 @@ const by = ({ widgets: e, isLoading: n }) => {
30059
30081
  children: /* @__PURE__ */ t(O, { height: "calc(100dvh - 150px)", overflow: "scroll", width: "100%", children: /* @__PURE__ */ t(Zy, {}) })
30060
30082
  }
30061
30083
  );
30062
- }, XT = x(qy);
30084
+ }, X2 = x(qy);
30063
30085
  export {
30064
30086
  F as ANALYTICS_EVENTS,
30065
30087
  Ns as AccountApi,
@@ -30074,30 +30096,30 @@ export {
30074
30096
  H_ as AccountSubType,
30075
30097
  _e as AccountType,
30076
30098
  Eo as AccountTypeName,
30077
- WT as AccountsMiniWidget,
30078
- FT as AccountsWidget,
30099
+ W2 as AccountsMiniWidget,
30100
+ F2 as AccountsWidget,
30079
30101
  im as AddAccountModal,
30080
30102
  $c as AddRecurringTransactionDetails,
30081
30103
  au as AnalyticsApi,
30082
30104
  B as ApiEndpoints,
30083
30105
  T0 as AppStore,
30084
30106
  Sr as BannerApi,
30085
- rT as BarChart,
30107
+ r2 as BarChart,
30086
30108
  li as BeatApi,
30087
30109
  k0 as BeatCard,
30088
30110
  Zi as BottomActions,
30089
- VT as BubbleBudgetsMiniWidget,
30090
- KT as BubbleBudgetsWidget,
30111
+ V2 as BubbleBudgetsMiniWidget,
30112
+ K2 as BubbleBudgetsWidget,
30091
30113
  fs as BudgetNotificationProfiles,
30092
30114
  Zn as BudgetNotificationTypes,
30093
30115
  xu as Calendar,
30094
30116
  Ac as CalendarSelectionTypes,
30095
30117
  F0 as CarouselHeader,
30096
- fT as CashflowApi,
30097
- lT as CashflowMiniWidget,
30118
+ f2 as CashflowApi,
30119
+ l2 as CashflowMiniWidget,
30098
30120
  jm as CashflowOnboarding,
30099
30121
  qm as CashflowStore,
30100
- pT as CashflowWidget,
30122
+ p2 as CashflowWidget,
30101
30123
  Er as CategoryApi,
30102
30124
  si as CategoryColors,
30103
30125
  ba as CategoryGuidToName,
@@ -30110,24 +30132,24 @@ export {
30110
30132
  D0 as ChartFilledIcon,
30111
30133
  vc as ConnectCard,
30112
30134
  bn as ConnectDrawer,
30113
- $T as ConnectMiniWidget,
30135
+ $2 as ConnectMiniWidget,
30114
30136
  Yn as ConnectionStatus,
30115
30137
  Et as ConnectionStatusEnums,
30116
- yT as CreditScoreGraph,
30138
+ y2 as CreditScoreGraph,
30117
30139
  oa as CurrencyCodes,
30118
30140
  en as CurrencyInput,
30119
- Xe as CurrencyText,
30141
+ Ze as CurrencyText,
30120
30142
  re as DATE_FORMATS_INTL,
30121
30143
  gc as DEFAULT_DONUT_SIZE,
30122
30144
  mc as DEFAULT_STROKE_WIDTH,
30123
- zT as Dashboard,
30145
+ z2 as Dashboard,
30124
30146
  qi as DashboardLocation,
30125
30147
  eo as DataRow,
30126
30148
  wr as DateRangeSelector,
30127
30149
  qc as DebtsChart,
30128
30150
  Zp as DebtsStore,
30129
30151
  Fp as DebtsTable,
30130
- bT as DebtsWidget,
30152
+ b2 as DebtsWidget,
30131
30153
  lC as DeviceTab,
30132
30154
  tl as DialScoreCard,
30133
30155
  Ge as Dialog,
@@ -30142,20 +30164,20 @@ export {
30142
30164
  nl as FinancialStrengthGraph,
30143
30165
  is as FinstrongApi,
30144
30166
  r1 as FinstrongStore,
30145
- ST as FinstrongWidget,
30167
+ S2 as FinstrongWidget,
30146
30168
  Se as Frequency,
30147
30169
  Ri as GlobalCopyApi,
30148
30170
  Qu as GlobalCopyStore,
30149
30171
  ti as GlobalDataContext,
30150
- iT as GlobalDataProvider,
30151
- PT as GlobalStore,
30172
+ i2 as GlobalDataProvider,
30173
+ P2 as GlobalStore,
30152
30174
  os as GoalApi,
30153
30175
  Y1 as GoalStore,
30154
30176
  ao as GoalType,
30155
- TT as GoalsMicroWidget,
30156
- ET as GoalsWidget,
30177
+ T2 as GoalsMicroWidget,
30178
+ E2 as GoalsWidget,
30157
30179
  yl as Help,
30158
- wT as HelpWidget,
30180
+ w2 as HelpWidget,
30159
30181
  To as INCOME_ACCOUNT_TYPES,
30160
30182
  Bn as IconBacking,
30161
30183
  Oo as InformationTooltip,
@@ -30163,18 +30185,18 @@ export {
30163
30185
  V0 as InsightsMicroWidget,
30164
30186
  A0 as InsightsMicroWidgetDataProvider,
30165
30187
  Cs as InsightsNotificationProfiles,
30166
- YT as InvestmentsWidget,
30188
+ Y2 as InvestmentsWidget,
30167
30189
  K_ as IterationItemTypes,
30168
- Z2 as LOADING_STATUS,
30190
+ ZT as LOADING_STATUS,
30169
30191
  ni as LineChart,
30170
30192
  tn as ListItemAction,
30171
30193
  qu as ListItemWrapper,
30172
30194
  de as Loader,
30173
- tT as LocalizedCopyApi,
30195
+ t2 as LocalizedCopyApi,
30174
30196
  _m as ManageExpenses,
30175
30197
  Ho as ManageIncome,
30176
30198
  Gn as MemberConnectionStatus,
30177
- AT as MerchantLookup,
30199
+ A2 as MerchantLookup,
30178
30200
  Cf as MerchantStore,
30179
30201
  Gt as MetaType,
30180
30202
  dc as MfaStatuses,
@@ -30183,45 +30205,45 @@ export {
30183
30205
  Ea as MicroWidgetContainer,
30184
30206
  Un as MiniWidgetContainer,
30185
30207
  O0 as MonthlySpendComparisonIcon,
30186
- sT as MultiSegmentDonut,
30208
+ s2 as MultiSegmentDonut,
30187
30209
  yf as NetWorthChart,
30188
30210
  Af as NetWorthList,
30189
- xT as NetWorthMicroWidget,
30211
+ x2 as NetWorthMicroWidget,
30190
30212
  kf as NetWorthStore,
30191
30213
  vf as NetWorthSummary,
30192
- IT as NetWorthWidget,
30193
- GT as NoRelevantInsightsCard,
30214
+ I2 as NetWorthWidget,
30215
+ G2 as NoRelevantInsightsCard,
30194
30216
  uc as NonConnectedStatuses,
30195
30217
  Tr as NotificationApi,
30196
- OT as NotificationDrawer,
30218
+ O2 as NotificationDrawer,
30197
30219
  Qf as NotificationList,
30198
30220
  _a as NotificationSettings,
30199
- NT as NotificationSettingsWidget,
30221
+ N2 as NotificationSettingsWidget,
30200
30222
  Kf as NotificationStore,
30201
30223
  Mt as NotificationTypes,
30202
30224
  B_ as ORDINAL_DATE_FORMAT,
30203
- z2 as ORDINAL_MONTH_DAY_YEAR_FORMAT,
30225
+ zT as ORDINAL_MONTH_DAY_YEAR_FORMAT,
30204
30226
  Ao as PAYMENT_ACCOUNT_TYPES,
30205
30227
  Cr as PaymentCategories,
30206
30228
  V_ as PlanTypes,
30207
30229
  P_ as ProcessingStatuses,
30208
30230
  aC as ProfileTab,
30209
30231
  lc as PropertyType,
30210
- j2 as PropertyTypeName,
30211
- X2 as RECURRENCE_COPY,
30232
+ jT as PropertyTypeName,
30233
+ XT as RECURRENCE_COPY,
30212
30234
  et as RecurrenceStatus,
30213
30235
  Zt as RecurrenceType,
30214
30236
  U_ as RecurrenceTypes,
30215
30237
  Po as RecurringSettings,
30216
- mT as RecurringTransactionsMicroWidget,
30217
- gT as RecurringTransactionsMiniWidget,
30238
+ m2 as RecurringTransactionsMicroWidget,
30239
+ g2 as RecurringTransactionsMiniWidget,
30218
30240
  Em as RecurringTransactionsStore,
30219
- hT as RecurringTransactionsWidget,
30241
+ h2 as RecurringTransactionsWidget,
30220
30242
  cn as RepeatingType,
30221
- cT as ResponsiveButton,
30243
+ c2 as ResponsiveButton,
30222
30244
  xo as SPENDING_ACCOUNT_TYPES,
30223
30245
  Ph as ScheduledPaymentTypes,
30224
- nT as ScheduledPaymentsApi,
30246
+ n2 as ScheduledPaymentsApi,
30225
30247
  Fh as ScreenSize,
30226
30248
  Ta as SearchBox,
30227
30249
  zi as Select,
@@ -30230,16 +30252,16 @@ export {
30230
30252
  gs as SettingsApi,
30231
30253
  tC as SettingsStore,
30232
30254
  ri as SettingsTabs,
30233
- DT as SettingsWidget,
30255
+ D2 as SettingsWidget,
30234
30256
  ZC as SettingsWidgetContents,
30235
30257
  Ro as SingleSegmentDonut,
30236
30258
  z_ as Sizes,
30237
- jT as SpendingMiniWidget,
30238
- XT as SpendingWidget,
30259
+ j2 as SpendingMiniWidget,
30260
+ X2 as SpendingWidget,
30239
30261
  Wu as StackedLineChart,
30240
30262
  di as StatusBar,
30241
- Y2 as StatusName,
30242
- UT as SurveyMiniWidget,
30263
+ YT as StatusName,
30264
+ U2 as SurveyMiniWidget,
30243
30265
  Ii as TOUCH_TARGET,
30244
30266
  Q as TRANSACTION_EVENTS,
30245
30267
  Rn as TabContentContainer,
@@ -30252,17 +30274,17 @@ export {
30252
30274
  Vn as TransactionList,
30253
30275
  Go as TransactionRow,
30254
30276
  fl as TransactionRulesTab,
30255
- RT as TransactionRulesWidget,
30277
+ R2 as TransactionRulesWidget,
30256
30278
  ko as TransactionStatus,
30257
30279
  $h as TransactionStore,
30258
30280
  rg as TransactionTable,
30259
30281
  Xt as TransactionType,
30260
- uT as TransactionWidget,
30261
- LT as TrendsFullWidget,
30262
- kT as TrendsMicroWidget,
30263
- MT as TrendsMiniWidget,
30282
+ u2 as TransactionWidget,
30283
+ L2 as TrendsFullWidget,
30284
+ k2 as TrendsMicroWidget,
30285
+ M2 as TrendsMiniWidget,
30264
30286
  ab as TrendsStore,
30265
- HT as TrendsWidget,
30287
+ H2 as TrendsWidget,
30266
30288
  Ha as UserApi,
30267
30289
  cb as UserStore,
30268
30290
  Bh as UserVerification,
@@ -30271,11 +30293,11 @@ export {
30271
30293
  Ct as WidgetContainer,
30272
30294
  Cc as WidgetContainerContext,
30273
30295
  vo as WidgetContainerProvider,
30274
- BT as ZeroStateCard,
30296
+ B2 as ZeroStateCard,
30275
30297
  wl as ZeroStateIcon,
30276
30298
  G_ as analyticsSession,
30277
30299
  T as buildDynamicCopy,
30278
- J2 as buildPluralCopy,
30300
+ JT as buildPluralCopy,
30279
30301
  Dc as exportTransactionsToCSV,
30280
30302
  Vf as filterRecentNotifications,
30281
30303
  H as formatCurrency,
@@ -30286,14 +30308,14 @@ export {
30286
30308
  zc as getAccountBalanceDetails,
30287
30309
  Dm as getAccountDetailFields,
30288
30310
  yr as getCategory,
30289
- q2 as getCategoryTotalsByParent,
30290
- eT as getClientTheme,
30311
+ qT as getCategoryTotalsByParent,
30312
+ e2 as getClientTheme,
30291
30313
  tu as getCurrencyCodes,
30292
30314
  Y_ as getDetailedCategory,
30293
30315
  j_ as getDetailedSubCategory,
30294
30316
  Wn as getLocale,
30295
- vT as getNotificationDetailRoute,
30296
- Q2 as isIncome,
30317
+ v2 as getNotificationDetailRoute,
30318
+ QT as isIncome,
30297
30319
  Ja as isValidNumber,
30298
30320
  be as useAccountStore,
30299
30321
  Vt as useAccountUiStore,
@@ -30318,8 +30340,8 @@ export {
30318
30340
  ru as useMerchantStore,
30319
30341
  yc as useNetWorthStore,
30320
30342
  Sc as useNotificationStore,
30321
- aT as usePageView,
30322
- oT as usePrevious,
30343
+ a2 as usePageView,
30344
+ o2 as usePrevious,
30323
30345
  rt as useRecurringTransactionsStore,
30324
30346
  Ce as useScreenSize,
30325
30347
  yt as useSettingsStore,