@zeniai/web-cockpit-ui 1.15.52-dev → 1.15.53-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 (346) hide show
  1. package/dist/assets/ACHDetailsPage-D2Xav-UW-DmDhM3Ya.js +21 -0
  2. package/dist/assets/{AIPerformancePage-I03C8PSW-CA1s90X_.js → AIPerformancePage-DlTdGosv-DQP6RhOc.js} +46 -46
  3. package/dist/assets/AccountInfoPage-B8-8kUGD-CToACIO4.js +18 -0
  4. package/dist/assets/{AccountInfoPageContent-sA3Gcnqp-CL_vzrPR.js → AccountInfoPageContent-BS2TBUSE-CXMTjqRR.js} +17 -17
  5. package/dist/assets/{AccountLockedInfoModal-BZYAopgt-BqB0lffx.js → AccountLockedInfoModal-aukulrV7-BdgVRhsa.js} +7 -7
  6. package/dist/assets/{AccountReconDetailsDrawerPage-ViRClh97-BJ7clwL9.js → AccountReconDetailsDrawerPage-kQJld6_N-CswOv8sQ.js} +50 -50
  7. package/dist/assets/AccountRow-BiEYR4Y1-CmfzC2gE.js +298 -0
  8. package/dist/assets/{AccountsPromoCardStack-DBAX4q__-Bh8ZoDe1.js → AccountsPromoCardStack-DBQnDPXQ-D0z5TFOj.js} +28 -28
  9. package/dist/assets/AddAddressForCardDrawer-DTnfk8K7-BFrcrnKm.js +6 -0
  10. package/dist/assets/{AddToWalletPage-CyhCQttf-QhVHXwqj.js → AddToWalletPage-C4EwdLZJ-BInlB4A7.js} +29 -29
  11. package/dist/assets/{AgingReportsPage-R0h2M4Pa-BPDo1WWy.js → AgingReportsPage-vAvkUfOS-D7pZCvXq.js} +14 -14
  12. package/dist/assets/{AllUserItems-DwCmOyqn-BB9lm9aN.js → AllUserItems-qrYg6Gdx-BCdM6c47.js} +12 -12
  13. package/dist/assets/{ApAgingDetailPage-BI6tCRap-BxldxrIf.js → ApAgingDetailPage-BRYQMwo2-D_TMSgpW.js} +3 -3
  14. package/dist/assets/{AppBasePage-5AD8mjXH-d-vQz4Ip.js → AppBasePage-DrE-W6d7-DvGq3J7n.js} +6 -6
  15. package/dist/assets/AppDrawerContent-ATbZG_cu-BjnW7Nvp.js +92 -0
  16. package/dist/assets/ApprovalRulesSettingsPage-5MYC1I6k-Ds-SstoD.js +47 -0
  17. package/dist/assets/{ArAgingChart-B_Moc1is-BFtidcAa.js → ArAgingChart-CuzG9AZY-LyeeC-_F.js} +4 -4
  18. package/dist/assets/{ArAgingDetailPage-ToyZzpCy-Czu_myTL.js → ArAgingDetailPage-DwRkcLEu-BwO8bg0D.js} +3 -3
  19. package/dist/assets/{AttachmentView-MrO6p_bS-C09_HPJU.js → AttachmentView-BrQRChzc-Dm5F4MLP.js} +6 -6
  20. package/dist/assets/{BankAccountSection-DodjM0QY-JKnRSQjs.js → BankAccountSection-hcKEMs80-9386hWb2.js} +6 -6
  21. package/dist/assets/BankAccountWarningSection-CpxVDMSZ-DXfuEuGA.js +51 -0
  22. package/dist/assets/{BankConnectionsSettingsPage-Ctmnk9S5-CBdNOgni.js → BankConnectionsSettingsPage-Bdw1K00m-B0uSwnpP.js} +25 -25
  23. package/dist/assets/BillDetailPage-D0NLFZXA-BAo9uy4y.js +266 -0
  24. package/dist/assets/{BillPayApprovalRuleDetailPage-Cm-kRPtE-D0mYWAGA.js → BillPayApprovalRuleDetailPage-DkpCvYvo-BXtcghrA.js} +1 -1
  25. package/dist/assets/{BillPayApprovalRulesPage-DYYmdAGI-BXif4TSd.js → BillPayApprovalRulesPage-BEqZD0GU-BhjcWx9B.js} +5 -5
  26. package/dist/assets/BillPayPromoPage-BMcP4EU5-DK5zwMUs.js +84 -0
  27. package/dist/assets/{BillPaySetUpPage-CRk1JPlQ-DfwvUS-u.js → BillPaySetUpPage-WdEdbf16-BdgMOYAB.js} +6 -6
  28. package/dist/assets/BillingSettingsPage-GtRUqSZm-JcS3RT-t.js +44 -0
  29. package/dist/assets/BillsBulkReviewDrawerPage-DAUoo9pq-CGT1MF5v.js +1 -0
  30. package/dist/assets/{BoxItem-B7JwjEHS-GLe4e95X.js → BoxItem-CACRFWG2-CnmPjRPK.js} +3 -3
  31. package/dist/assets/BusinessVerificationPage-9gZbBDL6-Dso7HJiD.js +138 -0
  32. package/dist/assets/{CardNumberSubText-C-RZAUkR-Be1AIDeL.js → CardNumberSubText-C-oVdziK-DnaANIDf.js} +9 -9
  33. package/dist/assets/{CashbackDetailPage-yBXvMZer-3Hcjmbs4.js → CashbackDetailPage-BhFKSl4p-DFlKoeZU.js} +24 -24
  34. package/dist/assets/{ChargeCardDetailPage-8bFbBt9K-Dk9PfZM8.js → ChargeCardDetailPage-D8J6HINu-Cy0gxJPT.js} +1 -1
  35. package/dist/assets/{ChargeCardListPage-B9O5pzNX-D8EvLErv.js → ChargeCardListPage-tdUKyHdz-DaeStUfM.js} +27 -27
  36. package/dist/assets/{ChargeCardListTable-BzxR1456-I7z_YYot.js → ChargeCardListTable-CByk3iqX-BP_2jTx-.js} +55 -55
  37. package/dist/assets/{ChargeCardPaymentHistoryPage-HfkJGYyo-CVlVN9y1.js → ChargeCardPaymentHistoryPage-B8zRcrjo-CqZTiCeW.js} +41 -41
  38. package/dist/assets/ChargeCardPromoPage-C4cgx2gm-EwMGXlYV.js +222 -0
  39. package/dist/assets/{ChargeCardSetupPage-D7kUlVmU-BYJYzLpH.js → ChargeCardSetupPage-DtwiTNKA-CKdHxRmI.js} +3 -3
  40. package/dist/assets/ChargeCardStatementsPage-B0KPw52e-BNkqxRQ2.js +60 -0
  41. package/dist/assets/{CheckDepositDrawerPage-UFggEfV1-DeaowvSn.js → CheckDepositDrawerPage-DKNAXI77-BSOutqAK.js} +22 -22
  42. package/dist/assets/{CollapsableReportTable-BwRNFt9D-D3w6E4nX.js → CollapsableReportTable-Cq8bhaYC-DXVGhc1U.js} +282 -282
  43. package/dist/assets/{CompanyOfficerDetailsSection-Czd9OA0I-PpNc4QNR.js → CompanyOfficerDetailsSection-Rk0B5cB5-DB11gG9H.js} +32 -32
  44. package/dist/assets/{CompanyPassportCard-nT7OaLPI-u1s9N1Jh.js → CompanyPassportCard-CHaKk74P-BdhNiQs5.js} +7 -7
  45. package/dist/assets/{CompanyPassportPage-CwgpT7Ns-1ZhURb_8.js → CompanyPassportPage-DXWXFFKM-1Gz0LfNo.js} +47 -47
  46. package/dist/assets/{CompleteProfile-C8v6Tp9b-B_GnJ4t1.js → CompleteProfile-ChaWsK6t-CkLnv3sI.js} +1 -1
  47. package/dist/assets/ConfettiBurst-CdB5fRMt-CRqwwWlg.js +1 -0
  48. package/dist/assets/{ConstrainedInnerElement-BeIpAPjB-Cf9Qlgny.js → ConstrainedInnerElement-BeIpAPjB-CR-47kA2.js} +1 -1
  49. package/dist/assets/{CreateOrEditVendorPage-CESiqFO_-VLQw4dZj.js → CreateOrEditVendorPage-C_8Jqubo-CAWRF5So.js} +11 -11
  50. package/dist/assets/{CreditCardPaymentDrawerPage-BjETaVSt-DsfV5dnO.js → CreditCardPaymentDrawerPage-lOjOtk28-2rzY7Y_f.js} +14 -14
  51. package/dist/assets/CurrencySelectField-BDqU4HVy-DUa8DDre.js +139 -0
  52. package/dist/assets/{CustomerOnboardingActivationPage-BGsyeSIX-DnrwiTHK.js → CustomerOnboardingActivationPage-DO6NCakm-DB3F8kyi.js} +29 -29
  53. package/dist/assets/CustomerOnboardingContainerPage-CckCX7Vt-Q_KOJWYS.js +1 -0
  54. package/dist/assets/{CustomerOnboardingDetailPageSkeleton-DyX4Fa7j-D4Zm7ptp.js → CustomerOnboardingDetailPageSkeleton-BYXyF1CQ-DQwtiYKE.js} +17 -17
  55. package/dist/assets/{CustomerOnboardingNoStepsPage-ColynPuZ-DWaQRfo3.js → CustomerOnboardingNoStepsPage-CbG5WshV-B6Cq5cCV.js} +6 -6
  56. package/dist/assets/{CustomerOnboardingPage-D8_HJZHo-m6dhWrve.js → CustomerOnboardingPage-DyVyf8oK-Bbvqfzve.js} +16 -16
  57. package/dist/assets/{CustomerOnboardingProductSuitePage-CNhvXIab-2akibz5Z.js → CustomerOnboardingProductSuitePage-1F3JfCRp-M5aWZTXB.js} +14 -14
  58. package/dist/assets/{Dashboard-DzmaFlfB-D7bnMHAs.js → Dashboard-Csggwob0-e7KLrAzz.js} +66 -66
  59. package/dist/assets/{DashboardReportPage-D0ovdT-D-CXiKEBw-.js → DashboardReportPage-DFIdi_I0-uYWfrIup.js} +22 -22
  60. package/dist/assets/DashboardSidebarBackgroundAnimation-C3Ovv-ob-DszHhGbA.js +12 -0
  61. package/dist/assets/{DepositAccTransactionItem-Rfwk9Wzj-BXfqyh-p.js → DepositAccTransactionItem-CZ7v1T4S-e2AT80rO.js} +8 -8
  62. package/dist/assets/DepositAccTransactionListPage-FldPGX6K-Db6KKzae.js +66 -0
  63. package/dist/assets/DomesticWireDetailsPage-C--eZ-UG-h0uzjMVt.js +21 -0
  64. package/dist/assets/{DownloadOverlay-FFq5FG7J-BLLib_kt.js → DownloadOverlay-4f9deyJS-Bmz0ejyE.js} +36 -36
  65. package/dist/assets/{DrawerPage-J3bl7ehG-s3OJdWrr.js → DrawerPage-roO3xvRT-BGC_3oGn.js} +15 -15
  66. package/dist/assets/EditPeoplePage-pi5RclAj-BAKsXmAv.js +55 -0
  67. package/dist/assets/EditReimbursementDetailPage-CIUcImns-CpOeMOYM.js +865 -0
  68. package/dist/assets/EntityDetailPage-OTKTVNMD-madC1I3v.js +18 -0
  69. package/dist/assets/{EntitySummarySection-CYzQp7PK-i354Lc1S.js → EntitySummarySection-fBL4TZpT-DpmgFY5q.js} +14 -14
  70. package/dist/assets/{ExpenseAutomationOverviewPage-Cc0dU-zf-Zw16F7j6.js → ExpenseAutomationOverviewPage-CnhNINCc-Ba-7I2q6.js} +48 -48
  71. package/dist/assets/ExpenseAutomationPage-BDLCJbFw-B65uFwyw.js +1703 -0
  72. package/dist/assets/{ExpressPayPage-BFL-q602-DvZaGtIb.js → ExpressPayPage-c8oTCnBR-DLD1ESsm.js} +17 -17
  73. package/dist/assets/{FeaturePreviewPage-CRDanEsJ-Bg8uJihv.js → FeaturePreviewPage-DkiAajs2-jW7XTS4W.js} +2 -2
  74. package/dist/assets/{FollowStepsSection-lbStDJrW-xgtm7xaE.js → FollowStepsSection-GaWu1kt9-DPxSdgo3.js} +59 -59
  75. package/dist/assets/GlobalReviewListPage-DEzj0RVG-CeRFieMj.js +291 -0
  76. package/dist/assets/{InformationCardStack-D2FybDBG-DK4mKE9F.js → InformationCardStack-dMFbHUWM-xL6qax_7.js} +5 -5
  77. package/dist/assets/{InsightsCardStack-BIaW6smi-DdCDTa8t.js → InsightsCardStack-BlXkyuyz-CSObZxx-.js} +10 -10
  78. package/dist/assets/InsightsSection-D-oCmrir-BDt4fRIh.js +27 -0
  79. package/dist/assets/{IntegrationsSettingsPage-DPyXd24p-hHMYoNkO.js → IntegrationsSettingsPage-D-hfghuq-BXO5c_dn.js} +9 -9
  80. package/dist/assets/{InternationalWireSwiftDetailsPage-BaHqqJqA-DqqqsAXq.js → InternationalWireSwiftDetailsPage-DxdKE300-B7KYCkcv.js} +21 -21
  81. package/dist/assets/InternationalWireVerificationPage-CkSmhOrS-D-mLEGol.js +65 -0
  82. package/dist/assets/{InviteFormPage-CuqQsolW-CdPGGN0E.js → InviteFormPage-BCdalqtP-CaETHzpB.js} +22 -22
  83. package/dist/assets/{InvitePageListView-Cm5bZIk7-CHfi-pbC.js → InvitePageListView-B88FW48q-fpDsceSB.js} +63 -63
  84. package/dist/assets/InvitePeoplePage-Z-2L7lWc-UD6n_Q7k.js +12 -0
  85. package/dist/assets/InvoiceUploadSection-C8hytmay-HB4lI_N7.js +140 -0
  86. package/dist/assets/{IssueChargeCardPage-CvXBQgkF-Pp1RMyhu.js → IssueChargeCardPage-B6wmvbEr-JIsHDCkw.js} +18 -18
  87. package/dist/assets/{LabeledAddressValue-BzZgMorl-B2WmXaZs.js → LabeledAddressValue-CQrDCgNs-3ouFKt7p.js} +2 -2
  88. package/dist/assets/{LabeledAddressValueField-DS32l0xi-ffR5_IMa.js → LabeledAddressValueField-BoHS44YO-B3Azc_ND.js} +4 -4
  89. package/dist/assets/LabeledControlledCheckBoxField-BsFqjCpn-CNZwev0o.js +16 -0
  90. package/dist/assets/{LabeledCountryMultiSelectField-uVIlAv9_-Cr-pLwSj.js → LabeledCountryMultiSelectField-D1fVDYR_-BT0zs0Jm.js} +5 -5
  91. package/dist/assets/{LabeledCreatableSingleSelectField-CKBw0XOi-B5ltv_kq.js → LabeledCreatableSingleSelectField-Bhka-Faj-D8-1M_Br.js} +4 -4
  92. package/dist/assets/LabeledDocumentField-CnRk5aKZ-CV8AaRRN.js +41 -0
  93. package/dist/assets/{LabeledDropDownFormattedTextField-B8sjZQO1-DCDhvZp_.js → LabeledDropDownFormattedTextField-ChgtJqPr-DExq8QI7.js} +5 -5
  94. package/dist/assets/{LabeledText-C8euMqJ4-Bp0HFgot.js → LabeledText-2EDpuXZ4-BLBQclH9.js} +2 -2
  95. package/dist/assets/{LabeledUserSingleSelectWithSubtitlesField-DIzGOREd-Bc8PoiiU.js → LabeledUserSingleSelectWithSubtitlesField-CZbyOdRR-CDUhkAJw.js} +16 -16
  96. package/dist/assets/{LabeledZeniRolesDropDownField-DM9r7_1v-DcV8WbWY.js → LabeledZeniRolesDropDownField-CpH0eDWO-BN0y8uby.js} +26 -26
  97. package/dist/assets/{LinkJETransactionPage-C198tset-DnJPfd0_.js → LinkJETransactionPage-BhV2MnCY-UMeDagXs.js} +13 -13
  98. package/dist/assets/{LockCardPage-C9qzP7dO-D1jjqQ7s.js → LockCardPage-CHv1xi2J-mFvWtqsS.js} +213 -213
  99. package/dist/assets/{LowBalancePopup-BUPGnvH6-Fyq6gZkv.js → LowBalancePopup-Cb55PGLc-DRqPG0mh.js} +6 -6
  100. package/dist/assets/MagicLinkACHDetailsPage-Dnp01hnF-DQ8yr6uv.js +1 -0
  101. package/dist/assets/MagicLinkDomesticWireDetailsPage-B36rsikS-BxHsYq7B.js +1 -0
  102. package/dist/assets/MagicLinkInternationalWireDetailsPage-Zo4oNZez-CpqMSy1N.js +1 -0
  103. package/dist/assets/MagicLinkSuccessPage-09NLbjFG-Co3vSy6t.js +31 -0
  104. package/dist/assets/{MagicLinkTitleSection-jOwfp5xN-_Wo4I2rc.js → MagicLinkTitleSection-BA-i6vzA-RLm3mDeb.js} +4 -4
  105. package/dist/assets/MailingDetailsSection-EwtoQ2TZ-CYDGTCnx.js +21 -0
  106. package/dist/assets/{MyBankConnectionsSettingsPage-CLSFozv6-BbHYYCjp.js → MyBankConnectionsSettingsPage-Aer6AWxY-7WBcezSN.js} +16 -16
  107. package/dist/assets/MyPendingActivationChargeCardListPage-Ddy4bAEY-D3ybcBV0.js +6 -0
  108. package/dist/assets/{MyProfileSettingsPage-BOoyzeho-CzfkubXL.js → MyProfileSettingsPage-DMz-6h9F-BcvPvdDW.js} +7 -7
  109. package/dist/assets/NavBarWithPicker-D8WNahg--DzolItlM.js +30 -0
  110. package/dist/assets/{NavigationArrow-CocIRiS9-D_aGlTJv.js → NavigationArrow-kQWS5Pzb-DnxK-xgA.js} +2 -2
  111. package/dist/assets/{NavigationDots-BrrmV8fC-C-pOglim.js → NavigationDots-BQb_Fodq-CVrmLvYQ.js} +4 -4
  112. package/dist/assets/{NewGlobalMerchantPage-D9NZKb2--bmJmDKdY.js → NewGlobalMerchantPage-z86XZorn-DxAD7tTY.js} +13 -13
  113. package/dist/assets/{NoDataChart-CeZTA9_3-DPu9FogX.js → NoDataChart-CyYJ6icu-CHQY_bIW.js} +2 -2
  114. package/dist/assets/{NoDataTable-C6ryanfQ-BGrQrBkr.js → NoDataTable-DVe7sQhD-nqOrgT1n.js} +1 -1
  115. package/dist/assets/{NotFoundPage-nSaJJjUJ-CGdqaTEf.js → NotFoundPage-B1XCmhSe-DJxMFFFe.js} +8 -8
  116. package/dist/assets/{NotificationSettingsPage-DmkglhXS-DKDAc0L1.js → NotificationSettingsPage-BaN20EGV-BZKokXl_.js} +17 -17
  117. package/dist/assets/NotificationsListConfig-BOW_TmPC-2OPYdfiF.js +1 -0
  118. package/dist/assets/NotificationsPage-C9efAgjo-Q1uCdSWG.js +685 -0
  119. package/dist/assets/OpExByVendorPage-DXeBU3-z-ClrNqg-6.js +100 -0
  120. package/dist/assets/{OverlayContainerPage-D4QU0p4o-CZWZkEqC.js → OverlayContainerPage-D4QU0p4o-5C-NUnJ8.js} +1 -1
  121. package/dist/assets/{PandLWithForecastPage-CzegKoaH-B0moQiWV.js → PandLWithForecastPage-CXtJhnA_-_B_OXjuI.js} +15 -15
  122. package/dist/assets/{PaymentAccountSetupBillingAddressSection-BwtVSnia-C7hSU-EC.js → PaymentAccountSetupBillingAddressSection-Deb_ngk6-BYIDdJGi.js} +18 -18
  123. package/dist/assets/PeoplePage-DXC2CtOt-BmC0xa13.js +675 -0
  124. package/dist/assets/{Preview-wOpHiBqR.js → Preview-DIhdxTnV.js} +1 -1
  125. package/dist/assets/{ProductsCarousel-DecdL2J--CA_efZNI.js → ProductsCarousel-ufZlh7Rx-BhPoplzW.js} +7 -7
  126. package/dist/assets/{PromoBaseCards-CN21NM41-DhBLPQmY.js → PromoBaseCards-D2UbhBhT-DISJBAGU.js} +4 -4
  127. package/dist/assets/{QBOConnectionDialog-BZsRQAbh-D2VVdab9.js → QBOConnectionDialog-BrQ71F06-CE8JPZ4E.js} +9 -9
  128. package/dist/assets/QBOSetupSection-EOFscEW--D0QcMDeq.js +79 -0
  129. package/dist/assets/{ReimbursementApprovalRuleDetailPage-B4fcDJjA-I7W9UCB5.js → ReimbursementApprovalRuleDetailPage-C-HPI4Ng-1hqq3vgZ.js} +2 -2
  130. package/dist/assets/{ReimbursementApprovalRulesPage-ZBgAwbiy-aZ1DJzW_.js → ReimbursementApprovalRulesPage-CMpYn5y_-PKr02NgU.js} +16 -16
  131. package/dist/assets/ReimbursementDetailPage-CfmICHZb-C0Vlu4pV.js +314 -0
  132. package/dist/assets/{ReimbursementPromoPage-BykDW05i-QdFq0_ja.js → ReimbursementPromoPage-DXTAY8c7-ijLyTKXj.js} +32 -32
  133. package/dist/assets/{ReimbursementSetUpPage-D-c1G4Yp-D8qpk2At.js → ReimbursementSetUpPage-KrGPXTCb-Cndb3yRw.js} +7 -7
  134. package/dist/assets/ReimbursementsBulkReviewDrawerPage-l2mYNEKn-t36_7iYz.js +1 -0
  135. package/dist/assets/{ReloadCard-B1utQoNe-BgcT-L3D.js → ReloadCard-vAhL7B8U-CXvjyFbd.js} +5 -5
  136. package/dist/assets/ReportTableViewSelector-Y97ney3W-BsXF5NSn.js +150 -0
  137. package/dist/assets/{ReportsPage-BYl25tCa-DJAhkt3B.js → ReportsPage-DKM0gVzR-CWRqDWS7.js} +4 -4
  138. package/dist/assets/{RevenueChart-CsH-ABMc-DFPXH0sB.js → RevenueChart-BEjDS1u4-o0vV82hU.js} +24 -24
  139. package/dist/assets/{ReviewDetailsPage-NtC0bXjE-CiX3qT7_.js → ReviewDetailsPage-BlQLrN9z-CPNBWRFb.js} +23 -23
  140. package/dist/assets/{ReviewOverlay-toDIU4kV-D7cJ-CaI.js → ReviewOverlay-Bn3TFqfi-61PAxosm.js} +9 -9
  141. package/dist/assets/RoleWithToolTip-DhBFvJea-vHmZXp6q.js +22 -0
  142. package/dist/assets/{ScheduleDetailsFixedAssetsPage-CGhwVGkS-BkYGdAWq.js → ScheduleDetailsFixedAssetsPage-BMkFjf9Y-jDSlk-pR.js} +13 -13
  143. package/dist/assets/{ScheduleDetailsPage-Dpm8LTi5-ceBvcbCK.js → ScheduleDetailsPage-BP0wdtoP-1II188uq.js} +8 -8
  144. package/dist/assets/ScheduleSequenceTable-D-rZ4ftr-tSWSHWOw.js +324 -0
  145. package/dist/assets/{ScreenRoutes-BsccKPz_.js → ScreenRoutes-DZZxoCM2.js} +31 -31
  146. package/dist/assets/{SetUpAccountSection-D1u5qaQy-BfLHCJ7_.js → SetUpAccountSection-CoVrSSYL-DbZWiYfU.js} +9 -9
  147. package/dist/assets/SignIn-BoAejo7r-PQVivWYh.js +491 -0
  148. package/dist/assets/SignInScreen-efHROixG.js +1 -0
  149. package/dist/assets/SpendManagementListViewPage-D3eISFuA-B7nSuLpf.js +134 -0
  150. package/dist/assets/{SpendManagementPerTabPage-DASIEooE-BlZ1Uenl.js → SpendManagementPerTabPage-BWDjZyLp-BKnsfe2z.js} +108 -108
  151. package/dist/assets/{SpendManagementSection-fQq7rBRb-B6t2uSf8.js → SpendManagementSection-D8rBpC-y-wjuhm2Gv.js} +23 -23
  152. package/dist/assets/{StatementItem-CoVXNSDb-BShn5DUw.js → StatementItem-Cu6dlAsl-BxjOZIKR.js} +3 -3
  153. package/dist/assets/{StatementsPage-BvGLyYRh-DoAREV67.js → StatementsPage-DiY2BOcu-jACVIQ7g.js} +6 -6
  154. package/dist/assets/{StatusSwitcher-fb1FvNod-CKz_fWO7.js → StatusSwitcher-B9MARTyR-CVrMK43S.js} +5 -5
  155. package/dist/assets/{SubTabSwitcher-DiseUTbE-Bc7dZsGz.js → SubTabSwitcher-C3rtSwro-Bfv-jqX0.js} +3 -3
  156. package/dist/assets/SummaryCard-CShVbqhj-C7VDYfDP.js +1 -0
  157. package/dist/assets/TaskManagementPage-RVS8nv0n-IfMaVZ79.js +508 -0
  158. package/dist/assets/{TimeRangeSwitcher-C3criwDK-MjZzatMd.js → TimeRangeSwitcher-DFnX6_WT-B3NiZwLX.js} +13 -13
  159. package/dist/assets/TimeframeSwitcher-CW08yYgo-DBfI-CDo.js +31 -0
  160. package/dist/assets/{TimeframeSwitcherWithToggle-DFjeQWwK-DmJGkI9O.js → TimeframeSwitcherWithToggle-DJOCWqpZ-CxMWU2YP.js} +7 -7
  161. package/dist/assets/{TopExCard-D7QZLM8i-BjdgFU_s.js → TopExCard-dI_WEGWb-C_ouXuJx.js} +7 -7
  162. package/dist/assets/{TopExDetailPage-CzoQPsjz-CzDcKIu9.js → TopExDetailPage-BWy5E8Lp-DHDoD8xK.js} +17 -17
  163. package/dist/assets/TransactionActivityLogPage-DjhEIUYm-CDOSrUCy.js +195 -0
  164. package/dist/assets/TransactionDetailPage-CuxqQd8U-DaUcyO77.js +903 -0
  165. package/dist/assets/TransactionList-80KjM8Kg-CP1kCzOZ.js +153 -0
  166. package/dist/assets/{TransactionListBig-CLc3iY_0-BH8MZJQ3.js → TransactionListBig-DWQXH4ID-C0AgFfET.js} +17 -17
  167. package/dist/assets/TransactionListPage-DC08rCC9-CKoNbk76.js +35 -0
  168. package/dist/assets/{TransactionVendorDetailPage-Be0u4Eqx-Bsk0zx1y.js → TransactionVendorDetailPage-CzfJ5b_3-D0WTBIN_.js} +6 -6
  169. package/dist/assets/{TransferDrawerPage-Bzs9K_99-DBIJAwyN.js → TransferDrawerPage-6z-MoZZP-DIDlNkaw.js} +29 -29
  170. package/dist/assets/TreasuryOverviewPage-CF_ter0o-D0FwCj4F.js +708 -0
  171. package/dist/assets/{TreasuryPromoPage-BNVeuqGo-DMkqkWBp.js → TreasuryPromoPage-Do-PTcjI-BdsWLtH0.js} +33 -33
  172. package/dist/assets/TreasuryStatementsPage-l_HC4zsb-9mkdhIeY.js +58 -0
  173. package/dist/assets/TreasuryTaxLetterPage-B8YxWytK-Bvqd0Hp0.js +58 -0
  174. package/dist/assets/{TrendChart-CH1XG3_9-D9c8V-0T.js → TrendChart-C6B61CAm-BLOs7lid.js} +4 -4
  175. package/dist/assets/{TrendWithTransactions-B_QntlQg-Dz5h1Emg.js → TrendWithTransactions-Bp3vhaPa-tGqMC5Vu.js} +6 -6
  176. package/dist/assets/{UncategorizedAccountsMappingPage-D1vMrtZi-DJgzrM0G.js → UncategorizedAccountsMappingPage-cbFqKAv4-D6JJ85e-.js} +13 -13
  177. package/dist/assets/{UnitIntegrationPage-CVG0dKQJ-Bv-lPBzY.js → UnitIntegrationPage-DZ0ZpE5p-FsM5I6N8.js} +11 -11
  178. package/dist/assets/UploadAdditionalDocumentOverlay-BKY6hK51-D5vRfL2N.js +38 -0
  179. package/dist/assets/{Vendor2FAPopup-DUxtkJUS-DOxbbG7j.js → Vendor2FAPopup-DezpDfp8-CgUqUKgv.js} +1 -1
  180. package/dist/assets/VendorACHDetailsPage-C8TWKYfc-BBHDUovS.js +1 -0
  181. package/dist/assets/{VendorDetailPage-BdEwRV2m-BuocGx2U.js → VendorDetailPage-C4g_Gfsl-DrbUQaMS.js} +89 -89
  182. package/dist/assets/VendorDomesticWireDetailsPage-BhJQ-Vmn-DAw-3yRj.js +1 -0
  183. package/dist/assets/{VendorFiling1099EditablePage-CrSOkq5V-Be8Sq3Qg.js → VendorFiling1099EditablePage-Ckt2MiVN-C5Y0Hhpj.js} +38 -38
  184. package/dist/assets/VendorFirstReviewPage-CIKRaTax-DZ_fWsTs.js +730 -0
  185. package/dist/assets/{VendorInternationalWireDetailsPage-DEYSLqar-C48z8lC2.js → VendorInternationalWireDetailsPage-Dz8mMD8d-5RolL7pk.js} +14 -14
  186. package/dist/assets/VendorInternationalWireSwiftDetailsPage-XcV7Ot44-C7gWvoAM.js +1 -0
  187. package/dist/assets/{VendorsAccountsSection-k1NLZ5FW-Bzs1aGaQ.js → VendorsAccountsSection-BT-RADSV-vp7VaRO6.js} +4 -4
  188. package/dist/assets/{VerifyDevice-IP50KOC9-D_-Qo9mu.js → VerifyDevice-Cxc9CVMi-Cgu3mf8y.js} +10 -10
  189. package/dist/assets/{VideoPlayer-DTv2btpq-BL2iPrVd.js → VideoPlayer-9UkKMhGy-DJ6uBu61.js} +3 -3
  190. package/dist/assets/{VideoPopup-Cfko0G7e-D5lj185C.js → VideoPopup-rfiYmtio-_iCjbOm3.js} +4 -4
  191. package/dist/assets/{WarningsDrawerPage-D9HiCb7D-BcR8odVm.js → WarningsDrawerPage-DrUA4asI-CcwFPuTA.js} +9 -9
  192. package/dist/assets/{ZeniAccountDetailPage-Dp0Vq-3v-CZkbiffo.js → ZeniAccountDetailPage-K016HgQt-Cd131nKw.js} +37 -37
  193. package/dist/assets/{ZeniAccountListViewPage-BAsaZTdW-iSN2fNgn.js → ZeniAccountListViewPage-1oZZynB1-CjD6nbtT.js} +8 -8
  194. package/dist/assets/ZeniAccountNavBarPieces-C6Oicpue-DGKKSqgJ.js +14 -0
  195. package/dist/assets/{ZeniAccountPromoPage-BSL3C3i2-8AHAiFx8.js → ZeniAccountPromoPage-BCgys-YM-DwhnKx-9.js} +22 -22
  196. package/dist/assets/{ZeniAccountSetupPage-CnaM-8qN-CMYBKyhj.js → ZeniAccountSetupPage-BubBgkoa-BFY0LSuz.js} +4 -4
  197. package/dist/assets/ZeniCopyright-BxIwmms--BfYUogKF.js +1 -0
  198. package/dist/assets/{ZeniTransferAmountSlider-oYwV27SH-CZr7NskK.js → ZeniTransferAmountSlider-DVJ0puXA-aYxPZEFI.js} +4 -4
  199. package/dist/assets/{add-to-wallet-DgdBD8_G-DbXm7RD1.js → add-to-wallet-DgdBD8_G-DZGmKyiB.js} +1 -1
  200. package/dist/assets/{analytics-CFLF9sCc.js → analytics-D_c73QMR.js} +1 -1
  201. package/dist/assets/{analyticsHelper-BaxudydG-DT2Lyeh-.js → analyticsHelper-CT5zOInj-BgC6kfqx.js} +1 -1
  202. package/dist/assets/analyticsHelper-Di73_evd.js +1 -0
  203. package/dist/assets/{arrow-south-east-round-PEovUgvH-aoBvaeWN.js → arrow-south-east-round-PEovUgvH-Cl5bzAze.js} +1 -1
  204. package/dist/assets/{auto-transfer-rule-mbafm5D3-C0CNcww5.js → auto-transfer-rule-mbafm5D3-Cgd1DzFo.js} +1 -1
  205. package/dist/assets/chartTypes-Ddw_3-6f-DDbD-D2D.js +1 -0
  206. package/dist/assets/commonDimensions-ClmbdehE-D3isPdv2.js +1 -0
  207. package/dist/assets/{commonTypes-dj64oD5Z-Bwky3r-I.js → commonTypes-B-foaEwJ-B3kT4sSr.js} +1 -1
  208. package/dist/assets/{constants-C3W5HJdb.js → constants-DYpW9FGW.js} +1 -1
  209. package/dist/assets/{core-BzTCCyMo.js → core-Cfmldnhs.js} +1 -1
  210. package/dist/assets/{dash.all.min-CkTzMDyw.js → dash.all.min-CRn-LRx6.js} +1 -1
  211. package/dist/assets/{detailCommon-BnHMV3Xh-ChdSHt8G.js → detailCommon-Cpgf9GLg-YHVPzUGh.js} +6 -6
  212. package/dist/assets/downloadPdf-DfRYmfsd-yijlpLuZ.js +1 -0
  213. package/dist/assets/{empty-BftVTH0C.js → empty-BKT9Ep8-.js} +1 -1
  214. package/dist/assets/{empty-DF2kDKoQ.js → empty-i3z-0iVf.js} +1 -1
  215. package/dist/assets/epic-DzSc1k1-.js +2 -0
  216. package/dist/assets/{gift-box-Cmt9OgIZ-xlgqjeRa.js → gift-box-Cmt9OgIZ-DwiLPIzZ.js} +1 -1
  217. package/dist/assets/{graphic-no-data-l-DU4J8fDt-d8YRoWN5.js → graphic-no-data-l-DU4J8fDt-CeAnn4nf.js} +1 -1
  218. package/dist/assets/{graphic-no-data-net-burn-l-CzmycA0m-Rpwe6ATQ.js → graphic-no-data-net-burn-l-CzmycA0m-QJP23LBP.js} +1 -1
  219. package/dist/assets/{handshake-BPg58FML-DefzGiBk.js → handshake-BPg58FML-D1HUbDRz.js} +1 -1
  220. package/dist/assets/{helper-Dh2z35ok-DVFikn_X.js → helper-DP3YY99s-BUuDECup.js} +3 -3
  221. package/dist/assets/{index-dIthO2CE.js → index-4u2OqriH.js} +1 -1
  222. package/dist/assets/{index-D1VxdI1Q.js → index-8pN1_LrG.js} +1 -1
  223. package/dist/assets/{index-r2Xfaoxu.js → index-BBjGKJIj.js} +1 -1
  224. package/dist/assets/{index-DAuamGRU.js → index-BfeLc3Lr.js} +1 -1
  225. package/dist/assets/{index-D0RCZvbR.js → index-ByXRm0Fj.js} +4341 -4346
  226. package/dist/assets/{index-O9rcG3n2.js → index-DJSq-oST.js} +1 -1
  227. package/dist/assets/{index-B5MYJ0Gb.js → index-vHvAicGU.js} +1 -1
  228. package/dist/assets/{lexical-BFSfLoHw.js → lexical-C8q9B2Uw.js} +1 -1
  229. package/dist/assets/{liveblocks-CKHUw5rb.js → liveblocks-DWegUhIu.js} +1 -1
  230. package/dist/assets/{lottie-DGC6TFh6.js → lottie-BGI-L4nL.js} +1 -1
  231. package/dist/assets/mapLoadingInProgressToTreeNode-C0YIUOnb-BrISft7C.js +1 -0
  232. package/dist/assets/mapSectionWithAcOnlyToTreeNode-QJI_OYzu-DiRfs5eL.js +1 -0
  233. package/dist/assets/mapSpacerToTreeNode-DKDsz0vw-DbMmCeng.js +1 -0
  234. package/dist/assets/mapTimeframeBalancesToTreeNode-DqDJAeAj-CPfI0i_B.js +1 -0
  235. package/dist/assets/mapTimeframeBalancesToTreeNode-J3b1nb_T-Bbpk49fN.js +1 -0
  236. package/dist/assets/mapTimeframeHeaderLoadingInProgressToTreeNode-Dg4cktKO-DVA96-CU.js +1 -0
  237. package/dist/assets/{mui-CWpKo4a_.js → mui-BtuxyOQU.js} +1 -1
  238. package/dist/assets/{page-detail-CWX5S47F-CVwCMYq3.js → page-detail-CWX5S47F-B7ep9GDp.js} +1 -1
  239. package/dist/assets/panelSelectedMixin-CzfD5-Zs-C9iYLSFp.js +4 -0
  240. package/dist/assets/{radio-default-CiSgisfh-B6651goD.js → radio-default-CiSgisfh-CZZPsdKI.js} +1 -1
  241. package/dist/assets/{react-Bzu_Xy5_.js → react-B9JOATsB.js} +1 -1
  242. package/dist/assets/{react-vwz9iPml.js → react-BGg3sLTV.js} +1 -1
  243. package/dist/assets/{react-DvqFhAyq.js → react-CCOUBQ3I.js} +3 -3
  244. package/dist/assets/{react-DqmG4xDA.js → react-CN9vRF0g.js} +1 -1
  245. package/dist/assets/{react-BMOW1TgK.js → react-DmXC6qjh.js} +1 -1
  246. package/dist/assets/{react-lsgzFsFB.js → react-DqQwPwcU.js} +2 -2
  247. package/dist/assets/{react-C2iK07-V.js → react-DyhjmuQS.js} +1 -1
  248. package/dist/assets/{react-PDBH9Hq6.js → react-_UdfJnwg.js} +1 -1
  249. package/dist/assets/{recharts-DgmMLsfg.js → recharts-B1UpAC2z.js} +1 -1
  250. package/dist/assets/{sentry-D6_R-0PO.js → sentry-BfjekFHA.js} +1 -1
  251. package/dist/assets/{shield-DOlUxcFf-BIBsh3vH.js → shield-DOlUxcFf-Diohej-j.js} +1 -1
  252. package/dist/assets/toCOABalancesWithID-AzKAZ-Cv-DrJ7D3cP.js +1 -0
  253. package/dist/assets/toChartData-BEjMhb7--Byh1Bg2r.js +1 -0
  254. package/dist/assets/{uploadAttachment-DbWJ8gRE-sZ5TPM-C.js → uploadAttachment-DUpHzqMe-5f9vnkfw.js} +34 -34
  255. package/dist/assets/{uploadReceipts-Dge0cNF1-NDnD_ECQ.js → uploadReceipts-Dge0cNF1-Bxip3o5m.js} +1 -1
  256. package/dist/assets/{url-Cp9BVxqf.js → url-BKWNACvj.js} +1 -1
  257. package/dist/assets/{url-BD7YYmu3.js → url-CCV-Hsrv.js} +1 -1
  258. package/dist/assets/{useLongPress-GCK2COYQ-DMlV1td1.js → useLongPress-GCK2COYQ-448Ji6V-.js} +1 -1
  259. package/dist/assets/{usp-line-BBd1wKwW-C1nI6oW7.js → usp-line-BBd1wKwW-CdIO-gTm.js} +1 -1
  260. package/dist/assets/{utils-B8cH97sz.js → utils-BhAlbbTk.js} +1 -1
  261. package/dist/assets/{zeni-epic-state-CQm7BABf.js → zeni-epic-state-x1SruN8b.js} +34 -34
  262. package/dist/index.html +1 -1
  263. package/package.json +4 -4
  264. package/dist/assets/ACHDetailsPage-B_Q7H7vZ-BArjZITD.js +0 -21
  265. package/dist/assets/AccountInfoPage-DzO1hdnr-qS-XRYJz.js +0 -18
  266. package/dist/assets/AccountRow-CjgOf4O_-Ct2P2Loi.js +0 -298
  267. package/dist/assets/AddAddressForCardDrawer-DY8hJwaV-DctQgajm.js +0 -6
  268. package/dist/assets/AppDrawerContent-ClNaiJrv-81YLeDsl.js +0 -92
  269. package/dist/assets/ApprovalRulesSettingsPage-DLomT572-B5aUz-1X.js +0 -47
  270. package/dist/assets/BankAccountWarningSection-CEqWR1Zw-CrO5LlLC.js +0 -51
  271. package/dist/assets/BillDetailPage-Cq-0ezLC-D59A1hVS.js +0 -266
  272. package/dist/assets/BillPayPromoPage-CRKiPcgQ-Db7mTibL.js +0 -84
  273. package/dist/assets/BillingSettingsPage-CT9shZjq-Dml3b8SY.js +0 -44
  274. package/dist/assets/BillsBulkReviewDrawerPage-CnBjsecR-KAi_DzA4.js +0 -1
  275. package/dist/assets/BusinessVerificationPage-AgvJgvCM-VS3BHlkX.js +0 -138
  276. package/dist/assets/ChargeCardPromoPage-CB2uJfB7-CBexbuVE.js +0 -222
  277. package/dist/assets/ChargeCardStatementsPage-DLea2BFg-Bzq1bWTF.js +0 -60
  278. package/dist/assets/ConfettiBurst-BHW_-EIc-D-04DoWU.js +0 -1
  279. package/dist/assets/CurrencySelectField-BGGEXCd2-CqXdOTD3.js +0 -139
  280. package/dist/assets/CustomerOnboardingContainerPage-9chhNs4E-4nf9VU4U.js +0 -1
  281. package/dist/assets/DashboardSidebarBackgroundAnimation-BIfSgNTQ-CEApsFHe.js +0 -12
  282. package/dist/assets/DepositAccTransactionListPage-BYLJexH0-Dnn16jUZ.js +0 -66
  283. package/dist/assets/DomesticWireDetailsPage-QIt_abg6-BNV70TDF.js +0 -21
  284. package/dist/assets/EditPeoplePage-DiNmwQ-b-8j5oiktm.js +0 -55
  285. package/dist/assets/EditReimbursementDetailPage-CEKrHDfb-1z4jpKGf.js +0 -865
  286. package/dist/assets/EntityDetailPage-Iu7CxuAk-C6MAecNn.js +0 -18
  287. package/dist/assets/ExpenseAutomationPage-CmkSNeYT-DCM38YVH.js +0 -3001
  288. package/dist/assets/GlobalReviewListPage-CkF4IYGm-BvTLjQUn.js +0 -291
  289. package/dist/assets/InsightsSection-BGx81rZp-C-CAmhUU.js +0 -27
  290. package/dist/assets/InternationalWireVerificationPage-X3YGxUsL-CGf1mCm5.js +0 -65
  291. package/dist/assets/InvitePeoplePage-TC4ogHvA-UvjbDy0v.js +0 -12
  292. package/dist/assets/InvoiceUploadSection-Ch-_e-be-CsDyuXie.js +0 -140
  293. package/dist/assets/LabeledControlledCheckBoxField-1F7zUTc1-w--4KVN8.js +0 -16
  294. package/dist/assets/LabeledDocumentField-D8KhtX0K-Cm1Aq1-V.js +0 -41
  295. package/dist/assets/MagicLinkACHDetailsPage-CHe6VKLu-BMPkOrFd.js +0 -1
  296. package/dist/assets/MagicLinkDomesticWireDetailsPage-v-awQlBJ-BH2pOvpz.js +0 -1
  297. package/dist/assets/MagicLinkInternationalWireDetailsPage-i7QBjsV2-D2g_4xZk.js +0 -1
  298. package/dist/assets/MagicLinkSuccessPage-RrSqrccZ-BaK1c286.js +0 -31
  299. package/dist/assets/MailingDetailsSection-ChDYluge-BR5jsra0.js +0 -21
  300. package/dist/assets/MyPendingActivationChargeCardListPage-CMh7keGL-sXZJss6g.js +0 -6
  301. package/dist/assets/NavBarWithPicker-DDXQ7Sku-vOTr_Eko.js +0 -30
  302. package/dist/assets/NotificationsListConfig-k8axPWyo-CLFHQwy0.js +0 -1
  303. package/dist/assets/NotificationsPage-DAxEmGFd-Dm4A-ui3.js +0 -685
  304. package/dist/assets/OpExByVendorPage-Doliski--xXvwkmsq.js +0 -100
  305. package/dist/assets/PeoplePage-DRSSRNHe-ClqNeLjT.js +0 -727
  306. package/dist/assets/QBOSetupSection-Cxm1PJVl-Cg3a5k3R.js +0 -79
  307. package/dist/assets/ReimbursementDetailPage-DlBiOxIu-CVqJmNIl.js +0 -314
  308. package/dist/assets/ReimbursementsBulkReviewDrawerPage-fcozBEdQ-Dwe_Lhpv.js +0 -1
  309. package/dist/assets/ReportTableViewSelector-Dv5KMclT-vopRz_0Z.js +0 -150
  310. package/dist/assets/RoleWithToolTip-5cp6EPl_-BFxPWWfA.js +0 -22
  311. package/dist/assets/ScheduleSequenceTable-imPIfH2y-BnVlZREz.js +0 -324
  312. package/dist/assets/SignIn-DI57GJYJ-BrvCN9BT.js +0 -491
  313. package/dist/assets/SignInScreen-Db8_UPVb.js +0 -1
  314. package/dist/assets/SpendManagementListViewPage-DxZ5ZwoM-Dngtiu4y.js +0 -134
  315. package/dist/assets/SummaryCard-C95uhnrw-Cz4Ul3rj.js +0 -1
  316. package/dist/assets/TaskManagementPage-CmEmxJHm-I1qb7uu5.js +0 -508
  317. package/dist/assets/TimeframeSwitcher-B-NCBgZo-Bzw6DaTx.js +0 -31
  318. package/dist/assets/TransactionActivityLogPage-Dh4TKmlz-CMXoSaEf.js +0 -195
  319. package/dist/assets/TransactionDetailPage-8CwgUGKw-DD8WTcLz.js +0 -903
  320. package/dist/assets/TransactionList-ClznvtnK-B-6z-9wK.js +0 -153
  321. package/dist/assets/TransactionListPage-DDsLCL1i-CqFnzZ3q.js +0 -35
  322. package/dist/assets/TreasuryOverviewPage-CUbZn5Ys-DIa06mwp.js +0 -725
  323. package/dist/assets/TreasuryStatementsPage-B5QuiNBh-DSjV2_O7.js +0 -58
  324. package/dist/assets/TreasuryTaxLetterPage-DrX0Tsbc-D9ADPjC9.js +0 -58
  325. package/dist/assets/UploadAdditionalDocumentOverlay-BzbMHbg1-JP-yDb8X.js +0 -38
  326. package/dist/assets/VendorACHDetailsPage-hlpQV7jq-D-V9LE3V.js +0 -1
  327. package/dist/assets/VendorDomesticWireDetailsPage-C2IflKW2-F74-Y4ZV.js +0 -1
  328. package/dist/assets/VendorFirstReviewPage-DoJKNdG9-kEHrc5RF.js +0 -730
  329. package/dist/assets/VendorInternationalWireSwiftDetailsPage-DgyDtAJk-C4yDMI1s.js +0 -1
  330. package/dist/assets/ZeniAccountNavBarPieces-ChSFLPtf-YUYBoYMy.js +0 -14
  331. package/dist/assets/ZeniCopyright-lBSuqA9X-zKVr6SPe.js +0 -1
  332. package/dist/assets/analyticsHelper-fVkT15J2.js +0 -1
  333. package/dist/assets/chartTypes-DyOVuWqI-BARYdpSf.js +0 -1
  334. package/dist/assets/commonDimensions-0tYCNmAf-yzUUGq5J.js +0 -1
  335. package/dist/assets/downloadPdf-CdObX2oB-DpdxICbX.js +0 -1
  336. package/dist/assets/epic-CJba3GMN.js +0 -2
  337. package/dist/assets/mapLoadingInProgressToTreeNode-BT2nAyCO-BOa6vUQ9.js +0 -1
  338. package/dist/assets/mapSectionWithAcOnlyToTreeNode-DKn1K1pr--4wnUEOR.js +0 -1
  339. package/dist/assets/mapSpacerToTreeNode-C_jfkzeN-Ch0OV83d.js +0 -1
  340. package/dist/assets/mapTimeframeBalancesToTreeNode-DOVnv_Y6-PQ-Rs5PV.js +0 -1
  341. package/dist/assets/mapTimeframeBalancesToTreeNode-HEnxthuN-MtID2XPF.js +0 -1
  342. package/dist/assets/mapTimeframeHeaderLoadingInProgressToTreeNode-DHwya3AR-BunX61SQ.js +0 -1
  343. package/dist/assets/panelSelectedMixin-Cddsb26L-Cjeo9h__.js +0 -3
  344. package/dist/assets/toCOABalancesWithID-r6SROS7c-DIO7gzfN.js +0 -1
  345. package/dist/assets/toChartData-BLR_ax7l-DRu3ACUZ.js +0 -1
  346. package/dist/assets/upload-reimbursement-receipt-O2N8vcO7-RL1l3ZIL.js +0 -1
