@zeniai/web-cockpit-ui 1.14.92-dev → 1.14.93-dev

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (274) hide show
  1. package/dist/assets/{ACHDetailsPage-B6sY0jN6-BewHWiw_.js → ACHDetailsPage-Cmt4zlsa-CVV8HYnx.js} +1 -1
  2. package/dist/assets/{AIPerformancePage-BWK9fXrz-XnvE7-6d.js → AIPerformancePage-Bll3cTy1-gL3wACpX.js} +1 -1
  3. package/dist/assets/AccountInfoPage-D2IedGAy-DpkY7tZI.js +18 -0
  4. package/dist/assets/{AccountInfoPageContent-nUi26Aww-Bwa-HIUO.js → AccountInfoPageContent-9wbA8niq-Bqglb0N2.js} +10 -10
  5. package/dist/assets/{AccountLockedInfoModal-BROj4bmE-DDKXU8OA.js → AccountLockedInfoModal-CLvVkdLW-bPK5I-r7.js} +1 -1
  6. package/dist/assets/{AccountReconDetailsDrawerPage-C-3FFCQZ-D-TpqzuY.js → AccountReconDetailsDrawerPage-BXa1TZA0-CJ_GlXhF.js} +1 -1
  7. package/dist/assets/{AccountRow-BM2kGWyR-CEX7zEFS.js → AccountRow-Ba39SxP8-8PYcW3Va.js} +1 -1
  8. package/dist/assets/{AccountsPromoCardStack-CNCG5uPJ-Y2aCPflf.js → AccountsPromoCardStack-W5TW8HPU-Cm5YfN59.js} +1 -1
  9. package/dist/assets/{AddAddressForCardDrawer-BuAtFO1w-e0LZrU5l.js → AddAddressForCardDrawer-nEnaGKnm-DN6yVFPQ.js} +1 -1
  10. package/dist/assets/{AddToWalletPage-DyrcWdBZ-CkK2fnuE.js → AddToWalletPage-CQYHG0Yj-CP1osDBN.js} +1 -1
  11. package/dist/assets/{AgingReportsPage-CmluxKG3-B2hpJNM3.js → AgingReportsPage-BWCU11pF-MZUqlZXC.js} +3 -3
  12. package/dist/assets/{AllUserItems-CVZZU-J3-Ce2827d_.js → AllUserItems-DPxoQeZA-Fd0FWod6.js} +3 -3
  13. package/dist/assets/{ApAgingDetailPage-CoNxqskm-Bna_-NVA.js → ApAgingDetailPage-cslGsO08-CvebivaV.js} +4 -4
  14. package/dist/assets/{AppBasePage-CTGNzUtN--WSyuM8w.js → AppBasePage-BZINcjPW-DJOgvT_q.js} +1 -1
  15. package/dist/assets/{AppDrawerContent-59dQVUxu-Bv7_BAFF.js → AppDrawerContent-V7jCH_90-Ck_yeGZ4.js} +6 -6
  16. package/dist/assets/{ApprovalRulesSettingsPage-XEW5sdNg-DmNI-bwP.js → ApprovalRulesSettingsPage-BC6CLesU-BKNNkRpO.js} +1 -1
  17. package/dist/assets/{ArAgingChart-D3Ym4gVE-DmsLk005.js → ArAgingChart-C7VtW0AI-Co8wpWo7.js} +4 -4
  18. package/dist/assets/{ArAgingDetailPage-BLEJSLJJ-C4CejQvS.js → ArAgingDetailPage-Bttq4jQR-BeQILYq-.js} +5 -5
  19. package/dist/assets/{AttachmentView-DSP80cjm-BrHb-fdX.js → AttachmentView-BijZrB02-BJhcTpzV.js} +1 -1
  20. package/dist/assets/{BankAccountSection-DRrNcA79-DN0L_Nus.js → BankAccountSection-De0m3zrf-DJo0ErGm.js} +1 -1
  21. package/dist/assets/{BankAccountWarningSection-Ub-gsfhE-CWRw85Ya.js → BankAccountWarningSection-DoqOr9h0-CysUjzfB.js} +1 -1
  22. package/dist/assets/{BankConnectionsSettingsPage-BcTtJTbg-Cq7UhfIX.js → BankConnectionsSettingsPage-BaySatUW-BFaS82zx.js} +1 -1
  23. package/dist/assets/{BillDetailPage-D7AQyxwr-C4hQ51aV.js → BillDetailPage-Bg_3myu0-BcOsOHp0.js} +1 -1
  24. package/dist/assets/{BillPayApprovalRuleDetailPage-BQWGENO8-UqNryn1Y.js → BillPayApprovalRuleDetailPage-B7z1PKq6-D3qc7XQa.js} +1 -1
  25. package/dist/assets/{BillPayApprovalRulesPage-BbA1Nwqe-8oC6drGE.js → BillPayApprovalRulesPage-Cj55NkSk-CVNQ2WUg.js} +1 -1
  26. package/dist/assets/{BillPayPromoPage-DSTS_vBW-D4bhyD9i.js → BillPayPromoPage-SUtLQemf-YRwlMQqq.js} +1 -1
  27. package/dist/assets/{BillPaySetUpPage-CvlVPVCA-CckOfR6h.js → BillPaySetUpPage-BbIjaE2K-BvM1AO08.js} +1 -1
  28. package/dist/assets/{BillingSettingsPage-nKpHtd4C-BrQxt-Or.js → BillingSettingsPage-Bmd6ET1I-D1Hos3cN.js} +1 -1
  29. package/dist/assets/{BillsBulkReviewDrawerPage-DNHAoceL-CcLmGKWP.js → BillsBulkReviewDrawerPage-CYSMvAbC-CCvMSRtJ.js} +1 -1
  30. package/dist/assets/{BoxItem-Bjv3WNXO-CbkK_BvO.js → BoxItem-B8HVRhgE-Bev68PFI.js} +1 -1
  31. package/dist/assets/{BusinessVerificationPage-Bj4D9bX2-CSqpS47f.js → BusinessVerificationPage-Cn1b1hk4-CAZR1TOe.js} +1 -1
  32. package/dist/assets/{CardNumberSubText-BYY-Inxd-B5eDSuWq.js → CardNumberSubText-BcJnpRxI-D1zdlj5r.js} +1 -1
  33. package/dist/assets/{CashbackDetailPage-D9UiTqp9-CYWVGaEH.js → CashbackDetailPage-BkIotpWn-DxPDsNjO.js} +1 -1
  34. package/dist/assets/{ChargeCardDetailPage-C5EdiIyl-BRwuM_9a.js → ChargeCardDetailPage-kKKhppzB-DtYb-jra.js} +21 -21
  35. package/dist/assets/{ChargeCardListPage-DZwz1qoD-CqjW0D5U.js → ChargeCardListPage-CP778-GK-CTP7-db-.js} +1 -1
  36. package/dist/assets/{ChargeCardListTable-D5B05Z1F-D4hpaga1.js → ChargeCardListTable-DBryLHST-Ce2gmrfZ.js} +1 -1
  37. package/dist/assets/ChargeCardPromoPage-D_eQ_vXf-CNDMyI7K.js +222 -0
  38. package/dist/assets/{ChargeCardSetupPage-CVV24gS9-BAOQ2Xly.js → ChargeCardSetupPage-m8dUXi38-BJz_Xnlk.js} +1 -1
  39. package/dist/assets/{ChargeCardStatementsPage-CmjBoi5e-DLlPm7j6.js → ChargeCardStatementsPage-Dq5NpUXk-Bke0Yjm9.js} +6 -6
  40. package/dist/assets/{CheckDepositDrawerPage-CYOhT5Qz-NvWlDiXp.js → CheckDepositDrawerPage-BJQ2GSoP-CvcGnuco.js} +1 -1
  41. package/dist/assets/{CollapsableReportTable-hL_Ycouc-uf2_k_Pr.js → CollapsableReportTable-l16Ixpgb-BS0sBPj9.js} +1 -1
  42. package/dist/assets/{CompanyOfficerDetailsSection-DR_6TlQa-SwPBTgrA.js → CompanyOfficerDetailsSection-mKcrRkb5-BdmL4WQb.js} +1 -1
  43. package/dist/assets/{CompanyPassportCard-B4chn7-Q-Bv_vr7JG.js → CompanyPassportCard-DUwjb7jY-D94p2vYM.js} +4 -4
  44. package/dist/assets/{CompanyPassportPage-oT9HnnPQ-BroxBLc-.js → CompanyPassportPage-mQ_Le1I1-BsfzlRNE.js} +13 -13
  45. package/dist/assets/{CompleteProfile-BgH4v76Z-CN661m7_.js → CompleteProfile-CesiGAex-BxV2T4kD.js} +1 -1
  46. package/dist/assets/{ConfettiBurst-Cl6jHJ8H-gdYynPR6.js → ConfettiBurst-CXF_94LB-B61erBlR.js} +1 -1
  47. package/dist/assets/{CreateOrEditVendorPage-CW-u7pJU-D_V5jy6j.js → CreateOrEditVendorPage-BMVOhEEP-okcAo0FU.js} +1 -1
  48. package/dist/assets/{CreditCardPaymentDrawerPage-D30M7ol4-Cmy98i97.js → CreditCardPaymentDrawerPage-Cl4vJBjO-BN2fXeeY.js} +1 -1
  49. package/dist/assets/{CurrencySelectField-DOCEstMc-DLDifnD2.js → CurrencySelectField-CvnrYpdi-Bx3ura4E.js} +1 -1
  50. package/dist/assets/{CustomerOnboardingActivationPage-DMPNjFL_-DXtNUrdA.js → CustomerOnboardingActivationPage-CmengYgm-DwWvQDwP.js} +1 -1
  51. package/dist/assets/CustomerOnboardingContainerPage-CBiHoKP2-K1SzPxIX.js +1 -0
  52. package/dist/assets/{CustomerOnboardingDetailPageSkeleton-CBYo4VQn-lNg5MP87.js → CustomerOnboardingDetailPageSkeleton-hF2fjE7f-Bx4vnxk_.js} +1 -1
  53. package/dist/assets/{CustomerOnboardingNoStepsPage-EBVRCYfJ-D9C_SyFY.js → CustomerOnboardingNoStepsPage-B-pbVz1_-Bu3QH6hN.js} +1 -1
  54. package/dist/assets/{CustomerOnboardingPage-TJK6s-LM-CoIVtMVm.js → CustomerOnboardingPage-CUj-SOSh-DqZnrHrN.js} +4 -4
  55. package/dist/assets/{CustomerOnboardingProductSuitePage-lNIP5gSu-Bg8Yb8JM.js → CustomerOnboardingProductSuitePage-DLJg9lqc-B7ctGtPH.js} +1 -1
  56. package/dist/assets/{Dashboard-WiE9IRrh-DvtSkHmk.js → Dashboard-DUBT_4AU-BQQLhc7F.js} +1 -1
  57. package/dist/assets/{DashboardReportPage-BKHl_IVD-CtxBGv_B.js → DashboardReportPage-cTPn6w4q-BsaoYjkr.js} +1 -1
  58. package/dist/assets/{DashboardSidebarBackgroundAnimation-B1mJObim-DOqCN-CI.js → DashboardSidebarBackgroundAnimation--y1-phUW-DGEiib0J.js} +1 -1
  59. package/dist/assets/{DepositAccTransactionItem-C8tChaJS-BcNs6Wmj.js → DepositAccTransactionItem-BJ6rNbQF-DcQ3w2ay.js} +1 -1
  60. package/dist/assets/{DepositAccTransactionListPage-B6px7upV-C_h4mZC3.js → DepositAccTransactionListPage-BXu7yVC4-BqrqxoR4.js} +1 -1
  61. package/dist/assets/{DomesticWireDetailsPage-BFQJmzYm-Cigs9AsB.js → DomesticWireDetailsPage-D5wDMrfR-C5cM-TE-.js} +1 -1
  62. package/dist/assets/{DownloadOverlay-DB-qx46O-Di0XX-7b.js → DownloadOverlay-BF8Uzj65-BjVIvIOE.js} +1 -1
  63. package/dist/assets/{DrawerPage-Bha9ElcW-tQCg2vNB.js → DrawerPage-4QqiD5ag-BNPe32xq.js} +1 -1
  64. package/dist/assets/{EditPeoplePage-B6QD5Vld-H7oW4yPE.js → EditPeoplePage-BFROUzlu-DwFofRms.js} +1 -1
  65. package/dist/assets/{EditReimbursementDetailPage-EplOf2mP-DR3ob0bq.js → EditReimbursementDetailPage-Bz32u6U5-D6GoDZH_.js} +1 -1
  66. package/dist/assets/EntityDetailPage-BnG_PBK5-88aNTDFS.js +18 -0
  67. package/dist/assets/{EntitySummarySection-D6z6-dM7-iY3GcshB.js → EntitySummarySection-0nKZeBKn-BkqQH4-k.js} +1 -1
  68. package/dist/assets/{ExpenseAutomationOverviewPage-DkoxczRc-Dj3WEFmv.js → ExpenseAutomationOverviewPage-Dvyn5ovf-DA904IZ7.js} +1 -1
  69. package/dist/assets/{ExpenseAutomationPage-Na3XKgcg-DopOn429.js → ExpenseAutomationPage-DPmIOATd-E0cwlhE5.js} +40 -40
  70. package/dist/assets/{ExpressPayPage-DWGl_gml-hFOTsy6y.js → ExpressPayPage-DGTh3qGM-CBuhnCa1.js} +1 -1
  71. package/dist/assets/{FeaturePreviewPage-BgkpUPMm-BgRBmXUD.js → FeaturePreviewPage-CHUVkqak-Bv1bUX1B.js} +1 -1
  72. package/dist/assets/{FollowStepsSection-64oy2OLD-BEGrGMi_.js → FollowStepsSection-C_pWSlPc-DWF54WG6.js} +1 -1
  73. package/dist/assets/{GlobalReviewListPage-DHfTyj2C-C3EEWPiO.js → GlobalReviewListPage-BjPOnObQ-CbXiHvNN.js} +1 -1
  74. package/dist/assets/{InformationCardStack-Dw3lhl2I-Bs6_LbeZ.js → InformationCardStack-DvFu-gjh-DGBl4kd-.js} +1 -1
  75. package/dist/assets/{InsightsCardStack-BiEswY1Z-Db6FFDpQ.js → InsightsCardStack-CR3wSnhE-CCTCkrt4.js} +6 -6
  76. package/dist/assets/{InsightsSection-DvqCilqy-BQT_s43S.js → InsightsSection-DCFjudcA-7O17fZbk.js} +2 -2
  77. package/dist/assets/{IntegrationsSettingsPage-DzVYf5ff-DvdqA5Qq.js → IntegrationsSettingsPage-DpPc99qg-BuRPrwyt.js} +1 -1
  78. package/dist/assets/{InternationalWireSwiftDetailsPage-DTHcuQsH-B-a9NSLn.js → InternationalWireSwiftDetailsPage-xXEk6Ubv-DgeDkVIK.js} +4 -4
  79. package/dist/assets/{InternationalWireVerificationPage-BzyRqd-m-slndLY5A.js → InternationalWireVerificationPage-uh0GqYQA-9ZEgxwG_.js} +5 -5
  80. package/dist/assets/{InviteFormPage-CaJB3ss1-HHZxjRMu.js → InviteFormPage-5xqk5ISe-Bbb5YAD8.js} +1 -1
  81. package/dist/assets/{InvitePageListView-8Ltt8tHx-BPR7jVHX.js → InvitePageListView-CpmTnQLj-CTufHHPe.js} +1 -1
  82. package/dist/assets/{InvitePeoplePage-A7oKAD7M-DkNn-Tux.js → InvitePeoplePage-BeCWfFpI-DBINJPSA.js} +1 -1
  83. package/dist/assets/{InvoiceUploadSection-DomquLut-CutCF8wG.js → InvoiceUploadSection-BvaKEakI-Cgqd0lG_.js} +1 -1
  84. package/dist/assets/{IssueChargeCardPage-DtIQ1Buk-QOM0ijcK.js → IssueChargeCardPage-Bomvo_PH-CiqvhZJZ.js} +1 -1
  85. package/dist/assets/{LabeledAddressValue-B_9lh-_a-B22yf0PW.js → LabeledAddressValue-b4zlBP-g-DPs_zAUA.js} +1 -1
  86. package/dist/assets/{LabeledAddressValueField-CC7T3qZQ-5fkS_FuY.js → LabeledAddressValueField-DpcuqwLy-CTnD7CIG.js} +1 -1
  87. package/dist/assets/{LabeledControlledCheckBoxField-CeMM7Ci3-RHUW6sf_.js → LabeledControlledCheckBoxField-BTjbeJMZ-ByFU_udW.js} +1 -1
  88. package/dist/assets/{LabeledCreatableSingleSelectField-DKD0oEl8-Bqf3gDxT.js → LabeledCreatableSingleSelectField-D_oWjB4_-A2URoXC_.js} +1 -1
  89. package/dist/assets/{LabeledDocumentField-Dy3jwAiL-FmwpCOt6.js → LabeledDocumentField-dtnakMLl-DM4CLrZI.js} +1 -1
  90. package/dist/assets/{LabeledDropDownFormattedTextField-DDzM3r6s-CPxa5iPj.js → LabeledDropDownFormattedTextField-DDtxGo1u-9ainO5Wl.js} +1 -1
  91. package/dist/assets/{LabeledText-axaAGyUS-B-Q4astZ.js → LabeledText-CUs3VIof-3boaO8Y1.js} +1 -1
  92. package/dist/assets/{LabeledUserSingleSelectWithSubtitlesField-UlGND56Y-DlTnDPsW.js → LabeledUserSingleSelectWithSubtitlesField-BusH2qnZ-GKSXWTga.js} +1 -1
  93. package/dist/assets/{LabeledZeniRolesDropDownField-dpz7g9jK-BDxh4AaM.js → LabeledZeniRolesDropDownField-DYkmOsOP-Dg0kuJ4H.js} +1 -1
  94. package/dist/assets/{LinkJETransactionPage-CJniqVcu-C9nn50Ye.js → LinkJETransactionPage-DbP6jfzn-BtGeDf5_.js} +2 -2
  95. package/dist/assets/{LockCardPage-CjO8cr2a-C3aOpkLz.js → LockCardPage-CWEZyzEM-Bg4PM8JQ.js} +1 -1
  96. package/dist/assets/{LowBalancePopup-DVS-w3b7-DZeFvNAP.js → LowBalancePopup-BQ9JPBTS-DRn4mn9-.js} +1 -1
  97. package/dist/assets/MagicLinkACHDetailsPage-CKoTuvNz-BHd5xcLb.js +1 -0
  98. package/dist/assets/MagicLinkDomesticWireDetailsPage-Di5hHI_D-C4fzv92i.js +1 -0
  99. package/dist/assets/MagicLinkInternationalWireDetailsPage-B2izwKNk-B8pTw_O-.js +1 -0
  100. package/dist/assets/{MagicLinkSuccessPage-DAAoq3iT-s_k-As2A.js → MagicLinkSuccessPage-DU1RM5NI-Wq9yOHXi.js} +1 -1
  101. package/dist/assets/{MagicLinkTitleSection-FMRBLlRJ-Dq0HXyeM.js → MagicLinkTitleSection-RWEjrx8m-CX8Fw-B8.js} +1 -1
  102. package/dist/assets/{MailingDetailsSection-CiJ5JLA6-ClA0Rhay.js → MailingDetailsSection-BT3SGHhD-Ctkbx47B.js} +5 -5
  103. package/dist/assets/{Menu-wpP8R1br-BkJyq7Tb.js → Menu-BTZYMOTT-CKMXXApd.js} +1 -1
  104. package/dist/assets/{MyBankConnectionsSettingsPage-DIIFgnkE-BpGRsOdm.js → MyBankConnectionsSettingsPage-DufaL9n8-M4dyrfVV.js} +1 -1
  105. package/dist/assets/{MyPendingActivationChargeCardListPage-Di_KYRgS-1GEJ-RE_.js → MyPendingActivationChargeCardListPage-DwCUyRec-SM92wYsw.js} +1 -1
  106. package/dist/assets/{MyProfileSettingsPage-m6vaeGgZ-CBRk31EZ.js → MyProfileSettingsPage-geduKqxy-CauaXJ2g.js} +1 -1
  107. package/dist/assets/{NavBarWithPicker-C_qO8mgD-DeDCa5cM.js → NavBarWithPicker-edkm8kW--DTJVRU93.js} +1 -1
  108. package/dist/assets/{NavigationArrow-BXYIj6Wz-CANss6wI.js → NavigationArrow-DAOz2wst-CzpVYMv0.js} +1 -1
  109. package/dist/assets/{NavigationDots-BvKSgdgh-ChF9WLMp.js → NavigationDots-Dm8SYcdL-CXSz5QAZ.js} +1 -1
  110. package/dist/assets/{NewGlobalMerchantPage-Dc3xEoiZ-BeCQwEx7.js → NewGlobalMerchantPage-enaZFSVb-D5ALf38h.js} +1 -1
  111. package/dist/assets/{NoDataChart-C5ZP32zB-BxSJ1j_J.js → NoDataChart-BIcLmdso-V1__FO4W.js} +1 -1
  112. package/dist/assets/{NoDataTable-BnBYE8p_-CFZLFfEo.js → NoDataTable-C9ywvwy4-CbJRpj1w.js} +1 -1
  113. package/dist/assets/{NotFoundPage-CZ25GWwU-BICqInbF.js → NotFoundPage-B0Pfc4vD-0nVsRFSV.js} +4 -4
  114. package/dist/assets/{NotificationSettingsPage-DHvgj7Hu-BDiE5wjx.js → NotificationSettingsPage-Di4KhoPI-Zq8167Bo.js} +1 -1
  115. package/dist/assets/{NotificationsListConfig-BBLSv0sd-CBsOo8lP.js → NotificationsListConfig-CHb7phwi-CuAMA5zK.js} +1 -1
  116. package/dist/assets/{NotificationsPage-CGVEC-Zc-CICQW2D8.js → NotificationsPage-B4KMZZ0V-CdnEBa77.js} +1 -1
  117. package/dist/assets/{OpExByVendorPage-D55JZne--Cr5n73UL.js → OpExByVendorPage-CAxLWg7x-CVAp3gyR.js} +1 -1
  118. package/dist/assets/{OverlayContainerPage-Daz3A7cI-DLdPkPwc.js → OverlayContainerPage-Daz3A7cI-C0naTs3U.js} +1 -1
  119. package/dist/assets/{PandLWithForecastPage-fVmttEKP-aWCR7ttl.js → PandLWithForecastPage-Dx56-ypM-CahTbCAI.js} +1 -1
  120. package/dist/assets/{PaymentAccountSetupBillingAddressSection-BiU8tQnm-CY8MBOF0.js → PaymentAccountSetupBillingAddressSection-C8QwChEK-DSZP0_gt.js} +1 -1
  121. package/dist/assets/{PeoplePage-QuuuX2AS-CDxGSCUE.js → PeoplePage-CjD6uKA--DQJyasjD.js} +1 -1
  122. package/dist/assets/{Preview-D_TLok3M.js → Preview-BXKaaVKN.js} +1 -1
  123. package/dist/assets/{ProductsCarousel-zdZkfaiY-D8MGFtGX.js → ProductsCarousel-DzOaqLVq-BtBP3iUE.js} +1 -1
  124. package/dist/assets/{PromoBaseCards-flFtcbIg-C0jZRRzU.js → PromoBaseCards-B1h9AEH0-CHWZv_Gb.js} +1 -1
  125. package/dist/assets/{QBOConnectionDialog-DNB2C1vQ-DPJHlPHX.js → QBOConnectionDialog-Bv6unk3C-C69fuiCc.js} +1 -1
  126. package/dist/assets/{QBOSetupSection-B59etoGz-DxrgQvvQ.js → QBOSetupSection-BTjj7g98-CXsc6nTM.js} +1 -1
  127. package/dist/assets/{ReimbursementApprovalRuleDetailPage-D7do3o0A-DiBw1aK-.js → ReimbursementApprovalRuleDetailPage-CHXo51lU-BT66bgjF.js} +1 -1
  128. package/dist/assets/{ReimbursementApprovalRulesPage-BJ6GewQ2-CMxGgRQ3.js → ReimbursementApprovalRulesPage-D7utb8vM-BSv0WO21.js} +1 -1
  129. package/dist/assets/{ReimbursementDetailPage-DKAtYSOy-C1CMn4bM.js → ReimbursementDetailPage-DnXsG55s-DO7QVibn.js} +1 -1
  130. package/dist/assets/{ReimbursementPromoPage-DKcSHlHp-gi8b3D2U.js → ReimbursementPromoPage-Di39wgvD-CwoSxp24.js} +1 -1
  131. package/dist/assets/{ReimbursementSetUpPage-Y1e_hna--L4dNaOo2.js → ReimbursementSetUpPage-CT5bs4wM-CImglJgz.js} +1 -1
  132. package/dist/assets/{ReimbursementsBulkReviewDrawerPage-fgz8s4w9-TK1XJV4S.js → ReimbursementsBulkReviewDrawerPage-BcB8hTar-D2swNEDZ.js} +1 -1
  133. package/dist/assets/{ReloadCard-DjtdPHq5-D_RTB189.js → ReloadCard-BGPtXAV7-D43T0ICm.js} +1 -1
  134. package/dist/assets/{ReportTableViewSelector-C8e6IEWt-B1X6y91F.js → ReportTableViewSelector-gEKTiiSk-DFp8GlM2.js} +1 -1
  135. package/dist/assets/{ReportsPage-BIe0eDLC-DJAgrzKt.js → ReportsPage-Ctvnzlk1-DLJ23fuU.js} +1 -1
  136. package/dist/assets/{RevenueChart-Cc0XrxLL-BSXP5Fpe.js → RevenueChart-D1PfVLk0-DHVFjjTE.js} +14 -14
  137. package/dist/assets/{ReviewDetailsPage-CU1AYWgR-Aa7a5LiH.js → ReviewDetailsPage-Ynw6pln--BjtdFL4i.js} +52 -52
  138. package/dist/assets/{ReviewOverlay-CruJ9O84-C1Nn7-W1.js → ReviewOverlay-DQZwNpFY-DMkxDhbs.js} +1 -1
  139. package/dist/assets/{RoleWithToolTip-fC3byzzv-DvgcIN_v.js → RoleWithToolTip-DbQ4ezrP-Dd2VpMcB.js} +1 -1
  140. package/dist/assets/{ScheduleDetailsFixedAssetsPage-CE3tUYhk-COrIX6jB.js → ScheduleDetailsFixedAssetsPage-DlqQBt-s-drLmv8lF.js} +3 -3
  141. package/dist/assets/{ScheduleDetailsPage-BhAqJ1Of-aIc3huKD.js → ScheduleDetailsPage-CrVetPy7-CWE6_gjF.js} +3 -3
  142. package/dist/assets/{ScheduleSequenceTable-NSt1juSD-DIpN7xpp.js → ScheduleSequenceTable-B7pQ00z8-CEVjTUeV.js} +1 -1
  143. package/dist/assets/{ScreenRoutes-jO5HDDDI.js → ScreenRoutes-Sl9iaV1P.js} +1 -1
  144. package/dist/assets/{SetUpAccountSection-C1EnJv1V-BqOATLaf.js → SetUpAccountSection-BAsI7p1f-Dy9q8TNa.js} +1 -1
  145. package/dist/assets/{SignIn-BhIof_Cm-BVhCYPyL.js → SignIn-CE6gxhI3-CtZacIY2.js} +1 -1
  146. package/dist/assets/{SignInScreen-DYrtrzQo.js → SignInScreen-BTo7-KSm.js} +1 -1
  147. package/dist/assets/{SpendManagementListViewPage-BEWNNX_Z-DYJVhy13.js → SpendManagementListViewPage-CURCimXb-CsGfTOO_.js} +3 -3
  148. package/dist/assets/{SpendManagementPerTabPage-Vs1Eoxgd-BJBD6w0V.js → SpendManagementPerTabPage-RY3B-92H-DYTGBiT6.js} +1 -1
  149. package/dist/assets/{SpendManagementSection-C38Zpi1z-zTQSB9zV.js → SpendManagementSection-rHLuZG8_-UxYLxpbV.js} +1 -1
  150. package/dist/assets/StatementItem-DcPGZchp-CZE_bKaq.js +31 -0
  151. package/dist/assets/{StatementsPage-CGQhmaXx-BIuU-4wu.js → StatementsPage-5oimgNHp-D8qK05-P.js} +1 -1
  152. package/dist/assets/{StatusSwitcher-7fiKLb5g-IubUY6EX.js → StatusSwitcher-CLCkXs_4-DhXpfaBL.js} +1 -1
  153. package/dist/assets/{SubTabSwitcher-9AnfZiNy-DBEVnhtX.js → SubTabSwitcher-DDR7LrDO-DpWQK8Dj.js} +1 -1
  154. package/dist/assets/{SummaryCard-DOycYLs1-C5OfLiIW.js → SummaryCard-Cg5UVud3-DPRQua4j.js} +1 -1
  155. package/dist/assets/{TaskManagementPage-CehyMnY0-LzT8-CCR.js → TaskManagementPage-6_zt2ePp-BeO6Q35e.js} +1 -1
  156. package/dist/assets/{TimeRangeSwitcher-Dq2FEgFR-CxbtXrjR.js → TimeRangeSwitcher-BTx3d66N-DkQSngDA.js} +11 -11
  157. package/dist/assets/{TimeframeSwitcher-By3xz_-m-4vvkqeCS.js → TimeframeSwitcher-BkGiMDhd-Dhql0xBj.js} +1 -1
  158. package/dist/assets/{TimeframeSwitcherWithToggle-a3fmbzNR-DF955u5N.js → TimeframeSwitcherWithToggle-M554ai9V-DeR389hA.js} +2 -2
  159. package/dist/assets/{TopExCard-GEQpp_KY-BsC8DQsa.js → TopExCard-ym2uAvUy-DkU_w9K-.js} +10 -10
  160. package/dist/assets/{TopExDetailPage-hid1dQYl-o5BnuopY.js → TopExDetailPage-DU1Qj5ea-DhOfzSmR.js} +6 -6
  161. package/dist/assets/{TransactionDetailPage-CX4JW9WM-gkT488m-.js → TransactionDetailPage-BHyBhrM7-B3UILKwv.js} +1 -1
  162. package/dist/assets/{TransactionList-BixeXh4Y-CBLpnxhT.js → TransactionList-CIbSavhJ-Dp71olkE.js} +1 -1
  163. package/dist/assets/{TransactionListBig-CGMMJQBd-Bi6fPPO-.js → TransactionListBig-kC4b3DAu-DjTE72OH.js} +1 -1
  164. package/dist/assets/{TransactionListPage-CBVUTX4y-DvUQlgTG.js → TransactionListPage-Ci98GcF7-ClRcNxWS.js} +2 -2
  165. package/dist/assets/{TransactionVendorDetailPage-CEbHH_0r-vhA6GFtl.js → TransactionVendorDetailPage-DI4kq_vO-D-o6bFok.js} +1 -1
  166. package/dist/assets/{TransferDrawerPage-BFd7uQnF-CdQTDGt-.js → TransferDrawerPage-B342yNDJ-CsWgYoId.js} +11 -11
  167. package/dist/assets/{TreasuryOverviewPage-Bd58hOy8-DrtmZ_fp.js → TreasuryOverviewPage-cvOuWLTK-CefWRHUR.js} +1 -1
  168. package/dist/assets/{TreasuryPromoPage-BvArufHi-zGiWS1XQ.js → TreasuryPromoPage-DyseS2l1-PYUqYVga.js} +1 -1
  169. package/dist/assets/{TreasuryStatementsPage-YLCEBbRh-rIAdAl8t.js → TreasuryStatementsPage-rXMNPd2f-B8HSB6xE.js} +2 -2
  170. package/dist/assets/{TreasuryTaxLetterPage-D_6mgQqi-DYRPEoC2.js → TreasuryTaxLetterPage-DjV36uFi-ebsJYDfS.js} +2 -2
  171. package/dist/assets/{TrendChart-D3dT6hUb-DkxaRhLn.js → TrendChart--yie2Xkp-B3lZJMT5.js} +2 -2
  172. package/dist/assets/{TrendWithTransactions-Gj-u5KXi-BXQxjthK.js → TrendWithTransactions-DVLdmgtU-Cv22_4bm.js} +1 -1
  173. package/dist/assets/{UncategorizedAccountsMappingPage-B3eRYolj-CDmprZps.js → UncategorizedAccountsMappingPage-CRypWMwQ-DzPLYLFI.js} +1 -1
  174. package/dist/assets/{UnitIntegrationPage-DpjR9hUu-B-HccwC1.js → UnitIntegrationPage-DU6Luklp-CVEu7KVf.js} +1 -1
  175. package/dist/assets/{UploadAdditionalDocumentOverlay-COtszXUY-BbmaGPRn.js → UploadAdditionalDocumentOverlay-jNiTn6qG-D_tolxLp.js} +1 -1
  176. package/dist/assets/{Vendor2FAPopup-C85mhuSb-CEUsiGHn.js → Vendor2FAPopup-BNA3GtkO-ClfV14L3.js} +1 -1
  177. package/dist/assets/VendorACHDetailsPage-B9UpKcN3-BTioFEDj.js +1 -0
  178. package/dist/assets/{VendorDetailPage-BrbKfsL4-Cj99XIhO.js → VendorDetailPage-B6s7kOX--Cl8uI1J2.js} +1 -1
  179. package/dist/assets/VendorDomesticWireDetailsPage-CVJAmjuC-DlG2tDpP.js +1 -0
  180. package/dist/assets/{VendorFiling1099EditablePage-DgBLn3fd-BC-C_gXr.js → VendorFiling1099EditablePage-DiVBfWTv-CQg0-jaT.js} +32 -32
  181. package/dist/assets/{VendorFirstReviewPage-jc7-OExI-B_u4wn_i.js → VendorFirstReviewPage-CuM6lK63-QOnJj4dm.js} +1 -1
  182. package/dist/assets/{VendorInternationalWireDetailsPage-c6isgwH2-G6KTzCh7.js → VendorInternationalWireDetailsPage-CcTippeu-CFZ4Mir_.js} +1 -1
  183. package/dist/assets/VendorInternationalWireSwiftDetailsPage-8u1L-aEg-CW6R8j3k.js +1 -0
  184. package/dist/assets/{VendorsAccountsSection--VfdAF3H-CNAOxlvC.js → VendorsAccountsSection-zeM6PeT4-zwdhVM2D.js} +1 -1
  185. package/dist/assets/{VerifyDevice-CaifjdR8-B6dVM-BL.js → VerifyDevice-iKowLq-3-BWk2f90N.js} +7 -7
  186. package/dist/assets/{VideoPlayer-BVR9LPmm-B4UxpKEs.js → VideoPlayer-CN28Ho6V-t5x8EBh8.js} +2 -2
  187. package/dist/assets/{VideoPopup-BEXc8o78-DJiZW-Cs.js → VideoPopup-CfYmxIk4-BV_-FDHV.js} +5 -5
  188. package/dist/assets/{WarningsDrawerPage-CboqfxzC-gF7sCXHr.js → WarningsDrawerPage-C4jqovLJ-DvCRmdFF.js} +1 -1
  189. package/dist/assets/{ZeniAccountDetailPage-Dujj0-XC-V9rgFIsn.js → ZeniAccountDetailPage-M045ginI-CIh86zMI.js} +1 -1
  190. package/dist/assets/{ZeniAccountListViewPage--SMJDGvC-CZS6XXwc.js → ZeniAccountListViewPage-C-eOjorO-Dort1_5m.js} +1 -1
  191. package/dist/assets/{ZeniAccountNavBarPieces-DqLJVQ5t-CkX8FMny.js → ZeniAccountNavBarPieces-Dz9ssqU1-7L41-5ss.js} +1 -1
  192. package/dist/assets/{ZeniAccountPromoPage-BVjJvWsA-B4Bz7FjR.js → ZeniAccountPromoPage-BxzNy8wF-ClpXMz8i.js} +1 -1
  193. package/dist/assets/{ZeniAccountSetupPage-Dvxst8RT-Dv9aj6me.js → ZeniAccountSetupPage-zWKttj2U-Co7Yvnyy.js} +1 -1
  194. package/dist/assets/{ZeniCopyright-B88k3pkr-BvEC_X2s.js → ZeniCopyright-2oeOVh0P-DJaD_9oR.js} +1 -1
  195. package/dist/assets/{ZeniTransferAmountSlider-1DS0MsTI-DXZHqv18.js → ZeniTransferAmountSlider-BADEO33A-DpMPk5Vb.js} +1 -1
  196. package/dist/assets/{add-to-wallet-DgdBD8_G-D178ysGy.js → add-to-wallet-DgdBD8_G-eMWALCp1.js} +1 -1
  197. package/dist/assets/{analytics-D090O6Wm.js → analytics-DCCTWnnc.js} +1 -1
  198. package/dist/assets/{analyticsHelper-DmujELNG-CdoVsqKC.js → analyticsHelper-C2XPB_2A-DuJwOZQc.js} +1 -1
  199. package/dist/assets/{analyticsHelper-CW9XC1-j.js → analyticsHelper-DnU5BAvo.js} +1 -1
  200. package/dist/assets/{arrow-south-east-round-PEovUgvH-Ccxih1KW.js → arrow-south-east-round-PEovUgvH-9nM57KjQ.js} +1 -1
  201. package/dist/assets/{auto-transfer-rule-mbafm5D3-CaIDNTCx.js → auto-transfer-rule-mbafm5D3-DeA5cpdU.js} +1 -1
  202. package/dist/assets/{chartTypes-DRiSljvE-DHGd6p3G.js → chartTypes-PZyiFZrr-DoI-jL6q.js} +1 -1
  203. package/dist/assets/{commonDimensions-BDftm0gJ-CtNxdt96.js → commonDimensions-C_y3LIE8-X_N9ThEv.js} +1 -1
  204. package/dist/assets/{constants-B1WOPvRN.js → constants-COrMNehl.js} +1 -1
  205. package/dist/assets/{core-BCGhSsNP.js → core-D2k9JfRf.js} +1 -1
  206. package/dist/assets/{dash.all.min-DQU9jzwW.js → dash.all.min-wMAz1qMX.js} +1 -1
  207. package/dist/assets/{detailCommon-BGgE4mE3-BIZKCRTc.js → detailCommon-PTd6DPpO-o02U7S0B.js} +1 -1
  208. package/dist/assets/{downloadPdf-DCQ9vVZs-BAK1KQub.js → downloadPdf-BdoS2D6l-B5cqxKI-.js} +1 -1
  209. package/dist/assets/{empty-Db_Oj0CQ.js → empty-D-w6ZnHI.js} +1 -1
  210. package/dist/assets/{empty-BFpyIT14.js → empty-D0VEAoJw.js} +1 -1
  211. package/dist/assets/{epic-BhAddVo8.js → epic-ClwVDlVx.js} +2 -2
  212. package/dist/assets/{gift-box-Cmt9OgIZ-BVmGGIyo.js → gift-box-Cmt9OgIZ-D29dLASa.js} +1 -1
  213. package/dist/assets/{graphic-no-data-l-DU4J8fDt-BUSuwQOu.js → graphic-no-data-l-DU4J8fDt-C5a4mTsI.js} +1 -1
  214. package/dist/assets/{graphic-no-data-net-burn-l-CzmycA0m-9rVTKZNa.js → graphic-no-data-net-burn-l-CzmycA0m-DMABn47o.js} +1 -1
  215. package/dist/assets/{handshake-BPg58FML-DBfm_e1t.js → handshake-BPg58FML-CY1iZII1.js} +1 -1
  216. package/dist/assets/{index-DOvOS8E_.js → index-BDimSyBu.js} +1 -1
  217. package/dist/assets/{index-CrL4860P.js → index-BNglrSQW.js} +1 -1
  218. package/dist/assets/{index-BpEXgtW2.js → index-BeaEqEWK.js} +1 -1
  219. package/dist/assets/{index-DT-oXxhz.js → index-Byk1BTgy.js} +1 -1
  220. package/dist/assets/{index-RjyLdqZN.js → index-CCUQyVRy.js} +1 -1
  221. package/dist/assets/{index-BGhFLU7w.js → index-CK2D3iZ1.js} +6 -6
  222. package/dist/assets/{index-DuKH4leN.js → index-n5uJZ9k2.js} +1 -1
  223. package/dist/assets/{lexical-CtZYfzDm.js → lexical-BEs89iUy.js} +1 -1
  224. package/dist/assets/{liveblocks-DjrSQGDL.js → liveblocks-CofSwFWW.js} +1 -1
  225. package/dist/assets/{lottie-QlMyEFez.js → lottie-BO8FHl2Q.js} +1 -1
  226. package/dist/assets/mapLoadingInProgressToTreeNode-CUy8c_Sm-CvM45xH7.js +1 -0
  227. package/dist/assets/{mapSectionWithAcOnlyToTreeNode-BZSP-VcP-woXs_v4t.js → mapSectionWithAcOnlyToTreeNode-C6gW1Rqr-Dv2Q5ZLA.js} +1 -1
  228. package/dist/assets/mapSpacerToTreeNode-DqR98mLo-CGAj6TpO.js +1 -0
  229. package/dist/assets/mapTimeframeBalancesToTreeNode-BIGZRHHI-DtvbK4iE.js +1 -0
  230. package/dist/assets/mapTimeframeBalancesToTreeNode-BooGIyls-Ct92rF5c.js +1 -0
  231. package/dist/assets/{mapTimeframeHeaderLoadingInProgressToTreeNode-BmDRXfMV-ExH9IzF0.js → mapTimeframeHeaderLoadingInProgressToTreeNode-lSB04gFW-CRpECfjU.js} +1 -1
  232. package/dist/assets/{mui-8xKzSljO.js → mui-DCr-y2iU.js} +1 -1
  233. package/dist/assets/{page-detail-CWX5S47F-DjAUkIIu.js → page-detail-CWX5S47F-DDARVgTr.js} +1 -1
  234. package/dist/assets/{radio-default-CiSgisfh-DioVIMbJ.js → radio-default-CiSgisfh-DO_kFVBk.js} +1 -1
  235. package/dist/assets/{react-euUD_2CS.js → react-BGUULhAS.js} +1 -1
  236. package/dist/assets/{react-CQVfZdRf.js → react-BgpCchG_.js} +1 -1
  237. package/dist/assets/{react-DEufTa0Y.js → react-CEdfmx42.js} +1 -1
  238. package/dist/assets/{react-C26MaKuf.js → react-CFfs9kVE.js} +1 -1
  239. package/dist/assets/{react-1fNkcXJk.js → react-DFeqXhsB.js} +1 -1
  240. package/dist/assets/{react-BpMq70Jz.js → react-DgBRIATV.js} +1 -1
  241. package/dist/assets/{react-CvSzLYZW.js → react-UyoSCzBu.js} +1 -1
  242. package/dist/assets/{react-5bc96E7k.js → react-j6fq6Sto.js} +2 -2
  243. package/dist/assets/{recharts-BnXj3KRI.js → recharts-CIKvFUT6.js} +1 -1
  244. package/dist/assets/{sentry-C9BQzslk.js → sentry-Dm3bm_ok.js} +1 -1
  245. package/dist/assets/{shield-DOlUxcFf-DfgTXsyM.js → shield-DOlUxcFf-BEm6OgBB.js} +1 -1
  246. package/dist/assets/toCOABalancesWithID-CPbzhUua-B5GAWKcP.js +1 -0
  247. package/dist/assets/{toChartData-CavJzP6f-MNPPYJmI.js → toChartData-BUhYY9IR-S8AOthKK.js} +1 -1
  248. package/dist/assets/{transaction-placeholder-CpOwZAMG-DvtWJS0D.js → transaction-placeholder-CpOwZAMG-gpUqGjUj.js} +1 -1
  249. package/dist/assets/{uploadAttachment-BuVCsq0Q-S-SyFEfz.js → uploadAttachment-D-Lomshq-0SKv4D0e.js} +1 -1
  250. package/dist/assets/{uploadReceipts-CPw64UYa-BH5K-sl5.js → uploadReceipts-CPw64UYa-BEcpM53g.js} +1 -1
  251. package/dist/assets/{url-MazUlenF.js → url-BXpa7lO3.js} +1 -1
  252. package/dist/assets/{url-WfClTpIP.js → url-D9ndU82p.js} +1 -1
  253. package/dist/assets/{useLongPress-GCK2COYQ-DGIP6WpU.js → useLongPress-GCK2COYQ-DzUxHAZU.js} +1 -1
  254. package/dist/assets/{usp-line-BBd1wKwW-CVrOUZlu.js → usp-line-BBd1wKwW-Cow5FZNy.js} +1 -1
  255. package/dist/assets/{utils-zYB6z_it.js → utils-CVsOBiWJ.js} +1 -1
  256. package/dist/assets/{zeni-epic-state-D9zDRHOK.js → zeni-epic-state-Cgro3mH-.js} +3 -3
  257. package/dist/index.html +1 -1
  258. package/package.json +4 -4
  259. package/dist/assets/AccountInfoPage-DfT5DDiZ-DND7ENQF.js +0 -18
  260. package/dist/assets/ChargeCardPromoPage-CDJMtGJb-hssoPQjs.js +0 -222
  261. package/dist/assets/CustomerOnboardingContainerPage-SmOFmXBW-DTN0ucTw.js +0 -1
  262. package/dist/assets/EntityDetailPage-5Cu1qehd-BdCQHbCi.js +0 -18
  263. package/dist/assets/MagicLinkACHDetailsPage-CUHMKmcj-BWS1eLIz.js +0 -1
  264. package/dist/assets/MagicLinkDomesticWireDetailsPage-Dnc7OzKQ-BkvhGPqZ.js +0 -1
  265. package/dist/assets/MagicLinkInternationalWireDetailsPage-sBpQkYwP-DYCM1cCk.js +0 -1
  266. package/dist/assets/StatementItem-bHInVThd-Bfw9F8uL.js +0 -31
  267. package/dist/assets/VendorACHDetailsPage-DeexeWpV-CWx4yTGx.js +0 -1
  268. package/dist/assets/VendorDomesticWireDetailsPage-DBChSKlR-CPIfYbL9.js +0 -1
  269. package/dist/assets/VendorInternationalWireSwiftDetailsPage-CywCx8-0-BuJYqFug.js +0 -1
  270. package/dist/assets/mapLoadingInProgressToTreeNode-CXP8ZZTG-DEpSFHGZ.js +0 -1
  271. package/dist/assets/mapSpacerToTreeNode-Bc1S_1ej-D8Xyxewi.js +0 -1
  272. package/dist/assets/mapTimeframeBalancesToTreeNode-ClgcHX26-CH6aCNop.js +0 -1
  273. package/dist/assets/mapTimeframeBalancesToTreeNode-Cwp98PMa-D47kQKR9.js +0 -1
  274. package/dist/assets/toCOABalancesWithID--oEGymMJ-DkNt3ShR.js +0 -1
