@zeniai/web-cockpit-ui 1.13.92-qa → 1.13.93-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 (222) hide show
  1. package/dist/assets/{ACHDetailsPage-DSxVnTLA-D1-iHIV_.js → ACHDetailsPage-B7Osqlyb-BwlnvX_d.js} +1 -1
  2. package/dist/assets/{AIPerformancePage-DpJmdFIS-ptP-VwzZ.js → AIPerformancePage-CEGqk2vj-DYer4sK1.js} +1 -1
  3. package/dist/assets/{AccountInfoPage-UxE6vaxM-Cd6nbcJE.js → AccountInfoPage-Dsi_xY1U-B-sH9O2B.js} +1 -1
  4. package/dist/assets/{AccountInfoPageContent-B8luWP8D-CZHd9VXv.js → AccountInfoPageContent-CmRpq4eF-B2DwYw45.js} +1 -1
  5. package/dist/assets/{AccountReconDetailsDrawerPage-CRuSLa04-C78XHZlh.js → AccountReconDetailsDrawerPage-Bwc-VZmp-CnpXttfi.js} +1 -1
  6. package/dist/assets/{AccountRow-DVnBiB7_-CPXvnObH.js → AccountRow-DMeCdEPJ-0Td7rdjz.js} +14 -14
  7. package/dist/assets/{AccountsPromoCardStack-oPvi6hmo-DZpnXhtG.js → AccountsPromoCardStack-NYQHh0uE-De_Ps0gr.js} +13 -13
  8. package/dist/assets/{AddAddressForCardDrawer-Bl8FShie-B95Xnw-A.js → AddAddressForCardDrawer-3WPrDfNL-BmoU8xMj.js} +1 -1
  9. package/dist/assets/{AddToWalletPage-BykgUTfa-D4vrpQJK.js → AddToWalletPage-IjvBXyuu-LqJuRvIx.js} +18 -18
  10. package/dist/assets/{AgingReportsPage-CtpuS77Y-CE6txtIZ.js → AgingReportsPage-CIJTKbrN-CVdoyKAO.js} +5 -5
  11. package/dist/assets/{AllUserItems-zqRosy03-COR9NR1n.js → AllUserItems-BuX43aPo-H0s42hTQ.js} +4 -4
  12. package/dist/assets/{ApAgingDetailPage-B4dHhJE1-CaWZMWGh.js → ApAgingDetailPage-02ejdrQy-CkSV3Gpj.js} +2 -2
  13. package/dist/assets/{AppBasePage-ntAldChd-CbIHEw9R.js → AppBasePage-CC3bbnnu-Ciqf55R8.js} +2 -2
  14. package/dist/assets/{AppDrawerContent-LRG0OW3a-B799K3xV.js → AppDrawerContent-B_EAPC9w-BdR_mtmP.js} +5 -5
  15. package/dist/assets/ApprovalRulesSettingsPage-1AQm08qF-1bvo_sOv.js +47 -0
  16. package/dist/assets/{ArAgingChart-BmfMCB8_-fY0QEK4n.js → ArAgingChart-UnY648RV-B8ISkKOi.js} +6 -6
  17. package/dist/assets/{ArAgingDetailPage-C2lhYsGV-BYs1bmSh.js → ArAgingDetailPage-CMUpR-2N-CqTh98Ou.js} +3 -3
  18. package/dist/assets/{AttachmentView-CQlsMYN3-USK3brEH.js → AttachmentView-sbbFtu9R-wkkd2tSH.js} +1 -1
  19. package/dist/assets/{BankAccountSection-D1tQzNSO-gEkCF92l.js → BankAccountSection-BJPkV-qV-DnIozyCI.js} +1 -1
  20. package/dist/assets/{BankAccountWarningSection-Dj_S6brX-3ftY6npO.js → BankAccountWarningSection-D9R1VhzE-GAcwzATB.js} +1 -1
  21. package/dist/assets/{BankConnectionsSettingsPage-UQAJXShM-DCO59eAm.js → BankConnectionsSettingsPage-BG99PtV_-CvP1ZQFj.js} +1 -1
  22. package/dist/assets/{BillDetailPage-BOy1MkMT-yl7syVQH.js → BillDetailPage-C_JDjRL0-Kxjam1W7.js} +6 -6
  23. package/dist/assets/{BillPayApprovalRuleDetailPage-C7c04fyW-gv93wavc.js → BillPayApprovalRuleDetailPage-B_XMuvzZ-CuOSZOiJ.js} +1 -1
  24. package/dist/assets/{BillPayApprovalRulesPage-D7vn36vA-DVT6BH5J.js → BillPayApprovalRulesPage-CyZjNIsQ-DvR9HK7c.js} +1 -1
  25. package/dist/assets/{BillPayPromoPage-VCQ0v0Ko-k0l6XCko.js → BillPayPromoPage-ByDsqYfw-Bz6xfanS.js} +3 -3
  26. package/dist/assets/{BillPaySetUpPage-MD1PbTMB-Mj8YwN2-.js → BillPaySetUpPage-yTO-xwRJ-D5LOIl5a.js} +1 -1
  27. package/dist/assets/{BillingSettingsPage-B0U9RKLC-CxniqQ_i.js → BillingSettingsPage-BIAy1QHr-CdxSnuoN.js} +1 -1
  28. package/dist/assets/{BillsBulkReviewDrawerPage-CStmvhgL-BfpFJcjC.js → BillsBulkReviewDrawerPage-Cw1XCs0q-BPMOI-f-.js} +1 -1
  29. package/dist/assets/{BoxItem-D3v5T6bP-Ccyj0z_e.js → BoxItem-UCX7eqiN-Bx4T9Ckg.js} +1 -1
  30. package/dist/assets/{BusinessVerificationPage-BIba2-zs-baesBtzL.js → BusinessVerificationPage-CSsout2C-D0_Wr4yR.js} +3 -3
  31. package/dist/assets/{CardNumberSubText-DoWj5vAy-CAfScSz4.js → CardNumberSubText-DuTv0ip1-BQ2cCq6Y.js} +1 -1
  32. package/dist/assets/{CashbackDetailPage-CPz0J2HA-DnWSOdcg.js → CashbackDetailPage-KdHf-_ZF-DMwQoPE0.js} +9 -9
  33. package/dist/assets/{ChargeCardDetailPage-DxE5h1S5-BSn9I5tq.js → ChargeCardDetailPage-DYGcQs0M-D9cSv6UR.js} +1 -1
  34. package/dist/assets/{ChargeCardListPage-fXayrykw-C4eDLONF.js → ChargeCardListPage-CNrRrNbd-BjkSAo-I.js} +1 -1
  35. package/dist/assets/{ChargeCardListTable-C-WxFg6W-Bxx8UmMq.js → ChargeCardListTable-B1a9-RYl-DFaeigKK.js} +103 -103
  36. package/dist/assets/ChargeCardPromoPage-DZ1f8Sus-BW8ozxyr.js +175 -0
  37. package/dist/assets/{ChargeCardSetupPage-ByLkUH5I-BPvN7kpq.js → ChargeCardSetupPage-DOrs_Bw8-DgkoLihJ.js} +1 -1
  38. package/dist/assets/{ChargeCardStatementsPage-Dsv5AXrZ-DoY0Jw4d.js → ChargeCardStatementsPage-xvq2HeEr-DOI6TXvC.js} +1 -1
  39. package/dist/assets/{ChargeCardUtils-CVC43_6w-C9AAkcIV.js → ChargeCardUtils-Dt303NN_-05QPLa2p.js} +1 -1
  40. package/dist/assets/{ChaseOverlay-CHWBgNa9-DBU-aocS.js → ChaseOverlay-BK2ISNjj-S6c-qliM.js} +1 -1
  41. package/dist/assets/{CheckDepositDrawerPage-DySu5_BH-C65eaIWg.js → CheckDepositDrawerPage-CbsRUWnx-BK3WXMqm.js} +1 -1
  42. package/dist/assets/{CollapsableReportTable-ZObwzBbY-AvFmJfte.js → CollapsableReportTable-D5D0ufUn-Bzt15FNd.js} +1 -1
  43. package/dist/assets/{CompanyOfficerDetailsSection-DVG0lvX--Wg40Blwv.js → CompanyOfficerDetailsSection-C7fuDGQk-IsFgAXuq.js} +6 -6
  44. package/dist/assets/{CompanyPassportCard-DBZRV0g0-JDJxemYn.js → CompanyPassportCard-DwUqLcAr-DSkb28QS.js} +4 -4
  45. package/dist/assets/{CompanyPassportPage-BoaNol0L-D8V2l9pw.js → CompanyPassportPage-ClToBIAw-kZszHSwA.js} +10 -10
  46. package/dist/assets/{CompleteProfile-nkRKLJTF-kma5tNZE.js → CompleteProfile-CLDWG3QK-CfBVYMEP.js} +1 -1
  47. package/dist/assets/{ConfettiBurst-BYoGZ66F-CE0o8Vhl.js → ConfettiBurst-DoZB9Us7-CMmPQCFc.js} +1 -1
  48. package/dist/assets/{CreateOrEditVendorPage-C1Yx8t4M-BuM4U0t0.js → CreateOrEditVendorPage-B837xw8A-BAYCbcGJ.js} +1 -1
  49. package/dist/assets/{CreditCardPaymentDrawerPage-DlnR16jr-ChhzdCb0.js → CreditCardPaymentDrawerPage-zGaAOnnB-BsFRJBm4.js} +1 -1
  50. package/dist/assets/{CreditCardPaymentPlgSection-CZ2vyMiF-ClsOZPvU.js → CreditCardPaymentPlgSection-BLbZFCcL-Bqc-C6eO.js} +1 -1
  51. package/dist/assets/{CurrencySelectField-vH1oB0K8-Dr64IPr4.js → CurrencySelectField-DS3dOR3F-DalqX_lS.js} +1 -1
  52. package/dist/assets/{CustomerOnboardingActivationPage-rpZmgNZo-DuEHpoc1.js → CustomerOnboardingActivationPage-WWVaQenb-B8ztly-z.js} +1 -1
  53. package/dist/assets/CustomerOnboardingContainerPage-BmFfAaO1-BI9KTD4O.js +1 -0
  54. package/dist/assets/{CustomerOnboardingDetailPageSkeleton-CFIeHxxw-UU0mUCiu.js → CustomerOnboardingDetailPageSkeleton-BSXKMQ77-MLxx67vI.js} +1 -1
  55. package/dist/assets/{CustomerOnboardingNoStepsPage-BueMiyFl-DUOR8jGf.js → CustomerOnboardingNoStepsPage-Dd5kCuRE-BcQg4Ohl.js} +1 -1
  56. package/dist/assets/{CustomerOnboardingPage-CmHXtB9v-CXmQf7U7.js → CustomerOnboardingPage-CGJpD875-Dopxs2Zj.js} +1 -1
  57. package/dist/assets/{CustomerOnboardingProductSuitePage-I9pftf_j-B_gnkO1d.js → CustomerOnboardingProductSuitePage-BFmVLk0l-Dqe6wu_O.js} +3 -3
  58. package/dist/assets/{Dashboard-DcfkiicK-q4fxRwyW.js → Dashboard-BLIK_ZsD-D6wuOJAN.js} +1 -1
  59. package/dist/assets/{DashboardReportPage-B7J8yZR6-DRm7363E.js → DashboardReportPage-BbYtKYEH-pc8ejgXI.js} +8 -8
  60. package/dist/assets/{DepositAccTransactionItem-CP_2AL3M-UriJgTZ8.js → DepositAccTransactionItem-BMXQpKVB-DaF1MUuy.js} +1 -1
  61. package/dist/assets/{DepositAccTransactionListPage-C4o1y1mJ-vDVIGMR1.js → DepositAccTransactionListPage-bwEdSihi-CXBTlKtY.js} +2 -2
  62. package/dist/assets/{DocumentSecurityBanner-C5w0d_S8-qYbxtRj6.js → DocumentSecurityBanner-DV9HE3MK-LQKK6f7V.js} +1 -1
  63. package/dist/assets/{DomesticWireDetailsPage-t0Ebo518-C2FWXYt8.js → DomesticWireDetailsPage-OI-gqVNE-BqvWfcoc.js} +1 -1
  64. package/dist/assets/{DownloadOverlay-CPW9ebxu-C4HHQYK0.js → DownloadOverlay-De5uIGOt-g0Egf70Z.js} +1 -1
  65. package/dist/assets/{DrawerPage-Xc2rQipJ-DVYxRAtt.js → DrawerPage-n421ewDm-CnkmETxv.js} +1 -1
  66. package/dist/assets/{EditPeoplePage-CF5UleI0-CUGe8Cnt.js → EditPeoplePage-sO1qN6Uw-bGTiOwCj.js} +1 -1
  67. package/dist/assets/{EditReimbursementDetailPage-DGCkOykv-ClMeSVrD.js → EditReimbursementDetailPage-D5iKVGl3--EFA7JxG.js} +1 -1
  68. package/dist/assets/{EntityDetailPage-BykQZo8S-KrJZ5syb.js → EntityDetailPage-CDk-oyYB-dhBDHyNo.js} +2 -2
  69. package/dist/assets/{EntitySummarySection-Dw4PBcg_-CvhgPnGt.js → EntitySummarySection-C4cC9rOJ-D8GGYrtb.js} +1 -1
  70. package/dist/assets/{ExpenseAutomationOverviewPage-BwAaZVq3-lC8f8L2T.js → ExpenseAutomationOverviewPage-BojhuW5i-BvXr37wt.js} +1 -1
  71. package/dist/assets/{ExpenseAutomationPage-Cqiyk-AY-BD5tyT7-.js → ExpenseAutomationPage-D0BViJ7J-CWRMA15W.js} +44 -44
  72. package/dist/assets/{ExpressPayPage-D0lCczvw-B2Rp-VPl.js → ExpressPayPage-DdgtFYep-CUOKOoiC.js} +7 -7
  73. package/dist/assets/{FeaturePreviewPage-CxZIUB8l-Bcfcu7bL.js → FeaturePreviewPage-CW0YmOgl-bNGEnD-g.js} +1 -1
  74. package/dist/assets/{FollowStepsSection-CILr1_vc-CLgm2Hne.js → FollowStepsSection-BfnTsu_D-DwG4wG8g.js} +7 -7
  75. package/dist/assets/{GlobalReviewListPage-DL6H7PZG-U8XS5aLk.js → GlobalReviewListPage-C0U7Y6dI-BkEZ_PU4.js} +1 -1
  76. package/dist/assets/{HelpButton-CkSfhBfN-BPWTXFdl.js → HelpButton-DXFYhUL5-Co36EHOd.js} +1 -1
  77. package/dist/assets/{InformationCardStack-i76c5dym-DFWwTZfO.js → InformationCardStack-6BD3n76T-CKu_A2Jh.js} +2 -2
  78. package/dist/assets/{InsightsCardStack-wcWhovKK-DnGgdxv6.js → InsightsCardStack-CwxJP-ic-nmTxa9wo.js} +3 -3
  79. package/dist/assets/{InsightsSection-CCzgI0uK-VJ3ZyfK9.js → InsightsSection-DYyHpcUE-N_KvwWiO.js} +4 -4
  80. package/dist/assets/{IntegrationsSettingsPage-B2CDE2Xd-ohhBb_xY.js → IntegrationsSettingsPage-ZkvKZqwD-BFhl6nEA.js} +1 -1
  81. package/dist/assets/{InternationalWireSwiftDetailsPage-DNT75nXv-vcMWpbBe.js → InternationalWireSwiftDetailsPage-D3nyRM06-CLJCmyag.js} +1 -1
  82. package/dist/assets/{InternationalWireVerificationPage-BDxujQK--D_AwvW9Z.js → InternationalWireVerificationPage-BOdAP6dN-Bwjg3gOc.js} +1 -1
  83. package/dist/assets/{InviteFormPage-BnLBPR7X-Dr7Az14X.js → InviteFormPage-HJMhfa_f-tkS1HQ9G.js} +1 -1
  84. package/dist/assets/{InvitePageListView-7mhz_Fyy-DnVzZkxM.js → InvitePageListView-CjneWRfJ-Cqi-gRH8.js} +1 -1
  85. package/dist/assets/{InvitePeoplePage-B8gb9N_8-BkOhV9LS.js → InvitePeoplePage-By6TWsVZ-DcezDHDA.js} +2 -2
  86. package/dist/assets/{InvoiceUploadSection-Bes1nCJn-cQbyoy31.js → InvoiceUploadSection-CfAnZsV9-DBOTURQ6.js} +4 -4
  87. package/dist/assets/{IssueChargeCardPage-DC3yIsQd-CKHm2aDr.js → IssueChargeCardPage-pKF4dRNw-CboqmQ0I.js} +1 -1
  88. package/dist/assets/{LabeledAddressValue-Dtw8vM0g-Lr7x20Yy.js → LabeledAddressValue-UYEy_1W0-Ci2tufnL.js} +1 -1
  89. package/dist/assets/{LabeledAddressValueField-D72yUpQl-Df1WQsGJ.js → LabeledAddressValueField-BmSVDTMx-CBdRfhaZ.js} +1 -1
  90. package/dist/assets/{LabeledControlledCheckBoxField-BFaru2xf-BjoAdjoa.js → LabeledControlledCheckBoxField-BFnLx9E0-ozh3nGkA.js} +1 -1
  91. package/dist/assets/{LabeledCreatableSingleSelectField-CCXfjgxP-5vcIQ2Mo.js → LabeledCreatableSingleSelectField-Bh-cfR9F-Cgfy3beB.js} +1 -1
  92. package/dist/assets/{LabeledDocumentField-aYYBY16j-Bae_VgX4.js → LabeledDocumentField-YBoeNDoD-DV_I5uPN.js} +1 -1
  93. package/dist/assets/{LabeledDropDownFormattedTextField-Co7u6hHL-B32MBaMN.js → LabeledDropDownFormattedTextField-jrOUW9Ig-BtNHTfAs.js} +1 -1
  94. package/dist/assets/{LabeledText-BrOLGzO5-rL0tneCB.js → LabeledText-BqO1wHro-DuRorhx4.js} +1 -1
  95. package/dist/assets/{LabeledUserSingleSelectWithSubtitlesField-D-Huhkbq-BEOyGiLV.js → LabeledUserSingleSelectWithSubtitlesField-DiWgp4aE-C9gBIqih.js} +1 -1
  96. package/dist/assets/{LabeledZeniRolesDropDownField-WXH8xLJq-Dib2Yw_B.js → LabeledZeniRolesDropDownField-Cgy0v5oD-DVkREz_1.js} +1 -1
  97. package/dist/assets/{LinkJETransactionPage-NFV4Vo3i-9GCZH5U0.js → LinkJETransactionPage-PZAQ79zW-CK6GNIYR.js} +1 -1
  98. package/dist/assets/{LowBalancePopup-Bxkd2pBR-unK4Ye9z.js → LowBalancePopup-BYeSnxBp-BI_shW18.js} +1 -1
  99. package/dist/assets/{MagicLinkACHDetailsPage-BJFlUq7i-DCFJc6GZ.js → MagicLinkACHDetailsPage-D_FaPCmn-oM5m56GJ.js} +1 -1
  100. package/dist/assets/{MagicLinkDomesticWireDetailsPage-CTuaNol6-DlXeuNXQ.js → MagicLinkDomesticWireDetailsPage-rnZdulCr-CM2OhcqO.js} +1 -1
  101. package/dist/assets/{MagicLinkInternationalWireDetailsPage-L2dPsfWM-C9gEpXm2.js → MagicLinkInternationalWireDetailsPage-B7ScwCJc-hpVpOAMi.js} +1 -1
  102. package/dist/assets/{MagicLinkSuccessPage-DutanrSJ-CZQdge1Z.js → MagicLinkSuccessPage-DVhVWuCR-C1ELLMXO.js} +1 -1
  103. package/dist/assets/{MagicLinkTitleSection-5B8jYoBn-vdest58S.js → MagicLinkTitleSection-CjV-_WEQ-BZeg3Eo_.js} +1 -1
  104. package/dist/assets/{MailingDetailsSection-DwWeiSC0-pGk3-tya.js → MailingDetailsSection-CW6ShqHJ-CO_dTd-f.js} +1 -1
  105. package/dist/assets/{MeetingCalenderPopup-rC3PQdjG-B_4Eh-Cw.js → MeetingCalenderPopup-BhC8pSjM-Cnn0jkdk.js} +1 -1
  106. package/dist/assets/{Menu-CrSQ1yNo-c9Hi2HXE.js → Menu-LDwLOgxI-DZ0xBJbp.js} +1 -1
  107. package/dist/assets/{MyBankConnectionsSettingsPage-CJjW9ymP-BCaJojyo.js → MyBankConnectionsSettingsPage-BzxtuXEu-B9IXFZww.js} +1 -1
  108. package/dist/assets/{MyPendingActivationChargeCardListPage-CvxqOjc7-BzSOTZYH.js → MyPendingActivationChargeCardListPage-9jGJWmds-BAoE5bWC.js} +1 -1
  109. package/dist/assets/{MyProfileSettingsPage-BX5dXulH-m3N29QaR.js → MyProfileSettingsPage-9yk4H_yu-D2-h3k3L.js} +7 -7
  110. package/dist/assets/{NavBarWithPicker-CuVAj7o5-CP10D7f9.js → NavBarWithPicker-DUpJ0EXp-43gjuBbT.js} +1 -1
  111. package/dist/assets/{NavigationArrow-BPQ9vRqR-CBW2ZEmU.js → NavigationArrow-lL3Ug8Mk-CKQ_08MZ.js} +1 -1
  112. package/dist/assets/{NavigationDots-Toh5TKEv-OSyhnKRF.js → NavigationDots-6Q5ZVqKl-C4jKPBGn.js} +1 -1
  113. package/dist/assets/{NewGlobalMerchantPage-B4r1haCm-Ce2LoB6H.js → NewGlobalMerchantPage-nrWvsRy4-DbM5W8Wn.js} +1 -1
  114. package/dist/assets/{NoDataChart-CVM-QPHf-D5psvAcN.js → NoDataChart-DGbfWo33-CtNbg73S.js} +1 -1
  115. package/dist/assets/{NoDataTable-CM-tApqo-BIz-jCYp.js → NoDataTable-CsvWc_ok-iHpzgtD5.js} +1 -1
  116. package/dist/assets/{NotFoundPage-I-EBmx2b-CuWqLUY8.js → NotFoundPage-CzfiPkml-BQeqs7Av.js} +1 -1
  117. package/dist/assets/{NotificationSettingsPage-CtZ7hdMN-Wo1EzU2G.js → NotificationSettingsPage-Dmfqzy1H-CXBPPrT7.js} +6 -6
  118. package/dist/assets/{NotificationsListConfig-BAKipCDG-Cv91iO15.js → NotificationsListConfig-Cc3hEei0-BUGnkVM7.js} +1 -1
  119. package/dist/assets/{NotificationsPage-xyLmK3l7-BEJKDLky.js → NotificationsPage-BAj5p1zx-D_Mwv5JA.js} +1 -1
  120. package/dist/assets/{OpExByVendorPage-B63DEuJM-BDxjaGzg.js → OpExByVendorPage-CRt-VUTi-BSRoe6fS.js} +7 -7
  121. package/dist/assets/{OverlayContainerPage-C0rUb6-5-Ntu6HlKQ.js → OverlayContainerPage-C0rUb6-5-CpXI0Wjw.js} +1 -1
  122. package/dist/assets/{PandLWithForecastPage-uY-ajYp4-V0SHSx_P.js → PandLWithForecastPage-lT9GgcG2-Do2wpSYt.js} +5 -5
  123. package/dist/assets/{PaymentAccountSetupBillingAddressSection-DM9NYbmX-DUzBMAJl.js → PaymentAccountSetupBillingAddressSection-DY4eeS5C-DRjMzj0b.js} +4 -4
  124. package/dist/assets/{PeoplePage-DPZj6XeQ-CAELlX33.js → PeoplePage-CDQl7HVr-BdnTCUNW.js} +1 -1
  125. package/dist/assets/{PortfolioAllocationFormPage-De56plDa-DJkYrYNG.js → PortfolioAllocationFormPage-StMDGc2G-BtdTMk__.js} +3 -3
  126. package/dist/assets/{PortfolioDetails-DiITguNZ-Cq29R7Zz.js → PortfolioDetails-Dk_IIRuG-B_DxSJx7.js} +3 -3
  127. package/dist/assets/{ProductsCarousel-BojgZxY7-cwoMBxX7.js → ProductsCarousel-0-ksFQos-BOcG3c1-.js} +1 -1
  128. package/dist/assets/{PromoBaseCards-DPAkjdDp-Ep5C_mS4.js → PromoBaseCards-DNSnqS61-Al7XKWVe.js} +1 -1
  129. package/dist/assets/{QBOConnectionDialog-CzuH4c1o-ZsjLY4Mn.js → QBOConnectionDialog-BmIUfW_i-DCw1_Zjz.js} +4 -4
  130. package/dist/assets/{QBOSetupSection-DJBfLeXn-DeLZ9-CI.js → QBOSetupSection-BaNFiEPB-BQTYBa9Y.js} +1 -1
  131. package/dist/assets/{ReimbursementApprovalRuleDetailPage-CAcLCt68-z4GKwxQt.js → ReimbursementApprovalRuleDetailPage-CtTk4HV2-BFn-5msn.js} +1 -1
  132. package/dist/assets/{ReimbursementApprovalRulesPage-edz_6MDX-ElMfP5AN.js → ReimbursementApprovalRulesPage-IhKSiGK_-xDcDckpI.js} +1 -1
  133. package/dist/assets/{ReimbursementDetailPage-DD_GbfiV-CY9HB-Ai.js → ReimbursementDetailPage-B2rT1dKM-BvN3K25P.js} +4 -4
  134. package/dist/assets/{ReimbursementPromoPage-B_HZWdXi-YAVdtzTS.js → ReimbursementPromoPage-d7XBUzip-Baqr_9HR.js} +18 -18
  135. package/dist/assets/{ReimbursementSetUpPage-C0SNbg5D-BNH2r07u.js → ReimbursementSetUpPage-DWCUtN5c-B7jvTAZ2.js} +1 -1
  136. package/dist/assets/{ReimbursementsBulkReviewDrawerPage-NOK5jPjr-YNxBe6Vb.js → ReimbursementsBulkReviewDrawerPage-ByNvcTCn-CVr0tk48.js} +1 -1
  137. package/dist/assets/{ReloadCard-CqyGWGqs-6_Cif2Ll.js → ReloadCard-DZy28iWR-fdBnNVQp.js} +1 -1
  138. package/dist/assets/{ReportTableViewSelector-B8ZW0kxU-EaZ_XIvS.js → ReportTableViewSelector-DdZm4cOJ-noq_7l2G.js} +5 -5
  139. package/dist/assets/{ReportsPage-DdqQgvJt-f0a_FJwO.js → ReportsPage-CJDkY9FT-BvINYvTj.js} +1 -1
  140. package/dist/assets/{RevenueChart-QoBLII7z-Q1hk28a9.js → RevenueChart-B_jdFFPm-BXFiwU14.js} +1 -1
  141. package/dist/assets/{ReviewDetailsPage-BVoI7xF7-CnpSx4Tw.js → ReviewDetailsPage-DjPVGzeL-DLDIfiIY.js} +9 -9
  142. package/dist/assets/{ReviewOverlay-CbpylyCx-DTIV4D_3.js → ReviewOverlay-DGYnF07r-qnvuKuhQ.js} +6 -6
  143. package/dist/assets/{RoleWithToolTip-TxLTa63q-DKveW2Ky.js → RoleWithToolTip-VlYG_GPv-D1yDUHv7.js} +1 -1
  144. package/dist/assets/{ScheduleDetailsFixedAssetsPage-CuwxZJjj-BYS2pDbG.js → ScheduleDetailsFixedAssetsPage-oPFQEE8g-DGu6MDH1.js} +3 -3
  145. package/dist/assets/{ScheduleDetailsPage-u0VNz7hA-BjWj5NhD.js → ScheduleDetailsPage-BdBgJEAl-DNQIOTck.js} +1 -1
  146. package/dist/assets/{ScheduleSequenceTable-usJjTfAn-D29S5hbD.js → ScheduleSequenceTable-Ncft3mZN-BP3nA4Wm.js} +5 -5
  147. package/dist/assets/{ScreenRoutes-rw1o8MQs.js → ScreenRoutes-GKyBzI0O.js} +1 -1
  148. package/dist/assets/{SetUpAccountSection-DDe06VBR-DLpiHVvI.js → SetUpAccountSection-BrYiljyO-B0sFI8H-.js} +1 -1
  149. package/dist/assets/{SetUpDefaultSection-B6pcOXMO-CRtYcMT6.js → SetUpDefaultSection-B361ojb9-CxOpM9AT.js} +1 -1
  150. package/dist/assets/{SignIn-BdhV8PbY-BRh-EFuz.js → SignIn-B_-FUZwZ-DmmXPLIK.js} +1 -1
  151. package/dist/assets/{SignInScreen-BdMez8fF.js → SignInScreen-DXQE8i8n.js} +1 -1
  152. package/dist/assets/{SpendManagementListViewPage-DNgC__pX-Cd7FbCgo.js → SpendManagementListViewPage-XbjqwHXx-DUJaDID4.js} +3 -3
  153. package/dist/assets/{SpendManagementPerTabPage-BkiWOMch-CwEHEBT9.js → SpendManagementPerTabPage-D-4W-Ru9-BTwZxU7E.js} +8 -8
  154. package/dist/assets/{SpendManagementSection-DuR3sx7V-JrRKdD4x.js → SpendManagementSection-B7pMvj7Z-BAsdHFSu.js} +8 -8
  155. package/dist/assets/{SpendMgmtSetupAccountSection-DoUKX4Sf-DwQmG6qy.js → SpendMgmtSetupAccountSection-DdUs96r9-BtVu2Jjy.js} +1 -1
  156. package/dist/assets/{StatementItem-VYK0Vtgt-BBKdzXaY.js → StatementItem-B4DJRmwy-B3hGXxas.js} +1 -1
  157. package/dist/assets/{StatementsPage-CLxned7l-C4PScILv.js → StatementsPage-DzFEOmFA-wer7iddM.js} +1 -1
  158. package/dist/assets/{StatusSwitcher-Jqpvk1VX-CdG2mjou.js → StatusSwitcher-DGOwA8qO-D_gDSZQm.js} +1 -1
  159. package/dist/assets/{SubTabSwitcher-C7_JB54g-DSaKTJri.js → SubTabSwitcher-Be-6o_mE-CbWpxIAQ.js} +1 -1
  160. package/dist/assets/{SummaryCard-oqK_zyxl-DYQ4YzrX.js → SummaryCard-CD1amg78-BqcEBi2M.js} +1 -1
  161. package/dist/assets/{TaskManagementPage-BDOhB7Ny-DCim2j5x.js → TaskManagementPage-C2UYhTtL-BjeaDszl.js} +12 -12
  162. package/dist/assets/{TimeRangeSwitcher-AWKZ7PNb-sMHjfJ3K.js → TimeRangeSwitcher-DxAmlHGP-Bw1t8DbY.js} +2 -2
  163. package/dist/assets/{TimeframeSwitcher-BlL5woGb-B1qdJISl.js → TimeframeSwitcher-ndYSpUa6-BlrKZqFe.js} +1 -1
  164. package/dist/assets/{TimeframeSwitcherWithToggle-CRnWI6xW-P8bjGMFI.js → TimeframeSwitcherWithToggle-B3bxr-_s-BNVy54lX.js} +1 -1
  165. package/dist/assets/{TopExCard-B4T3kqhZ-Q7tG_J2k.js → TopExCard-CcpyunQ3-BaDgbdKx.js} +2 -2
  166. package/dist/assets/{TopExDetailPage-Cx9T3i9O-fVM1l1lt.js → TopExDetailPage-C_B0c8iP-ByXi3xQ5.js} +1 -1
  167. package/dist/assets/{TransactionDetailPage-CAGxHcQ9-BuC2Vxi4.js → TransactionDetailPage-DVPGLobu-DL-y5UIM.js} +23 -23
  168. package/dist/assets/{TransactionList-CVrK_-YB-CyqUr8En.js → TransactionList-CvGyadHZ-CKr6j1Ej.js} +1 -1
  169. package/dist/assets/{TransactionListBig-BnI6EofP-DpJRFiC_.js → TransactionListBig-BeZjYsO0-CWaiI9xM.js} +14 -14
  170. package/dist/assets/{TransactionListPage-vK6DdhrP-C7d8mvAu.js → TransactionListPage-C8h-sa3V-ISAOcRCi.js} +1 -1
  171. package/dist/assets/{TransactionVendorDetailPage-IyAfkyMv-BwtflFlU.js → TransactionVendorDetailPage-BcV8h3xR-BGD_XS9I.js} +6 -6
  172. package/dist/assets/{TransferDrawerPage-Bp0TG8fm-959WX7gB.js → TransferDrawerPage-B_AJgZWp-BgCFpQ-3.js} +1 -1
  173. package/dist/assets/{TreasuryOverviewPage-Cr1liTpc-CTqtlCQy.js → TreasuryOverviewPage-kG1jZF28-DFMfLtUz.js} +17 -17
  174. package/dist/assets/{TreasuryPromoPage-Da7l7gv8-DPF1lFAp.js → TreasuryPromoPage-Dy3ExIiy-DKLmlPyB.js} +9 -9
  175. package/dist/assets/{TreasurySetupPage-DLNsPnS8-S_4_ECXQ.js → TreasurySetupPage-Cjr-dp6O-D_HiOnt5.js} +1 -1
  176. package/dist/assets/{TreasuryStatementsPage-CNXxykvB-CBw5AysV.js → TreasuryStatementsPage-CzOSIKGQ-CtcTNklQ.js} +1 -1
  177. package/dist/assets/{TreasuryTaxLetterPage-DUbt8ItG-8rvpK6x5.js → TreasuryTaxLetterPage-CWLf1Zxq-BkcKbbtq.js} +1 -1
  178. package/dist/assets/{TreasuryTransferOrReviewPage-qxabbCrK-rO7uR-ni.js → TreasuryTransferOrReviewPage-C5F3fmoI-C6lOcQ5d.js} +8 -8
  179. package/dist/assets/{TrendChart-SOAxSpv2-BEwC2fOj.js → TrendChart-CtjfgQ9g-DU-bY5qU.js} +1 -1
  180. package/dist/assets/{TrendWithTransactions-BSQ2TJvu-DKoznMBK.js → TrendWithTransactions-SmcM2UIp-SwKmDId5.js} +5 -5
  181. package/dist/assets/{UncategorizedAccountsMappingPage-Caf242zp-C5DipiQT.js → UncategorizedAccountsMappingPage-CXoadwja-CEPslaD_.js} +7 -7
  182. package/dist/assets/{UnitIntegrationPage-Bvc4wx_r-BnaXEQW-.js → UnitIntegrationPage-wYQVQqP7-CMNCVZiN.js} +1 -1
  183. package/dist/assets/{UploadAdditionalDocumentOverlay-BTEhwmVL-BU3VE2l2.js → UploadAdditionalDocumentOverlay-8_c7UpvB-74BXxoUO.js} +1 -1
  184. package/dist/assets/{Vendor2FAPopup-DimcegQ_-ZwSJtWxA.js → Vendor2FAPopup-DtNSOXbK-B54GFzKj.js} +1 -1
  185. package/dist/assets/{VendorACHDetailsPage-BOIRRgCy-BviefvlH.js → VendorACHDetailsPage-zNbGGe4q-8GlI6jYy.js} +1 -1
  186. package/dist/assets/{VendorDetailPage-CWcqMMpT-qMwE-rI0.js → VendorDetailPage-Cv-MG9iR-l4dRK0G1.js} +1 -1
  187. package/dist/assets/{VendorDomesticWireDetailsPage-9C2CIkhB-BOtPtDU5.js → VendorDomesticWireDetailsPage-BkqtoYAw-CtX9mSuC.js} +1 -1
  188. package/dist/assets/{VendorFiling1099EditablePage-Crz_WLRG-Bw34V4gU.js → VendorFiling1099EditablePage-DYJudj3c-DQ_wjKTT.js} +5 -5
  189. package/dist/assets/{VendorFirstReviewPage-hQ0U61KD-BzfMdPso.js → VendorFirstReviewPage-BNFIAB9n-BN6v_Gep.js} +1 -1
  190. package/dist/assets/{VendorInternationalWireDetailsPage-mm1qIXTf-Byl1FySa.js → VendorInternationalWireDetailsPage-DHa8JoNl-BRi2UVJj.js} +1 -1
  191. package/dist/assets/{VendorInternationalWireSwiftDetailsPage-BaOsJGNO-DK_12j59.js → VendorInternationalWireSwiftDetailsPage-a5nSOMXK-BxkY5s8d.js} +1 -1
  192. package/dist/assets/{VendorsAccountsSection-CGbDIAMd-DWeBvssx.js → VendorsAccountsSection-DwDGbjey-Bypo8ABo.js} +2 -2
  193. package/dist/assets/{WarningsDrawerPage-7DzlUfv7-DXPYNehY.js → WarningsDrawerPage-CaSTx_8h-B-9jNZQU.js} +1 -1
  194. package/dist/assets/{ZeniAccountDetailPage-B_U4d2iv-DJdTSWpj.js → ZeniAccountDetailPage-BSOpxKiJ-Bcu_9TPK.js} +6 -6
  195. package/dist/assets/{ZeniAccountListViewPage-C2Yej3tG-BZm1pAj2.js → ZeniAccountListViewPage-CZM1ODEE-CvbySLjB.js} +6 -6
  196. package/dist/assets/{ZeniAccountNavBarPieces-DsWyZL7N-CM8u2fkO.js → ZeniAccountNavBarPieces-CjNAr1N9-HkSrs5G-.js} +1 -1
  197. package/dist/assets/{ZeniAccountPromoPage-D6S3o6xA-C5TfP5fB.js → ZeniAccountPromoPage-PcyNGe7A-BLBuAvub.js} +9 -9
  198. package/dist/assets/{ZeniAccountSetupPage-YpW9LEB1-CT5yKJDM.js → ZeniAccountSetupPage-DhJ2zm6A-CuFLGcXY.js} +1 -1
  199. package/dist/assets/{ZeniCopyright-Buv4_0jF-etRFVvK1.js → ZeniCopyright-CSUSID-7-DBheoLGB.js} +1 -1
  200. package/dist/assets/{ZeniTransferAmountSlider-CvuOgkEg-DnX0NID_.js → ZeniTransferAmountSlider-DPl7porw-Dl84FVK1.js} +1 -1
  201. package/dist/assets/{analyticsHelper-B3QVnfWf-H0h_HtBm.js → analyticsHelper-Cex5LOMD-Dxu2vm4u.js} +1 -1
  202. package/dist/assets/{analyticsHelper-BV5qlrBL.js → analyticsHelper-CpvxdbQV.js} +1 -1
  203. package/dist/assets/{chartTypes-DYAHlgKd-CIoUHagw.js → chartTypes-Df8u7la0-CtDbCz1y.js} +1 -1
  204. package/dist/assets/{commonDimensions-Pkc8qIrn-C51PkztX.js → commonDimensions-OJhakpB_-Bbp60BrB.js} +1 -1
  205. package/dist/assets/{detailCommon-CsukAL3T-C9Odjb8X.js → detailCommon-4wAnHr6n-CdRaYMXz.js} +4 -4
  206. package/dist/assets/{downloadPdf-DlKRXI5W-DRbhwI4R.js → downloadPdf-D02UNVHu-DqpjG06G.js} +1 -1
  207. package/dist/assets/{index-CChR0tlr.js → index-DTlzo6Yx.js} +512 -512
  208. package/dist/assets/{mapLoadingInProgressToTreeNode-KYsp1YPe-DkDU3yOy.js → mapLoadingInProgressToTreeNode-HsZI6Bdg-DBYPe0Tb.js} +1 -1
  209. package/dist/assets/{mapSectionWithAcOnlyToTreeNode-t5fK12Uc-BPcBM_s6.js → mapSectionWithAcOnlyToTreeNode-B9KMXCTi-cXLO9gFn.js} +1 -1
  210. package/dist/assets/{mapSpacerToTreeNode-1YBqnFwa-BCpUJJfk.js → mapSpacerToTreeNode-BIZ_jwXi-CRlgAghX.js} +1 -1
  211. package/dist/assets/{mapTimeframeBalancesToTreeNode-DD1v-gTG-CovxzaSA.js → mapTimeframeBalancesToTreeNode-BOFrVlzJ-4iwTY3Ct.js} +1 -1
  212. package/dist/assets/{play-icon-19dLaWkG-DVrAniBi.js → play-icon-BDRoJBSV-DFuHei9M.js} +1 -1
  213. package/dist/assets/{toCOABalancesWithID-B8NxsLlK-BQM05QqO.js → toCOABalancesWithID-RJhTPgAt-Cci2ybt-.js} +1 -1
  214. package/dist/assets/{toChartData-CxZEcdj_-DkdJt_zk.js → toChartData-K68FB3Iy-nDeLE4ni.js} +1 -1
  215. package/dist/assets/{treasuryColorHelper-BqwCUN2u-u6_A3p-Z.js → treasuryColorHelper-DjASf5JB-DoMbQSj9.js} +1 -1
  216. package/dist/assets/{uploadAttachment-CHFo3qZI-D3BXDi9p.js → uploadAttachment-D7Rju7jS-SY7cBnUt.js} +1 -1
  217. package/dist/assets/{uploadReceipts-Buvz7DfG-CWJGX5ku.js → uploadReceipts-Buvz7DfG-JDslMarZ.js} +1 -1
  218. package/dist/index.html +1 -1
  219. package/package.json +2 -2
  220. package/dist/assets/ApprovalRulesSettingsPage-CFCbNOcB-DTKgg2MT.js +0 -47
  221. package/dist/assets/ChargeCardPromoPage-CiwWzvym-DqCOZpsp.js +0 -175
  222. package/dist/assets/CustomerOnboardingContainerPage-DEDQrgtq-CEuEcH5A.js +0 -1
