@zeniai/web-cockpit-ui 1.13.90-dev → 1.13.91-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 (244) hide show
  1. package/dist/assets/{ACHDetailsPage-ppaaVv4t-BnOUfoFz.js → ACHDetailsPage---jqahtW-HkPM6iNK.js} +1 -1
  2. package/dist/assets/{AIPerformancePage-brocrTLA-C9EDr2D4.js → AIPerformancePage-CqtdCyg8-Dj0j3-W5.js} +36 -36
  3. package/dist/assets/{AccountInfoPage-BkqXbGUJ-DXuI8tNZ.js → AccountInfoPage-Bj1CYa-r-6hrIafHf.js} +2 -2
  4. package/dist/assets/{AccountInfoPageContent-DOrQxiUF-2yx_ZhMt.js → AccountInfoPageContent-qqbfRfuR-DLDodhYL.js} +20 -20
  5. package/dist/assets/{AccountReconDetailsDrawerPage-i6rVi1gY-DVchfPsP.js → AccountReconDetailsDrawerPage-B4UwcNN9-Crki_oBL.js} +18 -18
  6. package/dist/assets/AccountRow-CPX-627p-B4ZaO0oz.js +298 -0
  7. package/dist/assets/{AccountsPromoCardStack-BvFE5A3N-C__nnIqn.js → AccountsPromoCardStack-DJRAw09x-KYhdIp34.js} +26 -26
  8. package/dist/assets/{AddAddressForCardDrawer-BV2BSzaD-CBI5bfsC.js → AddAddressForCardDrawer-C16ksTIf-_DtEs9T5.js} +1 -1
  9. package/dist/assets/{AddToWalletPage-DTEIuDRq-CzKzLxkn.js → AddToWalletPage-CDP1oPrv-D581H1KG.js} +18 -18
  10. package/dist/assets/{AgingReportsPage-B8iVxaQX-z0eVPQ8X.js → AgingReportsPage-BE4plS7V-BI8-4bNE.js} +7 -7
  11. package/dist/assets/{AllUserItems-BepRyHp7-6smxMTUs.js → AllUserItems-hoI2_gnV-BVf131yZ.js} +8 -8
  12. package/dist/assets/{ApAgingDetailPage-DOObMUqB-DRL-pTDS.js → ApAgingDetailPage-Lxprtz8c-v17bsYA_.js} +3 -3
  13. package/dist/assets/{AppBasePage-Ob8EkU54-B4IzJNVZ.js → AppBasePage-DNOkJf4q-CMKV9Zw9.js} +1 -1
  14. package/dist/assets/{AppDrawerContent-CNsKktFP-oEQQGdma.js → AppDrawerContent-DG2Jr298-DulxRmba.js} +10 -10
  15. package/dist/assets/{ApprovalRulesSettingsPage-Bn7LOelK-C_JBTy7y.js → ApprovalRulesSettingsPage-DnKXln0A-Dwcdgf1j.js} +6 -6
  16. package/dist/assets/{ArAgingChart-C0hTtEmV-Cp3DCSeq.js → ArAgingChart-BRcy3--o-CqONheoM.js} +7 -7
  17. package/dist/assets/{ArAgingDetailPage-C_E_xPwf-CoqFi7sc.js → ArAgingDetailPage-Djsocm6M-DY45zDqC.js} +3 -3
  18. package/dist/assets/{AttachmentView-CATl3tNf-DCa2zXLn.js → AttachmentView-C3AzH7cN-Csi7tXqw.js} +8 -8
  19. package/dist/assets/{BankAccountSection-VSbZyxoY-BkprL32R.js → BankAccountSection-6zosSfPV-CL3CT6a1.js} +4 -4
  20. package/dist/assets/{BankAccountWarningSection-a39s142r-4WcZfRoK.js → BankAccountWarningSection-CWeN3me0-QfeSw0RL.js} +6 -6
  21. package/dist/assets/{BankConnectionsSettingsPage-CBavGNdc-DWKqHO49.js → BankConnectionsSettingsPage-C6e0pgD4-B1leagLf.js} +22 -22
  22. package/dist/assets/{BillDetailPage-uMG3JJPb-ClGgqpml.js → BillDetailPage-DyIokQbf-BaKgZbi4.js} +9 -9
  23. package/dist/assets/{BillPayApprovalRuleDetailPage-Bmrg1Wxh-CFroqaxM.js → BillPayApprovalRuleDetailPage-BOhQfwEj-CAExLIKt.js} +2 -2
  24. package/dist/assets/{BillPayApprovalRulesPage-BN21qPTb-BwOgIMfY.js → BillPayApprovalRulesPage-CSua3b4v-Cw1EavO3.js} +7 -7
  25. package/dist/assets/{BillPayPromoPage-DoP2oC8W-D-cHzeZ4.js → BillPayPromoPage-CtenNypw-CjfButz0.js} +1 -1
  26. package/dist/assets/{BillPaySetUpPage-o-V-9aI5-DuW6yWFa.js → BillPaySetUpPage-CAnvQ_-Q-DJBEmdYy.js} +1 -1
  27. package/dist/assets/{BillingSettingsPage-CX-rbxzB-D5hgrymw.js → BillingSettingsPage-CjSAhEFl-tgXS9QLV.js} +4 -4
  28. package/dist/assets/{BillsBulkReviewDrawerPage-_qgURJjv-CemkDBxg.js → BillsBulkReviewDrawerPage-B62rj2kN-BUJLVUNP.js} +1 -1
  29. package/dist/assets/{BoxItem-CHPfWPEF-lXs1y6iB.js → BoxItem-Cqmd_7h4-S5g5H_Jr.js} +1 -1
  30. package/dist/assets/BusinessVerificationPage-DT24fycp-CWdqg83h.js +140 -0
  31. package/dist/assets/{CardNumberSubText-dxYfM6ph-B1OZ5t3N.js → CardNumberSubText-DszoXtgg-ySKglJLN.js} +1 -1
  32. package/dist/assets/{CashbackDetailPage-BfTC3IBm-BcRVF9pL.js → CashbackDetailPage-DAwARNZD-3Wx6cNnB.js} +13 -13
  33. package/dist/assets/{ChargeCardDetailPage-npqfreRG-D_PNn6ZE.js → ChargeCardDetailPage-BzbR-Z63-7lzvBesN.js} +40 -40
  34. package/dist/assets/{ChargeCardListPage-Dbx1ymB9-DiXO1BWI.js → ChargeCardListPage-DSOp7sFg-CW3N5mrs.js} +10 -10
  35. package/dist/assets/{ChargeCardListTable-qk9tQ6Kb-DR0FaH4k.js → ChargeCardListTable-BE4it4le-6GBRyFGt.js} +10 -10
  36. package/dist/assets/{ChargeCardPromoPage-CsItH2IC-BEXKS9-8.js → ChargeCardPromoPage-DOibcN9n-8P5nzLqn.js} +4 -4
  37. package/dist/assets/{ChargeCardSetupPage-D5LWY3-P-BB2kARlQ.js → ChargeCardSetupPage-Dm_N5oDM-BxIAhVV2.js} +2 -2
  38. package/dist/assets/{ChargeCardStatementsPage-vYbnt2WJ-CDBr97Hk.js → ChargeCardStatementsPage-Dhqs5CF4-Be58aAaq.js} +2 -2
  39. package/dist/assets/{ChargeCardUtils-k5Cmi_bM-xJoIL5jf.js → ChargeCardUtils-oF0M6Gmc-CWcylJdd.js} +1 -1
  40. package/dist/assets/{ChaseOverlay-DQz9r9Pp-Bwx2nGMD.js → ChaseOverlay-DPgGIuyV-JigHbzQk.js} +7 -7
  41. package/dist/assets/CheckDepositDrawerPage-DaaWfNin-BVXQpqWr.js +206 -0
  42. package/dist/assets/{CollapsableReportTable-Dp1985is-CgJ_JGJs.js → CollapsableReportTable-DMr2UDgH-cuAz2CYU.js} +29 -29
  43. package/dist/assets/{CompanyOfficerDetailsSection-CGewbsKm-DBM7Hns2.js → CompanyOfficerDetailsSection-B_cIues7-BNMnvkxE.js} +19 -19
  44. package/dist/assets/{CompanyPassportCard-Dp3a8GH8-qRGWLoZI.js → CompanyPassportCard-CHF83hfN-BGYNkzga.js} +2 -2
  45. package/dist/assets/{CompanyPassportPage-CS1LPj5f-CxHtTINk.js → CompanyPassportPage-C5W3KcDY-Bzodetvj.js} +29 -29
  46. package/dist/assets/CompleteProfile-MP9AF8Iu-CvhmGgEz.js +36 -0
  47. package/dist/assets/{ConfettiBurst-DX1P5VT_-C7tIIZfu.js → ConfettiBurst-DVT9EpwF-DHA9TDKH.js} +1 -1
  48. package/dist/assets/{CreateOrEditVendorPage-BL1BXGvy-Vx1XM-1z.js → CreateOrEditVendorPage-DVbYQaWM-DGXxCdMQ.js} +13 -13
  49. package/dist/assets/{CreditCardPaymentDrawerPage-D6-R3DiA-ByQ_c4QS.js → CreditCardPaymentDrawerPage-D2qT7vsE-Bf1M1_AV.js} +10 -10
  50. package/dist/assets/{CreditCardPaymentPlgSection-YcsIIUkG-C-zCY8ZF.js → CreditCardPaymentPlgSection-7cmMRTQm-CcPhomOR.js} +6 -6
  51. package/dist/assets/{CurrencySelectField-CH65s5Fc-DGotu77i.js → CurrencySelectField-ClhIJFVw-Cum1rEqk.js} +4 -4
  52. package/dist/assets/{CustomerOnboardingActivationPage-DCHbvIb1-4vnrfrOn.js → CustomerOnboardingActivationPage-D-Ihd-H0-BECSi6lI.js} +1 -1
  53. package/dist/assets/CustomerOnboardingContainerPage-C9jXmYuH-DO8DpQlg.js +1 -0
  54. package/dist/assets/{CustomerOnboardingDetailPageSkeleton-Cz40bZgg-6UjJ2BJ9.js → CustomerOnboardingDetailPageSkeleton-CUxNOK4z-Ch73W5CD.js} +11 -11
  55. package/dist/assets/{CustomerOnboardingNoStepsPage-DrbkKOBx-C5bbYFj1.js → CustomerOnboardingNoStepsPage-B9ts3Tla-CfVcbZOI.js} +4 -4
  56. package/dist/assets/CustomerOnboardingPage-DJbFeXms-BffeJFQv.js +107 -0
  57. package/dist/assets/{CustomerOnboardingProductSuitePage-DyGs61vw-DLcQ1dQj.js → CustomerOnboardingProductSuitePage-iSJtAhvu-CITklSrx.js} +5 -5
  58. package/dist/assets/{Dashboard-beLswUHx-XoTiAJKU.js → Dashboard-SKeHZ5QY-pKKhGZuT.js} +38 -38
  59. package/dist/assets/DashboardReportPage-3X6wpJL2-lEFYnnKZ.js +349 -0
  60. package/dist/assets/{DepositAccTransactionItem-CfAjG3HH-COwwc_MG.js → DepositAccTransactionItem-DJNio75H-BszNXL3v.js} +2 -2
  61. package/dist/assets/{DepositAccTransactionListPage-Cj1smNoP-CkdRHZge.js → DepositAccTransactionListPage-DTIjlF2l-BqgMCmPb.js} +3 -3
  62. package/dist/assets/{DocumentSecurityBanner-BRFFDueV-stK3q2uU.js → DocumentSecurityBanner-CVNWDvAg-ZZDqDElp.js} +1 -1
  63. package/dist/assets/DomesticWireDetailsPage-D-qwPVDs--Pww9UWD.js +21 -0
  64. package/dist/assets/{DownloadOverlay-Ly2ZesqA-D_S8bx9G.js → DownloadOverlay-BLj0xso_-BlktwxlM.js} +1 -1
  65. package/dist/assets/{DrawerPage-BFIdjtOJ-BFnTHlQb.js → DrawerPage-CEetzMMx-BQrlKpot.js} +3 -3
  66. package/dist/assets/{EditPeoplePage-BPHt33f5-DjZUh9aC.js → EditPeoplePage-DDUuO0Nh-opJ_tpA8.js} +8 -8
  67. package/dist/assets/{EditReimbursementDetailPage-DJ_qNQbh-D_aBh5FK.js → EditReimbursementDetailPage-CT8mqYr5-RAkBtvUB.js} +24 -24
  68. package/dist/assets/{EntityDetailPage-DZ9vXZci-DUGgDVnf.js → EntityDetailPage-DMh6o0bo-D9tSJvlK.js} +1 -1
  69. package/dist/assets/{EntitySummarySection-kCA6OJs0-CuvI5nJX.js → EntitySummarySection-tK_X4uAf-DnZqgJgW.js} +9 -9
  70. package/dist/assets/{ExpenseAutomationOverviewPage-B9K2qPQi-BcMuOXVi.js → ExpenseAutomationOverviewPage-CLUiYjKg-Cnf2er5n.js} +18 -18
  71. package/dist/assets/{ExpenseAutomationPage-LoGHiJzr-BnTXz0Ci.js → ExpenseAutomationPage-C9biTgak-CwmQJIGr.js} +82 -82
  72. package/dist/assets/{ExpressPayPage-B12NaLXN-CGW5-zDn.js → ExpressPayPage-DpAixmcQ-DHNO4VFc.js} +8 -8
  73. package/dist/assets/{FeaturePreviewPage-D9_aRmPj-CvnK2Uy2.js → FeaturePreviewPage-BohUqOFz-CnIenXNU.js} +2 -2
  74. package/dist/assets/{FollowStepsSection-BL8sM4vS-D6HNdi5Y.js → FollowStepsSection-BAUXUzTr-DcO_IUEM.js} +10 -10
  75. package/dist/assets/{GlobalReviewListPage-DONc_BXP-jngzyZ2P.js → GlobalReviewListPage-BxYHNkut-De1zroLC.js} +8 -8
  76. package/dist/assets/{HelpButton-khTPylkl-CEL7Boo7.js → HelpButton-8AQIbLQM-Dxn71Y7_.js} +2 -2
  77. package/dist/assets/{InformationCardStack-BtIMGsaQ-BRj2ZNHm.js → InformationCardStack-76GlZ-Bq-CtLoCld8.js} +4 -4
  78. package/dist/assets/{InsightsCardStack-lzduh7aO-Crnd4D-1.js → InsightsCardStack-CvOFi2Uu-JAhaDMUB.js} +9 -9
  79. package/dist/assets/{InsightsSection-q1QuO6Z4-1k_aUqAr.js → InsightsSection-DyF8JZIR-yy37hbXV.js} +3 -3
  80. package/dist/assets/{IntegrationsSettingsPage-CpnXcxlz-ANVTxCp5.js → IntegrationsSettingsPage-mys0-i40-D_Td3Eck.js} +4 -4
  81. package/dist/assets/{InternationalWireSwiftDetailsPage-BXBsK560-i2JR8sEk.js → InternationalWireSwiftDetailsPage-km4qEcXH-BDq6b8VU.js} +7 -7
  82. package/dist/assets/{InternationalWireVerificationPage-BrnMNFx7-CivrskR8.js → InternationalWireVerificationPage-DauhGM3c-CQuc_5ZL.js} +5 -5
  83. package/dist/assets/{InviteFormPage-DQTEQazA-CYIvBKP9.js → InviteFormPage-FSL8fEXT-Dygrs-_-.js} +16 -16
  84. package/dist/assets/{InvitePageListView-C7CaDCYN-kxX6EM5-.js → InvitePageListView-zaQ1xEHJ-BmXz06Jr.js} +27 -27
  85. package/dist/assets/{InvitePeoplePage-Ca0ZnNhV-4UVRRlzN.js → InvitePeoplePage-BNB36i8Y-COHEYzwz.js} +2 -2
  86. package/dist/assets/{InvoiceUploadSection-Cm7WlMIS-Ds7UwHT_.js → InvoiceUploadSection-FXrB92T6-JqJ7zAlH.js} +6 -6
  87. package/dist/assets/{IssueChargeCardPage-B7w3Xky1-CF1rLLIM.js → IssueChargeCardPage-D3cUp2DE-DFSG2B0F.js} +21 -21
  88. package/dist/assets/{LabeledAddressValue-B5Yv4nig-BmG4gsPH.js → LabeledAddressValue-BF6r800B-CeESX1Hz.js} +1 -1
  89. package/dist/assets/{LabeledAddressValueField-BODlYe8J-C_77UpWi.js → LabeledAddressValueField-DYelJL4d-Dl7kIpOx.js} +3 -3
  90. package/dist/assets/{LabeledControlledCheckBoxField-BBrHodlx-ajZwZw2T.js → LabeledControlledCheckBoxField-B2ATKJBH-CXyWx4Ub.js} +1 -1
  91. package/dist/assets/{LabeledCreatableSingleSelectField-DBovHkMc-D9D-7hZt.js → LabeledCreatableSingleSelectField-B9zUAA6L-1j60EBJE.js} +6 -6
  92. package/dist/assets/LabeledDocumentField-DORRl3DI-WSVu_B_9.js +41 -0
  93. package/dist/assets/LabeledDropDownFormattedTextField-FpRJ9tiX-Tiw-2EM1.js +59 -0
  94. package/dist/assets/{LabeledText-D0aPaE6r-DJ33Sqqy.js → LabeledText-C34I_iEo-DpYgVuJS.js} +2 -2
  95. package/dist/assets/{LabeledUserSingleSelectWithSubtitlesField-CO-Owx5--C5GcoA_6.js → LabeledUserSingleSelectWithSubtitlesField-B6aVL-fb-D9zCwLzE.js} +10 -10
  96. package/dist/assets/{LabeledZeniRolesDropDownField-CcfvYWTB-FOsQ-M0q.js → LabeledZeniRolesDropDownField-Caj0_1zM-DksZdels.js} +13 -13
  97. package/dist/assets/{LinkJETransactionPage-w2poqqTD-CRc8L88u.js → LinkJETransactionPage-DLmZGscZ-DAJUM85q.js} +12 -12
  98. package/dist/assets/{LowBalancePopup-BpFvPcb8-CmbXf1Gb.js → LowBalancePopup-ll1SesgY-BWe295aL.js} +7 -7
  99. package/dist/assets/{MagicLinkACHDetailsPage-DUyr5VX8-FvxaU41w.js → MagicLinkACHDetailsPage-DXzjYrdU-DXTf7zdI.js} +1 -1
  100. package/dist/assets/{MagicLinkDomesticWireDetailsPage-CTA58UoF-CRGjJqP9.js → MagicLinkDomesticWireDetailsPage-CUwp46Wf-CEU-wofA.js} +1 -1
  101. package/dist/assets/{MagicLinkInternationalWireDetailsPage-DDQqyw69-MTxSeQ4l.js → MagicLinkInternationalWireDetailsPage-B_h0EHoZ-5KHyZ3zZ.js} +1 -1
  102. package/dist/assets/{MagicLinkSuccessPage-CKKAWryZ-Cm8AQCr_.js → MagicLinkSuccessPage-BX4E-l5M-DUEIbM10.js} +1 -1
  103. package/dist/assets/{MagicLinkTitleSection-CvW_f4xF-BDkWHabu.js → MagicLinkTitleSection-DHe9TfVe-xOZGBQNN.js} +2 -2
  104. package/dist/assets/{MailingDetailsSection-Di5KwEqu-Di8UL6YK.js → MailingDetailsSection-D8CZart4-D1oBjzV1.js} +1 -1
  105. package/dist/assets/{MeetingCalenderPopup-6yyRBLYC-DflGa-2l.js → MeetingCalenderPopup-D4tz-H5i-CGIgOa91.js} +3 -3
  106. package/dist/assets/{Menu-BOh_KLZu-BrkD9kYL.js → Menu-C9u3eDJk-Dna4rH8W.js} +2 -2
  107. package/dist/assets/{MyBankConnectionsSettingsPage-BBQ0YN9M-BBihRuQw.js → MyBankConnectionsSettingsPage-DVp3h4c0-Cn5_bOe_.js} +11 -11
  108. package/dist/assets/{MyPendingActivationChargeCardListPage-DcXCxGj2-BY3uKh9u.js → MyPendingActivationChargeCardListPage-BTk8mY7B-BbdmJXam.js} +1 -1
  109. package/dist/assets/{MyProfileSettingsPage-D-lTTFuP-D9kDcE-6.js → MyProfileSettingsPage-BdcDAwKZ-DhDLZRJB.js} +9 -9
  110. package/dist/assets/{NavBarWithPicker-CNBOk06R-D8yiRwFQ.js → NavBarWithPicker-DbSWvh0o-1EJ8HziX.js} +4 -4
  111. package/dist/assets/{NavigationArrow-B15b66TT-B9hYIhnI.js → NavigationArrow-BP8cU19I-DuPgzuQR.js} +1 -1
  112. package/dist/assets/{NavigationDots-5fxvl-4e-BzJdpllk.js → NavigationDots-nvOimTil-Do5DUslv.js} +1 -1
  113. package/dist/assets/{NewGlobalMerchantPage-BeP4W8rj-Dwyu3Pw7.js → NewGlobalMerchantPage-D-imjD0M-pXdB0gKF.js} +6 -6
  114. package/dist/assets/{NoDataChart-edFKx0zh-DIp9-BoP.js → NoDataChart-VE4W-RUu-BjJTQpdm.js} +1 -1
  115. package/dist/assets/{NoDataTable-41nH5trW-Brapb7lv.js → NoDataTable-d0_62BR0-vyxhk2_b.js} +1 -1
  116. package/dist/assets/{NotFoundPage-CRVGi6Xn-BHvH8jL8.js → NotFoundPage-BydQGX11-BGoiJNRP.js} +4 -4
  117. package/dist/assets/{NotificationSettingsPage-CiVAtoGY-B9kZWOsO.js → NotificationSettingsPage-BIzaZFzy-BGkCXx1m.js} +6 -6
  118. package/dist/assets/NotificationsListConfig-DVBOQJZq-BcXyCFD3.js +1 -0
  119. package/dist/assets/{NotificationsPage-DuHUL5V8-CgYzIXTj.js → NotificationsPage-BdI4E6uL-DkzIMoYu.js} +29 -29
  120. package/dist/assets/{OpExByVendorPage-D611nXIC-CqyYyP4C.js → OpExByVendorPage-Dm90CRYi-fVB-9LNX.js} +5 -5
  121. package/dist/assets/{OverlayContainerPage-C0rUb6-5-DPaQcYgi.js → OverlayContainerPage-nhe7xtoR-BxI5uHKy.js} +1 -1
  122. package/dist/assets/{PandLWithForecastPage-Cqab0euB-dzseIlDa.js → PandLWithForecastPage-DhbFHH25-DsvGD_Sy.js} +7 -7
  123. package/dist/assets/{PaymentAccountSetupBillingAddressSection-Cvn1adQb-kbzfxjFm.js → PaymentAccountSetupBillingAddressSection-Debi_lWf-LBl6kVXa.js} +6 -6
  124. package/dist/assets/{PeoplePage-MCCZAx4z-BnV0pX_P.js → PeoplePage-BACu55RO-BN0ZZ-UI.js} +24 -24
  125. package/dist/assets/{PortfolioAllocationFormPage-Coa0Y4wN-CVL7-3BP.js → PortfolioAllocationFormPage-Cjz_E3BK-BKc2XOmG.js} +3 -3
  126. package/dist/assets/{PortfolioDetails-C9a0p99e-d06R_ouh.js → PortfolioDetails-CS2st-Mx-B7UFy1Ls.js} +8 -8
  127. package/dist/assets/{ProductsCarousel-B0fHKTa_-Bne7N-_V.js → ProductsCarousel-TB4uKZbg-BDTdHFcB.js} +9 -9
  128. package/dist/assets/{PromoBaseCards-BuCQJuXH-BcjVOmSJ.js → PromoBaseCards-BMPp9RNQ-B5wN89Pm.js} +5 -5
  129. package/dist/assets/{QBOConnectionDialog-D-vB9dbo--0kkpUah.js → QBOConnectionDialog-B1b1wGeq-OoIQ8fFk.js} +9 -9
  130. package/dist/assets/{QBOSetupSection-CfficE5p-nLwRVoqN.js → QBOSetupSection-Bj_y0Lo2-D2Jh1k_B.js} +7 -7
  131. package/dist/assets/{ReimbursementApprovalRuleDetailPage-Cg_pVsAh-Baq7EYkc.js → ReimbursementApprovalRuleDetailPage-Cz4RtqYb-BX1qPBal.js} +1 -1
  132. package/dist/assets/{ReimbursementApprovalRulesPage-Dg1b0lJP-YhAdGh62.js → ReimbursementApprovalRulesPage-DJlNT4Ov-DKT5YJKy.js} +20 -20
  133. package/dist/assets/ReimbursementDetailPage-BQiu7Gts-DqYEtmnq.js +314 -0
  134. package/dist/assets/{ReimbursementPromoPage-MQpz5nNE-CLg8Hqif.js → ReimbursementPromoPage-ppaPJby5-CiDmuDvG.js} +16 -16
  135. package/dist/assets/{ReimbursementSetUpPage-BRjWHns_-BSdXzytm.js → ReimbursementSetUpPage-B6mZrzQB-38calwmF.js} +8 -8
  136. package/dist/assets/{ReimbursementsBulkReviewDrawerPage-wPNRkXt8-DoNrAJRB.js → ReimbursementsBulkReviewDrawerPage-DS55QesG-DWNEdEIB.js} +1 -1
  137. package/dist/assets/{ReloadCard-D5woGDxx-DS9HJ3wy.js → ReloadCard-DDDYlCsI-BiE6_qfW.js} +5 -5
  138. package/dist/assets/ReportTableViewSelector-Bss4AtF1-D_wRO_1z.js +133 -0
  139. package/dist/assets/ReportsPage-C-g9588h-XLIvq5EO.js +120 -0
  140. package/dist/assets/{RevenueChart-CS0JmijO-BqFQGtoh.js → RevenueChart-DPkxzWaE-ClY8SeJE.js} +25 -25
  141. package/dist/assets/{ReviewDetailsPage-C7RbpKwU-C9iDaLL8.js → ReviewDetailsPage-CyF2YP3t-B_CfpE0G.js} +14 -14
  142. package/dist/assets/{ReviewOverlay-BwgzcM9d-CSY6hmMy.js → ReviewOverlay-AoSgYufX-BCA64ah8.js} +6 -6
  143. package/dist/assets/{RoleWithToolTip-DkeT6zjW-DmUDvRC_.js → RoleWithToolTip-aoWU03so-Bag-xDLs.js} +6 -6
  144. package/dist/assets/{ScheduleDetailsFixedAssetsPage-BzZkVg7T-c2tjnpKQ.js → ScheduleDetailsFixedAssetsPage-Bfj3vclV-biUqkJSS.js} +4 -4
  145. package/dist/assets/{ScheduleDetailsPage-DiXwmlk8-t0I7MASB.js → ScheduleDetailsPage-B30aUjKr-VuYOr4oZ.js} +3 -3
  146. package/dist/assets/{ScheduleSequenceTable-CSxFNhoR-D9UFT3Zm.js → ScheduleSequenceTable-CStdRSyQ-YS2LkHDs.js} +22 -22
  147. package/dist/assets/{ScreenRoutes-xLzXCTox.js → ScreenRoutes-DUx3gCGl.js} +1 -1
  148. package/dist/assets/{SetUpAccountSection-CdUpAzlt-4B1rLcGQ.js → SetUpAccountSection-nul4pyeP-CLCXvV9l.js} +103 -103
  149. package/dist/assets/{SetUpDefaultSection-D4FafmO5-CcuY4gpp.js → SetUpDefaultSection-ByW3h9zl-9i3uOw78.js} +8 -8
  150. package/dist/assets/{SignIn-CAmRcuqx-CXf8JU8h.js → SignIn-R1Rsh38G-8L0Hp_zM.js} +18 -18
  151. package/dist/assets/{SignInScreen-CEfXit7t.js → SignInScreen-BE18aJB0.js} +1 -1
  152. package/dist/assets/{SpendManagementListViewPage-DdpJprAd-BHEK7wRP.js → SpendManagementListViewPage-BqOQ7NY_-DhnClYVW.js} +4 -4
  153. package/dist/assets/{SpendManagementPerTabPage-D2Ri2q6S-BZOgnmqs.js → SpendManagementPerTabPage--2EC1Oz4-DclxNVvC.js} +36 -36
  154. package/dist/assets/{SpendManagementSection-CisJALAC-zKC9aL_a.js → SpendManagementSection-COMVry1E-CYzctw4v.js} +11 -11
  155. package/dist/assets/{SpendMgmtSetupAccountSection-DcJhhfdt-CSj4RU9Q.js → SpendMgmtSetupAccountSection-fV4qxxEy-ExRAZ_sL.js} +8 -8
  156. package/dist/assets/{StatementItem-BOq_DDMZ-VgE7gIr3.js → StatementItem-BksIBztP-GeqTXxSG.js} +5 -5
  157. package/dist/assets/{StatementsPage-C9WOCLSj-lgfYmMKh.js → StatementsPage-DnAoeqze-BOeXA5KM.js} +1 -1
  158. package/dist/assets/{StatusSwitcher-CofdCR_K-DYsfjilX.js → StatusSwitcher-b1A9RnRP-B052EzJ9.js} +4 -4
  159. package/dist/assets/{SubTabSwitcher-BPVG5BHS-C6Ng45Yx.js → SubTabSwitcher-CgJW4ZXd-DlWjeTn_.js} +1 -1
  160. package/dist/assets/{SummaryCard-D-me4TrL-C69v2luu.js → SummaryCard-sEKhcIH5-DRp31G9t.js} +1 -1
  161. package/dist/assets/TaskManagementPage-z5uvcy81-CPykjrgv.js +508 -0
  162. package/dist/assets/{TimeRangeSwitcher-BK7gGqaa-li6QV9p5.js → TimeRangeSwitcher-DQ-u6pKk-DC1xB5lv.js} +5 -5
  163. package/dist/assets/{TimeframeSwitcher-SD5_8TCp-DcEUsFuS.js → TimeframeSwitcher-B0yxn0SJ-CwNpTd2S.js} +5 -5
  164. package/dist/assets/TimeframeSwitcherWithToggle-BlbY3qcY-CLuOSbn2.js +31 -0
  165. package/dist/assets/{TopExCard-CDgcQKGp-G2-ryp7z.js → TopExCard-CTjfWfCk-CAtjOAda.js} +5 -5
  166. package/dist/assets/{TopExDetailPage-CXiEe14r-DrI7SLfC.js → TopExDetailPage-CdpvcVME-J1pxGIiS.js} +6 -6
  167. package/dist/assets/{TransactionDetailPage-IJyZF-Z_-ssTdABCq.js → TransactionDetailPage-DdF9FS4b-aUNjP2MS.js} +46 -46
  168. package/dist/assets/{TransactionList-C34ivmk5-BL7wpE6F.js → TransactionList-CHq3WONc-CDMTLkl_.js} +13 -13
  169. package/dist/assets/{TransactionListBig-qruiU0xy-4hBLzp6P.js → TransactionListBig-D-Gxd5n0-BYXDLjRx.js} +18 -18
  170. package/dist/assets/{TransactionListPage-C31U97xd-B7MDVBJ8.js → TransactionListPage-DK9-YK_1-jSebPnQW.js} +5 -5
  171. package/dist/assets/{TransactionVendorDetailPage-DZsvH-GM-CHoVBuA8.js → TransactionVendorDetailPage-Cc9pTpTw-dOPSJTMD.js} +6 -6
  172. package/dist/assets/{TransferDrawerPage-DC5q2Zpv-Bbx0ZiKK.js → TransferDrawerPage-DoDTECI8-BFP-sFPo.js} +33 -33
  173. package/dist/assets/{TreasuryOverviewPage-DSBqawrH--EJITXP0.js → TreasuryOverviewPage-wlfReqPJ-Dd6DjTk6.js} +14 -14
  174. package/dist/assets/{TreasuryPromoPage-D6WSBxgD-BYq_YoGm.js → TreasuryPromoPage-C9WNRb2_-Bv2i8EfH.js} +8 -8
  175. package/dist/assets/{TreasurySetupPage-BgSq4D0a-BeLJ_DJT.js → TreasurySetupPage-CjV0cOq9-BmP_R4PT.js} +2 -2
  176. package/dist/assets/{TreasuryStatementsPage-Dj9RAujO-BX1C5lYD.js → TreasuryStatementsPage-DqOWNGB_-hAvO09t_.js} +5 -5
  177. package/dist/assets/{TreasuryTaxLetterPage-Dw6tL_j9-BVOoGBCD.js → TreasuryTaxLetterPage-BWGHcQ-i-DCm4xllr.js} +4 -4
  178. package/dist/assets/{TreasuryTransferOrReviewPage-cBHznYnK-1UcbcZaf.js → TreasuryTransferOrReviewPage-CgL8K7N9-BrTZBU_c.js} +19 -19
  179. package/dist/assets/TrendChart-76tuu9Dr-DKqkCwBC.js +16 -0
  180. package/dist/assets/{TrendWithTransactions-BOGQK2Zt-itTZBsuV.js → TrendWithTransactions-B_fJTS4m-B4jhKCz-.js} +1 -1
  181. package/dist/assets/{UncategorizedAccountsMappingPage-Ci4VHOLB-CZTpXCGM.js → UncategorizedAccountsMappingPage-DpY1kK_K-CX5FrYpM.js} +7 -7
  182. package/dist/assets/{UnitIntegrationPage-DSMTzyKA-DnkdzVNG.js → UnitIntegrationPage-BTJI7fx3-B4TaSpvh.js} +1 -1
  183. package/dist/assets/{UploadAdditionalDocumentOverlay-CBpLz-gk-DUe20w1p.js → UploadAdditionalDocumentOverlay-BH3bRKoG-Cxr-sGAj.js} +1 -1
  184. package/dist/assets/{Vendor2FAPopup-Be7OBE4e-Cos9XGLx.js → Vendor2FAPopup-4-XtZDNS-BuVX3Yle.js} +1 -1
  185. package/dist/assets/{VendorACHDetailsPage-LvWgxsF7-BpMJ6WbJ.js → VendorACHDetailsPage-B2knDl4H-czLYWWIH.js} +1 -1
  186. package/dist/assets/{VendorDetailPage-C-qpa1GC-C0r4HDge.js → VendorDetailPage-w-tghGpI-CfkAuWGF.js} +17 -17
  187. package/dist/assets/{VendorDomesticWireDetailsPage-Ckoq2I8V-BwkAhyAi.js → VendorDomesticWireDetailsPage-BXCCdTjh-Di1QWV1S.js} +1 -1
  188. package/dist/assets/{VendorFiling1099EditablePage-WZMwLILQ-BqoTTIiC.js → VendorFiling1099EditablePage-DGQO9Qqj-CEOM5YEV.js} +7 -7
  189. package/dist/assets/{VendorFirstReviewPage-DNhp59d9-D_f9l4B9.js → VendorFirstReviewPage-Lblb6X1V-39fudz_L.js} +40 -40
  190. package/dist/assets/{VendorInternationalWireDetailsPage-DuP916gU-COYahX1d.js → VendorInternationalWireDetailsPage-Bi5RBKxI-CtyyMelR.js} +9 -9
  191. package/dist/assets/{VendorInternationalWireSwiftDetailsPage-BCIC6mrJ-BI-zVOHZ.js → VendorInternationalWireSwiftDetailsPage-CBZmsXnL-B-d0u1XS.js} +1 -1
  192. package/dist/assets/{VendorsAccountsSection-C4q6FPlB-C6cNo2_u.js → VendorsAccountsSection-JI0e3gKo-BI5thaS_.js} +4 -4
  193. package/dist/assets/{WarningsDrawerPage-C162biV8-pPVOEtpH.js → WarningsDrawerPage-BQzUQ5-l-D1cPDLUy.js} +5 -5
  194. package/dist/assets/{ZeniAccountDetailPage-C3NnXuFp-CXwXsDQ1.js → ZeniAccountDetailPage-DPJ4mWoO-D2fzjkqw.js} +29 -29
  195. package/dist/assets/{ZeniAccountListViewPage-Cn7rYnlu-DTOPnL32.js → ZeniAccountListViewPage-iHMJ7FU7-UZUihbgS.js} +23 -23
  196. package/dist/assets/ZeniAccountNavBarPieces-D1g1REsS-D07e9d9s.js +14 -0
  197. package/dist/assets/{ZeniAccountPromoPage-BGyyQP4l-B98KmCaD.js → ZeniAccountPromoPage-OxQ03DtJ-X6atYnaZ.js} +8 -8
  198. package/dist/assets/{ZeniAccountSetupPage-CIh0isMw-lFqJMWg0.js → ZeniAccountSetupPage-BahzDcmm-B-umC_Qa.js} +1 -1
  199. package/dist/assets/{ZeniCopyright-B83zWEf0-19q3_mPy.js → ZeniCopyright-Dpqdxu7f-CHOK6b2K.js} +1 -1
  200. package/dist/assets/{ZeniTransferAmountSlider-CPg3o4xG-BlMvJPot.js → ZeniTransferAmountSlider-DwC6pXnb-BgJArm45.js} +1 -1
  201. package/dist/assets/analytics-BSSiLa6f.js +7 -0
  202. package/dist/assets/{analyticsHelper-CD5PHV67.js → analyticsHelper-CPNSDy4Z.js} +1 -1
  203. package/dist/assets/{analyticsHelper-DlYWxxhD-DdeYfQh2.js → analyticsHelper-CZ8c8du5-Ber0nUBK.js} +1 -1
  204. package/dist/assets/{chartTypes-DueLK3Wl-B3lGAHMU.js → chartTypes-CWLOazD0-BCrBxX2L.js} +1 -1
  205. package/dist/assets/{commonDimensions-D4uH020E-szItJUN9.js → commonDimensions-Cg7EWgSP-ztBpKI_h.js} +1 -1
  206. package/dist/assets/{detailCommon-D5qKBZdS-CPasfcVD.js → detailCommon-Cp4eknjq-ClKRuZos.js} +7 -7
  207. package/dist/assets/{downloadPdf-s4pLtuS_-CF3EQD3j.js → downloadPdf-f3F0OqWf-DUwLrQQm.js} +1 -1
  208. package/dist/assets/{index-DoFw58Mw.js → index-Dq4DW5h0.js} +3324 -3326
  209. package/dist/assets/{liveblocks-sSQ9JElv.js → liveblocks-BUGn2yQ6.js} +1 -1
  210. package/dist/assets/{mapLoadingInProgressToTreeNode-M0QN8LkC-3yQrrz5g.js → mapLoadingInProgressToTreeNode-DCLD3rcY-_6B85me3.js} +1 -1
  211. package/dist/assets/{mapSectionWithAcOnlyToTreeNode-CrtVdHui-CnnfThO_.js → mapSectionWithAcOnlyToTreeNode-C-VOXE5I-ChyvQWp0.js} +1 -1
  212. package/dist/assets/{mapSpacerToTreeNode-yPPIJHBw-D3Gjllyb.js → mapSpacerToTreeNode-DlDwFA_F-CYv3KN_2.js} +1 -1
  213. package/dist/assets/{mapTimeframeBalancesToTreeNode-px916zpo-rIOc1Hnu.js → mapTimeframeBalancesToTreeNode-EEyJwCnX-HEZ0R9-O.js} +1 -1
  214. package/dist/assets/mui-BgvZYSo0.js +22 -0
  215. package/dist/assets/{play-icon-Bih37F_s-C73Mu05H.js → play-icon-CFa9Uibr-CaxUs2iQ.js} +3 -3
  216. package/dist/assets/{redux-ByjIRbhZ.js → redux-DmDqXYej.js} +1 -1
  217. package/dist/assets/{routing-Cpaypegg.js → routing-BNz5gZgX.js} +1 -1
  218. package/dist/assets/{toCOABalancesWithID-CAhfOfUa-CUvT0aen.js → toCOABalancesWithID-DT8-C5u1-CE-3jMAY.js} +1 -1
  219. package/dist/assets/{toChartData-BicnbT0F-BAKhPkjP.js → toChartData-63e3B91H-DoSBXci0.js} +1 -1
  220. package/dist/assets/{treasuryColorHelper-A_YlwvaQ-YLNVEYZe.js → treasuryColorHelper-BGGfolJy-B6Wl_Wly.js} +1 -1
  221. package/dist/assets/{uploadAttachment-DVoWdoWD-RtUqrYnb.js → uploadAttachment-YcPIDoZ--DIC1ZEM7.js} +19 -19
  222. package/dist/assets/{uploadReceipts-Buvz7DfG-XWftDYl6.js → uploadReceipts-BH9fi3Vt-CnyK0TMw.js} +1 -1
  223. package/dist/index.html +1 -1
  224. package/package.json +5 -5
  225. package/dist/assets/AccountRow-D9vDRsjv-uSOuzaD9.js +0 -298
  226. package/dist/assets/BusinessVerificationPage-YKJ-CZfb-BgJNO5ZA.js +0 -140
  227. package/dist/assets/CheckDepositDrawerPage-B1Qp-xbY-f-dhYQ0q.js +0 -206
  228. package/dist/assets/CompleteProfile-CJOsHnBa-DdCWBRuB.js +0 -36
  229. package/dist/assets/CustomerOnboardingContainerPage-X6X9Yc-9-D6pVLXm5.js +0 -1
  230. package/dist/assets/CustomerOnboardingPage-CIbBaMcO-Dqym0Rf2.js +0 -107
  231. package/dist/assets/DashboardReportPage-BM6TqjrJ-DQu7SOT2.js +0 -349
  232. package/dist/assets/DomesticWireDetailsPage-BZ8jSo8r-Dcvy9KUR.js +0 -21
  233. package/dist/assets/LabeledDocumentField-CIlbLPtO-DSLjsPoT.js +0 -41
  234. package/dist/assets/LabeledDropDownFormattedTextField-Dpt7UG-o-BPi_XfUF.js +0 -59
  235. package/dist/assets/NotificationsListConfig-BjItJJe9-l0BCgaPP.js +0 -1
  236. package/dist/assets/ReimbursementDetailPage-CE_jx7cM-DEw3OdDA.js +0 -314
  237. package/dist/assets/ReportTableViewSelector-Bc5xUtnG-pW3txVQ2.js +0 -150
  238. package/dist/assets/ReportsPage-J8DrZz78-Bf6sj4--.js +0 -120
  239. package/dist/assets/TaskManagementPage-BSmG6YR2-BRBZRYl9.js +0 -508
  240. package/dist/assets/TimeframeSwitcherWithToggle-BwvVsB_p-CoKIqOrx.js +0 -31
  241. package/dist/assets/TrendChart-dARoUu-T-CjrTnbAe.js +0 -16
  242. package/dist/assets/ZeniAccountNavBarPieces-DHYLxQKr-DoTCX7_F.js +0 -14
  243. package/dist/assets/analytics-DThoELaW.js +0 -7
  244. package/dist/assets/mui-C5LQ0bMa.js +0 -25
