@mx-cartographer/experiences 3.16.0 → 3.16.1-alpha.JB0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.es.js CHANGED
@@ -6,7 +6,7 @@ import K from "@mui/material/Divider";
6
6
  import nA from "@mui/material/List";
7
7
  import ce from "@mui/material/ListSubheader";
8
8
  import fr from "@mui/system/Stack";
9
- import { AccountsIcon as oo, P as CA, Icon as M, useTokens as _A, Text as p, H2 as Wt, CategoryIcon as ne, DialogHeader as so, DialogFooter as co, Drawer as lo, Footer as uo, DateRangePicker as mr, H3 as Yt, H1 as pe, TextField as _e, IconWeight as XA, MerchantLogo as He, CategoryIconVariants as Oa, InstitutionLogo as ve, THEMES as pr, createMXTheme as Ie } from "@kyper/mui";
9
+ import { AccountsIcon as oo, P as CA, Icon as M, useTokens as _A, Text as p, H2 as Wt, CategoryIcon as ne, DialogHeader as so, DialogFooter as co, Drawer as lo, Footer as uo, DateRangePicker as mr, H3 as Yt, H1 as pe, TextField as Me, IconWeight as XA, MerchantLogo as Re, CategoryIconVariants as Oa, InstitutionLogo as ve, THEMES as pr, createMXTheme as He } from "@kyper/mui";
10
10
  import ho from "bowser";
11
11
  import { getUnixTime as fA } from "date-fns/getUnixTime";
12
12
  import { intlFormat as go } from "date-fns/intlFormat";
@@ -75,7 +75,7 @@ import Mn from "@mui/material/CircularProgress";
75
75
  import { v4 as Qo } from "uuid";
76
76
  import _t from "@mui/material/InputAdornment";
77
77
  import jo from "@mui/material/Radio";
78
- import De from "@mui/material/Avatar";
78
+ import Ie from "@mui/material/Avatar";
79
79
  import IA from "@mui/material/ListItemAvatar";
80
80
  import ee from "@mui/material/ListItemIcon";
81
81
  import { makeAutoObservable as wA, runInAction as Y, reaction as Uo, observable as Wo } from "mobx";
@@ -317,7 +317,7 @@ const Hs = async (A, e, n = "1.0.0", r = "Experiences") => {
317
317
  day: "numeric",
318
318
  year: "numeric"
319
319
  }
