@mx-cartographer/experiences 4.1.11 → 4.1.12
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +4 -0
- package/dist/Accounts-uFmWlTS2.mjs +412 -0
- package/dist/Accounts-uFmWlTS2.mjs.map +1 -0
- package/dist/BottomImageContent-B9i4ljIR.mjs +48 -0
- package/dist/BottomImageContent-B9i4ljIR.mjs.map +1 -0
- package/dist/Budgets-CB3NXYdu.mjs +157 -0
- package/dist/Budgets-CB3NXYdu.mjs.map +1 -0
- package/dist/Goals-BHLELiU3.mjs +272 -0
- package/dist/Goals-BHLELiU3.mjs.map +1 -0
- package/dist/LeftImageContent-YH7WIO7j.mjs +50 -0
- package/dist/LeftImageContent-YH7WIO7j.mjs.map +1 -0
- package/dist/RightImageContent-CMyPBPRj.mjs +56 -0
- package/dist/RightImageContent-CMyPBPRj.mjs.map +1 -0
- package/dist/common/types/localization/HelpCopy.d.ts +25 -0
- package/dist/index.es.js +207 -195
- package/dist/index.es.js.map +1 -1
- package/package.json +1 -1
package/dist/index.es.js
CHANGED
|
@@ -290,7 +290,7 @@ const ic = async (e, A, n = "1.0.0", a = "Experiences") => {
|
|
|
290
290
|
TRENDS_HOVER_POINT: "trends_widget_hover_chart_point",
|
|
291
291
|
TRENDS_VIEW_TRANSACTIONS: "trends_widget_view_transactions",
|
|
292
292
|
WIDGET_BACK_CLICK: "widget_back_button_click"
|
|
293
|
-
}, sc = "do",
|
|
293
|
+
}, sc = "do", G8 = "MMM do, yyyy", $ = {
|
|
294
294
|
TIME_STAMP_HOUR_MINUTE: {
|
|
295
295
|
hour: "numeric",
|
|
296
296
|
minute: "numeric"
|
|
@@ -375,7 +375,7 @@ const lc = [
|
|
|
375
375
|
/* IMPAIRED */
|
|
376
376
|
], po = [...Co, ...mo];
|
|
377
377
|
var st = /* @__PURE__ */ ((e) => (e.Connected = "Connected", e.Error = "Error", e.Processing = "Processing", e.RequiresMfa = "RequiresMfa", e))(st || {});
|
|
378
|
-
const
|
|
378
|
+
const U8 = {
|
|
379
379
|
3: "Challenged",
|
|
380
380
|
12: "Closed",
|
|
381
381
|
9: "Degraded",
|
|
@@ -425,7 +425,7 @@ const G8 = {
|
|
|
425
425
|
2: "savings"
|
|
426
426
|
}, dc = {
|
|
427
427
|
5: "bid_landscape"
|
|
428
|
-
},
|
|
428
|
+
}, F8 = {
|
|
429
429
|
0: "Real Estate",
|
|
430
430
|
1: "Vehicle",
|
|
431
431
|
2: "Art",
|
|
@@ -765,7 +765,7 @@ const G8 = {
|
|
|
765
765
|
UNKNOWN: "help"
|
|
766
766
|
}, Va = 9999999999e-2;
|
|
767
767
|
var nn = /* @__PURE__ */ ((e) => (e.CAD = "CAD", e.USD = "USD", e))(nn || {}), G = /* @__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))(G || {});
|
|
768
|
-
const
|
|
768
|
+
const j8 = [
|
|
769
769
|
{ id: 0, copy: "frequency_unknown" },
|
|
770
770
|
{ id: 1, copy: "frequency_every_week" },
|
|
771
771
|
{ id: 2, copy: "frequency_every_other_week" },
|
|
@@ -774,7 +774,7 @@ const F8 = [
|
|
|
774
774
|
{ id: 5, copy: "frequency_every_quarter" },
|
|
775
775
|
{ id: 6, copy: "frequency_every_other_quarter" },
|
|
776
776
|
{ id: 7, copy: "frequency_every_year" }
|
|
777
|
-
],
|
|
777
|
+
], Q8 = {
|
|
778
778
|
ERROR: "ERROR",
|
|
779
779
|
LOADING: "LOADING",
|
|
780
780
|
SUCCESS: "SUCCESS"
|
|
@@ -786,7 +786,7 @@ const Tt = 44, Ya = (e, A) => e.find((n) => n.guid === A), pc = (e, A) => e.find
|
|
|
786
786
|
const n = e.find((a) => a.subCategories.find((r) => r.guid === A));
|
|
787
787
|
if (n)
|
|
788
788
|
return n.subCategories.find((a) => a.guid === A);
|
|
789
|
-
},
|
|
789
|
+
}, X8 = (e, A) => {
|
|
790
790
|
const n = [];
|
|
791
791
|
for (const a of A) {
|
|
792
792
|
const r = Ya(e, a.category_guid);
|
|
@@ -807,7 +807,7 @@ const Tt = 44, Ya = (e, A) => e.find((n) => n.guid === A), pc = (e, A) => e.find
|
|
|
807
807
|
});
|
|
808
808
|
}
|
|
809
809
|
return n;
|
|
810
|
-
},
|
|
810
|
+
}, W8 = (e, A) => {
|
|
811
811
|
const n = e.find((a) => a.guid === A);
|
|
812
812
|
return n ? n.guid === b.INCOME || n.parent_guid === b.INCOME : !1;
|
|
813
813
|
}, vc = /(?<static>.*?)(?<dynamic>(?:_\d+{(?:.*?)}))|(?<staticEnd>.+)/g, P = (e, ...A) => {
|
|
@@ -830,7 +830,7 @@ const Tt = 44, Ya = (e, A) => e.find((n) => n.guid === A), pc = (e, A) => e.find
|
|
|
830
830
|
[]
|
|
831
831
|
);
|
|
832
832
|
return n ? r : r.join("");
|
|
833
|
-
},
|
|
833
|
+
}, V8 = (e, A, n, ...a) => !e || !A ? "" : P(n === 1 ? e : A, ...a), At = () => (window?.app?.options?.language || document.querySelector("html")?.getAttribute("lang") || "en-US").toLowerCase();
|
|
834
834
|
class Ve {
|
|
835
835
|
endpoint = "/";
|
|
836
836
|
headers = {};
|
|
@@ -1014,7 +1014,7 @@ class rn {
|
|
|
1014
1014
|
}
|
|
1015
1015
|
getGlobalCopy = async (A, n) => this.fetchInstance.post(`${M.LOCALIZED_CONTENT}/${A}`, { translation_key: n }).then((a) => a);
|
|
1016
1016
|
}
|
|
1017
|
-
class
|
|
1017
|
+
class Y8 {
|
|
1018
1018
|
fetchInstance;
|
|
1019
1019
|
constructor(A, n) {
|
|
1020
1020
|
this.fetchInstance = new Ve(A, n);
|
|
@@ -1298,7 +1298,7 @@ const Oc = (e, A) => {
|
|
|
1298
1298
|
isSmallTablet: Yt(be().breakpoints.between("md", "lg")),
|
|
1299
1299
|
// Between 768 and 1200
|
|
1300
1300
|
isTablet: Yt(be().breakpoints.between("md", "xl"))
|
|
1301
|
-
}),
|
|
1301
|
+
}), J8 = (e) => {
|
|
1302
1302
|
const A = Yr();
|
|
1303
1303
|
return $A(() => {
|
|
1304
1304
|
A.current = e;
|
|
@@ -1568,7 +1568,7 @@ const Oc = (e, A) => {
|
|
|
1568
1568
|
}), Hc = (e, A) => e + A, Bc = (e, A) => Math.abs(A) > e ? Math.abs(A) : e, Kc = (e, A) => [...e, A.value], ar = (e, A, n) => {
|
|
1569
1569
|
const a = e && A ? n / 2 : n;
|
|
1570
1570
|
return e ? a : 0;
|
|
1571
|
-
}, qc = (e, A, n, a) => e / (A < 0 ? -n : A) * a || 0,
|
|
1571
|
+
}, qc = (e, A, n, a) => e / (A < 0 ? -n : A) * a || 0, Z8 = ({
|
|
1572
1572
|
average: e,
|
|
1573
1573
|
barWidth: A = "8%",
|
|
1574
1574
|
color: n,
|
|
@@ -2099,7 +2099,7 @@ const Qc = ({
|
|
|
2099
2099
|
}
|
|
2100
2100
|
)
|
|
2101
2101
|
] });
|
|
2102
|
-
}, lt = g.createContext(null),
|
|
2102
|
+
}, lt = g.createContext(null), $8 = ({
|
|
2103
2103
|
children: e,
|
|
2104
2104
|
globalStore: A,
|
|
2105
2105
|
onEvent: n,
|
|
@@ -2130,7 +2130,7 @@ const Qc = ({
|
|
|
2130
2130
|
if (!A)
|
|
2131
2131
|
throw new Error(`${e}() must be used within the GlobalDataContext`);
|
|
2132
2132
|
return A;
|
|
2133
|
-
}, pe = () => Ge("useAccountStore").globalStore.accountStore, Ue = () => Ge("useBudgetsStore").globalStore.budgetsStore, ma = () => Ge("useCashflowStore").globalStore.cashflowStore, xe = () => Ge("useCategoryStore").globalStore.categoryStore, Lo = () => Ge("useConnectStore").globalStore.connectStore, Do = () => Ge("useDebtsStore").globalStore.debtsStore, bn = () => Ge("useGlobalStore").globalStore, fe = () => Ge("useGlobalUiStore").globalStore.globalUiStore, _ = () => Ge("globalCopyStore").globalStore.copyStore.copy, Qe = () => Ge("useGoalStore").globalStore.goalStore, tl = () => Ge("useHelpStore").globalStore.helpStore, nl = () => Ge("useMerchantStore").globalStore.merchantStore, al = () => Ge("useNetWorthStore").globalStore.netWorthStore, Oo = () => Ge("useNotificationStore").globalStore.notificationStore, ze = () => Ge("useRecurringActivityStore").globalStore.recurringActivityStore, me = () => Ge("useTransactionStore").globalStore.transactionStore, Et = () => Ge("useUserStore").globalStore.userStore, j = () => ({ onEvent: Ge().onEvent }),
|
|
2133
|
+
}, pe = () => Ge("useAccountStore").globalStore.accountStore, Ue = () => Ge("useBudgetsStore").globalStore.budgetsStore, ma = () => Ge("useCashflowStore").globalStore.cashflowStore, xe = () => Ge("useCategoryStore").globalStore.categoryStore, Lo = () => Ge("useConnectStore").globalStore.connectStore, Do = () => Ge("useDebtsStore").globalStore.debtsStore, bn = () => Ge("useGlobalStore").globalStore, fe = () => Ge("useGlobalUiStore").globalStore.globalUiStore, _ = () => Ge("globalCopyStore").globalStore.copyStore.copy, Qe = () => Ge("useGoalStore").globalStore.goalStore, tl = () => Ge("useHelpStore").globalStore.helpStore, nl = () => Ge("useMerchantStore").globalStore.merchantStore, al = () => Ge("useNetWorthStore").globalStore.netWorthStore, Oo = () => Ge("useNotificationStore").globalStore.notificationStore, ze = () => Ge("useRecurringActivityStore").globalStore.recurringActivityStore, me = () => Ge("useTransactionStore").globalStore.transactionStore, Et = () => Ge("useUserStore").globalStore.userStore, j = () => ({ onEvent: Ge().onEvent }), e3 = () => ({ onPageView: Ge().onPageView }), rl = (e = "useWidgetContainerContext") => {
|
|
2134
2134
|
const A = g.useContext(To);
|
|
2135
2135
|
if (!A)
|
|
2136
2136
|
throw new Error(`${e}() must be used within the WidgetContainerContext`);
|
|
@@ -2917,7 +2917,7 @@ const Qc = ({
|
|
|
2917
2917
|
}
|
|
2918
2918
|
)
|
|
2919
2919
|
] });
|
|
2920
|
-
},
|
|
2920
|
+
}, A3 = ({
|
|
2921
2921
|
hasGap: e = !1,
|
|
2922
2922
|
segments: A,
|
|
2923
2923
|
size: n = vo,
|
|
@@ -3391,7 +3391,7 @@ const or = "connect_widget", ir = "connections_widget", Cl = ({
|
|
|
3391
3391
|
/* @__PURE__ */ t(na, { size: A }),
|
|
3392
3392
|
e && /* @__PURE__ */ t(p, { children: e })
|
|
3393
3393
|
] });
|
|
3394
|
-
},
|
|
3394
|
+
}, t3 = ({
|
|
3395
3395
|
icon: e,
|
|
3396
3396
|
label: A,
|
|
3397
3397
|
onClick: n,
|
|
@@ -4091,7 +4091,7 @@ const bt = () => {
|
|
|
4091
4091
|
children: /* @__PURE__ */ t(Dl, { onAddIncomeClick: e })
|
|
4092
4092
|
}
|
|
4093
4093
|
);
|
|
4094
|
-
},
|
|
4094
|
+
}, n3 = w(Ol);
|
|
4095
4095
|
class hr {
|
|
4096
4096
|
fetchInstance;
|
|
4097
4097
|
constructor(A, n) {
|
|
@@ -7100,7 +7100,7 @@ const qo = ({ transaction: e }) => {
|
|
|
7100
7100
|
]
|
|
7101
7101
|
}
|
|
7102
7102
|
);
|
|
7103
|
-
},
|
|
7103
|
+
}, o3 = w(du), Fo = (e, A) => {
|
|
7104
7104
|
const n = {
|
|
7105
7105
|
...A,
|
|
7106
7106
|
repeat_day: null,
|
|
@@ -8401,7 +8401,7 @@ const qo = ({ transaction: e }) => {
|
|
|
8401
8401
|
]
|
|
8402
8402
|
}
|
|
8403
8403
|
);
|
|
8404
|
-
},
|
|
8404
|
+
}, i3 = w(Fu), ju = () => {
|
|
8405
8405
|
const { recurring: e } = _(), { selectedAccountGuids: A } = fe(), { selectedDay: n, selectedDayActivities: a, setSelectedDay: r, upcomingActivities: o } = ze(), i = g.useMemo(
|
|
8406
8406
|
() => o.filter(
|
|
8407
8407
|
(d) => A.includes(d.accountGuid || "")
|
|
@@ -8444,7 +8444,7 @@ const qo = ({ transaction: e }) => {
|
|
|
8444
8444
|
children: /* @__PURE__ */ t(Qu, {})
|
|
8445
8445
|
}
|
|
8446
8446
|
);
|
|
8447
|
-
},
|
|
8447
|
+
}, s3 = w(Xu);
|
|
8448
8448
|
class Wu {
|
|
8449
8449
|
globalStore;
|
|
8450
8450
|
api = new $a("/", "");
|
|
@@ -9672,7 +9672,7 @@ const ah = ({ activity: e }) => /* @__PURE__ */ l(J, { children: [
|
|
|
9672
9672
|
children: /* @__PURE__ */ t(bh, {})
|
|
9673
9673
|
}
|
|
9674
9674
|
);
|
|
9675
|
-
},
|
|
9675
|
+
}, c3 = w(wh);
|
|
9676
9676
|
class Dr {
|
|
9677
9677
|
fetchInstance;
|
|
9678
9678
|
constructor(A, n) {
|
|
@@ -11284,7 +11284,7 @@ const WA = (e) => /* @__PURE__ */ t(p, { fontWeight: 600, variant: "Small", chil
|
|
|
11284
11284
|
]
|
|
11285
11285
|
}
|
|
11286
11286
|
);
|
|
11287
|
-
},
|
|
11287
|
+
}, d3 = w(fg), vg = {
|
|
11288
11288
|
unnamed_label: "Unnamed Debt"
|
|
11289
11289
|
};
|
|
11290
11290
|
function yg(e, A) {
|
|
@@ -12264,7 +12264,7 @@ const si = w(
|
|
|
12264
12264
|
}
|
|
12265
12265
|
)
|
|
12266
12266
|
] });
|
|
12267
|
-
}),
|
|
12267
|
+
}), u3 = w(({ onBackClick: e, sx: A }) => {
|
|
12268
12268
|
const { onEvent: n } = j(), { isMobile: a } = Oe(), { accounts: r } = pe(), { isInitialized: o, setSelectedAccounts: i } = fe(), { goals: s, common: c } = _(), { alert: d, loadGoals: u, monthlyCashFlowProfile: h, setAlert: m } = Qe(), [C, f] = g.useState(0), [y, v] = g.useState(!1), S = h?.amount_allocated_for_savings_goals || 0, L = h?.amount_allocated_for_debt_goals || 0, I = h?.amount_allocated_for_retirement_goals || 0, T = P(
|
|
12269
12269
|
a ? s.tab_subtitle_mobile : s.tab_subtitle,
|
|
12270
12270
|
R(S, "0,0")
|
|
@@ -12817,7 +12817,7 @@ const Qg = /^[ a-zA-ZÀ-ÿ0-9]+$/, Xg = 50, Pr = 65, Wg = ({
|
|
|
12817
12817
|
!a.length && /* @__PURE__ */ t(E, { alignItems: "center", my: 24, children: /* @__PURE__ */ t(p, { bold: !0, color: "secondary", variant: "Small", children: o.search_zero_state }) })
|
|
12818
12818
|
] }) }) })
|
|
12819
12819
|
] });
|
|
12820
|
-
},
|
|
12820
|
+
}, h3 = w(Wg);
|
|
12821
12821
|
class Nr {
|
|
12822
12822
|
fetchInstance;
|
|
12823
12823
|
constructor(A, n) {
|
|
@@ -13305,7 +13305,7 @@ const a1 = ({
|
|
|
13305
13305
|
] }))
|
|
13306
13306
|
] })
|
|
13307
13307
|
] });
|
|
13308
|
-
}, p1 = w(C1),
|
|
13308
|
+
}, p1 = w(C1), g3 = w(({ onBackClick: e }) => {
|
|
13309
13309
|
const { isInitialized: A, selectedAccounts: n, setSelectedAccounts: a } = fe(), { net_worth: r } = _(), { accounts: o } = pe(), {
|
|
13310
13310
|
assetsLiabilities: i,
|
|
13311
13311
|
gainsLosses: s,
|
|
@@ -13400,7 +13400,7 @@ const a1 = ({
|
|
|
13400
13400
|
] })
|
|
13401
13401
|
}
|
|
13402
13402
|
) : /* @__PURE__ */ t(je, {});
|
|
13403
|
-
}),
|
|
13403
|
+
}), m3 = (e) => {
|
|
13404
13404
|
switch (e) {
|
|
13405
13405
|
case 1:
|
|
13406
13406
|
case 2:
|
|
@@ -13533,7 +13533,7 @@ const y1 = (e, A) => {
|
|
|
13533
13533
|
] }, i.guid);
|
|
13534
13534
|
})
|
|
13535
13535
|
] });
|
|
13536
|
-
},
|
|
13536
|
+
}, C3 = w(S1);
|
|
13537
13537
|
class T1 {
|
|
13538
13538
|
globalStore;
|
|
13539
13539
|
userFeatures = [];
|
|
@@ -13577,7 +13577,7 @@ class T1 {
|
|
|
13577
13577
|
}
|
|
13578
13578
|
};
|
|
13579
13579
|
}
|
|
13580
|
-
class
|
|
13580
|
+
class p3 {
|
|
13581
13581
|
accountStore;
|
|
13582
13582
|
appDataStore;
|
|
13583
13583
|
beatStore;
|
|
@@ -14388,7 +14388,7 @@ const zn = ({
|
|
|
14388
14388
|
] })
|
|
14389
14389
|
}
|
|
14390
14390
|
);
|
|
14391
|
-
},
|
|
14391
|
+
}, f3 = w(X1), W1 = (e, A) => e.filter((n) => A.includes(n.guid)).slice(0, 3), V1 = ({ onPrimaryCtaClick: e, sx: A }) => {
|
|
14392
14392
|
const { accounts: n } = pe(), { accounts: a } = _(), { selectedAccountGuids: r } = fe(), [o, i] = g.useState(n);
|
|
14393
14393
|
return g.useEffect(() => {
|
|
14394
14394
|
i(W1(n, r));
|
|
@@ -14419,7 +14419,7 @@ const zn = ({
|
|
|
14419
14419
|
] })
|
|
14420
14420
|
}
|
|
14421
14421
|
);
|
|
14422
|
-
},
|
|
14422
|
+
}, v3 = w(V1), Y1 = () => /* @__PURE__ */ l(
|
|
14423
14423
|
"svg",
|
|
14424
14424
|
{
|
|
14425
14425
|
fill: "none",
|
|
@@ -14901,7 +14901,7 @@ const zn = ({
|
|
|
14901
14901
|
}
|
|
14902
14902
|
)
|
|
14903
14903
|
] });
|
|
14904
|
-
},
|
|
14904
|
+
}, y3 = w($1);
|
|
14905
14905
|
class Br {
|
|
14906
14906
|
fetchInstance;
|
|
14907
14907
|
constructor(A, n) {
|
|
@@ -15293,7 +15293,7 @@ const hm = ({
|
|
|
15293
15293
|
] })
|
|
15294
15294
|
}
|
|
15295
15295
|
);
|
|
15296
|
-
},
|
|
15296
|
+
}, E3 = w(Cm), pm = ({ budget: e, onClick: A }) => {
|
|
15297
15297
|
const {
|
|
15298
15298
|
amount: n,
|
|
15299
15299
|
budgetColors: { background: a, description: r },
|
|
@@ -15858,7 +15858,7 @@ const hm = ({
|
|
|
15858
15858
|
}
|
|
15859
15859
|
)
|
|
15860
15860
|
] });
|
|
15861
|
-
}), kr = 480,
|
|
15861
|
+
}), kr = 480, b3 = w(({ onBackClick: e, sx: A }) => {
|
|
15862
15862
|
const n = be(), { onEvent: a } = j(), { accounts: r } = pe(), { budgets: o, common: i } = _(), { isInitialized: s, selectedAccounts: c, setDisplayedDate: d, setSelectedAccounts: u } = fe(), { alert: h, dateRange: m, loadBudgets: C, setDateRange: f, setAlert: y, setTheme: v } = Ue(), { loadCashflowSequences: S } = ze(), { isDesktop: L, isTablet: I } = Oe(), { reloadCategoryTotals: T } = xe(), [D, x] = g.useState(!1), [O, B] = g.useState(!1);
|
|
15863
15863
|
g.useEffect(() => {
|
|
15864
15864
|
v(n), u(r), d(m.start, m.end), a(q.BUDGETS_VIEW);
|
|
@@ -16012,10 +16012,22 @@ const xm = () => {
|
|
|
16012
16012
|
/* @__PURE__ */ t(zA, { height: 300, variant: "rounded", width: "100%" })
|
|
16013
16013
|
] }) : /* @__PURE__ */ t(E, { direction: "column", spacing: 24, children: d.map((u) => /* @__PURE__ */ t(g.Fragment, { children: u.component }, u.index)) }) })
|
|
16014
16014
|
] });
|
|
16015
|
-
},
|
|
16015
|
+
}, w3 = w(Nm), Mm = (e, A, n) => {
|
|
16016
|
+
const a = e[A];
|
|
16017
|
+
return a ? typeof a == "function" ? a() : Promise.resolve(a) : new Promise((r, o) => {
|
|
16018
|
+
(typeof queueMicrotask == "function" ? queueMicrotask : setTimeout)(
|
|
16019
|
+
o.bind(
|
|
16020
|
+
null,
|
|
16021
|
+
new Error(
|
|
16022
|
+
"Unknown variable dynamic import: " + A + (A.split("/").length !== n ? ". Note that variables only represent file names one level deep." : "")
|
|
16023
|
+
)
|
|
16024
|
+
)
|
|
16025
|
+
);
|
|
16026
|
+
});
|
|
16027
|
+
}, Rm = {
|
|
16016
16028
|
text: "Oops! Something went wrong."
|
|
16017
16029
|
};
|
|
16018
|
-
class
|
|
16030
|
+
class Hm extends g.Component {
|
|
16019
16031
|
state = {
|
|
16020
16032
|
hasError: !1
|
|
16021
16033
|
};
|
|
@@ -16026,12 +16038,12 @@ class Rm extends g.Component {
|
|
|
16026
16038
|
return { hasError: !0 };
|
|
16027
16039
|
}
|
|
16028
16040
|
render() {
|
|
16029
|
-
return this.state.hasError ? /* @__PURE__ */ t(xA, { sx: { pt: 24 }, children:
|
|
16041
|
+
return this.state.hasError ? /* @__PURE__ */ t(xA, { sx: { pt: 24 }, children: Rm.text }) : this.props.children;
|
|
16030
16042
|
}
|
|
16031
16043
|
}
|
|
16032
|
-
const
|
|
16044
|
+
const Bm = {
|
|
16033
16045
|
request_button: "Request Support"
|
|
16034
|
-
},
|
|
16046
|
+
}, Km = ({
|
|
16035
16047
|
hasRequestButton: e,
|
|
16036
16048
|
onNavigateToList: A,
|
|
16037
16049
|
title: n,
|
|
@@ -16071,21 +16083,21 @@ const Hm = {
|
|
|
16071
16083
|
mt: { xs: 24, sm: 0 }
|
|
16072
16084
|
},
|
|
16073
16085
|
xs: 12,
|
|
16074
|
-
children: /* @__PURE__ */ t(oe, { variant: "contained", children:
|
|
16086
|
+
children: /* @__PURE__ */ t(oe, { variant: "contained", children: Bm.request_button })
|
|
16075
16087
|
}
|
|
16076
16088
|
)
|
|
16077
|
-
] }),
|
|
16089
|
+
] }), qm = ({
|
|
16078
16090
|
hasRequestButton: e = !1,
|
|
16079
16091
|
onNavigateToList: A,
|
|
16080
16092
|
topicInfo: { category: n, pageTitle: a, topicKey: r }
|
|
16081
16093
|
}) => {
|
|
16082
16094
|
const o = g.useMemo(
|
|
16083
|
-
() => g.lazy(() => import(`./components/content/section/${n.replace(" ", "")}
|
|
16095
|
+
() => g.lazy(() => Mm(/* @__PURE__ */ Object.assign({ "./components/content/section/Accounts.tsx": () => import("./Accounts-uFmWlTS2.mjs"), "./components/content/section/Budgets.tsx": () => import("./Budgets-CB3NXYdu.mjs"), "./components/content/section/Goals.tsx": () => import("./Goals-BHLELiU3.mjs") }), `./components/content/section/${n.replace(" ", "")}.tsx`, 5)),
|
|
16084
16096
|
[n]
|
|
16085
16097
|
);
|
|
16086
16098
|
return /* @__PURE__ */ l(J, { children: [
|
|
16087
16099
|
/* @__PURE__ */ t(
|
|
16088
|
-
|
|
16100
|
+
Km,
|
|
16089
16101
|
{
|
|
16090
16102
|
hasRequestButton: e,
|
|
16091
16103
|
onNavigateToList: A,
|
|
@@ -16094,9 +16106,9 @@ const Hm = {
|
|
|
16094
16106
|
}
|
|
16095
16107
|
),
|
|
16096
16108
|
/* @__PURE__ */ t(PA, { color: "text.primary", sx: { mt: 24, whiteSpace: { sm: "nowrap", xs: "wrap" } }, children: a }),
|
|
16097
|
-
/* @__PURE__ */ t(
|
|
16109
|
+
/* @__PURE__ */ t(Hm, { children: /* @__PURE__ */ t(g.Suspense, { fallback: /* @__PURE__ */ t(je, {}), children: /* @__PURE__ */ t(o, { topicKey: r }) }) })
|
|
16098
16110
|
] });
|
|
16099
|
-
},
|
|
16111
|
+
}, zm = ({
|
|
16100
16112
|
buttonText: e,
|
|
16101
16113
|
hasRequestButton: A = !1,
|
|
16102
16114
|
helpCategories: n = [],
|
|
@@ -16200,7 +16212,7 @@ const Hm = {
|
|
|
16200
16212
|
button_text: "Request Help",
|
|
16201
16213
|
help_content: "Find answers, get support, and learn how to make the most of your experience.",
|
|
16202
16214
|
help_title: "Help Tool"
|
|
16203
|
-
},
|
|
16215
|
+
}, km = ({ sx: e }) => {
|
|
16204
16216
|
const [A, n] = g.useState(null), { isInitialized: a } = bn(), { appConfig: r, helpCategories: o, loadAppConfig: i } = tl(), s = window.app?.config;
|
|
16205
16217
|
g.useEffect(() => {
|
|
16206
16218
|
!a || !s || i(s);
|
|
@@ -16208,14 +16220,14 @@ const Hm = {
|
|
|
16208
16220
|
const c = () => {
|
|
16209
16221
|
}, d = (u) => n(u);
|
|
16210
16222
|
return !a || !r ? /* @__PURE__ */ t(je, {}) : /* @__PURE__ */ t(CA, { sx: e, children: A ? /* @__PURE__ */ t(
|
|
16211
|
-
|
|
16223
|
+
qm,
|
|
16212
16224
|
{
|
|
16213
16225
|
hasRequestButton: s?.enable_support_requests,
|
|
16214
16226
|
onNavigateToList: () => n(null),
|
|
16215
16227
|
topicInfo: A
|
|
16216
16228
|
}
|
|
16217
16229
|
) : /* @__PURE__ */ t(
|
|
16218
|
-
|
|
16230
|
+
zm,
|
|
16219
16231
|
{
|
|
16220
16232
|
buttonText: Gn.button_text,
|
|
16221
16233
|
hasRequestButton: s?.enable_support_requests,
|
|
@@ -16226,8 +16238,8 @@ const Hm = {
|
|
|
16226
16238
|
onTopicSelect: d
|
|
16227
16239
|
}
|
|
16228
16240
|
) });
|
|
16229
|
-
},
|
|
16230
|
-
class
|
|
16241
|
+
}, _3 = w(km);
|
|
16242
|
+
class Gm {
|
|
16231
16243
|
copyApi = new rn("/", "");
|
|
16232
16244
|
copyObject = {};
|
|
16233
16245
|
namespace = "experiences";
|
|
@@ -16273,7 +16285,7 @@ const xa = {
|
|
|
16273
16285
|
MonthlySpendToIncomeComparison: "MonthlySpendToIncomeComparison"
|
|
16274
16286
|
}, uA = window?.app?.clientConfig?.microwidget_instance_id || "", Gr = {
|
|
16275
16287
|
INSIGHTS_MICRO_WIDGET: "/micro-insights-carousel"
|
|
16276
|
-
}, Ci = (e) => `on${e}Click`, pi = (e) => `on${e}View`, fi = (e) => `on${e}ViewFirstTime`, Pa = (e) => e.replace(/([a-z])([A-Z])/g, "$1 $2"),
|
|
16288
|
+
}, Ci = (e) => `on${e}Click`, pi = (e) => `on${e}View`, fi = (e) => `on${e}ViewFirstTime`, Pa = (e) => e.replace(/([a-z])([A-Z])/g, "$1 $2"), Um = () => Object.values(xa).reduce(
|
|
16277
16289
|
(e, A) => ({
|
|
16278
16290
|
...e,
|
|
16279
16291
|
[Ci(A)]: {
|
|
@@ -16284,7 +16296,7 @@ const xa = {
|
|
|
16284
16296
|
}
|
|
16285
16297
|
}),
|
|
16286
16298
|
{}
|
|
16287
|
-
),
|
|
16299
|
+
), Fm = () => Object.values(xa).reduce(
|
|
16288
16300
|
(e, A) => ({
|
|
16289
16301
|
...e,
|
|
16290
16302
|
[pi(A)]: {
|
|
@@ -16295,7 +16307,7 @@ const xa = {
|
|
|
16295
16307
|
}
|
|
16296
16308
|
}),
|
|
16297
16309
|
{}
|
|
16298
|
-
),
|
|
16310
|
+
), jm = () => Object.values(xa).reduce(
|
|
16299
16311
|
(e, A) => ({
|
|
16300
16312
|
...e,
|
|
16301
16313
|
[fi(A)]: {
|
|
@@ -16395,15 +16407,15 @@ const xa = {
|
|
|
16395
16407
|
label: kA.VIEW_MORE,
|
|
16396
16408
|
value: uA
|
|
16397
16409
|
},
|
|
16398
|
-
...Gm(),
|
|
16399
16410
|
...Um(),
|
|
16400
|
-
...Fm()
|
|
16411
|
+
...Fm(),
|
|
16412
|
+
...jm()
|
|
16401
16413
|
}, jr = async (e, A) => !A || !Fr[e] ? null : A.sendAnalyticEvent(Fr[e]).then((n) => n).catch((n) => {
|
|
16402
16414
|
throw n;
|
|
16403
16415
|
}), Qr = async (e, A) => !A || !Ur[e] ? null : A.sendAnalyticsPageview(Ur[e]).then((n) => n).catch((n) => {
|
|
16404
16416
|
throw n;
|
|
16405
16417
|
});
|
|
16406
|
-
class
|
|
16418
|
+
class Qm {
|
|
16407
16419
|
onAnalyticEvent = jr;
|
|
16408
16420
|
onAnalyticPageView = Qr;
|
|
16409
16421
|
beatApi = new ft("/", "");
|
|
@@ -16425,7 +16437,7 @@ class jm {
|
|
|
16425
16437
|
this.beatApi.updateBeat(A);
|
|
16426
16438
|
};
|
|
16427
16439
|
}
|
|
16428
|
-
class
|
|
16440
|
+
class Xm {
|
|
16429
16441
|
copyStore;
|
|
16430
16442
|
endpoint = "/";
|
|
16431
16443
|
insightsMicroWidgetStore;
|
|
@@ -16433,7 +16445,7 @@ class Qm {
|
|
|
16433
16445
|
token = "";
|
|
16434
16446
|
isInitialized = !1;
|
|
16435
16447
|
constructor() {
|
|
16436
|
-
this.copyStore = new
|
|
16448
|
+
this.copyStore = new Gm(), this.insightsMicroWidgetStore = new Qm(), Ie(this);
|
|
16437
16449
|
}
|
|
16438
16450
|
initialize = async (A, n, a) => {
|
|
16439
16451
|
await this.copyStore.initialize(A, n), await this.insightsMicroWidgetStore.initialize(A, n, a), this.session = await ic(A, n, "1.0.0", "Micro Insights Carousel"), W(() => {
|
|
@@ -16441,18 +16453,18 @@ class Qm {
|
|
|
16441
16453
|
});
|
|
16442
16454
|
};
|
|
16443
16455
|
}
|
|
16444
|
-
const Xt = g.createContext(null),
|
|
16456
|
+
const Xt = g.createContext(null), Wm = ({
|
|
16445
16457
|
onEvent: e,
|
|
16446
16458
|
onPageview: A,
|
|
16447
16459
|
store: n,
|
|
16448
16460
|
children: a
|
|
16449
|
-
}) => /* @__PURE__ */ t(Xt.Provider, { value: { onEvent: e, onPageview: A, store: n, children: a }, children: a }),
|
|
16461
|
+
}) => /* @__PURE__ */ t(Xt.Provider, { value: { onEvent: e, onPageview: A, store: n, children: a }, children: a }), Vm = ({ beat: e }) => {
|
|
16450
16462
|
const [A, n] = DA(b.UNCATEGORIZED);
|
|
16451
16463
|
return $A(() => {
|
|
16452
16464
|
e.primary_category_guid ? n(e.primary_category_guid) : e.category_guids?.length && n(e.category_guids[0]);
|
|
16453
16465
|
}, []), /* @__PURE__ */ t(iA, { categoryGuid: A, size: 16, sx: { minWidth: 16 } });
|
|
16454
|
-
},
|
|
16455
|
-
const A = qe(), n =
|
|
16466
|
+
}, Ym = ({ beat: e }) => {
|
|
16467
|
+
const A = qe(), n = Jm(A);
|
|
16456
16468
|
return /* @__PURE__ */ t(
|
|
16457
16469
|
tt,
|
|
16458
16470
|
{
|
|
@@ -16462,12 +16474,12 @@ const Xt = g.createContext(null), Xm = ({
|
|
|
16462
16474
|
size: 16
|
|
16463
16475
|
}
|
|
16464
16476
|
);
|
|
16465
|
-
},
|
|
16477
|
+
}, Jm = (e) => aA({
|
|
16466
16478
|
marginTop: e.Spacing.XTiny,
|
|
16467
16479
|
"& .kyper-categoryicon": {
|
|
16468
16480
|
display: "flex"
|
|
16469
16481
|
}
|
|
16470
|
-
}),
|
|
16482
|
+
}), Zm = w(Ym), $m = ({
|
|
16471
16483
|
color: e = "currentColor",
|
|
16472
16484
|
height: A,
|
|
16473
16485
|
size: n = 16,
|
|
@@ -16493,16 +16505,16 @@ const Xt = g.createContext(null), Xm = ({
|
|
|
16493
16505
|
}
|
|
16494
16506
|
)
|
|
16495
16507
|
}
|
|
16496
|
-
),
|
|
16508
|
+
), eC = (e) => e ? e.data ? e.data.map((A) => {
|
|
16497
16509
|
const n = {};
|
|
16498
16510
|
return e.names?.map((a, r) => {
|
|
16499
16511
|
n[a] = A[r];
|
|
16500
16512
|
}), n;
|
|
16501
|
-
}) : [] : [],
|
|
16502
|
-
const n =
|
|
16513
|
+
}) : [] : [], AC = (e, A) => {
|
|
16514
|
+
const n = eC(e), a = n.length / 2, r = n.slice(0, a), o = n.slice(a);
|
|
16503
16515
|
return !r.length || !o.length ? A.Color.Primary300 : r[0].amount > o[0].amount ? A.Color.Error300 : r[0].amount < o[0].amount ? A.Color.Success300 : A.Color.Primary300;
|
|
16504
|
-
},
|
|
16505
|
-
const A = qe(), n =
|
|
16516
|
+
}, tC = ({ beat: e }) => {
|
|
16517
|
+
const A = qe(), n = AC(e.data_series, A);
|
|
16506
16518
|
return /* @__PURE__ */ t(H, { name: "bar_chart", sx: { color: n } });
|
|
16507
16519
|
}, yi = () => /* @__PURE__ */ l("svg", { fill: "none", height: "36", viewBox: "0 0 40 36", width: "40", xmlns: "http://www.w3.org/2000/svg", children: [
|
|
16508
16520
|
/* @__PURE__ */ t(
|
|
@@ -17287,7 +17299,7 @@ const Xt = g.createContext(null), Xm = ({
|
|
|
17287
17299
|
] })
|
|
17288
17300
|
] }), Xr = ({ beat: e, clientColorScheme: A, color: n, type: a }) => {
|
|
17289
17301
|
const r = be(), o = A?.primary_300 ? A.primary_300 : r.palette.primary.main;
|
|
17290
|
-
return a === 0 ? /* @__PURE__ */ t(H, { fill: !0, name: "error", sx: { color: n || o } }) : a === 1 && e ? /* @__PURE__ */ t(
|
|
17302
|
+
return a === 0 ? /* @__PURE__ */ t(H, { fill: !0, name: "error", sx: { color: n || o } }) : a === 1 && e ? /* @__PURE__ */ t(Vm, { beat: e }) : a === 2 && e ? /* @__PURE__ */ t(Zm, { beat: e }) : a === 3 && e ? /* @__PURE__ */ t(tC, { beat: e }) : /* @__PURE__ */ t(
|
|
17291
17303
|
H,
|
|
17292
17304
|
{
|
|
17293
17305
|
fill: !0,
|
|
@@ -17302,12 +17314,12 @@ const Xt = g.createContext(null), Xm = ({
|
|
|
17302
17314
|
STANDARD: 154,
|
|
17303
17315
|
XLARGE: 200,
|
|
17304
17316
|
XXLARGE: 248
|
|
17305
|
-
},
|
|
17317
|
+
}, nC = 50, bi = 1, ot = () => {
|
|
17306
17318
|
const e = g.useContext(Xt);
|
|
17307
17319
|
if (!e)
|
|
17308
17320
|
throw new Error("useCopyStore() must be used within the InsightsMicroWidgetDataProvider");
|
|
17309
17321
|
return e.store.copyStore;
|
|
17310
|
-
},
|
|
17322
|
+
}, aC = () => {
|
|
17311
17323
|
const e = g.useContext(Xt);
|
|
17312
17324
|
if (!e?.store?.insightsMicroWidgetStore)
|
|
17313
17325
|
throw new Error(
|
|
@@ -17324,7 +17336,7 @@ const Xt = g.createContext(null), Xm = ({
|
|
|
17324
17336
|
if (!e)
|
|
17325
17337
|
throw new Error("usePageview() must be used within the InsightsMicroWidgetDataProvider");
|
|
17326
17338
|
return { onPageview: e.onPageview };
|
|
17327
|
-
},
|
|
17339
|
+
}, rC = ({
|
|
17328
17340
|
ariaLabel: e,
|
|
17329
17341
|
backgroundColor: A,
|
|
17330
17342
|
beat: n,
|
|
@@ -17341,7 +17353,7 @@ const Xt = g.createContext(null), Xm = ({
|
|
|
17341
17353
|
}) => {
|
|
17342
17354
|
const C = window.app?.config.client_guid, { ref: f, inView: y } = ho({
|
|
17343
17355
|
threshold: bi
|
|
17344
|
-
}), { cardsCopy: v } = ot(), { onEvent: S } = Wt(), { updateBeat: L } =
|
|
17356
|
+
}), { cardsCopy: v } = ot(), { onEvent: S } = Wt(), { updateBeat: L } = aC();
|
|
17345
17357
|
$A(() => {
|
|
17346
17358
|
y && (n.has_been_displayed ? S(pi(n.template)) : (L({
|
|
17347
17359
|
...n,
|
|
@@ -17391,7 +17403,7 @@ const Xt = g.createContext(null), Xm = ({
|
|
|
17391
17403
|
widthOverrides: m
|
|
17392
17404
|
}
|
|
17393
17405
|
);
|
|
17394
|
-
},
|
|
17406
|
+
}, oC = ({
|
|
17395
17407
|
clientColorScheme: e,
|
|
17396
17408
|
currentBeatIndex: A,
|
|
17397
17409
|
numBeats: n,
|
|
@@ -17400,7 +17412,7 @@ const Xt = g.createContext(null), Xm = ({
|
|
|
17400
17412
|
scrollRightBoundary: o,
|
|
17401
17413
|
scrollX: i
|
|
17402
17414
|
}) => {
|
|
17403
|
-
const s =
|
|
17415
|
+
const s = iC(), { carouselCopy: c } = ot(), d = Math.floor(i) > o || A === 0, u = i < 0 || n - 1 === A, h = "#BBBCBC", m = e?.primary_300 ? e?.primary_300 : "#2D64EF";
|
|
17404
17416
|
return /* @__PURE__ */ l(N, { className: s, children: [
|
|
17405
17417
|
/* @__PURE__ */ t(
|
|
17406
17418
|
ke,
|
|
@@ -17447,7 +17459,7 @@ const Xt = g.createContext(null), Xm = ({
|
|
|
17447
17459
|
}
|
|
17448
17460
|
)
|
|
17449
17461
|
] });
|
|
17450
|
-
},
|
|
17462
|
+
}, iC = () => aA({
|
|
17451
17463
|
alignItems: "center",
|
|
17452
17464
|
display: "flex",
|
|
17453
17465
|
justifyContent: "center",
|
|
@@ -17464,7 +17476,7 @@ const Xt = g.createContext(null), Xm = ({
|
|
|
17464
17476
|
// we were using `gap` instead of margin, but it doesn't work in safari browsers older than iOS 14.1
|
|
17465
17477
|
marginRight: 8
|
|
17466
17478
|
}
|
|
17467
|
-
}),
|
|
17479
|
+
}), sC = ({
|
|
17468
17480
|
beats: e = [],
|
|
17469
17481
|
clientColorScheme: A,
|
|
17470
17482
|
showCTAColocatedWithText: n,
|
|
@@ -17477,7 +17489,7 @@ const Xt = g.createContext(null), Xm = ({
|
|
|
17477
17489
|
variant: d,
|
|
17478
17490
|
widthOverrides: u
|
|
17479
17491
|
}) => {
|
|
17480
|
-
const h =
|
|
17492
|
+
const h = lC(a, c, u), m = g.useRef(null), [C, f] = g.useState(0), [y, v] = g.useState(null), [S, L] = g.useState(null), { carouselCopy: I } = ot(), { onEvent: T } = Wt(), D = () => {
|
|
17481
17493
|
T(hA.ON_CAROUSEL_FORWARD_CLICK), m.current && m.current.scrollTo({
|
|
17482
17494
|
left: (
|
|
17483
17495
|
// Adds the flex gap to the carousel ref's width
|
|
@@ -17496,7 +17508,7 @@ const Xt = g.createContext(null), Xm = ({
|
|
|
17496
17508
|
m.current && f(m.current.scrollLeft);
|
|
17497
17509
|
}, B = () => {
|
|
17498
17510
|
if (!S || !y) return;
|
|
17499
|
-
S - y >
|
|
17511
|
+
S - y > nC ? T(hA.ON_CAROUSEL_FORWARD_SWIPE) : T(hA.ON_CAROUSEL_BACK_SWIPE);
|
|
17500
17512
|
}, z = (ee) => {
|
|
17501
17513
|
v(ee.targetTouches[0].clientX);
|
|
17502
17514
|
}, Z = (ee) => {
|
|
@@ -17534,7 +17546,7 @@ const Xt = g.createContext(null), Xm = ({
|
|
|
17534
17546
|
ve.toString()
|
|
17535
17547
|
), lA = ee.micro_title && ee.micro_title.length > 0, HA = ee.micro_description && ee.micro_description.length > 0, ye = lA ? ee.micro_title : ee.title, Xe = HA ? ee.micro_description : ee.description;
|
|
17536
17548
|
return /* @__PURE__ */ t(
|
|
17537
|
-
|
|
17549
|
+
rC,
|
|
17538
17550
|
{
|
|
17539
17551
|
ariaLabel: `${Ye}: ${ye}, ${Xe}`,
|
|
17540
17552
|
beat: ee,
|
|
@@ -17548,7 +17560,7 @@ const Xt = g.createContext(null), Xm = ({
|
|
|
17548
17560
|
);
|
|
17549
17561
|
}),
|
|
17550
17562
|
/* @__PURE__ */ t(
|
|
17551
|
-
|
|
17563
|
+
yC,
|
|
17552
17564
|
{
|
|
17553
17565
|
isActiveCard: Y === e.length,
|
|
17554
17566
|
onCardClick: r,
|
|
@@ -17559,7 +17571,7 @@ const Xt = g.createContext(null), Xm = ({
|
|
|
17559
17571
|
}
|
|
17560
17572
|
),
|
|
17561
17573
|
i && /* @__PURE__ */ t(
|
|
17562
|
-
|
|
17574
|
+
oC,
|
|
17563
17575
|
{
|
|
17564
17576
|
clientColorScheme: A,
|
|
17565
17577
|
currentBeatIndex: Y,
|
|
@@ -17573,7 +17585,7 @@ const Xt = g.createContext(null), Xm = ({
|
|
|
17573
17585
|
]
|
|
17574
17586
|
}
|
|
17575
17587
|
);
|
|
17576
|
-
},
|
|
17588
|
+
}, cC = w(sC), lC = (e, A = !0, n) => aA({
|
|
17577
17589
|
alignItems: "center",
|
|
17578
17590
|
boxSizing: "border-box",
|
|
17579
17591
|
display: "flex",
|
|
@@ -17621,7 +17633,7 @@ const Xt = g.createContext(null), Xm = ({
|
|
|
17621
17633
|
g.useEffect(() => {
|
|
17622
17634
|
y && y <= 325 && L(3), y && y > 325 && L(2);
|
|
17623
17635
|
}, [y]);
|
|
17624
|
-
const { cardStyle: I, linkTextStyle: T } = h, D = f ? I : { border: "none", boxShadow: "none", ...I }, x =
|
|
17636
|
+
const { cardStyle: I, linkTextStyle: T } = h, D = f ? I : { border: "none", boxShadow: "none", ...I }, x = dC(
|
|
17625
17637
|
D,
|
|
17626
17638
|
r,
|
|
17627
17639
|
m,
|
|
@@ -17670,7 +17682,7 @@ const Xt = g.createContext(null), Xm = ({
|
|
|
17670
17682
|
}
|
|
17671
17683
|
);
|
|
17672
17684
|
}
|
|
17673
|
-
),
|
|
17685
|
+
), dC = (e, A, n, a, r, o) => aA({
|
|
17674
17686
|
height: "100%",
|
|
17675
17687
|
listStyleType: "none",
|
|
17676
17688
|
userSelect: "none",
|
|
@@ -17727,7 +17739,7 @@ const Xt = g.createContext(null), Xm = ({
|
|
|
17727
17739
|
// Needed to override padding for standard and first and last child conditions
|
|
17728
17740
|
padding: "0 !important"
|
|
17729
17741
|
}
|
|
17730
|
-
}),
|
|
17742
|
+
}), uC = ({
|
|
17731
17743
|
clientColorScheme: e,
|
|
17732
17744
|
onCardClick: A,
|
|
17733
17745
|
posthog: n,
|
|
@@ -17799,7 +17811,7 @@ const Xt = g.createContext(null), Xm = ({
|
|
|
17799
17811
|
]
|
|
17800
17812
|
}
|
|
17801
17813
|
);
|
|
17802
|
-
},
|
|
17814
|
+
}, hC = w(uC), gC = ({
|
|
17803
17815
|
heightOverrides: e,
|
|
17804
17816
|
widthOverrides: A,
|
|
17805
17817
|
children: n
|
|
@@ -17820,7 +17832,7 @@ const Xt = g.createContext(null), Xm = ({
|
|
|
17820
17832
|
children: n
|
|
17821
17833
|
}
|
|
17822
17834
|
);
|
|
17823
|
-
},
|
|
17835
|
+
}, mC = () => /* @__PURE__ */ t(
|
|
17824
17836
|
N,
|
|
17825
17837
|
{
|
|
17826
17838
|
sx: {
|
|
@@ -17832,7 +17844,7 @@ const Xt = g.createContext(null), Xm = ({
|
|
|
17832
17844
|
},
|
|
17833
17845
|
children: /* @__PURE__ */ t(na, {})
|
|
17834
17846
|
}
|
|
17835
|
-
), qA = new
|
|
17847
|
+
), qA = new Xm(), CC = ({
|
|
17836
17848
|
areBeatsLoading: e,
|
|
17837
17849
|
beats: A = [],
|
|
17838
17850
|
// This also determines the length of the carousel controls (beat.length + 1)
|
|
@@ -17887,10 +17899,10 @@ const Xt = g.createContext(null), Xm = ({
|
|
|
17887
17899
|
// The Theme provider must wrap the component so that the styles don't break when imported into other applications.
|
|
17888
17900
|
/* @__PURE__ */ l(Qi, { theme: Ni(S ? "dark" : "light"), children: [
|
|
17889
17901
|
/* @__PURE__ */ t(rc, {}),
|
|
17890
|
-
/* @__PURE__ */ t(
|
|
17891
|
-
(e || !qA.isInitialized) && /* @__PURE__ */ t(
|
|
17902
|
+
/* @__PURE__ */ t(Wm, { onEvent: z, onPageview: Z, store: qA, children: /* @__PURE__ */ l(gC, { heightOverrides: o, widthOverrides: T, children: [
|
|
17903
|
+
(e || !qA.isInitialized) && /* @__PURE__ */ t(mC, {}),
|
|
17892
17904
|
O && C && /* @__PURE__ */ t(
|
|
17893
|
-
|
|
17905
|
+
hC,
|
|
17894
17906
|
{
|
|
17895
17907
|
clientColorScheme: n,
|
|
17896
17908
|
onCardClick: s,
|
|
@@ -17899,7 +17911,7 @@ const Xt = g.createContext(null), Xm = ({
|
|
|
17899
17911
|
}
|
|
17900
17912
|
),
|
|
17901
17913
|
O && !!A.length && /* @__PURE__ */ t(
|
|
17902
|
-
|
|
17914
|
+
cC,
|
|
17903
17915
|
{
|
|
17904
17916
|
beats: A,
|
|
17905
17917
|
clientColorScheme: n,
|
|
@@ -17908,12 +17920,12 @@ const Xt = g.createContext(null), Xm = ({
|
|
|
17908
17920
|
...U
|
|
17909
17921
|
}
|
|
17910
17922
|
),
|
|
17911
|
-
O && !A.length && L && /* @__PURE__ */ t(
|
|
17912
|
-
O && !A.length && !L && /* @__PURE__ */ t(
|
|
17923
|
+
O && !A.length && L && /* @__PURE__ */ t(fC, { clientColorScheme: n, ...Y }),
|
|
17924
|
+
O && !A.length && !L && /* @__PURE__ */ t(bC, { ...Y })
|
|
17913
17925
|
] }) })
|
|
17914
17926
|
] })
|
|
17915
17927
|
);
|
|
17916
|
-
},
|
|
17928
|
+
}, S3 = w(CC), pC = ({
|
|
17917
17929
|
ariaLabel: e,
|
|
17918
17930
|
carouselSize: A,
|
|
17919
17931
|
clientColorScheme: n,
|
|
@@ -17966,7 +17978,7 @@ const Xt = g.createContext(null), Xm = ({
|
|
|
17966
17978
|
widthOverrides: d
|
|
17967
17979
|
}
|
|
17968
17980
|
);
|
|
17969
|
-
},
|
|
17981
|
+
}, fC = w(pC), vC = ({
|
|
17970
17982
|
isActiveCard: e,
|
|
17971
17983
|
ariaLabel: A,
|
|
17972
17984
|
clientColorScheme: n,
|
|
@@ -18003,7 +18015,7 @@ const Xt = g.createContext(null), Xm = ({
|
|
|
18003
18015
|
fontColors: { buttonColor: n?.primary_300 },
|
|
18004
18016
|
heightOverrides: a,
|
|
18005
18017
|
icon: /* @__PURE__ */ t(
|
|
18006
|
-
|
|
18018
|
+
$m,
|
|
18007
18019
|
{
|
|
18008
18020
|
color: n?.primary_300 ? n?.primary_300 : d.Color.Primary300
|
|
18009
18021
|
}
|
|
@@ -18017,7 +18029,7 @@ const Xt = g.createContext(null), Xm = ({
|
|
|
18017
18029
|
widthOverrides: c
|
|
18018
18030
|
}
|
|
18019
18031
|
);
|
|
18020
|
-
},
|
|
18032
|
+
}, yC = w(vC), EC = ({
|
|
18021
18033
|
ariaLabel: e,
|
|
18022
18034
|
carouselSize: A,
|
|
18023
18035
|
heightOverrides: n,
|
|
@@ -18056,7 +18068,7 @@ const Xt = g.createContext(null), Xm = ({
|
|
|
18056
18068
|
widthOverrides: s
|
|
18057
18069
|
}
|
|
18058
18070
|
);
|
|
18059
|
-
},
|
|
18071
|
+
}, bC = w(EC), Un = 5, wC = (e, A) => A.reduce((n, a) => {
|
|
18060
18072
|
if (a.total > 0) {
|
|
18061
18073
|
const r = e.find((d) => d.guid === a.category_guid);
|
|
18062
18074
|
if (!r) return n;
|
|
@@ -18078,7 +18090,7 @@ const Xt = g.createContext(null), Xm = ({
|
|
|
18078
18090
|
}
|
|
18079
18091
|
return n;
|
|
18080
18092
|
}, []), _i = (e, A) => {
|
|
18081
|
-
const n =
|
|
18093
|
+
const n = wC(e, A), a = n.filter((c) => c.guid !== b.INCOME && c.guid !== b.TRANSFER).sort((c, d) => d.amount - c.amount), r = a.reduce(
|
|
18082
18094
|
(c, d) => c + d.amount,
|
|
18083
18095
|
0
|
|
18084
18096
|
), o = a.length > Un ? Un : a.length, i = a.slice(0, o), s = i.map((c) => ({
|
|
@@ -18140,7 +18152,7 @@ const Xt = g.createContext(null), Xm = ({
|
|
|
18140
18152
|
}, dn = ({ amount: e, label: A }) => /* @__PURE__ */ l(E, { direction: "column", children: [
|
|
18141
18153
|
/* @__PURE__ */ t(p, { bold: !0, sx: { textTransform: "none" }, variant: "Body", children: A }),
|
|
18142
18154
|
/* @__PURE__ */ t(p, { variant: "XSmall", children: R(e, "0,0") })
|
|
18143
|
-
] }),
|
|
18155
|
+
] }), _C = ({
|
|
18144
18156
|
data: e,
|
|
18145
18157
|
isIncome: A = !1,
|
|
18146
18158
|
onSelected: n,
|
|
@@ -18193,7 +18205,7 @@ const Xt = g.createContext(null), Xm = ({
|
|
|
18193
18205
|
}
|
|
18194
18206
|
)
|
|
18195
18207
|
] }) }) });
|
|
18196
|
-
}, un = w(
|
|
18208
|
+
}, un = w(_C), Wr = ({ data: e, onSelected: A, selectedId: n }) => /* @__PURE__ */ t(E, { gap: 8, height: "100%", justifyContent: "center", my: "auto", children: e.categoryData.map((a) => /* @__PURE__ */ l(
|
|
18197
18209
|
E,
|
|
18198
18210
|
{
|
|
18199
18211
|
alignItems: "center",
|
|
@@ -18210,7 +18222,7 @@ const Xt = g.createContext(null), Xm = ({
|
|
|
18210
18222
|
]
|
|
18211
18223
|
},
|
|
18212
18224
|
a.guid
|
|
18213
|
-
)) }),
|
|
18225
|
+
)) }), SC = () => {
|
|
18214
18226
|
const e = be(), { spending: A } = _(), { selectedAccounts: n } = fe(), a = g.useMemo(
|
|
18215
18227
|
() => [
|
|
18216
18228
|
e.palette.chartMono.chartMono5,
|
|
@@ -18300,7 +18312,7 @@ const Xt = g.createContext(null), Xm = ({
|
|
|
18300
18312
|
/* @__PURE__ */ t(Wr, { data: m, onSelected: f, selectedId: s })
|
|
18301
18313
|
] }) })
|
|
18302
18314
|
] });
|
|
18303
|
-
},
|
|
18315
|
+
}, TC = w(SC), IC = ({ onPrimaryCtaClick: e, sx: A = {} }) => {
|
|
18304
18316
|
const { spending: n } = _();
|
|
18305
18317
|
return /* @__PURE__ */ t(
|
|
18306
18318
|
ut,
|
|
@@ -18310,10 +18322,10 @@ const Xt = g.createContext(null), Xm = ({
|
|
|
18310
18322
|
primaryCtaLabel: n.primary_cta,
|
|
18311
18323
|
sx: A,
|
|
18312
18324
|
title: n.mini_title,
|
|
18313
|
-
children: /* @__PURE__ */ t(
|
|
18325
|
+
children: /* @__PURE__ */ t(TC, {})
|
|
18314
18326
|
}
|
|
18315
18327
|
);
|
|
18316
|
-
},
|
|
18328
|
+
}, T3 = w(IC), LC = ({
|
|
18317
18329
|
data: e,
|
|
18318
18330
|
onSelected: A,
|
|
18319
18331
|
selectedId: n = "",
|
|
@@ -18392,7 +18404,7 @@ const Xt = g.createContext(null), Xm = ({
|
|
|
18392
18404
|
] }, i.guid)) }),
|
|
18393
18405
|
/* @__PURE__ */ t(p, { bold: !0, sx: { mt: 12, pr: 8, textAlign: "right" }, children: `${r.total}: ${R(e.totalAmount, "0,0")}` })
|
|
18394
18406
|
] });
|
|
18395
|
-
},
|
|
18407
|
+
}, DC = w(LC), OC = ({
|
|
18396
18408
|
data: e,
|
|
18397
18409
|
onSelected: A,
|
|
18398
18410
|
onViewTransactions: n,
|
|
@@ -18438,18 +18450,18 @@ const Xt = g.createContext(null), Xm = ({
|
|
|
18438
18450
|
variant: "full"
|
|
18439
18451
|
}
|
|
18440
18452
|
),
|
|
18441
|
-
/* @__PURE__ */ t(
|
|
18453
|
+
/* @__PURE__ */ t(DC, { data: e, onSelected: A, selectedId: a, title: r })
|
|
18442
18454
|
]
|
|
18443
18455
|
}
|
|
18444
18456
|
);
|
|
18445
|
-
}, Vr = w(
|
|
18457
|
+
}, Vr = w(OC), xC = (e) => [
|
|
18446
18458
|
e.palette.chartMono.chartMono5,
|
|
18447
18459
|
e.palette.chartMono.chartMono4,
|
|
18448
18460
|
e.palette.chartMono.chartMono3,
|
|
18449
18461
|
e.palette.chartMono.chartMono2,
|
|
18450
18462
|
e.palette.chartMono.chartMono1,
|
|
18451
18463
|
e.palette.chartMono.chartMono6
|
|
18452
|
-
],
|
|
18464
|
+
], PC = () => {
|
|
18453
18465
|
const e = jA(), { categories: A, dateRangeCategoryTotals: n, loadDateRangeCategoryTotals: a } = xe(), { spending: r } = _(), { displayedDateRange: o, selectedAccounts: i, selectedAccountGuids: s } = fe(), { setFilter: c, sortedTransactions: d } = me(), [u, h] = g.useState(""), [m, C] = g.useState(0), [f, y] = g.useState(""), [v, S] = g.useState(!1);
|
|
18454
18466
|
g.useEffect(() => {
|
|
18455
18467
|
a(
|
|
@@ -18462,7 +18474,7 @@ const Xt = g.createContext(null), Xm = ({
|
|
|
18462
18474
|
() => _i(A, n),
|
|
18463
18475
|
[A, n]
|
|
18464
18476
|
), I = g.useMemo(
|
|
18465
|
-
() => Si(A, n,
|
|
18477
|
+
() => Si(A, n, xC(e)),
|
|
18466
18478
|
[A, n]
|
|
18467
18479
|
), T = g.useMemo(
|
|
18468
18480
|
() => d.find((B) => B.guid === f),
|
|
@@ -18563,7 +18575,7 @@ const Xt = g.createContext(null), Xm = ({
|
|
|
18563
18575
|
}
|
|
18564
18576
|
)
|
|
18565
18577
|
] });
|
|
18566
|
-
},
|
|
18578
|
+
}, NC = w(PC), MC = ({ onBackClick: e, sx: A = {} }) => {
|
|
18567
18579
|
const { accounts: n } = pe(), { spending: a } = _(), { isInitialized: r, setDisplayedDate: o, setSelectedAccounts: i } = fe(), { onEvent: s } = j(), [c, d] = g.useState(!1);
|
|
18568
18580
|
g.useEffect(() => {
|
|
18569
18581
|
i(n);
|
|
@@ -18582,11 +18594,11 @@ const Xt = g.createContext(null), Xm = ({
|
|
|
18582
18594
|
onBackClick: e,
|
|
18583
18595
|
sx: A,
|
|
18584
18596
|
title: a.title,
|
|
18585
|
-
children: /* @__PURE__ */ t(N, { height: "calc(100dvh - 150px)", overflow: "scroll", width: "100%", children: /* @__PURE__ */ t(
|
|
18597
|
+
children: /* @__PURE__ */ t(N, { height: "calc(100dvh - 150px)", overflow: "scroll", width: "100%", children: /* @__PURE__ */ t(NC, {}) })
|
|
18586
18598
|
}
|
|
18587
18599
|
);
|
|
18588
|
-
},
|
|
18589
|
-
function
|
|
18600
|
+
}, I3 = w(MC), RC = (e) => YA[e] ?? YA.default, HC = (e) => vn[e];
|
|
18601
|
+
function BC(e, A) {
|
|
18590
18602
|
const n = [], a = new Date(e);
|
|
18591
18603
|
for (; a <= A; ) {
|
|
18592
18604
|
const r = a.getFullYear(), o = String(a.getMonth() + 1).padStart(2, "0");
|
|
@@ -18594,7 +18606,7 @@ function HC(e, A) {
|
|
|
18594
18606
|
}
|
|
18595
18607
|
return n;
|
|
18596
18608
|
}
|
|
18597
|
-
const
|
|
18609
|
+
const KC = (e) => e.reduce((n, a) => {
|
|
18598
18610
|
const r = {
|
|
18599
18611
|
top_level_category_guid: a.top_level_category_guid,
|
|
18600
18612
|
category_guid: a.category_guid,
|
|
@@ -18602,8 +18614,8 @@ const BC = (e) => e.reduce((n, a) => {
|
|
|
18602
18614
|
year_month: a.year_month
|
|
18603
18615
|
}, { top_level_category_guid: o, category_guid: i } = r;
|
|
18604
18616
|
return n[i] || (n[i] = []), n[i].push(r), o !== i && (n[o] || (n[o] = []), n[o].push(r)), n;
|
|
18605
|
-
}, {}),
|
|
18606
|
-
const a =
|
|
18617
|
+
}, {}), qC = (e, A, n) => {
|
|
18618
|
+
const a = KC(e), r = BC(A, n);
|
|
18607
18619
|
return Object.entries(a).map(([i, s]) => {
|
|
18608
18620
|
const c = s[0].top_level_category_guid, d = r.map((u) => {
|
|
18609
18621
|
const h = s.filter((y) => y.year_month === u).reduce((y, v) => y + Math.abs(v.amount), 0), m = Number(String(u).slice(0, 4)), C = Number(String(u).slice(4));
|
|
@@ -18612,18 +18624,18 @@ const BC = (e) => e.reduce((n, a) => {
|
|
|
18612
18624
|
return {
|
|
18613
18625
|
top_level_category_guid: c,
|
|
18614
18626
|
category_guid: i,
|
|
18615
|
-
category_name:
|
|
18616
|
-
category_color:
|
|
18627
|
+
category_name: HC(i),
|
|
18628
|
+
category_color: RC(c),
|
|
18617
18629
|
dataset: d
|
|
18618
18630
|
};
|
|
18619
18631
|
});
|
|
18620
|
-
},
|
|
18632
|
+
}, zC = (e, A) => {
|
|
18621
18633
|
const n = typeof e == "string" ? parseFloat(e.replace(/[^0-9.-]+/g, "")) : e, a = typeof A == "string" ? parseFloat(A.replace(/[^0-9.-]+/g, "")) : A;
|
|
18622
18634
|
return (n || 0) - (a || 0);
|
|
18623
|
-
},
|
|
18635
|
+
}, kC = (e) => {
|
|
18624
18636
|
const A = e.row[e.field];
|
|
18625
18637
|
return /* @__PURE__ */ t(E, { alignItems: "flex-end", tabIndex: e.tabIndex, children: /* @__PURE__ */ t(Se, { amount: A, variant: "Small" }) });
|
|
18626
|
-
},
|
|
18638
|
+
}, GC = ({ categoryGuid: e, topLevelCategoryGuid: A }) => {
|
|
18627
18639
|
const { categories: n } = _(), a = vn[e];
|
|
18628
18640
|
return /* @__PURE__ */ l(E, { alignItems: "center", direction: "row", justifyContent: "center", children: [
|
|
18629
18641
|
/* @__PURE__ */ t(
|
|
@@ -18636,20 +18648,20 @@ const BC = (e) => e.reduce((n, a) => {
|
|
|
18636
18648
|
),
|
|
18637
18649
|
/* @__PURE__ */ t(p, { sx: { ml: 12, pb: 6 }, variant: "Small", children: a })
|
|
18638
18650
|
] });
|
|
18639
|
-
},
|
|
18640
|
-
|
|
18651
|
+
}, UC = (e) => /* @__PURE__ */ t(E, { alignItems: "center", direction: "row", height: "100%", width: "100%", children: /* @__PURE__ */ t(
|
|
18652
|
+
GC,
|
|
18641
18653
|
{
|
|
18642
18654
|
categoryGuid: e.row.category,
|
|
18643
18655
|
topLevelCategoryGuid: e.row.top_level_category_guid
|
|
18644
18656
|
}
|
|
18645
|
-
) }),
|
|
18657
|
+
) }), FC = (e, A) => {
|
|
18646
18658
|
const n = [], a = new Date(e);
|
|
18647
18659
|
for (; a <= A; ) {
|
|
18648
18660
|
const r = Ae(a, $.MONTH);
|
|
18649
18661
|
n.push(r), a.setMonth(a.getMonth() + 1);
|
|
18650
18662
|
}
|
|
18651
18663
|
return n;
|
|
18652
|
-
},
|
|
18664
|
+
}, jC = ({
|
|
18653
18665
|
monthlyCategoryTotals: e,
|
|
18654
18666
|
selectedDateRange: A,
|
|
18655
18667
|
selectedCategory: n,
|
|
@@ -18659,13 +18671,13 @@ const BC = (e) => e.reduce((n, a) => {
|
|
|
18659
18671
|
}) => {
|
|
18660
18672
|
const { onEvent: i } = j(), s = Ae(/* @__PURE__ */ new Date(), $.MONTH_SHORT), [c, d] = g.useState([
|
|
18661
18673
|
{ field: s, sort: "desc" }
|
|
18662
|
-
]), u = g.useMemo(() =>
|
|
18674
|
+
]), u = g.useMemo(() => FC(A.start, A.end), [A]), h = [
|
|
18663
18675
|
{
|
|
18664
18676
|
field: "category",
|
|
18665
18677
|
headerName: "Category",
|
|
18666
18678
|
minWidth: 175,
|
|
18667
18679
|
renderHeader: WA,
|
|
18668
|
-
renderCell:
|
|
18680
|
+
renderCell: UC,
|
|
18669
18681
|
sortable: !0,
|
|
18670
18682
|
type: "string"
|
|
18671
18683
|
},
|
|
@@ -18675,13 +18687,13 @@ const BC = (e) => e.reduce((n, a) => {
|
|
|
18675
18687
|
headerName: C,
|
|
18676
18688
|
minWidth: 75,
|
|
18677
18689
|
renderHeader: WA,
|
|
18678
|
-
renderCell:
|
|
18690
|
+
renderCell: kC,
|
|
18679
18691
|
align: "right",
|
|
18680
18692
|
headerAlign: "right",
|
|
18681
18693
|
sortable: !0,
|
|
18682
18694
|
hideSortIcons: !1,
|
|
18683
18695
|
type: "number",
|
|
18684
|
-
sortComparator:
|
|
18696
|
+
sortComparator: zC
|
|
18685
18697
|
})
|
|
18686
18698
|
)
|
|
18687
18699
|
], m = g.useMemo(() => {
|
|
@@ -18723,9 +18735,9 @@ const BC = (e) => e.reduce((n, a) => {
|
|
|
18723
18735
|
sortingOrder: ["asc", "desc"]
|
|
18724
18736
|
}
|
|
18725
18737
|
) });
|
|
18726
|
-
},
|
|
18738
|
+
}, QC = {
|
|
18727
18739
|
title: "Transaction List"
|
|
18728
|
-
},
|
|
18740
|
+
}, XC = ({
|
|
18729
18741
|
categoryGuid: e,
|
|
18730
18742
|
dateRange: A,
|
|
18731
18743
|
isOpen: n,
|
|
@@ -18748,16 +18760,16 @@ const BC = (e) => e.reduce((n, a) => {
|
|
|
18748
18760
|
ariaLabelClose: i.close_aria,
|
|
18749
18761
|
isOpen: n,
|
|
18750
18762
|
onClose: m,
|
|
18751
|
-
title:
|
|
18763
|
+
title: QC.title,
|
|
18752
18764
|
children: [
|
|
18753
18765
|
h && /* @__PURE__ */ t(wt, { transaction: h }),
|
|
18754
18766
|
!h && /* @__PURE__ */ t(at, { onClick: u })
|
|
18755
18767
|
]
|
|
18756
18768
|
}
|
|
18757
18769
|
);
|
|
18758
|
-
},
|
|
18770
|
+
}, WC = w(XC), VC = {
|
|
18759
18771
|
view_transactions: "View Transactions"
|
|
18760
|
-
},
|
|
18772
|
+
}, YC = ({ onBackClick: e, sx: A }) => {
|
|
18761
18773
|
const n = sA(), { onEvent: a } = j(), { isDesktop: r, isTablet: o, isMobile: i } = Oe(), { accounts: s } = pe(), { loadMonthlyCategoryTotals: c, monthlyCategoryTotals: d, getCategoryName: u } = xe(), { sortedTransactions: h } = me(), { isInitialized: m, selectedAccounts: C, setSelectedAccounts: f } = fe(), { trends: y } = _(), v = n.palette.mode === "dark", [S, L] = g.useState(!1), [I, T] = g.useState(!1), [D, x] = g.useState("Chart"), [O, B] = g.useState(""), [z, Z] = g.useState({
|
|
18762
18774
|
start: Xa(Re(yA(/* @__PURE__ */ new Date(), 6)), 1),
|
|
18763
18775
|
end: Re(/* @__PURE__ */ new Date())
|
|
@@ -18775,7 +18787,7 @@ const BC = (e) => e.reduce((n, a) => {
|
|
|
18775
18787
|
}, [m, C, z]);
|
|
18776
18788
|
const U = g.useMemo(() => {
|
|
18777
18789
|
if (!S) return { stackedDatasets: [], unstackedDatasets: [] };
|
|
18778
|
-
const ye =
|
|
18790
|
+
const ye = qC(
|
|
18779
18791
|
d,
|
|
18780
18792
|
z.start,
|
|
18781
18793
|
z.end
|
|
@@ -18906,7 +18918,7 @@ const BC = (e) => e.reduce((n, a) => {
|
|
|
18906
18918
|
/* @__PURE__ */ t(H, { name: "arrow_back" }),
|
|
18907
18919
|
y.all_categories
|
|
18908
18920
|
] }) }),
|
|
18909
|
-
/* @__PURE__ */ t(oe, { onClick: () => T(!0), sx: { px: 5 }, children: `${
|
|
18921
|
+
/* @__PURE__ */ t(oe, { onClick: () => T(!0), sx: { px: 5 }, children: `${VC.view_transactions} (${h.length})` })
|
|
18910
18922
|
] }),
|
|
18911
18923
|
/* @__PURE__ */ l(N, { children: [
|
|
18912
18924
|
D === "Chart" && /* @__PURE__ */ t(
|
|
@@ -18921,7 +18933,7 @@ const BC = (e) => e.reduce((n, a) => {
|
|
|
18921
18933
|
}
|
|
18922
18934
|
),
|
|
18923
18935
|
D === "Table" && /* @__PURE__ */ t(
|
|
18924
|
-
|
|
18936
|
+
jC,
|
|
18925
18937
|
{
|
|
18926
18938
|
monthlyCategoryTotals: d,
|
|
18927
18939
|
onClickRow: se,
|
|
@@ -18934,7 +18946,7 @@ const BC = (e) => e.reduce((n, a) => {
|
|
|
18934
18946
|
}
|
|
18935
18947
|
),
|
|
18936
18948
|
/* @__PURE__ */ t(
|
|
18937
|
-
|
|
18949
|
+
WC,
|
|
18938
18950
|
{
|
|
18939
18951
|
categoryGuid: O,
|
|
18940
18952
|
dateRange: z,
|
|
@@ -18945,7 +18957,7 @@ const BC = (e) => e.reduce((n, a) => {
|
|
|
18945
18957
|
]
|
|
18946
18958
|
}
|
|
18947
18959
|
);
|
|
18948
|
-
},
|
|
18960
|
+
}, L3 = w(YC), JC = () => {
|
|
18949
18961
|
const e = sA(), { monthlyCategoryTotals: A } = xe(), { trends: n } = _(), a = Kh(A);
|
|
18950
18962
|
return /* @__PURE__ */ t(
|
|
18951
18963
|
ga,
|
|
@@ -18961,7 +18973,7 @@ const BC = (e) => e.reduce((n, a) => {
|
|
|
18961
18973
|
useCustomMark: !0
|
|
18962
18974
|
}
|
|
18963
18975
|
);
|
|
18964
|
-
},
|
|
18976
|
+
}, ZC = w(JC), $C = ({ onPrimaryCtaClick: e, sx: A }) => {
|
|
18965
18977
|
const { loadMonthlyCategoryTotals: n } = xe(), { isInitialized: a } = bn(), { trends: r } = _(), { selectedAccounts: o } = fe(), [i, s] = g.useState(!1);
|
|
18966
18978
|
return g.useEffect(() => {
|
|
18967
18979
|
a && n(o).finally(() => {
|
|
@@ -18975,10 +18987,10 @@ const BC = (e) => e.reduce((n, a) => {
|
|
|
18975
18987
|
subTitle: r.sub_title,
|
|
18976
18988
|
sx: A,
|
|
18977
18989
|
title: r.mini_title,
|
|
18978
|
-
children: /* @__PURE__ */ t(
|
|
18990
|
+
children: /* @__PURE__ */ t(ZC, {})
|
|
18979
18991
|
}
|
|
18980
18992
|
);
|
|
18981
|
-
},
|
|
18993
|
+
}, D3 = w($C);
|
|
18982
18994
|
export {
|
|
18983
18995
|
q as ANALYTICS_EVENTS,
|
|
18984
18996
|
Br as AccountApi,
|
|
@@ -18991,29 +19003,29 @@ export {
|
|
|
18991
19003
|
cc as AccountSubType,
|
|
18992
19004
|
V as AccountType,
|
|
18993
19005
|
ca as AccountTypeName,
|
|
18994
|
-
|
|
18995
|
-
|
|
19006
|
+
v3 as AccountsMiniWidget,
|
|
19007
|
+
f3 as AccountsWidget,
|
|
18996
19008
|
Zo as ActivitySettings,
|
|
18997
19009
|
He as ActivityStatus,
|
|
18998
19010
|
Pe as ActivityType,
|
|
18999
19011
|
ou as AddAccountModal,
|
|
19000
19012
|
Lc as AnalyticsApi,
|
|
19001
19013
|
M as ApiEndpoints,
|
|
19002
|
-
|
|
19003
|
-
|
|
19014
|
+
Xm as AppStore,
|
|
19015
|
+
Z8 as BarChart,
|
|
19004
19016
|
ft as BeatApi,
|
|
19005
|
-
|
|
19017
|
+
rC as BeatCard,
|
|
19006
19018
|
$t as BottomActions,
|
|
19007
|
-
|
|
19008
|
-
|
|
19019
|
+
E3 as BubbleBudgetsMiniWidget,
|
|
19020
|
+
b3 as BubbleBudgetsWidget,
|
|
19009
19021
|
Qc as Calendar,
|
|
19010
19022
|
So as CalendarSelectionTypes,
|
|
19011
|
-
|
|
19023
|
+
hC as CarouselHeader,
|
|
19012
19024
|
Dr as CashflowApi,
|
|
19013
|
-
|
|
19025
|
+
n3 as CashflowMiniWidget,
|
|
19014
19026
|
bh as CashflowOnboarding,
|
|
19015
19027
|
Sh as CashflowStore,
|
|
19016
|
-
|
|
19028
|
+
c3 as CashflowWidget,
|
|
19017
19029
|
an as CategoryApi,
|
|
19018
19030
|
YA as CategoryColors,
|
|
19019
19031
|
vn as CategoryGuidToName,
|
|
@@ -19023,9 +19035,9 @@ export {
|
|
|
19023
19035
|
Td as CategorySelector,
|
|
19024
19036
|
Ea as CategorySelectorDrawer,
|
|
19025
19037
|
xd as CategoryStore,
|
|
19026
|
-
|
|
19038
|
+
$m as ChartFilledIcon,
|
|
19027
19039
|
Qt as ConnectDrawer,
|
|
19028
|
-
|
|
19040
|
+
y3 as ConnectMiniWidget,
|
|
19029
19041
|
st as ConnectionStatus,
|
|
19030
19042
|
Fe as ConnectionStatusEnums,
|
|
19031
19043
|
nn as CurrencyCodes,
|
|
@@ -19034,14 +19046,14 @@ export {
|
|
|
19034
19046
|
$ as DATE_FORMATS_INTL,
|
|
19035
19047
|
vo as DEFAULT_DONUT_SIZE,
|
|
19036
19048
|
yo as DEFAULT_STROKE_WIDTH,
|
|
19037
|
-
|
|
19049
|
+
w3 as Dashboard,
|
|
19038
19050
|
Aa as DashboardLocation,
|
|
19039
19051
|
sn as DataRow,
|
|
19040
19052
|
rr as DateRangeSelector,
|
|
19041
19053
|
ai as DebtsChart,
|
|
19042
19054
|
bg as DebtsStore,
|
|
19043
19055
|
hg as DebtsTable,
|
|
19044
|
-
|
|
19056
|
+
d3 as DebtsWidget,
|
|
19045
19057
|
De as Dialog,
|
|
19046
19058
|
Jc as Donut,
|
|
19047
19059
|
ce as Drawer,
|
|
@@ -19052,62 +19064,62 @@ export {
|
|
|
19052
19064
|
rn as GlobalCopyApi,
|
|
19053
19065
|
yl as GlobalCopyStore,
|
|
19054
19066
|
lt as GlobalDataContext,
|
|
19055
|
-
|
|
19056
|
-
|
|
19067
|
+
$8 as GlobalDataProvider,
|
|
19068
|
+
p3 as GlobalStore,
|
|
19057
19069
|
xr as GoalApi,
|
|
19058
19070
|
kg as GoalStore,
|
|
19059
19071
|
Jn as GoalType,
|
|
19060
|
-
|
|
19061
|
-
|
|
19062
|
-
|
|
19063
|
-
|
|
19072
|
+
u3 as GoalsWidget,
|
|
19073
|
+
qm as HelpContent,
|
|
19074
|
+
zm as HelpList,
|
|
19075
|
+
_3 as HelpWidget,
|
|
19064
19076
|
la as INCOME_ACCOUNT_TYPES,
|
|
19065
19077
|
ZA as IconBacking,
|
|
19066
19078
|
cn as InformationTooltip,
|
|
19067
|
-
|
|
19068
|
-
|
|
19079
|
+
S3 as InsightsMicroWidget,
|
|
19080
|
+
Wm as InsightsMicroWidgetDataProvider,
|
|
19069
19081
|
mc as IterationItemTypes,
|
|
19070
|
-
|
|
19082
|
+
Q8 as LOADING_STATUS,
|
|
19071
19083
|
ga as LineChart,
|
|
19072
19084
|
LA as ListItemAction,
|
|
19073
19085
|
vl as ListItemWrapper,
|
|
19074
19086
|
je as Loader,
|
|
19075
|
-
|
|
19087
|
+
Y8 as LocalizedCopyApi,
|
|
19076
19088
|
Ta as ManageIncome,
|
|
19077
19089
|
JA as MemberConnectionStatus,
|
|
19078
|
-
|
|
19090
|
+
h3 as MerchantLookup,
|
|
19079
19091
|
Vg as MerchantStore,
|
|
19080
19092
|
eA as MetaType,
|
|
19081
19093
|
mo as MfaStatuses,
|
|
19082
|
-
|
|
19094
|
+
cC as MicroBeatCarousel,
|
|
19083
19095
|
On as MicroInsightCard,
|
|
19084
19096
|
ut as MiniWidgetContainer,
|
|
19085
|
-
|
|
19086
|
-
|
|
19097
|
+
tC as MonthlySpendComparisonIcon,
|
|
19098
|
+
A3 as MultiSegmentDonut,
|
|
19087
19099
|
r1 as NetWorthChart,
|
|
19088
19100
|
c1 as NetWorthList,
|
|
19089
19101
|
n1 as NetWorthStore,
|
|
19090
19102
|
u1 as NetWorthSummary,
|
|
19091
|
-
|
|
19092
|
-
|
|
19103
|
+
g3 as NetWorthWidget,
|
|
19104
|
+
fC as NoRelevantInsightsCard,
|
|
19093
19105
|
po as NonConnectedStatuses,
|
|
19094
19106
|
Za as NotificationApi,
|
|
19095
|
-
|
|
19107
|
+
C3 as NotificationList,
|
|
19096
19108
|
v1 as NotificationStore,
|
|
19097
19109
|
sc as ORDINAL_DATE_FORMAT,
|
|
19098
|
-
|
|
19110
|
+
G8 as ORDINAL_MONTH_DAY_YEAR_FORMAT,
|
|
19099
19111
|
da as PAYMENT_ACCOUNT_TYPES,
|
|
19100
19112
|
Wa as PaymentCategories,
|
|
19101
19113
|
gc as PlanTypes,
|
|
19102
19114
|
lc as ProcessingStatuses,
|
|
19103
19115
|
go as PropertyType,
|
|
19104
|
-
|
|
19105
|
-
|
|
19116
|
+
F8 as PropertyTypeName,
|
|
19117
|
+
j8 as RECURRENCE_COPY,
|
|
19106
19118
|
G as RecurrenceTypes,
|
|
19107
|
-
|
|
19119
|
+
s3 as RecurringActivityMiniWidget,
|
|
19108
19120
|
Wu as RecurringActivityStore,
|
|
19109
|
-
|
|
19110
|
-
|
|
19121
|
+
i3 as RecurringActivityWidget,
|
|
19122
|
+
t3 as ResponsiveButton,
|
|
19111
19123
|
ua as SPENDING_ACCOUNT_TYPES,
|
|
19112
19124
|
kl as ScheduledPaymentTypes,
|
|
19113
19125
|
$a as ScheduledPaymentsApi,
|
|
@@ -19116,11 +19128,11 @@ export {
|
|
|
19116
19128
|
sr as SelectionBox,
|
|
19117
19129
|
Po as SingleSegmentDonut,
|
|
19118
19130
|
Cc as Sizes,
|
|
19119
|
-
|
|
19120
|
-
|
|
19131
|
+
T3 as SpendingMiniWidget,
|
|
19132
|
+
I3 as SpendingWidget,
|
|
19121
19133
|
ll as StackedLineChart,
|
|
19122
19134
|
zt as StatusBar,
|
|
19123
|
-
|
|
19135
|
+
U8 as StatusName,
|
|
19124
19136
|
Tt as TOUCH_TARGET,
|
|
19125
19137
|
k as TRANSACTION_EVENTS,
|
|
19126
19138
|
vt as TabContentContainer,
|
|
@@ -19134,22 +19146,22 @@ export {
|
|
|
19134
19146
|
Fl as TransactionStore,
|
|
19135
19147
|
cd as TransactionTable,
|
|
19136
19148
|
AA as TransactionType,
|
|
19137
|
-
|
|
19138
|
-
|
|
19139
|
-
|
|
19149
|
+
o3 as TransactionWidget,
|
|
19150
|
+
L3 as TrendsFullWidget,
|
|
19151
|
+
D3 as TrendsMiniWidget,
|
|
19140
19152
|
er as UserApi,
|
|
19141
19153
|
T1 as UserStore,
|
|
19142
19154
|
ql as UserVerification,
|
|
19143
|
-
|
|
19155
|
+
yC as ViewMoreMicroCard,
|
|
19144
19156
|
Ar as WidgetApi,
|
|
19145
19157
|
CA as WidgetContainer,
|
|
19146
19158
|
To as WidgetContainerContext,
|
|
19147
19159
|
Io as WidgetContainerProvider,
|
|
19148
|
-
|
|
19160
|
+
bC as ZeroStateCard,
|
|
19149
19161
|
yi as ZeroStateIcon,
|
|
19150
19162
|
ic as analyticsSession,
|
|
19151
19163
|
P as buildDynamicCopy,
|
|
19152
|
-
|
|
19164
|
+
V8 as buildPluralCopy,
|
|
19153
19165
|
Ho as exportTransactionsToCSV,
|
|
19154
19166
|
R as formatCurrency,
|
|
19155
19167
|
Ae as formatDate,
|
|
@@ -19159,13 +19171,13 @@ export {
|
|
|
19159
19171
|
ei as getAccountBalanceDetails,
|
|
19160
19172
|
Ah as getAccountDetailFields,
|
|
19161
19173
|
Ya as getCategory,
|
|
19162
|
-
|
|
19174
|
+
X8 as getCategoryTotalsByParent,
|
|
19163
19175
|
yc as getCurrencyCodes,
|
|
19164
19176
|
pc as getDetailedCategory,
|
|
19165
19177
|
fc as getDetailedSubCategory,
|
|
19166
19178
|
At as getLocale,
|
|
19167
|
-
|
|
19168
|
-
|
|
19179
|
+
m3 as getNotificationDetailRoute,
|
|
19180
|
+
W8 as isIncome,
|
|
19169
19181
|
Wn as isValidNumber,
|
|
19170
19182
|
pe as useAccountStore,
|
|
19171
19183
|
cA as useAccountUiStore,
|
|
@@ -19186,8 +19198,8 @@ export {
|
|
|
19186
19198
|
nl as useMerchantStore,
|
|
19187
19199
|
al as useNetWorthStore,
|
|
19188
19200
|
Oo as useNotificationStore,
|
|
19189
|
-
|
|
19190
|
-
|
|
19201
|
+
e3 as usePageView,
|
|
19202
|
+
J8 as usePrevious,
|
|
19191
19203
|
ze as useRecurringActivityStore,
|
|
19192
19204
|
Oe as useScreenSize,
|
|
19193
19205
|
me as useTransactionStore,
|