@@ -1,11 +1,11 @@
1
- import{V as s,ac as v,bp as E,y as f,K as I,bR as b,o as t,u as T,x as $,ah as R,b as N,p as g,n as P,hX as U,fU as L,au as O,ao as W,hY as _}from"./index-D0RCZvbR.js";import{n as r}from"./mui-CWpKo4a_.js";import{P as S}from"./sentry-D6_R-0PO.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]="96c9c6d8-94a4-4b1a-bf7e-d31cd78b3abc",e._sentryDebugIdIdentifier="sentry-dbid-96c9c6d8-94a4-4b1a-bf7e-d31cd78b3abc")}catch{}})();const V=r(_)`
1
+ import{V as s,aR as v,bp as E,d as f,J as T,bR as b,o as t,u as I,y as $,ag as R,F as N,p as u,G as P,hR as U,fT as L,at as W,an as _,hS as J}from"./index-ByXRm0Fj.js";import{n as r}from"./mui-BtuxyOQU.js";import{P as S}from"./sentry-BfjekFHA.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]="be3cd5cc-de63-4f63-a617-4b41139605f6",e._sentryDebugIdIdentifier="sentry-dbid-be3cd5cc-de63-4f63-a617-4b41139605f6")}catch{}})();const O=r(J)`
2
2
  /* Size is controlled by styles.root prop */
