@zeniai/web-cockpit-ui 1.15.59-dev → 1.15.60-dev

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 (284) hide show
  1. package/dist/assets/{ACHDetailsPage-CFhoboVe-NhNiWQoq.js → ACHDetailsPage-BO7lxW8c-B0_WsBb4.js} +1 -1
  2. package/dist/assets/{AIPerformancePage-DB-fTWME-C20PCC17.js → AIPerformancePage-SF-quMkk-D_TcV5rN.js} +1 -1
  3. package/dist/assets/AccountInfoPage-v8-NT3FJ-gaoEoT5g.js +18 -0
  4. package/dist/assets/{AccountInfoPageContent-eYEsv7ac-CxPwO1am.js → AccountInfoPageContent-DIWh6VaI-CcPRrUNm.js} +1 -1
  5. package/dist/assets/AccountLockedInfoModal-DloPB9vd-BOkxR2Sg.js +59 -0
  6. package/dist/assets/{AccountReconDetailsDrawerPage-3Q0EPYhL-DhctK78k.js → AccountReconDetailsDrawerPage-BAgQsFiF-hVicxd_W.js} +49 -49
  7. package/dist/assets/{AccountRow-CdgvnPG8-BbJV8Q8M.js → AccountRow-Dczx5rSu-C_XsKKay.js} +10 -10
  8. package/dist/assets/{AccountsPromoCardStack-DHo59LLN-G_DVA-Yj.js → AccountsPromoCardStack-Ywhto4lV-C2VycrWJ.js} +1 -1
  9. package/dist/assets/{AddAddressForCardDrawer-BzO1FXUa-kqMHH9Vt.js → AddAddressForCardDrawer-B8srmVT6-Co_HJf1Y.js} +1 -1
  10. package/dist/assets/{AddToWalletPage-BfXFbHjk-QRigQSHV.js → AddToWalletPage-k__RW699-DBnalmZR.js} +1 -1
  11. package/dist/assets/{AgingReportsPage-C1hFq4KH-COTxuu-2.js → AgingReportsPage-BuIXjljE-BrreoP_-.js} +1 -1
  12. package/dist/assets/{AllUserItems-B6pnKByY-BUdz_J3g.js → AllUserItems-BdgTe4WF-DQfYtDL3.js} +5 -5
  13. package/dist/assets/{ApAgingDetailPage-CxLVGnpY-OkmLiLaF.js → ApAgingDetailPage-6F47t31h-CB_PIykE.js} +3 -3
  14. package/dist/assets/{AppBasePage-DiVxF606-C03aQg1o.js → AppBasePage-DaTueT-x-BXKUSYxo.js} +1 -1
  15. package/dist/assets/{AppDrawerContent-B_EWsf8O-16pnrlUd.js → AppDrawerContent-CtCI6jpp-CsPTIxrb.js} +22 -22
  16. package/dist/assets/{ApprovalRulesSettingsPage-HHjDp_NQ-CDZaolru.js → ApprovalRulesSettingsPage-BVxu4soW-Cx9W9VZb.js} +1 -1
  17. package/dist/assets/{ArAgingChart-Ba4A-i2N-Cm3Zb2-A.js → ArAgingChart-BK-JyW2V-CRC7GMeI.js} +1 -1
  18. package/dist/assets/{ArAgingDetailPage-prgcvsS4-CC5CLIGP.js → ArAgingDetailPage-CvqLu3q8-BQd3HFeD.js} +4 -4
  19. package/dist/assets/{AttachmentView-SsWJw4A8-BGK1ntZP.js → AttachmentView-DQdb3v_e-CrflCKQW.js} +2 -2
  20. package/dist/assets/BalancesInsightWithToolTip-D4q45w1q-CGBLlxve.js +38 -0
  21. package/dist/assets/{BankAccountSection-B4jmT0lb-DzAFSATj.js → BankAccountSection-DgbfU8F--CkRwjy7A.js} +1 -1
  22. package/dist/assets/{BankAccountWarningSection-Bz2itMx0-BwlD2-aX.js → BankAccountWarningSection-litL0o_Z-DgHPj2Xz.js} +8 -8
  23. package/dist/assets/{BankConnectionsSettingsPage-BcVk7bTt-CT4jBj4R.js → BankConnectionsSettingsPage-bAj9uB9k-sPoCw_nL.js} +6 -6
  24. package/dist/assets/{BillDetailPage-Dkqmi4H1-BrWo4uGz.js → BillDetailPage-CiHal44n-B-pNvdK4.js} +1 -1
  25. package/dist/assets/{BillPayApprovalRuleDetailPage-Blxlv3pa-CZSNHT3K.js → BillPayApprovalRuleDetailPage-CRBli7lk-C6KU9krq.js} +1 -1
  26. package/dist/assets/{BillPayApprovalRulesPage-B_QwggJS-LtyCS7v3.js → BillPayApprovalRulesPage-BTOmSLcs-DsHPwIyx.js} +1 -1
  27. package/dist/assets/{BillPayPromoPage-Bx2AXpWe-Du89a98b.js → BillPayPromoPage-B5gkQjT2-CDaCRy4j.js} +6 -6
  28. package/dist/assets/{BillPaySetUpPage-CM7_DkHC-CclJKf3M.js → BillPaySetUpPage-DM3r09by-ylftA-6O.js} +1 -1
  29. package/dist/assets/{BillingSettingsPage-DM0OIfxa-BuoiB9BU.js → BillingSettingsPage-CiTKyJeG-D7-iHgY4.js} +1 -1
  30. package/dist/assets/{BillsBulkReviewDrawerPage-C3xmQ7wz-Bwj3c210.js → BillsBulkReviewDrawerPage-B6ofRDkg-pxXiH1By.js} +1 -1
  31. package/dist/assets/{BoxItem-CvCo0wr6-DKAIvhWo.js → BoxItem-C39hQSVg-DygFSSe8.js} +3 -3
  32. package/dist/assets/{BusinessVerificationPage-BAZmkR4a-AnwjdvL9.js → BusinessVerificationPage-BiWEnJET-BH1PMwYP.js} +1 -1
  33. package/dist/assets/{CardNumberSubText-DHtSIcZZ-DL8DMs-k.js → CardNumberSubText-FNfrozX6-CY1gwPPP.js} +1 -1
  34. package/dist/assets/{CashbackDetailPage-CNS1FA6b-JWXE3hsL.js → CashbackDetailPage-DaLICa_v-BHVqJW_A.js} +6 -6
  35. package/dist/assets/{ChargeCardDetailPage-C4NeG7IM-CPxS6cRg.js → ChargeCardDetailPage-B0Aq7zO5-Bj_iPNHv.js} +34 -34
  36. package/dist/assets/{ChargeCardListPage-DNYiWaEf-DJhH9poc.js → ChargeCardListPage-CfRto2rQ-DUZeib3g.js} +1 -1
  37. package/dist/assets/{ChargeCardListTable-DdnyzdFf-BmYCmkcc.js → ChargeCardListTable-DMdC4lxo-70bPzG6D.js} +28 -28
  38. package/dist/assets/{ChargeCardPaymentHistoryPage-CXlqzaUt-BEtGgsbY.js → ChargeCardPaymentHistoryPage-BYTmtF_y-QaBsAk7f.js} +22 -22
  39. package/dist/assets/ChargeCardPromoPage-AI5bladj-CDTghnkA.js +222 -0
  40. package/dist/assets/{ChargeCardSetupPage-BtikPFOq-_QFEhM40.js → ChargeCardSetupPage-BjhqdubL-Bxyq0dEG.js} +1 -1
  41. package/dist/assets/{ChargeCardStatementsPage-RepWBbvJ-fE-f9dTt.js → ChargeCardStatementsPage-DCM92s6v-BgJV4ytL.js} +4 -4
  42. package/dist/assets/{CheckDepositDrawerPage-BCqg3irO-BNQC0cqt.js → CheckDepositDrawerPage-CkIxEqHU-Dod8HuuJ.js} +1 -1
  43. package/dist/assets/{CollapsableReportTable-gy7Ue_fk-D4P0G-Lp.js → CollapsableReportTable-ClHwXtCj-D8daRiWx.js} +43 -43
  44. package/dist/assets/{CompanyOfficerDetailsSection-BsCx7q-g-vYNOEpVO.js → CompanyOfficerDetailsSection-BY8hFQnp-CtC3dw7s.js} +1 -1
  45. package/dist/assets/{CompanyPassportCard-BbUWOs1U-BLVqocbL.js → CompanyPassportCard-B3rZE3pg-CHku2Rtz.js} +2 -2
  46. package/dist/assets/{CompanyPassportPage-BnP2oA1U-zWSSW3Bs.js → CompanyPassportPage-4FXVf3EP-CYRMv_ux.js} +24 -24
  47. package/dist/assets/{CompleteProfile-TiRsm2Fm-CIjFxaAm.js → CompleteProfile-B1BoilWd-DIpcRO8q.js} +1 -1
  48. package/dist/assets/{ConfettiBurst-D7J36hZf-BKlSjT6j.js → ConfettiBurst-CsbAGF65-DaE2G5iK.js} +1 -1
  49. package/dist/assets/{ConstrainedInnerElement-CgdnMeoA-Bv_SCMJB.js → ConstrainedInnerElement-CgdnMeoA-D3ljsIVB.js} +1 -1
  50. package/dist/assets/{CreateOrEditVendorPage-Dihzr1D5-D9cB4SAg.js → CreateOrEditVendorPage-C50eYOFo-5jCRpD-i.js} +11 -11
  51. package/dist/assets/{CreditCardPaymentDrawerPage-CZGzDuxC-p3RWbIDE.js → CreditCardPaymentDrawerPage-Dxz_SY7N-CdO_tBcx.js} +5 -5
  52. package/dist/assets/{CurrencySelectField-BTAmIqPa-BqQ2_ci5.js → CurrencySelectField-D2Ogwvbr-DFlDNWit.js} +1 -1
  53. package/dist/assets/{CustomerOnboardingActivationPage-MVI7kqIh-wst5cRj4.js → CustomerOnboardingActivationPage-5Sh7hmI9-BLHLFJqx.js} +1 -1
  54. package/dist/assets/CustomerOnboardingContainerPage-B5kVGk_V-Bb9r_J_O.js +1 -0
  55. package/dist/assets/{CustomerOnboardingDetailPageSkeleton-CaI_0pCb-CxQ8bQdr.js → CustomerOnboardingDetailPageSkeleton-CL-mOSUp-BYS-DtUM.js} +1 -1
  56. package/dist/assets/{CustomerOnboardingNoStepsPage-CO_c2COV-pLp1hFCt.js → CustomerOnboardingNoStepsPage-CyL1AK78-Cy-eN1DF.js} +1 -1
  57. package/dist/assets/{CustomerOnboardingPage-BF0vuYaJ-JMRuse4Z.js → CustomerOnboardingPage-C8nxJPwo-CFmeBld-.js} +4 -4
  58. package/dist/assets/{CustomerOnboardingProductSuitePage-BGFdLX1i-DySt6BQg.js → CustomerOnboardingProductSuitePage-C7FbnHpU-Dxkjm06Q.js} +1 -1
  59. package/dist/assets/{Dashboard-Qjedd4r--DHZmjgJN.js → Dashboard-Bpu-6Sm5-BISIyFSl.js} +1 -1
  60. package/dist/assets/{DashboardReportPage-Deith_ON-ChcA84Vk.js → DashboardReportPage-B1aAikQG-BdFbggI-.js} +1 -1
  61. package/dist/assets/{DashboardSidebarBackgroundAnimation-C7DfUDio-DPyKxS1U.js → DashboardSidebarBackgroundAnimation-C6xm-p2j-CVm6YwBC.js} +1 -1
  62. package/dist/assets/{DepositAccTransactionItem-7kYotKov-BnPXoaAG.js → DepositAccTransactionItem-DEU0DgtI-EQTbBfv8.js} +3 -3
  63. package/dist/assets/{DepositAccTransactionListPage-Bop4Uj5w-ZOaAmZOC.js → DepositAccTransactionListPage-Bh0dIkE9-CW5ttbou.js} +2 -2
  64. package/dist/assets/{DomesticWireDetailsPage-_TyXsqEx-cl5Mv1ja.js → DomesticWireDetailsPage-2WyD73c9-Ddu9-eO2.js} +1 -1
  65. package/dist/assets/{DownloadOverlay-Cmd727bN-BHplNe_3.js → DownloadOverlay-B7M2VI7K-8UWWddqd.js} +18 -18
  66. package/dist/assets/{DrawerPage-DmGwfnGp-B5EgKZxZ.js → DrawerPage-DsQTxXa8-FNOF0T9x.js} +5 -5
  67. package/dist/assets/{EditPeoplePage-YyluIC6R-CQIl30sj.js → EditPeoplePage-fY0HXvVS-CPTN1GRB.js} +3 -3
  68. package/dist/assets/{EditReimbursementDetailPage-DeMid2Ko-BTURFjuA.js → EditReimbursementDetailPage-D7RUWSTZ-BNhqRuzG.js} +1 -1
  69. package/dist/assets/EntityDetailPage-BDyO7iLI-BQGDz9Ii.js +18 -0
  70. package/dist/assets/{EntitySummarySection-5NbutA8l-Z4HQfo2N.js → EntitySummarySection-0rRkC5V6-DX9oCnh6.js} +1 -1
  71. package/dist/assets/{ExpenseAutomationOverviewPage-CQ_3WluW-sBkDi2LJ.js → ExpenseAutomationOverviewPage-DOGAdZXV-Ott9us_6.js} +1 -1
  72. package/dist/assets/{ExpenseAutomationPage-VuU4acYd-DRu_62Rz.js → ExpenseAutomationPage-DOsIzX0P-DNfPXp6J.js} +1 -1
  73. package/dist/assets/{ExpressPayPage-DhoNmyC2-Ixqn7FeR.js → ExpressPayPage-CIi6jM8Y-qFfOMk3w.js} +1 -1
  74. package/dist/assets/{FeaturePreviewPage-GSwhPxgP-C20k6nV5.js → FeaturePreviewPage-BVn6ZUOB-BcJD18O7.js} +1 -1
  75. package/dist/assets/{FollowStepsSection-DaueHRo4-DdiQ4lOn.js → FollowStepsSection-CvWPHXDW-CayqdWAy.js} +1 -1
  76. package/dist/assets/{GlobalReviewListPage-DG7_1HOT-mLv5NHYa.js → GlobalReviewListPage-CS_11bx0-sbF8FOmX.js} +1 -1
  77. package/dist/assets/{InformationCardStack-zc-BxR7F-B2cR2Vrc.js → InformationCardStack-B9g7W7Xx-BWV4DOrJ.js} +1 -1
  78. package/dist/assets/{InsightsCardStack-DxCA5sFh-CBXIO7T2.js → InsightsCardStack-mvzIc2uY-DntFQXQU.js} +3 -3
  79. package/dist/assets/{InsightsSection-BdFG3j3R-DpGjm8qb.js → InsightsSection-rGyA4lY9-B2pA29Jq.js} +4 -4
  80. package/dist/assets/{IntegrationsSettingsPage-CaiL3kqS-yWfc1-ip.js → IntegrationsSettingsPage-Dwz4ukHF-BDuIwaNQ.js} +2 -2
  81. package/dist/assets/{InternationalWireSwiftDetailsPage-BrQVSzeS-DauYa5_z.js → InternationalWireSwiftDetailsPage-Cm0H9oyf-DfXMYL1d.js} +1 -1
  82. package/dist/assets/{InternationalWireVerificationPage-NaLnhW9C-D3Wh10D9.js → InternationalWireVerificationPage-woIoME3I-CEoHufSE.js} +1 -1
  83. package/dist/assets/{InviteFormPage-fjqv2l7h-CoWToBnJ.js → InviteFormPage-DaZ-sJYV-Bag9I8OB.js} +17 -17
  84. package/dist/assets/{InvitePageListView-CQecQhxr-BNu8hXMY.js → InvitePageListView-Do7EVQrj-BrU-UxSb.js} +13 -13
  85. package/dist/assets/{InvitePeoplePage-DAEBuOnk-jK8Ueocl.js → InvitePeoplePage-CpD7YoC2-DLME90b_.js} +1 -1
  86. package/dist/assets/{InvoiceUploadSection-58l6ePuH-BuOyGSAC.js → InvoiceUploadSection-DOuTQPee-DKRpBgc2.js} +1 -1
  87. package/dist/assets/{IssueChargeCardPage-Bkxqsgax-BMc-YwRY.js → IssueChargeCardPage-ClMhr27d-Dvt3VEvl.js} +1 -1
  88. package/dist/assets/{LabeledAddressValue-CZfFV97h-DWDhZW5u.js → LabeledAddressValue-B6_PZDTO-BM9CuApr.js} +1 -1
  89. package/dist/assets/{LabeledAddressValueField-D66XOhMx-Di6mjf7B.js → LabeledAddressValueField-Cz6tRMoW-wArjCe_0.js} +1 -1
  90. package/dist/assets/{LabeledControlledCheckBoxField-BtnsqE4D-CLMK-CUC.js → LabeledControlledCheckBoxField-BEpAlnvo-BghNAEyy.js} +1 -1
  91. package/dist/assets/{LabeledCountryMultiSelectField-kopByxLB-CVecMMvH.js → LabeledCountryMultiSelectField-1kTcZMQW-BkvqWj3Y.js} +1 -1
  92. package/dist/assets/{LabeledCreatableSingleSelectField-B6An-cwq-DxTaWad8.js → LabeledCreatableSingleSelectField-PiLB1S77-D7JcIqjo.js} +1 -1
  93. package/dist/assets/{LabeledDocumentField-D_ZD8JTn-BbI3Z3Te.js → LabeledDocumentField-Cicw8ABs-BakwqLCx.js} +1 -1
  94. package/dist/assets/{LabeledDropDownFormattedTextField-CJ7ncCzH-CmOBBbLT.js → LabeledDropDownFormattedTextField-BEVVgIGK-CLPycccH.js} +2 -2
  95. package/dist/assets/{LabeledText-A1h_ionS-YHsepFfP.js → LabeledText-C56xvYuX-BJO8VuVp.js} +1 -1
  96. package/dist/assets/{LabeledUserSingleSelectWithSubtitlesField-IYaUvqgY-BQ0ZCt10.js → LabeledUserSingleSelectWithSubtitlesField-CF4oVI17-1aX-FRHw.js} +1 -1
  97. package/dist/assets/{LabeledZeniRolesDropDownField-DmynBXbJ-BkBy6SHA.js → LabeledZeniRolesDropDownField-B5rxYfam-B3apIRze.js} +1 -1
  98. package/dist/assets/{LinkJETransactionPage-D6-fL4a6-DPNZmHzv.js → LinkJETransactionPage-DbnaYlRA-4hyH1rgp.js} +9 -9
  99. package/dist/assets/{LockCardPage-BDlnh_zf-coxMaBNB.js → LockCardPage-XHbTmzq8-CfUgYvqO.js} +20 -20
  100. package/dist/assets/{LowBalancePopup-CBPl_udd-D2XBBf4O.js → LowBalancePopup-IF7NG9aL-CmWtcxy6.js} +2 -2
  101. package/dist/assets/MagicLinkACHDetailsPage-DbhqYo7W-DLN4BmVt.js +1 -0
  102. package/dist/assets/{MagicLinkDomesticWireDetailsPage-BcNOhJgL-C8mUkiDX.js → MagicLinkDomesticWireDetailsPage-D0JDLfbz-CKYFGEdB.js} +1 -1
  103. package/dist/assets/MagicLinkInternationalWireDetailsPage-DChqrJN7-j39Z7g0H.js +1 -0
  104. package/dist/assets/{MagicLinkSuccessPage-Cl461HWp-CO6oeX5F.js → MagicLinkSuccessPage-Cyr3p_8a-DYu_aa7F.js} +1 -1
  105. package/dist/assets/{MagicLinkTitleSection-DoIMYrRv-BlE9zH37.js → MagicLinkTitleSection-A4zyF5bg-CuWJG08o.js} +1 -1
  106. package/dist/assets/MailingDetailsSection-DqSOlu2t-XHdrpb5B.js +21 -0
  107. package/dist/assets/{MyBankConnectionsSettingsPage-BU6TBzI1-DN5Npe5i.js → MyBankConnectionsSettingsPage-DtTjhna--DxAAS5ce.js} +1 -1
  108. package/dist/assets/{MyPendingActivationChargeCardListPage-DcunCDU6-gyBwBEb_.js → MyPendingActivationChargeCardListPage-CKSWf7I4-CVnClwp0.js} +1 -1
  109. package/dist/assets/{MyProfileSettingsPage-DF7ahyXE-B1LJnYuu.js → MyProfileSettingsPage-WF1pNlyU-C1ew1Kqs.js} +1 -1
  110. package/dist/assets/{NavBarWithPicker-D2v1fhLS-C3H8GgqL.js → NavBarWithPicker-DiCaJ8Qy-D9erSe1B.js} +3 -3
  111. package/dist/assets/{NavigationArrow-CWUL-6kN-BrqMd9Lj.js → NavigationArrow-f4Z3TuXg-DjAooGX3.js} +6 -6
  112. package/dist/assets/{NavigationDots-c-XSrFzE-Dxzsqafk.js → NavigationDots-WiVjbUsC-BSgmW_if.js} +1 -1
  113. package/dist/assets/{NewGlobalMerchantPage-FGEO68I8-B7wryl8V.js → NewGlobalMerchantPage-kvjjwV8d-C-gYRU5V.js} +1 -1
  114. package/dist/assets/{NoDataChart-DJhSgtLu-B7rWK9ww.js → NoDataChart-DlSLTzZl-qjL1S4Ow.js} +1 -1
  115. package/dist/assets/{NoDataTable-BZiwo2qK-1fFq9QL7.js → NoDataTable-9vLoRpsR-NJzyakwC.js} +1 -1
  116. package/dist/assets/{NotFoundPage-BN5unYX8-RIPoUtcm.js → NotFoundPage-CFlNCHFs-CZtYv7Ed.js} +4 -4
  117. package/dist/assets/{NotificationSettingsPage-d8kHDj0M-BR4XfDGy.js → NotificationSettingsPage-KJzE9v4p-D_0qzf80.js} +1 -1
  118. package/dist/assets/{NotificationsListConfig-ThKLok_w-DiwvAaDh.js → NotificationsListConfig-6sXXtF_E-CjeFzlDg.js} +1 -1
  119. package/dist/assets/{NotificationsPage-Uvu6XESA-C7IDz_PV.js → NotificationsPage-D4AmPdo9-Lse12GIJ.js} +11 -11
  120. package/dist/assets/{OpExByVendorPage-QyqRkD2_-BZtZlU0k.js → OpExByVendorPage-B5Wtu3ww-DoL2G9-j.js} +1 -1
  121. package/dist/assets/{OverlayContainerPage-BG9y5C0t-B5Ccc20I.js → OverlayContainerPage-BG9y5C0t-B-_gIiaG.js} +1 -1
  122. package/dist/assets/{PandLWithForecastPage-DJ2v5qbE-D34Zu7P_.js → PandLWithForecastPage-CjkaxTx7-hcg5r7tq.js} +2 -2
  123. package/dist/assets/{PaymentAccountSetupBillingAddressSection-q5z8XZFC-BXoCztnc.js → PaymentAccountSetupBillingAddressSection-eeLSg7xb-BPuUddlR.js} +6 -6
  124. package/dist/assets/{PeoplePage-C5ZdpVyR-D5gb3H9N.js → PeoplePage-CQREy6SW-B0AK4Oec.js} +1 -1
  125. package/dist/assets/{Preview-M7TzJD6j.js → Preview-CZH7Vvu6.js} +1 -1
  126. package/dist/assets/{ProductsCarousel-CXjLTOLy-qhgO5u3T.js → ProductsCarousel-COZZMTcH-CfEx379j.js} +3 -3
  127. package/dist/assets/{PromoBaseCards-CN9uZfG4-4ZG6rDcT.js → PromoBaseCards-Bmn6TN2k-B692-NLa.js} +1 -1
  128. package/dist/assets/{QBOConnectionDialog-CXSi1Pd9-BlV5xAad.js → QBOConnectionDialog-DYxoiSkA-COoNZDfT.js} +1 -1
  129. package/dist/assets/{QBOSetupSection-BrtLMvEP-CWf9qAKV.js → QBOSetupSection-Cdz2PDxV-1MtshN_P.js} +1 -1
  130. package/dist/assets/{ReimbursementApprovalRuleDetailPage-CS1BQ7pL-gwQi2ubd.js → ReimbursementApprovalRuleDetailPage-C-QEoqCw-DEqspRF0.js} +2 -2
  131. package/dist/assets/{ReimbursementApprovalRulesPage-aLRkhkZB-CtUN1jCI.js → ReimbursementApprovalRulesPage-Ch2sxTFV-CKSEAZRx.js} +9 -9
  132. package/dist/assets/{ReimbursementDetailPage-Dr5BTvEq-BkIwEWVX.js → ReimbursementDetailPage-DSF6SfKn-BbgmDgbl.js} +1 -1
  133. package/dist/assets/{ReimbursementPromoPage-C5Z0mVhQ-sIeJk3bD.js → ReimbursementPromoPage-F1ROFd63-Df7C1VVh.js} +4 -4
  134. package/dist/assets/{ReimbursementSetUpPage-CXhOBErm-DH5oFO_k.js → ReimbursementSetUpPage-l2mhLFuo-DfcOr7HI.js} +1 -1
  135. package/dist/assets/{ReimbursementsBulkReviewDrawerPage-CA0n0mau-YPT0uXmT.js → ReimbursementsBulkReviewDrawerPage-DyPxPnlu-BUgOGjSI.js} +1 -1
  136. package/dist/assets/{ReloadCard-Bjp8ygC2-QCThgpLx.js → ReloadCard-CDcJMl9F-tXak7uFI.js} +1 -1
  137. package/dist/assets/{ReportTableViewSelector-DTk1dNWC-B6Y4EDN-.js → ReportTableViewSelector-DvCk55Hn-CTarIpK9.js} +1 -1
  138. package/dist/assets/{ReportsPage-DrjOGopt-DJaJ6UxU.js → ReportsPage-DfqqKSt3-BxlHe2bX.js} +49 -38
  139. package/dist/assets/{RevenueChart-CqGvXDr4-ls1jVoKH.js → RevenueChart-BONT9upM-Cun2QP3i.js} +1 -1
  140. package/dist/assets/{ReviewDetailsPage-CWBP7FBN-BDBxmvOT.js → ReviewDetailsPage-857bVurA-D9gCRs9U.js} +1 -1
  141. package/dist/assets/{ReviewOverlay-Cxkp85Kw-C7d3vwBi.js → ReviewOverlay-ClQg7d2j-j91vCn0m.js} +1 -1
  142. package/dist/assets/RoleWithToolTip-C0G1Hgp_-BKrTDu8H.js +22 -0
  143. package/dist/assets/{ScheduleDetailsFixedAssetsPage-CYvlB3Nf-BjdxIH5b.js → ScheduleDetailsFixedAssetsPage-CJ_JBtxS-BCPY7QpL.js} +1 -1
  144. package/dist/assets/{ScheduleDetailsPage-CZXJ15tN-CjrCADWR.js → ScheduleDetailsPage-B1aEwPL--vu1ZFkSU.js} +3 -3
  145. package/dist/assets/{ScheduleSequenceTable-DNPID_7F-j2fgEjwp.js → ScheduleSequenceTable-DhU7PI91-BAKwnm-f.js} +1 -1
  146. package/dist/assets/{ScreenRoutes-DJ_rUo9A.js → ScreenRoutes-B4US_7hw.js} +1 -1
  147. package/dist/assets/{SetUpAccountSection-_WPR-q2V-DrJlA8IQ.js → SetUpAccountSection-C8dulq9s-DDXcc18s.js} +11 -11
  148. package/dist/assets/{SignIn-CDEsZw_T-0YUs2QmP.js → SignIn-wDe7lbGR-dg2gJssp.js} +1 -1
  149. package/dist/assets/{SignInScreen-CUXsEOc0.js → SignInScreen-CnOpPKTK.js} +1 -1
  150. package/dist/assets/{SpendManagementListViewPage-MOCWuROI-DKR38Veg.js → SpendManagementListViewPage-BdddUHrW-CnqRniMi.js} +3 -3
  151. package/dist/assets/{SpendManagementPerTabPage-BeK0SCeE-D8khDgh_.js → SpendManagementPerTabPage-BBJm3884-DoJtdm-x.js} +18 -18
  152. package/dist/assets/{SpendManagementSection-DZFPfKNi-BUQ2S0Kz.js → SpendManagementSection-6R5y0Hy4-D5jOLcFY.js} +1 -1
  153. package/dist/assets/{StatementItem-DjvU5wiI-DHTNeSpB.js → StatementItem-qsoXKx_p-DBQZldZM.js} +1 -1
  154. package/dist/assets/{StatementsPage-DYLp_e7W-C5hw_hkQ.js → StatementsPage-Cn7WG5-S-AcQ1iHip.js} +1 -1
  155. package/dist/assets/{StatusSwitcher-jxaonB4S-Dw8Z5KsP.js → StatusSwitcher-D3qCg5J1-BZCFmoiB.js} +1 -1
  156. package/dist/assets/{SubTabSwitcher-CudjNlsi-Dk2m1EXt.js → SubTabSwitcher-BXajy75j-DZugBDGb.js} +1 -1
  157. package/dist/assets/{SummaryCard-DPOhBmkr-Cj1Lt-Mp.js → SummaryCard-B1d4_5lE-uu1gTNTh.js} +1 -1
  158. package/dist/assets/{TaskManagementPage-CTMoHv0R-DzrReeZE.js → TaskManagementPage-h3Rb49Jj-Mtdf3ds1.js} +1 -1
  159. package/dist/assets/{TimeRangeSwitcher-SqY2MHGs-Bpa_mFEa.js → TimeRangeSwitcher-DpUOmqiR-DjFTIpwn.js} +1 -1
  160. package/dist/assets/{TimeframeSwitcher-BlJ2fuHy-8yHS99Lr.js → TimeframeSwitcher-BKEtsv_r-DfkM31PQ.js} +1 -1
  161. package/dist/assets/{TimeframeSwitcherWithToggle-Dgc1odUH-CNwpIwWb.js → TimeframeSwitcherWithToggle-DECnQIMT-Cmt_c04c.js} +10 -10
  162. package/dist/assets/{TopExCard-CG8YLsYe-CsdBprjg.js → TopExCard-leQR29Sq-B0Y6UXAe.js} +3 -3
  163. package/dist/assets/{TopExDetailPage-TvYCbzSP-C1DN6y7-.js → TopExDetailPage-Dgg7Do6D-DdiiFE6N.js} +8 -8
  164. package/dist/assets/{TransactionActivityLogPage-BL3vEAdU-B_s3Ii9P.js → TransactionActivityLogPage-CU2pUJQL-CUfFmWBA.js} +6 -6
  165. package/dist/assets/{TransactionDetailPage-DUouBL0o-BwsVWjsw.js → TransactionDetailPage-FT2IPLH7-BTpqS69f.js} +17 -17
  166. package/dist/assets/{TransactionList-B16NONME-MhxbTKXX.js → TransactionList-C2MGkQYM-DYhz6ZPl.js} +1 -1
  167. package/dist/assets/{TransactionListBig-CItPbTRV-CTDy7YXE.js → TransactionListBig-CZ3jIxzR-CRCbDlw1.js} +4 -4
  168. package/dist/assets/{TransactionListPage-DNecYY8M-DvyKlW5R.js → TransactionListPage-PCa4exLO-BxsKDJxF.js} +1 -1
  169. package/dist/assets/{TransactionVendorDetailPage-DpqisXN8-BeIl3VIo.js → TransactionVendorDetailPage-BgcqndCu-JJLz26CY.js} +1 -1
  170. package/dist/assets/{TransferDrawerPage-Dsmbswu0-DuQeRo8o.js → TransferDrawerPage-SirvPH4z-I4L9iRhs.js} +28 -28
  171. package/dist/assets/{TreasuryOverviewPage-BcRpcYmB-B_2n4w_R.js → TreasuryOverviewPage-B_WK1aOv-CprBsLp-.js} +12 -12
  172. package/dist/assets/{TreasuryPromoPage-DOO_OMRa-Nn5daNmi.js → TreasuryPromoPage-B_D63Dr2-CnSqy837.js} +9 -9
  173. package/dist/assets/{TreasuryStatementsPage-A_U7bEy5-DdFUWuDa.js → TreasuryStatementsPage-BGe0fhBe-DTEczdhN.js} +2 -2
  174. package/dist/assets/TreasuryTaxLetterPage-9gNdkQZp-C1BQoAja.js +58 -0
  175. package/dist/assets/{TrendChart-GMMat-NG-CAc9nAfG.js → TrendChart-COItOWPp-BY69H27v.js} +1 -1
  176. package/dist/assets/{TrendWithTransactions-CrA4opNV-BTtTpjeg.js → TrendWithTransactions-DgAw_8CI-31-F3YNz.js} +1 -1
  177. package/dist/assets/{UncategorizedAccountsMappingPage-CrzbFGOi-B7V18O6N.js → UncategorizedAccountsMappingPage-B9EziB6Q-B5XRflrD.js} +5 -5
  178. package/dist/assets/{UnitIntegrationPage-XZY6zJa7-Cq4xbYW7.js → UnitIntegrationPage-DGWNyWV1-DDxjCVGo.js} +1 -1
  179. package/dist/assets/{UploadAdditionalDocumentOverlay-eqwSLigx-Ci9eqDqb.js → UploadAdditionalDocumentOverlay-DWmMz_8y-CvLWvP9X.js} +1 -1
  180. package/dist/assets/{Vendor2FAPopup-BHDivuPB-Cn8-yps4.js → Vendor2FAPopup-dh2g8kqu-CdLofAYR.js} +1 -1
  181. package/dist/assets/VendorACHDetailsPage-C0vIRpRW-Bl9ig0z-.js +1 -0
  182. package/dist/assets/{VendorDetailPage-DEu-yS8w-DNet96B_.js → VendorDetailPage-CGqoIODq-VSGzsMrn.js} +10 -10
  183. package/dist/assets/VendorDomesticWireDetailsPage-BVXSOMiH-B_RQPHLo.js +1 -0
  184. package/dist/assets/{VendorFiling1099EditablePage-C461SzO0-BVUWElpF.js → VendorFiling1099EditablePage-CsnlHrCl-AUunsfoG.js} +1 -1
  185. package/dist/assets/{VendorFirstReviewPage-klbCHS04-BFjy2m5_.js → VendorFirstReviewPage-DC1j2sO_-CtBZ5OYr.js} +1 -1
  186. package/dist/assets/{VendorInternationalWireDetailsPage-DY0V-VbO-C2xJ0CsJ.js → VendorInternationalWireDetailsPage-Drr00a6C-CQ1ZShGA.js} +8 -8
  187. package/dist/assets/VendorInternationalWireSwiftDetailsPage-CZ5N8G2o-BqZ7DdzL.js +1 -0
  188. package/dist/assets/{VendorsAccountsSection-Cqcr-ArD-DAAwd5Iw.js → VendorsAccountsSection-BtdwR8u4-DTioiVZE.js} +1 -1
  189. package/dist/assets/{VerifyDevice-Dhu5iywf-HX-kw30c.js → VerifyDevice-Bhr_yHpE-BbGiRxv5.js} +3 -3
  190. package/dist/assets/{VideoPlayer-ZGjx_Hp7-Nomi0VD9.js → VideoPlayer-wlJX6lEq-D6dTvqn0.js} +2 -2
  191. package/dist/assets/{VideoPopup-R3u0N_if-DgVn2CAl.js → VideoPopup-BPptwR51-COhEr58N.js} +1 -1
  192. package/dist/assets/{WarningsDrawerPage-TerLFC4m-C5ptwy3N.js → WarningsDrawerPage-CHDMmfGz-BXafaQFq.js} +1 -1
  193. package/dist/assets/{ZeniAccountDetailPage-DQB7sXU9-CETOq0EN.js → ZeniAccountDetailPage-CSsu44ls-BwOj8KvI.js} +9 -9
  194. package/dist/assets/{ZeniAccountListViewPage-BwXKgf6g-DrDKS22-.js → ZeniAccountListViewPage-BZwGCrzx-Dpx7_w7g.js} +22 -22
  195. package/dist/assets/{ZeniAccountNavBarPieces-CHUTFAWG-DBX2rB9H.js → ZeniAccountNavBarPieces-CrNjnkNS-DjQVooJA.js} +5 -5
  196. package/dist/assets/{ZeniAccountPromoPage-BkfJuMNV-DSkmb6Z5.js → ZeniAccountPromoPage-CahV-Rmf-B4cDQ_nu.js} +1 -1
  197. package/dist/assets/{ZeniAccountSetupPage-C3drM4Zs-D-HaFV-S.js → ZeniAccountSetupPage-DSNDNKZr-CY5M0A2Q.js} +1 -1
  198. package/dist/assets/{ZeniCopyright-CznSgVJF-iBl18n1m.js → ZeniCopyright-BNGdkMOa-Bn4hiDwJ.js} +1 -1
  199. package/dist/assets/{ZeniTransferAmountSlider-C77DEl-C-CZljZWCZ.js → ZeniTransferAmountSlider-DuD1JtSv-FE9AJrcw.js} +1 -1
  200. package/dist/assets/{add-to-wallet-DgdBD8_G-CM6IrCpv.js → add-to-wallet-DgdBD8_G-OZ5gpoAM.js} +1 -1
  201. package/dist/assets/{analytics-B_VWX-BQ.js → analytics-TwdLweES.js} +1 -1
  202. package/dist/assets/{analyticsHelper-Bh8o1v3y-C4Sojiq_.js → analyticsHelper-DjQYjslY-DBXj-dJs.js} +1 -1
  203. package/dist/assets/{analyticsHelper-B8fd42um.js → analyticsHelper-iTM7ZfDG.js} +1 -1
  204. package/dist/assets/{arrow-south-east-round-PEovUgvH-CQGzMyhs.js → arrow-south-east-round-PEovUgvH-q2OU5IkV.js} +1 -1
  205. package/dist/assets/{auto-transfer-rule-mbafm5D3-Ba30im8q.js → auto-transfer-rule-mbafm5D3-BEBK8d08.js} +1 -1
  206. package/dist/assets/{chartTypes-C14YY2Rq-DHigu710.js → chartTypes-BGl-YMiu-WdB5HF6p.js} +1 -1
  207. package/dist/assets/{commonDimensions-CVpc-NCw-D6CVEqC_.js → commonDimensions-CuKo3wam-CITxsF7B.js} +1 -1
  208. package/dist/assets/{commonTypes-Ec-PxfpT-Dj2109B_.js → commonTypes-CfAg6Jvv-D6_uVQ3i.js} +1 -1
  209. package/dist/assets/{constants-DgwGHN1r.js → constants-BRyQqmbK.js} +1 -1
  210. package/dist/assets/{core-Cjh03OPu.js → core-C_RwbDgZ.js} +1 -1
  211. package/dist/assets/{dash.all.min-CCSNDyIp.js → dash.all.min-BXIjGNzm.js} +1 -1
  212. package/dist/assets/{downloadPdf-BuPJ6cfr-Dyz4TLVR.js → downloadPdf-Dcd8BY_9-DevbEgfI.js} +1 -1
  213. package/dist/assets/{empty-iTJcp-B8.js → empty-CN54c-dU.js} +1 -1
  214. package/dist/assets/{empty-DlGh28fD.js → empty-D7p7xixl.js} +1 -1
  215. package/dist/assets/{epic-hN0N_N79.js → epic-CThn8LAI.js} +1 -1
  216. package/dist/assets/{gift-box-Cmt9OgIZ-TbiyaSAn.js → gift-box-Cmt9OgIZ-oia6LvJT.js} +1 -1
  217. package/dist/assets/{graphic-no-data-l-DU4J8fDt-CxIH_dl6.js → graphic-no-data-l-DU4J8fDt-DCjrEnAk.js} +1 -1
  218. package/dist/assets/{graphic-no-data-net-burn-l-CzmycA0m-CUkTpFd-.js → graphic-no-data-net-burn-l-CzmycA0m-Db_-34x6.js} +1 -1
  219. package/dist/assets/{handshake-BPg58FML-Dbtylvfc.js → handshake-BPg58FML-Dcowt3IG.js} +1 -1
  220. package/dist/assets/{helper-AgH8nJln-Bk3G7LVh.js → helper-DkzA3y2L-C_9Y7_ic.js} +1 -1
  221. package/dist/assets/{index-C4Fispms.js → index-B-ek68tb.js} +1 -1
  222. package/dist/assets/{index-aCBnCBoN.js → index-B8J3c9-k.js} +7 -7
  223. package/dist/assets/{index-ChCGry2d.js → index-BC4cjDzB.js} +1 -1
  224. package/dist/assets/{index-DAwCqq2t.js → index-C7AzBAhT.js} +1 -1
  225. package/dist/assets/{index-DFowIMIZ.js → index-CJXgYa1j.js} +1 -1
  226. package/dist/assets/{index-B5cuJQnR.js → index-DvYI3iXJ.js} +1 -1
  227. package/dist/assets/{index-Bk7UJBjY.js → index-hPlkpvne.js} +1 -1
  228. package/dist/assets/{lexical-9REae7LV.js → lexical-DZ4skawM.js} +1 -1
  229. package/dist/assets/{liveblocks-CEY7tsth.js → liveblocks-CN5hALk7.js} +1 -1
  230. package/dist/assets/{lottie-BmLFYENY.js → lottie-B-zs781A.js} +1 -1
  231. package/dist/assets/mapLoadingInProgressToTreeNode-lABm-2N9-B58RPCeu.js +1 -0
  232. package/dist/assets/mapSectionWithAcOnlyToTreeNode-COcUb2pF-kcDRUVhM.js +1 -0
  233. package/dist/assets/mapSpacerToTreeNode-BDjo5N-i-mJOJcAn8.js +1 -0
  234. package/dist/assets/mapTimeframeBalancesToTreeNode-CvVUjW74-DDD8EZiJ.js +1 -0
  235. package/dist/assets/{mapTimeframeBalancesToTreeNode-Drhl_lnP-CrhrR0QG.js → mapTimeframeBalancesToTreeNode-CwHF76sn-r5bNXF3q.js} +1 -1
  236. package/dist/assets/mapTimeframeHeaderLoadingInProgressToTreeNode-B7LYTZXQ-71mHcXTa.js +1 -0
  237. package/dist/assets/{mui-BosmckWV.js → mui-B_fu8zAT.js} +1 -1
  238. package/dist/assets/{page-detail-CWX5S47F-C2A7RuXG.js → page-detail-CWX5S47F-CvAL0hAO.js} +1 -1
  239. package/dist/assets/{panelSelectedMixin-Cddsb26L-CWVsp72I.js → panelSelectedMixin-Cddsb26L-DRHuamSe.js} +1 -1
  240. package/dist/assets/{radio-default-CiSgisfh-Dhw9u_Vt.js → radio-default-CiSgisfh-BgsJfXrp.js} +1 -1
  241. package/dist/assets/{react-CLFAbS9n.js → react-B3oFwy7V.js} +2 -2
  242. package/dist/assets/{react-DT8qkoNX.js → react-BG0GUKse.js} +1 -1
  243. package/dist/assets/{react-ddvEC0y3.js → react-Bcm_MkQe.js} +1 -1
  244. package/dist/assets/{react-DSh5n3Dg.js → react-CWuBuyxj.js} +1 -1
  245. package/dist/assets/{react-DAXSMqh2.js → react-DJ0zzqQv.js} +1 -1
  246. package/dist/assets/{react-D8DqvAAs.js → react-PE1K_DTb.js} +1 -1
  247. package/dist/assets/{react-DxfKP-TY.js → react-rwxEP-9P.js} +1 -1
  248. package/dist/assets/{react-DTZ405nF.js → react-uUMjmJkq.js} +1 -1
  249. package/dist/assets/{recharts-CimMNwCJ.js → recharts-BkmpOx_p.js} +1 -1
  250. package/dist/assets/{sentry-DzaNjvx0.js → sentry-xNvKSthz.js} +1 -1
  251. package/dist/assets/{shield-DOlUxcFf-Cva3YFBn.js → shield-DOlUxcFf-BV2AyAgf.js} +1 -1
  252. package/dist/assets/toCOABalancesWithID-CGYYTIjt-D5mv6_v1.js +1 -0
  253. package/dist/assets/{toChartData-G5y-N82I-BBptd2Gk.js → toChartData-B4ligi4c-D4j3IIGd.js} +1 -1
  254. package/dist/assets/{upload-reimbursement-receipt-O2N8vcO7-CMjD_kCZ.js → upload-reimbursement-receipt-O2N8vcO7-Deu8S236.js} +1 -1
  255. package/dist/assets/{uploadAttachment-RbkIBMGO-TVHnian4.js → uploadAttachment-DgPDimcm-DyuT8s2S.js} +5 -5
  256. package/dist/assets/{uploadReceipts-CIgkuVpu-Dil-Qv4Z.js → uploadReceipts-CIgkuVpu-CmRP4shz.js} +1 -1
  257. package/dist/assets/{url-ymOv7sCf.js → url-CPrPdBBS.js} +1 -1
  258. package/dist/assets/{url-KRGewpHH.js → url-DN9fcrN3.js} +1 -1
  259. package/dist/assets/{useLongPress-GCK2COYQ-BgaoTE4k.js → useLongPress-GCK2COYQ-DMOFKAWg.js} +1 -1
  260. package/dist/assets/{usp-line-BBd1wKwW-Bnk1sVWO.js → usp-line-BBd1wKwW-Bx4ltDgD.js} +1 -1
  261. package/dist/assets/{utils-THjX-QSp.js → utils-4bW-VyLb.js} +1 -1
  262. package/dist/assets/{zeni-epic-state-BNpJ2txa.js → zeni-epic-state-SAYXyeZn.js} +3 -3
  263. package/dist/index.html +1 -1
  264. package/package.json +2 -2
  265. package/dist/assets/AccountInfoPage-pEEhPqOb-CuwSCEbu.js +0 -18
  266. package/dist/assets/AccountLockedInfoModal-jYWr_8TD-BpvSTyB8.js +0 -59
  267. package/dist/assets/BalancesInsightWithToolTip-DE6gDjGA-D3lvmUPJ.js +0 -38
  268. package/dist/assets/ChargeCardPromoPage-D4canPX9-DuNs-QpK.js +0 -222
  269. package/dist/assets/CustomerOnboardingContainerPage-DV3z4pR--Dxqq0QJL.js +0 -1
  270. package/dist/assets/EntityDetailPage-DPTSSZdS-B-VW2ygZ.js +0 -18
  271. package/dist/assets/MagicLinkACHDetailsPage-eq8wlXQr-DtgQBKXr.js +0 -1
  272. package/dist/assets/MagicLinkInternationalWireDetailsPage-Df8XYlkg-BRWnjp0l.js +0 -1
  273. package/dist/assets/MailingDetailsSection-NdwWGQ88-D7MwCKtI.js +0 -21
  274. package/dist/assets/RoleWithToolTip-CqLxmtj6-BNUOWMRG.js +0 -22
  275. package/dist/assets/TreasuryTaxLetterPage-BsJn-BgX-CQZpySFF.js +0 -58
  276. package/dist/assets/VendorACHDetailsPage-DJ4Crnr0-adpyH1RD.js +0 -1
  277. package/dist/assets/VendorDomesticWireDetailsPage-WFcOmpiN-CHE49l9v.js +0 -1
  278. package/dist/assets/VendorInternationalWireSwiftDetailsPage-B8sx02I_-CE29O6S4.js +0 -1
  279. package/dist/assets/mapLoadingInProgressToTreeNode-DTyQHWMc-CfKVg64X.js +0 -1
  280. package/dist/assets/mapSectionWithAcOnlyToTreeNode-D7pjBGp6-Bef-KTrw.js +0 -1
  281. package/dist/assets/mapSpacerToTreeNode-Cd4FCXAf-BQ_XhzIu.js +0 -1
  282. package/dist/assets/mapTimeframeBalancesToTreeNode-UsawmMLa-_s__LV61.js +0 -1
  283. package/dist/assets/mapTimeframeHeaderLoadingInProgressToTreeNode-B-aNuSSK-BvCkLSPj.js +0 -1
  284. package/dist/assets/toCOABalancesWithID-wh35N3no-ClXxioRe.js +0 -1