@@ -1,4 +1,4 @@
1
- import{X as P,u as Ae,a5 as ca,a as da,c3 as pa,M as k,j as a,aW as ma,F as ua,c4 as ha,l as V,a7 as fa,C as m,c5 as xa,a6 as Ce,o as t,t as ae,c6 as z,c7 as ze,c8 as L,c9 as ya,ca as qe,cb as ga,cc as ba,cd as Ue,y as $a,ce as wa,cf as He,cg as Ge,ch as Ia,ci as ja,cj as va,g as N,ck as Sa,cl as Da,aM as Oa,a9 as Ca,as as U,cm as Fe,q as p,v as Ze,K as Me,cn as Fa,H as ka,co as Ta,cp as Na,b1 as Pa,cq as La,ah as za,cr as Ma,m as Ea,b2 as R,cs as Va,r as de,a$ as Ba}from"./index-CChR0tlr.js";import{b as _,n as s,f as Wa,k as _a}from"./vendor-CnQcJ2Lu.js";import{I as Ke}from"./LabeledCreatableSingleSelectField-CCXfjgxP-5vcIQ2Mo.js";import{Y as Xe}from"./LabeledDocumentField-aYYBY16j-Bae_VgX4.js";import{$ as Je}from"./LabeledAddressValue-Dtw8vM0g-Lr7x20Yy.js";import"./mui-C5LQ0bMa.js";import"./analytics-DThoELaW.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";const Qe={maxWidth:new m(280,340),contentMaxWidth:new m(200,255)},Ra=_a`
1
+ import{X as P,u as Ae,a5 as ca,a as da,c3 as pa,M as k,j as a,aW as ma,F as ua,c4 as ha,l as V,a7 as fa,C as m,c5 as xa,a6 as Ce,o as t,t as ae,c6 as z,c7 as ze,c8 as L,c9 as ga,ca as qe,cb as ya,cc as ba,cd as Ue,V as $a,ce as wa,cf as He,cg as Ge,ch as Ia,ci as ja,cj as va,g as N,ck as Sa,cl as Da,aM as Oa,a9 as Ca,as as U,cm as Fe,q as p,v as Ze,K as Me,cn as Fa,D as ka,co as Ta,cp as Na,b1 as Pa,cq as La,ah as za,cr as Ma,m as Ea,b2 as R,cs as Va,r as de,a$ as Ba}from"./index-DTlzo6Yx.js";import{b as _,n as s,f as Wa,k as _a}from"./vendor-CnQcJ2Lu.js";import{I as Ke}from"./LabeledCreatableSingleSelectField-Bh-cfR9F-Cgfy3beB.js";import{Y as Xe}from"./LabeledDocumentField-YBoeNDoD-DV_I5uPN.js";import{$ as Je}from"./LabeledAddressValue-UYEy_1W0-Ci2tufnL.js";import"./mui-C5LQ0bMa.js";import"./analytics-DThoELaW.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";const Qe={maxWidth:new m(280,340),contentMaxWidth:new m(200,255)},Ra=_a`
2
2
  0% {
3
3
  transform: translateX(100%)
4
4
  }
