@mx-cartographer/experiences 9.2.4-alpha.al2 → 9.3.0-alpha.bb1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (1802) hide show
  1. package/CHANGELOG.md +0 -12
  2. package/dist/accounts/AccountsMiniWidget/index.es.js +56 -0
  3. package/dist/accounts/AccountsMiniWidget/index.es.js.map +1 -0
  4. package/dist/accounts/AccountsWidget/index.es.js +75 -0
  5. package/dist/accounts/AccountsWidget/index.es.js.map +1 -0
  6. package/dist/accounts/ConnectMiniWidget/index.es.js +35 -0
  7. package/dist/accounts/ConnectMiniWidget/index.es.js.map +1 -0
  8. package/dist/accounts/components/AccountListItem/index.es.js +91 -0
  9. package/dist/accounts/components/AccountListItem/index.es.js.map +1 -0
  10. package/dist/accounts/components/AccountsList/index.es.js +129 -0
  11. package/dist/accounts/components/AccountsList/index.es.js.map +1 -0
  12. package/dist/accounts/components/AccountsListCompact/index.es.js +86 -0
  13. package/dist/accounts/components/AccountsListCompact/index.es.js.map +1 -0
  14. package/dist/accounts/components/ConnectImage/index.es.js +388 -0
  15. package/dist/accounts/components/ConnectImage/index.es.js.map +1 -0
  16. package/dist/accounts/components/ConnectMiniWidgetCard/index.es.js +27 -0
  17. package/dist/accounts/components/ConnectMiniWidgetCard/index.es.js.map +1 -0
  18. package/dist/accounts/components/ConnectionStatusIcons/index.es.js +23 -0
  19. package/dist/accounts/components/ConnectionStatusIcons/index.es.js.map +1 -0
  20. package/dist/accounts/components/ConnectionsDrawer/index.es.js +52 -0
  21. package/dist/accounts/components/ConnectionsDrawer/index.es.js.map +1 -0
  22. package/dist/accounts/components/detailsdrawer/Accounts/AccountActions/index.es.js +134 -0
  23. package/dist/accounts/components/detailsdrawer/Accounts/AccountActions/index.es.js.map +1 -0
  24. package/dist/accounts/components/detailsdrawer/Accounts/AccountActionsRow/index.es.js +32 -0
  25. package/dist/accounts/components/detailsdrawer/Accounts/AccountActionsRow/index.es.js.map +1 -0
  26. package/dist/accounts/components/detailsdrawer/Accounts/AccountConnection/index.es.js +158 -0
  27. package/dist/accounts/components/detailsdrawer/Accounts/AccountConnection/index.es.js.map +1 -0
  28. package/dist/accounts/components/detailsdrawer/Accounts/AccountDetailEdit/index.es.js +119 -0
  29. package/dist/accounts/components/detailsdrawer/Accounts/AccountDetailEdit/index.es.js.map +1 -0
  30. package/dist/accounts/components/detailsdrawer/Accounts/AccountDetails/index.es.js +75 -0
  31. package/dist/accounts/components/detailsdrawer/Accounts/AccountDetails/index.es.js.map +1 -0
  32. package/dist/accounts/components/detailsdrawer/Accounts/AccountDetailsChart/index.es.js +38 -0
  33. package/dist/accounts/components/detailsdrawer/Accounts/AccountDetailsChart/index.es.js.map +1 -0
  34. package/dist/accounts/components/detailsdrawer/Accounts/AccountDetailsContent/index.es.js +50 -0
  35. package/dist/accounts/components/detailsdrawer/Accounts/AccountDetailsContent/index.es.js.map +1 -0
  36. package/dist/accounts/components/detailsdrawer/Accounts/AccountDetailsDrawer/index.es.js +21 -0
  37. package/dist/accounts/components/detailsdrawer/Accounts/AccountDetailsDrawer/index.es.js.map +1 -0
  38. package/dist/accounts/components/detailsdrawer/Accounts/AccountDetailsHeader/index.es.js +81 -0
  39. package/dist/accounts/components/detailsdrawer/Accounts/AccountDetailsHeader/index.es.js.map +1 -0
  40. package/dist/accounts/components/detailsdrawer/Accounts/AccountDetailsTab/index.es.js +22 -0
  41. package/dist/accounts/components/detailsdrawer/Accounts/AccountDetailsTab/index.es.js.map +1 -0
  42. package/dist/accounts/components/detailsdrawer/Accounts/ConnectionErrorMessage/index.es.js +75 -0
  43. package/dist/accounts/components/detailsdrawer/Accounts/ConnectionErrorMessage/index.es.js.map +1 -0
  44. package/dist/accounts/components/detailsdrawer/Transactions/TransactionsTab/index.es.js +37 -0
  45. package/dist/accounts/components/detailsdrawer/Transactions/TransactionsTab/index.es.js.map +1 -0
  46. package/dist/accounts/constants/Accounts/index.es.js +10 -0
  47. package/dist/accounts/constants/Accounts/index.es.js.map +1 -0
  48. package/dist/accounts/constants/Accounts.d.ts +1 -4
  49. package/dist/accounts/hooks/useGetMergeableAccounts/index.es.js +11 -0
  50. package/dist/accounts/hooks/useGetMergeableAccounts/index.es.js.map +1 -0
  51. package/dist/accounts/hooks/useUiStore/index.es.js +12 -0
  52. package/dist/accounts/hooks/useUiStore/index.es.js.map +1 -0
  53. package/dist/accounts/index.es.js +23 -784
  54. package/dist/accounts/utils/AccountDetails/index.es.js +28 -0
  55. package/dist/accounts/utils/AccountDetails/index.es.js.map +1 -0
  56. package/dist/accounts/utils/AccountFields/index.es.js +131 -0
  57. package/dist/accounts/utils/AccountFields/index.es.js.map +1 -0
  58. package/dist/accounts/utils/getConnectionMessages/index.es.js +131 -0
  59. package/dist/accounts/utils/getConnectionMessages/index.es.js.map +1 -0
  60. package/dist/analytics/SurveyMiniWidget/index.es.js +117 -0
  61. package/dist/analytics/SurveyMiniWidget/index.es.js.map +1 -0
  62. package/dist/analytics/components/OpenTextField/index.es.js +23 -0
  63. package/dist/analytics/components/OpenTextField/index.es.js.map +1 -0
  64. package/dist/analytics/components/RatingScale/index.es.js +56 -0
  65. package/dist/analytics/components/RatingScale/index.es.js.map +1 -0
  66. package/dist/analytics/index.es.js +2 -151
  67. package/dist/budgets/BubbleBudgetsMiniWidget/index.es.js +100 -0
  68. package/dist/budgets/BubbleBudgetsMiniWidget/index.es.js.map +1 -0
  69. package/dist/budgets/BubbleBudgetsWidget/index.es.js +143 -0
  70. package/dist/budgets/BubbleBudgetsWidget/index.es.js.map +1 -0
  71. package/dist/budgets/components/AddBudgets/index.es.js +31 -0
  72. package/dist/budgets/components/AddBudgets/index.es.js.map +1 -0
  73. package/dist/budgets/components/BubbleBudgets/index.es.js +47 -0
  74. package/dist/budgets/components/BubbleBudgets/index.es.js.map +1 -0
  75. package/dist/budgets/components/BubbleChart/Bubble/index.es.js +128 -0
  76. package/dist/budgets/components/BubbleChart/Bubble/index.es.js.map +1 -0
  77. package/dist/budgets/components/BubbleChart/Mercury/index.es.js +29 -0
  78. package/dist/budgets/components/BubbleChart/Mercury/index.es.js.map +1 -0
  79. package/dist/budgets/components/BubbleChart/index.es.js +59 -0
  80. package/dist/budgets/components/BubbleChart/index.es.js.map +1 -0
  81. package/dist/budgets/components/BudgetDetailsDrawer/index.es.js +106 -0
  82. package/dist/budgets/components/BudgetDetailsDrawer/index.es.js.map +1 -0
  83. package/dist/budgets/components/BudgetDetailsDrawerV2/index.es.js +126 -0
  84. package/dist/budgets/components/BudgetDetailsDrawerV2/index.es.js.map +1 -0
  85. package/dist/budgets/components/BudgetList/BudgetRow/index.es.js +71 -0
  86. package/dist/budgets/components/BudgetList/BudgetRow/index.es.js.map +1 -0
  87. package/dist/budgets/components/BudgetList/SubBudgetRow/index.es.js +62 -0
  88. package/dist/budgets/components/BudgetList/SubBudgetRow/index.es.js.map +1 -0
  89. package/dist/budgets/components/BudgetList/SubBudgetZeroState/index.es.js +38 -0
  90. package/dist/budgets/components/BudgetList/SubBudgetZeroState/index.es.js.map +1 -0
  91. package/dist/budgets/components/BudgetList/index.es.js +44 -0
  92. package/dist/budgets/components/BudgetList/index.es.js.map +1 -0
  93. package/dist/budgets/components/BudgetsEmptyState/index.es.js +109 -0
  94. package/dist/budgets/components/BudgetsEmptyState/index.es.js.map +1 -0
  95. package/dist/budgets/components/MerchantBudgetDetailsDrawer/index.es.js +54 -0
  96. package/dist/budgets/components/MerchantBudgetDetailsDrawer/index.es.js.map +1 -0
  97. package/dist/budgets/components/Overview/index.es.js +129 -0
  98. package/dist/budgets/components/Overview/index.es.js.map +1 -0
  99. package/dist/budgets/components/addbudget/Header/index.es.js +70 -0
  100. package/dist/budgets/components/addbudget/Header/index.es.js.map +1 -0
  101. package/dist/budgets/components/addbudget/RecalculateBudgetRow/index.es.js +30 -0
  102. package/dist/budgets/components/addbudget/RecalculateBudgetRow/index.es.js.map +1 -0
  103. package/dist/budgets/components/addbudget/RecalculateBudgets/index.es.js +62 -0
  104. package/dist/budgets/components/addbudget/RecalculateBudgets/index.es.js.map +1 -0
  105. package/dist/budgets/components/addbudget/UnbudgetedRow/index.es.js +50 -0
  106. package/dist/budgets/components/addbudget/UnbudgetedRow/index.es.js.map +1 -0
  107. package/dist/budgets/components/budgetdetails/AddSubBudget/index.es.js +98 -0
  108. package/dist/budgets/components/budgetdetails/AddSubBudget/index.es.js.map +1 -0
  109. package/dist/budgets/components/budgetdetails/BudgetDetails/index.es.js +66 -0
  110. package/dist/budgets/components/budgetdetails/BudgetDetails/index.es.js.map +1 -0
  111. package/dist/budgets/components/budgetdetails/Header/index.es.js +48 -0
  112. package/dist/budgets/components/budgetdetails/Header/index.es.js.map +1 -0
  113. package/dist/budgets/components/budgetdetails/SubBudgetList/index.es.js +98 -0
  114. package/dist/budgets/components/budgetdetails/SubBudgetList/index.es.js.map +1 -0
  115. package/dist/budgets/components/shared/BudgetAmount/index.es.js +27 -0
  116. package/dist/budgets/components/shared/BudgetAmount/index.es.js.map +1 -0
  117. package/dist/budgets/components/shared/BudgetDetailsTopSection/index.es.js +84 -0
  118. package/dist/budgets/components/shared/BudgetDetailsTopSection/index.es.js.map +1 -0
  119. package/dist/budgets/index.es.js +6 -1400
  120. package/dist/budgets/utils/BubblesSVG/index.es.js +73 -0
  121. package/dist/budgets/utils/BubblesSVG/index.es.js.map +1 -0
  122. package/dist/cashflow/CashflowMiniWidget/index.es.js +45 -0
  123. package/dist/cashflow/CashflowMiniWidget/index.es.js.map +1 -0
  124. package/dist/cashflow/CashflowOnboarding/index.es.js +224 -0
  125. package/dist/cashflow/CashflowOnboarding/index.es.js.map +1 -0
  126. package/dist/cashflow/CashflowWidget/index.es.js +82 -0
  127. package/dist/cashflow/CashflowWidget/index.es.js.map +1 -0
  128. package/dist/cashflow/components/CashflowAmountHeading/index.es.js +45 -0
  129. package/dist/cashflow/components/CashflowAmountHeading/index.es.js.map +1 -0
  130. package/dist/cashflow/components/CashflowContent/index.es.js +63 -0
  131. package/dist/cashflow/components/CashflowContent/index.es.js.map +1 -0
  132. package/dist/cashflow/components/CashflowHeading/index.es.js +101 -0
  133. package/dist/cashflow/components/CashflowHeading/index.es.js.map +1 -0
  134. package/dist/cashflow/components/CashflowWidgetContent/index.es.js +167 -0
  135. package/dist/cashflow/components/CashflowWidgetContent/index.es.js.map +1 -0
  136. package/dist/cashflow/components/DetailsExpenseHeader/index.es.js +37 -0
  137. package/dist/cashflow/components/DetailsExpenseHeader/index.es.js.map +1 -0
  138. package/dist/cashflow/components/DetailsExpenseRow/index.es.js +57 -0
  139. package/dist/cashflow/components/DetailsExpenseRow/index.es.js.map +1 -0
  140. package/dist/cashflow/components/DetailsFooter/index.es.js +21 -0
  141. package/dist/cashflow/components/DetailsFooter/index.es.js.map +1 -0
  142. package/dist/cashflow/components/DetailsTab/index.es.js +90 -0
  143. package/dist/cashflow/components/DetailsTab/index.es.js.map +1 -0
  144. package/dist/cashflow/components/RemainingCash/index.es.js +35 -0
  145. package/dist/cashflow/components/RemainingCash/index.es.js.map +1 -0
  146. package/dist/cashflow/components/SummaryTab/index.es.js +258 -0
  147. package/dist/cashflow/components/SummaryTab/index.es.js.map +1 -0
  148. package/dist/cashflow/components/onboarding/StepOne/index.es.js +128 -0
  149. package/dist/cashflow/components/onboarding/StepOne/index.es.js.map +1 -0
  150. package/dist/cashflow/components/onboarding/StepTwo/index.es.js +26 -0
  151. package/dist/cashflow/components/onboarding/StepTwo/index.es.js.map +1 -0
  152. package/dist/cashflow/constants/CashflowImages/index.es.js +9 -0
  153. package/dist/cashflow/constants/CashflowImages/index.es.js.map +1 -0
  154. package/dist/cashflow/context/hooks/index.es.js +12 -0
  155. package/dist/cashflow/context/hooks/index.es.js.map +1 -0
  156. package/dist/cashflow/context/hooks.d.ts +1 -1
  157. package/dist/cashflow/index.es.js +6 -1058
  158. package/dist/cashflow/util/Filters/index.es.js +9 -0
  159. package/dist/cashflow/util/Filters/index.es.js.map +1 -0
  160. package/dist/categories/components/CategoryList/index.es.js +38 -0
  161. package/dist/categories/components/CategoryList/index.es.js.map +1 -0
  162. package/dist/categories/components/CategoryRow/index.es.js +65 -0
  163. package/dist/categories/components/CategoryRow/index.es.js.map +1 -0
  164. package/dist/categories/components/CategorySelector/index.es.js +39 -0
  165. package/dist/categories/components/CategorySelector/index.es.js.map +1 -0
  166. package/dist/categories/components/CategorySelectorDrawer/index.es.js +24 -0
  167. package/dist/categories/components/CategorySelectorDrawer/index.es.js.map +1 -0
  168. package/dist/categories/components/CustomCategories/AddSubcategory/index.es.js +46 -0
  169. package/dist/categories/components/CustomCategories/AddSubcategory/index.es.js.map +1 -0
  170. package/dist/categories/components/CustomCategories/CustomCategoryModal/index.es.js +61 -0
  171. package/dist/categories/components/CustomCategories/CustomCategoryModal/index.es.js.map +1 -0
  172. package/dist/categories/components/CustomCategories/DeleteSubcategory/index.es.js +26 -0
  173. package/dist/categories/components/CustomCategories/DeleteSubcategory/index.es.js.map +1 -0
  174. package/dist/categories/components/CustomCategories/RenameSubcategory/index.es.js +29 -0
  175. package/dist/categories/components/CustomCategories/RenameSubcategory/index.es.js.map +1 -0
  176. package/dist/categories/components/SubcategoryList/index.es.js +41 -0
  177. package/dist/categories/components/SubcategoryList/index.es.js.map +1 -0
  178. package/dist/categories/components/SubcategoryRow/index.es.js +90 -0
  179. package/dist/categories/components/SubcategoryRow/index.es.js.map +1 -0
  180. package/dist/categories/constants/OnClickEvents/index.es.js +18 -0
  181. package/dist/categories/constants/OnClickEvents/index.es.js.map +1 -0
  182. package/dist/categories/context/hooks/index.es.js +12 -0
  183. package/dist/categories/context/hooks/index.es.js.map +1 -0
  184. package/dist/categories/index.es.js +8 -6
  185. package/dist/common/components/Banner/index.es.js +39 -0
  186. package/dist/common/components/Banner/index.es.js.map +1 -0
  187. package/dist/common/components/ConnectCard/index.es.js +58 -0
  188. package/dist/common/components/ConnectCard/index.es.js.map +1 -0
  189. package/dist/common/components/ConnectDrawer/index.es.js +53 -0
  190. package/dist/common/components/ConnectDrawer/index.es.js.map +1 -0
  191. package/dist/common/components/ConnectStatus/index.es.js +39 -0
  192. package/dist/common/components/ConnectStatus/index.es.js.map +1 -0
  193. package/dist/common/components/ConnectStatus.d.ts +6 -0
  194. package/dist/common/components/CurrencyDialog/index.es.js +119 -0
  195. package/dist/common/components/CurrencyDialog/index.es.js.map +1 -0
  196. package/dist/common/components/CurrencyInput/index.es.js +49 -0
  197. package/dist/common/components/CurrencyInput/index.es.js.map +1 -0
  198. package/dist/common/components/CurrencyText/index.es.js +17 -0
  199. package/dist/common/components/CurrencyText/index.es.js.map +1 -0
  200. package/dist/common/components/DataRow/index.es.js +53 -0
  201. package/dist/common/components/DataRow/index.es.js.map +1 -0
  202. package/dist/common/components/EmptyState/index.es.js +68 -0
  203. package/dist/common/components/EmptyState/index.es.js.map +1 -0
  204. package/dist/common/components/Error/index.es.js +86 -0
  205. package/dist/common/components/Error/index.es.js.map +1 -0
  206. package/dist/common/components/ErrorBoundary/index.es.js +26 -0
  207. package/dist/common/components/ErrorBoundary/index.es.js.map +1 -0
  208. package/dist/common/components/GlobalAccountFilter/GlobalAccountFilterList/index.es.js +133 -0
  209. package/dist/common/components/GlobalAccountFilter/GlobalAccountFilterList/index.es.js.map +1 -0
  210. package/dist/common/components/GlobalAccountFilter/index.es.js +97 -0
  211. package/dist/common/components/GlobalAccountFilter/index.es.js.map +1 -0
  212. package/dist/common/components/IconBacking/index.es.js +25 -0
  213. package/dist/common/components/IconBacking/index.es.js.map +1 -0
  214. package/dist/common/components/InformationTooltip/index.es.js +49 -0
  215. package/dist/common/components/InformationTooltip/index.es.js.map +1 -0
  216. package/dist/common/components/ListItemAction/index.es.js +55 -0
  217. package/dist/common/components/ListItemAction/index.es.js.map +1 -0
  218. package/dist/common/components/ListItemRow/index.es.js +65 -0
  219. package/dist/common/components/ListItemRow/index.es.js.map +1 -0
  220. package/dist/common/components/ListItemWrapper/index.es.js +37 -0
  221. package/dist/common/components/ListItemWrapper/index.es.js.map +1 -0
  222. package/dist/common/components/Loader/index.es.js +17 -0
  223. package/dist/common/components/Loader/index.es.js.map +1 -0
  224. package/dist/common/components/MicroWidgetContainer/index.es.js +60 -0
  225. package/dist/common/components/MicroWidgetContainer/index.es.js.map +1 -0
  226. package/dist/common/components/MiniWidgetContainer/index.es.js +77 -0
  227. package/dist/common/components/MiniWidgetContainer/index.es.js.map +1 -0
  228. package/dist/common/components/ResponsiveButton/index.es.js +37 -0
  229. package/dist/common/components/ResponsiveButton/index.es.js.map +1 -0
  230. package/dist/common/components/SearchBox/index.es.js +59 -0
  231. package/dist/common/components/SearchBox/index.es.js.map +1 -0
  232. package/dist/common/components/Select/index.es.js +33 -0
  233. package/dist/common/components/Select/index.es.js.map +1 -0
  234. package/dist/common/components/SelectionBox/index.es.js +45 -0
  235. package/dist/common/components/SelectionBox/index.es.js.map +1 -0
  236. package/dist/common/components/SkeletonLoader/index.es.js +104 -0
  237. package/dist/common/components/SkeletonLoader/index.es.js.map +1 -0
  238. package/dist/common/components/SubheaderRow/index.es.js +23 -0
  239. package/dist/common/components/SubheaderRow/index.es.js.map +1 -0
  240. package/dist/common/components/TabContentContainer/index.es.js +14 -0
  241. package/dist/common/components/TabContentContainer/index.es.js.map +1 -0
  242. package/dist/common/components/TinyBarChart/index.es.js +80 -0
  243. package/dist/common/components/TinyBarChart/index.es.js.map +1 -0
  244. package/dist/common/components/TinyBarChart.d.ts +1 -1
  245. package/dist/common/components/WidgetContainer/index.es.js +146 -0
  246. package/dist/common/components/WidgetContainer/index.es.js.map +1 -0
  247. package/dist/common/components/WidgetDateRangeSelector/index.es.js +38 -0
  248. package/dist/common/components/WidgetDateRangeSelector/index.es.js.map +1 -0
  249. package/dist/common/components/addaccounts/AddAccounts/index.es.js +50 -0
  250. package/dist/common/components/addaccounts/AddAccounts/index.es.js.map +1 -0
  251. package/dist/common/components/calendar/Calendar/index.es.js +148 -0
  252. package/dist/common/components/calendar/Calendar/index.es.js.map +1 -0
  253. package/dist/common/components/calendar/Day/index.es.js +82 -0
  254. package/dist/common/components/calendar/Day/index.es.js.map +1 -0
  255. package/dist/common/components/calendar/Header/index.es.js +42 -0
  256. package/dist/common/components/calendar/Header/index.es.js.map +1 -0
  257. package/dist/common/components/charts/Donut/index.es.js +82 -0
  258. package/dist/common/components/charts/Donut/index.es.js.map +1 -0
  259. package/dist/common/components/charts/LineChart/CustomLegend/index.es.js +95 -0
  260. package/dist/common/components/charts/LineChart/CustomLegend/index.es.js.map +1 -0
  261. package/dist/common/components/charts/LineChart/CustomLine/index.es.js +27 -0
  262. package/dist/common/components/charts/LineChart/CustomLine/index.es.js.map +1 -0
  263. package/dist/common/components/charts/LineChart/CustomMark/index.es.js +56 -0
  264. package/dist/common/components/charts/LineChart/CustomMark/index.es.js.map +1 -0
  265. package/dist/common/components/charts/LineChart/CustomTooltip/index.es.js +138 -0
  266. package/dist/common/components/charts/LineChart/CustomTooltip/index.es.js.map +1 -0
  267. package/dist/common/components/charts/LineChart/index.es.js +194 -0
  268. package/dist/common/components/charts/LineChart/index.es.js.map +1 -0
  269. package/dist/common/components/charts/LineChart/utils/markerShapes/index.es.js +26 -0
  270. package/dist/common/components/charts/LineChart/utils/markerShapes/index.es.js.map +1 -0
  271. package/dist/common/components/charts/StackedLineChart/CategoryIconLabel/index.es.js +31 -0
  272. package/dist/common/components/charts/StackedLineChart/CategoryIconLabel/index.es.js.map +1 -0
  273. package/dist/common/components/charts/StackedLineChart/CustomAreaTooltip/index.es.js +97 -0
  274. package/dist/common/components/charts/StackedLineChart/CustomAreaTooltip/index.es.js.map +1 -0
  275. package/dist/common/components/charts/StackedLineChart/CustomLegend/index.es.js +54 -0
  276. package/dist/common/components/charts/StackedLineChart/CustomLegend/index.es.js.map +1 -0
  277. package/dist/common/components/charts/StackedLineChart/CustomPointTooltip/index.es.js +51 -0
  278. package/dist/common/components/charts/StackedLineChart/CustomPointTooltip/index.es.js.map +1 -0
  279. package/dist/common/components/charts/StackedLineChart/index.es.js +208 -0
  280. package/dist/common/components/charts/StackedLineChart/index.es.js.map +1 -0
  281. package/dist/common/components/charts/StatusBar/index.es.js +25 -0
  282. package/dist/common/components/charts/StatusBar/index.es.js.map +1 -0
  283. package/dist/common/components/daterangeselector/DateRangeSelector/index.es.js +258 -0
  284. package/dist/common/components/daterangeselector/DateRangeSelector/index.es.js.map +1 -0
  285. package/dist/common/components/dialog/Dialog/index.es.js +58 -0
  286. package/dist/common/components/dialog/Dialog/index.es.js.map +1 -0
  287. package/dist/common/components/donuts/MultiSegmentDonut/index.es.js +53 -0
  288. package/dist/common/components/donuts/MultiSegmentDonut/index.es.js.map +1 -0
  289. package/dist/common/components/donuts/SingleSegmentDonut/index.es.js +50 -0
  290. package/dist/common/components/donuts/SingleSegmentDonut/index.es.js.map +1 -0
  291. package/dist/common/components/drawer/Drawer/index.es.js +57 -0
  292. package/dist/common/components/drawer/Drawer/index.es.js.map +1 -0
  293. package/dist/common/components/drawer/Footer/index.es.js +31 -0
  294. package/dist/common/components/drawer/Footer/index.es.js.map +1 -0
  295. package/dist/common/components/drawer/Header/index.es.js +52 -0
  296. package/dist/common/components/drawer/Header/index.es.js.map +1 -0
  297. package/dist/common/components/listitems/CollapseExpandListItem/index.es.js +41 -0
  298. package/dist/common/components/listitems/CollapseExpandListItem/index.es.js.map +1 -0
  299. package/dist/common/components/listitems/ToggleButtonListItem/index.es.js +54 -0
  300. package/dist/common/components/listitems/ToggleButtonListItem/index.es.js.map +1 -0
  301. package/dist/common/components/listitems/ToggleListItem/index.es.js +37 -0
  302. package/dist/common/components/listitems/ToggleListItem/index.es.js.map +1 -0
  303. package/dist/common/constants/Account/index.es.js +32 -0
  304. package/dist/common/constants/Account/index.es.js.map +1 -0
  305. package/dist/common/constants/Analytics/index.es.js +139 -0
  306. package/dist/common/constants/Analytics/index.es.js.map +1 -0
  307. package/dist/common/constants/Connect/index.es.js +10 -0
  308. package/dist/common/constants/Connect/index.es.js.map +1 -0
  309. package/dist/common/constants/Connect.d.ts +4 -0
  310. package/dist/common/constants/Donut/index.es.js +7 -0
  311. package/dist/common/constants/Donut/index.es.js.map +1 -0
  312. package/dist/common/constants/FinStrong/index.es.js +33 -0
  313. package/dist/common/constants/FinStrong/index.es.js.map +1 -0
  314. package/dist/common/constants/ScheduledPayment/index.es.js +40 -0
  315. package/dist/common/constants/ScheduledPayment/index.es.js.map +1 -0
  316. package/dist/common/constants/Sizes/index.es.js +9 -0
  317. package/dist/common/constants/Sizes/index.es.js.map +1 -0
  318. package/dist/common/constants/SpendingPlan/index.es.js +10 -0
  319. package/dist/common/constants/SpendingPlan/index.es.js.map +1 -0
  320. package/dist/common/constants/index.d.ts +1 -0
  321. package/dist/common/context/GlobalDataProvider/index.es.js +19 -0
  322. package/dist/common/context/GlobalDataProvider/index.es.js.map +1 -0
  323. package/dist/common/context/WidgetContainerProvider/index.es.js +16 -0
  324. package/dist/common/context/WidgetContainerProvider/index.es.js.map +1 -0
  325. package/dist/common/context/hooks/index.es.js +46 -0
  326. package/dist/common/context/hooks/index.es.js.map +1 -0
  327. package/dist/common/hooks/useAccountDisplayName/index.es.js +13 -0
  328. package/dist/common/hooks/useAccountDisplayName/index.es.js.map +1 -0
  329. package/dist/common/hooks/useAriaLive/index.es.js +34 -0
  330. package/dist/common/hooks/useAriaLive/index.es.js.map +1 -0
  331. package/dist/common/hooks/useCombineEvents/index.es.js +22 -0
  332. package/dist/common/hooks/useCombineEvents/index.es.js.map +1 -0
  333. package/dist/common/hooks/useDimensions/index.es.js +41 -0
  334. package/dist/common/hooks/useDimensions/index.es.js.map +1 -0
  335. package/dist/common/hooks/useInsightsEnabled/index.es.js +13 -0
  336. package/dist/common/hooks/useInsightsEnabled/index.es.js.map +1 -0
  337. package/dist/common/hooks/usePrevious/index.es.js +13 -0
  338. package/dist/common/hooks/usePrevious/index.es.js.map +1 -0
  339. package/dist/common/hooks/useScreenSize/index.es.js +26 -0
  340. package/dist/common/hooks/useScreenSize/index.es.js.map +1 -0
  341. package/dist/common/hooks/useWidgetHeaderStyles/index.es.js +46 -0
  342. package/dist/common/hooks/useWidgetHeaderStyles/index.es.js.map +1 -0
  343. package/dist/common/hooks/useWidgetLoadTimer/index.es.js +24 -0
  344. package/dist/common/hooks/useWidgetLoadTimer/index.es.js.map +1 -0
  345. package/dist/common/index.es.js +154 -310
  346. package/dist/common/types/Charts.d.ts +10 -0
  347. package/dist/common/utils/AccountDisplayName/index.es.js +14 -0
  348. package/dist/common/utils/AccountDisplayName/index.es.js.map +1 -0
  349. package/dist/common/utils/AccountFilter/index.es.js +31 -0
  350. package/dist/common/utils/AccountFilter/index.es.js.map +1 -0
  351. package/dist/common/utils/Analytics/index.es.js +31 -0
  352. package/dist/common/utils/Analytics/index.es.js.map +1 -0
  353. package/dist/common/utils/PostMessage/index.es.js +29 -0
  354. package/dist/common/utils/PostMessage/index.es.js.map +1 -0
  355. package/dist/common/utils/Theme/index.es.js +96 -0
  356. package/dist/common/utils/Theme/index.es.js.map +1 -0
  357. package/dist/core/api/AccountApi/index.es.js +22 -0
  358. package/dist/core/api/AccountApi/index.es.js.map +1 -0
  359. package/dist/core/api/AnalyticsApi/index.es.js +34 -0
  360. package/dist/core/api/AnalyticsApi/index.es.js.map +1 -0
  361. package/dist/core/api/AppDataApi/index.es.js +14 -0
  362. package/dist/core/api/AppDataApi/index.es.js.map +1 -0
  363. package/dist/core/api/BannerApi/index.es.js +23 -0
  364. package/dist/core/api/BannerApi/index.es.js.map +1 -0
  365. package/dist/core/api/BeatApi/index.es.js +24 -0
  366. package/dist/core/api/BeatApi/index.es.js.map +1 -0
  367. package/dist/core/api/BudgetsApi/index.es.js +28 -0
  368. package/dist/core/api/BudgetsApi/index.es.js.map +1 -0
  369. package/dist/core/api/CategoryApi/index.es.js +29 -0
  370. package/dist/core/api/CategoryApi/index.es.js.map +1 -0
  371. package/dist/core/api/FinstrongApi/index.es.js +22 -0
  372. package/dist/core/api/FinstrongApi/index.es.js.map +1 -0
  373. package/dist/core/api/GlobalCopyApi/index.es.js +14 -0
  374. package/dist/core/api/GlobalCopyApi/index.es.js.map +1 -0
  375. package/dist/core/api/GoalApi/index.es.js +28 -0
  376. package/dist/core/api/GoalApi/index.es.js.map +1 -0
  377. package/dist/core/api/HelpApi/index.es.js +14 -0
  378. package/dist/core/api/HelpApi/index.es.js.map +1 -0
  379. package/dist/core/api/HoldingApi/index.es.js +15 -0
  380. package/dist/core/api/HoldingApi/index.es.js.map +1 -0
  381. package/dist/core/api/MerchantApi/index.es.js +18 -0
  382. package/dist/core/api/MerchantApi/index.es.js.map +1 -0
  383. package/dist/core/api/NotificationApi/index.es.js +19 -0
  384. package/dist/core/api/NotificationApi/index.es.js.map +1 -0
  385. package/dist/core/api/RepeatingTransactionsApi/index.es.js +17 -0
  386. package/dist/core/api/RepeatingTransactionsApi/index.es.js.map +1 -0
  387. package/dist/core/api/ScheduledPaymentsApi/index.es.js +22 -0
  388. package/dist/core/api/ScheduledPaymentsApi/index.es.js.map +1 -0
  389. package/dist/core/api/SettingsApi/index.es.js +24 -0
  390. package/dist/core/api/SettingsApi/index.es.js.map +1 -0
  391. package/dist/core/api/TransactionApi/index.es.js +55 -0
  392. package/dist/core/api/TransactionApi/index.es.js.map +1 -0
  393. package/dist/core/api/UserApi/index.es.js +16 -0
  394. package/dist/core/api/UserApi/index.es.js.map +1 -0
  395. package/dist/core/api/WidgetApi/index.es.js +14 -0
  396. package/dist/core/api/WidgetApi/index.es.js.map +1 -0
  397. package/dist/core/constants/ApiEndpoints/index.es.js +51 -0
  398. package/dist/core/constants/ApiEndpoints/index.es.js.map +1 -0
  399. package/dist/core/constants/Category/index.es.js +299 -0
  400. package/dist/core/constants/Category/index.es.js.map +1 -0
  401. package/dist/core/constants/DateFormats/index.es.js +55 -0
  402. package/dist/core/constants/DateFormats/index.es.js.map +1 -0
  403. package/dist/core/constants/Debts/index.es.js +8 -0
  404. package/dist/core/constants/Debts/index.es.js.map +1 -0
  405. package/dist/core/constants/DefaultConfig/index.es.js +109 -0
  406. package/dist/core/constants/DefaultConfig/index.es.js.map +1 -0
  407. package/dist/core/constants/Help/index.es.js +183 -0
  408. package/dist/core/constants/Help/index.es.js.map +1 -0
  409. package/dist/core/constants/Investments/index.es.js +56 -0
  410. package/dist/core/constants/Investments/index.es.js.map +1 -0
  411. package/dist/core/constants/Numbers/index.es.js +9 -0
  412. package/dist/core/constants/Numbers/index.es.js.map +1 -0
  413. package/dist/core/constants/Table/index.es.js +18 -0
  414. package/dist/core/constants/Table/index.es.js.map +1 -0
  415. package/dist/core/constants/Transaction/index.es.js +43 -0
  416. package/dist/core/constants/Transaction/index.es.js.map +1 -0
  417. package/dist/core/constants/repeatingTransactions/index.es.js +8 -0
  418. package/dist/core/constants/repeatingTransactions/index.es.js.map +1 -0
  419. package/dist/core/index.es.js +134 -107
  420. package/dist/core/stores/AccountStore/index.es.js +247 -0
  421. package/dist/core/stores/AccountStore/index.es.js.map +1 -0
  422. package/dist/core/stores/AnalyticsStore/index.es.js +55 -0
  423. package/dist/core/stores/AnalyticsStore/index.es.js.map +1 -0
  424. package/dist/core/stores/AppDataStore/index.es.js +61 -0
  425. package/dist/core/stores/AppDataStore/index.es.js.map +1 -0
  426. package/dist/core/stores/AppDataStore.d.ts +2 -2
  427. package/dist/core/stores/BeatStore/index.es.js +43 -0
  428. package/dist/core/stores/BeatStore/index.es.js.map +1 -0
  429. package/dist/core/stores/BudgetsStore/index.es.js +155 -0
  430. package/dist/core/stores/BudgetsStore/index.es.js.map +1 -0
  431. package/dist/core/stores/CashflowStore/index.es.js +62 -0
  432. package/dist/core/stores/CashflowStore/index.es.js.map +1 -0
  433. package/dist/core/stores/CategoryStore/index.es.js +147 -0
  434. package/dist/core/stores/CategoryStore/index.es.js.map +1 -0
  435. package/dist/core/stores/ConnectStore/index.es.js +19 -0
  436. package/dist/core/stores/ConnectStore/index.es.js.map +1 -0
  437. package/dist/core/stores/DebtsStore/index.es.js +40 -0
  438. package/dist/core/stores/DebtsStore/index.es.js.map +1 -0
  439. package/dist/core/stores/FinstrongStore/index.es.js +156 -0
  440. package/dist/core/stores/FinstrongStore/index.es.js.map +1 -0
  441. package/dist/core/stores/GlobalCopyStore/index.es.js +32 -0
  442. package/dist/core/stores/GlobalCopyStore/index.es.js.map +1 -0
  443. package/dist/core/stores/GlobalStore/index.es.js +87 -0
  444. package/dist/core/stores/GlobalStore/index.es.js.map +1 -0
  445. package/dist/core/stores/GlobalUiStore/index.es.js +68 -0
  446. package/dist/core/stores/GlobalUiStore/index.es.js.map +1 -0
  447. package/dist/core/stores/GlobalUiStore.d.ts +2 -2
  448. package/dist/core/stores/GoalStore/index.es.js +233 -0
  449. package/dist/core/stores/GoalStore/index.es.js.map +1 -0
  450. package/dist/core/stores/HelpStore/index.es.js +45 -0
  451. package/dist/core/stores/HelpStore/index.es.js.map +1 -0
  452. package/dist/core/stores/HelpStore.d.ts +1 -1
  453. package/dist/core/stores/HoldingStore/index.es.js +60 -0
  454. package/dist/core/stores/HoldingStore/index.es.js.map +1 -0
  455. package/dist/core/stores/MerchantStore/index.es.js +28 -0
  456. package/dist/core/stores/MerchantStore/index.es.js.map +1 -0
  457. package/dist/core/stores/NetWorthStore/index.es.js +73 -0
  458. package/dist/core/stores/NetWorthStore/index.es.js.map +1 -0
  459. package/dist/core/stores/NotificationStore/index.es.js +46 -0
  460. package/dist/core/stores/NotificationStore/index.es.js.map +1 -0
  461. package/dist/core/stores/RecurringTransactionsStore/index.es.js +199 -0
  462. package/dist/core/stores/RecurringTransactionsStore/index.es.js.map +1 -0
  463. package/dist/core/stores/RecurringTransactionsStore.d.ts +3 -3
  464. package/dist/core/stores/SettingsStore/index.es.js +184 -0
  465. package/dist/core/stores/SettingsStore/index.es.js.map +1 -0
  466. package/dist/core/stores/SettingsStore.d.ts +1 -1
  467. package/dist/core/stores/TransactionStore/index.es.js +372 -0
  468. package/dist/core/stores/TransactionStore/index.es.js.map +1 -0
  469. package/dist/core/stores/TrendsStore/index.es.js +51 -0
  470. package/dist/core/stores/TrendsStore/index.es.js.map +1 -0
  471. package/dist/core/stores/UserStore/index.es.js +49 -0
  472. package/dist/core/stores/UserStore/index.es.js.map +1 -0
  473. package/dist/core/types/Account/index.es.js +118 -0
  474. package/dist/core/types/Account/index.es.js.map +1 -0
  475. package/dist/core/types/Beat/index.es.js +8 -0
  476. package/dist/core/types/Beat/index.es.js.map +1 -0
  477. package/dist/core/types/Expense/index.es.js +11 -0
  478. package/dist/core/types/Expense/index.es.js.map +1 -0
  479. package/dist/core/types/Finstrong/index.es.js +14 -0
  480. package/dist/core/types/Finstrong/index.es.js.map +1 -0
  481. package/dist/core/types/Goal/index.es.js +14 -0
  482. package/dist/core/types/Goal/index.es.js.map +1 -0
  483. package/dist/core/types/Notification/index.es.js +17 -0
  484. package/dist/core/types/Notification/index.es.js.map +1 -0
  485. package/dist/core/types/RepeatingTransaction/index.es.js +17 -0
  486. package/dist/core/types/RepeatingTransaction/index.es.js.map +1 -0
  487. package/dist/core/types/ScreenSize/index.es.js +8 -0
  488. package/dist/core/types/ScreenSize/index.es.js.map +1 -0
  489. package/dist/core/types/Transaction/index.es.js +11 -0
  490. package/dist/core/types/Transaction/index.es.js.map +1 -0
  491. package/dist/core/types/localization/RecurringCopy.d.ts +0 -6
  492. package/dist/core/utils/AccountUtils/index.es.js +27 -0
  493. package/dist/core/utils/AccountUtils/index.es.js.map +1 -0
  494. package/dist/core/utils/BeatUtils/index.es.js +50 -0
  495. package/dist/core/utils/BeatUtils/index.es.js.map +1 -0
  496. package/dist/core/utils/BudgetUtil/index.es.js +71 -0
  497. package/dist/core/utils/BudgetUtil/index.es.js.map +1 -0
  498. package/dist/core/utils/CategoryUtil/index.es.js +60 -0
  499. package/dist/core/utils/CategoryUtil/index.es.js.map +1 -0
  500. package/dist/core/utils/DateUtil/index.es.js +70 -0
  501. package/dist/core/utils/DateUtil/index.es.js.map +1 -0
  502. package/dist/core/utils/DebtUtils/index.es.js +144 -0
  503. package/dist/core/utils/DebtUtils/index.es.js.map +1 -0
  504. package/dist/core/utils/Fetch/index.es.js +74 -0
  505. package/dist/core/utils/Fetch/index.es.js.map +1 -0
  506. package/dist/core/utils/FinstrongUtils/index.es.js +11 -0
  507. package/dist/core/utils/FinstrongUtils/index.es.js.map +1 -0
  508. package/dist/core/utils/GoalsUtil/index.es.js +113 -0
  509. package/dist/core/utils/GoalsUtil/index.es.js.map +1 -0
  510. package/dist/core/utils/HelpUtil/index.es.js +23 -0
  511. package/dist/core/utils/HelpUtil/index.es.js.map +1 -0
  512. package/dist/core/utils/InvestmentUtil/index.es.js +77 -0
  513. package/dist/core/utils/InvestmentUtil/index.es.js.map +1 -0
  514. package/dist/core/utils/Localization/index.es.js +34 -0
  515. package/dist/core/utils/Localization/index.es.js.map +1 -0
  516. package/dist/core/utils/NetWorthUtils/index.es.js +115 -0
  517. package/dist/core/utils/NetWorthUtils/index.es.js.map +1 -0
  518. package/dist/core/utils/NotificationUtils/index.es.js +17 -0
  519. package/dist/core/utils/NotificationUtils/index.es.js.map +1 -0
  520. package/dist/core/utils/NumberFormatting/index.es.js +31 -0
  521. package/dist/core/utils/NumberFormatting/index.es.js.map +1 -0
  522. package/dist/core/utils/RecurringTransactionsUtil/index.es.js +285 -0
  523. package/dist/core/utils/RecurringTransactionsUtil/index.es.js.map +1 -0
  524. package/dist/core/utils/SettingsUtil/index.es.js +56 -0
  525. package/dist/core/utils/SettingsUtil/index.es.js.map +1 -0
  526. package/dist/core/utils/TransactionUtils/index.es.js +113 -0
  527. package/dist/core/utils/TransactionUtils/index.es.js.map +1 -0
  528. package/dist/core/utils/TrendsUtil/index.es.js +72 -0
  529. package/dist/core/utils/TrendsUtil/index.es.js.map +1 -0
  530. package/dist/core/utils/UserUtils/index.es.js +6 -0
  531. package/dist/core/utils/UserUtils/index.es.js.map +1 -0
  532. package/dist/dashboard/Dashboard/index.es.js +99 -0
  533. package/dist/dashboard/Dashboard/index.es.js.map +1 -0
  534. package/dist/dashboard/Greeting/index.es.js +49 -0
  535. package/dist/dashboard/Greeting/index.es.js.map +1 -0
  536. package/dist/dashboard/constants/Dashboard/index.es.js +8 -0
  537. package/dist/dashboard/constants/Dashboard/index.es.js.map +1 -0
  538. package/dist/dashboard/index.es.js +4 -153
  539. package/dist/debts/DebtsWidget/index.es.js +138 -0
  540. package/dist/debts/DebtsWidget/index.es.js.map +1 -0
  541. package/dist/debts/components/DebtDrawer/index.es.js +26 -0
  542. package/dist/debts/components/DebtDrawer/index.es.js.map +1 -0
  543. package/dist/debts/components/DebtsChart/index.es.js +135 -0
  544. package/dist/debts/components/DebtsChart/index.es.js.map +1 -0
  545. package/dist/debts/components/DebtsTable/AccountCell/index.es.js +30 -0
  546. package/dist/debts/components/DebtsTable/AccountCell/index.es.js.map +1 -0
  547. package/dist/debts/components/DebtsTable/PriorityCell/index.es.js +35 -0
  548. package/dist/debts/components/DebtsTable/PriorityCell/index.es.js.map +1 -0
  549. package/dist/debts/components/DebtsTable/index.es.js +193 -0
  550. package/dist/debts/components/DebtsTable/index.es.js.map +1 -0
  551. package/dist/debts/components/PaydownDrawer/index.es.js +19 -0
  552. package/dist/debts/components/PaydownDrawer/index.es.js.map +1 -0
  553. package/dist/debts/components/SnowballCard/index.es.js +87 -0
  554. package/dist/debts/components/SnowballCard/index.es.js.map +1 -0
  555. package/dist/debts/components/SnowballDrawer/index.es.js +457 -0
  556. package/dist/debts/components/SnowballDrawer/index.es.js.map +1 -0
  557. package/dist/debts/components/actions/DebtsPriorityAction/index.es.js +37 -0
  558. package/dist/debts/components/actions/DebtsPriorityAction/index.es.js.map +1 -0
  559. package/dist/debts/components/actions/ExtraPaymentAction/index.es.js +43 -0
  560. package/dist/debts/components/actions/ExtraPaymentAction/index.es.js.map +1 -0
  561. package/dist/debts/components/actions/InterestRateAction/index.es.js +41 -0
  562. package/dist/debts/components/actions/InterestRateAction/index.es.js.map +1 -0
  563. package/dist/debts/components/actions/MonthlyPaymentAction/index.es.js +43 -0
  564. package/dist/debts/components/actions/MonthlyPaymentAction/index.es.js.map +1 -0
  565. package/dist/debts/components/actions/OriginalBalanceAction/index.es.js +43 -0
  566. package/dist/debts/components/actions/OriginalBalanceAction/index.es.js.map +1 -0
  567. package/dist/debts/components/debtsdrawer/DebtDetailsChart/index.es.js +43 -0
  568. package/dist/debts/components/debtsdrawer/DebtDetailsChart/index.es.js.map +1 -0
  569. package/dist/debts/components/debtsdrawer/DebtDetailsContent/index.es.js +54 -0
  570. package/dist/debts/components/debtsdrawer/DebtDetailsContent/index.es.js.map +1 -0
  571. package/dist/debts/components/debtsdrawer/DebtDetailsTab/index.es.js +40 -0
  572. package/dist/debts/components/debtsdrawer/DebtDetailsTab/index.es.js.map +1 -0
  573. package/dist/debts/components/debtsdrawer/DebtScheduleTab/index.es.js +108 -0
  574. package/dist/debts/components/debtsdrawer/DebtScheduleTab/index.es.js.map +1 -0
  575. package/dist/debts/components/debtsdrawer/DebtStatusCard/index.es.js +86 -0
  576. package/dist/debts/components/debtsdrawer/DebtStatusCard/index.es.js.map +1 -0
  577. package/dist/debts/components/debtspaydown/PaydownButton/index.es.js +32 -0
  578. package/dist/debts/components/debtspaydown/PaydownButton/index.es.js.map +1 -0
  579. package/dist/debts/components/debtspaydown/PaydownContent/index.es.js +77 -0
  580. package/dist/debts/components/debtspaydown/PaydownContent/index.es.js.map +1 -0
  581. package/dist/debts/components/debtspriority/DebtsPriorityButton/index.es.js +32 -0
  582. package/dist/debts/components/debtspriority/DebtsPriorityButton/index.es.js.map +1 -0
  583. package/dist/debts/components/debtspriority/DebtsPrioriyPopover/index.es.js +78 -0
  584. package/dist/debts/components/debtspriority/DebtsPrioriyPopover/index.es.js.map +1 -0
  585. package/dist/debts/hooks/useDebtsUiStore/index.es.js +12 -0
  586. package/dist/debts/hooks/useDebtsUiStore/index.es.js.map +1 -0
  587. package/dist/debts/index.es.js +6 -1496
  588. package/dist/debts/utils/DebtsChart/index.es.js +15 -0
  589. package/dist/debts/utils/DebtsChart/index.es.js.map +1 -0
  590. package/dist/debts/utils/DebtsTable/index.es.js +17 -0
  591. package/dist/debts/utils/DebtsTable/index.es.js.map +1 -0
  592. package/dist/debts/utils/SnowballCard/index.es.js +40 -0
  593. package/dist/debts/utils/SnowballCard/index.es.js.map +1 -0
  594. package/dist/finstrong/FinancialStrengthCard/index.es.js +127 -0
  595. package/dist/finstrong/FinancialStrengthCard/index.es.js.map +1 -0
  596. package/dist/finstrong/FinstrongWidget/index.es.js +175 -0
  597. package/dist/finstrong/FinstrongWidget/index.es.js.map +1 -0
  598. package/dist/finstrong/components/ConnectMoreAccountsCard/index.es.js +80 -0
  599. package/dist/finstrong/components/ConnectMoreAccountsCard/index.es.js.map +1 -0
  600. package/dist/finstrong/components/CreditScore/CreditScoreContent/index.es.js +39 -0
  601. package/dist/finstrong/components/CreditScore/CreditScoreContent/index.es.js.map +1 -0
  602. package/dist/finstrong/components/CreditScore/CreditScoreHeader/index.es.js +22 -0
  603. package/dist/finstrong/components/CreditScore/CreditScoreHeader/index.es.js.map +1 -0
  604. package/dist/finstrong/components/CreditScoreGraph/index.es.js +61 -0
  605. package/dist/finstrong/components/CreditScoreGraph/index.es.js.map +1 -0
  606. package/dist/finstrong/components/FinancialStrengthGraph/index.es.js +44 -0
  607. package/dist/finstrong/components/FinancialStrengthGraph/index.es.js.map +1 -0
  608. package/dist/finstrong/components/HaveManageableDebt/DebtPaymentTabContent/index.es.js +43 -0
  609. package/dist/finstrong/components/HaveManageableDebt/DebtPaymentTabContent/index.es.js.map +1 -0
  610. package/dist/finstrong/components/HaveManageableDebt/HaveManageableDebtComponent/index.es.js +88 -0
  611. package/dist/finstrong/components/HaveManageableDebt/HaveManageableDebtComponent/index.es.js.map +1 -0
  612. package/dist/finstrong/components/HaveManageableDebt/HaveManageableDebtProgressBar/index.es.js +73 -0
  613. package/dist/finstrong/components/HaveManageableDebt/HaveManageableDebtProgressBar/index.es.js.map +1 -0
  614. package/dist/finstrong/components/HaveManageableDebt/IncomeTabContent/index.es.js +40 -0
  615. package/dist/finstrong/components/HaveManageableDebt/IncomeTabContent/index.es.js.map +1 -0
  616. package/dist/finstrong/components/HealthChart/index.es.js +117 -0
  617. package/dist/finstrong/components/HealthChart/index.es.js.map +1 -0
  618. package/dist/finstrong/components/KeyIndicatorsBorrowTab/index.es.js +71 -0
  619. package/dist/finstrong/components/KeyIndicatorsBorrowTab/index.es.js.map +1 -0
  620. package/dist/finstrong/components/KeyIndicatorsDrawer/index.es.js +92 -0
  621. package/dist/finstrong/components/KeyIndicatorsDrawer/index.es.js.map +1 -0
  622. package/dist/finstrong/components/KeyIndicatorsSaveTab/index.es.js +73 -0
  623. package/dist/finstrong/components/KeyIndicatorsSaveTab/index.es.js.map +1 -0
  624. package/dist/finstrong/components/KeyIndicatorsSpendTab/index.es.js +58 -0
  625. package/dist/finstrong/components/KeyIndicatorsSpendTab/index.es.js.map +1 -0
  626. package/dist/finstrong/components/KeyIndicatorsTabItem/index.es.js +65 -0
  627. package/dist/finstrong/components/KeyIndicatorsTabItem/index.es.js.map +1 -0
  628. package/dist/finstrong/components/KeyIndicatorsTabItemDrawer/index.es.js +93 -0
  629. package/dist/finstrong/components/KeyIndicatorsTabItemDrawer/index.es.js.map +1 -0
  630. package/dist/finstrong/components/KeyIndicatorsTabsWidget/index.es.js +78 -0
  631. package/dist/finstrong/components/KeyIndicatorsTabsWidget/index.es.js.map +1 -0
  632. package/dist/finstrong/components/MaintainingEmergencySavings/EstimatedContributionCalculator/index.es.js +170 -0
  633. package/dist/finstrong/components/MaintainingEmergencySavings/EstimatedContributionCalculator/index.es.js.map +1 -0
  634. package/dist/finstrong/components/MaintainingEmergencySavings/MaintainingEmergencySavingsContent/index.es.js +51 -0
  635. package/dist/finstrong/components/MaintainingEmergencySavings/MaintainingEmergencySavingsContent/index.es.js.map +1 -0
  636. package/dist/finstrong/components/MaintainingEmergencySavings/MaintainingEmergencySavingsSticky/index.es.js +53 -0
  637. package/dist/finstrong/components/MaintainingEmergencySavings/MaintainingEmergencySavingsSticky/index.es.js.map +1 -0
  638. package/dist/finstrong/components/ManageCreditScore/index.es.js +52 -0
  639. package/dist/finstrong/components/ManageCreditScore/index.es.js.map +1 -0
  640. package/dist/finstrong/components/ManageDOB/index.es.js +79 -0
  641. package/dist/finstrong/components/ManageDOB/index.es.js.map +1 -0
  642. package/dist/finstrong/components/MissingData/index.es.js +51 -0
  643. package/dist/finstrong/components/MissingData/index.es.js.map +1 -0
  644. package/dist/finstrong/components/ProfileDrawer/index.es.js +124 -0
  645. package/dist/finstrong/components/ProfileDrawer/index.es.js.map +1 -0
  646. package/dist/finstrong/components/ProfileList/index.es.js +65 -0
  647. package/dist/finstrong/components/ProfileList/index.es.js.map +1 -0
  648. package/dist/finstrong/components/ProfileProgressBar/index.es.js +32 -0
  649. package/dist/finstrong/components/ProfileProgressBar/index.es.js.map +1 -0
  650. package/dist/finstrong/components/ProgressBar/index.es.js +53 -0
  651. package/dist/finstrong/components/ProgressBar/index.es.js.map +1 -0
  652. package/dist/finstrong/components/SaveEnoughToLiveOn/AvailableTabContent/index.es.js +27 -0
  653. package/dist/finstrong/components/SaveEnoughToLiveOn/AvailableTabContent/index.es.js.map +1 -0
  654. package/dist/finstrong/components/SaveEnoughToLiveOn/SaveEnoughToLiveOnDrawerContent/index.es.js +51 -0
  655. package/dist/finstrong/components/SaveEnoughToLiveOn/SaveEnoughToLiveOnDrawerContent/index.es.js.map +1 -0
  656. package/dist/finstrong/components/SaveEnoughToLiveOn/SaveEnoughToLiveOnProgressBar/index.es.js +56 -0
  657. package/dist/finstrong/components/SaveEnoughToLiveOn/SaveEnoughToLiveOnProgressBar/index.es.js.map +1 -0
  658. package/dist/finstrong/components/SaveEnoughToLiveOn/SpendingTabContent/index.es.js +34 -0
  659. package/dist/finstrong/components/SaveEnoughToLiveOn/SpendingTabContent/index.es.js.map +1 -0
  660. package/dist/finstrong/components/ScoreHistoryDrawer/index.es.js +90 -0
  661. package/dist/finstrong/components/ScoreHistoryDrawer/index.es.js.map +1 -0
  662. package/dist/finstrong/components/ScoreRubricDrawer/index.es.js +118 -0
  663. package/dist/finstrong/components/ScoreRubricDrawer/index.es.js.map +1 -0
  664. package/dist/finstrong/components/SpendLessThanYouMake/SpendLessThanYouMakeComponent/index.es.js +130 -0
  665. package/dist/finstrong/components/SpendLessThanYouMake/SpendLessThanYouMakeComponent/index.es.js.map +1 -0
  666. package/dist/finstrong/components/SpendLessThanYouMake/SpendLessThanYouMakeProgressBar/index.es.js +50 -0
  667. package/dist/finstrong/components/SpendLessThanYouMake/SpendLessThanYouMakeProgressBar/index.es.js.map +1 -0
  668. package/dist/finstrong/components/StatusChip/index.es.js +37 -0
  669. package/dist/finstrong/components/StatusChip/index.es.js.map +1 -0
  670. package/dist/finstrong/components/onboarding/Onboarding/index.es.js +57 -0
  671. package/dist/finstrong/components/onboarding/Onboarding/index.es.js.map +1 -0
  672. package/dist/finstrong/components/onboarding/OnboardingAddMonthlyIncome/index.es.js +57 -0
  673. package/dist/finstrong/components/onboarding/OnboardingAddMonthlyIncome/index.es.js.map +1 -0
  674. package/dist/finstrong/components/onboarding/OnboardingBirthday/index.es.js +46 -0
  675. package/dist/finstrong/components/onboarding/OnboardingBirthday/index.es.js.map +1 -0
  676. package/dist/finstrong/components/onboarding/OnboardingCreditScore/index.es.js +28 -0
  677. package/dist/finstrong/components/onboarding/OnboardingCreditScore/index.es.js.map +1 -0
  678. package/dist/finstrong/components/onboarding/OnboardingStepsDrawer/index.es.js +313 -0
  679. package/dist/finstrong/components/onboarding/OnboardingStepsDrawer/index.es.js.map +1 -0
  680. package/dist/finstrong/components/onboarding/OnboardingStepsHeader/index.es.js +25 -0
  681. package/dist/finstrong/components/onboarding/OnboardingStepsHeader/index.es.js.map +1 -0
  682. package/dist/finstrong/components/paybillsontime/PayBillsOnTimeDrawerComponent/index.es.js +69 -0
  683. package/dist/finstrong/components/paybillsontime/PayBillsOnTimeDrawerComponent/index.es.js.map +1 -0
  684. package/dist/finstrong/components/paybillsontime/PayBillsOnTimeStickyComponent/index.es.js +38 -0
  685. package/dist/finstrong/components/paybillsontime/PayBillsOnTimeStickyComponent/index.es.js.map +1 -0
  686. package/dist/finstrong/components/shared/Accounts/index.es.js +102 -0
  687. package/dist/finstrong/components/shared/Accounts/index.es.js.map +1 -0
  688. package/dist/finstrong/components/shared/CustomDoubleBarPlot/index.es.js +48 -0
  689. package/dist/finstrong/components/shared/CustomDoubleBarPlot/index.es.js.map +1 -0
  690. package/dist/finstrong/components/shared/CustomPieArc/index.es.js +52 -0
  691. package/dist/finstrong/components/shared/CustomPieArc/index.es.js.map +1 -0
  692. package/dist/finstrong/components/shared/DialScoreCard/index.es.js +186 -0
  693. package/dist/finstrong/components/shared/DialScoreCard/index.es.js.map +1 -0
  694. package/dist/finstrong/components/shared/DoubleBarChart/index.es.js +196 -0
  695. package/dist/finstrong/components/shared/DoubleBarChart/index.es.js.map +1 -0
  696. package/dist/finstrong/components/shared/LineGraph/index.es.js +136 -0
  697. package/dist/finstrong/components/shared/LineGraph/index.es.js.map +1 -0
  698. package/dist/finstrong/components/shared/ScoreHistoryTimeline/index.es.js +107 -0
  699. package/dist/finstrong/components/shared/ScoreHistoryTimeline/index.es.js.map +1 -0
  700. package/dist/finstrong/components/shared/ScoreHistoryTimelineItem/index.es.js +40 -0
  701. package/dist/finstrong/components/shared/ScoreHistoryTimelineItem/index.es.js.map +1 -0
  702. package/dist/finstrong/components/shared/TotalCard/index.es.js +30 -0
  703. package/dist/finstrong/components/shared/TotalCard/index.es.js.map +1 -0
  704. package/dist/finstrong/components/shared/Transactions/index.es.js +129 -0
  705. package/dist/finstrong/components/shared/Transactions/index.es.js.map +1 -0
  706. package/dist/finstrong/constants/index/index.es.js +9 -0
  707. package/dist/finstrong/constants/index/index.es.js.map +1 -0
  708. package/dist/finstrong/index.es.js +8 -3912
  709. package/dist/finstrong/util/finstrongUtils/index.es.js +206 -0
  710. package/dist/finstrong/util/finstrongUtils/index.es.js.map +1 -0
  711. package/dist/goals/GoalsMicroWidget/index.es.js +44 -0
  712. package/dist/goals/GoalsMicroWidget/index.es.js.map +1 -0
  713. package/dist/goals/GoalsWidget/index.es.js +141 -0
  714. package/dist/goals/GoalsWidget/index.es.js.map +1 -0
  715. package/dist/goals/components/AccountSelectionDrawer/index.es.js +54 -0
  716. package/dist/goals/components/AccountSelectionDrawer/index.es.js.map +1 -0
  717. package/dist/goals/components/AddGoal/AddGoalListItem/index.es.js +72 -0
  718. package/dist/goals/components/AddGoal/AddGoalListItem/index.es.js.map +1 -0
  719. package/dist/goals/components/AddGoal/index.es.js +59 -0
  720. package/dist/goals/components/AddGoal/index.es.js.map +1 -0
  721. package/dist/goals/components/GoalDetails/index.es.js +115 -0
  722. package/dist/goals/components/GoalDetails/index.es.js.map +1 -0
  723. package/dist/goals/components/GoalDetailsDrawer/index.es.js +83 -0
  724. package/dist/goals/components/GoalDetailsDrawer/index.es.js.map +1 -0
  725. package/dist/goals/components/GoalList/index.es.js +135 -0
  726. package/dist/goals/components/GoalList/index.es.js.map +1 -0
  727. package/dist/goals/components/GoalStatusCard/index.es.js +95 -0
  728. package/dist/goals/components/GoalStatusCard/index.es.js.map +1 -0
  729. package/dist/goals/components/ManageGoals/CompleteListItem/index.es.js +59 -0
  730. package/dist/goals/components/ManageGoals/CompleteListItem/index.es.js.map +1 -0
  731. package/dist/goals/components/ManageGoals/OngoingListItem/index.es.js +83 -0
  732. package/dist/goals/components/ManageGoals/OngoingListItem/index.es.js.map +1 -0
  733. package/dist/goals/components/ManageGoals/index.es.js +89 -0
  734. package/dist/goals/components/ManageGoals/index.es.js.map +1 -0
  735. package/dist/goals/components/TabTitle/index.es.js +19 -0
  736. package/dist/goals/components/TabTitle/index.es.js.map +1 -0
  737. package/dist/goals/components/actions/AccountAction/index.es.js +28 -0
  738. package/dist/goals/components/actions/AccountAction/index.es.js.map +1 -0
  739. package/dist/goals/components/actions/AddRetirementAccountAction/index.es.js +56 -0
  740. package/dist/goals/components/actions/AddRetirementAccountAction/index.es.js.map +1 -0
  741. package/dist/goals/components/actions/AmountToSaveAction/index.es.js +45 -0
  742. package/dist/goals/components/actions/AmountToSaveAction/index.es.js.map +1 -0
  743. package/dist/goals/components/actions/BirthdayAction/index.es.js +44 -0
  744. package/dist/goals/components/actions/BirthdayAction/index.es.js.map +1 -0
  745. package/dist/goals/components/actions/ChangeAccountAction/index.es.js +127 -0
  746. package/dist/goals/components/actions/ChangeAccountAction/index.es.js.map +1 -0
  747. package/dist/goals/components/actions/ContributionAction/index.es.js +49 -0
  748. package/dist/goals/components/actions/ContributionAction/index.es.js.map +1 -0
  749. package/dist/goals/components/actions/GoalNameAction/index.es.js +41 -0
  750. package/dist/goals/components/actions/GoalNameAction/index.es.js.map +1 -0
  751. package/dist/goals/components/actions/InterestRateAction/index.es.js +42 -0
  752. package/dist/goals/components/actions/InterestRateAction/index.es.js.map +1 -0
  753. package/dist/goals/components/actions/MonthlyPaymentAction/index.es.js +47 -0
  754. package/dist/goals/components/actions/MonthlyPaymentAction/index.es.js.map +1 -0
  755. package/dist/goals/components/actions/OriginalBalanceAction/index.es.js +47 -0
  756. package/dist/goals/components/actions/OriginalBalanceAction/index.es.js.map +1 -0
  757. package/dist/goals/components/actions/RetirementAgeAction/index.es.js +42 -0
  758. package/dist/goals/components/actions/RetirementAgeAction/index.es.js.map +1 -0
  759. package/dist/goals/components/micro/GoalMicroStatusCard/index.es.js +64 -0
  760. package/dist/goals/components/micro/GoalMicroStatusCard/index.es.js.map +1 -0
  761. package/dist/goals/components/micro/GoalsMicroEmptyState/index.es.js +35 -0
  762. package/dist/goals/components/micro/GoalsMicroEmptyState/index.es.js.map +1 -0
  763. package/dist/goals/index.es.js +4 -1088
  764. package/dist/help/HelpWidget/index.es.js +25 -0
  765. package/dist/help/HelpWidget/index.es.js.map +1 -0
  766. package/dist/help/components/Help/index.es.js +48 -0
  767. package/dist/help/components/Help/index.es.js.map +1 -0
  768. package/dist/help/components/HelpContent/index.es.js +25 -0
  769. package/dist/help/components/HelpContent/index.es.js.map +1 -0
  770. package/dist/help/components/HelpList/index.es.js +142 -0
  771. package/dist/help/components/HelpList/index.es.js.map +1 -0
  772. package/dist/help/components/content/BottomImageContent/index.es.js +51 -0
  773. package/dist/help/components/content/BottomImageContent/index.es.js.map +1 -0
  774. package/dist/help/components/content/ContentItem/index.es.js +46 -0
  775. package/dist/help/components/content/ContentItem/index.es.js.map +1 -0
  776. package/dist/help/components/content/Header/index.es.js +83 -0
  777. package/dist/help/components/content/Header/index.es.js.map +1 -0
  778. package/dist/help/components/content/LeftImageContent/index.es.js +57 -0
  779. package/dist/help/components/content/LeftImageContent/index.es.js.map +1 -0
  780. package/dist/help/components/content/NoImageContent/index.es.js +15 -0
  781. package/dist/help/components/content/NoImageContent/index.es.js.map +1 -0
  782. package/dist/help/components/content/RightImageContent/index.es.js +55 -0
  783. package/dist/help/components/content/RightImageContent/index.es.js.map +1 -0
  784. package/dist/help/components/content/TopImageContent/index.es.js +51 -0
  785. package/dist/help/components/content/TopImageContent/index.es.js.map +1 -0
  786. package/dist/help/components/content/section/Accounts/index.es.js +159 -0
  787. package/dist/help/components/content/section/Accounts/index.es.js.map +1 -0
  788. package/dist/help/components/content/section/Budgets/index.es.js +66 -0
  789. package/dist/help/components/content/section/Budgets/index.es.js.map +1 -0
  790. package/dist/help/components/content/section/CashFlow/index.es.js +47 -0
  791. package/dist/help/components/content/section/CashFlow/index.es.js.map +1 -0
  792. package/dist/help/components/content/section/Debts/index.es.js +168 -0
  793. package/dist/help/components/content/section/Debts/index.es.js.map +1 -0
  794. package/dist/help/components/content/section/General/index.es.js +84 -0
  795. package/dist/help/components/content/section/General/index.es.js.map +1 -0
  796. package/dist/help/components/content/section/Goals/index.es.js +112 -0
  797. package/dist/help/components/content/section/Goals/index.es.js.map +1 -0
  798. package/dist/help/components/content/section/Insights/index.es.js +79 -0
  799. package/dist/help/components/content/section/Insights/index.es.js.map +1 -0
  800. package/dist/help/components/content/section/Investments/index.es.js +48 -0
  801. package/dist/help/components/content/section/Investments/index.es.js.map +1 -0
  802. package/dist/help/components/content/section/Mobile/index.es.js +48 -0
  803. package/dist/help/components/content/section/Mobile/index.es.js.map +1 -0
  804. package/dist/help/components/content/section/NetWorth/index.es.js +61 -0
  805. package/dist/help/components/content/section/NetWorth/index.es.js.map +1 -0
  806. package/dist/help/components/content/section/Notifications/index.es.js +53 -0
  807. package/dist/help/components/content/section/Notifications/index.es.js.map +1 -0
  808. package/dist/help/components/content/section/RecurringTransactions/index.es.js +72 -0
  809. package/dist/help/components/content/section/RecurringTransactions/index.es.js.map +1 -0
  810. package/dist/help/components/content/section/Spending/index.es.js +63 -0
  811. package/dist/help/components/content/section/Spending/index.es.js.map +1 -0
  812. package/dist/help/components/content/section/Transactions/index.es.js +209 -0
  813. package/dist/help/components/content/section/Transactions/index.es.js.map +1 -0
  814. package/dist/help/components/content/section/Trends/index.es.js +43 -0
  815. package/dist/help/components/content/section/Trends/index.es.js.map +1 -0
  816. package/dist/help/components/content/section/index/index.es.js +37 -0
  817. package/dist/help/components/content/section/index/index.es.js.map +1 -0
  818. package/dist/help/components/requestsupport/ContactSupport/index.es.js +90 -0
  819. package/dist/help/components/requestsupport/ContactSupport/index.es.js.map +1 -0
  820. package/dist/help/components/requestsupport/HelpByCategoryList/index.es.js +99 -0
  821. package/dist/help/components/requestsupport/HelpByCategoryList/index.es.js.map +1 -0
  822. package/dist/help/components/requestsupport/MissingInstitution/index.es.js +103 -0
  823. package/dist/help/components/requestsupport/MissingInstitution/index.es.js.map +1 -0
  824. package/dist/help/components/requestsupport/PopularTopicsDrawer/index.es.js +52 -0
  825. package/dist/help/components/requestsupport/PopularTopicsDrawer/index.es.js.map +1 -0
  826. package/dist/help/components/requestsupport/PopularTopicsList/index.es.js +24 -0
  827. package/dist/help/components/requestsupport/PopularTopicsList/index.es.js.map +1 -0
  828. package/dist/help/components/requestsupport/PopularTopicsRow/index.es.js +40 -0
  829. package/dist/help/components/requestsupport/PopularTopicsRow/index.es.js.map +1 -0
  830. package/dist/help/components/requestsupport/RequestSupport/index.es.js +172 -0
  831. package/dist/help/components/requestsupport/RequestSupport/index.es.js.map +1 -0
  832. package/dist/help/components/requestsupport/RequestSupportFooter/index.es.js +46 -0
  833. package/dist/help/components/requestsupport/RequestSupportFooter/index.es.js.map +1 -0
  834. package/dist/help/components/requestsupport/RequestSupportHeader/index.es.js +47 -0
  835. package/dist/help/components/requestsupport/RequestSupportHeader/index.es.js.map +1 -0
  836. package/dist/help/components/requestsupport/RequestSupportInstitution/index.es.js +68 -0
  837. package/dist/help/components/requestsupport/RequestSupportInstitution/index.es.js.map +1 -0
  838. package/dist/help/components/requestsupport/SupportSuccessMessage/index.es.js +71 -0
  839. package/dist/help/components/requestsupport/SupportSuccessMessage/index.es.js.map +1 -0
  840. package/dist/help/constants/HelpImages/index.es.js +49 -0
  841. package/dist/help/constants/HelpImages/index.es.js.map +1 -0
  842. package/dist/help/index.es.js +4 -26
  843. package/dist/help/utils/getInstitutionsBasedOnGuid/index.es.js +16 -0
  844. package/dist/help/utils/getInstitutionsBasedOnGuid/index.es.js.map +1 -0
  845. package/dist/insights/components/feed/Header/index.es.js +75 -0
  846. package/dist/insights/components/feed/Header/index.es.js.map +1 -0
  847. package/dist/insights/components/insights/AccountDiscoverability/AccountDiscoverability/index.es.js +12 -0
  848. package/dist/insights/components/insights/AccountDiscoverability/AccountDiscoverability/index.es.js.map +1 -0
  849. package/dist/insights/components/insights/AmericanUpcomingTaxDeadlineAlert/AmericanUpcomingTaxDeadlineAlert/index.es.js +22 -0
  850. package/dist/insights/components/insights/AmericanUpcomingTaxDeadlineAlert/AmericanUpcomingTaxDeadlineAlert/index.es.js.map +1 -0
  851. package/dist/insights/components/insights/AmericanUpcomingTaxDeadlineAlert/images/AmericanUpcomingTaxDeadlineAlert.svg/index.es.js +274 -0
  852. package/dist/insights/components/insights/AmericanUpcomingTaxDeadlineAlert/images/AmericanUpcomingTaxDeadlineAlert.svg/index.es.js.map +1 -0
  853. package/dist/insights/components/insights/AmericanUpcomingTaxDeadlineAlert/images/UpcomingTaxDeadlineAlertCIBC.svg/index.es.js +56 -0
  854. package/dist/insights/components/insights/AmericanUpcomingTaxDeadlineAlert/images/UpcomingTaxDeadlineAlertCIBC.svg/index.es.js.map +1 -0
  855. package/dist/insights/components/insights/BillAmountNotStandard/BillAmountNotStandard/index.es.js +35 -0
  856. package/dist/insights/components/insights/BillAmountNotStandard/BillAmountNotStandard/index.es.js.map +1 -0
  857. package/dist/insights/components/insights/BillAmountNotStandard/BillAmountNotStandardMUI/index.es.js +41 -0
  858. package/dist/insights/components/insights/BillAmountNotStandard/BillAmountNotStandardMUI/index.es.js.map +1 -0
  859. package/dist/insights/components/insights/CashBack/CashBack/index.es.js +45 -0
  860. package/dist/insights/components/insights/CashBack/CashBack/index.es.js.map +1 -0
  861. package/dist/insights/components/insights/CashBack/images/CashBack.png/index.es.js +6 -0
  862. package/dist/insights/components/insights/CashBack/images/CashBack.png/index.es.js.map +1 -0
  863. package/dist/insights/components/insights/CategoryBudget/CategoryBudget/index.es.js +55 -0
  864. package/dist/insights/components/insights/CategoryBudget/CategoryBudget/index.es.js.map +1 -0
  865. package/dist/insights/components/insights/CategorySpendingV2/CategorySpendingV2/index.es.js +46 -0
  866. package/dist/insights/components/insights/CategorySpendingV2/CategorySpendingV2/index.es.js.map +1 -0
  867. package/dist/insights/components/insights/CategorySpendingV2/CategorySpendingV2MUI/index.es.js +48 -0
  868. package/dist/insights/components/insights/CategorySpendingV2/CategorySpendingV2MUI/index.es.js.map +1 -0
  869. package/dist/insights/components/insights/CelebrateCreditCardPayoff/CelebrateCreditCardPayoff/index.es.js +66 -0
  870. package/dist/insights/components/insights/CelebrateCreditCardPayoff/CelebrateCreditCardPayoff/index.es.js.map +1 -0
  871. package/dist/insights/components/insights/CelebrateCreditCardPayoff/images/CelebrateCreditCardPayoffDark.svg/index.es.js +85 -0
  872. package/dist/insights/components/insights/CelebrateCreditCardPayoff/images/CelebrateCreditCardPayoffDark.svg/index.es.js.map +1 -0
  873. package/dist/insights/components/insights/CelebrateCreditCardPayoff/images/CelebrateCreditCardPayoffLight.svg/index.es.js +85 -0
  874. package/dist/insights/components/insights/CelebrateCreditCardPayoff/images/CelebrateCreditCardPayoffLight.svg/index.es.js.map +1 -0
  875. package/dist/insights/components/insights/CustomTransaction/CustomTransaction/index.es.js +24 -0
  876. package/dist/insights/components/insights/CustomTransaction/CustomTransaction/index.es.js.map +1 -0
  877. package/dist/insights/components/insights/DiscoveredAccounts/DiscoveredAccountsBody/index.es.js +120 -0
  878. package/dist/insights/components/insights/DiscoveredAccounts/DiscoveredAccountsBody/index.es.js.map +1 -0
  879. package/dist/insights/components/insights/DiscoveredAccounts/DiscoveredAccountsLearnMoreDrawerContent/index.es.js +143 -0
  880. package/dist/insights/components/insights/DiscoveredAccounts/DiscoveredAccountsLearnMoreDrawerContent/index.es.js.map +1 -0
  881. package/dist/insights/components/insights/DiscoveredAccounts/DiscoveredAccountsMiniInsight/index.es.js +20 -0
  882. package/dist/insights/components/insights/DiscoveredAccounts/DiscoveredAccountsMiniInsight/index.es.js.map +1 -0
  883. package/dist/insights/components/insights/FederalBankHoliday/FederalBankHoliday/index.es.js +29 -0
  884. package/dist/insights/components/insights/FederalBankHoliday/FederalBankHoliday/index.es.js.map +1 -0
  885. package/dist/insights/components/insights/FederalBankHoliday/FederalBankHolidayMUI/index.es.js +20 -0
  886. package/dist/insights/components/insights/FederalBankHoliday/FederalBankHolidayMUI/index.es.js.map +1 -0
  887. package/dist/insights/components/insights/FederalBankHoliday/images/FederalBankHoliday.svg/index.es.js +55 -0
  888. package/dist/insights/components/insights/FederalBankHoliday/images/FederalBankHoliday.svg/index.es.js.map +1 -0
  889. package/dist/insights/components/insights/FederalBankHoliday/images/FederalBankHolidayMUI.svg/index.es.js +494 -0
  890. package/dist/insights/components/insights/FederalBankHoliday/images/FederalBankHolidayMUI.svg/index.es.js.map +1 -0
  891. package/dist/insights/components/insights/FederalBankHoliday/images/FederalHolidayCibc.svg/index.es.js +88 -0
  892. package/dist/insights/components/insights/FederalBankHoliday/images/FederalHolidayCibc.svg/index.es.js.map +1 -0
  893. package/dist/insights/components/insights/MarketingHub/Offer/index.es.js +44 -0
  894. package/dist/insights/components/insights/MarketingHub/Offer/index.es.js.map +1 -0
  895. package/dist/insights/components/insights/MonthlyDebtToIncomeComparisonV2/MonthlyDebtToIncomeComparisonV2/index.es.js +33 -0
  896. package/dist/insights/components/insights/MonthlyDebtToIncomeComparisonV2/MonthlyDebtToIncomeComparisonV2/index.es.js.map +1 -0
  897. package/dist/insights/components/insights/MonthlyEmergencyFundReview/LastMonthsContributionSection/index.es.js +29 -0
  898. package/dist/insights/components/insights/MonthlyEmergencyFundReview/LastMonthsContributionSection/index.es.js.map +1 -0
  899. package/dist/insights/components/insights/MonthlyEmergencyFundReview/MonthlyEmergencyFundReviewBody/index.es.js +42 -0
  900. package/dist/insights/components/insights/MonthlyEmergencyFundReview/MonthlyEmergencyFundReviewBody/index.es.js.map +1 -0
  901. package/dist/insights/components/insights/MonthlyEmergencyFundReview/ProjectedCompletionSection/index.es.js +27 -0
  902. package/dist/insights/components/insights/MonthlyEmergencyFundReview/ProjectedCompletionSection/index.es.js.map +1 -0
  903. package/dist/insights/components/insights/MonthlyEmergencyFundReview/TotalSection/index.es.js +28 -0
  904. package/dist/insights/components/insights/MonthlyEmergencyFundReview/TotalSection/index.es.js.map +1 -0
  905. package/dist/insights/components/insights/MonthlySavingsToIncomeComparison/MonthlySavingsToIncomeComparison/index.es.js +33 -0
  906. package/dist/insights/components/insights/MonthlySavingsToIncomeComparison/MonthlySavingsToIncomeComparison/index.es.js.map +1 -0
  907. package/dist/insights/components/insights/MonthlySpendToIncomeComparisonV2/MonthlySpendToIncomeComparisonV2/index.es.js +37 -0
  908. package/dist/insights/components/insights/MonthlySpendToIncomeComparisonV2/MonthlySpendToIncomeComparisonV2/index.es.js.map +1 -0
  909. package/dist/insights/components/insights/MonthlySpendingComparisonV2/MonthlySpendingComparisonV2/index.es.js +35 -0
  910. package/dist/insights/components/insights/MonthlySpendingComparisonV2/MonthlySpendingComparisonV2/index.es.js.map +1 -0
  911. package/dist/insights/components/insights/P2pCategorization/P2pCategorization/index.es.js +20 -0
  912. package/dist/insights/components/insights/P2pCategorization/P2pCategorization/index.es.js.map +1 -0
  913. package/dist/insights/components/insights/P2pCategorization/shared/P2pCategorizationMultipleTransactions/index.es.js +83 -0
  914. package/dist/insights/components/insights/P2pCategorization/shared/P2pCategorizationMultipleTransactions/index.es.js.map +1 -0
  915. package/dist/insights/components/insights/P2pCategorization/shared/P2pCategorizationSingleTransaction/index.es.js +42 -0
  916. package/dist/insights/components/insights/P2pCategorization/shared/P2pCategorizationSingleTransaction/index.es.js.map +1 -0
  917. package/dist/insights/components/insights/SavingsAccountBalancesSummary/SavingsAccountBalancesSummary/index.es.js +40 -0
  918. package/dist/insights/components/insights/SavingsAccountBalancesSummary/SavingsAccountBalancesSummary/index.es.js.map +1 -0
  919. package/dist/insights/components/insights/SetUpDirectDeposit/SetUpDirectDepositBody/index.es.js +19 -0
  920. package/dist/insights/components/insights/SetUpDirectDeposit/SetUpDirectDepositBody/index.es.js.map +1 -0
  921. package/dist/insights/components/insights/SharedDeposit/SharedDeposit/index.es.js +104 -0
  922. package/dist/insights/components/insights/SharedDeposit/SharedDeposit/index.es.js.map +1 -0
  923. package/dist/insights/components/insights/SwitchDirectDeposit/AccountBox/index.es.js +37 -0
  924. package/dist/insights/components/insights/SwitchDirectDeposit/AccountBox/index.es.js.map +1 -0
  925. package/dist/insights/components/insights/SwitchDirectDeposit/SwitchDirectDepositBody/index.es.js +25 -0
  926. package/dist/insights/components/insights/SwitchDirectDeposit/SwitchDirectDepositBody/index.es.js.map +1 -0
  927. package/dist/insights/components/insights/SwitchDirectDeposit/SwitchDirectDepositMainContainer/index.es.js +36 -0
  928. package/dist/insights/components/insights/SwitchDirectDeposit/SwitchDirectDepositMainContainer/index.es.js.map +1 -0
  929. package/dist/insights/components/insights/UnifiedDeposit/UnifiedDeposit/index.es.js +38 -0
  930. package/dist/insights/components/insights/UnifiedDeposit/UnifiedDeposit/index.es.js.map +1 -0
  931. package/dist/insights/components/insights/UnifiedDeposit/UnifiedDepositBody/index.es.js +86 -0
  932. package/dist/insights/components/insights/UnifiedDeposit/UnifiedDepositBody/index.es.js.map +1 -0
  933. package/dist/insights/components/insights/UserFeedback/StyledToggleButton/index.es.js +34 -0
  934. package/dist/insights/components/insights/UserFeedback/StyledToggleButton/index.es.js.map +1 -0
  935. package/dist/insights/components/insights/UserFeedback/UserFeedback/index.es.js +133 -0
  936. package/dist/insights/components/insights/UserFeedback/UserFeedback/index.es.js.map +1 -0
  937. package/dist/insights/components/insights/WeeklyNoSpendDays/BubbleWeek/index.es.js +59 -0
  938. package/dist/insights/components/insights/WeeklyNoSpendDays/BubbleWeek/index.es.js.map +1 -0
  939. package/dist/insights/components/insights/WeeklyNoSpendDays/NoSpendIcons/index.es.js +23 -0
  940. package/dist/insights/components/insights/WeeklyNoSpendDays/NoSpendIcons/index.es.js.map +1 -0
  941. package/dist/insights/components/insights/WeeklyNoSpendDays/WeeklyNoSpendDays/index.es.js +51 -0
  942. package/dist/insights/components/insights/WeeklyNoSpendDays/WeeklyNoSpendDays/index.es.js.map +1 -0
  943. package/dist/insights/components/insights/WeeklyNoSpendDays/images/no_spend_0.png/index.es.js +6 -0
  944. package/dist/insights/components/insights/WeeklyNoSpendDays/images/no_spend_0.png/index.es.js.map +1 -0
  945. package/dist/insights/components/insights/WeeklyNoSpendDays/images/no_spend_1.png/index.es.js +6 -0
  946. package/dist/insights/components/insights/WeeklyNoSpendDays/images/no_spend_1.png/index.es.js.map +1 -0
  947. package/dist/insights/components/insights/WeeklyNoSpendDays/images/no_spend_2.png/index.es.js +6 -0
  948. package/dist/insights/components/insights/WeeklyNoSpendDays/images/no_spend_2.png/index.es.js.map +1 -0
  949. package/dist/insights/components/insights/WeeklyNoSpendDays/images/no_spend_3.png/index.es.js +6 -0
  950. package/dist/insights/components/insights/WeeklyNoSpendDays/images/no_spend_3.png/index.es.js.map +1 -0
  951. package/dist/insights/components/insights/WeeklyNoSpendDays/images/no_spend_4.png/index.es.js +6 -0
  952. package/dist/insights/components/insights/WeeklyNoSpendDays/images/no_spend_4.png/index.es.js.map +1 -0
  953. package/dist/insights/components/insights/WeeklyNoSpendDays/images/no_spend_5.png/index.es.js +6 -0
  954. package/dist/insights/components/insights/WeeklyNoSpendDays/images/no_spend_5.png/index.es.js.map +1 -0
  955. package/dist/insights/components/insights/WeeklyNoSpendDays/images/no_spend_6.png/index.es.js +6 -0
  956. package/dist/insights/components/insights/WeeklyNoSpendDays/images/no_spend_6.png/index.es.js.map +1 -0
  957. package/dist/insights/components/insights/WeeklyNoSpendDays/images/no_spend_7.png/index.es.js +6 -0
  958. package/dist/insights/components/insights/WeeklyNoSpendDays/images/no_spend_7.png/index.es.js.map +1 -0
  959. package/dist/insights/components/shared/BottomSheet/index.es.js +39 -0
  960. package/dist/insights/components/shared/BottomSheet/index.es.js.map +1 -0
  961. package/dist/insights/components/shared/ChartDrawerTemplate/ChartDrawerTemplate/index.es.js +66 -0
  962. package/dist/insights/components/shared/ChartDrawerTemplate/ChartDrawerTemplate/index.es.js.map +1 -0
  963. package/dist/insights/components/shared/ChartDrawerTemplate/TipSection/index.es.js +60 -0
  964. package/dist/insights/components/shared/ChartDrawerTemplate/TipSection/index.es.js.map +1 -0
  965. package/dist/insights/components/shared/ChartTransactionWithDrillDown/index.es.js +76 -0
  966. package/dist/insights/components/shared/ChartTransactionWithDrillDown/index.es.js.map +1 -0
  967. package/dist/insights/components/shared/Charts/BarChart/BarChart/index.es.js +147 -0
  968. package/dist/insights/components/shared/Charts/BarChart/BarChart/index.es.js.map +1 -0
  969. package/dist/insights/components/shared/Charts/BarChart/BarChartV2/index.es.js +148 -0
  970. package/dist/insights/components/shared/Charts/BarChart/BarChartV2/index.es.js.map +1 -0
  971. package/dist/insights/components/shared/Charts/BarChart/ChartLegend/index.es.js +75 -0
  972. package/dist/insights/components/shared/Charts/BarChart/ChartLegend/index.es.js.map +1 -0
  973. package/dist/insights/components/shared/Charts/BarChart/ChartLegendV2/index.es.js +80 -0
  974. package/dist/insights/components/shared/Charts/BarChart/ChartLegendV2/index.es.js.map +1 -0
  975. package/dist/insights/components/shared/Charts/BarChart/CustomBarPlot/index.es.js +72 -0
  976. package/dist/insights/components/shared/Charts/BarChart/CustomBarPlot/index.es.js.map +1 -0
  977. package/dist/insights/components/shared/Charts/BarChart/CustomBarPlotV2/index.es.js +32 -0
  978. package/dist/insights/components/shared/Charts/BarChart/CustomBarPlotV2/index.es.js.map +1 -0
  979. package/dist/insights/components/shared/Charts/BarChart/CustomDoubleBarPlot/index.es.js +51 -0
  980. package/dist/insights/components/shared/Charts/BarChart/CustomDoubleBarPlot/index.es.js.map +1 -0
  981. package/dist/insights/components/shared/Charts/BarChart/CustomDoubleBarPlotMXUI/index.es.js +45 -0
  982. package/dist/insights/components/shared/Charts/BarChart/CustomDoubleBarPlotMXUI/index.es.js.map +1 -0
  983. package/dist/insights/components/shared/Charts/BarChart/DoubleBarChart/index.es.js +118 -0
  984. package/dist/insights/components/shared/Charts/BarChart/DoubleBarChart/index.es.js.map +1 -0
  985. package/dist/insights/components/shared/Charts/BarChart/DoubleBarChartLegend/index.es.js +73 -0
  986. package/dist/insights/components/shared/Charts/BarChart/DoubleBarChartLegend/index.es.js.map +1 -0
  987. package/dist/insights/components/shared/Charts/BarChart/DoubleBarChartLegendMXUI/index.es.js +73 -0
  988. package/dist/insights/components/shared/Charts/BarChart/DoubleBarChartLegendMXUI/index.es.js.map +1 -0
  989. package/dist/insights/components/shared/Charts/BarChart/DoubleBarChartMXUI/index.es.js +116 -0
  990. package/dist/insights/components/shared/Charts/BarChart/DoubleBarChartMXUI/index.es.js.map +1 -0
  991. package/dist/insights/components/shared/Charts/EmptyBarChart/index.es.js +14 -0
  992. package/dist/insights/components/shared/Charts/EmptyBarChart/index.es.js.map +1 -0
  993. package/dist/insights/components/shared/Confetti/index.es.js +32 -0
  994. package/dist/insights/components/shared/Confetti/index.es.js.map +1 -0
  995. package/dist/insights/components/shared/ConnectionCard/index.es.js +90 -0
  996. package/dist/insights/components/shared/ConnectionCard/index.es.js.map +1 -0
  997. package/dist/insights/components/shared/Coupon/index.es.js +66 -0
  998. package/dist/insights/components/shared/Coupon/index.es.js.map +1 -0
  999. package/dist/insights/components/shared/DeepLinks/DeepLinkDialog/index.es.js +34 -0
  1000. package/dist/insights/components/shared/DeepLinks/DeepLinkDialog/index.es.js.map +1 -0
  1001. package/dist/insights/components/shared/DeepLinks/DirectDeposit/Circle/index.es.js +20 -0
  1002. package/dist/insights/components/shared/DeepLinks/DirectDeposit/Circle/index.es.js.map +1 -0
  1003. package/dist/insights/components/shared/DeepLinks/DirectDeposit/DirectDepositDeepLink/index.es.js +163 -0
  1004. package/dist/insights/components/shared/DeepLinks/DirectDeposit/DirectDepositDeepLink/index.es.js.map +1 -0
  1005. package/dist/insights/components/shared/DeepLinks/DirectDeposit/Dot/index.es.js +19 -0
  1006. package/dist/insights/components/shared/DeepLinks/DirectDeposit/Dot/index.es.js.map +1 -0
  1007. package/dist/insights/components/shared/DeepLinks/DirectDeposit/Oval/index.es.js +16 -0
  1008. package/dist/insights/components/shared/DeepLinks/DirectDeposit/Oval/index.es.js.map +1 -0
  1009. package/dist/insights/components/shared/DirectDeposit/DirectDeposit/index.es.js +85 -0
  1010. package/dist/insights/components/shared/DirectDeposit/DirectDeposit/index.es.js.map +1 -0
  1011. package/dist/insights/components/shared/DirectDeposit/DirectDepositSubHeader/index.es.js +20 -0
  1012. package/dist/insights/components/shared/DirectDeposit/DirectDepositSubHeader/index.es.js.map +1 -0
  1013. package/dist/insights/components/shared/DirectDeposit/FullFeedBodyHeader/index.es.js +33 -0
  1014. package/dist/insights/components/shared/DirectDeposit/FullFeedBodyHeader/index.es.js.map +1 -0
  1015. package/dist/insights/components/shared/DirectDeposit/LeftBox/index.es.js +29 -0
  1016. package/dist/insights/components/shared/DirectDeposit/LeftBox/index.es.js.map +1 -0
  1017. package/dist/insights/components/shared/DirectDeposit/MiniBodyHeader/index.es.js +29 -0
  1018. package/dist/insights/components/shared/DirectDeposit/MiniBodyHeader/index.es.js.map +1 -0
  1019. package/dist/insights/components/shared/DirectDeposit/RightBox/index.es.js +43 -0
  1020. package/dist/insights/components/shared/DirectDeposit/RightBox/index.es.js.map +1 -0
  1021. package/dist/insights/components/shared/DiscoveredAccountsConnect/index.es.js +82 -0
  1022. package/dist/insights/components/shared/DiscoveredAccountsConnect/index.es.js.map +1 -0
  1023. package/dist/insights/components/shared/DrillDownCalculation/BalanceStepper/index.es.js +58 -0
  1024. package/dist/insights/components/shared/DrillDownCalculation/BalanceStepper/index.es.js.map +1 -0
  1025. package/dist/insights/components/shared/DrillDownCalculation/DrillDownCalculation/index.es.js +264 -0
  1026. package/dist/insights/components/shared/DrillDownCalculation/DrillDownCalculation/index.es.js.map +1 -0
  1027. package/dist/insights/components/shared/ErrorCard/ErrorCard/index.es.js +76 -0
  1028. package/dist/insights/components/shared/ErrorCard/ErrorCard/index.es.js.map +1 -0
  1029. package/dist/insights/components/shared/ErrorCard/images/ErrorViewCibc.svg/index.es.js +57 -0
  1030. package/dist/insights/components/shared/ErrorCard/images/ErrorViewCibc.svg/index.es.js.map +1 -0
  1031. package/dist/insights/components/shared/GenericFeedback/FeedbackButtons/index.es.js +47 -0
  1032. package/dist/insights/components/shared/GenericFeedback/FeedbackButtons/index.es.js.map +1 -0
  1033. package/dist/insights/components/shared/GenericFeedback/FeedbackDescription/index.es.js +16 -0
  1034. package/dist/insights/components/shared/GenericFeedback/FeedbackDescription/index.es.js.map +1 -0
  1035. package/dist/insights/components/shared/GenericFeedback/FeedbackHeader/index.es.js +29 -0
  1036. package/dist/insights/components/shared/GenericFeedback/FeedbackHeader/index.es.js.map +1 -0
  1037. package/dist/insights/components/shared/GenericFeedback/FeedbackOptions/index.es.js +50 -0
  1038. package/dist/insights/components/shared/GenericFeedback/FeedbackOptions/index.es.js.map +1 -0
  1039. package/dist/insights/components/shared/GenericFeedback/FeedbackText/index.es.js +45 -0
  1040. package/dist/insights/components/shared/GenericFeedback/FeedbackText/index.es.js.map +1 -0
  1041. package/dist/insights/components/shared/GoalProgress/index.es.js +42 -0
  1042. package/dist/insights/components/shared/GoalProgress/index.es.js.map +1 -0
  1043. package/dist/insights/components/shared/GradientBox/index.es.js +33 -0
  1044. package/dist/insights/components/shared/GradientBox/index.es.js.map +1 -0
  1045. package/dist/insights/components/shared/InsightsCard/BeatCard/index.es.js +31 -0
  1046. package/dist/insights/components/shared/InsightsCard/BeatCard/index.es.js.map +1 -0
  1047. package/dist/insights/components/shared/InsightsCard/BeatCardMUI/index.es.js +32 -0
  1048. package/dist/insights/components/shared/InsightsCard/BeatCardMUI/index.es.js.map +1 -0
  1049. package/dist/insights/components/shared/InsightsCard/CardButtonSection/index.es.js +20 -0
  1050. package/dist/insights/components/shared/InsightsCard/CardButtonSection/index.es.js.map +1 -0
  1051. package/dist/insights/components/shared/InsightsCard/CardError/index.es.js +30 -0
  1052. package/dist/insights/components/shared/InsightsCard/CardError/index.es.js.map +1 -0
  1053. package/dist/insights/components/shared/InsightsCard/CardFooter/index.es.js +24 -0
  1054. package/dist/insights/components/shared/InsightsCard/CardFooter/index.es.js.map +1 -0
  1055. package/dist/insights/components/shared/InsightsCard/CardHeader/index.es.js +28 -0
  1056. package/dist/insights/components/shared/InsightsCard/CardHeader/index.es.js.map +1 -0
  1057. package/dist/insights/components/shared/InsightsCard/CardHeaderMUI/index.es.js +30 -0
  1058. package/dist/insights/components/shared/InsightsCard/CardHeaderMUI/index.es.js.map +1 -0
  1059. package/dist/insights/components/shared/InsightsCard/CardLoading/index.es.js +21 -0
  1060. package/dist/insights/components/shared/InsightsCard/CardLoading/index.es.js.map +1 -0
  1061. package/dist/insights/components/shared/InsightsCard/ClientConfigurableCta/index.es.js +38 -0
  1062. package/dist/insights/components/shared/InsightsCard/ClientConfigurableCta/index.es.js.map +1 -0
  1063. package/dist/insights/components/shared/InsightsCard/ContentAndDescription/index.es.js +43 -0
  1064. package/dist/insights/components/shared/InsightsCard/ContentAndDescription/index.es.js.map +1 -0
  1065. package/dist/insights/components/shared/InsightsCard/ContentAndDescriptionMUI/index.es.js +43 -0
  1066. package/dist/insights/components/shared/InsightsCard/ContentAndDescriptionMUI/index.es.js.map +1 -0
  1067. package/dist/insights/components/shared/InsightsCard/Description/index.es.js +31 -0
  1068. package/dist/insights/components/shared/InsightsCard/Description/index.es.js.map +1 -0
  1069. package/dist/insights/components/shared/InsightsCard/DescriptionMUI/index.es.js +30 -0
  1070. package/dist/insights/components/shared/InsightsCard/DescriptionMUI/index.es.js.map +1 -0
  1071. package/dist/insights/components/shared/InsightsCard/EmbeddedCard/index.es.js +69 -0
  1072. package/dist/insights/components/shared/InsightsCard/EmbeddedCard/index.es.js.map +1 -0
  1073. package/dist/insights/components/shared/InsightsCard/FeedbackCard/index.es.js +120 -0
  1074. package/dist/insights/components/shared/InsightsCard/FeedbackCard/index.es.js.map +1 -0
  1075. package/dist/insights/components/shared/InsightsCard/InsightButton/index.es.js +25 -0
  1076. package/dist/insights/components/shared/InsightsCard/InsightButton/index.es.js.map +1 -0
  1077. package/dist/insights/components/shared/InsightsCard/MiniDescription/index.es.js +44 -0
  1078. package/dist/insights/components/shared/InsightsCard/MiniDescription/index.es.js.map +1 -0
  1079. package/dist/insights/components/shared/InsightsCard/MiniDescriptionMUI/index.es.js +42 -0
  1080. package/dist/insights/components/shared/InsightsCard/MiniDescriptionMUI/index.es.js.map +1 -0
  1081. package/dist/insights/components/shared/InsightsCard/images/BeatErrorView.svg/index.es.js +728 -0
  1082. package/dist/insights/components/shared/InsightsCard/images/BeatErrorView.svg/index.es.js.map +1 -0
  1083. package/dist/insights/components/shared/MenuAction/index.es.js +68 -0
  1084. package/dist/insights/components/shared/MenuAction/index.es.js.map +1 -0
  1085. package/dist/insights/components/shared/MiniInsightCard/index.es.js +69 -0
  1086. package/dist/insights/components/shared/MiniInsightCard/index.es.js.map +1 -0
  1087. package/dist/insights/components/shared/P2P/P2PMultipleCategorization/index.es.js +107 -0
  1088. package/dist/insights/components/shared/P2P/P2PMultipleCategorization/index.es.js.map +1 -0
  1089. package/dist/insights/components/shared/P2PCategorizationSingleAccount/P2PCategorizationSingleAccount/index.es.js +75 -0
  1090. package/dist/insights/components/shared/P2PCategorizationSingleAccount/P2PCategorizationSingleAccount/index.es.js.map +1 -0
  1091. package/dist/insights/components/shared/ProgressBar/index.es.js +39 -0
  1092. package/dist/insights/components/shared/ProgressBar/index.es.js.map +1 -0
  1093. package/dist/insights/components/shared/SaveAnExtra100/SaveAnExtra100/index.es.js +55 -0
  1094. package/dist/insights/components/shared/SaveAnExtra100/SaveAnExtra100/index.es.js.map +1 -0
  1095. package/dist/insights/components/shared/SaveEnoughToLiveOnBottomSection/index.es.js +77 -0
  1096. package/dist/insights/components/shared/SaveEnoughToLiveOnBottomSection/index.es.js.map +1 -0
  1097. package/dist/insights/components/shared/SaveEnoughToLiveOnTopSection/index.es.js +12 -0
  1098. package/dist/insights/components/shared/SaveEnoughToLiveOnTopSection/index.es.js.map +1 -0
  1099. package/dist/insights/components/shared/StatusIndicator/index.es.js +69 -0
  1100. package/dist/insights/components/shared/StatusIndicator/index.es.js.map +1 -0
  1101. package/dist/insights/components/shared/ThemedSVGImage/index.es.js +49 -0
  1102. package/dist/insights/components/shared/ThemedSVGImage/index.es.js.map +1 -0
  1103. package/dist/insights/components/shared/TransactionCard/index.es.js +93 -0
  1104. package/dist/insights/components/shared/TransactionCard/index.es.js.map +1 -0
  1105. package/dist/insights/components/shared/ZeroState/LinedCardZeroState/index.es.js +23 -0
  1106. package/dist/insights/components/shared/ZeroState/LinedCardZeroState/index.es.js.map +1 -0
  1107. package/dist/insights/components/shared/images/BarChartEmptyState.svg/index.es.js +101 -0
  1108. package/dist/insights/components/shared/images/BarChartEmptyState.svg/index.es.js.map +1 -0
  1109. package/dist/insights/components/shared/images/CouponLeft.svg/index.es.js +104 -0
  1110. package/dist/insights/components/shared/images/CouponLeft.svg/index.es.js.map +1 -0
  1111. package/dist/insights/components/shared/images/CouponLeftDark.svg/index.es.js +104 -0
  1112. package/dist/insights/components/shared/images/CouponLeftDark.svg/index.es.js.map +1 -0
  1113. package/dist/insights/components/shared/images/CouponPerferation.svg/index.es.js +38 -0
  1114. package/dist/insights/components/shared/images/CouponPerferation.svg/index.es.js.map +1 -0
  1115. package/dist/insights/components/shared/images/EmptyBarChart.svg/index.es.js +101 -0
  1116. package/dist/insights/components/shared/images/EmptyBarChart.svg/index.es.js.map +1 -0
  1117. package/dist/insights/components/shared/images/LinedCardZeroState.svg/index.es.js +91 -0
  1118. package/dist/insights/components/shared/images/LinedCardZeroState.svg/index.es.js.map +1 -0
  1119. package/dist/insights/components/shared/images/SaveEnoughToLiveOnBottom.svg/index.es.js +21 -0
  1120. package/dist/insights/components/shared/images/SaveEnoughToLiveOnBottom.svg/index.es.js.map +1 -0
  1121. package/dist/insights/components/shared/images/SaveEnoughToLiveOnTop.svg/index.es.js +815 -0
  1122. package/dist/insights/components/shared/images/SaveEnoughToLiveOnTop.svg/index.es.js.map +1 -0
  1123. package/dist/insights/hooks/useContainerDimensions/index.es.js +26 -0
  1124. package/dist/insights/hooks/useContainerDimensions/index.es.js.map +1 -0
  1125. package/dist/insights/images/Loading.gif/index.es.js +6 -0
  1126. package/dist/insights/images/Loading.gif/index.es.js.map +1 -0
  1127. package/dist/insights/index.es.js +183 -4871
  1128. package/dist/insights/types/Charts/BarChart.d.ts +2 -11
  1129. package/dist/insights/types/CommonBeat/index.es.js +8 -0
  1130. package/dist/insights/types/CommonBeat/index.es.js.map +1 -0
  1131. package/dist/investments/InvestmentsWidget/index.es.js +98 -0
  1132. package/dist/investments/InvestmentsWidget/index.es.js.map +1 -0
  1133. package/dist/investments/components/Allocation/InvestementAllocationList/index.es.js +136 -0
  1134. package/dist/investments/components/Allocation/InvestementAllocationList/index.es.js.map +1 -0
  1135. package/dist/investments/components/Allocation/InvestmentsAllocationChart/index.es.js +86 -0
  1136. package/dist/investments/components/Allocation/InvestmentsAllocationChart/index.es.js.map +1 -0
  1137. package/dist/investments/components/Allocation/index.es.js +55 -0
  1138. package/dist/investments/components/Allocation/index.es.js.map +1 -0
  1139. package/dist/investments/components/Allocation/util/createInvestementsAllocationData/index.es.js +103 -0
  1140. package/dist/investments/components/Allocation/util/createInvestementsAllocationData/index.es.js.map +1 -0
  1141. package/dist/investments/components/Analysis/index.es.js +167 -0
  1142. package/dist/investments/components/Analysis/index.es.js.map +1 -0
  1143. package/dist/investments/components/AnalysisDetails/index.es.js +86 -0
  1144. package/dist/investments/components/AnalysisDetails/index.es.js.map +1 -0
  1145. package/dist/investments/components/EmptyStateFooterComponent/index.es.js +52 -0
  1146. package/dist/investments/components/EmptyStateFooterComponent/index.es.js.map +1 -0
  1147. package/dist/investments/components/HeaderCell/index.es.js +28 -0
  1148. package/dist/investments/components/HeaderCell/index.es.js.map +1 -0
  1149. package/dist/investments/components/HoldingDrawer/index.es.js +327 -0
  1150. package/dist/investments/components/HoldingDrawer/index.es.js.map +1 -0
  1151. package/dist/investments/components/HoldingTable/index.es.js +199 -0
  1152. package/dist/investments/components/HoldingTable/index.es.js.map +1 -0
  1153. package/dist/investments/components/InfoToolTip/index.es.js +45 -0
  1154. package/dist/investments/components/InfoToolTip/index.es.js.map +1 -0
  1155. package/dist/investments/components/Overview/index.es.js +456 -0
  1156. package/dist/investments/components/Overview/index.es.js.map +1 -0
  1157. package/dist/investments/components/TabTitle/index.es.js +12 -0
  1158. package/dist/investments/components/TabTitle/index.es.js.map +1 -0
  1159. package/dist/investments/index.es.js +2 -1675
  1160. package/dist/merchants/components/MerchantLookup/index.es.js +91 -0
  1161. package/dist/merchants/components/MerchantLookup/index.es.js.map +1 -0
  1162. package/dist/merchants/index.es.js +2 -76
  1163. package/dist/microinsights/InsightsMicroWidget/index.es.js +109 -0
  1164. package/dist/microinsights/InsightsMicroWidget/index.es.js.map +1 -0
  1165. package/dist/microinsights/MicroCardTemplate/index.es.js +159 -0
  1166. package/dist/microinsights/MicroCardTemplate/index.es.js.map +1 -0
  1167. package/dist/microinsights/MicroWidgetContainer/index.es.js +24 -0
  1168. package/dist/microinsights/MicroWidgetContainer/index.es.js.map +1 -0
  1169. package/dist/microinsights/Spinner/index.es.js +19 -0
  1170. package/dist/microinsights/Spinner/index.es.js.map +1 -0
  1171. package/dist/microinsights/analytics/index.es.js +12 -0
  1172. package/dist/microinsights/analytics/index.es.js.map +1 -0
  1173. package/dist/microinsights/beaticons/AreaChartIcon/index.es.js +18 -0
  1174. package/dist/microinsights/beaticons/AreaChartIcon/index.es.js.map +1 -0
  1175. package/dist/microinsights/beaticons/AverageSpendComparisonIcon/index.es.js +23 -0
  1176. package/dist/microinsights/beaticons/AverageSpendComparisonIcon/index.es.js.map +1 -0
  1177. package/dist/microinsights/beaticons/BeatCategoryIcon/index.es.js +16 -0
  1178. package/dist/microinsights/beaticons/BeatCategoryIcon/index.es.js.map +1 -0
  1179. package/dist/microinsights/beaticons/BeatIcon/index.es.js +162 -0
  1180. package/dist/microinsights/beaticons/BeatIcon/index.es.js.map +1 -0
  1181. package/dist/microinsights/beaticons/BeatMaterialIcon/index.es.js +25 -0
  1182. package/dist/microinsights/beaticons/BeatMaterialIcon/index.es.js.map +1 -0
  1183. package/dist/microinsights/beaticons/BeatMerchantLogo/index.es.js +20 -0
  1184. package/dist/microinsights/beaticons/BeatMerchantLogo/index.es.js.map +1 -0
  1185. package/dist/microinsights/beaticons/ChartFilledIcon/index.es.js +21 -0
  1186. package/dist/microinsights/beaticons/ChartFilledIcon/index.es.js.map +1 -0
  1187. package/dist/microinsights/beaticons/InstitutionLogoIcon/index.es.js +12 -0
  1188. package/dist/microinsights/beaticons/InstitutionLogoIcon/index.es.js.map +1 -0
  1189. package/dist/microinsights/beaticons/MonthlySpendComparisonIcon/index.es.js +17 -0
  1190. package/dist/microinsights/beaticons/MonthlySpendComparisonIcon/index.es.js.map +1 -0
  1191. package/dist/microinsights/beaticons/ZeroStateIcon/index.es.js +722 -0
  1192. package/dist/microinsights/beaticons/ZeroStateIcon/index.es.js.map +1 -0
  1193. package/dist/microinsights/cards/InsightCard/index.es.js +71 -0
  1194. package/dist/microinsights/cards/InsightCard/index.es.js.map +1 -0
  1195. package/dist/microinsights/cards/NoRelevantInsightsCard/index.es.js +38 -0
  1196. package/dist/microinsights/cards/NoRelevantInsightsCard/index.es.js.map +1 -0
  1197. package/dist/microinsights/cards/ViewMoreMicroCard/index.es.js +43 -0
  1198. package/dist/microinsights/cards/ViewMoreMicroCard/index.es.js.map +1 -0
  1199. package/dist/microinsights/cards/ZeroStateCard/index.es.js +32 -0
  1200. package/dist/microinsights/cards/ZeroStateCard/index.es.js.map +1 -0
  1201. package/dist/microinsights/carousel/BeatList/index.es.js +37 -0
  1202. package/dist/microinsights/carousel/BeatList/index.es.js.map +1 -0
  1203. package/dist/microinsights/carousel/CarouselControls/index.es.js +63 -0
  1204. package/dist/microinsights/carousel/CarouselControls/index.es.js.map +1 -0
  1205. package/dist/microinsights/carousel/CarouselHeader/index.es.js +39 -0
  1206. package/dist/microinsights/carousel/CarouselHeader/index.es.js.map +1 -0
  1207. package/dist/microinsights/carousel/MicroBeatCarousel/index.es.js +147 -0
  1208. package/dist/microinsights/carousel/MicroBeatCarousel/index.es.js.map +1 -0
  1209. package/dist/microinsights/constants/Analytics/index.es.js +148 -0
  1210. package/dist/microinsights/constants/Analytics/index.es.js.map +1 -0
  1211. package/dist/microinsights/constants/App/index.es.js +11 -0
  1212. package/dist/microinsights/constants/App/index.es.js.map +1 -0
  1213. package/dist/microinsights/context/InsightsMicroWidgetDataProvider/index.es.js +17 -0
  1214. package/dist/microinsights/context/InsightsMicroWidgetDataProvider/index.es.js.map +1 -0
  1215. package/dist/microinsights/context/hooks/index.es.js +27 -0
  1216. package/dist/microinsights/context/hooks/index.es.js.map +1 -0
  1217. package/dist/microinsights/index.es.js +28 -826
  1218. package/dist/microinsights/stores/AppStore/index.es.js +27 -0
  1219. package/dist/microinsights/stores/AppStore/index.es.js.map +1 -0
  1220. package/dist/microinsights/stores/CopyStore/index.es.js +34 -0
  1221. package/dist/microinsights/stores/CopyStore/index.es.js.map +1 -0
  1222. package/dist/microinsights/stores/InsightsMicroWidgetStore/index.es.js +33 -0
  1223. package/dist/microinsights/stores/InsightsMicroWidgetStore/index.es.js.map +1 -0
  1224. package/dist/microinsights/utils/DataSeries/index.es.js +11 -0
  1225. package/dist/microinsights/utils/DataSeries/index.es.js.map +1 -0
  1226. package/dist/microinsights/utils/colorType/index.es.js +13 -0
  1227. package/dist/microinsights/utils/colorType/index.es.js.map +1 -0
  1228. package/dist/networth/NetWorthMicroWidget/index.es.js +40 -0
  1229. package/dist/networth/NetWorthMicroWidget/index.es.js.map +1 -0
  1230. package/dist/networth/NetWorthWidget/index.es.js +78 -0
  1231. package/dist/networth/NetWorthWidget/index.es.js.map +1 -0
  1232. package/dist/networth/components/AssetsLiabilitiesDetail/index.es.js +158 -0
  1233. package/dist/networth/components/AssetsLiabilitiesDetail/index.es.js.map +1 -0
  1234. package/dist/networth/components/GainsLossesDetail/index.es.js +137 -0
  1235. package/dist/networth/components/GainsLossesDetail/index.es.js.map +1 -0
  1236. package/dist/networth/components/NetWorthChange/index.es.js +34 -0
  1237. package/dist/networth/components/NetWorthChange/index.es.js.map +1 -0
  1238. package/dist/networth/components/NetWorthChart/index.es.js +58 -0
  1239. package/dist/networth/components/NetWorthChart/index.es.js.map +1 -0
  1240. package/dist/networth/components/NetWorthList/index.es.js +99 -0
  1241. package/dist/networth/components/NetWorthList/index.es.js.map +1 -0
  1242. package/dist/networth/components/NetWorthListItem/index.es.js +50 -0
  1243. package/dist/networth/components/NetWorthListItem/index.es.js.map +1 -0
  1244. package/dist/networth/components/NetWorthSummary/index.es.js +38 -0
  1245. package/dist/networth/components/NetWorthSummary/index.es.js.map +1 -0
  1246. package/dist/networth/components/micro/NetworthData/index.es.js +49 -0
  1247. package/dist/networth/components/micro/NetworthData/index.es.js.map +1 -0
  1248. package/dist/networth/components/micro/ZeroState/index.es.js +31 -0
  1249. package/dist/networth/components/micro/ZeroState/index.es.js.map +1 -0
  1250. package/dist/networth/index.es.js +4 -565
  1251. package/dist/notifications/components/DateRow/index.es.js +23 -0
  1252. package/dist/notifications/components/DateRow/index.es.js.map +1 -0
  1253. package/dist/notifications/components/NotificationBadge/index.es.js +33 -0
  1254. package/dist/notifications/components/NotificationBadge/index.es.js.map +1 -0
  1255. package/dist/notifications/components/NotificationCard/index.es.js +56 -0
  1256. package/dist/notifications/components/NotificationCard/index.es.js.map +1 -0
  1257. package/dist/notifications/components/NotificationDrawer/index.es.js +47 -0
  1258. package/dist/notifications/components/NotificationDrawer/index.es.js.map +1 -0
  1259. package/dist/notifications/components/NotificationList/index.es.js +42 -0
  1260. package/dist/notifications/components/NotificationList/index.es.js.map +1 -0
  1261. package/dist/notifications/components/NotificationsEmptyState/index.es.js +49 -0
  1262. package/dist/notifications/components/NotificationsEmptyState/index.es.js.map +1 -0
  1263. package/dist/notifications/constants/NotificationConstants/index.es.js +24 -0
  1264. package/dist/notifications/constants/NotificationConstants/index.es.js.map +1 -0
  1265. package/dist/notifications/index.es.js +6 -198
  1266. package/dist/recurringtransactions/RecurringTransactionsMicroWidget/index.es.js +54 -0
  1267. package/dist/recurringtransactions/RecurringTransactionsMicroWidget/index.es.js.map +1 -0
  1268. package/dist/recurringtransactions/RecurringTransactionsMiniWidget/index.es.js +47 -0
  1269. package/dist/recurringtransactions/RecurringTransactionsMiniWidget/index.es.js.map +1 -0
  1270. package/dist/recurringtransactions/RecurringTransactionsWidget/index.es.js +87 -0
  1271. package/dist/recurringtransactions/RecurringTransactionsWidget/index.es.js.map +1 -0
  1272. package/dist/recurringtransactions/ZeroStateMicroWidget/index.es.js +30 -0
  1273. package/dist/recurringtransactions/ZeroStateMicroWidget/index.es.js.map +1 -0
  1274. package/dist/recurringtransactions/components/MicroWidgetContent/index.es.js +103 -0
  1275. package/dist/recurringtransactions/components/MicroWidgetContent/index.es.js.map +1 -0
  1276. package/dist/recurringtransactions/components/MiniWidgetContent/index.es.js +45 -0
  1277. package/dist/recurringtransactions/components/MiniWidgetContent/index.es.js.map +1 -0
  1278. package/dist/recurringtransactions/components/PaymentSchedule/index.es.js +133 -0
  1279. package/dist/recurringtransactions/components/PaymentSchedule/index.es.js.map +1 -0
  1280. package/dist/recurringtransactions/components/RecurrenceBadges/index.es.js +64 -0
  1281. package/dist/recurringtransactions/components/RecurrenceBadges/index.es.js.map +1 -0
  1282. package/dist/recurringtransactions/components/RecurrenceList/index.es.js +87 -0
  1283. package/dist/recurringtransactions/components/RecurrenceList/index.es.js.map +1 -0
  1284. package/dist/recurringtransactions/components/RecurrenceRow/index.es.js +133 -0
  1285. package/dist/recurringtransactions/components/RecurrenceRow/index.es.js.map +1 -0
  1286. package/dist/recurringtransactions/components/RecurringSettingsDrawer/index.es.js +20 -0
  1287. package/dist/recurringtransactions/components/RecurringSettingsDrawer/index.es.js.map +1 -0
  1288. package/dist/recurringtransactions/components/RecurringStatus/index.es.js +114 -0
  1289. package/dist/recurringtransactions/components/RecurringStatus/index.es.js.map +1 -0
  1290. package/dist/recurringtransactions/components/RecurringTransactionDetails/index.es.js +181 -0
  1291. package/dist/recurringtransactions/components/RecurringTransactionDetails/index.es.js.map +1 -0
  1292. package/dist/recurringtransactions/components/RecurringTransactionDetailsDrawer/index.es.js +27 -0
  1293. package/dist/recurringtransactions/components/RecurringTransactionDetailsDrawer/index.es.js.map +1 -0
  1294. package/dist/recurringtransactions/components/RecurringTransactionList/index.es.js +181 -0
  1295. package/dist/recurringtransactions/components/RecurringTransactionList/index.es.js.map +1 -0
  1296. package/dist/recurringtransactions/components/RecurringTransactions/index.es.js +155 -0
  1297. package/dist/recurringtransactions/components/RecurringTransactions/index.es.js.map +1 -0
  1298. package/dist/recurringtransactions/components/UpcomingRecurrenceCard/index.es.js +63 -0
  1299. package/dist/recurringtransactions/components/UpcomingRecurrenceCard/index.es.js.map +1 -0
  1300. package/dist/recurringtransactions/components/actions/LinkTransactionDrawer/index.es.js +46 -0
  1301. package/dist/recurringtransactions/components/actions/LinkTransactionDrawer/index.es.js.map +1 -0
  1302. package/dist/recurringtransactions/components/actions/MarkAsPaidDialog/index.es.js +28 -0
  1303. package/dist/recurringtransactions/components/actions/MarkAsPaidDialog/index.es.js.map +1 -0
  1304. package/dist/recurringtransactions/components/actions/MarkAsUnpaidDialog/index.es.js +28 -0
  1305. package/dist/recurringtransactions/components/actions/MarkAsUnpaidDialog/index.es.js.map +1 -0
  1306. package/dist/recurringtransactions/components/actions/PaymentScheduleAction/index.es.js +47 -0
  1307. package/dist/recurringtransactions/components/actions/PaymentScheduleAction/index.es.js.map +1 -0
  1308. package/dist/recurringtransactions/components/micro/MerchantLogosRow/index.es.js +19 -0
  1309. package/dist/recurringtransactions/components/micro/MerchantLogosRow/index.es.js.map +1 -0
  1310. package/dist/recurringtransactions/components/micro/OverlappingMerchantLogos/index.es.js +33 -0
  1311. package/dist/recurringtransactions/components/micro/OverlappingMerchantLogos/index.es.js.map +1 -0
  1312. package/dist/recurringtransactions/components/micro/RecurrenceLegend/index.es.js +37 -0
  1313. package/dist/recurringtransactions/components/micro/RecurrenceLegend/index.es.js.map +1 -0
  1314. package/dist/recurringtransactions/components/recurrencecalendar/Legend/index.es.js +48 -0
  1315. package/dist/recurringtransactions/components/recurrencecalendar/Legend/index.es.js.map +1 -0
  1316. package/dist/recurringtransactions/components/recurrencecalendar/RecurrenceCalendar/index.es.js +111 -0
  1317. package/dist/recurringtransactions/components/recurrencecalendar/RecurrenceCalendar/index.es.js.map +1 -0
  1318. package/dist/recurringtransactions/components/recurrencecalendar/RecurrenceDay/index.es.js +48 -0
  1319. package/dist/recurringtransactions/components/recurrencecalendar/RecurrenceDay/index.es.js.map +1 -0
  1320. package/dist/recurringtransactions/components/shared/RecurringSettings/AddRecurringTransaction/index.es.js +93 -0
  1321. package/dist/recurringtransactions/components/shared/RecurringSettings/AddRecurringTransaction/index.es.js.map +1 -0
  1322. package/dist/recurringtransactions/components/shared/RecurringSettings/AddRecurringTransactionDetails/index.es.js +42 -0
  1323. package/dist/recurringtransactions/components/shared/RecurringSettings/AddRecurringTransactionDetails/index.es.js.map +1 -0
  1324. package/dist/recurringtransactions/components/shared/RecurringSettings/ManageExpenses/index.es.js +57 -0
  1325. package/dist/recurringtransactions/components/shared/RecurringSettings/ManageExpenses/index.es.js.map +1 -0
  1326. package/dist/recurringtransactions/components/shared/RecurringSettings/ManageIncome/index.es.js +72 -0
  1327. package/dist/recurringtransactions/components/shared/RecurringSettings/ManageIncome/index.es.js.map +1 -0
  1328. package/dist/recurringtransactions/components/shared/RecurringSettings/RecurringRow/index.es.js +96 -0
  1329. package/dist/recurringtransactions/components/shared/RecurringSettings/RecurringRow/index.es.js.map +1 -0
  1330. package/dist/recurringtransactions/components/shared/RecurringSettings/RecurringSettingsZeroState/index.es.js +47 -0
  1331. package/dist/recurringtransactions/components/shared/RecurringSettings/RecurringSettingsZeroState/index.es.js.map +1 -0
  1332. package/dist/recurringtransactions/components/shared/RecurringSettings/SelectTransaction/index.es.js +45 -0
  1333. package/dist/recurringtransactions/components/shared/RecurringSettings/SelectTransaction/index.es.js.map +1 -0
  1334. package/dist/recurringtransactions/components/shared/RecurringSettings/index.es.js +37 -0
  1335. package/dist/recurringtransactions/components/shared/RecurringSettings/index.es.js.map +1 -0
  1336. package/dist/recurringtransactions/index.es.js +18 -1022
  1337. package/dist/settings/NotificationSettingsWidget/index.es.js +32 -0
  1338. package/dist/settings/NotificationSettingsWidget/index.es.js.map +1 -0
  1339. package/dist/settings/SettingsWidget/index.es.js +82 -0
  1340. package/dist/settings/SettingsWidget/index.es.js.map +1 -0
  1341. package/dist/settings/TransactionRulesWidget/index.es.js +28 -0
  1342. package/dist/settings/TransactionRulesWidget/index.es.js.map +1 -0
  1343. package/dist/settings/components/SettingsWidgetContents/index.es.js +47 -0
  1344. package/dist/settings/components/SettingsWidgetContents/index.es.js.map +1 -0
  1345. package/dist/settings/components/devices/DeviceDialog/index.es.js +127 -0
  1346. package/dist/settings/components/devices/DeviceDialog/index.es.js.map +1 -0
  1347. package/dist/settings/components/devices/DeviceList/index.es.js +125 -0
  1348. package/dist/settings/components/devices/DeviceList/index.es.js.map +1 -0
  1349. package/dist/settings/components/devices/DeviceTab/index.es.js +107 -0
  1350. package/dist/settings/components/devices/DeviceTab/index.es.js.map +1 -0
  1351. package/dist/settings/components/devices/DeviceTable/index.es.js +120 -0
  1352. package/dist/settings/components/devices/DeviceTable/index.es.js.map +1 -0
  1353. package/dist/settings/components/notifications/AccountNotificationProfile/index.es.js +92 -0
  1354. package/dist/settings/components/notifications/AccountNotificationProfile/index.es.js.map +1 -0
  1355. package/dist/settings/components/notifications/AccountNotificationProfiles/index.es.js +44 -0
  1356. package/dist/settings/components/notifications/AccountNotificationProfiles/index.es.js.map +1 -0
  1357. package/dist/settings/components/notifications/AccountProfileListItem/index.es.js +84 -0
  1358. package/dist/settings/components/notifications/AccountProfileListItem/index.es.js.map +1 -0
  1359. package/dist/settings/components/notifications/BudgetNotificationProfiles/index.es.js +14 -0
  1360. package/dist/settings/components/notifications/BudgetNotificationProfiles/index.es.js.map +1 -0
  1361. package/dist/settings/components/notifications/DeliveryMethods/index.es.js +78 -0
  1362. package/dist/settings/components/notifications/DeliveryMethods/index.es.js.map +1 -0
  1363. package/dist/settings/components/notifications/InsightsNotificationProfiles/index.es.js +14 -0
  1364. package/dist/settings/components/notifications/InsightsNotificationProfiles/index.es.js.map +1 -0
  1365. package/dist/settings/components/notifications/NotificationProfile/index.es.js +80 -0
  1366. package/dist/settings/components/notifications/NotificationProfile/index.es.js.map +1 -0
  1367. package/dist/settings/components/notifications/NotificationSettings/index.es.js +94 -0
  1368. package/dist/settings/components/notifications/NotificationSettings/index.es.js.map +1 -0
  1369. package/dist/settings/components/notifications/PersonalDetails/index.es.js +111 -0
  1370. package/dist/settings/components/notifications/PersonalDetails/index.es.js.map +1 -0
  1371. package/dist/settings/components/profile/ProfileTab/index.es.js +178 -0
  1372. package/dist/settings/components/profile/ProfileTab/index.es.js.map +1 -0
  1373. package/dist/settings/components/profile/actions/VerifyEmailAction/index.es.js +88 -0
  1374. package/dist/settings/components/profile/actions/VerifyEmailAction/index.es.js.map +1 -0
  1375. package/dist/settings/components/profile/actions/VerifyPhoneAction/index.es.js +105 -0
  1376. package/dist/settings/components/profile/actions/VerifyPhoneAction/index.es.js.map +1 -0
  1377. package/dist/settings/components/profile/actions/VerifyTokenAction/index.es.js +40 -0
  1378. package/dist/settings/components/profile/actions/VerifyTokenAction/index.es.js.map +1 -0
  1379. package/dist/settings/components/transactionrules/TransactionRulesTab/index.es.js +35 -0
  1380. package/dist/settings/components/transactionrules/TransactionRulesTab/index.es.js.map +1 -0
  1381. package/dist/settings/components/transactionrules/actions/DeleteRuleAction/index.es.js +34 -0
  1382. package/dist/settings/components/transactionrules/actions/DeleteRuleAction/index.es.js.map +1 -0
  1383. package/dist/settings/components/transactionrules/actions/EditCategoryAction/index.es.js +31 -0
  1384. package/dist/settings/components/transactionrules/actions/EditCategoryAction/index.es.js.map +1 -0
  1385. package/dist/settings/components/transactionrules/actions/EditPayeeAction/index.es.js +45 -0
  1386. package/dist/settings/components/transactionrules/actions/EditPayeeAction/index.es.js.map +1 -0
  1387. package/dist/settings/components/transactionrules/actions/EditRuleAction/index.es.js +36 -0
  1388. package/dist/settings/components/transactionrules/actions/EditRuleAction/index.es.js.map +1 -0
  1389. package/dist/settings/components/transactionrules/components/EditRuleDetails/index.es.js +46 -0
  1390. package/dist/settings/components/transactionrules/components/EditRuleDetails/index.es.js.map +1 -0
  1391. package/dist/settings/components/transactionrules/components/RuleListItem/index.es.js +26 -0
  1392. package/dist/settings/components/transactionrules/components/RuleListItem/index.es.js.map +1 -0
  1393. package/dist/settings/constants/Settings/index.es.js +8 -0
  1394. package/dist/settings/constants/Settings/index.es.js.map +1 -0
  1395. package/dist/settings/index.es.js +23 -892
  1396. package/dist/spending/SpendingMiniWidget/index.es.js +41 -0
  1397. package/dist/spending/SpendingMiniWidget/index.es.js.map +1 -0
  1398. package/dist/spending/SpendingWidget/index.es.js +51 -0
  1399. package/dist/spending/SpendingWidget/index.es.js.map +1 -0
  1400. package/dist/spending/components/MiniSpendingChart/index.es.js +112 -0
  1401. package/dist/spending/components/MiniSpendingChart/index.es.js.map +1 -0
  1402. package/dist/spending/components/Spending/index.es.js +123 -0
  1403. package/dist/spending/components/Spending/index.es.js.map +1 -0
  1404. package/dist/spending/components/SpendingChart/index.es.js +60 -0
  1405. package/dist/spending/components/SpendingChart/index.es.js.map +1 -0
  1406. package/dist/spending/components/SpendingDonut/index.es.js +132 -0
  1407. package/dist/spending/components/SpendingDonut/index.es.js.map +1 -0
  1408. package/dist/spending/components/SpendingLegend/index.es.js +46 -0
  1409. package/dist/spending/components/SpendingLegend/index.es.js.map +1 -0
  1410. package/dist/spending/components/SpendingList/index.es.js +124 -0
  1411. package/dist/spending/components/SpendingList/index.es.js.map +1 -0
  1412. package/dist/spending/components/SpendingTabLabel/index.es.js +22 -0
  1413. package/dist/spending/components/SpendingTabLabel/index.es.js.map +1 -0
  1414. package/dist/spending/index.es.js +4 -491
  1415. package/dist/spending/utils/SpendingData/index.es.js +72 -0
  1416. package/dist/spending/utils/SpendingData/index.es.js.map +1 -0
  1417. package/dist/transactions/TransactionWidget/index.es.js +189 -0
  1418. package/dist/transactions/TransactionWidget/index.es.js.map +1 -0
  1419. package/dist/transactions/components/shared/TransactionDetails/Description/index.es.js +85 -0
  1420. package/dist/transactions/components/shared/TransactionDetails/Description/index.es.js.map +1 -0
  1421. package/dist/transactions/components/shared/TransactionDetails/FlagTransaction/index.es.js +49 -0
  1422. package/dist/transactions/components/shared/TransactionDetails/FlagTransaction/index.es.js.map +1 -0
  1423. package/dist/transactions/components/shared/TransactionDetails/ManualTransactionDetails/index.es.js +151 -0
  1424. package/dist/transactions/components/shared/TransactionDetails/ManualTransactionDetails/index.es.js.map +1 -0
  1425. package/dist/transactions/components/shared/TransactionDetails/TransactionAmountHeader/index.es.js +39 -0
  1426. package/dist/transactions/components/shared/TransactionDetails/TransactionAmountHeader/index.es.js.map +1 -0
  1427. package/dist/transactions/components/shared/TransactionDetails/TransactionDetailsView/index.es.js +82 -0
  1428. package/dist/transactions/components/shared/TransactionDetails/TransactionDetailsView/index.es.js.map +1 -0
  1429. package/dist/transactions/components/shared/TransactionDetails/actions/AddMerchantBudgetAction/index.es.js +161 -0
  1430. package/dist/transactions/components/shared/TransactionDetails/actions/AddMerchantBudgetAction/index.es.js.map +1 -0
  1431. package/dist/transactions/components/shared/TransactionDetails/actions/CategoryAction/index.es.js +105 -0
  1432. package/dist/transactions/components/shared/TransactionDetails/actions/CategoryAction/index.es.js.map +1 -0
  1433. package/dist/transactions/components/shared/TransactionDetails/actions/DateAction/index.es.js +103 -0
  1434. package/dist/transactions/components/shared/TransactionDetails/actions/DateAction/index.es.js.map +1 -0
  1435. package/dist/transactions/components/shared/TransactionDetails/actions/DeleteAction/index.es.js +66 -0
  1436. package/dist/transactions/components/shared/TransactionDetails/actions/DeleteAction/index.es.js.map +1 -0
  1437. package/dist/transactions/components/shared/TransactionDetails/actions/DeleteLogoAction/index.es.js +77 -0
  1438. package/dist/transactions/components/shared/TransactionDetails/actions/DeleteLogoAction/index.es.js.map +1 -0
  1439. package/dist/transactions/components/shared/TransactionDetails/actions/ExcludeAction/index.es.js +90 -0
  1440. package/dist/transactions/components/shared/TransactionDetails/actions/ExcludeAction/index.es.js.map +1 -0
  1441. package/dist/transactions/components/shared/TransactionDetails/actions/MemoAction/index.es.js +101 -0
  1442. package/dist/transactions/components/shared/TransactionDetails/actions/MemoAction/index.es.js.map +1 -0
  1443. package/dist/transactions/components/shared/TransactionDetails/actions/SplitAction/index.es.js +150 -0
  1444. package/dist/transactions/components/shared/TransactionDetails/actions/SplitAction/index.es.js.map +1 -0
  1445. package/dist/transactions/components/shared/TransactionDetails/actions/TagsAction/index.es.js +94 -0
  1446. package/dist/transactions/components/shared/TransactionDetails/actions/TagsAction/index.es.js.map +1 -0
  1447. package/dist/transactions/components/shared/TransactionDetails/index.es.js +255 -0
  1448. package/dist/transactions/components/shared/TransactionDetails/index.es.js.map +1 -0
  1449. package/dist/transactions/components/shared/TransactionList/TransactionRow/index.es.js +92 -0
  1450. package/dist/transactions/components/shared/TransactionList/TransactionRow/index.es.js.map +1 -0
  1451. package/dist/transactions/components/shared/TransactionList/ZeroState/index.es.js +39 -0
  1452. package/dist/transactions/components/shared/TransactionList/ZeroState/index.es.js.map +1 -0
  1453. package/dist/transactions/components/shared/TransactionList/index.es.js +92 -0
  1454. package/dist/transactions/components/shared/TransactionList/index.es.js.map +1 -0
  1455. package/dist/transactions/components/shared/TransactionTable/cells/AccountCell/index.es.js +12 -0
  1456. package/dist/transactions/components/shared/TransactionTable/cells/AccountCell/index.es.js.map +1 -0
  1457. package/dist/transactions/components/shared/TransactionTable/cells/AmountCell/index.es.js +30 -0
  1458. package/dist/transactions/components/shared/TransactionTable/cells/AmountCell/index.es.js.map +1 -0
  1459. package/dist/transactions/components/shared/TransactionTable/cells/CategoryCell/index.es.js +38 -0
  1460. package/dist/transactions/components/shared/TransactionTable/cells/CategoryCell/index.es.js.map +1 -0
  1461. package/dist/transactions/components/shared/TransactionTable/cells/DateCell/index.es.js +14 -0
  1462. package/dist/transactions/components/shared/TransactionTable/cells/DateCell/index.es.js.map +1 -0
  1463. package/dist/transactions/components/shared/TransactionTable/cells/FlagCell/index.es.js +46 -0
  1464. package/dist/transactions/components/shared/TransactionTable/cells/FlagCell/index.es.js.map +1 -0
  1465. package/dist/transactions/components/shared/TransactionTable/cells/HeaderCell/index.es.js +12 -0
  1466. package/dist/transactions/components/shared/TransactionTable/cells/HeaderCell/index.es.js.map +1 -0
  1467. package/dist/transactions/components/shared/TransactionTable/cells/PayeeCell/index.es.js +28 -0
  1468. package/dist/transactions/components/shared/TransactionTable/cells/PayeeCell/index.es.js.map +1 -0
  1469. package/dist/transactions/components/shared/TransactionTable/index.es.js +124 -0
  1470. package/dist/transactions/components/shared/TransactionTable/index.es.js.map +1 -0
  1471. package/dist/transactions/components/shared/getEmbeddedInstanceSlotByBeatTemplates/index.es.js +25 -0
  1472. package/dist/transactions/components/shared/getEmbeddedInstanceSlotByBeatTemplates/index.es.js.map +1 -0
  1473. package/dist/transactions/components/splitmanager/SplitManager/index.es.js +68 -0
  1474. package/dist/transactions/components/splitmanager/SplitManager/index.es.js.map +1 -0
  1475. package/dist/transactions/components/splitmanager/SplitRow/index.es.js +119 -0
  1476. package/dist/transactions/components/splitmanager/SplitRow/index.es.js.map +1 -0
  1477. package/dist/transactions/components/tagmanager/Header/index.es.js +68 -0
  1478. package/dist/transactions/components/tagmanager/Header/index.es.js.map +1 -0
  1479. package/dist/transactions/components/tagmanager/SearchBox/index.es.js +48 -0
  1480. package/dist/transactions/components/tagmanager/SearchBox/index.es.js.map +1 -0
  1481. package/dist/transactions/components/tagmanager/TagManager/index.es.js +36 -0
  1482. package/dist/transactions/components/tagmanager/TagManager/index.es.js.map +1 -0
  1483. package/dist/transactions/components/tagmanager/TagRow/index.es.js +108 -0
  1484. package/dist/transactions/components/tagmanager/TagRow/index.es.js.map +1 -0
  1485. package/dist/transactions/components/transactionwidget/AddAccountModal/index.es.js +33 -0
  1486. package/dist/transactions/components/transactionwidget/AddAccountModal/index.es.js.map +1 -0
  1487. package/dist/transactions/components/transactionwidget/actions/EditCategoryAction/index.es.js +44 -0
  1488. package/dist/transactions/components/transactionwidget/actions/EditCategoryAction/index.es.js.map +1 -0
  1489. package/dist/transactions/components/transactionwidget/actions/ExportCsvAction/index.es.js +26 -0
  1490. package/dist/transactions/components/transactionwidget/actions/ExportCsvAction/index.es.js.map +1 -0
  1491. package/dist/transactions/constants/Actions/index.es.js +22 -0
  1492. package/dist/transactions/constants/Actions/index.es.js.map +1 -0
  1493. package/dist/transactions/constants/OnClickEvents/index.es.js +50 -0
  1494. package/dist/transactions/constants/OnClickEvents/index.es.js.map +1 -0
  1495. package/dist/transactions/context/hooks/index.es.js +12 -0
  1496. package/dist/transactions/context/hooks/index.es.js.map +1 -0
  1497. package/dist/transactions/index.es.js +17 -604
  1498. package/dist/transactions/utils/Filters/index.es.js +11 -0
  1499. package/dist/transactions/utils/Filters/index.es.js.map +1 -0
  1500. package/dist/transactions/utils/Transactions/index.es.js +24 -0
  1501. package/dist/transactions/utils/Transactions/index.es.js.map +1 -0
  1502. package/dist/trends/TrendsFullWidget/index.es.js +154 -0
  1503. package/dist/trends/TrendsFullWidget/index.es.js.map +1 -0
  1504. package/dist/trends/TrendsMicroWidget/index.es.js +72 -0
  1505. package/dist/trends/TrendsMicroWidget/index.es.js.map +1 -0
  1506. package/dist/trends/TrendsMiniWidget/index.es.js +43 -0
  1507. package/dist/trends/TrendsMiniWidget/index.es.js.map +1 -0
  1508. package/dist/trends/TrendsWidget/index.es.js +207 -0
  1509. package/dist/trends/TrendsWidget/index.es.js.map +1 -0
  1510. package/dist/trends/ZeroStateMicroWidget/index.es.js +30 -0
  1511. package/dist/trends/ZeroStateMicroWidget/index.es.js.map +1 -0
  1512. package/dist/trends/components/CategoriesList/index.es.js +64 -0
  1513. package/dist/trends/components/CategoriesList/index.es.js.map +1 -0
  1514. package/dist/trends/components/CategoriesListItem/index.es.js +44 -0
  1515. package/dist/trends/components/CategoriesListItem/index.es.js.map +1 -0
  1516. package/dist/trends/components/CategoryDetailChart/index.es.js +45 -0
  1517. package/dist/trends/components/CategoryDetailChart/index.es.js.map +1 -0
  1518. package/dist/trends/components/CategoryDetails/index.es.js +104 -0
  1519. package/dist/trends/components/CategoryDetails/index.es.js.map +1 -0
  1520. package/dist/trends/components/DateRangeText/index.es.js +26 -0
  1521. package/dist/trends/components/DateRangeText/index.es.js.map +1 -0
  1522. package/dist/trends/components/SpendingChart/index.es.js +28 -0
  1523. package/dist/trends/components/SpendingChart/index.es.js.map +1 -0
  1524. package/dist/trends/components/TrendsChart/index.es.js +63 -0
  1525. package/dist/trends/components/TrendsChart/index.es.js.map +1 -0
  1526. package/dist/trends/components/TrendsChartTotals/index.es.js +58 -0
  1527. package/dist/trends/components/TrendsChartTotals/index.es.js.map +1 -0
  1528. package/dist/trends/components/TrendsDrawer/index.es.js +38 -0
  1529. package/dist/trends/components/TrendsDrawer/index.es.js.map +1 -0
  1530. package/dist/trends/components/TrendsInsights/index.es.js +38 -0
  1531. package/dist/trends/components/TrendsInsights/index.es.js.map +1 -0
  1532. package/dist/trends/components/TrendsMicroSpendingIncomeBox/index.es.js +82 -0
  1533. package/dist/trends/components/TrendsMicroSpendingIncomeBox/index.es.js.map +1 -0
  1534. package/dist/trends/components/TrendsTableContainer/index.es.js +56 -0
  1535. package/dist/trends/components/TrendsTableContainer/index.es.js.map +1 -0
  1536. package/dist/trends/components/TrendsViewToggle/index.es.js +28 -0
  1537. package/dist/trends/components/TrendsViewToggle/index.es.js.map +1 -0
  1538. package/dist/trends/components/trendstable/AccessibleSortIcon/index.es.js +49 -0
  1539. package/dist/trends/components/trendstable/AccessibleSortIcon/index.es.js.map +1 -0
  1540. package/dist/trends/components/trendstable/AmountCell/index.es.js +24 -0
  1541. package/dist/trends/components/trendstable/AmountCell/index.es.js.map +1 -0
  1542. package/dist/trends/components/trendstable/CategoryCell/index.es.js +30 -0
  1543. package/dist/trends/components/trendstable/CategoryCell/index.es.js.map +1 -0
  1544. package/dist/trends/components/trendstable/HeaderCell/index.es.js +12 -0
  1545. package/dist/trends/components/trendstable/HeaderCell/index.es.js.map +1 -0
  1546. package/dist/trends/components/trendstable/TrendsTable/index.es.js +52 -0
  1547. package/dist/trends/components/trendstable/TrendsTable/index.es.js.map +1 -0
  1548. package/dist/trends/constants/TrendsInsights/index.es.js +40 -0
  1549. package/dist/trends/constants/TrendsInsights/index.es.js.map +1 -0
  1550. package/dist/trends/constants/TrendsWidget/index.es.js +6 -0
  1551. package/dist/trends/constants/TrendsWidget/index.es.js.map +1 -0
  1552. package/dist/trends/index.es.js +8 -1612
  1553. package/dist/trends/utils/SpendingData/index.es.js +53 -0
  1554. package/dist/trends/utils/SpendingData/index.es.js.map +1 -0
  1555. package/dist/trends/utils/TrendsTable/index.es.js +101 -0
  1556. package/dist/trends/utils/TrendsTable/index.es.js.map +1 -0
  1557. package/dist/trends/utils/TrendsWidget/index.es.js +11 -0
  1558. package/dist/trends/utils/TrendsWidget/index.es.js.map +1 -0
  1559. package/dist/trends/utils/shared/index.es.js +18 -0
  1560. package/dist/trends/utils/shared/index.es.js.map +1 -0
  1561. package/package.json +34 -39
  1562. package/dist/Account-DR7Plrqy.mjs +0 -119
  1563. package/dist/Account-DR7Plrqy.mjs.map +0 -1
  1564. package/dist/AccountDetailsDrawer-JORrub4d.mjs +0 -922
  1565. package/dist/AccountDetailsDrawer-JORrub4d.mjs.map +0 -1
  1566. package/dist/AccountDetailsHeader-C84CSN2K.mjs +0 -230
  1567. package/dist/AccountDetailsHeader-C84CSN2K.mjs.map +0 -1
  1568. package/dist/AccountUtils-Cbh8r9cP.mjs +0 -29
  1569. package/dist/AccountUtils-Cbh8r9cP.mjs.map +0 -1
  1570. package/dist/Analytics-B8AaC22u.mjs +0 -54
  1571. package/dist/Analytics-B8AaC22u.mjs.map +0 -1
  1572. package/dist/Analytics-D-jdcL72.mjs +0 -140
  1573. package/dist/Analytics-D-jdcL72.mjs.map +0 -1
  1574. package/dist/ApiEndpoints-DXwIYNUV.mjs +0 -50
  1575. package/dist/ApiEndpoints-DXwIYNUV.mjs.map +0 -1
  1576. package/dist/BeatMaterialIcon-1KOfRZrA.mjs +0 -27
  1577. package/dist/BeatMaterialIcon-1KOfRZrA.mjs.map +0 -1
  1578. package/dist/BudgetUtil-Bg2AQJpQ.mjs +0 -75
  1579. package/dist/BudgetUtil-Bg2AQJpQ.mjs.map +0 -1
  1580. package/dist/Category-DEKZGLYe.mjs +0 -302
  1581. package/dist/Category-DEKZGLYe.mjs.map +0 -1
  1582. package/dist/CategorySelectorDrawer-BuSaE8-f.mjs +0 -431
  1583. package/dist/CategorySelectorDrawer-BuSaE8-f.mjs.map +0 -1
  1584. package/dist/Connect-BH0Pt6zc.mjs +0 -43
  1585. package/dist/Connect-BH0Pt6zc.mjs.map +0 -1
  1586. package/dist/ConnectCard-D7exwcv8.mjs +0 -55
  1587. package/dist/ConnectCard-D7exwcv8.mjs.map +0 -1
  1588. package/dist/ConnectDrawer-BQ9ouCgh.mjs +0 -58
  1589. package/dist/ConnectDrawer-BQ9ouCgh.mjs.map +0 -1
  1590. package/dist/ConnectionsDrawer-CCDnZGh0.mjs +0 -54
  1591. package/dist/ConnectionsDrawer-CCDnZGh0.mjs.map +0 -1
  1592. package/dist/CurrencyDialog-DumQCTPO.mjs +0 -374
  1593. package/dist/CurrencyDialog-DumQCTPO.mjs.map +0 -1
  1594. package/dist/CurrencyInput-DaGEQaLW.mjs +0 -88
  1595. package/dist/CurrencyInput-DaGEQaLW.mjs.map +0 -1
  1596. package/dist/CurrencyText-CCbE6MmF.mjs +0 -21
  1597. package/dist/CurrencyText-CCbE6MmF.mjs.map +0 -1
  1598. package/dist/DateFormats-HudZ3Bjs.mjs +0 -65
  1599. package/dist/DateFormats-HudZ3Bjs.mjs.map +0 -1
  1600. package/dist/DateUtil-Bl7d7C1W.mjs +0 -76
  1601. package/dist/DateUtil-Bl7d7C1W.mjs.map +0 -1
  1602. package/dist/DebtUtils-i4pI2Uoe.mjs +0 -154
  1603. package/dist/DebtUtils-i4pI2Uoe.mjs.map +0 -1
  1604. package/dist/Dialog-Bvd2n8hz.mjs +0 -67
  1605. package/dist/Dialog-Bvd2n8hz.mjs.map +0 -1
  1606. package/dist/Donut-SzzfZDHF.mjs +0 -89
  1607. package/dist/Donut-SzzfZDHF.mjs.map +0 -1
  1608. package/dist/Drawer-CWQYTC6t.mjs +0 -187
  1609. package/dist/Drawer-CWQYTC6t.mjs.map +0 -1
  1610. package/dist/EmbeddedCard-AdIOFTGI.mjs +0 -860
  1611. package/dist/EmbeddedCard-AdIOFTGI.mjs.map +0 -1
  1612. package/dist/EmptyState-CJUDc3kD.mjs +0 -85
  1613. package/dist/EmptyState-CJUDc3kD.mjs.map +0 -1
  1614. package/dist/Error-Dtw6yxkf.mjs +0 -85
  1615. package/dist/Error-Dtw6yxkf.mjs.map +0 -1
  1616. package/dist/ErrorBoundary-C7BlHx04.mjs +0 -27
  1617. package/dist/ErrorBoundary-C7BlHx04.mjs.map +0 -1
  1618. package/dist/ExportCsvAction-CuQY5irL.mjs +0 -25
  1619. package/dist/ExportCsvAction-CuQY5irL.mjs.map +0 -1
  1620. package/dist/GlobalAccountFilter-BhzR5Vb1.mjs +0 -230
  1621. package/dist/GlobalAccountFilter-BhzR5Vb1.mjs.map +0 -1
  1622. package/dist/GlobalCopyApi-CLhyon-B.mjs +0 -145
  1623. package/dist/GlobalCopyApi-CLhyon-B.mjs.map +0 -1
  1624. package/dist/GoalsUtil-C9EnLWvC.mjs +0 -108
  1625. package/dist/GoalsUtil-C9EnLWvC.mjs.map +0 -1
  1626. package/dist/HeaderCell-P8w6CmfO.mjs +0 -7
  1627. package/dist/HeaderCell-P8w6CmfO.mjs.map +0 -1
  1628. package/dist/Help-CkQTjORd.mjs +0 -300
  1629. package/dist/Help-CkQTjORd.mjs.map +0 -1
  1630. package/dist/Help-wVQI-yjk.mjs +0 -3210
  1631. package/dist/Help-wVQI-yjk.mjs.map +0 -1
  1632. package/dist/IconBacking-DgT8DCeh.mjs +0 -40
  1633. package/dist/IconBacking-DgT8DCeh.mjs.map +0 -1
  1634. package/dist/InformationTooltip-4su8bn1e.mjs +0 -42
  1635. package/dist/InformationTooltip-4su8bn1e.mjs.map +0 -1
  1636. package/dist/InvestmentUtil-BItV7uEs.mjs +0 -135
  1637. package/dist/InvestmentUtil-BItV7uEs.mjs.map +0 -1
  1638. package/dist/LineChart-CUfiH86G.mjs +0 -613
  1639. package/dist/LineChart-CUfiH86G.mjs.map +0 -1
  1640. package/dist/ListItemAction-BqUCLj_w.mjs +0 -70
  1641. package/dist/ListItemAction-BqUCLj_w.mjs.map +0 -1
  1642. package/dist/ListItemRow-kH1rn8Xu.mjs +0 -68
  1643. package/dist/ListItemRow-kH1rn8Xu.mjs.map +0 -1
  1644. package/dist/ListItemWrapper-DRse79Iu.mjs +0 -44
  1645. package/dist/ListItemWrapper-DRse79Iu.mjs.map +0 -1
  1646. package/dist/Loader-CxeBwuPG.mjs +0 -22
  1647. package/dist/Loader-CxeBwuPG.mjs.map +0 -1
  1648. package/dist/Localization-DnoVyBNK.mjs +0 -39
  1649. package/dist/Localization-DnoVyBNK.mjs.map +0 -1
  1650. package/dist/ManageIncome-lfbxMoW8.mjs +0 -906
  1651. package/dist/ManageIncome-lfbxMoW8.mjs.map +0 -1
  1652. package/dist/MicroWidgetContainer-B2NnKBgW.mjs +0 -46
  1653. package/dist/MicroWidgetContainer-B2NnKBgW.mjs.map +0 -1
  1654. package/dist/MiniWidgetContainer-Bmv_WeUd.mjs +0 -67
  1655. package/dist/MiniWidgetContainer-Bmv_WeUd.mjs.map +0 -1
  1656. package/dist/NetWorthUtils-Dj7CgAg2.mjs +0 -96
  1657. package/dist/NetWorthUtils-Dj7CgAg2.mjs.map +0 -1
  1658. package/dist/Notification-DTNYSd8P.mjs +0 -8
  1659. package/dist/Notification-DTNYSd8P.mjs.map +0 -1
  1660. package/dist/NotificationSettings-BOz1Xkf4.mjs +0 -678
  1661. package/dist/NotificationSettings-BOz1Xkf4.mjs.map +0 -1
  1662. package/dist/NotificationUtils-BRGFTePr.mjs +0 -24
  1663. package/dist/NotificationUtils-BRGFTePr.mjs.map +0 -1
  1664. package/dist/NumberFormatting--XMeeBfr.mjs +0 -50
  1665. package/dist/NumberFormatting--XMeeBfr.mjs.map +0 -1
  1666. package/dist/OriginalBalanceAction-YrvxBYAl.mjs +0 -115
  1667. package/dist/OriginalBalanceAction-YrvxBYAl.mjs.map +0 -1
  1668. package/dist/RecurringSettings-BG5wxPbS.mjs +0 -89
  1669. package/dist/RecurringSettings-BG5wxPbS.mjs.map +0 -1
  1670. package/dist/RecurringTransactionsUtil-CfWviBh1.mjs +0 -299
  1671. package/dist/RecurringTransactionsUtil-CfWviBh1.mjs.map +0 -1
  1672. package/dist/ResponsiveButton-CC9F_Ezk.mjs +0 -46
  1673. package/dist/ResponsiveButton-CC9F_Ezk.mjs.map +0 -1
  1674. package/dist/SearchBox-Cpgu_gdO.mjs +0 -51
  1675. package/dist/SearchBox-Cpgu_gdO.mjs.map +0 -1
  1676. package/dist/Select-CSpkK5cR.mjs +0 -62
  1677. package/dist/Select-CSpkK5cR.mjs.map +0 -1
  1678. package/dist/SelectionBox-B4xELRgp.mjs +0 -49
  1679. package/dist/SelectionBox-B4xELRgp.mjs.map +0 -1
  1680. package/dist/SingleSegmentDonut-7Uy6VEld.mjs +0 -70
  1681. package/dist/SingleSegmentDonut-7Uy6VEld.mjs.map +0 -1
  1682. package/dist/Sizes-DISGrlUg.mjs +0 -7
  1683. package/dist/Sizes-DISGrlUg.mjs.map +0 -1
  1684. package/dist/SkeletonLoader-BaNboJjD.mjs +0 -39
  1685. package/dist/SkeletonLoader-BaNboJjD.mjs.map +0 -1
  1686. package/dist/SpendingData-Fii_xATx.mjs +0 -54
  1687. package/dist/SpendingData-Fii_xATx.mjs.map +0 -1
  1688. package/dist/SpendingLegend-CxvNOg3c.mjs +0 -204
  1689. package/dist/SpendingLegend-CxvNOg3c.mjs.map +0 -1
  1690. package/dist/StatusBar-CPfSXe80.mjs +0 -31
  1691. package/dist/StatusBar-CPfSXe80.mjs.map +0 -1
  1692. package/dist/TabContentContainer-B0eYJP5p.mjs +0 -49
  1693. package/dist/TabContentContainer-B0eYJP5p.mjs.map +0 -1
  1694. package/dist/ToggleListItem-Dl1lXNwj.mjs +0 -92
  1695. package/dist/ToggleListItem-Dl1lXNwj.mjs.map +0 -1
  1696. package/dist/TransactionDetails-naGZa2sb.mjs +0 -1710
  1697. package/dist/TransactionDetails-naGZa2sb.mjs.map +0 -1
  1698. package/dist/TransactionUtils-BphBJBbU.mjs +0 -235
  1699. package/dist/TransactionUtils-BphBJBbU.mjs.map +0 -1
  1700. package/dist/TrendsUtil-D9z3kIj_.mjs +0 -70
  1701. package/dist/TrendsUtil-D9z3kIj_.mjs.map +0 -1
  1702. package/dist/UserStore-Cp-2Jtnw.mjs +0 -3210
  1703. package/dist/UserStore-Cp-2Jtnw.mjs.map +0 -1
  1704. package/dist/ViewMoreMicroCard-B4oeGrbE.mjs +0 -1280
  1705. package/dist/ViewMoreMicroCard-B4oeGrbE.mjs.map +0 -1
  1706. package/dist/WidgetContainer-BBzwzqOz.mjs +0 -487
  1707. package/dist/WidgetContainer-BBzwzqOz.mjs.map +0 -1
  1708. package/dist/accounts/components/ConnectStatus.d.ts +0 -7
  1709. package/dist/accounts/index.es.js.map +0 -1
  1710. package/dist/analytics/index.es.js.map +0 -1
  1711. package/dist/budgets/index.es.js.map +0 -1
  1712. package/dist/cashflow/index.es.js.map +0 -1
  1713. package/dist/categories/index.es.js.map +0 -1
  1714. package/dist/common/index.es.js.map +0 -1
  1715. package/dist/core/index.es.js.map +0 -1
  1716. package/dist/dashboard/index.es.js.map +0 -1
  1717. package/dist/debts/index.es.js.map +0 -1
  1718. package/dist/finstrong/index.es.js.map +0 -1
  1719. package/dist/goals/index.es.js.map +0 -1
  1720. package/dist/help/index.es.js.map +0 -1
  1721. package/dist/hooks-97sNJ_lf.mjs +0 -78
  1722. package/dist/hooks-97sNJ_lf.mjs.map +0 -1
  1723. package/dist/insights/index.es.js.map +0 -1
  1724. package/dist/investments/index.es.js.map +0 -1
  1725. package/dist/merchants/index.es.js.map +0 -1
  1726. package/dist/microinsights/index.es.js.map +0 -1
  1727. package/dist/networth/index.es.js.map +0 -1
  1728. package/dist/notifications/index.es.js.map +0 -1
  1729. package/dist/recurringtransactions/index.es.js.map +0 -1
  1730. package/dist/settings/index.es.js.map +0 -1
  1731. package/dist/spending/index.es.js.map +0 -1
  1732. package/dist/transactions/index.es.js.map +0 -1
  1733. package/dist/trends/index.es.js.map +0 -1
  1734. package/dist/useAccountDisplayName-BsiXA0qf.mjs +0 -24
  1735. package/dist/useAccountDisplayName-BsiXA0qf.mjs.map +0 -1
  1736. package/dist/useAriaLive-MkYebyUR.mjs +0 -36
  1737. package/dist/useAriaLive-MkYebyUR.mjs.map +0 -1
  1738. package/dist/useDimensions-CeDR9V8N.mjs +0 -37
  1739. package/dist/useDimensions-CeDR9V8N.mjs.map +0 -1
  1740. package/dist/useInsightsEnabled-D5Sdm0TJ.mjs +0 -12
  1741. package/dist/useInsightsEnabled-D5Sdm0TJ.mjs.map +0 -1
  1742. package/dist/useScreenSize-mWpmnh5w.mjs +0 -37
  1743. package/dist/useScreenSize-mWpmnh5w.mjs.map +0 -1
  1744. package/dist/useWidgetLoadTimer-B0tB-yzL.mjs +0 -20
  1745. package/dist/useWidgetLoadTimer-B0tB-yzL.mjs.map +0 -1
  1746. /package/dist/budgets/components/{bubblechart → BubbleChart}/Bubble.d.ts +0 -0
  1747. /package/dist/budgets/components/{bubblechart → BubbleChart}/Mercury.d.ts +0 -0
  1748. /package/dist/budgets/components/{budgetlist → BudgetList}/BudgetRow.d.ts +0 -0
  1749. /package/dist/budgets/components/{budgetlist → BudgetList}/SubBudgetRow.d.ts +0 -0
  1750. /package/dist/budgets/components/{budgetlist → BudgetList}/SubBudgetZeroState.d.ts +0 -0
  1751. /package/dist/common/components/{globalaccountfilter → GlobalAccountFilter}/GlobalAccountFilterList.d.ts +0 -0
  1752. /package/dist/common/components/charts/{linechart → LineChart}/CustomLegend.d.ts +0 -0
  1753. /package/dist/common/components/charts/{linechart → LineChart}/CustomLine.d.ts +0 -0
  1754. /package/dist/common/components/charts/{linechart → LineChart}/CustomMark.d.ts +0 -0
  1755. /package/dist/common/components/charts/{linechart → LineChart}/CustomTooltip.d.ts +0 -0
  1756. /package/dist/common/components/charts/{linechart → LineChart}/utils/markerShapes.d.ts +0 -0
  1757. /package/dist/common/components/charts/{stackedlinechart → StackedLineChart}/CategoryIconLabel.d.ts +0 -0
  1758. /package/dist/common/components/charts/{stackedlinechart → StackedLineChart}/CustomAreaTooltip.d.ts +0 -0
  1759. /package/dist/common/components/charts/{stackedlinechart → StackedLineChart}/CustomLegend.d.ts +0 -0
  1760. /package/dist/common/components/charts/{stackedlinechart → StackedLineChart}/CustomPointTooltip.d.ts +0 -0
  1761. /package/dist/common/components/charts/{stackedlinechart → StackedLineChart}/utils.d.ts +0 -0
  1762. /package/dist/debts/components/{debtstable → DebtsTable}/AccountCell.d.ts +0 -0
  1763. /package/dist/debts/components/{debtstable → DebtsTable}/PriorityCell.d.ts +0 -0
  1764. /package/dist/goals/components/{addgoal → AddGoal}/AddGoalListItem.d.ts +0 -0
  1765. /package/dist/goals/components/{managegoals → ManageGoals}/CompleteListItem.d.ts +0 -0
  1766. /package/dist/goals/components/{managegoals → ManageGoals}/OngoingListItem.d.ts +0 -0
  1767. /package/dist/goals/components/{managegoals → ManageGoals}/ReorderGoals.d.ts +0 -0
  1768. /package/dist/investments/components/{allocation → Allocation}/InvestementAllocationList.d.ts +0 -0
  1769. /package/dist/investments/components/{allocation → Allocation}/InvestmentsAllocationChart.d.ts +0 -0
  1770. /package/dist/investments/components/{allocation → Allocation}/util/createInvestementsAllocationData.d.ts +0 -0
  1771. /package/dist/recurringtransactions/components/shared/{recurringsettings → RecurringSettings}/AddRecurringTransaction.d.ts +0 -0
  1772. /package/dist/recurringtransactions/components/shared/{recurringsettings → RecurringSettings}/AddRecurringTransactionDetails.d.ts +0 -0
  1773. /package/dist/recurringtransactions/components/shared/{recurringsettings → RecurringSettings}/ManageExpenses.d.ts +0 -0
  1774. /package/dist/recurringtransactions/components/shared/{recurringsettings → RecurringSettings}/ManageIncome.d.ts +0 -0
  1775. /package/dist/recurringtransactions/components/shared/{recurringsettings → RecurringSettings}/RecurringRow.d.ts +0 -0
  1776. /package/dist/recurringtransactions/components/shared/{recurringsettings → RecurringSettings}/RecurringSettingsZeroState.d.ts +0 -0
  1777. /package/dist/recurringtransactions/components/shared/{recurringsettings → RecurringSettings}/SelectTransaction.d.ts +0 -0
  1778. /package/dist/transactions/components/shared/{transactiondetails → TransactionDetails}/Description.d.ts +0 -0
  1779. /package/dist/transactions/components/shared/{transactiondetails → TransactionDetails}/FlagTransaction.d.ts +0 -0
  1780. /package/dist/transactions/components/shared/{transactiondetails → TransactionDetails}/ManualTransactionDetails.d.ts +0 -0
  1781. /package/dist/transactions/components/shared/{transactiondetails → TransactionDetails}/TransactionAmountHeader.d.ts +0 -0
  1782. /package/dist/transactions/components/shared/{transactiondetails → TransactionDetails}/TransactionDetailsView.d.ts +0 -0
  1783. /package/dist/transactions/components/shared/{transactiondetails → TransactionDetails}/actions/AddMerchantBudgetAction.d.ts +0 -0
  1784. /package/dist/transactions/components/shared/{transactiondetails → TransactionDetails}/actions/CategoryAction.d.ts +0 -0
  1785. /package/dist/transactions/components/shared/{transactiondetails → TransactionDetails}/actions/DateAction.d.ts +0 -0
  1786. /package/dist/transactions/components/shared/{transactiondetails → TransactionDetails}/actions/DeleteAction.d.ts +0 -0
  1787. /package/dist/transactions/components/shared/{transactiondetails → TransactionDetails}/actions/DeleteLogoAction.d.ts +0 -0
  1788. /package/dist/transactions/components/shared/{transactiondetails → TransactionDetails}/actions/ExcludeAction.d.ts +0 -0
  1789. /package/dist/transactions/components/shared/{transactiondetails → TransactionDetails}/actions/MemoAction.d.ts +0 -0
  1790. /package/dist/transactions/components/shared/{transactiondetails → TransactionDetails}/actions/SplitAction.d.ts +0 -0
  1791. /package/dist/transactions/components/shared/{transactiondetails → TransactionDetails}/actions/TagsAction.d.ts +0 -0
  1792. /package/dist/transactions/components/shared/{transactiondetails → TransactionDetails}/actions/index.d.ts +0 -0
  1793. /package/dist/transactions/components/shared/{transactionlist → TransactionList}/TransactionRow.d.ts +0 -0
  1794. /package/dist/transactions/components/shared/{transactionlist → TransactionList}/ZeroState.d.ts +0 -0
  1795. /package/dist/transactions/components/shared/{transactiontable → TransactionTable}/cells/AccountCell.d.ts +0 -0
  1796. /package/dist/transactions/components/shared/{transactiontable → TransactionTable}/cells/AmountCell.d.ts +0 -0
  1797. /package/dist/transactions/components/shared/{transactiontable → TransactionTable}/cells/CategoryCell.d.ts +0 -0
  1798. /package/dist/transactions/components/shared/{transactiontable → TransactionTable}/cells/DateCell.d.ts +0 -0
  1799. /package/dist/transactions/components/shared/{transactiontable → TransactionTable}/cells/FlagCell.d.ts +0 -0
  1800. /package/dist/transactions/components/shared/{transactiontable → TransactionTable}/cells/HeaderCell.d.ts +0 -0
  1801. /package/dist/transactions/components/shared/{transactiontable → TransactionTable}/cells/PayeeCell.d.ts +0 -0
  1802. /package/dist/transactions/components/shared/{transactiontable → TransactionTable}/cells/index.d.ts +0 -0
@@ -1,3914 +1,10 @@
1
- import { jsx as e, jsxs as s, Fragment as H } from "react/jsx-runtime";
2
- import M from "@mui/material/Box";
3
- import _ from "@mui/material/Stack";
4
- import { useTheme as W, alpha as ue } from "@mui/material/styles";
5
- import { PieChart as pn } from "@mui/x-charts/PieChart";
6
- import { Text as D, P as A, H3 as j, InstitutionLogo as yt, H2 as Ge, MerchantLogo as un, Icon as _n } from "@mxenabled/mxui";
7
- import { ChevronRight as J, Check as mn, TrendingUp as hn, ArrowRightAlt as gn, TrendingDown as yn, AccountBalance as ft, CheckCircle as fn, Cancel as bn, CreditCard as bt, Savings as xn, ContentCopy as Cn, MultilineChart as Sn, Add as xt, Cardiology as vn, Payments as wn, CalendarMonth as kn, ExpandMore as Mn } from "@mxenabled/mx-icons";
8
- import { addDays as Dn } from "date-fns/addDays";
9
- import { addMonths as In } from "date-fns/addMonths";
10
- import { addYears as An } from "date-fns/addYears";
11
- import { differenceInDays as Tn } from "date-fns/differenceInDays";
12
- import { differenceInMonths as On } from "date-fns/differenceInMonths";
13
- import { differenceInWeeks as it } from "date-fns/differenceInWeeks";
14
- import { format as Ct } from "date-fns/format";
15
- import { startOfToday as Ve } from "date-fns/startOfToday";
16
- import m, { useState as Rn, useRef as Fn, useCallback as st, useEffect as ct } from "react";
17
- import Ln from "@mui/material/Avatar";
18
- import ae from "@mui/material/Divider";
19
- import Le from "@mui/material/List";
20
- import _e from "@mui/material/ListItem";
21
- import Ye from "@mui/material/ListItemAvatar";
22
- import St from "@mui/material/ListItemButton";
23
- import me from "@mui/material/ListItemText";
24
- import { f as B } from "../NumberFormatting--XMeeBfr.mjs";
25
- import { b as z } from "../Localization-DnoVyBNK.mjs";
26
- import { f as Xe, D as Ue } from "../DateFormats-HudZ3Bjs.mjs";
27
- import * as lt from "d3";
28
- import { observer as w } from "mobx-react-lite";
29
- import { u as S, a as ne, i as qe, C as oe, s as L, D as Pn, c as ke, l as Qe, e as Bn, h as Ze, g as En, o as Gn } from "../hooks-97sNJ_lf.mjs";
30
- import { L as ee } from "../Loader-CxeBwuPG.mjs";
31
- import E from "@mui/material/Button";
32
- import Y from "@mui/material/Card";
33
- import { L as Je } from "../LineChart-CUfiH86G.mjs";
34
- import { C as vt } from "../ConnectionsDrawer-CCDnZGh0.mjs";
35
- import { C as se } from "../ConnectDrawer-BQ9ouCgh.mjs";
36
- import he from "@mui/material/Tab";
37
- import et from "@mui/material/Tabs";
38
- import Pe from "@mui/material/TextField";
39
- import { u as tt } from "../useScreenSize-mWpmnh5w.mjs";
40
- import { D as Wn } from "../Dialog-Bvd2n8hz.mjs";
41
- import { u as wt } from "../useDimensions-CeDR9V8N.mjs";
42
- import { E as Be } from "../EmptyState-CJUDc3kD.mjs";
43
- import $n from "@mui/material/Chip";
44
- import { D as ie } from "../Drawer-CWQYTC6t.mjs";
45
- import { g as kt } from "../useAccountDisplayName-BsiXA0qf.mjs";
46
- import { a as Mt } from "../AccountDetailsHeader-C84CSN2K.mjs";
47
- import Nn from "@mui/material/ListSubheader";
48
- import { S as dt } from "../Select-CSpkK5cR.mjs";
49
- import { c as je } from "../Account-DR7Plrqy.mjs";
50
- import { S as zn } from "../StatusBar-CPfSXe80.mjs";
51
- import { k as Dt } from "../DateUtil-Bl7d7C1W.mjs";
52
- import { T as Hn, s as Kn, h as Vn, S as jn, a as Yn } from "../EmbeddedCard-AdIOFTGI.mjs";
53
- import { T as ge } from "../TabContentContainer-B0eYJP5p.mjs";
54
- import Xn from "@mui/material/useMediaQuery";
55
- import { BarPlot as Un } from "@mui/x-charts/BarChart";
56
- import { ChartContainer as qn } from "@mui/x-charts/ChartContainer";
57
- import { ChartsXAxis as Qn } from "@mui/x-charts/ChartsXAxis";
58
- import { ChartsYAxis as Zn } from "@mui/x-charts/ChartsYAxis";
59
- import { startOfMonth as It } from "date-fns/startOfMonth";
60
- import { endOfMonth as At } from "date-fns/endOfMonth";
61
- import { g as Jn, S as eo, b as to } from "../SpendingLegend-CxvNOg3c.mjs";
62
- import { formatISO as no } from "date-fns/formatISO";
63
- import { fromUnixTime as oo } from "date-fns/fromUnixTime";
64
- import { subDays as ro } from "date-fns/subDays";
65
- import { c as ao, b as pt, S as io, i as so } from "../ManageIncome-lfbxMoW8.mjs";
66
- import { F as Tt, d as co, R as Ot } from "../RecurringTransactionsUtil-CfWviBh1.mjs";
67
- import { LocalizationProvider as lo, DatePicker as po, StaticDatePicker as uo } from "@mui/x-date-pickers";
68
- import { AdapterDateFns as Rt } from "@mui/x-date-pickers/AdapterDateFnsV3";
69
- import { R as _o } from "../RecurringSettings-BG5wxPbS.mjs";
70
- import { LocalizationProvider as mo } from "@mui/x-date-pickers/LocalizationProvider";
71
- import ho from "@mui/lab/Timeline";
72
- import go, { timelineItemClasses as yo } from "@mui/lab/TimelineItem";
73
- import fo from "@mui/lab/TimelineConnector";
74
- import bo from "@mui/lab/TimelineContent";
75
- import xo from "@mui/lab/TimelineDot";
76
- import Co from "@mui/lab/TimelineSeparator";
77
- import So from "@mui/material/Accordion";
78
- import vo from "@mui/material/AccordionDetails";
79
- import wo from "@mui/material/AccordionSummary";
80
- import { u as ko } from "../useWidgetLoadTimer-B0tB-yzL.mjs";
81
- import { W as Mo } from "../WidgetContainer-BBzwzqOz.mjs";
82
- const Ae = {
83
- creditScore: {
84
- poor: 600,
85
- good: 720
86
- },
87
- daysOfCashOnHand: {
88
- poor: 30,
89
- good: 90
90
- },
91
- debtToIncomeRatio: {
92
- poor: 40,
93
- good: 30
94
- },
95
- emergencySavings: {
96
- poor: 750,
97
- good: 1e3
98
- },
99
- spendToIncomeRatio: {
100
- poor: 110,
101
- good: 100
102
- }
103
- }, De = {
104
- GOOD: "GOOD",
105
- FAIR: "FAIR",
106
- OFF_TRACK: "OFF TRACK",
107
- MISSING: "MISSING DATA"
108
- };
109
- var q = /* @__PURE__ */ ((t) => (t.Connections = "connections", t.CreditScore = "credit_score", t.DateOfBirth = "date_of_birth", t.MonthlyIncome = "monthly_income", t))(q || {});
110
- const Do = ({ list: t, onClickItem: n }) => /* @__PURE__ */ e(M, { sx: { bgcolor: "background.paper" }, children: /* @__PURE__ */ e(
111
- Le,
112
- {
113
- sx: {
114
- "& .MuiListItemSecondaryAction-root": {
115
- color: "text.primary",
116
- pr: 24
117
- }
118
- },
119
- children: t.map((o, r) => /* @__PURE__ */ s(m.Fragment, { children: [
120
- /* @__PURE__ */ e(_e, { secondaryAction: /* @__PURE__ */ e(J, {}), children: /* @__PURE__ */ s(St, { onClick: () => n(o.key), children: [
121
- /* @__PURE__ */ e(Ye, { children: /* @__PURE__ */ e(
122
- Ln,
123
- {
124
- sx: {
125
- bgcolor: "primary.main",
126
- ...!o.isComplete && {
127
- bgcolor: "transparent",
128
- borderColor: "action.active",
129
- borderStyle: "solid",
130
- borderWidth: 1,
131
- color: "action.active"
132
- }
133
- },
134
- children: o.icon
135
- }
136
- ) }),
137
- /* @__PURE__ */ e(
138
- me,
139
- {
140
- primary: /* @__PURE__ */ e(D, { sx: { color: "text.secondary" }, variant: "caption", children: o.primaryText }),
141
- secondary: /* @__PURE__ */ e(D, { sx: { color: "text.primary", fontWeight: 600 }, variant: "body1", children: o.secondaryText })
142
- }
143
- )
144
- ] }) }),
145
- /* @__PURE__ */ e(ae, { sx: { color: "divider", ml: r === t.length - 1 ? 0 : 68 } })
146
- ] }, o.key))
147
- }
148
- ) }), ut = (t) => t * (180 / Math.PI), nt = (t, n) => [
149
- {
150
- description: n.vulnerable_description,
151
- max: 25,
152
- scoreContent: n.accordion_details_text.vulnerable,
153
- status: n.vulnerable
154
- },
155
- {
156
- description: n.building_description,
157
- max: 50,
158
- scoreContent: n.accordion_details_text.building,
159
- status: n.building
160
- },
161
- {
162
- description: n.stable_description,
163
- max: 75,
164
- scoreContent: n.accordion_details_text.stable,
165
- status: n.stable
166
- },
167
- {
168
- description: n.strong_description,
169
- max: 100,
170
- scoreContent: n.accordion_details_text.strong,
171
- status: n.strong
172
- }
173
- ].find((i) => t > 0 && t <= i.max) || { status: n.insufficient_data, description: "", scoreContent: "" }, Q = {
174
- POOR: "#8C0E0E",
175
- FAIR: "#E32727",
176
- GOOD: "#FFB70D",
177
- VERY_GOOD: "#0EA26C",
178
- EXCEPTIONAL: "#005C3D"
179
- }, Z = {
180
- POOR: "#B21C1C",
181
- FAIR: "#FF3232",
182
- GOOD: "#FFC02C",
183
- VERY_GOOD: "#29C76B",
184
- EXCEPTIONAL: "#008A5A"
185
- }, Ft = (t, n, o) => t >= 300 && t < 580 ? {
186
- status: o.poor,
187
- color: n ? Z.POOR : Q.POOR
188
- } : t >= 580 && t < 670 ? {
189
- status: o.fair,
190
- color: n ? Z.FAIR : Q.FAIR
191
- } : t >= 670 && t < 740 ? {
192
- status: o.good,
193
- color: n ? Z.GOOD : Q.GOOD
194
- } : t >= 740 && t < 800 ? {
195
- status: o.very_good,
196
- color: n ? Z.VERY_GOOD : Q.VERY_GOOD
197
- } : t >= 800 && t <= 850 ? {
198
- status: o.exceptional,
199
- color: n ? Z.EXCEPTIONAL : Q.EXCEPTIONAL
200
- } : { status: o.missing_data }, Io = (t, n, o, r) => {
201
- const i = t.reduce((c, d) => c + d.value, 0);
202
- let a = 0;
203
- const l = t.map((c) => {
204
- const d = c.value / i * n, p = o + a, u = p + d;
205
- return a += d, {
206
- ...c,
207
- startAngle: p,
208
- endAngle: u
209
- };
210
- });
211
- return [l[r].startAngle, l[r].endAngle];
212
- }, Ao = (t, n, o, r, i) => {
213
- let a = 0, l = 0;
214
- const c = Math.floor(r), d = r - c;
215
- return c > o ? (a = t, l = n) : c === o && d > 0 && (a = t, l = i), [a, l];
216
- }, To = (t, n, o = 0) => {
217
- const r = t * Math.sin(n - o), i = -t * Math.cos(n - o);
218
- return [r, i];
219
- }, Oo = ({
220
- dynamicCopy: t,
221
- fallbackLabel: n,
222
- icon: o,
223
- key: r,
224
- label: i,
225
- value: a
226
- }) => {
227
- const l = !!a, c = l ? Ro(r, a) : t && z(t, n) || n;
228
- return {
229
- icon: l ? /* @__PURE__ */ e(mn, {}) : o,
230
- isComplete: l,
231
- key: r,
232
- primaryText: i,
233
- secondaryText: c
234
- };
235
- }, Ro = (t, n) => ({
236
- [q.DateOfBirth]: (r) => Ct(new Date(Number(r) * 1e3), "MMM d, yyyy"),
237
- [q.MonthlyIncome]: (r) => B(Number(r), "0.00")
238
- })[t]?.(n) ?? String(n), Ee = (t) => t !== null ? Math.round(t * 100) : null, Fo = (t) => {
239
- const n = new Date((/* @__PURE__ */ new Date()).getFullYear(), t - 1, 1);
240
- return Xe(n, Ue.MONTH_SHORT);
241
- }, Lt = (t) => {
242
- const { good: n, poor: o } = Ae.daysOfCashOnHand;
243
- return t === null ? "MISSING" : t >= n ? "GOOD" : t >= o ? "FAIR" : "OFF_TRACK";
244
- }, Pt = (t) => {
245
- const { good: n, poor: o } = Ae.emergencySavings;
246
- return t === null ? "MISSING" : t >= n ? "GOOD" : t >= o ? "FAIR" : "OFF_TRACK";
247
- }, Bt = (t) => {
248
- const { good: n, poor: o } = Ae.spendToIncomeRatio;
249
- return t === null ? "MISSING" : t < n ? "GOOD" : t < o ? "FAIR" : "OFF_TRACK";
250
- }, Et = (t) => {
251
- const { good: n, poor: o } = Ae.debtToIncomeRatio;
252
- return t === null ? "MISSING" : t <= n ? "GOOD" : t <= o ? "FAIR" : "OFF_TRACK";
253
- }, Gt = (t) => {
254
- const { good: n, poor: o } = Ae.creditScore;
255
- return t === null ? "MISSING" : t >= n ? "GOOD" : t >= o ? "FAIR" : "OFF_TRACK";
256
- }, Wt = (t) => t === null ? "MISSING" : t === 0 ? "GOOD" : "OFF_TRACK", Lo = (t, n) => {
257
- const o = Wt(t), r = {
258
- GOOD: n.count_good_description,
259
- OFF_TRACK: n.count_off_track_description,
260
- MISSING: n.count_missing_description
261
- };
262
- return {
263
- cardState: o,
264
- description: r[o],
265
- title: n.count_card_title
266
- };
267
- }, Po = (t) => ({
268
- [De.GOOD]: { backgroundColor: "success.lighter", color: "success.dark" },
269
- [De.FAIR]: { backgroundColor: "warning.lighter", color: "warning.dark" },
270
- [De.OFF_TRACK]: { backgroundColor: "error.lighter", color: "error.dark" },
271
- [De.MISSING]: { backgroundColor: "divider", color: "text.secondary" }
272
- })[t], Bo = 1, Eo = 1, Go = {
273
- 1: In,
274
- 2: An,
275
- 3: Dn
276
- }, Wo = {
277
- 1: On,
278
- 2: (t, n) => it(t, n) / 2,
279
- 3: it,
280
- 4: Tn
281
- }, $t = [
282
- { contributionPeriodIndex: 3, targetAmount: 6, upperLimit: 500 },
283
- { contributionPeriodIndex: 3, targetAmount: 3, upperLimit: 900 },
284
- { contributionPeriodIndex: 2, targetAmount: 1, upperLimit: 1e3 }
285
- ], _t = ({
286
- contribution: t,
287
- goalAmount: n,
288
- goalPeriod: o,
289
- targetPeriod: r,
290
- totalSaved: i
291
- }) => {
292
- const a = n - i;
293
- if (a <= 0) return 0;
294
- const l = Ve(), c = Go[r], d = Wo[t];
295
- if (!c || !d) return a;
296
- const p = c(l, o), u = d(p, l);
297
- return Math.max(a / (u || 1), 1);
298
- }, $o = (t) => !t || t <= 0 ? "0%" : t >= 1e3 ? "100%" : `${Math.round(t / 10)}%`, No = (t) => $t.find((o) => t < o.upperLimit)?.targetAmount ?? Eo, mt = (t) => $t.find((r) => t < r.upperLimit)?.contributionPeriodIndex ?? Bo, zo = (t, n) => [...t].sort((r, i) => r.year === i.year ? r.month - i.month : r.year - i.year).map((r) => ({
299
- x: Xe(new Date(0, r.month - 1, 1), Ue.MONTH_SHORT),
300
- y: r[n]
301
- })), Ho = ({
302
- dialScoreData: t,
303
- dataIndex: n,
304
- arcColor: o,
305
- arcStartAngle: r,
306
- totalAngularSpan: i,
307
- centerX: a,
308
- centerY: l,
309
- arcRadius: c,
310
- innerArcRadius: d,
311
- outterArcRadius: p,
312
- progressEndAngle: u,
313
- unitsPerSegment: h,
314
- isFinacialStrengthGraph: f
315
- }) => {
316
- const v = W(), x = [
317
- { offset: "13.62%", color: v.palette.chartMono.chartMono2 },
318
- { offset: "36.67%", color: v.palette.chartMono.chartMono3 },
319
- { offset: "59.72%", color: v.palette.chartMono.chartMono4 },
320
- { offset: "83.46%", color: v.palette.chartMono.chartMono5 }
321
- ], [C, b] = Io(
322
- t,
323
- i,
324
- r,
325
- n
326
- ), [k, g] = Ao(
327
- C,
328
- b,
329
- n,
330
- h,
331
- u
332
- ), y = lt.arc().innerRadius(d).outerRadius(p).startAngle(C).endAngle(b).padAngle(0.02).cornerRadius(8), I = lt.arc().innerRadius(d).outerRadius(p).startAngle(k).endAngle(g).padAngle(0.02).cornerRadius(8);
333
- return /* @__PURE__ */ s(H, { children: [
334
- /* @__PURE__ */ e(
335
- "path",
336
- {
337
- d: y({}),
338
- fill: f ? v.palette.divider : o
339
- }
340
- ),
341
- f && /* @__PURE__ */ e("path", { d: I({}), fill: "url(#arcGradient)" }),
342
- /* @__PURE__ */ e("defs", { children: /* @__PURE__ */ e(
343
- "linearGradient",
344
- {
345
- gradientTransform: `rotate(5, ${a}, ${l})`,
346
- gradientUnits: "userSpaceOnUse",
347
- id: "arcGradient",
348
- x1: a + c * 0.8 * Math.cos(Math.PI / 1.35),
349
- x2: a - c * 0.8 * Math.cos(Math.PI / 1.35),
350
- y1: l + c * 0.8 * Math.sin(Math.PI / 1.35),
351
- y2: l - c * 0.8 * Math.sin(Math.PI / 1.35),
352
- children: x.map((G, O) => /* @__PURE__ */ e("stop", { offset: G.offset, stopColor: G.color }, O))
353
- }
354
- ) })
355
- ] });
356
- }, Nt = ({
357
- arcRadius: t = 100,
358
- healthScore: n,
359
- size: o = "L",
360
- dialScoreData: r,
361
- minValue: i = 0,
362
- maxValue: a = 100,
363
- margin: l,
364
- markerColor: c,
365
- healthScoreStatus: d,
366
- footerCenterContent: p,
367
- footerLeftContent: u,
368
- footerRightContent: h,
369
- isFinacialStrengthGraph: f = !1
370
- }) => {
371
- const v = W(), x = -Math.PI / 1.35, C = Math.PI / 1.35, b = C - x, k = b / (a - i), g = (n - i) * k, y = x + g + 0.02, I = o !== "SM" ? 0.1 : 0.12, G = t, O = t * (1 - I), $ = G * 2, F = $ / 2, K = $ / 2, fe = (O + G) / 2, be = n !== 25 && n !== 50 && n !== 75 && n !== 100 ? 0 : 0.12, [X, re] = To(fe, y, be), ce = n / 25, U = {
372
- L: { markerSize: 12, healthScoreFontSize: 64 },
373
- M: { markerSize: 8, healthScoreFontSize: 48 },
374
- SM: { markerSize: 3, healthScoreFontSize: 14 }
375
- }, V = {
376
- top: 0,
377
- right: 0,
378
- bottom: 0,
379
- left: 0,
380
- ...l
381
- }, le = p === 0 ? gn : yn, de = o !== "SM" ? 3 : 1, xe = de * 4, N = U[o].markerSize * 2 + xe;
382
- return /* @__PURE__ */ s(
383
- _,
384
- {
385
- sx: {
386
- width: $,
387
- height: o === "SM" ? $ - 7 : $,
388
- position: "relative",
389
- alignSelf: "center",
390
- overflow: "visible"
391
- },
392
- children: [
393
- /* @__PURE__ */ e(
394
- pn,
395
- {
396
- height: o === "SM" ? $ - 7 : $,
397
- hideLegend: !0,
398
- margin: V,
399
- series: [
400
- {
401
- data: r,
402
- innerRadius: O,
403
- outerRadius: G,
404
- startAngle: Math.round(ut(x)),
405
- // Use Math.degrees to convert
406
- endAngle: Math.round(ut(C))
407
- // Use Math.degrees to convert
408
- }
409
- ],
410
- skipAnimation: !0,
411
- slots: {
412
- pieArc: (Ce) => /* @__PURE__ */ e(
413
- Ho,
414
- {
415
- arcColor: Ce.color,
416
- arcRadius: t,
417
- arcStartAngle: x,
418
- centerX: F,
419
- centerY: K,
420
- dataIndex: Ce.dataIndex,
421
- dialScoreData: r,
422
- innerArcRadius: O,
423
- isFinacialStrengthGraph: f,
424
- outterArcRadius: G,
425
- progressEndAngle: y,
426
- totalAngularSpan: b,
427
- unitsPerSegment: ce
428
- }
429
- )
430
- },
431
- sx: {
432
- "& path": {
433
- stroke: "none"
434
- }
435
- },
436
- width: $
437
- }
438
- ),
439
- n >= i && n <= a && /* @__PURE__ */ e(
440
- "svg",
441
- {
442
- height: N,
443
- style: {
444
- position: "absolute",
445
- left: F + X - U[o].markerSize - 5,
446
- top: K + re - U[o].markerSize - 5,
447
- overflow: "visible"
448
- },
449
- viewBox: `${F + X - U[o].markerSize - 5} ${K + re - U[o].markerSize - 5} ${N} ${N}`,
450
- width: N,
451
- children: /* @__PURE__ */ e(
452
- "circle",
453
- {
454
- cx: F + X,
455
- cy: K + re,
456
- fill: v.palette.common.white,
457
- r: U[o].markerSize,
458
- stroke: f ? "url(#arcGradient)" : c,
459
- strokeWidth: de
460
- }
461
- )
462
- }
463
- ),
464
- /* @__PURE__ */ e(
465
- M,
466
- {
467
- sx: {
468
- position: "absolute",
469
- top: `${K}px`,
470
- left: `${F}px`,
471
- transform: "translate(-50%, -50%)",
472
- textAlign: "center"
473
- },
474
- children: /* @__PURE__ */ s(
475
- _,
476
- {
477
- spacing: 1,
478
- sx: { alignItems: "center", justifyContent: "center", gap: o !== "M" ? 10 : 3 },
479
- children: [
480
- /* @__PURE__ */ e(
481
- A,
482
- {
483
- sx: {
484
- fontSize: U[o].healthScoreFontSize,
485
- lineHeight: o !== "SM" ? "48px" : "100%"
486
- },
487
- variant: "h1",
488
- children: n
489
- }
490
- ),
491
- o !== "SM" && /* @__PURE__ */ e(A, { sx: { fontWeight: 600 }, variant: o === "L" ? "body1" : "body2", children: d })
492
- ]
493
- }
494
- )
495
- }
496
- ),
497
- p !== void 0 && /* @__PURE__ */ e(
498
- M,
499
- {
500
- sx: {
501
- position: "absolute",
502
- top: `${K * 2 * 0.83}px`,
503
- left: `${F}px`,
504
- transform: "translate(-50%, -50%)",
505
- textAlign: "center"
506
- },
507
- children: typeof p == "number" ? /* @__PURE__ */ s(
508
- _,
509
- {
510
- sx: {
511
- flexDirection: "row",
512
- alignItems: "center",
513
- gap: 4,
514
- mt: 24
515
- },
516
- children: [
517
- p > 0 ? /* @__PURE__ */ e(hn, { size: 16, sx: { color: "success.main" } }) : /* @__PURE__ */ e(le, { size: 16, sx: { color: "text.secondary" } }),
518
- /* @__PURE__ */ e(
519
- A,
520
- {
521
- sx: {
522
- fontWeight: 600,
523
- color: p > 0 ? "success.main" : "text.secondary"
524
- },
525
- variant: "body1",
526
- children: Math.abs(p)
527
- }
528
- )
529
- ]
530
- }
531
- ) : /* @__PURE__ */ e(A, { sx: { color: "text.secondary" }, variant: "subtitle2", children: p })
532
- }
533
- ),
534
- u !== void 0 && /* @__PURE__ */ e(
535
- M,
536
- {
537
- sx: {
538
- position: "absolute",
539
- top: `${K * 2 * 0.83}px`,
540
- left: `${F - F / 2}px`,
541
- // shift left from center
542
- transform: "translate(-50%, -50%)",
543
- textAlign: "left"
544
- },
545
- children: /* @__PURE__ */ e(A, { variant: "body1", children: u })
546
- }
547
- ),
548
- h !== void 0 && /* @__PURE__ */ e(
549
- M,
550
- {
551
- sx: {
552
- position: "absolute",
553
- top: `${K * 2 * 0.83}px`,
554
- left: `${F + F / 2}px`,
555
- transform: "translate(-50%, -50%)",
556
- textAlign: "right"
557
- },
558
- children: /* @__PURE__ */ e(A, { variant: "body1", children: h })
559
- }
560
- )
561
- ]
562
- }
563
- );
564
- }, zt = w(
565
- ({
566
- arcRadius: t,
567
- size: n = "L",
568
- healthScore: o,
569
- footerCenterContent: r,
570
- margin: i
571
- }) => {
572
- const a = [
573
- { id: 1, label: "Group A", value: 25 },
574
- { id: 2, label: "Group B", value: 25 },
575
- { id: 3, label: "Group C", value: 25 },
576
- { id: 4, label: "Group D", value: 25 }
577
- ], { finstrong: l } = S(), c = nt(o, l);
578
- return /* @__PURE__ */ e(
579
- Nt,
580
- {
581
- arcRadius: t,
582
- dialScoreData: a,
583
- footerCenterContent: n === "L" ? l.footer_center_content_updated_just_now : r,
584
- healthScore: o,
585
- healthScoreStatus: c.status,
586
- isFinacialStrengthGraph: !0,
587
- margin: i,
588
- size: n
589
- }
590
- );
591
- }
592
- ), Ko = w(
593
- ({
594
- arcRadius: t,
595
- size: n = "L",
596
- healthScore: o,
597
- maxValue: r = 850,
598
- minValue: i = 300,
599
- footerCenterContent: a
600
- }) => {
601
- const c = W().palette.mode === "dark", d = [
602
- {
603
- id: 1,
604
- label: "Poor",
605
- value: 29,
606
- color: c ? Z.POOR : Q.POOR
607
- },
608
- {
609
- id: 2,
610
- label: "Fair",
611
- value: 25,
612
- color: c ? Z.FAIR : Q.FAIR
613
- },
614
- {
615
- id: 3,
616
- label: "Good",
617
- value: 17,
618
- color: c ? Z.GOOD : Q.GOOD
619
- },
620
- {
621
- id: 4,
622
- label: "Very Good",
623
- value: 17,
624
- color: c ? Z.VERY_GOOD : Q.VERY_GOOD
625
- },
626
- {
627
- id: 5,
628
- label: "Exceptional",
629
- value: 12,
630
- color: c ? Z.EXCEPTIONAL : Q.EXCEPTIONAL
631
- }
632
- ], { finstrong: p } = S(), { isCopyLoaded: u } = ne();
633
- if (!u) return /* @__PURE__ */ e(ee, {});
634
- const { status: h, color: f = "none" } = Ft(
635
- o,
636
- c,
637
- p.credit_score_status
638
- );
639
- return /* @__PURE__ */ e(
640
- Nt,
641
- {
642
- arcRadius: t,
643
- dialScoreData: d,
644
- footerCenterContent: a,
645
- footerLeftContent: i,
646
- footerRightContent: r,
647
- healthScore: o,
648
- healthScoreStatus: h,
649
- markerColor: f,
650
- maxValue: r,
651
- minValue: i,
652
- size: n
653
- }
654
- );
655
- }
656
- ), We = ({
657
- drawerType: t,
658
- isDashboard: n = !1,
659
- hasIcon: o = !0,
660
- buttonText: r,
661
- title: i,
662
- titleDrawer: a,
663
- description: l,
664
- sx: c
665
- }) => {
666
- const [d, p] = m.useState(!1), { connect: u, finstrong: h } = S(), { config: f } = qe();
667
- return t && f.show_connections_widget_in_master ? /* @__PURE__ */ s(
668
- Y,
669
- {
670
- sx: {
671
- pb: 24,
672
- pt: 18,
673
- px: 24,
674
- width: "100%",
675
- ...c
676
- },
677
- children: [
678
- /* @__PURE__ */ s(
679
- _,
680
- {
681
- sx: {
682
- gap: 8,
683
- ...n && { flexDirection: "row", alignItems: "center" }
684
- },
685
- children: [
686
- o && /* @__PURE__ */ e(ft, { sx: { height: 20, width: 20 } }),
687
- /* @__PURE__ */ e(j, { className: "connect-more-accounts-title", sx: { ...n && { fontSize: 15 } }, children: i || h.connect_more_accounts_title })
688
- ]
689
- }
690
- ),
691
- /* @__PURE__ */ e(
692
- A,
693
- {
694
- className: "connect-more-accounts-description",
695
- sx: { color: "text.secondary", mt: 8 },
696
- variant: "subtitle1",
697
- children: l || h.connect_more_accounts_description
698
- }
699
- ),
700
- /* @__PURE__ */ e(
701
- E,
702
- {
703
- endIcon: /* @__PURE__ */ e(J, {}),
704
- onClick: () => p(!0),
705
- size: "small",
706
- sx: { p: 0, mt: 8, "&:hover": { backgroundColor: "transparent" } },
707
- children: /* @__PURE__ */ e(D, { sx: { fontWeight: 600 }, variant: "body2", children: r || h.connect_more_accounts_button })
708
- }
709
- ),
710
- t === "connectDrawer" && /* @__PURE__ */ e(
711
- se,
712
- {
713
- onClose: () => p(!1),
714
- showConnectWidget: d,
715
- title: a || u.mini_title
716
- }
717
- ),
718
- t === "connectionsDrawer" && /* @__PURE__ */ e(
719
- vt,
720
- {
721
- onClose: () => p(!1),
722
- showConnectionsWidget: d,
723
- title: a || u.mini_title
724
- }
725
- )
726
- ]
727
- }
728
- ) : null;
729
- };
730
- var ye = /* @__PURE__ */ ((t) => (t.SpendLessThanYouMake = "spendLessThanYouMake", t.PayBillsOnTime = "payBillsOnTime", t.SaveEnoughToLiveOn = "saveEnoughToLiveOn", t.MaintainEmergencySavings = "maintainEmergencySavings", t.HaveManageableDebt = "haveManageableDebt", t.HaveAGoodCreditScore = "haveAGoodCreditScore", t))(ye || {});
731
- const Vo = "https://content.moneydesktop.com/storage/MD_Assets/serenity/loading_animation_final.gif", jo = ({ isOpen: t, onClose: n }) => {
732
- const { common: o, finstrong: r } = S(), { isMobile: i } = tt(), { updateUser: a, user: l } = oe(), [c, d] = m.useState(l.credit_score || 0), p = !isNaN(c), u = () => {
733
- n(), setTimeout(() => d(l.credit_score || 0), 300);
734
- }, h = () => {
735
- !c || c === l.credit_score || a({ ...l, credit_score: c });
736
- };
737
- return /* @__PURE__ */ e(
738
- Wn,
739
- {
740
- copy: { close_aria: o.close_aria, title: r.edit_credit_score },
741
- disablePrimaryButton: !c || !p,
742
- isOpen: t,
743
- maxWidth: "xs",
744
- onClose: u,
745
- onPrimaryAction: h,
746
- primaryColor: "primary",
747
- primaryText: o.save_button,
748
- sx: {
749
- "& .MuiDialog-paper": {
750
- minWidth: i ? "100%" : 400
751
- }
752
- },
753
- children: /* @__PURE__ */ e(
754
- "form",
755
- {
756
- onSubmit: (f) => {
757
- f.preventDefault(), h(), u();
758
- },
759
- children: /* @__PURE__ */ e(
760
- Pe,
761
- {
762
- error: !p,
763
- fullWidth: !0,
764
- inputMode: "numeric",
765
- onChange: (f) => d(Number(f.target.value)),
766
- slotProps: {
767
- htmlInput: {
768
- noValidate: !0,
769
- pattern: "[0-9]*"
770
- }
771
- },
772
- value: p ? c : ""
773
- }
774
- )
775
- }
776
- )
777
- }
778
- );
779
- }, Ht = w(jo), Yo = ({ chartFor: t }) => {
780
- const n = W(), o = n.palette.mode === "dark", { monthlySummaries: r } = L(), { user: i } = oe(), { finstrong: a } = S(), [l, { width: c }] = wt(), d = {
781
- savingsOverTime: {
782
- icon: "trending_up",
783
- title: a.key_indicators_save.zero_state_title,
784
- description: a.key_indicators_save.zero_state_description
785
- },
786
- debtOverTime: {
787
- icon: "multiline_chart",
788
- title: a.key_indicators_borrow.have_manageable_debt_drawer.have_manageable_debt_line_chart_empty_state_header,
789
- description: a.key_indicators_borrow.have_manageable_debt_drawer.have_manageable_debt_line_chart_empty_state_description
790
- },
791
- creditOverTime: {
792
- icon: "credit_card",
793
- title: a.credit_over_time_title,
794
- description: a.credit_over_time_zero_state_desc
795
- }
796
- }[t], u = {
797
- savingsOverTime: {
798
- title: a.key_indicators_save.savings_over_time,
799
- valueKey: "available_cash"
800
- },
801
- debtOverTime: {
802
- title: a.key_indicators_borrow.have_manageable_debt_drawer.debt_over_time,
803
- valueKey: "debt_balance"
804
- },
805
- creditOverTime: {
806
- title: a.credit_over_time_title,
807
- valueKey: "credit_score"
808
- }
809
- }[t], h = zo(r, u.valueKey), f = r.map((O) => O[u.valueKey]), v = Math.max(...f), x = Math.min(...f), C = () => v >= 1e6 ? { formatter: "0.000a", leftMargin: -7 } : v >= 1e3 ? { formatter: "0a", leftMargin: -27 } : { formatter: "0a", leftMargin: -32 }, { formatter: b, leftMargin: k } = C(), g = u.title, y = t === "creditOverTime";
810
- let I;
811
- if (y) {
812
- const { color: O } = Ft(
813
- i?.credit_score ?? 0,
814
- o,
815
- a.credit_score_status
816
- );
817
- I = O;
818
- }
819
- const G = h.some((O) => O.y !== 0);
820
- return /* @__PURE__ */ e(Y, { ref: l, sx: { backgroundColor: "background.paper" }, children: G ? /* @__PURE__ */ s(_, { gap: 8, sx: { pl: 18 }, children: [
821
- /* @__PURE__ */ e(A, { sx: { pb: 8, pt: 16 }, variant: "h3", children: g }),
822
- /* @__PURE__ */ e(
823
- Je,
824
- {
825
- areaColor: I,
826
- axisColor: n.palette.divider,
827
- baseline: "min",
828
- chartFor: t,
829
- colors: [n.palette.primary.main],
830
- curveType: y ? "linear" : "monotoneX",
831
- datasets: h ? [h] : [],
832
- height: 244,
833
- labelFontColor: y ? "text.primary" : "",
834
- labelFontSize: y ? 13 : void 0,
835
- labels: [a.key_indicators_label],
836
- margin: { left: k, top: y ? 25 : 15, right: 20 },
837
- markStyles: (O) => y ? {
838
- markLabelStyles: {
839
- marginLeft: 16,
840
- transform: O === h.length - 1 ? "translateX(-16px)" : "translateX(16px)",
841
- fontWeight: 600,
842
- fill: n.palette.text.primary
843
- },
844
- stroke: I
845
- } : {},
846
- maxRange: y ? 850 : void 0,
847
- minRange: (() => {
848
- if (y)
849
- return x < 300 ? 0 : 300;
850
- })(),
851
- showArea: !0,
852
- showAverage: !y,
853
- showMark: !y,
854
- showMarkLabel: y,
855
- showXAxis: !0,
856
- showYAxis: y,
857
- showYAxisTicks: y,
858
- useCustomMark: !0,
859
- valueFormatterString: y ? void 0 : b,
860
- width: c < 342 ? c - 48 : 342
861
- }
862
- )
863
- ] }) : /* @__PURE__ */ e(
864
- Be,
865
- {
866
- header: d.title,
867
- icon: d.icon,
868
- subText: d.description,
869
- sx: {
870
- backgroundColor: "background.paper",
871
- borderRadius: "8px",
872
- boxShadow: 1,
873
- p: 24,
874
- pb: 48,
875
- ".empty-state-subtext": {
876
- fontSize: 15,
877
- lineHeight: "24px",
878
- mt: 8
879
- }
880
- }
881
- }
882
- ) });
883
- }, ot = w(Yo), Xo = () => {
884
- const { healthScoreChangeReports: t } = L(), { finstrong: n } = S(), { user: o } = oe(), { availableWidth: r } = Pn(), { isSmallMobile: i } = tt(r), [a, l] = m.useState(!1), c = t.at(-1);
885
- return /* @__PURE__ */ s(M, { children: [
886
- /* @__PURE__ */ s(_, { sx: { gap: 28 }, children: [
887
- /* @__PURE__ */ e(
888
- Ko,
889
- {
890
- arcRadius: i ? 124 : 154,
891
- footerCenterContent: c ? c.newer_credit_score - c.older_credit_score : 0,
892
- healthScore: o.credit_score ?? 0,
893
- size: i ? "M" : "L"
894
- }
895
- ),
896
- /* @__PURE__ */ e(E, { onClick: () => l(!0), variant: "contained", children: n.credit_score_updated_score }),
897
- /* @__PURE__ */ e(ot, { chartFor: "creditOverTime" })
898
- ] }),
899
- /* @__PURE__ */ e(Ht, { isOpen: a, onClose: () => l(!1) })
900
- ] });
901
- }, Uo = w(Xo), $e = ({ status: t }) => {
902
- const { finstrong: n } = S(), o = Po(De[t]), r = {
903
- GOOD: n.key_indicators_good,
904
- FAIR: n.key_indicators_fair,
905
- OFF_TRACK: n.key_indicators_off_track,
906
- MISSING: n.key_indicators_missing
907
- }[t];
908
- return /* @__PURE__ */ e(
909
- $n,
910
- {
911
- label: /* @__PURE__ */ e(
912
- A,
913
- {
914
- fontWeight: 700,
915
- sx: { color: o.color, minHeight: 12 },
916
- uppercase: !0,
917
- variant: "tiny",
918
- children: r
919
- }
920
- ),
921
- size: "small",
922
- sx: {
923
- bgcolor: o.backgroundColor,
924
- height: 16
925
- },
926
- variant: "filled"
927
- }
928
- );
929
- }, qo = () => {
930
- const { finstrong: t } = S(), { user: n } = oe(), o = Gt(n.credit_score ?? null);
931
- return /* @__PURE__ */ s(_, { sx: { flexDirection: "row", justifyContent: "space-between" }, children: [
932
- /* @__PURE__ */ e(j, { children: t.credit_score_keep_strong_credit_score }),
933
- /* @__PURE__ */ e($e, { status: o })
934
- ] });
935
- }, Qo = w(qo), Zo = ({
936
- additionalContent: t,
937
- connectTitle: n,
938
- connectDescription: o,
939
- children: r,
940
- description: i,
941
- drawerTitle: a,
942
- isOpen: l,
943
- loadConnectAccountsCard: c = !0,
944
- onClose: d,
945
- stickyComponent: p,
946
- title: u,
947
- drawerType: h
948
- }) => {
949
- const { finstrong: f } = S(), { isCopyLoaded: v } = ne(), [x, C] = Rn(!1), b = Fn(null), k = st(() => {
950
- if (b.current) {
951
- const y = b.current.scrollTop > 0;
952
- C((I) => I !== y ? y : I);
953
- }
954
- }, []), g = st(
955
- (y) => {
956
- if (b.current && b.current.removeEventListener("scroll", k), y) {
957
- let I = y.parentElement;
958
- for (; I; ) {
959
- const { overflow: G, overflowY: O } = window.getComputedStyle(I);
960
- if (G === "auto" || O === "auto" || G === "scroll" || O === "scroll") {
961
- b.current = I, I.addEventListener("scroll", k, { passive: !0 });
962
- break;
963
- }
964
- I = I.parentElement;
965
- }
966
- }
967
- },
968
- [k]
969
- );
970
- return ct(() => {
971
- l || C(!1);
972
- }, [l]), ct(() => () => {
973
- b.current && b.current.removeEventListener("scroll", k);
974
- }, [k]), v ? /* @__PURE__ */ e(ie, { isOpen: l, onClose: d, title: a || f.key_indicators, children: /* @__PURE__ */ s(
975
- _,
976
- {
977
- ref: g,
978
- sx: { backgroundColor: "background.default", height: "100%" },
979
- children: [
980
- (u || i) && /* @__PURE__ */ s(
981
- _,
982
- {
983
- sx: {
984
- backgroundColor: "background.paper",
985
- gap: 8,
986
- p: 24,
987
- pb: p ? 0 : 24
988
- },
989
- children: [
990
- u && typeof u == "string" ? /* @__PURE__ */ e(j, { children: u }) : u,
991
- i && /* @__PURE__ */ e(A, { sx: { lineHeight: "24px" }, children: i })
992
- ]
993
- }
994
- ),
995
- p && /* @__PURE__ */ e(
996
- M,
997
- {
998
- sx: {
999
- position: "sticky",
1000
- top: 0,
1001
- zIndex: 1,
1002
- "& > *": {
1003
- borderBottom: x ? "1px solid" : "none",
1004
- borderColor: x ? "divider" : "transparent"
1005
- }
1006
- },
1007
- children: p
1008
- }
1009
- ),
1010
- t && /* @__PURE__ */ e(M, { children: t }),
1011
- /* @__PURE__ */ s(_, { sx: { bgcolor: "background.default", gap: 24, p: 24 }, children: [
1012
- r,
1013
- c && /* @__PURE__ */ e(
1014
- We,
1015
- {
1016
- description: o,
1017
- drawerType: h,
1018
- isDashboard: !0,
1019
- sx: { backgroundColor: "background.paper" },
1020
- title: n
1021
- }
1022
- )
1023
- ] })
1024
- ]
1025
- }
1026
- ) }) : /* @__PURE__ */ e(ee, {});
1027
- }, Kt = w(Zo), Jo = ({
1028
- onClick: t,
1029
- shouldShowBalance: n = !0,
1030
- loadAccounts: o
1031
- }) => {
1032
- const { config: r } = qe(), { accounts: i } = S(), { selectedAccounts: a } = ne(), l = m.useCallback(
1033
- (d) => {
1034
- t?.(d);
1035
- },
1036
- [t]
1037
- ), c = m.useMemo(
1038
- () => Array.from(new Set(a.map((d) => d.account_type))).filter(
1039
- (d) => o ? o.includes(d) : !0
1040
- ),
1041
- [a, o]
1042
- );
1043
- return a.length ? /* @__PURE__ */ e(m.Fragment, { children: c.map((d) => {
1044
- const { accountsForType: p, totalBalanceForType: u } = a.reduce(
1045
- (h, f) => (f.account_type === d && (h.accountsForType.push(f), h.totalBalanceForType += f.balance || 0), h),
1046
- { accountsForType: [], totalBalanceForType: 0 }
1047
- );
1048
- return /* @__PURE__ */ s(
1049
- Le,
1050
- {
1051
- subheader: /* @__PURE__ */ e(Nn, { sx: { pb: 4, position: "static", pt: 12, px: 24 }, children: /* @__PURE__ */ s(_, { sx: { flexDirection: "row", justifyContent: "space-between" }, children: [
1052
- /* @__PURE__ */ e(D, { bold: !0, variant: "caption", children: i.account_types[d] }),
1053
- n && /* @__PURE__ */ e(D, { bold: !0, variant: "caption", children: B(u, "0,0.00") })
1054
- ] }) }),
1055
- sx: { bgcolor: "background.paper" },
1056
- children: [
1057
- p.map((h, f) => {
1058
- const { firstValue: v } = Mt(
1059
- h,
1060
- i,
1061
- r.display_available_balance_in_accounts
1062
- ), x = kt(h, {
1063
- allowNickname: r?.show_account_nicknames_in_master
1064
- }), C = /* @__PURE__ */ s(H, { children: [
1065
- /* @__PURE__ */ e(Ye, { children: /* @__PURE__ */ e(yt, { alt: "MX", institutionGuid: h.institution_guid ?? "" }) }),
1066
- /* @__PURE__ */ e(
1067
- me,
1068
- {
1069
- primary: `${x}${h.account_number ? ` *${h.account_number}` : ""}`,
1070
- slotProps: { primary: { noWrap: !0, pr: 4, variant: "body1" } }
1071
- }
1072
- ),
1073
- n && /* @__PURE__ */ e(A, { bold: !0, variant: "body2", children: B(v ?? 0, "0,0.00") })
1074
- ] });
1075
- return /* @__PURE__ */ s(m.Fragment, { children: [
1076
- /* @__PURE__ */ e(_e, { sx: { px: t ? 0 : 24 }, children: t ? /* @__PURE__ */ e(St, { onClick: () => l(h), children: C }) : C }),
1077
- f !== p.length - 1 && /* @__PURE__ */ e(ae, { variant: "inset" })
1078
- ] }, h.guid);
1079
- }),
1080
- /* @__PURE__ */ e(ae, {})
1081
- ]
1082
- },
1083
- d
1084
- );
1085
- }) }) : null;
1086
- }, Vt = w(Jo), er = ({ loadAccounts: t, loadMoreLabel: n }) => {
1087
- const o = W(), { config: r } = qe(), { connect: i, finstrong: a } = S(), { accounts: l } = S(), { selectedAccounts: c } = ne(), [d, p] = m.useState(!1), [u, h] = m.useState(!1), f = m.useMemo(
1088
- () => c.filter(
1089
- (C) => t ? t.includes(C.account_type) : !0
1090
- ),
1091
- [c, t]
1092
- ), v = m.useMemo(() => f.slice(0, 3), [f]), x = (C) => {
1093
- const { firstValue: b } = Mt(
1094
- C,
1095
- l,
1096
- r.display_available_balance_in_accounts
1097
- );
1098
- return b;
1099
- };
1100
- return f.length >= 1 ? /* @__PURE__ */ s(H, { children: [
1101
- /* @__PURE__ */ e(M, { sx: { border: `1px solid ${o.palette.divider}`, borderRadius: 2 }, children: v.map((C, b) => /* @__PURE__ */ s(m.Fragment, { children: [
1102
- /* @__PURE__ */ s(_e, { sx: { px: 24 }, children: [
1103
- /* @__PURE__ */ e(Ye, { children: /* @__PURE__ */ e(yt, { alt: "MX", institutionGuid: C.institution_guid ?? "" }) }),
1104
- /* @__PURE__ */ e(
1105
- me,
1106
- {
1107
- primary: `${kt(C, {
1108
- allowNickname: r?.show_account_nicknames_in_master
1109
- })}
1110
- ${C.account_number ? ` *${C.account_number}` : ""}`,
1111
- slotProps: { primary: { noWrap: !0, pr: 4, variant: "body1" } }
1112
- }
1113
- ),
1114
- /* @__PURE__ */ e(A, { bold: !0, variant: "body2", children: B(x(C), "0,0.00") })
1115
- ] }),
1116
- b < v.length - 1 && /* @__PURE__ */ e(ae, { variant: "inset" })
1117
- ] }, C.guid)) }),
1118
- f.length > 3 && /* @__PURE__ */ s(H, { children: [
1119
- /* @__PURE__ */ e(M, { children: /* @__PURE__ */ e(
1120
- E,
1121
- {
1122
- endIcon: /* @__PURE__ */ e(J, {}),
1123
- onClick: () => p(!0),
1124
- size: "small",
1125
- sx: { my: 0, px: 16, py: 12, width: "100%" },
1126
- children: /* @__PURE__ */ s(D, { bold: !0, variant: "body1", children: [
1127
- f.length - 3,
1128
- " ",
1129
- n
1130
- ] })
1131
- }
1132
- ) }),
1133
- /* @__PURE__ */ e(ie, { isOpen: d, onClose: () => p(!1), title: a.accounts, children: /* @__PURE__ */ e(Vt, { loadAccounts: t }) })
1134
- ] })
1135
- ] }) : /* @__PURE__ */ s(H, { children: [
1136
- /* @__PURE__ */ e(M, { children: /* @__PURE__ */ e(
1137
- E,
1138
- {
1139
- onClick: () => h(!0),
1140
- size: "small",
1141
- sx: { my: 0, px: 16, py: 12, width: "100%" },
1142
- variant: "contained",
1143
- children: /* @__PURE__ */ e(D, { bold: !0, variant: "body1", children: a.connect_more_accounts_button })
1144
- }
1145
- ) }),
1146
- /* @__PURE__ */ e(
1147
- se,
1148
- {
1149
- onClose: () => h(!1),
1150
- showConnectWidget: u,
1151
- title: i.mini_title
1152
- }
1153
- )
1154
- ] });
1155
- }, jt = w(er), Me = ({ balance: t, title: n, sx: o }) => /* @__PURE__ */ s(
1156
- _,
1157
- {
1158
- sx: {
1159
- alignItems: "center",
1160
- backgroundColor: "background.default",
1161
- borderRadius: 2,
1162
- height: 72,
1163
- justifyContent: "center",
1164
- p: 12,
1165
- ...o
1166
- },
1167
- children: [
1168
- typeof t == "number" ? /* @__PURE__ */ e(A, { variant: "h2", children: B(t, "0,0.00") }) : t,
1169
- /* @__PURE__ */ e(A, { color: "text.secondary", fontWeight: "400", variant: "subtitle2", children: n })
1170
- ]
1171
- }
1172
- );
1173
- var R = /* @__PURE__ */ ((t) => (t[t.ConnectAccounts = 1] = "ConnectAccounts", t[t.MonthlyIncome = 2] = "MonthlyIncome", t[t.Birthday = 3] = "Birthday", t[t.CreditScore = 4] = "CreditScore", t))(R || {}), Ie = /* @__PURE__ */ ((t) => (t[t.Months = 1] = "Months", t[t.Years = 2] = "Years", t[t.Days = 3] = "Days", t))(Ie || {}), te = /* @__PURE__ */ ((t) => (t[t.Monthly = 1] = "Monthly", t[t.BiWeekly = 2] = "BiWeekly", t[t.Weekly = 3] = "Weekly", t[t.Daily = 4] = "Daily", t))(te || {});
1174
- const tr = ({ total: t }) => {
1175
- const { finstrong: n } = S(), o = [
1176
- { id: te.Monthly, label: n.maintain_emergency_savings_monthly },
1177
- { id: te.BiWeekly, label: n.maintain_emergency_savings_bi_weekly },
1178
- { id: te.Weekly, label: n.maintain_emergency_savings_weekly },
1179
- { id: te.Daily, label: n.maintain_emergency_savings_daily }
1180
- ], r = {
1181
- [te.Monthly]: n.maintain_emergency_savings_estimated_period_monthly,
1182
- [te.BiWeekly]: n.maintain_emergency_savings_estimated_period_bi_weekly,
1183
- [te.Weekly]: n.maintain_emergency_savings_estimated_period_weekly,
1184
- [te.Daily]: n.maintain_emergency_savings_estimated_period_daily
1185
- }, i = [
1186
- { id: Ie.Months, label: n.maintain_emergency_savings_months },
1187
- { id: Ie.Years, label: n.maintain_emergency_savings_years },
1188
- { id: Ie.Days, label: n.maintain_emergency_savings_days }
1189
- ], a = Math.ceil((t + 1) / 1e3) * 1e3, [l, c] = m.useState(0), [d, p] = m.useState(mt(t)), [u, h] = m.useState(
1190
- mt(t)
1191
- ), [f, v] = m.useState(a), [x, C] = m.useState(No(t)), [b, k] = m.useState(Ie.Months);
1192
- m.useEffect(() => {
1193
- c(
1194
- _t({
1195
- contribution: u,
1196
- goalAmount: f,
1197
- goalPeriod: x,
1198
- targetPeriod: b,
1199
- totalSaved: t
1200
- })
1201
- ), p(u);
1202
- }, []);
1203
- const g = (y) => {
1204
- y.preventDefault(), c(
1205
- _t({
1206
- contribution: u,
1207
- goalAmount: f,
1208
- goalPeriod: x,
1209
- targetPeriod: b,
1210
- totalSaved: t
1211
- })
1212
- ), p(u);
1213
- };
1214
- return /* @__PURE__ */ e(Y, { children: /* @__PURE__ */ e("form", { onSubmit: g, children: /* @__PURE__ */ s(_, { sx: { gap: 24, pb: 24, pt: 16, px: 16 }, children: [
1215
- /* @__PURE__ */ e(
1216
- Me,
1217
- {
1218
- balance: /* @__PURE__ */ s(_, { sx: { flexDirection: "row", height: 32 }, children: [
1219
- /* @__PURE__ */ e(D, { variant: "h2", children: B(l, "0,0") }),
1220
- /* @__PURE__ */ s(D, { sx: { alignSelf: "end", height: 24 }, variant: "subtitle2", children: [
1221
- "/",
1222
- r[d]
1223
- ] })
1224
- ] }),
1225
- title: n.maintain_emergency_savings_estimated_contribution
1226
- }
1227
- ),
1228
- /* @__PURE__ */ e(
1229
- Pe,
1230
- {
1231
- "aria-label": n.maintain_emergency_savings_savings_goal,
1232
- helperText: z(
1233
- n.maintain_emergency_savings_suggested_goal,
1234
- B(a, "0,0")
1235
- ),
1236
- label: n.maintain_emergency_savings_savings_goal,
1237
- onChange: (y) => {
1238
- y.target.value && v(Number(y.target.value.replace(/[^0-9]/g, "")));
1239
- },
1240
- slotProps: {
1241
- htmlInput: {
1242
- noValidate: !0,
1243
- pattern: "[0-9]*"
1244
- }
1245
- },
1246
- value: f ? B(f, "0,0") : ""
1247
- }
1248
- ),
1249
- /* @__PURE__ */ e(
1250
- dt,
1251
- {
1252
- label: n.maintain_emergency_savings_how_often_contribute,
1253
- onChange: h,
1254
- options: o,
1255
- required: !0,
1256
- value: u
1257
- }
1258
- ),
1259
- /* @__PURE__ */ s(_, { sx: { flexDirection: "row" }, children: [
1260
- /* @__PURE__ */ e(
1261
- Pe,
1262
- {
1263
- "aria-label": n.maintain_emergency_savings_meet_your_goal_within,
1264
- fullWidth: !0,
1265
- label: n.maintain_emergency_savings_meet_your_goal_within,
1266
- onChange: (y) => {
1267
- isNaN(Number(y.target.value)) || C(Number(y.target.value));
1268
- },
1269
- slotProps: {
1270
- htmlInput: {
1271
- noValidate: !0,
1272
- pattern: "[0-9]*"
1273
- }
1274
- },
1275
- sx: {
1276
- "& .MuiInputBase-root": {
1277
- borderBottomRightRadius: 0,
1278
- borderTopRightRadius: 0,
1279
- fieldset: {
1280
- borderRightWidth: 0.5
1281
- }
1282
- }
1283
- },
1284
- value: x
1285
- }
1286
- ),
1287
- /* @__PURE__ */ e(
1288
- M,
1289
- {
1290
- sx: {
1291
- "& .MuiInputBase-root": {
1292
- borderBottomLeftRadius: 0,
1293
- borderTopLeftRadius: 0,
1294
- fieldset: {
1295
- borderLeftWidth: 0.5
1296
- }
1297
- }
1298
- },
1299
- children: /* @__PURE__ */ e(dt, { label: "", onChange: k, options: i, value: b })
1300
- }
1301
- )
1302
- ] }),
1303
- /* @__PURE__ */ e(E, { fullWidth: !0, onClick: g, type: "submit", variant: "contained", children: n.maintain_emergency_savings_calculate })
1304
- ] }) }) });
1305
- }, nr = w(tr), or = () => {
1306
- const { savingsAccounts: t } = ke(), { finstrong: n } = S(), [o, r] = m.useState(!1), i = m.useMemo(
1307
- () => t.reduce((a, l) => a + (l.balance ?? 0), 0),
1308
- [t]
1309
- );
1310
- return /* @__PURE__ */ s(_, { sx: { gap: 24 }, children: [
1311
- /* @__PURE__ */ e(Y, { sx: { bgcolor: "background.paper", p: 16 }, children: /* @__PURE__ */ s(_, { sx: { gap: 16 }, children: [
1312
- /* @__PURE__ */ e(Me, { balance: i, title: n.maintain_emergency_savings_your_savings }),
1313
- t.length ? /* @__PURE__ */ e(
1314
- jt,
1315
- {
1316
- loadAccounts: [je.SAVINGS],
1317
- loadMoreLabel: n.connect_more_accounts_button
1318
- }
1319
- ) : /* @__PURE__ */ e(E, { onClick: () => r(!0), variant: "contained", children: n.connect_more_accounts_button })
1320
- ] }) }),
1321
- /* @__PURE__ */ e(nr, { total: i }),
1322
- /* @__PURE__ */ e(
1323
- se,
1324
- {
1325
- onClose: () => r(!1),
1326
- showConnectWidget: o,
1327
- title: n.connect_more_accounts_button
1328
- }
1329
- )
1330
- ] });
1331
- }, rr = w(or), Ne = w(
1332
- ({ label: t, value: n, status: o, bottomComponent: r, statusBarData: i = [] }) => {
1333
- const a = {
1334
- GOOD: {
1335
- progressBarColor: "primary.main"
1336
- },
1337
- FAIR: {
1338
- progressBarColor: "warning.main"
1339
- },
1340
- OFF_TRACK: {
1341
- progressBarColor: "error.main"
1342
- },
1343
- MISSING: {
1344
- progressBarColor: "text.secondary"
1345
- }
1346
- }[o], l = i.map((c, d) => i.length === 2 ? {
1347
- color: d === 0 ? "primary.main" : c.color || a?.progressBarColor,
1348
- percentage: c.percentage
1349
- } : {
1350
- color: c.color || a?.progressBarColor,
1351
- percentage: c.percentage
1352
- });
1353
- return /* @__PURE__ */ s(
1354
- _,
1355
- {
1356
- sx: {
1357
- backgroundColor: "background.paper",
1358
- gap: 8,
1359
- p: 24,
1360
- borderBottom: "1px solid",
1361
- borderColor: "divider"
1362
- },
1363
- children: [
1364
- /* @__PURE__ */ s(_, { sx: { gap: 2 }, children: [
1365
- /* @__PURE__ */ e(D, { variant: "body2", children: t }),
1366
- /* @__PURE__ */ s(
1367
- _,
1368
- {
1369
- sx: {
1370
- alignItems: "center",
1371
- flexDirection: "row",
1372
- gap: 12,
1373
- justifyContent: "space-between"
1374
- },
1375
- children: [
1376
- /* @__PURE__ */ e(Ge, { children: n }),
1377
- /* @__PURE__ */ e($e, { status: o })
1378
- ]
1379
- }
1380
- )
1381
- ] }),
1382
- /* @__PURE__ */ s(_, { children: [
1383
- /* @__PURE__ */ e(zn, { data: l, height: 16 }),
1384
- r
1385
- ] })
1386
- ]
1387
- }
1388
- );
1389
- }
1390
- ), ar = {
1391
- sticky_label: "You have saved"
1392
- }, ir = ["$0", "$250", "$500", "$750", "$1k"], sr = () => {
1393
- const { healthScore: t } = L(), n = Math.round(t.emergency_savings_on_hand ?? NaN) || null, o = $o(n), r = Pt(n);
1394
- return /* @__PURE__ */ e(
1395
- Ne,
1396
- {
1397
- bottomComponent: /* @__PURE__ */ e(_, { sx: { flexDirection: "row", justifyContent: "space-between" }, children: ir.map((i) => /* @__PURE__ */ s(_, { sx: { alignItems: "center", height: 24, width: 30 }, children: [
1398
- /* @__PURE__ */ e(
1399
- ae,
1400
- {
1401
- orientation: "vertical",
1402
- sx: {
1403
- borderWidth: 0.5,
1404
- height: 8,
1405
- mt: 2
1406
- }
1407
- }
1408
- ),
1409
- /* @__PURE__ */ e(D, { variant: "caption", children: i })
1410
- ] }, i)) }),
1411
- label: ar.sticky_label,
1412
- status: r,
1413
- statusBarData: [
1414
- {
1415
- percentage: o
1416
- }
1417
- ],
1418
- value: B(n ?? 0, "0,0.00")
1419
- }
1420
- );
1421
- }, cr = w(sr), ze = ({
1422
- transactions: t = [],
1423
- amountColor: n = "success.main",
1424
- amountPosition: o = "center",
1425
- formatDate: r = Dt,
1426
- secondaryIcon: i
1427
- }) => {
1428
- const a = W(), { connect: l, finstrong: c, categories: d } = S(), [p, u] = m.useState(!1), [h, f] = m.useState(!1), { getCategoryName: v } = Qe(), x = 3, C = t.length > x, b = t.length - x;
1429
- let k = t;
1430
- return C && (k = t.map((g) => ({
1431
- ...g,
1432
- category: d.default_categories[g.top_level_category_guid]?.replace(
1433
- /&amp;/g,
1434
- "&"
1435
- ) ?? v(g.top_level_category_guid)
1436
- })).sort((g, y) => y.date - g.date)), !t || t.length === 0 ? /* @__PURE__ */ s(H, { children: [
1437
- /* @__PURE__ */ e(M, { children: /* @__PURE__ */ e(
1438
- E,
1439
- {
1440
- onClick: () => f(!0),
1441
- size: "small",
1442
- sx: { my: 0, px: 16, py: 12, width: "100%" },
1443
- variant: "contained",
1444
- children: /* @__PURE__ */ e(D, { bold: !0, variant: "body1", children: c.connect_more_accounts_button })
1445
- }
1446
- ) }),
1447
- /* @__PURE__ */ e(
1448
- se,
1449
- {
1450
- onClose: () => f(!1),
1451
- showConnectWidget: h,
1452
- title: l.mini_title
1453
- }
1454
- )
1455
- ] }) : /* @__PURE__ */ s(_, { sx: { gap: 16 }, children: [
1456
- /* @__PURE__ */ e(M, { sx: { border: `1px solid ${a.palette.divider}`, borderRadius: 2 }, children: t.slice(0, x).sort((g, y) => y.date - g.date).map((g, y) => /* @__PURE__ */ s(
1457
- _,
1458
- {
1459
- sx: {
1460
- alignItems: "center",
1461
- flexDirection: "row",
1462
- gap: 16,
1463
- pl: 24,
1464
- pt: 14
1465
- },
1466
- children: [
1467
- /* @__PURE__ */ e(_, { sx: { pb: 14 }, children: /* @__PURE__ */ e(
1468
- un,
1469
- {
1470
- categoryGuid: g.top_level_category_guid || "",
1471
- merchantGuid: g.merchant_guid || "",
1472
- size: 32
1473
- }
1474
- ) }),
1475
- /* @__PURE__ */ s(
1476
- _,
1477
- {
1478
- sx: {
1479
- alignItems: o,
1480
- flexDirection: "row",
1481
- gap: 12,
1482
- justifyContent: "space-between",
1483
- ...y < Math.min(t.length, x) - 1 && {
1484
- borderBottom: `1px solid ${a.palette.divider}`
1485
- },
1486
- pb: 13,
1487
- pr: 24,
1488
- width: "100%"
1489
- },
1490
- children: [
1491
- /* @__PURE__ */ s(_, { children: [
1492
- /* @__PURE__ */ e(A, { bold: !0, variant: "body1", children: g.description }),
1493
- /* @__PURE__ */ s(_, { sx: { flexDirection: "row", alignItems: "center", gap: 4 }, children: [
1494
- !!i && i,
1495
- /* @__PURE__ */ e(D, { variant: "caption", children: r(g.date) })
1496
- ] })
1497
- ] }),
1498
- /* @__PURE__ */ e(A, { bold: !0, sx: { color: n, flexShrink: 0 }, variant: "body1", children: B(g.amount, "0,0.00") })
1499
- ]
1500
- },
1501
- g.guid || y
1502
- )
1503
- ]
1504
- },
1505
- y
1506
- )) }),
1507
- C && /* @__PURE__ */ s(H, { children: [
1508
- /* @__PURE__ */ e(M, { children: /* @__PURE__ */ e(
1509
- E,
1510
- {
1511
- endIcon: /* @__PURE__ */ e(J, {}),
1512
- onClick: () => u(!0),
1513
- size: "small",
1514
- sx: { my: 0, px: 16, py: 12, width: "100%" },
1515
- children: /* @__PURE__ */ s(D, { bold: !0, variant: "body1", children: [
1516
- b,
1517
- " ",
1518
- c.key_indicators_borrow.have_manageable_debt_drawer.have_manageable_debt_more_transactions
1519
- ] })
1520
- }
1521
- ) }),
1522
- /* @__PURE__ */ e(
1523
- ie,
1524
- {
1525
- isOpen: p,
1526
- onClose: () => u(!1),
1527
- title: c.key_indicators_borrow.have_manageable_debt_drawer.have_manageable_debt_transactions,
1528
- children: /* @__PURE__ */ e(Hn, { transaction: k })
1529
- }
1530
- )
1531
- ] })
1532
- ] });
1533
- }, lr = () => {
1534
- const [t, n] = m.useState(!0), {
1535
- finstrong: {
1536
- key_indicators_spend: { pay_bills_on_time_drawer: o }
1537
- }
1538
- } = S(), { getSpendingFeeTransactions: r, allTransactions: i } = L();
1539
- return m.useEffect(() => {
1540
- r().finally(() => n(!1));
1541
- }, []), t ? /* @__PURE__ */ e(ee, {}) : /* @__PURE__ */ e(H, { children: i.spendingFee.length === 0 ? /* @__PURE__ */ s(
1542
- Y,
1543
- {
1544
- sx: {
1545
- backgroundColor: "background.paper",
1546
- pb: 48,
1547
- pt: 32,
1548
- px: 24,
1549
- textAlign: "center",
1550
- width: "100%"
1551
- },
1552
- children: [
1553
- /* @__PURE__ */ e(fn, { filled: !0, size: 48, sx: { color: "success.main" } }),
1554
- /* @__PURE__ */ s(_, { sx: { alignItems: "center", gap: 4, pt: 24 }, children: [
1555
- /* @__PURE__ */ e(j, { children: o.pay_bills_on_time_zero_fees_title }),
1556
- /* @__PURE__ */ e(A, { variant: "subtitle1", children: o.pay_bills_on_time_zero_fees_description })
1557
- ] })
1558
- ]
1559
- }
1560
- ) : /* @__PURE__ */ s(
1561
- Y,
1562
- {
1563
- sx: {
1564
- p: 16,
1565
- width: "100%",
1566
- backgroundColor: "background.paper"
1567
- },
1568
- children: [
1569
- /* @__PURE__ */ e(j, { sx: { textAlign: "left", pb: 16 }, children: o.pay_bills_on_time_sticky_fee_count }),
1570
- /* @__PURE__ */ e(
1571
- ze,
1572
- {
1573
- amountColor: "text.primary",
1574
- amountPosition: "flex-start",
1575
- formatDate: (a) => Xe(new Date(a * 1e3), Ue.MONTH_DAY),
1576
- secondaryIcon: /* @__PURE__ */ e(bn, { color: "error", filled: !0, size: 12 }),
1577
- transactions: i.spendingFee
1578
- }
1579
- )
1580
- ]
1581
- }
1582
- ) });
1583
- }, dr = w(lr), pr = () => {
1584
- const { healthScore: t } = L(), { finstrong: n } = S(), { key_indicators_spend: o } = n, { pay_bills_on_time_drawer: r } = o, i = Wt(t.spending_fee_transaction_count);
1585
- return /* @__PURE__ */ s(
1586
- _,
1587
- {
1588
- sx: {
1589
- p: 24,
1590
- backgroundColor: "background.paper",
1591
- borderBottom: "1px solid",
1592
- borderColor: "divider"
1593
- },
1594
- children: [
1595
- /* @__PURE__ */ e(A, { variant: "body2", children: r.pay_bills_on_time_sticky_description }),
1596
- /* @__PURE__ */ s(_, { direction: "row", sx: { alignItems: "center", justifyContent: "space-between" }, children: [
1597
- /* @__PURE__ */ s(Ge, { children: [
1598
- t.spending_fee_transaction_count,
1599
- " ",
1600
- r.pay_bills_on_time_sticky_fee_count
1601
- ] }),
1602
- /* @__PURE__ */ e($e, { status: i })
1603
- ] })
1604
- ]
1605
- }
1606
- );
1607
- }, ur = w(pr), _r = () => {
1608
- const { savingsAndCheckingAccountsBalance: t } = ke(), { finstrong: n } = S();
1609
- return /* @__PURE__ */ s(_, { gap: 16, sx: { p: 16 }, children: [
1610
- /* @__PURE__ */ e(
1611
- Me,
1612
- {
1613
- balance: t,
1614
- title: n.key_indicators_save.drawer_available_balance
1615
- }
1616
- ),
1617
- /* @__PURE__ */ e(
1618
- jt,
1619
- {
1620
- loadAccounts: [je.SAVINGS, je.CHECKING],
1621
- loadMoreLabel: n.more_accounts
1622
- }
1623
- )
1624
- ] });
1625
- }, mr = w(_r), hr = () => {
1626
- const { finstrong: t } = S(), {
1627
- isSpendingInitialized: n,
1628
- healthScore: o,
1629
- allTransactions: r,
1630
- loadSpendTransactions: i,
1631
- loadDebtSpend: a
1632
- } = L();
1633
- m.useEffect(() => {
1634
- n || (i().finally(), a().finally());
1635
- }, [n]);
1636
- const l = m.useMemo(() => {
1637
- const c = r.spend.map((p) => p.transaction), d = r.debtSpend.map((p) => p.transaction);
1638
- return [...c, ...d];
1639
- }, [r.spend, r.debtSpend]);
1640
- return n ? /* @__PURE__ */ s(_, { gap: 16, sx: { p: 16 }, children: [
1641
- /* @__PURE__ */ e(
1642
- Me,
1643
- {
1644
- balance: o.ninety_day_spend / 90,
1645
- title: t.key_indicators_save.drawer_daily_spend
1646
- }
1647
- ),
1648
- /* @__PURE__ */ e(ze, { amountColor: "text.primary", transactions: l })
1649
- ] }) : /* @__PURE__ */ e(ee, {});
1650
- }, gr = w(hr), yr = () => {
1651
- const [t, n] = m.useState(0), { finstrong: o } = S();
1652
- return /* @__PURE__ */ s(H, { children: [
1653
- /* @__PURE__ */ s(Y, { children: [
1654
- /* @__PURE__ */ s(
1655
- et,
1656
- {
1657
- "aria-label": o.key_indicators_save.drawer_title,
1658
- centered: !0,
1659
- onChange: (r, i) => n(i),
1660
- selectionFollowsFocus: !0,
1661
- sx: { mb: 0 },
1662
- value: t,
1663
- variant: "fullWidth",
1664
- children: [
1665
- /* @__PURE__ */ e(
1666
- he,
1667
- {
1668
- "aria-controls": "available-details-tabpanel-0",
1669
- label: o.key_indicators_save.drawer_available,
1670
- sx: { minHeight: 44 }
1671
- }
1672
- ),
1673
- /* @__PURE__ */ e(
1674
- he,
1675
- {
1676
- "aria-controls": "spending-details-tabpanel-1",
1677
- label: o.key_indicators_save.drawer_spending,
1678
- sx: { minHeight: 44 }
1679
- }
1680
- )
1681
- ]
1682
- }
1683
- ),
1684
- /* @__PURE__ */ e(ge, { index: 0, name: "available-details", value: t, children: /* @__PURE__ */ e(mr, {}) }),
1685
- /* @__PURE__ */ e(ge, { index: 1, name: "spending-details", value: t, children: /* @__PURE__ */ e(gr, {}) })
1686
- ] }),
1687
- /* @__PURE__ */ e(ot, { chartFor: "savingsOverTime" })
1688
- ] });
1689
- }, fr = w(yr), br = () => {
1690
- const { finstrong: t } = S(), { healthScore: n } = L(), o = n.months_of_cash_on_hand, r = Lt(o ? o * 30 : null), i = 183 / 6, a = Math.floor(o), l = Math.round((o - a) * i), c = o / 6 * 100;
1691
- return /* @__PURE__ */ e(
1692
- Ne,
1693
- {
1694
- bottomComponent: /* @__PURE__ */ e(
1695
- _,
1696
- {
1697
- sx: {
1698
- flexDirection: "row",
1699
- height: 24,
1700
- justifyContent: "space-between",
1701
- mt: 2,
1702
- px: 1
1703
- },
1704
- children: ["0 Mo", "1 Mo", "2 Mo", "3 Mo", "4 Mo", "5 Mo", "6 Mo"].map((p) => /* @__PURE__ */ s(
1705
- _,
1706
- {
1707
- sx: {
1708
- alignItems: "center",
1709
- height: 24
1710
- },
1711
- children: [
1712
- /* @__PURE__ */ e(
1713
- ae,
1714
- {
1715
- orientation: "vertical",
1716
- sx: {
1717
- borderWidth: 1,
1718
- height: 8
1719
- }
1720
- }
1721
- ),
1722
- /* @__PURE__ */ e(D, { variant: "caption", children: p })
1723
- ]
1724
- },
1725
- p
1726
- ))
1727
- }
1728
- ),
1729
- label: t.key_indicators_save.drawer_progress_bar_label,
1730
- status: r,
1731
- statusBarData: [
1732
- {
1733
- percentage: `${c}%`
1734
- }
1735
- ],
1736
- value: z(t.key_indicators_save.drawer_progress_bar_value, a, l)
1737
- }
1738
- );
1739
- }, xr = w(br), Cr = () => {
1740
- const { healthScore: t } = L(), { finstrong: n } = S(), o = Ee(t.debt_to_income_ratio), r = Et(o);
1741
- return /* @__PURE__ */ e(
1742
- Ne,
1743
- {
1744
- bottomComponent: /* @__PURE__ */ s(
1745
- _,
1746
- {
1747
- sx: {
1748
- alignItems: "flex-end",
1749
- flexDirection: "row",
1750
- height: 24,
1751
- justifyContent: "space-between",
1752
- mt: 2,
1753
- position: "relative"
1754
- },
1755
- children: [
1756
- /* @__PURE__ */ e(
1757
- M,
1758
- {
1759
- sx: {
1760
- left: "30%",
1761
- position: "absolute",
1762
- transform: "translateX(-50%)"
1763
- },
1764
- children: /* @__PURE__ */ s(
1765
- _,
1766
- {
1767
- sx: {
1768
- alignItems: "center",
1769
- flexDirection: "column",
1770
- height: 24,
1771
- justifyContent: "flex-end"
1772
- },
1773
- children: [
1774
- /* @__PURE__ */ e(
1775
- ae,
1776
- {
1777
- orientation: "vertical",
1778
- sx: {
1779
- borderWidth: 1,
1780
- height: 8
1781
- }
1782
- }
1783
- ),
1784
- /* @__PURE__ */ e(D, { sx: { color: "text.primary" }, variant: "caption", children: "30%" })
1785
- ]
1786
- }
1787
- )
1788
- }
1789
- ),
1790
- /* @__PURE__ */ e(
1791
- M,
1792
- {
1793
- sx: {
1794
- display: "flex",
1795
- flexDirection: "column",
1796
- height: 24,
1797
- justifyContent: "center",
1798
- marginLeft: "auto"
1799
- },
1800
- children: /* @__PURE__ */ e(D, { variant: "body2", children: t.debt_to_income_ratio ? z(
1801
- n.key_indicators_borrow.have_manageable_debt_drawer.have_manageable_debt_sticky_description,
1802
- o
1803
- ) : "-" })
1804
- }
1805
- )
1806
- ]
1807
- }
1808
- ),
1809
- label: n.key_indicators_borrow.have_manageable_debt_drawer.have_manageable_debt_sticky_title,
1810
- status: r,
1811
- statusBarData: [
1812
- {
1813
- percentage: `${o}%`
1814
- }
1815
- ],
1816
- value: B(t.ninety_day_debt_spend, "0,0.00")
1817
- }
1818
- );
1819
- }, Sr = w(Cr), vr = () => {
1820
- const { healthScore: t, allTransactions: n } = L(), { connect: o, finstrong: r } = S(), [i, a] = m.useState(!1);
1821
- return /* @__PURE__ */ s(_, { gap: 16, sx: { p: 16 }, children: [
1822
- /* @__PURE__ */ e(
1823
- Me,
1824
- {
1825
- balance: t.ninety_day_income,
1826
- sx: { flexDirection: "column-reverse" },
1827
- title: r.key_indicators_borrow.have_manageable_debt_drawer.have_manageable_debt_income
1828
- }
1829
- ),
1830
- n.income.length ? (
1831
- // TODO: Need to add More Transactions functionality
1832
- /* @__PURE__ */ e(ze, { transactions: n.income.map((l) => l.transaction) })
1833
- ) : /* @__PURE__ */ e(
1834
- E,
1835
- {
1836
- onClick: () => {
1837
- a(!0);
1838
- },
1839
- variant: "contained",
1840
- children: r.connect_more_accounts_button
1841
- }
1842
- ),
1843
- /* @__PURE__ */ e(
1844
- se,
1845
- {
1846
- onClose: () => a(!1),
1847
- showConnectWidget: i,
1848
- title: o.mini_title
1849
- }
1850
- )
1851
- ] });
1852
- }, wr = w(vr), kr = () => {
1853
- const { allTransactions: t, healthScore: n } = L(), { connect: o, finstrong: r } = S(), [i, a] = m.useState(!1);
1854
- return /* @__PURE__ */ s(_, { gap: 16, sx: { p: 16 }, children: [
1855
- /* @__PURE__ */ e(
1856
- Me,
1857
- {
1858
- balance: n.ninety_day_debt_spend,
1859
- sx: { flexDirection: "column-reverse" },
1860
- title: r.key_indicators_borrow.have_manageable_debt_drawer.have_manageable_debt_payments
1861
- }
1862
- ),
1863
- t.debtSpend.length ? (
1864
- //TODO: Need to add More Transactions functionality
1865
- /* @__PURE__ */ e(
1866
- ze,
1867
- {
1868
- amountColor: "text.primary",
1869
- transactions: t.debtSpend.map((l) => l.transaction)
1870
- }
1871
- )
1872
- ) : /* @__PURE__ */ e(
1873
- E,
1874
- {
1875
- onClick: () => {
1876
- a(!0);
1877
- },
1878
- variant: "contained",
1879
- children: r.connect_more_accounts_button
1880
- }
1881
- ),
1882
- /* @__PURE__ */ e(
1883
- se,
1884
- {
1885
- onClose: () => a(!1),
1886
- showConnectWidget: i,
1887
- title: o.mini_title
1888
- }
1889
- )
1890
- ] });
1891
- }, Mr = w(kr), Dr = ({
1892
- color: t,
1893
- data: n,
1894
- series: o,
1895
- style: r,
1896
- ...i
1897
- }) => {
1898
- const a = W(), l = m.useRef(null), c = m.useRef(null), [d, p] = m.useState(r.width || 0);
1899
- m.useLayoutEffect(() => {
1900
- p(r.width || 0);
1901
- }, [r.width]), m.useLayoutEffect(() => {
1902
- const C = new ResizeObserver(() => {
1903
- window.requestAnimationFrame(() => {
1904
- if (l.current) {
1905
- const { width: b } = l.current.getBoundingClientRect(), k = b / 2, g = l.current.querySelector("text");
1906
- g && g.setAttribute("transform", `translate(${k}, -8)`);
1907
- }
1908
- });
1909
- });
1910
- return l.current && C.observe(l.current), () => {
1911
- l.current && C.unobserve(l.current);
1912
- };
1913
- }, []);
1914
- const { formattedComparison: u, formattedMain: h } = n[o.index], f = o.type === 0 ? h : u, v = {
1915
- ...r,
1916
- transition: "all 0.3s ease-in-out"
1917
- }, x = `translate(${d / 2}, -5)`;
1918
- return /* @__PURE__ */ s("g", { children: [
1919
- /* @__PURE__ */ e("rect", { ...i, fill: t, ref: l, rx: 2, style: v }),
1920
- /* @__PURE__ */ e(
1921
- "text",
1922
- {
1923
- fill: a.palette.text.secondary,
1924
- fontSize: 9,
1925
- fontWeight: 400,
1926
- ref: c,
1927
- style: { transition: "transform 0.3s ease-in-out" },
1928
- textAnchor: "middle",
1929
- transform: x,
1930
- x: r.x,
1931
- y: r.y,
1932
- children: f
1933
- }
1934
- )
1935
- ] });
1936
- }, Fe = (t, n = 1e3) => {
1937
- const o = Math.abs(t) >= n ? "0.[0]a" : "0";
1938
- return B(t, o);
1939
- }, Yt = ({
1940
- chartFor: t,
1941
- data: n,
1942
- title: o,
1943
- buttonLabel: r,
1944
- onClick: i,
1945
- legendLabelMain: a,
1946
- legendLabelComparison: l,
1947
- totalComparison: c,
1948
- totalMain: d
1949
- }) => {
1950
- const p = W(), u = Xn(p.breakpoints.down("xs")), h = m.useMemo(
1951
- () => n.sort((g, y) => g.year !== y.year ? g.year - y.year : g.month - y.month).map((g) => {
1952
- const y = Fo(g.month), I = {
1953
- spending_vs_income: {
1954
- main: g.standard_spend,
1955
- comparison: g.income,
1956
- formattedMain: Fe(g.standard_spend),
1957
- formattedComparison: Fe(g.income)
1958
- },
1959
- debt_payment_vs_income: {
1960
- main: g.income,
1961
- comparison: g.debt_spend,
1962
- formattedMain: Fe(g.income),
1963
- formattedComparison: Fe(g.debt_spend)
1964
- }
1965
- };
1966
- return {
1967
- label: y,
1968
- ...I[t]
1969
- };
1970
- }),
1971
- [n, t]
1972
- ), f = {
1973
- dataKey: "label",
1974
- scaleType: "band"
1975
- }, v = Math.max(...h.map((g) => Math.max(g.main, g.comparison))), C = Math.min(...h.map((g) => Math.min(g.main, g.comparison))) === 0 && v === 0 ? 100 : Math.ceil(v * 1.2 / 1e3) * 1e3, b = C / 3, k = {
1976
- scaleType: "linear",
1977
- min: 0,
1978
- max: C,
1979
- tickNumber: 4,
1980
- tickMinStep: b,
1981
- valueFormatter: (g) => g === 0 ? "$0" : B(g, "0.[0]a")
1982
- };
1983
- return /* @__PURE__ */ s(Y, { children: [
1984
- /* @__PURE__ */ s(
1985
- _,
1986
- {
1987
- sx: {
1988
- alignItems: "center",
1989
- flexDirection: "row",
1990
- gap: 12,
1991
- justifyContent: "space-between",
1992
- pb: 8,
1993
- pt: 16,
1994
- px: 16
1995
- },
1996
- children: [
1997
- /* @__PURE__ */ e(j, { children: o }),
1998
- r && /* @__PURE__ */ e(
1999
- E,
2000
- {
2001
- endIcon: /* @__PURE__ */ e(J, {}),
2002
- onClick: i,
2003
- size: "small",
2004
- sx: {
2005
- pl: 8,
2006
- height: 24
2007
- },
2008
- variant: "text",
2009
- children: r
2010
- }
2011
- )
2012
- ]
2013
- }
2014
- ),
2015
- /* @__PURE__ */ s(_, { sx: { pb: 24, pl: 16, pr: 24 }, children: [
2016
- /* @__PURE__ */ s(_, { sx: { alignItems: "center", flexDirection: "row", gap: 24, py: 4 }, children: [
2017
- /* @__PURE__ */ s(_, { sx: { gap: 8, alignItems: "center", flexDirection: "row" }, children: [
2018
- /* @__PURE__ */ e(
2019
- M,
2020
- {
2021
- sx: {
2022
- width: 10,
2023
- height: 10,
2024
- backgroundColor: "chartMono.chartMono3",
2025
- borderRadius: "2px"
2026
- }
2027
- }
2028
- ),
2029
- /* @__PURE__ */ s(_, { sx: { alignItems: "center", flexDirection: "row" }, children: [
2030
- /* @__PURE__ */ s(D, { variant: "subtitle2", children: [
2031
- a,
2032
- " "
2033
- ] }),
2034
- !u && d && /* @__PURE__ */ e(D, { sx: { fontWeight: 700 }, variant: "subtitle2", children: d })
2035
- ] })
2036
- ] }),
2037
- /* @__PURE__ */ s(_, { alignItems: "center", direction: "row", spacing: 8, children: [
2038
- /* @__PURE__ */ e(
2039
- M,
2040
- {
2041
- sx: {
2042
- width: 10,
2043
- height: 10,
2044
- backgroundColor: "chartMono.chartMono5",
2045
- borderRadius: "2px"
2046
- }
2047
- }
2048
- ),
2049
- /* @__PURE__ */ s(_, { sx: { alignItems: "center", flexDirection: "row" }, children: [
2050
- /* @__PURE__ */ s(D, { variant: "subtitle2", children: [
2051
- l,
2052
- " "
2053
- ] }),
2054
- !u && c && /* @__PURE__ */ e(D, { sx: { fontWeight: 700 }, variant: "subtitle2", children: c })
2055
- ] })
2056
- ] })
2057
- ] }),
2058
- /* @__PURE__ */ s(
2059
- qn,
2060
- {
2061
- colors: [
2062
- `${p.palette.chartMono.chartMono3}`,
2063
- `${p.palette.chartMono.chartMono5}`
2064
- ],
2065
- dataset: h,
2066
- height: 240,
2067
- margin: { top: 14, bottom: 10, right: 2, left: -2 },
2068
- series: [
2069
- { dataKey: "main", type: "bar" },
2070
- { dataKey: "comparison", type: "bar" }
2071
- ],
2072
- xAxis: [f],
2073
- yAxis: [k],
2074
- children: [
2075
- /* @__PURE__ */ e(
2076
- Un,
2077
- {
2078
- slots: {
2079
- bar: (g) => {
2080
- const { ownerState: y, ...I } = g;
2081
- return /* @__PURE__ */ e(
2082
- Dr,
2083
- {
2084
- ...I,
2085
- color: y.color,
2086
- data: h,
2087
- series: {
2088
- index: y.dataIndex,
2089
- type: Number(y.id.toString().split("-").pop())
2090
- },
2091
- style: {
2092
- x: g.x,
2093
- y: g.y,
2094
- width: g.width
2095
- }
2096
- }
2097
- );
2098
- }
2099
- }
2100
- }
2101
- ),
2102
- /* @__PURE__ */ e(
2103
- Qn,
2104
- {
2105
- sx: () => ({
2106
- ".MuiChartsAxis-line": {
2107
- stroke: p.palette.divider
2108
- },
2109
- ".MuiChartsAxis-tick": {
2110
- stroke: p.palette.divider
2111
- },
2112
- ".MuiChartsAxis-tickLabel": {
2113
- transform: "translateY(10px)"
2114
- }
2115
- }),
2116
- tickLabelStyle: {
2117
- fontSize: 11,
2118
- fill: "text.secondary"
2119
- }
2120
- }
2121
- ),
2122
- /* @__PURE__ */ e(
2123
- Zn,
2124
- {
2125
- sx: () => ({
2126
- ".MuiChartsAxis-line": {
2127
- stroke: p.palette.divider
2128
- },
2129
- ".MuiChartsAxis-tick": {
2130
- stroke: p.palette.divider
2131
- },
2132
- ".MuiChartsAxis-tickLabel": {
2133
- transform: "translateX(-8px)"
2134
- }
2135
- }),
2136
- tickLabelStyle: {
2137
- fontSize: 11,
2138
- fill: "text.secondary"
2139
- }
2140
- }
2141
- )
2142
- ]
2143
- }
2144
- )
2145
- ] })
2146
- ] });
2147
- }, Ir = () => {
2148
- const { isIncomeInitialized: t, loadDebtSpend: n, loadIncome: o, monthlySummaries: r } = L(), [i, a] = m.useState(0), { finstrong: l } = S();
2149
- if (m.useEffect(() => {
2150
- t || (n().finally(), o().finally());
2151
- }, [t]), !t) return /* @__PURE__ */ e(ee, {});
2152
- const c = r.some(
2153
- (d) => d.debt_spend !== 0 || d.income !== 0
2154
- );
2155
- return /* @__PURE__ */ s(H, { children: [
2156
- /* @__PURE__ */ s(Y, { children: [
2157
- /* @__PURE__ */ s(
2158
- et,
2159
- {
2160
- "aria-label": l.key_indicators_save.drawer_title,
2161
- centered: !0,
2162
- onChange: (d, p) => a(p),
2163
- selectionFollowsFocus: !0,
2164
- sx: { mb: 0 },
2165
- value: i,
2166
- variant: "fullWidth",
2167
- children: [
2168
- /* @__PURE__ */ e(
2169
- he,
2170
- {
2171
- "aria-controls": "income-details-tabpanel-0",
2172
- id: "income-details-tab-0",
2173
- label: l.key_indicators_borrow.have_manageable_debt_drawer.income,
2174
- sx: { minHeight: 44 }
2175
- }
2176
- ),
2177
- /* @__PURE__ */ e(
2178
- he,
2179
- {
2180
- "aria-controls": "debt-payment-details-tabpanel-1",
2181
- id: "debt-payment-details-tab-1",
2182
- label: l.key_indicators_borrow.have_manageable_debt_drawer.debt_payment,
2183
- sx: { minHeight: 44 }
2184
- }
2185
- )
2186
- ]
2187
- }
2188
- ),
2189
- /* @__PURE__ */ e(
2190
- ge,
2191
- {
2192
- "aria-labelledby": "income-details-tab-0",
2193
- index: 0,
2194
- name: "income-details",
2195
- value: i,
2196
- children: /* @__PURE__ */ e(wr, {})
2197
- }
2198
- ),
2199
- /* @__PURE__ */ e(
2200
- ge,
2201
- {
2202
- "aria-labelledby": "debt-payment-details-tab-1",
2203
- index: 1,
2204
- name: "debt-payment-details",
2205
- value: i,
2206
- children: /* @__PURE__ */ e(Mr, {})
2207
- }
2208
- )
2209
- ] }),
2210
- c ? /* @__PURE__ */ e(H, { children: /* @__PURE__ */ e(
2211
- Yt,
2212
- {
2213
- chartFor: "debt_payment_vs_income",
2214
- data: r,
2215
- legendLabelComparison: l.key_indicators_borrow.have_manageable_debt_drawer.debt_payment,
2216
- legendLabelMain: l.key_indicators_borrow.have_manageable_debt_drawer.income,
2217
- title: l.key_indicators_borrow.have_manageable_debt_drawer.debt_payment
2218
- }
2219
- ) }) : /* @__PURE__ */ e(
2220
- Be,
2221
- {
2222
- header: l.key_indicators_borrow.have_manageable_debt_drawer.have_manageable_debt_double_bar_chart_empty_state_header,
2223
- icon: "multiline_chart",
2224
- subText: l.key_indicators_borrow.have_manageable_debt_drawer.have_manageable_debt_double_bar_chart_empty_state_description,
2225
- sx: {
2226
- backgroundColor: "background.paper",
2227
- borderRadius: "8px",
2228
- boxShadow: 1,
2229
- p: 24,
2230
- pb: 48,
2231
- ".empty-state-subtext": {
2232
- fontSize: 15,
2233
- lineHeight: "24px",
2234
- mt: 8
2235
- }
2236
- }
2237
- }
2238
- ),
2239
- /* @__PURE__ */ e(ot, { chartFor: "debtOverTime" })
2240
- ] });
2241
- }, Ar = w(Ir), Tr = () => {
2242
- const { healthScore: t } = L(), { finstrong: n } = S(), o = Ee(t.spend_to_income_ratio), r = o ?? 0, i = Object.keys(t).length === 0, a = Bt(o), l = {
2243
- GOOD: [{ percentage: `${r}%` }],
2244
- FAIR: [{ percentage: "100%" }, { percentage: `${r - 100}%` }],
2245
- OFF_TRACK: [{ percentage: "100%" }, { percentage: `${r - 100}%` }],
2246
- MISSING: [{ percentage: "0%" }]
2247
- }[a];
2248
- return /* @__PURE__ */ e(
2249
- Ne,
2250
- {
2251
- bottomComponent: /* @__PURE__ */ s(
2252
- _,
2253
- {
2254
- sx: {
2255
- flexDirection: "row",
2256
- justifyContent: "space-between",
2257
- alignItems: "center",
2258
- mt: 8
2259
- },
2260
- children: [
2261
- /* @__PURE__ */ s(D, { variant: "body2", children: [
2262
- t.ninety_day_income <= 0 ? "-" : B(t.ninety_day_income, "0,0.00"),
2263
- " ",
2264
- n?.key_indicators_spend.spend_less_than_you_make_drawer.income
2265
- ] }),
2266
- /* @__PURE__ */ s(D, { variant: "body2", children: [
2267
- r <= 0 ? "-%" : `${r}%`,
2268
- " ",
2269
- n?.key_indicators_spend.spend_less_than_you_make_drawer.spent
2270
- ] })
2271
- ]
2272
- }
2273
- ),
2274
- label: n?.key_indicators_spend.spend_less_than_you_make_drawer.spend_less_than_you_make_sticky_description,
2275
- status: a,
2276
- statusBarData: l,
2277
- value: i ? "$0" : B(t.ninety_day_spend, "0,0.00")
2278
- }
2279
- );
2280
- }, Or = w(Tr), Rr = () => {
2281
- const { accounts: t } = ke(), { categories: n, dateRangeCategoryTotals: o, loadDateRangeCategoryTotals: r } = Qe(), { monthlySummaries: i, handleFinstrongWidgetPrimaryCtaClick: a } = L(), { appDataStore: l } = Bn(), { finstrong: c, goals: d, spending: p } = S(), u = W(), [h, f] = m.useState("");
2282
- m.useEffect(() => {
2283
- r(
2284
- t,
2285
- It(/* @__PURE__ */ new Date()),
2286
- At(/* @__PURE__ */ new Date())
2287
- ).finally();
2288
- }, [t]);
2289
- const v = m.useMemo(
2290
- () => Jn(n, d, u, o),
2291
- [n, o]
2292
- ), x = (k) => {
2293
- f(h === k ? "" : k);
2294
- }, { totalSpending: C, totalIncome: b } = m.useMemo(() => i?.reduce(
2295
- (k, { standard_spend: g = 0, income: y = 0 }) => ({
2296
- totalSpending: k.totalSpending + g,
2297
- totalIncome: k.totalIncome + y
2298
- }),
2299
- { totalSpending: 0, totalIncome: 0 }
2300
- ), [i]);
2301
- return /* @__PURE__ */ s(_, { sx: { gap: 24 }, children: [
2302
- b > 0 || C > 0 ? /* @__PURE__ */ e(
2303
- Yt,
2304
- {
2305
- ...l.appData.client_profile?.allow_trends_widget && {
2306
- buttonLabel: c.key_indicators_spend.spend_less_than_you_make_drawer.view_more
2307
- },
2308
- chartFor: "spending_vs_income",
2309
- data: i,
2310
- legendLabelComparison: c.key_indicators_spend.spend_less_than_you_make_drawer.income,
2311
- legendLabelMain: c.key_indicators_spend.spend_less_than_you_make_drawer.spending,
2312
- onClick: () => a("trends")(),
2313
- title: c.key_indicators_spend.spend_less_than_you_make_drawer.trends,
2314
- totalComparison: B(b, "0,0.00"),
2315
- totalMain: B(C, "0,0.00")
2316
- }
2317
- ) : /* @__PURE__ */ e(
2318
- Be,
2319
- {
2320
- header: c.key_indicators_spend.spend_less_than_you_make_drawer.trends_zero_state_title,
2321
- icon: "multiline_chart",
2322
- subText: c.key_indicators_spend.spend_less_than_you_make_drawer.trends_zero_state_description,
2323
- sx: {
2324
- backgroundColor: "background.paper",
2325
- borderRadius: "8px",
2326
- boxShadow: 1,
2327
- p: 24,
2328
- pb: 48,
2329
- ".empty-state-subtext": {
2330
- fontSize: 15,
2331
- lineHeight: "24px",
2332
- mt: 8
2333
- }
2334
- }
2335
- }
2336
- ),
2337
- v.donutData.length > 0 ? /* @__PURE__ */ s(
2338
- Y,
2339
- {
2340
- sx: {
2341
- px: 16,
2342
- py: 24
2343
- },
2344
- children: [
2345
- /* @__PURE__ */ s(
2346
- _,
2347
- {
2348
- sx: {
2349
- alignItems: "center",
2350
- flexDirection: "row",
2351
- gap: 12,
2352
- justifyContent: "space-between",
2353
- pb: 8,
2354
- pt: 16,
2355
- px: 16
2356
- },
2357
- children: [
2358
- /* @__PURE__ */ e(j, { children: c.key_indicators_spend.spend_less_than_you_make_drawer.spending }),
2359
- l.appData.client_profile?.allow_spending_widget && /* @__PURE__ */ e(
2360
- E,
2361
- {
2362
- endIcon: /* @__PURE__ */ e(J, {}),
2363
- onClick: () => a("spending")(),
2364
- size: "small",
2365
- sx: {
2366
- pl: 8,
2367
- height: 24
2368
- },
2369
- variant: "text",
2370
- children: c.key_indicators_spend.spend_less_than_you_make_drawer.view_more
2371
- }
2372
- )
2373
- ]
2374
- }
2375
- ),
2376
- /* @__PURE__ */ s(
2377
- _,
2378
- {
2379
- sx: { flexDirection: "row", gap: 12, justifyContent: "center", pb: 32, pt: 16, px: 24 },
2380
- children: [
2381
- /* @__PURE__ */ e(
2382
- eo,
2383
- {
2384
- data: v,
2385
- onSelected: x,
2386
- selectedId: h,
2387
- totalLabel: p.total_spending
2388
- }
2389
- ),
2390
- /* @__PURE__ */ e(
2391
- to,
2392
- {
2393
- data: v,
2394
- onSelected: x,
2395
- selectedId: h
2396
- }
2397
- )
2398
- ]
2399
- }
2400
- )
2401
- ]
2402
- }
2403
- ) : /* @__PURE__ */ e(
2404
- Be,
2405
- {
2406
- header: c.key_indicators_spend.spend_less_than_you_make_drawer.spending_zero_state_title,
2407
- icon: "donut_small",
2408
- subText: c.key_indicators_spend.spend_less_than_you_make_drawer.spending_zero_state_description,
2409
- sx: {
2410
- backgroundColor: "background.paper",
2411
- borderRadius: "8px",
2412
- boxShadow: 1,
2413
- p: 24,
2414
- pb: 48,
2415
- ".empty-state-subtext": {
2416
- fontSize: 15,
2417
- lineHeight: "24px",
2418
- mt: 8
2419
- }
2420
- }
2421
- }
2422
- )
2423
- ] });
2424
- }, Fr = w(Rr), Lr = ({
2425
- drawerFor: t,
2426
- isOpen: n,
2427
- onClose: o
2428
- }) => {
2429
- const { finstrong: r } = S(), a = {
2430
- spendLessThanYouMake: {
2431
- title: r.key_indicators_spend.spend_less_than_you_make_drawer.spend_less_than_you_make_title,
2432
- description: r.key_indicators_spend.spend_less_than_you_make_drawer.spend_less_than_you_make_description,
2433
- stickyComponent: /* @__PURE__ */ e(Or, {}),
2434
- content: /* @__PURE__ */ e(Fr, {}),
2435
- drawerType: "connectDrawer",
2436
- connectTitle: r.connect_your_accounts,
2437
- connectDescription: r.connect_more_accounts_to_unlock_a_fuller_understanding_of_your_finances
2438
- },
2439
- payBillsOnTime: {
2440
- title: r.key_indicators_spend.pay_bills_on_time_drawer.pay_bills_on_time_title,
2441
- description: r.key_indicators_spend.pay_bills_on_time_drawer.pay_bills_on_time_description,
2442
- stickyComponent: /* @__PURE__ */ e(ur, {}),
2443
- content: /* @__PURE__ */ e(dr, {}),
2444
- drawerType: "connectDrawer",
2445
- connectTitle: r.connect_your_accounts,
2446
- connectDescription: r.connect_more_accounts_to_unlock_a_fuller_understanding_of_your_finances
2447
- },
2448
- maintainEmergencySavings: {
2449
- content: /* @__PURE__ */ e(rr, {}),
2450
- description: r.maintain_emergency_savings_description,
2451
- stickyComponent: /* @__PURE__ */ e(cr, {}),
2452
- title: r.maintain_emergency_savings_title,
2453
- drawerType: "connectDrawer",
2454
- connectTitle: r.connect_your_accounts,
2455
- connectDescription: r.connect_more_accounts_to_unlock_a_fuller_understanding_of_your_finances
2456
- },
2457
- haveManageableDebt: {
2458
- title: r.key_indicators_borrow.have_manageable_debt_drawer.have_manageable_debt_title,
2459
- description: r.key_indicators_borrow.have_manageable_debt_drawer.have_manageable_debt_description,
2460
- stickyComponent: /* @__PURE__ */ e(Sr, {}),
2461
- content: /* @__PURE__ */ e(Ar, {}),
2462
- drawerType: "connectDrawer",
2463
- connectTitle: r.dont_see_all_your_accounts,
2464
- connectDescription: r.connect_more_accounts_to_view_more_accurate_financial_picture
2465
- },
2466
- haveAGoodCreditScore: {
2467
- title: /* @__PURE__ */ e(Qo, {}),
2468
- description: r.credit_score_description,
2469
- stickyComponent: null,
2470
- content: /* @__PURE__ */ e(Uo, {})
2471
- },
2472
- saveEnoughToLiveOn: {
2473
- title: r.key_indicators_save.drawer_title,
2474
- description: r.key_indicators_save.drawer_description,
2475
- stickyComponent: /* @__PURE__ */ e(xr, {}),
2476
- content: /* @__PURE__ */ e(fr, {}),
2477
- drawerType: "connectDrawer",
2478
- connectTitle: r.dont_see_all_your_accounts,
2479
- connectDescription: r.connect_more_accounts_to_view_more_accurate_financial_picture
2480
- }
2481
- }[t];
2482
- return /* @__PURE__ */ e(
2483
- Kt,
2484
- {
2485
- connectDescription: a?.connectDescription,
2486
- connectTitle: a?.connectTitle,
2487
- description: a?.description,
2488
- drawerTitle: r.key_indicators,
2489
- drawerType: a.drawerType,
2490
- isOpen: n,
2491
- loadConnectAccountsCard: !0,
2492
- onClose: o,
2493
- stickyComponent: a.stickyComponent,
2494
- title: a.title,
2495
- children: /* @__PURE__ */ e(_, { sx: { gap: 16 }, children: a.content })
2496
- }
2497
- );
2498
- }, Pr = w(Lr), we = ({
2499
- drawerFor: t,
2500
- title: n,
2501
- description: o,
2502
- cardState: r = "MISSING"
2503
- }) => {
2504
- const { finstrong: i } = S(), [a, l] = m.useState(!1), c = (d) => {
2505
- (d.key === "Enter" || d.key === " ") && (d.preventDefault(), l(!0));
2506
- };
2507
- return /* @__PURE__ */ s(H, { children: [
2508
- /* @__PURE__ */ s(
2509
- _,
2510
- {
2511
- "aria-label": `${i.key_indicators_open} ${n}`,
2512
- onClick: () => l(!0),
2513
- onKeyDown: c,
2514
- role: "button",
2515
- sx: {
2516
- alignItems: "center",
2517
- borderRadius: 2,
2518
- cursor: "pointer",
2519
- flexDirection: "row",
2520
- gap: 12,
2521
- justifyContent: "space-between",
2522
- outline: "1px solid",
2523
- outlineColor: "divider",
2524
- p: 16
2525
- },
2526
- tabIndex: 0,
2527
- children: [
2528
- /* @__PURE__ */ s(_, { sx: { gap: 8, minWidth: 0 }, children: [
2529
- /* @__PURE__ */ s(_, { sx: { alignItems: "center", flexDirection: "row", gap: 8 }, children: [
2530
- /* @__PURE__ */ e(D, { sx: { fontWeight: 600 }, variant: "body1", children: n }),
2531
- /* @__PURE__ */ e($e, { status: r })
2532
- ] }),
2533
- /* @__PURE__ */ e(A, { color: "secondary", variant: "subtitle2", children: o })
2534
- ] }),
2535
- /* @__PURE__ */ e(J, { color: "secondary", size: 24 })
2536
- ]
2537
- }
2538
- ),
2539
- /* @__PURE__ */ e(
2540
- Pr,
2541
- {
2542
- drawerFor: t,
2543
- isOpen: a,
2544
- onClose: () => l(!1)
2545
- }
2546
- )
2547
- ] });
2548
- }, Br = () => {
2549
- const { finstrong: t } = S(), { key_indicators_spend: n } = t, { healthScore: o } = L(), r = (l) => {
2550
- const c = Bt(l), d = {
2551
- GOOD: n.ratio_good_description,
2552
- FAIR: n.ratio_fair_description,
2553
- OFF_TRACK: n.ratio_off_track_description,
2554
- MISSING: n.ratio_missing_description
2555
- }, p = c === "MISSING" ? d[c] : z(d[c], l);
2556
- return {
2557
- cardState: c,
2558
- description: p,
2559
- title: n.ratio_card_title
2560
- };
2561
- }, { spendToIncomeRatio: i, spendFeeCount: a } = m.useMemo(() => {
2562
- const l = o.spend_to_income_ratio !== null ? Math.round(o.spend_to_income_ratio * 100) : null, c = r(l), d = Lo(
2563
- o.spending_fee_transaction_count,
2564
- n
2565
- );
2566
- return { spendToIncomeRatio: c, spendFeeCount: d };
2567
- }, [
2568
- o.spend_to_income_ratio,
2569
- o.spending_fee_transaction_count,
2570
- n,
2571
- t
2572
- ]);
2573
- return /* @__PURE__ */ s(_, { sx: { gap: 24, p: 8, pt: 24 }, children: [
2574
- /* @__PURE__ */ e(
2575
- we,
2576
- {
2577
- cardState: i.cardState,
2578
- description: i.description,
2579
- drawerFor: ye.SpendLessThanYouMake,
2580
- title: i.title
2581
- }
2582
- ),
2583
- /* @__PURE__ */ e(
2584
- we,
2585
- {
2586
- cardState: a.cardState,
2587
- description: a.description,
2588
- drawerFor: ye.PayBillsOnTime,
2589
- title: a.title
2590
- }
2591
- )
2592
- ] });
2593
- }, Er = w(Br), Gr = () => {
2594
- const { healthScore: t } = L(), { finstrong: n } = S(), { key_indicators_save: o } = n, r = (c) => {
2595
- const d = Lt(c), p = {
2596
- GOOD: o.days_of_cash_good_description,
2597
- FAIR: o.days_of_cash_fair_description,
2598
- OFF_TRACK: o.days_of_cash_off_track_description,
2599
- MISSING: o.days_of_cash_missing_description
2600
- }, u = d === "MISSING" ? p[d] : z(p[d], c);
2601
- return {
2602
- cardState: d,
2603
- description: u,
2604
- title: o.days_of_cash_title
2605
- };
2606
- }, i = (c) => {
2607
- const d = Pt(c), p = {
2608
- GOOD: o.emergency_savings_good_description,
2609
- FAIR: o.emergency_savings_fair_description,
2610
- OFF_TRACK: o.emergency_savings_off_track_description,
2611
- MISSING: o.emergency_savings_missing_description
2612
- };
2613
- let u;
2614
- return d === "FAIR" && c !== null ? u = z(
2615
- p[d],
2616
- B(c, "0,0.00")
2617
- ) : u = p[d], {
2618
- cardState: d,
2619
- description: u,
2620
- title: o.emergency_savings_title
2621
- };
2622
- }, { daysOfCashOnHand: a, emergencySavings: l } = m.useMemo(() => {
2623
- const c = t.months_of_cash_on_hand !== null ? Math.round(t.months_of_cash_on_hand * 30) : null, d = r(c), p = t.emergency_savings_on_hand !== null ? Math.round(t.emergency_savings_on_hand) : null, u = i(p);
2624
- return { daysOfCashOnHand: d, emergencySavings: u };
2625
- }, [
2626
- t.months_of_cash_on_hand,
2627
- t.emergency_savings_on_hand,
2628
- o,
2629
- n
2630
- ]);
2631
- return /* @__PURE__ */ s(_, { direction: "column", gap: 24, sx: { p: 8, pt: 24 }, children: [
2632
- /* @__PURE__ */ e(
2633
- we,
2634
- {
2635
- cardState: a.cardState,
2636
- description: a.description,
2637
- drawerFor: ye.SaveEnoughToLiveOn,
2638
- title: a.title
2639
- }
2640
- ),
2641
- /* @__PURE__ */ e(
2642
- we,
2643
- {
2644
- cardState: l.cardState,
2645
- description: l.description,
2646
- drawerFor: ye.MaintainEmergencySavings,
2647
- title: l.title
2648
- }
2649
- )
2650
- ] });
2651
- }, Wr = w(Gr), $r = () => {
2652
- const { healthScore: t } = L(), { finstrong: n } = S(), { key_indicators_borrow: o } = n, { user: r } = oe(), i = (d) => {
2653
- const p = Et(d), u = {
2654
- GOOD: o.manage_debit_good_description,
2655
- FAIR: o.manage_debit_fair_description,
2656
- OFF_TRACK: o.manage_debit_off_track_description,
2657
- MISSING: o.manage_debit_missing_description
2658
- }, h = p === "FAIR" || p === "OFF_TRACK" ? z(u[p], d) : u[p];
2659
- return {
2660
- cardState: p,
2661
- description: h,
2662
- title: o.manage_debit_title
2663
- };
2664
- }, a = (d) => {
2665
- const p = Gt(d), u = {
2666
- GOOD: o.credit_score_good_description,
2667
- FAIR: o.credit_score_fair_description,
2668
- OFF_TRACK: o.credit_score_off_track_description,
2669
- MISSING: o.credit_score_missing_description
2670
- }, h = p === "MISSING" ? u[p] : z(u[p], d);
2671
- return {
2672
- cardState: p,
2673
- description: h,
2674
- title: o.credit_score_title
2675
- };
2676
- }, { manageDebtStatus: l, creditScoreStatus: c } = m.useMemo(() => {
2677
- const d = t.debt_to_income_ratio !== null ? Math.round(t.debt_to_income_ratio * 100) : null, p = i(d), u = a(r.credit_score || null);
2678
- return {
2679
- manageDebtStatus: p,
2680
- creditScoreStatus: u
2681
- };
2682
- }, [t.debt_to_income_ratio, r.credit_score, o, n]);
2683
- return /* @__PURE__ */ s(_, { direction: "column", gap: 24, sx: { p: 8, pt: 24 }, children: [
2684
- /* @__PURE__ */ e(
2685
- we,
2686
- {
2687
- cardState: l.cardState,
2688
- description: l.description,
2689
- drawerFor: ye.HaveManageableDebt,
2690
- title: l.title
2691
- }
2692
- ),
2693
- /* @__PURE__ */ e(
2694
- we,
2695
- {
2696
- cardState: c.cardState,
2697
- description: c.description,
2698
- drawerFor: ye.HaveAGoodCreditScore,
2699
- title: c.title
2700
- }
2701
- )
2702
- ] });
2703
- }, Nr = w($r), zr = () => {
2704
- const [t, n] = m.useState(0), { finstrong: o } = S();
2705
- return /* @__PURE__ */ s(H, { children: [
2706
- /* @__PURE__ */ s(
2707
- et,
2708
- {
2709
- "aria-label": "Key Indicators",
2710
- centered: !0,
2711
- onChange: (r, i) => n(i),
2712
- selectionFollowsFocus: !0,
2713
- sx: {
2714
- mb: 0,
2715
- "& .MuiTab-root": {
2716
- minWidth: 0
2717
- }
2718
- },
2719
- textColor: "primary",
2720
- value: t,
2721
- variant: "fullWidth",
2722
- children: [
2723
- /* @__PURE__ */ e(
2724
- he,
2725
- {
2726
- "aria-controls": "spend-details-tabpanel-0",
2727
- icon: /* @__PURE__ */ e(bt, { sx: { mr: 8 } }),
2728
- iconPosition: "start",
2729
- id: "spend-details-tab-0",
2730
- label: o.key_indicators_spend.title,
2731
- sx: { minHeight: 44 }
2732
- }
2733
- ),
2734
- /* @__PURE__ */ e(
2735
- he,
2736
- {
2737
- "aria-controls": "save-details-tabpanel-1",
2738
- icon: /* @__PURE__ */ e(xn, { sx: { mr: 8 } }),
2739
- iconPosition: "start",
2740
- id: "save-details-tab-1",
2741
- label: o.key_indicators_save.title,
2742
- sx: { minHeight: 44 }
2743
- }
2744
- ),
2745
- /* @__PURE__ */ e(
2746
- he,
2747
- {
2748
- "aria-controls": "borrow-details-tabpanel-2",
2749
- icon: /* @__PURE__ */ e(Cn, { sx: { mr: 8 } }),
2750
- iconPosition: "start",
2751
- id: "borrow-details-tab-2",
2752
- label: o.key_indicators_borrow.title,
2753
- sx: { minHeight: 44 }
2754
- }
2755
- )
2756
- ]
2757
- }
2758
- ),
2759
- /* @__PURE__ */ e(ge, { index: 0, name: "spend-details", value: t, children: /* @__PURE__ */ e(Er, {}) }),
2760
- /* @__PURE__ */ e(ge, { index: 1, name: "save-details", value: t, children: /* @__PURE__ */ e(Wr, {}) }),
2761
- /* @__PURE__ */ e(ge, { index: 2, name: "borrow-details", value: t, children: /* @__PURE__ */ e(Nr, {}) })
2762
- ] });
2763
- }, Hr = w(zr), Kr = ({ onClick: t }) => {
2764
- const { finstrong: n } = S(), { isCopyLoaded: o } = ne();
2765
- return o ? /* @__PURE__ */ s(_, { sx: { alignItems: "center", gap: 12, pt: 12, pb: 32 }, children: [
2766
- /* @__PURE__ */ e(Sn, { size: 48 }),
2767
- /* @__PURE__ */ s(_, { sx: { alignItems: "center", gap: 4, textAlign: "center" }, children: [
2768
- /* @__PURE__ */ e(j, { children: n.missing_data_title }),
2769
- /* @__PURE__ */ e(A, { sx: { width: { sm: 348 } }, variant: "subtitle1", children: n.missing_data_description })
2770
- ] }),
2771
- /* @__PURE__ */ e(M, { children: /* @__PURE__ */ e(
2772
- E,
2773
- {
2774
- endIcon: /* @__PURE__ */ e(J, {}),
2775
- onClick: t,
2776
- size: "small",
2777
- sx: {
2778
- fontSize: 13,
2779
- ":hover": {
2780
- bgcolor: "transparent"
2781
- }
2782
- },
2783
- variant: "text",
2784
- children: n.connect_more_accounts_button
2785
- }
2786
- ) })
2787
- ] }) : /* @__PURE__ */ e(ee, {});
2788
- }, Vr = w(Kr), jr = ({
2789
- firstDay: t,
2790
- frequency: n,
2791
- secondDay: o,
2792
- incomeTransactions: r,
2793
- setCurrentStep: i,
2794
- setFirstDay: a,
2795
- setFrequency: l,
2796
- setSecondDay: c,
2797
- transaction: d
2798
- }) => {
2799
- const { finstrong: p } = S();
2800
- return /* @__PURE__ */ s(m.Fragment, { children: [
2801
- /* @__PURE__ */ s(_, { children: [
2802
- !!r.length && /* @__PURE__ */ e(M, { sx: { pb: 24 }, children: r.reduce((u, h, f) => {
2803
- if (h.guid === d.guid) return u;
2804
- const v = Kn(f, r), x = Vn(f, r);
2805
- return u.push(
2806
- /* @__PURE__ */ s(m.Fragment, { children: [
2807
- v && /* @__PURE__ */ e(jn, { children: Dt(h.date) }),
2808
- /* @__PURE__ */ e(Yn, { component: "div", transaction: h }),
2809
- /* @__PURE__ */ e(ae, { sx: { ml: x ? 44 : 0 } })
2810
- ] }, h.guid)
2811
- ), u;
2812
- }, []) }),
2813
- /* @__PURE__ */ e(
2814
- ao,
2815
- {
2816
- firstDay: t,
2817
- frequency: n,
2818
- onFirstDayChange: a,
2819
- onFrequencyChange: l,
2820
- onSecondDayChange: c,
2821
- secondDay: o,
2822
- transaction: d
2823
- }
2824
- )
2825
- ] }),
2826
- /* @__PURE__ */ e(M, { sx: { px: 24 }, children: /* @__PURE__ */ e(
2827
- E,
2828
- {
2829
- fullWidth: !0,
2830
- onClick: () => i({ step: R.MonthlyIncome, type: "main" }),
2831
- startIcon: /* @__PURE__ */ e(xt, {}),
2832
- children: p.onboarding_add_more_income
2833
- }
2834
- ) })
2835
- ] });
2836
- }, Yr = w(jr), Xr = ({ selectedDate: t, setSelectedDate: n }) => {
2837
- const { finstrong: o } = S(), r = W(), i = (a) => {
2838
- n(Math.floor(new Date(a).getTime() / 1e3));
2839
- };
2840
- return /* @__PURE__ */ e(M, { sx: { p: 24 }, children: /* @__PURE__ */ e(lo, { dateAdapter: Rt, children: /* @__PURE__ */ e(
2841
- po,
2842
- {
2843
- disableFuture: !0,
2844
- label: o.onboarding_select_date,
2845
- onChange: i,
2846
- slotProps: {
2847
- nextIconButton: {
2848
- sx: {
2849
- color: "primary.main",
2850
- "&:hover": { bgcolor: ue(r.palette.primary.light, 0.1) }
2851
- }
2852
- },
2853
- previousIconButton: {
2854
- sx: {
2855
- color: "primary.main",
2856
- "&:hover": { bgcolor: ue(r.palette.primary.light, 0.1) }
2857
- }
2858
- }
2859
- },
2860
- sx: {
2861
- width: "100%",
2862
- "& .MuiIconButton-edgeEnd": {
2863
- color: "primary.main",
2864
- "&:hover": { bgcolor: ue(r.palette.primary.light, 0.1) }
2865
- }
2866
- },
2867
- value: t ? new Date(t * 1e3) : null
2868
- }
2869
- ) }) });
2870
- }, Ur = w(Xr), qr = ({ creditScore: t, setCreditScore: n }) => {
2871
- const { finstrong: o } = S(), r = !isNaN(t);
2872
- return /* @__PURE__ */ e(M, { sx: { p: 24 }, children: /* @__PURE__ */ e(
2873
- Pe,
2874
- {
2875
- error: !r,
2876
- fullWidth: !0,
2877
- inputMode: "numeric",
2878
- label: o.credit_score,
2879
- onChange: (i) => n(Number(i.target.value)),
2880
- slotProps: {
2881
- htmlInput: {
2882
- noValidate: !0,
2883
- pattern: "[0-9]*"
2884
- }
2885
- },
2886
- value: r ? t : ""
2887
- }
2888
- ) });
2889
- }, Qr = w(qr), Xt = ({ value: t, completeCopy: n }) => /* @__PURE__ */ s(_, { sx: { gap: 8 }, children: [
2890
- /* @__PURE__ */ e(_, { sx: { flexDirection: "row", gap: 4 }, children: Array.from({ length: 4 }).map((o, r) => /* @__PURE__ */ e(
2891
- M,
2892
- {
2893
- sx: {
2894
- bgcolor: r < t ? "primary.main" : "neutral.light",
2895
- borderRadius: "24px",
2896
- height: 4,
2897
- width: "100%"
2898
- }
2899
- },
2900
- r
2901
- )) }),
2902
- /* @__PURE__ */ s(D, { sx: { color: "text.secondary" }, variant: "body2", children: [
2903
- t / 4 * 100,
2904
- "% ",
2905
- n
2906
- ] })
2907
- ] }), Zr = ({
2908
- completeCopy: t,
2909
- primaryText: n,
2910
- secondaryText: o,
2911
- value: r
2912
- }) => /* @__PURE__ */ s(_, { sx: { gap: 20, p: 24 }, children: [
2913
- /* @__PURE__ */ s(_, { sx: { gap: 8 }, children: [
2914
- /* @__PURE__ */ e(j, { children: n }),
2915
- /* @__PURE__ */ e(A, { variant: "subtitle1", children: o })
2916
- ] }),
2917
- /* @__PURE__ */ e(Xt, { completeCopy: t, value: r })
2918
- ] }), ht = {
2919
- step: R.ConnectAccounts,
2920
- type: "main"
2921
- }, Jr = ({ isOpen: t, onClose: n }) => {
2922
- const { visibleAccounts: o } = ke(), { calculateHealthScore: r } = L(), { finstrong: i } = S(), { addRepeatingTransaction: a, setDateRange: l } = Ze(), { filter: c, setFilter: d, transactions: p } = En(), { user: u, userProfile: h, updateUser: f, updateUserProfile: v } = oe(), [x, C] = m.useState(u.credit_score || 0), [b, k] = m.useState(
2923
- ht
2924
- ), [g, y] = m.useState(1), [I, G] = m.useState(Tt.EveryMonth), [O, $] = m.useState([]), [F, K] = m.useState(!1), [fe, be] = m.useState(!1), [X, re] = m.useState(u.birthday), [ce, U] = m.useState(15), [V, le] = m.useState("");
2925
- m.useEffect(() => {
2926
- l({ start: It(Ve()), end: At(Ve()) });
2927
- }, []), m.useEffect(() => {
2928
- d({
2929
- accounts: o.map((T) => T.guid),
2930
- dateRange: {
2931
- start: ro(/* @__PURE__ */ new Date(), 90),
2932
- end: /* @__PURE__ */ new Date()
2933
- },
2934
- custom: pt
2935
- });
2936
- }, [o]);
2937
- const de = m.useMemo(
2938
- () => p.find((T) => T.guid === V),
2939
- [V, p]
2940
- ), xe = m.useMemo(() => ({
2941
- [R.ConnectAccounts]: !0,
2942
- [R.MonthlyIncome]: !!V,
2943
- [R.Birthday]: !!u.birthday || !!X,
2944
- [R.CreditScore]: !!u.credit_score || !!x
2945
- })[b.step], [x, b, X, V, u]), N = o.length > 0, Ce = m.useMemo(() => {
2946
- const { step: T } = b;
2947
- let P = 0;
2948
- return T >= R.MonthlyIncome && N && P++, T >= R.Birthday && O.length && P++, T >= R.CreditScore && (u.birthday || u.credit_score) && P++, P;
2949
- }, [b.step, N, O.length, u.birthday, u.credit_score]), He = (T) => {
2950
- d({
2951
- ...c,
2952
- custom: (P) => T ? so(P, T) : pt(P)
2953
- });
2954
- }, Ke = {
2955
- [R.ConnectAccounts]: {
2956
- main: N ? /* @__PURE__ */ e(Vt, { shouldShowBalance: !1 }) : null,
2957
- mainActionContent: N ? i.onboarding_next : i.onboarding_add_accounts,
2958
- primaryText: i.connect_your_accounts,
2959
- secondaryText: i.onboarding_connect_your_accounts_secondary
2960
- },
2961
- [R.MonthlyIncome]: {
2962
- detail: /* @__PURE__ */ e(
2963
- Yr,
2964
- {
2965
- firstDay: g,
2966
- frequency: I,
2967
- incomeTransactions: O,
2968
- secondDay: ce,
2969
- setCurrentStep: (T) => {
2970
- k(T), $((P) => {
2971
- if (P.some((pe) => pe.guid === V)) return P.filter((pe) => pe.guid !== V);
2972
- const Re = p.find((pe) => pe.guid === V);
2973
- return Re ? [...P, { ...Re, firstDay: g, frequency: I, secondDay: ce }] : P;
2974
- });
2975
- },
2976
- setFirstDay: y,
2977
- setFrequency: G,
2978
- setSecondDay: U,
2979
- transaction: de
2980
- }
2981
- ),
2982
- detailActionContent: i.onboarding_confirm_income,
2983
- main: /* @__PURE__ */ e(
2984
- io,
2985
- {
2986
- onSearch: He,
2987
- onSelected: (T) => {
2988
- k({ step: R.MonthlyIncome, type: "detail" }), le(T);
2989
- }
2990
- }
2991
- ),
2992
- mainActionContent: i.onboarding_confirm_income,
2993
- primaryText: i.onboarding_add_income_primary,
2994
- secondaryText: i.onboarding_add_income_secondary
2995
- },
2996
- [R.Birthday]: {
2997
- main: /* @__PURE__ */ e(Ur, { selectedDate: X, setSelectedDate: re }),
2998
- mainActionContent: i.onboarding_next,
2999
- primaryText: i.onboarding_birthday_primary,
3000
- secondaryText: i.onboarding_birthday_secondary
3001
- },
3002
- [R.CreditScore]: {
3003
- main: /* @__PURE__ */ e(Qr, { creditScore: x, setCreditScore: C }),
3004
- mainActionContent: i.onboarding_next,
3005
- primaryText: i.onboarding_credit_score_primary,
3006
- secondaryText: i.onboarding_credit_score_secondary
3007
- }
3008
- }, Te = () => {
3009
- k(ht), K(!1), le(""), n();
3010
- }, rt = async () => {
3011
- K(!0), await Zt(O), await r(), await v({ ...h, has_completed_finstrong_onboarding: !0 }), Te();
3012
- }, Ut = () => {
3013
- if (b.step === R.CreditScore) {
3014
- rt();
3015
- return;
3016
- }
3017
- k({ step: b.step + 1, type: "main" });
3018
- }, qt = () => {
3019
- const { step: T } = b, P = T + 1;
3020
- switch (T) {
3021
- case R.Birthday:
3022
- X && X !== u.birthday && f({ ...u, birthday: X });
3023
- break;
3024
- case R.CreditScore:
3025
- x && x !== u.credit_score && f({ ...u, credit_score: x }), rt();
3026
- return;
3027
- case R.MonthlyIncome:
3028
- V && O.findIndex(({ guid: ve }) => ve === V) === -1 && $((ve) => [
3029
- ...ve,
3030
- { ...de, firstDay: g, frequency: I, secondDay: ce }
3031
- ]);
3032
- break;
3033
- case R.ConnectAccounts:
3034
- if (!N) {
3035
- be(!0);
3036
- return;
3037
- }
3038
- break;
3039
- }
3040
- P in R && k({ step: P, type: "main" });
3041
- }, Qt = () => {
3042
- const { step: T, type: P } = b;
3043
- if (P === "detail") {
3044
- k({ step: T, type: "main" });
3045
- return;
3046
- }
3047
- if (T === R.Birthday && O.length) {
3048
- k({ step: T - 1, type: "detail" });
3049
- return;
3050
- }
3051
- T > R.ConnectAccounts && k({ step: T - 1, type: "main" });
3052
- }, Zt = async (T) => {
3053
- for (const P of T) {
3054
- const {
3055
- account_guid: ve,
3056
- amount: Re,
3057
- date: pe,
3058
- description: tn,
3059
- feed_description: nn,
3060
- firstDay: on,
3061
- frequency: at,
3062
- secondDay: rn,
3063
- merchant_guid: an,
3064
- payee: sn,
3065
- transaction_type: cn
3066
- } = P, ln = co(at, oo(pe)), dn = {
3067
- account_guid: ve,
3068
- amount: Re,
3069
- created_by: 0,
3070
- description: sn || tn || nn,
3071
- merchant_guid: an,
3072
- predicted_occurs_on: no(ln, { representation: "date" }),
3073
- recurrence_day: on,
3074
- recurrence_type: at,
3075
- repeating_transaction_type: Ot.Income,
3076
- second_recurrence_day: rn,
3077
- transaction_type: cn,
3078
- user_guid: u.guid
3079
- };
3080
- await a(dn, P);
3081
- }
3082
- }, Se = Ke[b.step], Oe = b.step === R.ConnectAccounts, Jt = {
3083
- fullWidth: !0,
3084
- ...Oe && !N && { startIcon: /* @__PURE__ */ e(xt, {}) }
3085
- }, en = !Oe || Oe && !N;
3086
- return /* @__PURE__ */ s(m.Fragment, { children: [
3087
- /* @__PURE__ */ e(
3088
- ie,
3089
- {
3090
- footerStyles: { borderTop: 1, borderColor: "divider", px: 24, py: 16 },
3091
- hasSecondaryAction: !Oe,
3092
- isOpen: t,
3093
- isPrimaryDisabled: !xe,
3094
- onClose: Te,
3095
- onSecondaryAction: Qt,
3096
- primaryButtonProps: Jt,
3097
- primaryText: Se?.mainActionContent,
3098
- secondaryColor: "primary",
3099
- secondaryText: i.onboarding_back,
3100
- title: i.title,
3101
- ...!F && { onPrimaryAction: qt },
3102
- children: /* @__PURE__ */ s(_, { sx: { bgcolor: "background.default", height: "100%" }, children: [
3103
- F && /* @__PURE__ */ s(_, { sx: { alignItems: "center", gap: 24, position: "relative", px: 16, top: 126 }, children: [
3104
- /* @__PURE__ */ e("img", { alt: "", src: Vo, style: { minHeight: 100, width: 211 } }),
3105
- /* @__PURE__ */ e(Ge, { children: i.onboarding_calculate_primary }),
3106
- /* @__PURE__ */ e(A, { sx: { textAlign: "center" }, variant: "subtitle1", children: i.onboarding_calculate_secondary })
3107
- ] }),
3108
- Se && !F && /* @__PURE__ */ s(m.Fragment, { children: [
3109
- /* @__PURE__ */ e(
3110
- Zr,
3111
- {
3112
- completeCopy: i.complete,
3113
- primaryText: Se.primaryText,
3114
- secondaryText: Se.secondaryText,
3115
- value: Ce
3116
- }
3117
- ),
3118
- b.type === "main" && /* @__PURE__ */ s(M, { sx: { bgcolor: "background.default" }, children: [
3119
- Se.main,
3120
- en && /* @__PURE__ */ e(_, { sx: { alignItems: "center", px: 24, py: 12 }, children: /* @__PURE__ */ e(E, { fullWidth: !0, onClick: Ut, children: i.onboarding_do_it_later }) })
3121
- ] }),
3122
- b.type === "detail" && Se.detail
3123
- ] })
3124
- ] })
3125
- }
3126
- ),
3127
- /* @__PURE__ */ e(
3128
- se,
3129
- {
3130
- onClose: () => be(!1),
3131
- showConnectWidget: fe,
3132
- title: i.connect_more_accounts_button
3133
- }
3134
- )
3135
- ] });
3136
- }, ea = w(Jr), ta = () => {
3137
- const { finstrong: t } = S(), [n, o] = m.useState(!1);
3138
- return /* @__PURE__ */ s(m.Fragment, { children: [
3139
- /* @__PURE__ */ s(
3140
- _,
3141
- {
3142
- sx: {
3143
- alignItems: "center",
3144
- bgcolor: "background.default",
3145
- gap: 48,
3146
- height: "calc(100dvh - 116px)",
3147
- pb: 24,
3148
- pt: 72,
3149
- px: 16
3150
- },
3151
- children: [
3152
- /* @__PURE__ */ s(_, { sx: { alignItems: { sm: "center" }, gap: 24, width: "100%" }, children: [
3153
- /* @__PURE__ */ e(M, { sx: { textAlign: "center" }, children: /* @__PURE__ */ e(vn, { size: 72 }) }),
3154
- /* @__PURE__ */ s(_, { sx: { gap: 4, textAlign: "center", width: { sm: 400 } }, children: [
3155
- /* @__PURE__ */ e(Ge, { children: t.onboarding_title }),
3156
- /* @__PURE__ */ e(A, { sx: { color: "text.secondary" }, variant: "subtitle1", children: t.onboarding_subtitle })
3157
- ] })
3158
- ] }),
3159
- /* @__PURE__ */ e(E, { onClick: () => o(!0), variant: "contained", children: t.onboarding_get_started })
3160
- ]
3161
- }
3162
- ),
3163
- /* @__PURE__ */ e(ea, { isOpen: n, onClose: () => o(!1) })
3164
- ] });
3165
- }, na = ({ isOpen: t, onClose: n }) => {
3166
- const { finstrong: o } = S(), r = W(), { updateUser: i, user: a } = oe(), { loadPeerScore: l } = L(), [c, d] = m.useState(a.birthday), p = (h) => {
3167
- d(Math.floor(new Date(h).getTime() / 1e3));
3168
- };
3169
- return /* @__PURE__ */ e(
3170
- ie,
3171
- {
3172
- footerStyles: { borderTop: 1, borderColor: "divider", px: 24, py: 16 },
3173
- isOpen: t,
3174
- onClose: n,
3175
- onPrimaryAction: () => {
3176
- !c || c === a.birthday || (i({ ...a, birthday: c }).finally(() => {
3177
- l();
3178
- }), n());
3179
- },
3180
- onSecondaryAction: n,
3181
- title: o.date_of_birth,
3182
- children: /* @__PURE__ */ e(_, { sx: { bgcolor: "background.default", height: "100%" }, children: /* @__PURE__ */ e(mo, { dateAdapter: Rt, children: /* @__PURE__ */ e(
3183
- uo,
3184
- {
3185
- disableFuture: !0,
3186
- onChange: p,
3187
- slotProps: {
3188
- nextIconButton: {
3189
- sx: {
3190
- color: "primary.main",
3191
- "&:hover": { bgcolor: ue(r.palette.primary.light, 0.1) }
3192
- }
3193
- },
3194
- previousIconButton: {
3195
- sx: {
3196
- color: "primary.main",
3197
- "&:hover": { bgcolor: ue(r.palette.primary.light, 0.1) }
3198
- }
3199
- },
3200
- switchViewButton: {
3201
- sx: {
3202
- color: "primary.main",
3203
- "&:hover": { bgcolor: ue(r.palette.primary.light, 0.1) }
3204
- }
3205
- }
3206
- },
3207
- slots: {
3208
- actionBar: () => null,
3209
- toolbar: () => null
3210
- },
3211
- sx: {
3212
- width: "100%",
3213
- "& .MuiIconButton-edgeEnd": {
3214
- color: "primary.main",
3215
- "&:hover": { bgcolor: ue(r.palette.primary.light, 0.1) }
3216
- }
3217
- },
3218
- value: c ? new Date(c * 1e3) : /* @__PURE__ */ new Date()
3219
- }
3220
- ) }) })
3221
- }
3222
- );
3223
- }, oa = w(na), ra = ({ isOpen: t, onClose: n }) => {
3224
- const { visibleFinstrongAccounts: o } = ke(), {
3225
- accounts: r,
3226
- common: i,
3227
- finstrong: a,
3228
- recurring: l
3229
- } = S(), { repeatingTransactions: c } = Ze(), { user: d } = oe(), p = c.reduce((x, C) => {
3230
- const { repeating_transaction_type: b, transactions: k, recurrence_type: g, amount: y } = C;
3231
- return b === Ot.Income && (k && k.length > 0 || g === Tt.EveryYear) ? x + y : x;
3232
- }, 0), [u, h] = m.useState(null), v = [
3233
- {
3234
- dynamicCopy: a.add_profile_item,
3235
- fallbackLabel: a.monthly_income,
3236
- icon: /* @__PURE__ */ e(wn, {}),
3237
- key: q.MonthlyIncome,
3238
- label: a.monthly_income,
3239
- value: p
3240
- },
3241
- {
3242
- dynamicCopy: a.add_profile_item,
3243
- fallbackLabel: a.date_of_birth,
3244
- icon: /* @__PURE__ */ e(kn, {}),
3245
- key: q.DateOfBirth,
3246
- label: a.date_of_birth,
3247
- value: d.birthday
3248
- },
3249
- {
3250
- dynamicCopy: a.add_profile_item,
3251
- fallbackLabel: a.credit_score,
3252
- icon: /* @__PURE__ */ e(bt, {}),
3253
- key: q.CreditScore,
3254
- label: a.credit_score,
3255
- value: d.credit_score
3256
- },
3257
- {
3258
- fallbackLabel: a.connect_your_accounts,
3259
- icon: /* @__PURE__ */ e(ft, {}),
3260
- key: q.Connections,
3261
- label: a.connections,
3262
- value: o.length > 0 ? z(
3263
- a.connected_account,
3264
- String(o.length),
3265
- o.length > 1 ? a.accounts : a.account
3266
- ) : void 0
3267
- }
3268
- ].map((x) => Oo(x));
3269
- return /* @__PURE__ */ s(ie, { isOpen: t, onClose: n, title: a.financial_profile, children: [
3270
- /* @__PURE__ */ s(_, { sx: { bgcolor: "background.default", height: "100%" }, children: [
3271
- /* @__PURE__ */ s(_, { sx: { gap: 20, p: 24 }, children: [
3272
- /* @__PURE__ */ s(_, { sx: { gap: 8 }, children: [
3273
- /* @__PURE__ */ e(j, { children: a.your_financial_profile }),
3274
- /* @__PURE__ */ e(A, { children: a.financial_profile_description })
3275
- ] }),
3276
- /* @__PURE__ */ e(
3277
- Xt,
3278
- {
3279
- completeCopy: a.complete,
3280
- value: v.reduce((x, C) => x + (C.isComplete ? 1 : 0), 0)
3281
- }
3282
- )
3283
- ] }),
3284
- /* @__PURE__ */ e(Do, { list: v, onClickItem: h }),
3285
- /* @__PURE__ */ e(M, { sx: { p: 24 }, children: /* @__PURE__ */ e(
3286
- We,
3287
- {
3288
- description: a.connect_more_accounts_to_view_more_accurate_financial_picture,
3289
- drawerType: "connectDrawer",
3290
- isDashboard: !0,
3291
- title: a.dont_see_all_your_accounts,
3292
- titleDrawer: i.add_accounts
3293
- }
3294
- ) })
3295
- ] }),
3296
- /* @__PURE__ */ e(
3297
- ie,
3298
- {
3299
- isOpen: u === q.MonthlyIncome,
3300
- onClose: () => h(null),
3301
- shouldShowHeaderBorders: !1,
3302
- title: l.action_title,
3303
- children: /* @__PURE__ */ e(_o, {})
3304
- }
3305
- ),
3306
- /* @__PURE__ */ e(oa, { isOpen: u === q.DateOfBirth, onClose: () => h(null) }),
3307
- /* @__PURE__ */ e(Ht, { isOpen: u === q.CreditScore, onClose: () => h(null) }),
3308
- /* @__PURE__ */ e(
3309
- vt,
3310
- {
3311
- onClose: () => h(null),
3312
- showConnectionsWidget: u === q.Connections,
3313
- title: r.manage_connections
3314
- }
3315
- )
3316
- ] });
3317
- }, aa = w(ra), gt = ({
3318
- content: t,
3319
- islast: n = !1
3320
- }) => /* @__PURE__ */ s(go, { sx: { minHeight: 0 }, children: [
3321
- /* @__PURE__ */ s(Co, { children: [
3322
- /* @__PURE__ */ e(xo, { sx: { bgcolor: "divider", boxShadow: "none", p: 2 } }),
3323
- !n && /* @__PURE__ */ e(
3324
- fo,
3325
- {
3326
- sx: {
3327
- bgcolor: "background.paper",
3328
- borderLeft: "1px solid",
3329
- borderColor: "divider",
3330
- borderRadius: 1,
3331
- m: -4
3332
- }
3333
- }
3334
- )
3335
- ] }),
3336
- /* @__PURE__ */ e(bo, { sx: { pb: 16, pl: 12, pr: 0, pt: 5 }, children: /* @__PURE__ */ e(A, { fontSize: 13, fontWeight: 400, variant: "subtitle2", children: t }) })
3337
- ] }), ia = ({ report: t }) => {
3338
- const { finstrong: n } = S(), { score_history_drawer_timeline: o } = n, {
3339
- health_score_point_difference: r,
3340
- newer_credit_score: i,
3341
- older_credit_score: a,
3342
- older_spend_to_income_ratio: l,
3343
- newer_spend_to_income_ratio: c,
3344
- older_health_score: d,
3345
- newer_health_score: p,
3346
- newer_score_calculated_at: u
3347
- } = t, h = Ct(new Date(u), "MMM d"), f = () => r === 0 ? "info.lighter" : r > 0 ? "success.lighter" : "error.lighter", v = () => r === 0 ? z(o.stayed_at, d) : r > 0 ? o.less_spending : o.more_spending, x = () => {
3348
- if (r === 0) return null;
3349
- const C = r > 0 ? o.up_from : o.down_from, b = z(C, d, p);
3350
- return /* @__PURE__ */ s(H, { children: [
3351
- /* @__PURE__ */ e(
3352
- _n,
3353
- {
3354
- fill: !0,
3355
- name: "circle",
3356
- sx: { color: "text.secondary", fontSize: 8, mx: 4, p: 1 }
3357
- }
3358
- ),
3359
- b
3360
- ] });
3361
- };
3362
- return /* @__PURE__ */ s(Y, { children: [
3363
- /* @__PURE__ */ e(
3364
- M,
3365
- {
3366
- sx: {
3367
- borderBottomColor: "divider",
3368
- borderBottomStyle: "solid",
3369
- borderBottomWidth: r !== 0 ? 1 : 0,
3370
- p: 16
3371
- },
3372
- children: /* @__PURE__ */ s(
3373
- _,
3374
- {
3375
- flexDirection: "row",
3376
- sx: { alignItems: "center", gap: 16, height: 48, width: "100%" },
3377
- children: [
3378
- /* @__PURE__ */ e(
3379
- _,
3380
- {
3381
- sx: {
3382
- alignItems: "center",
3383
- backgroundColor: f(),
3384
- borderRadius: 999,
3385
- height: 48,
3386
- justifyContent: "center",
3387
- width: 48
3388
- },
3389
- children: /* @__PURE__ */ e(A, { sx: { fontWeight: 600 }, variant: "body1", children: r > 0 ? `+${r}` : r })
3390
- }
3391
- ),
3392
- /* @__PURE__ */ s(_, { sx: { gap: 2, width: "80%" }, children: [
3393
- /* @__PURE__ */ e(D, { fontWeight: 600, variant: "body1", children: v() }),
3394
- /* @__PURE__ */ s(D, { sx: { color: "text.secondary" }, variant: "subtitle2", children: [
3395
- h,
3396
- " ",
3397
- x()
3398
- ] })
3399
- ] })
3400
- ]
3401
- }
3402
- )
3403
- }
3404
- ),
3405
- r !== 0 && /* @__PURE__ */ e(M, { sx: { color: "text.secondary", pb: 8, pl: 32, pr: 16, pt: 12 }, children: /* @__PURE__ */ s(
3406
- ho,
3407
- {
3408
- sx: {
3409
- [`& .${yo.root}:before`]: {
3410
- flex: 0,
3411
- padding: 0
3412
- },
3413
- m: 0,
3414
- p: 0
3415
- },
3416
- children: [
3417
- /* @__PURE__ */ e(
3418
- gt,
3419
- {
3420
- content: z(
3421
- o.spend_to_income_description,
3422
- Ee(l),
3423
- Ee(c)
3424
- )
3425
- }
3426
- ),
3427
- /* @__PURE__ */ e(
3428
- gt,
3429
- {
3430
- content: z(
3431
- o.credit_score_description,
3432
- a,
3433
- i
3434
- ),
3435
- islast: !0
3436
- }
3437
- )
3438
- ]
3439
- }
3440
- ) })
3441
- ] });
3442
- }, sa = w(ia), ca = ({ isOpen: t, onClose: n }) => {
3443
- const o = W(), { finstrong: r } = S(), { isCopyLoaded: i, isInitialized: a } = ne(), { augmentedChartData: l, healthScore: c, healthScoreChangeReports: d, peerScore: p } = L();
3444
- if (!i || !a) return /* @__PURE__ */ e(ee, {});
3445
- const u = nt(c.health_score || 0, r), h = d.slice().reverse();
3446
- return /* @__PURE__ */ e(
3447
- Kt,
3448
- {
3449
- additionalContent: /* @__PURE__ */ e(
3450
- _,
3451
- {
3452
- sx: {
3453
- backgroundColor: "background.paper",
3454
- borderBottom: "1px solid",
3455
- borderColor: "divider"
3456
- },
3457
- children: /* @__PURE__ */ e(
3458
- Je,
3459
- {
3460
- axisColor: o.palette.divider,
3461
- baseline: "min",
3462
- colors: [o.palette.primary.main],
3463
- curveType: "natural",
3464
- datasets: [l],
3465
- height: 160,
3466
- isGraphClippingXAxis: !0,
3467
- labels: [r.key_indicators_label],
3468
- margin: { top: 24, bottom: 6, right: 24, left: -17 },
3469
- peerAverage: Math.round(p?.average_health_score?.average_health_score || 0),
3470
- showArea: !0,
3471
- showAverage: !0,
3472
- title: r.peer_average,
3473
- useCustomMark: !0
3474
- }
3475
- )
3476
- }
3477
- ),
3478
- drawerTitle: r.score_history,
3479
- isOpen: t,
3480
- loadConnectAccountsCard: !1,
3481
- onClose: n,
3482
- stickyComponent: /* @__PURE__ */ e(
3483
- _,
3484
- {
3485
- sx: {
3486
- backgroundColor: "background.paper",
3487
- pb: 11,
3488
- pt: 8,
3489
- px: 24
3490
- },
3491
- children: /* @__PURE__ */ s(_, { sx: { alignItems: "center", flexDirection: "row", gap: 16 }, children: [
3492
- /* @__PURE__ */ e(
3493
- zt,
3494
- {
3495
- arcRadius: 24,
3496
- healthScore: c?.health_score,
3497
- margin: { top: 9 },
3498
- size: "SM"
3499
- }
3500
- ),
3501
- /* @__PURE__ */ s(_, { sx: { gap: 4 }, children: [
3502
- /* @__PURE__ */ e(A, { variant: "h3", children: u.status }),
3503
- /* @__PURE__ */ e(A, { variant: "caption", children: u.description })
3504
- ] })
3505
- ] })
3506
- }
3507
- ),
3508
- children: /* @__PURE__ */ e(_, { sx: { gap: 16 }, children: h.map((f, v) => /* @__PURE__ */ e(sa, { report: f }, v)) })
3509
- }
3510
- );
3511
- }, la = w(ca), da = ({ copy: t }) => {
3512
- const n = W(), o = [
3513
- n.palette.chartMono.chartMono5,
3514
- n.palette.chartMono.chartMono4,
3515
- n.palette.chartMono.chartMono3,
3516
- n.palette.chartMono.chartMono2
3517
- ];
3518
- return /* @__PURE__ */ s(_, { sx: { gap: 8 }, children: [
3519
- /* @__PURE__ */ e(_, { sx: { flexDirection: "row", gap: 8, px: 2 }, children: [
3520
- { color: "chartMono.chartMono2", text: t.vulnerable, value: "0-25" },
3521
- { color: "chartMono.chartMono3", text: t.building, value: "26-50" },
3522
- { color: "chartMono.chartMono4", text: t.stable, value: "51-75" },
3523
- { color: "chartMono.chartMono5", text: t.strong, value: "76-100" }
3524
- ].map(({ color: r, text: i, value: a }) => /* @__PURE__ */ s(_, { sx: { gap: 4, textAlign: "center", width: "100%" }, children: [
3525
- /* @__PURE__ */ s(M, { children: [
3526
- /* @__PURE__ */ e(A, { sx: { fontWeight: 700, textTransform: "uppercase" }, variant: "caption", children: i }),
3527
- /* @__PURE__ */ s(D, { sx: { color: "text.secondary" }, variant: "caption", children: [
3528
- "(",
3529
- a,
3530
- ")"
3531
- ] })
3532
- ] }),
3533
- /* @__PURE__ */ e(M, { sx: { border: "2px solid", borderColor: r, borderRadius: "3px" } })
3534
- ] }, i)) }),
3535
- /* @__PURE__ */ s(M, { children: [
3536
- /* @__PURE__ */ e(
3537
- M,
3538
- {
3539
- sx: {
3540
- background: `linear-gradient(to left, ${o.join(", ")})`,
3541
- borderRadius: "4px",
3542
- height: 16
3543
- }
3544
- }
3545
- ),
3546
- /* @__PURE__ */ e(_, { sx: { flexDirection: "row", justifyContent: "space-between" }, children: [0, 10, 20, 30, 40, 50, 60, 70, 80, 90, 100].map((r) => /* @__PURE__ */ s(
3547
- _,
3548
- {
3549
- sx: { alignItems: "center", height: 20, justifyContent: "space-between", width: 24 },
3550
- children: [
3551
- /* @__PURE__ */ e(
3552
- M,
3553
- {
3554
- sx: {
3555
- borderBottom: "1px solid",
3556
- borderColor: "divider",
3557
- position: "relative",
3558
- rotate: "90deg",
3559
- top: 3.5,
3560
- width: 8
3561
- }
3562
- }
3563
- ),
3564
- /* @__PURE__ */ e(D, { sx: { color: "text.secondary" }, variant: "tiny", children: r })
3565
- ]
3566
- },
3567
- r
3568
- )) })
3569
- ] })
3570
- ] });
3571
- }, pa = ({ isOpen: t, onClose: n }) => {
3572
- const { finstrong: o } = S(), { isCopyLoaded: r } = ne();
3573
- return r ? /* @__PURE__ */ e(ie, { isOpen: t, onClose: n, title: o.score_rubric, children: /* @__PURE__ */ s(_, { sx: { bgcolor: "background.default", gap: 36, height: "100%", p: 24 }, children: [
3574
- /* @__PURE__ */ s(_, { sx: { gap: 20 }, children: [
3575
- /* @__PURE__ */ s(_, { sx: { gap: 8 }, children: [
3576
- /* @__PURE__ */ e(j, { children: o.your_path_to_financial_freedom }),
3577
- /* @__PURE__ */ e(A, { variant: "subtitle1", children: o.finstrong_freedom_description })
3578
- ] }),
3579
- /* @__PURE__ */ e(M, { children: /* @__PURE__ */ e(da, { copy: o }) })
3580
- ] }),
3581
- /* @__PURE__ */ s(_, { sx: { gap: 12 }, children: [
3582
- /* @__PURE__ */ e(D, { sx: { fontWeight: 600 }, variant: "body1", children: o.how_do_we_do_this }),
3583
- /* @__PURE__ */ s(
3584
- Le,
3585
- {
3586
- component: "ol",
3587
- sx: {
3588
- listStyleType: "decimal",
3589
- pl: 20,
3590
- pr: 16,
3591
- "& li": {
3592
- "::marker": {
3593
- fontWeight: 600
3594
- }
3595
- },
3596
- "& .MuiListItemText-secondary": {
3597
- fontSize: 15,
3598
- lineHeight: "24px",
3599
- pt: 4
3600
- }
3601
- },
3602
- children: [
3603
- /* @__PURE__ */ e(_e, { sx: { display: "list-item" }, children: /* @__PURE__ */ e(
3604
- me,
3605
- {
3606
- primary: o.understand_your_habits,
3607
- secondary: o.understand_your_habits_description
3608
- }
3609
- ) }),
3610
- /* @__PURE__ */ e(_e, { sx: { display: "list-item", pt: 16 }, children: /* @__PURE__ */ e(
3611
- me,
3612
- {
3613
- primary: o.see_whats_possible,
3614
- secondary: o.see_whats_possible_description
3615
- }
3616
- ) })
3617
- ]
3618
- }
3619
- )
3620
- ] }),
3621
- /* @__PURE__ */ s(_, { sx: { gap: 4 }, children: [
3622
- /* @__PURE__ */ e(D, { sx: { fontWeight: 600, pb: 4 }, variant: "body1", children: o.we_ask_questions }),
3623
- /* @__PURE__ */ s(
3624
- Le,
3625
- {
3626
- component: "ol",
3627
- sx: {
3628
- listStyleType: "initial",
3629
- pl: 20,
3630
- pr: 16,
3631
- "& li": {
3632
- minHeight: "max-content",
3633
- "::marker": {
3634
- color: "text.secondary",
3635
- fontWeight: 600
3636
- }
3637
- },
3638
- "& .MuiListItemText-secondary": {
3639
- fontSize: 15,
3640
- lineHeight: "24px"
3641
- }
3642
- },
3643
- children: [
3644
- /* @__PURE__ */ e(_e, { sx: { display: "list-item" }, children: /* @__PURE__ */ e(me, { secondary: o.we_ask_questions_description_1 }) }),
3645
- /* @__PURE__ */ e(_e, { sx: { display: "list-item" }, children: /* @__PURE__ */ e(me, { secondary: o.we_ask_questions_description_2 }) })
3646
- ]
3647
- }
3648
- )
3649
- ] })
3650
- ] }) }) : /* @__PURE__ */ e(ee, {});
3651
- }, ua = w(pa), _a = w(() => {
3652
- const [t, n] = m.useState(!1), o = W(), [r, { width: i }] = wt(), { finstrong: a } = S(), { isCopyLoaded: l, isInitialized: c } = ne(), { healthScore: d, healthScoreChange: p } = L(), u = o.palette.mode === "dark", h = nt(d?.health_score, a);
3653
- return !l || !c ? /* @__PURE__ */ e(ee, {}) : /* @__PURE__ */ s(Y, { ref: r, sx: { p: 16, display: "flex", flexDirection: "column", gap: 8 }, children: [
3654
- /* @__PURE__ */ s(_, { direction: "row", sx: { alignItems: "center", justifyContent: "space-between" }, children: [
3655
- /* @__PURE__ */ e(j, { children: a.financial_strength_header }),
3656
- /* @__PURE__ */ e(
3657
- E,
3658
- {
3659
- endIcon: /* @__PURE__ */ e(J, {}),
3660
- onClick: () => n(!0),
3661
- size: "small",
3662
- sx: {
3663
- "&.MuiButtonBase-root": {
3664
- px: 8,
3665
- py: 4
3666
- }
3667
- },
3668
- variant: "text",
3669
- children: /* @__PURE__ */ e(
3670
- D,
3671
- {
3672
- bold: !0,
3673
- sx: {
3674
- overflow: "visible"
3675
- },
3676
- variant: "body2",
3677
- children: a.financial_strength_header_action
3678
- }
3679
- )
3680
- }
3681
- )
3682
- ] }),
3683
- /* @__PURE__ */ e(_, { sx: { justifyContent: "center", alignItems: "center", pb: 4, pt: 20, px: 16 }, children: /* @__PURE__ */ e(
3684
- zt,
3685
- {
3686
- arcRadius: i <= 323 ? 72.5 : 154,
3687
- footerCenterContent: p,
3688
- healthScore: d?.health_score || 0,
3689
- size: i <= 323 ? "M" : "L"
3690
- }
3691
- ) }),
3692
- d?.health_score ? /* @__PURE__ */ s(
3693
- So,
3694
- {
3695
- sx: {
3696
- px: 16,
3697
- backgroundColor: u ? "grey.800" : "grey.50",
3698
- //TODO: Need to change the background color to palette (supporting both darkmode and lightmode)
3699
- "&.Mui-expanded": {
3700
- m: 0
3701
- },
3702
- "&::before": {
3703
- display: "none"
3704
- }
3705
- },
3706
- children: [
3707
- /* @__PURE__ */ e(
3708
- wo,
3709
- {
3710
- expandIcon: /* @__PURE__ */ e(Mn, { size: 20 }),
3711
- sx: {
3712
- "&.MuiAccordionSummary-root": {
3713
- minHeight: 0
3714
- },
3715
- height: 44,
3716
- p: 0,
3717
- "&.Mui-expanded": {
3718
- minHeight: 0
3719
- }
3720
- },
3721
- children: /* @__PURE__ */ e(A, { sx: { fontWeight: 600 }, variant: "body1", children: a.accordion_title_text })
3722
- }
3723
- ),
3724
- /* @__PURE__ */ e(vo, { sx: { "&.MuiAccordionDetails-root": { padding: 0, pb: 16 } }, children: /* @__PURE__ */ e(A, { variant: "subtitle1", children: h.scoreContent }) })
3725
- ]
3726
- }
3727
- ) : /* @__PURE__ */ e(
3728
- We,
3729
- {
3730
- buttonText: a.connect_more_accounts_title,
3731
- description: a.health_score_zero_description,
3732
- drawerType: "connectDrawer",
3733
- hasIcon: !1,
3734
- isDashboard: !0,
3735
- sx: {
3736
- backgroundColor: u ? "grey.800" : "grey.50",
3737
- //TODO: Need to change the background color to palette (supporting both darkmode and lightmode)
3738
- ".connect-more-accounts-title": {
3739
- fontWeight: 600,
3740
- lineHeight: "20px",
3741
- color: "text.primary"
3742
- },
3743
- ".connect-more-accounts-description": { color: "text.primary" }
3744
- },
3745
- title: a.health_score_zero_title
3746
- }
3747
- ),
3748
- /* @__PURE__ */ e(
3749
- ua,
3750
- {
3751
- isOpen: t,
3752
- onClose: () => n(!1)
3753
- }
3754
- )
3755
- ] });
3756
- }), ma = ({ onBackClick: t, onMenuClick: n, sx: o, onPrimaryCtaClick: r }) => {
3757
- const { visibleAccounts: i } = ke(), { dateRange: a, isDataLoaded: l, loadBudgetData: c, setTheme: d } = Gn(), { reloadCategoryTotals: p } = Qe(), u = L(), {
3758
- augmentedChartData: h,
3759
- calculateHealthScore: f,
3760
- loadAugmentedChartData: v,
3761
- loadMonthlySummaries: x,
3762
- loadPeerScore: C,
3763
- peerScore: b,
3764
- healthScore: k
3765
- } = u, { finstrong: g, connect: y } = S(), { isInitialized: I } = ne(), { loadRepeatingTransactionData: G, isDataLoaded: O } = Ze(), { isSmallMobile: $ } = tt(), F = W(), { userProfile: K } = oe(), [fe, be] = m.useState(!1), [X, re] = m.useState(!1), [ce, U] = m.useState(!1), [V, le] = m.useState(!1), [de, xe] = m.useState(!1);
3766
- ko({
3767
- widgetName: "FinstrongWidget",
3768
- isLoaded: fe
3769
- }), m.useEffect(() => {
3770
- d(F);
3771
- }, []), m.useEffect(() => {
3772
- r && (u.handleFinstrongWidgetPrimaryCtaClick = r);
3773
- }, [r, u]), m.useEffect(() => {
3774
- I && (x().finally(), C().finally(), f().finally());
3775
- }, [I]), m.useEffect(() => {
3776
- I && (p(i, a.start, a.end).finally(() => {
3777
- be(!0);
3778
- }), l || (c(), G().finally()));
3779
- }, [a, l, I, i]), m.useEffect(() => {
3780
- k?.health_score && v().finally();
3781
- }, [k.health_score]);
3782
- const N = () => U(!0), Ce = Math.round(b?.average_health_score?.average_health_score || 0), He = h.some((Te) => Te.y !== 0), Ke = () => {
3783
- re(!0), f(!1).finally(() => {
3784
- re(!1);
3785
- }), U(!1);
3786
- };
3787
- return !I || !fe || !O || X ? /* @__PURE__ */ e(ee, {}) : /* @__PURE__ */ s(
3788
- Mo,
3789
- {
3790
- actions: [
3791
- {
3792
- iconName: "person",
3793
- label: g.profile,
3794
- onClick: N
3795
- }
3796
- ],
3797
- hasDivider: !0,
3798
- onBackClick: t,
3799
- onMenuClick: n,
3800
- showAccountFilter: !1,
3801
- sx: o,
3802
- title: g.title,
3803
- children: [
3804
- K.has_completed_finstrong_onboarding ? /* @__PURE__ */ s(
3805
- _,
3806
- {
3807
- sx: {
3808
- bgcolor: "background.default",
3809
- flexDirection: { md: "row" },
3810
- gap: 24,
3811
- justifyContent: "center",
3812
- pt: $ ? 16 : 24,
3813
- px: $ ? 16 : 48
3814
- },
3815
- children: [
3816
- /* @__PURE__ */ s(_, { sx: { gap: 24, width: { md: 432 }, height: "100%" }, children: [
3817
- /* @__PURE__ */ e(_a, {}),
3818
- /* @__PURE__ */ e(
3819
- We,
3820
- {
3821
- description: g.connect_more_accounts_description,
3822
- drawerType: "connectDrawer",
3823
- title: g.connect_more_accounts_title
3824
- }
3825
- )
3826
- ] }),
3827
- /* @__PURE__ */ e(_, { sx: { maxWidth: 848, width: { md: 720 } }, children: /* @__PURE__ */ s(Y, { sx: { height: "100%", p: 16 }, children: [
3828
- /* @__PURE__ */ s(
3829
- _,
3830
- {
3831
- direction: "row",
3832
- sx: { alignItems: "center", gap: 12, justifyContent: "space-between" },
3833
- children: [
3834
- /* @__PURE__ */ e(j, { children: g.key_indicators }),
3835
- /* @__PURE__ */ e(
3836
- E,
3837
- {
3838
- endIcon: /* @__PURE__ */ e(J, {}),
3839
- onClick: () => le(!0),
3840
- size: "small",
3841
- sx: {
3842
- "&.MuiButtonBase-root": {
3843
- px: 8,
3844
- py: 4
3845
- }
3846
- },
3847
- variant: "text",
3848
- children: /* @__PURE__ */ e(D, { bold: !0, variant: "body2", children: g.whats_changed })
3849
- }
3850
- )
3851
- ]
3852
- }
3853
- ),
3854
- He ? /* @__PURE__ */ e(
3855
- Je,
3856
- {
3857
- axisColor: F.palette.divider,
3858
- baseline: "min",
3859
- colors: [F.palette.primary.main],
3860
- curveType: "natural",
3861
- customLegendBoxSx: { borderRadius: "2px" },
3862
- customLegendSx: { left: 0 },
3863
- customLegendVariant: "caption",
3864
- datasets: [h],
3865
- height: 300,
3866
- isCurrency: !1,
3867
- isGraphClippingXAxis: !0,
3868
- labelBackgroundColor: F.palette.neutral.dark,
3869
- labelFontColor: F.palette.common.white,
3870
- labelFontSize: typeof F.typography.caption?.fontSize == "string" ? parseFloat(F.typography.caption.fontSize) : F.typography.caption?.fontSize,
3871
- labels: [g.key_indicators_label],
3872
- margin: { right: 12, left: -37 },
3873
- peerAverage: Ce,
3874
- showArea: !0,
3875
- showAverage: !0,
3876
- showLegend: !0,
3877
- showMarkLabel: !0,
3878
- showTooltip: !0,
3879
- showXAxis: !0,
3880
- title: g.peer_average
3881
- }
3882
- ) : /* @__PURE__ */ e(Vr, { onClick: () => xe(!0) }),
3883
- /* @__PURE__ */ e(Hr, {})
3884
- ] }) })
3885
- ]
3886
- }
3887
- ) : /* @__PURE__ */ e(ta, {}),
3888
- /* @__PURE__ */ e(aa, { isOpen: ce, onClose: Ke }),
3889
- /* @__PURE__ */ e(
3890
- se,
3891
- {
3892
- onClose: () => xe(!1),
3893
- showConnectWidget: de,
3894
- title: y.mini_title
3895
- }
3896
- ),
3897
- /* @__PURE__ */ e(
3898
- la,
3899
- {
3900
- isOpen: V,
3901
- onClose: () => le(!1)
3902
- }
3903
- )
3904
- ]
3905
- }
3906
- );
3907
- }, Ni = w(ma);
1
+ import { DialScoreCard as o } from "./components/shared/DialScoreCard/index.es.js";
2
+ import { FinancialStrengthGraph as i } from "./components/FinancialStrengthGraph/index.es.js";
3
+ import { CreditScoreGraph as e } from "./components/CreditScoreGraph/index.es.js";
4
+ import n from "./FinstrongWidget/index.es.js";
3908
5
  export {
3909
- Ko as CreditScoreGraph,
3910
- Nt as DialScoreCard,
3911
- zt as FinancialStrengthGraph,
3912
- Ni as FinstrongWidget
6
+ e as CreditScoreGraph,
7
+ o as DialScoreCard,
8
+ i as FinancialStrengthGraph,
9
+ n as FinstrongWidget
3913
10
  };
3914
- //# sourceMappingURL=index.es.js.map