@mx-cartographer/experiences 8.0.0-alpha.bb3 → 8.0.0-alpha.mega1

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 (203) hide show
  1. package/CHANGELOG.md +178 -1
  2. package/dist/{Account-Bxw0_4FU.mjs → Account-CvR2-dSR.mjs} +1 -1
  3. package/dist/{AccountDetailsContent-CAM9y39M.mjs → AccountDetailsContent-CitErkuS.mjs} +89 -82
  4. package/dist/AccountDetailsHeader-BkG3MNYo.mjs +87 -0
  5. package/dist/{AccountFields-C9FlatNb.mjs → AccountFields-zCMqet85.mjs} +6 -6
  6. package/dist/{AccountListItem-JFMZROh7.mjs → AccountListItem-DHrz8Mml.mjs} +9 -9
  7. package/dist/{AccountStore-BgNOyMdp.mjs → AccountStore-LgfBcYMe.mjs} +112 -75
  8. package/dist/Accounts-Bzy1_REQ.mjs +9 -0
  9. package/dist/{BeatApi-DhJpgCLz.mjs → BeatApi-De2IaqH2.mjs} +1 -1
  10. package/dist/{BeatStore-IBnXd4YK.mjs → BeatStore-D_NYuBSz.mjs} +1 -1
  11. package/dist/{BudgetUtil-B2ZXyw-g.mjs → BudgetUtil-BmZXkL0C.mjs} +2 -2
  12. package/dist/{CategorySelectorDrawer-DUe4lH5-.mjs → CategorySelectorDrawer-B-I3kajA.mjs} +23 -21
  13. package/dist/CategoryStore-CA3tS1BO.mjs +186 -0
  14. package/dist/CategoryUtil-DUM8NuGO.mjs +78 -0
  15. package/dist/{ConnectDrawer-BQNs-hjk.mjs → ConnectDrawer-BkvlItWx.mjs} +11 -11
  16. package/dist/{ConnectionsDrawer-ByGQE7D5.mjs → ConnectionsDrawer-VmuVFHbL.mjs} +5 -5
  17. package/dist/{CurrencyInput-DUsQbkXb.mjs → CurrencyInput-itK0R3wV.mjs} +2 -2
  18. package/dist/{CurrencyText-kyC1aseI.mjs → CurrencyText-Dr0EZ7bp.mjs} +1 -1
  19. package/dist/{DateUtil-BcuH7ErC.mjs → DateUtil-CBdcsyuk.mjs} +3 -3
  20. package/dist/{DebtsStore-C9bblOgW.mjs → DebtsStore-Bq-aPy-5.mjs} +1 -1
  21. package/dist/{Dialog-CWW597AF.mjs → Dialog-BPTr3qHE.mjs} +2 -2
  22. package/dist/{Donut-oaQFlbit.mjs → Donut-Dmy3JTWd.mjs} +12 -12
  23. package/dist/Drawer-By9V-B5L.mjs +178 -0
  24. package/dist/{EmptyState-DA_lfRBv.mjs → EmptyState-DoxNUae-.mjs} +24 -22
  25. package/dist/{ExportCsvAction-sX8Rg4Ov.mjs → ExportCsvAction-Cglo8Mca.mjs} +3 -3
  26. package/dist/{Fetch-87LIQbEA.mjs → Fetch-DecPFeGU.mjs} +24 -22
  27. package/dist/FinstrongStore-BIrX0Xg2.mjs +451 -0
  28. package/dist/{GoalStore-D-aB35SY.mjs → GoalStore-1P19goZ7.mjs} +112 -152
  29. package/dist/{Help-B6dIcujh.mjs → Help-Ea3BlXQp.mjs} +2 -2
  30. package/dist/LineChart-KpPw1phO.mjs +580 -0
  31. package/dist/{ListItemAction-DHa3KJPs.mjs → ListItemAction-BxTkF6Tz.mjs} +10 -10
  32. package/dist/{ManageIncome-1s_q5W4X.mjs → ManageIncome-CaoQl609.mjs} +91 -88
  33. package/dist/{MerchantStore-DrFvsUyy.mjs → MerchantStore-WvZ4gnQe.mjs} +1 -1
  34. package/dist/MicroWidgetContainer-r6mtxRer.mjs +52 -0
  35. package/dist/MiniWidgetContainer-Bg02sF1Y.mjs +71 -0
  36. package/dist/{NetWorthStore-DCsTZpuS.mjs → NetWorthStore-rC0q7P7t.mjs} +2 -2
  37. package/dist/{NotificationSettings-DqrkNMod.mjs → NotificationSettings-uzM8tCoH.mjs} +236 -231
  38. package/dist/{NotificationStore-BxP_P2dA.mjs → NotificationStore-CDX_kqHa.mjs} +7 -15
  39. package/dist/{NumberFormatting-Buh7u8Oi.mjs → NumberFormatting-DjTD0t3W.mjs} +9 -9
  40. package/dist/{OriginalBalanceAction-CWuVvRq9.mjs → OriginalBalanceAction-C6jdS4ws.mjs} +4 -4
  41. package/dist/{RecurringSettings-A_rAGCTP.mjs → RecurringSettings-B4ybrS0B.mjs} +4 -4
  42. package/dist/{RecurringTransactions-DK8dWldr.mjs → RecurringTransactions-BqijW_8S.mjs} +49 -48
  43. package/dist/{RecurringTransactionsStore-C4YOD7_D.mjs → RecurringTransactionsStore-BhBUVm9a.mjs} +26 -29
  44. package/dist/{SettingsStore-BcgS_Ohv.mjs → SettingsStore-krIRNwHK.mjs} +3 -3
  45. package/dist/{SpendingData-D5vsfYKo.mjs → SpendingData-DQ1b9uqq.mjs} +11 -13
  46. package/dist/SpendingLegend-CDO060GT.mjs +193 -0
  47. package/dist/{ToggleListItem-r0Kx56wF.mjs → ToggleListItem-ciFTiqRS.mjs} +19 -14
  48. package/dist/TransactionApi-CjBoLleL.mjs +86 -0
  49. package/dist/TransactionDetails-m5PddMQn.mjs +1380 -0
  50. package/dist/TransactionStore-PRlwE-TF.mjs +677 -0
  51. package/dist/TrendsStore-yO7qYv97.mjs +186 -0
  52. package/dist/{User-BQUxBeZV.mjs → User-Cnlegl1N.mjs} +2 -2
  53. package/dist/{ViewMoreMicroCard-SCn2wt4i.mjs → ViewMoreMicroCard-DwR0v_ll.mjs} +711 -728
  54. package/dist/{WidgetContainer-BHWANqT4.mjs → WidgetContainer-CoFDmQRE.mjs} +4 -4
  55. package/dist/accounts/components/AccountsListCompact.d.ts +10 -0
  56. package/dist/accounts/components/detailsdrawer/Accounts/AccountDetailsChart.d.ts +4 -1
  57. package/dist/accounts/components/detailsdrawer/Accounts/AccountDetailsHeader.d.ts +2 -1
  58. package/dist/accounts/index.es.js +245 -235
  59. package/dist/accounts/stores/AccountStore.d.ts +24 -25
  60. package/dist/accounts/utils/Accounts.d.ts +1 -2
  61. package/dist/analytics/index.es.js +2 -2
  62. package/dist/budgets/components/AddBudgets.d.ts +2 -1
  63. package/dist/budgets/index.es.js +611 -580
  64. package/dist/budgets/store/BudgetsStore.d.ts +0 -1
  65. package/dist/cashflow/index.es.js +187 -180
  66. package/dist/categories/index.es.js +2 -2
  67. package/dist/categories/stores/CategoryStore.d.ts +2 -5
  68. package/dist/categories/util/CategoryUtil.d.ts +2 -3
  69. package/dist/common/components/Select.d.ts +4 -2
  70. package/dist/common/components/charts/LineChart.d.ts +12 -2
  71. package/dist/common/components/charts/index.d.ts +0 -3
  72. package/dist/common/components/charts/linechart/CustomLegend.d.ts +3 -1
  73. package/dist/common/components/charts/linechart/CustomMark.d.ts +4 -0
  74. package/dist/common/components/charts/linechart/CustomTooltip.d.ts +6 -1
  75. package/dist/common/components/charts/stackedlinechart/CustomPointTooltip.d.ts +5 -2
  76. package/dist/common/components/drawer/Drawer.d.ts +3 -0
  77. package/dist/common/components/drawer/Footer.d.ts +17 -0
  78. package/dist/common/hooks/index.d.ts +1 -0
  79. package/dist/common/hooks/useWidgetLoadTimer.d.ts +6 -0
  80. package/dist/common/index.es.js +397 -387
  81. package/dist/common/stores/AppDataStore.d.ts +1 -3
  82. package/dist/common/stores/GlobalCopyStore.d.ts +1 -0
  83. package/dist/common/stores/GlobalStore.d.ts +10 -4
  84. package/dist/common/stores/GlobalUiStore.d.ts +2 -3
  85. package/dist/common/stores/UserStore.d.ts +2 -3
  86. package/dist/common/types/Account.d.ts +6 -9
  87. package/dist/common/types/Finstrong.d.ts +54 -0
  88. package/dist/common/types/Global.d.ts +1 -0
  89. package/dist/common/types/Widgets.d.ts +1 -0
  90. package/dist/common/types/index.d.ts +1 -1
  91. package/dist/common/types/localization/FinstrongCopy.d.ts +105 -2
  92. package/dist/common/types/localization/GoalsCopy.d.ts +1 -0
  93. package/dist/common/types/localization/TransactionsCopy.d.ts +1 -0
  94. package/dist/dashboard/index.es.js +90 -88
  95. package/dist/debts/index.es.js +458 -448
  96. package/dist/exportTransactionsToCSV-DuAaI5XA.mjs +48 -0
  97. package/dist/finstrong/FinstrongWidget.d.ts +1 -1
  98. package/dist/finstrong/api/FinstrongApi.d.ts +5 -0
  99. package/dist/finstrong/components/ConnectMoreAccountsCard.d.ts +3 -1
  100. package/dist/finstrong/components/CreditScore/CreditScoreContent.d.ts +4 -0
  101. package/dist/finstrong/components/CreditScore/CreditScoreHeader.d.ts +4 -0
  102. package/dist/finstrong/components/FinancialStrengthGraph.d.ts +7 -1
  103. package/dist/finstrong/components/HaveManageableDebt/DebtPaymentTabContent.d.ts +3 -0
  104. package/dist/finstrong/components/HaveManageableDebt/HaveManageableDebtComponent.d.ts +3 -0
  105. package/dist/finstrong/components/HaveManageableDebt/HaveManageableDebtProgressBar.d.ts +4 -0
  106. package/dist/finstrong/components/HaveManageableDebt/IncomeTabContent.d.ts +3 -0
  107. package/dist/finstrong/components/KeyIndicatorsBorrowTab.d.ts +2 -2
  108. package/dist/finstrong/components/KeyIndicatorsDrawer.d.ts +4 -1
  109. package/dist/finstrong/components/KeyIndicatorsSaveTab.d.ts +2 -2
  110. package/dist/finstrong/components/KeyIndicatorsSpendTab.d.ts +2 -2
  111. package/dist/finstrong/components/KeyIndicatorsTabItem.d.ts +4 -3
  112. package/dist/finstrong/components/KeyIndicatorsTabItemDrawer.d.ts +10 -0
  113. package/dist/finstrong/components/KeyIndicatorsTabsWidget.d.ts +2 -2
  114. package/dist/finstrong/components/MaintainingEmergencySavings/EstimatedContributionCalculator.d.ts +6 -0
  115. package/dist/finstrong/components/MaintainingEmergencySavings/MaintainingEmergencySavingsContent.d.ts +4 -0
  116. package/dist/finstrong/components/MaintainingEmergencySavings/MaintainingEmergencySavingsSticky.d.ts +4 -0
  117. package/dist/finstrong/components/ProgressBar.d.ts +15 -0
  118. package/dist/finstrong/components/SaveEnoughToLiveOn/AvailableTabContent.d.ts +3 -0
  119. package/dist/finstrong/components/SaveEnoughToLiveOn/SaveEnoughToLiveOnDrawerContent.d.ts +3 -0
  120. package/dist/finstrong/components/SaveEnoughToLiveOn/SaveEnoughToLiveOnProgressBar.d.ts +4 -0
  121. package/dist/finstrong/components/SaveEnoughToLiveOn/SpendingTabContent.d.ts +3 -0
  122. package/dist/finstrong/components/SpendLessThanYouMake/SpendLessThanYouMakeComponent.d.ts +3 -0
  123. package/dist/finstrong/components/SpendLessThanYouMake/SpendLessThanYouMakeProgressBar.d.ts +4 -0
  124. package/dist/finstrong/components/StatusChip.d.ts +5 -0
  125. package/dist/finstrong/components/onboarding/Onboarding.d.ts +2 -0
  126. package/dist/finstrong/components/onboarding/OnboardingAddMonthlyIncome.d.ts +17 -0
  127. package/dist/finstrong/components/onboarding/OnboardingBirthday.d.ts +8 -0
  128. package/dist/finstrong/components/onboarding/OnboardingCreditScore.d.ts +8 -0
  129. package/dist/finstrong/components/onboarding/OnboardingStepsDrawer.d.ts +14 -0
  130. package/dist/finstrong/components/onboarding/OnboardingStepsHeader.d.ts +8 -0
  131. package/dist/finstrong/components/paybillsontime/PayBillsOnTimeDrawerComponent.d.ts +4 -0
  132. package/dist/finstrong/components/paybillsontime/PayBillsOnTimeStickyComponent.d.ts +4 -0
  133. package/dist/finstrong/components/shared/Accounts.d.ts +8 -0
  134. package/dist/finstrong/components/shared/CustomDoubleBarPlot.d.ts +24 -0
  135. package/dist/finstrong/components/shared/DialScoreCard.d.ts +7 -1
  136. package/dist/finstrong/components/shared/DoubleBarChart.d.ts +28 -0
  137. package/dist/finstrong/components/shared/LineGraph.d.ts +7 -0
  138. package/dist/finstrong/components/shared/TotalCard.d.ts +8 -0
  139. package/dist/finstrong/components/shared/Transactions.d.ts +11 -0
  140. package/dist/finstrong/constants/index.d.ts +9 -0
  141. package/dist/finstrong/index.es.js +3190 -1073
  142. package/dist/finstrong/stores/FinstrongStore.d.ts +25 -2
  143. package/dist/finstrong/util/finstrongUtils.d.ts +58 -1
  144. package/dist/goals/index.es.js +302 -291
  145. package/dist/goals/stores/GoalStore.d.ts +4 -17
  146. package/dist/help/index.es.js +13 -9
  147. package/dist/{hooks-D6XlXHf4.mjs → hooks-ZMp65DFz.mjs} +12 -12
  148. package/dist/insights/index.es.js +1 -1
  149. package/dist/investments/index.es.js +108 -104
  150. package/dist/investments/stores/HoldingStore.d.ts +0 -1
  151. package/dist/merchants/index.es.js +2 -2
  152. package/dist/microinsights/MicroCardTemplate.d.ts +16 -0
  153. package/dist/microinsights/beaticons/BeatIcon.d.ts +2 -9
  154. package/dist/microinsights/beaticons/BeatMerchantLogo.d.ts +3 -2
  155. package/dist/microinsights/beaticons/MonthlySpendComparisonIcon.d.ts +2 -1
  156. package/dist/microinsights/cards/{MicroInsightCard.d.ts → BaseCard.d.ts} +1 -8
  157. package/dist/microinsights/cards/{BeatCard.d.ts → InsightCard.d.ts} +2 -2
  158. package/dist/microinsights/cards/NoRelevantInsightsCard.d.ts +2 -5
  159. package/dist/microinsights/cards/ZeroStateCard.d.ts +2 -5
  160. package/dist/microinsights/carousel/BeatList.d.ts +10 -0
  161. package/dist/microinsights/carousel/CarouselControls.d.ts +1 -3
  162. package/dist/microinsights/carousel/CarouselHeader.d.ts +1 -2
  163. package/dist/microinsights/constants/App.d.ts +0 -1
  164. package/dist/microinsights/index.d.ts +4 -3
  165. package/dist/microinsights/index.es.js +101 -14
  166. package/dist/microinsights/interfaces.d.ts +0 -6
  167. package/dist/networth/index.es.js +197 -190
  168. package/dist/notifications/index.es.js +25 -25
  169. package/dist/notifications/stores/NotificationStore.d.ts +1 -3
  170. package/dist/recurringtransactions/index.es.js +395 -351
  171. package/dist/recurringtransactions/stores/RecurringTransactionsStore.d.ts +2 -3
  172. package/dist/settings/index.es.js +307 -298
  173. package/dist/spending/index.es.js +299 -438
  174. package/dist/spending/utils/SpendingData.d.ts +2 -1
  175. package/dist/transactions/components/shared/TransactionDetails.d.ts +1 -0
  176. package/dist/transactions/components/shared/TransactionList.d.ts +1 -0
  177. package/dist/transactions/index.es.js +115 -112
  178. package/dist/transactions/stores/TransactionStore.d.ts +77 -21
  179. package/dist/trends/components/TrendsTable.d.ts +0 -2
  180. package/dist/trends/index.es.js +1025 -604
  181. package/dist/trends/utils/TrendsData.d.ts +1 -0
  182. package/dist/{useAccountDisplayName-BUAApBIb.mjs → useAccountDisplayName-B7iXTNM8.mjs} +2 -2
  183. package/dist/{useCombineEvents-BUDIR1ba.mjs → useCombineEvents-CRwX-qWE.mjs} +1 -1
  184. package/dist/{useInsightsEnabled-DBpwEq10.mjs → useInsightsEnabled-B7dxpDrX.mjs} +1 -1
  185. package/dist/useWidgetLoadTimer-hIOioiKx.mjs +19 -0
  186. package/package.json +4 -4
  187. package/dist/AccountDetailsHeader-JtSX6Uf9.mjs +0 -120
  188. package/dist/Accounts-BRf_YeTf.mjs +0 -27
  189. package/dist/CategoryStore-yHI0hWmK.mjs +0 -174
  190. package/dist/CategoryUtil-pZRIYOgN.mjs +0 -80
  191. package/dist/Drawer-kEE73B87.mjs +0 -113
  192. package/dist/FinstrongStore-F2c607dj.mjs +0 -101
  193. package/dist/LineChart-D4GI7nVh.mjs +0 -541
  194. package/dist/MicroWidgetContainer-DpeqN9n3.mjs +0 -45
  195. package/dist/MiniWidgetContainer-D0gfmbaF.mjs +0 -56
  196. package/dist/TransactionApi-B3Tksf7L.mjs +0 -86
  197. package/dist/TransactionDetails-oP1eSuiS.mjs +0 -1334
  198. package/dist/TransactionStore-ai3uII_r.mjs +0 -690
  199. package/dist/TrendsStore-DCYbpXPO.mjs +0 -559
  200. package/dist/common/components/SkeletonLoader.d.ts +0 -7
  201. package/dist/exportTransactionsToCSV-7bVS7KXf.mjs +0 -47
  202. package/dist/finstrong/utils/Finstrong.d.ts +0 -6
  203. package/dist/useAriaLive-B3_pRUio.mjs +0 -35
