@zeniai/web-cockpit-ui 1.14.93-dev → 1.14.94-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 (284) hide show
  1. package/dist/assets/{ACHDetailsPage-Cmt4zlsa-CVV8HYnx.js → ACHDetailsPage--3bIj7tB-3F9dwMR-.js} +1 -1
  2. package/dist/assets/{AIPerformancePage-Bll3cTy1-gL3wACpX.js → AIPerformancePage-DBCeKLy6-DoFLATw5.js} +1 -1
  3. package/dist/assets/AccountInfoPage-CITo61GF-CgwHepBH.js +18 -0
  4. package/dist/assets/{AccountInfoPageContent-9wbA8niq-Bqglb0N2.js → AccountInfoPageContent-Zb49sPy6-B7XnQcW_.js} +1 -1
  5. package/dist/assets/{AccountLockedInfoModal-CLvVkdLW-bPK5I-r7.js → AccountLockedInfoModal-BcokXO2D-CS3sAEh5.js} +1 -1
  6. package/dist/assets/{AccountReconDetailsDrawerPage-BXa1TZA0-CJ_GlXhF.js → AccountReconDetailsDrawerPage-BWydimgX-dIMZ3KX3.js} +3 -3
  7. package/dist/assets/{AccountRow-Ba39SxP8-8PYcW3Va.js → AccountRow-XnGMYfcj-CkjY0dM_.js} +1 -1
  8. package/dist/assets/{AccountsPromoCardStack-W5TW8HPU-Cm5YfN59.js → AccountsPromoCardStack-BQeRFxKs-CSqaKnps.js} +13 -13
  9. package/dist/assets/{AddAddressForCardDrawer-nEnaGKnm-DN6yVFPQ.js → AddAddressForCardDrawer-DOXNDswm-JiOm9hW4.js} +1 -1
  10. package/dist/assets/{AddToWalletPage-CQYHG0Yj-CP1osDBN.js → AddToWalletPage-D4yEGRLZ-9f9p7H0-.js} +1 -1
  11. package/dist/assets/{AgingReportsPage-BWCU11pF-MZUqlZXC.js → AgingReportsPage-Bos6Ptg1-u0-8eZRf.js} +3 -3
  12. package/dist/assets/{AllUserItems-DPxoQeZA-Fd0FWod6.js → AllUserItems-JjQPLLSr-CHIofzkk.js} +3 -3
  13. package/dist/assets/{ApAgingDetailPage-cslGsO08-CvebivaV.js → ApAgingDetailPage-Y4VWhY78-OPeQ-zhp.js} +2 -2
  14. package/dist/assets/{AppBasePage-BZINcjPW-DJOgvT_q.js → AppBasePage-CaAadL3t-B5dacIto.js} +1 -1
  15. package/dist/assets/{AppDrawerContent-V7jCH_90-Ck_yeGZ4.js → AppDrawerContent-BKsLlcGq-C-I5tgBW.js} +1 -1
  16. package/dist/assets/{ApprovalRulesSettingsPage-BC6CLesU-BKNNkRpO.js → ApprovalRulesSettingsPage-sHR8nTbf-CvweKKJv.js} +1 -1
  17. package/dist/assets/{ArAgingChart-C7VtW0AI-Co8wpWo7.js → ArAgingChart-Cn2M7EaL-CioxnnU1.js} +4 -4
  18. package/dist/assets/{ArAgingDetailPage-Bttq4jQR-BeQILYq-.js → ArAgingDetailPage-vdpIT5_o-BuX_9MW_.js} +5 -5
  19. package/dist/assets/{AttachmentView-BijZrB02-BJhcTpzV.js → AttachmentView-QyMOK54a-_Wag7_iK.js} +1 -1
  20. package/dist/assets/{BankAccountSection-De0m3zrf-DJo0ErGm.js → BankAccountSection-BexfgJ02-CJbDgNfM.js} +1 -1
  21. package/dist/assets/{BankAccountWarningSection-DoqOr9h0-CysUjzfB.js → BankAccountWarningSection-MLEqvFgR-BxBAHmR8.js} +1 -1
  22. package/dist/assets/{BankConnectionsSettingsPage-BaySatUW-BFaS82zx.js → BankConnectionsSettingsPage-DP9KRNaJ-CmsjOmvw.js} +1 -1
  23. package/dist/assets/{BillDetailPage-Bg_3myu0-BcOsOHp0.js → BillDetailPage-jNE4rg05-BvKca9U-.js} +1 -1
  24. package/dist/assets/BillPayApprovalRuleDetailPage-C8hROA4_-CB0BAa6k.js +27 -0
  25. package/dist/assets/BillPayApprovalRulesPage-BQywFC8e-BuMp1BIY.js +235 -0
  26. package/dist/assets/{BillPayPromoPage-SUtLQemf-YRwlMQqq.js → BillPayPromoPage-D2OmNki0-COFGRb92.js} +1 -1
  27. package/dist/assets/{BillPaySetUpPage-BbIjaE2K-BvM1AO08.js → BillPaySetUpPage-C81gx8-a-DAG36bWE.js} +1 -1
  28. package/dist/assets/{BillingSettingsPage-Bmd6ET1I-D1Hos3cN.js → BillingSettingsPage-CIUisdZK-mQpXJmxB.js} +1 -1
  29. package/dist/assets/{BillsBulkReviewDrawerPage-CYSMvAbC-CCvMSRtJ.js → BillsBulkReviewDrawerPage-DqjW9AqP-D7YAQNvr.js} +1 -1
  30. package/dist/assets/{BoxItem-B8HVRhgE-Bev68PFI.js → BoxItem-YBSbdQ7d-D8N3mTZg.js} +1 -1
  31. package/dist/assets/{BusinessVerificationPage-Cn1b1hk4-CAZR1TOe.js → BusinessVerificationPage-DeJbdegJ-n2Ac3MMR.js} +1 -1
  32. package/dist/assets/{CardNumberSubText-BcJnpRxI-D1zdlj5r.js → CardNumberSubText-Bq9G3f38-BaBJQ2OX.js} +1 -1
  33. package/dist/assets/{CashbackDetailPage-BkIotpWn-DxPDsNjO.js → CashbackDetailPage-C-0eaJVF-Bmh2Azca.js} +1 -1
  34. package/dist/assets/{ChargeCardDetailPage-kKKhppzB-DtYb-jra.js → ChargeCardDetailPage-CBB5up99-C7PliMpM.js} +21 -21
  35. package/dist/assets/{ChargeCardListPage-CP778-GK-CTP7-db-.js → ChargeCardListPage-52TDMfjH-XC6zwUdm.js} +1 -1
  36. package/dist/assets/{ChargeCardListTable-DBryLHST-Ce2gmrfZ.js → ChargeCardListTable-BdHKiQtr-BoKeTaBP.js} +11 -11
  37. package/dist/assets/ChargeCardPromoPage-D43dBHNx-Dmge2_bT.js +222 -0
  38. package/dist/assets/{ChargeCardSetupPage-m8dUXi38-BJz_Xnlk.js → ChargeCardSetupPage-CgzI8qMq-8aOP9gWV.js} +3 -3
  39. package/dist/assets/{ChargeCardStatementsPage-Dq5NpUXk-Bke0Yjm9.js → ChargeCardStatementsPage-C1PYOcuH-DSHTFs6J.js} +6 -6
  40. package/dist/assets/{CheckDepositDrawerPage-BJQ2GSoP-CvcGnuco.js → CheckDepositDrawerPage-CrYCkxKl-DX8fhtud.js} +1 -1
  41. package/dist/assets/{CollapsableReportTable-l16Ixpgb-BS0sBPj9.js → CollapsableReportTable-CvXUxopt-CWXKqXg0.js} +1 -1
  42. package/dist/assets/{CompanyOfficerDetailsSection-mKcrRkb5-BdmL4WQb.js → CompanyOfficerDetailsSection-DYAECWJz-C-5qszuR.js} +1 -1
  43. package/dist/assets/{CompanyPassportCard-DUwjb7jY-D94p2vYM.js → CompanyPassportCard-CLoIl-hE-CX-RLpgg.js} +2 -2
  44. package/dist/assets/{CompanyPassportPage-mQ_Le1I1-BsfzlRNE.js → CompanyPassportPage-B3opPlfY-CffcaeWU.js} +13 -13
  45. package/dist/assets/{CompleteProfile-CesiGAex-BxV2T4kD.js → CompleteProfile-DKCP0ZOq-CCpcvdBI.js} +1 -1
  46. package/dist/assets/{ConfettiBurst-CXF_94LB-B61erBlR.js → ConfettiBurst-Ccs36Y8q-BoEyotYe.js} +1 -1
  47. package/dist/assets/{CreateOrEditVendorPage-BMVOhEEP-okcAo0FU.js → CreateOrEditVendorPage-CC5jroI_-C5qdwHAS.js} +1 -1
  48. package/dist/assets/{CreditCardPaymentDrawerPage-Cl4vJBjO-BN2fXeeY.js → CreditCardPaymentDrawerPage-BNSfaY2k-4QGMMrZP.js} +1 -1
  49. package/dist/assets/{CurrencySelectField-CvnrYpdi-Bx3ura4E.js → CurrencySelectField-CfFOlEnM-CfS03uxO.js} +1 -1
  50. package/dist/assets/{CustomerOnboardingActivationPage-CmengYgm-DwWvQDwP.js → CustomerOnboardingActivationPage-Cac_xdpd-DG_j3gPE.js} +1 -1
  51. package/dist/assets/CustomerOnboardingContainerPage-DOZu4r0V-CARfFPsC.js +1 -0
  52. package/dist/assets/{CustomerOnboardingDetailPageSkeleton-hF2fjE7f-Bx4vnxk_.js → CustomerOnboardingDetailPageSkeleton-Cktian-X-Ch6gtFyy.js} +6 -6
  53. package/dist/assets/{CustomerOnboardingNoStepsPage-B-pbVz1_-Bu3QH6hN.js → CustomerOnboardingNoStepsPage-BVW1Hd-G-CEYYL4XK.js} +1 -1
  54. package/dist/assets/{CustomerOnboardingPage-CUj-SOSh-DqZnrHrN.js → CustomerOnboardingPage-CSTODxiL-B0YN-L_5.js} +4 -4
  55. package/dist/assets/{CustomerOnboardingProductSuitePage-DLJg9lqc-B7ctGtPH.js → CustomerOnboardingProductSuitePage-dcjDfxm3-DmmzRM-K.js} +1 -1
  56. package/dist/assets/{Dashboard-DUBT_4AU-BQQLhc7F.js → Dashboard-DHwjF8AD-euUt_v4D.js} +1 -1
  57. package/dist/assets/{DashboardReportPage-cTPn6w4q-BsaoYjkr.js → DashboardReportPage-BbFqvGcc-Bm6bvb04.js} +10 -10
  58. package/dist/assets/{DashboardSidebarBackgroundAnimation--y1-phUW-DGEiib0J.js → DashboardSidebarBackgroundAnimation-Aepv0x8n-BRMC8BKu.js} +1 -1
  59. package/dist/assets/{DepositAccTransactionItem-BJ6rNbQF-DcQ3w2ay.js → DepositAccTransactionItem-B6bYU73--Bk-F2M5u.js} +1 -1
  60. package/dist/assets/{DepositAccTransactionListPage-BXu7yVC4-BqrqxoR4.js → DepositAccTransactionListPage-DdCwnDuw-DoIQ6X_F.js} +1 -1
  61. package/dist/assets/{DomesticWireDetailsPage-D5wDMrfR-C5cM-TE-.js → DomesticWireDetailsPage-DXlw9Ok--f2WgPebu.js} +1 -1
  62. package/dist/assets/{DownloadOverlay-BF8Uzj65-BjVIvIOE.js → DownloadOverlay-KKP34aVT-GDmhikON.js} +1 -1
  63. package/dist/assets/{DrawerPage-4QqiD5ag-BNPe32xq.js → DrawerPage-DXGL0DM7-Bc-jzyXP.js} +1 -1
  64. package/dist/assets/{EditPeoplePage-BFROUzlu-DwFofRms.js → EditPeoplePage-DWmJ1PpR-B171l_6f.js} +1 -1
  65. package/dist/assets/{EditReimbursementDetailPage-Bz32u6U5-D6GoDZH_.js → EditReimbursementDetailPage-B_5V1IzS-CpmdAjAk.js} +1 -1
  66. package/dist/assets/EntityDetailPage-BUzV8V9O-CDFw7Jz4.js +18 -0
  67. package/dist/assets/{EntitySummarySection-0nKZeBKn-BkqQH4-k.js → EntitySummarySection-CdjupOWB-Bdi92weZ.js} +1 -1
  68. package/dist/assets/{ExpenseAutomationOverviewPage-Dvyn5ovf-DA904IZ7.js → ExpenseAutomationOverviewPage-Bx47Uuzu-r5x-Txwb.js} +1 -1
  69. package/dist/assets/{ExpenseAutomationPage-DPmIOATd-E0cwlhE5.js → ExpenseAutomationPage-aVCW740N-y9h0gDFl.js} +1 -1
  70. package/dist/assets/{ExpressPayPage-DGTh3qGM-CBuhnCa1.js → ExpressPayPage-xIDJP3---15Mg_KmG.js} +8 -8
  71. package/dist/assets/{FeaturePreviewPage-CHUVkqak-Bv1bUX1B.js → FeaturePreviewPage-BeGkbhpj-XrVvhthA.js} +1 -1
  72. package/dist/assets/{FollowStepsSection-C_pWSlPc-DWF54WG6.js → FollowStepsSection-9Bp032CO-BrD2qQBR.js} +1 -1
  73. package/dist/assets/{GlobalReviewListPage-BjPOnObQ-CbXiHvNN.js → GlobalReviewListPage-BKgbn5KU-DMdX8GV6.js} +1 -1
  74. package/dist/assets/{InformationCardStack-DvFu-gjh-DGBl4kd-.js → InformationCardStack-DR09Frl5-og6T9hD3.js} +6 -6
  75. package/dist/assets/{InsightsCardStack-CR3wSnhE-CCTCkrt4.js → InsightsCardStack-Bs9n7ddB-B2Kwtl5L.js} +5 -5
  76. package/dist/assets/{InsightsSection-DCFjudcA-7O17fZbk.js → InsightsSection-Bt4Z2mKl-xYOXRNGL.js} +2 -2
  77. package/dist/assets/{IntegrationsSettingsPage-DpPc99qg-BuRPrwyt.js → IntegrationsSettingsPage-Ce3RYvgj-Bxed6b4a.js} +2 -2
  78. package/dist/assets/{InternationalWireSwiftDetailsPage-xXEk6Ubv-DgeDkVIK.js → InternationalWireSwiftDetailsPage-Dl6FL0Lc-BaPHN9iA.js} +4 -4
  79. package/dist/assets/{InternationalWireVerificationPage-uh0GqYQA-9ZEgxwG_.js → InternationalWireVerificationPage-MYSltOya-BZ90_Q4i.js} +5 -5
  80. package/dist/assets/{InviteFormPage-5xqk5ISe-Bbb5YAD8.js → InviteFormPage-C0ezbQfC-ClPGWuNA.js} +1 -1
  81. package/dist/assets/{InvitePageListView-CpmTnQLj-CTufHHPe.js → InvitePageListView-SMhlCNKA-B22x1b9R.js} +1 -1
  82. package/dist/assets/{InvitePeoplePage-BeCWfFpI-DBINJPSA.js → InvitePeoplePage-Dna0gg0J-kTwq0Am9.js} +1 -1
  83. package/dist/assets/{InvoiceUploadSection-BvaKEakI-Cgqd0lG_.js → InvoiceUploadSection-QGU5U32X-Bt28YEXu.js} +1 -1
  84. package/dist/assets/{IssueChargeCardPage-Bomvo_PH-CiqvhZJZ.js → IssueChargeCardPage-jai5Nd4c-BHDpP46s.js} +1 -1
  85. package/dist/assets/{LabeledAddressValue-b4zlBP-g-DPs_zAUA.js → LabeledAddressValue-cvWoRExB-DOimN9ER.js} +1 -1
  86. package/dist/assets/{LabeledAddressValueField-DpcuqwLy-CTnD7CIG.js → LabeledAddressValueField-BewnvHGP-Cy17-5a4.js} +1 -1
  87. package/dist/assets/{LabeledControlledCheckBoxField-BTjbeJMZ-ByFU_udW.js → LabeledControlledCheckBoxField-DFKeD5HK-jfbQYMID.js} +1 -1
  88. package/dist/assets/{LabeledCreatableSingleSelectField-D_oWjB4_-A2URoXC_.js → LabeledCreatableSingleSelectField-nc8iZ1C1-CV4i9q1e.js} +1 -1
  89. package/dist/assets/{LabeledDocumentField-dtnakMLl-DM4CLrZI.js → LabeledDocumentField-DmRNRSkb-CDplxK9C.js} +1 -1
  90. package/dist/assets/{LabeledDropDownFormattedTextField-DDtxGo1u-9ainO5Wl.js → LabeledDropDownFormattedTextField-BP1jmZf7-D3OI0FNX.js} +1 -1
  91. package/dist/assets/{LabeledText-CUs3VIof-3boaO8Y1.js → LabeledText-CIupsEGL-vKnChPk0.js} +1 -1
  92. package/dist/assets/{LabeledUserSingleSelectWithSubtitlesField-BusH2qnZ-GKSXWTga.js → LabeledUserSingleSelectWithSubtitlesField-CeZEGuNW-DnFoIROQ.js} +1 -1
  93. package/dist/assets/{LabeledZeniRolesDropDownField-DYkmOsOP-Dg0kuJ4H.js → LabeledZeniRolesDropDownField-CDmiz3py-JlLIrijY.js} +1 -1
  94. package/dist/assets/{LinkJETransactionPage-DbP6jfzn-BtGeDf5_.js → LinkJETransactionPage-BtUXXguK-BX6h2lWE.js} +1 -1
  95. package/dist/assets/{LockCardPage-CWEZyzEM-Bg4PM8JQ.js → LockCardPage-TzEwLGD1-Cmclt9pm.js} +1 -1
  96. package/dist/assets/{LowBalancePopup-BQ9JPBTS-DRn4mn9-.js → LowBalancePopup-BWD6Kz-D-JhqQW5Xo.js} +1 -1
  97. package/dist/assets/MagicLinkACHDetailsPage-CZQ8tUTD-Da6izWW_.js +1 -0
  98. package/dist/assets/MagicLinkDomesticWireDetailsPage-DHZY9sKi-DpYSqAI_.js +1 -0
  99. package/dist/assets/MagicLinkInternationalWireDetailsPage-BJtMjz1M-Dw8wDVtb.js +1 -0
  100. package/dist/assets/{MagicLinkSuccessPage-DU1RM5NI-Wq9yOHXi.js → MagicLinkSuccessPage-DQAUDzEV-D_oG7NAX.js} +1 -1
  101. package/dist/assets/{MagicLinkTitleSection-RWEjrx8m-CX8Fw-B8.js → MagicLinkTitleSection-JcGSlbn4-wY3-HkBx.js} +1 -1
  102. package/dist/assets/MailingDetailsSection-Ch5XvR8o-DHMj4gz4.js +21 -0
  103. package/dist/assets/{Menu-BTZYMOTT-CKMXXApd.js → Menu-B05IRjpP-oB6ZIzEi.js} +1 -1
  104. package/dist/assets/{MyBankConnectionsSettingsPage-DufaL9n8-M4dyrfVV.js → MyBankConnectionsSettingsPage-D2a7LgLg-CVhBWNpq.js} +1 -1
  105. package/dist/assets/{MyPendingActivationChargeCardListPage-DwCUyRec-SM92wYsw.js → MyPendingActivationChargeCardListPage-pDexjhqy-DP1wPJrc.js} +1 -1
  106. package/dist/assets/{MyProfileSettingsPage-geduKqxy-CauaXJ2g.js → MyProfileSettingsPage-CRkrD2Bn-FBlqtq-o.js} +2 -2
  107. package/dist/assets/{NavBarWithPicker-edkm8kW--DTJVRU93.js → NavBarWithPicker-9HjZDzt5-FKds7wXE.js} +1 -1
  108. package/dist/assets/{NavigationArrow-DAOz2wst-CzpVYMv0.js → NavigationArrow-CgBj8o4H-BlFGUhy1.js} +1 -1
  109. package/dist/assets/{NavigationDots-Dm8SYcdL-CXSz5QAZ.js → NavigationDots-BcSXYcwF-cwaSYMDv.js} +1 -1
  110. package/dist/assets/{NewGlobalMerchantPage-enaZFSVb-D5ALf38h.js → NewGlobalMerchantPage-Dv9JrWDT-BA8nAIgM.js} +1 -1
  111. package/dist/assets/{NoDataChart-BIcLmdso-V1__FO4W.js → NoDataChart-tkUQHi-b-C5CjlXPt.js} +1 -1
  112. package/dist/assets/{NoDataTable-C9ywvwy4-CbJRpj1w.js → NoDataTable-DHZ1gQeV-DFGtLWam.js} +1 -1
  113. package/dist/assets/{NotFoundPage-B0Pfc4vD-0nVsRFSV.js → NotFoundPage-D59UVi8i-5MNYbcKK.js} +7 -7
  114. package/dist/assets/{NotificationSettingsPage-Di4KhoPI-Zq8167Bo.js → NotificationSettingsPage-xVOogGxf-BuNP_ADs.js} +1 -1
  115. package/dist/assets/{NotificationsListConfig-CHb7phwi-CuAMA5zK.js → NotificationsListConfig-CkDLXlK_-Dyu4QQzt.js} +1 -1
  116. package/dist/assets/{NotificationsPage-B4KMZZ0V-CdnEBa77.js → NotificationsPage-C8zx5kJx-Dl-4CqVn.js} +1 -1
  117. package/dist/assets/{OpExByVendorPage-CAxLWg7x-CVAp3gyR.js → OpExByVendorPage-BaUEnLMo-DqlhH9_M.js} +1 -1
  118. package/dist/assets/{OverlayContainerPage-Daz3A7cI-C0naTs3U.js → OverlayContainerPage-Daz3A7cI-CjSleqHo.js} +1 -1
  119. package/dist/assets/{PandLWithForecastPage-Dx56-ypM-CahTbCAI.js → PandLWithForecastPage-BKWEOfwP-voM5FybB.js} +1 -1
  120. package/dist/assets/{PaymentAccountSetupBillingAddressSection-C8QwChEK-DSZP0_gt.js → PaymentAccountSetupBillingAddressSection-Ddm0Q_3J-iDE-MOKu.js} +1 -1
  121. package/dist/assets/{PeoplePage-CjD6uKA--DQJyasjD.js → PeoplePage-ChBsx1YC-C_Fl1jcc.js} +1 -1
  122. package/dist/assets/Preview-DWEhp9iP.js +1 -0
  123. package/dist/assets/{ProductsCarousel-DzOaqLVq-BtBP3iUE.js → ProductsCarousel-CaOQupY4-Bxf4CH6R.js} +1 -1
  124. package/dist/assets/{PromoBaseCards-B1h9AEH0-CHWZv_Gb.js → PromoBaseCards-DeJ4J5Lp-BRCdntYT.js} +1 -1
  125. package/dist/assets/{QBOConnectionDialog-Bv6unk3C-C69fuiCc.js → QBOConnectionDialog--nz5v12t-BznyDbQp.js} +1 -1
  126. package/dist/assets/{QBOSetupSection-BTjj7g98-CXsc6nTM.js → QBOSetupSection-DQTH1dAT--WL2Dx1Z.js} +1 -1
  127. package/dist/assets/ReimbursementApprovalRuleDetailPage-BottOscg-CAHU3Hml.js +24 -0
  128. package/dist/assets/ReimbursementApprovalRulesPage-B46nrYDg-DD0XiWBs.js +237 -0
  129. package/dist/assets/{ReimbursementDetailPage-DnXsG55s-DO7QVibn.js → ReimbursementDetailPage-DvSn2LUG-B9MjjUuK.js} +1 -1
  130. package/dist/assets/{ReimbursementPromoPage-Di39wgvD-CwoSxp24.js → ReimbursementPromoPage-DRItpn0n-DjtSA1Xj.js} +1 -1
  131. package/dist/assets/{ReimbursementSetUpPage-CT5bs4wM-CImglJgz.js → ReimbursementSetUpPage-CRnE1XYI-C2_UvSyd.js} +4 -4
  132. package/dist/assets/{ReimbursementsBulkReviewDrawerPage-BcB8hTar-D2swNEDZ.js → ReimbursementsBulkReviewDrawerPage-C6Cn3AOg-WyMbQmuf.js} +1 -1
  133. package/dist/assets/{ReloadCard-BGPtXAV7-D43T0ICm.js → ReloadCard-CRQf0INS-CM9HcBcK.js} +1 -1
  134. package/dist/assets/{ReportTableViewSelector-gEKTiiSk-DFp8GlM2.js → ReportTableViewSelector-Dj9qmDS0-C79_BFmS.js} +4 -4
  135. package/dist/assets/{ReportsPage-Ctvnzlk1-DLJ23fuU.js → ReportsPage-BJmkDtu3-BHlyDsBo.js} +5 -5
  136. package/dist/assets/{RevenueChart-D1PfVLk0-DHVFjjTE.js → RevenueChart-LvTct9qg-CqMmRuwP.js} +14 -14
  137. package/dist/assets/{ReviewDetailsPage-Ynw6pln--BjtdFL4i.js → ReviewDetailsPage-CDWKsdgl-_lQ4M5E9.js} +52 -52
  138. package/dist/assets/{ReviewOverlay-DQZwNpFY-DMkxDhbs.js → ReviewOverlay-Bh8LAnRM-CyjKd25e.js} +1 -1
  139. package/dist/assets/{RoleWithToolTip-DbQ4ezrP-Dd2VpMcB.js → RoleWithToolTip-BHHwWcYs-BR4B_g9G.js} +1 -1
  140. package/dist/assets/{ScheduleDetailsFixedAssetsPage-DlqQBt-s-drLmv8lF.js → ScheduleDetailsFixedAssetsPage-C_nki9xG-C_v2_vCQ.js} +1 -1
  141. package/dist/assets/{ScheduleDetailsPage-CrVetPy7-CWE6_gjF.js → ScheduleDetailsPage-BXmAqbuh-Gg4bs2eh.js} +1 -1
  142. package/dist/assets/{ScheduleSequenceTable-B7pQ00z8-CEVjTUeV.js → ScheduleSequenceTable-BePVgFIB-BxJLrQ2I.js} +1 -1
  143. package/dist/assets/{ScreenRoutes-Sl9iaV1P.js → ScreenRoutes-xhTHWLYi.js} +1 -1
  144. package/dist/assets/{SetUpAccountSection-BAsI7p1f-Dy9q8TNa.js → SetUpAccountSection-B1mXaFmw-BQBAmCi3.js} +1 -1
  145. package/dist/assets/{SignIn-CE6gxhI3-CtZacIY2.js → SignIn-B8qL3jmy-CehNtVNp.js} +1 -1
  146. package/dist/assets/SignInScreen-Cp3MQQbP.js +1 -0
  147. package/dist/assets/SpendManagementListViewPage-D-XwxN9o-C4dAHfpb.js +123 -0
  148. package/dist/assets/SpendManagementPerTabPage-CF7D2umh-zU9LbhKc.js +754 -0
  149. package/dist/assets/{SpendManagementSection-rHLuZG8_-UxYLxpbV.js → SpendManagementSection-CIqYxYxX-BVCp77Yh.js} +1 -1
  150. package/dist/assets/StatementItem-Cj9_LMwP-iOXv6bUO.js +31 -0
  151. package/dist/assets/{StatementsPage-5oimgNHp-D8qK05-P.js → StatementsPage-CB8LocUZ-e2Dh9l46.js} +1 -1
  152. package/dist/assets/{StatusSwitcher-CLCkXs_4-DhXpfaBL.js → StatusSwitcher-DetjWSRH-Q0yUcFVR.js} +1 -1
  153. package/dist/assets/{SubTabSwitcher-DDR7LrDO-DpWQK8Dj.js → SubTabSwitcher-DNqrmpKa-CF4L1Kwg.js} +1 -1
  154. package/dist/assets/{SummaryCard-Cg5UVud3-DPRQua4j.js → SummaryCard-CxlxmBvk-B-SyMhB-.js} +1 -1
  155. package/dist/assets/{TaskManagementPage-6_zt2ePp-BeO6Q35e.js → TaskManagementPage-zHTW1LJ--Dqvt7j5c.js} +15 -15
  156. package/dist/assets/{TimeRangeSwitcher-BTx3d66N-DkQSngDA.js → TimeRangeSwitcher-8D64-X4u-DSKeQDPn.js} +11 -11
  157. package/dist/assets/{TimeframeSwitcher-BkGiMDhd-Dhql0xBj.js → TimeframeSwitcher-YicRGCkf-D-mysr-q.js} +1 -1
  158. package/dist/assets/{TimeframeSwitcherWithToggle-M554ai9V-DeR389hA.js → TimeframeSwitcherWithToggle-mP6ezXyM-B9RCQQMF.js} +3 -3
  159. package/dist/assets/{TopExCard-ym2uAvUy-DkU_w9K-.js → TopExCard-BDEoKFUO-Cqks_MY0.js} +10 -10
  160. package/dist/assets/{TopExDetailPage-DU1Qj5ea-DhOfzSmR.js → TopExDetailPage-CLUf9sHg-DjgQ-dJN.js} +8 -8
  161. package/dist/assets/{TransactionDetailPage-BHyBhrM7-B3UILKwv.js → TransactionDetailPage-C-GKDIp2-oZAwumRI.js} +1 -1
  162. package/dist/assets/{TransactionList-CIbSavhJ-Dp71olkE.js → TransactionList-BqQVYWs_-CYNYQaes.js} +1 -1
  163. package/dist/assets/{TransactionListBig-kC4b3DAu-DjTE72OH.js → TransactionListBig-CDgdq8hU-BFzaq7Iz.js} +1 -1
  164. package/dist/assets/{TransactionListPage-Ci98GcF7-ClRcNxWS.js → TransactionListPage-CyGTX1pW-Cj8J8ecy.js} +2 -2
  165. package/dist/assets/{TransactionVendorDetailPage-DI4kq_vO-D-o6bFok.js → TransactionVendorDetailPage-NKocfHyN-C_fZiZg1.js} +1 -1
  166. package/dist/assets/{TransferDrawerPage-B342yNDJ-CsWgYoId.js → TransferDrawerPage-qNh4Fww2-CNaDS1Go.js} +1 -1
  167. package/dist/assets/{TreasuryOverviewPage-cvOuWLTK-CefWRHUR.js → TreasuryOverviewPage-D1RQYkoX-CQ3CkOfI.js} +1 -1
  168. package/dist/assets/{TreasuryPromoPage-DyseS2l1-PYUqYVga.js → TreasuryPromoPage-najiDjYG-CYR1JzfB.js} +1 -1
  169. package/dist/assets/TreasuryStatementsPage-CRR-Df5x-DF9p1Ylz.js +58 -0
  170. package/dist/assets/{TreasuryTaxLetterPage-DjV36uFi-ebsJYDfS.js → TreasuryTaxLetterPage-vKXs7eCx-B9A61B43.js} +2 -2
  171. package/dist/assets/{TrendChart--yie2Xkp-B3lZJMT5.js → TrendChart-DtubLSsW-C9uVL_nf.js} +2 -2
  172. package/dist/assets/{TrendWithTransactions-DVLdmgtU-Cv22_4bm.js → TrendWithTransactions-DB5hmoGk-BT0bTVEH.js} +1 -1
  173. package/dist/assets/{UncategorizedAccountsMappingPage-CRypWMwQ-DzPLYLFI.js → UncategorizedAccountsMappingPage-ldBfy4n9-BSd43gPp.js} +5 -5
  174. package/dist/assets/{UnitIntegrationPage-DU6Luklp-CVEu7KVf.js → UnitIntegrationPage-DPHlAm3E-k8T3V2L9.js} +1 -1
  175. package/dist/assets/{UploadAdditionalDocumentOverlay-jNiTn6qG-D_tolxLp.js → UploadAdditionalDocumentOverlay-C2kqDNTp-CLCo9ZjN.js} +1 -1
  176. package/dist/assets/{Vendor2FAPopup-BNA3GtkO-ClfV14L3.js → Vendor2FAPopup-_DrX-sZ2-C-ynpNGr.js} +1 -1
  177. package/dist/assets/VendorACHDetailsPage-ims8AKLH-Ckg60c1E.js +1 -0
  178. package/dist/assets/{VendorDetailPage-B6s7kOX--Cl8uI1J2.js → VendorDetailPage-dh7UBGAL-gseaFndd.js} +1 -1
  179. package/dist/assets/VendorDomesticWireDetailsPage-C_28sDKW-Ck0eXnl0.js +1 -0
  180. package/dist/assets/{VendorFiling1099EditablePage-DiVBfWTv-CQg0-jaT.js → VendorFiling1099EditablePage-CGEA0mkh-DtfOreYr.js} +1 -1
  181. package/dist/assets/{VendorFirstReviewPage-CuM6lK63-QOnJj4dm.js → VendorFirstReviewPage-BGktoc9W-h6QMXY4Y.js} +1 -1
  182. package/dist/assets/{VendorInternationalWireDetailsPage-CcTippeu-CFZ4Mir_.js → VendorInternationalWireDetailsPage-DidLa6Yx-BHcPntRA.js} +1 -1
  183. package/dist/assets/VendorInternationalWireSwiftDetailsPage-YqE835gy-EXKEVzqz.js +1 -0
  184. package/dist/assets/{VendorsAccountsSection-zeM6PeT4-zwdhVM2D.js → VendorsAccountsSection-BtjrsclQ-CCbXB7Vr.js} +1 -1
  185. package/dist/assets/{VerifyDevice-iKowLq-3-BWk2f90N.js → VerifyDevice-DkibYc6v-B-zCOUZe.js} +7 -7
  186. package/dist/assets/{VideoPlayer-CN28Ho6V-t5x8EBh8.js → VideoPlayer-C8VeeJIx-Bo3SMitQ.js} +2 -2
  187. package/dist/assets/{VideoPopup-CfYmxIk4-BV_-FDHV.js → VideoPopup-aA7dkXbZ-BQm8xqng.js} +4 -4
  188. package/dist/assets/{WarningsDrawerPage-C4jqovLJ-DvCRmdFF.js → WarningsDrawerPage-CA0EogPY-DmMnG6Y0.js} +1 -1
  189. package/dist/assets/{ZeniAccountDetailPage-M045ginI-CIh86zMI.js → ZeniAccountDetailPage-Z7ZXcJ98-BoMU7_sz.js} +1 -1
  190. package/dist/assets/{ZeniAccountListViewPage-C-eOjorO-Dort1_5m.js → ZeniAccountListViewPage-CllLl65J-C_iRgCJw.js} +1 -1
  191. package/dist/assets/{ZeniAccountNavBarPieces-Dz9ssqU1-7L41-5ss.js → ZeniAccountNavBarPieces-CHXbVcQE-vXZ3dsMQ.js} +1 -1
  192. package/dist/assets/{ZeniAccountPromoPage-BxzNy8wF-ClpXMz8i.js → ZeniAccountPromoPage-DAtyHUfj-BSm4TiYG.js} +1 -1
  193. package/dist/assets/{ZeniAccountSetupPage-zWKttj2U-Co7Yvnyy.js → ZeniAccountSetupPage-Cy6_fMVK-C8cnPKU9.js} +1 -1
  194. package/dist/assets/{ZeniCopyright-2oeOVh0P-DJaD_9oR.js → ZeniCopyright-D5JfDH77-jPfeHSFD.js} +1 -1
  195. package/dist/assets/{ZeniTransferAmountSlider-BADEO33A-DpMPk5Vb.js → ZeniTransferAmountSlider-Bk2gg7DY-CUDntV_F.js} +1 -1
  196. package/dist/assets/{add-to-wallet-DgdBD8_G-eMWALCp1.js → add-to-wallet-DgdBD8_G-C5IoXTpL.js} +1 -1
  197. package/dist/assets/{analytics-DCCTWnnc.js → analytics-aL6KvWIc.js} +1 -1
  198. package/dist/assets/{analyticsHelper-C2XPB_2A-DuJwOZQc.js → analyticsHelper-Cnk2OUU2-obG2D2We.js} +1 -1
  199. package/dist/assets/{analyticsHelper-DnU5BAvo.js → analyticsHelper-KEHx3dOo.js} +1 -1
  200. package/dist/assets/{arrow-south-east-round-PEovUgvH-9nM57KjQ.js → arrow-south-east-round-PEovUgvH-TX5SKWFw.js} +1 -1
  201. package/dist/assets/{auto-transfer-rule-mbafm5D3-DeA5cpdU.js → auto-transfer-rule-mbafm5D3-Bk6z9OTx.js} +1 -1
  202. package/dist/assets/{chartTypes-PZyiFZrr-DoI-jL6q.js → chartTypes-CMIndIax-BEMOmico.js} +1 -1
  203. package/dist/assets/{commonDimensions-C_y3LIE8-X_N9ThEv.js → commonDimensions-DSS8XDHZ-BEyzahKx.js} +1 -1
  204. package/dist/assets/{constants-COrMNehl.js → constants-BPxZQJPZ.js} +1 -1
  205. package/dist/assets/{core-D2k9JfRf.js → core-DesIUmVX.js} +1 -1
  206. package/dist/assets/{dash.all.min-wMAz1qMX.js → dash.all.min-C390RKsv.js} +1 -1
  207. package/dist/assets/{detailCommon-PTd6DPpO-o02U7S0B.js → detailCommon-DWd4agOz-DxO_ewED.js} +3 -3
  208. package/dist/assets/{downloadPdf-BdoS2D6l-B5cqxKI-.js → downloadPdf-BCoq8NLc-6NV7wH9_.js} +1 -1
  209. package/dist/assets/{empty-D-w6ZnHI.js → empty-SFYuBxta.js} +1 -1
  210. package/dist/assets/{empty-D0VEAoJw.js → empty-VSZPEYlm.js} +1 -1
  211. package/dist/assets/{epic-ClwVDlVx.js → epic-BVf_osK2.js} +2 -2
  212. package/dist/assets/{gift-box-Cmt9OgIZ-D29dLASa.js → gift-box-Cmt9OgIZ-TIfg-5OQ.js} +1 -1
  213. package/dist/assets/{graphic-no-data-l-DU4J8fDt-C5a4mTsI.js → graphic-no-data-l-DU4J8fDt-DuzN_8KG.js} +1 -1
  214. package/dist/assets/{graphic-no-data-net-burn-l-CzmycA0m-DMABn47o.js → graphic-no-data-net-burn-l-CzmycA0m-DXtlpj6J.js} +1 -1
  215. package/dist/assets/{handshake-BPg58FML-CY1iZII1.js → handshake-BPg58FML-CsRg4PlR.js} +1 -1
  216. package/dist/assets/{index-BDimSyBu.js → index-9kMzLkcy.js} +1 -1
  217. package/dist/assets/{index-CK2D3iZ1.js → index-BoDHThmj.js} +8 -8
  218. package/dist/assets/{index-BNglrSQW.js → index-C68_2S6E.js} +1 -1
  219. package/dist/assets/{index-n5uJZ9k2.js → index-CznijgRQ.js} +1 -1
  220. package/dist/assets/{index-CCUQyVRy.js → index-DUHbU2Cn.js} +1 -1
  221. package/dist/assets/{index-BeaEqEWK.js → index-Do2Bw3DR.js} +1 -1
  222. package/dist/assets/{index-Byk1BTgy.js → index-Ibs5bNMX.js} +1 -1
  223. package/dist/assets/{lexical-BEs89iUy.js → lexical-WHFPYU-_.js} +1 -1
  224. package/dist/assets/{liveblocks-CofSwFWW.js → liveblocks-2fUZ-mzS.js} +1 -1
  225. package/dist/assets/{lottie-BO8FHl2Q.js → lottie-BC5QDLx3.js} +2 -2
  226. package/dist/assets/mapLoadingInProgressToTreeNode-Dgkep7PZ-BYp3zSrW.js +1 -0
  227. package/dist/assets/{mapSectionWithAcOnlyToTreeNode-C6gW1Rqr-Dv2Q5ZLA.js → mapSectionWithAcOnlyToTreeNode-DF-WWO6U-CTOVPeIK.js} +1 -1
  228. package/dist/assets/mapSpacerToTreeNode-CumKhTYV-Dl2RLlwx.js +1 -0
  229. package/dist/assets/mapTimeframeBalancesToTreeNode-BttFKWAb-HZT5Q3k5.js +1 -0
  230. package/dist/assets/{mapTimeframeBalancesToTreeNode-BooGIyls-Ct92rF5c.js → mapTimeframeBalancesToTreeNode-CBfPdKyR-CzUv0SrG.js} +1 -1
  231. package/dist/assets/mapTimeframeHeaderLoadingInProgressToTreeNode-BREIWW8N-D82Zhv2q.js +1 -0
  232. package/dist/assets/{mui-DCr-y2iU.js → mui-DjUnBv6N.js} +1 -1
  233. package/dist/assets/{page-detail-CWX5S47F-DDARVgTr.js → page-detail-CWX5S47F-BzMdmGGr.js} +1 -1
  234. package/dist/assets/{radio-default-CiSgisfh-DO_kFVBk.js → radio-default-CiSgisfh-BaxkJ2IH.js} +1 -1
  235. package/dist/assets/{react-CFfs9kVE.js → react-C_7-vb8x.js} +1 -1
  236. package/dist/assets/{react-DFeqXhsB.js → react-ClWHGkrF.js} +2 -2
  237. package/dist/assets/{react-BGUULhAS.js → react-D27rdI1k.js} +1 -1
  238. package/dist/assets/{react-j6fq6Sto.js → react-DJeKvZ9o.js} +3 -3
  239. package/dist/assets/{react-CEdfmx42.js → react-Duprtjy6.js} +2 -2
  240. package/dist/assets/{react-UyoSCzBu.js → react-alWVovel.js} +2 -2
  241. package/dist/assets/{react-BgpCchG_.js → react-pGoAOdu_.js} +1 -1
  242. package/dist/assets/{react-DgBRIATV.js → react-rAAguZrV.js} +2 -2
  243. package/dist/assets/{recharts-CIKvFUT6.js → recharts-CFBD4y8X.js} +1 -1
  244. package/dist/assets/{sentry-Dm3bm_ok.js → sentry-CAa_RBiQ.js} +2 -2
  245. package/dist/assets/{shield-DOlUxcFf-BEm6OgBB.js → shield-DOlUxcFf-DL1rYkPV.js} +1 -1
  246. package/dist/assets/toCOABalancesWithID-v28KjzUb-BufPkuG3.js +1 -0
  247. package/dist/assets/{toChartData-BUhYY9IR-S8AOthKK.js → toChartData-DuH-6FTe-D-qs3n2e.js} +1 -1
  248. package/dist/assets/{transaction-placeholder-CpOwZAMG-gpUqGjUj.js → transaction-placeholder-CpOwZAMG-CmGAjmF0.js} +1 -1
  249. package/dist/assets/{uploadAttachment-D-Lomshq-0SKv4D0e.js → uploadAttachment-BkoEZkOd-bK4cqD66.js} +1 -1
  250. package/dist/assets/{uploadReceipts-CPw64UYa-BEcpM53g.js → uploadReceipts-CPw64UYa-UaFIqgAV.js} +1 -1
  251. package/dist/assets/{url-BXpa7lO3.js → url-qjSvksOH.js} +1 -1
  252. package/dist/assets/{url-D9ndU82p.js → url-sgt9CiMb.js} +1 -1
  253. package/dist/assets/{useLongPress-GCK2COYQ-DzUxHAZU.js → useLongPress-GCK2COYQ-BKjrZB1N.js} +1 -1
  254. package/dist/assets/{usp-line-BBd1wKwW-Cow5FZNy.js → usp-line-BBd1wKwW-DAbeFX6P.js} +1 -1
  255. package/dist/assets/{utils-CVsOBiWJ.js → utils-MCudDogO.js} +1 -1
  256. package/dist/assets/{zeni-epic-state-Cgro3mH-.js → zeni-epic-state-BO46e_7F.js} +3 -3
  257. package/dist/index.html +1 -1
  258. package/package.json +3 -3
  259. package/dist/assets/AccountInfoPage-D2IedGAy-DpkY7tZI.js +0 -18
  260. package/dist/assets/BillPayApprovalRuleDetailPage-B7z1PKq6-D3qc7XQa.js +0 -27
  261. package/dist/assets/BillPayApprovalRulesPage-Cj55NkSk-CVNQ2WUg.js +0 -241
  262. package/dist/assets/ChargeCardPromoPage-D_eQ_vXf-CNDMyI7K.js +0 -222
  263. package/dist/assets/CustomerOnboardingContainerPage-CBiHoKP2-K1SzPxIX.js +0 -1
  264. package/dist/assets/EntityDetailPage-BnG_PBK5-88aNTDFS.js +0 -18
  265. package/dist/assets/MagicLinkACHDetailsPage-CKoTuvNz-BHd5xcLb.js +0 -1
  266. package/dist/assets/MagicLinkDomesticWireDetailsPage-Di5hHI_D-C4fzv92i.js +0 -1
  267. package/dist/assets/MagicLinkInternationalWireDetailsPage-B2izwKNk-B8pTw_O-.js +0 -1
  268. package/dist/assets/MailingDetailsSection-BT3SGHhD-Ctkbx47B.js +0 -21
  269. package/dist/assets/Preview-BXKaaVKN.js +0 -1
  270. package/dist/assets/ReimbursementApprovalRuleDetailPage-CHXo51lU-BT66bgjF.js +0 -32
  271. package/dist/assets/ReimbursementApprovalRulesPage-D7utb8vM-BSv0WO21.js +0 -243
  272. package/dist/assets/SignInScreen-BTo7-KSm.js +0 -1
  273. package/dist/assets/SpendManagementListViewPage-CURCimXb-CsGfTOO_.js +0 -123
  274. package/dist/assets/SpendManagementPerTabPage-RY3B-92H-DYTGBiT6.js +0 -785
  275. package/dist/assets/StatementItem-DcPGZchp-CZE_bKaq.js +0 -31
  276. package/dist/assets/TreasuryStatementsPage-rXMNPd2f-B8HSB6xE.js +0 -58
  277. package/dist/assets/VendorACHDetailsPage-B9UpKcN3-BTioFEDj.js +0 -1
  278. package/dist/assets/VendorDomesticWireDetailsPage-CVJAmjuC-DlG2tDpP.js +0 -1
  279. package/dist/assets/VendorInternationalWireSwiftDetailsPage-8u1L-aEg-CW6R8j3k.js +0 -1
  280. package/dist/assets/mapLoadingInProgressToTreeNode-CUy8c_Sm-CvM45xH7.js +0 -1
  281. package/dist/assets/mapSpacerToTreeNode-DqR98mLo-CGAj6TpO.js +0 -1
  282. package/dist/assets/mapTimeframeBalancesToTreeNode-BIGZRHHI-DtvbK4iE.js +0 -1
  283. package/dist/assets/mapTimeframeHeaderLoadingInProgressToTreeNode-lSB04gFW-CRpECfjU.js +0 -1
  284. package/dist/assets/toCOABalancesWithID-CPbzhUua-B5GAWKcP.js +0 -1
