@zeniai/web-cockpit-ui 1.14.10-qa → 1.14.11-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 (249) hide show
  1. package/dist/assets/ACHDetailsPage-D6-Uk4xr-CqCQg7ha.js +21 -0
  2. package/dist/assets/{AIPerformancePage-FvDkFQx9-DcdCslTz.js → AIPerformancePage-pQP8EI_S-DOdJRYuT.js} +49 -49
  3. package/dist/assets/{AccountInfoPage-RM6DvvVS-Dg1PKEt4.js → AccountInfoPage-DxAa9GD7-BDuKQBCM.js} +5 -5
  4. package/dist/assets/{AccountInfoPageContent-DEG1tMaK-B-d3bj1J.js → AccountInfoPageContent-tNTpX5pA-DZsnTAw6.js} +17 -17
  5. package/dist/assets/{AccountReconDetailsDrawerPage-CiegEtwy-C9r2CYLq.js → AccountReconDetailsDrawerPage-CbZaDfU0-D6InUwmP.js} +13 -13
  6. package/dist/assets/{AccountRow-DDUdlArT-CdXNJ8jC.js → AccountRow-BpBK8mVs-D3-rIOZV.js} +33 -33
  7. package/dist/assets/{AccountsPromoCardStack-Q7ppOy47-BGGU4_sD.js → AccountsPromoCardStack-DBCYok4Z-BX2c8K6j.js} +35 -35
  8. package/dist/assets/{AddAddressForCardDrawer-C2us9OcV-B8z5J7QB.js → AddAddressForCardDrawer-BP8sDedz-fAvU3zAk.js} +2 -2
  9. package/dist/assets/{AddToWalletPage-B75ejfsy-DpB5cFz0.js → AddToWalletPage-Dsw1GIbh-C-TkI1oG.js} +26 -26
  10. package/dist/assets/{AgingReportsPage-mEhdjkho-hcvDKcgL.js → AgingReportsPage-COC3iACh-ihUmY_za.js} +8 -8
  11. package/dist/assets/{AllUserItems-o4xGLdQM-BpAFbzz9.js → AllUserItems-DKoDASKq-BK1HOlxO.js} +10 -10
  12. package/dist/assets/{ApAgingDetailPage-C0Y88nfk-DI6bAf1B.js → ApAgingDetailPage-BKAJMyRm-D4FAXjMB.js} +2 -2
  13. package/dist/assets/{AppBasePage-DKAxmkIN-B5cIKVeZ.js → AppBasePage-6fgXwSBv-PwB9ZP6-.js} +6 -6
  14. package/dist/assets/{AppDrawerContent-DLn3w253-BfJPK8Sb.js → AppDrawerContent-DnYw60Xv-DEM6VfAx.js} +19 -19
  15. package/dist/assets/{ApprovalRulesSettingsPage-vBjp3xy--CbC8uzzu.js → ApprovalRulesSettingsPage-X4EYoBfl-BbXFDQ_-.js} +5 -5
  16. package/dist/assets/{ArAgingChart-C3yYcTfo-Cp6SttRr.js → ArAgingChart-CNghm3pm-Dc-aS72N.js} +6 -6
  17. package/dist/assets/ArAgingDetailPage-DD4M5tUJ-CHn9GwO8.js +46 -0
  18. package/dist/assets/{AttachmentView-B4hoO1b8-BTGm5cj6.js → AttachmentView-Bp678glv-Bz7vnOLP.js} +7 -7
  19. package/dist/assets/{BankAccountSection-CdIpgwVZ-UKuk-CyP.js → BankAccountSection-DCHOrv1O-CHEMQ8hk.js} +5 -5
  20. package/dist/assets/{BankAccountWarningSection-COSdSiAy-Bu35qgEq.js → BankAccountWarningSection-Bof6a4Ai-D6cSyNpo.js} +11 -11
  21. package/dist/assets/{BankConnectionsSettingsPage-hNpSoqlw-N7cxSBLs.js → BankConnectionsSettingsPage-KWPfd_oN-Cw1WYpDv.js} +11 -11
  22. package/dist/assets/{BillDetailPage-CJX3QbcW-C0-YF6Gp.js → BillDetailPage-D5FyJKQZ-F16Zazrc.js} +8 -8
  23. package/dist/assets/{BillPayApprovalRuleDetailPage-CUxCgQSj-BqWIDd56.js → BillPayApprovalRuleDetailPage-C17DUKc8-dVTzDWJq.js} +1 -1
  24. package/dist/assets/{BillPayApprovalRulesPage-BAfgqIvl-BWZ3pAoi.js → BillPayApprovalRulesPage-C6b0Dx9D-GKQByTVv.js} +10 -10
  25. package/dist/assets/{BillPayPromoPage-D25teFTJ-BkPBQsPI.js → BillPayPromoPage-BhbcKNjD-Dc50ymZA.js} +8 -8
  26. package/dist/assets/{BillPaySetUpPage-D9ovPwFv-DX53TV_h.js → BillPaySetUpPage-DFkYsW2C-ejvkAWu2.js} +2 -2
  27. package/dist/assets/{BillingSettingsPage-DBEk-yIg-Ch8FGWV2.js → BillingSettingsPage-DQ-GDRoK-DLGZh1Tj.js} +8 -8
  28. package/dist/assets/{BillsBulkReviewDrawerPage-CZUNCQ7j-CP0pFg0D.js → BillsBulkReviewDrawerPage-DzTwDeIy-Ds5BqJGh.js} +1 -1
  29. package/dist/assets/{BoxItem-BtIxBKUQ-DtJ3R-PB.js → BoxItem-a04JWA45-DJp9lW-u.js} +1 -1
  30. package/dist/assets/{BusinessVerificationPage-CXeA666i-BPWT62Lw.js → BusinessVerificationPage-BCr_ObVJ-OqegkAuZ.js} +12 -12
  31. package/dist/assets/{CardNumberSubText-Bakmjdzp-lSIgWyzd.js → CardNumberSubText-B5ejHnml-CLY9anWS.js} +1 -1
  32. package/dist/assets/{CashbackDetailPage-yC6NiWvx-DcDuCeaB.js → CashbackDetailPage-DX_XsNhS-BMZOysYo.js} +25 -25
  33. package/dist/assets/{ChargeCardDetailPage-DD0_CjGJ-BzEh2X_h.js → ChargeCardDetailPage-Ckbi7U9j-D_fwMr5K.js} +57 -57
  34. package/dist/assets/{ChargeCardListPage-C_Wxtym7-j7bJNLel.js → ChargeCardListPage-CglfbPqr-D7muWz7z.js} +20 -20
  35. package/dist/assets/{ChargeCardListTable-tXjQM1HV-Dzwl1fw-.js → ChargeCardListTable-BxAeA97m-C-BUBRdZ.js} +41 -41
  36. package/dist/assets/{ChargeCardPromoPage-BAovEsQH-Ek96Dkwb.js → ChargeCardPromoPage-BfsQUUYb-D4zqkYsh.js} +31 -31
  37. package/dist/assets/{ChargeCardSetupPage-BFjo3XpM-CdAKgoQN.js → ChargeCardSetupPage-Bq953HsV-BJMN-xIh.js} +1 -1
  38. package/dist/assets/{ChargeCardStatementsPage-CvC1casY-b7_8UBZI.js → ChargeCardStatementsPage-B_5uvkaq-QS7pzZOg.js} +10 -10
  39. package/dist/assets/ChargeCardUtils-Bivw83fy-L79bEW0e.js +1 -0
  40. package/dist/assets/{ChaseOverlay-DONL-nDR-De0YjgVf.js → ChaseOverlay-LcVAgdoT-D1Jb2EIj.js} +7 -7
  41. package/dist/assets/CheckDepositDrawerPage-SpI62oU7-Q03dZELD.js +206 -0
  42. package/dist/assets/{CollapsableReportTable-C2cQTlA6-CvrNaDb7.js → CollapsableReportTable-CKmPwC_x-DvM2BIk1.js} +57 -57
  43. package/dist/assets/{CompanyOfficerDetailsSection-ChVkSOtw-B7Y0Et92.js → CompanyOfficerDetailsSection-BlLsNJaD-grOU-fb_.js} +28 -28
  44. package/dist/assets/{CompanyPassportCard-CLWfLYZT-DVRouOGL.js → CompanyPassportCard-ElwK6uOD-uKq6JSMM.js} +8 -8
  45. package/dist/assets/{CompanyPassportPage-B6_oWdN9-w2LzORF3.js → CompanyPassportPage-B6mGjsJZ-QyXjNlOK.js} +7 -7
  46. package/dist/assets/CompleteProfile-C1PIn6EM-BoaPrgBO.js +52 -0
  47. package/dist/assets/{ConfettiBurst-CfEQKUn_-BJZZqkje.js → ConfettiBurst-CjhkW_Be-tE_S1zJ3.js} +1 -1
  48. package/dist/assets/{CreateOrEditVendorPage-7mYLNzcH-OQ44iBIB.js → CreateOrEditVendorPage-DHvmRSee-B7H_LsnK.js} +15 -15
  49. package/dist/assets/{CreditCardPaymentDrawerPage-DM0awVZu-BvoWvCAp.js → CreditCardPaymentDrawerPage-BIaTYAUf-Rj5ttUPd.js} +11 -11
  50. package/dist/assets/{CreditCardPaymentPlgSection-C3pH8AzC-xAcXkp7A.js → CreditCardPaymentPlgSection-mUqReF9z-IZFYMes7.js} +12 -12
  51. package/dist/assets/CurrencySelectField-DS-pGcuE-DLCIpnvb.js +139 -0
  52. package/dist/assets/{CustomerOnboardingActivationPage-DfQCMxvl-CfW_8NyT.js → CustomerOnboardingActivationPage-CIOyRd8r-BQMewqvn.js} +5 -5
  53. package/dist/assets/CustomerOnboardingContainerPage-Lh0xH_Pl-cw9bBAdD.js +1 -0
  54. package/dist/assets/{CustomerOnboardingDetailPageSkeleton-m2chMg_F-DP-_bCgy.js → CustomerOnboardingDetailPageSkeleton-A_l9Qen8-BtaF5eWl.js} +13 -13
  55. package/dist/assets/{CustomerOnboardingNoStepsPage-C4_D_p4k-CVpSN_84.js → CustomerOnboardingNoStepsPage-D5BcbVEK-CYF4Do82.js} +9 -9
  56. package/dist/assets/{CustomerOnboardingPage-XbpuMewL-BK1qx-Jf.js → CustomerOnboardingPage-N-8Zd7M_-BLw-RmQq.js} +6 -6
  57. package/dist/assets/{CustomerOnboardingProductSuitePage-DD3ipEqZ-gVuFEpCL.js → CustomerOnboardingProductSuitePage-DZwacur5-CHyEWXN_.js} +8 -8
  58. package/dist/assets/{Dashboard-zs5L4G5s-BLp57MMW.js → Dashboard-CQoNm84Z-CGt51QX0.js} +1 -1
  59. package/dist/assets/{DashboardReportPage-BRkeSLqR-D4ftlofc.js → DashboardReportPage-D4BoWobJ-DB51j3mA.js} +13 -13
  60. package/dist/assets/{DepositAccTransactionItem-DdxEaiop-BBckVxk_.js → DepositAccTransactionItem-C6_OrohL-DcY3deV_.js} +6 -6
  61. package/dist/assets/DepositAccTransactionListPage-Cxvs7tMg-CslTnL-f.js +66 -0
  62. package/dist/assets/{DocumentSecurityBanner-BmCXnsqt-DLm91H5a.js → DocumentSecurityBanner-Bo9Hgo-I-DBmSgZgH.js} +2 -2
  63. package/dist/assets/DomesticWireDetailsPage-DzKlJFvy-D6rsk0GH.js +21 -0
  64. package/dist/assets/{DownloadOverlay-D18IYrMS-DZ5Hslzj.js → DownloadOverlay-BoIyiJ9R-BzDhGwzl.js} +25 -25
  65. package/dist/assets/{DrawerPage-EcuR8TES-qibKglza.js → DrawerPage-C_kxrXIc-CYxcqhiW.js} +5 -5
  66. package/dist/assets/EditPeoplePage-auUWC3gB-DhunvsTv.js +55 -0
  67. package/dist/assets/{EditReimbursementDetailPage-z7CJ9Vy4-BdjzHntY.js → EditReimbursementDetailPage-C-Lj-_YG-D3CWZXPH.js} +68 -68
  68. package/dist/assets/{EntityDetailPage-OvuxHiOz-BB6uo_VR.js → EntityDetailPage-Cqkhzu9O-CQdpKsUY.js} +3 -3
  69. package/dist/assets/{EntitySummarySection-D5L6gsZR-ICyFTmrF.js → EntitySummarySection-Dqgxknt6-CcorkWsq.js} +3 -3
  70. package/dist/assets/{ExpenseAutomationOverviewPage-CM7a5B8w-BqZToXAr.js → ExpenseAutomationOverviewPage-CEsyeJ9u-IlYsieJj.js} +22 -22
  71. package/dist/assets/{ExpenseAutomationPage-C0HfVK2q-Bjwf1eOa.js → ExpenseAutomationPage-DxpK2JR5-b76Jf9fI.js} +84 -84
  72. package/dist/assets/{ExpressPayPage-CeHVuoHN-CQaWJLyc.js → ExpressPayPage-DBWJERD9-DkcgiQRL.js} +12 -12
  73. package/dist/assets/FeaturePreviewPage-CwGJVCMk-c-nKLWL3.js +11 -0
  74. package/dist/assets/{FollowStepsSection-BazOZlaE-DDXU5Ssd.js → FollowStepsSection-BrJecw-e-CQdWJjWJ.js} +13 -13
  75. package/dist/assets/{GlobalReviewListPage-B7OzhHDj-sxly0nyY.js → GlobalReviewListPage-Duoi9mD_-Der2mhxZ.js} +8 -8
  76. package/dist/assets/{HelpButton-DY1MpMsB-KbKqlw38.js → HelpButton-C1djo0zO-BW6NBTNW.js} +5 -5
  77. package/dist/assets/{InformationCardStack-DTZ5U5HN-CApUz4e2.js → InformationCardStack-BE5eaq-x-7TOfUxxA.js} +5 -5
  78. package/dist/assets/InsightsCardStack-EzAsNm_U-Cm_xrDcd.js +79 -0
  79. package/dist/assets/{InsightsSection-CLnISnUP-MBzDtn2E.js → InsightsSection-nzKuS0T9-CcXyZxZ8.js} +5 -5
  80. package/dist/assets/{IntegrationsSettingsPage-_Z5zEjw7-Bb2Qdxl-.js → IntegrationsSettingsPage-45ETlpC6-ClhfPkcQ.js} +7 -7
  81. package/dist/assets/{InternationalWireSwiftDetailsPage-Dz-fxrmb-CpUwldlm.js → InternationalWireSwiftDetailsPage-B21X5YFS-DWJjZuCw.js} +15 -15
  82. package/dist/assets/{InternationalWireVerificationPage-ncEPxfAh-C6NGfmNG.js → InternationalWireVerificationPage-BzagdPaG-Cl81RiNZ.js} +17 -17
  83. package/dist/assets/{InviteFormPage-DWlnBCXL-SVZhUt0X.js → InviteFormPage-BNdBP-Mm-BdFbqKES.js} +25 -25
  84. package/dist/assets/{InvitePageListView-Cmi49FoL-FaQb5PXP.js → InvitePageListView-ChzmK7Rt-D29gFXI6.js} +51 -51
  85. package/dist/assets/InvitePeoplePage-DgqE2Y-0-DKu709Rv.js +12 -0
  86. package/dist/assets/{InvoiceUploadSection-BYgUZr3e-B5ZzCOUA.js → InvoiceUploadSection-B8o-l15n-Da7WgU-0.js} +41 -41
  87. package/dist/assets/{IssueChargeCardPage-Bmoi1yP8-7XttLy41.js → IssueChargeCardPage-BW0cXQqh-BmbmlACe.js} +27 -27
  88. package/dist/assets/{LabeledAddressValue-OqCEk1VW-CIF29038.js → LabeledAddressValue-BioQUVCV-fsudcvfQ.js} +1 -1
  89. package/dist/assets/LabeledAddressValueField-Cw-p18du-D9T5QqTG.js +45 -0
  90. package/dist/assets/{LabeledControlledCheckBoxField-BZrJseng-9-Obm_Rv.js → LabeledControlledCheckBoxField-CGT7KsYZ-jRPtCjyI.js} +1 -1
  91. package/dist/assets/{LabeledCreatableSingleSelectField-BjjLKIq--CKme-Zbq.js → LabeledCreatableSingleSelectField-nys9pbO0-0SJcSq-w.js} +3 -3
  92. package/dist/assets/LabeledDocumentField-Y6TKpyZ8-CW27Za_m.js +41 -0
  93. package/dist/assets/{LabeledDropDownFormattedTextField-1sZGnKTM-y7e2QJmr.js → LabeledDropDownFormattedTextField-DWP9oUzM-TYwr2dWi.js} +7 -7
  94. package/dist/assets/{LabeledText-DZTriBfN-CwwPr2Y1.js → LabeledText-QrjXGWwJ-Csl1kB9E.js} +3 -3
  95. package/dist/assets/{LabeledUserSingleSelectWithSubtitlesField-BNPUM7x0-B-sTwPBI.js → LabeledUserSingleSelectWithSubtitlesField-BK9XCXKo-CRz-dhMo.js} +17 -17
  96. package/dist/assets/{LabeledZeniRolesDropDownField-Ce4KKZiS-B6byb8PO.js → LabeledZeniRolesDropDownField-C2PAZOPW-ChSwcxj4.js} +11 -11
  97. package/dist/assets/{LinkJETransactionPage-DoaNWTmr-odUN47aO.js → LinkJETransactionPage-BF6-BdWE-DO5i53f_.js} +8 -8
  98. package/dist/assets/{LowBalancePopup-BOTHNsR0-CoxyAFcB.js → LowBalancePopup-ZZ8Ap8Ls-CO5moJjL.js} +5 -5
  99. package/dist/assets/{MagicLinkACHDetailsPage-CD76NDYI-Ve2NJ-iM.js → MagicLinkACHDetailsPage-BDXiOwx_-D5AHGKn1.js} +1 -1
  100. package/dist/assets/{MagicLinkDomesticWireDetailsPage-BsikAXMr-DhE6Ut2B.js → MagicLinkDomesticWireDetailsPage-B1-CK91r-BBsb3LWh.js} +1 -1
  101. package/dist/assets/{MagicLinkInternationalWireDetailsPage-zu3TnX0Y-lP-Se4cs.js → MagicLinkInternationalWireDetailsPage-D2rnWzME-pHczJsmC.js} +1 -1
  102. package/dist/assets/MagicLinkSuccessPage-IHajRicG-TvKR0rcg.js +31 -0
  103. package/dist/assets/{MagicLinkTitleSection-CD_v3J8N-DW6D0fJX.js → MagicLinkTitleSection-CmTUPCA1-crT0_cjI.js} +4 -4
  104. package/dist/assets/MailingDetailsSection-AiehjqI1-CrcmbjEa.js +21 -0
  105. package/dist/assets/{MeetingCalenderPopup-gItmg01b-Cu9NWj0e.js → MeetingCalenderPopup-COpKcBhx-C1b7HyPI.js} +1 -1
  106. package/dist/assets/{Menu-vFgR8B3A-uLxvXXvL.js → Menu-frAXxk4e-ChxiZJil.js} +2 -2
  107. package/dist/assets/{MyBankConnectionsSettingsPage-NhLBy2nV-CLratIrJ.js → MyBankConnectionsSettingsPage-BtC6C9fL-CIbylXW-.js} +13 -13
  108. package/dist/assets/{MyPendingActivationChargeCardListPage-CNb4v74Q-D4I0sjao.js → MyPendingActivationChargeCardListPage-tXIpyxdq-DyLbYr-a.js} +1 -1
  109. package/dist/assets/{MyProfileSettingsPage-CXcH5h3K-Cic_ZJ4q.js → MyProfileSettingsPage-BmMskLyK-BRbEv4qP.js} +8 -8
  110. package/dist/assets/{NavBarWithPicker-B1g4GR8h-BHoASNPV.js → NavBarWithPicker-ByLynfu6-DkhTP5l5.js} +6 -6
  111. package/dist/assets/{NavigationArrow-CKb8oJym-BKEHFfza.js → NavigationArrow-D5-YpdfE-BYBuxDoB.js} +5 -5
  112. package/dist/assets/{NavigationDots-Bgh-o0zo-K6CBNKPZ.js → NavigationDots-MA8SVlUT-BNaROjbH.js} +1 -1
  113. package/dist/assets/{NewGlobalMerchantPage-CTavGrPU-D58PJEdd.js → NewGlobalMerchantPage-DtTW2Du8-teWW5fR7.js} +21 -21
  114. package/dist/assets/{NoDataChart-CtPlddxs-DjKWZv7Z.js → NoDataChart-BdzVnx59-Zwl7GRg0.js} +1 -1
  115. package/dist/assets/{NoDataTable-Dibdh8Pj-QVM7mj96.js → NoDataTable-B4J5Ou18-BjRs61V8.js} +1 -1
  116. package/dist/assets/{NotFoundPage-yGvtm3rH-Bd-Bemtd.js → NotFoundPage-BeAXQOme-HRJfFoZt.js} +1 -1
  117. package/dist/assets/{NotificationSettingsPage-DOmx9OZh-CqYXpA0c.js → NotificationSettingsPage-CRZRet42-B4tscA88.js} +13 -13
  118. package/dist/assets/{NotificationsListConfig-Bz1-bZtB-FVI5Vj_m.js → NotificationsListConfig-CkSDaMij-aj-ed0aI.js} +1 -1
  119. package/dist/assets/{NotificationsPage-CQ_3esFr-BqBUQ__h.js → NotificationsPage-Dqe96fU8-DGXpNPVr.js} +32 -32
  120. package/dist/assets/{OpExByVendorPage-BjqGlQrk-BFgfXC36.js → OpExByVendorPage-CXtkN87m-D6OjOLM9.js} +7 -7
  121. package/dist/assets/{OverlayContainerPage-GWXnlbZH-ei-9RlC_.js → OverlayContainerPage-Cy_Jxf8N-B2CxgCWd.js} +1 -1
  122. package/dist/assets/{PandLWithForecastPage-juNL-o7I-DMQaebm1.js → PandLWithForecastPage-DTOqkynU-9NyuYxx1.js} +8 -8
  123. package/dist/assets/{PaymentAccountSetupBillingAddressSection-BxQrIZmE-B_q4GQV2.js → PaymentAccountSetupBillingAddressSection-C6WFeB3A-C9tSnFrF.js} +11 -11
  124. package/dist/assets/{PeoplePage-BfwpGELm-DqbV3EEG.js → PeoplePage-D-j114xg-s5ngzrYI.js} +1 -1
  125. package/dist/assets/PortfolioAllocationFormPage-C4XzSjzr-AaZTXsTp.js +207 -0
  126. package/dist/assets/{PortfolioDetails-BaLVprV9-s_70y1hl.js → PortfolioDetails-Bbfo0XDo-F8wi_TkN.js} +29 -29
  127. package/dist/assets/{ProductsCarousel-DSwEQiRo-wKmJuLus.js → ProductsCarousel-COUx0Xdj-Bk25WJ5z.js} +6 -6
  128. package/dist/assets/{PromoBaseCards-CDbwBfld-DHXh6Jz5.js → PromoBaseCards-DG1CAZvU-Kp-BaaPo.js} +3 -3
  129. package/dist/assets/{QBOConnectionDialog-BKEVg_Tw-DfDc7Zj1.js → QBOConnectionDialog-DLVcifji-BzsFl8lU.js} +10 -10
  130. package/dist/assets/QBOSetupSection-BeRZZ-Q_-a6rhf4W-.js +79 -0
  131. package/dist/assets/ReimbursementApprovalRuleDetailPage-CrbiufS3-Bj0-a-7-.js +26 -0
  132. package/dist/assets/{ReimbursementApprovalRulesPage-BaI1dJWO-hai_N-Le.js → ReimbursementApprovalRulesPage-CTk2aZMz-oZhsGYfa.js} +8 -8
  133. package/dist/assets/{ReimbursementDetailPage-CDoMkRc0-D7z4FCni.js → ReimbursementDetailPage-BofsP0W--DVgChjvg.js} +17 -17
  134. package/dist/assets/ReimbursementPromoPage-CA2cUBsx-DqpwfsT0.js +112 -0
  135. package/dist/assets/{ReimbursementSetUpPage-C6ZSl21b-BhOccRNG.js → ReimbursementSetUpPage-Em6S1wkj-DAxU1I0b.js} +8 -8
  136. package/dist/assets/{ReimbursementsBulkReviewDrawerPage-DRm_RSSq-CMj-h4BM.js → ReimbursementsBulkReviewDrawerPage-DpWChhvB-CNq5fdbL.js} +1 -1
  137. package/dist/assets/{ReloadCard-B1X0QtRR-BXScvMmg.js → ReloadCard-CZ1Ix5em-CJhVpNi9.js} +5 -5
  138. package/dist/assets/{ReportTableViewSelector-2gwwu23O-D4SUAhgu.js → ReportTableViewSelector-BRA3CT_O-BWHSw_d5.js} +28 -28
  139. package/dist/assets/{ReportsPage-C4ry6Xjl-DWRSq16N.js → ReportsPage-CauV3wnZ-Bfok01xk.js} +5 -5
  140. package/dist/assets/{RevenueChart--mJZgy8C-Cgs7A_Xi.js → RevenueChart-BeM_1hYw-DP9fkCbH.js} +12 -12
  141. package/dist/assets/{ReviewDetailsPage-Dg_NdNMf-C6JTFr2b.js → ReviewDetailsPage-C5xC8Cf1-Bcj2cFMw.js} +16 -16
  142. package/dist/assets/{ReviewOverlay-C-9oLsRU-CZUg6lpm.js → ReviewOverlay-DdWa7GLG-YdWdWayu.js} +15 -15
  143. package/dist/assets/RoleWithToolTip-BP8MTZdU-BOm9Us2_.js +22 -0
  144. package/dist/assets/{ScheduleDetailsFixedAssetsPage-DICnGQP9-eOvUkGGr.js → ScheduleDetailsFixedAssetsPage-BlhhW9A6-Cgf6Hq7_.js} +8 -8
  145. package/dist/assets/{ScheduleDetailsPage-BvkYaxXa-C15O7RkB.js → ScheduleDetailsPage-BKWKZuAL-CQ6iSQsN.js} +3 -3
  146. package/dist/assets/{ScheduleSequenceTable-Cv62faKa-M34Bvr--.js → ScheduleSequenceTable-BzWPTqDM-Dgu5c0RS.js} +50 -50
  147. package/dist/assets/{ScreenRoutes-DF9_ndl0.js → ScreenRoutes-BBcvidtT.js} +62 -62
  148. package/dist/assets/{SetUpAccountSection-DwkklztZ-CvvkeLO0.js → SetUpAccountSection-Trj1x2HL-CiAxSNYR.js} +23 -23
  149. package/dist/assets/{SetUpDefaultSection-Chh_3U0h-DP32jEG1.js → SetUpDefaultSection-BQzNGjO7-an74W3Da.js} +8 -8
  150. package/dist/assets/{SignIn-CoM3gLF4-CxYJZHsh.js → SignIn-Duk9PNwU-Y2eo5FDG.js} +12 -12
  151. package/dist/assets/{SignInScreen-CgRLE79n.js → SignInScreen-BDl851xo.js} +1 -1
  152. package/dist/assets/{SpendManagementListViewPage-rf8IhIOU-BST9K3MV.js → SpendManagementListViewPage-CREdM633-Cg0NFbb7.js} +6 -6
  153. package/dist/assets/{SpendManagementPerTabPage-KLrMZOg6-pZeNXzmX.js → SpendManagementPerTabPage-BZ6ISWXe-BYNegFz5.js} +28 -28
  154. package/dist/assets/{SpendManagementSection-CbbqZI-h-CVwzMKo9.js → SpendManagementSection-bMsztUap-upI-ZdzC.js} +13 -13
  155. package/dist/assets/{SpendMgmtSetupAccountSection-BfwEbse9-CCE4LYic.js → SpendMgmtSetupAccountSection-Btdtp-ry-M7exC_NJ.js} +18 -18
  156. package/dist/assets/{StatementItem-DEvMOqc4-CScSh11D.js → StatementItem-XLqlrHIu-VoU4RUpG.js} +5 -5
  157. package/dist/assets/{StatementsPage-DNsm7q52-ajRuJ1oP.js → StatementsPage-DWiXiOFU-DZPVh_4x.js} +4 -4
  158. package/dist/assets/{StatusSwitcher-BdfUDJ2e-D4dCUyMA.js → StatusSwitcher-D1XZ-pbx-DwwsmfkA.js} +4 -4
  159. package/dist/assets/{SubTabSwitcher-o0RxZAky-CeSW8fRP.js → SubTabSwitcher-Bt3F7ANv-e4DBICdr.js} +7 -7
  160. package/dist/assets/{SummaryCard-DQ4ZyfBH-D9XxMBaO.js → SummaryCard-edbbHOmb-DIbjh5sC.js} +1 -1
  161. package/dist/assets/{TaskManagementPage-BVNWrtPC-D_5VYMB9.js → TaskManagementPage-BhtJBdco-CawcFnLk.js} +26 -26
  162. package/dist/assets/{TimeRangeSwitcher-CD16lox0-Bi5yNRU7.js → TimeRangeSwitcher-D9KzhRYO-DSUt4L30.js} +5 -5
  163. package/dist/assets/{TimeframeSwitcher-C7i0JFHk-Y8yZXQA6.js → TimeframeSwitcher-CbEHKZvd-CUipNC15.js} +4 -4
  164. package/dist/assets/{TimeframeSwitcherWithToggle-D35sc3g8-CG8BhQxV.js → TimeframeSwitcherWithToggle-Cb91RXpD-Bqbdu9xs.js} +2 -2
  165. package/dist/assets/{TopExCard-bgf-w40u-DTYDqUmn.js → TopExCard-DD9Rf9T6-CfNVkG6m.js} +5 -5
  166. package/dist/assets/{TopExDetailPage-CUiZ2o0r-Cjf8s50F.js → TopExDetailPage-DaDuwFrj-BOsQHlTA.js} +16 -16
  167. package/dist/assets/{TransactionDetailPage-C50JQjnc-BhybCWFY.js → TransactionDetailPage-0fIW4o-6-BKhKFulx.js} +34 -34
  168. package/dist/assets/{TransactionList-nnfPsJZc-BFMNvdxG.js → TransactionList-CLjBadiP-By9OtkVt.js} +8 -8
  169. package/dist/assets/{TransactionListBig-BNanyUhE-B8m5ZzrI.js → TransactionListBig-CwBxP1xB-DEm91bPU.js} +24 -24
  170. package/dist/assets/{TransactionListPage-kQOGZBz8-7Xlasrzv.js → TransactionListPage-S1nTM7Yy-Hu_PcxrN.js} +3 -3
  171. package/dist/assets/TransactionVendorDetailPage-CTTTAais-CKKUnVWe.js +80 -0
  172. package/dist/assets/{TransferDrawerPage-NOLm9zmx-BS3ryUJB.js → TransferDrawerPage-BJDNWagE-B5RBpIT8.js} +26 -26
  173. package/dist/assets/{TreasuryOverviewPage-Doo6fmEl-l6_Fc322.js → TreasuryOverviewPage-DB-ZH19K-0cVLv_tv.js} +31 -31
  174. package/dist/assets/{TreasuryPromoPage-CyowAl6A-B4fxQydj.js → TreasuryPromoPage-3MwRPpCt-B5X2lU4M.js} +21 -21
  175. package/dist/assets/{TreasurySetupPage-DZdd0DpR-vdFV4pXJ.js → TreasurySetupPage--G4JCzdh-Ck5w0LPU.js} +10 -10
  176. package/dist/assets/TreasuryStatementsPage-DBykLGfz-gFLjSnAI.js +58 -0
  177. package/dist/assets/TreasuryTaxLetterPage-DgbrzE9u-BsWgo8r5.js +58 -0
  178. package/dist/assets/{TreasuryTransferOrReviewPage-BuL0YxIE-PNl-v8dv.js → TreasuryTransferOrReviewPage-ByM1UIiU-CjSaFqgC.js} +44 -44
  179. package/dist/assets/{TrendChart-C5-sKlos-DGmmfqs4.js → TrendChart-B0CS3MXT-D7qhkgQT.js} +3 -3
  180. package/dist/assets/{TrendWithTransactions-CZx5tt-z-CQJe1m4b.js → TrendWithTransactions-D4OAA6yK-BF-AbaMY.js} +9 -9
  181. package/dist/assets/{UncategorizedAccountsMappingPage-BVma5qcZ-Dbxb7bjD.js → UncategorizedAccountsMappingPage-C6jaWqrE-zTG-_1nm.js} +5 -5
  182. package/dist/assets/{UnitIntegrationPage-ZRhbEzdQ-ClCYRwoC.js → UnitIntegrationPage-5LOvIFvr-Bzw8mu6B.js} +5 -5
  183. package/dist/assets/{UploadAdditionalDocumentOverlay-BpJ_tRy_-9uQh_UHt.js → UploadAdditionalDocumentOverlay-CLQLrn0v-SNsFu9LY.js} +2 -2
  184. package/dist/assets/{Vendor2FAPopup-CQbY2KbX-DxjPrntR.js → Vendor2FAPopup-BOl520xa-LnECkqk5.js} +1 -1
  185. package/dist/assets/{VendorACHDetailsPage-DcDtOkiR-C2D4Yw60.js → VendorACHDetailsPage-B5jKUOjo-CQSiDv6a.js} +1 -1
  186. package/dist/assets/{VendorDetailPage-CHhJsnOa-Bqq4fZva.js → VendorDetailPage-B0GRXPKg--VPcZWOw.js} +15 -15
  187. package/dist/assets/{VendorDomesticWireDetailsPage-BIwYrLOl-RRT_tSUL.js → VendorDomesticWireDetailsPage-CeI3QihK-q_cf3oNF.js} +1 -1
  188. package/dist/assets/{VendorFiling1099EditablePage-gnNbtQoj-DGAYWfCe.js → VendorFiling1099EditablePage-aNGSdZBf-MeHUgDES.js} +11 -11
  189. package/dist/assets/{VendorFirstReviewPage-Bj3eqx7P-CZXmjVPM.js → VendorFirstReviewPage-CjwnZLcm-DmkymrJ0.js} +40 -40
  190. package/dist/assets/{VendorInternationalWireDetailsPage-B_jwfV7H-BL3lT3ir.js → VendorInternationalWireDetailsPage-w-46Xxg--xMskWvbV.js} +15 -15
  191. package/dist/assets/{VendorInternationalWireSwiftDetailsPage-CvIV-HFr-D1Hc50Za.js → VendorInternationalWireSwiftDetailsPage-C5dogij9-DD3MG-8Z.js} +1 -1
  192. package/dist/assets/{VendorsAccountsSection-B2hWDuz0-YoT_oAP8.js → VendorsAccountsSection-DBYoP6us-C4im8TRF.js} +8 -8
  193. package/dist/assets/VerifyDevice-C-ZVbaIJ-BL0Q3Y3x.js +67 -0
  194. package/dist/assets/{WarningsDrawerPage-BBC1azy1-z1JqhFaT.js → WarningsDrawerPage-CZcR7kH4-sqfZfsTI.js} +22 -22
  195. package/dist/assets/{ZeniAccountDetailPage-mfrQO3zP-DHbG-Qat.js → ZeniAccountDetailPage-C-NQEE2--DiLlSCD5.js} +28 -28
  196. package/dist/assets/{ZeniAccountListViewPage-CCurA7tm-B1ByeEoa.js → ZeniAccountListViewPage-Cb8Ptf-w-Bz8qB5Gm.js} +20 -20
  197. package/dist/assets/ZeniAccountNavBarPieces-DX2iXF2E-CQG9bWdR.js +14 -0
  198. package/dist/assets/{ZeniAccountPromoPage-DgGD7ggF-FgyRM55s.js → ZeniAccountPromoPage-D5ihjbrM-uye9J5Yp.js} +29 -29
  199. package/dist/assets/{ZeniAccountSetupPage-D4z2k7G7-D3CuRZMF.js → ZeniAccountSetupPage-BRxz_tnh-hDbWbkKw.js} +5 -5
  200. package/dist/assets/{ZeniCopyright-BdLzk7SF-CQiuH4cG.js → ZeniCopyright-Bi82glrb-Dz0CNsex.js} +1 -1
  201. package/dist/assets/ZeniTransferAmountSlider-B4d4bp7D-Cs4p2KhU.js +63 -0
  202. package/dist/assets/{analyticsHelper-CzlOBCzS-Ba5yCVi8.js → analyticsHelper-D3DK7bgU-BvVFcTDm.js} +1 -1
  203. package/dist/assets/{analyticsHelper-BUf1K4hx.js → analyticsHelper-DijVlDk5.js} +1 -1
  204. package/dist/assets/{chartTypes-D-nEr9EI-C0zQa7Wt.js → chartTypes-DJY-6KK0-Bzq8Fcov.js} +1 -1
  205. package/dist/assets/{commonDimensions-DtXIXXfP-CxfCVUIm.js → commonDimensions-DRK1vfDX-CO7PCzy1.js} +1 -1
  206. package/dist/assets/{detailCommon-DZhn8ANF-DY0XYP-1.js → detailCommon-6K-6m9pv-2y9fI_2t.js} +9 -9
  207. package/dist/assets/{downloadPdf-BaFOiUYP-BhMvbAM3.js → downloadPdf-DAA4T-qo-CPXN54rf.js} +1 -1
  208. package/dist/assets/{index-C7yzTmij.js → index-CIAgrDi2.js} +4247 -4147
  209. package/dist/assets/{mapLoadingInProgressToTreeNode-VAL73To4-9VVcQ3qA.js → mapLoadingInProgressToTreeNode-BAlOrI07-CQVT-QlQ.js} +1 -1
  210. package/dist/assets/{mapSectionWithAcOnlyToTreeNode-C-2C7Gbr-Cj6NIyHy.js → mapSectionWithAcOnlyToTreeNode-Bk-EXs-E-B9fPZZTu.js} +1 -1
  211. package/dist/assets/{mapSpacerToTreeNode-vdqGP9FL-vsW_sRyC.js → mapSpacerToTreeNode-Cxd9BEJr--PDlNxOC.js} +1 -1
  212. package/dist/assets/{mapTimeframeBalancesToTreeNode-BwlF2Rvj-B2Id_UlX.js → mapTimeframeBalancesToTreeNode-BzFUtqqU-DR76PT1e.js} +1 -1
  213. package/dist/assets/{mapTimeframeBalancesToTreeNode-BFzyitoJ-DfU4qVFa.js → mapTimeframeBalancesToTreeNode-Cf8fsAZJ-D1uR1QLu.js} +1 -1
  214. package/dist/assets/{mapTimeframeHeaderLoadingInProgressToTreeNode-BhkQsZRW-Cbnmx738.js → mapTimeframeHeaderLoadingInProgressToTreeNode-CZMzZg1q-oHDpC_ju.js} +1 -1
  215. package/dist/assets/{play-icon-Dzfx02ir-dG88rl_z.js → play-icon-DY_hSiAf-DitmQkz7.js} +1 -1
  216. package/dist/assets/{toCOABalancesWithID-DN6cSuKb-DdLSsatB.js → toCOABalancesWithID-BaqBVqJ_-1rnUe3A4.js} +1 -1
  217. package/dist/assets/{toChartData-Bc3LMl7f-CXw-Y0dZ.js → toChartData-7MYPev1U-zJcYDtq1.js} +1 -1
  218. package/dist/assets/{treasuryColorHelper-Cv4RwMTx-Bw9OTLfX.js → treasuryColorHelper-CDhLDRLr-CltoUNO8.js} +1 -1
  219. package/dist/assets/{uploadAttachment-CxtYyGQy-CCbkX8ir.js → uploadAttachment-DqCoxBNU-CxpASWHI.js} +24 -24
  220. package/dist/assets/{uploadReceipts-D80JLNY4-COsGXapR.js → uploadReceipts-CU1mDxNv-0vPSSd-N.js} +1 -1
  221. package/dist/index.html +1 -1
  222. package/package.json +4 -4
  223. package/dist/assets/ACHDetailsPage-fN9d1vam-BnY47sVD.js +0 -21
  224. package/dist/assets/ArAgingDetailPage-DlmXkANV-D50f3oY6.js +0 -46
  225. package/dist/assets/ChargeCardUtils-EeXYTubM-APgPlZEM.js +0 -1
  226. package/dist/assets/CheckDepositDrawerPage-Da9ApPLD-DB3AcRhF.js +0 -206
  227. package/dist/assets/CompleteProfile-D_6UvHbF-Zc2ZxSIy.js +0 -36
  228. package/dist/assets/CurrencySelectField-DuZRNdJ7--Tr2SnT9.js +0 -139
  229. package/dist/assets/CustomerOnboardingContainerPage-BuVNUdQ_-BSSyR5Rm.js +0 -1
  230. package/dist/assets/DepositAccTransactionListPage-C-4zU6U_-CAplFsmy.js +0 -66
  231. package/dist/assets/DomesticWireDetailsPage-D3nSUYmr-DrDa4yas.js +0 -21
  232. package/dist/assets/EditPeoplePage-66twBgmc-pJSx1vDb.js +0 -55
  233. package/dist/assets/FeaturePreviewPage-FQsE4Qv8-rwV6xMgo.js +0 -11
  234. package/dist/assets/InsightsCardStack-D0wOSPaM-DgAtskKg.js +0 -79
  235. package/dist/assets/InvitePeoplePage-CL18FIeI-B4oObmQg.js +0 -12
  236. package/dist/assets/LabeledAddressValueField-fBxHfsjV-B45FeAVL.js +0 -45
  237. package/dist/assets/LabeledDocumentField-54KXTRM_-BBD50qxr.js +0 -41
  238. package/dist/assets/MagicLinkSuccessPage-BICciyLs-C8NFMe8v.js +0 -31
  239. package/dist/assets/MailingDetailsSection-Cce0Hg2V-fhJvFQv1.js +0 -21
  240. package/dist/assets/PortfolioAllocationFormPage-CmUaCrrW-CYMtoDWk.js +0 -207
  241. package/dist/assets/QBOSetupSection-CAtx-T_9-o42Omplj.js +0 -79
  242. package/dist/assets/ReimbursementApprovalRuleDetailPage-D0YkHEiY-Cd6_u7cb.js +0 -26
  243. package/dist/assets/ReimbursementPromoPage-DpBahcUT-CBe_bgtf.js +0 -112
  244. package/dist/assets/RoleWithToolTip-BPrl2KpS-CivGY3G2.js +0 -22
  245. package/dist/assets/TransactionVendorDetailPage-D2OO73Ia-CN6sZZEi.js +0 -80
  246. package/dist/assets/TreasuryStatementsPage-Dfw94h0a-BYoZAju1.js +0 -58
  247. package/dist/assets/TreasuryTaxLetterPage-D83IlTZG-C592xnfc.js +0 -58
  248. package/dist/assets/ZeniAccountNavBarPieces-CV5znR_M-WVZrWgkt.js +0 -14
  249. package/dist/assets/ZeniTransferAmountSlider-BN1YPh8H-Cut1vMY1.js +0 -63