@@ -1,4 +1,4 @@
1
- import{X as ie,u as oe,M as te,C as c,g5 as w,ab as T,j as i,hl as g,hk as m,o as n,Q as re,g as ne,dw as se,w as le,p as a}from"./index-DoFw58Mw.js";import{n as l}from"./vendor-CnQcJ2Lu.js";const s={labelWidth:new c(270,340,350),sectionWidth:new c(343,580,726),iconContainerMaxWidthHeight:new c(a[6],a[7]),iconContainerMarginRight:new c(12,a[3]),iconPadding:new c(10,12),rowGap:new c(a[2],a[3]),elementsMarginLeftRight:new c(a[3],a[4]),controlWidth:n.sp6},k={title:new re("standardMedium","largeMedium")},de=l.div`
1
+ import{X as ie,u as oe,M as te,C as c,g6 as w,ab as L,j as i,hm as m,hl as g,o as n,Q as re,g as ne,dw as se,v as le,p as a}from"./index-Dq4DW5h0.js";import{n as l}from"./vendor-CnQcJ2Lu.js";const s={labelWidth:new c(270,340,350),sectionWidth:new c(343,580,726),iconContainerMaxWidthHeight:new c(a[6],a[7]),iconContainerMarginRight:new c(12,a[3]),iconPadding:new c(10,12),rowGap:new c(a[2],a[3]),elementsMarginLeftRight:new c(a[3],a[4]),controlWidth:n.sp6},P={title:new re("standardMedium","largeMedium")},de=l.div`
2
2
  display: flex;
