@mx-cartographer/experiences 7.10.30 → 7.10.32

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.
Files changed (33) hide show
  1. package/CHANGELOG.md +8 -0
  2. package/dist/{BudgetUtil-DKNyjCWc.mjs → BudgetUtil-CHDuDNhl.mjs} +69 -71
  3. package/dist/{ExportCsvAction-8uWKc_e2.mjs → ExportCsvAction-BqNTIBjm.mjs} +2 -2
  4. package/dist/{ManageIncome-BtOMmeKb.mjs → ManageIncome-CWQoWlbs.mjs} +3 -3
  5. package/dist/{RecurringSettings-DOgdSycO.mjs → RecurringSettings-BapZfEnY.mjs} +1 -1
  6. package/dist/StatusIndicator-0iX3Gnnu.mjs +55 -0
  7. package/dist/{Transaction-RmKYEKSk.mjs → Transaction-BiOMLCAA.mjs} +4 -3
  8. package/dist/TransactionDetails-c7ncR7HI.mjs +1172 -0
  9. package/dist/{TransactionList-Dxi733-M.mjs → TransactionList-CmZSDhKW.mjs} +1 -1
  10. package/dist/{TransactionStore-B-fc3CsB.mjs → TransactionStore-DoBXsvqm.mjs} +2 -2
  11. package/dist/accounts/index.es.js +2 -2
  12. package/dist/budgets/components/BudgetDetailsDrawerV2.d.ts +2 -1
  13. package/dist/budgets/index.es.js +759 -740
  14. package/dist/cashflow/index.es.js +3 -3
  15. package/dist/common/components/CurrencyDialog.d.ts +1 -1
  16. package/dist/common/index.es.js +6 -6
  17. package/dist/common/types/localization/BudgetsCopy.d.ts +1 -0
  18. package/dist/{exportTransactionsToCSV-RUWymyA3.mjs → exportTransactionsToCSV-YO3xewit.mjs} +1 -1
  19. package/dist/finstrong/index.es.js +3 -3
  20. package/dist/insights/components/insights/CategorySpendingV2/types/CategorySpendingV2.d.ts +1 -0
  21. package/dist/insights/components/shared/ChartDrawerTemplate/ChartDrawerTemplate.d.ts +2 -1
  22. package/dist/insights/components/shared/ChartTransactionWithDrillDown.d.ts +2 -1
  23. package/dist/insights/components/shared/StatusIndicator.d.ts +1 -1
  24. package/dist/insights/index.es.js +698 -690
  25. package/dist/recurringtransactions/index.es.js +4 -4
  26. package/dist/spending/index.es.js +3 -3
  27. package/dist/transactions/components/shared/transactiondetails/actions/AddMerchantBudgetAction.d.ts +6 -0
  28. package/dist/transactions/constants/Actions.d.ts +4 -3
  29. package/dist/transactions/index.es.js +10 -10
  30. package/dist/trends/index.es.js +3 -3
  31. package/package.json +1 -1
  32. package/dist/StatusIndicator-yCwjN_ky.mjs +0 -55
  33. package/dist/TransactionDetails-BYKl7pix.mjs +0 -1158
@@ -1,14 +1,14 @@
1
1
  import { B as v4 } from "../BeatStore-D_NYuBSz.mjs";
2
- import { jsx as e, jsxs as h, Fragment as V } from "react/jsx-runtime";
2
+ import { jsx as e, jsxs as c, Fragment as V } from "react/jsx-runtime";
3
3
  import * as t from "react";
4
- import M, { useMemo as T1, useState as Q, useEffect as L1, forwardRef as W, useRef as m1, useLayoutEffect as A1 } from "react";
4
+ import f, { useMemo as T1, useState as Q, useEffect as L1, forwardRef as W, useRef as m1, useLayoutEffect as A1 } from "react";
5
5
  import y from "@mui/material/Box";
6
6
  import T from "@mui/material/Button";
7
7
  import E from "@mui/material/Stack";
8
- import { BottomSheetTransition as O1, Icon as k1, P as L, H3 as i1, Text as f, MerchantLogo as _, InstitutionLogo as X, CategoryIcon as p1, createMXTheme as K1, CheckmarkFilledIcon as V1, H2 as a1 } from "@mxenabled/mxui";
8
+ import { BottomSheetTransition as O1, Icon as k1, P as L, H3 as i1, Text as k, MerchantLogo as _, InstitutionLogo as X, CategoryIcon as p1, createMXTheme as K1, CheckmarkFilledIcon as V1, H2 as a1 } from "@mxenabled/mxui";
9
9
  import { Icon as J } from "@mxenabled/mx-icons";
10
- import { e as P1 } from "../exportTransactionsToCSV-RUWymyA3.mjs";
11
- import { T as F1 } from "../TransactionList-Dxi733-M.mjs";
10
+ import { e as P1 } from "../exportTransactionsToCSV-YO3xewit.mjs";
11
+ import { T as F1 } from "../TransactionList-CmZSDhKW.mjs";
12
12
  import U1 from "@mui/material/Tab";
13
13
  import Q1 from "@mui/material/Tabs";
14
14
  import F from "@mui/material/IconButton";
@@ -16,7 +16,7 @@ import { useTheme as N, alpha as v1, ThemeProvider as X1 } from "@mui/material/s
16
16
  import { ChartContainer as E1, ChartsReferenceLine as q, ChartsXAxis as u1, BarPlot as y1 } from "@mui/x-charts";
17
17
  import { u as B1, h as q1 } from "../hooks-DWJQ4phS.mjs";
18
18
  import { D as _1 } from "../Drawer-DV4NTsFg.mjs";
19
- import { S as $1 } from "../StatusIndicator-yCwjN_ky.mjs";
19
+ import { S as $1 } from "../StatusIndicator-0iX3Gnnu.mjs";
20
20
  import ee from "@mui/material/LinearProgress";
21
21
  import G1 from "@mui/material/Dialog";
22
22
  import te from "@mui/material/DialogContent";