@@ -0,0 +1,139 @@
1
+ import{cj as M,u as N,cr as P,B as H,j as o,cs as L,_ as x,b1 as _,o as l,dj as z,bW as B,b2 as g,n as W,v as S,eW as X,eX as Y,eY as A,$ as G,a$ as Q,a3 as T,d as m}from"./index-CIAgrDi2.js";import{b as w,n}from"./vendor-CnQcJ2Lu.js";const fe=({name:e,registerOptions:r,defaultValue:t,isDisabled:a,style:c,placeholder:d,isOptionRemovable:i=!0,menuItemHeight:u=40,controlStyle:p})=>{const{control:y,formState:{errors:f}}=M(),b=N(),[O,C]=w.useState(!1),k=P(f,e??""),D=H.getLocalizedStrings().common.currency,I=s=>{if(!(s==null||!s))return{value:s,label:t.allOptions.find(h=>h.value===s)?.label??s,countryCode:t.allOptions.find(h=>h.value===s)?.countryCode??D.countryCode}},V={container:s=>({...s,width:"100%",...c}),menu:s=>({...s,backgroundColor:b.colors.grey5,borderRadius:l.sp1,boxShadow:`${l.sp0} 2px ${l.sp2} ${b.colors.dropShadowHover}`,border:`1px solid ${b.colors.grey3}`,whiteSpace:"nowrap",zIndex:2,width:"100%",margin:`1px ${l.sp0} ${l.sp0} ${l.sp0}`,overflow:"hidden"}),menuList:s=>({...s,borderRadius:l.sp1}),input:()=>({color:b.colors.primary,margin:0}),singleValue:s=>({...s,margin:0,position:"absolute"})},F={hasError:k,menuItemHeight:u,controlStyle:p,isOptionRemovable:i};return o.jsx(L,{name:e,control:y,defaultValue:t,rules:r,"data-testid":x("currency-select-field",e),render:({field:{onChange:s,onBlur:h,value:R,ref:E}})=>{const v=R;return w.createElement(_,{...F,ref:E,isMulti:!1,isSearchable:!0,isClearable:i,autoFocus:O===!0,openMenuOnClick:!0,controlShouldRenderValue:!0,placeholder:d,value:I(v.selectedOption),options:t.allOptions,"data-testid":x("currency-select",e),onChange:$=>{i&&$?.value!=null&&v?.selectedOption===$.value?s({selectedOption:void 0,allOptions:t.allOptions}):s({selectedOption:$?.value,allOptions:t.allOptions})},onMenuClose:()=>C(!1),key:z(),tabSelectsValue:!1,openMenuOnFocus:!0,classNamePrefix:"currency-select-field",onBlur:h,menuPlacement:"auto",maxMenuHeight:240,menuShouldScrollIntoView:!1,closeMenuOnSelect:!0,components:{Control:U,Option:Z,Input:K,SingleValue:ee,ValueContainer:J,DropdownIndicator:he,IndicatorSeparator:me,Placeholder:le,ClearIndicator:ge,MenuList:q},hideSelectedOptions:!1,styles:V,isDisabled:a!=null})}})},U=e=>{const{menuIsOpen:r,isFocused:t,isDisabled:a,selectProps:c}=e,{value:d,hasError:i,controlStyle:u}=c;return o.jsx(te,{controlStyle:u,menuIsOpen:r,isFocused:t,isDisabled:a,selectedValue:d,hasError:i,children:o.jsx(g.Control,{...e,className:"select-control",children:e.children})})},Z=e=>{const{data:r,isSelected:t,isDisabled:a,isFocused:c,selectProps:d}=e,{isOptionRemovable:i}=d,u=r.countryCode,p=typeof r.label=="string"?r.label:r.value;return o.jsx(re,{isOptionRemovable:i,className:"select-option-wrapper",isFocused:c,isSelected:t,isDisabled:a,"data-testid":x("currency-select-field-option",p),children:o.jsx(g.Option,{...e,className:"select-option",children:o.jsxs(se,{children:[o.jsx(oe,{countryCode:u}),o.jsx(ae,{isSelected:t,children:o.jsx(ne,{isSelected:t,isDisabled:a,children:r.label})}),t?o.jsxs(de,{children:[o.jsx(ue,{className:"right-tick-icon"}),o.jsx(pe,{className:"close-tick-icon"})]}):null]})})})},q=e=>{const{options:r,children:t,maxHeight:a,getValue:c,selectProps:d}=e,{menuItemHeight:i}=d,[u]=c(),p=r.indexOf(u)*i;return o.jsx(B,{height:t.length>7?a:t.length*i,width:"100%",itemCount:t.length,itemSize:()=>i,initialScrollOffset:p,children:({index:y,style:f})=>o.jsx(ce,{style:f,children:t[y]})})},J=e=>o.jsx(g.ValueContainer,{...e,className:"select-value-container",children:e.children}),K=e=>{const{selectProps:r}=e,{placeholder:t,value:a}=r;return o.jsx(j,{children:o.jsx(g.Input,{...e,autoComplete:"new-password",placeholder:a==null?t:void 0,children:e.children})})},ee=e=>{const{data:r}=e;return o.jsx(g.SingleValue,{...e,children:o.jsx(j,{children:r.label})})},j=n(W)`
2
+ color: ${e=>e.theme.colors.primary};
3
+ `,le=()=>null,oe=({countryCode:e})=>{if(e!=null&&X(e)===!1)return o.jsx(o.Fragment,{});{const r=Y[`${A(e??"")}`];return o.jsx(ie,{children:o.jsx(r,{width:l.sp4,height:l.sp3})})}},te=n.span`
4
+ width: 100%;
5
+ background-color: ${e=>e.hasError?m.importantLight:e.menuIsOpen?e.theme.colors.background:e.controlStyle?.backgroundColor!=null?e.controlStyle?.backgroundColor:e.theme.colors.grey5};
6
+ border-radius: ${l.sp1};
7
+ cursor: ${e=>e.isDisabled?"not-allowed":"pointer"};
8
+ .select-control {
9
+ border: none;
10
+ height: ${l.sp6};
11
+ background-color: inherit;
12
+ box-shadow: none;
13
+ &:hover {
14
+ fill: ${e=>e.theme.colors.primary};
15
+ background-color: ${e=>e.isDisabled?e.theme.colors.grey5:e.hasError?m.importantLight:e.theme.colors.background};
16
+ border-color: none;
17
+ }
18
+ width: auto;
19
+ min-height: auto;
20
+ cursor: pointer;
21
+ }
22
+
23
+ .select-value-container {
24
+ width: 100%;
25
+ display: flex;
26
+ margin: ${l.sp0} ${l.sp3};
27
+ padding: 0;
28
+ max-width: 100%;
29
+ height: 100%;
30
+ min-width: auto;
31
+ align-items: center;
32
+ flex-wrap: nowrap;
33
+ cursor: pointer;
34
+ justify-content: ${e=>e.controlStyle?.justifyContent!=null?e.controlStyle?.justifyContent:e.menuIsOpen===!1?"flex-end":"flex-start"};
35
+
36
+ .currency-select-field__single-value {
37
+ display: flex;
38
+ margin: ${l.sp0};
39
+ color: ${e=>e.hasError?m.important:e.theme.colors.primary};
40
+ ${S.standardRegular.css};
41
+ }
42
+
43
+ .currency-select-field__input-container {
44
+ display: flex;
45
+ width: ${e=>e.menuIsOpen===!1&&e.selectedValue!=null?l.sp0:"100%"};
46
+ position: ${e=>e.isFocused===!1&&e.selectedValue==null?"initial":"absolute"};
47
+ ${S.standardRegular.css};
48
+ color: ${e=>e.hasError===!0?m.important:e.theme.colors.primary};
49
+ margin: ${l.sp0};
50
+ cursor: inherit;
51
+ top: ${l.sp2};
52
+
53
+ > input {
54
+ text-align: ${e=>e.isFocused===!1&&e.selectedValue==null?"right":"initial"};
55
+ text-align: ${e=>e.isFocused===!1?"right":"left"};
56
+ align-items: center;
57
+ overflow: hidden;
58
+ cursor: inherit;
59
+ :disabled {
60
+ visibility: visible;
61
+ }
62
+ ::placeholder {
63
+ color: ${e=>e.hasError?m.important:e.theme.colors.grey1};
64
+ }
65
+ }
66
+ }
67
+ }
68
+ `,re=n.div`
69
+ border-radius: inherit;
70
+ .select-option {
71
+ ${S.smallRegular.css};
72
+ height: ${l.sp6};
73
+ padding: 9px ${l.sp3};
74
+ color: ${e=>e.isSelected?e.theme.colors.primary:e.theme.colors.champion};
75
+ opacity: ${e=>e.isDisabled?.32:1};
76
+ background-color: ${e=>e.isSelected?e.theme.colors.grey3:e.theme.colors.grey5};
77
+ ${e=>e.isFocused&&`background-color: ${e.theme.colors.background}`};
78
+ cursor: ${e=>e.isDisabled?"not-allowed":"pointer"};
79
+ border-top: none;
80
+ border-radius: inherit;
81
+ .close-tick-icon {
82
+ display: none;
83
+ }
84
+
85
+ &:hover {
86
+ background-color: ${e=>e.isDisabled?e.theme.colors.grey5:e.theme.colors.background};
87
+ color: ${e=>e.isDisabled?e.theme.colors.champion:e.theme.colors.primary};
88
+ .right-tick-icon {
89
+ display: ${e=>e.isOptionRemovable?"none":"inline-block"};
90
+ }
91
+ .close-tick-icon {
92
+ display: ${e=>e.isOptionRemovable?"inline-block":"none"};
93
+ }
94
+ }
95
+ }
96
+ `,se=n.div`
97
+ display: flex;
98
+ flex-direction: row;
99
+ align-items: center;
100
+ justify-content: space-between;
101
+ `,ie=n.div`
102
+ padding-right: ${l.sp2};
103
+ display: flex;
104
+ align-items: center;
105
+ justify-content: space-between;
106
+ fill: initial;
107
+ color: initial;
108
+ `,ne=n(G)`
109
+ padding-right: 10px;
110
+ cursor: ${e=>e.isDisabled?"not-allowed":"pointer"};
111
+ ${e=>e.isSelected&&"cursor: default"};
112
+ `,ae=n.div`
113
+ width: ${e=>e.isSelected?`calc(100% - ${l.sp3})`:"100%"};
114
+ display: flex;
115
+ align-items: center;
116
+ justify-content: space-between;
117
+ `,ce=n.div`
118
+ :first-of-type {
119
+ border-top-left-radius: ${l.sp1};
120
+ border-top-right-radius: ${l.sp1};
121
+ }
122
+
123
+ :last-of-type {
124
+ border-bottom-left-radius: ${l.sp1};
125
+ border-bottom-right-radius: ${l.sp1};
126
+ }
127
+ `,de=n.div`
128
+ display: flex;
129
+ `,ue=n(Q)`
130
+ width: 12px;
131
+ height: 12px;
132
+ margin-right: 2px;
133
+ margin-left: ${l.sp1};
134
+ color: ${e=>e.theme.colors.primary};
135
+ `,pe=n(T)`
136
+ width: ${l.sp3};
137
+ height: ${l.sp3};
138
+ color: ${e=>e.theme.colors.primary};
139
+ `,he=()=>null,me=()=>null,ge=()=>null;export{fe as S};
@@ -1,8 +1,8 @@
1
- import{j as t,X as b,M as d,a2 as l,_ as p,c as x,o as i,$ as g,c0 as h,k as m}from"./index-C7yzTmij.js";import{b as u,n as o}from"./vendor-CnQcJ2Lu.js";import"./mui-C5LQ0bMa.js";import"./analytics-CBL_L82S.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";const $=o.div`
1
+ import{j as t,X as b,B as d,a2 as l,_ as p,i as x,o as i,c as g,c3 as h,k as m}from"./index-CIAgrDi2.js";import{b as u,n as o}from"./vendor-CnQcJ2Lu.js";import"./mui-C5LQ0bMa.js";import"./analytics-CBL_L82S.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";const f=o.div`
2
2
  display: flex;
