@mx-cartographer/experiences 9.0.0-alpha.mega1 → 9.0.0

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 (773) hide show
  1. package/CHANGELOG.md +676 -9
  2. package/README.md +216 -47
  3. package/dist/{Account-CMjOp7S2.mjs → Account-BaJmiJAG.mjs} +4 -4
  4. package/dist/{Account-BIKn4XEZ.mjs → Account-BxHMlV9R.mjs} +1 -1
  5. package/dist/AccountDetailsHeader-DIysk_4w.mjs +95 -0
  6. package/dist/AccountFields-mwJ8NXsX.mjs +141 -0
  7. package/dist/AccountListItem-BDXHs4tV.mjs +94 -0
  8. package/dist/AccountUtils-T5_Odvos.mjs +27 -0
  9. package/dist/Accounts-CseLC3lL.mjs +5 -0
  10. package/dist/Analytics-CkYXKvco.mjs +53 -0
  11. package/dist/Analytics-CzGzz_sE.mjs +136 -0
  12. package/dist/ApiEndpoints-DXwIYNUV.mjs +49 -0
  13. package/dist/BudgetUtil-Bg2AQJpQ.mjs +74 -0
  14. package/dist/{Category-Ccoew_sA.mjs → Category-DEKZGLYe.mjs} +3 -3
  15. package/dist/{CategorySelectorDrawer-C4aZYP4N.mjs → CategorySelectorDrawer-CmaDLhnf.mjs} +131 -119
  16. package/dist/Connect-Dk6GZEsA.mjs +39 -0
  17. package/dist/ConnectCard-CCep7Zqe.mjs +54 -0
  18. package/dist/ConnectDrawer-Cnjr3Ddg.mjs +58 -0
  19. package/dist/{ConnectionsDrawer-BExzgE16.mjs → ConnectionsDrawer-CtfPXk0M.mjs} +13 -12
  20. package/dist/CurrencyDialog-DumQCTPO.mjs +373 -0
  21. package/dist/CurrencyInput-adTIRtL3.mjs +87 -0
  22. package/dist/{CurrencyText-C-85TnUF.mjs → CurrencyText-CCbE6MmF.mjs} +1 -1
  23. package/dist/DateFormats-HudZ3Bjs.mjs +64 -0
  24. package/dist/DateUtil-Bhq59ZVg.mjs +58 -0
  25. package/dist/DebtUtils-DD3186U-.mjs +153 -0
  26. package/dist/Dialog-CwWc0AbH.mjs +63 -0
  27. package/dist/Donut-SzzfZDHF.mjs +88 -0
  28. package/dist/{Drawer-Bet2ZPJo.mjs → Drawer-BXqqBMxg.mjs} +32 -34
  29. package/dist/EmbeddedCard-DPwJjqMH.mjs +856 -0
  30. package/dist/{EmptyState-DoxNUae-.mjs → EmptyState-CJUDc3kD.mjs} +21 -22
  31. package/dist/Error-Dogaw2jO.mjs +84 -0
  32. package/dist/ErrorBoundary-CsdOcnJ9.mjs +23 -0
  33. package/dist/{ExportCsvAction-oG_Mn66T.mjs → ExportCsvAction-Bw02ZJEj.mjs} +6 -6
  34. package/dist/GlobalAccountFilter-7Cg2-9A5.mjs +237 -0
  35. package/dist/GlobalCopyApi-wcnDUzMV.mjs +128 -0
  36. package/dist/GoalsUtil-C9EnLWvC.mjs +107 -0
  37. package/dist/HeaderCell-P8w6CmfO.mjs +6 -0
  38. package/dist/{Help-c-zHlDbv.mjs → Help-CkQTjORd.mjs} +6 -27
  39. package/dist/{Help-BW_ar-4B.mjs → Help-DJ8PrVHX.mjs} +594 -562
  40. package/dist/InformationTooltip-4su8bn1e.mjs +41 -0
  41. package/dist/{InvestmentUtil-jOyOgzIB.mjs → InvestmentUtil-BItV7uEs.mjs} +17 -17
  42. package/dist/LineChart-CejWS_rh.mjs +612 -0
  43. package/dist/{ListItemAction-Cbr3417C.mjs → ListItemAction-CwspSmQi.mjs} +26 -26
  44. package/dist/ListItemRow-kH1rn8Xu.mjs +67 -0
  45. package/dist/ListItemWrapper-B5r-YQQ_.mjs +42 -0
  46. package/dist/Loader-CxeBwuPG.mjs +21 -0
  47. package/dist/Localization-DnoVyBNK.mjs +38 -0
  48. package/dist/ManageIncome-B1JfqslT.mjs +595 -0
  49. package/dist/{MicroWidgetContainer-DSyYwRCU.mjs → MicroWidgetContainer-CfKdQfhi.mjs} +2 -2
  50. package/dist/MiniWidgetContainer-BdPiUU-u.mjs +66 -0
  51. package/dist/NetWorthUtils-DilGN1nW.mjs +95 -0
  52. package/dist/Notification-DTNYSd8P.mjs +7 -0
  53. package/dist/{NotificationSettings-e789PcRb.mjs → NotificationSettings-6p-h5phZ.mjs} +143 -142
  54. package/dist/NotificationUtils-BRGFTePr.mjs +23 -0
  55. package/dist/{NumberFormatting-DjTD0t3W.mjs → NumberFormatting--XMeeBfr.mjs} +2 -1
  56. package/dist/OriginalBalanceAction-CkJPnp2c.mjs +114 -0
  57. package/dist/{RecurringSettings-BpCUcE8w.mjs → RecurringSettings-cm6MK_aS.mjs} +4 -4
  58. package/dist/RecurringTransactionsUtil-B3rLEx_g.mjs +253 -0
  59. package/dist/{ResponsiveButton-C6KH8JH4.mjs → ResponsiveButton-CC9F_Ezk.mjs} +4 -4
  60. package/dist/SearchBox-Cpgu_gdO.mjs +50 -0
  61. package/dist/Select-BFt-HD-L.mjs +55 -0
  62. package/dist/SelectionBox-B4xELRgp.mjs +48 -0
  63. package/dist/{SingleSegmentDonut-PsRQPkmV.mjs → SingleSegmentDonut-7Uy6VEld.mjs} +1 -1
  64. package/dist/Sizes-DISGrlUg.mjs +6 -0
  65. package/dist/{SpendingData-B7NuTQ9s.mjs → SpendingData-PKlh8caU.mjs} +6 -6
  66. package/dist/SpendingLegend-5Ct_FZ8o.mjs +193 -0
  67. package/dist/ToggleListItem-Dl1lXNwj.mjs +91 -0
  68. package/dist/TransactionDetails-C3dlAzYf.mjs +1714 -0
  69. package/dist/TransactionUtils-BphBJBbU.mjs +234 -0
  70. package/dist/TrendsUtil-D9z3kIj_.mjs +69 -0
  71. package/dist/UserStore-CRpKQjpP.mjs +3002 -0
  72. package/dist/ViewMoreMicroCard-BD_MNc2z.mjs +1295 -0
  73. package/dist/WidgetContainer-DNuz_s7W.mjs +479 -0
  74. package/dist/accounts/AccountsMiniWidget.d.ts +1 -1
  75. package/dist/accounts/AccountsWidget.d.ts +1 -1
  76. package/dist/accounts/components/AccountListItem.d.ts +1 -1
  77. package/dist/accounts/components/AccountsListCompact.d.ts +1 -1
  78. package/dist/accounts/components/detailsdrawer/Accounts/AccountActionsRow.d.ts +1 -0
  79. package/dist/accounts/components/detailsdrawer/Accounts/AccountDetailsChart.d.ts +1 -1
  80. package/dist/accounts/hooks/useGetMergeableAccounts.d.ts +1 -1
  81. package/dist/accounts/hooks/useUiStore.d.ts +6 -1
  82. package/dist/accounts/index.d.ts +0 -2
  83. package/dist/accounts/index.es.js +628 -527
  84. package/dist/accounts/utils/AccountDetails.d.ts +1 -1
  85. package/dist/accounts/utils/AccountFields.d.ts +3 -3
  86. package/dist/analytics/index.es.js +93 -112
  87. package/dist/budgets/BubbleBudgetsMiniWidget.d.ts +1 -1
  88. package/dist/budgets/BubbleBudgetsWidget.d.ts +1 -1
  89. package/dist/budgets/components/BubbleChart.d.ts +1 -1
  90. package/dist/budgets/components/BudgetDetailsDrawerV2.d.ts +11 -0
  91. package/dist/budgets/components/MerchantBudgetDetailsDrawer.d.ts +17 -0
  92. package/dist/budgets/components/addbudget/RecalculateBudgetRow.d.ts +1 -1
  93. package/dist/budgets/components/addbudget/UnbudgetedRow.d.ts +1 -1
  94. package/dist/budgets/components/bubblechart/Bubble.d.ts +1 -1
  95. package/dist/budgets/components/budgetdetails/AddSubBudget.d.ts +1 -1
  96. package/dist/budgets/components/budgetdetails/BudgetDetails.d.ts +1 -1
  97. package/dist/budgets/components/budgetdetails/Header.d.ts +1 -1
  98. package/dist/budgets/components/budgetdetails/SubBudgetList.d.ts +1 -1
  99. package/dist/budgets/components/budgetlist/BudgetRow.d.ts +1 -1
  100. package/dist/budgets/components/budgetlist/SubBudgetRow.d.ts +1 -1
  101. package/dist/budgets/components/shared/BudgetDetailsTopSection.d.ts +13 -0
  102. package/dist/budgets/index.d.ts +2 -1
  103. package/dist/budgets/index.es.js +989 -813
  104. package/dist/budgets/utils/BubblesSVG.d.ts +3 -3
  105. package/dist/cashflow/CashflowMiniWidget.d.ts +1 -1
  106. package/dist/cashflow/CashflowWidget.d.ts +1 -1
  107. package/dist/cashflow/components/DetailsExpenseRow.d.ts +1 -1
  108. package/dist/cashflow/context/hooks.d.ts +15 -1
  109. package/dist/cashflow/index.d.ts +0 -2
  110. package/dist/cashflow/index.es.js +461 -490
  111. package/dist/cashflow/util/Filters.d.ts +1 -1
  112. package/dist/categories/components/CategoryRow.d.ts +1 -1
  113. package/dist/categories/components/CustomCategories/AddSubcategory.d.ts +1 -1
  114. package/dist/categories/components/CustomCategories/DeleteSubcategory.d.ts +1 -1
  115. package/dist/categories/components/CustomCategories/RenameSubcategory.d.ts +1 -1
  116. package/dist/categories/components/SubcategoryList.d.ts +1 -1
  117. package/dist/categories/components/SubcategoryRow.d.ts +1 -1
  118. package/dist/categories/context/hooks.d.ts +19 -1
  119. package/dist/categories/index.d.ts +0 -1
  120. package/dist/categories/index.es.js +4 -6
  121. package/dist/common/components/CurrencyDialog.d.ts +19 -0
  122. package/dist/common/components/CurrencyInput.d.ts +1 -1
  123. package/dist/common/components/EmptyState.d.ts +0 -1
  124. package/dist/common/components/Error.d.ts +13 -0
  125. package/dist/common/components/GlobalAccountFilter.d.ts +3 -2
  126. package/dist/common/components/Loader.d.ts +1 -2
  127. package/dist/common/components/MiniWidgetContainer.d.ts +1 -0
  128. package/dist/common/components/TinyBarChart.d.ts +10 -0
  129. package/dist/common/components/WidgetContainer.d.ts +4 -3
  130. package/dist/common/components/WidgetDateRangeSelector.d.ts +12 -0
  131. package/dist/common/components/charts/LineChart.d.ts +1 -0
  132. package/dist/common/components/charts/index.d.ts +1 -0
  133. package/dist/common/components/charts/linechart/CustomTooltip.d.ts +2 -1
  134. package/dist/common/components/charts/linechart/utils/markerShapes.d.ts +3 -0
  135. package/dist/common/components/charts/stackedlinechart/CustomAreaTooltip.d.ts +1 -1
  136. package/dist/common/components/daterangeselector/DateRangeSelector.d.ts +1 -0
  137. package/dist/common/components/globalaccountfilter/GlobalAccountFilterList.d.ts +1 -1
  138. package/dist/common/components/index.d.ts +2 -1
  139. package/dist/common/constants/Account.d.ts +1 -1
  140. package/dist/common/constants/Analytics.d.ts +12 -0
  141. package/dist/common/constants/ScheduledPayment.d.ts +1 -10
  142. package/dist/common/constants/SpendingPlan.d.ts +0 -10
  143. package/dist/common/constants/index.d.ts +2 -6
  144. package/dist/common/context/GlobalDataProvider.d.ts +2 -1
  145. package/dist/common/context/hooks.d.ts +24 -24
  146. package/dist/common/hooks/index.d.ts +2 -0
  147. package/dist/common/hooks/useAccountDisplayName.d.ts +1 -1
  148. package/dist/common/hooks/useCombineEvents.d.ts +1 -1
  149. package/dist/common/hooks/usePrevious.d.ts +2 -0
  150. package/dist/common/hooks/useWidgetHeaderStyles.d.ts +34 -0
  151. package/dist/common/index.d.ts +3 -3
  152. package/dist/common/index.es.js +254 -1348
  153. package/dist/common/utils/AccountDisplayName.d.ts +1 -1
  154. package/dist/common/utils/AccountFilter.d.ts +2 -2
  155. package/dist/common/utils/Analytics.d.ts +1 -1
  156. package/dist/common/utils/PostMessage.d.ts +1 -0
  157. package/dist/common/utils/Theme.d.ts +7 -6
  158. package/dist/common/utils/index.d.ts +1 -6
  159. package/dist/{accounts → core}/api/AccountApi.d.ts +2 -2
  160. package/dist/{common → core}/api/AnalyticsApi.d.ts +1 -1
  161. package/dist/{common → core}/api/AppDataApi.d.ts +2 -2
  162. package/dist/{common → core}/api/BannerApi.d.ts +1 -1
  163. package/dist/{common → core}/api/BeatApi.d.ts +2 -2
  164. package/dist/{budgets → core}/api/BudgetsApi.d.ts +5 -1
  165. package/dist/{common → core}/api/CategoryApi.d.ts +2 -2
  166. package/dist/{finstrong → core}/api/FinstrongApi.d.ts +2 -2
  167. package/dist/{common → core}/api/GlobalCopyApi.d.ts +2 -2
  168. package/dist/{goals → core}/api/GoalApi.d.ts +2 -2
  169. package/dist/{help → core}/api/HelpApi.d.ts +2 -2
  170. package/dist/{investments → core}/api/HoldingApi.d.ts +2 -2
  171. package/dist/{merchants → core}/api/MerchantApi.d.ts +2 -2
  172. package/dist/{common → core}/api/NotificationApi.d.ts +2 -2
  173. package/dist/{recurringtransactions → core}/api/RepeatingTransactionsApi.d.ts +2 -1
  174. package/dist/{common → core}/api/ScheduledPaymentsApi.d.ts +2 -2
  175. package/dist/{settings → core}/api/SettingsApi.d.ts +2 -3
  176. package/dist/{transactions → core}/api/TransactionApi.d.ts +2 -2
  177. package/dist/{common → core}/api/UserApi.d.ts +2 -2
  178. package/dist/{common → core}/api/WidgetApi.d.ts +1 -1
  179. package/dist/core/api/index.d.ts +20 -0
  180. package/dist/{common → core}/constants/ApiEndpoints.d.ts +1 -2
  181. package/dist/{common → core}/constants/DefaultConfig.d.ts +1 -1
  182. package/dist/core/constants/Transaction.d.ts +10 -0
  183. package/dist/core/constants/index.d.ts +4 -0
  184. package/dist/core/constants/repeatingTransactions.d.ts +10 -0
  185. package/dist/core/index.d.ts +4 -0
  186. package/dist/core/index.es.js +108 -0
  187. package/dist/{accounts → core}/stores/AccountStore.d.ts +15 -3
  188. package/dist/{analytics → core}/stores/AnalyticsStore.d.ts +1 -1
  189. package/dist/{common → core}/stores/AppDataStore.d.ts +1 -2
  190. package/dist/{insights/store → core/stores}/BeatStore.d.ts +3 -3
  191. package/dist/{budgets/store → core/stores}/BudgetsStore.d.ts +15 -2
  192. package/dist/{cashflow/stores/UiStore.d.ts → core/stores/CashflowStore.d.ts} +10 -2
  193. package/dist/{categories → core}/stores/CategoryStore.d.ts +24 -2
  194. package/dist/{common → core}/stores/ConnectStore.d.ts +1 -1
  195. package/dist/core/stores/DebtsStore.d.ts +22 -0
  196. package/dist/{finstrong → core}/stores/FinstrongStore.d.ts +5 -4
  197. package/dist/{common → core}/stores/GlobalStore.d.ts +4 -25
  198. package/dist/{goals → core}/stores/GoalStore.d.ts +3 -2
  199. package/dist/{help/store → core/stores}/HelpStore.d.ts +4 -5
  200. package/dist/{investments → core}/stores/HoldingStore.d.ts +4 -3
  201. package/dist/{merchants → core}/stores/MerchantStore.d.ts +3 -2
  202. package/dist/{networth → core}/stores/NetWorthStore.d.ts +3 -3
  203. package/dist/{notifications → core}/stores/NotificationStore.d.ts +3 -1
  204. package/dist/{recurringtransactions → core}/stores/RecurringTransactionsStore.d.ts +3 -2
  205. package/dist/{settings → core}/stores/SettingsStore.d.ts +4 -4
  206. package/dist/{transactions → core}/stores/TransactionStore.d.ts +30 -4
  207. package/dist/{trends → core}/stores/TrendsStore.d.ts +11 -4
  208. package/dist/core/stores/index.d.ts +24 -0
  209. package/dist/{common → core}/types/Analytics.d.ts +6 -3
  210. package/dist/{common → core}/types/AppData.d.ts +8 -2
  211. package/dist/{common → core}/types/Beat.d.ts +2 -0
  212. package/dist/{common → core}/types/Budget.d.ts +8 -0
  213. package/dist/{common → core}/types/Client.d.ts +1 -0
  214. package/dist/{common → core}/types/Expense.d.ts +2 -1
  215. package/dist/{common → core}/types/Finstrong.d.ts +0 -2
  216. package/dist/{networth → core}/types/NetWorth.d.ts +1 -10
  217. package/dist/{common → core}/types/Notification.d.ts +15 -5
  218. package/dist/core/types/Offer.d.ts +32 -0
  219. package/dist/{common → core}/types/Widgets.d.ts +1 -0
  220. package/dist/{common → core}/types/index.d.ts +4 -3
  221. package/dist/{common → core}/types/localization/BudgetsCopy.d.ts +26 -0
  222. package/dist/{common → core}/types/localization/CashflowCopy.d.ts +1 -0
  223. package/dist/{common → core}/types/localization/CommonCopy.d.ts +3 -0
  224. package/dist/{common → core}/types/localization/DebtsCopy.d.ts +5 -0
  225. package/dist/{common → core}/types/localization/GoalsCopy.d.ts +0 -1
  226. package/dist/{common → core}/types/localization/InsightsFeedCopy.d.ts +11 -0
  227. package/dist/{common → core}/types/localization/RecurringCopy.d.ts +2 -0
  228. package/dist/{common → core}/types/localization/SpendingCopy.d.ts +1 -0
  229. package/dist/{common → core}/types/localization/TransactionsCopy.d.ts +11 -6
  230. package/dist/{common → core}/types/localization/TrendsCopy.d.ts +2 -0
  231. package/dist/{accounts/utils/Accounts.d.ts → core/utils/AccountUtils.d.ts} +2 -2
  232. package/dist/{microinsights/utils/beatUtils.d.ts → core/utils/BeatUtils.d.ts} +1 -1
  233. package/dist/{budgets → core}/utils/BudgetUtil.d.ts +7 -2
  234. package/dist/{categories/util → core/utils}/CategoryUtil.d.ts +6 -1
  235. package/dist/core/utils/DebtUtils.d.ts +31 -0
  236. package/dist/core/utils/FinstrongUtils.d.ts +7 -0
  237. package/dist/{goals/util → core/utils}/GoalsUtil.d.ts +1 -1
  238. package/dist/core/utils/HelpUtil.d.ts +3 -0
  239. package/dist/{investments/util → core/utils}/InvestmentUtil.d.ts +2 -2
  240. package/dist/{common → core}/utils/Localization.d.ts +9 -1
  241. package/dist/{networth → core}/utils/NetWorthUtils.d.ts +1 -2
  242. package/dist/{notifications → core}/utils/NotificationUtils.d.ts +2 -1
  243. package/dist/{common → core}/utils/NumberFormatting.d.ts +1 -1
  244. package/dist/{recurringtransactions/util/RecurringTransactions.d.ts → core/utils/RecurringTransactionsUtil.d.ts} +2 -2
  245. package/dist/{settings/util/Notifications.d.ts → core/utils/SettingsUtil.d.ts} +1 -1
  246. package/dist/{transactions/utils/buildDetailedTransactions.d.ts → core/utils/TransactionUtils.d.ts} +12 -2
  247. package/dist/{trends/utils/TrendsData.d.ts → core/utils/TrendsUtil.d.ts} +1 -1
  248. package/dist/core/utils/index.d.ts +2 -0
  249. package/dist/dashboard/index.es.js +39 -38
  250. package/dist/debts/DebtsWidget.d.ts +1 -1
  251. package/dist/debts/components/DebtsChart.d.ts +1 -1
  252. package/dist/debts/components/DebtsTable.d.ts +1 -1
  253. package/dist/debts/components/SnowballCard.d.ts +1 -1
  254. package/dist/debts/components/actions/DebtsPriorityAction.d.ts +6 -1
  255. package/dist/debts/components/actions/InterestRateAction.d.ts +1 -1
  256. package/dist/debts/components/actions/MonthlyPaymentAction.d.ts +1 -1
  257. package/dist/debts/components/actions/OriginalBalanceAction.d.ts +1 -1
  258. package/dist/debts/components/debtspaydown/PaydownButton.d.ts +2 -1
  259. package/dist/debts/components/debtspriority/DebtsPriorityButton.d.ts +3 -1
  260. package/dist/debts/hooks/useDebtsUiStore.d.ts +1 -1
  261. package/dist/debts/index.d.ts +0 -1
  262. package/dist/debts/index.es.js +715 -775
  263. package/dist/debts/utils/DebtsTable.d.ts +1 -1
  264. package/dist/debts/utils/SnowballCard.d.ts +2 -2
  265. package/dist/finstrong/FinstrongWidget.d.ts +2 -2
  266. package/dist/finstrong/components/HealthChart.d.ts +1 -1
  267. package/dist/finstrong/components/onboarding/OnboardingAddMonthlyIncome.d.ts +1 -1
  268. package/dist/finstrong/components/onboarding/OnboardingStepsDrawer.d.ts +1 -1
  269. package/dist/finstrong/components/shared/Accounts.d.ts +1 -1
  270. package/dist/finstrong/components/shared/DoubleBarChart.d.ts +1 -0
  271. package/dist/finstrong/components/shared/ScoreHistoryTimeline.d.ts +1 -1
  272. package/dist/finstrong/components/shared/Transactions.d.ts +1 -1
  273. package/dist/finstrong/index.d.ts +0 -2
  274. package/dist/finstrong/index.es.js +1587 -1349
  275. package/dist/finstrong/util/finstrongUtils.d.ts +3 -9
  276. package/dist/goals/GoalsWidget.d.ts +2 -2
  277. package/dist/goals/components/AccountSelectionDrawer.d.ts +1 -1
  278. package/dist/goals/components/AddGoal.d.ts +1 -1
  279. package/dist/goals/components/GoalDetails.d.ts +1 -1
  280. package/dist/goals/components/GoalDetailsDrawer.d.ts +1 -1
  281. package/dist/goals/components/GoalList.d.ts +1 -1
  282. package/dist/goals/components/GoalStatusCard.d.ts +1 -1
  283. package/dist/goals/components/ManageGoals.d.ts +1 -1
  284. package/dist/goals/components/actions/AccountAction.d.ts +1 -1
  285. package/dist/goals/components/actions/AddRetirementAccountAction.d.ts +1 -1
  286. package/dist/goals/components/actions/AmountToSaveAction.d.ts +1 -1
  287. package/dist/goals/components/actions/BirthdayAction.d.ts +1 -1
  288. package/dist/goals/components/actions/ChangeAccountAction.d.ts +1 -1
  289. package/dist/goals/components/actions/ContributionAction.d.ts +1 -1
  290. package/dist/goals/components/actions/GoalNameAction.d.ts +1 -1
  291. package/dist/goals/components/actions/InterestRateAction.d.ts +1 -1
  292. package/dist/goals/components/actions/MonthlyPaymentAction.d.ts +1 -1
  293. package/dist/goals/components/actions/OriginalBalanceAction.d.ts +1 -1
  294. package/dist/goals/components/actions/RetirementAgeAction.d.ts +1 -1
  295. package/dist/goals/components/addgoal/AddGoalListItem.d.ts +2 -2
  296. package/dist/goals/components/managegoals/CompleteListItem.d.ts +1 -1
  297. package/dist/goals/components/managegoals/OngoingListItem.d.ts +3 -2
  298. package/dist/goals/components/managegoals/ReorderGoals.d.ts +1 -1
  299. package/dist/goals/components/micro/GoalMicroStatusCard.d.ts +1 -1
  300. package/dist/goals/index.d.ts +0 -2
  301. package/dist/goals/index.es.js +707 -787
  302. package/dist/help/HelpWidget.d.ts +2 -2
  303. package/dist/help/components/HelpContent.d.ts +1 -1
  304. package/dist/help/components/HelpList.d.ts +1 -1
  305. package/dist/help/components/content/BottomImageContent.d.ts +1 -1
  306. package/dist/help/components/content/ContentItem.d.ts +1 -1
  307. package/dist/help/components/content/LeftImageContent.d.ts +1 -1
  308. package/dist/help/components/content/NoImageContent.d.ts +1 -1
  309. package/dist/help/components/content/RightImageContent.d.ts +1 -1
  310. package/dist/help/components/content/TopImageContent.d.ts +1 -1
  311. package/dist/help/components/content/section/Accounts.d.ts +1 -1
  312. package/dist/help/components/content/section/Budgets.d.ts +1 -1
  313. package/dist/help/components/content/section/CashFlow.d.ts +1 -1
  314. package/dist/help/components/content/section/Debts.d.ts +1 -1
  315. package/dist/help/components/content/section/General.d.ts +1 -1
  316. package/dist/help/components/content/section/Goals.d.ts +1 -1
  317. package/dist/help/components/content/section/Insights.d.ts +1 -1
  318. package/dist/help/components/content/section/Investments.d.ts +1 -1
  319. package/dist/help/components/content/section/Mobile.d.ts +1 -1
  320. package/dist/help/components/content/section/NetWorth.d.ts +1 -1
  321. package/dist/help/components/content/section/Notifications.d.ts +1 -1
  322. package/dist/help/components/content/section/RecurringTransactions.d.ts +1 -1
  323. package/dist/help/components/content/section/Spending.d.ts +1 -1
  324. package/dist/help/components/content/section/Transactions.d.ts +1 -1
  325. package/dist/help/components/content/section/Trends.d.ts +1 -1
  326. package/dist/help/components/content/section/index.d.ts +15 -15
  327. package/dist/help/components/requestsupport/ContactSupport.d.ts +1 -1
  328. package/dist/help/components/requestsupport/HelpByCategoryList.d.ts +1 -1
  329. package/dist/help/components/requestsupport/MissingInstitution.d.ts +1 -1
  330. package/dist/help/components/requestsupport/PopularTopicsDrawer.d.ts +1 -1
  331. package/dist/help/components/requestsupport/PopularTopicsList.d.ts +1 -1
  332. package/dist/help/components/requestsupport/RequestSupport.d.ts +1 -1
  333. package/dist/help/components/requestsupport/RequestSupportFooter.d.ts +1 -1
  334. package/dist/help/components/requestsupport/RequestSupportInstitution.d.ts +1 -1
  335. package/dist/help/components/requestsupport/SupportSuccessMessage.d.ts +1 -1
  336. package/dist/help/index.es.js +19 -10
  337. package/dist/help/utils/index.d.ts +0 -1
  338. package/dist/{hooks-fY_n74f7.mjs → hooks-BaO_gOI6.mjs} +23 -23
  339. package/dist/insights/components/feed/Header.d.ts +8 -0
  340. package/dist/insights/components/index.d.ts +53 -0
  341. package/dist/insights/components/insights/AccountDiscoverability/AccountDiscoverability.d.ts +3 -0
  342. package/dist/insights/components/insights/AccountDiscoverability/index.d.ts +1 -0
  343. package/dist/insights/components/insights/AccountDiscoverability/types/AccountDiscoverability.d.ts +3 -0
  344. package/dist/insights/components/insights/AmericanUpcomingTaxDeadlineAlert/AmericanUpcomingTaxDeadlineAlert.d.ts +2 -0
  345. package/dist/insights/components/insights/AmericanUpcomingTaxDeadlineAlert/index.d.ts +1 -0
  346. package/dist/insights/components/insights/AmericanUpcomingTaxDeadlineAlert/types/AmericanUpcomingTaxDeadlineProps.d.ts +4 -0
  347. package/dist/insights/components/insights/BillAmountNotStandard/BillAmountNotStandard.d.ts +3 -0
  348. package/dist/insights/components/insights/BillAmountNotStandard/BillAmountNotStandardMUI.d.ts +3 -0
  349. package/dist/insights/components/insights/BillAmountNotStandard/index.d.ts +2 -0
  350. package/dist/insights/components/insights/BillAmountNotStandard/types/BillAmountNotStandard.d.ts +4 -0
  351. package/dist/insights/components/insights/CashBack/CashBack.d.ts +3 -0
  352. package/dist/insights/components/insights/CashBack/index.d.ts +1 -0
  353. package/dist/insights/components/insights/CashBack/types/CashBack.d.ts +7 -0
  354. package/dist/insights/components/insights/CategoryBudget/CategoryBudget.d.ts +3 -0
  355. package/dist/insights/components/insights/CategoryBudget/index.d.ts +1 -0
  356. package/dist/insights/components/insights/CategoryBudget/types/CategoryBudget.d.ts +10 -0
  357. package/dist/insights/components/insights/CategorySpendingV2/CategorySpendingV2.d.ts +2 -0
  358. package/dist/insights/components/insights/CategorySpendingV2/CategorySpendingV2MUI.d.ts +2 -0
  359. package/dist/insights/components/insights/CategorySpendingV2/index.d.ts +2 -0
  360. package/dist/insights/components/insights/CategorySpendingV2/types/CategorySpendingV2.d.ts +7 -0
  361. package/dist/insights/components/insights/CelebrateCreditCardPayoff/CelebrateCreditCardPayoff.d.ts +3 -0
  362. package/dist/insights/components/insights/CelebrateCreditCardPayoff/index.d.ts +1 -0
  363. package/dist/insights/components/insights/CelebrateCreditCardPayoff/types/CelebrateCreditCardPayoffProps.d.ts +9 -0
  364. package/dist/insights/components/insights/CustomTransaction/CustomTransaction.d.ts +3 -0
  365. package/dist/insights/components/insights/CustomTransaction/index.d.ts +1 -0
  366. package/dist/insights/components/insights/DiscoveredAccounts/DiscoveredAccountsBody.d.ts +9 -0
  367. package/dist/insights/components/insights/DiscoveredAccounts/DiscoveredAccountsLearnMoreDrawerContent.d.ts +21 -0
  368. package/dist/insights/components/insights/DiscoveredAccounts/DiscoveredAccountsMiniInsight.d.ts +6 -0
  369. package/dist/insights/components/insights/DiscoveredAccounts/index.d.ts +3 -0
  370. package/dist/insights/components/insights/FederalBankHoliday/FederalBankHoliday.d.ts +3 -0
  371. package/dist/insights/components/insights/FederalBankHoliday/FederalBankHolidayMUI.d.ts +3 -0
  372. package/dist/insights/components/insights/FederalBankHoliday/index.d.ts +2 -0
  373. package/dist/insights/components/insights/FederalBankHoliday/types/FederalBankHoliday.d.ts +4 -0
  374. package/dist/insights/components/insights/MarketingHub/Offer.d.ts +3 -0
  375. package/dist/insights/components/insights/MarketingHub/Types.d.ts +33 -0
  376. package/dist/insights/components/insights/MarketingHub/index.d.ts +2 -0
  377. package/dist/insights/components/insights/MonthlyDebtToIncomeComparisonV2/MonthlyDebtToIncomeComparisonV2.d.ts +2 -0
  378. package/dist/insights/components/insights/MonthlyDebtToIncomeComparisonV2/index.d.ts +1 -0
  379. package/dist/insights/components/insights/MonthlyDebtToIncomeComparisonV2/types/index.d.ts +4 -0
  380. package/dist/insights/components/insights/MonthlyEmergencyFundReview/LastMonthsContributionSection.d.ts +6 -0
  381. package/dist/insights/components/insights/MonthlyEmergencyFundReview/MonthlyEmergencyFundReviewBody.d.ts +21 -0
  382. package/dist/insights/components/insights/MonthlyEmergencyFundReview/ProjectedCompletionSection.d.ts +6 -0
  383. package/dist/insights/components/insights/MonthlyEmergencyFundReview/TotalSection.d.ts +7 -0
  384. package/dist/insights/components/insights/MonthlyEmergencyFundReview/index.d.ts +4 -0
  385. package/dist/insights/components/insights/MonthlySavingsToIncomeComparison/MonthlySavingsToIncomeComparison.d.ts +2 -0
  386. package/dist/insights/components/insights/MonthlySavingsToIncomeComparison/index.d.ts +1 -0
  387. package/dist/insights/components/insights/MonthlySavingsToIncomeComparison/types/index.d.ts +4 -0
  388. package/dist/insights/components/insights/MonthlySpendToIncomeComparisonV2/MonthlySpendToIncomeComparisonV2.d.ts +2 -0
  389. package/dist/insights/components/insights/MonthlySpendToIncomeComparisonV2/index.d.ts +1 -0
  390. package/dist/insights/components/insights/MonthlySpendToIncomeComparisonV2/types/index.d.ts +4 -0
  391. package/dist/insights/components/insights/MonthlySpendingComparisonV2/MonthlySpendingComparisonV2.d.ts +3 -0
  392. package/dist/insights/components/insights/MonthlySpendingComparisonV2/__test__/MonthlySpendComparisonV2.test.d.ts +1 -0
  393. package/dist/insights/components/insights/MonthlySpendingComparisonV2/index.d.ts +1 -0
  394. package/dist/insights/components/insights/MonthlySpendingComparisonV2/types/MonthlySpendComparisonV2.d.ts +4 -0
  395. package/dist/insights/components/insights/P2pCategorization/P2pCategorization.d.ts +3 -0
  396. package/dist/insights/components/insights/P2pCategorization/_tests_/P2pCategorizationMultipleTransaction.test.d.ts +0 -0
  397. package/dist/insights/components/insights/P2pCategorization/_tests_/P2pCategorizationSingleTransaction.test.d.ts +0 -0
  398. package/dist/insights/components/insights/P2pCategorization/index.d.ts +4 -0
  399. package/dist/insights/components/insights/P2pCategorization/shared/P2pCategorizationMultipleTransactions.d.ts +3 -0
  400. package/dist/insights/components/insights/P2pCategorization/shared/P2pCategorizationSingleTransaction.d.ts +3 -0
  401. package/dist/insights/components/insights/P2pCategorization/types/P2pCategorization.d.ts +17 -0
  402. package/dist/insights/components/insights/SavingsAccountBalancesSummary/SavingsAccountBalancesSummary.d.ts +2 -0
  403. package/dist/insights/components/insights/SavingsAccountBalancesSummary/index.d.ts +1 -0
  404. package/dist/insights/components/insights/SavingsAccountBalancesSummary/types/SavingsAccountBalancesSummary.d.ts +4 -0
  405. package/dist/insights/components/insights/SetUpDirectDeposit/SetUpDirectDepositBody.d.ts +3 -0
  406. package/dist/insights/components/insights/SetUpDirectDeposit/index.d.ts +1 -0
  407. package/dist/insights/components/insights/SharedDeposit/SharedDeposit.d.ts +2 -0
  408. package/dist/insights/components/insights/SharedDeposit/index.d.ts +1 -0
  409. package/dist/insights/components/insights/SharedDeposit/types/index.d.ts +7 -0
  410. package/dist/insights/components/insights/SwitchDirectDeposit/AccountBox.d.ts +7 -0
  411. package/dist/insights/components/insights/SwitchDirectDeposit/SwitchDirectDepositBody.d.ts +10 -0
  412. package/dist/insights/components/insights/SwitchDirectDeposit/SwitchDirectDepositMainContainer.d.ts +9 -0
  413. package/dist/insights/components/insights/SwitchDirectDeposit/index.d.ts +3 -0
  414. package/dist/insights/components/insights/UnifiedDeposit/UnifiedDeposit.d.ts +7 -0
  415. package/dist/insights/components/insights/UnifiedDeposit/UnifiedDepositBody.d.ts +11 -0
  416. package/dist/insights/components/insights/UnifiedDeposit/index.d.ts +1 -0
  417. package/dist/insights/components/insights/UserFeedback/StyledToggleButton.d.ts +7 -0
  418. package/dist/insights/components/insights/UserFeedback/Types.d.ts +27 -0
  419. package/dist/insights/components/insights/UserFeedback/UserFeedback.d.ts +3 -0
  420. package/dist/insights/components/insights/UserFeedback/index.d.ts +1 -0
  421. package/dist/insights/components/insights/WeeklyNoSpendDays/BubbleWeek.d.ts +9 -0
  422. package/dist/insights/components/insights/WeeklyNoSpendDays/NoSpendIcons.d.ts +1 -0
  423. package/dist/insights/components/insights/WeeklyNoSpendDays/WeeklyNoSpendDays.d.ts +12 -0
  424. package/dist/insights/components/insights/WeeklyNoSpendDays/_tests_/WeeklyNoSpendDays.test.d.ts +0 -0
  425. package/dist/insights/components/insights/WeeklyNoSpendDays/index.d.ts +1 -0
  426. package/dist/insights/components/insights/index.d.ts +25 -0
  427. package/dist/insights/components/shared/AccountBalanceCard.d.ts +13 -0
  428. package/dist/insights/components/shared/BottomSheet.d.ts +13 -0
  429. package/dist/insights/components/shared/CarouselControls.d.ts +14 -0
  430. package/dist/insights/components/shared/ChartDrawerTemplate/ChartDrawerTemplate.d.ts +30 -0
  431. package/dist/insights/components/shared/ChartDrawerTemplate/TipSection.d.ts +9 -0
  432. package/dist/insights/components/shared/ChartTransactionWithDrillDown.d.ts +22 -0
  433. package/dist/insights/components/shared/Charts/BarChart/BarChart.d.ts +2 -0
  434. package/dist/insights/components/shared/Charts/BarChart/BarChartV2.d.ts +2 -0
  435. package/dist/insights/components/shared/Charts/BarChart/ChartLegend.d.ts +9 -0
  436. package/dist/insights/components/shared/Charts/BarChart/ChartLegendV2.d.ts +10 -0
  437. package/dist/insights/components/shared/Charts/BarChart/CustomBarPlot.d.ts +18 -0
  438. package/dist/insights/components/shared/Charts/BarChart/CustomBarPlotV2.d.ts +18 -0
  439. package/dist/insights/components/shared/Charts/BarChart/CustomDoubleBarPlot.d.ts +18 -0
  440. package/dist/insights/components/shared/Charts/BarChart/CustomDoubleBarPlotMXUI.d.ts +18 -0
  441. package/dist/insights/components/shared/Charts/BarChart/DoubleBarChart.d.ts +2 -0
  442. package/dist/insights/components/shared/Charts/BarChart/DoubleBarChartLegend.d.ts +10 -0
  443. package/dist/insights/components/shared/Charts/BarChart/DoubleBarChartLegendMXUI.d.ts +10 -0
  444. package/dist/insights/components/shared/Charts/BarChart/DoubleBarChartMXUI.d.ts +2 -0
  445. package/dist/insights/components/shared/Charts/BarChart/index.d.ts +4 -0
  446. package/dist/insights/components/shared/Charts/EmptyBarChart.d.ts +1 -0
  447. package/dist/insights/components/shared/Charts/index.d.ts +2 -0
  448. package/dist/insights/components/shared/Confetti.d.ts +5 -0
  449. package/dist/insights/components/shared/ConnectionCard.d.ts +14 -0
  450. package/dist/insights/components/shared/ConnectionDetailDrillDown.d.ts +25 -0
  451. package/dist/insights/components/shared/Coupon.d.ts +8 -0
  452. package/dist/insights/components/shared/DeepLinks/DeepLinkDialog.d.ts +11 -0
  453. package/dist/insights/components/shared/DeepLinks/DirectDeposit/Circle.d.ts +6 -0
  454. package/dist/insights/components/shared/DeepLinks/DirectDeposit/DirectDepositDeepLink.d.ts +24 -0
  455. package/dist/insights/components/shared/DeepLinks/DirectDeposit/Dot.d.ts +1 -0
  456. package/dist/insights/components/shared/DeepLinks/DirectDeposit/Oval.d.ts +1 -0
  457. package/dist/insights/components/shared/DirectDeposit/DirectDeposit.d.ts +3 -0
  458. package/dist/insights/components/shared/DirectDeposit/DirectDepositSubHeader.d.ts +14 -0
  459. package/dist/insights/components/shared/DirectDeposit/FullFeedBodyHeader.d.ts +10 -0
  460. package/dist/insights/components/shared/DirectDeposit/LeftBox.d.ts +7 -0
  461. package/dist/insights/components/shared/DirectDeposit/MiniBodyHeader.d.ts +10 -0
  462. package/dist/insights/components/shared/DirectDeposit/RightBox.d.ts +8 -0
  463. package/dist/insights/components/shared/DiscoveredAccountsConnect.d.ts +8 -0
  464. package/dist/insights/components/shared/DonutChartV2.d.ts +13 -0
  465. package/dist/insights/components/shared/DrillDownCalculation/BalanceStepper.d.ts +12 -0
  466. package/dist/insights/components/shared/DrillDownCalculation/DrillDownCalculation.d.ts +31 -0
  467. package/dist/insights/components/shared/ErrorCard/ErrorCard.d.ts +8 -0
  468. package/dist/insights/components/shared/GenericFeedback/FeedbackButtons.d.ts +15 -0
  469. package/dist/insights/components/shared/GenericFeedback/FeedbackDescription.d.ts +5 -0
  470. package/dist/insights/components/shared/GenericFeedback/FeedbackHeader.d.ts +15 -0
  471. package/dist/insights/components/shared/GenericFeedback/FeedbackOptions.d.ts +12 -0
  472. package/dist/insights/components/shared/GenericFeedback/FeedbackText.d.ts +13 -0
  473. package/dist/insights/components/shared/GoalProgress.d.ts +10 -0
  474. package/dist/insights/components/shared/GradientBox.d.ts +8 -0
  475. package/dist/insights/components/shared/InsightsCard/BeatCard.d.ts +20 -0
  476. package/dist/insights/components/shared/InsightsCard/BeatCardMUI.d.ts +20 -0
  477. package/dist/insights/components/shared/InsightsCard/CardButtonSection.d.ts +7 -0
  478. package/dist/insights/components/shared/InsightsCard/CardError.d.ts +5 -0
  479. package/dist/insights/components/shared/InsightsCard/CardFooter.d.ts +7 -0
  480. package/dist/insights/components/shared/InsightsCard/CardHeader.d.ts +11 -0
  481. package/dist/insights/components/shared/InsightsCard/CardHeaderMUI.d.ts +11 -0
  482. package/dist/insights/components/shared/InsightsCard/CardLoading.d.ts +5 -0
  483. package/dist/insights/components/shared/InsightsCard/ClientConfigurableCta.d.ts +5 -0
  484. package/dist/insights/components/shared/InsightsCard/ContentAndDescription.d.ts +15 -0
  485. package/dist/insights/components/shared/InsightsCard/ContentAndDescriptionMUI.d.ts +15 -0
  486. package/dist/insights/components/shared/InsightsCard/Description.d.ts +10 -0
  487. package/dist/insights/components/shared/InsightsCard/DescriptionMUI.d.ts +10 -0
  488. package/dist/insights/components/shared/InsightsCard/EmbeddedCard.d.ts +9 -0
  489. package/dist/insights/components/shared/InsightsCard/FeedbackCard.d.ts +13 -0
  490. package/dist/insights/components/shared/InsightsCard/InsightButton.d.ts +12 -0
  491. package/dist/insights/components/shared/InsightsCard/MiniDescription.d.ts +9 -0
  492. package/dist/insights/components/shared/InsightsCard/MiniDescriptionMUI.d.ts +9 -0
  493. package/dist/insights/components/shared/MenuAction.d.ts +15 -0
  494. package/dist/insights/components/shared/MiniInsightCard.d.ts +16 -0
  495. package/dist/insights/components/shared/P2P/P2PMultipleCategorization.d.ts +12 -0
  496. package/dist/insights/components/shared/P2PCategorizationSingleAccount/P2PCategorizationSingleAccount.d.ts +10 -0
  497. package/dist/insights/components/shared/ProgressBar.d.ts +9 -0
  498. package/dist/insights/components/shared/SaveAnExtra100/SaveAnExtra100.d.ts +9 -0
  499. package/dist/insights/components/shared/SaveEnoughToLiveOnBottomSection.d.ts +11 -0
  500. package/dist/insights/components/shared/SaveEnoughToLiveOnTopSection.d.ts +2 -0
  501. package/dist/insights/components/shared/StatusIndicator.d.ts +15 -0
  502. package/dist/insights/components/shared/TabContainer.d.ts +8 -0
  503. package/dist/insights/components/shared/ThemedSVGImage.d.ts +2 -0
  504. package/dist/insights/components/shared/TransactionCard.d.ts +14 -0
  505. package/dist/insights/components/shared/ZeroState/LinedCardZeroState.d.ts +1 -0
  506. package/dist/insights/components/shared/index.d.ts +2 -0
  507. package/dist/insights/hooks/useContainerDimensions.d.ts +5 -0
  508. package/dist/insights/index.d.ts +1 -1
  509. package/dist/insights/index.es.js +4843 -2
  510. package/dist/insights/themes/Typography.d.ts +1 -0
  511. package/dist/insights/themes/index.d.ts +1 -0
  512. package/dist/insights/types/Charts/BarChart.d.ts +96 -0
  513. package/dist/insights/types/CommonBeat.d.ts +367 -0
  514. package/dist/insights/types/DirectDeposit.d.ts +16 -0
  515. package/dist/insights/types/ThemedSVGImage.d.ts +5 -0
  516. package/dist/investments/InvestmentsWidget.d.ts +2 -2
  517. package/dist/investments/components/AnalysisDetails.d.ts +1 -1
  518. package/dist/investments/components/allocation/util/createInvestementsAllocationData.d.ts +2 -2
  519. package/dist/investments/index.es.js +574 -574
  520. package/dist/merchants/index.d.ts +0 -1
  521. package/dist/merchants/index.es.js +18 -20
  522. package/dist/microinsights/InsightsMicroWidget.d.ts +1 -14
  523. package/dist/microinsights/MicroCardTemplate.d.ts +2 -4
  524. package/dist/microinsights/beaticons/AreaChartIcon.d.ts +3 -0
  525. package/dist/microinsights/beaticons/AverageSpendComparisonIcon.d.ts +3 -0
  526. package/dist/microinsights/beaticons/BeatMaterialIcon.d.ts +5 -1
  527. package/dist/microinsights/beaticons/InstitutionLogoIcon.d.ts +5 -0
  528. package/dist/microinsights/beaticons/MonthlySpendComparisonIcon.d.ts +0 -2
  529. package/dist/microinsights/beaticons/index.d.ts +3 -0
  530. package/dist/microinsights/cards/InsightCard.d.ts +3 -3
  531. package/dist/microinsights/cards/NoRelevantInsightsCard.d.ts +3 -3
  532. package/dist/microinsights/cards/ViewMoreMicroCard.d.ts +3 -3
  533. package/dist/microinsights/cards/ZeroStateCard.d.ts +3 -3
  534. package/dist/microinsights/carousel/BeatList.d.ts +3 -3
  535. package/dist/microinsights/carousel/CarouselHeader.d.ts +4 -2
  536. package/dist/microinsights/carousel/MicroBeatCarousel.d.ts +12 -12
  537. package/dist/microinsights/constants/Analytics.d.ts +1 -1
  538. package/dist/microinsights/context/InsightsMicroWidgetDataProvider.d.ts +1 -1
  539. package/dist/microinsights/context/hooks.d.ts +1 -1
  540. package/dist/microinsights/index.d.ts +1 -1
  541. package/dist/microinsights/index.es.js +1 -1
  542. package/dist/microinsights/interfaces.d.ts +23 -40
  543. package/dist/microinsights/stores/CopyStore.d.ts +2 -2
  544. package/dist/microinsights/stores/InsightsMicroWidgetStore.d.ts +2 -2
  545. package/dist/microinsights/utils/DataSeries.d.ts +1 -1
  546. package/dist/microinsights/utils/colorType.d.ts +22 -0
  547. package/dist/networth/NetWorthWidget.d.ts +1 -1
  548. package/dist/networth/components/AssetsLiabilitiesDetail.d.ts +1 -1
  549. package/dist/networth/components/GainsLossesDetail.d.ts +1 -1
  550. package/dist/networth/components/NetWorthChange.d.ts +1 -1
  551. package/dist/networth/components/NetWorthListItem.d.ts +1 -1
  552. package/dist/networth/components/NetWorthSummary.d.ts +1 -1
  553. package/dist/networth/components/micro/NetworthData.d.ts +1 -1
  554. package/dist/networth/components/micro/ZeroState.d.ts +1 -1
  555. package/dist/networth/index.d.ts +0 -4
  556. package/dist/networth/index.es.js +302 -314
  557. package/dist/notifications/components/NotificationBadge.d.ts +1 -1
  558. package/dist/notifications/components/NotificationCard.d.ts +1 -1
  559. package/dist/notifications/components/NotificationDrawer.d.ts +1 -1
  560. package/dist/notifications/components/NotificationList.d.ts +2 -1
  561. package/dist/notifications/index.d.ts +0 -2
  562. package/dist/notifications/index.es.js +101 -93
  563. package/dist/recurringtransactions/RecurringTransactionsMiniWidget.d.ts +1 -1
  564. package/dist/recurringtransactions/RecurringTransactionsWidget.d.ts +2 -2
  565. package/dist/recurringtransactions/components/PaymentSchedule.d.ts +1 -1
  566. package/dist/recurringtransactions/components/RecurrenceList.d.ts +1 -1
  567. package/dist/recurringtransactions/components/RecurrenceRow.d.ts +1 -1
  568. package/dist/recurringtransactions/components/RecurringTransactionDetails.d.ts +1 -1
  569. package/dist/recurringtransactions/components/actions/PaymentScheduleAction.d.ts +1 -1
  570. package/dist/recurringtransactions/components/micro/MerchantLogosRow.d.ts +1 -1
  571. package/dist/recurringtransactions/components/micro/OverlappingMerchantLogos.d.ts +1 -1
  572. package/dist/recurringtransactions/components/shared/recurringsettings/AddRecurringTransactionDetails.d.ts +1 -1
  573. package/dist/recurringtransactions/components/shared/recurringsettings/RecurringRow.d.ts +1 -1
  574. package/dist/recurringtransactions/index.d.ts +0 -1
  575. package/dist/recurringtransactions/index.es.js +489 -462
  576. package/dist/settings/NotificationSettingsWidget.d.ts +1 -1
  577. package/dist/settings/SettingsWidget.d.ts +2 -2
  578. package/dist/settings/TransactionRulesWidget.d.ts +1 -1
  579. package/dist/settings/components/devices/DeviceDialog.d.ts +1 -1
  580. package/dist/settings/components/devices/DeviceList.d.ts +1 -1
  581. package/dist/settings/components/devices/DeviceTable.d.ts +1 -1
  582. package/dist/settings/components/notifications/AccountNotificationProfile.d.ts +1 -1
  583. package/dist/settings/components/notifications/AccountProfileListItem.d.ts +1 -1
  584. package/dist/settings/components/notifications/NotificationProfile.d.ts +1 -1
  585. package/dist/settings/components/notifications/NotificationSettings.d.ts +1 -1
  586. package/dist/settings/components/transactionrules/actions/EditRuleAction.d.ts +1 -1
  587. package/dist/settings/index.d.ts +0 -2
  588. package/dist/settings/index.es.js +419 -430
  589. package/dist/spending/SpendingMiniWidget.d.ts +1 -1
  590. package/dist/spending/SpendingWidget.d.ts +1 -1
  591. package/dist/spending/index.es.js +229 -222
  592. package/dist/spending/utils/SpendingData.d.ts +1 -1
  593. package/dist/transactions/TransactionWidget.d.ts +1 -1
  594. package/dist/transactions/components/shared/TransactionDetails.d.ts +1 -1
  595. package/dist/transactions/components/shared/TransactionList.d.ts +3 -4
  596. package/dist/transactions/components/shared/getEmbeddedInstanceSlotByBeatTemplates.d.ts +17 -0
  597. package/dist/transactions/components/shared/transactiondetails/Description.d.ts +1 -1
  598. package/dist/transactions/components/shared/transactiondetails/FlagTransaction.d.ts +1 -1
  599. package/dist/transactions/components/shared/transactiondetails/TransactionAmountHeader.d.ts +1 -1
  600. package/dist/transactions/components/shared/transactiondetails/TransactionDetailsView.d.ts +1 -1
  601. package/dist/transactions/components/shared/transactiondetails/actions/AddMerchantBudgetAction.d.ts +13 -0
  602. package/dist/transactions/components/shared/transactiondetails/actions/CategoryAction.d.ts +1 -1
  603. package/dist/transactions/components/shared/transactiondetails/actions/DateAction.d.ts +1 -1
  604. package/dist/transactions/components/shared/transactiondetails/actions/DeleteAction.d.ts +1 -1
  605. package/dist/transactions/components/shared/transactiondetails/actions/DeleteLogoAction.d.ts +1 -1
  606. package/dist/transactions/components/shared/transactiondetails/actions/ExcludeAction.d.ts +7 -0
  607. package/dist/transactions/components/shared/transactiondetails/actions/MemoAction.d.ts +1 -1
  608. package/dist/transactions/components/shared/transactiondetails/actions/SplitAction.d.ts +1 -1
  609. package/dist/transactions/components/shared/transactiondetails/actions/TagsAction.d.ts +1 -1
  610. package/dist/transactions/components/shared/transactiondetails/actions/index.d.ts +2 -1
  611. package/dist/transactions/components/shared/transactionlist/TransactionRow.d.ts +1 -1
  612. package/dist/transactions/components/shared/transactiontable/cells/PayeeCell.d.ts +4 -1
  613. package/dist/transactions/components/splitmanager/SplitManager.d.ts +1 -1
  614. package/dist/transactions/components/splitmanager/SplitRow.d.ts +1 -1
  615. package/dist/transactions/components/tagmanager/TagRow.d.ts +1 -1
  616. package/dist/transactions/components/transactionwidget/actions/EditCategoryAction.d.ts +1 -1
  617. package/dist/transactions/components/transactionwidget/actions/ExportCsvAction.d.ts +1 -1
  618. package/dist/transactions/constants/Actions.d.ts +4 -3
  619. package/dist/transactions/context/hooks.d.ts +1 -1
  620. package/dist/transactions/index.d.ts +0 -5
  621. package/dist/transactions/index.es.js +344 -351
  622. package/dist/transactions/utils/Filters.d.ts +1 -1
  623. package/dist/transactions/utils/Transactions.d.ts +17 -1
  624. package/dist/trends/TrendsFullWidget.d.ts +1 -1
  625. package/dist/trends/TrendsMiniWidget.d.ts +1 -1
  626. package/dist/trends/TrendsWidget.d.ts +1 -1
  627. package/dist/trends/components/CategoriesList.d.ts +1 -1
  628. package/dist/trends/components/CategoriesListItem.d.ts +1 -1
  629. package/dist/trends/components/CategoryDetails.d.ts +3 -0
  630. package/dist/trends/components/TrendsChartTotals.d.ts +1 -1
  631. package/dist/trends/components/TrendsInsights.d.ts +1 -1
  632. package/dist/trends/components/{TrendsTable.d.ts → TrendsTableContainer.d.ts} +2 -2
  633. package/dist/trends/components/trendstable/AccessibleSortIcon.d.ts +13 -0
  634. package/dist/trends/components/trendstable/TrendsTable.d.ts +12 -0
  635. package/dist/trends/index.d.ts +0 -1
  636. package/dist/trends/index.es.js +987 -874
  637. package/dist/trends/utils/SpendingData.d.ts +1 -1
  638. package/dist/trends/utils/TrendsTable.d.ts +5 -3
  639. package/dist/trends/utils/TrendsWidget.d.ts +7 -0
  640. package/dist/trends/utils/shared.d.ts +2 -2
  641. package/dist/{useAccountDisplayName-DbkgGLdg.mjs → useAccountDisplayName-CFa_MrS6.mjs} +5 -5
  642. package/dist/{useAriaLive-B3_pRUio.mjs → useAriaLive-MkYebyUR.mjs} +4 -4
  643. package/dist/{useDimensions-27p2evRx.mjs → useDimensions-CeDR9V8N.mjs} +6 -6
  644. package/dist/{useInsightsEnabled-dhmXeSyF.mjs → useInsightsEnabled-DaNLPmUU.mjs} +1 -1
  645. package/dist/{useScreenSize-B6JyS_Lj.mjs → useScreenSize-mWpmnh5w.mjs} +3 -3
  646. package/dist/{useWidgetLoadTimer-CrUzxN-P.mjs → useWidgetLoadTimer-CJb-RELP.mjs} +1 -1
  647. package/package.json +65 -43
  648. package/dist/AccountApi-DgZ8ILj1.mjs +0 -19
  649. package/dist/AccountDetailsHeader-BOV91g1o.mjs +0 -95
  650. package/dist/AccountFields-BRRH37K1.mjs +0 -140
  651. package/dist/AccountListItem-Ds5C0mOT.mjs +0 -90
  652. package/dist/AccountStore-BFKvXJSD.mjs +0 -244
  653. package/dist/Accounts-CuE8aSZN.mjs +0 -27
  654. package/dist/BeatApi-De2IaqH2.mjs +0 -21
  655. package/dist/BeatStore-D_NYuBSz.mjs +0 -81
  656. package/dist/BudgetUtil-CDSOZXem.mjs +0 -101
  657. package/dist/CashflowStore-naOtJcwo.mjs +0 -91
  658. package/dist/CategoryStore-DEqAnHbi.mjs +0 -186
  659. package/dist/CategoryUtil-CFHBvaV4.mjs +0 -80
  660. package/dist/CurrencyInput-DDQ4DBrE.mjs +0 -85
  661. package/dist/DateUtil-CVsMhbZU.mjs +0 -48
  662. package/dist/DebtsStore-Dv_T7Dts.mjs +0 -63
  663. package/dist/Dialog-CWymUiuO.mjs +0 -120
  664. package/dist/Donut-Dmy3JTWd.mjs +0 -86
  665. package/dist/Fetch-DecPFeGU.mjs +0 -119
  666. package/dist/FinstrongStore-BjFkMTIL.mjs +0 -451
  667. package/dist/GlobalAccountFilter-BpWlPAl5.mjs +0 -316
  668. package/dist/GoalStore-Dbjgft2i.mjs +0 -422
  669. package/dist/HeaderCell-DjuifqHJ.mjs +0 -6
  670. package/dist/LineChart-DHj-Bufi.mjs +0 -580
  671. package/dist/Loader-BSWSYqvn.mjs +0 -24
  672. package/dist/Localization-2MODESHW.mjs +0 -30
  673. package/dist/ManageIncome-DIIyqDTp.mjs +0 -585
  674. package/dist/MerchantStore-WvZ4gnQe.mjs +0 -37
  675. package/dist/MiniWidgetContainer-DKn7ndO6.mjs +0 -56
  676. package/dist/NetWorthStore-B6ziBtaH.mjs +0 -168
  677. package/dist/Notification-Bs1fdbzI.mjs +0 -95
  678. package/dist/NotificationStore-Ck2KdNmT.mjs +0 -79
  679. package/dist/OriginalBalanceAction-DFoG79Ba.mjs +0 -115
  680. package/dist/RecurringTransactionsStore-D_--5PWH.mjs +0 -277
  681. package/dist/RepeatingTransaction-C2txVA9O.mjs +0 -292
  682. package/dist/SearchBox-B2_zLv8-.mjs +0 -42
  683. package/dist/SettingsStore-CInvh-rQ.mjs +0 -269
  684. package/dist/SpendingLegend-BxefXiQd.mjs +0 -193
  685. package/dist/TransactionApi-CjBoLleL.mjs +0 -86
  686. package/dist/TransactionDetails-CPwv9xtZ.mjs +0 -1374
  687. package/dist/TransactionStore-D2aMUClq.mjs +0 -688
  688. package/dist/TrendsStore-BdsYfCc7.mjs +0 -183
  689. package/dist/User-CulNdZUr.mjs +0 -314
  690. package/dist/ViewMoreMicroCard-CDWR16_h.mjs +0 -1147
  691. package/dist/WidgetContainer-mzejMmz2.mjs +0 -555
  692. package/dist/accounts/stores/UiStore.d.ts +0 -10
  693. package/dist/accounts/utils/index.d.ts +0 -1
  694. package/dist/cashflow/api/CashflowApi.d.ts +0 -13
  695. package/dist/cashflow/stores/CashflowStore.d.ts +0 -8
  696. package/dist/categories/stores/UiStore.d.ts +0 -20
  697. package/dist/common/api/LocalizedCopyApi.d.ts +0 -8
  698. package/dist/common/api/index.d.ts +0 -10
  699. package/dist/common/components/barchart/Bar.d.ts +0 -25
  700. package/dist/common/components/barchart/BarChart.d.ts +0 -34
  701. package/dist/common/components/barchart/BarColumn.d.ts +0 -37
  702. package/dist/common/components/barchart/Legend.d.ts +0 -8
  703. package/dist/common/components/barchart/Util.d.ts +0 -42
  704. package/dist/common/components/barchart/index.d.ts +0 -1
  705. package/dist/common/stores/index.d.ts +0 -3
  706. package/dist/common/types/SpendingPlan.d.ts +0 -44
  707. package/dist/common/utils/Categories.d.ts +0 -6
  708. package/dist/debts/store/DebtsStore.d.ts +0 -9
  709. package/dist/debts/store/DebtsUiStore.d.ts +0 -13
  710. package/dist/debts/utils/DebtStore.d.ts +0 -4
  711. package/dist/debts/utils/DebtsWidget.d.ts +0 -14
  712. package/dist/debts/utils/shared.d.ts +0 -12
  713. package/dist/exportTransactionsToCSV-BU1jTY0Q.mjs +0 -48
  714. package/dist/help/constants/index.d.ts +0 -1
  715. package/dist/help/utils/getAccessibleHelpCategories.d.ts +0 -3
  716. package/dist/transactions/analytics.d.ts +0 -3
  717. package/dist/transactions/components/shared/transactiondetails/actions/HideAction.d.ts +0 -7
  718. package/dist/transactions/components/shared/transactionlist/DateRow.d.ts +0 -7
  719. package/dist/transactions/constants/Transaction.d.ts +0 -2
  720. package/dist/transactions/constants/TransactionsTable.d.ts +0 -17
  721. package/dist/transactions/stores/UiStore.d.ts +0 -25
  722. package/dist/transactions/utils/exportTransactionsToCSV.d.ts +0 -9
  723. package/dist/transactions/utils/sortAndFilterTransactions.d.ts +0 -3
  724. package/dist/trends/components/CategoryDetailDrawer.d.ts +0 -7
  725. package/dist/useCombineEvents-CRwX-qWE.mjs +0 -92
  726. package/dist/{common → core}/constants/Category.d.ts +0 -0
  727. package/dist/{common → core}/constants/DateFormats.d.ts +0 -0
  728. package/dist/{debts/constants/index.d.ts → core/constants/Debts.d.ts} +0 -0
  729. package/dist/{help → core}/constants/Help.d.ts +0 -0
  730. package/dist/{investments/constants/index.d.ts → core/constants/Investments.d.ts} +0 -0
  731. package/dist/{common → core}/constants/Numbers.d.ts +0 -0
  732. package/dist/{common → core}/constants/Table.d.ts +0 -0
  733. package/dist/{common → core}/stores/GlobalCopyStore.d.ts +0 -0
  734. package/dist/{common → core}/stores/GlobalUiStore.d.ts +0 -0
  735. package/dist/{common → core}/stores/UserStore.d.ts +1 -1
  736. /package/dist/{common → core}/types/Account.d.ts +0 -0
  737. /package/dist/{common → core}/types/Cashflow.d.ts +0 -0
  738. /package/dist/{common → core}/types/Category.d.ts +0 -0
  739. /package/dist/{common → core}/types/Date.d.ts +0 -0
  740. /package/dist/{common → core}/types/Debt.d.ts +0 -0
  741. /package/dist/{common → core}/types/Global.d.ts +0 -0
  742. /package/dist/{common → core}/types/GlobalCopy.d.ts +0 -0
  743. /package/dist/{common → core}/types/Goal.d.ts +0 -0
  744. /package/dist/{common → core}/types/Handlers.d.ts +0 -0
  745. /package/dist/{common → core}/types/Help.d.ts +0 -0
  746. /package/dist/{common → core}/types/Holding.d.ts +0 -0
  747. /package/dist/{common → core}/types/Institution.d.ts +0 -0
  748. /package/dist/{common → core}/types/LocalizedContent.d.ts +0 -0
  749. /package/dist/{common → core}/types/Merchant.d.ts +0 -0
  750. /package/dist/{common → core}/types/RepeatingTransaction.d.ts +0 -0
  751. /package/dist/{common → core}/types/ScheduledPayment.d.ts +0 -0
  752. /package/dist/{common → core}/types/ScreenSize.d.ts +0 -0
  753. /package/dist/{common → core}/types/Transaction.d.ts +0 -0
  754. /package/dist/{common → core}/types/User.d.ts +0 -0
  755. /package/dist/{common → core}/types/localization/AccountFilterCopy.d.ts +0 -0
  756. /package/dist/{common → core}/types/localization/AccountTypeCopy.d.ts +0 -0
  757. /package/dist/{common → core}/types/localization/AccountsCopy.d.ts +0 -0
  758. /package/dist/{common → core}/types/localization/AnalyticsCopy.d.ts +0 -0
  759. /package/dist/{common → core}/types/localization/CategoryCopy.d.ts +0 -0
  760. /package/dist/{common → core}/types/localization/ConnectCopy.d.ts +0 -0
  761. /package/dist/{common → core}/types/localization/CurrencyInputCopy.d.ts +0 -0
  762. /package/dist/{common → core}/types/localization/DateRangePickerCopy.d.ts +0 -0
  763. /package/dist/{common → core}/types/localization/FinstrongCopy.d.ts +0 -0
  764. /package/dist/{common → core}/types/localization/HelpCopy.d.ts +0 -0
  765. /package/dist/{common → core}/types/localization/InvestmentsCopy.d.ts +0 -0
  766. /package/dist/{common → core}/types/localization/MicroInsightsCopy.d.ts +0 -0
  767. /package/dist/{common → core}/types/localization/NetWorthCopy.d.ts +0 -0
  768. /package/dist/{common → core}/types/localization/NotificationsCopy.d.ts +0 -0
  769. /package/dist/{common → core}/types/localization/SettingsCopy.d.ts +0 -0
  770. /package/dist/{common → core}/types/localization/index.d.ts +0 -0
  771. /package/dist/{common → core}/utils/DateUtil.d.ts +0 -0
  772. /package/dist/{common → core}/utils/Fetch.d.ts +0 -0
  773. /package/dist/{common/utils/User.d.ts → core/utils/UserUtils.d.ts} +0 -0
