@zeniai/web-app-ui 4.14.35-prod → 4.14.36-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 (498) hide show
  1. package/dist/assets/{ACHDetailsPage-B5qIuZya-87Wdu3Vn.js → ACHDetailsPage-fOu5grd7-Cs2K4DRV.js} +3 -3
  2. package/dist/assets/{AIPerformancePage-BHB45mP--BdIYeahP.js → AIPerformancePage-Da3gFo8A-CVIvereU.js} +25 -25
  3. package/dist/assets/AccountInfoPage-o7hTXtgZ-Dc6Hg6aE.js +18 -0
  4. package/dist/assets/AccountInfoPageContent-DqErO8FH-XBjSorHo.js +149 -0
  5. package/dist/assets/{AccountLockedInfoModal-Dox7IuAX-uUxMt3Am.js → AccountLockedInfoModal-BJjCuLHa-Uk-DVT8_.js} +9 -9
  6. package/dist/assets/{AccountReconDetailsDrawerPage-Bqty08m0-Dizqg_js.js → AccountReconDetailsDrawerPage-CVjH1p0d-qMdLytVA.js} +16 -16
  7. package/dist/assets/AccountRow-CpftykFx-DRMa7L7I.js +298 -0
  8. package/dist/assets/{AccountsPromoCardStack-Bs3naJHM-DhTAmuRe.js → AccountsPromoCardStack-D7xvgmOH-L4LUQiMM.js} +28 -28
  9. package/dist/assets/AddAddressForCardDrawer-vecchYEf-Dm_7GZaw.js +6 -0
  10. package/dist/assets/{AddToWalletPage-CyRfqVDB-CQxgltFN.js → AddToWalletPage-zJy9QCjx-BhPNLvBn.js} +13 -13
  11. package/dist/assets/AddressRoutes-CN9yzNia.js +1 -0
  12. package/dist/assets/AddressScreen-DawlCEed.js +9 -0
  13. package/dist/assets/AgingReportsPage-wAvQb1d8-BNi2RWcU.js +79 -0
  14. package/dist/assets/AiCfoScreen-gLF8Y46q.js +11 -0
  15. package/dist/assets/AllUserItems-DEv_CXOA-BczB69YE.js +192 -0
  16. package/dist/assets/ApAgingDetailPage-BOV1WFVF-DjxtNuTC.js +46 -0
  17. package/dist/assets/{AppBasePage-CqDm-hnV-9XmhwuoJ.js → AppBasePage-DMlomvFS-DAPyVzw3.js} +16 -16
  18. package/dist/assets/AppDrawerContent-Dc2sHnR3-DkcYif08.js +92 -0
  19. package/dist/assets/ApprovalRulesSettingsPage-BnbPSy4U-BkoyF3U2.js +47 -0
  20. package/dist/assets/ArAgingChart-m-Xp3HAW-2E3yf3w6.js +24 -0
  21. package/dist/assets/ArAgingDetailPage-b_NpDpWj-D8K0oGBL.js +46 -0
  22. package/dist/assets/{AttachmentView-CzC4skJ3-DuNGTr_v.js → AttachmentView-DB_V1qT1-YRFnSBmh.js} +7 -7
  23. package/dist/assets/{BankAccountSection-Di4sF52j-DVHeEsO8.js → BankAccountSection-BabhrBM7-BRSx6sCU.js} +5 -5
  24. package/dist/assets/BankAccountWarningSection-yT2UAd12-hc4ZMuSF.js +51 -0
  25. package/dist/assets/{BankConnectionsSettingsPage-Ccnzq7st-DVzjJWv3.js → BankConnectionsSettingsPage-CbxXykMM-BcHLkw6J.js} +14 -14
  26. package/dist/assets/BillDetailPage-7TMkWo3V-D6W3VN4G.js +266 -0
  27. package/dist/assets/{BillPayApprovalRoutes-UIWSSsHT.js → BillPayApprovalRoutes-DPHRxesZ.js} +1 -1
  28. package/dist/assets/BillPayApprovalRuleDetailPage-COyDRpaF-CLsNCUw0.js +27 -0
  29. package/dist/assets/{BillPayApprovalRulesPage-COCypDcS-DX1ILSCP.js → BillPayApprovalRulesPage-9pxkgFAT-DlJyrfvK.js} +5 -5
  30. package/dist/assets/{BillPayPromoPage-DOE2YIqC-Bq0l3_vz.js → BillPayPromoPage-AGffhbY3-DpLl9nyC.js} +10 -10
  31. package/dist/assets/{BillPayRoutes-DD-JwCMW.js → BillPayRoutes-JOylN2BD.js} +13 -13
  32. package/dist/assets/BillPaySetUpPage-Cs5rkWBu-BP5ujh9A.js +42 -0
  33. package/dist/assets/{BillingSettingsPage-iImtlEmO-CvHkOH2a.js → BillingSettingsPage-CQ117tT9-TA2HK-aX.js} +10 -10
  34. package/dist/assets/{BillsBulkReviewDrawerPage-B11GWM_0-clKT_yYm.js → BillsBulkReviewDrawerPage-DRkGQQAe-DNA3NRzL.js} +1 -1
  35. package/dist/assets/{BoxItem-Bxa1M4QU-Du00vi-o.js → BoxItem-DRwx0M5a-D-Rn9DzO.js} +2 -2
  36. package/dist/assets/BusinessVerificationPage-1h0z3N9u-XjZx6gHS.js +138 -0
  37. package/dist/assets/BusinessVerificationPageScreen-sFaQye-W.js +9 -0
  38. package/dist/assets/BusyIndication-DizZe0Gu-Ui3yaqtY.js +9 -0
  39. package/dist/assets/{CardNumberSubText-_ZZbaz_k-BMJxFwd_.js → CardNumberSubText-DqtLT1w5-Bzgrrztr.js} +10 -10
  40. package/dist/assets/{CashbackDetailPage-DAZXitLt-Be6S5svg.js → CashbackDetailPage-ChdQcvkC-m-ebT8pi.js} +17 -17
  41. package/dist/assets/{ChargeCardDetailPage-B1VIpASk-qKsUbWVm.js → ChargeCardDetailPage-DFOKlPNG-DQYHVV4_.js} +31 -31
  42. package/dist/assets/{ChargeCardListPage-BOBepN-x-GM578OUP.js → ChargeCardListPage-DhLUsUhd-CoIm3KwH.js} +19 -19
  43. package/dist/assets/ChargeCardListTable-DE72YU_i-DgEVI1AC.js +711 -0
  44. package/dist/assets/{ChargeCardPaymentHistoryPage--jOwsMla-BI5A12QH.js → ChargeCardPaymentHistoryPage-CbGR18s--Df_3JGQc.js} +15 -15
  45. package/dist/assets/ChargeCardPromoPage-CPpNh89o-52aj5A04.js +222 -0
  46. package/dist/assets/{ChargeCardRoutes-CSoZhr0V.js → ChargeCardRoutes-V_6E2iyX.js} +12 -12
  47. package/dist/assets/ChargeCardSetupPage-ITi25kUD-D__xDb9M.js +36 -0
  48. package/dist/assets/{ChargeCardStatementsPage-ChWyQlw6-Dneiy-kv.js → ChargeCardStatementsPage-CTJc1BCc-CZlTL24v.js} +3 -3
  49. package/dist/assets/CheckDepositDrawerPage-BrzeSj-3-mEHRp2-B.js +206 -0
  50. package/dist/assets/CollapsableReportTable-CDEe9s_E-B6-yHAq0.js +2844 -0
  51. package/dist/assets/{CompanyOfficerDetailsSection-CrOIN4IW-BY_HZ_Iv.js → CompanyOfficerDetailsSection-BaPhFsLx-B_RPGIU9.js} +92 -92
  52. package/dist/assets/CompanyPassportCard-B9ymV6Az-jkfRIvZo.js +42 -0
  53. package/dist/assets/{CompanyPassportPage-FE6yli6h-Dxl1bcoN.js → CompanyPassportPage-BQ68t7oK-IkltRNSS.js} +16 -16
  54. package/dist/assets/{CompanyPassportScreen-DBr6vmxP.js → CompanyPassportScreen-dLVakYjm.js} +1 -1
  55. package/dist/assets/{CompleteProfile-Cb8i1XgZ-D9bq4Uae.js → CompleteProfile-C5n9b8gQ-CNOkIDDD.js} +1 -1
  56. package/dist/assets/ConfettiBurst-BizTW0hz-BB_7e0py.js +1 -0
  57. package/dist/assets/ConnectionAuthScreen-BOPjadvo.js +11 -0
  58. package/dist/assets/{ConstrainedInnerElement-CgdnMeoA-CbPq896u.js → ConstrainedInnerElement-BeIpAPjB-Cxh5xHax.js} +1 -1
  59. package/dist/assets/{CreateOrEditVendorPage-CzpSgxbO-BOwYtqVs.js → CreateOrEditVendorPage-BIfOA5Nr-AtyF4p8I.js} +19 -19
  60. package/dist/assets/{CreditCardPaymentDrawerPage-c_q0MsSO-BgTQ080r.js → CreditCardPaymentDrawerPage-CCpS-31h-B6o-4EgY.js} +21 -21
  61. package/dist/assets/CurrencySelectField-KvKyemY6-rYSOJjSm.js +139 -0
  62. package/dist/assets/{CustomerOnboardingActivationPage-f3Aa6E5r-BXOhuc8q.js → CustomerOnboardingActivationPage-6VlMI4oY-C5HWnW_e.js} +3 -3
  63. package/dist/assets/CustomerOnboardingAuthScreen-xza8qbxh.js +1 -0
  64. package/dist/assets/CustomerOnboardingContainerPage-CRjwWFLJ-DbqRfwbf.js +1 -0
  65. package/dist/assets/{CustomerOnboardingDetailPageSkeleton-DYuiWn8s-BFb9Fi6q.js → CustomerOnboardingDetailPageSkeleton-BzbZb27J-C4bWipAx.js} +9 -9
  66. package/dist/assets/CustomerOnboardingNoStepsPage-CWF_00EM-EPt0RonD.js +66 -0
  67. package/dist/assets/{CustomerOnboardingPage-B9hSO88_-DRsL0Lkd.js → CustomerOnboardingPage-DkW66A-p-BsqCLn06.js} +8 -8
  68. package/dist/assets/{CustomerOnboardingProductSuitePage-CG0HKCpQ-6ZJCtlPB.js → CustomerOnboardingProductSuitePage-Ba0yotpP-DIrnT1SJ.js} +10 -10
  69. package/dist/assets/CustomerOnboardingRoutes-yXJnudqI.js +23 -0
  70. package/dist/assets/{Dashboard-BJ_oIHab-CzppdrfI.js → Dashboard-bX3cWkmP-CJSja88C.js} +45 -45
  71. package/dist/assets/{DashboardReportPage-BemzMw2e-CIHD17uo.js → DashboardReportPage-DuZ4d4CE-CEa_ZsnB.js} +39 -39
  72. package/dist/assets/DashboardRoutes-BcGPSKnY.js +21 -0
  73. package/dist/assets/DashboardSidebarBackgroundAnimation-UV2CZToG-Dar8E4GV.js +12 -0
  74. package/dist/assets/{DefaultTenantHome-C8vFMm5p.js → DefaultTenantHome-BeZ76hjE.js} +1 -1
  75. package/dist/assets/DepositAccTransactionItem-BY_OvuKg-CegBl9NF.js +76 -0
  76. package/dist/assets/DepositAccTransactionListPage-a__bpCOB-3CdtwLcn.js +66 -0
  77. package/dist/assets/DomesticWireDetailScreen-D5m_2Yo0.js +18 -0
  78. package/dist/assets/DomesticWireDetailsPage-BumMT4QM-BqgDBN3V.js +21 -0
  79. package/dist/assets/DownloadOverlay-DqiL3-FB-EoMZNE21.js +439 -0
  80. package/dist/assets/{DrawerPage-DesxXhZk-bh8UKuOO.js → DrawerPage-CaG-xx5d-Cp5tt9QJ.js} +12 -12
  81. package/dist/assets/DrawerScreen-CTG5ybiX.js +1 -0
  82. package/dist/assets/EditPeoplePage-BcsdEp_d-D-PC_KrM.js +55 -0
  83. package/dist/assets/EditReimbursementDetailPage-DNUmwdsH-Bq2nc6vp.js +865 -0
  84. package/dist/assets/EntityDetailPage-DtX5TjBc-BPO5XePN.js +18 -0
  85. package/dist/assets/EntityDetailRoutes-B5R1QZWM.js +1 -0
  86. package/dist/assets/{EntitySummarySection-BwX0a4JL-DWyi-lkf.js → EntitySummarySection-LEA5m6mN-DSNa9_6d.js} +26 -26
  87. package/dist/assets/{ExpenseAutomationOverviewPage-EdyHjbff-DmP7eQm5.js → ExpenseAutomationOverviewPage-Dmhn7gfp-Bq4zhd1r.js} +50 -50
  88. package/dist/assets/ExpenseAutomationPage-B8C4BxoV-CRrIGE9L.js +2323 -0
  89. package/dist/assets/ExpenseAutomationRoutes-CQ8o1Ut2.js +20 -0
  90. package/dist/assets/{ExpressPayPage-EMP6inpX-4WwEzVm7.js → ExpressPayPage-C-nqret2-DYj2m0J-.js} +12 -12
  91. package/dist/assets/{FeaturePreviewPage-SYJm-3aR-CAe_AvQ_.js → FeaturePreviewPage-BHjUZ7s6-DFBfCFGy.js} +2 -2
  92. package/dist/assets/FeaturePreviewScreen-7DbZ3Lx9.js +1 -0
  93. package/dist/assets/{FollowStepsSection-BxESVqJD-CPOfOs-2.js → FollowStepsSection-0eFMS0c5-CUs8ilzU.js} +11 -11
  94. package/dist/assets/GlobalReviewListPage-4eiopkzw-CbQC9oAb.js +291 -0
  95. package/dist/assets/{InformationCardStack-B_qQUEYD-5ChUHV_B.js → InformationCardStack-C7XJCUlh-CelR5zDw.js} +1 -1
  96. package/dist/assets/InsightsCardStack-fBAbQwhK-DPzZunDi.js +79 -0
  97. package/dist/assets/InsightsSection-De9zu_me-DIydVhgU.js +27 -0
  98. package/dist/assets/{IntegrationsSettingsPage-DP6fAccq-DE_L5Sqc.js → IntegrationsSettingsPage-BD5jqAv8-hrz650GM.js} +5 -5
  99. package/dist/assets/InternationalWireSwiftDetailsPage-BftrE612-CtP2y88l.js +171 -0
  100. package/dist/assets/{InternationalWireVerificationPage-COC6lZml-D4HW9Bm7.js → InternationalWireVerificationPage-CDf7equc-BXBU6F90.js} +10 -10
  101. package/dist/assets/{InviteFormPage-DN02jRy5-BfLLbR3z.js → InviteFormPage-E2igwKEh-wVoOBHVT.js} +7 -7
  102. package/dist/assets/{InvitePageListView-CP4K9tJi-5pVXaxY0.js → InvitePageListView-Cuq9dlgu-CIGWi2Uo.js} +75 -75
  103. package/dist/assets/InvitePeoplePage-Db4P4ZEq-DViNv_LG.js +12 -0
  104. package/dist/assets/InvoiceUploadSection-DYCjz9CI-6zrHw8Gx.js +140 -0
  105. package/dist/assets/{IssueChargeCardPage-CVfuvGey-B2XRCClw.js → IssueChargeCardPage-CK6fnO24-CgQfD7TJ.js} +23 -23
  106. package/dist/assets/{LabeledAddressValue-DDrQcHIE-D6zubChV.js → LabeledAddressValue-Ma1WURjK-BQ7yXCyt.js} +2 -2
  107. package/dist/assets/LabeledAddressValueField-C6-hVsPb-2b15Jv_o.js +45 -0
  108. package/dist/assets/LabeledControlledCheckBoxField-CgZg0uOW-BjnMYuFb.js +16 -0
  109. package/dist/assets/{LabeledCountryMultiSelectField-BYYjzwUG-BVI6zR8f.js → LabeledCountryMultiSelectField-sj8p7Rne-bfsTKOeq.js} +4 -4
  110. package/dist/assets/{LabeledCreatableSingleSelectField-CISYMojq-DSalrWgP.js → LabeledCreatableSingleSelectField-DUTQh416-TJ_Bq1qn.js} +6 -6
  111. package/dist/assets/LabeledDocumentField-Bp9m-OrP-C4maUk83.js +41 -0
  112. package/dist/assets/{LabeledDropDownFormattedTextField-ScGGCap8-Bs7HZSAW.js → LabeledDropDownFormattedTextField-3-KekP79-2bA1-mcm.js} +4 -4
  113. package/dist/assets/{LabeledEmailInputField-BppuWRbl-Cv2eSWYW.js → LabeledEmailInputField-BRJyFvVd-Bs2EgRoq.js} +11 -11
  114. package/dist/assets/{LabeledNameField-mxSNQk3k-BePXnKIp.js → LabeledNameField--saAep-_-GEbqq-XX.js} +5 -5
  115. package/dist/assets/{LabeledSingleSelectField-C6ctNzkA-JhYp0IfJ.js → LabeledSingleSelectField-Ul4tlTiO-C7eur4tW.js} +7 -7
  116. package/dist/assets/LabeledText-DvzVOku6-BIWW9LkN.js +42 -0
  117. package/dist/assets/{LabeledUserSingleSelectWithSubtitlesField-C8JxAcOT-CVRnER3W.js → LabeledUserSingleSelectWithSubtitlesField-DCv1Q5qb-D3Nd6Mp3.js} +12 -12
  118. package/dist/assets/{LabeledZeniRolesDropDownField-BZtreVpj-DVH_WO48.js → LabeledZeniRolesDropDownField-kWC0ShEy-B-6CgYA7.js} +25 -25
  119. package/dist/assets/{LinkJETransactionPage-CKq4oiX9-BaDfdPSv.js → LinkJETransactionPage-WufhDGDQ-hOiRNbpI.js} +11 -11
  120. package/dist/assets/{LockCardPage-CZENNby7-BD08uNmC.js → LockCardPage-BBIVLYVD-CWfnMAuT.js} +17 -17
  121. package/dist/assets/{LowBalancePopup-1727S1ri-B87S31yh.js → LowBalancePopup-ScEqPY9J-BDVRhmW5.js} +5 -5
  122. package/dist/assets/MagicLinkACHDetailsPage-C494txw0-C9zbj8xn.js +1 -0
  123. package/dist/assets/MagicLinkDomesticWireDetailsPage-CONBCbOQ-BTU1HWRn.js +1 -0
  124. package/dist/assets/MagicLinkInternationalWireDetailsPage-fSY3JGpz-DTKuj6lk.js +1 -0
  125. package/dist/assets/MagicLinkRoutes-CBkc9ANU.js +72 -0
  126. package/dist/assets/MagicLinkSignInScreen-DVW3BRZl.js +12 -0
  127. package/dist/assets/{MagicLinkSuccessPage-QMkZgQLG-s8YBkEXQ.js → MagicLinkSuccessPage-BDRXSAO4-BPK2tnCV.js} +6 -6
  128. package/dist/assets/{MagicLinkTitleSection-CARU1oLQ-C33EAuas.js → MagicLinkTitleSection-ZnbKPIvJ-C4BiwnoA.js} +9 -9
  129. package/dist/assets/MailingDetailsSection-DZT7JPlI-B_BKxUqb.js +21 -0
  130. package/dist/assets/MobileAppDrawer-SRxQ4nyi.js +1 -0
  131. package/dist/assets/{MoreMenuButton-BsBKwXvk-DHBQkdln.js → MoreMenuButton-CJue6xR9-DxdJkjEQ.js} +23 -23
  132. package/dist/assets/{MyBankConnectionsSettingsPage-BdgIIhL1-BPykpz5y.js → MyBankConnectionsSettingsPage-aQDVaEG1-CRobqj27.js} +7 -7
  133. package/dist/assets/{MyPendingActivationChargeCardListPage-CX38bDdq-DSUf2vT1.js → MyPendingActivationChargeCardListPage-BJrk56oA-CKxLYlt8.js} +1 -1
  134. package/dist/assets/{MyProfileSettingsPage-DYu0Fx6I-1drgYdxQ.js → MyProfileSettingsPage-L9WuP6HZ-DBau4C6u.js} +6 -6
  135. package/dist/assets/NavBarWithPicker-zmvBmWS1-Dq59pkcT.js +30 -0
  136. package/dist/assets/{NavigationArrow-CTNkKUtV-Yl4xu108.js → NavigationArrow-D26UG3p--CJBJ0QVX.js} +2 -2
  137. package/dist/assets/NavigationDots-Bv4tBDN3-C3q3rN5Z.js +15 -0
  138. package/dist/assets/{NewGlobalMerchantPage-D_f7z47T-BQD0ZGak.js → NewGlobalMerchantPage-vOn2O6B9-Dn0MDdJM.js} +4 -4
  139. package/dist/assets/NoDataChart-CgT19fV7-BHysrTfh.js +26 -0
  140. package/dist/assets/{NoDataTable-4vPXmPYF-DWZxUYIB.js → NoDataTable-CPjJmo4s-Cw98-IiW.js} +1 -1
  141. package/dist/assets/{NotFoundPage-BLWPU1wU-C7Ncwm4o.js → NotFoundPage-CP2i3FTm-bZ8NYti5.js} +6 -6
  142. package/dist/assets/NotFoundScreen-LuCzwVbP.js +1 -0
  143. package/dist/assets/NotificationRoutes-DAiqyeoY.js +1 -0
  144. package/dist/assets/{NotificationSettingsPage-CDiDLX3A-Bz_D4b-V.js → NotificationSettingsPage-CT9Dnb03-avWp6uik.js} +16 -16
  145. package/dist/assets/NotificationsListConfig-Bn1zmx6b-D4fKYTYM.js +1 -0
  146. package/dist/assets/NotificationsPage-DDwdR_Jq-CoOhM2dl.js +685 -0
  147. package/dist/assets/OpExByVendorPage-DukFYlqO-DRlZ9cev.js +100 -0
  148. package/dist/assets/{OverlayContainerPage-BG9y5C0t-U_msHcyh.js → OverlayContainerPage-D4QU0p4o-tcmQyJCw.js} +1 -1
  149. package/dist/assets/PandLWithForecastPage-Bgflh9Om-CSmTsNHv.js +107 -0
  150. package/dist/assets/PandLWithForecastRoutes-C-17dXbC.js +1 -0
  151. package/dist/assets/{PaymentAccountSetupBillingAddressSection-9ma8SpIa-DHVmTXZY.js → PaymentAccountSetupBillingAddressSection-JPO-rPAd-BENOl58h.js} +7 -7
  152. package/dist/assets/PeoplePage-CDvKreQl-BHMfiaC4.js +720 -0
  153. package/dist/assets/PeopleRoutes-DkWBrchL.js +22 -0
  154. package/dist/assets/PerformanceRoutes-BfVGXw_c.js +1 -0
  155. package/dist/assets/{Preview-BjJ7O1sk.js → Preview-B59RrC-D.js} +1 -1
  156. package/dist/assets/{ProductsCarousel-C3M0ocdF-CLcC80yn.js → ProductsCarousel-7R3cvGiS-DzOMZ0OK.js} +8 -8
  157. package/dist/assets/{PromoBaseCards-BOGJI2ws-CjW4jRXO.js → PromoBaseCards-DdCMZIc7-B4qYL3sb.js} +1 -1
  158. package/dist/assets/{QBOConnectionDialog-CmpnnuzP-uF9XG6je.js → QBOConnectionDialog-Ca36jKz2-CdHpLyZs.js} +13 -13
  159. package/dist/assets/{QBOConnectionScreen-CHATiKae.js → QBOConnectionScreen-CJqEVXmb.js} +22 -4
  160. package/dist/assets/{QBOSetupSection-DjnN9dgv-t22_2ZYb.js → QBOSetupSection-CzBfIVqR-DDJCICP1.js} +10 -10
  161. package/dist/assets/ReferralListScreen--Li0yAbv.js +5 -0
  162. package/dist/assets/ReimbursementApprovalRoutes-By0X6th0.js +1 -0
  163. package/dist/assets/{ReimbursementApprovalRuleDetailPage-D5NXjrO9-CWOYUPpB.js → ReimbursementApprovalRuleDetailPage-DUVSGQJ6-BLIwxZQV.js} +4 -4
  164. package/dist/assets/{ReimbursementApprovalRuleDetailScreen-CM8NKREM.js → ReimbursementApprovalRuleDetailScreen-BTqwtaaL.js} +1 -1
  165. package/dist/assets/{ReimbursementApprovalRulesPage-BsCTIqUJ-C4QA3bIg.js → ReimbursementApprovalRulesPage-B48x1gPM-BostsSOa.js} +27 -27
  166. package/dist/assets/ReimbursementDetailPage-oIC9QEyF-BywJ2Ma5.js +314 -0
  167. package/dist/assets/{ReimbursementPromoPage-CyEgwqcf-DZSdpKpd.js → ReimbursementPromoPage-BKgsJieE-C8z1p7x-.js} +14 -14
  168. package/dist/assets/ReimbursementRoutes-CgHILlr6.js +13 -0
  169. package/dist/assets/{ReimbursementSetUpPage-RETPkEQd-BSfM62t6.js → ReimbursementSetUpPage-B_c-ZgFT-CEFcuF5y.js} +5 -5
  170. package/dist/assets/ReimbursementsBulkReviewDrawerPage-CeyGWbKR-DNjVjDW0.js +1 -0
  171. package/dist/assets/ReloadCard-DKGn1uxF-BoCqNia8.js +26 -0
  172. package/dist/assets/ReportTableViewSelector-CXDvZEbR-C7-vFnMM.js +150 -0
  173. package/dist/assets/ReportsPage-BoUyXSBC-Bpcr9t0g.js +121 -0
  174. package/dist/assets/ReportsRoutes-BiPwCg8q.js +1 -0
  175. package/dist/assets/{RevenueChart-DvyZ3aO7-B9ChYULL.js → RevenueChart-SvdhwBcE-Dxn52ow-.js} +12 -12
  176. package/dist/assets/ReviewDetailsPage-tT1l4R2r-RmP2wBK5.js +290 -0
  177. package/dist/assets/{ReviewOverlay-CxwoiOLC-CCAU2STn.js → ReviewOverlay-BoM41t8W-CTSAEiQG.js} +7 -7
  178. package/dist/assets/RewardsRoutes-E5CnWJ-f.js +1 -0
  179. package/dist/assets/RoleWithToolTip-C8x5yXaK-Dmelwbqx.js +22 -0
  180. package/dist/assets/{ScheduleDetailsFixedAssetsPage-DiL5Dozk-Bfi3yYiV.js → ScheduleDetailsFixedAssetsPage-Bkp0mCOn-DSmZf7Qv.js} +8 -8
  181. package/dist/assets/ScheduleDetailsPage-Dg9rYJbn-DllnnP3n.js +37 -0
  182. package/dist/assets/ScheduleSequenceTable-J6Eja8XA-Du9cL0M5.js +324 -0
  183. package/dist/assets/ScreenRoutes-IRYzg1I8.js +2 -0
  184. package/dist/assets/{SetUpAccountSection-CctbMmoK-BnyRcOnA.js → SetUpAccountSection-sfIB1h4i-5Qx4_bh2.js} +15 -15
  185. package/dist/assets/{SettingsRoutes-DRqBxtpE.js → SettingsRoutes-DcfqDJnj.js} +7 -7
  186. package/dist/assets/{SetupPagesScreen-BqfVkx2P.js → SetupPagesScreen-CKIcjKt5.js} +6 -6
  187. package/dist/assets/{SignIn-CmgmnRm4-DFMcLfwX.js → SignIn-Cu2nzuEC-Bp_oT71c.js} +75 -75
  188. package/dist/assets/SignInScreen-Ct79gq1E.js +1 -0
  189. package/dist/assets/SignOutScreen-CZ3i17sZ.js +9 -0
  190. package/dist/assets/SpendManagementListViewPage-9V9u1jPF-impkLVzs.js +134 -0
  191. package/dist/assets/SpendManagementPerTabPage-COvEPq7V-9dexPOGi.js +754 -0
  192. package/dist/assets/SpendManagementSection-dT-N4bSQ-zSvxEGhY.js +375 -0
  193. package/dist/assets/StatementItem-g5tfNBjV-TtkHAa_E.js +31 -0
  194. package/dist/assets/StatementsPage-DaFrVUeK-BKmugpaZ.js +58 -0
  195. package/dist/assets/{StatusSwitcher-Bv-ozN6U-DoZiCLb7.js → StatusSwitcher-CaoFw0cf-DekkCuBN.js} +1 -1
  196. package/dist/assets/{SubTabSwitcher-D7QeM6nb-CfY08u6h.js → SubTabSwitcher-zrkVj1aP-DzJ74MSf.js} +9 -9
  197. package/dist/assets/SuccessAnimation-oz7yQ6H3-CuxEvbYZ.js +13 -0
  198. package/dist/assets/{SummaryCard-C2qoTsAY-0SCAXQGr.js → SummaryCard-B9wqNSwM-CfbafqaP.js} +1 -1
  199. package/dist/assets/{TaskDetailPage-QMk4DTDK-BR6kbyWR.js → TaskDetailPage-044JwAvz-Dbz-j4Qe.js} +41 -41
  200. package/dist/assets/TaskListScreen-D2hgfbUK.js +9 -0
  201. package/dist/assets/TaskManagementPage-dAK9tl2b-VU_G-rkO.js +1063 -0
  202. package/dist/assets/TaskRoutes-JZtbl56L.js +9 -0
  203. package/dist/assets/TimeRangeSwitcher-r1TNqVRb-BuKa7qNu.js +64 -0
  204. package/dist/assets/TimeframeSwitcher-DHfHCTa4-BPyXAgbc.js +31 -0
  205. package/dist/assets/TimeframeSwitcherWithToggle-DvBvguRl-81Smo1q6.js +31 -0
  206. package/dist/assets/{TopExCard-Z1WabZ8c-tziOw6vi.js → TopExCard-BUjnGDUB-310z6unt.js} +6 -6
  207. package/dist/assets/{TopExDetailPage-CzHG4f9E-Dx0qRe8n.js → TopExDetailPage-CNDkfc3u-BceOPcNG.js} +14 -14
  208. package/dist/assets/{TransactionActivityLogPage-CGKnjNfU-BAwRPyZq.js → TransactionActivityLogPage-kSQqJVpX-D70Ebwxd.js} +9 -9
  209. package/dist/assets/TransactionDetailPage-f7vWtXWL-DszE4Lqv.js +903 -0
  210. package/dist/assets/TransactionDetailRoutes-TOpy1uKa.js +1 -0
  211. package/dist/assets/{TransactionDetailScreen-Ctm336US.js → TransactionDetailScreen-Bl43zCpG.js} +2 -2
  212. package/dist/assets/TransactionList-3-mUZOsw-BQQrTUgt.js +153 -0
  213. package/dist/assets/{TransactionListBig-C5Sf5Xh--BLokVYd8.js → TransactionListBig-Bx_Rm9ho-KpaUS-0g.js} +20 -20
  214. package/dist/assets/TransactionListPage-q6x4_jni-BCTSngWR.js +35 -0
  215. package/dist/assets/{TransactionListRoutes-B-4EVTzq.js → TransactionListRoutes-CMLh_lHF.js} +1 -1
  216. package/dist/assets/{TransactionVendorDetailPage-SsrSOk3O-DJak24pB.js → TransactionVendorDetailPage-MjSH5hfq-C0iHLHKf.js} +4 -4
  217. package/dist/assets/{TransferDrawerPage-BvKZ7vHF-MTsuTWb5.js → TransferDrawerPage-BayVa6po-DlkdYqMW.js} +32 -32
  218. package/dist/assets/TreasuryOverviewPage-CuqWmrO5-BZ_bPirD.js +708 -0
  219. package/dist/assets/{TreasuryPromoPage-CtTFvSQW-DJ1GjBPL.js → TreasuryPromoPage-BCjz1EKX-DryQkob1.js} +26 -26
  220. package/dist/assets/TreasuryRoutes-Uv2Q4-px.js +45 -0
  221. package/dist/assets/{TreasuryStatementsPage-Catz8shX-CnnTtymV.js → TreasuryStatementsPage-CGr00SXF-BI3wmSNl.js} +3 -3
  222. package/dist/assets/TreasuryTaxLetterPage-D9_qnlK4-BJVe4ICp.js +58 -0
  223. package/dist/assets/{TrendChart-Bnp4Pcdf-SZKHN0GU.js → TrendChart-JTOG0a7B-DWRNXuz6.js} +2 -2
  224. package/dist/assets/TrendWithTransactions-CTJhTpAM-BLYcqVCK.js +116 -0
  225. package/dist/assets/{UncategorizedAccountsMappingPage-DbyY-dYB-B2fWmH31.js → UncategorizedAccountsMappingPage-TGKYpC5A-CSRo9cGj.js} +7 -7
  226. package/dist/assets/{UnitIntegrationPage-CTzme1te-pEu5vNzn.js → UnitIntegrationPage-mt2IjA5X-HULL3VCR.js} +4 -4
  227. package/dist/assets/UploadAdditionalDocumentOverlay-DZfpwE5J-Cm7mweqJ.js +38 -0
  228. package/dist/assets/Vendor2FAPopup-DAOf5cJD-foKceGQ2.js +1 -0
  229. package/dist/assets/VendorACHDetailsPage-CCOupiSZ-aPYjuiNm.js +1 -0
  230. package/dist/assets/VendorDetailPage-DufNphGD-angvVXfL.js +257 -0
  231. package/dist/assets/VendorDomesticWireDetailsPage-BayV34Rt-dHdeqKnp.js +1 -0
  232. package/dist/assets/{VendorFiling1099EditablePage-himC7iD3-CAU1ePfq.js → VendorFiling1099EditablePage-CRnO7Ubw-C0qN_xq7.js} +16 -16
  233. package/dist/assets/VendorFirstReviewPage-DA0EL4RJ-CiwNSvUn.js +730 -0
  234. package/dist/assets/{VendorInternationalWireDetailsPage-CS595Xgc-5-nS8GMI.js → VendorInternationalWireDetailsPage-HUtNyn9Z-Ccax-820.js} +7 -7
  235. package/dist/assets/VendorInternationalWireSwiftDetailsPage-DRVMUeXi-BDnM6T3H.js +1 -0
  236. package/dist/assets/{VendorsAccountsSection-CgSJu8wq-B-6STrW9.js → VendorsAccountsSection-D6Qa1zf9-OD2ANcpQ.js} +4 -4
  237. package/dist/assets/{VendorsRoutes-bXsYyOK6.js → VendorsRoutes-BTXTUssE.js} +21 -21
  238. package/dist/assets/VerifyDevice-B6B_nk3v-BfzLjpGJ.js +112 -0
  239. package/dist/assets/VideoPlayer-BRAgZThr-Bcaasp-U.js +77 -0
  240. package/dist/assets/{VideoPopup-BqvZ-XIh-BNEOF87i.js → VideoPopup-C_SkBI9U-xDIm2hVu.js} +2 -2
  241. package/dist/assets/WiseConfirmationScreen-DSWFe61l.js +12 -0
  242. package/dist/assets/ZeniAccountDetailPage-Dp-eo-Vq-DUr2L7qz.js +300 -0
  243. package/dist/assets/ZeniAccountListViewPage-S-XmAYqD-CGRw402N.js +441 -0
  244. package/dist/assets/ZeniAccountNavBarPieces-DhjBxfEr-obkuSya3.js +14 -0
  245. package/dist/assets/{ZeniAccountPromoPage-JrcedQYB-Bg6zqKkh.js → ZeniAccountPromoPage-BgYCHYLO-B5ynGf7u.js} +24 -24
  246. package/dist/assets/ZeniAccountRoutes-ZzewLkL8.js +58 -0
  247. package/dist/assets/{ZeniAccountSetupPage-TKBfbgzJ-pUeIEkNR.js → ZeniAccountSetupPage-CvnIMdcY-BIOUi-Do.js} +4 -4
  248. package/dist/assets/ZeniAccountStatementScreen-8454IT-f.js +9 -0
  249. package/dist/assets/{ZeniAvatar-Bzhq25CU-C2bD0hCf.js → ZeniAvatar-CwHVUcMc-BJ8AyUay.js} +3 -3
  250. package/dist/assets/{ZeniCopyright-DglqrTpl-CuSiev8E.js → ZeniCopyright-BlLvlGZV-PtfyMNGF.js} +1 -1
  251. package/dist/assets/{ZeniDatePicker-BHXPxPnI-CMWZ6uB_.js → ZeniDatePicker-DCurorsW-jSixMxUp.js} +5 -5
  252. package/dist/assets/ZeniTransferAmountSlider-BNYgPwHs-BLgZWrKb.js +63 -0
  253. package/dist/assets/{accountMappingHelper-BjH4piH5.js → accountMappingHelper-S5pr6xme.js} +1 -1
  254. package/dist/assets/{add-to-wallet-DgdBD8_G-tcxpIUf6.js → add-to-wallet-DgdBD8_G-BxcaFQ_E.js} +1 -1
  255. package/dist/assets/{analytics-CxExYOQN.js → analytics-BZz0SPy3.js} +1 -1
  256. package/dist/assets/{analyticsHelper-Bdr21wig.js → analyticsHelper-CRAJfei1.js} +1 -1
  257. package/dist/assets/{analyticsHelper-CAYdbjhS-BnriMIKx.js → analyticsHelper-CYr5V2MV-D47W16kx.js} +1 -1
  258. package/dist/assets/{arrow-south-east-round-PEovUgvH-D9eZjC4F.js → arrow-south-east-round-PEovUgvH-CyfpwaWH.js} +1 -1
  259. package/dist/assets/{auto-transfer-rule-mbafm5D3-z35I1d4Z.js → auto-transfer-rule-mbafm5D3-Dm3PoOP-.js} +1 -1
  260. package/dist/assets/{avatar-Dz7aEm3d-BJFW_gi9.js → avatar-Dz7aEm3d-B59e782o.js} +1 -1
  261. package/dist/assets/{calculateSize-B2w5JPEU-DirCjmcI.js → calculateSize-Bn1NnCzV-CbPGQ475.js} +1 -1
  262. package/dist/assets/{chartTypes-CD3vrBsI-BZMuLEVT.js → chartTypes-40RenddT-C7uxWjgM.js} +1 -1
  263. package/dist/assets/{clock-CJkylEKt-DBRbYbDM.js → clock-CJkylEKt-DGRbc2He.js} +1 -1
  264. package/dist/assets/common-DEB71I4X-BRhAN_mv.js +1 -0
  265. package/dist/assets/commonDimensions-BMnB1-xU-CcNkFk9x.js +1 -0
  266. package/dist/assets/{commonTypes-5tEXwrX4-wrBzjunM.js → commonTypes-DsWS6Ccc-DgEYQkuk.js} +1 -1
  267. package/dist/assets/{core-Cd4LmmhG.js → core-BSWMBnrJ.js} +38 -3
  268. package/dist/assets/{dash.all.min-BwVV-Fhd.js → dash.all.min-ByV77lf8.js} +1 -1
  269. package/dist/assets/{decodeURIComponentSafe-Bnf24opg.js → decodeURIComponentSafe-B2RLRrdt.js} +1 -1
  270. package/dist/assets/detailCommon-CrcyqWtZ-s9USgEEF.js +38 -0
  271. package/dist/assets/{dnd-CAuW2Onh.js → dnd-DJrh3JTW.js} +1 -1
  272. package/dist/assets/{dollar-round-D18u7nlm-Bgjzafb1.js → dollar-round-D18u7nlm-qWQy8tOr.js} +1 -1
  273. package/dist/assets/downloadPdf-CUUx8PWn-Z4ddkC82.js +1 -0
  274. package/dist/assets/{empty-C4-Zh70_.js → empty-BcmJSfoQ.js} +1 -1
  275. package/dist/assets/{index-Dil8JkVI.js → empty-Ink6PjPr.js} +1 -1
  276. package/dist/assets/epic-C8YaW2BC.js +2 -0
  277. package/dist/assets/{filter-cZIFUNvj-UT3bl1R9.js → filter-cZIFUNvj-CBGTjKNF.js} +1 -1
  278. package/dist/assets/getLocaleForTenant-CeTv0_64.js +1 -0
  279. package/dist/assets/{gift-box-Cmt9OgIZ-xVRd_5bu.js → gift-box-Cmt9OgIZ-Dw9Bntj7.js} +1 -1
  280. package/dist/assets/{graphic-no-data-l-DU4J8fDt-DPD83Lsr.js → graphic-no-data-l-DU4J8fDt-hCWvJzzH.js} +1 -1
  281. package/dist/assets/{graphic-no-data-net-burn-l-CzmycA0m-qJDLonEJ.js → graphic-no-data-net-burn-l-CzmycA0m-DLhWQ7Y3.js} +1 -1
  282. package/dist/assets/{handshake-BPg58FML-BKdvF1x2.js → handshake-BPg58FML-DcpKXQqd.js} +1 -1
  283. package/dist/assets/{helper-Ckm10Uko-CYRllgeW.js → helper-BMiMbXMj-BqD7TDgt.js} +2 -2
  284. package/dist/assets/{hyperlink-DQyCeXx2-BaJrtvtu.js → hyperlink-DQyCeXx2-DgnccV5_.js} +1 -1
  285. package/dist/assets/{index-CSDJR0WY.js → index-4TmfhDJk.js} +8 -2
  286. package/dist/assets/{index-DJu_W448.js → index-B5VyyyEM.js} +1 -1
  287. package/dist/assets/{index-B4R3U21S.js → index-B9LViB8R.js} +1 -1
  288. package/dist/assets/index-ByhS5XEB.js +1 -0
  289. package/dist/assets/index-De4FUH-D.js +1 -0
  290. package/dist/assets/{index-Djco7rZW.js → index-T6cemxxv.js} +4299 -4237
  291. package/dist/assets/{lexical-0UdB2D6j.js → lexical-CdVAcKo7.js} +1 -1
  292. package/dist/assets/{liveblocks-IsOzz8u-.js → liveblocks--WiFaeN0.js} +8 -3
  293. package/dist/assets/{lottie-D3b06MuY.js → lottie-DOxhyevU.js} +1 -1
  294. package/dist/assets/mapLoadingInProgressToTreeNode-DGnyXKBT-5SZShw59.js +1 -0
  295. package/dist/assets/{mapSectionWithAcOnlyToTreeNode-Cgyt68f3-pTitDfos.js → mapSectionWithAcOnlyToTreeNode-BkPRWtaj-8acLvja0.js} +1 -1
  296. package/dist/assets/mapSpacerToTreeNode-CvGdU9Ma-BRhv3XRJ.js +1 -0
  297. package/dist/assets/mapTimeframeBalancesToTreeNode-BCOsOvxo-BW4YLdJu.js +1 -0
  298. package/dist/assets/mapTimeframeBalancesToTreeNode-DIqYP3NK-BuwKfIYt.js +1 -0
  299. package/dist/assets/mapTimeframeHeaderLoadingInProgressToTreeNode-Ch2rvcz4-u2sPQG8-.js +1 -0
  300. package/dist/assets/{media-player-CmMjgVLj.js → media-player-2gWGctcr.js} +2 -2
  301. package/dist/assets/{money-2cg1MuG4-S7Hyh6G5.js → money-2cg1MuG4-ZZWEE1BS.js} +1 -1
  302. package/dist/assets/{mui-Xyv5fYYp.js → mui-GaW5Gk_e.js} +1 -1
  303. package/dist/assets/{page-detail-CWX5S47F-DGhy77XG.js → page-detail-CWX5S47F-KCA2hl3j.js} +1 -1
  304. package/dist/assets/{page-summary-D7_VQHwN-CTvBuwro.js → page-summary-D7_VQHwN-C4mva4td.js} +1 -1
  305. package/dist/assets/panelSelectedMixin-CzfD5-Zs-DWsrfnbc.js +4 -0
  306. package/dist/assets/{pathToGoBack-CCCMgbLR.js → pathToGoBack-C0wXThmF.js} +1 -1
  307. package/dist/assets/{pdf-BCMUg4JF.js → pdf-DWoGjGSw.js} +4 -4
  308. package/dist/assets/{pdf-lib-COfDmyeW.js → pdf-lib-CU3tv6Hj.js} +1 -1
  309. package/dist/assets/{plaid-C49TlIE8.js → plaid-CNcdZ4gc.js} +1 -1
  310. package/dist/assets/{pusher-DxiBhdF2.js → pusher-_Mkhq734.js} +1 -1
  311. package/dist/assets/{radio-default-CiSgisfh-BZQ2G5gA.js → radio-default-CiSgisfh-CkW2sMb1.js} +1 -1
  312. package/dist/assets/react-BO8sqwy5.js +37 -0
  313. package/dist/assets/{react-DWguzYqh.js → react-C4isuCpp.js} +12 -2
  314. package/dist/assets/{react-CGtQZRg8.js → react-CKfk9tDS.js} +12 -2
  315. package/dist/assets/{react-DqghA0uT.js → react-CNYdj_E0.js} +12 -2
  316. package/dist/assets/{react-CvsoPUpv.js → react-COkkiwUG.js} +12 -2
  317. package/dist/assets/{react-BrhrhOid.js → react-CgpHxMDb.js} +12 -2
  318. package/dist/assets/{react-BPhBszYn.js → react-DnPZ1Xhy.js} +13 -3
  319. package/dist/assets/{react-7FfCeBSU.js → react-XuqF4K_l.js} +12 -2
  320. package/dist/assets/{recharts-CwRU7bDL.js → recharts-BQ8VH5gX.js} +1 -1
  321. package/dist/assets/{routePaths-BKDf21Fs.js → routePaths-BCoYK2N6.js} +1 -1
  322. package/dist/assets/{sentry-CEBEW6Zv.js → sentry-BoIfGJBF.js} +1 -1
  323. package/dist/assets/{shield-DOlUxcFf-CN5gdmRw.js → shield-DOlUxcFf-C_2cYUuc.js} +1 -1
  324. package/dist/assets/{spend-limit-D6SyboD4-Bn5NEHPU.js → spend-limit-D6SyboD4-D6KSyTVe.js} +1 -1
  325. package/dist/assets/toCOABalancesWithID-DkMGvlEt-R8kfnDme.js +1 -0
  326. package/dist/assets/toChartData-C6s-eBzE-hyCfo1sK.js +1 -0
  327. package/dist/assets/{transaction-placeholder-CpOwZAMG-Cm13WfkG.js → transaction-placeholder-CpOwZAMG-DpSw-x8s.js} +1 -1
  328. package/dist/assets/{undo-b_3XZ5CX-KXR9cWDD.js → undo-b_3XZ5CX-CsWxipxr.js} +1 -1
  329. package/dist/assets/{unlock-BPWn2I5L-BsNNzlL3.js → unlock-BPWn2I5L-C7FVhrTq.js} +1 -1
  330. package/dist/assets/{uploadAttachment-Ck4wivBR-yBAKB8AC.js → uploadAttachment-BlLqRIXe-CWI7Q5hT.js} +29 -29
  331. package/dist/assets/{uploadReceipts-CIgkuVpu-NJY_9LJT.js → uploadReceipts-Dge0cNF1-CQe0GGy5.js} +1 -1
  332. package/dist/assets/{url-4GCCVJ8T.js → url-BGCwBSI6.js} +1 -1
  333. package/dist/assets/{url-NmPSZVeC.js → url-uuiUYH_k.js} +1 -1
  334. package/dist/assets/{useDeviceId-ChcGCEaq.js → useDeviceId-0-eUuQR6.js} +1 -1
  335. package/dist/assets/useInitialThreadRequest-c5K33_u9.js +1 -0
  336. package/dist/assets/{useLongPress-GCK2COYQ-dPgjUCNK.js → useLongPress-GCK2COYQ-CkGyzLnK.js} +1 -1
  337. package/dist/assets/{usp-line-BBd1wKwW-B1nhdCck.js → usp-line-BBd1wKwW-BDy8G8EG.js} +1 -1
  338. package/dist/assets/{utils-PmQt3_O8.js → utils-BGRwbgi2.js} +20 -7
  339. package/dist/assets/withTransactionSidePanel-BYXSUWst.js +8 -0
  340. package/dist/assets/zeni-epic-state-BtVcBgvu.js +122 -0
  341. package/dist/assets/{zeni-icon-only-CORvK0Ur.js → zeni-icon-only-BOcJS42c.js} +1 -1
  342. package/dist/index.html +1 -1
  343. package/dist/service-worker.js +8 -16
  344. package/package.json +4 -4
  345. package/dist/assets/AccountInfoPage-Cd5xYT1g-D763Qyvc.js +0 -18
  346. package/dist/assets/AccountInfoPageContent-CJ7ycVIK-CKUMLopI.js +0 -149
  347. package/dist/assets/AccountRow-D1cjRJJD-BdE3iF8x.js +0 -298
  348. package/dist/assets/AddAddressForCardDrawer-DZkBMJfp-BK7N-00_.js +0 -6
  349. package/dist/assets/AddressRoutes-Ccs3FPgT.js +0 -1
  350. package/dist/assets/AddressScreen-D3wmm55j.js +0 -9
  351. package/dist/assets/AgingReportsPage-xBFff3BM-DGZQQSO7.js +0 -79
  352. package/dist/assets/AiCfoScreen-CpZJ-7Tu.js +0 -11
  353. package/dist/assets/AllUserItems-BJf6WPDo-DhoR1vda.js +0 -192
  354. package/dist/assets/ApAgingDetailPage-CjBrPyi8-CoBfxnfG.js +0 -46
  355. package/dist/assets/AppDrawerContent-CVVWj66i-BEu4Tzl6.js +0 -92
  356. package/dist/assets/ApprovalRulesSettingsPage-Cckd2uVA-DBcZwsJh.js +0 -47
  357. package/dist/assets/ArAgingChart-CBsqOd-4-CSu0CsiU.js +0 -24
  358. package/dist/assets/ArAgingDetailPage-i7JObt60-BYZy_lYv.js +0 -46
  359. package/dist/assets/BalancesInsightWithToolTip-B6umvmgL-lU55R1pB.js +0 -38
  360. package/dist/assets/BankAccountWarningSection-Cled-2cR-IDWXJwst.js +0 -51
  361. package/dist/assets/BillDetailPage-XXOwBfO1-B_qyoshY.js +0 -266
  362. package/dist/assets/BillPayApprovalRuleDetailPage-DFZ0csaT-DG_T6RsJ.js +0 -27
  363. package/dist/assets/BillPaySetUpPage-BCJbZDsV-Bzv1e0px.js +0 -42
  364. package/dist/assets/BusinessVerificationPage-DSuJFoW1-BFV8oVxm.js +0 -138
  365. package/dist/assets/BusinessVerificationPageScreen-zr101K58.js +0 -9
  366. package/dist/assets/BusyIndication-9zDqSKBP-9t4cVWUp.js +0 -9
  367. package/dist/assets/ChargeCardListTable-YznzSsJo-CtRcLDn8.js +0 -711
  368. package/dist/assets/ChargeCardPromoPage-DIfakIOK-9hZS6y39.js +0 -222
  369. package/dist/assets/ChargeCardSetupPage-0bpVkeJs--Y2UM3vS.js +0 -36
  370. package/dist/assets/CheckDepositDrawerPage-BS7hnyZn-Bd0AMQYn.js +0 -206
  371. package/dist/assets/CollapsableReportTable-DNfFkAts-CUxrmyNG.js +0 -2982
  372. package/dist/assets/CompanyPassportCard-CkzYFTrp-C_UcFpRm.js +0 -42
  373. package/dist/assets/ConfettiBurst-BZCXEGYA-DbOv_sxh.js +0 -1
  374. package/dist/assets/ConnectionAuthScreen-DZd3VxZY.js +0 -11
  375. package/dist/assets/CurrencySelectField-BAh7SHrG-DdvYnDaV.js +0 -139
  376. package/dist/assets/CustomerOnboardingAuthScreen-B1bd9dsj.js +0 -1
  377. package/dist/assets/CustomerOnboardingContainerPage-CWAtSu08-2qU_yNXn.js +0 -1
  378. package/dist/assets/CustomerOnboardingNoStepsPage-Bh_F0-oC-DLQX_3JZ.js +0 -66
  379. package/dist/assets/CustomerOnboardingRoutes-BAXbMfnG.js +0 -23
  380. package/dist/assets/DashboardRoutes-DbKYeD6W.js +0 -21
  381. package/dist/assets/DashboardSidebarBackgroundAnimation-BtA5oEGG-CJbp3sEl.js +0 -12
  382. package/dist/assets/DepositAccTransactionItem-CyFi1P_L-BCcxmkt2.js +0 -76
  383. package/dist/assets/DepositAccTransactionListPage-DvBRRUdZ-J7et1hpP.js +0 -66
  384. package/dist/assets/DomesticWireDetailScreen-Cul1gA8b.js +0 -18
  385. package/dist/assets/DomesticWireDetailsPage-DCDo3aHI-HC7kBah-.js +0 -21
  386. package/dist/assets/DownloadOverlay-D_lL1sPW-DOkU5hlK.js +0 -439
  387. package/dist/assets/DrawerScreen-DhllwMd9.js +0 -1
  388. package/dist/assets/EditPeoplePage-QvPy_Six-n79i1nrs.js +0 -55
  389. package/dist/assets/EditReimbursementDetailPage-C0ZDkboO-BclnolnW.js +0 -865
  390. package/dist/assets/EntityDetailPage-l7nXIsyF-DuAZNnhi.js +0 -18
  391. package/dist/assets/EntityDetailRoutes-B_Cb-iUY.js +0 -1
  392. package/dist/assets/ExpenseAutomationPage-DA22Qofw-CG5EBV_I.js +0 -3614
  393. package/dist/assets/ExpenseAutomationRoutes-BpXObA3F.js +0 -20
  394. package/dist/assets/FeaturePreviewScreen-T_BtTTOm.js +0 -1
  395. package/dist/assets/GlobalReviewListPage-D5_ACa-q-C1RHJAt_.js +0 -291
  396. package/dist/assets/InsightsCardStack-BsQzoVzj-DR9GooAs.js +0 -79
  397. package/dist/assets/InsightsSection-B6CNlTNH-CxTrjAli.js +0 -27
  398. package/dist/assets/InternationalWireSwiftDetailsPage-VdG7bDZi-540GEZbp.js +0 -171
  399. package/dist/assets/InvitePeoplePage-VTM6kM1u-BHWBEt_b.js +0 -12
  400. package/dist/assets/InvoiceUploadSection-it-ZYl1N--UvpGfb0.js +0 -140
  401. package/dist/assets/LabeledAddressValueField-BgWwd5Gw-X7xSKqD_.js +0 -45
  402. package/dist/assets/LabeledControlledCheckBoxField-CcPO1k23-BWN6aXuG.js +0 -16
  403. package/dist/assets/LabeledDocumentField-C_bcFxdY-DFBxx_FY.js +0 -41
  404. package/dist/assets/LabeledText-C8Y7EOsX-Dmu1KyEb.js +0 -42
  405. package/dist/assets/MagicLinkACHDetailsPage-BSOlSfNu-Dt0XKvRL.js +0 -1
  406. package/dist/assets/MagicLinkDomesticWireDetailsPage-D1DTPo0E-B6PaNuqE.js +0 -1
  407. package/dist/assets/MagicLinkInternationalWireDetailsPage-D_wo_2nm-xxPpWmmQ.js +0 -1
  408. package/dist/assets/MagicLinkRoutes-C3i-s06h.js +0 -72
  409. package/dist/assets/MagicLinkSignInScreen-CtR41hr5.js +0 -12
  410. package/dist/assets/MailingDetailsSection-ByOPaJ05-B9FPpo09.js +0 -21
  411. package/dist/assets/MobileAppDrawer-CYfAM9Mw.js +0 -1
  412. package/dist/assets/NavBarWithPicker-CGGEvLwe-MqQ8iCf4.js +0 -30
  413. package/dist/assets/NavigationDots-Dvce3gHt-C7tC--sE.js +0 -15
  414. package/dist/assets/NoDataChart-CrKeqWSr-BPXvlZWX.js +0 -26
  415. package/dist/assets/NotFoundScreen-DOVxG4zz.js +0 -1
  416. package/dist/assets/NotificationRoutes-C9ieyJ8k.js +0 -1
  417. package/dist/assets/NotificationsListConfig-B5pDa4cJ-D-LHk2Q0.js +0 -1
  418. package/dist/assets/NotificationsPage-Ccl7Dny1-tUs5en2X.js +0 -685
  419. package/dist/assets/OpExByVendorPage-spd-nKV4-ByxsaIoY.js +0 -100
  420. package/dist/assets/PandLWithForecastPage-TSoe4Z7F-Dxt-hrDj.js +0 -123
  421. package/dist/assets/PandLWithForecastRoutes-DzAt2VYp.js +0 -1
  422. package/dist/assets/PeoplePage-b5_I0qOw-B1LejvXe.js +0 -772
  423. package/dist/assets/PeopleRoutes-DlekbCRO.js +0 -22
  424. package/dist/assets/PerformanceRoutes-DHDv5Sgu.js +0 -1
  425. package/dist/assets/ReferralListScreen-D0Qeeka4.js +0 -5
  426. package/dist/assets/ReimbursementApprovalRoutes-DQ4DhPnk.js +0 -1
  427. package/dist/assets/ReimbursementDetailPage-BbyxE2uL-DDxSupzL.js +0 -314
  428. package/dist/assets/ReimbursementRoutes-BNmcGbMb.js +0 -13
  429. package/dist/assets/ReimbursementsBulkReviewDrawerPage-DnmYl0FM-DVlMblVO.js +0 -1
  430. package/dist/assets/ReloadCard-Bdoo0XiI-9pQ6UVc1.js +0 -26
  431. package/dist/assets/ReportTableViewSelector-Bc1K7mU_-gXJJUSis.js +0 -151
  432. package/dist/assets/ReportsPage-BOTHMLWh-BvsXS8KN.js +0 -269
  433. package/dist/assets/ReportsRoutes-CwUxs5b6.js +0 -1
  434. package/dist/assets/ReviewDetailsPage-BIMg1n2e-FEaUVtNb.js +0 -290
  435. package/dist/assets/RewardsRoutes-D92Io9n1.js +0 -1
  436. package/dist/assets/RoleWithToolTip-Ct3_VuDM-Cf0axDO6.js +0 -22
  437. package/dist/assets/ScheduleDetailsPage-5FWpLRtd-CUwPz525.js +0 -37
  438. package/dist/assets/ScheduleSequenceTable-R3-PsXES-5BgF0mPo.js +0 -326
  439. package/dist/assets/ScreenRoutes-ChKoG0ON.js +0 -2
  440. package/dist/assets/SignInScreen-DH_pbSqH.js +0 -1
  441. package/dist/assets/SignOutScreen-Dno5l8Lg.js +0 -9
  442. package/dist/assets/SpendManagementListViewPage-CFUxCqkU-J9ATHqo5.js +0 -134
  443. package/dist/assets/SpendManagementPerTabPage-C-kqNTci-VDy4U7Fo.js +0 -754
  444. package/dist/assets/SpendManagementSection-CIz4nE_w-DAna-1JL.js +0 -375
  445. package/dist/assets/StatementItem-vVtoBN2w-w_5ZfVLc.js +0 -31
  446. package/dist/assets/StatementsPage-As5WOnMR-CEfdxc4m.js +0 -58
  447. package/dist/assets/SuccessAnimation-hijccO_0-BXi2HO03.js +0 -13
  448. package/dist/assets/TaskListScreen-mqYgryHQ.js +0 -9
  449. package/dist/assets/TaskManagementPage-BJwp32Ph-DBKoA6AC.js +0 -1067
  450. package/dist/assets/TaskRoutes-BMkpTf1o.js +0 -9
  451. package/dist/assets/TimeRangeSwitcher-D00bDDhP-1mlxeaFc.js +0 -64
  452. package/dist/assets/TimeframeSwitcher-DA99HdHt-CrtHfDZp.js +0 -31
  453. package/dist/assets/TimeframeSwitcherWithToggle-DyggDIQj-CHaX8emE.js +0 -53
  454. package/dist/assets/TransactionDetailPage-1-mLOWSz-q5DHD8vz.js +0 -903
  455. package/dist/assets/TransactionDetailRoutes-DCcj_QaR.js +0 -1
  456. package/dist/assets/TransactionList-BB-xoIGm-CbFPe10H.js +0 -153
  457. package/dist/assets/TransactionListPage-Cj7h1Ros-Yma_Yj44.js +0 -35
  458. package/dist/assets/TreasuryOverviewPage-DwvjMR4_-CDiSPOKr.js +0 -725
  459. package/dist/assets/TreasuryRoutes-CdKpKyqq.js +0 -45
  460. package/dist/assets/TreasuryTaxLetterPage-D8hzCL5o-C0VOVcU6.js +0 -58
  461. package/dist/assets/TrendWithTransactions-3D1FvM8G-Cg_o5A0H.js +0 -116
  462. package/dist/assets/UploadAdditionalDocumentOverlay-Wl4Spdpn-V2EGBlJF.js +0 -38
  463. package/dist/assets/Vendor2FAPopup-D0zYKkIv-CHyHr4rl.js +0 -1
  464. package/dist/assets/VendorACHDetailsPage-YYX9aQdw-uNnx3T-D.js +0 -1
  465. package/dist/assets/VendorDetailPage-Br9wIOnI-TtYKWO-7.js +0 -257
  466. package/dist/assets/VendorDomesticWireDetailsPage-BpPgQRHI-DuYV6q0p.js +0 -1
  467. package/dist/assets/VendorFirstReviewPage-BbknTCBD-BMuoya7m.js +0 -730
  468. package/dist/assets/VendorInternationalWireSwiftDetailsPage-yhTjWXvw-N84csmRk.js +0 -1
  469. package/dist/assets/VerifyDevice-Dvf0JsNN-94SCla0o.js +0 -112
  470. package/dist/assets/VideoPlayer-VAzOGCDL-Gj554Pzr.js +0 -77
  471. package/dist/assets/WiseConfirmationScreen-BlvPhWtt.js +0 -12
  472. package/dist/assets/ZeniAccountDetailPage-GcwTJdB8-k3MpvD3h.js +0 -300
  473. package/dist/assets/ZeniAccountListViewPage-CdwO0Duy-Dgq1iwVA.js +0 -443
  474. package/dist/assets/ZeniAccountNavBarPieces-BrSIfL36-CO__0U_1.js +0 -33
  475. package/dist/assets/ZeniAccountRoutes-DmQ36-U1.js +0 -58
  476. package/dist/assets/ZeniAccountStatementScreen-CKcr5fe4.js +0 -9
  477. package/dist/assets/ZeniTransferAmountSlider-BcaZZuAw-CumWTq_t.js +0 -63
  478. package/dist/assets/bank-letter-BOcVjN6J-DG6tnMPR.js +0 -1
  479. package/dist/assets/common-BpxEACHl-Buzd-sJA.js +0 -1
  480. package/dist/assets/commonDimensions-Oz1tdAcx-D3vjaJvc.js +0 -1
  481. package/dist/assets/downloadPdf-Dsuxeias-L1V5Ax68.js +0 -1
  482. package/dist/assets/empty-D2kWk7G0.js +0 -1
  483. package/dist/assets/epic-B4lLDVkd.js +0 -2
  484. package/dist/assets/getLocaleForTenant-Bn_9x6pb.js +0 -1
  485. package/dist/assets/index-DH1028wG.js +0 -1
  486. package/dist/assets/mapLoadingInProgressToTreeNode-jcHEi-mv-CB7uCtY5.js +0 -1
  487. package/dist/assets/mapSpacerToTreeNode-XgUp1xUb-Cw4z2kHv.js +0 -1
  488. package/dist/assets/mapTimeframeBalancesToTreeNode-Bre8FfBF-Dp06n9g6.js +0 -1
  489. package/dist/assets/mapTimeframeBalancesToTreeNode-DOyCX6ij-6k7MqZhE.js +0 -1
  490. package/dist/assets/mapTimeframeHeaderLoadingInProgressToTreeNode-D2IvFyR5-lmI_kU2C.js +0 -1
  491. package/dist/assets/panelSelectedMixin-Cddsb26L-KaZtuqEM.js +0 -3
  492. package/dist/assets/react-BdRvxYlI.js +0 -19
  493. package/dist/assets/toCOABalancesWithID-aLNB35t7-D-R0UrAf.js +0 -1
  494. package/dist/assets/toChartData-DUL6vnzJ-CB0d1jE1.js +0 -1
  495. package/dist/assets/upload-reimbursement-receipt-O2N8vcO7-B07hVCFS.js +0 -1
  496. package/dist/assets/useInitialThreadRequest-BQElYMHu.js +0 -1
  497. package/dist/assets/withTransactionSidePanel-BtZz7sjy.js +0 -8
  498. package/dist/assets/zeni-epic-state-Ddwqsd5-.js +0 -14