@@ -1,13 +1,13 @@
1
- import{V as r,aI as E,aJ as x,F as p,o as l,aM as M,aP as w,ag as y,aQ as H}from"./index-BGhFLU7w.js";import{n as o}from"./mui-8xKzSljO.js";import{c as j}from"./SummaryCard-DOycYLs1-C5OfLiIW.js";import{a as t}from"./sentry-C9BQzslk.js";import"./liveblocks-DjrSQGDL.js";import"./core-BCGhSsNP.js";import"./recharts-BnXj3KRI.js";import"./zeni-epic-state-D9zDRHOK.js";import"./lottie-QlMyEFez.js";import"./analytics-D090O6Wm.js";import"./lexical-CtZYfzDm.js";import"./utils-zYB6z_it.js";import"./ReloadCard-DjtdPHq5-D_RTB189.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},s=new e.Error().stack;s&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[s]="86611e2d-dda6-481a-a947-49bc31884c17",e._sentryDebugIdIdentifier="sentry-dbid-86611e2d-dda6-481a-a947-49bc31884c17")}catch{}})();const B=e=>t.createElement("svg",{width:32,height:32,viewBox:"0 0 32 32",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},t.createElement("path",{opacity:.2,d:"M25.8382 19.5283C25.8382 19.5283 31.0943 15.1988 31.0943 12.6045C31.0943 11.998 30.7236 11.9138 30.2856 11.9138H20.0263V6.72512C20.0263 6.27027 19.6556 5.9165 19.2176 5.9165H2.74197C2.28712 5.9165 1.93335 6.28712 1.93335 6.72512V20.3706C1.93335 20.8255 2.30397 21.1792 2.74197 21.1792H11.182V27.1765H30.3025C30.7573 27.1765 31.1111 26.8733 31.1111 26.4858C31.0943 24.5822 27.4892 20.9434 25.8382 19.5283Z",fill:"#95C1B7"}),t.createElement("path",{d:"M18.9987 20.1516H1.69754C1.24269 20.1516 0.888916 19.781 0.888916 19.343V5.69754C0.888916 5.24269 1.25953 4.88892 1.69754 4.88892H18.19C18.6449 4.88892 18.9987 5.25953 18.9987 5.69754V20.1516Z",stroke:"#95C1B7",strokeWidth:1.5,strokeMiterlimit:10,strokeLinejoin:"round"}),t.createElement("path",{d:"M18.9987 10.8862H29.2581C29.7129 10.8862 30.0667 10.9705 30.0667 11.5769C30.0667 14.1713 24.8107 18.5007 24.8107 18.5007C26.4616 19.9158 30.0667 23.5546 30.0667 25.4583C30.0667 25.8457 29.6961 26.149 29.2581 26.149H10.1376V20.1517",stroke:"#95C1B7",strokeWidth:1.5,strokeMiterlimit:10}),t.createElement("path",{d:"M18.9987 20.1516L10.1376 26.1489",stroke:"#95C1B7",strokeWidth:1.5,strokeMiterlimit:10}),t.createElement("path",{d:"M14.8545 16.3949H5.03308",stroke:"#ECB87D",strokeWidth:1.5,strokeMiterlimit:10,strokeLinecap:"round"}),t.createElement("path",{d:"M14.8545 12.5203H5.03308",stroke:"#ECB87D",strokeWidth:1.5,strokeMiterlimit:10,strokeLinecap:"round"}),t.createElement("path",{d:"M14.8545 8.62878H5.03308",stroke:"#ECB87D",strokeWidth:1.5,strokeMiterlimit:10,strokeLinecap:"round"})),D=e=>t.createElement("svg",{width:32,height:32,viewBox:"0 0 32 32",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},t.createElement("path",{opacity:.2,d:"M29.1471 12.9199H19.384V2.69038C19.384 2.2561 19.0302 1.91833 18.612 1.91833H4.13618C3.7019 1.91833 3.36414 2.27219 3.36414 2.69038V30.3391C3.36414 30.7734 3.71799 31.1112 4.13618 31.1112H17.5665H18.612H29.1471C29.5814 31.1112 29.9192 30.7573 29.9192 30.3391V13.692C29.9192 13.2738 29.5653 12.9199 29.1471 12.9199Z",fill:"#97C3B9"}),t.createElement("path",{d:"M26.2595 15.4934H21",stroke:"#EEBA7D",strokeWidth:1.5,strokeMiterlimit:10,strokeLinecap:"round"}),t.createElement("path",{d:"M14.9126 25H5.53552",stroke:"#EEBA7D",strokeWidth:1.5,strokeMiterlimit:10,strokeLinecap:"round"}),t.createElement("path",{d:"M14.9126 20H5.53552",stroke:"#EEBA7D",strokeWidth:1.5,strokeMiterlimit:10,strokeLinecap:"round"}),t.createElement("path",{d:"M14.9126 15H5.53552",stroke:"#ECB87D",strokeWidth:1.5,strokeMiterlimit:10,strokeLinecap:"round"}),t.createElement("path",{d:"M26.2595 25H21",stroke:"#EEBA7D",strokeWidth:1.5,strokeMiterlimit:10,strokeLinecap:"round"}),t.createElement("path",{d:"M26.2595 20H21",stroke:"#ECB87D",strokeWidth:1.5,strokeMiterlimit:10,strokeLinecap:"round"}),t.createElement("path",{d:"M14.9126 10H5.53552",stroke:"#EEBA7D",strokeWidth:1.5,strokeMiterlimit:10,strokeLinecap:"round"}),t.createElement("path",{d:"M14.9126 5.36316H5.53552",stroke:"#EEBA7D",strokeWidth:1.5,strokeMiterlimit:10,strokeLinecap:"round"}),t.createElement("path",{d:"M18.242 30.0978V1.66096C18.242 1.22668 17.8882 0.888916 17.47 0.888916H2.99421C2.55994 0.888916 2.22217 1.24277 2.22217 1.66096V29.3097C2.22217 29.744 2.57602 30.0818 2.99421 30.0818H17.47",stroke:"#97C3B9",strokeWidth:1.5,strokeMiterlimit:10}),t.createElement("path",{d:"M16.4246 30.0978H28.0052C28.4395 30.0978 28.7772 29.744 28.7772 29.3258V12.6625C28.7772 12.2283 28.4234 11.8905 28.0052 11.8905H18.1617",stroke:"#97C3B9",strokeWidth:1.5,strokeMiterlimit:10})),v=e=>t.createElement("svg",{width:32,height:32,viewBox:"0 0 32 32",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},t.createElement("path",{opacity:.2,d:"M16.3966 31.1111C24.5135 31.1111 31.0936 24.5311 31.0936 16.4141C31.0936 8.29723 24.5135 1.71716 16.3966 1.71716C8.27965 1.71716 1.69958 8.29723 1.69958 16.4141C1.69958 24.5311 8.27965 31.1111 16.3966 31.1111Z",fill:"#97C3B9"}),t.createElement("path",{d:"M15.5859 30.2829C23.7028 30.2829 30.2829 23.7028 30.2829 15.5859C30.2829 7.46898 23.7028 0.888916 15.5859 0.888916C7.46898 0.888916 0.888916 7.46898 0.888916 15.5859C0.888916 23.7028 7.46898 30.2829 15.5859 30.2829Z",stroke:"#97C3B9",strokeWidth:1.5,strokeMiterlimit:10}),t.createElement("path",{d:"M3.76135 15.9559C3.76135 20.1148 6.01701 23.745 9.36524 25.6834",stroke:"#EEBA7D",strokeWidth:1.5,strokeMiterlimit:10,strokeLinecap:"round"}),t.createElement("path",{d:"M8.81897 19.9034C8.81897 17.3658 11.85 15.304 15.5859 15.304C19.3219 15.304 22.3529 17.3658 22.3529 19.9034C22.3529 24.8729 8.81897 24.9257 8.81897 19.9034Z",stroke:"#97C3B9",strokeWidth:1.5,strokeMiterlimit:10}),t.createElement("path",{d:"M15.5859 13.2245C17.1626 13.2245 18.4407 11.9464 18.4407 10.3697C18.4407 8.79304 17.1626 7.51489 15.5859 7.51489C14.0092 7.51489 12.7311 8.79304 12.7311 10.3697C12.7311 11.9464 14.0092 13.2245 15.5859 13.2245Z",stroke:"#97C3B9",strokeWidth:1.5,strokeMiterlimit:10}),t.createElement("path",{d:"M27.0404 15.6035C27.0404 11.4446 24.7848 7.81443 21.4365 5.87598",stroke:"#EEBA7D",strokeWidth:1.5,strokeMiterlimit:10,strokeLinecap:"round"})),g=[{key:"company_legal_name",title:p.getLocalizedStrings().companyPassportCard.legalName,Icon:D},{key:"company_officer",title:p.getLocalizedStrings().companyPassportCard.companyOfficer,Icon:v},{key:"company_inc",title:p.getLocalizedStrings().companyPassportCard.typeOfInc,Icon:B}],L=o(w)`
1
+ import{V as r,aI as E,aJ as x,F as p,o as l,aM as M,aP as w,ag as y,aQ as H}from"./index-CK2D3iZ1.js";import{n as o}from"./mui-DCr-y2iU.js";import{c as j}from"./SummaryCard-Cg5UVud3-DPRQua4j.js";import{a as t}from"./sentry-Dm3bm_ok.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"./ReloadCard-BGPtXAV7-D43T0ICm.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},s=new e.Error().stack;s&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[s]="5cf2a2bc-3d0c-4f0b-9e7b-0167f60a1703",e._sentryDebugIdIdentifier="sentry-dbid-5cf2a2bc-3d0c-4f0b-9e7b-0167f60a1703")}catch{}})();const B=e=>t.createElement("svg",{width:32,height:32,viewBox:"0 0 32 32",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},t.createElement("path",{opacity:.2,d:"M25.8382 19.5283C25.8382 19.5283 31.0943 15.1988 31.0943 12.6045C31.0943 11.998 30.7236 11.9138 30.2856 11.9138H20.0263V6.72512C20.0263 6.27027 19.6556 5.9165 19.2176 5.9165H2.74197C2.28712 5.9165 1.93335 6.28712 1.93335 6.72512V20.3706C1.93335 20.8255 2.30397 21.1792 2.74197 21.1792H11.182V27.1765H30.3025C30.7573 27.1765 31.1111 26.8733 31.1111 26.4858C31.0943 24.5822 27.4892 20.9434 25.8382 19.5283Z",fill:"#95C1B7"}),t.createElement("path",{d:"M18.9987 20.1516H1.69754C1.24269 20.1516 0.888916 19.781 0.888916 19.343V5.69754C0.888916 5.24269 1.25953 4.88892 1.69754 4.88892H18.19C18.6449 4.88892 18.9987 5.25953 18.9987 5.69754V20.1516Z",stroke:"#95C1B7",strokeWidth:1.5,strokeMiterlimit:10,strokeLinejoin:"round"}),t.createElement("path",{d:"M18.9987 10.8862H29.2581C29.7129 10.8862 30.0667 10.9705 30.0667 11.5769C30.0667 14.1713 24.8107 18.5007 24.8107 18.5007C26.4616 19.9158 30.0667 23.5546 30.0667 25.4583C30.0667 25.8457 29.6961 26.149 29.2581 26.149H10.1376V20.1517",stroke:"#95C1B7",strokeWidth:1.5,strokeMiterlimit:10}),t.createElement("path",{d:"M18.9987 20.1516L10.1376 26.1489",stroke:"#95C1B7",strokeWidth:1.5,strokeMiterlimit:10}),t.createElement("path",{d:"M14.8545 16.3949H5.03308",stroke:"#ECB87D",strokeWidth:1.5,strokeMiterlimit:10,strokeLinecap:"round"}),t.createElement("path",{d:"M14.8545 12.5203H5.03308",stroke:"#ECB87D",strokeWidth:1.5,strokeMiterlimit:10,strokeLinecap:"round"}),t.createElement("path",{d:"M14.8545 8.62878H5.03308",stroke:"#ECB87D",strokeWidth:1.5,strokeMiterlimit:10,strokeLinecap:"round"})),D=e=>t.createElement("svg",{width:32,height:32,viewBox:"0 0 32 32",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},t.createElement("path",{opacity:.2,d:"M29.1471 12.9199H19.384V2.69038C19.384 2.2561 19.0302 1.91833 18.612 1.91833H4.13618C3.7019 1.91833 3.36414 2.27219 3.36414 2.69038V30.3391C3.36414 30.7734 3.71799 31.1112 4.13618 31.1112H17.5665H18.612H29.1471C29.5814 31.1112 29.9192 30.7573 29.9192 30.3391V13.692C29.9192 13.2738 29.5653 12.9199 29.1471 12.9199Z",fill:"#97C3B9"}),t.createElement("path",{d:"M26.2595 15.4934H21",stroke:"#EEBA7D",strokeWidth:1.5,strokeMiterlimit:10,strokeLinecap:"round"}),t.createElement("path",{d:"M14.9126 25H5.53552",stroke:"#EEBA7D",strokeWidth:1.5,strokeMiterlimit:10,strokeLinecap:"round"}),t.createElement("path",{d:"M14.9126 20H5.53552",stroke:"#EEBA7D",strokeWidth:1.5,strokeMiterlimit:10,strokeLinecap:"round"}),t.createElement("path",{d:"M14.9126 15H5.53552",stroke:"#ECB87D",strokeWidth:1.5,strokeMiterlimit:10,strokeLinecap:"round"}),t.createElement("path",{d:"M26.2595 25H21",stroke:"#EEBA7D",strokeWidth:1.5,strokeMiterlimit:10,strokeLinecap:"round"}),t.createElement("path",{d:"M26.2595 20H21",stroke:"#ECB87D",strokeWidth:1.5,strokeMiterlimit:10,strokeLinecap:"round"}),t.createElement("path",{d:"M14.9126 10H5.53552",stroke:"#EEBA7D",strokeWidth:1.5,strokeMiterlimit:10,strokeLinecap:"round"}),t.createElement("path",{d:"M14.9126 5.36316H5.53552",stroke:"#EEBA7D",strokeWidth:1.5,strokeMiterlimit:10,strokeLinecap:"round"}),t.createElement("path",{d:"M18.242 30.0978V1.66096C18.242 1.22668 17.8882 0.888916 17.47 0.888916H2.99421C2.55994 0.888916 2.22217 1.24277 2.22217 1.66096V29.3097C2.22217 29.744 2.57602 30.0818 2.99421 30.0818H17.47",stroke:"#97C3B9",strokeWidth:1.5,strokeMiterlimit:10}),t.createElement("path",{d:"M16.4246 30.0978H28.0052C28.4395 30.0978 28.7772 29.744 28.7772 29.3258V12.6625C28.7772 12.2283 28.4234 11.8905 28.0052 11.8905H18.1617",stroke:"#97C3B9",strokeWidth:1.5,strokeMiterlimit:10})),b=e=>t.createElement("svg",{width:32,height:32,viewBox:"0 0 32 32",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},t.createElement("path",{opacity:.2,d:"M16.3966 31.1111C24.5135 31.1111 31.0936 24.5311 31.0936 16.4141C31.0936 8.29723 24.5135 1.71716 16.3966 1.71716C8.27965 1.71716 1.69958 8.29723 1.69958 16.4141C1.69958 24.5311 8.27965 31.1111 16.3966 31.1111Z",fill:"#97C3B9"}),t.createElement("path",{d:"M15.5859 30.2829C23.7028 30.2829 30.2829 23.7028 30.2829 15.5859C30.2829 7.46898 23.7028 0.888916 15.5859 0.888916C7.46898 0.888916 0.888916 7.46898 0.888916 15.5859C0.888916 23.7028 7.46898 30.2829 15.5859 30.2829Z",stroke:"#97C3B9",strokeWidth:1.5,strokeMiterlimit:10}),t.createElement("path",{d:"M3.76135 15.9559C3.76135 20.1148 6.01701 23.745 9.36524 25.6834",stroke:"#EEBA7D",strokeWidth:1.5,strokeMiterlimit:10,strokeLinecap:"round"}),t.createElement("path",{d:"M8.81897 19.9034C8.81897 17.3658 11.85 15.304 15.5859 15.304C19.3219 15.304 22.3529 17.3658 22.3529 19.9034C22.3529 24.8729 8.81897 24.9257 8.81897 19.9034Z",stroke:"#97C3B9",strokeWidth:1.5,strokeMiterlimit:10}),t.createElement("path",{d:"M15.5859 13.2245C17.1626 13.2245 18.4407 11.9464 18.4407 10.3697C18.4407 8.79304 17.1626 7.51489 15.5859 7.51489C14.0092 7.51489 12.7311 8.79304 12.7311 10.3697C12.7311 11.9464 14.0092 13.2245 15.5859 13.2245Z",stroke:"#97C3B9",strokeWidth:1.5,strokeMiterlimit:10}),t.createElement("path",{d:"M27.0404 15.6035C27.0404 11.4446 24.7848 7.81443 21.4365 5.87598",stroke:"#EEBA7D",strokeWidth:1.5,strokeMiterlimit:10,strokeLinecap:"round"})),g=[{key:"company_legal_name",title:p.getLocalizedStrings().companyPassportCard.legalName,Icon:D},{key:"company_officer",title:p.getLocalizedStrings().companyPassportCard.companyOfficer,Icon:b},{key:"company_inc",title:p.getLocalizedStrings().companyPassportCard.typeOfInc,Icon:B}],v=o(w)`
2
2
  margin: ${l.sp5};
3
3
  justify-content: space-between;
4
- `,W=o.div`
4
+ `,L=o.div`
5
5
  display: flex;
6
6
  flex: 0 1 auto;
7
7
  flex-direction: row;
8
8
  align-items: center;
9
9
  margin-bottom: ${l.sp3};
10
- `,b=o(y)`
10
+ `,W=o(y)`
11
11
  color: ${e=>e.theme.colors.champion};
12
12
  `,I=o.div`
13
13
  display: flex;
@@ -39,4 +39,4 @@ import{V as r,aI as E,aJ as x,F as p,o as l,aM as M,aP as w,ag as y,aQ as H}from
39
39
  width: 100%;
40
40
  height: 1px;
41
41
  background-color: ${e=>e.theme.colors.grey3};
42
- `;function X({card:e,actions:s,data:d,dndProps:n}){return r.jsx(E,{isDragging:n?.draggedCardType!=null,isDragOver:n?.dragOverCard===e.cardType,draggable:!0,onDragStart:i=>n?.onDragStart(e.cardType,i),onDragOver:i=>n?.onDragOver(i,e.cardType),onDragLeave:i=>n?.onDragLeave(i),onDrop:i=>n?.onDrop(i,e.cardType),dimension:e.dimension,children:r.jsx(j,{card:e,actions:s,children:r.jsx(x,{dimension:e.dimension,style:{cursor:"pointer"},onClick:()=>s.onCardClick(e.cardIndex,e.cardType),"data-testid":M("dashboard",e.cardType),children:r.jsxs(L,{children:[r.jsx(W,{children:r.jsx(b,{children:p.getLocalizedStrings().companyPassportCard.title})}),g.map((i,c)=>{const{title:m,key:a,Icon:h}=i;return r.jsxs(I,{children:[r.jsxs(T,{children:[r.jsx($,{children:r.jsx(h,{height:l.sp5,width:l.sp5})}),r.jsxs(_,{children:[r.jsx(N,{children:m}),r.jsx(O,{data:d?.companyView,itemKey:a})]})]}),c!==g.length-1?r.jsx(A,{}):null]},i.key)})]})})})},e.cardIndex)}const O=({itemKey:e,data:s})=>{const d=s?.companyOfficers,n=s?.company,i=n?.company.companyInfo,c=n?.company.incInfo,m=()=>r.jsx(V,{children:"—"});switch(e){case"company_legal_name":return i?.companyLegalName==null||i.companyLegalName===""?r.jsx(m,{}):r.jsx(k,{children:i?.companyLegalName});case"company_officer":{if(d==null||d?.length===0)return r.jsx(m,{});const a=d.slice(0,10).sort((u,f)=>u.user.createTime?.isAfter(f.user.createTime)===!0?1:-1),h=[a[0].user.firstName,a[0].user.lastName].join("").trim();return r.jsxs(k,{children:[a[0].user.firstName!=null&&a[0].user.firstName!==""?r.jsxs(C,{children:[a[0].user.firstName," "]}):null,r.jsx(C,{children:a[0].user.lastName}),a[0].user.email!=null?r.jsx(C,{children:`${h.length>0?", ":""}${a[0].user.email}`}):null]})}case"company_inc":return c?.companyIncType==null||c.companyIncType===""?r.jsx(m,{}):r.jsx(k,{children:c?.companyIncType});default:return null}};export{X as default};
42
+ `;function X({card:e,actions:s,data:c,dndProps:n}){return r.jsx(E,{isDragging:n?.draggedCardType!=null,isDragOver:n?.dragOverCard===e.cardType,draggable:!0,onDragStart:i=>n?.onDragStart(e.cardType,i),onDragOver:i=>n?.onDragOver(i,e.cardType),onDragLeave:i=>n?.onDragLeave(i),onDrop:i=>n?.onDrop(i,e.cardType),dimension:e.dimension,children:r.jsx(j,{card:e,actions:s,children:r.jsx(x,{dimension:e.dimension,style:{cursor:"pointer"},onClick:()=>s.onCardClick(e.cardIndex,e.cardType),"data-testid":M("dashboard",e.cardType),children:r.jsxs(v,{children:[r.jsx(L,{children:r.jsx(W,{children:p.getLocalizedStrings().companyPassportCard.title})}),g.map((i,d)=>{const{title:m,key:a,Icon:h}=i;return r.jsxs(I,{children:[r.jsxs(T,{children:[r.jsx($,{children:r.jsx(h,{height:l.sp5,width:l.sp5})}),r.jsxs(_,{children:[r.jsx(N,{children:m}),r.jsx(O,{data:c?.companyView,itemKey:a})]})]}),d!==g.length-1?r.jsx(A,{}):null]},i.key)})]})})})},e.cardIndex)}const O=({itemKey:e,data:s})=>{const c=s?.companyOfficers,n=s?.company,i=n?.company.companyInfo,d=n?.company.incInfo,m=()=>r.jsx(V,{children:"—"});switch(e){case"company_legal_name":return i?.companyLegalName==null||i.companyLegalName===""?r.jsx(m,{}):r.jsx(k,{children:i?.companyLegalName});case"company_officer":{if(c==null||c?.length===0)return r.jsx(m,{});const a=c.slice(0,10).sort((f,u)=>f.user.createTime?.isAfter(u.user.createTime)===!0?1:-1),h=[a[0].user.firstName,a[0].user.lastName].join("").trim();return r.jsxs(k,{children:[a[0].user.firstName!=null&&a[0].user.firstName!==""?r.jsxs(C,{children:[a[0].user.firstName," "]}):null,r.jsx(C,{children:a[0].user.lastName}),a[0].user.email!=null?r.jsx(C,{children:`${h.length>0?", ":""}${a[0].user.email}`}):null]})}case"company_inc":return d?.companyIncType==null||d.companyIncType===""?r.jsx(m,{}):r.jsx(k,{children:d?.companyIncType});default:return null}};export{X as default};
@@ -1,4 +1,4 @@
1
- import{q as P,d as Ae,aN as da,a8 as pa,cB as ma,F as k,V as a,bz as ua,ab as ha,cC as fa,aO as xa,y as m,cD as ya,L as Ce,o as t,ak as ee,cE as z,cF as ze,cG as L,cH as ba,cI as qe,cJ as ga,cK as $a,cL as Ue,av as wa,cM as Ia,cN as He,cO as Ze,cP as ja,cQ as va,cR as Da,p as N,cS as Sa,cT as Oa,bq as Ca,aQ as Fa,b7 as q,cU as Fe,c as p,ag as Ge,n as Me,cV as ka,aA as Ta,cW as Na,cX as Pa,bE as La,cY as za,cf as Ma,cZ as Ea,al as Va,bF as W,c_ as Ba,b as ce,bD as _a}from"./index-BGhFLU7w.js";import{a as _,S as Wa}from"./sentry-C9BQzslk.js";import{n as s,k as Ra}from"./mui-8xKzSljO.js";import{Fa as Ya,bj as Xe,bL as Aa,bh as be,bC as qa,Fb as Ua}from"./zeni-epic-state-D9zDRHOK.js";import{I as Je}from"./LabeledCreatableSingleSelectField-DKD0oEl8-Bqf3gDxT.js";import{Y as Qe}from"./LabeledDocumentField-Dy3jwAiL-FmwpCOt6.js";import{$ as Ke}from"./LabeledAddressValue-B_9lh-_a-B22yf0PW.js";import"./liveblocks-DjrSQGDL.js";import"./core-BCGhSsNP.js";import"./recharts-BnXj3KRI.js";import"./lottie-QlMyEFez.js";import"./analytics-D090O6Wm.js";import"./lexical-CtZYfzDm.js";import"./utils-zYB6z_it.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]="2d394a4d-2e58-49e6-9d0c-f0667beb6a67",e._sentryDebugIdIdentifier="sentry-dbid-2d394a4d-2e58-49e6-9d0c-f0667beb6a67")}catch{}})();const ea={maxWidth:new m(280,340),contentMaxWidth:new m(200,255)},Ha=Ra`
1
+ import{q as P,d as Ae,aN as da,a8 as pa,cB as ma,F as k,V as a,bz as ua,ab as ha,cC as fa,aO as xa,y as m,cD as ba,L as Ce,o as t,ak as ee,cE as z,cF as ze,cG as L,cH as ya,cI as qe,cJ as ga,cK as $a,cL as Ue,av as wa,cM as Ia,cN as He,cO as Ze,cP as ja,cQ as va,cR as Da,p as N,cS as Sa,cT as Oa,bq as Ca,aQ as Fa,b7 as q,cU as Fe,c as p,ag as Ge,n as Me,cV as ka,aA as Ta,cW as Na,cX as Pa,bE as La,cY as za,cf as Ma,cZ as Ea,al as Va,bF as W,c_ as Ba,b as ce,bD as _a}from"./index-CK2D3iZ1.js";import{a as _,S as Wa}from"./sentry-Dm3bm_ok.js";import{n as s,k as Ra}from"./mui-DCr-y2iU.js";import{Fa as Ya,bj as Xe,bL as Aa,bh as ye,bC as qa,Fb as Ua}from"./zeni-epic-state-Cgro3mH-.js";import{I as Je}from"./LabeledCreatableSingleSelectField-D_oWjB4_-A2URoXC_.js";import{Y as Qe}from"./LabeledDocumentField-dtnakMLl-DM4CLrZI.js";import{$ as Ke}from"./LabeledAddressValue-b4zlBP-g-DPs_zAUA.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]="0e4150b8-bf24-4dd3-8811-d5edea9bf5b8",e._sentryDebugIdIdentifier="sentry-dbid-0e4150b8-bf24-4dd3-8811-d5edea9bf5b8")}catch{}})();const ea={maxWidth:new m(280,340),contentMaxWidth:new m(200,255)},Ha=Ra`
2
2
  0% {
3
3
  transform: translateX(100%)
4
4
  }