@@ -47,7 +47,7 @@ import{X as P,u as Ae,a5 as ca,a as da,c3 as pa,M as k,j as a,aW as ma,F as ua,c
47
47
  &:hover {
48
48
  color: ${N.primaryDark};
49
49
  }
50
- `,Xa=e=>{const o=k.getLocalizedStrings().companyPassport.snackBar;return e==="Error"?o.failedText:o.successText};function Ja(e){const o=P(),{fetchState:l,onRemoveSnackbar:i}=e;_.useEffect(()=>{setTimeout(i,5e3)});const n=k.getLocalizedStrings().companyPassport.snackBar,c=l==="Completed";return a.jsxs(Ya,{windowSize:o,children:[c?a.jsx(Aa,{}):a.jsx(qa,{}),a.jsxs(Ga,{windowSize:o,children:[a.jsx(Za,{isSuccess:c,children:c?n.success:n.error}),a.jsx(Ua,{children:a.jsx(Ha,{children:Xa(l)})})]}),a.jsx(Ka,{onClick:i,children:a.jsx(Ce,{})})]})}const ne={labelWidth:new m(110,145,180),largeLabelWidth:new m(150,215,215),largeLabelDocumentWidth:new m(150,210,252),paddingBottom:new m(p[3],p[2])};function Qa(e){const o=P(),[l,i]=_.useState(!1),{companyPassport:n,commonSetUp:{businessVerification:c},common:{documents:f}}=k.getLocalizedStrings(),{fileProps:d,companyFiles:r,deleteFileStatusById:u,updateFileStatusById:y,sectionId:b,isDisabled:h,companyIncInfo:$,style:I}=e,D=ne.labelWidth.value(o),j=ne.largeLabelWidth.value(o),g=ne.largeLabelDocumentWidth.value(o),{dateFormat:{visual:O},companyPassport:S}=k.getLocalizedStrings(),x=r.find(X=>X.documentType==="certificate_of_incorporation"),B=o==="small"?n.companyIncInfo.stateOfIncPlaceholderSmall:n.companyIncInfo.stateOfIncPlaceholder,me=o==="small"?n.companyIncInfo.typeOfIncPlaceholderSmall:n.companyIncInfo.typeOfIncPlaceholder;return a.jsxs(et,{style:I,children:[a.jsx(tt,{children:n.companyIncInfo.title}),a.jsxs(at,{children:[a.jsx(Ke,{label:{label:S.companyIncInfo.typeOfInc,width:j},isDisabled:h,creatableSingleSelectField:{name:re(b,"typeOfInc"),placeholder:me,defaultValue:{selectedOption:$?.typeOfInc,allOptions:n.companyIncInfo.allTypesOfIncorporation}}}),a.jsx(he,{}),a.jsx(ga,{label:{label:S.companyIncInfo.stateOfInc,width:j},isDisabled:h,singleSelectField:{name:re(b,"stateOfInc"),placeholder:B,defaultValue:{selectedOption:$?.stateOfInc,allOptions:n.companyIncInfo.allStatesOfIncorporation}}}),a.jsx(he,{}),a.jsx(ba,{isDisabled:h,label:{label:n.companyIncInfo.incDate,width:D},style:{paddingBottom:ne.paddingBottom.valuePx(o)},dateField:{name:re(b,"incDate"),placeholder:L(n.companyIncInfo.incDate),defaultValue:$?.incDate,dateFormat:O.defaultInput,maxDate:V.dateNow(),minDate:V.zeniDate("01 Jan 1900"),autoComplete:"off"}}),a.jsx(he,{}),a.jsx(Xe,{name:re(b,"certificateOfIncorporation"),isDisabled:h,sizeLimit:Ue,deleteFileStatusById:u,updateFileStatusById:y,filesEndPoint:d.filesEndPoint,authParams:d.authParams,label:{label:c.certificateOfIncorporation,width:g},filemetadataPayload:{documentType:"certificate_of_incorporation",purposeId:"business_verification",documentSide:"front"},file:x,acceptableTypes:["image/jpg","image/jpeg","image/png","application/pdf","image/heic","image/heif"],registerOptions:{required:!1},hasError:l,updateFilesEntity:d.updateFilesEntity,onEditFileName:d.onEditFileName,onDeleteFile:d.onDeleteFile,onFileSizeError:X=>i(X)}),a.jsx(ot,{windowSize:o,isError:l,children:f.formatDocumentText10MB})]})]})}const re=(e,o)=>`${e}.${o}`,et=s.div`
50
+ `,Xa=e=>{const o=k.getLocalizedStrings().companyPassport.snackBar;return e==="Error"?o.failedText:o.successText};function Ja(e){const o=P(),{fetchState:l,onRemoveSnackbar:i}=e;_.useEffect(()=>{setTimeout(i,5e3)});const n=k.getLocalizedStrings().companyPassport.snackBar,c=l==="Completed";return a.jsxs(Ya,{windowSize:o,children:[c?a.jsx(Aa,{}):a.jsx(qa,{}),a.jsxs(Ga,{windowSize:o,children:[a.jsx(Za,{isSuccess:c,children:c?n.success:n.error}),a.jsx(Ua,{children:a.jsx(Ha,{children:Xa(l)})})]}),a.jsx(Ka,{onClick:i,children:a.jsx(Ce,{})})]})}const ne={labelWidth:new m(110,145,180),largeLabelWidth:new m(150,215,215),largeLabelDocumentWidth:new m(150,210,252),paddingBottom:new m(p[3],p[2])};function Qa(e){const o=P(),[l,i]=_.useState(!1),{companyPassport:n,commonSetUp:{businessVerification:c},common:{documents:f}}=k.getLocalizedStrings(),{fileProps:d,companyFiles:r,deleteFileStatusById:u,updateFileStatusById:g,sectionId:b,isDisabled:h,companyIncInfo:$,style:I}=e,D=ne.labelWidth.value(o),j=ne.largeLabelWidth.value(o),y=ne.largeLabelDocumentWidth.value(o),{dateFormat:{visual:O},companyPassport:S}=k.getLocalizedStrings(),x=r.find(X=>X.documentType==="certificate_of_incorporation"),B=o==="small"?n.companyIncInfo.stateOfIncPlaceholderSmall:n.companyIncInfo.stateOfIncPlaceholder,me=o==="small"?n.companyIncInfo.typeOfIncPlaceholderSmall:n.companyIncInfo.typeOfIncPlaceholder;return a.jsxs(et,{style:I,children:[a.jsx(tt,{children:n.companyIncInfo.title}),a.jsxs(at,{children:[a.jsx(Ke,{label:{label:S.companyIncInfo.typeOfInc,width:j},isDisabled:h,creatableSingleSelectField:{name:re(b,"typeOfInc"),placeholder:me,defaultValue:{selectedOption:$?.typeOfInc,allOptions:n.companyIncInfo.allTypesOfIncorporation}}}),a.jsx(he,{}),a.jsx(ya,{label:{label:S.companyIncInfo.stateOfInc,width:j},isDisabled:h,singleSelectField:{name:re(b,"stateOfInc"),placeholder:B,defaultValue:{selectedOption:$?.stateOfInc,allOptions:n.companyIncInfo.allStatesOfIncorporation}}}),a.jsx(he,{}),a.jsx(ba,{isDisabled:h,label:{label:n.companyIncInfo.incDate,width:D},style:{paddingBottom:ne.paddingBottom.valuePx(o)},dateField:{name:re(b,"incDate"),placeholder:L(n.companyIncInfo.incDate),defaultValue:$?.incDate,dateFormat:O.defaultInput,maxDate:V.dateNow(),minDate:V.zeniDate("01 Jan 1900"),autoComplete:"off"}}),a.jsx(he,{}),a.jsx(Xe,{name:re(b,"certificateOfIncorporation"),isDisabled:h,sizeLimit:Ue,deleteFileStatusById:u,updateFileStatusById:g,filesEndPoint:d.filesEndPoint,authParams:d.authParams,label:{label:c.certificateOfIncorporation,width:y},filemetadataPayload:{documentType:"certificate_of_incorporation",purposeId:"business_verification",documentSide:"front"},file:x,acceptableTypes:["image/jpg","image/jpeg","image/png","application/pdf","image/heic","image/heif"],registerOptions:{required:!1},hasError:l,updateFilesEntity:d.updateFilesEntity,onEditFileName:d.onEditFileName,onDeleteFile:d.onDeleteFile,onFileSizeError:X=>i(X)}),a.jsx(ot,{windowSize:o,isError:l,children:f.formatDocumentText10MB})]})]})}const re=(e,o)=>`${e}.${o}`,et=s.div`
51
51
  display: flex;
52
52
  flex-direction: column;
53
53
  padding-top: ${t.sp3};
@@ -112,7 +112,7 @@ import{X as P,u as Ae,a5 as ca,a as da,c3 as pa,M as k,j as a,aW as ma,F as ua,c
112
112
  border-bottom-left-radius: inherit;
113
113
  border-bottom-right-radius: inherit;
114
114
  }
115
- `,fe={labelWidth:new m(110,110,140),mediumLabelWidth:new m(140,140,160),largeLabelWidth:new m(170,170,180)},{companyPassport:v,dateFormat:{analytics:Ee}}=k.getLocalizedStrings();function ct({companyViewData:e,allIndustries:o,companyInfo:l,companyAddress:i,sectionId:n,isDisabled:c,onCompanyAddressClick:f,style:d}){const r=P(),u=e.company.company.companyInfo,y=fe.labelWidth.value(r),b=fe.mediumLabelWidth.value(r),h=fe.largeLabelWidth.value(r),$=r==="small"?v.companyInfo.businessModelPlaceholderSmall:v.companyInfo.businessModelPlaceholder,I=D=>o.find(j=>j.code===D)?.name??D;return a.jsxs(pt,{style:d,children:[a.jsx(ut,{children:v.companyInfo.title}),a.jsxs(mt,{children:[a.jsx(z,{isDisabled:c,label:{label:v.companyInfo.companyName,width:h},text:{type:"text",name:G(n,"companyName"),placeholder:L(v.companyInfo.companyName),defaultValue:l?.companyName,autoComplete:"new-password",options:{required:!!u.name,pattern:ze}}}),a.jsx(q,{}),a.jsx(z,{isDisabled:c,label:{label:v.companyInfo.legalName,width:b},text:{type:"text",name:G(n,"legalName"),placeholder:L(v.companyInfo.legalName),defaultValue:l?.legalName,autoComplete:"new-password",options:{required:!!u.companyLegalName,pattern:ze}}}),a.jsx(q,{}),a.jsx(z,{isDisabled:c,label:{label:v.companyInfo.website,width:y},text:{type:"url",name:G(n,"website"),placeholder:L(v.companyInfo.website),defaultValue:l?.website?.toString()??"",autoComplete:"new-password"}}),a.jsx(q,{}),a.jsx(ya,{label:{label:v.companyInfo.industry,width:y},singleSelectField:{singleSelect:{name:G(n,"industry"),placeholder:v.companyInfo.industryPlaceholder,showValueEyeIcon:!1,showEyeIconOnSelect:!1,getLabelForId:I,isDisabled:c,showTickMark:!1},defaultValue:{selectedOption:l?.industry,allOptions:o?.map(D=>D.code)??[]}},isFunctional:!0}),a.jsx(q,{}),a.jsx(Ke,{isDisabled:c,label:{label:v.companyInfo.businessModel,width:h},creatableSingleSelectField:{name:G(n,"businessModel"),placeholder:$,defaultValue:{selectedOption:l?.businessModel,allOptions:v.companyInfo.allBusinessModels}}}),a.jsx(q,{}),a.jsx(Je,{isDisabled:c,label:{label:v.companyInfo.address,width:y},addressValue:{placeholder:L(v.companyInfo.address),address:i?.addressToCreate,onClick:()=>f("company_address")}}),a.jsx(q,{}),a.jsx(qe,{isDisabled:c,label:{label:v.companyInfo.phone,width:y},text:{name:G(n,"phone"),placeholder:L(v.companyInfo.phone),defaultValue:l?.phone,autoComplete:"new-password"}}),a.jsx(q,{}),a.jsx(pe,{label:{label:v.companyInfo.fiscalYear,width:y},bullettedLabels:{labels:[{text:dt(l?.firstMonthOfFY??1)}],listStyleType:"none"}})]})]})}const dt=e=>{const{fiscalYearMonths:o}=V.getFYMonths(e);return`${V.dateNow().month(o[0]-1).format(Ee.MMMFormat)} to ${V.dateNow().month(o[11]-1).format(Ee.MMMFormat)}`},G=(e,o)=>`${e}.${o}`,pt=s.div`
115
+ `,fe={labelWidth:new m(110,110,140),mediumLabelWidth:new m(140,140,160),largeLabelWidth:new m(170,170,180)},{companyPassport:v,dateFormat:{analytics:Ee}}=k.getLocalizedStrings();function ct({companyViewData:e,allIndustries:o,companyInfo:l,companyAddress:i,sectionId:n,isDisabled:c,onCompanyAddressClick:f,style:d}){const r=P(),u=e.company.company.companyInfo,g=fe.labelWidth.value(r),b=fe.mediumLabelWidth.value(r),h=fe.largeLabelWidth.value(r),$=r==="small"?v.companyInfo.businessModelPlaceholderSmall:v.companyInfo.businessModelPlaceholder,I=D=>o.find(j=>j.code===D)?.name??D;return a.jsxs(pt,{style:d,children:[a.jsx(ut,{children:v.companyInfo.title}),a.jsxs(mt,{children:[a.jsx(z,{isDisabled:c,label:{label:v.companyInfo.companyName,width:h},text:{type:"text",name:G(n,"companyName"),placeholder:L(v.companyInfo.companyName),defaultValue:l?.companyName,autoComplete:"new-password",options:{required:!!u.name,pattern:ze}}}),a.jsx(q,{}),a.jsx(z,{isDisabled:c,label:{label:v.companyInfo.legalName,width:b},text:{type:"text",name:G(n,"legalName"),placeholder:L(v.companyInfo.legalName),defaultValue:l?.legalName,autoComplete:"new-password",options:{required:!!u.companyLegalName,pattern:ze}}}),a.jsx(q,{}),a.jsx(z,{isDisabled:c,label:{label:v.companyInfo.website,width:g},text:{type:"url",name:G(n,"website"),placeholder:L(v.companyInfo.website),defaultValue:l?.website?.toString()??"",autoComplete:"new-password"}}),a.jsx(q,{}),a.jsx(ga,{label:{label:v.companyInfo.industry,width:g},singleSelectField:{singleSelect:{name:G(n,"industry"),placeholder:v.companyInfo.industryPlaceholder,showValueEyeIcon:!1,showEyeIconOnSelect:!1,getLabelForId:I,isDisabled:c,showTickMark:!1},defaultValue:{selectedOption:l?.industry,allOptions:o?.map(D=>D.code)??[]}},isFunctional:!0}),a.jsx(q,{}),a.jsx(Ke,{isDisabled:c,label:{label:v.companyInfo.businessModel,width:h},creatableSingleSelectField:{name:G(n,"businessModel"),placeholder:$,defaultValue:{selectedOption:l?.businessModel,allOptions:v.companyInfo.allBusinessModels}}}),a.jsx(q,{}),a.jsx(Je,{isDisabled:c,label:{label:v.companyInfo.address,width:g},addressValue:{placeholder:L(v.companyInfo.address),address:i?.addressToCreate,onClick:()=>f("company_address")}}),a.jsx(q,{}),a.jsx(qe,{isDisabled:c,label:{label:v.companyInfo.phone,width:g},text:{name:G(n,"phone"),placeholder:L(v.companyInfo.phone),defaultValue:l?.phone,autoComplete:"new-password"}}),a.jsx(q,{}),a.jsx(pe,{label:{label:v.companyInfo.fiscalYear,width:g},bullettedLabels:{labels:[{text:dt(l?.firstMonthOfFY??1)}],listStyleType:"none"}})]})]})}const dt=e=>{const{fiscalYearMonths:o}=V.getFYMonths(e);return`${V.dateNow().month(o[0]-1).format(Ee.MMMFormat)} to ${V.dateNow().month(o[11]-1).format(Ee.MMMFormat)}`},G=(e,o)=>`${e}.${o}`,pt=s.div`
116
116
  display: flex;
117
117
  flex-direction: column;
118
118
  padding-top: ${t.sp3};
@@ -133,7 +133,7 @@ import{X as P,u as Ae,a5 as ca,a as da,c3 as pa,M as k,j as a,aW as ma,F as ua,c
133
133
  background-color: ${e=>e.theme.colors.grey3};
134
134
  min-height: 1px;
135
135
  max-height: 1px;
136
- `,be={labelWidth:new m(110,110,140),buttonWidth:new m(70,70)};function ht({sectionId:e,isDisabled:o,style:l,officer:i,officerAddress:n,isEmptyCompanyOfficerSection:c,onOfficerAddressClick:f}){const d=P(),r=k.getLocalizedStrings().companyPassport,u=be.labelWidth.value(d),y=c&&(i==null||!i.firstName&&!i.lastName&&!i.phone&&!i.email&&!n),b=i?.userId==null||i?.userId==="";return a.jsxs(bt,{style:l,children:[a.jsx(He,{isDisabled:o,label:{label:r.companyOfficer.name,width:u},nameField:{name:xe(e,"name"),placeHolder:{firstName:r.companyOfficer.firstNamePlaceholder,lastName:r.companyOfficer.lastNamePlaceholder,name:r.companyOfficer.namePlaceholder},defaultValue:{firstName:i?.firstName??"",lastName:i?.lastName??""},autoComplete:"new-password",registerOptions:{required:y!==!0},showFullNameError:!0}}),a.jsx(ye,{}),a.jsx(z,{isDisabled:b?o:"readonly",label:{label:r.companyOfficer.email,width:u},text:{type:"email",name:xe(e,"email"),placeholder:L(r.companyOfficer.email),options:{required:y===!0?!1:b},defaultValue:i?.email,autoComplete:"new-password"}}),a.jsx(ye,{}),a.jsx(Je,{isDisabled:o,label:{label:r.companyInfo.address,width:u},addressValue:{placeholder:L(r.companyOfficer.address),address:n?.addressToCreate,onClick:()=>{f(i?.officerType.toLocaleLowerCase().concat("_address"))}}}),a.jsx(ye,{}),a.jsx(qe,{isDisabled:o,label:{label:r.companyOfficer.phone,width:u},text:{name:xe(e,"phone"),placeholder:L(r.companyOfficer.phone),defaultValue:i?.phone,autoComplete:"new-password"}})]})}function ft({companyOfficers:e,sectionId:o,style:l,isDisabled:i,onOfficerAddressClick:n}){const{setValue:c,getValues:f}=Ge(),[d,r]=_.useState(-1),u=k.getLocalizedStrings().companyPassport,y=e.length,b=e.length===1&&e[0].localData?.userId==null,h=f(o),$=()=>{const g={userId:void 0,officerType:`Officer_${y+1}`,name:{firstName:"",lastName:""},email:"",phone:""};c(o,[...h,g])},I=g=>{if(e[g].localData==null||!e[g].localData?.firstName&&!e[g].localData?.lastName&&!e[g].localData?.phone&&!e[g].localData?.email&&!e[g].addressStatus?.addressToCreate){const O=h.filter((S,x)=>x!==d);c(o,O),r(-1)}else r(g)},D=()=>{r(-1)},j=()=>{const g=h.filter((O,S)=>S!==d);c(o,g),r(-1)};return a.jsxs(gt,{style:l,children:[a.jsx($t,{children:u.companyOfficer.title}),e.map((g,O)=>{const S=g.localData,x=g.addressStatus,B=S?.userId==null||S?.userId==="";return a.jsxs(wt,{children:[(y>1||B)&&!b?a.jsx(xt,{curIndex:O,isNewUser:B,numberOfOfficers:y,deleteConfirmationIndex:d,isDisabled:i,onDeleteClick:I,onCancelClick:D,onRemoveOfficerSection:j}):null,a.jsx(ht,{sectionId:`${o}.${O}`,officer:S,officerAddress:x,isDisabled:i,isEmptyCompanyOfficerSection:b,onOfficerAddressClick:n})]},S?.officerType)}),y<=9&&!b?a.jsx(yt,{isSectionDisabled:i,onAddOfficerSection:$}):a.jsx($e,{})]})}const xt=({curIndex:e,isNewUser:o,numberOfOfficers:l,deleteConfirmationIndex:i,isDisabled:n,onDeleteClick:c,onCancelClick:f,onRemoveOfficerSection:d})=>{const r=P(),u=k.getLocalizedStrings().companyPassport;return a.jsxs(It,{children:[a.jsx(jt,{children:l>1?`${u.companyOfficer.officer} ${e+1}`:""}),o&&n==null?i===e?a.jsx(Ct,{children:a.jsxs(Ft,{children:[u.companyOfficer.deleteConfirmation,a.jsx(Me,{label:u.cancel,onClick:f,style:{width:be.buttonWidth.value(r),marginLeft:t.sp4,marginRight:t.sp3},size:"small",variant:"secondary"}),a.jsx(Me,{label:u.remove,onClick:d,style:{width:be.buttonWidth.value(r)},size:"small",variant:"danger"})]})}):a.jsx(Ot,{className:"delete-icon-wrapper",onClick:()=>c(e),children:a.jsx(Fa,{width:p[3],height:p[3],color:N.important})}):null]})},yt=({isSectionDisabled:e,onAddOfficerSection:o})=>{const l=k.getLocalizedStrings().companyPassport;return e!=null?a.jsx($e,{}):a.jsxs(a.Fragment,{children:[a.jsxs(vt,{onClick:o,children:[a.jsx(St,{}),a.jsx(Dt,{children:l.companyOfficer.addOfficer})]}),a.jsx($e,{})]})},xe=(e,o)=>`${e}.${o}`,gt=s.div`
136
+ `,be={labelWidth:new m(110,110,140),buttonWidth:new m(70,70)};function ht({sectionId:e,isDisabled:o,style:l,officer:i,officerAddress:n,isEmptyCompanyOfficerSection:c,onOfficerAddressClick:f}){const d=P(),r=k.getLocalizedStrings().companyPassport,u=be.labelWidth.value(d),g=c&&(i==null||!i.firstName&&!i.lastName&&!i.phone&&!i.email&&!n),b=i?.userId==null||i?.userId==="";return a.jsxs(bt,{style:l,children:[a.jsx(He,{isDisabled:o,label:{label:r.companyOfficer.name,width:u},nameField:{name:xe(e,"name"),placeHolder:{firstName:r.companyOfficer.firstNamePlaceholder,lastName:r.companyOfficer.lastNamePlaceholder,name:r.companyOfficer.namePlaceholder},defaultValue:{firstName:i?.firstName??"",lastName:i?.lastName??""},autoComplete:"new-password",registerOptions:{required:g!==!0},showFullNameError:!0}}),a.jsx(ge,{}),a.jsx(z,{isDisabled:b?o:"readonly",label:{label:r.companyOfficer.email,width:u},text:{type:"email",name:xe(e,"email"),placeholder:L(r.companyOfficer.email),options:{required:g===!0?!1:b},defaultValue:i?.email,autoComplete:"new-password"}}),a.jsx(ge,{}),a.jsx(Je,{isDisabled:o,label:{label:r.companyInfo.address,width:u},addressValue:{placeholder:L(r.companyOfficer.address),address:n?.addressToCreate,onClick:()=>{f(i?.officerType.toLocaleLowerCase().concat("_address"))}}}),a.jsx(ge,{}),a.jsx(qe,{isDisabled:o,label:{label:r.companyOfficer.phone,width:u},text:{name:xe(e,"phone"),placeholder:L(r.companyOfficer.phone),defaultValue:i?.phone,autoComplete:"new-password"}})]})}function ft({companyOfficers:e,sectionId:o,style:l,isDisabled:i,onOfficerAddressClick:n}){const{setValue:c,getValues:f}=Ge(),[d,r]=_.useState(-1),u=k.getLocalizedStrings().companyPassport,g=e.length,b=e.length===1&&e[0].localData?.userId==null,h=f(o),$=()=>{const y={userId:void 0,officerType:`Officer_${g+1}`,name:{firstName:"",lastName:""},email:"",phone:""};c(o,[...h,y])},I=y=>{if(e[y].localData==null||!e[y].localData?.firstName&&!e[y].localData?.lastName&&!e[y].localData?.phone&&!e[y].localData?.email&&!e[y].addressStatus?.addressToCreate){const O=h.filter((S,x)=>x!==d);c(o,O),r(-1)}else r(y)},D=()=>{r(-1)},j=()=>{const y=h.filter((O,S)=>S!==d);c(o,y),r(-1)};return a.jsxs(yt,{style:l,children:[a.jsx($t,{children:u.companyOfficer.title}),e.map((y,O)=>{const S=y.localData,x=y.addressStatus,B=S?.userId==null||S?.userId==="";return a.jsxs(wt,{children:[(g>1||B)&&!b?a.jsx(xt,{curIndex:O,isNewUser:B,numberOfOfficers:g,deleteConfirmationIndex:d,isDisabled:i,onDeleteClick:I,onCancelClick:D,onRemoveOfficerSection:j}):null,a.jsx(ht,{sectionId:`${o}.${O}`,officer:S,officerAddress:x,isDisabled:i,isEmptyCompanyOfficerSection:b,onOfficerAddressClick:n})]},S?.officerType)}),g<=9&&!b?a.jsx(gt,{isSectionDisabled:i,onAddOfficerSection:$}):a.jsx($e,{})]})}const xt=({curIndex:e,isNewUser:o,numberOfOfficers:l,deleteConfirmationIndex:i,isDisabled:n,onDeleteClick:c,onCancelClick:f,onRemoveOfficerSection:d})=>{const r=P(),u=k.getLocalizedStrings().companyPassport;return a.jsxs(It,{children:[a.jsx(jt,{children:l>1?`${u.companyOfficer.officer} ${e+1}`:""}),o&&n==null?i===e?a.jsx(Ct,{children:a.jsxs(Ft,{children:[u.companyOfficer.deleteConfirmation,a.jsx(Me,{label:u.cancel,onClick:f,style:{width:be.buttonWidth.value(r),marginLeft:t.sp4,marginRight:t.sp3},size:"small",variant:"secondary"}),a.jsx(Me,{label:u.remove,onClick:d,style:{width:be.buttonWidth.value(r)},size:"small",variant:"danger"})]})}):a.jsx(Ot,{className:"delete-icon-wrapper",onClick:()=>c(e),children:a.jsx(Fa,{width:p[3],height:p[3],color:N.important})}):null]})},gt=({isSectionDisabled:e,onAddOfficerSection:o})=>{const l=k.getLocalizedStrings().companyPassport;return e!=null?a.jsx($e,{}):a.jsxs(a.Fragment,{children:[a.jsxs(vt,{onClick:o,children:[a.jsx(St,{}),a.jsx(Dt,{children:l.companyOfficer.addOfficer})]}),a.jsx($e,{})]})},xe=(e,o)=>`${e}.${o}`,yt=s.div`
137
137
  display: flex;
138
138
  flex-direction: column;
139
139
  padding-top: ${t.sp3};
@@ -203,13 +203,13 @@ import{X as P,u as Ae,a5 as ca,a as da,c3 as pa,M as k,j as a,aW as ma,F as ua,c
203
203
  display: flex;
204
204
  `,Ft=s(ae)`
205
205
  color: ${e=>e.theme.colors.hero};
206
- `,ye=s.div`
206
+ `,ge=s.div`
207
207
  display: flex;
208
208
  flex: 1;
209
209
  background-color: ${e=>e.theme.colors.grey3};
210
210
  min-height: 1px;
211
211
  max-height: 1px;
212
- `,kt=({name:e,registerOptions:o,defaultValue:l,isDisabled:i,style:n,placeholder:c})=>{const{control:f,formState:{errors:d}}=Ge(),r=Ae(),u=Ta(d,e??""),y={container:h=>({...h,width:"100%",...n}),menu:h=>({...h,backgroundColor:r.colors.grey5,borderRadius:t.sp1,boxShadow:`${t.sp0} 2px ${t.sp2} ${r.colors.dropShadowHover}`,whiteSpace:"nowrap",zIndex:2,width:"100%",margin:0}),menuList:h=>({...h,borderRadius:0})},b={hasError:u};return a.jsx(Na,{name:e,control:f,defaultValue:l,rules:o,render:({field:{onChange:h,onBlur:$,value:I,ref:D}})=>a.jsx(Pa,{...b,ref:D,isMulti:!0,isSearchable:!0,isClearable:!0,controlShouldRenderValue:!0,placeholder:c,value:Ve(I.selectedOptions),options:Ve(I.allOptions),onChange:j=>{h({selectedOptions:j.map(g=>g.value),allOptions:I.allOptions})},tabSelectsValue:!1,openMenuOnFocus:!0,classNamePrefix:"multi-select-field",onBlur:$,menuPlacement:"auto",maxMenuHeight:288,menuShouldScrollIntoView:!1,closeMenuOnSelect:!1,components:{Control:Tt,Option:Bt,Input:Pt,MultiValue:Lt,MultiValueLabel:zt,MultiValueRemove:Mt,ValueContainer:Nt,DropdownIndicator:Gt,IndicatorSeparator:Zt,Placeholder:Vt,ClearIndicator:Et},hideSelectedOptions:!1,styles:y,isDisabled:i!=null})})},Tt=e=>{const{menuIsOpen:o,isFocused:l,isDisabled:i,selectProps:n}=e,{value:c,hasError:f}=n;return a.jsx(Wt,{menuIsOpen:o,isFocused:l,isDisabled:i,optionsLen:c.length,hasError:f,children:a.jsx(R.Control,{...e,className:"select-control",children:e.children})})},Nt=e=>{const{selectProps:o}=e,{value:l}=o;return a.jsxs(R.ValueContainer,{...e,className:"select-value-container",children:[e.children,a.jsx(_t,{className:"selected-options",children:l.map(i=>i.value).join(", ")})]})},Pt=e=>{const{selectProps:o}=e,{placeholder:l,value:i}=o;return a.jsx(R.Input,{...e,autoComplete:"new-password",placeholder:i.length===0?l:void 0,children:e.children})},Lt=e=>a.jsx(R.MultiValue,{...e,children:e.children}),zt=e=>{const{data:o}=e;return a.jsx(R.MultiValueLabel,{...e,children:o.value})},Mt=e=>a.jsx(R.MultiValueRemove,{...e,children:a.jsx(ea,{style:{marginTop:"2px"}})}),Et=e=>a.jsx(R.ClearIndicator,{...e,children:a.jsx(ea,{})}),Vt=()=>null,Bt=e=>{const{isSelected:o,isDisabled:l,isFocused:i}=e;return a.jsx(Rt,{isFocused:i,isSelected:o,isDisabled:l,children:a.jsx(R.Option,{...e,className:"select-option",children:a.jsxs(Yt,{children:[a.jsx(qt,{children:a.jsx(At,{isSelected:o,isDisabled:l,children:e.label})}),o?a.jsxs(Ut,{children:[a.jsx(Ht,{className:"right-tick-icon"}),a.jsx(Ce,{className:"close-tick-icon"})]}):null]})})})},Wt=s.div`
212
+ `,kt=({name:e,registerOptions:o,defaultValue:l,isDisabled:i,style:n,placeholder:c})=>{const{control:f,formState:{errors:d}}=Ge(),r=Ae(),u=Ta(d,e??""),g={container:h=>({...h,width:"100%",...n}),menu:h=>({...h,backgroundColor:r.colors.grey5,borderRadius:t.sp1,boxShadow:`${t.sp0} 2px ${t.sp2} ${r.colors.dropShadowHover}`,whiteSpace:"nowrap",zIndex:2,width:"100%",margin:0}),menuList:h=>({...h,borderRadius:0})},b={hasError:u};return a.jsx(Na,{name:e,control:f,defaultValue:l,rules:o,render:({field:{onChange:h,onBlur:$,value:I,ref:D}})=>a.jsx(Pa,{...b,ref:D,isMulti:!0,isSearchable:!0,isClearable:!0,controlShouldRenderValue:!0,placeholder:c,value:Ve(I.selectedOptions),options:Ve(I.allOptions),onChange:j=>{h({selectedOptions:j.map(y=>y.value),allOptions:I.allOptions})},tabSelectsValue:!1,openMenuOnFocus:!0,classNamePrefix:"multi-select-field",onBlur:$,menuPlacement:"auto",maxMenuHeight:288,menuShouldScrollIntoView:!1,closeMenuOnSelect:!1,components:{Control:Tt,Option:Bt,Input:Pt,MultiValue:Lt,MultiValueLabel:zt,MultiValueRemove:Mt,ValueContainer:Nt,DropdownIndicator:Gt,IndicatorSeparator:Zt,Placeholder:Vt,ClearIndicator:Et},hideSelectedOptions:!1,styles:g,isDisabled:i!=null})})},Tt=e=>{const{menuIsOpen:o,isFocused:l,isDisabled:i,selectProps:n}=e,{value:c,hasError:f}=n;return a.jsx(Wt,{menuIsOpen:o,isFocused:l,isDisabled:i,optionsLen:c.length,hasError:f,children:a.jsx(R.Control,{...e,className:"select-control",children:e.children})})},Nt=e=>{const{selectProps:o}=e,{value:l}=o;return a.jsxs(R.ValueContainer,{...e,className:"select-value-container",children:[e.children,a.jsx(_t,{className:"selected-options",children:l.map(i=>i.value).join(", ")})]})},Pt=e=>{const{selectProps:o}=e,{placeholder:l,value:i}=o;return a.jsx(R.Input,{...e,autoComplete:"new-password",placeholder:i.length===0?l:void 0,children:e.children})},Lt=e=>a.jsx(R.MultiValue,{...e,children:e.children}),zt=e=>{const{data:o}=e;return a.jsx(R.MultiValueLabel,{...e,children:o.value})},Mt=e=>a.jsx(R.MultiValueRemove,{...e,children:a.jsx(ea,{style:{marginTop:"2px"}})}),Et=e=>a.jsx(R.ClearIndicator,{...e,children:a.jsx(ea,{})}),Vt=()=>null,Bt=e=>{const{isSelected:o,isDisabled:l,isFocused:i}=e;return a.jsx(Rt,{isFocused:i,isSelected:o,isDisabled:l,children:a.jsx(R.Option,{...e,className:"select-option",children:a.jsxs(Yt,{children:[a.jsx(qt,{children:a.jsx(At,{isSelected:o,isDisabled:l,children:e.label})}),o?a.jsxs(Ut,{children:[a.jsx(Ht,{className:"right-tick-icon"}),a.jsx(Ce,{className:"close-tick-icon"})]}):null]})})})},Wt=s.div`
213
213
  width: 100%;
214
214
  background-color: ${e=>e.theme.colors.grey5};
215
215
  cursor: ${e=>e.isDisabled?"not-allowed":"pointer"};
@@ -436,7 +436,7 @@ import{X as P,u as Ae,a5 as ca,a as da,c3 as pa,M as k,j as a,aW as ma,F as ua,c
436
436
  background-color: ${e=>e.isDisabled?e.theme.colors.grey5:e.theme.colors.background};
437
437
  }
438
438
  }
439
- `,Be={labelWidth:new m(160,160,160),largeLabelWidth:new m(150,215,215)};function Qt(e){const o=P(),l=$a(),[i,n]=_.useState(!1),{companyPassport:c,commonSetUp:{businessVerification:f},common:{documents:d}}=k.getLocalizedStrings(),{fileProps:r,companyFiles:u,deleteFileStatusById:y,updateFileStatusById:b,sectionId:h,isDisabled:$,companyTaxInfo:I,style:D}=e,j=Be.labelWidth.value(o),g=Be.largeLabelWidth.value(o),O=!V.hasAdminLevelAccess(l.loggedInUserRole??[]),S=u.find(x=>x.documentType==="tax_ein");return a.jsxs(eo,{style:D,children:[a.jsx(to,{children:c.companyTaxInfo.title}),a.jsxs(ao,{children:[a.jsx(z,{isDisabled:$,label:{label:c.companyTaxInfo.taxIdOrEIN,width:j},text:{type:"text",name:Z(h,"taxIdOrEIN"),placeholder:c.companyTaxInfo.taxIdOrEINPlaceholder,defaultValue:O===!0?c.protectedContent:I?.taxIdOrEIN,options:{pattern:wa},autoComplete:"new-password"},protectedInfoText:O===!0?c.companyTaxInfo.adminPrivilegeRequired:void 0}),a.jsx(ee,{}),a.jsx(z,{isDisabled:$,label:{label:c.companyTaxInfo.dunsNumber,width:j},text:{type:"text",name:Z(h,"dunsNumber"),placeholder:c.companyTaxInfo.dunsNumberPlaceholder,defaultValue:I?.dunsNumber,options:{pattern:/^\d{9}$/},autoComplete:"new-password"}}),a.jsx(ee,{}),a.jsx(z,{isDisabled:$,label:{label:c.companyTaxInfo.naicsCode,width:j},text:{type:"text",name:Z(h,"naicsCode"),placeholder:c.companyTaxInfo.naicsCodePlaceholder,defaultValue:I?.naicsCode,options:{pattern:/^([2-9]{1}[0-9]{1}|[1-9]{1}[1-9]{1})\d{0,4}$/},autoComplete:"new-password"}}),a.jsx(ee,{}),a.jsx(z,{isDisabled:$,label:{label:c.companyTaxInfo.sicCode,width:j},text:{type:"text",name:Z(h,"sicCode"),placeholder:c.companyTaxInfo.sicCodePlaceholder,defaultValue:I?.sicCode,options:{pattern:/^\d{2,4}$/},autoComplete:"new-password"}}),a.jsx(ee,{}),a.jsx(Xt,{isDisabled:$,label:{label:c.companyTaxInfo.taxesFiledYears,width:j},multiSelectField:{name:Z(h,"taxesFiledYears"),placeholder:c.companyTaxInfo.taxesFiledYearsPlaceholder,defaultValue:{selectedOptions:I?.taxesFiledYears.map(x=>x.toString())??[],allOptions:V.getYearsList().map(x=>x.toString())}}}),a.jsx(ee,{}),a.jsx(Xe,{name:Z(h,"einDocument"),isDisabled:$,sizeLimit:Ue,deleteFileStatusById:y,updateFileStatusById:b,filesEndPoint:r.filesEndPoint,authParams:r.authParams,label:{label:f.einDocument,width:g},filemetadataPayload:{documentType:"tax_ein",purposeId:"business_verification",documentSide:"front"},file:S,acceptableTypes:["image/jpg","image/jpeg","image/png","application/pdf","image/heic","image/heif"],registerOptions:{required:!1},hasError:i,updateFilesEntity:r.updateFilesEntity,onEditFileName:r.onEditFileName,onDeleteFile:r.onDeleteFile,onFileSizeError:x=>n(x)}),a.jsx(oo,{windowSize:o,isError:i,children:d.formatDocumentText10MB})]})]})}const Z=(e,o)=>`${e}.${o}`,eo=s.div`
439
+ `,Be={labelWidth:new m(160,160,160),largeLabelWidth:new m(150,215,215)};function Qt(e){const o=P(),l=$a(),[i,n]=_.useState(!1),{companyPassport:c,commonSetUp:{businessVerification:f},common:{documents:d}}=k.getLocalizedStrings(),{fileProps:r,companyFiles:u,deleteFileStatusById:g,updateFileStatusById:b,sectionId:h,isDisabled:$,companyTaxInfo:I,style:D}=e,j=Be.labelWidth.value(o),y=Be.largeLabelWidth.value(o),O=!V.hasAdminLevelAccess(l.loggedInUserRole??[]),S=u.find(x=>x.documentType==="tax_ein");return a.jsxs(eo,{style:D,children:[a.jsx(to,{children:c.companyTaxInfo.title}),a.jsxs(ao,{children:[a.jsx(z,{isDisabled:$,label:{label:c.companyTaxInfo.taxIdOrEIN,width:j},text:{type:"text",name:Z(h,"taxIdOrEIN"),placeholder:c.companyTaxInfo.taxIdOrEINPlaceholder,defaultValue:O===!0?c.protectedContent:I?.taxIdOrEIN,options:{pattern:wa},autoComplete:"new-password"},protectedInfoText:O===!0?c.companyTaxInfo.adminPrivilegeRequired:void 0}),a.jsx(ee,{}),a.jsx(z,{isDisabled:$,label:{label:c.companyTaxInfo.dunsNumber,width:j},text:{type:"text",name:Z(h,"dunsNumber"),placeholder:c.companyTaxInfo.dunsNumberPlaceholder,defaultValue:I?.dunsNumber,options:{pattern:/^\d{9}$/},autoComplete:"new-password"}}),a.jsx(ee,{}),a.jsx(z,{isDisabled:$,label:{label:c.companyTaxInfo.naicsCode,width:j},text:{type:"text",name:Z(h,"naicsCode"),placeholder:c.companyTaxInfo.naicsCodePlaceholder,defaultValue:I?.naicsCode,options:{pattern:/^([2-9]{1}[0-9]{1}|[1-9]{1}[1-9]{1})\d{0,4}$/},autoComplete:"new-password"}}),a.jsx(ee,{}),a.jsx(z,{isDisabled:$,label:{label:c.companyTaxInfo.sicCode,width:j},text:{type:"text",name:Z(h,"sicCode"),placeholder:c.companyTaxInfo.sicCodePlaceholder,defaultValue:I?.sicCode,options:{pattern:/^\d{2,4}$/},autoComplete:"new-password"}}),a.jsx(ee,{}),a.jsx(Xt,{isDisabled:$,label:{label:c.companyTaxInfo.taxesFiledYears,width:j},multiSelectField:{name:Z(h,"taxesFiledYears"),placeholder:c.companyTaxInfo.taxesFiledYearsPlaceholder,defaultValue:{selectedOptions:I?.taxesFiledYears.map(x=>x.toString())??[],allOptions:V.getYearsList().map(x=>x.toString())}}}),a.jsx(ee,{}),a.jsx(Xe,{name:Z(h,"einDocument"),isDisabled:$,sizeLimit:Ue,deleteFileStatusById:g,updateFileStatusById:b,filesEndPoint:r.filesEndPoint,authParams:r.authParams,label:{label:f.einDocument,width:y},filemetadataPayload:{documentType:"tax_ein",purposeId:"business_verification",documentSide:"front"},file:S,acceptableTypes:["image/jpg","image/jpeg","image/png","application/pdf","image/heic","image/heif"],registerOptions:{required:!1},hasError:i,updateFilesEntity:r.updateFilesEntity,onEditFileName:r.onEditFileName,onDeleteFile:r.onDeleteFile,onFileSizeError:x=>n(x)}),a.jsx(oo,{windowSize:o,isError:i,children:d.formatDocumentText10MB})]})]})}const Z=(e,o)=>`${e}.${o}`,eo=s.div`
440
440
  display: flex;
441
441
  flex-direction: column;
442
442
  padding-top: ${t.sp3};
@@ -509,7 +509,7 @@ import{X as P,u as Ae,a5 as ca,a as da,c3 as pa,M as k,j as a,aW as ma,F as ua,c
509
509
  justify-content: flex-end;
510
510
  display: flex;
511
511
  padding: 0 ${t.sp3};
512
- `,xo=e=>{const{users:o,style:l}=e;return a.jsx(fo,{style:l,children:o.length!==0?o.filter(i=>!!i.firstName||!!i.lastName).map(i=>a.jsxs(po,{children:[a.jsx(ho,{children:`${i.firstName} ${i.lastName}`}),a.jsx(Va,{name:`${i.firstName} ${i.lastName}`,size:t.sp4})]},i.userId)):a.jsx(uo,{})})},E={width:new m(343,580,726),height:new m(p[6],p[6]),controlHeight:new m(p[6],p[6]),paddingTopBottom:new m(p[2],p[2]),marginRight:new m(p[2],p[2]),labelMarginLeft:new m(p[3],p[4]),labelMarginRight:new m(p[3],p[4]),labelMarginTop:new m(p[2],p[2])};function yo({isDisabled:e,label:o,avatarLabels:l,style:i}){const n=P();return a.jsxs(bo,{size:n,style:i,children:[a.jsx(Fe,{isDisabled:e,label:o.label,style:{marginLeft:E.labelMarginLeft.value(n),marginRight:E.labelMarginRight.value(n),marginTop:E.labelMarginTop.value(n),width:o.width??"auto"}}),a.jsx(xo,{users:l.users,style:{minHeight:E.controlHeight.value(n),display:"flex",flexGrow:1,flexFlow:"row wrap",maxWidth:o.width!=null?`calc(100% - ${o.width}px)`:"auto",...l.style}})]})}const go=Wa.memo(yo,ka),bo=s.div`
512
+ `,xo=e=>{const{users:o,style:l}=e;return a.jsx(fo,{style:l,children:o.length!==0?o.filter(i=>!!i.firstName||!!i.lastName).map(i=>a.jsxs(po,{children:[a.jsx(ho,{children:`${i.firstName} ${i.lastName}`}),a.jsx(Va,{name:`${i.firstName} ${i.lastName}`,size:t.sp4})]},i.userId)):a.jsx(uo,{})})},E={width:new m(343,580,726),height:new m(p[6],p[6]),controlHeight:new m(p[6],p[6]),paddingTopBottom:new m(p[2],p[2]),marginRight:new m(p[2],p[2]),labelMarginLeft:new m(p[3],p[4]),labelMarginRight:new m(p[3],p[4]),labelMarginTop:new m(p[2],p[2])};function go({isDisabled:e,label:o,avatarLabels:l,style:i}){const n=P();return a.jsxs(bo,{size:n,style:i,children:[a.jsx(Fe,{isDisabled:e,label:o.label,style:{marginLeft:E.labelMarginLeft.value(n),marginRight:E.labelMarginRight.value(n),marginTop:E.labelMarginTop.value(n),width:o.width??"auto"}}),a.jsx(xo,{users:l.users,style:{minHeight:E.controlHeight.value(n),display:"flex",flexGrow:1,flexFlow:"row wrap",maxWidth:o.width!=null?`calc(100% - ${o.width}px)`:"auto",...l.style}})]})}const yo=Wa.memo(go,ka),bo=s.div`
513
513
  display: flex;
514
514
  flex-direction: row;
515
515
  align-items: flex-start;
@@ -529,7 +529,7 @@ import{X as P,u as Ae,a5 as ca,a as da,c3 as pa,M as k,j as a,aW as ma,F as ua,c
529
529
  border-bottom-left-radius: inherit;
530
530
  border-bottom-right-radius: inherit;
531
531
  }
532
- `,ge={labelWidth:new m(100,100,140),mediumLabelWidth:new m(140,150,160),largeLabelWidth:new m(160,180,180)};function $o({data:e,companyInfo:o,sectionId:l,isDisabled:i,isZeniUser:n,onScheduleClick:c}){const f=P(),{companyPassport:d,dateFormat:{visual:r}}=k.getLocalizedStrings(),u=ge.labelWidth.value(f),y=ge.mediumLabelWidth.value(f),b=ge.largeLabelWidth.value(f),h=e.company.company,{controllers:$,subscriptions:I}=e,{managementInfo:D}=h,j=f==="small"?d.zeniFinanceTeam.scheduleCallPlaceholderSmall:d.zeniFinanceTeam.scheduleCallPlaceholder,g=I.filter(x=>x.plan?.plan.name!=null).map(x=>({text:x.plan?.plan.name,subText:x.subscription.subscription.startDate.format(r.MMMDCommaYYYYformat)})),O=Ia(I.map(x=>x.addOns.map(B=>({text:B.addOn.name,subText:x.subscription.subscription.startDate.format(r.MMMDCommaYYYYformat)})))),S=D.receiverEmails.map(x=>({text:x}));return a.jsxs(Io,{children:[a.jsx(vo,{children:d.zeniFinanceTeam.title}),a.jsxs(jo,{children:[a.jsx(go,{label:{label:d.zeniFinanceTeam.controller,width:y},avatarLabels:{users:$.map(x=>x.user)}}),a.jsx(ce,{}),n===!0?a.jsx(z,{isDisabled:i,label:{label:d.zeniFinanceTeam.scheduleCall,width:y},text:{type:"text",name:wo(l,"meetingLink"),placeholder:j,defaultValue:o?.meetingLink?.toString()??"",autoComplete:"new-password",options:{pattern:ja}}}):o?.meetingLink!=null?a.jsx(va,{label:{label:d.zeniFinanceTeam.scheduleCall,width:y},button:{buttonTitle:d.zeniFinanceTeam.schedule,onClick:()=>c(o.meetingLink)}}):null,S.length>0?a.jsxs(a.Fragment,{children:[a.jsx(ce,{}),a.jsx(pe,{label:{label:d.zeniFinanceTeam.emailUs,width:u},bullettedLabels:{labels:S,listStyleType:"none"}})]}):null,g.length>0?a.jsxs(a.Fragment,{children:[a.jsx(ce,{}),a.jsx(pe,{label:{label:d.zeniFinanceTeam.subscriptionPlans,width:b},bullettedLabels:{labels:g,listStyleType:"none"}})]}):null,O.length>0?a.jsxs(a.Fragment,{children:[a.jsx(ce,{}),a.jsx(pe,{label:{label:d.zeniFinanceTeam.addons,width:y},bullettedLabels:{labels:O,listStyleType:"none"}})]}):null]})]})}const wo=(e,o)=>`${e}.${o}`,Io=s.div`
532
+ `,ye={labelWidth:new m(100,100,140),mediumLabelWidth:new m(140,150,160),largeLabelWidth:new m(160,180,180)};function $o({data:e,companyInfo:o,sectionId:l,isDisabled:i,isZeniUser:n,onScheduleClick:c}){const f=P(),{companyPassport:d,dateFormat:{visual:r}}=k.getLocalizedStrings(),u=ye.labelWidth.value(f),g=ye.mediumLabelWidth.value(f),b=ye.largeLabelWidth.value(f),h=e.company.company,{controllers:$,subscriptions:I}=e,{managementInfo:D}=h,j=f==="small"?d.zeniFinanceTeam.scheduleCallPlaceholderSmall:d.zeniFinanceTeam.scheduleCallPlaceholder,y=I.filter(x=>x.plan?.plan.name!=null).map(x=>({text:x.plan?.plan.name,subText:x.subscription.subscription.startDate.format(r.MMMDCommaYYYYformat)})),O=Ia(I.map(x=>x.addOns.map(B=>({text:B.addOn.name,subText:x.subscription.subscription.startDate.format(r.MMMDCommaYYYYformat)})))),S=D.receiverEmails.map(x=>({text:x}));return a.jsxs(Io,{children:[a.jsx(vo,{children:d.zeniFinanceTeam.title}),a.jsxs(jo,{children:[a.jsx(yo,{label:{label:d.zeniFinanceTeam.controller,width:g},avatarLabels:{users:$.map(x=>x.user)}}),a.jsx(ce,{}),n===!0?a.jsx(z,{isDisabled:i,label:{label:d.zeniFinanceTeam.scheduleCall,width:g},text:{type:"text",name:wo(l,"meetingLink"),placeholder:j,defaultValue:o?.meetingLink?.toString()??"",autoComplete:"new-password",options:{pattern:ja}}}):o?.meetingLink!=null?a.jsx(va,{label:{label:d.zeniFinanceTeam.scheduleCall,width:g},button:{buttonTitle:d.zeniFinanceTeam.schedule,onClick:()=>c(o.meetingLink)}}):null,S.length>0?a.jsxs(a.Fragment,{children:[a.jsx(ce,{}),a.jsx(pe,{label:{label:d.zeniFinanceTeam.emailUs,width:u},bullettedLabels:{labels:S,listStyleType:"none"}})]}):null,y.length>0?a.jsxs(a.Fragment,{children:[a.jsx(ce,{}),a.jsx(pe,{label:{label:d.zeniFinanceTeam.subscriptionPlans,width:b},bullettedLabels:{labels:y,listStyleType:"none"}})]}):null,O.length>0?a.jsxs(a.Fragment,{children:[a.jsx(ce,{}),a.jsx(pe,{label:{label:d.zeniFinanceTeam.addons,width:g},bullettedLabels:{labels:O,listStyleType:"none"}})]}):null]})]})}const wo=(e,o)=>`${e}.${o}`,Io=s.div`
533
533
  display: flex;
534
534
  flex-direction: column;
535
535
  padding-top: ${t.sp3};
@@ -550,7 +550,7 @@ import{X as P,u as Ae,a5 as ca,a as da,c3 as pa,M as k,j as a,aW as ma,F as ua,c
550
550
  background-color: ${e=>e.theme.colors.grey3};
551
551
  min-height: 1px;
552
552
  max-height: 1px;
553
- `,we={width:new m(343,580,726),buttonWidth:new m(85,85)},_e="companyPassportPage",Ie="companyInfo",je="companyIncInfo",ve="companyTaxInfo",Se="primaryContact",De="companyOfficer",Oe="zeniFinanceTeam";function Wo(e){const o=P(),l=Ae(),{companyPassportView:i,isZeniUser:n,filesEndPoint:c,authParams:f,allIndustries:d,isDisabled:r,isSettings:u=!1,onCompanyDetailsChanged:y,onCompanyOfficerUpdated:b,onNewCompanyOfficerAdded:h,onPrimaryContactDetailsUpdated:$,onNewCompanyOfficerRemoved:I,onSaveAll:D,onAddressClick:j,onScheduleClick:g,onBackClick:O,onResetClick:S,onEditFileName:x,updateFilesEntity:B,onDeleteFile:me,onClickMenuIcon:X}=e,{companyView:J,localData:H,deleteFileStatusById:ke,updateFileStatusById:Te}=i,{companyFiles:te}=H,Ne={authParams:f,filesEndPoint:c,onEditFileName:x,onDeleteFile:me,updateFilesEntity:B},[Q,oe]=_.useState(void 0),{companyDetails:aa,primaryContact:ta,companyOfficerUpdateStatus:oa,updateStatus:Y}=H,{localData:le,addressStatus:la}=aa,Pe=ca(Y.fetchState),ie=Object.values(oa).filter(T=>T.localData!=null),W=da({mode:"all",defaultValues:Ye(H,d)});_.useEffect(()=>()=>{oe(void 0)},[]),_.useEffect(()=>{Pe==="In-Progress"&&(Y.fetchState==="Completed"||Y.fetchState==="Error")&&(W.reset(Ye(H,d)),Q!==Y.fetchState&&oe(Y.fetchState))},[Q,W,Pe,Y,H,J,d,te]);const ia=async(T,w)=>{if(T.includes(Ie)||T.includes(je)||T.includes(ve)||T.includes(Oe)){const{companyInfo:C,companyIncInfo:F,companyTaxInfo:A,zeniFinanceTeam:ue}=w;y({companyInfo:C,incInfo:F,taxDetails:A,zeniFinanceTeam:ue})}else if(T.includes(Se)){$(w.primaryContact);const C=w.companyOfficer.map(F=>F.userId);if(w.primaryContact.userId!=null&&C.includes(w.primaryContact.userId)){const F=C.findIndex(A=>A===w.primaryContact.userId);F>=0&&b({...w.companyOfficer[F],name:w.primaryContact.name,officerType:`Officer_${F+1}`})}}else if(T.includes(De)){const C=parseInt(T.split(".")[1]);if(C>=0)b({...w.companyOfficer[C],officerType:`Officer_${C+1}`}),w.companyOfficer[C].userId!=null&&w.companyOfficer[C].userId===w.primaryContact.userId&&$({...w.primaryContact,name:w.companyOfficer[C].name});else if(w.companyOfficer.length>ie.length){const F=w.companyOfficer[w.companyOfficer.length-1];h(F)}else{const F=w.companyOfficer.filter(A=>A.officerType!=null);if(F.length<ie.length){const A=F.map((ue,ra)=>{const Le={...ue,officerType:`Officer_${ra+1}`};return b(Le),Le});F.length<ie.length&&(I(`Officer_${F.length+1}`),W.reset({companyOfficer:A}))}}}};_.useEffect(()=>{const T=W.watch((w,{name:C})=>{C!=null&&w!=null&&pa(()=>ia(C,w))});return()=>{T.unsubscribe()}});const sa=W.handleSubmit(T=>{Q!=null&&oe(void 0),D()}),{companyPassport:se,common:{settings:na}}=k.getLocalizedStrings();if(J==null)throw new Error("Company View is null");return a.jsxs(So,{children:[a.jsx(ma,{title:se.title,backgroundColor:l.colors.grey4,style:{zIndex:3},onBackClick:O,showBackButton:!u,showMenuIcon:u?o==="medium-compact"||o==="small":!1,source:"CompanyPassportPage",onClickMenuIcon:X}),Q!=null?a.jsx(Ja,{fetchState:Q,onRemoveSnackbar:()=>oe(void 0)}):null,a.jsxs(Do,{children:[a.jsx(Oo,{windowSize:o,children:u?na.infoText.companyDetails:se.quickAccessInfo}),a.jsx(ua,{...W,children:a.jsxs("form",{id:Re(_e),onSubmit:sa,children:[a.jsx(ct,{sectionId:Ie,companyInfo:le?.companyInfo,companyViewData:J,companyAddress:la,isDisabled:r,onCompanyAddressClick:j,allIndustries:d}),a.jsx(Qa,{sectionId:je,updateFileStatusById:Te,deleteFileStatusById:ke,companyFiles:te,companyIncInfo:le?.incInfo,fileProps:Ne,isDisabled:r}),a.jsx(Qt,{sectionId:ve,updateFileStatusById:Te,deleteFileStatusById:ke,companyFiles:te,companyTaxInfo:le?.taxDetails,fileProps:Ne,isDisabled:r}),a.jsx(io,{sectionId:Se,primaryContact:ta.localData,isDisabled:r}),a.jsx(ft,{companyOfficers:ie,sectionId:De,isDisabled:r,onOfficerAddressClick:j}),a.jsx($o,{data:J,companyInfo:le?.companyInfo,isDisabled:r,isZeniUser:n,sectionId:Oe,onScheduleClick:g})]})})]}),ha(W.formState.dirtyFields)||V.isCompanyPassportDataToBeSaved(H,J,te)?a.jsx(fa,{formId:Re(_e),primaryBtn:{label:se.save,isLoading:Y.fetchState==="In-Progress",style:{width:we.buttonWidth.value(o)},isDisabled:e.isDisabled!=null},cancelBtn:{label:se.cancel,style:{width:we.buttonWidth.value(o)},onClick:()=>{W.reset(),S()}}}):null]})}const Re=e=>`${e}_form`,Ye=(e,o)=>{const{companyDetails:l,primaryContact:i,companyOfficerUpdateStatus:n}=e,c=k.getLocalizedStrings().companyPassport,f=l.localData?.incInfo.fileId!=null?[l.localData?.incInfo.fileId]:[],d=l.localData?.taxDetails.fileId!=null?[l.localData?.taxDetails.fileId]:[];return{[Ie]:{...xa(l.localData?.companyInfo,["meetingLink"]),businessModel:{selectedOption:l.localData?.companyInfo?.businessModel,allOptions:c.companyInfo.allBusinessModels},website:l.localData?.companyInfo.website?.toString()??"",industry:{selectedOption:l.localData?.companyInfo.industry,allOptions:o?.map(r=>r.code)},firstMonthOfFY:l.localData?.companyInfo.firstMonthOfFY},[ve]:{...l.localData?.taxDetails,taxesFiledYears:{selectedOptions:l.localData?.taxDetails.taxesFiledYears.map(r=>r.toString())??[],allOptions:V.getYearsList().map(r=>r.toString())},einDocument:e.companyFiles.find(r=>r.documentType==="tax_ein"),fileIds:d},[je]:{typeOfInc:{selectedOption:l.localData?.incInfo?.typeOfInc,allOptions:c.companyIncInfo.allTypesOfIncorporation},stateOfInc:{selectedOption:l.localData?.incInfo?.stateOfInc,allOptions:c.companyIncInfo.allStatesOfIncorporation},incDate:l.localData?.incInfo.incDate?.toDate(),certificateOfIncorporation:e.companyFiles.find(r=>r.documentType==="certificate_of_incorporation"),fileIds:f},[Se]:{userId:i.localData?.userId,name:{firstName:i.localData?.firstName,lastName:i.localData?.lastName},email:i.localData?.email},[De]:Object.values(n).filter(r=>r.localData!=null).map(r=>{const u=r.localData;return{userId:u.userId,officerType:u.officerType,name:{firstName:u.firstName,lastName:u.lastName},email:u.email,phone:u.phone}}),[Oe]:{meetingLink:l.localData?.companyInfo.meetingLink?.toString()??""}}},So=s.div`
553
+ `,we={width:new m(343,580,726),buttonWidth:new m(85,85)},_e="companyPassportPage",Ie="companyInfo",je="companyIncInfo",ve="companyTaxInfo",Se="primaryContact",De="companyOfficer",Oe="zeniFinanceTeam";function Wo(e){const o=P(),l=Ae(),{companyPassportView:i,isZeniUser:n,filesEndPoint:c,authParams:f,allIndustries:d,isDisabled:r,isSettings:u=!1,onCompanyDetailsChanged:g,onCompanyOfficerUpdated:b,onNewCompanyOfficerAdded:h,onPrimaryContactDetailsUpdated:$,onNewCompanyOfficerRemoved:I,onSaveAll:D,onAddressClick:j,onScheduleClick:y,onBackClick:O,onResetClick:S,onEditFileName:x,updateFilesEntity:B,onDeleteFile:me,onClickMenuIcon:X}=e,{companyView:J,localData:H,deleteFileStatusById:ke,updateFileStatusById:Te}=i,{companyFiles:te}=H,Ne={authParams:f,filesEndPoint:c,onEditFileName:x,onDeleteFile:me,updateFilesEntity:B},[Q,oe]=_.useState(void 0),{companyDetails:aa,primaryContact:ta,companyOfficerUpdateStatus:oa,updateStatus:Y}=H,{localData:le,addressStatus:la}=aa,Pe=ca(Y.fetchState),ie=Object.values(oa).filter(T=>T.localData!=null),W=da({mode:"all",defaultValues:Ye(H,d)});_.useEffect(()=>()=>{oe(void 0)},[]),_.useEffect(()=>{Pe==="In-Progress"&&(Y.fetchState==="Completed"||Y.fetchState==="Error")&&(W.reset(Ye(H,d)),Q!==Y.fetchState&&oe(Y.fetchState))},[Q,W,Pe,Y,H,J,d,te]);const ia=async(T,w)=>{if(T.includes(Ie)||T.includes(je)||T.includes(ve)||T.includes(Oe)){const{companyInfo:C,companyIncInfo:F,companyTaxInfo:A,zeniFinanceTeam:ue}=w;g({companyInfo:C,incInfo:F,taxDetails:A,zeniFinanceTeam:ue})}else if(T.includes(Se)){$(w.primaryContact);const C=w.companyOfficer.map(F=>F.userId);if(w.primaryContact.userId!=null&&C.includes(w.primaryContact.userId)){const F=C.findIndex(A=>A===w.primaryContact.userId);F>=0&&b({...w.companyOfficer[F],name:w.primaryContact.name,officerType:`Officer_${F+1}`})}}else if(T.includes(De)){const C=parseInt(T.split(".")[1]);if(C>=0)b({...w.companyOfficer[C],officerType:`Officer_${C+1}`}),w.companyOfficer[C].userId!=null&&w.companyOfficer[C].userId===w.primaryContact.userId&&$({...w.primaryContact,name:w.companyOfficer[C].name});else if(w.companyOfficer.length>ie.length){const F=w.companyOfficer[w.companyOfficer.length-1];h(F)}else{const F=w.companyOfficer.filter(A=>A.officerType!=null);if(F.length<ie.length){const A=F.map((ue,ra)=>{const Le={...ue,officerType:`Officer_${ra+1}`};return b(Le),Le});F.length<ie.length&&(I(`Officer_${F.length+1}`),W.reset({companyOfficer:A}))}}}};_.useEffect(()=>{const T=W.watch((w,{name:C})=>{C!=null&&w!=null&&pa(()=>ia(C,w))});return()=>{T.unsubscribe()}});const sa=W.handleSubmit(T=>{Q!=null&&oe(void 0),D()}),{companyPassport:se,common:{settings:na}}=k.getLocalizedStrings();if(J==null)throw new Error("Company View is null");return a.jsxs(So,{children:[a.jsx(ma,{title:se.title,backgroundColor:l.colors.grey4,style:{zIndex:3},onBackClick:O,showBackButton:!u,showMenuIcon:u?o==="medium-compact"||o==="small":!1,source:"CompanyPassportPage",onClickMenuIcon:X}),Q!=null?a.jsx(Ja,{fetchState:Q,onRemoveSnackbar:()=>oe(void 0)}):null,a.jsxs(Do,{children:[a.jsx(Oo,{windowSize:o,children:u?na.infoText.companyDetails:se.quickAccessInfo}),a.jsx(ua,{...W,children:a.jsxs("form",{id:Re(_e),onSubmit:sa,children:[a.jsx(ct,{sectionId:Ie,companyInfo:le?.companyInfo,companyViewData:J,companyAddress:la,isDisabled:r,onCompanyAddressClick:j,allIndustries:d}),a.jsx(Qa,{sectionId:je,updateFileStatusById:Te,deleteFileStatusById:ke,companyFiles:te,companyIncInfo:le?.incInfo,fileProps:Ne,isDisabled:r}),a.jsx(Qt,{sectionId:ve,updateFileStatusById:Te,deleteFileStatusById:ke,companyFiles:te,companyTaxInfo:le?.taxDetails,fileProps:Ne,isDisabled:r}),a.jsx(io,{sectionId:Se,primaryContact:ta.localData,isDisabled:r}),a.jsx(ft,{companyOfficers:ie,sectionId:De,isDisabled:r,onOfficerAddressClick:j}),a.jsx($o,{data:J,companyInfo:le?.companyInfo,isDisabled:r,isZeniUser:n,sectionId:Oe,onScheduleClick:y})]})})]}),ha(W.formState.dirtyFields)||V.isCompanyPassportDataToBeSaved(H,J,te)?a.jsx(fa,{formId:Re(_e),primaryBtn:{label:se.save,isLoading:Y.fetchState==="In-Progress",style:{width:we.buttonWidth.value(o)},isDisabled:e.isDisabled!=null},cancelBtn:{label:se.cancel,style:{width:we.buttonWidth.value(o)},onClick:()=>{W.reset(),S()}}}):null]})}const Re=e=>`${e}_form`,Ye=(e,o)=>{const{companyDetails:l,primaryContact:i,companyOfficerUpdateStatus:n}=e,c=k.getLocalizedStrings().companyPassport,f=l.localData?.incInfo.fileId!=null?[l.localData?.incInfo.fileId]:[],d=l.localData?.taxDetails.fileId!=null?[l.localData?.taxDetails.fileId]:[];return{[Ie]:{...xa(l.localData?.companyInfo,["meetingLink"]),businessModel:{selectedOption:l.localData?.companyInfo?.businessModel,allOptions:c.companyInfo.allBusinessModels},website:l.localData?.companyInfo.website?.toString()??"",industry:{selectedOption:l.localData?.companyInfo.industry,allOptions:o?.map(r=>r.code)},firstMonthOfFY:l.localData?.companyInfo.firstMonthOfFY},[ve]:{...l.localData?.taxDetails,taxesFiledYears:{selectedOptions:l.localData?.taxDetails.taxesFiledYears.map(r=>r.toString())??[],allOptions:V.getYearsList().map(r=>r.toString())},einDocument:e.companyFiles.find(r=>r.documentType==="tax_ein"),fileIds:d},[je]:{typeOfInc:{selectedOption:l.localData?.incInfo?.typeOfInc,allOptions:c.companyIncInfo.allTypesOfIncorporation},stateOfInc:{selectedOption:l.localData?.incInfo?.stateOfInc,allOptions:c.companyIncInfo.allStatesOfIncorporation},incDate:l.localData?.incInfo.incDate?.toDate(),certificateOfIncorporation:e.companyFiles.find(r=>r.documentType==="certificate_of_incorporation"),fileIds:f},[Se]:{userId:i.localData?.userId,name:{firstName:i.localData?.firstName,lastName:i.localData?.lastName},email:i.localData?.email},[De]:Object.values(n).filter(r=>r.localData!=null).map(r=>{const u=r.localData;return{userId:u.userId,officerType:u.officerType,name:{firstName:u.firstName,lastName:u.lastName},email:u.email,phone:u.phone}}),[Oe]:{meetingLink:l.localData?.companyInfo.meetingLink?.toString()??""}}},So=s.div`
554
554
  display: flex;
555
555
  min-height: 100%;
556
556
  flex-direction: column;
@@ -1,4 +1,4 @@
1
- import{a as R,gg as M,M as $,j as e,F as q,T as f,c6 as z,cf as G,cc as K,l as T,o as a,ca as _,gh as H,a7 as W,c0 as X,bp as Y,gi as J}from"./index-CChR0tlr.js";import{b as g,f as b,n}from"./vendor-CnQcJ2Lu.js";import{$ as Q}from"./LabeledAddressValue-Dtw8vM0g-Lr7x20Yy.js";import"./mui-C5LQ0bMa.js";import"./analytics-DThoELaW.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";const t=$.getLocalizedStrings(),x="completeProfilePage",r="basicDetailsSection",y="addressSection",d=(o,m)=>`${o}.${m}`,he=({userEmail:o,googleAPIKey:m,otpChallenge:j,sendOtpStatus:w,verifyOtpStatus:h,saveStatus:v,onSave:u,onGetOtp:P,onVerifyOtp:S,onResendOtp:O})=>{const[s,c]=g.useState(!1),[V,C]=g.useState(!1),i=R({mode:"onChange",reValidateMode:"onChange",defaultValues:{basicDetailsSection:{name:{firstName:"",lastName:""},email:o,dateOfBirth:void 0,phone:"",address:void 0}}}),F=M({control:i.control,name:`${r}.address`}),{dateFormat:I}=$.getLocalizedStrings(),N=i.handleSubmit(l=>{u&&u(l)}),L=()=>{const l=i.getValues(`${r}.phone`);l!=null&&l.trim().length>0&&P(l)},k=(l,p)=>{S(l,p)},D=l=>{l!=null&&l.trim().length>0&&O(l)},B=()=>{c(!0)},E=()=>{c(!1)},A=()=>{const l=i.getValues(`${y}`);if(l!=null){const p=J(l);i.setValue(`${r}.address`,p)}c(!1)};return e.jsxs(U,{children:[e.jsxs(Z,{children:[e.jsxs(ee,{children:[s&&e.jsx(oe,{onClick:E}),t.completeProfile.title]}),e.jsx(te,{children:e.jsx(q,{...i,children:e.jsxs("form",{id:`${x}_form`,onSubmit:N,children:[e.jsx(f,{controller:s===!1,children:e.jsxs(b.Fragment,{children:[e.jsx(z,{isDisabled:"disabled",showAdditionalInfoLabel:!1,label:{label:t.common.labels.email,width:168},style:{width:"100%"},text:{type:"text",name:d(r,"email")}}),e.jsx(G,{isDisabled:void 0,label:{label:t.common.labels.name,width:168},style:{width:"100%"},nameField:{name:d(r,"name"),placeHolder:{firstName:t.common.placeholder.firstNamePlaceholder,lastName:t.common.placeholder.lastNamePlaceholder,name:t.common.placeholder.namePlaceholder},showFullNameError:!0,registerOptions:{required:!0}},errorInfoLabel:""}),e.jsx(K,{isOptional:!0,label:{label:t.common.labels.dob,width:168},style:{width:"100%"},isDisabled:void 0,dateField:{name:d(r,"dateOfBirth"),placeholder:t.common.placeholder.dobPlaceholder,dateFormat:I.visual.defaultInput,autoComplete:"off",maxDate:T.dateNow().subtract(18,"year")}}),e.jsx(Q,{isOptional:!0,label:{label:t.common.labels.address,width:168},addressValue:{placeholder:t.common.placeholder.addressPlaceholder,address:F,onClick:B},style:{width:"100%",padding:`${a.sp2} ${a.sp2} ${a.sp2} ${a.sp0}`}}),e.jsx(_,{isOptional:!0,label:{label:t.common.labels.phone,width:168},style:{width:"100%"},text:{name:d(r,"phone"),placeholder:t.common.placeholder.phonePlaceholder,defaultValue:"",autoComplete:"new-password"},errorInfoLabel:"",verificationErrorInfoLabel:t.common.errorMessage.invalidPhoneNumber,isPopupOpen:V,phoneVerifyButtonProps:{otpChallenge:j,showOtpButton:!0,onGetOtp:L,onVerifyOtp:k,onResendOtp:D,isPhoneVerified:h.fetchState==="Completed",phoneVerificationStatus:h,getOtpStatus:w,openPopup:()=>{C(!0)},focusNotRequired:!0}})]})}),e.jsx(f,{controller:s===!0,children:e.jsx(b.Fragment,{children:e.jsx(H,{sectionId:y,googleAPIKey:m,isSubPage:!0})})})]})})})]}),e.jsx(W,{formId:s?void 0:`${x}_form`,primaryBtn:{label:s?t.companyPassport.address.saveAddress:t.common.footer.save,type:s?"button":"submit",onClick:s?A:void 0,isLoading:v.fetchState==="In-Progress"},showCancel:!1})]})},U=n.div`
1
+ import{a as R,gg as M,M as $,j as e,F as q,T as f,c6 as z,cf as G,cc as K,l as T,o as a,ca as _,gh as H,a7 as W,c0 as X,bp as Y,gi as J}from"./index-DTlzo6Yx.js";import{b as g,f as b,n}from"./vendor-CnQcJ2Lu.js";import{$ as Q}from"./LabeledAddressValue-UYEy_1W0-Ci2tufnL.js";import"./mui-C5LQ0bMa.js";import"./analytics-DThoELaW.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";const t=$.getLocalizedStrings(),x="completeProfilePage",r="basicDetailsSection",y="addressSection",d=(o,m)=>`${o}.${m}`,he=({userEmail:o,googleAPIKey:m,otpChallenge:j,sendOtpStatus:w,verifyOtpStatus:h,saveStatus:v,onSave:u,onGetOtp:P,onVerifyOtp:S,onResendOtp:O})=>{const[s,c]=g.useState(!1),[V,C]=g.useState(!1),i=R({mode:"onChange",reValidateMode:"onChange",defaultValues:{basicDetailsSection:{name:{firstName:"",lastName:""},email:o,dateOfBirth:void 0,phone:"",address:void 0}}}),F=M({control:i.control,name:`${r}.address`}),{dateFormat:I}=$.getLocalizedStrings(),N=i.handleSubmit(l=>{u&&u(l)}),L=()=>{const l=i.getValues(`${r}.phone`);l!=null&&l.trim().length>0&&P(l)},k=(l,p)=>{S(l,p)},D=l=>{l!=null&&l.trim().length>0&&O(l)},B=()=>{c(!0)},E=()=>{c(!1)},A=()=>{const l=i.getValues(`${y}`);if(l!=null){const p=J(l);i.setValue(`${r}.address`,p)}c(!1)};return e.jsxs(U,{children:[e.jsxs(Z,{children:[e.jsxs(ee,{children:[s&&e.jsx(oe,{onClick:E}),t.completeProfile.title]}),e.jsx(te,{children:e.jsx(q,{...i,children:e.jsxs("form",{id:`${x}_form`,onSubmit:N,children:[e.jsx(f,{controller:s===!1,children:e.jsxs(b.Fragment,{children:[e.jsx(z,{isDisabled:"disabled",showAdditionalInfoLabel:!1,label:{label:t.common.labels.email,width:168},style:{width:"100%"},text:{type:"text",name:d(r,"email")}}),e.jsx(G,{isDisabled:void 0,label:{label:t.common.labels.name,width:168},style:{width:"100%"},nameField:{name:d(r,"name"),placeHolder:{firstName:t.common.placeholder.firstNamePlaceholder,lastName:t.common.placeholder.lastNamePlaceholder,name:t.common.placeholder.namePlaceholder},showFullNameError:!0,registerOptions:{required:!0}},errorInfoLabel:""}),e.jsx(K,{isOptional:!0,label:{label:t.common.labels.dob,width:168},style:{width:"100%"},isDisabled:void 0,dateField:{name:d(r,"dateOfBirth"),placeholder:t.common.placeholder.dobPlaceholder,dateFormat:I.visual.defaultInput,autoComplete:"off",maxDate:T.dateNow().subtract(18,"year")}}),e.jsx(Q,{isOptional:!0,label:{label:t.common.labels.address,width:168},addressValue:{placeholder:t.common.placeholder.addressPlaceholder,address:F,onClick:B},style:{width:"100%",padding:`${a.sp2} ${a.sp2} ${a.sp2} ${a.sp0}`}}),e.jsx(_,{isOptional:!0,label:{label:t.common.labels.phone,width:168},style:{width:"100%"},text:{name:d(r,"phone"),placeholder:t.common.placeholder.phonePlaceholder,defaultValue:"",autoComplete:"new-password"},errorInfoLabel:"",verificationErrorInfoLabel:t.common.errorMessage.invalidPhoneNumber,isPopupOpen:V,phoneVerifyButtonProps:{otpChallenge:j,showOtpButton:!0,onGetOtp:L,onVerifyOtp:k,onResendOtp:D,isPhoneVerified:h.fetchState==="Completed",phoneVerificationStatus:h,getOtpStatus:w,openPopup:()=>{C(!0)},focusNotRequired:!0}})]})}),e.jsx(f,{controller:s===!0,children:e.jsx(b.Fragment,{children:e.jsx(H,{sectionId:y,googleAPIKey:m,isSubPage:!0})})})]})})})]}),e.jsx(W,{formId:s?void 0:`${x}_form`,primaryBtn:{label:s?t.companyPassport.address.saveAddress:t.common.footer.save,type:s?"button":"submit",onClick:s?A:void 0,isLoading:v.fetchState==="In-Progress"},showCancel:!1})]})},U=n.div`
2
2
  display: flex;
3
3
  flex-direction: column;
4
4
  min-height: 100vh;
@@ -1 +1 @@
1
- import{d2 as m,at as l,j as a,au as f,o as n}from"./index-CChR0tlr.js";import{b as i}from"./vendor-CnQcJ2Lu.js";import"./mui-C5LQ0bMa.js";import"./analytics-DThoELaW.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";const u="https://storage.googleapis.com/zeni-apis.appspot.com/data/confetti_sfx.mp3",C=({showConfetti:t})=>{const[e,p]=i.useState(t),[o,s]=m(u),[r]=l("ConfettiSuccess");return i.useEffect(()=>{t&&p(!0)},[t]),i.useEffect(()=>{e&&o===!1&&s(!0)},[e,o,s]),a.jsx(a.Fragment,{children:e&&o&&r!=null?a.jsx(f,{style:{position:"absolute",width:"100%",height:"100vh",top:n.sp0,left:n.sp0,zIndex:5},onComplete:()=>{s(!1),p(!1)},animationData:r,loop:0,play:!0,goTo:0,rendererSettings:{preserveAspectRatio:"xMidYMid slice"}}):null})};export{C as default};
1
+ import{d2 as m,at as l,j as a,au as f,o as n}from"./index-DTlzo6Yx.js";import{b as i}from"./vendor-CnQcJ2Lu.js";import"./mui-C5LQ0bMa.js";import"./analytics-DThoELaW.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";const u="https://storage.googleapis.com/zeni-apis.appspot.com/data/confetti_sfx.mp3",b=({showConfetti:t})=>{const[e,p]=i.useState(t),[o,s]=m(u),[r]=l("ConfettiSuccess");return i.useEffect(()=>{t&&p(!0)},[t]),i.useEffect(()=>{e&&o===!1&&s(!0)},[e,o,s]),a.jsx(a.Fragment,{children:e&&o&&r!=null?a.jsx(f,{style:{position:"absolute",width:"100%",height:"100vh",top:n.sp0,left:n.sp0,zIndex:5},onComplete:()=>{s(!1),p(!1)},animationData:r,loop:0,play:!0,goTo:0,rendererSettings:{preserveAspectRatio:"xMidYMid slice"}}):null})};export{b as default};
@@ -1,4 +1,4 @@
1
- import{u as He,X as v,M as h,H as U,c5 as Ye,j as t,aW as _e,Y as b,e as Qe,bO as ae,bQ as ie,bR as se,ct as Xe,a7 as Ge,C as W,bp as Je,o,cu as Ke,bt as k,ah as le,q as f,aq as de,v as ce,t as Q,aN as Ze,cq as pe,g as L,cv as me,cn as ue}from"./index-CChR0tlr.js";import{b as x,n as r}from"./vendor-CnQcJ2Lu.js";import"./mui-C5LQ0bMa.js";import"./analytics-DThoELaW.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";const et=({bankAccountNumberOrIban:e,accountNumberOrIbanLabel:a,bankName:s,routingNumberOrSwiftCode:d,accountName:u,routingNumberOrSwiftCodeLabel:m,onDeleteClick:w})=>{const j=v(),p=h.getLocalizedStrings().spendManagement.billPay.vendorCreation,g=t.jsxs(tt,{children:[t.jsxs(q,{children:[t.jsx(H,{children:m}),t.jsx(Y,{children:d})]}),t.jsxs(q,{children:[t.jsx(H,{children:p.achDetails.bankName}),t.jsx(Y,{children:s})]}),t.jsxs(q,{children:[t.jsx(H,{children:a}),t.jsx(Y,{children:e})]})]});return t.jsxs(at,{size:j,children:[t.jsxs(rt,{children:[t.jsxs(Q,{children:[`${s} ${p.paymentAccountDetailConnector} ${e.slice(-4)}`,t.jsx(k,{title:g,placement:"top",children:t.jsx(st,{children:t.jsx(lt,{})})})]}),t.jsx(ot,{children:u??p.emptyPlaceholderString})]}),t.jsx(nt,{children:t.jsx(k,{enterDelay:600,display:"flex",title:p.deleteAccountTooltip,placement:"top",children:t.jsx(it,{onClick:y=>{y.stopPropagation(),w()},"data-testid":b("delete-vendor-account-section",u),children:t.jsx(dt,{})})})})]})},tt=r.div`
1
+ import{u as He,X as v,M as h,D as U,c5 as Ye,j as t,aW as _e,Y as b,e as Qe,bO as ae,bQ as ie,bR as se,ct as Xe,a7 as Ge,C as W,bp as Je,o,cu as Ke,bt as k,ah as le,q as f,aq as de,v as ce,t as Q,aN as Ze,cq as pe,g as L,cv as me,cn as ue}from"./index-DTlzo6Yx.js";import{b as x,n as r}from"./vendor-CnQcJ2Lu.js";import"./mui-C5LQ0bMa.js";import"./analytics-DThoELaW.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";const et=({bankAccountNumberOrIban:e,accountNumberOrIbanLabel:a,bankName:s,routingNumberOrSwiftCode:d,accountName:u,routingNumberOrSwiftCodeLabel:m,onDeleteClick:w})=>{const j=v(),p=h.getLocalizedStrings().spendManagement.billPay.vendorCreation,g=t.jsxs(tt,{children:[t.jsxs(q,{children:[t.jsx(H,{children:m}),t.jsx(Y,{children:d})]}),t.jsxs(q,{children:[t.jsx(H,{children:p.achDetails.bankName}),t.jsx(Y,{children:s})]}),t.jsxs(q,{children:[t.jsx(H,{children:a}),t.jsx(Y,{children:e})]})]});return t.jsxs(at,{size:j,children:[t.jsxs(rt,{children:[t.jsxs(Q,{children:[`${s} ${p.paymentAccountDetailConnector} ${e.slice(-4)}`,t.jsx(k,{title:g,placement:"top",children:t.jsx(st,{children:t.jsx(lt,{})})})]}),t.jsx(ot,{children:u??p.emptyPlaceholderString})]}),t.jsx(nt,{children:t.jsx(k,{enterDelay:600,display:"flex",title:p.deleteAccountTooltip,placement:"top",children:t.jsx(it,{onClick:y=>{y.stopPropagation(),w()},"data-testid":b("delete-vendor-account-section",u),children:t.jsx(dt,{})})})})]})},tt=r.div`
2
2
  display: flex;
3
3
  flex-wrap: wrap;
4
4
  gap: ${o.sp1};
@@ -1,4 +1,4 @@
1
- import{j as a,X as me,d3 as pe,Y as te,gP as Je,M as Y,_ as Te,K as He,e as et,a7 as Pe,o as t,C as d,a6 as je,k as tt,b as at,u as ze,bt as nt,cO as Ee,Q as V,g as Z,fS as Ce,r as ot,l as E,Z as Me,c0 as it,a5 as be,a as rt,eZ as lt,c3 as ct,F as st,cz as dt,f6 as mt,c8 as pt,fF as ut,q as r,bp as ht,bn as Be,cW as gt,ah as yt,t as Oe,f9 as ft,f1 as Ct,aa as bt,fa as xt,cq as St,fb as wt,fk as Dt}from"./index-CChR0tlr.js";import{n as o,b as p}from"./vendor-CnQcJ2Lu.js";import{x as $t}from"./LabeledControlledCheckBoxField-BFaru2xf-BjoAdjoa.js";import{S as kt}from"./ChargeCardUtils-CVC43_6w-C9AAkcIV.js";import{Z as xe}from"./CreditCardPaymentPlgSection-CZ2vyMiF-ClsOZPvU.js";import"./mui-C5LQ0bMa.js";import"./analytics-DThoELaW.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";const ae={largeLabelWidth:new d(120,120,160),navBarContainerPaddingXaxis:new d(10,19),containerPaddingLeft:new d(r[3],r[6],r[8]),containerPaddingRight:new d(r[3],r[6],r[8]),reviewContentWrapperPaddingBottom:new d(r[5],r[8])},de={pageTitle:new V("h6Regular","h5Regular"),integerAmountInput:new V("h5Regular","h2Regular"),decimalAmountInput:new V("largeSemiBold","h5Medium")},{dateFormat:{visual:{MMMDCommaYYYYformat:vt}},common:{edit:At,labels:Se,currency:we,navBar:{back:Lt}},spendManagement:{zeniAccounts:{zeniAccountList:{transferDrawer:It}},chargeCard:{payEarly:ee}}}=Y.getLocalizedStrings(),Ft=({paymentDetails:e,isCashbackInfoFetchStateCompleted:i,isCreditCardInfoFetchStateCompleted:h,isDebitCardInfoFetchStateCompleted:n,controllerEmails:g,productInformation:c,cashbackInformation:f,paymentSourceInformation:L,creditAccountInformation:y,debitAccountInformation:b,setShowReviewContent:x,onTransferClick:C,isCompleteOutstandingBalanceBeingPaid:$})=>{const m=me(),T=ze(),P=pe().analytics,[M,I]=p.useState(!1);p.useEffect(()=>{e.error!=null?I(!0):I(!1)},[e.error]);const v=ae.largeLabelWidth.value(m);return a.jsxs(a.Fragment,{children:[a.jsxs(_t,{windowSize:m,children:[a.jsx(Xt,{windowSize:m,children:a.jsx(nt,{title:Lt,enterTouchDelay:600,placement:"bottom",children:a.jsx(Kt,{"data-testid":te("nav-bar-back-credit-card-payment-review"),onClick:()=>{i&&h&&n&&P.trackCardsPayEarlyFormClick(g,c,f,"Back",e.chargeCardRepaymentDetailLocalData.isAutoRepayment,{paymentAmount:e.chargeCardRepaymentDetailLocalData.amount.amount,paymentAccountName:e.chargeCardRepaymentDetailLocalData.transferFrom?.label,paymentAccountType:e.chargeCardRepaymentDetailLocalData.transferFrom?.accType,paymentAccountLastFourDigits:e.chargeCardRepaymentDetailLocalData.transferFrom?.accountLast4,paymentCompleteEta:void 0,paymentInitiatedDate:void 0},L,y,b),x(!1)}})})}),a.jsx(qt,{windowSize:m,children:It.reviewAndConfirm}),a.jsx(Tt,{children:a.jsx(Ee,{amount:e.chargeCardRepaymentDetailLocalData.amount,integerStyles:de.integerAmountInput.styleObject(m),decimalStyles:de.decimalAmountInput.styleObject(m)})}),M?a.jsx(Ot,{children:a.jsxs(zt,{children:[a.jsxs(Nt,{children:[a.jsx(Wt,{}),a.jsxs(Et,{children:[a.jsx(Mt,{children:e.error?.title}),a.jsx(Bt,{children:e.error?.message})]})]}),a.jsx(Ut,{children:a.jsx(Vt,{"data-testid":te("close-error-credit-card-payment-review"),onClick:()=>{I(!1)},style:{width:t.sp3,height:t.sp3,color:Z.heroLight}})})]})}):null,a.jsx(Zt,{windowSize:m,children:a.jsxs(jt,{children:[a.jsx(Ce,{label:{label:Se.transferFrom,width:v},text:a.jsxs(De,{windowSize:m,children:[_e(e.transferFromAccounts,e.chargeCardRepaymentDetailLocalData.transferFrom?.id??"",!0),a.jsx(Pt,{windowSize:m,children:e.chargeCardRepaymentDetailLocalData.transferFrom?.label})]}),style:{width:"auto"}}),a.jsx(Yt,{}),a.jsx(Ce,{label:{label:Se.amount,width:v},showAdditionalInfoLabel:!0,additionalInfoLabel:`${$?ee.creditLimitReset:ee.creditLimitUpdate} ${E.zeniDate(E.getNextNthWorkingDay(E.dateNow().toDate(),[0,6],3).toDateString()).format(vt)} ${ee.business23Days}`,additionalInfoLabelStyles:{color:T.colors.hero,...ot.smallRegular.cssObject},text:a.jsx(De,{windowSize:m,children:Te("0,0.[00]",{amount:e.chargeCardRepaymentDetailLocalData.amount.amount,currencyCode:we.currencyCode,currencySymbol:we.currencySymbol})}),style:{width:"auto"}})]})})]}),a.jsx(Pe,{style:{zIndex:4,paddingTop:t.sp3,paddingBottom:t.sp0},helperText:ee.byClickingPayNowIAuthorizeZeniToInitiateThePayment,helperStyle:{padding:`${t.sp0} ${t.sp0} ${t.sp3} ${t.sp0}`},cancelBtn:{label:At,onClick:()=>{i&&h&&n&&P.trackCardsPayEarlyFormClick(g,c,f,"Edit",e.chargeCardRepaymentDetailLocalData.isAutoRepayment,{paymentAmount:e.chargeCardRepaymentDetailLocalData.amount.amount,paymentAccountName:e.chargeCardRepaymentDetailLocalData.transferFrom?.label,paymentAccountType:e.chargeCardRepaymentDetailLocalData.transferFrom?.accType,paymentAccountLastFourDigits:e.chargeCardRepaymentDetailLocalData.transferFrom?.accountLast4,paymentCompleteEta:void 0,paymentInitiatedDate:void 0},L,y,b),x(!1)},style:{minWidth:94}},primaryBtn:{label:ee.payNow,onClick:C,isLoading:e.updateStatus==="In-Progress",style:{minWidth:94}}})]})},_e=(e,i,h)=>{if(i==="")return a.jsx(ta,{});const n=e.find(c=>c.id===i),g=e.findIndex(c=>c.id===i);if(n!=null){if(n.accType==="depositAccount")return a.jsx(Ht,{isOptionSelected:h,children:a.jsx(ea,{color:ft(g)})});if(n.accType==="paymentAccount")return n.logo!==void 0&&(n.logo.base64||n.logo.url)?a.jsx(Gt,{src:Rt(n.logo),isOptionSelected:h,loading:"lazy"}):a.jsx(Qt,{isOptionSelected:h,children:a.jsx(Jt,{})})}return null},Rt=e=>e.base64!==void 0?`${Ct}${e.base64.toString()}`:e.url!==void 0?e.url.toString():"",Tt=o(Be)`
1
+ import{j as a,X as me,d3 as pe,Y as te,gP as Je,M as Y,_ as Te,K as He,e as et,a7 as Pe,o as t,C as d,a6 as je,k as tt,b as at,u as ze,bt as nt,cO as Ee,Q as V,g as Z,fS as Ce,r as ot,l as E,Z as Me,c0 as it,a5 as be,a as rt,eZ as lt,c3 as ct,F as st,cz as dt,f6 as mt,c8 as pt,fF as ut,q as r,bp as ht,bn as Be,cW as gt,ah as yt,t as Oe,f9 as ft,f1 as Ct,aa as bt,fa as xt,cq as St,fb as wt,fk as Dt}from"./index-DTlzo6Yx.js";import{n as o,b as p}from"./vendor-CnQcJ2Lu.js";import{x as $t}from"./LabeledControlledCheckBoxField-BFnLx9E0-ozh3nGkA.js";import{S as kt}from"./ChargeCardUtils-Dt303NN_-05QPLa2p.js";import{Z as xe}from"./CreditCardPaymentPlgSection-BLbZFCcL-Bqc-C6eO.js";import"./mui-C5LQ0bMa.js";import"./analytics-DThoELaW.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";const ae={largeLabelWidth:new d(120,120,160),navBarContainerPaddingXaxis:new d(10,19),containerPaddingLeft:new d(r[3],r[6],r[8]),containerPaddingRight:new d(r[3],r[6],r[8]),reviewContentWrapperPaddingBottom:new d(r[5],r[8])},de={pageTitle:new V("h6Regular","h5Regular"),integerAmountInput:new V("h5Regular","h2Regular"),decimalAmountInput:new V("largeSemiBold","h5Medium")},{dateFormat:{visual:{MMMDCommaYYYYformat:vt}},common:{edit:At,labels:Se,currency:we,navBar:{back:Lt}},spendManagement:{zeniAccounts:{zeniAccountList:{transferDrawer:It}},chargeCard:{payEarly:ee}}}=Y.getLocalizedStrings(),Ft=({paymentDetails:e,isCashbackInfoFetchStateCompleted:i,isCreditCardInfoFetchStateCompleted:h,isDebitCardInfoFetchStateCompleted:n,controllerEmails:g,productInformation:c,cashbackInformation:f,paymentSourceInformation:L,creditAccountInformation:y,debitAccountInformation:b,setShowReviewContent:x,onTransferClick:C,isCompleteOutstandingBalanceBeingPaid:$})=>{const m=me(),T=ze(),P=pe().analytics,[M,I]=p.useState(!1);p.useEffect(()=>{e.error!=null?I(!0):I(!1)},[e.error]);const v=ae.largeLabelWidth.value(m);return a.jsxs(a.Fragment,{children:[a.jsxs(_t,{windowSize:m,children:[a.jsx(Xt,{windowSize:m,children:a.jsx(nt,{title:Lt,enterTouchDelay:600,placement:"bottom",children:a.jsx(Kt,{"data-testid":te("nav-bar-back-credit-card-payment-review"),onClick:()=>{i&&h&&n&&P.trackCardsPayEarlyFormClick(g,c,f,"Back",e.chargeCardRepaymentDetailLocalData.isAutoRepayment,{paymentAmount:e.chargeCardRepaymentDetailLocalData.amount.amount,paymentAccountName:e.chargeCardRepaymentDetailLocalData.transferFrom?.label,paymentAccountType:e.chargeCardRepaymentDetailLocalData.transferFrom?.accType,paymentAccountLastFourDigits:e.chargeCardRepaymentDetailLocalData.transferFrom?.accountLast4,paymentCompleteEta:void 0,paymentInitiatedDate:void 0},L,y,b),x(!1)}})})}),a.jsx(qt,{windowSize:m,children:It.reviewAndConfirm}),a.jsx(Tt,{children:a.jsx(Ee,{amount:e.chargeCardRepaymentDetailLocalData.amount,integerStyles:de.integerAmountInput.styleObject(m),decimalStyles:de.decimalAmountInput.styleObject(m)})}),M?a.jsx(Ot,{children:a.jsxs(zt,{children:[a.jsxs(Nt,{children:[a.jsx(Wt,{}),a.jsxs(Et,{children:[a.jsx(Mt,{children:e.error?.title}),a.jsx(Bt,{children:e.error?.message})]})]}),a.jsx(Ut,{children:a.jsx(Vt,{"data-testid":te("close-error-credit-card-payment-review"),onClick:()=>{I(!1)},style:{width:t.sp3,height:t.sp3,color:Z.heroLight}})})]})}):null,a.jsx(Zt,{windowSize:m,children:a.jsxs(jt,{children:[a.jsx(Ce,{label:{label:Se.transferFrom,width:v},text:a.jsxs(De,{windowSize:m,children:[_e(e.transferFromAccounts,e.chargeCardRepaymentDetailLocalData.transferFrom?.id??"",!0),a.jsx(Pt,{windowSize:m,children:e.chargeCardRepaymentDetailLocalData.transferFrom?.label})]}),style:{width:"auto"}}),a.jsx(Yt,{}),a.jsx(Ce,{label:{label:Se.amount,width:v},showAdditionalInfoLabel:!0,additionalInfoLabel:`${$?ee.creditLimitReset:ee.creditLimitUpdate} ${E.zeniDate(E.getNextNthWorkingDay(E.dateNow().toDate(),[0,6],3).toDateString()).format(vt)} ${ee.business23Days}`,additionalInfoLabelStyles:{color:T.colors.hero,...ot.smallRegular.cssObject},text:a.jsx(De,{windowSize:m,children:Te("0,0.[00]",{amount:e.chargeCardRepaymentDetailLocalData.amount.amount,currencyCode:we.currencyCode,currencySymbol:we.currencySymbol})}),style:{width:"auto"}})]})})]}),a.jsx(Pe,{style:{zIndex:4,paddingTop:t.sp3,paddingBottom:t.sp0},helperText:ee.byClickingPayNowIAuthorizeZeniToInitiateThePayment,helperStyle:{padding:`${t.sp0} ${t.sp0} ${t.sp3} ${t.sp0}`},cancelBtn:{label:At,onClick:()=>{i&&h&&n&&P.trackCardsPayEarlyFormClick(g,c,f,"Edit",e.chargeCardRepaymentDetailLocalData.isAutoRepayment,{paymentAmount:e.chargeCardRepaymentDetailLocalData.amount.amount,paymentAccountName:e.chargeCardRepaymentDetailLocalData.transferFrom?.label,paymentAccountType:e.chargeCardRepaymentDetailLocalData.transferFrom?.accType,paymentAccountLastFourDigits:e.chargeCardRepaymentDetailLocalData.transferFrom?.accountLast4,paymentCompleteEta:void 0,paymentInitiatedDate:void 0},L,y,b),x(!1)},style:{minWidth:94}},primaryBtn:{label:ee.payNow,onClick:C,isLoading:e.updateStatus==="In-Progress",style:{minWidth:94}}})]})},_e=(e,i,h)=>{if(i==="")return a.jsx(ta,{});const n=e.find(c=>c.id===i),g=e.findIndex(c=>c.id===i);if(n!=null){if(n.accType==="depositAccount")return a.jsx(Ht,{isOptionSelected:h,children:a.jsx(ea,{color:ft(g)})});if(n.accType==="paymentAccount")return n.logo!==void 0&&(n.logo.base64||n.logo.url)?a.jsx(Gt,{src:Rt(n.logo),isOptionSelected:h,loading:"lazy"}):a.jsx(Qt,{isOptionSelected:h,children:a.jsx(Jt,{})})}return null},Rt=e=>e.base64!==void 0?`${Ct}${e.base64.toString()}`:e.url!==void 0?e.url.toString():"",Tt=o(Be)`
2
2
  color: ${e=>e.theme.colors.primary};
3
3
  padding-top: ${t.sp3};
4
4
  `,Pt=o.div`
@@ -1,4 +1,4 @@
1
- import{X as j,u as M,M as L,aJ as R,a0 as T,j as i,Y as b,K as W,bC as H,o as l,g as n,C as a,aQ as U,ah as G,ee as J,v as _,q as o}from"./index-CChR0tlr.js";import{n as t}from"./vendor-CnQcJ2Lu.js";const r={iconContainerMaxWidthHeight:new a(o[6],o[7]),iconContainerMarginRight:new a(o[3],o[3]),iconWidthHeight:new a(20,o[4]),iconPadding:new a(10,12),containerPaddingTopBottom:new a(o[4],o[4]),containerPaddingLeftRight:new a(o[3],o[4]),buttonLeftMargin:new a(o[8],o[0]),buttonTopMargin:new a(o[4],o[2]),buttonRightMargin:new a(o[0],20)};function V({heading:e,buttonText:c,analytics:g,maxInsuredAmount:u,pageName:h,style:x,onSignUpClick:S,onSwitchClick:y,onMoveMoneyClick:$}){const d=j(),f=M(),{common:v,commonSetUp:P}=L.getLocalizedStrings(),s=P.setUp.accountsPlg,z=()=>{switch(c){case s.signUpButtonText:g?.trackPlgPromoClicked(h,"Sign Up for Free"),S?.();break;case s.switchButtonText:g?.trackPlgPromoClicked(h,"Switch Now"),y?.();break;default:g?.trackPlgPromoClicked(h,"Move Money"),$?.()}},C=R(T(u),u,v.currency.currencySymbol).toUpperCase();return i.jsxs(E,{windowSize:d,width:x?.width,style:x,"data-testid":b("credit-card-payment-plg-section"),children:[i.jsxs(B,{children:[i.jsx(q,{windowSize:d,isDarkMode:f.mode==="dark",children:i.jsx(A,{windowSize:d,children:i.jsx(O,{})})}),i.jsx(F,{children:i.jsxs(N,{children:[i.jsx(D,{windowSize:d,children:e}),i.jsxs(Y,{windowSize:d,children:[i.jsxs(p,{children:[i.jsx(w,{}),i.jsx(m,{children:s.bulletPoints.two.replace("__amount__",C)})]}),i.jsxs(p,{children:[i.jsx(w,{}),i.jsx(m,{children:s.bulletPoints.three})]}),i.jsxs(p,{children:[i.jsx(w,{}),i.jsx(m,{children:s.bulletPoints.four})]})]})]})})]}),i.jsx(K,{windowSize:d,children:i.jsx(W,{label:c,"data-testid":b("accounts-plg-button",c),onClick:k=>{k.stopPropagation(),z()},buttonColors:{borderColor:{default:n.brandColorSapphire,hover:n.brandColorSapphire,disabled:n.brandColorSapphire},backgroundColor:{default:n.brandColorSapphire,hover:n.brandColorSapphire,disabled:n.brandColorSapphire},textColor:{default:n.neutralGrey5Light,hover:n.neutralGrey5Light,disabled:n.neutralGrey5Light}},size:"small",style:{padding:`6px ${l.sp3}`,borderRadius:"6px"},textStyle:{fontWeight:H.regular}})})]})}const B=t.div`
1
+ import{X as j,u as M,M as L,aJ as R,a0 as T,j as i,Y as b,K as W,bC as H,o as l,g as n,C as a,aQ as U,ah as G,ee as J,v as _,q as o}from"./index-DTlzo6Yx.js";import{n as t}from"./vendor-CnQcJ2Lu.js";const r={iconContainerMaxWidthHeight:new a(o[6],o[7]),iconContainerMarginRight:new a(o[3],o[3]),iconWidthHeight:new a(20,o[4]),iconPadding:new a(10,12),containerPaddingTopBottom:new a(o[4],o[4]),containerPaddingLeftRight:new a(o[3],o[4]),buttonLeftMargin:new a(o[8],o[0]),buttonTopMargin:new a(o[4],o[2]),buttonRightMargin:new a(o[0],20)};function V({heading:e,buttonText:c,analytics:g,maxInsuredAmount:u,pageName:h,style:x,onSignUpClick:S,onSwitchClick:y,onMoveMoneyClick:$}){const d=j(),f=M(),{common:v,commonSetUp:P}=L.getLocalizedStrings(),s=P.setUp.accountsPlg,z=()=>{switch(c){case s.signUpButtonText:g?.trackPlgPromoClicked(h,"Sign Up for Free"),S?.();break;case s.switchButtonText:g?.trackPlgPromoClicked(h,"Switch Now"),y?.();break;default:g?.trackPlgPromoClicked(h,"Move Money"),$?.()}},C=R(T(u),u,v.currency.currencySymbol).toUpperCase();return i.jsxs(E,{windowSize:d,width:x?.width,style:x,"data-testid":b("credit-card-payment-plg-section"),children:[i.jsxs(B,{children:[i.jsx(q,{windowSize:d,isDarkMode:f.mode==="dark",children:i.jsx(A,{windowSize:d,children:i.jsx(O,{})})}),i.jsx(F,{children:i.jsxs(N,{children:[i.jsx(D,{windowSize:d,children:e}),i.jsxs(Y,{windowSize:d,children:[i.jsxs(p,{children:[i.jsx(w,{}),i.jsx(m,{children:s.bulletPoints.two.replace("__amount__",C)})]}),i.jsxs(p,{children:[i.jsx(w,{}),i.jsx(m,{children:s.bulletPoints.three})]}),i.jsxs(p,{children:[i.jsx(w,{}),i.jsx(m,{children:s.bulletPoints.four})]})]})]})})]}),i.jsx(K,{windowSize:d,children:i.jsx(W,{label:c,"data-testid":b("accounts-plg-button",c),onClick:k=>{k.stopPropagation(),z()},buttonColors:{borderColor:{default:n.brandColorSapphire,hover:n.brandColorSapphire,disabled:n.brandColorSapphire},backgroundColor:{default:n.brandColorSapphire,hover:n.brandColorSapphire,disabled:n.brandColorSapphire},textColor:{default:n.neutralGrey5Light,hover:n.neutralGrey5Light,disabled:n.neutralGrey5Light}},size:"small",style:{padding:`6px ${l.sp3}`,borderRadius:"6px"},textStyle:{fontWeight:H.regular}})})]})}const B=t.div`
2
2
  display: flex;
3
3
  align-items: center;
4
4
  `,D=t(G)`
@@ -1,4 +1,4 @@
1
- import{cg as M,u as N,co as P,M as H,j as l,cp as L,Y as x,b1 as z,o,dh as _,bT as B,b2 as g,t as T,r as S,eV as X,eW as Y,eX as A,v as K,a$ as U,a6 as W,g as m}from"./index-CChR0tlr.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(),[j,C]=w.useState(!1),k=P(f,e??""),V=H.getLocalizedStrings().common.currency,D=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??V.countryCode}},I={container:s=>({...s,width:"100%",...c}),menu:s=>({...s,backgroundColor:b.colors.grey5,borderRadius:o.sp1,boxShadow:`${o.sp0} 2px ${o.sp2} ${b.colors.dropShadowHover}`,border:`1px solid ${b.colors.grey3}`,whiteSpace:"nowrap",zIndex:2,width:"100%",margin:`1px ${o.sp0} ${o.sp0} ${o.sp0}`,overflow:"hidden"}),menuList:s=>({...s,borderRadius:o.sp1}),input:()=>({color:b.colors.primary,margin:0}),singleValue:s=>({...s,margin:0,position:"absolute"})},F={hasError:k,menuItemHeight:u,controlStyle:p,isOptionRemovable:i};return l.jsx(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(z,{...F,ref:E,isMulti:!1,isSearchable:!0,isClearable:i,autoFocus:j===!0,openMenuOnClick:!0,controlShouldRenderValue:!0,placeholder:d,value:D(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:_(),tabSelectsValue:!1,openMenuOnFocus:!0,classNamePrefix:"currency-select-field",onBlur:h,menuPlacement:"auto",maxMenuHeight:240,menuShouldScrollIntoView:!1,closeMenuOnSelect:!0,components:{Control:Z,Option:q,Input:Q,SingleValue:ee,ValueContainer:J,DropdownIndicator:he,IndicatorSeparator:me,Placeholder:oe,ClearIndicator:ge,MenuList:G},hideSelectedOptions:!1,styles:I,isDisabled:a!=null})}})},Z=e=>{const{menuIsOpen:r,isFocused:t,isDisabled:a,selectProps:c}=e,{value:d,hasError:i,controlStyle:u}=c;return l.jsx(te,{controlStyle:u,menuIsOpen:r,isFocused:t,isDisabled:a,selectedValue:d,hasError:i,children:l.jsx(g.Control,{...e,className:"select-control",children:e.children})})},q=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 l.jsx(re,{isOptionRemovable:i,className:"select-option-wrapper",isFocused:c,isSelected:t,isDisabled:a,"data-testid":x("currency-select-field-option",p),children:l.jsx(g.Option,{...e,className:"select-option",children:l.jsxs(se,{children:[l.jsx(le,{countryCode:u}),l.jsx(ae,{isSelected:t,children:l.jsx(ne,{isSelected:t,isDisabled:a,children:r.label})}),t?l.jsxs(de,{children:[l.jsx(ue,{className:"right-tick-icon"}),l.jsx(pe,{className:"close-tick-icon"})]}):null]})})})},G=e=>{const{options:r,children:t,maxHeight:a,getValue:c,selectProps:d}=e,{menuItemHeight:i}=d,[u]=c(),p=r.indexOf(u)*i;return l.jsx(B,{height:t.length>7?a:t.length*i,width:"100%",itemCount:t.length,itemSize:()=>i,initialScrollOffset:p,children:({index:y,style:f})=>l.jsx(ce,{style:f,children:t[y]})})},J=e=>l.jsx(g.ValueContainer,{...e,className:"select-value-container",children:e.children}),Q=e=>{const{selectProps:r}=e,{placeholder:t,value:a}=r;return l.jsx(O,{children:l.jsx(g.Input,{...e,autoComplete:"new-password",placeholder:a==null?t:void 0,children:e.children})})},ee=e=>{const{data:r}=e;return l.jsx(g.SingleValue,{...e,children:l.jsx(O,{children:r.label})})},O=n(T)`
1
+ import{cg as M,u as N,co as P,M as H,j as l,cp as L,Y as x,b1 as z,o,dh as _,bT as B,b2 as g,t as T,r as S,eV as X,eW as Y,eX as A,v as K,a$ as U,a6 as W,g as m}from"./index-DTlzo6Yx.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(),[j,C]=w.useState(!1),k=P(f,e??""),V=H.getLocalizedStrings().common.currency,D=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??V.countryCode}},I={container:s=>({...s,width:"100%",...c}),menu:s=>({...s,backgroundColor:b.colors.grey5,borderRadius:o.sp1,boxShadow:`${o.sp0} 2px ${o.sp2} ${b.colors.dropShadowHover}`,border:`1px solid ${b.colors.grey3}`,whiteSpace:"nowrap",zIndex:2,width:"100%",margin:`1px ${o.sp0} ${o.sp0} ${o.sp0}`,overflow:"hidden"}),menuList:s=>({...s,borderRadius:o.sp1}),input:()=>({color:b.colors.primary,margin:0}),singleValue:s=>({...s,margin:0,position:"absolute"})},F={hasError:k,menuItemHeight:u,controlStyle:p,isOptionRemovable:i};return l.jsx(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(z,{...F,ref:E,isMulti:!1,isSearchable:!0,isClearable:i,autoFocus:j===!0,openMenuOnClick:!0,controlShouldRenderValue:!0,placeholder:d,value:D(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:_(),tabSelectsValue:!1,openMenuOnFocus:!0,classNamePrefix:"currency-select-field",onBlur:h,menuPlacement:"auto",maxMenuHeight:240,menuShouldScrollIntoView:!1,closeMenuOnSelect:!0,components:{Control:Z,Option:q,Input:Q,SingleValue:ee,ValueContainer:J,DropdownIndicator:he,IndicatorSeparator:me,Placeholder:oe,ClearIndicator:ge,MenuList:G},hideSelectedOptions:!1,styles:I,isDisabled:a!=null})}})},Z=e=>{const{menuIsOpen:r,isFocused:t,isDisabled:a,selectProps:c}=e,{value:d,hasError:i,controlStyle:u}=c;return l.jsx(te,{controlStyle:u,menuIsOpen:r,isFocused:t,isDisabled:a,selectedValue:d,hasError:i,children:l.jsx(g.Control,{...e,className:"select-control",children:e.children})})},q=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 l.jsx(re,{isOptionRemovable:i,className:"select-option-wrapper",isFocused:c,isSelected:t,isDisabled:a,"data-testid":x("currency-select-field-option",p),children:l.jsx(g.Option,{...e,className:"select-option",children:l.jsxs(se,{children:[l.jsx(le,{countryCode:u}),l.jsx(ae,{isSelected:t,children:l.jsx(ne,{isSelected:t,isDisabled:a,children:r.label})}),t?l.jsxs(de,{children:[l.jsx(ue,{className:"right-tick-icon"}),l.jsx(pe,{className:"close-tick-icon"})]}):null]})})})},G=e=>{const{options:r,children:t,maxHeight:a,getValue:c,selectProps:d}=e,{menuItemHeight:i}=d,[u]=c(),p=r.indexOf(u)*i;return l.jsx(B,{height:t.length>7?a:t.length*i,width:"100%",itemCount:t.length,itemSize:()=>i,initialScrollOffset:p,children:({index:y,style:f})=>l.jsx(ce,{style:f,children:t[y]})})},J=e=>l.jsx(g.ValueContainer,{...e,className:"select-value-container",children:e.children}),Q=e=>{const{selectProps:r}=e,{placeholder:t,value:a}=r;return l.jsx(O,{children:l.jsx(g.Input,{...e,autoComplete:"new-password",placeholder:a==null?t:void 0,children:e.children})})},ee=e=>{const{data:r}=e;return l.jsx(g.SingleValue,{...e,children:l.jsx(O,{children:r.label})})},O=n(T)`
2
2
  color: ${e=>e.theme.colors.primary};
3
3
  `,oe=()=>null,le=({countryCode:e})=>{if(e!=null&&X(e)===!1)return l.jsx(l.Fragment,{});{const r=Y[`${A(e??"")}`];return l.jsx(ie,{children:l.jsx(r,{width:o.sp4,height:o.sp3})})}},te=n.span`
4
4
  width: 100%;
@@ -1,4 +1,4 @@
1
- import{j as t,X as b,M as d,a5 as l,Y as p,e as x,o as i,$ as g,c0 as h,k as m}from"./index-CChR0tlr.js";import{b as u,n as o}from"./vendor-CnQcJ2Lu.js";import"./mui-C5LQ0bMa.js";import"./analytics-DThoELaW.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`
1
+ import{j as t,X as b,M as d,a5 as l,Y as p,e as x,o as i,$ as g,c0 as h,k as m}from"./index-DTlzo6Yx.js";import{b as u,n as o}from"./vendor-CnQcJ2Lu.js";import"./mui-C5LQ0bMa.js";import"./analytics-DThoELaW.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;
@@ -0,0 +1 @@
1
+ import{j as r}from"./index-DTlzo6Yx.js";import o from"./CustomerOnboardingNoStepsPage-Dd5kCuRE-BcQg4Ohl.js";import i from"./CustomerOnboardingPage-CGJpD875-Dopxs2Zj.js";import"./mui-C5LQ0bMa.js";import"./vendor-CnQcJ2Lu.js";import"./analytics-DThoELaW.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";import"./HelpButton-DXFYhUL5-Co36EHOd.js";import"./MeetingCalenderPopup-BhC8pSjM-Cnn0jkdk.js";import"./PaymentAccountSetupBillingAddressSection-DY4eeS5C-DRjMzj0b.js";import"./SetUpAccountSection-BrYiljyO-B0sFI8H-.js";import"./SetUpDefaultSection-B361ojb9-CxOpM9AT.js";import"./ChaseOverlay-BK2ISNjj-S6c-qliM.js";import"./CustomerOnboardingDetailPageSkeleton-BSXKMQ77-MLxx67vI.js";import"./CompanyOfficerDetailsSection-C7fuDGQk-IsFgAXuq.js";import"./LabeledAddressValueField-BmSVDTMx-CBdRfhaZ.js";import"./LabeledCreatableSingleSelectField-Bh-cfR9F-Cgfy3beB.js";import"./LabeledDocumentField-YBoeNDoD-DV_I5uPN.js";import"./DocumentSecurityBanner-DV9HE3MK-LQKK6f7V.js";import"./QBOSetupSection-BaNFiEPB-BQTYBa9Y.js";import"./QBOConnectionDialog-BmIUfW_i-DCw1_Zjz.js";const w=t=>t.currentTenant?.productSettings.isOtherProductsEnabled===!0?r.jsx(o,{...t}):r.jsx(i,{...t});export{w as default};
@@ -1,4 +1,4 @@
1
- import{j as s,Y as y,aG as E,u as f,X as T,bg as x,o as t,q as R,C as $,$ as I,M as N,g as u,eS as U,hb as P,f0 as L,b4 as W,m as M,hc as O}from"./index-CChR0tlr.js";import{n as r,f as S}from"./vendor-CnQcJ2Lu.js";const Z=r(O)`
1
+ import{j as s,Y as y,aG as E,u as f,X as T,bg as x,o as t,q as R,C as $,$ as I,M as N,g as u,eS as U,hb as P,f0 as L,b4 as W,m as M,hc as O}from"./index-DTlzo6Yx.js";import{n as r,f as S}from"./vendor-CnQcJ2Lu.js";const Z=r(O)`
2
2
  /* Size is controlled by styles.root prop */
3
3
  `,X=r.div`
4
4
  position: relative;
@@ -1,4 +1,4 @@
1
- import{d3 as se,j as o,X as Ce,u as Pe,a as we,h2 as be,M as xe,a5 as ke,c3 as Ie,aW as $e,o as i,Y as Ae,F as ve,a7 as Oe,aG as je,cw as Ve,cx as oe,$ as Te,C as J,t as Le,q as $}from"./index-CChR0tlr.js";import{n as c,b as A}from"./vendor-CnQcJ2Lu.js";import{F as Ue}from"./HelpButton-CkSfhBfN-BPWTXFdl.js";import{t as ze,e as Ee}from"./PaymentAccountSetupBillingAddressSection-DM9NYbmX-DUzBMAJl.js";import{f as Be}from"./CustomerOnboardingDetailPageSkeleton-CFIeHxxw-UU0mUCiu.js";import"./mui-C5LQ0bMa.js";import"./analytics-DThoELaW.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";import"./MeetingCalenderPopup-rC3PQdjG-B_4Eh-Cw.js";import"./SetUpAccountSection-DDe06VBR-DLpiHVvI.js";import"./SetUpDefaultSection-B6pcOXMO-CRtYcMT6.js";import"./ChaseOverlay-CHWBgNa9-DBU-aocS.js";const Q="onboardingPaymentAccountSetupSection",ie="customerOnboardingNoStepsDetailPage",n="onboardingSubscriptionBillingAddress",q={titleWidth:new J(343,580,726,826),subTitlePaddingTop:new J($[3],$[3]),subTitlePaddingBottom:new J($[3],$[3])},Fe=e=>`${e}_form`,_e=xe.getLocalizedStrings(),Ke=({onboardingCustomerView:e,connectedAccountProvider:C,cardPaymentView:y,stripeKey:O,googleAPIKey:j,signedInUser:P,currentTenant:V,onUpdateStep:T,handleCreateCardSetupIntent:L,handleConfirmCardSetupIntent:U,updateCardPaymentModalState:w,handleAddCardPaymentSource:z,resetCardPaymentViewState:E,handleResetCardPaymentErrorStatuses:B,redirectToProductSuitePage:b,onUpdateCustomerView:F,..._})=>{const u=Ce(),K=se(),{analytics:h}=K,{onFetchLinkTokenClick:D,onUpdatePaymentAccountStatus:M,onUpdatePaymentAccountLoginStatus:R,onEstablishConnectionClick:S,onEstablishConnectionSuccess:G,handleLogOutClick:N,onZeniLogoClick:Z,onAddressEditHandler:x}=_,W=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}=_e,{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(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(Q);t&&a&&(ye(),T("link_payment_account"),F(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(Me,{windowSize:u,children:[o.jsx($e,{title:ee.sectionTitle,showBackButton:!1,backgroundColor:W.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(Ze,{children:o.jsx(We,{"data-testid":Ae("zeni-logo-customer-onboarding-payment-address-detail-page"),onClick:Z})})}),o.jsx(ve,{...r,children:o.jsx(Ge,{id:Fe(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:Q,analytics:h,isValid:ne(),onFetchLinkTokenClick:D,onEstablishConnectionClick:S,onUpdatePaymentAccountStatus:M,onUpdatePaymentAccountLoginStatus:R,onEstablishConnectionSuccess:G,updateCardPaymentModalState:w,cardPaymentView:y,resetCardPaymentViewState:E,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(Ee,{handleConfirmCardSetupIntent:U,updateCardPaymentModalState:w,handleCreateCardSetupIntent:L,handleAddCardPaymentSource:z,cardPaymentView:y,stripeKey:O,isCardPaymentOpen:le.isCardPaymentPopupOpen,handleResetCardPaymentErrorStatuses:B,cardSetupInProgress:ae,setCardSetupInProgress:fe})]})},De=c.div`
1
+ import{d3 as se,j as o,X as Ce,u as Pe,a as we,h2 as be,M as xe,a5 as ke,c3 as Ie,aW as $e,o as i,Y as Ae,F as ve,a7 as Oe,aG as je,cw as Ve,cx as oe,$ as Te,C as J,t as Le,q as $}from"./index-DTlzo6Yx.js";import{n as c,b as A}from"./vendor-CnQcJ2Lu.js";import{F as Ue}from"./HelpButton-DXFYhUL5-Co36EHOd.js";import{t as ze,e as Ee}from"./PaymentAccountSetupBillingAddressSection-DY4eeS5C-DRjMzj0b.js";import{f as Be}from"./CustomerOnboardingDetailPageSkeleton-BSXKMQ77-MLxx67vI.js";import"./mui-C5LQ0bMa.js";import"./analytics-DThoELaW.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";import"./MeetingCalenderPopup-BhC8pSjM-Cnn0jkdk.js";import"./SetUpAccountSection-BrYiljyO-B0sFI8H-.js";import"./SetUpDefaultSection-B361ojb9-CxOpM9AT.js";import"./ChaseOverlay-BK2ISNjj-S6c-qliM.js";const Q="onboardingPaymentAccountSetupSection",ie="customerOnboardingNoStepsDetailPage",n="onboardingSubscriptionBillingAddress",q={titleWidth:new J(343,580,726,826),subTitlePaddingTop:new J($[3],$[3]),subTitlePaddingBottom:new J($[3],$[3])},Fe=e=>`${e}_form`,_e=xe.getLocalizedStrings(),Ke=({onboardingCustomerView:e,connectedAccountProvider:C,cardPaymentView:y,stripeKey:O,googleAPIKey:j,signedInUser:P,currentTenant:V,onUpdateStep:T,handleCreateCardSetupIntent:L,handleConfirmCardSetupIntent:U,updateCardPaymentModalState:w,handleAddCardPaymentSource:z,resetCardPaymentViewState:E,handleResetCardPaymentErrorStatuses:B,redirectToProductSuitePage:b,onUpdateCustomerView:F,..._})=>{const u=Ce(),K=se(),{analytics:h}=K,{onFetchLinkTokenClick:D,onUpdatePaymentAccountStatus:M,onUpdatePaymentAccountLoginStatus:R,onEstablishConnectionClick:S,onEstablishConnectionSuccess:G,handleLogOutClick:N,onZeniLogoClick:Z,onAddressEditHandler:x}=_,W=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}=_e,{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(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(Q);t&&a&&(ye(),T("link_payment_account"),F(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(Me,{windowSize:u,children:[o.jsx($e,{title:ee.sectionTitle,showBackButton:!1,backgroundColor:W.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(Ze,{children:o.jsx(We,{"data-testid":Ae("zeni-logo-customer-onboarding-payment-address-detail-page"),onClick:Z})})}),o.jsx(ve,{...r,children:o.jsx(Ge,{id:Fe(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:Q,analytics:h,isValid:ne(),onFetchLinkTokenClick:D,onEstablishConnectionClick:S,onUpdatePaymentAccountStatus:M,onUpdatePaymentAccountLoginStatus:R,onEstablishConnectionSuccess:G,updateCardPaymentModalState:w,cardPaymentView:y,resetCardPaymentViewState:E,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(Ee,{handleConfirmCardSetupIntent:U,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;
@@ -1,4 +1,4 @@
1
- import{j as r,X as Me,u as Zt,a as en,c3 as me,M as We,a5 as He,D as mt,H as Qe,l as K,aW as tn,o as re,F as nn,q as M,a7 as an,h2 as on,fE as sn,fc as ft,cw as xt,cx as yt,C as fe,fH as ye,cg as rn,t as cn,h3 as gt,E as ht,ce as ln,fG as dn}from"./index-CChR0tlr.js";import{b as p,n as P,k as It}from"./vendor-CnQcJ2Lu.js";import{F as pn}from"./HelpButton-CkSfhBfN-BPWTXFdl.js";import{t as St,e as un}from"./PaymentAccountSetupBillingAddressSection-DM9NYbmX-DUzBMAJl.js";import{b as Ct,f as mn,a as bt}from"./CustomerOnboardingDetailPageSkeleton-CFIeHxxw-UU0mUCiu.js";import{G as fn,o as yn}from"./CompanyOfficerDetailsSection-DVG0lvX--Wg40Blwv.js";import{o as gn}from"./QBOSetupSection-DJBfLeXn-DeLZ9-CI.js";import"./mui-C5LQ0bMa.js";import"./analytics-DThoELaW.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";import"./MeetingCalenderPopup-rC3PQdjG-B_4Eh-Cw.js";import"./SetUpAccountSection-DDe06VBR-DLpiHVvI.js";import"./SetUpDefaultSection-B6pcOXMO-CRtYcMT6.js";import"./ChaseOverlay-CHWBgNa9-DBU-aocS.js";import"./LabeledAddressValueField-D72yUpQl-Df1WQsGJ.js";import"./LabeledCreatableSingleSelectField-CCXfjgxP-5vcIQ2Mo.js";import"./LabeledDocumentField-aYYBY16j-Bae_VgX4.js";import"./DocumentSecurityBanner-C5w0d_S8-qYbxtRj6.js";import"./QBOConnectionDialog-CzuH4c1o-ZsjLY4Mn.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}=We.getLocalizedStrings().customerOnboardingPage.sections,{title:$}=l,T=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:T,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 Zt,a as en,c3 as me,M as We,a5 as He,B as mt,D as Qe,l as K,aW as tn,o as re,F as nn,q as M,a7 as an,h2 as on,fE as sn,fc as ft,cw as xt,cx as yt,C as fe,fH as ye,cg as rn,t as cn,h3 as gt,E as ht,ce as ln,fG as dn}from"./index-DTlzo6Yx.js";import{b as p,n as P,k as It}from"./vendor-CnQcJ2Lu.js";import{F as pn}from"./HelpButton-DXFYhUL5-Co36EHOd.js";import{t as St,e as un}from"./PaymentAccountSetupBillingAddressSection-DY4eeS5C-DRjMzj0b.js";import{b as Ct,f as mn,a as bt}from"./CustomerOnboardingDetailPageSkeleton-BSXKMQ77-MLxx67vI.js";import{G as fn,o as yn}from"./CompanyOfficerDetailsSection-C7fuDGQk-IsFgAXuq.js";import{o as gn}from"./QBOSetupSection-BaNFiEPB-BQTYBa9Y.js";import"./mui-C5LQ0bMa.js";import"./analytics-DThoELaW.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";import"./MeetingCalenderPopup-BhC8pSjM-Cnn0jkdk.js";import"./SetUpAccountSection-BrYiljyO-B0sFI8H-.js";import"./SetUpDefaultSection-B361ojb9-CxOpM9AT.js";import"./ChaseOverlay-BK2ISNjj-S6c-qliM.js";import"./LabeledAddressValueField-BmSVDTMx-CBdRfhaZ.js";import"./LabeledCreatableSingleSelectField-Bh-cfR9F-Cgfy3beB.js";import"./LabeledDocumentField-YBoeNDoD-DV_I5uPN.js";import"./DocumentSecurityBanner-DV9HE3MK-LQKK6f7V.js";import"./QBOConnectionDialog-BmIUfW_i-DCw1_Zjz.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}=We.getLocalizedStrings().customerOnboardingPage.sections,{title:$}=l,T=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:T,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;
@@ -1,4 +1,4 @@
1
- import{X as M,d3 as U,y as W,u as D,M as A,j as e,aW as Z,o as t,Y as k,aG as H,l as I,t as R,$ as V,g as l,r as y,c as _,k as N,c0 as J,Z as G,ak as K}from"./index-CChR0tlr.js";import{b as n,n as i}from"./vendor-CnQcJ2Lu.js";import X from"./ConfettiBurst-BYoGZ66F-CE0o8Vhl.js";import{F as Y}from"./HelpButton-CkSfhBfN-BPWTXFdl.js";import{f as q}from"./ProductsCarousel-BojgZxY7-cwoMBxX7.js";import"./mui-C5LQ0bMa.js";import"./analytics-DThoELaW.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";import"./MeetingCalenderPopup-rC3PQdjG-B_4Eh-Cw.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(),We=({hasVerifiedBankAccount:o,meetingUrl:$,showUpdatePaymentDetailButton:u=!1,isVisitingFirstTime:b=!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=D(),{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:m}=F;return h&&g&&m?[r.withTaxAndPayroll,r.withCFO]:h&&g?[r.withPayroll,r.withCFO]:h&&m?[r.taxAndPayroll]:g&&m?[r.withTax,r.withCFO]:h?[r.onlyPayroll]:g?[r.onlyCFO]:m?[r.onlyTax]:[r.default]},B=s=>{if(v(),!s)return;let r="";o?r="bank_account":r="credit_card",x.trackOnboardingClickUpdatePaymentDetails(r,I.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(Z,{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:u?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(q,{stopCarousel:w,showUpdatePaymentDetailButton:u})}),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(me,{className:"discover-class"})]})]}),e.jsx(ue,{children:e.jsxs(xe,{children:[e.jsx(fe,{windowSize:d,children:e.jsx(H,{signedInUser:L,currentTenant:a,onLogOutClick:z,onCockpitClick:E})}),e.jsx(Y,{isFooterRendered:!1,meetingUrl:$,analytics:x,productType:"onboarding_interim",showPopup:w,setShowPopup:P})]})})]})}),e.jsx(X,{showConfetti:b})]})},te=i.div`
1
+ import{X as M,d3 as U,V as W,u as D,M as V,j as e,aW as A,o as t,Y as k,aG as Z,l as H,t as I,$ as R,g as l,r as y,c as _,k as N,c0 as J,Z as G,ak as K}from"./index-DTlzo6Yx.js";import{b as n,n as i}from"./vendor-CnQcJ2Lu.js";import X from"./ConfettiBurst-DoZB9Us7-CMmPQCFc.js";import{F as Y}from"./HelpButton-DXFYhUL5-Co36EHOd.js";import{f as q}from"./ProductsCarousel-0-ksFQos-BOcG3c1-.js";import"./mui-C5LQ0bMa.js";import"./analytics-DThoELaW.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";import"./MeetingCalenderPopup-BhC8pSjM-Cnn0jkdk.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=V.getLocalizedStrings(),We=({hasVerifiedBankAccount:o,meetingUrl:$,showUpdatePaymentDetailButton:u=!1,isVisitingFirstTime:b=!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=D(),{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:m}=F;return h&&g&&m?[r.withTaxAndPayroll,r.withCFO]:h&&g?[r.withPayroll,r.withCFO]:h&&m?[r.taxAndPayroll]:g&&m?[r.withTax,r.withCFO]:h?[r.onlyPayroll]:g?[r.onlyCFO]:m?[r.onlyTax]:[r.default]},B=s=>{if(v(),!s)return;let r="";o?r="bank_account":r="credit_card",x.trackOnboardingClickUpdatePaymentDetails(r,H.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(A,{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:u?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(q,{stopCarousel:w,showUpdatePaymentDetailButton:u})}),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(me,{className:"discover-class"})]})]}),e.jsx(ue,{children:e.jsxs(xe,{children:[e.jsx(fe,{windowSize:d,children:e.jsx(Z,{signedInUser:L,currentTenant:a,onLogOutClick:z,onCockpitClick:E})}),e.jsx(Y,{isFooterRendered:!1,meetingUrl:$,analytics:x,productType:"onboarding_interim",showPopup:w,setShowPopup:P})]})})]})}),e.jsx(X,{showConfetti:b})]})},te=i.div`
2
2
  display: flex;
3
3
  flex-direction: column;
4
4
  align-items: center;
@@ -166,7 +166,7 @@ import{X as M,d3 as U,y as W,u as D,M as A,j as e,aW as Z,o as t,Y as k,aG as H,
166
166
  cursor: default;
167
167
  `,we=i.div`
168
168
  display: flex;
169
- `,ke=i(V)`
169
+ `,ke=i(R)`
170
170
  height: ${t.sp4};
171
171
  width: 102px;
172
172
  color: ${o=>o.theme.colors.primary};
@@ -194,7 +194,7 @@ import{X as M,d3 as U,y as W,u as D,M as A,j as e,aW as Z,o as t,Y as k,aG as H,
194
194
  }
195
195
  }
196
196
  margin-right: ${t.sp2};
197
- `,je=i(R)`
197
+ `,je=i(I)`
198
198
  margin-left: ${t.sp2};
199
199
  `,$e=i.div`
200
200
  width: 200px;
@@ -1,4 +1,4 @@
1
- import{y as Ke,l as we,j as t,z as Kt,A as Gt,B as Yt,o,S as Jt,D as ce,H as qt,I as Se,J as Xt,L as Qt,N as er,O as tr,P as rr,R as ar,U as B,M as u,X as Z,V as _,Y as w,_ as A,a0 as z,a1 as ir,a2 as or,a3 as nr,a4 as dr,q as L,a as sr,a5 as Ge,a6 as lr,F as cr,a7 as mr,C as R,a8 as W,a9 as N,m as G,aa as Ye,ab as T,ac as S,ad as Je,u as ee,v as P,ae as pr,af as hr,ag as gr,Q as qe,g as j,ah as ur,ai as xr,aj as Cr,ak as fr,al as je,Z as Xe,t as Qe,am as et,an as tt,ao as rt,h as kr,ap as yr,aq as at,ar as br,as as vr,at as it,au as ot,av as $e,aw as wr,ax as jr,ay as $r,az as Dr,aA as Mr,aB as Er,aC as Lr}from"./index-CChR0tlr.js";import{b as n,n as d,f as $,j as Tr,k as nt}from"./vendor-CnQcJ2Lu.js";import{k as Sr,L as Br}from"./ArAgingChart-BmfMCB8_-fY0QEK4n.js";import{E as Pr,T as De,I as dt}from"./ReloadCard-CqyGWGqs-6_Cif2Ll.js";import{L as Ir,O as me,c as Y}from"./TopExCard-B4T3kqhZ-Q7tG_J2k.js";import{H as Ar,Y as _r,P as Wr,G as zr,N as Or}from"./RevenueChart-QoBLII7z-Q1hk28a9.js";import Rr from"./InsightsCardStack-wcWhovKK-DnGgdxv6.js";import{a as Nr}from"./AccountsPromoCardStack-oPvi6hmo-DZpnXhtG.js";import{c as F}from"./SummaryCard-oqK_zyxl-DYQ4YzrX.js";import{t as Fr,o as Hr}from"./arrow-south-east-round-PEovUgvH-DBLhwZXJ.js";import{b as ge}from"./NavigationArrow-BPQ9vRqR-CBW2ZEmU.js";import{f as st}from"./NavigationDots-Toh5TKEv-OSyhnKRF.js";import Zr from"./CompanyPassportCard-DBZRV0g0-JDJxemYn.js";import{C as Vr}from"./gift-box-Cmt9OgIZ-DKWN92w0.js";import Ur from"./InformationCardStack-i76c5dym-DFWwTZfO.js";import{p as lt}from"./chartTypes-DYAHlgKd-CIoUHagw.js";import{h as Kr}from"./toCOABalancesWithID-B8NxsLlK-BQM05QqO.js";import{V as Gr}from"./toChartData-CxZEcdj_-DkdJt_zk.js";import{r as Yr,i as Jr}from"./graphic-no-data-net-burn-l-CzmycA0m-DR-LfIWY.js";import{A as qr,J as Xr}from"./PromoBaseCards-DPAkjdDp-Ep5C_mS4.js";import Qr from"./ConfettiBurst-BYoGZ66F-CE0o8Vhl.js";import"./mui-C5LQ0bMa.js";import"./analytics-DThoELaW.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 ea=d(N)`
1
+ import{V as Ke,l as we,j as t,y as Kt,z as Gt,A as Yt,o,S as Jt,B as ce,D as qt,H as Se,I as Xt,J as Qt,L as er,N as tr,O as rr,P as ar,R as B,M as u,X as Z,U as _,Y as w,_ as A,a0 as z,a1 as ir,a2 as or,a3 as nr,a4 as dr,q as L,a as sr,a5 as Ge,a6 as lr,F as cr,a7 as mr,C as R,a8 as W,a9 as N,m as G,aa as Ye,ab as T,ac as S,ad as Je,u as ee,v as P,ae as pr,af as hr,ag as gr,Q as qe,g as j,ah as ur,ai as xr,aj as Cr,ak as fr,al as je,Z as Xe,t as Qe,am as et,an as tt,ao as rt,h as kr,ap as yr,aq as at,ar as br,as as vr,at as it,au as ot,av as $e,aw as wr,ax as jr,ay as $r,az as Dr,aA as Mr,aB as Er,aC as Lr}from"./index-DTlzo6Yx.js";import{b as n,n as d,f as $,j as Tr,k as nt}from"./vendor-CnQcJ2Lu.js";import{k as Sr,L as Br}from"./ArAgingChart-UnY648RV-B8ISkKOi.js";import{E as Pr,T as De,I as dt}from"./ReloadCard-DZy28iWR-fdBnNVQp.js";import{L as Ir,O as me,c as Y}from"./TopExCard-CcpyunQ3-BaDgbdKx.js";import{H as Ar,Y as _r,P as Wr,G as zr,N as Or}from"./RevenueChart-B_jdFFPm-BXFiwU14.js";import Rr from"./InsightsCardStack-CwxJP-ic-nmTxa9wo.js";import{a as Nr}from"./AccountsPromoCardStack-NYQHh0uE-De_Ps0gr.js";import{c as F}from"./SummaryCard-CD1amg78-BqcEBi2M.js";import{t as Fr,o as Hr}from"./arrow-south-east-round-PEovUgvH-DBLhwZXJ.js";import{b as ge}from"./NavigationArrow-lL3Ug8Mk-CKQ_08MZ.js";import{f as st}from"./NavigationDots-6Q5ZVqKl-C4jKPBGn.js";import Zr from"./CompanyPassportCard-DwUqLcAr-DSkb28QS.js";import{C as Vr}from"./gift-box-Cmt9OgIZ-DKWN92w0.js";import Ur from"./InformationCardStack-6BD3n76T-CKu_A2Jh.js";import{p as lt}from"./chartTypes-Df8u7la0-CtDbCz1y.js";import{h as Kr}from"./toCOABalancesWithID-RJhTPgAt-Cci2ybt-.js";import{V as Gr}from"./toChartData-K68FB3Iy-nDeLE4ni.js";import{r as Yr,i as Jr}from"./graphic-no-data-net-burn-l-CzmycA0m-DR-LfIWY.js";import{A as qr,J as Xr}from"./PromoBaseCards-DNSnqS61-Al7XKWVe.js";import Qr from"./ConfettiBurst-DoZB9Us7-CMmPQCFc.js";import"./mui-C5LQ0bMa.js";import"./analytics-DThoELaW.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 ea=d(N)`
2
2
  color: ${e=>e.theme.colors.champion};
3
3
  `,Be=d.div`
4
4
  display: flex;