@@ -1,4 +1,4 @@
1
- import{V as a,q as me,a7 as pe,aM as ee,hm as Qe,aK as Pe,n as et,m as tt,aO as je,o as t,F as W,y as d,L as ze,l as at,af as nt,d as Ee,bQ as ot,fc as Me,a as Y,p as G,gk as Ce,b as it,ap as Be,D as rt,aN as be,a8 as lt,fv as ct,cB as st,ab as dt,eX as mt,fz as pt,cG as ut,hz as xe,hA as ht,g7 as gt,c as r,b$ as yt,bZ as Oe,fj as ft,cf as Ct,ak as _e,hn as bt,aR as xt,hB as wt,cY as St,hp as Dt,fL as $t,fH as kt}from"./index-CK2D3iZ1.js";import{n as i}from"./mui-DCr-y2iU.js";import{a as p}from"./sentry-Dm3bm_ok.js";import{bL as se,bP as At,bh as Lt,bJ as vt,bK as we,bI as It}from"./zeni-epic-state-Cgro3mH-.js";import{x as Ft}from"./LabeledControlledCheckBoxField-BTjbeJMZ-ByFU_udW.js";import"./liveblocks-CofSwFWW.js";import"./core-D2k9JfRf.js";import"./recharts-CIKvFUT6.js";import"./lottie-BO8FHl2Q.js";import"./analytics-DCCTWnnc.js";import"./lexical-BEs89iUy.js";import"./utils-CVsOBiWJ.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},o=new e.Error().stack;o&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[o]="944e5f48-5746-44d0-a3d3-e19bd076ace0",e._sentryDebugIdIdentifier="sentry-dbid-944e5f48-5746-44d0-a3d3-e19bd076ace0")}catch{}})();const te={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 Y("h6Regular","h5Regular"),integerAmountInput:new Y("h5Regular","h2Regular"),decimalAmountInput:new Y("largeSemiBold","h5Medium")},{dateFormat:{visual:{MMMDCommaYYYYformat:Tt}},common:{edit:Rt,labels:Se,currency:De,navBar:{back:Pt}},spendManagement:{zeniAccounts:{zeniAccountList:{transferDrawer:jt}},chargeCard:{payEarly:Q}}}=W.getLocalizedStrings(),zt=({paymentDetails:e,isCashbackInfoFetchStateCompleted:o,isCreditCardInfoFetchStateCompleted:h,isDebitCardInfoFetchStateCompleted:n,controllerEmails:f,productInformation:c,cashbackInformation:g,paymentSourceInformation:L,creditAccountInformation:C,debitAccountInformation:y,setShowReviewContent:x,onTransferClick:b,isCompleteOutstandingBalanceBeingPaid:D})=>{const m=me(),R=Ee(),P=pe().analytics,[E,v]=p.useState(!1);p.useEffect(()=>{e.error!=null?v(!0):v(!1)},[e.error]);const k=te.largeLabelWidth.value(m);return a.jsxs(a.Fragment,{children:[a.jsxs(Wt,{windowSize:m,children:[a.jsx(Qt,{windowSize:m,children:a.jsx(ot,{title:Pt,enterTouchDelay:600,placement:"bottom",children:a.jsx(Jt,{"data-testid":ee("nav-bar-back-credit-card-payment-review"),onClick:()=>{o&&h&&n&&g!=null&&P.trackCardsPayEarlyFormClick(f,c,g,"Back",e.chargeCardRepaymentDetailLocalData.isAutoRepayment,{paymentAmount:e.chargeCardRepaymentDetailLocalData.amount.amount,paymentAccountName:e.chargeCardRepaymentDetailLocalData.transferFrom?.label,paymentAccountType:e.chargeCardRepaymentDetailLocalData.transferFrom?.accType,paymentAccountLastFourDigits:e.chargeCardRepaymentDetailLocalData.transferFrom?.accountLast4,paymentCompleteEta:void 0,paymentInitiatedDate:void 0},L,C,y),x(!1)}})})}),a.jsx(ea,{windowSize:m,children:jt.reviewAndConfirm}),a.jsx(Mt,{children:a.jsx(Me,{amount:e.chargeCardRepaymentDetailLocalData.amount,integerStyles:de.integerAmountInput.styleObject(m),decimalStyles:de.decimalAmountInput.styleObject(m)})}),E?a.jsx(Yt,{children:a.jsxs(_t,{children:[a.jsxs(Gt,{children:[a.jsx(Kt,{}),a.jsxs(Nt,{children:[a.jsx(Ut,{children:e.error?.title}),a.jsx(Vt,{children:e.error?.message})]})]}),a.jsx(Ht,{children:a.jsx(Xt,{"data-testid":ee("close-error-credit-card-payment-review"),onClick:()=>{v(!1)},style:{width:t.sp3,height:t.sp3,color:G.heroLight}})})]})}):null,a.jsx(qt,{windowSize:m,children:a.jsxs(Ot,{children:[a.jsx(Ce,{label:{label:Se.transferFrom,width:k},text:a.jsxs($e,{windowSize:m,children:[Ne(e.transferFromAccounts,e.chargeCardRepaymentDetailLocalData.transferFrom?.id??"",!0),a.jsx(Bt,{windowSize:m,children:e.chargeCardRepaymentDetailLocalData.transferFrom?.label})]}),style:{width:"auto"}}),a.jsx(Zt,{}),a.jsx(Ce,{label:{label:Se.amount,width:k},showAdditionalInfoLabel:!0,additionalInfoLabel:`${D?Q.creditLimitReset:Q.creditLimitUpdate} ${se(At(Lt().toDate(),[0,6],3).toDateString()).format(Tt)} ${Q.business23Days}`,additionalInfoLabelStyles:{color:R.colors.hero,...it.smallRegular.cssObject},text:a.jsx($e,{windowSize:m,children:Pe("0,0.[00]",{amount:e.chargeCardRepaymentDetailLocalData.amount.amount,currencyCode:De.currencyCode,currencySymbol:De.currencySymbol})}),style:{width:"auto"}})]})})]}),a.jsx(je,{style:{zIndex:4,paddingTop:t.sp3,paddingBottom:t.sp0},helperText:Q.byClickingPayNowIAuthorizeZeniToInitiateThePayment,helperStyle:{padding:`${t.sp0} ${t.sp0} ${t.sp3} ${t.sp0}`},cancelBtn:{label:Rt,onClick:()=>{o&&h&&n&&g!=null&&P.trackCardsPayEarlyFormClick(f,c,g,"Edit",e.chargeCardRepaymentDetailLocalData.isAutoRepayment,{paymentAmount:e.chargeCardRepaymentDetailLocalData.amount.amount,paymentAccountName:e.chargeCardRepaymentDetailLocalData.transferFrom?.label,paymentAccountType:e.chargeCardRepaymentDetailLocalData.transferFrom?.accType,paymentAccountLastFourDigits:e.chargeCardRepaymentDetailLocalData.transferFrom?.accountLast4,paymentCompleteEta:void 0,paymentInitiatedDate:void 0},L,C,y),x(!1)},style:{minWidth:94}},primaryBtn:{label:Q.payNow,onClick:b,isLoading:e.updateStatus==="In-Progress",style:{minWidth:94}}})]})},Ne=(e,o,h)=>{if(o==="")return a.jsx(ra,{});const n=e.find(c=>c.id===o),f=e.findIndex(c=>c.id===o);if(n!=null){if(n.accType==="depositAccount")return a.jsx(oa,{isOptionSelected:h,children:a.jsx(ia,{color:bt(f)})});if(n.accType==="paymentAccount")return n.logo!==void 0&&(n.logo.base64||n.logo.url)?a.jsx(ta,{src:Et(n.logo),isOptionSelected:h,loading:"lazy"}):a.jsx(aa,{isOptionSelected:h,children:a.jsx(na,{})})}return null},Et=e=>e.base64!==void 0?`${$t}${e.base64.toString()}`:e.url!==void 0?e.url.toString():"",Mt=i(Oe)`
1
+ import{V as a,q as me,a7 as pe,aM as ee,hm as Qe,aK as Pe,n as et,m as tt,aO as je,o as t,F as W,y as d,L as ze,l as at,af as nt,d as Ee,bQ as ot,fc as Me,a as Y,p as G,gk as Ce,b as it,ap as Be,D as rt,aN as be,a8 as lt,fv as ct,cB as st,ab as dt,eX as mt,fz as pt,cG as ut,hz as xe,hA as ht,g7 as gt,c as r,b$ as yt,bZ as Oe,fj as ft,cf as Ct,ak as _e,hn as bt,aR as xt,hB as wt,cY as St,hp as Dt,fL as $t,fH as kt}from"./index-BoDHThmj.js";import{n as i}from"./mui-DjUnBv6N.js";import{a as p}from"./sentry-CAa_RBiQ.js";import{bL as se,bP as At,bh as Lt,bJ as vt,bK as we,bI as It}from"./zeni-epic-state-BO46e_7F.js";import{x as Ft}from"./LabeledControlledCheckBoxField-DFKeD5HK-jfbQYMID.js";import"./liveblocks-2fUZ-mzS.js";import"./core-DesIUmVX.js";import"./recharts-CFBD4y8X.js";import"./lottie-BC5QDLx3.js";import"./analytics-aL6KvWIc.js";import"./lexical-WHFPYU-_.js";import"./utils-MCudDogO.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},o=new e.Error().stack;o&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[o]="cc51a87f-a1d1-4b9b-b819-528907444a61",e._sentryDebugIdIdentifier="sentry-dbid-cc51a87f-a1d1-4b9b-b819-528907444a61")}catch{}})();const te={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 Y("h6Regular","h5Regular"),integerAmountInput:new Y("h5Regular","h2Regular"),decimalAmountInput:new Y("largeSemiBold","h5Medium")},{dateFormat:{visual:{MMMDCommaYYYYformat:Tt}},common:{edit:Rt,labels:Se,currency:De,navBar:{back:Pt}},spendManagement:{zeniAccounts:{zeniAccountList:{transferDrawer:jt}},chargeCard:{payEarly:Q}}}=W.getLocalizedStrings(),zt=({paymentDetails:e,isCashbackInfoFetchStateCompleted:o,isCreditCardInfoFetchStateCompleted:h,isDebitCardInfoFetchStateCompleted:n,controllerEmails:f,productInformation:c,cashbackInformation:g,paymentSourceInformation:L,creditAccountInformation:C,debitAccountInformation:y,setShowReviewContent:x,onTransferClick:b,isCompleteOutstandingBalanceBeingPaid:D})=>{const m=me(),R=Ee(),P=pe().analytics,[E,v]=p.useState(!1);p.useEffect(()=>{e.error!=null?v(!0):v(!1)},[e.error]);const k=te.largeLabelWidth.value(m);return a.jsxs(a.Fragment,{children:[a.jsxs(Wt,{windowSize:m,children:[a.jsx(Qt,{windowSize:m,children:a.jsx(ot,{title:Pt,enterTouchDelay:600,placement:"bottom",children:a.jsx(Jt,{"data-testid":ee("nav-bar-back-credit-card-payment-review"),onClick:()=>{o&&h&&n&&g!=null&&P.trackCardsPayEarlyFormClick(f,c,g,"Back",e.chargeCardRepaymentDetailLocalData.isAutoRepayment,{paymentAmount:e.chargeCardRepaymentDetailLocalData.amount.amount,paymentAccountName:e.chargeCardRepaymentDetailLocalData.transferFrom?.label,paymentAccountType:e.chargeCardRepaymentDetailLocalData.transferFrom?.accType,paymentAccountLastFourDigits:e.chargeCardRepaymentDetailLocalData.transferFrom?.accountLast4,paymentCompleteEta:void 0,paymentInitiatedDate:void 0},L,C,y),x(!1)}})})}),a.jsx(ea,{windowSize:m,children:jt.reviewAndConfirm}),a.jsx(Mt,{children:a.jsx(Me,{amount:e.chargeCardRepaymentDetailLocalData.amount,integerStyles:de.integerAmountInput.styleObject(m),decimalStyles:de.decimalAmountInput.styleObject(m)})}),E?a.jsx(Yt,{children:a.jsxs(_t,{children:[a.jsxs(Gt,{children:[a.jsx(Kt,{}),a.jsxs(Nt,{children:[a.jsx(Ut,{children:e.error?.title}),a.jsx(Vt,{children:e.error?.message})]})]}),a.jsx(Ht,{children:a.jsx(Xt,{"data-testid":ee("close-error-credit-card-payment-review"),onClick:()=>{v(!1)},style:{width:t.sp3,height:t.sp3,color:G.heroLight}})})]})}):null,a.jsx(qt,{windowSize:m,children:a.jsxs(Ot,{children:[a.jsx(Ce,{label:{label:Se.transferFrom,width:k},text:a.jsxs($e,{windowSize:m,children:[Ne(e.transferFromAccounts,e.chargeCardRepaymentDetailLocalData.transferFrom?.id??"",!0),a.jsx(Bt,{windowSize:m,children:e.chargeCardRepaymentDetailLocalData.transferFrom?.label})]}),style:{width:"auto"}}),a.jsx(Zt,{}),a.jsx(Ce,{label:{label:Se.amount,width:k},showAdditionalInfoLabel:!0,additionalInfoLabel:`${D?Q.creditLimitReset:Q.creditLimitUpdate} ${se(At(Lt().toDate(),[0,6],3).toDateString()).format(Tt)} ${Q.business23Days}`,additionalInfoLabelStyles:{color:R.colors.hero,...it.smallRegular.cssObject},text:a.jsx($e,{windowSize:m,children:Pe("0,0.[00]",{amount:e.chargeCardRepaymentDetailLocalData.amount.amount,currencyCode:De.currencyCode,currencySymbol:De.currencySymbol})}),style:{width:"auto"}})]})})]}),a.jsx(je,{style:{zIndex:4,paddingTop:t.sp3,paddingBottom:t.sp0},helperText:Q.byClickingPayNowIAuthorizeZeniToInitiateThePayment,helperStyle:{padding:`${t.sp0} ${t.sp0} ${t.sp3} ${t.sp0}`},cancelBtn:{label:Rt,onClick:()=>{o&&h&&n&&g!=null&&P.trackCardsPayEarlyFormClick(f,c,g,"Edit",e.chargeCardRepaymentDetailLocalData.isAutoRepayment,{paymentAmount:e.chargeCardRepaymentDetailLocalData.amount.amount,paymentAccountName:e.chargeCardRepaymentDetailLocalData.transferFrom?.label,paymentAccountType:e.chargeCardRepaymentDetailLocalData.transferFrom?.accType,paymentAccountLastFourDigits:e.chargeCardRepaymentDetailLocalData.transferFrom?.accountLast4,paymentCompleteEta:void 0,paymentInitiatedDate:void 0},L,C,y),x(!1)},style:{minWidth:94}},primaryBtn:{label:Q.payNow,onClick:b,isLoading:e.updateStatus==="In-Progress",style:{minWidth:94}}})]})},Ne=(e,o,h)=>{if(o==="")return a.jsx(ra,{});const n=e.find(c=>c.id===o),f=e.findIndex(c=>c.id===o);if(n!=null){if(n.accType==="depositAccount")return a.jsx(oa,{isOptionSelected:h,children:a.jsx(ia,{color:bt(f)})});if(n.accType==="paymentAccount")return n.logo!==void 0&&(n.logo.base64||n.logo.url)?a.jsx(ta,{src:Et(n.logo),isOptionSelected:h,loading:"lazy"}):a.jsx(aa,{isOptionSelected:h,children:a.jsx(na,{})})}return null},Et=e=>e.base64!==void 0?`${$t}${e.base64.toString()}`:e.url!==void 0?e.url.toString():"",Mt=i(Oe)`
2
2
  color: ${e=>e.theme.colors.primary};
