@zeniai/web-app-ui 4.14.33-qa → 4.14.34-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 (368) hide show
  1. package/dist/assets/{ACHDetailsPage-DKTSwNyl-vaiiH6iF.js → ACHDetailsPage-iiVBlQka-kJJwShx9.js} +6 -6
  2. package/dist/assets/{AIPerformancePage-BzTlSxeg-5-sFPCOu.js → AIPerformancePage-MBAB5kgB-CllvurBN.js} +1 -1
  3. package/dist/assets/AccountInfoPage-Cz9yoVl8-yEC5AHJo.js +18 -0
  4. package/dist/assets/{AccountInfoPageContent-B0ZnsyrQ-nblnEZiO.js → AccountInfoPageContent-j85psx_A-B10pnZIl.js} +2 -2
  5. package/dist/assets/{AccountLockedInfoModal-B6A-nGIq-CbXEwSi6.js → AccountLockedInfoModal-B1JxHllU-zA2mS4xW.js} +1 -1
  6. package/dist/assets/{AccountReconDetailsDrawerPage-BTmjrd8b-Bmi7mlyR.js → AccountReconDetailsDrawerPage-DF-X46_u-DqFdxkfQ.js} +3 -3
  7. package/dist/assets/{AccountRow-C-Iunc36-72sE71ts.js → AccountRow-DEtntSrL-CJ0B8bgS.js} +1 -1
  8. package/dist/assets/{AccountsPromoCardStack-D6xN5A4_-CDd7581y.js → AccountsPromoCardStack-Cvixqb_6-D97qRbqR.js} +1 -1
  9. package/dist/assets/{AddAddressForCardDrawer-B6tLAOA_-iUCl4WAL.js → AddAddressForCardDrawer-B1Qfn44J-CPpzlUkA.js} +1 -1
  10. package/dist/assets/{AddToWalletPage-Bw1oz9Y2-DF4WBRew.js → AddToWalletPage-BLxUsh1Y-BlYpwefQ.js} +1 -1
  11. package/dist/assets/{AddressRoutes-DZ3CePsl.js → AddressRoutes-D9ypa9JP.js} +1 -1
  12. package/dist/assets/{AddressScreen--daeKsww.js → AddressScreen-7cFlirZg.js} +1 -1
  13. package/dist/assets/{AgingReportsPage-BK3PXwnr-DmdGNpEA.js → AgingReportsPage-XIzuLRE4-Ci3KQGlf.js} +8 -8
  14. package/dist/assets/{AiCfoScreen-DrIEINcV.js → AiCfoScreen-DoYaPaX9.js} +1 -1
  15. package/dist/assets/{AllUserItems-B42zEFpe-C5NuOkc_.js → AllUserItems-BGMZCYUO-D3nrnj9J.js} +4 -4
  16. package/dist/assets/{ApAgingDetailPage-vzW4qF2Y-DVMMh04t.js → ApAgingDetailPage-B-1gVAu6-Bzjn8P1m.js} +8 -8
  17. package/dist/assets/{AppBasePage-yAU5vW5D-C53pNaUV.js → AppBasePage-CYjdUgY4-B_GezOYf.js} +1 -1
  18. package/dist/assets/{AppDrawerContent-nnh5cFf7-B2ApD6yG.js → AppDrawerContent-CbF8TOjd-CJdJC4Gi.js} +5 -5
  19. package/dist/assets/{ApprovalRulesSettingsPage-B-Y2YjpT-C80eVk9A.js → ApprovalRulesSettingsPage-RCtygkuw-D7FKTOUR.js} +1 -1
  20. package/dist/assets/{ArAgingChart-CCc6eh55-CSeG-Uqv.js → ArAgingChart-ZwWwEBJ3-CYvKQAY1.js} +2 -2
  21. package/dist/assets/{ArAgingDetailPage-CYXVPEzK-BAIqYo3y.js → ArAgingDetailPage-DtqyngrA-dzglT1I2.js} +1 -1
  22. package/dist/assets/{AttachmentView-DqrQDEWc-mCwLL7Mx.js → AttachmentView-UxkSFZmq-Dr8yZ85U.js} +1 -1
  23. package/dist/assets/{BalancesInsightWithToolTip-D1_dZg5k-D5kbkQ7T.js → BalancesInsightWithToolTip-Co6ZUc5x-DLuw_h8-.js} +8 -8
  24. package/dist/assets/{BankAccountSection-4vXBKCFA-KaAYLI0p.js → BankAccountSection-DnBVOkJC-Bn2rFs67.js} +1 -1
  25. package/dist/assets/{BankAccountWarningSection-Dhmxhwx--CUBNVb6Q.js → BankAccountWarningSection-D7OuLiLz-CD3SlEdY.js} +1 -1
  26. package/dist/assets/{BankConnectionsSettingsPage-z52fh-wH-CJ_u9xIa.js → BankConnectionsSettingsPage-BDLTuNLu-BCTZxVaa.js} +13 -13
  27. package/dist/assets/{BillDetailPage-DRpctLxu-bdCPRsGz.js → BillDetailPage-V8us93cj-B0TwX2a_.js} +1 -1
  28. package/dist/assets/{BillPayApprovalRoutes-DFkIdcSF.js → BillPayApprovalRoutes-DSmRUBge.js} +1 -1
  29. package/dist/assets/BillPayApprovalRuleDetailPage-C_REwEVS-CztPHOm6.js +27 -0
  30. package/dist/assets/{BillPayApprovalRulesPage-HG32jtX9-BVKOFsD1.js → BillPayApprovalRulesPage-C6G_eDX9-C8wM1oCi.js} +1 -1
  31. package/dist/assets/{BillPayPromoPage-DwxNDF0k-DdNDHpVJ.js → BillPayPromoPage-CTQSknOB-CxSqRwoG.js} +12 -12
  32. package/dist/assets/{BillPayRoutes-B46aoVkb.js → BillPayRoutes-DUDFuwtX.js} +1 -1
  33. package/dist/assets/{BillPaySetUpPage-B-kmDrpB-Bfo7Z4ox.js → BillPaySetUpPage-BmgMLaf--BkQms9Qs.js} +1 -1
  34. package/dist/assets/{BillingSettingsPage-CNZyUOpM--gtvAMnb.js → BillingSettingsPage-IHY3ak0N-CL3RSkEP.js} +4 -4
  35. package/dist/assets/{BillsBulkReviewDrawerPage-DbIDTE51-D655D3p3.js → BillsBulkReviewDrawerPage-ZoFahXYa-BH-n-En_.js} +1 -1
  36. package/dist/assets/{BoxItem-CIyMdw2s-nxbr18CH.js → BoxItem-XoWq-tnh-BmrAcTRu.js} +1 -1
  37. package/dist/assets/{BusinessVerificationPage-DQ34qLUA-DMRdoDLL.js → BusinessVerificationPage-D9HtnNOu-FQn5FW8q.js} +3 -3
  38. package/dist/assets/{BusinessVerificationPageScreen-C86_V-r6.js → BusinessVerificationPageScreen-DB2AuUe-.js} +1 -1
  39. package/dist/assets/{BusyIndication-YMYY0Pff-D_KjfCvN.js → BusyIndication-BLGcHlgu-d1oE1KKV.js} +1 -1
  40. package/dist/assets/{CardNumberSubText-CN1RN7Tf-DydQglA7.js → CardNumberSubText-Cn0EZrNE-tK-yujMO.js} +1 -1
  41. package/dist/assets/{CashbackDetailPage-CyYkVa0H-5lX_RN0h.js → CashbackDetailPage-Bk5ssPnj-C8QC0Hig.js} +9 -9
  42. package/dist/assets/{ChargeCardDetailPage-DFUAF2OM-BjL0DKyM.js → ChargeCardDetailPage-Ge9Aw7PA-DZlpK6dI.js} +20 -20
  43. package/dist/assets/{ChargeCardListPage-BTHDGtJ6-CCJNQLG0.js → ChargeCardListPage-BNLOoSv3-DV7-d8CD.js} +9 -9
  44. package/dist/assets/{ChargeCardListTable-BiKjkqVs-Dgu4VrOO.js → ChargeCardListTable-BoufojYF-Cnvek6YP.js} +26 -26
  45. package/dist/assets/{ChargeCardPaymentHistoryPage-sPGU7qmY-rwescXiM.js → ChargeCardPaymentHistoryPage-5lUxK8pF-eVmFgfvo.js} +14 -14
  46. package/dist/assets/ChargeCardPromoPage-CKl6K-nr-DnYu005E.js +222 -0
  47. package/dist/assets/{ChargeCardRoutes-CPgq-Fcs.js → ChargeCardRoutes-B4WS6JPM.js} +1 -1
  48. package/dist/assets/{ChargeCardSetupPage-DmhPAnYT-Dyz8DCk0.js → ChargeCardSetupPage-Dqoel2Do-DOmmeiiu.js} +1 -1
  49. package/dist/assets/{ChargeCardStatementsPage-DUXupPSN-Db6p_ygZ.js → ChargeCardStatementsPage-Dalrj66w-B8hsBg7k.js} +2 -2
  50. package/dist/assets/{CheckDepositDrawerPage-C8nbDVSz-95lqaH1D.js → CheckDepositDrawerPage-mYjv1H0f-Cz8ArAIi.js} +7 -7
  51. package/dist/assets/{CollapsableReportTable-C_bWRP7w-hzcwjYIg.js → CollapsableReportTable-CIaa7SIH-BTOs1ROa.js} +1 -1
  52. package/dist/assets/{CompanyOfficerDetailsSection-6LXCxWYP-Dc3qK4JY.js → CompanyOfficerDetailsSection-BSFNYauO-CNbg81GJ.js} +7 -7
  53. package/dist/assets/{CompanyPassportCard-DVJS9xE7-D9MmZ8zJ.js → CompanyPassportCard-B-mBb9Q5-DTZPiAcJ.js} +1 -1
  54. package/dist/assets/{CompanyPassportPage-FJ30paB0-CUlcgg__.js → CompanyPassportPage-Blyl_Z-c-DaWkc5U5.js} +1 -1
  55. package/dist/assets/{CompanyPassportScreen-DFzd5xMl.js → CompanyPassportScreen-DzV8epiZ.js} +1 -1
  56. package/dist/assets/{CompleteProfile-D3Im5rsm-CBfB04g9.js → CompleteProfile-ySk9I1Ut-Co_b7X5p.js} +1 -1
  57. package/dist/assets/{ConfettiBurst-BJrOe5Fg-DQJv_Nip.js → ConfettiBurst-CeAc4Ily-fAc6vAhM.js} +1 -1
  58. package/dist/assets/{ConnectionAuthScreen-CxbcAiyp.js → ConnectionAuthScreen-XNPx_XcE.js} +1 -1
  59. package/dist/assets/{ConstrainedInnerElement-CgdnMeoA-CFViNyFz.js → ConstrainedInnerElement-CgdnMeoA-CQrlu1iR.js} +1 -1
  60. package/dist/assets/{CreateOrEditVendorPage-C8dK3_XQ-CIY4Siau.js → CreateOrEditVendorPage-BRkqkhfw-6tasCpNK.js} +1 -1
  61. package/dist/assets/{CreditCardPaymentDrawerPage-Dp5mS2Hc-wlf0KhHC.js → CreditCardPaymentDrawerPage-oUIakAtz-DpasI8GY.js} +6 -6
  62. package/dist/assets/{CurrencySelectField-BAQ5aoHk-Crf9Iyws.js → CurrencySelectField-CSPhUjwG-QMsL0N8I.js} +1 -1
  63. package/dist/assets/{CustomerOnboardingActivationPage-D8T1akbN-BTSd_gC1.js → CustomerOnboardingActivationPage-CoOyWe6_-Dn0m9Q2e.js} +1 -1
  64. package/dist/assets/CustomerOnboardingAuthScreen-CPpHJyPJ.js +1 -0
  65. package/dist/assets/CustomerOnboardingContainerPage-B4YFIOQJ-iH-ugk6E.js +1 -0
  66. package/dist/assets/{CustomerOnboardingDetailPageSkeleton-DSvvHqR_-Clg865Pc.js → CustomerOnboardingDetailPageSkeleton-CWNyUuRp-PCUtxDIZ.js} +1 -1
  67. package/dist/assets/{CustomerOnboardingNoStepsPage-CSLO3M7E-Di-cYBWB.js → CustomerOnboardingNoStepsPage-DWx46Z6R-Ba9gs9mp.js} +17 -17
  68. package/dist/assets/{CustomerOnboardingPage-weza3x24-C74TSa_v.js → CustomerOnboardingPage-D86Sj2KP-BtfnNu-9.js} +3 -3
  69. package/dist/assets/{CustomerOnboardingProductSuitePage-3YH4y1e1-DgtSAlPY.js → CustomerOnboardingProductSuitePage-Bo0LFveG-BnqGrm-5.js} +1 -1
  70. package/dist/assets/{CustomerOnboardingRoutes-D8lBv3Fo.js → CustomerOnboardingRoutes-Cii6REat.js} +1 -1
  71. package/dist/assets/{Dashboard-Bpuy-Pez-DtqZ0TAC.js → Dashboard-DQLJzr16-BXSSEaEy.js} +1 -1
  72. package/dist/assets/{DashboardReportPage-1p79NBF9-BeGuSbHr.js → DashboardReportPage-CwfTMXY5-CyyBZOOf.js} +1 -1
  73. package/dist/assets/{DashboardRoutes-C_p-DfC4.js → DashboardRoutes-DPYTQsIc.js} +1 -1
  74. package/dist/assets/{DashboardSidebarBackgroundAnimation-CBg2tWHO-Bg6ARoU-.js → DashboardSidebarBackgroundAnimation-CUZGIAxW-Cr2AFDv0.js} +1 -1
  75. package/dist/assets/{DefaultTenantHome-DFVvpMg0.js → DefaultTenantHome-DShfBjyT.js} +1 -1
  76. package/dist/assets/{DepositAccTransactionItem-DlztlGZL--Y5TyCxK.js → DepositAccTransactionItem-Ci-LxLsk-Ba_0JQSS.js} +5 -5
  77. package/dist/assets/{DepositAccTransactionListPage-BO43c3Uz-B3QFlMvi.js → DepositAccTransactionListPage-RG7P8vQS-DbfwdIAf.js} +3 -3
  78. package/dist/assets/{DomesticWireDetailScreen-BxeuSD7C.js → DomesticWireDetailScreen-DdRhRffk.js} +1 -1
  79. package/dist/assets/{DomesticWireDetailsPage-SEql3I0P-CkHg76UF.js → DomesticWireDetailsPage-DsPFUOcE-CNM83Rj8.js} +4 -4
  80. package/dist/assets/{DownloadOverlay-PhrwF2iZ-BSolbkT5.js → DownloadOverlay-BjTf50Dz-DEzcOvm5.js} +14 -14
  81. package/dist/assets/{DrawerPage-Bf3AP3Lj-CsKBkHKX.js → DrawerPage-0OFinUxM-CdrQ9TzW.js} +1 -1
  82. package/dist/assets/{DrawerScreen-CNYes_B5.js → DrawerScreen-BgWdy-zB.js} +1 -1
  83. package/dist/assets/{EditPeoplePage-B-rBzonN-T5IKpK3c.js → EditPeoplePage-BKcOmYVv-D9y240Gc.js} +5 -5
  84. package/dist/assets/{EditReimbursementDetailPage-CUiIHNgT-CMbJXkGu.js → EditReimbursementDetailPage-BFIHhQbx-CqZ1c7qf.js} +1 -1
  85. package/dist/assets/EntityDetailPage-D8FzsqNk-DxrfKvnb.js +18 -0
  86. package/dist/assets/{EntityDetailRoutes-B_fkkkd0.js → EntityDetailRoutes-jLGbxUaz.js} +1 -1
  87. package/dist/assets/{EntitySummarySection-mXeSjiuZ-DK_sIHqa.js → EntitySummarySection-ORJ2pE_k-BgNQmv_X.js} +1 -1
  88. package/dist/assets/{ExpenseAutomationOverviewPage-DQCoy1O9-DUzEeon7.js → ExpenseAutomationOverviewPage-Dzf7j2zV-gCWUW27x.js} +3 -3
  89. package/dist/assets/{ExpenseAutomationPage-BeAzQ7Qx-CtuC2pA_.js → ExpenseAutomationPage-BRsKGeoM-BXGFdyb-.js} +1 -1
  90. package/dist/assets/{ExpenseAutomationRoutes-Bn_W0EJ4.js → ExpenseAutomationRoutes-D9vGLTe3.js} +1 -1
  91. package/dist/assets/{ExpressPayPage-C-isOU1b-C5JsOuHP.js → ExpressPayPage-DlBFtMaR-C8b9Izur.js} +6 -6
  92. package/dist/assets/{FeaturePreviewPage-Cyre9YzV-Dh66_th1.js → FeaturePreviewPage-C31F3Gmz-DHInFJNz.js} +1 -1
  93. package/dist/assets/{FeaturePreviewScreen-qfP2OUEx.js → FeaturePreviewScreen-BUEayEBU.js} +1 -1
  94. package/dist/assets/{FollowStepsSection-DZNWzSvo-4LVVpbi9.js → FollowStepsSection-BVT2K7mu-DYEgY8Jh.js} +1 -1
  95. package/dist/assets/{GlobalReviewListPage-Dp--ugNc-mV5JyIK2.js → GlobalReviewListPage-0cZe1hh0-BPLQx8Xp.js} +1 -1
  96. package/dist/assets/{InformationCardStack-D7naFDX0-ChrRXFYI.js → InformationCardStack-t8eELRLU-Fl6DqL5O.js} +1 -1
  97. package/dist/assets/{InsightsCardStack-DexUl4h--BoiaSNx7.js → InsightsCardStack-CJBPZbzD-DGmN2b_X.js} +6 -6
  98. package/dist/assets/InsightsSection-tUBzsCix-DIQLSRNu.js +27 -0
  99. package/dist/assets/{IntegrationsSettingsPage-hFTe3wiP-C7P8jA4W.js → IntegrationsSettingsPage-Ce0yKUWI-Dbrmpo2j.js} +3 -3
  100. package/dist/assets/{InternationalWireSwiftDetailsPage-DLkE5bXp-BLrA_sVU.js → InternationalWireSwiftDetailsPage-BzR-rKaL-DTkvcjTH.js} +9 -9
  101. package/dist/assets/{InternationalWireVerificationPage-DYGjEqNz-j-LqM69O.js → InternationalWireVerificationPage-7tCXdJ3Y-BOpLh7TD.js} +10 -10
  102. package/dist/assets/{InviteFormPage-CGAsWQn7-DTRQdcWE.js → InviteFormPage-DePVC0CH-TfpQcbbS.js} +1 -1
  103. package/dist/assets/{InvitePageListView-BSPE9f03-tf28z0Pj.js → InvitePageListView-ChbvDKgQ-CxYzSS3J.js} +20 -20
  104. package/dist/assets/{InvitePeoplePage-ANvLB-mB-WhL9WNb0.js → InvitePeoplePage-DJiEzIeY-YtuIrr11.js} +2 -2
  105. package/dist/assets/{InvoiceUploadSection-OGMswY7c-NI5q_7OK.js → InvoiceUploadSection-BjNMjhQR-B0WmHo8s.js} +12 -12
  106. package/dist/assets/{IssueChargeCardPage-sLInqAsW-B4KlGbEM.js → IssueChargeCardPage-4xbGf5Ut-CG64H4WO.js} +11 -11
  107. package/dist/assets/{LabeledAddressValue-DBJ236tZ-BerYTYe0.js → LabeledAddressValue-Czt7QvSJ-ezeCCYD9.js} +1 -1
  108. package/dist/assets/{LabeledAddressValueField-CAr-IiTa-DIler834.js → LabeledAddressValueField-Dl3atH92-CBuLNDhF.js} +1 -1
  109. package/dist/assets/{LabeledControlledCheckBoxField-BdWZgcQc-BRawuCYy.js → LabeledControlledCheckBoxField-DT_nxhPN-DrCJem7I.js} +1 -1
  110. package/dist/assets/{LabeledCountryMultiSelectField-C6z1v9S1-DYoPmUzY.js → LabeledCountryMultiSelectField-BnljZpX0-CrALbnep.js} +1 -1
  111. package/dist/assets/{LabeledCreatableSingleSelectField-Dhi0n2ky-B7iwCfH_.js → LabeledCreatableSingleSelectField-CiInq9yD-B0A_NESz.js} +1 -1
  112. package/dist/assets/{LabeledDocumentField-B3QSq1eM-Dn-2GIt3.js → LabeledDocumentField-Ceb8vgVH-BzsX4WXj.js} +1 -1
  113. package/dist/assets/{LabeledDropDownFormattedTextField-B39DlufR-BPjCYmio.js → LabeledDropDownFormattedTextField-B98gNWTE-rwd9doXk.js} +1 -1
  114. package/dist/assets/{LabeledEmailInputField-CY2mGhJG-B5JFU4wM.js → LabeledEmailInputField-C53P9fJl-BS-n0yyf.js} +1 -1
  115. package/dist/assets/{LabeledNameField-CYN5kdQi-CHfes9Ox.js → LabeledNameField-BdVztq_8-Cc3_vzCa.js} +1 -1
  116. package/dist/assets/{LabeledSingleSelectField-CBXzDXMd-CCFQll02.js → LabeledSingleSelectField-sjDjhxfQ-DngJSR1z.js} +1 -1
  117. package/dist/assets/{LabeledText-GEbY3-bB-D0ysNeoF.js → LabeledText-CFJSoGtK-hLpZiX2C.js} +1 -1
  118. package/dist/assets/{LabeledUserSingleSelectWithSubtitlesField-Do8fziYM-CvY4pk5I.js → LabeledUserSingleSelectWithSubtitlesField-CDiG37rQ-CajsyJVF.js} +1 -1
  119. package/dist/assets/{LabeledZeniRolesDropDownField-DJfE1qQb-CarCFyTQ.js → LabeledZeniRolesDropDownField-CQiP2rEh-DpkAVgvo.js} +1 -1
  120. package/dist/assets/{LinkJETransactionPage-B2ROo3VS-DJ6xwUid.js → LinkJETransactionPage-ANY7Ns42-CApOUFWk.js} +12 -12
  121. package/dist/assets/{LockCardPage-D2dUPnNL-Eafl9wy6.js → LockCardPage-0piclOz3-FnbsGUI5.js} +1 -1
  122. package/dist/assets/{LowBalancePopup-DTtl3SIc-CeYZtxfy.js → LowBalancePopup-CplxkRHP-B1Znghgy.js} +1 -1
  123. package/dist/assets/MagicLinkACHDetailsPage-BKh8WrCR-Ee7s37LW.js +1 -0
  124. package/dist/assets/MagicLinkDomesticWireDetailsPage-Cv19HbKi-ByrEtbtY.js +1 -0
  125. package/dist/assets/MagicLinkInternationalWireDetailsPage-DbFxpWOg-BpTLsET9.js +1 -0
  126. package/dist/assets/{MagicLinkRoutes-CakulreU.js → MagicLinkRoutes-B8zheK-B.js} +1 -1
  127. package/dist/assets/{MagicLinkSignInScreen-DmbM-s2i.js → MagicLinkSignInScreen-qtJuxxon.js} +1 -1
  128. package/dist/assets/{MagicLinkSuccessPage-Ctt1pLiv-Baz0qr0W.js → MagicLinkSuccessPage-BA1LfhVb-By8HxESz.js} +1 -1
  129. package/dist/assets/{MagicLinkTitleSection-CtsQ_c44-h10gi8NN.js → MagicLinkTitleSection-DLdaV8WG-BuvestSo.js} +1 -1
  130. package/dist/assets/MailingDetailsSection-BNVPaGFt-De-HK05Q.js +21 -0
  131. package/dist/assets/{MobileAppDrawer-2LbkYhdu.js → MobileAppDrawer-CKcdPSDd.js} +1 -1
  132. package/dist/assets/{MoreMenuButton--MxUyTqX-1RkUcWJr.js → MoreMenuButton-DrAQ635T-BL2i_PBG.js} +1 -1
  133. package/dist/assets/{MyBankConnectionsSettingsPage-6ltpx62E-By1YLu0H.js → MyBankConnectionsSettingsPage-BiDvyO_G-BqsVQnsn.js} +1 -1
  134. package/dist/assets/{MyPendingActivationChargeCardListPage-CwDedcXl-CBi6XHSM.js → MyPendingActivationChargeCardListPage-Bb4_b9o6-DszbbtUq.js} +1 -1
  135. package/dist/assets/{MyProfileSettingsPage-Bmhu2lrK-BOMukk0k.js → MyProfileSettingsPage-nY_eDqfm-aRf1sJOL.js} +1 -1
  136. package/dist/assets/{NavBarWithPicker-jqJCHGvR-JHYu4cvw.js → NavBarWithPicker-Dr5XHgP5-CjhNLCso.js} +1 -1
  137. package/dist/assets/{NavigationArrow-DY_BhITD-Bl_-33Bd.js → NavigationArrow-DT82hMh--BnPRXoeX.js} +1 -1
  138. package/dist/assets/{NavigationDots-Kh5ODrCQ-DFRkvytB.js → NavigationDots-CwCZ9EAa-ovWuwmnJ.js} +1 -1
  139. package/dist/assets/{NewGlobalMerchantPage-BYTROFvX-0fcN1-JD.js → NewGlobalMerchantPage-D1lxnByE-D4tZVWQn.js} +1 -1
  140. package/dist/assets/{NoDataChart-CuiKDcAB-CJ1icN_z.js → NoDataChart-DCTRXLc7-C1K6noeS.js} +1 -1
  141. package/dist/assets/{NoDataTable-BpH8puX--DfcxqWrJ.js → NoDataTable-D8Xw5pAY-C0LyDZgH.js} +1 -1
  142. package/dist/assets/{NotFoundPage-BKvCYyvc-BE5hfWJC.js → NotFoundPage-B_zPUigU-CFd5sZ-j.js} +8 -8
  143. package/dist/assets/{NotFoundScreen-Bbv8H3nZ.js → NotFoundScreen-CJqSMVfb.js} +1 -1
  144. package/dist/assets/{NotificationRoutes-Bw6HdP3t.js → NotificationRoutes-j0M-AVSa.js} +1 -1
  145. package/dist/assets/{NotificationSettingsPage-F2xXUCSE-B-O9mrhC.js → NotificationSettingsPage-aKLRiMp--Vy4Thl7S.js} +4 -4
  146. package/dist/assets/{NotificationsListConfig-C9r-O2kH-DMi-LyFP.js → NotificationsListConfig-CVEetkBc-BGp3geYy.js} +1 -1
  147. package/dist/assets/{NotificationsPage-CZZ9GTVy-BLrKuEst.js → NotificationsPage-DEw6V83J-SkJPHzO4.js} +14 -14
  148. package/dist/assets/{OpExByVendorPage-Crvcsx0U-D3aW4Up2.js → OpExByVendorPage-DJMov6Ux-CzqjhunS.js} +5 -5
  149. package/dist/assets/{OverlayContainerPage-BG9y5C0t-cN3F11As.js → OverlayContainerPage-BG9y5C0t-CuyJ8LZt.js} +1 -1
  150. package/dist/assets/{PandLWithForecastPage-CkDCt5NK-C1wItahw.js → PandLWithForecastPage-RBTh1bFk-BwnpORkG.js} +7 -7
  151. package/dist/assets/{PandLWithForecastRoutes-DEpl-kK8.js → PandLWithForecastRoutes-J6LmjJ1B.js} +1 -1
  152. package/dist/assets/{PaymentAccountSetupBillingAddressSection-D1ZDh1GY-BPH3KEPd.js → PaymentAccountSetupBillingAddressSection-D-kQI4nd-BoSQv9rJ.js} +1 -1
  153. package/dist/assets/{PeoplePage-D2CtRlrd-BaBsCmEu.js → PeoplePage-BEc-Oss7-DoZuQeL3.js} +1 -1
  154. package/dist/assets/{PeopleRoutes-BERYSVqt.js → PeopleRoutes-C0vyagIg.js} +1 -1
  155. package/dist/assets/{PerformanceRoutes-BGDjlCKg.js → PerformanceRoutes-zXK3SrhB.js} +1 -1
  156. package/dist/assets/{Preview-Ch-PxJf8.js → Preview-COp40RlO.js} +1 -1
  157. package/dist/assets/{ProductsCarousel-sNagRI0c-Ce6W9juD.js → ProductsCarousel-BRo0P4GW-Bu_QsU8W.js} +1 -1
  158. package/dist/assets/{PromoBaseCards-BUk-u73S-uSCnFLmc.js → PromoBaseCards-BrXJEufN-C4zOhiIC.js} +1 -1
  159. package/dist/assets/{QBOConnectionDialog-C1rEAxUE-Q804Cvr3.js → QBOConnectionDialog-BIg9Iais-CzdJGXEh.js} +1 -1
  160. package/dist/assets/{QBOConnectionScreen-Cg7BmKuP.js → QBOConnectionScreen-DROpihDX.js} +1 -1
  161. package/dist/assets/{QBOSetupSection-iQJCHR-K-BVPCLXHR.js → QBOSetupSection-DDoUJ7L6-qtD1b_uv.js} +1 -1
  162. package/dist/assets/{ReferralListScreen-Do1GpEZb.js → ReferralListScreen-Bkepb1RS.js} +1 -1
  163. package/dist/assets/{ReimbursementApprovalRoutes-DykPBANB.js → ReimbursementApprovalRoutes-B_Qw-_-n.js} +1 -1
  164. package/dist/assets/{ReimbursementApprovalRuleDetailPage-BPIKZ9v1-BNELgYj0.js → ReimbursementApprovalRuleDetailPage-CP0muUGK-B40CL0Ys.js} +3 -3
  165. package/dist/assets/{ReimbursementApprovalRuleDetailScreen-Bmntxu5O.js → ReimbursementApprovalRuleDetailScreen-Ud4xo4RE.js} +1 -1
  166. package/dist/assets/{ReimbursementApprovalRulesPage-AE810nQZ-Cw7UlK2v.js → ReimbursementApprovalRulesPage-BpVWq3rk-pDKAG_dA.js} +1 -1
  167. package/dist/assets/{ReimbursementDetailPage-CYuZJL_J-dtJvpaUZ.js → ReimbursementDetailPage-pCg86_Ty-BwD3VA7C.js} +5 -5
  168. package/dist/assets/{ReimbursementPromoPage-CaxjSwrz-CrUxmQbQ.js → ReimbursementPromoPage-BW6icjG5-CwTaRQC0.js} +6 -6
  169. package/dist/assets/{ReimbursementRoutes-DIhapEaG.js → ReimbursementRoutes-kGf8y_Pc.js} +1 -1
  170. package/dist/assets/{ReimbursementSetUpPage-Bw77MBHF-DY7UAbXu.js → ReimbursementSetUpPage-B6OhWEWH-CGJsBL7Z.js} +1 -1
  171. package/dist/assets/{ReimbursementsBulkReviewDrawerPage-B-svIloS-aC2GWjh5.js → ReimbursementsBulkReviewDrawerPage-DmDoqEZh-DV9AjOeD.js} +1 -1
  172. package/dist/assets/{ReloadCard-D5kxTfzJ-DZ7WcKTp.js → ReloadCard-DIFXZM9U-DuI83eQl.js} +1 -1
  173. package/dist/assets/{ReportTableViewSelector-BZU8yltx-BgPE2K8D.js → ReportTableViewSelector-BsIDwouQ-DLCe8EfR.js} +1 -1
  174. package/dist/assets/{ReportsPage-CdN9MEVy-D9B82vbB.js → ReportsPage-BFTuYQt2-BHmgPSl5.js} +5 -5
  175. package/dist/assets/{ReportsRoutes-D0tPBhGa.js → ReportsRoutes-DaW9sMcm.js} +1 -1
  176. package/dist/assets/{RevenueChart-B_RMeweH-7bv4bhdH.js → RevenueChart-BoFq3ebd-B1Jmsn3P.js} +12 -12
  177. package/dist/assets/{ReviewDetailsPage-a73YIZSO-BjlIl2Hn.js → ReviewDetailsPage-6kCQzaHm-Cn6HDwAl.js} +1 -1
  178. package/dist/assets/{ReviewOverlay-Ubmz06uP-BujvaBnu.js → ReviewOverlay-Dhb-kL6G-BfSpCmKQ.js} +1 -1
  179. package/dist/assets/{RewardsRoutes-BRbYkU2f.js → RewardsRoutes-ZPHX_bEI.js} +1 -1
  180. package/dist/assets/{RoleWithToolTip-BYO1YG6N-CTVk-E46.js → RoleWithToolTip-BfM8Ltz4-DGj9-oQ7.js} +1 -1
  181. package/dist/assets/{ScheduleDetailsFixedAssetsPage-vgqilDC8-D8WWU11u.js → ScheduleDetailsFixedAssetsPage-Ccewwmwc-BRbRv99B.js} +1 -1
  182. package/dist/assets/{ScheduleDetailsPage-DdEeFryA-Dk2G_kUJ.js → ScheduleDetailsPage-D4LK83qQ-C27rzfV2.js} +1 -1
  183. package/dist/assets/{ScheduleSequenceTable-poNEzbqS-D1_O58Op.js → ScheduleSequenceTable-BZR2cL6z-BUCxLw4U.js} +1 -1
  184. package/dist/assets/{ScreenRoutes-l7j_PAHw.js → ScreenRoutes-DUg5kVGG.js} +2 -2
  185. package/dist/assets/{SetUpAccountSection-BSOGwHCj-DRnE7z5J.js → SetUpAccountSection-CxjYbrXu-D_xZkN4u.js} +1 -1
  186. package/dist/assets/{SettingsRoutes-BOYsRkcJ.js → SettingsRoutes-BrYKFKqU.js} +1 -1
  187. package/dist/assets/{SetupPagesScreen-BW5sbmcH.js → SetupPagesScreen-BDAmd8Nv.js} +1 -1
  188. package/dist/assets/{SignIn-q4J9wRx8-DePqNMHn.js → SignIn-CVmtPGKL-BjZd_WFj.js} +6 -6
  189. package/dist/assets/{SignInScreen-DslARcQJ.js → SignInScreen-BwyzU0FU.js} +1 -1
  190. package/dist/assets/{SignOutScreen-C_H6M-mZ.js → SignOutScreen-DIMehMGL.js} +1 -1
  191. package/dist/assets/{SpendManagementListViewPage-DKRkSADM-CSd5tSEZ.js → SpendManagementListViewPage-BLjP9T8h-zDO_JYhV.js} +4 -4
  192. package/dist/assets/{SpendManagementPerTabPage-Cd30NnXU-CS3ilKe0.js → SpendManagementPerTabPage-Ck4brjun-DcKQnpZe.js} +21 -21
  193. package/dist/assets/{SpendManagementSection-CPBOh_J5-DENgRE8u.js → SpendManagementSection-DAqR2c98-Cn1QTtEj.js} +1 -1
  194. package/dist/assets/{StatementItem-NyOORj5f-fjAqSj3Z.js → StatementItem-B_iG99XI-BTCPeQVA.js} +2 -2
  195. package/dist/assets/{StatementsPage-Cp77wyFS-C7ISvjR1.js → StatementsPage-DcKziEfZ-Ckb4n5eQ.js} +2 -2
  196. package/dist/assets/{StatusSwitcher-DN-yYdli-Car4Wffo.js → StatusSwitcher-BI-dgnrK-D9HsJYc3.js} +1 -1
  197. package/dist/assets/{SubTabSwitcher-D1LNrhUn-BAGv3SSP.js → SubTabSwitcher-BpNI5Wke-J6S5GWya.js} +1 -1
  198. package/dist/assets/{SuccessAnimation-DdyAYe1e-CZsu9OVO.js → SuccessAnimation-AojDorqX-DelQrrOf.js} +1 -1
  199. package/dist/assets/SummaryCard-HW-1WXN9-DmGROxw-.js +1 -0
  200. package/dist/assets/{TaskDetailPage-DXTLNhtf-CRzBilad.js → TaskDetailPage-Cwe193JO-B3mrz9Ub.js} +1 -1
  201. package/dist/assets/{TaskListScreen-CKaTUfjj.js → TaskListScreen-BkKSoC_l.js} +1 -1
  202. package/dist/assets/{TaskManagementPage-BaLJR4-7-BfMuUNcv.js → TaskManagementPage-Bz1uP5hK-CqiPZXfA.js} +28 -28
  203. package/dist/assets/{TaskRoutes-GbR1OR35.js → TaskRoutes-BGbHdjST.js} +1 -1
  204. package/dist/assets/{TimeRangeSwitcher-CkgGEwEw-zKlJ5DzO.js → TimeRangeSwitcher-oORYeFzN-Bcz5e_ib.js} +1 -1
  205. package/dist/assets/{TimeframeSwitcher-B8fpnYS8-DQR_BxSV.js → TimeframeSwitcher-JcJSbn0--fOirrXtT.js} +1 -1
  206. package/dist/assets/{TimeframeSwitcherWithToggle-DwFo6jY4-FfcB1NLf.js → TimeframeSwitcherWithToggle-BEZU-KDj-P0Jp8ujn.js} +2 -2
  207. package/dist/assets/{TopExCard-PayAZZY--iaLxXoM4.js → TopExCard-CF6z0JWk-aJxcszKV.js} +1 -1
  208. package/dist/assets/{TopExDetailPage-Mp2KcYf6-oLp7-3Ip.js → TopExDetailPage-DrcKlFuy-oABFUcUd.js} +3 -3
  209. package/dist/assets/{TransactionActivityLogPage-CnmL_hUz-CXp6QGqE.js → TransactionActivityLogPage-BB4q0jan-DmLyvTEw.js} +1 -1
  210. package/dist/assets/{TransactionDetailPage-Bqlnmn8Y-BTMQkCwv.js → TransactionDetailPage-DRG_qosz-BtS_tJXW.js} +22 -22
  211. package/dist/assets/{TransactionDetailRoutes-CvNXB6If.js → TransactionDetailRoutes-BqT5fc1q.js} +1 -1
  212. package/dist/assets/{TransactionDetailScreen-BV_pNfyg.js → TransactionDetailScreen-CAd4Ee0D.js} +1 -1
  213. package/dist/assets/{TransactionList-BOmlsfpv-BUFZXOSq.js → TransactionList-iw4pyMYF-DcV99PuO.js} +9 -9
  214. package/dist/assets/{TransactionListBig-CaMT-rq_-DBRBONTs.js → TransactionListBig-BljAUwAB-CgBr6OF2.js} +6 -6
  215. package/dist/assets/TransactionListPage-ReGTmF43-DlTPQjmK.js +35 -0
  216. package/dist/assets/{TransactionListRoutes-C7_wmcOK.js → TransactionListRoutes-BhvTNW6M.js} +1 -1
  217. package/dist/assets/{TransactionVendorDetailPage-DlXuiPC5-DH3LeouE.js → TransactionVendorDetailPage-DXuYIj-p-BYLZbSnP.js} +1 -1
  218. package/dist/assets/{TransferDrawerPage-C2VcssbM-Ds3Buuei.js → TransferDrawerPage-C3q8h8Zy-C9Bu2kIu.js} +10 -10
  219. package/dist/assets/{TreasuryOverviewPage-DyyoGY23-B3lkP75d.js → TreasuryOverviewPage-DqjFEV9B-CYFYYxZY.js} +1 -1
  220. package/dist/assets/{TreasuryPromoPage-B9Hf7oxZ-57H2ubx5.js → TreasuryPromoPage-ByeK0W_5-CfOqREZ0.js} +14 -14
  221. package/dist/assets/{TreasuryRoutes-R2IJOmnc.js → TreasuryRoutes-CP_kclcP.js} +1 -1
  222. package/dist/assets/TreasuryStatementsPage-BjGwvMFL-CyFCCkuV.js +58 -0
  223. package/dist/assets/{TreasuryTaxLetterPage-BcTBr9x9-BeDKnsuI.js → TreasuryTaxLetterPage-DwLyqS86-DUS4dLDe.js} +4 -4
  224. package/dist/assets/{TrendChart-BvXDrgUJ-BpZSEXhR.js → TrendChart-Dgh_21FN-DldNMNLW.js} +2 -2
  225. package/dist/assets/{TrendWithTransactions-RCpzdPf3-bpOEgU86.js → TrendWithTransactions-BgIPapHk-yF3cpnF6.js} +6 -6
  226. package/dist/assets/{UncategorizedAccountsMappingPage-B1m3iXh5-BI9FK75f.js → UncategorizedAccountsMappingPage-DIIJcGrj-DpxmnOrf.js} +1 -1
  227. package/dist/assets/{UnitIntegrationPage-lVg_8mQ4-Ddm0HOtK.js → UnitIntegrationPage-DIOZhQOZ-D5vOldwB.js} +1 -1
  228. package/dist/assets/{UploadAdditionalDocumentOverlay-DrAWxBXn-GduEZkMl.js → UploadAdditionalDocumentOverlay-qrcEQmkz-DEAH1rR2.js} +1 -1
  229. package/dist/assets/{Vendor2FAPopup-C8m_OJEH-CRzhgn8L.js → Vendor2FAPopup-C58w6vC7-B6Whv7tb.js} +1 -1
  230. package/dist/assets/VendorACHDetailsPage-BbxRwrEv-BMYPvmSB.js +1 -0
  231. package/dist/assets/{VendorDetailPage-Y9_hsgjs-DnYGOrtp.js → VendorDetailPage-CEQFcNHr-CX9v8TJZ.js} +11 -11
  232. package/dist/assets/VendorDomesticWireDetailsPage-C02ZhGg3-CcLCcIv4.js +1 -0
  233. package/dist/assets/{VendorFiling1099EditablePage-CPevpiim-CXHipFEF.js → VendorFiling1099EditablePage-Dl7jZYBV-DZmwa4DL.js} +6 -6
  234. package/dist/assets/{VendorFirstReviewPage-CXftFNl_-EYzoSqiC.js → VendorFirstReviewPage-yVbtg_tG-vnisIb8R.js} +1 -1
  235. package/dist/assets/{VendorInternationalWireDetailsPage-88NtGE3e-D2HrMQxV.js → VendorInternationalWireDetailsPage-DNDv_s8G-f9eGCIqU.js} +6 -6
  236. package/dist/assets/VendorInternationalWireSwiftDetailsPage-Bdt0UR_b-CeTlsL7U.js +1 -0
  237. package/dist/assets/{VendorsAccountsSection-DorsKXyL-DWmz9oym.js → VendorsAccountsSection-Cscbgqrx-Zty_2Das.js} +1 -1
  238. package/dist/assets/{VendorsRoutes-CutfvXg5.js → VendorsRoutes-0dl7Omuv.js} +1 -1
  239. package/dist/assets/{VerifyDevice-DAym8rUN-FPY3GtJ6.js → VerifyDevice-D1vsUSdJ-hlyDWjEh.js} +5 -5
  240. package/dist/assets/{VideoPlayer-53OvOC7l-B8n3tQt2.js → VideoPlayer-TlEy-oD0-DnsdEgv4.js} +1 -1
  241. package/dist/assets/{VideoPopup-v9quqdro-DZjd9t4t.js → VideoPopup-3DD646kG-BEeSChGm.js} +4 -4
  242. package/dist/assets/{WiseConfirmationScreen-BrKM2fxE.js → WiseConfirmationScreen-BW6hT1Lt.js} +1 -1
  243. package/dist/assets/{ZeniAccountDetailPage-CFEGqW5l-DgQWWE4Z.js → ZeniAccountDetailPage-BbsXzuHD-DIIfMLh3.js} +14 -14
  244. package/dist/assets/{ZeniAccountListViewPage-j85TO5tM-vuCxLVfZ.js → ZeniAccountListViewPage-lmuVUpKS-DSNsPUPM.js} +21 -21
  245. package/dist/assets/ZeniAccountNavBarPieces-CQhwBKXD-CSe8C_Ya.js +33 -0
  246. package/dist/assets/{ZeniAccountPromoPage-DeHmh4My-cXlTTduj.js → ZeniAccountPromoPage-CXEb9tRE-DBFLOPLE.js} +1 -1
  247. package/dist/assets/{ZeniAccountRoutes-CVVAUaPO.js → ZeniAccountRoutes-CAjxqnTS.js} +1 -1
  248. package/dist/assets/{ZeniAccountSetupPage-ofkQR72l-BRlOELTo.js → ZeniAccountSetupPage-DPhYQu6u-B9IBOs3Q.js} +1 -1
  249. package/dist/assets/{ZeniAccountStatementScreen-ScoHvAyQ.js → ZeniAccountStatementScreen-I7iDP5eY.js} +1 -1
  250. package/dist/assets/{ZeniAvatar-Ct7MPW2X-MRoTqMzS.js → ZeniAvatar-CCOD249Z-DHdRsr5H.js} +1 -1
  251. package/dist/assets/{ZeniCopyright-CmCqmJmV-BjVfX9jS.js → ZeniCopyright-pvaggW6x-DhIa5hzn.js} +1 -1
  252. package/dist/assets/{ZeniDatePicker-RNJ2ukKC-BS6c2-W_.js → ZeniDatePicker-EhzRlpFY-Bagds5F3.js} +1 -1
  253. package/dist/assets/{ZeniTransferAmountSlider-BpfqM032-4kutNI0C.js → ZeniTransferAmountSlider-Dlyom9dD-CMHS5vTr.js} +1 -1
  254. package/dist/assets/{accountMappingHelper-BsfTzM_T.js → accountMappingHelper-DeA_Vzuk.js} +1 -1
  255. package/dist/assets/{add-to-wallet-DgdBD8_G-Dy45DaiH.js → add-to-wallet-DgdBD8_G-DSVHJQZ8.js} +1 -1
  256. package/dist/assets/{analytics-BX2zKevq.js → analytics-hnA26KoH.js} +1 -1
  257. package/dist/assets/{analyticsHelper-qtejXlXH-BejVWTJz.js → analyticsHelper-AeOsAjMK-B2elKvEV.js} +1 -1
  258. package/dist/assets/{analyticsHelper-8YQEEKMi.js → analyticsHelper-C6d1RQIz.js} +1 -1
  259. package/dist/assets/{arrow-south-east-round-PEovUgvH-XZ3zlctQ.js → arrow-south-east-round-PEovUgvH-C7VEDzJz.js} +1 -1
  260. package/dist/assets/{auto-transfer-rule-mbafm5D3-DR96fUbR.js → auto-transfer-rule-mbafm5D3-CvacsS1B.js} +1 -1
  261. package/dist/assets/{avatar-Dz7aEm3d-DRSZhV3E.js → avatar-Dz7aEm3d-BBjMxgr_.js} +1 -1
  262. package/dist/assets/{bank-letter-BOcVjN6J-rbOCdeK7.js → bank-letter-BOcVjN6J-BDC6rOv1.js} +1 -1
  263. package/dist/assets/{calculateSize-CzpGCfNE-Cy_LgZ5r.js → calculateSize-D-LzlJzs-DNCT8MgL.js} +1 -1
  264. package/dist/assets/{chartTypes-BqRsL6eJ-BHjz48UJ.js → chartTypes-BLsP7rGF-Cjsgj_un.js} +1 -1
  265. package/dist/assets/{clock-CJkylEKt-DZUKQUzx.js → clock-CJkylEKt-CTyWvBpx.js} +1 -1
  266. package/dist/assets/common-CAmBErdt-BVIeK7KA.js +1 -0
  267. package/dist/assets/{commonDimensions-CzWWgDTA-Dv5cpYCb.js → commonDimensions-DIm7kTtR-DqNzhcTL.js} +1 -1
  268. package/dist/assets/{commonTypes-CF6UyWSv-0hjd__4v.js → commonTypes-B3mnx2x_-C4g4js89.js} +1 -1
  269. package/dist/assets/{core-CRK-q5k6.js → core-DuCBl3U1.js} +1 -1
  270. package/dist/assets/{dash.all.min-DkWnBsIH.js → dash.all.min-DJBtyB-p.js} +1 -1
  271. package/dist/assets/{decodeURIComponentSafe-Br2RkwXR.js → decodeURIComponentSafe-B5ZlGWkv.js} +1 -1
  272. package/dist/assets/{dnd-CgFlpM7S.js → dnd-BPJHdlPA.js} +1 -1
  273. package/dist/assets/{dollar-round-D18u7nlm-CdMT-oeR.js → dollar-round-D18u7nlm-C91Luiym.js} +1 -1
  274. package/dist/assets/{downloadPdf-BFFM3Hea-C4uN458-.js → downloadPdf-B5WrL0K1-C6-xl2en.js} +1 -1
  275. package/dist/assets/{empty-DI8oDJKz.js → empty-BcYVHaFA.js} +1 -1
  276. package/dist/assets/{empty-Qlk-PeUi.js → empty-UwS7bCyx.js} +1 -1
  277. package/dist/assets/{epic-B1grlEUb.js → epic-DAzl9zmQ.js} +1 -1
  278. package/dist/assets/{filter-cZIFUNvj-Dx-p_nKS.js → filter-cZIFUNvj-CU1t2o_9.js} +1 -1
  279. package/dist/assets/{getLocaleForTenant-CYoIDNTT.js → getLocaleForTenant-B4PeqeqG.js} +1 -1
  280. package/dist/assets/{gift-box-Cmt9OgIZ-6lCOhzA2.js → gift-box-Cmt9OgIZ-CTJlvd1T.js} +1 -1
  281. package/dist/assets/{graphic-no-data-l-DU4J8fDt-B1HqTfGk.js → graphic-no-data-l-DU4J8fDt-Gma2xMWq.js} +1 -1
  282. package/dist/assets/{graphic-no-data-net-burn-l-CzmycA0m-XwIBzG5l.js → graphic-no-data-net-burn-l-CzmycA0m-D0m0NfVz.js} +1 -1
  283. package/dist/assets/{handshake-BPg58FML-DimJJW29.js → handshake-BPg58FML-DVgbSASX.js} +1 -1
  284. package/dist/assets/{helper-COxPEvgL-B_cdFqPQ.js → helper-BVESv00--BfyFxQUD.js} +1 -1
  285. package/dist/assets/{hyperlink-DQyCeXx2-CACRdS-l.js → hyperlink-DQyCeXx2-i9FNT3rr.js} +1 -1
  286. package/dist/assets/{index-Dc6LyeRJ.js → index-5deWfiyy.js} +1 -1
  287. package/dist/assets/{index-Dz5LYLj6.js → index-BO-jmwXl.js} +1 -1
  288. package/dist/assets/{index-C3bEDUWe.js → index-C0E4etuS.js} +1 -1
  289. package/dist/assets/{index-Cghn_Im8.js → index-CqCwZ9Bo.js} +1 -1
  290. package/dist/assets/{index-D8yPC9GA.js → index-TFe4MZqS.js} +1 -1
  291. package/dist/assets/{index-D57b0ZIG.js → index-bPu7mlA1.js} +458 -458
  292. package/dist/assets/{lexical-BMu8Xd93.js → lexical-Ct26b5l4.js} +1 -1
  293. package/dist/assets/{liveblocks-L3GY4hN_.js → liveblocks-UDiQs1XL.js} +1 -1
  294. package/dist/assets/{lottie-NpRVnd_t.js → lottie-DyJgmWhI.js} +1 -1
  295. package/dist/assets/mapLoadingInProgressToTreeNode-DJxRl0X1-CvJBQQvj.js +1 -0
  296. package/dist/assets/{mapSectionWithAcOnlyToTreeNode-CcuLqf_I-BrmfiJTm.js → mapSectionWithAcOnlyToTreeNode-BIiMj0sc-ByugsxAl.js} +1 -1
  297. package/dist/assets/mapSpacerToTreeNode-Bj3f2irs-Ngbliu4M.js +1 -0
  298. package/dist/assets/mapTimeframeBalancesToTreeNode-AI17uMHa-DAlg0uz7.js +1 -0
  299. package/dist/assets/{mapTimeframeBalancesToTreeNode-Cql9mEn3-DlGJLONZ.js → mapTimeframeBalancesToTreeNode-CyO5pm8k-BJN9BucH.js} +1 -1
  300. package/dist/assets/{mapTimeframeHeaderLoadingInProgressToTreeNode-CIXgJHQz-B31h2g5c.js → mapTimeframeHeaderLoadingInProgressToTreeNode-NKafOEXu-CbmdzU04.js} +1 -1
  301. package/dist/assets/{media-player-DIQJ-Dun.js → media-player-Bc2nje5G.js} +2 -2
  302. package/dist/assets/{money-2cg1MuG4-DLoKZhIi.js → money-2cg1MuG4-BqWS5D8h.js} +1 -1
  303. package/dist/assets/{mui-CQrPxNXb.js → mui-CvPZa6D0.js} +1 -1
  304. package/dist/assets/{page-detail-CWX5S47F-BXmqV-8q.js → page-detail-CWX5S47F-OEFqGWSt.js} +1 -1
  305. package/dist/assets/{page-summary-D7_VQHwN-yb1lXduc.js → page-summary-D7_VQHwN-CzEvyMZF.js} +1 -1
  306. package/dist/assets/{panelSelectedMixin-Cddsb26L-gMIlsmGi.js → panelSelectedMixin-Cddsb26L-CcaPMjiP.js} +1 -1
  307. package/dist/assets/{pathToGoBack-qafDCrK2.js → pathToGoBack-BdyVSZWc.js} +1 -1
  308. package/dist/assets/{pdf-CPt_J5sA.js → pdf-LR9rRMEe.js} +3 -3
  309. package/dist/assets/{pdf-lib-QnEuDtVn.js → pdf-lib-B2ywHAlU.js} +1 -1
  310. package/dist/assets/{plaid-Dz-bwqi6.js → plaid-C4PyP873.js} +1 -1
  311. package/dist/assets/{pusher-GX3zigf-.js → pusher-Cr29ksza.js} +1 -1
  312. package/dist/assets/{radio-default-CiSgisfh-BdmcXfaL.js → radio-default-CiSgisfh-CvJrfQYK.js} +1 -1
  313. package/dist/assets/{react-C66SfqMw.js → react-B7DTlDjT.js} +1 -1
  314. package/dist/assets/{react-BMEXzrEi.js → react-BKUY-Nle.js} +1 -1
  315. package/dist/assets/{react-J_JRr1Ub.js → react-BpPHxptQ.js} +1 -1
  316. package/dist/assets/{react-7IgUsF0e.js → react-CC2kbVB0.js} +1 -1
  317. package/dist/assets/{react-BkCQv5vP.js → react-D8ws7sMn.js} +1 -1
  318. package/dist/assets/{react-DrHnHV0M.js → react-DgBIg1r8.js} +1 -1
  319. package/dist/assets/{react-CNiez0tx.js → react-S5J_OrT1.js} +3 -3
  320. package/dist/assets/{react-D9THCnPV.js → react-p9LV8Gbe.js} +1 -1
  321. package/dist/assets/{recharts-CuxDYXli.js → recharts-7AyWv7E-.js} +1 -1
  322. package/dist/assets/{routePaths-BPx5L1hv.js → routePaths-rBllTjJq.js} +1 -1
  323. package/dist/assets/{sentry-D8J10Xru.js → sentry-uXR4_KRo.js} +1 -1
  324. package/dist/assets/{shield-DOlUxcFf-DWYvIa1C.js → shield-DOlUxcFf-Bahpx3SF.js} +1 -1
  325. package/dist/assets/{spend-limit-D6SyboD4-Due4I925.js → spend-limit-D6SyboD4-lpJ_hpRn.js} +1 -1
  326. package/dist/assets/toCOABalancesWithID-BWMF0py6-CojDIytn.js +1 -0
  327. package/dist/assets/{toChartData-CWgd8E5c-DmnOTU-I.js → toChartData-BkubFDq8-CyY5jx0a.js} +1 -1
  328. package/dist/assets/{transaction-placeholder-CpOwZAMG-D-Bv3g86.js → transaction-placeholder-CpOwZAMG-Bn-8TRqx.js} +1 -1
  329. package/dist/assets/{undo-b_3XZ5CX-Bnj6vWIW.js → undo-b_3XZ5CX-Bwi1P-k2.js} +1 -1
  330. package/dist/assets/{unlock-BPWn2I5L-u0K-tQmu.js → unlock-BPWn2I5L-BihjIVk1.js} +1 -1
  331. package/dist/assets/{upload-reimbursement-receipt-O2N8vcO7-BRrYSmi8.js → upload-reimbursement-receipt-O2N8vcO7-BrS_KRA7.js} +1 -1
  332. package/dist/assets/{uploadAttachment-D1ybl0Fy-lQriSWqX.js → uploadAttachment-CzgakLtr-D9IiqYxz.js} +1 -1
  333. package/dist/assets/{uploadReceipts-CIgkuVpu-CvjBscau.js → uploadReceipts-CIgkuVpu-7sbogiaq.js} +1 -1
  334. package/dist/assets/{url-BBCYKnGe.js → url-DK_QsAj3.js} +1 -1
  335. package/dist/assets/{url-vH8VntTf.js → url-DnJ-MRbo.js} +1 -1
  336. package/dist/assets/{useDeviceId-CiSBUfG_.js → useDeviceId-D6CPIX5r.js} +1 -1
  337. package/dist/assets/{useInitialThreadRequest-DM-agcRr.js → useInitialThreadRequest-D7H0jhrF.js} +1 -1
  338. package/dist/assets/{useLongPress-GCK2COYQ-BIGmXHF7.js → useLongPress-GCK2COYQ-BV6rxzXX.js} +1 -1
  339. package/dist/assets/{usp-line-BBd1wKwW-D7I-fmMU.js → usp-line-BBd1wKwW-DYAH7Au1.js} +1 -1
  340. package/dist/assets/{utils-GhRHHdOC.js → utils-DXqO5lkM.js} +1 -1
  341. package/dist/assets/{withTransactionSidePanel-BY7As9fq.js → withTransactionSidePanel-BzT1kjjx.js} +1 -1
  342. package/dist/assets/{zeni-epic-state-BpS-Wh5Q.js → zeni-epic-state-BDdTNPzg.js} +3 -3
  343. package/dist/assets/{zeni-icon-only-Ae5IXOu0.js → zeni-icon-only-Cldmtd10.js} +1 -1
  344. package/dist/index.html +1 -1
  345. package/package.json +2 -2
  346. package/dist/assets/AccountInfoPage-CrEEthms-yN3GwJSx.js +0 -18
  347. package/dist/assets/BillPayApprovalRuleDetailPage-CJtb4oOG-Cg9PD1au.js +0 -27
  348. package/dist/assets/ChargeCardPromoPage-6JwKgWli-Bq9Woc_8.js +0 -222
  349. package/dist/assets/CustomerOnboardingAuthScreen-DtbgUnG6.js +0 -1
  350. package/dist/assets/CustomerOnboardingContainerPage-CGFQ4G4y-Do3oBaOG.js +0 -1
  351. package/dist/assets/EntityDetailPage-CvLzsrUE-CmFRC1Gy.js +0 -18
  352. package/dist/assets/InsightsSection-D9PJ55E6-CiDuAe2j.js +0 -27
  353. package/dist/assets/MagicLinkACHDetailsPage-BC6_cyO0-BTnN4ina.js +0 -1
  354. package/dist/assets/MagicLinkDomesticWireDetailsPage-CdG5oCPl-NiCTPCej.js +0 -1
  355. package/dist/assets/MagicLinkInternationalWireDetailsPage-C046BNUz-CTNIFHe0.js +0 -1
  356. package/dist/assets/MailingDetailsSection-DiZwQ9QV-DZ8ow1Kr.js +0 -21
  357. package/dist/assets/SummaryCard-DgIPSt4y-C1zi99VN.js +0 -1
  358. package/dist/assets/TransactionListPage-D_dgwnFp-BQysIFBi.js +0 -35
  359. package/dist/assets/TreasuryStatementsPage-DOzJzfTG-DtwCwdE7.js +0 -58
  360. package/dist/assets/VendorACHDetailsPage-JhO6KtMC-DvqhzUaK.js +0 -1
  361. package/dist/assets/VendorDomesticWireDetailsPage-D0RsDHxf-BsqcaQeD.js +0 -1
  362. package/dist/assets/VendorInternationalWireSwiftDetailsPage-BTh-VP1b-DSEtroCd.js +0 -1
  363. package/dist/assets/ZeniAccountNavBarPieces-Bv34Vsqj-yElArATR.js +0 -33
  364. package/dist/assets/common-BxjzMhDO-S5r9siR9.js +0 -1
  365. package/dist/assets/mapLoadingInProgressToTreeNode-COOJxneh--mm1uc9R.js +0 -1
  366. package/dist/assets/mapSpacerToTreeNode-Ci5bdH6P-Dg1nMMYC.js +0 -1
  367. package/dist/assets/mapTimeframeBalancesToTreeNode-CCZ9A7A6-BGzm5TyC.js +0 -1
  368. package/dist/assets/toCOABalancesWithID-B70YK7cw-CwZZ7JH8.js +0 -1