3
3
  width: 100%;
4
4
  flex-direction: column;
5
- `,f=o.div`
5
+ `,j=o.div`
6
6
  display: flex;
7
7
  flex: 1 1 auto;
8
8
  flex-direction: column;
@@ -14,7 +14,7 @@ import{j as t,X as b,M as d,a2 as l,_ as p,c as x,o as i,$ as g,c0 as h,k as m}f
14
14
  height: 100%;
15
15
  z-index: 4;
16
16
  background: ${e=>e.theme.colors.background};
17
- `,j=o(g)`
17
+ `,$=o(g)`
18
18
  margin: 20px 12px ${i.sp0} ${i.sp0};
19
19
  height: ${i.sp4};
20
20
  width: 102px;
@@ -44,7 +44,7 @@ import{j as t,X as b,M as d,a2 as l,_ as p,c as x,o as i,$ as g,c0 as h,k as m}f
44
44
  text-align: center;
45
45
  `,w=o.div`
46
46
  margin-top: ${i.sp3};
47
- `,z=({dashboardFetchState:e,onZeniLogoClick:n,onDashboardFetchDone:r})=>{const{title:a,subTitle:c}=d.getLocalizedStrings().customerOnboardingPage.thankYou,s=l(e);return u.useEffect(()=>{s==="In-Progress"&&e!=="In-Progress"&&r()},[e,s,r]),t.jsxs($,{children:[t.jsx(f,{children:t.jsx(j,{"data-testid":p("zeni-logo-customer-onboarding-activation-page"),onClick:n})}),t.jsxs(k,{children:[t.jsx(v,{children:a}),t.jsx(y,{children:c}),t.jsx(w,{children:t.jsx(x,{size:"Large",start:!0})})]})]})},L=o.div`
47
+ `,z=({dashboardFetchState:e,onZeniLogoClick:n,onDashboardFetchDone:r})=>{const{title:a,subTitle:c}=d.getLocalizedStrings().customerOnboardingPage.thankYou,s=l(e);return u.useEffect(()=>{s==="In-Progress"&&e!=="In-Progress"&&r()},[e,s,r]),t.jsxs(f,{children:[t.jsx(j,{children:t.jsx($,{"data-testid":p("zeni-logo-customer-onboarding-activation-page"),onClick:n})}),t.jsxs(k,{children:[t.jsx(v,{children:a}),t.jsx(y,{children:c}),t.jsx(w,{children:t.jsx(x,{size:"Large",start:!0})})]})]})},L=o.div`
48
48
  display: flex;
49
49
  flex-direction: column;
50
50
  height: 100vh;
@@ -85,4 +85,4 @@ import{j as t,X as b,M as d,a2 as l,_ as p,c as x,o as i,$ as g,c0 as h,k as m}f
85
85
  width: 100%;
86
86
  `,F=o.div`
87
87
  margin-top: ${i.sp3};
88
- `,M=({dashboardFetchState:e,onZeniLogoClick:n,onDashboardFetchDone:r})=>{const{title:a,subTitle:c}=d.getLocalizedStrings().customerOnboardingPage.thankYou,s=l(e);return u.useEffect(()=>{s==="In-Progress"&&e!=="In-Progress"&&r()},[e,s,r]),t.jsxs(L,{children:[t.jsx(P,{children:t.jsx(S,{children:t.jsx(C,{"data-testid":p("zeni-logo-customer-onboarding-activation-page"),onClick:n})})}),t.jsxs(I,{children:[t.jsx(D,{children:a}),t.jsx(E,{children:c}),t.jsx(F,{children:t.jsx(x,{size:"Large",start:!0})})]})]})},q=e=>b()==="small"?t.jsx(M,{...e}):t.jsx(z,{...e});export{q as default};
88
+ `,O=({dashboardFetchState:e,onZeniLogoClick:n,onDashboardFetchDone:r})=>{const{title:a,subTitle:c}=d.getLocalizedStrings().customerOnboardingPage.thankYou,s=l(e);return u.useEffect(()=>{s==="In-Progress"&&e!=="In-Progress"&&r()},[e,s,r]),t.jsxs(L,{children:[t.jsx(P,{children:t.jsx(S,{children:t.jsx(C,{"data-testid":p("zeni-logo-customer-onboarding-activation-page"),onClick:n})})}),t.jsxs(I,{children:[t.jsx(D,{children:a}),t.jsx(E,{children:c}),t.jsx(F,{children:t.jsx(x,{size:"Large",start:!0})})]})]})},_=e=>b()==="small"?t.jsx(O,{...e}):t.jsx(z,{...e});export{_ as default};
@@ -0,0 +1 @@
1
+ import{j as r}from"./index-CIAgrDi2.js";import o from"./CustomerOnboardingNoStepsPage-D5BcbVEK-CYF4Do82.js";import i from"./CustomerOnboardingPage-N-8Zd7M_-BLw-RmQq.js";import"./mui-C5LQ0bMa.js";import"./vendor-CnQcJ2Lu.js";import"./analytics-CBL_L82S.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";import"./HelpButton-C1djo0zO-BW6NBTNW.js";import"./MeetingCalenderPopup-COpKcBhx-C1b7HyPI.js";import"./PaymentAccountSetupBillingAddressSection-C6WFeB3A-C9tSnFrF.js";import"./SetUpAccountSection-Trj1x2HL-CiAxSNYR.js";import"./SetUpDefaultSection-BQzNGjO7-an74W3Da.js";import"./ChaseOverlay-LcVAgdoT-D1Jb2EIj.js";import"./CustomerOnboardingDetailPageSkeleton-A_l9Qen8-BtaF5eWl.js";import"./CompanyOfficerDetailsSection-BlLsNJaD-grOU-fb_.js";import"./LabeledAddressValueField-Cw-p18du-D9T5QqTG.js";import"./LabeledCreatableSingleSelectField-nys9pbO0-0SJcSq-w.js";import"./LabeledDocumentField-Y6TKpyZ8-CW27Za_m.js";import"./DocumentSecurityBanner-Bo9Hgo-I-DBmSgZgH.js";import"./QBOSetupSection-BeRZZ-Q_-a6rhf4W-.js";import"./QBOConnectionDialog-DLVcifji-BzsFl8lU.js";const w=t=>t.currentTenant?.productSettings.isOtherProductsEnabled===!0?r.jsx(o,{...t}):r.jsx(i,{...t});export{w as default};
@@ -1,6 +1,6 @@
1
- import{j as s,_ as y,aI as E,u as f,X as T,bf as x,o as t,q as R,C as $,$ as I,M as N,g as u,eQ as U,h9 as P,e_ as L,aC as W,m as M,ha as O}from"./index-C7yzTmij.js";import{n as r,f as S}from"./vendor-CnQcJ2Lu.js";const X=r(O)`
1
+ import{j as s,_ as y,aI as T,u as f,X as E,bf as x,o as t,s as R,C as $,c as I,B as N,d as u,eT as P,hc as U,f0 as L,aC as W,M as J,hd as O}from"./index-CIAgrDi2.js";import{n as r,f as S}from"./vendor-CnQcJ2Lu.js";const M=r(O)`
2
2
  /* Size is controlled by styles.root prop */
3
- `,Y=r.div`
3
+ `,X=r.div`
4
4
  position: relative;
5
5
  width: ${t.sp3};
6
6
  height: ${t.sp3};
@@ -22,7 +22,7 @@ import{j as s,_ as y,aI as E,u as f,X as T,bf as x,o as t,q as R,C as $,$ as I,M
22
22
  pointer-events: none;
23
23
  z-index: 1;
24
24
  }
