@zeniai/web-cockpit-ui 1.14.36-qa → 1.14.37-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 (242) hide show
  1. package/dist/assets/{ACHDetailsPage-3oKbHC1_-CPH8w5qf.js → ACHDetailsPage-B-YGNgNu-Bmzj5VCx.js} +1 -1
  2. package/dist/assets/{AIPerformancePage-Cn2skpeY-CCjJ368o.js → AIPerformancePage-BtD_7Ftm-Dc6s17nv.js} +26 -26
  3. package/dist/assets/{AccountInfoPage-Dxnr3s2C-mYTnutAU.js → AccountInfoPage-BtnzwNNq-dHfnRP44.js} +1 -1
  4. package/dist/assets/{AccountInfoPageContent-CMT1vJ_n-DQ3BhCnz.js → AccountInfoPageContent-B4wK76bm-bje-d7jv.js} +30 -30
  5. package/dist/assets/{AccountLockedInfoModal-2GuYlOQJ-BX3E8P3K.js → AccountLockedInfoModal-4JAQCp4H-oFdcTD1v.js} +4 -4
  6. package/dist/assets/{AccountReconDetailsDrawerPage-Cu_lsw9T-BWyP2J7P.js → AccountReconDetailsDrawerPage-Ddi5U4Ae-yt2cu51z.js} +13 -13
  7. package/dist/assets/{AccountRow-BcSPuOPF-Bl8Vk7p2.js → AccountRow-m99usqft-CVwqPSiA.js} +14 -14
  8. package/dist/assets/{AccountsPromoCardStack-Ch88Cvn8-CEnh-d4e.js → AccountsPromoCardStack-D-dhzSE8-DDW4X8m8.js} +30 -30
  9. package/dist/assets/{AddAddressForCardDrawer-Df4OROTJ-roa6Kbp7.js → AddAddressForCardDrawer-Bc7FcxQ9-CPCqNMQu.js} +1 -1
  10. package/dist/assets/{AddToWalletPage-DgVLkIkz-DR75t9Mp.js → AddToWalletPage-y4kvtUka-DDEooDf0.js} +19 -19
  11. package/dist/assets/{AgingReportsPage-M1xr5QPt-DIjA9-NT.js → AgingReportsPage-DrNIGwGn-SYUURrNK.js} +15 -15
  12. package/dist/assets/{AllUserItems-CzMARJS5-Dr-Osj3i.js → AllUserItems-B7zg_GaP-Be7aIkSs.js} +11 -11
  13. package/dist/assets/{ApAgingDetailPage-C3YN724_-8hos2jUo.js → ApAgingDetailPage-DnnUrY0w-YKhaNkmF.js} +3 -3
  14. package/dist/assets/{AppBasePage-CP4BX_QO-DtNH4Uku.js → AppBasePage-Bk7AUQvW-DewGDFAI.js} +16 -16
  15. package/dist/assets/{AppDrawerContent-Dc3UorVz-B203bUTM.js → AppDrawerContent-BoIqLCcg-DSqSJb6O.js} +8 -8
  16. package/dist/assets/{ApprovalRulesSettingsPage-DHw_cGEb-FeAB5p5Z.js → ApprovalRulesSettingsPage-C9F_rLkj-CMuUFv_Y.js} +1 -1
  17. package/dist/assets/ArAgingChart-DIwVIc---JSQnHbrf.js +24 -0
  18. package/dist/assets/{ArAgingDetailPage-BU6gubOU-Cwybk5ti.js → ArAgingDetailPage-DxW2xm-N-C3cyEzON.js} +1 -1
  19. package/dist/assets/{AttachmentView-Cjq9bT2R-ChfqxVCP.js → AttachmentView-BlhBiGC5-BQVXVdi4.js} +6 -6
  20. package/dist/assets/{BankAccountSection-DcBAe_nk-BDZiyC0N.js → BankAccountSection-A8IfSLFo-DZ6IsEkG.js} +5 -5
  21. package/dist/assets/{BankAccountWarningSection-CgdNj2lq-DYMBafFn.js → BankAccountWarningSection-DFi3iK9n-Bwv6p1-d.js} +19 -19
  22. package/dist/assets/{BankConnectionsSettingsPage-DN-l_MKN-D93nWaHf.js → BankConnectionsSettingsPage-CKGG85vp-aivbIsnx.js} +10 -10
  23. package/dist/assets/{BillDetailPage-DSNj9dZa-DtxuLV4-.js → BillDetailPage-BOVwHvyV-BfaeR7sU.js} +11 -11
  24. package/dist/assets/BillPayApprovalRuleDetailPage-BVdiHMjx-H3-_-QUF.js +27 -0
  25. package/dist/assets/{BillPayApprovalRulesPage-3E7Zb7Tv-DCFzCAOs.js → BillPayApprovalRulesPage-Dl45oEp5-Bp4yjfcf.js} +7 -7
  26. package/dist/assets/{BillPayPromoPage-iqi-3PsJ-DMCZpJDo.js → BillPayPromoPage-CEX8Udbv-Bz1WZJJS.js} +32 -32
  27. package/dist/assets/{BillPaySetUpPage-DkBnCNVT-CNLCohDg.js → BillPaySetUpPage-CSfEFV18-C8fnmfrq.js} +2 -2
  28. package/dist/assets/{BillingSettingsPage-Bxl_rTxp-Dt1R5WU3.js → BillingSettingsPage-hu1pz4dA-DIqnmxGS.js} +4 -4
  29. package/dist/assets/{BillsBulkReviewDrawerPage-BAQfge2H-D02R2KEO.js → BillsBulkReviewDrawerPage-DIY4Aa7i-DWQniSAN.js} +1 -1
  30. package/dist/assets/{BoxItem-BiXktaUJ-Dx4UpZnl.js → BoxItem-BnivUbj--D0CHtSbc.js} +1 -1
  31. package/dist/assets/{BusinessVerificationPage-BvtQdbIO-C-4HEjnu.js → BusinessVerificationPage-BZB4KFum-B7vFGHC7.js} +7 -7
  32. package/dist/assets/CardNumberSubText-CIysZ6zp-BeRdb8DH.js +21 -0
  33. package/dist/assets/{CashbackDetailPage-CKSxtvZL-DMy_1ncD.js → CashbackDetailPage-C-MPq54h-Di99A_id.js} +17 -17
  34. package/dist/assets/{ChargeCardDetailPage-Dwb3MwPx-Cyo9oIdd.js → ChargeCardDetailPage-CGyuANsu-BXb0v708.js} +40 -40
  35. package/dist/assets/{ChargeCardListPage-CQ3lUqTC-mqawFLzr.js → ChargeCardListPage-BbzjzgAv-D6IqTZDO.js} +27 -27
  36. package/dist/assets/{ChargeCardListTable-B2MUmgfU-D_shYqbL.js → ChargeCardListTable-D-wd0edv-Ccs8wgch.js} +14 -14
  37. package/dist/assets/{ChargeCardPromoPage-DNZ_qrk1-DBSQWDn9.js → ChargeCardPromoPage-Cs-Xlghn-TDUeeTRa.js} +14 -14
  38. package/dist/assets/{ChargeCardSetupPage-DX4VlcBt-D2BsEuJx.js → ChargeCardSetupPage-CfCGkFxz-Ba3kpJjD.js} +1 -1
  39. package/dist/assets/{ChargeCardStatementsPage-DlVfCfY8-DacvUnhN.js → ChargeCardStatementsPage-Jc6k_2Gg-C9xm6yF8.js} +6 -6
  40. package/dist/assets/ChargeCardUtils-Vw0LoIey-LQKRCzhH.js +1 -0
  41. package/dist/assets/{ChaseOverlay-DYQYE0RM-BNyyunYf.js → ChaseOverlay-Cm-3BKNK-ByPesCFg.js} +8 -8
  42. package/dist/assets/{CheckDepositDrawerPage-C653BICE-kqu99eF3.js → CheckDepositDrawerPage-BAwg3duC-unpJ_-VW.js} +11 -11
  43. package/dist/assets/{CollapsableReportTable-KGZROyWO-Db0w9Rdn.js → CollapsableReportTable-C_qcwMWq-DwhvFgWQ.js} +1 -1
  44. package/dist/assets/{CompanyOfficerDetailsSection-WlKm-fM0-BGoXAhO_.js → CompanyOfficerDetailsSection-_m4C7Xgf-B3wASBKA.js} +30 -30
  45. package/dist/assets/{CompanyPassportCard-BXQt77bL-75HeNLig.js → CompanyPassportCard-BiuPML3b-oaTBtIaM.js} +5 -5
  46. package/dist/assets/{CompanyPassportPage-CdM9x1g7-CU7hHuy1.js → CompanyPassportPage-BHf1pHbJ-Buj_TW7B.js} +29 -29
  47. package/dist/assets/{CompleteProfile-g0ErQlZA-CH_f-t16.js → CompleteProfile-DKEFybHA-C1kFizxR.js} +1 -1
  48. package/dist/assets/{ConfettiBurst-Cu0ce9ZQ-B-O04vC2.js → ConfettiBurst-BvcmPG2b-ZMa2QlEG.js} +1 -1
  49. package/dist/assets/{CreateOrEditVendorPage-Zn--1Mu0-D9gWbjtv.js → CreateOrEditVendorPage-EpWC9Uuv-Dc0tZPg8.js} +8 -8
  50. package/dist/assets/{CreditCardPaymentDrawerPage-BSS4YcVE-CgX6IwV-.js → CreditCardPaymentDrawerPage-DI-za1T2-bRyqVvzT.js} +19 -19
  51. package/dist/assets/{CreditCardPaymentPlgSection-QKLSnyR5-CcwitUra.js → CreditCardPaymentPlgSection-BGu0Am-e-aYbEN-hH.js} +8 -8
  52. package/dist/assets/{CurrencySelectField-DxrwSaJK-CtUHanPt.js → CurrencySelectField-DL628Rog-Bmtvp9OQ.js} +4 -4
  53. package/dist/assets/{CustomerOnboardingActivationPage-BbfI4g9k-BQ3KiLNv.js → CustomerOnboardingActivationPage-DzuWnPaH-_LvR1atL.js} +2 -2
  54. package/dist/assets/CustomerOnboardingContainerPage-BLgcij7A-B0ZyZA5y.js +1 -0
  55. package/dist/assets/{CustomerOnboardingDetailPageSkeleton-DyIeAi4x-sDf2KJmg.js → CustomerOnboardingDetailPageSkeleton-Bx_rpQHj-BvbC0CJP.js} +9 -9
  56. package/dist/assets/{CustomerOnboardingNoStepsPage-BbHZQvuH-Cs54P_au.js → CustomerOnboardingNoStepsPage-CSI_jqkM-BvTSxYdS.js} +2 -2
  57. package/dist/assets/{CustomerOnboardingPage-BGKjRruK-l9abCt_I.js → CustomerOnboardingPage-CuS2FfSh--tD5QTKd.js} +6 -6
  58. package/dist/assets/{CustomerOnboardingProductSuitePage-Cmwfbh1x-CqTz3Oek.js → CustomerOnboardingProductSuitePage-B4HtoU9G-k9fDWiOr.js} +1 -1
  59. package/dist/assets/{Dashboard-DCbGYUNO-Ba0gdUJ8.js → Dashboard-bFhMc4h1-CwTlVIc3.js} +114 -114
  60. package/dist/assets/{DashboardReportPage-7sacscjb-DQsdps8x.js → DashboardReportPage-B1pKZHaH-C002ABtg.js} +19 -19
  61. package/dist/assets/{DashboardSidebarBackgroundAnimation-CcQR2lMq-CdazmDjf.js → DashboardSidebarBackgroundAnimation-CLaTbvuZ-DTILeRgb.js} +1 -1
  62. package/dist/assets/{DepositAccTransactionItem-u7kiVxu3-kPzkE3jM.js → DepositAccTransactionItem-DnzXR7B4-BzeCDAAx.js} +3 -3
  63. package/dist/assets/DepositAccTransactionListPage-C0F0N3XK-CpXVyO43.js +66 -0
  64. package/dist/assets/{DomesticWireDetailsPage-CjliTPRp-DDFMQRln.js → DomesticWireDetailsPage-BS3N4ATj-Z9M0LUQc.js} +1 -1
  65. package/dist/assets/{DownloadOverlay-LzyYQ7X7-C1kfy2nO.js → DownloadOverlay-yXed0RbK-CILknCuS.js} +1 -1
  66. package/dist/assets/{DrawerPage-DVu3OGym-CoS-_2wf.js → DrawerPage-LV8__F8R-DnqAUVKa.js} +5 -5
  67. package/dist/assets/{EditPeoplePage-COZuksUu-COZ99MkR.js → EditPeoplePage-GBNK0lo_-DOfo7pqS.js} +5 -5
  68. package/dist/assets/{EditReimbursementDetailPage-P7gybbTe-DoN5gC4Y.js → EditReimbursementDetailPage-COApDpVm-BQmgcdfZ.js} +59 -59
  69. package/dist/assets/{EntityDetailPage-CMAFiXng-5jgc6gJM.js → EntityDetailPage-DdZmhyPX-DWJHl4Bk.js} +2 -2
  70. package/dist/assets/{EntitySummarySection-BezHSTT7-44jzqjl2.js → EntitySummarySection-Cn7rnQeI-CBO7wVuQ.js} +5 -5
  71. package/dist/assets/{ExpenseAutomationOverviewPage-CX5wpbbp-BFiisz1L.js → ExpenseAutomationOverviewPage-ipXT_MCO-bp6l5ftT.js} +17 -17
  72. package/dist/assets/ExpenseAutomationPage-BXyGtnBz-BNGaSmRn.js +1650 -0
  73. package/dist/assets/{ExpressPayPage-KpzY-AC4-MUf8Bliz.js → ExpressPayPage-C0J3X657-nQamsxue.js} +9 -9
  74. package/dist/assets/{FeaturePreviewPage-T7VgNi57-DfDILGAW.js → FeaturePreviewPage-lIDKDiwy-ByXy-FSZ.js} +2 -2
  75. package/dist/assets/{FollowStepsSection-BffVXexb-D3pEbTc3.js → FollowStepsSection-CtCRMD2R-CbwNNmmr.js} +23 -23
  76. package/dist/assets/{GlobalReviewListPage-DPJug-7p-Dl-cd64S.js → GlobalReviewListPage-DXPuMshX-BcxIk4p1.js} +14 -14
  77. package/dist/assets/{HelpButton-BkxT0f9t-BbQSDGRC.js → HelpButton-Dmp2RZDD-B2Rab4OD.js} +4 -4
  78. package/dist/assets/{InformationCardStack-CiO7p4bX-Do2a1fQI.js → InformationCardStack-bpQXbFWJ-Cm38YEZv.js} +4 -4
  79. package/dist/assets/{InsightsCardStack-CCx4eRv0-CLWY9RSw.js → InsightsCardStack-BzyYnnH_-BColy9W-.js} +9 -9
  80. package/dist/assets/{InsightsSection-CQRpIy9c-Cv1jNfx6.js → InsightsSection-BVjjBkzp-DdtTOhLh.js} +4 -4
  81. package/dist/assets/{IntegrationsSettingsPage-CDHIF3ky-DtZ5IA9g.js → IntegrationsSettingsPage-DjMaGIv9-C8FJSTfl.js} +3 -3
  82. package/dist/assets/{InternationalWireSwiftDetailsPage-BTB0YTLP-n6XtyIV1.js → InternationalWireSwiftDetailsPage-DXYaOaYh-D23V0HqY.js} +13 -13
  83. package/dist/assets/{InternationalWireVerificationPage-DZAa5CXK-DbY47A1b.js → InternationalWireVerificationPage-yPrzoGA9-BxdDeF-a.js} +10 -10
  84. package/dist/assets/{InviteFormPage-CVIA_4cc-eg7gJ7Ox.js → InviteFormPage-xQ6xN_gt-BMpnhTIU.js} +20 -20
  85. package/dist/assets/{InvitePageListView-BapkK9dR-BVEYyyQ6.js → InvitePageListView-BmkX934z-BfZaFs-7.js} +40 -40
  86. package/dist/assets/InvitePeoplePage-BxxEjVs5-CabY1R7G.js +12 -0
  87. package/dist/assets/{InvoiceUploadSection-CfoxMKse-CDjglzly.js → InvoiceUploadSection-BxfSI49h-Brw0wgV3.js} +6 -6
  88. package/dist/assets/{IssueChargeCardPage-DoNxoxCV-CmM-tr_7.js → IssueChargeCardPage-ByK_ayX6-rSu6Sks_.js} +22 -22
  89. package/dist/assets/{LabeledAddressValue-DzKLuwO0-DH63jMra.js → LabeledAddressValue-Bk-opSoh-CfhrR6VE.js} +1 -1
  90. package/dist/assets/LabeledAddressValueField-RFI4bpOj-V_HSBjtL.js +45 -0
  91. package/dist/assets/{LabeledControlledCheckBoxField-BsXmJGaz-sGVdJyTH.js → LabeledControlledCheckBoxField-DtVQoSev-CxGQ4PV5.js} +1 -1
  92. package/dist/assets/{LabeledCreatableSingleSelectField-CNcoKtBi-Bc2UKXaN.js → LabeledCreatableSingleSelectField-BFmP_-GA-Dc6F7WMx.js} +2 -2
  93. package/dist/assets/{LabeledDocumentField-DB-XX9hy-mKhff6Yn.js → LabeledDocumentField-CyW3tPI--BGc7rzmx.js} +3 -3
  94. package/dist/assets/{LabeledDropDownFormattedTextField-ChF-tfZl-DZO5Gtru.js → LabeledDropDownFormattedTextField-_b5VDmOJ-XXRUXuQU.js} +3 -3
  95. package/dist/assets/{LabeledText-DQjY46zj-up0sQhsW.js → LabeledText-Bc8QavrT-DRMQG5Fd.js} +1 -1
  96. package/dist/assets/{LabeledUserSingleSelectWithSubtitlesField-Dg_jyvIT-oTL0jcAw.js → LabeledUserSingleSelectWithSubtitlesField-CE-MxVSk-Bf2C7jq-.js} +7 -7
  97. package/dist/assets/{LabeledZeniRolesDropDownField-qeHXm7K1-C_80YZK_.js → LabeledZeniRolesDropDownField-BqlbDyA1-Z63nBo8a.js} +6 -6
  98. package/dist/assets/{LinkJETransactionPage-DWq96C-C-DRgB8kQY.js → LinkJETransactionPage-DE8ch_W7-BbSoAkGH.js} +6 -6
  99. package/dist/assets/{LowBalancePopup-DIu4EJtv-rczMO9N_.js → LowBalancePopup-DWXEyi2S-BS-B0i1n.js} +4 -4
  100. package/dist/assets/{MagicLinkACHDetailsPage-0uTQmYPp-BzrnVjRN.js → MagicLinkACHDetailsPage-CJ57XAxp-B8DWH8Pe.js} +1 -1
  101. package/dist/assets/{MagicLinkDomesticWireDetailsPage-CtkSDg_U-DAUSWNXX.js → MagicLinkDomesticWireDetailsPage-Ba1gbLAX-C3b71Pt2.js} +1 -1
  102. package/dist/assets/{MagicLinkInternationalWireDetailsPage-qNEvVVcm-BLVdFllq.js → MagicLinkInternationalWireDetailsPage-U3ygf3uO-B8lQWMEo.js} +1 -1
  103. package/dist/assets/{MagicLinkSuccessPage-D4C3XF4W-CxC7T2yq.js → MagicLinkSuccessPage-CGjxH6Hl-BGgftVAk.js} +1 -1
  104. package/dist/assets/{MagicLinkTitleSection-DXZCLfIM-Kc9li2Mz.js → MagicLinkTitleSection-Dzfctx8H-BBKMnm9G.js} +9 -9
  105. package/dist/assets/{MailingDetailsSection-7_w5PfFQ-l-Ms2dZv.js → MailingDetailsSection-N-M1JzkW-CJwTbRpR.js} +6 -6
  106. package/dist/assets/{MeetingCalenderPopup-2P6uhLqh-Bv6Y7JYF.js → MeetingCalenderPopup-BJgsd-6e-BVSiedfG.js} +1 -1
  107. package/dist/assets/{Menu-Ya9EH9T1-PA0M0_dJ.js → Menu-DCl4YiCd-B0YQHXqY.js} +1 -1
  108. package/dist/assets/{MyBankConnectionsSettingsPage-Bz9BP12B-DFEjaiEQ.js → MyBankConnectionsSettingsPage-BZP3Dbes-DmpNjSAQ.js} +11 -11
  109. package/dist/assets/{MyPendingActivationChargeCardListPage-BxFFCBYU-J7pq_dIc.js → MyPendingActivationChargeCardListPage-Cc8Onh73-CbDOi7oK.js} +2 -2
  110. package/dist/assets/{MyProfileSettingsPage-BRTEYBf1-CImsulwL.js → MyProfileSettingsPage-7YrgIr-M-ZiI_qPOd.js} +11 -11
  111. package/dist/assets/{NavBarWithPicker-Cx1ldzdT-DvbtCcQI.js → NavBarWithPicker-Bbu7_9sU-Drz87Xca.js} +4 -4
  112. package/dist/assets/{NavigationArrow-Cic_S7sL-ckG0aVUi.js → NavigationArrow-DNJkGq5e-CFURJ7Q6.js} +1 -1
  113. package/dist/assets/{NavigationDots-BnqdhDar-Cev6ZyTd.js → NavigationDots-BDhrBzmw-D1HC0qJi.js} +1 -1
  114. package/dist/assets/{NewGlobalMerchantPage-BMLnV68V-BCfbjcR4.js → NewGlobalMerchantPage-DSyitl-a-Cmd_Uf-_.js} +11 -11
  115. package/dist/assets/{NoDataChart-CyIzcvzb-Dem0-EFr.js → NoDataChart-Bww-GG_z-Bc_skb_f.js} +3 -3
  116. package/dist/assets/{NoDataTable-Cf9Qv-ms-CRyA81-u.js → NoDataTable-DRSEE7HT-D9jhDjAA.js} +1 -1
  117. package/dist/assets/{NotFoundPage-BP2jA51O-CIcxo9pO.js → NotFoundPage-BepvWGxk-DxNfmeBZ.js} +4 -4
  118. package/dist/assets/{NotificationSettingsPage-Bhj72XzL-DVOSzeQy.js → NotificationSettingsPage-CR6XVZlL-wDdA0j9g.js} +17 -17
  119. package/dist/assets/NotificationsListConfig-CBjTcLzj-jvVy89VO.js +1 -0
  120. package/dist/assets/{NotificationsPage-DEQ0muyV-Bv0NHOnt.js → NotificationsPage-BgUc61wf-BZgONaPK.js} +29 -29
  121. package/dist/assets/{OpExByVendorPage-BPvIdjMh-TNiWMr5D.js → OpExByVendorPage-BkgsQ4lY-7o0GC3_0.js} +6 -6
  122. package/dist/assets/{OverlayContainerPage-Bmu909Fo--5yg6Tax.js → OverlayContainerPage-Bmu909Fo-C009NgjC.js} +1 -1
  123. package/dist/assets/{PandLWithForecastPage-CgMYDel--CkSNRDaI.js → PandLWithForecastPage-B0pUD9U8-DO8PheB4.js} +6 -6
  124. package/dist/assets/{PaymentAccountSetupBillingAddressSection-CfUpfrt6-BW_SKK1b.js → PaymentAccountSetupBillingAddressSection-YvYPpyzH-C8eu7aCq.js} +12 -12
  125. package/dist/assets/{PeoplePage-BrL4O-03-DC4TJAlL.js → PeoplePage-mobCML9r-CoCd3iyK.js} +18 -18
  126. package/dist/assets/{PortfolioAllocationFormPage-C24sa7Lv-CS9exMuD.js → PortfolioAllocationFormPage-CB9lfs6z-DLoszR7s.js} +7 -7
  127. package/dist/assets/{PortfolioDetails-wAtPiO4w-DtXhftWz.js → PortfolioDetails-zYYGkoC--vz6_lm4y.js} +23 -23
  128. package/dist/assets/{ProductsCarousel-B8KxzJsX-D-U3TnaP.js → ProductsCarousel-B4zdUn5q-DoM0qjnT.js} +5 -5
  129. package/dist/assets/{PromoBaseCards-DKu8lmMb-BIMtIVy2.js → PromoBaseCards-CgGg3lpk-Dz6RYIDW.js} +3 -3
  130. package/dist/assets/{QBOConnectionDialog-CSRVcpvB-C3IWq6r8.js → QBOConnectionDialog-BBVBEJWA-dgJxEpfC.js} +9 -9
  131. package/dist/assets/{QBOSetupSection-CwO2OwTA-lgs-jkrv.js → QBOSetupSection-pBOQk_mE-Dd7Gnjqf.js} +10 -10
  132. package/dist/assets/ReimbursementApprovalRuleDetailPage-Ck2KbJ_R-BX6Ge_l2.js +26 -0
  133. package/dist/assets/{ReimbursementApprovalRulesPage-CWZIqbqf-BTn_SLR-.js → ReimbursementApprovalRulesPage-D7LTvUrz-DlssbBj8.js} +32 -32
  134. package/dist/assets/{ReimbursementDetailPage-DaiOed8i-DwZH8KtK.js → ReimbursementDetailPage-CbgWCawo-C7_BdWis.js} +8 -8
  135. package/dist/assets/{ReimbursementPromoPage-CTpCa9C7-DXsIPlPa.js → ReimbursementPromoPage-DmV5eoIo-DOkiivOI.js} +6 -6
  136. package/dist/assets/{ReimbursementSetUpPage-Cd0w6zdZ-DGtqM3KM.js → ReimbursementSetUpPage-kAlaG5Ag-CleK9Kyi.js} +3 -3
  137. package/dist/assets/ReimbursementsBulkReviewDrawerPage-70qXVn3v-C1moxDIU.js +1 -0
  138. package/dist/assets/{ReloadCard-D8XT-nw--BV8bnUyY.js → ReloadCard-DoOxxK_q-CpkIPzoZ.js} +5 -5
  139. package/dist/assets/{ReportTableViewSelector-kf12PTIw-DworDG8i.js → ReportTableViewSelector-7OJVsL-G-DHAAlp0N.js} +10 -10
  140. package/dist/assets/{ReportsPage-D0dEACVc-DgIJNvPU.js → ReportsPage-29ims7Ks-DeqwxbGw.js} +9 -9
  141. package/dist/assets/{RevenueChart-D67Egnoj-BPCWUSxJ.js → RevenueChart-CLtUUYr5-BiKK-4fc.js} +14 -14
  142. package/dist/assets/{ReviewDetailsPage-DX3JdY2D-D3dyGngD.js → ReviewDetailsPage-DNDzoyA5-DEPI6irg.js} +5 -5
  143. package/dist/assets/{ReviewOverlay-BUmIoEZp-D2ymNLjK.js → ReviewOverlay-VleZWRhn-92ozUwMn.js} +4 -4
  144. package/dist/assets/{RoleWithToolTip-QUDWRgyn-CpllGBka.js → RoleWithToolTip-DsEos8I_-DRhh0Kxb.js} +1 -1
  145. package/dist/assets/{ScheduleDetailsFixedAssetsPage-ffFbqWqR-CjimSP3l.js → ScheduleDetailsFixedAssetsPage-Cv84NP5--DgtnhyGw.js} +4 -4
  146. package/dist/assets/{ScheduleDetailsPage-Btyinpxx-BEc7XiII.js → ScheduleDetailsPage-D4IKW5z6-Dgpd_Bt3.js} +3 -3
  147. package/dist/assets/{ScheduleSequenceTable-nubG9ZPF-BREfUXr4.js → ScheduleSequenceTable-qHcZL82y-hvYO0uf8.js} +17 -17
  148. package/dist/assets/{ScreenRoutes-Dgea21fw.js → ScreenRoutes-BMiRN1n5.js} +1 -1
  149. package/dist/assets/SetUpAccountSection-CjOOpWa2-DlvlGnwo.js +378 -0
  150. package/dist/assets/{SetUpDefaultSection-D54P9sLQ-BDnsJt2v.js → SetUpDefaultSection-Ax1FuH_A-CyAf_lFy.js} +9 -9
  151. package/dist/assets/{SignIn-DQERofSd-oBlnYa-P.js → SignIn-Bj2czf21-DLn_5Hl2.js} +11 -11
  152. package/dist/assets/{SignInScreen-B2EaGJl8.js → SignInScreen-EkV2uFui.js} +1 -1
  153. package/dist/assets/{SpendManagementListViewPage-B9iJVZhK-CRCiUJ6M.js → SpendManagementListViewPage-7oQurX8D-Btm2dsFE.js} +10 -10
  154. package/dist/assets/{SpendManagementPerTabPage-DiduNPFx-D9oqLhbJ.js → SpendManagementPerTabPage-DG8qRSeQ-DkldK9oK.js} +12 -12
  155. package/dist/assets/{SpendManagementSection-BPJDk9AQ-DYJYXq75.js → SpendManagementSection-CzGLKJ01-CMEY5Je9.js} +5 -5
  156. package/dist/assets/{SpendMgmtSetupAccountSection-BVOwbOVv-DBEGxYJg.js → SpendMgmtSetupAccountSection-BSuY_zqo-DgJtGLqh.js} +6 -6
  157. package/dist/assets/StatementItem-teWYG-k5-DINRmcX_.js +31 -0
  158. package/dist/assets/{StatementsPage-BzG0fWr9-C2WmykTu.js → StatementsPage-Kqug4TjC-i8j_G7aT.js} +6 -6
  159. package/dist/assets/{StatusSwitcher-aZiGS6I4-SJleRIpV.js → StatusSwitcher-BXzanE6h-DMj6aTv0.js} +4 -4
  160. package/dist/assets/{SubTabSwitcher-BPzCR9_G-BHHHtmm3.js → SubTabSwitcher-Dc78MPYF-BBOjByHP.js} +1 -1
  161. package/dist/assets/{SummaryCard-DE3DiW4z-Ob-uwEAE.js → SummaryCard-DDpG4vry-B5U4mOGE.js} +1 -1
  162. package/dist/assets/{TaskManagementPage-bmYzZzlx-CIXVz4DA.js → TaskManagementPage-DQXNMGNK-CKRAR0zh.js} +14 -14
  163. package/dist/assets/{TimeRangeSwitcher-D10b_iT0-jUwxoenx.js → TimeRangeSwitcher-BQL2dhVh-BEcsPUsE.js} +3 -3
  164. package/dist/assets/{TimeframeSwitcher-w4308CL0-DnYzOk2-.js → TimeframeSwitcher-CXvrXTdI-C26WdHZR.js} +1 -1
  165. package/dist/assets/{TimeframeSwitcherWithToggle-DP7dCTZ--DkJE5OK1.js → TimeframeSwitcherWithToggle-C_hQ5Vj--Bx-1-ivl.js} +1 -1
  166. package/dist/assets/{TopExCard-C9Dwe5gi-LPUiisav.js → TopExCard-CmajFYfY-r8AKz4at.js} +6 -6
  167. package/dist/assets/{TopExDetailPage-Ch4gEAFc-jqF5sDN8.js → TopExDetailPage-DNfBQfSC-C7SERVmo.js} +14 -14
  168. package/dist/assets/TransactionDetailPage-DZPHVxna-gW9ty_N8.js +912 -0
  169. package/dist/assets/{TransactionList-Dy4LSOLF-B2cK80Yz.js → TransactionList-DifBTNrV-XDxlPwJi.js} +5 -5
  170. package/dist/assets/{TransactionListBig-BOmqcsRt-D39HjkKA.js → TransactionListBig-Bjmt3Xib-2_W_aEC_.js} +13 -13
  171. package/dist/assets/{TransactionListPage-D1XobIP_-DbIWZvtt.js → TransactionListPage-CpFiD4Aw-CR2PsPHW.js} +4 -4
  172. package/dist/assets/TransactionVendorDetailPage-BSZ4IBis-BYhm_gdm.js +80 -0
  173. package/dist/assets/{TransferDrawerPage-DEK-tLwC-BhvXBxPn.js → TransferDrawerPage-CiGIqLHQ-D46lOtpY.js} +19 -19
  174. package/dist/assets/{TreasuryOverviewPage-Bv8YOcOu-C7TfPiOx.js → TreasuryOverviewPage-C21g82G6-DYbFAWwM.js} +45 -45
  175. package/dist/assets/{TreasuryPromoPage-BpJ4G2tW-DW2PWamd.js → TreasuryPromoPage-lNMQil_1-N_uS5Aq-.js} +21 -21
  176. package/dist/assets/{TreasurySetupPage-DmXhUnJ2-Cr-EQ97Y.js → TreasurySetupPage-CHjK0p7r-CRu0aFPY.js} +2 -2
  177. package/dist/assets/{TreasuryStatementsPage-iOhX7bQX-BrrdMHEz.js → TreasuryStatementsPage-CKAdFoHY-CmvodGfK.js} +3 -3
  178. package/dist/assets/{TreasuryTaxLetterPage-SKYFef4J-CF457mMz.js → TreasuryTaxLetterPage-DPdcmb53-THnCfe4J.js} +3 -3
  179. package/dist/assets/{TreasuryTransferOrReviewPage-BAQy6UbF-BsouYAgP.js → TreasuryTransferOrReviewPage-DmGpNvWn-BuegZV7_.js} +42 -42
  180. package/dist/assets/{TrendChart-DrNmAOxp-CpCLfpDT.js → TrendChart-BJF_aBUS-9NcnnooQ.js} +4 -4
  181. package/dist/assets/{TrendWithTransactions-CFapbjqF-Br032y4x.js → TrendWithTransactions-DXSMdecG-qeajZlKV.js} +5 -5
  182. package/dist/assets/{UncategorizedAccountsMappingPage-BjyEIyD--CJ52UqmE.js → UncategorizedAccountsMappingPage-DMiXdRb9-CRgBjITM.js} +15 -15
  183. package/dist/assets/{UnitIntegrationPage-CMRuNXKH-CCL29gsJ.js → UnitIntegrationPage-Dqakwr1P-QWF0IWfi.js} +2 -2
  184. package/dist/assets/{UploadAdditionalDocumentOverlay-BJNFsBN7-BRmVDWYA.js → UploadAdditionalDocumentOverlay-DOy8Wvxm-COI977Ym.js} +2 -2
  185. package/dist/assets/{Vendor2FAPopup-Dk_XUHkP-B8kBbJMI.js → Vendor2FAPopup-DR_Uif4s-CCjiwhTD.js} +1 -1
  186. package/dist/assets/{VendorACHDetailsPage-DS1-IldK-9pon97Cr.js → VendorACHDetailsPage-_nmRyuvM-BAqZ8tTf.js} +1 -1
  187. package/dist/assets/{VendorDetailPage-CzECD1Tt-BN9kblu_.js → VendorDetailPage-DYhBGXTe-B5kyd9_T.js} +8 -8
  188. package/dist/assets/{VendorDomesticWireDetailsPage-Bd-dOP2Q-CLGAbLU-.js → VendorDomesticWireDetailsPage-OzrrojiZ-CWHL3BiA.js} +1 -1
  189. package/dist/assets/{VendorFiling1099EditablePage-C7D_fWCV-Bw_MeqVp.js → VendorFiling1099EditablePage-C6i7dipR-DmIuqd6b.js} +14 -14
  190. package/dist/assets/{VendorFirstReviewPage-B4YffYJO-FqqXdwEH.js → VendorFirstReviewPage-DrelrPYn-CtZKswhg.js} +10 -10
  191. package/dist/assets/{VendorInternationalWireDetailsPage-D1i4RwUe-FAsqO0N8.js → VendorInternationalWireDetailsPage-BglZ4_v2-DWh5FNhJ.js} +7 -7
  192. package/dist/assets/{VendorInternationalWireSwiftDetailsPage-QqA8DADQ-BBMTCc4u.js → VendorInternationalWireSwiftDetailsPage-MKHHcDL4-D4F7IynK.js} +1 -1
  193. package/dist/assets/{VendorsAccountsSection-C8qo0vKx-DHEG4Ulc.js → VendorsAccountsSection-COwLgrG_-BeiJbKgP.js} +2 -2
  194. package/dist/assets/{VerifyDevice-Cku9_tdW-DHMIA102.js → VerifyDevice-FO7331hS-BHG8lbd_.js} +1 -1
  195. package/dist/assets/{VideoPlayer-DqxblGWn-CC-4yIuC.js → VideoPlayer-C7GWTYSG-C3qJA87L.js} +1 -1
  196. package/dist/assets/{VideoPopup-8253nBrT-C3Ehghs3.js → VideoPopup-CB0BXhOA-BgnE8vln.js} +5 -5
  197. package/dist/assets/{WarningsDrawerPage-B08Au4yQ-DzAdN-8l.js → WarningsDrawerPage-B081ksn8-BvnCWJxm.js} +7 -7
  198. package/dist/assets/{ZeniAccountDetailPage-Dx-w2w6D-B6oW0HxJ.js → ZeniAccountDetailPage-Bbx7ge3Z-BwrSFwiV.js} +16 -16
  199. package/dist/assets/{ZeniAccountListViewPage-DH4BnQ7k-BNii6Mpd.js → ZeniAccountListViewPage-CgOxwjk1-Cy-Kh2JX.js} +13 -13
  200. package/dist/assets/ZeniAccountNavBarPieces-BkN8_5Zi-BtKjHrnJ.js +14 -0
  201. package/dist/assets/{ZeniAccountPromoPage-D4J2Yoil-tLr0vhWS.js → ZeniAccountPromoPage-DrMHkTuM-DZxJwu1v.js} +9 -9
  202. package/dist/assets/{ZeniAccountSetupPage-DTkO1ASr-DqUJFMW_.js → ZeniAccountSetupPage-BCpKadR1-BZqzR_uG.js} +3 -3
  203. package/dist/assets/{ZeniCopyright-BiSq0yhI-CxxSPrfu.js → ZeniCopyright-juRAWlbw-DJRbuiIq.js} +1 -1
  204. package/dist/assets/ZeniTransferAmountSlider-BtI1L6UN-f_1E8Iwf.js +63 -0
  205. package/dist/assets/{analyticsHelper-B0gC8iX8.js → analyticsHelper-Bgft_1pJ.js} +1 -1
  206. package/dist/assets/{analyticsHelper-Dc3DtVTm-BSgNWv9S.js → analyticsHelper-DQQo4LQc-Dpi2pZTl.js} +1 -1
  207. package/dist/assets/{chartTypes-C7uaeRCc-CF1IJ0Zr.js → chartTypes-eqxFaFS5-B43Gm107.js} +1 -1
  208. package/dist/assets/{commonDimensions-MaxjMSVa-DDS6Yz-X.js → commonDimensions-C2hbzHZW-OFUCUhbG.js} +1 -1
  209. package/dist/assets/{detailCommon-OK9JA2hc-D4iEvwhr.js → detailCommon-fC811KkH-D6H3c8Ux.js} +6 -6
  210. package/dist/assets/{downloadPdf-QtapKpnq-DihLy_-C.js → downloadPdf-CgcD1OYw-ZvBiL7F-.js} +1 -1
  211. package/dist/assets/{index-DHx5ymlr.js → index-Du1ejFtI.js} +3415 -3415
  212. package/dist/assets/{mapLoadingInProgressToTreeNode-pvoDlh5w-C7nLUjSw.js → mapLoadingInProgressToTreeNode-CM7N02af-DstULqSu.js} +1 -1
  213. package/dist/assets/{mapSectionWithAcOnlyToTreeNode-CVUpGQKE-BV5TzbPA.js → mapSectionWithAcOnlyToTreeNode-MzhgtFpc-aX7osQA1.js} +1 -1
  214. package/dist/assets/{mapSpacerToTreeNode-P_HzYMUQ-Kk9cgUyq.js → mapSpacerToTreeNode-C7hklF---Dg7CM6wp.js} +1 -1
  215. package/dist/assets/{mapTimeframeBalancesToTreeNode-CB6RE8w9-D9jDxGg8.js → mapTimeframeBalancesToTreeNode-CEJ9v-Q3-B6zmleAa.js} +1 -1
  216. package/dist/assets/{mapTimeframeBalancesToTreeNode-B8xJouuF-CcCEjtJw.js → mapTimeframeBalancesToTreeNode-D36HLTqR-CiOqATy_.js} +1 -1
  217. package/dist/assets/{mapTimeframeHeaderLoadingInProgressToTreeNode-BAAatv-Y-B059Dtrr.js → mapTimeframeHeaderLoadingInProgressToTreeNode-BhdfWhpd-Diyt9jMU.js} +1 -1
  218. package/dist/assets/{toCOABalancesWithID-JkvOa9nR-BYwMYYAo.js → toCOABalancesWithID-DCFbumLL-BUL3FzIP.js} +1 -1
  219. package/dist/assets/{toChartData-CEfu5Lvp-DjmLr2R6.js → toChartData-Dh9v_zba-IkjT0Y7p.js} +1 -1
  220. package/dist/assets/{treasuryColorHelper-Bvcahv9r-BlMw_nJe.js → treasuryColorHelper-ZXa62meg-C9-TrKv9.js} +1 -1
  221. package/dist/assets/{uploadAttachment-DNrYcaTL-Cholr_W4.js → uploadAttachment-DOhn3y-C-AUYll2HA.js} +14 -14
  222. package/dist/assets/{uploadReceipts-dxsKhm9I-ArZe3dEq.js → uploadReceipts-dxsKhm9I-Cdyoe2Us.js} +1 -1
  223. package/dist/index.html +1 -1
  224. package/package.json +4 -4
  225. package/dist/assets/ArAgingChart-D6396NAQ-D9EGzoVz.js +0 -24
  226. package/dist/assets/BillPayApprovalRuleDetailPage-Bn_93mxC-D5SkQUAQ.js +0 -27
  227. package/dist/assets/CardNumberSubText-usoiubBx-QXbkZUhG.js +0 -21
  228. package/dist/assets/ChargeCardUtils-i4In9Us5-C9THFfoq.js +0 -1
  229. package/dist/assets/CustomerOnboardingContainerPage-DkXWw44M-CKyWwY0E.js +0 -1
  230. package/dist/assets/DepositAccTransactionListPage-BTMDl7KO-CpgQjnLH.js +0 -66
  231. package/dist/assets/ExpenseAutomationPage-CaeVli6J-D_RBOInw.js +0 -1650
  232. package/dist/assets/InvitePeoplePage-ChM26gAd-tkyY1YVT.js +0 -12
  233. package/dist/assets/LabeledAddressValueField-C-fJPbDr-si3fj6mD.js +0 -45
  234. package/dist/assets/NotificationsListConfig-BcRqz3T--_kCrOUBW.js +0 -1
  235. package/dist/assets/ReimbursementApprovalRuleDetailPage-DWAgRWah-B-JT-bmK.js +0 -26
  236. package/dist/assets/ReimbursementsBulkReviewDrawerPage-D_IG6Yzl-Bw_bWRdV.js +0 -1
  237. package/dist/assets/SetUpAccountSection-C9PPpmcc-BwjqbpIO.js +0 -378
  238. package/dist/assets/StatementItem-DPiBruWm-BYcMr1Ax.js +0 -31
  239. package/dist/assets/TransactionDetailPage-y3Jwxln6-XqloTW5v.js +0 -912
  240. package/dist/assets/TransactionVendorDetailPage-DNbFFCAy-BUiP7F5k.js +0 -80
  241. package/dist/assets/ZeniAccountNavBarPieces-ce5jAGIl-aolww07f.js +0 -14
  242. package/dist/assets/ZeniTransferAmountSlider-B-iWjIM--DoQjJC_n.js +0 -63