3
3
  padding-top: ${t.sp3};
4
4
  `,Bt=i.div`
@@ -1,4 +1,4 @@
1
- import{cO as M,d as _,cW as L,F as P,V as l,cX as N,bE as H,o,dh as z,aM as x,cq as X,bF as b,ak as q,b as w,eY as B,eZ as T,e_ as W,ag as Y,bD as Z,L as Q,p as m}from"./index-CK2D3iZ1.js";import{a as S}from"./sentry-Dm3bm_ok.js";import{n}from"./mui-DCr-y2iU.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="a8a76ab1-2ede-4e4c-9d85-ecaba09451bd",e._sentryDebugIdIdentifier="sentry-dbid-a8a76ab1-2ede-4e4c-9d85-ecaba09451bd")}catch{}})();const $e=({name:e,registerOptions:t,defaultValue:r,isDisabled:a,style:c,placeholder:d,isOptionRemovable:i=!0,menuItemHeight:u=40,controlStyle:p})=>{const{control:f,formState:{errors:y}}=M(),g=_(),[j,k]=S.useState(!1),C=L(y,e??""),D=P.getLocalizedStrings().common.currency,I=s=>{if(!(s==null||!s))return{value:s,label:r.allOptions.find(h=>h.value===s)?.label??s,countryCode:r.allOptions.find(h=>h.value===s)?.countryCode??D.countryCode}},V={container:s=>({...s,width:"100%",...c}),menu:s=>({...s,backgroundColor:g.colors.grey5,borderRadius:o.sp1,boxShadow:`${o.sp0} 2px ${o.sp2} ${g.colors.dropShadowHover}`,border:`1px solid ${g.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:g.colors.primary,margin:0}),singleValue:s=>({...s,margin:0,position:"absolute"})},F={hasError:C,menuItemHeight:u,controlStyle:p,isOptionRemovable:i};return l.jsx(N,{name:e,control:f,defaultValue:r,rules:t,"data-testid":x("currency-select-field",e),render:({field:{onChange:s,onBlur:h,value:R,ref:E}})=>{const v=R;return S.createElement(H,{...F,ref:E,isMulti:!1,isSearchable:!0,isClearable:i,autoFocus:j===!0,openMenuOnClick:!0,controlShouldRenderValue:!0,placeholder:d,value:I(v.selectedOption),options:r.allOptions,"data-testid":x("currency-select",e),onChange:$=>{i&&$?.value!=null&&v?.selectedOption===$.value?s({selectedOption:void 0,allOptions:r.allOptions}):s({selectedOption:$?.value,allOptions:r.allOptions})},onMenuClose:()=>k(!1),key:z(),tabSelectsValue:!1,openMenuOnFocus:!0,classNamePrefix:"currency-select-field",onBlur:h,menuPlacement:"auto",maxMenuHeight:240,menuShouldScrollIntoView:!1,closeMenuOnSelect:!0,components:{Control:U,Option:A,Input:K,SingleValue:ee,ValueContainer:J,DropdownIndicator:he,IndicatorSeparator:me,Placeholder:oe,ClearIndicator:be,MenuList:G},hideSelectedOptions:!1,styles:V,isDisabled:a!=null})}})},U=e=>{const{menuIsOpen:t,isFocused:r,isDisabled:a,selectProps:c}=e,{value:d,hasError:i,controlStyle:u}=c;return l.jsx(re,{controlStyle:u,menuIsOpen:t,isFocused:r,isDisabled:a,selectedValue:d,hasError:i,children:l.jsx(b.Control,{...e,className:"select-control",children:e.children})})},A=e=>{const{data:t,isSelected:r,isDisabled:a,isFocused:c,selectProps:d}=e,{isOptionRemovable:i}=d,u=t.countryCode,p=typeof t.label=="string"?t.label:t.value;return l.jsx(te,{isOptionRemovable:i,className:"select-option-wrapper",isFocused:c,isSelected:r,isDisabled:a,"data-testid":x("currency-select-field-option",p),children:l.jsx(b.Option,{...e,className:"select-option",children:l.jsxs(se,{children:[l.jsx(le,{countryCode:u}),l.jsx(ae,{isSelected:r,children:l.jsx(ne,{isSelected:r,isDisabled:a,children:t.label})}),r?l.jsxs(de,{children:[l.jsx(ue,{className:"right-tick-icon"}),l.jsx(pe,{className:"close-tick-icon"})]}):null]})})})},G=e=>{const{options:t,children:r,maxHeight:a,getValue:c,selectProps:d}=e,{menuItemHeight:i}=d,[u]=c(),p=t.indexOf(u)*i;return l.jsx(X,{height:r.length>7?a:r.length*i,width:"100%",itemCount:r.length,itemSize:()=>i,initialScrollOffset:p,children:({index:f,style:y})=>l.jsx(ce,{style:y,children:r[f]})})},J=e=>l.jsx(b.ValueContainer,{...e,className:"select-value-container",children:e.children}),K=e=>{const{selectProps:t}=e,{placeholder:r,value:a}=t;return l.jsx(O,{children:l.jsx(b.Input,{...e,autoComplete:"new-password",placeholder:a==null?r:void 0,children:e.children})})},ee=e=>{const{data:t}=e;return l.jsx(b.SingleValue,{...e,children:l.jsx(O,{children:t.label})})},O=n(q)`
1
+ import{cO as M,d as _,cW as L,F as P,V as l,cX as N,bE as H,o,dh as z,aM as x,cq as X,bF as b,ak as q,b as w,eY as B,eZ as T,e_ as W,ag as Y,bD as Z,L as Q,p as m}from"./index-BoDHThmj.js";import{a as S}from"./sentry-CAa_RBiQ.js";import{n}from"./mui-DjUnBv6N.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="a8a76ab1-2ede-4e4c-9d85-ecaba09451bd",e._sentryDebugIdIdentifier="sentry-dbid-a8a76ab1-2ede-4e4c-9d85-ecaba09451bd")}catch{}})();const $e=({name:e,registerOptions:t,defaultValue:r,isDisabled:a,style:c,placeholder:d,isOptionRemovable:i=!0,menuItemHeight:u=40,controlStyle:p})=>{const{control:f,formState:{errors:y}}=M(),g=_(),[j,k]=S.useState(!1),C=L(y,e??""),D=P.getLocalizedStrings().common.currency,I=s=>{if(!(s==null||!s))return{value:s,label:r.allOptions.find(h=>h.value===s)?.label??s,countryCode:r.allOptions.find(h=>h.value===s)?.countryCode??D.countryCode}},V={container:s=>({...s,width:"100%",...c}),menu:s=>({...s,backgroundColor:g.colors.grey5,borderRadius:o.sp1,boxShadow:`${o.sp0} 2px ${o.sp2} ${g.colors.dropShadowHover}`,border:`1px solid ${g.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:g.colors.primary,margin:0}),singleValue:s=>({...s,margin:0,position:"absolute"})},F={hasError:C,menuItemHeight:u,controlStyle:p,isOptionRemovable:i};return l.jsx(N,{name:e,control:f,defaultValue:r,rules:t,"data-testid":x("currency-select-field",e),render:({field:{onChange:s,onBlur:h,value:R,ref:E}})=>{const v=R;return S.createElement(H,{...F,ref:E,isMulti:!1,isSearchable:!0,isClearable:i,autoFocus:j===!0,openMenuOnClick:!0,controlShouldRenderValue:!0,placeholder:d,value:I(v.selectedOption),options:r.allOptions,"data-testid":x("currency-select",e),onChange:$=>{i&&$?.value!=null&&v?.selectedOption===$.value?s({selectedOption:void 0,allOptions:r.allOptions}):s({selectedOption:$?.value,allOptions:r.allOptions})},onMenuClose:()=>k(!1),key:z(),tabSelectsValue:!1,openMenuOnFocus:!0,classNamePrefix:"currency-select-field",onBlur:h,menuPlacement:"auto",maxMenuHeight:240,menuShouldScrollIntoView:!1,closeMenuOnSelect:!0,components:{Control:U,Option:A,Input:K,SingleValue:ee,ValueContainer:J,DropdownIndicator:he,IndicatorSeparator:me,Placeholder:oe,ClearIndicator:be,MenuList:G},hideSelectedOptions:!1,styles:V,isDisabled:a!=null})}})},U=e=>{const{menuIsOpen:t,isFocused:r,isDisabled:a,selectProps:c}=e,{value:d,hasError:i,controlStyle:u}=c;return l.jsx(re,{controlStyle:u,menuIsOpen:t,isFocused:r,isDisabled:a,selectedValue:d,hasError:i,children:l.jsx(b.Control,{...e,className:"select-control",children:e.children})})},A=e=>{const{data:t,isSelected:r,isDisabled:a,isFocused:c,selectProps:d}=e,{isOptionRemovable:i}=d,u=t.countryCode,p=typeof t.label=="string"?t.label:t.value;return l.jsx(te,{isOptionRemovable:i,className:"select-option-wrapper",isFocused:c,isSelected:r,isDisabled:a,"data-testid":x("currency-select-field-option",p),children:l.jsx(b.Option,{...e,className:"select-option",children:l.jsxs(se,{children:[l.jsx(le,{countryCode:u}),l.jsx(ae,{isSelected:r,children:l.jsx(ne,{isSelected:r,isDisabled:a,children:t.label})}),r?l.jsxs(de,{children:[l.jsx(ue,{className:"right-tick-icon"}),l.jsx(pe,{className:"close-tick-icon"})]}):null]})})})},G=e=>{const{options:t,children:r,maxHeight:a,getValue:c,selectProps:d}=e,{menuItemHeight:i}=d,[u]=c(),p=t.indexOf(u)*i;return l.jsx(X,{height:r.length>7?a:r.length*i,width:"100%",itemCount:r.length,itemSize:()=>i,initialScrollOffset:p,children:({index:f,style:y})=>l.jsx(ce,{style:y,children:r[f]})})},J=e=>l.jsx(b.ValueContainer,{...e,className:"select-value-container",children:e.children}),K=e=>{const{selectProps:t}=e,{placeholder:r,value:a}=t;return l.jsx(O,{children:l.jsx(b.Input,{...e,autoComplete:"new-password",placeholder:a==null?r:void 0,children:e.children})})},ee=e=>{const{data:t}=e;return l.jsx(b.SingleValue,{...e,children:l.jsx(O,{children:t.label})})},O=n(q)`
2
2
  color: ${e=>e.theme.colors.primary};
3
3
  `,oe=()=>null,le=({countryCode:e})=>{if(e!=null&&B(e)===!1)return l.jsx(l.Fragment,{});{const t=T[`${W(e??"")}`];return l.jsx(ie,{children:l.jsx(t,{width:o.sp4,height:o.sp3})})}},re=n.span`
4
4
  width: 100%;