@@ -1,4 +1,4 @@
1
- import{ay as fe,V as t,gv as Re,aa as We,e as H,a9 as Ge,bQ as Ve,gw as Ye,g as ye,aS as Fe,aQ as B,c0 as N,o,bE as Je,w as T,cy as J,cz as _,cA as X,ae as _e,eE as Xe,d as y,eJ as Ze,ac as S,L as be,bU as qe,x as $,ak as C,O as M,bM as Ke,dE as Qe,bT as et,aV as tt,u,hb as ot,fx as se,an as oe,hP as at,b9 as it,b1 as nt,hQ as lt,n as rt,hR as st,y as ct,hf as dt,dg as pt,ao as ut,N as ht,cq as mt}from"./index-aCBnCBoN.js";import{a as n}from"./sentry-DzaNjvx0.js";import{n as a}from"./mui-BosmckWV.js";import{GO as xt,bL as Z}from"./zeni-epic-state-BNpJ2txa.js";import{$ as gt}from"./BoxItem-CvCo0wr6-DKAIvhWo.js";import{w as ft}from"./downloadPdf-BuPJ6cfr-Dyz4TLVR.js";import{Y as yt}from"./DepositAccTransactionItem-7kYotKov-BnPXoaAG.js";import{J as bt}from"./ZeniAccountNavBarPieces-CHUTFAWG-DBX2rB9H.js";import{U as $t,F as wt,I as jt,X as Ct,Y as kt,J as vt,G as St}from"./recharts-CimMNwCJ.js";import"./liveblocks-CEY7tsth.js";import"./core-Cjh03OPu.js";import"./lottie-BmLFYENY.js";import"./analytics-B_VWX-BQ.js";import"./lexical-9REae7LV.js";import"./utils-THjX-QSp.js";import"./commonDimensions-CVpc-NCw-D6CVEqC_.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},c=new e.Error().stack;c&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[c]="8466db3c-13b9-4419-85a4-83d6980a68ef",e._sentryDebugIdIdentifier="sentry-dbid-8466db3c-13b9-4419-85a4-83d6980a68ef")}catch{}})();const At=e=>n.createElement("svg",{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},n.createElement("path",{d:"M21.5348 3H2.31522C1.80976 3 1.4 3.44579 1.4 3.99569V19.9353C1.4 20.4852 1.80976 20.931 2.31522 20.931H21.5348C22.0402 20.931 22.45 20.4852 22.45 19.9353V3.99569C22.45 3.44579 22.0402 3 21.5348 3Z",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),n.createElement("path",{d:"M16 10.8126H19.62",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),n.createElement("path",{d:"M16 13.6245H18.28",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),n.createElement("path",{d:"M13.8276 15.9677C13.4452 15.3772 12.177 14.948 10.5892 14.3603C10.1412 14.1934 10.2143 13.0237 10.413 12.8053C10.7291 12.463 10.9691 12.0577 11.1174 11.6161C11.2657 11.1744 11.3189 10.7064 11.2735 10.2428C11.3006 9.95383 11.2662 9.66242 11.1723 9.3878C11.0785 9.11317 10.9275 8.86159 10.7292 8.64967C10.5309 8.43776 10.2899 8.27033 10.0222 8.15847C9.75438 8.04661 9.4659 7.99286 9.1758 8.00076C8.8857 7.99286 8.59723 8.04661 8.32945 8.15847C8.06166 8.27033 7.82067 8.43776 7.6224 8.64967C7.42412 8.86159 7.27309 9.11317 7.17927 9.3878C7.08544 9.66242 7.05098 9.95383 7.07814 10.2428C7.03273 10.7064 7.08592 11.1744 7.23421 11.6161C7.38251 12.0577 7.62255 12.463 7.93858 12.8053C8.13728 13.0237 8.21039 14.1934 7.76237 14.3603C6.17647 14.948 4.90644 15.3772 4.52402 15.9677",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"})),Dt=a.div`
1
+ import{ay as fe,V as t,gv as Re,aa as We,e as H,a9 as Ge,bQ as Ve,gw as Fe,g as ye,aS as Ye,aQ as B,c1 as N,o,bE as Je,w as T,cy as J,cz as _,cA as X,ae as _e,eE as Xe,d as y,eJ as Ke,ac as S,L as be,bU as Ze,x as $,ak as C,O as M,bM as qe,dE as Qe,bT as et,aV as tt,u,hb as ot,fx as se,an as oe,hP as at,b9 as it,b1 as nt,hQ as lt,n as rt,hR as st,y as ct,hf as dt,dg as pt,ao as ut,N as ht,cq as mt}from"./index-B8J3c9-k.js";import{a as n}from"./sentry-xNvKSthz.js";import{n as a}from"./mui-B_fu8zAT.js";import{GO as xt,bL as K}from"./zeni-epic-state-SAYXyeZn.js";import{$ as gt}from"./BoxItem-C39hQSVg-DygFSSe8.js";import{w as ft}from"./downloadPdf-Dcd8BY_9-DevbEgfI.js";import{Y as yt}from"./DepositAccTransactionItem-DEU0DgtI-EQTbBfv8.js";import{K as bt}from"./ZeniAccountNavBarPieces-CrNjnkNS-DjQVooJA.js";import{U as $t,F as wt,I as jt,X as Ct,Y as kt,J as vt,G as St}from"./recharts-BkmpOx_p.js";import"./liveblocks-CN5hALk7.js";import"./core-C_RwbDgZ.js";import"./lottie-B-zs781A.js";import"./analytics-TwdLweES.js";import"./lexical-DZ4skawM.js";import"./utils-4bW-VyLb.js";import"./commonDimensions-CuKo3wam-CITxsF7B.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},c=new e.Error().stack;c&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[c]="7bd2215e-6f6d-4fd1-b99e-7cb51ae5a42f",e._sentryDebugIdIdentifier="sentry-dbid-7bd2215e-6f6d-4fd1-b99e-7cb51ae5a42f")}catch{}})();const Dt=e=>n.createElement("svg",{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},n.createElement("path",{d:"M21.5348 3H2.31522C1.80976 3 1.4 3.44579 1.4 3.99569V19.9353C1.4 20.4852 1.80976 20.931 2.31522 20.931H21.5348C22.0402 20.931 22.45 20.4852 22.45 19.9353V3.99569C22.45 3.44579 22.0402 3 21.5348 3Z",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),n.createElement("path",{d:"M16 10.8126H19.62",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),n.createElement("path",{d:"M16 13.6245H18.28",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),n.createElement("path",{d:"M13.8276 15.9677C13.4452 15.3772 12.177 14.948 10.5892 14.3603C10.1412 14.1934 10.2143 13.0237 10.413 12.8053C10.7291 12.463 10.9691 12.0577 11.1174 11.6161C11.2657 11.1744 11.3189 10.7064 11.2735 10.2428C11.3006 9.95383 11.2662 9.66242 11.1723 9.3878C11.0785 9.11317 10.9275 8.86159 10.7292 8.64967C10.5309 8.43776 10.2899 8.27033 10.0222 8.15847C9.75438 8.04661 9.4659 7.99286 9.1758 8.00076C8.8857 7.99286 8.59723 8.04661 8.32945 8.15847C8.06166 8.27033 7.82067 8.43776 7.6224 8.64967C7.42412 8.86159 7.27309 9.11317 7.17927 9.3878C7.08544 9.66242 7.05098 9.95383 7.07814 10.2428C7.03273 10.7064 7.08592 11.1744 7.23421 11.6161C7.38251 12.0577 7.62255 12.463 7.93858 12.8053C8.13728 13.0237 8.21039 14.1934 7.76237 14.3603C6.17647 14.948 4.90644 15.3772 4.52402 15.9677",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"})),At=a.div`
2
2
  display: flex;