@@ -49,13 +49,13 @@ const fe = ({
49
49
  children: n,
50
50
  height: i,
51
51
  isMobile: l,
52
- isOpen: a = !1,
53
- onClose: o,
52
+ isOpen: o = !1,
53
+ onClose: a,
54
54
  showBackground: s = !1,
55
- width: c = 450
55
+ width: h = 450
56
56
  }) => {
57
- const [d, m] = M.useState(!1);
58
- return M.useEffect(() => {
57
+ const [d, m] = f.useState(!1);
58
+ return f.useEffect(() => {
59
59
  m(!!r);
60
60
  }, [r]), /* @__PURE__ */ e(
61
61
  G1,
@@ -69,7 +69,7 @@ const fe = ({
69
69
  left: "50%",
70
70
  m: 0,
71
71
  maxHeight: i ?? "50%",
72
- maxWidth: c,
72
+ maxWidth: h,
73
73
  // Adjust maxWidth as needed
74
74
  position: "fixed",
75
75
  transform: "translateX(-50%)",
@@ -80,8 +80,8 @@ const fe = ({
80
80
  TransitionComponent: O1,
81
81
  disableScrollLock: d,
82
82
  hideBackdrop: s,
83
- onClose: o,
84
- open: a,
83
+ onClose: a,
84
+ open: o,
85
85
  scroll: "paper",
86
86
  sx: {
87
87
  "& .MuiBackdrop-root": {
@@ -96,8 +96,8 @@ const fe = ({
96
96
  }
97
97
  );
98
98
  }, N2 = fe, ke = ({ message: r, tipAriaLabel: n, onDismiss: i, onAction: l }) => {
99
- const a = l || i;
100
- return /* @__PURE__ */ h(
99
+ const o = l || i;
100
+ return /* @__PURE__ */ c(
101
101
  E,
102
102
  {
103
103
  alignItems: "flex-start",
@@ -113,7 +113,7 @@ const fe = ({
113
113
  children: [
114
114
  /* @__PURE__ */ e(k1, { color: "info", fill: !0, name: "lightbulb", size: 24, sx: { mt: 16 } }),
115
115
  /* @__PURE__ */ e(L, { color: "primary.dark", fontWeight: 400, noWrap: !1, sx: { py: 16 }, variant: "subtitle2", children: r }),
116
- a && /* @__PURE__ */ e(F, { "aria-label": n, onClick: a, size: "small", sx: { mt: 3 }, children: /* @__PURE__ */ e(k1, { color: "primary", fill: !0, name: l ? "chevron_right" : "close", size: 20 }) })
116
+ o && /* @__PURE__ */ e(F, { "aria-label": n, onClick: o, size: "small", sx: { mt: 3 }, children: /* @__PURE__ */ e(k1, { color: "primary", fill: !0, name: l ? "chevron_right" : "close", size: 20 }) })
117
117
  ]
118
118
  }
119
119
  );
@@ -122,47 +122,48 @@ const fe = ({
122
122
  beat: n,
123
123
  chart: i,
124
124
  children: l,
125
- data: a,
126
- defaultSelectedIndex: o,
125
+ data: o,
126
+ defaultSelectedIndex: a,
127
127
  icon: s,
128
- tipSection: c
128
+ onTabChange: h,
129
+ tipSection: d
129
130
  }) => {
130
- const { heading: d, subHeading: m } = n, p = T1(
131
- () => o ?? (a.length ? a.length - 1 : 0),
132
- [o, a.length]
133
- ), [u, C] = Q(p), k = (x, g) => {
134
- C(g);
135
- }, w = (x) => {
136
- C(x);
131
+ const { heading: m, subHeading: p } = n, u = T1(
132
+ () => a ?? (o.length ? o.length - 1 : 0),
133
+ [a, o.length]
134
+ ), [C, M] = Q(u), b = (x, S) => {
135
+ h?.(S), M(S);
136
+ }, Z = (x) => {
137
+ M(x);
137
138
  };
138
- return /* @__PURE__ */ h(y, { sx: { bgcolor: "background.paper", width: "100%" }, children: [
139
- /* @__PURE__ */ e(Q1, { "aria-label": r, onChange: k, value: u, variant: "fullWidth", children: a.map((x, g) => /* @__PURE__ */ e(
139
+ return /* @__PURE__ */ c(y, { sx: { bgcolor: "background.paper", width: "100%" }, children: [
140
+ /* @__PURE__ */ e(Q1, { "aria-label": r, onChange: b, value: C, variant: "fullWidth", children: o.map((x, S) => /* @__PURE__ */ e(
140
141
  U1,
141
142
  {
142
- id: `transaction-details-tab-${g}`,
143
+ id: `transaction-details-tab-${S}`,
143
144
  label: x.label,
144
145
  sx: { minWidth: "auto", px: 0 }
145
146
  },
146
- `${x.label}-${g}`
147
+ `${x.label}-${S}`
147
148
  )) }),
148
- /* @__PURE__ */ e(E, { sx: { pt: 16, px: 24 }, children: (d || m) && /* @__PURE__ */ h(E, { sx: { gap: 4 }, children: [
149
- d && /* @__PURE__ */ e(i1, { children: d }),
150
- m && /* @__PURE__ */ h(E, { sx: { alignItems: "center", flexDirection: "row", gap: 8 }, children: [
149
+ /* @__PURE__ */ e(E, { sx: { pt: 16, px: 24 }, children: (m || p) && /* @__PURE__ */ c(E, { sx: { gap: 4 }, children: [
150
+ m && /* @__PURE__ */ e(i1, { children: m }),
151
+ p && /* @__PURE__ */ c(E, { sx: { alignItems: "center", flexDirection: "row", gap: 8 }, children: [
151
152
  s,
152
- /* @__PURE__ */ e(f, { textTransform: "uppercase", variant: "body2", children: m.description })
153
+ /* @__PURE__ */ e(k, { textTransform: "uppercase", variant: "body2", children: p.description })
153
154
  ] })
154
155
  ] }) }),
155
- i?.(u, w),
156
- c && /* @__PURE__ */ e(ke, { ...c }),
157
- l?.(u)
156
+ i?.(C, Z),
157
+ d && /* @__PURE__ */ e(ke, { ...d }),
158
+ l?.(C)
158
159
  ] });
159
160
  }, U = (r) => {
160
161
  const [n, i] = Q({ width: 0, height: 0 });
161
162
  return L1(() => {
162
163
  const l = () => {
163
164
  if (r.current) {
164
- const { offsetWidth: a, offsetHeight: o } = r.current;
165
- i({ width: a, height: o });
165
+ const { offsetWidth: o, offsetHeight: a } = r.current;
166
+ i({ width: o, height: a });
166
167
  }
167
168
  };
168
169
  return l(), window.addEventListener("resize", l), () => {
@@ -174,8 +175,8 @@ const fe = ({
174
175
  color: n,
175
176
  legendLabelAvg: i,
176
177
  legendLabelMain: l,
177
- legendStyle: a = {}
178
- }) => /* @__PURE__ */ h(
178
+ legendStyle: o = {}
179
+ }) => /* @__PURE__ */ c(
179
180
  E,
180
181
  {
181
182
  sx: {
@@ -184,10 +185,10 @@ const fe = ({
184
185
  gap: 16,
185
186
  justifyContent: "flex-end",
186
187
  width: "100%",
187
- ...a
188
+ ...o
188
189
  },
189
190
  children: [
190
- l && /* @__PURE__ */ h(E, { alignItems: "center", flexDirection: "row", gap: 8, children: [
191
+ l && /* @__PURE__ */ c(E, { alignItems: "center", flexDirection: "row", gap: 8, children: [
191
192
  /* @__PURE__ */ e(
192
193
  "svg",
193
194
  {
@@ -200,9 +201,9 @@ const fe = ({
200
201
  children: /* @__PURE__ */ e("rect", { fill: n, height: "6", rx: "2", width: "6", x: "0.4375" })
201
202
  }
202
203
  ),
203
- /* @__PURE__ */ e(f, { id: "chartLegendLabel", sx: { fontSize: 11, fontWeight: 400 }, variant: "XSmall", children: l })
204
+ /* @__PURE__ */ e(k, { id: "chartLegendLabel", sx: { fontSize: 11, fontWeight: 400 }, variant: "XSmall", children: l })
204
205
  ] }),
205
- r && i && /* @__PURE__ */ h(E, { alignItems: "center", flexDirection: "row", gap: 8, children: [
206
+ r && i && /* @__PURE__ */ c(E, { alignItems: "center", flexDirection: "row", gap: 8, children: [
206
207
  /* @__PURE__ */ e(
207
208
  E,
208
209
  {
@@ -210,7 +211,7 @@ const fe = ({
210
211
  flexDirection: "row",
211
212
  gap: 2
212
213
  },
213
- children: [...Array(3)].map((o, s) => /* @__PURE__ */ e(
214
+ children: [...Array(3)].map((a, s) => /* @__PURE__ */ e(
214
215
  y,
215
216
  {
216
217
  sx: {
@@ -224,7 +225,7 @@ const fe = ({
224
225
  ))
225
226
  }
226
227
  ),
227
- /* @__PURE__ */ h(f, { sx: { fontSize: 11, fontWeight: 400, ml: 0 }, variant: "XSmall", children: [
228
+ /* @__PURE__ */ c(k, { sx: { fontSize: 11, fontWeight: 400, ml: 0 }, variant: "XSmall", children: [
228
229
  i,
229
230
  ": ",
230
231
  r
@@ -237,41 +238,41 @@ const fe = ({
237
238
  data: n,
238
239
  dataIndex: i,
239
240
  removeSelectedTabColorChange: l,
240
- selectedTabIndex: a,
241
- style: o,
241
+ selectedTabIndex: o,
242
+ style: a,
242
243
  ...s
243
244
  }) => {
244
- const c = N(), d = M.useRef(null);
245
- M.useLayoutEffect(() => {
246
- const g = new ResizeObserver(() => {
245
+ const h = N(), d = f.useRef(null);
246
+ f.useLayoutEffect(() => {
247
+ const x = new ResizeObserver(() => {
247
248
  window.requestAnimationFrame(() => {
248
249
  if (d.current) {
249
- const { width: b } = d.current.getBoundingClientRect(), Y = b / 2, I = d.current.querySelector("text");
250
- I && I.setAttribute("transform", `translate(${Y}, -10)`);
250
+ const { width: S } = d.current.getBoundingClientRect(), H = S / 2, I = d.current.querySelector("text");
251
+ I && I.setAttribute("transform", `translate(${H}, -10)`);
251
252
  }
252
253
  });
253
254
  });
254
- return d.current && g.observe(d.current), () => {
255
- d.current && g.unobserve(d.current);
255
+ return d.current && x.observe(d.current), () => {
256
+ d.current && x.unobserve(d.current);
256
257
  };
257
258
  }, []);
258
- const { ariaLabel: m, category: p, categoryGuid: u, formattedAmount: C, imageSize: k, merchantGuid: w } = n[i], x = a === i ? "bold" : 400;
259
- return /* @__PURE__ */ h("g", { "aria-label": m, children: [
260
- /* @__PURE__ */ e("rect", { ...s, fill: r[i], ref: d, rx: 2, style: o }),
261
- (w || u) && /* @__PURE__ */ e(
259
+ const { ariaLabel: m, category: p, categoryGuid: u, formattedAmount: C, imageSize: M, merchantGuid: b } = n[i], Z = o === i ? "bold" : 400;
260
+ return /* @__PURE__ */ c("g", { "aria-label": m, children: [
261
+ /* @__PURE__ */ e("rect", { ...s, fill: r[i], ref: d, rx: 2, style: a }),
262
+ (b || u) && /* @__PURE__ */ e(
262
263
  "foreignObject",
263
264
  {
264
- height: k || 32,
265
- width: k || 32,
266
- x: typeof o.x == "number" && typeof o.width == "number" ? o.x + o.width / 2 - (k || 32) / 2 : 0,
267
- y: typeof o.y == "number" && typeof o.height == "number" ? o.y + o.height / 2 - (k || 32) / 2 : 0,
265
+ height: M || 32,
266
+ width: M || 32,
267
+ x: typeof a.x == "number" && typeof a.width == "number" ? a.x + a.width / 2 - (M || 32) / 2 : 0,
268
+ y: typeof a.y == "number" && typeof a.height == "number" ? a.y + a.height / 2 - (M || 32) / 2 : 0,
268
269
  children: /* @__PURE__ */ e(
269
270
  _,
270
271
  {
271
272
  alt: p,
272
273
  categoryGuid: u || "",
273
- merchantGuid: w || "",
274
- size: k || 32
274
+ merchantGuid: b || "",
275
+ size: M || 32
275
276
  }
276
277
  )
277
278
  }
@@ -279,24 +280,24 @@ const fe = ({
279
280
  /* @__PURE__ */ e(
280
281
  "text",
281
282
  {
282
- fill: c.palette.text.primary,
283
+ fill: h.palette.text.primary,
283
284
  fontSize: 11,
284
- fontWeight: l ? "bold" : x,
285
+ fontWeight: l ? "bold" : Z,
285
286
  textAnchor: "middle",
286
- x: typeof o.x == "number" && typeof o.width == "number" ? o.x + o.width / 2 : 0,
287
- y: typeof o.y == "number" ? o.y - (p ? 26 : 14) : 0,
287
+ x: typeof a.x == "number" && typeof a.width == "number" ? a.x + a.width / 2 : 0,
288
+ y: typeof a.y == "number" ? a.y - (p ? 26 : 14) : 0,
288
289
  children: C
289
290
  }
290
291
  ),
291
292
  p && /* @__PURE__ */ e(
292
293
  "text",
293
294
  {
294
- fill: c.palette.text.secondary,
295
+ fill: h.palette.text.secondary,
295
296
  fontSize: 9,
296
- fontWeight: a === i && !l ? "bold" : 400,
297
+ fontWeight: o === i && !l ? "bold" : 400,
297
298
  textAnchor: "middle",
298
- x: typeof o.x == "number" && typeof o.width == "number" ? o.x + o.width / 2 : 0,
299
- y: typeof o.y == "number" ? o.y - 14 : 0,
299
+ x: typeof a.x == "number" && typeof a.width == "number" ? a.x + a.width / 2 : 0,
300
+ y: typeof a.y == "number" ? a.y - 14 : 0,
300
301
  children: p
301
302
  }
302
303
  )
@@ -306,37 +307,37 @@ const fe = ({
306
307
  color: n,
307
308
  data: i,
308
309
  isMini: l = !1,
309
- heightOverride: a,
310
- margin: o = {
310
+ heightOverride: o,
311
+ margin: a = {
311
312
  bottom: 30,
312
313
  left: 40,
313
314
  right: 40,
314
315
  top: 20
315
316
  },
316
317
  legendLabelAvg: s,
317
- legendLabelMain: c,
318
+ legendLabelMain: h,
318
319
  selectedTabIndex: d,
319
320
  removeSelectedTabColorChange: m,
320
321
  onBarClick: p
321
322
  }) => {
322
- const u = M.useRef(null), { height: C, width: k } = U(u), w = N(), g = i.reduce((S, H) => Math.min(S, H.value), 1 / 0) < 0, b = M.useMemo(() => {
323
- const S = `${n}80`;
324
- return m ? i.map(() => n) : d === void 0 ? [...new Array(i.length - 1).fill(S), n] : i.map((H, Z) => Z === d ? n : S);
325
- }, [n, i, d]), Y = M.useCallback(
326
- (S, { dataIndex: H }) => p && p(H),
323
+ const u = f.useRef(null), { height: C, width: M } = U(u), b = N(), x = i.reduce((w, R) => Math.min(w, R.value), 1 / 0) < 0, S = f.useMemo(() => {
324
+ const w = `${n}80`;
325
+ return m ? i.map(() => n) : d === void 0 ? [...new Array(i.length - 1).fill(w), n] : i.map((R, g) => g === d ? n : w);
326
+ }, [n, i, d]), H = f.useCallback(
327
+ (w, { dataIndex: R }) => p && p(R),
327
328
  [p]
328
- ), I = M.useMemo(() => {
329
- const S = i.map(({ value: R }) => R), H = Math.min(...S), Z = Math.max(...S);
329
+ ), I = f.useMemo(() => {
330
+ const w = i.map(({ value: Y }) => Y), R = Math.min(...w), g = Math.max(...w);
330
331
  return {
331
332
  series: [
332
333
  {
333
- data: S,
334
+ data: w,
334
335
  type: "bar"
335
336
  }
336
337
  ],
337
338
  xAxis: [
338
339
  {
339
- data: i.map(({ label: R }) => R),
340
+ data: i.map(({ label: Y }) => Y),
340
341
  scaleType: "band",
341
342
  categoryGapRatio: 0.45
342
343
  }
@@ -344,21 +345,21 @@ const fe = ({
344
345
  yAxis: [
345
346
  {
346
347
  scaleType: "linear",
347
- min: H < 0 ? H * 1.2 : 0,
348
+ min: R < 0 ? R * 1.2 : 0,
348
349
  // Extend the Y-axis range below the lowest negative value
349
- max: Z > 0 ? Z : 0
350
+ max: g > 0 ? g : 0
350
351
  // Ensure the Y-axis includes positive values
351
352
  }
352
353
  ]
353
354
  };
354
355
  }, [i]);
355
- return /* @__PURE__ */ h(E, { alignItems: "center", sx: { mb: l ? 16 : 24, width: "100%" }, children: [
356
+ return /* @__PURE__ */ c(E, { alignItems: "center", sx: { mb: l ? 16 : 24, width: "100%" }, children: [
356
357
  /* @__PURE__ */ e(
357
358
  y,
358
359
  {
359
360
  ref: u,
360
361
  sx: {
361
- height: a || (l ? 120 : 172),
362
+ height: o || (l ? 120 : 172),
362
363
  mb: 8,
363
364
  touchAction: "pan-y",
364
365
  width: "100%",
@@ -370,20 +371,20 @@ const fe = ({
370
371
  touchAction: "pan-y"
371
372
  }
372
373
  },
373
- children: /* @__PURE__ */ h(
374
+ children: /* @__PURE__ */ c(
374
375
  E1,
375
376
  {
376
377
  height: C,
377
378
  margin: {
378
- top: o.top || 45,
379
- right: o.right,
380
- bottom: o.bottom,
381
- left: o.left
379
+ top: a.top || 45,
380
+ right: a.right,
381
+ bottom: a.bottom,
382
+ left: a.left
382
383
  },
383
384
  series: I.series,
384
- width: k,
385
+ width: M,
385
386
  xAxis: I.xAxis,
386
- yAxis: I.yAxis.map((S) => ({ ...S, width: 0 })),
387
+ yAxis: I.yAxis.map((w) => ({ ...w, width: 0 })),
387
388
  children: [
388
389
  r?.average && // show average line if available
389
390
  /* @__PURE__ */ e(
@@ -391,7 +392,7 @@ const fe = ({
391
392
  {
392
393
  labelAlign: "middle",
393
394
  lineStyle: {
394
- stroke: w.palette.border.darker,
395
+ stroke: b.palette.border.darker,
395
396
  strokeDasharray: "0.1 5.9",
396
397
  strokeLinecap: "round",
397
398
  strokeWidth: 2
@@ -399,13 +400,13 @@ const fe = ({
399
400
  y: r?.average
400
401
  }
401
402
  ),
402
- g && // show lowest value line if negative values are allowed and if the lowest value is negative
403
+ x && // show lowest value line if negative values are allowed and if the lowest value is negative
403
404
  /* @__PURE__ */ e(
404
405
  q,
405
406
  {
406
407
  labelAlign: "middle",
407
408
  lineStyle: {
408
- stroke: w.palette.border.dark
409
+ stroke: b.palette.border.dark
409
410
  },
410
411
  y: 0
411
412
  }
@@ -417,31 +418,31 @@ const fe = ({
417
418
  position: "bottom",
418
419
  slots: {
419
420
  // eslint-disable-next-line @typescript-eslint/no-unused-vars
420
- axisTickLabel: ({ text: S, ownerState: H, ...Z }) => {
421
- const R = i[d ?? i.length - 1]?.label;
421
+ axisTickLabel: ({ text: w, ownerState: R, ...g }) => {
422
+ const Y = i[d ?? i.length - 1]?.label;
422
423
  return /* @__PURE__ */ e(
423
424
  "text",
424
425
  {
425
- ...Z,
426
+ ...g,
426
427
  style: {
427
- ...Z.style,
428
- fontWeight: !m && R === S ? "bold" : 400
428
+ ...g.style,
429
+ fontWeight: !m && Y === w ? "bold" : 400
429
430
  },
430
- children: S
431
+ children: w
431
432
  }
432
433
  );
433
434
  }
434
435
  },
435
- sx: (S) => ({
436
+ sx: (w) => ({
436
437
  ".MuiChartsAxis-line": {
437
- stroke: g ? "none" : S.palette.border?.dark
438
+ stroke: x ? "none" : w.palette.border?.dark
438
439
  // If there is a negative value hide this line and use the reference line
439
440
  },
440
441
  "MuiChartsAxis-root-MuiChartsXAxis-root": {
441
442
  transform: "translate(0, 150)"
442
443
  },
443
444
  ".MuiChartsAxis-tickLabel": {
444
- transform: g ? "translateY(15px)" : {}
445
+ transform: x ? "translateY(15px)" : {}
445
446
  // Add padding to move labels further down. Must use an empty transform to prevent errors
446
447
  }
447
448
  }),
@@ -453,24 +454,24 @@ const fe = ({
453
454
  /* @__PURE__ */ e(
454
455
  y1,
455
456
  {
456
- onItemClick: Y,
457
+ onItemClick: H,
457
458
  slots: {
458
- bar: (S) => {
459
- const { ownerState: H, ...Z } = S;
459
+ bar: (w) => {
460
+ const { ownerState: R, ...g } = w;
460
461
  return /* @__PURE__ */ e(
461
462
  Ze,
462
463
  {
463
- ...Z,
464
- colorRange: b,
464
+ ...g,
465
+ colorRange: S,
465
466
  data: i,
466
- dataIndex: H.dataIndex,
467
+ dataIndex: R.dataIndex,
467
468
  removeSelectedTabColorChange: m,
468
- selectedTabIndex: d || i.length - 1,
469
+ selectedTabIndex: d ?? i.length - 1,
469
470
  style: {
470
- height: S.height,
471
- x: S.x,
472
- y: S.y,
473
- width: S.width
471
+ height: w.height,
472
+ x: w.x,
473
+ y: w.y,
474
+ width: w.width
474
475
  }
475
476
  }
476
477
  );
@@ -483,14 +484,14 @@ const fe = ({
483
484
  )
484
485
  }
485
486
  ),
486
- (c || s) && /* @__PURE__ */ e(
487
+ (h || s) && /* @__PURE__ */ e(
487
488
  ge,
488
489
  {
489
490
  average: r?.formattedAverage,
490
491
  color: n,
491
492
  legendLabelAvg: s,
492
- legendLabelMain: c,
493
- legendStyle: { mr: o.left + o.right }
493
+ legendLabelMain: h,
494
+ legendStyle: { mr: a.left + a.right }
494
495
  }
495
496
  )
496
497
  ] });
@@ -499,11 +500,11 @@ const fe = ({
499
500
  legendStyle: n = {},
500
501
  monthlyAmount: i,
501
502
  monthlyAmountLabel: l,
502
- trendAmount: a,
503
- trendAmountLabel: o
503
+ trendAmount: o,
504
+ trendAmountLabel: a
504
505
  }) => {
505
506
  const s = N();
506
- return /* @__PURE__ */ h(
507
+ return /* @__PURE__ */ c(
507
508
  E,
508
509
  {
509
510
  sx: {
@@ -516,7 +517,7 @@ const fe = ({
516
517
  ...n
517
518
  },
518
519
  children: [
519
- l && /* @__PURE__ */ h(E, { sx: { alignItems: "center", flexDirection: "row", gap: 8 }, children: [
520
+ l && /* @__PURE__ */ c(E, { sx: { alignItems: "center", flexDirection: "row", gap: 8 }, children: [
520
521
  /* @__PURE__ */ e(
521
522
  "svg",
522
523
  {
@@ -529,13 +530,13 @@ const fe = ({
529
530
  children: /* @__PURE__ */ e("rect", { fill: r, height: "12", rx: "2", width: "12" })
530
531
  }
531
532
  ),
532
- /* @__PURE__ */ h(f, { id: "chartLegendLabel", variant: "caption", children: [
533
+ /* @__PURE__ */ c(k, { id: "chartLegendLabel", variant: "caption", children: [
533
534
  l,
534
535
  ": ",
535
536
  i
536
537
  ] })
537
538
  ] }),
538
- o && /* @__PURE__ */ h(E, { sx: { alignItems: "center", flexDirection: "row", gap: 8 }, children: [
539
+ a && /* @__PURE__ */ c(E, { sx: { alignItems: "center", flexDirection: "row", gap: 8 }, children: [
539
540
  /* @__PURE__ */ e(
540
541
  "svg",
541
542
  {
@@ -548,10 +549,10 @@ const fe = ({
548
549
  children: /* @__PURE__ */ e("rect", { fill: s.palette.chart.chart7, height: "12", rx: "2", width: "12" })
549
550
  }
550
551
  ),
551
- /* @__PURE__ */ h(f, { id: "chartLegendLabel", variant: "caption", children: [
552
- o,
552
+ /* @__PURE__ */ c(k, { id: "chartLegendLabel", variant: "caption", children: [
553
+ a,
553
554
  ": ",
554
- a
555
+ o
555
556
  ] })
556
557
  ] })
557
558
  ]
@@ -566,17 +567,17 @@ const fe = ({
566
567
  data: n,
567
568
  dataIndex: i,
568
569
  removeSelectedTabColorChange: l,
569
- selectedTabIndex: a,
570
- style: o,
570
+ selectedTabIndex: o,
571
+ style: a,
571
572
  ...s
572
573
  }) => {
573
- const c = N(), { ariaLabel: d, formattedAmount: m } = n[i], p = a === i ? "bold" : 400, u = o.x ?? 0, C = o.y ?? 0, k = o.width ?? 0, w = o.height ?? 0;
574
- return /* @__PURE__ */ h("g", { "aria-label": d, children: [
574
+ const h = N(), { ariaLabel: d, formattedAmount: m } = n[i], p = o === i ? "bold" : 400, u = a.x ?? 0, C = a.y ?? 0, M = a.width ?? 0, b = a.height ?? 0;
575
+ return /* @__PURE__ */ c("g", { "aria-label": d, children: [
575
576
  /* @__PURE__ */ e(
576
577
  "path",
577
578
  {
578
579
  ...s,
579
- d: we(k, w),
580
+ d: we(M, b),
580
581
  fill: r[i],
581
582
  transform: `translate(${u}, ${C})`
582
583
  }
@@ -584,11 +585,11 @@ const fe = ({
584
585
  /* @__PURE__ */ e(
585
586
  "text",
586
587
  {
587
- fill: c.palette.text.primary,
588
+ fill: h.palette.text.primary,
588
589
  fontSize: 11,
589
590
  fontWeight: l ? "bold" : p,
590
591
  textAnchor: "middle",
591
- x: u + k / 2,
592
+ x: u + M / 2,
592
593
  y: C - 8,
593
594
  children: m
594
595
  }
@@ -599,25 +600,25 @@ const fe = ({
599
600
  color: n,
600
601
  data: i,
601
602
  heightOverride: l,
602
- margin: a = {
603
+ margin: o = {
603
604
  bottom: 30,
604
605
  left: 40,
605
606
  right: 40,
606
607
  top: 20
607
608
  },
608
- onBarClick: o,
609
+ onBarClick: a,
609
610
  legendPosition: s = "bottom",
610
- monthlyAmountLabel: c,
611
+ monthlyAmountLabel: h,
611
612
  removeSelectedTabColorChange: d,
612
613
  selectedTabIndex: m,
613
614
  trendAmountLabel: p
614
615
  }) => {
615
- const u = M.useRef(null), { height: C, width: k } = U(u), w = N(), x = M.useMemo(() => {
616
- const Z = i.map(({ value: z }) => z), R = Math.min(...Z), D = Math.max(...Z);
616
+ const u = f.useRef(null), { height: C, width: M } = U(u), b = N(), Z = f.useMemo(() => {
617
+ const g = i.map(({ value: z }) => z), Y = Math.min(...g), D = Math.max(...g);
617
618
  return {
618
619
  series: [
619
620
  {
620
- data: Z,
621
+ data: g,
621
622
  type: "bar"
622
623
  }
623
624
  ],
@@ -631,30 +632,30 @@ const fe = ({
631
632
  yAxis: [
632
633
  {
633
634
  scaleType: "linear",
634
- min: R < 0 ? R * 1.2 : 0,
635
+ min: Y < 0 ? Y * 1.2 : 0,
635
636
  max: D > 0 ? D : 0
636
637
  }
637
638
  ]
638
639
  };
639
- }, [i]), g = M.useMemo(() => {
640
- const Z = `${n}80`;
641
- return d ? i.map(() => n) : m === void 0 ? [...new Array(i.length - 1).fill(Z), n] : i.map((R, D) => D === m ? n : Z);
642
- }, [n, i, m]), b = M.useMemo(
643
- () => i[m || i.length - 1],
640
+ }, [i]), x = f.useMemo(() => {
641
+ const g = `${n}80`;
642
+ return d ? i.map(() => n) : m == null ? [...new Array(i.length - 1).fill(g), n] : i.map((Y, D) => D === m ? n : g);
643
+ }, [n, i, m]), S = f.useMemo(
644
+ () => i[m ?? i.length - 1],
644
645
  [i, m]
645
- ), I = i.reduce((Z, R) => Math.min(Z, R.value), 1 / 0) < 0, O = /* @__PURE__ */ e(
646
+ ), I = i.reduce((g, Y) => Math.min(g, Y.value), 1 / 0) < 0, O = /* @__PURE__ */ e(
646
647
  Se,
647
648
  {
648
649
  color: n,
649
- legendStyle: { pl: a.left },
650
- monthlyAmount: b.formattedAmount,
651
- monthlyAmountLabel: c,
650
+ legendStyle: { pl: o.left },
651
+ monthlyAmount: S.formattedAmount,
652
+ monthlyAmountLabel: h,
652
653
  trendAmount: r?.formattedAverage,
653
654
  trendAmountLabel: p
654
655
  }
655
- ), S = c || p, H = (Z, { dataIndex: R }) => o?.(R);
656
- return /* @__PURE__ */ h(E, { sx: { alignItems: "center", width: "100%" }, children: [
657
- S && s === "top" && O,
656
+ ), w = h || p, R = (g, { dataIndex: Y }) => a?.(Y);
657
+ return /* @__PURE__ */ c(E, { sx: { alignItems: "center", width: "100%" }, children: [
658
+ w && s === "top" && O,
658
659
  /* @__PURE__ */ e(
659
660
  y,
660
661
  {
@@ -673,19 +674,19 @@ const fe = ({
673
674
  touchAction: "pan-y"
674
675
  }
675
676
  },
676
- children: /* @__PURE__ */ h(
677
+ children: /* @__PURE__ */ c(
677
678
  E1,
678
679
  {
679
680
  height: C,
680
681
  margin: {
681
- bottom: a.bottom,
682
- left: a.left,
683
- right: a.right,
684
- top: a.top || 45
682
+ bottom: o.bottom,
683
+ left: o.left,
684
+ right: o.right,
685
+ top: o.top || 45
685
686
  },
686
- series: x.series,
687
- width: k,
688
- xAxis: x.xAxis,
687
+ series: Z.series,
688
+ width: M,
689
+ xAxis: Z.xAxis,
689
690
  yAxis: [{ width: 0 }],
690
691
  children: [
691
692
  r?.average && /* @__PURE__ */ e(
@@ -693,7 +694,7 @@ const fe = ({
693
694
  {
694
695
  labelAlign: "middle",
695
696
  lineStyle: {
696
- stroke: w.palette.chart.chart7,
697
+ stroke: b.palette.chart.chart7,
697
698
  strokeDasharray: "4",
698
699
  strokeLinecap: "round",
699
700
  strokeWidth: 1
@@ -706,7 +707,7 @@ const fe = ({
706
707
  {
707
708
  labelAlign: "middle",
708
709
  lineStyle: {
709
- stroke: w.palette.chart.chart7
710
+ stroke: b.palette.chart.chart7
710
711
  },
711
712
  y: 0
712
713
  }
@@ -717,7 +718,7 @@ const fe = ({
717
718
  position: "bottom",
718
719
  slots: {
719
720
  // eslint-disable-next-line @typescript-eslint/no-unused-vars
720
- axisTickLabel: ({ text: Z, ownerState: R, ...D }) => {
721
+ axisTickLabel: ({ text: g, ownerState: Y, ...D }) => {
721
722
  const z = i[m ?? i.length - 1]?.label;
722
723
  return /* @__PURE__ */ e(
723
724
  "text",
@@ -725,16 +726,16 @@ const fe = ({
725
726
  ...D,
726
727
  style: {
727
728
  ...D.style,
728
- fontWeight: !d && z === Z ? "bold" : 400
729
+ fontWeight: !d && z === g ? "bold" : 400
729
730
  },
730
- children: Z
731
+ children: g
731
732
  }
732
733
  );
733
734
  }
734
735
  },
735
- sx: (Z) => ({
736
+ sx: (g) => ({
736
737
  "& .MuiChartsAxis-line": {
737
- stroke: I ? "none" : Z.palette.text?.primary
738
+ stroke: I ? "none" : g.palette.text?.primary
738
739
  },
739
740
  "& .MuiChartsAxis-tickContainer:first-of-type .MuiChartsAxis-tick": {
740
741
  display: "none"
@@ -751,24 +752,24 @@ const fe = ({
751
752
  /* @__PURE__ */ e(
752
753
  y1,
753
754
  {
754
- onItemClick: H,
755
+ onItemClick: R,
755
756
  slots: {
756
- bar: (Z) => {
757
- const { ownerState: R, ...D } = Z;
757
+ bar: (g) => {
758
+ const { ownerState: Y, ...D } = g;
758
759
  return /* @__PURE__ */ e(
759
760
  be,
760
761
  {
761
762
  ...D,
762
- colorRange: g,
763
+ colorRange: x,
763
764
  data: i,
764
- dataIndex: R.dataIndex,
765
+ dataIndex: Y.dataIndex,
765
766
  removeSelectedTabColorChange: d,
766
- selectedTabIndex: m || i.length - 1,
767
+ selectedTabIndex: m ?? i.length - 1,
767
768
  style: {
768
- height: Z.height,
769
- x: Z.x,
770
- y: Z.y,
771
- width: Z.width
769
+ height: g.height,
770
+ x: g.x,
771
+ y: g.y,
772
+ width: g.width
772
773
  }
773
774
  }
774
775
  );
@@ -781,50 +782,50 @@ const fe = ({
781
782
  )
782
783
  }
783
784
  ),
784
- S && s === "bottom" && O
785
+ w && s === "bottom" && O
785
786
  ] });
786
787
  }, Je = ({
787
788
  color: r,
788
789
  data: n,
789
790
  series: i,
790
791
  style: l,
791
- ...a
792
+ ...o
792
793
  }) => {
793
- const o = N(), s = M.useRef(null), c = M.useRef(null), [d, m] = M.useState(l.width || 0);
794
- M.useLayoutEffect(() => {
794
+ const a = N(), s = f.useRef(null), h = f.useRef(null), [d, m] = f.useState(l.width || 0);
795
+ f.useLayoutEffect(() => {
795
796
  m(l.width || 0);
796
- }, [l.width]), M.useLayoutEffect(() => {
797
- const Y = new ResizeObserver(() => {
797
+ }, [l.width]), f.useLayoutEffect(() => {
798
+ const H = new ResizeObserver(() => {
798
799
  window.requestAnimationFrame(() => {
799
800
  if (s.current) {
800
- const { width: I } = s.current.getBoundingClientRect(), O = I / 2, S = s.current.querySelector("text");
801
- S && S.setAttribute("transform", `translate(${O}, -8)`);
801
+ const { width: I } = s.current.getBoundingClientRect(), O = I / 2, w = s.current.querySelector("text");
802
+ w && w.setAttribute("transform", `translate(${O}, -8)`);
802
803
  }
803
804
  });
804
805
  });
805
- return s.current && Y.observe(s.current), () => {
806
- s.current && Y.unobserve(s.current);
806
+ return s.current && H.observe(s.current), () => {
807
+ s.current && H.unobserve(s.current);
807
808
  };
808
809
  }, []);
809
- const { ariaLabelComparison: p, ariaLabelMain: u, formattedComparison: C, formattedMain: k } = n[i.index], w = i.type === 0 ? u : p, x = i.type === 0 ? k : C, g = {
810
+ const { ariaLabelComparison: p, ariaLabelMain: u, formattedComparison: C, formattedMain: M } = n[i.index], b = i.type === 0 ? u : p, Z = i.type === 0 ? M : C, x = {
810
811
  ...l,
811
812
  transition: "all 0.3s ease-in-out"
812
- }, b = `translate(${d / 2}, -5)`;
813
- return /* @__PURE__ */ h("g", { "aria-label": w, children: [
814
- /* @__PURE__ */ e("rect", { ...a, fill: r, ref: s, rx: 2, style: g }),
813
+ }, S = `translate(${d / 2}, -5)`;
814
+ return /* @__PURE__ */ c("g", { "aria-label": b, children: [
815
+ /* @__PURE__ */ e("rect", { ...o, fill: r, ref: s, rx: 2, style: x }),
815
816
  /* @__PURE__ */ e(
816
817
  "text",
817
818
  {
818
- fill: o.palette.text.secondary,
819
+ fill: a.palette.text.secondary,
819
820
  fontSize: 9,
820
821
  fontWeight: 400,
821
- ref: c,
822
+ ref: h,
822
823
  style: { transition: "transform 0.3s ease-in-out" },
823
824
  textAnchor: "middle",
824
- transform: b,
825
+ transform: S,
825
826
  x: l.x,
826
827
  y: l.y,
827
- children: x
828
+ children: Z
828
829
  }
829
830
  )
830
831
  ] });
@@ -833,8 +834,8 @@ const fe = ({
833
834
  legendLabelComparison: n,
834
835
  legendLabelMain: i,
835
836
  legendStyle: l = {},
836
- mainColor: a
837
- }) => /* @__PURE__ */ h(
837
+ mainColor: o
838
+ }) => /* @__PURE__ */ c(
838
839
  E,
839
840
  {
840
841
  sx: {
@@ -846,7 +847,7 @@ const fe = ({
846
847
  ...l
847
848
  },
848
849
  children: [
849
- i && /* @__PURE__ */ h(E, { alignItems: "center", flexDirection: "row", gap: 8, children: [
850
+ i && /* @__PURE__ */ c(E, { alignItems: "center", flexDirection: "row", gap: 8, children: [
850
851
  /* @__PURE__ */ e(
851
852
  "svg",
852
853
  {
@@ -856,12 +857,12 @@ const fe = ({
856
857
  height: "6",
857
858
  role: "figure",
858
859
  width: "7",
859
- children: /* @__PURE__ */ e("rect", { fill: a, height: "6", rx: "2", width: "6", x: "0.4375" })
860
+ children: /* @__PURE__ */ e("rect", { fill: o, height: "6", rx: "2", width: "6", x: "0.4375" })
860
861
  }
861
862
  ),
862
- /* @__PURE__ */ e(f, { id: "legendMain", sx: { fontSize: 11, fontWeight: 400 }, variant: "XSmall", children: i })
863
+ /* @__PURE__ */ e(k, { id: "legendMain", sx: { fontSize: 11, fontWeight: 400 }, variant: "XSmall", children: i })
863
864
  ] }),
864
- n && /* @__PURE__ */ h(E, { alignItems: "center", flexDirection: "row", gap: 8, children: [
865
+ n && /* @__PURE__ */ c(E, { alignItems: "center", flexDirection: "row", gap: 8, children: [
865
866
  /* @__PURE__ */ e(
866
867
  "svg",
867
868
  {
@@ -874,7 +875,7 @@ const fe = ({
874
875
  children: /* @__PURE__ */ e("rect", { fill: r, height: "6", rx: "2", width: "6", x: "0.4375" })
875
876
  }
876
877
  ),
877
- /* @__PURE__ */ e(f, { id: "legendComparison", sx: { fontSize: 11, fontWeight: 400 }, variant: "XSmall", children: n })
878
+ /* @__PURE__ */ e(k, { id: "legendComparison", sx: { fontSize: 11, fontWeight: 400 }, variant: "XSmall", children: n })
878
879
  ] })
879
880
  ]
880
881
  }
@@ -883,10 +884,10 @@ const fe = ({
883
884
  barGapRatio: n = 0,
884
885
  categoryGapRatio: i = 0.2,
885
886
  colors: l,
886
- data: a,
887
- isMini: o = !1,
887
+ data: o,
888
+ isMini: a = !1,
888
889
  legendLabelComparison: s,
889
- legendLabelMain: c,
890
+ legendLabelMain: h,
890
891
  margin: d = {
891
892
  bottom: 30,
892
893
  left: 40,
@@ -895,17 +896,17 @@ const fe = ({
895
896
  },
896
897
  onBarClick: m
897
898
  }) => {
898
- const p = N(), u = M.useRef(null), { height: C, width: k } = U(u), w = ({ dataIndex: x, seriesId: g }) => {
899
- const b = g.toString().split("-").pop();
900
- m?.(x * 2 + Number(b));
899
+ const p = N(), u = f.useRef(null), { height: C, width: M } = U(u), b = ({ dataIndex: Z, seriesId: x }) => {
900
+ const S = x.toString().split("-").pop();
901
+ m?.(Z * 2 + Number(S));
901
902
  };
902
- return /* @__PURE__ */ h(E, { alignItems: "center", sx: { mb: o ? 16 : 24, width: "100%" }, children: [
903
+ return /* @__PURE__ */ c(E, { alignItems: "center", sx: { mb: a ? 16 : 24, width: "100%" }, children: [
903
904
  /* @__PURE__ */ e(
904
905
  y,
905
906
  {
906
907
  ref: u,
907
908
  sx: {
908
- height: o ? 120 : 172,
909
+ height: a ? 120 : 172,
909
910
  mb: 8,
910
911
  touchAction: "pan-y",
911
912
  width: "100%",
@@ -917,18 +918,18 @@ const fe = ({
917
918
  touchAction: "pan-y"
918
919
  }
919
920
  },
920
- children: /* @__PURE__ */ h(
921
+ children: /* @__PURE__ */ c(
921
922
  E1,
922
923
  {
923
924
  colors: l,
924
- dataset: a,
925
+ dataset: o,
925
926
  height: C,
926
927
  margin: d,
927
928
  series: [
928
929
  { dataKey: "main", type: "bar" },
929
930
  { dataKey: "comparison", type: "bar" }
930
931
  ],
931
- width: k,
932
+ width: M,
932
933
  xAxis: [{ barGapRatio: n, categoryGapRatio: i, dataKey: "label", scaleType: "band" }],
933
934
  yAxis: [{ width: 0 }],
934
935
  children: [
@@ -950,9 +951,9 @@ const fe = ({
950
951
  {
951
952
  disableTicks: !0,
952
953
  position: "bottom",
953
- sx: (x) => ({
954
+ sx: (Z) => ({
954
955
  ".MuiChartsAxis-line": {
955
- stroke: x.palette.border?.darker
956
+ stroke: Z.palette.border?.darker
956
957
  }
957
958
  }),
958
959
  tickLabelStyle: {
@@ -965,25 +966,25 @@ const fe = ({
965
966
  /* @__PURE__ */ e(
966
967
  y1,
967
968
  {
968
- onItemClick: (x, { dataIndex: g, seriesId: b }) => w({ dataIndex: g, seriesId: b.toString() }),
969
+ onItemClick: (Z, { dataIndex: x, seriesId: S }) => b({ dataIndex: x, seriesId: S.toString() }),
969
970
  slots: {
970
- bar: (x) => {
971
- const { ownerState: g, ...b } = x;
971
+ bar: (Z) => {
972
+ const { ownerState: x, ...S } = Z;
972
973
  return /* @__PURE__ */ e(
973
974
  Je,
974
975
  {
975
- ...b,
976
- color: g.color,
977
- data: a,
976
+ ...S,
977
+ color: x.color,
978
+ data: o,
978
979
  series: {
979
- index: g.dataIndex,
980
- type: Number(g.id.toString().split("-").pop())
980
+ index: x.dataIndex,
981
+ type: Number(x.id.toString().split("-").pop())
981
982
  },
982
983
  style: {
983
- height: x.height,
984
- x: x.x,
985
- y: x.y,
986
- width: x.width
984
+ height: Z.height,
985
+ x: Z.x,
986
+ y: Z.y,
987
+ width: Z.width
987
988
  }
988
989
  }
989
990
  );
@@ -996,12 +997,12 @@ const fe = ({
996
997
  )
997
998
  }
998
999
  ),
999
- (s || c) && /* @__PURE__ */ e(
1000
+ (s || h) && /* @__PURE__ */ e(
1000
1001
  Le,
1001
1002
  {
1002
1003
  comparisonColor: l[1],
1003
1004
  legendLabelComparison: s,
1004
- legendLabelMain: c,
1005
+ legendLabelMain: h,
1005
1006
  legendStyle: { mr: d.left + d.right },
1006
1007
  mainColor: l[0]
1007
1008
  }
@@ -1011,15 +1012,15 @@ const fe = ({
1011
1012
  r.forEach((i) => {
1012
1013
  const l = Ye(i);
1013
1014
  if (l) {
1014
- const a = l.getAttribute("stroke"), o = l.getAttribute("fill");
1015
- if (a && a !== "white" && l.style.setProperty("stroke", n), o) {
1016
- const s = o === "white" ? "white" : n;
1015
+ const o = l.getAttribute("stroke"), a = l.getAttribute("fill");
1016
+ if (o && o !== "white" && l.style.setProperty("stroke", n), a) {
1017
+ const s = a === "white" ? "white" : n;
1017
1018
  l.style.setProperty("fill", s);
1018
1019
  }
1019
1020
  }
1020
1021
  });
1021
1022
  }, j = ({ divProps: r, image: n, isMini: i = !1 }) => {
1022
- const l = N(), a = m1(null), o = {
1023
+ const l = N(), o = m1(null), a = {
1023
1024
  100: l.palette.primary.lighter,
1024
1025
  200: l.palette.primary.light,
1025
1026
  300: l.palette.primary.main,
@@ -1027,13 +1028,13 @@ const fe = ({
1027
1028
  500: l.palette.primary.darker
1028
1029
  };
1029
1030
  return L1(() => {
1030
- if (!a.current) return;
1031
- const s = a.current, c = s.querySelectorAll(".Overlay");
1031
+ if (!o.current) return;
1032
+ const s = o.current, h = s.querySelectorAll(".Overlay");
1032
1033
  ["brand100", "brand200", "brand300", "brand400", "brand500"].forEach((m) => {
1033
1034
  const p = s.querySelectorAll(`.${m}`), u = m.replace("brand", "");
1034
- S1(p, o[u]);
1035
- }), S1(c, o[300]);
1036
- }, [o]), /* @__PURE__ */ e(
1035
+ S1(p, a[u]);
1036
+ }), S1(h, a[300]);
1037
+ }, [a]), /* @__PURE__ */ e(
1037
1038
  "div",
1038
1039
  {
1039
1040
  style: {
@@ -1041,7 +1042,7 @@ const fe = ({
1041
1042
  width: "100%"
1042
1043
  },
1043
1044
  ...r,
1044
- children: /* @__PURE__ */ e(n, { ref: a })
1045
+ children: /* @__PURE__ */ e(n, { ref: o })
1045
1046
  }
1046
1047
  );
1047
1048
  };
@@ -1053,36 +1054,38 @@ const Ie = ({
1053
1054
  barChartProps: n,
1054
1055
  beat: i,
1055
1056
  data: l,
1056
- defaultSelectedIndex: a = 0,
1057
- icon: o,
1057
+ defaultSelectedIndex: o = 0,
1058
+ icon: a,
1058
1059
  isOpen: s = !1,
1059
- onClose: c,
1060
- tipSection: d,
1061
- title: m,
1062
- transactionListProps: p = {}
1060
+ onClose: h,
1061
+ onTabChange: d,
1062
+ tipSection: m,
1063
+ title: p,
1064
+ transactionListProps: u = {}
1063
1065
  }) => {
1064
- const { common: u, transactions: C } = B1(), { sortedTransactionsWithSplits: k, tags: w } = q1();
1065
- return /* @__PURE__ */ e(_1, { ariaLabelClose: u.close_aria, isOpen: s, onClose: c, title: m, children: /* @__PURE__ */ e(
1066
+ const { common: C, transactions: M } = B1(), { sortedTransactionsWithSplits: b, tags: Z } = q1();
1067
+ return /* @__PURE__ */ e(_1, { ariaLabelClose: C.close_aria, isOpen: s, onClose: h, title: p, children: /* @__PURE__ */ e(
1066
1068
  xe,
1067
1069
  {
1068
1070
  ariaLabel: r,
1069
1071
  beat: i,
1070
- chart: (x, g) => /* @__PURE__ */ e(y, { sx: { pt: 16 }, children: /* @__PURE__ */ e(
1072
+ chart: (x, S) => /* @__PURE__ */ e(y, { sx: { pt: 16 }, children: /* @__PURE__ */ e(
1071
1073
  C1,
1072
1074
  {
1073
1075
  ...n,
1074
- onBarClick: (b) => {
1075
- g(b), n.onBarClick?.(b);
1076
+ onBarClick: (H) => {
1077
+ S(H), n.onBarClick?.(H);
1076
1078
  },
1077
1079
  selectedTabIndex: x
1078
1080
  }
1079
1081
  ) }),
1080
1082
  data: l,
1081
- defaultSelectedIndex: a,
1082
- icon: o,
1083
- tipSection: d,
1084
- children: () => /* @__PURE__ */ h(M.Fragment, { children: [
1085
- /* @__PURE__ */ h(
1083
+ defaultSelectedIndex: o,
1084
+ icon: a,
1085
+ onTabChange: d,
1086
+ tipSection: m,
1087
+ children: () => /* @__PURE__ */ c(f.Fragment, { children: [
1088
+ /* @__PURE__ */ c(
1086
1089
  E,
1087
1090
  {
1088
1091
  sx: {
@@ -1097,20 +1100,20 @@ const Ie = ({
1097
1100
  px: 24
1098
1101
  },
1099
1102
  children: [
1100
- /* @__PURE__ */ e(f, { bold: !0, variant: "body1", children: C.transactions_title }),
1101
- k.length > 0 && /* @__PURE__ */ e(
1103
+ /* @__PURE__ */ e(k, { bold: !0, variant: "body1", children: M.transactions_title }),
1104
+ b.length > 0 && /* @__PURE__ */ e(
1102
1105
  T,
1103
1106
  {
1104
- onClick: () => P1(k, w),
1107
+ onClick: () => P1(b, Z),
1105
1108
  startIcon: /* @__PURE__ */ e(J, { name: "ios_share" }),
1106
1109
  sx: { height: 28 },
1107
- children: /* @__PURE__ */ e(f, { bold: !0, variant: "body2", children: C.export_csv_btn })
1110
+ children: /* @__PURE__ */ e(k, { bold: !0, variant: "body2", children: M.export_csv_btn })
1108
1111
  }
1109
1112
  )
1110
1113
  ]
1111
1114
  }
1112
1115
  ),
1113
- /* @__PURE__ */ e(F1, { ...p })
1116
+ /* @__PURE__ */ e(F1, { ...u })
1114
1117
  ] })
1115
1118
  }
1116
1119
  ) });
@@ -1141,14 +1144,14 @@ const Ie = ({
1141
1144
  percent: i,
1142
1145
  height: l = 12
1143
1146
  }) => {
1144
- const [a, o] = ie({ triggerOnce: !0 }), [s, c] = M.useState("0%"), d = i > 100 ? 100 : i;
1145
- return M.useEffect(() => {
1146
- o && c(`${d}%`);
1147
- }, [o, d]), /* @__PURE__ */ e(M.Fragment, { children: /* @__PURE__ */ h(
1147
+ const [o, a] = ie({ triggerOnce: !0 }), [s, h] = f.useState("0%"), d = i > 100 ? 100 : i;
1148
+ return f.useEffect(() => {
1149
+ a && h(`${d}%`);
1150
+ }, [a, d]), /* @__PURE__ */ e(f.Fragment, { children: /* @__PURE__ */ c(
1148
1151
  y,
1149
1152
  {
1150
1153
  "data-ui-test": "progress-bar",
1151
- ref: a,
1154
+ ref: o,
1152
1155
  sx: {
1153
1156
  position: "relative",
1154
1157
  borderRadius: 8,
@@ -1190,9 +1193,9 @@ const Ie = ({
1190
1193
  goalPercentage: n,
1191
1194
  height: i = 8,
1192
1195
  percentageCompleteText: l,
1193
- progressColorOverride: a
1194
- }) => /* @__PURE__ */ h(y, { className: "mx-insights-goal-progress", "data-ui-test": "goal-progress", sx: { mb: 16 }, children: [
1195
- /* @__PURE__ */ h(
1196
+ progressColorOverride: o
1197
+ }) => /* @__PURE__ */ c(y, { className: "mx-insights-goal-progress", "data-ui-test": "goal-progress", sx: { mb: 16 }, children: [
1198
+ /* @__PURE__ */ c(
1196
1199
  E,
1197
1200
  {
1198
1201
  sx: {
@@ -1220,7 +1223,7 @@ const Ie = ({
1220
1223
  De,
1221
1224
  {
1222
1225
  backgroundColor: r || "background.highlight",
1223
- color: a || "primary.main",
1226
+ color: o || "primary.main",
1224
1227
  height: i,
1225
1228
  percent: n
1226
1229
  }
@@ -1229,7 +1232,7 @@ const Ie = ({
1229
1232
  children: r,
1230
1233
  gradientOverride: n,
1231
1234
  title: i
1232
- }) => /* @__PURE__ */ h(
1235
+ }) => /* @__PURE__ */ c(
1233
1236
  y,
1234
1237
  {
1235
1238
  className: "mx-insights-gradient-box",
@@ -1265,33 +1268,33 @@ const Ie = ({
1265
1268
  children: n,
1266
1269
  DismissedBeat: i,
1267
1270
  headerTextOverride: l,
1268
- setRefs: a,
1269
- subHeader: o,
1271
+ setRefs: o,
1272
+ subHeader: a,
1270
1273
  height: s
1271
1274
  }) => {
1272
- const [c, d] = M.useState(null), m = () => {
1275
+ const [h, d] = f.useState(null), m = () => {
1273
1276
  const p = document.getElementsByClassName("mx-mini-insight-card")[0].clientHeight, u = document.getElementsByClassName("mx-mini-insight-card-header")[0].clientHeight + document.getElementsByClassName("mx-mini-insight-card-content-body")[0].clientHeight, C = p - u - 24;
1274
1277
  d(Math.floor(C / 20));
1275
1278
  };
1276
- return M.useEffect(() => (m(), window.addEventListener("resize", m), () => window.removeEventListener("resize", m)), []), /* @__PURE__ */ e(
1279
+ return f.useEffect(() => (m(), window.addEventListener("resize", m), () => window.removeEventListener("resize", m)), []), /* @__PURE__ */ e(
1277
1280
  P,
1278
1281
  {
1279
1282
  "aria-labelledby": r.guid,
1280
1283
  className: "mx-mini-insight-card",
1281
- ref: a,
1284
+ ref: o,
1282
1285
  sx: { height: s, pb: 24, pt: 0, px: 0 },
1283
- children: r.dismissed_at ? i : /* @__PURE__ */ h(M.Fragment, { children: [
1286
+ children: r.dismissed_at ? i : /* @__PURE__ */ c(f.Fragment, { children: [
1284
1287
  /* @__PURE__ */ e(
1285
1288
  ne,
1286
1289
  {
1287
1290
  className: "mx-mini-insight-card-header",
1288
- subheader: o,
1291
+ subheader: a,
1289
1292
  sx: { gap: 8 },
1290
1293
  title: l || r?.title,
1291
1294
  titleTypographyProps: { fontSize: 18, fontWeight: 600, variant: "h3" }
1292
1295
  }
1293
1296
  ),
1294
- /* @__PURE__ */ h(
1297
+ /* @__PURE__ */ c(
1295
1298
  R1,
1296
1299
  {
1297
1300
  className: "mx-mini-insight-card-content",
@@ -1317,7 +1320,7 @@ const Ie = ({
1317
1320
  mx: "4px",
1318
1321
  overflow: "hidden",
1319
1322
  textOverflow: "ellipsis",
1320
- WebkitLineClamp: c,
1323
+ WebkitLineClamp: h,
1321
1324
  WebkitBoxOrient: "vertical",
1322
1325
  "& > p": {
1323
1326
  m: 0
@@ -1336,24 +1339,24 @@ const Ie = ({
1336
1339
  ariaLabel: n,
1337
1340
  menuItems: i = [],
1338
1341
  onItemClick: l,
1339
- onOpen: a,
1340
- tabIndex: o = 0,
1342
+ onOpen: o,
1343
+ tabIndex: a = 0,
1341
1344
  ...s
1342
1345
  }) => {
1343
- const [c, d] = Q(null), m = () => d(null), p = (C, k) => {
1344
- m(), l(C, k);
1346
+ const [h, d] = Q(null), m = () => d(null), p = (C, M) => {
1347
+ m(), l(C, M);
1345
1348
  };
1346
- return /* @__PURE__ */ h(V, { children: [
1349
+ return /* @__PURE__ */ c(V, { children: [
1347
1350
  /* @__PURE__ */ e(
1348
1351
  F,
1349
1352
  {
1350
1353
  "aria-hidden": r,
1351
1354
  "aria-label": n,
1352
1355
  onClick: (C) => {
1353
- d(C.currentTarget), a();
1356
+ d(C.currentTarget), o();
1354
1357
  },
1355
1358
  sx: { position: "relative !important", bottom: 6 },
1356
- tabIndex: o,
1359
+ tabIndex: a,
1357
1360
  ...s,
1358
1361
  children: /* @__PURE__ */ e(
1359
1362
  J,
@@ -1372,18 +1375,18 @@ const Ie = ({
1372
1375
  le,
1373
1376
  {
1374
1377
  MenuListProps: { sx: { width: 212 } },
1375
- anchorEl: c,
1378
+ anchorEl: h,
1376
1379
  anchorOrigin: { horizontal: "right", vertical: "top" },
1377
1380
  disableScrollLock: !0,
1378
1381
  onClose: m,
1379
- open: !!c,
1382
+ open: !!h,
1380
1383
  transformOrigin: { horizontal: "right", vertical: "top" },
1381
- children: i.map(({ icon: C, key: k, text: w }, x) => /* @__PURE__ */ h(ae, { onClick: () => p(x, k), sx: { p: 12 }, children: [
1384
+ children: i.map(({ icon: C, key: M, text: b }, Z) => /* @__PURE__ */ c(ae, { onClick: () => p(Z, M), sx: { p: 12 }, children: [
1382
1385
  /* @__PURE__ */ e(c1, { sx: { minWidth: "32px !important" }, children: C }),
1383
1386
  /* @__PURE__ */ e(
1384
1387
  h1,
1385
1388
  {
1386
- primary: w,
1389
+ primary: b,
1387
1390
  primaryTypographyProps: {
1388
1391
  fontWeight: "normal",
1389
1392
  fontSize: 15,
@@ -1391,7 +1394,7 @@ const Ie = ({
1391
1394
  }
1392
1395
  }
1393
1396
  )
1394
- ] }, k))
1397
+ ] }, M))
1395
1398
  }
1396
1399
  )
1397
1400
  ] });
@@ -1405,14 +1408,14 @@ const Ie = ({
1405
1408
  animation: n,
1406
1409
  leftLowerText: i,
1407
1410
  leftUpperText: l,
1408
- isComplete: a,
1409
- isMini: o,
1411
+ isComplete: o,
1412
+ isMini: a,
1410
1413
  headerString: s,
1411
- rightLowerText: c,
1414
+ rightLowerText: h,
1412
1415
  rightUpperText: d
1413
1416
  }) => {
1414
- const m = o ? w1 : b1, p = m1(null), { height: u, width: C } = U(p);
1415
- return /* @__PURE__ */ h(
1417
+ const m = a ? w1 : b1, p = m1(null), { height: u, width: C } = U(p);
1418
+ return /* @__PURE__ */ c(
1416
1419
  y,
1417
1420
  {
1418
1421
  alignItems: "center",
@@ -1423,7 +1426,7 @@ const Ie = ({
1423
1426
  width: "100%",
1424
1427
  children: [
1425
1428
  /* @__PURE__ */ e(l1, { height: u, shouldRun: n.shouldRun, width: C }),
1426
- /* @__PURE__ */ h(
1429
+ /* @__PURE__ */ c(
1427
1430
  P,
1428
1431
  {
1429
1432
  elevation: 1,
@@ -1443,13 +1446,13 @@ const Ie = ({
1443
1446
  children: [
1444
1447
  m === b1 && /* @__PURE__ */ e(Te, { account: r, headerString: s }),
1445
1448
  m === w1 && /* @__PURE__ */ e(Oe, { account: r, headerString: s }),
1446
- /* @__PURE__ */ h(E, { direction: "row", gap: 12, height: 58, width: "100%", children: [
1449
+ /* @__PURE__ */ c(E, { direction: "row", gap: 12, height: 58, width: "100%", children: [
1447
1450
  /* @__PURE__ */ e(Ae, { leftLowerText: i, leftUpperText: l }),
1448
1451
  /* @__PURE__ */ e(
1449
1452
  Ke,
1450
1453
  {
1451
- isComplete: a,
1452
- rightLowerText: c,
1454
+ isComplete: o,
1455
+ rightLowerText: h,
1453
1456
  rightUpperText: d
1454
1457
  }
1455
1458
  )
@@ -1465,14 +1468,14 @@ const Ie = ({
1465
1468
  iconColor: n,
1466
1469
  iconFill: i,
1467
1470
  iconSX: l,
1468
- name: a,
1469
- size: o,
1471
+ name: o,
1472
+ size: a,
1470
1473
  subHeaderString: s,
1471
- textSX: c
1472
- }) => /* @__PURE__ */ h(V, { children: [
1473
- a && /* @__PURE__ */ e(J, { color: n, fill: i, name: a, size: o, sx: l }),
1474
- /* @__PURE__ */ e(f, { bold: r, sx: c, children: s })
1475
- ] }), $ = 48, Te = ({ account: r, headerString: n }) => /* @__PURE__ */ h(V, { children: [
1474
+ textSX: h
1475
+ }) => /* @__PURE__ */ c(V, { children: [
1476
+ o && /* @__PURE__ */ e(J, { color: n, fill: i, name: o, size: a, sx: l }),
1477
+ /* @__PURE__ */ e(k, { bold: r, sx: h, children: s })
1478
+ ] }), $ = 48, Te = ({ account: r, headerString: n }) => /* @__PURE__ */ c(V, { children: [
1476
1479
  /* @__PURE__ */ e(
1477
1480
  oe,
1478
1481
  {
@@ -1497,7 +1500,7 @@ const Ie = ({
1497
1500
  }
1498
1501
  ),
1499
1502
  /* @__PURE__ */ e(L, { bold: !0, sx: { width: "100%", textAlign: "center" }, children: n })
1500
- ] }), Ae = ({ leftLowerText: r, leftUpperText: n }) => /* @__PURE__ */ h(
1503
+ ] }), Ae = ({ leftLowerText: r, leftUpperText: n }) => /* @__PURE__ */ c(
1501
1504
  y,
1502
1505
  {
1503
1506
  sx: {
@@ -1520,7 +1523,7 @@ const Ie = ({
1520
1523
  /* @__PURE__ */ e(L, { bold: !0, "data-ui-test": "mx-insights-sudd-left-lower-text", variant: "Small", children: r })
1521
1524
  ]
1522
1525
  }
1523
- ), Oe = ({ account: r, headerString: n }) => /* @__PURE__ */ h(
1526
+ ), Oe = ({ account: r, headerString: n }) => /* @__PURE__ */ c(
1524
1527
  y,
1525
1528
  {
1526
1529
  "data-ui-test": "mx-insights-sudd-mini-body-header",
@@ -1554,7 +1557,7 @@ const Ie = ({
1554
1557
  p: 12,
1555
1558
  width: "100%"
1556
1559
  },
1557
- children: /* @__PURE__ */ h(E, { alignItems: "center", gap: 2, justifyContent: "center", children: [
1560
+ children: /* @__PURE__ */ c(E, { alignItems: "center", gap: 2, justifyContent: "center", children: [
1558
1561
  /* @__PURE__ */ e(
1559
1562
  L,
1560
1563
  {
@@ -1588,7 +1591,7 @@ const Ie = ({
1588
1591
  marginBottom: 16,
1589
1592
  maxWidth: 120,
1590
1593
  width: "100%"
1591
- }, Ue = ({ erroredText: r }) => /* @__PURE__ */ h(
1594
+ }, Ue = ({ erroredText: r }) => /* @__PURE__ */ c(
1592
1595
  E,
1593
1596
  {
1594
1597
  sx: {
@@ -1604,8 +1607,8 @@ const Ie = ({
1604
1607
  hasFullWidthImage: n = !1,
1605
1608
  isMini: i = !1,
1606
1609
  subHeader: l,
1607
- sx: a = {},
1608
- title: o
1610
+ sx: o = {},
1611
+ title: a
1609
1612
  }) => /* @__PURE__ */ e(
1610
1613
  se,
1611
1614
  {
@@ -1616,12 +1619,12 @@ const Ie = ({
1616
1619
  p: 0,
1617
1620
  mb: 16,
1618
1621
  ...n && { ...i ? { mb: 16 } : { px: 16, pt: 16, mb: 0 } },
1619
- ...a
1622
+ ...o
1620
1623
  },
1621
1624
  title: /* @__PURE__ */ e(
1622
1625
  i1,
1623
1626
  {
1624
- dangerouslySetInnerHTML: { __html: o },
1627
+ dangerouslySetInnerHTML: { __html: a },
1625
1628
  sx: i ? { letterSpacing: 0.35, whiteSpace: "wrap" } : { whiteSpace: "wrap" }
1626
1629
  }
1627
1630
  )
@@ -1646,26 +1649,26 @@ const Ie = ({
1646
1649
  )
1647
1650
  }
1648
1651
  ), qe = ({ content: r, isLoading: n, sx: i }) => {
1649
- const [l, a] = Q(0), o = m1(null), s = () => {
1650
- if (o.current) {
1651
- const c = o.current, d = c.parentElement;
1652
+ const [l, o] = Q(0), a = m1(null), s = () => {
1653
+ if (a.current) {
1654
+ const h = a.current, d = h.parentElement;
1652
1655
  if (d) {
1653
- const p = Array.from(d.children).reduce((x, g) => g !== c ? x + g.clientHeight : x, 0), C = d.clientHeight - p - 24, k = parseInt(window.getComputedStyle(c).lineHeight, 10) + 4, w = Math.floor(C / k);
1654
- w !== l && a(w);
1656
+ const p = Array.from(d.children).reduce((Z, x) => x !== h ? Z + x.clientHeight : Z, 0), C = d.clientHeight - p - 24, M = parseInt(window.getComputedStyle(h).lineHeight, 10) + 4, b = Math.floor(C / M);
1657
+ b !== l && o(b);
1655
1658
  }
1656
1659
  }
1657
1660
  };
1658
1661
  return A1(() => {
1659
1662
  s();
1660
- const c = new ResizeObserver(() => s()), d = o.current?.parentElement;
1661
- return d && c.observe(d), () => {
1662
- d && c.unobserve(d);
1663
+ const h = new ResizeObserver(() => s()), d = a.current?.parentElement;
1664
+ return d && h.observe(d), () => {
1665
+ d && h.unobserve(d);
1663
1666
  };
1664
1667
  }, [r, n]), /* @__PURE__ */ e(
1665
1668
  y,
1666
1669
  {
1667
1670
  dangerouslySetInnerHTML: { __html: r },
1668
- ref: o,
1671
+ ref: a,
1669
1672
  sx: {
1670
1673
  display: "-webkit-box",
1671
1674
  fontSize: 13,
@@ -1691,30 +1694,30 @@ const Ie = ({
1691
1694
  beat: n,
1692
1695
  children: i,
1693
1696
  descriptionPlacement: l = "bottom",
1694
- hideDescription: a = !1,
1695
- inDescriptionCtaOnClick: o,
1697
+ hideDescription: o = !1,
1698
+ inDescriptionCtaOnClick: a,
1696
1699
  isLoading: s = !1,
1697
- isMini: c = !1,
1700
+ isMini: h = !1,
1698
1701
  hasFullWidthImage: d,
1699
1702
  hasFooterButton: m = !1,
1700
1703
  sx: p
1701
1704
  }) => {
1702
- const u = () => a || !n.html_description ? null : c ? /* @__PURE__ */ e(qe, { content: n.html_description, isLoading: s, sx: p }) : /* @__PURE__ */ e(
1705
+ const u = () => o || !n.html_description ? null : h ? /* @__PURE__ */ e(qe, { content: n.html_description, isLoading: s, sx: p }) : /* @__PURE__ */ e(
1703
1706
  et,
1704
1707
  {
1705
1708
  beat: n,
1706
1709
  footerButton: m,
1707
1710
  hasFullWidthImage: d,
1708
- inDescriptionCtaOnClick: o,
1711
+ inDescriptionCtaOnClick: a,
1709
1712
  sx: p
1710
1713
  }
1711
1714
  );
1712
- return /* @__PURE__ */ h(V, { children: [
1715
+ return /* @__PURE__ */ c(V, { children: [
1713
1716
  l === "top" && u(),
1714
- /* @__PURE__ */ e(E, { sx: { alignItems: "center", ...d && c && { mx: -16 } }, children: i }),
1717
+ /* @__PURE__ */ e(E, { sx: { alignItems: "center", ...d && h && { mx: -16 } }, children: i }),
1715
1718
  l === "bottom" && u(),
1716
1719
  r && /* @__PURE__ */ e(
1717
- f,
1720
+ k,
1718
1721
  {
1719
1722
  sx: {
1720
1723
  color: "text.secondary",
@@ -1732,31 +1735,31 @@ const Ie = ({
1732
1735
  asteriskText: n,
1733
1736
  beat: i,
1734
1737
  button: l = null,
1735
- children: a,
1736
- contentProps: o,
1738
+ children: o,
1739
+ contentProps: a,
1737
1740
  errorText: s = "",
1738
- feedback: c,
1741
+ feedback: h,
1739
1742
  header: d,
1740
1743
  isError: m = !1,
1741
1744
  isLoading: p = !1,
1742
1745
  isMini: u = !1
1743
- }) => /* @__PURE__ */ h(E, { sx: { height: "100%" }, children: [
1746
+ }) => /* @__PURE__ */ c(E, { sx: { height: "100%" }, children: [
1744
1747
  /* @__PURE__ */ e(Qe, { ...d, isMini: u, title: i.html_title }),
1745
- m ? /* @__PURE__ */ e(Ue, { erroredText: s }) : /* @__PURE__ */ h(V, { children: [
1748
+ m ? /* @__PURE__ */ e(Ue, { erroredText: s }) : /* @__PURE__ */ c(V, { children: [
1746
1749
  /* @__PURE__ */ e(
1747
1750
  _e,
1748
1751
  {
1749
- ...o,
1752
+ ...a,
1750
1753
  asteriskText: n,
1751
1754
  beat: i,
1752
1755
  hasFooterButton: !!l,
1753
1756
  isLoading: p,
1754
1757
  isMini: u,
1755
- children: p ? /* @__PURE__ */ e(Be, { altLoadingText: r }) : a
1758
+ children: p ? /* @__PURE__ */ e(Be, { altLoadingText: r }) : o
1756
1759
  }
1757
1760
  ),
1758
1761
  !u && l,
1759
- c
1762
+ h
1760
1763
  ] })
1761
1764
  ] }), O2 = ({
1762
1765
  button: r,
@@ -1776,7 +1779,7 @@ const Ie = ({
1776
1779
  },
1777
1780
  children: r
1778
1781
  }
1779
- ), $e = ({ accountName: r, actionButton: n, date: i }) => /* @__PURE__ */ h(
1782
+ ), $e = ({ accountName: r, actionButton: n, date: i }) => /* @__PURE__ */ c(
1780
1783
  E,
1781
1784
  {
1782
1785
  sx: {
@@ -1787,8 +1790,8 @@ const Ie = ({
1787
1790
  py: 8
1788
1791
  },
1789
1792
  children: [
1790
- i && /* @__PURE__ */ e(f, { variant: "tiny", children: i }),
1791
- n ?? (r && /* @__PURE__ */ e(f, { variant: "tiny", children: r }))
1793
+ i && /* @__PURE__ */ e(k, { variant: "tiny", children: i }),
1794
+ n ?? (r && /* @__PURE__ */ e(k, { variant: "tiny", children: r }))
1792
1795
  ]
1793
1796
  }
1794
1797
  ), K2 = $e, et = ({
@@ -1796,10 +1799,10 @@ const Ie = ({
1796
1799
  footerButton: n,
1797
1800
  hasFullWidthImage: i,
1798
1801
  inDescriptionCtaOnClick: l,
1799
- sx: a
1802
+ sx: o
1800
1803
  }) => {
1801
- const { html_description: o, in_description_cta: s } = r, c = n ? 16 : 8;
1802
- return /* @__PURE__ */ h(
1804
+ const { html_description: a, in_description_cta: s } = r, h = n ? 16 : 8;
1805
+ return /* @__PURE__ */ c(
1803
1806
  R1,
1804
1807
  {
1805
1808
  sx: {
@@ -1807,13 +1810,13 @@ const Ie = ({
1807
1810
  "&:last-child": {
1808
1811
  pb: 0
1809
1812
  },
1810
- ...a
1813
+ ...o
1811
1814
  },
1812
1815
  children: [
1813
1816
  /* @__PURE__ */ e(
1814
1817
  L,
1815
1818
  {
1816
- dangerouslySetInnerHTML: { __html: o },
1819
+ dangerouslySetInnerHTML: { __html: a },
1817
1820
  sx: {
1818
1821
  m: 0,
1819
1822
  pb: 24,
@@ -1827,7 +1830,7 @@ const Ie = ({
1827
1830
  variant: "ParagraphSmall"
1828
1831
  }
1829
1832
  ),
1830
- s && l && /* @__PURE__ */ h(T, { fullWidth: !0, onClick: l, sx: { mb: c }, children: [
1833
+ s && l && /* @__PURE__ */ c(T, { fullWidth: !0, onClick: l, sx: { mb: h }, children: [
1831
1834
  s,
1832
1835
  /* @__PURE__ */ e(J, { name: "chevron_right" })
1833
1836
  ] })
@@ -1839,12 +1842,12 @@ const Ie = ({
1839
1842
  description: n,
1840
1843
  callToAction: i,
1841
1844
  instanceSlot: l = void 0,
1842
- onMenuClick: a = () => {
1845
+ onMenuClick: o = () => {
1843
1846
  },
1844
- onCtaClick: o = () => {
1847
+ onCtaClick: a = () => {
1845
1848
  }
1846
- }) => /* @__PURE__ */ h(P, { sx: { pt: 8, pr: 16, pb: 12, pl: 8, borderRadius: "8px" }, children: [
1847
- /* @__PURE__ */ h(
1849
+ }) => /* @__PURE__ */ c(P, { sx: { pt: 8, pr: 16, pb: 12, pl: 8, borderRadius: "8px" }, children: [
1850
+ /* @__PURE__ */ c(
1848
1851
  E,
1849
1852
  {
1850
1853
  sx: {
@@ -1855,8 +1858,8 @@ const Ie = ({
1855
1858
  pl: 8
1856
1859
  },
1857
1860
  children: [
1858
- /* @__PURE__ */ e(f, { bold: !0, variant: "body1", children: r }),
1859
- /* @__PURE__ */ e(T, { onClick: a, sx: { p: 0, minWidth: 24, height: 24 }, children: /* @__PURE__ */ e(
1861
+ /* @__PURE__ */ e(k, { bold: !0, variant: "body1", children: r }),
1862
+ /* @__PURE__ */ e(T, { onClick: o, sx: { p: 0, minWidth: 24, height: 24 }, children: /* @__PURE__ */ e(
1860
1863
  J,
1861
1864
  {
1862
1865
  name: "more_horiz",
@@ -1869,7 +1872,7 @@ const Ie = ({
1869
1872
  ]
1870
1873
  }
1871
1874
  ),
1872
- /* @__PURE__ */ h(
1875
+ /* @__PURE__ */ c(
1873
1876
  E,
1874
1877
  {
1875
1878
  sx: {
@@ -1879,7 +1882,7 @@ const Ie = ({
1879
1882
  justifyContent: "space-between"
1880
1883
  },
1881
1884
  children: [
1882
- /* @__PURE__ */ h(E, { children: [
1885
+ /* @__PURE__ */ c(E, { children: [
1883
1886
  /* @__PURE__ */ e(E, { sx: { pt: 2, pl: 8, pb: 8 }, children: /* @__PURE__ */ e(
1884
1887
  L,
1885
1888
  {
@@ -1891,7 +1894,7 @@ const Ie = ({
1891
1894
  /* @__PURE__ */ e(E, { sx: { alignItems: "flex-start" }, children: /* @__PURE__ */ e(
1892
1895
  T,
1893
1896
  {
1894
- onClick: o,
1897
+ onClick: a,
1895
1898
  sx: {
1896
1899
  p: 0,
1897
1900
  height: 16,
@@ -1915,27 +1918,27 @@ const Ie = ({
1915
1918
  feedbackTitle: n,
1916
1919
  onClose: i,
1917
1920
  onBackClick: l,
1918
- onSubmit: a,
1919
- radioOptions: o,
1921
+ onSubmit: o,
1922
+ radioOptions: a,
1920
1923
  characterLimitText: s,
1921
- backButtonTitle: c,
1924
+ backButtonTitle: h,
1922
1925
  submitButtonTitle: d
1923
1926
  }) => {
1924
- const m = N(), [p, u] = Q(null), [C, k] = Q(""), w = (b) => {
1925
- const Y = parseInt(b.target.value, 10);
1926
- u(Y), Y !== e1 && k("");
1927
- }, x = (b) => {
1928
- k(b.target.value);
1929
- }, g = () => {
1930
- p !== null && a(p, p === e1 ? C : void 0);
1927
+ const m = N(), [p, u] = Q(null), [C, M] = Q(""), b = (S) => {
1928
+ const H = parseInt(S.target.value, 10);
1929
+ u(H), H !== e1 && M("");
1930
+ }, Z = (S) => {
1931
+ M(S.target.value);
1932
+ }, x = () => {
1933
+ p !== null && o(p, p === e1 ? C : void 0);
1931
1934
  };
1932
- return /* @__PURE__ */ h(P, { sx: { minWidth: 288, width: { sm: m.breakpoints.values.xs }, borderRadius: "8px" }, children: [
1933
- /* @__PURE__ */ h(
1935
+ return /* @__PURE__ */ c(P, { sx: { minWidth: 288, width: { sm: m.breakpoints.values.xs }, borderRadius: "8px" }, children: [
1936
+ /* @__PURE__ */ c(
1934
1937
  E,
1935
1938
  {
1936
1939
  sx: { p: 24, flexDirection: "row", alignItems: "center", justifyContent: "space-between" },
1937
1940
  children: [
1938
- /* @__PURE__ */ e(f, { variant: "H3", children: n }),
1941
+ /* @__PURE__ */ e(k, { variant: "H3", children: n }),
1939
1942
  /* @__PURE__ */ e(
1940
1943
  F,
1941
1944
  {
@@ -1948,15 +1951,15 @@ const Ie = ({
1948
1951
  ]
1949
1952
  }
1950
1953
  ),
1951
- /* @__PURE__ */ h(E, { sx: { px: 24 }, children: [
1954
+ /* @__PURE__ */ c(E, { sx: { px: 24 }, children: [
1952
1955
  /* @__PURE__ */ e(Y1, { children: /* @__PURE__ */ e(
1953
1956
  z1,
1954
1957
  {
1955
1958
  "aria-labelledby": "hide-insight-radio-buttons-group-label",
1956
1959
  name: "radio-buttons-group",
1957
- onChange: w,
1960
+ onChange: b,
1958
1961
  value: p,
1959
- children: o.map((b, Y) => /* @__PURE__ */ e(
1962
+ children: a.map((S, H) => /* @__PURE__ */ e(
1960
1963
  I1,
1961
1964
  {
1962
1965
  control: /* @__PURE__ */ e(
@@ -1969,20 +1972,20 @@ const Ie = ({
1969
1972
  }
1970
1973
  }
1971
1974
  ),
1972
- label: b,
1975
+ label: S,
1973
1976
  sx: {
1974
1977
  "& .MuiFormControlLabel-label": {
1975
1978
  fontSize: 15,
1976
1979
  color: "text.primary"
1977
1980
  }
1978
1981
  },
1979
- value: Y
1982
+ value: H
1980
1983
  },
1981
- b
1984
+ S
1982
1985
  ))
1983
1986
  }
1984
1987
  ) }),
1985
- p === e1 && /* @__PURE__ */ h(E, { sx: { mt: 4, gap: 3 }, children: [
1988
+ p === e1 && /* @__PURE__ */ c(E, { sx: { mt: 4, gap: 3 }, children: [
1986
1989
  /* @__PURE__ */ e(
1987
1990
  pe,
1988
1991
  {
@@ -1990,14 +1993,14 @@ const Ie = ({
1990
1993
  maxRows: 4,
1991
1994
  minRows: 4,
1992
1995
  multiline: !0,
1993
- onChange: x,
1996
+ onChange: Z,
1994
1997
  value: C
1995
1998
  }
1996
1999
  ),
1997
- /* @__PURE__ */ e(f, { sx: { fontWeight: 400, color: "text.secondary" }, variant: "subtitle2", children: s })
2000
+ /* @__PURE__ */ e(k, { sx: { fontWeight: 400, color: "text.secondary" }, variant: "subtitle2", children: s })
1998
2001
  ] })
1999
2002
  ] }),
2000
- /* @__PURE__ */ h(
2003
+ /* @__PURE__ */ c(
2001
2004
  E,
2002
2005
  {
2003
2006
  sx: {
@@ -2008,12 +2011,12 @@ const Ie = ({
2008
2011
  justifyContent: "flex-end"
2009
2012
  },
2010
2013
  children: [
2011
- /* @__PURE__ */ e(T, { onClick: l, variant: "text", children: c }),
2014
+ /* @__PURE__ */ e(T, { onClick: l, variant: "text", children: h }),
2012
2015
  /* @__PURE__ */ e(
2013
2016
  T,
2014
2017
  {
2015
2018
  disabled: p === null || p === e1 && !C.trim(),
2016
- onClick: g,
2019
+ onClick: x,
2017
2020
  variant: "contained",
2018
2021
  children: d
2019
2022
  }
@@ -2027,28 +2030,28 @@ const Ie = ({
2027
2030
  disabled: n = !1,
2028
2031
  hide: i = !1,
2029
2032
  onClick: l,
2030
- primary: a = !0,
2031
- sx: o,
2032
- variant: s = !a && "text",
2033
- ...c
2033
+ primary: o = !0,
2034
+ sx: a,
2035
+ variant: s = !o && "text",
2036
+ ...h
2034
2037
  }) => i ? null : /* @__PURE__ */ e(
2035
2038
  T,
2036
2039
  {
2037
2040
  disabled: n,
2038
2041
  fullWidth: !0,
2039
- id: a ? `primary-cta-${r.guid}` : `secondary-cta-${r.guid}`,
2042
+ id: o ? `primary-cta-${r.guid}` : `secondary-cta-${r.guid}`,
2040
2043
  onClick: l,
2041
2044
  sx: () => ({
2042
- color: a ? "primary.main" : "text.secondary",
2043
- fontSize: a ? 15 : 13,
2044
- fontWeight: a ? 600 : 700,
2045
+ color: o ? "primary.main" : "text.secondary",
2046
+ fontSize: o ? 15 : 13,
2047
+ fontWeight: o ? 600 : 700,
2045
2048
  p: "0px 16px",
2046
2049
  borderColor: "border.light",
2047
- ...o
2050
+ ...a
2048
2051
  }),
2049
- variant: n && a ? "contained" : s || "outlined",
2050
- ...c,
2051
- children: a ? r.call_to_action : r.supporting_action
2052
+ variant: n && o ? "contained" : s || "outlined",
2053
+ ...h,
2054
+ children: o ? r.call_to_action : r.supporting_action
2052
2055
  }
2053
2056
  ), rt = (r, n) => /* @__PURE__ */ t.createElement("svg", { width: 295, height: 142, viewBox: "0 0 295 142", fill: "none", xmlns: "http://www.w3.org/2000/svg", ref: n, ...r }, /* @__PURE__ */ t.createElement("path", { d: "M0.5 4C0.5 2.067 2.067 0.5 4 0.5H291C292.933 0.5 294.5 2.067 294.5 4V39.5H0.5V4Z", stroke: "#EEF1F6" }), /* @__PURE__ */ t.createElement("path", { d: "M0.5 102.5H294.5V138C294.5 139.933 292.933 141.5 291 141.5H4.00001C2.06701 141.5 0.5 139.933 0.5 138V102.5Z", fill: "#F8F9FB", stroke: "#EEF1F6" }), /* @__PURE__ */ t.createElement("rect", { x: 0.5, y: 39.5, width: 294, height: 63, fill: "white", stroke: "#EEF1F6" }), /* @__PURE__ */ t.createElement("rect", { x: 16, y: 55, width: 32, height: 32, rx: 2, fill: "#EEF1F6" }), /* @__PURE__ */ t.createElement("rect", { x: 16, y: 15, width: 80, height: 8, rx: 2, fill: "#EEF1F6" }), /* @__PURE__ */ t.createElement("rect", { x: 16, y: 118, width: 80, height: 8, rx: 2, fill: "#E4E8EE" }), /* @__PURE__ */ t.createElement("rect", { x: 226, y: 118, width: 56, height: 8, rx: 2, fill: "#E4E8EE" }), /* @__PURE__ */ t.createElement("rect", { x: 64, y: 60, width: 80, height: 8, rx: 2, fill: "#EEF1F6" }), /* @__PURE__ */ t.createElement("rect", { x: 232, y: 60, width: 47, height: 8, rx: 2, fill: "#EEF1F6" }), /* @__PURE__ */ t.createElement("rect", { x: 64, y: 76, width: 60, height: 4, rx: 2, fill: "#EEF1F6" })), it = W(rt), nt = {
2054
2057
  padding: 8,
@@ -2063,7 +2066,7 @@ const Ie = ({
2063
2066
  },
2064
2067
  children: /* @__PURE__ */ e(j, { divProps: { style: nt }, image: it })
2065
2068
  }
2066
- ), at = (r, n) => /* @__PURE__ */ t.createElement("svg", { width: 147, height: 104, viewBox: "0 0 147 104", fill: "none", xmlns: "http://www.w3.org/2000/svg", ref: n, ...r }, /* @__PURE__ */ t.createElement("path", { opacity: 0.15, d: "M132.18 93.1784C128.573 91.0141 78.373 92.2766 53.7238 93.1784H50.5965C50.2942 93.1784 50.0081 93.3152 49.8183 93.5505L44.3794 100.291C44.0546 100.693 43.4764 100.782 43.0462 100.494L32.3346 93.3466C32.1702 93.237 31.9771 93.1784 31.7795 93.1784H22.4446C22.2603 93.1784 22.0782 93.2276 21.9259 93.3315C20.2511 94.4746 19.2999 96.4924 27.5735 96.4924C35.9509 96.4924 34.8706 97.8014 33.1578 98.5193C33.0438 98.5671 32.9209 98.5892 32.7973 98.5892H8.63393C-5.07339 98.5892 0.0503439 104 6.83034 104H46.5094C77.1706 104 139.936 102.016 145.707 101.295C151.479 100.573 133.082 99.1904 123.162 98.5892C118.687 98.5892 114.211 97.6638 110.812 96.674C109.759 96.3675 110.007 95.0772 111.103 95.0937C121.551 95.2513 135.251 95.0207 132.18 93.1784Z", fill: "#2C64EF", className: "brand300" }), /* @__PURE__ */ t.createElement("path", { d: "M56.431 21.6432C58.5352 21.9438 64.3669 21.8236 70.8598 18.9378C78.976 15.3306 82.5832 13.527 86.1904 15.3306C89.7975 17.1342 90.6993 20.7414 88.8957 26.1522C87.844 29.3074 85.4508 31.0571 83.532 31.8903C82.7859 32.2143 82.4803 33.2637 83.0554 33.8389L83.485 34.2684C84.1566 34.8456 85.1999 36.5001 83.9999 38.5001", stroke: "#2C64EF", strokeLinecap: "round", className: "brand300" }), /* @__PURE__ */ t.createElement("path", { d: "M89.8408 5.53344L41.0915 12.4976C40.5842 12.5701 40.1042 12.2474 39.9799 11.7502L39.5394 9.98812C39.4055 9.45232 39.7312 8.90939 40.267 8.77544L42.1466 8.30555C42.5918 8.19425 42.9041 7.79427 42.9041 7.3354V6.29357C42.9041 5.78925 43.2796 5.36384 43.78 5.30129L85.705 0.0606634C86.0113 0.0223874 86.318 0.127628 86.5362 0.345835L87.7011 1.5107C87.8886 1.69824 88.1429 1.8036 88.4082 1.8036H89.6993C90.2516 1.8036 90.6993 2.25131 90.6993 2.80359V4.54349C90.6993 5.04114 90.3334 5.46306 89.8408 5.53344Z", fill: "#A0B9F8", className: "brand200" }), /* @__PURE__ */ t.createElement("path", { opacity: 0.15, d: "M9.04298 76.0297L40.3855 13.5948C40.6477 13.0725 41.3 12.8854 41.7992 13.1893L85.2719 39.655C85.768 39.957 85.9034 40.6167 85.5662 41.0896L44.6908 98.4287C44.3831 98.8603 43.7922 98.9769 43.3437 98.6945L9.40387 77.3246C8.96815 77.0502 8.81197 76.4899 9.04298 76.0297Z", fill: "#2C64EF", className: "brand300" }), /* @__PURE__ */ t.createElement("path", { d: "M54.6796 84.287L14.8497 60.0399C14.3984 59.7652 14.2387 59.1867 14.4852 58.7193L27.8386 33.3987C28.1061 32.8913 28.7447 32.7126 29.2368 33.0072L72.6331 58.9928C73.1349 59.2933 73.2728 59.9585 72.9319 60.4337L56.0121 84.0158C55.7072 84.4407 55.1263 84.5589 54.6796 84.287Z", fill: "#A0B9F8", className: "brand200" }), /* @__PURE__ */ t.createElement("path", { d: "M95.8922 32.9036C94.7208 30.8689 92.9432 32.6952 91.9424 34.2454C91.724 34.5837 91.7585 35.0286 92.0414 35.3151C94.5895 37.8957 97.4519 35.6131 95.8922 32.9036Z", stroke: "#2C64EF", strokeLinecap: "round", className: "brand300" }), /* @__PURE__ */ t.createElement("path", { d: "M99.193 26.692C98.4116 23.6755 96.1194 25.977 95.3356 28.2686C95.2621 28.4834 95.1391 28.7499 95.3305 28.8721C96.1571 29.3998 100.029 29.9202 99.193 26.692Z", stroke: "#2C64EF", strokeLinecap: "round", className: "brand300" }), /* @__PURE__ */ t.createElement("path", { d: "M102.494 30.0367C102.049 28.1072 100.358 28.985 99.6264 31.1343C99.5533 31.3492 99.3919 31.6192 99.5815 31.744C100.223 32.1662 103.038 32.3979 102.494 30.0367Z", stroke: "#2C64EF", strokeLinecap: "round", className: "brand300" })), ot = W(at), st = (r, n) => /* @__PURE__ */ t.createElement("svg", { alt: "", width: "147px", height: "104px", viewBox: "0 0 256 256", xmlns: "http://www.w3.org/2000/svg", xmlnsXlink: "http://www.w3.org/1999/xlink", ref: n, ...r }, /* @__PURE__ */ t.createElement("title", null, "Icons/Illustrative/Gears1"), /* @__PURE__ */ t.createElement("g", { id: "Icons/Illustrative/Gears1", stroke: "none", strokeWidth: 1, fill: "none", fillRule: "evenodd" }, /* @__PURE__ */ t.createElement("circle", { id: "Oval", fill: "#F2F3F2", cx: 128, cy: 128, r: 128 }), /* @__PURE__ */ t.createElement("g", { id: "Group", transform: "translate(42.000000, 38.000000)", fillRule: "nonzero" }, /* @__PURE__ */ t.createElement("path", { d: "M106.11,-0.000218413865 C107.642968,-0.0133183256 109.118435,0.582907809 110.211785,1.65750358 C111.305134,2.73209936 111.926796,4.19703062 111.94,5.73000001 L111.94,5.73000001 L111.94,14.26 C116.057784,15.2957977 120.000229,16.9334286 123.64,19.12 L123.64,19.12 L129.64,13.07 C131.902451,10.8198774 135.55755,10.8198774 137.82,13.07 L137.82,13.07 L144.82,20.07 C147.074462,22.3267544 147.074462,25.9832456 144.82,28.24 L144.82,28.24 L138.76,34.3 C140.939324,37.9422419 142.573338,41.8840905 143.61,46 L143.61,46 L152.18,46 C153.721605,45.9893289 155.203593,46.5949522 156.296512,47.6822371 C157.38943,48.7695221 158.002704,50.2483606 158.000009,51.79 L158.000009,51.79 L158.000009,61.69 C157.989428,63.2229629 157.370303,64.6889356 156.278833,65.7654023 C155.187364,66.841869 153.712962,67.4406455 152.18,67.43 L152.18,67.43 L143.61,67.43 C142.571461,71.5421335 140.937529,75.4804158 138.76,79.12 L138.76,79.12 L144.87,85.22 C147.124462,87.4767544 147.124462,91.1332457 144.87,93.3900001 L144.87,93.3900001 L137.87,100.39 C135.60755,102.640123 131.952451,102.640123 129.69,100.39 L129.69,100.39 L123.63,94.3200001 C119.984367,96.4949311 116.043674,98.131834 111.93,99.1800001 L111.93,99.1800001 L111.93,107.74 C111.93,110.932206 109.342206,113.52 106.15,113.52 L106.15,113.52 L96.2600001,113.52 C93.0677942,113.52 90.4800001,110.932206 90.4800001,107.74 L90.4800001,107.74 L90.4800001,99.1800001 C86.3651225,98.1354485 82.4239217,96.4983343 78.78,94.3200001 L78.78,94.3200001 L72.72,100.39 C70.4575496,102.640123 66.8024505,102.640123 64.54,100.39 L64.54,100.39 L57.54,93.3900001 C56.4523907,92.3088247 55.8408343,90.8385692 55.8408343,89.305 C55.8408343,87.7714309 56.4523907,86.3011754 57.54,85.22 L57.54,85.22 L63.54,79.12 C61.3721395,75.4897739 59.7482054,71.5613358 58.72,67.46 L58.72,67.46 L50.15,67.46 C46.9577942,67.46 44.37,64.8722059 44.37,61.68 L44.37,61.68 L44.37,51.78 C44.37,48.5877942 46.9577942,46 50.15,46 L50.15,46 L58.69,46 C59.7312635,41.9013872 61.3651501,37.9766906 63.54,34.35 L63.54,34.35 L57.54,28.35 C56.4523907,27.2688246 55.8408343,25.7985692 55.8408343,24.265 C55.8408343,22.7314309 56.4523907,21.2611754 57.54,20.18 L57.54,20.18 L64.54,13.18 C66.7999116,10.9616363 70.4200885,10.9616363 72.68,13.18 L72.68,13.18 L78.74,19.18 C82.3805971,16.9997464 86.3230896,15.368835 90.4400001,14.34 L90.4400001,14.34 L90.4400001,5.78000001 C90.4400001,2.58779416 93.0277942,-0.000218413865 96.2200001,-0.000218413865 L96.2200001,-0.000218413865 Z M101.16,33.85 C88.5402935,33.85 78.31,44.0982021 78.31,56.74 C78.31,69.381798 88.5402935,79.63 101.16,79.63 C113.779707,79.63 124.01,69.381798 124.01,56.74 C124.01,44.0982021 113.779707,33.85 101.16,33.85 Z", id: "Combined-Shape", fill: "#C41F3E" }), /* @__PURE__ */ t.createElement("path", { d: "M125.31,101.68 C126.663009,101.190465 128.156991,101.888254 128.65,103.24 L128.65,103.24 L129.98,106.88 C131.881968,106.682983 133.802585,106.767221 135.68,107.13 L135.68,107.13 L137.36,103.65 C137.974114,102.348051 139.523599,101.785414 140.83,102.39 L140.83,102.39 L144.83,104.28 C145.45764,104.570893 145.943478,105.099917 146.18,105.75 C146.410536,106.403106 146.378265,107.12024 146.09,107.75 L146.09,107.75 L144.45,111.25 C145.938487,112.457816 147.239344,113.879997 148.31,115.47 L148.31,115.47 L151.95,114.15 C152.60106,113.9061 153.323478,113.938609 153.95,114.24 C154.57764,114.530893 155.063478,115.059917 155.3,115.71 L155.3,115.71 L156.82,119.9 L156.8,119.9 C157.042025,120.555947 157.008571,121.281881 156.707242,121.912787 C156.405914,122.543694 155.86231,123.025975 155.2,123.25 L155.2,123.25 L151.57,124.58 C151.762006,126.482114 151.6778,128.402001 151.32,130.28 L151.32,130.28 L154.82,131.92 C155.44764,132.210893 155.933478,132.739917 156.17,133.39 C156.400536,134.043106 156.368265,134.76024 156.08,135.39 L156.08,135.39 L154.19,139.39 C153.899107,140.01764 153.370083,140.503478 152.72,140.74 C152.067374,140.973748 151.348994,140.941421 150.72,140.65 L150.72,140.65 L147.21,139.01 C146.00577,140.498247 144.586919,141.799141 143,142.87 L143,142.87 L144.35,146.52 C144.839535,147.873009 144.141747,149.366991 142.79,149.86 L142.79,149.86 L138.59,151.38 C137.940627,151.623555 137.220542,151.595411 136.59216,151.301915 C135.963777,151.008419 135.48002,150.47429 135.25,149.82 L135.25,149.82 L133.93,146.19 C132.024565,146.382273 130.10134,146.298069 128.22,145.94 L128.22,145.94 L126.59,149.44 C126.297704,150.070291 125.764434,150.55672 125.11,150.79 C124.457374,151.023748 123.738994,150.991421 123.11,150.7 L123.11,150.7 L119.11,148.81 C118.483388,148.51904 117.998342,147.990654 117.761941,147.34149 C117.52554,146.692325 117.557225,145.975766 117.85,145.35 L117.85,145.35 L119.48,141.84 C117.99911,140.627965 116.699271,139.210265 115.62,137.63 L115.62,137.63 L111.99,138.95 C110.636992,139.439535 109.143009,138.741746 108.65,137.39 L108.65,137.39 L107.12,133.19 C106.630465,131.836992 107.328254,130.343009 108.68,129.85 L108.68,129.85 L112.32,128.53 C112.122724,126.62471 112.20696,124.700758 112.57,122.82 L112.57,122.82 L109.06,121.19 C107.762385,120.571943 107.201268,119.026645 107.8,117.72 L107.8,117.72 L109.69,113.67 C110.303837,112.367488 111.856552,111.808152 113.16,112.42 L113.16,112.42 L116.66,114.05 C117.873171,112.566569 119.294557,111.266438 120.88,110.19 L120.88,110.19 L119.56,106.56 C119.317574,105.90955 119.346396,105.189009 119.64,104.56 C119.935033,103.931721 120.467319,103.44619 121.12,103.21 L121.12,103.21 Z M128.447599,116.83953 C123.095918,118.78421 120.337056,124.707495 122.285508,130.069558 C124.233961,135.43162 130.151888,138.201956 135.503569,136.257276 C140.85525,134.312597 143.614112,128.389311 141.66566,123.027249 C139.717208,117.665186 133.79928,114.89485 128.447599,116.83953 Z", id: "Combined-Shape", fill: "#C41F3E" }), /* @__PURE__ */ t.createElement("path", { d: "M49.0033734,120.673794 L107.724759,161.167841 C110.229937,162.882581 111.95088,165.522716 112.508555,168.506883 C113.044781,171.376274 112.463214,174.337468 110.891371,176.786789 L110.698005,177.078212 C107.111197,182.279527 99.9870169,183.588344 94.785702,180.001537 L36.0313869,139.484783 L49.0033734,120.673794 Z M100.36,162.71 C96.3504128,162.71 93.1000001,165.960413 93.1000001,169.97 C93.1000001,173.979587 96.3504128,177.23 100.36,177.23 C104.369587,177.23 107.62,173.979587 107.62,169.97 C107.62,165.960413 104.369587,162.71 100.36,162.71 Z", id: "Combined-Shape", fill: "#8B1D41" }), /* @__PURE__ */ t.createElement("path", { d: "M14.15,96.5100001 L35.84,111.51 L36.41,120.37 L31.47,127.54 L22.75,130.48 L1.06000001,115.49 C-1.8576625,129.410687 5.44846092,143.45713 18.5213637,149.060478 C31.5942664,154.663825 46.8049178,150.26859 54.8742555,138.556029 C62.9435933,126.843469 61.6315736,111.064983 51.7385773,100.846035 C41.845581,90.627086 26.1178984,88.8044491 14.15,96.4900001 L14.15,96.5100001 Z", id: "Path", fill: "#8B1D41" })))), ct = W(st), F2 = ({ errorText: r, errorDescription: n, isCibc: i = !1 }) => /* @__PURE__ */ e(P, { sx: { py: 32, px: 16 }, children: /* @__PURE__ */ h(E, { sx: { gap: 16, alignItems: "center" }, children: [
2069
+ ), at = (r, n) => /* @__PURE__ */ t.createElement("svg", { width: 147, height: 104, viewBox: "0 0 147 104", fill: "none", xmlns: "http://www.w3.org/2000/svg", ref: n, ...r }, /* @__PURE__ */ t.createElement("path", { opacity: 0.15, d: "M132.18 93.1784C128.573 91.0141 78.373 92.2766 53.7238 93.1784H50.5965C50.2942 93.1784 50.0081 93.3152 49.8183 93.5505L44.3794 100.291C44.0546 100.693 43.4764 100.782 43.0462 100.494L32.3346 93.3466C32.1702 93.237 31.9771 93.1784 31.7795 93.1784H22.4446C22.2603 93.1784 22.0782 93.2276 21.9259 93.3315C20.2511 94.4746 19.2999 96.4924 27.5735 96.4924C35.9509 96.4924 34.8706 97.8014 33.1578 98.5193C33.0438 98.5671 32.9209 98.5892 32.7973 98.5892H8.63393C-5.07339 98.5892 0.0503439 104 6.83034 104H46.5094C77.1706 104 139.936 102.016 145.707 101.295C151.479 100.573 133.082 99.1904 123.162 98.5892C118.687 98.5892 114.211 97.6638 110.812 96.674C109.759 96.3675 110.007 95.0772 111.103 95.0937C121.551 95.2513 135.251 95.0207 132.18 93.1784Z", fill: "#2C64EF", className: "brand300" }), /* @__PURE__ */ t.createElement("path", { d: "M56.431 21.6432C58.5352 21.9438 64.3669 21.8236 70.8598 18.9378C78.976 15.3306 82.5832 13.527 86.1904 15.3306C89.7975 17.1342 90.6993 20.7414 88.8957 26.1522C87.844 29.3074 85.4508 31.0571 83.532 31.8903C82.7859 32.2143 82.4803 33.2637 83.0554 33.8389L83.485 34.2684C84.1566 34.8456 85.1999 36.5001 83.9999 38.5001", stroke: "#2C64EF", strokeLinecap: "round", className: "brand300" }), /* @__PURE__ */ t.createElement("path", { d: "M89.8408 5.53344L41.0915 12.4976C40.5842 12.5701 40.1042 12.2474 39.9799 11.7502L39.5394 9.98812C39.4055 9.45232 39.7312 8.90939 40.267 8.77544L42.1466 8.30555C42.5918 8.19425 42.9041 7.79427 42.9041 7.3354V6.29357C42.9041 5.78925 43.2796 5.36384 43.78 5.30129L85.705 0.0606634C86.0113 0.0223874 86.318 0.127628 86.5362 0.345835L87.7011 1.5107C87.8886 1.69824 88.1429 1.8036 88.4082 1.8036H89.6993C90.2516 1.8036 90.6993 2.25131 90.6993 2.80359V4.54349C90.6993 5.04114 90.3334 5.46306 89.8408 5.53344Z", fill: "#A0B9F8", className: "brand200" }), /* @__PURE__ */ t.createElement("path", { opacity: 0.15, d: "M9.04298 76.0297L40.3855 13.5948C40.6477 13.0725 41.3 12.8854 41.7992 13.1893L85.2719 39.655C85.768 39.957 85.9034 40.6167 85.5662 41.0896L44.6908 98.4287C44.3831 98.8603 43.7922 98.9769 43.3437 98.6945L9.40387 77.3246C8.96815 77.0502 8.81197 76.4899 9.04298 76.0297Z", fill: "#2C64EF", className: "brand300" }), /* @__PURE__ */ t.createElement("path", { d: "M54.6796 84.287L14.8497 60.0399C14.3984 59.7652 14.2387 59.1867 14.4852 58.7193L27.8386 33.3987C28.1061 32.8913 28.7447 32.7126 29.2368 33.0072L72.6331 58.9928C73.1349 59.2933 73.2728 59.9585 72.9319 60.4337L56.0121 84.0158C55.7072 84.4407 55.1263 84.5589 54.6796 84.287Z", fill: "#A0B9F8", className: "brand200" }), /* @__PURE__ */ t.createElement("path", { d: "M95.8922 32.9036C94.7208 30.8689 92.9432 32.6952 91.9424 34.2454C91.724 34.5837 91.7585 35.0286 92.0414 35.3151C94.5895 37.8957 97.4519 35.6131 95.8922 32.9036Z", stroke: "#2C64EF", strokeLinecap: "round", className: "brand300" }), /* @__PURE__ */ t.createElement("path", { d: "M99.193 26.692C98.4116 23.6755 96.1194 25.977 95.3356 28.2686C95.2621 28.4834 95.1391 28.7499 95.3305 28.8721C96.1571 29.3998 100.029 29.9202 99.193 26.692Z", stroke: "#2C64EF", strokeLinecap: "round", className: "brand300" }), /* @__PURE__ */ t.createElement("path", { d: "M102.494 30.0367C102.049 28.1072 100.358 28.985 99.6264 31.1343C99.5533 31.3492 99.3919 31.6192 99.5815 31.744C100.223 32.1662 103.038 32.3979 102.494 30.0367Z", stroke: "#2C64EF", strokeLinecap: "round", className: "brand300" })), ot = W(at), st = (r, n) => /* @__PURE__ */ t.createElement("svg", { alt: "", width: "147px", height: "104px", viewBox: "0 0 256 256", xmlns: "http://www.w3.org/2000/svg", xmlnsXlink: "http://www.w3.org/1999/xlink", ref: n, ...r }, /* @__PURE__ */ t.createElement("title", null, "Icons/Illustrative/Gears1"), /* @__PURE__ */ t.createElement("g", { id: "Icons/Illustrative/Gears1", stroke: "none", strokeWidth: 1, fill: "none", fillRule: "evenodd" }, /* @__PURE__ */ t.createElement("circle", { id: "Oval", fill: "#F2F3F2", cx: 128, cy: 128, r: 128 }), /* @__PURE__ */ t.createElement("g", { id: "Group", transform: "translate(42.000000, 38.000000)", fillRule: "nonzero" }, /* @__PURE__ */ t.createElement("path", { d: "M106.11,-0.000218413865 C107.642968,-0.0133183256 109.118435,0.582907809 110.211785,1.65750358 C111.305134,2.73209936 111.926796,4.19703062 111.94,5.73000001 L111.94,5.73000001 L111.94,14.26 C116.057784,15.2957977 120.000229,16.9334286 123.64,19.12 L123.64,19.12 L129.64,13.07 C131.902451,10.8198774 135.55755,10.8198774 137.82,13.07 L137.82,13.07 L144.82,20.07 C147.074462,22.3267544 147.074462,25.9832456 144.82,28.24 L144.82,28.24 L138.76,34.3 C140.939324,37.9422419 142.573338,41.8840905 143.61,46 L143.61,46 L152.18,46 C153.721605,45.9893289 155.203593,46.5949522 156.296512,47.6822371 C157.38943,48.7695221 158.002704,50.2483606 158.000009,51.79 L158.000009,51.79 L158.000009,61.69 C157.989428,63.2229629 157.370303,64.6889356 156.278833,65.7654023 C155.187364,66.841869 153.712962,67.4406455 152.18,67.43 L152.18,67.43 L143.61,67.43 C142.571461,71.5421335 140.937529,75.4804158 138.76,79.12 L138.76,79.12 L144.87,85.22 C147.124462,87.4767544 147.124462,91.1332457 144.87,93.3900001 L144.87,93.3900001 L137.87,100.39 C135.60755,102.640123 131.952451,102.640123 129.69,100.39 L129.69,100.39 L123.63,94.3200001 C119.984367,96.4949311 116.043674,98.131834 111.93,99.1800001 L111.93,99.1800001 L111.93,107.74 C111.93,110.932206 109.342206,113.52 106.15,113.52 L106.15,113.52 L96.2600001,113.52 C93.0677942,113.52 90.4800001,110.932206 90.4800001,107.74 L90.4800001,107.74 L90.4800001,99.1800001 C86.3651225,98.1354485 82.4239217,96.4983343 78.78,94.3200001 L78.78,94.3200001 L72.72,100.39 C70.4575496,102.640123 66.8024505,102.640123 64.54,100.39 L64.54,100.39 L57.54,93.3900001 C56.4523907,92.3088247 55.8408343,90.8385692 55.8408343,89.305 C55.8408343,87.7714309 56.4523907,86.3011754 57.54,85.22 L57.54,85.22 L63.54,79.12 C61.3721395,75.4897739 59.7482054,71.5613358 58.72,67.46 L58.72,67.46 L50.15,67.46 C46.9577942,67.46 44.37,64.8722059 44.37,61.68 L44.37,61.68 L44.37,51.78 C44.37,48.5877942 46.9577942,46 50.15,46 L50.15,46 L58.69,46 C59.7312635,41.9013872 61.3651501,37.9766906 63.54,34.35 L63.54,34.35 L57.54,28.35 C56.4523907,27.2688246 55.8408343,25.7985692 55.8408343,24.265 C55.8408343,22.7314309 56.4523907,21.2611754 57.54,20.18 L57.54,20.18 L64.54,13.18 C66.7999116,10.9616363 70.4200885,10.9616363 72.68,13.18 L72.68,13.18 L78.74,19.18 C82.3805971,16.9997464 86.3230896,15.368835 90.4400001,14.34 L90.4400001,14.34 L90.4400001,5.78000001 C90.4400001,2.58779416 93.0277942,-0.000218413865 96.2200001,-0.000218413865 L96.2200001,-0.000218413865 Z M101.16,33.85 C88.5402935,33.85 78.31,44.0982021 78.31,56.74 C78.31,69.381798 88.5402935,79.63 101.16,79.63 C113.779707,79.63 124.01,69.381798 124.01,56.74 C124.01,44.0982021 113.779707,33.85 101.16,33.85 Z", id: "Combined-Shape", fill: "#C41F3E" }), /* @__PURE__ */ t.createElement("path", { d: "M125.31,101.68 C126.663009,101.190465 128.156991,101.888254 128.65,103.24 L128.65,103.24 L129.98,106.88 C131.881968,106.682983 133.802585,106.767221 135.68,107.13 L135.68,107.13 L137.36,103.65 C137.974114,102.348051 139.523599,101.785414 140.83,102.39 L140.83,102.39 L144.83,104.28 C145.45764,104.570893 145.943478,105.099917 146.18,105.75 C146.410536,106.403106 146.378265,107.12024 146.09,107.75 L146.09,107.75 L144.45,111.25 C145.938487,112.457816 147.239344,113.879997 148.31,115.47 L148.31,115.47 L151.95,114.15 C152.60106,113.9061 153.323478,113.938609 153.95,114.24 C154.57764,114.530893 155.063478,115.059917 155.3,115.71 L155.3,115.71 L156.82,119.9 L156.8,119.9 C157.042025,120.555947 157.008571,121.281881 156.707242,121.912787 C156.405914,122.543694 155.86231,123.025975 155.2,123.25 L155.2,123.25 L151.57,124.58 C151.762006,126.482114 151.6778,128.402001 151.32,130.28 L151.32,130.28 L154.82,131.92 C155.44764,132.210893 155.933478,132.739917 156.17,133.39 C156.400536,134.043106 156.368265,134.76024 156.08,135.39 L156.08,135.39 L154.19,139.39 C153.899107,140.01764 153.370083,140.503478 152.72,140.74 C152.067374,140.973748 151.348994,140.941421 150.72,140.65 L150.72,140.65 L147.21,139.01 C146.00577,140.498247 144.586919,141.799141 143,142.87 L143,142.87 L144.35,146.52 C144.839535,147.873009 144.141747,149.366991 142.79,149.86 L142.79,149.86 L138.59,151.38 C137.940627,151.623555 137.220542,151.595411 136.59216,151.301915 C135.963777,151.008419 135.48002,150.47429 135.25,149.82 L135.25,149.82 L133.93,146.19 C132.024565,146.382273 130.10134,146.298069 128.22,145.94 L128.22,145.94 L126.59,149.44 C126.297704,150.070291 125.764434,150.55672 125.11,150.79 C124.457374,151.023748 123.738994,150.991421 123.11,150.7 L123.11,150.7 L119.11,148.81 C118.483388,148.51904 117.998342,147.990654 117.761941,147.34149 C117.52554,146.692325 117.557225,145.975766 117.85,145.35 L117.85,145.35 L119.48,141.84 C117.99911,140.627965 116.699271,139.210265 115.62,137.63 L115.62,137.63 L111.99,138.95 C110.636992,139.439535 109.143009,138.741746 108.65,137.39 L108.65,137.39 L107.12,133.19 C106.630465,131.836992 107.328254,130.343009 108.68,129.85 L108.68,129.85 L112.32,128.53 C112.122724,126.62471 112.20696,124.700758 112.57,122.82 L112.57,122.82 L109.06,121.19 C107.762385,120.571943 107.201268,119.026645 107.8,117.72 L107.8,117.72 L109.69,113.67 C110.303837,112.367488 111.856552,111.808152 113.16,112.42 L113.16,112.42 L116.66,114.05 C117.873171,112.566569 119.294557,111.266438 120.88,110.19 L120.88,110.19 L119.56,106.56 C119.317574,105.90955 119.346396,105.189009 119.64,104.56 C119.935033,103.931721 120.467319,103.44619 121.12,103.21 L121.12,103.21 Z M128.447599,116.83953 C123.095918,118.78421 120.337056,124.707495 122.285508,130.069558 C124.233961,135.43162 130.151888,138.201956 135.503569,136.257276 C140.85525,134.312597 143.614112,128.389311 141.66566,123.027249 C139.717208,117.665186 133.79928,114.89485 128.447599,116.83953 Z", id: "Combined-Shape", fill: "#C41F3E" }), /* @__PURE__ */ t.createElement("path", { d: "M49.0033734,120.673794 L107.724759,161.167841 C110.229937,162.882581 111.95088,165.522716 112.508555,168.506883 C113.044781,171.376274 112.463214,174.337468 110.891371,176.786789 L110.698005,177.078212 C107.111197,182.279527 99.9870169,183.588344 94.785702,180.001537 L36.0313869,139.484783 L49.0033734,120.673794 Z M100.36,162.71 C96.3504128,162.71 93.1000001,165.960413 93.1000001,169.97 C93.1000001,173.979587 96.3504128,177.23 100.36,177.23 C104.369587,177.23 107.62,173.979587 107.62,169.97 C107.62,165.960413 104.369587,162.71 100.36,162.71 Z", id: "Combined-Shape", fill: "#8B1D41" }), /* @__PURE__ */ t.createElement("path", { d: "M14.15,96.5100001 L35.84,111.51 L36.41,120.37 L31.47,127.54 L22.75,130.48 L1.06000001,115.49 C-1.8576625,129.410687 5.44846092,143.45713 18.5213637,149.060478 C31.5942664,154.663825 46.8049178,150.26859 54.8742555,138.556029 C62.9435933,126.843469 61.6315736,111.064983 51.7385773,100.846035 C41.845581,90.627086 26.1178984,88.8044491 14.15,96.4900001 L14.15,96.5100001 Z", id: "Path", fill: "#8B1D41" })))), ct = W(st), F2 = ({ errorText: r, errorDescription: n, isCibc: i = !1 }) => /* @__PURE__ */ e(P, { sx: { py: 32, px: 16 }, children: /* @__PURE__ */ c(E, { sx: { gap: 16, alignItems: "center" }, children: [
2067
2070
  /* @__PURE__ */ e(
2068
2071
  j,
2069
2072
  {
@@ -2071,8 +2074,8 @@ const Ie = ({
2071
2074
  image: i ? ct : ot
2072
2075
  }
2073
2076
  ),
2074
- /* @__PURE__ */ h(E, { sx: { alignItems: "center", gap: 2 }, children: [
2075
- /* @__PURE__ */ e(f, { bold: !0, variant: "body1", children: r }),
2077
+ /* @__PURE__ */ c(E, { sx: { alignItems: "center", gap: 2 }, children: [
2078
+ /* @__PURE__ */ e(k, { bold: !0, variant: "body1", children: r }),
2076
2079
  /* @__PURE__ */ e(L, { sx: { fontWeight: 400, textAlign: "center" }, variant: "subtitle2", children: n })
2077
2080
  ] })
2078
2081
  ] }) }), U2 = ({
@@ -2080,14 +2083,14 @@ const Ie = ({
2080
2083
  menuHeaderCloseButtonAriaLabel: n,
2081
2084
  onCancel: i,
2082
2085
  onClose: l,
2083
- rating: a,
2084
- sx: o = {}
2085
- }) => /* @__PURE__ */ h(H1, { fontSize: 18, id: "alert-dialog-title", children: [
2086
+ rating: o,
2087
+ sx: a = {}
2088
+ }) => /* @__PURE__ */ c(H1, { fontSize: 18, id: "alert-dialog-title", children: [
2086
2089
  r,
2087
2090
  /* @__PURE__ */ e(
2088
2091
  F,
2089
2092
  {
2090
- "aria-label": a ? n.ratingExist : n.ratingDoesntExist,
2093
+ "aria-label": o ? n.ratingExist : n.ratingDoesntExist,
2091
2094
  "data-ui-test": "feedback-close-button",
2092
2095
  onClick: () => {
2093
2096
  i(), l();
@@ -2101,7 +2104,7 @@ const Ie = ({
2101
2104
  {
2102
2105
  name: "cancel",
2103
2106
  sx: {
2104
- ...o
2107
+ ...a
2105
2108
  }
2106
2109
  }
2107
2110
  )
@@ -2112,11 +2115,11 @@ const Ie = ({
2112
2115
  errorMessage: n,
2113
2116
  feedbackMessage: i,
2114
2117
  onCancel: l,
2115
- onClose: a,
2116
- selectedRadio: o
2118
+ onClose: o,
2119
+ selectedRadio: a
2117
2120
  }) => {
2118
- const { cancelText: s, submitText: c } = r;
2119
- return /* @__PURE__ */ h(
2121
+ const { cancelText: s, submitText: h } = r;
2122
+ return /* @__PURE__ */ c(
2120
2123
  y,
2121
2124
  {
2122
2125
  sx: {
@@ -2131,7 +2134,7 @@ const Ie = ({
2131
2134
  {
2132
2135
  className: "mx-insights-beat-feedback-submit-button",
2133
2136
  "data-ui-test": "submit-button",
2134
- disabled: !i && o === void 0 || !!n,
2137
+ disabled: !i && a === void 0 || !!n,
2135
2138
  sx: {
2136
2139
  fontSize: 16,
2137
2140
  "&:hover": {
@@ -2142,7 +2145,7 @@ const Ie = ({
2142
2145
  },
2143
2146
  type: "submit",
2144
2147
  variant: "contained",
2145
- children: c
2148
+ children: h
2146
2149
  }
2147
2150
  ),
2148
2151
  /* @__PURE__ */ e(
@@ -2151,7 +2154,7 @@ const Ie = ({
2151
2154
  className: "mx-insights-beat-feedback-no-thanks-button",
2152
2155
  "data-ui-test": "no-thanks-button",
2153
2156
  onClick: () => {
2154
- l(), a();
2157
+ l(), o();
2155
2158
  },
2156
2159
  sx: {
2157
2160
  fontSize: 15,
@@ -2177,7 +2180,7 @@ const Ie = ({
2177
2180
  p: 24,
2178
2181
  width: "100%"
2179
2182
  },
2180
- children: /* @__PURE__ */ e(z1, { "aria-label": n, name: "radio-buttons-group", children: r.map((a, o) => /* @__PURE__ */ e(
2183
+ children: /* @__PURE__ */ e(z1, { "aria-label": n, name: "radio-buttons-group", children: r.map((o, a) => /* @__PURE__ */ e(
2181
2184
  y,
2182
2185
  {
2183
2186
  sx: (s) => ({
@@ -2190,8 +2193,8 @@ const Ie = ({
2190
2193
  control: /* @__PURE__ */ e(
2191
2194
  D1,
2192
2195
  {
2193
- checked: i === o,
2194
- name: `radio-${o}`,
2196
+ checked: i === a,
2197
+ name: `radio-${a}`,
2195
2198
  onChange: (s) => l(Number(s.target.value)),
2196
2199
  size: "small",
2197
2200
  sx: (s) => ({
@@ -2204,15 +2207,15 @@ const Ie = ({
2204
2207
  })
2205
2208
  }
2206
2209
  ),
2207
- label: a,
2210
+ label: o,
2208
2211
  labelPlacement: "start",
2209
2212
  sx: { ml: 0, p: "24px 0px 23px", width: "100%" },
2210
- value: o
2213
+ value: a
2211
2214
  },
2212
- o
2215
+ a
2213
2216
  )
2214
2217
  },
2215
- o
2218
+ a
2216
2219
  )) })
2217
2220
  }
2218
2221
  ), q2 = ({
@@ -2220,20 +2223,20 @@ const Ie = ({
2220
2223
  feedbackAriaLabel: n,
2221
2224
  feedbackCharacterLimitText: i,
2222
2225
  feedbackDescriptionPlaceHolder: l,
2223
- feedbackLabel: a,
2224
- feedbackMessage: o,
2226
+ feedbackLabel: o,
2227
+ feedbackMessage: a,
2225
2228
  sendAnalytics: s,
2226
- setFeedbackMessage: c,
2229
+ setFeedbackMessage: h,
2227
2230
  validateForm: d
2228
2231
  }) => {
2229
2232
  const m = ue(Ee)({
2230
2233
  height: 93,
2231
2234
  resize: "none"
2232
2235
  });
2233
- return /* @__PURE__ */ h(
2236
+ return /* @__PURE__ */ c(
2234
2237
  y,
2235
2238
  {
2236
- "aria-label": a,
2239
+ "aria-label": o,
2237
2240
  sx: {
2238
2241
  marginTop: 24,
2239
2242
  px: 24
@@ -2248,7 +2251,7 @@ const Ie = ({
2248
2251
  minRows: 4,
2249
2252
  name: "Feedback",
2250
2253
  onChange: (p) => {
2251
- c(p.target.value), d(p.target.value);
2254
+ h(p.target.value), d(p.target.value);
2252
2255
  },
2253
2256
  onClick: () => s(),
2254
2257
  placeholder: l,
@@ -2256,7 +2259,7 @@ const Ie = ({
2256
2259
  p: 12,
2257
2260
  width: "100%"
2258
2261
  },
2259
- value: o
2262
+ value: a
2260
2263
  }
2261
2264
  ),
2262
2265
  i && /* @__PURE__ */ e(
@@ -2324,32 +2327,32 @@ const Ie = ({
2324
2327
  beat: n,
2325
2328
  buttonProps: i,
2326
2329
  color: l,
2327
- data: a,
2328
- legendLabelAvg: o,
2330
+ data: o,
2331
+ legendLabelAvg: a,
2329
2332
  legendLabelMain: s,
2330
- onBarClick: c,
2333
+ onBarClick: h,
2331
2334
  ...d
2332
- }) => /* @__PURE__ */ e(v, { ...d, beat: n, button: /* @__PURE__ */ e(G, { ...i, beat: n }), children: a.length > 0 ? /* @__PURE__ */ e(
2335
+ }) => /* @__PURE__ */ e(v, { ...d, beat: n, button: /* @__PURE__ */ e(G, { ...i, beat: n }), children: o.length > 0 ? /* @__PURE__ */ e(
2333
2336
  n1,
2334
2337
  {
2335
2338
  amounts: r,
2336
2339
  color: l,
2337
- data: a,
2340
+ data: o,
2338
2341
  isMini: d.isMini,
2339
- legendLabelAvg: o,
2342
+ legendLabelAvg: a,
2340
2343
  legendLabelMain: s,
2341
2344
  margin: { bottom: 32, left: 2, right: 2, top: 24 },
2342
- onBarClick: c
2345
+ onBarClick: h
2343
2346
  }
2344
2347
  ) : /* @__PURE__ */ e(j, { image: f1 }) }), t4 = ({
2345
2348
  amounts: r,
2346
2349
  beat: n,
2347
2350
  buttonProps: i,
2348
2351
  color: l,
2349
- data: a,
2350
- trendAmountLabel: o,
2352
+ data: o,
2353
+ trendAmountLabel: a,
2351
2354
  monthlyAmountLabel: s,
2352
- onBarClick: c,
2355
+ onBarClick: h,
2353
2356
  selectedTabIndex: d,
2354
2357
  ...m
2355
2358
  }) => /* @__PURE__ */ e(
@@ -2357,7 +2360,7 @@ const Ie = ({
2357
2360
  {
2358
2361
  ...m,
2359
2362
  beat: n,
2360
- button: a?.length > 0 && /* @__PURE__ */ e(G, { ...i, beat: n }),
2363
+ button: o?.length > 0 && /* @__PURE__ */ e(G, { ...i, beat: n }),
2361
2364
  contentProps: {
2362
2365
  sx: {
2363
2366
  // TODO: Update BeatCard layout to match the new spacing
@@ -2370,17 +2373,17 @@ const Ie = ({
2370
2373
  }
2371
2374
  }
2372
2375
  },
2373
- children: a.length > 0 ? /* @__PURE__ */ e(
2376
+ children: o.length > 0 ? /* @__PURE__ */ e(
2374
2377
  C1,
2375
2378
  {
2376
2379
  amounts: r,
2377
2380
  color: l,
2378
- data: a,
2381
+ data: o,
2379
2382
  margin: { bottom: 10, left: 2, right: 2, top: 20 },
2380
2383
  monthlyAmountLabel: s,
2381
- onBarClick: c,
2384
+ onBarClick: h,
2382
2385
  selectedTabIndex: d,
2383
- trendAmountLabel: o
2386
+ trendAmountLabel: a
2384
2387
  }
2385
2388
  ) : /* @__PURE__ */ e(
2386
2389
  j,
@@ -2400,20 +2403,20 @@ const Ie = ({
2400
2403
  label: n,
2401
2404
  beat: i,
2402
2405
  budgetPercentage: l,
2403
- leftLabel: a,
2404
- rightLabel: o,
2406
+ leftLabel: o,
2407
+ rightLabel: a,
2405
2408
  buttonProps: s,
2406
- ...c
2409
+ ...h
2407
2410
  }) => {
2408
2411
  const { category_guid: d } = i.payload, m = () => l > 100 ? "error.main" : l > 50 ? "warning.main" : "success.main", p = ye(), u = Ce(d, p);
2409
2412
  return /* @__PURE__ */ e(
2410
2413
  v,
2411
2414
  {
2412
- ...c,
2415
+ ...h,
2413
2416
  beat: i,
2414
2417
  button: /* @__PURE__ */ e(G, { ...s, beat: i }),
2415
2418
  contentProps: { sx: { "& p": { px: 0, pb: 16, pt: 20 } } },
2416
- header: { ...c.header, sx: { mb: 20 } },
2419
+ header: { ...h.header, sx: { mb: 20 } },
2417
2420
  children: /* @__PURE__ */ e(
2418
2421
  $1,
2419
2422
  {
@@ -2435,10 +2438,10 @@ const Ie = ({
2435
2438
  }
2436
2439
  ),
2437
2440
  label: n,
2438
- leftLabel: a,
2441
+ leftLabel: o,
2439
2442
  percentComplete: l,
2440
- rightLabel: o,
2441
- sx: { p: 0 }
2443
+ rightLabel: a,
2444
+ sx: { p: 0, "& .details-container": { gap: 12 } }
2442
2445
  }
2443
2446
  )
2444
2447
  }
@@ -2460,7 +2463,7 @@ const ut = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAUAAAACvCAYAAACM9QdJAA
2460
2463
  {
2461
2464
  ...n,
2462
2465
  beat: r,
2463
- onClick: (a) => n?.onClick?.(a, A.Primary)
2466
+ onClick: (o) => n?.onClick?.(o, A.Primary)
2464
2467
  }
2465
2468
  ),
2466
2469
  children: /* @__PURE__ */ e(
@@ -2476,12 +2479,12 @@ const ut = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAUAAAACvCAYAAACM9QdJAA
2476
2479
  y,
2477
2480
  {
2478
2481
  sx: {
2479
- bgcolor: (a) => v1(a.palette.success.light, 0.6),
2482
+ bgcolor: (o) => v1(o.palette.success.light, 0.6),
2480
2483
  height: 56,
2481
2484
  p: 8,
2482
2485
  pl: 16
2483
2486
  },
2484
- children: /* @__PURE__ */ e(f, { color: "success.dark", variant: "h1", children: i.amount })
2487
+ children: /* @__PURE__ */ e(k, { color: "success.dark", variant: "h1", children: i.amount })
2485
2488
  }
2486
2489
  )
2487
2490
  }
@@ -2492,10 +2495,10 @@ const ut = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAUAAAACvCAYAAACM9QdJAA
2492
2495
  beat: n,
2493
2496
  buttonProps: i,
2494
2497
  color: l,
2495
- data: a,
2496
- legendLabelAvg: o,
2498
+ data: o,
2499
+ legendLabelAvg: a,
2497
2500
  legendLabelMain: s,
2498
- onBarClick: c,
2501
+ onBarClick: h,
2499
2502
  selectedTabIndex: d,
2500
2503
  ...m
2501
2504
  }) => /* @__PURE__ */ e(
@@ -2503,7 +2506,7 @@ const ut = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAUAAAACvCAYAAACM9QdJAA
2503
2506
  {
2504
2507
  ...m,
2505
2508
  beat: n,
2506
- button: a.length ? /* @__PURE__ */ h(E, { spacing: 10, sx: { pt: 8 }, children: [
2509
+ button: o.length ? /* @__PURE__ */ c(E, { spacing: 10, sx: { pt: 8 }, children: [
2507
2510
  /* @__PURE__ */ e(
2508
2511
  G,
2509
2512
  {
@@ -2522,14 +2525,14 @@ const ut = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAUAAAACvCAYAAACM9QdJAA
2522
2525
  }
2523
2526
  )
2524
2527
  ] }) : null,
2525
- children: a.length ? /* @__PURE__ */ e(
2528
+ children: o.length ? /* @__PURE__ */ e(
2526
2529
  n1,
2527
2530
  {
2528
2531
  amounts: r,
2529
2532
  color: l,
2530
- data: a,
2533
+ data: o,
2531
2534
  isMini: m.isMini,
2532
- legendLabelAvg: o,
2535
+ legendLabelAvg: a,
2533
2536
  legendLabelMain: s,
2534
2537
  margin: {
2535
2538
  bottom: 32,
@@ -2537,7 +2540,7 @@ const ut = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAUAAAACvCAYAAACM9QdJAA
2537
2540
  right: 2,
2538
2541
  top: 24
2539
2542
  },
2540
- onBarClick: c,
2543
+ onBarClick: h,
2541
2544
  selectedTabIndex: d
2542
2545
  }
2543
2546
  ) : /* @__PURE__ */ e(B, {})
@@ -2547,52 +2550,57 @@ const ut = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAUAAAACvCAYAAACM9QdJAA
2547
2550
  beat: n,
2548
2551
  buttonProps: i,
2549
2552
  color: l,
2550
- data: a,
2551
- monthlyAmountLabel: o,
2552
- onBarClick: s,
2553
- selectedTabIndex: c,
2554
- trendAmountLabel: d,
2555
- ...m
2553
+ data: o,
2554
+ hasBudget: a = !1,
2555
+ monthlyAmountLabel: s,
2556
+ onBarClick: h,
2557
+ selectedTabIndex: d,
2558
+ trendAmountLabel: m,
2559
+ ...p
2556
2560
  }) => /* @__PURE__ */ e(
2557
2561
  v,
2558
2562
  {
2559
- ...m,
2563
+ ...p,
2560
2564
  beat: n,
2561
- button: a.length ? /* @__PURE__ */ h(E, { sx: { gap: 8 }, children: [
2565
+ button: o.length ? /* @__PURE__ */ c(E, { sx: { gap: 8 }, children: [
2562
2566
  /* @__PURE__ */ e(
2563
2567
  G,
2564
2568
  {
2565
2569
  ...i,
2566
2570
  beat: n,
2567
- onClick: (p) => i?.onClick?.(p, A.Primary)
2571
+ hide: a,
2572
+ onClick: (u) => i?.onClick?.(u, A.Primary)
2568
2573
  }
2569
2574
  ),
2570
2575
  /* @__PURE__ */ e(
2571
2576
  G,
2572
2577
  {
2573
2578
  ...i,
2574
- beat: n,
2575
- onClick: (p) => i?.onClick?.(p, A.Secondary),
2576
- primary: !1
2579
+ beat: {
2580
+ ...n,
2581
+ call_to_action: a ? n.supporting_action : n.call_to_action
2582
+ },
2583
+ onClick: (u) => i?.onClick?.(u, A[a ? "Primary" : "Secondary"]),
2584
+ primary: a
2577
2585
  }
2578
2586
  )
2579
2587
  ] }) : null,
2580
- children: a.length ? /* @__PURE__ */ e(
2588
+ children: o.length ? /* @__PURE__ */ e(
2581
2589
  C1,
2582
2590
  {
2583
2591
  amounts: r,
2584
2592
  color: l,
2585
- data: a,
2593
+ data: o,
2586
2594
  margin: {
2587
2595
  bottom: 32,
2588
2596
  left: 2,
2589
2597
  right: 2,
2590
2598
  top: 24
2591
2599
  },
2592
- monthlyAmountLabel: o,
2593
- onBarClick: s,
2594
- selectedTabIndex: c,
2595
- trendAmountLabel: d
2600
+ monthlyAmountLabel: s,
2601
+ onBarClick: h,
2602
+ selectedTabIndex: d,
2603
+ trendAmountLabel: m
2596
2604
  }
2597
2605
  ) : /* @__PURE__ */ e(B, {})
2598
2606
  }
@@ -2606,15 +2614,15 @@ const ut = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAUAAAACvCAYAAACM9QdJAA
2606
2614
  isDarkMode: i,
2607
2615
  ...l
2608
2616
  }) => {
2609
- const a = M.useRef(null), { height: o, width: s } = U(a);
2610
- return /* @__PURE__ */ h(v, { ...l, beat: r, children: [
2611
- /* @__PURE__ */ e(l1, { height: o, shouldRun: !0, width: s }),
2617
+ const o = f.useRef(null), { height: a, width: s } = U(o);
2618
+ return /* @__PURE__ */ c(v, { ...l, beat: r, children: [
2619
+ /* @__PURE__ */ e(l1, { height: a, shouldRun: !0, width: s }),
2612
2620
  /* @__PURE__ */ e(
2613
2621
  E,
2614
2622
  {
2615
2623
  alignItems: "center",
2616
2624
  justifyContent: "center",
2617
- ref: a,
2625
+ ref: o,
2618
2626
  sx: {
2619
2627
  backgroundColor: "background.default",
2620
2628
  backgroundImage: "linear-gradient(256.82deg, rgba(255, 224, 153, 0.2) 1.86%, rgba(255, 129, 230, 0.2) 101.54%)",
@@ -2623,7 +2631,7 @@ const ut = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAUAAAACvCAYAAACM9QdJAA
2623
2631
  py: 24,
2624
2632
  width: "100%"
2625
2633
  },
2626
- children: /* @__PURE__ */ h(
2634
+ children: /* @__PURE__ */ c(
2627
2635
  E,
2628
2636
  {
2629
2637
  alignItems: "center",
@@ -2647,9 +2655,9 @@ const ut = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAUAAAACvCAYAAACM9QdJAA
2647
2655
  image: i ? Ct : ft
2648
2656
  }
2649
2657
  ),
2650
- /* @__PURE__ */ h(E, { children: [
2658
+ /* @__PURE__ */ c(E, { children: [
2651
2659
  /* @__PURE__ */ e(y, { sx: { color: "success.dark" }, children: n.balance }),
2652
- /* @__PURE__ */ e(f, { color: "text.secondary", variant: "XSmall", children: n.text })
2660
+ /* @__PURE__ */ e(k, { color: "text.secondary", variant: "XSmall", children: n.text })
2653
2661
  ] })
2654
2662
  ]
2655
2663
  }
@@ -2662,8 +2670,8 @@ const ut = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAUAAAACvCAYAAACM9QdJAA
2662
2670
  beat: n,
2663
2671
  buttonProps: i,
2664
2672
  header: l,
2665
- isMini: a,
2666
- ...o
2673
+ isMini: o,
2674
+ ...a
2667
2675
  }) => /* @__PURE__ */ e(
2668
2676
  v,
2669
2677
  {
@@ -2683,8 +2691,8 @@ const ut = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAUAAAACvCAYAAACM9QdJAA
2683
2691
  }
2684
2692
  },
2685
2693
  header: l,
2686
- isMini: a,
2687
- ...o,
2694
+ isMini: o,
2695
+ ...a,
2688
2696
  children: /* @__PURE__ */ e(V, {})
2689
2697
  }
2690
2698
  ), s4 = ({
@@ -2692,13 +2700,13 @@ const ut = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAUAAAACvCAYAAACM9QdJAA
2692
2700
  buttonProps: n,
2693
2701
  category: i,
2694
2702
  formattedAmount: l,
2695
- isDarkMode: a,
2696
- transactionDescription: o,
2703
+ isDarkMode: o,
2704
+ transactionDescription: a,
2697
2705
  ...s
2698
2706
  }) => {
2699
- const { primary_transaction: c, primary_category_guid: d } = r;
2700
- if (!c) return null;
2701
- const m = c.top_level_category_guid || c.category_guid || d || "", p = c.merchant_guid || "", u = m || d, C = a ? "linear-gradient(#19B07B, #006642)" : "linear-gradient(#D9FDEA, #8DF1CE)";
2707
+ const { primary_transaction: h, primary_category_guid: d } = r;
2708
+ if (!h) return null;
2709
+ const m = h.top_level_category_guid || h.category_guid || d || "", p = h.merchant_guid || "", u = m || d, C = o ? "linear-gradient(#19B07B, #006642)" : "linear-gradient(#D9FDEA, #8DF1CE)";
2702
2710
  return /* @__PURE__ */ e(
2703
2711
  v,
2704
2712
  {
@@ -2713,20 +2721,20 @@ const ut = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAUAAAACvCAYAAACM9QdJAA
2713
2721
  ...s.header,
2714
2722
  hasFullWidthImage: !0
2715
2723
  },
2716
- children: /* @__PURE__ */ e(y, { sx: { background: C, p: 16, width: "100%" }, children: /* @__PURE__ */ e(P, { sx: { bgcolor: a ? "grey.800" : "common.white", p: 16 }, children: /* @__PURE__ */ h(E, { sx: { alignItems: "center", gap: 12 }, children: [
2724
+ children: /* @__PURE__ */ e(y, { sx: { background: C, p: 16, width: "100%" }, children: /* @__PURE__ */ e(P, { sx: { bgcolor: o ? "grey.800" : "common.white", p: 16 }, children: /* @__PURE__ */ c(E, { sx: { alignItems: "center", gap: 12 }, children: [
2717
2725
  /* @__PURE__ */ e(
2718
2726
  _,
2719
2727
  {
2720
- alt: c.description,
2728
+ alt: h.description,
2721
2729
  categoryGuid: m,
2722
2730
  merchantGuid: p,
2723
2731
  size: 40
2724
2732
  }
2725
2733
  ),
2726
- /* @__PURE__ */ h(E, { sx: { alignItems: "center", gap: 4 }, children: [
2734
+ /* @__PURE__ */ c(E, { sx: { alignItems: "center", gap: 4 }, children: [
2727
2735
  /* @__PURE__ */ e(i1, { color: "success.main", children: l }),
2728
- /* @__PURE__ */ e(f, { bold: !0, sx: { fontSize: 13, lineHeight: "16px" }, children: o }),
2729
- /* @__PURE__ */ h(E, { sx: { alignItems: "center", flexDirection: "row", gap: 4 }, children: [
2736
+ /* @__PURE__ */ e(k, { bold: !0, sx: { fontSize: 13, lineHeight: "16px" }, children: a }),
2737
+ /* @__PURE__ */ c(E, { sx: { alignItems: "center", flexDirection: "row", gap: 4 }, children: [
2730
2738
  u && /* @__PURE__ */ e(
2731
2739
  p1,
2732
2740
  {
@@ -2737,7 +2745,7 @@ const ut = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAUAAAACvCAYAAACM9QdJAA
2737
2745
  variant: "transparent"
2738
2746
  }
2739
2747
  ),
2740
- /* @__PURE__ */ e(f, { color: "text.secondary", sx: { fontSize: 11, lineHeight: "16px" }, children: i })
2748
+ /* @__PURE__ */ e(k, { color: "text.secondary", sx: { fontSize: 11, lineHeight: "16px" }, children: i })
2741
2749
  ] })
2742
2750
  ] })
2743
2751
  ] }) }) })
@@ -2761,9 +2769,9 @@ const ut = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAUAAAACvCAYAAACM9QdJAA
2761
2769
  account_guid_2: n,
2762
2770
  account_1_alt_text: i,
2763
2771
  account_2_alt_text: l,
2764
- isSuccess: a
2772
+ isSuccess: o
2765
2773
  }) => {
2766
- const o = M.useRef(null), { height: s, width: c } = U(o);
2774
+ const a = f.useRef(null), { height: s, width: h } = U(a);
2767
2775
  return /* @__PURE__ */ e(
2768
2776
  y,
2769
2777
  {
@@ -2773,10 +2781,10 @@ const ut = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAUAAAACvCAYAAACM9QdJAA
2773
2781
  p: 16,
2774
2782
  width: "100%"
2775
2783
  },
2776
- children: /* @__PURE__ */ h(
2784
+ children: /* @__PURE__ */ c(
2777
2785
  y,
2778
2786
  {
2779
- ref: o,
2787
+ ref: a,
2780
2788
  sx: {
2781
2789
  alignItems: "center",
2782
2790
  display: "flex",
@@ -2787,8 +2795,8 @@ const ut = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAUAAAACvCAYAAACM9QdJAA
2787
2795
  p: 16
2788
2796
  },
2789
2797
  children: [
2790
- /* @__PURE__ */ e(l1, { height: s, shouldRun: a, width: c }),
2791
- /* @__PURE__ */ h(
2798
+ /* @__PURE__ */ e(l1, { height: s, shouldRun: o, width: h }),
2799
+ /* @__PURE__ */ c(
2792
2800
  y,
2793
2801
  {
2794
2802
  sx: {
@@ -2799,7 +2807,7 @@ const ut = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAUAAAACvCAYAAACM9QdJAA
2799
2807
  width: 268
2800
2808
  },
2801
2809
  children: [
2802
- /* @__PURE__ */ h(
2810
+ /* @__PURE__ */ c(
2803
2811
  y,
2804
2812
  {
2805
2813
  sx: {
@@ -2822,7 +2830,7 @@ const ut = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAUAAAACvCAYAAACM9QdJAA
2822
2830
  ),
2823
2831
  /* @__PURE__ */ e(t1, { sx: { marginLeft: 11 } }),
2824
2832
  /* @__PURE__ */ e(t1, { sx: { marginLeft: 4 } }),
2825
- a ? /* @__PURE__ */ e(
2833
+ o ? /* @__PURE__ */ e(
2826
2834
  J,
2827
2835
  {
2828
2836
  fill: !0,
@@ -2899,12 +2907,12 @@ const ut = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAUAAAACvCAYAAACM9QdJAA
2899
2907
  height: "100%",
2900
2908
  justifyContent: "space-between",
2901
2909
  sx: { bgcolor: "background.paper" },
2902
- children: /* @__PURE__ */ h(y, { height: "100%", overflow: "auto", children: [
2903
- /* @__PURE__ */ h(y, { children: [
2910
+ children: /* @__PURE__ */ c(y, { height: "100%", overflow: "auto", children: [
2911
+ /* @__PURE__ */ c(y, { children: [
2904
2912
  /* @__PURE__ */ e(i1, { sx: { p: "16px 24px 8px 24px", whiteSpace: "wrap" }, children: r.header_text }),
2905
- /* @__PURE__ */ h(E, { sx: { gap: 12, px: 24 }, children: [
2913
+ /* @__PURE__ */ c(E, { sx: { gap: 12, px: 24 }, children: [
2906
2914
  /* @__PURE__ */ e(L, { color: "textSecondary", fontSize: 13, children: r.description }),
2907
- /* @__PURE__ */ e(g1, { children: r.benefits_list_array.map((i, l) => /* @__PURE__ */ h(
2915
+ /* @__PURE__ */ e(g1, { children: r.benefits_list_array.map((i, l) => /* @__PURE__ */ c(
2908
2916
  Z1,
2909
2917
  {
2910
2918
  sx: {
@@ -2930,10 +2938,10 @@ const ut = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAUAAAACvCAYAAACM9QdJAA
2930
2938
  )) })
2931
2939
  ] })
2932
2940
  ] }),
2933
- /* @__PURE__ */ h(y, { children: [
2934
- /* @__PURE__ */ e(f, { bold: !0, fontSize: 15, sx: { p: "16px 24px 8px 24px" }, children: r.shared_info_header_text }),
2941
+ /* @__PURE__ */ c(y, { children: [
2942
+ /* @__PURE__ */ e(k, { bold: !0, fontSize: 15, sx: { p: "16px 24px 8px 24px" }, children: r.shared_info_header_text }),
2935
2943
  /* @__PURE__ */ e(L, { color: "textSecondary", fontSize: 13, sx: { mb: 16, mx: 24 }, children: r.shared_info_description }),
2936
- /* @__PURE__ */ e(g1, { sx: { p: "16px 24px" }, children: r.shared_info_list_array.map((i, l) => /* @__PURE__ */ h(
2944
+ /* @__PURE__ */ e(g1, { sx: { p: "16px 24px" }, children: r.shared_info_list_array.map((i, l) => /* @__PURE__ */ c(
2937
2945
  Z1,
2938
2946
  {
2939
2947
  sx: {
@@ -2970,9 +2978,9 @@ const ut = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAUAAAACvCAYAAACM9QdJAA
2970
2978
  `lower-list-${l}`
2971
2979
  )) })
2972
2980
  ] }),
2973
- /* @__PURE__ */ h(E, { sx: { alignItems: "center", justifyContent: "center", pb: 16 }, children: [
2974
- /* @__PURE__ */ e(f, { bold: !0, sx: { p: "16px 24px 8px 24px" }, children: r.footer_title }),
2975
- /* @__PURE__ */ h(y, { sx: { display: "flex", gap: 24, p: "12px 24px" }, children: [
2981
+ /* @__PURE__ */ c(E, { sx: { alignItems: "center", justifyContent: "center", pb: 16 }, children: [
2982
+ /* @__PURE__ */ e(k, { bold: !0, sx: { p: "16px 24px 8px 24px" }, children: r.footer_title }),
2983
+ /* @__PURE__ */ c(y, { sx: { display: "flex", gap: 24, p: "12px 24px" }, children: [
2976
2984
  /* @__PURE__ */ e(
2977
2985
  F,
2978
2986
  {
@@ -2998,10 +3006,10 @@ const ut = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAUAAAACvCAYAAACM9QdJAA
2998
3006
  account_2_alt_text: n,
2999
3007
  account_guid_1: i,
3000
3008
  account_guid_2: l,
3001
- beat: a,
3002
- height: o,
3009
+ beat: o,
3010
+ height: a,
3003
3011
  isSuccess: s
3004
- }) => /* @__PURE__ */ e(Ne, { beat: a, height: o, children: /* @__PURE__ */ e(
3012
+ }) => /* @__PURE__ */ e(Ne, { beat: o, height: a, children: /* @__PURE__ */ e(
3005
3013
  kt,
3006
3014
  {
3007
3015
  account_1_alt_text: r,
@@ -3015,12 +3023,12 @@ const ut = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAUAAAACvCAYAAACM9QdJAA
3015
3023
  isMini: n,
3016
3024
  ...i
3017
3025
  }) => {
3018
- const l = r ? N1 : gt, a = {
3026
+ const l = r ? N1 : gt, o = {
3019
3027
  height: "auto",
3020
3028
  marginBottom: 16,
3021
3029
  width: n ? "30%" : "50%"
3022
- }, o = r ? { ...a, width: n ? "50%" : "70%" } : a;
3023
- return /* @__PURE__ */ e(v, { ...i, isMini: n, children: /* @__PURE__ */ e(j, { divProps: { style: o }, image: l }) });
3030
+ }, a = r ? { ...o, width: n ? "50%" : "70%" } : o;
3031
+ return /* @__PURE__ */ e(v, { ...i, isMini: n, children: /* @__PURE__ */ e(j, { divProps: { style: a }, image: l }) });
3024
3032
  }, St = (r, n) => /* @__PURE__ */ t.createElement("svg", { width: 300, height: 150, viewBox: "0 0 300 150", fill: "none", xmlns: "http://www.w3.org/2000/svg", ref: n, ...r }, /* @__PURE__ */ t.createElement("g", { clipPath: "url(#clip0_894_181586)" }, /* @__PURE__ */ t.createElement("path", { d: "M263.546 101.006C256.166 68.1421 233.551 75.6061 227.423 34.1081C223.95 10.5858 193.86 0.812505 174.964 0.627529C141.662 0.308026 109.736 30.3465 76.5568 42.9865C36.6205 58.1937 3.04153 79.4439 43.6467 104.539C70.1761 120.935 163.779 139.129 212.809 141.534C246.25 143.148 268.489 123.018 263.546 101.006Z", className: "brand100", fill: "#DFE8FD" }), /* @__PURE__ */ t.createElement("path", { d: "M125.12 51.127H241.305", className: "brand300", stroke: "#2C64EF", strokeWidth: 3.15067, strokeLinecap: "round", strokeLinejoin: "round" }), /* @__PURE__ */ t.createElement("path", { d: "M243.12 116.479H125.12V127.371H243.12V116.479Z", className: "brand300", stroke: "#2C64EF", strokeWidth: 3.15067, strokeLinecap: "round", strokeLinejoin: "round" }), /* @__PURE__ */ t.createElement("path", { d: "M234.042 51.127H132.38V58.3885H234.042V51.127Z", className: "brand300", stroke: "#2C64EF", strokeWidth: 3.15067, strokeLinecap: "round", strokeLinejoin: "round" }), /* @__PURE__ */ t.createElement("path", { d: "M208.627 60.2012V116.478", className: "brand300", stroke: "#2C64EF", strokeWidth: 3.15067, strokeLinecap: "round", strokeLinejoin: "round" }), /* @__PURE__ */ t.createElement("path", { d: "M224.966 60.2012V116.478", className: "brand300", stroke: "#2C64EF", strokeWidth: 3.15067, strokeLinecap: "round", strokeLinejoin: "round" }), /* @__PURE__ */ t.createElement("path", { d: "M175.951 60.2012V116.478", className: "brand300", stroke: "#2C64EF", strokeWidth: 3.15067, strokeLinecap: "round", strokeLinejoin: "round" }), /* @__PURE__ */ t.createElement("path", { d: "M192.289 60.2012V116.478", className: "brand300", stroke: "#2C64EF", strokeWidth: 3.15067, strokeLinecap: "round", strokeLinejoin: "round" }), /* @__PURE__ */ t.createElement("path", { d: "M143.274 60.2012V116.478", className: "brand300", stroke: "#2C64EF", strokeWidth: 3.15067, strokeLinecap: "round", strokeLinejoin: "round" }), /* @__PURE__ */ t.createElement("path", { d: "M183.212 13.0195L125.12 40.2366", className: "brand300", stroke: "#2C64EF", strokeWidth: 3.15067, strokeLinecap: "round", strokeLinejoin: "round" }), /* @__PURE__ */ t.createElement("path", { d: "M241.304 40.2207L183.212 13.0037", className: "brand300", stroke: "#2C64EF", strokeWidth: 3.15067, strokeLinecap: "round", strokeLinejoin: "round" }), /* @__PURE__ */ t.createElement("path", { d: "M125.12 40.2344V51.1267", className: "brand300", stroke: "#2C64EF", strokeWidth: 3.15067, strokeLinecap: "round", strokeLinejoin: "round" }), /* @__PURE__ */ t.createElement("path", { d: "M241.304 40.2344V51.1267", className: "brand300", stroke: "#2C64EF", strokeWidth: 3.15067, strokeLinecap: "round", strokeLinejoin: "round" }), /* @__PURE__ */ t.createElement("path", { d: "M159.612 60.2012V116.478", className: "brand300", stroke: "#2C64EF", strokeWidth: 3.15067, strokeLinecap: "round", strokeLinejoin: "round" }), /* @__PURE__ */ t.createElement("circle", { cx: 183.212, cy: 32.9715, r: 7.50159, className: "brand300", stroke: "#2C64EF", strokeWidth: 3.15067 }), /* @__PURE__ */ t.createElement("g", { filter: "url(#filter0_d_894_181586)" }, /* @__PURE__ */ t.createElement("rect", { x: 40, y: 45.2305, width: 125, height: 96.3326, rx: 8.26446, fill: "white" }), /* @__PURE__ */ t.createElement("rect", { x: 80.9224, y: 72.9219, width: 12.1384, height: 12.1384, rx: 1.15377, className: "brand300", fill: "#2C64EF" }), /* @__PURE__ */ t.createElement("rect", { x: 96.9399, y: 72.9219, width: 12.1384, height: 12.1384, rx: 1.15377, className: "brand300", fill: "#2C64EF" }), /* @__PURE__ */ t.createElement("rect", { x: 112.949, y: 72.9219, width: 12.1384, height: 12.1384, rx: 1.15377, className: "brand300", fill: "#2C64EF" }), /* @__PURE__ */ t.createElement("rect", { x: 128.966, y: 72.9219, width: 12.1384, height: 12.1384, rx: 1.15377, className: "brand300", fill: "#2C64EF" }), /* @__PURE__ */ t.createElement("rect", { x: 144.975, y: 72.9219, width: 12.1384, height: 12.1384, rx: 1.15377, className: "brand300", fill: "#2C64EF" }), /* @__PURE__ */ t.createElement("rect", { x: 48.9053, y: 88.9316, width: 12.1384, height: 12.1384, rx: 1.15377, className: "brand300", fill: "#2C64EF" }), /* @__PURE__ */ t.createElement("rect", { x: 64.9136, y: 88.9316, width: 12.1384, height: 12.1384, rx: 1.15377, className: "brand300", fill: "#2C64EF" }), /* @__PURE__ */ t.createElement("rect", { x: 80.9224, y: 88.9316, width: 12.1384, height: 12.1384, rx: 1.15377, className: "brand300", fill: "#2C64EF" }), /* @__PURE__ */ t.createElement("rect", { x: 96.9399, y: 88.9316, width: 12.1384, height: 12.1384, rx: 1.15377, className: "brand300", fill: "#2C64EF" }), /* @__PURE__ */ t.createElement("rect", { x: 112.949, y: 88.9316, width: 12.1384, height: 12.1384, rx: 1.15377, className: "brand200", fill: "#A0B9F8" }), /* @__PURE__ */ t.createElement("rect", { x: 128.966, y: 88.9316, width: 12.1384, height: 12.1384, rx: 1.15377, className: "brand300", fill: "#2C64EF" }), /* @__PURE__ */ t.createElement("rect", { x: 144.975, y: 88.9316, width: 12.1384, height: 12.1384, rx: 1.15377, className: "brand300", fill: "#2C64EF" }), /* @__PURE__ */ t.createElement("rect", { x: 48.9053, y: 104.947, width: 12.1384, height: 12.1384, rx: 1.15377, className: "brand300", fill: "#2C64EF" }), /* @__PURE__ */ t.createElement("rect", { x: 48.9053, y: 120.957, width: 12.1384, height: 12.1384, rx: 1.15377, className: "brand300", fill: "#2C64EF" }), /* @__PURE__ */ t.createElement("rect", { x: 64.9136, y: 104.947, width: 12.1384, height: 12.1384, rx: 1.15377, className: "brand300", fill: "#2C64EF" }), /* @__PURE__ */ t.createElement("rect", { x: 64.9136, y: 120.957, width: 12.1384, height: 12.1384, rx: 1.15377, className: "brand300", fill: "#2C64EF" }), /* @__PURE__ */ t.createElement("rect", { x: 80.9224, y: 104.947, width: 12.1384, height: 12.1384, rx: 1.15377, className: "brand300", fill: "#2C64EF" }), /* @__PURE__ */ t.createElement("rect", { x: 80.9224, y: 120.957, width: 12.1384, height: 12.1384, rx: 1.15377, className: "brand300", fill: "#2C64EF" }), /* @__PURE__ */ t.createElement("rect", { x: 96.9399, y: 104.947, width: 12.1384, height: 12.1384, rx: 1.15377, className: "brand300", fill: "#2C64EF" }), /* @__PURE__ */ t.createElement("rect", { x: 96.9399, y: 120.957, width: 12.1384, height: 12.1384, rx: 1.15377, className: "brand300", fill: "#2C64EF" }), /* @__PURE__ */ t.createElement("rect", { x: 112.949, y: 104.947, width: 12.1384, height: 12.1384, rx: 1.15377, className: "brand300", fill: "#2C64EF" }), /* @__PURE__ */ t.createElement("rect", { x: 112.949, y: 120.957, width: 12.1384, height: 12.1384, rx: 1.15377, className: "brand300", fill: "#2C64EF" }), /* @__PURE__ */ t.createElement("rect", { x: 128.966, y: 104.947, width: 12.1384, height: 12.1384, rx: 1.15377, className: "brand300", fill: "#2C64EF" }), /* @__PURE__ */ t.createElement("rect", { x: 144.975, y: 104.947, width: 12.1384, height: 12.1384, rx: 1.15377, className: "brand300", fill: "#2C64EF" }), /* @__PURE__ */ t.createElement("path", { d: "M40 53.4949C40 48.9306 43.7001 45.2305 48.2645 45.2305H156.736C161.3 45.2305 165 48.9306 165 53.4949V65.8916H40V53.4949Z", className: "brand300", fill: "#2C64EF" }), /* @__PURE__ */ t.createElement("circle", { cx: 58.599, cy: 56.144, r: 4.13223, className: "brand400", fill: "#163278" }), /* @__PURE__ */ t.createElement("circle", { cx: 116.964, cy: 56.144, r: 4.13223, className: "brand400", fill: "#163278" }), /* @__PURE__ */ t.createElement("circle", { cx: 87.786, cy: 56.144, r: 4.13223, className: "brand400", fill: "#163278" }), /* @__PURE__ */ t.createElement("circle", { cx: 146.15, cy: 56.144, r: 4.13223, className: "brand400", fill: "#163278" }), /* @__PURE__ */ t.createElement("rect", { x: 56.7832, y: 36, width: 3.6157, height: 21.6942, rx: 1.80785, fill: "white" }), /* @__PURE__ */ t.createElement("rect", { x: 115.148, y: 36, width: 3.6157, height: 21.6942, rx: 1.80785, fill: "white" }), /* @__PURE__ */ t.createElement("rect", { x: 85.9702, y: 36, width: 3.6157, height: 21.6942, rx: 1.80785, fill: "white" }), /* @__PURE__ */ t.createElement("rect", { x: 144.335, y: 36, width: 3.6157, height: 21.6942, rx: 1.80785, fill: "white" }), /* @__PURE__ */ t.createElement("path", { d: "M111.429 87.9199C116.151 92.8731 120.873 97.8263 123.354 100.396C125.834 102.967 125.931 103.004 126.056 103.068", className: "brand400", stroke: "#163278", strokeWidth: 2.30754, strokeLinecap: "round" }), /* @__PURE__ */ t.createElement("path", { d: "M126.469 88.2559C126.452 88.2559 126.435 88.2559 124.288 89.8936C122.142 91.5313 117.867 94.8068 115.156 97.0827C112.445 99.3587 111.427 100.536 110.379 101.749", className: "brand400", stroke: "#163278", strokeWidth: 2.30754, strokeLinecap: "round" }))), /* @__PURE__ */ t.createElement("defs", null, /* @__PURE__ */ t.createElement("filter", { id: "filter0_d_894_181586", x: 30.7699, y: 29.0774, width: 143.46, height: 124.023, filterUnits: "userSpaceOnUse", colorInterpolationFilters: "sRGB" }, /* @__PURE__ */ t.createElement("feFlood", { floodOpacity: 0, result: "BackgroundImageFix" }), /* @__PURE__ */ t.createElement("feColorMatrix", { in: "SourceAlpha", type: "matrix", values: "0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0", result: "hardAlpha" }), /* @__PURE__ */ t.createElement("feOffset", { dy: 2.30754 }), /* @__PURE__ */ t.createElement("feGaussianBlur", { stdDeviation: 4.61507 }), /* @__PURE__ */ t.createElement("feComposite", { in2: "hardAlpha", operator: "out" }), /* @__PURE__ */ t.createElement("feColorMatrix", { type: "matrix", values: "0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.12 0" }), /* @__PURE__ */ t.createElement("feBlend", { mode: "normal", in2: "BackgroundImageFix", result: "effect1_dropShadow_894_181586" }), /* @__PURE__ */ t.createElement("feBlend", { mode: "normal", in: "SourceGraphic", in2: "effect1_dropShadow_894_181586", result: "shape" })), /* @__PURE__ */ t.createElement("clipPath", { id: "clip0_894_181586" }, /* @__PURE__ */ t.createElement("rect", { width: 300, height: 150, fill: "white" })))), wt = W(St), m4 = ({
3025
3033
  beat: r,
3026
3034
  isCIBC: n,
@@ -3052,19 +3060,19 @@ const ut = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAUAAAACvCAYAAACM9QdJAA
3052
3060
  beat: n,
3053
3061
  buttonProps: i,
3054
3062
  header: l,
3055
- isMini: a
3063
+ isMini: o
3056
3064
  }) => /* @__PURE__ */ e(
3057
3065
  v,
3058
3066
  {
3059
3067
  altLoadingText: r,
3060
3068
  beat: n,
3061
- button: /* @__PURE__ */ h(E, { spacing: 10, children: [
3069
+ button: /* @__PURE__ */ c(E, { spacing: 10, children: [
3062
3070
  /* @__PURE__ */ e(
3063
3071
  G,
3064
3072
  {
3065
3073
  beat: n,
3066
3074
  ...i,
3067
- onClick: (o) => i?.onClick?.(o, A.Primary)
3075
+ onClick: (a) => i?.onClick?.(a, A.Primary)
3068
3076
  }
3069
3077
  ),
3070
3078
  n.supporting_action && /* @__PURE__ */ e(
@@ -3072,19 +3080,19 @@ const ut = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAUAAAACvCAYAAACM9QdJAA
3072
3080
  {
3073
3081
  ...i,
3074
3082
  beat: n,
3075
- onClick: (o) => i?.onClick?.(o, A.Secondary),
3083
+ onClick: (a) => i?.onClick?.(a, A.Secondary),
3076
3084
  primary: !1
3077
3085
  }
3078
3086
  )
3079
3087
  ] }),
3080
3088
  header: l,
3081
- isMini: a,
3082
- children: /* @__PURE__ */ e(y, { maxHeight: a ? 200 : "auto", ml: -16, mr: -16, children: /* @__PURE__ */ e(
3089
+ isMini: o,
3090
+ children: /* @__PURE__ */ e(y, { maxHeight: o ? 200 : "auto", ml: -16, mr: -16, children: /* @__PURE__ */ e(
3083
3091
  "img",
3084
3092
  {
3085
3093
  alt: n.description,
3086
3094
  src: n.image_url,
3087
- style: { width: "100%", height: a ? 200 : "auto" }
3095
+ style: { width: "100%", height: o ? 200 : "auto" }
3088
3096
  }
3089
3097
  ) })
3090
3098
  }
@@ -3093,24 +3101,24 @@ const ut = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAUAAAACvCAYAAACM9QdJAA
3093
3101
  buttonProps: n,
3094
3102
  colors: i,
3095
3103
  data: l,
3096
- legendLabelComparison: a,
3097
- legendLabelMain: o,
3104
+ legendLabelComparison: o,
3105
+ legendLabelMain: a,
3098
3106
  onBarClick: s,
3099
- ...c
3107
+ ...h
3100
3108
  }) => /* @__PURE__ */ e(
3101
3109
  v,
3102
3110
  {
3103
3111
  beat: r,
3104
3112
  button: l.length ? /* @__PURE__ */ e(E, { children: /* @__PURE__ */ e(G, { ...n, beat: r }) }) : null,
3105
- ...c,
3113
+ ...h,
3106
3114
  children: l.length ? /* @__PURE__ */ e(
3107
3115
  M1,
3108
3116
  {
3109
3117
  colors: i,
3110
3118
  data: l,
3111
- isMini: c.isMini,
3112
- legendLabelComparison: a,
3113
- legendLabelMain: o,
3119
+ isMini: h.isMini,
3120
+ legendLabelComparison: o,
3121
+ legendLabelMain: a,
3114
3122
  margin: {
3115
3123
  bottom: 32,
3116
3124
  left: 2,
@@ -3126,22 +3134,22 @@ const ut = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAUAAAACvCAYAAACM9QdJAA
3126
3134
  goalContribution: n = "",
3127
3135
  isDarkMode: i,
3128
3136
  payload: l,
3129
- percentageCompleteText: a,
3130
- showGoalContributedLastMonth: o,
3137
+ percentageCompleteText: o,
3138
+ showGoalContributedLastMonth: a,
3131
3139
  showProjectedToCompleteDate: s,
3132
- title: c,
3140
+ title: h,
3133
3141
  totalSavedText: d
3134
3142
  }) => {
3135
3143
  const m = K1(i ? "dark" : "light");
3136
- return /* @__PURE__ */ e(X1, { theme: m, children: /* @__PURE__ */ e(y, { className: "mx-insights-mefr-body", "data-ui-test": "mefr-body", sx: { mb: 16 }, children: /* @__PURE__ */ h(We, { title: c, children: [
3144
+ return /* @__PURE__ */ e(X1, { theme: m, children: /* @__PURE__ */ e(y, { className: "mx-insights-mefr-body", "data-ui-test": "mefr-body", sx: { mb: 16 }, children: /* @__PURE__ */ c(We, { title: h, children: [
3137
3145
  /* @__PURE__ */ e(
3138
3146
  ze,
3139
3147
  {
3140
3148
  goalPercentage: l.goal_percentage,
3141
- percentageCompleteText: a
3149
+ percentageCompleteText: o
3142
3150
  }
3143
3151
  ),
3144
- /* @__PURE__ */ h(
3152
+ /* @__PURE__ */ c(
3145
3153
  y,
3146
3154
  {
3147
3155
  className: "mx-insights-mefr-body-content",
@@ -3149,11 +3157,11 @@ const ut = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAUAAAACvCAYAAACM9QdJAA
3149
3157
  sx: { marginTop: 8 },
3150
3158
  children: [
3151
3159
  !!s && /* @__PURE__ */ e(Jt, { goalCompletionDate: r }),
3152
- !!o && /* @__PURE__ */ e(bt, { goalContribution: n }),
3160
+ !!a && /* @__PURE__ */ e(bt, { goalContribution: n }),
3153
3161
  /* @__PURE__ */ e(
3154
3162
  Lt,
3155
3163
  {
3156
- showGoalContributedLastMonth: o,
3164
+ showGoalContributedLastMonth: a,
3157
3165
  totalSavedText: d
3158
3166
  }
3159
3167
  )
@@ -3161,7 +3169,7 @@ const ut = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAUAAAACvCAYAAACM9QdJAA
3161
3169
  }
3162
3170
  )
3163
3171
  ] }) }) });
3164
- }, bt = ({ goalContribution: r }) => /* @__PURE__ */ h(
3172
+ }, bt = ({ goalContribution: r }) => /* @__PURE__ */ c(
3165
3173
  E,
3166
3174
  {
3167
3175
  "data-ui-test": "mefr-body-contributed",
@@ -3174,7 +3182,7 @@ const ut = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAUAAAACvCAYAAACM9QdJAA
3174
3182
  children: [
3175
3183
  /* @__PURE__ */ e(J, { color: "secondary", fill: !0, name: "bid_landscape", sx: { mr: 4 } }),
3176
3184
  /* @__PURE__ */ e(
3177
- f,
3185
+ k,
3178
3186
  {
3179
3187
  dangerouslySetInnerHTML: { __html: r },
3180
3188
  "data-ui-test": "mefr-contributed-text",
@@ -3183,7 +3191,7 @@ const ut = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAUAAAACvCAYAAACM9QdJAA
3183
3191
  )
3184
3192
  ]
3185
3193
  }
3186
- ), Jt = ({ goalCompletionDate: r }) => /* @__PURE__ */ h(
3194
+ ), Jt = ({ goalCompletionDate: r }) => /* @__PURE__ */ c(
3187
3195
  E,
3188
3196
  {
3189
3197
  "data-ui-test": "mefr-body-projected",
@@ -3196,7 +3204,7 @@ const ut = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAUAAAACvCAYAAACM9QdJAA
3196
3204
  children: [
3197
3205
  /* @__PURE__ */ e(J, { name: "calendar_month", sx: { mr: 4 } }),
3198
3206
  /* @__PURE__ */ e(
3199
- f,
3207
+ k,
3200
3208
  {
3201
3209
  dangerouslySetInnerHTML: { __html: r },
3202
3210
  "data-ui-test": "mefr-projected-text",
@@ -3208,7 +3216,7 @@ const ut = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAUAAAACvCAYAAACM9QdJAA
3208
3216
  ), Lt = ({
3209
3217
  showGoalContributedLastMonth: r,
3210
3218
  totalSavedText: n
3211
- }) => /* @__PURE__ */ h(
3219
+ }) => /* @__PURE__ */ c(
3212
3220
  E,
3213
3221
  {
3214
3222
  "data-ui-test": "mefr-body-saved",
@@ -3221,7 +3229,7 @@ const ut = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAUAAAACvCAYAAACM9QdJAA
3221
3229
  children: [
3222
3230
  /* @__PURE__ */ e(J, { name: "paid", sx: { mr: 4 } }),
3223
3231
  /* @__PURE__ */ e(
3224
- f,
3232
+ k,
3225
3233
  {
3226
3234
  className: "mx-insights-mefr-saved-text",
3227
3235
  dangerouslySetInnerHTML: { __html: n },
@@ -3236,24 +3244,24 @@ const ut = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAUAAAACvCAYAAACM9QdJAA
3236
3244
  buttonProps: n,
3237
3245
  colors: i,
3238
3246
  data: l,
3239
- legendLabelComparison: a,
3240
- legendLabelMain: o,
3247
+ legendLabelComparison: o,
3248
+ legendLabelMain: a,
3241
3249
  onBarClick: s,
3242
- ...c
3250
+ ...h
3243
3251
  }) => /* @__PURE__ */ e(
3244
3252
  v,
3245
3253
  {
3246
3254
  beat: r,
3247
3255
  button: l.length ? /* @__PURE__ */ e(E, { children: /* @__PURE__ */ e(G, { ...n, beat: r }) }) : null,
3248
- ...c,
3256
+ ...h,
3249
3257
  children: l.length ? /* @__PURE__ */ e(
3250
3258
  M1,
3251
3259
  {
3252
3260
  colors: i,
3253
3261
  data: l,
3254
- isMini: c.isMini,
3255
- legendLabelComparison: a,
3256
- legendLabelMain: o,
3262
+ isMini: h.isMini,
3263
+ legendLabelComparison: o,
3264
+ legendLabelMain: a,
3257
3265
  margin: {
3258
3266
  bottom: 32,
3259
3267
  left: 2,
@@ -3269,36 +3277,36 @@ const ut = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAUAAAACvCAYAAACM9QdJAA
3269
3277
  beat: n,
3270
3278
  buttonProps: i,
3271
3279
  color: l,
3272
- data: a,
3273
- legendLabelAvg: o,
3280
+ data: o,
3281
+ legendLabelAvg: a,
3274
3282
  legendLabelMain: s,
3275
- onBarClick: c,
3283
+ onBarClick: h,
3276
3284
  ...d
3277
- }) => /* @__PURE__ */ e(v, { ...d, beat: n, button: /* @__PURE__ */ e(G, { ...i, beat: n }), children: a.length > 0 ? /* @__PURE__ */ e(
3285
+ }) => /* @__PURE__ */ e(v, { ...d, beat: n, button: /* @__PURE__ */ e(G, { ...i, beat: n }), children: o.length > 0 ? /* @__PURE__ */ e(
3278
3286
  n1,
3279
3287
  {
3280
3288
  amounts: r,
3281
3289
  color: l,
3282
- data: a,
3290
+ data: o,
3283
3291
  isMini: d.isMini,
3284
- legendLabelAvg: o,
3292
+ legendLabelAvg: a,
3285
3293
  legendLabelMain: s,
3286
3294
  margin: { bottom: 32, left: 2, right: 2, top: 24 },
3287
- onBarClick: c
3295
+ onBarClick: h
3288
3296
  }
3289
3297
  ) : /* @__PURE__ */ e(j, { image: f1 }) }), M4 = ({
3290
3298
  beat: r,
3291
3299
  buttonProps: n,
3292
3300
  colors: i,
3293
3301
  data: l,
3294
- legendLabelComparison: a,
3295
- legendLabelMain: o,
3302
+ legendLabelComparison: o,
3303
+ legendLabelMain: a,
3296
3304
  onBarClick: s,
3297
- ...c
3305
+ ...h
3298
3306
  }) => /* @__PURE__ */ e(
3299
3307
  v,
3300
3308
  {
3301
- ...c,
3309
+ ...h,
3302
3310
  beat: r,
3303
3311
  button: l.length ? /* @__PURE__ */ e(E, { spacing: 10, sx: { pt: 8 }, children: /* @__PURE__ */ e(G, { ...n, beat: r }) }) : null,
3304
3312
  children: l.length ? /* @__PURE__ */ e(
@@ -3306,9 +3314,9 @@ const ut = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAUAAAACvCAYAAACM9QdJAA
3306
3314
  {
3307
3315
  colors: i,
3308
3316
  data: l,
3309
- isMini: c.isMini,
3310
- legendLabelComparison: a,
3311
- legendLabelMain: o,
3317
+ isMini: h.isMini,
3318
+ legendLabelComparison: o,
3319
+ legendLabelMain: a,
3312
3320
  margin: {
3313
3321
  bottom: 32,
3314
3322
  left: 2,
@@ -3350,10 +3358,10 @@ const ut = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAUAAAACvCAYAAACM9QdJAA
3350
3358
  default:
3351
3359
  return 20;
3352
3360
  }
3353
- }, a = () => {
3361
+ }, o = () => {
3354
3362
  const s = r.length > 4 ? 4 : r.length;
3355
3363
  return s * 48 - s * 2;
3356
- }, o = r.length - 3;
3364
+ }, a = r.length - 3;
3357
3365
  return /* @__PURE__ */ e(
3358
3366
  y,
3359
3367
  {
@@ -3371,10 +3379,10 @@ const ut = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAUAAAACvCAYAAACM9QdJAA
3371
3379
  {
3372
3380
  sx: {
3373
3381
  position: "absolute",
3374
- width: a()
3382
+ width: o()
3375
3383
  },
3376
- children: r.map((s, c) => {
3377
- if (c < 3)
3384
+ children: r.map((s, h) => {
3385
+ if (h < 3)
3378
3386
  return /* @__PURE__ */ e(
3379
3387
  y,
3380
3388
  {
@@ -3383,8 +3391,8 @@ const ut = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAUAAAACvCAYAAACM9QdJAA
3383
3391
  borderColor: "common.white",
3384
3392
  borderRadius: "6px",
3385
3393
  color: "common.white",
3386
- top: l(c),
3387
- left: i(c),
3394
+ top: l(h),
3395
+ left: i(h),
3388
3396
  position: "absolute"
3389
3397
  },
3390
3398
  children: /* @__PURE__ */ e(
@@ -3395,12 +3403,12 @@ const ut = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAUAAAACvCAYAAACM9QdJAA
3395
3403
  merchantGuid: s.merchantGuid || "",
3396
3404
  size: 48
3397
3405
  },
3398
- c
3406
+ h
3399
3407
  )
3400
3408
  },
3401
3409
  s.guid
3402
3410
  );
3403
- if (c === 3)
3411
+ if (h === 3)
3404
3412
  return /* @__PURE__ */ e(
3405
3413
  y,
3406
3414
  {
@@ -3414,12 +3422,12 @@ const ut = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAUAAAACvCAYAAACM9QdJAA
3414
3422
  display: "flex",
3415
3423
  height: 48,
3416
3424
  justifyContent: "center",
3417
- left: i(c),
3425
+ left: i(h),
3418
3426
  position: "absolute",
3419
- top: l(c),
3427
+ top: l(h),
3420
3428
  width: 48
3421
3429
  },
3422
- children: /* @__PURE__ */ e(L, { fontSize: 24, children: ` +${o}` })
3430
+ children: /* @__PURE__ */ e(L, { fontSize: 24, children: ` +${a}` })
3423
3431
  },
3424
3432
  "display-count"
3425
3433
  );
@@ -3428,7 +3436,7 @@ const ut = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAUAAAACvCAYAAACM9QdJAA
3428
3436
  )
3429
3437
  }
3430
3438
  );
3431
- }, Gt = ({ amount: r, categoryGuid: n, description: i, feedDescription: l, merchantGuid: a }) => /* @__PURE__ */ h(
3439
+ }, Gt = ({ amount: r, categoryGuid: n, description: i, feedDescription: l, merchantGuid: o }) => /* @__PURE__ */ c(
3432
3440
  E,
3433
3441
  {
3434
3442
  sx: {
@@ -3445,19 +3453,19 @@ const ut = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAUAAAACvCAYAAACM9QdJAA
3445
3453
  {
3446
3454
  alt: i,
3447
3455
  categoryGuid: n || "",
3448
- merchantGuid: a || "",
3456
+ merchantGuid: o || "",
3449
3457
  size: 32
3450
3458
  }
3451
3459
  ),
3452
3460
  /* @__PURE__ */ e(
3453
- f,
3461
+ k,
3454
3462
  {
3455
3463
  bold: !0,
3456
3464
  sx: { fontSize: 18, overflow: "hidden", textOverflow: "ellipsis", maxWidth: 255 },
3457
3465
  children: l
3458
3466
  }
3459
3467
  ),
3460
- /* @__PURE__ */ e(f, { color: "secondary", fontSize: "small", children: r })
3468
+ /* @__PURE__ */ e(k, { color: "secondary", fontSize: "small", children: r })
3461
3469
  ]
3462
3470
  }
3463
3471
  ), k4 = ({
@@ -3465,17 +3473,17 @@ const ut = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAUAAAACvCAYAAACM9QdJAA
3465
3473
  beat: n,
3466
3474
  buttonProps: i,
3467
3475
  color: l,
3468
- data: a,
3469
- legendLabelMain: o,
3476
+ data: o,
3477
+ legendLabelMain: a,
3470
3478
  onBarClick: s,
3471
- selectedTabIndex: c,
3479
+ selectedTabIndex: h,
3472
3480
  ...d
3473
3481
  }) => /* @__PURE__ */ e(
3474
3482
  v,
3475
3483
  {
3476
3484
  ...d,
3477
3485
  beat: n,
3478
- button: a.length ? /* @__PURE__ */ e(E, { spacing: 10, sx: { pt: 8 }, children: /* @__PURE__ */ e(
3486
+ button: o.length ? /* @__PURE__ */ e(E, { spacing: 10, sx: { pt: 8 }, children: /* @__PURE__ */ e(
3479
3487
  G,
3480
3488
  {
3481
3489
  ...i,
@@ -3483,14 +3491,14 @@ const ut = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAUAAAACvCAYAAACM9QdJAA
3483
3491
  onClick: (m) => i?.onClick?.(m, A.Primary)
3484
3492
  }
3485
3493
  ) }) : null,
3486
- children: a.length ? /* @__PURE__ */ e(
3494
+ children: o.length ? /* @__PURE__ */ e(
3487
3495
  n1,
3488
3496
  {
3489
3497
  amounts: r,
3490
3498
  color: l,
3491
- data: a,
3499
+ data: o,
3492
3500
  isMini: d.isMini,
3493
- legendLabelMain: o,
3501
+ legendLabelMain: a,
3494
3502
  margin: {
3495
3503
  bottom: 32,
3496
3504
  left: 2,
@@ -3498,7 +3506,7 @@ const ut = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAUAAAACvCAYAAACM9QdJAA
3498
3506
  top: 24
3499
3507
  },
3500
3508
  onBarClick: s,
3501
- selectedTabIndex: c
3509
+ selectedTabIndex: h
3502
3510
  }
3503
3511
  ) : /* @__PURE__ */ e(B, {})
3504
3512
  }
@@ -3507,10 +3515,10 @@ const ut = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAUAAAACvCAYAAACM9QdJAA
3507
3515
  animation: n,
3508
3516
  leftLowerText: i,
3509
3517
  leftUpperText: l,
3510
- isComplete: a,
3511
- isMini: o,
3518
+ isComplete: o,
3519
+ isMini: a,
3512
3520
  headerString: s,
3513
- rightLowerText: c,
3521
+ rightLowerText: h,
3514
3522
  rightUpperText: d
3515
3523
  }) => /* @__PURE__ */ e(
3516
3524
  W1,
@@ -3518,14 +3526,14 @@ const ut = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAUAAAACvCAYAAACM9QdJAA
3518
3526
  account: r,
3519
3527
  animation: n,
3520
3528
  headerString: s,
3521
- isComplete: a,
3522
- isMini: o,
3529
+ isComplete: o,
3530
+ isMini: a,
3523
3531
  leftLowerText: i,
3524
3532
  leftUpperText: l,
3525
- rightLowerText: c,
3533
+ rightLowerText: h,
3526
3534
  rightUpperText: d
3527
3535
  }
3528
- ), J1 = ({ accountGuid: r, accountName: n }) => /* @__PURE__ */ h(
3536
+ ), J1 = ({ accountGuid: r, accountName: n }) => /* @__PURE__ */ c(
3529
3537
  E,
3530
3538
  {
3531
3539
  className: "mx-insights-sdd-account-Card",
@@ -3567,7 +3575,7 @@ const ut = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAUAAAACvCAYAAACM9QdJAA
3567
3575
  externalAccountName: n,
3568
3576
  heldAccountName: i,
3569
3577
  sourceAccountGuid: l
3570
- }) => /* @__PURE__ */ h(
3578
+ }) => /* @__PURE__ */ c(
3571
3579
  E,
3572
3580
  {
3573
3581
  className: "mx-insights-sdd-main-container",
@@ -3593,23 +3601,23 @@ const ut = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAUAAAACvCAYAAACM9QdJAA
3593
3601
  animation: n,
3594
3602
  destinationAccountGuid: i,
3595
3603
  externalAccountName: l,
3596
- heldAccountName: a,
3597
- headerString: o,
3604
+ heldAccountName: o,
3605
+ headerString: a,
3598
3606
  isComplete: s,
3599
- isMini: c,
3607
+ isMini: h,
3600
3608
  leftLowerText: d,
3601
3609
  leftUpperText: m,
3602
3610
  rightLowerText: p,
3603
3611
  rightUpperText: u,
3604
3612
  sourceAccountGuid: C
3605
- }) => /* @__PURE__ */ e(M.Fragment, { children: s ? /* @__PURE__ */ e(
3613
+ }) => /* @__PURE__ */ e(f.Fragment, { children: s ? /* @__PURE__ */ e(
3606
3614
  W1,
3607
3615
  {
3608
3616
  account: r,
3609
3617
  animation: n,
3610
- headerString: o,
3618
+ headerString: a,
3611
3619
  isComplete: s,
3612
- isMini: c,
3620
+ isMini: h,
3613
3621
  leftLowerText: d,
3614
3622
  leftUpperText: m,
3615
3623
  rightLowerText: p,
@@ -3620,7 +3628,7 @@ const ut = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAUAAAACvCAYAAACM9QdJAA
3620
3628
  {
3621
3629
  destinationAccountGuid: i,
3622
3630
  externalAccountName: l,
3623
- heldAccountName: a,
3631
+ heldAccountName: o,
3624
3632
  sourceAccountGuid: C
3625
3633
  }
3626
3634
  ) }), Rt = ({
@@ -3628,14 +3636,14 @@ const ut = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAUAAAACvCAYAAACM9QdJAA
3628
3636
  category: n,
3629
3637
  formattedNumber: i,
3630
3638
  institutionName: l,
3631
- isMini: a = !1
3639
+ isMini: o = !1
3632
3640
  }) => {
3633
- const o = {
3634
- logoSize: a ? 32 : 40
3641
+ const a = {
3642
+ logoSize: o ? 32 : 40
3635
3643
  }, s = {
3636
3644
  boxContainer: {
3637
3645
  background: "linear-gradient(205.05deg, #CEFEE6 0.8%, #8EEBBE 98.51%)",
3638
- marginBottom: a ? 0 : 24,
3646
+ marginBottom: o ? 0 : 24,
3639
3647
  py: 16,
3640
3648
  px: 24,
3641
3649
  width: "100%"
@@ -3650,7 +3658,7 @@ const ut = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAUAAAACvCAYAAACM9QdJAA
3650
3658
  width: "100%"
3651
3659
  }
3652
3660
  };
3653
- return /* @__PURE__ */ e(E, { sx: s.boxContainer, children: /* @__PURE__ */ h(
3661
+ return /* @__PURE__ */ e(E, { sx: s.boxContainer, children: /* @__PURE__ */ c(
3654
3662
  P,
3655
3663
  {
3656
3664
  sx: {
@@ -3664,7 +3672,7 @@ const ut = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAUAAAACvCAYAAACM9QdJAA
3664
3672
  alt: l,
3665
3673
  categoryGuid: r.primary_transaction?.top_level_category_guid || "",
3666
3674
  merchantGuid: r.primary_transaction?.merchant_guid || "",
3667
- size: o.logoSize
3675
+ size: a.logoSize
3668
3676
  }
3669
3677
  ),
3670
3678
  /* @__PURE__ */ e(
@@ -3677,7 +3685,7 @@ const ut = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAUAAAACvCAYAAACM9QdJAA
3677
3685
  }
3678
3686
  ),
3679
3687
  /* @__PURE__ */ e(L, { sx: { fontSize: 13, fontWeight: 400, p: 4 }, variant: "Small", children: r.primary_transaction?.description }),
3680
- /* @__PURE__ */ h(E, { alignItems: "center", direction: "row", children: [
3688
+ /* @__PURE__ */ c(E, { alignItems: "center", direction: "row", children: [
3681
3689
  r.primary_transaction?.top_level_category_guid && /* @__PURE__ */ e(
3682
3690
  p1,
3683
3691
  {
@@ -3704,8 +3712,8 @@ const ut = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAUAAAACvCAYAAACM9QdJAA
3704
3712
  buttonProps: n,
3705
3713
  category: i,
3706
3714
  formattedNumber: l,
3707
- institutionName: a,
3708
- isMini: o,
3715
+ institutionName: o,
3716
+ isMini: a,
3709
3717
  ...s
3710
3718
  }) => /* @__PURE__ */ e(
3711
3719
  v,
@@ -3720,15 +3728,15 @@ const ut = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAUAAAACvCAYAAACM9QdJAA
3720
3728
  ...s.header,
3721
3729
  hasFullWidthImage: !0
3722
3730
  },
3723
- isMini: o,
3731
+ isMini: a,
3724
3732
  children: /* @__PURE__ */ e(
3725
3733
  Rt,
3726
3734
  {
3727
3735
  beat: r,
3728
3736
  category: i,
3729
3737
  formattedNumber: l,
3730
- institutionName: a || "",
3731
- isMini: o
3738
+ institutionName: o || "",
3739
+ isMini: a
3732
3740
  }
3733
3741
  )
3734
3742
  }
@@ -3745,22 +3753,22 @@ const ut = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAUAAAACvCAYAAACM9QdJAA
3745
3753
  my: 8
3746
3754
  },
3747
3755
  width: "100%",
3748
- children: n.map((l, a) => {
3749
- const o = r[l];
3750
- return /* @__PURE__ */ h(d1, { alignItems: "center", spacing: 3, children: [
3756
+ children: n.map((l, o) => {
3757
+ const a = r[l];
3758
+ return /* @__PURE__ */ c(d1, { alignItems: "center", spacing: 3, children: [
3751
3759
  /* @__PURE__ */ e(
3752
- f,
3760
+ k,
3753
3761
  {
3754
3762
  sx: {
3755
- color: o ? "success.main" : "text.secondary",
3756
- fontWeight: o ? 700 : 400
3763
+ color: a ? "success.main" : "text.secondary",
3764
+ fontWeight: a ? 700 : 400
3757
3765
  },
3758
3766
  variant: "Small",
3759
3767
  children: l
3760
3768
  }
3761
3769
  ),
3762
- o ? /* @__PURE__ */ e(V1, { color: i.palette.success.main, size: 24 }) : /* @__PURE__ */ e(It, { color: i.palette.background.highlight })
3763
- ] }, a);
3770
+ a ? /* @__PURE__ */ e(V1, { color: i.palette.success.main, size: 24 }) : /* @__PURE__ */ e(It, { color: i.palette.background.highlight })
3771
+ ] }, o);
3764
3772
  })
3765
3773
  }
3766
3774
  );
@@ -3769,12 +3777,12 @@ const ut = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAUAAAACvCAYAAACM9QdJAA
3769
3777
  buttonProps: n,
3770
3778
  isZeroState: i,
3771
3779
  displayData: l,
3772
- ...a
3780
+ ...o
3773
3781
  }) => {
3774
- const { no_spend_days: o } = r.payload, { noSpendDays: s, dollarBillAltText: c, daysOfTheWeek: d } = l, m = Kt[o.length || 0], p = M.useRef(null), { height: u, width: C } = U(p);
3775
- return /* @__PURE__ */ e(v, { ...a, beat: r, button: /* @__PURE__ */ e(G, { ...n, beat: r }), children: i ? /* @__PURE__ */ e(lt, {}) : /* @__PURE__ */ h(d1, { alignItems: "center", justifyContent: "center", ref: p, width: "100%", children: [
3776
- /* @__PURE__ */ e("img", { alt: c, src: m, width: 138 }),
3777
- o?.length >= 4 && /* @__PURE__ */ e(l1, { height: u, shouldRun: !0, width: C }),
3782
+ const { no_spend_days: a } = r.payload, { noSpendDays: s, dollarBillAltText: h, daysOfTheWeek: d } = l, m = Kt[a.length || 0], p = f.useRef(null), { height: u, width: C } = U(p);
3783
+ return /* @__PURE__ */ e(v, { ...o, beat: r, button: /* @__PURE__ */ e(G, { ...n, beat: r }), children: i ? /* @__PURE__ */ e(lt, {}) : /* @__PURE__ */ c(d1, { alignItems: "center", justifyContent: "center", ref: p, width: "100%", children: [
3784
+ /* @__PURE__ */ e("img", { alt: h, src: m, width: 138 }),
3785
+ a?.length >= 4 && /* @__PURE__ */ e(l1, { height: u, shouldRun: !0, width: C }),
3778
3786
  /* @__PURE__ */ e(Yt, { daysOfTheWeek: d, noSpendDays: s })
3779
3787
  ] }) });
3780
3788
  }, Vt = ({ children: r, value: n }) => /* @__PURE__ */ e(
@@ -3810,22 +3818,22 @@ const ut = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAUAAAACvCAYAAACM9QdJAA
3810
3818
  buttonProps: n,
3811
3819
  content: i,
3812
3820
  handleFeedbackSubmit: l,
3813
- header: a,
3814
- isMini: o,
3821
+ header: o,
3822
+ isMini: a,
3815
3823
  ...s
3816
3824
  }) => {
3817
- const c = N(), d = new Array(5).fill(!1), [m, p] = M.useState(0), [u, C] = M.useState(d), [k, w] = M.useState(""), [x, g] = M.useState([]), b = u.findIndex(Boolean), Y = [i.question1, i.question2, i.question3], I = m < 2, O = m === 2, S = m === Y.length - 1, H = m === Y.length, Z = (z, K) => {
3825
+ const h = N(), d = new Array(5).fill(!1), [m, p] = f.useState(0), [u, C] = f.useState(d), [M, b] = f.useState(""), [Z, x] = f.useState([]), S = u.findIndex(Boolean), H = [i.question1, i.question2, i.question3], I = m < 2, O = m === 2, w = m === H.length - 1, R = m === H.length, g = (z, K) => {
3818
3826
  C(u.map((Ut, j1) => j1.toString() === K));
3819
- }, R = () => {
3827
+ }, Y = () => {
3820
3828
  let z;
3821
3829
  if (I)
3822
- z = b + 1;
3830
+ z = S + 1;
3823
3831
  else if (O)
3824
- z = k;
3832
+ z = M;
3825
3833
  else
3826
3834
  return;
3827
- const K = [...x, z];
3828
- g(K), p(m + 1), C(d), w(""), S && l(K);
3835
+ const K = [...Z, z];
3836
+ x(K), p(m + 1), C(d), b(""), w && l(K);
3829
3837
  }, D = {
3830
3838
  component: "span",
3831
3839
  fontWeight: "bold",
@@ -3836,32 +3844,32 @@ const ut = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAUAAAACvCAYAAACM9QdJAA
3836
3844
  v,
3837
3845
  {
3838
3846
  beat: r,
3839
- button: !H && /* @__PURE__ */ e(
3847
+ button: !R && /* @__PURE__ */ e(
3840
3848
  G,
3841
3849
  {
3842
3850
  beat: {
3843
3851
  ...r,
3844
- call_to_action: S ? i.submit_feedback : i.continue
3852
+ call_to_action: w ? i.submit_feedback : i.continue
3845
3853
  },
3846
3854
  ...n,
3847
- disabled: I && !u.some(Boolean) || O && !k.trim(),
3848
- onClick: R
3855
+ disabled: I && !u.some(Boolean) || O && !M.trim(),
3856
+ onClick: Y
3849
3857
  }
3850
3858
  ),
3851
3859
  contentProps: {
3852
3860
  hideDescription: !0
3853
3861
  },
3854
- header: o ? void 0 : {
3855
- ...a,
3862
+ header: a ? void 0 : {
3863
+ ...o,
3856
3864
  sx: {
3857
3865
  mb: 0
3858
3866
  }
3859
3867
  },
3860
3868
  ...s,
3861
- children: /* @__PURE__ */ h(o1, { width: "100%", children: [
3862
- /* @__PURE__ */ e(f, { ...D, color: c.palette.secondary.main, fontWeight: "regular", children: i.description }),
3863
- /* @__PURE__ */ h(o1, { mb: H ? 0 : 20, mt: 20, children: [
3864
- /* @__PURE__ */ h(
3869
+ children: /* @__PURE__ */ c(o1, { width: "100%", children: [
3870
+ /* @__PURE__ */ e(k, { ...D, color: h.palette.secondary.main, fontWeight: "regular", children: i.description }),
3871
+ /* @__PURE__ */ c(o1, { mb: R ? 0 : 20, mt: 20, children: [
3872
+ /* @__PURE__ */ c(
3865
3873
  x1,
3866
3874
  {
3867
3875
  sx: {
@@ -3870,33 +3878,33 @@ const ut = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAUAAAACvCAYAAACM9QdJAA
3870
3878
  justifyContent: "space-between"
3871
3879
  },
3872
3880
  children: [
3873
- /* @__PURE__ */ e(f, { ...D, children: H ? i.thank_you : `${Y[m]} ` }),
3874
- !H && /* @__PURE__ */ h(f, { color: c.palette.secondary.main, component: "span", variant: "XSmall", children: [
3881
+ /* @__PURE__ */ e(k, { ...D, children: R ? i.thank_you : `${H[m]} ` }),
3882
+ !R && /* @__PURE__ */ c(k, { color: h.palette.secondary.main, component: "span", variant: "XSmall", children: [
3875
3883
  "(",
3876
3884
  m + 1,
3877
3885
  "/",
3878
- Y.length,
3886
+ H.length,
3879
3887
  ")"
3880
3888
  ] })
3881
3889
  ]
3882
3890
  }
3883
3891
  ),
3884
- /* @__PURE__ */ h(o1, { mt: 16, children: [
3885
- I && /* @__PURE__ */ h(V, { children: [
3892
+ /* @__PURE__ */ c(o1, { mt: 16, children: [
3893
+ I && /* @__PURE__ */ c(V, { children: [
3886
3894
  /* @__PURE__ */ e(
3887
3895
  ce,
3888
3896
  {
3889
3897
  exclusive: !0,
3890
3898
  fullWidth: !0,
3891
- onChange: Z,
3899
+ onChange: g,
3892
3900
  sx: { justifyContent: "center" },
3893
- value: b.toString(),
3901
+ value: S.toString(),
3894
3902
  children: u.map((z, K) => /* @__PURE__ */ e(Vt, { value: K.toString(), children: K + 1 }, K))
3895
3903
  }
3896
3904
  ),
3897
- /* @__PURE__ */ h(x1, { alignItems: "center", display: "flex", justifyContent: "space-between", mt: 4, children: [
3898
- /* @__PURE__ */ e(f, { ...D, children: i.strongly_disagree }),
3899
- /* @__PURE__ */ e(f, { ...D, children: i.strongly_agree })
3905
+ /* @__PURE__ */ c(x1, { alignItems: "center", display: "flex", justifyContent: "space-between", mt: 4, children: [
3906
+ /* @__PURE__ */ e(k, { ...D, children: i.strongly_disagree }),
3907
+ /* @__PURE__ */ e(k, { ...D, children: i.strongly_agree })
3900
3908
  ] })
3901
3909
  ] }),
3902
3910
  O && /* @__PURE__ */ e(
@@ -3908,13 +3916,13 @@ const ut = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAUAAAACvCAYAAACM9QdJAA
3908
3916
  minRows: 2,
3909
3917
  multiline: !0,
3910
3918
  onChange: (z) => {
3911
- w(z.target.value);
3919
+ b(z.target.value);
3912
3920
  },
3913
3921
  placeholder: i.feedback_placeholder,
3914
- value: k
3922
+ value: M
3915
3923
  }
3916
3924
  ),
3917
- H && /* @__PURE__ */ e(de, { in: !0, children: /* @__PURE__ */ e(me, { severity: "success", variant: "filled", children: i.feedback_sent }) })
3925
+ R && /* @__PURE__ */ e(de, { in: !0, children: /* @__PURE__ */ e(me, { severity: "success", variant: "filled", children: i.feedback_sent }) })
3918
3926
  ] })
3919
3927
  ] })
3920
3928
  ] })
@@ -3925,8 +3933,8 @@ const ut = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAUAAAACvCAYAAACM9QdJAA
3925
3933
  copy: n,
3926
3934
  shouldShow: i,
3927
3935
  onClose: l,
3928
- ...a
3929
- }) => /* @__PURE__ */ h(G1, { fullScreen: !0, onClose: l, open: i, ...a, children: [
3936
+ ...o
3937
+ }) => /* @__PURE__ */ c(G1, { fullScreen: !0, onClose: l, open: i, ...o, children: [
3930
3938
  /* @__PURE__ */ e(H1, { children: n.title }),
3931
3939
  /* @__PURE__ */ e(
3932
3940
  F,
@@ -3979,21 +3987,21 @@ const ut = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAUAAAACvCAYAAACM9QdJAA
3979
3987
  institution_guid: n,
3980
3988
  isComplete: i,
3981
3989
  isError: l,
3982
- isLoading: a,
3983
- ...o
3990
+ isLoading: o,
3991
+ ...a
3984
3992
  }) => {
3985
- const [s, c] = M.useState(r.were_working_on_it), [d, m] = M.useState(0);
3986
- return M.useEffect(() => {
3993
+ const [s, h] = f.useState(r.were_working_on_it), [d, m] = f.useState(0);
3994
+ return f.useEffect(() => {
3987
3995
  if (d <= 2) {
3988
3996
  const p = [r.were_working_on_it, r.were_getting_closer, r.almost_there], u = setTimeout(() => {
3989
- m(d + 1), c(p[d]);
3997
+ m(d + 1), h(p[d]);
3990
3998
  }, 4e3);
3991
3999
  return () => clearTimeout(u);
3992
4000
  }
3993
- }, [r, d, s]), /* @__PURE__ */ h(Pt, { copy: r, ...o, children: [
3994
- /* @__PURE__ */ e(E, { sx: { alignItems: "center", justifyContent: "space-between", mb: 24 }, children: /* @__PURE__ */ e(s1, { borderColor: "#E5E5E5", size: 119, children: /* @__PURE__ */ e(s1, { borderColor: "#B2B2B2", size: 97, children: /* @__PURE__ */ h(s1, { borderColor: "#808080", size: 75, children: [
4001
+ }, [r, d, s]), /* @__PURE__ */ c(Pt, { copy: r, ...a, children: [
4002
+ /* @__PURE__ */ e(E, { sx: { alignItems: "center", justifyContent: "space-between", mb: 24 }, children: /* @__PURE__ */ e(s1, { borderColor: "#E5E5E5", size: 119, children: /* @__PURE__ */ e(s1, { borderColor: "#B2B2B2", size: 97, children: /* @__PURE__ */ c(s1, { borderColor: "#808080", size: 75, children: [
3995
4003
  /* @__PURE__ */ e(Ft, {}),
3996
- /* @__PURE__ */ h(y, { sx: { alignItems: "center", display: "flex", gap: 4, zIndex: 1 }, children: [
4004
+ /* @__PURE__ */ c(y, { sx: { alignItems: "center", display: "flex", gap: 4, zIndex: 1 }, children: [
3997
4005
  /* @__PURE__ */ e(
3998
4006
  X,
3999
4007
  {
@@ -4035,16 +4043,16 @@ const ut = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAUAAAACvCAYAAACM9QdJAA
4035
4043
  )
4036
4044
  ] })
4037
4045
  ] }) }) }) }),
4038
- /* @__PURE__ */ h(E, { sx: { alignItems: "center", justifyContent: "center" }, children: [
4046
+ /* @__PURE__ */ c(E, { sx: { alignItems: "center", justifyContent: "center" }, children: [
4039
4047
  i && !l && /* @__PURE__ */ e(a1, { sx: { textAlign: "center", whiteSpace: "wrap" }, children: r.your_direct_deposit_has_been_updated_successfully }),
4040
- a && /* @__PURE__ */ h(V, { children: [
4048
+ o && /* @__PURE__ */ c(V, { children: [
4041
4049
  /* @__PURE__ */ e(a1, { children: r.connecting }),
4042
4050
  /* @__PURE__ */ e(y, { sx: { my: 24, width: "50%" }, children: /* @__PURE__ */ e(ee, { "aria-label": r.loading }) }),
4043
- /* @__PURE__ */ e(f, { bold: !0, variant: "Body", children: r.syncing_your_information }),
4044
- /* @__PURE__ */ e(f, { sx: { mt: 8 }, variant: "Small", children: s })
4051
+ /* @__PURE__ */ e(k, { bold: !0, variant: "Body", children: r.syncing_your_information }),
4052
+ /* @__PURE__ */ e(k, { sx: { mt: 8 }, variant: "Small", children: s })
4045
4053
  ] }),
4046
- l && /* @__PURE__ */ h(E, { sx: { gap: 24, px: 24, pb: 24 }, children: [
4047
- /* @__PURE__ */ h(E, { children: [
4054
+ l && /* @__PURE__ */ c(E, { sx: { gap: 24, px: 24, pb: 24 }, children: [
4055
+ /* @__PURE__ */ c(E, { children: [
4048
4056
  /* @__PURE__ */ e(a1, { sx: { alignSelf: "center" }, children: r.error_title }),
4049
4057
  /* @__PURE__ */ e(
4050
4058
  L,
@@ -4061,7 +4069,7 @@ const ut = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAUAAAACvCAYAAACM9QdJAA
4061
4069
  }
4062
4070
  )
4063
4071
  ] }),
4064
- /* @__PURE__ */ e(T, { onClick: o.onClose, sx: { mx: "auto" }, variant: "contained", children: r.error_button_text })
4072
+ /* @__PURE__ */ e(T, { onClick: a.onClose, sx: { mx: "auto" }, variant: "contained", children: r.error_button_text })
4065
4073
  ] })
4066
4074
  ] })
4067
4075
  ] });