@@ -1,4 +1,4 @@
1
- import{q as f,V as t,F as c,aN as l,aM as p,m as g,o as i,ae as h,D as x,l as m}from"./index-CK2D3iZ1.js";import{a as u}from"./sentry-Dm3bm_ok.js";import{n as o}from"./mui-DCr-y2iU.js";import"./liveblocks-CofSwFWW.js";import"./core-D2k9JfRf.js";import"./recharts-CIKvFUT6.js";import"./zeni-epic-state-Cgro3mH-.js";import"./lottie-BO8FHl2Q.js";import"./analytics-DCCTWnnc.js";import"./lexical-BEs89iUy.js";import"./utils-CVsOBiWJ.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},r=new e.Error().stack;r&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[r]="0c085890-e369-4a25-9077-67dc31ccda54",e._sentryDebugIdIdentifier="sentry-dbid-0c085890-e369-4a25-9077-67dc31ccda54")}catch{}})();const b=o.div`
1
+ import{q as f,V as t,F as c,aN as l,aM as p,m as g,o as i,ae as h,D as x,l as m}from"./index-BoDHThmj.js";import{a as u}from"./sentry-CAa_RBiQ.js";import{n as o}from"./mui-DjUnBv6N.js";import"./liveblocks-2fUZ-mzS.js";import"./core-DesIUmVX.js";import"./recharts-CFBD4y8X.js";import"./zeni-epic-state-BO46e_7F.js";import"./lottie-BC5QDLx3.js";import"./analytics-aL6KvWIc.js";import"./lexical-WHFPYU-_.js";import"./utils-MCudDogO.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},r=new e.Error().stack;r&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[r]="0c085890-e369-4a25-9077-67dc31ccda54",e._sentryDebugIdIdentifier="sentry-dbid-0c085890-e369-4a25-9077-67dc31ccda54")}catch{}})();const b=o.div`
2
2
  display: flex;
3
3
  width: 100%;
4
4
  flex-direction: column;
@@ -0,0 +1 @@
1
+ import{V as o}from"./index-BoDHThmj.js";import e from"./CustomerOnboardingNoStepsPage-BVW1Hd-G-CEYYL4XK.js";import i from"./CustomerOnboardingPage-CSTODxiL-B0YN-L_5.js";import"./sentry-CAa_RBiQ.js";import"./liveblocks-2fUZ-mzS.js";import"./core-DesIUmVX.js";import"./recharts-CFBD4y8X.js";import"./zeni-epic-state-BO46e_7F.js";import"./mui-DjUnBv6N.js";import"./lottie-BC5QDLx3.js";import"./analytics-aL6KvWIc.js";import"./lexical-WHFPYU-_.js";import"./utils-MCudDogO.js";import"./PaymentAccountSetupBillingAddressSection-Ddm0Q_3J-iDE-MOKu.js";import"./SetUpAccountSection-B1mXaFmw-BQBAmCi3.js";import"./CustomerOnboardingDetailPageSkeleton-Cktian-X-Ch6gtFyy.js";import"./CompanyOfficerDetailsSection-DYAECWJz-C-5qszuR.js";import"./LabeledAddressValueField-BewnvHGP-Cy17-5a4.js";import"./LabeledCreatableSingleSelectField-nc8iZ1C1-CV4i9q1e.js";import"./LabeledDocumentField-DmRNRSkb-CDplxK9C.js";import"./QBOSetupSection-DQTH1dAT--WL2Dx1Z.js";import"./QBOConnectionDialog--nz5v12t-BznyDbQp.js";(function(){try{var t=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},r=new t.Error().stack;r&&(t._sentryDebugIds=t._sentryDebugIds||{},t._sentryDebugIds[r]="6febab98-d778-4b13-80e0-417f2b49ae9c",t._sentryDebugIdIdentifier="sentry-dbid-6febab98-d778-4b13-80e0-417f2b49ae9c")}catch{}})();const k=t=>t.currentTenant?.productSettings.isOtherProductsEnabled===!0?o.jsx(e,{...t}):o.jsx(i,{...t});export{k as default};
@@ -1,4 +1,4 @@
1
- import{V as s,aM as v,bl as E,d as f,q as I,bM as b,o as t,c as T,y as $,ae as R,F as N,p as u,h as U,hH as P,fK as L,as as _,al as O,hI as W}from"./index-CK2D3iZ1.js";import{n as r}from"./mui-DCr-y2iU.js";import{S}from"./sentry-Dm3bm_ok.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},i=new e.Error().stack;i&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[i]="4fd0e8dc-b500-480f-a927-d14bdcde6b40",e._sentryDebugIdIdentifier="sentry-dbid-4fd0e8dc-b500-480f-a927-d14bdcde6b40")}catch{}})();const M=r(W)`
1
+ import{V as s,aM as v,bl as E,d as f,q as I,bM as b,o as t,c as T,y as $,ae as R,F as N,p as u,h as U,hH as P,fK as L,as as _,al as O,hI as W}from"./index-BoDHThmj.js";import{n as r}from"./mui-DjUnBv6N.js";import{w as S}from"./sentry-CAa_RBiQ.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},i=new e.Error().stack;i&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[i]="5f294c91-5a39-449a-8d9b-e0e5f6a83bd1",e._sentryDebugIdIdentifier="sentry-dbid-5f294c91-5a39-449a-8d9b-e0e5f6a83bd1")}catch{}})();const M=r(W)`
2
2
  /* Size is controlled by styles.root prop */
3
3
  `,q=r.div`
4
4
  position: relative;
@@ -22,7 +22,7 @@ import{V as s,aM as v,bl as E,d as f,q as I,bM as b,o as t,c as T,y as $,ae as R
22
22
  pointer-events: none;
23
23
  z-index: 1;
24
24
  }
25
- `,F=({valueEnd:e,valueStart:i,children:o})=>{const[d,l]=S.useState(i);return S.useEffect(()=>{const n=setTimeout(()=>{l(e)},100);return()=>clearTimeout(n)},[e]),s.jsx(s.Fragment,{children:o(d)})},V=({valueEnd:e=50})=>{const i=f();return s.jsx(F,{valueStart:0,valueEnd:e,children:o=>s.jsx(q,{theme:i,children:s.jsx(M,{value:o,strokeWidth:50,circleRatio:1,styles:{...P({pathColor:u.success,trailColor:"transparent",pathTransitionDuration:1.5,rotation:1,strokeLinecap:"butt"}),root:{width:t.sp3,height:t.sp3,position:"relative",zIndex:2,display:"flex",alignItems:"center",justifyContent:"center"}}})})})},w=({isActive:e,isCompleted:i,isDisabled:o,isError:d,isHalfCompleted:l,theme:n})=>e||i||l||d?d?u.runwayRed:n.colors.primary:o?n.colors.grey1:n.colors.hero,k=({isActive:e,isCompleted:i,isDisabled:o,isHalfCompleted:d,theme:l})=>e||i||d?l.colors.primary:o?l.colors.grey1:l.colors.hero,J=r.div`
25
+ `,F=({valueEnd:e,valueStart:i,children:o})=>{const[l,d]=S.useState(i);return S.useEffect(()=>{const n=setTimeout(()=>{d(e)},100);return()=>clearTimeout(n)},[e]),s.jsx(s.Fragment,{children:o(l)})},V=({valueEnd:e=50})=>{const i=f();return s.jsx(F,{valueStart:0,valueEnd:e,children:o=>s.jsx(q,{theme:i,children:s.jsx(M,{value:o,strokeWidth:50,circleRatio:1,styles:{...P({pathColor:u.success,trailColor:"transparent",pathTransitionDuration:1.5,rotation:1,strokeLinecap:"butt"}),root:{width:t.sp3,height:t.sp3,position:"relative",zIndex:2,display:"flex",alignItems:"center",justifyContent:"center"}}})})})},w=({isActive:e,isCompleted:i,isDisabled:o,isError:l,isHalfCompleted:d,theme:n})=>e||i||d||l?l?u.runwayRed:n.colors.primary:o?n.colors.grey1:n.colors.hero,k=({isActive:e,isCompleted:i,isDisabled:o,isHalfCompleted:l,theme:d})=>e||i||l?d.colors.primary:o?d.colors.grey1:d.colors.hero,J=r.div`
26
26
  width: 100%;
27
27
  display: flex;
28
28
  background: ${e=>e.isActive?e.theme.colors.grey5:null};