@@ -1,50 +1,50 @@
1
- import { jsxs as o, jsx as e, Fragment as se } from "react/jsx-runtime";
2
- import A, { useState as O } from "react";
3
- import { observer as P } from "mobx-react-lite";
1
+ import { jsxs as i, jsx as e, Fragment as le } from "react/jsx-runtime";
2
+ import T, { useState as O } from "react";
3
+ import { observer as $ } from "mobx-react-lite";
4
4
  import _ from "@mui/material/Stack";
5
5
  import Fe from "@mui/material/Tab";
6
6
  import Ee from "@mui/material/Tabs";
7
- import { C as pe } from "../ConnectionsDrawer-BExzgE16.mjs";
7
+ import { C as pe } from "../ConnectionsDrawer-CtfPXk0M.mjs";
8
8
  import xe from "@mui/material/useMediaQuery";
9
9
  import Ne from "@mui/material/Box";
10
10
  import Me from "@mui/material/Collapse";
11
- import K from "@mui/material/Divider";
12
- import te from "@mui/material/List";
13
- import ne from "@mui/material/ListItem";
11
+ import Y from "@mui/material/Divider";
12
+ import ne from "@mui/material/List";
13
+ import ie from "@mui/material/ListItem";
14
14
  import Ge from "@mui/material/ListItemButton";