@@ -1,4 +1,4 @@
1
- import{u as Ie,e as Ve,x as Ue,a2 as M,a as Be,ca as $e,l as ze,M as _e,a8 as G,j as t,cP as Re,f as Le,C as r,aX as We,m as qe,F as Ne,dO as He,o as B,v as Me,aS as Ge,a4 as Je,r as a,y as Xe}from"./index-DHx5ymlr.js";import{b as p,n as S}from"./vendor-rkTZJa59.js";import{D as Ke}from"./HelpButton-BkxT0f9t-BbQSDGRC.js";import{q as Qe}from"./SetUpDefaultSection-D54P9sLQ-BDnsJt2v.js";import{f as Ye,y as J}from"./SpendMgmtSetupAccountSection-BVOwbOVv-DBEGxYJg.js";import{x as Ze}from"./LabeledControlledCheckBoxField-BsXmJGaz-sGVdJyTH.js";import{g as et}from"./UploadAdditionalDocumentOverlay-BJNFsBN7-BRmVDWYA.js";import"./mui-C42whWwM.js";import"./analytics-B3n5JGPc.js";import"./routing-VwiwPky5.js";import"./sentry-osuhWjvS.js";import"./redux-2gfZRks6.js";import"./liveblocks-CP09Cz-7.js";import"./crypto-BDNqpTKX.js";import"./MeetingCalenderPopup-2P6uhLqh-Bv6Y7JYF.js";import"./ChargeCardUtils-i4In9Us5-C9THFfoq.js";import"./CreditCardPaymentPlgSection-QKLSnyR5-CcwitUra.js";import"./ChaseOverlay-DYQYE0RM-BNyyunYf.js";const c={titleWidth:new r(343,580,726,826),setupDetailsRowGap:new r(12,a[5],a[5]),sectionRowGap:new r(a[5],a[9],a[9]),iconWidthHeight:new r(20,a[4]),subTitlePaddingTop:new r(12,a[3]),subTitlePaddingBottom:new r(a[3],a[3]),overlayWidth:new r(100,100,59),checkBoxTop:new r(a[1],a[0])},X="chargeCardSetUpPage",f="payAccount",{commonSetUp:tt,spendManagement:nt}=_e.getLocalizedStrings(),{chargeCard:Y}=nt,{chargeCardSetUp:m}=Y,{setUp:$}=tt,Tt=({autoPayThreshold:e,isDisabled:x,meetingUrl:T,isEarlyPayEnabled:g,chargeCardSetUpView:o,connectedAccountProvider:Z,filesEndPoint:ee,authParams:te,isAccountsEnabled:ne,isDebitCardOnlyEnabled:v,isCreditCardOnlyEnabled:ie,accountsPromoConfig:oe,onFetchLinkTokenClick:ae,onBackClick:ce,onEnableChargeCardClick:se,onUpdateChargeCardClick:le,onBusinessVerificationSectionClick:re,onUpdatePaymentAccountStatus:de,onUpdatePaymentAccountLoginStatus:ue,onUpdatePrimaryFundingAccount:pe,onUpdateAutoPayClick:me,onEstablishConnectionClick:fe,onEstablishConnectionSuccess:ge,onClickMenuIcon:he,onEnableChargeCardSuccess:P,onEditFileName:ye,onDeleteFile:be,updateFilesEntity:Ce,onCompanyOfficerUpdated:Se,onSendForVerificationClick:xe,onSignUpClick:Pe})=>{const h=Ie(),i=Ve(),E=Ue().analytics,[w,y]=p.useState(!1),{fetchState:b,companyBillPayInfo:z,isRefreshingViewInBackground:we,updateStatus:d,accountUpdateStatus:Ae,plaidConnectionDetails:ke,allBankAccounts:Te,companyChargeCardInfo:F,companyDebitCardInfo:_,selectedCompanyOfficer:s,primaryFundingAccount:l,allFundingAccounts:R}=o,L=M(b),A=M(d.fetchState),j=Be({mode:"all",reValidateMode:"onChange",defaultValues:p.useMemo(()=>K(o),[o]),values:K(o)}),ve=j.handleSubmit(se),Ee=async(C,k)=>{const n=k[f];if(C.includes(f))if(C.includes("fundingAccount")){if(n.fundingAccount.selectedOption!=null&&l?.id!=n.fundingAccount.selectedOption){const u=R.find(U=>U.id===n.fundingAccount.selectedOption);u!=null&&pe(n.fundingAccount.selectedOption,u.accType)}}else if(n.account.selectedOption!=null&&l?.id!=null&&l?.zeniAccountId!=n.account.selectedOption){const u=n.account.allOptions.find(U=>U.value===n.account.selectedOption);u!=null&&typeof u.label=="string"&&E.trackConnectBankLink(u.value,u.label,"charge_cards"),le(n.account.selectedOption,l.id,l.accType)}else C.includes("enableAutoPay")&&n.enableAutoPay!=null&&me(n.enableAutoPay)};p.useEffect(()=>{const C=j.watch((k,{name:n})=>{n!=null&&k!=null&&$e(()=>Ee(n,k))});return()=>{C.unsubscribe()}}),p.useEffect(()=>{!w&&s?.additionalDocumentTypesRequestedForVerification.includes("social_security_card")===!0&&s.areAdditionalDocumentsRequestedForVerification&&!s.areAdditionalDocumentsSubmittedForVerification&&s.userVerificationStatus?.code==="require_info"&&y(!0),w&&L==="In-Progress"&&b==="Completed"&&y(!1)},[s,b,L]),p.useEffect(()=>{A==="In-Progress"&&d.fetchState==="Completed"&&P()},[P,A,d.fetchState]);const D=F?.isChargeCardEnabled===!0,O=_?.isDebitCardEnabled===!0,W=_?.isDebitCardTOSAccepted===!0,q=F?.isChargeCardTOSAccepted===!0,N=z?.isBusinessVerified===!0,Fe=l?.accType==="depositAccount"||ze.isVerifiedPaymentAccountProviderStatusCode(l?.providerVerificationStatus?.code??""),I=v?N:N&&Fe,je=b==="In-Progress"||b==="Not-Started";p.useEffect(()=>{A==="In-Progress"&&d.fetchState==="Completed"&&P()},[P,A,d.fetchState]);const V=v?I&&!O&&W:ie?I&&!D&&q:I&&!(D&&O)&&q&&W,De=V?m.setupSubTitleNotEnabled:m.setupSubTitle,H=h.mode==="light"?new G(h.colors.brandColorJadeLight):new G(h.colors.brandColorJadeDark),Oe=()=>{!w&&s?.additionalDocumentTypesRequestedForVerification.includes("social_security_card")===!0&&s.areAdditionalDocumentsRequestedForVerification&&!s.areAdditionalDocumentsSubmittedForVerification&&s.userVerificationStatus?.code==="require_info"?y(!0):re?.()};return t.jsxs(ot,{children:[t.jsx(Re,{anchor:"right",PaperProps:{style:{width:c.overlayWidth.valuePercentage(i),boxShadow:"none"}},open:w,onClose:()=>y(!1),style:{backgroundColor:Le.drawerBackground},transitionDuration:250,children:t.jsx(et,{authParams:te,filesEndPoint:ee,updateStatus:d,onEditFileName:ye,onDeleteFile:be,updateFilesEntity:Ce,companyOfficer:s,onClose:()=>y(!1),onCompanyOfficerUpdated:Se,onSendForVerificationClick:xe})}),t.jsx(We,{title:m.setupTitle,backgroundColor:h.colors.grey4,style:{zIndex:3},onBackClick:ce,showMenuIcon:!D&&!O&&(i==="medium-compact"||i==="small"),onClickMenuIcon:he,source:"ChargeCardSetupPage"}),t.jsxs(it,{windowSize:i,children:[t.jsx(at,{windowSize:i,children:De}),je?t.jsx(ct,{children:t.jsx(qe,{size:"ExtraLarge",start:!0})}):t.jsx(Ne,{...j,children:t.jsx("form",{id:Q(X),onSubmit:ve,children:t.jsxs(st,{windowSize:i,children:[t.jsx(Qe,{onClick:Oe,title:$.businessVerificationTitle,subTitle:$.businessVerificationSubTitle,header:$.businessVerificationHeader,icon:{element:t.jsx(He,{width:c.iconWidthHeight.valuePx(i),height:c.iconWidthHeight.valuePx(i)}),color:H},status:z?.businessVerificationStatus,isLoading:we,isActiveWhileLoading:!0}),v?null:t.jsx(Ye,{connectedAccountProvider:Z,primaryFundingAccount:l,allFundingAccounts:R,plaidConnectionDetails:ke,allBankAccounts:Te,sectionId:f,isDisabled:x,onFetchLinkTokenClick:ae,onEstablishConnectionClick:fe,onUpdatePaymentAccountStatus:de,onUpdatePaymentAccountLoginStatus:ue,sectionTitle:m.setupAccountSectionTitle,onEstablishConnectionSuccess:ge,icon:{element:t.jsx(Ge,{width:c.iconWidthHeight.valuePx(i),height:c.iconWidthHeight.valuePx(i)}),color:H},analytics:E,productType:"charge_cards",isAccountsEnabled:ne,onSignUpClick:Pe,pageName:m.pageName,accountsPromoConfig:oe,accountSelectContainerStyle:g?{marginBottom:"20px"}:{},bottomComponent:g&&t.jsx(Ze,{label:{label:Y.payEarly.enableAutoPay.replace("__autoPayThreshold__",e.toString()),style:{color:h.colors.primary,...Me.smallRegular.cssObject,alignItems:"center"}},style:{width:"unset",marginRight:B.sp4,marginTop:B.sp1,alignItems:i==="small"?"flex-start":"center"},checkBoxField:{name:J(f,"enableAutoPay"),checkBoxValue:J(f,"enableAutoPay"),defaultChecked:F?.isAutoPayEnabled,style:{top:c.checkBoxTop.valuePx(i)}}})})]})})})]}),V?t.jsx(Je,{formId:Q(X),primaryBtn:{label:m.enableAccounts,style:{width:"auto",minWidth:i==="small"?"auto":"181px"},isLoading:d.fetchState==="In-Progress"||Ae.fetchState==="In-Progress",isDisabled:x!=null},showCancel:!1,cancelBtn:{label:""},style:{padding:`12px ${B.sp3}`}}):null,t.jsx(Ke,{isFooterRendered:V,meetingUrl:T,analytics:E,productType:"charge_cards"})]})},K=e=>{const{allBankAccounts:x,allFundingAccounts:T,primaryFundingAccount:g}=e;return{[f]:{fundingAccount:{selectedOption:g?.id,allOptions:T.map(o=>({label:o.label,value:o.id,isRecommended:o.accType==="depositAccount"}))},account:{selectedOption:g?.zeniAccountId,allOptions:x.map(o=>({label:o.accountName,value:o.accountId}))},enableAutoPay:e.companyChargeCardInfo?.isAutoPayEnabled}}},Q=e=>`${e}_form`,it=S.div`
1
+ import{u as Ie,e as Ve,x as Be,a2 as M,a as Ue,ca as $e,l as ze,B as _e,a8 as G,j as t,cP as Re,g as Le,C as r,aX as We,m as qe,F as Ne,dO as He,o as U,v as Me,aS as Ge,a4 as Je,q as a,t as Xe}from"./index-Du1ejFtI.js";import{b as p,n as S}from"./vendor-rkTZJa59.js";import{D as Ke}from"./HelpButton-Dmp2RZDD-B2Rab4OD.js";import{q as Qe}from"./SetUpDefaultSection-Ax1FuH_A-CyAf_lFy.js";import{f as Ye,y as J}from"./SpendMgmtSetupAccountSection-BSuY_zqo-DgJtGLqh.js";import{x as Ze}from"./LabeledControlledCheckBoxField-DtVQoSev-CxGQ4PV5.js";import{g as et}from"./UploadAdditionalDocumentOverlay-DOy8Wvxm-COI977Ym.js";import"./mui-C42whWwM.js";import"./analytics-B3n5JGPc.js";import"./routing-VwiwPky5.js";import"./sentry-osuhWjvS.js";import"./redux-2gfZRks6.js";import"./liveblocks-CP09Cz-7.js";import"./crypto-BDNqpTKX.js";import"./MeetingCalenderPopup-BJgsd-6e-BVSiedfG.js";import"./ChargeCardUtils-Vw0LoIey-LQKRCzhH.js";import"./CreditCardPaymentPlgSection-BGu0Am-e-aYbEN-hH.js";import"./ChaseOverlay-Cm-3BKNK-ByPesCFg.js";const c={titleWidth:new r(343,580,726,826),setupDetailsRowGap:new r(12,a[5],a[5]),sectionRowGap:new r(a[5],a[9],a[9]),iconWidthHeight:new r(20,a[4]),subTitlePaddingTop:new r(12,a[3]),subTitlePaddingBottom:new r(a[3],a[3]),overlayWidth:new r(100,100,59),checkBoxTop:new r(a[1],a[0])},X="chargeCardSetUpPage",g="payAccount",{commonSetUp:tt,spendManagement:nt}=_e.getLocalizedStrings(),{chargeCard:Y}=nt,{chargeCardSetUp:m}=Y,{setUp:$}=tt,Tt=({autoPayThreshold:e,isDisabled:x,meetingUrl:T,isEarlyPayEnabled:h,chargeCardSetUpView:o,connectedAccountProvider:Z,filesEndPoint:ee,authParams:te,isAccountsEnabled:ne,isDebitCardOnlyEnabled:v,isCreditCardOnlyEnabled:ie,accountsPromoConfig:oe,onFetchLinkTokenClick:ae,onBackClick:ce,onEnableChargeCardClick:se,onUpdateChargeCardClick:le,onBusinessVerificationSectionClick:re,onUpdatePaymentAccountStatus:de,onUpdatePaymentAccountLoginStatus:ue,onUpdatePrimaryFundingAccount:pe,onUpdateAutoPayClick:me,onEstablishConnectionClick:ge,onEstablishConnectionSuccess:he,onClickMenuIcon:fe,onEnableChargeCardSuccess:P,onEditFileName:ye,onDeleteFile:be,updateFilesEntity:Ce,onCompanyOfficerUpdated:Se,onSendForVerificationClick:xe,onSignUpClick:Pe})=>{const f=Ie(),i=Ve(),E=Be().analytics,[w,y]=p.useState(!1),{fetchState:b,companyBillPayInfo:z,isRefreshingViewInBackground:we,updateStatus:d,accountUpdateStatus:Ae,plaidConnectionDetails:ke,allBankAccounts:Te,companyChargeCardInfo:F,companyDebitCardInfo:_,selectedCompanyOfficer:s,primaryFundingAccount:l,allFundingAccounts:R}=o,L=M(b),A=M(d.fetchState),j=Ue({mode:"all",reValidateMode:"onChange",defaultValues:p.useMemo(()=>K(o),[o]),values:K(o)}),ve=j.handleSubmit(se),Ee=async(C,k)=>{const n=k[g];if(C.includes(g))if(C.includes("fundingAccount")){if(n.fundingAccount.selectedOption!=null&&l?.id!=n.fundingAccount.selectedOption){const u=R.find(B=>B.id===n.fundingAccount.selectedOption);u!=null&&pe(n.fundingAccount.selectedOption,u.accType)}}else if(n.account.selectedOption!=null&&l?.id!=null&&l?.zeniAccountId!=n.account.selectedOption){const u=n.account.allOptions.find(B=>B.value===n.account.selectedOption);u!=null&&typeof u.label=="string"&&E.trackConnectBankLink(u.value,u.label,"charge_cards"),le(n.account.selectedOption,l.id,l.accType)}else C.includes("enableAutoPay")&&n.enableAutoPay!=null&&me(n.enableAutoPay)};p.useEffect(()=>{const C=j.watch((k,{name:n})=>{n!=null&&k!=null&&$e(()=>Ee(n,k))});return()=>{C.unsubscribe()}}),p.useEffect(()=>{!w&&s?.additionalDocumentTypesRequestedForVerification.includes("social_security_card")===!0&&s.areAdditionalDocumentsRequestedForVerification&&!s.areAdditionalDocumentsSubmittedForVerification&&s.userVerificationStatus?.code==="require_info"&&y(!0),w&&L==="In-Progress"&&b==="Completed"&&y(!1)},[s,b,L]),p.useEffect(()=>{A==="In-Progress"&&d.fetchState==="Completed"&&P()},[P,A,d.fetchState]);const D=F?.isChargeCardEnabled===!0,O=_?.isDebitCardEnabled===!0,W=_?.isDebitCardTOSAccepted===!0,q=F?.isChargeCardTOSAccepted===!0,N=z?.isBusinessVerified===!0,Fe=l?.accType==="depositAccount"||ze.isVerifiedPaymentAccountProviderStatusCode(l?.providerVerificationStatus?.code??""),I=v?N:N&&Fe,je=b==="In-Progress"||b==="Not-Started";p.useEffect(()=>{A==="In-Progress"&&d.fetchState==="Completed"&&P()},[P,A,d.fetchState]);const V=v?I&&!O&&W:ie?I&&!D&&q:I&&!(D&&O)&&q&&W,De=V?m.setupSubTitleNotEnabled:m.setupSubTitle,H=f.mode==="light"?new G(f.colors.brandColorJadeLight):new G(f.colors.brandColorJadeDark),Oe=()=>{!w&&s?.additionalDocumentTypesRequestedForVerification.includes("social_security_card")===!0&&s.areAdditionalDocumentsRequestedForVerification&&!s.areAdditionalDocumentsSubmittedForVerification&&s.userVerificationStatus?.code==="require_info"?y(!0):re?.()};return t.jsxs(ot,{children:[t.jsx(Re,{anchor:"right",PaperProps:{style:{width:c.overlayWidth.valuePercentage(i),boxShadow:"none"}},open:w,onClose:()=>y(!1),style:{backgroundColor:Le.drawerBackground},transitionDuration:250,children:t.jsx(et,{authParams:te,filesEndPoint:ee,updateStatus:d,onEditFileName:ye,onDeleteFile:be,updateFilesEntity:Ce,companyOfficer:s,onClose:()=>y(!1),onCompanyOfficerUpdated:Se,onSendForVerificationClick:xe})}),t.jsx(We,{title:m.setupTitle,backgroundColor:f.colors.grey4,style:{zIndex:3},onBackClick:ce,showMenuIcon:!D&&!O&&(i==="medium-compact"||i==="small"),onClickMenuIcon:fe,source:"ChargeCardSetupPage"}),t.jsxs(it,{windowSize:i,children:[t.jsx(at,{windowSize:i,children:De}),je?t.jsx(ct,{children:t.jsx(qe,{size:"ExtraLarge",start:!0})}):t.jsx(Ne,{...j,children:t.jsx("form",{id:Q(X),onSubmit:ve,children:t.jsxs(st,{windowSize:i,children:[t.jsx(Qe,{onClick:Oe,title:$.businessVerificationTitle,subTitle:$.businessVerificationSubTitle,header:$.businessVerificationHeader,icon:{element:t.jsx(He,{width:c.iconWidthHeight.valuePx(i),height:c.iconWidthHeight.valuePx(i)}),color:H},status:z?.businessVerificationStatus,isLoading:we,isActiveWhileLoading:!0}),v?null:t.jsx(Ye,{connectedAccountProvider:Z,primaryFundingAccount:l,allFundingAccounts:R,plaidConnectionDetails:ke,allBankAccounts:Te,sectionId:g,isDisabled:x,onFetchLinkTokenClick:ae,onEstablishConnectionClick:ge,onUpdatePaymentAccountStatus:de,onUpdatePaymentAccountLoginStatus:ue,sectionTitle:m.setupAccountSectionTitle,onEstablishConnectionSuccess:he,icon:{element:t.jsx(Ge,{width:c.iconWidthHeight.valuePx(i),height:c.iconWidthHeight.valuePx(i)}),color:H},analytics:E,productType:"charge_cards",isAccountsEnabled:ne,onSignUpClick:Pe,pageName:m.pageName,accountsPromoConfig:oe,accountSelectContainerStyle:h?{marginBottom:"20px"}:{},bottomComponent:h&&t.jsx(Ze,{label:{label:Y.payEarly.enableAutoPay.replace("__autoPayThreshold__",e.toString()),style:{color:f.colors.primary,...Me.smallRegular.cssObject,alignItems:"center"}},style:{width:"unset",marginRight:U.sp4,marginTop:U.sp1,alignItems:i==="small"?"flex-start":"center"},checkBoxField:{name:J(g,"enableAutoPay"),checkBoxValue:J(g,"enableAutoPay"),defaultChecked:F?.isAutoPayEnabled,style:{top:c.checkBoxTop.valuePx(i)}}})})]})})})]}),V?t.jsx(Je,{formId:Q(X),primaryBtn:{label:m.enableAccounts,style:{width:"auto",minWidth:i==="small"?"auto":"181px"},isLoading:d.fetchState==="In-Progress"||Ae.fetchState==="In-Progress",isDisabled:x!=null},showCancel:!1,cancelBtn:{label:""},style:{padding:`12px ${U.sp3}`}}):null,t.jsx(Ke,{isFooterRendered:V,meetingUrl:T,analytics:E,productType:"charge_cards"})]})},K=e=>{const{allBankAccounts:x,allFundingAccounts:T,primaryFundingAccount:h}=e;return{[g]:{fundingAccount:{selectedOption:h?.id,allOptions:T.map(o=>({label:o.label,value:o.id,isRecommended:o.accType==="depositAccount"}))},account:{selectedOption:h?.zeniAccountId,allOptions:x.map(o=>({label:o.accountName,value:o.accountId}))},enableAutoPay:e.companyChargeCardInfo?.isAutoPayEnabled}}},Q=e=>`${e}_form`,it=S.div`
2
2
  display: flex;