@@ -65,7 +65,7 @@ import{V as s,aM as v,bl as E,d as f,q as I,bM as b,o as t,c as T,y as $,ae as R
65
65
  color: ${e=>w({isActive:e.isActive,isCompleted:e.isCompleted,isDisabled:e.disabledStep,isError:e.isError,isHalfCompleted:e.isHalfCompleted,theme:e.theme})};
66
66
  `,Y=r(O)`
67
67
  color: ${e=>k({isActive:e.isActive,isCompleted:e.isCompleted,isDisabled:e.disabledStep,isHalfCompleted:e.isHalfCompleted,theme:e.theme})};
68
- `;function ee({onboardingStep:e,isActive:i,isCompleted:o,isHalfCompleted:d,isDisabled:l,isError:n,stepText:h,stepSubText:m,onUpdateStep:g,setIsStepClicked:p,disabledSteps:a}){const c=l||a.includes(e)&&i===!1;return s.jsxs(J,{isActive:i,isDisabled:c,isCompleted:o,isHalfCompleted:d,isError:n,onClick:l===!1?()=>{a.includes(e)&&i===!1||(p(!0),g(e))}:void 0,"data-testid":v("step-box",e),children:[s.jsx(K,{children:n?s.jsx(B,{}):d?s.jsx(V,{}):o?s.jsx(Z,{}):s.jsx(G,{isActive:i,disabledStep:c})}),s.jsxs(Q,{children:[s.jsx(X,{className:"step-content-title",isActive:i,isCompleted:o,isHalfCompleted:d,disabledStep:c,isError:n,children:h}),s.jsx(Y,{className:"step-content-subtitle",isActive:i,isCompleted:o,isHalfCompleted:d,disabledStep:c,children:m})]})]})}const te=r.div`
68
+ `;function ee({onboardingStep:e,isActive:i,isCompleted:o,isHalfCompleted:l,isDisabled:d,isError:n,stepText:h,stepSubText:m,onUpdateStep:g,setIsStepClicked:p,disabledSteps:a}){const c=d||a.includes(e)&&i===!1;return s.jsxs(J,{isActive:i,isDisabled:c,isCompleted:o,isHalfCompleted:l,isError:n,onClick:d===!1?()=>{a.includes(e)&&i===!1||(p(!0),g(e))}:void 0,"data-testid":v("step-box",e),children:[s.jsx(K,{children:n?s.jsx(B,{}):l?s.jsx(V,{}):o?s.jsx(Z,{}):s.jsx(G,{isActive:i,disabledStep:c})}),s.jsxs(Q,{children:[s.jsx(X,{className:"step-content-title",isActive:i,isCompleted:o,isHalfCompleted:l,disabledStep:c,isError:n,children:h}),s.jsx(Y,{className:"step-content-subtitle",isActive:i,isCompleted:o,isHalfCompleted:l,disabledStep:c,children:m})]})]})}const te=r.div`
69
69
  display: flex;
70
70
  flex: 1 1 auto;
71
71
  margin-top: 84px;
@@ -75,7 +75,7 @@ import{V as s,aM as v,bl as E,d as f,q as I,bM as b,o as t,c as T,y as $,ae as R
75
75
  width: 198px;
76
76
  `,se=r.div`
77
77
  width: 100%;
78
- `;function ie({allSteps:e,completedSteps:i,halfCompletedSteps:o,errorSteps:d,currentStep:l,isDisabled:n,onUpdateStep:h,setIsStepClicked:m,disabledSteps:g}){const p=N.getLocalizedStrings().customerOnboardingPage.steps;return s.jsx(te,{children:e.map(a=>s.jsx(se,{children:s.jsx(ee,{isActive:a===l,isCompleted:i.includes(a),isHalfCompleted:o.includes(a),isError:d.includes(a),isDisabled:n,onboardingStep:a,stepText:p[a].stepText,stepSubText:p[a].stepSubText,onUpdateStep:h,setIsStepClicked:m,disabledSteps:g})},a))})}const oe=r.div`
78
+ `;function ie({allSteps:e,completedSteps:i,halfCompletedSteps:o,errorSteps:l,currentStep:d,isDisabled:n,onUpdateStep:h,setIsStepClicked:m,disabledSteps:g}){const p=N.getLocalizedStrings().customerOnboardingPage.steps;return s.jsx(te,{children:e.map(a=>s.jsx(se,{children:s.jsx(ee,{isActive:a===d,isCompleted:i.includes(a),isHalfCompleted:o.includes(a),isError:l.includes(a),isDisabled:n,onboardingStep:a,stepText:p[a].stepText,stepSubText:p[a].stepSubText,onUpdateStep:h,setIsStepClicked:m,disabledSteps:g})},a))})}const oe=r.div`
79
79
  display: flex;
80
80
  flex: 1 1 auto;
81
81
  margin-top: 84px;
@@ -89,7 +89,7 @@ import{V as s,aM as v,bl as E,d as f,q as I,bM as b,o as t,c as T,y as $,ae as R
89
89
  width: 100%;
90
90
  display: flex;
91
91
  box-sizing: border-box;
92
- `,de=()=>{const e=f();return s.jsx(oe,{children:[...Array(2)].map((i,o)=>s.jsx(re,{children:s.jsx(b,{width:198,height:89,backgroundColor:e.colors.grey3,style:{borderRadius:t.sp2}})},o))})},x=240,le=r.div`
92
+ `,le=()=>{const e=f();return s.jsx(oe,{children:[...Array(2)].map((i,o)=>s.jsx(re,{children:s.jsx(b,{width:198,height:89,backgroundColor:e.colors.grey3,style:{borderRadius:t.sp2}})},o))})},x=240,de=r.div`
93
93
  display: flex;
94
94
  flex: 1 1 auto;
95
95
  flex-direction: column;
@@ -115,7 +115,7 @@ import{V as s,aM as v,bl as E,d as f,q as I,bM as b,o as t,c as T,y as $,ae as R
115
115
  color: ${e=>e.theme.colors.primary};
116
116
  cursor: pointer;
117
117
  flex-shrink: 0;
118
- `,be=e=>{const{isOnAddressPage:i,allSteps:o,completedSteps:d,halfCompletedSteps:l,errorSteps:n,currentStep:h,signedInUser:m,currentTenant:g,fetchStatus:p,onUpdateStep:a,onZeniLogoClick:c,handleLogOutClick:j,handleCockpitClick:A,setIsStepClicked:D}=e,z=p.fetchState==="In-Progress"||p.fetchState==="Not-Started",H=[];return s.jsxs(le,{children:[s.jsx(ae,{"data-testid":v("zeni-logo-customer-onboarding-drawer"),onClick:c}),z?s.jsx(de,{}):s.jsx(ie,{allSteps:o,isDisabled:i,disabledSteps:H,completedSteps:d,halfCompletedSteps:l,errorSteps:n,currentStep:h,onUpdateStep:a,setIsStepClicked:D}),s.jsx(ne,{children:s.jsx(E,{signedInUser:m,currentTenant:g,onLogOutClick:j,onCockpitClick:A})})]})},y={titleRectangleWidth:new $(250,500,550,600),subTitleRectangleWidth:new $(343,600,700,800)},pe=r.div`
118
+ `,be=e=>{const{isOnAddressPage:i,allSteps:o,completedSteps:l,halfCompletedSteps:d,errorSteps:n,currentStep:h,signedInUser:m,currentTenant:g,fetchStatus:p,onUpdateStep:a,onZeniLogoClick:c,handleLogOutClick:j,handleCockpitClick:A,setIsStepClicked:D}=e,z=p.fetchState==="In-Progress"||p.fetchState==="Not-Started",H=[];return s.jsxs(de,{children:[s.jsx(ae,{"data-testid":v("zeni-logo-customer-onboarding-drawer"),onClick:c}),z?s.jsx(le,{}):s.jsx(ie,{allSteps:o,isDisabled:i,disabledSteps:H,completedSteps:l,halfCompletedSteps:d,errorSteps:n,currentStep:h,onUpdateStep:a,setIsStepClicked:D}),s.jsx(ne,{children:s.jsx(E,{signedInUser:m,currentTenant:g,onLogOutClick:j,onCockpitClick:A})})]})},y={titleRectangleWidth:new $(250,500,550,600),subTitleRectangleWidth:new $(343,600,700,800)},pe=r.div`
119
119
  display: flex;
120
120
  flex-direction: column;
121
121
  align-items: center;
@@ -1,4 +1,4 @@
1
- import{a7 as ie,V as o,fs as Ce,q as be,d as Pe,a8 as we,aN as xe,cB as ke,bz as Ie,o as s,aM as Ae,ab as $e,aO as Oe,bl as Ve,hF as ve,F as Te,eU as je,eV as oe,ae as Le,y as q,ak as Ue,c as A}from"./index-CK2D3iZ1.js";import{n as c}from"./mui-DCr-y2iU.js";import{a as $}from"./sentry-Dm3bm_ok.js";import{s as ze,o as Ee}from"./PaymentAccountSetupBillingAddressSection-C8QwChEK-DSZP0_gt.js";import{f as _e}from"./CustomerOnboardingDetailPageSkeleton-hF2fjE7f-Bx4vnxk_.js";import"./liveblocks-CofSwFWW.js";import"./core-D2k9JfRf.js";import"./recharts-CIKvFUT6.js";import"./zeni-epic-state-Cgro3mH-.js";import"./lottie-BO8FHl2Q.js";import"./analytics-DCCTWnnc.js";import"./lexical-BEs89iUy.js";import"./utils-CVsOBiWJ.js";import"./SetUpAccountSection-BAsI7p1f-Dy9q8TNa.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},u=new e.Error().stack;u&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[u]="61e19d4f-1f74-458b-8480-462afcf4ef3c",e._sentryDebugIdIdentifier="sentry-dbid-61e19d4f-1f74-458b-8480-462afcf4ef3c")}catch{}})();const Q="onboardingPaymentAccountSetupSection",se="customerOnboardingNoStepsDetailPage",n="onboardingSubscriptionBillingAddress",J={titleWidth:new q(343,580,726,826),subTitlePaddingTop:new q(A[3],A[3]),subTitlePaddingBottom:new q(A[3],A[3])},Be=e=>`${e}_form`,De=Te.getLocalizedStrings(),Fe=({onboardingCustomerView:e,connectedAccountProvider:u,cardPaymentView:p,stripeKey:V,googleAPIKey:v,signedInUser:b,currentTenant:T,onUpdateStep:j,handleCreateCardSetupIntent:L,handleConfirmCardSetupIntent:U,updateCardPaymentModalState:P,handleAddCardPaymentSource:z,resetCardPaymentViewState:E,handleResetCardPaymentErrorStatuses:_,redirectToProductSuitePage:w,onUpdateCustomerView:B,...D})=>{const g=be(),F=ie(),{analytics:h}=F,{onFetchLinkTokenClick:M,onUpdatePaymentAccountStatus:K,onUpdatePaymentAccountLoginStatus:N,onEstablishConnectionClick:S,onEstablishConnectionSuccess:R,handleLogOutClick:G,onZeniLogoClick:W,onAddressEditHandler:x}=D,Z=Pe(),r=we({mode:"onSubmit",reValidateMode:"onSubmit",defaultValues:O(e),values:O(e),shouldFocusError:!0,resetOptions:{keepDirtyValues:!0}}),{companyOfficerLocalData:re,saveStatus:m,paymentAccount:k,paymentAccountStatus:de,plaidConnectionDetails:X,uiState:le,allNationalityCountries:Y,subscriptionBillingAddress:y}=e,{customerOnboardingPage:ce,common:f}=De,{footer:ue,steps:pe}=ce,{buttons:H}=ue,ee=pe.link_payment_account,I=xe(m.fetchState),te=Object.values(re).findIndex(t=>t?.isSelectedForVerification===!0)??0,ge=`Officer_${te<0?1:te+1}`,me=async(t,a)=>{if(t.includes(n)&&a[n]!=null){const i=r.getValues(`${n}`).country;let d=a[n];if(t.includes(`${n}.street`)&&a[n].street!=null){const{addressValue:l}=a[n].street,C=je(l?.country);d={street:a[n].street??f.strings.empty,city:l?.locality??f.strings.empty,state:l?.administrativeAreaLevel1??f.strings.empty,country:C,countryCode:l?.countryCode??f.strings.empty,postalCode:l?.postalCode??f.strings.empty,secondaryInfo:a[n].secondaryInfo,suite:a[n].suite},i.selectedOption!==C.selectedOption&&(d={...d,country:C})}else t===`${n}.country`&&i.selectedOption!=null?d={...d,countryCode:oe(i.selectedOption)}:i.selectedOption!=null&&t.includes(`${n}.street`)===!1&&(d={...d,countryCode:oe(i.selectedOption)});x(d)}};$.useEffect(()=>{const t=r.watch((a,{name:i})=>{i!=null&&a!=null&&ke(()=>me(i,a))});return()=>{t.unsubscribe()}}),$.useEffect(()=>{I==="In-Progress"&&m.fetchState==="Completed"&&r.reset(O(e),{keepDirtyValues:!1})},[r,e,I,m.fetchState,Y]);const ye=()=>{const t=r.getValues(n),a={street:t.street.addressString,suite:t.suite,city:t.city,state:t.state,postalCode:t.postalCode,country:t.country.selectedOption??f.strings.empty,secondaryInfo:t.secondaryInfo};h.trackOnboardingBillingAddressSave(a)},ne=()=>{const t=Object.values(X).some(l=>l.fetchStatus.fetchState==="Completed"),a=k?.providerVerificationStatus?.code?.includes("verified")??!1,i=p.cardsList.length>0,d=p.bankAccountsList[0]?.providerVerificationStatus?.code?.includes("verified")??!1;return t&&a||!a&&!k&&i||!i&&!k&&d};function fe(){if(r.getFieldState(n).error)return!1;const t=r.getValues(n),a=y?.street.join("").trim(),i=y?.city,d=y?.state,l=y?.country,C=y?.postalCode!=null&&y.postalCode||t.postalCode||f.strings.empty;return!!a&&!!i&&!!d&&!!l&&!!C}const he=async()=>{const t=await r.trigger(n),a=await r.trigger(Q);t&&a&&(ye(),j("link_payment_account"),B(ge,!1,!0))};$.useEffect(()=>{I==="In-Progress"&&m.fetchState==="Completed"&&(r.reset(O(e),{keepDirtyValues:!1}),w())},[r,e,I,m.fetchState,Y,w]);const[ae,Se]=$.useState(!1);return o.jsxs(Me,{children:[o.jsxs(Ke,{windowSize:g,children:[o.jsx(Ie,{title:ee.sectionTitle,showBackButton:!1,backgroundColor:Z.colors.grey4,style:{zIndex:4},source:"CustomerOnboardingPaymentAddressDetailPage",showLeftSection:g!=="small",titleStyle:{display:"flex",alignItems:"center"},navBarContainerStyles:{paddingTop:s.sp0,paddingBottom:s.sp0},leftSideComponent:o.jsx(We,{children:o.jsx(Ze,{"data-testid":Ae("zeni-logo-customer-onboarding-payment-address-detail-page"),onClick:W})})}),o.jsx($e,{...r,children:o.jsx(Re,{id:Be(se),children:o.jsxs(Ne,{children:[o.jsx(He,{windowSize:g,children:ee.sectionSubTitle}),o.jsx(ze,{connectedAccountProvider:u,paymentAccount:k,accountStatus:de,plaidConnectionDetails:X,subscriptionBillingAddressSectionId:n,sectionId:Q,analytics:h,isValid:ne(),onFetchLinkTokenClick:M,onEstablishConnectionClick:S,onUpdatePaymentAccountStatus:K,onUpdatePaymentAccountLoginStatus:N,onEstablishConnectionSuccess:R,updateCardPaymentModalState:P,cardPaymentView:p,resetCardPaymentViewState:E,cardSetupInProgress:ae,googleAPIKey:v,subscriptionBillingAddress:y})]},"link_payment_account")})}),o.jsx(Oe,{formId:`${se}`,leftSideComponent:o.jsx(Ge,{windowSize:g,children:o.jsx(Ve,{signedInUser:b,currentTenant:T,onLogOutClick:G})}),style:{width:g==="small"?"auto":"100%",padding:s.sp0,rowGap:s.sp1},helperContainerStyle:{width:"100%",rowGap:s.sp1,marginTop:"12px",marginBottom:s.sp2},primaryBtn:{onClick:he,label:H.submit,isLoading:m.fetchState==="In-Progress",isDisabled:m.fetchState==="In-Progress"||!(fe()&&ne())},containerStyle:{width:"auto",justifyContent:"center"},helperText:H.submitText.replace("__action__",H.submit),helperStyle:{width:"auto",padding:s.sp0,rowGap:s.sp0,textAlign:"center"}})]}),o.jsx(Ee,{handleConfirmCardSetupIntent:U,updateCardPaymentModalState:P,handleCreateCardSetupIntent:L,handleAddCardPaymentSource:z,cardPaymentView:p,stripeKey:V,isCardPaymentOpen:le.isCardPaymentPopupOpen,handleResetCardPaymentErrorStatuses:_,cardSetupInProgress:ae,setCardSetupInProgress:Se})]})},Me=c.div`
1
+ import{a7 as ie,V as o,fs as Ce,q as be,d as Pe,a8 as we,aN as xe,cB as ke,bz as Ie,o as s,aM as Ae,ab as $e,aO as Oe,bl as Ve,hF as ve,F as Te,eU as je,eV as oe,ae as Le,y as q,ak as Ue,c as A}from"./index-BoDHThmj.js";import{n as c}from"./mui-DjUnBv6N.js";import{a as $}from"./sentry-CAa_RBiQ.js";import{s as ze,o as Ee}from"./PaymentAccountSetupBillingAddressSection-Ddm0Q_3J-iDE-MOKu.js";import{f as _e}from"./CustomerOnboardingDetailPageSkeleton-Cktian-X-Ch6gtFyy.js";import"./liveblocks-2fUZ-mzS.js";import"./core-DesIUmVX.js";import"./recharts-CFBD4y8X.js";import"./zeni-epic-state-BO46e_7F.js";import"./lottie-BC5QDLx3.js";import"./analytics-aL6KvWIc.js";import"./lexical-WHFPYU-_.js";import"./utils-MCudDogO.js";import"./SetUpAccountSection-B1mXaFmw-BQBAmCi3.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},u=new e.Error().stack;u&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[u]="15aab48c-b0cd-45be-9ab2-86d28370cd32",e._sentryDebugIdIdentifier="sentry-dbid-15aab48c-b0cd-45be-9ab2-86d28370cd32")}catch{}})();const Q="onboardingPaymentAccountSetupSection",se="customerOnboardingNoStepsDetailPage",n="onboardingSubscriptionBillingAddress",J={titleWidth:new q(343,580,726,826),subTitlePaddingTop:new q(A[3],A[3]),subTitlePaddingBottom:new q(A[3],A[3])},Be=e=>`${e}_form`,De=Te.getLocalizedStrings(),Fe=({onboardingCustomerView:e,connectedAccountProvider:u,cardPaymentView:p,stripeKey:V,googleAPIKey:v,signedInUser:b,currentTenant:T,onUpdateStep:j,handleCreateCardSetupIntent:L,handleConfirmCardSetupIntent:U,updateCardPaymentModalState:P,handleAddCardPaymentSource:z,resetCardPaymentViewState:E,handleResetCardPaymentErrorStatuses:_,redirectToProductSuitePage:w,onUpdateCustomerView:B,...D})=>{const g=be(),F=ie(),{analytics:h}=F,{onFetchLinkTokenClick:M,onUpdatePaymentAccountStatus:K,onUpdatePaymentAccountLoginStatus:N,onEstablishConnectionClick:S,onEstablishConnectionSuccess:R,handleLogOutClick:G,onZeniLogoClick:W,onAddressEditHandler:x}=D,Z=Pe(),r=we({mode:"onSubmit",reValidateMode:"onSubmit",defaultValues:O(e),values:O(e),shouldFocusError:!0,resetOptions:{keepDirtyValues:!0}}),{companyOfficerLocalData:re,saveStatus:m,paymentAccount:k,paymentAccountStatus:de,plaidConnectionDetails:X,uiState:le,allNationalityCountries:Y,subscriptionBillingAddress:y}=e,{customerOnboardingPage:ce,common:f}=De,{footer:ue,steps:pe}=ce,{buttons:H}=ue,ee=pe.link_payment_account,I=xe(m.fetchState),te=Object.values(re).findIndex(t=>t?.isSelectedForVerification===!0)??0,ge=`Officer_${te<0?1:te+1}`,me=async(t,a)=>{if(t.includes(n)&&a[n]!=null){const i=r.getValues(`${n}`).country;let d=a[n];if(t.includes(`${n}.street`)&&a[n].street!=null){const{addressValue:l}=a[n].street,C=je(l?.country);d={street:a[n].street??f.strings.empty,city:l?.locality??f.strings.empty,state:l?.administrativeAreaLevel1??f.strings.empty,country:C,countryCode:l?.countryCode??f.strings.empty,postalCode:l?.postalCode??f.strings.empty,secondaryInfo:a[n].secondaryInfo,suite:a[n].suite},i.selectedOption!==C.selectedOption&&(d={...d,country:C})}else t===`${n}.country`&&i.selectedOption!=null?d={...d,countryCode:oe(i.selectedOption)}:i.selectedOption!=null&&t.includes(`${n}.street`)===!1&&(d={...d,countryCode:oe(i.selectedOption)});x(d)}};$.useEffect(()=>{const t=r.watch((a,{name:i})=>{i!=null&&a!=null&&ke(()=>me(i,a))});return()=>{t.unsubscribe()}}),$.useEffect(()=>{I==="In-Progress"&&m.fetchState==="Completed"&&r.reset(O(e),{keepDirtyValues:!1})},[r,e,I,m.fetchState,Y]);const ye=()=>{const t=r.getValues(n),a={street:t.street.addressString,suite:t.suite,city:t.city,state:t.state,postalCode:t.postalCode,country:t.country.selectedOption??f.strings.empty,secondaryInfo:t.secondaryInfo};h.trackOnboardingBillingAddressSave(a)},ne=()=>{const t=Object.values(X).some(l=>l.fetchStatus.fetchState==="Completed"),a=k?.providerVerificationStatus?.code?.includes("verified")??!1,i=p.cardsList.length>0,d=p.bankAccountsList[0]?.providerVerificationStatus?.code?.includes("verified")??!1;return t&&a||!a&&!k&&i||!i&&!k&&d};function fe(){if(r.getFieldState(n).error)return!1;const t=r.getValues(n),a=y?.street.join("").trim(),i=y?.city,d=y?.state,l=y?.country,C=y?.postalCode!=null&&y.postalCode||t.postalCode||f.strings.empty;return!!a&&!!i&&!!d&&!!l&&!!C}const he=async()=>{const t=await r.trigger(n),a=await r.trigger(Q);t&&a&&(ye(),j("link_payment_account"),B(ge,!1,!0))};$.useEffect(()=>{I==="In-Progress"&&m.fetchState==="Completed"&&(r.reset(O(e),{keepDirtyValues:!1}),w())},[r,e,I,m.fetchState,Y,w]);const[ae,Se]=$.useState(!1);return o.jsxs(Me,{children:[o.jsxs(Ke,{windowSize:g,children:[o.jsx(Ie,{title:ee.sectionTitle,showBackButton:!1,backgroundColor:Z.colors.grey4,style:{zIndex:4},source:"CustomerOnboardingPaymentAddressDetailPage",showLeftSection:g!=="small",titleStyle:{display:"flex",alignItems:"center"},navBarContainerStyles:{paddingTop:s.sp0,paddingBottom:s.sp0},leftSideComponent:o.jsx(We,{children:o.jsx(Ze,{"data-testid":Ae("zeni-logo-customer-onboarding-payment-address-detail-page"),onClick:W})})}),o.jsx($e,{...r,children:o.jsx(Re,{id:Be(se),children:o.jsxs(Ne,{children:[o.jsx(He,{windowSize:g,children:ee.sectionSubTitle}),o.jsx(ze,{connectedAccountProvider:u,paymentAccount:k,accountStatus:de,plaidConnectionDetails:X,subscriptionBillingAddressSectionId:n,sectionId:Q,analytics:h,isValid:ne(),onFetchLinkTokenClick:M,onEstablishConnectionClick:S,onUpdatePaymentAccountStatus:K,onUpdatePaymentAccountLoginStatus:N,onEstablishConnectionSuccess:R,updateCardPaymentModalState:P,cardPaymentView:p,resetCardPaymentViewState:E,cardSetupInProgress:ae,googleAPIKey:v,subscriptionBillingAddress:y})]},"link_payment_account")})}),o.jsx(Oe,{formId:`${se}`,leftSideComponent:o.jsx(Ge,{windowSize:g,children:o.jsx(Ve,{signedInUser:b,currentTenant:T,onLogOutClick:G})}),style:{width:g==="small"?"auto":"100%",padding:s.sp0,rowGap:s.sp1},helperContainerStyle:{width:"100%",rowGap:s.sp1,marginTop:"12px",marginBottom:s.sp2},primaryBtn:{onClick:he,label:H.submit,isLoading:m.fetchState==="In-Progress",isDisabled:m.fetchState==="In-Progress"||!(fe()&&ne())},containerStyle:{width:"auto",justifyContent:"center"},helperText:H.submitText.replace("__action__",H.submit),helperStyle:{width:"auto",padding:s.sp0,rowGap:s.sp0,textAlign:"center"}})]}),o.jsx(Ee,{handleConfirmCardSetupIntent:U,updateCardPaymentModalState:P,handleCreateCardSetupIntent:L,handleAddCardPaymentSource:z,cardPaymentView:p,stripeKey:V,isCardPaymentOpen:le.isCardPaymentPopupOpen,handleResetCardPaymentErrorStatuses:_,cardSetupInProgress:ae,setCardSetupInProgress:Se})]})},Me=c.div`
2
2
  display: flex;
3
3
  flex-direction: column;
4
4
  align-items: center;
@@ -1,8 +1,8 @@
1
- import{V as l,fs as tn,q as We,d as nn,a8 as an,cB as me,aN as He,C as ft,aA as Ke,bz as on,o as re,ab as sn,c as Q,aO as rn,hF as ln,g6 as cn,ft as yt,eU as Ot,F as Ye,eV as gt,y as fe,g9 as ye,cO as dn,ak as pn,hG as ht,ac as St,cM as un,g8 as mn}from"./index-CK2D3iZ1.js";import{a as m}from"./sentry-Dm3bm_ok.js";import{n as P,k as wt}from"./mui-DCr-y2iU.js";import{bi as j}from"./zeni-epic-state-Cgro3mH-.js";import{s as Ct,o as fn}from"./PaymentAccountSetupBillingAddressSection-C8QwChEK-DSZP0_gt.js";import{b as bt,f as yn,a as It}from"./CustomerOnboardingDetailPageSkeleton-hF2fjE7f-Bx4vnxk_.js";import{s as gn,S as hn}from"./CompanyOfficerDetailsSection-mKcrRkb5-BdmL4WQb.js";import{t as Sn}from"./QBOSetupSection-BTjj7g98-CXsc6nTM.js";import"./liveblocks-CofSwFWW.js";import"./core-D2k9JfRf.js";import"./recharts-CIKvFUT6.js";import"./lottie-BO8FHl2Q.js";import"./analytics-DCCTWnnc.js";import"./lexical-BEs89iUy.js";import"./utils-CVsOBiWJ.js";import"./SetUpAccountSection-BAsI7p1f-Dy9q8TNa.js";import"./LabeledAddressValueField-DpcuqwLy-CTnD7CIG.js";import"./LabeledCreatableSingleSelectField-D_oWjB4_-A2URoXC_.js";import"./LabeledDocumentField-dtnakMLl-DM4CLrZI.js";import"./QBOConnectionDialog-Bv6unk3C-C69fuiCc.js";(function(){try{var n=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},C=new n.Error().stack;C&&(n._sentryDebugIds=n._sentryDebugIds||{},n._sentryDebugIds[C]="9d861626-c53e-4b72-9690-e2f092454a59",n._sentryDebugIdIdentifier="sentry-dbid-9d861626-c53e-4b72-9690-e2f092454a59")}catch{}})();const Cn=({companyView:n,companyOfficerLocalData:C,allNationalityCountries:r,isVerificationPopupOpen:g,setIsVerificationPopupOpen:v,verifiedPhoneNumber:O,onPhoneVerified:h,...w})=>{const y=We(),V=n?.companyOfficers.slice(0,10).sort((I,ee)=>I.user.createTime?.isAfter(ee.user.createTime)===!0?1:-1)?.map(I=>I.user),{company_officer:c}=Ye.getLocalizedStrings().customerOnboardingPage.sections,{title:_}=c,$=n?.company.company.featuresActivationInfo.connectedAccountProvider;return l.jsx(bn,{children:l.jsx(hn,{companyOfficerData:C,allOfficers:V??[],allNationalityCountries:r,sectionHeader:_,isPopupOpen:g,productType:"onboarding",connectedAccountProvider:$,showInfoTooltip:y!=="small",showCompletedIcon:y==="small",showOfficerSelect:!1,showVerificationTag:!1,verifiedPhoneNumber:O,onPhoneVerified:h,optionalFields:["dob","officerAddress","role","ssn","ownership","selectDocument","phone"],openPopup:v,...w})})},bn=P.div`
1
+ import{V as c,fs as tn,q as We,d as nn,a8 as an,cB as me,aN as He,C as ft,aA as Ke,bz as on,o as re,ab as sn,c as Q,aO as rn,hF as cn,g6 as ln,ft as yt,eU as Ot,F as Ye,eV as gt,y as fe,g9 as ye,cO as dn,ak as pn,hG as ht,ac as St,cM as un,g8 as mn}from"./index-BoDHThmj.js";import{a as m}from"./sentry-CAa_RBiQ.js";import{n as P,k as wt}from"./mui-DjUnBv6N.js";import{bi as j}from"./zeni-epic-state-BO46e_7F.js";import{s as Ct,o as fn}from"./PaymentAccountSetupBillingAddressSection-Ddm0Q_3J-iDE-MOKu.js";import{b as bt,f as yn,a as It}from"./CustomerOnboardingDetailPageSkeleton-Cktian-X-Ch6gtFyy.js";import{s as gn,S as hn}from"./CompanyOfficerDetailsSection-DYAECWJz-C-5qszuR.js";import{t as Sn}from"./QBOSetupSection-DQTH1dAT--WL2Dx1Z.js";import"./liveblocks-2fUZ-mzS.js";import"./core-DesIUmVX.js";import"./recharts-CFBD4y8X.js";import"./lottie-BC5QDLx3.js";import"./analytics-aL6KvWIc.js";import"./lexical-WHFPYU-_.js";import"./utils-MCudDogO.js";import"./SetUpAccountSection-B1mXaFmw-BQBAmCi3.js";import"./LabeledAddressValueField-BewnvHGP-Cy17-5a4.js";import"./LabeledCreatableSingleSelectField-nc8iZ1C1-CV4i9q1e.js";import"./LabeledDocumentField-DmRNRSkb-CDplxK9C.js";import"./QBOConnectionDialog--nz5v12t-BznyDbQp.js";(function(){try{var n=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},C=new n.Error().stack;C&&(n._sentryDebugIds=n._sentryDebugIds||{},n._sentryDebugIds[C]="ffdcac06-f176-4c7e-94e3-bef4d07db4d6",n._sentryDebugIdIdentifier="sentry-dbid-ffdcac06-f176-4c7e-94e3-bef4d07db4d6")}catch{}})();const Cn=({companyView:n,companyOfficerLocalData:C,allNationalityCountries:r,isVerificationPopupOpen:g,setIsVerificationPopupOpen:v,verifiedPhoneNumber:O,onPhoneVerified:h,...w})=>{const y=We(),V=n?.companyOfficers.slice(0,10).sort((I,ee)=>I.user.createTime?.isAfter(ee.user.createTime)===!0?1:-1)?.map(I=>I.user),{company_officer:l}=Ye.getLocalizedStrings().customerOnboardingPage.sections,{title:_}=l,$=n?.company.company.featuresActivationInfo.connectedAccountProvider;return c.jsx(bn,{children:c.jsx(hn,{companyOfficerData:C,allOfficers:V??[],allNationalityCountries:r,sectionHeader:_,isPopupOpen:g,productType:"onboarding",connectedAccountProvider:$,showInfoTooltip:y!=="small",showCompletedIcon:y==="small",showOfficerSelect:!1,showVerificationTag:!1,verifiedPhoneNumber:O,onPhoneVerified:h,optionalFields:["dob","officerAddress","role","ssn","ownership","selectDocument","phone"],openPopup:v,...w})})},bn=P.div`
2
2
  display: flex;
3
3
  align-items: center;
4
4
  justify-content: center;
5
- `,In=({fileProps:n,companyDetails:C,companyIndustries:r,sectionId:g,isCompleted:v,isDisabled:O,style:h,onCompanyAddressClick:w,onRegisteredAddressClick:y})=>{const V=We(),{company_details:c}=Ye.getLocalizedStrings().customerOnboardingPage.sections,{title:_}=c;return l.jsx(Pn,{children:l.jsx(gn,{fileProps:n,companyDetails:C,sectionId:g,isDisabled:O,style:h,sectionHeader:_,productType:"onboarding",showInfoTooltip:V!=="small",showCompletedIcon:V==="small",isCompleted:v,allIndustries:r,optionalFields:["companyLegalName","companyDescription","companyAddress","companyIndustry","typeOfIncorporation","incDate","certificateOfIncorporation","ein","companyPhone","primaryContactName"],onCompanyAddressClick:w,onRegisteredAddressClick:y})})},Pn=P.div`
5
+ `,In=({fileProps:n,companyDetails:C,companyIndustries:r,sectionId:g,isCompleted:v,isDisabled:O,style:h,onCompanyAddressClick:w,onRegisteredAddressClick:y})=>{const V=We(),{company_details:l}=Ye.getLocalizedStrings().customerOnboardingPage.sections,{title:_}=l;return c.jsx(Pn,{children:c.jsx(gn,{fileProps:n,companyDetails:C,sectionId:g,isDisabled:O,style:h,sectionHeader:_,productType:"onboarding",showInfoTooltip:V!=="small",showCompletedIcon:V==="small",isCompleted:v,allIndustries:r,optionalFields:["companyLegalName","companyDescription","companyAddress","companyIndustry","typeOfIncorporation","incDate","certificateOfIncorporation","ein","companyPhone","primaryContactName"],onCompanyAddressClick:w,onRegisteredAddressClick:y})})},Pn=P.div`
6
6
  display: flex;
7
7
  align-items: center;
8
8
  justify-content: center;
@@ -10,7 +10,7 @@ import{V as l,fs as tn,q as We,d as nn,a8 as an,cB as me,aN as He,C as ft,aA as
10
10
  display: flex;
11
11
  `,wn=P.input`
12
12
  display: none;
13
- `,xn=({isValid:n,sectionId:C="onboardingQboConnection",...r})=>{const{register:g}=dn();return l.jsxs(On,{children:[l.jsx(wn,{type:"hidden",...g(`${C}.connected`,{validate:v=>v==="true"}),value:n?"true":"false"}),l.jsx(Sn,{isValid:n,...r})]})},B="companyDetails",b="companyOfficer",J="onboardingPaymentAccountSetupSection",Pt="customerOnboardingDetailPage",f="onboardingSubscriptionBillingAddress",ge="onboardingQboConnection",he={titleWidth:new fe(343,580,726,826),topNavBarHeight:new fe(52,52,63),topNavBarLeftRightSpace:new fe(Q[5],Q[9],112),subTitlePaddingTop:new fe(Q[3],Q[3]),subTitlePaddingBottom:new fe(Q[3],Q[3])},kn=n=>`${n}_form`,le=Ye.getLocalizedStrings(),vn=({fileProps:n,isRefreshingViewInBackground:C,isAdmin:r,onboardingCustomerView:g,companyTitles:v,connectedAccountProvider:O,analytics:h,cardPaymentView:w,stripeKey:y,googleAPIKey:V,handleCreateCardSetupIntent:c,handleConfirmCardSetupIntent:_,updateCardPaymentModalState:$,handleAddCardPaymentSource:I,resetCardPaymentViewState:ee,handleResetCardPaymentErrorStatuses:ve,redirectToProductSuitePage:Se,onFormErrorsChange:D,...Ne})=>{const R=We(),Ve=m.useRef(null),_e=m.useRef(null),W=m.useRef(null),Ae=m.useRef(null),[Ce,z]=m.useState(!1),[U,q]=m.useState("next"),[F,be]=m.useState(!1),[ce,Ie]=m.useState(!1),[te,Y]=m.useState(null),{onAddressClick:ne,onCompanyDetailsChanged:Pe,onCompanyOfficerUpdated:A,onFetchLinkTokenClick:Oe,onUpdatePaymentAccountStatus:de,onUpdatePaymentAccountLoginStatus:ae,onEstablishConnectionClick:pe,onEstablishConnectionSuccess:oe,onDeleteFile:N,onEditFileName:Ge,updateFilesEntity:Ze,onGetOtp:xt,onSkipSetupClick:De,onUpdateCustomerView:Te,updateStepHandler:M,onVerifyOtp:kt,onResendOtp:vt,handleOnConnectClick:Nt,updateQBOPopupState:Vt,onUpdateStep:$e,onAddressEditHandler:_t}=Ne,At=nn(),s=an({mode:"onSubmit",reValidateMode:"onChange",defaultValues:Qe(g,g.allNationalityCountries),values:Qe(g,g.allNationalityCountries),shouldFocusError:!0,resetOptions:{keepDirtyValues:!0}}),H=m.useCallback(()=>{const e=[];return(s.getFieldState(J).error!=null||s.getFieldState(f).error!=null)&&e.push("link_payment_account"),s.getFieldState(ge).error!=null&&e.push("qbo_connection"),e},[s]);m.useEffect(()=>{const e=H();D?.(e)},[H,D]),m.useEffect(()=>{const e=s.watch((t,{name:a,type:i})=>{a!=null&&(i==="change"||i==="blur")&&me(()=>{const u=H();D?.(u)})});return()=>e.unsubscribe()},[s,H,D]);const Xe=e=>{tt(e)},{companyView:se,companyDetailsLocalData:d,companyOfficerLocalData:E,currentStep:o,completedSteps:Je,saveStatus:x,allSteps:S,allRequiredStepsCompleted:Fe,paymentAccount:K,paymentAccountStatus:et,externalConnections:Ee,plaidConnectionDetails:Le,uiState:je,allNationalityCountries:Be,pendingSaveDetails:{companyDetails:Dt,officer:Tt},subscriptionBillingAddress:G}=g,we=m.useRef(""),$t=e=>{we.current=e;const t=Object.values(g.companyOfficerLocalData).findIndex(i=>i?.isSelectedForVerification===!0)??0,a=t<0?0:t;s.clearErrors(`${b}.${a}.phone`)},tt=e=>{e!=null&&!ye(e)?s.trigger(`${b}.${Z}.phone`):xt(e)},Z=Object.values(E).findIndex(e=>e?.isSelectedForVerification===!0)??0,T=`Officer_${Z<0?1:Z+1}`,Ft=se?.companyOfficers.slice(0,10).sort((e,t)=>e.user.createTime?.isAfter(t.user.createTime)===!0?1:-1),Re=E[T]?.userId!=null?Ft?.find(e=>e.user.userId===E[T]?.userId)?.address:null,nt=E[T]?.addressStatus?.addressToCreate,xe=se?.companyAddress,at=d?.addressStatus?.addressToCreate,ze=se?.registeredAddress,ot=d?.registeredAddressStatus?.addressToCreate,{customerOnboardingPage:Et,common:p}=le,{footer:Lt,steps:jt}=Et,{buttons:st}=Lt,it=jt[o],Ue=S.length,ie=He(x.fetchState),L=He(o);function Bt(){return Ee?.accounting[0]?.isValid??!1}const ue=()=>{const e=Object.values(Le).some(u=>u.fetchStatus.fetchState==="Completed"),t=K?.providerVerificationStatus?.code?.includes("verified")??!1,a=w.cardsList.length>0,i=w.bankAccountsList[0]?.providerVerificationStatus?.code?.includes("verified")??!1;return e&&t||!t&&!K&&a||!a&&!K&&i};function rt(){if(s.getFieldState(f).error)return!1;const e=s.getValues(f),t=G?.street.join("").trim(),a=G?.city,i=G?.state,u=G?.country,k=G?.postalCode!=null&&G.postalCode||e.postalCode||p.strings.empty;return!!t&&!!a&&!!i&&!!u&&!!k}const lt=He(K?.providerVerificationStatus?.code),Rt=()=>{const e=d,t=[];return e?.companyLegalName!=null&&t.push("legal_name"),e?.companyDescription!=null&&e?.companyDescription!==p.strings.empty&&t.push("company_description"),e?.addressStatus?.addressToCreate!=null&&t.push("company_address"),e?.registeredAddressStatus?.addressToCreate!=null&&t.push("registered_address"),e?.website!=null&&t.push("website"),e?.companyIndustry!=null&&e?.companyIndustry!==p.strings.empty&&t.push("industry"),e?.typeOfIncorporation!=null&&e?.typeOfIncorporation!==p.strings.empty&&t.push("type_of_incorporation"),e?.incDate!=null&&t.push("inc_date"),e?.phone!=null&&t.push("phone"),e?.primaryContactLocalData?.firstName!=null&&e?.primaryContactLocalData?.lastName!=null&&t.push("primary_contact_name"),e?.primaryContactLocalData?.email!=null&&t.push("primary_contact_email"),e?.taxIdOrEIN!=null&&t.push("tax_id_or_ein"),e?.companyFiles.find(a=>a.documentType==="certificate_of_incorporation")!=null&&t.push("certificate_of_incorporation"),e?.companyFiles.find(a=>a.documentType==="tax_ein")!=null&&t.push("ein"),{completedFields:t,status:t.length===14?"complete":t.length>0?"partially_complete":"incomplete"}},zt=()=>{const e=E[T],t=[];return e?.firstName!=null&&e.firstName!==p.strings.empty&&t.push("first_name"),e?.lastName!=null&&e.lastName!==p.strings.empty&&t.push("last_name"),e?.birthday!=null&&t.push("dob"),e?.nationalityCountryCode!=null&&t.push("nationality"),e?.addressStatus?.addressToCreate!=null&&t.push("address"),e?.phone!=null&&e.phone!==p.strings.empty&&e.isPhoneVerified===!0&&t.push("phone"),e?.titleAtCompany!=null&&e.titleAtCompany!==p.strings.empty&&t.push("company_role"),e?.ownershipInCompany!=null&&t.push("ownership"),e?.ssn!=null&&e.ssn!==p.strings.empty&&t.push("ssn"),e?.documentTypeSelectedForVerification!=null&&t.push("document_type"),e?.fileIds!=null&&e.fileIds.length>0&&t.push("document_uploaded"),{completedFields:t,status:t.length===11?"complete":t.length>0?"partially_complete":"incomplete"}};m.useEffect(()=>{lt==="pending_manual_verification"&&K?.providerVerificationStatus?.code==="manually_verified"&&h.trackOnboardingBankAccountVerified("manual")},[h,K?.providerVerificationStatus?.code,lt]);const Ut=async(e,t)=>{if(e.includes(B))Pe?.(t[B]);else if(e.includes(b))A?.(t[b]);else if(e.includes(f)&&t[f]!=null){const a=s.getValues(`${f}`).country;let i=t[f];if(e.includes(`${f}.street`)&&t[f].street!=null){const{addressValue:u}=t[f].street,k=Ot(u?.country);i={street:t[f].street??p.strings.empty,city:u?.locality??p.strings.empty,state:u?.administrativeAreaLevel1??p.strings.empty,country:k,countryCode:u?.countryCode??p.strings.empty,postalCode:u?.postalCode??p.strings.empty,secondaryInfo:t[f].secondaryInfo,suite:t[f].suite},a.selectedOption!==k.selectedOption&&(i={...i,country:k})}else e===`${f}.country`&&a.selectedOption!=null?i={...i,countryCode:gt(a.selectedOption)}:a.selectedOption!=null&&e.includes(`${f}.street`)===!1&&(i={...i,countryCode:gt(a.selectedOption)});_t(i)}};m.useEffect(()=>{const e=s.watch((t,{name:a})=>{a!=null&&t!=null&&me(()=>Ut(a,t))});return()=>{e.unsubscribe()}}),m.useEffect(()=>{ie==="In-Progress"&&x.fetchState==="Completed"&&(s.reset(Qe(g,Be),{keepDirtyValues:!1}),L==="company_details"&&o==="link_payment_account"&&!S.includes("qbo_connection")&&!g.qboConnected&&Se())},[s,g,ie,x.fetchState,Be,L,o,S,Se]),m.useEffect(()=>{Ce&&ie==="In-Progress"&&x.fetchState==="Completed"&&(De(),h.track(ft.Event.onboardingSkipAndSave))},[ie,Ce,x.fetchState,De]),m.useEffect(()=>{te?.shouldNavigate===!0&&ie==="In-Progress"&&x.fetchState==="Completed"&&(Y(null),M(te.fromStep,te.stepDirection,!0))},[te,ie,x.fetchState,M]),m.useLayoutEffect(()=>{L!=null&&L!==o&&(S.indexOf(L)===S.indexOf(o)-1||S.indexOf(L)===Ue-1&&S.indexOf(o)===0?U!=="next"&&q("next"):(S.indexOf(L)-1===S.indexOf(o)||S.indexOf(L)===0&&S.indexOf(o)===Ue-1)&&U!=="previous"&&q("previous"))},[S,o,L,U,Ue]);const ct=()=>{const e=E[T];return!!e?.firstName||!!e?.lastName||!!e?.email||!!e?.nationalityCountryCode||!!e?.birthday||!!e?.ownershipInCompany||!!e?.phone||!!e?.ssn||!!e?.titleAtCompany||!!e?.addressStatus?.addressToCreate||e?.fileIds!=null&&e?.fileIds.length>0},qt=!Ke(nt!=null?j(nt):null,Re!=null?j(Re):null),Mt=!Ke(at!=null?j(at):null,xe!=null?j(xe):null),Ht=!Ke(ot!=null?j(ot):null,ze!=null?j(ze):null),Kt=s.getFieldState(B).isDirty||Mt||Ht||Dt,qe=s.getFieldState(b).isDirty&&ct()||qt||Tt,dt=s.getFieldState(`${f}`).isDirty,ke=d?.primaryContactLocalData,Qt=()=>{M(o,"previous",!0)},Wt=()=>{const e=s.getValues(f),t={street:e.street.addressString,suite:e.suite,city:e.city,state:e.state,postalCode:e.postalCode,country:e.country.selectedOption??p.strings.empty,secondaryInfo:e.secondaryInfo};h.trackOnboardingBillingAddressSave(t)},Yt=()=>{switch(Ie(!1),o){case"link_payment_account":dt?setTimeout(()=>{const e=H();D?.(e),rt()&&dt?(Wt(),Te(T,!1,!0),Y({fromStep:o,shouldNavigate:!0,stepDirection:"next"})):M(o,"next",!0)},200):M(o,"next",!0);break;case"qbo_connection":M(o,"next",!0);break;case"company_officer":if(qe){const e=pt();if(me(()=>{const t=H();D?.(t)}),e.needsOtp&&e.phoneNumber&&ye(e.phoneNumber)){const t=s.formState.errors[b]?.[Z<0?0:Z],a=t?.phone,i=t!=null&&Object.keys(t).some(u=>u!=="phone"&&t[u]!=null);if(a!=null&&!i){Xe(e.phoneNumber);return}}e.isValid&&(Te(T,!1,!1),h.trackOnboardingCompanyOfficerSave(ut(),{legalName:d?.companyLegalName},zt()),Y({fromStep:o,shouldNavigate:!0,stepDirection:"next"}))}else M(o,"next",!0);break;case"company_details":Ie(!0);{const e=!(rt()&&ue()),t=!Bt()&&S.includes("qbo_connection");if(e||t){e&&(s.trigger(`${J}`),s.trigger(`${f}`)),t&&s.trigger(ge),me(()=>{const a=H();D?.(a)}),e?$e("link_payment_account"):t&&$e("qbo_connection");return}}if(Kt||qe||!ke?.email){const e=Zt(),t=qe?pt():{isValid:!0};me(()=>{const a=H();D?.(a)}),e&&t.isValid?(Fe&&(z(!0),Xt()),Te(T,!Fe,!1),h.trackOnboardingCompanyDetailsSave({companyDescription:d?.companyDescription,legalName:d?.companyLegalName,industry:d?.companyIndustry??p.strings.empty,incDate:d?.incDate?.toString(),phone:d?.phone,website:d?.website?.toString(),formattedAddress:d?.addressStatus?.addressToCreate!=null?j(d?.addressStatus?.addressToCreate):void 0},Rt(),{firstName:ke?.firstName,lastName:ke?.lastName,email:ke?.email}),Y({fromStep:o,shouldNavigate:!0,stepDirection:"next"})):t.isValid||$e("company_officer")}else Fe?Gt():M(o,"next",!0);break}},Gt=()=>{x.fetchState!=="In-Progress"&&(De(),h.track(ft.Event.onboardingSkipAndSave))},pt=()=>{const e=E[T],t=e?.email??p.strings.empty,a=e?.phone??p.strings.empty,i=e?.ssn??p.strings.empty,u=e?.ownershipInCompany,k=Z<0?0:Z,en=!!e?.firstName&&!!e?.lastName;let X=!0,mt=!1;return t&&!en&&(s.trigger([`${b}.${k}.name.firstName`,`${b}.${k}.name.lastName`],{shouldFocus:o==="company_officer"}),X=!1),(!t&&ct()||St.test(t)===!1)&&(s.trigger(`${b}.${k}.email`,{shouldFocus:o==="company_officer"}),X=!1),a&&ye(a)===!1&&(s.trigger(`${b}.${k}.phone`,{shouldFocus:o==="company_officer"}),X=!1),a&&ye(a)===!0&&O==="unit"&&(we.current!==""&&a===we.current||(mt=!0,s.setError(`${b}.${k}.phone`,{type:"custom",message:le.commonSetUp.businessVerification.phoneValidationError},{shouldFocus:o==="company_officer"}),X=!1)),u!=null&&u>100&&(s.trigger(`${b}.${k}.ownership`,{shouldFocus:o==="company_officer"}),X=!1),i&&mn.test(i)===!1&&(s.trigger(`${b}.${k}.ssn`,{shouldFocus:o==="company_officer"}),X=!1),{isValid:X,needsOtp:mt,phoneNumber:a}},Zt=()=>{const e=d?.website?.toString()??p.strings.empty,t=d?.phone??p.strings.empty,a=d?.taxIdOrEIN??p.strings.empty,i=d?.primaryContactLocalData?.email??p.strings.empty;let u=!0;return e&&ht.test(e)===!1&&(s.trigger(`${B}.companyWebsite`,{shouldFocus:o==="company_details"}),u=!1),ht.lastIndex=0,t&&ye(t)===!1&&(s.trigger(`${B}.companyPhone`,{shouldFocus:o==="company_details"}),u=!1),(!i||St.test(i)===!1)&&(s.trigger(`${B}.primaryContactEmail`,{shouldFocus:o==="company_details"}),u=!1),a&&un.test(a)===!1&&(s.trigger(`${B}.companyTaxId`,{shouldFocus:o==="company_details"}),u=!1),u},ut=()=>{const e=E[T];return{email:e?.email??p.strings.empty,birthday:e?.birthday?.toString(),companyOwnership:e?.ownershipInCompany,firstName:e?.firstName,lastName:e?.lastName,companyRole:e?.titleAtCompany,phone:e?.phone,formattedAddress:e?.addressStatus?.addressToCreate!=null?j(e?.addressStatus?.addressToCreate):void 0,documentTypeForVerification:e?.documentTypeSelectedForVerification}},Xt=()=>{const e=d?.primaryContactLocalData;h.trackBusinessVerificationSave(ut(),{companyDescription:d?.companyDescription,legalName:d?.companyLegalName,phone:d?.phone,website:d?.website?.toString(),industry:d?.companyIndustry??p.strings.empty,formattedAddress:d?.addressStatus?.addressToCreate!=null?j(d?.addressStatus?.addressToCreate):void 0},{firstName:e?.firstName,lastName:e?.lastName,email:e?.email},"onboarding")},[Me,Jt]=m.useState(!1);return l.jsxs(_n,{children:[l.jsxs(An,{windowSize:R,children:[S.indexOf(o)>=0?l.jsx(on,{title:it.sectionTitle,showBackButton:!1,backgroundColor:At.colors.grey4,style:{zIndex:4},showLeftSection:R!=="small",titleStyle:{display:"flex",alignItems:"center"},navBarContainerStyles:{paddingTop:re.sp0,paddingBottom:re.sp0},source:"CustomerOnboardingDetailPage"}):l.jsx(Dn,{windowSize:R,children:l.jsx($n,{windowSize:R,children:l.jsx(Tn,{})})}),l.jsx(sn,{...s,children:l.jsx(En,{id:kn(Pt),children:S.map(e=>{let t;t=l.jsx(Ct,{connectedAccountProvider:O,paymentAccount:K,accountStatus:et,plaidConnectionDetails:Le,sectionId:J,hasError:s.getFieldState(J).error!=null||ce&&!ue(),isValid:ue(),analytics:h,onFetchLinkTokenClick:Oe,onEstablishConnectionClick:pe,onUpdatePaymentAccountStatus:de,onUpdatePaymentAccountLoginStatus:ae,onEstablishConnectionSuccess:oe,cardPaymentView:w,resetCardPaymentViewState:ee,updateCardPaymentModalState:$,cardSetupInProgress:Me,subscriptionBillingAddressSectionId:f});let a=Ve;switch(e){case"link_payment_account":t=l.jsx(Ct,{connectedAccountProvider:O,paymentAccount:K,accountStatus:et,plaidConnectionDetails:Le,subscriptionBillingAddressSectionId:f,sectionId:J,hasError:s.getFieldState(J).error!=null||ce&&!ue(),isValid:ue(),analytics:h,onFetchLinkTokenClick:Oe,onEstablishConnectionClick:pe,onUpdatePaymentAccountStatus:de,onUpdatePaymentAccountLoginStatus:ae,onEstablishConnectionSuccess:oe,updateCardPaymentModalState:$,cardPaymentView:w,resetCardPaymentViewState:ee,cardSetupInProgress:Me,googleAPIKey:V,subscriptionBillingAddress:G});break;case"qbo_connection":t=l.jsx(xn,{sectionId:ge,hasError:s.getFieldState(ge).error!=null,isAdmin:r,isValid:Ee?.accounting[0]?.isValid??!1,companyName:se?.company.company.companyInfo.companyLegalName,saveConnectionState:Ee?.saveConnectionState,isQBOPopupOpen:je.isQBOPopupOpen,handleOnConnectClick:Nt,updateQBOPopupState:Vt}),a=_e;break;case"company_officer":t=l.jsx(Cn,{companyOfficerLocalData:E,allNationalityCountries:Be,isCompleted:Je.includes("company_officer"),companyView:se,sectionId:b,filesEndPoint:n.filesEndPoint,authParams:n.authParams,isRefreshingViewInBackground:C,companyTitles:v,isVerificationPopupOpen:F,setIsVerificationPopupOpen:be,onGetOtp:Xe,onVerifyOtp:kt,onResendOtp:vt,onOfficerAddressClick:i=>ne(i,Re?.addressId),updateFilesEntity:Ze,onEditFileName:Ge,onDeleteFile:N,verifiedPhoneNumber:we.current,onPhoneVerified:$t,isDisabled:x.fetchState==="In-Progress"?"readonly":void 0,triggerError:tt}),a=Ae;break;case"company_details":t=l.jsx(In,{fileProps:{...n,onEditFileName:Ge,onDeleteFile:N,updateFilesEntity:Ze},sectionId:B,companyIndustries:g.companyIndustries,companyDetails:d,isDisabled:x.fetchState==="In-Progress"?"readonly":void 0,isCompleted:Je.includes("company_details"),onCompanyAddressClick:i=>{const u=se?.company.company.companyOnboardingInfo.subscriptionBillingAddressId;xe?.addressId==null&&u!=null?ne(i,u):ne(i,xe?.addressId)},onRegisteredAddressClick:i=>ne(i,ze?.addressId)}),a=W;break}return l.jsxs(Fn,{ref:a,isVisible:o===e,includeAnimation:o==="link_payment_account"||o==="qbo_connection"?!je.isQBOPopupOpen:o==="company_officer"?!F:!0,paddingBottom:e==="company_details"||e==="company_officer"?Q[6]:Q[0],stepAnimationDirection:U,children:[S.indexOf(o)>=0?l.jsx(Ln,{windowSize:R,children:it.sectionSubTitle}):null,t]},e)})})}),l.jsx(rn,{formId:`${Pt}`,style:{width:R==="small"?"auto":"100%",paddingTop:re.sp2,paddingBottom:re.sp2},primaryBtn:{onClick:Yt,label:o==="company_details"?p.footer.submit:st.next,isLoading:x.fetchState==="In-Progress",isDisabled:x.fetchState==="In-Progress"},cancelBtn:{onClick:Qt,label:st.back,isDisabled:x.fetchState==="In-Progress"||S.indexOf(o)===0},containerStyle:{width:"auto",justifyContent:"center"},showCancel:!0})]}),l.jsx(fn,{handleConfirmCardSetupIntent:_,updateCardPaymentModalState:$,handleCreateCardSetupIntent:c,handleAddCardPaymentSource:I,cardPaymentView:w,stripeKey:y,isCardPaymentOpen:je.isCardPaymentPopupOpen,handleResetCardPaymentErrorStatuses:ve,cardSetupInProgress:Me,setCardSetupInProgress:Jt})]})},Nn=wt`
13
+ `,xn=({isValid:n,sectionId:C="onboardingQboConnection",...r})=>{const{register:g}=dn();return c.jsxs(On,{children:[c.jsx(wn,{type:"hidden",...g(`${C}.connected`,{validate:v=>v==="true"}),value:n?"true":"false"}),c.jsx(Sn,{isValid:n,...r})]})},B="companyDetails",b="companyOfficer",J="onboardingPaymentAccountSetupSection",Pt="customerOnboardingDetailPage",f="onboardingSubscriptionBillingAddress",ge="onboardingQboConnection",he={titleWidth:new fe(343,580,726,826),topNavBarHeight:new fe(52,52,63),topNavBarLeftRightSpace:new fe(Q[5],Q[9],112),subTitlePaddingTop:new fe(Q[3],Q[3]),subTitlePaddingBottom:new fe(Q[3],Q[3])},kn=n=>`${n}_form`,ce=Ye.getLocalizedStrings(),vn=({fileProps:n,isRefreshingViewInBackground:C,isAdmin:r,onboardingCustomerView:g,companyTitles:v,connectedAccountProvider:O,analytics:h,cardPaymentView:w,stripeKey:y,googleAPIKey:V,handleCreateCardSetupIntent:l,handleConfirmCardSetupIntent:_,updateCardPaymentModalState:$,handleAddCardPaymentSource:I,resetCardPaymentViewState:ee,handleResetCardPaymentErrorStatuses:ve,redirectToProductSuitePage:Se,onFormErrorsChange:D,...Ne})=>{const R=We(),Ve=m.useRef(null),_e=m.useRef(null),W=m.useRef(null),Ae=m.useRef(null),[Ce,z]=m.useState(!1),[U,q]=m.useState("next"),[F,be]=m.useState(!1),[le,Ie]=m.useState(!1),[te,Y]=m.useState(null),{onAddressClick:ne,onCompanyDetailsChanged:Pe,onCompanyOfficerUpdated:A,onFetchLinkTokenClick:Oe,onUpdatePaymentAccountStatus:de,onUpdatePaymentAccountLoginStatus:ae,onEstablishConnectionClick:pe,onEstablishConnectionSuccess:oe,onDeleteFile:N,onEditFileName:Ge,updateFilesEntity:Ze,onGetOtp:xt,onSkipSetupClick:De,onUpdateCustomerView:Te,updateStepHandler:M,onVerifyOtp:kt,onResendOtp:vt,handleOnConnectClick:Nt,updateQBOPopupState:Vt,onUpdateStep:$e,onAddressEditHandler:_t}=Ne,At=nn(),s=an({mode:"onSubmit",reValidateMode:"onChange",defaultValues:Qe(g,g.allNationalityCountries),values:Qe(g,g.allNationalityCountries),shouldFocusError:!0,resetOptions:{keepDirtyValues:!0}}),H=m.useCallback(()=>{const e=[];return(s.getFieldState(J).error!=null||s.getFieldState(f).error!=null)&&e.push("link_payment_account"),s.getFieldState(ge).error!=null&&e.push("qbo_connection"),e},[s]);m.useEffect(()=>{const e=H();D?.(e)},[H,D]),m.useEffect(()=>{const e=s.watch((t,{name:a,type:i})=>{a!=null&&(i==="change"||i==="blur")&&me(()=>{const u=H();D?.(u)})});return()=>e.unsubscribe()},[s,H,D]);const Xe=e=>{tt(e)},{companyView:se,companyDetailsLocalData:d,companyOfficerLocalData:E,currentStep:o,completedSteps:Je,saveStatus:x,allSteps:S,allRequiredStepsCompleted:Fe,paymentAccount:K,paymentAccountStatus:et,externalConnections:Ee,plaidConnectionDetails:Le,uiState:je,allNationalityCountries:Be,pendingSaveDetails:{companyDetails:Dt,officer:Tt},subscriptionBillingAddress:G}=g,we=m.useRef(""),$t=e=>{we.current=e;const t=Object.values(g.companyOfficerLocalData).findIndex(i=>i?.isSelectedForVerification===!0)??0,a=t<0?0:t;s.clearErrors(`${b}.${a}.phone`)},tt=e=>{e!=null&&!ye(e)?s.trigger(`${b}.${Z}.phone`):xt(e)},Z=Object.values(E).findIndex(e=>e?.isSelectedForVerification===!0)??0,T=`Officer_${Z<0?1:Z+1}`,Ft=se?.companyOfficers.slice(0,10).sort((e,t)=>e.user.createTime?.isAfter(t.user.createTime)===!0?1:-1),Re=E[T]?.userId!=null?Ft?.find(e=>e.user.userId===E[T]?.userId)?.address:null,nt=E[T]?.addressStatus?.addressToCreate,xe=se?.companyAddress,at=d?.addressStatus?.addressToCreate,ze=se?.registeredAddress,ot=d?.registeredAddressStatus?.addressToCreate,{customerOnboardingPage:Et,common:p}=ce,{footer:Lt,steps:jt}=Et,{buttons:st}=Lt,it=jt[o],Ue=S.length,ie=He(x.fetchState),L=He(o);function Bt(){return Ee?.accounting[0]?.isValid??!1}const ue=()=>{const e=Object.values(Le).some(u=>u.fetchStatus.fetchState==="Completed"),t=K?.providerVerificationStatus?.code?.includes("verified")??!1,a=w.cardsList.length>0,i=w.bankAccountsList[0]?.providerVerificationStatus?.code?.includes("verified")??!1;return e&&t||!t&&!K&&a||!a&&!K&&i};function rt(){if(s.getFieldState(f).error)return!1;const e=s.getValues(f),t=G?.street.join("").trim(),a=G?.city,i=G?.state,u=G?.country,k=G?.postalCode!=null&&G.postalCode||e.postalCode||p.strings.empty;return!!t&&!!a&&!!i&&!!u&&!!k}const ct=He(K?.providerVerificationStatus?.code),Rt=()=>{const e=d,t=[];return e?.companyLegalName!=null&&t.push("legal_name"),e?.companyDescription!=null&&e?.companyDescription!==p.strings.empty&&t.push("company_description"),e?.addressStatus?.addressToCreate!=null&&t.push("company_address"),e?.registeredAddressStatus?.addressToCreate!=null&&t.push("registered_address"),e?.website!=null&&t.push("website"),e?.companyIndustry!=null&&e?.companyIndustry!==p.strings.empty&&t.push("industry"),e?.typeOfIncorporation!=null&&e?.typeOfIncorporation!==p.strings.empty&&t.push("type_of_incorporation"),e?.incDate!=null&&t.push("inc_date"),e?.phone!=null&&t.push("phone"),e?.primaryContactLocalData?.firstName!=null&&e?.primaryContactLocalData?.lastName!=null&&t.push("primary_contact_name"),e?.primaryContactLocalData?.email!=null&&t.push("primary_contact_email"),e?.taxIdOrEIN!=null&&t.push("tax_id_or_ein"),e?.companyFiles.find(a=>a.documentType==="certificate_of_incorporation")!=null&&t.push("certificate_of_incorporation"),e?.companyFiles.find(a=>a.documentType==="tax_ein")!=null&&t.push("ein"),{completedFields:t,status:t.length===14?"complete":t.length>0?"partially_complete":"incomplete"}},zt=()=>{const e=E[T],t=[];return e?.firstName!=null&&e.firstName!==p.strings.empty&&t.push("first_name"),e?.lastName!=null&&e.lastName!==p.strings.empty&&t.push("last_name"),e?.birthday!=null&&t.push("dob"),e?.nationalityCountryCode!=null&&t.push("nationality"),e?.addressStatus?.addressToCreate!=null&&t.push("address"),e?.phone!=null&&e.phone!==p.strings.empty&&e.isPhoneVerified===!0&&t.push("phone"),e?.titleAtCompany!=null&&e.titleAtCompany!==p.strings.empty&&t.push("company_role"),e?.ownershipInCompany!=null&&t.push("ownership"),e?.ssn!=null&&e.ssn!==p.strings.empty&&t.push("ssn"),e?.documentTypeSelectedForVerification!=null&&t.push("document_type"),e?.fileIds!=null&&e.fileIds.length>0&&t.push("document_uploaded"),{completedFields:t,status:t.length===11?"complete":t.length>0?"partially_complete":"incomplete"}};m.useEffect(()=>{ct==="pending_manual_verification"&&K?.providerVerificationStatus?.code==="manually_verified"&&h.trackOnboardingBankAccountVerified("manual")},[h,K?.providerVerificationStatus?.code,ct]);const Ut=async(e,t)=>{if(e.includes(B))Pe?.(t[B]);else if(e.includes(b))A?.(t[b]);else if(e.includes(f)&&t[f]!=null){const a=s.getValues(`${f}`).country;let i=t[f];if(e.includes(`${f}.street`)&&t[f].street!=null){const{addressValue:u}=t[f].street,k=Ot(u?.country);i={street:t[f].street??p.strings.empty,city:u?.locality??p.strings.empty,state:u?.administrativeAreaLevel1??p.strings.empty,country:k,countryCode:u?.countryCode??p.strings.empty,postalCode:u?.postalCode??p.strings.empty,secondaryInfo:t[f].secondaryInfo,suite:t[f].suite},a.selectedOption!==k.selectedOption&&(i={...i,country:k})}else e===`${f}.country`&&a.selectedOption!=null?i={...i,countryCode:gt(a.selectedOption)}:a.selectedOption!=null&&e.includes(`${f}.street`)===!1&&(i={...i,countryCode:gt(a.selectedOption)});_t(i)}};m.useEffect(()=>{const e=s.watch((t,{name:a})=>{a!=null&&t!=null&&me(()=>Ut(a,t))});return()=>{e.unsubscribe()}}),m.useEffect(()=>{ie==="In-Progress"&&x.fetchState==="Completed"&&(s.reset(Qe(g,Be),{keepDirtyValues:!1}),L==="company_details"&&o==="link_payment_account"&&!S.includes("qbo_connection")&&!g.qboConnected&&Se())},[s,g,ie,x.fetchState,Be,L,o,S,Se]),m.useEffect(()=>{Ce&&ie==="In-Progress"&&x.fetchState==="Completed"&&(De(),h.track(ft.Event.onboardingSkipAndSave))},[ie,Ce,x.fetchState,De]),m.useEffect(()=>{te?.shouldNavigate===!0&&ie==="In-Progress"&&x.fetchState==="Completed"&&(Y(null),M(te.fromStep,te.stepDirection,!0))},[te,ie,x.fetchState,M]),m.useLayoutEffect(()=>{L!=null&&L!==o&&(S.indexOf(L)===S.indexOf(o)-1||S.indexOf(L)===Ue-1&&S.indexOf(o)===0?U!=="next"&&q("next"):(S.indexOf(L)-1===S.indexOf(o)||S.indexOf(L)===0&&S.indexOf(o)===Ue-1)&&U!=="previous"&&q("previous"))},[S,o,L,U,Ue]);const lt=()=>{const e=E[T];return!!e?.firstName||!!e?.lastName||!!e?.email||!!e?.nationalityCountryCode||!!e?.birthday||!!e?.ownershipInCompany||!!e?.phone||!!e?.ssn||!!e?.titleAtCompany||!!e?.addressStatus?.addressToCreate||e?.fileIds!=null&&e?.fileIds.length>0},qt=!Ke(nt!=null?j(nt):null,Re!=null?j(Re):null),Mt=!Ke(at!=null?j(at):null,xe!=null?j(xe):null),Ht=!Ke(ot!=null?j(ot):null,ze!=null?j(ze):null),Kt=s.getFieldState(B).isDirty||Mt||Ht||Dt,qe=s.getFieldState(b).isDirty&&lt()||qt||Tt,dt=s.getFieldState(`${f}`).isDirty,ke=d?.primaryContactLocalData,Qt=()=>{M(o,"previous",!0)},Wt=()=>{const e=s.getValues(f),t={street:e.street.addressString,suite:e.suite,city:e.city,state:e.state,postalCode:e.postalCode,country:e.country.selectedOption??p.strings.empty,secondaryInfo:e.secondaryInfo};h.trackOnboardingBillingAddressSave(t)},Yt=()=>{switch(Ie(!1),o){case"link_payment_account":dt?setTimeout(()=>{const e=H();D?.(e),rt()&&dt?(Wt(),Te(T,!1,!0),Y({fromStep:o,shouldNavigate:!0,stepDirection:"next"})):M(o,"next",!0)},200):M(o,"next",!0);break;case"qbo_connection":M(o,"next",!0);break;case"company_officer":if(qe){const e=pt();if(me(()=>{const t=H();D?.(t)}),e.needsOtp&&e.phoneNumber&&ye(e.phoneNumber)){const t=s.formState.errors[b]?.[Z<0?0:Z],a=t?.phone,i=t!=null&&Object.keys(t).some(u=>u!=="phone"&&t[u]!=null);if(a!=null&&!i){Xe(e.phoneNumber);return}}e.isValid&&(Te(T,!1,!1),h.trackOnboardingCompanyOfficerSave(ut(),{legalName:d?.companyLegalName},zt()),Y({fromStep:o,shouldNavigate:!0,stepDirection:"next"}))}else M(o,"next",!0);break;case"company_details":Ie(!0);{const e=!(rt()&&ue()),t=!Bt()&&S.includes("qbo_connection");if(e||t){e&&(s.trigger(`${J}`),s.trigger(`${f}`)),t&&s.trigger(ge),me(()=>{const a=H();D?.(a)}),e?$e("link_payment_account"):t&&$e("qbo_connection");return}}if(Kt||qe||!ke?.email){const e=Zt(),t=qe?pt():{isValid:!0};me(()=>{const a=H();D?.(a)}),e&&t.isValid?(Fe&&(z(!0),Xt()),Te(T,!Fe,!1),h.trackOnboardingCompanyDetailsSave({companyDescription:d?.companyDescription,legalName:d?.companyLegalName,industry:d?.companyIndustry??p.strings.empty,incDate:d?.incDate?.toString(),phone:d?.phone,website:d?.website?.toString(),formattedAddress:d?.addressStatus?.addressToCreate!=null?j(d?.addressStatus?.addressToCreate):void 0},Rt(),{firstName:ke?.firstName,lastName:ke?.lastName,email:ke?.email}),Y({fromStep:o,shouldNavigate:!0,stepDirection:"next"})):t.isValid||$e("company_officer")}else Fe?Gt():M(o,"next",!0);break}},Gt=()=>{x.fetchState!=="In-Progress"&&(De(),h.track(ft.Event.onboardingSkipAndSave))},pt=()=>{const e=E[T],t=e?.email??p.strings.empty,a=e?.phone??p.strings.empty,i=e?.ssn??p.strings.empty,u=e?.ownershipInCompany,k=Z<0?0:Z,en=!!e?.firstName&&!!e?.lastName;let X=!0,mt=!1;return t&&!en&&(s.trigger([`${b}.${k}.name.firstName`,`${b}.${k}.name.lastName`],{shouldFocus:o==="company_officer"}),X=!1),(!t&&lt()||St.test(t)===!1)&&(s.trigger(`${b}.${k}.email`,{shouldFocus:o==="company_officer"}),X=!1),a&&ye(a)===!1&&(s.trigger(`${b}.${k}.phone`,{shouldFocus:o==="company_officer"}),X=!1),a&&ye(a)===!0&&O==="unit"&&(we.current!==""&&a===we.current||(mt=!0,s.setError(`${b}.${k}.phone`,{type:"custom",message:ce.commonSetUp.businessVerification.phoneValidationError},{shouldFocus:o==="company_officer"}),X=!1)),u!=null&&u>100&&(s.trigger(`${b}.${k}.ownership`,{shouldFocus:o==="company_officer"}),X=!1),i&&mn.test(i)===!1&&(s.trigger(`${b}.${k}.ssn`,{shouldFocus:o==="company_officer"}),X=!1),{isValid:X,needsOtp:mt,phoneNumber:a}},Zt=()=>{const e=d?.website?.toString()??p.strings.empty,t=d?.phone??p.strings.empty,a=d?.taxIdOrEIN??p.strings.empty,i=d?.primaryContactLocalData?.email??p.strings.empty;let u=!0;return e&&ht.test(e)===!1&&(s.trigger(`${B}.companyWebsite`,{shouldFocus:o==="company_details"}),u=!1),ht.lastIndex=0,t&&ye(t)===!1&&(s.trigger(`${B}.companyPhone`,{shouldFocus:o==="company_details"}),u=!1),(!i||St.test(i)===!1)&&(s.trigger(`${B}.primaryContactEmail`,{shouldFocus:o==="company_details"}),u=!1),a&&un.test(a)===!1&&(s.trigger(`${B}.companyTaxId`,{shouldFocus:o==="company_details"}),u=!1),u},ut=()=>{const e=E[T];return{email:e?.email??p.strings.empty,birthday:e?.birthday?.toString(),companyOwnership:e?.ownershipInCompany,firstName:e?.firstName,lastName:e?.lastName,companyRole:e?.titleAtCompany,phone:e?.phone,formattedAddress:e?.addressStatus?.addressToCreate!=null?j(e?.addressStatus?.addressToCreate):void 0,documentTypeForVerification:e?.documentTypeSelectedForVerification}},Xt=()=>{const e=d?.primaryContactLocalData;h.trackBusinessVerificationSave(ut(),{companyDescription:d?.companyDescription,legalName:d?.companyLegalName,phone:d?.phone,website:d?.website?.toString(),industry:d?.companyIndustry??p.strings.empty,formattedAddress:d?.addressStatus?.addressToCreate!=null?j(d?.addressStatus?.addressToCreate):void 0},{firstName:e?.firstName,lastName:e?.lastName,email:e?.email},"onboarding")},[Me,Jt]=m.useState(!1);return c.jsxs(_n,{children:[c.jsxs(An,{windowSize:R,children:[S.indexOf(o)>=0?c.jsx(on,{title:it.sectionTitle,showBackButton:!1,backgroundColor:At.colors.grey4,style:{zIndex:4},showLeftSection:R!=="small",titleStyle:{display:"flex",alignItems:"center"},navBarContainerStyles:{paddingTop:re.sp0,paddingBottom:re.sp0},source:"CustomerOnboardingDetailPage"}):c.jsx(Dn,{windowSize:R,children:c.jsx($n,{windowSize:R,children:c.jsx(Tn,{})})}),c.jsx(sn,{...s,children:c.jsx(En,{id:kn(Pt),children:S.map(e=>{let t;t=c.jsx(Ct,{connectedAccountProvider:O,paymentAccount:K,accountStatus:et,plaidConnectionDetails:Le,sectionId:J,hasError:s.getFieldState(J).error!=null||le&&!ue(),isValid:ue(),analytics:h,onFetchLinkTokenClick:Oe,onEstablishConnectionClick:pe,onUpdatePaymentAccountStatus:de,onUpdatePaymentAccountLoginStatus:ae,onEstablishConnectionSuccess:oe,cardPaymentView:w,resetCardPaymentViewState:ee,updateCardPaymentModalState:$,cardSetupInProgress:Me,subscriptionBillingAddressSectionId:f});let a=Ve;switch(e){case"link_payment_account":t=c.jsx(Ct,{connectedAccountProvider:O,paymentAccount:K,accountStatus:et,plaidConnectionDetails:Le,subscriptionBillingAddressSectionId:f,sectionId:J,hasError:s.getFieldState(J).error!=null||le&&!ue(),isValid:ue(),analytics:h,onFetchLinkTokenClick:Oe,onEstablishConnectionClick:pe,onUpdatePaymentAccountStatus:de,onUpdatePaymentAccountLoginStatus:ae,onEstablishConnectionSuccess:oe,updateCardPaymentModalState:$,cardPaymentView:w,resetCardPaymentViewState:ee,cardSetupInProgress:Me,googleAPIKey:V,subscriptionBillingAddress:G});break;case"qbo_connection":t=c.jsx(xn,{sectionId:ge,hasError:s.getFieldState(ge).error!=null,isAdmin:r,isValid:Ee?.accounting[0]?.isValid??!1,companyName:se?.company.company.companyInfo.companyLegalName,saveConnectionState:Ee?.saveConnectionState,isQBOPopupOpen:je.isQBOPopupOpen,handleOnConnectClick:Nt,updateQBOPopupState:Vt}),a=_e;break;case"company_officer":t=c.jsx(Cn,{companyOfficerLocalData:E,allNationalityCountries:Be,isCompleted:Je.includes("company_officer"),companyView:se,sectionId:b,filesEndPoint:n.filesEndPoint,authParams:n.authParams,isRefreshingViewInBackground:C,companyTitles:v,isVerificationPopupOpen:F,setIsVerificationPopupOpen:be,onGetOtp:Xe,onVerifyOtp:kt,onResendOtp:vt,onOfficerAddressClick:i=>ne(i,Re?.addressId),updateFilesEntity:Ze,onEditFileName:Ge,onDeleteFile:N,verifiedPhoneNumber:we.current,onPhoneVerified:$t,isDisabled:x.fetchState==="In-Progress"?"readonly":void 0,triggerError:tt}),a=Ae;break;case"company_details":t=c.jsx(In,{fileProps:{...n,onEditFileName:Ge,onDeleteFile:N,updateFilesEntity:Ze},sectionId:B,companyIndustries:g.companyIndustries,companyDetails:d,isDisabled:x.fetchState==="In-Progress"?"readonly":void 0,isCompleted:Je.includes("company_details"),onCompanyAddressClick:i=>{const u=se?.company.company.companyOnboardingInfo.subscriptionBillingAddressId;xe?.addressId==null&&u!=null?ne(i,u):ne(i,xe?.addressId)},onRegisteredAddressClick:i=>ne(i,ze?.addressId)}),a=W;break}return c.jsxs(Fn,{ref:a,isVisible:o===e,includeAnimation:o==="link_payment_account"||o==="qbo_connection"?!je.isQBOPopupOpen:o==="company_officer"?!F:!0,paddingBottom:e==="company_details"||e==="company_officer"?Q[6]:Q[0],stepAnimationDirection:U,children:[S.indexOf(o)>=0?c.jsx(Ln,{windowSize:R,children:it.sectionSubTitle}):null,t]},e)})})}),c.jsx(rn,{formId:`${Pt}`,style:{width:R==="small"?"auto":"100%",paddingTop:re.sp2,paddingBottom:re.sp2},primaryBtn:{onClick:Yt,label:o==="company_details"?p.footer.submit:st.next,isLoading:x.fetchState==="In-Progress",isDisabled:x.fetchState==="In-Progress"},cancelBtn:{onClick:Qt,label:st.back,isDisabled:x.fetchState==="In-Progress"||S.indexOf(o)===0},containerStyle:{width:"auto",justifyContent:"center"},showCancel:!0})]}),c.jsx(fn,{handleConfirmCardSetupIntent:_,updateCardPaymentModalState:$,handleCreateCardSetupIntent:l,handleAddCardPaymentSource:I,cardPaymentView:w,stripeKey:y,isCardPaymentOpen:je.isCardPaymentPopupOpen,handleResetCardPaymentErrorStatuses:ve,cardSetupInProgress:Me,setCardSetupInProgress:Jt})]})},Nn=wt`
14
14
  from {
15
15
  transform: translateY(100%);
16
16
  opacity: 0;
@@ -94,7 +94,7 @@ import{V as l,fs as tn,q as We,d as nn,a8 as an,cB as me,aN as He,C as ft,aA as
94
94
  text-align: ${n=>n.windowSize==="small"?"initial":"center"};
95
95
  width: 100%;
96
96
  white-space: pre-line;
97
- `,Qe=(n,C)=>{const{companyDetailsLocalData:r,companyOfficerLocalData:g,companyView:v}=n,O=le.commonSetUp.businessVerification,h=le.companyPassport,w=v?.companyOfficers!=null&&v?.companyOfficers.length>0;return{[B]:{companyDescription:r?.companyDescription??le.common.strings.empty,ein:r?.companyFiles.find(y=>y.documentType==="tax_ein"),companyId:r?.companyId,syncToken:r?.syncToken,companyLegalName:r?.companyLegalName,companyWebsite:r?.website?.toString()??le.common.strings.empty,companyAddress:r?.addressStatus?.addressToCreate,registeredAddress:r?.registeredAddressStatus?.addressToCreate,companyIndustry:{selectedOption:r?.companyIndustry,allOptions:n.companyIndustries.map(y=>y.code)},companyPhone:r?.phone,companyTaxId:r?.taxIdOrEIN,primaryContactName:{firstName:r?.primaryContactLocalData?.firstName,lastName:r?.primaryContactLocalData?.lastName},primaryContactEmail:r?.primaryContactLocalData?.email,primaryContactUserId:r?.primaryContactLocalData?.userId,primaryContactSyncToken:r?.primaryContactLocalData?.syncToken,fileIds:r?.companyFiles.map(y=>y.fileId)??[],certificateOfIncorporation:r?.companyFiles.find(y=>y.documentType==="certificate_of_incorporation"),incDate:r?.incDate?.toDate(),typeOfIncorporation:{selectedOption:r?.typeOfIncorporation,allOptions:h.companyIncInfo.allTypesOfIncorporation}},[b]:Object.values(g).map((y,V)=>{const c=y,_=cn(c?.documentTypeSelectedForVerification);return{userId:c?.userId,officerType:c?.officerType??`Officer_${V+1}`,name:{firstName:c?.firstName,lastName:c?.lastName},email:c?.email,fileIds:c?.fileIds??[],dob:c?.birthday?.toDate(),nationalityCountryCode:Ot(c?.nationalityCountryCode,C.map($=>$.countryCode)),ssn:c?.ssn,role:{selectedOption:c?.titleAtCompany,allOptions:O.allTypesOfRoles},phone:c?.phone,ownership:c?.ownershipInCompany,officerAddress:c?.addressStatus?.addressToCreate,selectDocument:{front:yt(!0,c?.userFiles??[],_),back:yt(!1,c?.userFiles??[],_),selectDocumentType:_},isSelectedForVerification:!w&&V===0?!0:c?.isSelectedForVerification??!1,userVerificationStatus:c?.userVerificationStatus,syncToken:c?.syncToken,isPhoneVerified:c?.isPhoneVerified,otpChallenge:c?.otpChallenge}}),[J]:{account:{allOptions:[],selectedOption:void 0}},[f]:ln(f,n?.subscriptionBillingAddress)[f],[ge]:{connected:n.externalConnections?.accounting[0]?.isValid??!1}}},ia=n=>{const{onboardingCustomerView:C,cardPaymentView:r,signedInUser:g,currentTenant:v,isOnAddressPage:O,stripeKey:h,googleAPIKey:w,onUpdateStep:y,onZeniLogoClick:V,handleLogOutClick:c,handleCockpitClick:_,meetingUrl:$,analytics:I,handleCreateCardSetupIntent:ee,handleConfirmCardSetupIntent:ve,handleFetchPaymentSources:Se,updateCardPaymentModalState:D,resetCardPaymentViewState:Ne,handleResetCardPaymentErrorStatuses:R,redirectToProductSuitePage:Ve,..._e}=n,{allSteps:W,completedSteps:Ae,halfCompletedSteps:Ce,currentStep:z,fetchStatus:U}=C,q=m.useRef(z),F=m.useRef(W),[be,ce]=m.useState(!1),[Ie,te]=m.useState([]),Y={allSteps:W,isOnAddressPage:O,completedSteps:Ae,halfCompletedSteps:Ce,errorSteps:Ie,currentStep:z,fetchStatus:U,signedInUser:g,currentTenant:v,onUpdateStep:A=>{y(A)},onZeniLogoClick:V,handleLogOutClick:c,handleCockpitClick:_,setIsStepClicked:ce};m.useEffect(()=>{if(q.current!==z){const A=q.current;be===!0&&(I?.trackOnboardingCurrentStep(z,A),ce(!1)),q.current=z}},[z,be,I]),m.useEffect(()=>{W.length!==F.current.length&&(F.current=W)},[W]);const ne=(A,Oe,de)=>{const ae=F.current.length,pe=F.current.indexOf(A);switch(Oe){case"next":{const oe=(pe+1)%ae,N=F.current[oe];q.current=N,y(N),de===!0?I.trackOnboardingNext(A,N):I.trackOnboardingCurrentStep(N,A);break}case"previous":{const oe=(pe+ae-1)%ae,N=F.current[oe];q.current=N,y(N),de===!0?I.trackOnboardingBack(A,N):I.trackOnboardingCurrentStep(N,A);break}}},Pe=U.fetchState==="In-Progress"||U.fetchState==="Not-Started";return l.jsx(jn,{isOnAddressPage:O,children:O?l.jsx(bt,{...Y}):l.jsxs(Bn,{children:[l.jsx(bt,{...Y}),Pe?l.jsx(yn,{isNoStepsPage:!1}):l.jsx(vn,{onboardingCustomerView:C,analytics:I,updateStepHandler:ne,onUpdateStep:y,handleCreateCardSetupIntent:ee,handleConfirmCardSetupIntent:ve,updateCardPaymentModalState:D,handleFetchPaymentSources:Se,cardPaymentView:r,resetCardPaymentViewState:Ne,stripeKey:h,googleAPIKey:w,handleResetCardPaymentErrorStatuses:R,redirectToProductSuitePage:Ve,onFormErrorsChange:te,..._e}),Pe?null:l.jsx(tn,{isFooterRendered:!0,meetingUrl:$,analytics:I,productType:"onboarding"})]})})},jn=P.div`
97
+ `,Qe=(n,C)=>{const{companyDetailsLocalData:r,companyOfficerLocalData:g,companyView:v}=n,O=ce.commonSetUp.businessVerification,h=ce.companyPassport,w=v?.companyOfficers!=null&&v?.companyOfficers.length>0;return{[B]:{companyDescription:r?.companyDescription??ce.common.strings.empty,ein:r?.companyFiles.find(y=>y.documentType==="tax_ein"),companyId:r?.companyId,syncToken:r?.syncToken,companyLegalName:r?.companyLegalName,companyWebsite:r?.website?.toString()??ce.common.strings.empty,companyAddress:r?.addressStatus?.addressToCreate,registeredAddress:r?.registeredAddressStatus?.addressToCreate,companyIndustry:{selectedOption:r?.companyIndustry,allOptions:n.companyIndustries.map(y=>y.code)},companyPhone:r?.phone,companyTaxId:r?.taxIdOrEIN,primaryContactName:{firstName:r?.primaryContactLocalData?.firstName,lastName:r?.primaryContactLocalData?.lastName},primaryContactEmail:r?.primaryContactLocalData?.email,primaryContactUserId:r?.primaryContactLocalData?.userId,primaryContactSyncToken:r?.primaryContactLocalData?.syncToken,fileIds:r?.companyFiles.map(y=>y.fileId)??[],certificateOfIncorporation:r?.companyFiles.find(y=>y.documentType==="certificate_of_incorporation"),incDate:r?.incDate?.toDate(),typeOfIncorporation:{selectedOption:r?.typeOfIncorporation,allOptions:h.companyIncInfo.allTypesOfIncorporation}},[b]:Object.values(g).map((y,V)=>{const l=y,_=ln(l?.documentTypeSelectedForVerification);return{userId:l?.userId,officerType:l?.officerType??`Officer_${V+1}`,name:{firstName:l?.firstName,lastName:l?.lastName},email:l?.email,fileIds:l?.fileIds??[],dob:l?.birthday?.toDate(),nationalityCountryCode:Ot(l?.nationalityCountryCode,C.map($=>$.countryCode)),ssn:l?.ssn,role:{selectedOption:l?.titleAtCompany,allOptions:O.allTypesOfRoles},phone:l?.phone,ownership:l?.ownershipInCompany,officerAddress:l?.addressStatus?.addressToCreate,selectDocument:{front:yt(!0,l?.userFiles??[],_),back:yt(!1,l?.userFiles??[],_),selectDocumentType:_},isSelectedForVerification:!w&&V===0?!0:l?.isSelectedForVerification??!1,userVerificationStatus:l?.userVerificationStatus,syncToken:l?.syncToken,isPhoneVerified:l?.isPhoneVerified,otpChallenge:l?.otpChallenge}}),[J]:{account:{allOptions:[],selectedOption:void 0}},[f]:cn(f,n?.subscriptionBillingAddress)[f],[ge]:{connected:n.externalConnections?.accounting[0]?.isValid??!1}}},ia=n=>{const{onboardingCustomerView:C,cardPaymentView:r,signedInUser:g,currentTenant:v,isOnAddressPage:O,stripeKey:h,googleAPIKey:w,onUpdateStep:y,onZeniLogoClick:V,handleLogOutClick:l,handleCockpitClick:_,meetingUrl:$,analytics:I,handleCreateCardSetupIntent:ee,handleConfirmCardSetupIntent:ve,handleFetchPaymentSources:Se,updateCardPaymentModalState:D,resetCardPaymentViewState:Ne,handleResetCardPaymentErrorStatuses:R,redirectToProductSuitePage:Ve,..._e}=n,{allSteps:W,completedSteps:Ae,halfCompletedSteps:Ce,currentStep:z,fetchStatus:U}=C,q=m.useRef(z),F=m.useRef(W),[be,le]=m.useState(!1),[Ie,te]=m.useState([]),Y={allSteps:W,isOnAddressPage:O,completedSteps:Ae,halfCompletedSteps:Ce,errorSteps:Ie,currentStep:z,fetchStatus:U,signedInUser:g,currentTenant:v,onUpdateStep:A=>{y(A)},onZeniLogoClick:V,handleLogOutClick:l,handleCockpitClick:_,setIsStepClicked:le};m.useEffect(()=>{if(q.current!==z){const A=q.current;be===!0&&(I?.trackOnboardingCurrentStep(z,A),le(!1)),q.current=z}},[z,be,I]),m.useEffect(()=>{W.length!==F.current.length&&(F.current=W)},[W]);const ne=(A,Oe,de)=>{const ae=F.current.length,pe=F.current.indexOf(A);switch(Oe){case"next":{const oe=(pe+1)%ae,N=F.current[oe];q.current=N,y(N),de===!0?I.trackOnboardingNext(A,N):I.trackOnboardingCurrentStep(N,A);break}case"previous":{const oe=(pe+ae-1)%ae,N=F.current[oe];q.current=N,y(N),de===!0?I.trackOnboardingBack(A,N):I.trackOnboardingCurrentStep(N,A);break}}},Pe=U.fetchState==="In-Progress"||U.fetchState==="Not-Started";return c.jsx(jn,{isOnAddressPage:O,children:O?c.jsx(bt,{...Y}):c.jsxs(Bn,{children:[c.jsx(bt,{...Y}),Pe?c.jsx(yn,{isNoStepsPage:!1}):c.jsx(vn,{onboardingCustomerView:C,analytics:I,updateStepHandler:ne,onUpdateStep:y,handleCreateCardSetupIntent:ee,handleConfirmCardSetupIntent:ve,updateCardPaymentModalState:D,handleFetchPaymentSources:Se,cardPaymentView:r,resetCardPaymentViewState:Ne,stripeKey:h,googleAPIKey:w,handleResetCardPaymentErrorStatuses:R,redirectToProductSuitePage:Ve,onFormErrorsChange:te,..._e}),Pe?null:c.jsx(tn,{isFooterRendered:!0,meetingUrl:$,analytics:I,productType:"onboarding"})]})})},jn=P.div`
98
98
  display: flex;
99
99
  flex-direction: column;
100
100
  width: ${n=>n.isOnAddressPage?"fit-content":"100%"};
@@ -1,4 +1,4 @@
1
- import{q as M,a7 as B,av as I,d as _,V as e,bz as U,o as t,aM as b,bl as W,fs as V,F as A,ak as H,ae as N,p as l,b as k,ah as R,l as Z,D as J,ap as q,aZ as G}from"./index-CK2D3iZ1.js";import{a as n}from"./sentry-Dm3bm_ok.js";import{n as o}from"./mui-DCr-y2iU.js";import{FM as K}from"./zeni-epic-state-Cgro3mH-.js";import Q from"./ConfettiBurst-CXF_94LB-B61erBlR.js";import{T as X}from"./ProductsCarousel-DzOaqLVq-BtBP3iUE.js";import"./liveblocks-CofSwFWW.js";import"./core-D2k9JfRf.js";import"./recharts-CIKvFUT6.js";import"./lottie-BO8FHl2Q.js";import"./analytics-DCCTWnnc.js";import"./lexical-BEs89iUy.js";import"./utils-CVsOBiWJ.js";(function(){try{var i=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},p=new i.Error().stack;p&&(i._sentryDebugIds=i._sentryDebugIds||{},i._sentryDebugIds[p]="8a130c29-750a-4afb-903b-834f270ab7b2",i._sentryDebugIdIdentifier="sentry-dbid-8a130c29-750a-4afb-903b-834f270ab7b2")}catch{}})();const Y=i=>n.createElement("svg",{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...i},n.createElement("path",{d:"M9.88423 20.4894C8.54548 20.3068 6.19267 19.6022 4.33971 17.8674C2.48676 16.1326 1.39881 13.7328 1.31521 11.1959C1.23161 8.65899 2.15921 6.19276 3.89394 4.33977C5.62866 2.48678 8.02843 1.39882 10.5653 1.31522C13.1022 1.23161 15.5684 2.15923 17.4213 3.89399C19.2743 5.62875 20.1176 7.48634 20.4166 9.67794",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),n.createElement("path",{d:"M12.5596 7.50903H10.7439C10.39 7.50916 10.0465 7.62876 9.76901 7.84845C9.49152 8.06815 9.29632 8.37508 9.21501 8.71955C9.1337 9.06401 9.17105 9.42584 9.321 9.74644C9.47096 10.067 9.72474 10.3276 10.0412 10.486L11.6941 11.3133C12.0107 11.4717 12.2644 11.7323 12.4144 12.0529C12.5643 12.3735 12.6017 12.7353 12.5204 13.0798C12.4391 13.4242 12.2439 13.7312 11.9664 13.9509C11.6889 14.1706 11.3454 14.2902 10.9915 14.2903H9.16902",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),n.createElement("path",{d:"M10.4437 14.2906V15.5621",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),n.createElement("path",{d:"M11.2918 6.23773V7.50922",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),n.createElement("path",{d:"M15.5285 21.8743L12 22.8825L13.0081 19.3539L20.2143 12.1476C20.3088 12.0531 20.437 12 20.5707 12C20.7044 12 20.8325 12.0531 20.9271 12.1476L22.7347 13.9542C22.7816 14.001 22.8189 14.0567 22.8443 14.1179C22.8697 14.1791 22.8828 14.2448 22.8828 14.3111C22.8828 14.3774 22.8697 14.4431 22.8443 14.5043C22.8189 14.5655 22.7816 14.6212 22.7347 14.668L15.5285 21.8743Z",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),n.createElement("path",{d:"M18.5536 13.8079L21.074 16.3283",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),n.createElement("path",{d:"M13.6133 18.7533L16.1337 21.2737",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"})),ee=A.getLocalizedStrings(),Ie=({hasVerifiedBankAccount:i,meetingUrl:p,showUpdatePaymentDetailButton:f=!1,isVisitingFirstTime:$=!1,handleUpdatePaymentAddressDetailClick:v,...S})=>{const d=M(),x=B().analytics,w=I(),L=w.loggedInUser,a=w.currentTenant,[y,P]=n.useState(!1),{handleLogOutClick:z,onZeniLogoClick:T,handleCockpitClick:E}=S,O=_(),{customerOnboardingPage:c}=ee,h=s=>{const r=c.productSuite.messageBox;if(!s)return[r.withTaxAndPayroll,r.withCFO];const{productSettings:F}=s,{isPayrollEnabled:g,isCfoEnabled:u,isTaxEnabled:m}=F;return g&&u&&m?[r.withTaxAndPayroll,r.withCFO]:g&&u?[r.withPayroll,r.withCFO]:g&&m?[r.taxAndPayroll]:u&&m?[r.withTax,r.withCFO]:g?[r.onlyPayroll]:u?[r.onlyCFO]:m?[r.onlyTax]:[r.default]},D=s=>{if(v(),!s)return;let r="";i?r="bank_account":r="credit_card",x.trackOnboardingClickUpdatePaymentDetails(r,K(s.productSettings))};return e.jsxs(e.Fragment,{children:[e.jsx(te,{children:e.jsxs(ie,{windowSize:d,children:[e.jsx(oe,{windowSize:d,children:e.jsx(U,{title:c.productSuite.navTitle,showBackButton:!1,backgroundColor:O.colors.grey4,style:{zIndex:5},source:"CustomerOnboardingProductSuitePage",showLeftSection:d!=="small",titleStyle:{display:"flex",alignItems:"center"},navBarContainerStyles:{paddingTop:t.sp0,paddingBottom:t.sp0},leftSideComponent:e.jsx(we,{children:e.jsx(ye,{"data-testid":b("zeni-logo-customer-onboarding-product-suite"),onClick:T})}),rightSideComponent:f?e.jsxs(ke,{"data-testid":b("update-to-payment-address-details"),onClick:()=>D(a),children:[e.jsx(be,{}),e.jsx(Ce,{className:"btnText",children:c.productSuite.updatePaymentDetails})]}):e.jsx(je,{})})}),e.jsxs(re,{windowSize:d,children:[e.jsx(ne,{style:{gap:h(a).length>1?t.sp2:t.sp1,padding:h(a).length>1?`12px ${t.sp4} 12px ${t.sp4}`:`12px ${t.sp3} 12px ${t.sp3}`},children:e.jsxs(se,{children:[e.jsxs(C,{children:[e.jsx(ae,{children:e.jsx(le,{})}),e.jsx(j,{children:h(a)[0]})]}),e.jsx(C,{children:h(a).slice(1).map(s=>e.jsx(j,{children:s},s))})]})}),e.jsx(de,{children:e.jsx(ce,{children:c.productSuite.sectionTitle})}),e.jsx(pe,{children:e.jsx(X,{scale:1,showUpdatePaymentDetailButton:f,stopCarousel:y})}),e.jsxs(he,{href:"https://www.zeni.ai",target:"_blank",rel:"noopener noreferrer",children:[e.jsx(ge,{className:"discover-class",children:c.productSuite.sectionFooter}),e.jsx(ue,{className:"discover-class"})]})]}),e.jsx(me,{children:e.jsxs(fe,{children:[e.jsx(xe,{windowSize:d,children:e.jsx(W,{signedInUser:L,currentTenant:a,onLogOutClick:z,onCockpitClick:E})}),e.jsx(V,{isFooterRendered:!1,meetingUrl:p,analytics:x,productType:"onboarding_interim",showPopup:y,setShowPopup:P})]})})]})}),e.jsx(Q,{showConfetti:$})]})},te=o.div`
1
+ import{q as M,a7 as B,av as I,d as _,V as e,bz as U,o as t,aM as b,bl as W,fs as V,F as A,ak as H,ae as N,p as l,b as k,ah as R,l as Z,D as J,ap as q,aZ as G}from"./index-BoDHThmj.js";import{a as n}from"./sentry-CAa_RBiQ.js";import{n as o}from"./mui-DjUnBv6N.js";import{FM as K}from"./zeni-epic-state-BO46e_7F.js";import Q from"./ConfettiBurst-Ccs36Y8q-BoEyotYe.js";import{T as X}from"./ProductsCarousel-CaOQupY4-Bxf4CH6R.js";import"./liveblocks-2fUZ-mzS.js";import"./core-DesIUmVX.js";import"./recharts-CFBD4y8X.js";import"./lottie-BC5QDLx3.js";import"./analytics-aL6KvWIc.js";import"./lexical-WHFPYU-_.js";import"./utils-MCudDogO.js";(function(){try{var i=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},p=new i.Error().stack;p&&(i._sentryDebugIds=i._sentryDebugIds||{},i._sentryDebugIds[p]="6ba5f70f-2286-4bbb-b3c8-3a1f07a07412",i._sentryDebugIdIdentifier="sentry-dbid-6ba5f70f-2286-4bbb-b3c8-3a1f07a07412")}catch{}})();const Y=i=>n.createElement("svg",{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...i},n.createElement("path",{d:"M9.88423 20.4894C8.54548 20.3068 6.19267 19.6022 4.33971 17.8674C2.48676 16.1326 1.39881 13.7328 1.31521 11.1959C1.23161 8.65899 2.15921 6.19276 3.89394 4.33977C5.62866 2.48678 8.02843 1.39882 10.5653 1.31522C13.1022 1.23161 15.5684 2.15923 17.4213 3.89399C19.2743 5.62875 20.1176 7.48634 20.4166 9.67794",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),n.createElement("path",{d:"M12.5596 7.50903H10.7439C10.39 7.50916 10.0465 7.62876 9.76901 7.84845C9.49152 8.06815 9.29632 8.37508 9.21501 8.71955C9.1337 9.06401 9.17105 9.42584 9.321 9.74644C9.47096 10.067 9.72474 10.3276 10.0412 10.486L11.6941 11.3133C12.0107 11.4717 12.2644 11.7323 12.4144 12.0529C12.5643 12.3735 12.6017 12.7353 12.5204 13.0798C12.4391 13.4242 12.2439 13.7312 11.9664 13.9509C11.6889 14.1706 11.3454 14.2902 10.9915 14.2903H9.16902",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),n.createElement("path",{d:"M10.4437 14.2906V15.5621",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),n.createElement("path",{d:"M11.2918 6.23773V7.50922",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),n.createElement("path",{d:"M15.5285 21.8743L12 22.8825L13.0081 19.3539L20.2143 12.1476C20.3088 12.0531 20.437 12 20.5707 12C20.7044 12 20.8325 12.0531 20.9271 12.1476L22.7347 13.9542C22.7816 14.001 22.8189 14.0567 22.8443 14.1179C22.8697 14.1791 22.8828 14.2448 22.8828 14.3111C22.8828 14.3774 22.8697 14.4431 22.8443 14.5043C22.8189 14.5655 22.7816 14.6212 22.7347 14.668L15.5285 21.8743Z",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),n.createElement("path",{d:"M18.5536 13.8079L21.074 16.3283",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),n.createElement("path",{d:"M13.6133 18.7533L16.1337 21.2737",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"})),ee=A.getLocalizedStrings(),Ie=({hasVerifiedBankAccount:i,meetingUrl:p,showUpdatePaymentDetailButton:f=!1,isVisitingFirstTime:$=!1,handleUpdatePaymentAddressDetailClick:v,...S})=>{const d=M(),x=B().analytics,w=I(),L=w.loggedInUser,a=w.currentTenant,[y,P]=n.useState(!1),{handleLogOutClick:z,onZeniLogoClick:T,handleCockpitClick:E}=S,O=_(),{customerOnboardingPage:c}=ee,h=s=>{const r=c.productSuite.messageBox;if(!s)return[r.withTaxAndPayroll,r.withCFO];const{productSettings:F}=s,{isPayrollEnabled:g,isCfoEnabled:u,isTaxEnabled:m}=F;return g&&u&&m?[r.withTaxAndPayroll,r.withCFO]:g&&u?[r.withPayroll,r.withCFO]:g&&m?[r.taxAndPayroll]:u&&m?[r.withTax,r.withCFO]:g?[r.onlyPayroll]:u?[r.onlyCFO]:m?[r.onlyTax]:[r.default]},D=s=>{if(v(),!s)return;let r="";i?r="bank_account":r="credit_card",x.trackOnboardingClickUpdatePaymentDetails(r,K(s.productSettings))};return e.jsxs(e.Fragment,{children:[e.jsx(te,{children:e.jsxs(ie,{windowSize:d,children:[e.jsx(oe,{windowSize:d,children:e.jsx(U,{title:c.productSuite.navTitle,showBackButton:!1,backgroundColor:O.colors.grey4,style:{zIndex:5},source:"CustomerOnboardingProductSuitePage",showLeftSection:d!=="small",titleStyle:{display:"flex",alignItems:"center"},navBarContainerStyles:{paddingTop:t.sp0,paddingBottom:t.sp0},leftSideComponent:e.jsx(we,{children:e.jsx(ye,{"data-testid":b("zeni-logo-customer-onboarding-product-suite"),onClick:T})}),rightSideComponent:f?e.jsxs(ke,{"data-testid":b("update-to-payment-address-details"),onClick:()=>D(a),children:[e.jsx(be,{}),e.jsx(Ce,{className:"btnText",children:c.productSuite.updatePaymentDetails})]}):e.jsx(je,{})})}),e.jsxs(re,{windowSize:d,children:[e.jsx(ne,{style:{gap:h(a).length>1?t.sp2:t.sp1,padding:h(a).length>1?`12px ${t.sp4} 12px ${t.sp4}`:`12px ${t.sp3} 12px ${t.sp3}`},children:e.jsxs(se,{children:[e.jsxs(C,{children:[e.jsx(ae,{children:e.jsx(le,{})}),e.jsx(j,{children:h(a)[0]})]}),e.jsx(C,{children:h(a).slice(1).map(s=>e.jsx(j,{children:s},s))})]})}),e.jsx(de,{children:e.jsx(ce,{children:c.productSuite.sectionTitle})}),e.jsx(pe,{children:e.jsx(X,{scale:1,showUpdatePaymentDetailButton:f,stopCarousel:y})}),e.jsxs(he,{href:"https://www.zeni.ai",target:"_blank",rel:"noopener noreferrer",children:[e.jsx(ge,{className:"discover-class",children:c.productSuite.sectionFooter}),e.jsx(ue,{className:"discover-class"})]})]}),e.jsx(me,{children:e.jsxs(fe,{children:[e.jsx(xe,{windowSize:d,children:e.jsx(W,{signedInUser:L,currentTenant:a,onLogOutClick:z,onCockpitClick:E})}),e.jsx(V,{isFooterRendered:!1,meetingUrl:p,analytics:x,productType:"onboarding_interim",showPopup:y,setShowPopup:P})]})})]})}),e.jsx(Q,{showConfetti:$})]})},te=o.div`
2
2
  display: flex;
3
3
  flex-direction: column;
4
4
  align-items: center;
@@ -1,4 +1,4 @@
1
- import{av as ge,V as e,aw as Pt,ax as Ut,ay as Ot,o as a,az as Tt,C as MA,aA as Ht,aB as se,aC as Yt,aD as Kt,aE as Nt,aF as Gt,aG as zt,aH as Wt,aI as P,F as I,q as $,aJ as Y,aK as H,aL as q,aM as y,a8 as qt,aN as Te,L as He,ab as Xt,aO as Vt,y as Z,aP as K,aQ as _,al as AA,aR as Ye,aS as J,aT as U,aU as HA,p as f,an as Zt,d as iA,aV as $t,aW as YA,aX as _t,aY as Ar,aZ as er,ag as F,a_ as SA,c as S,ap as KA,ak as RA,a$ as Ke,b0 as Ne,b1 as Ge,b2 as tr,b3 as NA,a as rr,B as or,b4 as ar,b5 as ze,b6 as ir,b7 as gr,b8 as GA,b9 as nr,ba as Cr,bb as sr,bc as Er,m as We,b as dr,bd as Br,u as lr,be as qe,bf as Xe,am as Qr,bg as Ir,ah as cr,as as Ve}from"./index-CK2D3iZ1.js";import{a as t,S as k}from"./sentry-Dm3bm_ok.js";import{n as g,a as hr,c as pA,k as R}from"./mui-DCr-y2iU.js";import{bg as pr,bh as Ze,EF as $e}from"./zeni-epic-state-Cgro3mH-.js";import{v as mr}from"./DashboardSidebarBackgroundAnimation--y1-phUW-DGEiib0J.js";import{L as ur,k as xr}from"./ArAgingChart-C7VtW0AI-Co8wpWo7.js";import{E as fr,T as ne,I as _e}from"./ReloadCard-BGPtXAV7-D43T0ICm.js";import{L as wr,O as LA,c as dA}from"./TopExCard-ym2uAvUy-DkU_w9K-.js";import{X as kr,Y as Dr,H as yr,P as jr,G as vr}from"./RevenueChart-D1PfVLk0-DHVFjjTE.js";import br from"./InsightsCardStack-CR3wSnhE-CCTCkrt4.js";import{a as Mr}from"./AccountsPromoCardStack-W5TW8HPU-Cm5YfN59.js";import{c as X}from"./SummaryCard-Cg5UVud3-DPRQua4j.js";import{t as Sr,o as Rr}from"./arrow-south-east-round-PEovUgvH-9nM57KjQ.js";import{N as aA}from"./NavigationArrow-DAOz2wst-CzpVYMv0.js";import{k as zA}from"./NavigationDots-Dm8SYcdL-CXSz5QAZ.js";import Lr from"./CompanyPassportCard-DUwjb7jY-D94p2vYM.js";import{C as Fr}from"./gift-box-Cmt9OgIZ-D29dLASa.js";import Jr from"./InformationCardStack-DvFu-gjh-DGBl4kd-.js";import{p as At}from"./chartTypes-PZyiFZrr-DoI-jL6q.js";import{h as Pr}from"./toCOABalancesWithID-CPbzhUua-B5GAWKcP.js";import{V as Ur}from"./toChartData-BUhYY9IR-S8AOthKK.js";import{r as Or,i as Tr}from"./graphic-no-data-net-burn-l-CzmycA0m-DMABn47o.js";import{N as Hr,J as Yr}from"./PromoBaseCards-B1h9AEH0-CHWZv_Gb.js";import{r as Kr}from"./core-D2k9JfRf.js";import{N as Nr,I as Gr}from"./VideoPlayer-CN28Ho6V-t5x8EBh8.js";import zr from"./ConfettiBurst-CXF_94LB-B61erBlR.js";import{F as Wr,G as qr,Y as Xr,X as Vr,R as Zr}from"./recharts-CIKvFUT6.js";import"./liveblocks-CofSwFWW.js";import"./lottie-BO8FHl2Q.js";import"./analytics-DCCTWnnc.js";import"./lexical-BEs89iUy.js";import"./utils-CVsOBiWJ.js";import"./graphic-no-data-l-DU4J8fDt-C5a4mTsI.js";(function(){try{var A=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},o=new A.Error().stack;o&&(A._sentryDebugIds=A._sentryDebugIds||{},A._sentryDebugIds[o]="5e2d9edb-b70d-4c39-aa9c-eb125c1be25d",A._sentryDebugIdIdentifier="sentry-dbid-5e2d9edb-b70d-4c39-aa9c-eb125c1be25d")}catch{}})();const $r=g(_)`
1
+ import{av as ge,V as e,aw as Pt,ax as Ut,ay as Ot,o as a,az as Tt,C as MA,aA as Ht,aB as se,aC as Yt,aD as Kt,aE as Nt,aF as Gt,aG as zt,aH as Wt,aI as P,F as I,q as $,aJ as Y,aK as H,aL as q,aM as y,a8 as qt,aN as Te,L as He,ab as Xt,aO as Vt,y as Z,aP as K,aQ as _,al as AA,aR as Ye,aS as J,aT as U,aU as HA,p as f,an as Zt,d as iA,aV as $t,aW as YA,aX as _t,aY as Ar,aZ as er,ag as F,a_ as SA,c as S,ap as KA,ak as RA,a$ as Ke,b0 as Ne,b1 as Ge,b2 as tr,b3 as NA,a as rr,B as or,b4 as ar,b5 as ze,b6 as ir,b7 as gr,b8 as GA,b9 as nr,ba as Cr,bb as sr,bc as Er,m as We,b as dr,bd as Br,u as lr,be as qe,bf as Xe,am as Qr,bg as Ir,ah as cr,as as Ve}from"./index-BoDHThmj.js";import{a as t,w as k}from"./sentry-CAa_RBiQ.js";import{n as g,a as hr,c as pA,k as R}from"./mui-DjUnBv6N.js";import{bg as pr,bh as Ze,EF as $e}from"./zeni-epic-state-BO46e_7F.js";import{v as mr}from"./DashboardSidebarBackgroundAnimation-Aepv0x8n-BRMC8BKu.js";import{L as ur,k as xr}from"./ArAgingChart-Cn2M7EaL-CioxnnU1.js";import{E as fr,T as ne,I as _e}from"./ReloadCard-CRQf0INS-CM9HcBcK.js";import{L as wr,O as LA,c as dA}from"./TopExCard-BDEoKFUO-Cqks_MY0.js";import{X as kr,Y as Dr,H as yr,P as jr,G as vr}from"./RevenueChart-LvTct9qg-CqMmRuwP.js";import br from"./InsightsCardStack-Bs9n7ddB-B2Kwtl5L.js";import{a as Mr}from"./AccountsPromoCardStack-BQeRFxKs-CSqaKnps.js";import{c as X}from"./SummaryCard-CxlxmBvk-B-SyMhB-.js";import{t as Sr,o as Rr}from"./arrow-south-east-round-PEovUgvH-TX5SKWFw.js";import{N as aA}from"./NavigationArrow-CgBj8o4H-BlFGUhy1.js";import{k as zA}from"./NavigationDots-BcSXYcwF-cwaSYMDv.js";import Lr from"./CompanyPassportCard-CLoIl-hE-CX-RLpgg.js";import{C as Fr}from"./gift-box-Cmt9OgIZ-TIfg-5OQ.js";import Jr from"./InformationCardStack-DR09Frl5-og6T9hD3.js";import{p as At}from"./chartTypes-CMIndIax-BEMOmico.js";import{h as Pr}from"./toCOABalancesWithID-v28KjzUb-BufPkuG3.js";import{V as Ur}from"./toChartData-DuH-6FTe-D-qs3n2e.js";import{r as Or,i as Tr}from"./graphic-no-data-net-burn-l-CzmycA0m-DXtlpj6J.js";import{N as Hr,J as Yr}from"./PromoBaseCards-DeJ4J5Lp-BRCdntYT.js";import{r as Kr}from"./core-DesIUmVX.js";import{N as Nr,I as Gr}from"./VideoPlayer-C8VeeJIx-Bo3SMitQ.js";import zr from"./ConfettiBurst-Ccs36Y8q-BoEyotYe.js";import{F as Wr,G as qr,Y as Xr,X as Vr,R as Zr}from"./recharts-CFBD4y8X.js";import"./liveblocks-2fUZ-mzS.js";import"./lottie-BC5QDLx3.js";import"./analytics-aL6KvWIc.js";import"./lexical-WHFPYU-_.js";import"./utils-MCudDogO.js";import"./graphic-no-data-l-DU4J8fDt-DuzN_8KG.js";(function(){try{var A=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},o=new A.Error().stack;o&&(A._sentryDebugIds=A._sentryDebugIds||{},A._sentryDebugIds[o]="dc46eaf8-b6a9-46b4-b153-b96b62aad77e",A._sentryDebugIdIdentifier="sentry-dbid-dc46eaf8-b6a9-46b4-b153-b96b62aad77e")}catch{}})();const $r=g(_)`
2
2
  color: ${A=>A.theme.colors.champion};
3
3
  `,Ee=g.div`
4
4
  display: flex;