15
15
  import ye from "@mui/material/ToggleButton";
16
16
  import fe from "@mui/material/ToggleButtonGroup";
17
- import { Text as r, P as J, InstitutionLogo as oe } from "@mxenabled/mxui";
18
- import He from "@mui/material/Button";
19
- import { u as M, g as ve, s as H, b as Q, d as le } from "../hooks-fY_n74f7.mjs";
20
- import { A as z, W as Ue } from "../WidgetContainer-mzejMmz2.mjs";
21
- import { f as ie, a as je } from "../NumberFormatting-DjTD0t3W.mjs";
22
- import { u as U } from "../useScreenSize-B6JyS_Lj.mjs";
23
- import ce from "@mui/material/styles/useTheme";
24
- import { Icon as k } from "@mxenabled/mx-icons";
25
- import { D as ze } from "../Donut-Dmy3JTWd.mjs";
26
- import { useTheme as Oe } from "@mui/material/styles";
27
- import { f as Ve, A as V } from "../InvestmentUtil-jOyOgzIB.mjs";
28
- import Re from "@mui/material/ListItemText";
17
+ import { Text as o, P as X, InstitutionLogo as oe } from "@mxenabled/mxui";
18
+ import Ue from "@mui/material/Button";
19
+ import { u as N, g as ve, v as U, b as J, d as ce } from "../hooks-BaO_gOI6.mjs";
20
+ import { A as z } from "../Analytics-CzGzz_sE.mjs";
21
+ import { f as re, a as je } from "../NumberFormatting--XMeeBfr.mjs";
22
+ import { u as j } from "../useScreenSize-mWpmnh5w.mjs";
23
+ import { useTheme as Z } from "@mui/material/styles";
24
+ import { Icon as B } from "@mxenabled/mx-icons";
25
+ import { D as He } from "../Donut-SzzfZDHF.mjs";
26
+ import { f as ze, A as V } from "../InvestmentUtil-BItV7uEs.mjs";
27
+ import Oe from "@mui/material/ListItemText";
29
28
  import de from "@mui/material/IconButton";