320
- }, AA = (A, e) => go(new Date(A), Object.assign(e), { locale: Re() });
320
+ }, AA = (A, e) => go(new Date(A), Object.assign(e), { locale: _e() });
321
321
  var U = /* @__PURE__ */ ((A) => (A[A.ANY = 0] = "ANY", A[A.CHECKING = 1] = "CHECKING", A[A.SAVINGS = 2] = "SAVINGS", A[A.LOAN = 3] = "LOAN", A[A.CREDIT_CARD = 4] = "CREDIT_CARD", A[A.INVESTMENT = 5] = "INVESTMENT", A[A.LINE_OF_CREDIT = 6] = "LINE_OF_CREDIT", A[A.MORTGAGE = 7] = "MORTGAGE", A[A.PROPERTY = 8] = "PROPERTY", A[A.CASH = 9] = "CASH", A[A.INSURANCE = 10] = "INSURANCE", A[A.PREPAID = 11] = "PREPAID", A[A.CHECKING_LINE_OF_CREDIT = 12] = "CHECKING_LINE_OF_CREDIT", A[A.DIGITAL_WALLET = 13] = "DIGITAL_WALLET", A))(U || {}), Bs = /* @__PURE__ */ ((A) => (A[A.NONE = 0] = "NONE", A[A.MONEY_MARKET = 1] = "MONEY_MARKET", A[A.CERTIFICATE_OF_DEPOSIT = 2] = "CERTIFICATE_OF_DEPOSIT", A[A.AUTO = 3] = "AUTO", A[A.STUDENT = 4] = "STUDENT", A[A.SMALL_BUSINESS = 5] = "SMALL_BUSINESS", A[A.PERSONAL = 6] = "PERSONAL", A[A.PERSONAL_WITH_COLLATERAL = 7] = "PERSONAL_WITH_COLLATERAL", A[A.HOME_EQUITY = 8] = "HOME_EQUITY", A[A.PLAN_401_K = 9] = "PLAN_401_K", A[A.PLAN_403_B = 10] = "PLAN_403_B", A[A.PLAN_529 = 11] = "PLAN_529", A[A.IRA = 12] = "IRA", A[A.ROLLOVER_IRA = 13] = "ROLLOVER_IRA", A[A.ROTH_IRA = 14] = "ROTH_IRA", A[A.TAXABLE = 15] = "TAXABLE", A[A.NON_TAXABLE = 16] = "NON_TAXABLE", A[A.BROKERAGE = 17] = "BROKERAGE", A[A.TRUST = 18] = "TRUST", A[A.UNIFORM_GIFTS_TO_MINORS_ACT = 19] = "UNIFORM_GIFTS_TO_MINORS_ACT", A[A.PLAN_457 = 20] = "PLAN_457", A[A.PENSION = 21] = "PENSION", A[A.EMPLOYEE_STOCK_OWNERSHIP_PLAN = 22] = "EMPLOYEE_STOCK_OWNERSHIP_PLAN", A[A.SIMPLIFIED_EMPLOYEE_PENSION = 23] = "SIMPLIFIED_EMPLOYEE_PENSION", A[A.SIMPLE_IRA = 24] = "SIMPLE_IRA", A[A.BOAT = 25] = "BOAT", A[A.POWERSPORTS = 26] = "POWERSPORTS", A[A.RV = 27] = "RV", A[A.HELOC = 28] = "HELOC", A[A.PLAN_ROTH_401_K = 29] = "PLAN_ROTH_401_K", A[A.FIXED_ANNUITY = 30] = "FIXED_ANNUITY", A[A.VARIABLE_ANNUITY = 31] = "VARIABLE_ANNUITY", A[A.VEHICLE_INSURANCE = 32] = "VEHICLE_INSURANCE", A[A.DISABILITY = 33] = "DISABILITY", A[A.HEALTH = 34] = "HEALTH", A[A.LONG_TERM_CARE = 35] = "LONG_TERM_CARE", A[A.PROPERTY_AND_CASUALTY = 36] = "PROPERTY_AND_CASUALTY", A[A.UNIVERSAL_LIFE = 37] = "UNIVERSAL_LIFE", A[A.TERM_LIFE = 38] = "TERM_LIFE", A[A.WHOLE_LIFE = 39] = "WHOLE_LIFE", A[A.ACCIDENTAL_DEATH_AND_DISMEMBERMENT = 40] = "ACCIDENTAL_DEATH_AND_DISMEMBERMENT", A[A.VARIABLE_UNIVERSAL_LIFE = 41] = "VARIABLE_UNIVERSAL_LIFE", A[A.HSA = 42] = "HSA", A[A.TAX_FREE_SAVINGS_ACCOUNT = 43] = "TAX_FREE_SAVINGS_ACCOUNT", A[A.INDIVIDUAL = 44] = "INDIVIDUAL", A[A.REGISTERED_RETIREMENT_INCOME_FUND = 45] = "REGISTERED_RETIREMENT_INCOME_FUND", A[A.CASH_MANAGEMENT_ACCOUNT = 46] = "CASH_MANAGEMENT_ACCOUNT", A[A.EMPLOYEE_STOCK_PURCHASE_PLAN = 47] = "EMPLOYEE_STOCK_PURCHASE_PLAN", A[A.REGISTERED_EDUCATION_SAVINGS_PLAN = 48] = "REGISTERED_EDUCATION_SAVINGS_PLAN", A[A.PROFIT_SHARING_PLAN = 49] = "PROFIT_SHARING_PLAN", A[A.UNIFORM_TRANSFER_TO_MINORS_ACT = 50] = "UNIFORM_TRANSFER_TO_MINORS_ACT", A[A.PLAN_401_A = 51] = "PLAN_401_A", A[A.SARSEP_IRA = 52] = "SARSEP_IRA", A[A.FIXED_ANNUITY_TRADITIONAL_IRA = 53] = "FIXED_ANNUITY_TRADITIONAL_IRA", A[A.VARIABLE_ANNUITY_TRADITIONAL_IRA = 54] = "VARIABLE_ANNUITY_TRADITIONAL_IRA", A[A.SEPP_IRA = 55] = "SEPP_IRA", A[A.INHERITED_TRADITIONAL_IRA = 56] = "INHERITED_TRADITIONAL_IRA", A[A.FIXED_ANNUITY_ROTH_IRA = 57] = "FIXED_ANNUITY_ROTH_IRA", A[A.VARIABLE_ANNUITY_ROTH_IRA = 58] = "VARIABLE_ANNUITY_ROTH_IRA", A[A.INHERITED_ROTH_IRA = 59] = "INHERITED_ROTH_IRA", A[A.COVERDELL = 60] = "COVERDELL", A[A.ADVISORY_ACCOUNT = 61] = "ADVISORY_ACCOUNT", A[A.BROKERAGE_MARGIN = 62] = "BROKERAGE_MARGIN", A[A.CHARITABLE_GIFT_ACCOUNT = 63] = "CHARITABLE_GIFT_ACCOUNT", A[A.CHURCH_ACCOUNT = 64] = "CHURCH_ACCOUNT", A[A.CONSERVATORSHIP = 65] = "CONSERVATORSHIP", A[A.CUSTODIAL = 66] = "CUSTODIAL", A[A.DEFINED_BENEFIT_PLAN = 67] = "DEFINED_BENEFIT_PLAN", A[A.DEFINED_CONTRIBUTION_PLAN = 68] = "DEFINED_CONTRIBUTION_PLAN", A[A.EDUCATIONAL = 69] = "EDUCATIONAL", A[A.ESTATE = 70] = "ESTATE", A[A.EXECUTOR = 71] = "EXECUTOR", A[A.GROUP_RETIREMENT_SAVINGS_PLAN = 72] = "GROUP_RETIREMENT_SAVINGS_PLAN", A[A.GUARANTEED_INVESTMENT_CERTIFICATE = 73] = "GUARANTEED_INVESTMENT_CERTIFICATE", A[A.HRA = 74] = "HRA", A[A.INDEXED_ANNUITY = 75] = "INDEXED_ANNUITY", A[A.INVESTMENT_CLUB = 76] = "INVESTMENT_CLUB", A[A.IRREVOCABLE_TRUST = 77] = "IRREVOCABLE_TRUST", A[A.JOINT_TENANTS_BY_ENTIRITY = 78] = "JOINT_TENANTS_BY_ENTIRITY", A[A.JOINT_TENANTS_COMMUNITY_PROPERTY = 79] = "JOINT_TENANTS_COMMUNITY_PROPERTY", A[A.JOINT_TENANTS_IN_COMMON = 80] = "JOINT_TENANTS_IN_COMMON", A[A.JOINT_TENANTS_WITH_RIGHTS_OF_SURVIVORSHIP = 81] = "JOINT_TENANTS_WITH_RIGHTS_OF_SURVIVORSHIP", A[A.KEOUGH_PLAN = 82] = "KEOUGH_PLAN", A[A.LIFE_INCOME_FUND = 83] = "LIFE_INCOME_FUND", A[A.LIVING_TRUST = 84] = "LIVING_TRUST", A[A.LOCKED_IN_RETIREMENT_ACCOUNT = 85] = "LOCKED_IN_RETIREMENT_ACCOUNT", A[A.LOCKED_IN_RETIREMENT_INVESTMENT_FUND = 86] = "LOCKED_IN_RETIREMENT_INVESTMENT_FUND", A[A.LOCKED_IN_RETIREMENT_SAVINGS_ACCOUNT = 87] = "LOCKED_IN_RETIREMENT_SAVINGS_ACCOUNT", A[A.MONEY_PURCHASE_PLAN = 88] = "MONEY_PURCHASE_PLAN", A[A.PARTNERSHIP = 89] = "PARTNERSHIP", A[A.PLAN_409_A = 90] = "PLAN_409_A", A[A.PLAN_ROTH_403_B = 91] = "PLAN_ROTH_403_B", A[A.REGISTERED_DISABILITY_SAVINGS_PLAN = 92] = "REGISTERED_DISABILITY_SAVINGS_PLAN", A[A.REGISTERED_LOCKED_IN_SAVINGS_PLAN = 93] = "REGISTERED_LOCKED_IN_SAVINGS_PLAN", A[A.REGISTERED_PENSION_PLAN = 94] = "REGISTERED_PENSION_PLAN", A[A.REGISTERED_RETIREMENT_SAVINGS_PLAN = 95] = "REGISTERED_RETIREMENT_SAVINGS_PLAN", A[A.REVOCABLE_TRUST = 96] = "REVOCABLE_TRUST", A[A.ROTH_CONVERSION = 97] = "ROTH_CONVERSION", A[A.SOLE_PROPRIETORSHIP = 98] = "SOLE_PROPRIETORSHIP", A[A.SPOUSAL_IRA = 99] = "SPOUSAL_IRA", A[A.SPOUSAL_ROTH_IRA = 100] = "SPOUSAL_ROTH_IRA", A[A.TESTAMENTARY_TRUST = 101] = "TESTAMENTARY_TRUST", A[A.THRIFT_SAVINGS_PLAN = 102] = "THRIFT_SAVINGS_PLAN", A[A.INHERITED_ANNUITY = 103] = "INHERITED_ANNUITY", A[A.CORPORATE_ACCOUNT = 104] = "CORPORATE_ACCOUNT", A[A.LIMITED_LIABILITY_ACCOUNT = 105] = "LIMITED_LIABILITY_ACCOUNT", A[A.HSA_SAVINGS = 106] = "HSA_SAVINGS", A[A.HSA_CHECKING = 107] = "HSA_CHECKING", A))(Bs || {}), Ga = /* @__PURE__ */ ((A) => (A[A.REAL_ESTATE = 0] = "REAL_ESTATE", A[A.VEHICLE = 1] = "VEHICLE", A[A.ART = 2] = "ART", A[A.JEWELRY = 3] = "JEWELRY", A[A.FURNITURE = 4] = "FURNITURE", A[A.APPLIANCES = 5] = "APPLIANCES", A[A.COMPUTER = 6] = "COMPUTER", A[A.ELECTRONICS = 7] = "ELECTRONICS", A[A.SPORTS_EQUIPMENT = 8] = "SPORTS_EQUIPMENT", A[A.MISCELLANEOUS = 9] = "MISCELLANEOUS", A))(Ga || {}), KA = /* @__PURE__ */ ((A) => (A[A.CREATED = 0] = "CREATED", A[A.PREVENTED = 1] = "PREVENTED", A[A.DENIED = 2] = "DENIED", A[A.CHALLENGED = 3] = "CHALLENGED", A[A.REJECTED = 4] = "REJECTED", A[A.LOCKED = 5] = "LOCKED", A[A.CONNECTED = 6] = "CONNECTED", A[A.IMPEDED = 7] = "IMPEDED", A[A.RECONNECTED = 8] = "RECONNECTED", A[A.DEGRADED = 9] = "DEGRADED", A[A.DISCONNECTED = 10] = "DISCONNECTED", A[A.DISCONTINUED = 11] = "DISCONTINUED", A[A.CLOSED = 12] = "CLOSED", A[A.DELAYED = 13] = "DELAYED", A[A.FAILED = 14] = "FAILED", A[A.UPDATED = 15] = "UPDATED", A[A.DISABLED = 16] = "DISABLED", A[A.IMPORTED = 17] = "IMPORTED", A[A.RESUMED = 18] = "RESUMED", A[A.EXPIRED = 19] = "EXPIRED", A[A.IMPAIRED = 20] = "IMPAIRED", A[A.PENDING = 21] = "PENDING", A))(KA || {});