@@ -1,85 +1,86 @@
1
- import { S as Jt, a as Kt } from "../SettingsStore-BcgS_Ohv.mjs";
1
+ import { S as Xt, a as Yt } from "../SettingsStore-krIRNwHK.mjs";
2
2
  import { jsxs as c, Fragment as q, jsx as e } from "react/jsx-runtime";
3
- import h from "react";
3
+ import p from "react";
4
4
  import { observer as D } from "mobx-react-lite";
5
- import p from "@mui/material/Stack";
6
- import me from "@mui/material/Tab";
7
- import ue from "@mui/material/Tabs";
8
- import pe from "@mui/material/Alert";
9
- import he from "@mui/material/Snackbar";
10
- import { getUnixTime as fe } from "date-fns/getUnixTime";
11
- import { AdapterDateFns as _e } from "@mui/x-date-pickers/AdapterDateFnsV3";
12
- import { DatePicker as ge } from "@mui/x-date-pickers";
13
- import { LocalizationProvider as be } from "@mui/x-date-pickers/LocalizationProvider";
14
- import { useTheme as ye, alpha as U } from "@mui/material/styles";
5
+ import h from "@mui/material/Stack";
6
+ import ue from "@mui/material/Tab";
7
+ import pe from "@mui/material/Tabs";
8
+ import he from "@mui/material/Alert";
9
+ import fe from "@mui/material/Snackbar";
10
+ import { getUnixTime as _e } from "date-fns/getUnixTime";
11
+ import { AdapterDateFns as ge } from "@mui/x-date-pickers/AdapterDateFnsV3";
12
+ import { DatePicker as be } from "@mui/x-date-pickers";
13
+ import { LocalizationProvider as ye } from "@mui/x-date-pickers/LocalizationProvider";
14
+ import { useTheme as xe, alpha as U } from "@mui/material/styles";
15
15
  import F from "@mui/material/Box";