30
- import Pe from "@mui/material/Tooltip";
29
+ import Ve from "@mui/material/Tooltip";
31
30
  import be from "@mui/material/Accordion";
32
31
  import _e from "@mui/material/AccordionDetails";
33
32
  import we from "@mui/material/AccordionSummary";
34
- import re from "@mui/material/Paper";
35
- import y from "@mui/system/Stack";
33
+ import se from "@mui/material/Paper";
34
+ import p from "@mui/system/Stack";
36
35
  import Ce from "@mui/material/TextField";
37
- import { D as Xe } from "../Drawer-Bet2ZPJo.mjs";
36
+ import { D as Re } from "../Drawer-BXqqBMxg.mjs";
38
37
  import { DataGridPro as $e } from "@mui/x-data-grid-pro";
39
- import { Stack as qe } from "@mui/material";
40
- import { L as Se } from "../Loader-BSWSYqvn.mjs";
41
- import { u as Ke } from "../useWidgetLoadTimer-CrUzxN-P.mjs";
42
- import { A as Ye } from "../Account-CMjOp7S2.mjs";
43
- import { E as Qe } from "../EmptyState-DoxNUae-.mjs";
38
+ import { Stack as Pe } from "@mui/material";
39
+ import { L as De } from "../Loader-CxeBwuPG.mjs";
40
+ import { u as qe } from "../useWidgetLoadTimer-CJb-RELP.mjs";
41
+ import { W as Ke } from "../WidgetContainer-DNuz_s7W.mjs";
42
+ import { A as Ye } from "../Account-BaJmiJAG.mjs";
43
+ import { E as Qe } from "../EmptyState-CJUDc3kD.mjs";
44
44
  const me = ({ sx: t = {} }) => {
45
- const { investments: h } = M(), { onEvent: c } = ve(), { setShowConnectionsWidget: m } = H();
46
- return /* @__PURE__ */ o(_, { sx: { alignItems: "center", gap: 24, height: 164, p: 24, width: "100%", ...t }, children: [
47
- /* @__PURE__ */ o(
45
+ const { investments: u } = N(), { onEvent: c } = ve(), { setShowConnectionsWidget: m } = U();
46
+ return /* @__PURE__ */ i(_, { sx: { alignItems: "center", gap: 24, height: 164, p: 24, width: "100%", ...t }, children: [
47
+ /* @__PURE__ */ i(
48
48
  _,
49
49
  {
50
50
  className: "inner-container",
@@ -55,31 +55,30 @@ const me = ({ sx: t = {} }) => {
55
55
  textAlign: "center"
56
56
  },
57
57
  children: [
58
- /* @__PURE__ */ e(r, { sx: { fontWeight: 600, whiteSpace: "normal" }, variant: "Body", children: h.overview.investment_accounts_footer }),
58
+ /* @__PURE__ */ e(o, { sx: { fontWeight: 600 }, variant: "body1", children: u.overview.investment_accounts_footer }),
59
59
  /* @__PURE__ */ e(
60
- r,
60
+ o,
61
61
  {
62
62
  sx: {
63
63
  color: "text.secondary",
64
- whiteSpace: "normal",
65
64
  fontWeight: 400
66
65
  },
67
- variant: "ParagraphSmall",
68
- children: h.overview.connect_more_accounts_description
66
+ variant: "subtitle2",
67
+ children: u.overview.connect_more_accounts_description
69
68
  }
70
69
  )
71
70
  ]
72
71
  }
73
72
  ),
74
73
  /* @__PURE__ */ e(
75
- He,
74
+ Ue,
76
75
  {
77
76
  onClick: () => {
78
77
  m(!0), c(z.ACCOUNTS_CLICK_CONNECT);
79
78
  },
80
79
  sx: { fontWeight: 600 },
81
80
  variant: "outlined",
82
- children: h.overview.connect_accounts
81
+ children: u.overview.connect_accounts
83
82
  }
84
83
  )
85
84
  ] });
@@ -93,7 +92,7 @@ const me = ({ sx: t = {} }) => {
93
92
  allocations_unknown: "#161D6A",
94
93
  allocations_us_bond: "#254995",
95
94
  allocations_us_stock: "#1E2D84"
96
- }, Ze = [
95
+ }, Xe = [
97
96
  {
98
97
  name: "allocations_cash"
99
98
  },
@@ -121,135 +120,135 @@ const me = ({ sx: t = {} }) => {
121
120
  {
122
121
  name: "allocations_unknown"
123
122
  }
124
- ], et = (t, h, c) => {
125
- const m = h, v = c;
126
- return t >= Math.min(m, v) && t < Math.max(m, v);
127
- }, tt = (t, h, c) => {
123
+ ], Ze = (t, u, c) => {
124
+ const m = u, f = c;
125
+ return t >= Math.min(m, f) && t < Math.max(m, f);
126
+ }, et = (t, u, c) => {
128
127
  const m = [
129
128
  ...new Set(t.map((d) => d.name.toLowerCase()))
130
129
  ];
131
- let v;
130
+ let f;
132
131
  return m.map((d) => {
133
- const s = t.reduce((g, f) => {
134
- const p = f.name;
135
- return p.toLowerCase() === d ? (v = p, Y(f) * f[h] / 100 + g) : g;
132
+ const l = t.reduce((x, h) => {
133
+ const b = h.name;
134
+ return b.toLowerCase() === d ? (f = b, Q(h) * h[u] / 100 + x) : x;
136
135
  }, 0);
137
136
  return {
138
- displayName: v,
139
- name: v,
140
- value: s,
141
- percentage: s / c
137
+ displayName: f,
138
+ name: f,
139
+ value: l,
140
+ percentage: l / c
142
141
  };
143
142
  });
144
- }, Y = (t) => t.calculated_market_value ? t.calculated_market_value : t.market_value, nt = (t, h, c) => {
145
- const m = Object.values(h.allocations_list), v = [];
146
- let b = 0;
147
- const d = t.map(({ guid: n }) => n), s = c.filter(({ account_guid: n }) => d.includes(n)).map((n) => ({
143
+ }, Q = (t) => t.calculated_market_value ? t.calculated_market_value : t.market_value, tt = (t, u, c) => {
144
+ const m = Object.values(u.allocations_list), f = [];
145
+ let v = 0;
146
+ const d = t.map(({ guid: n }) => n), l = c.filter(({ account_guid: n }) => d.includes(n)).map((n) => ({
148
147
  ...n,
149
148
  name: n.symbol || n.description,
150
- gainLoss: n.cost_basis || n.cost_basis === 0 ? Y(n) - n.cost_basis : 0
151
- })), { cashBalance: g, totalAccountBalance: f } = t.reduce(
152
- (n, x) => ({
153
- cashBalance: n.cashBalance + (x.cash_balance || 0),
154
- totalAccountBalance: n.totalAccountBalance + (x.balance || 0)
149
+ gainLoss: n.cost_basis || n.cost_basis === 0 ? Q(n) - n.cost_basis : 0
150
+ })), { cashBalance: x, totalAccountBalance: h } = t.reduce(
151
+ (n, g) => ({
152
+ cashBalance: n.cashBalance + (g.cash_balance || 0),
153
+ totalAccountBalance: n.totalAccountBalance + (g.balance || 0)
155
154
  }),
156
155
  { cashBalance: 0, totalAccountBalance: 0 }
157
- ), { marketValue: p, totalGainLoss: l } = s.reduce(
158
- (n, x) => ({
159
- marketValue: n.marketValue + Y(x),
160
- totalGainLoss: n.totalGainLoss + x.gainLoss
156
+ ), { marketValue: b, totalGainLoss: s } = l.reduce(
157
+ (n, g) => ({
158
+ marketValue: n.marketValue + Q(g),
159
+ totalGainLoss: n.totalGainLoss + g.gainLoss
161
160
  }),
162
161
  { marketValue: 0, totalGainLoss: 0 }
163
- ), u = p + g;
164
- Ze.forEach((n, x) => {
165
- const w = s.filter(
166
- (I) => !!I[n.name]
162
+ ), y = b + x;
163
+ Xe.forEach((n, g) => {
164
+ const C = l.filter(
165
+ (W) => !!W[n.name]
167
166
  );
168
- let S = w.reduce(
169
- (I, W) => I + Y(W) * W[n.name] / 100,
167
+ let D = C.reduce(
168
+ (W, A) => W + Q(A) * A[n.name] / 100,
170
169
  0
171
170
  );
172
- const B = tt(
173
- w,
171
+ const k = et(
172
+ C,
174
173
  n.name,
175
- S
174
+ D
176
175
  );
177
- if (n.name === "allocations_cash" && g > 0) {
178
- S += g;
179
- const I = {
180
- displayName: h.cash_balance_display_name,
176
+ if (n.name === "allocations_cash" && x > 0) {
177
+ D += x;
178
+ const W = {
179
+ displayName: u.cash_balance_display_name,
181
180
  name: "allocations_name",
182
- value: g,
183
- percentage: g / u
181
+ value: x,
182
+ percentage: x / y
184
183
  };
185
- B.push(I);
184
+ k.push(W);
186
185
  }
187
- S > 0 && (v.push({
186
+ D > 0 && (f.push({
188
187
  name: n.name,
189
- displayName: m[x],
190
- guid: `${n.name}-${x}`,
191
- holdings: B,
192
- percentage: S / u,
193
- value: S,
188
+ displayName: m[g],
189
+ guid: `${n.name}-${g}`,
190
+ holdings: k,
191
+ percentage: D / y,
192
+ value: D,
194
193
  color: Je[n.name]
195
- }), b += S);
194
+ }), v += D);
196
195
  });
197
- const i = v.map(
198
- ({ displayName: n, guid: x, color: w, value: S }) => ({
199
- id: x,
200
- color: w,
196
+ const r = f.map(
197
+ ({ displayName: n, guid: g, color: C, value: D }) => ({
198
+ id: g,
199
+ color: C,
201
200
  label: n,
202
- value: S / b * 100
201
+ value: D / v * 100
203
202
  })
204
203
  );
205
204
  return {
206
- investmentsData: v,
207
- donutData: i,
208
- totalAmount: b,
209
- totalGainLoss: l,
210
- totalMarketValue: u,
211
- totalGainLossPercentage: l / f
205
+ investmentsData: f,
206
+ donutData: r,
207
+ totalAmount: v,
208
+ totalGainLoss: s,
209
+ totalMarketValue: y,
210
+ totalGainLossPercentage: s / h
212
211
  };
213
- }, ae = (t) => t < 1e-3 ? "< 0.1%" : je(t), R = (t) => t === 0 ? ie(t, "0,0.00") : et(t, -0.01, 0.01) ? "< $0.01" : ie(t, "0,0.00"), ot = ({
212
+ }, ae = (t) => t < 1e-3 ? "< 0.1%" : je(t), R = (t) => t === 0 ? re(t, "0,0.00") : Ze(t, -0.01, 0.01) ? "< $0.01" : re(t, "0,0.00"), nt = ({
214
213
  data: t,
215
- onSelected: h,
214
+ onSelected: u,
216
215
  selectedId: c,
217
216
  selectedTabs: m,
218
- setSelectedTabs: v
217
+ setSelectedTabs: f
219
218
  }) => {
220
- const b = (l, u) => {
221
- u !== null && v(u);
222
- }, { isMobile: d } = U(), {
223
- investments: { allocation: s }
224
- } = M(), g = [
225
- { label: s.tabs_label_dollar, value: 0 },
226
- { label: s.tabs_label_percent, value: 1 }
227
- ], f = !t?.investmentsData.length, { isSmallMobile: p } = U();
228
- return /* @__PURE__ */ o(_, { sx: { mt: 15, gap: 12, width: d ? 250 : 412 }, children: [
219
+ const v = (s, y) => {
220
+ y !== null && f(y);
221
+ }, { isMobile: d } = j(), {
222
+ investments: { allocation: l }
223
+ } = N(), x = [
224
+ { label: l.tabs_label_dollar, value: 0 },
225
+ { label: l.tabs_label_percent, value: 1 }
226
+ ], h = !t?.investmentsData.length, { isSmallMobile: b } = j();
227
+ return /* @__PURE__ */ i(_, { sx: { mt: 15, gap: 12, width: d ? 250 : 412 }, children: [
229
228
  /* @__PURE__ */ e(
230
229
  fe,
231
230
  {
232
231
  exclusive: !0,
233
232
  fullWidth: !0,
234
- onChange: b,
235
- value: f ? -1 : m,
236
- children: g.map(({ label: l, value: u }) => /* @__PURE__ */ e(ye, { color: "primary", value: u, children: /* @__PURE__ */ e(r, { bold: !0, textTransform: "capitalize", variant: "Body", children: l }) }, l))
233
+ onChange: v,
234
+ value: h ? -1 : m,
235
+ children: x.map(({ label: s, value: y }) => /* @__PURE__ */ e(ye, { color: "primary", value: y, children: /* @__PURE__ */ e(o, { bold: !0, textTransform: "capitalize", variant: "body1", children: s }) }, s))
237
236
  }
238
237
  ),
239
- /* @__PURE__ */ e(te, { sx: { px: 12 }, children: t.investmentsData.map((l) => /* @__PURE__ */ o(A.Fragment, { children: [
238
+ /* @__PURE__ */ e(ne, { sx: { px: 12 }, children: t.investmentsData.map((s) => /* @__PURE__ */ i(T.Fragment, { children: [
240
239
  /* @__PURE__ */ e(
241
- ne,
240
+ ie,
242
241
  {
243
242
  disableGutters: !0,
244
243
  disablePadding: !0,
245
244
  sx: {
246
245
  minHeight: 44
247
246
  },
248
- children: /* @__PURE__ */ o(
247
+ children: /* @__PURE__ */ i(
249
248
  Ge,
250
249
  {
251
- "aria-expanded": c === l.guid,
252
- onClick: () => h(l.guid),
250
+ "aria-expanded": c === s.guid,
251
+ onClick: () => u(s.guid),
253
252
  sx: { minHeight: 44, px: 12, py: 0 },
254
253
  children: [
255
254
  /* @__PURE__ */ e(
@@ -258,11 +257,11 @@ const me = ({ sx: t = {} }) => {
258
257
  borderRadius: 4,
259
258
  flexShrink: 0,
260
259
  height: 8,
261
- sx: { backgroundColor: l.color, mr: 8 },
260
+ sx: { backgroundColor: s.color, mr: 8 },
262
261
  width: 8
263
262
  }
264
263
  ),
265
- /* @__PURE__ */ o(
264
+ /* @__PURE__ */ i(
266
265
  _,
267
266
  {
268
267
  alignItems: "center",
@@ -270,8 +269,8 @@ const me = ({ sx: t = {} }) => {
270
269
  justifyContent: "space-between",
271
270
  width: "100%",
272
271
  children: [
273
- /* @__PURE__ */ e(r, { bold: c === l.guid, children: l.displayName }),
274
- /* @__PURE__ */ e(r, { bold: c === l.guid, variant: "Body", children: m === 0 ? R(l.value) : ae(l.percentage) })
272
+ /* @__PURE__ */ e(o, { bold: c === s.guid, children: s.displayName }),
273
+ /* @__PURE__ */ e(o, { bold: c === s.guid, variant: "body1", children: m === 0 ? R(s.value) : ae(s.percentage) })
275
274
  ]
276
275
  }
277
276
  )
@@ -280,111 +279,111 @@ const me = ({ sx: t = {} }) => {
280
279
  )
281
280
  }
282
281
  ),
283
- /* @__PURE__ */ e(K, {}),
284
- l.holdings && l.holdings.length > 0 && /* @__PURE__ */ e(Me, { in: c === l.guid, unmountOnExit: !0, children: /* @__PURE__ */ o(te, { children: [
285
- l?.holdings?.map((u) => /* @__PURE__ */ e(
286
- ne,
282
+ /* @__PURE__ */ e(Y, {}),
283
+ s.holdings && s.holdings.length > 0 && /* @__PURE__ */ e(Me, { in: c === s.guid, unmountOnExit: !0, children: /* @__PURE__ */ i(ne, { children: [
284
+ s?.holdings?.map((y) => /* @__PURE__ */ e(
285
+ ie,
287
286
  {
288
287
  sx: {
289
288
  pl: 24,
290
289
  pr: 8,
291
290
  py: 0
292
291
  },
293
- children: /* @__PURE__ */ o(_, { direction: "row", justifyContent: "space-between", width: "100%", children: [
294
- /* @__PURE__ */ o(r, { children: [
295
- u.displayName,
292
+ children: /* @__PURE__ */ i(_, { direction: "row", justifyContent: "space-between", width: "100%", children: [
293
+ /* @__PURE__ */ i(o, { children: [
294
+ y.displayName,
296
295
  " "
297
296
  ] }),
298
- /* @__PURE__ */ e(r, { children: m === 0 ? R(u.value) : ae(u.percentage) })
297
+ /* @__PURE__ */ e(o, { children: m === 0 ? R(y.value) : ae(y.percentage) })
299
298
  ] })
300
299
  },
301
- u.displayName
300
+ y.displayName
302
301
  )),
303
- /* @__PURE__ */ e(K, {})
302
+ /* @__PURE__ */ e(Y, {})
304
303
  ] }) })
305
- ] }, l.guid)) }),
306
- f ? /* @__PURE__ */ o(se, { children: [
307
- /* @__PURE__ */ e(r, { sx: { color: "secondary.main", p: 8, textAlign: "center" }, children: s.empty_data }),
308
- /* @__PURE__ */ e(K, { sx: { borderColor: "border.light" } }),
304
+ ] }, s.guid)) }),
305
+ h ? /* @__PURE__ */ i(le, { children: [
306
+ /* @__PURE__ */ e(o, { sx: { color: "secondary.main", p: 8, textAlign: "center" }, children: l.empty_data }),
307
+ /* @__PURE__ */ e(Y, {}),
309
308
  /* @__PURE__ */ e(
310
309
  me,
311
310
  {
312
311
  sx: {
313
- ".inner-container": { width: p ? "100%" : 364 }
312
+ ".inner-container": { width: b ? "100%" : 364 }
314
313
  }
315
314
  }
316
315
  )
317
- ] }) : m === 0 && /* @__PURE__ */ e(r, { bold: !0, sx: { textAlign: "right", pr: 24 }, children: `${s.total_label_text} ${R(t.totalAmount)}` })
316
+ ] }) : m === 0 && /* @__PURE__ */ e(o, { bold: !0, sx: { textAlign: "right", pr: 24 }, children: `${l.total_label_text} ${R(t.totalAmount)}` })
318
317
  ] });
319
318
  }, it = ({
320
319
  data: t,
321
- hoveredId: h,
320
+ hoveredId: u,
322
321
  isPercentage: c,
323
322
  onMouseEnter: m,
324
- onMouseLeave: v,
325
- onSelected: b,
323
+ onMouseLeave: f,
324
+ onSelected: v,
326
325
  selectedId: d,
327
- size: s = 150,
328
- totalLabel: g
326
+ size: l = 150,
327
+ totalLabel: x
329
328
  }) => {
330
- const f = ce(), p = f.palette.mode === "dark", l = A.useMemo(
331
- () => d ? t.investmentsData.find(({ guid: B }) => B === d) : void 0,
329
+ const h = Z(), b = h.palette.mode === "dark", s = T.useMemo(
330
+ () => d ? t.investmentsData.find(({ guid: k }) => k === d) : void 0,
332
331
  [d]
333
332
  ), {
334
- investments: { allocation: u }
335
- } = M(), i = A.useMemo(() => t.donutData.length > 0 ? t.donutData : [{ id: "0", color: f.palette.border.light, value: 100 }], [t, f]), n = p ? "#0AC295" : "#09A57F", x = p ? "grey.300" : "grey.700", w = () => l ? u.pie_chart_centered_click_for_details : c ? ae(t.totalGainLossPercentage) : R(t.totalGainLoss), S = t.totalGainLoss >= 0 ? n : x;
333
+ investments: { allocation: y }
334
+ } = N(), r = T.useMemo(() => t.donutData.length > 0 ? t.donutData : [{ id: "0", color: h.palette.neutral.light, value: 100 }], [t, h]), n = b ? "#0AC295" : "#09A57F", g = b ? "grey.300" : "grey.700", C = () => s ? y.pie_chart_centered_click_for_details : c ? ae(t.totalGainLossPercentage) : R(t.totalGainLoss), D = t.totalGainLoss >= 0 ? n : g;
336
335
  return /* @__PURE__ */ e(
337
- ze,
336
+ He,
338
337
  {
339
- data: i,
340
- hoveredId: h,
341
- onClick: b,
338
+ data: r,
339
+ hoveredId: u,
340
+ onClick: v,
342
341
  onMouseEnter: m,
343
- onMouseLeave: v,
342
+ onMouseLeave: f,
344
343
  selectedId: d,
345
- size: s,
346
- children: /* @__PURE__ */ e(_, { alignItems: "center", height: "100%", justifyContent: "center", width: "100%", children: /* @__PURE__ */ e(_, { alignItems: "center", justifyContent: "center", minHeight: s, minWidth: s, children: /* @__PURE__ */ o(_, { alignItems: "center", sx: { gap: { xs: 4, xl: 8 }, mb: { xs: 4, xl: 8 } }, children: [
347
- /* @__PURE__ */ e(r, { color: "text.secondary", noWrap: !0, children: l?.displayName ?? g }),
348
- /* @__PURE__ */ e(J, { color: "text.primary", variant: "H1", children: R(l?.value ?? t.totalMarketValue) }),
349
- /* @__PURE__ */ o(_, { sx: { alignItems: "center", flexDirection: "row", gap: 4 }, children: [
350
- !l && /* @__PURE__ */ e(
351
- k,
344
+ size: l,
345
+ children: /* @__PURE__ */ e(_, { alignItems: "center", height: "100%", justifyContent: "center", width: "100%", children: /* @__PURE__ */ e(_, { alignItems: "center", justifyContent: "center", minHeight: l, minWidth: l, children: /* @__PURE__ */ i(_, { alignItems: "center", sx: { gap: { xs: 4, xl: 8 }, mb: { xs: 4, xl: 8 } }, children: [
346
+ /* @__PURE__ */ e(o, { color: "text.secondary", noWrap: !0, children: s?.displayName ?? x }),
347
+ /* @__PURE__ */ e(X, { color: "text.primary", variant: "h1", children: R(s?.value ?? t.totalMarketValue) }),
348
+ /* @__PURE__ */ i(_, { sx: { alignItems: "center", flexDirection: "row", gap: 4 }, children: [
349
+ !s && /* @__PURE__ */ e(
350
+ B,
352
351
  {
353
352
  name: t.totalGainLoss >= 0 ? "trending_up" : "trending_down",
354
353
  size: 20,
355
- sx: { color: S }
354
+ sx: { color: D }
356
355
  }
357
356
  ),
358
357
  /* @__PURE__ */ e(
359
- r,
358
+ o,
360
359
  {
361
360
  sx: {
362
- color: S,
361
+ color: D,
363
362
  fontWeight: 700
364
363
  },
365
- variant: "Small",
366
- children: w()
364
+ variant: "body2",
365
+ children: C()
367
366
  }
368
367
  )
369
368
  ] })
370
369
  ] }) }) })
371
370
  }
372
371
  );
373
- }, rt = () => {
374
- const [t, h] = A.useState(0), [c, m] = A.useState(""), [v, b] = A.useState(""), d = (n) => {
375
- c !== n ? m(n) : (m(""), b(""));
376
- }, { selectedAccountGuids: s } = Q(), { visibleHoldings: g } = H(), { visibleInvestmentAccounts: f } = le(), {
377
- investments: { allocation: p }
378
- } = M(), l = nt(
379
- f.filter(({ guid: n }) => s.includes(n)),
380
- p,
381
- g
382
- ), { isMobile: u } = U(), i = xe("(max-width:768px)");
383
- return /* @__PURE__ */ o(
372
+ }, ot = () => {
373
+ const [t, u] = T.useState(0), [c, m] = T.useState(""), [f, v] = T.useState(""), d = (n) => {
374
+ c !== n ? m(n) : (m(""), v(""));
375
+ }, { selectedAccountGuids: l } = J(), { visibleHoldings: x } = U(), { visibleInvestmentAccounts: h } = ce(), {
376
+ investments: { allocation: b }
377
+ } = N(), s = tt(
378
+ h.filter(({ guid: n }) => l.includes(n)),
379
+ b,
380
+ x
381
+ ), { isMobile: y } = j(), r = xe("(max-width:768px)");
382
+ return /* @__PURE__ */ i(
384
383
  _,
385
384
  {
386
- alignItems: i ? "center" : "flex-start",
387
- direction: i ? "column" : "row",
385
+ alignItems: r ? "center" : "flex-start",
386
+ direction: r ? "column" : "row",
388
387
  gap: { xs: 16, md: 64, xl: 100 },
389
388
  sx: {
390
389
  justifyContent: "center",
@@ -395,55 +394,55 @@ const me = ({ sx: t = {} }) => {
395
394
  /* @__PURE__ */ e(
396
395
  it,
397
396
  {
398
- data: l,
399
- hoveredId: v,
397
+ data: s,
398
+ hoveredId: f,
400
399
  isPercentage: t === 1,
401
400
  onMouseEnter: (n) => {
402
- c === n ? b("") : c || b(n);
401
+ c === n ? v("") : c || v(n);
403
402
  },
404
403
  onMouseLeave: () => {
405
- b("");
404
+ v("");
406
405
  },
407
406
  onSelected: d,
408
407
  selectedId: c,
409
- size: u ? 280 : 400,
410
- totalLabel: p.pie_chart_centered_text
408
+ size: y ? 280 : 400,
409
+ totalLabel: b.pie_chart_centered_text
411
410
  }
412
411
  ),
413
412
  /* @__PURE__ */ e(
414
- ot,
413
+ nt,
415
414
  {
416
- data: l,
415
+ data: s,
417
416
  onSelected: d,
418
417
  selectedId: c,
419
418
  selectedTabs: t,
420
- setSelectedTabs: h
419
+ setSelectedTabs: u
421
420
  }
422
421
  )
423
422
  ]
424
423
  }
425
424
  );
426
- }, at = P(rt), st = ({
425
+ }, rt = $(ot), st = ({
427
426
  analysisDetails: t,
428
- analysisType: h,
427
+ analysisType: u,
429
428
  copy: c,
430
429
  setAnalysisType: m
431
430
  }) => {
432
- const { isSmallMobile: v } = U(), b = A.useMemo(() => Object.keys(t).filter((s) => t[s] >= 1).map((s) => ({
433
- key: s,
434
- value: ie(t[s], "0,0"),
435
- formattedKey: Ve(s)
431
+ const { isSmallMobile: f } = j(), v = T.useMemo(() => Object.keys(t).filter((l) => t[l] >= 1).map((l) => ({
432
+ key: l,
433
+ value: re(t[l], "0,0"),
434
+ formattedKey: ze(l)
436
435
  })), [t]), d = [
437
436
  { label: c.equities, value: V.Stocks },
438
437
  { label: c.bonds, value: V.Bonds }
439
438
  ];
440
- return /* @__PURE__ */ o(_, { sx: { gap: 12, width: { md: 412 } }, children: [
439
+ return /* @__PURE__ */ i(_, { sx: { gap: 12, width: { md: 412 } }, children: [
441
440
  /* @__PURE__ */ e(
442
441
  fe,
443
442
  {
444
443
  color: "primary",
445
444
  exclusive: !0,
446
- onChange: (s, g) => g && m(g),
445
+ onChange: (l, x) => x && m(x),
447
446
  sx: {
448
447
  width: "100%",
449
448
  "& .MuiToggleButton-root": {
@@ -452,62 +451,62 @@ const me = ({ sx: t = {} }) => {
452
451
  textTransform: "capitalize"
453
452
  }
454
453
  },
455
- value: b.length ? h : -1,
456
- children: d.map(({ label: s, value: g }) => /* @__PURE__ */ e(ye, { sx: { width: "100%" }, value: g, children: s }, g))
454
+ value: v.length ? u : -1,
455
+ children: d.map(({ label: l, value: x }) => /* @__PURE__ */ e(ye, { sx: { width: "100%" }, value: x, children: l }, x))
457
456
  }
458
457
  ),
459
- b.length ? /* @__PURE__ */ e(
460
- te,
458
+ v.length ? /* @__PURE__ */ e(
459
+ ne,
461
460
  {
462
461
  sx: {
463
462
  "& .MuiListItemSecondaryAction-root": { pr: 12 },
464
- "& .MuiListItem-divider": { borderColor: "border.light" },
463
+ "& .MuiListItem-divider": { borderColor: "neutral.light" },
465
464
  "& .MuiListItem-root": { minHeight: 44, px: 12 }
466
465
  },
467
- children: b.map(({ value: s, formattedKey: g }) => /* @__PURE__ */ e(ne, { divider: !0, secondaryAction: /* @__PURE__ */ e(r, { children: s }), children: /* @__PURE__ */ e(
468
- Re,
466
+ children: v.map(({ value: l, formattedKey: x }) => /* @__PURE__ */ e(ie, { divider: !0, secondaryAction: /* @__PURE__ */ e(o, { children: l }), children: /* @__PURE__ */ e(
467
+ Oe,
469
468
  {
470
- primary: g,
471
- primaryTypographyProps: { fontStyle: "normal" }
469
+ primary: x,
470
+ slotProps: { primary: { fontStyle: "normal" } }
472
471
  }
473
- ) }, g))
472
+ ) }, x))
474
473
  }
475
- ) : /* @__PURE__ */ o(se, { children: [
476
- /* @__PURE__ */ e(r, { sx: { color: "secondary.main", p: 8, textAlign: "center" }, children: c.empty_data }),
477
- /* @__PURE__ */ e(K, { sx: { borderColor: "border.light" } }),
474
+ ) : /* @__PURE__ */ i(le, { children: [
475
+ /* @__PURE__ */ e(o, { sx: { color: "secondary.main", p: 8, textAlign: "center" }, children: c.empty_data }),
476
+ /* @__PURE__ */ e(Y, { sx: { borderColor: "neutral.light" } }),
478
477
  /* @__PURE__ */ e(
479
478
  me,
480
479
  {
481
480
  sx: {
482
- ".inner-container": { width: v ? "100%" : 364 }
481
+ ".inner-container": { width: f ? "100%" : 364 }
483
482
  }
484
483
  }
485
484
  )
486
485
  ] })
487
486
  ] });
488
- }, lt = ({ body: t, title: h }) => /* @__PURE__ */ o(_, { sx: { gap: 4, p: 12 }, children: [
489
- /* @__PURE__ */ e(r, { bold: !0, variant: "Body", children: h }),
490
- /* @__PURE__ */ e(J, { variant: "ParagraphSmall", children: t })
491
- ] }), ct = ({
487
+ }, at = ({ body: t, title: u }) => /* @__PURE__ */ i(_, { sx: { gap: 4, p: 12 }, children: [
488
+ /* @__PURE__ */ e(o, { bold: !0, variant: "body1", children: u }),
489
+ /* @__PURE__ */ e(X, { variant: "subtitle2", children: t })
490
+ ] }), lt = ({
492
491
  placement: t = "bottom",
493
- tooltip_info_body: h,
492
+ tooltip_info_body: u,
494
493
  tooltip_info_title: c
495
494
  }) => /* @__PURE__ */ e(
496
- Pe,
495
+ Ve,
497
496
  {
498
497
  enterTouchDelay: 500,
499
498
  placement: t,
500
- title: /* @__PURE__ */ e(lt, { body: h, title: c }),
501
- children: /* @__PURE__ */ e(de, { "aria-label": c, sx: { minHeight: 0, minWidth: 0, p: 0 }, children: /* @__PURE__ */ e(k, { name: "info", sx: { color: "info.main" } }) })
499
+ title: /* @__PURE__ */ e(at, { body: u, title: c }),
500
+ children: /* @__PURE__ */ e(de, { "aria-label": c, sx: { minHeight: 0, minWidth: 0, p: 0 }, children: /* @__PURE__ */ e(B, { name: "info", sx: { color: "info.main" } }) })
502
501
  }
503
- ), dt = () => {
502
+ ), ct = () => {
504
503
  const {
505
504
  investments: { analysis: t }
506
- } = M(), { analysisChartData: h, analysisDetails: c, analysisType: m, setAnalysisType: v } = H(), b = xe("(min-width:320px) and (max-width:375px)"), { isMobile: d } = U(), g = Oe().palette.mode === "dark", { cellDimension: f, columns: p, rows: l, textVariant: u } = A.useMemo(() => {
507
- const i = m === V.Stocks, n = Object.values(i ? t.stock_column_labels : t.bond_column_labels), x = Object.values(i ? t.stock_row_labels : t.bond_row_labels);
508
- return { cellDimension: d ? 72 : 100, columns: n, rows: x, textVariant: d ? "XSmall" : "Body" };
505
+ } = N(), { analysisChartData: u, analysisDetails: c, analysisType: m, setAnalysisType: f } = U(), v = xe("(min-width:320px) and (max-width:375px)"), { isMobile: d } = j(), x = Z().palette.mode === "dark", { cellDimension: h, columns: b, rows: s, textVariant: y } = T.useMemo(() => {
506
+ const r = m === V.Stocks, n = Object.values(r ? t.stock_column_labels : t.bond_column_labels), g = Object.values(r ? t.stock_row_labels : t.bond_row_labels);
507
+ return { cellDimension: d ? 72 : 100, columns: n, rows: g, textVariant: d ? "caption" : "body1" };
509
508
  }, [t, d, m]);
510
- return /* @__PURE__ */ o(
509
+ return /* @__PURE__ */ i(
511
510
  _,
512
511
  {
513
512
  sx: {
@@ -518,7 +517,7 @@ const me = ({ sx: t = {} }) => {
518
517
  px: 16
519
518
  },
520
519
  children: [
521
- /* @__PURE__ */ o(
520
+ /* @__PURE__ */ i(
522
521
  _,
523
522
  {
524
523
  sx: {
@@ -528,7 +527,7 @@ const me = ({ sx: t = {} }) => {
528
527
  pr: { lg: 72 }
529
528
  },
530
529
  children: [
531
- /* @__PURE__ */ o(
530
+ /* @__PURE__ */ i(
532
531
  _,
533
532
  {
534
533
  sx: {
@@ -540,7 +539,7 @@ const me = ({ sx: t = {} }) => {
540
539
  writingMode: "vertical-rl"
541
540
  },
542
541
  children: [
543
- /* @__PURE__ */ e(J, { bold: !0, color: "secondary.main", variant: u, children: m === V.Stocks ? t.market_capitalization : t.credit_quality }),
542
+ /* @__PURE__ */ e(X, { bold: !0, color: "secondary.main", variant: y, children: m === V.Stocks ? t.market_capitalization : t.credit_quality }),
544
543
  /* @__PURE__ */ e(
545
544
  _,
546
545
  {
@@ -549,38 +548,38 @@ const me = ({ sx: t = {} }) => {
549
548
  height: d ? 224 : 308,
550
549
  justifyContent: "space-around"
551
550
  },
552
- children: p.map((i) => /* @__PURE__ */ e(
553
- r,
551
+ children: b.map((r) => /* @__PURE__ */ e(
552
+ o,
554
553
  {
555
554
  sx: {
556
555
  color: "secondary.main",
557
556
  pl: 12,
558
557
  pr: d ? 4 : 0
559
558
  },
560
- variant: u,
561
- children: i
559
+ variant: y,
560
+ children: r
562
561
  },
563
- i
562
+ r
564
563
  ))
565
564
  }
566
565
  )
567
566
  ]
568
567
  }
569
568
  ),
570
- /* @__PURE__ */ o(_, { sx: { gap: 4 }, children: [
571
- /* @__PURE__ */ o(
569
+ /* @__PURE__ */ i(_, { sx: { gap: 4 }, children: [
570
+ /* @__PURE__ */ i(
572
571
  _,
573
572
  {
574
573
  sx: {
575
- alignSelf: b ? "start" : "center",
574
+ alignSelf: v ? "start" : "center",
576
575
  flexDirection: "row",
577
576
  gap: 8,
578
577
  pb: 12
579
578
  },
580
579
  children: [
581
- /* @__PURE__ */ e(r, { bold: !0, children: t.invest_analysis }),
580
+ /* @__PURE__ */ e(o, { bold: !0, children: t.invest_analysis }),
582
581
  /* @__PURE__ */ e(
583
- ct,
582
+ lt,
584
583
  {
585
584
  tooltip_info_body: t.tooltip_info_body,
586
585
  tooltip_info_title: t.tooltip_info_title
@@ -589,47 +588,47 @@ const me = ({ sx: t = {} }) => {
589
588
  ]
590
589
  }
591
590
  ),
592
- h.map((i, n, x) => /* @__PURE__ */ e(_, { sx: { flexDirection: "row", gap: 4 }, children: i.map((w, S) => {
593
- const B = n === 0, I = n === x.length - 1, W = S === 0, N = S === i.length - 1, F = Number(w.replace("%", "")) >= 25;
594
- let T = "grey.200", j = "grey.900";
595
- return g ? (T = F ? "grey.200" : "grey.700", j = F ? "grey.900" : "common.white") : (T = F ? "grey.700" : "grey.200", j = F ? "common.white" : "grey.900"), /* @__PURE__ */ e(
591
+ u.map((r, n, g) => /* @__PURE__ */ e(_, { sx: { flexDirection: "row", gap: 4 }, children: r.map((C, D) => {
592
+ const k = n === 0, W = n === g.length - 1, A = D === 0, G = D === r.length - 1, F = Number(C.replace("%", "")) >= 25;
593
+ let L = "grey.200", H = "grey.900";
594
+ return x ? (L = F ? "grey.200" : "grey.700", H = F ? "grey.900" : "common.white") : (L = F ? "grey.700" : "grey.200", H = F ? "common.white" : "grey.900"), /* @__PURE__ */ e(
596
595
  _,
597
596
  {
598
597
  sx: {
599
598
  ...{
600
- borderBottomLeftRadius: I && W ? 4 : 0,
601
- borderBottomRightRadius: I && N ? 4 : 0,
602
- borderTopLeftRadius: B && W ? 4 : 0,
603
- borderTopRightRadius: B && N ? 4 : 0
599
+ borderBottomLeftRadius: W && A ? 4 : 0,
600
+ borderBottomRightRadius: W && G ? 4 : 0,
601
+ borderTopLeftRadius: k && A ? 4 : 0,
602
+ borderTopRightRadius: k && G ? 4 : 0
604
603
  },
605
604
  alignItems: "center",
606
- bgcolor: T,
607
- height: f,
605
+ bgcolor: L,
606
+ height: h,
608
607
  justifyContent: "center",
609
- width: f
608
+ width: h
610
609
  },
611
610
  children: /* @__PURE__ */ e(
612
- r,
611
+ o,
613
612
  {
614
613
  sx: {
615
- color: j,
614
+ color: H,
616
615
  fontWeight: d ? 600 : 700
617
616
  },
618
- variant: d ? "Body" : "H3",
619
- children: w
617
+ variant: d ? "body1" : "h3",
618
+ children: C
620
619
  }
621
620
  )
622
621
  },
623
- S
622
+ D
624
623
  );
625
624
  }) }, n)),
626
- /* @__PURE__ */ e(_, { sx: { alignSelf: "center", flexDirection: "row", pt: 12 }, children: l.map((i) => /* @__PURE__ */ e(_, { sx: { alignItems: "center", width: f }, children: /* @__PURE__ */ e(r, { color: "secondary.main", variant: u, children: i }) }, i)) }),
625
+ /* @__PURE__ */ e(_, { sx: { alignSelf: "center", flexDirection: "row", pt: 12 }, children: s.map((r) => /* @__PURE__ */ e(_, { sx: { alignItems: "center", width: h }, children: /* @__PURE__ */ e(o, { color: "secondary.main", variant: y, children: r }) }, r)) }),
627
626
  /* @__PURE__ */ e(
628
- r,
627
+ o,
629
628
  {
630
629
  bold: !0,
631
630
  sx: { color: "secondary.main", pt: d ? 4 : 24, textAlign: "center" },
632
- variant: u,
631
+ variant: y,
633
632
  children: m === V.Stocks ? t.valuation : t.duration
634
633
  }
635
634
  )
@@ -647,38 +646,38 @@ const me = ({ sx: t = {} }) => {
647
646
  equities: t.equities,
648
647
  bonds: t.bonds
649
648
  },
650
- setAnalysisType: v
649
+ setAnalysisType: f
651
650
  }
652
651
  )
653
652
  ]
654
653
  }
655
654
  );
656
- }, mt = P(dt), ut = ({
655
+ }, dt = $(ct), mt = ({
657
656
  accountHoldingsData: t,
658
- currentEditedCostBasis: h,
657
+ currentEditedCostBasis: u,
659
658
  editingHoldingId: c,
660
659
  handleCostBasisBlur: m,
661
- handleCostBasisClick: v,
662
- handleCostBasisChange: b,
660
+ handleCostBasisClick: f,
661
+ handleCostBasisChange: v,
663
662
  handleCostBasisKeyDown: d,
664
- isOpen: s,
665
- onClose: g
663
+ isOpen: l,
664
+ onClose: x
666
665
  }) => {
667
- const { investments: f } = M(), [p, l] = A.useState({}), u = (i) => (n, x) => {
668
- l((w) => ({
669
- ...w,
670
- [i]: x
666
+ const { investments: h } = N(), [b, s] = T.useState({}), y = (r) => (n, g) => {
667
+ s((C) => ({
668
+ ...C,
669
+ [r]: g
671
670
  }));
672
671
  };
673
- return /* @__PURE__ */ o(
674
- Xe,
672
+ return /* @__PURE__ */ i(
673
+ Re,
675
674
  {
676
- ariaLabelClose: f.overview.close_investment_drawer,
677
- isOpen: s,
678
- onClose: g,
679
- title: f.overview.investment_details,
675
+ ariaLabelClose: h.overview.close_investment_drawer,
676
+ isOpen: l,
677
+ onClose: x,
678
+ title: h.overview.investment_details,
680
679
  children: [
681
- /* @__PURE__ */ o(y, { sx: { gap: 8, p: 24 }, children: [
680
+ /* @__PURE__ */ i(p, { sx: { gap: 8, p: 24 }, children: [
682
681
  /* @__PURE__ */ e(
683
682
  oe,
684
683
  {
@@ -687,11 +686,11 @@ const me = ({ sx: t = {} }) => {
687
686
  size: 64
688
687
  }
689
688
  ),
690
- /* @__PURE__ */ e(r, { sx: { color: "text.primary" }, variant: "Small", children: t.accounts.memberName }),
691
- /* @__PURE__ */ e(r, { sx: { color: "text.primary" }, variant: "H2", children: t.accounts.user_name || t.accounts.name }),
692
- /* @__PURE__ */ o(y, { sx: { alignItems: "center", flexDirection: "row", justifyContent: "space-between" }, children: [
693
- /* @__PURE__ */ e(r, { sx: { color: "text.primary", fontWeight: 600 }, variant: "Body", children: f.overview.current_balance }),
694
- /* @__PURE__ */ e(r, { sx: { color: "text.primary", fontWeight: 600 }, variant: "Body", children: t.accounts.balance?.toLocaleString("en-US", {
689
+ /* @__PURE__ */ e(o, { sx: { color: "text.primary" }, variant: "body2", children: t.accounts.memberName }),
690
+ /* @__PURE__ */ e(o, { sx: { color: "text.primary" }, variant: "h2", children: t.accounts.user_name || t.accounts.name }),
691
+ /* @__PURE__ */ i(p, { sx: { alignItems: "center", flexDirection: "row", justifyContent: "space-between" }, children: [
692
+ /* @__PURE__ */ e(o, { sx: { color: "text.primary", fontWeight: 600 }, variant: "body1", children: h.overview.current_balance }),
693
+ /* @__PURE__ */ e(o, { sx: { color: "text.primary", fontWeight: 600 }, variant: "body1", children: t.accounts.balance?.toLocaleString("en-US", {
695
694
  currency: "USD",
696
695
  maximumFractionDigits: 2,
697
696
  minimumFractionDigits: 2,
@@ -699,8 +698,8 @@ const me = ({ sx: t = {} }) => {
699
698
  }) })
700
699
  ] })
701
700
  ] }),
702
- /* @__PURE__ */ o(
703
- y,
701
+ /* @__PURE__ */ i(
702
+ p,
704
703
  {
705
704
  sx: {
706
705
  bgcolor: "background.default",
@@ -710,19 +709,19 @@ const me = ({ sx: t = {} }) => {
710
709
  py: 10
711
710
  },
712
711
  children: [
713
- /* @__PURE__ */ e(r, { sx: { color: "text.primary", fontWeight: 700 }, variant: "XSmall", children: f.overview.holding }),
714
- /* @__PURE__ */ e(r, { sx: { color: "text.primary", fontWeight: 700 }, variant: "XSmall", children: f.overview.market_value })
712
+ /* @__PURE__ */ e(o, { sx: { color: "text.primary", fontWeight: 700 }, variant: "caption", children: h.overview.holding }),
713
+ /* @__PURE__ */ e(o, { sx: { color: "text.primary", fontWeight: 700 }, variant: "caption", children: h.overview.market_value })
715
714
  ]
716
715
  }
717
716
  ),
718
- t.holdings?.map((i, n) => {
719
- const x = c === i.id;
720
- return /* @__PURE__ */ o(
717
+ t.holdings?.map((r, n) => {
718
+ const g = c === r.id;
719
+ return /* @__PURE__ */ i(
721
720
  be,
722
721
  {
723
722
  disableGutters: !0,
724
- expanded: p[i.id] === !0,
725
- onChange: i ? u(i?.id) : () => {
723
+ expanded: b[r.id] === !0,
724
+ onChange: r ? y(r?.id) : () => {
726
725
  },
727
726
  sx: {
728
727
  ":before": n === 0 ? { opacity: 0 } : {},
@@ -736,15 +735,15 @@ const me = ({ sx: t = {} }) => {
736
735
  id: "panel1a-header",
737
736
  sx: [
738
737
  { height: 64 },
739
- p[i.id] && n > 0 && {
738
+ b[r.id] && n > 0 && {
740
739
  borderTop: 1,
741
- borderColor: "border.main"
740
+ borderColor: "divider"
742
741
  }
743
742
  ],
744
- children: /* @__PURE__ */ o(y, { sx: { flexDirection: "row", width: "100%" }, children: [
743
+ children: /* @__PURE__ */ i(p, { sx: { flexDirection: "row", width: "100%" }, children: [
745
744
  /* @__PURE__ */ e("div", { style: { width: 24 } }),
746
- /* @__PURE__ */ o(
747
- y,
745
+ /* @__PURE__ */ i(
746
+ p,
748
747
  {
749
748
  sx: [
750
749
  {
@@ -755,28 +754,28 @@ const me = ({ sx: t = {} }) => {
755
754
  py: 14,
756
755
  width: "100%"
757
756
  },
758
- p[i.id] && {
757
+ b[r.id] && {
759
758
  borderBottom: 1,
760
- borderColor: "border.main"
759
+ borderColor: "divider"
761
760
  }
762
761
  ],
763
762
  children: [
764
763
  /* @__PURE__ */ e(
765
- y,
764
+ p,
766
765
  {
767
766
  sx: {
768
767
  alignItems: "center",
769
768
  flexDirection: "row",
770
769
  gap: 12
771
770
  },
772
- children: /* @__PURE__ */ o(y, { sx: { overflow: "hidden", width: 98 }, children: [
773
- /* @__PURE__ */ e(r, { sx: { fontWeight: 600 }, variant: "Body", children: i.holding }),
774
- /* @__PURE__ */ e(r, { variant: "XSmall", children: i.description })
771
+ children: /* @__PURE__ */ i(p, { sx: { overflow: "hidden", width: 98 }, children: [
772
+ /* @__PURE__ */ e(o, { sx: { fontWeight: 600 }, variant: "body1", children: r.holding }),
773
+ /* @__PURE__ */ e(o, { variant: "caption", children: r.description })
775
774
  ] })
776
775
  }
777
776
  ),
778
- /* @__PURE__ */ o(
779
- y,
777
+ /* @__PURE__ */ i(
778
+ p,
780
779
  {
781
780
  sx: {
782
781
  alignItems: "center",
@@ -786,47 +785,47 @@ const me = ({ sx: t = {} }) => {
786
785
  justifyContent: "flex-end"
787
786
  },
788
787
  children: [
789
- /* @__PURE__ */ o(y, { children: [
790
- /* @__PURE__ */ e(r, { sx: { fontWeight: 600, textAlign: "right" }, variant: "Body", children: i.marketValue?.toLocaleString("en-US", {
788
+ /* @__PURE__ */ i(p, { children: [
789
+ /* @__PURE__ */ e(o, { sx: { fontWeight: 600, textAlign: "right" }, variant: "body1", children: r.marketValue?.toLocaleString("en-US", {
791
790
  currency: "USD",
792
791
  maximumFractionDigits: 2,
793
792
  minimumFractionDigits: 2,
794
793
  style: "currency"
795
794
  }) }),
796
- /* @__PURE__ */ o(y, { sx: { alignItems: "center", gap: 2, flexDirection: "row" }, children: [
797
- i.totalGainLoss !== 0 && /* @__PURE__ */ e(
798
- k,
795
+ /* @__PURE__ */ i(p, { sx: { alignItems: "center", gap: 2, flexDirection: "row" }, children: [
796
+ r.totalGainLoss !== 0 && /* @__PURE__ */ e(
797
+ B,
799
798
  {
800
- name: i.totalGainLoss >= 0 ? "trending_up" : "trending_down",
799
+ name: r.totalGainLoss >= 0 ? "trending_up" : "trending_down",
801
800
  size: 12,
802
801
  sx: {
803
802
  verticalAlign: "middle",
804
803
  mr: 1,
805
- color: i.totalGainLoss >= 0 ? "success.main" : "grey.700"
804
+ color: r.totalGainLoss >= 0 ? "success.main" : "grey.700"
806
805
  }
807
806
  }
808
807
  ),
809
808
  /* @__PURE__ */ e(
810
- r,
809
+ o,
811
810
  {
812
811
  sx: {
813
- color: i.totalGainLoss <= 0 ? "grey.700" : "success.main",
814
- fontWeight: i.totalGainLoss <= 0 ? 400 : 700
812
+ color: r.totalGainLoss <= 0 ? "grey.700" : "success.main",
813
+ fontWeight: r.totalGainLoss <= 0 ? 400 : 700
815
814
  },
816
- variant: "XSmall",
817
- children: i.costBasis ? `${(i.totalGainLoss / i.costBasis * 100).toFixed(2)}%` : "0.00%"
815
+ variant: "caption",
816
+ children: r.costBasis ? `${(r.totalGainLoss / r.costBasis * 100).toFixed(2)}%` : "0.00%"
818
817
  }
819
818
  ),
820
- /* @__PURE__ */ e(r, { sx: { color: "grey.700" }, variant: "XSmall", children: "|" }),
819
+ /* @__PURE__ */ e(o, { sx: { color: "grey.700" }, variant: "caption", children: "|" }),
821
820
  /* @__PURE__ */ e(
822
- r,
821
+ o,
823
822
  {
824
823
  sx: {
825
- color: i.totalGainLoss <= 0 ? "grey.700" : "success.main",
826
- fontWeight: i.totalGainLoss <= 0 ? 400 : 700
824
+ color: r.totalGainLoss <= 0 ? "grey.700" : "success.main",
825
+ fontWeight: r.totalGainLoss <= 0 ? 400 : 700
827
826
  },
828
- variant: "XSmall",
829
- children: Math.abs(i.totalGainLoss).toLocaleString("en-US", {
827
+ variant: "caption",
828
+ children: Math.abs(r.totalGainLoss).toLocaleString("en-US", {
830
829
  currency: "USD",
831
830
  maximumFractionDigits: 2,
832
831
  minimumFractionDigits: 2,
@@ -837,9 +836,9 @@ const me = ({ sx: t = {} }) => {
837
836
  ] })
838
837
  ] }),
839
838
  /* @__PURE__ */ e(
840
- k,
839
+ B,
841
840
  {
842
- name: p[i.id] ? "expand_less" : "expand_more",
841
+ name: b[r.id] ? "expand_less" : "expand_more",
843
842
  size: 20
844
843
  }
845
844
  )
@@ -852,8 +851,8 @@ const me = ({ sx: t = {} }) => {
852
851
  ] })
853
852
  }
854
853
  ),
855
- /* @__PURE__ */ e(_e, { children: /* @__PURE__ */ o(
856
- y,
854
+ /* @__PURE__ */ e(_e, { children: /* @__PURE__ */ i(
855
+ p,
857
856
  {
858
857
  sx: {
859
858
  alignItems: "center",
@@ -862,28 +861,28 @@ const me = ({ sx: t = {} }) => {
862
861
  pl: 24
863
862
  },
864
863
  children: [
865
- /* @__PURE__ */ e(y, { sx: { width: 32 } }),
866
- /* @__PURE__ */ o(y, { sx: { flex: 1 }, children: [
867
- /* @__PURE__ */ o(
868
- y,
864
+ /* @__PURE__ */ e(p, { sx: { width: 32 } }),
865
+ /* @__PURE__ */ i(p, { sx: { flex: 1 }, children: [
866
+ /* @__PURE__ */ i(
867
+ p,
869
868
  {
870
869
  sx: {
871
870
  alignItems: "center",
872
871
  borderBottom: 1,
873
- borderColor: "border.main",
872
+ borderColor: "divider",
874
873
  flexDirection: "row",
875
874
  height: 48,
876
875
  justifyContent: "space-between",
877
876
  pr: 24
878
877
  },
879
878
  children: [
880
- /* @__PURE__ */ e(r, { sx: { color: "text.primary" }, variant: "Body", children: f.overview.quantity }),
881
- /* @__PURE__ */ e(r, { sx: { color: "text.primary" }, variant: "Small", children: i.qty })
879
+ /* @__PURE__ */ e(o, { sx: { color: "text.primary" }, variant: "body1", children: h.overview.quantity }),
880
+ /* @__PURE__ */ e(o, { sx: { color: "text.primary" }, variant: "body2", children: r.qty })
882
881
  ]
883
882
  }
884
883
  ),
885
- /* @__PURE__ */ o(
886
- y,
884
+ /* @__PURE__ */ i(
885
+ p,
887
886
  {
888
887
  sx: {
889
888
  alignItems: "center",
@@ -893,9 +892,9 @@ const me = ({ sx: t = {} }) => {
893
892
  pr: 24
894
893
  },
895
894
  children: [
896
- /* @__PURE__ */ e(r, { sx: { color: "text.primary" }, variant: "Body", children: f.overview.cost_basis_header }),
897
- /* @__PURE__ */ o(
898
- y,
895
+ /* @__PURE__ */ e(o, { sx: { color: "text.primary" }, variant: "body1", children: h.overview.cost_basis_header }),
896
+ /* @__PURE__ */ i(
897
+ p,
899
898
  {
900
899
  direction: "row",
901
900
  sx: {
@@ -903,13 +902,13 @@ const me = ({ sx: t = {} }) => {
903
902
  gap: 4
904
903
  },
905
904
  children: [
906
- x ? /* @__PURE__ */ e(
905
+ g ? /* @__PURE__ */ e(
907
906
  Ce,
908
907
  {
909
908
  autoFocus: !0,
910
- onBlur: () => m(i.id),
911
- onChange: b,
912
- onKeyDown: (w) => d(w, i.id),
909
+ onBlur: () => m(r.id),
910
+ onChange: v,
911
+ onKeyDown: (C) => d(C, r.id),
913
912
  size: "small",
914
913
  sx: {
915
914
  fontSize: 14,
@@ -924,9 +923,9 @@ const me = ({ sx: t = {} }) => {
924
923
  border: "none"
925
924
  }
926
925
  },
927
- value: h
926
+ value: u
928
927
  }
929
- ) : /* @__PURE__ */ e(r, { sx: { fontSize: 14, width: 58 }, variant: "Small", children: i.costBasis?.toLocaleString("en-US", {
928
+ ) : /* @__PURE__ */ e(o, { sx: { fontSize: 14, width: 58 }, variant: "body2", children: r.costBasis?.toLocaleString("en-US", {
930
929
  currency: "USD",
931
930
  maximumFractionDigits: 2,
932
931
  minimumFractionDigits: 2,
@@ -935,9 +934,9 @@ const me = ({ sx: t = {} }) => {
935
934
  /* @__PURE__ */ e(
936
935
  de,
937
936
  {
938
- onClick: () => v(i.id, i.costBasis),
937
+ onClick: () => f(r.id, r.costBasis),
939
938
  sx: { minWidth: 16, minHeight: 16 },
940
- children: /* @__PURE__ */ e(k, { name: "stylus", size: 16, sx: { color: "grey.700" } })
939
+ children: /* @__PURE__ */ e(B, { name: "stylus", size: 16, sx: { color: "grey.700" } })
941
940
  }
942
941
  )
943
942
  ]
@@ -952,28 +951,28 @@ const me = ({ sx: t = {} }) => {
952
951
  ) })
953
952
  ]
954
953
  },
955
- i.id
954
+ r.id
956
955
  );
957
956
  })
958
957
  ]
959
958
  }
960
959
  );
961
- }, ht = P(ut), q = (t) => /* @__PURE__ */ o(qe, { sx: { alignItems: "center", flexDirection: "row", gap: 4 }, children: [
962
- /* @__PURE__ */ e(r, { sx: { color: "text.primary", fontWeight: 600, fontSize: 14 }, variant: "Small", children: t.colDef.headerName }),
963
- /* @__PURE__ */ e(k, { name: "expand_all", size: 12 })
964
- ] }), gt = ({
960
+ }, ut = $(mt), K = (t) => /* @__PURE__ */ i(Pe, { sx: { alignItems: "center", flexDirection: "row", gap: 4 }, children: [
961
+ /* @__PURE__ */ e(o, { sx: { color: "text.primary", fontWeight: 600, fontSize: 14 }, variant: "body2", children: t.colDef.headerName }),
962
+ /* @__PURE__ */ e(B, { name: "expand_all", size: 12 })
963
+ ] }), ht = ({
965
964
  data: t,
966
- editingHoldingId: h,
965
+ editingHoldingId: u,
967
966
  currentEditedCostBasis: c,
968
967
  handleCostBasisClick: m,
969
- handleCostBasisChange: v,
970
- handleCostBasisKeyDown: b,
968
+ handleCostBasisChange: f,
969
+ handleCostBasisKeyDown: v,
971
970
  handleCostBasisBlur: d
972
971
  }) => {
973
- const { investments: s } = M(), f = ce().palette.mode === "dark", p = "success.main", l = f ? "grey.300" : "grey.700", u = (n, x = "lesserThan") => x === "greaterThan" ? n >= 0 ? p : l : n <= 0 ? l : p, i = [
972
+ const { investments: l } = N(), h = Z().palette.mode === "dark", b = "success.main", s = h ? "grey.300" : "grey.700", y = (n, g = "lesserThan") => g === "greaterThan" ? n >= 0 ? b : s : n <= 0 ? s : b, r = [
974
973
  {
975
974
  field: "qty",
976
- headerName: s.overview.qty_header,
975
+ headerName: l.overview.qty_header,
977
976
  sortable: !1,
978
977
  width: 48,
979
978
  align: "center",
@@ -981,29 +980,29 @@ const me = ({ sx: t = {} }) => {
981
980
  },
982
981
  {
983
982
  field: "holding",
984
- headerName: s.overview.holding_header,
983
+ headerName: l.overview.holding_header,
985
984
  flex: 1,
986
- renderHeader: q,
987
- renderCell: (n) => /* @__PURE__ */ e(_, { sx: { alignItems: "center", gap: 16, flexDirection: "row" }, children: /* @__PURE__ */ o(_, { children: [
988
- /* @__PURE__ */ e(r, { sx: { fontWeight: 700 }, children: n.row.holding }),
989
- /* @__PURE__ */ e(r, { sx: { color: "text.secondary", fontWeight: 400 }, variant: "tiny", children: n.row.description })
985
+ renderHeader: K,
986
+ renderCell: (n) => /* @__PURE__ */ e(_, { sx: { alignItems: "center", gap: 16, flexDirection: "row" }, children: /* @__PURE__ */ i(_, { children: [
987
+ /* @__PURE__ */ e(o, { sx: { fontWeight: 700 }, children: n.row.holding }),
988
+ /* @__PURE__ */ e(o, { sx: { color: "text.secondary", fontWeight: 400 }, variant: "tiny", children: n.row.description })
990
989
  ] }) })
991
990
  },
992
991
  {
993
992
  field: "costBasis",
994
- headerName: s.overview.cost_basis_header,
993
+ headerName: l.overview.cost_basis_header,
995
994
  width: 132,
996
- renderHeader: q,
995
+ renderHeader: K,
997
996
  renderCell: (n) => {
998
- const x = h === n.row.id;
999
- return /* @__PURE__ */ o(_, { sx: { alignItems: "center", flexDirection: "row", gap: 4 }, children: [
1000
- x ? /* @__PURE__ */ e(
997
+ const g = u === n.row.id;
998
+ return /* @__PURE__ */ i(_, { sx: { alignItems: "center", flexDirection: "row", gap: 4 }, children: [
999
+ g ? /* @__PURE__ */ e(
1001
1000
  Ce,
1002
1001
  {
1003
1002
  autoFocus: !0,
1004
1003
  onBlur: () => d(n.row.id),
1005
- onChange: v,
1006
- onKeyDown: (w) => b(w, n.row.id),
1004
+ onChange: f,
1005
+ onKeyDown: (C) => v(C, n.row.id),
1007
1006
  size: "small",
1008
1007
  sx: {
1009
1008
  fontSize: 14,
@@ -1020,7 +1019,7 @@ const me = ({ sx: t = {} }) => {
1020
1019
  },
1021
1020
  value: c
1022
1021
  }
1023
- ) : /* @__PURE__ */ e(r, { sx: { fontSize: 14, width: 57 }, variant: "Small", children: n.value?.toLocaleString("en-US", {
1022
+ ) : /* @__PURE__ */ e(o, { sx: { fontSize: 14, width: 57 }, variant: "body2", children: n.value?.toLocaleString("en-US", {
1024
1023
  currency: "USD",
1025
1024
  maximumFractionDigits: 2,
1026
1025
  minimumFractionDigits: 2,
@@ -1031,7 +1030,7 @@ const me = ({ sx: t = {} }) => {
1031
1030
  {
1032
1031
  onClick: () => m(n.row.id, n.row.costBasis),
1033
1032
  sx: { minWidth: 12, minHeight: 12 },
1034
- children: /* @__PURE__ */ e(k, { name: "stylus", size: 12, sx: { color: "grey.700" } })
1033
+ children: /* @__PURE__ */ e(B, { name: "stylus", size: 12, sx: { color: "grey.700" } })
1035
1034
  }
1036
1035
  )
1037
1036
  ] });
@@ -1041,44 +1040,44 @@ const me = ({ sx: t = {} }) => {
1041
1040
  },
1042
1041
  {
1043
1042
  field: "totalGainLoss",
1044
- headerName: s.overview.total_gain_loss_header,
1043
+ headerName: l.overview.total_gain_loss_header,
1045
1044
  width: 196,
1046
- renderHeader: q,
1045
+ renderHeader: K,
1047
1046
  renderCell: (n) => {
1048
- const x = n.row.costBasis, w = x ? n.row.totalGainLoss / x * 100 : 0;
1049
- return /* @__PURE__ */ o(_, { sx: { alignItems: "center", flexDirection: "row", gap: 2 }, children: [
1047
+ const g = n.row.costBasis, C = g ? n.row.totalGainLoss / g * 100 : 0;
1048
+ return /* @__PURE__ */ i(_, { sx: { alignItems: "center", flexDirection: "row", gap: 2 }, children: [
1050
1049
  n.value !== 0 && /* @__PURE__ */ e(
1051
- k,
1050
+ B,
1052
1051
  {
1053
1052
  name: n.value > 0 ? "trending_up" : "trending_down",
1054
1053
  size: 16,
1055
1054
  sx: {
1056
- color: u(n.value),
1055
+ color: y(n.value),
1057
1056
  mr: 1,
1058
1057
  verticalAlign: "middle"
1059
1058
  }
1060
1059
  }
1061
1060
  ),
1062
1061
  /* @__PURE__ */ e(
1063
- r,
1062
+ o,
1064
1063
  {
1065
1064
  sx: {
1066
- color: u(n.value),
1065
+ color: y(n.value),
1067
1066
  fontWeight: n.value > 0 ? 700 : 400
1068
1067
  },
1069
- variant: "Small",
1070
- children: x ? `${w.toFixed(2)}%` : "0.00%"
1068
+ variant: "body2",
1069
+ children: g ? `${C.toFixed(2)}%` : "0.00%"
1071
1070
  }
1072
1071
  ),
1073
- /* @__PURE__ */ e(r, { sx: { color: "text.secondary" }, variant: "XSmall", children: "|" }),
1072
+ /* @__PURE__ */ e(o, { sx: { color: "text.secondary" }, variant: "caption", children: "|" }),
1074
1073
  /* @__PURE__ */ e(
1075
- r,
1074
+ o,
1076
1075
  {
1077
1076
  sx: {
1078
- color: u(n.value),
1077
+ color: y(n.value),
1079
1078
  fontWeight: n.value > 0 ? 700 : 400
1080
1079
  },
1081
- variant: "Small",
1080
+ variant: "body2",
1082
1081
  children: Math.abs(n.value).toLocaleString("en-US", {
1083
1082
  currency: "USD",
1084
1083
  maximumFractionDigits: 2,
@@ -1095,10 +1094,10 @@ const me = ({ sx: t = {} }) => {
1095
1094
  },
1096
1095
  {
1097
1096
  field: "marketValue",
1098
- headerName: s.overview.market_value_header,
1097
+ headerName: l.overview.market_value_header,
1099
1098
  width: 132,
1100
- renderHeader: q,
1101
- renderCell: (n) => /* @__PURE__ */ e(r, { sx: { fontWeight: 700 }, variant: "Small", children: n.value?.toLocaleString("en-US", {
1099
+ renderHeader: K,
1100
+ renderCell: (n) => /* @__PURE__ */ e(o, { sx: { fontWeight: 700 }, variant: "body2", children: n.value?.toLocaleString("en-US", {
1102
1101
  currency: "USD",
1103
1102
  maximumFractionDigits: 2,
1104
1103
  minimumFractionDigits: 2,
@@ -1109,7 +1108,7 @@ const me = ({ sx: t = {} }) => {
1109
1108
  }
1110
1109
  ];
1111
1110
  return /* @__PURE__ */ e(
1112
- re,
1111
+ se,
1113
1112
  {
1114
1113
  sx: {
1115
1114
  boxShadow: "none",
@@ -1118,7 +1117,7 @@ const me = ({ sx: t = {} }) => {
1118
1117
  children: /* @__PURE__ */ e(
1119
1118
  $e,
1120
1119
  {
1121
- columns: i,
1120
+ columns: r,
1122
1121
  disableColumnFilter: !0,
1123
1122
  disableColumnMenu: !0,
1124
1123
  disableRowSelectionOnClick: !0,
@@ -1129,70 +1128,70 @@ const me = ({ sx: t = {} }) => {
1129
1128
  )
1130
1129
  }
1131
1130
  );
1132
- }, pt = () => {
1133
- const { isMobile: t } = U(), [h, c] = O({}), [m, v] = O(!1), { selectedAccountGuids: b } = Q(), { visibleHoldings: d, updateHoldings: s } = H(), [g, f] = A.useState(!1), [p, l] = O({
1131
+ }, gt = () => {
1132
+ const { isMobile: t } = j(), [u, c] = O({}), [m, f] = O(!1), { selectedAccountGuids: v } = J(), { visibleHoldings: d, updateHoldings: l } = U(), [x, h] = T.useState(!1), [b, s] = O({
1134
1133
  accounts: [],
1135
1134
  holdings: []
1136
- }), { accounts: u, investments: i } = M(), { isCopyLoaded: n } = Q(), [x, w] = O(null), [S, B] = O(""), W = ce().palette.mode === "dark", N = W ? "#0AC295" : "#09A57F", F = W ? "grey.300" : "grey.700", T = (a, C = "lesserThan") => C === "greaterThan" ? a >= 0 ? N : F : a <= 0 ? F : N, j = (a, C) => {
1137
- w(a), B(C.toFixed(2));
1138
- }, Z = (a) => {
1139
- const C = a.target.value;
1140
- /^\d*\.?\d*$/.test(C) && B(C);
1141
- }, ue = (a, C) => {
1142
- a.key === "Enter" ? ee(C) : a.key === "Escape" && w(null);
1135
+ }), { accounts: y, investments: r } = N(), { isCopyLoaded: n } = J(), [g, C] = O(null), [D, k] = O(""), A = Z().palette.mode === "dark", G = A ? "#0AC295" : "#09A57F", F = A ? "grey.300" : "grey.700", L = (a, w = "lesserThan") => w === "greaterThan" ? a >= 0 ? G : F : a <= 0 ? F : G, H = (a, w) => {
1136
+ C(a), k(w.toFixed(2));
1143
1137
  }, ee = (a) => {
1144
- const C = d.find(({ guid: E }) => E === a);
1145
- if (!C) return;
1146
- const G = Number(S);
1147
- if (s({ ...C, cost_basis: G }), t) {
1148
- const E = p.holdings.map(
1149
- (D) => D.id === a ? { ...D, costBasis: G } : D
1138
+ const w = a.target.value;
1139
+ /^\d*\.?\d*$/.test(w) && k(w);
1140
+ }, ue = (a, w) => {
1141
+ a.key === "Enter" ? te(w) : a.key === "Escape" && C(null);
1142
+ }, te = (a) => {
1143
+ const w = d.find(({ guid: E }) => E === a);
1144
+ if (!w) return;
1145
+ const M = Number(D);
1146
+ if (l({ ...w, cost_basis: M }), t) {
1147
+ const E = b.holdings.map(
1148
+ (S) => S.id === a ? { ...S, costBasis: M } : S
1150
1149
  );
1151
- l((D) => ({
1152
- ...D,
1150
+ s((S) => ({
1151
+ ...S,
1153
1152
  holdings: E
1154
1153
  }));
1155
1154
  }
1156
- w(null);
1157
- }, De = (a) => (C, G) => {
1155
+ C(null);
1156
+ }, Se = (a) => (w, M) => {
1158
1157
  c((E) => ({
1159
1158
  ...E,
1160
- [a]: G
1159
+ [a]: M
1161
1160
  }));
1162
- }, { visibleHoldings: he } = H(), { visibleInvestmentAccounts: Le } = le(), X = Le.filter(
1163
- ({ guid: a }) => b.includes(a)
1164
- ), Ie = X.reduce((a, C) => a + (C.balance || 0), 0), Ae = X.map(({ guid: a }) => a), $ = he.filter(
1161
+ }, { visibleHoldings: he } = U(), { visibleInvestmentAccounts: Le } = ce(), P = Le.filter(
1162
+ ({ guid: a }) => v.includes(a)
1163
+ ), Ie = P.reduce((a, w) => a + (w.balance || 0), 0), Ae = P.map(({ guid: a }) => a), q = he.filter(
1165
1164
  ({ account_guid: a }) => Ae.includes(a)
1166
- ).reduce((a, C) => {
1167
- const G = C.market_value ? C.market_value - (C.cost_basis || 0) : 0;
1168
- return a + G;
1169
- }, 0), Be = () => {
1170
- v(!1);
1165
+ ).reduce((a, w) => {
1166
+ const M = w.market_value ? w.market_value - (w.cost_basis || 0) : 0;
1167
+ return a + M;
1168
+ }, 0), Te = () => {
1169
+ f(!1);
1171
1170
  };
1172
- return n ? /* @__PURE__ */ o(y, { sx: { alignItems: "center", gap: 48, pt: 48, width: "100%" }, children: [
1173
- !!X.length && /* @__PURE__ */ o(y, { sx: { alignItems: "center" }, children: [
1174
- /* @__PURE__ */ e(r, { sx: { color: "text.secondary" }, children: i.overview.total_portfolio }),
1175
- /* @__PURE__ */ e(J, { variant: "H1", children: Ie.toLocaleString("en-US", {
1171
+ return n ? /* @__PURE__ */ i(p, { sx: { alignItems: "center", gap: 48, pt: 48, width: "100%" }, children: [
1172
+ !!P.length && /* @__PURE__ */ i(p, { sx: { alignItems: "center" }, children: [
1173
+ /* @__PURE__ */ e(o, { sx: { color: "text.secondary" }, children: r.overview.total_portfolio }),
1174
+ /* @__PURE__ */ e(X, { variant: "h1", children: Ie.toLocaleString("en-US", {
1176
1175
  currency: "USD",
1177
1176
  maximumFractionDigits: 2,
1178
1177
  minimumFractionDigits: 2,
1179
1178
  style: "currency"
1180
1179
  }) }),
1181
- /* @__PURE__ */ o(y, { sx: { alignItems: "center", flexDirection: "row", gap: 8 }, children: [
1180
+ /* @__PURE__ */ i(p, { sx: { alignItems: "center", flexDirection: "row", gap: 8 }, children: [
1182
1181
  /* @__PURE__ */ e(
1183
- k,
1182
+ B,
1184
1183
  {
1185
- name: $ >= 0 ? "trending_up" : "trending_down",
1184
+ name: q >= 0 ? "trending_up" : "trending_down",
1186
1185
  size: 20,
1187
- sx: { color: T($, "greaterThan") }
1186
+ sx: { color: L(q, "greaterThan") }
1188
1187
  }
1189
1188
  ),
1190
1189
  /* @__PURE__ */ e(
1191
- r,
1190
+ o,
1192
1191
  {
1193
- sx: { color: T($, "greaterThan"), fontWeight: 700 },
1194
- variant: "Small",
1195
- children: $.toLocaleString("en-US", {
1192
+ sx: { color: L(q, "greaterThan"), fontWeight: 700 },
1193
+ variant: "body2",
1194
+ children: q.toLocaleString("en-US", {
1196
1195
  currency: "USD",
1197
1196
  maximumFractionDigits: 2,
1198
1197
  minimumFractionDigits: 2,
@@ -1202,26 +1201,26 @@ const me = ({ sx: t = {} }) => {
1202
1201
  )
1203
1202
  ] })
1204
1203
  ] }),
1205
- X.map((a) => {
1206
- const C = he.filter((L) => L.account_guid === a.guid).map((L) => ({
1207
- id: L.guid,
1208
- qty: L.shares || 0,
1209
- holding: L.symbol || L.description || "Unknown",
1210
- costBasis: L.cost_basis || 0,
1211
- totalGainLoss: L.market_value ? L.market_value - (L.cost_basis || 0) : 0,
1212
- marketValue: L.market_value || 0,
1213
- description: L.description || ""
1214
- })), G = C.length > 0, E = a.balance, D = C.reduce(
1215
- (L, We) => We.totalGainLoss + L,
1204
+ P.map((a) => {
1205
+ const w = he.filter((I) => I.account_guid === a.guid).map((I) => ({
1206
+ id: I.guid,
1207
+ qty: I.shares || 0,
1208
+ holding: I.symbol || I.description || "Unknown",
1209
+ costBasis: I.cost_basis || 0,
1210
+ totalGainLoss: I.market_value ? I.market_value - (I.cost_basis || 0) : 0,
1211
+ marketValue: I.market_value || 0,
1212
+ description: I.description || ""
1213
+ })), M = w.length > 0, E = a.balance, S = w.reduce(
1214
+ (I, We) => We.totalGainLoss + I,
1216
1215
  0
1217
- ), ge = E ? D / E * 100 : 0;
1216
+ ), ge = E ? S / E * 100 : 0;
1218
1217
  if (t)
1219
1218
  return /* @__PURE__ */ e(
1220
- re,
1219
+ se,
1221
1220
  {
1222
- onClick: C.length ? () => {
1223
- v(!0), l({
1224
- holdings: C,
1221
+ onClick: w.length ? () => {
1222
+ f(!0), s({
1223
+ holdings: w,
1225
1224
  accounts: a
1226
1225
  });
1227
1226
  } : void 0,
@@ -1229,12 +1228,12 @@ const me = ({ sx: t = {} }) => {
1229
1228
  width: "100%",
1230
1229
  overflow: "hidden"
1231
1230
  },
1232
- children: /* @__PURE__ */ o(
1233
- y,
1231
+ children: /* @__PURE__ */ i(
1232
+ p,
1234
1233
  {
1235
1234
  sx: {
1236
1235
  border: 1,
1237
- borderColor: "border.main",
1236
+ borderColor: "divider",
1238
1237
  borderRadius: "8px",
1239
1238
  ml: 16,
1240
1239
  mr: 16,
@@ -1242,13 +1241,13 @@ const me = ({ sx: t = {} }) => {
1242
1241
  pt: 14
1243
1242
  },
1244
1243
  children: [
1245
- /* @__PURE__ */ o(
1246
- y,
1244
+ /* @__PURE__ */ i(
1245
+ p,
1247
1246
  {
1248
1247
  sx: {
1249
1248
  alignItems: "center",
1250
1249
  borderBottom: 1,
1251
- borderColor: "border.main",
1250
+ borderColor: "divider",
1252
1251
  flexDirection: "row",
1253
1252
  pb: 14,
1254
1253
  pl: 14,
@@ -1263,15 +1262,15 @@ const me = ({ sx: t = {} }) => {
1263
1262
  size: 32
1264
1263
  }
1265
1264
  ),
1266
- /* @__PURE__ */ o(y, { sx: { overflow: "hidden", pl: 13, pr: 13 }, children: [
1267
- /* @__PURE__ */ e(r, { sx: { color: "text.secondary" }, variant: "XSmall", children: a.memberName }),
1268
- /* @__PURE__ */ e(r, { sx: { color: "text.primary", fontWeight: 600 }, variant: "Body", children: a.user_name || a.name })
1265
+ /* @__PURE__ */ i(p, { sx: { overflow: "hidden", pl: 13, pr: 13 }, children: [
1266
+ /* @__PURE__ */ e(o, { sx: { color: "text.secondary" }, variant: "caption", children: a.memberName }),
1267
+ /* @__PURE__ */ e(o, { sx: { color: "text.primary", fontWeight: 600 }, variant: "body1", children: a.user_name || a.name })
1269
1268
  ] })
1270
1269
  ]
1271
1270
  }
1272
1271
  ),
1273
- /* @__PURE__ */ o(
1274
- y,
1272
+ /* @__PURE__ */ i(
1273
+ p,
1275
1274
  {
1276
1275
  sx: {
1277
1276
  alignItems: "center",
@@ -1281,13 +1280,13 @@ const me = ({ sx: t = {} }) => {
1281
1280
  pt: 8
1282
1281
  },
1283
1282
  children: [
1284
- /* @__PURE__ */ o(
1285
- y,
1283
+ /* @__PURE__ */ i(
1284
+ p,
1286
1285
  {
1287
1286
  sx: {
1288
1287
  alignItems: "center",
1289
1288
  borderRight: 1,
1290
- borderColor: "border.main",
1289
+ borderColor: "divider",
1291
1290
  flex: 1,
1292
1291
  justifyContent: "center",
1293
1292
  pb: 14,
@@ -1296,9 +1295,9 @@ const me = ({ sx: t = {} }) => {
1296
1295
  pt: 14
1297
1296
  },
1298
1297
  children: [
1299
- /* @__PURE__ */ e(r, { sx: { color: "text.secondary", fontSize: 11 }, variant: "Small", children: i.overview.total_gain_Loss }),
1300
- /* @__PURE__ */ o(
1301
- y,
1298
+ /* @__PURE__ */ e(o, { sx: { color: "text.secondary", fontSize: 11 }, variant: "body2", children: r.overview.total_gain_Loss }),
1299
+ /* @__PURE__ */ i(
1300
+ p,
1302
1301
  {
1303
1302
  sx: {
1304
1303
  alignItems: "center",
@@ -1307,38 +1306,38 @@ const me = ({ sx: t = {} }) => {
1307
1306
  justifyContent: "flex-end"
1308
1307
  },
1309
1308
  children: [
1310
- D !== 0 && /* @__PURE__ */ e(
1311
- k,
1309
+ S !== 0 && /* @__PURE__ */ e(
1310
+ B,
1312
1311
  {
1313
- name: D > 0 ? "trending_up" : "trending_down",
1312
+ name: S > 0 ? "trending_up" : "trending_down",
1314
1313
  size: 20,
1315
- sx: { color: T(D) }
1314
+ sx: { color: L(S) }
1316
1315
  }
1317
1316
  ),
1318
- /* @__PURE__ */ o(
1319
- r,
1317
+ /* @__PURE__ */ i(
1318
+ o,
1320
1319
  {
1321
1320
  sx: {
1322
- color: T(D),
1321
+ color: L(S),
1323
1322
  fontWeight: 600
1324
1323
  },
1325
- variant: "Body",
1324
+ variant: "body1",
1326
1325
  children: [
1327
1326
  ge.toFixed(2),
1328
1327
  "%"
1329
1328
  ]
1330
1329
  }
1331
1330
  ),
1332
- /* @__PURE__ */ e(r, { sx: { color: "text.secondary" }, variant: "XSmall", children: "|" }),
1331
+ /* @__PURE__ */ e(o, { sx: { color: "text.secondary" }, variant: "caption", children: "|" }),
1333
1332
  /* @__PURE__ */ e(
1334
- r,
1333
+ o,
1335
1334
  {
1336
1335
  sx: {
1337
- color: T(D),
1336
+ color: L(S),
1338
1337
  fontWeight: 600
1339
1338
  },
1340
- variant: "Body",
1341
- children: Math.abs(D).toLocaleString("en-US", {
1339
+ variant: "body1",
1340
+ children: Math.abs(S).toLocaleString("en-US", {
1342
1341
  currency: "USD",
1343
1342
  maximumFractionDigits: 2,
1344
1343
  minimumFractionDigits: 2,
@@ -1352,8 +1351,8 @@ const me = ({ sx: t = {} }) => {
1352
1351
  ]
1353
1352
  }
1354
1353
  ),
1355
- /* @__PURE__ */ o(
1356
- y,
1354
+ /* @__PURE__ */ i(
1355
+ p,
1357
1356
  {
1358
1357
  sx: {
1359
1358
  alignItems: "center",
@@ -1365,8 +1364,8 @@ const me = ({ sx: t = {} }) => {
1365
1364
  pt: 14
1366
1365
  },
1367
1366
  children: [
1368
- /* @__PURE__ */ e(r, { sx: { color: "text.secondary" }, variant: "XSmall", children: i.overview.total_value }),
1369
- /* @__PURE__ */ e(r, { sx: { color: "text.primary", fontWeight: 600 }, variant: "Body", children: E?.toLocaleString("en-US", {
1367
+ /* @__PURE__ */ e(o, { sx: { color: "text.secondary" }, variant: "caption", children: r.overview.total_value }),
1368
+ /* @__PURE__ */ e(o, { sx: { color: "text.primary", fontWeight: 600 }, variant: "body1", children: E?.toLocaleString("en-US", {
1370
1369
  currency: "USD",
1371
1370
  maximumFractionDigits: 2,
1372
1371
  minimumFractionDigits: 2,
@@ -1384,12 +1383,12 @@ const me = ({ sx: t = {} }) => {
1384
1383
  },
1385
1384
  a.guid
1386
1385
  );
1387
- const Te = W ? "grey.700" : "grey.400", ke = C.length ? "text.primary" : Te;
1388
- return /* @__PURE__ */ o(
1386
+ const ke = A ? "grey.700" : "grey.400", Be = w.length ? "text.primary" : ke;
1387
+ return /* @__PURE__ */ i(
1389
1388
  be,
1390
1389
  {
1391
- expanded: h[a.guid] === !0,
1392
- onChange: G ? De(a.guid) : () => {
1390
+ expanded: u[a.guid] === !0,
1391
+ onChange: M ? Se(a.guid) : () => {
1393
1392
  },
1394
1393
  sx: {
1395
1394
  border: 1,
@@ -1398,21 +1397,21 @@ const me = ({ sx: t = {} }) => {
1398
1397
  width: "100%"
1399
1398
  },
1400
1399
  children: [
1401
- /* @__PURE__ */ o(
1400
+ /* @__PURE__ */ i(
1402
1401
  we,
1403
1402
  {
1404
1403
  "aria-controls": "panel1a-content",
1405
1404
  id: "panel1a-header",
1406
1405
  sx: [
1407
- h[a.guid] && {
1406
+ u[a.guid] && {
1408
1407
  borderBottom: 1,
1409
- borderColor: "border.main",
1408
+ borderColor: "divider",
1410
1409
  maxHeight: 88
1411
1410
  }
1412
1411
  ],
1413
1412
  children: [
1414
- /* @__PURE__ */ o(
1415
- y,
1413
+ /* @__PURE__ */ i(
1414
+ p,
1416
1415
  {
1417
1416
  sx: {
1418
1417
  alignItems: "center",
@@ -1422,7 +1421,7 @@ const me = ({ sx: t = {} }) => {
1422
1421
  width: "100%"
1423
1422
  },
1424
1423
  children: [
1425
- /* @__PURE__ */ e(k, { name: "expand_more", size: 20, sx: { color: ke } }),
1424
+ /* @__PURE__ */ e(B, { name: "expand_more", size: 20, sx: { color: Be } }),
1426
1425
  /* @__PURE__ */ e(
1427
1426
  oe,
1428
1427
  {
@@ -1431,18 +1430,18 @@ const me = ({ sx: t = {} }) => {
1431
1430
  size: 32
1432
1431
  }
1433
1432
  ),
1434
- /* @__PURE__ */ o(y, { sx: { alignItems: "flex-start" }, children: [
1435
- /* @__PURE__ */ e(r, { sx: { color: "text.secondary" }, variant: "XSmall", children: a.memberName }),
1436
- /* @__PURE__ */ e(r, { sx: { color: "text.primary", fontWeight: 600 }, variant: "Body", children: a.user_name || a.name })
1433
+ /* @__PURE__ */ i(p, { sx: { alignItems: "flex-start" }, children: [
1434
+ /* @__PURE__ */ e(o, { sx: { color: "text.secondary" }, variant: "caption", children: a.memberName }),
1435
+ /* @__PURE__ */ e(o, { sx: { color: "text.primary", fontWeight: 600 }, variant: "body1", children: a.user_name || a.name })
1437
1436
  ] })
1438
1437
  ]
1439
1438
  }
1440
1439
  ),
1441
- /* @__PURE__ */ o(y, { sx: { flexDirection: "row" }, children: [
1442
- /* @__PURE__ */ o(y, { sx: { alignItems: "flex-end", pb: 14, pl: 24, pr: 24, pt: 14 }, children: [
1443
- /* @__PURE__ */ e(r, { sx: { color: "text.secondary" }, variant: "XSmall", children: i.overview.total_gain_Loss }),
1444
- /* @__PURE__ */ o(
1445
- y,
1440
+ /* @__PURE__ */ i(p, { sx: { flexDirection: "row" }, children: [
1441
+ /* @__PURE__ */ i(p, { sx: { alignItems: "flex-end", pb: 14, pl: 24, pr: 24, pt: 14 }, children: [
1442
+ /* @__PURE__ */ e(o, { sx: { color: "text.secondary" }, variant: "caption", children: r.overview.total_gain_Loss }),
1443
+ /* @__PURE__ */ i(
1444
+ p,
1446
1445
  {
1447
1446
  sx: {
1448
1447
  alignItems: "center",
@@ -1451,38 +1450,38 @@ const me = ({ sx: t = {} }) => {
1451
1450
  justifyContent: "flex-end"
1452
1451
  },
1453
1452
  children: [
1454
- D !== 0 && /* @__PURE__ */ e(
1455
- k,
1453
+ S !== 0 && /* @__PURE__ */ e(
1454
+ B,
1456
1455
  {
1457
- name: D >= 0 ? "trending_up" : "trending_down",
1456
+ name: S >= 0 ? "trending_up" : "trending_down",
1458
1457
  size: 20,
1459
- sx: { color: T(D) }
1458
+ sx: { color: L(S) }
1460
1459
  }
1461
1460
  ),
1462
- /* @__PURE__ */ o(
1463
- r,
1461
+ /* @__PURE__ */ i(
1462
+ o,
1464
1463
  {
1465
1464
  sx: {
1466
- color: T(D),
1465
+ color: L(S),
1467
1466
  fontWeight: 600
1468
1467
  },
1469
- variant: "Body",
1468
+ variant: "body1",
1470
1469
  children: [
1471
1470
  ge.toFixed(2),
1472
1471
  "%"
1473
1472
  ]
1474
1473
  }
1475
1474
  ),
1476
- /* @__PURE__ */ e(r, { sx: { color: "text.secondary" }, variant: "XSmall", children: "|" }),
1475
+ /* @__PURE__ */ e(o, { sx: { color: "text.secondary" }, variant: "caption", children: "|" }),
1477
1476
  /* @__PURE__ */ e(
1478
- r,
1477
+ o,
1479
1478
  {
1480
1479
  sx: {
1481
- color: T(D),
1480
+ color: L(S),
1482
1481
  fontWeight: 600
1483
1482
  },
1484
- variant: "Body",
1485
- children: Math.abs(D).toLocaleString("en-US", {
1483
+ variant: "body1",
1484
+ children: Math.abs(S).toLocaleString("en-US", {
1486
1485
  currency: "USD",
1487
1486
  maximumFractionDigits: 2,
1488
1487
  minimumFractionDigits: 2,
@@ -1494,9 +1493,9 @@ const me = ({ sx: t = {} }) => {
1494
1493
  }
1495
1494
  )
1496
1495
  ] }),
1497
- /* @__PURE__ */ e(y, { sx: { alignItems: "flex-end", gap: 12, pb: 14, pl: 16, pr: 16, pt: 14 }, children: /* @__PURE__ */ o(y, { sx: { alignItems: "flex-end" }, children: [
1498
- /* @__PURE__ */ e(r, { sx: { color: "text.secondary" }, variant: "XSmall", children: i.overview.total_value }),
1499
- /* @__PURE__ */ e(r, { sx: { color: "text.primary", fontWeight: 600 }, variant: "Body", children: E?.toLocaleString("en-US", {
1496
+ /* @__PURE__ */ e(p, { sx: { alignItems: "flex-end", gap: 12, pb: 14, pl: 16, pr: 16, pt: 14 }, children: /* @__PURE__ */ i(p, { sx: { alignItems: "flex-end" }, children: [
1497
+ /* @__PURE__ */ e(o, { sx: { color: "text.secondary" }, variant: "caption", children: r.overview.total_value }),
1498
+ /* @__PURE__ */ e(o, { sx: { color: "text.primary", fontWeight: 600 }, variant: "body1", children: E?.toLocaleString("en-US", {
1500
1499
  currency: "USD",
1501
1500
  maximumFractionDigits: 2,
1502
1501
  minimumFractionDigits: 2,
@@ -1507,15 +1506,15 @@ const me = ({ sx: t = {} }) => {
1507
1506
  ]
1508
1507
  }
1509
1508
  ),
1510
- /* @__PURE__ */ e(_e, { sx: { bgcolor: "background.default", p: 12 }, children: /* @__PURE__ */ e(re, { sx: { border: 1, borderColor: "border.light" }, children: /* @__PURE__ */ e(
1511
- gt,
1509
+ /* @__PURE__ */ e(_e, { sx: { bgcolor: "background.default", p: 12 }, children: /* @__PURE__ */ e(se, { sx: { border: 1, borderColor: "neutral.light" }, children: /* @__PURE__ */ e(
1510
+ ht,
1512
1511
  {
1513
- currentEditedCostBasis: S,
1514
- data: C,
1515
- editingHoldingId: x,
1516
- handleCostBasisBlur: ee,
1517
- handleCostBasisChange: Z,
1518
- handleCostBasisClick: j,
1512
+ currentEditedCostBasis: D,
1513
+ data: w,
1514
+ editingHoldingId: g,
1515
+ handleCostBasisBlur: te,
1516
+ handleCostBasisChange: ee,
1517
+ handleCostBasisClick: H,
1519
1518
  handleCostBasisKeyDown: ue
1520
1519
  }
1521
1520
  ) }) })
@@ -1526,92 +1525,93 @@ const me = ({ sx: t = {} }) => {
1526
1525
  }),
1527
1526
  /* @__PURE__ */ e(me, {}),
1528
1527
  /* @__PURE__ */ e(
1529
- ht,
1528
+ ut,
1530
1529
  {
1531
- accountHoldingsData: p,
1532
- currentEditedCostBasis: S,
1533
- editingHoldingId: x,
1534
- handleCostBasisBlur: ee,
1535
- handleCostBasisChange: Z,
1536
- handleCostBasisClick: j,
1530
+ accountHoldingsData: b,
1531
+ currentEditedCostBasis: D,
1532
+ editingHoldingId: g,
1533
+ handleCostBasisBlur: te,
1534
+ handleCostBasisChange: ee,
1535
+ handleCostBasisClick: H,
1537
1536
  handleCostBasisKeyDown: ue,
1538
1537
  isOpen: m,
1539
- onClose: Be
1538
+ onClose: Te
1540
1539
  }
1541
1540
  ),
1542
1541
  /* @__PURE__ */ e(
1543
1542
  pe,
1544
1543
  {
1545
- onClose: () => f(!1),
1546
- showConnectionsWidget: g,
1547
- title: u.manage_connections
1544
+ onClose: () => h(!1),
1545
+ showConnectionsWidget: x,
1546
+ title: y.manage_connections
1548
1547
  }
1549
1548
  )
1550
- ] }) : /* @__PURE__ */ e(Se, {});
1551
- }, xt = P(pt), yt = ({ title: t }) => /* @__PURE__ */ e(r, { bold: !0, variant: "Body", children: t }), cn = P(({ onBackClick: t, sx: h }) => {
1552
- const { onEvent: c } = ve(), { isMobile: m } = U(), {
1549
+ ] }) : /* @__PURE__ */ e(De, {});
1550
+ }, pt = $(gt), xt = ({ title: t }) => /* @__PURE__ */ e(o, { bold: !0, variant: "body1", children: t }), ln = $(({ onBackClick: t, onMenuClick: u, sx: c }) => {
1551
+ const { onEvent: m } = ve(), { isMobile: f } = j(), {
1553
1552
  isAccountDataLoaded: v,
1554
- loadAccountData: b,
1555
- visibleInvestmentAccounts: d
1556
- } = le(), {
1557
- visibleHoldings: s,
1558
- setShowConnectionsWidget: g,
1559
- showConnectionsWidget: f
1560
- } = H(), { investments: p, accounts: l } = M(), { isInitialized: u } = Q(), [i, n] = A.useState(0), { loadHoldings: x, holdingsLoaded: w } = H();
1561
- Ke({
1553
+ loadAccountData: d,
1554
+ visibleInvestmentAccounts: l
1555
+ } = ce(), {
1556
+ visibleHoldings: x,
1557
+ setShowConnectionsWidget: h,
1558
+ showConnectionsWidget: b
1559
+ } = U(), { investments: s, accounts: y } = N(), { isInitialized: r } = J(), [n, g] = T.useState(0), { loadHoldings: C, holdingsLoaded: D } = U();
1560
+ qe({
1562
1561
  widgetName: "InvestmentsWidget",
1563
- isLoaded: w
1564
- }), A.useEffect(() => {
1565
- v || b().finally();
1566
- }, []), A.useEffect(() => {
1567
- u && x().finally();
1568
- }, [u]);
1569
- const S = () => {
1570
- c(z.INVESTMENT_WIDGET_ACCOUNT_FILTER_CLICK);
1562
+ isLoaded: D
1563
+ }), T.useEffect(() => {
1564
+ v || d().finally();
1565
+ }, []), T.useEffect(() => {
1566
+ r && C().finally();
1567
+ }, [r]);
1568
+ const k = () => {
1569
+ m(z.INVESTMENT_WIDGET_ACCOUNT_FILTER_CLICK);
1571
1570
  };
1572
- if (!u || !w) return /* @__PURE__ */ e(Se, {});
1573
- const B = [
1571
+ if (!r || !D) return /* @__PURE__ */ e(De, {});
1572
+ const W = [
1574
1573
  z.INVESTMENT_WIDGET_DETAILS_CLICK,
1575
1574
  z.INVESTMENT_WIDGET_ALLOCATION_CLICK,
1576
1575
  z.INVESTMENT_WIDGET_ANALYSIS_CLICK
1577
- ], I = d.length === 0 && s.length === 0, W = [
1578
- p.tab_overview_title,
1579
- p.tab_allocation_title,
1580
- p.tab_analysis_title
1576
+ ], A = l.length === 0 && x.length === 0, G = [
1577
+ s.tab_overview_title,
1578
+ s.tab_allocation_title,
1579
+ s.tab_analysis_title
1581
1580
  ];
1582
- return /* @__PURE__ */ o(
1583
- Ue,
1581
+ return /* @__PURE__ */ i(
1582
+ Ke,
1584
1583
  {
1585
1584
  allowedAccountTypes: [Ye.INVESTMENT],
1586
- onAccountsFilterClick: S,
1585
+ onAccountsFilterClick: k,
1587
1586
  onBackClick: t,
1588
- sx: h,
1589
- title: p.title,
1587
+ onMenuClick: u,
1588
+ sx: c,
1589
+ title: s.title,
1590
1590
  children: [
1591
- /* @__PURE__ */ o(_, { mx: m ? 0 : 48, my: 24, children: [
1591
+ /* @__PURE__ */ i(_, { mx: f ? 0 : 48, my: 24, children: [
1592
1592
  /* @__PURE__ */ e(
1593
1593
  Ee,
1594
1594
  {
1595
- onChange: (N, F) => {
1596
- n(F), c(B[F]);
1595
+ onChange: (F, L) => {
1596
+ g(L), m(W[L]);
1597
1597
  },
1598
1598
  sx: { bgcolor: "background.paper" },
1599
1599
  textColor: "primary",
1600
- value: I ? -1 : i,
1600
+ value: A ? -1 : n,
1601
1601
  variant: "fullWidth",
1602
- children: W.map((N) => /* @__PURE__ */ e(Fe, { disabled: I, label: /* @__PURE__ */ e(yt, { title: N }) }, N))
1602
+ children: G.map((F) => /* @__PURE__ */ e(Fe, { disabled: A, label: /* @__PURE__ */ e(xt, { title: F }) }, F))
1603
1603
  }
1604
1604
  ),
1605
- I ? /* @__PURE__ */ e(
1605
+ A ? /* @__PURE__ */ e(
1606
1606
  Qe,
1607
1607
  {
1608
- header: p.empty_state_header,
1608
+ header: s.empty_state_header,
1609
1609
  icon: "bid_landscape",
1610
1610
  onClick: () => {
1611
- g(!0), c(z.ACCOUNTS_CLICK_CONNECT);
1611
+ h(!0), m(z.ACCOUNTS_CLICK_CONNECT);
1612
1612
  },
1613
- primaryButton: p.overview.connect_accounts,
1614
- subText: p.empty_state_description,
1613
+ primaryButton: s.overview.connect_accounts,
1614
+ subText: s.empty_state_description,
1615
1615
  sx: {
1616
1616
  width: { sm: 432 },
1617
1617
  ".buttons-footer": {
@@ -1624,18 +1624,18 @@ const me = ({ sx: t = {} }) => {
1624
1624
  px: 16
1625
1625
  }
1626
1626
  }
1627
- ) : /* @__PURE__ */ o(se, { children: [
1628
- i === 0 && /* @__PURE__ */ e(xt, {}),
1629
- i === 1 && /* @__PURE__ */ e(at, {}),
1630
- i === 2 && /* @__PURE__ */ e(mt, {})
1627
+ ) : /* @__PURE__ */ i(le, { children: [
1628
+ n === 0 && /* @__PURE__ */ e(pt, {}),
1629
+ n === 1 && /* @__PURE__ */ e(rt, {}),
1630
+ n === 2 && /* @__PURE__ */ e(dt, {})
1631
1631
  ] })
1632
1632
  ] }),
1633
1633
  /* @__PURE__ */ e(
1634
1634
  pe,
1635
1635
  {
1636
- onClose: () => g(!1),
1637
- showConnectionsWidget: f,
1638
- title: l.manage_connections
1636
+ onClose: () => h(!1),
1637
+ showConnectionsWidget: b,
1638
+ title: y.manage_connections
1639
1639
  }
1640
1640
  )
1641
1641
  ]
@@ -1643,5 +1643,5 @@ const me = ({ sx: t = {} }) => {
1643
1643
  );
1644
1644
  });
1645
1645
  export {
1646
- cn as InvestmentsWidget
1646
+ ln as InvestmentsWidget
1647
1647
  };