@@ -47,7 +47,7 @@ import{q as P,d as Ae,aN as da,a8 as pa,cB as ma,F as k,V as a,bz as ua,ab as ha
47
47
  &:hover {
48
48
  color: ${N.primaryDark};
49
49
  }
50
- `,tt=e=>{const o=k.getLocalizedStrings().companyPassport.snackBar;return e==="Error"?o.failedText:o.successText};function ot(e){const o=P(),{fetchState:l,onRemoveSnackbar:i}=e;_.useEffect(()=>{setTimeout(i,5e3)});const n=k.getLocalizedStrings().companyPassport.snackBar,c=l==="Completed";return a.jsxs(Za,{windowSize:o,children:[c?a.jsx(Ga,{}):a.jsx(Xa,{}),a.jsxs(Ka,{windowSize:o,children:[a.jsx(et,{isSuccess:c,children:c?n.success:n.error}),a.jsx(Ja,{children:a.jsx(Qa,{children:tt(l)})})]}),a.jsx(at,{onClick:i,children:a.jsx(Ce,{})})]})}const se={labelWidth:new m(110,145,180),largeLabelWidth:new m(150,215,215),largeLabelDocumentWidth:new m(150,210,252),paddingBottom:new m(p[3],p[2])};function lt(e){const o=P(),[l,i]=_.useState(!1),{companyPassport:n,commonSetUp:{businessVerification:c},common:{documents:f}}=k.getLocalizedStrings(),{fileProps:d,companyFiles:r,deleteFileStatusById:u,updateFileStatusById:y,sectionId:g,isDisabled:h,companyIncInfo:$,style:I}=e,S=se.labelWidth.value(o),j=se.largeLabelWidth.value(o),b=se.largeLabelDocumentWidth.value(o),{dateFormat:{visual:O},companyPassport:D}=k.getLocalizedStrings(),x=r.find(X=>X.documentType==="certificate_of_incorporation"),V=o==="small"?n.companyIncInfo.stateOfIncPlaceholderSmall:n.companyIncInfo.stateOfIncPlaceholder,pe=o==="small"?n.companyIncInfo.typeOfIncPlaceholderSmall:n.companyIncInfo.typeOfIncPlaceholder;return a.jsxs(it,{style:I,children:[a.jsx(nt,{children:n.companyIncInfo.title}),a.jsxs(st,{children:[a.jsx(Je,{label:{label:D.companyIncInfo.typeOfInc,width:j},isDisabled:h,creatableSingleSelectField:{name:ne(g,"typeOfInc"),placeholder:pe,defaultValue:{selectedOption:$?.typeOfInc,allOptions:n.companyIncInfo.allTypesOfIncorporation}}}),a.jsx(ue,{}),a.jsx(ga,{label:{label:D.companyIncInfo.stateOfInc,width:j},isDisabled:h,singleSelectField:{name:ne(g,"stateOfInc"),placeholder:V,defaultValue:{selectedOption:$?.stateOfInc,allOptions:n.companyIncInfo.allStatesOfIncorporation}}}),a.jsx(ue,{}),a.jsx($a,{isDisabled:h,label:{label:n.companyIncInfo.incDate,width:S},style:{paddingBottom:se.paddingBottom.valuePx(o)},dateField:{name:ne(g,"incDate"),placeholder:L(n.companyIncInfo.incDate),defaultValue:$?.incDate,dateFormat:O.defaultInput,maxDate:be(),minDate:Aa("01 Jan 1900"),autoComplete:"off"}}),a.jsx(ue,{}),a.jsx(Qe,{name:ne(g,"certificateOfIncorporation"),isDisabled:h,sizeLimit:Ue,deleteFileStatusById:u,updateFileStatusById:y,filesEndPoint:d.filesEndPoint,authParams:d.authParams,label:{label:c.certificateOfIncorporation,width:b},filemetadataPayload:{documentType:"certificate_of_incorporation",purposeId:"business_verification",documentSide:"front"},file:x,acceptableTypes:["image/jpg","image/jpeg","image/png","application/pdf","image/heic","image/heif"],registerOptions:{required:!1},hasError:l,updateFilesEntity:d.updateFilesEntity,onEditFileName:d.onEditFileName,onDeleteFile:d.onDeleteFile,onFileSizeError:X=>i(X)}),a.jsx(rt,{windowSize:o,isError:l,children:f.formatDocumentText10MB})]})]})}const ne=(e,o)=>`${e}.${o}`,it=s.div`
50
+ `,tt=e=>{const o=k.getLocalizedStrings().companyPassport.snackBar;return e==="Error"?o.failedText:o.successText};function ot(e){const o=P(),{fetchState:l,onRemoveSnackbar:i}=e;_.useEffect(()=>{setTimeout(i,5e3)});const n=k.getLocalizedStrings().companyPassport.snackBar,c=l==="Completed";return a.jsxs(Za,{windowSize:o,children:[c?a.jsx(Ga,{}):a.jsx(Xa,{}),a.jsxs(Ka,{windowSize:o,children:[a.jsx(et,{isSuccess:c,children:c?n.success:n.error}),a.jsx(Ja,{children:a.jsx(Qa,{children:tt(l)})})]}),a.jsx(at,{onClick:i,children:a.jsx(Ce,{})})]})}const se={labelWidth:new m(110,145,180),largeLabelWidth:new m(150,215,215),largeLabelDocumentWidth:new m(150,210,252),paddingBottom:new m(p[3],p[2])};function lt(e){const o=P(),[l,i]=_.useState(!1),{companyPassport:n,commonSetUp:{businessVerification:c},common:{documents:f}}=k.getLocalizedStrings(),{fileProps:d,companyFiles:r,deleteFileStatusById:u,updateFileStatusById:b,sectionId:g,isDisabled:h,companyIncInfo:$,style:I}=e,S=se.labelWidth.value(o),j=se.largeLabelWidth.value(o),y=se.largeLabelDocumentWidth.value(o),{dateFormat:{visual:O},companyPassport:D}=k.getLocalizedStrings(),x=r.find(X=>X.documentType==="certificate_of_incorporation"),V=o==="small"?n.companyIncInfo.stateOfIncPlaceholderSmall:n.companyIncInfo.stateOfIncPlaceholder,pe=o==="small"?n.companyIncInfo.typeOfIncPlaceholderSmall:n.companyIncInfo.typeOfIncPlaceholder;return a.jsxs(it,{style:I,children:[a.jsx(nt,{children:n.companyIncInfo.title}),a.jsxs(st,{children:[a.jsx(Je,{label:{label:D.companyIncInfo.typeOfInc,width:j},isDisabled:h,creatableSingleSelectField:{name:ne(g,"typeOfInc"),placeholder:pe,defaultValue:{selectedOption:$?.typeOfInc,allOptions:n.companyIncInfo.allTypesOfIncorporation}}}),a.jsx(ue,{}),a.jsx(ga,{label:{label:D.companyIncInfo.stateOfInc,width:j},isDisabled:h,singleSelectField:{name:ne(g,"stateOfInc"),placeholder:V,defaultValue:{selectedOption:$?.stateOfInc,allOptions:n.companyIncInfo.allStatesOfIncorporation}}}),a.jsx(ue,{}),a.jsx($a,{isDisabled:h,label:{label:n.companyIncInfo.incDate,width:S},style:{paddingBottom:se.paddingBottom.valuePx(o)},dateField:{name:ne(g,"incDate"),placeholder:L(n.companyIncInfo.incDate),defaultValue:$?.incDate,dateFormat:O.defaultInput,maxDate:ye(),minDate:Aa("01 Jan 1900"),autoComplete:"off"}}),a.jsx(ue,{}),a.jsx(Qe,{name:ne(g,"certificateOfIncorporation"),isDisabled:h,sizeLimit:Ue,deleteFileStatusById:u,updateFileStatusById:b,filesEndPoint:d.filesEndPoint,authParams:d.authParams,label:{label:c.certificateOfIncorporation,width:y},filemetadataPayload:{documentType:"certificate_of_incorporation",purposeId:"business_verification",documentSide:"front"},file:x,acceptableTypes:["image/jpg","image/jpeg","image/png","application/pdf","image/heic","image/heif"],registerOptions:{required:!1},hasError:l,updateFilesEntity:d.updateFilesEntity,onEditFileName:d.onEditFileName,onDeleteFile:d.onDeleteFile,onFileSizeError:X=>i(X)}),a.jsx(rt,{windowSize:o,isError:l,children:f.formatDocumentText10MB})]})]})}const ne=(e,o)=>`${e}.${o}`,it=s.div`
51
51
  display: flex;
52
52
  flex-direction: column;
53
53
  padding-top: ${t.sp3};
@@ -112,19 +112,19 @@ import{q as P,d as Ae,aN as da,a8 as pa,cB as ma,F as k,V as a,bz as ua,ab as ha
112
112
  border-bottom-left-radius: inherit;
113
113
  border-bottom-right-radius: inherit;
114
114
  }
115
- `,he={labelWidth:new m(110,110,140),mediumLabelWidth:new m(140,140,160),largeLabelWidth:new m(170,170,180)},{companyPassport:v,dateFormat:{analytics:Ee}}=k.getLocalizedStrings();function ht({companyViewData:e,allIndustries:o,companyInfo:l,companyAddress:i,sectionId:n,isDisabled:c,onCompanyAddressClick:f,style:d}){const r=P(),u=e.company.company.companyInfo,y=he.labelWidth.value(r),g=he.mediumLabelWidth.value(r),h=he.largeLabelWidth.value(r),$=r==="small"?v.companyInfo.businessModelPlaceholderSmall:v.companyInfo.businessModelPlaceholder,I=S=>o.find(j=>j.code===S)?.name??S;return a.jsxs(xt,{style:d,children:[a.jsx(bt,{children:v.companyInfo.title}),a.jsxs(yt,{children:[a.jsx(z,{isDisabled:c,label:{label:v.companyInfo.companyName,width:h},text:{type:"text",name:H(n,"companyName"),placeholder:L(v.companyInfo.companyName),defaultValue:l?.companyName,autoComplete:"new-password",options:{required:!!u.name,pattern:ze}}}),a.jsx(A,{}),a.jsx(z,{isDisabled:c,label:{label:v.companyInfo.legalName,width:g},text:{type:"text",name:H(n,"legalName"),placeholder:L(v.companyInfo.legalName),defaultValue:l?.legalName,autoComplete:"new-password",options:{required:!!u.companyLegalName,pattern:ze}}}),a.jsx(A,{}),a.jsx(z,{isDisabled:c,label:{label:v.companyInfo.website,width:y},text:{type:"url",name:H(n,"website"),placeholder:L(v.companyInfo.website),defaultValue:l?.website?.toString()??"",autoComplete:"new-password"}}),a.jsx(A,{}),a.jsx(ba,{label:{label:v.companyInfo.industry,width:y},singleSelectField:{singleSelect:{name:H(n,"industry"),placeholder:v.companyInfo.industryPlaceholder,showValueEyeIcon:!1,showEyeIconOnSelect:!1,getLabelForId:I,isDisabled:c,showTickMark:!1},defaultValue:{selectedOption:l?.industry,allOptions:o?.map(S=>S.code)??[]}},isFunctional:!0}),a.jsx(A,{}),a.jsx(Je,{isDisabled:c,label:{label:v.companyInfo.businessModel,width:h},creatableSingleSelectField:{name:H(n,"businessModel"),placeholder:$,defaultValue:{selectedOption:l?.businessModel,allOptions:v.companyInfo.allBusinessModels}}}),a.jsx(A,{}),a.jsx(Ke,{isDisabled:c,label:{label:v.companyInfo.address,width:y},addressValue:{placeholder:L(v.companyInfo.address),address:i?.addressToCreate,onClick:()=>f("company_address")}}),a.jsx(A,{}),a.jsx(qe,{isDisabled:c,label:{label:v.companyInfo.phone,width:y},text:{name:H(n,"phone"),placeholder:L(v.companyInfo.phone),defaultValue:l?.phone,autoComplete:"new-password"}}),a.jsx(A,{}),a.jsx(de,{label:{label:v.companyInfo.fiscalYear,width:y},bullettedLabels:{labels:[{text:ft(l?.firstMonthOfFY??1)}],listStyleType:"none"}})]})]})}const ft=e=>{const{fiscalYearMonths:o}=Ua(e);return`${be().month(o[0]-1).format(Ee.MMMFormat)} to ${be().month(o[11]-1).format(Ee.MMMFormat)}`},H=(e,o)=>`${e}.${o}`,xt=s.div`
115
+ `,he={labelWidth:new m(110,110,140),mediumLabelWidth:new m(140,140,160),largeLabelWidth:new m(170,170,180)},{companyPassport:v,dateFormat:{analytics:Ee}}=k.getLocalizedStrings();function ht({companyViewData:e,allIndustries:o,companyInfo:l,companyAddress:i,sectionId:n,isDisabled:c,onCompanyAddressClick:f,style:d}){const r=P(),u=e.company.company.companyInfo,b=he.labelWidth.value(r),g=he.mediumLabelWidth.value(r),h=he.largeLabelWidth.value(r),$=r==="small"?v.companyInfo.businessModelPlaceholderSmall:v.companyInfo.businessModelPlaceholder,I=S=>o.find(j=>j.code===S)?.name??S;return a.jsxs(xt,{style:d,children:[a.jsx(yt,{children:v.companyInfo.title}),a.jsxs(bt,{children:[a.jsx(z,{isDisabled:c,label:{label:v.companyInfo.companyName,width:h},text:{type:"text",name:H(n,"companyName"),placeholder:L(v.companyInfo.companyName),defaultValue:l?.companyName,autoComplete:"new-password",options:{required:!!u.name,pattern:ze}}}),a.jsx(A,{}),a.jsx(z,{isDisabled:c,label:{label:v.companyInfo.legalName,width:g},text:{type:"text",name:H(n,"legalName"),placeholder:L(v.companyInfo.legalName),defaultValue:l?.legalName,autoComplete:"new-password",options:{required:!!u.companyLegalName,pattern:ze}}}),a.jsx(A,{}),a.jsx(z,{isDisabled:c,label:{label:v.companyInfo.website,width:b},text:{type:"url",name:H(n,"website"),placeholder:L(v.companyInfo.website),defaultValue:l?.website?.toString()??"",autoComplete:"new-password"}}),a.jsx(A,{}),a.jsx(ya,{label:{label:v.companyInfo.industry,width:b},singleSelectField:{singleSelect:{name:H(n,"industry"),placeholder:v.companyInfo.industryPlaceholder,showValueEyeIcon:!1,showEyeIconOnSelect:!1,getLabelForId:I,isDisabled:c,showTickMark:!1},defaultValue:{selectedOption:l?.industry,allOptions:o?.map(S=>S.code)??[]}},isFunctional:!0}),a.jsx(A,{}),a.jsx(Je,{isDisabled:c,label:{label:v.companyInfo.businessModel,width:h},creatableSingleSelectField:{name:H(n,"businessModel"),placeholder:$,defaultValue:{selectedOption:l?.businessModel,allOptions:v.companyInfo.allBusinessModels}}}),a.jsx(A,{}),a.jsx(Ke,{isDisabled:c,label:{label:v.companyInfo.address,width:b},addressValue:{placeholder:L(v.companyInfo.address),address:i?.addressToCreate,onClick:()=>f("company_address")}}),a.jsx(A,{}),a.jsx(qe,{isDisabled:c,label:{label:v.companyInfo.phone,width:b},text:{name:H(n,"phone"),placeholder:L(v.companyInfo.phone),defaultValue:l?.phone,autoComplete:"new-password"}}),a.jsx(A,{}),a.jsx(de,{label:{label:v.companyInfo.fiscalYear,width:b},bullettedLabels:{labels:[{text:ft(l?.firstMonthOfFY??1)}],listStyleType:"none"}})]})]})}const ft=e=>{const{fiscalYearMonths:o}=Ua(e);return`${ye().month(o[0]-1).format(Ee.MMMFormat)} to ${ye().month(o[11]-1).format(Ee.MMMFormat)}`},H=(e,o)=>`${e}.${o}`,xt=s.div`
116
116
  display: flex;
117
117
  flex-direction: column;
118
118
  padding-top: ${t.sp3};
119
119
  padding-bottom: ${t.sp9};
120
- `,yt=s.div`
120
+ `,bt=s.div`
121
121
  display: flex;
122
122
  flex-direction: column;
123
123
  background-color: ${e=>e.theme.colors.grey5};
124
124
  border: 1px solid ${e=>e.theme.colors.grey3};
125
125
  box-shadow: ${e=>`${t.sp0} 2px ${t.sp1} ${e.theme.colors.dropShadowNormal}`};
126
126
  border-radius: ${t.sp2};
127
- `,bt=s(q)`
127
+ `,yt=s(q)`
128
128
  color: ${e=>e.theme.colors.champion};
129
129
  margin-bottom: ${t.sp3};
130
130
  `,A=s.div`
@@ -133,7 +133,7 @@ import{q as P,d as Ae,aN as da,a8 as pa,cB as ma,F as k,V as a,bz as ua,ab as ha
133
133
  background-color: ${e=>e.theme.colors.grey3};
134
134
  min-height: 1px;
135
135
  max-height: 1px;
136
- `,ge={labelWidth:new m(110,110,140),buttonWidth:new m(70,70)};function gt({sectionId:e,isDisabled:o,style:l,officer:i,officerAddress:n,isEmptyCompanyOfficerSection:c,onOfficerAddressClick:f}){const d=P(),r=k.getLocalizedStrings().companyPassport,u=ge.labelWidth.value(d),y=c&&(i==null||!i.firstName&&!i.lastName&&!i.phone&&!i.email&&!n),g=i?.userId==null||i?.userId==="";return a.jsxs(vt,{style:l,children:[a.jsx(He,{isDisabled:o,label:{label:r.companyOfficer.name,width:u},nameField:{name:fe(e,"name"),placeHolder:{firstName:r.companyOfficer.firstNamePlaceholder,lastName:r.companyOfficer.lastNamePlaceholder,name:r.companyOfficer.namePlaceholder},defaultValue:{firstName:i?.firstName??"",lastName:i?.lastName??""},autoComplete:"new-password",registerOptions:{required:y!==!0},showFullNameError:!0}}),a.jsx(xe,{}),a.jsx(z,{isDisabled:g?o:"readonly",label:{label:r.companyOfficer.email,width:u},text:{type:"email",name:fe(e,"email"),placeholder:L(r.companyOfficer.email),options:{required:y===!0?!1:g},defaultValue:i?.email,autoComplete:"new-password"}}),a.jsx(xe,{}),a.jsx(Ke,{isDisabled:o,label:{label:r.companyInfo.address,width:u},addressValue:{placeholder:L(r.companyOfficer.address),address:n?.addressToCreate,onClick:()=>{f(i?.officerType.toLocaleLowerCase().concat("_address"))}}}),a.jsx(xe,{}),a.jsx(qe,{isDisabled:o,label:{label:r.companyOfficer.phone,width:u},text:{name:fe(e,"phone"),placeholder:L(r.companyOfficer.phone),defaultValue:i?.phone,autoComplete:"new-password"}})]})}function $t({companyOfficers:e,sectionId:o,style:l,isDisabled:i,onOfficerAddressClick:n}){const{setValue:c,getValues:f}=Ze(),[d,r]=_.useState(-1),u=k.getLocalizedStrings().companyPassport,y=e.length,g=e.length===1&&e[0].localData?.userId==null,h=f(o),$=()=>{const b={userId:void 0,officerType:`Officer_${y+1}`,name:{firstName:"",lastName:""},email:"",phone:""};c(o,[...h,b])},I=b=>{if(e[b].localData==null||!e[b].localData?.firstName&&!e[b].localData?.lastName&&!e[b].localData?.phone&&!e[b].localData?.email&&!e[b].addressStatus?.addressToCreate){const O=h.filter((D,x)=>x!==d);c(o,O),r(-1)}else r(b)},S=()=>{r(-1)},j=()=>{const b=h.filter((O,D)=>D!==d);c(o,b),r(-1)};return a.jsxs(jt,{style:l,children:[a.jsx(Dt,{children:u.companyOfficer.title}),e.map((b,O)=>{const D=b.localData,x=b.addressStatus,V=D?.userId==null||D?.userId==="";return a.jsxs(St,{children:[(y>1||V)&&!g?a.jsx(wt,{curIndex:O,isNewUser:V,numberOfOfficers:y,deleteConfirmationIndex:d,isDisabled:i,onDeleteClick:I,onCancelClick:S,onRemoveOfficerSection:j}):null,a.jsx(gt,{sectionId:`${o}.${O}`,officer:D,officerAddress:x,isDisabled:i,isEmptyCompanyOfficerSection:g,onOfficerAddressClick:n})]},D?.officerType)}),y<=9&&!g?a.jsx(It,{isSectionDisabled:i,onAddOfficerSection:$}):a.jsx($e,{})]})}const wt=({curIndex:e,isNewUser:o,numberOfOfficers:l,deleteConfirmationIndex:i,isDisabled:n,onDeleteClick:c,onCancelClick:f,onRemoveOfficerSection:d})=>{const r=P(),u=k.getLocalizedStrings().companyPassport;return a.jsxs(Ot,{children:[a.jsx(Ct,{children:l>1?`${u.companyOfficer.officer} ${e+1}`:""}),o&&n==null?i===e?a.jsx(Pt,{children:a.jsxs(Lt,{children:[u.companyOfficer.deleteConfirmation,a.jsx(Me,{label:u.cancel,onClick:f,style:{width:ge.buttonWidth.value(r),marginLeft:t.sp4,marginRight:t.sp3},size:"small",variant:"secondary"}),a.jsx(Me,{label:u.remove,onClick:d,style:{width:ge.buttonWidth.value(r)},size:"small",variant:"danger"})]})}):a.jsx(Nt,{className:"delete-icon-wrapper",onClick:()=>c(e),children:a.jsx(ka,{width:p[3],height:p[3],color:N.important})}):null]})},It=({isSectionDisabled:e,onAddOfficerSection:o})=>{const l=k.getLocalizedStrings().companyPassport;return e!=null?a.jsx($e,{}):a.jsxs(a.Fragment,{children:[a.jsxs(Ft,{onClick:o,children:[a.jsx(kt,{}),a.jsx(Tt,{children:l.companyOfficer.addOfficer})]}),a.jsx($e,{})]})},fe=(e,o)=>`${e}.${o}`,jt=s.div`
136
+ `,ge={labelWidth:new m(110,110,140),buttonWidth:new m(70,70)};function gt({sectionId:e,isDisabled:o,style:l,officer:i,officerAddress:n,isEmptyCompanyOfficerSection:c,onOfficerAddressClick:f}){const d=P(),r=k.getLocalizedStrings().companyPassport,u=ge.labelWidth.value(d),b=c&&(i==null||!i.firstName&&!i.lastName&&!i.phone&&!i.email&&!n),g=i?.userId==null||i?.userId==="";return a.jsxs(vt,{style:l,children:[a.jsx(He,{isDisabled:o,label:{label:r.companyOfficer.name,width:u},nameField:{name:fe(e,"name"),placeHolder:{firstName:r.companyOfficer.firstNamePlaceholder,lastName:r.companyOfficer.lastNamePlaceholder,name:r.companyOfficer.namePlaceholder},defaultValue:{firstName:i?.firstName??"",lastName:i?.lastName??""},autoComplete:"new-password",registerOptions:{required:b!==!0},showFullNameError:!0}}),a.jsx(xe,{}),a.jsx(z,{isDisabled:g?o:"readonly",label:{label:r.companyOfficer.email,width:u},text:{type:"email",name:fe(e,"email"),placeholder:L(r.companyOfficer.email),options:{required:b===!0?!1:g},defaultValue:i?.email,autoComplete:"new-password"}}),a.jsx(xe,{}),a.jsx(Ke,{isDisabled:o,label:{label:r.companyInfo.address,width:u},addressValue:{placeholder:L(r.companyOfficer.address),address:n?.addressToCreate,onClick:()=>{f(i?.officerType.toLocaleLowerCase().concat("_address"))}}}),a.jsx(xe,{}),a.jsx(qe,{isDisabled:o,label:{label:r.companyOfficer.phone,width:u},text:{name:fe(e,"phone"),placeholder:L(r.companyOfficer.phone),defaultValue:i?.phone,autoComplete:"new-password"}})]})}function $t({companyOfficers:e,sectionId:o,style:l,isDisabled:i,onOfficerAddressClick:n}){const{setValue:c,getValues:f}=Ze(),[d,r]=_.useState(-1),u=k.getLocalizedStrings().companyPassport,b=e.length,g=e.length===1&&e[0].localData?.userId==null,h=f(o),$=()=>{const y={userId:void 0,officerType:`Officer_${b+1}`,name:{firstName:"",lastName:""},email:"",phone:""};c(o,[...h,y])},I=y=>{if(e[y].localData==null||!e[y].localData?.firstName&&!e[y].localData?.lastName&&!e[y].localData?.phone&&!e[y].localData?.email&&!e[y].addressStatus?.addressToCreate){const O=h.filter((D,x)=>x!==d);c(o,O),r(-1)}else r(y)},S=()=>{r(-1)},j=()=>{const y=h.filter((O,D)=>D!==d);c(o,y),r(-1)};return a.jsxs(jt,{style:l,children:[a.jsx(Dt,{children:u.companyOfficer.title}),e.map((y,O)=>{const D=y.localData,x=y.addressStatus,V=D?.userId==null||D?.userId==="";return a.jsxs(St,{children:[(b>1||V)&&!g?a.jsx(wt,{curIndex:O,isNewUser:V,numberOfOfficers:b,deleteConfirmationIndex:d,isDisabled:i,onDeleteClick:I,onCancelClick:S,onRemoveOfficerSection:j}):null,a.jsx(gt,{sectionId:`${o}.${O}`,officer:D,officerAddress:x,isDisabled:i,isEmptyCompanyOfficerSection:g,onOfficerAddressClick:n})]},D?.officerType)}),b<=9&&!g?a.jsx(It,{isSectionDisabled:i,onAddOfficerSection:$}):a.jsx($e,{})]})}const wt=({curIndex:e,isNewUser:o,numberOfOfficers:l,deleteConfirmationIndex:i,isDisabled:n,onDeleteClick:c,onCancelClick:f,onRemoveOfficerSection:d})=>{const r=P(),u=k.getLocalizedStrings().companyPassport;return a.jsxs(Ot,{children:[a.jsx(Ct,{children:l>1?`${u.companyOfficer.officer} ${e+1}`:""}),o&&n==null?i===e?a.jsx(Pt,{children:a.jsxs(Lt,{children:[u.companyOfficer.deleteConfirmation,a.jsx(Me,{label:u.cancel,onClick:f,style:{width:ge.buttonWidth.value(r),marginLeft:t.sp4,marginRight:t.sp3},size:"small",variant:"secondary"}),a.jsx(Me,{label:u.remove,onClick:d,style:{width:ge.buttonWidth.value(r)},size:"small",variant:"danger"})]})}):a.jsx(Nt,{className:"delete-icon-wrapper",onClick:()=>c(e),children:a.jsx(ka,{width:p[3],height:p[3],color:N.important})}):null]})},It=({isSectionDisabled:e,onAddOfficerSection:o})=>{const l=k.getLocalizedStrings().companyPassport;return e!=null?a.jsx($e,{}):a.jsxs(a.Fragment,{children:[a.jsxs(Ft,{onClick:o,children:[a.jsx(kt,{}),a.jsx(Tt,{children:l.companyOfficer.addOfficer})]}),a.jsx($e,{})]})},fe=(e,o)=>`${e}.${o}`,jt=s.div`
137
137
  display: flex;
138
138
  flex-direction: column;
139
139
  padding-top: ${t.sp3};
@@ -209,7 +209,7 @@ import{q as P,d as Ae,aN as da,a8 as pa,cB as ma,F as k,V as a,bz as ua,ab as ha
209
209
  background-color: ${e=>e.theme.colors.grey3};
210
210
  min-height: 1px;
211
211
  max-height: 1px;
212
- `,zt=({name:e,registerOptions:o,defaultValue:l,isDisabled:i,style:n,placeholder:c})=>{const{control:f,formState:{errors:d}}=Ze(),r=Ae(),u=Na(d,e??""),y={container:h=>({...h,width:"100%",...n}),menu:h=>({...h,backgroundColor:r.colors.grey5,borderRadius:t.sp1,boxShadow:`${t.sp0} 2px ${t.sp2} ${r.colors.dropShadowHover}`,whiteSpace:"nowrap",zIndex:2,width:"100%",margin:0}),menuList:h=>({...h,borderRadius:0})},g={hasError:u};return a.jsx(Pa,{name:e,control:f,defaultValue:l,rules:o,render:({field:{onChange:h,onBlur:$,value:I,ref:S}})=>a.jsx(La,{...g,ref:S,isMulti:!0,isSearchable:!0,isClearable:!0,controlShouldRenderValue:!0,placeholder:c,value:Ve(I.selectedOptions),options:Ve(I.allOptions),onChange:j=>{h({selectedOptions:j.map(b=>b.value),allOptions:I.allOptions})},tabSelectsValue:!1,openMenuOnFocus:!0,classNamePrefix:"multi-select-field",onBlur:$,menuPlacement:"auto",maxMenuHeight:288,menuShouldScrollIntoView:!1,closeMenuOnSelect:!1,components:{Control:Mt,Option:At,Input:Vt,MultiValue:Bt,MultiValueLabel:_t,MultiValueRemove:Wt,ValueContainer:Et,DropdownIndicator:Kt,IndicatorSeparator:eo,Placeholder:Yt,ClearIndicator:Rt},hideSelectedOptions:!1,styles:y,isDisabled:i!=null})})},Mt=e=>{const{menuIsOpen:o,isFocused:l,isDisabled:i,selectProps:n}=e,{value:c,hasError:f}=n;return a.jsx(qt,{menuIsOpen:o,isFocused:l,isDisabled:i,optionsLen:c.length,hasError:f,children:a.jsx(W.Control,{...e,className:"select-control",children:e.children})})},Et=e=>{const{selectProps:o}=e,{value:l}=o;return a.jsxs(W.ValueContainer,{...e,className:"select-value-container",children:[e.children,a.jsx(Ut,{className:"selected-options",children:l.map(i=>i.value).join(", ")})]})},Vt=e=>{const{selectProps:o}=e,{placeholder:l,value:i}=o;return a.jsx(W.Input,{...e,autoComplete:"new-password",placeholder:i.length===0?l:void 0,children:e.children})},Bt=e=>a.jsx(W.MultiValue,{...e,children:e.children}),_t=e=>{const{data:o}=e;return a.jsx(W.MultiValueLabel,{...e,children:o.value})},Wt=e=>a.jsx(W.MultiValueRemove,{...e,children:a.jsx(aa,{style:{marginTop:"2px"}})}),Rt=e=>a.jsx(W.ClearIndicator,{...e,children:a.jsx(aa,{})}),Yt=()=>null,At=e=>{const{isSelected:o,isDisabled:l,isFocused:i}=e;return a.jsx(Ht,{isFocused:i,isSelected:o,isDisabled:l,children:a.jsx(W.Option,{...e,className:"select-option",children:a.jsxs(Zt,{children:[a.jsx(Xt,{children:a.jsx(Gt,{isSelected:o,isDisabled:l,children:e.label})}),o?a.jsxs(Jt,{children:[a.jsx(Qt,{className:"right-tick-icon"}),a.jsx(Ce,{className:"close-tick-icon"})]}):null]})})})},qt=s.div`
212
+ `,zt=({name:e,registerOptions:o,defaultValue:l,isDisabled:i,style:n,placeholder:c})=>{const{control:f,formState:{errors:d}}=Ze(),r=Ae(),u=Na(d,e??""),b={container:h=>({...h,width:"100%",...n}),menu:h=>({...h,backgroundColor:r.colors.grey5,borderRadius:t.sp1,boxShadow:`${t.sp0} 2px ${t.sp2} ${r.colors.dropShadowHover}`,whiteSpace:"nowrap",zIndex:2,width:"100%",margin:0}),menuList:h=>({...h,borderRadius:0})},g={hasError:u};return a.jsx(Pa,{name:e,control:f,defaultValue:l,rules:o,render:({field:{onChange:h,onBlur:$,value:I,ref:S}})=>a.jsx(La,{...g,ref:S,isMulti:!0,isSearchable:!0,isClearable:!0,controlShouldRenderValue:!0,placeholder:c,value:Ve(I.selectedOptions),options:Ve(I.allOptions),onChange:j=>{h({selectedOptions:j.map(y=>y.value),allOptions:I.allOptions})},tabSelectsValue:!1,openMenuOnFocus:!0,classNamePrefix:"multi-select-field",onBlur:$,menuPlacement:"auto",maxMenuHeight:288,menuShouldScrollIntoView:!1,closeMenuOnSelect:!1,components:{Control:Mt,Option:At,Input:Vt,MultiValue:Bt,MultiValueLabel:_t,MultiValueRemove:Wt,ValueContainer:Et,DropdownIndicator:Kt,IndicatorSeparator:eo,Placeholder:Yt,ClearIndicator:Rt},hideSelectedOptions:!1,styles:b,isDisabled:i!=null})})},Mt=e=>{const{menuIsOpen:o,isFocused:l,isDisabled:i,selectProps:n}=e,{value:c,hasError:f}=n;return a.jsx(qt,{menuIsOpen:o,isFocused:l,isDisabled:i,optionsLen:c.length,hasError:f,children:a.jsx(W.Control,{...e,className:"select-control",children:e.children})})},Et=e=>{const{selectProps:o}=e,{value:l}=o;return a.jsxs(W.ValueContainer,{...e,className:"select-value-container",children:[e.children,a.jsx(Ut,{className:"selected-options",children:l.map(i=>i.value).join(", ")})]})},Vt=e=>{const{selectProps:o}=e,{placeholder:l,value:i}=o;return a.jsx(W.Input,{...e,autoComplete:"new-password",placeholder:i.length===0?l:void 0,children:e.children})},Bt=e=>a.jsx(W.MultiValue,{...e,children:e.children}),_t=e=>{const{data:o}=e;return a.jsx(W.MultiValueLabel,{...e,children:o.value})},Wt=e=>a.jsx(W.MultiValueRemove,{...e,children:a.jsx(aa,{style:{marginTop:"2px"}})}),Rt=e=>a.jsx(W.ClearIndicator,{...e,children:a.jsx(aa,{})}),Yt=()=>null,At=e=>{const{isSelected:o,isDisabled:l,isFocused:i}=e;return a.jsx(Ht,{isFocused:i,isSelected:o,isDisabled:l,children:a.jsx(W.Option,{...e,className:"select-option",children:a.jsxs(Zt,{children:[a.jsx(Xt,{children:a.jsx(Gt,{isSelected:o,isDisabled:l,children:e.label})}),o?a.jsxs(Jt,{children:[a.jsx(Qt,{className:"right-tick-icon"}),a.jsx(Ce,{className:"close-tick-icon"})]}):null]})})})},qt=s.div`
213
213
  width: 100%;
214
214
  background-color: ${e=>e.theme.colors.grey5};
215
215
  cursor: ${e=>e.isDisabled?"not-allowed":"pointer"};
@@ -436,7 +436,7 @@ import{q as P,d as Ae,aN as da,a8 as pa,cB as ma,F as k,V as a,bz as ua,ab as ha
436
436
  background-color: ${e=>e.isDisabled?e.theme.colors.grey5:e.theme.colors.background};
437
437
  }
438
438
  }
439
- `,Be={labelWidth:new m(160,160,160),largeLabelWidth:new m(150,215,215)};function lo(e){const o=P(),l=wa(),[i,n]=_.useState(!1),{companyPassport:c,commonSetUp:{businessVerification:f},common:{documents:d}}=k.getLocalizedStrings(),{fileProps:r,companyFiles:u,deleteFileStatusById:y,updateFileStatusById:g,sectionId:h,isDisabled:$,companyTaxInfo:I,style:S}=e,j=Be.labelWidth.value(o),b=Be.largeLabelWidth.value(o),O=!qa(l.loggedInUserRole??[]),D=u.find(x=>x.documentType==="tax_ein");return a.jsxs(io,{style:S,children:[a.jsx(no,{children:c.companyTaxInfo.title}),a.jsxs(so,{children:[a.jsx(z,{isDisabled:$,label:{label:c.companyTaxInfo.taxIdOrEIN,width:j},text:{type:"text",name:Z(h,"taxIdOrEIN"),placeholder:c.companyTaxInfo.taxIdOrEINPlaceholder,defaultValue:O===!0?c.protectedContent:I?.taxIdOrEIN,options:{pattern:Ia},autoComplete:"new-password"},protectedInfoText:O===!0?c.companyTaxInfo.adminPrivilegeRequired:void 0}),a.jsx(K,{}),a.jsx(z,{isDisabled:$,label:{label:c.companyTaxInfo.dunsNumber,width:j},text:{type:"text",name:Z(h,"dunsNumber"),placeholder:c.companyTaxInfo.dunsNumberPlaceholder,defaultValue:I?.dunsNumber,options:{pattern:/^\d{9}$/},autoComplete:"new-password"}}),a.jsx(K,{}),a.jsx(z,{isDisabled:$,label:{label:c.companyTaxInfo.naicsCode,width:j},text:{type:"text",name:Z(h,"naicsCode"),placeholder:c.companyTaxInfo.naicsCodePlaceholder,defaultValue:I?.naicsCode,options:{pattern:/^([2-9]{1}[0-9]{1}|[1-9]{1}[1-9]{1})\d{0,4}$/},autoComplete:"new-password"}}),a.jsx(K,{}),a.jsx(z,{isDisabled:$,label:{label:c.companyTaxInfo.sicCode,width:j},text:{type:"text",name:Z(h,"sicCode"),placeholder:c.companyTaxInfo.sicCodePlaceholder,defaultValue:I?.sicCode,options:{pattern:/^\d{2,4}$/},autoComplete:"new-password"}}),a.jsx(K,{}),a.jsx(to,{isDisabled:$,label:{label:c.companyTaxInfo.taxesFiledYears,width:j},multiSelectField:{name:Z(h,"taxesFiledYears"),placeholder:c.companyTaxInfo.taxesFiledYearsPlaceholder,defaultValue:{selectedOptions:I?.taxesFiledYears.map(x=>x.toString())??[],allOptions:Xe().map(x=>x.toString())}}}),a.jsx(K,{}),a.jsx(Qe,{name:Z(h,"einDocument"),isDisabled:$,sizeLimit:Ue,deleteFileStatusById:y,updateFileStatusById:g,filesEndPoint:r.filesEndPoint,authParams:r.authParams,label:{label:f.einDocument,width:b},filemetadataPayload:{documentType:"tax_ein",purposeId:"business_verification",documentSide:"front"},file:D,acceptableTypes:["image/jpg","image/jpeg","image/png","application/pdf","image/heic","image/heif"],registerOptions:{required:!1},hasError:i,updateFilesEntity:r.updateFilesEntity,onEditFileName:r.onEditFileName,onDeleteFile:r.onDeleteFile,onFileSizeError:x=>n(x)}),a.jsx(ro,{windowSize:o,isError:i,children:d.formatDocumentText10MB})]})]})}const Z=(e,o)=>`${e}.${o}`,io=s.div`
439
+ `,Be={labelWidth:new m(160,160,160),largeLabelWidth:new m(150,215,215)};function lo(e){const o=P(),l=wa(),[i,n]=_.useState(!1),{companyPassport:c,commonSetUp:{businessVerification:f},common:{documents:d}}=k.getLocalizedStrings(),{fileProps:r,companyFiles:u,deleteFileStatusById:b,updateFileStatusById:g,sectionId:h,isDisabled:$,companyTaxInfo:I,style:S}=e,j=Be.labelWidth.value(o),y=Be.largeLabelWidth.value(o),O=!qa(l.loggedInUserRole??[]),D=u.find(x=>x.documentType==="tax_ein");return a.jsxs(io,{style:S,children:[a.jsx(no,{children:c.companyTaxInfo.title}),a.jsxs(so,{children:[a.jsx(z,{isDisabled:$,label:{label:c.companyTaxInfo.taxIdOrEIN,width:j},text:{type:"text",name:Z(h,"taxIdOrEIN"),placeholder:c.companyTaxInfo.taxIdOrEINPlaceholder,defaultValue:O===!0?c.protectedContent:I?.taxIdOrEIN,options:{pattern:Ia},autoComplete:"new-password"},protectedInfoText:O===!0?c.companyTaxInfo.adminPrivilegeRequired:void 0}),a.jsx(K,{}),a.jsx(z,{isDisabled:$,label:{label:c.companyTaxInfo.dunsNumber,width:j},text:{type:"text",name:Z(h,"dunsNumber"),placeholder:c.companyTaxInfo.dunsNumberPlaceholder,defaultValue:I?.dunsNumber,options:{pattern:/^\d{9}$/},autoComplete:"new-password"}}),a.jsx(K,{}),a.jsx(z,{isDisabled:$,label:{label:c.companyTaxInfo.naicsCode,width:j},text:{type:"text",name:Z(h,"naicsCode"),placeholder:c.companyTaxInfo.naicsCodePlaceholder,defaultValue:I?.naicsCode,options:{pattern:/^([2-9]{1}[0-9]{1}|[1-9]{1}[1-9]{1})\d{0,4}$/},autoComplete:"new-password"}}),a.jsx(K,{}),a.jsx(z,{isDisabled:$,label:{label:c.companyTaxInfo.sicCode,width:j},text:{type:"text",name:Z(h,"sicCode"),placeholder:c.companyTaxInfo.sicCodePlaceholder,defaultValue:I?.sicCode,options:{pattern:/^\d{2,4}$/},autoComplete:"new-password"}}),a.jsx(K,{}),a.jsx(to,{isDisabled:$,label:{label:c.companyTaxInfo.taxesFiledYears,width:j},multiSelectField:{name:Z(h,"taxesFiledYears"),placeholder:c.companyTaxInfo.taxesFiledYearsPlaceholder,defaultValue:{selectedOptions:I?.taxesFiledYears.map(x=>x.toString())??[],allOptions:Xe().map(x=>x.toString())}}}),a.jsx(K,{}),a.jsx(Qe,{name:Z(h,"einDocument"),isDisabled:$,sizeLimit:Ue,deleteFileStatusById:b,updateFileStatusById:g,filesEndPoint:r.filesEndPoint,authParams:r.authParams,label:{label:f.einDocument,width:y},filemetadataPayload:{documentType:"tax_ein",purposeId:"business_verification",documentSide:"front"},file:D,acceptableTypes:["image/jpg","image/jpeg","image/png","application/pdf","image/heic","image/heif"],registerOptions:{required:!1},hasError:i,updateFilesEntity:r.updateFilesEntity,onEditFileName:r.onEditFileName,onDeleteFile:r.onDeleteFile,onFileSizeError:x=>n(x)}),a.jsx(ro,{windowSize:o,isError:i,children:d.formatDocumentText10MB})]})]})}const Z=(e,o)=>`${e}.${o}`,io=s.div`
440
440
  display: flex;
441
441
  flex-direction: column;
442
442
  padding-top: ${t.sp3};
@@ -492,13 +492,13 @@ import{q as P,d as Ae,aN as da,a8 as pa,cB as ma,F as k,V as a,bz as ua,ab as ha
492
492
  :not(:first-of-type) {
493
493
  margin-left: ${t.sp3};
494
494
  }
495
- `,yo=s.div`
495
+ `,bo=s.div`
496
496
  display: flex;
497
497
  flex-direction: row;
498
498
  justify-content: flex-end;
499
499
  align-items: center;
500
500
  color: ${e=>e.theme.colors.primary};
501
- `,bo=()=>a.jsx(yo,{children:"–"}),go=s.div`
501
+ `,yo=()=>a.jsx(bo,{children:"–"}),go=s.div`
502
502
  padding: 6px ${t.sp2};
503
503
  white-space: nowrap;
504
504
  overflow: hidden;
@@ -509,7 +509,7 @@ import{q as P,d as Ae,aN as da,a8 as pa,cB as ma,F as k,V as a,bz as ua,ab as ha
509
509
  justify-content: flex-end;
510
510
  display: flex;
511
511
  padding: 0 ${t.sp3};
512
- `,wo=e=>{const{users:o,style:l}=e;return a.jsx($o,{style:l,children:o.length!==0?o.filter(i=>!!i.firstName||!!i.lastName).map(i=>a.jsxs(xo,{children:[a.jsx(go,{children:`${i.firstName} ${i.lastName}`}),a.jsx(Ba,{name:`${i.firstName} ${i.lastName}`,size:t.sp4})]},i.userId)):a.jsx(bo,{})})},E={width:new m(343,580,726),height:new m(p[6],p[6]),controlHeight:new m(p[6],p[6]),paddingTopBottom:new m(p[2],p[2]),marginRight:new m(p[2],p[2]),labelMarginLeft:new m(p[3],p[4]),labelMarginRight:new m(p[3],p[4]),labelMarginTop:new m(p[2],p[2])};function Io({isDisabled:e,label:o,avatarLabels:l,style:i}){const n=P();return a.jsxs(vo,{size:n,style:i,children:[a.jsx(Fe,{isDisabled:e,label:o.label,style:{marginLeft:E.labelMarginLeft.value(n),marginRight:E.labelMarginRight.value(n),marginTop:E.labelMarginTop.value(n),width:o.width??"auto"}}),a.jsx(wo,{users:l.users,style:{minHeight:E.controlHeight.value(n),display:"flex",flexGrow:1,flexFlow:"row wrap",maxWidth:o.width!=null?`calc(100% - ${o.width}px)`:"auto",...l.style}})]})}const jo=Wa.memo(Io,Ta),vo=s.div`
512
+ `,wo=e=>{const{users:o,style:l}=e;return a.jsx($o,{style:l,children:o.length!==0?o.filter(i=>!!i.firstName||!!i.lastName).map(i=>a.jsxs(xo,{children:[a.jsx(go,{children:`${i.firstName} ${i.lastName}`}),a.jsx(Ba,{name:`${i.firstName} ${i.lastName}`,size:t.sp4})]},i.userId)):a.jsx(yo,{})})},E={width:new m(343,580,726),height:new m(p[6],p[6]),controlHeight:new m(p[6],p[6]),paddingTopBottom:new m(p[2],p[2]),marginRight:new m(p[2],p[2]),labelMarginLeft:new m(p[3],p[4]),labelMarginRight:new m(p[3],p[4]),labelMarginTop:new m(p[2],p[2])};function Io({isDisabled:e,label:o,avatarLabels:l,style:i}){const n=P();return a.jsxs(vo,{size:n,style:i,children:[a.jsx(Fe,{isDisabled:e,label:o.label,style:{marginLeft:E.labelMarginLeft.value(n),marginRight:E.labelMarginRight.value(n),marginTop:E.labelMarginTop.value(n),width:o.width??"auto"}}),a.jsx(wo,{users:l.users,style:{minHeight:E.controlHeight.value(n),display:"flex",flexGrow:1,flexFlow:"row wrap",maxWidth:o.width!=null?`calc(100% - ${o.width}px)`:"auto",...l.style}})]})}const jo=Wa.memo(Io,Ta),vo=s.div`
513
513
  display: flex;
514
514
  flex-direction: row;
515
515
  align-items: flex-start;
@@ -529,7 +529,7 @@ import{q as P,d as Ae,aN as da,a8 as pa,cB as ma,F as k,V as a,bz as ua,ab as ha
529
529
  border-bottom-left-radius: inherit;
530
530
  border-bottom-right-radius: inherit;
531
531
  }
532
- `,ye={labelWidth:new m(100,100,140),mediumLabelWidth:new m(140,150,160),largeLabelWidth:new m(160,180,180)};function Do({data:e,companyInfo:o,sectionId:l,isDisabled:i,isZeniUser:n,onScheduleClick:c}){const f=P(),{companyPassport:d,dateFormat:{visual:r}}=k.getLocalizedStrings(),u=ye.labelWidth.value(f),y=ye.mediumLabelWidth.value(f),g=ye.largeLabelWidth.value(f),h=e.company.company,{controllers:$,subscriptions:I}=e,{managementInfo:S}=h,j=f==="small"?d.zeniFinanceTeam.scheduleCallPlaceholderSmall:d.zeniFinanceTeam.scheduleCallPlaceholder,b=I.filter(x=>x.plan?.plan.name!=null).map(x=>({text:x.plan?.plan.name,subText:x.subscription.subscription.startDate.format(r.MMMDCommaYYYYformat)})),O=ja(I.map(x=>x.addOns.map(V=>({text:V.addOn.name,subText:x.subscription.subscription.startDate.format(r.MMMDCommaYYYYformat)})))),D=S.receiverEmails.map(x=>({text:x}));return a.jsxs(Oo,{children:[a.jsx(Fo,{children:d.zeniFinanceTeam.title}),a.jsxs(Co,{children:[a.jsx(jo,{label:{label:d.zeniFinanceTeam.controller,width:y},avatarLabels:{users:$.map(x=>x.user)}}),a.jsx(re,{}),n===!0?a.jsx(z,{isDisabled:i,label:{label:d.zeniFinanceTeam.scheduleCall,width:y},text:{type:"text",name:So(l,"meetingLink"),placeholder:j,defaultValue:o?.meetingLink?.toString()??"",autoComplete:"new-password",options:{pattern:va}}}):o?.meetingLink!=null?a.jsx(Da,{label:{label:d.zeniFinanceTeam.scheduleCall,width:y},button:{buttonTitle:d.zeniFinanceTeam.schedule,onClick:()=>c(o.meetingLink)}}):null,D.length>0?a.jsxs(a.Fragment,{children:[a.jsx(re,{}),a.jsx(de,{label:{label:d.zeniFinanceTeam.emailUs,width:u},bullettedLabels:{labels:D,listStyleType:"none"}})]}):null,b.length>0?a.jsxs(a.Fragment,{children:[a.jsx(re,{}),a.jsx(de,{label:{label:d.zeniFinanceTeam.subscriptionPlans,width:g},bullettedLabels:{labels:b,listStyleType:"none"}})]}):null,O.length>0?a.jsxs(a.Fragment,{children:[a.jsx(re,{}),a.jsx(de,{label:{label:d.zeniFinanceTeam.addons,width:y},bullettedLabels:{labels:O,listStyleType:"none"}})]}):null]})]})}const So=(e,o)=>`${e}.${o}`,Oo=s.div`
532
+ `,be={labelWidth:new m(100,100,140),mediumLabelWidth:new m(140,150,160),largeLabelWidth:new m(160,180,180)};function Do({data:e,companyInfo:o,sectionId:l,isDisabled:i,isZeniUser:n,onScheduleClick:c}){const f=P(),{companyPassport:d,dateFormat:{visual:r}}=k.getLocalizedStrings(),u=be.labelWidth.value(f),b=be.mediumLabelWidth.value(f),g=be.largeLabelWidth.value(f),h=e.company.company,{controllers:$,subscriptions:I}=e,{managementInfo:S}=h,j=f==="small"?d.zeniFinanceTeam.scheduleCallPlaceholderSmall:d.zeniFinanceTeam.scheduleCallPlaceholder,y=I.filter(x=>x.plan?.plan.name!=null).map(x=>({text:x.plan?.plan.name,subText:x.subscription.subscription.startDate.format(r.MMMDCommaYYYYformat)})),O=ja(I.map(x=>x.addOns.map(V=>({text:V.addOn.name,subText:x.subscription.subscription.startDate.format(r.MMMDCommaYYYYformat)})))),D=S.receiverEmails.map(x=>({text:x}));return a.jsxs(Oo,{children:[a.jsx(Fo,{children:d.zeniFinanceTeam.title}),a.jsxs(Co,{children:[a.jsx(jo,{label:{label:d.zeniFinanceTeam.controller,width:b},avatarLabels:{users:$.map(x=>x.user)}}),a.jsx(re,{}),n===!0?a.jsx(z,{isDisabled:i,label:{label:d.zeniFinanceTeam.scheduleCall,width:b},text:{type:"text",name:So(l,"meetingLink"),placeholder:j,defaultValue:o?.meetingLink?.toString()??"",autoComplete:"new-password",options:{pattern:va}}}):o?.meetingLink!=null?a.jsx(Da,{label:{label:d.zeniFinanceTeam.scheduleCall,width:b},button:{buttonTitle:d.zeniFinanceTeam.schedule,onClick:()=>c(o.meetingLink)}}):null,D.length>0?a.jsxs(a.Fragment,{children:[a.jsx(re,{}),a.jsx(de,{label:{label:d.zeniFinanceTeam.emailUs,width:u},bullettedLabels:{labels:D,listStyleType:"none"}})]}):null,y.length>0?a.jsxs(a.Fragment,{children:[a.jsx(re,{}),a.jsx(de,{label:{label:d.zeniFinanceTeam.subscriptionPlans,width:g},bullettedLabels:{labels:y,listStyleType:"none"}})]}):null,O.length>0?a.jsxs(a.Fragment,{children:[a.jsx(re,{}),a.jsx(de,{label:{label:d.zeniFinanceTeam.addons,width:b},bullettedLabels:{labels:O,listStyleType:"none"}})]}):null]})]})}const So=(e,o)=>`${e}.${o}`,Oo=s.div`
533
533
  display: flex;
534
534
  flex-direction: column;
535
535
  padding-top: ${t.sp3};
@@ -550,7 +550,7 @@ import{q as P,d as Ae,aN as da,a8 as pa,cB as ma,F as k,V as a,bz as ua,ab as ha
550
550
  background-color: ${e=>e.theme.colors.grey3};
551
551
  min-height: 1px;
552
552
  max-height: 1px;
553
- `,we={width:new m(343,580,726),buttonWidth:new m(85,85)},We="companyPassportPage",Ie="companyInfo",je="companyIncInfo",ve="companyTaxInfo",De="primaryContact",Se="companyOfficer",Oe="zeniFinanceTeam";function Ho(e){const o=P(),l=Ae(),{companyPassportView:i,isZeniUser:n,filesEndPoint:c,authParams:f,allIndustries:d,isDisabled:r,isSettings:u=!1,onCompanyDetailsChanged:y,onCompanyOfficerUpdated:g,onNewCompanyOfficerAdded:h,onPrimaryContactDetailsUpdated:$,onNewCompanyOfficerRemoved:I,onSaveAll:S,onAddressClick:j,onScheduleClick:b,onBackClick:O,onResetClick:D,onEditFileName:x,updateFilesEntity:V,onDeleteFile:pe,onClickMenuIcon:X}=e,{companyView:J,localData:U,deleteFileStatusById:ke,updateFileStatusById:Te}=i,{companyFiles:ae}=U,Ne={authParams:f,filesEndPoint:c,onEditFileName:x,onDeleteFile:pe,updateFilesEntity:V},[Q,te]=_.useState(void 0),{companyDetails:ta,primaryContact:oa,companyOfficerUpdateStatus:la,updateStatus:R}=U,{localData:oe,addressStatus:ia}=ta,Pe=da(R.fetchState),le=Object.values(la).filter(T=>T.localData!=null),B=pa({mode:"all",defaultValues:Ye(U,d)});_.useEffect(()=>()=>{te(void 0)},[]),_.useEffect(()=>{Pe==="In-Progress"&&(R.fetchState==="Completed"||R.fetchState==="Error")&&(B.reset(Ye(U,d)),Q!==R.fetchState&&te(R.fetchState))},[Q,B,Pe,R,U,J,d,ae]);const sa=async(T,w)=>{if(T.includes(Ie)||T.includes(je)||T.includes(ve)||T.includes(Oe)){const{companyInfo:C,companyIncInfo:F,companyTaxInfo:Y,zeniFinanceTeam:me}=w;y({companyInfo:C,incInfo:F,taxDetails:Y,zeniFinanceTeam:me})}else if(T.includes(De)){$(w.primaryContact);const C=w.companyOfficer.map(F=>F.userId);if(w.primaryContact.userId!=null&&C.includes(w.primaryContact.userId)){const F=C.findIndex(Y=>Y===w.primaryContact.userId);F>=0&&g({...w.companyOfficer[F],name:w.primaryContact.name,officerType:`Officer_${F+1}`})}}else if(T.includes(Se)){const C=parseInt(T.split(".")[1]);if(C>=0)g({...w.companyOfficer[C],officerType:`Officer_${C+1}`}),w.companyOfficer[C].userId!=null&&w.companyOfficer[C].userId===w.primaryContact.userId&&$({...w.primaryContact,name:w.companyOfficer[C].name});else if(w.companyOfficer.length>le.length){const F=w.companyOfficer[w.companyOfficer.length-1];h(F)}else{const F=w.companyOfficer.filter(Y=>Y.officerType!=null);if(F.length<le.length){const Y=F.map((me,ca)=>{const Le={...me,officerType:`Officer_${ca+1}`};return g(Le),Le});F.length<le.length&&(I(`Officer_${F.length+1}`),B.reset({companyOfficer:Y}))}}}};_.useEffect(()=>{const T=B.watch((w,{name:C})=>{C!=null&&w!=null&&ma(()=>sa(C,w))});return()=>{T.unsubscribe()}});const na=B.handleSubmit(T=>{Q!=null&&te(void 0),S()}),{companyPassport:ie,common:{settings:ra}}=k.getLocalizedStrings();if(J==null)throw new Error("Company View is null");return a.jsxs(ko,{children:[a.jsx(ua,{title:ie.title,backgroundColor:l.colors.grey4,style:{zIndex:3},onBackClick:O,showBackButton:!u,showMenuIcon:u?o==="medium-compact"||o==="small":!1,source:"CompanyPassportPage",onClickMenuIcon:X}),Q!=null?a.jsx(ot,{fetchState:Q,onRemoveSnackbar:()=>te(void 0)}):null,a.jsxs(To,{children:[a.jsx(No,{windowSize:o,children:u?ra.infoText.companyDetails:ie.quickAccessInfo}),a.jsx(ha,{...B,children:a.jsxs("form",{id:Re(We),onSubmit:na,children:[a.jsx(ht,{sectionId:Ie,companyInfo:oe?.companyInfo,companyViewData:J,companyAddress:ia,isDisabled:r,onCompanyAddressClick:j,allIndustries:d}),a.jsx(lt,{sectionId:je,updateFileStatusById:Te,deleteFileStatusById:ke,companyFiles:ae,companyIncInfo:oe?.incInfo,fileProps:Ne,isDisabled:r}),a.jsx(lo,{sectionId:ve,updateFileStatusById:Te,deleteFileStatusById:ke,companyFiles:ae,companyTaxInfo:oe?.taxDetails,fileProps:Ne,isDisabled:r}),a.jsx(po,{sectionId:De,primaryContact:oa.localData,isDisabled:r}),a.jsx($t,{companyOfficers:le,sectionId:Se,isDisabled:r,onOfficerAddressClick:j}),a.jsx(Do,{data:J,companyInfo:oe?.companyInfo,isDisabled:r,isZeniUser:n,sectionId:Oe,onScheduleClick:b})]})})]}),fa(B.formState.dirtyFields)||Ya(U,J,ae)?a.jsx(xa,{formId:Re(We),primaryBtn:{label:ie.save,isLoading:R.fetchState==="In-Progress",style:{width:we.buttonWidth.value(o)},isDisabled:e.isDisabled!=null},cancelBtn:{label:ie.cancel,style:{width:we.buttonWidth.value(o)},onClick:()=>{B.reset(),D()}}}):null]})}const Re=e=>`${e}_form`,Ye=(e,o)=>{const{companyDetails:l,primaryContact:i,companyOfficerUpdateStatus:n}=e,c=k.getLocalizedStrings().companyPassport,f=l.localData?.incInfo.fileId!=null?[l.localData?.incInfo.fileId]:[],d=l.localData?.taxDetails.fileId!=null?[l.localData?.taxDetails.fileId]:[];return{[Ie]:{...ya(l.localData?.companyInfo,["meetingLink"]),businessModel:{selectedOption:l.localData?.companyInfo?.businessModel,allOptions:c.companyInfo.allBusinessModels},website:l.localData?.companyInfo.website?.toString()??"",industry:{selectedOption:l.localData?.companyInfo.industry,allOptions:o?.map(r=>r.code)},firstMonthOfFY:l.localData?.companyInfo.firstMonthOfFY},[ve]:{...l.localData?.taxDetails,taxesFiledYears:{selectedOptions:l.localData?.taxDetails.taxesFiledYears.map(r=>r.toString())??[],allOptions:Xe().map(r=>r.toString())},einDocument:e.companyFiles.find(r=>r.documentType==="tax_ein"),fileIds:d},[je]:{typeOfInc:{selectedOption:l.localData?.incInfo?.typeOfInc,allOptions:c.companyIncInfo.allTypesOfIncorporation},stateOfInc:{selectedOption:l.localData?.incInfo?.stateOfInc,allOptions:c.companyIncInfo.allStatesOfIncorporation},incDate:l.localData?.incInfo.incDate?.toDate(),certificateOfIncorporation:e.companyFiles.find(r=>r.documentType==="certificate_of_incorporation"),fileIds:f},[De]:{userId:i.localData?.userId,name:{firstName:i.localData?.firstName,lastName:i.localData?.lastName},email:i.localData?.email},[Se]:Object.values(n).filter(r=>r.localData!=null).map(r=>{const u=r.localData;return{userId:u.userId,officerType:u.officerType,name:{firstName:u.firstName,lastName:u.lastName},email:u.email,phone:u.phone}}),[Oe]:{meetingLink:l.localData?.companyInfo.meetingLink?.toString()??""}}},ko=s.div`
553
+ `,we={width:new m(343,580,726),buttonWidth:new m(85,85)},We="companyPassportPage",Ie="companyInfo",je="companyIncInfo",ve="companyTaxInfo",De="primaryContact",Se="companyOfficer",Oe="zeniFinanceTeam";function Ho(e){const o=P(),l=Ae(),{companyPassportView:i,isZeniUser:n,filesEndPoint:c,authParams:f,allIndustries:d,isDisabled:r,isSettings:u=!1,onCompanyDetailsChanged:b,onCompanyOfficerUpdated:g,onNewCompanyOfficerAdded:h,onPrimaryContactDetailsUpdated:$,onNewCompanyOfficerRemoved:I,onSaveAll:S,onAddressClick:j,onScheduleClick:y,onBackClick:O,onResetClick:D,onEditFileName:x,updateFilesEntity:V,onDeleteFile:pe,onClickMenuIcon:X}=e,{companyView:J,localData:U,deleteFileStatusById:ke,updateFileStatusById:Te}=i,{companyFiles:ae}=U,Ne={authParams:f,filesEndPoint:c,onEditFileName:x,onDeleteFile:pe,updateFilesEntity:V},[Q,te]=_.useState(void 0),{companyDetails:ta,primaryContact:oa,companyOfficerUpdateStatus:la,updateStatus:R}=U,{localData:oe,addressStatus:ia}=ta,Pe=da(R.fetchState),le=Object.values(la).filter(T=>T.localData!=null),B=pa({mode:"all",defaultValues:Ye(U,d)});_.useEffect(()=>()=>{te(void 0)},[]),_.useEffect(()=>{Pe==="In-Progress"&&(R.fetchState==="Completed"||R.fetchState==="Error")&&(B.reset(Ye(U,d)),Q!==R.fetchState&&te(R.fetchState))},[Q,B,Pe,R,U,J,d,ae]);const sa=async(T,w)=>{if(T.includes(Ie)||T.includes(je)||T.includes(ve)||T.includes(Oe)){const{companyInfo:C,companyIncInfo:F,companyTaxInfo:Y,zeniFinanceTeam:me}=w;b({companyInfo:C,incInfo:F,taxDetails:Y,zeniFinanceTeam:me})}else if(T.includes(De)){$(w.primaryContact);const C=w.companyOfficer.map(F=>F.userId);if(w.primaryContact.userId!=null&&C.includes(w.primaryContact.userId)){const F=C.findIndex(Y=>Y===w.primaryContact.userId);F>=0&&g({...w.companyOfficer[F],name:w.primaryContact.name,officerType:`Officer_${F+1}`})}}else if(T.includes(Se)){const C=parseInt(T.split(".")[1]);if(C>=0)g({...w.companyOfficer[C],officerType:`Officer_${C+1}`}),w.companyOfficer[C].userId!=null&&w.companyOfficer[C].userId===w.primaryContact.userId&&$({...w.primaryContact,name:w.companyOfficer[C].name});else if(w.companyOfficer.length>le.length){const F=w.companyOfficer[w.companyOfficer.length-1];h(F)}else{const F=w.companyOfficer.filter(Y=>Y.officerType!=null);if(F.length<le.length){const Y=F.map((me,ca)=>{const Le={...me,officerType:`Officer_${ca+1}`};return g(Le),Le});F.length<le.length&&(I(`Officer_${F.length+1}`),B.reset({companyOfficer:Y}))}}}};_.useEffect(()=>{const T=B.watch((w,{name:C})=>{C!=null&&w!=null&&ma(()=>sa(C,w))});return()=>{T.unsubscribe()}});const na=B.handleSubmit(T=>{Q!=null&&te(void 0),S()}),{companyPassport:ie,common:{settings:ra}}=k.getLocalizedStrings();if(J==null)throw new Error("Company View is null");return a.jsxs(ko,{children:[a.jsx(ua,{title:ie.title,backgroundColor:l.colors.grey4,style:{zIndex:3},onBackClick:O,showBackButton:!u,showMenuIcon:u?o==="medium-compact"||o==="small":!1,source:"CompanyPassportPage",onClickMenuIcon:X}),Q!=null?a.jsx(ot,{fetchState:Q,onRemoveSnackbar:()=>te(void 0)}):null,a.jsxs(To,{children:[a.jsx(No,{windowSize:o,children:u?ra.infoText.companyDetails:ie.quickAccessInfo}),a.jsx(ha,{...B,children:a.jsxs("form",{id:Re(We),onSubmit:na,children:[a.jsx(ht,{sectionId:Ie,companyInfo:oe?.companyInfo,companyViewData:J,companyAddress:ia,isDisabled:r,onCompanyAddressClick:j,allIndustries:d}),a.jsx(lt,{sectionId:je,updateFileStatusById:Te,deleteFileStatusById:ke,companyFiles:ae,companyIncInfo:oe?.incInfo,fileProps:Ne,isDisabled:r}),a.jsx(lo,{sectionId:ve,updateFileStatusById:Te,deleteFileStatusById:ke,companyFiles:ae,companyTaxInfo:oe?.taxDetails,fileProps:Ne,isDisabled:r}),a.jsx(po,{sectionId:De,primaryContact:oa.localData,isDisabled:r}),a.jsx($t,{companyOfficers:le,sectionId:Se,isDisabled:r,onOfficerAddressClick:j}),a.jsx(Do,{data:J,companyInfo:oe?.companyInfo,isDisabled:r,isZeniUser:n,sectionId:Oe,onScheduleClick:y})]})})]}),fa(B.formState.dirtyFields)||Ya(U,J,ae)?a.jsx(xa,{formId:Re(We),primaryBtn:{label:ie.save,isLoading:R.fetchState==="In-Progress",style:{width:we.buttonWidth.value(o)},isDisabled:e.isDisabled!=null},cancelBtn:{label:ie.cancel,style:{width:we.buttonWidth.value(o)},onClick:()=>{B.reset(),D()}}}):null]})}const Re=e=>`${e}_form`,Ye=(e,o)=>{const{companyDetails:l,primaryContact:i,companyOfficerUpdateStatus:n}=e,c=k.getLocalizedStrings().companyPassport,f=l.localData?.incInfo.fileId!=null?[l.localData?.incInfo.fileId]:[],d=l.localData?.taxDetails.fileId!=null?[l.localData?.taxDetails.fileId]:[];return{[Ie]:{...ba(l.localData?.companyInfo,["meetingLink"]),businessModel:{selectedOption:l.localData?.companyInfo?.businessModel,allOptions:c.companyInfo.allBusinessModels},website:l.localData?.companyInfo.website?.toString()??"",industry:{selectedOption:l.localData?.companyInfo.industry,allOptions:o?.map(r=>r.code)},firstMonthOfFY:l.localData?.companyInfo.firstMonthOfFY},[ve]:{...l.localData?.taxDetails,taxesFiledYears:{selectedOptions:l.localData?.taxDetails.taxesFiledYears.map(r=>r.toString())??[],allOptions:Xe().map(r=>r.toString())},einDocument:e.companyFiles.find(r=>r.documentType==="tax_ein"),fileIds:d},[je]:{typeOfInc:{selectedOption:l.localData?.incInfo?.typeOfInc,allOptions:c.companyIncInfo.allTypesOfIncorporation},stateOfInc:{selectedOption:l.localData?.incInfo?.stateOfInc,allOptions:c.companyIncInfo.allStatesOfIncorporation},incDate:l.localData?.incInfo.incDate?.toDate(),certificateOfIncorporation:e.companyFiles.find(r=>r.documentType==="certificate_of_incorporation"),fileIds:f},[De]:{userId:i.localData?.userId,name:{firstName:i.localData?.firstName,lastName:i.localData?.lastName},email:i.localData?.email},[Se]:Object.values(n).filter(r=>r.localData!=null).map(r=>{const u=r.localData;return{userId:u.userId,officerType:u.officerType,name:{firstName:u.firstName,lastName:u.lastName},email:u.email,phone:u.phone}}),[Oe]:{meetingLink:l.localData?.companyInfo.meetingLink?.toString()??""}}},ko=s.div`
554
554
  display: flex;
555
555
  min-height: 100%;
556
556
  flex-direction: column;
@@ -1,4 +1,4 @@
1
- import{a8 as V,gM as $,F as S,V as g,gN as q,a9 as l,ak as v,ab as J,cE as _,cN as W,cK as T,o as E,gO as Z,cI as z,aO as X,D as AA,b$ as gA,gP as BA}from"./index-BGhFLU7w.js";import{a as B,S as c}from"./sentry-C9BQzslk.js";import{n as o}from"./mui-8xKzSljO.js";import{bh as eA}from"./zeni-epic-state-D9zDRHOK.js";import{$ as EA}from"./LabeledAddressValue-B_9lh-_a-B22yf0PW.js";import"./liveblocks-DjrSQGDL.js";import"./core-BCGhSsNP.js";import"./recharts-BnXj3KRI.js";import"./lottie-QlMyEFez.js";import"./analytics-D090O6Wm.js";import"./lexical-CtZYfzDm.js";import"./utils-zYB6z_it.js";(function(){try{var A=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},i=new A.Error().stack;i&&(A._sentryDebugIds=A._sentryDebugIds||{},A._sentryDebugIds[i]="6a910bb4-b2ff-4504-9ba7-563b77eb6564",A._sentryDebugIdIdentifier="sentry-dbid-6a910bb4-b2ff-4504-9ba7-563b77eb6564")}catch{}})();const CA=A=>B.createElement("svg",{width:72,height:72,viewBox:"0 0 72 72",fill:"none",xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink",...A},B.createElement("path",{opacity:.2,d:"M26.3252 5H51.6377C51.6377 5 57.2627 5 57.2627 10.625V64.0625C57.2627 64.0625 57.2627 69.6875 51.6377 69.6875H26.3252C26.3252 69.6875 20.7002 69.6875 20.7002 64.0625V10.625C20.7002 10.625 20.7002 5 26.3252 5Z",fill:"#97C3B9"}),B.createElement("path",{d:"M23.3252 2H48.6377C48.6377 2 54.2627 2 54.2627 7.625V61.0625C54.2627 61.0625 54.2627 66.6875 48.6377 66.6875H23.3252C23.3252 66.6875 17.7002 66.6875 17.7002 61.0625V7.625C17.7002 7.625 17.7002 2 23.3252 2Z",stroke:"#97C3B9",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),B.createElement("path",{d:"M43.0127 2V4.8125C43.0127 5.55842 42.7164 6.27379 42.1889 6.80124C41.6615 7.32868 40.9461 7.625 40.2002 7.625H31.7627C31.0168 7.625 30.3014 7.32868 29.774 6.80124C29.2465 6.27379 28.9502 5.55842 28.9502 4.8125V2",stroke:"#97C3B9",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),B.createElement("g",{style:{mixBlendMode:"darken"}},B.createElement("rect",{width:26,height:26,transform:"translate(22 12)",fill:"url(#pattern0_2225_11447)"}),B.createElement("circle",{cx:42,cy:32,r:12,fill:"url(#pattern1_2225_11447)"})),B.createElement("path",{d:"M39.625 57.875H67.125C67.4565 57.875 67.7745 57.7433 68.0089 57.5089C68.2433 57.2745 68.375 56.9565 68.375 56.625V47.875C68.375 47.5435 68.2433 47.2255 68.0089 46.9911C67.7745 46.7567 67.4565 46.625 67.125 46.625H40.875C40.5435 46.625 40.2255 46.7567 39.9911 46.9911C39.7567 47.2255 39.625 47.5435 39.625 47.875V57.875Z",fill:"#EAF3F1",stroke:"#97C3B9",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),B.createElement("path",{d:"M62.1543 49.8V54.8",stroke:"#97C3B9",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),B.createElement("path",{d:"M60.0629 50.9288L64.2441 53.6713",stroke:"#97C3B9",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),B.createElement("path",{d:"M60.0744 53.6874L64.2344 50.9124",stroke:"#97C3B9",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),B.createElement("path",{d:"M53.9727 49.8V54.8",stroke:"#97C3B9",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),B.createElement("path",{d:"M51.8812 50.9288L56.0625 53.6713",stroke:"#97C3B9",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),B.createElement("path",{d:"M51.8927 53.6874L56.0527 50.9124",stroke:"#97C3B9",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),B.createElement("path",{d:"M45.792 49.8V54.8",stroke:"#97C3B9",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),B.createElement("path",{d:"M43.7006 50.9288L47.8818 53.6713",stroke:"#97C3B9",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),B.createElement("path",{d:"M43.7121 53.6874L47.8721 50.9124",stroke:"#97C3B9",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),B.createElement("defs",null,B.createElement("pattern",{id:"pattern0_2225_11447",patternContentUnits:"objectBoundingBox",width:1,height:1},B.createElement("use",{xlinkHref:"#image0_2225_11447",transform:"scale(0.002)"})),B.createElement("pattern",{id:"pattern1_2225_11447",patternContentUnits:"objectBoundingBox",width:1,height:1},B.createElement("use",{xlinkHref:"#image0_2225_11447",transform:"translate(-0.332832 -0.331172) scale(0.00333133)"})),B.createElement("image",{id:"image0_2225_11447",width:500,height:500,preserveAspectRatio:"none",xlinkHref:"data:image/png;base64,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"}))),QA=A=>B.createElement("svg",{viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",...A},B.createElement("path",{d:"M1.33333 6.16693H2.52343C2.68125 6.16693 2.8326 6.22962 2.94419 6.34122C3.05579 6.45281 3.11848 6.60416 3.11848 6.76198V13.9026C3.11848 14.0604 3.05579 14.2118 2.94419 14.3233C2.8326 14.4349 2.68125 14.4976 2.52343 14.4976H1.33333",stroke:"currentColor",strokeWidth:1.25,strokeLinecap:"round",strokeLinejoin:"round"}),B.createElement("path",{d:"M3.11848 12.7125C7.48556 14.9296 7.27253 14.6374 11.0118 14.6374C12.578 14.6374 13.367 13.6169 13.8276 12.1216V12.1121L14.9624 8.30373V8.29659C15.016 8.11929 15.0275 7.93192 14.9959 7.74939C14.9644 7.56686 14.8907 7.39421 14.7807 7.24519C14.6707 7.09617 14.5274 6.97488 14.3622 6.89099C14.1971 6.8071 14.0146 6.76292 13.8294 6.76196H10.9136C10.7315 6.76197 10.5518 6.72017 10.3883 6.63977C10.2249 6.55937 10.082 6.44253 9.97086 6.29824C9.85968 6.15395 9.7831 5.98606 9.74704 5.80751C9.71097 5.62896 9.71637 5.44452 9.76281 5.26838L10.2876 3.27854C10.3485 3.04716 10.326 2.80175 10.2241 2.58528C10.1223 2.36881 9.94748 2.19507 9.73041 2.09448C9.51334 1.99388 9.2678 1.97285 9.03679 2.03506C8.80577 2.09727 8.604 2.23876 8.4668 2.43475L5.55819 6.55548C5.44832 6.7112 5.30266 6.83826 5.13345 6.92597C4.96425 7.01368 4.77646 7.05947 4.58588 7.05948H3.11848",stroke:"currentColor",strokeWidth:1.25,strokeLinecap:"round",strokeLinejoin:"round"})),e=S.getLocalizedStrings(),p="completeProfilePage",Q="basicDetailsSection",m="addressSection",n=(A,i)=>`${A}.${i}`,fA=({userEmail:A,googleAPIKey:i,twoFactorAuthenticationView:r,saveStatus:G,hasUserEnteredBasicDetails:w,onSave:D,onGetOtp:M,onVerifyOtp:f,onResendOtp:y})=>{const[I,a]=B.useState(!1),[k,Y]=B.useState(!1),t=V({mode:"onChange",reValidateMode:"onChange",defaultValues:{basicDetailsSection:{name:{firstName:"",lastName:""},email:A,dateOfBirth:void 0,phone:"",address:void 0}}}),x=$({control:t.control,name:`${Q}.address`}),{dateFormat:F}=S.getLocalizedStrings(),h=()=>{const C=t.getValues(`${Q}.phone`);C!=null&&C.trim().length>0&&M(C)},b=(C,d)=>{f(C,d)},L=C=>{C!=null&&C.trim().length>0&&y(C)},R=()=>{a(!0)},K=()=>{a(!1)},U=()=>{const C=t.getValues(`${m}`);if(C!=null){const d=BA(C);t.setValue(`${Q}.address`,d)}a(!1)},P=t.handleSubmit(C=>{if(C[Q].phone!=null&&r.otpVerificationStatus.fetchState!=="Completed"||r.otpVerificationStatus.fetchState==="Completed"&&C[Q].phone!=r.phone){h();return}D&&D(C)}),{sendOtpStatus:O,otpVerificationStatus:s,otpChallenge:H,phone:j}=r,N=g.jsxs(rA,{children:[g.jsx(CA,{}),g.jsxs(sA,{children:[g.jsxs(lA,{children:[g.jsx(q,{children:s.fetchState==="Completed"?e.completeProfile.twoFAEnabled:e.completeProfile.enableTwoFA}),g.jsx(l,{controller:s.fetchState==="Completed",children:g.jsx(nA,{})})]}),g.jsx(v,{children:e.completeProfile.enableTwoFADescription})]})]});return g.jsxs(oA,{children:[g.jsxs(IA,{children:[g.jsxs(tA,{children:[I&&g.jsx(iA,{onClick:K}),e.completeProfile.title]}),g.jsx(J,{...t,children:g.jsxs("form",{id:`${p}_form`,onSubmit:P,children:[g.jsx(l,{controller:w===!1,children:g.jsxs(u,{children:[g.jsx(l,{controller:I===!1,children:g.jsxs(c.Fragment,{children:[g.jsx(_,{isDisabled:"disabled",showAdditionalInfoLabel:!1,label:{label:e.common.labels.email,width:168},style:{width:"100%"},text:{type:"text",name:n(Q,"email")}}),g.jsx(W,{isDisabled:void 0,label:{label:e.common.labels.name,width:168},style:{width:"100%"},nameField:{name:n(Q,"name"),placeHolder:{firstName:e.common.placeholder.firstNamePlaceholder,lastName:e.common.placeholder.lastNamePlaceholder,name:e.common.placeholder.namePlaceholder},showFullNameError:!0,registerOptions:{required:!0}},errorInfoLabel:""}),g.jsx(T,{isOptional:!0,label:{label:e.common.labels.dob,width:168},style:{width:"100%"},isDisabled:void 0,dateField:{name:n(Q,"dateOfBirth"),placeholder:e.common.placeholder.dobPlaceholder,dateFormat:F.visual.defaultInput,autoComplete:"off",maxDate:eA().subtract(18,"year")}}),g.jsx(EA,{isOptional:!0,label:{label:e.common.labels.address,width:168},addressValue:{placeholder:e.common.placeholder.addressPlaceholder,address:x,onClick:R},style:{width:"100%",padding:`${E.sp2} ${E.sp2} ${E.sp2} ${E.sp0}`}})]})}),g.jsx(l,{controller:I===!0,children:g.jsx(c.Fragment,{children:g.jsx(Z,{sectionId:m,googleAPIKey:i,isSubPage:!0})})})]})}),g.jsx(u,{children:g.jsx(z,{infoBox:N,label:{label:e.common.labels.phone,width:168},style:{width:"100%",marginTop:E.sp3,padding:E.sp0},text:{name:n(Q,"phone"),placeholder:e.common.placeholder.phonePlaceholder,defaultValue:t.getValues(`${Q}.phone`),autoComplete:"new-password",options:{required:!0}},errorInfoLabel:"",verificationErrorInfoLabel:e.common.errorMessage.invalidPhoneNumber,isPopupOpen:k,productType:"complete_profile",phoneVerifyButtonProps:{otpChallenge:H,showOtpButton:!0,onGetOtp:h,onVerifyOtp:b,onResendOtp:L,isPhoneVerified:s.fetchState==="Completed",phoneVerificationStatus:s,getOtpStatus:O,verifiedPhoneNumber:s.fetchState==="Completed"?j:void 0,openPopup:()=>{Y(!0)},focusNotRequired:!0},bottomText:s.fetchState==="Completed"?"":e.completeProfile.phoneSetupText})})]})})]}),g.jsx(X,{formId:I?void 0:`${p}_form`,primaryBtn:{label:I?e.companyPassport.address.saveAddress:e.common.footer.save,type:I?"button":"submit",onClick:I?U:void 0,isLoading:G.fetchState==="In-Progress"||r.sendOtpStatus.fetchState==="In-Progress"},showCancel:!1})]})},oA=o.div`
1
+ import{a8 as V,gM as $,F as S,V as g,gN as q,a9 as l,ak as v,ab as J,cE as _,cN as W,cK as T,o as E,gO as Z,cI as z,aO as X,D as AA,b$ as gA,gP as BA}from"./index-CK2D3iZ1.js";import{a as B,S as c}from"./sentry-Dm3bm_ok.js";import{n as o}from"./mui-DCr-y2iU.js";import{bh as eA}from"./zeni-epic-state-Cgro3mH-.js";import{$ as EA}from"./LabeledAddressValue-b4zlBP-g-DPs_zAUA.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 A=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},i=new A.Error().stack;i&&(A._sentryDebugIds=A._sentryDebugIds||{},A._sentryDebugIds[i]="c244c5e1-d3ca-443e-9f96-1dc14cb2a3be",A._sentryDebugIdIdentifier="sentry-dbid-c244c5e1-d3ca-443e-9f96-1dc14cb2a3be")}catch{}})();const CA=A=>B.createElement("svg",{width:72,height:72,viewBox:"0 0 72 72",fill:"none",xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink",...A},B.createElement("path",{opacity:.2,d:"M26.3252 5H51.6377C51.6377 5 57.2627 5 57.2627 10.625V64.0625C57.2627 64.0625 57.2627 69.6875 51.6377 69.6875H26.3252C26.3252 69.6875 20.7002 69.6875 20.7002 64.0625V10.625C20.7002 10.625 20.7002 5 26.3252 5Z",fill:"#97C3B9"}),B.createElement("path",{d:"M23.3252 2H48.6377C48.6377 2 54.2627 2 54.2627 7.625V61.0625C54.2627 61.0625 54.2627 66.6875 48.6377 66.6875H23.3252C23.3252 66.6875 17.7002 66.6875 17.7002 61.0625V7.625C17.7002 7.625 17.7002 2 23.3252 2Z",stroke:"#97C3B9",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),B.createElement("path",{d:"M43.0127 2V4.8125C43.0127 5.55842 42.7164 6.27379 42.1889 6.80124C41.6615 7.32868 40.9461 7.625 40.2002 7.625H31.7627C31.0168 7.625 30.3014 7.32868 29.774 6.80124C29.2465 6.27379 28.9502 5.55842 28.9502 4.8125V2",stroke:"#97C3B9",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),B.createElement("g",{style:{mixBlendMode:"darken"}},B.createElement("rect",{width:26,height:26,transform:"translate(22 12)",fill:"url(#pattern0_2225_11447)"}),B.createElement("circle",{cx:42,cy:32,r:12,fill:"url(#pattern1_2225_11447)"})),B.createElement("path",{d:"M39.625 57.875H67.125C67.4565 57.875 67.7745 57.7433 68.0089 57.5089C68.2433 57.2745 68.375 56.9565 68.375 56.625V47.875C68.375 47.5435 68.2433 47.2255 68.0089 46.9911C67.7745 46.7567 67.4565 46.625 67.125 46.625H40.875C40.5435 46.625 40.2255 46.7567 39.9911 46.9911C39.7567 47.2255 39.625 47.5435 39.625 47.875V57.875Z",fill:"#EAF3F1",stroke:"#97C3B9",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),B.createElement("path",{d:"M62.1543 49.8V54.8",stroke:"#97C3B9",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),B.createElement("path",{d:"M60.0629 50.9288L64.2441 53.6713",stroke:"#97C3B9",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),B.createElement("path",{d:"M60.0744 53.6874L64.2344 50.9124",stroke:"#97C3B9",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),B.createElement("path",{d:"M53.9727 49.8V54.8",stroke:"#97C3B9",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),B.createElement("path",{d:"M51.8812 50.9288L56.0625 53.6713",stroke:"#97C3B9",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),B.createElement("path",{d:"M51.8927 53.6874L56.0527 50.9124",stroke:"#97C3B9",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),B.createElement("path",{d:"M45.792 49.8V54.8",stroke:"#97C3B9",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),B.createElement("path",{d:"M43.7006 50.9288L47.8818 53.6713",stroke:"#97C3B9",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),B.createElement("path",{d:"M43.7121 53.6874L47.8721 50.9124",stroke:"#97C3B9",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),B.createElement("defs",null,B.createElement("pattern",{id:"pattern0_2225_11447",patternContentUnits:"objectBoundingBox",width:1,height:1},B.createElement("use",{xlinkHref:"#image0_2225_11447",transform:"scale(0.002)"})),B.createElement("pattern",{id:"pattern1_2225_11447",patternContentUnits:"objectBoundingBox",width:1,height:1},B.createElement("use",{xlinkHref:"#image0_2225_11447",transform:"translate(-0.332832 -0.331172) scale(0.00333133)"})),B.createElement("image",{id:"image0_2225_11447",width:500,height:500,preserveAspectRatio:"none",xlinkHref:"data:image/png;base64,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"}))),QA=A=>B.createElement("svg",{viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",...A},B.createElement("path",{d:"M1.33333 6.16693H2.52343C2.68125 6.16693 2.8326 6.22962 2.94419 6.34122C3.05579 6.45281 3.11848 6.60416 3.11848 6.76198V13.9026C3.11848 14.0604 3.05579 14.2118 2.94419 14.3233C2.8326 14.4349 2.68125 14.4976 2.52343 14.4976H1.33333",stroke:"currentColor",strokeWidth:1.25,strokeLinecap:"round",strokeLinejoin:"round"}),B.createElement("path",{d:"M3.11848 12.7125C7.48556 14.9296 7.27253 14.6374 11.0118 14.6374C12.578 14.6374 13.367 13.6169 13.8276 12.1216V12.1121L14.9624 8.30373V8.29659C15.016 8.11929 15.0275 7.93192 14.9959 7.74939C14.9644 7.56686 14.8907 7.39421 14.7807 7.24519C14.6707 7.09617 14.5274 6.97488 14.3622 6.89099C14.1971 6.8071 14.0146 6.76292 13.8294 6.76196H10.9136C10.7315 6.76197 10.5518 6.72017 10.3883 6.63977C10.2249 6.55937 10.082 6.44253 9.97086 6.29824C9.85968 6.15395 9.7831 5.98606 9.74704 5.80751C9.71097 5.62896 9.71637 5.44452 9.76281 5.26838L10.2876 3.27854C10.3485 3.04716 10.326 2.80175 10.2241 2.58528C10.1223 2.36881 9.94748 2.19507 9.73041 2.09448C9.51334 1.99388 9.2678 1.97285 9.03679 2.03506C8.80577 2.09727 8.604 2.23876 8.4668 2.43475L5.55819 6.55548C5.44832 6.7112 5.30266 6.83826 5.13345 6.92597C4.96425 7.01368 4.77646 7.05947 4.58588 7.05948H3.11848",stroke:"currentColor",strokeWidth:1.25,strokeLinecap:"round",strokeLinejoin:"round"})),e=S.getLocalizedStrings(),p="completeProfilePage",Q="basicDetailsSection",m="addressSection",n=(A,i)=>`${A}.${i}`,fA=({userEmail:A,googleAPIKey:i,twoFactorAuthenticationView:r,saveStatus:G,hasUserEnteredBasicDetails:w,onSave:D,onGetOtp:M,onVerifyOtp:f,onResendOtp:y})=>{const[I,a]=B.useState(!1),[k,Y]=B.useState(!1),t=V({mode:"onChange",reValidateMode:"onChange",defaultValues:{basicDetailsSection:{name:{firstName:"",lastName:""},email:A,dateOfBirth:void 0,phone:"",address:void 0}}}),x=$({control:t.control,name:`${Q}.address`}),{dateFormat:F}=S.getLocalizedStrings(),h=()=>{const C=t.getValues(`${Q}.phone`);C!=null&&C.trim().length>0&&M(C)},L=(C,d)=>{f(C,d)},b=C=>{C!=null&&C.trim().length>0&&y(C)},R=()=>{a(!0)},K=()=>{a(!1)},U=()=>{const C=t.getValues(`${m}`);if(C!=null){const d=BA(C);t.setValue(`${Q}.address`,d)}a(!1)},P=t.handleSubmit(C=>{if(C[Q].phone!=null&&r.otpVerificationStatus.fetchState!=="Completed"||r.otpVerificationStatus.fetchState==="Completed"&&C[Q].phone!=r.phone){h();return}D&&D(C)}),{sendOtpStatus:O,otpVerificationStatus:s,otpChallenge:H,phone:j}=r,N=g.jsxs(rA,{children:[g.jsx(CA,{}),g.jsxs(sA,{children:[g.jsxs(lA,{children:[g.jsx(q,{children:s.fetchState==="Completed"?e.completeProfile.twoFAEnabled:e.completeProfile.enableTwoFA}),g.jsx(l,{controller:s.fetchState==="Completed",children:g.jsx(nA,{})})]}),g.jsx(v,{children:e.completeProfile.enableTwoFADescription})]})]});return g.jsxs(oA,{children:[g.jsxs(IA,{children:[g.jsxs(tA,{children:[I&&g.jsx(iA,{onClick:K}),e.completeProfile.title]}),g.jsx(J,{...t,children:g.jsxs("form",{id:`${p}_form`,onSubmit:P,children:[g.jsx(l,{controller:w===!1,children:g.jsxs(u,{children:[g.jsx(l,{controller:I===!1,children:g.jsxs(c.Fragment,{children:[g.jsx(_,{isDisabled:"disabled",showAdditionalInfoLabel:!1,label:{label:e.common.labels.email,width:168},style:{width:"100%"},text:{type:"text",name:n(Q,"email")}}),g.jsx(W,{isDisabled:void 0,label:{label:e.common.labels.name,width:168},style:{width:"100%"},nameField:{name:n(Q,"name"),placeHolder:{firstName:e.common.placeholder.firstNamePlaceholder,lastName:e.common.placeholder.lastNamePlaceholder,name:e.common.placeholder.namePlaceholder},showFullNameError:!0,registerOptions:{required:!0}},errorInfoLabel:""}),g.jsx(T,{isOptional:!0,label:{label:e.common.labels.dob,width:168},style:{width:"100%"},isDisabled:void 0,dateField:{name:n(Q,"dateOfBirth"),placeholder:e.common.placeholder.dobPlaceholder,dateFormat:F.visual.defaultInput,autoComplete:"off",maxDate:eA().subtract(18,"year")}}),g.jsx(EA,{isOptional:!0,label:{label:e.common.labels.address,width:168},addressValue:{placeholder:e.common.placeholder.addressPlaceholder,address:x,onClick:R},style:{width:"100%",padding:`${E.sp2} ${E.sp2} ${E.sp2} ${E.sp0}`}})]})}),g.jsx(l,{controller:I===!0,children:g.jsx(c.Fragment,{children:g.jsx(Z,{sectionId:m,googleAPIKey:i,isSubPage:!0})})})]})}),g.jsx(u,{children:g.jsx(z,{infoBox:N,label:{label:e.common.labels.phone,width:168},style:{width:"100%",marginTop:E.sp3,padding:E.sp0},text:{name:n(Q,"phone"),placeholder:e.common.placeholder.phonePlaceholder,defaultValue:t.getValues(`${Q}.phone`),autoComplete:"new-password",options:{required:!0}},errorInfoLabel:"",verificationErrorInfoLabel:e.common.errorMessage.invalidPhoneNumber,isPopupOpen:k,productType:"complete_profile",phoneVerifyButtonProps:{otpChallenge:H,showOtpButton:!0,onGetOtp:h,onVerifyOtp:L,onResendOtp:b,isPhoneVerified:s.fetchState==="Completed",phoneVerificationStatus:s,getOtpStatus:O,verifiedPhoneNumber:s.fetchState==="Completed"?j:void 0,openPopup:()=>{Y(!0)},focusNotRequired:!0},bottomText:s.fetchState==="Completed"?"":e.completeProfile.phoneSetupText})})]})})]}),g.jsx(X,{formId:I?void 0:`${p}_form`,primaryBtn:{label:I?e.companyPassport.address.saveAddress:e.common.footer.save,type:I?"button":"submit",onClick:I?U:void 0,isLoading:G.fetchState==="In-Progress"||r.sendOtpStatus.fetchState==="In-Progress"},showCancel:!1})]})},oA=o.div`
2
2
  display: flex;
3
3
  flex-direction: column;
4
4
  min-height: 100vh;
@@ -1 +1 @@
1
- import{d3 as p,aW as d,V as r,b3 as l,o as f}from"./index-BGhFLU7w.js";import{a}from"./sentry-C9BQzslk.js";import"./liveblocks-DjrSQGDL.js";import"./core-BCGhSsNP.js";import"./recharts-BnXj3KRI.js";import"./zeni-epic-state-D9zDRHOK.js";import"./mui-8xKzSljO.js";import"./lottie-QlMyEFez.js";import"./analytics-D090O6Wm.js";import"./lexical-CtZYfzDm.js";import"./utils-zYB6z_it.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]="63e8f71f-8f92-4403-8c95-36d1605bda5e",e._sentryDebugIdIdentifier="sentry-dbid-63e8f71f-8f92-4403-8c95-36d1605bda5e")}catch{}})();const u="https://storage.googleapis.com/zeni-apis.appspot.com/data/confetti_sfx.mp3",E=({showConfetti:e})=>{const[t,o]=a.useState(e),[s,i]=p(u,e),[n]=d("ConfettiSuccess");return a.useEffect(()=>{e&&o(!0)},[e]),a.useEffect(()=>{t&&s===!1&&i(!0)},[t,s,i]),r.jsx(r.Fragment,{children:t&&s&&n!=null?r.jsx(l,{style:{position:"absolute",width:"100%",height:"100vh",top:f.sp0,left:f.sp0,zIndex:5},onComplete:()=>{i(!1),o(!1)},animationData:n,loop:0,play:!0,goTo:0,rendererSettings:{preserveAspectRatio:"xMidYMid slice"}}):null})};export{E as default};
1
+ import{d3 as p,aW as d,V as r,b3 as l,o as f}from"./index-CK2D3iZ1.js";import{a}from"./sentry-Dm3bm_ok.js";import"./liveblocks-CofSwFWW.js";import"./core-D2k9JfRf.js";import"./recharts-CIKvFUT6.js";import"./zeni-epic-state-Cgro3mH-.js";import"./mui-DCr-y2iU.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:{},t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="63e8f71f-8f92-4403-8c95-36d1605bda5e",e._sentryDebugIdIdentifier="sentry-dbid-63e8f71f-8f92-4403-8c95-36d1605bda5e")}catch{}})();const u="https://storage.googleapis.com/zeni-apis.appspot.com/data/confetti_sfx.mp3",E=({showConfetti:e})=>{const[t,o]=a.useState(e),[s,i]=p(u,e),[n]=d("ConfettiSuccess");return a.useEffect(()=>{e&&o(!0)},[e]),a.useEffect(()=>{t&&s===!1&&i(!0)},[t,s,i]),r.jsx(r.Fragment,{children:t&&s&&n!=null?r.jsx(l,{style:{position:"absolute",width:"100%",height:"100vh",top:f.sp0,left:f.sp0,zIndex:5},onComplete:()=>{i(!1),o(!1)},animationData:n,loop:0,play:!0,goTo:0,rendererSettings:{preserveAspectRatio:"xMidYMid slice"}}):null})};export{E as default};
@@ -1,4 +1,4 @@
1
- import{d as He,q as v,aA as Y,cD as Ye,V as t,bz as Qe,aM as $,m as qe,cm as ie,cn as se,co as le,c$ as Je,aO as Ke,y as Q,F as x,b$ as Xe,o,d0 as Ge,bQ as S,cf as de,c as w,b5 as ce,ag as pe,ak as J,br as Ze,cY as me,d1 as et,p as z,d2 as ue,cV as he}from"./index-BGhFLU7w.js";import{a as g}from"./sentry-C9BQzslk.js";import{n as r}from"./mui-8xKzSljO.js";import"./liveblocks-DjrSQGDL.js";import"./core-BCGhSsNP.js";import"./recharts-BnXj3KRI.js";import"./zeni-epic-state-D9zDRHOK.js";import"./lottie-QlMyEFez.js";import"./analytics-D090O6Wm.js";import"./lexical-CtZYfzDm.js";import"./utils-zYB6z_it.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},n=new e.Error().stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="8e9df659-61d5-45b8-a369-b62f3877c18b",e._sentryDebugIdIdentifier="sentry-dbid-8e9df659-61d5-45b8-a369-b62f3877c18b")}catch{}})();const tt=({bankAccountNumberOrIban:e,accountNumberOrIbanLabel:n,accountTypeLabel:s,accountType:l,bankName:m,routingNumberOrSwiftCode:p,accountName:f,routingNumberOrSwiftCodeLabel:j,onDeleteClick:u})=>{const b=v(),h=x.getLocalizedStrings().spendManagement.billPay.vendorCreation,C=t.jsxs(ot,{children:[t.jsxs(I,{children:[t.jsx(N,{children:j}),t.jsx(T,{children:p})]}),t.jsxs(I,{children:[t.jsx(N,{children:h.achDetails.bankName}),t.jsx(T,{children:m})]}),t.jsxs(I,{children:[t.jsx(N,{children:n}),t.jsx(T,{children:e})]}),t.jsxs(I,{children:[t.jsx(N,{children:s}),t.jsx(T,{children:typeof l=="string"&&l!==""?et(l.toLowerCase()):l??""})]})]});return t.jsxs(it,{size:b,children:[t.jsxs(nt,{children:[t.jsxs(J,{children:[`${m} ${h.paymentAccountDetailConnector} ${e.slice(-4)}`,t.jsx(S,{title:C,placement:"top",children:t.jsx(lt,{children:t.jsx(dt,{})})})]}),t.jsx(rt,{children:f??h.emptyPlaceholderString})]}),t.jsx(at,{children:t.jsx(S,{enterDelay:600,display:"flex",title:h.deleteAccountTooltip,placement:"top",children:t.jsx(st,{onClick:k=>{k.stopPropagation(),u()},"data-testid":$("delete-vendor-account-section",f),children:t.jsx(ct,{})})})})]})},ot=r.div`
1
+ import{d as He,q as v,aA as Y,cD as Ye,V as t,bz as Qe,aM as $,m as qe,cm as ie,cn as se,co as le,c$ as Je,aO as Ke,y as Q,F as x,b$ as Xe,o,d0 as Ge,bQ as S,cf as de,c as w,b5 as ce,ag as pe,ak as J,br as Ze,cY as me,d1 as et,p as z,d2 as ue,cV as he}from"./index-CK2D3iZ1.js";import{a as g}from"./sentry-Dm3bm_ok.js";import{n as r}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:{},n=new e.Error().stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="8e9df659-61d5-45b8-a369-b62f3877c18b",e._sentryDebugIdIdentifier="sentry-dbid-8e9df659-61d5-45b8-a369-b62f3877c18b")}catch{}})();const tt=({bankAccountNumberOrIban:e,accountNumberOrIbanLabel:n,accountTypeLabel:s,accountType:l,bankName:m,routingNumberOrSwiftCode:p,accountName:f,routingNumberOrSwiftCodeLabel:j,onDeleteClick:u})=>{const b=v(),h=x.getLocalizedStrings().spendManagement.billPay.vendorCreation,C=t.jsxs(ot,{children:[t.jsxs(I,{children:[t.jsx(N,{children:j}),t.jsx(T,{children:p})]}),t.jsxs(I,{children:[t.jsx(N,{children:h.achDetails.bankName}),t.jsx(T,{children:m})]}),t.jsxs(I,{children:[t.jsx(N,{children:n}),t.jsx(T,{children:e})]}),t.jsxs(I,{children:[t.jsx(N,{children:s}),t.jsx(T,{children:typeof l=="string"&&l!==""?et(l.toLowerCase()):l??""})]})]});return t.jsxs(it,{size:b,children:[t.jsxs(nt,{children:[t.jsxs(J,{children:[`${m} ${h.paymentAccountDetailConnector} ${e.slice(-4)}`,t.jsx(S,{title:C,placement:"top",children:t.jsx(lt,{children:t.jsx(dt,{})})})]}),t.jsx(rt,{children:f??h.emptyPlaceholderString})]}),t.jsx(at,{children:t.jsx(S,{enterDelay:600,display:"flex",title:h.deleteAccountTooltip,placement:"top",children:t.jsx(st,{onClick:k=>{k.stopPropagation(),u()},"data-testid":$("delete-vendor-account-section",f),children:t.jsx(ct,{})})})})]})},ot=r.div`
2
2
  display: flex;
3
3
  flex-wrap: wrap;
4
4
  gap: ${o.sp1};
@@ -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-BGhFLU7w.js";import{n as i}from"./mui-8xKzSljO.js";import{a as p}from"./sentry-C9BQzslk.js";import{bL as se,bP as At,bh as Lt,bJ as vt,bK as we,bI as It}from"./zeni-epic-state-D9zDRHOK.js";import{x as Ft}from"./LabeledControlledCheckBoxField-CeMM7Ci3-RHUW6sf_.js";import"./liveblocks-DjrSQGDL.js";import"./core-BCGhSsNP.js";import"./recharts-BnXj3KRI.js";import"./lottie-QlMyEFez.js";import"./analytics-D090O6Wm.js";import"./lexical-CtZYfzDm.js";import"./utils-zYB6z_it.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]="27759754-b244-4d7f-a5cd-9f9f24627efe",e._sentryDebugIdIdentifier="sentry-dbid-27759754-b244-4d7f-a5cd-9f9f24627efe")}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-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)`
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-BGhFLU7w.js";import{a as S}from"./sentry-C9BQzslk.js";import{n}from"./mui-8xKzSljO.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-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)`
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-BGhFLU7w.js";import{a as u}from"./sentry-C9BQzslk.js";import{n as o}from"./mui-8xKzSljO.js";import"./liveblocks-DjrSQGDL.js";import"./core-BCGhSsNP.js";import"./recharts-BnXj3KRI.js";import"./zeni-epic-state-D9zDRHOK.js";import"./lottie-QlMyEFez.js";import"./analytics-D090O6Wm.js";import"./lexical-CtZYfzDm.js";import"./utils-zYB6z_it.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-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`
2
2
  display: flex;
3
3
  width: 100%;
4
4
  flex-direction: column;
@@ -0,0 +1 @@
1
+ import{V as o}from"./index-CK2D3iZ1.js";import i from"./CustomerOnboardingNoStepsPage-B-pbVz1_-Bu3QH6hN.js";import e from"./CustomerOnboardingPage-CUj-SOSh-DqZnrHrN.js";import"./sentry-Dm3bm_ok.js";import"./liveblocks-CofSwFWW.js";import"./core-D2k9JfRf.js";import"./recharts-CIKvFUT6.js";import"./zeni-epic-state-Cgro3mH-.js";import"./mui-DCr-y2iU.js";import"./lottie-BO8FHl2Q.js";import"./analytics-DCCTWnnc.js";import"./lexical-BEs89iUy.js";import"./utils-CVsOBiWJ.js";import"./PaymentAccountSetupBillingAddressSection-C8QwChEK-DSZP0_gt.js";import"./SetUpAccountSection-BAsI7p1f-Dy9q8TNa.js";import"./CustomerOnboardingDetailPageSkeleton-hF2fjE7f-Bx4vnxk_.js";import"./CompanyOfficerDetailsSection-mKcrRkb5-BdmL4WQb.js";import"./LabeledAddressValueField-DpcuqwLy-CTnD7CIG.js";import"./LabeledCreatableSingleSelectField-D_oWjB4_-A2URoXC_.js";import"./LabeledDocumentField-dtnakMLl-DM4CLrZI.js";import"./QBOSetupSection-BTjj7g98-CXsc6nTM.js";import"./QBOConnectionDialog-Bv6unk3C-C69fuiCc.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]="63b6280f-57fa-488b-9b90-a284554cbfd3",t._sentryDebugIdIdentifier="sentry-dbid-63b6280f-57fa-488b-9b90-a284554cbfd3")}catch{}})();const k=t=>t.currentTenant?.productSettings.isOtherProductsEnabled===!0?o.jsx(i,{...t}):o.jsx(e,{...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-BGhFLU7w.js";import{n as r}from"./mui-8xKzSljO.js";import{S}from"./sentry-C9BQzslk.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-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)`
2
2
  /* Size is controlled by styles.root prop */
3
3
  `,q=r.div`
4
4
  position: relative;
@@ -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-BGhFLU7w.js";import{n as c}from"./mui-8xKzSljO.js";import{a as $}from"./sentry-C9BQzslk.js";import{s as ze,o as Ee}from"./PaymentAccountSetupBillingAddressSection-BiU8tQnm-CY8MBOF0.js";import{f as _e}from"./CustomerOnboardingDetailPageSkeleton-CBYo4VQn-lNg5MP87.js";import"./liveblocks-DjrSQGDL.js";import"./core-BCGhSsNP.js";import"./recharts-BnXj3KRI.js";import"./zeni-epic-state-D9zDRHOK.js";import"./lottie-QlMyEFez.js";import"./analytics-D090O6Wm.js";import"./lexical-CtZYfzDm.js";import"./utils-zYB6z_it.js";import"./SetUpAccountSection-C1EnJv1V-BqOATLaf.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]="a0182263-7110-496c-8cd4-8dfea9cca21a",e._sentryDebugIdIdentifier="sentry-dbid-a0182263-7110-496c-8cd4-8dfea9cca21a")}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-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`
2
2
  display: flex;
3
3
  flex-direction: column;
4
4
  align-items: center;