3
3
  flex-direction: column;
4
4
  row-gap: ${e=>s.rowGap.valuePx(e.windowSize)};
@@ -27,7 +27,7 @@ import{X as ie,u as oe,M as te,C as c,g5 as w,ab as T,j as i,hl as g,hk as m,o a
27
27
  margin-bottom: ${n.sp0};
28
28
  `,ae=l.div`
29
29
  color: ${e=>e.theme.colors.primary};
30
- ${e=>`${k.title.style(e.windowSize)}`};
30
+ ${e=>`${P.title.style(e.windowSize)}`};
31
31
  `,S=l.div`
32
32
  display: flex;
33
33
  flex-direction: column;
@@ -45,7 +45,7 @@ import{X as ie,u as oe,M as te,C as c,g5 as w,ab as T,j as i,hl as g,hk as m,o a
45
45
  max-height: ${e=>s.iconContainerMaxWidthHeight.valuePx(e.windowSize)};
46
46
  margin-right: ${e=>s.iconContainerMarginRight.valuePx(e.windowSize)};
47
47
  `,$=l.div`
48
- ${e=>`${k.title.style(e.windowSize)}`};
48
+ ${e=>`${P.title.style(e.windowSize)}`};
49
49
  color: ${e=>e.theme.colors.primary};
50
50
  `,v=l(le)`
51
51
  color: ${e=>e.theme.colors.hero};
@@ -65,4 +65,4 @@ import{X as ie,u as oe,M as te,C as c,g5 as w,ab as T,j as i,hl as g,hk as m,o a
65
65
  background-color: ${e=>e.theme.colors.grey5};
66
66
  border: 1px solid ${e=>e.theme.colors.grey3};
67
67
  border-radius: ${n.sp2};
68
- `,z=(e,u)=>`${e}.${u}`;function xe({sectionId:e,vendorAccountMappingSection:u,isAccruedExpensesFeatureEnabled:L,showTitle:I=!0}){const r=ie(),d=oe(),{accruedExpensesAccountHierarchy:B,accruedExpensesAccountList:_,accruedExpensesRecommendations:E,fixedAssetsAccountHierarchy:O,fixedAssetsAccountList:M,fixedAssetsRecommendations:R,prepaidExpensesAccountHierarchy:W,prepaidExpensesAccountList:C,prepaidExpensesRecommendations:P,selectedAccruedExpensesAccountIds:F,selectedFixedAssetsAccountIds:V,selectedPrepaidExpensesAccountIds:q}=u,t=te.getLocalizedStrings().uncategorizedAccountsMapping,p=s.labelWidth.value(r),D=w(W,P,"Accounts"),H=w(O,R,"Accounts"),G=w(B,E,"Accounts"),J=P[0]?.account?.reason??"",Q=t.tooltip.replace("__based__",J).replace("__account__",t.vendorSection.prepaidExpenseAccount),N=R[0]?.account?.reason??"",X=t.tooltip.replace("__based__",N).replace("__account__",t.vendorSection.fixedAssetsAccount),K=E[0]?.account?.reason??"",U=t.tooltip.replace("__based__",K).replace("__account__",t.vendorSection.accruedExpensesAccount),Y=C.filter(o=>q.includes(o.accountId)??!1),Z=M.filter(o=>V.includes(o.accountId)??!1),ee=_.filter(o=>F.includes(o.accountId)??!1),x={valueContainer:o=>({...o,padding:`2px ${n.sp3}`,overflow:"unset"}),multiValue:o=>({...o,margin:0})},h=d.mode==="light"?new T(d.colors.brandColorJadeLight):new T(d.colors.brandColorJadeDark);return i.jsxs(de,{windowSize:r,children:[I?i.jsx(ae,{windowSize:r,children:t.vendorSection.heading}):null,i.jsxs(ce,{windowSize:r,children:[i.jsxs(f,{windowSize:r,children:[i.jsx(b,{windowSize:r,iconColor:h,isDarkMode:d.mode==="dark",children:i.jsx(y,{})}),i.jsxs(S,{children:[i.jsx($,{windowSize:r,children:t.vendorSection.prepaidExpenseTitle}),i.jsx(v,{children:t.vendorSection.prepaidExpenseSubTitle})]})]}),i.jsx(j,{children:i.jsx(A,{windowSize:r,children:i.jsx(g,{label:{label:t.vendorSection.prepaidExpenselabel,width:p},groupedMultiSelectField:{name:z(e,"prepaidExpensesAccount"),treeViewStructure:!0,groupType:"Accounts",registerOptions:{required:!1},defaultValue:{allOptions:D,selectedOptions:Y.map(o=>o.qboId).filter(o=>o!=null)},placeholder:t.placeholder.accountPlaceholders,style:{borderBottom:`1px solid ${d.colors.grey3}`,borderBottomLeftRadius:"inherit",borderBottomRightRadius:"inherit"},customStyleConfig:x,tooltip:{text:Q,sticky:!1},valueToId:o=>m(o,C)}})})}),i.jsxs(f,{windowSize:r,children:[i.jsx(b,{windowSize:r,iconColor:h,isDarkMode:d.mode==="dark",children:i.jsx(y,{})}),i.jsxs(S,{children:[i.jsx($,{windowSize:r,children:t.vendorSection.FixedAssetsTitle}),i.jsx(v,{children:t.vendorSection.fixedAssetsSubTitle})]})]}),i.jsx(j,{children:i.jsx(A,{windowSize:r,children:i.jsx(g,{label:{label:t.vendorSection.fixedAssetslabel,width:p},groupedMultiSelectField:{name:z(e,"fixedAssetsAccount"),treeViewStructure:!0,groupType:"Accounts",registerOptions:{required:!1},defaultValue:{allOptions:H,selectedOptions:Z.map(o=>o.qboId).filter(o=>o!=null)},placeholder:t.placeholder.accountPlaceholders,style:{borderBottom:`1px solid ${d.colors.grey3}`,borderBottomLeftRadius:"inherit",borderBottomRightRadius:"inherit"},customStyleConfig:x,tooltip:{text:X,sticky:!1},valueToId:o=>m(o,M)}})})}),L?i.jsxs(i.Fragment,{children:[i.jsxs(f,{windowSize:r,children:[i.jsx(b,{windowSize:r,iconColor:h,isDarkMode:d.mode==="dark",children:i.jsx(y,{})}),i.jsxs(S,{children:[i.jsx($,{windowSize:r,children:t.vendorSection.AccruedExpensesTitle}),i.jsx(v,{children:t.vendorSection.accruedExpensesSubTitle})]})]}),i.jsx(j,{children:i.jsx(A,{windowSize:r,children:i.jsx(g,{label:{label:t.vendorSection.accruedExpenseslabel,width:p},groupedMultiSelectField:{name:z(e,"accruedExpensesAccount"),treeViewStructure:!0,groupType:"Accounts",registerOptions:{required:!1},defaultValue:{allOptions:G,selectedOptions:ee.map(o=>o.qboId).filter(o=>o!=null)},placeholder:t.placeholder.accountPlaceholders,style:{borderBottom:`1px solid ${d.colors.grey3}`,borderBottomLeftRadius:"inherit",borderBottomRightRadius:"inherit"},customStyleConfig:x,tooltip:{text:U,sticky:!1},valueToId:o=>m(o,_)}})})})]}):null]})]})}export{xe as h};
68
+ `,z=(e,u)=>`${e}.${u}`;function xe({sectionId:e,vendorAccountMappingSection:u,isAccruedExpensesFeatureEnabled:k,showTitle:I=!0}){const r=ie(),d=oe(),{accruedExpensesAccountHierarchy:O,accruedExpensesAccountList:_,accruedExpensesRecommendations:E,fixedAssetsAccountHierarchy:B,fixedAssetsAccountList:M,fixedAssetsRecommendations:R,prepaidExpensesAccountHierarchy:W,prepaidExpensesAccountList:C,prepaidExpensesRecommendations:T,selectedAccruedExpensesAccountIds:F,selectedFixedAssetsAccountIds:H,selectedPrepaidExpensesAccountIds:V}=u,t=te.getLocalizedStrings().uncategorizedAccountsMapping,p=s.labelWidth.value(r),q=w(W,T,"Accounts"),D=w(B,R,"Accounts"),G=w(O,E,"Accounts"),J=T[0]?.account?.reason??"",Q=t.tooltip.replace("__based__",J).replace("__account__",t.vendorSection.prepaidExpenseAccount),N=R[0]?.account?.reason??"",X=t.tooltip.replace("__based__",N).replace("__account__",t.vendorSection.fixedAssetsAccount),K=E[0]?.account?.reason??"",U=t.tooltip.replace("__based__",K).replace("__account__",t.vendorSection.accruedExpensesAccount),Y=C.filter(o=>V.includes(o.accountId)??!1),Z=M.filter(o=>H.includes(o.accountId)??!1),ee=_.filter(o=>F.includes(o.accountId)??!1),x={valueContainer:o=>({...o,padding:`2px ${n.sp3}`,overflow:"unset"}),multiValue:o=>({...o,margin:0})},h=d.mode==="light"?new L(d.colors.brandColorJadeLight):new L(d.colors.brandColorJadeDark);return i.jsxs(de,{windowSize:r,children:[I?i.jsx(ae,{windowSize:r,children:t.vendorSection.heading}):null,i.jsxs(ce,{windowSize:r,children:[i.jsxs(f,{windowSize:r,children:[i.jsx(b,{windowSize:r,iconColor:h,isDarkMode:d.mode==="dark",children:i.jsx(y,{})}),i.jsxs(S,{children:[i.jsx($,{windowSize:r,children:t.vendorSection.prepaidExpenseTitle}),i.jsx(v,{children:t.vendorSection.prepaidExpenseSubTitle})]})]}),i.jsx(j,{children:i.jsx(A,{windowSize:r,children:i.jsx(m,{label:{label:t.vendorSection.prepaidExpenselabel,width:p},groupedMultiSelectField:{name:z(e,"prepaidExpensesAccount"),treeViewStructure:!0,groupType:"Accounts",registerOptions:{required:!1},defaultValue:{allOptions:q,selectedOptions:Y.map(o=>o.qboId).filter(o=>o!=null)},placeholder:t.placeholder.accountPlaceholders,style:{borderBottom:`1px solid ${d.colors.grey3}`,borderBottomLeftRadius:"inherit",borderBottomRightRadius:"inherit"},customStyleConfig:x,tooltip:{text:Q,sticky:!1},valueToId:o=>g(o,C)}})})}),i.jsxs(f,{windowSize:r,children:[i.jsx(b,{windowSize:r,iconColor:h,isDarkMode:d.mode==="dark",children:i.jsx(y,{})}),i.jsxs(S,{children:[i.jsx($,{windowSize:r,children:t.vendorSection.FixedAssetsTitle}),i.jsx(v,{children:t.vendorSection.fixedAssetsSubTitle})]})]}),i.jsx(j,{children:i.jsx(A,{windowSize:r,children:i.jsx(m,{label:{label:t.vendorSection.fixedAssetslabel,width:p},groupedMultiSelectField:{name:z(e,"fixedAssetsAccount"),treeViewStructure:!0,groupType:"Accounts",registerOptions:{required:!1},defaultValue:{allOptions:D,selectedOptions:Z.map(o=>o.qboId).filter(o=>o!=null)},placeholder:t.placeholder.accountPlaceholders,style:{borderBottom:`1px solid ${d.colors.grey3}`,borderBottomLeftRadius:"inherit",borderBottomRightRadius:"inherit"},customStyleConfig:x,tooltip:{text:X,sticky:!1},valueToId:o=>g(o,M)}})})}),k?i.jsxs(i.Fragment,{children:[i.jsxs(f,{windowSize:r,children:[i.jsx(b,{windowSize:r,iconColor:h,isDarkMode:d.mode==="dark",children:i.jsx(y,{})}),i.jsxs(S,{children:[i.jsx($,{windowSize:r,children:t.vendorSection.AccruedExpensesTitle}),i.jsx(v,{children:t.vendorSection.accruedExpensesSubTitle})]})]}),i.jsx(j,{children:i.jsx(A,{windowSize:r,children:i.jsx(m,{label:{label:t.vendorSection.accruedExpenseslabel,width:p},groupedMultiSelectField:{name:z(e,"accruedExpensesAccount"),treeViewStructure:!0,groupType:"Accounts",registerOptions:{required:!1},defaultValue:{allOptions:G,selectedOptions:ee.map(o=>o.qboId).filter(o=>o!=null)},placeholder:t.placeholder.accountPlaceholders,style:{borderBottom:`1px solid ${d.colors.grey3}`,borderBottomLeftRadius:"inherit",borderBottomRightRadius:"inherit"},customStyleConfig:x,tooltip:{text:U,sticky:!1},valueToId:o=>g(o,_)}})})})]}):null]})]})}export{xe as h};
@@ -1,5 +1,5 @@
1
- import{X as j,l as B,M as S,j as s,eO as I,eS as D,K as M,v as E,o as n,C as $,Q as L,h as P,a6 as z,c0 as N,g as w,k as A,ee as R,eC as T,p as g}from"./index-DoFw58Mw.js";import{n as t}from"./vendor-CnQcJ2Lu.js";import"./mui-C5LQ0bMa.js";import"./analytics-DThoELaW.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";const e=S.getLocalizedStrings(),h={navBarHeight:new $(62,62,62),navBarPaddingLeft:new $(g[3],g[3],g[8]),navBarPaddingRight:new $(g[3],g[3],g[8]),navBarPaddingTop:new $(12,12,g[3]),navBarPaddingBottom:new $(12,12,19)},O={title:new L("largeMedium","largeSemiBold")},$e=({companyView:r,allUsers:a,onRetryBankAccountConnection:o,onCloseClick:d})=>{const l=j(),C=r!=null?B.getAuditWarningsCount(r):0,x=r?.onboardingInfo?.bankAccountLinked,v=r?.onboardingInfo?.qboLinked,y=r?.onboardingInfo?.identityVerified,k=r?.onboardingInfo?.businessVerified,f=r?.onboardingInfo?.accountingConnectionCreationMode==="zeni_user",u=[];if(x!=null){const i=a.find(p=>p.userId===x.userIds[0]),{errorMessage:c,successMessage:m}=Q(x,f,i);u.push({status:c!=null?"Error":m!=null?"Complete":"Incomplete",userInfo:i,message:c??m??`${e.cockpit.onboarding.header.linkBankAccount} ${e.common.strings.hyphen} ${e.common.incompleteText}`,onClickRetry:o})}if(v!=null){const i=a.find(p=>p.userId===v.userIds[0]),{errorMessage:c,successMessage:m}=F(v,f,i);u.push({status:c!=null?"Error":m!=null?"Complete":"Incomplete",userInfo:i,message:c??m??`${e.cockpit.onboarding.header.connectToQBO} ${e.common.strings.hyphen} ${e.common.incompleteText}`})}if(y!=null){const i=a.find(p=>p.userId===y.userIds[0]),{errorMessage:c,successMessage:m}=G(y,f,i);u.push({status:c!=null?"Error":m!=null?"Complete":"Incomplete",userInfo:i,message:c??m??`${e.cockpit.review.warningsDrawer.kyc} ${e.common.strings.hyphen} ${y.status}`})}if(k!=null){const i=a.find(p=>p.userId===k.userIds[0]),{errorMessage:c,successMessage:m}=V(k,f,i);u.push({status:c!=null?"Error":m!=null?"Complete":"Incomplete",userInfo:i,message:c??m??`${e.cockpit.review.warningsDrawer.kyb} ${e.common.strings.hyphen} ${k.status}`})}return s.jsxs(q,{children:[s.jsx(H,{windowSize:l,children:s.jsx(K,{children:s.jsxs(J,{windowSize:l,children:[s.jsx(U,{windowSize:l,children:r?.name}),s.jsx(se,{onClick:d})]})})}),s.jsxs(X,{children:[s.jsx(_,{children:C>0?s.jsxs(b,{children:[s.jsx(b,{children:I(e.cockpit.review.warningsDrawer.issueFound)}),s.jsx(ie,{children:`${e.common.strings.openingBrace}${C}${e.common.strings.closingBrace}`})]}):s.jsx(b,{children:`${e.common.no}
2
- ${I(e.cockpit.review.warningsDrawer.issueFound)}`})}),u.map((i,c)=>s.jsx(W,{isStepInError:i.status==="Error",children:s.jsxs(Y,{children:[s.jsx(Z,{children:i.status==="Complete"?s.jsx(oe,{}):i.status==="Error"?s.jsx(D,{}):s.jsx(ne,{})}),s.jsxs(ee,{children:[s.jsx(re,{isStepInError:i.status==="Error",children:i.message}),i.status==="Error"?s.jsx(M,{label:e.common.retry,onClick:i.onClickRetry,loading:r?.retryBankAccountConnectionFetchState.fetchState==="In-Progress",variant:"light_transparent",style:{padding:`${n.sp1} ${n.sp3}`,borderRadius:n.sp1},textStyle:{...E.extraSmallMedium.cssObject}}):null]})]})},c))]})]})},Q=(r,a,o)=>{const d=r.error===!0?r.errorDetails!=null?r.errorDetails.summary:e.cockpit.review.errors.bankAccountLinked:null,l=r.completed===!0?o!=null?`${e.cockpit.onboarding.header.linkBankAccount} ${e.common.strings.hyphen} ${a===!0?`${e.common.via} ${e.common.cockpit} `:e.common.strings.empty}${e.common.by} ${o.firstName} ${o.lastName}`:e.cockpit.onboarding.header.linkBankAccount:null;return{errorMessage:d,successMessage:l}},F=(r,a,o)=>{const d=r.error===!0?r.errorDetails!=null?r.errorDetails.summary:e.cockpit.review.errors.qboLinked:null,l=r.completed===!0?o!=null?`${e.cockpit.onboarding.header.connectToQBO} ${e.common.strings.hyphen} ${a===!0?`${e.common.via} ${e.common.cockpit} `:e.common.strings.empty}${e.common.by} ${o.firstName} ${o.lastName}`:`${e.cockpit.onboarding.header.connectToQBO}`:null;return{errorMessage:d,successMessage:l}},G=(r,a,o)=>{const d=r.status==="Error"?o!=null?`${e.cockpit.review.warningsDrawer.kyc} ${e.common.failed.toLocaleLowerCase()} ${e.common.strings.hyphen} ${a===!0?`${e.common.via} ${e.common.cockpit} `:e.common.strings.empty}${e.common.by} ${o.firstName} ${o.lastName}`:`${e.cockpit.review.warningsDrawer.kyc} ${e.common.failed.toLocaleLowerCase()}`:null,l=r.status==="Complete"?o!=null?`${e.cockpit.review.warningsDrawer.kyc} ${e.cockpit.review.warningsDrawer.identity} ${e.common.strings.hyphen} ${a===!0?`${e.common.via} ${e.common.cockpit} `:e.common.strings.empty}${e.common.by} ${o.firstName} ${o.lastName}`:`${e.cockpit.review.warningsDrawer.kyc} ${e.cockpit.review.warningsDrawer.identity}`:null;return{errorMessage:d,successMessage:l}},V=(r,a,o)=>{const d=r.status==="Error"?o!=null?`${e.cockpit.review.warningsDrawer.kyb} ${e.common.failed.toLocaleLowerCase()} ${e.common.strings.hyphen} ${a===!0?`${e.common.via} ${e.common.cockpit} `:e.common.strings.empty}${e.common.by} ${o.firstName} ${o.lastName}`:`${e.cockpit.review.warningsDrawer.kyb} ${e.common.failed.toLocaleLowerCase()}`:null,l=r.status==="Complete"?o!=null?`${e.cockpit.review.warningsDrawer.kyb} ${e.cockpit.review.warningsDrawer.identity} ${e.common.strings.hyphen} ${a===!0?`${e.common.via} ${e.common.cockpit} `:e.common.strings.empty}${e.common.by} ${o.firstName} ${o.lastName}`:`${e.cockpit.review.warningsDrawer.kyb} ${e.cockpit.review.warningsDrawer.identity}`:null;return{errorMessage:d,successMessage:l}},q=t.div`
1
+ import{X as C,l as B,M as D,j as s,eP as j,eT as S,K as M,q as E,o as n,C as $,Q as L,h as P,a6 as z,c0 as N,g as w,k as A,ee as T,eD as R,p as g}from"./index-Dq4DW5h0.js";import{n as t}from"./vendor-CnQcJ2Lu.js";import"./mui-BgvZYSo0.js";import"./analytics-BSSiLa6f.js";import"./routing-BNz5gZgX.js";import"./sentry-HDxG13yk.js";import"./redux-DmDqXYej.js";import"./liveblocks-BUGn2yQ6.js";import"./crypto-BURQLTgV.js";const e=D.getLocalizedStrings(),h={navBarHeight:new $(62,62,62),navBarPaddingLeft:new $(g[3],g[3],g[8]),navBarPaddingRight:new $(g[3],g[3],g[8]),navBarPaddingTop:new $(12,12,g[3]),navBarPaddingBottom:new $(12,12,19)},Q={title:new L("largeMedium","largeSemiBold")},$e=({companyView:r,allUsers:a,onRetryBankAccountConnection:o,onCloseClick:d})=>{const l=C(),I=r!=null?B.getAuditWarningsCount(r):0,x=r?.onboardingInfo?.bankAccountLinked,v=r?.onboardingInfo?.qboLinked,y=r?.onboardingInfo?.identityVerified,k=r?.onboardingInfo?.businessVerified,f=r?.onboardingInfo?.accountingConnectionCreationMode==="zeni_user",u=[];if(x!=null){const i=a.find(p=>p.userId===x.userIds[0]),{errorMessage:c,successMessage:m}=O(x,f,i);u.push({status:c!=null?"Error":m!=null?"Complete":"Incomplete",userInfo:i,message:c??m??`${e.cockpit.onboarding.header.linkBankAccount} ${e.common.strings.hyphen} ${e.common.incompleteText}`,onClickRetry:o})}if(v!=null){const i=a.find(p=>p.userId===v.userIds[0]),{errorMessage:c,successMessage:m}=q(v,f,i);u.push({status:c!=null?"Error":m!=null?"Complete":"Incomplete",userInfo:i,message:c??m??`${e.cockpit.onboarding.header.connectToQBO} ${e.common.strings.hyphen} ${e.common.incompleteText}`})}if(y!=null){const i=a.find(p=>p.userId===y.userIds[0]),{errorMessage:c,successMessage:m}=F(y,f,i);u.push({status:c!=null?"Error":m!=null?"Complete":"Incomplete",userInfo:i,message:c??m??`${e.cockpit.review.warningsDrawer.kyc} ${e.common.strings.hyphen} ${y.status}`})}if(k!=null){const i=a.find(p=>p.userId===k.userIds[0]),{errorMessage:c,successMessage:m}=G(k,f,i);u.push({status:c!=null?"Error":m!=null?"Complete":"Incomplete",userInfo:i,message:c??m??`${e.cockpit.review.warningsDrawer.kyb} ${e.common.strings.hyphen} ${k.status}`})}return s.jsxs(V,{children:[s.jsx(H,{windowSize:l,children:s.jsx(K,{children:s.jsxs(J,{windowSize:l,children:[s.jsx(U,{windowSize:l,children:r?.name}),s.jsx(se,{onClick:d})]})})}),s.jsxs(X,{children:[s.jsx(_,{children:I>0?s.jsxs(b,{children:[s.jsx(b,{children:j(e.cockpit.review.warningsDrawer.issueFound)}),s.jsx(ie,{children:`${e.common.strings.openingBrace}${I}${e.common.strings.closingBrace}`})]}):s.jsx(b,{children:`${e.common.no}
2
+ ${j(e.cockpit.review.warningsDrawer.issueFound)}`})}),u.map((i,c)=>s.jsx(W,{isStepInError:i.status==="Error",children:s.jsxs(Y,{children:[s.jsx(Z,{children:i.status==="Complete"?s.jsx(oe,{}):i.status==="Error"?s.jsx(S,{}):s.jsx(ne,{})}),s.jsxs(ee,{children:[s.jsx(re,{isStepInError:i.status==="Error",children:i.message}),i.status==="Error"?s.jsx(M,{label:e.common.retry,onClick:i.onClickRetry,loading:r?.retryBankAccountConnectionFetchState.fetchState==="In-Progress",variant:"light_transparent",style:{padding:`${n.sp1} ${n.sp3}`,borderRadius:n.sp1},textStyle:{...E.extraSmallMedium.cssObject}}):null]})]})},c))]})]})},O=(r,a,o)=>{const d=r.error===!0?r.errorDetails!=null?r.errorDetails.summary:e.cockpit.review.errors.bankAccountLinked:null,l=r.completed===!0?o!=null?`${e.cockpit.onboarding.header.linkBankAccount} ${e.common.strings.hyphen} ${a===!0?`${e.common.via} ${e.common.cockpit} `:e.common.strings.empty}${e.common.by} ${o.firstName} ${o.lastName}`:e.cockpit.onboarding.header.linkBankAccount:null;return{errorMessage:d,successMessage:l}},q=(r,a,o)=>{const d=r.error===!0?r.errorDetails!=null?r.errorDetails.summary:e.cockpit.review.errors.qboLinked:null,l=r.completed===!0?o!=null?`${e.cockpit.onboarding.header.connectToQBO} ${e.common.strings.hyphen} ${a===!0?`${e.common.via} ${e.common.cockpit} `:e.common.strings.empty}${e.common.by} ${o.firstName} ${o.lastName}`:`${e.cockpit.onboarding.header.connectToQBO}`:null;return{errorMessage:d,successMessage:l}},F=(r,a,o)=>{const d=r.status==="Error"?o!=null?`${e.cockpit.review.warningsDrawer.kyc} ${e.common.failed.toLocaleLowerCase()} ${e.common.strings.hyphen} ${a===!0?`${e.common.via} ${e.common.cockpit} `:e.common.strings.empty}${e.common.by} ${o.firstName} ${o.lastName}`:`${e.cockpit.review.warningsDrawer.kyc} ${e.common.failed.toLocaleLowerCase()}`:null,l=r.status==="Complete"?o!=null?`${e.cockpit.review.warningsDrawer.kyc} ${e.cockpit.review.warningsDrawer.identity} ${e.common.strings.hyphen} ${a===!0?`${e.common.via} ${e.common.cockpit} `:e.common.strings.empty}${e.common.by} ${o.firstName} ${o.lastName}`:`${e.cockpit.review.warningsDrawer.kyc} ${e.cockpit.review.warningsDrawer.identity}`:null;return{errorMessage:d,successMessage:l}},G=(r,a,o)=>{const d=r.status==="Error"?o!=null?`${e.cockpit.review.warningsDrawer.kyb} ${e.common.failed.toLocaleLowerCase()} ${e.common.strings.hyphen} ${a===!0?`${e.common.via} ${e.common.cockpit} `:e.common.strings.empty}${e.common.by} ${o.firstName} ${o.lastName}`:`${e.cockpit.review.warningsDrawer.kyb} ${e.common.failed.toLocaleLowerCase()}`:null,l=r.status==="Complete"?o!=null?`${e.cockpit.review.warningsDrawer.kyb} ${e.cockpit.review.warningsDrawer.identity} ${e.common.strings.hyphen} ${a===!0?`${e.common.via} ${e.common.cockpit} `:e.common.strings.empty}${e.common.by} ${o.firstName} ${o.lastName}`:`${e.cockpit.review.warningsDrawer.kyb} ${e.cockpit.review.warningsDrawer.identity}`:null;return{errorMessage:d,successMessage:l}},V=t.div`
3
3
  display: flex;
4
4
  flex-direction: column;
5
5
  padding-top: ${n.sp3};
@@ -35,7 +35,7 @@ import{X as j,l as B,M as S,j as s,eO as I,eS as D,K as M,v as E,o as n,C as $,Q
35
35
  padding-bottom: ${r=>h.navBarPaddingBottom.valuePx(r.windowSize)};
36
36
  height: 100%;
37
37
  `,U=t(P)`
38
- ${r=>`${O.title.style(r.windowSize)}`};
38
+ ${r=>`${Q.title.style(r.windowSize)}`};
39
39
  display: flex;
40
40
  flex: 1 1 auto;
41
41
  color: ${r=>r.theme.colors.primary};
@@ -66,11 +66,11 @@ import{X as j,l as B,M as S,j as s,eO as I,eS as D,K as M,v as E,o as n,C as $,Q
66
66
  color: ${r=>r.isStepInError?w.brandColorGoldDark:r.theme.colors.primary};
67
67
  margin-left: ${n.sp2};
68
68
  align-items: center;
69
- `,oe=t(R)`
69
+ `,oe=t(T)`
70
70
  width: ${n.sp4};
71
71
  height: ${n.sp4};
72
72
  color: ${w.success};
73
- `,ne=t(T)`
73
+ `,ne=t(R)`
74
74
  width: ${n.sp4};
75
75
  height: ${n.sp4};
76
76
  color: ${r=>r.theme.colors.hero};
@@ -1,4 +1,4 @@
1
- import{a as Pe,X as M,y as Te,l as T,u as pe,a5 as Be,j as t,M as q,_ as B,bt as L,o,aW as Le,v as z,bO as R,bQ as F,bR as Y,F as Ne,cA as He,g as f,co as Me,Y as C,e as ue,w,b5 as Ee,bf as Ie,a9 as Ue,C as j,fe as Oe,cO as ae,p,gS as We,ay as Re,b7 as Fe,aB as Ye,aA as Ge,b8 as Ve,az as Je,s as _,gT as Xe,aq as Ke,ak as qe,gU as _e,k as Qe,gV as Ze,ee as et,fg as tt,cv as ot,m as at,Q as it,ah as nt}from"./index-DoFw58Mw.js";import{b as r,n as a}from"./vendor-CnQcJ2Lu.js";import{$ as lt}from"./BoxItem-CHPfWPEF-lXs1y6iB.js";import{w as rt}from"./downloadPdf-s4pLtuS_-CF3EQD3j.js";import{H as ct}from"./DepositAccTransactionItem-CfAjG3HH-COwwc_MG.js";import{T as st}from"./ZeniAccountNavBarPieces-DHYLxQKr-DoTCX7_F.js";import"./mui-C5LQ0bMa.js";import"./analytics-DThoELaW.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";import"./commonDimensions-D4uH020E-szItJUN9.js";const dt=e=>r.createElement("svg",{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},r.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"}),r.createElement("path",{d:"M16 10.8126H19.62",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),r.createElement("path",{d:"M16 13.6245H18.28",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),r.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"})),pt=a.div`
1
+ import{a as Pe,X as H,w as Te,l as T,u as pe,a5 as Be,j as t,M as K,_ as B,bu as L,o,aW as Le,q as D,bN as R,bP as F,bQ as Y,F as Ne,cA as Me,g as y,co as He,Y as v,d as ue,v as w,b6 as Ee,bg as Ie,a9 as Ue,C as j,ff as We,cO as ae,p,gT as Oe,ay as Re,b8 as Fe,aB as Ye,aA as Ve,b9 as Ge,az as Je,s as Z,gU as Xe,aq as qe,ak as Ke,gV as Ze,k as _e,gW as Qe,ee as et,fh as tt,cv as ot,f as at,Q as it,ah as nt}from"./index-Dq4DW5h0.js";import{b as l,n as a}from"./vendor-CnQcJ2Lu.js";import{$ as rt}from"./BoxItem-Cqmd_7h4-S5g5H_Jr.js";import{w as lt}from"./downloadPdf-f3F0OqWf-DUwLrQQm.js";import{H as ct}from"./DepositAccTransactionItem-DJNio75H-BszNXL3v.js";import{T as st}from"./ZeniAccountNavBarPieces-D1g1REsS-D07e9d9s.js";import"./mui-BgvZYSo0.js";import"./analytics-BSSiLa6f.js";import"./routing-BNz5gZgX.js";import"./sentry-HDxG13yk.js";import"./redux-DmDqXYej.js";import"./liveblocks-BUGn2yQ6.js";import"./crypto-BURQLTgV.js";import"./commonDimensions-Cg7EWgSP-ztBpKI_h.js";const dt=e=>l.createElement("svg",{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},l.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"}),l.createElement("path",{d:"M16 10.8126H19.62",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),l.createElement("path",{d:"M16 13.6245H18.28",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),l.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"})),pt=a.div`
2
2
  display: flex;
3
3
  width: 100%;
4
4
  height: 100vh;
@@ -8,17 +8,17 @@ import{a as Pe,X as M,y as Te,l as T,u as pe,a5 as Be,j as t,M as q,_ as B,bt 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
- `,ie="editNickName-form",G="checkingAccountNickName",ut={tickLabelText:new it("extraSmallRegular","smallRegular")},u={accountDetailHeaderPaddingRight:new j(p[3],p[8]),accountDetailHeaderPaddingBottom:new j(p[3],p[6]),accountDetailHeaderPaddingLeft:new j(p[3],p[8]),accountDetailContentMarginTop:new j(p[5],p[7]),areaChartHeight:new j(114,209),accountDetailHeaderGap:new j(18,100,184),accBtnsGap:new j(0,p[11]),styledNoTransactionIconSize:new j(60,120)},{common:H,spendManagement:ht}=q.getLocalizedStrings(),{zeniAccounts:i}=ht,V=q.getLocalizedStrings().dateFormat,mt=q.getLocalizedStrings().peoplePage,ne=e=>t.jsx(Jt,{children:e}),he=r.memo(({accountHistory:e})=>{const h=M(),n=pe(),[m,$]=r.useState(),b=r.useMemo(()=>e.accountHistoryWithBalance.map(l=>({...l,date:l.date.toISOString()})),[e.accountHistoryWithBalance]),x=r.useCallback(l=>{let d="",c="";return l&&l[0]&&(c=B("0,0[.]00",l[0].payload?.balance?.available),d=T.zeniDate(l[0].payload?.date).format(V.visual.DMMMYYYYFormat)),t.jsxs(Gt,{children:[t.jsx(le,{children:d}),t.jsx(le,{isSublabel:!0,children:c})]})},[]),g=r.useCallback(l=>{const{x:d,y:c}=l,{value:v}=l.payload;let D=!1;e.accountHistoryWithBalance.length>360&&(D=!0);const S=D?T.zeniDate(v).format(V.visual.MMMformat):T.zeniDate(v).format(V.visual.MMMDFormat);return t.jsx(Dt,{translateX:d,translateY:c,children:t.jsx(Lt,{windowSize:h,dy:20,dx:-25,children:S})})},[e.accountHistoryWithBalance.length,h]),k=r.useCallback(({cx:l,cy:d,dataKey:c})=>(c==="balance.available.amount"&&(m?.x!==l||m?.y!==d)&&$({x:l,y:d}),t.jsx(Vt,{cx:l,cy:d,strokeWidth:1,r:p[1]})),[m]),y=r.useMemo(()=>{const l=e.accountHistoryWithBalance.length;return l<=0?0:l>360?Math.floor(l/12):Math.floor(l/7)},[e.accountHistoryWithBalance.length]);return e.fetchState!=="Completed"?null:e.fetchState==="Completed"&&e.accountHistoryWithBalance.length===0?t.jsx(so,{children:t.jsx(po,{children:H.texts.noData})}):t.jsx(It,{children:t.jsx(We,{height:u.areaChartHeight.value(h),width:"99%",children:t.jsxs(Re,{data:b,margin:{top:0,right:0,bottom:0,left:0},children:[t.jsx("defs",{children:t.jsxs(Nt,{id:"colorUv",x1:"0",y1:"0",x2:"0",y2:"1",children:[t.jsx(Ht,{offset:"0%",stopColor:f.brandColorJade,stopOpacity:1}),t.jsx(Mt,{offset:"100%",stopColor:f.brandColorJade,stopOpacity:.03})]})}),t.jsx(Fe,{vertical:!1,strokeWidth:2,stroke:n.colors.grey3}),t.jsx(Ye,{dataKey:"date",stroke:n.colors.grey3,tickSize:0,reversed:!0,tick:l=>g(l),padding:{right:p[4]},interval:y}),t.jsx(Ge,{tick:!1,axisLine:!1}),t.jsx(Ve,{position:m,content:({payload:l})=>x(l),cursor:{strokeDasharray:"3",stroke:f.brandColorJade}}),t.jsx(Je,{activeDot:k,fillOpacity:1,dot:!1,type:"monotone",dataKey:"balance.available.amount",stroke:f.brandColorJade,fill:"url(#colorUv)"})]})})})});he.displayName="AccountBalanceGraph";const me=r.memo(({zeniAccountDetail:e,getToolTipContent:h,onAccountDetailClick:n,downloadEndPoint:m,authParams:$,showLoader:b,setShowLoader:x,onViewAllTransactionClick:g,showViewAllTransactions:k})=>{const y=M(),l=r.useMemo(()=>e.accountHistory,[e.accountHistory]);return t.jsxs(t.Fragment,{children:[t.jsxs(bt,{windowSize:y,children:[t.jsx(xt,{getToolTipContent:h,zeniAccountDetail:e}),t.jsxs(zt,{children:[t.jsx(he,{accountHistory:l}),t.jsxs(Et,{windowSize:y,children:[t.jsxs(Rt,{onClick:n,"data-testid":C("view-account-detail-button"),children:[t.jsx(ao,{}),y==="small"?t.jsx(de,{className:"btnText",children:i.zeniAccountDetail.accDetails}):t.jsx(se,{className:"btnText",children:i.zeniAccountDetail.accDetails})]}),t.jsxs(Ft,{"data-testid":C("download-bank-verification-letter"),onClick:()=>rt(`${m}/bank-verification-letter`,`${i.zeniAccountDetail.bankLetterPdf}${e.accountDetail?.accountLast4}.pdf`,$,x),children:[b?t.jsx(ue,{size:"Standard",start:!0}):t.jsx(io,{}),y==="small"?t.jsx(de,{className:"btnText",children:i.zeniAccountDetail.bankLetter}):t.jsx(se,{className:"btnText",children:i.zeniAccountDetail.bankLetter})]})]})]})]}),e.transactionList.length>0?t.jsxs($t,{windowSize:y,children:[t.jsxs(jt,{children:[t.jsx(_t,{children:i.zeniAccountDetail.transactions}),k?t.jsxs(Qt,{onClick:g,"data-testid":C("view-all-account-transactions"),children:[t.jsx(eo,{children:i.zeniAccountDetail.viewAll}),t.jsx(Zt,{})]}):null]}),t.jsx(kt,{children:e.transactionList.map((d,c)=>t.jsx(ct,{data:d,boxType:lt(c,e.transactionList.length)},d.id))})]}):t.jsxs(gt,{children:[t.jsx(yt,{windowSize:y}),t.jsx(ft,{children:i.zeniAccountDetail.noTransactionText})]})]})});me.displayName="AccountDetailScreen";const So=({authParams:e,downloadEndPoint:h,zeniAccountDetail:n,isBillPayEnabled:m,isExpressPayEnabled:$,onViewAllTransactionClick:b,onAccountDetailClick:x,handleMoveMoneyOptionSelection:g,onBackClick:k,onCloseAccountClick:y,onEditNameClick:l,onReloadZeniAccountDetailPage:d})=>{const c=Pe({mode:"all"}),{setFocus:v}=c,[D,S]=r.useState(!1),[E,I]=r.useState(!1),[Q,xe]=r.useState(!1),Z=M(),ee=Te(),te=ee.loggedInUserRoleMap.deposit_accounts_user===!0||T.hasAnyFinOpRole(ee.loggedInUserRoleMap);r.useEffect(()=>{const s=setTimeout(()=>{n.fetchState==="Completed"&&n.accountDetail?.accountBalance.available.amount===0&&!te&&g("transfer",n.accountDetail)},500);return()=>{clearTimeout(s)}},[n.accountDetail?.id,n.fetchState,te]),r.useEffect(()=>{Q===!0&&setTimeout(()=>{xe(!1)},800)},[Q]);const ge=n.transactionList.length>4,U=pe(),[ye,fe]=r.useState(!1),[$e,O]=r.useState(!1),W=n.accountUpdateStatus.editName.fetchState,oe=Be(W),je=s=>{s==="closeAccount"?S(!0):s==="editNickName"?I(!0):s==="payBill"?O(!0):g(s,n.accountDetail)},we={onOkClick:()=>{y?.(),S(!1)},onCancelClick:()=>{S(!1)}},be={onOkClick:()=>{},onCancelClick:()=>{c.reset(),I(!1)}};r.useEffect(()=>{oe==="In-Progress"&&W==="Completed"&&(I(!1),c.reset())},[oe,W,c]),r.useEffect(()=>{E&&v(G)},[E,v]);const ke={pageName:"detailPage",onOptionSelection:je},Ce=n.accountDetail?.accountName??"",A=n.accountSummary,ve=c.handleSubmit(s=>{l?.(s.checkingAccountNickName)}),Se={onOkClick:()=>{g("payBill"),O(!1)},onCancelClick:()=>{O(!1)}},ze=s=>{switch(s){case"totalBalance":return"320px";case"insuredBalance":return"320px";case"totalInterest":return"280px";default:return"320px"}},De=r.useCallback(s=>{let P=null;switch(s){case"insuredBalance":P=t.jsx(t.Fragment,{});break;case"totalInterest":P=t.jsx(co,{children:i.zeniAccountList.yieldTooltip});break;case"totalBalance":P=t.jsxs(lo,{children:[t.jsx(no,{children:i.zeniAccountList.balanceTooltip.base}),t.jsxs(J,{children:[t.jsx(X,{children:i.zeniAccountList.balanceTooltip.balance}),t.jsx(K,{children:B("0,0[.]00",A?.totalBalance.current)})]}),t.jsxs(J,{children:[t.jsx(X,{children:i.zeniAccountList.balanceTooltip.processing}),t.jsx(K,{children:B("0,0[.]00",A?.totalBalance.hold)})]}),t.jsxs(J,{children:[t.jsx(X,{children:i.zeniAccountList.balanceTooltip.available}),t.jsx(K,{children:B("0,0[.]00",A?.totalBalance.available)})]})]});break}return t.jsx(N,{children:t.jsx(L,{style:{textAlign:"left",padding:o.sp1},maxWidth:ze(s),display:"flex",placement:Z==="small"?"bottom":"top",title:P,children:t.jsx(ro,{})})})},[A,Z]),Ae=t.jsx(st,{zeniBankProps:ke,isBillPayEnabled:m,isExpressPayEnabled:$});return t.jsxs(wt,{children:[t.jsx(Le,{title:Ce,subTitle:n?.accountDetail?.maskedAccountNumber??"",onBackClick:k,showMenuIcon:!1,backgroundColor:U.colors.grey4,style:{zIndex:3,...z.largeSemiBold.cssObject},rightSideComponent:Ae,source:"ZeniAccountDetailPage"}),D?t.jsx(R,{titleComponent:t.jsx(Y,{children:i.zeniAccountDetail.closeAccountPopUp.title}),descriptionComponent:t.jsx(F,{children:`${i.zeniAccountDetail.closeAccountPopUp.description}${n.accountDetail?.maskedAccountNumber}${H.strings.dot}`}),primaryButtonText:i.zeniAccountDetail.closeAccountPopUp.primaryButtonText,proceedButtonVariant:"danger",secondaryButtonText:i.zeniAccountDetail.closeAccountPopUp.secondaryButtonText,action:we}):null,$e?t.jsx(R,{titleComponent:t.jsx(Y,{children:i.zeniAccountList.billPayupPopUpInfo.title}),descriptionComponent:t.jsx(F,{children:i.zeniAccountList.billPayupPopUpInfo.description}),primaryButtonText:i.zeniAccountList.billPayupPopUpInfo.primaryButtonText,secondaryButtonText:i.zeniAccountList.billPayupPopUpInfo.secondaryButtonText,action:Se,secondaryButtonWidth:130,primaryButtonWidth:130}):null,E?t.jsx(R,{titleComponent:t.jsx(Y,{children:i.zeniAccountDetail.editNamePopUp.title}),descriptionComponent:t.jsx(F,{children:i.zeniAccountDetail.editNamePopUp.description}),primaryButtonText:i.zeniAccountDetail.editNamePopUp.primaryButtonText,secondaryButtonText:i.zeniAccountDetail.editNamePopUp.secondaryButtonText,formId:ie,action:be,containerStyle:{width:"100%"},isLoading:n.accountUpdateStatus.editName.fetchState==="In-Progress",children:t.jsx(Ne,{...c,children:t.jsx("form",{id:ie,onSubmit:ve,style:{height:o.sp8,width:"80%",marginBottom:o.sp5},children:t.jsx(He,{type:"text",name:G,defaultValue:n.accountDetail?.accountName,placeholder:n.accountDetail?.accountName??"",style:{display:"flex",flexGrow:1,cursor:"inherit",height:o.sp7,textAlign:"left",width:"100%",background:Me(c.formState.errors,G)===!0?f.importantLight:U.colors.background,border:`1px solid ${U.colors.background}`},registerOptions:{required:!0,validate:s=>!!s}})})})}):null,n.fetchState==="Completed"?t.jsx(me,{authParams:e,downloadEndPoint:h,getToolTipContent:De,onAccountDetailClick:x,onViewAllTransactionClick:b,setShowLoader:fe,showLoader:ye,showViewAllTransactions:ge,zeniAccountDetail:n}):n.fetchState==="Error"?t.jsxs(At,{children:[t.jsx(Pt,{onClick:d,"data-testid":C("account-detail-reload"),children:t.jsx(Bt,{})}),t.jsx(Tt,{children:mt.reloadPage.label})]}):t.jsx(pt,{children:t.jsx(ue,{size:"ExtraLarge",start:!0})})]})},xt=({zeniAccountDetail:e,getToolTipContent:h})=>{const n=M(),[m,$]=r.useState(!1),[,b]=Oe(),[x,g]=r.useState(!1),k=()=>{b(e.accountDetail?.accountNumber??""),g(!0)};return r.useEffect(()=>{x===!0&&setTimeout(()=>{g(!1)},800)},[x]),t.jsxs(Ct,{children:[t.jsxs(vt,{children:[t.jsx(Yt,{children:t.jsxs(re,{children:[ne(i.zeniAccountList.totalAvailableBalance),h("totalBalance")]})}),t.jsx(qt,{windowSize:n,children:e.accountDetail?.accountBalance.available?t.jsx(t.Fragment,{children:t.jsx(ae,{amount:e.accountDetail?.accountBalance.available,integerStyles:z.h2Regular.cssObject,decimalStyles:z.h5Medium.cssObject})}):null}),m?t.jsxs(ce,{windowSize:n,children:[e.accountDetail?.accountNumber,t.jsx(N,{children:t.jsx(L,{display:"flex",placement:"top",title:i.zeniAccountDetail.hide,enterDelay:600,children:t.jsx(Kt,{"data-testid":C("hide-account-number"),onClick:()=>{$(!1)}})})}),t.jsx(N,{children:t.jsx(L,{display:"flex",placement:"right",title:x?H.copyToClipBoard.copied:H.copyToClipBoard.copy,enterDelay:600,children:x===!0?t.jsx(oo,{}):t.jsx(to,{onClick:k,"data-testid":C("copy-account-number")})})})]}):t.jsxs(ce,{windowSize:n,children:[e.accountDetail?.maskedAccountNumber,t.jsx(N,{children:t.jsx(L,{display:"flex",placement:"top",title:i.zeniAccountDetail.show,enterDelay:600,children:t.jsx(Xt,{"data-testid":C("show-account-number"),onClick:()=>{$(!0)}})})})]})]}),t.jsxs(St,{children:[t.jsxs(re,{children:[ne(i.common.totalYieldEarned),h("totalInterest")]}),t.jsxs(Ut,{style:{display:"flex",flexDirection:"row",alignItems:"center"},children:[t.jsx(ae,{amount:e.accountSummary?.totalInterest.available,integerStyles:z.largeRegular.cssObject,decimalStyles:z.smallRegular.cssObject}),t.jsx(Ot,{}),t.jsx(Wt,{children:`${i.common.currentAverageYield} ${e.accountDetail?.annualPercentageYield}`})]})]})]})},gt=a.div`
11
+ `,ie="editNickName-form",V="checkingAccountNickName",ut={tickLabelText:new it("extraSmallRegular","smallRegular")},u={accountDetailHeaderPaddingRight:new j(p[3],p[8]),accountDetailHeaderPaddingBottom:new j(p[3],p[6]),accountDetailHeaderPaddingLeft:new j(p[3],p[8]),accountDetailContentMarginTop:new j(p[5],p[7]),areaChartHeight:new j(114,209),accountDetailHeaderGap:new j(18,100,184),accBtnsGap:new j(0,p[11]),styledNoTransactionIconSize:new j(60,120)},{common:M,spendManagement:ht}=K.getLocalizedStrings(),{zeniAccounts:i}=ht,G=K.getLocalizedStrings().dateFormat,mt=K.getLocalizedStrings().peoplePage,ne=e=>t.jsx(Jt,{children:e}),he=l.memo(({accountHistory:e})=>{const h=H(),n=pe(),[m,$]=l.useState(),b=l.useMemo(()=>e.accountHistoryWithBalance.map(r=>({...r,date:r.date.toISOString()})),[e.accountHistoryWithBalance]),x=l.useCallback(r=>{let d="",c="";return r&&r[0]&&(c=B("0,0[.]00",r[0].payload?.balance?.available),d=T.zeniDate(r[0].payload?.date).format(G.visual.DMMMYYYYFormat)),t.jsxs(Vt,{children:[t.jsx(re,{children:d}),t.jsx(re,{isSublabel:!0,children:c})]})},[]),g=l.useCallback(r=>{const{x:d,y:c}=r,{value:C}=r.payload;let z=!1;e.accountHistoryWithBalance.length>360&&(z=!0);const S=z?T.zeniDate(C).format(G.visual.MMMformat):T.zeniDate(C).format(G.visual.MMMDFormat);return t.jsx(zt,{translateX:d,translateY:c,children:t.jsx(Lt,{windowSize:h,dy:20,dx:-25,children:S})})},[e.accountHistoryWithBalance.length,h]),k=l.useCallback(({cx:r,cy:d,dataKey:c})=>(c==="balance.available.amount"&&(m?.x!==r||m?.y!==d)&&$({x:r,y:d}),t.jsx(Gt,{cx:r,cy:d,strokeWidth:1,r:p[1]})),[m]),f=l.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(so,{children:t.jsx(po,{children:M.texts.noData})}):t.jsx(It,{children:t.jsx(Oe,{height:u.areaChartHeight.value(h),width:"99%",children:t.jsxs(Re,{data:b,margin:{top:0,right:0,bottom:0,left:0},children:[t.jsx("defs",{children:t.jsxs(Nt,{id:"colorUv",x1:"0",y1:"0",x2:"0",y2:"1",children:[t.jsx(Mt,{offset:"0%",stopColor:y.brandColorJade,stopOpacity:1}),t.jsx(Ht,{offset:"100%",stopColor:y.brandColorJade,stopOpacity:.03})]})}),t.jsx(Fe,{vertical:!1,strokeWidth:2,stroke:n.colors.grey3}),t.jsx(Ye,{dataKey:"date",stroke:n.colors.grey3,tickSize:0,reversed:!0,tick:r=>g(r),padding:{right:p[4]},interval:f}),t.jsx(Ve,{tick:!1,axisLine:!1}),t.jsx(Ge,{position:m,content:({payload:r})=>x(r),cursor:{strokeDasharray:"3",stroke:y.brandColorJade}}),t.jsx(Je,{activeDot:k,fillOpacity:1,dot:!1,type:"monotone",dataKey:"balance.available.amount",stroke:y.brandColorJade,fill:"url(#colorUv)"})]})})})});he.displayName="AccountBalanceGraph";const me=l.memo(({zeniAccountDetail:e,getToolTipContent:h,onAccountDetailClick:n,downloadEndPoint:m,authParams:$,showLoader:b,setShowLoader:x,onViewAllTransactionClick:g,showViewAllTransactions:k})=>{const f=H(),r=l.useMemo(()=>e.accountHistory,[e.accountHistory]);return t.jsxs(t.Fragment,{children:[t.jsxs(bt,{windowSize:f,children:[t.jsx(xt,{getToolTipContent:h,zeniAccountDetail:e}),t.jsxs(Dt,{children:[t.jsx(he,{accountHistory:r}),t.jsxs(Et,{windowSize:f,children:[t.jsxs(Rt,{onClick:n,"data-testid":v("view-account-detail-button"),children:[t.jsx(ao,{}),f==="small"?t.jsx(de,{className:"btnText",children:i.zeniAccountDetail.accDetails}):t.jsx(se,{className:"btnText",children:i.zeniAccountDetail.accDetails})]}),t.jsxs(Ft,{"data-testid":v("download-bank-verification-letter"),onClick:()=>lt(`${m}/bank-verification-letter`,`${i.zeniAccountDetail.bankLetterPdf}${e.accountDetail?.accountLast4}.pdf`,$,x),children:[b?t.jsx(ue,{size:"Standard",start:!0}):t.jsx(io,{}),f==="small"?t.jsx(de,{className:"btnText",children:i.zeniAccountDetail.bankLetter}):t.jsx(se,{className:"btnText",children:i.zeniAccountDetail.bankLetter})]})]})]})]}),e.transactionList.length>0?t.jsxs($t,{windowSize:f,children:[t.jsxs(jt,{children:[t.jsx(Zt,{children:i.zeniAccountDetail.transactions}),k?t.jsxs(_t,{onClick:g,"data-testid":v("view-all-account-transactions"),children:[t.jsx(eo,{children:i.zeniAccountDetail.viewAll}),t.jsx(Qt,{})]}):null]}),t.jsx(kt,{children:e.transactionList.map((d,c)=>t.jsx(ct,{data:d,boxType:rt(c,e.transactionList.length)},d.id))})]}):t.jsxs(gt,{children:[t.jsx(ft,{windowSize:f}),t.jsx(yt,{children:i.zeniAccountDetail.noTransactionText})]})]})});me.displayName="AccountDetailScreen";const So=({authParams:e,downloadEndPoint:h,zeniAccountDetail:n,isBillPayEnabled:m,isExpressPayEnabled:$,onViewAllTransactionClick:b,onAccountDetailClick:x,handleMoveMoneyOptionSelection:g,onBackClick:k,onCloseAccountClick:f,onEditNameClick:r,onReloadZeniAccountDetailPage:d})=>{const c=Pe({mode:"all"}),{setFocus:C}=c,[z,S]=l.useState(!1),[E,I]=l.useState(!1),[_,xe]=l.useState(!1),Q=H(),ee=Te(),te=ee.loggedInUserRoleMap.deposit_accounts_user===!0||T.hasAnyFinOpRole(ee.loggedInUserRoleMap);l.useEffect(()=>{const s=setTimeout(()=>{n.fetchState==="Completed"&&n.accountDetail?.accountBalance.available.amount===0&&!te&&g("transfer",n.accountDetail)},500);return()=>{clearTimeout(s)}},[n.accountDetail?.id,n.fetchState,te]),l.useEffect(()=>{_===!0&&setTimeout(()=>{xe(!1)},800)},[_]);const ge=n.transactionList.length>4,U=pe(),[fe,ye]=l.useState(!1),[$e,W]=l.useState(!1),O=n.accountUpdateStatus.editName.fetchState,oe=Be(O),je=s=>{s==="closeAccount"?S(!0):s==="editNickName"?I(!0):s==="payBill"?W(!0):g(s,n.accountDetail)},we={onOkClick:()=>{f?.(),S(!1)},onCancelClick:()=>{S(!1)}},be={onOkClick:()=>{},onCancelClick:()=>{c.reset(),I(!1)}};l.useEffect(()=>{oe==="In-Progress"&&O==="Completed"&&(I(!1),c.reset())},[oe,O,c]),l.useEffect(()=>{E&&C(V)},[E,C]);const ke={pageName:"detailPage",onOptionSelection:je},ve=n.accountDetail?.accountName??"",A=n.accountSummary,Ce=c.handleSubmit(s=>{r?.(s.checkingAccountNickName)}),Se={onOkClick:()=>{g("payBill"),W(!1)},onCancelClick:()=>{W(!1)}},De=s=>{switch(s){case"totalBalance":return"320px";case"insuredBalance":return"320px";case"totalInterest":return"280px";default:return"320px"}},ze=l.useCallback(s=>{let P=null;switch(s){case"insuredBalance":P=t.jsx(t.Fragment,{});break;case"totalInterest":P=t.jsx(co,{children:i.zeniAccountList.yieldTooltip});break;case"totalBalance":P=t.jsxs(ro,{children:[t.jsx(no,{children:i.zeniAccountList.balanceTooltip.base}),t.jsxs(J,{children:[t.jsx(X,{children:i.zeniAccountList.balanceTooltip.balance}),t.jsx(q,{children:B("0,0[.]00",A?.totalBalance.current)})]}),t.jsxs(J,{children:[t.jsx(X,{children:i.zeniAccountList.balanceTooltip.processing}),t.jsx(q,{children:B("0,0[.]00",A?.totalBalance.hold)})]}),t.jsxs(J,{children:[t.jsx(X,{children:i.zeniAccountList.balanceTooltip.available}),t.jsx(q,{children:B("0,0[.]00",A?.totalBalance.available)})]})]});break}return t.jsx(N,{children:t.jsx(L,{style:{textAlign:"left",padding:o.sp1},maxWidth:De(s),display:"flex",placement:Q==="small"?"bottom":"top",title:P,children:t.jsx(lo,{})})})},[A,Q]),Ae=t.jsx(st,{zeniBankProps:ke,isBillPayEnabled:m,isExpressPayEnabled:$});return t.jsxs(wt,{children:[t.jsx(Le,{title:ve,subTitle:n?.accountDetail?.maskedAccountNumber??"",onBackClick:k,showMenuIcon:!1,backgroundColor:U.colors.grey4,style:{zIndex:3,...D.largeSemiBold.cssObject},rightSideComponent:Ae,source:"ZeniAccountDetailPage"}),z?t.jsx(R,{titleComponent:t.jsx(Y,{children:i.zeniAccountDetail.closeAccountPopUp.title}),descriptionComponent:t.jsx(F,{children:`${i.zeniAccountDetail.closeAccountPopUp.description}${n.accountDetail?.maskedAccountNumber}${M.strings.dot}`}),primaryButtonText:i.zeniAccountDetail.closeAccountPopUp.primaryButtonText,proceedButtonVariant:"danger",secondaryButtonText:i.zeniAccountDetail.closeAccountPopUp.secondaryButtonText,action:we}):null,$e?t.jsx(R,{titleComponent:t.jsx(Y,{children:i.zeniAccountList.billPayupPopUpInfo.title}),descriptionComponent:t.jsx(F,{children:i.zeniAccountList.billPayupPopUpInfo.description}),primaryButtonText:i.zeniAccountList.billPayupPopUpInfo.primaryButtonText,secondaryButtonText:i.zeniAccountList.billPayupPopUpInfo.secondaryButtonText,action:Se,secondaryButtonWidth:130,primaryButtonWidth:130}):null,E?t.jsx(R,{titleComponent:t.jsx(Y,{children:i.zeniAccountDetail.editNamePopUp.title}),descriptionComponent:t.jsx(F,{children:i.zeniAccountDetail.editNamePopUp.description}),primaryButtonText:i.zeniAccountDetail.editNamePopUp.primaryButtonText,secondaryButtonText:i.zeniAccountDetail.editNamePopUp.secondaryButtonText,formId:ie,action:be,containerStyle:{width:"100%"},isLoading:n.accountUpdateStatus.editName.fetchState==="In-Progress",children:t.jsx(Ne,{...c,children:t.jsx("form",{id:ie,onSubmit:Ce,style:{height:o.sp8,width:"80%",marginBottom:o.sp5},children:t.jsx(Me,{type:"text",name:V,defaultValue:n.accountDetail?.accountName,placeholder:n.accountDetail?.accountName??"",style:{display:"flex",flexGrow:1,cursor:"inherit",height:o.sp7,textAlign:"left",width:"100%",background:He(c.formState.errors,V)===!0?y.importantLight:U.colors.background,border:`1px solid ${U.colors.background}`},registerOptions:{required:!0,validate:s=>!!s}})})})}):null,n.fetchState==="Completed"?t.jsx(me,{authParams:e,downloadEndPoint:h,getToolTipContent:ze,onAccountDetailClick:x,onViewAllTransactionClick:b,setShowLoader:ye,showLoader:fe,showViewAllTransactions:ge,zeniAccountDetail:n}):n.fetchState==="Error"?t.jsxs(At,{children:[t.jsx(Pt,{onClick:d,"data-testid":v("account-detail-reload"),children:t.jsx(Bt,{})}),t.jsx(Tt,{children:mt.reloadPage.label})]}):t.jsx(pt,{children:t.jsx(ue,{size:"ExtraLarge",start:!0})})]})},xt=({zeniAccountDetail:e,getToolTipContent:h})=>{const n=H(),[m,$]=l.useState(!1),[,b]=We(),[x,g]=l.useState(!1),k=()=>{b(e.accountDetail?.accountNumber??""),g(!0)};return l.useEffect(()=>{x===!0&&setTimeout(()=>{g(!1)},800)},[x]),t.jsxs(vt,{children:[t.jsxs(Ct,{children:[t.jsx(Yt,{children:t.jsxs(le,{children:[ne(i.zeniAccountList.totalAvailableBalance),h("totalBalance")]})}),t.jsx(Kt,{windowSize:n,children:e.accountDetail?.accountBalance.available?t.jsx(t.Fragment,{children:t.jsx(ae,{amount:e.accountDetail?.accountBalance.available,integerStyles:D.h2Regular.cssObject,decimalStyles:D.h5Medium.cssObject})}):null}),m?t.jsxs(ce,{windowSize:n,children:[e.accountDetail?.accountNumber,t.jsx(N,{children:t.jsx(L,{display:"flex",placement:"top",title:i.zeniAccountDetail.hide,enterDelay:600,children:t.jsx(qt,{"data-testid":v("hide-account-number"),onClick:()=>{$(!1)}})})}),t.jsx(N,{children:t.jsx(L,{display:"flex",placement:"right",title:x?M.copyToClipBoard.copied:M.copyToClipBoard.copy,enterDelay:600,children:x===!0?t.jsx(oo,{}):t.jsx(to,{onClick:k,"data-testid":v("copy-account-number")})})})]}):t.jsxs(ce,{windowSize:n,children:[e.accountDetail?.maskedAccountNumber,t.jsx(N,{children:t.jsx(L,{display:"flex",placement:"top",title:i.zeniAccountDetail.show,enterDelay:600,children:t.jsx(Xt,{"data-testid":v("show-account-number"),onClick:()=>{$(!0)}})})})]})]}),t.jsxs(St,{children:[t.jsxs(le,{children:[ne(i.common.totalYieldEarned),h("totalInterest")]}),t.jsxs(Ut,{style:{display:"flex",flexDirection:"row",alignItems:"center"},children:[t.jsx(ae,{amount:e.accountSummary?.totalInterest.available,integerStyles:D.largeRegular.cssObject,decimalStyles:D.smallRegular.cssObject}),t.jsx(Wt,{}),t.jsx(Ot,{children:`${i.common.currentAverageYield} ${e.accountDetail?.annualPercentageYield}`})]})]})]})},gt=a.div`
12
12
  display: flex;
13
13
  flex-direction: column;
14
14
  align-items: center;
15
15
  justify-content: center;
16
- `,yt=a(_e)`
16
+ `,ft=a(Ze)`
17
17
  width: ${e=>u.styledNoTransactionIconSize.valuePx(e.windowSize)};
18
18
  height: ${e=>u.styledNoTransactionIconSize.valuePx(e.windowSize)};
19
19
  margin-top: 128px;
20
20
  margin-bottom: ${o.sp3};
21
- `,ft=a(_)`
21
+ `,yt=a(Z)`
22
22
  color: ${e=>e.theme.colors.hero};
23
23
  text-align: center;
24
24
  `,$t=a.div`
@@ -51,18 +51,18 @@ import{a as Pe,X as M,y as Te,l as T,u as pe,a5 as Be,j as t,M as q,_ as B,bt as
51
51
  `,kt=a.div`
52
52
  box-shadow: ${e=>`${o.sp0} 2px ${o.sp1} ${e.theme.colors.dropShadowNormal}`};
53
53
  border-radius: ${o.sp2};
54
- `,Ct=a.div`
54
+ `,vt=a.div`
55
55
  display: flex;
56
56
  gap: ${o.sp3};
57
57
  flex-direction: column;
58
58
  justify-content: space-between;
59
- `,vt=a.div``,St=a.div``,zt=a.div`
59
+ `,Ct=a.div``,St=a.div``,Dt=a.div`
60
60
  display: flex;
61
61
  gap: ${o.sp3};
62
62
  flex: 1;
63
63
  flex-direction: column;
64
64
  justify-content: flex-end;
65
- `,Dt=a.g`
65
+ `,zt=a.g`
66
66
  transform: ${e=>`translate(${e.translateX}px, ${e.translateY}px)`};
67
67
  `,At=a.div`
68
68
  display: flex;
@@ -103,7 +103,7 @@ import{a as Pe,X as M,y as Te,l as T,u as pe,a5 as Be,j as t,M as q,_ as B,bt as
103
103
  `,Lt=a.text`
104
104
  fill: ${e=>e.theme.colors.hero};
105
105
  ${e=>`${ut.tickLabelText.style(e.windowSize)}`};
106
- `,Nt=a.linearGradient``,Ht=a.stop``,Mt=a.stop``,Et=a.div`
106
+ `,Nt=a.linearGradient``,Mt=a.stop``,Ht=a.stop``,Et=a.div`
107
107
  display: flex;
108
108
  flex-direction: row;
109
109
  gap: ${e=>u.accBtnsGap.valuePx(e.windowSize)};
@@ -124,7 +124,7 @@ import{a as Pe,X as M,y as Te,l as T,u as pe,a5 as Be,j as t,M as q,_ as B,bt as
124
124
  display: flex;
125
125
  flex-direction: row;
126
126
  align-items: baseline;
127
- `,Ot=a.div`
127
+ `,Wt=a.div`
128
128
  align-self: center;
129
129
  background-color: ${e=>e.theme.colors.grey1};
130
130
  border-radius: 50%;
@@ -132,7 +132,7 @@ import{a as Pe,X as M,y as Te,l as T,u as pe,a5 as Be,j as t,M as q,_ as B,bt as
132
132
  height: ${o.sp1};
133
133
  margin: ${o.sp0} ${o.sp1};
134
134
  margin-top: 2px;
135
- `,Wt=a(at)`
135
+ `,Ot=a(at)`
136
136
  color: ${e=>e.theme.colors.primary};
137
137
  margin-top: ${o.sp1};
138
138
  `,Rt=a.div`
@@ -168,7 +168,7 @@ import{a as Pe,X as M,y as Te,l as T,u as pe,a5 as Be,j as t,M as q,_ as B,bt as
168
168
  `,Yt=a(w)`
169
169
  display: flex;
170
170
  color: ${e=>e.theme.colors.hero};
171
- `,Gt=a.div`
171
+ `,Vt=a.div`
172
172
  display: flex;
173
173
  align-items: center;
174
174
  flex-direction: column;
@@ -179,18 +179,18 @@ import{a as Pe,X as M,y as Te,l as T,u as pe,a5 as Be,j as t,M as q,_ as B,bt as
179
179
  min-width: 66px;
180
180
  border-radius: ${o.sp1};
181
181
  padding: ${o.sp0} ${o.sp2};
182
- background-color: ${f.blackColor};
183
- `,Vt=a.circle`
182
+ background-color: ${y.blackColor};
183
+ `,Gt=a.circle`
184
184
  stroke: ${e=>e.theme.colors.brandColorJade};
185
185
  fill: ${e=>e.theme.colors.grey5};
186
- `,le=a(w)`
187
- color: ${e=>e.isSublabel===!0?f.neutralGrey1Light:f.brandColorPearl};
188
- `,re=a.div`
186
+ `,re=a(w)`
187
+ color: ${e=>e.isSublabel===!0?y.neutralGrey1Light:y.brandColorPearl};
188
+ `,le=a.div`
189
189
  display: flex;
190
190
  gap: ${o.sp1};
191
191
  `,Jt=a(w)`
192
192
  color: ${e=>e.theme.colors.hero};
193
- `,ce=a(Qe)`
193
+ `,ce=a(_e)`
194
194
  text-transform: capitalize;
195
195
  color: ${e=>`${e.windowSize==="small"?e.theme.colors.hero:e.theme.colors.champion}`};
196
196
  display: flex;
@@ -202,23 +202,23 @@ import{a as Pe,X as M,y as Te,l as T,u as pe,a5 as Be,j as t,M as q,_ as B,bt as
202
202
  margin-right: ${o.sp2};
203
203
  cursor: pointer;
204
204
  color: ${e=>e.theme.colors.hero};
205
- `,Kt=a(Ze)`
205
+ `,qt=a(Qe)`
206
206
  height: ${o.sp3};
207
207
  width: ${o.sp3};
208
208
  margin-left: ${o.sp2};
209
209
  margin-right: ${o.sp2};
210
210
  color: ${e=>e.theme.colors.hero};
211
- `,qt=a.div`
211
+ `,Kt=a.div`
212
212
  display: flex;
213
213
  align-items: baseline;
214
214
  color: ${e=>e.theme.colors.primary};
215
- `,se=a(_)`
215
+ `,se=a(Z)`
216
216
  margin-left: ${o.sp2};
217
217
  `,de=a(w)`
218
218
  margin-left: ${o.sp2};
219
- `,_t=a(Ke)`
219
+ `,Zt=a(qe)`
220
220
  color: ${e=>e.theme.colors.primary};
221
- `,Qt=a.div`
221
+ `,_t=a.div`
222
222
  display: flex;
223
223
  align-items: center;
224
224
  cursor: pointer;
@@ -231,11 +231,11 @@ import{a as Pe,X as M,y as Te,l as T,u as pe,a5 as Be,j as t,M as q,_ as B,bt as
231
231
  color: ${e=>e.theme.colors.primary};
232
232
  }
233
233
  }
234
- `,Zt=a(qe)`
234
+ `,Qt=a(Ke)`
235
235
  width: ${o.sp3};
236
236
  height: ${o.sp3};
237
237
  color: ${e=>e.theme.colors.grey1};
238
- `,eo=a(_)`
238
+ `,eo=a(Z)`
239
239
  color: ${e=>e.theme.colors.hero};
240
240
  margin-right: ${o.sp2};
241
241
  `,N=a.div`
@@ -257,7 +257,7 @@ import{a as Pe,X as M,y as Te,l as T,u as pe,a5 as Be,j as t,M as q,_ as B,bt as
257
257
  `,oo=a(et)`
258
258
  height: ${o.sp3};
259
259
  width: ${o.sp3};
260
- color: ${f.success};
260
+ color: ${y.success};
261
261
  `,ao=a(dt)`
262
262
  width: ${o.sp4};
263
263
  min-width: ${o.sp4};
@@ -269,7 +269,7 @@ import{a as Pe,X as M,y as Te,l as T,u as pe,a5 as Be,j as t,M as q,_ as B,bt as
269
269
  `,no=a(w)`
270
270
  margin-bottom: ${o.sp2};
271
271
  display: flex;
272
- `,lo=a(w)`
272
+ `,ro=a(w)`
273
273
  padding: 12px ${o.sp3};
274
274
  color: ${e=>e.theme.colors.hero};
275
275
  border-radius: ${o.sp1};
@@ -280,9 +280,9 @@ import{a as Pe,X as M,y as Te,l as T,u as pe,a5 as Be,j as t,M as q,_ as B,bt as
280
280
  justify-content: space-between;
281
281
  `,X=a.div`
282
282
  color: ${e=>e.theme.colors.hero};
283
- `,K=a.div`
284
- color: ${f.primaryDark};
285
- `,ro=a(Ee)`
283
+ `,q=a.div`
284
+ color: ${y.primaryDark};
285
+ `,lo=a(Ee)`
286
286
  width: ${o.sp3};
287
287
  height: ${o.sp3};
288
288
  color: ${e=>e.theme.colors.hero};
@@ -1,4 +1,4 @@
1
- import{X as Q,a as Ie,a5 as _e,u as De,aJ as Ee,M as X,a0 as Fe,j as t,bO as W,g as o,F as Ge,o as n,cA as Re,co as Ne,bQ as ne,bR as ie,gP as Oe,_ as G,bt as fe,aW as Ue,v as z,Z as We,s as Ye,k as Ve,bC as Ze,b5 as ye,w as b,y as qe,l as Je,cO as F,Y as R,C as j,m as H,f9 as Ke,Q as Qe,h as Xe,r as He,cq as et,ah as tt,fA as nt,p as u,dJ as it,fi as ot,gQ as rt,K as st,fb as at,bf as ct,a9 as lt}from"./index-DoFw58Mw.js";import{b as g,n as i}from"./vendor-CnQcJ2Lu.js";import{r as dt}from"./auto-transfer-rule-mbafm5D3-D6YoufI_.js";import{o as pt}from"./shield-DOlUxcFf-BCUrujod.js";import{T as ut}from"./ZeniAccountNavBarPieces-DHYLxQKr-DoTCX7_F.js";import{v as mt}from"./ZeniTransferAmountSlider-CPg3o4xG-BlMvJPot.js";import"./mui-C5LQ0bMa.js";import"./analytics-DThoELaW.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";const ht=e=>g.createElement("svg",{width:24,height:24,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},g.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"}),g.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"}),g.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:m,promoPage:oe}}}=X.getLocalizedStrings(),gt=({yieldPercentage:e=4.35,insuredAmount:a=5e5,onGetStartedClick:w,style:C})=>{const s=Q(),v=(c,T)=>Object.entries(T).reduce((M,[L,$])=>M.replace(new RegExp(`__${L}__`,"g"),$),c),P=c=>`$${Intl.NumberFormat("en",{notation:"compact"}).format(c)}`,B=`${e}%`,f=P(a),S=[{icon:t.jsx(At,{}),title:v(m.features.yield,{yieldPercentage:B}),id:"yield"},{icon:t.jsx(zt,{}),title:v(m.features.insured,{insuredAmount:f}),id:"insured"},{icon:t.jsx(Ct,{}),title:m.features.liquidity,showAsterisk:!0,id:"liquidity"},{icon:t.jsx(vt,{}),title:m.features.automation,id:"automation"}];return t.jsxs(xt,{style:C,children:[t.jsx($t,{}),s!=="small"&&t.jsxs(t.Fragment,{children:[t.jsx(wt,{}),t.jsx(ft,{})]}),t.jsx(yt,{windowSize:s,children:s==="small"?t.jsxs(t.Fragment,{children:[t.jsxs(kt,{children:[t.jsx(re,{windowSize:s,children:t.jsx(se,{windowSize:s})}),t.jsx(ae,{children:m.title})]}),t.jsx(ce,{windowSize:s,children:S.map(c=>t.jsxs(le,{windowSize:s,children:[t.jsx(de,{children:c.icon}),t.jsxs(pe,{children:[c.title,c.showAsterisk===!0&&t.jsx(ue,{children:"*"})]})]},c.id))}),t.jsx(jt,{children:t.jsx(me,{children:t.jsx(he,{variant:"primary",label:m.button,onClick:w,size:"small",style:{padding:`${n.sp1} 12px`}})})}),t.jsx(ge,{windowSize:s,children:t.jsxs(xe,{windowSize:s,children:[m.disclaimer.split("__termsLink__")[0],t.jsx($e,{href:oe.zeniTermsOfServiceLink,target:"_blank",rel:"noopener noreferrer",children:m.termsLink}),m.disclaimer.split("__termsLink__")[1]]})})]}):t.jsxs(t.Fragment,{children:[t.jsx(re,{windowSize:s,children:t.jsx(se,{windowSize:s})}),t.jsxs(bt,{windowSize:s,children:[t.jsx(ae,{children:m.title}),t.jsx(ce,{windowSize:s,children:S.map(c=>t.jsxs(le,{windowSize:s,children:[t.jsx(de,{children:c.icon}),t.jsxs(pe,{children:[c.title,c.showAsterisk===!0&&t.jsx(ue,{children:"*"})]})]},c.id))}),t.jsx(ge,{windowSize:s,children:t.jsxs(xe,{windowSize:s,children:[m.disclaimer.split("__termsLink__")[0],t.jsx($e,{href:oe.zeniTermsOfServiceLink,target:"_blank",rel:"noopener noreferrer",children:m.termsLink}),m.disclaimer.split("__termsLink__")[1]]})})]}),t.jsx(me,{children:t.jsx(he,{variant:"primary",label:m.button,onClick:w,size:"small",style:{padding:`${n.sp1} 12px`}})})]})})]})},xt=i.div`
1
+ import{X as K,a as Ie,a5 as _e,u as De,aJ as Ee,M as H,a0 as Fe,j as t,bN as W,g as o,F as Ge,o as n,cA as Ne,co as Re,bP as ne,bQ as ie,gQ as Oe,_ as G,bu as fe,aW as Ue,q as z,Z as We,s as Ye,k as Ve,bD as qe,b6 as ye,v as b,w as Ze,l as Qe,cO as F,Y as N,C as j,f as X,fa as Je,Q as Ke,h as He,n as Xe,cq as et,ah as tt,fB as nt,p as u,dJ as it,fj as ot,gR as rt,K as st,fc as at,bg as ct,a9 as lt}from"./index-Dq4DW5h0.js";import{b as g,n as i}from"./vendor-CnQcJ2Lu.js";import{r as dt}from"./auto-transfer-rule-mbafm5D3-D6YoufI_.js";import{o as pt}from"./shield-DOlUxcFf-BCUrujod.js";import{T as ut}from"./ZeniAccountNavBarPieces-D1g1REsS-D07e9d9s.js";import{v as mt}from"./ZeniTransferAmountSlider-DwC6pXnb-BgJArm45.js";import"./mui-BgvZYSo0.js";import"./analytics-BSSiLa6f.js";import"./routing-BNz5gZgX.js";import"./sentry-HDxG13yk.js";import"./redux-DmDqXYej.js";import"./liveblocks-BUGn2yQ6.js";import"./crypto-BURQLTgV.js";const ht=e=>g.createElement("svg",{width:24,height:24,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},g.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"}),g.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"}),g.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:m,promoPage:oe}}}=H.getLocalizedStrings(),gt=({yieldPercentage:e=4.35,insuredAmount:a=5e5,onGetStartedClick:$,style:C})=>{const s=K(),v=(c,T)=>Object.entries(T).reduce((M,[L,w])=>M.replace(new RegExp(`__${L}__`,"g"),w),c),P=c=>`$${Intl.NumberFormat("en",{notation:"compact"}).format(c)}`,B=`${e}%`,f=P(a),S=[{icon:t.jsx(At,{}),title:v(m.features.yield,{yieldPercentage:B}),id:"yield"},{icon:t.jsx(zt,{}),title:v(m.features.insured,{insuredAmount:f}),id:"insured"},{icon:t.jsx(Ct,{}),title:m.features.liquidity,showAsterisk:!0,id:"liquidity"},{icon:t.jsx(vt,{}),title:m.features.automation,id:"automation"}];return t.jsxs(xt,{style:C,children:[t.jsx(wt,{}),s!=="small"&&t.jsxs(t.Fragment,{children:[t.jsx($t,{}),t.jsx(ft,{})]}),t.jsx(yt,{windowSize:s,children:s==="small"?t.jsxs(t.Fragment,{children:[t.jsxs(kt,{children:[t.jsx(re,{windowSize:s,children:t.jsx(se,{windowSize:s})}),t.jsx(ae,{children:m.title})]}),t.jsx(ce,{windowSize:s,children:S.map(c=>t.jsxs(le,{windowSize:s,children:[t.jsx(de,{children:c.icon}),t.jsxs(pe,{children:[c.title,c.showAsterisk===!0&&t.jsx(ue,{children:"*"})]})]},c.id))}),t.jsx(jt,{children:t.jsx(me,{children:t.jsx(he,{variant:"primary",label:m.button,onClick:$,size:"small",style:{padding:`${n.sp1} 12px`}})})}),t.jsx(ge,{windowSize:s,children:t.jsxs(xe,{windowSize:s,children:[m.disclaimer.split("__termsLink__")[0],t.jsx(we,{href:oe.zeniTermsOfServiceLink,target:"_blank",rel:"noopener noreferrer",children:m.termsLink}),m.disclaimer.split("__termsLink__")[1]]})})]}):t.jsxs(t.Fragment,{children:[t.jsx(re,{windowSize:s,children:t.jsx(se,{windowSize:s})}),t.jsxs(bt,{windowSize:s,children:[t.jsx(ae,{children:m.title}),t.jsx(ce,{windowSize:s,children:S.map(c=>t.jsxs(le,{windowSize:s,children:[t.jsx(de,{children:c.icon}),t.jsxs(pe,{children:[c.title,c.showAsterisk===!0&&t.jsx(ue,{children:"*"})]})]},c.id))}),t.jsx(ge,{windowSize:s,children:t.jsxs(xe,{windowSize:s,children:[m.disclaimer.split("__termsLink__")[0],t.jsx(we,{href:oe.zeniTermsOfServiceLink,target:"_blank",rel:"noopener noreferrer",children:m.termsLink}),m.disclaimer.split("__termsLink__")[1]]})})]}),t.jsx(me,{children:t.jsx(he,{variant:"primary",label:m.button,onClick:$,size:"small",style:{padding:`${n.sp1} 12px`}})})]})})]})},xt=i.div`
2
2
  position: relative;
3
3
  display: flex;
4
4
  flex-direction: column;
@@ -7,7 +7,7 @@ import{X as Q,a as Ie,a5 as _e,u as De,aJ as Ee,M as X,a0 as Fe,j as t,bO as W,g
7
7
  border-radius: ${n.sp2};
8
8
  overflow: hidden;
9
9
  width: 100%;
10
- `,$t=i.div`
10
+ `,wt=i.div`
11
11
  position: absolute;
12
12
  top: ${n.sp0};
13
13
  left: ${n.sp0};
@@ -33,7 +33,7 @@ import{X as Q,a as Ie,a5 as _e,u as De,aJ as Ee,M as X,a0 as Fe,j as t,bO as W,g
33
33
  rgba(199, 116, 25, 0.1) ${n.sp3}
34
34
  );
35
35
  }
36
- `,wt=i.div`
36
+ `,$t=i.div`
37
37
  position: absolute;
38
38
  top: ${n.sp0};
39
39
  right: ${n.sp0};
@@ -143,11 +143,11 @@ import{X as Q,a as Ie,a5 as _e,u as De,aJ as Ee,M as X,a0 as Fe,j as t,bO as W,g
143
143
  position: relative;
144
144
  margin-top: ${e=>e.windowSize==="small"?n.sp2:"0"};
145
145
  padding: ${e=>e.windowSize==="small"?`0 ${n.sp2}`:"0"};
146
- `,xe=i(H)`
146
+ `,xe=i(X)`
147
147
  color: ${o.heroLight};
148
148
  white-space: pre-line;
149
149
  text-align: ${e=>e.windowSize==="small"?"center":"left"};
150
- `,$e=i.a`
150
+ `,we=i.a`
151
151
  color: ${o.heroLight};
152
152
  text-decoration: underline;
153
153
  text-decoration-color: ${o.neutralGrey2Light};
@@ -177,7 +177,7 @@ import{X as Q,a as Ie,a5 as _e,u as De,aJ as Ee,M as X,a0 as Fe,j as t,bO as W,g
177
177
  width: ${n.sp3};
178
178
  height: ${n.sp3};
179
179
  color: ${o.brandColorGoldDark};
180
- `,St=e=>g.createElement("svg",{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},g.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"}),g.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"})),x={bankAccListBottomMargin:new j(u[7],u[6]),containerWidth:new j(96,67),containerTopMargin:new j(u[4],u[6]),BankAccListTopMargin:new j(u[4],u[8]),containerSidePadding:new j(u[3],u[0]),accountRowTopBottomPadding:new j(u[3],u[4]),accountRowBottomMargin:new j(u[3],u[5]),totalInsuredAndYieldContainerTopMargin:new j(u[3],u[0])},Lt={bankAccountName:new Qe("standardRegular","largeMedium")},d=X.getLocalizedStrings(),Y=e=>t.jsx(Ot,{children:e}),Pt=({fetchState:e,onReloadTransactions:a})=>e==="Error"?t.jsxs(an,{children:[t.jsx(cn,{onClick:a,"data-testid":R("zeni-account-list-reload"),children:t.jsx(ln,{})}),t.jsx(dn,{children:d.peoplePage.reloadPage.label})]}):t.jsx(nt,{fetchState:e,styles:{margin:"auto"}}),Bt=({zeniAccountListView:e,zeniAccountsConfigDetail:a,maxInsuredAmountString:w,analytics:C,onZeniAccountRowClick:s,onReloadTransactions:v,handleAddInternalAccountClick:P,onAddFundClick:B,onTreasuryGetStartedClick:f,treasuryYieldPercentage:S,treasuryInsuredAmount:c,showTreasuryPromo:T})=>{const{depositAccountsSelectorView:M,fetchState:L,summary:$}=e,p=Q(),I=qe(),y=I.loggedInUserRoleMap.deposit_accounts_user===!0||Je.hasAnyFinOpRole(I.loggedInUserRoleMap),_=r=>{C.trackAccountsListPageClicked("Add Funds",r.accountName,"active"),B("transfer",r)},E=r=>{switch(r){case"totalBalance":return"320px";case"insuredBalance":return"320px";case"totalInterest":return"290px";default:return"320px"}},A=r=>{let k=t.jsx(t.Fragment,{});switch(r){case"insuredBalance":k=t.jsx(Z,{style:{width:"300px"},children:d.spendManagement.zeniAccounts.zeniAccountList.insuranceTooltip.replace("__amount__",w)});break;case"totalInterest":k=t.jsx(Z,{children:d.spendManagement.zeniAccounts.zeniAccountList.yieldTooltip});break;case"totalBalance":k=t.jsxs(Z,{style:{paddingTop:"12px",paddingBottom:"12px"},children:[t.jsx(gn,{children:d.spendManagement.zeniAccounts.zeniAccountList.balanceTooltip.base}),t.jsxs(q,{children:[t.jsx(J,{children:d.spendManagement.zeniAccounts.zeniAccountList.balanceTooltip.balance}),t.jsx(K,{children:G("0,0[.]00",$?.totalBalance.current)})]}),t.jsxs(q,{children:[t.jsx(J,{children:d.spendManagement.zeniAccounts.zeniAccountList.balanceTooltip.processing}),t.jsx(K,{children:G("0,0[.]00",$?.totalBalance.hold)})]}),t.jsxs(q,{children:[t.jsx(J,{children:d.spendManagement.zeniAccounts.zeniAccountList.balanceTooltip.available}),t.jsx(K,{children:G("0,0[.]00",$?.totalBalance.available)})]})]});break}return t.jsx(un,{children:t.jsx(fe,{style:{textAlign:"left",padding:n.sp1},maxWidth:E(r),display:"flex",placement:p==="small"?"bottom":"top",title:k,children:r==="insuredBalance"?t.jsx(hn,{}):t.jsx(mn,{})})})},N=r=>t.jsx(Rt,{color:Ke(r)});return t.jsx(Tt,{children:L==="Completed"?t.jsxs(pn,{windowSize:p,children:[t.jsxs(Dt,{windowSize:p,children:[t.jsxs(Nt,{windowSize:p,children:[t.jsxs(V,{children:[Y(d.spendManagement.zeniAccounts.zeniAccountList.totalAvailableBalance),A("totalBalance")]}),t.jsx(F,{amount:$?.totalBalance.available})]}),t.jsxs(Mt,{windowSize:p,children:[t.jsxs(Zt,{children:[t.jsxs(V,{children:[Y(d.spendManagement.zeniAccounts.zeniAccountList.insuredFund),A("insuredBalance")]}),t.jsx(F,{amount:$?.insuredBalance.available,integerStyles:z.largeMedium.cssObject,decimalStyles:z.smallMedium.cssObject}),t.jsx(Yt,{children:d.spendManagement.zeniAccounts.zeniAccountList.insuranceInfo.replace("__amount__",w)})]}),t.jsxs(qt,{children:[t.jsxs(V,{children:[Y(d.spendManagement.zeniAccounts.common.totalYieldEarned),A("totalInterest")]}),t.jsx(F,{amount:$?.totalInterest.available,integerStyles:z.largeMedium.cssObject,decimalStyles:z.smallMedium.cssObject}),t.jsxs(Ut,{children:[d.spendManagement.zeniAccounts.zeniAccountList.currentAverageYield,t.jsx(Wt,{children:a.zeniAccountsConfigDetail.annualPercentageYield})]})]})]})]}),T===!0&&t.jsx(xn,{windowSize:p,children:t.jsx(gt,{yieldPercentage:S,insuredAmount:c,onGetStartedClick:()=>{C.trackAccountsListPageClicked("Move Money"),f?.()}})}),t.jsxs(Gt,{windowSize:p,children:[M.depositAccounts.map((r,k)=>t.jsxs(Jt,{isClickEnabled:!0,windowSize:p,onClick:()=>s?.(r.id,r.accountName),"data-testid":R("deposit-account-clicked",r.id),children:[t.jsxs(Vt,{children:[N(k),t.jsxs(Kt,{children:[t.jsx(Qt,{windowSize:p,children:r.accountName}),t.jsxs(Xt,{windowSize:p,children:[t.jsx(Et,{children:t.jsx(Ht,{children:r.maskedAccountNumber})}),t.jsxs(Ft,{children:[p==="small"?null:t.jsx(en,{}),t.jsx(tn,{windowSize:p,children:d.spendManagement.zeniAccounts.zeniAccountList.active})]})]})]})]}),t.jsxs(nn,{children:[t.jsx(F,{amount:r.accountBalance.available,integerStyles:z.largeMedium.cssObject,decimalStyles:z.smallMedium.cssObject}),y?null:t.jsx(It,{onClick:D=>{D.stopPropagation(),_(r)},"data-testid":R("add-fund",r.id),children:t.jsx(_t,{children:d.spendManagement.zeniAccounts.zeniAccountList.addFundBtnText})})]})]},r.id)),t.jsxs(on,{onClick:P,"data-testid":R("add-new-internal-zeni-account"),children:[t.jsx(rn,{}),t.jsx(sn,{children:d.spendManagement.zeniAccounts.zeniAccountList.addAccountText})]})]})]}):t.jsx(Pt,{fetchState:L,onReloadTransactions:v})})},Tt=i.div`
180
+ `,St=e=>g.createElement("svg",{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},g.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"}),g.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"})),x={bankAccListBottomMargin:new j(u[7],u[6]),containerWidth:new j(96,67),containerTopMargin:new j(u[4],u[6]),BankAccListTopMargin:new j(u[4],u[8]),containerSidePadding:new j(u[3],u[0]),accountRowTopBottomPadding:new j(u[3],u[4]),accountRowBottomMargin:new j(u[3],u[5]),totalInsuredAndYieldContainerTopMargin:new j(u[3],u[0])},Lt={bankAccountName:new Ke("standardRegular","largeMedium")},d=H.getLocalizedStrings(),Y=e=>t.jsx(Ot,{children:e}),Pt=({fetchState:e,onReloadTransactions:a})=>e==="Error"?t.jsxs(an,{children:[t.jsx(cn,{onClick:a,"data-testid":N("zeni-account-list-reload"),children:t.jsx(ln,{})}),t.jsx(dn,{children:d.peoplePage.reloadPage.label})]}):t.jsx(nt,{fetchState:e,styles:{margin:"auto"}}),Bt=({zeniAccountListView:e,zeniAccountsConfigDetail:a,maxInsuredAmountString:$,analytics:C,onZeniAccountRowClick:s,onReloadTransactions:v,handleAddInternalAccountClick:P,onAddFundClick:B,onTreasuryGetStartedClick:f,treasuryYieldPercentage:S,treasuryInsuredAmount:c,showTreasuryPromo:T})=>{const{depositAccountsSelectorView:M,fetchState:L,summary:w}=e,p=K(),I=Ze(),y=I.loggedInUserRoleMap.deposit_accounts_user===!0||Qe.hasAnyFinOpRole(I.loggedInUserRoleMap),_=r=>{C.trackAccountsListPageClicked("Add Funds",r.accountName,"active"),B("transfer",r)},E=r=>{switch(r){case"totalBalance":return"320px";case"insuredBalance":return"320px";case"totalInterest":return"290px";default:return"320px"}},A=r=>{let k=t.jsx(t.Fragment,{});switch(r){case"insuredBalance":k=t.jsx(q,{style:{width:"300px"},children:d.spendManagement.zeniAccounts.zeniAccountList.insuranceTooltip.replace("__amount__",$)});break;case"totalInterest":k=t.jsx(q,{children:d.spendManagement.zeniAccounts.zeniAccountList.yieldTooltip});break;case"totalBalance":k=t.jsxs(q,{style:{paddingTop:"12px",paddingBottom:"12px"},children:[t.jsx(gn,{children:d.spendManagement.zeniAccounts.zeniAccountList.balanceTooltip.base}),t.jsxs(Z,{children:[t.jsx(Q,{children:d.spendManagement.zeniAccounts.zeniAccountList.balanceTooltip.balance}),t.jsx(J,{children:G("0,0[.]00",w?.totalBalance.current)})]}),t.jsxs(Z,{children:[t.jsx(Q,{children:d.spendManagement.zeniAccounts.zeniAccountList.balanceTooltip.processing}),t.jsx(J,{children:G("0,0[.]00",w?.totalBalance.hold)})]}),t.jsxs(Z,{children:[t.jsx(Q,{children:d.spendManagement.zeniAccounts.zeniAccountList.balanceTooltip.available}),t.jsx(J,{children:G("0,0[.]00",w?.totalBalance.available)})]})]});break}return t.jsx(un,{children:t.jsx(fe,{style:{textAlign:"left",padding:n.sp1},maxWidth:E(r),display:"flex",placement:p==="small"?"bottom":"top",title:k,children:r==="insuredBalance"?t.jsx(hn,{}):t.jsx(mn,{})})})},R=r=>t.jsx(Nt,{color:Je(r)});return t.jsx(Tt,{children:L==="Completed"?t.jsxs(pn,{windowSize:p,children:[t.jsxs(Dt,{windowSize:p,children:[t.jsxs(Rt,{windowSize:p,children:[t.jsxs(V,{children:[Y(d.spendManagement.zeniAccounts.zeniAccountList.totalAvailableBalance),A("totalBalance")]}),t.jsx(F,{amount:w?.totalBalance.available})]}),t.jsxs(Mt,{windowSize:p,children:[t.jsxs(qt,{children:[t.jsxs(V,{children:[Y(d.spendManagement.zeniAccounts.zeniAccountList.insuredFund),A("insuredBalance")]}),t.jsx(F,{amount:w?.insuredBalance.available,integerStyles:z.largeMedium.cssObject,decimalStyles:z.smallMedium.cssObject}),t.jsx(Yt,{children:d.spendManagement.zeniAccounts.zeniAccountList.insuranceInfo.replace("__amount__",$)})]}),t.jsxs(Zt,{children:[t.jsxs(V,{children:[Y(d.spendManagement.zeniAccounts.common.totalYieldEarned),A("totalInterest")]}),t.jsx(F,{amount:w?.totalInterest.available,integerStyles:z.largeMedium.cssObject,decimalStyles:z.smallMedium.cssObject}),t.jsxs(Ut,{children:[d.spendManagement.zeniAccounts.zeniAccountList.currentAverageYield,t.jsx(Wt,{children:a.zeniAccountsConfigDetail.annualPercentageYield})]})]})]})]}),T===!0&&t.jsx(xn,{windowSize:p,children:t.jsx(gt,{yieldPercentage:S,insuredAmount:c,onGetStartedClick:()=>{C.trackAccountsListPageClicked("Move Money"),f?.()}})}),t.jsxs(Gt,{windowSize:p,children:[M.depositAccounts.map((r,k)=>t.jsxs(Qt,{isClickEnabled:!0,windowSize:p,onClick:()=>s?.(r.id,r.accountName),"data-testid":N("deposit-account-clicked",r.id),children:[t.jsxs(Vt,{children:[R(k),t.jsxs(Jt,{children:[t.jsx(Kt,{windowSize:p,children:r.accountName}),t.jsxs(Ht,{windowSize:p,children:[t.jsx(Et,{children:t.jsx(Xt,{children:r.maskedAccountNumber})}),t.jsxs(Ft,{children:[p==="small"?null:t.jsx(en,{}),t.jsx(tn,{windowSize:p,children:d.spendManagement.zeniAccounts.zeniAccountList.active})]})]})]})]}),t.jsxs(nn,{children:[t.jsx(F,{amount:r.accountBalance.available,integerStyles:z.largeMedium.cssObject,decimalStyles:z.smallMedium.cssObject}),y?null:t.jsx(It,{onClick:D=>{D.stopPropagation(),_(r)},"data-testid":N("add-fund",r.id),children:t.jsx(_t,{children:d.spendManagement.zeniAccounts.zeniAccountList.addFundBtnText})})]})]},r.id)),t.jsxs(on,{onClick:P,"data-testid":N("add-new-internal-zeni-account"),children:[t.jsx(rn,{}),t.jsx(sn,{children:d.spendManagement.zeniAccounts.zeniAccountList.addAccountText})]})]})]}):t.jsx(Pt,{fetchState:L,onReloadTransactions:v})})},Tt=i.div`
181
181
  display: block;
182
182
  height: 100%;
183
183
  `,Mt=i.div`
@@ -194,7 +194,7 @@ import{X as Q,a as Ie,a5 as _e,u as De,aJ as Ee,M as X,a0 as Fe,j as t,bO as W,g
194
194
  :hover {
195
195
  border: 1px solid ${e=>e.theme.colors.hero};
196
196
  }
197
- `,_t=i(He)`
197
+ `,_t=i(Xe)`
198
198
  color: ${e=>e.theme.colors.hero};
199
199
  `,Dt=i.div`
200
200
  margin: ${e=>x.containerTopMargin.valuePx(e.windowSize)}
@@ -214,12 +214,12 @@ import{X as Q,a as Ie,a5 as _e,u as De,aJ as Ee,M as X,a0 as Fe,j as t,bO as W,g
214
214
  ${x.bankAccListBottomMargin.valuePx(e.windowSize)} ${n.sp0}`};
215
215
  width: 100%;
216
216
  padding: ${e=>`${n.sp0} ${x.containerSidePadding.valuePx(e.windowSize)}`};
217
- `,Rt=i(at)`
217
+ `,Nt=i(at)`
218
218
  min-width: ${n.sp7};
219
219
  width: ${n.sp7};
220
220
  height: ${n.sp7};
221
221
  margin-right: 12px;
222
- `,Nt=i.div`
222
+ `,Rt=i.div`
223
223
  ${e=>e.windowSize!=="small"?`
224
224
  width: 50%;
225
225
  `:null}
@@ -228,17 +228,17 @@ import{X as Q,a as Ie,a5 as _e,u as De,aJ as Ee,M as X,a0 as Fe,j as t,bO as W,g
228
228
  `,Ot=i(b)`
229
229
  color: ${e=>e.theme.colors.hero};
230
230
  margin-right: ${n.sp1};
231
- `,Ut=i(H)`
231
+ `,Ut=i(X)`
232
232
  color: ${e=>e.theme.colors.hero};
233
233
  `,Wt=i.span`
234
234
  margin-left: 2px;
235
- `,Yt=i(H)`
235
+ `,Yt=i(X)`
236
236
  color: ${e=>e.theme.colors.hero};
237
237
  `,Vt=i.div`
238
238
  display: flex;
239
239
  align-items: center;
240
240
  width: calc(100% - 96px);
241
- `,Zt=i.div``,qt=i.div``,Jt=i.div`
241
+ `,qt=i.div``,Zt=i.div``,Qt=i.div`
242
242
  padding-left: ${e=>x.accountRowTopBottomPadding.valuePx(e.windowSize)};
243
243
  padding-right: ${e=>x.accountRowTopBottomPadding.valuePx(e.windowSize)};
244
244
  padding-top: ${e=>x.accountRowTopBottomPadding.valuePx(e.windowSize)};
@@ -256,23 +256,23 @@ import{X as Q,a as Ie,a5 as _e,u as De,aJ as Ee,M as X,a0 as Fe,j as t,bO as W,g
256
256
  border-color: ${e=>e.theme.colors.primary};
257
257
  color: ${e=>e.isClickEnabled?e.theme.colors.champion:e.theme.colors.hero};
258
258
  }
259
- `,Kt=i.div`
259
+ `,Jt=i.div`
260
260
  max-width: calc(100% - 30px);
261
261
  width: calc(100% - 40px);
262
262
  white-space: nowrap;
263
263
  overflow: hidden;
264
- `,Qt=i(Xe)`
264
+ `,Kt=i(He)`
265
265
  ${e=>`${Lt.bankAccountName.style(e.windowSize)}`};
266
266
  color: ${e=>e.theme.colors.primary};
267
267
  max-width: ${`calc(100% - ${n.sp3})`};
268
268
  text-transform: capitalize;
269
269
  overflow: hidden;
270
- `,Xt=i.div`
270
+ `,Ht=i.div`
271
271
  display: flex;
272
272
  color: ${e=>e.theme.colors.hero};
273
273
  flex-direction: ${e=>e.windowSize==="small"?"column":"row"};
274
274
  align-items: ${e=>e.windowSize==="small"?"start":"center"};
275
- `,Ht=i(b)`
275
+ `,Xt=i(b)`
276
276
  margin-left: ${n.sp1};
277
277
  `,en=i.div`
278
278
  width: ${n.sp1};
@@ -369,11 +369,11 @@ import{X as Q,a as Ie,a5 as _e,u as De,aJ as Ee,M as X,a0 as Fe,j as t,bO as W,g
369
369
  `,hn=i(St)`
370
370
  width: ${n.sp3};
371
371
  height: ${n.sp3};
372
- `,Z=i(b)`
372
+ `,q=i(b)`
373
373
  padding: ${n.sp2} ${n.sp3};
374
374
  color: ${e=>e.theme.colors.hero};
375
375
  border-radius: ${n.sp1};
376
- `,q=i(b)`
376
+ `,Z=i(b)`
377
377
  color: ${e=>e.theme.colors.brandColorPearl};
378
378
  margin-top: ${n.sp2};
379
379
  display: flex;
@@ -381,13 +381,13 @@ import{X as Q,a as Ie,a5 as _e,u as De,aJ as Ee,M as X,a0 as Fe,j as t,bO as W,g
381
381
  `,gn=i(b)`
382
382
  margin-bottom: ${n.sp2};
383
383
  display: flex;
384
- `,J=i.div`
384
+ `,Q=i.div`
385
385
  color: ${e=>e.theme.colors.hero};
386
- `,K=i.div`
386
+ `,J=i.div`
387
387
  color: ${o.primaryDark};
388
388
  `,xn=i.div`
389
389
  margin-top: ${n.sp4};
390
- `,{common:$n,spendManagement:{zeniAccounts:l}}=X.getLocalizedStrings(),we="checkingAccountCreation-form",Nn=({zeniAccountListView:e,analytics:a,maxInsuredAmount:w,isBillPayEnabled:C,isExpressPayEnabled:s,onBackClick:v,onZeniAccountClick:P,onSettingsClick:B,handleMoveMoneyOptionSelection:f,onReloadTransactions:S,onCreateCheckingClick:c,onClickMenuIcon:T,onTreasuryGetStartedClick:M,showTreasuryPromo:L,treasuryYieldPercentage:$,treasuryInsuredAmount:p})=>{const I=Q(),y=Ie({mode:"all"}),_=e.newCheckingAccount.fetchState,E=_e(_);g.useEffect(()=>{E==="In-Progress"&&_==="Completed"&&(r(!1),D(!0),y.reset())},[E,_,y]);const A=De(),[N,r]=g.useState(!1),[k,D]=g.useState(!1),[ke,O]=g.useState(!1),[je,be]=g.useState(0),[Ae,ze]=g.useState(0),Ce=(h,U)=>{P(h,U)},ve={pageName:"listPage",onOptionSelection:h=>{h==="payBill"?(a.trackAccountsListPageClicked("Pay Someone"),O(!0)):(h==="sendMoney"?a.trackSendMoneyClick():h==="checkDeposit"?a.trackAccountsListPageClicked("Deposit a Check"):h==="transfer"&&a.trackAccountsListPageClicked("Transfer Between Accounts"),f(h))}},Se={onOkClick:()=>{},onCancelClick:()=>{a.trackAccountsListPageClicked("Add Business Account Cancel"),y.reset(),r(!1)}},Le={onOkClick:()=>{const h=e.depositAccountsSelectorView.depositAccounts.find(U=>U.id===e.newCheckingAccount.accountId);a.trackAccountsListPageClicked("Add Business Account Add Funds"),f("transfer",h),D(!1)},onCancelClick:()=>{a.trackAccountsListPageClicked("Add Business Account Not Now"),D(!1)}},Pe={onOkClick:()=>{a.trackAccountsListPageClicked("Proceed on Bills pop up"),f("payBill"),O(!1)},onCancelClick:()=>{a.trackAccountsListPageClicked("Not Now on Bills pop up"),O(!1)}},Be=y.handleSubmit(h=>{a.trackAccountsListPageClicked("Add Business Account Create"),c?.(h.checkingAccountNickName)}),ee=e.zeniAccountsConfig.zeniAccountsConfigDetail.depositProductConfig.depositProducts,Te=ee[ee.length-1].annualPercentageYield.toString(),te=Ee(Fe(w),w,$n.currency.currencySymbol).toUpperCase(),Me=t.jsx(ut,{onSettingsClick:B,isBillPayEnabled:C,isExpressPayEnabled:s,zeniBankProps:ve,analytics:a});return t.jsxs(wn,{children:[N?t.jsx(W,{titleComponent:t.jsx(ie,{children:l.zeniAccountList.createPopUpInfo.title}),descriptionComponent:t.jsx(ne,{children:l.zeniAccountList.createPopUpInfo.description}),primaryButtonText:l.zeniAccountList.createPopUpInfo.primaryButtonText,isLoading:e.newCheckingAccount.fetchState==="In-Progress",formId:we,secondaryButtonText:l.zeniAccountList.createPopUpInfo.secondaryButtonText,style:{background:o.overlayLight},action:Se,children:t.jsx(Ge,{...y,children:t.jsx("form",{id:we,onSubmit:Be,style:{height:n.sp8,width:"80%",marginBottom:n.sp5},children:t.jsx(Re,{type:"text",name:"checkingAccountNickName",placeholder:l.zeniAccountList.createPopUpInfo.placeholder,style:{display:"flex",flexGrow:1,cursor:"inherit",height:n.sp7,textAlign:"left",width:"100%",background:Ne(y.formState.errors,"checkingAccountNickName")===!0?o.importantLight:A.colors.grey5,border:`1px solid ${A.colors.grey2}`},registerOptions:{required:!0,validate:h=>!!h}})})})}):null,k?t.jsx(W,{titleComponent:t.jsx(t.Fragment,{}),descriptionComponent:t.jsx(t.Fragment,{}),primaryButtonText:l.zeniAccountList.addFundsPopUpInfo.primaryButtonText,secondaryButtonText:l.zeniAccountList.addFundsPopUpInfo.secondaryButtonText,action:Le,primaryButtonWidth:130,secondaryButtonWidth:130,containerStyle:{minWidth:352,maxWidth:544,width:"90%"},children:t.jsxs(yn,{children:[t.jsx(Oe,{width:150,height:150,shouldDisplay:!0,animationInLoop:1,styles:{marginBottom:-n.sp4}}),t.jsx(kn,{children:l.zeniAccountList.addFundsPopUpInfo.title}),t.jsx(jn,{children:l.zeniAccountList.addFundsPopUpInfo.description.replace("__rate__",Te).replace("__amount__",te)}),t.jsx(mt,{transferAmount:5e5,currentAccountBalance:0,zeniAccountsConfigDetail:e.zeniAccountsConfig,minStep:.1,setTotalBalance:ze,setYieldEarned:be}),t.jsxs(bn,{children:[t.jsxs(zn,{children:[l.zeniAccountList.transferDrawer.calculator.footerText.annualYieldEarned,t.jsx(An,{children:G("0,0",{amount:je,currencySymbol:"$"})}),t.jsx(fe,{variant:"small-description",maxWidth:"280px",data:l.zeniAccountList.transferDrawer.calculator.footerText.annualYieldEarnedTooltipText,display:"flex",placement:"left",children:t.jsx(vn,{})})]}),t.jsxs(Cn,{children:[l.zeniAccountList.transferDrawer.calculator.footerText.for,Intl.NumberFormat("en",{currency:"USD",notation:"compact",style:"currency",minimumFractionDigits:0}).format(Ae)]})]})]})}):null,ke?t.jsx(W,{titleComponent:t.jsx(ie,{children:l.zeniAccountList.billPayupPopUpInfo.title}),descriptionComponent:t.jsx(ne,{children:l.zeniAccountList.billPayupPopUpInfo.description}),primaryButtonText:l.zeniAccountList.billPayupPopUpInfo.primaryButtonText,secondaryButtonText:l.zeniAccountList.billPayupPopUpInfo.secondaryButtonText,action:Pe,primaryButtonWidth:130,secondaryButtonWidth:130}):null,t.jsx(Ue,{title:l.zeniAccountList.tabsById.zeniAccounts,onBackClick:v,showMenuIcon:I==="medium-compact"||I==="small",backgroundColor:A.colors.grey4,style:{zIndex:3,...z.largeSemiBold.cssObject},rightSideComponent:Me,onClickMenuIcon:T,hideSearchBtn:!0,source:"ZeniAccountListViewPage"}),t.jsx(fn,{isLoading:e.fetchState==="In-Progress",children:t.jsx(Bt,{zeniAccountsConfigDetail:e.zeniAccountsConfig,zeniAccountListView:e,onZeniAccountRowClick:Ce,onAddFundClick:f,handleAddInternalAccountClick:()=>{a.trackAccountsListPageClicked("Add Business Account"),r(!0)},analytics:a,onReloadTransactions:S,maxInsuredAmountString:te,onTreasuryGetStartedClick:M,treasuryYieldPercentage:$,treasuryInsuredAmount:p,showTreasuryPromo:L})})]})},wn=i.div`
390
+ `,{common:wn,spendManagement:{zeniAccounts:l}}=H.getLocalizedStrings(),$e="checkingAccountCreation-form",Rn=({zeniAccountListView:e,analytics:a,maxInsuredAmount:$,isBillPayEnabled:C,isExpressPayEnabled:s,onBackClick:v,onZeniAccountClick:P,onSettingsClick:B,handleMoveMoneyOptionSelection:f,onReloadTransactions:S,onCreateCheckingClick:c,onClickMenuIcon:T,onTreasuryGetStartedClick:M,showTreasuryPromo:L,treasuryYieldPercentage:w,treasuryInsuredAmount:p})=>{const I=K(),y=Ie({mode:"all"}),_=e.newCheckingAccount.fetchState,E=_e(_);g.useEffect(()=>{E==="In-Progress"&&_==="Completed"&&(r(!1),D(!0),y.reset())},[E,_,y]);const A=De(),[R,r]=g.useState(!1),[k,D]=g.useState(!1),[ke,O]=g.useState(!1),[je,be]=g.useState(0),[Ae,ze]=g.useState(0),Ce=(h,U)=>{P(h,U)},ve={pageName:"listPage",onOptionSelection:h=>{h==="payBill"?(a.trackAccountsListPageClicked("Pay Someone"),O(!0)):(h==="sendMoney"?a.trackSendMoneyClick():h==="checkDeposit"?a.trackAccountsListPageClicked("Deposit a Check"):h==="transfer"&&a.trackAccountsListPageClicked("Transfer Between Accounts"),f(h))}},Se={onOkClick:()=>{},onCancelClick:()=>{a.trackAccountsListPageClicked("Add Business Account Cancel"),y.reset(),r(!1)}},Le={onOkClick:()=>{const h=e.depositAccountsSelectorView.depositAccounts.find(U=>U.id===e.newCheckingAccount.accountId);a.trackAccountsListPageClicked("Add Business Account Add Funds"),f("transfer",h),D(!1)},onCancelClick:()=>{a.trackAccountsListPageClicked("Add Business Account Not Now"),D(!1)}},Pe={onOkClick:()=>{a.trackAccountsListPageClicked("Proceed on Bills pop up"),f("payBill"),O(!1)},onCancelClick:()=>{a.trackAccountsListPageClicked("Not Now on Bills pop up"),O(!1)}},Be=y.handleSubmit(h=>{a.trackAccountsListPageClicked("Add Business Account Create"),c?.(h.checkingAccountNickName)}),ee=e.zeniAccountsConfig.zeniAccountsConfigDetail.depositProductConfig.depositProducts,Te=ee[ee.length-1].annualPercentageYield.toString(),te=Ee(Fe($),$,wn.currency.currencySymbol).toUpperCase(),Me=t.jsx(ut,{onSettingsClick:B,isBillPayEnabled:C,isExpressPayEnabled:s,zeniBankProps:ve,analytics:a});return t.jsxs($n,{children:[R?t.jsx(W,{titleComponent:t.jsx(ie,{children:l.zeniAccountList.createPopUpInfo.title}),descriptionComponent:t.jsx(ne,{children:l.zeniAccountList.createPopUpInfo.description}),primaryButtonText:l.zeniAccountList.createPopUpInfo.primaryButtonText,isLoading:e.newCheckingAccount.fetchState==="In-Progress",formId:$e,secondaryButtonText:l.zeniAccountList.createPopUpInfo.secondaryButtonText,style:{background:o.overlayLight},action:Se,children:t.jsx(Ge,{...y,children:t.jsx("form",{id:$e,onSubmit:Be,style:{height:n.sp8,width:"80%",marginBottom:n.sp5},children:t.jsx(Ne,{type:"text",name:"checkingAccountNickName",placeholder:l.zeniAccountList.createPopUpInfo.placeholder,style:{display:"flex",flexGrow:1,cursor:"inherit",height:n.sp7,textAlign:"left",width:"100%",background:Re(y.formState.errors,"checkingAccountNickName")===!0?o.importantLight:A.colors.grey5,border:`1px solid ${A.colors.grey2}`},registerOptions:{required:!0,validate:h=>!!h}})})})}):null,k?t.jsx(W,{titleComponent:t.jsx(t.Fragment,{}),descriptionComponent:t.jsx(t.Fragment,{}),primaryButtonText:l.zeniAccountList.addFundsPopUpInfo.primaryButtonText,secondaryButtonText:l.zeniAccountList.addFundsPopUpInfo.secondaryButtonText,action:Le,primaryButtonWidth:130,secondaryButtonWidth:130,containerStyle:{minWidth:352,maxWidth:544,width:"90%"},children:t.jsxs(yn,{children:[t.jsx(Oe,{width:150,height:150,shouldDisplay:!0,animationInLoop:1,styles:{marginBottom:-n.sp4}}),t.jsx(kn,{children:l.zeniAccountList.addFundsPopUpInfo.title}),t.jsx(jn,{children:l.zeniAccountList.addFundsPopUpInfo.description.replace("__rate__",Te).replace("__amount__",te)}),t.jsx(mt,{transferAmount:5e5,currentAccountBalance:0,zeniAccountsConfigDetail:e.zeniAccountsConfig,minStep:.1,setTotalBalance:ze,setYieldEarned:be}),t.jsxs(bn,{children:[t.jsxs(zn,{children:[l.zeniAccountList.transferDrawer.calculator.footerText.annualYieldEarned,t.jsx(An,{children:G("0,0",{amount:je,currencySymbol:"$"})}),t.jsx(fe,{variant:"small-description",maxWidth:"280px",data:l.zeniAccountList.transferDrawer.calculator.footerText.annualYieldEarnedTooltipText,display:"flex",placement:"left",children:t.jsx(vn,{})})]}),t.jsxs(Cn,{children:[l.zeniAccountList.transferDrawer.calculator.footerText.for,Intl.NumberFormat("en",{currency:"USD",notation:"compact",style:"currency",minimumFractionDigits:0}).format(Ae)]})]})]})}):null,ke?t.jsx(W,{titleComponent:t.jsx(ie,{children:l.zeniAccountList.billPayupPopUpInfo.title}),descriptionComponent:t.jsx(ne,{children:l.zeniAccountList.billPayupPopUpInfo.description}),primaryButtonText:l.zeniAccountList.billPayupPopUpInfo.primaryButtonText,secondaryButtonText:l.zeniAccountList.billPayupPopUpInfo.secondaryButtonText,action:Pe,primaryButtonWidth:130,secondaryButtonWidth:130}):null,t.jsx(Ue,{title:l.zeniAccountList.tabsById.zeniAccounts,onBackClick:v,showMenuIcon:I==="medium-compact"||I==="small",backgroundColor:A.colors.grey4,style:{zIndex:3,...z.largeSemiBold.cssObject},rightSideComponent:Me,onClickMenuIcon:T,hideSearchBtn:!0,source:"ZeniAccountListViewPage"}),t.jsx(fn,{isLoading:e.fetchState==="In-Progress",children:t.jsx(Bt,{zeniAccountsConfigDetail:e.zeniAccountsConfig,zeniAccountListView:e,onZeniAccountRowClick:Ce,onAddFundClick:f,handleAddInternalAccountClick:()=>{a.trackAccountsListPageClicked("Add Business Account"),r(!0)},analytics:a,onReloadTransactions:S,maxInsuredAmountString:te,onTreasuryGetStartedClick:M,treasuryYieldPercentage:w,treasuryInsuredAmount:p,showTreasuryPromo:L})})]})},$n=i.div`
391
391
  display: flex;
392
392
  min-height: 100%;
393
393
  flex-direction: column;
@@ -422,7 +422,7 @@ import{X as Q,a as Ie,a5 as _e,u as De,aJ as Ee,M as X,a0 as Fe,j as t,bO as W,g
422
422
  flex-direction: column;
423
423
  align-items: center;
424
424
  `,An=i.span`
425
- font-weight: ${Ze.medium};
425
+ font-weight: ${qe.medium};
426
426
  margin-left: ${n.sp1};
427
427
  `,zn=i(Ve)`
428
428
  color: ${o.success};
@@ -438,4 +438,4 @@ import{X as Q,a as Ie,a5 as _e,u as De,aJ as Ee,M as X,a0 as Fe,j as t,bO as W,g
438
438
  &:hover {
439
439
  color: ${e=>e.theme.colors.primary};
440
440
  }
441
- `;export{Nn as default};
441
+ `;export{Rn as default};
@@ -0,0 +1,14 @@
1
+ import{w as P,fn as $,l as w,M as B,j as a,Y as O,gn as p,gS as u,o as s,gp as j}from"./index-Dq4DW5h0.js";import{n as d}from"./vendor-CnQcJ2Lu.js";const n=B.getLocalizedStrings().spendManagement.zeniAccounts,m=[{value:"editNickName",label:n.moveMoney.editNickName},{value:"accountStatement",label:n.moveMoney.accountStatement}],y={value:"payBill",label:n.moveMoney.payBills},g={value:"transfer",label:n.moveMoney.transfer},v={value:"sendMoney",label:n.moveMoney.sendMoney,isNew:!0},M={value:"checkDeposit",label:n.moveMoney.checkDeposit},z=[y,g,v,M],E=[v,g,y,M],L=({zeniBankProps:e,isBillPayEnabled:x,isExpressPayEnabled:f,analytics:h,onSettingsClick:S})=>{const i=P(),l=i.loggedInUserRoleMap.deposit_accounts_user===!0||$(i),b=w.hasBillPayAccess(i.loggedInUserRoleMap),k=m.filter(t=>t.value==="accountStatement"),c=x===!0?z:E,r=f===!0?c:c.filter(t=>t.value!=="sendMoney"),N=b?r:r.filter(t=>t.value!=="payBill");return a.jsxs(C,{isTopAlign:e.pageName==="detailPage",children:[e.pageName==="listPage"&&!l?a.jsx(A,{onClick:S,"data-testid":O("zeni-accounts-settings-button")}):e.pageName==="detailPage"&&a.jsx(p,{entity:"zeni_accounts",onOptionSelection:t=>{const o=u(t);o!=null&&e.onOptionSelection(o)},isMoreOption:!0,options:l?k:m,title:n.moveMoney.title}),l?null:a.jsx(p,{entity:"zeni_accounts",onOptionSelection:t=>{const o=u(t);o!=null&&e.onOptionSelection(o)},isMoreOption:!1,options:N,title:n.moveMoney.title,onMenuOpen:()=>h?.trackAccountsListPageClicked("Move Money")})]})},A=d(j)`
2
+ cursor: pointer;
3
+ min-width: ${s.sp4};
4
+ width: ${s.sp4};
5
+ height: ${s.sp4};
6
+ color: ${e=>e.theme.colors.hero};
7
+ &:hover {
8
+ color: ${e=>e.theme.colors.primary};
9
+ }
10
+ `,C=d.div`
11
+ display: flex;
12
+ flex-direction: row;
13
+ align-items: ${({isTopAlign:e})=>e?"flex-start":"center"};
14
+ `;export{L as T};