@mx-cartographer/experiences 9.7.148 → 9.7.150

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -1,6 +1,20 @@
1
+ ## [9.7.150] - 11-13-2026
2
+
3
+ - **ADDED** - `formatWholeCurrency` in core utils: whole-dollar currency that rounds first, so a small negative shows "" (WEC-2273)
4
+ - **CHANGED** - `MakeTransferCopy` requires `available_balance_text` and `avg_monthly_spend_text` (WEC-2273)
5
+ - **FIXED** - Save Enough to Live On and Save an Extra 00 drawers show a close button on the right, as in Figma (WEC-2273)
6
+ - **FIXED** - Save Enough to Live On and Save an Extra 00 drawers show whole-dollar amounts, and the months rows match the stepper amount shown (WEC-2273)
7
+ - **FIXED** - Save Enough to Live On card and drawer spacing match Figma: the card's table and c...
8
+
9
+ ## [9.7.149] - 11-13-2026
10
+
11
+ - **FIXED** - `SVGImageBlock` keys the Upcoming Tax Deadline Alert illustration under `reminder` (was `remainder`), the variant ditto emits, so the card shows its own art instead of the savings illustration; this reverses the key named in 9.7.33 (WEC-2044, WEC-2067)
12
+ - **FIXED** - The Upcoming Tax Deadline Alert illustration follows the brand theme: its colored nodes carry `brand300` / `brand200` / `brand100`, white fills and the CIBC art are unchanged (WEC-2140)
13
+
1
14
  ## [9.7.148] - 11-13-2026
2
15
 
3
- - Monthly Spend to Income design QA: Spend chart colour, bold legend labels (Spend / Debt / Savings to Income) (WEC-2101)
16
+ - **FIXED** - Monthly Spend to Income Comparison V2: Spend draws in `chart2` (was `categories.billsUtilities`) on the card and its drawer, per Figma (WEC-2101)
17
+ - **CHANGED** - Monthly Spend / Debt / Savings to Income: the legend label ("Spend:", "Debt:", "Savings:", "Income:") is bold, the amount regular, on the full card, the mini card and the drawer (WEC-2101)
4
18
 
5
19
  ## [9.7.147] - 11-12-2026
6
20
 