25
- `,_=({valueEnd:e,valueStart:i,children:o})=>{const[l,d]=S.useState(i);return S.useEffect(()=>{const a=setTimeout(()=>{d(e)},100);return()=>clearTimeout(a)},[e]),s.jsx(s.Fragment,{children:o(l)})},q=({valueEnd:e=50})=>{const i=f();return s.jsx(_,{valueStart:0,valueEnd:e,children:o=>s.jsx(Y,{theme:i,children:s.jsx(X,{value:o,strokeWidth:50,circleRatio:1,styles:{...P({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"}}})})})},j=({isActive:e,isCompleted:i,isDisabled:o,isError:l,isHalfCompleted:d,theme:a})=>e||i||d||l?l?u.runwayRed:a.colors.primary:o?a.colors.grey1:a.colors.hero,w=({isActive:e,isCompleted:i,isDisabled:o,isHalfCompleted:l,theme:d})=>e||i||l?d.colors.primary:o?d.colors.grey1:d.colors.hero,F=r.div`
25
+ `,B=({valueEnd:e,valueStart:i,children:o})=>{const[l,d]=S.useState(i);return S.useEffect(()=>{const a=setTimeout(()=>{d(e)},100);return()=>clearTimeout(a)},[e]),s.jsx(s.Fragment,{children:o(l)})},F=({valueEnd:e=50})=>{const i=f();return s.jsx(B,{valueStart:0,valueEnd:e,children:o=>s.jsx(X,{theme:i,children:s.jsx(M,{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"}}})})})},j=({isActive:e,isCompleted:i,isDisabled:o,isError:l,isHalfCompleted:d,theme:a})=>e||i||d||l?l?u.runwayRed:a.colors.primary:o?a.colors.grey1:a.colors.hero,w=({isActive:e,isCompleted:i,isDisabled:o,isHalfCompleted:l,theme:d})=>e||i||l?d.colors.primary:o?d.colors.grey1:d.colors.hero,Q=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{j as s,_ as y,aI as E,u as f,X as T,bf as x,o as t,q as R,C as $,$ as I,M
41
41
  color: ${e=>w({isActive:e.isActive,isCompleted:e.isCompleted,isDisabled:e.isDisabled,isHalfCompleted:e.isHalfCompleted,theme:e.theme})};
42
42
  }
43
43
  }
44
- `,J=r.div`
44
+ `,Y=r.div`
45
45
  margin-right: ${t.sp2};
46
46
  margin-top: 2px;
47
- `,K=r(L)`
47
+ `,Z=r(L)`
48
48
  width: ${t.sp3};
49
49
  height: ${t.sp3};
50
50
  color: ${u.success};
51
- `,Q=r(U)`
51
+ `,_=r(P)`
52
52
  width: ${t.sp3};
53
53
  height: ${t.sp3};
54
54
  color: ${u.runwayRed};
55
- `,V=r.div`
55
+ `,q=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
- `,Z=r.div`
61
+ `,G=r.div`
62
62
  display: flex;
63
63
  flex-direction: column;
64
- `,B=r(W)`
64
+ `,K=r(W)`
65
65
  color: ${e=>j({isActive:e.isActive,isCompleted:e.isCompleted,isDisabled:e.disabledStep,isError:e.isError,isHalfCompleted:e.isHalfCompleted,theme:e.theme})};