3
3
  justify-content: flex-start;
4
4
  height: 100%;
@@ -1,4 +1,4 @@
1
- import{u as F,e as T,j as t,aX as W,M as R,o as h,C as w,y as B,ao as O,x as Q,h7 as V,_,m as q,r as s,bz as G}from"./index-DHx5ymlr.js";import{n as i,b as J}from"./vendor-rkTZJa59.js";import{$ as U,g as X}from"./BoxItem-BiXktaUJ-Dx4UpZnl.js";import{w as H}from"./downloadPdf-QtapKpnq-DihLy_-C.js";import"./mui-C42whWwM.js";import"./analytics-B3n5JGPc.js";import"./routing-VwiwPky5.js";import"./sentry-osuhWjvS.js";import"./redux-2gfZRks6.js";import"./liveblocks-CP09Cz-7.js";import"./crypto-BDNqpTKX.js";import"./commonDimensions-MaxjMSVa-DDS6Yz-X.js";const Y=R.getLocalizedStrings().months,A={downloadButtonSize:new w(s[4],20)},K=i.div`
1
+ import{u as F,e as T,j as t,aX as W,B,o as h,C as w,t as R,ao as q,x as O,h6 as V,$ as G,m as J,q as s,bz as Q}from"./index-Du1ejFtI.js";import{n as i,b as U}from"./vendor-rkTZJa59.js";import{$ as X,g as _}from"./BoxItem-BnivUbj--D0CHtSbc.js";import{w as H}from"./downloadPdf-CgcD1OYw-ZvBiL7F-.js";import"./mui-C42whWwM.js";import"./analytics-B3n5JGPc.js";import"./routing-VwiwPky5.js";import"./sentry-osuhWjvS.js";import"./redux-2gfZRks6.js";import"./liveblocks-CP09Cz-7.js";import"./crypto-BDNqpTKX.js";import"./commonDimensions-C2hbzHZW-OFUCUhbG.js";const Y=B.getLocalizedStrings().months,A={downloadButtonSize:new w(s[4],20)},K=i.div`
2
2
  display: flex;