3
3
  width: 100%;
4
4
  height: 100vh;
@@ -8,7 +8,7 @@ import{ay as fe,V as t,gv as Re,aa as We,e as H,a9 as Ge,bQ as Ve,gw as Ye,g as
8
8
  background-color: ${e=>e.theme.colors.grey5};
9
9
  box-shadow: ${e=>`${o.sp0} 2px ${o.sp1} ${e.theme.colors.dropShadowNormal}`};
10
10
  background-color: ${e=>e.theme.colors.grey4};
11
- `,ce="editNickName-form",q="checkingAccountNickName",zt={tickLabelText:new ht("extraSmallRegular","smallRegular")},m={accountDetailHeaderPaddingRight:new $(u[3],u[8]),accountDetailHeaderPaddingBottom:new $(u[3],u[6]),accountDetailHeaderPaddingLeft:new $(u[3],u[8]),accountDetailContentMarginTop:new $(u[5],u[7]),areaChartHeight:new $(114,209),accountDetailHeaderGap:new $(18,100,184),accBtnsGap:new $(0,u[11]),styledNoTransactionIconSize:new $(60,120)},{common:I,spendManagement:Tt}=M.getLocalizedStrings(),{zeniAccounts:l}=Tt,K=M.getLocalizedStrings().dateFormat,Pt=M.getLocalizedStrings().peoplePage,Lt=M.getLocalizedStrings(),{common:{texts:{comments:Bt},strings:{empty:Nt}},collaboration:{threads:{placeholder:{addANewComment:Et,replyAComment:It},tooltip:{resolveComment:Ht,unResolveComment:Mt}}}}=Lt,Ut={drawerSectionPaddingLeftRight:new $(u[4],u[5])},de=e=>t.jsx(bo,{children:e}),$e=n.memo(({accountHistory:e})=>{const c=H(),i=ye(),[h,x]=n.useState(),k=n.useMemo(()=>e.accountHistoryWithBalance.map(r=>({...r,date:r.date.toISOString()})),[e.accountHistoryWithBalance]),g=n.useCallback(r=>{let d="",f="";return r&&r[0]&&(f=B("0,0[.]00",r[0].payload?.balance?.available),d=Z(r[0].payload?.date).format(K.visual.DMMMYYYYFormat)),t.jsxs(fo,{children:[t.jsx(ue,{children:d}),t.jsx(ue,{isSublabel:!0,children:f})]})},[]),w=n.useCallback(r=>{const{x:d,y:f}=r,{value:p}=r.payload;let v=!1;e.accountHistoryWithBalance.length>360&&(v=!0);const U=v?Z(p).format(K.visual.MMMformat):Z(p).format(K.visual.MMMDFormat);return t.jsx(Qt,{translateX:d,translateY:f,children:t.jsx(io,{windowSize:c,dy:20,dx:-25,children:U})})},[e.accountHistoryWithBalance.length,c]),b=n.useCallback(({cx:r,cy:d,dataKey:f})=>(f==="balance.available.amount"&&(h?.x!==r||h?.y!==d)&&x({x:r,y:d}),t.jsx(yo,{cx:r,cy:d,strokeWidth:1,r:u[1]})),[h]),D=n.useMemo(()=>{const r=e.accountHistoryWithBalance.length;return r<=0?0:r>360?Math.floor(r/12):Math.floor(r/7)},[e.accountHistoryWithBalance.length]);return e.fetchState!=="Completed"?null:e.fetchState==="Completed"&&e.accountHistoryWithBalance.length===0?t.jsx(Eo,{children:t.jsx(Io,{children:I.texts.noData})}):t.jsx(co,{children:t.jsx($t,{height:m.areaChartHeight.value(c),width:"99%",children:t.jsxs(wt,{data:k,margin:{top:0,right:0,bottom:0,left:0},children:[t.jsx("defs",{children:t.jsxs(no,{id:"colorUv",x1:"0",y1:"0",x2:"0",y2:"1",children:[t.jsx(lo,{offset:"0%",stopColor:y.brandColorJade,stopOpacity:1}),t.jsx(ro,{offset:"100%",stopColor:y.brandColorJade,stopOpacity:.03})]})}),t.jsx(jt,{vertical:!1,strokeWidth:2,stroke:i.colors.grey3}),t.jsx(Ct,{dataKey:"date",stroke:i.colors.grey3,tickSize:0,reversed:!0,tick:r=>w(r),padding:{right:u[4]},interval:D}),t.jsx(kt,{tick:!1,axisLine:!1}),t.jsx(vt,{position:h,content:({payload:r})=>g(r),cursor:{strokeDasharray:"3",stroke:y.brandColorJade}}),t.jsx(St,{activeDot:b,fillOpacity:1,dot:!1,type:"monotone",dataKey:"balance.available.amount",stroke:y.brandColorJade,fill:"url(#colorUv)"})]})})})});$e.displayName="AccountBalanceGraph";const we=n.memo(({zeniAccountDetail:e,getToolTipContent:c,onAccountDetailClick:i,depositAccountId:h,downloadEndPoint:x,authParams:k,isCheckingCommentingEnabled:g=!1,showLoader:w,setShowLoader:b,onViewAllTransactionClick:D,showViewAllTransactions:r})=>{const d=H(),f=n.useMemo(()=>e.accountHistory,[e.accountHistory]);return t.jsxs(t.Fragment,{children:[t.jsxs(Jt,{windowSize:d,children:[t.jsx(Ot,{getToolTipContent:c,zeniAccountDetail:e}),t.jsxs(Kt,{children:[t.jsx($e,{accountHistory:f}),t.jsxs(so,{windowSize:d,children:[t.jsxs(mo,{onClick:i,"data-testid":S("view-account-detail-button"),children:[t.jsx(zo,{}),d==="small"?t.jsx(ge,{className:"btnText",children:l.zeniAccountDetail.accDetails}):t.jsx(xe,{className:"btnText",children:l.zeniAccountDetail.accDetails})]}),t.jsxs(xo,{"data-testid":S("download-bank-verification-letter"),onClick:()=>ft(`${x}/bank-verification-letter`,`${l.zeniAccountDetail.bankLetterPdf}${e.accountDetail?.accountLast4}.pdf`,k,b),children:[w?t.jsx(be,{size:"Standard",start:!0}):t.jsx(To,{}),d==="small"?t.jsx(ge,{className:"btnText",children:l.zeniAccountDetail.bankLetter}):t.jsx(xe,{className:"btnText",children:l.zeniAccountDetail.bankLetter})]})]})]})]}),e.transactionList.length>0?t.jsxs(Vt,{windowSize:d,children:[t.jsxs(Yt,{children:[t.jsx(Co,{children:l.zeniAccountDetail.transactions}),r?t.jsxs(ko,{onClick:D,"data-testid":S("view-all-account-transactions"),children:[t.jsx(So,{children:l.zeniAccountDetail.viewAll}),t.jsx(vo,{})]}):null]}),t.jsx(_t,{children:e.transactionList.map((p,v)=>t.jsx(yt,{data:p,boxType:gt(v,e.transactionList.length),depositAccountId:h,isCheckingCommentingEnabled:g},p.id))})]}):t.jsxs(Rt,{children:[t.jsx(Wt,{windowSize:d}),t.jsx(Gt,{children:l.zeniAccountDetail.noTransactionText})]})]})});we.displayName="AccountDetailScreen";const pe=({authParams:e,downloadEndPoint:c,zeniAccountDetail:i,isBillPayEnabled:h,isCheckingCommentingEnabled:x=!1,isExpressPayEnabled:k,onViewAllTransactionClick:g,onAccountDetailClick:w,handleMoveMoneyOptionSelection:b,onBackClick:D,onCloseAccountClick:r,onEditNameClick:d,onReloadZeniAccountDetailPage:f})=>{const p=We({mode:"all"}),{setFocus:v}=p,[U,O]=n.useState(!1),[R,W]=n.useState(!1),[ae,je]=n.useState(!1),A=H(),z=fe(),Ce=Ge().analytics,{setOpenThread:ie}=n.useContext(Ve),{threads:G,isLoading:ne}=Ye(),[ke,V]=n.useState(!1),ve=n.useMemo(()=>G.filter(s=>s.resolved===!1),[G]).length,Se=n.useCallback((s,j)=>{ie(j),V(!1)},[ie]),le=z.loggedInUserRoleMap.deposit_accounts_user===!0||xt(z.loggedInUserRoleMap);n.useEffect(()=>{const s=setTimeout(()=>{i.fetchState==="Completed"&&i.accountDetail?.accountBalance.available.amount===0&&!le&&b("transfer",i.accountDetail)},500);return()=>{clearTimeout(s)}},[i.accountDetail?.id,i.fetchState,le]),n.useEffect(()=>{ae===!0&&setTimeout(()=>{je(!1)},800)},[ae]);const Ae=i.transactionList.length>4,P=ye(),[De,ze]=n.useState(!1),[Te,Y]=n.useState(!1),F=i.accountUpdateStatus.editName.fetchState,re=Fe(F),Pe=s=>{s==="closeAccount"?O(!0):s==="editNickName"?W(!0):s==="payBill"?Y(!0):b(s,i.accountDetail)},Le={onOkClick:()=>{r?.(),O(!1)},onCancelClick:()=>{O(!1)}},Be={onOkClick:()=>{},onCancelClick:()=>{p.reset(),W(!1)}};n.useEffect(()=>{re==="In-Progress"&&F==="Completed"&&(W(!1),p.reset())},[re,F,p]),n.useEffect(()=>{R&&v(q)},[R,v]);const Ne={pageName:"detailPage",onOptionSelection:Pe},Ee=i.accountDetail?.accountName??"",L=i.accountSummary,Ie=p.handleSubmit(s=>{d?.(s.checkingAccountNickName)}),He={onOkClick:()=>{b("payBill"),Y(!1)},onCancelClick:()=>{Y(!1)}},Me=s=>{switch(s){case"totalBalance":return"320px";case"insuredBalance":return"320px";case"totalInterest":return"280px";default:return"320px"}},Ue=n.useCallback(s=>{let j=null;switch(s){case"insuredBalance":j=t.jsx(t.Fragment,{});break;case"totalInterest":j=t.jsx(No,{children:l.zeniAccountList.yieldTooltip});break;case"totalBalance":j=t.jsxs(Lo,{children:[t.jsx(Po,{children:l.zeniAccountList.balanceTooltip.base}),t.jsxs(Q,{children:[t.jsx(ee,{children:l.zeniAccountList.balanceTooltip.balance}),t.jsx(te,{children:B("0,0[.]00",L?.totalBalance.current)})]}),t.jsxs(Q,{children:[t.jsx(ee,{children:l.zeniAccountList.balanceTooltip.processing}),t.jsx(te,{children:B("0,0[.]00",L?.totalBalance.hold)})]}),t.jsxs(Q,{children:[t.jsx(ee,{children:l.zeniAccountList.balanceTooltip.available}),t.jsx(te,{children:B("0,0[.]00",L?.totalBalance.available)})]})]});break}return t.jsx(E,{children:t.jsx(N,{style:{textAlign:"left",padding:o.sp1},maxWidth:Me(s),display:"flex",placement:A==="small"?"bottom":"top",title:j,children:t.jsx(Bo,{})})})},[L,A]),Oe=t.jsx(bt,{zeniBankProps:Ne,isBillPayEnabled:h,isCheckingCommentingEnabled:x,isExpressPayEnabled:k,isThreadsLoading:ne,threadsCount:ve,onCommentIconClick:()=>{V(!0),Ce.trackCommentActivity("checking","clicked",z.currentTenant?.companyName??Nt,z.controllersList.controllers.map(s=>Qe(s)),void 0,void 0,"page icon")}});return t.jsxs(Ft,{children:[t.jsx(Je,{title:Ee,subTitle:i?.accountDetail?.maskedAccountNumber??"",onBackClick:D,showMenuIcon:!1,backgroundColor:P.colors.grey4,style:{zIndex:3,...T.largeSemiBold.cssObject},rightSideComponent:Oe,source:"ZeniAccountDetailPage"}),U?t.jsx(J,{titleComponent:t.jsx(X,{children:l.zeniAccountDetail.closeAccountPopUp.title}),descriptionComponent:t.jsx(_,{children:`${l.zeniAccountDetail.closeAccountPopUp.description}${i.accountDetail?.maskedAccountNumber}${I.strings.dot}`}),primaryButtonText:l.zeniAccountDetail.closeAccountPopUp.primaryButtonText,proceedButtonVariant:"danger",secondaryButtonText:l.zeniAccountDetail.closeAccountPopUp.secondaryButtonText,action:Le}):null,Te?t.jsx(J,{titleComponent:t.jsx(X,{children:l.zeniAccountList.billPayupPopUpInfo.title}),descriptionComponent:t.jsx(_,{children:l.zeniAccountList.billPayupPopUpInfo.description}),primaryButtonText:l.zeniAccountList.billPayupPopUpInfo.primaryButtonText,secondaryButtonText:l.zeniAccountList.billPayupPopUpInfo.secondaryButtonText,action:He,secondaryButtonWidth:130,primaryButtonWidth:130}):null,R?t.jsx(J,{titleComponent:t.jsx(X,{children:l.zeniAccountDetail.editNamePopUp.title}),descriptionComponent:t.jsx(_,{children:l.zeniAccountDetail.editNamePopUp.description}),primaryButtonText:l.zeniAccountDetail.editNamePopUp.primaryButtonText,secondaryButtonText:l.zeniAccountDetail.editNamePopUp.secondaryButtonText,formId:ce,action:Be,containerStyle:{width:"100%"},isLoading:i.accountUpdateStatus.editName.fetchState==="In-Progress",children:t.jsx(_e,{...p,children:t.jsx("form",{id:ce,onSubmit:Ie,style:{height:o.sp8,width:"80%",marginBottom:o.sp5},children:t.jsx(Xe,{type:"text",name:q,defaultValue:i.accountDetail?.accountName,placeholder:i.accountDetail?.accountName??"",style:{display:"flex",flexGrow:1,cursor:"inherit",height:o.sp7,textAlign:"left",width:"100%",background:Ze(p.formState.errors,q)===!0?y.importantLight:P.colors.background,border:`1px solid ${P.colors.background}`},registerOptions:{required:!0,validate:s=>!!s}})})})}):null,i.fetchState==="Completed"?t.jsx(we,{authParams:e,depositAccountId:i.accountDetail?.id,downloadEndPoint:c,getToolTipContent:Ue,isCheckingCommentingEnabled:x,onAccountDetailClick:w,onViewAllTransactionClick:g,setShowLoader:ze,showLoader:De,showViewAllTransactions:Ae,zeniAccountDetail:i}):i.fetchState==="Error"?t.jsxs(eo,{children:[t.jsx(to,{onClick:f,"data-testid":S("account-detail-reload"),children:t.jsx(ao,{})}),t.jsx(oo,{children:Pt.reloadPage.label})]}):t.jsx(Dt,{children:t.jsx(be,{size:"ExtraLarge",start:!0})}),x?t.jsx(qe,{isDrawerOpen:ke,allowComposer:!1,drawerTitle:Bt,threads:G,autoExpand:!0,autoFocus:!1,filter:{application:"dashboard",companyId:z.currentTenant?.companyId,isGlobalComment:!1,tab:"checking"},isLoading:ne,textOverrides:{composerPlaceholder:Et,replyComposerPlaceholder:It,threadResolve:Ht,threadUnResolve:Mt},onThreadClick:(s,j)=>Se(s,j),onCloseAllThreadsDrawer:()=>V(!1),drawerSectionStyle:{width:A==="small"?"100%":"400px",boxSizing:A==="small"?"border-box":"content-box",padding:`${o.sp0} ${Ut.drawerSectionPaddingLeftRight.valuePx(A)}`,backgroundColor:P.colors.background},collapsibleThreadStyle:{width:A==="small"?"100%":"360px"}}):null]})},Qo=e=>{const c=fe().currentTenant?.companyId,i=e.zeniAccountDetail.accountDetail?.id;if(!(e.isCheckingCommentingEnabled===!0&&c!=null&&i!=null))return t.jsx(pe,{...e});const h=`dashboard_${c}`;return t.jsx(Re,{roomId:h,filter:{application:"dashboard",companyId:c,tab:"checking",groupId:i,isGlobalComment:!1},children:t.jsx(pe,{...e})})},Ot=({zeniAccountDetail:e,getToolTipContent:c})=>{const i=H(),[h,x]=n.useState(!1),[,k]=ot(),[g,w]=n.useState(!1),b=()=>{k(e.accountDetail?.accountNumber??""),w(!0)};return n.useEffect(()=>{g===!0&&setTimeout(()=>{w(!1)},800)},[g]),t.jsxs(Xt,{children:[t.jsxs(Zt,{children:[t.jsx(go,{children:t.jsxs(he,{children:[de(l.zeniAccountList.totalAvailableBalance),c("totalBalance")]})}),t.jsx(jo,{windowSize:i,children:e.accountDetail?.accountBalance.available?t.jsx(t.Fragment,{children:t.jsx(se,{amount:e.accountDetail?.accountBalance.available,integerStyles:T.h2Regular.cssObject,decimalStyles:T.h5Medium.cssObject})}):null}),h?t.jsxs(me,{windowSize:i,children:[e.accountDetail?.accountNumber,t.jsx(E,{children:t.jsx(N,{display:"flex",placement:"top",title:l.zeniAccountDetail.hide,enterDelay:600,children:t.jsx(wo,{"data-testid":S("hide-account-number"),onClick:()=>{x(!1)}})})}),t.jsx(E,{children:t.jsx(N,{display:"flex",placement:"right",title:g?I.copyToClipBoard.copied:I.copyToClipBoard.copy,enterDelay:600,children:g===!0?t.jsx(Do,{}):t.jsx(Ao,{onClick:b,"data-testid":S("copy-account-number")})})})]}):t.jsxs(me,{windowSize:i,children:[e.accountDetail?.maskedAccountNumber,t.jsx(E,{children:t.jsx(N,{display:"flex",placement:"top",title:l.zeniAccountDetail.show,enterDelay:600,children:t.jsx($o,{"data-testid":S("show-account-number"),onClick:()=>{x(!0)}})})})]})]}),t.jsxs(qt,{children:[t.jsxs(he,{children:[de(l.common.totalYieldEarned),c("totalInterest")]}),t.jsxs(po,{style:{display:"flex",flexDirection:"row",alignItems:"center"},children:[t.jsx(se,{amount:e.accountSummary?.totalInterest.available,integerStyles:T.largeRegular.cssObject,decimalStyles:T.smallRegular.cssObject}),t.jsx(uo,{}),t.jsx(ho,{children:`${l.common.currentAverageYield} ${e.accountDetail?.annualPercentageYield}`})]})]})]})},Rt=a.div`
11
+ `,ce="editNickName-form",Z="checkingAccountNickName",zt={tickLabelText:new ht("extraSmallRegular","smallRegular")},m={accountDetailHeaderPaddingRight:new $(u[3],u[8]),accountDetailHeaderPaddingBottom:new $(u[3],u[6]),accountDetailHeaderPaddingLeft:new $(u[3],u[8]),accountDetailContentMarginTop:new $(u[5],u[7]),areaChartHeight:new $(114,209),accountDetailHeaderGap:new $(18,100,184),accBtnsGap:new $(0,u[11]),styledNoTransactionIconSize:new $(60,120)},{common:I,spendManagement:Tt}=M.getLocalizedStrings(),{zeniAccounts:l}=Tt,q=M.getLocalizedStrings().dateFormat,Pt=M.getLocalizedStrings().peoplePage,Lt=M.getLocalizedStrings(),{common:{texts:{comments:Bt},strings:{empty:Nt}},collaboration:{threads:{placeholder:{addANewComment:Et,replyAComment:It},tooltip:{resolveComment:Ht,unResolveComment:Mt}}}}=Lt,Ut={drawerSectionPaddingLeftRight:new $(u[4],u[5])},de=e=>t.jsx(bo,{children:e}),$e=n.memo(({accountHistory:e})=>{const c=H(),i=ye(),[h,x]=n.useState(),k=n.useMemo(()=>e.accountHistoryWithBalance.map(r=>({...r,date:r.date.toISOString()})),[e.accountHistoryWithBalance]),g=n.useCallback(r=>{let d="",f="";return r&&r[0]&&(f=B("0,0[.]00",r[0].payload?.balance?.available),d=K(r[0].payload?.date).format(q.visual.DMMMYYYYFormat)),t.jsxs(fo,{children:[t.jsx(ue,{children:d}),t.jsx(ue,{isSublabel:!0,children:f})]})},[]),w=n.useCallback(r=>{const{x:d,y:f}=r,{value:p}=r.payload;let v=!1;e.accountHistoryWithBalance.length>360&&(v=!0);const U=v?K(p).format(q.visual.MMMformat):K(p).format(q.visual.MMMDFormat);return t.jsx(Qt,{translateX:d,translateY:f,children:t.jsx(io,{windowSize:c,dy:20,dx:-25,children:U})})},[e.accountHistoryWithBalance.length,c]),b=n.useCallback(({cx:r,cy:d,dataKey:f})=>(f==="balance.available.amount"&&(h?.x!==r||h?.y!==d)&&x({x:r,y:d}),t.jsx(yo,{cx:r,cy:d,strokeWidth:1,r:u[1]})),[h]),A=n.useMemo(()=>{const r=e.accountHistoryWithBalance.length;return r<=0?0:r>360?Math.floor(r/12):Math.floor(r/7)},[e.accountHistoryWithBalance.length]);return e.fetchState!=="Completed"?null:e.fetchState==="Completed"&&e.accountHistoryWithBalance.length===0?t.jsx(Eo,{children:t.jsx(Io,{children:I.texts.noData})}):t.jsx(co,{children:t.jsx($t,{height:m.areaChartHeight.value(c),width:"99%",children:t.jsxs(wt,{data:k,margin:{top:0,right:0,bottom:0,left:0},children:[t.jsx("defs",{children:t.jsxs(no,{id:"colorUv",x1:"0",y1:"0",x2:"0",y2:"1",children:[t.jsx(lo,{offset:"0%",stopColor:y.brandColorJade,stopOpacity:1}),t.jsx(ro,{offset:"100%",stopColor:y.brandColorJade,stopOpacity:.03})]})}),t.jsx(jt,{vertical:!1,strokeWidth:2,stroke:i.colors.grey3}),t.jsx(Ct,{dataKey:"date",stroke:i.colors.grey3,tickSize:0,reversed:!0,tick:r=>w(r),padding:{right:u[4]},interval:A}),t.jsx(kt,{tick:!1,axisLine:!1}),t.jsx(vt,{position:h,content:({payload:r})=>g(r),cursor:{strokeDasharray:"3",stroke:y.brandColorJade}}),t.jsx(St,{activeDot:b,fillOpacity:1,dot:!1,type:"monotone",dataKey:"balance.available.amount",stroke:y.brandColorJade,fill:"url(#colorUv)"})]})})})});$e.displayName="AccountBalanceGraph";const we=n.memo(({zeniAccountDetail:e,getToolTipContent:c,onAccountDetailClick:i,depositAccountId:h,downloadEndPoint:x,authParams:k,isCheckingCommentingEnabled:g=!1,showLoader:w,setShowLoader:b,onViewAllTransactionClick:A,showViewAllTransactions:r})=>{const d=H(),f=n.useMemo(()=>e.accountHistory,[e.accountHistory]);return t.jsxs(t.Fragment,{children:[t.jsxs(Jt,{windowSize:d,children:[t.jsx(Ot,{getToolTipContent:c,zeniAccountDetail:e}),t.jsxs(qt,{children:[t.jsx($e,{accountHistory:f}),t.jsxs(so,{windowSize:d,children:[t.jsxs(mo,{onClick:i,"data-testid":S("view-account-detail-button"),children:[t.jsx(zo,{}),d==="small"?t.jsx(ge,{className:"btnText",children:l.zeniAccountDetail.accDetails}):t.jsx(xe,{className:"btnText",children:l.zeniAccountDetail.accDetails})]}),t.jsxs(xo,{"data-testid":S("download-bank-verification-letter"),onClick:()=>ft(`${x}/bank-verification-letter`,`${l.zeniAccountDetail.bankLetterPdf}${e.accountDetail?.accountLast4}.pdf`,k,b),children:[w?t.jsx(be,{size:"Standard",start:!0}):t.jsx(To,{}),d==="small"?t.jsx(ge,{className:"btnText",children:l.zeniAccountDetail.bankLetter}):t.jsx(xe,{className:"btnText",children:l.zeniAccountDetail.bankLetter})]})]})]})]}),e.transactionList.length>0?t.jsxs(Vt,{windowSize:d,children:[t.jsxs(Ft,{children:[t.jsx(Co,{children:l.zeniAccountDetail.transactions}),r?t.jsxs(ko,{onClick:A,"data-testid":S("view-all-account-transactions"),children:[t.jsx(So,{children:l.zeniAccountDetail.viewAll}),t.jsx(vo,{})]}):null]}),t.jsx(_t,{children:e.transactionList.map((p,v)=>t.jsx(yt,{data:p,boxType:gt(v,e.transactionList.length),depositAccountId:h,isCheckingCommentingEnabled:g},p.id))})]}):t.jsxs(Rt,{children:[t.jsx(Wt,{windowSize:d}),t.jsx(Gt,{children:l.zeniAccountDetail.noTransactionText})]})]})});we.displayName="AccountDetailScreen";const pe=({authParams:e,downloadEndPoint:c,zeniAccountDetail:i,isBillPayEnabled:h,isCheckingCommentingEnabled:x=!1,isExpressPayEnabled:k,onViewAllTransactionClick:g,onAccountDetailClick:w,handleMoveMoneyOptionSelection:b,onBackClick:A,onCloseAccountClick:r,onEditNameClick:d,onReloadZeniAccountDetailPage:f})=>{const p=We({mode:"all"}),{setFocus:v}=p,[U,O]=n.useState(!1),[R,W]=n.useState(!1),[ae,je]=n.useState(!1),D=H(),z=fe(),Ce=Ge().analytics,{setOpenThread:ie}=n.useContext(Ve),{threads:G,isLoading:ne}=Fe(),[ke,V]=n.useState(!1),ve=n.useMemo(()=>G.filter(s=>s.resolved===!1),[G]).length,Se=n.useCallback((s,j)=>{ie(j),V(!1)},[ie]),le=z.loggedInUserRoleMap.deposit_accounts_user===!0||xt(z.loggedInUserRoleMap);n.useEffect(()=>{const s=setTimeout(()=>{i.fetchState==="Completed"&&i.accountDetail?.accountBalance.available.amount===0&&!le&&b("transfer",i.accountDetail)},500);return()=>{clearTimeout(s)}},[i.accountDetail?.id,i.fetchState,le]),n.useEffect(()=>{ae===!0&&setTimeout(()=>{je(!1)},800)},[ae]);const De=i.transactionList.length>4,P=ye(),[Ae,ze]=n.useState(!1),[Te,F]=n.useState(!1),Y=i.accountUpdateStatus.editName.fetchState,re=Ye(Y),Pe=s=>{s==="closeAccount"?O(!0):s==="editNickName"?W(!0):s==="payBill"?F(!0):b(s,i.accountDetail)},Le={onOkClick:()=>{r?.(),O(!1)},onCancelClick:()=>{O(!1)}},Be={onOkClick:()=>{},onCancelClick:()=>{p.reset(),W(!1)}};n.useEffect(()=>{re==="In-Progress"&&Y==="Completed"&&(W(!1),p.reset())},[re,Y,p]),n.useEffect(()=>{R&&v(Z)},[R,v]);const Ne={pageName:"detailPage",onOptionSelection:Pe},Ee=i.accountDetail?.accountName??"",L=i.accountSummary,Ie=p.handleSubmit(s=>{d?.(s.checkingAccountNickName)}),He={onOkClick:()=>{b("payBill"),F(!1)},onCancelClick:()=>{F(!1)}},Me=s=>{switch(s){case"totalBalance":return"320px";case"insuredBalance":return"320px";case"totalInterest":return"280px";default:return"320px"}},Ue=n.useCallback(s=>{let j=null;switch(s){case"insuredBalance":j=t.jsx(t.Fragment,{});break;case"totalInterest":j=t.jsx(No,{children:l.zeniAccountList.yieldTooltip});break;case"totalBalance":j=t.jsxs(Lo,{children:[t.jsx(Po,{children:l.zeniAccountList.balanceTooltip.base}),t.jsxs(Q,{children:[t.jsx(ee,{children:l.zeniAccountList.balanceTooltip.balance}),t.jsx(te,{children:B("0,0[.]00",L?.totalBalance.current)})]}),t.jsxs(Q,{children:[t.jsx(ee,{children:l.zeniAccountList.balanceTooltip.processing}),t.jsx(te,{children:B("0,0[.]00",L?.totalBalance.hold)})]}),t.jsxs(Q,{children:[t.jsx(ee,{children:l.zeniAccountList.balanceTooltip.available}),t.jsx(te,{children:B("0,0[.]00",L?.totalBalance.available)})]})]});break}return t.jsx(E,{children:t.jsx(N,{style:{textAlign:"left",padding:o.sp1},maxWidth:Me(s),display:"flex",placement:D==="small"?"bottom":"top",title:j,children:t.jsx(Bo,{})})})},[L,D]),Oe=t.jsx(bt,{zeniBankProps:Ne,isBillPayEnabled:h,isCheckingCommentingEnabled:x,isExpressPayEnabled:k,isThreadsLoading:ne,threadsCount:ve,onCommentIconClick:()=>{V(!0),Ce.trackCommentActivity("checking","clicked",z.currentTenant?.companyName??Nt,z.controllersList.controllers.map(s=>Qe(s)),void 0,void 0,"page icon")}});return t.jsxs(Yt,{children:[t.jsx(Je,{title:Ee,subTitle:i?.accountDetail?.maskedAccountNumber??"",onBackClick:A,showMenuIcon:!1,backgroundColor:P.colors.grey4,style:{zIndex:3,...T.largeSemiBold.cssObject},rightSideComponent:Oe,source:"ZeniAccountDetailPage"}),U?t.jsx(J,{titleComponent:t.jsx(X,{children:l.zeniAccountDetail.closeAccountPopUp.title}),descriptionComponent:t.jsx(_,{children:`${l.zeniAccountDetail.closeAccountPopUp.description}${i.accountDetail?.maskedAccountNumber}${I.strings.dot}`}),primaryButtonText:l.zeniAccountDetail.closeAccountPopUp.primaryButtonText,proceedButtonVariant:"danger",secondaryButtonText:l.zeniAccountDetail.closeAccountPopUp.secondaryButtonText,action:Le}):null,Te?t.jsx(J,{titleComponent:t.jsx(X,{children:l.zeniAccountList.billPayupPopUpInfo.title}),descriptionComponent:t.jsx(_,{children:l.zeniAccountList.billPayupPopUpInfo.description}),primaryButtonText:l.zeniAccountList.billPayupPopUpInfo.primaryButtonText,secondaryButtonText:l.zeniAccountList.billPayupPopUpInfo.secondaryButtonText,action:He,secondaryButtonWidth:130,primaryButtonWidth:130}):null,R?t.jsx(J,{titleComponent:t.jsx(X,{children:l.zeniAccountDetail.editNamePopUp.title}),descriptionComponent:t.jsx(_,{children:l.zeniAccountDetail.editNamePopUp.description}),primaryButtonText:l.zeniAccountDetail.editNamePopUp.primaryButtonText,secondaryButtonText:l.zeniAccountDetail.editNamePopUp.secondaryButtonText,formId:ce,action:Be,containerStyle:{width:"100%"},isLoading:i.accountUpdateStatus.editName.fetchState==="In-Progress",children:t.jsx(_e,{...p,children:t.jsx("form",{id:ce,onSubmit:Ie,style:{height:o.sp8,width:"80%",marginBottom:o.sp5},children:t.jsx(Xe,{type:"text",name:Z,defaultValue:i.accountDetail?.accountName,placeholder:i.accountDetail?.accountName??"",style:{display:"flex",flexGrow:1,cursor:"inherit",height:o.sp7,textAlign:"left",width:"100%",background:Ke(p.formState.errors,Z)===!0?y.importantLight:P.colors.background,border:`1px solid ${P.colors.background}`},registerOptions:{required:!0,validate:s=>!!s}})})})}):null,i.fetchState==="Completed"?t.jsx(we,{authParams:e,depositAccountId:i.accountDetail?.id,downloadEndPoint:c,getToolTipContent:Ue,isCheckingCommentingEnabled:x,onAccountDetailClick:w,onViewAllTransactionClick:g,setShowLoader:ze,showLoader:Ae,showViewAllTransactions:De,zeniAccountDetail:i}):i.fetchState==="Error"?t.jsxs(eo,{children:[t.jsx(to,{onClick:f,"data-testid":S("account-detail-reload"),children:t.jsx(ao,{})}),t.jsx(oo,{children:Pt.reloadPage.label})]}):t.jsx(At,{children:t.jsx(be,{size:"ExtraLarge",start:!0})}),x?t.jsx(Ze,{isDrawerOpen:ke,allowComposer:!1,drawerTitle:Bt,threads:G,autoExpand:!0,autoFocus:!1,filter:{application:"dashboard",companyId:z.currentTenant?.companyId,isGlobalComment:!1,tab:"checking"},isLoading:ne,textOverrides:{composerPlaceholder:Et,replyComposerPlaceholder:It,threadResolve:Ht,threadUnResolve:Mt},onThreadClick:(s,j)=>Se(s,j),onCloseAllThreadsDrawer:()=>V(!1),drawerSectionStyle:{width:D==="small"?"100%":"400px",boxSizing:D==="small"?"border-box":"content-box",padding:`${o.sp0} ${Ut.drawerSectionPaddingLeftRight.valuePx(D)}`,backgroundColor:P.colors.background},collapsibleThreadStyle:{width:D==="small"?"100%":"360px"}}):null]})},Qo=e=>{const c=fe().currentTenant?.companyId,i=e.zeniAccountDetail.accountDetail?.id;if(!(e.isCheckingCommentingEnabled===!0&&c!=null&&i!=null))return t.jsx(pe,{...e});const h=`dashboard_${c}`;return t.jsx(Re,{roomId:h,filter:{application:"dashboard",companyId:c,tab:"checking",groupId:i,isGlobalComment:!1},children:t.jsx(pe,{...e})})},Ot=({zeniAccountDetail:e,getToolTipContent:c})=>{const i=H(),[h,x]=n.useState(!1),[,k]=ot(),[g,w]=n.useState(!1),b=()=>{k(e.accountDetail?.accountNumber??""),w(!0)};return n.useEffect(()=>{g===!0&&setTimeout(()=>{w(!1)},800)},[g]),t.jsxs(Xt,{children:[t.jsxs(Kt,{children:[t.jsx(go,{children:t.jsxs(he,{children:[de(l.zeniAccountList.totalAvailableBalance),c("totalBalance")]})}),t.jsx(jo,{windowSize:i,children:e.accountDetail?.accountBalance.available?t.jsx(t.Fragment,{children:t.jsx(se,{amount:e.accountDetail?.accountBalance.available,integerStyles:T.h2Regular.cssObject,decimalStyles:T.h5Medium.cssObject})}):null}),h?t.jsxs(me,{windowSize:i,children:[e.accountDetail?.accountNumber,t.jsx(E,{children:t.jsx(N,{display:"flex",placement:"top",title:l.zeniAccountDetail.hide,enterDelay:600,children:t.jsx(wo,{"data-testid":S("hide-account-number"),onClick:()=>{x(!1)}})})}),t.jsx(E,{children:t.jsx(N,{display:"flex",placement:"right",title:g?I.copyToClipBoard.copied:I.copyToClipBoard.copy,enterDelay:600,children:g===!0?t.jsx(Ao,{}):t.jsx(Do,{onClick:b,"data-testid":S("copy-account-number")})})})]}):t.jsxs(me,{windowSize:i,children:[e.accountDetail?.maskedAccountNumber,t.jsx(E,{children:t.jsx(N,{display:"flex",placement:"top",title:l.zeniAccountDetail.show,enterDelay:600,children:t.jsx($o,{"data-testid":S("show-account-number"),onClick:()=>{x(!0)}})})})]})]}),t.jsxs(Zt,{children:[t.jsxs(he,{children:[de(l.common.totalYieldEarned),c("totalInterest")]}),t.jsxs(po,{style:{display:"flex",flexDirection:"row",alignItems:"center"},children:[t.jsx(se,{amount:e.accountSummary?.totalInterest.available,integerStyles:T.largeRegular.cssObject,decimalStyles:T.smallRegular.cssObject}),t.jsx(uo,{}),t.jsx(ho,{children:`${l.common.currentAverageYield} ${e.accountDetail?.annualPercentageYield}`})]})]})]})},Rt=a.div`
12
12
  display: flex;
13
13
  flex-direction: column;
14
14
  align-items: center;
@@ -29,11 +29,11 @@ import{ay as fe,V as t,gv as Re,aa as We,e as H,a9 as Ge,bQ as Ve,gw as Ye,g as
29
29
  &:last-child {
30
30
  margin-bottom: ${o.sp8};
31
31
  }
32
- `,Yt=a.div`
32
+ `,Ft=a.div`
33
33
  display: flex;
34
34
  justify-content: space-between;
35
35
  margin-bottom: ${o.sp3};
36
- `,Ft=a.div`
36
+ `,Yt=a.div`
37
37
  display: flex;
38
38
  flex-direction: column;
39
39
  width: 100%;
@@ -56,7 +56,7 @@ import{ay as fe,V as t,gv as Re,aa as We,e as H,a9 as Ge,bQ as Ve,gw as Ye,g as
56
56
  gap: ${o.sp3};
57
57
  flex-direction: column;
58
58
  justify-content: space-between;
59
- `,Zt=a.div``,qt=a.div``,Kt=a.div`
59
+ `,Kt=a.div``,Zt=a.div``,qt=a.div`
60
60
  display: flex;
61
61
  gap: ${o.sp3};
62
62
  flex: 1;
@@ -246,7 +246,7 @@ import{ay as fe,V as t,gv as Re,aa as We,e as H,a9 as Ge,bQ as Ve,gw as Ye,g as
246
246
  color: ${e=>e.theme.colors.primary};
247
247
  }
248
248
  }
249
- `,Ao=a(dt)`
249
+ `,Do=a(dt)`
250
250
  height: ${o.sp3};
251
251
  width: ${o.sp3};
252
252
  color: ${e=>e.theme.colors.hero};
@@ -254,11 +254,11 @@ import{ay as fe,V as t,gv as Re,aa as We,e as H,a9 as Ge,bQ as Ve,gw as Ye,g as
254
254
  &:hover {
255
255
  color: ${e=>e.theme.colors.primary};
256
256
  }
257
- `,Do=a(ct)`
257
+ `,Ao=a(ct)`
258
258
  height: ${o.sp3};
259
259
  width: ${o.sp3};
260
260
  color: ${y.success};
261
- `,zo=a(At)`
261
+ `,zo=a(Dt)`
262
262
  width: ${o.sp4};
263
263
  min-width: ${o.sp4};
264
264
  height: ${o.sp4};
@@ -282,7 +282,7 @@ import{ay as fe,V as t,gv as Re,aa as We,e as H,a9 as Ge,bQ as Ve,gw as Ye,g as
282
282
  color: ${e=>e.theme.colors.hero};
283
283
  `,te=a.div`
284
284
  color: ${y.primaryDark};
285
- `,Bo=a(Ke)`
285
+ `,Bo=a(qe)`
286
286
  width: ${o.sp3};
287
287
  height: ${o.sp3};
288
288
  color: ${e=>e.theme.colors.hero};
@@ -1,4 +1,4 @@
1
- import{e as V,ay as W,g as Qe,bQ as Ke,aa as Xe,aS as et,a_ as tt,aR as nt,V as t,cy as X,d as s,ae as ot,o as n,eE as it,eJ as rt,cz as ge,cA as xe,hJ as st,aQ as G,c0 as Ie,bE as at,w as _,gR as ct,O as ce,as as lt,an as dt,n as pt,c8 as ut,bM as Be,ak as P,hK as mt,cl as ht,fx as O,ac as U,x as S,ao as le,gV as gt,a9 as xt,hL as wt,dE as $t,hM as ft,h9 as yt,da as kt,cq as bt,gk as Ct,hd as jt,bU as At,u as g,d$ as zt,fY as vt,hN as St,a as Lt,N as Tt,M as Pt,ap as It,ha as Bt,bT as Mt,aV as _t}from"./index-aCBnCBoN.js";import{a as c}from"./sentry-DzaNjvx0.js";import{n as o}from"./mui-BosmckWV.js";import{a as Dt}from"./liveblocks-CEY7tsth.js";import{GO as Et}from"./zeni-epic-state-BNpJ2txa.js";import{r as Ft}from"./auto-transfer-rule-mbafm5D3-Ba30im8q.js";import{o as Nt}from"./shield-DOlUxcFf-Cva3YFBn.js";import{J as Rt}from"./ZeniAccountNavBarPieces-CHUTFAWG-DBX2rB9H.js";import{v as Gt}from"./ZeniTransferAmountSlider-C77DEl-C-CZljZWCZ.js";import"./core-Cjh03OPu.js";import"./lottie-BmLFYENY.js";import"./recharts-CimMNwCJ.js";import"./analytics-B_VWX-BQ.js";import"./lexical-9REae7LV.js";import"./utils-THjX-QSp.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},i=new e.Error().stack;i&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[i]="50f7b4a1-ab9d-40fd-a187-6b0629f6cc29",e._sentryDebugIdIdentifier="sentry-dbid-50f7b4a1-ab9d-40fd-a187-6b0629f6cc29")}catch{}})();const Ot=e=>c.createElement("svg",{width:24,height:24,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},c.createElement("path",{d:"M23.0041 11.8483C23.0373 14.1699 22.335 16.4424 20.9979 18.3405C19.6607 20.2386 17.7572 21.665 15.5599 22.4153C13.3627 23.1656 10.9844 23.2014 8.76551 22.5175C6.54667 21.8337 4.60111 20.4653 3.20741 18.6083C1.81371 16.7513 1.04335 14.5009 1.00664 12.1794C0.969926 9.85784 1.66875 7.58422 3.00303 5.68407C4.33732 3.78392 6.23864 2.3547 8.43475 1.60106C10.6309 0.84741 13.0091 0.807991 15.229 1.48844",stroke:"#757D7E",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),c.createElement("path",{d:"M7.17736 14.8498L12.3225 8.44116C12.431 8.30616 12.5835 8.21419 12.7532 8.1815C12.9228 8.14882 13.0985 8.17753 13.2493 8.26255L16.2512 9.95329C16.4047 10.0398 16.5839 10.0678 16.7561 10.0324C16.9283 9.99691 17.0819 9.90029 17.1889 9.76018L21.3745 4.27979",stroke:"#757D7E",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),c.createElement("path",{d:"M18.4739 4.60986L21.3623 4.13001L21.845 7.03577",stroke:"#757D7E",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"})),{spendManagement:{treasury:{promoBanner:w,promoPage:we}}}=ce.getLocalizedStrings(),Ut=({yieldPercentage:e=4.35,insuredAmount:i=5e5,onGetStartedClick:u,style:m})=>{const r=V(),k=(a,z)=>Object.entries(z).reduce((L,[I,j])=>L.replace(new RegExp(`__${I}__`,"g"),j),a),$=a=>`$${Intl.NumberFormat("en",{notation:"compact"}).format(a)}`,C=`${e}%`,A=$(i),f=[{icon:t.jsx(Kt,{}),title:k(w.features.yield,{yieldPercentage:C}),id:"yield"},{icon:t.jsx(Xt,{}),title:k(w.features.insured,{insuredAmount:A}),id:"insured"},{icon:t.jsx(en,{}),title:w.features.liquidity,showAsterisk:!0,id:"liquidity"},{icon:t.jsx(tn,{}),title:w.features.automation,id:"automation"}];return t.jsxs(Vt,{style:m,children:[t.jsx(Wt,{}),r!=="small"&&t.jsxs(t.Fragment,{children:[t.jsx(Yt,{}),t.jsx(Zt,{})]}),t.jsx(Jt,{windowSize:r,children:r==="small"?t.jsxs(t.Fragment,{children:[t.jsxs(qt,{children:[t.jsx($e,{windowSize:r,children:t.jsx(fe,{windowSize:r})}),t.jsx(ye,{children:w.title})]}),t.jsx(ke,{windowSize:r,children:f.map(a=>t.jsxs(be,{windowSize:r,children:[t.jsx(Ce,{children:a.icon}),t.jsxs(je,{children:[a.title,a.showAsterisk===!0&&t.jsx(Ae,{children:"*"})]})]},a.id))}),t.jsx(Ht,{children:t.jsx(ze,{children:t.jsx(ve,{variant:"primary",label:w.button,onClick:u,size:"small",style:{padding:`${n.sp1} 12px`}})})}),t.jsx(Se,{windowSize:r,children:t.jsxs(Le,{windowSize:r,children:[w.disclaimer.split("__termsLink__")[0],t.jsx(Te,{href:we.zeniTermsOfServiceLink,target:"_blank",rel:"noopener noreferrer",children:w.termsLink}),w.disclaimer.split("__termsLink__")[1]]})})]}):t.jsxs(t.Fragment,{children:[t.jsx($e,{windowSize:r,children:t.jsx(fe,{windowSize:r})}),t.jsxs(Qt,{windowSize:r,children:[t.jsx(ye,{children:w.title}),t.jsx(ke,{windowSize:r,children:f.map(a=>t.jsxs(be,{windowSize:r,children:[t.jsx(Ce,{children:a.icon}),t.jsxs(je,{children:[a.title,a.showAsterisk===!0&&t.jsx(Ae,{children:"*"})]})]},a.id))}),t.jsx(Se,{windowSize:r,children:t.jsxs(Le,{windowSize:r,children:[w.disclaimer.split("__termsLink__")[0],t.jsx(Te,{href:we.zeniTermsOfServiceLink,target:"_blank",rel:"noopener noreferrer",children:w.termsLink}),w.disclaimer.split("__termsLink__")[1]]})})]}),t.jsx(ze,{children:t.jsx(ve,{variant:"primary",label:w.button,onClick:u,size:"small",style:{padding:`${n.sp1} 12px`}})})]})})]})},Vt=o.div`
1
+ import{e as V,ay as W,g as Ke,bQ as Qe,aa as Xe,aS as et,a_ as tt,aR as nt,V as t,cy as X,d as s,ae as ot,o as n,eE as it,eJ as rt,cz as ge,cA as xe,hJ as st,aQ as G,c1 as Ie,bE as at,w as _,gR as ct,O as ce,as as lt,an as dt,n as pt,c9 as ut,bM as Be,ak as P,hK as mt,cl as ht,fx as O,ac as U,x as S,ao as le,gV as gt,a9 as xt,hL as wt,dE as $t,hM as yt,h9 as ft,da as kt,cq as bt,gk as Ct,hd as jt,bU as At,u as g,d$ as zt,fY as vt,hN as St,a as Lt,N as Tt,M as Pt,ap as It,ha as Bt,bT as Mt,aV as _t}from"./index-B8J3c9-k.js";import{a as c}from"./sentry-xNvKSthz.js";import{n as o}from"./mui-B_fu8zAT.js";import{a as Dt}from"./liveblocks-CN5hALk7.js";import{GO as Et}from"./zeni-epic-state-SAYXyeZn.js";import{r as Ft}from"./auto-transfer-rule-mbafm5D3-BEBK8d08.js";import{o as Nt}from"./shield-DOlUxcFf-BV2AyAgf.js";import{K as Rt}from"./ZeniAccountNavBarPieces-CrNjnkNS-DjQVooJA.js";import{v as Gt}from"./ZeniTransferAmountSlider-DuD1JtSv-FE9AJrcw.js";import"./core-C_RwbDgZ.js";import"./lottie-B-zs781A.js";import"./recharts-BkmpOx_p.js";import"./analytics-TwdLweES.js";import"./lexical-DZ4skawM.js";import"./utils-4bW-VyLb.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},i=new e.Error().stack;i&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[i]="96cb7554-b1ec-4ce5-a724-e9e00b478052",e._sentryDebugIdIdentifier="sentry-dbid-96cb7554-b1ec-4ce5-a724-e9e00b478052")}catch{}})();const Ot=e=>c.createElement("svg",{width:24,height:24,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},c.createElement("path",{d:"M23.0041 11.8483C23.0373 14.1699 22.335 16.4424 20.9979 18.3405C19.6607 20.2386 17.7572 21.665 15.5599 22.4153C13.3627 23.1656 10.9844 23.2014 8.76551 22.5175C6.54667 21.8337 4.60111 20.4653 3.20741 18.6083C1.81371 16.7513 1.04335 14.5009 1.00664 12.1794C0.969926 9.85784 1.66875 7.58422 3.00303 5.68407C4.33732 3.78392 6.23864 2.3547 8.43475 1.60106C10.6309 0.84741 13.0091 0.807991 15.229 1.48844",stroke:"#757D7E",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),c.createElement("path",{d:"M7.17736 14.8498L12.3225 8.44116C12.431 8.30616 12.5835 8.21419 12.7532 8.1815C12.9228 8.14882 13.0985 8.17753 13.2493 8.26255L16.2512 9.95329C16.4047 10.0398 16.5839 10.0678 16.7561 10.0324C16.9283 9.99691 17.0819 9.90029 17.1889 9.76018L21.3745 4.27979",stroke:"#757D7E",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),c.createElement("path",{d:"M18.4739 4.60986L21.3623 4.13001L21.845 7.03577",stroke:"#757D7E",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"})),{spendManagement:{treasury:{promoBanner:w,promoPage:we}}}=ce.getLocalizedStrings(),Ut=({yieldPercentage:e=4.35,insuredAmount:i=5e5,onGetStartedClick:u,style:m})=>{const r=V(),k=(a,z)=>Object.entries(z).reduce((L,[I,j])=>L.replace(new RegExp(`__${I}__`,"g"),j),a),$=a=>`$${Intl.NumberFormat("en",{notation:"compact"}).format(a)}`,C=`${e}%`,A=$(i),y=[{icon:t.jsx(Qt,{}),title:k(w.features.yield,{yieldPercentage:C}),id:"yield"},{icon:t.jsx(Xt,{}),title:k(w.features.insured,{insuredAmount:A}),id:"insured"},{icon:t.jsx(en,{}),title:w.features.liquidity,showAsterisk:!0,id:"liquidity"},{icon:t.jsx(tn,{}),title:w.features.automation,id:"automation"}];return t.jsxs(Vt,{style:m,children:[t.jsx(Wt,{}),r!=="small"&&t.jsxs(t.Fragment,{children:[t.jsx(Yt,{}),t.jsx(Zt,{})]}),t.jsx(Jt,{windowSize:r,children:r==="small"?t.jsxs(t.Fragment,{children:[t.jsxs(qt,{children:[t.jsx($e,{windowSize:r,children:t.jsx(ye,{windowSize:r})}),t.jsx(fe,{children:w.title})]}),t.jsx(ke,{windowSize:r,children:y.map(a=>t.jsxs(be,{windowSize:r,children:[t.jsx(Ce,{children:a.icon}),t.jsxs(je,{children:[a.title,a.showAsterisk===!0&&t.jsx(Ae,{children:"*"})]})]},a.id))}),t.jsx(Ht,{children:t.jsx(ze,{children:t.jsx(ve,{variant:"primary",label:w.button,onClick:u,size:"small",style:{padding:`${n.sp1} 12px`}})})}),t.jsx(Se,{windowSize:r,children:t.jsxs(Le,{windowSize:r,children:[w.disclaimer.split("__termsLink__")[0],t.jsx(Te,{href:we.zeniTermsOfServiceLink,target:"_blank",rel:"noopener noreferrer",children:w.termsLink}),w.disclaimer.split("__termsLink__")[1]]})})]}):t.jsxs(t.Fragment,{children:[t.jsx($e,{windowSize:r,children:t.jsx(ye,{windowSize:r})}),t.jsxs(Kt,{windowSize:r,children:[t.jsx(fe,{children:w.title}),t.jsx(ke,{windowSize:r,children:y.map(a=>t.jsxs(be,{windowSize:r,children:[t.jsx(Ce,{children:a.icon}),t.jsxs(je,{children:[a.title,a.showAsterisk===!0&&t.jsx(Ae,{children:"*"})]})]},a.id))}),t.jsx(Se,{windowSize:r,children:t.jsxs(Le,{windowSize:r,children:[w.disclaimer.split("__termsLink__")[0],t.jsx(Te,{href:we.zeniTermsOfServiceLink,target:"_blank",rel:"noopener noreferrer",children:w.termsLink}),w.disclaimer.split("__termsLink__")[1]]})})]}),t.jsx(ze,{children:t.jsx(ve,{variant:"primary",label:w.button,onClick:u,size:"small",style:{padding:`${n.sp1} 12px`}})})]})})]})},Vt=o.div`
2
2
  position: relative;
3
3
  display: flex;
4
4
  flex-direction: column;
@@ -84,7 +84,7 @@ import{e as V,ay as W,g as Qe,bQ as Ke,aa as Xe,aS as et,a_ as tt,aR as nt,V as
84
84
  align-items: center;
85
85
  margin-top: ${n.sp2};
86
86
  margin-left: ${n.sp7};
87
- `,fe=o(vt)`
87
+ `,ye=o(vt)`
88
88
  width: ${e=>e.windowSize==="small"?n.sp6:n.sp9};
89
89
  height: ${e=>e.windowSize==="small"?n.sp6:n.sp9};
90
90
  color: ${s.brandColorGoldDark};
@@ -93,12 +93,12 @@ import{e as V,ay as W,g as Qe,bQ as Ke,aa as Xe,aS as et,a_ as tt,aR as nt,V as
93
93
  stroke: ${s.brandColorGoldDark};
94
94
  stroke-width: 1px;
95
95
  }
96
- `,Qt=o.div`
96
+ `,Kt=o.div`
97
97
  display: flex;
98
98
  flex-direction: column;
99
99
  gap: ${n.sp1};
100
100
  flex: 1;
101
- `,ye=o(St)`
101
+ `,fe=o(St)`
102
102
  color: ${s.brandColorGoldDark};
103
103
  margin-bottom: ${n.sp1};
104
104
  `,ke=o.div`
@@ -157,7 +157,7 @@ import{e as V,ay as W,g as Qe,bQ as Ke,aa as Xe,aS as et,a_ as tt,aR as nt,V as
157
157
  color: ${s.primaryLight};
158
158
  text-decoration-color: ${s.primaryLight};
159
159
  }
160
- `,Kt=o(Ot)`
160
+ `,Qt=o(Ot)`
161
161
  width: ${n.sp3};
162
162
  height: ${n.sp3};
163
163
  color: ${s.brandColorGoldDark};
@@ -177,16 +177,16 @@ import{e as V,ay as W,g as Qe,bQ as Ke,aa as Xe,aS as et,a_ as tt,aR as nt,V as
177
177
  width: ${n.sp3};
178
178
  height: ${n.sp3};
179
179
  color: ${s.brandColorGoldDark};
180
- `,nn=e=>c.createElement("svg",{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},c.createElement("path",{d:"M1.50005 3.41819V11.3868C1.49582 13.9724 2.27853 16.4989 3.74542 18.6344C5.2123 20.77 7.29478 22.4147 9.71941 23.3528L10.8398 23.7848C11.5863 24.0717 12.4137 24.0717 13.1602 23.7848L14.2806 23.3528C16.7052 22.4147 18.7877 20.77 20.2546 18.6344C21.7215 16.4989 22.5042 13.9724 22.4999 11.3868V3.41819C22.5025 3.11029 22.4157 2.80819 22.2499 2.54802C22.0842 2.28785 21.8466 2.08063 21.5655 1.95114C18.5518 0.635546 15.2915 -0.0291648 12 0.000981362C8.70855 -0.0291648 5.44817 0.635546 2.43455 1.95114C2.15343 2.08063 1.91579 2.28785 1.75007 2.54802C1.58435 2.80819 1.49755 3.11029 1.50005 3.41819Z",fill:"#36B37E"}),c.createElement("path",{d:"M16.5194 8.42881L11.3671 13.3387C11.3022 13.4007 11.2254 13.4489 11.1414 13.4802C11.0573 13.5116 10.9677 13.5256 10.8781 13.5212C10.7897 13.517 10.703 13.4951 10.6232 13.4568C10.5434 13.4185 10.4721 13.3646 10.4135 13.2982L8.06814 10.6339",stroke:"#FAFAFA",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"})),y={bankAccListBottomMargin:new S(g[7],g[6]),containerWidth:new S(96,67),containerTopMargin:new S(g[4],g[6]),BankAccListTopMargin:new S(g[4],g[8]),containerSidePadding:new S(g[3],g[0]),accountRowTopBottomPadding:new S(g[3],g[4]),accountRowBottomMargin:new S(g[3],g[5]),totalInsuredAndYieldContainerTopMargin:new S(g[3],g[0])},on={bankAccountName:new Tt("standardRegular","largeMedium")},x=ce.getLocalizedStrings(),{common:{strings:{empty:ee}},collaboration:{commentOnField:rn}}=x,sn=o.div`
180
+ `,nn=e=>c.createElement("svg",{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},c.createElement("path",{d:"M1.50005 3.41819V11.3868C1.49582 13.9724 2.27853 16.4989 3.74542 18.6344C5.2123 20.77 7.29478 22.4147 9.71941 23.3528L10.8398 23.7848C11.5863 24.0717 12.4137 24.0717 13.1602 23.7848L14.2806 23.3528C16.7052 22.4147 18.7877 20.77 20.2546 18.6344C21.7215 16.4989 22.5042 13.9724 22.4999 11.3868V3.41819C22.5025 3.11029 22.4157 2.80819 22.2499 2.54802C22.0842 2.28785 21.8466 2.08063 21.5655 1.95114C18.5518 0.635546 15.2915 -0.0291648 12 0.000981362C8.70855 -0.0291648 5.44817 0.635546 2.43455 1.95114C2.15343 2.08063 1.91579 2.28785 1.75007 2.54802C1.58435 2.80819 1.49755 3.11029 1.50005 3.41819Z",fill:"#36B37E"}),c.createElement("path",{d:"M16.5194 8.42881L11.3671 13.3387C11.3022 13.4007 11.2254 13.4489 11.1414 13.4802C11.0573 13.5116 10.9677 13.5256 10.8781 13.5212C10.7897 13.517 10.703 13.4951 10.6232 13.4568C10.5434 13.4185 10.4721 13.3646 10.4135 13.2982L8.06814 10.6339",stroke:"#FAFAFA",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"})),f={bankAccListBottomMargin:new S(g[7],g[6]),containerWidth:new S(96,67),containerTopMargin:new S(g[4],g[6]),BankAccListTopMargin:new S(g[4],g[8]),containerSidePadding:new S(g[3],g[0]),accountRowTopBottomPadding:new S(g[3],g[4]),accountRowBottomMargin:new S(g[3],g[5]),totalInsuredAndYieldContainerTopMargin:new S(g[3],g[0])},on={bankAccountName:new Tt("standardRegular","largeMedium")},x=ce.getLocalizedStrings(),{common:{strings:{empty:ee}},collaboration:{commentOnField:rn}}=x,sn=o.div`
181
181
  position: relative;
182
- `,te=e=>t.jsx(yn,{children:e}),an=({depositAccount:e,index:i,isAccountAnalyst:u,windowSize:m,getAccIconByType:r,onAddFundBtnClick:k,isCheckingCommentingEnabled:$=!1,isCheckingThreadsLoading:C=!1,unresolvedCheckingThreadsCount:A=0,onZeniAccountRowClick:f})=>{const a=W(),z=gt(),L=xt().analytics,I=c.useCallback(j=>{j.stopPropagation();const v=`dashboard_${a.currentTenant?.companyId}`;z?.sharedFunctions?.subtreeFunctions.openAllThreadsDrawer({roomId:v,companyId:a.currentTenant?.companyId??ee,companyName:a.currentTenant?.companyName??ee,entityId:e.id,entityType:wt({tab:"checking",key:"details"}),groupId:e.id,accountName:e.accountName}),L.trackCommentActivity("checking","clicked",a.currentTenant?.companyName??ee,a.controllersList.controllers.map(b=>$t(b)),void 0,void 0,rn)},[L,z?.sharedFunctions?.subtreeFunctions,e.accountName,e.id,a.controllersList.controllers,a.currentTenant?.companyId,a.currentTenant?.companyName]);return t.jsxs(sn,{children:[t.jsxs(vn,{isClickEnabled:!0,windowSize:m,onClick:()=>f?.(e.id,e.accountName),"data-testid":U("deposit-account-clicked",e.id),children:[t.jsxs(jn,{children:[r(i),t.jsxs(Sn,{children:[t.jsx(Ln,{windowSize:m,children:e.accountName}),t.jsxs(Tn,{windowSize:m,children:[t.jsx(gn,{children:t.jsx(Pn,{children:e.maskedAccountNumber})}),t.jsxs(xn,{children:[m==="small"?null:t.jsx(In,{}),t.jsx(Bn,{windowSize:m,children:x.spendManagement.zeniAccounts.zeniAccountList.active})]})]})]})]}),t.jsxs(Mn,{children:[t.jsx(O,{amount:e.accountBalance.available,integerStyles:_.largeMedium.cssObject,decimalStyles:_.smallMedium.cssObject}),u?null:t.jsx(un,{onClick:j=>{j.stopPropagation(),k(e)},"data-testid":U("add-fund",e.id),children:t.jsx(mn,{children:x.spendManagement.zeniAccounts.zeniAccountList.addFundBtnText})})]})]}),$&&A>0?t.jsx(ft,{isLoading:C,count:A,style:{position:"absolute",float:"right",right:"-12px",top:n.sp1},openThread:I}):null]})},cn=({fetchState:e,onReloadTransactions:i})=>e==="Error"?t.jsxs(Fn,{children:[t.jsx(Nn,{onClick:i,"data-testid":U("zeni-account-list-reload"),children:t.jsx(Rn,{})}),t.jsx(Gn,{children:x.peoplePage.reloadPage.label})]}):t.jsx(Ct,{fetchState:e,styles:{margin:"auto"}}),ln=({zeniAccountListView:e,zeniAccountsConfigDetail:i,maxInsuredAmountString:u,analytics:m,onZeniAccountRowClick:r,onReloadTransactions:k,handleAddInternalAccountClick:$,onAddFundClick:C,onTreasuryGetStartedClick:A,treasuryYieldPercentage:f,treasuryInsuredAmount:a,showTreasuryPromo:z,isCheckingCommentingEnabled:L=!1})=>{const{depositAccountsSelectorView:I,fetchState:j,summary:v}=e,b=V(),B=W(),Y=c.useMemo(()=>({application:"dashboard",companyId:B.currentTenant?.companyId,tab:"checking",isGlobalComment:!1}),[B.currentTenant?.companyId]),{threads:M,isLoading:R}=mt(Y,"both",!1),E=c.useMemo(()=>{const l=new Map;for(const h of M){if(h.resolved!==!1)continue;const T=h.metadata.groupId;T==null||T===""||l.set(T,(l.get(T)??0)+1)}return l},[M]),Z=B.loggedInUserRoleMap.deposit_accounts_user===!0||Et(B.loggedInUserRoleMap),J=l=>{m.trackAccountsListPageClicked("Add Funds",l.accountName,"active"),C("transfer",l)},F=l=>{switch(l){case"totalBalance":return"320px";case"insuredBalance":return"320px";case"totalInterest":return"290px";default:return"320px"}},D=l=>{let h=t.jsx(t.Fragment,{});switch(l){case"insuredBalance":h=t.jsx(oe,{style:{width:"300px"},children:x.spendManagement.zeniAccounts.zeniAccountList.insuranceTooltip.replace("__amount__",u)});break;case"totalInterest":h=t.jsx(oe,{children:x.spendManagement.zeniAccounts.zeniAccountList.yieldTooltip});break;case"totalBalance":h=t.jsxs(oe,{style:{paddingTop:"12px",paddingBottom:"12px"},children:[t.jsx(Yn,{children:x.spendManagement.zeniAccounts.zeniAccountList.balanceTooltip.base}),t.jsxs(ie,{children:[t.jsx(re,{children:x.spendManagement.zeniAccounts.zeniAccountList.balanceTooltip.balance}),t.jsx(se,{children:G("0,0[.]00",v?.totalBalance.current)})]}),t.jsxs(ie,{children:[t.jsx(re,{children:x.spendManagement.zeniAccounts.zeniAccountList.balanceTooltip.processing}),t.jsx(se,{children:G("0,0[.]00",v?.totalBalance.hold)})]}),t.jsxs(ie,{children:[t.jsx(re,{children:x.spendManagement.zeniAccounts.zeniAccountList.balanceTooltip.available}),t.jsx(se,{children:G("0,0[.]00",v?.totalBalance.available)})]})]});break}return t.jsx(Un,{children:t.jsx(Ie,{style:{textAlign:"left",padding:n.sp1},maxWidth:F(l),display:"flex",placement:b==="small"?"bottom":"top",title:h,children:l==="insuredBalance"?t.jsx(Wn,{}):t.jsx(Vn,{})})})},q=l=>t.jsx($n,{color:yt(l)});return ht({componentName:"checking.list",enabled:j==="Completed"}),t.jsx(dn,{children:j==="Completed"?t.jsxs(On,{windowSize:b,children:[t.jsxs(hn,{windowSize:b,children:[t.jsxs(fn,{windowSize:b,children:[t.jsxs(ne,{children:[te(x.spendManagement.zeniAccounts.zeniAccountList.totalAvailableBalance),D("totalBalance")]}),t.jsx(O,{amount:v?.totalBalance.available})]}),t.jsxs(pn,{windowSize:b,children:[t.jsxs(An,{children:[t.jsxs(ne,{children:[te(x.spendManagement.zeniAccounts.zeniAccountList.insuredFund),D("insuredBalance")]}),t.jsx(O,{amount:v?.insuredBalance.available,integerStyles:_.largeMedium.cssObject,decimalStyles:_.smallMedium.cssObject}),t.jsx(Cn,{children:x.spendManagement.zeniAccounts.zeniAccountList.insuranceInfo.replace("__amount__",u)})]}),t.jsxs(zn,{children:[t.jsxs(ne,{children:[te(x.spendManagement.zeniAccounts.common.totalYieldEarned),D("totalInterest")]}),t.jsx(O,{amount:v?.totalInterest.available,integerStyles:_.largeMedium.cssObject,decimalStyles:_.smallMedium.cssObject}),t.jsxs(kn,{children:[x.spendManagement.zeniAccounts.zeniAccountList.currentAverageYield,t.jsx(bn,{children:i.zeniAccountsConfigDetail.annualPercentageYield})]})]})]})]}),z===!0&&t.jsx(Zn,{windowSize:b,children:t.jsx(Ut,{yieldPercentage:f,insuredAmount:a,onGetStartedClick:()=>{m.trackAccountsListPageClicked("Move Money"),A?.()}})}),t.jsxs(wn,{windowSize:b,children:[I.depositAccounts.map((l,h)=>t.jsx(an,{depositAccount:l,index:h,isAccountAnalyst:Z,windowSize:b,getAccIconByType:q,onAddFundBtnClick:J,isCheckingCommentingEnabled:L,unresolvedCheckingThreadsCount:E.get(l.id)??0,isCheckingThreadsLoading:R,onZeniAccountRowClick:r},l.id)),t.jsxs(_n,{onClick:$,"data-testid":U("add-new-internal-zeni-account"),children:[t.jsx(Dn,{}),t.jsx(En,{children:x.spendManagement.zeniAccounts.zeniAccountList.addAccountText})]})]})]}):t.jsx(cn,{fetchState:j,onReloadTransactions:k})})},dn=o.div`
182
+ `,te=e=>t.jsx(fn,{children:e}),an=({depositAccount:e,index:i,isAccountAnalyst:u,windowSize:m,getAccIconByType:r,onAddFundBtnClick:k,isCheckingCommentingEnabled:$=!1,isCheckingThreadsLoading:C=!1,unresolvedCheckingThreadsCount:A=0,onZeniAccountRowClick:y})=>{const a=W(),z=gt(),L=xt().analytics,I=c.useCallback(j=>{j.stopPropagation();const v=`dashboard_${a.currentTenant?.companyId}`;z?.sharedFunctions?.subtreeFunctions.openAllThreadsDrawer({roomId:v,companyId:a.currentTenant?.companyId??ee,companyName:a.currentTenant?.companyName??ee,entityId:e.id,entityType:wt({tab:"checking",key:"details"}),groupId:e.id,accountName:e.accountName}),L.trackCommentActivity("checking","clicked",a.currentTenant?.companyName??ee,a.controllersList.controllers.map(b=>$t(b)),void 0,void 0,rn)},[L,z?.sharedFunctions?.subtreeFunctions,e.accountName,e.id,a.controllersList.controllers,a.currentTenant?.companyId,a.currentTenant?.companyName]);return t.jsxs(sn,{children:[t.jsxs(vn,{isClickEnabled:!0,windowSize:m,onClick:()=>y?.(e.id,e.accountName),"data-testid":U("deposit-account-clicked",e.id),children:[t.jsxs(jn,{children:[r(i),t.jsxs(Sn,{children:[t.jsx(Ln,{windowSize:m,children:e.accountName}),t.jsxs(Tn,{windowSize:m,children:[t.jsx(gn,{children:t.jsx(Pn,{children:e.maskedAccountNumber})}),t.jsxs(xn,{children:[m==="small"?null:t.jsx(In,{}),t.jsx(Bn,{windowSize:m,children:x.spendManagement.zeniAccounts.zeniAccountList.active})]})]})]})]}),t.jsxs(Mn,{children:[t.jsx(O,{amount:e.accountBalance.available,integerStyles:_.largeMedium.cssObject,decimalStyles:_.smallMedium.cssObject}),u?null:t.jsx(un,{onClick:j=>{j.stopPropagation(),k(e)},"data-testid":U("add-fund",e.id),children:t.jsx(mn,{children:x.spendManagement.zeniAccounts.zeniAccountList.addFundBtnText})})]})]}),$&&A>0?t.jsx(yt,{isLoading:C,count:A,style:{position:"absolute",float:"right",right:"-12px",top:n.sp1},openThread:I}):null]})},cn=({fetchState:e,onReloadTransactions:i})=>e==="Error"?t.jsxs(Fn,{children:[t.jsx(Nn,{onClick:i,"data-testid":U("zeni-account-list-reload"),children:t.jsx(Rn,{})}),t.jsx(Gn,{children:x.peoplePage.reloadPage.label})]}):t.jsx(Ct,{fetchState:e,styles:{margin:"auto"}}),ln=({zeniAccountListView:e,zeniAccountsConfigDetail:i,maxInsuredAmountString:u,analytics:m,onZeniAccountRowClick:r,onReloadTransactions:k,handleAddInternalAccountClick:$,onAddFundClick:C,onTreasuryGetStartedClick:A,treasuryYieldPercentage:y,treasuryInsuredAmount:a,showTreasuryPromo:z,isCheckingCommentingEnabled:L=!1})=>{const{depositAccountsSelectorView:I,fetchState:j,summary:v}=e,b=V(),B=W(),Y=c.useMemo(()=>({application:"dashboard",companyId:B.currentTenant?.companyId,tab:"checking",isGlobalComment:!1}),[B.currentTenant?.companyId]),{threads:M,isLoading:R}=mt(Y,"both",!1),E=c.useMemo(()=>{const l=new Map;for(const h of M){if(h.resolved!==!1)continue;const T=h.metadata.groupId;T==null||T===""||l.set(T,(l.get(T)??0)+1)}return l},[M]),Z=B.loggedInUserRoleMap.deposit_accounts_user===!0||Et(B.loggedInUserRoleMap),J=l=>{m.trackAccountsListPageClicked("Add Funds",l.accountName,"active"),C("transfer",l)},F=l=>{switch(l){case"totalBalance":return"320px";case"insuredBalance":return"320px";case"totalInterest":return"290px";default:return"320px"}},D=l=>{let h=t.jsx(t.Fragment,{});switch(l){case"insuredBalance":h=t.jsx(oe,{style:{width:"300px"},children:x.spendManagement.zeniAccounts.zeniAccountList.insuranceTooltip.replace("__amount__",u)});break;case"totalInterest":h=t.jsx(oe,{children:x.spendManagement.zeniAccounts.zeniAccountList.yieldTooltip});break;case"totalBalance":h=t.jsxs(oe,{style:{paddingTop:"12px",paddingBottom:"12px"},children:[t.jsx(Yn,{children:x.spendManagement.zeniAccounts.zeniAccountList.balanceTooltip.base}),t.jsxs(ie,{children:[t.jsx(re,{children:x.spendManagement.zeniAccounts.zeniAccountList.balanceTooltip.balance}),t.jsx(se,{children:G("0,0[.]00",v?.totalBalance.current)})]}),t.jsxs(ie,{children:[t.jsx(re,{children:x.spendManagement.zeniAccounts.zeniAccountList.balanceTooltip.processing}),t.jsx(se,{children:G("0,0[.]00",v?.totalBalance.hold)})]}),t.jsxs(ie,{children:[t.jsx(re,{children:x.spendManagement.zeniAccounts.zeniAccountList.balanceTooltip.available}),t.jsx(se,{children:G("0,0[.]00",v?.totalBalance.available)})]})]});break}return t.jsx(Un,{children:t.jsx(Ie,{style:{textAlign:"left",padding:n.sp1},maxWidth:F(l),display:"flex",placement:b==="small"?"bottom":"top",title:h,children:l==="insuredBalance"?t.jsx(Wn,{}):t.jsx(Vn,{})})})},q=l=>t.jsx($n,{color:ft(l)});return ht({componentName:"checking.list",enabled:j==="Completed"}),t.jsx(dn,{children:j==="Completed"?t.jsxs(On,{windowSize:b,children:[t.jsxs(hn,{windowSize:b,children:[t.jsxs(yn,{windowSize:b,children:[t.jsxs(ne,{children:[te(x.spendManagement.zeniAccounts.zeniAccountList.totalAvailableBalance),D("totalBalance")]}),t.jsx(O,{amount:v?.totalBalance.available})]}),t.jsxs(pn,{windowSize:b,children:[t.jsxs(An,{children:[t.jsxs(ne,{children:[te(x.spendManagement.zeniAccounts.zeniAccountList.insuredFund),D("insuredBalance")]}),t.jsx(O,{amount:v?.insuredBalance.available,integerStyles:_.largeMedium.cssObject,decimalStyles:_.smallMedium.cssObject}),t.jsx(Cn,{children:x.spendManagement.zeniAccounts.zeniAccountList.insuranceInfo.replace("__amount__",u)})]}),t.jsxs(zn,{children:[t.jsxs(ne,{children:[te(x.spendManagement.zeniAccounts.common.totalYieldEarned),D("totalInterest")]}),t.jsx(O,{amount:v?.totalInterest.available,integerStyles:_.largeMedium.cssObject,decimalStyles:_.smallMedium.cssObject}),t.jsxs(kn,{children:[x.spendManagement.zeniAccounts.zeniAccountList.currentAverageYield,t.jsx(bn,{children:i.zeniAccountsConfigDetail.annualPercentageYield})]})]})]})]}),z===!0&&t.jsx(Zn,{windowSize:b,children:t.jsx(Ut,{yieldPercentage:y,insuredAmount:a,onGetStartedClick:()=>{m.trackAccountsListPageClicked("Move Money"),A?.()}})}),t.jsxs(wn,{windowSize:b,children:[I.depositAccounts.map((l,h)=>t.jsx(an,{depositAccount:l,index:h,isAccountAnalyst:Z,windowSize:b,getAccIconByType:q,onAddFundBtnClick:J,isCheckingCommentingEnabled:L,unresolvedCheckingThreadsCount:E.get(l.id)??0,isCheckingThreadsLoading:R,onZeniAccountRowClick:r},l.id)),t.jsxs(_n,{onClick:$,"data-testid":U("add-new-internal-zeni-account"),children:[t.jsx(Dn,{}),t.jsx(En,{children:x.spendManagement.zeniAccounts.zeniAccountList.addAccountText})]})]})]}):t.jsx(cn,{fetchState:j,onReloadTransactions:k})})},dn=o.div`
183
183
  display: block;
184
184
  height: 100%;
185
185
  `,pn=o.div`
186
186
  display: flex;
187
187
  justify-content: space-between;
188
188
  gap: ${n.sp5};
189
- margin: ${e=>`${y.totalInsuredAndYieldContainerTopMargin.valuePx(e.windowSize)} ${n.sp0} ${n.sp0} ${n.sp0}`};
189
+ margin: ${e=>`${f.totalInsuredAndYieldContainerTopMargin.valuePx(e.windowSize)} ${n.sp0} ${n.sp0} ${n.sp0}`};
190
190
  `,un=o.button`
191
191
  cursor: pointer;
192
192
  border-radius: ${n.sp1};
@@ -199,35 +199,35 @@ import{e as V,ay as W,g as Qe,bQ as Ke,aa as Xe,aS as et,a_ as tt,aR as nt,V as
199
199
  `,mn=o(It)`
200
200
  color: ${e=>e.theme.colors.hero};
201
201
  `,hn=o.div`
202
- margin: ${e=>y.containerTopMargin.valuePx(e.windowSize)}
202
+ margin: ${e=>f.containerTopMargin.valuePx(e.windowSize)}
203
203
  ${n.sp0} ${n.sp0} ${n.sp0};
204
204
  display: flex;
205
205
  justify-content: space-between;
206
206
  width: 100%;
207
207
  flex-direction: ${e=>e.windowSize==="small"?"column":"row"};
208
- padding: ${e=>`${n.sp0} ${y.containerSidePadding.valuePx(e.windowSize)} ${n.sp0} ${y.containerSidePadding.valuePx(e.windowSize)}`};
208
+ padding: ${e=>`${n.sp0} ${f.containerSidePadding.valuePx(e.windowSize)} ${n.sp0} ${f.containerSidePadding.valuePx(e.windowSize)}`};
209
209
  `,gn=o.div`
210
210
  display: flex;
211
211
  `,xn=o.div`
212
212
  display: flex;
213
213
  align-items: center;
214
214
  `,wn=o.div`
215
- margin: ${e=>`${y.BankAccListTopMargin.valuePx(e.windowSize)} ${n.sp0}
216
- ${y.bankAccListBottomMargin.valuePx(e.windowSize)} ${n.sp0}`};
215
+ margin: ${e=>`${f.BankAccListTopMargin.valuePx(e.windowSize)} ${n.sp0}
216
+ ${f.bankAccListBottomMargin.valuePx(e.windowSize)} ${n.sp0}`};
217
217
  width: 100%;
218
- padding: ${e=>`${n.sp0} ${y.containerSidePadding.valuePx(e.windowSize)}`};
218
+ padding: ${e=>`${n.sp0} ${f.containerSidePadding.valuePx(e.windowSize)}`};
219
219
  `,$n=o(Bt)`
220
220
  min-width: ${n.sp7};
221
221
  width: ${n.sp7};
222
222
  height: ${n.sp7};
223
223
  margin-right: 12px;
224
- `,fn=o.div`
224
+ `,yn=o.div`
225
225
  ${e=>e.windowSize!=="small"?`
226
226
  width: 50%;
227
227
  `:null}
228
228
  `,ne=o.div`
229
229
  display: flex;
230
- `,yn=o(P)`
230
+ `,fn=o(P)`
231
231
  color: ${e=>e.theme.colors.hero};
232
232
  margin-right: ${n.sp1};
233
233
  `,kn=o(le)`
@@ -241,15 +241,15 @@ import{e as V,ay as W,g as Qe,bQ as Ke,aa as Xe,aS as et,a_ as tt,aR as nt,V as
241
241
  align-items: center;
242
242
  width: calc(100% - 96px);
243
243
  `,An=o.div``,zn=o.div``,vn=o.div`
244
- padding-left: ${e=>y.accountRowTopBottomPadding.valuePx(e.windowSize)};
245
- padding-right: ${e=>y.accountRowTopBottomPadding.valuePx(e.windowSize)};
246
- padding-top: ${e=>y.accountRowTopBottomPadding.valuePx(e.windowSize)};
247
- padding-bottom: ${e=>y.accountRowTopBottomPadding.valuePx(e.windowSize)};
244
+ padding-left: ${e=>f.accountRowTopBottomPadding.valuePx(e.windowSize)};
245
+ padding-right: ${e=>f.accountRowTopBottomPadding.valuePx(e.windowSize)};
246
+ padding-top: ${e=>f.accountRowTopBottomPadding.valuePx(e.windowSize)};
247
+ padding-bottom: ${e=>f.accountRowTopBottomPadding.valuePx(e.windowSize)};
248
248
  background: ${e=>e.theme.colors.grey5};
249
249
  border: 1px solid ${e=>e.theme.colors.grey3};
250
250
  box-shadow: ${e=>`${n.sp0} 2px ${n.sp1} ${e.theme.colors.dropShadowNormal} `};
251
251
  border-radius: ${n.sp2};
252
- margin-bottom: ${e=>y.accountRowBottomMargin.valuePx(e.windowSize)};
252
+ margin-bottom: ${e=>f.accountRowBottomMargin.valuePx(e.windowSize)};
253
253
  display: flex;
254
254
  flex-direction: row;
255
255
  justify-content: space-between;
@@ -348,7 +348,7 @@ import{e as V,ay as W,g as Qe,bQ as Ke,aa as Xe,aS as et,a_ as tt,aR as nt,V as
348
348
  color: ${e=>e.theme.colors.hero};
349
349
  `,On=o.div`
350
350
  max-width: 726px;
351
- width: ${e=>y.containerWidth.valuePercentage(e.windowSize)};
351
+ width: ${e=>f.containerWidth.valuePercentage(e.windowSize)};
352
352
  display: flex;
353
353
  flex-direction: column;
354
354
  align-items: center;
@@ -389,7 +389,7 @@ import{e as V,ay as W,g as Qe,bQ as Ke,aa as Xe,aS as et,a_ as tt,aR as nt,V as
389
389
  color: ${s.primaryDark};
390
390
  `,Zn=o.div`
391
391
  margin-top: ${n.sp4};
392
- `,Jn=ce.getLocalizedStrings(),{common:ae,spendManagement:{zeniAccounts:p},collaboration:{threads:{placeholder:{addANewComment:qn,replyAComment:Hn},tooltip:{resolveComment:Qn,unResolveComment:Kn}}}}=Jn,Xn={drawerSectionPaddingLeftRight:new S(g[4],g[5])},eo=({roomId:e,threadData:i,isThreadsOpen:u,onClose:m,onThreadClick:r,backgroundColor:k})=>{const $=V();return!u||i?.groupId==null||i.groupId===""?null:t.jsx(Dt,{id:e,children:t.jsx(to,{threadData:i,isThreadsOpen:u,onClose:m,onThreadClick:r,windowSize:$,backgroundColor:k})})},to=({threadData:e,isThreadsOpen:i,onClose:u,onThreadClick:m,windowSize:r,backgroundColor:k})=>{const $=W(),C=c.useMemo(()=>({application:"dashboard",companyId:$.currentTenant?.companyId,tab:"checking",groupId:e?.groupId,isGlobalComment:!1}),[$.currentTenant?.companyId,e?.groupId]),{threads:A,isLoading:f}=jt({filter:C});return t.jsx(At,{isDrawerOpen:i,allowComposer:!1,drawerTitle:ae.texts.comments,threads:A,autoExpand:!0,autoFocus:!1,filter:{application:"dashboard",companyId:$.currentTenant?.companyId??ae.strings.empty,isGlobalComment:!1,tab:"checking"},isLoading:f,textOverrides:{composerPlaceholder:qn,replyComposerPlaceholder:Hn,threadResolve:Qn,threadUnResolve:Kn},onThreadClick:(a,z)=>m(a,z),onCloseAllThreadsDrawer:u,drawerSectionStyle:{width:r==="small"?"100%":"400px",boxSizing:r==="small"?"border-box":"content-box",padding:`${n.sp0} ${Xn.drawerSectionPaddingLeftRight.valuePx(r)}`,backgroundColor:k},collapsibleThreadStyle:{width:r==="small"?"100%":"360px"}})},Pe="checkingAccountCreation-form",So=({zeniAccountListView:e,analytics:i,maxInsuredAmount:u,isBillPayEnabled:m,isCheckingCommentingEnabled:r=!1,isExpressPayEnabled:k,onBackClick:$,onZeniAccountClick:C,onSettingsClick:A,handleMoveMoneyOptionSelection:f,onReloadTransactions:a,onCreateCheckingClick:z,onClickMenuIcon:L,onTreasuryGetStartedClick:I,showTreasuryPromo:j,treasuryYieldPercentage:v,treasuryInsuredAmount:b})=>{const B=V(),Y=W(),M=Qe(),{setRequestToOpenThread:R}=c.useContext(Ke),[E,Z]=c.useState(null),[J,F]=c.useState(!1),D=c.useCallback(d=>{Z({...d}),F(!0)},[]),q=c.useCallback((d,N)=>{F(!1),R({threadId:N,companyId:d.companyId,entityType:d.entityType});const he=d.groupId;he!=null&&C(he,E?.accountName??"")},[E?.accountName,C,R]),l=c.useMemo(()=>({openAllThreadsDrawer:D}),[D]),h=Xe({mode:"all"}),T=e.newCheckingAccount.fetchState,de=et(T);c.useEffect(()=>{de==="In-Progress"&&T==="Completed"&&(H(!1),Q(!0),h.reset())},[de,T,h]);const[Me,H]=c.useState(!1),[_e,Q]=c.useState(!1),[De,K]=c.useState(!1),[Ee,Fe]=c.useState(0),[Ne,Re]=c.useState(0),Ge=(d,N)=>{C(d,N)},Oe={pageName:"listPage",onOptionSelection:d=>{d==="payBill"?(i.trackAccountsListPageClicked("Pay Someone"),K(!0)):(d==="sendMoney"?i.trackSendMoneyClick():d==="checkDeposit"?i.trackAccountsListPageClicked("Deposit a Check"):d==="transfer"&&i.trackAccountsListPageClicked("Transfer Between Accounts"),f(d))}},Ue={onOkClick:()=>{},onCancelClick:()=>{i.trackAccountsListPageClicked("Add Business Account Cancel"),h.reset(),H(!1)}},Ve={onOkClick:()=>{const d=e.depositAccountsSelectorView.depositAccounts.find(N=>N.id===e.newCheckingAccount.accountId);i.trackAccountsListPageClicked("Add Business Account Add Funds"),f("transfer",d),Q(!1)},onCancelClick:()=>{i.trackAccountsListPageClicked("Add Business Account Not Now"),Q(!1)}},We={onOkClick:()=>{i.trackAccountsListPageClicked("Proceed on Bills pop up"),f("payBill"),K(!1)},onCancelClick:()=>{i.trackAccountsListPageClicked("Not Now on Bills pop up"),K(!1)}},Ye=h.handleSubmit(d=>{i.trackAccountsListPageClicked("Add Business Account Create"),z?.(d.checkingAccountNickName)}),pe=e.zeniAccountsConfig.zeniAccountsConfigDetail.depositProductConfig.depositProducts,Ze=pe[pe.length-1].annualPercentageYield.toString(),ue=tt(nt(u),u,ae.currency.currencySymbol).toUpperCase(),Je=t.jsx(Rt,{onSettingsClick:A,isBillPayEnabled:m,isExpressPayEnabled:k,zeniBankProps:Oe,analytics:i}),me=t.jsxs(no,{children:[Me?t.jsx(X,{titleComponent:t.jsx(xe,{children:p.zeniAccountList.createPopUpInfo.title}),descriptionComponent:t.jsx(ge,{children:p.zeniAccountList.createPopUpInfo.description}),primaryButtonText:p.zeniAccountList.createPopUpInfo.primaryButtonText,isLoading:e.newCheckingAccount.fetchState==="In-Progress",formId:Pe,secondaryButtonText:p.zeniAccountList.createPopUpInfo.secondaryButtonText,style:{background:s.overlayLight},action:Ue,children:t.jsx(ot,{...h,children:t.jsx("form",{id:Pe,onSubmit:Ye,style:{height:n.sp8,width:"80%",marginBottom:n.sp5},children:t.jsx(it,{type:"text",name:"checkingAccountNickName",placeholder:p.zeniAccountList.createPopUpInfo.placeholder,style:{display:"flex",flexGrow:1,cursor:"inherit",height:n.sp7,textAlign:"left",width:"100%",background:rt(h.formState.errors,"checkingAccountNickName")===!0?s.importantLight:M.colors.grey5,border:`1px solid ${M.colors.grey2}`},registerOptions:{required:!0,validate:d=>!!d}})})})}):null,_e?t.jsx(X,{titleComponent:t.jsx(t.Fragment,{}),descriptionComponent:t.jsx(t.Fragment,{}),primaryButtonText:p.zeniAccountList.addFundsPopUpInfo.primaryButtonText,secondaryButtonText:p.zeniAccountList.addFundsPopUpInfo.secondaryButtonText,action:Ve,primaryButtonWidth:130,secondaryButtonWidth:130,containerStyle:{minWidth:352,maxWidth:544,width:"90%"},children:t.jsxs(io,{children:[t.jsx(st,{width:150,height:150,shouldDisplay:!0,animationInLoop:1,styles:{marginBottom:-n.sp4}}),t.jsx(ro,{children:p.zeniAccountList.addFundsPopUpInfo.title}),t.jsx(so,{children:p.zeniAccountList.addFundsPopUpInfo.description.replace("__rate__",Ze).replace("__amount__",ue)}),t.jsx(Gt,{transferAmount:5e5,currentAccountBalance:0,zeniAccountsConfigDetail:e.zeniAccountsConfig,minStep:.1,setTotalBalance:Re,setYieldEarned:Fe}),t.jsxs(ao,{children:[t.jsxs(lo,{children:[p.zeniAccountList.transferDrawer.calculator.footerText.annualYieldEarned,t.jsx(co,{children:G("0,0",{amount:Ee,currencySymbol:"$"})}),t.jsx(Ie,{variant:"small-description",maxWidth:"280px",data:p.zeniAccountList.transferDrawer.calculator.footerText.annualYieldEarnedTooltipText,display:"flex",placement:"left",children:t.jsx(uo,{})})]}),t.jsxs(po,{children:[p.zeniAccountList.transferDrawer.calculator.footerText.for,Intl.NumberFormat("en",{currency:"USD",notation:"compact",style:"currency",minimumFractionDigits:0}).format(Ne)]})]})]})}):null,De?t.jsx(X,{titleComponent:t.jsx(xe,{children:p.zeniAccountList.billPayupPopUpInfo.title}),descriptionComponent:t.jsx(ge,{children:p.zeniAccountList.billPayupPopUpInfo.description}),primaryButtonText:p.zeniAccountList.billPayupPopUpInfo.primaryButtonText,secondaryButtonText:p.zeniAccountList.billPayupPopUpInfo.secondaryButtonText,action:We,primaryButtonWidth:130,secondaryButtonWidth:130}):null,t.jsx(at,{title:p.zeniAccountList.tabsById.zeniAccounts,onBackClick:$,showMenuIcon:B==="medium-compact"||B==="small",backgroundColor:M.colors.grey4,style:{zIndex:3,..._.largeSemiBold.cssObject},rightSideComponent:Je,onClickMenuIcon:L,hideSearchBtn:!0,source:"ZeniAccountListViewPage"}),t.jsx(oo,{isLoading:e.fetchState==="In-Progress",children:t.jsx(ln,{zeniAccountsConfigDetail:e.zeniAccountsConfig,zeniAccountListView:e,onZeniAccountRowClick:Ge,onAddFundClick:f,handleAddInternalAccountClick:()=>{i.trackAccountsListPageClicked("Add Business Account"),H(!0)},analytics:i,onReloadTransactions:a,maxInsuredAmountString:ue,onTreasuryGetStartedClick:I,treasuryYieldPercentage:v,treasuryInsuredAmount:b,showTreasuryPromo:j,isCheckingCommentingEnabled:r})})]}),qe=`dashboard_${Y.currentTenant?.companyId}`,He=c.useMemo(()=>({sharedFunctions:{subtreeFunctions:l},sharedRef:void 0}),[l]);return r?t.jsxs(ct,{sharedItems:He,children:[me,t.jsx(eo,{roomId:qe,threadData:E,isThreadsOpen:J,onClose:()=>F(!1),onThreadClick:q,backgroundColor:M.colors.background})]}):me},no=o.div`
392
+ `,Jn=ce.getLocalizedStrings(),{common:ae,spendManagement:{zeniAccounts:p},collaboration:{threads:{placeholder:{addANewComment:qn,replyAComment:Hn},tooltip:{resolveComment:Kn,unResolveComment:Qn}}}}=Jn,Xn={drawerSectionPaddingLeftRight:new S(g[4],g[5])},eo=({roomId:e,threadData:i,isThreadsOpen:u,onClose:m,onThreadClick:r,backgroundColor:k})=>{const $=V();return!u||i?.groupId==null||i.groupId===""?null:t.jsx(Dt,{id:e,children:t.jsx(to,{threadData:i,isThreadsOpen:u,onClose:m,onThreadClick:r,windowSize:$,backgroundColor:k})})},to=({threadData:e,isThreadsOpen:i,onClose:u,onThreadClick:m,windowSize:r,backgroundColor:k})=>{const $=W(),C=c.useMemo(()=>({application:"dashboard",companyId:$.currentTenant?.companyId,tab:"checking",groupId:e?.groupId,isGlobalComment:!1}),[$.currentTenant?.companyId,e?.groupId]),{threads:A,isLoading:y}=jt({filter:C});return t.jsx(At,{isDrawerOpen:i,allowComposer:!1,drawerTitle:ae.texts.comments,threads:A,autoExpand:!0,autoFocus:!1,filter:{application:"dashboard",companyId:$.currentTenant?.companyId??ae.strings.empty,isGlobalComment:!1,tab:"checking"},isLoading:y,textOverrides:{composerPlaceholder:qn,replyComposerPlaceholder:Hn,threadResolve:Kn,threadUnResolve:Qn},onThreadClick:(a,z)=>m(a,z),onCloseAllThreadsDrawer:u,drawerSectionStyle:{width:r==="small"?"100%":"400px",boxSizing:r==="small"?"border-box":"content-box",padding:`${n.sp0} ${Xn.drawerSectionPaddingLeftRight.valuePx(r)}`,backgroundColor:k},collapsibleThreadStyle:{width:r==="small"?"100%":"360px"}})},Pe="checkingAccountCreation-form",So=({zeniAccountListView:e,analytics:i,maxInsuredAmount:u,isBillPayEnabled:m,isCheckingCommentingEnabled:r=!1,isExpressPayEnabled:k,onBackClick:$,onZeniAccountClick:C,onSettingsClick:A,handleMoveMoneyOptionSelection:y,onReloadTransactions:a,onCreateCheckingClick:z,onClickMenuIcon:L,onTreasuryGetStartedClick:I,showTreasuryPromo:j,treasuryYieldPercentage:v,treasuryInsuredAmount:b})=>{const B=V(),Y=W(),M=Ke(),{setRequestToOpenThread:R}=c.useContext(Qe),[E,Z]=c.useState(null),[J,F]=c.useState(!1),D=c.useCallback(d=>{Z({...d}),F(!0)},[]),q=c.useCallback((d,N)=>{F(!1),R({threadId:N,companyId:d.companyId,entityType:d.entityType});const he=d.groupId;he!=null&&C(he,E?.accountName??"")},[E?.accountName,C,R]),l=c.useMemo(()=>({openAllThreadsDrawer:D}),[D]),h=Xe({mode:"all"}),T=e.newCheckingAccount.fetchState,de=et(T);c.useEffect(()=>{de==="In-Progress"&&T==="Completed"&&(H(!1),K(!0),h.reset())},[de,T,h]);const[Me,H]=c.useState(!1),[_e,K]=c.useState(!1),[De,Q]=c.useState(!1),[Ee,Fe]=c.useState(0),[Ne,Re]=c.useState(0),Ge=(d,N)=>{C(d,N)},Oe={pageName:"listPage",onOptionSelection:d=>{d==="payBill"?(i.trackAccountsListPageClicked("Pay Someone"),Q(!0)):(d==="sendMoney"?i.trackSendMoneyClick():d==="checkDeposit"?i.trackAccountsListPageClicked("Deposit a Check"):d==="transfer"&&i.trackAccountsListPageClicked("Transfer Between Accounts"),y(d))}},Ue={onOkClick:()=>{},onCancelClick:()=>{i.trackAccountsListPageClicked("Add Business Account Cancel"),h.reset(),H(!1)}},Ve={onOkClick:()=>{const d=e.depositAccountsSelectorView.depositAccounts.find(N=>N.id===e.newCheckingAccount.accountId);i.trackAccountsListPageClicked("Add Business Account Add Funds"),y("transfer",d),K(!1)},onCancelClick:()=>{i.trackAccountsListPageClicked("Add Business Account Not Now"),K(!1)}},We={onOkClick:()=>{i.trackAccountsListPageClicked("Proceed on Bills pop up"),y("payBill"),Q(!1)},onCancelClick:()=>{i.trackAccountsListPageClicked("Not Now on Bills pop up"),Q(!1)}},Ye=h.handleSubmit(d=>{i.trackAccountsListPageClicked("Add Business Account Create"),z?.(d.checkingAccountNickName)}),pe=e.zeniAccountsConfig.zeniAccountsConfigDetail.depositProductConfig.depositProducts,Ze=pe[pe.length-1].annualPercentageYield.toString(),ue=tt(nt(u),u,ae.currency.currencySymbol).toUpperCase(),Je=t.jsx(Rt,{onSettingsClick:A,isBillPayEnabled:m,isExpressPayEnabled:k,zeniBankProps:Oe,analytics:i}),me=t.jsxs(no,{children:[Me?t.jsx(X,{titleComponent:t.jsx(xe,{children:p.zeniAccountList.createPopUpInfo.title}),descriptionComponent:t.jsx(ge,{children:p.zeniAccountList.createPopUpInfo.description}),primaryButtonText:p.zeniAccountList.createPopUpInfo.primaryButtonText,isLoading:e.newCheckingAccount.fetchState==="In-Progress",formId:Pe,secondaryButtonText:p.zeniAccountList.createPopUpInfo.secondaryButtonText,style:{background:s.overlayLight},action:Ue,children:t.jsx(ot,{...h,children:t.jsx("form",{id:Pe,onSubmit:Ye,style:{height:n.sp8,width:"80%",marginBottom:n.sp5},children:t.jsx(it,{type:"text",name:"checkingAccountNickName",placeholder:p.zeniAccountList.createPopUpInfo.placeholder,style:{display:"flex",flexGrow:1,cursor:"inherit",height:n.sp7,textAlign:"left",width:"100%",background:rt(h.formState.errors,"checkingAccountNickName")===!0?s.importantLight:M.colors.grey5,border:`1px solid ${M.colors.grey2}`},registerOptions:{required:!0,validate:d=>!!d}})})})}):null,_e?t.jsx(X,{titleComponent:t.jsx(t.Fragment,{}),descriptionComponent:t.jsx(t.Fragment,{}),primaryButtonText:p.zeniAccountList.addFundsPopUpInfo.primaryButtonText,secondaryButtonText:p.zeniAccountList.addFundsPopUpInfo.secondaryButtonText,action:Ve,primaryButtonWidth:130,secondaryButtonWidth:130,containerStyle:{minWidth:352,maxWidth:544,width:"90%"},children:t.jsxs(io,{children:[t.jsx(st,{width:150,height:150,shouldDisplay:!0,animationInLoop:1,styles:{marginBottom:-n.sp4}}),t.jsx(ro,{children:p.zeniAccountList.addFundsPopUpInfo.title}),t.jsx(so,{children:p.zeniAccountList.addFundsPopUpInfo.description.replace("__rate__",Ze).replace("__amount__",ue)}),t.jsx(Gt,{transferAmount:5e5,currentAccountBalance:0,zeniAccountsConfigDetail:e.zeniAccountsConfig,minStep:.1,setTotalBalance:Re,setYieldEarned:Fe}),t.jsxs(ao,{children:[t.jsxs(lo,{children:[p.zeniAccountList.transferDrawer.calculator.footerText.annualYieldEarned,t.jsx(co,{children:G("0,0",{amount:Ee,currencySymbol:"$"})}),t.jsx(Ie,{variant:"small-description",maxWidth:"280px",data:p.zeniAccountList.transferDrawer.calculator.footerText.annualYieldEarnedTooltipText,display:"flex",placement:"left",children:t.jsx(uo,{})})]}),t.jsxs(po,{children:[p.zeniAccountList.transferDrawer.calculator.footerText.for,Intl.NumberFormat("en",{currency:"USD",notation:"compact",style:"currency",minimumFractionDigits:0}).format(Ne)]})]})]})}):null,De?t.jsx(X,{titleComponent:t.jsx(xe,{children:p.zeniAccountList.billPayupPopUpInfo.title}),descriptionComponent:t.jsx(ge,{children:p.zeniAccountList.billPayupPopUpInfo.description}),primaryButtonText:p.zeniAccountList.billPayupPopUpInfo.primaryButtonText,secondaryButtonText:p.zeniAccountList.billPayupPopUpInfo.secondaryButtonText,action:We,primaryButtonWidth:130,secondaryButtonWidth:130}):null,t.jsx(at,{title:p.zeniAccountList.tabsById.zeniAccounts,onBackClick:$,showMenuIcon:B==="medium-compact"||B==="small",backgroundColor:M.colors.grey4,style:{zIndex:3,..._.largeSemiBold.cssObject},rightSideComponent:Je,onClickMenuIcon:L,hideSearchBtn:!0,source:"ZeniAccountListViewPage"}),t.jsx(oo,{isLoading:e.fetchState==="In-Progress",children:t.jsx(ln,{zeniAccountsConfigDetail:e.zeniAccountsConfig,zeniAccountListView:e,onZeniAccountRowClick:Ge,onAddFundClick:y,handleAddInternalAccountClick:()=>{i.trackAccountsListPageClicked("Add Business Account"),H(!0)},analytics:i,onReloadTransactions:a,maxInsuredAmountString:ue,onTreasuryGetStartedClick:I,treasuryYieldPercentage:v,treasuryInsuredAmount:b,showTreasuryPromo:j,isCheckingCommentingEnabled:r})})]}),qe=`dashboard_${Y.currentTenant?.companyId}`,He=c.useMemo(()=>({sharedFunctions:{subtreeFunctions:l},sharedRef:void 0}),[l]);return r?t.jsxs(ct,{sharedItems:He,children:[me,t.jsx(eo,{roomId:qe,threadData:E,isThreadsOpen:J,onClose:()=>F(!1),onThreadClick:q,backgroundColor:M.colors.background})]}):me},no=o.div`
393
393
  display: flex;
394
394
  min-height: 100%;
395
395
  flex-direction: column;
@@ -1,4 +1,4 @@
1
- import{ay as j,g6 as N,V as o,bq as _,ac as y,hg as m,hO as f,O as I,o as i,bV as z,hi as A}from"./index-aCBnCBoN.js";import{n as r}from"./mui-BosmckWV.js";import{bP as B}from"./zeni-epic-state-BNpJ2txa.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},s=new e.Error().stack;s&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[s]="785053f7-424a-4ce8-bc00-9263ae9469bd",e._sentryDebugIdIdentifier="sentry-dbid-785053f7-424a-4ce8-bc00-9263ae9469bd")}catch{}})();const n=I.getLocalizedStrings().spendManagement.zeniAccounts,b=[{value:"editNickName",label:n.moveMoney.editNickName},{value:"accountStatement",label:n.moveMoney.accountStatement}],h={value:"payBill",label:n.moveMoney.payBills},v={value:"transfer",label:n.moveMoney.transfer},M={value:"sendMoney",label:n.moveMoney.sendMoney,isNew:!0},x={value:"checkDeposit",label:n.moveMoney.checkDeposit},E=[h,v,M,x],L=[M,v,h,x],J=({zeniBankProps:e,isBillPayEnabled:s,isCheckingCommentingEnabled:p=!1,isExpressPayEnabled:$,isThreadsLoading:l=!1,analytics:k,onCommentIconClick:w,onSettingsClick:C,threadsCount:O=0})=>{const c=j(),d=c.loggedInUserRoleMap.deposit_accounts_user===!0||N(c),P=B(c.loggedInUserRoleMap),S=b.filter(t=>t.value==="accountStatement"),u=s===!0?E:L,g=$===!0?u:u.filter(t=>t.value!=="sendMoney"),D=P?g:g.filter(t=>t.value!=="payBill");return o.jsxs(U,{isTopAlign:e.pageName==="detailPage",children:[e.pageName==="detailPage"&&p===!0?o.jsxs(V,{isDisabled:l,"data-testid":y("zeni-checking-comment-button"),onClick:l?()=>null:t=>{t.preventDefault(),t.stopPropagation(),w?.()},children:[o.jsx(_,{count:l?void 0:O,isLoading:l,style:{left:"12px"}}),o.jsx(R,{})]}):null,e.pageName==="listPage"&&!d?o.jsx(T,{onClick:C,"data-testid":y("zeni-accounts-settings-button")}):e.pageName==="detailPage"&&o.jsx(m,{entity:"zeni_accounts",onOptionSelection:t=>{const a=f(t);a!=null&&e.onOptionSelection(a)},isMoreOption:!0,options:d?S:b,title:n.moveMoney.title,customStyleConfig:{container:t=>({...t,marginLeft:0})}}),d?null:o.jsx(m,{entity:"zeni_accounts",onOptionSelection:t=>{const a=f(t);a!=null&&e.onOptionSelection(a)},isMoreOption:!1,options:D,title:n.moveMoney.title,onMenuOpen:()=>k?.trackAccountsListPageClicked("Move Money")})]})},T=r(A)`
1
+ import{ay as _,g6 as j,V as o,bq as N,ac as y,hg as m,hO as f,O as I,o as i,bV as z,hi as A}from"./index-B8J3c9-k.js";import{n as c}from"./mui-B_fu8zAT.js";import{bP as B}from"./zeni-epic-state-SAYXyeZn.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},s=new e.Error().stack;s&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[s]="a67aa620-7c48-4746-8b0a-f1c62656f0c7",e._sentryDebugIdIdentifier="sentry-dbid-a67aa620-7c48-4746-8b0a-f1c62656f0c7")}catch{}})();const n=I.getLocalizedStrings().spendManagement.zeniAccounts,h=[{value:"editNickName",label:n.moveMoney.editNickName},{value:"accountStatement",label:n.moveMoney.accountStatement}],b={value:"payBill",label:n.moveMoney.payBills},v={value:"transfer",label:n.moveMoney.transfer},M={value:"sendMoney",label:n.moveMoney.sendMoney,isNew:!0},x={value:"checkDeposit",label:n.moveMoney.checkDeposit},E=[b,v,M,x],L=[M,v,b,x],H=({zeniBankProps:e,isBillPayEnabled:s,isCheckingCommentingEnabled:p=!1,isExpressPayEnabled:$,isThreadsLoading:l=!1,analytics:k,onCommentIconClick:w,onSettingsClick:C,threadsCount:O=0})=>{const r=_(),d=r.loggedInUserRoleMap.deposit_accounts_user===!0||j(r),P=B(r.loggedInUserRoleMap),S=h.filter(t=>t.value==="accountStatement"),u=s===!0?E:L,g=$===!0?u:u.filter(t=>t.value!=="sendMoney"),D=P?g:g.filter(t=>t.value!=="payBill");return o.jsxs(V,{isTopAlign:e.pageName==="detailPage",children:[e.pageName==="detailPage"&&p===!0?o.jsxs(K,{isDisabled:l,"data-testid":y("zeni-checking-comment-button"),onClick:l?()=>null:t=>{t.preventDefault(),t.stopPropagation(),w?.()},children:[o.jsx(N,{count:l?void 0:O,isLoading:l,style:{left:"12px"}}),o.jsx(R,{})]}):null,e.pageName==="listPage"&&!d?o.jsx(T,{onClick:C,"data-testid":y("zeni-accounts-settings-button")}):e.pageName==="detailPage"&&o.jsx(m,{entity:"zeni_accounts",onOptionSelection:t=>{const a=f(t);a!=null&&e.onOptionSelection(a)},isMoreOption:!0,options:d?S:h,title:n.moveMoney.title,customStyleConfig:{container:t=>({...t,marginLeft:0})}}),d?null:o.jsx(m,{entity:"zeni_accounts",onOptionSelection:t=>{const a=f(t);a!=null&&e.onOptionSelection(a)},isMoreOption:!1,options:D,title:n.moveMoney.title,onMenuOpen:()=>k?.trackAccountsListPageClicked("Move Money")})]})},T=c(A)`
2
2
  cursor: pointer;
3
3
  min-width: ${i.sp4};
4
4
  width: ${i.sp4};
@@ -7,12 +7,12 @@ import{ay as j,g6 as N,V as o,bq as _,ac as y,hg as m,hO as f,O as I,o as i,bV a
7
7
  &:hover {
8
8
  color: ${e=>e.theme.colors.primary};
9
9
  }
10
- `,U=r.div`
10
+ `,V=c.div`
11
11
  display: flex;
12
12
  flex-direction: row;
13
13
  align-items: ${({isTopAlign:e})=>e?"flex-start":"center"};
14
14
  gap: ${i.sp3};
15
- `,V=r.div`
15
+ `,K=c.div`
16
16
  display: flex;
17
17
  align-items: center;
18
18
  justify-content: center;
@@ -24,10 +24,10 @@ import{ay as j,g6 as N,V as o,bq as _,ac as y,hg as m,hO as f,O as I,o as i,bV a
24
24
  &:hover {
25
25
  color: ${e=>e.theme.colors.primary};
26
26
  }
27
- `,R=r(z)`
27
+ `,R=c(z)`
28
28
  display: flex;
29
29
  width: ${i.sp4};
30
30
  height: ${i.sp4};
31
31
  align-items: center;
32
32
  justify-content: center;
33
- `;export{J};
33
+ `;export{H as K};
@@ -1,4 +1,4 @@
1
- import{g as ae,e as v,aS as ce,ay as xe,g6 as me,V as i,bE as pe,fH as ue,n as he,o,cM as ge,as as O,a as D,ac as L,ag as j,O as _,c as we,a_ as z,aR as k,aV as Z,bA as je,x,d as A,cN as $e,aW as ye,bc as fe,u as W,N as $,M as C,ao as T,ah as Se}from"./index-aCBnCBoN.js";import{a as E}from"./sentry-DzaNjvx0.js";import{n}from"./mui-BosmckWV.js";import{M as B}from"./usp-line-BBd1wKwW-Bnk1sVWO.js";import"./liveblocks-CEY7tsth.js";import"./core-Cjh03OPu.js";import"./recharts-CimMNwCJ.js";import"./zeni-epic-state-BNpJ2txa.js";import"./lottie-BmLFYENY.js";import"./analytics-B_VWX-BQ.js";import"./lexical-9REae7LV.js";import"./utils-THjX-QSp.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},s=new e.Error().stack;s&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[s]="db33c209-5526-41be-9bea-405432fdc434",e._sentryDebugIdIdentifier="sentry-dbid-db33c209-5526-41be-9bea-405432fdc434")}catch{}})();const h={amountColumnHeight:new x(240,340),bankRectBoxHeight:new x(240,340),bankRectBoxMinWidth:new x(130,180),iconInnerColumnGap:new x(W[5],50),iconInnerRowMaxWidth:new x(291,414),midContainerGap:new x(0,0,0,W[11]),styledLogoHeight:new x(13,21),styledLogoWidth:new x(54,87)},I={insuredAmountStr:new $("extraSmallRegular","smallRegular"),title:new $("smallRegular","largeRegular"),uninsuredAmountStr:new $("largeRegular","h6Regular"),yAxisAmount:new $("h6Regular","extraSmallRegular")},be=n.div`
1
+ import{g as ae,e as v,aS as ce,ay as xe,g6 as me,V as i,bE as pe,fH as ue,n as he,o,cM as ge,as as O,a as D,ac as L,ag as j,O as _,c as we,a_ as z,aR as k,aV as Z,bA as je,x,d as A,cN as $e,aW as ye,bc as fe,u as W,N as $,M as C,ao as T,ah as Se}from"./index-B8J3c9-k.js";import{a as E}from"./sentry-xNvKSthz.js";import{n}from"./mui-B_fu8zAT.js";import{M as B}from"./usp-line-BBd1wKwW-Bx4ltDgD.js";import"./liveblocks-CN5hALk7.js";import"./core-C_RwbDgZ.js";import"./recharts-BkmpOx_p.js";import"./zeni-epic-state-SAYXyeZn.js";import"./lottie-B-zs781A.js";import"./analytics-TwdLweES.js";import"./lexical-DZ4skawM.js";import"./utils-4bW-VyLb.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},s=new e.Error().stack;s&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[s]="db33c209-5526-41be-9bea-405432fdc434",e._sentryDebugIdIdentifier="sentry-dbid-db33c209-5526-41be-9bea-405432fdc434")}catch{}})();const h={amountColumnHeight:new x(240,340),bankRectBoxHeight:new x(240,340),bankRectBoxMinWidth:new x(130,180),iconInnerColumnGap:new x(W[5],50),iconInnerRowMaxWidth:new x(291,414),midContainerGap:new x(0,0,0,W[11]),styledLogoHeight:new x(13,21),styledLogoWidth:new x(54,87)},I={insuredAmountStr:new $("extraSmallRegular","smallRegular"),title:new $("smallRegular","largeRegular"),uninsuredAmountStr:new $("largeRegular","h6Regular"),yAxisAmount:new $("h6Regular","extraSmallRegular")},be=n.div`
2
2
  display: flex;
3
3
  flex: 1 1 auto;
4
4
  min-height: 100%;
@@ -1,4 +1,4 @@
1
- import{g as be,e as we,aS as O,aa as Se,cQ as Ae,aX as L,V as t,fr as xe,d as Pe,x as p,bE as Ce,L as ke,ae as ve,fI as Te,e1 as Fe,fJ as Ie,by as Ve,aT as Ee,o as ze,fL as De,O as je,u as a,an as Ue}from"./index-aCBnCBoN.js";import{a as g}from"./sentry-DzaNjvx0.js";import{n as w}from"./mui-BosmckWV.js";import{g as Oe}from"./UploadAdditionalDocumentOverlay-eqwSLigx-Ci9eqDqb.js";import"./liveblocks-CEY7tsth.js";import"./core-Cjh03OPu.js";import"./recharts-CimMNwCJ.js";import"./zeni-epic-state-BNpJ2txa.js";import"./lottie-BmLFYENY.js";import"./analytics-B_VWX-BQ.js";import"./lexical-9REae7LV.js";import"./utils-THjX-QSp.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},f=new e.Error().stack;f&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[f]="022dab81-da10-4877-9d87-26945fe2be16",e._sentryDebugIdIdentifier="sentry-dbid-022dab81-da10-4877-9d87-26945fe2be16")}catch{}})();const c={titleWidth:new p(343,580,726,826),setupDetailsRowGap:new p(12,a[5],a[5]),sectionRowGap:new p(a[5],a[9],a[9]),iconWidthHeight:new p(20,a[4]),subTitlePaddingTop:new p(12,a[3]),subTitlePaddingBottom:new p(a[3],a[3]),overlayWidth:new p(100,100,59)},B="zeniAccountSetUpPage",v="payAccount",{common:Le,commonSetUp:R,spendManagement:Be}=je.getLocalizedStrings(),{zeniAccounts:W}=Be,{zeniAccountSetUp:V}=W,{setUp:E}=R,nt=({isDisabled:e,meetingUrl:f,zeniAccountSetUpView:l,analytics:d,connectedAccountProvider:s,filesEndPoint:Z,authParams:H,accountsPromoConfig:q,onFetchLinkTokenClick:N,onBackClick:M,onEnableZeniAccountClick:G,onUpdatePrimaryFundingAccount:J,onUpdateZeniAccountClick:Q,onBusinessVerificationSectionClick:X,onUpdatePaymentAccountStatus:K,onUpdatePaymentAccountLoginStatus:Y,onEstablishConnectionClick:ee,onEstablishConnectionSuccess:te,onClickMenuIcon:ne,onEnableZeniAccountSuccess:S,onEditFileName:ie,onDeleteFile:oe,updateFilesEntity:ce,onCompanyOfficerUpdated:ae,onSendForVerificationClick:se})=>{const A=be(),i=we(),[x,h]=g.useState(!1),{fetchState:y,companyBillPayInfo:z,isRefreshingViewInBackground:le,updateStatus:u,accountUpdateStatus:de,plaidConnectionDetails:ue,allBankAccounts:re,companyZeniAccountInfo:pe,selectedCompanyOfficer:o,primaryFundingAccount:m,allFundingAccounts:D}=l,j=O(y),P=O(u.fetchState),T=Se({mode:"all",reValidateMode:"onChange",defaultValues:g.useMemo(()=>_(l),[l]),values:_(l)}),fe=T.handleSubmit(b=>{d.trackEnableZeniAccounts(),G()}),me=async(b,k)=>{const n=k[v];if(b.includes(v)){if(b.includes("fundingAccount")){if(n.fundingAccount.selectedOption!=null&&m?.id!=n.fundingAccount.selectedOption){const r=D.find(I=>I.id===n.fundingAccount.selectedOption);r!=null&&J(n.fundingAccount.selectedOption,r.accType)}}else if(n.account.selectedOption!=null&&m?.id!=null&&m?.zeniAccountId!=n.account.selectedOption){const r=n.account.allOptions.find(I=>I.value===n.account.selectedOption);r!=null&&typeof r.label=="string"&&d.trackConnectBankLink(r.value,r.label,"zeni_accounts"),Q(n.account.selectedOption,m.id,m.accType)}}};g.useEffect(()=>{!x&&o?.additionalDocumentTypesRequestedForVerification.includes("social_security_card")===!0&&o.areAdditionalDocumentsRequestedForVerification&&!o.areAdditionalDocumentsSubmittedForVerification&&o.userVerificationStatus?.code==="require_info"&&h(!0),x&&j==="In-Progress"&&y==="Completed"&&h(!1)},[o,y,j]),g.useEffect(()=>{const b=T.watch((k,{name:n})=>{n!=null&&k!=null&&Ae(()=>me(n,k))});return()=>{b.unsubscribe()}}),g.useEffect(()=>{P==="In-Progress"&&u.fetchState==="Completed"&&S()},[S,P,u.fetchState]);const C=pe?.isZeniAccountEnabled===!0,F=z?.isBusinessVerified===!0,ge=y==="In-Progress"||y==="Not-Started";g.useEffect(()=>{P==="In-Progress"&&u.fetchState==="Completed"&&S()},[S,P,u.fetchState]);const he=F?R.setUp.setupVerifiedSubTitle:V.setupSubTitle,U=A.mode==="light"?new L(A.colors.brandColorJadeLight):new L(A.colors.brandColorJadeDark),ye=()=>{!x&&o?.additionalDocumentTypesRequestedForVerification.includes("social_security_card")===!0&&o.areAdditionalDocumentsRequestedForVerification&&!o.areAdditionalDocumentsSubmittedForVerification&&o.userVerificationStatus?.code==="require_info"?h(!0):X?.()};return t.jsxs($e,{children:[t.jsx(xe,{anchor:"right",PaperProps:{style:{width:c.overlayWidth.valuePercentage(i),boxShadow:"none"}},open:x,onClose:()=>h(!1),style:{backgroundColor:Pe.drawerBackground},transitionDuration:250,children:t.jsx(Oe,{authParams:H,filesEndPoint:Z,updateStatus:u,onEditFileName:ie,onDeleteFile:oe,updateFilesEntity:ce,companyOfficer:o,onClose:()=>h(!1),onCompanyOfficerUpdated:ae,onSendForVerificationClick:se})}),t.jsx(Ce,{title:V.setupTitle,backgroundColor:A.colors.grey4,style:{zIndex:3},onBackClick:M,showMenuIcon:!C&&(i==="medium-compact"||i==="small"),onClickMenuIcon:ne,source:"ZeniAccountSetupPage"}),t.jsxs(_e,{windowSize:i,children:[t.jsx(Re,{windowSize:i,children:he}),ge?t.jsx(We,{children:t.jsx(ke,{size:"ExtraLarge",start:!0})}):t.jsx(ve,{...T,children:t.jsx("form",{id:$(B),onSubmit:fe,children:t.jsxs(Ze,{windowSize:i,children:[t.jsx(Te,{onClick:ye,title:E.businessVerificationTitle,subTitle:E.businessVerificationSubTitle,header:E.businessVerificationHeader,icon:{element:t.jsx(Fe,{width:c.iconWidthHeight.valuePx(i),height:c.iconWidthHeight.valuePx(i)}),color:U},status:z?.businessVerificationStatus,isLoading:le,isActiveWhileLoading:!0}),t.jsx(Ie,{connectedAccountProvider:s,plaidConnectionDetails:ue,allBankAccounts:re,sectionId:v,isDisabled:e,header:W.accountSectionHeader,onFetchLinkTokenClick:N,onEstablishConnectionClick:ee,onUpdatePaymentAccountStatus:K,onUpdatePaymentAccountLoginStatus:Y,onEstablishConnectionSuccess:te,icon:{element:t.jsx(Ve,{width:c.iconWidthHeight.valuePx(i),height:c.iconWidthHeight.valuePx(i)}),color:U},analytics:d,productType:"zeni_accounts",primaryFundingAccount:m,isAccountsEnabled:C,allFundingAccounts:D,pageName:"Zeni Account Setup",accountsPromoConfig:q})]})})})]}),F&&!C?t.jsx(Ee,{formId:$(B),primaryBtn:{label:V.enableAccounts,style:{width:"auto",minWidth:i==="small"?"auto":"181px"},isLoading:u.fetchState==="In-Progress"||de.fetchState==="In-Progress",isDisabled:e!=null},showCancel:!1,cancelBtn:{label:Le.strings.empty},style:{padding:`12px ${ze.sp3}`}}):null,t.jsx(De,{isFooterRendered:F&&!C,meetingUrl:f,analytics:d,productType:"zeni_accounts"})]})},_=e=>{const{allBankAccounts:f,allFundingAccounts:l,primaryFundingAccount:d}=e;return{[v]:{fundingAccount:{selectedOption:d?.id,allOptions:l.map(s=>({label:s.label,value:s.id,isRecommended:s.accType==="depositAccount"}))},account:{selectedOption:d?.zeniAccountId,allOptions:f.map(s=>({label:s.accountName,value:s.accountId}))}}}},_e=w.div`
1
+ import{g as be,e as we,aS as O,aa as Se,cQ as Ae,aX as L,V as t,fr as xe,d as Pe,x as f,bE as Ce,L as ke,ae as ve,fI as Te,e1 as Fe,fJ as Ie,by as Ve,aT as Ee,o as ze,fL as De,O as je,u as a,an as Ue}from"./index-B8J3c9-k.js";import{a as g}from"./sentry-xNvKSthz.js";import{n as w}from"./mui-B_fu8zAT.js";import{g as Oe}from"./UploadAdditionalDocumentOverlay-DWmMz_8y-CvLWvP9X.js";import"./liveblocks-CN5hALk7.js";import"./core-C_RwbDgZ.js";import"./recharts-BkmpOx_p.js";import"./zeni-epic-state-SAYXyeZn.js";import"./lottie-B-zs781A.js";import"./analytics-TwdLweES.js";import"./lexical-DZ4skawM.js";import"./utils-4bW-VyLb.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},p=new e.Error().stack;p&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[p]="3ef6af3e-c658-4f03-afc3-a6757365a2f2",e._sentryDebugIdIdentifier="sentry-dbid-3ef6af3e-c658-4f03-afc3-a6757365a2f2")}catch{}})();const c={titleWidth:new f(343,580,726,826),setupDetailsRowGap:new f(12,a[5],a[5]),sectionRowGap:new f(a[5],a[9],a[9]),iconWidthHeight:new f(20,a[4]),subTitlePaddingTop:new f(12,a[3]),subTitlePaddingBottom:new f(a[3],a[3]),overlayWidth:new f(100,100,59)},B="zeniAccountSetUpPage",v="payAccount",{common:Le,commonSetUp:R,spendManagement:Be}=je.getLocalizedStrings(),{zeniAccounts:W}=Be,{zeniAccountSetUp:V}=W,{setUp:E}=R,nt=({isDisabled:e,meetingUrl:p,zeniAccountSetUpView:l,analytics:d,connectedAccountProvider:s,filesEndPoint:Z,authParams:H,accountsPromoConfig:q,onFetchLinkTokenClick:N,onBackClick:M,onEnableZeniAccountClick:G,onUpdatePrimaryFundingAccount:J,onUpdateZeniAccountClick:Q,onBusinessVerificationSectionClick:X,onUpdatePaymentAccountStatus:K,onUpdatePaymentAccountLoginStatus:Y,onEstablishConnectionClick:ee,onEstablishConnectionSuccess:te,onClickMenuIcon:ne,onEnableZeniAccountSuccess:S,onEditFileName:ie,onDeleteFile:oe,updateFilesEntity:ce,onCompanyOfficerUpdated:ae,onSendForVerificationClick:se})=>{const A=be(),i=we(),[x,h]=g.useState(!1),{fetchState:y,companyBillPayInfo:z,isRefreshingViewInBackground:le,updateStatus:u,accountUpdateStatus:de,plaidConnectionDetails:ue,allBankAccounts:re,companyZeniAccountInfo:fe,selectedCompanyOfficer:o,primaryFundingAccount:m,allFundingAccounts:D}=l,j=O(y),P=O(u.fetchState),T=Se({mode:"all",reValidateMode:"onChange",defaultValues:g.useMemo(()=>_(l),[l]),values:_(l)}),pe=T.handleSubmit(b=>{d.trackEnableZeniAccounts(),G()}),me=async(b,k)=>{const n=k[v];if(b.includes(v)){if(b.includes("fundingAccount")){if(n.fundingAccount.selectedOption!=null&&m?.id!=n.fundingAccount.selectedOption){const r=D.find(I=>I.id===n.fundingAccount.selectedOption);r!=null&&J(n.fundingAccount.selectedOption,r.accType)}}else if(n.account.selectedOption!=null&&m?.id!=null&&m?.zeniAccountId!=n.account.selectedOption){const r=n.account.allOptions.find(I=>I.value===n.account.selectedOption);r!=null&&typeof r.label=="string"&&d.trackConnectBankLink(r.value,r.label,"zeni_accounts"),Q(n.account.selectedOption,m.id,m.accType)}}};g.useEffect(()=>{!x&&o?.additionalDocumentTypesRequestedForVerification.includes("social_security_card")===!0&&o.areAdditionalDocumentsRequestedForVerification&&!o.areAdditionalDocumentsSubmittedForVerification&&o.userVerificationStatus?.code==="require_info"&&h(!0),x&&j==="In-Progress"&&y==="Completed"&&h(!1)},[o,y,j]),g.useEffect(()=>{const b=T.watch((k,{name:n})=>{n!=null&&k!=null&&Ae(()=>me(n,k))});return()=>{b.unsubscribe()}}),g.useEffect(()=>{P==="In-Progress"&&u.fetchState==="Completed"&&S()},[S,P,u.fetchState]);const C=fe?.isZeniAccountEnabled===!0,F=z?.isBusinessVerified===!0,ge=y==="In-Progress"||y==="Not-Started";g.useEffect(()=>{P==="In-Progress"&&u.fetchState==="Completed"&&S()},[S,P,u.fetchState]);const he=F?R.setUp.setupVerifiedSubTitle:V.setupSubTitle,U=A.mode==="light"?new L(A.colors.brandColorJadeLight):new L(A.colors.brandColorJadeDark),ye=()=>{!x&&o?.additionalDocumentTypesRequestedForVerification.includes("social_security_card")===!0&&o.areAdditionalDocumentsRequestedForVerification&&!o.areAdditionalDocumentsSubmittedForVerification&&o.userVerificationStatus?.code==="require_info"?h(!0):X?.()};return t.jsxs($e,{children:[t.jsx(xe,{anchor:"right",PaperProps:{style:{width:c.overlayWidth.valuePercentage(i),boxShadow:"none"}},open:x,onClose:()=>h(!1),style:{backgroundColor:Pe.drawerBackground},transitionDuration:250,children:t.jsx(Oe,{authParams:H,filesEndPoint:Z,updateStatus:u,onEditFileName:ie,onDeleteFile:oe,updateFilesEntity:ce,companyOfficer:o,onClose:()=>h(!1),onCompanyOfficerUpdated:ae,onSendForVerificationClick:se})}),t.jsx(Ce,{title:V.setupTitle,backgroundColor:A.colors.grey4,style:{zIndex:3},onBackClick:M,showMenuIcon:!C&&(i==="medium-compact"||i==="small"),onClickMenuIcon:ne,source:"ZeniAccountSetupPage"}),t.jsxs(_e,{windowSize:i,children:[t.jsx(Re,{windowSize:i,children:he}),ge?t.jsx(We,{children:t.jsx(ke,{size:"ExtraLarge",start:!0})}):t.jsx(ve,{...T,children:t.jsx("form",{id:$(B),onSubmit:pe,children:t.jsxs(Ze,{windowSize:i,children:[t.jsx(Te,{onClick:ye,title:E.businessVerificationTitle,subTitle:E.businessVerificationSubTitle,header:E.businessVerificationHeader,icon:{element:t.jsx(Fe,{width:c.iconWidthHeight.valuePx(i),height:c.iconWidthHeight.valuePx(i)}),color:U},status:z?.businessVerificationStatus,isLoading:le,isActiveWhileLoading:!0}),t.jsx(Ie,{connectedAccountProvider:s,plaidConnectionDetails:ue,allBankAccounts:re,sectionId:v,isDisabled:e,header:W.accountSectionHeader,onFetchLinkTokenClick:N,onEstablishConnectionClick:ee,onUpdatePaymentAccountStatus:K,onUpdatePaymentAccountLoginStatus:Y,onEstablishConnectionSuccess:te,icon:{element:t.jsx(Ve,{width:c.iconWidthHeight.valuePx(i),height:c.iconWidthHeight.valuePx(i)}),color:U},analytics:d,productType:"zeni_accounts",primaryFundingAccount:m,isAccountsEnabled:C,allFundingAccounts:D,pageName:"Zeni Account Setup",accountsPromoConfig:q})]})})})]}),F&&!C?t.jsx(Ee,{formId:$(B),primaryBtn:{label:V.enableAccounts,style:{width:"auto",minWidth:i==="small"?"auto":"181px"},isLoading:u.fetchState==="In-Progress"||de.fetchState==="In-Progress",isDisabled:e!=null},showCancel:!1,cancelBtn:{label:Le.strings.empty},style:{padding:`12px ${ze.sp3}`}}):null,t.jsx(De,{isFooterRendered:F&&!C,meetingUrl:p,analytics:d,productType:"zeni_accounts"})]})},_=e=>{const{allBankAccounts:p,allFundingAccounts:l,primaryFundingAccount:d}=e;return{[v]:{fundingAccount:{selectedOption:d?.id,allOptions:l.map(s=>({label:s.label,value:s.id,isRecommended:s.accType==="depositAccount"}))},account:{selectedOption:d?.zeniAccountId,allOptions:p.map(s=>({label:s.accountName,value:s.accountId}))}}}},_e=w.div`
2
2
  display: flex;
3
3
  justify-content: flex-start;
4
4
  height: 100%;
@@ -1 +1 @@
1
- import{O as f,V as t}from"./index-aCBnCBoN.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},n=new e.Error().stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="95ede5fb-a27f-463c-8f5d-82f8175cf6cb",e._sentryDebugIdIdentifier="sentry-dbid-95ede5fb-a27f-463c-8f5d-82f8175cf6cb")}catch{}})();function o(){const e=new Date().getFullYear(),n=f.getLocalizedStrings().common.zeniIncText.replace("__year__",e.toString());return t.jsx(t.Fragment,{children:n})}export{o as a};
1
+ import{O as f,V as t}from"./index-B8J3c9-k.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},n=new e.Error().stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="95ede5fb-a27f-463c-8f5d-82f8175cf6cb",e._sentryDebugIdIdentifier="sentry-dbid-95ede5fb-a27f-463c-8f5d-82f8175cf6cb")}catch{}})();function o(){const e=new Date().getFullYear(),n=f.getLocalizedStrings().common.zeniIncText.replace("__year__",e.toString());return t.jsx(t.Fragment,{children:n})}export{o as a};
@@ -1,4 +1,4 @@
1
- import{V as f,ac as z,o as i,d as j,ak as Y,O as E}from"./index-aCBnCBoN.js";import{a as w}from"./sentry-DzaNjvx0.js";import{n as m}from"./mui-BosmckWV.js";(function(){try{var t=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},g=new t.Error().stack;g&&(t._sentryDebugIds=t._sentryDebugIds||{},t._sentryDebugIds[g]="66ab9126-ffd7-4542-9d0f-262a9d06b6fc",t._sentryDebugIdIdentifier="sentry-dbid-66ab9126-ffd7-4542-9d0f-262a9d06b6fc")}catch{}})();const I=E.getLocalizedStrings().spendManagement.zeniAccounts.zeniAccountList;function Q({zeniAccountsConfigDetail:t,transferAmount:g,minStep:l,currentAccountBalance:y,setYieldEarned:$,setTotalBalance:x}){const[c,k]=w.useState(0),{depositProductConfig:h}=t.zeniAccountsConfigDetail,d=w.useMemo(()=>h?.depositProducts!=null?h?.depositProducts.map(e=>e.annualPercentageYield):[],[h?.depositProducts]),n=w.useMemo(()=>h?.depositProducts!=null?h?.depositProducts.map(e=>{const[r,o]=e.range;return o==null&&r!=null?r+25e5:o??0}):[],[h?.depositProducts]),S=e=>{const r=parseFloat(e.target.value),{returnedYield:o,totalAmount:p}=D(r);k(r),$(o),x(p)},T=e=>`${C(e)}${I.transferDrawer.calculator.sliderTooltipText}`,C=e=>e===0?d[0]:e>0&&e<1?d[1]:e>=1&&e<2?d[2]:e>=2&&e<3?d[3]:d[4],D=e=>{const r=C(e),[o,p]=e.toLocaleString().split(".",2).map(a=>parseInt(a));if(e>=0&&e<1){const a=(n[1]-n[0])*l,s=n[o]+a*(p??0);return{returnedYield:b(s,r),totalAmount:s}}else if(e>=1&&e<2){const a=(n[2]-n[1])*l,s=n[o]+a*(p??0);return{returnedYield:b(s,r),totalAmount:s}}else if(e>=2&&e<3){const a=(n[3]-n[2])*l,s=n[o]+a*(p??0);return{returnedYield:b(s,r),totalAmount:s}}else if(e>=3&&e<4){const a=(n[4]-n[3])*l,s=n[o]+a*(p??0);return{returnedYield:b(s,r),totalAmount:s}}else return{returnedYield:b(5e6,r),totalAmount:5e6}},M=e=>{const{returnedYield:r,totalAmount:o}=D(e);k(e),x(o),$(r)},v=w.useCallback((e,r,o,p)=>{let a=0,s=0,P=0,A=0;if(e<o[0])a=r[0];else{for(let u=0;u<o.length-1;u++)if(e>=o[u]&&e<o[u+1]){a=r[u+1],s=(o[u+1]-o[u])*p,P=e-o[u],A=P/s*p+u;break}e>=o[o.length-1]&&(a=r[r.length-1],A=o.length-1)}k(A),$(b(e,a))},[$]);return w.useEffect(()=>{const e=g+y;x(e),v(e,d,n,l)},[g,y,x,d,l,$,n,v]),f.jsxs(F,{sliderValue:c,children:[f.jsx(_,{sliderValue:c,type:"range",min:0,max:d.length-1,step:l,value:c,onChange:S}),f.jsx(O,{style:{width:`calc(${c/(d.length-1)*100}% - ${c*7.5}px)`}}),f.jsx(X,{sliderValue:c,style:{left:`calc(${c/(d.length-1)*100}% - ${c*10+20}px)`},children:T(c)}),f.jsx(B,{children:n.map((e,r)=>f.jsx(H,{onClick:()=>M(r),"data-testid":z("slider-label",e.toString()),style:{left:V(r)},children:f.jsx(N,{isSelected:c>=r,children:L(e)})},r))})]})}const b=(t,g)=>{const l=g/100,y=t*Math.pow(1+l/12,12);return Math.floor(y-t)},V=t=>{switch(t){case 0:return"3%";case 1:return"28%";case 2:return"50.2%";case 3:return"74.5%";case 4:return"98%";default:return"100%"}},L=t=>t===25e4?`<${Intl.NumberFormat("en",{notation:"compact"}).format(t)}`:t===5e6?I.transferDrawer.calculator.greaterThanTwoAndHalfMillion:Intl.NumberFormat("en",{notation:"compact"}).format(t),_=m.input`
1
+ import{V as f,ac as z,o as i,d as j,ak as Y,O as E}from"./index-B8J3c9-k.js";import{a as w}from"./sentry-xNvKSthz.js";import{n as m}from"./mui-B_fu8zAT.js";(function(){try{var t=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},g=new t.Error().stack;g&&(t._sentryDebugIds=t._sentryDebugIds||{},t._sentryDebugIds[g]="66ab9126-ffd7-4542-9d0f-262a9d06b6fc",t._sentryDebugIdIdentifier="sentry-dbid-66ab9126-ffd7-4542-9d0f-262a9d06b6fc")}catch{}})();const I=E.getLocalizedStrings().spendManagement.zeniAccounts.zeniAccountList;function Q({zeniAccountsConfigDetail:t,transferAmount:g,minStep:l,currentAccountBalance:y,setYieldEarned:$,setTotalBalance:x}){const[c,k]=w.useState(0),{depositProductConfig:h}=t.zeniAccountsConfigDetail,d=w.useMemo(()=>h?.depositProducts!=null?h?.depositProducts.map(e=>e.annualPercentageYield):[],[h?.depositProducts]),n=w.useMemo(()=>h?.depositProducts!=null?h?.depositProducts.map(e=>{const[r,o]=e.range;return o==null&&r!=null?r+25e5:o??0}):[],[h?.depositProducts]),S=e=>{const r=parseFloat(e.target.value),{returnedYield:o,totalAmount:p}=D(r);k(r),$(o),x(p)},T=e=>`${C(e)}${I.transferDrawer.calculator.sliderTooltipText}`,C=e=>e===0?d[0]:e>0&&e<1?d[1]:e>=1&&e<2?d[2]:e>=2&&e<3?d[3]:d[4],D=e=>{const r=C(e),[o,p]=e.toLocaleString().split(".",2).map(a=>parseInt(a));if(e>=0&&e<1){const a=(n[1]-n[0])*l,s=n[o]+a*(p??0);return{returnedYield:b(s,r),totalAmount:s}}else if(e>=1&&e<2){const a=(n[2]-n[1])*l,s=n[o]+a*(p??0);return{returnedYield:b(s,r),totalAmount:s}}else if(e>=2&&e<3){const a=(n[3]-n[2])*l,s=n[o]+a*(p??0);return{returnedYield:b(s,r),totalAmount:s}}else if(e>=3&&e<4){const a=(n[4]-n[3])*l,s=n[o]+a*(p??0);return{returnedYield:b(s,r),totalAmount:s}}else return{returnedYield:b(5e6,r),totalAmount:5e6}},M=e=>{const{returnedYield:r,totalAmount:o}=D(e);k(e),x(o),$(r)},v=w.useCallback((e,r,o,p)=>{let a=0,s=0,P=0,A=0;if(e<o[0])a=r[0];else{for(let u=0;u<o.length-1;u++)if(e>=o[u]&&e<o[u+1]){a=r[u+1],s=(o[u+1]-o[u])*p,P=e-o[u],A=P/s*p+u;break}e>=o[o.length-1]&&(a=r[r.length-1],A=o.length-1)}k(A),$(b(e,a))},[$]);return w.useEffect(()=>{const e=g+y;x(e),v(e,d,n,l)},[g,y,x,d,l,$,n,v]),f.jsxs(F,{sliderValue:c,children:[f.jsx(_,{sliderValue:c,type:"range",min:0,max:d.length-1,step:l,value:c,onChange:S}),f.jsx(O,{style:{width:`calc(${c/(d.length-1)*100}% - ${c*7.5}px)`}}),f.jsx(X,{sliderValue:c,style:{left:`calc(${c/(d.length-1)*100}% - ${c*10+20}px)`},children:T(c)}),f.jsx(B,{children:n.map((e,r)=>f.jsx(H,{onClick:()=>M(r),"data-testid":z("slider-label",e.toString()),style:{left:V(r)},children:f.jsx(N,{isSelected:c>=r,children:L(e)})},r))})]})}const b=(t,g)=>{const l=g/100,y=t*Math.pow(1+l/12,12);return Math.floor(y-t)},V=t=>{switch(t){case 0:return"3%";case 1:return"28%";case 2:return"50.2%";case 3:return"74.5%";case 4:return"98%";default:return"100%"}},L=t=>t===25e4?`<${Intl.NumberFormat("en",{notation:"compact"}).format(t)}`:t===5e6?I.transferDrawer.calculator.greaterThanTwoAndHalfMillion:Intl.NumberFormat("en",{notation:"compact"}).format(t),_=m.input`
2
2
  width: 100%;
3
3
  &[type="range"]::-webkit-slider-runnable-track {
4
4
  height: 2px;