3
- `,J=r.div`
3
+ `,F=r.div`
4
4
  position: relative;
5
5
  width: ${t.sp3};
6
6
  height: ${t.sp3};
7
7
  border-radius: 50%;
8
- background-color: ${g.brandColorJadeLight};
8
+ background-color: ${u.brandColorJadeLight};
9
9
  display: flex;
10
10
  align-items: center;
11
11
  justify-content: center;
@@ -22,7 +22,7 @@ import{V as s,ac as v,bp as E,y as f,K as I,bR as b,o as t,u as T,x as $,ah as R
22
22
  pointer-events: none;
23
23
  z-index: 1;
24
24
  }
25
- `,K=({valueEnd:e,valueStart:i,children:o})=>{const[l,d]=S.useState(i);return S.useEffect(()=>{const n=setTimeout(()=>{d(e)},100);return()=>clearTimeout(n)},[e]),s.jsx(s.Fragment,{children:o(l)})},F=({valueEnd:e=50})=>{const i=f();return s.jsx(K,{valueStart:0,valueEnd:e,children:o=>s.jsx(J,{theme:i,children:s.jsx(V,{value:o,strokeWidth:50,circleRatio:1,styles:{...U({pathColor:g.success,trailColor:"transparent",pathTransitionDuration:1.5,rotation:1,strokeLinecap:"butt"}),root:{width:t.sp3,height:t.sp3,position:"relative",zIndex:2,display:"flex",alignItems:"center",justifyContent:"center"}}})})})},w=({isActive:e,isCompleted:i,isDisabled:o,isError:l,isHalfCompleted:d,theme:n})=>e||i||d||l?l?g.runwayRed:n.colors.primary:o?n.colors.grey1:n.colors.hero,k=({isActive:e,isCompleted:i,isDisabled:o,isHalfCompleted:l,theme:d})=>e||i||l?d.colors.primary:o?d.colors.grey1:d.colors.hero,X=r.div`
25
+ `,G=({valueEnd:e,valueStart:i,children:o})=>{const[l,d]=S.useState(i);return S.useEffect(()=>{const n=setTimeout(()=>{d(e)},100);return()=>clearTimeout(n)},[e]),s.jsx(s.Fragment,{children:o(l)})},V=({valueEnd:e=50})=>{const i=f();return s.jsx(G,{valueStart:0,valueEnd:e,children:o=>s.jsx(F,{theme:i,children:s.jsx(O,{value:o,strokeWidth:50,circleRatio:1,styles:{...U({pathColor:u.success,trailColor:"transparent",pathTransitionDuration:1.5,rotation:1,strokeLinecap:"butt"}),root:{width:t.sp3,height:t.sp3,position:"relative",zIndex:2,display:"flex",alignItems:"center",justifyContent:"center"}}})})})},w=({isActive:e,isCompleted:i,isDisabled:o,isError:l,isHalfCompleted:d,theme:n})=>e||i||d||l?l?u.runwayRed:n.colors.primary:o?n.colors.grey1:n.colors.hero,k=({isActive:e,isCompleted:i,isDisabled:o,isHalfCompleted:l,theme:d})=>e||i||l?d.colors.primary:o?d.colors.grey1:d.colors.hero,B=r.div`
26
26
  width: 100%;
27
27
  display: flex;
28
28
  background: ${e=>e.isActive?e.theme.colors.grey5:null};
@@ -41,31 +41,31 @@ import{V as s,ac as v,bp as E,y as f,K as I,bR as b,o as t,u as T,x as $,ah as R
41
41
  color: ${e=>k({isActive:e.isActive,isCompleted:e.isCompleted,isDisabled:e.isDisabled,isHalfCompleted:e.isHalfCompleted,theme:e.theme})};
42
42
  }
43
43
  }
44
- `,Y=r.div`
44
+ `,Z=r.div`
45
45
  margin-right: ${t.sp2};
46
46
  margin-top: 2px;
47
- `,Z=r(L)`
47
+ `,q=r(L)`
48
48
  width: ${t.sp3};
49
49
  height: ${t.sp3};
50
- color: ${g.success};
51
- `,q=r(P)`
50
+ color: ${u.success};
51
+ `,K=r(P)`
52
52
  width: ${t.sp3};
53
53
  height: ${t.sp3};
54
- color: ${g.runwayRed};
55
- `,B=r.div`
54
+ color: ${u.runwayRed};
55
+ `,M=r.div`
56
56
  height: ${t.sp3};
57
57
  width: ${t.sp3};
58
58
  border: 1px solid
59
59
  ${e=>e.isActive?e.theme.colors.primary:e.disabledStep?e.theme.colors.grey2:e.theme.colors.hero};
60
60
  border-radius: 50%;
61
- `,G=r.div`
61
+ `,Q=r.div`
62
62
  display: flex;
63
63
  flex-direction: column;
64
- `,M=r(O)`
64
+ `,X=r(W)`
65
65
  color: ${e=>w({isActive:e.isActive,isCompleted:e.isCompleted,isDisabled:e.disabledStep,isError:e.isError,isHalfCompleted:e.isHalfCompleted,theme:e.theme})};
66
- `,Q=r(W)`
66
+ `,Y=r(_)`
67
67
  color: ${e=>k({isActive:e.isActive,isCompleted:e.isCompleted,isDisabled:e.disabledStep,isHalfCompleted:e.isHalfCompleted,theme:e.theme})};
68
- `;function ee({onboardingStep:e,isActive:i,isCompleted:o,isHalfCompleted:l,isDisabled:d,isError:n,stepText:h,stepSubText:m,onUpdateStep:u,setIsStepClicked:p,disabledSteps:a}){const c=d||a.includes(e)&&i===!1;return s.jsxs(X,{isActive:i,isDisabled:c,isCompleted:o,isHalfCompleted:l,isError:n,onClick:d===!1?()=>{a.includes(e)&&i===!1||(p(!0),u(e))}:void 0,"data-testid":v("step-box",e),children:[s.jsx(Y,{children:n?s.jsx(q,{}):l?s.jsx(F,{}):o?s.jsx(Z,{}):s.jsx(B,{isActive:i,disabledStep:c})}),s.jsxs(G,{children:[s.jsx(M,{className:"step-content-title",isActive:i,isCompleted:o,isHalfCompleted:l,disabledStep:c,isError:n,children:h}),s.jsx(Q,{className:"step-content-subtitle",isActive:i,isCompleted:o,isHalfCompleted:l,disabledStep:c,children:m})]})]})}const te=r.div`
68
+ `;function ee({onboardingStep:e,isActive:i,isCompleted:o,isHalfCompleted:l,isDisabled:d,isError:n,stepText:h,stepSubText:m,onUpdateStep:g,setIsStepClicked:p,disabledSteps:a}){const c=d||a.includes(e)&&i===!1;return s.jsxs(B,{isActive:i,isDisabled:c,isCompleted:o,isHalfCompleted:l,isError:n,onClick:d===!1?()=>{a.includes(e)&&i===!1||(p(!0),g(e))}:void 0,"data-testid":v("step-box",e),children:[s.jsx(Z,{children:n?s.jsx(K,{}):l?s.jsx(V,{}):o?s.jsx(q,{}):s.jsx(M,{isActive:i,disabledStep:c})}),s.jsxs(Q,{children:[s.jsx(X,{className:"step-content-title",isActive:i,isCompleted:o,isHalfCompleted:l,disabledStep:c,isError:n,children:h}),s.jsx(Y,{className:"step-content-subtitle",isActive:i,isCompleted:o,isHalfCompleted:l,disabledStep:c,children:m})]})]})}const te=r.div`
69
69
  display: flex;
70
70
  flex: 1 1 auto;
71
71
  margin-top: 84px;