66
- `,G=r(M)`
66
+ `,V=r(J)`
67
67
  color: ${e=>w({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:a,stepText:h,stepSubText:m,onUpdateStep:g,setIsStepClicked:p,disabledSteps:n}){const c=d||n.includes(e)&&i===!1;return s.jsxs(F,{isActive:i,isDisabled:c,isCompleted:o,isHalfCompleted:l,isError:a,onClick:d===!1?()=>{n.includes(e)&&i===!1||(p(!0),g(e))}:void 0,"data-testid":y("step-box",e),children:[s.jsx(J,{children:a?s.jsx(Q,{}):l?s.jsx(q,{}):o?s.jsx(K,{}):s.jsx(V,{isActive:i,disabledStep:c})}),s.jsxs(Z,{children:[s.jsx(B,{className:"step-content-title",isActive:i,isCompleted:o,isHalfCompleted:l,disabledStep:c,isError:a,children:h}),s.jsx(G,{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:a,stepText:h,stepSubText:m,onUpdateStep:g,setIsStepClicked:p,disabledSteps:n}){const c=d||n.includes(e)&&i===!1;return s.jsxs(Q,{isActive:i,isDisabled:c,isCompleted:o,isHalfCompleted:l,isError:a,onClick:d===!1?()=>{n.includes(e)&&i===!1||(p(!0),g(e))}:void 0,"data-testid":y("step-box",e),children:[s.jsx(Y,{children:a?s.jsx(_,{}):l?s.jsx(F,{}):o?s.jsx(Z,{}):s.jsx(q,{isActive:i,disabledStep:c})}),s.jsxs(G,{children:[s.jsx(K,{className:"step-content-title",isActive:i,isCompleted:o,isHalfCompleted:l,disabledStep:c,isError:a,children:h}),s.jsx(V,{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;
@@ -115,7 +115,7 @@ import{j as s,_ as y,aI as E,u as f,X as T,bf as x,o as t,q as R,C as $,$ as I,M
115
115
  color: ${e=>e.theme.colors.primary};
116
116
  cursor: pointer;
117
117
  flex-shrink: 0;
118
- `,ue=e=>{const{isOnAddressPage:i,allSteps:o,completedSteps:l,halfCompletedSteps:d,errorSteps:a,currentStep:h,signedInUser:m,currentTenant:g,fetchStatus:p,onUpdateStep:n,onZeniLogoClick:c,handleLogOutClick:k,handleCockpitClick:A,setIsStepClicked:z}=e,D=p.fetchState==="In-Progress"||p.fetchState==="Not-Started",H=[];return s.jsxs(de,{children:[s.jsx(ne,{"data-testid":y("zeni-logo-customer-onboarding-drawer"),onClick:c}),D?s.jsx(le,{}):s.jsx(ie,{allSteps:o,isDisabled:i,disabledSteps:H,completedSteps:l,halfCompletedSteps:d,errorSteps:a,currentStep:h,onUpdateStep:n,setIsStepClicked:z}),s.jsx(ae,{children:s.jsx(E,{signedInUser:m,currentTenant:g,onLogOutClick:k,onCockpitClick:A})})]})},C={titleRectangleWidth:new $(250,500,550,600),subTitleRectangleWidth:new $(343,600,700,800)},pe=r.div`
118
+ `,ue=e=>{const{isOnAddressPage:i,allSteps:o,completedSteps:l,halfCompletedSteps:d,errorSteps:a,currentStep:h,signedInUser:m,currentTenant:g,fetchStatus:p,onUpdateStep:n,onZeniLogoClick:c,handleLogOutClick:k,handleCockpitClick:A,setIsStepClicked:z}=e,D=p.fetchState==="In-Progress"||p.fetchState==="Not-Started",H=[];return s.jsxs(de,{children:[s.jsx(ne,{"data-testid":y("zeni-logo-customer-onboarding-drawer"),onClick:c}),D?s.jsx(le,{}):s.jsx(ie,{allSteps:o,isDisabled:i,disabledSteps:H,completedSteps:l,halfCompletedSteps:d,errorSteps:a,currentStep:h,onUpdateStep:n,setIsStepClicked:z}),s.jsx(ae,{children:s.jsx(T,{signedInUser:m,currentTenant:g,onLogOutClick:k,onCockpitClick:A})})]})},C={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{j as s,_ as y,aI as E,u as f,X as T,bf as x,o as t,q as R,C as $,$ as I,M
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=T();return s.jsx(pe,{isNoStepsPage:e,children:s.jsx(ce,{windowSize:o,children:s.jsxs(he,{children:[s.jsx(v,{children:s.jsx(x,{width:C.titleRectangleWidth.value(o),height:R[6],backgroundColor:i.colors.grey3,style:{borderRadius:t.sp2}})}),s.jsx(v,{children:s.jsx(x,{width:C.subTitleRectangleWidth.value(o),height:27,backgroundColor:i.colors.grey3,style:{borderRadius:t.sp2}})})]})})})};export{b as a,ue as b,xe as f};
162
+ `,xe=({isNoStepsPage:e=!1})=>{const i=f(),o=E();return s.jsx(pe,{isNoStepsPage:e,children:s.jsx(ce,{windowSize:o,children:s.jsxs(he,{children:[s.jsx(v,{children:s.jsx(x,{width:C.titleRectangleWidth.value(o),height:R[6],backgroundColor:i.colors.grey3,style:{borderRadius:t.sp2}})}),s.jsx(v,{children:s.jsx(x,{width:C.subTitleRectangleWidth.value(o),height:27,backgroundColor:i.colors.grey3,style:{borderRadius:t.sp2}})})]})})})};export{b as a,ue as b,xe as f};
@@ -1,4 +1,4 @@
1
- import{d2 as se,j as o,X as Ce,u as Pe,a as we,h0 as be,M as xe,a2 as ke,c3 as Ie,aV as $e,o as i,_ as Ae,F as ve,a4 as Oe,aI as Ve,cw as je,cx as oe,$ as Te,C as Q,e as Le,q as $}from"./index-C7yzTmij.js";import{n as c,b as A}from"./vendor-CnQcJ2Lu.js";import{D as Ue}from"./HelpButton-DY1MpMsB-KbKqlw38.js";import{t as ze,e as Ee}from"./PaymentAccountSetupBillingAddressSection-BxQrIZmE-B_q4GQV2.js";import{f as Be}from"./CustomerOnboardingDetailPageSkeleton-m2chMg_F-DP-_bCgy.js";import"./mui-C5LQ0bMa.js";import"./analytics-CBL_L82S.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";import"./MeetingCalenderPopup-gItmg01b-Cu9NWj0e.js";import"./SetUpAccountSection-DwkklztZ-CvvkeLO0.js";import"./SetUpDefaultSection-Chh_3U0h-DP32jEG1.js";import"./ChaseOverlay-DONL-nDR-De0YjgVf.js";const J="onboardingPaymentAccountSetupSection",ie="customerOnboardingNoStepsDetailPage",n="onboardingSubscriptionBillingAddress",q={titleWidth:new Q(343,580,726,826),subTitlePaddingTop:new Q($[3],$[3]),subTitlePaddingBottom:new Q($[3],$[3])},_e=e=>`${e}_form`,Fe=xe.getLocalizedStrings(),De=({onboardingCustomerView:e,connectedAccountProvider:C,cardPaymentView:y,stripeKey:O,googleAPIKey:V,signedInUser:P,currentTenant:j,onUpdateStep:T,handleCreateCardSetupIntent:L,handleConfirmCardSetupIntent:U,updateCardPaymentModalState:w,handleAddCardPaymentSource:z,resetCardPaymentViewState:E,handleResetCardPaymentErrorStatuses:B,redirectToProductSuitePage:b,onUpdateCustomerView:_,...F})=>{const u=Ce(),D=se(),{analytics:h}=D,{onFetchLinkTokenClick:K,onUpdatePaymentAccountStatus:M,onUpdatePaymentAccountLoginStatus:R,onEstablishConnectionClick:S,onEstablishConnectionSuccess:N,handleLogOutClick:G,onZeniLogoClick:W,onAddressEditHandler:x}=F,Z=Pe(),r=we({mode:"onSubmit",reValidateMode:"onSubmit",defaultValues:v(e),values:v(e),shouldFocusError:!0,resetOptions:{keepDirtyValues:!0}}),{companyOfficerLocalData:re,saveStatus:p,paymentAccount:k,paymentAccountStatus:de,plaidConnectionDetails:X,uiState:le,allNationalityCountries:Y,subscriptionBillingAddress:m}=e,{customerOnboardingPage:ce,common:g}=Fe,{footer:ue,steps:pe}=ce,{buttons:H}=ue,ee=pe.link_payment_account,I=ke(p.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,f=je(l?.country);d={street:a[n].street??g.strings.empty,city:l?.locality??g.strings.empty,state:l?.administrativeAreaLevel1??g.strings.empty,country:f,countryCode:l?.countryCode??g.strings.empty,postalCode:l?.postalCode??g.strings.empty,secondaryInfo:a[n].secondaryInfo,suite:a[n].suite},s.selectedOption!==f.selectedOption&&(d={...d,country:f})}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)}};A.useEffect(()=>{const t=r.watch((a,{name:s})=>{s!=null&&a!=null&&Ie(()=>ge(s,a))});return()=>{t.unsubscribe()}}),A.useEffect(()=>{I==="In-Progress"&&p.fetchState==="Completed"&&r.reset(v(e),{keepDirtyValues:!1})},[r,e,I,p.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??g.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=y.cardsList.length>0,d=y.bankAccountsList[0]?.providerVerificationStatus?.code?.includes("verified")??!1;return t&&a||!a&&!k&&s||!s&&!k&&d};function he(){if(r.getFieldState(n).error)return!1;const t=r.getValues(n),a=m?.street.join("").trim(),s=m?.city,d=m?.state,l=m?.country,f=m?.postalCode!=null&&m.postalCode||t.postalCode||g.strings.empty;return!!a&&!!s&&!!d&&!!l&&!!f}const Se=async()=>{const t=await r.trigger(n),a=await r.trigger(J);t&&a&&(ye(),T("link_payment_account"),_(me,!1,!0))};A.useEffect(()=>{I==="In-Progress"&&p.fetchState==="Completed"&&(r.reset(v(e),{keepDirtyValues:!1}),b())},[r,e,I,p.fetchState,Y,b]);const[ae,fe]=A.useState(!1);return o.jsxs(Ke,{children:[o.jsxs(Me,{windowSize:u,children:[o.jsx($e,{title:ee.sectionTitle,showBackButton:!1,backgroundColor:Z.colors.grey4,style:{zIndex:4},source:"CustomerOnboardingPaymentAddressDetailPage",showLeftSection:u!=="small",titleStyle:{display:"flex",alignItems:"center"},navBarContainerStyles:{paddingTop:i.sp0,paddingBottom:i.sp0},leftSideComponent:o.jsx(We,{children:o.jsx(Ze,{"data-testid":Ae("zeni-logo-customer-onboarding-payment-address-detail-page"),onClick:W})})}),o.jsx(ve,{...r,children:o.jsx(Ne,{id:_e(ie),children:o.jsxs(Re,{children:[o.jsx(He,{windowSize:u,children:ee.sectionSubTitle}),o.jsx(ze,{connectedAccountProvider:C,paymentAccount:k,accountStatus:de,plaidConnectionDetails:X,subscriptionBillingAddressSectionId:n,sectionId:J,analytics:h,isValid:ne(),onFetchLinkTokenClick:K,onEstablishConnectionClick:S,onUpdatePaymentAccountStatus:M,onUpdatePaymentAccountLoginStatus:R,onEstablishConnectionSuccess:N,updateCardPaymentModalState:w,cardPaymentView:y,resetCardPaymentViewState:E,cardSetupInProgress:ae,googleAPIKey:V,subscriptionBillingAddress:m})]},"link_payment_account")})}),o.jsx(Oe,{formId:`${ie}`,leftSideComponent:o.jsx(Ge,{windowSize:u,children:o.jsx(Ve,{signedInUser:P,currentTenant:j,onLogOutClick:G})}),style:{width:u==="small"?"auto":"100%",padding:i.sp0,rowGap:i.sp1},helperContainerStyle:{width:"100%",rowGap:i.sp1,marginTop:"12px",marginBottom:i.sp2},primaryBtn:{onClick:Se,label:H.submit,isLoading:p.fetchState==="In-Progress",isDisabled:p.fetchState==="In-Progress"||!(he()&&ne())},containerStyle:{width:"auto",justifyContent:"center"},helperText:H.submitText.replace("__action__",H.submit),helperStyle:{width:"auto",padding:i.sp0,rowGap:i.sp0,textAlign:"center"}})]}),o.jsx(Ee,{handleConfirmCardSetupIntent:U,updateCardPaymentModalState:w,handleCreateCardSetupIntent:L,handleAddCardPaymentSource:z,cardPaymentView:y,stripeKey:O,isCardPaymentOpen:le.isCardPaymentPopupOpen,handleResetCardPaymentErrorStatuses:B,cardSetupInProgress:ae,setCardSetupInProgress:fe})]})},Ke=c.div`
1
+ import{d5 as se,j as o,X as Ce,u as Pe,a as we,h3 as be,B as xe,a2 as ke,c6 as Ie,aV as $e,o as i,_ as Ae,F as ve,a4 as Oe,aI as je,cz as Ve,cA as oe,c as Te,C as Q,n as Le,s as $}from"./index-CIAgrDi2.js";import{n as c,b as A}from"./vendor-CnQcJ2Lu.js";import{I as Ee}from"./HelpButton-C1djo0zO-BW6NBTNW.js";import{t as ze,e as Ue}from"./PaymentAccountSetupBillingAddressSection-C6WFeB3A-C9tSnFrF.js";import{f as Be}from"./CustomerOnboardingDetailPageSkeleton-A_l9Qen8-BtaF5eWl.js";import"./mui-C5LQ0bMa.js";import"./analytics-CBL_L82S.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";import"./MeetingCalenderPopup-COpKcBhx-C1b7HyPI.js";import"./SetUpAccountSection-Trj1x2HL-CiAxSNYR.js";import"./SetUpDefaultSection-BQzNGjO7-an74W3Da.js";import"./ChaseOverlay-LcVAgdoT-D1Jb2EIj.js";const X="onboardingPaymentAccountSetupSection",ie="customerOnboardingNoStepsDetailPage",n="onboardingSubscriptionBillingAddress",J={titleWidth:new Q(343,580,726,826),subTitlePaddingTop:new Q($[3],$[3]),subTitlePaddingBottom:new Q($[3],$[3])},_e=e=>`${e}_form`,Fe=xe.getLocalizedStrings(),Ke=({onboardingCustomerView:e,connectedAccountProvider:C,cardPaymentView:y,stripeKey:O,googleAPIKey:j,signedInUser:P,currentTenant:V,onUpdateStep:T,handleCreateCardSetupIntent:L,handleConfirmCardSetupIntent:E,updateCardPaymentModalState:w,handleAddCardPaymentSource:z,resetCardPaymentViewState:U,handleResetCardPaymentErrorStatuses:B,redirectToProductSuitePage:b,onUpdateCustomerView:_,...F})=>{const u=Ce(),K=se(),{analytics:h}=K,{onFetchLinkTokenClick:D,onUpdatePaymentAccountStatus:R,onUpdatePaymentAccountLoginStatus:M,onEstablishConnectionClick:S,onEstablishConnectionSuccess:G,handleLogOutClick:N,onZeniLogoClick:W,onAddressEditHandler:x}=F,Z=Pe(),r=we({mode:"onSubmit",reValidateMode:"onSubmit",defaultValues:v(e),values:v(e),shouldFocusError:!0,resetOptions:{keepDirtyValues:!0}}),{companyOfficerLocalData:re,saveStatus:p,paymentAccount:k,paymentAccountStatus:de,plaidConnectionDetails:q,uiState:le,allNationalityCountries:Y,subscriptionBillingAddress:m}=e,{customerOnboardingPage:ce,common:g}=Fe,{footer:ue,steps:pe}=ce,{buttons:H}=ue,ee=pe.link_payment_account,I=ke(p.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,f=Ve(l?.country);d={street:a[n].street??g.strings.empty,city:l?.locality??g.strings.empty,state:l?.administrativeAreaLevel1??g.strings.empty,country:f,countryCode:l?.countryCode??g.strings.empty,postalCode:l?.postalCode??g.strings.empty,secondaryInfo:a[n].secondaryInfo,suite:a[n].suite},s.selectedOption!==f.selectedOption&&(d={...d,country:f})}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)}};A.useEffect(()=>{const t=r.watch((a,{name:s})=>{s!=null&&a!=null&&Ie(()=>ge(s,a))});return()=>{t.unsubscribe()}}),A.useEffect(()=>{I==="In-Progress"&&p.fetchState==="Completed"&&r.reset(v(e),{keepDirtyValues:!1})},[r,e,I,p.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??g.strings.empty,secondaryInfo:t.secondaryInfo};h.trackOnboardingBillingAddressSave(a)},ne=()=>{const t=Object.values(q).some(l=>l.fetchStatus.fetchState==="Completed"),a=k?.providerVerificationStatus?.code?.includes("verified")??!1,s=y.cardsList.length>0,d=y.bankAccountsList[0]?.providerVerificationStatus?.code?.includes("verified")??!1;return t&&a||!a&&!k&&s||!s&&!k&&d};function he(){if(r.getFieldState(n).error)return!1;const t=r.getValues(n),a=m?.street.join("").trim(),s=m?.city,d=m?.state,l=m?.country,f=m?.postalCode!=null&&m.postalCode||t.postalCode||g.strings.empty;return!!a&&!!s&&!!d&&!!l&&!!f}const Se=async()=>{const t=await r.trigger(n),a=await r.trigger(X);t&&a&&(ye(),T("link_payment_account"),_(me,!1,!0))};A.useEffect(()=>{I==="In-Progress"&&p.fetchState==="Completed"&&(r.reset(v(e),{keepDirtyValues:!1}),b())},[r,e,I,p.fetchState,Y,b]);const[ae,fe]=A.useState(!1);return o.jsxs(De,{children:[o.jsxs(Re,{windowSize:u,children:[o.jsx($e,{title:ee.sectionTitle,showBackButton:!1,backgroundColor:Z.colors.grey4,style:{zIndex:4},source:"CustomerOnboardingPaymentAddressDetailPage",showLeftSection:u!=="small",titleStyle:{display:"flex",alignItems:"center"},navBarContainerStyles:{paddingTop:i.sp0,paddingBottom:i.sp0},leftSideComponent:o.jsx(We,{children:o.jsx(Ze,{"data-testid":Ae("zeni-logo-customer-onboarding-payment-address-detail-page"),onClick:W})})}),o.jsx(ve,{...r,children:o.jsx(Ge,{id:_e(ie),children:o.jsxs(Me,{children:[o.jsx(He,{windowSize:u,children:ee.sectionSubTitle}),o.jsx(ze,{connectedAccountProvider:C,paymentAccount:k,accountStatus:de,plaidConnectionDetails:q,subscriptionBillingAddressSectionId:n,sectionId:X,analytics:h,isValid:ne(),onFetchLinkTokenClick:D,onEstablishConnectionClick:S,onUpdatePaymentAccountStatus:R,onUpdatePaymentAccountLoginStatus:M,onEstablishConnectionSuccess:G,updateCardPaymentModalState:w,cardPaymentView:y,resetCardPaymentViewState:U,cardSetupInProgress:ae,googleAPIKey:j,subscriptionBillingAddress:m})]},"link_payment_account")})}),o.jsx(Oe,{formId:`${ie}`,leftSideComponent:o.jsx(Ne,{windowSize:u,children:o.jsx(je,{signedInUser:P,currentTenant:V,onLogOutClick:N})}),style:{width:u==="small"?"auto":"100%",padding:i.sp0,rowGap:i.sp1},helperContainerStyle:{width:"100%",rowGap:i.sp1,marginTop:"12px",marginBottom:i.sp2},primaryBtn:{onClick:Se,label:H.submit,isLoading:p.fetchState==="In-Progress",isDisabled:p.fetchState==="In-Progress"||!(he()&&ne())},containerStyle:{width:"auto",justifyContent:"center"},helperText:H.submitText.replace("__action__",H.submit),helperStyle:{width:"auto",padding:i.sp0,rowGap:i.sp0,textAlign:"center"}})]}),o.jsx(Ue,{handleConfirmCardSetupIntent:E,updateCardPaymentModalState:w,handleCreateCardSetupIntent:L,handleAddCardPaymentSource:z,cardPaymentView:y,stripeKey:O,isCardPaymentOpen:le.isCardPaymentPopupOpen,handleResetCardPaymentErrorStatuses:B,cardSetupInProgress:ae,setCardSetupInProgress:fe})]})},De=c.div`
2
2
  display: flex;
3
3
  flex-direction: column;
4
4
  align-items: center;
@@ -6,7 +6,7 @@ import{d2 as se,j as o,X as Ce,u as Pe,a as we,h0 as be,M as xe,a2 as ke,c3 as I
6
6
  width: 100%;
7
7
  padding-left: ${i.sp0};
8
8
  }
9
- `,Me=c.div`
9
+ `,Re=c.div`
10
10
  display: flex;
11
11
  flex-direction: column;
12
12
  align-items: center;
@@ -23,15 +23,15 @@ import{d2 as se,j as o,X as Ce,u as Pe,a as we,h0 as be,M as xe,a2 as ke,c3 as I
23
23
  ${e=>e.theme.breakpoints.down("lg")} {
24
24
  background-size: cover;
25
25
  }
26
- `,Re=c.div`
26
+ `,Me=c.div`
27
27
  display: flex;
28
28
  height: 100%;
29
29
  flex-direction: column;
30
30
  padding-bottom: ${i.sp0};
31
- `,Ne=c.form`
31
+ `,Ge=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};
@@ -53,12 +53,12 @@ import{d2 as se,j as o,X as Ce,u as Pe,a as we,h0 as be,M as xe,a2 as ke,c3 as I
53
53
  color: ${e=>e.theme.colors.hero};
54
54
  display: flex;
55
55
  justify-content: center;
56
- width: ${e=>q.titleWidth.valuePx(e.windowSize)};
57
- padding-top: ${e=>q.subTitlePaddingTop.valuePx(e.windowSize)};
58
- padding-bottom: ${e=>q.subTitlePaddingBottom.valuePx(e.windowSize)};
56
+ width: ${e=>J.titleWidth.valuePx(e.windowSize)};
57
+ padding-top: ${e=>J.subTitlePaddingTop.valuePx(e.windowSize)};
58
+ padding-bottom: ${e=>J.subTitlePaddingBottom.valuePx(e.windowSize)};
59
59
  text-align: ${e=>e.windowSize==="small"?"initial":"center"};
60
60
  width: 100%;
61
- `,v=e=>({[J]:{account:{allOptions:[],selectedOption:void 0}},[n]:be(n,e?.subscriptionBillingAddress)[n]}),pt=e=>{const{onboardingCustomerView:C,cardPaymentView:y,signedInUser:O,currentTenant:V,isOnAddressPage:P,stripeKey:j,googleAPIKey:T,meetingUrl:L,onUpdateStep:U,onZeniLogoClick:w,handleLogOutClick:z,handleCockpitClick:E,handleCreateCardSetupIntent:B,handleConfirmCardSetupIntent:b,handleFetchPaymentSources:_,updateCardPaymentModalState:F,resetCardPaymentViewState:u,handleResetCardPaymentErrorStatuses:D,redirectToProductSuitePage:h,...K}=e,{allSteps:M,currentStep:R,fetchStatus:S}=C,N=se(),{analytics:G}=N,W={allSteps:M,isOnAddressPage:P,currentStep:R,fetchStatus:S,signedInUser:O,currentTenant:V,onUpdateStep:Z=>{U(Z)},onZeniLogoClick:w,handleLogOutClick:z,handleCockpitClick:E,redirectToProductSuitePage:h},x=S.fetchState==="In-Progress"||S.fetchState==="Not-Started";return o.jsxs(Qe,{isOnAddressPage:P,children:[x?o.jsx(Be,{isNoStepsPage:!0}):o.jsx(De,{...W,onboardingCustomerView:C,handleCreateCardSetupIntent:B,handleConfirmCardSetupIntent:b,updateCardPaymentModalState:F,handleFetchPaymentSources:_,cardPaymentView:y,resetCardPaymentViewState:u,stripeKey:j,googleAPIKey:T,handleResetCardPaymentErrorStatuses:D,redirectToProductSuitePage:h,...K}),x?null:o.jsx(Ue,{isFooterRendered:!0,meetingUrl:L,analytics:G,productType:"onboarding"})]})},Qe=c.div`
61
+ `,v=e=>({[X]:{account:{allOptions:[],selectedOption:void 0}},[n]:be(n,e?.subscriptionBillingAddress)[n]}),pt=e=>{const{onboardingCustomerView:C,cardPaymentView:y,signedInUser:O,currentTenant:j,isOnAddressPage:P,stripeKey:V,googleAPIKey:T,meetingUrl:L,onUpdateStep:E,onZeniLogoClick:w,handleLogOutClick:z,handleCockpitClick:U,handleCreateCardSetupIntent:B,handleConfirmCardSetupIntent:b,handleFetchPaymentSources:_,updateCardPaymentModalState:F,resetCardPaymentViewState:u,handleResetCardPaymentErrorStatuses:K,redirectToProductSuitePage:h,...D}=e,{allSteps:R,currentStep:M,fetchStatus:S}=C,G=se(),{analytics:N}=G,W={allSteps:R,isOnAddressPage:P,currentStep:M,fetchStatus:S,signedInUser:O,currentTenant:j,onUpdateStep:Z=>{E(Z)},onZeniLogoClick:w,handleLogOutClick:z,handleCockpitClick:U,redirectToProductSuitePage:h},x=S.fetchState==="In-Progress"||S.fetchState==="Not-Started";return o.jsxs(Qe,{isOnAddressPage:P,children:[x?o.jsx(Be,{isNoStepsPage:!0}):o.jsx(Ke,{...W,onboardingCustomerView:C,handleCreateCardSetupIntent:B,handleConfirmCardSetupIntent:b,updateCardPaymentModalState:F,handleFetchPaymentSources:_,cardPaymentView:y,resetCardPaymentViewState:u,stripeKey:V,googleAPIKey:T,handleResetCardPaymentErrorStatuses:K,redirectToProductSuitePage:h,...D}),x?null:o.jsx(Ee,{isFooterRendered:!0,meetingUrl:L,analytics:N,productType:"onboarding"})]})},Qe=c.div`
62
62
  display: flex;
63
63
  flex-direction: column;
64
64
  width: ${e=>e.isOnAddressPage?"fit-content":"100%"};
@@ -1,8 +1,8 @@
1
- import{j as r,X as Ke,u as Zt,a as en,c3 as me,M as We,a2 as He,D as mt,H as Qe,l as M,aV as tn,o as re,F as nn,q as K,a4 as an,h0 as on,fC as sn,fa as ft,cw as xt,cx as yt,C as fe,fF as ye,cg as rn,e as cn,h1 as gt,E as ht,ce as ln,fE as dn}from"./index-C7yzTmij.js";import{b as p,n as P,k as It}from"./vendor-CnQcJ2Lu.js";import{D as pn}from"./HelpButton-DY1MpMsB-KbKqlw38.js";import{t as St,e as un}from"./PaymentAccountSetupBillingAddressSection-BxQrIZmE-B_q4GQV2.js";import{b as Ct,f as mn,a as bt}from"./CustomerOnboardingDetailPageSkeleton-m2chMg_F-DP-_bCgy.js";import{G as fn,o as yn}from"./CompanyOfficerDetailsSection-ChVkSOtw-B7Y0Et92.js";import{o as gn}from"./QBOSetupSection-CAtx-T_9-o42Omplj.js";import"./mui-C5LQ0bMa.js";import"./analytics-CBL_L82S.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";import"./MeetingCalenderPopup-gItmg01b-Cu9NWj0e.js";import"./SetUpAccountSection-DwkklztZ-CvvkeLO0.js";import"./SetUpDefaultSection-Chh_3U0h-DP32jEG1.js";import"./ChaseOverlay-DONL-nDR-De0YjgVf.js";import"./LabeledAddressValueField-fBxHfsjV-B45FeAVL.js";import"./LabeledCreatableSingleSelectField-BjjLKIq--CKme-Zbq.js";import"./LabeledDocumentField-54KXTRM_-BBD50qxr.js";import"./DocumentSecurityBanner-BmCXnsqt-DLm91H5a.js";import"./QBOConnectionDialog-BKEVg_Tw-DfDc7Zj1.js";const hn=({companyView:t,companyOfficerLocalData:w,allNationalityCountries:c,isVerificationPopupOpen:f,setIsVerificationPopupOpen:v,verifiedPhoneNumber:x,onPhoneVerified:y,...I})=>{const m=Ke(),V=t?.companyOfficers.slice(0,10).sort((b,ee)=>b.user.createTime?.isAfter(ee.user.createTime)===!0?1:-1)?.map(b=>b.user),{company_officer:l}=We.getLocalizedStrings().customerOnboardingPage.sections,{title:D}=l,N=t?.company.company.featuresActivationInfo.connectedAccountProvider;return r.jsx(Sn,{children:r.jsx(yn,{companyOfficerData:w,allOfficers:V??[],allNationalityCountries:c,sectionHeader:D,isPopupOpen:f,productType:"onboarding",connectedAccountProvider:N,showInfoTooltip:m!=="small",showCompletedIcon:m==="small",showOfficerSelect:!1,showVerificationTag:!1,verifiedPhoneNumber:x,onPhoneVerified:y,optionalFields:["dob","officerAddress","role","ssn","ownership","selectDocument","phone"],openPopup:v,...I})})},Sn=P.div`
1
+ import{j as r,X as Me,u as Jt,a as en,c6 as me,B as Ge,a2 as He,I as mt,J as Qe,l as K,aV as tn,o as re,F as nn,s as M,a4 as an,h3 as on,fE as sn,fc as ft,cz as xt,cA as yt,C as fe,fH as ye,cj as rn,n as cn,h4 as gt,P as ht,ch as ln,fG as dn}from"./index-CIAgrDi2.js";import{b as p,n as P,k as It}from"./vendor-CnQcJ2Lu.js";import{I as pn}from"./HelpButton-C1djo0zO-BW6NBTNW.js";import{t as St,e as un}from"./PaymentAccountSetupBillingAddressSection-C6WFeB3A-C9tSnFrF.js";import{b as Ct,f as mn,a as bt}from"./CustomerOnboardingDetailPageSkeleton-A_l9Qen8-BtaF5eWl.js";import{G as fn,o as yn}from"./CompanyOfficerDetailsSection-BlLsNJaD-grOU-fb_.js";import{o as gn}from"./QBOSetupSection-BeRZZ-Q_-a6rhf4W-.js";import"./mui-C5LQ0bMa.js";import"./analytics-CBL_L82S.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";import"./MeetingCalenderPopup-COpKcBhx-C1b7HyPI.js";import"./SetUpAccountSection-Trj1x2HL-CiAxSNYR.js";import"./SetUpDefaultSection-BQzNGjO7-an74W3Da.js";import"./ChaseOverlay-LcVAgdoT-D1Jb2EIj.js";import"./LabeledAddressValueField-Cw-p18du-D9T5QqTG.js";import"./LabeledCreatableSingleSelectField-nys9pbO0-0SJcSq-w.js";import"./LabeledDocumentField-Y6TKpyZ8-CW27Za_m.js";import"./DocumentSecurityBanner-Bo9Hgo-I-DBmSgZgH.js";import"./QBOConnectionDialog-DLVcifji-BzsFl8lU.js";const hn=({companyView:t,companyOfficerLocalData:w,allNationalityCountries:c,isVerificationPopupOpen:f,setIsVerificationPopupOpen:v,verifiedPhoneNumber:x,onPhoneVerified:y,...I})=>{const m=Me(),V=t?.companyOfficers.slice(0,10).sort((b,ee)=>b.user.createTime?.isAfter(ee.user.createTime)===!0?1:-1)?.map(b=>b.user),{company_officer:l}=Ge.getLocalizedStrings().customerOnboardingPage.sections,{title:$}=l,N=t?.company.company.featuresActivationInfo.connectedAccountProvider;return r.jsx(Sn,{children:r.jsx(yn,{companyOfficerData:w,allOfficers:V??[],allNationalityCountries:c,sectionHeader:$,isPopupOpen:f,productType:"onboarding",connectedAccountProvider:N,showInfoTooltip:m!=="small",showCompletedIcon:m==="small",showOfficerSelect:!1,showVerificationTag:!1,verifiedPhoneNumber:x,onPhoneVerified:y,optionalFields:["dob","officerAddress","role","ssn","ownership","selectDocument","phone"],openPopup:v,...I})})},Sn=P.div`
2
2
  display: flex;
3
3
  align-items: center;
4
4
  justify-content: center;
5
- `,Cn=({fileProps:t,companyDetails:w,companyIndustries:c,sectionId:f,isCompleted:v,isDisabled:x,style:y,onCompanyAddressClick:I,onRegisteredAddressClick:m})=>{const V=Ke(),{company_details:l}=We.getLocalizedStrings().customerOnboardingPage.sections,{title:D}=l;return r.jsx(bn,{children:r.jsx(fn,{fileProps:t,companyDetails:w,sectionId:f,isDisabled:x,style:y,sectionHeader:D,productType:"onboarding",showInfoTooltip:V!=="small",showCompletedIcon:V==="small",isCompleted:v,allIndustries:c,optionalFields:["companyLegalName","companyDescription","companyAddress","companyIndustry","typeOfIncorporation","incDate","certificateOfIncorporation","ein","companyPhone","primaryContactName"],onCompanyAddressClick:I,onRegisteredAddressClick:m})})},bn=P.div`
5
+ `,Cn=({fileProps:t,companyDetails:w,companyIndustries:c,sectionId:f,isCompleted:v,isDisabled:x,style:y,onCompanyAddressClick:I,onRegisteredAddressClick:m})=>{const V=Me(),{company_details:l}=Ge.getLocalizedStrings().customerOnboardingPage.sections,{title:$}=l;return r.jsx(bn,{children:r.jsx(fn,{fileProps:t,companyDetails:w,sectionId:f,isDisabled:x,style:y,sectionHeader:$,productType:"onboarding",showInfoTooltip:V!=="small",showCompletedIcon:V==="small",isCompleted:v,allIndustries:c,optionalFields:["companyLegalName","companyDescription","companyAddress","companyIndustry","typeOfIncorporation","incDate","certificateOfIncorporation","ein","companyPhone","primaryContactName"],onCompanyAddressClick:I,onRegisteredAddressClick:m})})},bn=P.div`
6
6
  display: flex;
7
7
  align-items: center;
8
8
  justify-content: center;
@@ -10,7 +10,7 @@ import{j as r,X as Ke,u as Zt,a as en,c3 as me,M as We,a2 as He,D as mt,H as Qe,
10
10
  display: flex;
11
11
  `,xn=P.input`
12
12
  display: none;
13
- `,In=({isValid:t,sectionId:w="onboardingQboConnection",...c})=>{const{register:f}=rn();return r.jsxs(Pn,{children:[r.jsx(xn,{type:"hidden",...f(`${w}.connected`,{validate:v=>v==="true"}),value:t?"true":"false"}),r.jsx(gn,{isValid:t,...c})]})},j="companyDetails",C="companyOfficer",Z="onboardingPaymentAccountSetupSection",Pt="customerOnboardingDetailPage",u="onboardingSubscriptionBillingAddress",ge="onboardingQboConnection",he={titleWidth:new fe(343,580,726,826),topNavBarHeight:new fe(52,52,63),topNavBarLeftRightSpace:new fe(K[5],K[9],112),subTitlePaddingTop:new fe(K[3],K[3]),subTitlePaddingBottom:new fe(K[3],K[3])},On=t=>`${t}_form`,ce=We.getLocalizedStrings(),kn=({fileProps:t,isRefreshingViewInBackground:w,isAdmin:c,onboardingCustomerView:f,companyTitles:v,connectedAccountProvider:x,analytics:y,cardPaymentView:I,stripeKey:m,googleAPIKey:V,handleCreateCardSetupIntent:l,handleConfirmCardSetupIntent:D,updateCardPaymentModalState:N,handleAddCardPaymentSource:b,resetCardPaymentViewState:ee,handleResetCardPaymentErrorStatuses:we,redirectToProductSuitePage:Se,onFormErrorsChange:F,...ve})=>{const L=Ke(),Ae=p.useRef(null),Ve=p.useRef(null),W=p.useRef(null),De=p.useRef(null),[Ce,B]=p.useState(!1),[R,z]=p.useState("next"),[T,be]=p.useState(!1),[le,Pe]=p.useState(!1),[te,G]=p.useState(null),{onAddressClick:ne,onCompanyDetailsChanged:xe,onCompanyOfficerUpdated:$,onFetchLinkTokenClick:Ie,onUpdatePaymentAccountStatus:de,onUpdatePaymentAccountLoginStatus:ae,onEstablishConnectionClick:pe,onEstablishConnectionSuccess:oe,onDeleteFile:A,onEditFileName:Ge,updateFilesEntity:Ye,onGetOtp:Ot,onSkipSetupClick:$e,onUpdateCustomerView:Fe,updateStepHandler:U,onVerifyOtp:kt,onResendOtp:wt,handleOnConnectClick:vt,updateQBOPopupState:At,onUpdateStep:Ne,onAddressEditHandler:Vt}=ve,Dt=Zt(),i=en({mode:"onSubmit",reValidateMode:"onChange",defaultValues:Me(f,f.allNationalityCountries),values:Me(f,f.allNationalityCountries),shouldFocusError:!0,resetOptions:{keepDirtyValues:!0}}),q=p.useCallback(()=>{const e=[];return(i.getFieldState(Z).error!=null||i.getFieldState(u).error!=null)&&e.push("link_payment_account"),i.getFieldState(ge).error!=null&&e.push("qbo_connection"),e},[i]);p.useEffect(()=>{const e=q();F?.(e)},[q,F]),p.useEffect(()=>{const e=i.watch((n,{name:o,type:s})=>{o!=null&&(s==="change"||s==="blur")&&me(()=>{const d=q();F?.(d)})});return()=>e.unsubscribe()},[i,q,F]);const Xe=e=>{Je(e)},Oe=p.useRef(""),$t=e=>{Oe.current=e;const n=Object.values(f.companyOfficerLocalData).findIndex(s=>s?.isSelectedForVerification===!0)??0,o=n<0?0:n;i.clearErrors(`${C}.${o}.phone`)},Je=e=>{e!=null&&!ye(e)?i.trigger(`${C}.${X}.phone`):Ot(e)},{companyView:ie,companyDetailsLocalData:g,companyOfficerLocalData:H,currentStep:a,completedSteps:Ze,saveStatus:O,allSteps:h,allRequiredStepsCompleted:Te,paymentAccount:Q,paymentAccountStatus:et,externalConnections:_e,plaidConnectionDetails:Ee,uiState:je,allNationalityCountries:Le,pendingSaveDetails:{companyDetails:Ft,officer:Nt},subscriptionBillingAddress:Y}=f,X=Object.values(H).findIndex(e=>e?.isSelectedForVerification===!0)??0,_=`Officer_${X<0?1:X+1}`,Tt=ie?.companyOfficers.slice(0,10).sort((e,n)=>e.user.createTime?.isAfter(n.user.createTime)===!0?1:-1),Be=H[_]?.userId!=null?Tt?.find(e=>e.user.userId===H[_]?.userId)?.address:null,tt=H[_]?.addressStatus?.addressToCreate,ke=ie?.companyAddress,nt=g?.addressStatus?.addressToCreate,Re=ie?.registeredAddress,at=g?.registeredAddressStatus?.addressToCreate,{customerOnboardingPage:_t,common:S}=ce,{footer:Et,steps:jt}=_t,{buttons:ot}=Et,it=jt[a],ze=h.length,se=He(O.fetchState),E=He(a);function Lt(){return _e?.accounting[0]?.isValid??!1}const ue=()=>{const e=Object.values(Ee).some(d=>d.fetchStatus.fetchState==="Completed"),n=Q?.providerVerificationStatus?.code?.includes("verified")??!1,o=I.cardsList.length>0,s=I.bankAccountsList[0]?.providerVerificationStatus?.code?.includes("verified")??!1;return e&&n||!n&&!Q&&o||!o&&!Q&&s};function st(){if(i.getFieldState(u).error)return!1;const e=i.getValues(u),n=Y?.street.join("").trim(),o=Y?.city,s=Y?.state,d=Y?.country,k=Y?.postalCode!=null&&Y.postalCode||e.postalCode||S.strings.empty;return!!n&&!!o&&!!s&&!!d&&!!k}const rt=He(Q?.providerVerificationStatus?.code);p.useEffect(()=>{rt==="pending_manual_verification"&&Q?.providerVerificationStatus?.code==="manually_verified"&&y.trackOnboardingBankAccountVerified("manual")},[y,Q?.providerVerificationStatus?.code,rt]);const Bt=async(e,n)=>{if(e.includes(j))xe?.(n[j]);else if(e.includes(C))$?.(n[C]);else if(e.includes(u)&&n[u]!=null){const o=i.getValues(`${u}`).country;let s=n[u];if(e.includes(`${u}.street`)&&n[u].street!=null){const{addressValue:d}=n[u].street,k=xt(d?.country);s={street:n[u].street??S.strings.empty,city:d?.locality??S.strings.empty,state:d?.administrativeAreaLevel1??S.strings.empty,country:k,countryCode:d?.countryCode??S.strings.empty,postalCode:d?.postalCode??S.strings.empty,secondaryInfo:n[u].secondaryInfo,suite:n[u].suite},o.selectedOption!==k.selectedOption&&(s={...s,country:k})}else e===`${u}.country`&&o.selectedOption!=null?s={...s,countryCode:yt(o.selectedOption)}:o.selectedOption!=null&&e.includes(`${u}.street`)===!1&&(s={...s,countryCode:yt(o.selectedOption)});Vt(s)}};p.useEffect(()=>{const e=i.watch((n,{name:o})=>{o!=null&&n!=null&&me(()=>Bt(o,n))});return()=>{e.unsubscribe()}}),p.useEffect(()=>{se==="In-Progress"&&O.fetchState==="Completed"&&(i.reset(Me(f,Le),{keepDirtyValues:!1}),E==="company_details"&&a==="link_payment_account"&&!h.includes("qbo_connection")&&!f.qboConnected&&Se())},[i,f,se,O.fetchState,Le,E,a,h,Se]),p.useEffect(()=>{Ce&&se==="In-Progress"&&O.fetchState==="Completed"&&($e(),y.track(mt.Event.onboardingSkipAndSave))},[se,Ce,O.fetchState,$e]),p.useEffect(()=>{te?.shouldNavigate===!0&&se==="In-Progress"&&O.fetchState==="Completed"&&(U(te.fromStep,te.stepDirection,!0),G(null))},[te,se,O.fetchState,U]),p.useLayoutEffect(()=>{E!=null&&E!==a&&(h.indexOf(E)===h.indexOf(a)-1||h.indexOf(E)===ze-1&&h.indexOf(a)===0?R!=="next"&&z("next"):(h.indexOf(E)-1===h.indexOf(a)||h.indexOf(E)===0&&h.indexOf(a)===ze-1)&&R!=="previous"&&z("previous"))},[h,a,E,R,ze]);const ct=()=>{const e=H[_];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},Rt=!Qe(tt!=null?M.getFormattedAddress(tt):null,Be!=null?M.getFormattedAddress(Be):null),zt=!Qe(nt!=null?M.getFormattedAddress(nt):null,ke!=null?M.getFormattedAddress(ke):null),Ut=!Qe(at!=null?M.getFormattedAddress(at):null,Re!=null?M.getFormattedAddress(Re):null),qt=i.getFieldState(j).isDirty||zt||Ut||Ft,Ue=i.getFieldState(C).isDirty&&ct()||Rt||Nt,lt=i.getFieldState(`${u}`).isDirty,Ht=g?.primaryContactLocalData,Qt=()=>{U(a,"previous",!0)},Mt=()=>{const e=i.getValues(u),n={street:e.street.addressString,suite:e.suite,city:e.city,state:e.state,postalCode:e.postalCode,country:e.country.selectedOption??S.strings.empty,secondaryInfo:e.secondaryInfo};y.trackOnboardingBillingAddressSave(n)},Kt=()=>{switch(Pe(!1),a){case"link_payment_account":lt?setTimeout(()=>{const e=q();F?.(e),st()&&lt?(Mt(),Fe(_,!1,!0),G({fromStep:a,shouldNavigate:!0,stepDirection:"next"})):U(a,"next",!0)},200):U(a,"next",!0);break;case"qbo_connection":U(a,"next",!0);break;case"company_officer":if(Ue){const e=dt();if(me(()=>{const n=q();F?.(n)}),e.needsOtp&&e.phoneNumber&&ye(e.phoneNumber)){const n=i.formState.errors[C]?.[X<0?0:X],o=n?.phone,s=n!=null&&Object.keys(n).some(d=>d!=="phone"&&n[d]!=null);if(o!=null&&!s){Xe(e.phoneNumber);return}}e.isValid&&(Fe(_,!1,!1),y.trackOnboardingCompanyOfficerSave(pt(),{legalName:g?.companyLegalName}),G({fromStep:a,shouldNavigate:!0,stepDirection:"next"}))}else U(a,"next",!0);break;case"company_details":Pe(!0);{const e=!(st()&&ue()),n=!Lt()&&h.includes("qbo_connection");if(e||n){e&&(i.trigger(`${Z}`),i.trigger(`${u}`)),n&&i.trigger(ge),me(()=>{const o=q();F?.(o)}),e?Ne("link_payment_account"):n&&Ne("qbo_connection");return}}if(qt||Ue||!Ht?.email){const e=Gt(),n=Ue?dt():{isValid:!0};me(()=>{const o=q();F?.(o)}),e&&n.isValid?(Te&&(B(!0),Yt()),Fe(_,!Te,!1),G({fromStep:a,shouldNavigate:!0,stepDirection:"next"})):n.isValid||Ne("company_officer")}else Te?Wt():U(a,"next",!0);break}},Wt=()=>{O.fetchState!=="In-Progress"&&($e(),y.track(mt.Event.onboardingSkipAndSave))},dt=()=>{const e=H[_],n=e?.email??S.strings.empty,o=e?.phone??S.strings.empty,s=e?.ssn??S.strings.empty,d=e?.ownershipInCompany,k=X<0?0:X,Jt=!!e?.firstName&&!!e?.lastName;let J=!0,ut=!1;return n&&!Jt&&(i.trigger([`${C}.${k}.name.firstName`,`${C}.${k}.name.lastName`],{shouldFocus:a==="company_officer"}),J=!1),(!n&&ct()||ht.test(n)===!1)&&(i.trigger(`${C}.${k}.email`,{shouldFocus:a==="company_officer"}),J=!1),o&&ye(o)===!1&&(i.trigger(`${C}.${k}.phone`,{shouldFocus:a==="company_officer"}),J=!1),o&&ye(o)===!0&&x==="unit"&&(Oe.current!==""&&o===Oe.current||(ut=!0,i.setError(`${C}.${k}.phone`,{type:"custom",message:ce.commonSetUp.businessVerification.phoneValidationError},{shouldFocus:a==="company_officer"}),J=!1)),d!=null&&d>100&&(i.trigger(`${C}.${k}.ownership`,{shouldFocus:a==="company_officer"}),J=!1),s&&dn.test(s)===!1&&(i.trigger(`${C}.${k}.ssn`,{shouldFocus:a==="company_officer"}),J=!1),{isValid:J,needsOtp:ut,phoneNumber:o}},Gt=()=>{const e=g?.website?.toString()??S.strings.empty,n=g?.phone??S.strings.empty,o=g?.taxIdOrEIN??S.strings.empty,s=g?.primaryContactLocalData?.email??S.strings.empty;let d=!0;return e&&gt.test(e)===!1&&(i.trigger(`${j}.companyWebsite`,{shouldFocus:a==="company_details"}),d=!1),gt.lastIndex=0,n&&ye(n)===!1&&(i.trigger(`${j}.companyPhone`,{shouldFocus:a==="company_details"}),d=!1),(!s||ht.test(s)===!1)&&(i.trigger(`${j}.primaryContactEmail`,{shouldFocus:a==="company_details"}),d=!1),o&&ln.test(o)===!1&&(i.trigger(`${j}.companyTaxId`,{shouldFocus:a==="company_details"}),d=!1),d},pt=()=>{const e=H[_];return{email:e?.email??S.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?M.getFormattedAddress(e?.addressStatus?.addressToCreate):void 0,documentTypeForVerification:e?.documentTypeSelectedForVerification}},Yt=()=>{const e=g?.primaryContactLocalData;y.trackBusinessVerificationSave(pt(),{companyDescription:g?.companyDescription,legalName:g?.companyLegalName,phone:g?.phone,website:g?.website?.toString(),industry:g?.companyIndustry??S.strings.empty,formattedAddress:g?.addressStatus?.addressToCreate!=null?M.getFormattedAddress(g?.addressStatus?.addressToCreate):void 0},{firstName:e?.firstName,lastName:e?.lastName,email:e?.email},"onboarding")},[qe,Xt]=p.useState(!1);return r.jsxs(An,{children:[r.jsxs(Vn,{windowSize:L,children:[h.indexOf(a)>=0?r.jsx(tn,{title:it.sectionTitle,showBackButton:!1,backgroundColor:Dt.colors.grey4,style:{zIndex:4},showLeftSection:L!=="small",titleStyle:{display:"flex",alignItems:"center"},navBarContainerStyles:{paddingTop:re.sp0,paddingBottom:re.sp0},source:"CustomerOnboardingDetailPage"}):r.jsx(Dn,{windowSize:L,children:r.jsx(Fn,{windowSize:L,children:r.jsx($n,{})})}),r.jsx(nn,{...i,children:r.jsx(Tn,{id:On(Pt),children:h.map(e=>{let n;n=r.jsx(St,{connectedAccountProvider:x,paymentAccount:Q,accountStatus:et,plaidConnectionDetails:Ee,sectionId:Z,hasError:i.getFieldState(Z).error!=null||le&&!ue(),isValid:ue(),analytics:y,onFetchLinkTokenClick:Ie,onEstablishConnectionClick:pe,onUpdatePaymentAccountStatus:de,onUpdatePaymentAccountLoginStatus:ae,onEstablishConnectionSuccess:oe,cardPaymentView:I,resetCardPaymentViewState:ee,updateCardPaymentModalState:N,cardSetupInProgress:qe,subscriptionBillingAddressSectionId:u});let o=Ae;switch(e){case"link_payment_account":n=r.jsx(St,{connectedAccountProvider:x,paymentAccount:Q,accountStatus:et,plaidConnectionDetails:Ee,subscriptionBillingAddressSectionId:u,sectionId:Z,hasError:i.getFieldState(Z).error!=null||le&&!ue(),isValid:ue(),analytics:y,onFetchLinkTokenClick:Ie,onEstablishConnectionClick:pe,onUpdatePaymentAccountStatus:de,onUpdatePaymentAccountLoginStatus:ae,onEstablishConnectionSuccess:oe,updateCardPaymentModalState:N,cardPaymentView:I,resetCardPaymentViewState:ee,cardSetupInProgress:qe,googleAPIKey:V,subscriptionBillingAddress:Y});break;case"qbo_connection":n=r.jsx(In,{sectionId:ge,hasError:i.getFieldState(ge).error!=null,isAdmin:c,isValid:_e?.accounting[0]?.isValid??!1,companyName:ie?.company.company.companyInfo.companyLegalName,saveConnectionState:_e?.saveConnectionState,isQBOPopupOpen:je.isQBOPopupOpen,handleOnConnectClick:vt,updateQBOPopupState:At}),o=Ve;break;case"company_officer":n=r.jsx(hn,{companyOfficerLocalData:H,allNationalityCountries:Le,isCompleted:Ze.includes("company_officer"),companyView:ie,sectionId:C,filesEndPoint:t.filesEndPoint,authParams:t.authParams,isRefreshingViewInBackground:w,companyTitles:v,isVerificationPopupOpen:T,setIsVerificationPopupOpen:be,onGetOtp:Xe,onVerifyOtp:kt,onResendOtp:wt,onOfficerAddressClick:s=>ne(s,Be?.addressId),updateFilesEntity:Ye,onEditFileName:Ge,onDeleteFile:A,verifiedPhoneNumber:Oe.current,onPhoneVerified:$t,isDisabled:O.fetchState==="In-Progress"?"readonly":void 0,triggerError:Je}),o=De;break;case"company_details":n=r.jsx(Cn,{fileProps:{...t,onEditFileName:Ge,onDeleteFile:A,updateFilesEntity:Ye},sectionId:j,companyIndustries:f.companyIndustries,companyDetails:g,isDisabled:O.fetchState==="In-Progress"?"readonly":void 0,isCompleted:Ze.includes("company_details"),onCompanyAddressClick:s=>{const d=ie?.company.company.companyOnboardingInfo.subscriptionBillingAddressId;ke?.addressId==null&&d!=null?ne(s,d):ne(s,ke?.addressId)},onRegisteredAddressClick:s=>ne(s,Re?.addressId)}),o=W;break}return r.jsxs(Nn,{ref:o,isVisible:a===e,includeAnimation:a==="link_payment_account"||a==="qbo_connection"?!je.isQBOPopupOpen:a==="company_officer"?!T:!0,paddingBottom:e==="company_details"||e==="company_officer"?K[6]:K[0],stepAnimationDirection:R,children:[h.indexOf(a)>=0?r.jsx(_n,{windowSize:L,children:it.sectionSubTitle}):null,n]},e)})})}),r.jsx(an,{formId:`${Pt}`,style:{width:L==="small"?"auto":"100%",paddingTop:re.sp2,paddingBottom:re.sp2},primaryBtn:{onClick:Kt,label:a==="company_details"?S.footer.submit:ot.next,isLoading:O.fetchState==="In-Progress",isDisabled:O.fetchState==="In-Progress"},cancelBtn:{onClick:Qt,label:ot.back,isDisabled:O.fetchState==="In-Progress"||h.indexOf(a)===0},containerStyle:{width:"auto",justifyContent:"center"},showCancel:!0})]}),r.jsx(un,{handleConfirmCardSetupIntent:D,updateCardPaymentModalState:N,handleCreateCardSetupIntent:l,handleAddCardPaymentSource:b,cardPaymentView:I,stripeKey:m,isCardPaymentOpen:je.isCardPaymentPopupOpen,handleResetCardPaymentErrorStatuses:we,cardSetupInProgress:qe,setCardSetupInProgress:Xt})]})},wn=It`
13
+ `,In=({isValid:t,sectionId:w="onboardingQboConnection",...c})=>{const{register:f}=rn();return r.jsxs(Pn,{children:[r.jsx(xn,{type:"hidden",...f(`${w}.connected`,{validate:v=>v==="true"}),value:t?"true":"false"}),r.jsx(gn,{isValid:t,...c})]})},j="companyDetails",C="companyOfficer",J="onboardingPaymentAccountSetupSection",Pt="customerOnboardingDetailPage",u="onboardingSubscriptionBillingAddress",ge="onboardingQboConnection",he={titleWidth:new fe(343,580,726,826),topNavBarHeight:new fe(52,52,63),topNavBarLeftRightSpace:new fe(M[5],M[9],112),subTitlePaddingTop:new fe(M[3],M[3]),subTitlePaddingBottom:new fe(M[3],M[3])},On=t=>`${t}_form`,ce=Ge.getLocalizedStrings(),kn=({fileProps:t,isRefreshingViewInBackground:w,isAdmin:c,onboardingCustomerView:f,companyTitles:v,connectedAccountProvider:x,analytics:y,cardPaymentView:I,stripeKey:m,googleAPIKey:V,handleCreateCardSetupIntent:l,handleConfirmCardSetupIntent:$,updateCardPaymentModalState:N,handleAddCardPaymentSource:b,resetCardPaymentViewState:ee,handleResetCardPaymentErrorStatuses:we,redirectToProductSuitePage:Se,onFormErrorsChange:F,...ve})=>{const L=Me(),Ae=p.useRef(null),Ve=p.useRef(null),G=p.useRef(null),$e=p.useRef(null),[Ce,B]=p.useState(!1),[R,z]=p.useState("next"),[T,be]=p.useState(!1),[le,Pe]=p.useState(!1),[te,W]=p.useState(null),{onAddressClick:ne,onCompanyDetailsChanged:xe,onCompanyOfficerUpdated:D,onFetchLinkTokenClick:Ie,onUpdatePaymentAccountStatus:de,onUpdatePaymentAccountLoginStatus:ae,onEstablishConnectionClick:pe,onEstablishConnectionSuccess:oe,onDeleteFile:A,onEditFileName:We,updateFilesEntity:Ye,onGetOtp:Ot,onSkipSetupClick:De,onUpdateCustomerView:Fe,updateStepHandler:U,onVerifyOtp:kt,onResendOtp:wt,handleOnConnectClick:vt,updateQBOPopupState:At,onUpdateStep:Ne,onAddressEditHandler:Vt}=ve,$t=Jt(),i=en({mode:"onSubmit",reValidateMode:"onChange",defaultValues:Ke(f,f.allNationalityCountries),values:Ke(f,f.allNationalityCountries),shouldFocusError:!0,resetOptions:{keepDirtyValues:!0}}),q=p.useCallback(()=>{const e=[];return(i.getFieldState(J).error!=null||i.getFieldState(u).error!=null)&&e.push("link_payment_account"),i.getFieldState(ge).error!=null&&e.push("qbo_connection"),e},[i]);p.useEffect(()=>{const e=q();F?.(e)},[q,F]),p.useEffect(()=>{const e=i.watch((n,{name:o,type:s})=>{o!=null&&(s==="change"||s==="blur")&&me(()=>{const d=q();F?.(d)})});return()=>e.unsubscribe()},[i,q,F]);const Ze=e=>{Xe(e)},Oe=p.useRef(""),Dt=e=>{Oe.current=e;const n=Object.values(f.companyOfficerLocalData).findIndex(s=>s?.isSelectedForVerification===!0)??0,o=n<0?0:n;i.clearErrors(`${C}.${o}.phone`)},Xe=e=>{e!=null&&!ye(e)?i.trigger(`${C}.${Z}.phone`):Ot(e)},{companyView:ie,companyDetailsLocalData:g,companyOfficerLocalData:H,currentStep:a,completedSteps:Je,saveStatus:O,allSteps:h,allRequiredStepsCompleted:Te,paymentAccount:Q,paymentAccountStatus:et,externalConnections:_e,plaidConnectionDetails:Ee,uiState:je,allNationalityCountries:Le,pendingSaveDetails:{companyDetails:Ft,officer:Nt},subscriptionBillingAddress:Y}=f,Z=Object.values(H).findIndex(e=>e?.isSelectedForVerification===!0)??0,_=`Officer_${Z<0?1:Z+1}`,Tt=ie?.companyOfficers.slice(0,10).sort((e,n)=>e.user.createTime?.isAfter(n.user.createTime)===!0?1:-1),Be=H[_]?.userId!=null?Tt?.find(e=>e.user.userId===H[_]?.userId)?.address:null,tt=H[_]?.addressStatus?.addressToCreate,ke=ie?.companyAddress,nt=g?.addressStatus?.addressToCreate,Re=ie?.registeredAddress,at=g?.registeredAddressStatus?.addressToCreate,{customerOnboardingPage:_t,common:S}=ce,{footer:Et,steps:jt}=_t,{buttons:ot}=Et,it=jt[a],ze=h.length,se=He(O.fetchState),E=He(a);function Lt(){return _e?.accounting[0]?.isValid??!1}const ue=()=>{const e=Object.values(Ee).some(d=>d.fetchStatus.fetchState==="Completed"),n=Q?.providerVerificationStatus?.code?.includes("verified")??!1,o=I.cardsList.length>0,s=I.bankAccountsList[0]?.providerVerificationStatus?.code?.includes("verified")??!1;return e&&n||!n&&!Q&&o||!o&&!Q&&s};function st(){if(i.getFieldState(u).error)return!1;const e=i.getValues(u),n=Y?.street.join("").trim(),o=Y?.city,s=Y?.state,d=Y?.country,k=Y?.postalCode!=null&&Y.postalCode||e.postalCode||S.strings.empty;return!!n&&!!o&&!!s&&!!d&&!!k}const rt=He(Q?.providerVerificationStatus?.code);p.useEffect(()=>{rt==="pending_manual_verification"&&Q?.providerVerificationStatus?.code==="manually_verified"&&y.trackOnboardingBankAccountVerified("manual")},[y,Q?.providerVerificationStatus?.code,rt]);const Bt=async(e,n)=>{if(e.includes(j))xe?.(n[j]);else if(e.includes(C))D?.(n[C]);else if(e.includes(u)&&n[u]!=null){const o=i.getValues(`${u}`).country;let s=n[u];if(e.includes(`${u}.street`)&&n[u].street!=null){const{addressValue:d}=n[u].street,k=xt(d?.country);s={street:n[u].street??S.strings.empty,city:d?.locality??S.strings.empty,state:d?.administrativeAreaLevel1??S.strings.empty,country:k,countryCode:d?.countryCode??S.strings.empty,postalCode:d?.postalCode??S.strings.empty,secondaryInfo:n[u].secondaryInfo,suite:n[u].suite},o.selectedOption!==k.selectedOption&&(s={...s,country:k})}else e===`${u}.country`&&o.selectedOption!=null?s={...s,countryCode:yt(o.selectedOption)}:o.selectedOption!=null&&e.includes(`${u}.street`)===!1&&(s={...s,countryCode:yt(o.selectedOption)});Vt(s)}};p.useEffect(()=>{const e=i.watch((n,{name:o})=>{o!=null&&n!=null&&me(()=>Bt(o,n))});return()=>{e.unsubscribe()}}),p.useEffect(()=>{se==="In-Progress"&&O.fetchState==="Completed"&&(i.reset(Ke(f,Le),{keepDirtyValues:!1}),E==="company_details"&&a==="link_payment_account"&&!h.includes("qbo_connection")&&!f.qboConnected&&Se())},[i,f,se,O.fetchState,Le,E,a,h,Se]),p.useEffect(()=>{Ce&&se==="In-Progress"&&O.fetchState==="Completed"&&(De(),y.track(mt.Event.onboardingSkipAndSave))},[se,Ce,O.fetchState,De]),p.useEffect(()=>{te?.shouldNavigate===!0&&se==="In-Progress"&&O.fetchState==="Completed"&&(U(te.fromStep,te.stepDirection,!0),W(null))},[te,se,O.fetchState,U]),p.useLayoutEffect(()=>{E!=null&&E!==a&&(h.indexOf(E)===h.indexOf(a)-1||h.indexOf(E)===ze-1&&h.indexOf(a)===0?R!=="next"&&z("next"):(h.indexOf(E)-1===h.indexOf(a)||h.indexOf(E)===0&&h.indexOf(a)===ze-1)&&R!=="previous"&&z("previous"))},[h,a,E,R,ze]);const ct=()=>{const e=H[_];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},Rt=!Qe(tt!=null?K.getFormattedAddress(tt):null,Be!=null?K.getFormattedAddress(Be):null),zt=!Qe(nt!=null?K.getFormattedAddress(nt):null,ke!=null?K.getFormattedAddress(ke):null),Ut=!Qe(at!=null?K.getFormattedAddress(at):null,Re!=null?K.getFormattedAddress(Re):null),qt=i.getFieldState(j).isDirty||zt||Ut||Ft,Ue=i.getFieldState(C).isDirty&&ct()||Rt||Nt,lt=i.getFieldState(`${u}`).isDirty,Ht=g?.primaryContactLocalData,Qt=()=>{U(a,"previous",!0)},Kt=()=>{const e=i.getValues(u),n={street:e.street.addressString,suite:e.suite,city:e.city,state:e.state,postalCode:e.postalCode,country:e.country.selectedOption??S.strings.empty,secondaryInfo:e.secondaryInfo};y.trackOnboardingBillingAddressSave(n)},Mt=()=>{switch(Pe(!1),a){case"link_payment_account":lt?setTimeout(()=>{const e=q();F?.(e),st()&&lt?(Kt(),Fe(_,!1,!0),W({fromStep:a,shouldNavigate:!0,stepDirection:"next"})):U(a,"next",!0)},200):U(a,"next",!0);break;case"qbo_connection":U(a,"next",!0);break;case"company_officer":if(Ue){const e=dt();if(me(()=>{const n=q();F?.(n)}),e.needsOtp&&e.phoneNumber&&ye(e.phoneNumber)){const n=i.formState.errors[C]?.[Z<0?0:Z],o=n?.phone,s=n!=null&&Object.keys(n).some(d=>d!=="phone"&&n[d]!=null);if(o!=null&&!s){Ze(e.phoneNumber);return}}e.isValid&&(Fe(_,!1,!1),y.trackOnboardingCompanyOfficerSave(pt(),{legalName:g?.companyLegalName}),W({fromStep:a,shouldNavigate:!0,stepDirection:"next"}))}else U(a,"next",!0);break;case"company_details":Pe(!0);{const e=!(st()&&ue()),n=!Lt()&&h.includes("qbo_connection");if(e||n){e&&(i.trigger(`${J}`),i.trigger(`${u}`)),n&&i.trigger(ge),me(()=>{const o=q();F?.(o)}),e?Ne("link_payment_account"):n&&Ne("qbo_connection");return}}if(qt||Ue||!Ht?.email){const e=Wt(),n=Ue?dt():{isValid:!0};me(()=>{const o=q();F?.(o)}),e&&n.isValid?(Te&&(B(!0),Yt()),Fe(_,!Te,!1),W({fromStep:a,shouldNavigate:!0,stepDirection:"next"})):n.isValid||Ne("company_officer")}else Te?Gt():U(a,"next",!0);break}},Gt=()=>{O.fetchState!=="In-Progress"&&(De(),y.track(mt.Event.onboardingSkipAndSave))},dt=()=>{const e=H[_],n=e?.email??S.strings.empty,o=e?.phone??S.strings.empty,s=e?.ssn??S.strings.empty,d=e?.ownershipInCompany,k=Z<0?0:Z,Xt=!!e?.firstName&&!!e?.lastName;let X=!0,ut=!1;return n&&!Xt&&(i.trigger([`${C}.${k}.name.firstName`,`${C}.${k}.name.lastName`],{shouldFocus:a==="company_officer"}),X=!1),(!n&&ct()||ht.test(n)===!1)&&(i.trigger(`${C}.${k}.email`,{shouldFocus:a==="company_officer"}),X=!1),o&&ye(o)===!1&&(i.trigger(`${C}.${k}.phone`,{shouldFocus:a==="company_officer"}),X=!1),o&&ye(o)===!0&&x==="unit"&&(Oe.current!==""&&o===Oe.current||(ut=!0,i.setError(`${C}.${k}.phone`,{type:"custom",message:ce.commonSetUp.businessVerification.phoneValidationError},{shouldFocus:a==="company_officer"}),X=!1)),d!=null&&d>100&&(i.trigger(`${C}.${k}.ownership`,{shouldFocus:a==="company_officer"}),X=!1),s&&dn.test(s)===!1&&(i.trigger(`${C}.${k}.ssn`,{shouldFocus:a==="company_officer"}),X=!1),{isValid:X,needsOtp:ut,phoneNumber:o}},Wt=()=>{const e=g?.website?.toString()??S.strings.empty,n=g?.phone??S.strings.empty,o=g?.taxIdOrEIN??S.strings.empty,s=g?.primaryContactLocalData?.email??S.strings.empty;let d=!0;return e&&gt.test(e)===!1&&(i.trigger(`${j}.companyWebsite`,{shouldFocus:a==="company_details"}),d=!1),gt.lastIndex=0,n&&ye(n)===!1&&(i.trigger(`${j}.companyPhone`,{shouldFocus:a==="company_details"}),d=!1),(!s||ht.test(s)===!1)&&(i.trigger(`${j}.primaryContactEmail`,{shouldFocus:a==="company_details"}),d=!1),o&&ln.test(o)===!1&&(i.trigger(`${j}.companyTaxId`,{shouldFocus:a==="company_details"}),d=!1),d},pt=()=>{const e=H[_];return{email:e?.email??S.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?K.getFormattedAddress(e?.addressStatus?.addressToCreate):void 0,documentTypeForVerification:e?.documentTypeSelectedForVerification}},Yt=()=>{const e=g?.primaryContactLocalData;y.trackBusinessVerificationSave(pt(),{companyDescription:g?.companyDescription,legalName:g?.companyLegalName,phone:g?.phone,website:g?.website?.toString(),industry:g?.companyIndustry??S.strings.empty,formattedAddress:g?.addressStatus?.addressToCreate!=null?K.getFormattedAddress(g?.addressStatus?.addressToCreate):void 0},{firstName:e?.firstName,lastName:e?.lastName,email:e?.email},"onboarding")},[qe,Zt]=p.useState(!1);return r.jsxs(An,{children:[r.jsxs(Vn,{windowSize:L,children:[h.indexOf(a)>=0?r.jsx(tn,{title:it.sectionTitle,showBackButton:!1,backgroundColor:$t.colors.grey4,style:{zIndex:4},showLeftSection:L!=="small",titleStyle:{display:"flex",alignItems:"center"},navBarContainerStyles:{paddingTop:re.sp0,paddingBottom:re.sp0},source:"CustomerOnboardingDetailPage"}):r.jsx($n,{windowSize:L,children:r.jsx(Fn,{windowSize:L,children:r.jsx(Dn,{})})}),r.jsx(nn,{...i,children:r.jsx(Tn,{id:On(Pt),children:h.map(e=>{let n;n=r.jsx(St,{connectedAccountProvider:x,paymentAccount:Q,accountStatus:et,plaidConnectionDetails:Ee,sectionId:J,hasError:i.getFieldState(J).error!=null||le&&!ue(),isValid:ue(),analytics:y,onFetchLinkTokenClick:Ie,onEstablishConnectionClick:pe,onUpdatePaymentAccountStatus:de,onUpdatePaymentAccountLoginStatus:ae,onEstablishConnectionSuccess:oe,cardPaymentView:I,resetCardPaymentViewState:ee,updateCardPaymentModalState:N,cardSetupInProgress:qe,subscriptionBillingAddressSectionId:u});let o=Ae;switch(e){case"link_payment_account":n=r.jsx(St,{connectedAccountProvider:x,paymentAccount:Q,accountStatus:et,plaidConnectionDetails:Ee,subscriptionBillingAddressSectionId:u,sectionId:J,hasError:i.getFieldState(J).error!=null||le&&!ue(),isValid:ue(),analytics:y,onFetchLinkTokenClick:Ie,onEstablishConnectionClick:pe,onUpdatePaymentAccountStatus:de,onUpdatePaymentAccountLoginStatus:ae,onEstablishConnectionSuccess:oe,updateCardPaymentModalState:N,cardPaymentView:I,resetCardPaymentViewState:ee,cardSetupInProgress:qe,googleAPIKey:V,subscriptionBillingAddress:Y});break;case"qbo_connection":n=r.jsx(In,{sectionId:ge,hasError:i.getFieldState(ge).error!=null,isAdmin:c,isValid:_e?.accounting[0]?.isValid??!1,companyName:ie?.company.company.companyInfo.companyLegalName,saveConnectionState:_e?.saveConnectionState,isQBOPopupOpen:je.isQBOPopupOpen,handleOnConnectClick:vt,updateQBOPopupState:At}),o=Ve;break;case"company_officer":n=r.jsx(hn,{companyOfficerLocalData:H,allNationalityCountries:Le,isCompleted:Je.includes("company_officer"),companyView:ie,sectionId:C,filesEndPoint:t.filesEndPoint,authParams:t.authParams,isRefreshingViewInBackground:w,companyTitles:v,isVerificationPopupOpen:T,setIsVerificationPopupOpen:be,onGetOtp:Ze,onVerifyOtp:kt,onResendOtp:wt,onOfficerAddressClick:s=>ne(s,Be?.addressId),updateFilesEntity:Ye,onEditFileName:We,onDeleteFile:A,verifiedPhoneNumber:Oe.current,onPhoneVerified:Dt,isDisabled:O.fetchState==="In-Progress"?"readonly":void 0,triggerError:Xe}),o=$e;break;case"company_details":n=r.jsx(Cn,{fileProps:{...t,onEditFileName:We,onDeleteFile:A,updateFilesEntity:Ye},sectionId:j,companyIndustries:f.companyIndustries,companyDetails:g,isDisabled:O.fetchState==="In-Progress"?"readonly":void 0,isCompleted:Je.includes("company_details"),onCompanyAddressClick:s=>{const d=ie?.company.company.companyOnboardingInfo.subscriptionBillingAddressId;ke?.addressId==null&&d!=null?ne(s,d):ne(s,ke?.addressId)},onRegisteredAddressClick:s=>ne(s,Re?.addressId)}),o=G;break}return r.jsxs(Nn,{ref:o,isVisible:a===e,includeAnimation:a==="link_payment_account"||a==="qbo_connection"?!je.isQBOPopupOpen:a==="company_officer"?!T:!0,paddingBottom:e==="company_details"||e==="company_officer"?M[6]:M[0],stepAnimationDirection:R,children:[h.indexOf(a)>=0?r.jsx(_n,{windowSize:L,children:it.sectionSubTitle}):null,n]},e)})})}),r.jsx(an,{formId:`${Pt}`,style:{width:L==="small"?"auto":"100%",paddingTop:re.sp2,paddingBottom:re.sp2},primaryBtn:{onClick:Mt,label:a==="company_details"?S.footer.submit:ot.next,isLoading:O.fetchState==="In-Progress",isDisabled:O.fetchState==="In-Progress"},cancelBtn:{onClick:Qt,label:ot.back,isDisabled:O.fetchState==="In-Progress"||h.indexOf(a)===0},containerStyle:{width:"auto",justifyContent:"center"},showCancel:!0})]}),r.jsx(un,{handleConfirmCardSetupIntent:$,updateCardPaymentModalState:N,handleCreateCardSetupIntent:l,handleAddCardPaymentSource:b,cardPaymentView:I,stripeKey:m,isCardPaymentOpen:je.isCardPaymentPopupOpen,handleResetCardPaymentErrorStatuses:we,cardSetupInProgress:qe,setCardSetupInProgress:Zt})]})},wn=It`
14
14
  from {
15
15
  transform: translateY(100%);
16
16
  opacity: 0;
@@ -57,13 +57,13 @@ import{j as r,X as Ke,u as Zt,a as en,c3 as me,M as We,a2 as He,D as mt,H as Qe,
57
57
  ${t=>t.theme.breakpoints.down("lg")} {
58
58
  background-size: cover;
59
59
  }
60
- `,Dn=P.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: ${t=>`calc(100% - ${he.topNavBarLeftRightSpace.valuePx(t.windowSize)})`};
66
- `,$n=P.div``,Fn=P.div`
66
+ `,Dn=P.div``,Fn=P.div`
67
67
  display: flex;
68
68
  align-items: center;
69
69
  justify-content: space-between;
@@ -94,7 +94,7 @@ import{j as r,X as Ke,u as Zt,a as en,c3 as me,M as We,a2 as He,D as mt,H as Qe,
94
94
  text-align: ${t=>t.windowSize==="small"?"initial":"center"};
95
95
  width: 100%;
96
96
  white-space: pre-line;
97
- `,Me=(t,w)=>{const{companyDetailsLocalData:c,companyOfficerLocalData:f,companyView:v}=t,x=ce.commonSetUp.businessVerification,y=ce.companyPassport,I=v?.companyOfficers!=null&&v?.companyOfficers.length>0;return{[j]:{companyDescription:c?.companyDescription??ce.common.strings.empty,ein:c?.companyFiles.find(m=>m.documentType==="tax_ein"),companyId:c?.companyId,syncToken:c?.syncToken,companyLegalName:c?.companyLegalName,companyWebsite:c?.website?.toString()??ce.common.strings.empty,companyAddress:c?.addressStatus?.addressToCreate,registeredAddress:c?.registeredAddressStatus?.addressToCreate,companyIndustry:{selectedOption:c?.companyIndustry,allOptions:t.companyIndustries.map(m=>m.code)},companyPhone:c?.phone,companyTaxId:c?.taxIdOrEIN,primaryContactName:{firstName:c?.primaryContactLocalData?.firstName,lastName:c?.primaryContactLocalData?.lastName},primaryContactEmail:c?.primaryContactLocalData?.email,primaryContactUserId:c?.primaryContactLocalData?.userId,primaryContactSyncToken:c?.primaryContactLocalData?.syncToken,fileIds:c?.companyFiles.map(m=>m.fileId)??[],certificateOfIncorporation:c?.companyFiles.find(m=>m.documentType==="certificate_of_incorporation"),incDate:c?.incDate?.toDate(),typeOfIncorporation:{selectedOption:c?.typeOfIncorporation,allOptions:y.companyIncInfo.allTypesOfIncorporation}},[C]:Object.values(f).map((m,V)=>{const l=m,D=sn(l?.documentTypeSelectedForVerification);return{userId:l?.userId,officerType:l?.officerType??`Officer_${V+1}`,name:{firstName:l?.firstName,lastName:l?.lastName},email:l?.email,fileIds:l?.fileIds??[],dob:l?.birthday?.toDate(),nationalityCountryCode:xt(l?.nationalityCountryCode,w.map(N=>N.countryCode)),ssn:l?.ssn,role:{selectedOption:l?.titleAtCompany,allOptions:x.allTypesOfRoles},phone:l?.phone,ownership:l?.ownershipInCompany,officerAddress:l?.addressStatus?.addressToCreate,selectDocument:{front:ft(!0,l?.userFiles??[],D),back:ft(!1,l?.userFiles??[],D),selectDocumentType:D},isSelectedForVerification:!I&&V===0?!0:l?.isSelectedForVerification??!1,userVerificationStatus:l?.userVerificationStatus,syncToken:l?.syncToken,isPhoneVerified:l?.isPhoneVerified,otpChallenge:l?.otpChallenge}}),[Z]:{account:{allOptions:[],selectedOption:void 0}},[u]:on(u,t?.subscriptionBillingAddress)[u],[ge]:{connected:t.externalConnections?.accounting[0]?.isValid??!1}}},ra=t=>{const{onboardingCustomerView:w,cardPaymentView:c,signedInUser:f,currentTenant:v,isOnAddressPage:x,stripeKey:y,googleAPIKey:I,onUpdateStep:m,onZeniLogoClick:V,handleLogOutClick:l,handleCockpitClick:D,meetingUrl:N,analytics:b,handleCreateCardSetupIntent:ee,handleConfirmCardSetupIntent:we,handleFetchPaymentSources:Se,updateCardPaymentModalState:F,resetCardPaymentViewState:ve,handleResetCardPaymentErrorStatuses:L,redirectToProductSuitePage:Ae,...Ve}=t,{allSteps:W,completedSteps:De,halfCompletedSteps:Ce,currentStep:B,fetchStatus:R}=w,z=p.useRef(B),T=p.useRef(W),[be,le]=p.useState(!1),[Pe,te]=p.useState([]),G={allSteps:W,isOnAddressPage:x,completedSteps:De,halfCompletedSteps:Ce,errorSteps:Pe,currentStep:B,fetchStatus:R,signedInUser:f,currentTenant:v,onUpdateStep:$=>{m($)},onZeniLogoClick:V,handleLogOutClick:l,handleCockpitClick:D,setIsStepClicked:le};p.useEffect(()=>{if(z.current!==B){const $=z.current;be===!0&&(b?.trackOnboardingCurrentStep(B,$),le(!1)),z.current=B}},[B,be,b]),p.useEffect(()=>{W.length!==T.current.length&&(T.current=W)},[W]);const ne=($,Ie,de)=>{const ae=T.current.length,pe=T.current.indexOf($);switch(Ie){case"next":{const oe=(pe+1)%ae,A=T.current[oe];z.current=A,m(A),de===!0?b.trackOnboardingNext($,A):b.trackOnboardingCurrentStep(A,$);break}case"previous":{const oe=(pe+ae-1)%ae,A=T.current[oe];z.current=A,m(A),de===!0?b.trackOnboardingBack($,A):b.trackOnboardingCurrentStep(A,$);break}}},xe=R.fetchState==="In-Progress"||R.fetchState==="Not-Started";return r.jsx(En,{isOnAddressPage:x,children:x?r.jsx(Ct,{...G}):r.jsxs(jn,{children:[r.jsx(Ct,{...G}),xe?r.jsx(mn,{isNoStepsPage:!1}):r.jsx(kn,{onboardingCustomerView:w,analytics:b,updateStepHandler:ne,onUpdateStep:m,handleCreateCardSetupIntent:ee,handleConfirmCardSetupIntent:we,updateCardPaymentModalState:F,handleFetchPaymentSources:Se,cardPaymentView:c,resetCardPaymentViewState:ve,stripeKey:y,googleAPIKey:I,handleResetCardPaymentErrorStatuses:L,redirectToProductSuitePage:Ae,onFormErrorsChange:te,...Ve}),xe?null:r.jsx(pn,{isFooterRendered:!0,meetingUrl:N,analytics:b,productType:"onboarding"})]})})},En=P.div`
97
+ `,Ke=(t,w)=>{const{companyDetailsLocalData:c,companyOfficerLocalData:f,companyView:v}=t,x=ce.commonSetUp.businessVerification,y=ce.companyPassport,I=v?.companyOfficers!=null&&v?.companyOfficers.length>0;return{[j]:{companyDescription:c?.companyDescription??ce.common.strings.empty,ein:c?.companyFiles.find(m=>m.documentType==="tax_ein"),companyId:c?.companyId,syncToken:c?.syncToken,companyLegalName:c?.companyLegalName,companyWebsite:c?.website?.toString()??ce.common.strings.empty,companyAddress:c?.addressStatus?.addressToCreate,registeredAddress:c?.registeredAddressStatus?.addressToCreate,companyIndustry:{selectedOption:c?.companyIndustry,allOptions:t.companyIndustries.map(m=>m.code)},companyPhone:c?.phone,companyTaxId:c?.taxIdOrEIN,primaryContactName:{firstName:c?.primaryContactLocalData?.firstName,lastName:c?.primaryContactLocalData?.lastName},primaryContactEmail:c?.primaryContactLocalData?.email,primaryContactUserId:c?.primaryContactLocalData?.userId,primaryContactSyncToken:c?.primaryContactLocalData?.syncToken,fileIds:c?.companyFiles.map(m=>m.fileId)??[],certificateOfIncorporation:c?.companyFiles.find(m=>m.documentType==="certificate_of_incorporation"),incDate:c?.incDate?.toDate(),typeOfIncorporation:{selectedOption:c?.typeOfIncorporation,allOptions:y.companyIncInfo.allTypesOfIncorporation}},[C]:Object.values(f).map((m,V)=>{const l=m,$=sn(l?.documentTypeSelectedForVerification);return{userId:l?.userId,officerType:l?.officerType??`Officer_${V+1}`,name:{firstName:l?.firstName,lastName:l?.lastName},email:l?.email,fileIds:l?.fileIds??[],dob:l?.birthday?.toDate(),nationalityCountryCode:xt(l?.nationalityCountryCode,w.map(N=>N.countryCode)),ssn:l?.ssn,role:{selectedOption:l?.titleAtCompany,allOptions:x.allTypesOfRoles},phone:l?.phone,ownership:l?.ownershipInCompany,officerAddress:l?.addressStatus?.addressToCreate,selectDocument:{front:ft(!0,l?.userFiles??[],$),back:ft(!1,l?.userFiles??[],$),selectDocumentType:$},isSelectedForVerification:!I&&V===0?!0:l?.isSelectedForVerification??!1,userVerificationStatus:l?.userVerificationStatus,syncToken:l?.syncToken,isPhoneVerified:l?.isPhoneVerified,otpChallenge:l?.otpChallenge}}),[J]:{account:{allOptions:[],selectedOption:void 0}},[u]:on(u,t?.subscriptionBillingAddress)[u],[ge]:{connected:t.externalConnections?.accounting[0]?.isValid??!1}}},ra=t=>{const{onboardingCustomerView:w,cardPaymentView:c,signedInUser:f,currentTenant:v,isOnAddressPage:x,stripeKey:y,googleAPIKey:I,onUpdateStep:m,onZeniLogoClick:V,handleLogOutClick:l,handleCockpitClick:$,meetingUrl:N,analytics:b,handleCreateCardSetupIntent:ee,handleConfirmCardSetupIntent:we,handleFetchPaymentSources:Se,updateCardPaymentModalState:F,resetCardPaymentViewState:ve,handleResetCardPaymentErrorStatuses:L,redirectToProductSuitePage:Ae,...Ve}=t,{allSteps:G,completedSteps:$e,halfCompletedSteps:Ce,currentStep:B,fetchStatus:R}=w,z=p.useRef(B),T=p.useRef(G),[be,le]=p.useState(!1),[Pe,te]=p.useState([]),W={allSteps:G,isOnAddressPage:x,completedSteps:$e,halfCompletedSteps:Ce,errorSteps:Pe,currentStep:B,fetchStatus:R,signedInUser:f,currentTenant:v,onUpdateStep:D=>{m(D)},onZeniLogoClick:V,handleLogOutClick:l,handleCockpitClick:$,setIsStepClicked:le};p.useEffect(()=>{if(z.current!==B){const D=z.current;be===!0&&(b?.trackOnboardingCurrentStep(B,D),le(!1)),z.current=B}},[B,be,b]),p.useEffect(()=>{G.length!==T.current.length&&(T.current=G)},[G]);const ne=(D,Ie,de)=>{const ae=T.current.length,pe=T.current.indexOf(D);switch(Ie){case"next":{const oe=(pe+1)%ae,A=T.current[oe];z.current=A,m(A),de===!0?b.trackOnboardingNext(D,A):b.trackOnboardingCurrentStep(A,D);break}case"previous":{const oe=(pe+ae-1)%ae,A=T.current[oe];z.current=A,m(A),de===!0?b.trackOnboardingBack(D,A):b.trackOnboardingCurrentStep(A,D);break}}},xe=R.fetchState==="In-Progress"||R.fetchState==="Not-Started";return r.jsx(En,{isOnAddressPage:x,children:x?r.jsx(Ct,{...W}):r.jsxs(jn,{children:[r.jsx(Ct,{...W}),xe?r.jsx(mn,{isNoStepsPage:!1}):r.jsx(kn,{onboardingCustomerView:w,analytics:b,updateStepHandler:ne,onUpdateStep:m,handleCreateCardSetupIntent:ee,handleConfirmCardSetupIntent:we,updateCardPaymentModalState:F,handleFetchPaymentSources:Se,cardPaymentView:c,resetCardPaymentViewState:ve,stripeKey:y,googleAPIKey:I,handleResetCardPaymentErrorStatuses:L,redirectToProductSuitePage:Ae,onFormErrorsChange:te,...Ve}),xe?null:r.jsx(pn,{isFooterRendered:!0,meetingUrl:N,analytics:b,productType:"onboarding"})]})})},En=P.div`
98
98
  display: flex;
99
99
  flex-direction: column;
100
100
  width: ${t=>t.isOnAddressPage?"fit-content":"100%"};
@@ -1,4 +1,4 @@
1
- import{X as M,d2 as U,w as D,u as W,M as A,j as e,aV as V,o as t,_ as k,aI as I,l as _,e as H,$ as R,g as l,f as y,r as Z,k as N,c0 as J,Z as K,af as X}from"./index-C7yzTmij.js";import{b as n,n as i}from"./vendor-CnQcJ2Lu.js";import Y from"./ConfettiBurst-CfEQKUn_-BJZZqkje.js";import{D as q}from"./HelpButton-DY1MpMsB-KbKqlw38.js";import{S as G}from"./ProductsCarousel-DSwEQiRo-wKmJuLus.js";import"./mui-C5LQ0bMa.js";import"./analytics-CBL_L82S.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";import"./MeetingCalenderPopup-gItmg01b-Cu9NWj0e.js";const Q=o=>n.createElement("svg",{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...o},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(),De=({hasVerifiedBankAccount:o,meetingUrl:$,showUpdatePaymentDetailButton:m=!1,isVisitingFirstTime:b=!1,handleUpdatePaymentAddressDetailClick:v,...S})=>{const d=M(),x=U().analytics,f=D(),L=f.loggedInUser,a=f.currentTenant,[w,P]=n.useState(!1),{handleLogOutClick:z,onZeniLogoClick:T,handleCockpitClick:E}=S,O=W(),{customerOnboardingPage:c}=ee,p=s=>{const r=c.productSuite.messageBox;if(!s)return[r.withTaxAndPayroll,r.withCFO];const{productSettings:F}=s,{isPayrollEnabled:h,isCfoEnabled:g,isTaxEnabled:u}=F;return h&&g&&u?[r.withTaxAndPayroll,r.withCFO]:h&&g?[r.withPayroll,r.withCFO]:h&&u?[r.taxAndPayroll]:g&&u?[r.withTax,r.withCFO]:h?[r.onlyPayroll]:g?[r.onlyCFO]:u?[r.onlyTax]:[r.default]},B=s=>{if(v(),!s)return;let r="";o?r="bank_account":r="credit_card",x.trackOnboardingClickUpdatePaymentDetails(r,_.getProductSettingsString(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(V,{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(ke,{"data-testid":k("zeni-logo-customer-onboarding-product-suite"),onClick:T})}),rightSideComponent:m?e.jsxs(Ce,{"data-testid":k("update-to-payment-address-details"),onClick:()=>B(a),children:[e.jsx(ye,{}),e.jsx(je,{className:"btnText",children:c.productSuite.updatePaymentDetails})]}):e.jsx($e,{})})}),e.jsxs(re,{windowSize:d,children:[e.jsx(ne,{style:{gap:p(a).length>1?t.sp2:t.sp1,padding:p(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:p(a)[0]})]}),e.jsx(C,{children:p(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(G,{scale:1,showUpdatePaymentDetailButton:m,stopCarousel:w,useFixedArrowPosition:!0})}),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(I,{signedInUser:L,currentTenant:a,onLogOutClick:z,onCockpitClick:E})}),e.jsx(q,{isFooterRendered:!1,meetingUrl:$,analytics:x,productType:"onboarding_interim",showPopup:w,setShowPopup:P})]})})]})}),e.jsx(Y,{showConfetti:b})]})},te=i.div`
1
+ import{X as M,d5 as U,y as W,u as A,B as D,j as e,aV as I,o as t,_ as k,aI as V,l as _,n as H,c as R,d as l,v as y,f as N,k as Y,c3 as J,Y as Z,af as Q}from"./index-CIAgrDi2.js";import{b as n,n as i}from"./vendor-CnQcJ2Lu.js";import X from"./ConfettiBurst-CjhkW_Be-tE_S1zJ3.js";import{I as q}from"./HelpButton-C1djo0zO-BW6NBTNW.js";import{S as G}from"./ProductsCarousel-COUx0Xdj-Bk25WJ5z.js";import"./mui-C5LQ0bMa.js";import"./analytics-CBL_L82S.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";import"./MeetingCalenderPopup-COpKcBhx-C1b7HyPI.js";const K=o=>n.createElement("svg",{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...o},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=D.getLocalizedStrings(),We=({hasVerifiedBankAccount:o,meetingUrl:b,showUpdatePaymentDetailButton:m=!1,isVisitingFirstTime:$=!1,handleUpdatePaymentAddressDetailClick:v,...S})=>{const d=M(),x=U().analytics,f=W(),L=f.loggedInUser,a=f.currentTenant,[w,P]=n.useState(!1),{handleLogOutClick:z,onZeniLogoClick:T,handleCockpitClick:E}=S,O=A(),{customerOnboardingPage:c}=ee,p=s=>{const r=c.productSuite.messageBox;if(!s)return[r.withTaxAndPayroll,r.withCFO];const{productSettings:F}=s,{isPayrollEnabled:h,isCfoEnabled:g,isTaxEnabled:u}=F;return h&&g&&u?[r.withTaxAndPayroll,r.withCFO]:h&&g?[r.withPayroll,r.withCFO]:h&&u?[r.taxAndPayroll]:g&&u?[r.withTax,r.withCFO]:h?[r.onlyPayroll]:g?[r.onlyCFO]:u?[r.onlyTax]:[r.default]},B=s=>{if(v(),!s)return;let r="";o?r="bank_account":r="credit_card",x.trackOnboardingClickUpdatePaymentDetails(r,_.getProductSettingsString(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(I,{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(ke,{"data-testid":k("zeni-logo-customer-onboarding-product-suite"),onClick:T})}),rightSideComponent:m?e.jsxs(Ce,{"data-testid":k("update-to-payment-address-details"),onClick:()=>B(a),children:[e.jsx(ye,{}),e.jsx(je,{className:"btnText",children:c.productSuite.updatePaymentDetails})]}):e.jsx(be,{})})}),e.jsxs(re,{windowSize:d,children:[e.jsx(ne,{style:{gap:p(a).length>1?t.sp2:t.sp1,padding:p(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:p(a)[0]})]}),e.jsx(C,{children:p(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(G,{scale:1,showUpdatePaymentDetailButton:m,stopCarousel:w,useFixedArrowPosition:!0})}),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:z,onCockpitClick:E})}),e.jsx(q,{isFooterRendered:!1,meetingUrl:b,analytics:x,productType:"onboarding_interim",showPopup:w,setShowPopup:P})]})})]})}),e.jsx(X,{showConfetti:$})]})},te=i.div`
2
2
  display: flex;
3
3
  flex-direction: column;
4
4
  align-items: center;
@@ -88,11 +88,11 @@ import{X as M,d2 as U,w as D,u as W,M as A,j as e,aV as V,o as t,_ as k,aI as I,
88
88
  border-radius: 50%;
89
89
  outline: 1px solid ${l.brandColorJadeDark};
90
90
  background-color: ${l.brandColorPearl};
91
- `,le=i(Z)`
91
+ `,le=i(N)`
92
92
  width: ${t.sp3};
93
93
  height: ${t.sp3};
94
94
  color: ${l.brandColorSapphire};
95
- `,j=i(N)`
95
+ `,j=i(Y)`
96
96
  color: ${l.brandColorSapphire};
97
97
  text-align: center;
98
98
  margin-left: ${t.sp2};
@@ -129,10 +129,10 @@ import{X as M,d2 as U,w as D,u as W,M as A,j as e,aV as V,o as t,_ as k,aI as I,
129
129
  color: ${o=>o.theme.colors.primary};
130
130
  }
131
131
  }
132
- `,ge=i(K)`
132
+ `,ge=i(Z)`
133
133
  color: inherit;
134
134
  text-align: center;
135
- `,ue=i(X)`
135
+ `,ue=i(Q)`
136
136
  width: ${t.sp3};
137
137
  height: ${t.sp3};
138
138
  color: inherit;
@@ -173,7 +173,7 @@ import{X as M,d2 as U,w as D,u as W,M as A,j as e,aV as V,o as t,_ as k,aI as I,
173
173
  cursor: pointer;
174
174
  flex-shrink: 0;
175
175
  margin-left: -${t.sp5};
176
- `,ye=i(Q)`
176
+ `,ye=i(K)`
177
177
  width: ${t.sp4};
178
178
  min-width: ${t.sp4};
179
179
  height: ${t.sp4};
@@ -196,7 +196,7 @@ import{X as M,d2 as U,w as D,u as W,M as A,j as e,aV as V,o as t,_ as k,aI as I,
196
196
  margin-right: ${t.sp2};
197
197
  `,je=i(H)`
198
198
  margin-left: ${t.sp2};
199
- `,$e=i.div`
199
+ `,be=i.div`
200
200
  width: 200px;
201
201
  height: ${t.sp4};
202
- `;export{De as CustomerOnboardingProductSuitePage,De as default};
202
+ `;export{We as CustomerOnboardingProductSuitePage,We as default};
@@ -1,4 +1,4 @@
1
- import{w as zA,l as uA,j as e,y as wt,z as xt,A as ft,o as r,B as kt,D as mA,H as Dt,I as Ae,J as yt,L as Mt,N as jt,P as vt,R as bt,S as Rt,U as F,M as d,X as V,W as H,_ as x,a0 as P,a1 as G,q as b,a as St,a2 as ye,a3 as Lt,F as Ft,a4 as Jt,C as z,a5 as T,a6 as W,m as Z,a7 as Me,a8 as R,a9 as L,aa as WA,u as rA,ab as Ut,ac as qA,ad as Pt,g as f,ae as Ot,af as Ht,v as J,ag as vA,Z as XA,e as VA,ah as je,ai as ve,aj as be,ak as ZA,Q as Tt,h as Yt,al as Kt,am as Re,an as Gt,ao as Nt,ap as bA,aq as zt,ar as Wt,as as qt,at as Xt,au as Vt,av as Zt,aw as $t,c as Se,f as _t,ax as Ar,ay as er,az as Le,aA as tr,n as rr,aB as gr,r as ar,aC as Fe}from"./index-C7yzTmij.js";import{b as o,n as C,f as D,k as S,j as pA}from"./vendor-CnQcJ2Lu.js";import{L as or,k as Cr}from"./ArAgingChart-C3yYcTfo-Cp6SttRr.js";import{E as ir,T as $A,I as Je}from"./ReloadCard-B1X0QtRR-BXScvMmg.js";import{L as nr,O as wA,c as gA}from"./TopExCard-bgf-w40u-DTYDqUmn.js";import{H as Er,Y as Br,P as Qr,G as sr,N as Ir}from"./RevenueChart--mJZgy8C-Cgs7A_Xi.js";import dr from"./InsightsCardStack-D0wOSPaM-DgAtskKg.js";import{a as lr}from"./AccountsPromoCardStack-Q7ppOy47-BGGU4_sD.js";import{c as q}from"./SummaryCard-DQ4ZyfBH-D9XxMBaO.js";import{t as cr,o as hr}from"./arrow-south-east-round-PEovUgvH-DBLhwZXJ.js";import{x as EA}from"./NavigationArrow-CKb8oJym-BKEHFfza.js";import{f as _A}from"./NavigationDots-Bgh-o0zo-K6CBNKPZ.js";import mr from"./CompanyPassportCard-CLWfLYZT-DVRouOGL.js";import{C as pr}from"./gift-box-Cmt9OgIZ-DKWN92w0.js";import ur from"./InformationCardStack-DTZ5U5HN-CApUz4e2.js";import{p as Ue}from"./chartTypes-D-nEr9EI-C0zQa7Wt.js";import{h as wr}from"./toCOABalancesWithID-DN6cSuKb-DdLSsatB.js";import{V as xr}from"./toChartData-Bc3LMl7f-CXw-Y0dZ.js";import{r as fr,i as kr}from"./graphic-no-data-net-burn-l-CzmycA0m-DR-LfIWY.js";import{N as Dr,J as yr}from"./PromoBaseCards-CDbwBfld-DHXh6Jz5.js";import Mr from"./ConfettiBurst-CfEQKUn_-BJZZqkje.js";import"./mui-C5LQ0bMa.js";import"./analytics-CBL_L82S.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";import"./graphic-no-data-l-DU4J8fDt-BalbEtqQ.js";const jr=C(W)`
1
+ import{y as zA,l as uA,j as e,z as wt,A as xt,D as ft,o as r,H as kt,I as mA,J as Dt,L as Ae,N as yt,O as Mt,R as jt,S as vt,U as bt,V as Rt,W as F,B as d,X as V,Z as H,_ as x,a0 as P,a1 as G,s as b,a as St,a2 as ye,a3 as Lt,F as Ft,a4 as Jt,C as z,a5 as T,a6 as W,M as Z,a7 as Me,a8 as R,a9 as L,aa as WA,u as rA,ab as Ut,ac as qA,ad as Pt,d as f,ae as Ot,af as Ht,$ as J,ag as vA,Y as XA,n as VA,ah as je,ai as ve,aj as be,ak as ZA,Q as Tt,g as Yt,al as Kt,am as Re,an as Gt,ao as Nt,ap as bA,aq as zt,ar as Wt,as as qt,at as Xt,au as Vt,av as Zt,aw as $t,i as Se,v as _t,ax as Ar,ay as er,az as Le,aA as tr,q as rr,aB as gr,f as ar,aC as Fe}from"./index-CIAgrDi2.js";import{b as o,n as C,f as D,k as S,j as pA}from"./vendor-CnQcJ2Lu.js";import{L as or,k as Cr}from"./ArAgingChart-CNghm3pm-Dc-aS72N.js";import{E as ir,T as $A,I as Je}from"./ReloadCard-CZ1Ix5em-CJhVpNi9.js";import{L as nr,O as wA,c as gA}from"./TopExCard-DD9Rf9T6-CfNVkG6m.js";import{H as Er,Y as Br,P as Qr,G as sr,N as Ir}from"./RevenueChart-BeM_1hYw-DP9fkCbH.js";import dr from"./InsightsCardStack-EzAsNm_U-Cm_xrDcd.js";import{a as lr}from"./AccountsPromoCardStack-DBCYok4Z-BX2c8K6j.js";import{c as q}from"./SummaryCard-edbbHOmb-DIbjh5sC.js";import{t as cr,o as hr}from"./arrow-south-east-round-PEovUgvH-DBLhwZXJ.js";import{x as EA}from"./NavigationArrow-D5-YpdfE-BYBuxDoB.js";import{f as _A}from"./NavigationDots-MA8SVlUT-BNaROjbH.js";import mr from"./CompanyPassportCard-ElwK6uOD-uKq6JSMM.js";import{C as pr}from"./gift-box-Cmt9OgIZ-DKWN92w0.js";import ur from"./InformationCardStack-BE5eaq-x-7TOfUxxA.js";import{p as Ue}from"./chartTypes-DJY-6KK0-Bzq8Fcov.js";import{h as wr}from"./toCOABalancesWithID-BaqBVqJ_-1rnUe3A4.js";import{V as xr}from"./toChartData-7MYPev1U-zJcYDtq1.js";import{r as fr,i as kr}from"./graphic-no-data-net-burn-l-CzmycA0m-DR-LfIWY.js";import{N as Dr,J as yr}from"./PromoBaseCards-DG1CAZvU-Kp-BaaPo.js";import Mr from"./ConfettiBurst-CjhkW_Be-tE_S1zJ3.js";import"./mui-C5LQ0bMa.js";import"./analytics-CBL_L82S.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";import"./graphic-no-data-l-DU4J8fDt-BalbEtqQ.js";const jr=C(W)`
2
2
  color: ${A=>A.theme.colors.champion};
3
3
  `,ee=C.div`
4
4
  display: flex;