@@ -118,6 +118,9 @@ export interface MakeTransferCopy {
118
118
  expenses_text: string;
119
119
  available_balances_text: string;
120
120
  average_monthly_spend_text: string;
121
+ /** Insights 2.0 table labels; V1 keeps the two above. */
122
+ available_balance_text: string;
123
+ avg_monthly_spend_text: string;
121
124
  your_available_balances_text: string;
122
125
  increment_aria_label: string;
123
126
  decrement_aria_label: string;
@@ -9,6 +9,8 @@ export declare const CURRENCY_FORMAT: {
9
9
  };
10
10
  export type CurrencyFormat = (typeof CURRENCY_FORMAT)[keyof typeof CURRENCY_FORMAT];
11
11
  export declare const formatCurrency: (amount: number | undefined, formatting: string, roundingFunction?: RoundingFunction) => string;
12
+ /** Whole dollars, rounded first so a small negative shows "$0", not numeral's "0$". */
13
+ export declare const formatWholeCurrency: (amount: number | undefined) => string;
12
14
  export declare const getCurrencyCodes: () => CurrencyCodes;
13
15
  export declare const isValidNumber: (value: any) => boolean;
14
16
  export declare const formatPercentage: (amount: number | string | undefined, options?: Intl.NumberFormatOptions) => string | number | undefined;
@@ -1,39 +1,40 @@
1
1
  import { getLocale as a } from "./Localization.es.js";
2
- import { CurrencyCodes as s } from "../constants/Numbers.es.js";
3
- import c from "numeral";
2
+ import { CurrencyCodes as c } from "../constants/Numbers.es.js";
3
+ import s from "numeral";
4
4
  var w = (r, e, t) => {
5
- const n = [], l = (e - r) / (t - 1);
5
+ const n = [], d = (e - r) / (t - 1);
6
6
  for (let o = 0; o < t; o++) {
7
- const i = r + o * l;
8
- n.push(i);
7
+ const m = r + o * d;
8
+ n.push(m);
9
9
  }
10
10
  return n[t - 1] = e, n.map(Math.round);
11
- }, y = (r) => r.length ? Math.round(r.reduce((e, t) => e + t, 0) / r.length) : 0, d = {
11
+ }, y = (r) => r.length ? Math.round(r.reduce((e, t) => e + t, 0) / r.length) : 0, l = {
12
12
  cents: "0,0.00",
13
13
  whole: "0,0"
14
- }, m = (r, e, t) => a() === "fr-ca" ? c(r).format(`${e} $`, t) : c(r).format(`$${e}`, t), C = () => a() === "fr-ca" ? s.CAD : s.USD, f = (r) => r != null && r !== "" && isFinite(r), u = {
14
+ }, i = (r, e, t) => a() === "fr-ca" ? s(r).format(`${e} $`, t) : s(r).format(`$${e}`, t), C = (r) => i(Math.round(r ?? 0), l.whole), $ = () => a() === "fr-ca" ? c.CAD : c.USD, u = (r) => r != null && r !== "" && isFinite(r), f = {
15
15
  style: "percent",
16
16
  minimumFractionDigits: 2,
17
17
  maximumFractionDigits: 2
18
- }, $ = (r, e = u) => f(r) ? new Intl.NumberFormat(a(), e).format(Number(r)) : r, h = (r) => new Intl.PluralRules(a(), r), M = (r, e = { type: "ordinal" }, t = {
18
+ }, M = (r, e = f) => u(r) ? new Intl.NumberFormat(a(), e).format(Number(r)) : r, h = (r) => new Intl.PluralRules(a(), r), R = (r, e = { type: "ordinal" }, t = {
19
19
  one: "st",
20
20
  two: "nd",
21
21
  few: "rd",
22
22
  other: "th"
23
- }) => `${r}${t[h(e).select(r)]}`, R = (r) => {
24
- const e = Math.round(Math.abs(r) * 100), t = m(e / 100, d.cents);
23
+ }) => `${r}${t[h(e).select(r)]}`, D = (r) => {
24
+ const e = Math.round(Math.abs(r) * 100), t = i(e / 100, l.cents);
25
25
  return r < 0 && e > 0 ? `-${t}` : t;
26
26
  };
27
27
  export {
28
- d as CURRENCY_FORMAT,
29
- m as formatCurrency,
30
- M as formatOrdinal,
31
- $ as formatPercentage,
32
- R as formatSignedCurrency,
28
+ l as CURRENCY_FORMAT,
29
+ i as formatCurrency,
30
+ R as formatOrdinal,
31
+ M as formatPercentage,
32
+ D as formatSignedCurrency,
33
+ C as formatWholeCurrency,
33
34
  w as generateEqualIntervals,
34
- C as getCurrencyCodes,
35
+ $ as getCurrencyCodes,
35
36
  h as getPluralRules,
36
- f as isValidNumber,
37
+ u as isValidNumber,
37
38
  y as roundedAverage
38
39
  };
39
40
 
@@ -1 +1 @@
1
- {"version":3,"file":"NumberFormatting.es.js","names":[],"sources":["../../../src/core/utils/NumberFormatting.ts"],"sourcesContent":["import numeral from 'numeral'\nimport type { RoundingFunction } from 'numeral'\n\nimport { CurrencyCodes } from '../constants/Numbers'\nimport { getLocale } from './Localization'\n\nexport const generateEqualIntervals = (\n minValue: number,\n maxValue: number,\n tickCount: number,\n): number[] => {\n const ticks: number[] = []\n const range = maxValue - minValue\n const step = range / (tickCount - 1) // The space between each tick\n\n for (let i = 0; i < tickCount; i++) {\n const tickValue = minValue + i * step\n ticks.push(tickValue)\n }\n\n ticks[tickCount - 1] = maxValue\n\n return ticks.map(Math.round)\n}\n\nexport const roundedAverage = (values: number[]) =>\n values.length ? Math.round(values.reduce((sum, value) => sum + value, 0) / values.length) : 0\n\n/** The shared currency formats: with cents, and whole dollars. */\nexport const CURRENCY_FORMAT = { cents: '0,0.00', whole: '0,0' } as const\nexport type CurrencyFormat = (typeof CURRENCY_FORMAT)[keyof typeof CURRENCY_FORMAT]\n\n// enhances numeral's localization functionality by puting the $ in the correct place\nexport const formatCurrency = (\n amount: number | undefined,\n formatting: string,\n roundingFunction?: RoundingFunction,\n) => {\n switch (getLocale()) {\n case 'fr-ca': {\n return numeral(amount).format(`${formatting} $`, roundingFunction)\n }\n default: {\n return numeral(amount).format(`$${formatting}`, roundingFunction)\n }\n }\n}\n\nexport const getCurrencyCodes = () => {\n switch (getLocale()) {\n case 'fr-ca':\n return CurrencyCodes.CAD\n default:\n return CurrencyCodes.USD\n }\n}\n\n// will return `true` if value is a string number, like '99', which matches Serenity logic\nexport const isValidNumber = (value: any) =>\n value !== undefined && value !== null && value !== '' && isFinite(value)\n\nconst defaultPercentStyle = {\n style: 'percent',\n minimumFractionDigits: 2,\n maximumFractionDigits: 2,\n} as Intl.NumberFormatOptions\n\nexport const formatPercentage = (\n amount: number | string | undefined,\n options: Intl.NumberFormatOptions = defaultPercentStyle,\n) =>\n isValidNumber(amount)\n ? new Intl.NumberFormat(getLocale(), options).format(Number(amount))\n : amount\n\nexport const getPluralRules = (options: Intl.PluralRulesOptions) =>\n new Intl.PluralRules(getLocale(), options)\n\nexport const formatOrdinal = (\n number: number,\n options: Intl.PluralRulesOptions = { type: 'ordinal' },\n copy = {\n one: 'st',\n two: 'nd',\n few: 'rd',\n other: 'th',\n } as const,\n) => {\n const rule = getPluralRules(options).select(number)\n\n return `${number}${copy[rule as keyof typeof copy]}`\n}\n\n/**\n * `-$220.00`, not `$-220.00`: the sign goes before the currency symbol. Rounded to cents first so a\n * sub-cent negative (or `-0`) reads `$0.00`, never `-$0.00`.\n */\nexport const formatSignedCurrency = (amount: number): string => {\n const cents = Math.round(Math.abs(amount) * 100)\n const formatted = formatCurrency(cents / 100, CURRENCY_FORMAT.cents)\n\n return amount < 0 && cents > 0 ? `-${formatted}` : formatted\n}\n"],"mappings":";;;AAMA,IAAa,IAAA,CACX,GACA,GACA,MACa;AACb,QAAM,IAAkB,CAAC,GAEnB,KADQ,IAAW,MACH,IAAY;AAElC,WAAS,IAAI,GAAG,IAAI,GAAW,KAAK;AAClC,UAAM,IAAY,IAAW,IAAI;AACjC,IAAA,EAAM,KAAK,CAAS;AAAA,EACtB;AAEA,SAAA,EAAM,IAAY,CAAA,IAAK,GAEhB,EAAM,IAAI,KAAK,KAAK;AAC7B,GAEa,IAAA,CAAkB,MAC7B,EAAO,SAAS,KAAK,MAAM,EAAO,OAAA,CAAQ,GAAK,MAAU,IAAM,GAAO,CAAC,IAAI,EAAO,MAAM,IAAI,GAGjF,IAAkB;AAAA,EAAE,OAAO;AAAA,EAAU,OAAO;AAAM,GAIlD,IAAA,CACX,GACA,GACA,MAEQ,EAAU,MACX,UACI,EAAQ,CAAM,EAAE,OAAO,GAAG,CAAA,MAAgB,CAAgB,IAG1D,EAAQ,CAAM,EAAE,OAAO,IAAI,CAAA,IAAc,CAAgB,GAKzD,IAAA,MACH,EAAU,MACX,UACI,EAAc,MAEd,EAAc,KAKd,IAAA,CAAiB,MACL,KAAU,QAAQ,MAAU,MAAM,SAAS,CAAK,GAEnE,IAAsB;AAAA,EAC1B,OAAO;AAAA,EACP,uBAAuB;AAAA,EACvB,uBAAuB;AACzB,GAEa,IAAA,CACX,GACA,IAAoC,MAEpC,EAAc,CAAM,IAChB,IAAI,KAAK,aAAa,EAAU,GAAG,CAAO,EAAE,OAAO,OAAO,CAAM,CAAC,IACjE,GAEO,IAAA,CAAkB,MAC7B,IAAI,KAAK,YAAY,EAAU,GAAG,CAAO,GAE9B,IAAA,CACX,GACA,IAAmC,EAAE,MAAM,UAAU,GACrD,IAAO;AAAA,EACL,KAAK;AAAA,EACL,KAAK;AAAA,EACL,KAAK;AAAA,EACL,OAAO;AACT,MAIO,GAAG,CAAA,GAAS,EAFN,EAAe,CAAO,EAAE,OAAO,CAEpB,CAAA,CAAA,IAOb,IAAA,CAAwB,MAA2B;AAC9D,QAAM,IAAQ,KAAK,MAAM,KAAK,IAAI,CAAM,IAAI,GAAG,GACzC,IAAY,EAAe,IAAQ,KAAK,EAAgB,KAAK;AAEnE,SAAO,IAAS,KAAK,IAAQ,IAAI,IAAI,CAAA,KAAc;AACrD"}
1
+ {"version":3,"file":"NumberFormatting.es.js","names":[],"sources":["../../../src/core/utils/NumberFormatting.ts"],"sourcesContent":["import numeral from 'numeral'\nimport type { RoundingFunction } from 'numeral'\n\nimport { CurrencyCodes } from '../constants/Numbers'\nimport { getLocale } from './Localization'\n\nexport const generateEqualIntervals = (\n minValue: number,\n maxValue: number,\n tickCount: number,\n): number[] => {\n const ticks: number[] = []\n const range = maxValue - minValue\n const step = range / (tickCount - 1) // The space between each tick\n\n for (let i = 0; i < tickCount; i++) {\n const tickValue = minValue + i * step\n ticks.push(tickValue)\n }\n\n ticks[tickCount - 1] = maxValue\n\n return ticks.map(Math.round)\n}\n\nexport const roundedAverage = (values: number[]) =>\n values.length ? Math.round(values.reduce((sum, value) => sum + value, 0) / values.length) : 0\n\n/** The shared currency formats: with cents, and whole dollars. */\nexport const CURRENCY_FORMAT = { cents: '0,0.00', whole: '0,0' } as const\nexport type CurrencyFormat = (typeof CURRENCY_FORMAT)[keyof typeof CURRENCY_FORMAT]\n\n// enhances numeral's localization functionality by puting the $ in the correct place\nexport const formatCurrency = (\n amount: number | undefined,\n formatting: string,\n roundingFunction?: RoundingFunction,\n) => {\n switch (getLocale()) {\n case 'fr-ca': {\n return numeral(amount).format(`${formatting} $`, roundingFunction)\n }\n default: {\n return numeral(amount).format(`$${formatting}`, roundingFunction)\n }\n }\n}\n\n/** Whole dollars, rounded first so a small negative shows \"$0\", not numeral's \"0$\". */\nexport const formatWholeCurrency = (amount: number | undefined) =>\n formatCurrency(Math.round(amount ?? 0), CURRENCY_FORMAT.whole)\n\nexport const getCurrencyCodes = () => {\n switch (getLocale()) {\n case 'fr-ca':\n return CurrencyCodes.CAD\n default:\n return CurrencyCodes.USD\n }\n}\n\n// will return `true` if value is a string number, like '99', which matches Serenity logic\nexport const isValidNumber = (value: any) =>\n value !== undefined && value !== null && value !== '' && isFinite(value)\n\nconst defaultPercentStyle = {\n style: 'percent',\n minimumFractionDigits: 2,\n maximumFractionDigits: 2,\n} as Intl.NumberFormatOptions\n\nexport const formatPercentage = (\n amount: number | string | undefined,\n options: Intl.NumberFormatOptions = defaultPercentStyle,\n) =>\n isValidNumber(amount)\n ? new Intl.NumberFormat(getLocale(), options).format(Number(amount))\n : amount\n\nexport const getPluralRules = (options: Intl.PluralRulesOptions) =>\n new Intl.PluralRules(getLocale(), options)\n\nexport const formatOrdinal = (\n number: number,\n options: Intl.PluralRulesOptions = { type: 'ordinal' },\n copy = {\n one: 'st',\n two: 'nd',\n few: 'rd',\n other: 'th',\n } as const,\n) => {\n const rule = getPluralRules(options).select(number)\n\n return `${number}${copy[rule as keyof typeof copy]}`\n}\n\n/**\n * `-$220.00`, not `$-220.00`: the sign goes before the currency symbol. Rounded to cents first so a\n * sub-cent negative (or `-0`) reads `$0.00`, never `-$0.00`.\n */\nexport const formatSignedCurrency = (amount: number): string => {\n const cents = Math.round(Math.abs(amount) * 100)\n const formatted = formatCurrency(cents / 100, CURRENCY_FORMAT.cents)\n\n return amount < 0 && cents > 0 ? `-${formatted}` : formatted\n}\n"],"mappings":";;;AAMA,IAAa,IAAA,CACX,GACA,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AO,CAEpB,CAAA,CAAA,IAOb,IAAA,CAAwB,MAA2B;AAC9D,QAAM,IAAQ,KAAK,MAAM,KAAK,IAAI,CAAM,IAAI,GAAG,GACzC,IAAY,EAAe,IAAQ,KAAK,EAAgB,KAAK;AAEnE,SAAO,IAAS,KAAK,IAAQ,IAAI,IAAI,CAAA,KAAc;AACrD"}
@@ -1,14 +1,14 @@
1
- import { buildDynamicCopy as C } from "../../../core/utils/Localization.es.js";
2
- import { CURRENCY_FORMAT as d, formatCurrency as h } from "../../../core/utils/NumberFormatting.es.js";
3
- import { BalanceStepper as w } from "./BalanceStepper.es.js";
1
+ import { buildDynamicCopy as w } from "../../../core/utils/Localization.es.js";
2
+ import { formatWholeCurrency as d } from "../../../core/utils/NumberFormatting.es.js";
3
+ import { BalanceStepper as C } from "./BalanceStepper.es.js";
4
4
  import I from "./SaveEnoughToLiveOnBottomSection.es.js";
5
- import { PROJECTIONS as S, toNumber as u, variants as R } from "./layout.es.js";
5
+ import { PROJECTIONS as S, toNumber as b, variants as A } from "./layout.es.js";
6
6
  import f from "react";
7
7
  import { Text as i } from "@mxenabled/mxui";
8
- import { Icon as A } from "@mxenabled/mx-icons";
8
+ import { Icon as W } from "@mxenabled/mx-icons";
9
9
  import { Fragment as _, jsx as e, jsxs as r } from "react/jsx-runtime";
10
- import { Card as E, Divider as j, List as O, ListItem as T, Stack as a } from "@mui/material";
11
- var W = ({ copy: o, leading: t }) => /* @__PURE__ */ r(a, {
10
+ import { Card as j, Divider as E, List as k, ListItem as L, Stack as a } from "@mui/material";
11
+ var O = ({ copy: o, leading: t }) => /* @__PURE__ */ r(a, {
12
12
  sx: {
13
13
  bgcolor: "background.paper",
14
14
  p: 24,
@@ -27,12 +27,12 @@ var W = ({ copy: o, leading: t }) => /* @__PURE__ */ r(a, {
27
27
  children: o.description
28
28
  })]
29
29
  })]
30
- }), k = ({ availableBalances: o, expenses: t, totalRemaining: n, copy: c }) => /* @__PURE__ */ e(a, {
30
+ }), R = ({ availableBalances: o, expenses: t, totalRemaining: n, copy: l }) => /* @__PURE__ */ e(a, {
31
31
  sx: {
32
32
  pt: 24,
33
33
  px: 24
34
34
  },
35
- children: /* @__PURE__ */ r(E, {
35
+ children: /* @__PURE__ */ r(j, {
36
36
  sx: {
37
37
  px: 16,
38
38
  pt: 16,
@@ -59,14 +59,14 @@ var W = ({ copy: o, leading: t }) => /* @__PURE__ */ r(a, {
59
59
  children: [/* @__PURE__ */ e(i, {
60
60
  sx: { fontWeight: 600 },
61
61
  variant: "body1",
62
- children: h(o, d.cents)
62
+ children: d(o)
63
63
  }), /* @__PURE__ */ e(i, {
64
64
  sx: { color: "text.secondary" },
65
65
  variant: "caption",
66
- children: c.available_text
66
+ children: l.available_text
67
67
  })]
68
68
  }),
69
- /* @__PURE__ */ e(A, {
69
+ /* @__PURE__ */ e(W, {
70
70
  name: "remove",
71
71
  size: 20
72
72
  }),
@@ -78,11 +78,11 @@ var W = ({ copy: o, leading: t }) => /* @__PURE__ */ r(a, {
78
78
  children: [/* @__PURE__ */ e(i, {
79
79
  sx: { fontWeight: 600 },
80
80
  variant: "body1",
81
- children: h(t, d.cents)
81
+ children: d(t)
82
82
  }), /* @__PURE__ */ e(i, {
83
83
  sx: { color: "text.secondary" },
84
84
  variant: "caption",
85
- children: c.expenses_text
85
+ children: l.expenses_text
86
86
  })]
87
87
  })
88
88
  ]
@@ -97,15 +97,15 @@ var W = ({ copy: o, leading: t }) => /* @__PURE__ */ r(a, {
97
97
  children: [/* @__PURE__ */ r(i, {
98
98
  sx: { color: "text.secondary" },
99
99
  variant: "body2",
100
- children: [c.total_remaining_text, ":"]
100
+ children: [l.total_remaining_text, ":"]
101
101
  }), /* @__PURE__ */ e(i, {
102
102
  sx: { fontWeight: 600 },
103
103
  variant: "body2",
104
- children: h(n, d.cents)
104
+ children: d(n)
105
105
  })]
106
106
  })]
107
107
  })
108
- }), L = ({ availableBalances: o, date: t, copy: n }) => /* @__PURE__ */ r(a, {
108
+ }), T = ({ availableBalances: o, date: t, copy: n }) => /* @__PURE__ */ r(a, {
109
109
  sx: {
110
110
  px: 24,
111
111
  py: 14,
@@ -115,7 +115,7 @@ var W = ({ copy: o, leading: t }) => /* @__PURE__ */ r(a, {
115
115
  children: [/* @__PURE__ */ e(i, {
116
116
  truncate: !1,
117
117
  variant: "h3",
118
- children: h(o, d.cents)
118
+ children: d(o)
119
119
  }), t && /* @__PURE__ */ e(i, {
120
120
  sx: {
121
121
  color: "text.secondary",
@@ -123,14 +123,14 @@ var W = ({ copy: o, leading: t }) => /* @__PURE__ */ r(a, {
123
123
  },
124
124
  truncate: !1,
125
125
  variant: "subtitle2",
126
- children: C(n.your_available_balances_text, t)
126
+ children: w(n.your_available_balances_text, t)
127
127
  })]
128
- }), B = ({ bodyContent: o, bodyDescription: t, monthsTable: n, deltaAmount: c, initialAmount: s, seedAmount: l, copy: m }) => {
129
- const [g, p] = f.useState(s ?? l ?? 0);
128
+ }), B = ({ bodyContent: o, bodyDescription: t, monthsTable: n, deltaAmount: l, initialAmount: c, seedAmount: s, copy: m }) => {
129
+ const h = s == null ? void 0 : Math.round(s), [p, x] = f.useState(c ?? h ?? 0);
130
130
  f.useEffect(() => {
131
- s == null && l != null && p(l);
132
- }, [s, l]);
133
- const b = n.length - 1;
131
+ c == null && h != null && x(h);
132
+ }, [c, h]);
133
+ const u = n.length - 1;
134
134
  return /* @__PURE__ */ r(_, { children: [/* @__PURE__ */ r(a, {
135
135
  sx: {
136
136
  p: 24,
@@ -141,11 +141,11 @@ var W = ({ copy: o, leading: t }) => /* @__PURE__ */ r(a, {
141
141
  truncate: !1,
142
142
  variant: "body1",
143
143
  children: o
144
- }), /* @__PURE__ */ e(w, {
145
- amount: h(g, d.cents),
144
+ }), /* @__PURE__ */ e(C, {
145
+ amount: d(p),
146
146
  copy: m,
147
- onDecrement: () => p((x) => Math.max(0, x - c)),
148
- onIncrement: () => p((x) => x + c)
147
+ onDecrement: () => x((g) => Math.max(0, g - l)),
148
+ onIncrement: () => x((g) => g + l)
149
149
  })]
150
150
  }), /* @__PURE__ */ r(a, {
151
151
  sx: { gap: 8 },
@@ -157,16 +157,16 @@ var W = ({ copy: o, leading: t }) => /* @__PURE__ */ r(a, {
157
157
  truncate: !1,
158
158
  variant: "body1",
159
159
  children: t
160
- }), /* @__PURE__ */ e(O, {
160
+ }), /* @__PURE__ */ e(k, {
161
161
  sx: {
162
162
  bgcolor: "background.paper",
163
163
  width: "100%"
164
164
  },
165
- children: n.map(({ label: x, value: v }, y) => /* @__PURE__ */ r(f.Fragment, { children: [/* @__PURE__ */ e(T, {
165
+ children: n.map(({ label: g, value: v }, y) => /* @__PURE__ */ r(f.Fragment, { children: [/* @__PURE__ */ e(L, {
166
166
  disableGutters: !0,
167
167
  disablePadding: !0,
168
168
  sx: {
169
- minHeight: 52,
169
+ minHeight: 51,
170
170
  bgcolor: "background.paper"
171
171
  },
172
172
  children: /* @__PURE__ */ e(a, {
@@ -183,62 +183,62 @@ var W = ({ copy: o, leading: t }) => /* @__PURE__ */ r(a, {
183
183
  children: [/* @__PURE__ */ e(i, {
184
184
  truncate: !1,
185
185
  variant: "body1",
186
- children: x
186
+ children: g
187
187
  }), /* @__PURE__ */ e(i, {
188
188
  sx: { fontWeight: 600 },
189
189
  truncate: !1,
190
190
  variant: "body1",
191
- children: h(v * g, d.whole)
191
+ children: d(v * p)
192
192
  })]
193
193
  })
194
194
  })
195
- }), /* @__PURE__ */ e(j, {
195
+ }), /* @__PURE__ */ e(E, {
196
196
  component: "li",
197
- sx: { ml: y === b ? 0 : 24 }
197
+ sx: { ml: y === u ? 0 : 24 }
198
198
  })] }, v))
199
199
  })]
200
200
  })] });
201
- }, $ = ({ variant: o, slotData: t, copy: n }) => {
202
- const c = o === R.SAVE_ENOUGH_TO_LIVE_ON, s = S[o], l = t?.available_balance, m = u(t?.avg_monthly_spend), g = u(t?.upcoming_expenses), p = u(t?.total_remaining), b = t?.time_period, x = t?.date;
201
+ }, z = ({ variant: o, slotData: t, copy: n }) => {
202
+ const l = o === A.SAVE_ENOUGH_TO_LIVE_ON, c = S[o], s = t?.available_balance, m = b(t?.avg_monthly_spend), h = b(t?.upcoming_expenses), p = b(t?.total_remaining), x = t?.time_period, u = t?.date;
203
203
  return /* @__PURE__ */ r(_, { children: [
204
- /* @__PURE__ */ e(W, {
204
+ /* @__PURE__ */ e(O, {
205
205
  copy: n,
206
- leading: c && l != null && m != null && b ? /* @__PURE__ */ e(I, {
207
- content: b,
208
- leftLabel: n.available_balances_text,
209
- leftValue: h(l, d.cents),
210
- rightLabel: n.average_monthly_spend_text,
211
- rightValue: h(m, d.cents),
206
+ leading: l && s != null && m != null && x ? /* @__PURE__ */ e(I, {
207
+ content: x,
208
+ leftLabel: n.available_balance_text,
209
+ leftValue: d(s),
210
+ rightLabel: n.avg_monthly_spend_text,
211
+ rightValue: d(m),
212
212
  sx: {
213
213
  width: "100%",
214
214
  mb: 24
215
215
  }
216
216
  }) : null
217
217
  }),
218
- !c && l != null && g != null && /* @__PURE__ */ e(k, {
219
- availableBalances: l,
218
+ !l && s != null && h != null && /* @__PURE__ */ e(R, {
219
+ availableBalances: s,
220
220
  copy: n,
221
- expenses: g,
221
+ expenses: h,
222
222
  totalRemaining: p
223
223
  }),
224
224
  /* @__PURE__ */ e(B, {
225
- bodyContent: n[s.contentKey],
226
- bodyDescription: n[s.descriptionKey],
225
+ bodyContent: n[c.contentKey],
226
+ bodyDescription: n[c.descriptionKey],
227
227
  copy: n,
228
- deltaAmount: s.deltaAmount,
229
- initialAmount: s.initialAmount,
230
- monthsTable: s.months,
231
- seedAmount: s.initialAmount == null ? m : void 0
228
+ deltaAmount: c.deltaAmount,
229
+ initialAmount: c.initialAmount,
230
+ monthsTable: c.months,
231
+ seedAmount: c.initialAmount == null ? m : void 0
232
232
  }),
233
- c && l != null && /* @__PURE__ */ e(L, {
234
- availableBalances: l,
233
+ l && s != null && /* @__PURE__ */ e(T, {
234
+ availableBalances: s,
235
235
  copy: n,
236
- date: x
236
+ date: u
237
237
  })
238
238
  ] });
239
239
  };
240
240
  export {
241
- $ as MakeTransferActionBlock
241
+ z as MakeTransferActionBlock
242
242
  };
243
243
 
244
244
  //# sourceMappingURL=MakeTransferActionBlock.es.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"MakeTransferActionBlock.es.js","names":[],"sources":["../../../../src/insights-v2/actionBlocks/MakeTransferActionBlock/MakeTransferActionBlock.tsx"],"sourcesContent":["import React, { type ReactNode } from 'react'\nimport { Card, Divider, List, ListItem, Stack } from '@mui/material'\nimport { Icon } from '@mxenabled/mx-icons'\n\nimport { Text } from '@mxenabled/mxui'\n\nimport { buildDynamicCopy, type MakeTransferCopy } from '../../../core'\nimport { CURRENCY_FORMAT, formatCurrency } from '../../../core/utils/NumberFormatting'\n\nimport { BalanceStepper } from './BalanceStepper'\nimport SaveEnoughToLiveOnBottomSection from './SaveEnoughToLiveOnBottomSection'\nimport {\n PROJECTIONS,\n toNumber,\n variants,\n type MakeTransferVariant,\n type MakeTransferVariantProps,\n type MonthRow,\n} from './layout'\n\n// ============================================================================\n// Section building blocks (block-local)\n// ============================================================================\n\n/** Bordered title + description, with an optional `leading` slot. */\nconst Header = ({ copy, leading }: { copy: MakeTransferCopy; leading?: ReactNode }) => (\n <Stack\n sx={{ bgcolor: 'background.paper', p: 24, borderBottom: '1px solid', borderColor: 'divider' }}\n >\n {leading}\n <Stack sx={{ gap: 8 }}>\n <Text variant=\"h3\">{copy.header_content}</Text>\n <Text sx={{ lineHeight: '24px' }} truncate={false} variant=\"body1\">\n {copy.description}\n </Text>\n </Stack>\n </Stack>\n)\n\n/** Save-extra only: available − expenses = total remaining. */\nconst RemainingCard = ({\n availableBalances,\n expenses,\n totalRemaining,\n copy,\n}: {\n availableBalances: number\n expenses: number\n totalRemaining?: number\n copy: MakeTransferCopy\n}) => (\n <Stack sx={{ pt: 24, px: 24 }}>\n <Card sx={{ px: 16, pt: 16, pb: 12 }}>\n <Stack\n sx={{\n border: 1,\n borderColor: 'divider',\n borderRadius: '4px',\n gap: 12,\n flexDirection: 'row',\n justifyContent: 'space-between',\n alignItems: 'center',\n p: 8,\n mb: 12,\n }}\n >\n <Stack sx={{ width: 155, textAlign: 'center' }}>\n <Text sx={{ fontWeight: 600 }} variant=\"body1\">\n {formatCurrency(availableBalances, CURRENCY_FORMAT.cents)}\n </Text>\n <Text sx={{ color: 'text.secondary' }} variant=\"caption\">\n {copy.available_text}\n </Text>\n </Stack>\n <Icon name=\"remove\" size={20} />\n <Stack sx={{ width: 155, textAlign: 'center' }}>\n <Text sx={{ fontWeight: 600 }} variant=\"body1\">\n {formatCurrency(expenses, CURRENCY_FORMAT.cents)}\n </Text>\n <Text sx={{ color: 'text.secondary' }} variant=\"caption\">\n {copy.expenses_text}\n </Text>\n </Stack>\n </Stack>\n <Stack\n sx={{\n textAlign: 'center',\n flexDirection: 'row',\n justifyContent: 'center',\n alignItems: 'center',\n gap: 4,\n }}\n >\n <Text sx={{ color: 'text.secondary' }} variant=\"body2\">\n {copy.total_remaining_text}:\n </Text>\n <Text sx={{ fontWeight: 600 }} variant=\"body2\">\n {formatCurrency(totalRemaining, CURRENCY_FORMAT.cents)}\n </Text>\n </Stack>\n </Card>\n </Stack>\n)\n\n/** Save-enough only: total available balances as of a date. */\nconst TotalsFooter = ({\n availableBalances,\n date,\n copy,\n}: {\n availableBalances: number\n date?: string\n copy: MakeTransferCopy\n}) => (\n <Stack sx={{ px: 24, py: 14, textAlign: 'right', gap: 4 }}>\n <Text truncate={false} variant=\"h3\">\n {formatCurrency(availableBalances, CURRENCY_FORMAT.cents)}\n </Text>\n {date && (\n <Text sx={{ color: 'text.secondary', fontWeight: 400 }} truncate={false} variant=\"subtitle2\">\n {buildDynamicCopy(copy.your_available_balances_text, date) as string}\n </Text>\n )}\n </Stack>\n)\n\n/** Stepper + projected-savings table. Owns the amount state so both stay in sync. */\nconst SavingsProjection = ({\n bodyContent,\n bodyDescription,\n monthsTable,\n deltaAmount,\n initialAmount,\n seedAmount,\n copy,\n}: {\n bodyContent: string\n bodyDescription: string\n monthsTable: readonly MonthRow[]\n deltaAmount: number\n /** Fixed starting amount; when null, seeds from `seedAmount` once it resolves. */\n initialAmount: number | null\n seedAmount?: number\n copy: MakeTransferCopy\n}) => {\n const [amount, setAmount] = React.useState(initialAmount ?? seedAmount ?? 0)\n\n React.useEffect(() => {\n if (initialAmount == null && seedAmount != null) {\n setAmount(seedAmount)\n }\n }, [initialAmount, seedAmount])\n\n const lastRowIndex = monthsTable.length - 1\n\n return (\n <>\n <Stack sx={{ p: 24, gap: 8 }}>\n <Text sx={{ fontWeight: 600 }} truncate={false} variant=\"body1\">\n {bodyContent}\n </Text>\n <BalanceStepper\n amount={formatCurrency(amount, CURRENCY_FORMAT.cents)}\n copy={copy}\n onDecrement={() => setAmount((prev) => Math.max(0, prev - deltaAmount))}\n onIncrement={() => setAmount((prev) => prev + deltaAmount)}\n />\n </Stack>\n <Stack sx={{ gap: 8 }}>\n <Text sx={{ fontWeight: 600, mx: 24 }} truncate={false} variant=\"body1\">\n {bodyDescription}\n </Text>\n <List sx={{ bgcolor: 'background.paper', width: '100%' }}>\n {monthsTable.map(({ label, value }, index) => (\n <React.Fragment key={value}>\n <ListItem\n disableGutters={true}\n disablePadding={true}\n sx={{ minHeight: 52, bgcolor: 'background.paper' }}\n >\n <Stack sx={{ width: '100%' }}>\n <Stack\n sx={{\n flexDirection: 'row',\n justifyContent: 'space-between',\n alignItems: 'center',\n width: '100%',\n px: 24,\n py: 8,\n }}\n >\n <Text truncate={false} variant=\"body1\">\n {label}\n </Text>\n <Text sx={{ fontWeight: 600 }} truncate={false} variant=\"body1\">\n {formatCurrency(value * amount, CURRENCY_FORMAT.whole)}\n </Text>\n </Stack>\n </Stack>\n </ListItem>\n <Divider component=\"li\" sx={{ ml: index === lastRowIndex ? 0 : 24 }} />\n </React.Fragment>\n ))}\n </List>\n </Stack>\n </>\n )\n}\n\n// ============================================================================\n// Block — both variants share the header and the stepper/table (settings from\n// PROJECTIONS in layout.ts); only the sections around them differ.\n// ============================================================================\n\nexport const MakeTransferActionBlock = ({\n variant,\n slotData,\n copy,\n}: MakeTransferVariantProps & { variant: MakeTransferVariant }) => {\n const isSaveEnough = variant === variants.SAVE_ENOUGH_TO_LIVE_ON\n const projection = PROJECTIONS[variant]\n\n const availableBalances = slotData?.available_balance\n const averageMonthlySpend = toNumber(slotData?.avg_monthly_spend)\n const expenses = toNumber(slotData?.upcoming_expenses)\n const totalRemaining = toNumber(slotData?.total_remaining)\n const svgDateContent = slotData?.time_period\n const date = slotData?.date\n\n return (\n <>\n <Header\n copy={copy}\n leading={\n isSaveEnough &&\n availableBalances != null &&\n averageMonthlySpend != null &&\n svgDateContent ? (\n <SaveEnoughToLiveOnBottomSection\n content={svgDateContent}\n leftLabel={copy.available_balances_text}\n leftValue={formatCurrency(availableBalances, CURRENCY_FORMAT.cents)}\n rightLabel={copy.average_monthly_spend_text}\n rightValue={formatCurrency(averageMonthlySpend, CURRENCY_FORMAT.cents)}\n sx={{ width: '100%', mb: 24 }}\n />\n ) : null\n }\n />\n\n {!isSaveEnough && availableBalances != null && expenses != null && (\n <RemainingCard\n availableBalances={availableBalances}\n copy={copy}\n expenses={expenses}\n totalRemaining={totalRemaining}\n />\n )}\n\n <SavingsProjection\n bodyContent={copy[projection.contentKey]}\n bodyDescription={copy[projection.descriptionKey]}\n copy={copy}\n deltaAmount={projection.deltaAmount}\n initialAmount={projection.initialAmount}\n monthsTable={projection.months}\n seedAmount={projection.initialAmount == null ? averageMonthlySpend : undefined}\n />\n\n {isSaveEnough && availableBalances != null && (\n <TotalsFooter availableBalances={availableBalances} copy={copy} date={date} />\n )}\n </>\n )\n}\n"],"mappings":";;;;;;;;;;AAyBA,IAAM,IAAA,CAAU,EAAE,MAAA,GAAM,SAAA,EAAA,MACtB,gBAAA,EAAC,GAAD;AAAA,EACE,IAAI;AAAA,IAAE,SAAS;AAAA,IAAoB,GAAG;AAAA,IAAI,cAAc;AAAA,IAAa,aAAa;AAAA,EAAU;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A,IACtE,CAAA;AAAA,IAEA,KAAgB,KAAqB,QACpC,gBAAA,EAAC,GAAD;AAAA,MAAiC,mBAAA;AAAA,MAAyB,MAAA;AAAA,MAAY,MAAA;AAAA,IAAO,CAAA;AAAA,EAE/E,EAAA,CAAA;AAEN"}
1
+ {"version":3,"file":"MakeTransferActionBlock.es.js","names":[],"sources":["../../../../src/insights-v2/actionBlocks/MakeTransferActionBlock/MakeTransferActionBlock.tsx"],"sourcesContent":["import React, { type ReactNode } from 'react'\nimport { Card, Divider, List, ListItem, Stack } from '@mui/material'\nimport { Icon } from '@mxenabled/mx-icons'\n\nimport { Text } from '@mxenabled/mxui'\n\nimport { buildDynamicCopy, type MakeTransferCopy } from '../../../core'\nimport { formatWholeCurrency } from '../../../core/utils/NumberFormatting'\n\nimport { BalanceStepper } from './BalanceStepper'\nimport SaveEnoughToLiveOnBottomSection from './SaveEnoughToLiveOnBottomSection'\nimport {\n PROJECTIONS,\n toNumber,\n variants,\n type MakeTransferVariant,\n type MakeTransferVariantProps,\n type MonthRow,\n} from './layout'\n\n// ============================================================================\n// Section building blocks (block-local)\n// ============================================================================\n\n/** Bordered title + description, with an optional `leading` slot. */\nconst Header = ({ copy, leading }: { copy: MakeTransferCopy; leading?: ReactNode }) => (\n <Stack\n sx={{ bgcolor: 'background.paper', p: 24, borderBottom: '1px solid', borderColor: 'divider' }}\n >\n {leading}\n <Stack sx={{ gap: 8 }}>\n <Text variant=\"h3\">{copy.header_content}</Text>\n <Text sx={{ lineHeight: '24px' }} truncate={false} variant=\"body1\">\n {copy.description}\n </Text>\n </Stack>\n </Stack>\n)\n\n/** Save-extra only: available − expenses = total remaining. */\nconst RemainingCard = ({\n availableBalances,\n expenses,\n totalRemaining,\n copy,\n}: {\n availableBalances: number\n expenses: number\n totalRemaining?: number\n copy: MakeTransferCopy\n}) => (\n <Stack sx={{ pt: 24, px: 24 }}>\n <Card sx={{ px: 16, pt: 16, pb: 12 }}>\n <Stack\n sx={{\n border: 1,\n borderColor: 'divider',\n borderRadius: '4px',\n gap: 12,\n flexDirection: 'row',\n justifyContent: 'space-between',\n alignItems: 'center',\n p: 8,\n mb: 12,\n }}\n >\n <Stack sx={{ width: 155, textAlign: 'center' }}>\n <Text sx={{ fontWeight: 600 }} variant=\"body1\">\n {formatWholeCurrency(availableBalances)}\n </Text>\n <Text sx={{ color: 'text.secondary' }} variant=\"caption\">\n {copy.available_text}\n </Text>\n </Stack>\n <Icon name=\"remove\" size={20} />\n <Stack sx={{ width: 155, textAlign: 'center' }}>\n <Text sx={{ fontWeight: 600 }} variant=\"body1\">\n {formatWholeCurrency(expenses)}\n </Text>\n <Text sx={{ color: 'text.secondary' }} variant=\"caption\">\n {copy.expenses_text}\n </Text>\n </Stack>\n </Stack>\n <Stack\n sx={{\n textAlign: 'center',\n flexDirection: 'row',\n justifyContent: 'center',\n alignItems: 'center',\n gap: 4,\n }}\n >\n <Text sx={{ color: 'text.secondary' }} variant=\"body2\">\n {copy.total_remaining_text}:\n </Text>\n <Text sx={{ fontWeight: 600 }} variant=\"body2\">\n {formatWholeCurrency(totalRemaining)}\n </Text>\n </Stack>\n </Card>\n </Stack>\n)\n\n/** Save-enough only: total available balances as of a date. */\nconst TotalsFooter = ({\n availableBalances,\n date,\n copy,\n}: {\n availableBalances: number\n date?: string\n copy: MakeTransferCopy\n}) => (\n <Stack sx={{ px: 24, py: 14, textAlign: 'right', gap: 4 }}>\n <Text truncate={false} variant=\"h3\">\n {formatWholeCurrency(availableBalances)}\n </Text>\n {date && (\n <Text sx={{ color: 'text.secondary', fontWeight: 400 }} truncate={false} variant=\"subtitle2\">\n {buildDynamicCopy(copy.your_available_balances_text, date) as string}\n </Text>\n )}\n </Stack>\n)\n\n/** Stepper + projected-savings table. Owns the amount state so both stay in sync. */\nconst SavingsProjection = ({\n bodyContent,\n bodyDescription,\n monthsTable,\n deltaAmount,\n initialAmount,\n seedAmount,\n copy,\n}: {\n bodyContent: string\n bodyDescription: string\n monthsTable: readonly MonthRow[]\n deltaAmount: number\n /** Fixed starting amount; when null, seeds from `seedAmount` once it resolves. */\n initialAmount: number | null\n seedAmount?: number\n copy: MakeTransferCopy\n}) => {\n // Whole dollars, so the stepper times each month equals that row's amount.\n const seed = seedAmount == null ? undefined : Math.round(seedAmount)\n const [amount, setAmount] = React.useState(initialAmount ?? seed ?? 0)\n\n React.useEffect(() => {\n if (initialAmount == null && seed != null) {\n setAmount(seed)\n }\n }, [initialAmount, seed])\n\n const lastRowIndex = monthsTable.length - 1\n\n return (\n <>\n <Stack sx={{ p: 24, gap: 8 }}>\n <Text sx={{ fontWeight: 600 }} truncate={false} variant=\"body1\">\n {bodyContent}\n </Text>\n <BalanceStepper\n amount={formatWholeCurrency(amount)}\n copy={copy}\n onDecrement={() => setAmount((prev) => Math.max(0, prev - deltaAmount))}\n onIncrement={() => setAmount((prev) => prev + deltaAmount)}\n />\n </Stack>\n <Stack sx={{ gap: 8 }}>\n <Text sx={{ fontWeight: 600, mx: 24 }} truncate={false} variant=\"body1\">\n {bodyDescription}\n </Text>\n <List sx={{ bgcolor: 'background.paper', width: '100%' }}>\n {monthsTable.map(({ label, value }, index) => (\n <React.Fragment key={value}>\n <ListItem\n disableGutters={true}\n disablePadding={true}\n // With its 1px divider, each row is Figma's 52px.\n sx={{ minHeight: 51, bgcolor: 'background.paper' }}\n >\n <Stack sx={{ width: '100%' }}>\n <Stack\n sx={{\n flexDirection: 'row',\n justifyContent: 'space-between',\n alignItems: 'center',\n width: '100%',\n px: 24,\n py: 8,\n }}\n >\n <Text truncate={false} variant=\"body1\">\n {label}\n </Text>\n <Text sx={{ fontWeight: 600 }} truncate={false} variant=\"body1\">\n {formatWholeCurrency(value * amount)}\n </Text>\n </Stack>\n </Stack>\n </ListItem>\n <Divider component=\"li\" sx={{ ml: index === lastRowIndex ? 0 : 24 }} />\n </React.Fragment>\n ))}\n </List>\n </Stack>\n </>\n )\n}\n\n// ============================================================================\n// Block — both variants share the header and the stepper/table (settings from\n// PROJECTIONS in layout.ts); only the sections around them differ.\n// ============================================================================\n\nexport const MakeTransferActionBlock = ({\n variant,\n slotData,\n copy,\n}: MakeTransferVariantProps & { variant: MakeTransferVariant }) => {\n const isSaveEnough = variant === variants.SAVE_ENOUGH_TO_LIVE_ON\n const projection = PROJECTIONS[variant]\n\n const availableBalances = slotData?.available_balance\n const averageMonthlySpend = toNumber(slotData?.avg_monthly_spend)\n const expenses = toNumber(slotData?.upcoming_expenses)\n const totalRemaining = toNumber(slotData?.total_remaining)\n const svgDateContent = slotData?.time_period\n const date = slotData?.date\n\n return (\n <>\n <Header\n copy={copy}\n leading={\n isSaveEnough &&\n availableBalances != null &&\n averageMonthlySpend != null &&\n svgDateContent ? (\n <SaveEnoughToLiveOnBottomSection\n content={svgDateContent}\n leftLabel={copy.available_balance_text}\n leftValue={formatWholeCurrency(availableBalances)}\n rightLabel={copy.avg_monthly_spend_text}\n rightValue={formatWholeCurrency(averageMonthlySpend)}\n sx={{ width: '100%', mb: 24 }}\n />\n ) : null\n }\n />\n\n {!isSaveEnough && availableBalances != null && expenses != null && (\n <RemainingCard\n availableBalances={availableBalances}\n copy={copy}\n expenses={expenses}\n totalRemaining={totalRemaining}\n />\n )}\n\n <SavingsProjection\n bodyContent={copy[projection.contentKey]}\n bodyDescription={copy[projection.descriptionKey]}\n copy={copy}\n deltaAmount={projection.deltaAmount}\n initialAmount={projection.initialAmount}\n monthsTable={projection.months}\n seedAmount={projection.initialAmount == null ? averageMonthlySpend : undefined}\n />\n\n {isSaveEnough && availableBalances != null && (\n <TotalsFooter availableBalances={availableBalances} copy={copy} date={date} />\n )}\n </>\n )\n}\n"],"mappings":";;;;;;;;;;AAyBA,IAAM,IAAA,CAAU,EAAE,MAAA,GAAM,SAAA,EAAA,MACtB,gBAAA,EAAC,GAAD;AAAA,EACE,IAAI;AAAA,IAAE,SAAS;AAAA,IAAoB,GAAG;AAAA,IAAI,cAAc;AAAA,IAAa,aAAa;AAAA,EAAU;AAAA,EAD9F,UAAA,CAGG,GACD,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iC,mBAAA;AAAA,MAAyB,MAAA;AAAA,MAAY,MAAA;AAAA,IAAO,CAAA;AAAA,EAE/E,EAAA,CAAA;AAEN"}
@@ -1,16 +1,16 @@
1
- import { useGlobalCopyStore as b } from "../../../../common/context/hooks.es.js";
2
- import { CURRENCY_FORMAT as u, formatCurrency as y } from "../../../../core/utils/NumberFormatting.es.js";
1
+ import { useGlobalCopyStore as u } from "../../../../common/context/hooks.es.js";
2
+ import { formatWholeCurrency as y } from "../../../../core/utils/NumberFormatting.es.js";
3
3
  import { ThemedSVGImage as h } from "../../../components/chartblocks/ThemedSVGImage.es.js";
4
4
  import { resolveVariantConfig as _ } from "../../resolveVariantConfig.es.js";
5
- import { asNumber as f, asText as w, slotOrFlat as m } from "../../slotReaders.es.js";
6
- import { ReactComponent as C } from "../../../components/shared/images/SaveEnoughToLiveOnBottom.es.js";
7
- import { ReactComponent as S } from "../../../components/shared/images/SaveEnoughToLiveOnTop.es.js";
8
- import { SAVINGS_SUMMARY_LAYOUT as R, savingsSummaryBlockVariant as T } from "./layout.es.js";
5
+ import { asNumber as f, asText as S, slotOrFlat as m } from "../../slotReaders.es.js";
6
+ import { ReactComponent as w } from "../../../components/shared/images/SaveEnoughToLiveOnBottom.es.js";
7
+ import { ReactComponent as C } from "../../../components/shared/images/SaveEnoughToLiveOnTop.es.js";
8
+ import { SAVINGS_SUMMARY_LAYOUT as I, savingsSummaryBlockVariant as R } from "./layout.es.js";
9
9
  import n from "@mui/material/Stack";
10
- import { H2 as A, Text as g } from "@mxenabled/mxui";
11
- import { jsx as e, jsxs as r } from "react/jsx-runtime";
12
- import I from "@mui/material/Box";
13
- var v = ({ label: i, amount: o }) => /* @__PURE__ */ r(n, {
10
+ import { H2 as T, Text as g } from "@mxenabled/mxui";
11
+ import { jsx as e, jsxs as t } from "react/jsx-runtime";
12
+ import A from "@mui/material/Box";
13
+ var v = ({ label: i, amount: o }) => /* @__PURE__ */ t(n, {
14
14
  direction: "row",
15
15
  sx: {
16
16
  alignItems: "center",
@@ -30,29 +30,29 @@ var v = ({ label: i, amount: o }) => /* @__PURE__ */ r(n, {
30
30
  component: "dd",
31
31
  sx: { m: 0 },
32
32
  variant: "body2",
33
- children: y(o, u.whole)
33
+ children: y(o)
34
34
  })]
35
- }), U = ({ payload: i }) => {
36
- const o = b().insights_feed?.make_transfer, s = o?.available_balances_text, l = o?.average_monthly_spend_text, { instance_slot: t = {} } = i, { showCalendar: a } = _(R, t.variant, T.NoIllustration, "SavingsSummaryBlock"), d = f(m(t, "available_balance")), c = f(m(t, "avg_monthly_spend")), p = w(m(t, "time_period")), x = !!p;
37
- return !s || !l || d === void 0 || c === void 0 ? null : /* @__PURE__ */ r(n, {
35
+ }), O = ({ payload: i }) => {
36
+ const o = u().insights_feed?.make_transfer, s = o?.available_balance_text, l = o?.avg_monthly_spend_text, { instance_slot: r = {} } = i, { showCalendar: a } = _(I, r.variant, R.NoIllustration, "SavingsSummaryBlock"), d = f(m(r, "available_balance")), c = f(m(r, "avg_monthly_spend")), p = S(m(r, "time_period")), x = !!p;
37
+ return !s || !l || d === void 0 || c === void 0 ? null : /* @__PURE__ */ t(n, {
38
38
  sx: {
39
39
  alignItems: "center",
40
- gap: a ? 24 : 12,
40
+ gap: a ? 20 : 12,
41
41
  px: 16,
42
42
  width: "100%"
43
43
  },
44
- children: [(a || x) && /* @__PURE__ */ r(n, {
44
+ children: [(a || x) && /* @__PURE__ */ t(n, {
45
45
  sx: { alignItems: "center" },
46
46
  children: [a && /* @__PURE__ */ e(h, {
47
47
  divProps: { style: {
48
48
  maxWidth: "100%",
49
49
  width: 264
50
50
  } },
51
- image: S
52
- }), x && /* @__PURE__ */ r(I, {
51
+ image: C
52
+ }), x && /* @__PURE__ */ t(A, {
53
53
  sx: {
54
54
  display: "grid",
55
- mt: a ? -60 : 0,
55
+ mt: a ? -58 : 0,
56
56
  placeItems: "center"
57
57
  },
58
58
  children: [/* @__PURE__ */ e(h, {
@@ -62,8 +62,8 @@ var v = ({ label: i, amount: o }) => /* @__PURE__ */ r(n, {
62
62
  maxWidth: "none",
63
63
  width: 262
64
64
  } },
65
- image: C
66
- }), /* @__PURE__ */ e(A, {
65
+ image: w
66
+ }), /* @__PURE__ */ e(T, {
67
67
  sx: {
68
68
  color: "neutral.contrastText",
69
69
  gridArea: "1 / 1",
@@ -72,15 +72,14 @@ var v = ({ label: i, amount: o }) => /* @__PURE__ */ r(n, {
72
72
  children: p
73
73
  })]
74
74
  })]
75
- }), /* @__PURE__ */ r(n, {
75
+ }), /* @__PURE__ */ t(n, {
76
76
  component: "dl",
77
77
  sx: {
78
78
  "& > div + div": {
79
79
  borderTop: 1,
80
80
  borderColor: "divider"
81
81
  },
82
- border: 1,
83
- borderColor: "divider",
82
+ boxShadow: (b) => `inset 0 0 0 1px ${b.palette.divider}`,
84
83
  borderRadius: "4px",
85
84
  m: 0,
86
85
  width: "100%"
@@ -96,7 +95,7 @@ var v = ({ label: i, amount: o }) => /* @__PURE__ */ r(n, {
96
95
  });
97
96
  };
98
97
  export {
99
- U as default
98
+ O as default
100
99
  };
101
100
 
102
101
  //# sourceMappingURL=SavingsSummaryBlock.es.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"SavingsSummaryBlock.es.js","names":[],"sources":["../../../../../src/insights-v2/blocks/ComponentBlocks/SavingsSummaryBlock/SavingsSummaryBlock.tsx"],"sourcesContent":["import Box from '@mui/material/Box'\nimport Stack from '@mui/material/Stack'\n\nimport { H2, Text } from '@mxenabled/mxui'\n\nimport { useGlobalCopyStore } from '../../../../common'\nimport { CURRENCY_FORMAT, formatCurrency } from '../../../../core/utils/NumberFormatting'\nimport { ThemedSVGImage } from '../../../components/chartblocks/ThemedSVGImage'\nimport { ReactComponent as BrushStroke } from '../../../components/shared/images/SaveEnoughToLiveOnBottom.svg'\nimport { ReactComponent as CalendarGraphic } from '../../../components/shared/images/SaveEnoughToLiveOnTop.svg'\nimport { resolveVariantConfig } from '../../resolveVariantConfig'\nimport { asNumber, asText, slotOrFlat } from '../../slotReaders'\nimport type { BlockProps } from '../../types'\nimport { SAVINGS_SUMMARY_LAYOUT, savingsSummaryBlockVariant } from './layout'\n\nconst Row = ({ label, amount }: { label: string; amount: number }) => (\n <Stack\n direction=\"row\"\n sx={{ alignItems: 'center', gap: 16, justifyContent: 'space-between', minHeight: 40, px: 16 }}\n >\n <Text color=\"text.secondary\" component=\"dt\" variant=\"caption\">\n {label}\n </Text>\n <Text bold={true} color=\"text.primary\" component=\"dd\" sx={{ m: 0 }} variant=\"body2\">\n {formatCurrency(amount, CURRENCY_FORMAT.whole)}\n </Text>\n </Stack>\n)\n\nconst SavingsSummaryBlock = ({ payload }: BlockProps) => {\n const copy = useGlobalCopyStore().insights_feed?.make_transfer\n const balanceLabel = copy?.available_balances_text\n const spendLabel = copy?.average_monthly_spend_text\n\n const { instance_slot = {} } = payload\n const { showCalendar } = resolveVariantConfig(\n SAVINGS_SUMMARY_LAYOUT,\n instance_slot.variant,\n savingsSummaryBlockVariant.NoIllustration,\n 'SavingsSummaryBlock',\n )\n const balance = asNumber(slotOrFlat(instance_slot, 'available_balance'))\n const spend = asNumber(slotOrFlat(instance_slot, 'avg_monthly_spend'))\n const timePeriod = asText(slotOrFlat(instance_slot, 'time_period'))\n const hasTimePeriod = !!timePeriod\n\n // Both figures need a label and a real number; never show a made-up $0.\n if (!balanceLabel || !spendLabel || balance === undefined || spend === undefined) {\n return null\n }\n\n return (\n <Stack sx={{ alignItems: 'center', gap: showCalendar ? 24 : 12, px: 16, width: '100%' }}>\n {(showCalendar || hasTimePeriod) && (\n <Stack sx={{ alignItems: 'center' }}>\n {showCalendar && (\n <ThemedSVGImage\n divProps={{ style: { maxWidth: '100%', width: 264 } }}\n image={CalendarGraphic}\n />\n )}\n {hasTimePeriod && (\n <Box sx={{ display: 'grid', mt: showCalendar ? -60 : 0, placeItems: 'center' }}>\n <ThemedSVGImage\n divProps={{\n style: { gridArea: '1 / 1', lineHeight: 0, maxWidth: 'none', width: 262 },\n }}\n image={BrushStroke}\n />\n <H2 sx={{ color: 'neutral.contrastText', gridArea: '1 / 1', textAlign: 'center' }}>\n {timePeriod}\n </H2>\n </Box>\n )}\n </Stack>\n )}\n <Stack\n component=\"dl\"\n sx={{\n '& > div + div': { borderTop: 1, borderColor: 'divider' },\n border: 1,\n borderColor: 'divider',\n borderRadius: '4px',\n m: 0,\n width: '100%',\n }}\n >\n <Row amount={balance} label={balanceLabel} />\n <Row amount={spend} label={spendLabel} />\n </Stack>\n </Stack>\n )\n}\n\nexport default SavingsSummaryBlock\n"],"mappings":";;;;;;;;;;;;AAeA,IAAM,IAAA,CAAO,EAAE,OAAA,GAAO,QAAA,EAAA,MACpB,gBAAA,EAAC,GAAD;AAAA,EACE,WAAU;AAAA,EACV,IAAI;AAAA,IAAE,YAAY;AAAA,IAAU,KAAK;AAAA,IAAI,gBAAgB;AAAA,IAAiB,WAAW;AAAA,IAAI,IAAI;AAAA,EAAG;AAAA,EAF9F,UAAA,CAIE,gBAAA,EAAC,GAAD;AAAA,IAAM,OAAM;AAAA,IAAiB,WAAU;AAAA,IAAK,SAAQ;AAAA,IACjD,UAAA;AAAA,EACG,CAAA,GACN,gBAAA,EAAC,GAAD;AAAA,IAAM,MAAM;AAAA,IAAM,OAAM;AAAA,IAAe,WAAU;AAAA,IAAK,IAAI,EAAE,GAAG,EAAE;AAAA,IAAG,SAAQ;AAAA,IACzE,UAAA,EAAe,GAAQ,EAAgB,KAAK;AAAA,EACzC,CAAA,CACD;IAGH,IAAA,CAAuB,EAAE,SAAA,EAAA,MAA0B;AACvD,QAAM,IAAO,EAAmB,EAAE,eAAe,eAC3C,IAAe,GAAM,yBACrB,IAAa,GAAM,4BAEnB,EAAE,eAAA,IAAgB,CAAC,EAAA,IAAM,GACzB,EAAE,cAAA,EAAA,IAAiB,EACvB,GACA,EAAc,SACd,EAA2B,gBAC3B,qBACF,GACM,IAAU,EAAS,EAAW,GAAe,mBAAmB,CAAC,GACjE,IAAQ,EAAS,EAAW,GAAe,mBAAmB,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c;AAAA,QACd,GAAG;AAAA,QACH,OAAO;AAAA,MACT;AAAA,MATF,UAAA,CAWE,gBAAA,EAAC,GAAD;AAAA,QAAK,QAAQ;AAAA,QAAS,OAAO;AAAA,MAAe,CAAA,GAC5C,gBAAA,EAAC,GAAD;AAAA,QAAK,QAAQ;AAAA,QAAO,OAAO;AAAA,MAAa,CAAA,CACnC;AAAA,IACF,CAAA,CAAA;AAAA;AAEX"}
1
+ {"version":3,"file":"SavingsSummaryBlock.es.js","names":[],"sources":["../../../../../src/insights-v2/blocks/ComponentBlocks/SavingsSummaryBlock/SavingsSummaryBlock.tsx"],"sourcesContent":["import Box from '@mui/material/Box'\nimport Stack from '@mui/material/Stack'\n\nimport { H2, Text } from '@mxenabled/mxui'\n\nimport { useGlobalCopyStore } from '../../../../common'\nimport { formatWholeCurrency } from '../../../../core/utils/NumberFormatting'\nimport { ThemedSVGImage } from '../../../components/chartblocks/ThemedSVGImage'\nimport { ReactComponent as BrushStroke } from '../../../components/shared/images/SaveEnoughToLiveOnBottom.svg'\nimport { ReactComponent as CalendarGraphic } from '../../../components/shared/images/SaveEnoughToLiveOnTop.svg'\nimport { resolveVariantConfig } from '../../resolveVariantConfig'\nimport { asNumber, asText, slotOrFlat } from '../../slotReaders'\nimport type { BlockProps } from '../../types'\nimport { SAVINGS_SUMMARY_LAYOUT, savingsSummaryBlockVariant } from './layout'\n\nconst Row = ({ label, amount }: { label: string; amount: number }) => (\n <Stack\n direction=\"row\"\n sx={{ alignItems: 'center', gap: 16, justifyContent: 'space-between', minHeight: 40, px: 16 }}\n >\n <Text color=\"text.secondary\" component=\"dt\" variant=\"caption\">\n {label}\n </Text>\n <Text bold={true} color=\"text.primary\" component=\"dd\" sx={{ m: 0 }} variant=\"body2\">\n {formatWholeCurrency(amount)}\n </Text>\n </Stack>\n)\n\nconst SavingsSummaryBlock = ({ payload }: BlockProps) => {\n const copy = useGlobalCopyStore().insights_feed?.make_transfer\n const balanceLabel = copy?.available_balance_text\n const spendLabel = copy?.avg_monthly_spend_text\n\n const { instance_slot = {} } = payload\n const { showCalendar } = resolveVariantConfig(\n SAVINGS_SUMMARY_LAYOUT,\n instance_slot.variant,\n savingsSummaryBlockVariant.NoIllustration,\n 'SavingsSummaryBlock',\n )\n const balance = asNumber(slotOrFlat(instance_slot, 'available_balance'))\n const spend = asNumber(slotOrFlat(instance_slot, 'avg_monthly_spend'))\n const timePeriod = asText(slotOrFlat(instance_slot, 'time_period'))\n const hasTimePeriod = !!timePeriod\n\n // Both figures need a label and a real number; never show a made-up $0.\n if (!balanceLabel || !spendLabel || balance === undefined || spend === undefined) {\n return null\n }\n\n return (\n <Stack sx={{ alignItems: 'center', gap: showCalendar ? 20 : 12, px: 16, width: '100%' }}>\n {(showCalendar || hasTimePeriod) && (\n <Stack sx={{ alignItems: 'center' }}>\n {showCalendar && (\n <ThemedSVGImage\n divProps={{ style: { maxWidth: '100%', width: 264 } }}\n image={CalendarGraphic}\n />\n )}\n {hasTimePeriod && (\n <Box sx={{ display: 'grid', mt: showCalendar ? -58 : 0, placeItems: 'center' }}>\n <ThemedSVGImage\n divProps={{\n style: { gridArea: '1 / 1', lineHeight: 0, maxWidth: 'none', width: 262 },\n }}\n image={BrushStroke}\n />\n <H2 sx={{ color: 'neutral.contrastText', gridArea: '1 / 1', textAlign: 'center' }}>\n {timePeriod}\n </H2>\n </Box>\n )}\n </Stack>\n )}\n <Stack\n component=\"dl\"\n sx={{\n '& > div + div': { borderTop: 1, borderColor: 'divider' },\n // Drawn inside, so the two 40px rows make Figma's 80px table.\n boxShadow: (theme) => `inset 0 0 0 1px ${theme.palette.divider}`,\n borderRadius: '4px',\n m: 0,\n width: '100%',\n }}\n >\n <Row amount={balance} label={balanceLabel} />\n <Row amount={spend} label={spendLabel} />\n </Stack>\n </Stack>\n )\n}\n\nexport default SavingsSummaryBlock\n"],"mappings":";;;;;;;;;;;;AAeA,IAAM,IAAA,CAAO,EAAE,OAAA,GAAO,QAAA,EAAA,MACpB,gBAAA,E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U,EAAE,OAAO;AAAA,UAAE,UAAU;AAAA,UAAQ,OAAO;AAAA,QAAI,EAAE;AAAA,QACpD,OAAO;AAAA,MACR,CAAA,GAEF,KACC,gBAAA,EAAC,GAAD;AAAA,QAAK,IAAI;AAAA,UAAE,SAAS;AAAA,UAAQ,IAAI,IAAe,MAAM;AAAA,UAAG,YAAY;AAAA,QAAS;AAAA,QAA7E,UAAA,CACE,gBAAA,EAAC,GAAD;AAAA,UACE,UAAU,EACR,OAAO;AAAA,YAAE,UAAU;AAAA,YAAS,YAAY;AAAA,YAAG,UAAU;AAAA,YAAQ,OAAO;AAAA,UAAI,EAC1E;AAAA,UACA,OAAO;AAAA,QACR,CAAA,GACD,gBAAA,EAAC,GAAD;AAAA,UAAI,IAAI;AAAA,YAAE,OAAO;AAAA,YAAwB,UAAU;AAAA,YAAS,WAAW;AAAA,UAAS;AAAA,UAC7E,UAAA;AAAA,QACC,CAAA,CACD;AAAA,MAEF,CAAA,CAAA;AAAA,IAET,CAAA,GAAA,gBAAA,EAAC,GAAD;AAAA,MACE,WAAU;AAAA,MACV,IAAI;AAAA,QACF,iBAAiB;AAAA,UAAE,WAAW;AAAA,UAAG,aAAa;AAAA,QAAU;AAAA,QAExD,WAAA,CAAY,MAAU,mBAAmB,EAAM,QAAQ,OAAA;AAAA,QACvD,cAAc;AAAA,QACd,GAAG;AAAA,QACH,OAAO;AAAA,MACT;AAAA,MATF,UAAA,CAWE,gBAAA,EAAC,GAAD;AAAA,QAAK,QAAQ;AAAA,QAAS,OAAO;AAAA,MAAe,CAAA,GAC5C,gBAAA,EAAC,GAAD;AAAA,QAAK,QAAQ;AAAA,QAAO,OAAO;AAAA,MAAa,CAAA,CACnC;AAAA,IACF,CAAA,CAAA;AAAA;AAEX"}
@@ -1,18 +1,19 @@
1
- import { forwardRef as r } from "react";
2
- import { jsx as t, jsxs as i } from "react/jsx-runtime";
3
- var o = (e, C) => /* @__PURE__ */ i("svg", {
1
+ import { forwardRef as i } from "react";
2
+ import { jsx as t, jsxs as e } from "react/jsx-runtime";
3
+ var s = (r, C) => /* @__PURE__ */ e("svg", {
4
4
  width: "100%",
5
5
  viewBox: "0 0 199 130",
6
6
  fill: "none",
7
7
  xmlns: "http://www.w3.org/2000/svg",
8
8
  ref: C,
9
- ...e,
10
- children: [/* @__PURE__ */ i("g", {
9
+ ...r,
10
+ children: [/* @__PURE__ */ e("g", {
11
11
  clipPath: "url(#clip0_8039_8768)",
12
12
  children: [
13
13
  /* @__PURE__ */ t("path", {
14
14
  opacity: 0.35,
15
15
  d: "M10.3481 55.5205C15.731 51.1729 28.1084 43.7381 43.4465 35.6052C54.662 29.6461 67.4517 23.3028 80.2225 17.5123C89.2783 13.4037 98.3248 9.54811 106.79 6.34368C133.128 -3.7053 154.922 -3.27898 152.135 18.4821C148.04 50.4187 145.895 67.4621 151.1 94.92C155.096 116.044 139.978 126.683 120.203 126.43C88.0322 126.023 32.915 102.289 20.7063 96.1193C2.66966 86.9979 -9.83887 71.8237 10.3481 55.5205Z",
16
+ className: "brand200",
16
17
  fill: "#A0B9F8"
17
18
  }),
18
19
  /* @__PURE__ */ t("path", {
@@ -21,10 +22,12 @@ var o = (e, C) => /* @__PURE__ */ i("svg", {
21
22
  }),
22
23
  /* @__PURE__ */ t("path", {
23
24
  d: "M87.1051 41.2686H20.3555C18.1868 41.2747 16.1089 42.14 14.5767 43.6748C13.0445 45.2096 12.1829 47.289 12.1804 49.4577V94.0433C12.1829 96.2144 13.0465 98.2959 14.5817 99.8311C16.1169 101.366 18.1984 102.23 20.3695 102.232H87.1051C89.2762 102.23 91.3577 101.366 92.8929 99.8311C94.4282 98.2959 95.2917 96.2144 95.2942 94.0433V49.4577C95.2917 47.2865 94.4282 45.205 92.8929 43.6698C91.3577 42.1346 89.2762 41.271 87.1051 41.2686ZM25.9867 100.326H20.3648C19.5376 100.329 18.718 100.169 17.9528 99.8543C17.1876 99.54 16.492 99.0778 15.9057 98.4942C15.3195 97.9106 14.8542 97.217 14.5365 96.4532C14.2188 95.6895 14.055 94.8705 14.0544 94.0433V90.3798H25.9867V100.326ZM25.9867 88.6745H14.0544V78.1055H25.9867V88.6745ZM25.9867 76.4049H14.0544V65.8312H25.9867V76.4049ZM25.9867 64.1306H14.0544V53.6974L25.9679 53.6412L25.9867 64.1306ZM39.4368 100.326H27.6872V90.3798H39.4368V100.326ZM39.4368 88.6745H27.6872V78.1055H39.4368V88.6745ZM39.4368 76.4049H27.6872V65.8312H39.4368V76.4049ZM39.4368 64.1306H27.6872V53.6319L39.4368 53.585V64.1306ZM52.887 100.326H41.1374V90.3798H52.887V100.326ZM52.887 88.6745H41.1374V78.1055H52.887V88.6745ZM52.887 76.4049H41.1374V65.8312H52.887V76.4049ZM52.887 64.1306H41.1374V53.5803L52.887 53.5428V64.1306ZM66.3372 100.326H54.5876V90.3798H66.3372V100.326ZM66.3372 88.6745H54.5876V78.1055H66.3372V88.6745ZM66.3372 76.4049H54.5876V65.8312H66.3372V76.4049ZM66.3372 64.1306H54.5876V53.5382H66.3372V64.1306ZM79.7874 100.326H68.0378V90.3798H79.7874V100.326ZM79.7874 88.6745H68.0378V78.1055H79.7874V88.6745ZM79.7874 76.4049H68.0378V65.8312H79.7874V76.4049ZM79.7874 64.1306H68.0378V53.5101H79.7874V64.1306ZM93.3734 94.0433C93.3709 95.7087 92.7083 97.3052 91.5306 98.4829C90.353 99.6605 88.7565 100.323 87.091 100.326H81.4692V90.3798H93.3687L93.3734 94.0433ZM93.3734 88.6745H81.4739V78.1055H93.3734V88.6745ZM93.3734 76.4049H81.4739V65.8312H93.3734V76.4049ZM93.3734 64.1306H81.4739V53.5194C87.2222 53.5194 91.5463 53.571 93.3734 53.6319V64.1306Z",
25
+ className: "brand300",
24
26
  fill: "#2C64EF"
25
27
  }),
26
28
  /* @__PURE__ */ t("path", {
27
29
  d: "M73.6127 58.7852C55.665 67.5364 59.1459 78.2788 65.536 81.1084C71.3686 83.6851 81.0335 82.2141 85.8401 74.7136C90.4406 67.5364 84.3831 56.4427 68.2298 64.168",
30
+ className: "brand200",
28
31
  stroke: "#A0B9F8",
29
32
  strokeWidth: 2.56261,
30
33
  strokeMiterlimit: 10,
@@ -33,6 +36,7 @@ var o = (e, C) => /* @__PURE__ */ i("svg", {
33
36
  /* @__PURE__ */ t("path", {
34
37
  d: "M164.456 22.5439H123.234C119.677 22.5439 116.793 25.428 116.793 28.9856V93.0321C116.793 96.5897 119.677 99.4737 123.234 99.4737H164.456C168.014 99.4737 170.898 96.5897 170.898 93.0321V28.9856C170.898 25.428 168.014 22.5439 164.456 22.5439Z",
35
38
  fill: "white",
39
+ className: "brand300",
36
40
  stroke: "#2C64EF",
37
41
  strokeWidth: 2,
38
42
  strokeMiterlimit: 10,
@@ -40,6 +44,7 @@ var o = (e, C) => /* @__PURE__ */ i("svg", {
40
44
  }),
41
45
  /* @__PURE__ */ t("path", {
42
46
  d: "M162.601 28.4463H124.72C123.312 28.4463 122.171 29.5873 122.171 30.9948V41.2031C122.171 42.6106 123.312 43.7517 124.72 43.7517H162.601C164.009 43.7517 165.15 42.6106 165.15 41.2031V30.9948C165.15 29.5873 164.009 28.4463 162.601 28.4463Z",
47
+ className: "brand300",
43
48
  fill: "#2C64EF",
44
49
  stroke: "#2C64EF",
45
50
  strokeWidth: 1.40545,
@@ -47,7 +52,12 @@ var o = (e, C) => /* @__PURE__ */ i("svg", {
47
52
  }),
48
53
  /* @__PURE__ */ t("path", {
49
54
  d: "M161.379 60.6826H125.942C123.86 60.6826 122.171 62.3711 122.171 64.4539V90.4314C122.171 92.5142 123.86 94.2027 125.942 94.2027H161.379C163.461 94.2027 165.15 92.5142 165.15 90.4314V64.4539C165.15 62.3711 163.461 60.6826 161.379 60.6826Z",
50
- fill: "#C0D0FA",
55
+ className: "brand100",
56
+ fill: "#C0D0FA"
57
+ }),
58
+ /* @__PURE__ */ t("path", {
59
+ d: "M161.379 60.6826H125.942C123.86 60.6826 122.171 62.3711 122.171 64.4539V90.4314C122.171 92.5142 123.86 94.2027 125.942 94.2027H161.379C163.461 94.2027 165.15 92.5142 165.15 90.4314V64.4539C165.15 62.3711 163.461 60.6826 161.379 60.6826Z",
60
+ className: "brand300",
51
61
  stroke: "#2C64EF",
52
62
  strokeWidth: 1.95358,
53
63
  strokeMiterlimit: 10,
@@ -55,7 +65,12 @@ var o = (e, C) => /* @__PURE__ */ i("svg", {
55
65
  }),
56
66
  /* @__PURE__ */ t("path", {
57
67
  d: "M146.467 47.8936H123.68C122.847 47.8936 122.171 48.5689 122.171 49.4021V55.3237C122.171 56.1568 122.847 56.8322 123.68 56.8322H146.467C147.3 56.8322 147.975 56.1568 147.975 55.3237V49.4021C147.975 48.5689 147.3 47.8936 146.467 47.8936Z",
58
- fill: "#A0B9F8",
68
+ className: "brand200",
69
+ fill: "#A0B9F8"
70
+ }),
71
+ /* @__PURE__ */ t("path", {
72
+ d: "M146.467 47.8936H123.68C122.847 47.8936 122.171 48.5689 122.171 49.4021V55.3237C122.171 56.1568 122.847 56.8322 123.68 56.8322H146.467C147.3 56.8322 147.975 56.1568 147.975 55.3237V49.4021C147.975 48.5689 147.3 47.8936 146.467 47.8936Z",
73
+ className: "brand300",
59
74
  stroke: "#2C64EF",
60
75
  strokeWidth: 1.95358,
61
76
  strokeMiterlimit: 10,
@@ -63,7 +78,12 @@ var o = (e, C) => /* @__PURE__ */ i("svg", {
63
78
  }),
64
79
  /* @__PURE__ */ t("path", {
65
80
  d: "M163.51 47.8936H152.309C151.708 47.8936 151.222 48.3802 151.222 48.9804V55.7453C151.222 56.3456 151.708 56.8322 152.309 56.8322H163.51C164.11 56.8322 164.597 56.3456 164.597 55.7453V48.9804C164.597 48.3802 164.11 47.8936 163.51 47.8936Z",
66
- fill: "#A0B9F8",
81
+ className: "brand200",
82
+ fill: "#A0B9F8"
83
+ }),
84
+ /* @__PURE__ */ t("path", {
85
+ d: "M163.51 47.8936H152.309C151.708 47.8936 151.222 48.3802 151.222 48.9804V55.7453C151.222 56.3456 151.708 56.8322 152.309 56.8322H163.51C164.11 56.8322 164.597 56.3456 164.597 55.7453V48.9804C164.597 48.3802 164.11 47.8936 163.51 47.8936Z",
86
+ className: "brand300",
67
87
  stroke: "#2C64EF",
68
88
  strokeWidth: 1.95358,
69
89
  strokeMiterlimit: 10,
@@ -71,6 +91,7 @@ var o = (e, C) => /* @__PURE__ */ i("svg", {
71
91
  }),
72
92
  /* @__PURE__ */ t("path", {
73
93
  d: "M132.914 60.6826V94.1324",
94
+ className: "brand300",
74
95
  stroke: "#2C64EF",
75
96
  strokeWidth: 1.95358,
76
97
  strokeMiterlimit: 10,
@@ -78,6 +99,7 @@ var o = (e, C) => /* @__PURE__ */ i("svg", {
78
99
  }),
79
100
  /* @__PURE__ */ t("path", {
80
101
  d: "M143.661 60.6826V94.1324",
102
+ className: "brand300",
81
103
  stroke: "#2C64EF",
82
104
  strokeWidth: 1.95358,
83
105
  strokeMiterlimit: 10,
@@ -85,6 +107,7 @@ var o = (e, C) => /* @__PURE__ */ i("svg", {
85
107
  }),
86
108
  /* @__PURE__ */ t("path", {
87
109
  d: "M154.403 60.6826V94.1324",
110
+ className: "brand300",
88
111
  stroke: "#2C64EF",
89
112
  strokeWidth: 1.95358,
90
113
  strokeMiterlimit: 10,
@@ -92,6 +115,7 @@ var o = (e, C) => /* @__PURE__ */ i("svg", {
92
115
  }),
93
116
  /* @__PURE__ */ t("path", {
94
117
  d: "M164.879 72.001H122.406",
118
+ className: "brand300",
95
119
  stroke: "#2C64EF",
96
120
  strokeWidth: 1.95358,
97
121
  strokeMiterlimit: 10,
@@ -99,6 +123,7 @@ var o = (e, C) => /* @__PURE__ */ i("svg", {
99
123
  }),
100
124
  /* @__PURE__ */ t("path", {
101
125
  d: "M154.328 82.7012H122.677",
126
+ className: "brand300",
102
127
  stroke: "#2C64EF",
103
128
  strokeWidth: 1.95358,
104
129
  strokeMiterlimit: 10,
@@ -107,6 +132,7 @@ var o = (e, C) => /* @__PURE__ */ i("svg", {
107
132
  /* @__PURE__ */ t("path", {
108
133
  d: "M105.76 117.196V125.085C105.76 127.156 113.12 128.833 122.199 128.833C131.278 128.833 138.638 127.156 138.638 125.085V117.196C138.638 115.13 131.278 113.448 122.199 113.448C113.12 113.448 105.76 115.13 105.76 117.196Z",
109
134
  fill: "white",
135
+ className: "brand300",
110
136
  stroke: "#2C64EF",
111
137
  strokeWidth: 2,
112
138
  strokeMiterlimit: 10,
@@ -118,6 +144,7 @@ var o = (e, C) => /* @__PURE__ */ i("svg", {
118
144
  }),
119
145
  /* @__PURE__ */ t("path", {
120
146
  d: "M138.638 117.196C138.638 119.267 131.278 120.944 122.199 120.944C113.12 120.944 105.76 119.267 105.76 117.196",
147
+ className: "brand300",
121
148
  stroke: "#2C64EF",
122
149
  strokeWidth: 2,
123
150
  strokeMiterlimit: 10,
@@ -126,6 +153,7 @@ var o = (e, C) => /* @__PURE__ */ i("svg", {
126
153
  /* @__PURE__ */ t("path", {
127
154
  d: "M107.32 109.499V117.407C107.32 119.473 114.685 121.155 123.764 121.155C132.843 121.155 140.203 119.478 140.203 117.407V109.499C140.203 107.428 132.843 105.751 123.764 105.751C114.685 105.751 107.32 107.428 107.32 109.499Z",
128
155
  fill: "white",
156
+ className: "brand300",
129
157
  stroke: "#2C64EF",
130
158
  strokeWidth: 2,
131
159
  strokeMiterlimit: 10,
@@ -137,6 +165,7 @@ var o = (e, C) => /* @__PURE__ */ i("svg", {
137
165
  }),
138
166
  /* @__PURE__ */ t("path", {
139
167
  d: "M140.203 109.499C140.203 111.565 132.843 113.247 123.764 113.247C114.685 113.247 107.32 111.57 107.32 109.499",
168
+ className: "brand300",
140
169
  stroke: "#2C64EF",
141
170
  strokeWidth: 2,
142
171
  strokeMiterlimit: 10,
@@ -145,6 +174,7 @@ var o = (e, C) => /* @__PURE__ */ i("svg", {
145
174
  /* @__PURE__ */ t("path", {
146
175
  d: "M164.288 102.884V110.792C164.288 112.862 171.648 114.54 180.727 114.54C189.806 114.54 197.166 112.862 197.166 110.792V102.884C197.166 100.818 189.806 99.1357 180.727 99.1357C171.648 99.1357 164.288 100.818 164.288 102.884Z",
147
176
  fill: "white",
177
+ className: "brand300",
148
178
  stroke: "#2C64EF",
149
179
  strokeWidth: 2,
150
180
  strokeMiterlimit: 10,
@@ -156,6 +186,7 @@ var o = (e, C) => /* @__PURE__ */ i("svg", {
156
186
  }),
157
187
  /* @__PURE__ */ t("path", {
158
188
  d: "M197.166 102.884C197.166 104.954 189.806 106.632 180.727 106.632C171.648 106.632 164.288 104.954 164.288 102.884",
189
+ className: "brand300",
159
190
  stroke: "#2C64EF",
160
191
  strokeWidth: 2,
161
192
  strokeMiterlimit: 10,
@@ -164,6 +195,7 @@ var o = (e, C) => /* @__PURE__ */ i("svg", {
164
195
  /* @__PURE__ */ t("path", {
165
196
  d: "M101.301 101.797V109.705C101.301 111.775 108.66 113.453 117.74 113.453C126.819 113.453 134.179 111.775 134.179 109.705V101.797C134.179 99.7307 126.819 98.0488 117.74 98.0488C108.66 98.0488 101.301 99.7307 101.301 101.797Z",
166
197
  fill: "white",
198
+ className: "brand300",
167
199
  stroke: "#2C64EF",
168
200
  strokeWidth: 2,
169
201
  strokeMiterlimit: 10,
@@ -175,6 +207,7 @@ var o = (e, C) => /* @__PURE__ */ i("svg", {
175
207
  }),
176
208
  /* @__PURE__ */ t("path", {
177
209
  d: "M134.179 101.797C134.179 103.868 126.819 105.545 117.74 105.545C108.66 105.545 101.301 103.868 101.301 101.797",
210
+ className: "brand300",
178
211
  stroke: "#2C64EF",
179
212
  strokeWidth: 2,
180
213
  strokeMiterlimit: 10,
@@ -183,6 +216,7 @@ var o = (e, C) => /* @__PURE__ */ i("svg", {
183
216
  /* @__PURE__ */ t("path", {
184
217
  d: "M105.76 91.0223V98.9303C105.76 101.001 113.12 102.678 122.199 102.678C131.278 102.678 138.638 101.001 138.638 98.9303V91.0223C138.638 88.9563 131.278 87.2744 122.199 87.2744C113.12 87.2744 105.76 88.9563 105.76 91.0223Z",
185
218
  fill: "white",
219
+ className: "brand300",
186
220
  stroke: "#2C64EF",
187
221
  strokeWidth: 2,
188
222
  strokeMiterlimit: 10,
@@ -190,6 +224,7 @@ var o = (e, C) => /* @__PURE__ */ i("svg", {
190
224
  }),
191
225
  /* @__PURE__ */ t("path", {
192
226
  d: "M138.638 91.0215C138.638 93.0922 131.278 94.7694 122.199 94.7694C113.12 94.7694 105.76 93.0922 105.76 91.0215",
227
+ className: "brand300",
193
228
  stroke: "#2C64EF",
194
229
  strokeWidth: 1.95358,
195
230
  strokeMiterlimit: 10,
@@ -201,6 +236,7 @@ var o = (e, C) => /* @__PURE__ */ i("svg", {
201
236
  }),
202
237
  /* @__PURE__ */ t("path", {
203
238
  d: "M151.929 118.812L159.449 123.966C167.005 126.955 179.523 122.438 181.416 111.317C182.432 105.371 180.919 100.654 178.221 97.4634L171.161 91.5137",
239
+ className: "brand300",
204
240
  stroke: "#2C64EF",
205
241
  strokeWidth: 2,
206
242
  strokeMiterlimit: 10,
@@ -209,6 +245,7 @@ var o = (e, C) => /* @__PURE__ */ i("svg", {
209
245
  /* @__PURE__ */ t("path", {
210
246
  d: "M164.532 89.6119C172.112 89.7805 178.806 96.5173 176.885 107.775C175.012 118.878 162.475 123.394 154.918 120.424C149.015 118.082 144.485 110.815 148.055 100.654C150.707 93.0833 158.999 89.4807 164.532 89.6119Z",
211
247
  fill: "white",
248
+ className: "brand300",
212
249
  stroke: "#2C64EF",
213
250
  strokeWidth: 2,
214
251
  strokeMiterlimit: 10,
@@ -216,6 +253,7 @@ var o = (e, C) => /* @__PURE__ */ i("svg", {
216
253
  }),
217
254
  /* @__PURE__ */ t("path", {
218
255
  d: "M161.969 112.67L161.833 113.879C161.814 114.037 161.763 114.189 161.684 114.327C161.605 114.464 161.499 114.585 161.372 114.68C161.245 114.775 161.1 114.844 160.945 114.882C160.791 114.92 160.631 114.926 160.474 114.9C160.153 114.855 159.862 114.687 159.661 114.432C159.46 114.178 159.366 113.855 159.397 113.532L159.532 112.333C158.235 112.054 157.012 111.504 155.944 110.717C155.76 110.575 155.607 110.397 155.495 110.193C155.383 109.99 155.314 109.766 155.293 109.535C155.271 109.303 155.298 109.07 155.37 108.85C155.443 108.629 155.56 108.426 155.714 108.253C156.001 107.937 156.396 107.741 156.821 107.705C157.246 107.668 157.669 107.794 158.005 108.056C158.958 108.793 160.09 109.264 161.285 109.419C162.568 109.583 163.454 109.143 163.533 108.449C163.627 107.62 162.681 107.18 161.149 106.669C158.83 105.915 155.602 104.94 155.995 101.595C156.239 99.4591 158.113 97.7257 161.186 97.6507L161.336 96.3343C161.376 96.0119 161.539 95.7176 161.792 95.5132C162.044 95.3087 162.366 95.2101 162.69 95.238C162.849 95.2479 163.004 95.2898 163.146 95.3614C163.288 95.433 163.415 95.5327 163.517 95.6545C163.62 95.7762 163.696 95.9176 163.743 96.0698C163.789 96.2221 163.804 96.3822 163.786 96.5404L163.636 97.8897C164.639 98.097 165.6 98.4707 166.48 98.9953C166.696 99.1265 166.879 99.3052 167.015 99.5178C167.151 99.7304 167.237 99.9713 167.265 100.222C167.294 100.473 167.266 100.727 167.181 100.965C167.097 101.203 166.96 101.419 166.78 101.595C166.495 101.887 166.12 102.073 165.716 102.123C165.311 102.173 164.902 102.084 164.555 101.872C163.671 101.305 162.669 100.946 161.627 100.822C160.38 100.701 159.846 101.146 159.776 101.759C159.692 102.509 160.554 102.86 162.147 103.333C164.54 104.097 167.909 105.175 167.534 108.487C167.248 111.157 165.257 112.745 161.969 112.67Z",
256
+ className: "brand300",
219
257
  fill: "#2C64EF"
220
258
  })
221
259
  ]
@@ -227,7 +265,7 @@ var o = (e, C) => /* @__PURE__ */ i("svg", {
227
265
  fill: "white"
228
266
  })
229
267
  }) })]
230
- }), d = r(o);
268
+ }), d = i(s);
231
269
  export {
232
270
  d as ReactComponent
233
271
  };
@@ -1 +1 @@
1
- {"version":3,"file":"UpcomingTaxDeadlineAlert.es.js","names":[],"sources":["../../../../../../src/insights-v2/blocks/ImageBlocks/SVGImageBlock/images/UpcomingTaxDeadlineAlert.svg"],"sourcesContent":["import * as React from \"react\";\nimport { forwardRef } from \"react\";\nimport { jsx as _jsx, jsxs as _jsxs } from \"react/jsx-runtime\";\nconst SvgUpcomingTaxDeadlineAlert = (props, ref) => /* @__PURE__ */ _jsxs(\"svg\", {\n\twidth: \"100%\",\n\tviewBox: \"0 0 199 130\",\n\tfill: \"none\",\n\txmlns: \"http://www.w3.org/2000/svg\",\n\tref,\n\t...props,\n\tchildren: [/* @__PURE__ */ _jsxs(\"g\", {\n\t\tclipPath: \"url(#clip0_8039_8768)\",\n\t\tchildren: [\n\t\t\t/* @__PURE__ */ _jsx(\"path\", {\n\t\t\t\topacity: .35,\n\t\t\t\td: \"M10.3481 55.5205C15.731 51.1729 28.1084 43.7381 43.4465 35.6052C54.662 29.6461 67.4517 23.3028 80.2225 17.5123C89.2783 13.4037 98.3248 9.54811 106.79 6.34368C133.128 -3.7053 154.922 -3.27898 152.135 18.4821C148.04 50.4187 145.895 67.4621 151.1 94.92C155.096 116.044 139.978 126.683 120.203 126.43C88.0322 126.023 32.915 102.289 20.7063 96.1193C2.66966 86.9979 -9.83887 71.8237 10.3481 55.5205Z\",\n\t\t\t\tfill: \"#A0B9F8\"\n\t\t\t}),\n\t\t\t/* @__PURE__ */ _jsx(\"path\", {\n\t\t\t\td: \"M22.0189 101.535C16.7532 101.535 12.4666 97.3557 12.4666 92.2211V50.957C12.4666 45.8037 16.7532 41.6436 22.0189 41.6436H85.4189C90.6894 41.6436 94.976 45.8177 94.976 50.957V92.2211C94.976 97.3744 90.6894 101.535 85.4189 101.535H22.0189Z\",\n\t\t\t\tfill: \"white\"\n\t\t\t}),\n\t\t\t/* @__PURE__ */ _jsx(\"path\", {\n\t\t\t\td: \"M87.1051 41.2686H20.3555C18.1868 41.2747 16.1089 42.14 14.5767 43.6748C13.0445 45.2096 12.1829 47.289 12.1804 49.4577V94.0433C12.1829 96.2144 13.0465 98.2959 14.5817 99.8311C16.1169 101.366 18.1984 102.23 20.3695 102.232H87.1051C89.2762 102.23 91.3577 101.366 92.8929 99.8311C94.4282 98.2959 95.2917 96.2144 95.2942 94.0433V49.4577C95.2917 47.2865 94.4282 45.205 92.8929 43.6698C91.3577 42.1346 89.2762 41.271 87.1051 41.2686ZM25.9867 100.326H20.3648C19.5376 100.329 18.718 100.169 17.9528 99.8543C17.1876 99.54 16.492 99.0778 15.9057 98.4942C15.3195 97.9106 14.8542 97.217 14.5365 96.4532C14.2188 95.6895 14.055 94.8705 14.0544 94.0433V90.3798H25.9867V100.326ZM25.9867 88.6745H14.0544V78.1055H25.9867V88.6745ZM25.9867 76.4049H14.0544V65.8312H25.9867V76.4049ZM25.9867 64.1306H14.0544V53.6974L25.9679 53.6412L25.9867 64.1306ZM39.4368 100.326H27.6872V90.3798H39.4368V100.326ZM39.4368 88.6745H27.6872V78.1055H39.4368V88.6745ZM39.4368 76.4049H27.6872V65.8312H39.4368V76.4049ZM39.4368 64.1306H27.6872V53.6319L39.4368 53.585V64.1306ZM52.887 100.326H41.1374V90.3798H52.887V100.326ZM52.887 88.6745H41.1374V78.1055H52.887V88.6745ZM52.887 76.4049H41.1374V65.8312H52.887V76.4049ZM52.887 64.1306H41.1374V53.5803L52.887 53.5428V64.1306ZM66.3372 100.326H54.5876V90.3798H66.3372V100.326ZM66.3372 88.6745H54.5876V78.1055H66.3372V88.6745ZM66.3372 76.4049H54.5876V65.8312H66.3372V76.4049ZM66.3372 64.1306H54.5876V53.5382H66.3372V64.1306ZM79.7874 100.326H68.0378V90.3798H79.7874V100.326ZM79.7874 88.6745H68.0378V78.1055H79.7874V88.6745ZM79.7874 76.4049H68.0378V65.8312H79.7874V76.4049ZM79.7874 64.1306H68.0378V53.5101H79.7874V64.1306ZM93.3734 94.0433C93.3709 95.7087 92.7083 97.3052 91.5306 98.4829C90.353 99.6605 88.7565 100.323 87.091 100.326H81.4692V90.3798H93.3687L93.3734 94.0433ZM93.3734 88.6745H81.4739V78.1055H93.3734V88.6745ZM93.3734 76.4049H81.4739V65.8312H93.3734V76.4049ZM93.3734 64.1306H81.4739V53.5194C87.2222 53.5194 91.5463 53.571 93.3734 53.6319V64.1306Z\",\n\t\t\t\tfill: \"#2C64EF\"\n\t\t\t}),\n\t\t\t/* @__PURE__ */ _jsx(\"path\", {\n\t\t\t\td: \"M73.6127 58.7852C55.665 67.5364 59.1459 78.2788 65.536 81.1084C71.3686 83.6851 81.0335 82.2141 85.8401 74.7136C90.4406 67.5364 84.3831 56.4427 68.2298 64.168\",\n\t\t\t\tstroke: \"#A0B9F8\",\n\t\t\t\tstrokeWidth: 2.56261,\n\t\t\t\tstrokeMiterlimit: 10,\n\t\t\t\tstrokeLinecap: \"round\"\n\t\t\t}),\n\t\t\t/* @__PURE__ */ _jsx(\"path\", {\n\t\t\t\td: \"M164.456 22.5439H123.234C119.677 22.5439 116.793 25.428 116.793 28.9856V93.0321C116.793 96.5897 119.677 99.4737 123.234 99.4737H164.456C168.014 99.4737 170.898 96.5897 170.898 93.0321V28.9856C170.898 25.428 168.014 22.5439 164.456 22.5439Z\",\n\t\t\t\tfill: \"white\",\n\t\t\t\tstroke: \"#2C64EF\",\n\t\t\t\tstrokeWidth: 2,\n\t\t\t\tstrokeMiterlimit: 10,\n\t\t\t\tstrokeLinecap: \"round\"\n\t\t\t}),\n\t\t\t/* @__PURE__ */ _jsx(\"path\", {\n\t\t\t\td: \"M162.601 28.4463H124.72C123.312 28.4463 122.171 29.5873 122.171 30.9948V41.2031C122.171 42.6106 123.312 43.7517 124.72 43.7517H162.601C164.009 43.7517 165.15 42.6106 165.15 41.2031V30.9948C165.15 29.5873 164.009 28.4463 162.601 28.4463Z\",\n\t\t\t\tfill: \"#2C64EF\",\n\t\t\t\tstroke: \"#2C64EF\",\n\t\t\t\tstrokeWidth: 1.40545,\n\t\t\t\tstrokeMiterlimit: 10\n\t\t\t}),\n\t\t\t/* @__PURE__ */ _jsx(\"path\", {\n\t\t\t\td: \"M161.379 60.6826H125.942C123.86 60.6826 122.171 62.3711 122.171 64.4539V90.4314C122.171 92.5142 123.86 94.2027 125.942 94.2027H161.379C163.461 94.2027 165.15 92.5142 165.15 90.4314V64.4539C165.15 62.3711 163.461 60.6826 161.379 60.6826Z\",\n\t\t\t\tfill: \"#C0D0FA\",\n\t\t\t\tstroke: \"#2C64EF\",\n\t\t\t\tstrokeWidth: 1.95358,\n\t\t\t\tstrokeMiterlimit: 10,\n\t\t\t\tstrokeLinecap: \"round\"\n\t\t\t}),\n\t\t\t/* @__PURE__ */ _jsx(\"path\", {\n\t\t\t\td: \"M146.467 47.8936H123.68C122.847 47.8936 122.171 48.5689 122.171 49.4021V55.3237C122.171 56.1568 122.847 56.8322 123.68 56.8322H146.467C147.3 56.8322 147.975 56.1568 147.975 55.3237V49.4021C147.975 48.5689 147.3 47.8936 146.467 47.8936Z\",\n\t\t\t\tfill: \"#A0B9F8\",\n\t\t\t\tstroke: \"#2C64EF\",\n\t\t\t\tstrokeWidth: 1.95358,\n\t\t\t\tstrokeMiterlimit: 10,\n\t\t\t\tstrokeLinecap: \"round\"\n\t\t\t}),\n\t\t\t/* @__PURE__ */ _jsx(\"path\", {\n\t\t\t\td: \"M163.51 47.8936H152.309C151.708 47.8936 151.222 48.3802 151.222 48.9804V55.7453C151.222 56.3456 151.708 56.8322 152.309 56.8322H163.51C164.11 56.8322 164.597 56.3456 164.597 55.7453V48.9804C164.597 48.3802 164.11 47.8936 163.51 47.8936Z\",\n\t\t\t\tfill: \"#A0B9F8\",\n\t\t\t\tstroke: \"#2C64EF\",\n\t\t\t\tstrokeWidth: 1.95358,\n\t\t\t\tstrokeMiterlimit: 10,\n\t\t\t\tstrokeLinecap: \"round\"\n\t\t\t}),\n\t\t\t/* @__PURE__ */ _jsx(\"path\", {\n\t\t\t\td: \"M132.914 60.6826V94.1324\",\n\t\t\t\tstroke: \"#2C64EF\",\n\t\t\t\tstrokeWidth: 1.95358,\n\t\t\t\tstrokeMiterlimit: 10,\n\t\t\t\tstrokeLinecap: \"round\"\n\t\t\t}),\n\t\t\t/* @__PURE__ */ _jsx(\"path\", {\n\t\t\t\td: \"M143.661 60.6826V94.1324\",\n\t\t\t\tstroke: \"#2C64EF\",\n\t\t\t\tstrokeWidth: 1.95358,\n\t\t\t\tstrokeMiterlimit: 10,\n\t\t\t\tstrokeLinecap: \"round\"\n\t\t\t}),\n\t\t\t/* @__PURE__ */ _jsx(\"path\", {\n\t\t\t\td: \"M154.403 60.6826V94.1324\",\n\t\t\t\tstroke: \"#2C64EF\",\n\t\t\t\tstrokeWidth: 1.95358,\n\t\t\t\tstrokeMiterlimit: 10,\n\t\t\t\tstrokeLinecap: \"round\"\n\t\t\t}),\n\t\t\t/* @__PURE__ */ _jsx(\"path\", {\n\t\t\t\td: \"M164.879 72.001H122.406\",\n\t\t\t\tstroke: \"#2C64EF\",\n\t\t\t\tstrokeWidth: 1.95358,\n\t\t\t\tstrokeMiterlimit: 10,\n\t\t\t\tstrokeLinecap: \"round\"\n\t\t\t}),\n\t\t\t/* @__PURE__ */ _jsx(\"path\", {\n\t\t\t\td: \"M154.328 82.7012H122.677\",\n\t\t\t\tstroke: \"#2C64EF\",\n\t\t\t\tstrokeWidth: 1.95358,\n\t\t\t\tstrokeMiterlimit: 10,\n\t\t\t\tstrokeLinecap: \"round\"\n\t\t\t}),\n\t\t\t/* @__PURE__ */ _jsx(\"path\", {\n\t\t\t\td: \"M105.76 117.196V125.085C105.76 127.156 113.12 128.833 122.199 128.833C131.278 128.833 138.638 127.156 138.638 125.085V117.196C138.638 115.13 131.278 113.448 122.199 113.448C113.12 113.448 105.76 115.13 105.76 117.196Z\",\n\t\t\t\tfill: \"white\",\n\t\t\t\tstroke: \"#2C64EF\",\n\t\t\t\tstrokeWidth: 2,\n\t\t\t\tstrokeMiterlimit: 10,\n\t\t\t\tstrokeLinecap: \"round\"\n\t\t\t}),\n\t\t\t/* @__PURE__ */ _jsx(\"path\", {\n\t\t\t\td: \"M138.638 117.196C138.638 119.267 131.278 120.944 122.199 120.944C113.12 120.944 105.76 119.267 105.76 117.196\",\n\t\t\t\tfill: \"white\"\n\t\t\t}),\n\t\t\t/* @__PURE__ */ _jsx(\"path\", {\n\t\t\t\td: \"M138.638 117.196C138.638 119.267 131.278 120.944 122.199 120.944C113.12 120.944 105.76 119.267 105.76 117.196\",\n\t\t\t\tstroke: \"#2C64EF\",\n\t\t\t\tstrokeWidth: 2,\n\t\t\t\tstrokeMiterlimit: 10,\n\t\t\t\tstrokeLinecap: \"round\"\n\t\t\t}),\n\t\t\t/* @__PURE__ */ _jsx(\"path\", {\n\t\t\t\td: \"M107.32 109.499V117.407C107.32 119.473 114.685 121.155 123.764 121.155C132.843 121.155 140.203 119.478 140.203 117.407V109.499C140.203 107.428 132.843 105.751 123.764 105.751C114.685 105.751 107.32 107.428 107.32 109.499Z\",\n\t\t\t\tfill: \"white\",\n\t\t\t\tstroke: \"#2C64EF\",\n\t\t\t\tstrokeWidth: 2,\n\t\t\t\tstrokeMiterlimit: 10,\n\t\t\t\tstrokeLinecap: \"round\"\n\t\t\t}),\n\t\t\t/* @__PURE__ */ _jsx(\"path\", {\n\t\t\t\td: \"M140.203 109.499C140.203 111.565 132.843 113.247 123.764 113.247C114.685 113.247 107.32 111.57 107.32 109.499\",\n\t\t\t\tfill: \"white\"\n\t\t\t}),\n\t\t\t/* @__PURE__ */ _jsx(\"path\", {\n\t\t\t\td: \"M140.203 109.499C140.203 111.565 132.843 113.247 123.764 113.247C114.685 113.247 107.32 111.57 107.32 109.499\",\n\t\t\t\tstroke: \"#2C64EF\",\n\t\t\t\tstrokeWidth: 2,\n\t\t\t\tstrokeMiterlimit: 10,\n\t\t\t\tstrokeLinecap: \"round\"\n\t\t\t}),\n\t\t\t/* @__PURE__ */ _jsx(\"path\", {\n\t\t\t\td: \"M164.288 102.884V110.792C164.288 112.862 171.648 114.54 180.727 114.54C189.806 114.54 197.166 112.862 197.166 110.792V102.884C197.166 100.818 189.806 99.1357 180.727 99.1357C171.648 99.1357 164.288 100.818 164.288 102.884Z\",\n\t\t\t\tfill: \"white\",\n\t\t\t\tstroke: \"#2C64EF\",\n\t\t\t\tstrokeWidth: 2,\n\t\t\t\tstrokeMiterlimit: 10,\n\t\t\t\tstrokeLinecap: \"round\"\n\t\t\t}),\n\t\t\t/* @__PURE__ */ _jsx(\"path\", {\n\t\t\t\td: \"M197.166 102.884C197.166 104.954 189.806 106.632 180.727 106.632C171.648 106.632 164.288 104.954 164.288 102.884\",\n\t\t\t\tfill: \"white\"\n\t\t\t}),\n\t\t\t/* @__PURE__ */ _jsx(\"path\", {\n\t\t\t\td: \"M197.166 102.884C197.166 104.954 189.806 106.632 180.727 106.632C171.648 106.632 164.288 104.954 164.288 102.884\",\n\t\t\t\tstroke: \"#2C64EF\",\n\t\t\t\tstrokeWidth: 2,\n\t\t\t\tstrokeMiterlimit: 10,\n\t\t\t\tstrokeLinecap: \"round\"\n\t\t\t}),\n\t\t\t/* @__PURE__ */ _jsx(\"path\", {\n\t\t\t\td: \"M101.301 101.797V109.705C101.301 111.775 108.66 113.453 117.74 113.453C126.819 113.453 134.179 111.775 134.179 109.705V101.797C134.179 99.7307 126.819 98.0488 117.74 98.0488C108.66 98.0488 101.301 99.7307 101.301 101.797Z\",\n\t\t\t\tfill: \"white\",\n\t\t\t\tstroke: \"#2C64EF\",\n\t\t\t\tstrokeWidth: 2,\n\t\t\t\tstrokeMiterlimit: 10,\n\t\t\t\tstrokeLinecap: \"round\"\n\t\t\t}),\n\t\t\t/* @__PURE__ */ _jsx(\"path\", {\n\t\t\t\td: \"M134.179 101.797C134.179 103.868 126.819 105.545 117.74 105.545C108.66 105.545 101.301 103.868 101.301 101.797\",\n\t\t\t\tfill: \"white\"\n\t\t\t}),\n\t\t\t/* @__PURE__ */ _jsx(\"path\", {\n\t\t\t\td: \"M134.179 101.797C134.179 103.868 126.819 105.545 117.74 105.545C108.66 105.545 101.301 103.868 101.301 101.797\",\n\t\t\t\tstroke: \"#2C64EF\",\n\t\t\t\tstrokeWidth: 2,\n\t\t\t\tstrokeMiterlimit: 10,\n\t\t\t\tstrokeLinecap: \"round\"\n\t\t\t}),\n\t\t\t/* @__PURE__ */ _jsx(\"path\", {\n\t\t\t\td: \"M105.76 91.0223V98.9303C105.76 101.001 113.12 102.678 122.199 102.678C131.278 102.678 138.638 101.001 138.638 98.9303V91.0223C138.638 88.9563 131.278 87.2744 122.199 87.2744C113.12 87.2744 105.76 88.9563 105.76 91.0223Z\",\n\t\t\t\tfill: \"white\",\n\t\t\t\tstroke: \"#2C64EF\",\n\t\t\t\tstrokeWidth: 2,\n\t\t\t\tstrokeMiterlimit: 10,\n\t\t\t\tstrokeLinecap: \"round\"\n\t\t\t}),\n\t\t\t/* @__PURE__ */ _jsx(\"path\", {\n\t\t\t\td: \"M138.638 91.0215C138.638 93.0922 131.278 94.7694 122.199 94.7694C113.12 94.7694 105.76 93.0922 105.76 91.0215\",\n\t\t\t\tstroke: \"#2C64EF\",\n\t\t\t\tstrokeWidth: 1.95358,\n\t\t\t\tstrokeMiterlimit: 10,\n\t\t\t\tstrokeLinecap: \"round\"\n\t\t\t}),\n\t\t\t/* @__PURE__ */ _jsx(\"path\", {\n\t\t\t\td: \"M151.929 118.812L159.449 123.966C167.005 126.955 179.523 122.438 181.416 111.317C182.432 105.371 180.919 100.654 178.221 97.4634L171.161 91.5137\",\n\t\t\t\tfill: \"white\"\n\t\t\t}),\n\t\t\t/* @__PURE__ */ _jsx(\"path\", {\n\t\t\t\td: \"M151.929 118.812L159.449 123.966C167.005 126.955 179.523 122.438 181.416 111.317C182.432 105.371 180.919 100.654 178.221 97.4634L171.161 91.5137\",\n\t\t\t\tstroke: \"#2C64EF\",\n\t\t\t\tstrokeWidth: 2,\n\t\t\t\tstrokeMiterlimit: 10,\n\t\t\t\tstrokeLinecap: \"round\"\n\t\t\t}),\n\t\t\t/* @__PURE__ */ _jsx(\"path\", {\n\t\t\t\td: \"M164.532 89.6119C172.112 89.7805 178.806 96.5173 176.885 107.775C175.012 118.878 162.475 123.394 154.918 120.424C149.015 118.082 144.485 110.815 148.055 100.654C150.707 93.0833 158.999 89.4807 164.532 89.6119Z\",\n\t\t\t\tfill: \"white\",\n\t\t\t\tstroke: \"#2C64EF\",\n\t\t\t\tstrokeWidth: 2,\n\t\t\t\tstrokeMiterlimit: 10,\n\t\t\t\tstrokeLinecap: \"round\"\n\t\t\t}),\n\t\t\t/* @__PURE__ */ _jsx(\"path\", {\n\t\t\t\td: \"M161.969 112.67L161.833 113.879C161.814 114.037 161.763 114.189 161.684 114.327C161.605 114.464 161.499 114.585 161.372 114.68C161.245 114.775 161.1 114.844 160.945 114.882C160.791 114.92 160.631 114.926 160.474 114.9C160.153 114.855 159.862 114.687 159.661 114.432C159.46 114.178 159.366 113.855 159.397 113.532L159.532 112.333C158.235 112.054 157.012 111.504 155.944 110.717C155.76 110.575 155.607 110.397 155.495 110.193C155.383 109.99 155.314 109.766 155.293 109.535C155.271 109.303 155.298 109.07 155.37 108.85C155.443 108.629 155.56 108.426 155.714 108.253C156.001 107.937 156.396 107.741 156.821 107.705C157.246 107.668 157.669 107.794 158.005 108.056C158.958 108.793 160.09 109.264 161.285 109.419C162.568 109.583 163.454 109.143 163.533 108.449C163.627 107.62 162.681 107.18 161.149 106.669C158.83 105.915 155.602 104.94 155.995 101.595C156.239 99.4591 158.113 97.7257 161.186 97.6507L161.336 96.3343C161.376 96.0119 161.539 95.7176 161.792 95.5132C162.044 95.3087 162.366 95.2101 162.69 95.238C162.849 95.2479 163.004 95.2898 163.146 95.3614C163.288 95.433 163.415 95.5327 163.517 95.6545C163.62 95.7762 163.696 95.9176 163.743 96.0698C163.789 96.2221 163.804 96.3822 163.786 96.5404L163.636 97.8897C164.639 98.097 165.6 98.4707 166.48 98.9953C166.696 99.1265 166.879 99.3052 167.015 99.5178C167.151 99.7304 167.237 99.9713 167.265 100.222C167.294 100.473 167.266 100.727 167.181 100.965C167.097 101.203 166.96 101.419 166.78 101.595C166.495 101.887 166.12 102.073 165.716 102.123C165.311 102.173 164.902 102.084 164.555 101.872C163.671 101.305 162.669 100.946 161.627 100.822C160.38 100.701 159.846 101.146 159.776 101.759C159.692 102.509 160.554 102.86 162.147 103.333C164.54 104.097 167.909 105.175 167.534 108.487C167.248 111.157 165.257 112.745 161.969 112.67Z\",\n\t\t\t\tfill: \"#2C64EF\"\n\t\t\t})\n\t\t]\n\t}), /* @__PURE__ */ _jsx(\"defs\", { children: /* @__PURE__ */ _jsx(\"clipPath\", {\n\t\tid: \"clip0_8039_8768\",\n\t\tchildren: /* @__PURE__ */ _jsx(\"rect\", {\n\t\t\twidth: 198.145,\n\t\t\theight: 129.826,\n\t\t\tfill: \"white\"\n\t\t})\n\t}) })]\n});\nconst ForwardRef = forwardRef(SvgUpcomingTaxDeadlineAlert);\nexport { ForwardRef as ReactComponent };\n"],"mappings":";;AAGA,IAAM,IAAA,CAA+B,GAAO,MAAwB,gBAAA,EAAM,OAAO;AAAA,EAChF,OAAO;AAAA,EACP,SAAS;AAAA,EACT,MAAM;AAAA,EACN,OAAO;AAAA,EACP,KAAA;AAAA,EACA,GAAG;AAAA,EACH,UAAU,CAAiB,gBAAA,EAAM,KAAK;AAAA,IACrC,UAAU;AAAA,IACV,UAAU;AAAA,MACO,gBAAA,EAAK,QAAQ;AAAA,QAC5B,SAAS;AAAA,QACT,GAAG;AAAA,QACH,MAAM;AAAA,MACP,CAAC;AAAA,MACe,gBAAA,EAAK,QAAQ;AAAA,QAC5B,GAAG;AAAA,QACH,MAAM;AAAA,MACP,CAAC;AAAA,MACe,gBAAA,EAAK,QAAQ;AAAA,QAC5B,GAAG;AAAA,QACH,MAAM;AAAA,MACP,CAAC;AAAA,MACe,gBAAA,EAAK,QAAQ;AAAA,QAC5B,GAAG;AAAA,QACH,QAAQ;AAAA,QACR,aAAa;AAAA,QACb,kBAAkB;AAAA,QAClB,eAAe;AAAA,MAChB,CAAC;AAAA,MACe,gBAAA,EAAK,QAAQ;AAAA,QAC5B,GAAG;AAAA,QACH,MAAM;AAAA,QACN,QAAQ;AAAA,QACR,aAAa;AAAA,QACb,kBAAkB;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QAAQ,EAAE,UAA0B,gBAAA,EAAK,YAAY;AAAA,IAC7E,IAAI;AAAA,IACJ,UAA0B,gBAAA,EAAK,QAAQ;AAAA,MACtC,OAAO;AAAA,MACP,QAAQ;AAAA,MACR,MAAM;AAAA,IACP,CAAC;AAAA,EACF,CAAC,EAAE,CAAC,CAAC;AACN,CAAC,GACK,IAAa,EAAW,CAA2B"}
1
+ {"version":3,"file":"UpcomingTaxDeadlineAlert.es.js","names":[],"sources":["../../../../../../src/insights-v2/blocks/ImageBlocks/SVGImageBlock/images/UpcomingTaxDeadlineAlert.svg"],"sourcesContent":["import * as React from \"react\";\nimport { forwardRef } from \"react\";\nimport { jsx as _jsx, jsxs as _jsxs } from \"react/jsx-runtime\";\nconst SvgUpcomingTaxDeadlineAlert = (props, ref) => /* @__PURE__ */ _jsxs(\"svg\", {\n\twidth: \"100%\",\n\tviewBox: \"0 0 199 130\",\n\tfill: \"none\",\n\txmlns: \"http://www.w3.org/2000/svg\",\n\tref,\n\t...props,\n\tchildren: [/* @__PURE__ */ _jsxs(\"g\", {\n\t\tclipPath: \"url(#clip0_8039_8768)\",\n\t\tchildren: [\n\t\t\t/* @__PURE__ */ _jsx(\"path\", {\n\t\t\t\topacity: .35,\n\t\t\t\td: \"M10.3481 55.5205C15.731 51.1729 28.1084 43.7381 43.4465 35.6052C54.662 29.6461 67.4517 23.3028 80.2225 17.5123C89.2783 13.4037 98.3248 9.54811 106.79 6.34368C133.128 -3.7053 154.922 -3.27898 152.135 18.4821C148.04 50.4187 145.895 67.4621 151.1 94.92C155.096 116.044 139.978 126.683 120.203 126.43C88.0322 126.023 32.915 102.289 20.7063 96.1193C2.66966 86.9979 -9.83887 71.8237 10.3481 55.5205Z\",\n\t\t\t\tclassName: \"brand200\",\n\t\t\t\tfill: \"#A0B9F8\"\n\t\t\t}),\n\t\t\t/* @__PURE__ */ _jsx(\"path\", {\n\t\t\t\td: \"M22.0189 101.535C16.7532 101.535 12.4666 97.3557 12.4666 92.2211V50.957C12.4666 45.8037 16.7532 41.6436 22.0189 41.6436H85.4189C90.6894 41.6436 94.976 45.8177 94.976 50.957V92.2211C94.976 97.3744 90.6894 101.535 85.4189 101.535H22.0189Z\",\n\t\t\t\tfill: \"white\"\n\t\t\t}),\n\t\t\t/* @__PURE__ */ _jsx(\"path\", {\n\t\t\t\td: \"M87.1051 41.2686H20.3555C18.1868 41.2747 16.1089 42.14 14.5767 43.6748C13.0445 45.2096 12.1829 47.289 12.1804 49.4577V94.0433C12.1829 96.2144 13.0465 98.2959 14.5817 99.8311C16.1169 101.366 18.1984 102.23 20.3695 102.232H87.1051C89.2762 102.23 91.3577 101.366 92.8929 99.8311C94.4282 98.2959 95.2917 96.2144 95.2942 94.0433V49.4577C95.2917 47.2865 94.4282 45.205 92.8929 43.6698C91.3577 42.1346 89.2762 41.271 87.1051 41.2686ZM25.9867 100.326H20.3648C19.5376 100.329 18.718 100.169 17.9528 99.8543C17.1876 99.54 16.492 99.0778 15.9057 98.4942C15.3195 97.9106 14.8542 97.217 14.5365 96.4532C14.2188 95.6895 14.055 94.8705 14.0544 94.0433V90.3798H25.9867V100.326ZM25.9867 88.6745H14.0544V78.1055H25.9867V88.6745ZM25.9867 76.4049H14.0544V65.8312H25.9867V76.4049ZM25.9867 64.1306H14.0544V53.6974L25.9679 53.6412L25.9867 64.1306ZM39.4368 100.326H27.6872V90.3798H39.4368V100.326ZM39.4368 88.6745H27.6872V78.1055H39.4368V88.6745ZM39.4368 76.4049H27.6872V65.8312H39.4368V76.4049ZM39.4368 64.1306H27.6872V53.6319L39.4368 53.585V64.1306ZM52.887 100.326H41.1374V90.3798H52.887V100.326ZM52.887 88.6745H41.1374V78.1055H52.887V88.6745ZM52.887 76.4049H41.1374V65.8312H52.887V76.4049ZM52.887 64.1306H41.1374V53.5803L52.887 53.5428V64.1306ZM66.3372 100.326H54.5876V90.3798H66.3372V100.326ZM66.3372 88.6745H54.5876V78.1055H66.3372V88.6745ZM66.3372 76.4049H54.5876V65.8312H66.3372V76.4049ZM66.3372 64.1306H54.5876V53.5382H66.3372V64.1306ZM79.7874 100.326H68.0378V90.3798H79.7874V100.326ZM79.7874 88.6745H68.0378V78.1055H79.7874V88.6745ZM79.7874 76.4049H68.0378V65.8312H79.7874V76.4049ZM79.7874 64.1306H68.0378V53.5101H79.7874V64.1306ZM93.3734 94.0433C93.3709 95.7087 92.7083 97.3052 91.5306 98.4829C90.353 99.6605 88.7565 100.323 87.091 100.326H81.4692V90.3798H93.3687L93.3734 94.0433ZM93.3734 88.6745H81.4739V78.1055H93.3734V88.6745ZM93.3734 76.4049H81.4739V65.8312H93.3734V76.4049ZM93.3734 64.1306H81.4739V53.5194C87.2222 53.5194 91.5463 53.571 93.3734 53.6319V64.1306Z\",\n\t\t\t\tclassName: \"brand300\",\n\t\t\t\tfill: \"#2C64EF\"\n\t\t\t}),\n\t\t\t/* @__PURE__ */ _jsx(\"path\", {\n\t\t\t\td: \"M73.6127 58.7852C55.665 67.5364 59.1459 78.2788 65.536 81.1084C71.3686 83.6851 81.0335 82.2141 85.8401 74.7136C90.4406 67.5364 84.3831 56.4427 68.2298 64.168\",\n\t\t\t\tclassName: \"brand200\",\n\t\t\t\tstroke: \"#A0B9F8\",\n\t\t\t\tstrokeWidth: 2.56261,\n\t\t\t\tstrokeMiterlimit: 10,\n\t\t\t\tstrokeLinecap: \"round\"\n\t\t\t}),\n\t\t\t/* @__PURE__ */ _jsx(\"path\", {\n\t\t\t\td: \"M164.456 22.5439H123.234C119.677 22.5439 116.793 25.428 116.793 28.9856V93.0321C116.793 96.5897 119.677 99.4737 123.234 99.4737H164.456C168.014 99.4737 170.898 96.5897 170.898 93.0321V28.9856C170.898 25.428 168.014 22.5439 164.456 22.5439Z\",\n\t\t\t\tfill: \"white\",\n\t\t\t\tclassName: \"brand300\",\n\t\t\t\tstroke: \"#2C64EF\",\n\t\t\t\tstrokeWidth: 2,\n\t\t\t\tstrokeMiterlimit: 10,\n\t\t\t\tstrokeLinecap: \"round\"\n\t\t\t}),\n\t\t\t/* @__PURE__ */ _jsx(\"path\", {\n\t\t\t\td: \"M162.601 28.4463H124.72C123.312 28.4463 122.171 29.5873 122.171 30.9948V41.2031C122.171 42.6106 123.312 43.7517 124.72 43.7517H162.601C164.009 43.7517 165.15 42.6106 165.15 41.2031V30.9948C165.15 29.5873 164.009 28.4463 162.601 28.4463Z\",\n\t\t\t\tclassName: \"brand300\",\n\t\t\t\tfill: \"#2C64EF\",\n\t\t\t\tstroke: \"#2C64EF\",\n\t\t\t\tstrokeWidth: 1.40545,\n\t\t\t\tstrokeMiterlimit: 10\n\t\t\t}),\n\t\t\t/* @__PURE__ */ _jsx(\"path\", {\n\t\t\t\td: \"M161.379 60.6826H125.942C123.86 60.6826 122.171 62.3711 122.171 64.4539V90.4314C122.171 92.5142 123.86 94.2027 125.942 94.2027H161.379C163.461 94.2027 165.15 92.5142 165.15 90.4314V64.4539C165.15 62.3711 163.461 60.6826 161.379 60.6826Z\",\n\t\t\t\tclassName: \"brand100\",\n\t\t\t\tfill: \"#C0D0FA\"\n\t\t\t}),\n\t\t\t/* @__PURE__ */ _jsx(\"path\", {\n\t\t\t\td: \"M161.379 60.6826H125.942C123.86 60.6826 122.171 62.3711 122.171 64.4539V90.4314C122.171 92.5142 123.86 94.2027 125.942 94.2027H161.379C163.461 94.2027 165.15 92.5142 165.15 90.4314V64.4539C165.15 62.3711 163.461 60.6826 161.379 60.6826Z\",\n\t\t\t\tclassName: \"brand300\",\n\t\t\t\tstroke: \"#2C64EF\",\n\t\t\t\tstrokeWidth: 1.95358,\n\t\t\t\tstrokeMiterlimit: 10,\n\t\t\t\tstrokeLinecap: \"round\"\n\t\t\t}),\n\t\t\t/* @__PURE__ */ _jsx(\"path\", {\n\t\t\t\td: \"M146.467 47.8936H123.68C122.847 47.8936 122.171 48.5689 122.171 49.4021V55.3237C122.171 56.1568 122.847 56.8322 123.68 56.8322H146.467C147.3 56.8322 147.975 56.1568 147.975 55.3237V49.4021C147.975 48.5689 147.3 47.8936 146.467 47.8936Z\",\n\t\t\t\tclassName: \"brand200\",\n\t\t\t\tfill: \"#A0B9F8\"\n\t\t\t}),\n\t\t\t/* @__PURE__ */ _jsx(\"path\", {\n\t\t\t\td: \"M146.467 47.8936H123.68C122.847 47.8936 122.171 48.5689 122.171 49.4021V55.3237C122.171 56.1568 122.847 56.8322 123.68 56.8322H146.467C147.3 56.8322 147.975 56.1568 147.975 55.3237V49.4021C147.975 48.5689 147.3 47.8936 146.467 47.8936Z\",\n\t\t\t\tclassName: \"brand300\",\n\t\t\t\tstroke: \"#2C64EF\",\n\t\t\t\tstrokeWidth: 1.95358,\n\t\t\t\tstrokeMiterlimit: 10,\n\t\t\t\tstrokeLinecap: \"round\"\n\t\t\t}),\n\t\t\t/* @__PURE__ */ _jsx(\"path\", {\n\t\t\t\td: \"M163.51 47.8936H152.309C151.708 47.8936 151.222 48.3802 151.222 48.9804V55.7453C151.222 56.3456 151.708 56.8322 152.309 56.8322H163.51C164.11 56.8322 164.597 56.3456 164.597 55.7453V48.9804C164.597 48.3802 164.11 47.8936 163.51 47.8936Z\",\n\t\t\t\tclassName: \"brand200\",\n\t\t\t\tfill: \"#A0B9F8\"\n\t\t\t}),\n\t\t\t/* @__PURE__ */ _jsx(\"path\", {\n\t\t\t\td: \"M163.51 47.8936H152.309C151.708 47.8936 151.222 48.3802 151.222 48.9804V55.7453C151.222 56.3456 151.708 56.8322 152.309 56.8322H163.51C164.11 56.8322 164.597 56.3456 164.597 55.7453V48.9804C164.597 48.3802 164.11 47.8936 163.51 47.8936Z\",\n\t\t\t\tclassName: \"brand300\",\n\t\t\t\tstroke: \"#2C64EF\",\n\t\t\t\tstrokeWidth: 1.95358,\n\t\t\t\tstrokeMiterlimit: 10,\n\t\t\t\tstrokeLinecap: \"round\"\n\t\t\t}),\n\t\t\t/* @__PURE__ */ _jsx(\"path\", {\n\t\t\t\td: \"M132.914 60.6826V94.1324\",\n\t\t\t\tclassName: \"brand300\",\n\t\t\t\tstroke: \"#2C64EF\",\n\t\t\t\tstrokeWidth: 1.95358,\n\t\t\t\tstrokeMiterlimit: 10,\n\t\t\t\tstrokeLinecap: \"round\"\n\t\t\t}),\n\t\t\t/* @__PURE__ */ _jsx(\"path\", {\n\t\t\t\td: \"M143.661 60.6826V94.1324\",\n\t\t\t\tclassName: \"brand300\",\n\t\t\t\tstroke: \"#2C64EF\",\n\t\t\t\tstrokeWidth: 1.95358,\n\t\t\t\tstrokeMiterlimit: 10,\n\t\t\t\tstrokeLinecap: \"round\"\n\t\t\t}),\n\t\t\t/* @__PURE__ */ _jsx(\"path\", {\n\t\t\t\td: \"M154.403 60.6826V94.1324\",\n\t\t\t\tclassName: \"brand300\",\n\t\t\t\tstroke: \"#2C64EF\",\n\t\t\t\tstrokeWidth: 1.95358,\n\t\t\t\tstrokeMiterlimit: 10,\n\t\t\t\tstrokeLinecap: \"round\"\n\t\t\t}),\n\t\t\t/* @__PURE__ */ _jsx(\"path\", {\n\t\t\t\td: \"M164.879 72.001H122.406\",\n\t\t\t\tclassName: \"brand300\",\n\t\t\t\tstroke: \"#2C64EF\",\n\t\t\t\tstrokeWidth: 1.95358,\n\t\t\t\tstrokeMiterlimit: 10,\n\t\t\t\tstrokeLinecap: \"round\"\n\t\t\t}),\n\t\t\t/* @__PURE__ */ _jsx(\"path\", {\n\t\t\t\td: \"M154.328 82.7012H122.677\",\n\t\t\t\tclassName: \"brand300\",\n\t\t\t\tstroke: \"#2C64EF\",\n\t\t\t\tstrokeWidth: 1.95358,\n\t\t\t\tstrokeMiterlimit: 10,\n\t\t\t\tstrokeLinecap: \"round\"\n\t\t\t}),\n\t\t\t/* @__PURE__ */ _jsx(\"path\", {\n\t\t\t\td: \"M105.76 117.196V125.085C105.76 127.156 113.12 128.833 122.199 128.833C131.278 128.833 138.638 127.156 138.638 125.085V117.196C138.638 115.13 131.278 113.448 122.199 113.448C113.12 113.448 105.76 115.13 105.76 117.196Z\",\n\t\t\t\tfill: \"white\",\n\t\t\t\tclassName: \"brand300\",\n\t\t\t\tstroke: \"#2C64EF\",\n\t\t\t\tstrokeWidth: 2,\n\t\t\t\tstrokeMiterlimit: 10,\n\t\t\t\tstrokeLinecap: \"round\"\n\t\t\t}),\n\t\t\t/* @__PURE__ */ _jsx(\"path\", {\n\t\t\t\td: \"M138.638 117.196C138.638 119.267 131.278 120.944 122.199 120.944C113.12 120.944 105.76 119.267 105.76 117.196\",\n\t\t\t\tfill: \"white\"\n\t\t\t}),\n\t\t\t/* @__PURE__ */ _jsx(\"path\", {\n\t\t\t\td: \"M138.638 117.196C138.638 119.267 131.278 120.944 122.199 120.944C113.12 120.944 105.76 119.267 105.76 117.196\",\n\t\t\t\tclassName: \"brand300\",\n\t\t\t\tstroke: \"#2C64EF\",\n\t\t\t\tstrokeWidth: 2,\n\t\t\t\tstrokeMiterlimit: 10,\n\t\t\t\tstrokeLinecap: \"round\"\n\t\t\t}),\n\t\t\t/* @__PURE__ */ _jsx(\"path\", {\n\t\t\t\td: \"M107.32 109.499V117.407C107.32 119.473 114.685 121.155 123.764 121.155C132.843 121.155 140.203 119.478 140.203 117.407V109.499C140.203 107.428 132.843 105.751 123.764 105.751C114.685 105.751 107.32 107.428 107.32 109.499Z\",\n\t\t\t\tfill: \"white\",\n\t\t\t\tclassName: \"brand300\",\n\t\t\t\tstroke: \"#2C64EF\",\n\t\t\t\tstrokeWidth: 2,\n\t\t\t\tstrokeMiterlimit: 10,\n\t\t\t\tstrokeLinecap: \"round\"\n\t\t\t}),\n\t\t\t/* @__PURE__ */ _jsx(\"path\", {\n\t\t\t\td: \"M140.203 109.499C140.203 111.565 132.843 113.247 123.764 113.247C114.685 113.247 107.32 111.57 107.32 109.499\",\n\t\t\t\tfill: \"white\"\n\t\t\t}),\n\t\t\t/* @__PURE__ */ _jsx(\"path\", {\n\t\t\t\td: \"M140.203 109.499C140.203 111.565 132.843 113.247 123.764 113.247C114.685 113.247 107.32 111.57 107.32 109.499\",\n\t\t\t\tclassName: \"brand300\",\n\t\t\t\tstroke: \"#2C64EF\",\n\t\t\t\tstrokeWidth: 2,\n\t\t\t\tstrokeMiterlimit: 10,\n\t\t\t\tstrokeLinecap: \"round\"\n\t\t\t}),\n\t\t\t/* @__PURE__ */ _jsx(\"path\", {\n\t\t\t\td: \"M164.288 102.884V110.792C164.288 112.862 171.648 114.54 180.727 114.54C189.806 114.54 197.166 112.862 197.166 110.792V102.884C197.166 100.818 189.806 99.1357 180.727 99.1357C171.648 99.1357 164.288 100.818 164.288 102.884Z\",\n\t\t\t\tfill: \"white\",\n\t\t\t\tclassName: \"brand300\",\n\t\t\t\tstroke: \"#2C64EF\",\n\t\t\t\tstrokeWidth: 2,\n\t\t\t\tstrokeMiterlimit: 10,\n\t\t\t\tstrokeLinecap: \"round\"\n\t\t\t}),\n\t\t\t/* @__PURE__ */ _jsx(\"path\", {\n\t\t\t\td: \"M197.166 102.884C197.166 104.954 189.806 106.632 180.727 106.632C171.648 106.632 164.288 104.954 164.288 102.884\",\n\t\t\t\tfill: \"white\"\n\t\t\t}),\n\t\t\t/* @__PURE__ */ _jsx(\"path\", {\n\t\t\t\td: \"M197.166 102.884C197.166 104.954 189.806 106.632 180.727 106.632C171.648 106.632 164.288 104.954 164.288 102.884\",\n\t\t\t\tclassName: \"brand300\",\n\t\t\t\tstroke: \"#2C64EF\",\n\t\t\t\tstrokeWidth: 2,\n\t\t\t\tstrokeMiterlimit: 10,\n\t\t\t\tstrokeLinecap: \"round\"\n\t\t\t}),\n\t\t\t/* @__PURE__ */ _jsx(\"path\", {\n\t\t\t\td: \"M101.301 101.797V109.705C101.301 111.775 108.66 113.453 117.74 113.453C126.819 113.453 134.179 111.775 134.179 109.705V101.797C134.179 99.7307 126.819 98.0488 117.74 98.0488C108.66 98.0488 101.301 99.7307 101.301 101.797Z\",\n\t\t\t\tfill: \"white\",\n\t\t\t\tclassName: \"brand300\",\n\t\t\t\tstroke: \"#2C64EF\",\n\t\t\t\tstrokeWidth: 2,\n\t\t\t\tstrokeMiterlimit: 10,\n\t\t\t\tstrokeLinecap: \"round\"\n\t\t\t}),\n\t\t\t/* @__PURE__ */ _jsx(\"path\", {\n\t\t\t\td: \"M134.179 101.797C134.179 103.868 126.819 105.545 117.74 105.545C108.66 105.545 101.301 103.868 101.301 101.797\",\n\t\t\t\tfill: \"white\"\n\t\t\t}),\n\t\t\t/* @__PURE__ */ _jsx(\"path\", {\n\t\t\t\td: \"M134.179 101.797C134.179 103.868 126.819 105.545 117.74 105.545C108.66 105.545 101.301 103.868 101.301 101.797\",\n\t\t\t\tclassName: \"brand300\",\n\t\t\t\tstroke: \"#2C64EF\",\n\t\t\t\tstrokeWidth: 2,\n\t\t\t\tstrokeMiterlimit: 10,\n\t\t\t\tstrokeLinecap: \"round\"\n\t\t\t}),\n\t\t\t/* @__PURE__ */ _jsx(\"path\", {\n\t\t\t\td: \"M105.76 91.0223V98.9303C105.76 101.001 113.12 102.678 122.199 102.678C131.278 102.678 138.638 101.001 138.638 98.9303V91.0223C138.638 88.9563 131.278 87.2744 122.199 87.2744C113.12 87.2744 105.76 88.9563 105.76 91.0223Z\",\n\t\t\t\tfill: \"white\",\n\t\t\t\tclassName: \"brand300\",\n\t\t\t\tstroke: \"#2C64EF\",\n\t\t\t\tstrokeWidth: 2,\n\t\t\t\tstrokeMiterlimit: 10,\n\t\t\t\tstrokeLinecap: \"round\"\n\t\t\t}),\n\t\t\t/* @__PURE__ */ _jsx(\"path\", {\n\t\t\t\td: \"M138.638 91.0215C138.638 93.0922 131.278 94.7694 122.199 94.7694C113.12 94.7694 105.76 93.0922 105.76 91.0215\",\n\t\t\t\tclassName: \"brand300\",\n\t\t\t\tstroke: \"#2C64EF\",\n\t\t\t\tstrokeWidth: 1.95358,\n\t\t\t\tstrokeMiterlimit: 10,\n\t\t\t\tstrokeLinecap: \"round\"\n\t\t\t}),\n\t\t\t/* @__PURE__ */ _jsx(\"path\", {\n\t\t\t\td: \"M151.929 118.812L159.449 123.966C167.005 126.955 179.523 122.438 181.416 111.317C182.432 105.371 180.919 100.654 178.221 97.4634L171.161 91.5137\",\n\t\t\t\tfill: \"white\"\n\t\t\t}),\n\t\t\t/* @__PURE__ */ _jsx(\"path\", {\n\t\t\t\td: \"M151.929 118.812L159.449 123.966C167.005 126.955 179.523 122.438 181.416 111.317C182.432 105.371 180.919 100.654 178.221 97.4634L171.161 91.5137\",\n\t\t\t\tclassName: \"brand300\",\n\t\t\t\tstroke: \"#2C64EF\",\n\t\t\t\tstrokeWidth: 2,\n\t\t\t\tstrokeMiterlimit: 10,\n\t\t\t\tstrokeLinecap: \"round\"\n\t\t\t}),\n\t\t\t/* @__PURE__ */ _jsx(\"path\", {\n\t\t\t\td: \"M164.532 89.6119C172.112 89.7805 178.806 96.5173 176.885 107.775C175.012 118.878 162.475 123.394 154.918 120.424C149.015 118.082 144.485 110.815 148.055 100.654C150.707 93.0833 158.999 89.4807 164.532 89.6119Z\",\n\t\t\t\tfill: \"white\",\n\t\t\t\tclassName: \"brand300\",\n\t\t\t\tstroke: \"#2C64EF\",\n\t\t\t\tstrokeWidth: 2,\n\t\t\t\tstrokeMiterlimit: 10,\n\t\t\t\tstrokeLinecap: \"round\"\n\t\t\t}),\n\t\t\t/* @__PURE__ */ _jsx(\"path\", {\n\t\t\t\td: \"M161.969 112.67L161.833 113.879C161.814 114.037 161.763 114.189 161.684 114.327C161.605 114.464 161.499 114.585 161.372 114.68C161.245 114.775 161.1 114.844 160.945 114.882C160.791 114.92 160.631 114.926 160.474 114.9C160.153 114.855 159.862 114.687 159.661 114.432C159.46 114.178 159.366 113.855 159.397 113.532L159.532 112.333C158.235 112.054 157.012 111.504 155.944 110.717C155.76 110.575 155.607 110.397 155.495 110.193C155.383 109.99 155.314 109.766 155.293 109.535C155.271 109.303 155.298 109.07 155.37 108.85C155.443 108.629 155.56 108.426 155.714 108.253C156.001 107.937 156.396 107.741 156.821 107.705C157.246 107.668 157.669 107.794 158.005 108.056C158.958 108.793 160.09 109.264 161.285 109.419C162.568 109.583 163.454 109.143 163.533 108.449C163.627 107.62 162.681 107.18 161.149 106.669C158.83 105.915 155.602 104.94 155.995 101.595C156.239 99.4591 158.113 97.7257 161.186 97.6507L161.336 96.3343C161.376 96.0119 161.539 95.7176 161.792 95.5132C162.044 95.3087 162.366 95.2101 162.69 95.238C162.849 95.2479 163.004 95.2898 163.146 95.3614C163.288 95.433 163.415 95.5327 163.517 95.6545C163.62 95.7762 163.696 95.9176 163.743 96.0698C163.789 96.2221 163.804 96.3822 163.786 96.5404L163.636 97.8897C164.639 98.097 165.6 98.4707 166.48 98.9953C166.696 99.1265 166.879 99.3052 167.015 99.5178C167.151 99.7304 167.237 99.9713 167.265 100.222C167.294 100.473 167.266 100.727 167.181 100.965C167.097 101.203 166.96 101.419 166.78 101.595C166.495 101.887 166.12 102.073 165.716 102.123C165.311 102.173 164.902 102.084 164.555 101.872C163.671 101.305 162.669 100.946 161.627 100.822C160.38 100.701 159.846 101.146 159.776 101.759C159.692 102.509 160.554 102.86 162.147 103.333C164.54 104.097 167.909 105.175 167.534 108.487C167.248 111.157 165.257 112.745 161.969 112.67Z\",\n\t\t\t\tclassName: \"brand300\",\n\t\t\t\tfill: \"#2C64EF\"\n\t\t\t})\n\t\t]\n\t}), /* @__PURE__ */ _jsx(\"defs\", { children: /* @__PURE__ */ _jsx(\"clipPath\", {\n\t\tid: \"clip0_8039_8768\",\n\t\tchildren: /* @__PURE__ */ _jsx(\"rect\", {\n\t\t\twidth: 198.145,\n\t\t\theight: 129.826,\n\t\t\tfill: \"white\"\n\t\t})\n\t}) })]\n});\nconst ForwardRef = forwardRef(SvgUpcomingTaxDeadlineAlert);\nexport { ForwardRef as ReactComponent };\n"],"mappings":";;AAGA,IAAM,IAAA,CAA+B,GAAO,MAAwB,gBAAA,EAAM,OAAO;AAAA,EAChF,OAAO;AAAA,EACP,SAAS;AAAA,EACT,MAAM;AAAA,EACN,OAAO;AAAA,EACP,KAAA;AAAA,EACA,GAAG;AAAA,EACH,UAAU,CAAiB,gBAAA,EAAM,KAAK;AAA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,GAAmB,gBAAA,EAAK,QAAQ,EAAE,UAA0B,gBAAA,EAAK,YAAY;AAAA,IAC7E,IAAI;AAAA,IACJ,UAA0B,gBAAA,EAAK,QAAQ;AAAA,MACtC,OAAO;AAAA,MACP,QAAQ;AAAA,MACR,MAAM;AAAA,IACP,CAAC;AAAA,EACF,CAAC,EAAE,CAAC,CAAC;AACN,CAAC,GACK,IAAa,EAAW,CAA2B"}
@@ -5,6 +5,6 @@ export interface SVGImageLayoutConfig {
5
5
  /** Draw the slot's `saved_label` as a status under the image (full card only). */
6
6
  showSavedLabel?: boolean;
7
7
  }
8
- export type SVGImageVariant = 'holiday' | 'remainder' | 'savings' | 'savings_account_picker' | 'savings_account_saved';
8
+ export type SVGImageVariant = 'holiday' | 'reminder' | 'savings' | 'savings_account_picker' | 'savings_account_saved';
9
9
  /** Variant table for resolveVariantConfig; `isCibc` picks the CIBC art where a variant has one. */
10
10
  export declare const getLayoutConfig: (isCibc?: boolean) => Record<SVGImageVariant, SVGImageLayoutConfig>;
@@ -10,7 +10,7 @@ var a = (e = {}) => ({
10
10
  ...e
11
11
  }), d = (e = !1) => ({
12
12
  holiday: { image: e ? m : t },
13
- remainder: { image: e ? r : o },
13
+ reminder: { image: e ? r : o },
14
14
  savings: a(),
15
15
  savings_account_picker: a({ showPicker: !0 }),
16
16
  savings_account_saved: a({ showSavedLabel: !0 })
@@ -1 +1 @@
1
- {"version":3,"file":"layout.es.js","names":[],"sources":["../../../../../src/insights-v2/blocks/ImageBlocks/SVGImageBlock/layout.ts"],"sourcesContent":["// SVGs to be moved to S3 and imported from there.\nimport { ReactComponent as UpcomingTaxDeadline } from './images/UpcomingTaxDeadlineAlert.svg'\nimport { ReactComponent as UpcomingTaxDeadlineCIBC } from './images/UpcomingTaxDeadlineAlertCIBC.svg'\n\nimport { ReactComponent as FederalBankHoliday } from './images/FederalBankHoliday.svg'\nimport { ReactComponent as FederalBankHolidayCIBC } from './images/FederalBankHolidayCibc.svg'\n\nimport { ReactComponent as DesignateEmergencySavingsAccount } from './images/DesignateEmergencySavingsAccount.svg'\n\nexport interface SVGImageLayoutConfig {\n image: React.FC<React.SVGProps<SVGSVGElement>>\n /** Draw the savings-account picker under the image (full card only). */\n showPicker?: boolean\n /** Draw the slot's `saved_label` as a status under the image (full card only). */\n showSavedLabel?: boolean\n}\n\n// Designate Emergency Savings Account (ditto layout variants): the illustration alone (open_account),\n// with the account picker (choose_account), or with the \"Account Saved!\" status in the card body\n// (change_account, the card the beat refreshes into after Save; Figma 1943:219096).\nconst emergencySavings = (overrides: Partial<SVGImageLayoutConfig> = {}): SVGImageLayoutConfig => ({\n image: DesignateEmergencySavingsAccount,\n showPicker: false,\n showSavedLabel: false,\n ...overrides,\n})\n\n// Keys must match ditto's variant names exactly.\nexport type SVGImageVariant =\n | 'holiday'\n | 'remainder'\n | 'savings'\n | 'savings_account_picker'\n | 'savings_account_saved'\n\n/** Variant table for resolveVariantConfig; `isCibc` picks the CIBC art where a variant has one. */\nexport const getLayoutConfig = (\n isCibc: boolean = false,\n): Record<SVGImageVariant, SVGImageLayoutConfig> => ({\n holiday: {\n image: isCibc ? FederalBankHolidayCIBC : FederalBankHoliday,\n },\n remainder: {\n image: isCibc ? UpcomingTaxDeadlineCIBC : UpcomingTaxDeadline,\n },\n savings: emergencySavings(),\n savings_account_picker: emergencySavings({ showPicker: true }),\n savings_account_saved: emergencySavings({ showSavedLabel: true }),\n})\n"],"mappings":";;;;;AAoBA,IAAM,IAAA,CAAoB,IAA2C,CAAC,OAA6B;AAAA,EACjG,OAAO;AAAA,EACP,YAAY;AAAA,EACZ,gBAAgB;AAAA,EAChB,GAAG;AACL,IAWa,IAAA,CACX,IAAkB,QACiC;AAAA,EACnD,SAAS,EACP,OAAO,IAAS,IAAyB,EAC3C;AAAA,EACA,WAAW,EACT,OAAO,IAAS,IAA0B,EAC5C;AAAA,EACA,SAAS,EAAiB;AAAA,EAC1B,wBAAwB,EAAiB,EAAE,YAAY,GAAK,CAAC;AAAA,EAC7D,uBAAuB,EAAiB,EAAE,gBAAgB,GAAK,CAAC;AAClE"}
1
+ {"version":3,"file":"layout.es.js","names":[],"sources":["../../../../../src/insights-v2/blocks/ImageBlocks/SVGImageBlock/layout.ts"],"sourcesContent":["// SVGs to be moved to S3 and imported from there.\nimport { ReactComponent as UpcomingTaxDeadline } from './images/UpcomingTaxDeadlineAlert.svg'\nimport { ReactComponent as UpcomingTaxDeadlineCIBC } from './images/UpcomingTaxDeadlineAlertCIBC.svg'\n\nimport { ReactComponent as FederalBankHoliday } from './images/FederalBankHoliday.svg'\nimport { ReactComponent as FederalBankHolidayCIBC } from './images/FederalBankHolidayCibc.svg'\n\nimport { ReactComponent as DesignateEmergencySavingsAccount } from './images/DesignateEmergencySavingsAccount.svg'\n\nexport interface SVGImageLayoutConfig {\n image: React.FC<React.SVGProps<SVGSVGElement>>\n /** Draw the savings-account picker under the image (full card only). */\n showPicker?: boolean\n /** Draw the slot's `saved_label` as a status under the image (full card only). */\n showSavedLabel?: boolean\n}\n\n// Designate Emergency Savings Account (ditto layout variants): the illustration alone (open_account),\n// with the account picker (choose_account), or with the \"Account Saved!\" status in the card body\n// (change_account, the card the beat refreshes into after Save; Figma 1943:219096).\nconst emergencySavings = (overrides: Partial<SVGImageLayoutConfig> = {}): SVGImageLayoutConfig => ({\n image: DesignateEmergencySavingsAccount,\n showPicker: false,\n showSavedLabel: false,\n ...overrides,\n})\n\n// Keys must match ditto's variant names exactly.\nexport type SVGImageVariant =\n | 'holiday'\n | 'reminder'\n | 'savings'\n | 'savings_account_picker'\n | 'savings_account_saved'\n\n/** Variant table for resolveVariantConfig; `isCibc` picks the CIBC art where a variant has one. */\nexport const getLayoutConfig = (\n isCibc: boolean = false,\n): Record<SVGImageVariant, SVGImageLayoutConfig> => ({\n holiday: {\n image: isCibc ? FederalBankHolidayCIBC : FederalBankHoliday,\n },\n reminder: {\n image: isCibc ? UpcomingTaxDeadlineCIBC : UpcomingTaxDeadline,\n },\n savings: emergencySavings(),\n savings_account_picker: emergencySavings({ showPicker: true }),\n savings_account_saved: emergencySavings({ showSavedLabel: true }),\n})\n"],"mappings":";;;;;AAoBA,IAAM,IAAA,CAAoB,IAA2C,CAAC,OAA6B;AAAA,EACjG,OAAO;AAAA,EACP,YAAY;AAAA,EACZ,gBAAgB;AAAA,EAChB,GAAG;AACL,IAWa,IAAA,CACX,IAAkB,QACiC;AAAA,EACnD,SAAS,EACP,OAAO,IAAS,IAAyB,EAC3C;AAAA,EACA,UAAU,EACR,OAAO,IAAS,IAA0B,EAC5C;AAAA,EACA,SAAS,EAAiB;AAAA,EAC1B,wBAAwB,EAAiB,EAAE,YAAY,GAAK,CAAC;AAAA,EAC7D,uBAAuB,EAAiB,EAAE,gBAAgB,GAAK,CAAC;AAClE"}
@@ -87,6 +87,7 @@ var i = (e) => {
87
87
  })),
88
88
  [t.MAKE_TRANSFER_ACTION_BLOCK]: r(() => ({
89
89
  Component: W,
90
+ headerAction: "close",
90
91
  usePrepare: i,
91
92
  title: V
92
93
  })),
@@ -1 +1 @@
1
- {"version":3,"file":"blocks.es.js","names":[],"sources":["../../../src/insights-v2/mappings/blocks.ts"],"sourcesContent":["import {\n AccountBlock,\n AccountSwitchBlock,\n BarchartBlock,\n BudgetBlock,\n DebtsBlock,\n DetailedAccountBlock,\n DonutChartBlock,\n GasPurchaseBlock,\n GoalsBlock,\n MerchantBlock,\n DoubleBarChartBlock,\n DoubleProgressBarBlock,\n NoSpendDaysBlock,\n QuizBlock,\n RepeatingTransactionBlock,\n SaveExtraBlock,\n SavingsOpportunityBlock,\n SavingsSummaryBlock,\n SVGImageBlock,\n UpcomingSubscriptionBlock,\n WeeklySmallPurchasesBlock,\n WithdrawalBlock,\n TransactionBlock,\n} from '../blocks'\nimport StepChartBlock from '../blocks/ChartBlocks/StepChartBlock'\nimport ImageBlock from '../blocks/ImageBlocks/ImageBlock'\n\nimport type { Beat, GlobalCopy, InsightsPayload } from '../../core'\nimport { buildDynamicCopy } from '../../core/utils/Localization'\nimport { ContactSupportActionBlock } from '../actionBlocks/ContactSupportActionBlock'\nimport { FeedbackModalActionBlock } from '../actionBlocks/FeedbackModalActionBlock'\nimport { ConnectionDetailActionBlock } from '../actionBlocks/ConnectionDetailActionBlock'\nimport { ConnectWidgetActionBlock } from '../actionBlocks/ConnectWidgetActionBlock'\nimport { SurveyModalActionBlock } from '../actionBlocks/SurveyModalActionBlock'\nimport { SubscriptionStatusModalBlock } from '../actionBlocks/SubscriptionStatusModalBlock'\nimport { PlaceholderActionBlock } from '../actionBlocks/PlaceholderActionBlock'\nimport { MakeTransferActionBlockLayer } from '../actionBlocks/MakeTransferActionBlock/MakeTransferActionBlockLayer'\nimport { getMakeTransferDrawerTitle } from '../actionBlocks/MakeTransferActionBlock/layout'\nimport { TransactionHistoryBlock } from '../actionBlocks/TransactionHistoryBlock/TransactionHistoryBlock'\nimport { getDrawerHeaderTitle } from '../actionBlocks/TransactionHistoryBlock/utils'\nimport { useTransactionHistoryPrepare } from '../actionBlocks/TransactionHistoryBlock/useTransactionHistoryPrepare'\nimport {\n TransactionDetailsBlock,\n useTransactionDetailsPrepare,\n} from '../actionBlocks/TransactionDetailsBlock'\nimport {\n RecurringTransactionBlock,\n useRecurringTransactionPrepare,\n} from '../actionBlocks/RecurringTransactionBlock'\nimport { TransactionListBlock } from '../actionBlocks/TransactionListBlock'\nimport { getTransactionListDrawerTitle } from '../actionBlocks/TransactionListBlock/layout'\nimport { RemainingCashBlock } from '../actionBlocks/RemainingCashBlock'\nimport { AmountInputModalBlock } from '../actionBlocks/AmountInputModalBlock'\nimport { OverdraftBlock, useOverdraftPrepare } from '../actionBlocks/OverdraftBlock'\nimport { AccountListBlock, useAccountListPrepare } from '../actionBlocks/AccountListBlock'\nimport { EmergencySavingsBlock } from '../actionBlocks/EmergencySavingsBlock'\nimport {\n CreditUtilizationBlock,\n useCreditUtilizationPrepare,\n} from '../actionBlocks/CreditUtilizationBlock'\nimport {\n PayoffCalculatorBlock,\n usePayoffCalculatorPrepare,\n} from '../actionBlocks/PayoffCalculatorBlock'\nimport { BudgetDetailsBlock } from '../actionBlocks/BudgetDetailsBlock'\nimport { useBudgetDetailsPrepare } from '../actionBlocks/BudgetDetailsBlock/useBudgetDetailsPrepare'\nimport { resolveBudgetSubject } from '../actionBlocks/BudgetDetailsBlock/layout'\nimport { AccountDetailsBlock, useAccountDetailsPrepare } from '../actionBlocks/AccountDetailsBlock'\nimport { HelpBlock } from '../actionBlocks/HelpBlock'\nimport {\n PayoffStrategiesBlock,\n usePayoffStrategiesPrepare,\n} from '../actionBlocks/PayoffStrategiesBlock'\nimport { QuizMerchantBlock } from '../actionBlocks/QuizMerchantBlock'\n// Keys live in ./actionBlocksKey (imported directly by chart blocks/tests too) to avoid a\n// circular import between this module and the chart blocks — see that file for details.\nimport { actionBlocksKey } from './actionBlocksKey'\n\n// Drilldown indexes are not passed down: action blocks read them from\n// InsightsV2Store (useInsightsV2Store().actionDrawer).\nexport interface ActionBlockProps {\n beat: Beat\n}\n\nconst noop = (_: ActionBlockProps) => {}\n\n// Re-exported so existing `hasDrawerBlock` imports from this module keep working.\nexport { hasDrawerBlock } from './hasDrawerBlock'\n\nexport interface ActionBlockEntry {\n Component: React.ComponentType<ActionBlockProps>\n usePrepare: (props: ActionBlockProps) => void // required; default to noop in each entry\n // Drawer title from the CTA's variant and copy; falls back to the CTA label when empty.\n title?: (variant: string | null | undefined, copy: GlobalCopy, beat?: Beat) => string\n // 'drawer' (default) or 'modal' (component renders its own dialog, no Drawer wrapper).\n presentation?: 'drawer' | 'modal'\n // The drawer header's close control: 'back' (default, arrow on the left) or 'close' (X on the right).\n headerAction?: 'back' | 'close'\n}\n\n// Registry of drawer drilldowns, keyed by the `block` name the backend sends Add\n// `usePrepare` when the block needs to load data before rendering.\n\n/**\n * Reads its imports on access, not at load: some blocks import this registry back through\n * `ActionBlockLayer`, so a value copied at load would still be `undefined`.\n */\nconst liveEntry = (resolve: () => ActionBlockEntry): ActionBlockEntry => ({\n get Component() {\n return resolve().Component\n },\n get usePrepare() {\n return resolve().usePrepare\n },\n get title() {\n return resolve().title\n },\n get presentation() {\n return resolve().presentation\n },\n get headerAction() {\n return resolve().headerAction\n },\n})\n\nexport const actionBlocks = {\n [actionBlocksKey.PLACEHOLDER_ACTION_BLOCK]: liveEntry(() => ({\n Component: PlaceholderActionBlock,\n usePrepare: noop,\n title: () => 'Action Block Layer Drilldown',\n })),\n [actionBlocksKey.MAKE_TRANSFER_ACTION_BLOCK]: liveEntry(() => ({\n Component: MakeTransferActionBlockLayer,\n usePrepare: noop,\n title: getMakeTransferDrawerTitle,\n })),\n [actionBlocksKey.TRANSCATION_HISTORY_ACTION_BLOCK]: liveEntry(() => ({\n Component: TransactionHistoryBlock,\n usePrepare: useTransactionHistoryPrepare,\n title: getDrawerHeaderTitle,\n })),\n [actionBlocksKey.TRANSACTION_DETAILS_ACTION_BLOCK]: liveEntry(() => ({\n Component: TransactionDetailsBlock,\n usePrepare: useTransactionDetailsPrepare,\n title: () => 'Transaction Details',\n })),\n // Expense Details for one recurring subscription. Which subscription a beat names is resolved in\n // `RecurringTransactionBlock/subscriptionBeats.ts`, not through this registry.\n [actionBlocksKey.RECURRING_TRANSACTION_ACTION_BLOCK]: liveEntry(() => ({\n Component: RecurringTransactionBlock,\n usePrepare: useRecurringTransactionPrepare,\n title: (_variant, copy) => copy.recurring?.expense_details ?? '',\n })),\n // Remaining Cash for the Payday Cash Left Over Status beat. Store-driven: reuses the recurring\n // loader, which also loads accounts and categories, so CashflowStore's computeds are ready.\n [actionBlocksKey.REMAINING_CASH_ACTION_BLOCK]: liveEntry(() => ({\n Component: RemainingCashBlock,\n usePrepare: useRecurringTransactionPrepare,\n title: (_variant, copy) => copy.insights_feed?.remaining_cash?.title ?? '',\n })),\n // The block renders its own drawer (the help module's RequestSupport) on top of the action\n // drawer, so the action drawer's title is the CTA label.\n [actionBlocksKey.CONTACT_SUPPORT_ACTION_BLOCK]: liveEntry(() => ({\n Component: ContactSupportActionBlock,\n usePrepare: noop,\n title: (_variant, copy) => copy.help?.request_support ?? '',\n })),\n [actionBlocksKey.FEEDBACK_MODAL_ACTION_BLOCK]: liveEntry(() => ({\n Component: FeedbackModalActionBlock,\n usePrepare: noop,\n presentation: 'modal',\n })),\n [actionBlocksKey.CONNECTION_DETAIL_ACTION_BLOCK]: liveEntry(() => ({\n Component: ConnectionDetailActionBlock,\n usePrepare: noop,\n title: (_variant, copy) =>\n copy.insights_feed?.connection_details?.connection_details_drawer_title ?? '',\n })),\n // Boots MX's Connect widget (web-widget-sdk iframe) inside the action\n // drawer; the drawer title falls back to the CTA label.\n [actionBlocksKey.CONNECT_WIDGET_ACTION_BLOCK]: liveEntry(() => ({\n Component: ConnectWidgetActionBlock,\n usePrepare: noop,\n })),\n [actionBlocksKey.SURVEY_MODAL_ACTION_BLOCK]: liveEntry(() => ({\n Component: SurveyModalActionBlock,\n usePrepare: noop,\n presentation: 'modal',\n })),\n // Unexpected Subscription Payment's Subscription Status modal.\n [actionBlocksKey.SUBSCRIPTION_STATUS_MODAL_ACTION_BLOCK]: liveEntry(() => ({\n Component: SubscriptionStatusModalBlock,\n usePrepare: noop,\n presentation: 'modal',\n })),\n [actionBlocksKey.TRANSACTION_LIST_ACTION_BLOCK]: liveEntry(() => ({\n Component: TransactionListBlock,\n usePrepare: useTransactionDetailsPrepare,\n title: getTransactionListDrawerTitle,\n })),\n // One whole-dollar setting in a dialog; the CTA variant picks which (low-balance threshold or\n // safety net). A modal: no drawer, so no drawer title.\n [actionBlocksKey.AMOUNT_INPUT_MODAL_ACTION_BLOCK]: liveEntry(() => ({\n Component: AmountInputModalBlock,\n presentation: 'modal',\n // Loads inside the block: it mounts only while open, so mounting is the open-time load.\n usePrepare: noop,\n })),\n // Savings Opportunity's safety net: `safety_net_block` opens the amount-input modal.\n [actionBlocksKey.SAFETY_NET_ACTION_BLOCK]: liveEntry(() => ({\n Component: AmountInputModalBlock,\n presentation: 'modal',\n usePrepare: noop,\n })),\n // Transparent Overdraft's \"Learn more\": the projected overdraft, its account and the confidence\n // meter. Titled from the beat, as the pulse drawer was.\n [actionBlocksKey.OVERDRAFT_ACTION_BLOCK]: liveEntry(() => ({\n Component: OverdraftBlock,\n usePrepare: useOverdraftPrepare,\n title: (_variant, _copy, beat) => beat?.insights_payload?.title ?? '',\n })),\n // Credit Utilization's \"Learn more\": donut summary, legend and the per-card list. Loads accounts\n // for the institution logos; the rows themselves ride on the beat.\n [actionBlocksKey.CREDIT_UTILIZATION_ACTION_BLOCK]: liveEntry(() => ({\n Component: CreditUtilizationBlock,\n usePrepare: useCreditUtilizationPrepare,\n title: (_variant, copy) => copy.insights_feed?.credit_utilization?.title ?? '',\n })),\n [actionBlocksKey.EMERGENCY_SAVINGS_ACTION_BLOCK]: liveEntry(() => ({\n Component: EmergencySavingsBlock,\n usePrepare: noop,\n title: (_variant, _copy, beat) => beat?.insights_payload?.title ?? '',\n })),\n // Monthly Credit Card Interest Summary's \"Learn how to save\": the credit card payoff calculator.\n [actionBlocksKey.PAYOFF_CALCULATOR_ACTION_BLOCK]: liveEntry(() => ({\n Component: PayoffCalculatorBlock,\n usePrepare: usePayoffCalculatorPrepare,\n title: (_variant, copy) => copy.insights_feed?.payoff_calculator?.title ?? '',\n })),\n [actionBlocksKey.BUDGET_DETAILS_ACTION_BLOCK]: liveEntry(() => ({\n Component: BudgetDetailsBlock,\n // Figma's Budget Details: a close X on the right, not the back arrow.\n headerAction: 'close',\n // Loads the budget data and points the transaction store at the budget month, as pulse did.\n usePrepare: useBudgetDetailsPrepare,\n // \"{subject} Budget\" (subject by the CTA variant), else the card's title.\n title: (variant, copy, beat) => {\n const subject = beat ? resolveBudgetSubject(variant, beat, copy) : undefined\n if (subject && copy.budgets?.details_type_title) {\n return buildDynamicCopy(copy.budgets.details_type_title, subject) as string\n }\n\n return beat?.insights_payload?.title || copy.budgets?.details_title || ''\n },\n })),\n // The accounts widget's account details (header, trend chart, tabs, connection, actions) for the\n // beat's primary account. Shared by every beat that opens an account.\n [actionBlocksKey.ACCOUNT_DETAILS_ACTION_BLOCK]: liveEntry(() => ({\n Component: AccountDetailsBlock,\n usePrepare: useAccountDetailsPrepare,\n title: (_variant, copy) => copy.accounts?.account_details ?? '',\n })),\n // Monthly Obligations Status's account list: the beat's calculation and the accounts behind it.\n [actionBlocksKey.ACCOUNT_LIST_ACTION_BLOCK]: liveEntry(() => ({\n Component: AccountListBlock,\n usePrepare: useAccountListPrepare,\n title: (_variant, copy) => copy.insights_feed?.account_list?.title ?? '',\n })),\n // A beat's \"Learn More\": its pre-localized help title and body from the payload's\n // `drilldown_data`. The drawer title is the CTA label.\n [actionBlocksKey.HELP_ACTION_BLOCK]: liveEntry(() => ({\n Component: HelpBlock,\n usePrepare: noop,\n })),\n // Debt Payoff Strategies' \"Learn more\": Avalanche / Snowball tabs over the beat's debt accounts.\n [actionBlocksKey.PAYOFF_STRATEGIES_ACTION_BLOCK]: liveEntry(() => ({\n Component: PayoffStrategiesBlock,\n usePrepare: usePayoffStrategiesPrepare,\n title: (_variant, copy) => copy.insights_feed?.general?.debt_payoff_strategies ?? '',\n })),\n // A Monthly Top Transacted Merchant result row: that merchant's rank, totals and transactions.\n [actionBlocksKey.QUIZ_MERCHANT_ACTION_BLOCK]: liveEntry(() => ({\n Component: QuizMerchantBlock,\n usePrepare: useTransactionDetailsPrepare,\n title: (_variant, copy) => copy.insights_feed?.quiz_block?.drawer_title ?? '',\n })),\n} as Record<string, ActionBlockEntry>\n\nexport const blocks = {\n account_block: AccountBlock,\n account_switch_block: AccountSwitchBlock,\n direct_deposit_block: DetailedAccountBlock,\n bar_chart_block: BarchartBlock,\n budget_block: BudgetBlock,\n debts_block: DebtsBlock,\n donut_chart_block: DonutChartBlock,\n double_bar_chart_block: DoubleBarChartBlock,\n double_progress_bar_block: DoubleProgressBarBlock,\n gas_purchase_block: GasPurchaseBlock,\n goals_block: GoalsBlock,\n image_block: ImageBlock,\n merchant_block: MerchantBlock,\n no_spend_days_block: NoSpendDaysBlock,\n quiz_block: QuizBlock,\n repeating_transaction_block: RepeatingTransactionBlock,\n save_extra_block: SaveExtraBlock,\n savings_amount_block: SavingsOpportunityBlock,\n savings_summary_block: SavingsSummaryBlock,\n step_chart_block: StepChartBlock,\n svg_image_block: SVGImageBlock,\n upcoming_bill_block: RepeatingTransactionBlock,\n upcoming_subscription_block: UpcomingSubscriptionBlock,\n weekly_small_purchases_block: WeeklySmallPurchasesBlock,\n withdrawal_block: WithdrawalBlock,\n transaction_block: TransactionBlock,\n} as Record<string, React.ComponentType<{ payload: InsightsPayload; beatGuid?: string }>>\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAqFA,IAAM,IAAA,CAAQ,MAAwB;AAAC,GAuBjC,IAAA,CAAa,OAAuD;AAAA,EACxE,IAAI,YAAY;AACd,WAAO,EAAQ,EAAE;AAAA,EACnB;AAAA,EACA,IAAI,aAAa;AACf,WAAO,EAAQ,EAAE;AAAA,EACnB;AAAA,EACA,IAAI,QAAQ;AACV,WAAO,EAAQ,EAAE;AAAA,EACnB;AAAA,EACA,IAAI,eAAe;AACjB,WAAO,EAAQ,EAAE;AAAA,EACnB;AAAA,EACA,IAAI,eAAe;AACjB,WAAO,EAAQ,EAAE;AAAA,EACnB;AACF,IAEa,KAAe;AAAA,EACzB,CAAA,EAAgB,wBAAA,GAA2B,EAAA,OAAiB;AAAA,IAC3D,WAAW;AAAA,IACX,YAAY;AAAA,IACZ,OAAA,MAAa;AAAA,EACf,EAAE;AAAA,EACD,CAAA,EAAgB,0BAAA,GAA6B,EAAA,OAAiB;AAAA,IAC7D,WAAW;AAAA,IACX,YAAY;AAAA,IACZ,OAAO;AAAA,EACT,EAAE;AAAA,EACD,CAAA,EAAgB,gCAAA,GAAmC,EAAA,OAAiB;AAAA,IACnE,WAAW;AAAA,IACX,YAAY;AAAA,IACZ,OAAO;AAAA,EACT,EAAE;AAAA,EACD,CAAA,EAAgB,gCAAA,GAA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AChB,qBAAqB;AAAA,EACrB,YAAY;AAAA,EACZ,6BAA6B;AAAA,EAC7B,kBAAkB;AAAA,EAClB,sBAAsB;AAAA,EACtB,uBAAuB;AAAA,EACvB,kBAAkB;AAAA,EAClB,iBAAiB;AAAA,EACjB,qBAAqB;AAAA,EACrB,6BAA6B;AAAA,EAC7B,8BAA8B;AAAA,EAC9B,kBAAkB;AAAA,EAClB,mBAAmB;AACrB"}
1
+ {"version":3,"file":"blocks.es.js","names":[],"sources":["../../../src/insights-v2/mappings/blocks.ts"],"sourcesContent":["import {\n AccountBlock,\n AccountSwitchBlock,\n BarchartBlock,\n BudgetBlock,\n DebtsBlock,\n DetailedAccountBlock,\n DonutChartBlock,\n GasPurchaseBlock,\n GoalsBlock,\n MerchantBlock,\n DoubleBarChartBlock,\n DoubleProgressBarBlock,\n NoSpendDaysBlock,\n QuizBlock,\n RepeatingTransactionBlock,\n SaveExtraBlock,\n SavingsOpportunityBlock,\n SavingsSummaryBlock,\n SVGImageBlock,\n UpcomingSubscriptionBlock,\n WeeklySmallPurchasesBlock,\n WithdrawalBlock,\n TransactionBlock,\n} from '../blocks'\nimport StepChartBlock from '../blocks/ChartBlocks/StepChartBlock'\nimport ImageBlock from '../blocks/ImageBlocks/ImageBlock'\n\nimport type { Beat, GlobalCopy, InsightsPayload } from '../../core'\nimport { buildDynamicCopy } from '../../core/utils/Localization'\nimport { ContactSupportActionBlock } from '../actionBlocks/ContactSupportActionBlock'\nimport { FeedbackModalActionBlock } from '../actionBlocks/FeedbackModalActionBlock'\nimport { ConnectionDetailActionBlock } from '../actionBlocks/ConnectionDetailActionBlock'\nimport { ConnectWidgetActionBlock } from '../actionBlocks/ConnectWidgetActionBlock'\nimport { SurveyModalActionBlock } from '../actionBlocks/SurveyModalActionBlock'\nimport { SubscriptionStatusModalBlock } from '../actionBlocks/SubscriptionStatusModalBlock'\nimport { PlaceholderActionBlock } from '../actionBlocks/PlaceholderActionBlock'\nimport { MakeTransferActionBlockLayer } from '../actionBlocks/MakeTransferActionBlock/MakeTransferActionBlockLayer'\nimport { getMakeTransferDrawerTitle } from '../actionBlocks/MakeTransferActionBlock/layout'\nimport { TransactionHistoryBlock } from '../actionBlocks/TransactionHistoryBlock/TransactionHistoryBlock'\nimport { getDrawerHeaderTitle } from '../actionBlocks/TransactionHistoryBlock/utils'\nimport { useTransactionHistoryPrepare } from '../actionBlocks/TransactionHistoryBlock/useTransactionHistoryPrepare'\nimport {\n TransactionDetailsBlock,\n useTransactionDetailsPrepare,\n} from '../actionBlocks/TransactionDetailsBlock'\nimport {\n RecurringTransactionBlock,\n useRecurringTransactionPrepare,\n} from '../actionBlocks/RecurringTransactionBlock'\nimport { TransactionListBlock } from '../actionBlocks/TransactionListBlock'\nimport { getTransactionListDrawerTitle } from '../actionBlocks/TransactionListBlock/layout'\nimport { RemainingCashBlock } from '../actionBlocks/RemainingCashBlock'\nimport { AmountInputModalBlock } from '../actionBlocks/AmountInputModalBlock'\nimport { OverdraftBlock, useOverdraftPrepare } from '../actionBlocks/OverdraftBlock'\nimport { AccountListBlock, useAccountListPrepare } from '../actionBlocks/AccountListBlock'\nimport { EmergencySavingsBlock } from '../actionBlocks/EmergencySavingsBlock'\nimport {\n CreditUtilizationBlock,\n useCreditUtilizationPrepare,\n} from '../actionBlocks/CreditUtilizationBlock'\nimport {\n PayoffCalculatorBlock,\n usePayoffCalculatorPrepare,\n} from '../actionBlocks/PayoffCalculatorBlock'\nimport { BudgetDetailsBlock } from '../actionBlocks/BudgetDetailsBlock'\nimport { useBudgetDetailsPrepare } from '../actionBlocks/BudgetDetailsBlock/useBudgetDetailsPrepare'\nimport { resolveBudgetSubject } from '../actionBlocks/BudgetDetailsBlock/layout'\nimport { AccountDetailsBlock, useAccountDetailsPrepare } from '../actionBlocks/AccountDetailsBlock'\nimport { HelpBlock } from '../actionBlocks/HelpBlock'\nimport {\n PayoffStrategiesBlock,\n usePayoffStrategiesPrepare,\n} from '../actionBlocks/PayoffStrategiesBlock'\nimport { QuizMerchantBlock } from '../actionBlocks/QuizMerchantBlock'\n// Keys live in ./actionBlocksKey (imported directly by chart blocks/tests too) to avoid a\n// circular import between this module and the chart blocks — see that file for details.\nimport { actionBlocksKey } from './actionBlocksKey'\n\n// Drilldown indexes are not passed down: action blocks read them from\n// InsightsV2Store (useInsightsV2Store().actionDrawer).\nexport interface ActionBlockProps {\n beat: Beat\n}\n\nconst noop = (_: ActionBlockProps) => {}\n\n// Re-exported so existing `hasDrawerBlock` imports from this module keep working.\nexport { hasDrawerBlock } from './hasDrawerBlock'\n\nexport interface ActionBlockEntry {\n Component: React.ComponentType<ActionBlockProps>\n usePrepare: (props: ActionBlockProps) => void // required; default to noop in each entry\n // Drawer title from the CTA's variant and copy; falls back to the CTA label when empty.\n title?: (variant: string | null | undefined, copy: GlobalCopy, beat?: Beat) => string\n // 'drawer' (default) or 'modal' (component renders its own dialog, no Drawer wrapper).\n presentation?: 'drawer' | 'modal'\n // The drawer header's close control: 'back' (default, arrow on the left) or 'close' (X on the right).\n headerAction?: 'back' | 'close'\n}\n\n// Registry of drawer drilldowns, keyed by the `block` name the backend sends Add\n// `usePrepare` when the block needs to load data before rendering.\n\n/**\n * Reads its imports on access, not at load: some blocks import this registry back through\n * `ActionBlockLayer`, so a value copied at load would still be `undefined`.\n */\nconst liveEntry = (resolve: () => ActionBlockEntry): ActionBlockEntry => ({\n get Component() {\n return resolve().Component\n },\n get usePrepare() {\n return resolve().usePrepare\n },\n get title() {\n return resolve().title\n },\n get presentation() {\n return resolve().presentation\n },\n get headerAction() {\n return resolve().headerAction\n },\n})\n\nexport const actionBlocks = {\n [actionBlocksKey.PLACEHOLDER_ACTION_BLOCK]: liveEntry(() => ({\n Component: PlaceholderActionBlock,\n usePrepare: noop,\n title: () => 'Action Block Layer Drilldown',\n })),\n [actionBlocksKey.MAKE_TRANSFER_ACTION_BLOCK]: liveEntry(() => ({\n Component: MakeTransferActionBlockLayer,\n headerAction: 'close',\n usePrepare: noop,\n title: getMakeTransferDrawerTitle,\n })),\n [actionBlocksKey.TRANSCATION_HISTORY_ACTION_BLOCK]: liveEntry(() => ({\n Component: TransactionHistoryBlock,\n usePrepare: useTransactionHistoryPrepare,\n title: getDrawerHeaderTitle,\n })),\n [actionBlocksKey.TRANSACTION_DETAILS_ACTION_BLOCK]: liveEntry(() => ({\n Component: TransactionDetailsBlock,\n usePrepare: useTransactionDetailsPrepare,\n title: () => 'Transaction Details',\n })),\n // Expense Details for one recurring subscription. Which subscription a beat names is resolved in\n // `RecurringTransactionBlock/subscriptionBeats.ts`, not through this registry.\n [actionBlocksKey.RECURRING_TRANSACTION_ACTION_BLOCK]: liveEntry(() => ({\n Component: RecurringTransactionBlock,\n usePrepare: useRecurringTransactionPrepare,\n title: (_variant, copy) => copy.recurring?.expense_details ?? '',\n })),\n // Remaining Cash for the Payday Cash Left Over Status beat. Store-driven: reuses the recurring\n // loader, which also loads accounts and categories, so CashflowStore's computeds are ready.\n [actionBlocksKey.REMAINING_CASH_ACTION_BLOCK]: liveEntry(() => ({\n Component: RemainingCashBlock,\n usePrepare: useRecurringTransactionPrepare,\n title: (_variant, copy) => copy.insights_feed?.remaining_cash?.title ?? '',\n })),\n // The block renders its own drawer (the help module's RequestSupport) on top of the action\n // drawer, so the action drawer's title is the CTA label.\n [actionBlocksKey.CONTACT_SUPPORT_ACTION_BLOCK]: liveEntry(() => ({\n Component: ContactSupportActionBlock,\n usePrepare: noop,\n title: (_variant, copy) => copy.help?.request_support ?? '',\n })),\n [actionBlocksKey.FEEDBACK_MODAL_ACTION_BLOCK]: liveEntry(() => ({\n Component: FeedbackModalActionBlock,\n usePrepare: noop,\n presentation: 'modal',\n })),\n [actionBlocksKey.CONNECTION_DETAIL_ACTION_BLOCK]: liveEntry(() => ({\n Component: ConnectionDetailActionBlock,\n usePrepare: noop,\n title: (_variant, copy) =>\n copy.insights_feed?.connection_details?.connection_details_drawer_title ?? '',\n })),\n // Boots MX's Connect widget (web-widget-sdk iframe) inside the action\n // drawer; the drawer title falls back to the CTA label.\n [actionBlocksKey.CONNECT_WIDGET_ACTION_BLOCK]: liveEntry(() => ({\n Component: ConnectWidgetActionBlock,\n usePrepare: noop,\n })),\n [actionBlocksKey.SURVEY_MODAL_ACTION_BLOCK]: liveEntry(() => ({\n Component: SurveyModalActionBlock,\n usePrepare: noop,\n presentation: 'modal',\n })),\n // Unexpected Subscription Payment's Subscription Status modal.\n [actionBlocksKey.SUBSCRIPTION_STATUS_MODAL_ACTION_BLOCK]: liveEntry(() => ({\n Component: SubscriptionStatusModalBlock,\n usePrepare: noop,\n presentation: 'modal',\n })),\n [actionBlocksKey.TRANSACTION_LIST_ACTION_BLOCK]: liveEntry(() => ({\n Component: TransactionListBlock,\n usePrepare: useTransactionDetailsPrepare,\n title: getTransactionListDrawerTitle,\n })),\n // One whole-dollar setting in a dialog; the CTA variant picks which (low-balance threshold or\n // safety net). A modal: no drawer, so no drawer title.\n [actionBlocksKey.AMOUNT_INPUT_MODAL_ACTION_BLOCK]: liveEntry(() => ({\n Component: AmountInputModalBlock,\n presentation: 'modal',\n // Loads inside the block: it mounts only while open, so mounting is the open-time load.\n usePrepare: noop,\n })),\n // Savings Opportunity's safety net: `safety_net_block` opens the amount-input modal.\n [actionBlocksKey.SAFETY_NET_ACTION_BLOCK]: liveEntry(() => ({\n Component: AmountInputModalBlock,\n presentation: 'modal',\n usePrepare: noop,\n })),\n // Transparent Overdraft's \"Learn more\": the projected overdraft, its account and the confidence\n // meter. Titled from the beat, as the pulse drawer was.\n [actionBlocksKey.OVERDRAFT_ACTION_BLOCK]: liveEntry(() => ({\n Component: OverdraftBlock,\n usePrepare: useOverdraftPrepare,\n title: (_variant, _copy, beat) => beat?.insights_payload?.title ?? '',\n })),\n // Credit Utilization's \"Learn more\": donut summary, legend and the per-card list. Loads accounts\n // for the institution logos; the rows themselves ride on the beat.\n [actionBlocksKey.CREDIT_UTILIZATION_ACTION_BLOCK]: liveEntry(() => ({\n Component: CreditUtilizationBlock,\n usePrepare: useCreditUtilizationPrepare,\n title: (_variant, copy) => copy.insights_feed?.credit_utilization?.title ?? '',\n })),\n [actionBlocksKey.EMERGENCY_SAVINGS_ACTION_BLOCK]: liveEntry(() => ({\n Component: EmergencySavingsBlock,\n usePrepare: noop,\n title: (_variant, _copy, beat) => beat?.insights_payload?.title ?? '',\n })),\n // Monthly Credit Card Interest Summary's \"Learn how to save\": the credit card payoff calculator.\n [actionBlocksKey.PAYOFF_CALCULATOR_ACTION_BLOCK]: liveEntry(() => ({\n Component: PayoffCalculatorBlock,\n usePrepare: usePayoffCalculatorPrepare,\n title: (_variant, copy) => copy.insights_feed?.payoff_calculator?.title ?? '',\n })),\n [actionBlocksKey.BUDGET_DETAILS_ACTION_BLOCK]: liveEntry(() => ({\n Component: BudgetDetailsBlock,\n // Figma's Budget Details: a close X on the right, not the back arrow.\n headerAction: 'close',\n // Loads the budget data and points the transaction store at the budget month, as pulse did.\n usePrepare: useBudgetDetailsPrepare,\n // \"{subject} Budget\" (subject by the CTA variant), else the card's title.\n title: (variant, copy, beat) => {\n const subject = beat ? resolveBudgetSubject(variant, beat, copy) : undefined\n if (subject && copy.budgets?.details_type_title) {\n return buildDynamicCopy(copy.budgets.details_type_title, subject) as string\n }\n\n return beat?.insights_payload?.title || copy.budgets?.details_title || ''\n },\n })),\n // The accounts widget's account details (header, trend chart, tabs, connection, actions) for the\n // beat's primary account. Shared by every beat that opens an account.\n [actionBlocksKey.ACCOUNT_DETAILS_ACTION_BLOCK]: liveEntry(() => ({\n Component: AccountDetailsBlock,\n usePrepare: useAccountDetailsPrepare,\n title: (_variant, copy) => copy.accounts?.account_details ?? '',\n })),\n // Monthly Obligations Status's account list: the beat's calculation and the accounts behind it.\n [actionBlocksKey.ACCOUNT_LIST_ACTION_BLOCK]: liveEntry(() => ({\n Component: AccountListBlock,\n usePrepare: useAccountListPrepare,\n title: (_variant, copy) => copy.insights_feed?.account_list?.title ?? '',\n })),\n // A beat's \"Learn More\": its pre-localized help title and body from the payload's\n // `drilldown_data`. The drawer title is the CTA label.\n [actionBlocksKey.HELP_ACTION_BLOCK]: liveEntry(() => ({\n Component: HelpBlock,\n usePrepare: noop,\n })),\n // Debt Payoff Strategies' \"Learn more\": Avalanche / Snowball tabs over the beat's debt accounts.\n [actionBlocksKey.PAYOFF_STRATEGIES_ACTION_BLOCK]: liveEntry(() => ({\n Component: PayoffStrategiesBlock,\n usePrepare: usePayoffStrategiesPrepare,\n title: (_variant, copy) => copy.insights_feed?.general?.debt_payoff_strategies ?? '',\n })),\n // A Monthly Top Transacted Merchant result row: that merchant's rank, totals and transactions.\n [actionBlocksKey.QUIZ_MERCHANT_ACTION_BLOCK]: liveEntry(() => ({\n Component: QuizMerchantBlock,\n usePrepare: useTransactionDetailsPrepare,\n title: (_variant, copy) => copy.insights_feed?.quiz_block?.drawer_title ?? '',\n })),\n} as Record<string, ActionBlockEntry>\n\nexport const blocks = {\n account_block: AccountBlock,\n account_switch_block: AccountSwitchBlock,\n direct_deposit_block: DetailedAccountBlock,\n bar_chart_block: BarchartBlock,\n budget_block: BudgetBlock,\n debts_block: DebtsBlock,\n donut_chart_block: DonutChartBlock,\n double_bar_chart_block: DoubleBarChartBlock,\n double_progress_bar_block: DoubleProgressBarBlock,\n gas_purchase_block: GasPurchaseBlock,\n goals_block: GoalsBlock,\n image_block: ImageBlock,\n merchant_block: MerchantBlock,\n no_spend_days_block: NoSpendDaysBlock,\n quiz_block: QuizBlock,\n repeating_transaction_block: RepeatingTransactionBlock,\n save_extra_block: SaveExtraBlock,\n savings_amount_block: SavingsOpportunityBlock,\n savings_summary_block: SavingsSummaryBlock,\n step_chart_block: StepChartBlock,\n svg_image_block: SVGImageBlock,\n upcoming_bill_block: RepeatingTransactionBlock,\n upcoming_subscription_block: UpcomingSubscriptionBlock,\n weekly_small_purchases_block: WeeklySmallPurchasesBlock,\n withdrawal_block: WithdrawalBlock,\n transaction_block: TransactionBlock,\n} as Record<string, React.ComponentType<{ payload: InsightsPayload; beatGuid?: string }>>\n"],"mappings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"9.7.148",
3
+ "version": "9.7.150",
4
4
  "description": "Library containing experience widgets",
5
5
  "author": "MX",
6
6
  "license": "MIT",