@@ -75,7 +75,7 @@ import{V as s,ac as v,bp as E,y as f,K as I,bR as b,o as t,u as T,x as $,ah as R
75
75
  width: 198px;
76
76
  `,se=r.div`
77
77
  width: 100%;
78
- `;function ie({allSteps:e,completedSteps:i,halfCompletedSteps:o,errorSteps:l,currentStep:d,isDisabled:n,onUpdateStep:h,setIsStepClicked:m,disabledSteps:u}){const p=N.getLocalizedStrings().customerOnboardingPage.steps;return s.jsx(te,{children:e.map(a=>s.jsx(se,{children:s.jsx(ee,{isActive:a===d,isCompleted:i.includes(a),isHalfCompleted:o.includes(a),isError:l.includes(a),isDisabled:n,onboardingStep:a,stepText:p[a].stepText,stepSubText:p[a].stepSubText,onUpdateStep:h,setIsStepClicked:m,disabledSteps:u})},a))})}const oe=r.div`
78
+ `;function ie({allSteps:e,completedSteps:i,halfCompletedSteps:o,errorSteps:l,currentStep:d,isDisabled:n,onUpdateStep:h,setIsStepClicked:m,disabledSteps:g}){const p=N.getLocalizedStrings().customerOnboardingPage.steps;return s.jsx(te,{children:e.map(a=>s.jsx(se,{children:s.jsx(ee,{isActive:a===d,isCompleted:i.includes(a),isHalfCompleted:o.includes(a),isError:l.includes(a),isDisabled:n,onboardingStep:a,stepText:p[a].stepText,stepSubText:p[a].stepSubText,onUpdateStep:h,setIsStepClicked:m,disabledSteps:g})},a))})}const oe=r.div`
79
79
  display: flex;
80
80
  flex: 1 1 auto;
81
81
  margin-top: 84px;
@@ -115,7 +115,7 @@ import{V as s,ac as v,bp as E,y as f,K as I,bR as b,o as t,u as T,x as $,ah as R
115
115
  color: ${e=>e.theme.colors.primary};
116
116
  cursor: pointer;
117
117
  flex-shrink: 0;
118
- `,be=e=>{const{isOnAddressPage:i,allSteps:o,completedSteps:l,halfCompletedSteps:d,errorSteps:n,currentStep:h,signedInUser:m,currentTenant:u,fetchStatus:p,onUpdateStep:a,onZeniLogoClick:c,handleLogOutClick:j,handleCockpitClick:A,setIsStepClicked:D}=e,H=p.fetchState==="In-Progress"||p.fetchState==="Not-Started",z=[];return s.jsxs(de,{children:[s.jsx(ae,{"data-testid":v("zeni-logo-customer-onboarding-drawer"),onClick:c}),H?s.jsx(le,{}):s.jsx(ie,{allSteps:o,isDisabled:i,disabledSteps:z,completedSteps:l,halfCompletedSteps:d,errorSteps:n,currentStep:h,onUpdateStep:a,setIsStepClicked:D}),s.jsx(ne,{children:s.jsx(E,{signedInUser:m,currentTenant:u,onLogOutClick:j,onCockpitClick:A})})]})},y={titleRectangleWidth:new $(250,500,550,600),subTitleRectangleWidth:new $(343,600,700,800)},pe=r.div`
118
+ `,be=e=>{const{isOnAddressPage:i,allSteps:o,completedSteps:l,halfCompletedSteps:d,errorSteps:n,currentStep:h,signedInUser:m,currentTenant:g,fetchStatus:p,onUpdateStep:a,onZeniLogoClick:c,handleLogOutClick:j,handleCockpitClick:A,setIsStepClicked:D}=e,H=p.fetchState==="In-Progress"||p.fetchState==="Not-Started",z=[];return s.jsxs(de,{children:[s.jsx(ae,{"data-testid":v("zeni-logo-customer-onboarding-drawer"),onClick:c}),H?s.jsx(le,{}):s.jsx(ie,{allSteps:o,isDisabled:i,disabledSteps:z,completedSteps:l,halfCompletedSteps:d,errorSteps:n,currentStep:h,onUpdateStep:a,setIsStepClicked:D}),s.jsx(ne,{children:s.jsx(E,{signedInUser:m,currentTenant:g,onLogOutClick:j,onCockpitClick:A})})]})},y={titleRectangleWidth:new $(250,500,550,600),subTitleRectangleWidth:new $(343,600,700,800)},pe=r.div`
119
119
  display: flex;
120
120
  flex-direction: column;
121
121
  align-items: center;
@@ -159,4 +159,4 @@ import{V as s,ac as v,bp as E,y as f,K as I,bR as b,o as t,u as T,x as $,ah as R
159
159
  box-sizing: border-box;
160
160
  align-items: center;
161
161
  justify-content: center;
162
- `,xe=({isNoStepsPage:e=!1})=>{const i=f(),o=I();return s.jsx(pe,{isNoStepsPage:e,children:s.jsx(ce,{windowSize:o,children:s.jsxs(he,{children:[s.jsx(C,{children:s.jsx(b,{width:y.titleRectangleWidth.value(o),height:T[6],backgroundColor:i.colors.grey3,style:{borderRadius:t.sp2}})}),s.jsx(C,{children:s.jsx(b,{width:y.subTitleRectangleWidth.value(o),height:27,backgroundColor:i.colors.grey3,style:{borderRadius:t.sp2}})})]})})})};export{x as a,be as b,xe as f};
162
+ `,xe=({isNoStepsPage:e=!1})=>{const i=f(),o=T();return s.jsx(pe,{isNoStepsPage:e,children:s.jsx(ce,{windowSize:o,children:s.jsxs(he,{children:[s.jsx(C,{children:s.jsx(b,{width:y.titleRectangleWidth.value(o),height:I[6],backgroundColor:i.colors.grey3,style:{borderRadius:t.sp2}})}),s.jsx(C,{children:s.jsx(b,{width:y.subTitleRectangleWidth.value(o),height:27,backgroundColor:i.colors.grey3,style:{borderRadius:t.sp2}})})]})})})};export{x as a,be as b,xe as f};
@@ -1,4 +1,4 @@
1
- import{a9 as se,V as o,fC as Ce,K as Pe,y as be,aa as we,aS as xe,cI as ke,bE as Ie,o as i,ac as Ae,ae as Ve,aT as ve,bp as $e,hV as Oe,b as Te,f2 as je,f3 as oe,ah as Le,x as J,an as Ee,u as A}from"./index-D0RCZvbR.js";import{n as c}from"./mui-CWpKo4a_.js";import{a as V}from"./sentry-D6_R-0PO.js";import{r as Ue,t as _e}from"./PaymentAccountSetupBillingAddressSection-BwtVSnia-C7hSU-EC.js";import{f as ze}from"./CustomerOnboardingDetailPageSkeleton-DyX4Fa7j-D4Zm7ptp.js";import"./liveblocks-CKHUw5rb.js";import"./core-BzTCCyMo.js";import"./recharts-DgmMLsfg.js";import"./zeni-epic-state-CQm7BABf.js";import"./lottie-DGC6TFh6.js";import"./analytics-CFLF9sCc.js";import"./lexical-BFSfLoHw.js";import"./utils-B8cH97sz.js";import"./commonTypes-dj64oD5Z-Bwky3r-I.js";import"./SetUpAccountSection-D1u5qaQy-BfLHCJ7_.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]="4ce4776a-5f22-440a-9473-7d3dcf70fada",e._sentryDebugIdIdentifier="sentry-dbid-4ce4776a-5f22-440a-9473-7d3dcf70fada")}catch{}})();const q="onboardingPaymentAccountSetupSection",ie="customerOnboardingNoStepsDetailPage",n="onboardingSubscriptionBillingAddress",Q={titleWidth:new J(343,580,726,826),subTitlePaddingTop:new J(A[3],A[3]),subTitlePaddingBottom:new J(A[3],A[3])},Be=e=>`${e}_form`,De=Te.getLocalizedStrings(),Ke=({onboardingCustomerView:e,connectedAccountProvider:u,cardPaymentView:p,stripeKey:$,googleAPIKey:O,signedInUser:P,currentTenant:T,onUpdateStep:j,handleCreateCardSetupIntent:L,handleConfirmCardSetupIntent:E,updateCardPaymentModalState:b,handleAddCardPaymentSource:U,resetCardPaymentViewState:_,handleResetCardPaymentErrorStatuses:z,redirectToProductSuitePage:w,onUpdateCustomerView:B,...D})=>{const m=Pe(),K=se(),{analytics:h}=K,{onFetchLinkTokenClick:F,onUpdatePaymentAccountStatus:M,onUpdatePaymentAccountLoginStatus:R,onEstablishConnectionClick:S,onEstablishConnectionSuccess:N,handleLogOutClick:G,onZeniLogoClick:H,onAddressEditHandler:x}=D,W=be(),r=we({mode:"onSubmit",reValidateMode:"onSubmit",defaultValues:v(e),values:v(e),shouldFocusError:!0,resetOptions:{keepDirtyValues:!0}}),{companyOfficerLocalData:re,saveStatus:g,paymentAccount:k,paymentAccountStatus:de,plaidConnectionDetails:X,uiState:le,allNationalityCountries:Y,subscriptionBillingAddress:y}=e,{customerOnboardingPage:ce,common:f}=De,{footer:ue,steps:pe}=ce,{buttons:Z}=ue,ee=pe.link_payment_account,I=xe(g.fetchState),te=Object.values(re).findIndex(t=>t?.isSelectedForVerification===!0)??0,me=`Officer_${te<0?1:te+1}`,ge=async(t,a)=>{if(t.includes(n)&&a[n]!=null){const s=r.getValues(`${n}`).country;let d=a[n];if(t.includes(`${n}.street`)&&a[n].street!=null){const{addressValue:l}=a[n].street,C=je(l?.country);d={street:a[n].street??f.strings.empty,city:l?.locality??f.strings.empty,state:l?.administrativeAreaLevel1??f.strings.empty,country:C,countryCode:l?.countryCode??f.strings.empty,postalCode:l?.postalCode??f.strings.empty,secondaryInfo:a[n].secondaryInfo,suite:a[n].suite},s.selectedOption!==C.selectedOption&&(d={...d,country:C})}else t===`${n}.country`&&s.selectedOption!=null?d={...d,countryCode:oe(s.selectedOption)}:s.selectedOption!=null&&t.includes(`${n}.street`)===!1&&(d={...d,countryCode:oe(s.selectedOption)});x(d)}};V.useEffect(()=>{const t=r.watch((a,{name:s})=>{s!=null&&a!=null&&ke(()=>ge(s,a))});return()=>{t.unsubscribe()}}),V.useEffect(()=>{I==="In-Progress"&&g.fetchState==="Completed"&&r.reset(v(e),{keepDirtyValues:!1})},[r,e,I,g.fetchState,Y]);const ye=()=>{const t=r.getValues(n),a={street:t.street.addressString,suite:t.suite,city:t.city,state:t.state,postalCode:t.postalCode,country:t.country.selectedOption??f.strings.empty,secondaryInfo:t.secondaryInfo};h.trackOnboardingBillingAddressSave(a)},ne=()=>{const t=Object.values(X).some(l=>l.fetchStatus.fetchState==="Completed"),a=k?.providerVerificationStatus?.code?.includes("verified")??!1,s=p.cardsList.length>0,d=p.bankAccountsList[0]?.providerVerificationStatus?.code?.includes("verified")??!1;return t&&a||!a&&!k&&s||!s&&!k&&d};function fe(){if(r.getFieldState(n).error)return!1;const t=r.getValues(n),a=y?.street.join("").trim(),s=y?.city,d=y?.state,l=y?.country,C=y?.postalCode!=null&&y.postalCode||t.postalCode||f.strings.empty;return!!a&&!!s&&!!d&&!!l&&!!C}const he=async()=>{const t=await r.trigger(n),a=await r.trigger(q);t&&a&&(ye(),j("link_payment_account"),B(me,!1,!0))};V.useEffect(()=>{I==="In-Progress"&&g.fetchState==="Completed"&&(r.reset(v(e),{keepDirtyValues:!1}),w())},[r,e,I,g.fetchState,Y,w]);const[ae,Se]=V.useState(!1);return o.jsxs(Fe,{children:[o.jsxs(Me,{windowSize:m,children:[o.jsx(Ie,{title:ee.sectionTitle,showBackButton:!1,backgroundColor:W.colors.grey4,style:{zIndex:4},source:"CustomerOnboardingPaymentAddressDetailPage",showLeftSection:m!=="small",titleStyle:{display:"flex",alignItems:"center"},navBarContainerStyles:{paddingTop:i.sp0,paddingBottom:i.sp0},leftSideComponent:o.jsx(He,{children:o.jsx(We,{"data-testid":Ae("zeni-logo-customer-onboarding-payment-address-detail-page"),onClick:H})})}),o.jsx(Ve,{...r,children:o.jsx(Ne,{id:Be(ie),children:o.jsxs(Re,{children:[o.jsx(Ze,{windowSize:m,children:ee.sectionSubTitle}),o.jsx(Ue,{connectedAccountProvider:u,paymentAccount:k,accountStatus:de,plaidConnectionDetails:X,subscriptionBillingAddressSectionId:n,sectionId:q,analytics:h,isValid:ne(),onFetchLinkTokenClick:F,onEstablishConnectionClick:S,onUpdatePaymentAccountStatus:M,onUpdatePaymentAccountLoginStatus:R,onEstablishConnectionSuccess:N,updateCardPaymentModalState:b,cardPaymentView:p,resetCardPaymentViewState:_,cardSetupInProgress:ae,googleAPIKey:O,subscriptionBillingAddress:y})]},"link_payment_account")})}),o.jsx(ve,{formId:`${ie}`,leftSideComponent:o.jsx(Ge,{windowSize:m,children:o.jsx($e,{signedInUser:P,currentTenant:T,onLogOutClick:G})}),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:he,label:Z.submit,isLoading:g.fetchState==="In-Progress",isDisabled:g.fetchState==="In-Progress"||!(fe()&&ne())},containerStyle:{width:"auto",justifyContent:"center"},helperText:Z.submitText.replace("__action__",Z.submit),helperStyle:{width:"auto",padding:i.sp0,rowGap:i.sp0,textAlign:"center"}})]}),o.jsx(_e,{handleConfirmCardSetupIntent:E,updateCardPaymentModalState:b,handleCreateCardSetupIntent:L,handleAddCardPaymentSource:U,cardPaymentView:p,stripeKey:$,isCardPaymentOpen:le.isCardPaymentPopupOpen,handleResetCardPaymentErrorStatuses:z,cardSetupInProgress:ae,setCardSetupInProgress:Se})]})},Fe=c.div`
1
+ import{a9 as se,V as o,fB as Ce,J as Pe,d as be,aa as we,aS as xe,cH as ke,bE as Ie,o as i,aR as Ae,ad as $e,aT as Ve,bp as ve,hP as Oe,F as Te,f1 as je,f2 as oe,ag as Le,y as J,am as Ue,u as A}from"./index-ByXRm0Fj.js";import{n as c}from"./mui-BtuxyOQU.js";import{a as $}from"./sentry-BfjekFHA.js";import{r as Ee,t as _e}from"./PaymentAccountSetupBillingAddressSection-Deb_ngk6-BYIDdJGi.js";import{f as ze}from"./CustomerOnboardingDetailPageSkeleton-BYXyF1CQ-DQwtiYKE.js";import"./liveblocks-DWegUhIu.js";import"./core-Cfmldnhs.js";import"./recharts-B1UpAC2z.js";import"./zeni-epic-state-x1SruN8b.js";import"./lottie-BGI-L4nL.js";import"./analytics-D_c73QMR.js";import"./lexical-C8q9B2Uw.js";import"./utils-BhAlbbTk.js";import"./commonTypes-B-foaEwJ-B3kT4sSr.js";import"./SetUpAccountSection-CoVrSSYL-DbZWiYfU.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]="9d6fb617-5c6a-412f-9320-6c0688296cd6",e._sentryDebugIdIdentifier="sentry-dbid-9d6fb617-5c6a-412f-9320-6c0688296cd6")}catch{}})();const q="onboardingPaymentAccountSetupSection",ie="customerOnboardingNoStepsDetailPage",n="onboardingSubscriptionBillingAddress",Q={titleWidth:new J(343,580,726,826),subTitlePaddingTop:new J(A[3],A[3]),subTitlePaddingBottom:new J(A[3],A[3])},Be=e=>`${e}_form`,De=Te.getLocalizedStrings(),Fe=({onboardingCustomerView:e,connectedAccountProvider:u,cardPaymentView:p,stripeKey:v,googleAPIKey:O,signedInUser:P,currentTenant:T,onUpdateStep:j,handleCreateCardSetupIntent:L,handleConfirmCardSetupIntent:U,updateCardPaymentModalState:b,handleAddCardPaymentSource:E,resetCardPaymentViewState:_,handleResetCardPaymentErrorStatuses:z,redirectToProductSuitePage:w,onUpdateCustomerView:B,...D})=>{const m=Pe(),F=se(),{analytics:h}=F,{onFetchLinkTokenClick:K,onUpdatePaymentAccountStatus:M,onUpdatePaymentAccountLoginStatus:R,onEstablishConnectionClick:S,onEstablishConnectionSuccess:H,handleLogOutClick:N,onZeniLogoClick:G,onAddressEditHandler:x}=D,W=be(),r=we({mode:"onSubmit",reValidateMode:"onSubmit",defaultValues:V(e),values:V(e),shouldFocusError:!0,resetOptions:{keepDirtyValues:!0}}),{companyOfficerLocalData:re,saveStatus:g,paymentAccount:k,paymentAccountStatus:de,plaidConnectionDetails:X,uiState:le,allNationalityCountries:Y,subscriptionBillingAddress:y}=e,{customerOnboardingPage:ce,common:f}=De,{footer:ue,steps:pe}=ce,{buttons:Z}=ue,ee=pe.link_payment_account,I=xe(g.fetchState),te=Object.values(re).findIndex(t=>t?.isSelectedForVerification===!0)??0,me=`Officer_${te<0?1:te+1}`,ge=async(t,a)=>{if(t.includes(n)&&a[n]!=null){const s=r.getValues(`${n}`).country;let d=a[n];if(t.includes(`${n}.street`)&&a[n].street!=null){const{addressValue:l}=a[n].street,C=je(l?.country);d={street:a[n].street??f.strings.empty,city:l?.locality??f.strings.empty,state:l?.administrativeAreaLevel1??f.strings.empty,country:C,countryCode:l?.countryCode??f.strings.empty,postalCode:l?.postalCode??f.strings.empty,secondaryInfo:a[n].secondaryInfo,suite:a[n].suite},s.selectedOption!==C.selectedOption&&(d={...d,country:C})}else t===`${n}.country`&&s.selectedOption!=null?d={...d,countryCode:oe(s.selectedOption)}:s.selectedOption!=null&&t.includes(`${n}.street`)===!1&&(d={...d,countryCode:oe(s.selectedOption)});x(d)}};$.useEffect(()=>{const t=r.watch((a,{name:s})=>{s!=null&&a!=null&&ke(()=>ge(s,a))});return()=>{t.unsubscribe()}}),$.useEffect(()=>{I==="In-Progress"&&g.fetchState==="Completed"&&r.reset(V(e),{keepDirtyValues:!1})},[r,e,I,g.fetchState,Y]);const ye=()=>{const t=r.getValues(n),a={street:t.street.addressString,suite:t.suite,city:t.city,state:t.state,postalCode:t.postalCode,country:t.country.selectedOption??f.strings.empty,secondaryInfo:t.secondaryInfo};h.trackOnboardingBillingAddressSave(a)},ne=()=>{const t=Object.values(X).some(l=>l.fetchStatus.fetchState==="Completed"),a=k?.providerVerificationStatus?.code?.includes("verified")??!1,s=p.cardsList.length>0,d=p.bankAccountsList[0]?.providerVerificationStatus?.code?.includes("verified")??!1;return t&&a||!a&&!k&&s||!s&&!k&&d};function fe(){if(r.getFieldState(n).error)return!1;const t=r.getValues(n),a=y?.street.join("").trim(),s=y?.city,d=y?.state,l=y?.country,C=y?.postalCode!=null&&y.postalCode||t.postalCode||f.strings.empty;return!!a&&!!s&&!!d&&!!l&&!!C}const he=async()=>{const t=await r.trigger(n),a=await r.trigger(q);t&&a&&(ye(),j("link_payment_account"),B(me,!1,!0))};$.useEffect(()=>{I==="In-Progress"&&g.fetchState==="Completed"&&(r.reset(V(e),{keepDirtyValues:!1}),w())},[r,e,I,g.fetchState,Y,w]);const[ae,Se]=$.useState(!1);return o.jsxs(Ke,{children:[o.jsxs(Me,{windowSize:m,children:[o.jsx(Ie,{title:ee.sectionTitle,showBackButton:!1,backgroundColor:W.colors.grey4,style:{zIndex:4},source:"CustomerOnboardingPaymentAddressDetailPage",showLeftSection:m!=="small",titleStyle:{display:"flex",alignItems:"center"},navBarContainerStyles:{paddingTop:i.sp0,paddingBottom:i.sp0},leftSideComponent:o.jsx(Ge,{children:o.jsx(We,{"data-testid":Ae("zeni-logo-customer-onboarding-payment-address-detail-page"),onClick:G})})}),o.jsx($e,{...r,children:o.jsx(He,{id:Be(ie),children:o.jsxs(Re,{children:[o.jsx(Ze,{windowSize:m,children:ee.sectionSubTitle}),o.jsx(Ee,{connectedAccountProvider:u,paymentAccount:k,accountStatus:de,plaidConnectionDetails:X,subscriptionBillingAddressSectionId:n,sectionId:q,analytics:h,isValid:ne(),onFetchLinkTokenClick:K,onEstablishConnectionClick:S,onUpdatePaymentAccountStatus:M,onUpdatePaymentAccountLoginStatus:R,onEstablishConnectionSuccess:H,updateCardPaymentModalState:b,cardPaymentView:p,resetCardPaymentViewState:_,cardSetupInProgress:ae,googleAPIKey:O,subscriptionBillingAddress:y})]},"link_payment_account")})}),o.jsx(Ve,{formId:`${ie}`,leftSideComponent:o.jsx(Ne,{windowSize:m,children:o.jsx(ve,{signedInUser:P,currentTenant:T,onLogOutClick:N})}),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:he,label:Z.submit,isLoading:g.fetchState==="In-Progress",isDisabled:g.fetchState==="In-Progress"||!(fe()&&ne())},containerStyle:{width:"auto",justifyContent:"center"},helperText:Z.submitText.replace("__action__",Z.submit),helperStyle:{width:"auto",padding:i.sp0,rowGap:i.sp0,textAlign:"center"}})]}),o.jsx(_e,{handleConfirmCardSetupIntent:U,updateCardPaymentModalState:b,handleCreateCardSetupIntent:L,handleAddCardPaymentSource:E,cardPaymentView:p,stripeKey:v,isCardPaymentOpen:le.isCardPaymentPopupOpen,handleResetCardPaymentErrorStatuses:z,cardSetupInProgress:ae,setCardSetupInProgress:Se})]})},Ke=c.div`
2
2
  display: flex;
3
3
  flex-direction: column;
4
4
  align-items: center;
@@ -28,10 +28,10 @@ import{a9 as se,V as o,fC as Ce,K as Pe,y as be,aa as we,aS as xe,cI as ke,bE as
28
28
  height: 100%;
29
29
  flex-direction: column;
30
30
  padding-bottom: ${i.sp0};
31
- `,Ne=c.form`
31
+ `,He=c.form`
32
32
  padding-top: ${i.sp0};
33
33
  flex: 1;
34
- `,Ge=c.div`
34
+ `,Ne=c.div`
35
35
  display: flex;
36
36
  height: ${i.sp7};
37
37
  left: ${i.sp4};
@@ -40,7 +40,7 @@ import{a9 as se,V as o,fC as Ce,K as Pe,y as be,aa as we,aS as xe,cI as ke,bE as
40
40
  justify-content: center;
41
41
  align-items: center;
42
42
  cursor: default;
43
- `,He=c.div`
43
+ `,Ge=c.div`
44
44
  display: flex;
45
45
  `,We=c(Le)`
46
46
  height: ${i.sp4};
@@ -49,7 +49,7 @@ import{a9 as se,V as o,fC as Ce,K as Pe,y as be,aa as we,aS as xe,cI as ke,bE as
49
49
  cursor: pointer;
50
50
  flex-shrink: 0;
51
51
  margin-left: -${i.sp4};
52
- `,Ze=c(Ee)`
52
+ `,Ze=c(Ue)`
53
53
  color: ${e=>e.theme.colors.hero};
54
54
  display: flex;
55
55
  justify-content: center;
@@ -58,7 +58,7 @@ import{a9 as se,V as o,fC as Ce,K as Pe,y as be,aa as we,aS as xe,cI as ke,bE as
58
58
  padding-bottom: ${e=>Q.subTitlePaddingBottom.valuePx(e.windowSize)};
59
59
  text-align: ${e=>e.windowSize==="small"?"initial":"center"};
60
60
  width: 100%;
61
- `,v=e=>({[q]:{account:{allOptions:[],selectedOption:void 0}},[n]:Oe(n,e?.subscriptionBillingAddress)[n]}),ut=e=>{const{onboardingCustomerView:u,cardPaymentView:p,signedInUser:$,currentTenant:O,isOnAddressPage:P,stripeKey:T,googleAPIKey:j,meetingUrl:L,onUpdateStep:E,onZeniLogoClick:b,handleLogOutClick:U,handleCockpitClick:_,handleCreateCardSetupIntent:z,handleConfirmCardSetupIntent:w,handleFetchPaymentSources:B,updateCardPaymentModalState:D,resetCardPaymentViewState:m,handleResetCardPaymentErrorStatuses:K,redirectToProductSuitePage:h,...F}=e,{allSteps:M,currentStep:R,fetchStatus:S}=u,N=se(),{analytics:G}=N,H={allSteps:M,isOnAddressPage:P,currentStep:R,fetchStatus:S,signedInUser:$,currentTenant:O,onUpdateStep:W=>{E(W)},onZeniLogoClick:b,handleLogOutClick:U,handleCockpitClick:_,redirectToProductSuitePage:h},x=S.fetchState==="In-Progress"||S.fetchState==="Not-Started";return o.jsxs(Je,{isOnAddressPage:P,children:[x?o.jsx(ze,{isNoStepsPage:!0}):o.jsx(Ke,{...H,onboardingCustomerView:u,handleCreateCardSetupIntent:z,handleConfirmCardSetupIntent:w,updateCardPaymentModalState:D,handleFetchPaymentSources:B,cardPaymentView:p,resetCardPaymentViewState:m,stripeKey:T,googleAPIKey:j,handleResetCardPaymentErrorStatuses:K,redirectToProductSuitePage:h,...F}),x?null:o.jsx(Ce,{isFooterRendered:!0,meetingUrl:L,analytics:G,productType:"onboarding"})]})},Je=c.div`
61
+ `,V=e=>({[q]:{account:{allOptions:[],selectedOption:void 0}},[n]:Oe(n,e?.subscriptionBillingAddress)[n]}),ut=e=>{const{onboardingCustomerView:u,cardPaymentView:p,signedInUser:v,currentTenant:O,isOnAddressPage:P,stripeKey:T,googleAPIKey:j,meetingUrl:L,onUpdateStep:U,onZeniLogoClick:b,handleLogOutClick:E,handleCockpitClick:_,handleCreateCardSetupIntent:z,handleConfirmCardSetupIntent:w,handleFetchPaymentSources:B,updateCardPaymentModalState:D,resetCardPaymentViewState:m,handleResetCardPaymentErrorStatuses:F,redirectToProductSuitePage:h,...K}=e,{allSteps:M,currentStep:R,fetchStatus:S}=u,H=se(),{analytics:N}=H,G={allSteps:M,isOnAddressPage:P,currentStep:R,fetchStatus:S,signedInUser:v,currentTenant:O,onUpdateStep:W=>{U(W)},onZeniLogoClick:b,handleLogOutClick:E,handleCockpitClick:_,redirectToProductSuitePage:h},x=S.fetchState==="In-Progress"||S.fetchState==="Not-Started";return o.jsxs(Je,{isOnAddressPage:P,children:[x?o.jsx(ze,{isNoStepsPage:!0}):o.jsx(Fe,{...G,onboardingCustomerView:u,handleCreateCardSetupIntent:z,handleConfirmCardSetupIntent:w,updateCardPaymentModalState:D,handleFetchPaymentSources:B,cardPaymentView:p,resetCardPaymentViewState:m,stripeKey:T,googleAPIKey:j,handleResetCardPaymentErrorStatuses:F,redirectToProductSuitePage:h,...K}),x?null:o.jsx(Ce,{isFooterRendered:!0,meetingUrl:L,analytics:N,productType:"onboarding"})]})},Je=c.div`
62
62
  display: flex;
63
63
  flex-direction: column;
64
64
  width: ${e=>e.isOnAddressPage?"fit-content":"100%"};
@@ -1,16 +1,16 @@
1
- import{V as l,fC as tn,K as Me,y as nn,aa as an,cI as me,aS as He,J as yt,aG as Qe,bE as on,o as re,ae as sn,u as K,aT as rn,hV as ln,gg as cn,fD as ft,f2 as Pt,b as Ye,f3 as gt,x as ye,gj as fe,cM as dn,an as pn,hW as ht,af as St,cW as un,gi as mn}from"./index-D0RCZvbR.js";import{a as m}from"./sentry-D6_R-0PO.js";import{n as O,k as wt}from"./mui-CWpKo4a_.js";import{bi as j,G8 as yn,G9 as fn}from"./zeni-epic-state-CQm7BABf.js";import{r as Ct,t as gn}from"./PaymentAccountSetupBillingAddressSection-BwtVSnia-C7hSU-EC.js";import{b as bt,f as hn,a as It}from"./CustomerOnboardingDetailPageSkeleton-DyX4Fa7j-D4Zm7ptp.js";import{z as Sn,r as Cn}from"./CompanyOfficerDetailsSection-Czd9OA0I-PpNc4QNR.js";import{t as bn}from"./QBOSetupSection-Cxm1PJVl-Cg3a5k3R.js";import"./liveblocks-CKHUw5rb.js";import"./core-BzTCCyMo.js";import"./recharts-DgmMLsfg.js";import"./lottie-DGC6TFh6.js";import"./analytics-CFLF9sCc.js";import"./lexical-BFSfLoHw.js";import"./utils-B8cH97sz.js";import"./commonTypes-dj64oD5Z-Bwky3r-I.js";import"./SetUpAccountSection-D1u5qaQy-BfLHCJ7_.js";import"./helper-Dh2z35ok-DVFikn_X.js";import"./LabeledAddressValueField-DS32l0xi-ffR5_IMa.js";import"./LabeledCountryMultiSelectField-uVIlAv9_-Cr-pLwSj.js";import"./LabeledCreatableSingleSelectField-CKBw0XOi-B5ltv_kq.js";import"./LabeledDocumentField-D8KhtX0K-Cm1Aq1-V.js";import"./QBOConnectionDialog-BZsRQAbh-D2VVdab9.js";(function(){try{var n=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},C=new n.Error().stack;C&&(n._sentryDebugIds=n._sentryDebugIds||{},n._sentryDebugIds[C]="1f50d214-2fc8-4254-972b-1763e1bec879",n._sentryDebugIdIdentifier="sentry-dbid-1f50d214-2fc8-4254-972b-1763e1bec879")}catch{}})();const In=({companyView:n,companyOfficerLocalData:C,allNationalityCountries:i,isVerificationPopupOpen:g,setIsVerificationPopupOpen:_,verifiedPhoneNumber:P,onPhoneVerified:h,...w})=>{const f=Me(),A=n?.companyOfficers.slice(0,10).sort((I,ee)=>I.user.createTime?.isAfter(ee.user.createTime)===!0?1:-1)?.map(I=>I.user),{company_officer:c}=Ye.getLocalizedStrings().customerOnboardingPage.sections,{title:v}=c,D=n?.company.company.featuresActivationInfo.connectedAccountProvider;return l.jsx(On,{children:l.jsx(Cn,{companyOfficerData:C,allOfficers:A??[],allNationalityCountries:i,sectionHeader:v,isPopupOpen:g,productType:"onboarding",connectedAccountProvider:D,showInfoTooltip:f!=="small",showCompletedIcon:f==="small",showOfficerSelect:!1,showVerificationTag:!1,verifiedPhoneNumber:P,onPhoneVerified:h,optionalFields:["dob","officerAddress","role","ssn","ownership","selectDocument","phone"],openPopup:_,...w})})},On=O.div`
1
+ import{V as l,fB as tn,J as Ke,d as nn,aa as an,cH as me,aS as Qe,A as yt,aF as We,bE as on,o as re,ad as sn,u as Y,aT as rn,hP as ln,gf as cn,fC as ft,f1 as Ot,F as Me,f2 as gt,y as ye,gi as fe,cL as dn,am as pn,hQ as ht,ae as St,cV as un,gh as mn}from"./index-ByXRm0Fj.js";import{a as m}from"./sentry-BfjekFHA.js";import{n as P,k as wt}from"./mui-BtuxyOQU.js";import{bi as j,Fp as yn,Fq as fn}from"./zeni-epic-state-x1SruN8b.js";import{r as Ct,t as gn}from"./PaymentAccountSetupBillingAddressSection-Deb_ngk6-BYIDdJGi.js";import{b as bt,f as hn,a as It}from"./CustomerOnboardingDetailPageSkeleton-BYXyF1CQ-DQwtiYKE.js";import{z as Sn,r as Cn}from"./CompanyOfficerDetailsSection-Rk0B5cB5-DB11gG9H.js";import{t as bn}from"./QBOSetupSection-EOFscEW--D0QcMDeq.js";import"./liveblocks-DWegUhIu.js";import"./core-Cfmldnhs.js";import"./recharts-B1UpAC2z.js";import"./lottie-BGI-L4nL.js";import"./analytics-D_c73QMR.js";import"./lexical-C8q9B2Uw.js";import"./utils-BhAlbbTk.js";import"./commonTypes-B-foaEwJ-B3kT4sSr.js";import"./SetUpAccountSection-CoVrSSYL-DbZWiYfU.js";import"./helper-DP3YY99s-BUuDECup.js";import"./LabeledAddressValueField-BoHS44YO-B3Azc_ND.js";import"./LabeledCountryMultiSelectField-D1fVDYR_-BT0zs0Jm.js";import"./LabeledCreatableSingleSelectField-Bhka-Faj-D8-1M_Br.js";import"./LabeledDocumentField-CnRk5aKZ-CV8AaRRN.js";import"./QBOConnectionDialog-BrQ71F06-CE8JPZ4E.js";(function(){try{var n=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},C=new n.Error().stack;C&&(n._sentryDebugIds=n._sentryDebugIds||{},n._sentryDebugIds[C]="cb257cbd-72be-4bab-95fa-12f1281149ad",n._sentryDebugIdIdentifier="sentry-dbid-cb257cbd-72be-4bab-95fa-12f1281149ad")}catch{}})();const In=({companyView:n,companyOfficerLocalData:C,allNationalityCountries:i,isVerificationPopupOpen:g,setIsVerificationPopupOpen:_,verifiedPhoneNumber:O,onPhoneVerified:h,...w})=>{const f=Ke(),V=n?.companyOfficers.slice(0,10).sort((I,ee)=>I.user.createTime?.isAfter(ee.user.createTime)===!0?1:-1)?.map(I=>I.user),{company_officer:c}=Me.getLocalizedStrings().customerOnboardingPage.sections,{title:v}=c,A=n?.company.company.featuresActivationInfo.connectedAccountProvider;return l.jsx(Pn,{children:l.jsx(Cn,{companyOfficerData:C,allOfficers:V??[],allNationalityCountries:i,sectionHeader:v,isPopupOpen:g,productType:"onboarding",connectedAccountProvider:A,showInfoTooltip:f!=="small",showCompletedIcon:f==="small",showOfficerSelect:!1,showVerificationTag:!1,verifiedPhoneNumber:O,onPhoneVerified:h,optionalFields:["dob","officerAddress","role","ssn","ownership","selectDocument","phone"],openPopup:_,...w})})},Pn=P.div`
2
2
  display: flex;
3
3
  align-items: center;
4
4
  justify-content: center;
5
- `,Pn=({allNationalityCountries:n,fileProps:C,companyDetails:i,companyIndustries:g,sectionId:_,isCompleted:P,isDisabled:h,style:w,onCompanyAddressClick:f,onRegisteredAddressClick:A})=>{const c=Me(),{company_details:v}=Ye.getLocalizedStrings().customerOnboardingPage.sections,{title:D}=v;return l.jsx(wn,{children:l.jsx(Sn,{fileProps:C,companyDetails:i,sectionId:_,isDisabled:h,style:w,sectionHeader:D,productType:"onboarding",showInfoTooltip:c!=="small",showCompletedIcon:c==="small",isCompleted:P,allIndustries:g,allNationalityCountries:n,optionalFields:["companyLegalName","companyDescription","companyAddress","companyIndustry","typeOfIncorporation","stateOfIncorporation","countriesOfOperations","incDate","certificateOfIncorporation","ein","companyPhone","primaryContactName"],onCompanyAddressClick:f,onRegisteredAddressClick:A})})},wn=O.div`
5
+ `,On=({allNationalityCountries:n,fileProps:C,companyDetails:i,companyIndustries:g,sectionId:_,isCompleted:O,isDisabled:h,style:w,onCompanyAddressClick:f,onRegisteredAddressClick:V})=>{const c=Ke(),{company_details:v}=Me.getLocalizedStrings().customerOnboardingPage.sections,{title:A}=v;return l.jsx(wn,{children:l.jsx(Sn,{fileProps:C,companyDetails:i,sectionId:_,isDisabled:h,style:w,sectionHeader:A,productType:"onboarding",showInfoTooltip:c!=="small",showCompletedIcon:c==="small",isCompleted:O,allIndustries:g,allNationalityCountries:n,optionalFields:["companyLegalName","companyDescription","companyAddress","companyIndustry","typeOfIncorporation","stateOfIncorporation","countriesOfOperations","incDate","certificateOfIncorporation","ein","companyPhone","primaryContactName"],onCompanyAddressClick:f,onRegisteredAddressClick:V})})},wn=P.div`
6
6
  display: flex;
7
7
  align-items: center;
8
8
  justify-content: center;
9
- `,xn=O.div`
9
+ `,xn=P.div`
10
10
  display: flex;
11
- `,kn=O.input`
11
+ `,kn=P.input`
12
12
  display: none;
13
- `,_n=({isValid:n,sectionId:C="onboardingQboConnection",...i})=>{const{register:g}=dn();return l.jsxs(xn,{children:[l.jsx(kn,{type:"hidden",...g(`${C}.connected`,{validate:_=>_==="true"}),value:n?"true":"false"}),l.jsx(bn,{isValid:n,...i})]})},B="companyDetails",b="companyOfficer",Z="onboardingPaymentAccountSetupSection",Ot="customerOnboardingDetailPage",y="onboardingSubscriptionBillingAddress",ge="onboardingQboConnection",he={titleWidth:new ye(343,580,726,826),topNavBarHeight:new ye(52,52,63),topNavBarLeftRightSpace:new ye(K[5],K[9],112),subTitlePaddingTop:new ye(K[3],K[3]),subTitlePaddingBottom:new ye(K[3],K[3])},Nn=n=>`${n}_form`,le=Ye.getLocalizedStrings(),vn=({fileProps:n,isRefreshingViewInBackground:C,isAdmin:i,onboardingCustomerView:g,companyTitles:_,connectedAccountProvider:P,analytics:h,cardPaymentView:w,stripeKey:f,googleAPIKey:A,handleCreateCardSetupIntent:c,handleConfirmCardSetupIntent:v,updateCardPaymentModalState:D,handleAddCardPaymentSource:I,resetCardPaymentViewState:ee,handleResetCardPaymentErrorStatuses:Ne,redirectToProductSuitePage:Se,onFormErrorsChange:T,...ve})=>{const R=Me(),De=m.useRef(null),Ve=m.useRef(null),M=m.useRef(null),Ae=m.useRef(null),[Ce,z]=m.useState(!1),[U,q]=m.useState("next"),[F,be]=m.useState(!1),[ce,Ie]=m.useState(!1),[te,Y]=m.useState(null),{onAddressClick:ne,onCompanyDetailsChanged:Oe,onCompanyOfficerUpdated:V,onFetchLinkTokenClick:Pe,onUpdatePaymentAccountStatus:de,onUpdatePaymentAccountLoginStatus:ae,onEstablishConnectionClick:pe,onEstablishConnectionSuccess:oe,onDeleteFile:N,onEditFileName:Ge,updateFilesEntity:Je,onGetOtp:xt,onSkipSetupClick:Te,onUpdateCustomerView:$e,updateStepHandler:W,onVerifyOtp:kt,onResendOtp:_t,handleOnConnectClick:Nt,updateQBOPopupState:vt,onUpdateStep:Fe,onAddressEditHandler:Dt}=ve,Vt=nn(),s=an({mode:"onSubmit",reValidateMode:"onChange",defaultValues:Ke(g,g.allNationalityCountries),values:Ke(g,g.allNationalityCountries),shouldFocusError:!0,resetOptions:{keepDirtyValues:!0}}),H=m.useCallback(()=>{const e=[];return(s.getFieldState(Z).error!=null||s.getFieldState(y).error!=null)&&e.push("link_payment_account"),s.getFieldState(ge).error!=null&&e.push("qbo_connection"),e},[s]);m.useEffect(()=>{const e=H();T?.(e)},[H,T]),m.useEffect(()=>{const e=s.watch((t,{name:a,type:r})=>{a!=null&&(r==="change"||r==="blur")&&me(()=>{const u=H();T?.(u)})});return()=>e.unsubscribe()},[s,H,T]);const Xe=e=>{tt(e)},{companyView:se,companyDetailsLocalData:d,companyOfficerLocalData:E,currentStep:o,completedSteps:Ze,saveStatus:x,allSteps:S,allRequiredStepsCompleted:Ee,paymentAccount:Q,paymentAccountStatus:et,externalConnections:Le,plaidConnectionDetails:je,uiState:Be,allNationalityCountries:we,pendingSaveDetails:{companyDetails:At,officer:Tt},subscriptionBillingAddress:G}=g,xe=m.useRef(""),$t=e=>{xe.current=e;const t=Object.values(g.companyOfficerLocalData).findIndex(r=>r?.isSelectedForVerification===!0)??0,a=t<0?0:t;s.clearErrors(`${b}.${a}.phone`)},tt=e=>{e!=null&&!fe(e)?s.trigger(`${b}.${J}.phone`):xt(e)},J=Object.values(E).findIndex(e=>e?.isSelectedForVerification===!0)??0,$=`Officer_${J<0?1:J+1}`,Ft=se?.companyOfficers.slice(0,10).sort((e,t)=>e.user.createTime?.isAfter(t.user.createTime)===!0?1:-1),Re=E[$]?.userId!=null?Ft?.find(e=>e.user.userId===E[$]?.userId)?.address:null,nt=E[$]?.addressStatus?.addressToCreate,ke=se?.companyAddress,at=d?.addressStatus?.addressToCreate,ze=se?.registeredAddress,ot=d?.registeredAddressStatus?.addressToCreate,{customerOnboardingPage:Et,common:p}=le,{footer:Lt,steps:jt}=Et,{buttons:st}=Lt,it=jt[o],Ue=S.length,ie=He(x.fetchState),L=He(o);function Bt(){return Le?.accounting[0]?.isValid??!1}const ue=()=>{const e=Object.values(je).some(u=>u.fetchStatus.fetchState==="Completed"),t=Q?.providerVerificationStatus?.code?.includes("verified")??!1,a=w.cardsList.length>0,r=w.bankAccountsList[0]?.providerVerificationStatus?.code?.includes("verified")??!1;return e&&t||!t&&!Q&&a||!a&&!Q&&r};function rt(){if(s.getFieldState(y).error)return!1;const e=s.getValues(y),t=G?.street.join("").trim(),a=G?.city,r=G?.state,u=G?.country,k=G?.postalCode!=null&&G.postalCode||e.postalCode||p.strings.empty;return!!t&&!!a&&!!r&&!!u&&!!k}const lt=He(Q?.providerVerificationStatus?.code),Rt=()=>{const e=d,t=[];return e?.companyLegalName!=null&&t.push("legal_name"),e?.companyDescription!=null&&e?.companyDescription!==p.strings.empty&&t.push("company_description"),e?.addressStatus?.addressToCreate!=null&&t.push("company_address"),e?.registeredAddressStatus?.addressToCreate!=null&&t.push("registered_address"),e?.website!=null&&t.push("website"),e?.companyIndustry!=null&&e?.companyIndustry!==p.strings.empty&&t.push("industry"),e?.typeOfIncorporation!=null&&e?.typeOfIncorporation!==p.strings.empty&&t.push("type_of_incorporation"),e?.incDate!=null&&t.push("inc_date"),e?.phone!=null&&t.push("phone"),e?.primaryContactLocalData?.firstName!=null&&e?.primaryContactLocalData?.lastName!=null&&t.push("primary_contact_name"),e?.primaryContactLocalData?.email!=null&&t.push("primary_contact_email"),e?.taxIdOrEIN!=null&&t.push("tax_id_or_ein"),e?.companyFiles.find(a=>a.documentType==="certificate_of_incorporation")!=null&&t.push("certificate_of_incorporation"),e?.companyFiles.find(a=>a.documentType==="tax_ein")!=null&&t.push("ein"),{completedFields:t,status:t.length===14?"complete":t.length>0?"partially_complete":"incomplete"}},zt=()=>{const e=E[$],t=[];return e?.firstName!=null&&e.firstName!==p.strings.empty&&t.push("first_name"),e?.lastName!=null&&e.lastName!==p.strings.empty&&t.push("last_name"),e?.birthday!=null&&t.push("dob"),e?.nationalityCountryCode!=null&&t.push("nationality"),e?.addressStatus?.addressToCreate!=null&&t.push("address"),e?.phone!=null&&e.phone!==p.strings.empty&&e.isPhoneVerified===!0&&t.push("phone"),e?.titleAtCompany!=null&&e.titleAtCompany!==p.strings.empty&&t.push("company_role"),e?.ownershipInCompany!=null&&t.push("ownership"),e?.ssn!=null&&e.ssn!==p.strings.empty&&t.push("ssn"),e?.documentTypeSelectedForVerification!=null&&t.push("document_type"),e?.fileIds!=null&&e.fileIds.length>0&&t.push("document_uploaded"),{completedFields:t,status:t.length===11?"complete":t.length>0?"partially_complete":"incomplete"}};m.useEffect(()=>{lt==="pending_manual_verification"&&Q?.providerVerificationStatus?.code==="manually_verified"&&h.trackOnboardingBankAccountVerified("manual")},[h,Q?.providerVerificationStatus?.code,lt]);const Ut=async(e,t)=>{if(e.includes(B))Oe?.(t[B]);else if(e.includes(b))V?.(t[b]);else if(e.includes(y)&&t[y]!=null){const a=s.getValues(`${y}`).country;let r=t[y];if(e.includes(`${y}.street`)&&t[y].street!=null){const{addressValue:u}=t[y].street,k=Pt(u?.country);r={street:t[y].street??p.strings.empty,city:u?.locality??p.strings.empty,state:u?.administrativeAreaLevel1??p.strings.empty,country:k,countryCode:u?.countryCode??p.strings.empty,postalCode:u?.postalCode??p.strings.empty,secondaryInfo:t[y].secondaryInfo,suite:t[y].suite},a.selectedOption!==k.selectedOption&&(r={...r,country:k})}else e===`${y}.country`&&a.selectedOption!=null?r={...r,countryCode:gt(a.selectedOption)}:a.selectedOption!=null&&e.includes(`${y}.street`)===!1&&(r={...r,countryCode:gt(a.selectedOption)});Dt(r)}};m.useEffect(()=>{const e=s.watch((t,{name:a})=>{a!=null&&t!=null&&me(()=>Ut(a,t))});return()=>{e.unsubscribe()}}),m.useEffect(()=>{ie==="In-Progress"&&x.fetchState==="Completed"&&(s.reset(Ke(g,we),{keepDirtyValues:!1}),L==="company_details"&&o==="link_payment_account"&&!S.includes("qbo_connection")&&!g.qboConnected&&Se())},[s,g,ie,x.fetchState,we,L,o,S,Se]),m.useEffect(()=>{Ce&&ie==="In-Progress"&&x.fetchState==="Completed"&&(Te(),h.track(yt.Event.onboardingSkipAndSave))},[ie,Ce,x.fetchState,Te]),m.useEffect(()=>{te?.shouldNavigate===!0&&ie==="In-Progress"&&x.fetchState==="Completed"&&(Y(null),W(te.fromStep,te.stepDirection,!0))},[te,ie,x.fetchState,W]),m.useLayoutEffect(()=>{L!=null&&L!==o&&(S.indexOf(L)===S.indexOf(o)-1||S.indexOf(L)===Ue-1&&S.indexOf(o)===0?U!=="next"&&q("next"):(S.indexOf(L)-1===S.indexOf(o)||S.indexOf(L)===0&&S.indexOf(o)===Ue-1)&&U!=="previous"&&q("previous"))},[S,o,L,U,Ue]);const ct=()=>{const e=E[$];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},qt=!Qe(nt!=null?j(nt):null,Re!=null?j(Re):null),Wt=!Qe(at!=null?j(at):null,ke!=null?j(ke):null),Ht=!Qe(ot!=null?j(ot):null,ze!=null?j(ze):null),Qt=s.getFieldState(B).isDirty||Wt||Ht||At,qe=s.getFieldState(b).isDirty&&ct()||qt||Tt,dt=s.getFieldState(`${y}`).isDirty,_e=d?.primaryContactLocalData,Kt=()=>{W(o,"previous",!0)},Mt=()=>{const e=s.getValues(y),t={street:e.street.addressString,suite:e.suite,city:e.city,state:e.state,postalCode:e.postalCode,country:e.country.selectedOption??p.strings.empty,secondaryInfo:e.secondaryInfo};h.trackOnboardingBillingAddressSave(t)},Yt=()=>{switch(Ie(!1),o){case"link_payment_account":dt?setTimeout(()=>{const e=H();T?.(e),rt()&&dt?(Mt(),$e($,!1,!0),Y({fromStep:o,shouldNavigate:!0,stepDirection:"next"})):W(o,"next",!0)},200):W(o,"next",!0);break;case"qbo_connection":W(o,"next",!0);break;case"company_officer":if(qe){const e=pt();if(me(()=>{const t=H();T?.(t)}),e.needsOtp&&e.phoneNumber&&fe(e.phoneNumber)){const t=s.formState.errors[b]?.[J<0?0:J],a=t?.phone,r=t!=null&&Object.keys(t).some(u=>u!=="phone"&&t[u]!=null);if(a!=null&&!r){Xe(e.phoneNumber);return}}e.isValid&&($e($,!1,!1),h.trackOnboardingCompanyOfficerSave(ut(),{legalName:d?.companyLegalName},zt()),Y({fromStep:o,shouldNavigate:!0,stepDirection:"next"}))}else W(o,"next",!0);break;case"company_details":Ie(!0);{const e=!(rt()&&ue()),t=!Bt()&&S.includes("qbo_connection");if(e||t){e&&(s.trigger(`${Z}`),s.trigger(`${y}`)),t&&s.trigger(ge),me(()=>{const a=H();T?.(a)}),e?Fe("link_payment_account"):t&&Fe("qbo_connection");return}}if(Qt||qe||!_e?.email){const e=Jt(),t=qe?pt():{isValid:!0};me(()=>{const a=H();T?.(a)}),e&&t.isValid?(Ee&&(z(!0),Xt()),$e($,!Ee,!1),h.trackOnboardingCompanyDetailsSave({companyDescription:d?.companyDescription,legalName:d?.companyLegalName,industry:d?.companyIndustry??p.strings.empty,incDate:d?.incDate?.toString(),phone:d?.phone,website:d?.website?.toString(),formattedAddress:d?.addressStatus?.addressToCreate!=null?j(d?.addressStatus?.addressToCreate):void 0},Rt(),{firstName:_e?.firstName,lastName:_e?.lastName,email:_e?.email}),Y({fromStep:o,shouldNavigate:!0,stepDirection:"next"})):t.isValid||Fe("company_officer")}else Ee?Gt():W(o,"next",!0);break}},Gt=()=>{x.fetchState!=="In-Progress"&&(Te(),h.track(yt.Event.onboardingSkipAndSave))},pt=()=>{const e=E[$],t=e?.email??p.strings.empty,a=e?.phone??p.strings.empty,r=e?.ssn??p.strings.empty,u=e?.ownershipInCompany,k=J<0?0:J,en=!!e?.firstName&&!!e?.lastName;let X=!0,mt=!1;return t&&!en&&(s.trigger([`${b}.${k}.name.firstName`,`${b}.${k}.name.lastName`],{shouldFocus:o==="company_officer"}),X=!1),(!t&&ct()||St.test(t)===!1)&&(s.trigger(`${b}.${k}.email`,{shouldFocus:o==="company_officer"}),X=!1),a&&fe(a)===!1&&(s.trigger(`${b}.${k}.phone`,{shouldFocus:o==="company_officer"}),X=!1),a&&fe(a)===!0&&P==="unit"&&(xe.current!==""&&a===xe.current||(mt=!0,s.setError(`${b}.${k}.phone`,{type:"custom",message:le.commonSetUp.businessVerification.phoneValidationError},{shouldFocus:o==="company_officer"}),X=!1)),u!=null&&u>100&&(s.trigger(`${b}.${k}.ownership`,{shouldFocus:o==="company_officer"}),X=!1),r&&mn.test(r)===!1&&(s.trigger(`${b}.${k}.ssn`,{shouldFocus:o==="company_officer"}),X=!1),{isValid:X,needsOtp:mt,phoneNumber:a}},Jt=()=>{const e=d?.website?.toString()??p.strings.empty,t=d?.phone??p.strings.empty,a=d?.taxIdOrEIN??p.strings.empty,r=d?.primaryContactLocalData?.email??p.strings.empty;let u=!0;return e&&ht.test(e)===!1&&(s.trigger(`${B}.companyWebsite`,{shouldFocus:o==="company_details"}),u=!1),ht.lastIndex=0,t&&fe(t)===!1&&(s.trigger(`${B}.companyPhone`,{shouldFocus:o==="company_details"}),u=!1),(!r||St.test(r)===!1)&&(s.trigger(`${B}.primaryContactEmail`,{shouldFocus:o==="company_details"}),u=!1),a&&un.test(a)===!1&&(s.trigger(`${B}.companyTaxId`,{shouldFocus:o==="company_details"}),u=!1),u},ut=()=>{const e=E[$];return{email:e?.email??p.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?j(e?.addressStatus?.addressToCreate):void 0,documentTypeForVerification:e?.documentTypeSelectedForVerification}},Xt=()=>{const e=d?.primaryContactLocalData;h.trackBusinessVerificationSave(ut(),{companyDescription:d?.companyDescription,legalName:d?.companyLegalName,phone:d?.phone,website:d?.website?.toString(),industry:d?.companyIndustry??p.strings.empty,formattedAddress:d?.addressStatus?.addressToCreate!=null?j(d?.addressStatus?.addressToCreate):void 0},{firstName:e?.firstName,lastName:e?.lastName,email:e?.email},"onboarding")},[We,Zt]=m.useState(!1);return l.jsxs(An,{children:[l.jsxs(Tn,{windowSize:R,children:[S.indexOf(o)>=0?l.jsx(on,{title:it.sectionTitle,showBackButton:!1,backgroundColor:Vt.colors.grey4,style:{zIndex:4},showLeftSection:R!=="small",titleStyle:{display:"flex",alignItems:"center"},navBarContainerStyles:{paddingTop:re.sp0,paddingBottom:re.sp0},source:"CustomerOnboardingDetailPage"}):l.jsx($n,{windowSize:R,children:l.jsx(En,{windowSize:R,children:l.jsx(Fn,{})})}),l.jsx(sn,{...s,children:l.jsx(jn,{id:Nn(Ot),children:S.map(e=>{let t;t=l.jsx(Ct,{connectedAccountProvider:P,paymentAccount:Q,accountStatus:et,plaidConnectionDetails:je,sectionId:Z,hasError:s.getFieldState(Z).error!=null||ce&&!ue(),isValid:ue(),analytics:h,onFetchLinkTokenClick:Pe,onEstablishConnectionClick:pe,onUpdatePaymentAccountStatus:de,onUpdatePaymentAccountLoginStatus:ae,onEstablishConnectionSuccess:oe,cardPaymentView:w,resetCardPaymentViewState:ee,updateCardPaymentModalState:D,cardSetupInProgress:We,subscriptionBillingAddressSectionId:y});let a=De;switch(e){case"link_payment_account":t=l.jsx(Ct,{connectedAccountProvider:P,paymentAccount:Q,accountStatus:et,plaidConnectionDetails:je,subscriptionBillingAddressSectionId:y,sectionId:Z,hasError:s.getFieldState(Z).error!=null||ce&&!ue(),isValid:ue(),analytics:h,onFetchLinkTokenClick:Pe,onEstablishConnectionClick:pe,onUpdatePaymentAccountStatus:de,onUpdatePaymentAccountLoginStatus:ae,onEstablishConnectionSuccess:oe,updateCardPaymentModalState:D,cardPaymentView:w,resetCardPaymentViewState:ee,cardSetupInProgress:We,googleAPIKey:A,subscriptionBillingAddress:G});break;case"qbo_connection":t=l.jsx(_n,{sectionId:ge,hasError:s.getFieldState(ge).error!=null,isAdmin:i,isValid:Le?.accounting[0]?.isValid??!1,companyName:se?.company.company.companyInfo.companyLegalName,saveConnectionState:Le?.saveConnectionState,isQBOPopupOpen:Be.isQBOPopupOpen,handleOnConnectClick:Nt,updateQBOPopupState:vt}),a=Ve;break;case"company_officer":t=l.jsx(In,{companyOfficerLocalData:E,allNationalityCountries:we,isCompleted:Ze.includes("company_officer"),companyView:se,sectionId:b,filesEndPoint:n.filesEndPoint,authParams:n.authParams,isRefreshingViewInBackground:C,companyTitles:_,isVerificationPopupOpen:F,setIsVerificationPopupOpen:be,onGetOtp:Xe,onVerifyOtp:kt,onResendOtp:_t,onOfficerAddressClick:r=>ne(r,Re?.addressId),updateFilesEntity:Je,onEditFileName:Ge,onDeleteFile:N,verifiedPhoneNumber:xe.current,onPhoneVerified:$t,isDisabled:x.fetchState==="In-Progress"?"readonly":void 0,triggerError:tt}),a=Ae;break;case"company_details":t=l.jsx(Pn,{fileProps:{...n,onEditFileName:Ge,onDeleteFile:N,updateFilesEntity:Je},allNationalityCountries:we,sectionId:B,companyIndustries:g.companyIndustries,companyDetails:d,isDisabled:x.fetchState==="In-Progress"?"readonly":void 0,isCompleted:Ze.includes("company_details"),onCompanyAddressClick:r=>{const u=se?.company.company.companyOnboardingInfo.subscriptionBillingAddressId;ke?.addressId==null&&u!=null?ne(r,u):ne(r,ke?.addressId)},onRegisteredAddressClick:r=>ne(r,ze?.addressId)}),a=M;break}return l.jsxs(Ln,{ref:a,isVisible:o===e,includeAnimation:o==="link_payment_account"||o==="qbo_connection"?!Be.isQBOPopupOpen:o==="company_officer"?!F:!0,paddingBottom:e==="company_details"||e==="company_officer"?K[6]:K[0],stepAnimationDirection:U,children:[S.indexOf(o)>=0?l.jsx(Bn,{windowSize:R,children:it.sectionSubTitle}):null,t]},e)})})}),l.jsx(rn,{formId:`${Ot}`,style:{width:R==="small"?"auto":"100%",paddingTop:re.sp2,paddingBottom:re.sp2},primaryBtn:{onClick:Yt,label:o==="company_details"?p.footer.submit:st.next,isLoading:x.fetchState==="In-Progress",isDisabled:x.fetchState==="In-Progress"},cancelBtn:{onClick:Kt,label:st.back,isDisabled:x.fetchState==="In-Progress"||S.indexOf(o)===0},containerStyle:{width:"auto",justifyContent:"center"},showCancel:!0})]}),l.jsx(gn,{handleConfirmCardSetupIntent:v,updateCardPaymentModalState:D,handleCreateCardSetupIntent:c,handleAddCardPaymentSource:I,cardPaymentView:w,stripeKey:f,isCardPaymentOpen:Be.isCardPaymentPopupOpen,handleResetCardPaymentErrorStatuses:Ne,cardSetupInProgress:We,setCardSetupInProgress:Zt})]})},Dn=wt`
13
+ `,_n=({isValid:n,sectionId:C="onboardingQboConnection",...i})=>{const{register:g}=dn();return l.jsxs(xn,{children:[l.jsx(kn,{type:"hidden",...g(`${C}.connected`,{validate:_=>_==="true"}),value:n?"true":"false"}),l.jsx(bn,{isValid:n,...i})]})},B="companyDetails",b="companyOfficer",Z="onboardingPaymentAccountSetupSection",Pt="customerOnboardingDetailPage",y="onboardingSubscriptionBillingAddress",ge="onboardingQboConnection",he={titleWidth:new ye(343,580,726,826),topNavBarHeight:new ye(52,52,63),topNavBarLeftRightSpace:new ye(Y[5],Y[9],112),subTitlePaddingTop:new ye(Y[3],Y[3]),subTitlePaddingBottom:new ye(Y[3],Y[3])},Nn=n=>`${n}_form`,le=Me.getLocalizedStrings(),vn=({fileProps:n,isRefreshingViewInBackground:C,isAdmin:i,onboardingCustomerView:g,companyTitles:_,connectedAccountProvider:O,analytics:h,cardPaymentView:w,stripeKey:f,googleAPIKey:V,handleCreateCardSetupIntent:c,handleConfirmCardSetupIntent:v,updateCardPaymentModalState:A,handleAddCardPaymentSource:I,resetCardPaymentViewState:ee,handleResetCardPaymentErrorStatuses:Ne,redirectToProductSuitePage:Se,onFormErrorsChange:T,...ve})=>{const R=Ke(),Ae=m.useRef(null),De=m.useRef(null),K=m.useRef(null),Ve=m.useRef(null),[Ce,z]=m.useState(!1),[U,q]=m.useState("next"),[F,be]=m.useState(!1),[ce,Ie]=m.useState(!1),[te,M]=m.useState(null),{onAddressClick:ne,onCompanyDetailsChanged:Pe,onCompanyOfficerUpdated:D,onFetchLinkTokenClick:Oe,onUpdatePaymentAccountStatus:de,onUpdatePaymentAccountLoginStatus:ae,onEstablishConnectionClick:pe,onEstablishConnectionSuccess:oe,onDeleteFile:N,onEditFileName:Ge,updateFilesEntity:Je,onGetOtp:xt,onSkipSetupClick:Te,onUpdateCustomerView:$e,updateStepHandler:H,onVerifyOtp:kt,onResendOtp:_t,handleOnConnectClick:Nt,updateQBOPopupState:vt,onUpdateStep:Fe,onAddressEditHandler:At}=ve,Dt=nn(),s=an({mode:"onSubmit",reValidateMode:"onChange",defaultValues:Ye(g,g.allNationalityCountries),values:Ye(g,g.allNationalityCountries),shouldFocusError:!0,resetOptions:{keepDirtyValues:!0}}),Q=m.useCallback(()=>{const e=[];return(s.getFieldState(Z).error!=null||s.getFieldState(y).error!=null)&&e.push("link_payment_account"),s.getFieldState(ge).error!=null&&e.push("qbo_connection"),e},[s]);m.useEffect(()=>{const e=Q();T?.(e)},[Q,T]),m.useEffect(()=>{const e=s.watch((t,{name:a,type:r})=>{a!=null&&(r==="change"||r==="blur")&&me(()=>{const u=Q();T?.(u)})});return()=>e.unsubscribe()},[s,Q,T]);const Xe=e=>{tt(e)},{companyView:se,companyDetailsLocalData:d,companyOfficerLocalData:E,currentStep:o,completedSteps:Ze,saveStatus:x,allSteps:S,allRequiredStepsCompleted:Ee,paymentAccount:W,paymentAccountStatus:et,externalConnections:Le,plaidConnectionDetails:je,uiState:Be,allNationalityCountries:we,pendingSaveDetails:{companyDetails:Vt,officer:Tt},subscriptionBillingAddress:G}=g,xe=m.useRef(""),$t=e=>{xe.current=e;const t=Object.values(g.companyOfficerLocalData).findIndex(r=>r?.isSelectedForVerification===!0)??0,a=t<0?0:t;s.clearErrors(`${b}.${a}.phone`)},tt=e=>{e!=null&&!fe(e)?s.trigger(`${b}.${J}.phone`):xt(e)},J=Object.values(E).findIndex(e=>e?.isSelectedForVerification===!0)??0,$=`Officer_${J<0?1:J+1}`,Ft=se?.companyOfficers.slice(0,10).sort((e,t)=>e.user.createTime?.isAfter(t.user.createTime)===!0?1:-1),Re=E[$]?.userId!=null?Ft?.find(e=>e.user.userId===E[$]?.userId)?.address:null,nt=E[$]?.addressStatus?.addressToCreate,ke=se?.companyAddress,at=d?.addressStatus?.addressToCreate,ze=se?.registeredAddress,ot=d?.registeredAddressStatus?.addressToCreate,{customerOnboardingPage:Et,common:p}=le,{footer:Lt,steps:jt}=Et,{buttons:st}=Lt,it=jt[o],Ue=S.length,ie=Qe(x.fetchState),L=Qe(o);function Bt(){return Le?.accounting[0]?.isValid??!1}const ue=()=>{const e=Object.values(je).some(u=>u.fetchStatus.fetchState==="Completed"),t=W?.providerVerificationStatus?.code?.includes("verified")??!1,a=w.cardsList.length>0,r=w.bankAccountsList[0]?.providerVerificationStatus?.code?.includes("verified")??!1;return e&&t||!t&&!W&&a||!a&&!W&&r};function rt(){if(s.getFieldState(y).error)return!1;const e=s.getValues(y),t=G?.street.join("").trim(),a=G?.city,r=G?.state,u=G?.country,k=G?.postalCode!=null&&G.postalCode||e.postalCode||p.strings.empty;return!!t&&!!a&&!!r&&!!u&&!!k}const lt=Qe(W?.providerVerificationStatus?.code),Rt=()=>{const e=d,t=[];return e?.companyLegalName!=null&&t.push("legal_name"),e?.companyDescription!=null&&e?.companyDescription!==p.strings.empty&&t.push("company_description"),e?.addressStatus?.addressToCreate!=null&&t.push("company_address"),e?.registeredAddressStatus?.addressToCreate!=null&&t.push("registered_address"),e?.website!=null&&t.push("website"),e?.companyIndustry!=null&&e?.companyIndustry!==p.strings.empty&&t.push("industry"),e?.typeOfIncorporation!=null&&e?.typeOfIncorporation!==p.strings.empty&&t.push("type_of_incorporation"),e?.incDate!=null&&t.push("inc_date"),e?.phone!=null&&t.push("phone"),e?.primaryContactLocalData?.firstName!=null&&e?.primaryContactLocalData?.lastName!=null&&t.push("primary_contact_name"),e?.primaryContactLocalData?.email!=null&&t.push("primary_contact_email"),e?.taxIdOrEIN!=null&&t.push("tax_id_or_ein"),e?.companyFiles.find(a=>a.documentType==="certificate_of_incorporation")!=null&&t.push("certificate_of_incorporation"),e?.companyFiles.find(a=>a.documentType==="tax_ein")!=null&&t.push("ein"),{completedFields:t,status:t.length===14?"complete":t.length>0?"partially_complete":"incomplete"}},zt=()=>{const e=E[$],t=[];return e?.firstName!=null&&e.firstName!==p.strings.empty&&t.push("first_name"),e?.lastName!=null&&e.lastName!==p.strings.empty&&t.push("last_name"),e?.birthday!=null&&t.push("dob"),e?.nationalityCountryCode!=null&&t.push("nationality"),e?.addressStatus?.addressToCreate!=null&&t.push("address"),e?.phone!=null&&e.phone!==p.strings.empty&&e.isPhoneVerified===!0&&t.push("phone"),e?.titleAtCompany!=null&&e.titleAtCompany!==p.strings.empty&&t.push("company_role"),e?.ownershipInCompany!=null&&t.push("ownership"),e?.ssn!=null&&e.ssn!==p.strings.empty&&t.push("ssn"),e?.documentTypeSelectedForVerification!=null&&t.push("document_type"),e?.fileIds!=null&&e.fileIds.length>0&&t.push("document_uploaded"),{completedFields:t,status:t.length===11?"complete":t.length>0?"partially_complete":"incomplete"}};m.useEffect(()=>{lt==="pending_manual_verification"&&W?.providerVerificationStatus?.code==="manually_verified"&&h.trackOnboardingBankAccountVerified("manual")},[h,W?.providerVerificationStatus?.code,lt]);const Ut=async(e,t)=>{if(e.includes(B))Pe?.(t[B]);else if(e.includes(b))D?.(t[b]);else if(e.includes(y)&&t[y]!=null){const a=s.getValues(`${y}`).country;let r=t[y];if(e.includes(`${y}.street`)&&t[y].street!=null){const{addressValue:u}=t[y].street,k=Ot(u?.country);r={street:t[y].street??p.strings.empty,city:u?.locality??p.strings.empty,state:u?.administrativeAreaLevel1??p.strings.empty,country:k,countryCode:u?.countryCode??p.strings.empty,postalCode:u?.postalCode??p.strings.empty,secondaryInfo:t[y].secondaryInfo,suite:t[y].suite},a.selectedOption!==k.selectedOption&&(r={...r,country:k})}else e===`${y}.country`&&a.selectedOption!=null?r={...r,countryCode:gt(a.selectedOption)}:a.selectedOption!=null&&e.includes(`${y}.street`)===!1&&(r={...r,countryCode:gt(a.selectedOption)});At(r)}};m.useEffect(()=>{const e=s.watch((t,{name:a})=>{a!=null&&t!=null&&me(()=>Ut(a,t))});return()=>{e.unsubscribe()}}),m.useEffect(()=>{ie==="In-Progress"&&x.fetchState==="Completed"&&(s.reset(Ye(g,we),{keepDirtyValues:!1}),L==="company_details"&&o==="link_payment_account"&&!S.includes("qbo_connection")&&!g.qboConnected&&Se())},[s,g,ie,x.fetchState,we,L,o,S,Se]),m.useEffect(()=>{Ce&&ie==="In-Progress"&&x.fetchState==="Completed"&&(Te(),h.track(yt.Event.onboardingSkipAndSave))},[ie,Ce,x.fetchState,Te]),m.useEffect(()=>{te?.shouldNavigate===!0&&ie==="In-Progress"&&x.fetchState==="Completed"&&(M(null),H(te.fromStep,te.stepDirection,!0))},[te,ie,x.fetchState,H]),m.useLayoutEffect(()=>{L!=null&&L!==o&&(S.indexOf(L)===S.indexOf(o)-1||S.indexOf(L)===Ue-1&&S.indexOf(o)===0?U!=="next"&&q("next"):(S.indexOf(L)-1===S.indexOf(o)||S.indexOf(L)===0&&S.indexOf(o)===Ue-1)&&U!=="previous"&&q("previous"))},[S,o,L,U,Ue]);const ct=()=>{const e=E[$];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},qt=!We(nt!=null?j(nt):null,Re!=null?j(Re):null),Ht=!We(at!=null?j(at):null,ke!=null?j(ke):null),Qt=!We(ot!=null?j(ot):null,ze!=null?j(ze):null),Wt=s.getFieldState(B).isDirty||Ht||Qt||Vt,qe=s.getFieldState(b).isDirty&&ct()||qt||Tt,dt=s.getFieldState(`${y}`).isDirty,_e=d?.primaryContactLocalData,Yt=()=>{H(o,"previous",!0)},Kt=()=>{const e=s.getValues(y),t={street:e.street.addressString,suite:e.suite,city:e.city,state:e.state,postalCode:e.postalCode,country:e.country.selectedOption??p.strings.empty,secondaryInfo:e.secondaryInfo};h.trackOnboardingBillingAddressSave(t)},Mt=()=>{switch(Ie(!1),o){case"link_payment_account":dt?setTimeout(()=>{const e=Q();T?.(e),rt()&&dt?(Kt(),$e($,!1,!0),M({fromStep:o,shouldNavigate:!0,stepDirection:"next"})):H(o,"next",!0)},200):H(o,"next",!0);break;case"qbo_connection":H(o,"next",!0);break;case"company_officer":if(qe){const e=pt();if(me(()=>{const t=Q();T?.(t)}),e.needsOtp&&e.phoneNumber&&fe(e.phoneNumber)){const t=s.formState.errors[b]?.[J<0?0:J],a=t?.phone,r=t!=null&&Object.keys(t).some(u=>u!=="phone"&&t[u]!=null);if(a!=null&&!r){Xe(e.phoneNumber);return}}e.isValid&&($e($,!1,!1),h.trackOnboardingCompanyOfficerSave(ut(),{legalName:d?.companyLegalName},zt()),M({fromStep:o,shouldNavigate:!0,stepDirection:"next"}))}else H(o,"next",!0);break;case"company_details":Ie(!0);{const e=!(rt()&&ue()),t=!Bt()&&S.includes("qbo_connection");if(e||t){e&&(s.trigger(`${Z}`),s.trigger(`${y}`)),t&&s.trigger(ge),me(()=>{const a=Q();T?.(a)}),e?Fe("link_payment_account"):t&&Fe("qbo_connection");return}}if(Wt||qe||!_e?.email){const e=Jt(),t=qe?pt():{isValid:!0};me(()=>{const a=Q();T?.(a)}),e&&t.isValid?(Ee&&(z(!0),Xt()),$e($,!Ee,!1),h.trackOnboardingCompanyDetailsSave({companyDescription:d?.companyDescription,legalName:d?.companyLegalName,industry:d?.companyIndustry??p.strings.empty,incDate:d?.incDate?.toString(),phone:d?.phone,website:d?.website?.toString(),formattedAddress:d?.addressStatus?.addressToCreate!=null?j(d?.addressStatus?.addressToCreate):void 0},Rt(),{firstName:_e?.firstName,lastName:_e?.lastName,email:_e?.email}),M({fromStep:o,shouldNavigate:!0,stepDirection:"next"})):t.isValid||Fe("company_officer")}else Ee?Gt():H(o,"next",!0);break}},Gt=()=>{x.fetchState!=="In-Progress"&&(Te(),h.track(yt.Event.onboardingSkipAndSave))},pt=()=>{const e=E[$],t=e?.email??p.strings.empty,a=e?.phone??p.strings.empty,r=e?.ssn??p.strings.empty,u=e?.ownershipInCompany,k=J<0?0:J,en=!!e?.firstName&&!!e?.lastName;let X=!0,mt=!1;return t&&!en&&(s.trigger([`${b}.${k}.name.firstName`,`${b}.${k}.name.lastName`],{shouldFocus:o==="company_officer"}),X=!1),(!t&&ct()||St.test(t)===!1)&&(s.trigger(`${b}.${k}.email`,{shouldFocus:o==="company_officer"}),X=!1),a&&fe(a)===!1&&(s.trigger(`${b}.${k}.phone`,{shouldFocus:o==="company_officer"}),X=!1),a&&fe(a)===!0&&O==="unit"&&(xe.current!==""&&a===xe.current||(mt=!0,s.setError(`${b}.${k}.phone`,{type:"custom",message:le.commonSetUp.businessVerification.phoneValidationError},{shouldFocus:o==="company_officer"}),X=!1)),u!=null&&u>100&&(s.trigger(`${b}.${k}.ownership`,{shouldFocus:o==="company_officer"}),X=!1),r&&mn.test(r)===!1&&(s.trigger(`${b}.${k}.ssn`,{shouldFocus:o==="company_officer"}),X=!1),{isValid:X,needsOtp:mt,phoneNumber:a}},Jt=()=>{const e=d?.website?.toString()??p.strings.empty,t=d?.phone??p.strings.empty,a=d?.taxIdOrEIN??p.strings.empty,r=d?.primaryContactLocalData?.email??p.strings.empty;let u=!0;return e&&ht.test(e)===!1&&(s.trigger(`${B}.companyWebsite`,{shouldFocus:o==="company_details"}),u=!1),ht.lastIndex=0,t&&fe(t)===!1&&(s.trigger(`${B}.companyPhone`,{shouldFocus:o==="company_details"}),u=!1),(!r||St.test(r)===!1)&&(s.trigger(`${B}.primaryContactEmail`,{shouldFocus:o==="company_details"}),u=!1),a&&un.test(a)===!1&&(s.trigger(`${B}.companyTaxId`,{shouldFocus:o==="company_details"}),u=!1),u},ut=()=>{const e=E[$];return{email:e?.email??p.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?j(e?.addressStatus?.addressToCreate):void 0,documentTypeForVerification:e?.documentTypeSelectedForVerification}},Xt=()=>{const e=d?.primaryContactLocalData;h.trackBusinessVerificationSave(ut(),{companyDescription:d?.companyDescription,legalName:d?.companyLegalName,phone:d?.phone,website:d?.website?.toString(),industry:d?.companyIndustry??p.strings.empty,formattedAddress:d?.addressStatus?.addressToCreate!=null?j(d?.addressStatus?.addressToCreate):void 0},{firstName:e?.firstName,lastName:e?.lastName,email:e?.email},"onboarding")},[He,Zt]=m.useState(!1);return l.jsxs(Vn,{children:[l.jsxs(Tn,{windowSize:R,children:[S.indexOf(o)>=0?l.jsx(on,{title:it.sectionTitle,showBackButton:!1,backgroundColor:Dt.colors.grey4,style:{zIndex:4},showLeftSection:R!=="small",titleStyle:{display:"flex",alignItems:"center"},navBarContainerStyles:{paddingTop:re.sp0,paddingBottom:re.sp0},source:"CustomerOnboardingDetailPage"}):l.jsx($n,{windowSize:R,children:l.jsx(En,{windowSize:R,children:l.jsx(Fn,{})})}),l.jsx(sn,{...s,children:l.jsx(jn,{id:Nn(Pt),children:S.map(e=>{let t;t=l.jsx(Ct,{connectedAccountProvider:O,paymentAccount:W,accountStatus:et,plaidConnectionDetails:je,sectionId:Z,hasError:s.getFieldState(Z).error!=null||ce&&!ue(),isValid:ue(),analytics:h,onFetchLinkTokenClick:Oe,onEstablishConnectionClick:pe,onUpdatePaymentAccountStatus:de,onUpdatePaymentAccountLoginStatus:ae,onEstablishConnectionSuccess:oe,cardPaymentView:w,resetCardPaymentViewState:ee,updateCardPaymentModalState:A,cardSetupInProgress:He,subscriptionBillingAddressSectionId:y});let a=Ae;switch(e){case"link_payment_account":t=l.jsx(Ct,{connectedAccountProvider:O,paymentAccount:W,accountStatus:et,plaidConnectionDetails:je,subscriptionBillingAddressSectionId:y,sectionId:Z,hasError:s.getFieldState(Z).error!=null||ce&&!ue(),isValid:ue(),analytics:h,onFetchLinkTokenClick:Oe,onEstablishConnectionClick:pe,onUpdatePaymentAccountStatus:de,onUpdatePaymentAccountLoginStatus:ae,onEstablishConnectionSuccess:oe,updateCardPaymentModalState:A,cardPaymentView:w,resetCardPaymentViewState:ee,cardSetupInProgress:He,googleAPIKey:V,subscriptionBillingAddress:G});break;case"qbo_connection":t=l.jsx(_n,{sectionId:ge,hasError:s.getFieldState(ge).error!=null,isAdmin:i,isValid:Le?.accounting[0]?.isValid??!1,companyName:se?.company.company.companyInfo.companyLegalName,saveConnectionState:Le?.saveConnectionState,isQBOPopupOpen:Be.isQBOPopupOpen,handleOnConnectClick:Nt,updateQBOPopupState:vt}),a=De;break;case"company_officer":t=l.jsx(In,{companyOfficerLocalData:E,allNationalityCountries:we,isCompleted:Ze.includes("company_officer"),companyView:se,sectionId:b,filesEndPoint:n.filesEndPoint,authParams:n.authParams,isRefreshingViewInBackground:C,companyTitles:_,isVerificationPopupOpen:F,setIsVerificationPopupOpen:be,onGetOtp:Xe,onVerifyOtp:kt,onResendOtp:_t,onOfficerAddressClick:r=>ne(r,Re?.addressId),updateFilesEntity:Je,onEditFileName:Ge,onDeleteFile:N,verifiedPhoneNumber:xe.current,onPhoneVerified:$t,isDisabled:x.fetchState==="In-Progress"?"readonly":void 0,triggerError:tt}),a=Ve;break;case"company_details":t=l.jsx(On,{fileProps:{...n,onEditFileName:Ge,onDeleteFile:N,updateFilesEntity:Je},allNationalityCountries:we,sectionId:B,companyIndustries:g.companyIndustries,companyDetails:d,isDisabled:x.fetchState==="In-Progress"?"readonly":void 0,isCompleted:Ze.includes("company_details"),onCompanyAddressClick:r=>{const u=se?.company.company.companyOnboardingInfo.subscriptionBillingAddressId;ke?.addressId==null&&u!=null?ne(r,u):ne(r,ke?.addressId)},onRegisteredAddressClick:r=>ne(r,ze?.addressId)}),a=K;break}return l.jsxs(Ln,{ref:a,isVisible:o===e,includeAnimation:o==="link_payment_account"||o==="qbo_connection"?!Be.isQBOPopupOpen:o==="company_officer"?!F:!0,paddingBottom:e==="company_details"||e==="company_officer"?Y[6]:Y[0],stepAnimationDirection:U,children:[S.indexOf(o)>=0?l.jsx(Bn,{windowSize:R,children:it.sectionSubTitle}):null,t]},e)})})}),l.jsx(rn,{formId:`${Pt}`,style:{width:R==="small"?"auto":"100%",paddingTop:re.sp2,paddingBottom:re.sp2},primaryBtn:{onClick:Mt,label:o==="company_details"?p.footer.submit:st.next,isLoading:x.fetchState==="In-Progress",isDisabled:x.fetchState==="In-Progress"},cancelBtn:{onClick:Yt,label:st.back,isDisabled:x.fetchState==="In-Progress"||S.indexOf(o)===0},containerStyle:{width:"auto",justifyContent:"center"},showCancel:!0})]}),l.jsx(gn,{handleConfirmCardSetupIntent:v,updateCardPaymentModalState:A,handleCreateCardSetupIntent:c,handleAddCardPaymentSource:I,cardPaymentView:w,stripeKey:f,isCardPaymentOpen:Be.isCardPaymentPopupOpen,handleResetCardPaymentErrorStatuses:Ne,cardSetupInProgress:He,setCardSetupInProgress:Zt})]})},An=wt`
14
14
  from {
15
15
  transform: translateY(100%);
16
16
  opacity: 0;
@@ -19,7 +19,7 @@ import{V as l,fC as tn,K as Me,y as nn,aa as an,cI as me,aS as He,J as yt,aG as
19
19
  transform: translateY(0);
20
20
  opacity: 1;
21
21
  }
22
- `,Vn=wt`
22
+ `,Dn=wt`
23
23
  from {
24
24
  transform: translateY(-100%);
25
25
  opacity: 0;
@@ -28,7 +28,7 @@ import{V as l,fC as tn,K as Me,y as nn,aa as an,cI as me,aS as He,J as yt,aG as
28
28
  transform: translateY(0);
29
29
  opacity: 1;
30
30
  }
31
- `,An=O.div`
31
+ `,Vn=P.div`
32
32
  display: flex;
33
33
  flex-direction: column;
34
34
  align-items: center;
@@ -40,7 +40,7 @@ import{V as l,fC as tn,K as Me,y as nn,aa as an,cI as me,aS as He,J as yt,aG as
40
40
  width: 100%;
41
41
  padding-left: ${re.sp0};
42
42
  }
43
- `,Tn=O.div`
43
+ `,Tn=P.div`
44
44
  display: flex;
45
45
  flex-direction: column;
46
46
  align-items: center;
@@ -57,34 +57,34 @@ import{V as l,fC as tn,K as Me,y as nn,aa as an,cI as me,aS as He,J as yt,aG as
57
57
  ${n=>n.theme.breakpoints.down("lg")} {
58
58
  background-size: cover;
59
59
  }
60
- `,$n=O.div`
60
+ `,$n=P.div`
61
61
  display: flex;
62
62
  flex-direction: column;
63
63
  align-items: center;
64
64
  text-align: center;
65
65
  width: ${n=>`calc(100% - ${he.topNavBarLeftRightSpace.valuePx(n.windowSize)})`};
66
- `,Fn=O.div``,En=O.div`
66
+ `,Fn=P.div``,En=P.div`
67
67
  display: flex;
68
68
  align-items: center;
69
69
  justify-content: space-between;
70
70
  width: 100%;
71
71
  min-height: ${n=>he.topNavBarHeight.valuePx(n.windowSize)};
72
- `,Ln=O.div`
72
+ `,Ln=P.div`
73
73
  min-height: 100%;
74
74
  display: ${n=>n.isVisible?"flex":"none"};
75
75
  flex-direction: column;
76
76
  padding-bottom: ${n=>n.paddingBottom+"px"};
77
- animation-name: ${n=>n.stepAnimationDirection==="next"?Dn:Vn};
77
+ animation-name: ${n=>n.stepAnimationDirection==="next"?An:Dn};
78
78
  ${n=>n.includeAnimation?`
79
79
  animation-duration: 0.6s;
80
80
  animation-delay: 0s;
81
81
  animation-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
82
82
  animation-fill-mode: both;
83
83
  `:null}
84
- `,jn=O.form`
84
+ `,jn=P.form`
85
85
  padding-top: ${re.sp0};
86
86
  flex: 1;
87
- `,Bn=O(pn)`
87
+ `,Bn=P(pn)`
88
88
  color: ${n=>n.theme.colors.hero};
89
89
  display: flex;
90
90
  justify-content: center;
@@ -94,12 +94,12 @@ import{V as l,fC as tn,K as Me,y as nn,aa as an,cI as me,aS as He,J as yt,aG as
94
94
  text-align: ${n=>n.windowSize==="small"?"initial":"center"};
95
95
  width: 100%;
96
96
  white-space: pre-line;
97
- `,Ke=(n,C)=>{const{companyDetailsLocalData:i,companyOfficerLocalData:g,companyView:_}=n,P=le.commonSetUp.businessVerification,h=le.companyPassport,w=_?.companyOfficers!=null&&_?.companyOfficers.length>0;return{[B]:{companyDescription:i?.companyDescription??le.common.strings.empty,ein:i?.companyFiles.find(f=>f.documentType==="tax_ein"),companyId:i?.companyId,syncToken:i?.syncToken,companyLegalName:i?.companyLegalName,companyWebsite:i?.website?.toString()??le.common.strings.empty,companyAddress:i?.addressStatus?.addressToCreate,registeredAddress:i?.registeredAddressStatus?.addressToCreate,companyIndustry:{selectedOption:i?.companyIndustry,allOptions:n.companyIndustries.map(f=>f.code)},companyIndustryType:{selectedOption:i?.companyIndustryType,allOptions:[...yn]},companySubIndustry:{selectedOption:i?.companySubIndustry,allOptions:fn(i?.companyIndustryType)},companyPhone:i?.phone,companyTaxId:i?.taxIdOrEIN,primaryContactName:{firstName:i?.primaryContactLocalData?.firstName,lastName:i?.primaryContactLocalData?.lastName},primaryContactEmail:i?.primaryContactLocalData?.email,primaryContactUserId:i?.primaryContactLocalData?.userId,primaryContactSyncToken:i?.primaryContactLocalData?.syncToken,fileIds:i?.companyFiles.map(f=>f.fileId)??[],certificateOfIncorporation:i?.companyFiles.find(f=>f.documentType==="certificate_of_incorporation"),incDate:i?.incDate?.toDate(),typeOfIncorporation:{selectedOption:i?.typeOfIncorporation,allOptions:h.companyIncInfo.allTypesOfIncorporation}},[b]:Object.values(g).map((f,A)=>{const c=f,v=cn(c?.documentTypeSelectedForVerification);return{userId:c?.userId,officerType:c?.officerType??`Officer_${A+1}`,name:{firstName:c?.firstName,lastName:c?.lastName},email:c?.email,fileIds:c?.fileIds??[],dob:c?.birthday?.toDate(),nationalityCountryCode:Pt(c?.nationalityCountryCode,C.map(D=>D.countryCode)),ssn:c?.ssn,role:{selectedOption:c?.titleAtCompany,allOptions:P.allTypesOfRoles},phone:c?.phone,ownership:c?.ownershipInCompany,officerAddress:c?.addressStatus?.addressToCreate,selectDocument:{front:ft(!0,c?.userFiles??[],v),back:ft(!1,c?.userFiles??[],v),selectDocumentType:v},isSelectedForVerification:!w&&A===0?!0:c?.isSelectedForVerification??!1,userVerificationStatus:c?.userVerificationStatus,syncToken:c?.syncToken,isPhoneVerified:c?.isPhoneVerified,otpChallenge:c?.otpChallenge}}),[Z]:{account:{allOptions:[],selectedOption:void 0}},[y]:ln(y,n?.subscriptionBillingAddress)[y],[ge]:{connected:n.externalConnections?.accounting[0]?.isValid??!1}}},pa=n=>{const{onboardingCustomerView:C,cardPaymentView:i,signedInUser:g,currentTenant:_,isOnAddressPage:P,stripeKey:h,googleAPIKey:w,onUpdateStep:f,onZeniLogoClick:A,handleLogOutClick:c,handleCockpitClick:v,meetingUrl:D,analytics:I,handleCreateCardSetupIntent:ee,handleConfirmCardSetupIntent:Ne,handleFetchPaymentSources:Se,updateCardPaymentModalState:T,resetCardPaymentViewState:ve,handleResetCardPaymentErrorStatuses:R,redirectToProductSuitePage:De,...Ve}=n,{allSteps:M,completedSteps:Ae,halfCompletedSteps:Ce,currentStep:z,fetchStatus:U}=C,q=m.useRef(z),F=m.useRef(M),[be,ce]=m.useState(!1),[Ie,te]=m.useState([]),Y={allSteps:M,isOnAddressPage:P,completedSteps:Ae,halfCompletedSteps:Ce,errorSteps:Ie,currentStep:z,fetchStatus:U,signedInUser:g,currentTenant:_,onUpdateStep:V=>{f(V)},onZeniLogoClick:A,handleLogOutClick:c,handleCockpitClick:v,setIsStepClicked:ce};m.useEffect(()=>{if(q.current!==z){const V=q.current;be===!0&&(I?.trackOnboardingCurrentStep(z,V),ce(!1)),q.current=z}},[z,be,I]),m.useEffect(()=>{M.length!==F.current.length&&(F.current=M)},[M]);const ne=(V,Pe,de)=>{const ae=F.current.length,pe=F.current.indexOf(V);switch(Pe){case"next":{const oe=(pe+1)%ae,N=F.current[oe];q.current=N,f(N),de===!0?I.trackOnboardingNext(V,N):I.trackOnboardingCurrentStep(N,V);break}case"previous":{const oe=(pe+ae-1)%ae,N=F.current[oe];q.current=N,f(N),de===!0?I.trackOnboardingBack(V,N):I.trackOnboardingCurrentStep(N,V);break}}},Oe=U.fetchState==="In-Progress"||U.fetchState==="Not-Started";return l.jsx(Rn,{isOnAddressPage:P,children:P?l.jsx(bt,{...Y}):l.jsxs(zn,{children:[l.jsx(bt,{...Y}),Oe?l.jsx(hn,{isNoStepsPage:!1}):l.jsx(vn,{onboardingCustomerView:C,analytics:I,updateStepHandler:ne,onUpdateStep:f,handleCreateCardSetupIntent:ee,handleConfirmCardSetupIntent:Ne,updateCardPaymentModalState:T,handleFetchPaymentSources:Se,cardPaymentView:i,resetCardPaymentViewState:ve,stripeKey:h,googleAPIKey:w,handleResetCardPaymentErrorStatuses:R,redirectToProductSuitePage:De,onFormErrorsChange:te,...Ve}),Oe?null:l.jsx(tn,{isFooterRendered:!0,meetingUrl:D,analytics:I,productType:"onboarding"})]})})},Rn=O.div`
97
+ `,Ye=(n,C)=>{const{companyDetailsLocalData:i,companyOfficerLocalData:g,companyView:_}=n,O=le.commonSetUp.businessVerification,h=le.companyPassport,w=_?.companyOfficers!=null&&_?.companyOfficers.length>0;return{[B]:{companyDescription:i?.companyDescription??le.common.strings.empty,ein:i?.companyFiles.find(f=>f.documentType==="tax_ein"),companyId:i?.companyId,syncToken:i?.syncToken,companyLegalName:i?.companyLegalName,companyWebsite:i?.website?.toString()??le.common.strings.empty,companyAddress:i?.addressStatus?.addressToCreate,registeredAddress:i?.registeredAddressStatus?.addressToCreate,companyIndustry:{selectedOption:i?.companyIndustry,allOptions:n.companyIndustries.map(f=>f.code)},companyIndustryType:{selectedOption:i?.companyIndustryType,allOptions:[...yn]},companySubIndustry:{selectedOption:i?.companySubIndustry,allOptions:fn(i?.companyIndustryType)},companyPhone:i?.phone,companyTaxId:i?.taxIdOrEIN,primaryContactName:{firstName:i?.primaryContactLocalData?.firstName,lastName:i?.primaryContactLocalData?.lastName},primaryContactEmail:i?.primaryContactLocalData?.email,primaryContactUserId:i?.primaryContactLocalData?.userId,primaryContactSyncToken:i?.primaryContactLocalData?.syncToken,fileIds:i?.companyFiles.map(f=>f.fileId)??[],certificateOfIncorporation:i?.companyFiles.find(f=>f.documentType==="certificate_of_incorporation"),incDate:i?.incDate?.toDate(),typeOfIncorporation:{selectedOption:i?.typeOfIncorporation,allOptions:h.companyIncInfo.allTypesOfIncorporation}},[b]:Object.values(g).map((f,V)=>{const c=f,v=cn(c?.documentTypeSelectedForVerification);return{userId:c?.userId,officerType:c?.officerType??`Officer_${V+1}`,name:{firstName:c?.firstName,lastName:c?.lastName},email:c?.email,fileIds:c?.fileIds??[],dob:c?.birthday?.toDate(),nationalityCountryCode:Ot(c?.nationalityCountryCode,C.map(A=>A.countryCode)),ssn:c?.ssn,role:{selectedOption:c?.titleAtCompany,allOptions:O.allTypesOfRoles},phone:c?.phone,ownership:c?.ownershipInCompany,officerAddress:c?.addressStatus?.addressToCreate,selectDocument:{front:ft(!0,c?.userFiles??[],v),back:ft(!1,c?.userFiles??[],v),selectDocumentType:v},isSelectedForVerification:!w&&V===0?!0:c?.isSelectedForVerification??!1,userVerificationStatus:c?.userVerificationStatus,syncToken:c?.syncToken,isPhoneVerified:c?.isPhoneVerified,otpChallenge:c?.otpChallenge}}),[Z]:{account:{allOptions:[],selectedOption:void 0}},[y]:ln(y,n?.subscriptionBillingAddress)[y],[ge]:{connected:n.externalConnections?.accounting[0]?.isValid??!1}}},pa=n=>{const{onboardingCustomerView:C,cardPaymentView:i,signedInUser:g,currentTenant:_,isOnAddressPage:O,stripeKey:h,googleAPIKey:w,onUpdateStep:f,onZeniLogoClick:V,handleLogOutClick:c,handleCockpitClick:v,meetingUrl:A,analytics:I,handleCreateCardSetupIntent:ee,handleConfirmCardSetupIntent:Ne,handleFetchPaymentSources:Se,updateCardPaymentModalState:T,resetCardPaymentViewState:ve,handleResetCardPaymentErrorStatuses:R,redirectToProductSuitePage:Ae,...De}=n,{allSteps:K,completedSteps:Ve,halfCompletedSteps:Ce,currentStep:z,fetchStatus:U}=C,q=m.useRef(z),F=m.useRef(K),[be,ce]=m.useState(!1),[Ie,te]=m.useState([]),M={allSteps:K,isOnAddressPage:O,completedSteps:Ve,halfCompletedSteps:Ce,errorSteps:Ie,currentStep:z,fetchStatus:U,signedInUser:g,currentTenant:_,onUpdateStep:D=>{f(D)},onZeniLogoClick:V,handleLogOutClick:c,handleCockpitClick:v,setIsStepClicked:ce};m.useEffect(()=>{if(q.current!==z){const D=q.current;be===!0&&(I?.trackOnboardingCurrentStep(z,D),ce(!1)),q.current=z}},[z,be,I]),m.useEffect(()=>{K.length!==F.current.length&&(F.current=K)},[K]);const ne=(D,Oe,de)=>{const ae=F.current.length,pe=F.current.indexOf(D);switch(Oe){case"next":{const oe=(pe+1)%ae,N=F.current[oe];q.current=N,f(N),de===!0?I.trackOnboardingNext(D,N):I.trackOnboardingCurrentStep(N,D);break}case"previous":{const oe=(pe+ae-1)%ae,N=F.current[oe];q.current=N,f(N),de===!0?I.trackOnboardingBack(D,N):I.trackOnboardingCurrentStep(N,D);break}}},Pe=U.fetchState==="In-Progress"||U.fetchState==="Not-Started";return l.jsx(Rn,{isOnAddressPage:O,children:O?l.jsx(bt,{...M}):l.jsxs(zn,{children:[l.jsx(bt,{...M}),Pe?l.jsx(hn,{isNoStepsPage:!1}):l.jsx(vn,{onboardingCustomerView:C,analytics:I,updateStepHandler:ne,onUpdateStep:f,handleCreateCardSetupIntent:ee,handleConfirmCardSetupIntent:Ne,updateCardPaymentModalState:T,handleFetchPaymentSources:Se,cardPaymentView:i,resetCardPaymentViewState:ve,stripeKey:h,googleAPIKey:w,handleResetCardPaymentErrorStatuses:R,redirectToProductSuitePage:Ae,onFormErrorsChange:te,...De}),Pe?null:l.jsx(tn,{isFooterRendered:!0,meetingUrl:A,analytics:I,productType:"onboarding"})]})})},Rn=P.div`
98
98
  display: flex;
99
99
  flex-direction: column;
100
100
  width: ${n=>n.isOnAddressPage?"fit-content":"100%"};
101
101
  height: 100vh;
102
- `,zn=O.div`
102
+ `,zn=P.div`
103
103
  display: flex;
104
104
  flex-direction: column;
105
105
  width: 100%;
@@ -1,4 +1,4 @@
1
- import{K as M,a9 as _,ay as F,y as I,V as e,bE as U,o as t,ac as k,bp as V,fC as W,b as A,an as H,ah as J,p as l,w as C,ai as N,h as R,e as Z,as as G,b1 as K}from"./index-D0RCZvbR.js";import{a as n}from"./sentry-D6_R-0PO.js";import{n as o}from"./mui-CWpKo4a_.js";import{GM as q}from"./zeni-epic-state-CQm7BABf.js";import Q from"./ConfettiBurst-BHW_-EIc-D-04DoWU.js";import{T as X}from"./ProductsCarousel-DecdL2J--CA_efZNI.js";import"./liveblocks-CKHUw5rb.js";import"./core-BzTCCyMo.js";import"./recharts-DgmMLsfg.js";import"./lottie-DGC6TFh6.js";import"./analytics-CFLF9sCc.js";import"./lexical-BFSfLoHw.js";import"./utils-B8cH97sz.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]="33116f91-cf3f-4310-9747-7e26eef9a604",i._sentryDebugIdIdentifier="sentry-dbid-33116f91-cf3f-4310-9747-7e26eef9a604")}catch{}})();const Y=i=>n.createElement("svg",{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...i},n.createElement("path",{d:"M9.88423 20.4894C8.54548 20.3068 6.19267 19.6022 4.33971 17.8674C2.48676 16.1326 1.39881 13.7328 1.31521 11.1959C1.23161 8.65899 2.15921 6.19276 3.89394 4.33977C5.62866 2.48678 8.02843 1.39882 10.5653 1.31522C13.1022 1.23161 15.5684 2.15923 17.4213 3.89399C19.2743 5.62875 20.1176 7.48634 20.4166 9.67794",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),n.createElement("path",{d:"M12.5596 7.50903H10.7439C10.39 7.50916 10.0465 7.62876 9.76901 7.84845C9.49152 8.06815 9.29632 8.37508 9.21501 8.71955C9.1337 9.06401 9.17105 9.42584 9.321 9.74644C9.47096 10.067 9.72474 10.3276 10.0412 10.486L11.6941 11.3133C12.0107 11.4717 12.2644 11.7323 12.4144 12.0529C12.5643 12.3735 12.6017 12.7353 12.5204 13.0798C12.4391 13.4242 12.2439 13.7312 11.9664 13.9509C11.6889 14.1706 11.3454 14.2902 10.9915 14.2903H9.16902",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),n.createElement("path",{d:"M10.4437 14.2906V15.5621",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),n.createElement("path",{d:"M11.2918 6.23773V7.50922",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),n.createElement("path",{d:"M15.5285 21.8743L12 22.8825L13.0081 19.3539L20.2143 12.1476C20.3088 12.0531 20.437 12 20.5707 12C20.7044 12 20.8325 12.0531 20.9271 12.1476L22.7347 13.9542C22.7816 14.001 22.8189 14.0567 22.8443 14.1179C22.8697 14.1791 22.8828 14.2448 22.8828 14.3111C22.8828 14.3774 22.8697 14.4431 22.8443 14.5043C22.8189 14.5655 22.7816 14.6212 22.7347 14.668L15.5285 21.8743Z",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),n.createElement("path",{d:"M18.5536 13.8079L21.074 16.3283",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),n.createElement("path",{d:"M13.6133 18.7533L16.1337 21.2737",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"})),ee=A.getLocalizedStrings(),Fe=({hasVerifiedBankAccount:i,meetingUrl:p,showUpdatePaymentDetailButton:f=!1,isVisitingFirstTime:$=!1,handleUpdatePaymentAddressDetailClick:v,...L})=>{const d=M(),x=_().analytics,w=F(),S=w.loggedInUser,a=w.currentTenant,[y,P]=n.useState(!1),{handleLogOutClick:T,onZeniLogoClick:z,handleCockpitClick:E}=L,O=I(),{customerOnboardingPage:c}=ee,h=s=>{const r=c.productSuite.messageBox;if(!s)return[r.withTaxAndPayroll,r.withCFO];const{productSettings:B}=s,{isPayrollEnabled:g,isCfoEnabled:u,isTaxEnabled:m}=B;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]},D=s=>{if(v(),!s)return;let r="";i?r="bank_account":r="credit_card",x.trackOnboardingClickUpdatePaymentDetails(r,q(s.productSettings))};return e.jsxs(e.Fragment,{children:[e.jsx(te,{children:e.jsxs(ie,{windowSize:d,children:[e.jsx(oe,{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(we,{children:e.jsx(ye,{"data-testid":k("zeni-logo-customer-onboarding-product-suite"),onClick:z})}),rightSideComponent:f?e.jsxs(Ce,{"data-testid":k("update-to-payment-address-details"),onClick:()=>D(a),children:[e.jsx(ke,{}),e.jsx(be,{className:"btnText",children:c.productSuite.updatePaymentDetails})]}):e.jsx(je,{})})}),e.jsxs(re,{windowSize:d,children:[e.jsx(ne,{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(se,{children:[e.jsxs(b,{children:[e.jsx(ae,{children:e.jsx(le,{})}),e.jsx(j,{children:h(a)[0]})]}),e.jsx(b,{children:h(a).slice(1).map(s=>e.jsx(j,{children:s},s))})]})}),e.jsx(de,{children:e.jsx(ce,{children:c.productSuite.sectionTitle})}),e.jsx(pe,{children:e.jsx(X,{scale:1,showUpdatePaymentDetailButton:f,stopCarousel:y})}),e.jsxs(he,{href:"https://www.zeni.ai",target:"_blank",rel:"noopener noreferrer",children:[e.jsx(ge,{className:"discover-class",children:c.productSuite.sectionFooter}),e.jsx(ue,{className:"discover-class"})]})]}),e.jsx(me,{children:e.jsxs(fe,{children:[e.jsx(xe,{windowSize:d,children:e.jsx(V,{signedInUser:S,currentTenant:a,onLogOutClick:T,onCockpitClick:E})}),e.jsx(W,{isFooterRendered:!1,meetingUrl:p,analytics:x,productType:"onboarding_interim",showPopup:y,setShowPopup:P})]})})]})}),e.jsx(Q,{showConfetti:$})]})},te=o.div`
1
+ import{J as F,a9 as I,ax as M,d as U,V as e,bE as _,o as t,aR as b,bp as V,fB as W,F as A,am as H,ag as R,p as l,b as k,ah as J,c as N,R as Z,ar as G,b1 as Y}from"./index-ByXRm0Fj.js";import{a as n}from"./sentry-BfjekFHA.js";import{n as o}from"./mui-BtuxyOQU.js";import{G1 as q}from"./zeni-epic-state-x1SruN8b.js";import K from"./ConfettiBurst-CdB5fRMt-CRqwwWlg.js";import{T as Q}from"./ProductsCarousel-ufZlh7Rx-BhPoplzW.js";import"./liveblocks-DWegUhIu.js";import"./core-Cfmldnhs.js";import"./recharts-B1UpAC2z.js";import"./lottie-BGI-L4nL.js";import"./analytics-D_c73QMR.js";import"./lexical-C8q9B2Uw.js";import"./utils-BhAlbbTk.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]="bcd63d27-d9de-410f-a425-a6f872565340",i._sentryDebugIdIdentifier="sentry-dbid-bcd63d27-d9de-410f-a425-a6f872565340")}catch{}})();const X=i=>n.createElement("svg",{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...i},n.createElement("path",{d:"M9.88423 20.4894C8.54548 20.3068 6.19267 19.6022 4.33971 17.8674C2.48676 16.1326 1.39881 13.7328 1.31521 11.1959C1.23161 8.65899 2.15921 6.19276 3.89394 4.33977C5.62866 2.48678 8.02843 1.39882 10.5653 1.31522C13.1022 1.23161 15.5684 2.15923 17.4213 3.89399C19.2743 5.62875 20.1176 7.48634 20.4166 9.67794",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),n.createElement("path",{d:"M12.5596 7.50903H10.7439C10.39 7.50916 10.0465 7.62876 9.76901 7.84845C9.49152 8.06815 9.29632 8.37508 9.21501 8.71955C9.1337 9.06401 9.17105 9.42584 9.321 9.74644C9.47096 10.067 9.72474 10.3276 10.0412 10.486L11.6941 11.3133C12.0107 11.4717 12.2644 11.7323 12.4144 12.0529C12.5643 12.3735 12.6017 12.7353 12.5204 13.0798C12.4391 13.4242 12.2439 13.7312 11.9664 13.9509C11.6889 14.1706 11.3454 14.2902 10.9915 14.2903H9.16902",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),n.createElement("path",{d:"M10.4437 14.2906V15.5621",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),n.createElement("path",{d:"M11.2918 6.23773V7.50922",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),n.createElement("path",{d:"M15.5285 21.8743L12 22.8825L13.0081 19.3539L20.2143 12.1476C20.3088 12.0531 20.437 12 20.5707 12C20.7044 12 20.8325 12.0531 20.9271 12.1476L22.7347 13.9542C22.7816 14.001 22.8189 14.0567 22.8443 14.1179C22.8697 14.1791 22.8828 14.2448 22.8828 14.3111C22.8828 14.3774 22.8697 14.4431 22.8443 14.5043C22.8189 14.5655 22.7816 14.6212 22.7347 14.668L15.5285 21.8743Z",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),n.createElement("path",{d:"M18.5536 13.8079L21.074 16.3283",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),n.createElement("path",{d:"M13.6133 18.7533L16.1337 21.2737",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"})),ee=A.getLocalizedStrings(),Me=({hasVerifiedBankAccount:i,meetingUrl:p,showUpdatePaymentDetailButton:x=!1,isVisitingFirstTime:$=!1,handleUpdatePaymentAddressDetailClick:v,...S})=>{const d=F(),f=I().analytics,w=M(),L=w.loggedInUser,a=w.currentTenant,[y,P]=n.useState(!1),{handleLogOutClick:T,onZeniLogoClick:z,handleCockpitClick:E}=S,O=U(),{customerOnboardingPage:c}=ee,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]},B=s=>{if(v(),!s)return;let r="";i?r="bank_account":r="credit_card",f.trackOnboardingClickUpdatePaymentDetails(r,q(s.productSettings))};return e.jsxs(e.Fragment,{children:[e.jsx(te,{children:e.jsxs(ie,{windowSize:d,children:[e.jsx(oe,{windowSize:d,children:e.jsx(_,{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(we,{children:e.jsx(ye,{"data-testid":b("zeni-logo-customer-onboarding-product-suite"),onClick:z})}),rightSideComponent:x?e.jsxs(ke,{"data-testid":b("update-to-payment-address-details"),onClick:()=>B(a),children:[e.jsx(be,{}),e.jsx(Ce,{className:"btnText",children:c.productSuite.updatePaymentDetails})]}):e.jsx(je,{})})}),e.jsxs(re,{windowSize:d,children:[e.jsx(ne,{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(se,{children:[e.jsxs(C,{children:[e.jsx(ae,{children:e.jsx(le,{})}),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(de,{children:e.jsx(ce,{children:c.productSuite.sectionTitle})}),e.jsx(pe,{children:e.jsx(Q,{scale:1,showUpdatePaymentDetailButton:x,stopCarousel:y})}),e.jsxs(he,{href:"https://www.zeni.ai",target:"_blank",rel:"noopener noreferrer",children:[e.jsx(ge,{className:"discover-class",children:c.productSuite.sectionFooter}),e.jsx(ue,{className:"discover-class"})]})]}),e.jsx(me,{children:e.jsxs(xe,{children:[e.jsx(fe,{windowSize:d,children:e.jsx(V,{signedInUser:L,currentTenant:a,onLogOutClick:T,onCockpitClick:E})}),e.jsx(W,{isFooterRendered:!1,meetingUrl:p,analytics:f,productType:"onboarding_interim",showPopup:y,setShowPopup:P})]})})]})}),e.jsx(K,{showConfetti:$})]})},te=o.div`
2
2
  display: flex;
3
3
  flex-direction: column;
4
4
  align-items: center;
@@ -75,7 +75,7 @@ import{K as M,a9 as _,ay as F,y as I,V as e,bE as U,o as t,ac as k,bp as V,fC as
75
75
  justify-content: center;
76
76
  width: 100%;
77
77
  height: 100%;
78
- `,b=o.div`
78
+ `,C=o.div`
79
79
  display: flex;
80
80
  align-items: flex-start;
81
81
  justify-content: center;
@@ -83,16 +83,16 @@ import{K as M,a9 as _,ay as F,y as I,V as e,bE as U,o as t,ac as k,bp as V,fC as
83
83
  display: flex;
84
84
  align-items: center;
85
85
  justify-content: center;
86
- width: ${C.largeRegular.lineHeight};
87
- height: ${C.largeRegular.lineHeight};
86
+ width: ${k.largeRegular.lineHeight};
87
+ height: ${k.largeRegular.lineHeight};
88
88
  border-radius: 50%;
89
89
  outline: 1px solid ${l.brandColorJadeDark};
90
90
  background-color: ${l.brandColorPearl};
91
- `,le=o(N)`
91
+ `,le=o(J)`
92
92
  width: ${t.sp3};
93
93
  height: ${t.sp3};
94
94
  color: ${l.brandColorSapphire};
95
- `,j=o(R)`
95
+ `,j=o(N)`
96
96
  color: ${l.brandColorSapphire};
97
97
  text-align: center;
98
98
  margin-left: ${t.sp2};
@@ -132,7 +132,7 @@ import{K as M,a9 as _,ay as F,y as I,V as e,bE as U,o as t,ac as k,bp as V,fC as
132
132
  `,ge=o(G)`
133
133
  color: inherit;
134
134
  text-align: center;
135
- `,ue=o(K)`
135
+ `,ue=o(Y)`
136
136
  width: ${t.sp3};
137
137
  height: ${t.sp3};
138
138
  color: inherit;
@@ -150,13 +150,13 @@ import{K as M,a9 as _,ay as F,y as I,V as e,bE as U,o as t,ac as k,bp as V,fC as
150
150
  justify-content: space-between;
151
151
  align-items: center;
152
152
  flex-direction: column;
153
- `,fe=o.div`
153
+ `,xe=o.div`
154
154
  display: flex;
155
155
  position: relative;
156
156
  justify-content: space-between;
157
157
  width: 100%;
158
158
  align-items: center;
159
- `,xe=o.div`
159
+ `,fe=o.div`
160
160
  display: flex;
161
161
  left: ${t.sp4};
162
162
  bottom: ${t.sp3};
@@ -166,18 +166,18 @@ import{K as M,a9 as _,ay as F,y as I,V as e,bE as U,o as t,ac as k,bp as V,fC as
166
166
  cursor: default;
167
167
  `,we=o.div`
168
168
  display: flex;
169
- `,ye=o(J)`
169
+ `,ye=o(R)`
170
170
  height: ${t.sp4};
171
171
  width: 102px;
172
172
  color: ${i=>i.theme.colors.primary};
173
173
  cursor: pointer;
174
174
  flex-shrink: 0;
175
175
  margin-left: -${t.sp5};
176
- `,ke=o(Y)`
176
+ `,be=o(X)`
177
177
  width: ${t.sp4};
178
178
  min-width: ${t.sp4};
179
179
  height: ${t.sp4};
180
- `,Ce=o.div`
180
+ `,ke=o.div`
181
181
  display: flex;
182
182
  flex-direction: row;
183
183
  align-items: center;
@@ -194,9 +194,9 @@ import{K as M,a9 as _,ay as F,y as I,V as e,bE as U,o as t,ac as k,bp as V,fC as
194
194
  }
195
195
  }
196
196
  margin-right: ${t.sp2};
197
- `,be=o(H)`
197
+ `,Ce=o(H)`
198
198
  margin-left: ${t.sp2};
199
199
  `,je=o.div`
200
200
  width: 200px;
201
201
  height: ${t.sp4};
202
- `;export{Fe as CustomerOnboardingProductSuitePage,Fe as default};
202
+ `;export{Me as CustomerOnboardingProductSuitePage,Me as default};