@@ -1,4 +1,4 @@
1
- import{V as t,e as ge,h as ye,b as ae,gT as ea,a5 as aa,a as ta,L as na,a9 as Me,o as a,O as K,x as m,a8 as Be,n as oa,R as ia,y as _e,bo as ra,eO as Oe,d as Z,f as J,fP as se,w as la,D as Ne,c2 as ca,a7 as De,T as sa,c8 as da,A as ma,ex as pa,f6 as ua,cf as ha,h4 as Se,h5 as ga,fD as ya,m as r,bx as fa,at as Ca,eT as ba,bH as xa,l as We,gk as wa,bv as Da,ac as Sa,h6 as $a,cq as ka,gl as Aa,fi as La,fe as va}from"./index-Djco7rZW.js";import{n as i}from"./mui-Xyv5fYYp.js";import{a as p}from"./sentry-CEBEW6Zv.js";import{u as Ia}from"./plaid-C49TlIE8.js";import{bG as ue,c6 as Ra,bs as $e,cg as Fa,ch as ke,bY as Ta}from"./zeni-epic-state-Ddwqsd5-.js";import{x as Pa}from"./LabeledControlledCheckBoxField-CcPO1k23-BWN6aXuG.js";import"./pdf-BCMUg4JF.js";import"./core-Cd4LmmhG.js";import"./lottie-D3b06MuY.js";import"./liveblocks-IsOzz8u-.js";import"./recharts-CwRU7bDL.js";import"./dnd-CAuW2Onh.js";import"./analytics-CxExYOQN.js";import"./utils-PmQt3_O8.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},o=new e.Error().stack;o&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[o]="ecc3ed25-da47-4ff0-8e22-3a54286700a6",e._sentryDebugIdIdentifier="sentry-dbid-ecc3ed25-da47-4ff0-8e22-3a54286700a6")}catch{}})();const te={largeLabelWidth:new m(120,120,160),navBarContainerPaddingXaxis:new m(10,19),containerPaddingLeft:new m(r[3],r[6],r[8]),containerPaddingRight:new m(r[3],r[6],r[8]),reviewContentWrapperPaddingBottom:new m(r[5],r[8])},he={pageTitle:new Z("h6Regular","h5Regular"),integerAmountInput:new Z("h5Regular","largeMedium"),decimalAmountInput:new Z("largeSemiBold","largeMedium")},{dateFormat:{visual:{MMMDCommaYYYYformat:Ae}},common:{edit:ja,labels:de,navBar:{back:za},to:Ea,zeniInc:Ma},spendManagement:{zeniAccounts:{zeniAccountList:{transferDrawer:Ba}},chargeCard:{payEarly:z}}}=K.getLocalizedStrings(),_a=({paymentDetails:e,isCashbackInfoFetchStateCompleted:o,isCreditCardInfoFetchStateCompleted:u,isDebitCardInfoFetchStateCompleted:n,controllerEmails:f,productInformation:l,cashbackInformation:h,paymentSourceInformation:L,creditAccountInformation:C,debitAccountInformation:g,setShowReviewContent:x,onTransferClick:b})=>{const d=ge(),S=_e(),v=ye().analytics,[M,I]=p.useState(!1);p.useEffect(()=>{e.error!=null?I(!0):I(!1)},[e.error]);const R=te.largeLabelWidth.value(d),F=e.chargeCardRepaymentDetailLocalData.transferFrom?.accType==="depositAccount",T=F?1:3,P=ue(Ra($e().toDate(),[0,6],T).toDateString()).format(Ae),B=F?z.timeline01BusinessDay:z.timeline23BusinessDays,_=F?z.estimatedPaymentCompleteWithoutTimeline.replace("__date__",P):z.estimatedPaymentCompleteWithTimeline.replace("__date__",P).replace("__timeline__",B);return t.jsxs(t.Fragment,{children:[t.jsxs(Xa,{windowSize:d,children:[t.jsx(tt,{windowSize:d,children:t.jsx(ra,{title:za,enterTouchDelay:600,placement:"bottom",display:"flex",children:t.jsx(at,{"data-testid":ae("nav-bar-back-credit-card-payment-review"),onClick:()=>{o&&u&&n&&h!=null&&v.trackCardsPayEarlyFormClick(f,l,h,"Back",e.chargeCardRepaymentDetailLocalData.isAutoRepayment,{paymentAmount:e.chargeCardRepaymentDetailLocalData.amount.amount,paymentAccountName:e.chargeCardRepaymentDetailLocalData.transferFrom?.label,paymentAccountType:e.chargeCardRepaymentDetailLocalData.transferFrom?.accType,paymentAccountLastFourDigits:e.chargeCardRepaymentDetailLocalData.transferFrom?.accountLast4,paymentCompleteEta:void 0,paymentInitiatedDate:void 0},L,C,g),x(!1)}})})}),t.jsx(nt,{windowSize:d,children:Ba.reviewAndConfirm}),t.jsxs(Na,{children:[z.pay," ",t.jsx(Le,{children:t.jsx(Oe,{amount:e.chargeCardRepaymentDetailLocalData.amount,integerStyles:he.integerAmountInput.styleObject(d),decimalStyles:he.decimalAmountInput.styleObject(d),style:{display:"inline-flex"}})})," ",Ea," ",t.jsx(Le,{children:Ma})]}),M?t.jsx(Ga,{children:t.jsxs(Ya,{children:[t.jsxs(Za,{children:[t.jsx(Ja,{}),t.jsxs(Va,{children:[t.jsx(Ha,{children:e.error?.title}),t.jsx(qa,{children:e.error?.message})]})]}),t.jsx(Ka,{children:t.jsx(Qa,{"data-testid":ae("close-error-credit-card-payment-review"),onClick:()=>{I(!1)},style:{width:a.sp3,height:a.sp3,color:J.heroLight}})})]})}):null,t.jsx(et,{windowSize:d,children:t.jsxs(Ua,{children:[t.jsx(se,{label:{label:de.paymentMethod,width:R},text:t.jsx(me,{windowSize:d,children:e.chargeCardRepaymentDetailLocalData.transferFrom?.accType==="depositAccount"?z.bookPayment:z.sameDayACH}),style:{width:"auto"}}),t.jsx(ve,{}),t.jsx(se,{label:{label:de.sourceAccount,width:R},text:t.jsxs(me,{windowSize:d,children:[Ue(e.transferFromAccounts,e.chargeCardRepaymentDetailLocalData.transferFrom?.id??"",!0),t.jsxs(Wa,{windowSize:d,children:[e.chargeCardRepaymentDetailLocalData.transferFrom?.label,e.chargeCardRepaymentDetailLocalData.transferFrom?.maskedAccountNumber!=null?` ${e.chargeCardRepaymentDetailLocalData.transferFrom.maskedAccountNumber}`:e.chargeCardRepaymentDetailLocalData.transferFrom?.accountLast4!=null?` •••• ${e.chargeCardRepaymentDetailLocalData.transferFrom.accountLast4}`:null]})]}),style:{width:"auto"}}),t.jsx(ve,{}),t.jsx(se,{label:{label:de.paymentDate,width:R},showAdditionalInfoLabel:!0,additionalInfoLabel:_,additionalInfoLabelStyles:{color:S.colors.hero,...la.smallRegular.cssObject},text:t.jsx(me,{windowSize:d,children:$e().format(Ae)}),style:{width:"auto"}})]})})]}),t.jsx(Me,{style:{zIndex:4,paddingTop:a.sp3,paddingBottom:a.sp0},helperText:z.byClickingPayNowIAuthorizeZeniToInitiateThePayment,helperStyle:{padding:`${a.sp0} ${a.sp0} ${a.sp3} ${a.sp0}`},cancelBtn:{label:ja,onClick:()=>{o&&u&&n&&h!=null&&v.trackCardsPayEarlyFormClick(f,l,h,"Edit",e.chargeCardRepaymentDetailLocalData.isAutoRepayment,{paymentAmount:e.chargeCardRepaymentDetailLocalData.amount.amount,paymentAccountName:e.chargeCardRepaymentDetailLocalData.transferFrom?.label,paymentAccountType:e.chargeCardRepaymentDetailLocalData.transferFrom?.accType,paymentAccountLastFourDigits:e.chargeCardRepaymentDetailLocalData.transferFrom?.accountLast4,paymentCompleteEta:void 0,paymentInitiatedDate:void 0},L,C,g),x(!1)},style:{minWidth:94}},primaryBtn:{label:z.payNow,onClick:b,isLoading:e.updateStatus==="In-Progress",style:{minWidth:94}}})]})},Ue=(e,o,u)=>{if(o==="")return t.jsx(st,{});const n=e.find(l=>l.id===o),f=e.findIndex(l=>l.id===o);if(n!=null){if(n.accType==="depositAccount")return t.jsx(lt,{isOptionSelected:u,children:t.jsx(ct,{color:wa(f)})});if(n.accType==="paymentAccount")return n.logo!==void 0&&(n.logo.base64||n.logo.url)?t.jsx(ot,{src:Oa(n.logo),isOptionSelected:u,loading:"lazy"}):t.jsx(it,{isOptionSelected:u,children:t.jsx(rt,{})})}return null},Oa=e=>e.base64!==void 0?`${La}${e.base64.toString()}`:e.url!==void 0?e.url.toString():"",Na=i(Ca)`
1
+ import{V as t,J as ge,c as ye,a6 as ae,gI as ea,a4 as aa,i as ta,f as na,a9 as Be,o as a,O as J,b as m,a8 as Me,l as oa,P as ia,y as _e,bg as ra,eC as Oe,H as q,e as K,fG as se,j as la,I as Ne,bX as ca,a7 as De,T as sa,b$ as da,A as ma,el as pa,eY as ua,c6 as ha,gS as Se,gT as ga,ft as ya,u as r,bp as fa,at as Ca,eJ as ba,bB as xa,s as We,ga as wa,bn as Da,ac as Sa,gU as ka,ch as $a,gb as Aa,f8 as La,f4 as va}from"./index-T6cemxxv.js";import{n as i}from"./mui-GaW5Gk_e.js";import{a as p}from"./sentry-BoIfGJBF.js";import{u as Ia}from"./plaid-CNcdZ4gc.js";import{bG as ue,b_ as Fa,bs as ke,ca as Ra,cb as $e,bY as Ta}from"./zeni-epic-state-BtVcBgvu.js";import{x as Pa}from"./LabeledControlledCheckBoxField-CgZg0uOW-BjnMYuFb.js";import"./pdf-DWoGjGSw.js";import"./core-BSWMBnrJ.js";import"./lottie-DOxhyevU.js";import"./liveblocks--WiFaeN0.js";import"./recharts-BQ8VH5gX.js";import"./dnd-DJrh3JTW.js";import"./analytics-BZz0SPy3.js";import"./utils-BGRwbgi2.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},o=new e.Error().stack;o&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[o]="c5b820a3-00f3-4670-966a-59e7041ef256",e._sentryDebugIdIdentifier="sentry-dbid-c5b820a3-00f3-4670-966a-59e7041ef256")}catch{}})();const te={largeLabelWidth:new m(120,120,160),navBarContainerPaddingXaxis:new m(10,19),containerPaddingLeft:new m(r[3],r[6],r[8]),containerPaddingRight:new m(r[3],r[6],r[8]),reviewContentWrapperPaddingBottom:new m(r[5],r[8])},he={pageTitle:new q("h6Regular","h5Regular"),integerAmountInput:new q("h5Regular","largeMedium"),decimalAmountInput:new q("largeSemiBold","largeMedium")},{dateFormat:{visual:{MMMDCommaYYYYformat:Ae}},common:{edit:ja,labels:de,navBar:{back:za},to:Ea,zeniInc:Ba},spendManagement:{zeniAccounts:{zeniAccountList:{transferDrawer:Ma}},chargeCard:{payEarly:z}}}=J.getLocalizedStrings(),_a=({paymentDetails:e,isCashbackInfoFetchStateCompleted:o,isCreditCardInfoFetchStateCompleted:u,isDebitCardInfoFetchStateCompleted:n,controllerEmails:f,productInformation:l,cashbackInformation:h,paymentSourceInformation:L,creditAccountInformation:C,debitAccountInformation:g,setShowReviewContent:x,onTransferClick:b})=>{const d=ge(),S=_e(),v=ye().analytics,[B,I]=p.useState(!1);p.useEffect(()=>{e.error!=null?I(!0):I(!1)},[e.error]);const F=te.largeLabelWidth.value(d),R=e.chargeCardRepaymentDetailLocalData.transferFrom?.accType==="depositAccount",T=R?1:3,P=ue(Fa(ke().toDate(),[0,6],T).toDateString()).format(Ae),M=R?z.timeline01BusinessDay:z.timeline23BusinessDays,_=R?z.estimatedPaymentCompleteWithoutTimeline.replace("__date__",P):z.estimatedPaymentCompleteWithTimeline.replace("__date__",P).replace("__timeline__",M);return t.jsxs(t.Fragment,{children:[t.jsxs(Za,{windowSize:d,children:[t.jsx(tt,{windowSize:d,children:t.jsx(ra,{title:za,enterTouchDelay:600,placement:"bottom",display:"flex",children:t.jsx(at,{"data-testid":ae("nav-bar-back-credit-card-payment-review"),onClick:()=>{o&&u&&n&&h!=null&&v.trackCardsPayEarlyFormClick(f,l,h,"Back",e.chargeCardRepaymentDetailLocalData.isAutoRepayment,{paymentAmount:e.chargeCardRepaymentDetailLocalData.amount.amount,paymentAccountName:e.chargeCardRepaymentDetailLocalData.transferFrom?.label,paymentAccountType:e.chargeCardRepaymentDetailLocalData.transferFrom?.accType,paymentAccountLastFourDigits:e.chargeCardRepaymentDetailLocalData.transferFrom?.accountLast4,paymentCompleteEta:void 0,paymentInitiatedDate:void 0},L,C,g),x(!1)}})})}),t.jsx(nt,{windowSize:d,children:Ma.reviewAndConfirm}),t.jsxs(Na,{children:[z.pay," ",t.jsx(Le,{children:t.jsx(Oe,{amount:e.chargeCardRepaymentDetailLocalData.amount,integerStyles:he.integerAmountInput.styleObject(d),decimalStyles:he.decimalAmountInput.styleObject(d),style:{display:"inline-flex"}})})," ",Ea," ",t.jsx(Le,{children:Ba})]}),B?t.jsx(Xa,{children:t.jsxs(Ya,{children:[t.jsxs(qa,{children:[t.jsx(Ka,{}),t.jsxs(Va,{children:[t.jsx(Ga,{children:e.error?.title}),t.jsx(Ha,{children:e.error?.message})]})]}),t.jsx(Ja,{children:t.jsx(Qa,{"data-testid":ae("close-error-credit-card-payment-review"),onClick:()=>{I(!1)},style:{width:a.sp3,height:a.sp3,color:K.heroLight}})})]})}):null,t.jsx(et,{windowSize:d,children:t.jsxs(Ua,{children:[t.jsx(se,{label:{label:de.paymentMethod,width:F},text:t.jsx(me,{windowSize:d,children:e.chargeCardRepaymentDetailLocalData.transferFrom?.accType==="depositAccount"?z.bookPayment:z.sameDayACH}),style:{width:"auto"}}),t.jsx(ve,{}),t.jsx(se,{label:{label:de.sourceAccount,width:F},text:t.jsxs(me,{windowSize:d,children:[Ue(e.transferFromAccounts,e.chargeCardRepaymentDetailLocalData.transferFrom?.id??"",!0),t.jsxs(Wa,{windowSize:d,children:[e.chargeCardRepaymentDetailLocalData.transferFrom?.label,e.chargeCardRepaymentDetailLocalData.transferFrom?.maskedAccountNumber!=null?` ${e.chargeCardRepaymentDetailLocalData.transferFrom.maskedAccountNumber}`:e.chargeCardRepaymentDetailLocalData.transferFrom?.accountLast4!=null?` •••• ${e.chargeCardRepaymentDetailLocalData.transferFrom.accountLast4}`:null]})]}),style:{width:"auto"}}),t.jsx(ve,{}),t.jsx(se,{label:{label:de.paymentDate,width:F},showAdditionalInfoLabel:!0,additionalInfoLabel:_,additionalInfoLabelStyles:{color:S.colors.hero,...la.smallRegular.cssObject},text:t.jsx(me,{windowSize:d,children:ke().format(Ae)}),style:{width:"auto"}})]})})]}),t.jsx(Be,{style:{zIndex:4,paddingTop:a.sp3,paddingBottom:a.sp0},helperText:z.byClickingPayNowIAuthorizeZeniToInitiateThePayment,helperStyle:{padding:`${a.sp0} ${a.sp0} ${a.sp3} ${a.sp0}`},cancelBtn:{label:ja,onClick:()=>{o&&u&&n&&h!=null&&v.trackCardsPayEarlyFormClick(f,l,h,"Edit",e.chargeCardRepaymentDetailLocalData.isAutoRepayment,{paymentAmount:e.chargeCardRepaymentDetailLocalData.amount.amount,paymentAccountName:e.chargeCardRepaymentDetailLocalData.transferFrom?.label,paymentAccountType:e.chargeCardRepaymentDetailLocalData.transferFrom?.accType,paymentAccountLastFourDigits:e.chargeCardRepaymentDetailLocalData.transferFrom?.accountLast4,paymentCompleteEta:void 0,paymentInitiatedDate:void 0},L,C,g),x(!1)},style:{minWidth:94}},primaryBtn:{label:z.payNow,onClick:b,isLoading:e.updateStatus==="In-Progress",style:{minWidth:94}}})]})},Ue=(e,o,u)=>{if(o==="")return t.jsx(st,{});const n=e.find(l=>l.id===o),f=e.findIndex(l=>l.id===o);if(n!=null){if(n.accType==="depositAccount")return t.jsx(lt,{isOptionSelected:u,children:t.jsx(ct,{color:wa(f)})});if(n.accType==="paymentAccount")return n.logo!==void 0&&(n.logo.base64||n.logo.url)?t.jsx(ot,{src:Oa(n.logo),isOptionSelected:u,loading:"lazy"}):t.jsx(it,{isOptionSelected:u,children:t.jsx(rt,{})})}return null},Oa=e=>e.base64!==void 0?`${La}${e.base64.toString()}`:e.url!==void 0?e.url.toString():"",Na=i(Ca)`
2
2
  color: ${e=>e.theme.colors.hero};