322
322
  const qs = [
323
323
  0,
@@ -689,7 +689,7 @@ const D7 = {
689
689
  [E.DENTIST]: "Dentist",
690
690
  [E.BONUS]: "Bonus",
691
691
  [E.PET_FOOD_SUPPLIES]: "Pet Food & Supplies"
692
- }, Pe = {
692
+ }, Oe = {
693
693
  [E.AUTO_AND_TRANSPORT]: "#4B9DBC",
694
694
  [E.BILLS_AND_UTILITIES]: "#EF9B2C",
695
695
  [E.BUSINESS_SERVICES]: "#B3DE8C",
@@ -801,14 +801,14 @@ const it = 44, Ir = (A, e) => A.find((n) => n.guid === e), js = (A, e) => A.find
801
801
  []
802
802
  );
803
803
  return n ? a : a.join("");
804
- }, N7 = (A, e, n, ...r) => !A || !e ? "" : H(n === 1 ? A : e, ...r), Re = () => (window?.app?.options?.language || document.querySelector("html")?.getAttribute("lang") || "en-US").toLowerCase();
804
+ }, N7 = (A, e, n, ...r) => !A || !e ? "" : H(n === 1 ? A : e, ...r), _e = () => (window?.app?.options?.language || document.querySelector("html")?.getAttribute("lang") || "en-US").toLowerCase();
805
805
  class UA {
806
806
  endpoint = "/";
807
807
  headers = {};
808
808
  constructor(e, n) {
809
809
  this.endpoint = e, this.headers = {
810
810
  Accept: "application/json",
811
- "Accept-Language": Re(),
811
+ "Accept-Language": _e(),
812
812
  "Content-Type": "application/json",
813
813
  "MD-Session-Token": n
814
814
  };
@@ -865,14 +865,14 @@ class UA {
865
865
  };
866
866
  }
867
867
  const X = (A, e, n) => {
868
- switch (Re()) {
868
+ switch (_e()) {
869
869
  case "fr-ca":
870
870
  return vr(A).format(`${e} $`, n);
871
871
  default:
872
872
  return vr(A).format(`$${e}`, n);
873
873
  }
874
874
  }, Js = () => {
875
- switch (Re()) {
875
+ switch (_e()) {
876
876
  case "fr-ca":
877
877
  return zt.CAD;
878
878
  default:
@@ -882,7 +882,7 @@ const X = (A, e, n) => {
882
882
  style: "percent",
883
883
  minimumFractionDigits: 2,
884
884
  maximumFractionDigits: 2
885
- }, $s = (A, e = Zs) => Ln(A) ? new Intl.NumberFormat(Re(), e).format(Number(A)) : A, Ac = (A) => new Intl.PluralRules(Re(), A), ec = (A, e = { type: "ordinal" }, n = {
885
+ }, $s = (A, e = Zs) => Ln(A) ? new Intl.NumberFormat(_e(), e).format(Number(A)) : A, Ac = (A) => new Intl.PluralRules(_e(), A), ec = (A, e = { type: "ordinal" }, n = {
886
886
  one: "st",
887
887
  two: "nd",
888
888
  few: "rd",
@@ -2201,7 +2201,7 @@ const Sc = ({
2201
2201
  }) => {
2202
2202
  const { isMobile: i } = GA();
2203
2203
  return /* @__PURE__ */ t(b, { direction: "row", flexWrap: "wrap", gap: i ? 2 : 6, justifyContent: "start", sx: A, children: e.map(({ guid: o, top_level_guid: s }) => {
2204
- const c = n === o, u = Pe[o], d = Pe[s], h = u ?? d ?? Pe.default, C = h + "33";
2204
+ const c = n === o, u = Oe[o], d = Oe[s], h = u ?? d ?? Oe.default, C = h + "33";
2205
2205
  return /* @__PURE__ */ l(
2206
2206
  cA,
2207
2207
  {
@@ -2548,10 +2548,10 @@ const Sc = ({
2548
2548
  ...r && {
2549
2549
  boxShadow: "0px 2px 8px 0px #6A73811F"
2550
2550
  },
2551
- padding: "8px 20px 8px 8px"
2551
+ padding: "8px 52px 8px 8px"
2552
2552
  },
2553
2553
  children: [
2554
- /* @__PURE__ */ t(HA, { "aria-label": A, color: "primary", onClick: e, children: /* @__PURE__ */ t(M, { name: "west" }) }),
2554
+ /* @__PURE__ */ t(HA, { "aria-label": A, color: "primary", onClick: e, children: /* @__PURE__ */ t(M, { name: "arrow_back", size: 24 }) }),
2555
2555
  /* @__PURE__ */ t(
2556
2556
  I,
2557
2557
  {
@@ -3214,7 +3214,7 @@ const je = ({
3214
3214
  ]
3215
3215
  }
3216
3216
  );
3217
- }, Ee = S(jc), Uc = ({ status: A = Ne.Loading }) => {
3217
+ }, Ee = S(jc), Uc = ({ status: A = Pe.Loading }) => {
3218
3218
  const { connect: e } = x();
3219
3219
  return /* @__PURE__ */ t(
3220
3220
  I,
@@ -3225,7 +3225,7 @@ const je = ({
3225
3225
  width: "100%"
3226
3226
  },
3227
3227
  children: /* @__PURE__ */ l(b, { alignItems: "center", direction: "column", justifyContent: "center", sx: { height: "100%" }, children: [
3228
- A === Ne.Loading && /* @__PURE__ */ t(Mn, { color: "primary", size: 48 }),
3228
+ A === Pe.Loading && /* @__PURE__ */ t(Mn, { color: "primary", size: 48 }),
3229
3229
  /* @__PURE__ */ t(
3230
3230
  p,
3231
3231
  {
@@ -3233,14 +3233,14 @@ const je = ({
3233
3233
  color: "grey.600",
3234
3234
  marginTop: "16px"
3235
3235
  },
3236
- children: A === Ne.Error ? e.oops : e.loading
3236
+ children: A === Pe.Error ? e.oops : e.loading
3237
3237
  }
3238
3238
  )
3239
3239
  ] })
3240
3240
  }
3241
3241
  );
3242
3242
  }, kt = S(Uc);
3243
- var Ne = /* @__PURE__ */ ((A) => (A.Loading = "loading", A.Error = "error", A))(Ne || {}), WA = /* @__PURE__ */ ((A) => (A.Currency = "currency", A.Date = "date", A.Input = "input", A.Select = "select", A))(WA || {});
3243
+ var Pe = /* @__PURE__ */ ((A) => (A.Loading = "loading", A.Error = "error", A))(Pe || {}), WA = /* @__PURE__ */ ((A) => (A.Currency = "currency", A.Date = "date", A.Input = "input", A.Select = "select", A))(WA || {});
3244
3244
  const zr = "connect_widget", Br = "connections_widget", Wc = ({
3245
3245
  loadWidgetProps: A,
3246
3246
  onClose: e,
@@ -3280,8 +3280,8 @@ const zr = "connect_widget", Br = "connections_widget", Wc = ({
3280
3280
  },
3281
3281
  title: r,
3282
3282
  children: /* @__PURE__ */ l("div", { id: zr, children: [
3283
- d && /* @__PURE__ */ t(kt, { status: Ne.Error }),
3284
- c && /* @__PURE__ */ t(kt, { status: Ne.Loading })
3283
+ d && /* @__PURE__ */ t(kt, { status: Pe.Error }),
3284
+ c && /* @__PURE__ */ t(kt, { status: Pe.Loading })
3285
3285
  ] })
3286
3286
  }
3287
3287
  );
@@ -3330,11 +3330,11 @@ const zr = "connect_widget", Br = "connections_widget", Wc = ({
3330
3330
  ), d?.(!1)) : z.toString().match(O) ? i() ? (m(""), d?.(!0)) : (m(o), d?.(!1)) : (m(y.error_amount_is_invalid), d?.(!1)), u(z.toString());
3331
3331
  };
3332
3332
  return /* @__PURE__ */ t(
3333
- _e,
3333
+ Me,
3334
3334
  {
3335
3335
  InputProps: {
3336
- endAdornment: Re().includes("fr-ca") ? /* @__PURE__ */ t(CA, { children: "$" }) : void 0,
3337
- startAdornment: Re().includes("fr-ca") ? void 0 : /* @__PURE__ */ t(CA, { children: "$" })
3336
+ endAdornment: _e().includes("fr-ca") ? /* @__PURE__ */ t(CA, { children: "$" }) : void 0,
3337
+ startAdornment: _e().includes("fr-ca") ? void 0 : /* @__PURE__ */ t(CA, { children: "$" })
3338
3338
  },
3339
3339
  "aria-label": e || y.enter_amount,
3340
3340
  className: `mx-cmn-currency-input ${L}`,
@@ -3414,7 +3414,7 @@ const zr = "connect_widget", Br = "connections_widget", Wc = ({
3414
3414
  }
3415
3415
  );
3416
3416
  return /* @__PURE__ */ t(I, { className: "mx-cmn-search-box", px: i.Spacing.Large, py: i.Spacing.Medium, children: /* @__PURE__ */ t(
3417
- _e,
3417
+ Me,
3418
3418
  {
3419
3419
  InputProps: {
3420
3420
  startAdornment: /* @__PURE__ */ t(_t, { position: "start", children: /* @__PURE__ */ t(M, { color: "disabled", name: "search", size: 26 }) }),
@@ -3482,7 +3482,7 @@ const zr = "connect_widget", Br = "connections_widget", Wc = ({
3482
3482
  ...a,
3483
3483
  children: r === e && A
3484
3484
  }
3485
- ), Me = ({
3485
+ ), Ne = ({
3486
3486
  backingSx: A,
3487
3487
  children: e,
3488
3488
  size: n,
@@ -3516,7 +3516,7 @@ const zr = "connect_widget", Br = "connections_widget", Wc = ({
3516
3516
  }
3517
3517
  ), Xt = ({ iconName: A, label: e, onClick: n, value: r }) => {
3518
3518
  const a = /* @__PURE__ */ l(eA, { children: [
3519
- /* @__PURE__ */ t(IA, { children: /* @__PURE__ */ t(De, { sx: { bgcolor: "border.light" }, variant: "rounded", children: /* @__PURE__ */ t(M, { name: A, sx: { color: "text.primary" }, weight: XA.Dark }) }) }),
3519
+ /* @__PURE__ */ t(IA, { children: /* @__PURE__ */ t(Ie, { sx: { bgcolor: "border.light" }, variant: "rounded", children: /* @__PURE__ */ t(M, { name: A, sx: { color: "text.primary" }, weight: XA.Dark }) }) }),
3520
3520
  /* @__PURE__ */ t(
3521
3521
  tA,
3522
3522
  {
@@ -4732,7 +4732,7 @@ const ZA = () => {
4732
4732
  onClick: e ? () => e(A.guid) : void 0,
4733
4733
  children: [
4734
4734
  /* @__PURE__ */ t(IA, { children: A.parent_guid ? /* @__PURE__ */ t(g.Fragment, {}) : /* @__PURE__ */ t(
4735
- He,
4735
+ Re,
4736
4736
  {
4737
4737
  categoryGuid: A.top_level_category_guid || "",
4738
4738
  merchantGuid: A.merchant_guid || ""
@@ -4904,7 +4904,7 @@ const ZA = () => {
4904
4904
  );
4905
4905
  }, zl = S(Hl), ot = (A) => /* @__PURE__ */ t(p, { fontWeight: 600, variant: "Small", children: A.colDef.headerName }), Bl = (A) => /* @__PURE__ */ l(b, { alignItems: "center", direction: "row", gap: 8, children: [
4906
4906
  /* @__PURE__ */ t(
4907
- He,
4907
+ Re,
4908
4908
  {
4909
4909
  categoryGuid: A.row.top_level_category_guid || "",
4910
4910
  merchantGuid: A.row.merchant_guid || ""
@@ -5050,7 +5050,7 @@ const kl = ({
5050
5050
  c(!1), n(i);
5051
5051
  },
5052
5052
  children: /* @__PURE__ */ t(Ma, { children: h ? /* @__PURE__ */ t(p, { children: d }) : /* @__PURE__ */ t(
5053
- _e,
5053
+ Me,
5054
5054
  {
5055
5055
  "aria-label": a === "edit" ? s.edit_subcategory_aria : s.add_subcategory_aria,
5056
5056
  name: "modify-subcategory",
@@ -5378,7 +5378,7 @@ const kl = ({
5378
5378
  ...A,
5379
5379
  currentAmount: s,
5380
5380
  averageAmount: Yr(c),
5381
- color: Pe[i],
5381
+ color: Oe[i],
5382
5382
  icon: Gs[i],
5383
5383
  isTransfer: i === E.TRANSFER,
5384
5384
  monthlyAmounts: c,
@@ -5560,7 +5560,7 @@ const gi = ({ transaction: A }) => {
5560
5560
  a(B.ON_TRANSACTION_CATEGORY_CLICK), u(!0);
5561
5561
  },
5562
5562
  children: [
5563
- /* @__PURE__ */ t(IA, { children: /* @__PURE__ */ t(De, { sx: { bgcolor: "border.light" }, variant: "rounded", children: /* @__PURE__ */ t(
5563
+ /* @__PURE__ */ t(IA, { children: /* @__PURE__ */ t(Ie, { sx: { bgcolor: "border.light" }, variant: "rounded", children: /* @__PURE__ */ t(
5564
5564
  ne,
5565
5565
  {
5566
5566
  categoryGuid: A.top_level_category_guid,
@@ -5632,7 +5632,7 @@ const gi = ({ transaction: A }) => {
5632
5632
  n(B.ON_TRANSACTION_DATE_CLICK), c(!0);
5633
5633
  },
5634
5634
  children: [
5635
- /* @__PURE__ */ t(IA, { children: /* @__PURE__ */ t(De, { sx: { bgcolor: "border.light" }, variant: "rounded", children: /* @__PURE__ */ t(M, { name: "calendar_month", sx: { color: "text.primary" }, weight: XA.Dark }) }) }),
5635
+ /* @__PURE__ */ t(IA, { children: /* @__PURE__ */ t(Ie, { sx: { bgcolor: "border.light" }, variant: "rounded", children: /* @__PURE__ */ t(M, { name: "calendar_month", sx: { color: "text.primary" }, weight: XA.Dark }) }) }),
5636
5636
  /* @__PURE__ */ t(
5637
5637
  tA,
5638
5638
  {
@@ -5683,7 +5683,7 @@ const gi = ({ transaction: A }) => {
5683
5683
  e(B.ON_TRANSACTION_DELETE_CLICK), r(!0), s(!0);
5684
5684
  },
5685
5685
  children: [
5686
- /* @__PURE__ */ t(IA, { children: /* @__PURE__ */ t(De, { variant: "rounded", children: /* @__PURE__ */ t(pt, { color: "secondary", fontSize: "small" }) }) }),
5686
+ /* @__PURE__ */ t(IA, { children: /* @__PURE__ */ t(Ie, { variant: "rounded", children: /* @__PURE__ */ t(pt, { color: "secondary", fontSize: "small" }) }) }),
5687
5687
  /* @__PURE__ */ t(
5688
5688
  tA,
5689
5689
  {
@@ -5725,7 +5725,7 @@ const gi = ({ transaction: A }) => {
5725
5725
  e(B.ON_TRANSACTION_DELETE_LOGO_CLICK), s(!0);
5726
5726
  },
5727
5727
  children: [
5728
- /* @__PURE__ */ t(IA, { children: /* @__PURE__ */ t(De, { sx: { bgcolor: "border.light" }, variant: "rounded", children: /* @__PURE__ */ t(M, { name: "delete", sx: { color: "text.primary" }, weight: XA.Dark }) }) }),
5728
+ /* @__PURE__ */ t(IA, { children: /* @__PURE__ */ t(Ie, { sx: { bgcolor: "border.light" }, variant: "rounded", children: /* @__PURE__ */ t(M, { name: "delete", sx: { color: "text.primary" }, weight: XA.Dark }) }) }),
5729
5729
  /* @__PURE__ */ t(tA, { primary: i.merchant_logo_title, secondary: i.merchant_logo_desc }),
5730
5730
  /* @__PURE__ */ t(ee, { children: /* @__PURE__ */ t(M, { name: "chevron_right", weight: XA.Dark }) })
5731
5731
  ]
@@ -5774,7 +5774,7 @@ const gi = ({ transaction: A }) => {
5774
5774
  },
5775
5775
  role: "switch",
5776
5776
  children: [
5777
- /* @__PURE__ */ t(IA, { children: /* @__PURE__ */ t(De, { sx: { bgcolor: "border.light" }, variant: "rounded", children: c ? /* @__PURE__ */ t(
5777
+ /* @__PURE__ */ t(IA, { children: /* @__PURE__ */ t(Ie, { sx: { bgcolor: "border.light" }, variant: "rounded", children: c ? /* @__PURE__ */ t(
5778
5778
  M,
5779
5779
  {
5780
5780
  name: "visibilityOff",
@@ -5825,7 +5825,7 @@ const gi = ({ transaction: A }) => {
5825
5825
  const { amount: e, description: n, isIncome: r, merchant_guid: a, payee: i, top_level_category_guid: o } = A;
5826
5826
  return /* @__PURE__ */ l(b, { className: "mx-txn-amount-header", direction: "row", gap: 12, px: 16, py: 24, children: [
5827
5827
  /* @__PURE__ */ t(
5828
- He,
5828
+ Re,
5829
5829
  {
5830
5830
  categoryGuid: o || "",
5831
5831
  merchantGuid: a || "",
@@ -5860,7 +5860,7 @@ const gi = ({ transaction: A }) => {
5860
5860
  e(B.ON_TRANSACTION_MEMO_CLICK), s(!0);
5861
5861
  },
5862
5862
  children: [
5863
- /* @__PURE__ */ t(IA, { children: /* @__PURE__ */ t(De, { sx: { bgcolor: "border.light" }, variant: "rounded", children: /* @__PURE__ */ t(M, { name: "article", sx: { color: "text.primary" }, weight: XA.Dark }) }) }),
5863
+ /* @__PURE__ */ t(IA, { children: /* @__PURE__ */ t(Ie, { sx: { bgcolor: "border.light" }, variant: "rounded", children: /* @__PURE__ */ t(M, { name: "article", sx: { color: "text.primary" }, weight: XA.Dark }) }) }),
5864
5864
  /* @__PURE__ */ t(
5865
5865
  tA,
5866
5866
  {
@@ -6116,7 +6116,7 @@ const gi = ({ transaction: A }) => {
6116
6116
  }, [f]);
6117
6117
  return /* @__PURE__ */ l(g.Fragment, { children: [
6118
6118
  A && /* @__PURE__ */ t(W, { disableGutters: !0, disablePadding: !0, children: /* @__PURE__ */ l(dA, { onClick: D, children: [
6119
- /* @__PURE__ */ t(IA, { children: /* @__PURE__ */ t(De, { sx: { bgcolor: "border.light" }, variant: "rounded", children: /* @__PURE__ */ t(M, { name: "call_split", sx: { color: "text.primary" }, weight: XA.Dark }) }) }),
6119
+ /* @__PURE__ */ t(IA, { children: /* @__PURE__ */ t(Ie, { sx: { bgcolor: "border.light" }, variant: "rounded", children: /* @__PURE__ */ t(M, { name: "call_split", sx: { color: "text.primary" }, weight: XA.Dark }) }) }),
6120
6120
  /* @__PURE__ */ t(
6121
6121
  tA,
6122
6122
  {
@@ -6222,7 +6222,7 @@ const gi = ({ transaction: A }) => {
6222
6222
  onSecondaryAction: () => i(!1),
6223
6223
  children: [
6224
6224
  /* @__PURE__ */ t(
6225
- _e,
6225
+ Me,
6226
6226
  {
6227
6227
  "aria-label": r.tags_placeholder,
6228
6228
  name: "add-tag",
@@ -6247,7 +6247,7 @@ const gi = ({ transaction: A }) => {
6247
6247
  }
6248
6248
  );
6249
6249
  return /* @__PURE__ */ t(I, { className: "mx-txn-tag-manager-search", px: a.Spacing.Large, py: a.Spacing.Medium, children: /* @__PURE__ */ t(
6250
- _e,
6250
+ Me,
6251
6251
  {
6252
6252
  InputProps: {
6253
6253
  startAdornment: /* @__PURE__ */ t(_t, { position: "start", children: /* @__PURE__ */ t(is, { color: "disabled" }) }),
@@ -6324,7 +6324,7 @@ const gi = ({ transaction: A }) => {
6324
6324
  onSecondaryAction: () => u(!1),
6325
6325
  children: [
6326
6326
  /* @__PURE__ */ t(
6327
- _e,
6327
+ Me,
6328
6328
  {
6329
6329
  "aria-describedby": f ? "update-tag-error" : void 0,
6330
6330
  "aria-label": s.tags_update_the_tag_name,
@@ -6401,7 +6401,7 @@ const gi = ({ transaction: A }) => {
6401
6401
  e(B.ON_TRANSACTION_TAGS_CLICK), u(!0);
6402
6402
  },
6403
6403
  children: [
6404
- /* @__PURE__ */ t(IA, { children: /* @__PURE__ */ t(De, { sx: { bgcolor: "border.light" }, variant: "rounded", children: /* @__PURE__ */ t(M, { name: "local_offer", sx: { color: "text.primary" }, weight: XA.Dark }) }) }),
6404
+ /* @__PURE__ */ t(IA, { children: /* @__PURE__ */ t(Ie, { sx: { bgcolor: "border.light" }, variant: "rounded", children: /* @__PURE__ */ t(M, { name: "local_offer", sx: { color: "text.primary" }, weight: XA.Dark }) }) }),
6405
6405
  /* @__PURE__ */ t(
6406
6406
  tA,
6407
6407
  {
@@ -6523,7 +6523,7 @@ const gi = ({ transaction: A }) => {
6523
6523
  ), /* @__PURE__ */ t(I, { className: "mx-txn-transaction-details", width: "100%", children: n && /* @__PURE__ */ l(b, { children: [
6524
6524
  /* @__PURE__ */ l(b, { gap: r.Spacing.Small, p: r.Spacing.Large, children: [
6525
6525
  /* @__PURE__ */ t(fe, { elevation: 2, sx: { borderRadius: r.BorderRadius.Small, width: 64 }, children: /* @__PURE__ */ t(
6526
- He,
6526
+ Re,
6527
6527
  {
6528
6528
  categoryGuid: n.top_level_category_guid || "",
6529
6529
  merchantGuid: n.merchant_guid || "",
@@ -6657,7 +6657,7 @@ const gi = ({ transaction: A }) => {
6657
6657
  }
6658
6658
  ),
6659
6659
  /* @__PURE__ */ t(
6660
- _e,
6660
+ Me,
6661
6661
  {
6662
6662
  label: n.payee_title,
6663
6663
  name: "payee",
@@ -6667,7 +6667,7 @@ const gi = ({ transaction: A }) => {
6667
6667
  }
6668
6668
  ),
6669
6669
  /* @__PURE__ */ t(
6670
- _e,
6670
+ Me,
6671
6671
  {
6672
6672
  InputLabelProps: { shrink: !0 },
6673
6673
  SelectProps: { defaultValue: -1, IconComponent: _a },
@@ -7119,7 +7119,7 @@ const gi = ({ transaction: A }) => {
7119
7119
  return /* @__PURE__ */ l(b, { bgcolor: "background.default", direction: "column", height: "100%", children: [
7120
7120
  /* @__PURE__ */ l(b, { direction: "column", gap: 12, m: 24, children: [
7121
7121
  /* @__PURE__ */ t(
7122
- He,
7122
+ Re,
7123
7123
  {
7124
7124
  categoryGuid: A.categoryGuid || "",
7125
7125
  merchantGuid: A.merchantGuid || "",
@@ -7201,7 +7201,7 @@ const gi = ({ transaction: A }) => {
7201
7201
  gridRow: 1,
7202
7202
  gridColumn: 1,
7203
7203
  zIndex: 2
7204
- }, cn = (A) => A ? { margin: "0 0 -6px -4px" } : void 0, nr = ({ isOffset: A = !1, size: e = 16 }) => /* @__PURE__ */ t(Me, { size: e, sx: { ...cn(A) }, children: /* @__PURE__ */ t(us, { color: "primary", sx: { fontSize: e, ...sn } }) }), rr = ({ isOffset: A = !1, size: e = 16 }) => /* @__PURE__ */ t(Me, { size: e, sx: { ...cn(A) }, children: /* @__PURE__ */ t(hs, { sx: { color: "categories.income", fontSize: e, ...sn } }) }), ar = ({ isOffset: A = !1, size: e = 16 }) => /* @__PURE__ */ t(Me, { size: e, sx: { ...cn(A) }, children: /* @__PURE__ */ t(Ht, { color: "error", sx: { fontSize: e, ...sn } }) }), ir = ({ isOffset: A = !1, size: e = 16 }) => /* @__PURE__ */ t(Me, { size: e, sx: { ...cn(A) }, children: /* @__PURE__ */ t(Ba, { color: "success", sx: { fontSize: e, ...sn } }) }), Zr = ({ copy: A, date: e, type: n }) => {
7204
+ }, cn = (A) => A ? { margin: "0 0 -6px -4px" } : void 0, nr = ({ isOffset: A = !1, size: e = 16 }) => /* @__PURE__ */ t(Ne, { size: e, sx: { ...cn(A) }, children: /* @__PURE__ */ t(us, { color: "primary", sx: { fontSize: e, ...sn } }) }), rr = ({ isOffset: A = !1, size: e = 16 }) => /* @__PURE__ */ t(Ne, { size: e, sx: { ...cn(A) }, children: /* @__PURE__ */ t(hs, { sx: { color: "categories.income", fontSize: e, ...sn } }) }), ar = ({ isOffset: A = !1, size: e = 16 }) => /* @__PURE__ */ t(Ne, { size: e, sx: { ...cn(A) }, children: /* @__PURE__ */ t(Ht, { color: "error", sx: { fontSize: e, ...sn } }) }), ir = ({ isOffset: A = !1, size: e = 16 }) => /* @__PURE__ */ t(Ne, { size: e, sx: { ...cn(A) }, children: /* @__PURE__ */ t(Ba, { color: "success", sx: { fontSize: e, ...sn } }) }), Zr = ({ copy: A, date: e, type: n }) => {
7205
7205
  let r = e && gs(e) ? H(A.monthly_ordinal, FA(e, "do")) : A.monthly;
7206
7206
  switch (n) {
7207
7207
  case G.EveryQuarter:
@@ -7273,7 +7273,7 @@ const gi = ({ transaction: A }) => {
7273
7273
  o(A.sequenceGuid || A.scheduledPaymentGuid || ""), n(A);
7274
7274
  }, children: [
7275
7275
  /* @__PURE__ */ t(IA, { children: /* @__PURE__ */ t(
7276
- He,
7276
+ Re,
7277
7277
  {
7278
7278
  categoryGuid: A.categoryGuid || "",
7279
7279
  merchantGuid: A.merchantGuid || ""
@@ -8466,7 +8466,7 @@ const Tu = {
8466
8466
  gridRow: 1,
8467
8467
  gridColumn: 1,
8468
8468
  zIndex: 2
8469
- }, Iu = ({ size: A = 20 }) => /* @__PURE__ */ t(Me, { size: A, children: /* @__PURE__ */ t(kn, { color: "error", sx: { fontSize: A, ...Tu } }) }), sr = (A) => A && (A.account_type === U.CREDIT_CARD || A.account_type === U.LOAN || A.account_type === U.MORTGAGE || A.account_type === U.LINE_OF_CREDIT || A.account_type === U.CHECKING_LINE_OF_CREDIT), Du = (A) => A.is_manual || !A.guid, xu = (A) => A.account_type === U.LINE_OF_CREDIT || A.account_type === U.CREDIT_CARD || A.account_type === U.CHECKING_LINE_OF_CREDIT, Ou = (A) => A.account_type === U.SAVINGS || A.account_type === U.CHECKING || A.account_type === U.LINE_OF_CREDIT || A.account_type === U.CREDIT_CARD || A.account_type === U.LOAN || A.account_type === U.MORTGAGE, Pu = (A) => A.account_type === U.LOAN || A.account_type === U.MORTGAGE, Nu = (A, e) => {
8469
+ }, Iu = ({ size: A = 20 }) => /* @__PURE__ */ t(Ne, { size: A, children: /* @__PURE__ */ t(kn, { color: "error", sx: { fontSize: A, ...Tu } }) }), sr = (A) => A && (A.account_type === U.CREDIT_CARD || A.account_type === U.LOAN || A.account_type === U.MORTGAGE || A.account_type === U.LINE_OF_CREDIT || A.account_type === U.CHECKING_LINE_OF_CREDIT), Du = (A) => A.is_manual || !A.guid, xu = (A) => A.account_type === U.LINE_OF_CREDIT || A.account_type === U.CREDIT_CARD || A.account_type === U.CHECKING_LINE_OF_CREDIT, Ou = (A) => A.account_type === U.SAVINGS || A.account_type === U.CHECKING || A.account_type === U.LINE_OF_CREDIT || A.account_type === U.CREDIT_CARD || A.account_type === U.LOAN || A.account_type === U.MORTGAGE, Pu = (A) => A.account_type === U.LOAN || A.account_type === U.MORTGAGE, Nu = (A, e) => {
8470
8470
  const n = [
8471
8471
  {
8472
8472
  event: "account_details_click_account_name",
@@ -9013,7 +9013,7 @@ const Ru = ({ activity: A }) => /* @__PURE__ */ l(eA, { children: [
9013
9013
  /* @__PURE__ */ t(Gt, { index: 0, name: "cashflow", value: r, children: /* @__PURE__ */ t(I, { sx: { m: e ? 48 : 16 }, children: /* @__PURE__ */ t(Ku, {}) }) }),
9014
9014
  /* @__PURE__ */ t(Gt, { index: 1, name: "cashflow", value: r, children: /* @__PURE__ */ t(I, { sx: { m: e ? 48 : 16 }, children: /* @__PURE__ */ t(Bu, {}) }) })
9015
9015
  ] });
9016
- }, Gu = S(ku), xe = ({
9016
+ }, Gu = S(ku), De = ({
9017
9017
  amount: A,
9018
9018
  isMobile: e = !1,
9019
9019
  isTotal: n = !1,
@@ -9051,7 +9051,7 @@ const Ru = ({ activity: A }) => /* @__PURE__ */ l(eA, { children: [
9051
9051
  return /* @__PURE__ */ l(b, { flexDirection: "row", gap: 24, justifyContent: "center", my: L ? 24 : 42, children: [
9052
9052
  L ? /* @__PURE__ */ l(b, { border: "1px solid", borderColor: "border.light", borderRadius: 1, mx: 16, width: "100%", children: [
9053
9053
  /* @__PURE__ */ t(
9054
- xe,
9054
+ De,
9055
9055
  {
9056
9056
  amount: C,
9057
9057
  isMobile: !0,
@@ -9060,7 +9060,7 @@ const Ru = ({ activity: A }) => /* @__PURE__ */ l(eA, { children: [
9060
9060
  ),
9061
9061
  /* @__PURE__ */ t(K, {}),
9062
9062
  v ? /* @__PURE__ */ t(
9063
- xe,
9063
+ De,
9064
9064
  {
9065
9065
  amount: f,
9066
9066
  isMobile: !0,
@@ -9078,7 +9078,7 @@ const Ru = ({ activity: A }) => /* @__PURE__ */ l(eA, { children: [
9078
9078
  ),
9079
9079
  /* @__PURE__ */ t(K, {}),
9080
9080
  /* @__PURE__ */ t(
9081
- xe,
9081
+ De,
9082
9082
  {
9083
9083
  amount: m,
9084
9084
  isMobile: !0,
@@ -9088,7 +9088,7 @@ const Ru = ({ activity: A }) => /* @__PURE__ */ l(eA, { children: [
9088
9088
  ),
9089
9089
  /* @__PURE__ */ t(K, {}),
9090
9090
  /* @__PURE__ */ t(
9091
- xe,
9091
+ De,
9092
9092
  {
9093
9093
  amount: y,
9094
9094
  isMobile: !0,
@@ -9104,11 +9104,11 @@ const Ru = ({ activity: A }) => /* @__PURE__ */ l(eA, { children: [
9104
9104
  }
9105
9105
  )
9106
9106
  ] }) : /* @__PURE__ */ l(eA, { children: [
9107
- /* @__PURE__ */ t(xe, { amount: C, label: r.cash_and_bank }),
9107
+ /* @__PURE__ */ t(De, { amount: C, label: r.cash_and_bank }),
9108
9108
  v ? /* @__PURE__ */ l(eA, { children: [
9109
9109
  /* @__PURE__ */ t(p, { sx: { fontSize: 25, lineHeight: 1 }, children: "+" }),
9110
9110
  /* @__PURE__ */ t(
9111
- xe,
9111
+ De,
9112
9112
  {
9113
9113
  amount: f,
9114
9114
  label: r.to_be_received
@@ -9124,10 +9124,10 @@ const Ru = ({ activity: A }) => /* @__PURE__ */ l(eA, { children: [
9124
9124
  }
9125
9125
  ),
9126
9126
  /* @__PURE__ */ t(p, { sx: { fontSize: 25, lineHeight: 1 }, children: "-" }),
9127
- /* @__PURE__ */ t(xe, { amount: m, label: r.to_be_paid_out }),
9127
+ /* @__PURE__ */ t(De, { amount: m, label: r.to_be_paid_out }),
9128
9128
  /* @__PURE__ */ t(p, { sx: { fontSize: 25, lineHeight: 1 }, children: "=" }),
9129
9129
  /* @__PURE__ */ t(
9130
- xe,
9130
+ De,
9131
9131
  {
9132
9132
  amount: y,
9133
9133
  label: r.remaining_cash,
@@ -9709,7 +9709,7 @@ const lh = /^[ a-zA-ZÀ-ÿ0-9]+$/, dh = 50, sa = 65, uh = ({
9709
9709
  width: "100%",
9710
9710
  children: [
9711
9711
  /* @__PURE__ */ t(W, { disableGutters: !0, disablePadding: !0, children: /* @__PURE__ */ l(dA, { onClick: () => c(m.guid), children: [
9712
- /* @__PURE__ */ t(IA, { children: /* @__PURE__ */ t(He, { categoryGuid: "", merchantGuid: m.guid }) }),
9712
+ /* @__PURE__ */ t(IA, { children: /* @__PURE__ */ t(Re, { categoryGuid: "", merchantGuid: m.guid }) }),
9713
9713
  /* @__PURE__ */ t(tA, { primary: m.name })
9714
9714
  ] }) }),
9715
9715
  /* @__PURE__ */ t(K, { sx: { ml: 24 } })
@@ -10811,10 +10811,10 @@ const pn = ({
10811
10811
  return /* @__PURE__ */ l(eA, { children: [
10812
10812
  /* @__PURE__ */ t(ce, { sx: { mb: 4, mt: 12, mx: 8 }, children: /* @__PURE__ */ t(p, { bold: !0, component: "h2", variant: "XSmall", children: a.connection_status }) }),
10813
10813
  /* @__PURE__ */ t(W, { sx: { backgroundColor: "background.paper" }, children: r.is_manual || !s.ctaCopy ? /* @__PURE__ */ l(b, { alignItems: "center", direction: "row", px: 24, py: 12, children: [
10814
- /* @__PURE__ */ t(IA, { children: /* @__PURE__ */ t(Me, { backingSx: { backgroundColor: s.color, borderRadius: 1 }, size: 32, children: s.icon }) }),
10814
+ /* @__PURE__ */ t(IA, { children: /* @__PURE__ */ t(Ne, { backingSx: { backgroundColor: s.color, borderRadius: 1 }, size: 32, children: s.icon }) }),
10815
10815
  /* @__PURE__ */ t(tA, { primary: s.mainMessage, secondary: s.secondaryMessage })
10816
10816
  ] }) : /* @__PURE__ */ l(dA, { onClick: () => e(!0), children: [
10817
- /* @__PURE__ */ t(IA, { children: /* @__PURE__ */ t(Me, { backingSx: { backgroundColor: s.color, borderRadius: 1 }, size: 32, children: s.icon }) }),
10817
+ /* @__PURE__ */ t(IA, { children: /* @__PURE__ */ t(Ne, { backingSx: { backgroundColor: s.color, borderRadius: 1 }, size: 32, children: s.icon }) }),
10818
10818
  /* @__PURE__ */ t(
10819
10819
  tA,
10820
10820
  {
@@ -10832,7 +10832,7 @@ const pn = ({
10832
10832
  !r.is_manual && r.institution_url && /* @__PURE__ */ l(eA, { children: [
10833
10833
  /* @__PURE__ */ t(W, { sx: { backgroundColor: "background.paper" }, children: /* @__PURE__ */ l(dA, { component: "a", href: r.institution_url, target: "_blank", children: [
10834
10834
  /* @__PURE__ */ t(IA, { children: /* @__PURE__ */ t(
10835
- Me,
10835
+ Ne,
10836
10836
  {
10837
10837
  backingSx: {
10838
10838
  backgroundColor: n === pr.LIGHT ? "grey.300" : "grey.700",
@@ -11331,8 +11331,8 @@ const pn = ({
11331
11331
  },
11332
11332
  title: n,
11333
11333
  children: /* @__PURE__ */ l("div", { id: Br, children: [
11334
- d && /* @__PURE__ */ t(kt, { status: Ne.Error }),
11335
- c && /* @__PURE__ */ t(kt, { status: Ne.Loading })
11334
+ d && /* @__PURE__ */ t(kt, { status: Pe.Error }),
11335
+ c && /* @__PURE__ */ t(kt, { status: Pe.Loading })
11336
11336
  ] })
11337
11337
  }
11338
11338
  );
@@ -13377,7 +13377,7 @@ const lg = () => {
13377
13377
  size: a,
13378
13378
  sx: i
13379
13379
  }) => {
13380
- const o = Ie(n ? "dark" : "light");
13380
+ const o = He(n ? "dark" : "light");
13381
13381
  return /* @__PURE__ */ t(tt, { theme: o, children: /* @__PURE__ */ t(M, { color: A, fill: e, name: r, size: a, sx: i }) });
13382
13382
  }, cf = ({
13383
13383
  boldText: A,
@@ -13390,7 +13390,7 @@ const lg = () => {
13390
13390
  subHeaderString: s,
13391
13391
  textSX: c
13392
13392
  }) => {
13393
- const u = Ie(a ? "dark" : "light");
13393
+ const u = He(a ? "dark" : "light");
13394
13394
  return /* @__PURE__ */ l(tt, { theme: u, children: [
13395
13395
  i && /* @__PURE__ */ t(
13396
13396
  M,
@@ -13520,7 +13520,7 @@ const lg = () => {
13520
13520
  title: s,
13521
13521
  totalSavedText: c
13522
13522
  }) => {
13523
- const u = Ie(n ? "dark" : "light");
13523
+ const u = He(n ? "dark" : "light");
13524
13524
  return /* @__PURE__ */ t(tt, { theme: u, children: /* @__PURE__ */ t(I, { className: "mx-insights-mefr-body", "data-ui-test": "mefr-body", sx: { mb: 16 }, children: /* @__PURE__ */ l(Eg, { title: s, children: [
13525
13525
  /* @__PURE__ */ t(
13526
13526
  yg,
@@ -13561,7 +13561,7 @@ const lg = () => {
13561
13561
  rightLowerText: c,
13562
13562
  rightUpperText: u
13563
13563
  }) => {
13564
- const d = Ie(i ? "dark" : "light");
13564
+ const d = He(i ? "dark" : "light");
13565
13565
  return /* @__PURE__ */ t(tt, { theme: d, children: /* @__PURE__ */ t(
13566
13566
  Hi,
13567
13567
  {
@@ -13658,7 +13658,7 @@ const lg = () => {
13658
13658
  rightUpperText: C,
13659
13659
  sourceAccountGuid: m
13660
13660
  }) => {
13661
- const f = Ie(s ? "dark" : "light");
13661
+ const f = He(s ? "dark" : "light");
13662
13662
  return /* @__PURE__ */ t(g.Fragment, { children: /* @__PURE__ */ t(tt, { theme: f, children: o ? /* @__PURE__ */ t(
13663
13663
  Hi,
13664
13664
  {
@@ -13802,7 +13802,7 @@ const lg = () => {
13802
13802
  useDarkMode: n = !1
13803
13803
  }) => {
13804
13804
  const { groupedAccounts: r, toggleAccount: a } = e, [i, o] = g.useState(!1);
13805
- return /* @__PURE__ */ l(Fn, { theme: Ie(n ? "dark" : "light"), children: [
13805
+ return /* @__PURE__ */ l(Fn, { theme: He(n ? "dark" : "light"), children: [
13806
13806
  /* @__PURE__ */ t(
13807
13807
  zi,
13808
13808
  {
@@ -14340,7 +14340,7 @@ const Ki = ({
14340
14340
  content: A,
14341
14341
  disabledBeatTemplatesStore: e,
14342
14342
  useDarkMode: n = !1
14343
- }) => /* @__PURE__ */ t(Fn, { theme: Ie(n ? "dark" : "light"), children: /* @__PURE__ */ t(Ig, { children: /* @__PURE__ */ t(
14343
+ }) => /* @__PURE__ */ t(Fn, { theme: He(n ? "dark" : "light"), children: /* @__PURE__ */ t(Ig, { children: /* @__PURE__ */ t(
14344
14344
  Rg,
14345
14345
  {
14346
14346
  content: A,
@@ -14352,8 +14352,8 @@ const Ki = ({
14352
14352
  isOpen: n = !1,
14353
14353
  onClose: r = () => {
14354
14354
  },
14355
- useDarkMode: a = !1
14356
- }) => /* @__PURE__ */ t(Fn, { theme: Ie(a ? "dark" : "light"), children: /* @__PURE__ */ t(
14355
+ theme: a
14356
+ }) => /* @__PURE__ */ t(Fn, { theme: a, children: /* @__PURE__ */ t(
14357
14357
  lA,
14358
14358
  {
14359
14359
  ariaLabelClose: e.close,
@@ -14471,28 +14471,28 @@ const hr = {
14471
14471
  MICRO_BEAT_DISPLAYED_FIRST_TIME: "Micro Beat Displayed For First Time",
14472
14472
  SWIPE_BACKWARD: "Swipe Backward",
14473
14473
  SWIPE_FORWARD: "Swipe Forward"
14474
- }, Oe = {
14474
+ }, xe = {
14475
14475
  MICRO_WIDGET_CAROUSEL: "Micro Widget Carousel",
14476
14476
  MICRO_WIDGET_CAROUSEL_ZERO_STATE: "Micro Widget Carousel Zero State",
14477
14477
  MICRO_WIDGET_CAROUSEL_NO_RELEVANT_INSIGHTS: "Micro Widget Carousel No Relevant Insights"
14478
14478
  }, ya = {
14479
- [Oe.MICRO_WIDGET_CAROUSEL]: {
14479
+ [xe.MICRO_WIDGET_CAROUSEL]: {
14480
14480
  label: Se.MICRO_WIDGET,
14481
- name: Oe.MICRO_WIDGET_CAROUSEL,
14481
+ name: xe.MICRO_WIDGET_CAROUSEL,
14482
14482
  path: va.INSIGHTS_MICRO_WIDGET,
14483
14483
  value: ae
14484
14484
  },
14485
14485
  // zero state
14486
- [Oe.MICRO_WIDGET_CAROUSEL_ZERO_STATE]: {
14486
+ [xe.MICRO_WIDGET_CAROUSEL_ZERO_STATE]: {
14487
14487
  label: Se.MICRO_WIDGET,
14488
- name: Oe.MICRO_WIDGET_CAROUSEL_ZERO_STATE,
14488
+ name: xe.MICRO_WIDGET_CAROUSEL_ZERO_STATE,
14489
14489
  path: va.INSIGHTS_MICRO_WIDGET,
14490
14490
  value: ae
14491
14491
  },
14492
14492
  // no relevant cards
14493
- [Oe.MICRO_WIDGET_CAROUSEL_NO_RELEVANT_INSIGHTS]: {
14493
+ [xe.MICRO_WIDGET_CAROUSEL_NO_RELEVANT_INSIGHTS]: {
14494
14494
  label: Se.MICRO_WIDGET,
14495
- name: Oe.MICRO_WIDGET_CAROUSEL_NO_RELEVANT_INSIGHTS,
14495
+ name: xe.MICRO_WIDGET_CAROUSEL_NO_RELEVANT_INSIGHTS,
14496
14496
  path: "/micro-widget",
14497
14497
  value: ae
14498
14498
  }
@@ -14594,7 +14594,7 @@ const St = g.createContext(null), Xg = ({
14594
14594
  }, Qg = ({ beat: A }) => {
14595
14595
  const e = _A(), n = jg(e);
14596
14596
  return /* @__PURE__ */ t(
14597
- He,
14597
+ Re,
14598
14598
  {
14599
14599
  categoryGuid: A.primary_category_guid || A.category_guids && A.category_guids[0] || "",
14600
14600
  className: n,
@@ -15982,7 +15982,7 @@ const St = g.createContext(null), Xg = ({
15982
15982
  };
15983
15983
  return (
15984
15984
  // The Theme provider must wrap the component so that the styles don't break when imported into other applications.
15985
- /* @__PURE__ */ l(tt, { theme: Ie(L ? "dark" : "light"), children: [
15985
+ /* @__PURE__ */ l(tt, { theme: He(L ? "dark" : "light"), children: [
15986
15986
  /* @__PURE__ */ t(_s, {}),
15987
15987
  /* @__PURE__ */ t(Xg, { onEvent: k, onPageview: F, store: be, children: /* @__PURE__ */ l(
15988
15988
  I,
@@ -16035,7 +16035,7 @@ const St = g.createContext(null), Xg = ({
16035
16035
  }) => {
16036
16036
  const { cardsCopy: d } = We(), { onEvent: h } = Lt(), { onPageview: C } = Wi(), m = window.app?.config.client_guid;
16037
16037
  g.useEffect(() => {
16038
- C(Oe.MICRO_WIDGET_CAROUSEL_NO_RELEVANT_INSIGHTS);
16038
+ C(xe.MICRO_WIDGET_CAROUSEL_NO_RELEVANT_INSIGHTS);
16039
16039
  }, []);
16040
16040
  const f = () => {
16041
16041
  a && a(), h(ie.ON_NO_RELEVANT_INSIGHTS_CLICKED), i?.capture && m && i.capture("micro_widget_clicked_insight", {
@@ -16137,7 +16137,7 @@ const St = g.createContext(null), Xg = ({
16137
16137
  }) => {
16138
16138
  const { onPageview: c } = Wi(), { zeroStateCopy: u } = We();
16139
16139
  return g.useEffect(() => {
16140
- c(Oe.MICRO_WIDGET_CAROUSEL_ZERO_STATE);
16140
+ c(xe.MICRO_WIDGET_CAROUSEL_ZERO_STATE);
16141
16141
  }, []), /* @__PURE__ */ t(
16142
16142
  hn,
16143
16143
  {
@@ -16173,13 +16173,13 @@ const St = g.createContext(null), Xg = ({
16173
16173
  const s = {
16174
16174
  guid: a.guid,
16175
16175
  name: a.guid === i ? `General ${a.name}` : a.name,
16176
- color: Pe[o.guid],
16176
+ color: Oe[o.guid],
16177
16177
  amount: r.total
16178
16178
  }, c = n.find((u) => u.guid === i);
16179
16179
  c ? (c.amount += r.total, c.categoryTotals?.push(s)) : n.push({
16180
16180
  guid: i,
16181
16181
  name: o.name,
16182
- color: Pe[o.guid],
16182
+ color: Oe[o.guid],
16183
16183
  categoryTotals: [s],
16184
16184
  amount: r.total
16185
16185
  });
@@ -16693,7 +16693,7 @@ const St = g.createContext(null), Xg = ({
16693
16693
  children: /* @__PURE__ */ t(I, { height: "calc(100dvh - 150px)", width: "100%", children: /* @__PURE__ */ t(IC, {}) })
16694
16694
  }
16695
16695
  );
16696
- }, pf = S(DC), xC = (A) => Pe[A] ?? Pe.default, OC = (A) => Fe[A], PC = (A) => A.reduce((e, n) => {
16696
+ }, pf = S(DC), xC = (A) => Oe[A] ?? Oe.default, OC = (A) => Fe[A], PC = (A) => A.reduce((e, n) => {
16697
16697
  const r = yA(new Date(n.year, n.month - 1)), a = {
16698
16698
  top_level_category_guid: n.top_level_category_guid,
16699
16699
  category_guid: n.category_guid,
@@ -17094,7 +17094,7 @@ export {
17094
17094
  th as CashflowStore,
17095
17095
  j7 as CashflowWidget,
17096
17096
  Bt as CategoryApi,
17097
- Pe as CategoryColors,
17097
+ Oe as CategoryColors,
17098
17098
  Fe as CategoryGuidToName,
17099
17099
  E as CategoryGuids,
17100
17100
  Gs as CategoryIcon,
@@ -17135,7 +17135,7 @@ export {
17135
17135
  Y7 as GoalsWidget,
17136
17136
  gf as HiddenInsightsDrawer,
17137
17137
  Qn as INCOME_ACCOUNT_TYPES,
17138
- Me as IconBacking,
17138
+ Ne as IconBacking,
17139
17139
  Ft as InformationTooltip,
17140
17140
  ff as InsightsMicroWidget,
17141
17141
  Xg as InsightsMicroWidgetDataProvider,
@@ -17147,7 +17147,7 @@ export {
17147
17147
  M7 as LocalizedCopyApi,
17148
17148
  hf as ManageAccountsDrawer,
17149
17149
  or as ManageIncome,
17150
- Ne as MemberConnectionStatus,
17150
+ Pe as MemberConnectionStatus,
17151
17151
  V7 as MerchantLookup,
17152
17152
  hh as MerchantStore,
17153
17153
  Xa as MfaStatuses,
@@ -17244,7 +17244,7 @@ export {
17244
17244
  Js as getCurrencyCodes,
17245
17245
  js as getDetailedCategory,
17246
17246
  Us as getDetailedSubCategory,
17247
- Re as getLocale,
17247
+ _e as getLocale,
17248
17248
  Z7 as getNotificationDetailRoute,
17249
17249
  Ys as isIncome,
17250
17250
  Ln as isValidNumber,