@@ -1,4 +1,4 @@
1
- import{V as d}from"./index-D57b0ZIG.js";import{a as i}from"./sentry-D8J10Xru.js";import{n}from"./mui-CQrPxNXb.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},a=new e.Error().stack;a&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[a]="87455e39-86a6-4ca5-9a52-0eaaa23d834c",e._sentryDebugIdIdentifier="sentry-dbid-87455e39-86a6-4ca5-9a52-0eaaa23d834c")}catch{}})();const s=n.div`
1
+ import{V as d}from"./index-bPu7mlA1.js";import{a as i}from"./sentry-uXR4_KRo.js";import{n}from"./mui-CvPZa6D0.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},a=new e.Error().stack;a&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[a]="87455e39-86a6-4ca5-9a52-0eaaa23d834c",e._sentryDebugIdIdentifier="sentry-dbid-87455e39-86a6-4ca5-9a52-0eaaa23d834c")}catch{}})();const s=n.div`
2
2
  width: auto;
3
3
  max-width: var(--side-panel-list-width, 100%);
4
4
  position: relative;
@@ -1,4 +1,4 @@
1
- import{y as We,e as v,S as W,cb as _e,V as t,a_ as He,b as $,L as Ye,bR as re,bS as ne,bT as ae,ct as qe,a9 as Ge,x as _,O as x,bx as Je,o,cu as Ke,bo as S,bH as ie,m as w,ar as se,C as le,l as Y,aR as Qe,cq as de,cv as Xe,f as z,cw as ce,cp as pe}from"./index-D57b0ZIG.js";import{a as g}from"./sentry-D8J10Xru.js";import{n as r}from"./mui-CQrPxNXb.js";import"./pdf-CPt_J5sA.js";import"./zeni-epic-state-BpS-Wh5Q.js";import"./core-CRK-q5k6.js";import"./lottie-NpRVnd_t.js";import"./liveblocks-L3GY4hN_.js";import"./recharts-CuxDYXli.js";import"./dnd-CgFlpM7S.js";import"./analytics-BX2zKevq.js";import"./plaid-Dz-bwqi6.js";import"./utils-GhRHHdOC.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},n=new e.Error().stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="8035d80c-48e4-4903-8eb9-c528bf0a3eaf",e._sentryDebugIdIdentifier="sentry-dbid-8035d80c-48e4-4903-8eb9-c528bf0a3eaf")}catch{}})();const Ze=({bankAccountNumberOrIban:e,accountNumberOrIbanLabel:n,accountTypeLabel:s,accountType:l,bankName:m,routingNumberOrSwiftCode:p,accountName:f,routingNumberOrSwiftCodeLabel:j,onDeleteClick:u})=>{const b=v(),h=x.getLocalizedStrings().spendManagement.billPay.vendorCreation,C=t.jsxs(et,{children:[t.jsxs(I,{children:[t.jsx(N,{children:j}),t.jsx(T,{children:p})]}),t.jsxs(I,{children:[t.jsx(N,{children:h.achDetails.bankName}),t.jsx(T,{children:m})]}),t.jsxs(I,{children:[t.jsx(N,{children:n}),t.jsx(T,{children:e})]}),t.jsxs(I,{children:[t.jsx(N,{children:s}),t.jsx(T,{children:typeof l=="string"&&l!==""?Xe(l.toLowerCase()):l??""})]})]});return t.jsxs(nt,{size:b,children:[t.jsxs(ot,{children:[t.jsxs(Y,{children:[`${m} ${h.paymentAccountDetailConnector} ${e.slice(-4)}`,t.jsx(S,{title:C,placement:"top",children:t.jsx(it,{children:t.jsx(st,{})})})]}),t.jsx(tt,{children:f??h.emptyPlaceholderString})]}),t.jsx(rt,{children:t.jsx(S,{enterDelay:600,display:"flex",title:h.deleteAccountTooltip,placement:"top",children:t.jsx(at,{onClick:k=>{k.stopPropagation(),u()},"data-testid":$("delete-vendor-account-section",f),children:t.jsx(lt,{})})})})]})},et=r.div`
1
+ import{y as We,e as v,S as W,cb as _e,V as t,a_ as He,b as $,L as Ye,bR as re,bS as ne,bT as ae,ct as qe,a9 as Ge,x as _,O as x,bx as Je,o,cu as Ke,bo as S,bH as ie,m as w,ar as se,C as le,l as Y,aR as Qe,cq as de,cv as Xe,f as z,cw as ce,cp as pe}from"./index-bPu7mlA1.js";import{a as g}from"./sentry-uXR4_KRo.js";import{n as r}from"./mui-CvPZa6D0.js";import"./pdf-LR9rRMEe.js";import"./zeni-epic-state-BDdTNPzg.js";import"./core-DuCBl3U1.js";import"./lottie-DyJgmWhI.js";import"./liveblocks-UDiQs1XL.js";import"./recharts-7AyWv7E-.js";import"./dnd-BPJHdlPA.js";import"./analytics-hnA26KoH.js";import"./plaid-C4PyP873.js";import"./utils-DXqO5lkM.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},n=new e.Error().stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="8035d80c-48e4-4903-8eb9-c528bf0a3eaf",e._sentryDebugIdIdentifier="sentry-dbid-8035d80c-48e4-4903-8eb9-c528bf0a3eaf")}catch{}})();const Ze=({bankAccountNumberOrIban:e,accountNumberOrIbanLabel:n,accountTypeLabel:s,accountType:l,bankName:m,routingNumberOrSwiftCode:p,accountName:f,routingNumberOrSwiftCodeLabel:j,onDeleteClick:u})=>{const b=v(),h=x.getLocalizedStrings().spendManagement.billPay.vendorCreation,C=t.jsxs(et,{children:[t.jsxs(I,{children:[t.jsx(N,{children:j}),t.jsx(T,{children:p})]}),t.jsxs(I,{children:[t.jsx(N,{children:h.achDetails.bankName}),t.jsx(T,{children:m})]}),t.jsxs(I,{children:[t.jsx(N,{children:n}),t.jsx(T,{children:e})]}),t.jsxs(I,{children:[t.jsx(N,{children:s}),t.jsx(T,{children:typeof l=="string"&&l!==""?Xe(l.toLowerCase()):l??""})]})]});return t.jsxs(nt,{size:b,children:[t.jsxs(ot,{children:[t.jsxs(Y,{children:[`${m} ${h.paymentAccountDetailConnector} ${e.slice(-4)}`,t.jsx(S,{title:C,placement:"top",children:t.jsx(it,{children:t.jsx(st,{})})})]}),t.jsx(tt,{children:f??h.emptyPlaceholderString})]}),t.jsx(rt,{children:t.jsx(S,{enterDelay:600,display:"flex",title:h.deleteAccountTooltip,placement:"top",children:t.jsx(at,{onClick:k=>{k.stopPropagation(),u()},"data-testid":$("delete-vendor-account-section",f),children:t.jsx(lt,{})})})})]})},et=r.div`
2
2
  display: flex;