3
3
  padding: ${h.sp3} ${h.sp4};
4
4
  flex-direction: row;
@@ -8,7 +8,7 @@ import{u as F,e as T,j as t,aX as W,M as R,o as h,C as w,y as B,ao as O,x as Q,h
8
8
  justify-content: space-between;
9
9
  align-items: center;
10
10
  width: 100%;
11
- `,ee=i(B)`
11
+ `,ee=i(R)`
12
12
  display: -webkit-box;
13
13
  -webkit-box-orient: vertical;
14
14
  -webkit-line-clamp: 1;
@@ -19,7 +19,7 @@ import{u as F,e as T,j as t,aX as W,M as R,o as h,C as w,y as B,ao as O,x as Q,h
19
19
  overflow: hidden;
20
20
  `,te=i.div`
21
21
  cursor: pointer;
22
- `,ae=i(G)`
22
+ `,ae=i(Q)`
23
23
  width: ${e=>A.downloadButtonSize.valuePx(e.windowSize)};
24
24
  height: ${e=>A.downloadButtonSize.valuePx(e.windowSize)};
25
25
  min-height: ${e=>A.downloadButtonSize.valuePx(e.windowSize)};
@@ -27,9 +27,9 @@ import{u as F,e as T,j as t,aX as W,M as R,o as h,C as w,y as B,ao as O,x as Q,h
27
27
  &:hover {
28
28
  color: ${e=>e.theme.colors.primary};
29
29
  }
30
- `;function ie({currentTenantCompanyName:e,data:r,index:n,controllerEmails:l,isDebitCardFeatureEnabled:a,isDebitCardSetupEnabled:o,chargeCardCashbackDetailState:d,depositAccountListWithDebitCardIssued:g,debitCardSummary:C,productInformation:y,creditAccountInformation:S,debitAccountInformation:$,cashbackInformation:f,creditAccountRepayment:j,authParams:P,downloadEndPoint:k,boxType:I}){const b=Q().analytics,[v,z]=J.useState(!1),c=T(),E=Y[r.monthYearPeriod.month-1],p=`${e}-Credit-Card-Monthly-Statement-${Y[r.monthYearPeriod.month-1]}-${r.monthYearPeriod.year}.pdf`,m={period:`${r.monthYearPeriod.year}-${V(r.monthYearPeriod.month)}`,format:"pdf"},u=t.jsx(K,{children:t.jsxs(Z,{children:[t.jsx(ee,{children:E}),t.jsx(te,{"data-testid":_("download-card-statement"),onClick:()=>{d.fetchState==="Completed"&&j.fetchState==="Completed"&&(!(a&&o)||g.fetchState==="Completed"&&C?.fetchState==="Completed")&&f!=null&&b.trackCardsDownloadClick(l,y,f,{fileCategory:"Credit Card Statement",fileType:"pdf",fileName:p,fileMonthYear:`${Y[r.monthYearPeriod.month-1]} ${r.monthYearPeriod.year}`},"Credit Card Statements",n+1,S,$),H(`${k}/statements?query=${encodeURIComponent(JSON.stringify(m))}`,p,P,z)},children:v?t.jsx(q,{size:"Small",start:!0}):t.jsx(ae,{windowSize:c})})]})});return t.jsx(X,{content:u,boxType:I,isDisabled:!1,isNotClickable:!0})}const M=R.getLocalizedStrings().spendManagement.chargeCard.statements,x={listItemMarginLeftRight:new w(s[3],s[8]),containerMarginTop:new w(s[0],s[2]),titleMarginLeftRight:new w(s[3],s[8])},je=({currentTenantCompanyName:e,authParams:r,controllerEmails:n,productInformation:l,cashbackInformation:a,creditAccountInformation:o,debitAccountInformation:d,isChargeCardFeatureEnabled:g,isDebitCardFeatureEnabled:C,isDebitCardSetupEnabled:y,isChargeCardSetupEnabled:S,chargeCardCashbackDetailState:$,depositAccountListWithDebitCardIssued:f,creditAccountRepayment:j,debitCardSummary:P,creditAccount:k,downloadEndPoint:I,statementListView:b,onBackClick:v})=>{const z=F(),c=T(),{sortedYear:E,monthsByYearWithSortedMonth:p}=me(b.statements);return t.jsxs(se,{children:[t.jsx(W,{title:M.title,backgroundColor:z.colors.grey4,style:{zIndex:3},onBackClick:v,source:"ChargeCardStatementsPage"}),t.jsx(ce,{windowSize:c,children:b.statements.length===0?t.jsx(L,{children:t.jsx(de,{children:t.jsx(N,{windowSize:c,children:t.jsx(le,{children:M.noStatements})})})}):t.jsx(re,{children:E.map(m=>t.jsxs(ne,{children:[t.jsx(oe,{windowSize:c,children:m}),t.jsx(L,{children:p[m].map((u,D)=>t.jsx(N,{windowSize:c,children:t.jsx(ie,{productInformation:l,creditAccountInformation:o,debitAccountInformation:d,cashbackInformation:a,creditAccountRepayment:j,depositAccountListWithDebitCardIssued:f,debitCardSummary:P,controllerEmails:n,isChargeCardFeatureEnabled:g,isDebitCardFeatureEnabled:C,isDebitCardSetupEnabled:y,isChargeCardSetupEnabled:S,chargeCardCashbackDetailState:$,creditAccount:k,currentTenantCompanyName:e,index:D,data:u,authParams:r,downloadEndPoint:I,boxType:U(D,p[m].length)},u.id)},u.id))})]},m))})})]})},re=i.div``,ne=i.div`
30
+ `;function ie({currentTenantCompanyName:e,data:r,index:n,controllerEmails:l,isDebitCardFeatureEnabled:a,isDebitCardSetupEnabled:o,chargeCardCashbackDetailState:d,depositAccountListWithDebitCardIssued:g,debitCardSummary:C,productInformation:S,creditAccountInformation:y,debitAccountInformation:$,cashbackInformation:f,creditAccountRepayment:j,authParams:P,downloadEndPoint:k,boxType:I}){const b=O().analytics,[v,z]=U.useState(!1),c=T(),E=Y[r.monthYearPeriod.month-1],p=`${e}-Credit-Card-Monthly-Statement-${Y[r.monthYearPeriod.month-1]}-${r.monthYearPeriod.year}.pdf`,m={period:`${r.monthYearPeriod.year}-${V(r.monthYearPeriod.month)}`,format:"pdf"},u=t.jsx(K,{children:t.jsxs(Z,{children:[t.jsx(ee,{children:E}),t.jsx(te,{"data-testid":G("download-card-statement"),onClick:()=>{d.fetchState==="Completed"&&j.fetchState==="Completed"&&(!(a&&o)||g.fetchState==="Completed"&&C?.fetchState==="Completed")&&f!=null&&b.trackCardsDownloadClick(l,S,f,{fileCategory:"Credit Card Statement",fileType:"pdf",fileName:p,fileMonthYear:`${Y[r.monthYearPeriod.month-1]} ${r.monthYearPeriod.year}`},"Credit Card Statements",n+1,y,$),H(`${k}/statements?query=${encodeURIComponent(JSON.stringify(m))}`,p,P,z)},children:v?t.jsx(J,{size:"Small",start:!0}):t.jsx(ae,{windowSize:c})})]})});return t.jsx(_,{content:u,boxType:I,isDisabled:!1,isNotClickable:!0})}const M=B.getLocalizedStrings().spendManagement.chargeCard.statements,x={listItemMarginLeftRight:new w(s[3],s[8]),containerMarginTop:new w(s[0],s[2]),titleMarginLeftRight:new w(s[3],s[8])},je=({currentTenantCompanyName:e,authParams:r,controllerEmails:n,productInformation:l,cashbackInformation:a,creditAccountInformation:o,debitAccountInformation:d,isChargeCardFeatureEnabled:g,isDebitCardFeatureEnabled:C,isDebitCardSetupEnabled:S,isChargeCardSetupEnabled:y,chargeCardCashbackDetailState:$,depositAccountListWithDebitCardIssued:f,creditAccountRepayment:j,debitCardSummary:P,creditAccount:k,downloadEndPoint:I,statementListView:b,onBackClick:v})=>{const z=F(),c=T(),{sortedYear:E,monthsByYearWithSortedMonth:p}=me(b.statements);return t.jsxs(se,{children:[t.jsx(W,{title:M.title,backgroundColor:z.colors.grey4,style:{zIndex:3},onBackClick:v,source:"ChargeCardStatementsPage"}),t.jsx(ce,{windowSize:c,children:b.statements.length===0?t.jsx(L,{children:t.jsx(de,{children:t.jsx(N,{windowSize:c,children:t.jsx(le,{children:M.noStatements})})})}):t.jsx(re,{children:E.map(m=>t.jsxs(ne,{children:[t.jsx(oe,{windowSize:c,children:m}),t.jsx(L,{children:p[m].map((u,D)=>t.jsx(N,{windowSize:c,children:t.jsx(ie,{productInformation:l,creditAccountInformation:o,debitAccountInformation:d,cashbackInformation:a,creditAccountRepayment:j,depositAccountListWithDebitCardIssued:f,debitCardSummary:P,controllerEmails:n,isChargeCardFeatureEnabled:g,isDebitCardFeatureEnabled:C,isDebitCardSetupEnabled:S,isChargeCardSetupEnabled:y,chargeCardCashbackDetailState:$,creditAccount:k,currentTenantCompanyName:e,index:D,data:u,authParams:r,downloadEndPoint:I,boxType:X(D,p[m].length)},u.id)},u.id))})]},m))})})]})},re=i.div``,ne=i.div`
31
31
  margin-bottom: ${h.sp6};
32
- `,L=i.div``,oe=i(O)`
32
+ `,L=i.div``,oe=i(q)`
33
33
  margin-left: ${e=>x.titleMarginLeftRight.valuePx(e.windowSize)};
34
34
  margin-bottom: ${h.sp3};
35
35
  `,N=i.div`
@@ -48,7 +48,7 @@ import{u as F,e as T,j as t,aX as W,M as R,o as h,C as w,y as B,ao as O,x as Q,h
48
48
  flex-direction: column;
49
49
  width: 100%;
50
50
  padding-bottom: ${h.sp7};
51
- `,le=i(B)`
51
+ `,le=i(R)`
52
52
  display: flex;
53
53
  color: ${e=>e.theme.colors.grey2};
54
54
  `,ce=i.div`
@@ -0,0 +1 @@
1
+ import{fl as D,B,dt as c,l as S}from"./index-Du1ejFtI.js";function A(e){const a=e.match(/\d+/g);if(!a||a.length!==3)return null;const r=parseInt(a[0]),d=parseInt(a[1]),t=parseInt(a[2]);return"#"+(1<<24|r<<16|d<<8|t).toString(16).slice(1)}const L=({signedInUserToken:e,showSecretInfo:a,setShowPhoneNumberPopup:r,onFireOnClickAnalytics:d,setShowSecretInfo:t})=>{(e==null||e.expiry.isBefore(S.dateNow()))&&a===!1?(r(!0),d("verify card details")):e?.token!=null&&a===!1?t(!0):e?.token!=null&&a===!0&&t(!1)},F=e=>e.includes("credit")?"credit":"debit",{dateFormat:s}=B.getLocalizedStrings(),N=({chargeCardDetailView:e,classListFetchState:a,analytics:r,isChargeCardFeatureEnabled:d,creditAccount:t,pageName:o,addToWalletType:i,creditAccountRepayment:l,isDebitCard:n,isChargeCardAdmin:m,cardIssuedByRoles:u,cardIssuedByDepartmentName:h,cardHolderRoles:C,cardHolderDepartmentName:g,controllerEmails:p,productInformation:y,creditAccountInformation:f,debitAccountInformation:I})=>{e.chargeCard!=null&&a==="Completed"&&(!d||t.fetchState==="Completed"&&l.fetchState==="Completed")&&(!(n&&m)||e.depositAccountLimitFetchState.fetchState==="Completed")&&r.trackCardsAddToWalletClick(p,y,{cardId:e.chargeCard.id,cardName:e.chargeCard.cardName,cardType:F(e.chargeCard.type.code),cardCategory:e.chargeCard.type.code.includes("physical")?"physical":"virtual",cardLimit:D(e.chargeCard.limit.amount),cardLastFourDigits:e.chargeCard.accountLast4,cardStatus:e.chargeCard.status.code,cardAssignedDate:e.chargeCard.createTime?.format(s.analytics.MMMDashDDDashYYYYFormat),cardIssuedDate:e.chargeCard.providerCardCreateTime?.format(s.analytics.MMMDashDDDashYYYYFormat),cardLimitFrequency:e.chargeCard.creditLimitFrequency.name},{cardIssuedByName:c(e.chargeCard.cardCreatedByUser,!1),cardIssuedByEmail:e.chargeCard.cardCreatedByUser?.email,cardIssuedByUserId:e.chargeCard.cardCreatedByUser?.userId,cardIssuedByRole:u,cardIssuedByDepartment:h},{cardholderName:c(e.chargeCard.cardHolderUser,!1),cardholderEmail:e.chargeCard.cardHolderUser?.email,cardholderRole:C,cardholderUserId:e.chargeCard.cardHolderUser?.userId,cardholderDepartment:g},o,i,f,I)},b=(e,a)=>{if(e<=0)return 0;const r=e-a;return Math.round(r/e*100)},M=e=>e.limit.amount-e.available.amount,Y="1.75";export{F,N as H,A as L,b as M,L as U,M as _,Y as b};
@@ -1,4 +1,4 @@
1
- import{e as J,fj as W,fk as Y,M as Z,j as t,f as x,q as ee,K as N,_ as c,o as s,C as m,s as te,y as ie,ao as se,bv as oe,dE as re,r as l,ap as _,az as A,a7 as ne,fl as le,w as ae,cx as de,aR as ce}from"./index-DHx5ymlr.js";import{b as p,n as o}from"./vendor-rkTZJa59.js";const u={width:new m(350,624,624),height:new m(600,730,730),paddingLeft:new m(l[4],l[8],l[8]),paddingRight:new m(l[4],l[7],l[7])};function Be(e){const d=J(),[,K]=W(),{isMobileOrTabletScreen:g}=Y(),[y,k]=p.useState(!0),[j,S]=p.useState(!0),[z,C]=p.useState(!1),[T,M]=p.useState(!1),r=Z.getLocalizedStrings().commonSetUp.chaseOverlay,U=r.title,q=r.description,V=()=>{window.open(r.chaseVideoUrl,"_blank")},L=[0,1,2,3],P=i=>i<L.length-1,D=(i,n)=>{K(i??""),n?k(!1):S(!1)},B=i=>{i?C(!0):M(!0)},E=i=>{i?C(!1):M(!1)};p.useEffect(()=>{y===!1&&setTimeout(()=>{k(!0)},2e3),j===!1&&setTimeout(()=>{S(!0)},2e3)},[y,j]);const G=()=>{const i=r.step1;return t.jsxs($,{children:[t.jsx(Ce,{"data-testid":c("chase-overlay-signin-link"),href:r.chaseSigninUrl,target:"_blank",rel:"noreferrer noopener",children:i.text1}),i.text2,t.jsxs(a,{children:[" ",i.text3]}),i.text4,t.jsxs(a,{children:[" ",i.text5]}),i.text6]})},Q=()=>{const i=r.step2;return t.jsxs($,{children:[i.text1,t.jsxs(a,{children:[" ",t.jsx(be,{}),i.text2]}),t.jsx(ke,{}),i.text3]})},F=()=>{const i=r.step3,n=e.connectedAccountProvider==="stripe"?i.payeeIdStripe:i.payeeIdUnit;return t.jsxs($,{children:[i.text1,t.jsxs(a,{children:[" ",i.text2]}),i.text3,t.jsxs(Te,{children:[t.jsxs(f,{onClick:()=>D(n,!0),onMouseOver:()=>B(!0),onMouseLeave:()=>E(!0),"data-testid":c("copy-payee-id",n),children:[t.jsx(v,{}),i.payeeIdTitle,t.jsx(b,{children:n}),y?t.jsxs(h,{children:[t.jsx(R,{showCopyText:z&&!g,windowSize:d,children:t.jsx(I,{})}),t.jsx(w,{shouldDisplay:z&&!g,children:i.copy})]}):t.jsxs(h,{children:[t.jsx(O,{}),t.jsx(w,{children:i.copied})]})]}),t.jsxs(f,{onClick:()=>D(i.payeeName,!1),onMouseOver:()=>B(!1),onMouseLeave:()=>E(!1),"data-testid":c("copy-payee-name",i.payeeName),children:[t.jsx(v,{}),i.payeeNameTitle,t.jsx(b,{children:i.payeeName}),j?t.jsxs(h,{children:[t.jsx(R,{showCopyText:T&&!g,windowSize:d,children:t.jsx(I,{})}),t.jsx(w,{shouldDisplay:T&&!g,children:i.copy})]}):t.jsxs(h,{children:[t.jsx(O,{}),t.jsx(w,{children:i.copied})]})]}),t.jsxs(f,{children:[t.jsx(h,{children:t.jsx(v,{})}),t.jsxs(Me,{children:[i.amountLimitTitle,i.text4,t.jsx(b,{children:i.amountLimit}),i.text5]})]})]})]})},H=()=>{const i=r.step4;return t.jsxs($,{children:[i.text1,t.jsxs(a,{children:[" ",i.text2]}),i.text3,t.jsxs(a,{children:[" ",i.text4]})]})},X=i=>{switch(i){case 0:return t.jsx(G,{});case 1:return t.jsx(Q,{});case 2:return t.jsx(F,{});default:return t.jsx(H,{})}};return t.jsx(pe,{windowSize:d,role:"presentation",style:{background:x.overlayDark,...e.style},children:t.jsx(ee,{onClickAway:()=>e.action.onBackClick?.(),children:t.jsxs(he,{windowSize:d,isEditPopup:!1,children:[t.jsxs(Le,{children:[t.jsx(xe,{children:U}),t.jsx(ge,{children:q}),t.jsx(ye,{children:r.stepsTitle}),t.jsx(ue,{windowSize:d,children:L.map((i,n)=>t.jsxs(me,{children:[t.jsx(fe,{children:P(n)?n+1:t.jsx(Se,{})}),t.jsx(ve,{children:X(n)}),P(n)&&t.jsx(je,{})]},`step_${n}`))})]}),t.jsx($e,{}),t.jsxs(we,{children:[t.jsx(N,{variant:"secondary",label:r.primaryButtonText,onClick:V,style:{width:134,whiteSpace:"nowrap"},"data-testid":c("chase-overlay-watch-video-button")}),t.jsx(ze,{}),t.jsx(N,{variant:e.proceedButtonVariant??"primary",label:r.secondaryButtonText,onClick:e.action.onBackClick,style:{width:134,whiteSpace:"nowrap"},"data-testid":c("chase-overlay-proceed-button")})]})]})})})}const pe=o.div`
1
+ import{e as J,fi as W,fj as Y,B as Z,j as t,g as x,p as ee,K as N,$ as c,o as s,C as m,r as te,t as ie,ao as se,bv as oe,dE as re,q as l,ap as A,az as K,a7 as ne,fk as le,w as ae,cx as de,aR as ce}from"./index-Du1ejFtI.js";import{b as p,n as o}from"./vendor-rkTZJa59.js";const u={width:new m(350,624,624),height:new m(600,730,730),paddingLeft:new m(l[4],l[8],l[8]),paddingRight:new m(l[4],l[7],l[7])};function Be(e){const d=J(),[,U]=W(),{isMobileOrTabletScreen:g}=Y(),[j,k]=p.useState(!0),[y,S]=p.useState(!0),[z,C]=p.useState(!1),[T,L]=p.useState(!1),r=Z.getLocalizedStrings().commonSetUp.chaseOverlay,_=r.title,q=r.description,V=()=>{window.open(r.chaseVideoUrl,"_blank")},M=[0,1,2,3],D=i=>i<M.length-1,P=(i,n)=>{U(i??""),n?k(!1):S(!1)},B=i=>{i?C(!0):L(!0)},E=i=>{i?C(!1):L(!1)};p.useEffect(()=>{j===!1&&setTimeout(()=>{k(!0)},2e3),y===!1&&setTimeout(()=>{S(!0)},2e3)},[j,y]);const G=()=>{const i=r.step1;return t.jsxs($,{children:[t.jsx(Ce,{"data-testid":c("chase-overlay-signin-link"),href:r.chaseSigninUrl,target:"_blank",rel:"noreferrer noopener",children:i.text1}),i.text2,t.jsxs(a,{children:[" ",i.text3]}),i.text4,t.jsxs(a,{children:[" ",i.text5]}),i.text6]})},Q=()=>{const i=r.step2;return t.jsxs($,{children:[i.text1,t.jsxs(a,{children:[" ",t.jsx(be,{}),i.text2]}),t.jsx(ke,{}),i.text3]})},F=()=>{const i=r.step3,n=e.connectedAccountProvider==="stripe"?i.payeeIdStripe:i.payeeIdUnit;return t.jsxs($,{children:[i.text1,t.jsxs(a,{children:[" ",i.text2]}),i.text3,t.jsxs(Te,{children:[t.jsxs(f,{onClick:()=>P(n,!0),onMouseOver:()=>B(!0),onMouseLeave:()=>E(!0),"data-testid":c("copy-payee-id",n),children:[t.jsx(v,{}),i.payeeIdTitle,t.jsx(b,{children:n}),j?t.jsxs(h,{children:[t.jsx(R,{showCopyText:z&&!g,windowSize:d,children:t.jsx(I,{})}),t.jsx(w,{shouldDisplay:z&&!g,children:i.copy})]}):t.jsxs(h,{children:[t.jsx(O,{}),t.jsx(w,{children:i.copied})]})]}),t.jsxs(f,{onClick:()=>P(i.payeeName,!1),onMouseOver:()=>B(!1),onMouseLeave:()=>E(!1),"data-testid":c("copy-payee-name",i.payeeName),children:[t.jsx(v,{}),i.payeeNameTitle,t.jsx(b,{children:i.payeeName}),y?t.jsxs(h,{children:[t.jsx(R,{showCopyText:T&&!g,windowSize:d,children:t.jsx(I,{})}),t.jsx(w,{shouldDisplay:T&&!g,children:i.copy})]}):t.jsxs(h,{children:[t.jsx(O,{}),t.jsx(w,{children:i.copied})]})]}),t.jsxs(f,{children:[t.jsx(h,{children:t.jsx(v,{})}),t.jsxs(Le,{children:[i.amountLimitTitle,i.text4,t.jsx(b,{children:i.amountLimit}),i.text5]})]})]})]})},H=()=>{const i=r.step4;return t.jsxs($,{children:[i.text1,t.jsxs(a,{children:[" ",i.text2]}),i.text3,t.jsxs(a,{children:[" ",i.text4]})]})},X=i=>{switch(i){case 0:return t.jsx(G,{});case 1:return t.jsx(Q,{});case 2:return t.jsx(F,{});default:return t.jsx(H,{})}};return t.jsx(pe,{windowSize:d,role:"presentation",style:{background:x.overlayDark,...e.style},children:t.jsx(ee,{onClickAway:()=>e.action.onBackClick?.(),children:t.jsxs(he,{windowSize:d,isEditPopup:!1,children:[t.jsxs(Me,{children:[t.jsx(xe,{children:_}),t.jsx(ge,{children:q}),t.jsx(je,{children:r.stepsTitle}),t.jsx(ue,{windowSize:d,children:M.map((i,n)=>t.jsxs(me,{children:[t.jsx(fe,{children:D(n)?n+1:t.jsx(Se,{})}),t.jsx(ve,{children:X(n)}),D(n)&&t.jsx(ye,{})]},`step_${n}`))})]}),t.jsx($e,{}),t.jsxs(we,{children:[t.jsx(N,{variant:"secondary",label:r.primaryButtonText,onClick:V,style:{width:134,whiteSpace:"nowrap"},"data-testid":c("chase-overlay-watch-video-button")}),t.jsx(ze,{}),t.jsx(N,{variant:e.proceedButtonVariant??"primary",label:r.secondaryButtonText,onClick:e.action.onBackClick,style:{width:134,whiteSpace:"nowrap"},"data-testid":c("chase-overlay-proceed-button")})]})]})})})}const pe=o.div`
2
2
  position: fixed;
3
3
  top: 0;
4
4
  left: 0;
@@ -54,10 +54,10 @@ import{e as J,fj as W,fk as Y,M as Z,j as t,f as x,q as ee,K as N,_ as c,o as s,
54
54
  position: absolute;
55
55
  bottom: 0;
56
56
  z-index: 2;
57
- `,ye=o(se)`
57
+ `,je=o(se)`
58
58
  text-align: left;
59
59
  width: 100%;
60
- `,je=o.div`
60
+ `,ye=o.div`
61
61
  top: ${s.sp2};
62
62
  width: 1px;
63
63
  height: 100%;
@@ -85,7 +85,7 @@ import{e as J,fj as W,fk as Y,M as Z,j as t,f as x,q as ee,K as N,_ as c,o as s,
85
85
  `,ve=o.div`
86
86
  padding-bottom: ${s.sp4};
87
87
  margin-left: ${s.sp6};
88
- `,$=o(_)`
88
+ `,$=o(A)`
89
89
  color: ${e=>e.theme.colors.hero};
90
90
  `,be=o(de)`
91
91
  width: ${s.sp3};
@@ -100,7 +100,7 @@ import{e as J,fj as W,fk as Y,M as Z,j as t,f as x,q as ee,K as N,_ as c,o as s,
100
100
  `,Se=o(re)`
101
101
  width: ${s.sp3};
102
102
  height: ${s.sp3};
103
- `,v=o(A)`
103
+ `,v=o(K)`
104
104
  width: ${s.sp3};
105
105
  height: ${s.sp3};
106
106
  vertical-align: middle;
@@ -113,7 +113,7 @@ import{e as J,fj as W,fk as Y,M as Z,j as t,f as x,q as ee,K as N,_ as c,o as s,
113
113
  &:hover {
114
114
  color: ${e=>e.theme.colors.primary};
115
115
  }
116
- `,O=o(A)`
116
+ `,O=o(K)`
117
117
  width: ${s.sp3};
118
118
  height: ${s.sp3};
119
119
  color: ${x.success};
@@ -149,7 +149,7 @@ import{e as J,fj as W,fk as Y,M as Z,j as t,f as x,q as ee,K as N,_ as c,o as s,
149
149
  color: ${e=>e.theme.colors.primary};
150
150
  text-decoration-color: ${e=>e.theme.colors.primary};
151
151
  }
152
- `,a=o(_)`
152
+ `,a=o(A)`
153
153
  color: ${e=>e.theme.colors.primary};
154
154
  border-radius: ${s.sp1};
155
155
  border: 1px solid ${e=>e.theme.colors.grey3};
@@ -164,7 +164,7 @@ import{e as J,fj as W,fk as Y,M as Z,j as t,f as x,q as ee,K as N,_ as c,o as s,
164
164
  `,Te=o.div`
165
165
  display: flex;
166
166
  flex-direction: column;
167
- `,Me=o.div``,Le=o.div`
167
+ `,Le=o.div``,Me=o.div`
168
168
  margin-bottom: 74px;
169
169
  overflow: scroll;
170
170
  `;export{Be as M};
@@ -1,4 +1,4 @@
1
- import{e as Z,j as t,_ as $,h5 as pe,M as ee,a0 as M,K,o,a4 as he,C as l,a3 as oe,T as ue,ao as me,c7 as te,w as ge,y as F,a2 as xe,a as fe,ca as ke,f as w,F as De,fK as $e,cd as we,eT as _,ck as J,r as s,d1 as be,bO as ye,bw as je,cG as Pe,fe as Se,B as q,fg as Le}from"./index-DHx5ymlr.js";import{b as k,n as a}from"./vendor-rkTZJa59.js";import"./mui-C42whWwM.js";import"./analytics-B3n5JGPc.js";import"./routing-VwiwPky5.js";import"./sentry-osuhWjvS.js";import"./redux-2gfZRks6.js";import"./liveblocks-CP09Cz-7.js";import"./crypto-BDNqpTKX.js";const ve="checkDepositDetailPage",g="checkDepositDetails",Fe="amount",Ce="depositTo",Te="source",ie="fileIds",R="selectDocument",E=e=>{const p=[];return e.checkFront!=null&&p.push(e.checkFront.fileId),e.checkBack!=null&&p.push(e.checkBack.fileId),{[g]:{[Fe]:e.checkDepositLocalData.amount.amount===0?void 0:e.checkDepositLocalData.amount.amount,[Te]:e.checkDepositLocalData.source,[Ce]:{allOptions:e.depositAccounts.depositAccounts.map(x=>({label:x.accountName,value:x.id})),selectedOption:e.checkDepositLocalData.depositTo?.id},[ie]:p,[R]:{front:e.checkFront,back:e.checkBack}}}},D=(e,p)=>`${e}.${p}`,Be=e=>`${e}_form`,u={largeLabelWidth:new l(160,160,160),rowContentPaddingLeft:new l(s[3],s[4]),checkPicRowContentPaddingXAxis:new l(s[3],s[4]),labeleMarginLeft:new l(s[0],s[0]),labeleMarginBottom:new l(s[2],s[0]),labelMarginRight:new l(s[3],s[3]),labeledFieldPaddingLeft:new l(s[3],s[0]),labeledFieldPaddingRight:new l(s[3],s[2]),labeledFieldPaddingTop:new l(s[3],s[3]),labeledFieldPaddingBottom:new l(s[3],s[2]),infoLabelPaddingRight:new l(s[0],s[3]),infoLabelMarginTop:new l(s[1],s[0])},{spendManagement:ze,common:V}=ee.getLocalizedStrings(),c=ze.zeniAccounts.zeniAccountList,Ae=V.documents;function Ie({checkDeposit:e,analytics:p,filesEndPoint:x,openPopup:b,authParams:y,onSaveChangesToLocalStore:C,updateFilesEntity:j,onDeleteFile:P,onEditFileName:S,onCheckDpositClick:T}){const r=Z(),n=e.fetchState,L=xe(n),[v,G]=k.useState(!1),[se,B]=k.useState(!1),z=u.largeLabelWidth.value(r),f=fe({mode:"all",reValidateMode:"onBlur",defaultValues:E(e),values:E(e)}),{isValid:re}=f.formState,Y=i=>{const d={amount:{amount:i[g].amount??0,currencyCode:V.currency.currencyCode,currencySymbol:V.currency.currencySymbol},source:i[g].source,depositTo:e.depositAccounts.depositAccounts.find(h=>h.id===i[g].depositTo.selectedOption),fileIds:i[g][ie]};C(d)},ce=async(i,d)=>{if(i!=null){if(i.includes("source")||i.includes("amount"))return;const h=Object.assign({},d);Y(h)}};k.useEffect(()=>{const i=f.watch((d,{name:h})=>{h!=null&&d!=null&&ke(()=>ce(h,d))});return()=>{i.unsubscribe()}}),k.useEffect(()=>{L==="Completed"&&n==="Not-Started"&&f.reset(E(e))},[L,n,f,e]),k.useEffect(()=>{e.error!=null?B(!0):B(!1)},[e.error]);const le=f.handleSubmit(()=>{if(re){p.trackAccountsDepositCheckFormClicked("Deposit",e.checkDepositLocalData.amount.amount,e.checkDepositLocalData.source,e.checkDepositLocalData.depositTo?.accountName,e.checkFront!=null,e.checkBack!=null);const i=f.getValues();Y(i),T?.()}}),ne=(i,d)=>{if(!i)return null;const h=e.depositAccounts.depositAccounts.find(I=>I.id===i),A=e.depositAccounts.depositAccounts.findIndex(I=>I.id===i);return h?t.jsx(Ve,{color:Se(A),isSelectedValue:d}):null},de=(i,d)=>{if(!i)return null;const h=e.depositAccounts.depositAccounts.find(A=>A.id===i);return h?d===!0?t.jsx(Re,{children:h?.maskedAccountNumber}):t.jsxs(Me,{children:[t.jsx(Q,{children:h?.maskedAccountNumber}),t.jsx(to,{}),t.jsx(Q,{children:M("0,0[.]00",h?.accountBalance?.available)})]}):null};return t.jsxs(t.Fragment,{children:[se?t.jsx(Oe,{children:t.jsxs(qe,{children:[t.jsxs(Ge,{children:[t.jsx(Ke,{}),t.jsxs(_e,{children:[t.jsx(Je,{children:e.error?.title}),t.jsx(Qe,{children:e.error?.message})]})]}),t.jsx(Ye,{children:t.jsx(ro,{"data-testid":$("check-deposit-form-close"),onClick:()=>{p.trackAccountsDepositCheckFormClicked("Cross",e.checkDepositLocalData.amount.amount,e.checkDepositLocalData.source,e.checkDepositLocalData.depositTo?.accountName,e.checkFront!=null,e.checkBack!=null),B(!1)},style:{width:o.sp3,height:o.sp3,color:w.heroLight}})})]})}):null,t.jsx(We,{children:M("0,0.[00]",e.checkDepositLocalData.amount)}),t.jsx(De,{...f,children:t.jsx("form",{id:Be(ve),onSubmit:le,children:t.jsxs(He,{children:[t.jsx($e,{showAdditionalInfoLabel:!1,label:{label:c.checkDepositDrawer.amountLabel,width:z},formattedTextField:{type:"number",name:D(g,"amount"),defaultValue:e.checkDepositLocalData.amount.amount===0?void 0:e.checkDepositLocalData.amount.amount,placeholder:c.checkDepositDrawer.amountPlaceholder,returnValueType:"floatValue",prefix:"$",allowNegative:!1,isNumericString:!1,registerOptions:{required:!0,validate:i=>!!i&&i>0},autoComplete:"off",decimalSeparator:".",decimalScale:2,fixedDecimalScale:!1,thousandSeparator:!0,allowLeadingZeros:!1},style:{width:"auto"}}),t.jsx(N,{}),t.jsx(we,{label:{label:c.checkDepositDrawer.sourceLabel,width:z},style:{width:"100%"},text:{type:"text",name:D(g,"source"),defaultValue:e.checkDepositLocalData.source,placeholder:c.checkDepositDrawer.sourcePlaceholder,options:{required:!0,validate:i=>i!=null}}}),t.jsx(N,{}),t.jsx(ae,{size:r,children:t.jsx(eo,{size:r,children:t.jsx(Xe,{label:{label:c.checkDepositDrawer.depositToLabel,width:z,style:{marginLeft:u.labeleMarginLeft.valuePx(r),marginBottom:u.labeleMarginBottom.valuePx(r),marginRight:u.labelMarginRight.valuePx(r)}},style:{paddingTop:u.labeledFieldPaddingTop.valuePx(r),paddingBottom:u.labeledFieldPaddingBottom.valuePx(r),paddingLeft:u.labeledFieldPaddingLeft.valuePx(r),paddingRight:u.labeledFieldPaddingRight.valuePx(r),border:"none",width:"100%",outline:"none",padding:0,display:r==="small"?"flex":"inherit"},infoLabelStyle:{textAlign:r==="small"?"left":"right",paddingRight:u.infoLabelPaddingRight.valuePx(r),marginTop:u.infoLabelMarginTop.valuePx(r)},singleSelectPickerField:{valueToLogo:(i,d)=>ne(i,d),valueToSubLabels:(i,d)=>de(i,d),name:D(g,"depositTo"),placeholder:c.checkDepositDrawer.depositToPlaceholder,style:{position:"relative"},defaultValue:{selectedOption:e.checkDepositLocalData.depositTo?.id,allOptions:e.depositAccounts.depositAccounts.map(i=>({label:i.accountName,value:i.id}))},textAlignment:"right",registerOptions:{required:!0,validate:i=>!!(i!=null&&i.selectedOption)}}})})}),t.jsx(N,{}),t.jsxs(Ue,{size:r,children:[t.jsxs(Ze,{size:r,children:[t.jsx(Ee,{children:c.checkDepositDrawer.checkPicLabel}),t.jsx(W,{isLast:!1,children:c.checkDepositDrawer.frontSide}),t.jsx(_,{name:`${D(g,R)}.front`,registerOptions:{required:!0},file:e.checkFront,isDisabled:!1,deleteFileStatusById:e.deleteFileStatusById,updateFileStatusById:e.updateFileStatusById,filesEndPoint:x,authParams:y,acceptableTypes:["image/jpg","image/jpeg"],supportedImageFileFormat:"image/jpeg",sizeLimit:J,placeholderText:r==="small"?c.checkDepositDrawer.uploadDocument:c.checkDepositDrawer.dragDropClickPlaceholder,filemetadataPayload:{documentType:"check",purposeId:"others",documentSide:"front"},hasError:v,updateFilesEntity:j,onDeleteFile:P,onFileSizeError:i=>G(i),onEditFileName:S,openPopup:b,showPhotoPicker:!0,errorInfoLabel:c.checkDepositDrawer.frontSideError,useMobileCam:!0,compressImage:!0}),t.jsx(W,{isLast:!0,children:c.checkDepositDrawer.backSide}),t.jsx(_,{name:`${D(g,R)}.back`,registerOptions:{required:!0},file:e.checkBack,isDisabled:!1,deleteFileStatusById:e.deleteFileStatusById,updateFileStatusById:e.updateFileStatusById,filesEndPoint:x,authParams:y,acceptableTypes:["image/jpg","image/jpeg"],supportedImageFileFormat:"image/jpeg",sizeLimit:J,placeholderText:r==="small"?c.checkDepositDrawer.uploadDocument:c.checkDepositDrawer.dragDropClickPlaceholder,filemetadataPayload:{documentType:"check",purposeId:"others",documentSide:"back"},hasError:v,updateFilesEntity:j,onDeleteFile:P,onFileSizeError:i=>G(i),onEditFileName:S,openPopup:b,showPhotoPicker:!0,errorInfoLabel:c.checkDepositDrawer.backSideError,useMobileCam:!0,compressImage:!0}),t.jsx(io,{children:c.checkDepositDrawer.picGuides.map(i=>t.jsxs(ao,{children:[t.jsx(oo,{}),t.jsx(Ne,{children:i})]},i))})]}),t.jsx(so,{windowSize:r,children:Ae.formatJPGText10MB})]})]})})})]})}const Ee=a(F)`
1
+ import{e as Z,j as t,$,h4 as pe,B as ee,a0 as M,K as J,o,a4 as he,C as l,a3 as oe,T as ue,ao as me,c7 as te,w as ge,t as F,a2 as xe,a as fe,ca as ke,g as w,F as De,fJ as $e,cd as we,eS as K,ck as W,q as s,d1 as be,bO as ye,bw as je,cG as Pe,fd as Se,n as q,ff as Le}from"./index-Du1ejFtI.js";import{b as k,n as a}from"./vendor-rkTZJa59.js";import"./mui-C42whWwM.js";import"./analytics-B3n5JGPc.js";import"./routing-VwiwPky5.js";import"./sentry-osuhWjvS.js";import"./redux-2gfZRks6.js";import"./liveblocks-CP09Cz-7.js";import"./crypto-BDNqpTKX.js";const ve="checkDepositDetailPage",g="checkDepositDetails",Fe="amount",Ce="depositTo",Te="source",ie="fileIds",R="selectDocument",I=e=>{const p=[];return e.checkFront!=null&&p.push(e.checkFront.fileId),e.checkBack!=null&&p.push(e.checkBack.fileId),{[g]:{[Fe]:e.checkDepositLocalData.amount.amount===0?void 0:e.checkDepositLocalData.amount.amount,[Te]:e.checkDepositLocalData.source,[Ce]:{allOptions:e.depositAccounts.depositAccounts.map(x=>({label:x.accountName,value:x.id})),selectedOption:e.checkDepositLocalData.depositTo?.id},[ie]:p,[R]:{front:e.checkFront,back:e.checkBack}}}},D=(e,p)=>`${e}.${p}`,Be=e=>`${e}_form`,u={largeLabelWidth:new l(160,160,160),rowContentPaddingLeft:new l(s[3],s[4]),checkPicRowContentPaddingXAxis:new l(s[3],s[4]),labeleMarginLeft:new l(s[0],s[0]),labeleMarginBottom:new l(s[2],s[0]),labelMarginRight:new l(s[3],s[3]),labeledFieldPaddingLeft:new l(s[3],s[0]),labeledFieldPaddingRight:new l(s[3],s[2]),labeledFieldPaddingTop:new l(s[3],s[3]),labeledFieldPaddingBottom:new l(s[3],s[2]),infoLabelPaddingRight:new l(s[0],s[3]),infoLabelMarginTop:new l(s[1],s[0])},{spendManagement:ze,common:V}=ee.getLocalizedStrings(),c=ze.zeniAccounts.zeniAccountList,Ae=V.documents;function Ee({checkDeposit:e,analytics:p,filesEndPoint:x,openPopup:b,authParams:y,onSaveChangesToLocalStore:C,updateFilesEntity:j,onDeleteFile:P,onEditFileName:S,onCheckDpositClick:T}){const r=Z(),n=e.fetchState,L=xe(n),[v,G]=k.useState(!1),[se,B]=k.useState(!1),z=u.largeLabelWidth.value(r),f=fe({mode:"all",reValidateMode:"onBlur",defaultValues:I(e),values:I(e)}),{isValid:re}=f.formState,Y=i=>{const d={amount:{amount:i[g].amount??0,currencyCode:V.currency.currencyCode,currencySymbol:V.currency.currencySymbol},source:i[g].source,depositTo:e.depositAccounts.depositAccounts.find(h=>h.id===i[g].depositTo.selectedOption),fileIds:i[g][ie]};C(d)},ce=async(i,d)=>{if(i!=null){if(i.includes("source")||i.includes("amount"))return;const h=Object.assign({},d);Y(h)}};k.useEffect(()=>{const i=f.watch((d,{name:h})=>{h!=null&&d!=null&&ke(()=>ce(h,d))});return()=>{i.unsubscribe()}}),k.useEffect(()=>{L==="Completed"&&n==="Not-Started"&&f.reset(I(e))},[L,n,f,e]),k.useEffect(()=>{e.error!=null?B(!0):B(!1)},[e.error]);const le=f.handleSubmit(()=>{if(re){p.trackAccountsDepositCheckFormClicked("Deposit",e.checkDepositLocalData.amount.amount,e.checkDepositLocalData.source,e.checkDepositLocalData.depositTo?.accountName,e.checkFront!=null,e.checkBack!=null);const i=f.getValues();Y(i),T?.()}}),ne=(i,d)=>{if(!i)return null;const h=e.depositAccounts.depositAccounts.find(E=>E.id===i),A=e.depositAccounts.depositAccounts.findIndex(E=>E.id===i);return h?t.jsx(Ve,{color:Se(A),isSelectedValue:d}):null},de=(i,d)=>{if(!i)return null;const h=e.depositAccounts.depositAccounts.find(A=>A.id===i);return h?d===!0?t.jsx(Re,{children:h?.maskedAccountNumber}):t.jsxs(Me,{children:[t.jsx(Q,{children:h?.maskedAccountNumber}),t.jsx(to,{}),t.jsx(Q,{children:M("0,0[.]00",h?.accountBalance?.available)})]}):null};return t.jsxs(t.Fragment,{children:[se?t.jsx(Oe,{children:t.jsxs(qe,{children:[t.jsxs(Ge,{children:[t.jsx(Je,{}),t.jsxs(Ke,{children:[t.jsx(We,{children:e.error?.title}),t.jsx(Qe,{children:e.error?.message})]})]}),t.jsx(Ye,{children:t.jsx(ro,{"data-testid":$("check-deposit-form-close"),onClick:()=>{p.trackAccountsDepositCheckFormClicked("Cross",e.checkDepositLocalData.amount.amount,e.checkDepositLocalData.source,e.checkDepositLocalData.depositTo?.accountName,e.checkFront!=null,e.checkBack!=null),B(!1)},style:{width:o.sp3,height:o.sp3,color:w.heroLight}})})]})}):null,t.jsx(Ue,{children:M("0,0.[00]",e.checkDepositLocalData.amount)}),t.jsx(De,{...f,children:t.jsx("form",{id:Be(ve),onSubmit:le,children:t.jsxs(_e,{children:[t.jsx($e,{showAdditionalInfoLabel:!1,label:{label:c.checkDepositDrawer.amountLabel,width:z},formattedTextField:{type:"number",name:D(g,"amount"),defaultValue:e.checkDepositLocalData.amount.amount===0?void 0:e.checkDepositLocalData.amount.amount,placeholder:c.checkDepositDrawer.amountPlaceholder,returnValueType:"floatValue",prefix:"$",allowNegative:!1,isNumericString:!1,registerOptions:{required:!0,validate:i=>!!i&&i>0},autoComplete:"off",decimalSeparator:".",decimalScale:2,fixedDecimalScale:!1,thousandSeparator:!0,allowLeadingZeros:!1},style:{width:"auto"}}),t.jsx(N,{}),t.jsx(we,{label:{label:c.checkDepositDrawer.sourceLabel,width:z},style:{width:"100%"},text:{type:"text",name:D(g,"source"),defaultValue:e.checkDepositLocalData.source,placeholder:c.checkDepositDrawer.sourcePlaceholder,options:{required:!0,validate:i=>i!=null}}}),t.jsx(N,{}),t.jsx(ae,{size:r,children:t.jsx(eo,{size:r,children:t.jsx(Xe,{label:{label:c.checkDepositDrawer.depositToLabel,width:z,style:{marginLeft:u.labeleMarginLeft.valuePx(r),marginBottom:u.labeleMarginBottom.valuePx(r),marginRight:u.labelMarginRight.valuePx(r)}},style:{paddingTop:u.labeledFieldPaddingTop.valuePx(r),paddingBottom:u.labeledFieldPaddingBottom.valuePx(r),paddingLeft:u.labeledFieldPaddingLeft.valuePx(r),paddingRight:u.labeledFieldPaddingRight.valuePx(r),border:"none",width:"100%",outline:"none",padding:0,display:r==="small"?"flex":"inherit"},infoLabelStyle:{textAlign:r==="small"?"left":"right",paddingRight:u.infoLabelPaddingRight.valuePx(r),marginTop:u.infoLabelMarginTop.valuePx(r)},singleSelectPickerField:{valueToLogo:(i,d)=>ne(i,d),valueToSubLabels:(i,d)=>de(i,d),name:D(g,"depositTo"),placeholder:c.checkDepositDrawer.depositToPlaceholder,style:{position:"relative"},defaultValue:{selectedOption:e.checkDepositLocalData.depositTo?.id,allOptions:e.depositAccounts.depositAccounts.map(i=>({label:i.accountName,value:i.id}))},textAlignment:"right",registerOptions:{required:!0,validate:i=>!!(i!=null&&i.selectedOption)}}})})}),t.jsx(N,{}),t.jsxs(He,{size:r,children:[t.jsxs(Ze,{size:r,children:[t.jsx(Ie,{children:c.checkDepositDrawer.checkPicLabel}),t.jsx(U,{isLast:!1,children:c.checkDepositDrawer.frontSide}),t.jsx(K,{name:`${D(g,R)}.front`,registerOptions:{required:!0},file:e.checkFront,isDisabled:!1,deleteFileStatusById:e.deleteFileStatusById,updateFileStatusById:e.updateFileStatusById,filesEndPoint:x,authParams:y,acceptableTypes:["image/jpg","image/jpeg"],supportedImageFileFormat:"image/jpeg",sizeLimit:W,placeholderText:r==="small"?c.checkDepositDrawer.uploadDocument:c.checkDepositDrawer.dragDropClickPlaceholder,filemetadataPayload:{documentType:"check",purposeId:"others",documentSide:"front"},hasError:v,updateFilesEntity:j,onDeleteFile:P,onFileSizeError:i=>G(i),onEditFileName:S,openPopup:b,showPhotoPicker:!0,errorInfoLabel:c.checkDepositDrawer.frontSideError,useMobileCam:!0,compressImage:!0}),t.jsx(U,{isLast:!0,children:c.checkDepositDrawer.backSide}),t.jsx(K,{name:`${D(g,R)}.back`,registerOptions:{required:!0},file:e.checkBack,isDisabled:!1,deleteFileStatusById:e.deleteFileStatusById,updateFileStatusById:e.updateFileStatusById,filesEndPoint:x,authParams:y,acceptableTypes:["image/jpg","image/jpeg"],supportedImageFileFormat:"image/jpeg",sizeLimit:W,placeholderText:r==="small"?c.checkDepositDrawer.uploadDocument:c.checkDepositDrawer.dragDropClickPlaceholder,filemetadataPayload:{documentType:"check",purposeId:"others",documentSide:"back"},hasError:v,updateFilesEntity:j,onDeleteFile:P,onFileSizeError:i=>G(i),onEditFileName:S,openPopup:b,showPhotoPicker:!0,errorInfoLabel:c.checkDepositDrawer.backSideError,useMobileCam:!0,compressImage:!0}),t.jsx(io,{children:c.checkDepositDrawer.picGuides.map(i=>t.jsxs(ao,{children:[t.jsx(oo,{}),t.jsx(Ne,{children:i})]},i))})]}),t.jsx(so,{windowSize:r,children:Ae.formatJPGText10MB})]})]})})})]})}const Ie=a(F)`
2
2
  color: ${e=>e.theme.colors.hero};
3
3
  `,Ne=a(F)`
4
4
  color: ${e=>e.theme.colors.hero};
@@ -34,25 +34,25 @@ import{e as Z,j as t,_ as $,h5 as pe,M as ee,a0 as M,K,o,a4 as he,C as l,a3 as o
34
34
  `,Ge=a.div`
35
35
  display: flex;
36
36
  align-items: flex-start;
37
- `,Ye=a.div``,Ke=a(be)`
37
+ `,Ye=a.div``,Je=a(be)`
38
38
  width: ${o.sp4};
39
39
  height: ${o.sp4};
40
40
  color: ${w.important};
41
- `,_e=a.div`
41
+ `,Ke=a.div`
42
42
  display: flex;
43
43
  flex-direction: column;
44
44
  margin-left: ${o.sp2};
45
- `,Je=a(ye)`
45
+ `,We=a(ye)`
46
46
  color: ${w.important};
47
47
  `,Qe=a(F)`
48
48
  color: ${w.important};
49
- `,We=a(je)`
49
+ `,Ue=a(je)`
50
50
  color: ${e=>e.theme.colors.primary};
51
51
  margin: ${o.sp5} ${o.sp0} ${o.sp3} ${o.sp0};
52
52
  `,Xe=a(Pe)`
53
53
  border-radius: ${o.sp2};
54
54
  border: 1px solid ${e=>e.theme.colors.grey3};
55
- `,He=a.div`
55
+ `,_e=a.div`
56
56
  display: flex;
57
57
  flex-direction: column;
58
58
  background-color: ${e=>e.theme.colors.grey5};
@@ -90,7 +90,7 @@ import{e as Z,j as t,_ as $,h5 as pe,M as ee,a0 as M,K,o,a4 as he,C as l,a3 as o
90
90
  border-bottom-left-radius: inherit;
91
91
  border-bottom-right-radius: inherit;
92
92
  }
93
- `,Ue=a(ae)`
93
+ `,He=a(ae)`
94
94
  flex-direction: column;
95
95
  padding: ${o.sp0};
96
96
  `,Ze=a.div`
@@ -100,7 +100,7 @@ import{e as Z,j as t,_ as $,h5 as pe,M as ee,a0 as M,K,o,a4 as he,C as l,a3 as o
100
100
  display: flex;
101
101
  flex-grow: ${e=>e.size==="small"?1:0};
102
102
  align-items: flex-start;
103
- `,W=a(q)`
103
+ `,U=a(q)`
104
104
  color: ${e=>e.theme.colors.hero};
105
105
  margin-bottom: ${o.sp2};
106
106
  margin-top: ${e=>e.isLast?o.sp3:o.sp0};
@@ -145,7 +145,7 @@ import{e as Z,j as t,_ as $,h5 as pe,M as ee,a0 as M,K,o,a4 as he,C as l,a3 as o
145
145
  &:hover {
146
146
  color: ${e=>e.theme.colors.primary};
147
147
  }
148
- `,co="checkDepositDetailPage",lo={NavBarContainerPaddingYAxis:new l(10,s[3])},no=e=>`${e}_form`,O={containerPaddingLeft:new l(s[3],s[6],s[8]),containerPaddingRight:new l(s[3],s[6],s[8]),successContentMargin:new l(s[3],s[12])},{spendManagement:po}=ee.getLocalizedStrings(),m=po.zeniAccounts.zeniAccountList,Co=({checkDeposit:e,analytics:p,filesEndPoint:x,authParams:b,onSaveChangesToLocalStore:y,onAnotherTransferClick:C,updateFilesEntity:j,onDeleteFile:P,onEditFileName:S,onCheckDpositClick:T,onDismissClick:r})=>{const n=Z(),[L,v]=k.useState(!1);return t.jsx(go,{windowSize:n,children:e.fetchState==="Completed"?t.jsxs(X,{windowSize:n,children:[t.jsx(H,{windowSize:n,children:t.jsx(U,{"data-testid":$("check-deposit-drawer-close"),onClick:()=>{p.trackAccountsDepositCheckFormClicked("Cross",e.checkDepositLocalData.amount.amount,e.checkDepositLocalData.source,e.checkDepositLocalData.depositTo?.accountName,e.checkFront!=null,e.checkBack!=null),r?.()}})}),t.jsxs(ko,{windowSize:n,children:[t.jsx(pe,{width:150,height:150,shouldDisplay:!0,animationInLoop:!0}),t.jsxs(xo,{children:[m.checkDepositDrawer.transferSuccessMsgPrefix,t.jsx(mo,{children:M("0,0.[00]",e.checkDepositLocalData.amount)}),m.checkDepositDrawer.transferSuccessMsgSuffix]}),t.jsxs(fo,{children:[t.jsx(K,{variant:"secondary",label:m.checkDepositDrawer.makeAnotherTransferBtn,onClick:C,"data-testid":$("check-deposit-drawer-another-transfer")}),t.jsx(K,{variant:"primary",label:m.checkDepositDrawer.goToAccountBtn,onClick:r,style:{marginLeft:n==="small"?o.sp3:o.sp5},"data-testid":$("check-deposit-drawer-go-to-account")})]})]})]}):t.jsxs(t.Fragment,{children:[t.jsxs(X,{windowSize:n,children:[t.jsx(H,{windowSize:n,children:t.jsx(U,{"data-testid":$("check-deposit-drawer-close"),onClick:()=>{p.trackAccountsDepositCheckFormClicked("Cross",e.checkDepositLocalData.amount.amount,e.checkDepositLocalData.source,e.checkDepositLocalData.depositTo?.accountName,e.checkFront!=null,e.checkBack!=null),r?.()}})}),n==="small"?t.jsx(Do,{windowSize:n,children:m.checkDepositDrawer.title}):t.jsx($o,{children:m.checkDepositDrawer.title}),n==="small"?t.jsx(uo,{children:m.checkDepositDrawer.subTitle}):t.jsx(ho,{children:m.checkDepositDrawer.subTitle}),t.jsx(Ie,{analytics:p,authParams:b,checkDeposit:e,filesEndPoint:x,onSaveChangesToLocalStore:y,openPopup:v,onCheckDpositClick:T,onDeleteFile:P,onEditFileName:S,updateFilesEntity:j})]}),t.jsx(he,{formId:no(co),helperText:m.checkDepositDrawer.footNote,helperStyle:{paddingTop:o.sp0,paddingBottom:o.sp0},style:{zIndex:L?0:4,paddingTop:o.sp3,paddingBottom:o.sp3},primaryBtn:{label:m.checkDepositDrawer.depositBtn,isLoading:e.fetchState==="In-Progress"},cancelBtn:{label:m.checkDepositDrawer.cancelBtn,onClick:()=>{p.trackAccountsDepositCheckFormClicked("Cancel",e.checkDepositLocalData.amount.amount,e.checkDepositLocalData.source,e.checkDepositLocalData.depositTo?.accountName,e.checkFront!=null,e.checkBack!=null),r?.()}}})]})})},ho=a(F)`
148
+ `,co="checkDepositDetailPage",lo={NavBarContainerPaddingYAxis:new l(10,s[3])},no=e=>`${e}_form`,O={containerPaddingLeft:new l(s[3],s[6],s[8]),containerPaddingRight:new l(s[3],s[6],s[8]),successContentMargin:new l(s[3],s[12])},{spendManagement:po}=ee.getLocalizedStrings(),m=po.zeniAccounts.zeniAccountList,Co=({checkDeposit:e,analytics:p,filesEndPoint:x,authParams:b,onSaveChangesToLocalStore:y,onAnotherTransferClick:C,updateFilesEntity:j,onDeleteFile:P,onEditFileName:S,onCheckDpositClick:T,onDismissClick:r})=>{const n=Z(),[L,v]=k.useState(!1);return t.jsx(go,{windowSize:n,children:e.fetchState==="Completed"?t.jsxs(X,{windowSize:n,children:[t.jsx(_,{windowSize:n,children:t.jsx(H,{"data-testid":$("check-deposit-drawer-close"),onClick:()=>{p.trackAccountsDepositCheckFormClicked("Cross",e.checkDepositLocalData.amount.amount,e.checkDepositLocalData.source,e.checkDepositLocalData.depositTo?.accountName,e.checkFront!=null,e.checkBack!=null),r?.()}})}),t.jsxs(ko,{windowSize:n,children:[t.jsx(pe,{width:150,height:150,shouldDisplay:!0,animationInLoop:!0}),t.jsxs(xo,{children:[m.checkDepositDrawer.transferSuccessMsgPrefix,t.jsx(mo,{children:M("0,0.[00]",e.checkDepositLocalData.amount)}),m.checkDepositDrawer.transferSuccessMsgSuffix]}),t.jsxs(fo,{children:[t.jsx(J,{variant:"secondary",label:m.checkDepositDrawer.makeAnotherTransferBtn,onClick:C,"data-testid":$("check-deposit-drawer-another-transfer")}),t.jsx(J,{variant:"primary",label:m.checkDepositDrawer.goToAccountBtn,onClick:r,style:{marginLeft:n==="small"?o.sp3:o.sp5},"data-testid":$("check-deposit-drawer-go-to-account")})]})]})]}):t.jsxs(t.Fragment,{children:[t.jsxs(X,{windowSize:n,children:[t.jsx(_,{windowSize:n,children:t.jsx(H,{"data-testid":$("check-deposit-drawer-close"),onClick:()=>{p.trackAccountsDepositCheckFormClicked("Cross",e.checkDepositLocalData.amount.amount,e.checkDepositLocalData.source,e.checkDepositLocalData.depositTo?.accountName,e.checkFront!=null,e.checkBack!=null),r?.()}})}),n==="small"?t.jsx(Do,{windowSize:n,children:m.checkDepositDrawer.title}):t.jsx($o,{children:m.checkDepositDrawer.title}),n==="small"?t.jsx(uo,{children:m.checkDepositDrawer.subTitle}):t.jsx(ho,{children:m.checkDepositDrawer.subTitle}),t.jsx(Ee,{analytics:p,authParams:b,checkDeposit:e,filesEndPoint:x,onSaveChangesToLocalStore:y,openPopup:v,onCheckDpositClick:T,onDeleteFile:P,onEditFileName:S,updateFilesEntity:j})]}),t.jsx(he,{formId:no(co),helperText:m.checkDepositDrawer.footNote,helperStyle:{paddingTop:o.sp0,paddingBottom:o.sp0},style:{zIndex:L?0:4,paddingTop:o.sp3,paddingBottom:o.sp3},primaryBtn:{label:m.checkDepositDrawer.depositBtn,isLoading:e.fetchState==="In-Progress"},cancelBtn:{label:m.checkDepositDrawer.cancelBtn,onClick:()=>{p.trackAccountsDepositCheckFormClicked("Cancel",e.checkDepositLocalData.amount.amount,e.checkDepositLocalData.source,e.checkDepositLocalData.depositTo?.accountName,e.checkFront!=null,e.checkBack!=null),r?.()}}})]})})},ho=a(F)`
149
149
  color: ${e=>e.theme.colors.hero};
150
150
  `,uo=a(ge)`
151
151
  color: ${e=>e.theme.colors.hero};
@@ -176,7 +176,7 @@ import{e as Z,j as t,_ as $,h5 as pe,M as ee,a0 as M,K,o,a4 as he,C as l,a3 as o
176
176
  justify-content: center;
177
177
  margin: ${e=>`${o.sp0} ${O.successContentMargin.valuePx(e.windowSize)} `};
178
178
  align-items: center;
179
- `,H=a.div`
179
+ `,_=a.div`
180
180
  display: flex;
181
181
  flex-direction: row-reverse;
182
182
  justify-content: space-between;
@@ -186,7 +186,7 @@ import{e as Z,j as t,_ as $,h5 as pe,M as ee,a0 as M,K,o,a4 as he,C as l,a3 as o
186
186
  padding: ${e=>`${lo.NavBarContainerPaddingYAxis.valuePx(e.windowSize)} ${o.sp0}`};
187
187
  z-index: 2;
188
188
  background-color: ${e=>e.theme.colors.grey4};
189
- `,U=a(oe)`
189
+ `,H=a(oe)`
190
190
  cursor: pointer;
191
191
  color: ${e=>e.theme.colors.hero};
192
192
  width: ${o.sp4};
@@ -1,4 +1,4 @@
1
- import{j as t,aj as po,_ as m,bf as fe,a0 as q,dj as go,o as c,f as ee,a2 as hi,e as M,L as ui,A as fo,dk as pi,dl as xo,l as A,M as W,r as w,dm as Vi,dn as Ot,a8 as _,dp as Mt,bH as Nt,dq as It,C as D,cz as Pt,Y as Di,b as Je,dr as Ne,bh as K,m as mo,u as ce,af as Ri,ds as Gi,a9 as V,p as Ae,dt as wo,du as se,bG as zt,bv as gi,w as yo,B as ye,dv as Xe,dw as Be,dx as tt,y as C,bO as ne,dy as bo,v as Ft,dz as Re,dA as fi,dB as xi,dC as ko,dD as jo,ao as Ei,al as So,c3 as Tt,c2 as Vt,dE as Co,am as Hi,c6 as Ki,bn as vo,dF as $o,dG as mi,dH as wi,dI as _o,dJ as Lo,bp as Ao,b6 as Bo,dK as Wo}from"./index-DHx5ymlr.js";import{n as a,b as I,f as Oo,j as P}from"./vendor-rkTZJa59.js";import{L as it,N as Mo,D as No,B as be,u as $}from"./AccountRow-BcSPuOPF-Bl8Vk7p2.js";function Z(e,i){if(e!=null)switch(e.type){case"this_period_vs_last_period_percent":case"this_period_vs_same_period_last_year_percent":return fe("0.00%",e.percentValue);case"default_with_null_balance":return"-"}return q("0,0",e?.balance)}function J(e){return q("0,0",e?.forecast)}function Yi(e){if(e!=null)switch(e.type){case"this_period_vs_last_period_percent":case"this_period_vs_same_period_last_year_percent":return fe("0.00%",e.totalPercentValue)}return q("0,0",e?.totalBalance)}function bt(e){if(e!=null)switch(e.type){case"this_period_vs_last_period_percent":case"this_period_vs_same_period_last_year_percent":return fe("0.00%",e.forecastPercentValue)}return q("0,0",e?.totalForecast)}function de(e){if(e!=null&&e.forecast!=null&&e.forecast.amount!==0){const i=(e.balance.amount-e.forecast.amount)/e.forecast.amount;return fe("0.00%",Math.floor(i*100)/100)}else return fe("0.00%",void 0)}function he(e){if(e!=null&&e.forecast!=null){const i=Math.floor((e.balance.amount-e.forecast.amount)*100/100);return q("0,0",Object.assign({},e.forecast,{amount:i}))}else return q("0,0",null)}function Ui(e){if(e!=null&&e.totalForecast!=null&&e.totalBalance!=null&&e.totalForecast.amount!==0){const i=(e.totalBalance.amount-e.totalForecast.amount)/e.totalForecast.amount;return fe("0.00%",Math.floor(i*100)/100)}else return fe("0.00%",void 0)}function qi(e){if(e!=null&&e.totalForecast!=null&&e.totalBalance!=null){const i=Math.floor((e.totalBalance.amount-e.totalForecast.amount)*100/100);return q("0,0",Object.assign({},e.totalForecast,{amount:i}))}else return q("0,0",null)}const Ie=(e,i,n)=>{const{startDate:o,balanceType:r}=i,{dateFormat:{visual:l}}=W.getLocalizedStrings();switch(n){case"month":return r==="default"||r==="default_with_percent"?`${A.formatZeniDate(o,l.MMMYYYYFormat,e)}`:ft(r,n);case"quarter":return r==="default"||r==="default_with_percent"?`${W.getLocalizedStrings().reports.quarterPrefix}${A.formatZeniDate(o,l.QYYYYformat,e)}`:ft(r,n);case"year":return r==="default"||r==="default_with_percent"?`${A.formatZeniDate(o,l.YYYYformat,e)}`:ft(r,n);case"free_range":case"week":throw new Error("free_range/weeks dates are not supported!")}};function ft(e,i){return W.getLocalizedStrings().downloadReport.additionalColumns.labels[i][e]}const eg=(e,i,n)=>{const o=i.length==0?e:`${e}_${i.join("_")}`;return n!=null&&n.trim().length>0?`${o}_${n}`:`${o}_${go(10)}`},Io=a.div`
1
+ import{j as t,aj as po,$ as m,bf as fe,a0 as q,dj as go,o as c,g as ee,a2 as hi,e as M,O as ui,H as fo,dk as pi,dl as xo,l as A,B as W,q as w,dm as Vi,dn as Ot,a8 as _,dp as Mt,bH as Nt,dq as It,C as D,cz as Pt,Y as Di,b as Je,dr as Ne,bh as K,m as mo,u as ce,af as Ri,ds as Gi,a9 as V,k as Ae,dt as wo,du as se,bG as zt,bv as gi,w as yo,n as ye,dv as Xe,dw as Be,dx as tt,t as C,bO as ne,dy as bo,v as Ft,dz as Re,dA as fi,dB as xi,dC as ko,dD as jo,ao as Ei,al as So,c3 as Tt,c2 as Vt,dE as Co,am as Hi,c6 as Ki,bn as vo,dF as $o,dG as mi,dH as wi,dI as _o,dJ as Lo,bp as Ao,b6 as Bo,dK as Wo}from"./index-Du1ejFtI.js";import{n as a,b as I,f as Oo,j as P}from"./vendor-rkTZJa59.js";import{L as it,N as Mo,D as No,B as be,u as $}from"./AccountRow-m99usqft-CVwqPSiA.js";function Z(e,i){if(e!=null)switch(e.type){case"this_period_vs_last_period_percent":case"this_period_vs_same_period_last_year_percent":return fe("0.00%",e.percentValue);case"default_with_null_balance":return"-"}return q("0,0",e?.balance)}function J(e){return q("0,0",e?.forecast)}function Yi(e){if(e!=null)switch(e.type){case"this_period_vs_last_period_percent":case"this_period_vs_same_period_last_year_percent":return fe("0.00%",e.totalPercentValue)}return q("0,0",e?.totalBalance)}function bt(e){if(e!=null)switch(e.type){case"this_period_vs_last_period_percent":case"this_period_vs_same_period_last_year_percent":return fe("0.00%",e.forecastPercentValue)}return q("0,0",e?.totalForecast)}function de(e){if(e!=null&&e.forecast!=null&&e.forecast.amount!==0){const i=(e.balance.amount-e.forecast.amount)/e.forecast.amount;return fe("0.00%",Math.floor(i*100)/100)}else return fe("0.00%",void 0)}function he(e){if(e!=null&&e.forecast!=null){const i=Math.floor((e.balance.amount-e.forecast.amount)*100/100);return q("0,0",Object.assign({},e.forecast,{amount:i}))}else return q("0,0",null)}function Ui(e){if(e!=null&&e.totalForecast!=null&&e.totalBalance!=null&&e.totalForecast.amount!==0){const i=(e.totalBalance.amount-e.totalForecast.amount)/e.totalForecast.amount;return fe("0.00%",Math.floor(i*100)/100)}else return fe("0.00%",void 0)}function qi(e){if(e!=null&&e.totalForecast!=null&&e.totalBalance!=null){const i=Math.floor((e.totalBalance.amount-e.totalForecast.amount)*100/100);return q("0,0",Object.assign({},e.totalForecast,{amount:i}))}else return q("0,0",null)}const Ie=(e,i,n)=>{const{startDate:o,balanceType:r}=i,{dateFormat:{visual:l}}=W.getLocalizedStrings();switch(n){case"month":return r==="default"||r==="default_with_percent"?`${A.formatZeniDate(o,l.MMMYYYYFormat,e)}`:ft(r,n);case"quarter":return r==="default"||r==="default_with_percent"?`${W.getLocalizedStrings().reports.quarterPrefix}${A.formatZeniDate(o,l.QYYYYformat,e)}`:ft(r,n);case"year":return r==="default"||r==="default_with_percent"?`${A.formatZeniDate(o,l.YYYYformat,e)}`:ft(r,n);case"free_range":case"week":throw new Error("free_range/weeks dates are not supported!")}};function ft(e,i){return W.getLocalizedStrings().downloadReport.additionalColumns.labels[i][e]}const eg=(e,i,n)=>{const o=i.length==0?e:`${e}_${i.join("_")}`;return n!=null&&n.trim().length>0?`${o}_${n}`:`${o}_${go(10)}`},Io=a.div`
2
2
  display: flex;
3
3
  flex: 1 1 auto;
4
4
  width: 100%;