16
16
  import Q from "@mui/material/Button";
17
17
  import I from "@mui/material/TextField";
18
- import { H3 as J, P as H, Text as x, Icon as M, ChevronRightIcon as xe } from "@mxenabled/mxui";
19
- import { V as ve, a as Ce, N as G } from "../NotificationSettings-DqrkNMod.mjs";
20
- import { A as Yt, B as qt, I as Qt } from "../NotificationSettings-DqrkNMod.mjs";
21
- import { u as k, a as $, s as A, p as De, b as Z, m as ee } from "../hooks-D6XlXHf4.mjs";
22
- import { u as L } from "../useScreenSize-B6JyS_Lj.mjs";
23
- import { a as W } from "../Dialog-CWW597AF.mjs";
18
+ import { H3 as J, P as L, Text as x, Icon as N, ChevronRightIcon as ve } from "@mxenabled/mxui";
19
+ import { V as Ce, a as De, N as G } from "../NotificationSettings-uzM8tCoH.mjs";
20
+ import { A as Qt, B as Zt, I as eo } from "../NotificationSettings-uzM8tCoH.mjs";
21
+ import { u as w, a as W, r as A, o as Se, b as Z, m as ee } from "../hooks-ZMp65DFz.mjs";
22
+ import { u as H } from "../useScreenSize-B6JyS_Lj.mjs";
23
+ import { D as $ } from "../Dialog-BPTr3qHE.mjs";
24
24
  import { formatDistanceToNow as te } from "date-fns/formatDistanceToNow";
25
25
  import { fromUnixTime as oe } from "date-fns/fromUnixTime";
26
- import P from "@mui/material/styles/useTheme";
26
+ import R from "@mui/material/styles/useTheme";
27
27
  import V from "@mui/material/IconButton";
28
- import { DataGridPro as Se } from "@mui/x-data-grid-pro";
28
+ import { DataGridPro as we } from "@mui/x-data-grid-pro";
29
29
  import { H as O } from "../HeaderCell-DjuifqHJ.mjs";
30
- import { b as N } from "../Localization-2MODESHW.mjs";
30
+ import { b as M } from "../Localization-2MODESHW.mjs";
31
31
  import ke from "@mui/material/Accordion";
32
- import we from "@mui/material/AccordionDetails";
33
- import Te from "@mui/material/AccordionSummary";
34
- import { L as ne } from "../Loader-DUaFpDGv.mjs";
35
- import Ie from "@mui/material/List";
32
+ import Te from "@mui/material/AccordionDetails";
33
+ import Ie from "@mui/material/AccordionSummary";
34
+ import { L as ie } from "../Loader-DUaFpDGv.mjs";
35
+ import Ae from "@mui/material/List";
36
36
  import j from "@mui/material/Divider";
37
- import Ae from "@mui/material/ListSubheader";
38
- import { a as Ee, u as Pe } from "../CategorySelectorDrawer-DUe4lH5-.mjs";
39
- import Re from "@mui/material/ListItem";
40
- import Be from "@mui/material/ListItemButton";
37
+ import Ee from "@mui/material/ListSubheader";
38
+ import { a as Re, u as Pe } from "../CategorySelectorDrawer-B-I3kajA.mjs";
39
+ import Be from "@mui/material/ListItem";
40
+ import Ne from "@mui/material/ListItemButton";
41
41
  import Me from "@mui/material/ListItemIcon";