3
3
  padding-top: ${a.sp3};
4
4
  white-space: nowrap;
@@ -23,17 +23,17 @@ import{V as t,e as ge,h as ye,b as ae,gT as ea,a5 as aa,a as ta,L as na,a9 as Me
23
23
  width: 100%;
24
24
  justify-content: space-between;
25
25
  padding: ${a.sp3} ${a.sp4};
26
- background-color: ${J.importantLight};
26
+ background-color: ${K.importantLight};
27
27
  border-radius: ${a.sp2};
28
28
  `,Va=i.div`
29
29
  display: flex;
30
30
  flex-direction: column;
31
31
  margin-left: ${a.sp2};
32
- `,Ha=i(xa)`
33
- color: ${J.important};
34
- `,qa=i(We)`
35
- color: ${J.important};
36
- `,Ga=i.div`
32
+ `,Ga=i(xa)`
33
+ color: ${K.important};
34
+ `,Ha=i(We)`
35
+ color: ${K.important};
36
+ `,Xa=i.div`
37
37
  margin-top: ${a.sp3};
38
38
  display: flex;
39
39
  background-color: ${e=>e.theme.colors.grey5};
@@ -42,19 +42,19 @@ import{V as t,e as ge,h as ye,b as ae,gT as ea,a5 as aa,a as ta,L as na,a9 as Me
42
42
  border: ${e=>`1px solid ${e.theme.colors.grey3}`};
43
43
  border-radius: ${a.sp2};
44
44
  box-shadow: ${e=>`${a.sp0} 2px 2px ${e.theme.colors.dropShadowNormal}`};
45
- `,Xa=i.div`
45
+ `,Za=i.div`
46
46
  height: auto;
47
47
  padding-left: ${e=>`${te.containerPaddingLeft.valuePx(e.windowSize)}`};
48
48
  padding-right: ${e=>`${te.containerPaddingRight.valuePx(e.windowSize)}`};
49
49
  margin-bottom: auto;
50
- `,Za=i.div`
50
+ `,qa=i.div`
51
51
  display: flex;
52
52
  align-items: flex-start;
53
- `,Ka=i.div``,Ja=i(ba)`
53
+ `,Ja=i.div``,Ka=i(ba)`
54
54
  width: ${a.sp4};
55
55
  height: ${a.sp4};
56
- color: ${J.important};
57
- `,Qa=i(Be)`
56
+ color: ${K.important};
57
+ `,Qa=i(Me)`
58
58
  cursor: pointer;
59
59
  color: ${e=>e.theme.colors.hero};
60
60
  width: ${a.sp4};
@@ -122,17 +122,17 @@ import{V as t,e as ge,h as ye,b as ae,gT as ea,a5 as aa,a as ta,L as na,a9 as Me
122
122
  width: inherit;
123
123
  height: inherit;
124
124
  margin-right: ${a.sp2};
125
- `,st=i(ka)`
125
+ `,st=i($a)`
126
126
  min-width: ${a.sp4};
127
127
  width: ${a.sp4};
128
128
  height: ${a.sp4};
129
129
  margin-right: 12px;
130
130
  margin-left: ${a.sp1};
131
131
  color: ${e=>e.theme.colors.hero};
132
- `,{common:pe,spendManagement:{zeniAccounts:{zeniAccountList:dt},billPay:{insufficientFunds:mt},chargeCard:{payEarly:X}},commonSetUp:{setUp:{accountsPlg:re}}}=K.getLocalizedStrings(),Ye="amount",Y="paymentDetails",Ve="creditCardPaymentPage",le=(e,o)=>`${e}.${o}`,He=e=>`${e}_form`,D={largeLabelWidth:new m(120,120,160),labelMarginLeftPicker:new m(r[3],r[4]),labelMarginRightPicker:new m(r[3],r[4]),labelMarginTopPicker:new m(r[2],r[2]),labeledFieldPaddingLeft:new m(r[2],r[0]),labeledFieldPaddingRight:new m(r[2],r[2]),labeledFieldPaddingTop:new m(r[2],r[2]),labeledFieldPaddingBottom:new m(r[2],r[2]),infoLabelPaddingRight:new m(r[0],r[3]),infoLabelMarginTop:new m(r[1],r[0]),checkBoxTop:new m(r[1],r[0])},Ie={integerAmountInput:new Z("h5Regular","h2Regular"),decimalAmountInput:new Z("largeSemiBold","h5Medium")};function pt({autoPayThreshold:e,plaidConnectionDetails:o,maxInsuredAmount:u,paymentDetails:n,lowBalanceAdditionalInfo:f,paymentAccount:l,isAccountsEnabled:h,onSaveChangesToLocalStore:L,onUpdatePaymentAccountStatus:C,onEstablishConnectionClick:g,onEstablishConnectionSuccess:x,onFetchLinkTokenClick:b,setShowReviewLoading:d,onSignUpAccountClick:S,onMoveMoneyClick:v,isCashbackInfoFetchStateCompleted:M,isCreditCardInfoFetchStateCompleted:I,isDebitCardInfoFetchStateCompleted:R,controllerEmails:F,productInformation:T,cashbackInformation:P,paymentSourceInformation:B,creditAccountInformation:_,debitAccountInformation:Q}){const s=ge(),ee=_e(),oe=D.largeLabelWidth.value(s),$=ye().analytics,O=p.useRef(null),[N,W]=p.useState(!1),[A,V]=p.useState(void 0),w=o.link_account,H=o.update_account,k=A==="update_account"?H:w,[q,fe]=p.useState(k.linkToken??null),Ce=De(w.updateStatus.fetchState),G=sa({mode:"all",reValidateMode:"onBlur",defaultValues:p.useMemo(()=>Re(n),[n]),values:p.useMemo(()=>Re(n),[n])}),be=l?.isLoginRequired??!1,j=l?.providerVerificationStatus?.code,xe=De(H.updateStatus.fetchState),qe=p.useCallback((c,y)=>{const U=y.accounts.find(ie=>ie.id===l?.providerAccountId)??y.accounts[0];l?.paymentAccountId==null||A!=="update_account"||U?.verification_status==null||be?g?.(c,A):C(U?.verification_status,l.paymentAccountId,"update_account"),V(void 0),W(!1)},[l?.paymentAccountId,l?.providerAccountId,A,be,C,g]),Ge=p.useCallback((c,y)=>{c!=null&&(c.error_code==="TOO_MANY_VERIFICATION_ATTEMPTS"&&l?.paymentAccountId!=null&&C("verification_failed",l.paymentAccountId,"update_account"),console.log("Plaid Connection Error",c,y)),V(void 0),W(!1)},[l?.paymentAccountId,C]),{open:ce,ready:we}=Ia({token:q,onSuccess:qe,onExit:Ge});p.useEffect(()=>{(Ce==="In-Progress"&&w.updateStatus.fetchState==="Completed"||xe==="In-Progress"&&H.updateStatus.fetchState==="Completed")&&(Fa(j??"")||(b?.("link_account"),x()))},[w.updateStatus.fetchState,x,b,Ce,xe,H.updateStatus.fetchState,j]),p.useEffect(()=>{(ke(j??"")||j==="verification_failed")&&!N&&A!=null&&k.linkToken===q&&k.fetchStatus.fetchState==="Completed"&&we&&W(!0)},[we,q,k.fetchStatus.fetchState,k.linkToken,j,A,N]),p.useEffect(()=>{k.fetchStatus.fetchState==="Completed"&&k.linkToken!=null&&k.linkToken!==q&&fe(k.linkToken)},[k.fetchStatus.fetchState,k.linkToken,q]),p.useEffect(()=>{N&&ce()},[N,ce]),p.useEffect(()=>{(j==null||j==="verification_failed"||j==="verification_expired"||ke(j))&&(ue(new Date().toISOString()).isAfter(w.expiration)||w.linkToken==null)&&b?.("link_account")},[]);const{isValid:Xe}=G.formState;p.useEffect(()=>{const c=G.watch((y,{name:U})=>{U!=null&&y!=null&&da(()=>(async(ie,Je)=>{if(ie!=null){if(ie.includes("amount"))return;const Qe=Fe(Je,n.transferFromAccounts,n.chargeCardRepaymentDetailLocalData.idempotencyKey);L(Qe)}})(U,y))});return()=>{c.unsubscribe()}});const Ze=G.watch("paymentDetails.amount"),Ke=G.handleSubmit(()=>{if(Xe){const c=G.getValues(),y=Fe(c,n.transferFromAccounts,n.chargeCardRepaymentDetailLocalData.idempotencyKey);L(y),d(!0),M&&I&&R&&P!=null&&$.trackCardsPayEarlyFormClick(F,T,P,"Review",n.chargeCardRepaymentDetailLocalData.isAutoRepayment,{paymentAmount:n.chargeCardRepaymentDetailLocalData.amount.amount,paymentAccountName:n.chargeCardRepaymentDetailLocalData.transferFrom?.label,paymentAccountType:n.chargeCardRepaymentDetailLocalData.transferFrom?.accType,paymentAccountLastFourDigits:n.chargeCardRepaymentDetailLocalData.transferFrom?.accountLast4,paymentCompleteEta:void 0,paymentInitiatedDate:void 0},B,_,Q)}});return t.jsxs(t.Fragment,{children:[t.jsx(ft,{children:t.jsx(Oe,{amount:{amount:Ze??0,currencyCode:n.chargeCardRepaymentDetailLocalData.amount.currencyCode,currencySymbol:n.chargeCardRepaymentDetailLocalData.amount.currencySymbol},integerStyles:Ie.integerAmountInput.styleObject(s),decimalStyles:Ie.decimalAmountInput.styleObject(s)})}),t.jsx(ma,{...G,children:t.jsx(yt,{id:He(Ve),onSubmit:Ke,children:t.jsxs(Ct,{children:[t.jsx(pa,{selectRef:O,label:{label:pe.labels.transferFrom,width:oe,style:{marginLeft:D.labelMarginLeftPicker.valuePx(s),marginTop:D.labelMarginTopPicker.valuePx(s),marginRight:D.labelMarginRightPicker.valuePx(s),width:D.largeLabelWidth.value(s)}},style:{paddingTop:D.labeledFieldPaddingTop.valuePx(s),paddingBottom:D.labeledFieldPaddingBottom.valuePx(s),paddingLeft:D.labeledFieldPaddingLeft.valuePx(s),paddingRight:D.labeledFieldPaddingRight.valuePx(s),border:"none",width:"auto",display:"flex"},infoLabelStyle:{textAlign:"right",paddingRight:D.infoLabelPaddingRight.valuePx(s),marginTop:D.infoLabelMarginTop.valuePx(s),color:J.brandColorGoldDark},bottomComponent:t.jsx(Pa,{label:{label:X.enableAutoPay.replace("__autoPayThreshold__",e.toString()),style:{textAlign:s==="small"?"end":"center",color:ee.colors.primary}},style:{width:"unset",marginRight:a.sp3,alignItems:s==="small"?"flex-start":"center"},checkBoxField:{name:le(Y,"enableAutoPay"),checkBoxValue:le(Y,"enableAutoPay"),defaultChecked:n.chargeCardRepaymentDetailLocalData.isAutoRepayment,style:{top:D.checkBoxTop.valuePx(s)}}}),singleSelectPickerField:{name:le(Y,"withdrawFrom"),placeholder:ha(pe.labels.transferFrom),style:{position:"relative"},capitalizeOptions:!0,isOptionRemovable:!1,showTickIcon:!1,valueToLogo:(c,y)=>Ue(n.transferFromAccounts,c,y),valueToSubLabels:(c,y)=>ua(n.transferFromAccounts,c,y,!0),defaultValue:{selectedOption:n.chargeCardRepaymentDetailLocalData.transferFrom?.id,allOptions:n.transferFromAccounts.map(c=>({label:c.label,value:c.id,isRecommended:c.accType==="depositAccount"}))},textAlignment:"right",registerOptions:{required:!0,validate:c=>c!=null&&!!c.selectedOption},showCreateOption:!0,onClickCreateOption:()=>{V("link_account"),w.linkToken==null||ue(new Date().toISOString()).isAfter(w.expiration)?b?.("link_account"):q!==w.linkToken?fe(w.linkToken):N?ce():W(!0)}},valueToAdditionalLabel:c=>{if(f!=null)return f;const y=n.transferFromAccounts.find(U=>U.id===c);return y?.accountBalance?.available!=null&&Ta(n.chargeCardRepaymentDetailLocalData.amount,y?.accountBalance?.available)?mt.addMoney:""}}),n?.chargeCardRepaymentDetailLocalData.transferFrom==null||n?.chargeCardRepaymentDetailLocalData.transferFrom?.accType==="paymentAccount"?t.jsx(Se,{maxInsuredAmount:u,heading:t.jsxs(ut,{windowSize:s,children:[X.earn,t.jsx(ht,{children:X.percentageCashback.replace("__percentage__",ga)}),X.whenYouPayViaZeniChecking]}),buttonText:h?re.switchButtonText:re.signUpButtonText,isAccountsEnabled:h,pageName:X.creditCardPayment,onSignUpClick:S,onSwitchClick:()=>{O.current!=null&&O.current.focus()}}):n?.chargeCardRepaymentDetailLocalData.transferFrom?.accType==="depositAccount"&&n?.chargeCardRepaymentDetailLocalData.transferFrom.accountBalance!=null&&n.chargeCardRepaymentDetailLocalData.transferFrom.accountBalance.available!=null&&n.chargeCardRepaymentDetailLocalData.transferFrom.accountBalance.available.amount<n.chargeCardRepaymentDetailLocalData.amount.amount?t.jsx(Se,{maxInsuredAmount:u,heading:re.moveMoneyHeading,buttonText:re.moveMoneyButtonText,isAccountsEnabled:h,pageName:X.creditCardPayment,onMoveMoneyClick:v}):t.jsx(gt,{}),t.jsx(ya,{showAdditionalInfoLabel:!1,label:{label:pe.labels.amount,width:oe},formattedTextField:{type:"number",name:le(Y,Ye),defaultValue:n.chargeCardRepaymentDetailLocalData.amount.amount===0?void 0:n.chargeCardRepaymentDetailLocalData.amount.amount,placeholder:dt.transferDrawer.amountPlaceholder,returnValueType:"floatValue",prefix:"$",allowNegative:!1,isNumericString:!1,registerOptions:{required:!0,validate:c=>!!c&&c>0},autoComplete:"off",decimalSeparator:".",decimalScale:2,fixedDecimalScale:!1,thousandSeparator:!0,allowLeadingZeros:!1},style:{width:"auto",paddingLeft:D.labeledFieldPaddingLeft.valuePx(s)}})]})})})]})}const ut=i(Sa)`
132
+ `,{common:pe,spendManagement:{zeniAccounts:{zeniAccountList:dt},billPay:{insufficientFunds:mt},chargeCard:{payEarly:Z}},commonSetUp:{setUp:{accountsPlg:re}}}=J.getLocalizedStrings(),Ye="amount",Y="paymentDetails",Ve="creditCardPaymentPage",le=(e,o)=>`${e}.${o}`,Ge=e=>`${e}_form`,D={largeLabelWidth:new m(120,120,160),labelMarginLeftPicker:new m(r[3],r[4]),labelMarginRightPicker:new m(r[3],r[4]),labelMarginTopPicker:new m(r[2],r[2]),labeledFieldPaddingLeft:new m(r[2],r[0]),labeledFieldPaddingRight:new m(r[2],r[2]),labeledFieldPaddingTop:new m(r[2],r[2]),labeledFieldPaddingBottom:new m(r[2],r[2]),infoLabelPaddingRight:new m(r[0],r[3]),infoLabelMarginTop:new m(r[1],r[0]),checkBoxTop:new m(r[1],r[0])},Ie={integerAmountInput:new q("h5Regular","h2Regular"),decimalAmountInput:new q("largeSemiBold","h5Medium")};function pt({autoPayThreshold:e,plaidConnectionDetails:o,maxInsuredAmount:u,paymentDetails:n,lowBalanceAdditionalInfo:f,paymentAccount:l,isAccountsEnabled:h,onSaveChangesToLocalStore:L,onUpdatePaymentAccountStatus:C,onEstablishConnectionClick:g,onEstablishConnectionSuccess:x,onFetchLinkTokenClick:b,setShowReviewLoading:d,onSignUpAccountClick:S,onMoveMoneyClick:v,isCashbackInfoFetchStateCompleted:B,isCreditCardInfoFetchStateCompleted:I,isDebitCardInfoFetchStateCompleted:F,controllerEmails:R,productInformation:T,cashbackInformation:P,paymentSourceInformation:M,creditAccountInformation:_,debitAccountInformation:Q}){const s=ge(),ee=_e(),oe=D.largeLabelWidth.value(s),k=ye().analytics,O=p.useRef(null),[N,W]=p.useState(!1),[A,V]=p.useState(void 0),w=o.link_account,G=o.update_account,$=A==="update_account"?G:w,[H,fe]=p.useState($.linkToken??null),Ce=De(w.updateStatus.fetchState),X=sa({mode:"all",reValidateMode:"onBlur",defaultValues:p.useMemo(()=>Fe(n),[n]),values:p.useMemo(()=>Fe(n),[n])}),be=l?.isLoginRequired??!1,j=l?.providerVerificationStatus?.code,xe=De(G.updateStatus.fetchState),He=p.useCallback((c,y)=>{const U=y.accounts.find(ie=>ie.id===l?.providerAccountId)??y.accounts[0];l?.paymentAccountId==null||A!=="update_account"||U?.verification_status==null||be?g?.(c,A):C(U?.verification_status,l.paymentAccountId,"update_account"),V(void 0),W(!1)},[l?.paymentAccountId,l?.providerAccountId,A,be,C,g]),Xe=p.useCallback((c,y)=>{c!=null&&(c.error_code==="TOO_MANY_VERIFICATION_ATTEMPTS"&&l?.paymentAccountId!=null&&C("verification_failed",l.paymentAccountId,"update_account"),console.log("Plaid Connection Error",c,y)),V(void 0),W(!1)},[l?.paymentAccountId,C]),{open:ce,ready:we}=Ia({token:H,onSuccess:He,onExit:Xe});p.useEffect(()=>{(Ce==="In-Progress"&&w.updateStatus.fetchState==="Completed"||xe==="In-Progress"&&G.updateStatus.fetchState==="Completed")&&(Ra(j??"")||(b?.("link_account"),x()))},[w.updateStatus.fetchState,x,b,Ce,xe,G.updateStatus.fetchState,j]),p.useEffect(()=>{($e(j??"")||j==="verification_failed")&&!N&&A!=null&&$.linkToken===H&&$.fetchStatus.fetchState==="Completed"&&we&&W(!0)},[we,H,$.fetchStatus.fetchState,$.linkToken,j,A,N]),p.useEffect(()=>{$.fetchStatus.fetchState==="Completed"&&$.linkToken!=null&&$.linkToken!==H&&fe($.linkToken)},[$.fetchStatus.fetchState,$.linkToken,H]),p.useEffect(()=>{N&&ce()},[N,ce]),p.useEffect(()=>{(j==null||j==="verification_failed"||j==="verification_expired"||$e(j))&&(ue(new Date().toISOString()).isAfter(w.expiration)||w.linkToken==null)&&b?.("link_account")},[]);const{isValid:Ze}=X.formState;p.useEffect(()=>{const c=X.watch((y,{name:U})=>{U!=null&&y!=null&&da(()=>(async(ie,Ke)=>{if(ie!=null){if(ie.includes("amount"))return;const Qe=Re(Ke,n.transferFromAccounts,n.chargeCardRepaymentDetailLocalData.idempotencyKey);L(Qe)}})(U,y))});return()=>{c.unsubscribe()}});const qe=X.watch("paymentDetails.amount"),Je=X.handleSubmit(()=>{if(Ze){const c=X.getValues(),y=Re(c,n.transferFromAccounts,n.chargeCardRepaymentDetailLocalData.idempotencyKey);L(y),d(!0),B&&I&&F&&P!=null&&k.trackCardsPayEarlyFormClick(R,T,P,"Review",n.chargeCardRepaymentDetailLocalData.isAutoRepayment,{paymentAmount:n.chargeCardRepaymentDetailLocalData.amount.amount,paymentAccountName:n.chargeCardRepaymentDetailLocalData.transferFrom?.label,paymentAccountType:n.chargeCardRepaymentDetailLocalData.transferFrom?.accType,paymentAccountLastFourDigits:n.chargeCardRepaymentDetailLocalData.transferFrom?.accountLast4,paymentCompleteEta:void 0,paymentInitiatedDate:void 0},M,_,Q)}});return t.jsxs(t.Fragment,{children:[t.jsx(ft,{children:t.jsx(Oe,{amount:{amount:qe??0,currencyCode:n.chargeCardRepaymentDetailLocalData.amount.currencyCode,currencySymbol:n.chargeCardRepaymentDetailLocalData.amount.currencySymbol},integerStyles:Ie.integerAmountInput.styleObject(s),decimalStyles:Ie.decimalAmountInput.styleObject(s)})}),t.jsx(ma,{...X,children:t.jsx(yt,{id:Ge(Ve),onSubmit:Je,children:t.jsxs(Ct,{children:[t.jsx(pa,{selectRef:O,label:{label:pe.labels.transferFrom,width:oe,style:{marginLeft:D.labelMarginLeftPicker.valuePx(s),marginTop:D.labelMarginTopPicker.valuePx(s),marginRight:D.labelMarginRightPicker.valuePx(s),width:D.largeLabelWidth.value(s)}},style:{paddingTop:D.labeledFieldPaddingTop.valuePx(s),paddingBottom:D.labeledFieldPaddingBottom.valuePx(s),paddingLeft:D.labeledFieldPaddingLeft.valuePx(s),paddingRight:D.labeledFieldPaddingRight.valuePx(s),border:"none",width:"auto",display:"flex"},infoLabelStyle:{textAlign:"right",paddingRight:D.infoLabelPaddingRight.valuePx(s),marginTop:D.infoLabelMarginTop.valuePx(s),color:K.brandColorGoldDark},bottomComponent:t.jsx(Pa,{label:{label:Z.enableAutoPay.replace("__autoPayThreshold__",e.toString()),style:{textAlign:s==="small"?"end":"center",color:ee.colors.primary}},style:{width:"unset",marginRight:a.sp3,alignItems:s==="small"?"flex-start":"center"},checkBoxField:{name:le(Y,"enableAutoPay"),checkBoxValue:le(Y,"enableAutoPay"),defaultChecked:n.chargeCardRepaymentDetailLocalData.isAutoRepayment,style:{top:D.checkBoxTop.valuePx(s)}}}),singleSelectPickerField:{name:le(Y,"withdrawFrom"),placeholder:ha(pe.labels.transferFrom),style:{position:"relative"},capitalizeOptions:!0,isOptionRemovable:!1,showTickIcon:!1,valueToLogo:(c,y)=>Ue(n.transferFromAccounts,c,y),valueToSubLabels:(c,y)=>ua(n.transferFromAccounts,c,y,!0),defaultValue:{selectedOption:n.chargeCardRepaymentDetailLocalData.transferFrom?.id,allOptions:n.transferFromAccounts.map(c=>({label:c.label,value:c.id,isRecommended:c.accType==="depositAccount"}))},textAlignment:"right",registerOptions:{required:!0,validate:c=>c!=null&&!!c.selectedOption},showCreateOption:!0,onClickCreateOption:()=>{V("link_account"),w.linkToken==null||ue(new Date().toISOString()).isAfter(w.expiration)?b?.("link_account"):H!==w.linkToken?fe(w.linkToken):N?ce():W(!0)}},valueToAdditionalLabel:c=>{if(f!=null)return f;const y=n.transferFromAccounts.find(U=>U.id===c);return y?.accountBalance?.available!=null&&Ta(n.chargeCardRepaymentDetailLocalData.amount,y?.accountBalance?.available)?mt.addMoney:""}}),n?.chargeCardRepaymentDetailLocalData.transferFrom==null||n?.chargeCardRepaymentDetailLocalData.transferFrom?.accType==="paymentAccount"?t.jsx(Se,{maxInsuredAmount:u,heading:t.jsxs(ut,{windowSize:s,children:[Z.earn,t.jsx(ht,{children:Z.percentageCashback.replace("__percentage__",ga)}),Z.whenYouPayViaZeniChecking]}),buttonText:h?re.switchButtonText:re.signUpButtonText,isAccountsEnabled:h,pageName:Z.creditCardPayment,onSignUpClick:S,onSwitchClick:()=>{O.current!=null&&O.current.focus()}}):n?.chargeCardRepaymentDetailLocalData.transferFrom?.accType==="depositAccount"&&n?.chargeCardRepaymentDetailLocalData.transferFrom.accountBalance!=null&&n.chargeCardRepaymentDetailLocalData.transferFrom.accountBalance.available!=null&&n.chargeCardRepaymentDetailLocalData.transferFrom.accountBalance.available.amount<n.chargeCardRepaymentDetailLocalData.amount.amount?t.jsx(Se,{maxInsuredAmount:u,heading:re.moveMoneyHeading,buttonText:re.moveMoneyButtonText,isAccountsEnabled:h,pageName:Z.creditCardPayment,onMoveMoneyClick:v}):t.jsx(gt,{}),t.jsx(ya,{showAdditionalInfoLabel:!1,label:{label:pe.labels.amount,width:oe},formattedTextField:{type:"number",name:le(Y,Ye),defaultValue:n.chargeCardRepaymentDetailLocalData.amount.amount===0?void 0:n.chargeCardRepaymentDetailLocalData.amount.amount,placeholder:dt.transferDrawer.amountPlaceholder,returnValueType:"floatValue",prefix:"$",allowNegative:!1,isNumericString:!1,registerOptions:{required:!0,validate:c=>!!c&&c>0},autoComplete:"off",decimalSeparator:".",decimalScale:2,fixedDecimalScale:!1,thousandSeparator:!0,allowLeadingZeros:!1},style:{width:"auto",paddingLeft:D.labeledFieldPaddingLeft.valuePx(s)}})]})})})]})}const ut=i(Sa)`
133
133
  color: ${e=>e.theme.colors.primary};
134
134
  width: ${e=>e.windowSize==="small"?"80%":"100%"};
135
- `,ht=i($a)`
135
+ `,ht=i(ka)`
136
136
  color: ${e=>e.theme.colors.primary};
137
137
  `,gt=i.div`
138
138
  display: flex;
@@ -140,7 +140,7 @@ import{V as t,e as ge,h as ye,b as ae,gT as ea,a5 as aa,a as ta,L as na,a9 as Me
140
140
  background-color: ${e=>e.theme.colors.grey3};
141
141
  min-height: 1px;
142
142
  max-height: 1px;
143
- `,Re=e=>({paymentDetails:{[Ye]:e.chargeCardRepaymentDetailLocalData.amount.amount,withdrawFrom:{allOptions:e.transferFromAccounts.map(o=>({label:o.label,value:o.id})),selectedOption:e.chargeCardRepaymentDetailLocalData.transferFrom?.id},enableAutoPay:e.chargeCardRepaymentDetailLocalData.isAutoRepayment}}),yt=i.form`
143
+ `,Fe=e=>({paymentDetails:{[Ye]:e.chargeCardRepaymentDetailLocalData.amount.amount,withdrawFrom:{allOptions:e.transferFromAccounts.map(o=>({label:o.label,value:o.id})),selectedOption:e.chargeCardRepaymentDetailLocalData.transferFrom?.id},enableAutoPay:e.chargeCardRepaymentDetailLocalData.isAutoRepayment}}),yt=i.form`
144
144
  display: flex;
145
145
  flex-direction: column;
146
146
  justify-content: center;
@@ -157,7 +157,7 @@ import{V as t,e as ge,h as ye,b as ae,gT as ea,a5 as aa,a as ta,L as na,a9 as Me
157
157
  border: 1px solid ${e=>e.theme.colors.grey3};
158
158
  box-shadow: ${e=>`${a.sp0} 2px ${a.sp1} ${e.theme.colors.dropShadowNormal}`};
159
159
  border-radius: ${a.sp2};
160
- `,Fe=(e,o,u)=>({amount:{amount:e[Y].amount??0,currencyCode:"USD",currencySymbol:"$"},transferFrom:o.find(n=>n.id===e[Y].withdrawFrom.selectedOption),isAutoRepayment:e[Y].enableAutoPay,idempotencyKey:u}),ne={navBarContainerPaddingXaxis:new m(10,19),containerPaddingLeft:new m(16,40,56),containerPaddingRight:new m(16,40,56),successContentMargin:new m(r[3],r[12]),buttonTrayGap:new m(r[4],r[5])},bt={sectionTitle:new Z("h6Regular","h5Regular")},Te=K.getLocalizedStrings().spendManagement.zeniAccounts.zeniAccountList,E=K.getLocalizedStrings().spendManagement.chargeCard.payEarly,{dateFormat:Pe}=K.getLocalizedStrings(),xt=({autoPayThreshold:e,paymentDetails:o,maxInsuredAmount:u,isAccountsEnabled:n,productInformation:f,controllerEmails:l,creditAccountInformation:h,creditAccountSpentAmount:L,debitAccountInformation:C,cashbackInformation:g,paymentSourceInformation:x,isCashbackInfoFetchStateCompleted:b,isCreditCardInfoFetchStateCompleted:d,isDebitCardInfoFetchStateCompleted:S,paymentInitiatedDate:v,onSaveChangesToLocalStore:M,onTransferClick:I,sourcePage:R,onBackNavigation:F,onDismissClick:T,onEstablishConnectionClick:P,onFetchLinkTokenClick:B,plaidConnectionDetails:_,onSignUpAccountClick:Q,onMoveMoneyClick:s,onUpdatePaymentAccountStatus:ee,onEstablishConnectionSuccess:oe})=>{const $=ge(),O=ye().analytics,[N,W]=p.useState(!1),[A,V]=p.useState(!1);p.useEffect(()=>{A&&setTimeout(()=>{V(!1),W(!0)},1e3)},[A]);const w=o.chargeCardRepaymentDetailLocalData.amount.amount===L,H=o.chargeCardRepaymentDetailLocalData.transferFrom?.accType==="depositAccount";return t.jsx(wt,{windowSize:$,children:o.updateStatus==="Completed"?t.jsxs(je,{windowSize:$,isTransferCompleted:!0,children:[t.jsx(ze,{windowSize:$,children:t.jsx(Ee,{"data-testid":ae("cross-credit-card-payment-success-close-button"),onClick:()=>{b&&d&&S&&g!=null&&O.trackCardsPayEarlyFormClick(l,f,g,"Cross Icon",o.chargeCardRepaymentDetailLocalData.isAutoRepayment,{paymentAmount:o.chargeCardRepaymentDetailLocalData.amount.amount,paymentAccountName:o.chargeCardRepaymentDetailLocalData.transferFrom?.label,paymentAccountType:o.chargeCardRepaymentDetailLocalData.transferFrom?.accType,paymentAccountLastFourDigits:o.chargeCardRepaymentDetailLocalData.transferFrom?.accountLast4,paymentCompleteEta:void 0,paymentInitiatedDate:void 0},x,h,C),T?.()}})}),t.jsxs(kt,{windowSize:$,children:[t.jsx(ea,{width:150,height:150,shouldDisplay:!0,animationInLoop:1}),t.jsx(Dt,{children:t.jsxs(t.Fragment,{children:[E.youvePaid,t.jsx(St,{children:aa("0,0.[00]",o.chargeCardRepaymentDetailLocalData.amount)}),Te.transferDrawer.internal.transferSuccessMsgMidfix,`"${o.chargeCardRepaymentDetailLocalData.transferFrom?.label}".`,H?w?E.theCreditLimitWillResetWithin1BusinessDay:E.theCreditLimitWillUpdateWithin1BusinessDay:w?E.theCreditLimitWillResetWithin23BusinessDays:E.theCreditLimitWillUpdateWithin23BusinessDays]})}),t.jsx($t,{windowSize:$,children:t.jsx(ta,{variant:"primary",label:R==="cardPaymentHistory"?E.goToPaymentHistory:E.goToCards,"data-testid":ae("back-to-cards-button"),onClick:F})})]})]}):N?t.jsx(_a,{paymentDetails:o,setShowReviewContent:W,onTransferClick:I,isCashbackInfoFetchStateCompleted:b,isCreditCardInfoFetchStateCompleted:d,isDebitCardInfoFetchStateCompleted:S,controllerEmails:l,productInformation:f,cashbackInformation:g,paymentSourceInformation:x,creditAccountInformation:h,debitAccountInformation:C}):t.jsxs(t.Fragment,{children:[t.jsxs(je,{windowSize:$,isTransferCompleted:!1,children:[t.jsx(ze,{windowSize:$,children:t.jsx(Ee,{"data-testid":ae("cross-amount-details-close-button"),onClick:()=>{b&&d&&S&&g!=null&&O.trackCardsPayEarlyFormClick(l,f,g,"Cross Icon",o.chargeCardRepaymentDetailLocalData.isAutoRepayment,{paymentAmount:o.chargeCardRepaymentDetailLocalData.amount.amount,paymentAccountName:o.chargeCardRepaymentDetailLocalData.transferFrom?.label,paymentAccountType:o.chargeCardRepaymentDetailLocalData.transferFrom?.accType,paymentAccountLastFourDigits:o.chargeCardRepaymentDetailLocalData.transferFrom?.accountLast4,paymentCompleteEta:v?.add(3,"day").format(Pe.visual.MMMDCommaYYYYformat),paymentInitiatedDate:v?.format(Pe.visual.MMMDCommaYYYYformat)},x,h,C),T?.()}})}),$==="small"?t.jsx(At,{windowSize:$,children:E.payCreditCardBalance}):t.jsx(Lt,{children:E.payCreditCardBalance}),o.fetchState==="Completed"?t.jsx(pt,{autoPayThreshold:e,maxInsuredAmount:u,onSaveChangesToLocalStore:M,plaidConnectionDetails:_,paymentDetails:o,setShowReviewLoading:V,onEstablishConnectionSuccess:oe,isAccountsEnabled:n,onFetchLinkTokenClick:B,onUpdatePaymentAccountStatus:ee,onEstablishConnectionClick:P,onSignUpAccountClick:Q,onMoveMoneyClick:s,isCashbackInfoFetchStateCompleted:b,isCreditCardInfoFetchStateCompleted:d,isDebitCardInfoFetchStateCompleted:S,controllerEmails:l,productInformation:f,cashbackInformation:g,paymentSourceInformation:x,creditAccountInformation:h,debitAccountInformation:C}):t.jsx(na,{size:"Standard",start:!0,style:{display:"flex",justifyContent:"center",alignItems:"center",height:"calc(100vh - 210px)"}})]}),t.jsx(Me,{style:{zIndex:4,paddingTop:a.sp3,paddingBottom:a.sp3},formId:He(Ve),helperStyle:{paddingTop:a.sp0,paddingBottom:a.sp0},primaryBtn:{label:K.getLocalizedStrings().common.review,isLoading:A},cancelBtn:{label:Te.transferDrawer.cancelBtn,onClick:()=>{b&&d&&S&&g!=null&&O.trackCardsPayEarlyFormClick(l,f,g,"Cancel",o.chargeCardRepaymentDetailLocalData.isAutoRepayment,{paymentAmount:o.chargeCardRepaymentDetailLocalData.amount.amount,paymentAccountName:o.chargeCardRepaymentDetailLocalData.transferFrom?.label,paymentAccountType:o.chargeCardRepaymentDetailLocalData.transferFrom?.accType,paymentAccountLastFourDigits:o.chargeCardRepaymentDetailLocalData.transferFrom?.accountLast4,paymentCompleteEta:void 0,paymentInitiatedDate:void 0},x,h,C),T?.()}}})]})})},wt=i.div`
160
+ `,Re=(e,o,u)=>({amount:{amount:e[Y].amount??0,currencyCode:"USD",currencySymbol:"$"},transferFrom:o.find(n=>n.id===e[Y].withdrawFrom.selectedOption),isAutoRepayment:e[Y].enableAutoPay,idempotencyKey:u}),ne={navBarContainerPaddingXaxis:new m(10,19),containerPaddingLeft:new m(16,40,56),containerPaddingRight:new m(16,40,56),successContentMargin:new m(r[3],r[12]),buttonTrayGap:new m(r[4],r[5])},bt={sectionTitle:new q("h6Regular","h5Regular")},Te=J.getLocalizedStrings().spendManagement.zeniAccounts.zeniAccountList,E=J.getLocalizedStrings().spendManagement.chargeCard.payEarly,{dateFormat:Pe}=J.getLocalizedStrings(),xt=({autoPayThreshold:e,paymentDetails:o,maxInsuredAmount:u,isAccountsEnabled:n,productInformation:f,controllerEmails:l,creditAccountInformation:h,creditAccountSpentAmount:L,debitAccountInformation:C,cashbackInformation:g,paymentSourceInformation:x,isCashbackInfoFetchStateCompleted:b,isCreditCardInfoFetchStateCompleted:d,isDebitCardInfoFetchStateCompleted:S,paymentInitiatedDate:v,onSaveChangesToLocalStore:B,onTransferClick:I,sourcePage:F,onBackNavigation:R,onDismissClick:T,onEstablishConnectionClick:P,onFetchLinkTokenClick:M,plaidConnectionDetails:_,onSignUpAccountClick:Q,onMoveMoneyClick:s,onUpdatePaymentAccountStatus:ee,onEstablishConnectionSuccess:oe})=>{const k=ge(),O=ye().analytics,[N,W]=p.useState(!1),[A,V]=p.useState(!1);p.useEffect(()=>{A&&setTimeout(()=>{V(!1),W(!0)},1e3)},[A]);const w=o.chargeCardRepaymentDetailLocalData.amount.amount===L,G=o.chargeCardRepaymentDetailLocalData.transferFrom?.accType==="depositAccount";return t.jsx(wt,{windowSize:k,children:o.updateStatus==="Completed"?t.jsxs(je,{windowSize:k,isTransferCompleted:!0,children:[t.jsx(ze,{windowSize:k,children:t.jsx(Ee,{"data-testid":ae("cross-credit-card-payment-success-close-button"),onClick:()=>{b&&d&&S&&g!=null&&O.trackCardsPayEarlyFormClick(l,f,g,"Cross Icon",o.chargeCardRepaymentDetailLocalData.isAutoRepayment,{paymentAmount:o.chargeCardRepaymentDetailLocalData.amount.amount,paymentAccountName:o.chargeCardRepaymentDetailLocalData.transferFrom?.label,paymentAccountType:o.chargeCardRepaymentDetailLocalData.transferFrom?.accType,paymentAccountLastFourDigits:o.chargeCardRepaymentDetailLocalData.transferFrom?.accountLast4,paymentCompleteEta:void 0,paymentInitiatedDate:void 0},x,h,C),T?.()}})}),t.jsxs($t,{windowSize:k,children:[t.jsx(ea,{width:150,height:150,shouldDisplay:!0,animationInLoop:1}),t.jsx(Dt,{children:t.jsxs(t.Fragment,{children:[E.youvePaid,t.jsx(St,{children:aa("0,0.[00]",o.chargeCardRepaymentDetailLocalData.amount)}),Te.transferDrawer.internal.transferSuccessMsgMidfix,`"${o.chargeCardRepaymentDetailLocalData.transferFrom?.label}".`,G?w?E.theCreditLimitWillResetWithin1BusinessDay:E.theCreditLimitWillUpdateWithin1BusinessDay:w?E.theCreditLimitWillResetWithin23BusinessDays:E.theCreditLimitWillUpdateWithin23BusinessDays]})}),t.jsx(kt,{windowSize:k,children:t.jsx(ta,{variant:"primary",label:F==="cardPaymentHistory"?E.goToPaymentHistory:E.goToCards,"data-testid":ae("back-to-cards-button"),onClick:R})})]})]}):N?t.jsx(_a,{paymentDetails:o,setShowReviewContent:W,onTransferClick:I,isCashbackInfoFetchStateCompleted:b,isCreditCardInfoFetchStateCompleted:d,isDebitCardInfoFetchStateCompleted:S,controllerEmails:l,productInformation:f,cashbackInformation:g,paymentSourceInformation:x,creditAccountInformation:h,debitAccountInformation:C}):t.jsxs(t.Fragment,{children:[t.jsxs(je,{windowSize:k,isTransferCompleted:!1,children:[t.jsx(ze,{windowSize:k,children:t.jsx(Ee,{"data-testid":ae("cross-amount-details-close-button"),onClick:()=>{b&&d&&S&&g!=null&&O.trackCardsPayEarlyFormClick(l,f,g,"Cross Icon",o.chargeCardRepaymentDetailLocalData.isAutoRepayment,{paymentAmount:o.chargeCardRepaymentDetailLocalData.amount.amount,paymentAccountName:o.chargeCardRepaymentDetailLocalData.transferFrom?.label,paymentAccountType:o.chargeCardRepaymentDetailLocalData.transferFrom?.accType,paymentAccountLastFourDigits:o.chargeCardRepaymentDetailLocalData.transferFrom?.accountLast4,paymentCompleteEta:v?.add(3,"day").format(Pe.visual.MMMDCommaYYYYformat),paymentInitiatedDate:v?.format(Pe.visual.MMMDCommaYYYYformat)},x,h,C),T?.()}})}),k==="small"?t.jsx(At,{windowSize:k,children:E.payCreditCardBalance}):t.jsx(Lt,{children:E.payCreditCardBalance}),o.fetchState==="Completed"?t.jsx(pt,{autoPayThreshold:e,maxInsuredAmount:u,onSaveChangesToLocalStore:B,plaidConnectionDetails:_,paymentDetails:o,setShowReviewLoading:V,onEstablishConnectionSuccess:oe,isAccountsEnabled:n,onFetchLinkTokenClick:M,onUpdatePaymentAccountStatus:ee,onEstablishConnectionClick:P,onSignUpAccountClick:Q,onMoveMoneyClick:s,isCashbackInfoFetchStateCompleted:b,isCreditCardInfoFetchStateCompleted:d,isDebitCardInfoFetchStateCompleted:S,controllerEmails:l,productInformation:f,cashbackInformation:g,paymentSourceInformation:x,creditAccountInformation:h,debitAccountInformation:C}):t.jsx(na,{size:"Standard",start:!0,style:{display:"flex",justifyContent:"center",alignItems:"center",height:"calc(100vh - 210px)"}})]}),t.jsx(Be,{style:{zIndex:4,paddingTop:a.sp3,paddingBottom:a.sp3},formId:Ge(Ve),helperStyle:{paddingTop:a.sp0,paddingBottom:a.sp0},primaryBtn:{label:J.getLocalizedStrings().common.review,isLoading:A},cancelBtn:{label:Te.transferDrawer.cancelBtn,onClick:()=>{b&&d&&S&&g!=null&&O.trackCardsPayEarlyFormClick(l,f,g,"Cancel",o.chargeCardRepaymentDetailLocalData.isAutoRepayment,{paymentAmount:o.chargeCardRepaymentDetailLocalData.amount.amount,paymentAccountName:o.chargeCardRepaymentDetailLocalData.transferFrom?.label,paymentAccountType:o.chargeCardRepaymentDetailLocalData.transferFrom?.accType,paymentAccountLastFourDigits:o.chargeCardRepaymentDetailLocalData.transferFrom?.accountLast4,paymentCompleteEta:void 0,paymentInitiatedDate:void 0},x,h,C),T?.()}}})]})})},wt=i.div`
161
161
  display: flex;
162
162
  flex-direction: column;
163
163
  background-color: ${e=>e.theme.colors.grey4};
@@ -175,13 +175,13 @@ import{V as t,e as ge,h as ye,b as ae,gT as ea,a5 as aa,a as ta,L as na,a9 as Me
175
175
  padding-left: ${e=>`${ne.containerPaddingLeft.valuePx(e.windowSize)}`};
176
176
  padding-right: ${e=>`${ne.containerPaddingRight.valuePx(e.windowSize)}`};
177
177
  margin-bottom: auto;
178
- `,$t=i.div`
178
+ `,kt=i.div`
179
179
  display: flex;
180
180
  justify-content: center;
181
181
  flex-direction: ${e=>e.windowSize==="small"?"column-reverse":"row"};
182
182
  margin-top: ${a.sp6};
183
183
  gap: ${e=>`${ne.buttonTrayGap.valuePx(e.windowSize)}`};
184
- `,kt=i.div`
184
+ `,$t=i.div`
185
185
  height: 80%;
186
186
  display: flex;
187
187
  flex-direction: column;
@@ -198,7 +198,7 @@ import{V as t,e as ge,h as ye,b as ae,gT as ea,a5 as aa,a as ta,L as na,a9 as Me
198
198
  padding: ${e=>`${ne.navBarContainerPaddingXaxis.valuePx(e.windowSize)} ${a.sp0}`};
199
199
  z-index: 2;
200
200
  background-color: ${e=>e.theme.colors.grey4};
201
- `,Ee=i(Be)`
201
+ `,Ee=i(Me)`
202
202
  cursor: pointer;
203
203
  color: ${e=>e.theme.colors.hero};
204
204
  width: ${a.sp4};
@@ -217,7 +217,7 @@ import{V as t,e as ge,h as ye,b as ae,gT as ea,a5 as aa,a as ta,L as na,a9 as Me
217
217
  color: ${e=>e.theme.colors.primary};
218
218
  margin-top: ${a.sp3};
219
219
  margin-bottom: ${a.sp2};
220
- `,Ut=({autoPayThreshold:e,paymentDetails:o,isZeniAccountSetupEnabled:u,maxInsuredAmount:n,onUpdatePaymentAccountStatus:f,onSaveChangesToLocalStore:l,creditAccountSpentAmount:h,onTransferClick:L,controllerEmails:C,productInformation:g,creditAccountInformation:x,debitAccountInformation:b,cashbackInformation:d,paymentSourceInformation:S,isCashbackInfoFetchStateCompleted:v,isCreditCardInfoFetchStateCompleted:M,isDebitCardInfoFetchStateCompleted:I,sourcePage:R,onBackNavigation:F,onDismissClick:T,onEstablishConnectionClick:P,onEstablishConnectionSuccess:B,onFetchLinkTokenClick:_,plaidConnectionDetails:Q,onSignUpAccountClick:s,onMoveMoneyClick:ee})=>t.jsx(vt,{children:t.jsx(xt,{autoPayThreshold:e,paymentDetails:o,maxInsuredAmount:n,productInformation:g,controllerEmails:C,creditAccountInformation:x,debitAccountInformation:b,cashbackInformation:d,paymentSourceInformation:S,isCashbackInfoFetchStateCompleted:v,isCreditCardInfoFetchStateCompleted:M,isDebitCardInfoFetchStateCompleted:I,creditAccountSpentAmount:h,onSaveChangesToLocalStore:l,onTransferClick:L,sourcePage:R,onBackNavigation:F,onDismissClick:T,plaidConnectionDetails:Q,isAccountsEnabled:u,onEstablishConnectionClick:P,onFetchLinkTokenClick:_,onUpdatePaymentAccountStatus:f,onEstablishConnectionSuccess:B,onSignUpAccountClick:s,onMoveMoneyClick:ee})}),vt=i.div`
220
+ `,Ut=({autoPayThreshold:e,paymentDetails:o,isZeniAccountSetupEnabled:u,maxInsuredAmount:n,onUpdatePaymentAccountStatus:f,onSaveChangesToLocalStore:l,creditAccountSpentAmount:h,onTransferClick:L,controllerEmails:C,productInformation:g,creditAccountInformation:x,debitAccountInformation:b,cashbackInformation:d,paymentSourceInformation:S,isCashbackInfoFetchStateCompleted:v,isCreditCardInfoFetchStateCompleted:B,isDebitCardInfoFetchStateCompleted:I,sourcePage:F,onBackNavigation:R,onDismissClick:T,onEstablishConnectionClick:P,onEstablishConnectionSuccess:M,onFetchLinkTokenClick:_,plaidConnectionDetails:Q,onSignUpAccountClick:s,onMoveMoneyClick:ee})=>t.jsx(vt,{children:t.jsx(xt,{autoPayThreshold:e,paymentDetails:o,maxInsuredAmount:n,productInformation:g,controllerEmails:C,creditAccountInformation:x,debitAccountInformation:b,cashbackInformation:d,paymentSourceInformation:S,isCashbackInfoFetchStateCompleted:v,isCreditCardInfoFetchStateCompleted:B,isDebitCardInfoFetchStateCompleted:I,creditAccountSpentAmount:h,onSaveChangesToLocalStore:l,onTransferClick:L,sourcePage:F,onBackNavigation:R,onDismissClick:T,plaidConnectionDetails:Q,isAccountsEnabled:u,onEstablishConnectionClick:P,onFetchLinkTokenClick:_,onUpdatePaymentAccountStatus:f,onEstablishConnectionSuccess:M,onSignUpAccountClick:s,onMoveMoneyClick:ee})}),vt=i.div`
221
221
  display: flex;
222
222
  flex-direction: column;
223
223
  background-color: ${e=>e.theme.colors.grey4};
@@ -0,0 +1,139 @@
1
+ import{c3 as M,y as N,dL as P,O as _,V as l,dU as H,b3 as L,o,cD as z,a6 as x,bO as B,b4 as g,s as T,j as w,em as U,en as q,eo as A,x as G,b2 as J,a8 as K,e as m}from"./index-T6cemxxv.js";import{a as S}from"./sentry-BoIfGJBF.js";import{n}from"./mui-GaW5Gk_e.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="f3190147-9504-4f3a-8045-725d67efdbe6",e._sentryDebugIdIdentifier="sentry-dbid-f3190147-9504-4f3a-8045-725d67efdbe6")}catch{}})();const $e=({name:e,registerOptions:t,defaultValue:r,isDisabled:a,style:c,placeholder:d,isOptionRemovable:i=!0,menuItemHeight:u=40,controlStyle:p})=>{const{control:y,formState:{errors:f}}=M(),b=N(),[j,k]=S.useState(!1),C=P(f,e??""),I=_.getLocalizedStrings().common.currency,D=s=>{if(s!=null&&s)return{value:s,label:r.allOptions.find(h=>h.value===s)?.label??s,countryCode:r.allOptions.find(h=>h.value===s)?.countryCode??I.countryCode}},V={container:s=>({...s,width:"100%",...c}),menu:s=>({...s,backgroundColor:b.colors.grey5,borderRadius:o.sp1,boxShadow:`${o.sp0} 2px ${o.sp2} ${b.colors.dropShadowHover}`,border:`1px solid ${b.colors.grey3}`,whiteSpace:"nowrap",zIndex:2,width:"100%",margin:`1px ${o.sp0} ${o.sp0} ${o.sp0}`,overflow:"hidden"}),menuList:s=>({...s,borderRadius:o.sp1}),input:()=>({color:b.colors.primary,margin:0}),singleValue:s=>({...s,margin:0,position:"absolute"})},F={hasError:C,menuItemHeight:u,controlStyle:p,isOptionRemovable:i};return l.jsx(H,{name:e,control:y,defaultValue:r,rules:t,"data-testid":x("currency-select-field",e),render:({field:{onChange:s,onBlur:h,value:R,ref:E}})=>{const v=R;return S.createElement(L,{...F,ref:E,isMulti:!1,isSearchable:!0,isClearable:i,autoFocus:j===!0,openMenuOnClick:!0,controlShouldRenderValue:!0,placeholder:d,value:D(v.selectedOption),options:r.allOptions,"data-testid":x("currency-select",e),onChange:$=>{i&&$?.value!=null&&v?.selectedOption===$.value?s({selectedOption:void 0,allOptions:r.allOptions}):s({selectedOption:$?.value,allOptions:r.allOptions})},onMenuClose:()=>k(!1),key:z(),tabSelectsValue:!1,openMenuOnFocus:!0,classNamePrefix:"currency-select-field",onBlur:h,menuPlacement:"auto",maxMenuHeight:240,menuShouldScrollIntoView:!1,closeMenuOnSelect:!0,components:{Control:Q,Option:W,Input:Z,SingleValue:ee,ValueContainer:Y,DropdownIndicator:he,IndicatorSeparator:me,Placeholder:oe,ClearIndicator:ge,MenuList:X},hideSelectedOptions:!1,styles:V,isDisabled:a!=null})}})},Q=e=>{const{menuIsOpen:t,isFocused:r,isDisabled:a,selectProps:c}=e,{value:d,hasError:i,controlStyle:u}=c;return l.jsx(re,{controlStyle:u,menuIsOpen:t,isFocused:r,isDisabled:a,selectedValue:d,hasError:i,children:l.jsx(g.Control,{...e,className:"select-control",children:e.children})})},W=e=>{const{data:t,isSelected:r,isDisabled:a,isFocused:c,selectProps:d}=e,{isOptionRemovable:i}=d,u=t.countryCode,p=typeof t.label=="string"?t.label:t.value;return l.jsx(te,{isOptionRemovable:i,className:"select-option-wrapper",isFocused:c,isSelected:r,isDisabled:a,"data-testid":x("currency-select-field-option",p),children:l.jsx(g.Option,{...e,className:"select-option",children:l.jsxs(se,{children:[l.jsx(le,{countryCode:u}),l.jsx(ae,{isSelected:r,children:l.jsx(ne,{isSelected:r,isDisabled:a,children:t.label})}),r?l.jsxs(de,{children:[l.jsx(ue,{className:"right-tick-icon"}),l.jsx(pe,{className:"close-tick-icon"})]}):null]})})})},X=e=>{const{options:t,children:r,maxHeight:a,getValue:c,selectProps:d}=e,{menuItemHeight:i}=d,[u]=c(),p=t.indexOf(u)*i;return l.jsx(B,{height:r.length>7?a:r.length*i,width:"100%",itemCount:r.length,itemSize:()=>i,initialScrollOffset:p,children:({index:y,style:f})=>l.jsx(ce,{style:f,children:r[y]})})},Y=e=>l.jsx(g.ValueContainer,{...e,className:"select-value-container",children:e.children}),Z=e=>{const{selectProps:t}=e,{placeholder:r,value:a}=t;return l.jsx(O,{children:l.jsx(g.Input,{...e,autoComplete:"new-password",placeholder:a==null?r:void 0,children:e.children})})},ee=e=>{const{data:t}=e;return l.jsx(g.SingleValue,{...e,children:l.jsx(O,{children:t.label})})},O=n(T)`
2
+ color: ${e=>e.theme.colors.primary};
3
+ `,oe=()=>null,le=({countryCode:e})=>{if(e!=null&&U(e)===!1)return l.jsx(l.Fragment,{});{const t=q[`${A(e??"")}`];return l.jsx(ie,{children:l.jsx(t,{width:o.sp4,height:o.sp3})})}},re=n.span`
4
+ width: 100%;
5
+ background-color: ${e=>e.hasError?m.importantLight:e.menuIsOpen?e.theme.colors.background:e.controlStyle?.backgroundColor!=null?e.controlStyle?.backgroundColor:e.theme.colors.grey5};
6
+ border-radius: ${o.sp1};
7
+ cursor: ${e=>e.isDisabled?"not-allowed":"pointer"};
8
+ .select-control {
9
+ border: none;
10
+ height: ${o.sp6};
11
+ background-color: inherit;
12
+ box-shadow: none;
13
+ &:hover {
14
+ fill: ${e=>e.theme.colors.primary};
15
+ background-color: ${e=>e.isDisabled?e.theme.colors.grey5:e.hasError?m.importantLight:e.theme.colors.background};
16
+ border-color: none;
17
+ }
18
+ width: auto;
19
+ min-height: auto;
20
+ cursor: pointer;
21
+ }
22
+
23
+ .select-value-container {
24
+ width: 100%;
25
+ display: flex;
26
+ margin: ${o.sp0} ${o.sp3};
27
+ padding: 0;
28
+ max-width: 100%;
29
+ height: 100%;
30
+ min-width: auto;
31
+ align-items: center;
32
+ flex-wrap: nowrap;
33
+ cursor: pointer;
34
+ justify-content: ${e=>e.controlStyle?.justifyContent!=null?e.controlStyle?.justifyContent:e.menuIsOpen===!1?"flex-end":"flex-start"};
35
+
36
+ .currency-select-field__single-value {
37
+ display: flex;
38
+ margin: ${o.sp0};
39
+ color: ${e=>e.hasError?m.important:e.theme.colors.primary};
40
+ ${w.standardRegular.css};
41
+ }
42
+
43
+ .currency-select-field__input-container {
44
+ display: flex;
45
+ width: ${e=>e.menuIsOpen===!1&&e.selectedValue!=null?o.sp0:"100%"};
46
+ position: ${e=>e.isFocused===!1&&e.selectedValue==null?"initial":"absolute"};
47
+ ${w.standardRegular.css};
48
+ color: ${e=>e.hasError===!0?m.important:e.theme.colors.primary};
49
+ margin: ${o.sp0};
50
+ cursor: inherit;
51
+ top: ${o.sp2};
52
+
53
+ > input {
54
+ text-align: ${e=>e.isFocused===!1&&e.selectedValue==null?"right":"initial"};
55
+ text-align: ${e=>e.isFocused===!1?"right":"left"};
56
+ align-items: center;
57
+ overflow: hidden;
58
+ cursor: inherit;
59
+ :disabled {
60
+ visibility: visible;
61
+ }
62
+ ::placeholder {
63
+ color: ${e=>e.hasError?m.important:e.theme.colors.grey1};
64
+ }
65
+ }
66
+ }
67
+ }
68
+ `,te=n.div`
69
+ border-radius: inherit;
70
+ .select-option {
71
+ ${w.smallRegular.css};
72
+ height: ${o.sp6};
73
+ padding: 9px ${o.sp3};
74
+ color: ${e=>e.isSelected?e.theme.colors.primary:e.theme.colors.champion};
75
+ opacity: ${e=>e.isDisabled?.32:1};
76
+ background-color: ${e=>e.isSelected?e.theme.colors.grey3:e.theme.colors.grey5};
77
+ ${e=>e.isFocused&&`background-color: ${e.theme.colors.background}`};
78
+ cursor: ${e=>e.isDisabled?"not-allowed":"pointer"};
79
+ border-top: none;
80
+ border-radius: inherit;
81
+ .close-tick-icon {
82
+ display: none;
83
+ }
84
+
85
+ &:hover {
86
+ background-color: ${e=>e.isDisabled?e.theme.colors.grey5:e.theme.colors.background};
87
+ color: ${e=>e.isDisabled?e.theme.colors.champion:e.theme.colors.primary};
88
+ .right-tick-icon {
89
+ display: ${e=>e.isOptionRemovable?"none":"inline-block"};
90
+ }
91
+ .close-tick-icon {
92
+ display: ${e=>e.isOptionRemovable?"inline-block":"none"};
93
+ }
94
+ }
95
+ }
96
+ `,se=n.div`
97
+ display: flex;
98
+ flex-direction: row;
99
+ align-items: center;
100
+ justify-content: space-between;
101
+ `,ie=n.div`
102
+ padding-right: ${o.sp2};
103
+ display: flex;
104
+ align-items: center;
105
+ justify-content: space-between;
106
+ fill: initial;
107
+ color: initial;
108
+ `,ne=n(G)`
109
+ padding-right: 10px;
110
+ cursor: ${e=>e.isDisabled?"not-allowed":"pointer"};
111
+ ${e=>e.isSelected&&"cursor: default"};
112
+ `,ae=n.div`
113
+ width: ${e=>e.isSelected?`calc(100% - ${o.sp3})`:"100%"};
114
+ display: flex;
115
+ align-items: center;
116
+ justify-content: space-between;
117
+ `,ce=n.div`
118
+ :first-of-type {
119
+ border-top-left-radius: ${o.sp1};
120
+ border-top-right-radius: ${o.sp1};
121
+ }
122
+
123
+ :last-of-type {
124
+ border-bottom-left-radius: ${o.sp1};
125
+ border-bottom-right-radius: ${o.sp1};
126
+ }
127
+ `,de=n.div`
128
+ display: flex;
129
+ `,ue=n(J)`
130
+ width: 12px;
131
+ height: 12px;
132
+ margin-right: 2px;
133
+ margin-left: ${o.sp1};
134
+ color: ${e=>e.theme.colors.primary};
135
+ `,pe=n(K)`
136
+ width: ${o.sp3};
137
+ height: ${o.sp3};
138
+ color: ${e=>e.theme.colors.primary};
139
+ `,he=()=>null,me=()=>null,ge=()=>null;export{$e as S};
@@ -1,4 +1,4 @@
1
- import{e as f,V as i,O as c,a7 as l,b as p,L as g,o,r as h,c2 as x,n as m}from"./index-Djco7rZW.js";import{a as b}from"./sentry-CEBEW6Zv.js";import{n as t}from"./mui-Xyv5fYYp.js";import"./pdf-BCMUg4JF.js";import"./zeni-epic-state-Ddwqsd5-.js";import"./core-Cd4LmmhG.js";import"./lottie-D3b06MuY.js";import"./liveblocks-IsOzz8u-.js";import"./recharts-CwRU7bDL.js";import"./dnd-CAuW2Onh.js";import"./analytics-CxExYOQN.js";import"./plaid-C49TlIE8.js";import"./utils-PmQt3_O8.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},r=new e.Error().stack;r&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[r]="b764bfce-eec9-4469-927e-ef1788fb9d05",e._sentryDebugIdIdentifier="sentry-dbid-b764bfce-eec9-4469-927e-ef1788fb9d05")}catch{}})();const u=t.div`
1
+ import{J as u,V as i,O as c,a7 as l,a6 as p,f as g,o,d as h,bX as x,l as m}from"./index-T6cemxxv.js";import{a as b}from"./sentry-BoIfGJBF.js";import{n as t}from"./mui-GaW5Gk_e.js";import"./pdf-DWoGjGSw.js";import"./zeni-epic-state-BtVcBgvu.js";import"./core-BSWMBnrJ.js";import"./lottie-DOxhyevU.js";import"./liveblocks--WiFaeN0.js";import"./recharts-BQ8VH5gX.js";import"./dnd-DJrh3JTW.js";import"./analytics-BZz0SPy3.js";import"./plaid-CNcdZ4gc.js";import"./utils-BGRwbgi2.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},r=new e.Error().stack;r&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[r]="ca974584-d051-44db-9e12-1286ce0c9bec",e._sentryDebugIdIdentifier="sentry-dbid-ca974584-d051-44db-9e12-1286ce0c9bec")}catch{}})();const f=t.div`
2
2
  display: flex;
3
3
  width: 100%;
4
4
  flex-direction: column;
@@ -44,7 +44,7 @@ import{e as f,V as i,O as c,a7 as l,b as p,L as g,o,r as h,c2 as x,n as m}from".
44
44
  text-align: center;
45
45
  `,k=t.div`
46
46
  margin-top: ${o.sp3};
47
- `,z=({dashboardFetchState:e,onZeniLogoClick:r,onDashboardFetchDone:n})=>{const{title:d,subTitle:a}=c.getLocalizedStrings().customerOnboardingPage.thankYou,s=l(e);return b.useEffect(()=>{s==="In-Progress"&&e!=="In-Progress"&&n()},[e,s,n]),i.jsxs(u,{children:[i.jsx($,{children:i.jsx(y,{"data-testid":p("zeni-logo-customer-onboarding-activation-page"),onClick:r})}),i.jsxs(j,{children:[i.jsx(v,{children:d}),i.jsx(w,{children:a}),i.jsx(k,{children:i.jsx(g,{size:"Large",start:!0})})]})]})},D=t.div`
47
+ `,z=({dashboardFetchState:e,onZeniLogoClick:r,onDashboardFetchDone:n})=>{const{title:d,subTitle:a}=c.getLocalizedStrings().customerOnboardingPage.thankYou,s=l(e);return b.useEffect(()=>{s==="In-Progress"&&e!=="In-Progress"&&n()},[e,s,n]),i.jsxs(f,{children:[i.jsx($,{children:i.jsx(y,{"data-testid":p("zeni-logo-customer-onboarding-activation-page"),onClick:r})}),i.jsxs(j,{children:[i.jsx(v,{children:d}),i.jsx(w,{children:a}),i.jsx(k,{children:i.jsx(g,{size:"Large",start:!0})})]})]})},D=t.div`
48
48
  display: flex;
49
49
  flex-direction: column;
50
50
  height: 100vh;
@@ -85,4 +85,4 @@ import{e as f,V as i,O as c,a7 as l,b as p,L as g,o,r as h,c2 as x,n as m}from".
85
85
  width: 100%;
86
86
  `,T=t.div`
87
87
  margin-top: ${o.sp3};
88
- `,_=({dashboardFetchState:e,onZeniLogoClick:r,onDashboardFetchDone:n})=>{const{title:d,subTitle:a}=c.getLocalizedStrings().customerOnboardingPage.thankYou,s=l(e);return b.useEffect(()=>{s==="In-Progress"&&e!=="In-Progress"&&n()},[e,s,n]),i.jsxs(D,{children:[i.jsx(I,{children:i.jsx(L,{children:i.jsx(P,{"data-testid":p("zeni-logo-customer-onboarding-activation-page"),onClick:r})})}),i.jsxs(C,{children:[i.jsx(F,{children:d}),i.jsx(S,{children:a}),i.jsx(T,{children:i.jsx(g,{size:"Large",start:!0})})]})]})},N=e=>f()==="small"?i.jsx(_,{...e}):i.jsx(z,{...e});export{N as default};
88
+ `,_=({dashboardFetchState:e,onZeniLogoClick:r,onDashboardFetchDone:n})=>{const{title:d,subTitle:a}=c.getLocalizedStrings().customerOnboardingPage.thankYou,s=l(e);return b.useEffect(()=>{s==="In-Progress"&&e!=="In-Progress"&&n()},[e,s,n]),i.jsxs(D,{children:[i.jsx(I,{children:i.jsx(L,{children:i.jsx(P,{"data-testid":p("zeni-logo-customer-onboarding-activation-page"),onClick:r})})}),i.jsxs(C,{children:[i.jsx(F,{children:d}),i.jsx(S,{children:a}),i.jsx(T,{children:i.jsx(g,{size:"Large",start:!0})})]})]})},M=e=>u()==="small"?i.jsx(_,{...e}):i.jsx(z,{...e});export{M as default};
@@ -0,0 +1 @@
1
+ import{j as i}from"./pdf-DWoGjGSw.js";import{je as n}from"./index-T6cemxxv.js";import{g as m}from"./QBOConnectionScreen-CJqEVXmb.js";import"./sentry-BoIfGJBF.js";import{h as f,N as s}from"./core-BSWMBnrJ.js";import"./zeni-epic-state-BtVcBgvu.js";import"./mui-GaW5Gk_e.js";import"./recharts-BQ8VH5gX.js";import"./lottie-DOxhyevU.js";import"./liveblocks--WiFaeN0.js";import"./dnd-DJrh3JTW.js";import"./analytics-BZz0SPy3.js";import"./plaid-CNcdZ4gc.js";import"./utils-BGRwbgi2.js";import"./empty-BcmJSfoQ.js";import"./pdf-lib-CU3tv6Hj.js";import"./index-B5VyyyEM.js";import"./url-BGCwBSI6.js";import"./index-De4FUH-D.js";import"./decodeURIComponentSafe-B2RLRrdt.js";(function(){try{var t=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},o=new t.Error().stack;o&&(t._sentryDebugIds=t._sentryDebugIds||{},t._sentryDebugIds[o]="67da2c20-e9bb-42fa-9e12-d9384f5f5f08",t._sentryDebugIdIdentifier="sentry-dbid-67da2c20-e9bb-42fa-9e12-d9384f5f5f08")}catch{}})();const S=()=>{const t=f(),{code:o,realmId:r,state:e}=m(t.search),a=n.getSignedInUser()?.userId??"";if(p(o,r,e,a)===!0){const d=`../../${e}/onboarding?code=${o}&realmId=${r}&state=auth_flow`;return i.jsx(s,{to:d})}return i.jsx(s,{to:"../../"})},p=(t,o,r,e)=>t!=""&&o!=""&&r!=""&&e!=null&&e!="";export{S as default,p as hasValidParams};
@@ -0,0 +1 @@
1
+ import{V as o}from"./index-T6cemxxv.js";import i from"./CustomerOnboardingNoStepsPage-CWF_00EM-EPt0RonD.js";import e from"./CustomerOnboardingPage-DkW66A-p-BsqCLn06.js";import"./sentry-BoIfGJBF.js";import"./pdf-DWoGjGSw.js";import"./zeni-epic-state-BtVcBgvu.js";import"./core-BSWMBnrJ.js";import"./mui-GaW5Gk_e.js";import"./recharts-BQ8VH5gX.js";import"./lottie-DOxhyevU.js";import"./liveblocks--WiFaeN0.js";import"./dnd-DJrh3JTW.js";import"./analytics-BZz0SPy3.js";import"./plaid-CNcdZ4gc.js";import"./utils-BGRwbgi2.js";import"./PaymentAccountSetupBillingAddressSection-JPO-rPAd-BENOl58h.js";import"./stripe-DMRn4zHo.js";import"./commonTypes-DsWS6Ccc-DgEYQkuk.js";import"./SetUpAccountSection-sfIB1h4i-5Qx4_bh2.js";import"./CustomerOnboardingDetailPageSkeleton-BzbZb27J-C4bWipAx.js";import"./CompanyOfficerDetailsSection-BaPhFsLx-B_RPGIU9.js";import"./helper-BMiMbXMj-BqD7TDgt.js";import"./LabeledAddressValueField-C6-hVsPb-2b15Jv_o.js";import"./LabeledCountryMultiSelectField-sj8p7Rne-bfsTKOeq.js";import"./LabeledCreatableSingleSelectField-DUTQh416-TJ_Bq1qn.js";import"./LabeledDocumentField-Bp9m-OrP-C4maUk83.js";import"./LabeledNameField--saAep-_-GEbqq-XX.js";import"./avatar-Dz7aEm3d-B59e782o.js";import"./QBOSetupSection-CzBfIVqR-DDJCICP1.js";import"./QBOConnectionDialog-Ca36jKz2-CdHpLyZs.js";(function(){try{var t=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},r=new t.Error().stack;r&&(t._sentryDebugIds=t._sentryDebugIds||{},t._sentryDebugIds[r]="6cba1046-4efe-4c8b-b68f-161e67689e63",t._sentryDebugIdIdentifier="sentry-dbid-6cba1046-4efe-4c8b-b68f-161e67689e63")}catch{}})();const B=t=>t.currentTenant?.productSettings.isOtherProductsEnabled===!0?o.jsx(i,{...t}):o.jsx(e,{...t});export{B as default};
@@ -1,11 +1,11 @@
1
- import{y as x,e as H,V as s,bg as b,o as t,m as z,x as f,b as y,aL as I,r as T,O as E,f as u,er as N,hc as R,fh as L,t as P,H as U,hd as O}from"./index-Djco7rZW.js";import{n as r}from"./mui-Xyv5fYYp.js";import{b as S}from"./sentry-CEBEW6Zv.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},i=new e.Error().stack;i&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[i]="727666d9-656d-42dd-840d-60108b6c76ba",e._sentryDebugIdIdentifier="sentry-dbid-727666d9-656d-42dd-840d-60108b6c76ba")}catch{}})();const W=r(O)`
1
+ import{y as x,J as H,V as s,bb as u,o as t,u as z,b as f,a6 as y,aL as I,d as T,O as E,e as b,ef as N,g_ as R,f7 as L,N as P,W as U,g$ as W}from"./index-T6cemxxv.js";import{n as r}from"./mui-GaW5Gk_e.js";import{b as $}from"./sentry-BoIfGJBF.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},i=new e.Error().stack;i&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[i]="ae8eed68-c60b-4994-8bae-851b11508b4e",e._sentryDebugIdIdentifier="sentry-dbid-ae8eed68-c60b-4994-8bae-851b11508b4e")}catch{}})();const O=r(W)`
2
2
  /* Size is controlled by styles.root prop */
3
3
  `,_=r.div`
4
4
  position: relative;
5
5
  width: ${t.sp3};
6
6
  height: ${t.sp3};
7
7
  border-radius: 50%;
8
- background-color: ${u.brandColorJadeLight};
8
+ background-color: ${b.brandColorJadeLight};
9
9
  display: flex;
10
10
  align-items: center;
11
11
  justify-content: center;
@@ -22,7 +22,7 @@ import{y as x,e as H,V as s,bg as b,o as t,m as z,x as f,b as y,aL as I,r as T,O
22
22
  pointer-events: none;
23
23
  z-index: 1;
24
24
  }
25
- `,F=({valueEnd:e,valueStart:i,children:o})=>{const[d,l]=S.useState(i);return S.useEffect(()=>{const n=setTimeout(()=>{l(e)},100);return()=>clearTimeout(n)},[e]),s.jsx(s.Fragment,{children:o(d)})},B=({valueEnd:e=50})=>{const i=x();return s.jsx(F,{valueStart:0,valueEnd:e,children:o=>s.jsx(_,{theme:i,children:s.jsx(W,{value:o,strokeWidth:50,circleRatio:1,styles:{...R({pathColor:u.success,trailColor:"transparent",pathTransitionDuration:1.5,rotation:1,strokeLinecap:"butt"}),root:{width:t.sp3,height:t.sp3,position:"relative",zIndex:2,display:"flex",alignItems:"center",justifyContent:"center"}}})})})},v=({isActive:e,isCompleted:i,isDisabled:o,isError:d,isHalfCompleted:l,theme:n})=>e||i||l||d?d?u.runwayRed:n.colors.primary:o?n.colors.grey1:n.colors.hero,w=({isActive:e,isCompleted:i,isDisabled:o,isHalfCompleted:d,theme:l})=>e||i||d?l.colors.primary:o?l.colors.grey1:l.colors.hero,J=r.div`
25
+ `,F=({valueEnd:e,valueStart:i,children:o})=>{const[d,l]=$.useState(i);return $.useEffect(()=>{const n=setTimeout(()=>{l(e)},100);return()=>clearTimeout(n)},[e]),s.jsx(s.Fragment,{children:o(d)})},J=({valueEnd:e=50})=>{const i=x();return s.jsx(F,{valueStart:0,valueEnd:e,children:o=>s.jsx(_,{theme:i,children:s.jsx(O,{value:o,strokeWidth:50,circleRatio:1,styles:{...R({pathColor:b.success,trailColor:"transparent",pathTransitionDuration:1.5,rotation:1,strokeLinecap:"butt"}),root:{width:t.sp3,height:t.sp3,position:"relative",zIndex:2,display:"flex",alignItems:"center",justifyContent:"center"}}})})})},v=({isActive:e,isCompleted:i,isDisabled:o,isError:d,isHalfCompleted:l,theme:n})=>e||i||l||d?d?b.runwayRed:n.colors.primary:o?n.colors.grey1:n.colors.hero,w=({isActive:e,isCompleted:i,isDisabled:o,isHalfCompleted:d,theme:l})=>e||i||d?l.colors.primary:o?l.colors.grey1:l.colors.hero,B=r.div`
26
26
  width: 100%;
27
27
  display: flex;
28
28
  background: ${e=>e.isActive?e.theme.colors.grey5:null};
@@ -47,11 +47,11 @@ import{y as x,e as H,V as s,bg as b,o as t,m as z,x as f,b as y,aL as I,r as T,O
47
47
  `,Z=r(L)`
48
48
  width: ${t.sp3};
49
49
  height: ${t.sp3};
50
- color: ${u.success};
50
+ color: ${b.success};
51
51
  `,q=r(N)`
52
52
  width: ${t.sp3};
53
53
  height: ${t.sp3};
54
- color: ${u.runwayRed};
54
+ color: ${b.runwayRed};
55
55
  `,G=r.div`
56
56
  height: ${t.sp3};
57
57
  width: ${t.sp3};
@@ -65,7 +65,7 @@ import{y as x,e as H,V as s,bg as b,o as t,m as z,x as f,b as y,aL as I,r as T,O
65
65
  color: ${e=>v({isActive:e.isActive,isCompleted:e.isCompleted,isDisabled:e.disabledStep,isError:e.isError,isHalfCompleted:e.isHalfCompleted,theme:e.theme})};
66
66
  `,Q=r(U)`
67
67
  color: ${e=>w({isActive:e.isActive,isCompleted:e.isCompleted,isDisabled:e.disabledStep,isHalfCompleted:e.isHalfCompleted,theme:e.theme})};
68
- `;function X({onboardingStep:e,isActive:i,isCompleted:o,isHalfCompleted:d,isDisabled:l,isError:n,stepText:h,stepSubText:m,onUpdateStep:g,setIsStepClicked:p,disabledSteps:a}){const c=l||a.includes(e)&&i===!1;return s.jsxs(J,{isActive:i,isDisabled:c,isCompleted:o,isHalfCompleted:d,isError:n,onClick:l===!1?()=>{a.includes(e)&&i===!1||(p(!0),g(e))}:void 0,"data-testid":y("step-box",e),children:[s.jsx(V,{children:n?s.jsx(q,{}):d?s.jsx(B,{}):o?s.jsx(Z,{}):s.jsx(G,{isActive:i,disabledStep:c})}),s.jsxs(K,{children:[s.jsx(M,{className:"step-content-title",isActive:i,isCompleted:o,isHalfCompleted:d,disabledStep:c,isError:n,children:h}),s.jsx(Q,{className:"step-content-subtitle",isActive:i,isCompleted:o,isHalfCompleted:d,disabledStep:c,children:m})]})]})}const Y=r.div`
68
+ `;function X({onboardingStep:e,isActive:i,isCompleted:o,isHalfCompleted:d,isDisabled:l,isError:n,stepText:h,stepSubText:m,onUpdateStep:g,setIsStepClicked:p,disabledSteps:a}){const c=l||a.includes(e)&&i===!1;return s.jsxs(B,{isActive:i,isDisabled:c,isCompleted:o,isHalfCompleted:d,isError:n,onClick:l===!1?()=>{a.includes(e)&&i===!1||(p(!0),g(e))}:void 0,"data-testid":y("step-box",e),children:[s.jsx(V,{children:n?s.jsx(q,{}):d?s.jsx(J,{}):o?s.jsx(Z,{}):s.jsx(G,{isActive:i,disabledStep:c})}),s.jsxs(K,{children:[s.jsx(M,{className:"step-content-title",isActive:i,isCompleted:o,isHalfCompleted:d,disabledStep:c,isError:n,children:h}),s.jsx(Q,{className:"step-content-subtitle",isActive:i,isCompleted:o,isHalfCompleted:d,disabledStep:c,children:m})]})]})}const Y=r.div`
69
69
  display: flex;
70
70
  flex: 1 1 auto;
71
71
  margin-top: 84px;
@@ -89,7 +89,7 @@ import{y as x,e as H,V as s,bg as b,o as t,m as z,x as f,b as y,aL as I,r as T,O
89
89
  width: 100%;
90
90
  display: flex;
91
91
  box-sizing: border-box;
92
- `,oe=()=>{const e=x();return s.jsx(se,{children:[...Array(2)].map((i,o)=>s.jsx(ie,{children:s.jsx(b,{width:198,height:89,backgroundColor:e.colors.grey3,style:{borderRadius:t.sp2}})},o))})},re=240,de=r.div`
92
+ `,oe=()=>{const e=x();return s.jsx(se,{children:[...Array(2)].map((i,o)=>s.jsx(ie,{children:s.jsx(u,{width:198,height:89,backgroundColor:e.colors.grey3,style:{borderRadius:t.sp2}})},o))})},re=240,de=r.div`
93
93
  display: flex;
94
94
  flex: 1 1 auto;
95
95
  flex-direction: column;
@@ -115,7 +115,7 @@ import{y as x,e as H,V as s,bg as b,o as t,m as z,x as f,b as y,aL as I,r as T,O
115
115
  color: ${e=>e.theme.colors.primary};
116
116
  cursor: pointer;
117
117
  flex-shrink: 0;
118
- `,ue=e=>{const{isOnAddressPage:i,allSteps:o,completedSteps:d,halfCompletedSteps:l,errorSteps:n,currentStep:h,signedInUser:m,currentTenant:g,fetchStatus:p,onUpdateStep:a,onZeniLogoClick:c,handleLogOutClick:k,handleCockpitClick:j,setIsStepClicked:A}=e,D=p.fetchState==="In-Progress"||p.fetchState==="Not-Started";return s.jsxs(de,{children:[s.jsx(ne,{"data-testid":y("zeni-logo-customer-onboarding-drawer"),onClick:c}),D?s.jsx(oe,{}):s.jsx(te,{allSteps:o,isDisabled:i,disabledSteps:[],completedSteps:d,halfCompletedSteps:l,errorSteps:n,currentStep:h,onUpdateStep:a,setIsStepClicked:A}),s.jsx(le,{children:s.jsx(I,{signedInUser:m,currentTenant:g,onLogOutClick:k,onCockpitClick:j})})]})},$={titleRectangleWidth:new f(250,500,550,600),subTitleRectangleWidth:new f(343,600,700,800)},ae=r.div`
118
+ `,be=e=>{const{isOnAddressPage:i,allSteps:o,completedSteps:d,halfCompletedSteps:l,errorSteps:n,currentStep:h,signedInUser:m,currentTenant:g,fetchStatus:p,onUpdateStep:a,onZeniLogoClick:c,handleLogOutClick:k,handleCockpitClick:j,setIsStepClicked:A}=e,D=p.fetchState==="In-Progress"||p.fetchState==="Not-Started";return s.jsxs(de,{children:[s.jsx(ne,{"data-testid":y("zeni-logo-customer-onboarding-drawer"),onClick:c}),D?s.jsx(oe,{}):s.jsx(te,{allSteps:o,isDisabled:i,disabledSteps:[],completedSteps:d,halfCompletedSteps:l,errorSteps:n,currentStep:h,onUpdateStep:a,setIsStepClicked:A}),s.jsx(le,{children:s.jsx(I,{signedInUser:m,currentTenant:g,onLogOutClick:k,onCockpitClick:j})})]})},S={titleRectangleWidth:new f(250,500,550,600),subTitleRectangleWidth:new f(343,600,700,800)},ae=r.div`
119
119
  display: flex;
120
120
  flex-direction: column;
121
121
  align-items: center;
@@ -159,4 +159,4 @@ import{y as x,e as H,V as s,bg as b,o as t,m as z,x as f,b as y,aL as I,r as T,O
159
159
  box-sizing: border-box;
160
160
  align-items: center;
161
161
  justify-content: center;
162
- `,be=({isNoStepsPage:e=!1})=>{const i=x(),o=H();return s.jsx(ae,{isNoStepsPage:e,children:s.jsx(pe,{windowSize:o,children:s.jsxs(ce,{children:[s.jsx(C,{children:s.jsx(b,{width:$.titleRectangleWidth.value(o),height:z[6],backgroundColor:i.colors.grey3,style:{borderRadius:t.sp2}})}),s.jsx(C,{children:s.jsx(b,{width:$.subTitleRectangleWidth.value(o),height:27,backgroundColor:i.colors.grey3,style:{borderRadius:t.sp2}})})]})})})};export{re as a,ue as b,be as f};
162
+ `,ue=({isNoStepsPage:e=!1})=>{const i=x(),o=H();return s.jsx(ae,{isNoStepsPage:e,children:s.jsx(pe,{windowSize:o,children:s.jsxs(ce,{children:[s.jsx(C,{children:s.jsx(u,{width:S.titleRectangleWidth.value(o),height:z[6],backgroundColor:i.colors.grey3,style:{borderRadius:t.sp2}})}),s.jsx(C,{children:s.jsx(u,{width:S.subTitleRectangleWidth.value(o),height:27,backgroundColor:i.colors.grey3,style:{borderRadius:t.sp2}})})]})})})};export{re as a,be as b,ue as f};
@@ -0,0 +1,66 @@
1
+ import{c as de,V as n,eS as Se,J as fe,y as Ce,T as be,a7 as Pe,b$ as we,a_ as xe,o as a,a6 as ke,A as Ie,a9 as Ae,aL as $e,gY as ve,O as Oe,ei as Ve,ej as je,d as Te,b as Q,s as Le,u as v}from"./index-T6cemxxv.js";import{n as c}from"./mui-GaW5Gk_e.js";import{a as O}from"./sentry-BoIfGJBF.js";import{r as _e,t as ze}from"./PaymentAccountSetupBillingAddressSection-JPO-rPAd-BENOl58h.js";import{f as Be}from"./CustomerOnboardingDetailPageSkeleton-BzbZb27J-C4bWipAx.js";import"./pdf-DWoGjGSw.js";import"./zeni-epic-state-BtVcBgvu.js";import"./core-BSWMBnrJ.js";import"./lottie-DOxhyevU.js";import"./liveblocks--WiFaeN0.js";import"./recharts-BQ8VH5gX.js";import"./dnd-DJrh3JTW.js";import"./analytics-BZz0SPy3.js";import"./plaid-CNcdZ4gc.js";import"./utils-BGRwbgi2.js";import"./stripe-DMRn4zHo.js";import"./commonTypes-DsWS6Ccc-DgEYQkuk.js";import"./SetUpAccountSection-sfIB1h4i-5Qx4_bh2.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},u=new e.Error().stack;u&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[u]="f41717a5-b4b3-47ae-a401-b5b4c51de2da",e._sentryDebugIdIdentifier="sentry-dbid-f41717a5-b4b3-47ae-a401-b5b4c51de2da")}catch{}})();const ee="onboardingPaymentAccountSetupSection",re="customerOnboardingNoStepsDetailPage",t="onboardingSubscriptionBillingAddress",X={titleWidth:new Q(343,580,726,826),subTitlePaddingTop:new Q(v[3],v[3]),subTitlePaddingBottom:new Q(v[3],v[3])},Ee=e=>`${e}_form`,Ue=Oe.getLocalizedStrings(),De=({onboardingCustomerView:e,connectedAccountProvider:u,cardPaymentView:p,stripeKey:j,googleAPIKey:T,signedInUser:w,currentTenant:L,onUpdateStep:_,handleCreateCardSetupIntent:z,handleConfirmCardSetupIntent:B,updateCardPaymentModalState:x,handleAddCardPaymentSource:E,resetCardPaymentViewState:U,handleResetCardPaymentErrorStatuses:D,redirectToProductSuitePage:k,onUpdateCustomerView:F,...K})=>{const m=fe(),M=de(),{analytics:C}=M,{onFetchLinkTokenClick:R,onUpdatePaymentAccountStatus:N,onUpdatePaymentAccountLoginStatus:Z,onEstablishConnectionClick:b,onEstablishConnectionSuccess:G,handleLogOutClick:H,onZeniLogoClick:W,onAddressEditHandler:I}=K,Y=Ce(),o=be({mode:"onSubmit",reValidateMode:"onSubmit",defaultValues:V(e),values:V(e),shouldFocusError:!0,resetOptions:{keepDirtyValues:!0}}),{companyOfficerLocalData:le,saveStatus:g,paymentAccount:A,paymentAccountStatus:ce,plaidConnectionDetails:te,uiState:ue,allNationalityCountries:ne,subscriptionBillingAddress:y}=e,{customerOnboardingPage:pe,common:h}=Ue,{footer:me,steps:ge}=pe,{buttons:q}=me,ae=ge.link_payment_account,$=Pe(g.fetchState),ie=Object.values(le).findIndex(d=>d?.isSelectedForVerification===!0)??0,ye=`Officer_${ie<0?1:ie+1}`;O.useEffect(()=>{const d=o.watch((l,{name:i})=>{i!=null&&l!=null&&we(()=>(async(r,s)=>{if(r.includes(t)&&s[t]!=null){const S=o.getValues(`${t}`).country;let f=s[t];if(r.includes(`${t}.street`)&&s[t].street!=null){const{addressValue:P}=s[t].street,J=Ve(P?.country);f={street:s[t].street??h.strings.empty,city:P?.locality??h.strings.empty,state:P?.administrativeAreaLevel1??h.strings.empty,country:J,countryCode:P?.countryCode??h.strings.empty,postalCode:P?.postalCode??h.strings.empty,secondaryInfo:s[t].secondaryInfo,suite:s[t].suite},S.selectedOption!==J.selectedOption&&(f={...f,country:J})}else(r===`${t}.country`&&S.selectedOption!=null||S.selectedOption!=null&&r.includes(`${t}.street`)===!1)&&(f={...f,countryCode:je(S.selectedOption)});I(f)}})(i,l))});return()=>{d.unsubscribe()}}),O.useEffect(()=>{$==="In-Progress"&&g.fetchState==="Completed"&&o.reset(V(e),{keepDirtyValues:!1})},[o,e,$,g.fetchState,ne]);const oe=()=>{const d=Object.values(te).some(s=>s.fetchStatus.fetchState==="Completed"),l=A?.providerVerificationStatus?.code?.includes("verified")??!1,i=p.cardsList.length>0,r=p.bankAccountsList[0]?.providerVerificationStatus?.code?.includes("verified")??!1;return d&&l||!l&&!A&&i||!i&&!A&&r};O.useEffect(()=>{$==="In-Progress"&&g.fetchState==="Completed"&&(o.reset(V(e),{keepDirtyValues:!1}),k())},[o,e,$,g.fetchState,ne,k]);const[se,he]=O.useState(!1);return n.jsxs(Fe,{children:[n.jsxs(Ke,{windowSize:m,children:[n.jsx(xe,{title:ae.sectionTitle,showBackButton:!1,backgroundColor:Y.colors.grey4,style:{zIndex:4},source:"CustomerOnboardingPaymentAddressDetailPage",showLeftSection:m!=="small",titleStyle:{display:"flex",alignItems:"center"},navBarContainerStyles:{paddingTop:a.sp0,paddingBottom:a.sp0},leftSideComponent:n.jsx(Ze,{children:n.jsx(Ge,{"data-testid":ke("zeni-logo-customer-onboarding-payment-address-detail-page"),onClick:W})})}),n.jsx(Ie,{...o,children:n.jsx(Re,{id:Ee(re),children:n.jsxs(Me,{children:[n.jsx(He,{windowSize:m,children:ae.sectionSubTitle}),n.jsx(_e,{connectedAccountProvider:u,paymentAccount:A,accountStatus:ce,plaidConnectionDetails:te,subscriptionBillingAddressSectionId:t,sectionId:ee,analytics:C,isValid:oe(),onFetchLinkTokenClick:R,onEstablishConnectionClick:b,onUpdatePaymentAccountStatus:N,onUpdatePaymentAccountLoginStatus:Z,onEstablishConnectionSuccess:G,updateCardPaymentModalState:x,cardPaymentView:p,resetCardPaymentViewState:U,cardSetupInProgress:se,googleAPIKey:T,subscriptionBillingAddress:y})]},"link_payment_account")})}),n.jsx(Ae,{formId:`${re}`,leftSideComponent:n.jsx(Ne,{windowSize:m,children:n.jsx($e,{signedInUser:w,currentTenant:L,onLogOutClick:H})}),style:{width:m==="small"?"auto":"100%",padding:a.sp0,rowGap:a.sp1},helperContainerStyle:{width:"100%",rowGap:a.sp1,marginTop:"12px",marginBottom:a.sp2},primaryBtn:{onClick:async()=>{const d=await o.trigger(t),l=await o.trigger(ee);d&&l&&((()=>{const i=o.getValues(t),r={street:i.street.addressString,suite:i.suite,city:i.city,state:i.state,postalCode:i.postalCode,country:i.country.selectedOption??h.strings.empty,secondaryInfo:i.secondaryInfo};C.trackOnboardingBillingAddressSave(r)})(),_("link_payment_account"),F(ye,!1,!0))},label:q.submit,isLoading:g.fetchState==="In-Progress",isDisabled:g.fetchState==="In-Progress"||!(function(){if(o.getFieldState(t).error)return!1;const d=o.getValues(t),l=y?.street.join("").trim(),i=y?.city,r=y?.state,s=y?.country,S=y?.postalCode!=null&&y.postalCode||d.postalCode||h.strings.empty;return!!(l&&i&&r&&s&&S)}()&&oe())},containerStyle:{width:"auto",justifyContent:"center"},helperText:q.submitText.replace("__action__",q.submit),helperStyle:{width:"auto",padding:a.sp0,rowGap:a.sp0,textAlign:"center"}})]}),n.jsx(ze,{handleConfirmCardSetupIntent:B,updateCardPaymentModalState:x,handleCreateCardSetupIntent:z,handleAddCardPaymentSource:E,cardPaymentView:p,stripeKey:j,isCardPaymentOpen:ue.isCardPaymentPopupOpen,handleResetCardPaymentErrorStatuses:D,cardSetupInProgress:se,setCardSetupInProgress:he})]})},Fe=c.div`
2
+ display: flex;
3
+ flex-direction: column;
4
+ align-items: center;
5
+ min-width: 100% ${e=>e.theme.breakpoints.down("md")} {
6
+ width: 100%;
7
+ padding-left: ${a.sp0};
8
+ }
9
+ `,Ke=c.div`
10
+ display: flex;
11
+ flex-direction: column;
12
+ align-items: center;
13
+ flex: 1;
14
+ width: 100%;
15
+ height: 100%;
16
+ background-image: ${e=>`url(https://storage.googleapis.com/zeni-apis.appspot.com/images/signin-background-${e.windowSize==="small"?"m":"w"}-${e.theme.mode==="dark"?"d":"l"}.svg)`};
17
+ background-color: ${e=>e.theme.colors.grey4};
18
+ background-size: inherit;
19
+ background-attachment: fixed;
20
+ background-position: ${e=>e.windowSize==="small"?"center center":"right center"};
21
+ background-repeat: no-repeat;
22
+
23
+ ${e=>e.theme.breakpoints.down("lg")} {
24
+ background-size: cover;
25
+ }
26
+ `,Me=c.div`
27
+ display: flex;
28
+ height: 100%;
29
+ flex-direction: column;
30
+ padding-bottom: ${a.sp0};
31
+ `,Re=c.form`
32
+ padding-top: ${a.sp0};
33
+ flex: 1;
34
+ `,Ne=c.div`
35
+ display: flex;
36
+ height: ${a.sp7};
37
+ left: ${a.sp4};
38
+ bottom: ${a.sp3};
39
+ position: fixed;
40
+ justify-content: center;
41
+ align-items: center;
42
+ cursor: default;
43
+ `,Ze=c.div`
44
+ display: flex;
45
+ `,Ge=c(Te)`
46
+ height: ${a.sp4};
47
+ width: 102px;
48
+ color: ${e=>e.theme.colors.primary};
49
+ cursor: pointer;
50
+ flex-shrink: 0;
51
+ margin-left: -${a.sp4};
52
+ `,He=c(Le)`
53
+ color: ${e=>e.theme.colors.hero};
54
+ display: flex;
55
+ justify-content: center;
56
+ width: ${e=>X.titleWidth.valuePx(e.windowSize)};
57
+ padding-top: ${e=>X.subTitlePaddingTop.valuePx(e.windowSize)};
58
+ padding-bottom: ${e=>X.subTitlePaddingBottom.valuePx(e.windowSize)};
59
+ text-align: ${e=>e.windowSize==="small"?"initial":"center"};
60
+ width: 100%;
61
+ `,V=e=>({[ee]:{account:{allOptions:[],selectedOption:void 0}},[t]:ve(t,e?.subscriptionBillingAddress)[t]}),mt=e=>{const{onboardingCustomerView:u,cardPaymentView:p,signedInUser:j,currentTenant:T,isOnAddressPage:w,stripeKey:L,googleAPIKey:_,meetingUrl:z,onUpdateStep:B,onZeniLogoClick:x,handleLogOutClick:E,handleCockpitClick:U,handleCreateCardSetupIntent:D,handleConfirmCardSetupIntent:k,handleFetchPaymentSources:F,updateCardPaymentModalState:K,resetCardPaymentViewState:m,handleResetCardPaymentErrorStatuses:M,redirectToProductSuitePage:C,...R}=e,{allSteps:N,currentStep:Z,fetchStatus:b}=u,G=de(),{analytics:H}=G,W={allSteps:N,isOnAddressPage:w,currentStep:Z,fetchStatus:b,signedInUser:j,currentTenant:T,onUpdateStep:Y=>{B(Y)},onZeniLogoClick:x,handleLogOutClick:E,handleCockpitClick:U,redirectToProductSuitePage:C},I=b.fetchState==="In-Progress"||b.fetchState==="Not-Started";return n.jsxs(We,{isOnAddressPage:w,children:[I?n.jsx(Be,{isNoStepsPage:!0}):n.jsx(De,{...W,onboardingCustomerView:u,handleCreateCardSetupIntent:D,handleConfirmCardSetupIntent:k,updateCardPaymentModalState:K,handleFetchPaymentSources:F,cardPaymentView:p,resetCardPaymentViewState:m,stripeKey:L,googleAPIKey:_,handleResetCardPaymentErrorStatuses:M,redirectToProductSuitePage:C,...R}),I?null:n.jsx(Se,{isFooterRendered:!0,meetingUrl:z,analytics:H,productType:"onboarding"})]})},We=c.div`
62
+ display: flex;
63
+ flex-direction: column;
64
+ width: ${e=>e.isOnAddressPage?"fit-content":"100%"};
65
+ height: 100vh;
66
+ `;export{mt as default};