3
3
  flex-wrap: wrap;
4
4
  gap: ${o.sp1};
@@ -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 X,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-D57b0ZIG.js";import{n as i}from"./mui-CQrPxNXb.js";import{a as p}from"./sentry-D8J10Xru.js";import{u as Ia}from"./plaid-Dz-bwqi6.js";import{bG as ue,c6 as Ra,bs as $e,cg as Fa,ch as ke,bY as Ta}from"./zeni-epic-state-BpS-Wh5Q.js";import{x as Pa}from"./LabeledControlledCheckBoxField-BdWZgcQc-BRawuCYy.js";import"./pdf-CPt_J5sA.js";import"./core-CRK-q5k6.js";import"./lottie-NpRVnd_t.js";import"./liveblocks-L3GY4hN_.js";import"./recharts-CuxDYXli.js";import"./dnd-CgFlpM7S.js";import"./analytics-BX2zKevq.js";import"./utils-GhRHHdOC.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]="17ceee8c-64a0-4153-8372-57e82d517d43",e._sentryDebugIdIdentifier="sentry-dbid-17ceee8c-64a0-4153-8372-57e82d517d43")}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 X("h6Regular","h5Regular"),integerAmountInput:new X("h5Regular","largeMedium"),decimalAmountInput:new X("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(Ga,{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(Za,{children:t.jsxs(Ya,{children:[t.jsxs(Xa,{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,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-bPu7mlA1.js";import{n as i}from"./mui-CvPZa6D0.js";import{a as p}from"./sentry-uXR4_KRo.js";import{u as Ia}from"./plaid-C4PyP873.js";import{bG as ue,c6 as Ra,bs as $e,cg as Fa,ch as ke,bY as Ta}from"./zeni-epic-state-BDdTNPzg.js";import{x as Pa}from"./LabeledControlledCheckBoxField-DT_nxhPN-DrCJem7I.js";import"./pdf-LR9rRMEe.js";import"./core-DuCBl3U1.js";import"./lottie-DyJgmWhI.js";import"./liveblocks-UDiQs1XL.js";import"./recharts-7AyWv7E-.js";import"./dnd-BPJHdlPA.js";import"./analytics-hnA26KoH.js";import"./utils-DXqO5lkM.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]="f6dcb2de-f55b-4189-8c99-07da2291014b",e._sentryDebugIdIdentifier="sentry-dbid-f6dcb2de-f55b-4189-8c99-07da2291014b")}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)`
2
2
  color: ${e=>e.theme.colors.hero};
3
3
  padding-top: ${a.sp3};
4
4
  white-space: nowrap;
@@ -33,7 +33,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
33
33
  color: ${J.important};
34
34
  `,qa=i(We)`
35
35
  color: ${J.important};
36
- `,Za=i.div`
36
+ `,Ga=i.div`
37
37
  margin-top: ${a.sp3};
38
38
  display: flex;
39
39
  background-color: ${e=>e.theme.colors.grey5};
@@ -42,12 +42,12 @@ 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
- `,Ga=i.div`
45
+ `,Xa=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
- `,Xa=i.div`
50
+ `,Za=i.div`
51
51
  display: flex;
52
52
  align-items: flex-start;
53
53
  `,Ka=i.div``,Ja=i(ba)`
@@ -129,7 +129,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
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:G}},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 X("h5Regular","h2Regular"),decimalAmountInput:new X("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),Z=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]),Ze=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:Ze});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:Ge}=Z.formState;p.useEffect(()=>{const c=Z.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 Xe=Z.watch("paymentDetails.amount"),Ke=Z.handleSubmit(()=>{if(Ge){const c=Z.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:Xe??0,currencyCode:n.chargeCardRepaymentDetailLocalData.amount.currencyCode,currencySymbol:n.chargeCardRepaymentDetailLocalData.amount.currencySymbol},integerStyles:Ie.integerAmountInput.styleObject(s),decimalStyles:Ie.decimalAmountInput.styleObject(s)})}),t.jsx(ma,{...Z,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:G.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:[G.earn,t.jsx(ht,{children:G.percentageCashback.replace("__percentage__",ga)}),G.whenYouPayViaZeniChecking]}),buttonText:h?re.switchButtonText:re.signUpButtonText,isAccountsEnabled:h,pageName:G.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:G.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: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)`
133
133
  color: ${e=>e.theme.colors.primary};
134
134
  width: ${e=>e.windowSize==="small"?"80%":"100%"};
135
135
  `,ht=i($a)`
@@ -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 X("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
+ `,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`
161
161
  display: flex;
162
162
  flex-direction: column;
163
163
  background-color: ${e=>e.theme.colors.grey4};
@@ -1,4 +1,4 @@
1
- import{cc as M,y as N,dX as P,O as _,V as l,e4 as H,b3 as L,o,cM as z,b as x,bV as B,b4 as g,l as A,w,ey as T,ez as X,eA as q,C as G,b2 as J,a8 as K,f as m}from"./index-D57b0ZIG.js";import{a as S}from"./sentry-D8J10Xru.js";import{n}from"./mui-CQrPxNXb.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]="dad3b012-6129-47dc-834d-4fbc0a7a3761",e._sentryDebugIdIdentifier="sentry-dbid-dad3b012-6129-47dc-834d-4fbc0a7a3761")}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,C]=S.useState(!1),k=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:k,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:()=>C(!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:U,Input:Z,SingleValue:ee,ValueContainer:Y,DropdownIndicator:he,IndicatorSeparator:me,Placeholder:oe,ClearIndicator:ge,MenuList:W},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})})},U=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]})})})},W=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(A)`
1
+ import{cc as M,y as N,dX as P,O as _,V as l,e4 as H,b3 as L,o,cM as z,b as x,bV as B,b4 as g,l as A,w,ey as T,ez as X,eA as q,C as G,b2 as J,a8 as K,f as m}from"./index-bPu7mlA1.js";import{a as S}from"./sentry-uXR4_KRo.js";import{n}from"./mui-CvPZa6D0.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]="dad3b012-6129-47dc-834d-4fbc0a7a3761",e._sentryDebugIdIdentifier="sentry-dbid-dad3b012-6129-47dc-834d-4fbc0a7a3761")}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,C]=S.useState(!1),k=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:k,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:()=>C(!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:U,Input:Z,SingleValue:ee,ValueContainer:Y,DropdownIndicator:he,IndicatorSeparator:me,Placeholder:oe,ClearIndicator:ge,MenuList:W},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})})},U=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]})})})},W=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(A)`
2
2
  color: ${e=>e.theme.colors.primary};
3
3
  `,oe=()=>null,le=({countryCode:e})=>{if(e!=null&&T(e)===!1)return l.jsx(l.Fragment,{});{const t=X[`${q(e??"")}`];return l.jsx(ie,{children:l.jsx(t,{width:o.sp4,height:o.sp3})})}},re=n.span`
4
4
  width: 100%;
@@ -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-D57b0ZIG.js";import{a as b}from"./sentry-D8J10Xru.js";import{n as t}from"./mui-CQrPxNXb.js";import"./pdf-CPt_J5sA.js";import"./zeni-epic-state-BpS-Wh5Q.js";import"./core-CRK-q5k6.js";import"./lottie-NpRVnd_t.js";import"./liveblocks-L3GY4hN_.js";import"./recharts-CuxDYXli.js";import"./dnd-CgFlpM7S.js";import"./analytics-BX2zKevq.js";import"./plaid-Dz-bwqi6.js";import"./utils-GhRHHdOC.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{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-bPu7mlA1.js";import{a as b}from"./sentry-uXR4_KRo.js";import{n as t}from"./mui-CvPZa6D0.js";import"./pdf-LR9rRMEe.js";import"./zeni-epic-state-BDdTNPzg.js";import"./core-DuCBl3U1.js";import"./lottie-DyJgmWhI.js";import"./liveblocks-UDiQs1XL.js";import"./recharts-7AyWv7E-.js";import"./dnd-BPJHdlPA.js";import"./analytics-hnA26KoH.js";import"./plaid-C4PyP873.js";import"./utils-DXqO5lkM.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`
2
2
  display: flex;
3
3
  width: 100%;
4
4
  flex-direction: column;
@@ -0,0 +1 @@
1
+ import{j as i}from"./pdf-LR9rRMEe.js";import{js as n}from"./index-bPu7mlA1.js";import{g as m}from"./QBOConnectionScreen-DROpihDX.js";import"./sentry-uXR4_KRo.js";import{h as p,N as s}from"./core-DuCBl3U1.js";import"./zeni-epic-state-BDdTNPzg.js";import"./mui-CvPZa6D0.js";import"./recharts-7AyWv7E-.js";import"./lottie-DyJgmWhI.js";import"./liveblocks-UDiQs1XL.js";import"./dnd-BPJHdlPA.js";import"./analytics-hnA26KoH.js";import"./plaid-C4PyP873.js";import"./utils-DXqO5lkM.js";import"./empty-BcYVHaFA.js";import"./pdf-lib-B2ywHAlU.js";import"./index-C0E4etuS.js";import"./url-DnJ-MRbo.js";import"./index-TFe4MZqS.js";import"./decodeURIComponentSafe-B5ZlGWkv.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]="7ac95620-f74d-498f-94d1-f3c260499359",t._sentryDebugIdIdentifier="sentry-dbid-7ac95620-f74d-498f-94d1-f3c260499359")}catch{}})();const S=()=>{const t=p(),{code:o,realmId:r,state:e}=m(t.search),d=n.getSignedInUser()?.userId??"";if(f(o,r,e,d)===!0){const a=`../../${e}/onboarding?code=${o}&realmId=${r}&state=auth_flow`;return i.jsx(s,{to:a})}return i.jsx(s,{to:"../../"})},f=(t,o,r,e)=>t!=""&&o!=""&&r!=""&&e!=null&&e!="";export{S as default,f as hasValidParams};
@@ -0,0 +1 @@
1
+ import{V as o}from"./index-bPu7mlA1.js";import i from"./CustomerOnboardingNoStepsPage-DWx46Z6R-Ba9gs9mp.js";import p from"./CustomerOnboardingPage-D86Sj2KP-BtfnNu-9.js";import"./sentry-uXR4_KRo.js";import"./pdf-LR9rRMEe.js";import"./zeni-epic-state-BDdTNPzg.js";import"./core-DuCBl3U1.js";import"./mui-CvPZa6D0.js";import"./recharts-7AyWv7E-.js";import"./lottie-DyJgmWhI.js";import"./liveblocks-UDiQs1XL.js";import"./dnd-BPJHdlPA.js";import"./analytics-hnA26KoH.js";import"./plaid-C4PyP873.js";import"./utils-DXqO5lkM.js";import"./PaymentAccountSetupBillingAddressSection-D-kQI4nd-BoSQv9rJ.js";import"./stripe-DMRn4zHo.js";import"./commonTypes-B3mnx2x_-C4g4js89.js";import"./SetUpAccountSection-CxjYbrXu-D_xZkN4u.js";import"./CustomerOnboardingDetailPageSkeleton-CWNyUuRp-PCUtxDIZ.js";import"./CompanyOfficerDetailsSection-BSFNYauO-CNbg81GJ.js";import"./helper-BVESv00--BfyFxQUD.js";import"./LabeledAddressValueField-Dl3atH92-CBuLNDhF.js";import"./LabeledCountryMultiSelectField-BnljZpX0-CrALbnep.js";import"./LabeledCreatableSingleSelectField-CiInq9yD-B0A_NESz.js";import"./LabeledDocumentField-Ceb8vgVH-BzsX4WXj.js";import"./LabeledNameField-BdVztq_8-Cc3_vzCa.js";import"./avatar-Dz7aEm3d-BBjMxgr_.js";import"./QBOSetupSection-DDoUJ7L6-qtD1b_uv.js";import"./QBOConnectionDialog-BIg9Iais-CzdJGXEh.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]="ef733e7a-5210-4d27-8613-090213c3895c",t._sentryDebugIdIdentifier="sentry-dbid-ef733e7a-5210-4d27-8613-090213c3895c")}catch{}})();const B=t=>t.currentTenant?.productSettings.isOtherProductsEnabled===!0?o.jsx(i,{...t}):o.jsx(p,{...t});export{B as default};
@@ -1,4 +1,4 @@
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-D57b0ZIG.js";import{n as r}from"./mui-CQrPxNXb.js";import{b as S}from"./sentry-D8J10Xru.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,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-bPu7mlA1.js";import{n as r}from"./mui-CvPZa6D0.js";import{b as S}from"./sentry-uXR4_KRo.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)`
2
2
  /* Size is controlled by styles.root prop */
3
3
  `,_=r.div`
4
4
  position: relative;
@@ -1,12 +1,12 @@
1
- import{h as de,V as n,f0 as Se,e as fe,y as Ce,T as Pe,a7 as be,c8 as we,a_ as xe,o as i,b as ke,A as Ie,a9 as Ae,aL as ve,ha as $e,O as Oe,eu as Ve,ev as je,r as Te,x as X,l as Le,m as $}from"./index-D57b0ZIG.js";import{n as l}from"./mui-CQrPxNXb.js";import{a as O}from"./sentry-D8J10Xru.js";import{r as _e,t as ze}from"./PaymentAccountSetupBillingAddressSection-D1ZDh1GY-BPH3KEPd.js";import{f as Be}from"./CustomerOnboardingDetailPageSkeleton-DSvvHqR_-Clg865Pc.js";import"./pdf-CPt_J5sA.js";import"./zeni-epic-state-BpS-Wh5Q.js";import"./core-CRK-q5k6.js";import"./lottie-NpRVnd_t.js";import"./liveblocks-L3GY4hN_.js";import"./recharts-CuxDYXli.js";import"./dnd-CgFlpM7S.js";import"./analytics-BX2zKevq.js";import"./plaid-Dz-bwqi6.js";import"./utils-GhRHHdOC.js";import"./stripe-DMRn4zHo.js";import"./commonTypes-CF6UyWSv-0hjd__4v.js";import"./SetUpAccountSection-BSOGwHCj-DRnE7z5J.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]="91f5ccda-1ec6-4e96-95dd-1286ee64491c",e._sentryDebugIdIdentifier="sentry-dbid-91f5ccda-1ec6-4e96-95dd-1286ee64491c")}catch{}})();const ee="onboardingPaymentAccountSetupSection",re="customerOnboardingNoStepsDetailPage",t="onboardingSubscriptionBillingAddress",Y={titleWidth:new X(343,580,726,826),subTitlePaddingTop:new X($[3],$[3]),subTitlePaddingBottom:new X($[3],$[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:G,onUpdatePaymentAccountLoginStatus:N,onEstablishConnectionClick:P,onEstablishConnectionSuccess:W,handleLogOutClick:Z,onZeniLogoClick:q,onAddressEditHandler:I}=K,H=Ce(),o=Pe({mode:"onSubmit",reValidateMode:"onSubmit",defaultValues:V(e),values:V(e),shouldFocusError:!0,resetOptions:{keepDirtyValues:!0}}),{companyOfficerLocalData:ce,saveStatus:g,paymentAccount:A,paymentAccountStatus:le,plaidConnectionDetails:te,uiState:ue,allNationalityCountries:ne,subscriptionBillingAddress:y}=e,{customerOnboardingPage:pe,common:h}=Ue,{footer:me,steps:ge}=pe,{buttons:J}=me,ie=ge.link_payment_account,v=be(g.fetchState),ae=Object.values(ce).findIndex(d=>d?.isSelectedForVerification===!0)??0,ye=`Officer_${ae<0?1:ae+1}`;O.useEffect(()=>{const d=o.watch((c,{name:a})=>{a!=null&&c!=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:b}=s[t].street,Q=Ve(b?.country);f={street:s[t].street??h.strings.empty,city:b?.locality??h.strings.empty,state:b?.administrativeAreaLevel1??h.strings.empty,country:Q,countryCode:b?.countryCode??h.strings.empty,postalCode:b?.postalCode??h.strings.empty,secondaryInfo:s[t].secondaryInfo,suite:s[t].suite},S.selectedOption!==Q.selectedOption&&(f={...f,country:Q})}else(r===`${t}.country`&&S.selectedOption!=null||S.selectedOption!=null&&r.includes(`${t}.street`)===!1)&&(f={...f,countryCode:je(S.selectedOption)});I(f)}})(a,c))});return()=>{d.unsubscribe()}}),O.useEffect(()=>{v==="In-Progress"&&g.fetchState==="Completed"&&o.reset(V(e),{keepDirtyValues:!1})},[o,e,v,g.fetchState,ne]);const oe=()=>{const d=Object.values(te).some(s=>s.fetchStatus.fetchState==="Completed"),c=A?.providerVerificationStatus?.code?.includes("verified")??!1,a=p.cardsList.length>0,r=p.bankAccountsList[0]?.providerVerificationStatus?.code?.includes("verified")??!1;return d&&c||!c&&!A&&a||!a&&!A&&r};O.useEffect(()=>{v==="In-Progress"&&g.fetchState==="Completed"&&(o.reset(V(e),{keepDirtyValues:!1}),k())},[o,e,v,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:ie.sectionTitle,showBackButton:!1,backgroundColor:H.colors.grey4,style:{zIndex:4},source:"CustomerOnboardingPaymentAddressDetailPage",showLeftSection:m!=="small",titleStyle:{display:"flex",alignItems:"center"},navBarContainerStyles:{paddingTop:i.sp0,paddingBottom:i.sp0},leftSideComponent:n.jsx(Ne,{children:n.jsx(We,{"data-testid":ke("zeni-logo-customer-onboarding-payment-address-detail-page"),onClick:q})})}),n.jsx(Ie,{...o,children:n.jsx(Re,{id:Ee(re),children:n.jsxs(Me,{children:[n.jsx(Ze,{windowSize:m,children:ie.sectionSubTitle}),n.jsx(_e,{connectedAccountProvider:u,paymentAccount:A,accountStatus:le,plaidConnectionDetails:te,subscriptionBillingAddressSectionId:t,sectionId:ee,analytics:C,isValid:oe(),onFetchLinkTokenClick:R,onEstablishConnectionClick:P,onUpdatePaymentAccountStatus:G,onUpdatePaymentAccountLoginStatus:N,onEstablishConnectionSuccess:W,updateCardPaymentModalState:x,cardPaymentView:p,resetCardPaymentViewState:U,cardSetupInProgress:se,googleAPIKey:T,subscriptionBillingAddress:y})]},"link_payment_account")})}),n.jsx(Ae,{formId:`${re}`,leftSideComponent:n.jsx(Ge,{windowSize:m,children:n.jsx(ve,{signedInUser:w,currentTenant:L,onLogOutClick:Z})}),style:{width:m==="small"?"auto":"100%",padding:i.sp0,rowGap:i.sp1},helperContainerStyle:{width:"100%",rowGap:i.sp1,marginTop:"12px",marginBottom:i.sp2},primaryBtn:{onClick:async()=>{const d=await o.trigger(t),c=await o.trigger(ee);d&&c&&((()=>{const a=o.getValues(t),r={street:a.street.addressString,suite:a.suite,city:a.city,state:a.state,postalCode:a.postalCode,country:a.country.selectedOption??h.strings.empty,secondaryInfo:a.secondaryInfo};C.trackOnboardingBillingAddressSave(r)})(),_("link_payment_account"),F(ye,!1,!0))},label:J.submit,isLoading:g.fetchState==="In-Progress",isDisabled:g.fetchState==="In-Progress"||!(function(){if(o.getFieldState(t).error)return!1;const d=o.getValues(t),c=y?.street.join("").trim(),a=y?.city,r=y?.state,s=y?.country,S=y?.postalCode!=null&&y.postalCode||d.postalCode||h.strings.empty;return!!(c&&a&&r&&s&&S)}()&&oe())},containerStyle:{width:"auto",justifyContent:"center"},helperText:J.submitText.replace("__action__",J.submit),helperStyle:{width:"auto",padding:i.sp0,rowGap:i.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=l.div`
1
+ import{h as de,V as n,f0 as fe,e as Se,y as Ce,T as Pe,a7 as be,c8 as we,a_ as xe,o as a,b as ke,A as Ie,a9 as Ae,aL as ve,ha as $e,O as Oe,eu as Ve,ev as je,r as Te,x as X,l as Le,m as $}from"./index-bPu7mlA1.js";import{n as c}from"./mui-CvPZa6D0.js";import{a as O}from"./sentry-uXR4_KRo.js";import{r as _e,t as ze}from"./PaymentAccountSetupBillingAddressSection-D-kQI4nd-BoSQv9rJ.js";import{f as Be}from"./CustomerOnboardingDetailPageSkeleton-CWNyUuRp-PCUtxDIZ.js";import"./pdf-LR9rRMEe.js";import"./zeni-epic-state-BDdTNPzg.js";import"./core-DuCBl3U1.js";import"./lottie-DyJgmWhI.js";import"./liveblocks-UDiQs1XL.js";import"./recharts-7AyWv7E-.js";import"./dnd-BPJHdlPA.js";import"./analytics-hnA26KoH.js";import"./plaid-C4PyP873.js";import"./utils-DXqO5lkM.js";import"./stripe-DMRn4zHo.js";import"./commonTypes-B3mnx2x_-C4g4js89.js";import"./SetUpAccountSection-CxjYbrXu-D_xZkN4u.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]="8315585f-6d7d-40a4-929d-246522a70f93",e._sentryDebugIdIdentifier="sentry-dbid-8315585f-6d7d-40a4-929d-246522a70f93")}catch{}})();const ee="onboardingPaymentAccountSetupSection",re="customerOnboardingNoStepsDetailPage",t="onboardingSubscriptionBillingAddress",Y={titleWidth:new X(343,580,726,826),subTitlePaddingTop:new X($[3],$[3]),subTitlePaddingBottom:new X($[3],$[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=Se(),M=de(),{analytics:C}=M,{onFetchLinkTokenClick:R,onUpdatePaymentAccountStatus:N,onUpdatePaymentAccountLoginStatus:G,onEstablishConnectionClick:P,onEstablishConnectionSuccess:Z,handleLogOutClick:q,onZeniLogoClick:H,onAddressEditHandler:I}=K,J=Ce(),o=Pe({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,v=be(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 f=o.getValues(`${t}`).country;let S=s[t];if(r.includes(`${t}.street`)&&s[t].street!=null){const{addressValue:b}=s[t].street,W=Ve(b?.country);S={street:s[t].street??h.strings.empty,city:b?.locality??h.strings.empty,state:b?.administrativeAreaLevel1??h.strings.empty,country:W,countryCode:b?.countryCode??h.strings.empty,postalCode:b?.postalCode??h.strings.empty,secondaryInfo:s[t].secondaryInfo,suite:s[t].suite},f.selectedOption!==W.selectedOption&&(S={...S,country:W})}else(r===`${t}.country`&&f.selectedOption!=null||f.selectedOption!=null&&r.includes(`${t}.street`)===!1)&&(S={...S,countryCode:je(f.selectedOption)});I(S)}})(i,l))});return()=>{d.unsubscribe()}}),O.useEffect(()=>{v==="In-Progress"&&g.fetchState==="Completed"&&o.reset(V(e),{keepDirtyValues:!1})},[o,e,v,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(()=>{v==="In-Progress"&&g.fetchState==="Completed"&&(o.reset(V(e),{keepDirtyValues:!1}),k())},[o,e,v,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:J.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(Ge,{children:n.jsx(Ze,{"data-testid":ke("zeni-logo-customer-onboarding-payment-address-detail-page"),onClick:H})})}),n.jsx(Ie,{...o,children:n.jsx(Re,{id:Ee(re),children:n.jsxs(Me,{children:[n.jsx(qe,{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:P,onUpdatePaymentAccountStatus:N,onUpdatePaymentAccountLoginStatus:G,onEstablishConnectionSuccess:Z,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(ve,{signedInUser:w,currentTenant:L,onLogOutClick:q})}),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,f=y?.postalCode!=null&&y.postalCode||d.postalCode||h.strings.empty;return!!(l&&i&&r&&s&&f)}()&&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
2
  display: flex;
3
3
  flex-direction: column;
4
4
  align-items: center;
5
5
  min-width: 100% ${e=>e.theme.breakpoints.down("md")} {
6
6
  width: 100%;
7
- padding-left: ${i.sp0};
7
+ padding-left: ${a.sp0};
8
8
  }
9
- `,Ke=l.div`
9
+ `,Ke=c.div`
10
10
  display: flex;
11
11
  flex-direction: column;
12
12
  align-items: center;
@@ -23,33 +23,33 @@ import{h as de,V as n,f0 as Se,e as fe,y as Ce,T as Pe,a7 as be,c8 as we,a_ as x
23
23
  ${e=>e.theme.breakpoints.down("lg")} {
24
24
  background-size: cover;
25
25
  }
26
- `,Me=l.div`
26
+ `,Me=c.div`
27
27
  display: flex;
28
28
  height: 100%;
29
29
  flex-direction: column;
30
- padding-bottom: ${i.sp0};
31
- `,Re=l.form`
32
- padding-top: ${i.sp0};
30
+ padding-bottom: ${a.sp0};
31
+ `,Re=c.form`
32
+ padding-top: ${a.sp0};
33
33
  flex: 1;
34
- `,Ge=l.div`
34
+ `,Ne=c.div`
35
35
  display: flex;
36
- height: ${i.sp7};
37
- left: ${i.sp4};
38
- bottom: ${i.sp3};
36
+ height: ${a.sp7};
37
+ left: ${a.sp4};
38
+ bottom: ${a.sp3};
39
39
  position: fixed;
40
40
  justify-content: center;
41
41
  align-items: center;
42
42
  cursor: default;
43
- `,Ne=l.div`
43
+ `,Ge=c.div`
44
44
  display: flex;
45
- `,We=l(Te)`
46
- height: ${i.sp4};
45
+ `,Ze=c(Te)`
46
+ height: ${a.sp4};
47
47
  width: 102px;
48
48
  color: ${e=>e.theme.colors.primary};
49
49
  cursor: pointer;
50
50
  flex-shrink: 0;
51
- margin-left: -${i.sp4};
52
- `,Ze=l(Le)`
51
+ margin-left: -${a.sp4};
52
+ `,qe=c(Le)`
53
53
  color: ${e=>e.theme.colors.hero};
54
54
  display: flex;
55
55
  justify-content: center;
@@ -58,7 +58,7 @@ import{h as de,V as n,f0 as Se,e as fe,y as Ce,T as Pe,a7 as be,c8 as we,a_ as x
58
58
  padding-bottom: ${e=>Y.subTitlePaddingBottom.valuePx(e.windowSize)};
59
59
  text-align: ${e=>e.windowSize==="small"?"initial":"center"};
60
60
  width: 100%;
61
- `,V=e=>({[ee]:{account:{allOptions:[],selectedOption:void 0}},[t]:$e(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:G,currentStep:N,fetchStatus:P}=u,W=de(),{analytics:Z}=W,q={allSteps:G,isOnAddressPage:w,currentStep:N,fetchStatus:P,signedInUser:j,currentTenant:T,onUpdateStep:H=>{B(H)},onZeniLogoClick:x,handleLogOutClick:E,handleCockpitClick:U,redirectToProductSuitePage:C},I=P.fetchState==="In-Progress"||P.fetchState==="Not-Started";return n.jsxs(qe,{isOnAddressPage:w,children:[I?n.jsx(Be,{isNoStepsPage:!0}):n.jsx(De,{...q,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:Z,productType:"onboarding"})]})},qe=l.div`
61
+ `,V=e=>({[ee]:{account:{allOptions:[],selectedOption:void 0}},[t]:$e(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:G,fetchStatus:P}=u,Z=de(),{analytics:q}=Z,H={allSteps:N,isOnAddressPage:w,currentStep:G,fetchStatus:P,signedInUser:j,currentTenant:T,onUpdateStep:J=>{B(J)},onZeniLogoClick:x,handleLogOutClick:E,handleCockpitClick:U,redirectToProductSuitePage:C},I=P.fetchState==="In-Progress"||P.fetchState==="Not-Started";return n.jsxs(He,{isOnAddressPage:w,children:[I?n.jsx(Be,{isNoStepsPage:!0}):n.jsx(De,{...H,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(fe,{isFooterRendered:!0,meetingUrl:z,analytics:q,productType:"onboarding"})]})},He=c.div`
62
62
  display: flex;
63
63
  flex-direction: column;
64
64
  width: ${e=>e.isOnAddressPage?"fit-content":"100%"};
@@ -1,4 +1,4 @@
1
- import{V as l,f0 as Qt,e as Ye,y as Wt,T as Yt,c8 as ye,a7 as Me,J as ft,S as Qe,a_ as Gt,o as ce,A as Zt,m as Y,a9 as Jt,ha as Xt,fC as en,f1 as gt,eu as Ot,O as Ge,ev as tn,x as fe,fF as ge,cc as nn,l as an,hb as ht,W as St,ck as on,fE as sn}from"./index-D57b0ZIG.js";import{a as m}from"./sentry-D8J10Xru.js";import{n as x,k as xt}from"./mui-CQrPxNXb.js";import{bQ as B,FH as rn,FI as cn}from"./zeni-epic-state-BpS-Wh5Q.js";import{r as Ct,t as ln}from"./PaymentAccountSetupBillingAddressSection-D1ZDh1GY-BPH3KEPd.js";import{b as bt,f as dn,a as It}from"./CustomerOnboardingDetailPageSkeleton-DSvvHqR_-Clg865Pc.js";import{z as pn,r as un}from"./CompanyOfficerDetailsSection-6LXCxWYP-Dc3qK4JY.js";import{t as mn}from"./QBOSetupSection-iQJCHR-K-BVPCLXHR.js";import"./pdf-CPt_J5sA.js";import"./core-CRK-q5k6.js";import"./lottie-NpRVnd_t.js";import"./liveblocks-L3GY4hN_.js";import"./recharts-CuxDYXli.js";import"./dnd-CgFlpM7S.js";import"./analytics-BX2zKevq.js";import"./plaid-Dz-bwqi6.js";import"./utils-GhRHHdOC.js";import"./stripe-DMRn4zHo.js";import"./commonTypes-CF6UyWSv-0hjd__4v.js";import"./SetUpAccountSection-BSOGwHCj-DRnE7z5J.js";import"./helper-COxPEvgL-B_cdFqPQ.js";import"./LabeledAddressValueField-CAr-IiTa-DIler834.js";import"./LabeledCountryMultiSelectField-C6z1v9S1-DYoPmUzY.js";import"./LabeledCreatableSingleSelectField-Dhi0n2ky-B7iwCfH_.js";import"./LabeledDocumentField-B3QSq1eM-Dn-2GIt3.js";import"./LabeledNameField-CYN5kdQi-CHfes9Ox.js";import"./avatar-Dz7aEm3d-DRSZhV3E.js";import"./QBOConnectionDialog-C1rEAxUE-Q804Cvr3.js";(function(){try{var a=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},C=new a.Error().stack;C&&(a._sentryDebugIds=a._sentryDebugIds||{},a._sentryDebugIds[C]="7ec7ce86-31e9-4f25-8e10-6e14ab88e1fa",a._sentryDebugIdIdentifier="sentry-dbid-7ec7ce86-31e9-4f25-8e10-6e14ab88e1fa")}catch{}})();const yn=({companyView:a,companyOfficerLocalData:C,allNationalityCountries:r,isVerificationPopupOpen:g,setIsVerificationPopupOpen:_,verifiedPhoneNumber:w,onPhoneVerified:h,...k})=>{const f=Ye(),T=a?.companyOfficers.slice(0,10).sort((I,te)=>I.user.createTime?.isAfter(te.user.createTime)===!0?1:-1)?.map(I=>I.user),{company_officer:d}=Ge.getLocalizedStrings().customerOnboardingPage.sections,{title:V}=d,D=a?.company.company.featuresActivationInfo.connectedAccountProvider;return l.jsx(fn,{children:l.jsx(un,{companyOfficerData:C,allOfficers:T??[],allNationalityCountries:r,sectionHeader:V,isPopupOpen:g,productType:"onboarding",connectedAccountProvider:D,showInfoTooltip:f!=="small",showCompletedIcon:f==="small",showOfficerSelect:!1,showVerificationTag:!1,verifiedPhoneNumber:w,onPhoneVerified:h,optionalFields:["dob","officerAddress","role","ssn","ownership","selectDocument","phone"],openPopup:_,...k})})},fn=x.div`
1
+ import{V as l,f0 as Qt,e as Ye,y as Wt,T as Yt,c8 as ye,a7 as Me,J as ft,S as Qe,a_ as Gt,o as ce,A as Zt,m as Y,a9 as Jt,ha as Xt,fC as en,f1 as gt,eu as Ot,O as Ge,ev as tn,x as fe,fF as ge,cc as nn,l as an,hb as ht,W as St,ck as on,fE as sn}from"./index-bPu7mlA1.js";import{a as m}from"./sentry-uXR4_KRo.js";import{n as x,k as xt}from"./mui-CvPZa6D0.js";import{bQ as B,FH as rn,FI as cn}from"./zeni-epic-state-BDdTNPzg.js";import{r as Ct,t as ln}from"./PaymentAccountSetupBillingAddressSection-D-kQI4nd-BoSQv9rJ.js";import{b as bt,f as dn,a as It}from"./CustomerOnboardingDetailPageSkeleton-CWNyUuRp-PCUtxDIZ.js";import{z as pn,r as un}from"./CompanyOfficerDetailsSection-BSFNYauO-CNbg81GJ.js";import{t as mn}from"./QBOSetupSection-DDoUJ7L6-qtD1b_uv.js";import"./pdf-LR9rRMEe.js";import"./core-DuCBl3U1.js";import"./lottie-DyJgmWhI.js";import"./liveblocks-UDiQs1XL.js";import"./recharts-7AyWv7E-.js";import"./dnd-BPJHdlPA.js";import"./analytics-hnA26KoH.js";import"./plaid-C4PyP873.js";import"./utils-DXqO5lkM.js";import"./stripe-DMRn4zHo.js";import"./commonTypes-B3mnx2x_-C4g4js89.js";import"./SetUpAccountSection-CxjYbrXu-D_xZkN4u.js";import"./helper-BVESv00--BfyFxQUD.js";import"./LabeledAddressValueField-Dl3atH92-CBuLNDhF.js";import"./LabeledCountryMultiSelectField-BnljZpX0-CrALbnep.js";import"./LabeledCreatableSingleSelectField-CiInq9yD-B0A_NESz.js";import"./LabeledDocumentField-Ceb8vgVH-BzsX4WXj.js";import"./LabeledNameField-BdVztq_8-Cc3_vzCa.js";import"./avatar-Dz7aEm3d-BBjMxgr_.js";import"./QBOConnectionDialog-BIg9Iais-CzdJGXEh.js";(function(){try{var a=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},C=new a.Error().stack;C&&(a._sentryDebugIds=a._sentryDebugIds||{},a._sentryDebugIds[C]="fccbbf10-c418-495c-9c55-2e83941625b1",a._sentryDebugIdIdentifier="sentry-dbid-fccbbf10-c418-495c-9c55-2e83941625b1")}catch{}})();const yn=({companyView:a,companyOfficerLocalData:C,allNationalityCountries:r,isVerificationPopupOpen:g,setIsVerificationPopupOpen:_,verifiedPhoneNumber:w,onPhoneVerified:h,...k})=>{const f=Ye(),T=a?.companyOfficers.slice(0,10).sort((I,te)=>I.user.createTime?.isAfter(te.user.createTime)===!0?1:-1)?.map(I=>I.user),{company_officer:d}=Ge.getLocalizedStrings().customerOnboardingPage.sections,{title:V}=d,D=a?.company.company.featuresActivationInfo.connectedAccountProvider;return l.jsx(fn,{children:l.jsx(un,{companyOfficerData:C,allOfficers:T??[],allNationalityCountries:r,sectionHeader:V,isPopupOpen:g,productType:"onboarding",connectedAccountProvider:D,showInfoTooltip:f!=="small",showCompletedIcon:f==="small",showOfficerSelect:!1,showVerificationTag:!1,verifiedPhoneNumber:w,onPhoneVerified:h,optionalFields:["dob","officerAddress","role","ssn","ownership","selectDocument","phone"],openPopup:_,...k})})},fn=x.div`
2
2
  display: flex;
3
3
  align-items: center;
4
4
  justify-content: center;
@@ -10,7 +10,7 @@ import{V as l,f0 as Qt,e as Ye,y as Wt,T as Yt,c8 as ye,a7 as Me,J as ft,S as Qe
10
10
  display: flex;
11
11
  `,Cn=x.input`
12
12
  display: none;
13
- `,bn=({isValid:a,sectionId:C="onboardingQboConnection",...r})=>{const{register:g}=nn();return l.jsxs(Sn,{children:[l.jsx(Cn,{type:"hidden",...g(`${C}.connected`,{validate:_=>_==="true"}),value:a?"true":"false"}),l.jsx(mn,{isValid:a,...r})]})},R="companyDetails",b="companyOfficer",ee="onboardingPaymentAccountSetupSection",Pt="customerOnboardingDetailPage",y="onboardingSubscriptionBillingAddress",he="onboardingQboConnection",Se={titleWidth:new fe(343,580,726,826),topNavBarHeight:new fe(52,52,63),topNavBarLeftRightSpace:new fe(Y[5],Y[9],112),subTitlePaddingTop:new fe(Y[3],Y[3]),subTitlePaddingBottom:new fe(Y[3],Y[3])},In=a=>`${a}_form`,le=Ge.getLocalizedStrings(),Pn=({fileProps:a,isRefreshingViewInBackground:C,isAdmin:r,onboardingCustomerView:g,companyTitles:_,connectedAccountProvider:w,analytics:h,cardPaymentView:k,stripeKey:f,googleAPIKey:T,handleCreateCardSetupIntent:d,handleConfirmCardSetupIntent:V,updateCardPaymentModalState:D,handleAddCardPaymentSource:I,resetCardPaymentViewState:te,handleResetCardPaymentErrorStatuses:ve,redirectToProductSuitePage:Ce,onFormErrorsChange:F,..._e})=>{const U=Ye(),Ne=m.useRef(null),Ve=m.useRef(null),G=m.useRef(null),De=m.useRef(null),[be,z]=m.useState(!1),[q,H]=m.useState("next"),[E,Ie]=m.useState(!1),[de,Pe]=m.useState(!1),[ne,Z]=m.useState(null),{onAddressClick:ae,onCompanyDetailsChanged:A,onCompanyOfficerUpdated:Ae,onFetchLinkTokenClick:pe,onUpdatePaymentAccountStatus:oe,onUpdatePaymentAccountLoginStatus:ue,onEstablishConnectionClick:ie,onEstablishConnectionSuccess:N,onDeleteFile:Ze,onEditFileName:Je,updateFilesEntity:Xe,onGetOtp:wt,onSkipSetupClick:Te,onUpdateCustomerView:Fe,updateStepHandler:K,onVerifyOtp:kt,onResendOtp:vt,handleOnConnectClick:_t,updateQBOPopupState:Nt,onUpdateStep:$e,onAddressEditHandler:Vt}=_e,Dt=Wt(),s=Yt({mode:"onSubmit",reValidateMode:"onChange",defaultValues:We(g,g.allNationalityCountries),values:We(g,g.allNationalityCountries),shouldFocusError:!0,resetOptions:{keepDirtyValues:!0}}),M=m.useCallback(()=>{const e=[];return(s.getFieldState(ee).error!=null||s.getFieldState(y).error!=null)&&e.push("link_payment_account"),s.getFieldState(he).error!=null&&e.push("qbo_connection"),e},[s]);m.useEffect(()=>{const e=M();F?.(e)},[M,F]),m.useEffect(()=>{const e=s.watch((t,{name:n,type:o})=>{n!=null&&(o==="change"||o==="blur")&&ye(()=>{const c=M();F?.(c)})});return()=>e.unsubscribe()},[s,M,F]);const et=e=>{at(e)},{companyView:se,companyDetailsLocalData:p,companyOfficerLocalData:L,currentStep:i,completedSteps:tt,saveStatus:v,allSteps:S,allRequiredStepsCompleted:Ee,paymentAccount:Q,paymentAccountStatus:nt,externalConnections:Le,plaidConnectionDetails:je,uiState:Be,allNationalityCountries:Oe,pendingSaveDetails:{companyDetails:At,officer:Tt},subscriptionBillingAddress:J}=g,xe=m.useRef(""),Ft=e=>{xe.current=e;const t=Object.values(g.companyOfficerLocalData).findIndex(o=>o?.isSelectedForVerification===!0)??0,n=t<0?0:t;s.clearErrors(`${b}.${n}.phone`)},at=e=>{e==null||ge(e)?wt(e):s.trigger(`${b}.${X}.phone`)},X=Object.values(L).findIndex(e=>e?.isSelectedForVerification===!0)??0,$=`Officer_${X<0?1:X+1}`,$t=se?.companyOfficers.slice(0,10).sort((e,t)=>e.user.createTime?.isAfter(t.user.createTime)===!0?1:-1),Re=L[$]?.userId!=null?$t?.find(e=>e.user.userId===L[$]?.userId)?.address:null,ot=L[$]?.addressStatus?.addressToCreate,we=se?.companyAddress,it=p?.addressStatus?.addressToCreate,Ue=se?.registeredAddress,st=p?.registeredAddressStatus?.addressToCreate,{customerOnboardingPage:Et,common:u}=le,{footer:Lt,steps:jt}=Et,{buttons:rt}=Lt,ct=jt[i],ze=S.length,re=Me(v.fetchState),j=Me(i),me=()=>{const e=Object.values(je).some(c=>c.fetchStatus.fetchState==="Completed"),t=Q?.providerVerificationStatus?.code?.includes("verified")??!1,n=k.cardsList.length>0,o=k.bankAccountsList[0]?.providerVerificationStatus?.code?.includes("verified")??!1;return e&&t||!t&&!Q&&n||!n&&!Q&&o};function lt(){if(s.getFieldState(y).error)return!1;const e=s.getValues(y),t=J?.street.join("").trim(),n=J?.city,o=J?.state,c=J?.country,P=J?.postalCode!=null&&J.postalCode||e.postalCode||u.strings.empty;return!!(t&&n&&o&&c&&P)}const dt=Me(Q?.providerVerificationStatus?.code);m.useEffect(()=>{dt==="pending_manual_verification"&&Q?.providerVerificationStatus?.code==="manually_verified"&&h.trackOnboardingBankAccountVerified("manual")},[h,Q?.providerVerificationStatus?.code,dt]),m.useEffect(()=>{const e=s.watch((t,{name:n})=>{n!=null&&t!=null&&ye(()=>(async(o,c)=>{if(o.includes(R))A?.(c[R]);else if(o.includes(b))Ae?.(c[b]);else if(o.includes(y)&&c[y]!=null){const P=s.getValues(`${y}`).country;let O=c[y];if(o.includes(`${y}.street`)&&c[y].street!=null){const{addressValue:W}=c[y].street,Ke=Ot(W?.country);O={street:c[y].street??u.strings.empty,city:W?.locality??u.strings.empty,state:W?.administrativeAreaLevel1??u.strings.empty,country:Ke,countryCode:W?.countryCode??u.strings.empty,postalCode:W?.postalCode??u.strings.empty,secondaryInfo:c[y].secondaryInfo,suite:c[y].suite},P.selectedOption!==Ke.selectedOption&&(O={...O,country:Ke})}else(o===`${y}.country`&&P.selectedOption!=null||P.selectedOption!=null&&o.includes(`${y}.street`)===!1)&&(O={...O,countryCode:tn(P.selectedOption)});Vt(O)}})(n,t))});return()=>{e.unsubscribe()}}),m.useEffect(()=>{re==="In-Progress"&&v.fetchState==="Completed"&&(s.reset(We(g,Oe),{keepDirtyValues:!1}),j==="company_details"&&i==="link_payment_account"&&!S.includes("qbo_connection")&&!g.qboConnected&&Ce())},[s,g,re,v.fetchState,Oe,j,i,S,Ce]),m.useEffect(()=>{be&&re==="In-Progress"&&v.fetchState==="Completed"&&(Te(),h.track(ft.Event.onboardingSkipAndSave))},[re,be,v.fetchState,Te]),m.useEffect(()=>{ne?.shouldNavigate===!0&&re==="In-Progress"&&v.fetchState==="Completed"&&(Z(null),K(ne.fromStep,ne.stepDirection,!0))},[ne,re,v.fetchState,K]),m.useLayoutEffect(()=>{j!=null&&j!==i&&(S.indexOf(j)===S.indexOf(i)-1||S.indexOf(j)===ze-1&&S.indexOf(i)===0?q!=="next"&&H("next"):(S.indexOf(j)-1===S.indexOf(i)||S.indexOf(j)===0&&S.indexOf(i)===ze-1)&&q!=="previous"&&H("previous"))},[S,i,j,q,ze]);const pt=()=>{const e=L[$];return!!(e?.firstName||e?.lastName||e?.email||e?.nationalityCountryCode||e?.birthday||e?.ownershipInCompany||e?.phone||e?.ssn||e?.titleAtCompany||e?.addressStatus?.addressToCreate||e?.fileIds!=null&&e?.fileIds.length>0)},Bt=!Qe(ot!=null?B(ot):null,Re!=null?B(Re):null),Rt=!Qe(it!=null?B(it):null,we!=null?B(we):null),Ut=!Qe(st!=null?B(st):null,Ue!=null?B(Ue):null),zt=s.getFieldState(R).isDirty||Rt||Ut||At,qe=s.getFieldState(b).isDirty&&pt()||Bt||Tt,ut=s.getFieldState(`${y}`).isDirty,ke=p?.primaryContactLocalData,qt=()=>{v.fetchState!=="In-Progress"&&(Te(),h.track(ft.Event.onboardingSkipAndSave))},mt=()=>{const e=L[$],t=e?.email??u.strings.empty,n=e?.phone??u.strings.empty,o=e?.ssn??u.strings.empty,c=e?.ownershipInCompany,P=X<0?0:X;let O=!0,W=!1;return t&&!(e?.firstName&&e?.lastName)&&(s.trigger([`${b}.${P}.name.firstName`,`${b}.${P}.name.lastName`],{shouldFocus:i==="company_officer"}),O=!1),(!t&&pt()||St.test(t)===!1)&&(s.trigger(`${b}.${P}.email`,{shouldFocus:i==="company_officer"}),O=!1),n&&ge(n)===!1&&(s.trigger(`${b}.${P}.phone`,{shouldFocus:i==="company_officer"}),O=!1),n&&ge(n)===!0&&w==="unit"&&(xe.current!==""&&n===xe.current||(W=!0,s.setError(`${b}.${P}.phone`,{type:"custom",message:le.commonSetUp.businessVerification.phoneValidationError},{shouldFocus:i==="company_officer"}),O=!1)),c!=null&&c>100&&(s.trigger(`${b}.${P}.ownership`,{shouldFocus:i==="company_officer"}),O=!1),o&&sn.test(o)===!1&&(s.trigger(`${b}.${P}.ssn`,{shouldFocus:i==="company_officer"}),O=!1),{isValid:O,needsOtp:W,phoneNumber:n}},Ht=()=>{const e=p?.website?.toString()??u.strings.empty,t=p?.phone??u.strings.empty,n=p?.taxIdOrEIN??u.strings.empty,o=p?.primaryContactLocalData?.email??u.strings.empty;let c=!0;return e&&ht.test(e)===!1&&(s.trigger(`${R}.companyWebsite`,{shouldFocus:i==="company_details"}),c=!1),ht.lastIndex=0,t&&ge(t)===!1&&(s.trigger(`${R}.companyPhone`,{shouldFocus:i==="company_details"}),c=!1),(!o||St.test(o)===!1)&&(s.trigger(`${R}.primaryContactEmail`,{shouldFocus:i==="company_details"}),c=!1),n&&on.test(n)===!1&&(s.trigger(`${R}.companyTaxId`,{shouldFocus:i==="company_details"}),c=!1),c},yt=()=>{const e=L[$];return{email:e?.email??u.strings.empty,birthday:e?.birthday?.toString(),companyOwnership:e?.ownershipInCompany,firstName:e?.firstName,lastName:e?.lastName,companyRole:e?.titleAtCompany,phone:e?.phone,formattedAddress:e?.addressStatus?.addressToCreate!=null?B(e?.addressStatus?.addressToCreate):void 0,documentTypeForVerification:e?.documentTypeSelectedForVerification}},Kt=()=>{const e=p?.primaryContactLocalData;h.trackBusinessVerificationSave(yt(),{companyDescription:p?.companyDescription,legalName:p?.companyLegalName,phone:p?.phone,website:p?.website?.toString(),industry:p?.companyIndustry??u.strings.empty,formattedAddress:p?.addressStatus?.addressToCreate!=null?B(p?.addressStatus?.addressToCreate):void 0},{firstName:e?.firstName,lastName:e?.lastName,email:e?.email},"onboarding")},[He,Mt]=m.useState(!1);return l.jsxs(wn,{children:[l.jsxs(kn,{windowSize:U,children:[S.indexOf(i)>=0?l.jsx(Gt,{title:ct.sectionTitle,showBackButton:!1,backgroundColor:Dt.colors.grey4,style:{zIndex:4},showLeftSection:U!=="small",titleStyle:{display:"flex",alignItems:"center"},navBarContainerStyles:{paddingTop:ce.sp0,paddingBottom:ce.sp0},source:"CustomerOnboardingDetailPage"}):l.jsx(vn,{windowSize:U,children:l.jsx(Nn,{windowSize:U,children:l.jsx(_n,{})})}),l.jsx(Zt,{...s,children:l.jsx(Dn,{id:In(Pt),children:S.map(e=>{let t;t=l.jsx(Ct,{connectedAccountProvider:w,paymentAccount:Q,accountStatus:nt,plaidConnectionDetails:je,sectionId:ee,hasError:s.getFieldState(ee).error!=null||de&&!me(),isValid:me(),analytics:h,onFetchLinkTokenClick:pe,onEstablishConnectionClick:ie,onUpdatePaymentAccountStatus:oe,onUpdatePaymentAccountLoginStatus:ue,onEstablishConnectionSuccess:N,cardPaymentView:k,resetCardPaymentViewState:te,updateCardPaymentModalState:D,cardSetupInProgress:He,subscriptionBillingAddressSectionId:y});let n=Ne;switch(e){case"link_payment_account":t=l.jsx(Ct,{connectedAccountProvider:w,paymentAccount:Q,accountStatus:nt,plaidConnectionDetails:je,subscriptionBillingAddressSectionId:y,sectionId:ee,hasError:s.getFieldState(ee).error!=null||de&&!me(),isValid:me(),analytics:h,onFetchLinkTokenClick:pe,onEstablishConnectionClick:ie,onUpdatePaymentAccountStatus:oe,onUpdatePaymentAccountLoginStatus:ue,onEstablishConnectionSuccess:N,updateCardPaymentModalState:D,cardPaymentView:k,resetCardPaymentViewState:te,cardSetupInProgress:He,googleAPIKey:T,subscriptionBillingAddress:J});break;case"qbo_connection":t=l.jsx(bn,{sectionId:he,hasError:s.getFieldState(he).error!=null,isAdmin:r,isValid:Le?.accounting[0]?.isValid??!1,companyName:se?.company.company.companyInfo.companyLegalName,saveConnectionState:Le?.saveConnectionState,isQBOPopupOpen:Be.isQBOPopupOpen,handleOnConnectClick:_t,updateQBOPopupState:Nt}),n=Ve;break;case"company_officer":t=l.jsx(yn,{companyOfficerLocalData:L,allNationalityCountries:Oe,isCompleted:tt.includes("company_officer"),companyView:se,sectionId:b,filesEndPoint:a.filesEndPoint,authParams:a.authParams,isRefreshingViewInBackground:C,companyTitles:_,isVerificationPopupOpen:E,setIsVerificationPopupOpen:Ie,onGetOtp:et,onVerifyOtp:kt,onResendOtp:vt,onOfficerAddressClick:o=>ae(o,Re?.addressId),updateFilesEntity:Xe,onEditFileName:Je,onDeleteFile:Ze,verifiedPhoneNumber:xe.current,onPhoneVerified:Ft,isDisabled:v.fetchState==="In-Progress"?"readonly":void 0,triggerError:at}),n=De;break;case"company_details":t=l.jsx(gn,{fileProps:{...a,onEditFileName:Je,onDeleteFile:Ze,updateFilesEntity:Xe},allNationalityCountries:Oe,sectionId:R,companyIndustries:g.companyIndustries,companyDetails:p,isDisabled:v.fetchState==="In-Progress"?"readonly":void 0,isCompleted:tt.includes("company_details"),onCompanyAddressClick:o=>{const c=se?.company.company.companyOnboardingInfo.subscriptionBillingAddressId;ae(o,we?.addressId==null&&c!=null?c:we?.addressId)},onRegisteredAddressClick:o=>ae(o,Ue?.addressId)}),n=G}return l.jsxs(Vn,{ref:n,isVisible:i===e,includeAnimation:i==="link_payment_account"||i==="qbo_connection"?!Be.isQBOPopupOpen:i!=="company_officer"||!E,paddingBottom:e==="company_details"||e==="company_officer"?Y[6]:Y[0],stepAnimationDirection:q,children:[S.indexOf(i)>=0?l.jsx(An,{windowSize:U,children:ct.sectionSubTitle}):null,t]},e)})})}),l.jsx(Jt,{formId:`${Pt}`,style:{width:U==="small"?"auto":"100%",paddingTop:ce.sp2,paddingBottom:ce.sp2},primaryBtn:{onClick:()=>{switch(Pe(!1),i){case"link_payment_account":ut?setTimeout(()=>{const e=M();F?.(e),lt()&&ut?((()=>{const t=s.getValues(y),n={street:t.street.addressString,suite:t.suite,city:t.city,state:t.state,postalCode:t.postalCode,country:t.country.selectedOption??u.strings.empty,secondaryInfo:t.secondaryInfo};h.trackOnboardingBillingAddressSave(n)})(),Fe($,!1,!0),Z({fromStep:i,shouldNavigate:!0,stepDirection:"next"})):K(i,"next",!0)},200):K(i,"next",!0);break;case"qbo_connection":K(i,"next",!0);break;case"company_officer":if(qe){const e=mt();if(ye(()=>{const t=M();F?.(t)}),e.needsOtp&&e.phoneNumber&&ge(e.phoneNumber)){const t=s.formState.errors[b]?.[X<0?0:X],n=t?.phone,o=t!=null&&Object.keys(t).some(c=>c!=="phone"&&t[c]!=null);if(n!=null&&!o)return void et(e.phoneNumber)}e.isValid&&(Fe($,!1,!1),h.trackOnboardingCompanyOfficerSave(yt(),{legalName:p?.companyLegalName},(()=>{const t=L[$],n=[];return t?.firstName!=null&&t.firstName!==u.strings.empty&&n.push("first_name"),t?.lastName!=null&&t.lastName!==u.strings.empty&&n.push("last_name"),t?.birthday!=null&&n.push("dob"),t?.nationalityCountryCode!=null&&n.push("nationality"),t?.addressStatus?.addressToCreate!=null&&n.push("address"),t?.phone!=null&&t.phone!==u.strings.empty&&t.isPhoneVerified===!0&&n.push("phone"),t?.titleAtCompany!=null&&t.titleAtCompany!==u.strings.empty&&n.push("company_role"),t?.ownershipInCompany!=null&&n.push("ownership"),t?.ssn!=null&&t.ssn!==u.strings.empty&&n.push("ssn"),t?.documentTypeSelectedForVerification!=null&&n.push("document_type"),t?.fileIds!=null&&t.fileIds.length>0&&n.push("document_uploaded"),{completedFields:n,status:n.length===11?"complete":n.length>0?"partially_complete":"incomplete"}})()),Z({fromStep:i,shouldNavigate:!0,stepDirection:"next"}))}else K(i,"next",!0);break;case"company_details":Pe(!0);{const e=!(lt()&&me()),t=!Le?.accounting[0]?.isValid&&S.includes("qbo_connection");if(e||t)return e&&(s.trigger(`${ee}`),s.trigger(`${y}`)),t&&s.trigger(he),ye(()=>{const n=M();F?.(n)}),void(e?$e("link_payment_account"):t&&$e("qbo_connection"))}if(zt||qe||!ke?.email){const e=Ht(),t=qe?mt():{isValid:!0};ye(()=>{const n=M();F?.(n)}),e&&t.isValid?(Ee&&(z(!0),Kt()),Fe($,!Ee,!1),h.trackOnboardingCompanyDetailsSave({companyDescription:p?.companyDescription,legalName:p?.companyLegalName,industry:p?.companyIndustry??u.strings.empty,incDate:p?.incDate?.toString(),phone:p?.phone,website:p?.website?.toString(),formattedAddress:p?.addressStatus?.addressToCreate!=null?B(p?.addressStatus?.addressToCreate):void 0},(()=>{const n=p,o=[];return n?.companyLegalName!=null&&o.push("legal_name"),n?.companyDescription!=null&&n?.companyDescription!==u.strings.empty&&o.push("company_description"),n?.addressStatus?.addressToCreate!=null&&o.push("company_address"),n?.registeredAddressStatus?.addressToCreate!=null&&o.push("registered_address"),n?.website!=null&&o.push("website"),n?.companyIndustry!=null&&n?.companyIndustry!==u.strings.empty&&o.push("industry"),n?.typeOfIncorporation!=null&&n?.typeOfIncorporation!==u.strings.empty&&o.push("type_of_incorporation"),n?.incDate!=null&&o.push("inc_date"),n?.phone!=null&&o.push("phone"),n?.primaryContactLocalData?.firstName!=null&&n?.primaryContactLocalData?.lastName!=null&&o.push("primary_contact_name"),n?.primaryContactLocalData?.email!=null&&o.push("primary_contact_email"),n?.taxIdOrEIN!=null&&o.push("tax_id_or_ein"),n?.companyFiles.find(c=>c.documentType==="certificate_of_incorporation")!=null&&o.push("certificate_of_incorporation"),n?.companyFiles.find(c=>c.documentType==="tax_ein")!=null&&o.push("ein"),{completedFields:o,status:o.length===14?"complete":o.length>0?"partially_complete":"incomplete"}})(),{firstName:ke?.firstName,lastName:ke?.lastName,email:ke?.email}),Z({fromStep:i,shouldNavigate:!0,stepDirection:"next"})):t.isValid||$e("company_officer")}else Ee?qt():K(i,"next",!0)}},label:i==="company_details"?u.footer.submit:rt.next,isLoading:v.fetchState==="In-Progress",isDisabled:v.fetchState==="In-Progress"},cancelBtn:{onClick:()=>{K(i,"previous",!0)},label:rt.back,isDisabled:v.fetchState==="In-Progress"||S.indexOf(i)===0},containerStyle:{width:"auto",justifyContent:"center"},showCancel:!0})]}),l.jsx(ln,{handleConfirmCardSetupIntent:V,updateCardPaymentModalState:D,handleCreateCardSetupIntent:d,handleAddCardPaymentSource:I,cardPaymentView:k,stripeKey:f,isCardPaymentOpen:Be.isCardPaymentPopupOpen,handleResetCardPaymentErrorStatuses:ve,cardSetupInProgress:He,setCardSetupInProgress:Mt})]})},On=xt`
13
+ `,bn=({isValid:a,sectionId:C="onboardingQboConnection",...r})=>{const{register:g}=nn();return l.jsxs(Sn,{children:[l.jsx(Cn,{type:"hidden",...g(`${C}.connected`,{validate:_=>_==="true"}),value:a?"true":"false"}),l.jsx(mn,{isValid:a,...r})]})},z="companyDetails",b="companyOfficer",ee="onboardingPaymentAccountSetupSection",Pt="customerOnboardingDetailPage",y="onboardingSubscriptionBillingAddress",he="onboardingQboConnection",Se={titleWidth:new fe(343,580,726,826),topNavBarHeight:new fe(52,52,63),topNavBarLeftRightSpace:new fe(Y[5],Y[9],112),subTitlePaddingTop:new fe(Y[3],Y[3]),subTitlePaddingBottom:new fe(Y[3],Y[3])},In=a=>`${a}_form`,le=Ge.getLocalizedStrings(),Pn=({fileProps:a,isRefreshingViewInBackground:C,isAdmin:r,onboardingCustomerView:g,companyTitles:_,connectedAccountProvider:w,analytics:h,cardPaymentView:k,stripeKey:f,googleAPIKey:T,handleCreateCardSetupIntent:d,handleConfirmCardSetupIntent:V,updateCardPaymentModalState:D,handleAddCardPaymentSource:I,resetCardPaymentViewState:te,handleResetCardPaymentErrorStatuses:ve,redirectToProductSuitePage:Ce,onFormErrorsChange:F,..._e})=>{const U=Ye(),Ne=m.useRef(null),Ve=m.useRef(null),G=m.useRef(null),De=m.useRef(null),[be,R]=m.useState(!1),[q,H]=m.useState("next"),[E,Ie]=m.useState(!1),[de,Pe]=m.useState(!1),[ne,Z]=m.useState(null),{onAddressClick:ae,onCompanyDetailsChanged:A,onCompanyOfficerUpdated:Ae,onFetchLinkTokenClick:pe,onUpdatePaymentAccountStatus:oe,onUpdatePaymentAccountLoginStatus:ue,onEstablishConnectionClick:ie,onEstablishConnectionSuccess:N,onDeleteFile:Ze,onEditFileName:Je,updateFilesEntity:Xe,onGetOtp:wt,onSkipSetupClick:Te,onUpdateCustomerView:Fe,updateStepHandler:K,onVerifyOtp:kt,onResendOtp:vt,handleOnConnectClick:_t,updateQBOPopupState:Nt,onUpdateStep:$e,onAddressEditHandler:Vt}=_e,Dt=Wt(),s=Yt({mode:"onSubmit",reValidateMode:"onChange",defaultValues:We(g,g.allNationalityCountries),values:We(g,g.allNationalityCountries),shouldFocusError:!0,resetOptions:{keepDirtyValues:!0}}),M=m.useCallback(()=>{const e=[];return(s.getFieldState(ee).error!=null||s.getFieldState(y).error!=null)&&e.push("link_payment_account"),s.getFieldState(he).error!=null&&e.push("qbo_connection"),e},[s]);m.useEffect(()=>{const e=M();F?.(e)},[M,F]),m.useEffect(()=>{const e=s.watch((t,{name:n,type:o})=>{n!=null&&(o==="change"||o==="blur")&&ye(()=>{const c=M();F?.(c)})});return()=>e.unsubscribe()},[s,M,F]);const et=e=>{at(e)},{companyView:se,companyDetailsLocalData:p,companyOfficerLocalData:L,currentStep:i,completedSteps:tt,saveStatus:v,allSteps:S,allRequiredStepsCompleted:Ee,paymentAccount:Q,paymentAccountStatus:nt,externalConnections:Le,plaidConnectionDetails:je,uiState:Be,allNationalityCountries:Oe,pendingSaveDetails:{companyDetails:At,officer:Tt},subscriptionBillingAddress:J}=g,xe=m.useRef(""),Ft=e=>{xe.current=e;const t=Object.values(g.companyOfficerLocalData).findIndex(o=>o?.isSelectedForVerification===!0)??0,n=t<0?0:t;s.clearErrors(`${b}.${n}.phone`)},at=e=>{e==null||ge(e)?wt(e):s.trigger(`${b}.${X}.phone`)},X=Object.values(L).findIndex(e=>e?.isSelectedForVerification===!0)??0,$=`Officer_${X<0?1:X+1}`,$t=se?.companyOfficers.slice(0,10).sort((e,t)=>e.user.createTime?.isAfter(t.user.createTime)===!0?1:-1),ze=L[$]?.userId!=null?$t?.find(e=>e.user.userId===L[$]?.userId)?.address:null,ot=L[$]?.addressStatus?.addressToCreate,we=se?.companyAddress,it=p?.addressStatus?.addressToCreate,Ue=se?.registeredAddress,st=p?.registeredAddressStatus?.addressToCreate,{customerOnboardingPage:Et,common:u}=le,{footer:Lt,steps:jt}=Et,{buttons:rt}=Lt,ct=jt[i],Re=S.length,re=Me(v.fetchState),j=Me(i),me=()=>{const e=Object.values(je).some(c=>c.fetchStatus.fetchState==="Completed"),t=Q?.providerVerificationStatus?.code?.includes("verified")??!1,n=k.cardsList.length>0,o=k.bankAccountsList[0]?.providerVerificationStatus?.code?.includes("verified")??!1;return e&&t||!t&&!Q&&n||!n&&!Q&&o};function lt(){if(s.getFieldState(y).error)return!1;const e=s.getValues(y),t=J?.street.join("").trim(),n=J?.city,o=J?.state,c=J?.country,P=J?.postalCode!=null&&J.postalCode||e.postalCode||u.strings.empty;return!!(t&&n&&o&&c&&P)}const dt=Me(Q?.providerVerificationStatus?.code);m.useEffect(()=>{dt==="pending_manual_verification"&&Q?.providerVerificationStatus?.code==="manually_verified"&&h.trackOnboardingBankAccountVerified("manual")},[h,Q?.providerVerificationStatus?.code,dt]),m.useEffect(()=>{const e=s.watch((t,{name:n})=>{n!=null&&t!=null&&ye(()=>(async(o,c)=>{if(o.includes(z))A?.(c[z]);else if(o.includes(b))Ae?.(c[b]);else if(o.includes(y)&&c[y]!=null){const P=s.getValues(`${y}`).country;let O=c[y];if(o.includes(`${y}.street`)&&c[y].street!=null){const{addressValue:W}=c[y].street,Ke=Ot(W?.country);O={street:c[y].street??u.strings.empty,city:W?.locality??u.strings.empty,state:W?.administrativeAreaLevel1??u.strings.empty,country:Ke,countryCode:W?.countryCode??u.strings.empty,postalCode:W?.postalCode??u.strings.empty,secondaryInfo:c[y].secondaryInfo,suite:c[y].suite},P.selectedOption!==Ke.selectedOption&&(O={...O,country:Ke})}else(o===`${y}.country`&&P.selectedOption!=null||P.selectedOption!=null&&o.includes(`${y}.street`)===!1)&&(O={...O,countryCode:tn(P.selectedOption)});Vt(O)}})(n,t))});return()=>{e.unsubscribe()}}),m.useEffect(()=>{re==="In-Progress"&&v.fetchState==="Completed"&&(s.reset(We(g,Oe),{keepDirtyValues:!1}),j==="company_details"&&i==="link_payment_account"&&!S.includes("qbo_connection")&&!g.qboConnected&&Ce())},[s,g,re,v.fetchState,Oe,j,i,S,Ce]),m.useEffect(()=>{be&&re==="In-Progress"&&v.fetchState==="Completed"&&(Te(),h.track(ft.Event.onboardingSkipAndSave))},[re,be,v.fetchState,Te]),m.useEffect(()=>{ne?.shouldNavigate===!0&&re==="In-Progress"&&v.fetchState==="Completed"&&(Z(null),K(ne.fromStep,ne.stepDirection,!0))},[ne,re,v.fetchState,K]),m.useLayoutEffect(()=>{j!=null&&j!==i&&(S.indexOf(j)===S.indexOf(i)-1||S.indexOf(j)===Re-1&&S.indexOf(i)===0?q!=="next"&&H("next"):(S.indexOf(j)-1===S.indexOf(i)||S.indexOf(j)===0&&S.indexOf(i)===Re-1)&&q!=="previous"&&H("previous"))},[S,i,j,q,Re]);const pt=()=>{const e=L[$];return!!(e?.firstName||e?.lastName||e?.email||e?.nationalityCountryCode||e?.birthday||e?.ownershipInCompany||e?.phone||e?.ssn||e?.titleAtCompany||e?.addressStatus?.addressToCreate||e?.fileIds!=null&&e?.fileIds.length>0)},Bt=!Qe(ot!=null?B(ot):null,ze!=null?B(ze):null),zt=!Qe(it!=null?B(it):null,we!=null?B(we):null),Ut=!Qe(st!=null?B(st):null,Ue!=null?B(Ue):null),Rt=s.getFieldState(z).isDirty||zt||Ut||At,qe=s.getFieldState(b).isDirty&&pt()||Bt||Tt,ut=s.getFieldState(`${y}`).isDirty,ke=p?.primaryContactLocalData,qt=()=>{v.fetchState!=="In-Progress"&&(Te(),h.track(ft.Event.onboardingSkipAndSave))},mt=()=>{const e=L[$],t=e?.email??u.strings.empty,n=e?.phone??u.strings.empty,o=e?.ssn??u.strings.empty,c=e?.ownershipInCompany,P=X<0?0:X;let O=!0,W=!1;return t&&!(e?.firstName&&e?.lastName)&&(s.trigger([`${b}.${P}.name.firstName`,`${b}.${P}.name.lastName`],{shouldFocus:i==="company_officer"}),O=!1),(!t&&pt()||St.test(t)===!1)&&(s.trigger(`${b}.${P}.email`,{shouldFocus:i==="company_officer"}),O=!1),n&&ge(n)===!1&&(s.trigger(`${b}.${P}.phone`,{shouldFocus:i==="company_officer"}),O=!1),n&&ge(n)===!0&&w==="unit"&&(xe.current!==""&&n===xe.current||(W=!0,s.setError(`${b}.${P}.phone`,{type:"custom",message:le.commonSetUp.businessVerification.phoneValidationError},{shouldFocus:i==="company_officer"}),O=!1)),c!=null&&c>100&&(s.trigger(`${b}.${P}.ownership`,{shouldFocus:i==="company_officer"}),O=!1),o&&sn.test(o)===!1&&(s.trigger(`${b}.${P}.ssn`,{shouldFocus:i==="company_officer"}),O=!1),{isValid:O,needsOtp:W,phoneNumber:n}},Ht=()=>{const e=p?.website?.toString()??u.strings.empty,t=p?.phone??u.strings.empty,n=p?.taxIdOrEIN??u.strings.empty,o=p?.primaryContactLocalData?.email??u.strings.empty;let c=!0;return e&&ht.test(e)===!1&&(s.trigger(`${z}.companyWebsite`,{shouldFocus:i==="company_details"}),c=!1),ht.lastIndex=0,t&&ge(t)===!1&&(s.trigger(`${z}.companyPhone`,{shouldFocus:i==="company_details"}),c=!1),(!o||St.test(o)===!1)&&(s.trigger(`${z}.primaryContactEmail`,{shouldFocus:i==="company_details"}),c=!1),n&&on.test(n)===!1&&(s.trigger(`${z}.companyTaxId`,{shouldFocus:i==="company_details"}),c=!1),c},yt=()=>{const e=L[$];return{email:e?.email??u.strings.empty,birthday:e?.birthday?.toString(),companyOwnership:e?.ownershipInCompany,firstName:e?.firstName,lastName:e?.lastName,companyRole:e?.titleAtCompany,phone:e?.phone,formattedAddress:e?.addressStatus?.addressToCreate!=null?B(e?.addressStatus?.addressToCreate):void 0,documentTypeForVerification:e?.documentTypeSelectedForVerification}},Kt=()=>{const e=p?.primaryContactLocalData;h.trackBusinessVerificationSave(yt(),{companyDescription:p?.companyDescription,legalName:p?.companyLegalName,phone:p?.phone,website:p?.website?.toString(),industry:p?.companyIndustry??u.strings.empty,formattedAddress:p?.addressStatus?.addressToCreate!=null?B(p?.addressStatus?.addressToCreate):void 0},{firstName:e?.firstName,lastName:e?.lastName,email:e?.email},"onboarding")},[He,Mt]=m.useState(!1);return l.jsxs(wn,{children:[l.jsxs(kn,{windowSize:U,children:[S.indexOf(i)>=0?l.jsx(Gt,{title:ct.sectionTitle,showBackButton:!1,backgroundColor:Dt.colors.grey4,style:{zIndex:4},showLeftSection:U!=="small",titleStyle:{display:"flex",alignItems:"center"},navBarContainerStyles:{paddingTop:ce.sp0,paddingBottom:ce.sp0},source:"CustomerOnboardingDetailPage"}):l.jsx(vn,{windowSize:U,children:l.jsx(Nn,{windowSize:U,children:l.jsx(_n,{})})}),l.jsx(Zt,{...s,children:l.jsx(Dn,{id:In(Pt),children:S.map(e=>{let t;t=l.jsx(Ct,{connectedAccountProvider:w,paymentAccount:Q,accountStatus:nt,plaidConnectionDetails:je,sectionId:ee,hasError:s.getFieldState(ee).error!=null||de&&!me(),isValid:me(),analytics:h,onFetchLinkTokenClick:pe,onEstablishConnectionClick:ie,onUpdatePaymentAccountStatus:oe,onUpdatePaymentAccountLoginStatus:ue,onEstablishConnectionSuccess:N,cardPaymentView:k,resetCardPaymentViewState:te,updateCardPaymentModalState:D,cardSetupInProgress:He,subscriptionBillingAddressSectionId:y});let n=Ne;switch(e){case"link_payment_account":t=l.jsx(Ct,{connectedAccountProvider:w,paymentAccount:Q,accountStatus:nt,plaidConnectionDetails:je,subscriptionBillingAddressSectionId:y,sectionId:ee,hasError:s.getFieldState(ee).error!=null||de&&!me(),isValid:me(),analytics:h,onFetchLinkTokenClick:pe,onEstablishConnectionClick:ie,onUpdatePaymentAccountStatus:oe,onUpdatePaymentAccountLoginStatus:ue,onEstablishConnectionSuccess:N,updateCardPaymentModalState:D,cardPaymentView:k,resetCardPaymentViewState:te,cardSetupInProgress:He,googleAPIKey:T,subscriptionBillingAddress:J});break;case"qbo_connection":t=l.jsx(bn,{sectionId:he,hasError:s.getFieldState(he).error!=null,isAdmin:r,isValid:Le?.accounting[0]?.isValid??!1,companyName:se?.company.company.companyInfo.companyLegalName,saveConnectionState:Le?.saveConnectionState,isQBOPopupOpen:Be.isQBOPopupOpen,handleOnConnectClick:_t,updateQBOPopupState:Nt}),n=Ve;break;case"company_officer":t=l.jsx(yn,{companyOfficerLocalData:L,allNationalityCountries:Oe,isCompleted:tt.includes("company_officer"),companyView:se,sectionId:b,filesEndPoint:a.filesEndPoint,authParams:a.authParams,isRefreshingViewInBackground:C,companyTitles:_,isVerificationPopupOpen:E,setIsVerificationPopupOpen:Ie,onGetOtp:et,onVerifyOtp:kt,onResendOtp:vt,onOfficerAddressClick:o=>ae(o,ze?.addressId),updateFilesEntity:Xe,onEditFileName:Je,onDeleteFile:Ze,verifiedPhoneNumber:xe.current,onPhoneVerified:Ft,isDisabled:v.fetchState==="In-Progress"?"readonly":void 0,triggerError:at}),n=De;break;case"company_details":t=l.jsx(gn,{fileProps:{...a,onEditFileName:Je,onDeleteFile:Ze,updateFilesEntity:Xe},allNationalityCountries:Oe,sectionId:z,companyIndustries:g.companyIndustries,companyDetails:p,isDisabled:v.fetchState==="In-Progress"?"readonly":void 0,isCompleted:tt.includes("company_details"),onCompanyAddressClick:o=>{const c=se?.company.company.companyOnboardingInfo.subscriptionBillingAddressId;ae(o,we?.addressId==null&&c!=null?c:we?.addressId)},onRegisteredAddressClick:o=>ae(o,Ue?.addressId)}),n=G}return l.jsxs(Vn,{ref:n,isVisible:i===e,includeAnimation:i==="link_payment_account"||i==="qbo_connection"?!Be.isQBOPopupOpen:i!=="company_officer"||!E,paddingBottom:e==="company_details"||e==="company_officer"?Y[6]:Y[0],stepAnimationDirection:q,children:[S.indexOf(i)>=0?l.jsx(An,{windowSize:U,children:ct.sectionSubTitle}):null,t]},e)})})}),l.jsx(Jt,{formId:`${Pt}`,style:{width:U==="small"?"auto":"100%",paddingTop:ce.sp2,paddingBottom:ce.sp2},primaryBtn:{onClick:()=>{switch(Pe(!1),i){case"link_payment_account":ut?setTimeout(()=>{const e=M();F?.(e),lt()&&ut?((()=>{const t=s.getValues(y),n={street:t.street.addressString,suite:t.suite,city:t.city,state:t.state,postalCode:t.postalCode,country:t.country.selectedOption??u.strings.empty,secondaryInfo:t.secondaryInfo};h.trackOnboardingBillingAddressSave(n)})(),Fe($,!1,!0),Z({fromStep:i,shouldNavigate:!0,stepDirection:"next"})):K(i,"next",!0)},200):K(i,"next",!0);break;case"qbo_connection":K(i,"next",!0);break;case"company_officer":if(qe){const e=mt();if(ye(()=>{const t=M();F?.(t)}),e.needsOtp&&e.phoneNumber&&ge(e.phoneNumber)){const t=s.formState.errors[b]?.[X<0?0:X],n=t?.phone,o=t!=null&&Object.keys(t).some(c=>c!=="phone"&&t[c]!=null);if(n!=null&&!o)return void et(e.phoneNumber)}e.isValid&&(Fe($,!1,!1),h.trackOnboardingCompanyOfficerSave(yt(),{legalName:p?.companyLegalName},(()=>{const t=L[$],n=[];return t?.firstName!=null&&t.firstName!==u.strings.empty&&n.push("first_name"),t?.lastName!=null&&t.lastName!==u.strings.empty&&n.push("last_name"),t?.birthday!=null&&n.push("dob"),t?.nationalityCountryCode!=null&&n.push("nationality"),t?.addressStatus?.addressToCreate!=null&&n.push("address"),t?.phone!=null&&t.phone!==u.strings.empty&&t.isPhoneVerified===!0&&n.push("phone"),t?.titleAtCompany!=null&&t.titleAtCompany!==u.strings.empty&&n.push("company_role"),t?.ownershipInCompany!=null&&n.push("ownership"),t?.ssn!=null&&t.ssn!==u.strings.empty&&n.push("ssn"),t?.documentTypeSelectedForVerification!=null&&n.push("document_type"),t?.fileIds!=null&&t.fileIds.length>0&&n.push("document_uploaded"),{completedFields:n,status:n.length===11?"complete":n.length>0?"partially_complete":"incomplete"}})()),Z({fromStep:i,shouldNavigate:!0,stepDirection:"next"}))}else K(i,"next",!0);break;case"company_details":Pe(!0);{const e=!(lt()&&me()),t=!Le?.accounting[0]?.isValid&&S.includes("qbo_connection");if(e||t)return e&&(s.trigger(`${ee}`),s.trigger(`${y}`)),t&&s.trigger(he),ye(()=>{const n=M();F?.(n)}),void(e?$e("link_payment_account"):t&&$e("qbo_connection"))}if(Rt||qe||!ke?.email){const e=Ht(),t=qe?mt():{isValid:!0};ye(()=>{const n=M();F?.(n)}),e&&t.isValid?(Ee&&(R(!0),Kt()),Fe($,!Ee,!1),h.trackOnboardingCompanyDetailsSave({companyDescription:p?.companyDescription,legalName:p?.companyLegalName,industry:p?.companyIndustry??u.strings.empty,incDate:p?.incDate?.toString(),phone:p?.phone,website:p?.website?.toString(),formattedAddress:p?.addressStatus?.addressToCreate!=null?B(p?.addressStatus?.addressToCreate):void 0},(()=>{const n=p,o=[];return n?.companyLegalName!=null&&o.push("legal_name"),n?.companyDescription!=null&&n?.companyDescription!==u.strings.empty&&o.push("company_description"),n?.addressStatus?.addressToCreate!=null&&o.push("company_address"),n?.registeredAddressStatus?.addressToCreate!=null&&o.push("registered_address"),n?.website!=null&&o.push("website"),n?.companyIndustry!=null&&n?.companyIndustry!==u.strings.empty&&o.push("industry"),n?.typeOfIncorporation!=null&&n?.typeOfIncorporation!==u.strings.empty&&o.push("type_of_incorporation"),n?.incDate!=null&&o.push("inc_date"),n?.phone!=null&&o.push("phone"),n?.primaryContactLocalData?.firstName!=null&&n?.primaryContactLocalData?.lastName!=null&&o.push("primary_contact_name"),n?.primaryContactLocalData?.email!=null&&o.push("primary_contact_email"),n?.taxIdOrEIN!=null&&o.push("tax_id_or_ein"),n?.companyFiles.find(c=>c.documentType==="certificate_of_incorporation")!=null&&o.push("certificate_of_incorporation"),n?.companyFiles.find(c=>c.documentType==="tax_ein")!=null&&o.push("ein"),{completedFields:o,status:o.length===14?"complete":o.length>0?"partially_complete":"incomplete"}})(),{firstName:ke?.firstName,lastName:ke?.lastName,email:ke?.email}),Z({fromStep:i,shouldNavigate:!0,stepDirection:"next"})):t.isValid||$e("company_officer")}else Ee?qt():K(i,"next",!0)}},label:i==="company_details"?u.footer.submit:rt.next,isLoading:v.fetchState==="In-Progress",isDisabled:v.fetchState==="In-Progress"},cancelBtn:{onClick:()=>{K(i,"previous",!0)},label:rt.back,isDisabled:v.fetchState==="In-Progress"||S.indexOf(i)===0},containerStyle:{width:"auto",justifyContent:"center"},showCancel:!0})]}),l.jsx(ln,{handleConfirmCardSetupIntent:V,updateCardPaymentModalState:D,handleCreateCardSetupIntent:d,handleAddCardPaymentSource:I,cardPaymentView:k,stripeKey:f,isCardPaymentOpen:Be.isCardPaymentPopupOpen,handleResetCardPaymentErrorStatuses:ve,cardSetupInProgress:He,setCardSetupInProgress:Mt})]})},On=xt`
14
14
  from {
15
15
  transform: translateY(100%);
16
16
  opacity: 0;
@@ -94,7 +94,7 @@ import{V as l,f0 as Qt,e as Ye,y as Wt,T as Yt,c8 as ye,a7 as Me,J as ft,S as Qe
94
94
  text-align: ${a=>a.windowSize==="small"?"initial":"center"};
95
95
  width: 100%;
96
96
  white-space: pre-line;
97
- `,We=(a,C)=>{const{companyDetailsLocalData:r,companyOfficerLocalData:g,companyView:_}=a,w=le.commonSetUp.businessVerification,h=le.companyPassport,k=_?.companyOfficers!=null&&_?.companyOfficers.length>0;return{[R]:{companyDescription:r?.companyDescription??le.common.strings.empty,ein:r?.companyFiles.find(f=>f.documentType==="tax_ein"),companyId:r?.companyId,syncToken:r?.syncToken,companyLegalName:r?.companyLegalName,companyWebsite:r?.website?.toString()??le.common.strings.empty,companyAddress:r?.addressStatus?.addressToCreate,registeredAddress:r?.registeredAddressStatus?.addressToCreate,companyIndustry:{selectedOption:r?.companyIndustry,allOptions:a.companyIndustries.map(f=>f.code)},companyIndustryType:{selectedOption:r?.companyIndustryType,allOptions:[...rn]},companySubIndustry:{selectedOption:r?.companySubIndustry,allOptions:cn(r?.companyIndustryType)},companyPhone:r?.phone,companyTaxId:r?.taxIdOrEIN,primaryContactName:{firstName:r?.primaryContactLocalData?.firstName,lastName:r?.primaryContactLocalData?.lastName},primaryContactEmail:r?.primaryContactLocalData?.email,primaryContactUserId:r?.primaryContactLocalData?.userId,primaryContactSyncToken:r?.primaryContactLocalData?.syncToken,fileIds:r?.companyFiles.map(f=>f.fileId)??[],certificateOfIncorporation:r?.companyFiles.find(f=>f.documentType==="certificate_of_incorporation"),incDate:r?.incDate?.toDate(),typeOfIncorporation:{selectedOption:r?.typeOfIncorporation,allOptions:h.companyIncInfo.allTypesOfIncorporation}},[b]:Object.values(g).map((f,T)=>{const d=f,V=en(d?.documentTypeSelectedForVerification);return{userId:d?.userId,officerType:d?.officerType??`Officer_${T+1}`,name:{firstName:d?.firstName,lastName:d?.lastName},email:d?.email,fileIds:d?.fileIds??[],dob:d?.birthday?.toDate(),nationalityCountryCode:Ot(d?.nationalityCountryCode,C.map(D=>D.countryCode)),ssn:d?.ssn,role:{selectedOption:d?.titleAtCompany,allOptions:w.allTypesOfRoles},phone:d?.phone,ownership:d?.ownershipInCompany,officerAddress:d?.addressStatus?.addressToCreate,selectDocument:{front:gt(!0,d?.userFiles??[],V),back:gt(!1,d?.userFiles??[],V),selectDocumentType:V},isSelectedForVerification:!k&&T===0||(d?.isSelectedForVerification??!1),userVerificationStatus:d?.userVerificationStatus,syncToken:d?.syncToken,isPhoneVerified:d?.isPhoneVerified,otpChallenge:d?.otpChallenge}}),[ee]:{account:{allOptions:[],selectedOption:void 0}},[y]:Xt(y,a?.subscriptionBillingAddress)[y],[he]:{connected:a.externalConnections?.accounting[0]?.isValid??!1}}},la=a=>{const{onboardingCustomerView:C,cardPaymentView:r,signedInUser:g,currentTenant:_,isOnAddressPage:w,stripeKey:h,googleAPIKey:k,onUpdateStep:f,onZeniLogoClick:T,handleLogOutClick:d,handleCockpitClick:V,meetingUrl:D,analytics:I,handleCreateCardSetupIntent:te,handleConfirmCardSetupIntent:ve,handleFetchPaymentSources:Ce,updateCardPaymentModalState:F,resetCardPaymentViewState:_e,handleResetCardPaymentErrorStatuses:U,redirectToProductSuitePage:Ne,...Ve}=a,{allSteps:G,completedSteps:De,halfCompletedSteps:be,currentStep:z,fetchStatus:q}=C,H=m.useRef(z),E=m.useRef(G),[Ie,de]=m.useState(!1),[Pe,ne]=m.useState([]),Z={allSteps:G,isOnAddressPage:w,completedSteps:De,halfCompletedSteps:be,errorSteps:Pe,currentStep:z,fetchStatus:q,signedInUser:g,currentTenant:_,onUpdateStep:A=>{f(A)},onZeniLogoClick:T,handleLogOutClick:d,handleCockpitClick:V,setIsStepClicked:de};m.useEffect(()=>{if(H.current!==z){const A=H.current;Ie===!0&&(I?.trackOnboardingCurrentStep(z,A),de(!1)),H.current=z}},[z,Ie,I]),m.useEffect(()=>{G.length!==E.current.length&&(E.current=G)},[G]);const ae=q.fetchState==="In-Progress"||q.fetchState==="Not-Started";return l.jsx(Tn,{isOnAddressPage:w,children:w?l.jsx(bt,{...Z}):l.jsxs(Fn,{children:[l.jsx(bt,{...Z}),ae?l.jsx(dn,{isNoStepsPage:!1}):l.jsx(Pn,{onboardingCustomerView:C,analytics:I,updateStepHandler:(A,Ae,pe)=>{const oe=E.current.length,ue=E.current.indexOf(A);switch(Ae){case"next":{const ie=(ue+1)%oe,N=E.current[ie];H.current=N,f(N),pe===!0?I.trackOnboardingNext(A,N):I.trackOnboardingCurrentStep(N,A);break}case"previous":{const ie=(ue+oe-1)%oe,N=E.current[ie];H.current=N,f(N),pe===!0?I.trackOnboardingBack(A,N):I.trackOnboardingCurrentStep(N,A);break}}},onUpdateStep:f,handleCreateCardSetupIntent:te,handleConfirmCardSetupIntent:ve,updateCardPaymentModalState:F,handleFetchPaymentSources:Ce,cardPaymentView:r,resetCardPaymentViewState:_e,stripeKey:h,googleAPIKey:k,handleResetCardPaymentErrorStatuses:U,redirectToProductSuitePage:Ne,onFormErrorsChange:ne,...Ve}),ae?null:l.jsx(Qt,{isFooterRendered:!0,meetingUrl:D,analytics:I,productType:"onboarding"})]})})},Tn=x.div`
97
+ `,We=(a,C)=>{const{companyDetailsLocalData:r,companyOfficerLocalData:g,companyView:_}=a,w=le.commonSetUp.businessVerification,h=le.companyPassport,k=_?.companyOfficers!=null&&_?.companyOfficers.length>0;return{[z]:{companyDescription:r?.companyDescription??le.common.strings.empty,ein:r?.companyFiles.find(f=>f.documentType==="tax_ein"),companyId:r?.companyId,syncToken:r?.syncToken,companyLegalName:r?.companyLegalName,companyWebsite:r?.website?.toString()??le.common.strings.empty,companyAddress:r?.addressStatus?.addressToCreate,registeredAddress:r?.registeredAddressStatus?.addressToCreate,companyIndustry:{selectedOption:r?.companyIndustry,allOptions:a.companyIndustries.map(f=>f.code)},companyIndustryType:{selectedOption:r?.companyIndustryType,allOptions:[...rn]},companySubIndustry:{selectedOption:r?.companySubIndustry,allOptions:cn(r?.companyIndustryType)},companyPhone:r?.phone,companyTaxId:r?.taxIdOrEIN,primaryContactName:{firstName:r?.primaryContactLocalData?.firstName,lastName:r?.primaryContactLocalData?.lastName},primaryContactEmail:r?.primaryContactLocalData?.email,primaryContactUserId:r?.primaryContactLocalData?.userId,primaryContactSyncToken:r?.primaryContactLocalData?.syncToken,fileIds:r?.companyFiles.map(f=>f.fileId)??[],certificateOfIncorporation:r?.companyFiles.find(f=>f.documentType==="certificate_of_incorporation"),incDate:r?.incDate?.toDate(),typeOfIncorporation:{selectedOption:r?.typeOfIncorporation,allOptions:h.companyIncInfo.allTypesOfIncorporation}},[b]:Object.values(g).map((f,T)=>{const d=f,V=en(d?.documentTypeSelectedForVerification);return{userId:d?.userId,officerType:d?.officerType??`Officer_${T+1}`,name:{firstName:d?.firstName,lastName:d?.lastName},email:d?.email,fileIds:d?.fileIds??[],dob:d?.birthday?.toDate(),nationalityCountryCode:Ot(d?.nationalityCountryCode,C.map(D=>D.countryCode)),ssn:d?.ssn,role:{selectedOption:d?.titleAtCompany,allOptions:w.allTypesOfRoles},phone:d?.phone,ownership:d?.ownershipInCompany,officerAddress:d?.addressStatus?.addressToCreate,selectDocument:{front:gt(!0,d?.userFiles??[],V),back:gt(!1,d?.userFiles??[],V),selectDocumentType:V},isSelectedForVerification:!k&&T===0||(d?.isSelectedForVerification??!1),userVerificationStatus:d?.userVerificationStatus,syncToken:d?.syncToken,isPhoneVerified:d?.isPhoneVerified,otpChallenge:d?.otpChallenge}}),[ee]:{account:{allOptions:[],selectedOption:void 0}},[y]:Xt(y,a?.subscriptionBillingAddress)[y],[he]:{connected:a.externalConnections?.accounting[0]?.isValid??!1}}},la=a=>{const{onboardingCustomerView:C,cardPaymentView:r,signedInUser:g,currentTenant:_,isOnAddressPage:w,stripeKey:h,googleAPIKey:k,onUpdateStep:f,onZeniLogoClick:T,handleLogOutClick:d,handleCockpitClick:V,meetingUrl:D,analytics:I,handleCreateCardSetupIntent:te,handleConfirmCardSetupIntent:ve,handleFetchPaymentSources:Ce,updateCardPaymentModalState:F,resetCardPaymentViewState:_e,handleResetCardPaymentErrorStatuses:U,redirectToProductSuitePage:Ne,...Ve}=a,{allSteps:G,completedSteps:De,halfCompletedSteps:be,currentStep:R,fetchStatus:q}=C,H=m.useRef(R),E=m.useRef(G),[Ie,de]=m.useState(!1),[Pe,ne]=m.useState([]),Z={allSteps:G,isOnAddressPage:w,completedSteps:De,halfCompletedSteps:be,errorSteps:Pe,currentStep:R,fetchStatus:q,signedInUser:g,currentTenant:_,onUpdateStep:A=>{f(A)},onZeniLogoClick:T,handleLogOutClick:d,handleCockpitClick:V,setIsStepClicked:de};m.useEffect(()=>{if(H.current!==R){const A=H.current;Ie===!0&&(I?.trackOnboardingCurrentStep(R,A),de(!1)),H.current=R}},[R,Ie,I]),m.useEffect(()=>{G.length!==E.current.length&&(E.current=G)},[G]);const ae=q.fetchState==="In-Progress"||q.fetchState==="Not-Started";return l.jsx(Tn,{isOnAddressPage:w,children:w?l.jsx(bt,{...Z}):l.jsxs(Fn,{children:[l.jsx(bt,{...Z}),ae?l.jsx(dn,{isNoStepsPage:!1}):l.jsx(Pn,{onboardingCustomerView:C,analytics:I,updateStepHandler:(A,Ae,pe)=>{const oe=E.current.length,ue=E.current.indexOf(A);switch(Ae){case"next":{const ie=(ue+1)%oe,N=E.current[ie];H.current=N,f(N),pe===!0?I.trackOnboardingNext(A,N):I.trackOnboardingCurrentStep(N,A);break}case"previous":{const ie=(ue+oe-1)%oe,N=E.current[ie];H.current=N,f(N),pe===!0?I.trackOnboardingBack(A,N):I.trackOnboardingCurrentStep(N,A);break}}},onUpdateStep:f,handleCreateCardSetupIntent:te,handleConfirmCardSetupIntent:ve,updateCardPaymentModalState:F,handleFetchPaymentSources:Ce,cardPaymentView:r,resetCardPaymentViewState:_e,stripeKey:h,googleAPIKey:k,handleResetCardPaymentErrorStatuses:U,redirectToProductSuitePage:Ne,onFormErrorsChange:ne,...Ve}),ae?null:l.jsx(Qt,{isFooterRendered:!0,meetingUrl:D,analytics:I,productType:"onboarding"})]})})},Tn=x.div`
98
98
  display: flex;
99
99
  flex-direction: column;
100
100
  width: ${a=>a.isOnAddressPage?"fit-content":"100%"};
@@ -1,4 +1,4 @@
1
- import{e as _,h as B,_ as F,y as I,V as e,a_ as U,o as t,b as k,aL as M,f0 as W,O as A,l as V,r as H,f as l,w as b,u as N,n as R,c2 as J,D as Z,aj as G}from"./index-D57b0ZIG.js";import{a as n}from"./sentry-D8J10Xru.js";import{n as o}from"./mui-CQrPxNXb.js";import{Gk as q}from"./zeni-epic-state-BpS-Wh5Q.js";import K from"./ConfettiBurst-BJrOe5Fg-DQJv_Nip.js";import{T as Q}from"./ProductsCarousel-sNagRI0c-Ce6W9juD.js";import"./pdf-CPt_J5sA.js";import"./core-CRK-q5k6.js";import"./lottie-NpRVnd_t.js";import"./liveblocks-L3GY4hN_.js";import"./recharts-CuxDYXli.js";import"./dnd-CgFlpM7S.js";import"./analytics-BX2zKevq.js";import"./plaid-Dz-bwqi6.js";import"./utils-GhRHHdOC.js";(function(){try{var i=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},p=new i.Error().stack;p&&(i._sentryDebugIds=i._sentryDebugIds||{},i._sentryDebugIds[p]="02a0257d-76c9-4f2c-9ca6-31c01b8175df",i._sentryDebugIdIdentifier="sentry-dbid-02a0257d-76c9-4f2c-9ca6-31c01b8175df")}catch{}})();const X=A.getLocalizedStrings(),Ie=({hasVerifiedBankAccount:i,meetingUrl:p,showUpdatePaymentDetailButton:x=!1,isVisitingFirstTime:$=!1,handleUpdatePaymentAddressDetailClick:v,...L})=>{const d=_(),f=B().analytics,w=F(),S=w.loggedInUser,a=w.currentTenant,[y,P]=n.useState(!1),{handleLogOutClick:z,onZeniLogoClick:T,handleCockpitClick:E}=L,O=I(),{customerOnboardingPage:c}=X,h=s=>{const r=c.productSuite.messageBox;if(!s)return[r.withTaxAndPayroll,r.withCFO];const{productSettings:D}=s,{isPayrollEnabled:g,isCfoEnabled:u,isTaxEnabled:m}=D;return g&&u&&m?[r.withTaxAndPayroll,r.withCFO]:g&&u?[r.withPayroll,r.withCFO]:g&&m?[r.taxAndPayroll]:u&&m?[r.withTax,r.withCFO]:g?[r.onlyPayroll]:u?[r.onlyCFO]:m?[r.onlyTax]:[r.default]};return e.jsxs(e.Fragment,{children:[e.jsx(Y,{children:e.jsxs(ee,{windowSize:d,children:[e.jsx(te,{windowSize:d,children:e.jsx(U,{title:c.productSuite.navTitle,showBackButton:!1,backgroundColor:O.colors.grey4,style:{zIndex:5},source:"CustomerOnboardingProductSuitePage",showLeftSection:d!=="small",titleStyle:{display:"flex",alignItems:"center"},navBarContainerStyles:{paddingTop:t.sp0,paddingBottom:t.sp0},leftSideComponent:e.jsx(xe,{children:e.jsx(fe,{"data-testid":k("zeni-logo-customer-onboarding-product-suite"),onClick:T})}),rightSideComponent:x?e.jsxs(ye,{"data-testid":k("update-to-payment-address-details"),onClick:()=>(s=>{if(v(),!s)return;let r="";r=i?"bank_account":"credit_card",f.trackOnboardingClickUpdatePaymentDetails(r,q(s.productSettings))})(a),children:[e.jsx(we,{}),e.jsx(ke,{className:"btnText",children:c.productSuite.updatePaymentDetails})]}):e.jsx(be,{})})}),e.jsxs(ie,{windowSize:d,children:[e.jsx(oe,{style:{gap:h(a).length>1?t.sp2:t.sp1,padding:h(a).length>1?`12px ${t.sp4} 12px ${t.sp4}`:`12px ${t.sp3} 12px ${t.sp3}`},children:e.jsxs(re,{children:[e.jsxs(C,{children:[e.jsx(ne,{children:e.jsx(se,{})}),e.jsx(j,{children:h(a)[0]})]}),e.jsx(C,{children:h(a).slice(1).map(s=>e.jsx(j,{children:s},s))})]})}),e.jsx(ae,{children:e.jsx(le,{children:c.productSuite.sectionTitle})}),e.jsx(de,{children:e.jsx(Q,{scale:1,showUpdatePaymentDetailButton:x,stopCarousel:y})}),e.jsxs(ce,{href:"https://www.zeni.ai",target:"_blank",rel:"noopener noreferrer",children:[e.jsx(pe,{className:"discover-class",children:c.productSuite.sectionFooter}),e.jsx(he,{className:"discover-class"})]})]}),e.jsx(ge,{children:e.jsxs(ue,{children:[e.jsx(me,{windowSize:d,children:e.jsx(M,{signedInUser:S,currentTenant:a,onLogOutClick:z,onCockpitClick:E})}),e.jsx(W,{isFooterRendered:!1,meetingUrl:p,analytics:f,productType:"onboarding_interim",showPopup:y,setShowPopup:P})]})})]})}),e.jsx(K,{showConfetti:$})]})},Y=o.div`
1
+ import{e as _,h as B,_ as F,y as I,V as e,a_ as U,o as t,b as k,aL as M,f0 as W,O as A,l as V,r as H,f as l,w as b,u as N,n as R,c2 as J,D as Z,aj as G}from"./index-bPu7mlA1.js";import{a as n}from"./sentry-uXR4_KRo.js";import{n as o}from"./mui-CvPZa6D0.js";import{Gk as q}from"./zeni-epic-state-BDdTNPzg.js";import K from"./ConfettiBurst-CeAc4Ily-fAc6vAhM.js";import{T as Q}from"./ProductsCarousel-BRo0P4GW-Bu_QsU8W.js";import"./pdf-LR9rRMEe.js";import"./core-DuCBl3U1.js";import"./lottie-DyJgmWhI.js";import"./liveblocks-UDiQs1XL.js";import"./recharts-7AyWv7E-.js";import"./dnd-BPJHdlPA.js";import"./analytics-hnA26KoH.js";import"./plaid-C4PyP873.js";import"./utils-DXqO5lkM.js";(function(){try{var i=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},p=new i.Error().stack;p&&(i._sentryDebugIds=i._sentryDebugIds||{},i._sentryDebugIds[p]="1a0cdc27-1683-43b4-8c36-329f2208369c",i._sentryDebugIdIdentifier="sentry-dbid-1a0cdc27-1683-43b4-8c36-329f2208369c")}catch{}})();const X=A.getLocalizedStrings(),Ie=({hasVerifiedBankAccount:i,meetingUrl:p,showUpdatePaymentDetailButton:x=!1,isVisitingFirstTime:$=!1,handleUpdatePaymentAddressDetailClick:v,...L})=>{const d=_(),f=B().analytics,w=F(),S=w.loggedInUser,a=w.currentTenant,[y,P]=n.useState(!1),{handleLogOutClick:z,onZeniLogoClick:T,handleCockpitClick:E}=L,O=I(),{customerOnboardingPage:c}=X,h=s=>{const r=c.productSuite.messageBox;if(!s)return[r.withTaxAndPayroll,r.withCFO];const{productSettings:D}=s,{isPayrollEnabled:g,isCfoEnabled:u,isTaxEnabled:m}=D;return g&&u&&m?[r.withTaxAndPayroll,r.withCFO]:g&&u?[r.withPayroll,r.withCFO]:g&&m?[r.taxAndPayroll]:u&&m?[r.withTax,r.withCFO]:g?[r.onlyPayroll]:u?[r.onlyCFO]:m?[r.onlyTax]:[r.default]};return e.jsxs(e.Fragment,{children:[e.jsx(Y,{children:e.jsxs(ee,{windowSize:d,children:[e.jsx(te,{windowSize:d,children:e.jsx(U,{title:c.productSuite.navTitle,showBackButton:!1,backgroundColor:O.colors.grey4,style:{zIndex:5},source:"CustomerOnboardingProductSuitePage",showLeftSection:d!=="small",titleStyle:{display:"flex",alignItems:"center"},navBarContainerStyles:{paddingTop:t.sp0,paddingBottom:t.sp0},leftSideComponent:e.jsx(xe,{children:e.jsx(fe,{"data-testid":k("zeni-logo-customer-onboarding-product-suite"),onClick:T})}),rightSideComponent:x?e.jsxs(ye,{"data-testid":k("update-to-payment-address-details"),onClick:()=>(s=>{if(v(),!s)return;let r="";r=i?"bank_account":"credit_card",f.trackOnboardingClickUpdatePaymentDetails(r,q(s.productSettings))})(a),children:[e.jsx(we,{}),e.jsx(ke,{className:"btnText",children:c.productSuite.updatePaymentDetails})]}):e.jsx(be,{})})}),e.jsxs(ie,{windowSize:d,children:[e.jsx(oe,{style:{gap:h(a).length>1?t.sp2:t.sp1,padding:h(a).length>1?`12px ${t.sp4} 12px ${t.sp4}`:`12px ${t.sp3} 12px ${t.sp3}`},children:e.jsxs(re,{children:[e.jsxs(C,{children:[e.jsx(ne,{children:e.jsx(se,{})}),e.jsx(j,{children:h(a)[0]})]}),e.jsx(C,{children:h(a).slice(1).map(s=>e.jsx(j,{children:s},s))})]})}),e.jsx(ae,{children:e.jsx(le,{children:c.productSuite.sectionTitle})}),e.jsx(de,{children:e.jsx(Q,{scale:1,showUpdatePaymentDetailButton:x,stopCarousel:y})}),e.jsxs(ce,{href:"https://www.zeni.ai",target:"_blank",rel:"noopener noreferrer",children:[e.jsx(pe,{className:"discover-class",children:c.productSuite.sectionFooter}),e.jsx(he,{className:"discover-class"})]})]}),e.jsx(ge,{children:e.jsxs(ue,{children:[e.jsx(me,{windowSize:d,children:e.jsx(M,{signedInUser:S,currentTenant:a,onLogOutClick:z,onCockpitClick:E})}),e.jsx(W,{isFooterRendered:!1,meetingUrl:p,analytics:f,productType:"onboarding_interim",showPopup:y,setShowPopup:P})]})})]})}),e.jsx(K,{showConfetti:$})]})},Y=o.div`
2
2
  display: flex;
3
3
  flex-direction: column;
4
4
  align-items: center;
@@ -1,4 +1,4 @@
1
- import{j as a}from"./pdf-CPt_J5sA.js";import{t as $e,A as Ce}from"./AddressScreen--daeKsww.js";import ze from"./NotFoundScreen-Bbv8H3nZ.js";import{a as g}from"./sentry-D8J10Xru.js";import{j as oe,h as se,i as ie,l as re,u as P,N as E,k as ce,g as Qe,R as Me,m as Q}from"./core-CRK-q5k6.js";import{N as de,_ as le,js as B,aE as ue,y as qe,aG as _,jO as V,bk as J,jz as N,jQ as we,J as X,ks as Ke,e as Ze,a7 as Ie,jD as te,kt as He,ku as ke,o as Je,kv as We,ev as Ee,kw as Xe}from"./index-D57b0ZIG.js";import{bm as Ye,ct as ee,cV as et,cA as pe,cy as me,bt as tt,jA as at,cQ as nt,G7 as ot,gp as ae,gs as ve,Hi as st,F3 as it,bE as ge,oR as he,oC as rt,I0 as Y,oS as _e,Dv as ct,hr as Ue,I1 as Ve,I2 as dt,I3 as lt,I4 as ut,gn as pt,gq as mt,oE as Be,oQ as gt,bG as Te,bJ as ht,p2 as xe,mK as yt,my as ft,hj as St,dj as bt,di as Ct,dh as It,I5 as kt,ow as Et,p3 as Tt,p6 as xt,p9 as Ot,pf as At,Gk as Dt}from"./zeni-epic-state-BpS-Wh5Q.js";import{n as ye}from"./mui-CQrPxNXb.js";import{g as Pt,h as Ft,q as ne}from"./QBOConnectionScreen-Cg7BmKuP.js";import"./lottie-NpRVnd_t.js";import"./liveblocks-L3GY4hN_.js";import"./recharts-CuxDYXli.js";import"./dnd-CgFlpM7S.js";import"./analytics-BX2zKevq.js";import"./plaid-Dz-bwqi6.js";import"./utils-GhRHHdOC.js";import"./empty-DI8oDJKz.js";import"./pdf-lib-QnEuDtVn.js";import"./index-C3bEDUWe.js";import"./url-vH8VntTf.js";import"./index-D8yPC9GA.js";import"./decodeURIComponentSafe-Br2RkwXR.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]="769e9de8-ee45-4754-a0ed-2384ecaa384d",t._sentryDebugIdIdentifier="sentry-dbid-769e9de8-ee45-4754-a0ed-2384ecaa384d")}catch{}})();const jt=ce(function(t,o){const s=[];o.isApAgingFeatureEnabled===!1&&s.push("accounts_payable_aging"),o.isArAgingFeatureEnabled===!1&&s.push("accounts_receivable_aging"),o.shouldFetchZeniAccountsPromoCard===!1&&s.push("zeni_accounts_promo_card"),o.shouldFetchRewardsPlanCard===!1&&s.push("rewards_card"),o.isExpenseAutomationEnabledForUser===!1&&s.push("expense_automation_card");const u=nt(t,s,o.signedInUser,o.isExpenseAutomationFeatureEnabledV2,o.isExpenseAutomationEnabledForUser,o.isTreasuryEnabled);return{dashboardFetchState:ot(u.reportsInOrder.map(d=>({fetchState:d.fetchState,error:d.error}))).fetchState}},function(t,o){const{themeState:s,navigate:u,location:d}=o;return{onZeniLogoClick:()=>{s.toggle()},onDashboardFetchDone:()=>{const r=V(d.state?.pathnameStackToGoBack,d.pathname);u("../../dashboard",{state:{pathnameStackToGoBack:r,message:"activation"}})}}})(Ke),wt=()=>{const t=oe(),o=se(),s=ie(),u=de(),[d,r]=g.useState(!1),[p,S]=g.useState(!1),{tenantEmailDomain:e}=re(),n=le(),i=B.getSignedInUser(),h=Ye(i),{useFeatureGate:m}=ue(),k=qe(),{isFeatureEnabled:T}=m(_.isApAgingFeatureEnabled),{isFeatureEnabled:x}=m(_.isArAgingFeatureEnabled),{isFeatureEnabled:I}=m(_.isDepositAccountsFeatureEnabled),{isFeatureEnabled:y}=m(_.isReferralFeatureEnabled),{isFeatureEnabled:U}=m(_.isExpenseAutomationEnabled),{isFeatureEnabled:C}=m(_.isExpenseAutomationEnabledV2),{isFeatureEnabled:F}=m(_.isDebitCardFeatureEnabled),$=C||U&&h,c=P(l=>ee(l)),{isFeatureEnabled:G}=m(_.isTreasuryEnabled),j=c.company!=null&&et(c.company),L=G&&j,O=P(l=>l.onboardingCustomerViewState.fetchState),b=c.excludedResources,R=c.companyId??B.getSignedInUserTenant(e)?.companyId;if(i==null)throw Error("Can't access onboarding flow without signing in...");const w=pe(F,c),A=me(c),D=[],K=b?.resources?.find(l=>l.resource==="/reports/top_expenses")==null,z=b?.resources?.find(l=>l.resource==="/reports/task_card")==null,M=c?.userRole!=null&&tt(c?.userRole),v=b?.resources?.find(l=>l.resource==="/bills")==null&&!M,q=b?.resources?.find(l=>l.resource==="/reimbursements")==null;if(K===!1&&D.push("top_expenses"),z===!1&&D.push("task_card"),v===!1&&D.push("bill_pay_card","bill_pay_promo_card"),q===!1&&D.push("reimbursement_card","reimbursement_promo_card"),I===!1&&D.push("zeni_accounts_promo_card"),y===!1&&D.push("rewards_card"),g.useEffect(()=>{O!=="Completed"||d||w||A||(r(!0),s(at(i.userId,R,c.tenantId,!0,!1,D)))},[d,O,w,A,i,c.tenantId,s]),g.useEffect(()=>{(w||A)&&setTimeout(()=>{S(!0)},5e3)},[w,A]),O!=="Completed")return a.jsx(E,{to:"../"});if(O==="Completed"&&p){const l=V(o.state?.pathnameStackToGoBack,o.pathname);if(w)return a.jsx(E,{to:"../../checking",state:{...o.state,pathnameStackToGoBack:l,message:"activation"}});if(A)return a.jsx(E,{to:"../../cards",state:{...o.state,pathnameStackToGoBack:l,message:"activation"}})}return n?.loggedInUserRoleMap!=null?a.jsxs(a.Fragment,{children:[a.jsx(J,{analytics:N,onLoad:l=>(Z=>Z.trackPageLoaded(X.Event.onboardingDashboardActivation))(l)}),a.jsx(jt,{navigate:t,location:o,themeState:u,signedInUser:i,isApAgingFeatureEnabled:T,isArAgingFeatureEnabled:x,shouldFetchZeniAccountsPromoCard:I,shouldFetchRewardsPlanCard:y,isExpenseAutomationEnabledForUser:$,isExpenseAutomationFeatureEnabledV2:C,isTreasuryEnabled:L,loggedInUserRoleMap:n?.loggedInUserRoleMap})]}):a.jsx(we,{fetchState:"In-Progress",style:{backgroundColor:k.colors.grey5}})},Oe=ye.div`
1
+ import{j as a}from"./pdf-LR9rRMEe.js";import{t as $e,A as Ce}from"./AddressScreen-7cFlirZg.js";import ze from"./NotFoundScreen-CJqSMVfb.js";import{a as g}from"./sentry-uXR4_KRo.js";import{j as oe,h as se,i as ie,l as re,u as P,N as E,k as ce,g as Qe,R as Me,m as Q}from"./core-DuCBl3U1.js";import{N as de,_ as le,js as B,aE as ue,y as qe,aG as _,jO as V,bk as J,jz as N,jQ as we,J as X,ks as Ke,e as Ze,a7 as Ie,jD as te,kt as He,ku as ke,o as Je,kv as We,ev as Ee,kw as Xe}from"./index-bPu7mlA1.js";import{bm as Ye,ct as ee,cV as et,cA as pe,cy as me,bt as tt,jA as at,cQ as nt,G7 as ot,gp as ae,gs as ve,Hi as st,F3 as it,bE as ge,oR as he,oC as rt,I0 as Y,oS as _e,Dv as ct,hr as Ue,I1 as Ve,I2 as dt,I3 as lt,I4 as ut,gn as pt,gq as mt,oE as Be,oQ as gt,bG as Te,bJ as ht,p2 as xe,mK as yt,my as ft,hj as St,dj as bt,di as Ct,dh as It,I5 as kt,ow as Et,p3 as Tt,p6 as xt,p9 as Ot,pf as At,Gk as Dt}from"./zeni-epic-state-BDdTNPzg.js";import{n as ye}from"./mui-CvPZa6D0.js";import{g as Pt,h as Ft,q as ne}from"./QBOConnectionScreen-DROpihDX.js";import"./lottie-DyJgmWhI.js";import"./liveblocks-UDiQs1XL.js";import"./recharts-7AyWv7E-.js";import"./dnd-BPJHdlPA.js";import"./analytics-hnA26KoH.js";import"./plaid-C4PyP873.js";import"./utils-DXqO5lkM.js";import"./empty-BcYVHaFA.js";import"./pdf-lib-B2ywHAlU.js";import"./index-C0E4etuS.js";import"./url-DnJ-MRbo.js";import"./index-TFe4MZqS.js";import"./decodeURIComponentSafe-B5ZlGWkv.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]="769e9de8-ee45-4754-a0ed-2384ecaa384d",t._sentryDebugIdIdentifier="sentry-dbid-769e9de8-ee45-4754-a0ed-2384ecaa384d")}catch{}})();const jt=ce(function(t,o){const s=[];o.isApAgingFeatureEnabled===!1&&s.push("accounts_payable_aging"),o.isArAgingFeatureEnabled===!1&&s.push("accounts_receivable_aging"),o.shouldFetchZeniAccountsPromoCard===!1&&s.push("zeni_accounts_promo_card"),o.shouldFetchRewardsPlanCard===!1&&s.push("rewards_card"),o.isExpenseAutomationEnabledForUser===!1&&s.push("expense_automation_card");const u=nt(t,s,o.signedInUser,o.isExpenseAutomationFeatureEnabledV2,o.isExpenseAutomationEnabledForUser,o.isTreasuryEnabled);return{dashboardFetchState:ot(u.reportsInOrder.map(d=>({fetchState:d.fetchState,error:d.error}))).fetchState}},function(t,o){const{themeState:s,navigate:u,location:d}=o;return{onZeniLogoClick:()=>{s.toggle()},onDashboardFetchDone:()=>{const r=V(d.state?.pathnameStackToGoBack,d.pathname);u("../../dashboard",{state:{pathnameStackToGoBack:r,message:"activation"}})}}})(Ke),wt=()=>{const t=oe(),o=se(),s=ie(),u=de(),[d,r]=g.useState(!1),[p,S]=g.useState(!1),{tenantEmailDomain:e}=re(),n=le(),i=B.getSignedInUser(),h=Ye(i),{useFeatureGate:m}=ue(),k=qe(),{isFeatureEnabled:T}=m(_.isApAgingFeatureEnabled),{isFeatureEnabled:x}=m(_.isArAgingFeatureEnabled),{isFeatureEnabled:I}=m(_.isDepositAccountsFeatureEnabled),{isFeatureEnabled:y}=m(_.isReferralFeatureEnabled),{isFeatureEnabled:U}=m(_.isExpenseAutomationEnabled),{isFeatureEnabled:C}=m(_.isExpenseAutomationEnabledV2),{isFeatureEnabled:F}=m(_.isDebitCardFeatureEnabled),$=C||U&&h,c=P(l=>ee(l)),{isFeatureEnabled:G}=m(_.isTreasuryEnabled),j=c.company!=null&&et(c.company),L=G&&j,O=P(l=>l.onboardingCustomerViewState.fetchState),b=c.excludedResources,R=c.companyId??B.getSignedInUserTenant(e)?.companyId;if(i==null)throw Error("Can't access onboarding flow without signing in...");const w=pe(F,c),A=me(c),D=[],K=b?.resources?.find(l=>l.resource==="/reports/top_expenses")==null,z=b?.resources?.find(l=>l.resource==="/reports/task_card")==null,M=c?.userRole!=null&&tt(c?.userRole),v=b?.resources?.find(l=>l.resource==="/bills")==null&&!M,q=b?.resources?.find(l=>l.resource==="/reimbursements")==null;if(K===!1&&D.push("top_expenses"),z===!1&&D.push("task_card"),v===!1&&D.push("bill_pay_card","bill_pay_promo_card"),q===!1&&D.push("reimbursement_card","reimbursement_promo_card"),I===!1&&D.push("zeni_accounts_promo_card"),y===!1&&D.push("rewards_card"),g.useEffect(()=>{O!=="Completed"||d||w||A||(r(!0),s(at(i.userId,R,c.tenantId,!0,!1,D)))},[d,O,w,A,i,c.tenantId,s]),g.useEffect(()=>{(w||A)&&setTimeout(()=>{S(!0)},5e3)},[w,A]),O!=="Completed")return a.jsx(E,{to:"../"});if(O==="Completed"&&p){const l=V(o.state?.pathnameStackToGoBack,o.pathname);if(w)return a.jsx(E,{to:"../../checking",state:{...o.state,pathnameStackToGoBack:l,message:"activation"}});if(A)return a.jsx(E,{to:"../../cards",state:{...o.state,pathnameStackToGoBack:l,message:"activation"}})}return n?.loggedInUserRoleMap!=null?a.jsxs(a.Fragment,{children:[a.jsx(J,{analytics:N,onLoad:l=>(Z=>Z.trackPageLoaded(X.Event.onboardingDashboardActivation))(l)}),a.jsx(jt,{navigate:t,location:o,themeState:u,signedInUser:i,isApAgingFeatureEnabled:T,isArAgingFeatureEnabled:x,shouldFetchZeniAccountsPromoCard:I,shouldFetchRewardsPlanCard:y,isExpenseAutomationEnabledForUser:$,isExpenseAutomationFeatureEnabledV2:C,isTreasuryEnabled:L,loggedInUserRoleMap:n?.loggedInUserRoleMap})]}):a.jsx(we,{fetchState:"In-Progress",style:{backgroundColor:k.colors.grey5}})},Oe=ye.div`
2
2
  display: flex;
3
3
  height: 100vh;
4
4
  background-color: ${t=>t.theme.colors.grey4};
@@ -1,4 +1,4 @@
1
- import{z as OA,e as AA,_ as se,V as e,K as Ut,O as Q,B as Ot,F as Tt,o as r,G as Ht,I as Yt,J as UA,f as x,P as Kt,Q as Nt,S as zt,U as Ee,X as Gt,Y as Wt,Z as qt,a0 as Xt,a1 as Vt,a2 as Zt,a3 as P,a4 as G,a5 as K,a6 as _,b as k,T as $t,a7 as Ye,a8 as Ke,A as _t,a9 as Ar,x as tA,aa as W,ab as rA,H as oA,ac as Ne,ad as J,ae as U,af as XA,k as er,y as sA,ag as tr,ah as rr,ai as or,aj as ar,C as R,ak as TA,m as v,D as VA,l as HA,al as ze,am as Ge,an as We,ao as ir,ap as ZA,d as gr,M as nr,aq as Cr,ar as qe,as as sr,at as dr,au as $A,av as Er,aw as Br,ax as lr,ay as Qr,L as Xe,w as Ir,az as cr,aA as hr,aB as Ve,aC as Ze,j as pr,aD as mr,u as ur,t as $e}from"./index-D57b0ZIG.js";import{a as t,b as w}from"./sentry-D8J10Xru.js";import{n as g,d as xr,c as kA,k as b}from"./mui-CQrPxNXb.js";import{L as fr}from"./lottie-NpRVnd_t.js";import{bt as wr,bs as _e,F4 as At}from"./zeni-epic-state-BpS-Wh5Q.js";import{v as kr}from"./DashboardSidebarBackgroundAnimation-CBg2tWHO-Bg6ARoU-.js";import{L as Dr,k as yr}from"./ArAgingChart-CCc6eh55-CSeG-Uqv.js";import{E as jr,T as de,I as et}from"./ReloadCard-D5kxTfzJ-DZ7WcKTp.js";import{L as vr,O as YA,c as cA}from"./TopExCard-PayAZZY--iaLxXoM4.js";import{Y as br,X as Mr,H as Sr,P as Rr,G as Fr}from"./RevenueChart-B_RMeweH-7bv4bhdH.js";import Lr from"./InsightsCardStack-DexUl4h--BoiaSNx7.js";import{a as Jr}from"./AccountsPromoCardStack-D6xN5A4_-CDd7581y.js";import{c as eA}from"./SummaryCard-DgIPSt4y-C1zi99VN.js";import{t as Pr,o as Ur}from"./arrow-south-east-round-PEovUgvH-XZ3zlctQ.js";import{N as CA}from"./NavigationArrow-DY_BhITD-Bl_-33Bd.js";import{x as _A}from"./NavigationDots-Kh5ODrCQ-DFRkvytB.js";import Or from"./CompanyPassportCard-DVJS9xE7-D9MmZ8zJ.js";import{C as Tr}from"./gift-box-Cmt9OgIZ-6lCOhzA2.js";import Hr from"./InformationCardStack-D7naFDX0-ChrRXFYI.js";import{p as tt}from"./chartTypes-BqRsL6eJ-BHjz48UJ.js";import{h as Yr}from"./toCOABalancesWithID-B70YK7cw-CwZZ7JH8.js";import{V as Kr}from"./toChartData-CWgd8E5c-DmnOTU-I.js";import{r as Nr,i as zr}from"./graphic-no-data-net-burn-l-CzmycA0m-XwIBzG5l.js";import{N as Gr,J as Wr}from"./PromoBaseCards-BUk-u73S-uSCnFLmc.js";import{r as qr}from"./core-CRK-q5k6.js";import{N as Xr,I as Vr}from"./VideoPlayer-53OvOC7l-B8n3tQt2.js";import Zr from"./ConfettiBurst-BJrOe5Fg-DQJv_Nip.js";import{N as $r,O as _r,Y as Ao,X as eo,Q as to}from"./recharts-CuxDYXli.js";import"./pdf-CPt_J5sA.js";import"./liveblocks-L3GY4hN_.js";import"./dnd-CgFlpM7S.js";import"./analytics-BX2zKevq.js";import"./plaid-Dz-bwqi6.js";import"./utils-GhRHHdOC.js";import"./graphic-no-data-l-DU4J8fDt-B1HqTfGk.js";import"./media-player-DIQJ-Dun.js";(function(){try{var A=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},a=new A.Error().stack;a&&(A._sentryDebugIds=A._sentryDebugIds||{},A._sentryDebugIds[a]="5ec180a9-a639-473c-8c7f-6ae28d8a4353",A._sentryDebugIdIdentifier="sentry-dbid-5ec180a9-a639-473c-8c7f-6ae28d8a4353")}catch{}})();const ro=g(rA)`
1
+ import{z as OA,e as AA,_ as se,V as e,K as Ut,O as Q,B as Ot,F as Tt,o as r,G as Ht,I as Yt,J as UA,f as x,P as Kt,Q as Nt,S as zt,U as Ee,X as Gt,Y as Wt,Z as qt,a0 as Xt,a1 as Vt,a2 as Zt,a3 as P,a4 as G,a5 as K,a6 as _,b as k,T as $t,a7 as Ye,a8 as Ke,A as _t,a9 as Ar,x as tA,aa as W,ab as rA,H as oA,ac as Ne,ad as J,ae as U,af as XA,k as er,y as sA,ag as tr,ah as rr,ai as or,aj as ar,C as R,ak as TA,m as v,D as VA,l as HA,al as ze,am as Ge,an as We,ao as ir,ap as ZA,d as gr,M as nr,aq as Cr,ar as qe,as as sr,at as dr,au as $A,av as Er,aw as Br,ax as lr,ay as Qr,L as Xe,w as Ir,az as cr,aA as hr,aB as Ve,aC as Ze,j as pr,aD as mr,u as ur,t as $e}from"./index-bPu7mlA1.js";import{a as t,b as w}from"./sentry-uXR4_KRo.js";import{n as g,d as xr,c as kA,k as b}from"./mui-CvPZa6D0.js";import{L as fr}from"./lottie-DyJgmWhI.js";import{bt as wr,bs as _e,F4 as At}from"./zeni-epic-state-BDdTNPzg.js";import{v as kr}from"./DashboardSidebarBackgroundAnimation-CUZGIAxW-Cr2AFDv0.js";import{L as Dr,k as yr}from"./ArAgingChart-ZwWwEBJ3-CYvKQAY1.js";import{E as jr,T as de,I as et}from"./ReloadCard-DIFXZM9U-DuI83eQl.js";import{L as vr,O as YA,c as cA}from"./TopExCard-CF6z0JWk-aJxcszKV.js";import{Y as br,X as Mr,H as Sr,P as Rr,G as Fr}from"./RevenueChart-BoFq3ebd-B1Jmsn3P.js";import Lr from"./InsightsCardStack-CJBPZbzD-DGmN2b_X.js";import{a as Jr}from"./AccountsPromoCardStack-Cvixqb_6-D97qRbqR.js";import{c as eA}from"./SummaryCard-HW-1WXN9-DmGROxw-.js";import{t as Pr,o as Ur}from"./arrow-south-east-round-PEovUgvH-C7VEDzJz.js";import{N as CA}from"./NavigationArrow-DT82hMh--BnPRXoeX.js";import{x as _A}from"./NavigationDots-CwCZ9EAa-ovWuwmnJ.js";import Or from"./CompanyPassportCard-B-mBb9Q5-DTZPiAcJ.js";import{C as Tr}from"./gift-box-Cmt9OgIZ-CTJlvd1T.js";import Hr from"./InformationCardStack-t8eELRLU-Fl6DqL5O.js";import{p as tt}from"./chartTypes-BLsP7rGF-Cjsgj_un.js";import{h as Yr}from"./toCOABalancesWithID-BWMF0py6-CojDIytn.js";import{V as Kr}from"./toChartData-BkubFDq8-CyY5jx0a.js";import{r as Nr,i as zr}from"./graphic-no-data-net-burn-l-CzmycA0m-D0m0NfVz.js";import{N as Gr,J as Wr}from"./PromoBaseCards-BrXJEufN-C4zOhiIC.js";import{r as qr}from"./core-DuCBl3U1.js";import{N as Xr,I as Vr}from"./VideoPlayer-TlEy-oD0-DnsdEgv4.js";import Zr from"./ConfettiBurst-CeAc4Ily-fAc6vAhM.js";import{N as $r,O as _r,Y as Ao,X as eo,Q as to}from"./recharts-7AyWv7E-.js";import"./pdf-LR9rRMEe.js";import"./liveblocks-UDiQs1XL.js";import"./dnd-BPJHdlPA.js";import"./analytics-hnA26KoH.js";import"./plaid-C4PyP873.js";import"./utils-DXqO5lkM.js";import"./graphic-no-data-l-DU4J8fDt-Gma2xMWq.js";import"./media-player-Bc2nje5G.js";(function(){try{var A=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},a=new A.Error().stack;a&&(A._sentryDebugIds=A._sentryDebugIds||{},A._sentryDebugIds[a]="46c51d7f-f466-47a7-909b-f8c37389e5d1",A._sentryDebugIdIdentifier="sentry-dbid-46c51d7f-f466-47a7-909b-f8c37389e5d1")}catch{}})();const ro=g(rA)`
2
2
  color: ${A=>A.theme.colors.champion};
3
3
  `,Be=g.div`
4
4
  display: flex;