42
- import Ne from "@mui/material/ListItemText";
43
- import { D as He } from "../Drawer-kEE73B87.mjs";
44
- import { H as Le } from "../Help-B6dIcujh.mjs";
45
- import { W as K } from "../WidgetContainer-BHWANqT4.mjs";
46
- const Oe = ({ availableWidth: t, handleOnLeavClick: a }) => {
47
- const o = ye(), { common: n, settings: r } = k(), { isDesktop: m, isMobile: l, isSmallMobile: i, isTablet: s } = L(t), { config: g } = $(), { updateUser: _ } = A(), { user: d } = De(), [u, S] = h.useState({
48
- first_name: d.first_name,
49
- last_name: d.last_name,
50
- email: d.email,
51
- phone: d.phone,
52
- birthday: d.birthday,
53
- postal_code: d.postal_code,
54
- credit_score: d.credit_score
55
- }), [v, w] = h.useState(!1), [C, T] = h.useState(!1), y = h.useRef(null), z = u.email && !d.email_is_verified && !v, Y = u.phone && !d.phone_is_verified && !v;
56
- h.useEffect(() => {
42
+ import Le from "@mui/material/ListItemText";
43
+ import { D as He } from "../Drawer-By9V-B5L.mjs";
44
+ import { u as ne } from "../useWidgetLoadTimer-hIOioiKx.mjs";
45
+ import { H as Oe } from "../Help-Ea3BlXQp.mjs";
46
+ import { W as K } from "../WidgetContainer-CoFDmQRE.mjs";
47
+ const Ue = ({ availableWidth: t, handleOnLeavClick: a }) => {
48
+ const o = xe(), { common: i, settings: n } = w(), { isDesktop: d, isMobile: l, isSmallMobile: r, isTablet: s } = H(t), { config: g } = W(), { updateUser: _ } = A(), { user: m } = Se(), [u, S] = p.useState({
49
+ first_name: m.first_name,
50
+ last_name: m.last_name,
51
+ email: m.email,
52
+ phone: m.phone,
53
+ birthday: m.birthday,
54
+ postal_code: m.postal_code,
55
+ credit_score: m.credit_score
56
+ }), [v, k] = p.useState(!1), [C, T] = p.useState(!1), y = p.useRef(null), z = u.email && !m.email_is_verified && !v, Y = u.phone && !m.phone_is_verified && !v;
57
+ p.useEffect(() => {
57
58
  if (a) {
58
- const f = (R) => {
59
- y.current && !y.current.contains(R.target) && v && T(!0);
59
+ const f = (P) => {
60
+ y.current && !y.current.contains(P.target) && v && T(!0);
60
61
  };
61
62
  return document.addEventListener("mousedown", f), () => {
62
63
  document.removeEventListener("mousedown", f);
63
64
  };
64
65
  }
65
66
  }, [v]);
66
- const ie = () => {
67
+ const ae = () => {
67
68
  if (u.birthday) {
68
- const f = new Date(u.birthday * 1e3), R = f.getUTCFullYear(), ce = f.getUTCMonth(), de = f.getUTCDate();
69
- return new Date(R, ce, de);
69
+ const f = new Date(u.birthday * 1e3), P = f.getUTCFullYear(), de = f.getUTCMonth(), me = f.getUTCDate();
70
+ return new Date(P, de, me);
70
71
  }
71
- }, ae = async () => {
72
- await _({ ...d, ...u }), w(!1);
73
- }, le = () => {
74
- T(!1), a && a();
72
+ }, le = async () => {
73
+ await _({ ...m, ...u }), k(!1);
75
74
  }, se = () => {
75
+ T(!1), a && a();
76
+ }, ce = () => {
76
77
  T(!1);
77
78
  }, E = (f) => {
78
- const R = {
79
+ const P = {
79
80
  ...u,
80
81
  ...f
81
82
  };
82
- S(R), w(JSON.stringify({ ...d, ...R }) !== JSON.stringify(d));
83
+ S(P), k(JSON.stringify({ ...m, ...P }) !== JSON.stringify(m));
83
84
  };
84
85
  return /* @__PURE__ */ c(q, { children: [
85
86
  /* @__PURE__ */ c(
@@ -90,16 +91,16 @@ const Oe = ({ availableWidth: t, handleOnLeavClick: a }) => {
90
91
  sx: {
91
92
  backgroundColor: "background.paper",
92
93
  p: 24,
93
- width: i ? 320 : s ? 680 : m ? 990 : 400,
94
+ width: r ? 320 : s ? 680 : d ? 990 : 400,
94
95
  "& .MuiTextField-root": {
95
- width: i ? 272 : s ? 328 : m ? 483 : 352
96
+ width: r ? 272 : s ? 328 : d ? 483 : 352
96
97
  }
97
98
  },
98
99
  children: [
99
- /* @__PURE__ */ e(J, { children: r.personal_details }),
100
- /* @__PURE__ */ e(H, { variant: "Body", children: r.update_information }),
100
+ /* @__PURE__ */ e(J, { children: n.personal_details }),
101
+ /* @__PURE__ */ e(L, { variant: "Body", children: n.update_information }),
101
102
  /* @__PURE__ */ c(
102
- p,
103
+ h,
103
104
  {
104
105
  direction: l ? "column" : "row",
105
106
  spacing: l ? 44 : 24,
@@ -109,7 +110,7 @@ const Oe = ({ availableWidth: t, handleOnLeavClick: a }) => {
109
110
  I,
110
111
  {
111
112
  defaultValue: u.first_name,
112
- label: r.first_name,
113
+ label: n.first_name,
113
114
  onChange: (f) => E({ first_name: f.target.value })
114
115
  }
115
116
  ),
@@ -117,44 +118,44 @@ const Oe = ({ availableWidth: t, handleOnLeavClick: a }) => {
117
118
  I,
118
119
  {
119
120
  defaultValue: u.last_name,
120
- label: r.last_name,
121
+ label: n.last_name,
121
122
  onChange: (f) => E({ last_name: f.target.value })
122
123
  }
123
124
  )
124
125
  ]
125
126
  }
126
127
  ),
127
- /* @__PURE__ */ c(p, { direction: l ? "column" : "row", children: [
128
- g.display_email_edit_field_in_settings && /* @__PURE__ */ c(p, { sx: { mb: z ? 20 : 44, mr: l ? 0 : 24 }, children: [
128
+ /* @__PURE__ */ c(h, { direction: l ? "column" : "row", children: [
129
+ g.display_email_edit_field_in_settings && /* @__PURE__ */ c(h, { sx: { mb: z ? 20 : 44, mr: l ? 0 : 24 }, children: [
129
130
  /* @__PURE__ */ e(
130
131
  I,
131
132
  {
132
133
  defaultValue: u.email,
133
- label: r.email_address,
134
+ label: n.email_address,
134
135
  onChange: (f) => E({ email: f.target.value })
135
136
  }
136
137
  ),
137
- z && /* @__PURE__ */ e(ve, {})
138
+ z && /* @__PURE__ */ e(Ce, {})
138
139
  ] }),
139
- g.display_sms_edit_field_in_settings && /* @__PURE__ */ c(p, { sx: { mb: Y ? 20 : 44 }, children: [
140
+ g.display_sms_edit_field_in_settings && /* @__PURE__ */ c(h, { sx: { mb: Y ? 20 : 44 }, children: [
140
141
  /* @__PURE__ */ e(
141
142
  I,
142
143
  {
143
144
  defaultValue: u.phone,
144
- label: r.mobile_number,
145
+ label: n.mobile_number,
145
146
  onChange: (f) => E({ phone: f.target.value }),
146
147
  type: "tel"
147
148
  }
148
149
  ),
149
- Y && /* @__PURE__ */ e(Ce, {})
150
+ Y && /* @__PURE__ */ e(De, {})
150
151
  ] })
151
152
  ] }),
152
- /* @__PURE__ */ c(p, { direction: l ? "column" : "row", spacing: l ? 44 : 24, sx: { mb: 44 }, children: [
153
- /* @__PURE__ */ e(be, { dateAdapter: _e, children: /* @__PURE__ */ e(
154
- ge,
153
+ /* @__PURE__ */ c(h, { direction: l ? "column" : "row", spacing: l ? 44 : 24, sx: { mb: 44 }, children: [
154
+ /* @__PURE__ */ e(ye, { dateAdapter: ge, children: /* @__PURE__ */ e(
155
+ be,
155
156
  {
156
- label: r.birthdate,
157
- onChange: (f) => E({ birthday: fe(f) }),
157
+ label: n.birthdate,
158
+ onChange: (f) => E({ birthday: _e(f) }),
158
159
  slotProps: {
159
160
  nextIconButton: {
160
161
  sx: {
@@ -176,24 +177,24 @@ const Oe = ({ availableWidth: t, handleOnLeavClick: a }) => {
176
177
  "&:hover": { backgroundColor: U(o.palette.primary.light, 0.1) }
177
178
  }
178
179
  },
179
- value: ie()
180
+ value: ae()
180
181
  }
181
182
  ) }),
182
183
  /* @__PURE__ */ e(
183
184
  I,
184
185
  {
185
186
  defaultValue: u.postal_code,
186
- label: r.zip_code,
187
+ label: n.zip_code,
187
188
  onChange: (f) => E({ postal_code: f.target.value })
188
189
  }
189
190
  )
190
191
  ] }),
191
- /* @__PURE__ */ c(p, { children: [
192
+ /* @__PURE__ */ c(h, { children: [
192
193
  /* @__PURE__ */ e(
193
194
  I,
194
195
  {
195
196
  defaultValue: u.credit_score,
196
- label: r.credit_score,
197
+ label: n.credit_score,
197
198
  onChange: (f) => E({ credit_score: Number(f.target.value) }),
198
199
  sx: { mb: 44 }
199
200
  }
@@ -202,10 +203,10 @@ const Oe = ({ availableWidth: t, handleOnLeavClick: a }) => {
202
203
  Q,
203
204
  {
204
205
  disabled: !v,
205
- onClick: ae,
206
- sx: { width: i ? 272 : 124 },
206
+ onClick: le,
207
+ sx: { width: r ? 272 : 124 },
207
208
  variant: "contained",
208
- children: n.save_button
209
+ children: i.save_button
209
210
  }
210
211
  )
211
212
  ] })
@@ -213,39 +214,39 @@ const Oe = ({ availableWidth: t, handleOnLeavClick: a }) => {
213
214
  }
214
215
  ),
215
216
  /* @__PURE__ */ e(
216
- W,
217
+ $,
217
218
  {
218
- copy: { title: r.discard_changes },
219
+ copy: { title: n.discard_changes },
219
220
  isOpen: C,
220
- onClose: se,
221
- onSecondaryAction: le,
222
- primaryText: r.keep_editing,
223
- secondaryText: r.leave,
224
- children: r.discard_changes_message
221
+ onClose: ce,
222
+ onSecondaryAction: se,
223
+ primaryText: n.keep_editing,
224
+ secondaryText: n.leave,
225
+ children: n.discard_changes_message
225
226
  }
226
227
  )
227
228
  ] });
228
- }, Ue = D(Oe);
229
+ }, Fe = D(Ue);
229
230
  var b = /* @__PURE__ */ ((t) => (t.Delete = "delete", t.Edit = "edit", t.Token = "token", t))(b || {});
230
- const Fe = ({
231
+ const Ve = ({
231
232
  devices: t,
232
233
  onClickDeviceEdit: a,
233
234
  onClickDeviceDelete: o
234
235
  }) => {
235
- const n = P(), { settings: r } = k(), m = [
236
+ const i = R(), { settings: n } = w(), d = [
236
237
  {
237
238
  field: "name",
238
- headerName: r.mobile_devices_column_name,
239
+ headerName: n.mobile_devices_column_name,
239
240
  renderHeader: O,
240
- renderCell: (i) => /* @__PURE__ */ c(p, { alignItems: "center", direction: "row", gap: 4, children: [
241
- /* @__PURE__ */ e(x, { variant: "Small", children: i.value }),
241
+ renderCell: (r) => /* @__PURE__ */ c(h, { alignItems: "center", direction: "row", gap: 4, children: [
242
+ /* @__PURE__ */ e(x, { variant: "Small", children: r.value }),
242
243
  /* @__PURE__ */ e(
243
244
  V,
244
245
  {
245
- "aria-label": r.mobile_devices_edit_label,
246
+ "aria-label": n.mobile_devices_edit_label,
246
247
  color: "secondary",
247
- onClick: () => a(i.row),
248
- children: /* @__PURE__ */ e(M, { name: "edit" })
248
+ onClick: () => a(r.row),
249
+ children: /* @__PURE__ */ e(N, { name: "edit" })
249
250
  }
250
251
  )
251
252
  ] }),
@@ -255,7 +256,7 @@ const Fe = ({
255
256
  },
256
257
  {
257
258
  field: "device_type",
258
- headerName: r.mobile_devices_column_type,
259
+ headerName: n.mobile_devices_column_type,
259
260
  renderHeader: O,
260
261
  sortable: !0,
261
262
  hideSortIcons: !1,
@@ -264,9 +265,9 @@ const Fe = ({
264
265
  },
265
266
  {
266
267
  field: "created_at",
267
- headerName: r.mobile_devices_column_added,
268
+ headerName: n.mobile_devices_column_added,
268
269
  renderHeader: O,
269
- valueFormatter: (i) => te(oe(i), { addSuffix: !0 }),
270
+ valueFormatter: (r) => te(oe(r), { addSuffix: !0 }),
270
271
  sortable: !0,
271
272
  hideSortIcons: !1,
272
273
  flex: 1,
@@ -276,28 +277,28 @@ const Fe = ({
276
277
  field: "delete",
277
278
  headerName: "",
278
279
  renderHeader: O,
279
- renderCell: (i) => /* @__PURE__ */ e(p, { mr: 4, children: /* @__PURE__ */ e(
280
+ renderCell: (r) => /* @__PURE__ */ e(h, { mr: 4, children: /* @__PURE__ */ e(
280
281
  V,
281
282
  {
282
- "aria-label": r.mobile_devices_delete_label,
283
+ "aria-label": n.mobile_devices_delete_label,
283
284
  color: "secondary",
284
- onClick: () => o(i.row),
285
- children: /* @__PURE__ */ e(M, { name: "delete" })
285
+ onClick: () => o(r.row),
286
+ children: /* @__PURE__ */ e(N, { name: "delete" })
286
287
  }
287
288
  ) }),
288
289
  sortable: !1,
289
290
  hideSortIcons: !1,
290
291
  width: 58
291
292
  }
292
- ], l = h.useMemo(() => t.map((i) => ({
293
- id: i.guid,
294
- ...i,
295
- device_type: `${i.make} ${i.model}`
293
+ ], l = p.useMemo(() => t.map((r) => ({
294
+ id: r.guid,
295
+ ...r,
296
+ device_type: `${r.make} ${r.model}`
296
297
  })), [t]);
297
298
  return /* @__PURE__ */ e(F, { sx: { width: "100%" }, children: /* @__PURE__ */ e(
298
- Se,
299
+ we,
299
300
  {
300
- columns: m,
301
+ columns: d,
301
302
  disableColumnFilter: !0,
302
303
  disableColumnMenu: !0,
303
304
  disableRowSelectionOnClick: !0,
@@ -312,14 +313,14 @@ const Fe = ({
312
313
  F,
313
314
  {
314
315
  sx: {
315
- backgroundColor: n.palette.background.default,
316
+ backgroundColor: i.palette.background.default,
316
317
  display: "flex",
317
318
  justifyContent: "flex-end",
318
319
  alignItems: "center",
319
320
  p: "12px 16px"
320
321
  },
321
- children: /* @__PURE__ */ e(x, { color: n.palette.text.secondary, variant: "Small", children: N(
322
- r.mobile_devices_count,
322
+ children: /* @__PURE__ */ e(x, { color: i.palette.text.secondary, variant: "Small", children: M(
323
+ n.mobile_devices_count,
323
324
  /* @__PURE__ */ e("b", { children: t.length }),
324
325
  /* @__PURE__ */ e("b", { children: t.length })
325
326
  ) })
@@ -328,59 +329,59 @@ const Fe = ({
328
329
  },
329
330
  sx: {
330
331
  border: "1px solid",
331
- borderColor: n.palette.border.light,
332
+ borderColor: i.palette.border.light,
332
333
  borderRadius: "8px",
333
334
  "& .MuiDataGrid-columnHeader .MuiIconButton-root": {
334
- color: n.palette.primary.main,
335
+ color: i.palette.primary.main,
335
336
  "&:hover": {
336
- backgroundColor: U(n.palette.primary.main, 0.1)
337
+ backgroundColor: U(i.palette.primary.main, 0.1)
337
338
  }
338
339
  },
339
340
  "& .MuiDataGrid-sortIcon": {
340
- color: n.palette.primary.main
341
+ color: i.palette.primary.main
341
342
  }
342
343
  }
343
344
  }
344
345
  ) });
345
- }, Ve = ({
346
+ }, We = ({
346
347
  devices: t,
347
348
  onClickDeviceEdit: a,
348
349
  onClickDeviceDelete: o
349
350
  }) => {
350
- const n = P(), { settings: r } = k(), [m, l] = h.useState(!1), i = (s) => (g, _) => {
351
+ const i = R(), { settings: n } = w(), [d, l] = p.useState(!1), r = (s) => (g, _) => {
351
352
  l(_ ? s : !1);
352
353
  };
353
- return /* @__PURE__ */ c(p, { mx: -28, sx: { "& .MuiAccordion-root": { mb: 0, mt: 0 } }, children: [
354
+ return /* @__PURE__ */ c(h, { mx: -28, sx: { "& .MuiAccordion-root": { mb: 0, mt: 0 } }, children: [
354
355
  t.map((s) => /* @__PURE__ */ c(
355
356
  ke,
356
357
  {
357
- expanded: m === s.guid,
358
- onChange: i(s.guid),
358
+ expanded: d === s.guid,
359
+ onChange: r(s.guid),
359
360
  sx: { boxShadow: "none" },
360
361
  children: [
361
362
  /* @__PURE__ */ e(
362
- Te,
363
+ Ie,
363
364
  {
364
- expandIcon: /* @__PURE__ */ e(M, { color: "secondary", name: "keyboard_arrow_down", size: 24 }),
365
+ expandIcon: /* @__PURE__ */ e(N, { color: "secondary", name: "keyboard_arrow_down", size: 24 }),
365
366
  sx: {
366
367
  padding: "14px 24px",
367
368
  borderBottom: "1px solid",
368
- borderColor: n.palette.border.light
369
+ borderColor: i.palette.border.light
369
370
  },
370
- children: /* @__PURE__ */ c(p, { gap: 4, children: [
371
+ children: /* @__PURE__ */ c(h, { gap: 4, children: [
371
372
  /* @__PURE__ */ e(x, { bold: !0, variant: "Body", children: s.name }),
372
- /* @__PURE__ */ e(x, { color: n.palette.text.secondary, variant: "Small", children: `${s.make} ${s.model}` }),
373
- /* @__PURE__ */ e(x, { color: n.palette.text.secondary, variant: "Small", children: te(oe(s.created_at), { addSuffix: !0 }) })
373
+ /* @__PURE__ */ e(x, { color: i.palette.text.secondary, variant: "Small", children: `${s.make} ${s.model}` }),
374
+ /* @__PURE__ */ e(x, { color: i.palette.text.secondary, variant: "Small", children: te(oe(s.created_at), { addSuffix: !0 }) })
374
375
  ] })
375
376
  }
376
377
  ),
377
378
  /* @__PURE__ */ c(
378
- we,
379
+ Te,
379
380
  {
380
- sx: { backgroundColor: n.palette.background.default, p: "0 0 0 24px" },
381
+ sx: { backgroundColor: i.palette.background.default, p: "0 0 0 24px" },
381
382
  children: [
382
383
  /* @__PURE__ */ c(
383
- p,
384
+ h,
384
385
  {
385
386
  onClick: () => a(s),
386
387
  sx: {
@@ -391,16 +392,16 @@ const Fe = ({
391
392
  py: 16,
392
393
  cursor: "pointer",
393
394
  borderBottom: "1px solid",
394
- borderColor: n.palette.border.light
395
+ borderColor: i.palette.border.light
395
396
  },
396
397
  children: [
397
- /* @__PURE__ */ e(V, { "aria-label": r.mobile_devices_edit_label, color: "secondary", children: /* @__PURE__ */ e(M, { name: "edit" }) }),
398
- /* @__PURE__ */ e(x, { variant: "Body", children: r.mobile_devices_edit_label })
398
+ /* @__PURE__ */ e(V, { "aria-label": n.mobile_devices_edit_label, color: "secondary", children: /* @__PURE__ */ e(N, { name: "edit" }) }),
399
+ /* @__PURE__ */ e(x, { variant: "Body", children: n.mobile_devices_edit_label })
399
400
  ]
400
401
  }
401
402
  ),
402
403
  /* @__PURE__ */ c(
403
- p,
404
+ h,
404
405
  {
405
406
  onClick: () => o(s),
406
407
  sx: {
@@ -412,8 +413,8 @@ const Fe = ({
412
413
  cursor: "pointer"
413
414
  },
414
415
  children: [
415
- /* @__PURE__ */ e(V, { "aria-label": r.mobile_devices_delete_label, color: "secondary", children: /* @__PURE__ */ e(M, { name: "delete" }) }),
416
- /* @__PURE__ */ e(x, { variant: "Body", children: r.mobile_devices_delete_label })
416
+ /* @__PURE__ */ e(V, { "aria-label": n.mobile_devices_delete_label, color: "secondary", children: /* @__PURE__ */ e(N, { name: "delete" }) }),
417
+ /* @__PURE__ */ e(x, { variant: "Body", children: n.mobile_devices_delete_label })
417
418
  ]
418
419
  }
419
420
  )
@@ -428,13 +429,13 @@ const Fe = ({
428
429
  F,
429
430
  {
430
431
  sx: {
431
- backgroundColor: n.palette.background.default,
432
+ backgroundColor: i.palette.background.default,
432
433
  borderTop: "1px solid",
433
- borderColor: n.palette.border.light,
434
+ borderColor: i.palette.border.light,
434
435
  p: "12px 16px"
435
436
  },
436
- children: /* @__PURE__ */ e(x, { color: n.palette.text.secondary, variant: "Small", children: N(
437
- r.mobile_devices_count,
437
+ children: /* @__PURE__ */ e(x, { color: i.palette.text.secondary, variant: "Small", children: M(
438
+ n.mobile_devices_count,
438
439
  /* @__PURE__ */ e("b", { children: t.length }),
439
440
  /* @__PURE__ */ e("b", { children: t.length })
440
441
  ) })
@@ -445,23 +446,23 @@ const Fe = ({
445
446
  dialogType: t,
446
447
  isOpen: a,
447
448
  onClose: o,
448
- device: n,
449
- deviceToken: r = ""
449
+ device: i,
450
+ deviceToken: n = ""
450
451
  }) => {
451
- const m = P(), { common: l, settings: i } = k(), { updateDevice: s, deleteDevice: g, setAlert: _, loadDevices: d } = A(), [u, S] = h.useState("");
452
- h.useEffect(() => {
453
- n && S(n.name);
454
- }, [n, t]);
452
+ const d = R(), { common: l, settings: r } = w(), { updateDevice: s, deleteDevice: g, setAlert: _, loadDevices: m } = A(), [u, S] = p.useState("");
453
+ p.useEffect(() => {
454
+ i && S(i.name);
455
+ }, [i, t]);
455
456
  const v = () => {
456
457
  switch (t) {
457
458
  case b.Edit:
458
- return i.mobile_devices_edit_label;
459
+ return r.mobile_devices_edit_label;
459
460
  case b.Delete:
460
- return i.mobile_devices_delete_label;
461
+ return r.mobile_devices_delete_label;
461
462
  default:
462
463
  return "";
463
464
  }
464
- }, w = () => {
465
+ }, k = () => {
465
466
  switch (t) {
466
467
  case b.Token:
467
468
  return l.done_button;
@@ -505,23 +506,23 @@ const Fe = ({
505
506
  }
506
507
  };
507
508
  }, T = async () => {
508
- if (t === b.Token && o(), t === b.Edit && n) {
509
- const y = { ...n, name: u };
510
- (await s(y)).success ? (_(i.mobile_devices_edit_success, "success"), d()) : _(
511
- N(i.mobile_devices_edit_error, n.name),
509
+ if (t === b.Token && o(), t === b.Edit && i) {
510
+ const y = { ...i, name: u };
511
+ (await s(y)).success ? (_(r.mobile_devices_edit_success, "success"), m()) : _(
512
+ M(r.mobile_devices_edit_error, i.name),
512
513
  "error"
513
514
  ), o();
514
515
  }
515
- t === b.Delete && n && ((await g(n.guid)).success ? (_(
516
- N(i.mobile_devices_delete_success, n.name),
516
+ t === b.Delete && i && ((await g(i.guid)).success ? (_(
517
+ M(r.mobile_devices_delete_success, i.name),
517
518
  "success"
518
- ), d()) : _(
519
- N(i.mobile_devices_delete_error, n.name),
519
+ ), m()) : _(
520
+ M(r.mobile_devices_delete_error, i.name),
520
521
  "error"
521
522
  ), o());
522
523
  };
523
524
  return /* @__PURE__ */ c(
524
- W,
525
+ $,
525
526
  {
526
527
  copy: { title: v() },
527
528
  isOpen: a,
@@ -529,49 +530,49 @@ const Fe = ({
529
530
  onPrimaryAction: T,
530
531
  onSecondaryAction: o,
531
532
  primaryColor: t === b.Delete ? "error" : void 0,
532
- primaryText: w(),
533
+ primaryText: k(),
533
534
  secondaryText: t === b.Token ? l.back : l.cancel_button,
534
535
  sx: C(),
535
536
  children: [
536
- t === b.Token && /* @__PURE__ */ c(p, { spacing: 16, sx: { px: 40, textAlign: "center", width: "100%" }, children: [
537
- /* @__PURE__ */ e(x, { bold: !0, truncate: !1, variant: "Body", children: i.mobile_devices_access_label }),
538
- /* @__PURE__ */ e(x, { truncate: !1, variant: "Small", children: i.mobile_devices_access_info_1 }),
537
+ t === b.Token && /* @__PURE__ */ c(h, { spacing: 16, sx: { px: 40, textAlign: "center", width: "100%" }, children: [
538
+ /* @__PURE__ */ e(x, { bold: !0, truncate: !1, variant: "Body", children: r.mobile_devices_access_label }),
539
+ /* @__PURE__ */ e(x, { truncate: !1, variant: "Small", children: r.mobile_devices_access_info_1 }),
539
540
  /* @__PURE__ */ e(
540
541
  x,
541
542
  {
542
543
  sx: {
543
- border: `1px solid ${m.palette.border.light}`,
544
+ border: `1px solid ${d.palette.border.light}`,
544
545
  borderRadius: "4px",
545
546
  p: "16px 32px"
546
547
  },
547
548
  variant: "H1",
548
- children: r
549
+ children: n
549
550
  }
550
551
  ),
551
- /* @__PURE__ */ e(x, { truncate: !1, variant: "Small", children: i.mobile_devices_access_info_2 })
552
+ /* @__PURE__ */ e(x, { truncate: !1, variant: "Small", children: r.mobile_devices_access_info_2 })
552
553
  ] }),
553
- t === b.Edit && /* @__PURE__ */ e(p, { children: /* @__PURE__ */ e(I, { onChange: (y) => S(y.target.value), value: u }) }),
554
- t === b.Delete && /* @__PURE__ */ e(H, { children: i.mobile_devices_delete_info })
554
+ t === b.Edit && /* @__PURE__ */ e(h, { children: /* @__PURE__ */ e(I, { onChange: (y) => S(y.target.value), value: u }) }),
555
+ t === b.Delete && /* @__PURE__ */ e(L, { children: r.mobile_devices_delete_info })
555
556
  ]
556
557
  }
557
558
  );
558
- }, We = D($e), ze = D(() => {
559
- const { isMobile: t } = L(), { settings: a } = k(), { isCopyLoaded: o, isInitialized: n } = Z(), { setAlert: r, devices: m, loadDevices: l, generateDeviceToken: i } = A(), [s, g] = h.useState({ open: !1, type: "" }), [_, d] = h.useState(), [u, S] = h.useState("");
560
- h.useEffect(() => {
561
- n && l();
562
- }, [n]);
559
+ }, ze = D($e), Ge = D(() => {
560
+ const { isMobile: t } = H(), { settings: a } = w(), { isCopyLoaded: o, isInitialized: i } = Z(), { setAlert: n, devices: d, loadDevices: l, generateDeviceToken: r } = A(), [s, g] = p.useState({ open: !1, type: "" }), [_, m] = p.useState(), [u, S] = p.useState("");
561
+ p.useEffect(() => {
562
+ i && l();
563
+ }, [i]);
563
564
  const v = async () => {
564
- const y = await i();
565
- y ? (S(y), g({ open: !0, type: b.Token })) : r(a.mobile_devices_access_error, "error");
566
- }, w = (y) => {
567
- d(y), g({ open: !0, type: b.Edit });
565
+ const y = await r();
566
+ y ? (S(y), g({ open: !0, type: b.Token })) : n(a.mobile_devices_access_error, "error");
567
+ }, k = (y) => {
568
+ m(y), g({ open: !0, type: b.Edit });
568
569
  }, C = (y) => {
569
- d(y), g({ open: !0, type: b.Delete });
570
+ m(y), g({ open: !0, type: b.Delete });
570
571
  }, T = () => {
571
- g({ open: !1, type: "" }), d(void 0);
572
+ g({ open: !1, type: "" }), m(void 0);
572
573
  };
573
- return !o || !n ? /* @__PURE__ */ e(ne, {}) : /* @__PURE__ */ c(
574
- p,
574
+ return !o || !i ? /* @__PURE__ */ e(ie, {}) : /* @__PURE__ */ c(
575
+ h,
575
576
  {
576
577
  sx: {
577
578
  backgroundColor: "background.paper",
@@ -579,32 +580,32 @@ const Fe = ({
579
580
  gap: 24
580
581
  },
581
582
  children: [
582
- /* @__PURE__ */ c(p, { gap: 4, children: [
583
+ /* @__PURE__ */ c(h, { gap: 4, children: [
583
584
  /* @__PURE__ */ e(J, { children: a.mobile_devices_title }),
584
- /* @__PURE__ */ e(H, { variant: "Body", children: a.mobile_devices_info })
585
+ /* @__PURE__ */ e(L, { variant: "Body", children: a.mobile_devices_info })
585
586
  ] }),
586
587
  t ? /* @__PURE__ */ e(
587
- Ve,
588
+ We,
588
589
  {
589
- devices: m,
590
+ devices: d,
590
591
  onClickDeviceDelete: C,
591
- onClickDeviceEdit: w
592
+ onClickDeviceEdit: k
592
593
  }
593
594
  ) : /* @__PURE__ */ e(
594
- Fe,
595
+ Ve,
595
596
  {
596
- devices: m,
597
+ devices: d,
597
598
  onClickDeviceDelete: C,
598
- onClickDeviceEdit: w
599
+ onClickDeviceEdit: k
599
600
  }
600
601
  ),
601
- /* @__PURE__ */ c(p, { sx: { alignItems: "center", px: 24, py: 12, gap: 4 }, children: [
602
+ /* @__PURE__ */ c(h, { sx: { alignItems: "center", px: 24, py: 12, gap: 4 }, children: [
602
603
  /* @__PURE__ */ e(x, { bold: !0, variant: "Body", children: a.mobile_devices_access_title }),
603
- /* @__PURE__ */ e(H, { align: "center", variant: "Small", children: a.mobile_devices_access_description }),
604
+ /* @__PURE__ */ e(L, { align: "center", variant: "Small", children: a.mobile_devices_access_description }),
604
605
  /* @__PURE__ */ e(Q, { onClick: v, variant: "text", children: a.mobile_devices_access_cta })
605
606
  ] }),
606
607
  /* @__PURE__ */ e(
607
- We,
608
+ ze,
608
609
  {
609
610
  device: _,
610
611
  deviceToken: u,
@@ -616,70 +617,70 @@ const Fe = ({
616
617
  ]
617
618
  }
618
619
  );
619
- }), Ge = ze, X = D(
620
- ({ onClick: t, primaryText: a, secondaryText: o, sx: n }) => {
621
- const r = P();
622
- return /* @__PURE__ */ e(Re, { sx: { bgcolor: r.palette.background.paper }, children: /* @__PURE__ */ c(Be, { alignItems: "flex-start", onClick: t, sx: n, children: [
623
- /* @__PURE__ */ e(Ne, { primary: a, secondary: o }),
624
- /* @__PURE__ */ e(Me, { children: /* @__PURE__ */ e(xe, {}) })
620
+ }), je = Ge, X = D(
621
+ ({ onClick: t, primaryText: a, secondaryText: o, sx: i }) => {
622
+ const n = R();
623
+ return /* @__PURE__ */ e(Be, { sx: { bgcolor: n.palette.background.paper }, children: /* @__PURE__ */ c(Ne, { alignItems: "flex-start", onClick: t, sx: i, children: [
624
+ /* @__PURE__ */ e(Le, { primary: a, secondary: o }),
625
+ /* @__PURE__ */ e(Me, { children: /* @__PURE__ */ e(ve, {}) })
625
626
  ] }) });
626
627
  }
627
- ), je = D(() => {
628
- const { settings: t } = k(), { categories: a } = ee(), { selectedRule: o, updateRuleCategory: n } = A(), [r, m] = h.useState(!1), l = () => {
629
- m(!1);
630
- }, i = () => {
631
- m(!0);
632
- }, s = (_) => a.find((d) => d.guid === _)?.name, g = async (_) => {
633
- o && o.category_guid !== _ && (o.category_guid = _, await n(o)), l();
628
+ ), Je = D(() => {
629
+ const { settings: t } = w(), { categories: a } = ee(), { selectedRule: o, updateRuleCategory: i } = A(), [n, d] = p.useState(!1), l = () => {
630
+ d(!1);
631
+ }, r = () => {
632
+ d(!0);
633
+ }, s = (_) => a.find((m) => m.guid === _)?.name, g = async (_) => {
634
+ o && o.category_guid !== _ && (o.category_guid = _, await i(o)), l();
634
635
  };
635
- return /* @__PURE__ */ c(h.Fragment, { children: [
636
+ return /* @__PURE__ */ c(p.Fragment, { children: [
636
637
  /* @__PURE__ */ e(
637
638
  X,
638
639
  {
639
- onClick: i,
640
+ onClick: r,
640
641
  primaryText: o?.category_guid ? s(o.category_guid) : "",
641
642
  secondaryText: t.category
642
643
  }
643
644
  ),
644
645
  /* @__PURE__ */ e(
645
- Ee,
646
+ Re,
646
647
  {
647
648
  initialSelected: o?.category_guid ? o.category_guid : void 0,
648
649
  onClose: l,
649
650
  onSelect: g,
650
- showDrawer: r,
651
+ showDrawer: n,
651
652
  title: t.select_category
652
653
  }
653
654
  )
654
655
  ] });
655
- }), Je = D(() => {
656
- const { common: t, settings: a } = k(), { selectedRule: o, updateRulePayee: n } = A(), r = P(), [m, l] = h.useState(!1), i = o?.description ? o.description : o?.match_description, [s, g] = h.useState(i || ""), _ = () => {
656
+ }), Ke = D(() => {
657
+ const { common: t, settings: a } = w(), { selectedRule: o, updateRulePayee: i } = A(), n = R(), [d, l] = p.useState(!1), r = o?.description ? o.description : o?.match_description, [s, g] = p.useState(r || ""), _ = () => {
657
658
  l(!0);
658
- }, d = async () => {
659
- s !== i && o && (o.description = s, await n(o), l(!1));
659
+ }, m = async () => {
660
+ s !== r && o && (o.description = s, await i(o), l(!1));
660
661
  };
661
- return /* @__PURE__ */ c(h.Fragment, { children: [
662
+ return /* @__PURE__ */ c(p.Fragment, { children: [
662
663
  /* @__PURE__ */ e(
663
664
  X,
664
665
  {
665
666
  onClick: _,
666
- primaryText: i,
667
+ primaryText: r,
667
668
  secondaryText: a.payee
668
669
  }
669
670
  ),
670
671
  /* @__PURE__ */ e(
671
- W,
672
+ $,
672
673
  {
673
674
  copy: { title: a.edit_payee },
674
- isOpen: m,
675
+ isOpen: d,
675
676
  onClose: () => l(!1),
676
- onPrimaryAction: d,
677
+ onPrimaryAction: m,
677
678
  onSecondaryAction: () => l(!1),
678
679
  primaryText: t.save_button,
679
680
  secondaryText: t.cancel_button,
680
681
  sx: {
681
682
  "& .MuiDialogContent-root": { pt: 0, width: 400 },
682
- path: { fill: r.palette.secondary.darker }
683
+ path: { fill: n.palette.secondary.darker }
683
684
  },
684
685
  children: /* @__PURE__ */ e(
685
686
  I,
@@ -692,33 +693,33 @@ const Fe = ({
692
693
  }
693
694
  )
694
695
  ] });
695
- }), Ke = D(({ onClose: t, onDelete: a, isOpen: o }) => {
696
- const { common: n, settings: r } = k(), m = P();
696
+ }), Xe = D(({ onClose: t, onDelete: a, isOpen: o }) => {
697
+ const { common: i, settings: n } = w(), d = R();
697
698
  return /* @__PURE__ */ e(
698
- W,
699
+ $,
699
700
  {
700
- copy: { title: r.delete_rule },
701
+ copy: { title: n.delete_rule },
701
702
  isOpen: o,
702
703
  onClose: t,
703
704
  onPrimaryAction: a,
704
705
  onSecondaryAction: t,
705
706
  primaryColor: "error",
706
- primaryText: n.delete_button,
707
- secondaryText: n.cancel_button,
707
+ primaryText: i.delete_button,
708
+ secondaryText: i.cancel_button,
708
709
  sx: {
709
710
  "& .MuiButton-outlined": {
710
- borderColor: m.palette.border.main,
711
- color: m.palette.secondary.main
711
+ borderColor: d.palette.border.main,
712
+ color: d.palette.secondary.main
712
713
  },
713
714
  "& .MuiDialogContent-root": { pt: 0, width: 400 },
714
- path: { fill: m.palette.secondary.darker }
715
+ path: { fill: d.palette.secondary.darker }
715
716
  },
716
- children: /* @__PURE__ */ e(x, { truncate: !1, variant: "Small", children: r.delete_rule_confirm })
717
+ children: /* @__PURE__ */ e(x, { truncate: !1, variant: "Small", children: n.delete_rule_confirm })
717
718
  }
718
719
  );
719
- }), Xe = D(
720
+ }), Ye = D(
720
721
  ({ isOpen: t, onClose: a, onDelete: o }) => {
721
- const { common: n, settings: r } = k(), m = P(), [l, i] = h.useState(!1);
722
+ const { common: i, settings: n } = w(), d = R(), [l, r] = p.useState(!1);
722
723
  return /* @__PURE__ */ c(
723
724
  He,
724
725
  {
@@ -726,25 +727,25 @@ const Fe = ({
726
727
  isOpen: t,
727
728
  onClose: a,
728
729
  onPrimaryAction: () => {
729
- i(!0);
730
+ r(!0);
730
731
  },
731
732
  primaryColor: "error",
732
- primaryText: n.delete_button,
733
+ primaryText: i.delete_button,
733
734
  sx: {
734
- "& .MuiToolbar-root": { borderTop: `1px solid ${m.palette.border.light}` }
735
+ "& .MuiToolbar-root": { borderTop: `1px solid ${d.palette.border.light}` }
735
736
  },
736
- title: r.edit_rule,
737
+ title: n.edit_rule,
737
738
  children: [
738
- /* @__PURE__ */ e(Ae, { children: /* @__PURE__ */ e(x, { bold: !0, variant: "XSmall", children: r.details }) }),
739
- /* @__PURE__ */ e(Je, {}),
739
+ /* @__PURE__ */ e(Ee, { children: /* @__PURE__ */ e(x, { bold: !0, variant: "XSmall", children: n.details }) }),
740
+ /* @__PURE__ */ e(Ke, {}),
740
741
  /* @__PURE__ */ e(j, { sx: { ml: 24 } }),
741
- /* @__PURE__ */ e(je, {}),
742
+ /* @__PURE__ */ e(Je, {}),
742
743
  /* @__PURE__ */ e(j, { sx: { ml: 24 } }),
743
744
  /* @__PURE__ */ e(
744
- Ke,
745
+ Xe,
745
746
  {
746
747
  isOpen: l,
747
- onClose: () => i(!1),
748
+ onClose: () => r(!1),
748
749
  onDelete: o
749
750
  }
750
751
  )
@@ -752,56 +753,59 @@ const Fe = ({
752
753
  }
753
754
  );
754
755
  }
755
- ), Ye = D(({ rule: t }) => {
756
- const { categories: a } = ee(), { setSelectedGuid: o } = Pe(), { deleteTransactionRule: n, setSelectedRule: r } = A(), { isDesktop: m, isTablet: l } = L(), [i, s] = h.useState(!1), g = () => {
757
- s(!1), o(null), r(void 0);
756
+ ), qe = D(({ rule: t }) => {
757
+ const { categories: a } = ee(), { setSelectedGuid: o } = Pe(), { deleteTransactionRule: i, setSelectedRule: n } = A(), { isDesktop: d, isTablet: l } = H(), [r, s] = p.useState(!1), g = () => {
758
+ s(!1), o(null), n(void 0);
758
759
  }, _ = async () => {
759
- await n(), g();
760
- }, d = () => {
761
- s(!0), r(t);
760
+ await i(), g();
761
+ }, m = () => {
762
+ s(!0), n(t);
762
763
  }, u = (S) => a.find((v) => v.guid === S)?.name;
763
- return /* @__PURE__ */ c(h.Fragment, { children: [
764
+ return /* @__PURE__ */ c(p.Fragment, { children: [
764
765
  /* @__PURE__ */ e(
765
766
  X,
766
767
  {
767
- onClick: d,
768
+ onClick: m,
768
769
  primaryText: t.description ? t.description : t.match_description,
769
770
  secondaryText: t.category_guid ? u(t.category_guid) : ""
770
771
  }
771
772
  ),
772
- /* @__PURE__ */ e(j, { sx: { ml: l || m ? 0 : 24 } }),
773
- /* @__PURE__ */ e(Xe, { isOpen: i, onClose: g, onDelete: _ })
773
+ /* @__PURE__ */ e(j, { sx: { ml: l || d ? 0 : 24 } }),
774
+ /* @__PURE__ */ e(Ye, { isOpen: r, onClose: g, onDelete: _ })
774
775
  ] });
775
- }), qe = D(() => {
776
- const { settings: t } = k(), { loadTransactionRules: a, transactionRules: o } = A();
777
- return h.useEffect(() => {
778
- a().finally();
779
- }, []), /* @__PURE__ */ c(p, { sx: { gap: 24, py: 24 }, children: [
780
- /* @__PURE__ */ c(p, { sx: { px: 24 }, children: [
776
+ }), Qe = D(() => {
777
+ const { settings: t } = w(), { loadTransactionRules: a, transactionRules: o } = A(), [i, n] = p.useState(!1);
778
+ return ne({
779
+ widgetName: "TransactionRulesTab",
780
+ isLoaded: i
781
+ }), p.useEffect(() => {
782
+ a().finally(() => n(!0));
783
+ }, []), /* @__PURE__ */ c(h, { sx: { gap: 24, py: 24 }, children: [
784
+ /* @__PURE__ */ c(h, { sx: { px: 24 }, children: [
781
785
  /* @__PURE__ */ e(J, { children: t.transaction_rules_label }),
782
- /* @__PURE__ */ e(H, { variant: "Body", children: t.transaction_rules_description })
786
+ /* @__PURE__ */ e(L, { variant: "Body", children: t.transaction_rules_description })
783
787
  ] }),
784
- /* @__PURE__ */ e(Ie, { children: o.map((n, r) => /* @__PURE__ */ e(Ye, { rule: n }, r)) })
788
+ /* @__PURE__ */ e(Ae, { children: o.map((d, l) => /* @__PURE__ */ e(qe, { rule: d }, l)) })
785
789
  ] });
786
- }), re = qe, Qe = D(({ selectedTab: t }) => {
790
+ }), re = Qe, Ze = D(({ selectedTab: t }) => {
787
791
  const { alert: a, setAlert: o } = A(), {
788
- config: { display_user_profile_in_settings: n }
789
- } = $();
792
+ config: { display_user_profile_in_settings: i }
793
+ } = W();
790
794
  return /* @__PURE__ */ c(q, { children: [
791
- t === B.Profile && /* @__PURE__ */ e(Ue, {}),
792
- t === B.Devices && /* @__PURE__ */ e(Ge, {}),
793
- t === B.Notifications && /* @__PURE__ */ e(G, { showPersonalDetails: !n }),
795
+ t === B.Profile && /* @__PURE__ */ e(Fe, {}),
796
+ t === B.Devices && /* @__PURE__ */ e(je, {}),
797
+ t === B.Notifications && /* @__PURE__ */ e(G, { showPersonalDetails: !i }),
794
798
  t === B.TransactionRules && /* @__PURE__ */ e(re, {}),
795
- t === B.Help && /* @__PURE__ */ e(p, { sx: { px: 24 }, children: /* @__PURE__ */ e(Le, {}) }),
799
+ t === B.Help && /* @__PURE__ */ e(h, { sx: { px: 24 }, children: /* @__PURE__ */ e(Oe, {}) }),
796
800
  /* @__PURE__ */ e(
797
- he,
801
+ fe,
798
802
  {
799
803
  anchorOrigin: { vertical: "bottom", horizontal: "right" },
800
804
  autoHideDuration: 3500,
801
805
  onClose: () => o(""),
802
806
  open: !!a.message,
803
807
  children: /* @__PURE__ */ e(
804
- pe,
808
+ he,
805
809
  {
806
810
  onClose: () => {
807
811
  o("");
@@ -816,64 +820,69 @@ const Fe = ({
816
820
  ] });
817
821
  });
818
822
  var B = /* @__PURE__ */ ((t) => (t[t.Profile = 0] = "Profile", t[t.Devices = 1] = "Devices", t[t.Notifications = 2] = "Notifications", t[t.TransactionRules = 3] = "TransactionRules", t[t.Help = 4] = "Help", t))(B || {});
819
- const $t = D(({ onBackClick: t, sx: a }) => {
820
- const { settings: o } = k(), { isCopyLoaded: n, isInitialized: r } = Z(), { config: m } = $(), { isMobile: l } = L(), {
821
- display_user_profile_in_settings: i,
823
+ const zt = D(({ onBackClick: t, sx: a }) => {
824
+ const { settings: o } = w(), { isCopyLoaded: i, isInitialized: n } = Z(), { config: d } = W(), { isMobile: l } = H();
825
+ ne({
826
+ widgetName: "SettingsWidget",
827
+ isLoaded: n && i
828
+ });
829
+ const {
830
+ display_user_profile_in_settings: r,
822
831
  display_mobile_devices_in_settings: s,
823
832
  display_notification_settings_in_settings: g,
824
833
  display_user_transaction_rules_in_settings: _,
825
- show_help_widget_in_master: d
826
- } = m, u = [
827
- { enabled: i, index: 0, label: o?.profile_label },
834
+ show_help_widget_in_master: m
835
+ } = d, u = [
836
+ { enabled: r, index: 0, label: o?.profile_label },
828
837
  { enabled: s, index: 1, label: o?.mobile_devices_label },
829
838
  { enabled: g, index: 2, label: o?.notifications_label },
830
839
  { enabled: _, index: 3, label: o?.transaction_rules_label },
831
- { enabled: d, index: 4, label: o?.help_label }
832
- ], S = u.find((C) => C.enabled), [v, w] = h.useState(S ? S.index : -1);
833
- return !n || !r ? /* @__PURE__ */ e(ne, {}) : /* @__PURE__ */ e(
840
+ { enabled: m, index: 4, label: o?.help_label }
841
+ ], S = u.find((C) => C.enabled), [v, k] = p.useState(S ? S.index : -1);
842
+ return !i || !n ? /* @__PURE__ */ e(ie, {}) : /* @__PURE__ */ e(
834
843
  K,
835
844
  {
836
845
  onBackClick: t,
837
846
  sx: { height: "calc(100dvh - 24px)", overflow: "auto", ...a },
838
847
  title: o.title,
839
- children: /* @__PURE__ */ c(p, { mx: l ? 0 : 48, my: 24, children: [
848
+ children: /* @__PURE__ */ c(h, { mx: l ? 0 : 48, my: 24, children: [
840
849
  /* @__PURE__ */ e(
841
- ue,
850
+ pe,
842
851
  {
843
- onChange: (C, T) => w(T),
852
+ onChange: (C, T) => k(T),
844
853
  sx: { bgcolor: "background.paper" },
845
854
  textColor: "primary",
846
855
  value: v,
847
856
  variant: "scrollable",
848
857
  children: u.map(
849
- (C) => C.enabled && /* @__PURE__ */ e(me, { label: C.label, value: C.index }, C.index)
858
+ (C) => C.enabled && /* @__PURE__ */ e(ue, { label: C.label, value: C.index }, C.index)
850
859
  )
851
860
  }
852
861
  ),
853
- /* @__PURE__ */ e(Qe, { selectedTab: v })
862
+ /* @__PURE__ */ e(Ze, { selectedTab: v })
854
863
  ] })
855
864
  }
856
865
  );
857
- }), Wt = D((t) => {
858
- const { clientConfig: a } = $(), o = a?.master?.deep_link_params?.view;
859
- return o ? /* @__PURE__ */ e(G, { view: o }) : /* @__PURE__ */ e(K, { ...t, children: /* @__PURE__ */ e(p, { my: 24, children: /* @__PURE__ */ e(G, {}) }) });
860
- }), zt = (t) => {
861
- const { isMobile: a } = L();
862
- return /* @__PURE__ */ e(K, { ...t, children: /* @__PURE__ */ e(p, { sx: { mx: a ? 0 : 48, my: 24 }, children: /* @__PURE__ */ e(re, {}) }) });
866
+ }), Gt = D((t) => {
867
+ const { clientConfig: a } = W(), o = a?.master?.deep_link_params?.view;
868
+ return o ? /* @__PURE__ */ e(G, { view: o }) : /* @__PURE__ */ e(K, { ...t, children: /* @__PURE__ */ e(h, { my: 24, children: /* @__PURE__ */ e(G, {}) }) });
869
+ }), jt = (t) => {
870
+ const { isMobile: a } = H();
871
+ return /* @__PURE__ */ e(K, { ...t, children: /* @__PURE__ */ e(h, { sx: { mx: a ? 0 : 48, my: 24 }, children: /* @__PURE__ */ e(re, {}) }) });
863
872
  };
864
873
  export {
865
- Yt as AccountNotificationProfiles,
866
- qt as BudgetNotificationProfiles,
867
- Ge as DeviceTab,
868
- Qt as InsightsNotificationProfiles,
874
+ Qt as AccountNotificationProfiles,
875
+ Zt as BudgetNotificationProfiles,
876
+ je as DeviceTab,
877
+ eo as InsightsNotificationProfiles,
869
878
  G as NotificationSettings,
870
- Wt as NotificationSettingsWidget,
871
- Ue as ProfileTab,
872
- Jt as SettingsApi,
873
- Kt as SettingsStore,
879
+ Gt as NotificationSettingsWidget,
880
+ Fe as ProfileTab,
881
+ Xt as SettingsApi,
882
+ Yt as SettingsStore,
874
883
  B as SettingsTabs,
875
- $t as SettingsWidget,
876
- Qe as SettingsWidgetContents,
884
+ zt as SettingsWidget,
885
+ Ze as SettingsWidgetContents,
877
886
  re as TransactionRulesTab,
878
- zt as TransactionRulesWidget
887
+ jt as TransactionRulesWidget
879
888
  };