@zeniai/web-cockpit-ui 1.15.29-qa → 1.15.30-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.
- package/dist/assets/{ACHDetailsPage-D0jUmxS6-BsyksSdq.js → ACHDetailsPage-BR3rG--e-D2_LFn30.js} +1 -1
- package/dist/assets/{AIPerformancePage-DQyvDXPN-BhEY3MME.js → AIPerformancePage-DncCC-Dz-D3G6sKpR.js} +23 -23
- package/dist/assets/AccountInfoPage-CD5N14l8-POhlTbPm.js +18 -0
- package/dist/assets/{AccountInfoPageContent-B7DASXbm-CfgZBo7w.js → AccountInfoPageContent-D-dwMWkI-Dbq4xdEd.js} +7 -7
- package/dist/assets/{AccountLockedInfoModal-Cr7_xUUY-BunT5t6u.js → AccountLockedInfoModal-Bu3jEa0r-DRCGU_-r.js} +1 -1
- package/dist/assets/{AccountReconDetailsDrawerPage-CrmjKiV7-CCewa5Cq.js → AccountReconDetailsDrawerPage-BL7C23h8-C0V-huzv.js} +1 -1
- package/dist/assets/{AccountRow-C3tJgM2h-D6bVgxu0.js → AccountRow-B5Gqqqtn-B2ab5e7e.js} +1 -1
- package/dist/assets/{AccountsPromoCardStack-DhZiDNjz-CUXP-w9w.js → AccountsPromoCardStack-BqyCa3EH-C6VYK7eB.js} +1 -1
- package/dist/assets/{AddAddressForCardDrawer-D0veIubx-DE4ZTuXm.js → AddAddressForCardDrawer-BwmafnJT-Ba-xRLW9.js} +1 -1
- package/dist/assets/{AddToWalletPage-DC8BGIUj-C43rBeCR.js → AddToWalletPage-tRVFR3Rw-CIboPJdI.js} +1 -1
- package/dist/assets/{AgingReportsPage-tUsuhbO0-bnYXqPGM.js → AgingReportsPage-BO9qovKL-m3dKXsEf.js} +1 -1
- package/dist/assets/{AllUserItems-CscMl1JD-C7e2pIGq.js → AllUserItems-C5uzbqu0-OYaG4ozf.js} +3 -3
- package/dist/assets/{ApAgingDetailPage-CjpIU0Dh-DVxjWGcS.js → ApAgingDetailPage-Dw4d844_-DnXvQrmX.js} +2 -2
- package/dist/assets/{AppBasePage-DMwbBUJi-CwfgOYvf.js → AppBasePage-BMHvSY21-DiAzqDoX.js} +1 -1
- package/dist/assets/{AppDrawerContent-CUw-1lGW-Bl_56_R0.js → AppDrawerContent-C5KqoZ6_-DSRTCara.js} +1 -1
- package/dist/assets/{ApprovalRulesSettingsPage-DEySZg2e-vnOjmRfC.js → ApprovalRulesSettingsPage-nEW4hufu-LHTAH2YF.js} +1 -1
- package/dist/assets/{ArAgingChart-B99-xh0r-CE8d9vMX.js → ArAgingChart-2eGhMrCs-DnvN-laJ.js} +1 -1
- package/dist/assets/{ArAgingDetailPage-BMs-sIjj-BlvHfa9N.js → ArAgingDetailPage-CE_nDD48-CIv1_heH.js} +5 -5
- package/dist/assets/{AttachmentView-D8FFMCan-HliG1O2K.js → AttachmentView-DdX3DEyN-D4xdrOUi.js} +1 -1
- package/dist/assets/{BankAccountSection-DwcbHNr4-BzUR7jwr.js → BankAccountSection-Db8KCDjh-7fAQc6F_.js} +1 -1
- package/dist/assets/{BankAccountWarningSection-CKlrNRtW-BYb315Ci.js → BankAccountWarningSection-DLKyK-pN-WvpV5xZt.js} +1 -1
- package/dist/assets/{BankConnectionsSettingsPage-CnQX_eIy-HH3R7Ajn.js → BankConnectionsSettingsPage-BcMQdf1D-C4cSmkMm.js} +1 -1
- package/dist/assets/{BillDetailPage-DoiN5bdp-DbLCl74c.js → BillDetailPage-BOoE3r9n-C_-O6tkI.js} +1 -1
- package/dist/assets/{BillPayApprovalRuleDetailPage-C9rO8GVf-B2zmu5XN.js → BillPayApprovalRuleDetailPage-C-M8i0tF-ErR7MbAL.js} +1 -1
- package/dist/assets/{BillPayApprovalRulesPage-DUoGmtQA--vbDuy75.js → BillPayApprovalRulesPage-cqq9M7pi-CM1gLpvJ.js} +1 -1
- package/dist/assets/{BillPayPromoPage-pb2Uoote-B5BN33a7.js → BillPayPromoPage-CHu-sh9I-b6nXHlbY.js} +5 -5
- package/dist/assets/{BillPaySetUpPage-CCJ-y0-e-DCM3LQPY.js → BillPaySetUpPage-ICbZgQZR-DcttrcBB.js} +1 -1
- package/dist/assets/{BillingSettingsPage-BtZx7XsQ-C47DMEKk.js → BillingSettingsPage-DYdJ7J5w-nKMt_tqW.js} +8 -8
- package/dist/assets/{BillsBulkReviewDrawerPage-ihLtPXjK-ypmC5555.js → BillsBulkReviewDrawerPage-Cr-JmUCA-LZ1I5uJ7.js} +1 -1
- package/dist/assets/BoxItem-ChtGcSH1-BjQod1Sp.js +53 -0
- package/dist/assets/{BusinessVerificationPage-B5N2bKw0-_SqX-bfV.js → BusinessVerificationPage-CyDHfWqO-s-eVbnix.js} +1 -1
- package/dist/assets/{CardNumberSubText-CzY1q13C-CizrzI0W.js → CardNumberSubText-Dxhe-tx2-BQPvyrmB.js} +1 -1
- package/dist/assets/{CashbackDetailPage-BfbarB85-BdOeoCBo.js → CashbackDetailPage-BTR9tfZP-DZBth57E.js} +1 -1
- package/dist/assets/{ChargeCardDetailPage-ZbiEFEmP-hQXgQLFI.js → ChargeCardDetailPage-D_dF0Nv_-Dp_tBUAA.js} +1 -1
- package/dist/assets/{ChargeCardListPage-TZjLs-P6-eI9Hf6Ml.js → ChargeCardListPage-wA3_NOPD-DpPgkdeF.js} +1 -1
- package/dist/assets/{ChargeCardListTable-8xOxHHdR-CR-3V18C.js → ChargeCardListTable-8Bgd9bzh-yIMe5GBQ.js} +1 -1
- package/dist/assets/{ChargeCardPaymentHistoryPage-C59HJbX_-3d2oett1.js → ChargeCardPaymentHistoryPage-mcW9jr2k-CIwmXpSr.js} +1 -1
- package/dist/assets/{ChargeCardPromoPage-BStN0hwL-D9LQIDC6.js → ChargeCardPromoPage-BPyHy6jq-EG0Y0jIo.js} +1 -1
- package/dist/assets/{ChargeCardSetupPage-BV9CZbZA-BPZP5yda.js → ChargeCardSetupPage-BxAJ2HVU-UIApVhks.js} +1 -1
- package/dist/assets/{ChargeCardStatementsPage-BM0-VzSs-mRSCcWqp.js → ChargeCardStatementsPage-CZzDSv5y-C_fNd-Va.js} +1 -1
- package/dist/assets/{CheckDepositDrawerPage-Ck_FJENk-hl5iVjGB.js → CheckDepositDrawerPage-iPcp79Wu-DjNqRhvh.js} +1 -1
- package/dist/assets/{CollapsableReportTable-Bp12uWDe-DCcqYieC.js → CollapsableReportTable-Ck29YUyD-C4PUByzW.js} +1 -1
- package/dist/assets/{CompanyOfficerDetailsSection-BpXbh4hd-UFoGVIgI.js → CompanyOfficerDetailsSection-CEpMwx3h-D1MF6UPf.js} +1 -1
- package/dist/assets/{CompanyPassportCard-DdLCLtke-BGOpz-dk.js → CompanyPassportCard-CCfVNfP0-D2OWbLG1.js} +1 -1
- package/dist/assets/{CompanyPassportPage-C_YEVe_6-BiGPLpzo.js → CompanyPassportPage-S00SGN0f-DChjXEwN.js} +1 -1
- package/dist/assets/{CompleteProfile-IidaBize-b749vlPR.js → CompleteProfile-C0Qk6P6p-B7DE2SVz.js} +1 -1
- package/dist/assets/{ConfettiBurst-BBQSP4O0-BqtJoXRE.js → ConfettiBurst-BFSc4yf1-Bb3-1CUU.js} +1 -1
- package/dist/assets/{ConstrainedInnerElement-BeIpAPjB-B9GW0-ZB.js → ConstrainedInnerElement-BeIpAPjB-XcmcSCP3.js} +1 -1
- package/dist/assets/{CreateOrEditVendorPage-DRIcvWIi-CogPKExQ.js → CreateOrEditVendorPage-CmnpkgTu-B-wx5zV_.js} +1 -1
- package/dist/assets/{CreditCardPaymentDrawerPage-CP16DSkY-DBQVPHsA.js → CreditCardPaymentDrawerPage-wPiHCF7z-Dzpo3z2e.js} +1 -1
- package/dist/assets/{CurrencySelectField-Dh8_yxO9-DgfCVwca.js → CurrencySelectField-CxIflyKX-BGGnxKIK.js} +1 -1
- package/dist/assets/{CustomerOnboardingActivationPage-CruwsOaY-bMYxmKcT.js → CustomerOnboardingActivationPage-CE5B6BET-BPLeksRp.js} +1 -1
- package/dist/assets/CustomerOnboardingContainerPage-CyY14sjC-U3ET6sDq.js +1 -0
- package/dist/assets/{CustomerOnboardingDetailPageSkeleton-D5vI0fK5-CeoPYW8S.js → CustomerOnboardingDetailPageSkeleton--jL1SUOo-DgoL19Wk.js} +1 -1
- package/dist/assets/{CustomerOnboardingNoStepsPage-CeP1FYaR-CyeUt-4y.js → CustomerOnboardingNoStepsPage-DtAEP0LR-BBA3-H-1.js} +1 -1
- package/dist/assets/{CustomerOnboardingPage-POOYVKHb-C2HlGYiA.js → CustomerOnboardingPage-8fLLsJWV-Cl7RVN5-.js} +1 -1
- package/dist/assets/{CustomerOnboardingProductSuitePage-CsGY-9DW-DSONUNKZ.js → CustomerOnboardingProductSuitePage-IUm6QKOQ-BgC9YDnn.js} +1 -1
- package/dist/assets/{Dashboard-DVGSm94S-ek6XXFNQ.js → Dashboard-CeBbTIiJ-BKwU5QeJ.js} +1 -1
- package/dist/assets/{DashboardReportPage-BTH4sqly-TVndyRux.js → DashboardReportPage-DVIwO5-L-pH5FWjLZ.js} +1 -1
- package/dist/assets/{DashboardSidebarBackgroundAnimation-P4dMLhdR-BWSiAIFD.js → DashboardSidebarBackgroundAnimation-CntzllmW-BTAOBj42.js} +1 -1
- package/dist/assets/{DepositAccTransactionItem-CdGb-mdn-cQFddvm2.js → DepositAccTransactionItem-B7ErTe-9-ClHyxdVn.js} +1 -1
- package/dist/assets/{DepositAccTransactionListPage-D_4GDpPX-na9ZYz4u.js → DepositAccTransactionListPage-Czm5uOxb-BGyjwBM2.js} +1 -1
- package/dist/assets/{DomesticWireDetailsPage-CyR8VR17-DugxqkzP.js → DomesticWireDetailsPage-B3Cib987-CARF9i1d.js} +1 -1
- package/dist/assets/{DownloadOverlay-XjCXyoWD-DF9S8c0i.js → DownloadOverlay-CS_4lZDV-DTBvhOHI.js} +1 -1
- package/dist/assets/{DrawerPage-BrFA4rZ6-UJWihtY9.js → DrawerPage-CrCkJ_bE-fj3woT0N.js} +1 -1
- package/dist/assets/{EditPeoplePage-C7oQnEDx-BCrgtoBd.js → EditPeoplePage-CbH2FQwr-Dc9u9Y3N.js} +1 -1
- package/dist/assets/{EditReimbursementDetailPage-BKCA_tOp-Dqrmnfhn.js → EditReimbursementDetailPage-DisSqLai-DnOSaIlo.js} +1 -1
- package/dist/assets/EntityDetailPage-CPfVH0Qx-DTuhKWD_.js +18 -0
- package/dist/assets/{EntitySummarySection-jiCl0IQB-W-pLI3jz.js → EntitySummarySection-CmVlq7pY-umvtllpK.js} +1 -1
- package/dist/assets/{ExpenseAutomationOverviewPage-D5FqhZ4C-0g3pkGW7.js → ExpenseAutomationOverviewPage-DuWbC5EZ-DbINW0ra.js} +1 -1
- package/dist/assets/{ExpenseAutomationPage-BxePbH-d-vBewGYnV.js → ExpenseAutomationPage-DBW9Urqw-BLqr1_km.js} +8 -8
- package/dist/assets/{ExpressPayPage-Ce1ICmZX-CRiREa0_.js → ExpressPayPage-DZHOM942-BLmAB792.js} +1 -1
- package/dist/assets/{FeaturePreviewPage-BPy4OV1_-DF2KgXAr.js → FeaturePreviewPage-DHomR4Oi-DzHHPfTu.js} +1 -1
- package/dist/assets/{FollowStepsSection-Din7sNsE-Bka2bXBE.js → FollowStepsSection-C8Zv_X5E-BSPaXUZH.js} +1 -1
- package/dist/assets/{GlobalReviewListPage-DdBS6gtg-Da3bbg93.js → GlobalReviewListPage-BFR_WZdE-jG6gei6c.js} +1 -1
- package/dist/assets/{InformationCardStack-D2m2hpoN-D_cEWCU-.js → InformationCardStack-C39QsHiY-B_SVxEcf.js} +1 -1
- package/dist/assets/{InsightsCardStack-CwPV_ZFA-BZGSOjt3.js → InsightsCardStack-Bi2tusdE-DhrD945r.js} +4 -4
- package/dist/assets/{InsightsSection-C99GeNPc-ZyHAgCre.js → InsightsSection-CKYv2Mnk-CMDaS26i.js} +2 -2
- package/dist/assets/{IntegrationsSettingsPage-Cj3wec0l-D_cXiP1p.js → IntegrationsSettingsPage-Bj9lE3dy-C8DRNLeo.js} +1 -1
- package/dist/assets/{InternationalWireSwiftDetailsPage-BUMPAKcc-BGwcC4Fv.js → InternationalWireSwiftDetailsPage-HPxS_eP2-Bi_9u824.js} +1 -1
- package/dist/assets/{InternationalWireVerificationPage-sMa3CFzS-BgO_L4E_.js → InternationalWireVerificationPage-0DjZSpXZ-BFgqlc0H.js} +1 -1
- package/dist/assets/{InviteFormPage-BllyKSzh-CbPDkxQX.js → InviteFormPage-DyUgmNt6-yyWn8Yk_.js} +1 -1
- package/dist/assets/{InvitePageListView-C3RyUNhD-DTm4mduT.js → InvitePageListView-PbTTJA74-w58xk_rt.js} +1 -1
- package/dist/assets/{InvitePeoplePage-CKyzJq5O-D03raYQC.js → InvitePeoplePage-CD1AM3Js-2Vxumr-a.js} +1 -1
- package/dist/assets/{InvoiceUploadSection-Cy_eY3C3-BDj5n3WW.js → InvoiceUploadSection-DPN2hpHj-BXu1QXvI.js} +1 -1
- package/dist/assets/{IssueChargeCardPage-JGrU6BE3-BIhGV4kp.js → IssueChargeCardPage-WeFAdE9k-BxW4fu66.js} +1 -1
- package/dist/assets/{LabeledAddressValue-BI2stF8S-CaJDqmpl.js → LabeledAddressValue-BEiVNwJh-6EnDaIvC.js} +1 -1
- package/dist/assets/{LabeledAddressValueField-BeN4saF8-cvVvhiNT.js → LabeledAddressValueField-CeyT4xDd-BvfbCZea.js} +1 -1
- package/dist/assets/{LabeledControlledCheckBoxField-1cRVmzfC-Con0KtwH.js → LabeledControlledCheckBoxField-9wqNy7sL-BEJkWulK.js} +1 -1
- package/dist/assets/{LabeledCountryMultiSelectField-Dq1kA0bH-oPhoIJP3.js → LabeledCountryMultiSelectField-S16_1kXP-UlJPnrtq.js} +1 -1
- package/dist/assets/{LabeledCreatableSingleSelectField-CA4tIjc4-X_2W3wq_.js → LabeledCreatableSingleSelectField-B-KMzhH--CvW70JID.js} +1 -1
- package/dist/assets/{LabeledDocumentField-BwDcnGXz-DSgbEu-e.js → LabeledDocumentField-9m7Nhuth-CkOtgSAA.js} +1 -1
- package/dist/assets/{LabeledDropDownFormattedTextField-BiX_zDWp-CIPHFmOc.js → LabeledDropDownFormattedTextField-B_jJYbeK-PbQrO6eI.js} +1 -1
- package/dist/assets/{LabeledText-DBGBNWrC-DTS4NY-4.js → LabeledText-B1BxC4mo-CDiqUP7l.js} +1 -1
- package/dist/assets/{LabeledUserSingleSelectWithSubtitlesField-c48OKP3k-Y_LbewjK.js → LabeledUserSingleSelectWithSubtitlesField-D0OTplnZ-ClcTuuYx.js} +1 -1
- package/dist/assets/{LabeledZeniRolesDropDownField-BledLq8r-BaHojzPa.js → LabeledZeniRolesDropDownField-DruyoV6I-gDHLkFnU.js} +1 -1
- package/dist/assets/{LinkJETransactionPage-T3YbAuGo-DBebcBZG.js → LinkJETransactionPage-_GJ-x5FQ-BvKwuUsJ.js} +9 -9
- package/dist/assets/{LockCardPage-CCbSDbLg-ZpT_TeWc.js → LockCardPage-BiembyjL-BQgtTNap.js} +1 -1
- package/dist/assets/{LowBalancePopup-Dcu_nflD-D0ffoSvY.js → LowBalancePopup-DF0W3ZsB-DXIPCFb8.js} +1 -1
- package/dist/assets/MagicLinkACHDetailsPage-p0Nwa4g8-DTvViT4t.js +1 -0
- package/dist/assets/{MagicLinkDomesticWireDetailsPage-Ci1FYKWc-DvcIGyVo.js → MagicLinkDomesticWireDetailsPage-B_wnHSrq-Cz4K_Hkr.js} +1 -1
- package/dist/assets/MagicLinkInternationalWireDetailsPage-BohPD43K-CrX6QPLC.js +1 -0
- package/dist/assets/{MagicLinkSuccessPage-Cj9eBkUy-B-MUloz8.js → MagicLinkSuccessPage-RJUcSgy8-CnQ9391t.js} +1 -1
- package/dist/assets/{MagicLinkTitleSection-DYgXcZiu-oQ6QmgCO.js → MagicLinkTitleSection-Dlvzbcxc-07YJ3nz_.js} +1 -1
- package/dist/assets/MailingDetailsSection-BT5P_beR-Chn0pdYc.js +21 -0
- package/dist/assets/{MyBankConnectionsSettingsPage-CA6Wlg9P-sBjfoTFh.js → MyBankConnectionsSettingsPage-BSErzm4Y-BPCz_uBa.js} +1 -1
- package/dist/assets/{MyPendingActivationChargeCardListPage-vuCK_pay-seLRkwA2.js → MyPendingActivationChargeCardListPage-CC02lTyz-CeD7DjCL.js} +1 -1
- package/dist/assets/{MyProfileSettingsPage-ivKa4qXq-DtHk96aF.js → MyProfileSettingsPage-BM5j8vuZ-D6xmAoOb.js} +1 -1
- package/dist/assets/{NavBarWithPicker-CaEVqLYu-Mt6iac90.js → NavBarWithPicker-BsrNGnWt-CVqlkT83.js} +1 -1
- package/dist/assets/{NavigationArrow-CE75i93Q-lI7yTcn_.js → NavigationArrow-BXIVh8h9-DmlDNFK6.js} +1 -1
- package/dist/assets/{NavigationDots-DSmdsJan-D7Dn9zqB.js → NavigationDots-CqAMUVd8-DlLV84YV.js} +1 -1
- package/dist/assets/{NewGlobalMerchantPage-D1t1Omz1-033pVM92.js → NewGlobalMerchantPage-BJ5efhOX-45v-8VWf.js} +1 -1
- package/dist/assets/{NoDataChart-DWJgpsRV-GxCWUXak.js → NoDataChart-YIESVuNz-DxR56cWr.js} +1 -1
- package/dist/assets/{NoDataTable-CfVHlNP8-Cjys4hCI.js → NoDataTable-CHeZXDKw-DlmRPcbA.js} +1 -1
- package/dist/assets/{NotFoundPage-BRQ7JAuQ-_Kq4eHg7.js → NotFoundPage-DsvOs3ie-CxEfyKrP.js} +6 -6
- package/dist/assets/{NotificationSettingsPage-BwEA5Wca-BAxN5Vtu.js → NotificationSettingsPage-DVfgPnm5-C-9LCnBN.js} +1 -1
- package/dist/assets/{NotificationsListConfig-CKAbHHpg-Ba-UUMpa.js → NotificationsListConfig-DpYbR8ec-BZk6IMbB.js} +1 -1
- package/dist/assets/{NotificationsPage-CEh-UBpl-DprBm1Gh.js → NotificationsPage-DvWc70qe-CLGgDCba.js} +1 -1
- package/dist/assets/{OpExByVendorPage-CTee-X2c-BLCgbLI6.js → OpExByVendorPage-H76M8qaf-DmH_-lZf.js} +1 -1
- package/dist/assets/{OverlayContainerPage-D4QU0p4o-fzlmX50I.js → OverlayContainerPage-D4QU0p4o-COyWocbB.js} +1 -1
- package/dist/assets/{PandLWithForecastPage-Bx5J8Jkw-DGqUboJd.js → PandLWithForecastPage-sw9N690f-DE9ix_Dt.js} +2 -2
- package/dist/assets/{PaymentAccountSetupBillingAddressSection-vh9LcTSB-B2K7pIhZ.js → PaymentAccountSetupBillingAddressSection-D_rfYltd-BrO8Jg79.js} +1 -1
- package/dist/assets/{PeoplePage-B7dwoi8R-Cc3PgS1X.js → PeoplePage-D0ePO3d9-CxNhgJ1D.js} +1 -1
- package/dist/assets/{Preview-TD25geE8.js → Preview-CTKmuGb_.js} +1 -1
- package/dist/assets/{ProductsCarousel-CpPUyzF7-MkqtUAeu.js → ProductsCarousel-BcFZaXQq-D-hD1KoW.js} +1 -1
- package/dist/assets/{PromoBaseCards-Dl_042jf-gFv3X1j8.js → PromoBaseCards-BglIl0tN-CTFaf0_7.js} +1 -1
- package/dist/assets/{QBOConnectionDialog-CuGzMWxh-C314aSf5.js → QBOConnectionDialog-D9BGyyB3-D-hyd18h.js} +1 -1
- package/dist/assets/{QBOSetupSection-PANAGPOA-CNiEupWo.js → QBOSetupSection-C6L-OXzd-Cy1MLcyD.js} +1 -1
- package/dist/assets/{ReimbursementApprovalRuleDetailPage-BN9aWFrw-7DCi0li7.js → ReimbursementApprovalRuleDetailPage-tKu15I_o-BXX_iX2c.js} +2 -2
- package/dist/assets/{ReimbursementApprovalRulesPage-C8EnDVZP-rOVUZi1n.js → ReimbursementApprovalRulesPage-r2WRV6kv-kJbuC_Ut.js} +1 -1
- package/dist/assets/{ReimbursementDetailPage-DsD9fJEP-CfnkzNmN.js → ReimbursementDetailPage-jJxS8CSo-DCuxr8dd.js} +1 -1
- package/dist/assets/{ReimbursementPromoPage-C6ZhcnHL-G41Su_DX.js → ReimbursementPromoPage-CrKB_OxS-Ba_Ei159.js} +1 -1
- package/dist/assets/{ReimbursementSetUpPage-Bpf71REk-CbPDM4Br.js → ReimbursementSetUpPage-COWnzuHW-C1onmBtq.js} +4 -4
- package/dist/assets/{ReimbursementsBulkReviewDrawerPage-DBzyyzc5-CbZb1Ll3.js → ReimbursementsBulkReviewDrawerPage-jpGSx2Pg-BNjvse6f.js} +1 -1
- package/dist/assets/{ReloadCard-D8vHHU5l-DQ03UepM.js → ReloadCard-Dl1P55OC-PqG6EjQo.js} +1 -1
- package/dist/assets/{ReportTableViewSelector-BGUS_EOK-BBwBgVZu.js → ReportTableViewSelector-CPU5qvuC-D9eIuNWz.js} +1 -1
- package/dist/assets/{ReportsPage-7AfDaHtI-TwXiOtk9.js → ReportsPage-FhO_9i3v-BqM0631G.js} +5 -5
- package/dist/assets/{RevenueChart-BwmL3D54-622TMw2i.js → RevenueChart-Bju5kT8K-CLZ32HGB.js} +1 -1
- package/dist/assets/{ReviewDetailsPage-k4QAybX2-RBQhjfai.js → ReviewDetailsPage-CaEI-TGi-Bc73PbER.js} +53 -53
- package/dist/assets/{ReviewOverlay-DueknjXC-B12qd42l.js → ReviewOverlay-l69rpwr7-Dr7rxtnO.js} +1 -1
- package/dist/assets/{RoleWithToolTip-JIflStMs-B6__Ogz6.js → RoleWithToolTip-C4vCwcT8-C6dR3RYf.js} +1 -1
- package/dist/assets/{ScheduleDetailsFixedAssetsPage-DKD4n8OH-CsnuQ1cV.js → ScheduleDetailsFixedAssetsPage-BRsO23kh-dDbnlnbP.js} +1 -1
- package/dist/assets/{ScheduleDetailsPage-B3c9vFiq-lIq_po0z.js → ScheduleDetailsPage-pKJSKheu-CETheSQx.js} +3 -3
- package/dist/assets/{ScheduleSequenceTable-dniltDqh-prEj6nJM.js → ScheduleSequenceTable-CeHDyMVV-BA7tEH_s.js} +1 -1
- package/dist/assets/{ScreenRoutes-DmS9mnp_.js → ScreenRoutes-D50KKBnw.js} +1 -1
- package/dist/assets/{SetUpAccountSection-dQy1ylAS-DxTSmKH2.js → SetUpAccountSection-rRjmVlU7-VDyxWMzU.js} +1 -1
- package/dist/assets/{SignIn-CfgXHpxt-Ux-9VU3Q.js → SignIn-zX3S7vuf-B6rD6GnF.js} +9 -9
- package/dist/assets/{SignInScreen-9QoqsnNl.js → SignInScreen-BiRGIzoF.js} +1 -1
- package/dist/assets/{SpendManagementListViewPage-D7buHVht-5VhObY49.js → SpendManagementListViewPage-B452IhbL-TWCl13gF.js} +3 -3
- package/dist/assets/{SpendManagementPerTabPage-DdFSZjQ0-DRMhBpB_.js → SpendManagementPerTabPage-BDYtqf0E-ik6oQrCv.js} +1 -1
- package/dist/assets/{SpendManagementSection-CKaS7I-j-I0086kUa.js → SpendManagementSection-BBotB3Xj-DXZ-WUxC.js} +1 -1
- package/dist/assets/{StatementItem-D6RxD4P2-DV_o8MKk.js → StatementItem-hqxspUme-BUYqqJPu.js} +2 -2
- package/dist/assets/StatementsPage-CL35o_9R-TfMK-pd1.js +58 -0
- package/dist/assets/{StatusSwitcher-B0FtlfFf-D4mXIaDE.js → StatusSwitcher-LSy5NlOs-Cp5AKxg-.js} +1 -1
- package/dist/assets/{SubTabSwitcher-DmV2fMPv-DDcdxW1V.js → SubTabSwitcher-BB80NFhP-2jy_qhgj.js} +1 -1
- package/dist/assets/SummaryCard-wJqTtNFt-BsTr0JdI.js +1 -0
- package/dist/assets/{TaskManagementPage-DFzE-ZKA-BpjxUvFO.js → TaskManagementPage-CnB395ci-B2Pevaa4.js} +1 -1
- package/dist/assets/{TimeRangeSwitcher-DTNA8U_P-vCMNkMQY.js → TimeRangeSwitcher-B1jJf76U-DtYpu1mK.js} +11 -11
- package/dist/assets/{TimeframeSwitcher-BxrcpeVc-B6217ekz.js → TimeframeSwitcher-CTyaOUPX-CUY8xGFr.js} +1 -1
- package/dist/assets/{TimeframeSwitcherWithToggle-Bey7Ur6y-C7DSjGao.js → TimeframeSwitcherWithToggle-D48PqfUX-BOxnTPru.js} +4 -4
- package/dist/assets/{TopExCard-DusKBxd3-BASMRY9t.js → TopExCard-D-0SNihe-ZpE9qsPN.js} +1 -1
- package/dist/assets/{TopExDetailPage-CGmklvDK-DLx-qUkZ.js → TopExDetailPage-2Wo3VpBY-DOpuhpkX.js} +5 -5
- package/dist/assets/{TransactionActivityLogPage-JYq6KI76-CL71JDwh.js → TransactionActivityLogPage-Bh3D2NmZ-DXQUHRmX.js} +1 -1
- package/dist/assets/{TransactionDetailPage-BXt0iZ7l-BNiwNsQy.js → TransactionDetailPage-NZEjiM1T-BGAbWz8k.js} +1 -1
- package/dist/assets/{TransactionList-DP661oJz-BFg5qxvf.js → TransactionList-DUgCrZWV-BsOtXGXL.js} +7 -7
- package/dist/assets/{TransactionListBig-WJlzcWYP-CCdcKryl.js → TransactionListBig-BXR8xSqt-DS-QLlyN.js} +1 -1
- package/dist/assets/{TransactionListPage-D0-fRME1-5tnjhioB.js → TransactionListPage-BhY1YX8v-D8gtIhpi.js} +2 -2
- package/dist/assets/{TransactionVendorDetailPage-jvafc4cV-CXkzsZol.js → TransactionVendorDetailPage-D0ZIWPbx-BQMZxgAV.js} +1 -1
- package/dist/assets/{TransferDrawerPage-Djud_Goy-BvhVsqjd.js → TransferDrawerPage-BP4KhD5c-DNhK3jLa.js} +1 -1
- package/dist/assets/{TreasuryOverviewPage-BxuNNp2Z-Bg2AnpcA.js → TreasuryOverviewPage-CrYY5MJP-CSAwDWYp.js} +1 -1
- package/dist/assets/{TreasuryPromoPage-CYRA-PZW-Dwp-Kcgx.js → TreasuryPromoPage-DZ4Kyqzq-C0Hayxbd.js} +1 -1
- package/dist/assets/{TreasuryStatementsPage-BDD7oQaj-5XBglvwW.js → TreasuryStatementsPage-BaId882i-TGXLFLOt.js} +1 -1
- package/dist/assets/{TreasuryTaxLetterPage-BdEhgdSA-Bgh6AcWi.js → TreasuryTaxLetterPage-BD36dset-CgUwGPhz.js} +1 -1
- package/dist/assets/{TrendChart-CMXEv68i-DC000tUk.js → TrendChart-CS2cE4wE-BAjN56AW.js} +2 -2
- package/dist/assets/{TrendWithTransactions-zXEGbsVb-DgsT5KlM.js → TrendWithTransactions-BNti0lYr-CupF-ouh.js} +3 -3
- package/dist/assets/{UncategorizedAccountsMappingPage-BPDK7owI-DX8Fbg2v.js → UncategorizedAccountsMappingPage-BsRepV5l-CqKwtcl-.js} +5 -5
- package/dist/assets/{UnitIntegrationPage-D_F0oMUu-kwCn2LZu.js → UnitIntegrationPage-DqzH4Opa-DVf3e9Kc.js} +1 -1
- package/dist/assets/{UploadAdditionalDocumentOverlay-DFQFVIWx-DCm6gjHR.js → UploadAdditionalDocumentOverlay-BIzKt99W-DhZCGDG3.js} +1 -1
- package/dist/assets/{Vendor2FAPopup-DsUXjTAV-B3GXIcPW.js → Vendor2FAPopup-BzQXTs0l-BcKh-GwF.js} +1 -1
- package/dist/assets/VendorACHDetailsPage-D1DvwT9e-H_zR5eA1.js +1 -0
- package/dist/assets/{VendorDetailPage-v53y8sON-BoOuCnR4.js → VendorDetailPage-C9YSL-3_-DZGykXKE.js} +1 -1
- package/dist/assets/VendorDomesticWireDetailsPage-CqnTEv1M-BPuNMFYE.js +1 -0
- package/dist/assets/{VendorFiling1099EditablePage-Dor-pZOp-r3SNn4rM.js → VendorFiling1099EditablePage-CmnR7Dwc-DgLszr9z.js} +32 -32
- package/dist/assets/{VendorFirstReviewPage-Cn7WNLEm-EZFrIVYn.js → VendorFirstReviewPage-CAjuo6H2-DZOfU9yk.js} +1 -1
- package/dist/assets/{VendorInternationalWireDetailsPage-dNFkO-SJ-Bgkn6ewA.js → VendorInternationalWireDetailsPage-Ca1voldE-HFASmH_V.js} +1 -1
- package/dist/assets/VendorInternationalWireSwiftDetailsPage-B17rmnsI-xxPWVLYY.js +1 -0
- package/dist/assets/{VendorsAccountsSection-RJt3aILM-DJgMK8t5.js → VendorsAccountsSection-BY-jWDwa-DAUUORK8.js} +1 -1
- package/dist/assets/{VerifyDevice-mDoeg6Dk-RhtaLyWM.js → VerifyDevice-DSN3CxFh-Bi-kGmEN.js} +1 -1
- package/dist/assets/{VideoPlayer-BcrYqHHj-DfgUgeFg.js → VideoPlayer-BzBvO4D1-DXw1tjxz.js} +2 -2
- package/dist/assets/{VideoPopup-DdpEDBAh-C7IpQ23i.js → VideoPopup-BB6qYshg-Jl0GqeqK.js} +3 -3
- package/dist/assets/{WarningsDrawerPage-BcYmTO5U-CyrcjeVv.js → WarningsDrawerPage-B4NIhdau-CF-G0BuB.js} +1 -1
- package/dist/assets/{ZeniAccountDetailPage-DVD5D6lb-utVeckgq.js → ZeniAccountDetailPage-CbMnZZXn-CK0OqnqL.js} +1 -1
- package/dist/assets/{ZeniAccountListViewPage-BwMBqn8d-Ctj-VdUr.js → ZeniAccountListViewPage-DuuiC_LT-D_lNPUTn.js} +1 -1
- package/dist/assets/{ZeniAccountNavBarPieces-Cgnw6bfi-DDuNBemh.js → ZeniAccountNavBarPieces-CLNviNEx-Ct9cJGJf.js} +1 -1
- package/dist/assets/{ZeniAccountPromoPage-huShnIqL-DVajoJsH.js → ZeniAccountPromoPage-Bce5rHc6-vVu4g89P.js} +1 -1
- package/dist/assets/{ZeniAccountSetupPage-DN9UOt3e-Bmfndrcm.js → ZeniAccountSetupPage-Cwr7kLE1-CoBt9y0X.js} +1 -1
- package/dist/assets/{ZeniCopyright-BgPtS8Cn-Dz6vwF5E.js → ZeniCopyright-CPV8cCJj-JmJFcE0S.js} +1 -1
- package/dist/assets/{ZeniTransferAmountSlider-BUw419PL-Drg5KxV4.js → ZeniTransferAmountSlider-CSJnweYQ-CLfwGJf8.js} +1 -1
- package/dist/assets/{add-to-wallet-DgdBD8_G-BY1g6LWR.js → add-to-wallet-DgdBD8_G-Bh5GmIs8.js} +1 -1
- package/dist/assets/{analytics-deCUYv6O.js → analytics-C7qRceeD.js} +1 -1
- package/dist/assets/{analyticsHelper-BuvUCPRb-Dhr-3cLH.js → analyticsHelper-CeIe3crh-ruFTPZIn.js} +1 -1
- package/dist/assets/{analyticsHelper-B0HBcUOS.js → analyticsHelper-DdyBOS3c.js} +1 -1
- package/dist/assets/{arrow-south-east-round-PEovUgvH-l8vOaMtF.js → arrow-south-east-round-PEovUgvH-DKJtOEDh.js} +1 -1
- package/dist/assets/{auto-transfer-rule-mbafm5D3-CPaY5hQ_.js → auto-transfer-rule-mbafm5D3-BtLYBoTe.js} +1 -1
- package/dist/assets/{chartTypes-CmkcIJwp-Dw0BFF7X.js → chartTypes-Cpjk7Uyr-BFVm6fL4.js} +1 -1
- package/dist/assets/{commonDimensions-4sQbZHS3-BWjtQwRH.js → commonDimensions-BiY7_JPE-DvdrP9mk.js} +1 -1
- package/dist/assets/{commonTypes-xwvnsO_k-AWE0IUQl.js → commonTypes-B1ylXa_P-CHogy7bq.js} +1 -1
- package/dist/assets/{constants-DKA52eYI.js → constants-BSSpHQLd.js} +1 -1
- package/dist/assets/{core-BfdQ3W3i.js → core-BdfL-uia.js} +1 -1
- package/dist/assets/{dash.all.min-BatiK8tF.js → dash.all.min-BHbNWZhu.js} +1 -1
- package/dist/assets/{detailCommon-B2fQpJgd-DTs7y59U.js → detailCommon-C7usWt5l-CDexfvl6.js} +2 -2
- package/dist/assets/{downloadPdf-OR-QEskO-C1DvIKXY.js → downloadPdf-DRVFJQsk-Cc-9O8x2.js} +1 -1
- package/dist/assets/{empty-Ckopdbqj.js → empty-B_wp4jbR.js} +1 -1
- package/dist/assets/{empty-3tUyFVJa.js → empty-BfoY8avI.js} +1 -1
- package/dist/assets/{epic-bwVpC0z3.js → epic-BcpbmT-B.js} +1 -1
- package/dist/assets/{gift-box-Cmt9OgIZ-DtyIzDYF.js → gift-box-Cmt9OgIZ-CTA3oEEm.js} +1 -1
- package/dist/assets/{graphic-no-data-l-DU4J8fDt-D56cz6Rd.js → graphic-no-data-l-DU4J8fDt-B-BNuWuf.js} +1 -1
- package/dist/assets/{graphic-no-data-net-burn-l-CzmycA0m-C7ptzcGQ.js → graphic-no-data-net-burn-l-CzmycA0m-BKSa_BmO.js} +1 -1
- package/dist/assets/{handshake-BPg58FML-Cb_Iq8zA.js → handshake-BPg58FML-BspGwKvx.js} +1 -1
- package/dist/assets/{helper-nrbLfb1z-DIeRJT9t.js → helper-Bwr_8pRi-BezSaeYe.js} +1 -1
- package/dist/assets/{index-CKjPgmYK.js → index-2U9XpSIT.js} +1 -1
- package/dist/assets/{index-DTsIi-EB.js → index-97wdo8qZ.js} +1 -1
- package/dist/assets/{index-D3yjGJrn.js → index-BE47hrTe.js} +1 -1
- package/dist/assets/{index-V6jIIx9c.js → index-BPZ0_UEx.js} +7 -7
- package/dist/assets/{index-Cvbl-MGq.js → index-Blb3rESX.js} +1 -1
- package/dist/assets/{index-Q_V1WjIh.js → index-CLP97b5b.js} +1 -1
- package/dist/assets/{index-Cok412UJ.js → index-DQGwrG6i.js} +1 -1
- package/dist/assets/{lexical-C3B1wTQQ.js → lexical-CNiclLj0.js} +1 -1
- package/dist/assets/{liveblocks-BojMpfZr.js → liveblocks-Lf8LVeH9.js} +1 -1
- package/dist/assets/{lottie-C8ug7xYl.js → lottie-BAIk2ri4.js} +1 -1
- package/dist/assets/mapLoadingInProgressToTreeNode-DkvfU-AQ-BbnpqVZY.js +1 -0
- package/dist/assets/{mapSectionWithAcOnlyToTreeNode-DViahlE6-CHFSmBY0.js → mapSectionWithAcOnlyToTreeNode-COWbEMKO-BV9EavoR.js} +1 -1
- package/dist/assets/mapSpacerToTreeNode-Csr6iLbE-BUQp66A_.js +1 -0
- package/dist/assets/mapTimeframeBalancesToTreeNode-DWah9nq--BLW1ZcCy.js +1 -0
- package/dist/assets/mapTimeframeBalancesToTreeNode-KUx30-z6-BBnKHsqs.js +1 -0
- package/dist/assets/{mapTimeframeHeaderLoadingInProgressToTreeNode-DKSP4IMH-CnRCpe-k.js → mapTimeframeHeaderLoadingInProgressToTreeNode-mmJVrGj0-CganeL6g.js} +1 -1
- package/dist/assets/{mui-CcAbIvqz.js → mui-Dg-yyLd1.js} +1 -1
- package/dist/assets/{page-detail-CWX5S47F-Dtc_Xfll.js → page-detail-CWX5S47F-C9V7NZCx.js} +1 -1
- package/dist/assets/{panelSelectedMixin-Cddsb26L-D8VpgGue.js → panelSelectedMixin-Cddsb26L-BcWH15GY.js} +1 -1
- package/dist/assets/{radio-default-CiSgisfh-BuCOxVnn.js → radio-default-CiSgisfh-7Dm34YkL.js} +1 -1
- package/dist/assets/{react-CjZneeZu.js → react-BYCJSJzc.js} +2 -2
- package/dist/assets/{react-CXUEpDgH.js → react-CK1-HLiI.js} +1 -1
- package/dist/assets/{react-BqRcBBdN.js → react-CLIsPthr.js} +1 -1
- package/dist/assets/{react-1GNwkcEv.js → react-CXimFM-A.js} +1 -1
- package/dist/assets/{react-CfJa26Ws.js → react-CmD2oDdV.js} +1 -1
- package/dist/assets/{react-BiIWcEaQ.js → react-RbEMA7cG.js} +1 -1
- package/dist/assets/{react-DAmUDf_n.js → react-XQWanSnz.js} +1 -1
- package/dist/assets/{react-BbDJbYi6.js → react-afxvtM8P.js} +1 -1
- package/dist/assets/{recharts-CH4lD6YZ.js → recharts-DVyIhUUu.js} +1 -1
- package/dist/assets/{sentry-C9gjpXHu.js → sentry-nVlxguQq.js} +1 -1
- package/dist/assets/{shield-DOlUxcFf-BYQt2gyQ.js → shield-DOlUxcFf-DoCKBSgZ.js} +1 -1
- package/dist/assets/toCOABalancesWithID-BOdn6oVS-6ioKjlBn.js +1 -0
- package/dist/assets/{toChartData-CWuGepY4-BvWY1wy9.js → toChartData--znXzhow-CzN3PXN2.js} +1 -1
- package/dist/assets/{uploadAttachment-Drk1oIZw-BPDTalPC.js → uploadAttachment-B3eC-lyz-B0nHI4xk.js} +1 -1
- package/dist/assets/{uploadReceipts-Dge0cNF1-BQWfyg0r.js → uploadReceipts-Dge0cNF1-dwFMCGnO.js} +1 -1
- package/dist/assets/{url-GoO98ssj.js → url-3XfBQAPr.js} +1 -1
- package/dist/assets/{url-EuhNbk_E.js → url-A_ZszWlu.js} +1 -1
- package/dist/assets/{useLongPress-GCK2COYQ-Dpmkib6M.js → useLongPress-GCK2COYQ-BmH9C_mp.js} +1 -1
- package/dist/assets/{usp-line-BBd1wKwW-DebSG3AQ.js → usp-line-BBd1wKwW-iPZVfl3G.js} +1 -1
- package/dist/assets/{utils-1UbrxmNv.js → utils-Bn_xI0qf.js} +1 -1
- package/dist/assets/{zeni-epic-state-yTwK6eAd.js → zeni-epic-state-DwXlACp-.js} +3 -3
- package/dist/index.html +1 -1
- package/package.json +2 -2
- package/dist/assets/AccountInfoPage-CQNGh3_A-8CGo7zl4.js +0 -18
- package/dist/assets/BoxItem-CggSwHNx-XFR7cXyR.js +0 -53
- package/dist/assets/CustomerOnboardingContainerPage-s1UpiNNV-I1MjTXGI.js +0 -1
- package/dist/assets/EntityDetailPage-DfRYXWR2-B1hhfTXR.js +0 -18
- package/dist/assets/MagicLinkACHDetailsPage-DqxFWlcN-B9JCI0X6.js +0 -1
- package/dist/assets/MagicLinkInternationalWireDetailsPage-DjVTnPdg-DYWtS9ON.js +0 -1
- package/dist/assets/MailingDetailsSection-NHD_RPvO-C9yYvlKS.js +0 -21
- package/dist/assets/StatementsPage-BVDChKXj-BUU1cgO_.js +0 -58
- package/dist/assets/SummaryCard-DVks1oex-M8-I8cNs.js +0 -1
- package/dist/assets/VendorACHDetailsPage-D_yVSMEu-CuiHjR4v.js +0 -1
- package/dist/assets/VendorDomesticWireDetailsPage-zhf4AerL-BjrgFDGE.js +0 -1
- package/dist/assets/VendorInternationalWireSwiftDetailsPage-B6Tuhksp-BF5mvkEQ.js +0 -1
- package/dist/assets/mapLoadingInProgressToTreeNode-saf-eikX-_6D9Xq4-.js +0 -1
- package/dist/assets/mapSpacerToTreeNode-C1XdqapG-Z0VmGG-z.js +0 -1
- package/dist/assets/mapTimeframeBalancesToTreeNode-BgzCaFB8-gUJ1JSVo.js +0 -1
- package/dist/assets/mapTimeframeBalancesToTreeNode-Cxi3Mx1s-BerM6DYj.js +0 -1
- package/dist/assets/toCOABalancesWithID-C0EdFFOl-Wbx2xnxl.js +0 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{d as dt,J as ut,aR as Te,V as a,af as Z,a9 as pt,cX as mt,az as ft,cH as yt,aZ as ve,aQ as Oe,ge as ht,i as gt,bD as xt,ab as St,cI as wt,cr as Ct,cs as Dt,ct as bt,m as Tt,ad as vt,aS as Ot,o as c,y as F,an as Ve,F as je,gf as It,fC as Ie,f1 as Nt,R as $t,x as kt,am as Ae,H as Pt,a as Ft,u as N}from"./index-V6jIIx9c.js";import{a as V}from"./sentry-C9gjpXHu.js";import{n as d}from"./mui-CcAbIvqz.js";import{ET as Vt,bi as H,Fo as jt,Fn as At,Fp as _t}from"./zeni-epic-state-yTwK6eAd.js";import{r as Lt,z as Et}from"./CompanyOfficerDetailsSection-BpXbh4hd-UFoGVIgI.js";import"./liveblocks-BojMpfZr.js";import"./core-BfdQ3W3i.js";import"./recharts-CH4lD6YZ.js";import"./lottie-C8ug7xYl.js";import"./analytics-deCUYv6O.js";import"./lexical-C3B1wTQQ.js";import"./utils-1UbrxmNv.js";import"./helper-nrbLfb1z-DIeRJT9t.js";import"./LabeledAddressValueField-BeN4saF8-cvVvhiNT.js";import"./LabeledCountryMultiSelectField-Dq1kA0bH-oPhoIJP3.js";import"./LabeledCreatableSingleSelectField-CA4tIjc4-X_2W3wq_.js";import"./LabeledDocumentField-BwDcnGXz-DSgbEu-e.js";import"./commonTypes-xwvnsO_k-AWE0IUQl.js";(function(){try{var t=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},S=new t.Error().stack;S&&(t._sentryDebugIds=t._sentryDebugIds||{},t._sentryDebugIds[S]="d97fdcab-85c6-4207-94f7-af744593a681",t._sentryDebugIdIdentifier="sentry-dbid-d97fdcab-85c6-4207-94f7-af744593a681")}catch{}})();const x={width:new F(343,580,726),titleWidth:new F(343,580,726,826),subTitlePaddingTop:new F(12,N[3]),subTitlePaddingBottom:new F(N[3],N[3]),verificationDetailsRowGap:new F(12,N[5],N[5]),termsPaddingLeftRight:new F(N[0],N[3])},Bt={stepTitle:new Pt("h6Regular","h5Regular")},Ne="businessVerificationPage",b="companyDetails",T="companyOfficerDetails",{commonSetUp:{businessVerification:s},common:{settings:zt,currency:$e,footer:ke,strings:{empty:Rt}}}=je.getLocalizedStrings(),va=({businessVerificationDetails:t,allNationalityCountries:S,verficationDetailsFetchState:$,isRefreshingViewInBackground:L,filesEndPoint:i,authParams:E,productType:m,allIndustries:j,companyTitles:B,maxInsuredAmount:f,isDisabled:k,isSettings:r=!1,isOverlay:h=!1,analytics:g,isStepInProgress:w=!1,isTreasuryTransferInitiated:X=!1,transferDetails:z,onOverlayClose:te,onAddressClick:ae,onRegisteredAddressClick:Le,onBackClick:A,onGetOtp:Ee,onVerifyOtp:Be,onResendOtp:ze,onSendForVerificationClick:Re,onEditFileName:ie,onCompanyDetailsChanged:Ue,updateFilesEntity:se,onDeleteFile:ne,onDeleteFileList:Me,onCompanyOfficerUpdated:We,saveNewAddressInLocalStore:re,onSaveDetailsClick:Ge,onClickMenuIcon:Ze,onExecuteTreasuryTransfer:He})=>{const Xe=dt(),u=ut(),{updateStatus:R,companyView:_,companyDetailsLocalData:o,companyOfficerLocalData:C}=t,qe=Te(R.fetchState),U=_?.company.company.featuresActivationInfo.connectedAccountProvider,Je=U==="unit"?a.jsxs(Jt,{children:[s.terms.term1,a.jsx(Z,{href:s.terms.consentUrl,onZeniLinkClick:()=>(g?.trackBillPayAgreement(),!0),linkText:s.terms.consent}),s.terms.term2,a.jsx(Z,{href:s.terms.depositUrl,onZeniLinkClick:()=>(g?.trackBillPayAgreement(),!0),linkText:s.terms.depositTerms}),s.terms.term3,a.jsx(Z,{href:s.terms.privacyPolicyUrl,onZeniLinkClick:()=>(g?.trackBillPayAgreement(),!0),linkText:s.terms.privacy}),s.terms.term4,a.jsx(Z,{href:s.terms.tosUrl,onZeniLinkClick:()=>(g?.trackBillPayPrivacyPolicy(),!0),linkText:s.terms.tos}),s.terms.term5]}):s.terms.termsForStripe,[Ke,q]=V.useState(!1),[M,oe]=V.useState("save"),[J,Qe]=V.useState(!1),p=pt({mode:"all",reValidateMode:"onChange",defaultValues:Ut(t,j,B,S)}),{isValid:Ye}=p.formState,W=_?.company.company.companyBillPayInfo,G=_?.company.company.companyTreasuryInfo,P=m==="zeni_treasury"?G?.companyVerificationStatus:W?.companyVerificationStatus,v=Object.values(C).findIndex(e=>e?.isSelectedForVerification===!0),O=`Officer_${v<0?1:v+1}`,et=()=>{const e=C[O],n=e?.email,l=e?.birthday?.toString(),y=e?.ownershipInCompany,D=e?.firstName,I=e?.lastName,ue=e?.titleAtCompany,pe=e?.documentTypeSelectedForVerification,me=e?.phone,fe=e?.addressStatus?.addressToCreate,ye=fe!=null?H(fe):void 0,he=o?.companyDescription,Y=o?.companyLegalName,ge=o?.companyIndustry,xe=o?.phone,Se=o?.website,we=o?.addressStatus?.addressToCreate!=null?H(o?.addressStatus?.addressToCreate):void 0,ee=o?.primaryContactLocalData,Ce=ee?.firstName,De=ee?.lastName,be=ee?.email;n!=null&&y!=null&&D!=null&&I!=null&&l!=null&&ue!=null&&me!=null&&ye!=null&&pe!=null&&he!=null&&Y!=null&&xe!=null&&Se!=null&&ge!=null&&Y!=null&&we!=null&&Ce!=null&&De!=null&&be!=null&&g?.trackBusinessVerificationSend({email:n,birthday:l.toString(),companyOwnership:y,firstName:D,lastName:I,companyRole:ue,phone:me,formattedAddress:ye,documentTypeForVerification:pe},{companyDescription:he,legalName:Y,phone:xe,website:Se.toString(),industry:ge,formattedAddress:we},{firstName:Ce,lastName:De,email:be},m,r?"Settings":void 0)},tt=()=>{const e=C[O],n=o?.primaryContactLocalData,l=e?.email??"",y=!!e?.firstName&&!!e?.lastName,D=n?.email??"",I=!!n?.firstName&&!!n?.lastName;return l&&!y?((!e?.firstName||!e?.lastName)&&p.trigger(`${T}.${v<0?0:v}.name`,{shouldFocus:!0}),!1):D&&!I?((!n?.firstName||!n?.lastName)&&p.trigger(`${b}.primaryContactName`,{shouldFocus:!0}),!1):!0},at=()=>{const e=C[O],n=o?.primaryContactLocalData,l=e?.email,y=n?.email;if(l){if(!y)return(n?.firstName||n?.lastName)&&p.trigger(`${b}.primaryContactEmail`,{shouldFocus:!0}),!1}else if(e?.firstName||e?.lastName||e?.birthday||e?.nationalityCountryCode||e?.ownershipInCompany||e?.phone||e?.ssn||e?.titleAtCompany||e?.addressStatus?.addressToCreate||e?.fileIds!=null&&e?.fileIds.length>0||K!=null&&K?.length>0)return p.trigger(`${T}.${v<0?0:v}.email`,{shouldFocus:!0}),!1;return!0},it=p.handleSubmit(()=>{if(M!=="verification"&&oe("verification"),U==="unit"&&C[O]?.isPhoneVerified!==!0){p.setError(`${T}.${v}.phone`,{type:"custom"});return}const e=mt(Object.values(C).map(l=>Object.values(l?.deleteFileStatusById??{}).filter(y=>y!=null))),n=Object.values(o?.deleteFileStatusById??{}).filter(l=>l!=null);Vt(e.concat(n)).fetchState!=="In-Progress"&&Ye&&(et(),Re?.(O),X===!0&&He?.())}),st=async(e,n)=>{e.includes(b)?Ue?.(n[b]):e.includes(T)&&We?.(n[T])},nt=V.useCallback(ft((e,n)=>{st(e,n)},300),[]);V.useEffect(()=>{const e=p.watch((n,{name:l})=>{l!=null&&n!=null&&yt(()=>nt(l,n))});return()=>{e.unsubscribe()}});const le=Te(t.companyDetailsLocalData?.addressStatus);V.useEffect(()=>{t.companyDetailsLocalData?.addressStatus?.addressToCreate!=null&&t.companyDetailsLocalData?.registeredAddressStatus?.addressToCreate==null&&le==null&&(re?.("company_registered_address",t.companyDetailsLocalData?.addressStatus?.addressToCreate),p.setValue(`${b}.registeredAddress`,t.companyDetailsLocalData?.addressStatus?.addressToCreate))},[t.companyDetailsLocalData?.addressStatus,t.companyDetailsLocalData?.registeredAddressStatus,le,re,p]);const ce=_?.companyOfficers.slice(0,10).sort((e,n)=>e.user.createTime?.isAfter(n.user.createTime)===!0?1:-1),K=ce?.map(e=>e.user),rt=ce?.map(e=>e.role),ot={onOkClick:()=>{q(!1),A();const e=[],n=_?.company.company.incInfo.fileIds??[];p.getValues(`${b}.fileIds`).forEach(l=>{n.includes(l)||e.push(l)}),rt?.forEach((l,y)=>{const D=l?.fileIds??[];p.getValues(`${T}.${y}.fileIds`).forEach(I=>{D.includes(I)||e.push(I)})}),e.length!==0&&Me?.(e)},onCancelClick:()=>{q(!1)}},lt=ve(Oe(f),f,$e.currencySymbol).toUpperCase(),Q=P?.code==="pending_review"||P?.code==="verified",de=(z?.treasuryTransferMoneyLocalData?.amount?.amount??0)>0;if(m==="zeni_treasury"&&P?.code==="pending_review"&&qe==="In-Progress"&&R.fetchState==="Completed")return a.jsxs(ia,{children:[a.jsxs(sa,{children:[a.jsx(ht,{}),a.jsx(na,{windowSize:u,children:X===!0?s.submittedTitleWithTransfer:s.submittedTitle}),a.jsx(aa,{isReadonly:!1,children:X===!0?s.submittedDescriptionWithTransfer.replace("__amount__",ve(Oe(z?.treasuryTransferMoneyLocalData?.amount?.amount??0),z?.treasuryTransferMoneyLocalData?.amount?.amount??0,$e.currencySymbol)).replace("__account__",z?.treasuryTransferMoneyLocalData?.fromAccount?.label??""):s.submittedDescription})]}),a.jsx(gt,{label:s.submittedButton,onClick:()=>{A(),te?.()},variant:"primary"})]});const ct=()=>{const e=W?.companyVerificationStatus?.code==="verified",n=G?.companyVerificationStatus?.code==="verified",l=(o?.countriesOfOperations?.length??0)>0||o?.companySourceOfFunds!=null||o?.transactionVolume!=null||o?.purposeOfAccount!=null||o?.registeredAddressStatus!=null||o?.usNexus!=null;return m==="zeni_treasury"&&(e===!1&&n===!0||e===!0&&n===!1&&l)};return a.jsxs(Mt,{isSettings:r,children:[a.jsx(xt,{title:h&&w===!0?Rt:s.header,backgroundColor:Xe.colors.grey5,style:{zIndex:J?1:4},onBackClick:()=>{wt(p.formState.dirtyFields)?q(!0):A()},showBackButton:!r&&!h,showMenuIcon:r?u==="medium-compact"||u==="small":!1,onClickMenuIcon:Ze,rightSideComponent:h?a.jsx(ra,{"data-testid":St("nav-bar-close-business-verification-overlay"),onClick:()=>{A(),te?.()}}):null,source:"BusinessVerificationPage"}),Ke===!0?a.jsx(Ct,{titleComponent:a.jsx(bt,{children:s.discardTitle}),descriptionComponent:a.jsx(Dt,{children:s.discardDescription}),primaryButtonText:s.discard,secondaryButtonText:s.cancel,action:ot}):null,a.jsxs(Zt,{windowSize:u,children:[(!h||w===!1)&&a.jsx(Gt,{windowSize:u,children:r?zt.infoText.businessVerification:s.title}),$==="In-Progress"||$==="Not-Started"?a.jsx(Ht,{children:a.jsx(Tt,{size:"ExtraLarge",start:!0})}):a.jsx(vt,{...p,children:a.jsxs("form",{id:Pe(Ne),onSubmit:it,children:[h&&w===!0&&a.jsxs(Wt,{children:[a.jsxs(Kt,{windowSize:u,children:[a.jsx(Qt,{windowSize:u,children:Q?s.businessVerificationDetails:de?s.verifyBusinessDetails:s.verifyBusinessDetailsWithoutTransfer}),!Q&&a.jsx(Yt,{children:a.jsxs(ea,{children:[a.jsx(Fe,{}),de&&a.jsx(Fe,{}),a.jsx(ta,{})]})})]}),a.jsx(_e,{isReadonly:Q,children:s.verifyBusinessDetailsDescription})]}),a.jsxs(Xt,{children:[a.jsx(Lt,{companyOfficerData:C,allNationalityCountries:S,allOfficers:K??[],sectionId:T,isRefreshingViewInBackground:L,connectedAccountProvider:U,productType:"business_verification",updateFilesEntity:se,onEditFileName:ie,onOfficerAddressClick:ae,onDeleteFile:ne,isDisabled:k,filesEndPoint:i,authParams:E,isPopupOpen:J,openPopup:Qe,onGetOtp:Ee,onVerifyOtp:Be,onResendOtp:ze,companyTitles:B,isForTreasury:m==="zeni_treasury",isOverlay:h}),a.jsx(Et,{companyDetails:o,businessVerificationProps:{companyVerificationStatus:P,isRefreshingViewInBackground:L},productType:"business_verification",showTreasuryFields:m==="zeni_treasury",hideNewOnboardingFields:ct(),sectionId:b,isDisabled:P?.code==="pending_review"||P?.code==="verified"?"readonly":k,fileProps:{authParams:E,filesEndPoint:i,onEditFileName:ie,onDeleteFile:ne,updateFilesEntity:se},onCompanyAddressClick:ae,onRegisteredAddressClick:Le,connectedAccountProvider:U,allIndustries:j,allNationalityCountries:S})]}),m==="zeni_accounts"?a.jsx(qt,{windowSize:u,children:s.threadText.replace("__amount__",lt)}):null]})})]}),$==="Completed"&&(m==="zeni_treasury"?G?.companyVerificationStatus?.code!=="pending_review"&&G?.companyVerificationStatus?.code!=="verified":W?.businessVerificationStatus?.code!=="pending_review"&&W?.businessVerificationStatus?.code!=="verified")?a.jsx(Ot,{formId:Pe(Ne),primaryBtn:{label:w?ke.submit:s.sendForVerificationButton,style:{width:"auto",minWidth:u==="small"?"auto":w?"83px":"181px"},isLoading:M==="verification"&&R.fetchState==="In-Progress",isDisabled:k!=null},containerStyle:{width:u==="small"?x.width.valuePx(u):"auto",justifyContent:u==="small"?"space-between":"center"},helperStyle:{width:u==="small"?x.width.valuePx(u):"auto",paddingLeft:x.termsPaddingLeftRight.valuePx(u),paddingRight:x.termsPaddingLeftRight.valuePx(u),textAlign:u==="small"?"center":"initial"},showCancel:!0,cancelBtn:{reverseSpinnerColor:!1,label:w?ke.back:s.saveDetailsButton,style:{width:u==="small"?"auto":w?"83px":"181px"},isLoading:M==="save"&&R.fetchState==="In-Progress",onClick:()=>{if(w)A();else{const e=C[O],n=o?.primaryContactLocalData;M!=="save"&&oe("save");const l=e?.email??"",y=tt(),D=at();y&&D&&(g?.trackBusinessVerificationSave({email:l,birthday:e?.birthday?.toString(),companyOwnership:e?.ownershipInCompany,firstName:e?.firstName,lastName:e?.lastName,companyRole:e?.titleAtCompany,phone:e?.phone,formattedAddress:e?.addressStatus?.addressToCreate!=null?H(e?.addressStatus?.addressToCreate):void 0,documentTypeForVerification:e?.documentTypeSelectedForVerification},{companyDescription:o?.companyDescription,legalName:o?.companyLegalName,phone:o?.phone,website:o?.website?.toString(),industry:o?.companyIndustry??"",formattedAddress:o?.addressStatus?.addressToCreate!=null?H(o?.addressStatus?.addressToCreate):void 0},{firstName:n?.firstName,lastName:n?.lastName,email:n?.email},m,r?"Settings":void 0),Ge?.(O))}}},helperText:Je,style:{padding:`12px ${c.sp3}`,zIndex:J?0:4}}):null]})},Ut=(t,S,$,L)=>{const{companyDetailsLocalData:i,companyOfficerLocalData:E,companyView:m}=t,j=je.getLocalizedStrings().companyPassport,B=m?.companyOfficers!=null&&m?.companyOfficers.length>0;return{[b]:{companyDescription:i?.companyDescription??"",ein:i?.companyFiles.find(f=>f.documentType==="tax_ein"),companyId:i?.companyId??"",syncToken:i?.syncToken,companyLegalName:i?.companyLegalName??"",companyWebsite:i?.website?.toString()??"",companyAddress:i?.addressStatus?.addressToCreate,registeredAddress:i?.registeredAddressStatus?.addressToCreate,companyIndustry:{selectedOption:i?.companyIndustry,allOptions:S?.map(f=>f.code)},companyPhone:i?.phone??"",companyTaxId:i?.taxIdOrEIN??"",primaryContactName:{firstName:i?.primaryContactLocalData?.firstName??"",lastName:i?.primaryContactLocalData?.lastName??""},primaryContactEmail:i?.primaryContactLocalData?.email??"",primaryContactUserId:i?.primaryContactLocalData?.userId,primaryContactSyncToken:i?.primaryContactLocalData?.syncToken,fileIds:i?.companyFiles.map(f=>f.fileId)??[],certificateOfIncorporation:i?.companyFiles.find(f=>f.documentType==="certificate_of_incorporation"),incDate:i?.incDate?.toDate(),typeOfIncorporation:{selectedOption:i?.typeOfIncorporation,allOptions:j.companyIncInfo.allTypesOfIncorporation},stateOfIncorporation:{selectedOption:i?.stateOfIncorporation,allOptions:j.companyIncInfo.allStatesOfIncorporation},sourceOfFunds:{selectedOption:i?.sourceOfFunds??"",allOptions:Object.keys(s.sourceOfFundOptions)},companySourceOfFunds:{selectedOption:i?.companySourceOfFunds??"",allOptions:Object.keys(s.companySourceOfFundOptions??{})},companySourceOfFundsDescription:i?.companySourceOfFundsDescription??"",transactionVolume:{selectedOption:i?.transactionVolume,allOptions:[..._t]},transactionVolumeDescription:i?.transactionVolumeDescription??"",purposeOfAccount:{selectedOption:i?.purposeOfAccount,allOptions:[...At]},purposeOfAccountDescription:i?.purposeOfAccountDescription??"",usNexus:i?.usNexus??"",usNexusTypes:{selectedOptions:i?.usNexusTypes??[],allOptions:[...jt]},regulatedStatus:i?.regulatedStatus??"",regulatedStatusDescription:i?.regulatedStatusDescription??""},[T]:Object.values(E).map((f,k)=>{const r=f,h=It(r?.documentTypeSelectedForVerification);return{userId:r?.userId,officerType:r?.officerType??`Officer_${k+1}`,name:{firstName:r?.firstName,lastName:r?.lastName},email:r?.email,fileIds:r?.fileIds??[],dob:r?.birthday?.toDate(),nationalityCountryCode:Nt(r?.nationalityCountryCode,L.map(g=>g.countryCode)),ssn:r?.ssn,role:{selectedOption:r?.titleAtCompany,allOptions:$?.map(g=>g.code)},phone:r?.phone??"",ownership:r?.ownershipInCompany,officerAddress:r?.addressStatus?.addressToCreate,selectDocument:{front:Ie(!0,r?.userFiles??[],h),back:Ie(!1,r?.userFiles??[],h),selectDocumentType:h},isSelectedForVerification:!B&&k===0?!0:r?.isSelectedForVerification??!1,userVerificationStatus:r?.userVerificationStatus,treasuryUserVerificationStatus:r?.treasuryUserVerificationStatus,syncToken:r?.syncToken,isPhoneVerified:r?.isPhoneVerified,otpChallenge:r?.otpChallenge}})}},Pe=t=>`${t}_form`,Mt=d.div`
|
|
1
|
+
import{d as dt,J as ut,aR as Te,V as a,af as Z,a9 as pt,cX as mt,az as ft,cH as yt,aZ as ve,aQ as Oe,ge as ht,i as gt,bD as xt,ab as St,cI as wt,cr as Ct,cs as bt,ct as Dt,m as Tt,ad as vt,aS as Ot,o as c,y as F,an as Ve,F as je,gf as It,fC as Ie,f1 as Nt,R as $t,x as kt,am as Ae,H as Pt,a as Ft,u as N}from"./index-BPZ0_UEx.js";import{a as V}from"./sentry-nVlxguQq.js";import{n as d}from"./mui-Dg-yyLd1.js";import{ET as Vt,bi as H,Fo as jt,Fn as At,Fp as _t}from"./zeni-epic-state-DwXlACp-.js";import{r as Lt,z as Et}from"./CompanyOfficerDetailsSection-CEpMwx3h-D1MF6UPf.js";import"./liveblocks-Lf8LVeH9.js";import"./core-BdfL-uia.js";import"./recharts-DVyIhUUu.js";import"./lottie-BAIk2ri4.js";import"./analytics-C7qRceeD.js";import"./lexical-CNiclLj0.js";import"./utils-Bn_xI0qf.js";import"./helper-Bwr_8pRi-BezSaeYe.js";import"./LabeledAddressValueField-CeyT4xDd-BvfbCZea.js";import"./LabeledCountryMultiSelectField-S16_1kXP-UlJPnrtq.js";import"./LabeledCreatableSingleSelectField-B-KMzhH--CvW70JID.js";import"./LabeledDocumentField-9m7Nhuth-CkOtgSAA.js";import"./commonTypes-B1ylXa_P-CHogy7bq.js";(function(){try{var t=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},S=new t.Error().stack;S&&(t._sentryDebugIds=t._sentryDebugIds||{},t._sentryDebugIds[S]="90be7158-00bd-49b1-862c-6dd046b97d58",t._sentryDebugIdIdentifier="sentry-dbid-90be7158-00bd-49b1-862c-6dd046b97d58")}catch{}})();const x={width:new F(343,580,726),titleWidth:new F(343,580,726,826),subTitlePaddingTop:new F(12,N[3]),subTitlePaddingBottom:new F(N[3],N[3]),verificationDetailsRowGap:new F(12,N[5],N[5]),termsPaddingLeftRight:new F(N[0],N[3])},Bt={stepTitle:new Pt("h6Regular","h5Regular")},Ne="businessVerificationPage",D="companyDetails",T="companyOfficerDetails",{commonSetUp:{businessVerification:s},common:{settings:zt,currency:$e,footer:ke,strings:{empty:Rt}}}=je.getLocalizedStrings(),va=({businessVerificationDetails:t,allNationalityCountries:S,verficationDetailsFetchState:$,isRefreshingViewInBackground:L,filesEndPoint:i,authParams:E,productType:m,allIndustries:j,companyTitles:B,maxInsuredAmount:f,isDisabled:k,isSettings:r=!1,isOverlay:h=!1,analytics:g,isStepInProgress:w=!1,isTreasuryTransferInitiated:X=!1,transferDetails:z,onOverlayClose:te,onAddressClick:ae,onRegisteredAddressClick:Le,onBackClick:A,onGetOtp:Ee,onVerifyOtp:Be,onResendOtp:ze,onSendForVerificationClick:Re,onEditFileName:ie,onCompanyDetailsChanged:Ue,updateFilesEntity:se,onDeleteFile:ne,onDeleteFileList:Me,onCompanyOfficerUpdated:We,saveNewAddressInLocalStore:re,onSaveDetailsClick:Ge,onClickMenuIcon:Ze,onExecuteTreasuryTransfer:He})=>{const Xe=dt(),u=ut(),{updateStatus:R,companyView:_,companyDetailsLocalData:o,companyOfficerLocalData:C}=t,qe=Te(R.fetchState),U=_?.company.company.featuresActivationInfo.connectedAccountProvider,Je=U==="unit"?a.jsxs(Jt,{children:[s.terms.term1,a.jsx(Z,{href:s.terms.consentUrl,onZeniLinkClick:()=>(g?.trackBillPayAgreement(),!0),linkText:s.terms.consent}),s.terms.term2,a.jsx(Z,{href:s.terms.depositUrl,onZeniLinkClick:()=>(g?.trackBillPayAgreement(),!0),linkText:s.terms.depositTerms}),s.terms.term3,a.jsx(Z,{href:s.terms.privacyPolicyUrl,onZeniLinkClick:()=>(g?.trackBillPayAgreement(),!0),linkText:s.terms.privacy}),s.terms.term4,a.jsx(Z,{href:s.terms.tosUrl,onZeniLinkClick:()=>(g?.trackBillPayPrivacyPolicy(),!0),linkText:s.terms.tos}),s.terms.term5]}):s.terms.termsForStripe,[Ke,q]=V.useState(!1),[M,oe]=V.useState("save"),[J,Qe]=V.useState(!1),p=pt({mode:"all",reValidateMode:"onChange",defaultValues:Ut(t,j,B,S)}),{isValid:Ye}=p.formState,W=_?.company.company.companyBillPayInfo,G=_?.company.company.companyTreasuryInfo,P=m==="zeni_treasury"?G?.companyVerificationStatus:W?.companyVerificationStatus,v=Object.values(C).findIndex(e=>e?.isSelectedForVerification===!0),O=`Officer_${v<0?1:v+1}`,et=()=>{const e=C[O],n=e?.email,l=e?.birthday?.toString(),y=e?.ownershipInCompany,b=e?.firstName,I=e?.lastName,ue=e?.titleAtCompany,pe=e?.documentTypeSelectedForVerification,me=e?.phone,fe=e?.addressStatus?.addressToCreate,ye=fe!=null?H(fe):void 0,he=o?.companyDescription,Y=o?.companyLegalName,ge=o?.companyIndustry,xe=o?.phone,Se=o?.website,we=o?.addressStatus?.addressToCreate!=null?H(o?.addressStatus?.addressToCreate):void 0,ee=o?.primaryContactLocalData,Ce=ee?.firstName,be=ee?.lastName,De=ee?.email;n!=null&&y!=null&&b!=null&&I!=null&&l!=null&&ue!=null&&me!=null&&ye!=null&&pe!=null&&he!=null&&Y!=null&&xe!=null&&Se!=null&&ge!=null&&Y!=null&&we!=null&&Ce!=null&&be!=null&&De!=null&&g?.trackBusinessVerificationSend({email:n,birthday:l.toString(),companyOwnership:y,firstName:b,lastName:I,companyRole:ue,phone:me,formattedAddress:ye,documentTypeForVerification:pe},{companyDescription:he,legalName:Y,phone:xe,website:Se.toString(),industry:ge,formattedAddress:we},{firstName:Ce,lastName:be,email:De},m,r?"Settings":void 0)},tt=()=>{const e=C[O],n=o?.primaryContactLocalData,l=e?.email??"",y=!!e?.firstName&&!!e?.lastName,b=n?.email??"",I=!!n?.firstName&&!!n?.lastName;return l&&!y?((!e?.firstName||!e?.lastName)&&p.trigger(`${T}.${v<0?0:v}.name`,{shouldFocus:!0}),!1):b&&!I?((!n?.firstName||!n?.lastName)&&p.trigger(`${D}.primaryContactName`,{shouldFocus:!0}),!1):!0},at=()=>{const e=C[O],n=o?.primaryContactLocalData,l=e?.email,y=n?.email;if(l){if(!y)return(n?.firstName||n?.lastName)&&p.trigger(`${D}.primaryContactEmail`,{shouldFocus:!0}),!1}else if(e?.firstName||e?.lastName||e?.birthday||e?.nationalityCountryCode||e?.ownershipInCompany||e?.phone||e?.ssn||e?.titleAtCompany||e?.addressStatus?.addressToCreate||e?.fileIds!=null&&e?.fileIds.length>0||K!=null&&K?.length>0)return p.trigger(`${T}.${v<0?0:v}.email`,{shouldFocus:!0}),!1;return!0},it=p.handleSubmit(()=>{if(M!=="verification"&&oe("verification"),U==="unit"&&C[O]?.isPhoneVerified!==!0){p.setError(`${T}.${v}.phone`,{type:"custom"});return}const e=mt(Object.values(C).map(l=>Object.values(l?.deleteFileStatusById??{}).filter(y=>y!=null))),n=Object.values(o?.deleteFileStatusById??{}).filter(l=>l!=null);Vt(e.concat(n)).fetchState!=="In-Progress"&&Ye&&(et(),Re?.(O),X===!0&&He?.())}),st=async(e,n)=>{e.includes(D)?Ue?.(n[D]):e.includes(T)&&We?.(n[T])},nt=V.useCallback(ft((e,n)=>{st(e,n)},300),[]);V.useEffect(()=>{const e=p.watch((n,{name:l})=>{l!=null&&n!=null&&yt(()=>nt(l,n))});return()=>{e.unsubscribe()}});const le=Te(t.companyDetailsLocalData?.addressStatus);V.useEffect(()=>{t.companyDetailsLocalData?.addressStatus?.addressToCreate!=null&&t.companyDetailsLocalData?.registeredAddressStatus?.addressToCreate==null&&le==null&&(re?.("company_registered_address",t.companyDetailsLocalData?.addressStatus?.addressToCreate),p.setValue(`${D}.registeredAddress`,t.companyDetailsLocalData?.addressStatus?.addressToCreate))},[t.companyDetailsLocalData?.addressStatus,t.companyDetailsLocalData?.registeredAddressStatus,le,re,p]);const ce=_?.companyOfficers.slice(0,10).sort((e,n)=>e.user.createTime?.isAfter(n.user.createTime)===!0?1:-1),K=ce?.map(e=>e.user),rt=ce?.map(e=>e.role),ot={onOkClick:()=>{q(!1),A();const e=[],n=_?.company.company.incInfo.fileIds??[];p.getValues(`${D}.fileIds`).forEach(l=>{n.includes(l)||e.push(l)}),rt?.forEach((l,y)=>{const b=l?.fileIds??[];p.getValues(`${T}.${y}.fileIds`).forEach(I=>{b.includes(I)||e.push(I)})}),e.length!==0&&Me?.(e)},onCancelClick:()=>{q(!1)}},lt=ve(Oe(f),f,$e.currencySymbol).toUpperCase(),Q=P?.code==="pending_review"||P?.code==="verified",de=(z?.treasuryTransferMoneyLocalData?.amount?.amount??0)>0;if(m==="zeni_treasury"&&P?.code==="pending_review"&&qe==="In-Progress"&&R.fetchState==="Completed")return a.jsxs(ia,{children:[a.jsxs(sa,{children:[a.jsx(ht,{}),a.jsx(na,{windowSize:u,children:X===!0?s.submittedTitleWithTransfer:s.submittedTitle}),a.jsx(aa,{isReadonly:!1,children:X===!0?s.submittedDescriptionWithTransfer.replace("__amount__",ve(Oe(z?.treasuryTransferMoneyLocalData?.amount?.amount??0),z?.treasuryTransferMoneyLocalData?.amount?.amount??0,$e.currencySymbol)).replace("__account__",z?.treasuryTransferMoneyLocalData?.fromAccount?.label??""):s.submittedDescription})]}),a.jsx(gt,{label:s.submittedButton,onClick:()=>{A(),te?.()},variant:"primary"})]});const ct=()=>{const e=W?.companyVerificationStatus?.code==="verified",n=G?.companyVerificationStatus?.code==="verified",l=(o?.countriesOfOperations?.length??0)>0||o?.companySourceOfFunds!=null||o?.transactionVolume!=null||o?.purposeOfAccount!=null||o?.registeredAddressStatus!=null||o?.usNexus!=null;return m==="zeni_treasury"&&(e===!1&&n===!0||e===!0&&n===!1&&l)};return a.jsxs(Mt,{isSettings:r,children:[a.jsx(xt,{title:h&&w===!0?Rt:s.header,backgroundColor:Xe.colors.grey5,style:{zIndex:J?1:4},onBackClick:()=>{wt(p.formState.dirtyFields)?q(!0):A()},showBackButton:!r&&!h,showMenuIcon:r?u==="medium-compact"||u==="small":!1,onClickMenuIcon:Ze,rightSideComponent:h?a.jsx(ra,{"data-testid":St("nav-bar-close-business-verification-overlay"),onClick:()=>{A(),te?.()}}):null,source:"BusinessVerificationPage"}),Ke===!0?a.jsx(Ct,{titleComponent:a.jsx(Dt,{children:s.discardTitle}),descriptionComponent:a.jsx(bt,{children:s.discardDescription}),primaryButtonText:s.discard,secondaryButtonText:s.cancel,action:ot}):null,a.jsxs(Zt,{windowSize:u,children:[(!h||w===!1)&&a.jsx(Gt,{windowSize:u,children:r?zt.infoText.businessVerification:s.title}),$==="In-Progress"||$==="Not-Started"?a.jsx(Ht,{children:a.jsx(Tt,{size:"ExtraLarge",start:!0})}):a.jsx(vt,{...p,children:a.jsxs("form",{id:Pe(Ne),onSubmit:it,children:[h&&w===!0&&a.jsxs(Wt,{children:[a.jsxs(Kt,{windowSize:u,children:[a.jsx(Qt,{windowSize:u,children:Q?s.businessVerificationDetails:de?s.verifyBusinessDetails:s.verifyBusinessDetailsWithoutTransfer}),!Q&&a.jsx(Yt,{children:a.jsxs(ea,{children:[a.jsx(Fe,{}),de&&a.jsx(Fe,{}),a.jsx(ta,{})]})})]}),a.jsx(_e,{isReadonly:Q,children:s.verifyBusinessDetailsDescription})]}),a.jsxs(Xt,{children:[a.jsx(Lt,{companyOfficerData:C,allNationalityCountries:S,allOfficers:K??[],sectionId:T,isRefreshingViewInBackground:L,connectedAccountProvider:U,productType:"business_verification",updateFilesEntity:se,onEditFileName:ie,onOfficerAddressClick:ae,onDeleteFile:ne,isDisabled:k,filesEndPoint:i,authParams:E,isPopupOpen:J,openPopup:Qe,onGetOtp:Ee,onVerifyOtp:Be,onResendOtp:ze,companyTitles:B,isForTreasury:m==="zeni_treasury",isOverlay:h}),a.jsx(Et,{companyDetails:o,businessVerificationProps:{companyVerificationStatus:P,isRefreshingViewInBackground:L},productType:"business_verification",showTreasuryFields:m==="zeni_treasury",hideNewOnboardingFields:ct(),sectionId:D,isDisabled:P?.code==="pending_review"||P?.code==="verified"?"readonly":k,fileProps:{authParams:E,filesEndPoint:i,onEditFileName:ie,onDeleteFile:ne,updateFilesEntity:se},onCompanyAddressClick:ae,onRegisteredAddressClick:Le,connectedAccountProvider:U,allIndustries:j,allNationalityCountries:S})]}),m==="zeni_accounts"?a.jsx(qt,{windowSize:u,children:s.threadText.replace("__amount__",lt)}):null]})})]}),$==="Completed"&&(m==="zeni_treasury"?G?.companyVerificationStatus?.code!=="pending_review"&&G?.companyVerificationStatus?.code!=="verified":W?.businessVerificationStatus?.code!=="pending_review"&&W?.businessVerificationStatus?.code!=="verified")?a.jsx(Ot,{formId:Pe(Ne),primaryBtn:{label:w?ke.submit:s.sendForVerificationButton,style:{width:"auto",minWidth:u==="small"?"auto":w?"83px":"181px"},isLoading:M==="verification"&&R.fetchState==="In-Progress",isDisabled:k!=null},containerStyle:{width:u==="small"?x.width.valuePx(u):"auto",justifyContent:u==="small"?"space-between":"center"},helperStyle:{width:u==="small"?x.width.valuePx(u):"auto",paddingLeft:x.termsPaddingLeftRight.valuePx(u),paddingRight:x.termsPaddingLeftRight.valuePx(u),textAlign:u==="small"?"center":"initial"},showCancel:!0,cancelBtn:{reverseSpinnerColor:!1,label:w?ke.back:s.saveDetailsButton,style:{width:u==="small"?"auto":w?"83px":"181px"},isLoading:M==="save"&&R.fetchState==="In-Progress",onClick:()=>{if(w)A();else{const e=C[O],n=o?.primaryContactLocalData;M!=="save"&&oe("save");const l=e?.email??"",y=tt(),b=at();y&&b&&(g?.trackBusinessVerificationSave({email:l,birthday:e?.birthday?.toString(),companyOwnership:e?.ownershipInCompany,firstName:e?.firstName,lastName:e?.lastName,companyRole:e?.titleAtCompany,phone:e?.phone,formattedAddress:e?.addressStatus?.addressToCreate!=null?H(e?.addressStatus?.addressToCreate):void 0,documentTypeForVerification:e?.documentTypeSelectedForVerification},{companyDescription:o?.companyDescription,legalName:o?.companyLegalName,phone:o?.phone,website:o?.website?.toString(),industry:o?.companyIndustry??"",formattedAddress:o?.addressStatus?.addressToCreate!=null?H(o?.addressStatus?.addressToCreate):void 0},{firstName:n?.firstName,lastName:n?.lastName,email:n?.email},m,r?"Settings":void 0),Ge?.(O))}}},helperText:Je,style:{padding:`12px ${c.sp3}`,zIndex:J?0:4}}):null]})},Ut=(t,S,$,L)=>{const{companyDetailsLocalData:i,companyOfficerLocalData:E,companyView:m}=t,j=je.getLocalizedStrings().companyPassport,B=m?.companyOfficers!=null&&m?.companyOfficers.length>0;return{[D]:{companyDescription:i?.companyDescription??"",ein:i?.companyFiles.find(f=>f.documentType==="tax_ein"),companyId:i?.companyId??"",syncToken:i?.syncToken,companyLegalName:i?.companyLegalName??"",companyWebsite:i?.website?.toString()??"",companyAddress:i?.addressStatus?.addressToCreate,registeredAddress:i?.registeredAddressStatus?.addressToCreate,companyIndustry:{selectedOption:i?.companyIndustry,allOptions:S?.map(f=>f.code)},companyPhone:i?.phone??"",companyTaxId:i?.taxIdOrEIN??"",primaryContactName:{firstName:i?.primaryContactLocalData?.firstName??"",lastName:i?.primaryContactLocalData?.lastName??""},primaryContactEmail:i?.primaryContactLocalData?.email??"",primaryContactUserId:i?.primaryContactLocalData?.userId,primaryContactSyncToken:i?.primaryContactLocalData?.syncToken,fileIds:i?.companyFiles.map(f=>f.fileId)??[],certificateOfIncorporation:i?.companyFiles.find(f=>f.documentType==="certificate_of_incorporation"),incDate:i?.incDate?.toDate(),typeOfIncorporation:{selectedOption:i?.typeOfIncorporation,allOptions:j.companyIncInfo.allTypesOfIncorporation},stateOfIncorporation:{selectedOption:i?.stateOfIncorporation,allOptions:j.companyIncInfo.allStatesOfIncorporation},sourceOfFunds:{selectedOption:i?.sourceOfFunds??"",allOptions:Object.keys(s.sourceOfFundOptions)},companySourceOfFunds:{selectedOption:i?.companySourceOfFunds??"",allOptions:Object.keys(s.companySourceOfFundOptions??{})},companySourceOfFundsDescription:i?.companySourceOfFundsDescription??"",transactionVolume:{selectedOption:i?.transactionVolume,allOptions:[..._t]},transactionVolumeDescription:i?.transactionVolumeDescription??"",purposeOfAccount:{selectedOption:i?.purposeOfAccount,allOptions:[...At]},purposeOfAccountDescription:i?.purposeOfAccountDescription??"",usNexus:i?.usNexus??"",usNexusTypes:{selectedOptions:i?.usNexusTypes??[],allOptions:[...jt]},regulatedStatus:i?.regulatedStatus??"",regulatedStatusDescription:i?.regulatedStatusDescription??""},[T]:Object.values(E).map((f,k)=>{const r=f,h=It(r?.documentTypeSelectedForVerification);return{userId:r?.userId,officerType:r?.officerType??`Officer_${k+1}`,name:{firstName:r?.firstName,lastName:r?.lastName},email:r?.email,fileIds:r?.fileIds??[],dob:r?.birthday?.toDate(),nationalityCountryCode:Nt(r?.nationalityCountryCode,L.map(g=>g.countryCode)),ssn:r?.ssn,role:{selectedOption:r?.titleAtCompany,allOptions:$?.map(g=>g.code)},phone:r?.phone??"",ownership:r?.ownershipInCompany,officerAddress:r?.addressStatus?.addressToCreate,selectDocument:{front:Ie(!0,r?.userFiles??[],h),back:Ie(!1,r?.userFiles??[],h),selectDocumentType:h},isSelectedForVerification:!B&&k===0?!0:r?.isSelectedForVerification??!1,userVerificationStatus:r?.userVerificationStatus,treasuryUserVerificationStatus:r?.treasuryUserVerificationStatus,syncToken:r?.syncToken,isPhoneVerified:r?.isPhoneVerified,otpChallenge:r?.otpChallenge}})}},Pe=t=>`${t}_form`,Mt=d.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
min-height: 100%;
|
|
4
4
|
flex-direction: column;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{J as m,V as r,F as y,b as w,o as a,H as b,a as x}from"./index-
|
|
1
|
+
import{J as m,V as r,F as y,b as w,o as a,H as b,a as x}from"./index-BPZ0_UEx.js";import{n as o}from"./mui-Dg-yyLd1.js";import{a as c}from"./sentry-nVlxguQq.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]="c744afd6-d4ee-42b4-8042-a784f5ac0338",e._sentryDebugIdIdentifier="sentry-dbid-c744afd6-d4ee-42b4-8042-a784f5ac0338")}catch{}})();const $=e=>c.createElement("svg",{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},c.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M0.802551 6.92395C0.802551 5.2671 2.1457 3.92395 3.80255 3.92395H20.2009C21.8578 3.92395 23.2009 5.2671 23.2009 6.92395V17.076C23.2009 18.7329 21.8578 20.076 20.2009 20.076H3.80255C2.1457 20.076 0.802551 18.7329 0.802551 17.076V10.8805H23.1896V9.01135H0.802551V6.92395ZM0.802551 9.01135H0.799072V10.8805H0.802551V9.01135ZM14.5443 15.6222C14.5443 15.0935 14.9728 14.6649 15.5015 14.6649H18.1386C18.6673 14.6649 19.0959 15.0935 19.0959 15.6222C19.0959 16.1509 18.6673 16.5795 18.1386 16.5795H15.5015C14.9728 16.5795 14.5443 16.1509 14.5443 15.6222Z",fill:"currentColor"})),{common:p,spendManagement:{chargeCard:t}}=y.getLocalizedStrings(),C={subText:new b("extraSmallRegular","standardRegular")},j=({cardDetail:e,forDetailPage:s,styles:l})=>{const g=m(),h=e.type.code.includes("credit")?t.chargeCardsPromo.credit:t.chargeCardsPromo.debit;let d=e.type.code.includes("physical")?t.cardList.physicalCard:t.cardList.virtualCard;const i=p.strings.space+t.cardDetails.expiryHideOut+p.strings.space+e.accountLast4,f=e.status.code==="request_on_hold"||!s?d:i,n=e.type.code.includes("physical");return r.jsxs(H,{style:l,windowSize:g,forDetailPage:s,className:"cardName",title:`${f}`,children:[h,r.jsx(v,{}),d,n&&!s?r.jsx(u,{className:"physical-card-icon"}):null,e.status.code==="request_on_hold"||!s?null:i,n&&s?r.jsx(u,{}):null]})},H=o(x)`
|
|
2
2
|
${e=>e.forDetailPage?{...w.extraSmallRegular.cssObject}:`${C.subText.style(e.windowSize)}`};
|
|
3
3
|
color: ${e=>e.theme.colors.hero};
|
|
4
4
|
max-width: 100%;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{d as k,J as f,V as t,bD as te,fl as L,b as u,b4 as Q,c0 as ie,o as i,F as w,p as B,y as h,am as v,dj as oe,u as l,aZ as re,aP as T,bS as ae,aj as $,ab as P,jl as X,jm as Z,j1 as se,cB as ne,cE as de,an as O,j2 as le,j3 as ce}from"./index-
|
|
1
|
+
import{d as k,J as f,V as t,bD as te,fl as L,b as u,b4 as Q,c0 as ie,o as i,F as w,p as B,y as h,am as v,dj as oe,u as l,aZ as re,aP as T,bS as ae,aj as $,ab as P,jl as X,jm as Z,j1 as se,cB as ne,cE as de,an as O,j2 as le,j3 as ce}from"./index-BPZ0_UEx.js";import{n as o}from"./mui-Dg-yyLd1.js";import{Gg as b,bh as he}from"./zeni-epic-state-DwXlACp-.js";import{P as R,a as K}from"./sentry-nVlxguQq.js";import{F as pe}from"./InsightsSection-CKYv2Mnk-CMDaS26i.js";import{H as ge,I as me,X as xe,Y as we,J as ue,K as ye,V as fe}from"./recharts-DVyIhUUu.js";import"./liveblocks-Lf8LVeH9.js";import"./core-BdfL-uia.js";import"./lottie-BAIk2ri4.js";import"./analytics-C7qRceeD.js";import"./lexical-CNiclLj0.js";import"./utils-Bn_xI0qf.js";import"./NavigationDots-CqAMUVd8-DlLV84YV.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},a=new e.Error().stack;a&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[a]="f3703547-16f1-438c-9875-190e25d23ff1",e._sentryDebugIdIdentifier="sentry-dbid-f3703547-16f1-438c-9875-190e25d23ff1")}catch{}})();const be=({x:e,y:a,width:n,height:s,payload:r})=>{const c=k();return t.jsx(fe,{fill:(r?.[0].payload).showTooltip===!0?c.colors.background:"transparent",stroke:(r?.[0].payload).showTooltip===!0?c.colors.background:"transparent",x:e,y:a,width:n,height:s})},W=w.getLocalizedStrings().spendManagement.chargeCard.cashbackDetail.header,$e=w.getLocalizedStrings().dateFormat.visual.MMMMFormat,ve=({active:e,payload:a,label:n})=>e===!0&&(a?.[0].payload).showTooltip===!0?t.jsx(je,{children:t.jsx(ke,{children:t.jsxs("div",{children:[t.jsxs(E,{children:[t.jsx(_,{children:W.month})," ",t.jsx(G,{children:b(n).format($e)})]}),t.jsxs(E,{children:[t.jsx(_,{children:W.cashback}),t.jsx(G,{children:T("0,0.[00]",{amount:a?.[0].value??0,currencyCode:(a?.[0].payload).currencyCode,currencySymbol:(a?.[0].payload).currencySymbol})})]})]})})}):null,E=o.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
gap: ${i.sp1};
|
|
4
4
|
`,je=o.div`
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{d as at,J as Ie,ax as Lt,a8 as Dt,h1 as Sr,hG as Ti,aW as et,h2 as $r,aR as tt,V as t,h5 as Ai,bD as Ei,u as h,fZ as vr,aP as qe,ab as Q,bC as Ri,bU as ta,p as c,o as a,F as ke,j7 as kr,b as _,cr as Fi,j8 as Pi,ff as zi,gT as Mi,j9 as Vi,bG as Oi,bP as jr,aU as aa,y as T,b8 as ra,bL as Ir,aj as Ce,eI as Hi,bb as ia,iX as Ni,aV as Lr,h as ft,h4 as Dr,ce as Bi,m as Ct,b4 as Wi,dq as _i,cv as Ui,ja as Gi,jb as Tr,jc as dt,N as Zi,b0 as qi,jd as Yi,je as Xi,cs as Ki,d7 as Ji,hD as Qi,am as ze,bW as eo,aw as Ut,jf as Ma,jg as to,dk as ao,H as Va,a as Ar,ba as ro,aD as io,iR as mt,j0 as oo,j5 as no,j6 as so,dw as Oa,eZ as co,i as Er,cB as Rr,i_ as lo,bZ as ho,c as Fr,jh as po,av as kt,c0 as Ha,by as uo,dg as mo,ar as go,an as lt,h0 as Co,x as fo,bH as wo,ji as Tt,fs as xo,jj as Pr,gD as zr,jk as It,ij as Mr,dS as Vr,bS as yo,el as Or,j1 as bo,cE as So,dR as $o,d1 as vo,j2 as ko,j3 as jo,er as Io,ch as Lo,ci as Do}from"./index-
|
|
1
|
+
import{d as at,J as Ie,ax as Lt,a8 as Dt,h1 as Sr,hG as Ti,aW as et,h2 as $r,aR as tt,V as t,h5 as Ai,bD as Ei,u as h,fZ as vr,aP as qe,ab as Q,bC as Ri,bU as ta,p as c,o as a,F as ke,j7 as kr,b as _,cr as Fi,j8 as Pi,ff as zi,gT as Mi,j9 as Vi,bG as Oi,bP as jr,aU as aa,y as T,b8 as ra,bL as Ir,aj as Ce,eI as Hi,bb as ia,iX as Ni,aV as Lr,h as ft,h4 as Dr,ce as Bi,m as Ct,b4 as Wi,dq as _i,cv as Ui,ja as Gi,jb as Tr,jc as dt,N as Zi,b0 as qi,jd as Yi,je as Xi,cs as Ki,d7 as Ji,hD as Qi,am as ze,bW as eo,aw as Ut,jf as Ma,jg as to,dk as ao,H as Va,a as Ar,ba as ro,aD as io,iR as mt,j0 as oo,j5 as no,j6 as so,dw as Oa,eZ as co,i as Er,cB as Rr,i_ as lo,bZ as ho,c as Fr,jh as po,av as kt,c0 as Ha,by as uo,dg as mo,ar as go,an as lt,h0 as Co,x as fo,bH as wo,ji as Tt,fs as xo,jj as Pr,gD as zr,jk as It,ij as Mr,dS as Vr,bS as yo,el as Or,j1 as bo,cE as So,dR as $o,d1 as vo,j2 as ko,j3 as jo,er as Io,ch as Lo,ci as Do}from"./index-BPZ0_UEx.js";import{a as o,P as To}from"./sentry-nVlxguQq.js";import{n as r,c as we,k as Hr}from"./mui-Dg-yyLd1.js";import{ER as At,bh as Ao,bf as Eo,Gf as Ro}from"./zeni-epic-state-DwXlACp-.js";import{k as Fo}from"./NavigationDots-CqAMUVd8-DlLV84YV.js";import{A as Po,i as zo,a as Mo,l as Vo,r as Oo,t as Ho,n as No}from"./add-to-wallet-DgdBD8_G-Bh5GmIs8.js";import{L as Gt}from"./lottie-BAIk2ri4.js";import{j as Bo}from"./CardNumberSubText-Dxhe-tx2-BQPvyrmB.js";import{t as Wo}from"./panelSelectedMixin-Cddsb26L-BcWH15GY.js";import{r as Nr}from"./core-BdfL-uia.js";import{l as Br}from"./uploadReceipts-Dge0cNF1-dwFMCGnO.js";import{N as _o,z as Uo,k as Go,P as Zo}from"./LockCardPage-BiembyjL-BQgtTNap.js";import"./liveblocks-Lf8LVeH9.js";import"./recharts-DVyIhUUu.js";import"./analytics-C7qRceeD.js";import"./lexical-CNiclLj0.js";import"./utils-Bn_xI0qf.js";import"./RoleWithToolTip-C4vCwcT8-C6dR3RYf.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]="9495f352-36e1-4f6b-bf1e-2f6ec4c149d4",e._sentryDebugIdIdentifier="sentry-dbid-9495f352-36e1-4f6b-bf1e-2f6ec4c149d4")}catch{}})();const Wr=ke.getLocalizedStrings().spendManagement.chargeCard,qo=({controllerEmails:e,classListFetchState:i,isChargeCardFeatureEnabled:s,isDebitCardFeatureEnabled:m,isDebitCardSetupEnabled:p,isChargeCardSetupEnabled:w,chargeCardDetailView:l,productInformation:C,creditAccountInformation:g,debitAccountInformation:x,creditAccount:b,creditAccountRepayment:n,cardIssuedByRoles:d,cardIssuedByDepartmentName:f,cardHolderRoles:v,cardHolderDepartmentName:$,appleWalletLink:j,googleWalletLink:D,style:u,showDrawerAnimation:A,setWalletType:S,setIsAddToWalletDrawerOpen:z,isDebitCard:M})=>{const y=Dt().analytics,{isIPadScreen:G}=Yi(),{isAndroidScreen:Y}=Xi(),X=Lt(),E=At(X.loggedInUserRoleMap);return t.jsx(Yo,{style:u,children:G===!0?t.jsx(ea,{onClick:()=>{dt({chargeCardDetailView:l,classListFetchState:i,analytics:y,isDebitCard:M,isChargeCardAdmin:E,cardIssuedByRoles:d,cardIssuedByDepartmentName:f,cardHolderRoles:v,cardHolderDepartmentName:$,controllerEmails:e,pageName:"Card Detail",addToWalletType:"Add to Apple Wallet",productInformation:C,creditAccountInformation:g,debitAccountInformation:x,isChargeCardFeatureEnabled:s,creditAccount:b,creditAccountRepayment:n}),window.open(j,"_blank")}}):Y===!0?t.jsx(Qt,{onClick:()=>{dt({chargeCardDetailView:l,classListFetchState:i,analytics:y,isDebitCard:M,isChargeCardAdmin:E,cardIssuedByRoles:d,cardIssuedByDepartmentName:f,cardHolderRoles:v,cardHolderDepartmentName:$,controllerEmails:e,pageName:"Card Detail",addToWalletType:"Add to Google Wallet",productInformation:C,creditAccountInformation:g,debitAccountInformation:x,isChargeCardFeatureEnabled:s,creditAccount:b,creditAccountRepayment:n}),window.open(D,"_blank")}}):t.jsxs(t.Fragment,{children:[t.jsx(ea,{onClick:()=>{S("apple"),A.current="slide-in-right-to-left-add-to-wallet",dt({chargeCardDetailView:l,classListFetchState:i,analytics:y,isDebitCard:M,isChargeCardAdmin:E,cardIssuedByRoles:d,cardIssuedByDepartmentName:f,cardHolderRoles:v,cardHolderDepartmentName:$,controllerEmails:e,pageName:"Card Detail",addToWalletType:"Add to Apple Wallet",isChargeCardFeatureEnabled:s,productInformation:C,creditAccountInformation:g,debitAccountInformation:x,creditAccount:b,creditAccountRepayment:n}),z(!0)}}),t.jsx(Qt,{onClick:()=>{S("google"),A.current="slide-in-right-to-left-add-to-wallet",dt({chargeCardDetailView:l,classListFetchState:i,analytics:y,isDebitCard:M,isChargeCardAdmin:E,cardIssuedByRoles:d,cardIssuedByDepartmentName:f,cardHolderRoles:v,cardHolderDepartmentName:$,controllerEmails:e,pageName:"Card Detail",addToWalletType:"Add to Google Wallet",isChargeCardFeatureEnabled:s,productInformation:C,creditAccountInformation:g,debitAccountInformation:x,creditAccount:b,creditAccountRepayment:n}),z(!0)}})]})})},Qt=({onClick:e})=>{const i=at();return t.jsx(Er,{prefixIcon:t.jsx(Xo,{}),label:Wr.cardDetails.addToGoogleWallet,buttonColors:{borderColor:{default:i.colors.grey1,hover:i.colors.primary,disabled:i.colors.primary},backgroundColor:{default:i.colors.grey5,hover:i.colors.grey5,disabled:i.colors.grey5},textColor:{default:i.colors.primary,hover:i.colors.primary,disabled:i.colors.grey5}},textStyle:{color:i.colors.primary},style:{width:"239px",justifyContent:"center"},onClick:e,"data-testid":Q("add-to-google-wallet-button")})},ea=({onClick:e})=>{const i=at();return t.jsx(Er,{prefixIcon:t.jsx(Ko,{}),label:Wr.cardDetails.addToAppleWallet,buttonColors:{borderColor:{default:i.colors.grey1,hover:i.colors.primary,disabled:i.colors.primary},backgroundColor:{default:i.colors.grey5,hover:i.colors.grey5,disabled:i.colors.grey5},textColor:{default:i.colors.primary,hover:i.colors.primary,disabled:i.colors.grey5}},textStyle:{color:i.colors.primary},style:{width:"239px",justifyContent:"center"},onClick:e,"data-testid":Q("add-to-apple-wallet-button")})},Yo=r.div`
|
|
2
2
|
margin-top: ${a.sp4};
|
|
3
3
|
display: flex;
|
|
4
4
|
justify-content: center;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{a8 as Za,aR as z,ax as er,fY as tr,iR as W,J as Pe,o as a,d as ta,V as t,bD as ar,ga as rr,fl as ie,b as D,bU as nt,p,aP as me,ab as V,aZ as st,F as Fe,y as H,aj as Y,H as ir,a as or,c$ as nr,at as aa,bL as sr,b0 as ct,aU as dr,an as lt,a9 as cr,gW as lr,ex as ur,ap as hr,ad as mr,gg as pr,i as Nt,u as _,d9 as ra,ar as Cr,am as gr,R as br,c_ as fr,bw as xr,bW as yr}from"./index-
|
|
1
|
+
import{a8 as Za,aR as z,ax as er,fY as tr,iR as W,J as Pe,o as a,d as ta,V as t,bD as ar,ga as rr,fl as ie,b as D,bU as nt,p,aP as me,ab as V,aZ as st,F as Fe,y as H,aj as Y,H as ir,a as or,c$ as nr,at as aa,bL as sr,b0 as ct,aU as dr,an as lt,a9 as cr,gW as lr,ex as ur,ap as hr,ad as mr,gg as pr,i as Nt,u as _,d9 as ra,ar as Cr,am as gr,R as br,c_ as fr,bw as xr,bW as yr}from"./index-BPZ0_UEx.js";import{a as l}from"./sentry-nVlxguQq.js";import{n as r,c as ut,k as Sr}from"./mui-Dg-yyLd1.js";import{ER as wr,Ge as kr,bh as zt,bL as $r,bP as Ir}from"./zeni-epic-state-DwXlACp-.js";import{t as vr}from"./SpendManagementSection-BBotB3Xj-DXZ-WUxC.js";import{D as oe,r as jr,i as Ar}from"./ChargeCardListTable-8Bgd9bzh-yIMe5GBQ.js";import{ChargeCardPromoUserContent as Lr}from"./ChargeCardPromoPage-BPyHy6jq-EG0Y0jIo.js";import{N as Er,J as Pr}from"./PromoBaseCards-BglIl0tN-CTFaf0_7.js";import{z as Ot,N as _t,k as Fr,P as Tr}from"./LockCardPage-BiembyjL-BQgtTNap.js";import{r as Rr,i as Dr}from"./graphic-no-data-net-burn-l-CzmycA0m-BKSa_BmO.js";import{t as Mr,o as Br}from"./arrow-south-east-round-PEovUgvH-DKJtOEDh.js";import"./liveblocks-Lf8LVeH9.js";import"./core-BdfL-uia.js";import"./recharts-DVyIhUUu.js";import"./lottie-BAIk2ri4.js";import"./analytics-C7qRceeD.js";import"./lexical-CNiclLj0.js";import"./utils-Bn_xI0qf.js";import"./RoleWithToolTip-C4vCwcT8-C6dR3RYf.js";import"./CardNumberSubText-Dxhe-tx2-BQPvyrmB.js";import"./NavigationDots-CqAMUVd8-DlLV84YV.js";import"./usp-line-BBd1wKwW-iPZVfl3G.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},c=new e.Error().stack;c&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[c]="774600d5-03c0-4e88-b908-0d7544d7af58",e._sentryDebugIdIdentifier="sentry-dbid-774600d5-03c0-4e88-b908-0d7544d7af58")}catch{}})();const ht={infoSubheadingTextMarginTop:new H(_[0],_[0]),cardsMinWidth:new H(343,353)},Ee=Fe.getLocalizedStrings().spendManagement.chargeCard.chargeCardsPromo.listPage,Ut=({cardPromoType:e,cardText:c,header:u,title:d,subTitle:n,slidingTextList:m,onClick:F,status:$,statusMessage:U})=>{const B=Pe(),L=$!==void 0,G=$==="rejected"?Ee.status.requestRejected:$==="under_review"?Ee.status.requestUnderReview:"";return t.jsxs(zr,{windowSize:B,cardPromoType:e,"data-testid":V("list-page-promo-card",e),onClick:()=>F(e),children:[t.jsxs(ia,{isStatusMode:L,children:[t.jsxs(na,{children:[L?t.jsx(Ur,{children:G}):t.jsx(oa,{children:u}),t.jsx(Wr,{children:d}),L?null:t.jsx(Jr,{children:n})]}),!L&&t.jsxs(Yr,{children:[t.jsx(qr,{}),m.length>0&&t.jsx(dt,{slideUpCount:m.length,children:m.map((ne,se)=>t.jsx(sa,{children:ne},`card-promo-${se.toString()}`))}),t.jsx(Kr,{})]}),U!=null&&L?t.jsx(Vr,{status:$,children:U}):null]}),t.jsx(Qr,{isStatusMode:L,children:t.jsx(Er,{cardPromoType:e,cardText:c,shouldAnimate:!1,forDashboard:!1,showChip:!1,forListPage:!0})}),t.jsx(Xr,{isStatusMode:L,children:t.jsx(Pr,{cardPromoType:e,cardText:c,shouldAnimate:!1,forDashboard:!1,showChip:!1,forListPage:!0})})]})},Vt=({cardType:e,header:c,title:u,creditLimit:d,onCreateNowClick:n})=>{const m=Pe();return t.jsx(Or,{windowSize:m,cardType:e,children:t.jsxs(_r,{children:[t.jsxs(na,{children:[t.jsx(oa,{children:c}),t.jsx(Gr,{children:t.jsx(Hr,{children:u})}),t.jsx(Zr,{windowSize:m,children:t.jsxs(ei,{windowSize:m,onClick:()=>n(e),"data-testid":V("total-cashback-info"),children:[t.jsx(sa,{children:Ee.createNow}),t.jsx(ti,{})]})})]}),e==="creditCard"?t.jsxs(ai,{children:[t.jsx(ri,{children:Ee.creditLimit}),t.jsx(ii,{children:d})]}):null]})})},Nr=e=>{const c=e-1;let u=`
|
|
2
2
|
0% {
|
|
3
3
|
transform: translateY(0);
|
|
4
4
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{ce as ai,V as t,a9 as li,ad as di,F as le,J as ie,ax as Se,a8 as ci,d as ze,h1 as hi,iS as pi,iT as ui,iU as mi,aS as gi,o as i,ab as G,cn as xi,b as Re,p as I,b4 as wi,cv as Ci,iV as fi,iW as yi,bU as ye,cy as Oe,bP as Si,aU as ki,y as C,eI as vi,bb as ji,iX as $i,aV as bi,h as Ii,aj as ee,h4 as Li,an as Y,am as J,u as p,cL as zi,eG as Fi,iY as Ai,iZ as Pi,H as ft,bZ as yt,i_ as St,i$ as Bi,bS as Ri,cB as Ye,j0 as kt,dw as Di,dx as q,aP as ce,cx as vt,m as jt,j1 as _i,cE as Ei,iK as Je,bL as $t,bN as bt,j2 as Ti,j3 as Oi,aW as je,bu as Vi,b_ as Ui,b$ as Ni,j4 as Mi}from"./index-V6jIIx9c.js";import{P as pe,a as f}from"./sentry-C9gjpXHu.js";import{n as o,c as Xe}from"./mui-CcAbIvqz.js";import{T as It}from"./RoleWithToolTip-JIflStMs-B6__Ogz6.js";import{j as Ve}from"./CardNumberSubText-CzY1q13C-CizrzI0W.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]="cc3398e1-1b1b-4e62-836e-978007392537",e._sentryDebugIdIdentifier="sentry-dbid-cc3398e1-1b1b-4e62-836e-978007392537")}catch{}})();const ge=le.getLocalizedStrings().spendManagement.chargeCard.cardList.header,Wi=le.getLocalizedStrings().common.strings.empty,Ze={key:"owner",value:ge.owner,sortOrder:"ascending",width:new C(120,120,160,200,200)},Qe={key:"cardName",value:ge.cardName,sortOrder:"ascending",width:new C(120,120,160,171,171)},et={key:"cardType",value:ge.cardType,sortOrder:"ascending",width:new C(120,120,130,170,170)},tt={key:"status",value:ge.status,sortOrder:"ascending",width:new C(115,115,125,132,132)},it={key:"utilisation",value:ge.utilisation,sortOrder:"ascending",width:new C(p[11],p[11],p[11],p[12],120)},ot={key:"limit",value:ge.limit,sortOrder:"ascending",width:new C(68,68,68,120,120)},Lt=e=>e===!0?[{...Ze,width:new C(0,0),value:Wi},Qe,et,tt,it,ot]:[Ze,Qe,et,tt,it,ot],{common:Ce,spendManagement:{billPay:{paymentDetails:{feePercent:Hi}},chargeCard:j}}=le.getLocalizedStrings(),re={containerPaddingLeft:new C(p[3],p[2]),containerPaddingRight:new C(p[2],p[3]),containerPaddingTop:new C(p[2],p[3]),containerPaddingBottom:new C(p[2],p[3]),containerMarginLeft:new C(p[4],p[0]),containerMarginRight:new C(p[4],p[0]),webkitLineClamp:new C(2,1,1,1,1)};var Ki=(e=>(e.CLOSE="close",e.LOCK="lock",e.UNLOCK="unlock",e.RENAME="rename",e.UPDATE_SPEND_LIMIT="update_spend_limit",e.REVOKE_INVITE="revoke_invite",e))(Ki||{});const qi={moreItemFont:new ft("extraSmallRegular","smallRegular")},Gi=({setCardIdForRowAction:e,setActionTypeForRowAction:s,rowActionView:r,revokeChargeCardsInviteFetchState:d,unlockChargeCardsFetchState:c,cardsSelectedForBulkAction:l,cardDetail:n,isCardControlsEnabled:a,showViewForCardUser:x,signedInUser:w,resendInviteId:g,index:S,onChargeCardRowClick:$,onChargeCardResendInviteClick:k})=>{const[h,m]=f.useState(!1),[y,B]=f.useState(!1);f.useEffect(()=>{h||B(!1)},[h]),f.useEffect(()=>{l.length>0&&h&&(m(!1),B(!1))},[l.length,h]);const R=r.cardId===n.id,D=l.includes(n.id),z=R&&r.unlockChargeCardsFetchState.fetchState==="In-Progress"||D&&c==="In-Progress",N=R&&r.revokeChargeCardFetchState.fetchState==="In-Progress"||D&&d==="In-Progress",u=z||N,v=ie(),E=!!Se().loggedInUserRole.includes("charge_card_user")||x,M=f.useCallback(()=>{$(n.id,S)},[n.id]),O=kt(n)/n.limit.amount*100,W=n?.cardHolderUserId===w.userId,A=n.status.code!=="closed"&&n.status.code!=="closed_by_customer",V=Di(n.cardHolderUser,!1),H=n.balance,F=Lt(E),te=t.jsxs(t.Fragment,{children:[t.jsx(q,{isLoading:u,customStyle:{width:i.sp9,height:"20px",borderRadius:i.sp1},children:t.jsx(uo,{title:ce("0,0.[00]",H),className:"amountToUtilize",children:ce("0,0.[00]",H)})}),O!==0?t.jsx(q,{isLoading:u,customStyle:{width:i.sp11,height:i.sp3,borderRadius:i.sp1},children:t.jsx(mo,{className:"amountToUtilize",children:`${Math.round(O)}${Hi}`})}):null]}),X=n.type.code,_=j.cardList.tooltip[X],de=_!=null?W?_.self:`${V} ${_.cardUser}`:Ce.strings.empty;return t.jsx(Ji,{windowSize:v,children:t.jsx(Xi,{onClick:M,"data-testid":G("card-row",n.id),children:t.jsxs(Qi,{children:[E?null:t.jsx(ue,{children:t.jsxs(eo,{windowSize:v,responsiveWidth:F[0].width,children:[t.jsx(q,{isLoading:u,flex:"0 0",customStyle:{width:i.sp6,height:i.sp6,borderRadius:"50%"},children:t.jsx(vt,{personBasic:n.cardHolderUser,styles:{height:i.sp6,width:i.sp6,minWidth:i.sp6}})}),t.jsxs(io,{isLoading:u,children:[t.jsx(to,{isLoading:u,children:t.jsx(q,{isLoading:u,customStyle:{width:"88px",height:"20px",borderRadius:i.sp1},children:t.jsx(oo,{windowSize:v,title:V,className:"cardHolderName",children:V===Ce.strings.empty?Ce.strings.hyphen:V})})}),t.jsx(q,{isLoading:u,customStyle:{width:"104px",height:i.sp3,borderRadius:i.sp1},children:t.jsx(at,{className:"additionalInfoContainer",children:n.cardHolderRoles?.userRoles!=null&&t.jsx(It,{roles:n.cardHolderRoles?.userRoles})})})]})]})}),t.jsx(ue,{children:t.jsxs(ao,{isLoading:u,windowSize:v,responsiveWidth:F[1].width,children:[t.jsx(q,{isLoading:u,customStyle:{width:"88px",height:"20px",borderRadius:i.sp1},children:t.jsx(lo,{title:n.cardName,className:"cardName",children:n.cardName})}),t.jsxs(q,{isLoading:u,customStyle:{width:"104px",height:i.sp3,borderRadius:i.sp1},children:[" ",t.jsx(yo,{windowSize:v,className:"cardNameSubText",children:n.status.code==="request_on_hold"?Ce.strings.hyphen:j.cardDetails.expiryHideOut+Ce.strings.space+n.accountLast4})]})]})}),t.jsx(ue,{children:t.jsx(co,{windowSize:v,responsiveWidth:F[2].width,children:t.jsx(ho,{className:"card-type",children:t.jsx(q,{isLoading:u,customStyle:{width:"144px",height:i.sp4,borderRadius:i.sp1},children:t.jsx(Ve,{cardDetail:n,forDetailPage:!1})})})})}),t.jsx(ue,{children:t.jsx(lt,{windowSize:v,isLoading:u,responsiveWidth:F[3].width,children:t.jsx(q,{isLoading:u,customStyle:{width:"112px",height:i.sp4,borderRadius:i.sp1},children:g===n.id?t.jsx(jt,{size:"Small",start:!0}):t.jsxs(po,{children:[t.jsx(wo,{children:n.status.code==="request_on_hold"?t.jsxs(ye,{display:"flex",title:de,placement:"top",style:{padding:`${i.sp2} ${i.sp3}`},children:[t.jsx(Le,{status:n.status.code,style:{cursor:"pointer"}}),t.jsx(go,{style:{marginLeft:i.sp1},className:"infoIconTooltip"})]}):t.jsx(Le,{status:n.status.code})}),n.status.code==="request_on_hold"&&!W?t.jsx(xo,{onClick:K=>{K.stopPropagation(),k(n.id)},"data-testid":G("send-reminder",n.id),children:j.cardList.sendReminder}):null]})})})}),t.jsx(ue,{children:t.jsx(lt,{windowSize:v,isLoading:u,responsiveWidth:F[4].width,children:te})}),t.jsx(ue,{children:t.jsxs(so,{windowSize:v,responsiveWidth:F[5].width,children:[t.jsxs(ro,{windowSize:v,isLoading:u,children:[t.jsx(q,{isLoading:u,customStyle:{width:"68px",height:"20px",borderRadius:i.sp1},children:t.jsx(no,{className:"limitAmount",windowSize:v,title:ce("0,0.[00]",n.limit),children:ce("0,0.[00]",n.limit)})}),t.jsx(at,{className:"additionalInfoContainer",children:t.jsx(q,{isLoading:u,customStyle:{width:i.sp8,height:i.sp3,borderRadius:i.sp1},children:n.creditLimitFrequency.name})})]}),t.jsx(Co,{className:"menu-icon",onMouseEnter:()=>{!h&&A&&B(!0)},onMouseLeave:()=>{A&&B(!1)},children:(()=>{const K=n.status.code==="locked",oe=n.status.code==="closed"||n.status.code==="closed_by_customer",xe=E?a&&!u&&!oe&&!(K&&n.isLockedByAdmin):a?!u&&A:n.status.code==="request_on_hold",b=l.length>0;return xe&&t.jsx(ye,{open:y&&!h&&!b,variant:"standard",title:j.cardList.moreActionsTooltip,placement:"bottom-end",children:t.jsx(Oe,{isMenuVisible:!0,menuItems:t.jsx(fo,{children:t.jsx(zt,{cardDetail:n,isCardControlsEnabled:a,isChargeCardUser:E,setIsMenuOpen:m,setCardIdForRowAction:e,setActionTypeForRowAction:s})}),setIsMenuOpen:Fe=>{b||m(Fe)},isMenuOpen:h&&!b,menuIconStyles:{height:"auto",cursor:b?"not-allowed":"pointer",opacity:b?.5:1,pointerEvents:b?"none":"auto"},styles:{transform:`translate(${i.sp3},${i.sp2})`}})})})()})]})})]})})})},zt=({cardDetail:e,isCardControlsEnabled:s,isChargeCardUser:r,setIsMenuOpen:d,setCardIdForRowAction:c,setActionTypeForRowAction:l})=>{const n=ie();return s?e.status.code==="request_on_hold"?r?t.jsxs(L,{windowSize:n,onClick:a=>{a.stopPropagation(),d(!1),c(e.id),l("rename")},children:[t.jsx(se,{}),t.jsx(T,{children:j.cardDetails.moreOptions.rename})]}):t.jsxs(t.Fragment,{children:[t.jsxs(L,{windowSize:n,onClick:a=>{a.stopPropagation(),d(!1),c(e.id),l("rename")},children:[t.jsx(se,{}),t.jsx(T,{children:j.cardDetails.moreOptions.rename})]}),t.jsx($e,{}),t.jsxs(L,{hoverImportant:!0,windowSize:n,onClick:a=>{a.stopPropagation(),d(!1),c(e.id),l("revoke_invite")},children:[t.jsx(Zi,{}),t.jsx(fe,{children:j.cardDetails.revokeInvite})]})]}):e.status.code==="inactive"?r?t.jsxs(L,{windowSize:n,onClick:a=>{a.stopPropagation(),d(!1),c(e.id),l("rename")},children:[t.jsx(se,{}),t.jsx(T,{children:j.cardDetails.moreOptions.rename})]}):t.jsxs(t.Fragment,{children:[t.jsxs(L,{windowSize:n,onClick:a=>{a.stopPropagation(),d(!1),c(e.id),l("rename")},children:[t.jsx(se,{}),t.jsx(T,{children:j.cardDetails.moreOptions.rename})]}),t.jsx($e,{}),t.jsxs(L,{hoverImportant:!0,windowSize:n,onClick:a=>{a.stopPropagation(),d(!1),c(e.id),l("close")},children:[t.jsx(Be,{}),t.jsx(fe,{children:j.cardDetails.moreOptions.close})]})]}):e.status.code==="locked"?r?t.jsxs(t.Fragment,{children:[t.jsxs(L,{windowSize:n,onClick:a=>{a.stopPropagation(),d(!1),c(e.id),l("unlock")},children:[t.jsx(nt,{}),t.jsx(T,{children:j.cardDetails.moreOptions.unlock})]}),t.jsxs(L,{windowSize:n,onClick:a=>{a.stopPropagation(),d(!1),c(e.id),l("rename")},children:[t.jsx(se,{}),t.jsx(T,{children:j.cardDetails.moreOptions.rename})]})]}):t.jsxs(t.Fragment,{children:[t.jsxs(L,{windowSize:n,onClick:a=>{a.stopPropagation(),d(!1),c(e.id),l("unlock")},children:[t.jsx(nt,{}),t.jsx(T,{children:j.cardDetails.moreOptions.unlock})]}),t.jsxs(L,{windowSize:n,onClick:a=>{a.stopPropagation(),d(!1),c(e.id),l("rename")},children:[t.jsx(se,{}),t.jsx(T,{children:j.cardDetails.moreOptions.rename})]}),t.jsxs(L,{windowSize:n,onClick:a=>{a.stopPropagation(),d(!1),c(e.id),l("update_spend_limit")},children:[t.jsx(st,{}),t.jsx(T,{children:j.cardDetails.moreOptions.updateSpendLimit})]}),t.jsx($e,{}),t.jsxs(L,{hoverImportant:!0,windowSize:n,onClick:a=>{a.stopPropagation(),d(!1),c(e.id),l("close")},children:[t.jsx(Be,{}),t.jsx(fe,{children:j.cardDetails.moreOptions.close})]})]}):r?t.jsxs(t.Fragment,{children:[t.jsxs(L,{windowSize:n,onClick:a=>{a.stopPropagation(),d(!1),c(e.id),l("rename")},children:[t.jsx(se,{}),t.jsx(T,{children:j.cardDetails.moreOptions.rename})]}),t.jsxs(L,{windowSize:n,onClick:a=>{a.stopPropagation(),d(!1),c(e.id),l("lock")},children:[t.jsx(rt,{}),t.jsx(T,{children:j.cardDetails.moreOptions.lock})]})]}):t.jsxs(t.Fragment,{children:[t.jsxs(L,{windowSize:n,onClick:a=>{a.stopPropagation(),d(!1),c(e.id),l("update_spend_limit")},children:[t.jsx(st,{}),t.jsx(T,{children:j.cardDetails.moreOptions.updateSpendLimit})]}),t.jsxs(L,{windowSize:n,onClick:a=>{a.stopPropagation(),d(!1),c(e.id),l("rename")},children:[t.jsx(se,{}),t.jsx(T,{children:j.cardDetails.moreOptions.rename})]}),t.jsxs(L,{windowSize:n,onClick:a=>{a.stopPropagation(),d(!1),c(e.id),l("lock")},children:[t.jsx(rt,{}),t.jsx(T,{children:j.cardDetails.moreOptions.lock})]}),t.jsx($e,{}),t.jsxs(L,{windowSize:n,hoverImportant:!0,onClick:a=>{a.stopPropagation(),d(!1),c(e.id),l("close")},children:[t.jsx(Be,{}),t.jsx(fe,{children:j.cardDetails.moreOptions.close})]})]}):e.status.code==="request_on_hold"?t.jsx(L,{hoverImportant:!0,windowSize:n,onClick:a=>{a.stopPropagation(),d(!1),c(e.id),l("revoke_invite")},children:t.jsx(fe,{children:j.cardDetails.revokeInvite})}):null},Le=({status:e,style:s})=>{const r=ze(),d=Yi(e,r),c=le.getLocalizedStrings().spendManagement.chargeCard.cardList.status;return ie()==="small"?t.jsx(Je,{textColor:d,text:c[e],tagStyles:{maxWidth:i.sp10,textOverflow:"ellipsis",overflow:"hidden",whiteSpace:"nowrap",padding:"1px 6px",...s}}):t.jsx(Je,{textColor:d,text:c[e],styles:s,tagStyles:{padding:"1px 6px"}})},Yi=(e,s)=>{switch(e){case"active":return new je(I.success);case"request_on_hold":return new je(I.graphColor36);case"inactive":return new je(I.alert);default:return new je(s.colors.grey1)}},T=o(J)`
|
|
1
|
+
import{ce as ai,V as t,a9 as li,ad as di,F as le,J as ie,ax as Se,a8 as ci,d as ze,h1 as hi,iS as pi,iT as ui,iU as mi,aS as gi,o as i,ab as G,cn as xi,b as Re,p as I,b4 as wi,cv as Ci,iV as fi,iW as yi,bU as ye,cy as Oe,bP as Si,aU as ki,y as C,eI as vi,bb as ji,iX as $i,aV as bi,h as Ii,aj as ee,h4 as Li,an as Y,am as J,u as p,cL as zi,eG as Fi,iY as Ai,iZ as Pi,H as ft,bZ as yt,i_ as St,i$ as Bi,bS as Ri,cB as Ye,j0 as kt,dw as Di,dx as q,aP as ce,cx as vt,m as jt,j1 as _i,cE as Ei,iK as Je,bL as $t,bN as bt,j2 as Ti,j3 as Oi,aW as je,bu as Vi,b_ as Ui,b$ as Ni,j4 as Mi}from"./index-BPZ0_UEx.js";import{P as pe,a as f}from"./sentry-nVlxguQq.js";import{n as o,c as Xe}from"./mui-Dg-yyLd1.js";import{T as It}from"./RoleWithToolTip-C4vCwcT8-C6dR3RYf.js";import{j as Ve}from"./CardNumberSubText-Dxhe-tx2-BQPvyrmB.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]="46383791-d904-4513-95e6-f8eec16d201b",e._sentryDebugIdIdentifier="sentry-dbid-46383791-d904-4513-95e6-f8eec16d201b")}catch{}})();const ge=le.getLocalizedStrings().spendManagement.chargeCard.cardList.header,Wi=le.getLocalizedStrings().common.strings.empty,Ze={key:"owner",value:ge.owner,sortOrder:"ascending",width:new C(120,120,160,200,200)},Qe={key:"cardName",value:ge.cardName,sortOrder:"ascending",width:new C(120,120,160,171,171)},et={key:"cardType",value:ge.cardType,sortOrder:"ascending",width:new C(120,120,130,170,170)},tt={key:"status",value:ge.status,sortOrder:"ascending",width:new C(115,115,125,132,132)},it={key:"utilisation",value:ge.utilisation,sortOrder:"ascending",width:new C(p[11],p[11],p[11],p[12],120)},ot={key:"limit",value:ge.limit,sortOrder:"ascending",width:new C(68,68,68,120,120)},Lt=e=>e===!0?[{...Ze,width:new C(0,0),value:Wi},Qe,et,tt,it,ot]:[Ze,Qe,et,tt,it,ot],{common:Ce,spendManagement:{billPay:{paymentDetails:{feePercent:Hi}},chargeCard:j}}=le.getLocalizedStrings(),re={containerPaddingLeft:new C(p[3],p[2]),containerPaddingRight:new C(p[2],p[3]),containerPaddingTop:new C(p[2],p[3]),containerPaddingBottom:new C(p[2],p[3]),containerMarginLeft:new C(p[4],p[0]),containerMarginRight:new C(p[4],p[0]),webkitLineClamp:new C(2,1,1,1,1)};var Ki=(e=>(e.CLOSE="close",e.LOCK="lock",e.UNLOCK="unlock",e.RENAME="rename",e.UPDATE_SPEND_LIMIT="update_spend_limit",e.REVOKE_INVITE="revoke_invite",e))(Ki||{});const qi={moreItemFont:new ft("extraSmallRegular","smallRegular")},Gi=({setCardIdForRowAction:e,setActionTypeForRowAction:s,rowActionView:r,revokeChargeCardsInviteFetchState:d,unlockChargeCardsFetchState:c,cardsSelectedForBulkAction:l,cardDetail:n,isCardControlsEnabled:a,showViewForCardUser:x,signedInUser:w,resendInviteId:g,index:S,onChargeCardRowClick:$,onChargeCardResendInviteClick:k})=>{const[h,m]=f.useState(!1),[y,B]=f.useState(!1);f.useEffect(()=>{h||B(!1)},[h]),f.useEffect(()=>{l.length>0&&h&&(m(!1),B(!1))},[l.length,h]);const R=r.cardId===n.id,D=l.includes(n.id),z=R&&r.unlockChargeCardsFetchState.fetchState==="In-Progress"||D&&c==="In-Progress",N=R&&r.revokeChargeCardFetchState.fetchState==="In-Progress"||D&&d==="In-Progress",u=z||N,v=ie(),E=!!Se().loggedInUserRole.includes("charge_card_user")||x,M=f.useCallback(()=>{$(n.id,S)},[n.id]),O=kt(n)/n.limit.amount*100,W=n?.cardHolderUserId===w.userId,A=n.status.code!=="closed"&&n.status.code!=="closed_by_customer",V=Di(n.cardHolderUser,!1),H=n.balance,F=Lt(E),te=t.jsxs(t.Fragment,{children:[t.jsx(q,{isLoading:u,customStyle:{width:i.sp9,height:"20px",borderRadius:i.sp1},children:t.jsx(uo,{title:ce("0,0.[00]",H),className:"amountToUtilize",children:ce("0,0.[00]",H)})}),O!==0?t.jsx(q,{isLoading:u,customStyle:{width:i.sp11,height:i.sp3,borderRadius:i.sp1},children:t.jsx(mo,{className:"amountToUtilize",children:`${Math.round(O)}${Hi}`})}):null]}),X=n.type.code,_=j.cardList.tooltip[X],de=_!=null?W?_.self:`${V} ${_.cardUser}`:Ce.strings.empty;return t.jsx(Ji,{windowSize:v,children:t.jsx(Xi,{onClick:M,"data-testid":G("card-row",n.id),children:t.jsxs(Qi,{children:[E?null:t.jsx(ue,{children:t.jsxs(eo,{windowSize:v,responsiveWidth:F[0].width,children:[t.jsx(q,{isLoading:u,flex:"0 0",customStyle:{width:i.sp6,height:i.sp6,borderRadius:"50%"},children:t.jsx(vt,{personBasic:n.cardHolderUser,styles:{height:i.sp6,width:i.sp6,minWidth:i.sp6}})}),t.jsxs(io,{isLoading:u,children:[t.jsx(to,{isLoading:u,children:t.jsx(q,{isLoading:u,customStyle:{width:"88px",height:"20px",borderRadius:i.sp1},children:t.jsx(oo,{windowSize:v,title:V,className:"cardHolderName",children:V===Ce.strings.empty?Ce.strings.hyphen:V})})}),t.jsx(q,{isLoading:u,customStyle:{width:"104px",height:i.sp3,borderRadius:i.sp1},children:t.jsx(at,{className:"additionalInfoContainer",children:n.cardHolderRoles?.userRoles!=null&&t.jsx(It,{roles:n.cardHolderRoles?.userRoles})})})]})]})}),t.jsx(ue,{children:t.jsxs(ao,{isLoading:u,windowSize:v,responsiveWidth:F[1].width,children:[t.jsx(q,{isLoading:u,customStyle:{width:"88px",height:"20px",borderRadius:i.sp1},children:t.jsx(lo,{title:n.cardName,className:"cardName",children:n.cardName})}),t.jsxs(q,{isLoading:u,customStyle:{width:"104px",height:i.sp3,borderRadius:i.sp1},children:[" ",t.jsx(yo,{windowSize:v,className:"cardNameSubText",children:n.status.code==="request_on_hold"?Ce.strings.hyphen:j.cardDetails.expiryHideOut+Ce.strings.space+n.accountLast4})]})]})}),t.jsx(ue,{children:t.jsx(co,{windowSize:v,responsiveWidth:F[2].width,children:t.jsx(ho,{className:"card-type",children:t.jsx(q,{isLoading:u,customStyle:{width:"144px",height:i.sp4,borderRadius:i.sp1},children:t.jsx(Ve,{cardDetail:n,forDetailPage:!1})})})})}),t.jsx(ue,{children:t.jsx(lt,{windowSize:v,isLoading:u,responsiveWidth:F[3].width,children:t.jsx(q,{isLoading:u,customStyle:{width:"112px",height:i.sp4,borderRadius:i.sp1},children:g===n.id?t.jsx(jt,{size:"Small",start:!0}):t.jsxs(po,{children:[t.jsx(wo,{children:n.status.code==="request_on_hold"?t.jsxs(ye,{display:"flex",title:de,placement:"top",style:{padding:`${i.sp2} ${i.sp3}`},children:[t.jsx(Le,{status:n.status.code,style:{cursor:"pointer"}}),t.jsx(go,{style:{marginLeft:i.sp1},className:"infoIconTooltip"})]}):t.jsx(Le,{status:n.status.code})}),n.status.code==="request_on_hold"&&!W?t.jsx(xo,{onClick:K=>{K.stopPropagation(),k(n.id)},"data-testid":G("send-reminder",n.id),children:j.cardList.sendReminder}):null]})})})}),t.jsx(ue,{children:t.jsx(lt,{windowSize:v,isLoading:u,responsiveWidth:F[4].width,children:te})}),t.jsx(ue,{children:t.jsxs(so,{windowSize:v,responsiveWidth:F[5].width,children:[t.jsxs(ro,{windowSize:v,isLoading:u,children:[t.jsx(q,{isLoading:u,customStyle:{width:"68px",height:"20px",borderRadius:i.sp1},children:t.jsx(no,{className:"limitAmount",windowSize:v,title:ce("0,0.[00]",n.limit),children:ce("0,0.[00]",n.limit)})}),t.jsx(at,{className:"additionalInfoContainer",children:t.jsx(q,{isLoading:u,customStyle:{width:i.sp8,height:i.sp3,borderRadius:i.sp1},children:n.creditLimitFrequency.name})})]}),t.jsx(Co,{className:"menu-icon",onMouseEnter:()=>{!h&&A&&B(!0)},onMouseLeave:()=>{A&&B(!1)},children:(()=>{const K=n.status.code==="locked",oe=n.status.code==="closed"||n.status.code==="closed_by_customer",xe=E?a&&!u&&!oe&&!(K&&n.isLockedByAdmin):a?!u&&A:n.status.code==="request_on_hold",b=l.length>0;return xe&&t.jsx(ye,{open:y&&!h&&!b,variant:"standard",title:j.cardList.moreActionsTooltip,placement:"bottom-end",children:t.jsx(Oe,{isMenuVisible:!0,menuItems:t.jsx(fo,{children:t.jsx(zt,{cardDetail:n,isCardControlsEnabled:a,isChargeCardUser:E,setIsMenuOpen:m,setCardIdForRowAction:e,setActionTypeForRowAction:s})}),setIsMenuOpen:Fe=>{b||m(Fe)},isMenuOpen:h&&!b,menuIconStyles:{height:"auto",cursor:b?"not-allowed":"pointer",opacity:b?.5:1,pointerEvents:b?"none":"auto"},styles:{transform:`translate(${i.sp3},${i.sp2})`}})})})()})]})})]})})})},zt=({cardDetail:e,isCardControlsEnabled:s,isChargeCardUser:r,setIsMenuOpen:d,setCardIdForRowAction:c,setActionTypeForRowAction:l})=>{const n=ie();return s?e.status.code==="request_on_hold"?r?t.jsxs(L,{windowSize:n,onClick:a=>{a.stopPropagation(),d(!1),c(e.id),l("rename")},children:[t.jsx(se,{}),t.jsx(T,{children:j.cardDetails.moreOptions.rename})]}):t.jsxs(t.Fragment,{children:[t.jsxs(L,{windowSize:n,onClick:a=>{a.stopPropagation(),d(!1),c(e.id),l("rename")},children:[t.jsx(se,{}),t.jsx(T,{children:j.cardDetails.moreOptions.rename})]}),t.jsx($e,{}),t.jsxs(L,{hoverImportant:!0,windowSize:n,onClick:a=>{a.stopPropagation(),d(!1),c(e.id),l("revoke_invite")},children:[t.jsx(Zi,{}),t.jsx(fe,{children:j.cardDetails.revokeInvite})]})]}):e.status.code==="inactive"?r?t.jsxs(L,{windowSize:n,onClick:a=>{a.stopPropagation(),d(!1),c(e.id),l("rename")},children:[t.jsx(se,{}),t.jsx(T,{children:j.cardDetails.moreOptions.rename})]}):t.jsxs(t.Fragment,{children:[t.jsxs(L,{windowSize:n,onClick:a=>{a.stopPropagation(),d(!1),c(e.id),l("rename")},children:[t.jsx(se,{}),t.jsx(T,{children:j.cardDetails.moreOptions.rename})]}),t.jsx($e,{}),t.jsxs(L,{hoverImportant:!0,windowSize:n,onClick:a=>{a.stopPropagation(),d(!1),c(e.id),l("close")},children:[t.jsx(Be,{}),t.jsx(fe,{children:j.cardDetails.moreOptions.close})]})]}):e.status.code==="locked"?r?t.jsxs(t.Fragment,{children:[t.jsxs(L,{windowSize:n,onClick:a=>{a.stopPropagation(),d(!1),c(e.id),l("unlock")},children:[t.jsx(nt,{}),t.jsx(T,{children:j.cardDetails.moreOptions.unlock})]}),t.jsxs(L,{windowSize:n,onClick:a=>{a.stopPropagation(),d(!1),c(e.id),l("rename")},children:[t.jsx(se,{}),t.jsx(T,{children:j.cardDetails.moreOptions.rename})]})]}):t.jsxs(t.Fragment,{children:[t.jsxs(L,{windowSize:n,onClick:a=>{a.stopPropagation(),d(!1),c(e.id),l("unlock")},children:[t.jsx(nt,{}),t.jsx(T,{children:j.cardDetails.moreOptions.unlock})]}),t.jsxs(L,{windowSize:n,onClick:a=>{a.stopPropagation(),d(!1),c(e.id),l("rename")},children:[t.jsx(se,{}),t.jsx(T,{children:j.cardDetails.moreOptions.rename})]}),t.jsxs(L,{windowSize:n,onClick:a=>{a.stopPropagation(),d(!1),c(e.id),l("update_spend_limit")},children:[t.jsx(st,{}),t.jsx(T,{children:j.cardDetails.moreOptions.updateSpendLimit})]}),t.jsx($e,{}),t.jsxs(L,{hoverImportant:!0,windowSize:n,onClick:a=>{a.stopPropagation(),d(!1),c(e.id),l("close")},children:[t.jsx(Be,{}),t.jsx(fe,{children:j.cardDetails.moreOptions.close})]})]}):r?t.jsxs(t.Fragment,{children:[t.jsxs(L,{windowSize:n,onClick:a=>{a.stopPropagation(),d(!1),c(e.id),l("rename")},children:[t.jsx(se,{}),t.jsx(T,{children:j.cardDetails.moreOptions.rename})]}),t.jsxs(L,{windowSize:n,onClick:a=>{a.stopPropagation(),d(!1),c(e.id),l("lock")},children:[t.jsx(rt,{}),t.jsx(T,{children:j.cardDetails.moreOptions.lock})]})]}):t.jsxs(t.Fragment,{children:[t.jsxs(L,{windowSize:n,onClick:a=>{a.stopPropagation(),d(!1),c(e.id),l("update_spend_limit")},children:[t.jsx(st,{}),t.jsx(T,{children:j.cardDetails.moreOptions.updateSpendLimit})]}),t.jsxs(L,{windowSize:n,onClick:a=>{a.stopPropagation(),d(!1),c(e.id),l("rename")},children:[t.jsx(se,{}),t.jsx(T,{children:j.cardDetails.moreOptions.rename})]}),t.jsxs(L,{windowSize:n,onClick:a=>{a.stopPropagation(),d(!1),c(e.id),l("lock")},children:[t.jsx(rt,{}),t.jsx(T,{children:j.cardDetails.moreOptions.lock})]}),t.jsx($e,{}),t.jsxs(L,{windowSize:n,hoverImportant:!0,onClick:a=>{a.stopPropagation(),d(!1),c(e.id),l("close")},children:[t.jsx(Be,{}),t.jsx(fe,{children:j.cardDetails.moreOptions.close})]})]}):e.status.code==="request_on_hold"?t.jsx(L,{hoverImportant:!0,windowSize:n,onClick:a=>{a.stopPropagation(),d(!1),c(e.id),l("revoke_invite")},children:t.jsx(fe,{children:j.cardDetails.revokeInvite})}):null},Le=({status:e,style:s})=>{const r=ze(),d=Yi(e,r),c=le.getLocalizedStrings().spendManagement.chargeCard.cardList.status;return ie()==="small"?t.jsx(Je,{textColor:d,text:c[e],tagStyles:{maxWidth:i.sp10,textOverflow:"ellipsis",overflow:"hidden",whiteSpace:"nowrap",padding:"1px 6px",...s}}):t.jsx(Je,{textColor:d,text:c[e],styles:s,tagStyles:{padding:"1px 6px"}})},Yi=(e,s)=>{switch(e){case"active":return new je(I.success);case"request_on_hold":return new je(I.graphColor36);case"inactive":return new je(I.alert);default:return new je(s.colors.grey1)}},T=o(J)`
|
|
2
2
|
color: inherit;
|
|
3
3
|
`,fe=o(J)`
|
|
4
4
|
color: ${I.important};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{a8 as ze,ax as Re,J as H,d as F,V as t,bD as Ie,b as I,ga as Te,F as T,u as l,o as i,y as x,jn as De,ce as Be,jo as J,ab as A,b4 as Ae,cv as Oe,iV as Me,bP as Ne,aU as He,am as W,dx as j,g$ as Y,aP as V,bU as We,cx as Ee,bS as Ke,an as N,cB as X,p as $,h0 as pe,fU as me,fQ as ge,cj as Ve,aj as U,iK as ue,bN as Fe,jp as Ue,j1 as _e,cE as Ze,aW as z,j2 as Ye,j3 as Qe}from"./index-
|
|
1
|
+
import{a8 as ze,ax as Re,J as H,d as F,V as t,bD as Ie,b as I,ga as Te,F as T,u as l,o as i,y as x,jn as De,ce as Be,jo as J,ab as A,b4 as Ae,cv as Oe,iV as Me,bP as Ne,aU as He,am as W,dx as j,g$ as Y,aP as V,bU as We,cx as Ee,bS as Ke,an as N,cB as X,p as $,h0 as pe,fU as me,fQ as ge,cj as Ve,aj as U,iK as ue,bN as Fe,jp as Ue,j1 as _e,cE as Ze,aW as z,j2 as Ye,j3 as Qe}from"./index-BPZ0_UEx.js";import{a as S,P as Q}from"./sentry-nVlxguQq.js";import{n,c as q}from"./mui-Dg-yyLd1.js";import{t as Ge}from"./SpendManagementSection-BBotB3Xj-DXZ-WUxC.js";import{r as Je,a as Xe,i as ye,g as qe}from"./SpendManagementListViewPage-B452IhbL-TWCl13gF.js";import{ck as xe,Gh as fe}from"./zeni-epic-state-DwXlACp-.js";import{r as et}from"./auto-transfer-rule-mbafm5D3-BtLYBoTe.js";import"./liveblocks-Lf8LVeH9.js";import"./core-BdfL-uia.js";import"./recharts-DVyIhUUu.js";import"./lottie-BAIk2ri4.js";import"./analytics-C7qRceeD.js";import"./lexical-CNiclLj0.js";import"./utils-Bn_xI0qf.js";import"./StatusSwitcher-LSy5NlOs-Cp5AKxg-.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]="23a919b5-6527-4b3d-a25d-b91d512fec9b",e._sentryDebugIdIdentifier="sentry-dbid-23a919b5-6527-4b3d-a25d-b91d512fec9b")}catch{}})();const E=T.getLocalizedStrings().spendManagement.chargeCard.paymentHistory.header,tt={key:"paymentDate",value:E.paymentDate,sortOrder:"ascending",width:new x(18,18,18,18,18)},it={key:"sourceAccount",value:E.sourceAccount,sortOrder:"ascending",width:new x(30,30,30,30,30)},nt={key:"paymentStatus",value:E.paymentStatus,sortOrder:"ascending",width:new x(22,22,22,22,22)},ot={key:"initiatedBy",value:E.initiatedBy,sortOrder:"ascending",width:new x(18,18,18,18,18)},at={key:"amount",value:E.amount,sortOrder:"ascending",width:new x(12,12,12,12,12)},we=()=>[tt,it,nt,ot,at],k={containerPaddingLeft:i.sp2,containerPaddingRight:i.sp3,containerPaddingTop:i.sp3,containerPaddingBottom:i.sp3,headerLastColumnTopPadding:new x(l[0],l[4]),headerLastColumnRightPadding:new x(l[3],l[11]),headerLastColumnBottomPadding:new x(l[0],l[4]),headerLastColumnLeftPadding:new x(l[0],l[11]),headerHeight:new x(Ye,Qe)};function st({companyNameSticky:e,sortConfig:o,onColumnSortConfigChanged:c}){const a=F(),r=H(),[d,g]=S.useState(we());S.useEffect(()=>{const s=[...d];for(const m of s)m.key===o.sortKey?m.sortOrder=o.sortOrder:m.sortOrder="ascending";g(s)},[o.sortKey,o.sortOrder]);const y=(s,m)=>{let C=m;o.sortKey===s&&(C=m==="ascending"?"descending":"ascending"),c(s,C)},h=d.find(s=>s.key===o.sortKey)??d[0],p=s=>d.find(m=>m.key===s)?.value??"",u=d.map(s=>s.key),b=T.getLocalizedStrings().spendManagement.chargeCard.paymentHistory;return r==="small"?t.jsxs(ct,{windowSize:r,children:[t.jsxs(mt,{children:[t.jsx(ut,{children:t.jsx(gt,{})}),t.jsx(Ke,{title:b.header.paymentDate,placeholder:b.header.paymentDate,pickerValues:u,valueToLabel:p,selectedValue:o.sortKey,onPickerSelectionChanged:s=>{y(s,"ascending")},optionTextStyle:I.extraSmallRegular,titleTextStyle:I.extraSmallRegular,titleColor:a.colors.primary,selectedOptionColor:a.colors.hero,optionBackgroundColor:a.colors.grey5,downChevronVisible:!1,backgroundColor:a.colors.grey4})]}),t.jsxs(ft,{onClick:()=>y(h.key,h.sortOrder),"data-testid":A("mobile-payment-history-list-sort-clicked",o.sortKey),children:[t.jsx(N,{children:h.value}),t.jsx(ee,{windowSize:r,sortDataValue:o.sortKey,headerdata:h,children:t.jsx(te,{windowSize:r,children:t.jsx(X,{})})})]})]}):t.jsx(dt,{windowSize:r,children:t.jsx(lt,{children:d.map(s=>s.width.value(r)!==0&&t.jsxs(ht,{companyNameSticky:e,sortDataValue:o.sortKey,actualDataValue:s.key,wrapperWidth:s.width,windowSize:r,children:[t.jsxs(xt,{onClick:()=>y(s.key,s.sortOrder),"data-testid":A("payment-history-list-sort-clicked",o.sortKey),children:[t.jsx(N,{children:s.value}),t.jsx(ee,{windowSize:r,sortDataValue:o.sortKey,headerdata:s,children:t.jsx(te,{windowSize:r,children:t.jsx(X,{})})})]}),t.jsx(yt,{sortDataValue:o.sortKey,windowSize:r,isVisible:o.sortKey===s.key&&!(o.sortKey==="paymentDate"&&o.sortOrder==="ascending"),children:t.jsx(pt,{onClick:()=>y("paymentDate","ascending"),"data-testid":A("payment-history-list-sort-cancel",o.sortKey)})})]},s.key))})})}const rt=Q.memo(st),dt=n.div`
|
|
2
2
|
top: ${i.sp0};
|
|
3
3
|
left: ${i.sp0};
|
|
4
4
|
z-index: 2;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{J as $,V as r,d as G,ax as ye,a8 as $e,aR as je,aP as Se,fY as Te,bD as ze,fx as ve,i as Y,ab as ee,F as oe,o as t,R as Pe,c as J,cF as ke,ar as Ie,y as x,aq as Ae,bU as Be,iO as Re,aj as Le,u as p,H as S,p as C,bb as _e,aV as Me,iP as Ee}from"./index-V6jIIx9c.js";import{a as T}from"./sentry-C9gjpXHu.js";import{n,c as De,k as Fe}from"./mui-CcAbIvqz.js";import{ER as Ue}from"./zeni-epic-state-yTwK6eAd.js";import{k as Ne}from"./NavigationDots-DSmdsJan-D7Dn9zqB.js";import{J as H,N as V}from"./PromoBaseCards-Dl_042jf-gFv3X1j8.js";import{M as L}from"./usp-line-BBd1wKwW-DebSG3AQ.js";import"./liveblocks-BojMpfZr.js";import"./core-BfdQ3W3i.js";import"./recharts-CH4lD6YZ.js";import"./lottie-C8ug7xYl.js";import"./analytics-deCUYv6O.js";import"./lexical-C3B1wTQQ.js";import"./utils-1UbrxmNv.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]="7cc991f9-0bcb-465c-bcdb-b036d7a156eb",e._sentryDebugIdIdentifier="sentry-dbid-7cc991f9-0bcb-465c-bcdb-b036d7a156eb")}catch{}})();const g={containerPaddingTopBottom:new x(p[0],p[0]),uspContainerMarginX:new x(p[6],p[0]),midContainerGap:new x(p[4],84),iconContainerMinHeight:new x(236,396),emptySectionHeight:new x(p[6],43),navigationBottom:new x(p[4],94),navigationLeft:new x(192,244),carouselHeight:new x(268,396),carouselMarginTop:new x(54,p[4]),carouselMarginLeft:new x(120,p[12]),buttonTrayGap:new x(p[3],p[5]),termsOfAgreementMarginTop:new x(p[5],p[10]),contactAdminContainerMarginTop:new x(p[0],p[10]),contactAdminContainerMarginBottom:new x(p[4],p[0]),contactAdminContainerMarginLeftRight:new x(p[3],p[0])},z={promoBadgeText:new S("standardRegular","largeRegular"),promoBadgeTextBold:new S("standardBold","largeBold"),cardsContent:new S("extraSmallRegular","smallRegular"),contactAdmin:new S("extraSmallRegular","largeRegular"),uspText:new S("smallRegular","standardRegular"),uspBoldText:new S("smallMedium","standardMedium")},{common:U,spendManagement:{chargeCard:{chargeCardsPromo:o}}}=oe.getLocalizedStrings(),_r=({meetingUrl:e,companyLegalName:s,chargeCardSetupView:i,showEnableCardButton:a,controllerEmails:c,isCreditCardProductVisible:m,isDebitCardFeatureEnabled:h,isDebitCardSetupEnabled:u,isChargeCardSetupEnabled:w,admins:j,cashbackRate:P,cardPromoType:f="credit",isCheckingEnabled:l,onSetupButtonClick:d,onBackClick:pe,onClickMenuIcon:me,onSetupChargeCardSuccess:O,onExpressInterestClick:ge})=>{const he=G(),W=ye(),v=$(),X=$e().analytics,{chargeCardTermsDetails:_,companyChargeCardInfo:b,companyLocaleInfo:M}=i,Z=je(_?.fetchStatus.fetchState),[xe,q]=T.useState(!1),ue=()=>{X.trackCardsPromoPageClicked("schedule demo"),X.trackCardsScheduleDemoClick(c,{isCreditCardOffered:m,isDebitCardOffered:h,isDebitCardEnabled:u,isCreditCardEnabled:w},"Cards Promo"),q(!0)},we=b!=null&&M!=null?Se("0,0",{amount:b.chargeCardsCreditAccountLimit,currencyCode:M.currencyCode,currencySymbol:M.currencySymbol}):void 0;T.useEffect(()=>{Z==="In-Progress"&&_?.fetchStatus.fetchState==="Completed"&&O()},[Z,O,_?.fetchStatus]);const K=Ue(W.loggedInUserRoleMap),fe=Te(W),E=f==="credit"&&b?.isCompanyInterestedInChargeCard===!1&&b.chargeCardsCreditAccountLimit===0,D=f==="credit"&&b?.isCompanyInterestedInChargeCard===!0&&b.chargeCardsCreditAccountLimit===-1,F=f==="credit"&&b?.isCompanyInterestedInChargeCard===!0&&b.chargeCardsCreditAccountLimit===0,be=f==="credit"&&b?.isCompanyInterestedInChargeCard===!0&&b.chargeCardsCreditAccountLimit>0,{expressInterestInChargeCardFetchState:Ce}=i,Q=E?o.getPreApprovedNow:a?o.enableCardsButton:o.setupCardsButton;return r.jsxs(We,{children:[r.jsx(ze,{title:o.title[f],backgroundColor:he.colors.grey4,onBackClick:pe,showBackButton:!0,showMenuIcon:v==="medium-compact"||v==="small",onClickMenuIcon:me,style:{zIndex:9},source:"ChargeCardPromoPage"}),xe===!0?r.jsx(ve,{onCancelClick:()=>{q(!1)},meetingUrl:e}):null,r.jsx(Ke,{windowSize:v,children:K===!0?r.jsxs(qe,{children:[r.jsxs(Ze,{children:[r.jsx(Ve,{isApproved:be,creditAmount:we,cardPromoType:f,isUnderReview:F,isRejected:D,showExpressInterest:E,creditLimit:b?.chargeCardsCreditAccountLimit}),r.jsx(ae,{cardPromoType:f,cashbackRate:P})]}),r.jsx(ne,{showEnableCardButton:a,cardPromoType:f,isUnderReview:F,isRejected:D,showExpressInterest:E,isCheckingEnabled:l})]}):r.jsx(Ge,{companyLegalName:s,cards:[],admins:j,cashbackRate:P,hasZeniFinopsRoles:fe,cardPromoType:f,isCheckingEnabled:l})}),K&&!(F||D)?r.jsxs(or,{windowSize:v,children:[r.jsx(Y,{variant:"secondary",label:o.scheduleDemoButton,style:{width:166},onClick:ue,"data-testid":ee("schedule-demo-button")}),r.jsx(Xe,{windowSize:v,children:o.orText}),r.jsx(Y,{variant:"primary",label:Q,style:{minWidth:166},loading:i.chargeCardTermsDetails?.fetchStatus.fetchState==="In-Progress"||Ce==="In-Progress",onClick:Q===o.getPreApprovedNow?ge:()=>d(f),"data-testid":ee("enable-card-button")})]}):null]})},He=({admins:e})=>{const s=e.flatMap(a=>a.user?.firstName+" "+a.user?.lastName).join(", "),i=$();return r.jsxs(mr,{windowSize:i,children:[r.jsx(N,{underline:!1,windowSize:i,children:o.noCardAssigned.pre}),r.jsx(Be,{title:s,placement:"top-start",style:{padding:`2px ${t.sp2}`},children:r.jsx(N,{underline:!0,windowSize:i,children:o.noCardAssigned.tooltip})}),r.jsx(N,{underline:!1,windowSize:i,children:o.noCardAssigned.post})]})},ne=({cardPromoType:e,showEnableCardButton:s,isCheckingEnabled:i,isUnderReview:a,isRejected:c,showExpressInterest:m,isCardUser:h=!1})=>{const u=$();return r.jsx(ir,{windowSize:u,children:r.jsx(Re,{topTermLabel:o.terms.checkingAccountTerm,buttonTermLabel:a===!0||c===!0||h===!0?void 0:m===!0?o.terms.getPreApprovedNowTerm:s?o.terms.alternateTerm1:o.terms.terms1,showEndIcon:!1,showTerms:c===!1&&h===!1&&a===!1,style:{marginTop:g.termsOfAgreementMarginTop.valuePx(u)},cardPromoType:e,isCheckingEnabled:i})})},Ve=({isApproved:e,cardPromoType:s,creditAmount:i,isUnderReview:a,isRejected:c,showExpressInterest:m,creditLimit:h})=>{const u=$(),w=s==="debit_and_credit"?o.promoTextDebitCreditCard:s==="debit"?o.promoTextDebitCard:o.promoTextCreditCard,j=e?r.jsxs(r.Fragment,{children:[o.promoBadgeText.approved,r.jsx(te,{children:i}),o.creditLimit,U.strings.space]}):m?r.jsxs(r.Fragment,{children:[o.promoBadgeText.nonPreApproved.get,r.jsx(rr,{children:o.promoBadgeText.nonPreApproved.scale}),o.promoBadgeText.nonPreApproved.doubleStarred,U.strings.space,o.promoBadgeText.nonPreApproved.higherLimits]}):a?o.promoBadgeText.underReview:c?o.promoBadgeText.rejected:s==="debit_and_credit"&&h===0?null:r.jsxs(r.Fragment,{children:[o.promoBadgeText.preApproved,r.jsx(te,{children:i}),o.creditLimit,U.strings.space]});return r.jsxs(r.Fragment,{children:[r.jsx(r.Fragment,{children:u==="small"?r.jsxs(r.Fragment,{children:[r.jsx(le,{children:w}),r.jsx(ce,{children:o.promoSubText})]}):r.jsxs(r.Fragment,{children:[r.jsx(se,{children:w}),r.jsx(de,{children:o.promoSubText})]})}),r.jsxs(Ye,{cardPromoType:s,hasContent:j!=null,hideBadge:i==null||s==="debit",windowSize:u,children:[a||c||m?null:r.jsx(Cr,{}),r.jsx(er,{windowSize:u,children:j})]})]})},Ge=({companyLegalName:e,cards:s,admins:i,cashbackRate:a,hasZeniFinopsRoles:c,cardPromoType:m="credit",isCheckingEnabled:h})=>{const u=$(),w=m==="debit_and_credit"?o.promoTextDebitCreditCard:m==="debit"?o.promoTextDebitCard:o.promoTextCreditCard;return r.jsxs(r.Fragment,{children:[u==="small"?r.jsxs(r.Fragment,{children:[r.jsx(le,{children:w}),r.jsx(ce,{children:o.promoSubText})]}):r.jsxs(r.Fragment,{children:[r.jsx(se,{children:w}),r.jsx(de,{children:o.promoSubText})]}),s.length===0?r.jsx(pr,{windowSize:u}):r.jsx(Je,{cards:s,companyLegalName:e}),r.jsx(ae,{cardPromoType:m,cashbackRate:a}),c?null:r.jsx(He,{admins:i}),r.jsx(ne,{isCardUser:!0,showEnableCardButton:!1,cardPromoType:m,isCheckingEnabled:h})]})},Je=({cards:e,companyLegalName:s})=>{const i=G(),a=$();let c="",m;if(e.length===1){m=e[0].cardCreatedByUser.photo;const h=e[0].cardCreatedByUser.firstName+" "+e[0].cardCreatedByUser.lastName;c=o.cardAssigned.singleCreditCard.replace("__issuing-user__",h).replace("__company-name__",s)}else c=o.cardAssigned.multipleCreditCards.replace("__company-name__",s);return r.jsxs(hr,{children:[m!=null?r.jsx(Qe,{width:t.sp5,height:t.sp5,style:{paddingTop:a==="small"?t.sp1:t.sp0},src:m.href,alt:oe.getLocalizedStrings().cockpit.userProfileAltText,onError:({currentTarget:h})=>{h.onerror=null,h.src=Ae},loading:"lazy"}):null,r.jsx(gr,{windowSize:a,mode:i.mode,children:r.jsx(xr,{windowSize:a,children:c})})]})},re=({windowSize:e,cardPromoType:s})=>{let i=o.businessText;return s==="debit"&&(i=`${i} ${o.debit}`),r.jsx(r.Fragment,{children:s==="debit_and_credit"?r.jsx(Oe,{}):r.jsxs(ar,{windowSize:e,children:[r.jsx(H,{cardPromoType:s,cardText:i,shouldAnimate:!0,showChip:!0,forDashboard:!1,forListPage:!1}),r.jsx(V,{cardPromoType:s,cardText:i,showChip:!0,forDashboard:!1,shouldAnimate:!0,forListPage:!1})]})})},ae=({cardPromoType:e,cashbackRate:s})=>{const i=$(),a=o.benefits;return r.jsxs(tr,{windowSize:i,children:[i==="small"?r.jsx(re,{windowSize:i,cardPromoType:e}):null,r.jsxs(nr,{windowSize:i,children:[r.jsxs(I,{windowSize:i,children:[r.jsx(B,{children:r.jsx(lr,{})}),r.jsxs(R,{children:[r.jsx(y,{windowSize:i,children:a.item1.pre}),r.jsx(A,{windowSize:i,children:a.item1.bold.replace("__cashback__",(s*100).toFixed(2))}),r.jsx(y,{windowSize:i,children:`${e==="credit"||e==="debit_and_credit"?a.singleStarred:""}${a.item1.post}`})]})]}),r.jsxs(I,{windowSize:i,children:[r.jsx(B,{children:r.jsx(sr,{})}),r.jsxs(R,{children:[r.jsx(y,{windowSize:i,children:a.item2.pre}),r.jsx(A,{windowSize:i,children:a.item2.bold}),r.jsx(y,{windowSize:i,children:a.item2.post})]})]}),r.jsxs(I,{windowSize:i,children:[r.jsx(B,{children:r.jsx(cr,{})}),r.jsxs(R,{children:[r.jsx(y,{windowSize:i,children:a.item3.pre}),r.jsx(A,{windowSize:i,children:a.item3.bold}),r.jsx(y,{windowSize:i,children:a.item3.post})]})]}),r.jsxs(I,{windowSize:i,children:[r.jsx(B,{children:r.jsx(dr,{})}),r.jsxs(R,{children:[r.jsx(y,{windowSize:i,children:a.item4.pre}),r.jsx(A,{windowSize:i,children:a.item4.bold}),r.jsx(y,{windowSize:i,children:a.item4.post})]})]})]}),i==="small"?null:r.jsx(re,{windowSize:i,cardPromoType:e})]})};let k;const Oe=()=>{const e=$(),s=G(),[i,a]=T.useState(0),[c,m]=T.useState(!1),h=o.businessText,u=`${h} ${o.debit}`,w=[{id:1,cardType:"debit",cardText:u},{id:2,cardType:"debit",cardText:u},{id:3,cardType:"credit",cardText:h},{id:4,cardType:"credit",cardText:h}];T.useEffect(()=>(c||(k=setInterval(()=>{a(l=>{const d=l+1;return d===w.length?(m(!0),0):d})},2e3)),()=>clearInterval(k)),[c,w.length]),T.useEffect(()=>{c&&k!=null&&clearInterval(k)},[c]);const j=(l,d)=>{switch((l-i+w.length)%w.length){case 0:return{transform:`translate(0,${d?"100%":0}) scale(1)`,zIndex:d?5:6,opacity:1,transition:"transform 0.4s"};case 1:return{transform:`translate(35%, ${d?"80%":"5%"}) scale(0.75)`,zIndex:d?4:5,opacity:1,transition:"all 0.4s"};case 2:return{transform:`translate(35%,${d?"80%":"5%"}) scale(0.75)`,zIndex:d?3:4,opacity:0,transition:"transform 0.4s 0.2s, opacity 0.4s 0.0s"};case 3:return{transform:`translate(-35%, ${d?"80%":"5%"}) scale(0.75)`,zIndex:d?4:5,opacity:1,transition:"all 0.4s"};default:return}},P=l=>{const d=j(l,!0);return{...d,transform:`${d?.transform} scaleY(-1)`,opacity:1,transition:"transform 0s 0s, z-index 0s 0s"}},f=l=>{c||m(!0),a(l)};return r.jsxs(ur,{windowSize:e,children:[r.jsx(wr,{windowSize:e,children:w.map((l,d)=>r.jsxs(fr,{children:[r.jsx(ie,{isReflection:!1,style:{...j(d,!1)},onClick:()=>f(d),children:d===0||d===2?r.jsx(H,{cardPromoType:l.cardType,cardText:l.cardText,shouldAnimate:!1,showChip:!0,forDashboard:!1,forListPage:!1,style:{borderColor:s.colors.grey2,...s.mode==="light"&&{borderBottom:"none"}}}):r.jsx(V,{cardPromoType:l.cardType,cardText:l.cardText,shouldAnimate:!1,showChip:!0,forDashboard:!1,forListPage:!1,style:{borderColor:s.colors.grey2,...s.mode==="light"&&{borderBottom:"none"}}})},l.id),r.jsx(ie,{isReflection:!0,style:{...P(d)},children:d===0||d===2?r.jsx(H,{cardPromoType:l.cardType,cardText:l.cardText,shouldAnimate:!1,forDashboard:!1,showChip:!0,forListPage:!1,style:{border:"none",opacity:.1,maskImage:"linear-gradient(to top, black, transparent 90%)",WebkitMaskImage:"linear-gradient(to top, black, transparent 90%)"}}):r.jsx(V,{cardPromoType:l.cardType,cardText:l.cardText,showChip:!0,shouldAnimate:!1,forDashboard:!1,forListPage:!1,style:{border:"none",opacity:.1,maskImage:"linear-gradient(to top, black, transparent)",WebkitMaskImage:"linear-gradient(to top, black, transparent)"}})},`reflection-${l.id}`)]},l.id))}),c&&r.jsx(Ne,{numberOfDots:w.length,activeIndex:i,handleClick:a,promoColor:s.colors.primary,promoColorHover:s.colors.grey5,spendManagementPromoCardActive:!0,dotStyle:{width:t.sp2,height:t.sp2},style:{cursor:"default",position:"absolute",bottom:g.navigationBottom.valuePx(e),left:g.navigationLeft.valuePx(e),zIndex:7}})]})},We=n.div`
|
|
1
|
+
import{J as $,V as r,d as G,ax as ye,a8 as $e,aR as je,aP as Se,fY as Te,bD as ze,fx as ve,i as Y,ab as ee,F as oe,o as t,R as Pe,c as J,cF as ke,ar as Ie,y as x,aq as Ae,bU as Be,iO as Re,aj as Le,u as p,H as S,p as C,bb as _e,aV as Me,iP as Ee}from"./index-BPZ0_UEx.js";import{a as T}from"./sentry-nVlxguQq.js";import{n,c as De,k as Fe}from"./mui-Dg-yyLd1.js";import{ER as Ue}from"./zeni-epic-state-DwXlACp-.js";import{k as Ne}from"./NavigationDots-CqAMUVd8-DlLV84YV.js";import{J as H,N as V}from"./PromoBaseCards-BglIl0tN-CTFaf0_7.js";import{M as L}from"./usp-line-BBd1wKwW-iPZVfl3G.js";import"./liveblocks-Lf8LVeH9.js";import"./core-BdfL-uia.js";import"./recharts-DVyIhUUu.js";import"./lottie-BAIk2ri4.js";import"./analytics-C7qRceeD.js";import"./lexical-CNiclLj0.js";import"./utils-Bn_xI0qf.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]="d2ed3bbe-7bc8-45c8-b59b-5186663b1493",e._sentryDebugIdIdentifier="sentry-dbid-d2ed3bbe-7bc8-45c8-b59b-5186663b1493")}catch{}})();const g={containerPaddingTopBottom:new x(p[0],p[0]),uspContainerMarginX:new x(p[6],p[0]),midContainerGap:new x(p[4],84),iconContainerMinHeight:new x(236,396),emptySectionHeight:new x(p[6],43),navigationBottom:new x(p[4],94),navigationLeft:new x(192,244),carouselHeight:new x(268,396),carouselMarginTop:new x(54,p[4]),carouselMarginLeft:new x(120,p[12]),buttonTrayGap:new x(p[3],p[5]),termsOfAgreementMarginTop:new x(p[5],p[10]),contactAdminContainerMarginTop:new x(p[0],p[10]),contactAdminContainerMarginBottom:new x(p[4],p[0]),contactAdminContainerMarginLeftRight:new x(p[3],p[0])},z={promoBadgeText:new S("standardRegular","largeRegular"),promoBadgeTextBold:new S("standardBold","largeBold"),cardsContent:new S("extraSmallRegular","smallRegular"),contactAdmin:new S("extraSmallRegular","largeRegular"),uspText:new S("smallRegular","standardRegular"),uspBoldText:new S("smallMedium","standardMedium")},{common:U,spendManagement:{chargeCard:{chargeCardsPromo:o}}}=oe.getLocalizedStrings(),_r=({meetingUrl:e,companyLegalName:s,chargeCardSetupView:i,showEnableCardButton:a,controllerEmails:c,isCreditCardProductVisible:m,isDebitCardFeatureEnabled:h,isDebitCardSetupEnabled:u,isChargeCardSetupEnabled:w,admins:j,cashbackRate:P,cardPromoType:f="credit",isCheckingEnabled:l,onSetupButtonClick:d,onBackClick:pe,onClickMenuIcon:me,onSetupChargeCardSuccess:O,onExpressInterestClick:ge})=>{const he=G(),W=ye(),v=$(),X=$e().analytics,{chargeCardTermsDetails:_,companyChargeCardInfo:b,companyLocaleInfo:M}=i,Z=je(_?.fetchStatus.fetchState),[xe,q]=T.useState(!1),ue=()=>{X.trackCardsPromoPageClicked("schedule demo"),X.trackCardsScheduleDemoClick(c,{isCreditCardOffered:m,isDebitCardOffered:h,isDebitCardEnabled:u,isCreditCardEnabled:w},"Cards Promo"),q(!0)},we=b!=null&&M!=null?Se("0,0",{amount:b.chargeCardsCreditAccountLimit,currencyCode:M.currencyCode,currencySymbol:M.currencySymbol}):void 0;T.useEffect(()=>{Z==="In-Progress"&&_?.fetchStatus.fetchState==="Completed"&&O()},[Z,O,_?.fetchStatus]);const K=Ue(W.loggedInUserRoleMap),fe=Te(W),E=f==="credit"&&b?.isCompanyInterestedInChargeCard===!1&&b.chargeCardsCreditAccountLimit===0,D=f==="credit"&&b?.isCompanyInterestedInChargeCard===!0&&b.chargeCardsCreditAccountLimit===-1,F=f==="credit"&&b?.isCompanyInterestedInChargeCard===!0&&b.chargeCardsCreditAccountLimit===0,be=f==="credit"&&b?.isCompanyInterestedInChargeCard===!0&&b.chargeCardsCreditAccountLimit>0,{expressInterestInChargeCardFetchState:Ce}=i,Q=E?o.getPreApprovedNow:a?o.enableCardsButton:o.setupCardsButton;return r.jsxs(We,{children:[r.jsx(ze,{title:o.title[f],backgroundColor:he.colors.grey4,onBackClick:pe,showBackButton:!0,showMenuIcon:v==="medium-compact"||v==="small",onClickMenuIcon:me,style:{zIndex:9},source:"ChargeCardPromoPage"}),xe===!0?r.jsx(ve,{onCancelClick:()=>{q(!1)},meetingUrl:e}):null,r.jsx(Ke,{windowSize:v,children:K===!0?r.jsxs(qe,{children:[r.jsxs(Ze,{children:[r.jsx(Ve,{isApproved:be,creditAmount:we,cardPromoType:f,isUnderReview:F,isRejected:D,showExpressInterest:E,creditLimit:b?.chargeCardsCreditAccountLimit}),r.jsx(ae,{cardPromoType:f,cashbackRate:P})]}),r.jsx(ne,{showEnableCardButton:a,cardPromoType:f,isUnderReview:F,isRejected:D,showExpressInterest:E,isCheckingEnabled:l})]}):r.jsx(Ge,{companyLegalName:s,cards:[],admins:j,cashbackRate:P,hasZeniFinopsRoles:fe,cardPromoType:f,isCheckingEnabled:l})}),K&&!(F||D)?r.jsxs(or,{windowSize:v,children:[r.jsx(Y,{variant:"secondary",label:o.scheduleDemoButton,style:{width:166},onClick:ue,"data-testid":ee("schedule-demo-button")}),r.jsx(Xe,{windowSize:v,children:o.orText}),r.jsx(Y,{variant:"primary",label:Q,style:{minWidth:166},loading:i.chargeCardTermsDetails?.fetchStatus.fetchState==="In-Progress"||Ce==="In-Progress",onClick:Q===o.getPreApprovedNow?ge:()=>d(f),"data-testid":ee("enable-card-button")})]}):null]})},He=({admins:e})=>{const s=e.flatMap(a=>a.user?.firstName+" "+a.user?.lastName).join(", "),i=$();return r.jsxs(mr,{windowSize:i,children:[r.jsx(N,{underline:!1,windowSize:i,children:o.noCardAssigned.pre}),r.jsx(Be,{title:s,placement:"top-start",style:{padding:`2px ${t.sp2}`},children:r.jsx(N,{underline:!0,windowSize:i,children:o.noCardAssigned.tooltip})}),r.jsx(N,{underline:!1,windowSize:i,children:o.noCardAssigned.post})]})},ne=({cardPromoType:e,showEnableCardButton:s,isCheckingEnabled:i,isUnderReview:a,isRejected:c,showExpressInterest:m,isCardUser:h=!1})=>{const u=$();return r.jsx(ir,{windowSize:u,children:r.jsx(Re,{topTermLabel:o.terms.checkingAccountTerm,buttonTermLabel:a===!0||c===!0||h===!0?void 0:m===!0?o.terms.getPreApprovedNowTerm:s?o.terms.alternateTerm1:o.terms.terms1,showEndIcon:!1,showTerms:c===!1&&h===!1&&a===!1,style:{marginTop:g.termsOfAgreementMarginTop.valuePx(u)},cardPromoType:e,isCheckingEnabled:i})})},Ve=({isApproved:e,cardPromoType:s,creditAmount:i,isUnderReview:a,isRejected:c,showExpressInterest:m,creditLimit:h})=>{const u=$(),w=s==="debit_and_credit"?o.promoTextDebitCreditCard:s==="debit"?o.promoTextDebitCard:o.promoTextCreditCard,j=e?r.jsxs(r.Fragment,{children:[o.promoBadgeText.approved,r.jsx(te,{children:i}),o.creditLimit,U.strings.space]}):m?r.jsxs(r.Fragment,{children:[o.promoBadgeText.nonPreApproved.get,r.jsx(rr,{children:o.promoBadgeText.nonPreApproved.scale}),o.promoBadgeText.nonPreApproved.doubleStarred,U.strings.space,o.promoBadgeText.nonPreApproved.higherLimits]}):a?o.promoBadgeText.underReview:c?o.promoBadgeText.rejected:s==="debit_and_credit"&&h===0?null:r.jsxs(r.Fragment,{children:[o.promoBadgeText.preApproved,r.jsx(te,{children:i}),o.creditLimit,U.strings.space]});return r.jsxs(r.Fragment,{children:[r.jsx(r.Fragment,{children:u==="small"?r.jsxs(r.Fragment,{children:[r.jsx(le,{children:w}),r.jsx(ce,{children:o.promoSubText})]}):r.jsxs(r.Fragment,{children:[r.jsx(se,{children:w}),r.jsx(de,{children:o.promoSubText})]})}),r.jsxs(Ye,{cardPromoType:s,hasContent:j!=null,hideBadge:i==null||s==="debit",windowSize:u,children:[a||c||m?null:r.jsx(Cr,{}),r.jsx(er,{windowSize:u,children:j})]})]})},Ge=({companyLegalName:e,cards:s,admins:i,cashbackRate:a,hasZeniFinopsRoles:c,cardPromoType:m="credit",isCheckingEnabled:h})=>{const u=$(),w=m==="debit_and_credit"?o.promoTextDebitCreditCard:m==="debit"?o.promoTextDebitCard:o.promoTextCreditCard;return r.jsxs(r.Fragment,{children:[u==="small"?r.jsxs(r.Fragment,{children:[r.jsx(le,{children:w}),r.jsx(ce,{children:o.promoSubText})]}):r.jsxs(r.Fragment,{children:[r.jsx(se,{children:w}),r.jsx(de,{children:o.promoSubText})]}),s.length===0?r.jsx(pr,{windowSize:u}):r.jsx(Je,{cards:s,companyLegalName:e}),r.jsx(ae,{cardPromoType:m,cashbackRate:a}),c?null:r.jsx(He,{admins:i}),r.jsx(ne,{isCardUser:!0,showEnableCardButton:!1,cardPromoType:m,isCheckingEnabled:h})]})},Je=({cards:e,companyLegalName:s})=>{const i=G(),a=$();let c="",m;if(e.length===1){m=e[0].cardCreatedByUser.photo;const h=e[0].cardCreatedByUser.firstName+" "+e[0].cardCreatedByUser.lastName;c=o.cardAssigned.singleCreditCard.replace("__issuing-user__",h).replace("__company-name__",s)}else c=o.cardAssigned.multipleCreditCards.replace("__company-name__",s);return r.jsxs(hr,{children:[m!=null?r.jsx(Qe,{width:t.sp5,height:t.sp5,style:{paddingTop:a==="small"?t.sp1:t.sp0},src:m.href,alt:oe.getLocalizedStrings().cockpit.userProfileAltText,onError:({currentTarget:h})=>{h.onerror=null,h.src=Ae},loading:"lazy"}):null,r.jsx(gr,{windowSize:a,mode:i.mode,children:r.jsx(xr,{windowSize:a,children:c})})]})},re=({windowSize:e,cardPromoType:s})=>{let i=o.businessText;return s==="debit"&&(i=`${i} ${o.debit}`),r.jsx(r.Fragment,{children:s==="debit_and_credit"?r.jsx(Oe,{}):r.jsxs(ar,{windowSize:e,children:[r.jsx(H,{cardPromoType:s,cardText:i,shouldAnimate:!0,showChip:!0,forDashboard:!1,forListPage:!1}),r.jsx(V,{cardPromoType:s,cardText:i,showChip:!0,forDashboard:!1,shouldAnimate:!0,forListPage:!1})]})})},ae=({cardPromoType:e,cashbackRate:s})=>{const i=$(),a=o.benefits;return r.jsxs(tr,{windowSize:i,children:[i==="small"?r.jsx(re,{windowSize:i,cardPromoType:e}):null,r.jsxs(nr,{windowSize:i,children:[r.jsxs(I,{windowSize:i,children:[r.jsx(B,{children:r.jsx(lr,{})}),r.jsxs(R,{children:[r.jsx(y,{windowSize:i,children:a.item1.pre}),r.jsx(A,{windowSize:i,children:a.item1.bold.replace("__cashback__",(s*100).toFixed(2))}),r.jsx(y,{windowSize:i,children:`${e==="credit"||e==="debit_and_credit"?a.singleStarred:""}${a.item1.post}`})]})]}),r.jsxs(I,{windowSize:i,children:[r.jsx(B,{children:r.jsx(sr,{})}),r.jsxs(R,{children:[r.jsx(y,{windowSize:i,children:a.item2.pre}),r.jsx(A,{windowSize:i,children:a.item2.bold}),r.jsx(y,{windowSize:i,children:a.item2.post})]})]}),r.jsxs(I,{windowSize:i,children:[r.jsx(B,{children:r.jsx(cr,{})}),r.jsxs(R,{children:[r.jsx(y,{windowSize:i,children:a.item3.pre}),r.jsx(A,{windowSize:i,children:a.item3.bold}),r.jsx(y,{windowSize:i,children:a.item3.post})]})]}),r.jsxs(I,{windowSize:i,children:[r.jsx(B,{children:r.jsx(dr,{})}),r.jsxs(R,{children:[r.jsx(y,{windowSize:i,children:a.item4.pre}),r.jsx(A,{windowSize:i,children:a.item4.bold}),r.jsx(y,{windowSize:i,children:a.item4.post})]})]})]}),i==="small"?null:r.jsx(re,{windowSize:i,cardPromoType:e})]})};let k;const Oe=()=>{const e=$(),s=G(),[i,a]=T.useState(0),[c,m]=T.useState(!1),h=o.businessText,u=`${h} ${o.debit}`,w=[{id:1,cardType:"debit",cardText:u},{id:2,cardType:"debit",cardText:u},{id:3,cardType:"credit",cardText:h},{id:4,cardType:"credit",cardText:h}];T.useEffect(()=>(c||(k=setInterval(()=>{a(l=>{const d=l+1;return d===w.length?(m(!0),0):d})},2e3)),()=>clearInterval(k)),[c,w.length]),T.useEffect(()=>{c&&k!=null&&clearInterval(k)},[c]);const j=(l,d)=>{switch((l-i+w.length)%w.length){case 0:return{transform:`translate(0,${d?"100%":0}) scale(1)`,zIndex:d?5:6,opacity:1,transition:"transform 0.4s"};case 1:return{transform:`translate(35%, ${d?"80%":"5%"}) scale(0.75)`,zIndex:d?4:5,opacity:1,transition:"all 0.4s"};case 2:return{transform:`translate(35%,${d?"80%":"5%"}) scale(0.75)`,zIndex:d?3:4,opacity:0,transition:"transform 0.4s 0.2s, opacity 0.4s 0.0s"};case 3:return{transform:`translate(-35%, ${d?"80%":"5%"}) scale(0.75)`,zIndex:d?4:5,opacity:1,transition:"all 0.4s"};default:return}},P=l=>{const d=j(l,!0);return{...d,transform:`${d?.transform} scaleY(-1)`,opacity:1,transition:"transform 0s 0s, z-index 0s 0s"}},f=l=>{c||m(!0),a(l)};return r.jsxs(ur,{windowSize:e,children:[r.jsx(wr,{windowSize:e,children:w.map((l,d)=>r.jsxs(fr,{children:[r.jsx(ie,{isReflection:!1,style:{...j(d,!1)},onClick:()=>f(d),children:d===0||d===2?r.jsx(H,{cardPromoType:l.cardType,cardText:l.cardText,shouldAnimate:!1,showChip:!0,forDashboard:!1,forListPage:!1,style:{borderColor:s.colors.grey2,...s.mode==="light"&&{borderBottom:"none"}}}):r.jsx(V,{cardPromoType:l.cardType,cardText:l.cardText,shouldAnimate:!1,showChip:!0,forDashboard:!1,forListPage:!1,style:{borderColor:s.colors.grey2,...s.mode==="light"&&{borderBottom:"none"}}})},l.id),r.jsx(ie,{isReflection:!0,style:{...P(d)},children:d===0||d===2?r.jsx(H,{cardPromoType:l.cardType,cardText:l.cardText,shouldAnimate:!1,forDashboard:!1,showChip:!0,forListPage:!1,style:{border:"none",opacity:.1,maskImage:"linear-gradient(to top, black, transparent 90%)",WebkitMaskImage:"linear-gradient(to top, black, transparent 90%)"}}):r.jsx(V,{cardPromoType:l.cardType,cardText:l.cardText,showChip:!0,shouldAnimate:!1,forDashboard:!1,forListPage:!1,style:{border:"none",opacity:.1,maskImage:"linear-gradient(to top, black, transparent)",WebkitMaskImage:"linear-gradient(to top, black, transparent)"}})},`reflection-${l.id}`)]},l.id))}),c&&r.jsx(Ne,{numberOfDots:w.length,activeIndex:i,handleClick:a,promoColor:s.colors.primary,promoColorHover:s.colors.grey5,spendManagementPromoCardActive:!0,dotStyle:{width:t.sp2,height:t.sp2},style:{cursor:"default",position:"absolute",bottom:g.navigationBottom.valuePx(e),left:g.navigationLeft.valuePx(e),zIndex:7}})]})},We=n.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
flex: 1 1 auto;
|
|
4
4
|
min-height: 100%;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{d as je,J as Oe,a8 as Be,aR as M,a9 as Ue,cH as _e,aW as J,V as t,ff as ze,p as Re,y as d,bD as $e,m as We,ad as Le,fy as Ne,dR as qe,fz as He,o as U,b as Me,iQ as G,bx as Je,aS as Ge,fB as Ke,F as Qe,u as a,am as Ye}from"./index-
|
|
1
|
+
import{d as je,J as Oe,a8 as Be,aR as M,a9 as Ue,cH as _e,aW as J,V as t,ff as ze,p as Re,y as d,bD as $e,m as We,ad as Le,fy as Ne,dR as qe,fz as He,o as U,b as Me,iQ as G,bx as Je,aS as Ge,fB as Ke,F as Qe,u as a,am as Ye}from"./index-BPZ0_UEx.js";import{a as f}from"./sentry-nVlxguQq.js";import{n as w}from"./mui-Dg-yyLd1.js";import{bJ as Xe}from"./zeni-epic-state-DwXlACp-.js";import{x as Ze}from"./LabeledControlledCheckBoxField-9wqNy7sL-BEJkWulK.js";import{g as et}from"./UploadAdditionalDocumentOverlay-BIzKt99W-DhZCGDG3.js";import"./liveblocks-Lf8LVeH9.js";import"./core-BdfL-uia.js";import"./recharts-DVyIhUUu.js";import"./lottie-BAIk2ri4.js";import"./analytics-C7qRceeD.js";import"./lexical-CNiclLj0.js";import"./utils-Bn_xI0qf.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]="11269fc3-3d6f-4eac-b084-727fdf1bf089",e._sentryDebugIdIdentifier="sentry-dbid-11269fc3-3d6f-4eac-b084-727fdf1bf089")}catch{}})();const c={titleWidth:new d(343,580,726,826),setupDetailsRowGap:new d(12,a[5],a[5]),sectionRowGap:new d(a[5],a[9],a[9]),iconWidthHeight:new d(20,a[4]),subTitlePaddingTop:new d(12,a[3]),subTitlePaddingBottom:new d(a[3],a[3]),overlayWidth:new d(100,100,59),checkBoxTop:new d(a[1],a[0])},K="chargeCardSetUpPage",g="payAccount",{commonSetUp:tt,spendManagement:nt}=Qe.getLocalizedStrings(),{chargeCard:X}=nt,{chargeCardSetUp:m}=X,{setUp:_}=tt,wt=({autoPayThreshold:e,isDisabled:r,meetingUrl:x,isEarlyPayEnabled:h,chargeCardSetUpView:o,connectedAccountProvider:Z,filesEndPoint:ee,authParams:te,isAccountsEnabled:ne,isDebitCardOnlyEnabled:v,isCreditCardOnlyEnabled:ie,accountsPromoConfig:oe,onFetchLinkTokenClick:ae,onBackClick:ce,onEnableChargeCardClick:se,onUpdateChargeCardClick:le,onBusinessVerificationSectionClick:de,onUpdatePaymentAccountStatus:re,onUpdatePaymentAccountLoginStatus:ue,onUpdatePrimaryFundingAccount:pe,onUpdateAutoPayClick:fe,onEstablishConnectionClick:me,onEstablishConnectionSuccess:ge,onClickMenuIcon:he,onEnableChargeCardSuccess:P,onEditFileName:ye,onDeleteFile:be,updateFilesEntity:Ce,onCompanyOfficerUpdated:Se,onSendForVerificationClick:we,onSignUpClick:xe})=>{const y=je(),i=Oe(),E=Be().analytics,[A,b]=f.useState(!1),{fetchState:C,companyBillPayInfo:z,isRefreshingViewInBackground:Pe,updateStatus:u,accountUpdateStatus:Ae,plaidConnectionDetails:ke,allBankAccounts:Te,companyChargeCardInfo:I,companyDebitCardInfo:R,selectedCompanyOfficer:s,primaryFundingAccount:l,allFundingAccounts:$}=o,W=M(C),k=M(u.fetchState),D=Ue({mode:"all",reValidateMode:"onChange",defaultValues:f.useMemo(()=>Q(o),[o]),values:Q(o)}),ve=D.handleSubmit(se),Ee=async(S,T)=>{const n=T[g];if(S.includes(g))if(S.includes("fundingAccount")){if(n.fundingAccount.selectedOption!=null&&l?.id!=n.fundingAccount.selectedOption){const p=$.find(B=>B.id===n.fundingAccount.selectedOption);p!=null&&pe(n.fundingAccount.selectedOption,p.accType)}}else if(n.account.selectedOption!=null&&l?.id!=null&&l?.zeniAccountId!=n.account.selectedOption){const p=n.account.allOptions.find(B=>B.value===n.account.selectedOption);p!=null&&typeof p.label=="string"&&E.trackConnectBankLink(p.value,p.label,"charge_cards"),le(n.account.selectedOption,l.id,l.accType)}else S.includes("enableAutoPay")&&n.enableAutoPay!=null&&fe(n.enableAutoPay)};f.useEffect(()=>{const S=D.watch((T,{name:n})=>{n!=null&&T!=null&&_e(()=>Ee(n,T))});return()=>{S.unsubscribe()}}),f.useEffect(()=>{!A&&s?.additionalDocumentTypesRequestedForVerification.includes("social_security_card")===!0&&s.areAdditionalDocumentsRequestedForVerification&&!s.areAdditionalDocumentsSubmittedForVerification&&s.userVerificationStatus?.code==="require_info"&&b(!0),A&&W==="In-Progress"&&C==="Completed"&&b(!1)},[s,C,W]),f.useEffect(()=>{k==="In-Progress"&&u.fetchState==="Completed"&&P()},[P,k,u.fetchState]);const F=I?.isChargeCardEnabled===!0,V=R?.isDebitCardEnabled===!0,L=R?.isDebitCardTOSAccepted===!0,N=I?.isChargeCardTOSAccepted===!0,q=z?.isBusinessVerified===!0,Ie=l?.accType==="depositAccount"||Xe(l?.providerVerificationStatus?.code??""),j=v?q:q&&Ie,De=C==="In-Progress"||C==="Not-Started";f.useEffect(()=>{k==="In-Progress"&&u.fetchState==="Completed"&&P()},[P,k,u.fetchState]);const O=v?j&&!V&&L:ie?j&&!F&&N:j&&!(F&&V)&&N&&L,Fe=O?m.setupSubTitleNotEnabled:m.setupSubTitle,H=y.mode==="light"?new J(y.colors.brandColorJadeLight):new J(y.colors.brandColorJadeDark),Ve=()=>{!A&&s?.additionalDocumentTypesRequestedForVerification.includes("social_security_card")===!0&&s.areAdditionalDocumentsRequestedForVerification&&!s.areAdditionalDocumentsSubmittedForVerification&&s.userVerificationStatus?.code==="require_info"?b(!0):de?.()};return t.jsxs(ot,{children:[t.jsx(ze,{anchor:"right",PaperProps:{style:{width:c.overlayWidth.valuePercentage(i),boxShadow:"none"}},open:A,onClose:()=>b(!1),style:{backgroundColor:Re.drawerBackground},transitionDuration:250,children:t.jsx(et,{authParams:te,filesEndPoint:ee,updateStatus:u,onEditFileName:ye,onDeleteFile:be,updateFilesEntity:Ce,companyOfficer:s,onClose:()=>b(!1),onCompanyOfficerUpdated:Se,onSendForVerificationClick:we})}),t.jsx($e,{title:m.setupTitle,backgroundColor:y.colors.grey4,style:{zIndex:3},onBackClick:ce,showMenuIcon:!F&&!V&&(i==="medium-compact"||i==="small"),onClickMenuIcon:he,source:"ChargeCardSetupPage"}),t.jsxs(it,{windowSize:i,children:[t.jsx(at,{windowSize:i,children:Fe}),De?t.jsx(ct,{children:t.jsx(We,{size:"ExtraLarge",start:!0})}):t.jsx(Le,{...D,children:t.jsx("form",{id:Y(K),onSubmit:ve,children:t.jsxs(st,{windowSize:i,children:[t.jsx(Ne,{onClick:Ve,title:_.businessVerificationTitle,subTitle:_.businessVerificationSubTitle,header:_.businessVerificationHeader,icon:{element:t.jsx(qe,{width:c.iconWidthHeight.valuePx(i),height:c.iconWidthHeight.valuePx(i)}),color:H},status:z?.businessVerificationStatus,isLoading:Pe,isActiveWhileLoading:!0}),v?null:t.jsx(He,{connectedAccountProvider:Z,primaryFundingAccount:l,allFundingAccounts:$,plaidConnectionDetails:ke,allBankAccounts:Te,sectionId:g,isDisabled:r,onFetchLinkTokenClick:ae,onEstablishConnectionClick:me,onUpdatePaymentAccountStatus:re,onUpdatePaymentAccountLoginStatus:ue,sectionTitle:m.setupAccountSectionTitle,onEstablishConnectionSuccess:ge,icon:{element:t.jsx(Je,{width:c.iconWidthHeight.valuePx(i),height:c.iconWidthHeight.valuePx(i)}),color:H},analytics:E,productType:"charge_cards",isAccountsEnabled:ne,onSignUpClick:xe,pageName:m.pageName,accountsPromoConfig:oe,accountSelectContainerStyle:h?{marginBottom:"20px"}:{},bottomComponent:h&&t.jsx(Ze,{label:{label:X.payEarly.enableAutoPay.replace("__autoPayThreshold__",e.toString()),style:{color:y.colors.primary,...Me.smallRegular.cssObject,alignItems:"center"}},style:{width:"unset",marginRight:U.sp4,marginTop:U.sp1,alignItems:i==="small"?"flex-start":"center"},checkBoxField:{name:G(g,"enableAutoPay"),checkBoxValue:G(g,"enableAutoPay"),defaultChecked:I?.isAutoPayEnabled,style:{top:c.checkBoxTop.valuePx(i)}}})})]})})})]}),O?t.jsx(Ge,{formId:Y(K),primaryBtn:{label:m.enableAccounts,style:{width:"auto",minWidth:i==="small"?"auto":"181px"},isLoading:u.fetchState==="In-Progress"||Ae.fetchState==="In-Progress",isDisabled:r!=null},showCancel:!1,cancelBtn:{label:""},style:{padding:`12px ${U.sp3}`}}):null,t.jsx(Ke,{isFooterRendered:O,meetingUrl:x,analytics:E,productType:"charge_cards"})]})},Q=e=>{const{allBankAccounts:r,allFundingAccounts:x,primaryFundingAccount:h}=e;return{[g]:{fundingAccount:{selectedOption:h?.id,allOptions:x.map(o=>({label:o.label,value:o.id,isRecommended:o.accType==="depositAccount"}))},account:{selectedOption:h?.zeniAccountId,allOptions:r.map(o=>({label:o.accountName,value:o.accountId}))},enableAutoPay:e.companyChargeCardInfo?.isAutoPayEnabled}}},Y=e=>`${e}_form`,it=w.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
justify-content: flex-start;
|
|
4
4
|
height: 100%;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{d as F,J as N,V as t,bD as W,o as h,F as R,y as g,am as B,ba as O,a8 as V,hO as _,m as J,ab as q,u as s,c4 as G}from"./index-
|
|
1
|
+
import{d as F,J as N,V as t,bD as W,o as h,F as R,y as g,am as B,ba as O,a8 as V,hO as _,m as J,ab as q,u as s,c4 as G}from"./index-BPZ0_UEx.js";import{n as r}from"./mui-Dg-yyLd1.js";import{$ as Q,g as U}from"./BoxItem-ChtGcSH1-BjQod1Sp.js";import{a as Z}from"./sentry-nVlxguQq.js";import{w as H}from"./downloadPdf-DRVFJQsk-Cc-9O8x2.js";import"./liveblocks-Lf8LVeH9.js";import"./core-BdfL-uia.js";import"./recharts-DVyIhUUu.js";import"./zeni-epic-state-DwXlACp-.js";import"./lottie-BAIk2ri4.js";import"./analytics-C7qRceeD.js";import"./lexical-CNiclLj0.js";import"./utils-Bn_xI0qf.js";import"./commonDimensions-BiY7_JPE-DvdrP9mk.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]="679e5e51-9955-40da-9fb3-f47c68a945c9",e._sentryDebugIdIdentifier="sentry-dbid-679e5e51-9955-40da-9fb3-f47c68a945c9")}catch{}})();const E=R.getLocalizedStrings().months,Y={downloadButtonSize:new g(s[4],20)},K=r.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
padding: ${h.sp3} ${h.sp4};
|
|
4
4
|
flex-direction: row;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{J as Z,V as t,ab as $,hM as pe,aP as M,i as W,o,aS as he,y as n,x as ee,c as ue,F as oe,ba as me,R as te,aj as ge,am as F,aR as fe,a9 as xe,cH as ke,p as b,ad as De,gg as $e,cM as be,eX as G,cU as H,u as s,fs as we,cj as ye,c1 as je,f4 as Pe,g$ as Se,an as q,h0 as Le}from"./index-
|
|
1
|
+
import{J as Z,V as t,ab as $,hM as pe,aP as M,i as W,o,aS as he,y as n,x as ee,c as ue,F as oe,ba as me,R as te,aj as ge,am as F,aR as fe,a9 as xe,cH as ke,p as b,ad as De,gg as $e,cM as be,eX as G,cU as H,u as s,fs as we,cj as ye,c1 as je,f4 as Pe,g$ as Se,an as q,h0 as Le}from"./index-BPZ0_UEx.js";import{a as k}from"./sentry-nVlxguQq.js";import{n as a}from"./mui-Dg-yyLd1.js";import"./liveblocks-Lf8LVeH9.js";import"./core-BdfL-uia.js";import"./recharts-DVyIhUUu.js";import"./zeni-epic-state-DwXlACp-.js";import"./lottie-BAIk2ri4.js";import"./analytics-C7qRceeD.js";import"./lexical-CNiclLj0.js";import"./utils-Bn_xI0qf.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},c=new e.Error().stack;c&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[c]="7bfc634d-4fdd-4b61-9738-c5d70daadde6",e._sentryDebugIdIdentifier="sentry-dbid-7bfc634d-4fdd-4b61-9738-c5d70daadde6")}catch{}})();const ve="checkDepositDetailPage",g="checkDepositDetails",Fe="amount",Ce="depositTo",Te="source",ie="fileIds",R="selectDocument",E=e=>{const c=[];return e.checkFront!=null&&c.push(e.checkFront.fileId),e.checkBack!=null&&c.push(e.checkBack.fileId),{[g]:{[Fe]:e.checkDepositLocalData.amount.amount===0?void 0:e.checkDepositLocalData.amount.amount,[Te]:e.checkDepositLocalData.source,[Ce]:{allOptions:e.depositAccounts.depositAccounts.map(f=>({label:f.accountName,value:f.id})),selectedOption:e.checkDepositLocalData.depositTo?.id},[ie]:c,[R]:{front:e.checkFront,back:e.checkBack}}}},D=(e,c)=>`${e}.${c}`,Be=e=>`${e}_form`,u={largeLabelWidth:new n(160,160,160),rowContentPaddingLeft:new n(s[3],s[4]),checkPicRowContentPaddingXAxis:new n(s[3],s[4]),labeleMarginLeft:new n(s[0],s[0]),labeleMarginBottom:new n(s[2],s[0]),labelMarginRight:new n(s[3],s[3]),labeledFieldPaddingLeft:new n(s[3],s[0]),labeledFieldPaddingRight:new n(s[3],s[2]),labeledFieldPaddingTop:new n(s[3],s[3]),labeledFieldPaddingBottom:new n(s[3],s[2]),infoLabelPaddingRight:new n(s[0],s[3]),infoLabelMarginTop:new n(s[1],s[0])},{spendManagement:ze,common:V}=oe.getLocalizedStrings(),l=ze.zeniAccounts.zeniAccountList,Ae=V.documents;function Ie({checkDeposit:e,analytics:c,filesEndPoint:f,openPopup:w,authParams:y,onSaveChangesToLocalStore:C,updateFilesEntity:j,onDeleteFile:P,onEditFileName:S,onCheckDpositClick:T}){const r=Z(),d=e.fetchState,L=fe(d),[v,_]=k.useState(!1),[se,B]=k.useState(!1),z=u.largeLabelWidth.value(r),x=xe({mode:"all",reValidateMode:"onBlur",defaultValues:E(e),values:E(e)}),{isValid:re}=x.formState,J=i=>{const p={amount:{amount:i[g].amount??0,currencyCode:V.currency.currencyCode,currencySymbol:V.currency.currencySymbol},source:i[g].source,depositTo:e.depositAccounts.depositAccounts.find(h=>h.id===i[g].depositTo.selectedOption),fileIds:i[g][ie]};C(p)},ce=async(i,p)=>{if(i!=null){if(i.includes("source")||i.includes("amount"))return;const h=Object.assign({},p);J(h)}};k.useEffect(()=>{const i=x.watch((p,{name:h})=>{h!=null&&p!=null&&ke(()=>ce(h,p))});return()=>{i.unsubscribe()}}),k.useEffect(()=>{L==="Completed"&&d==="Not-Started"&&x.reset(E(e))},[L,d,x,e]),k.useEffect(()=>{e.error!=null?B(!0):B(!1)},[e.error]);const le=x.handleSubmit(()=>{if(re){c.trackAccountsDepositCheckFormClicked("Deposit",e.checkDepositLocalData.amount.amount,e.checkDepositLocalData.source,e.checkDepositLocalData.depositTo?.accountName,e.checkFront!=null,e.checkBack!=null);const i=x.getValues();J(i),T?.()}}),ne=(i,p)=>{if(!i)return null;const h=e.depositAccounts.depositAccounts.find(I=>I.id===i),A=e.depositAccounts.depositAccounts.findIndex(I=>I.id===i);return h?t.jsx(Ve,{color:Se(A),isSelectedValue:p}):null},de=(i,p)=>{if(!i)return null;const h=e.depositAccounts.depositAccounts.find(A=>A.id===i);return h?p===!0?t.jsx(Re,{children:h?.maskedAccountNumber}):t.jsxs(Me,{children:[t.jsx(X,{children:h?.maskedAccountNumber}),t.jsx(to,{}),t.jsx(X,{children:M("0,0[.]00",h?.accountBalance?.available)})]}):null};return t.jsxs(t.Fragment,{children:[se?t.jsx(Oe,{children:t.jsxs(qe,{children:[t.jsxs(_e,{children:[t.jsx(We,{}),t.jsxs(Ge,{children:[t.jsx(He,{children:e.error?.title}),t.jsx(Xe,{children:e.error?.message})]})]}),t.jsx(Je,{children:t.jsx(ro,{"data-testid":$("check-deposit-form-close"),onClick:()=>{c.trackAccountsDepositCheckFormClicked("Cross",e.checkDepositLocalData.amount.amount,e.checkDepositLocalData.source,e.checkDepositLocalData.depositTo?.accountName,e.checkFront!=null,e.checkBack!=null),B(!1)},style:{width:o.sp3,height:o.sp3,color:b.heroLight}})})]})}):null,t.jsx(Ye,{children:M("0,0.[00]",e.checkDepositLocalData.amount)}),t.jsx(De,{...x,children:t.jsx("form",{id:Be(ve),onSubmit:le,children:t.jsxs(Ke,{children:[t.jsx($e,{showAdditionalInfoLabel:!1,label:{label:l.checkDepositDrawer.amountLabel,width:z},formattedTextField:{type:"number",name:D(g,"amount"),defaultValue:e.checkDepositLocalData.amount.amount===0?void 0:e.checkDepositLocalData.amount.amount,placeholder:l.checkDepositDrawer.amountPlaceholder,returnValueType:"floatValue",prefix:"$",allowNegative:!1,isNumericString:!1,registerOptions:{required:!0,validate:i=>!!i&&i>0},autoComplete:"off",decimalSeparator:".",decimalScale:2,fixedDecimalScale:!1,thousandSeparator:!0,allowLeadingZeros:!1},style:{width:"auto"}}),t.jsx(N,{}),t.jsx(be,{label:{label:l.checkDepositDrawer.sourceLabel,width:z},style:{width:"100%"},text:{type:"text",name:D(g,"source"),defaultValue:e.checkDepositLocalData.source,placeholder:l.checkDepositDrawer.sourcePlaceholder,options:{required:!0,validate:i=>i!=null}}}),t.jsx(N,{}),t.jsx(ae,{size:r,children:t.jsx(eo,{size:r,children:t.jsx(Ue,{label:{label:l.checkDepositDrawer.depositToLabel,width:z,style:{marginLeft:u.labeleMarginLeft.valuePx(r),marginBottom:u.labeleMarginBottom.valuePx(r),marginRight:u.labelMarginRight.valuePx(r)}},style:{paddingTop:u.labeledFieldPaddingTop.valuePx(r),paddingBottom:u.labeledFieldPaddingBottom.valuePx(r),paddingLeft:u.labeledFieldPaddingLeft.valuePx(r),paddingRight:u.labeledFieldPaddingRight.valuePx(r),border:"none",width:"100%",outline:"none",padding:0,display:r==="small"?"flex":"inherit"},infoLabelStyle:{textAlign:r==="small"?"left":"right",paddingRight:u.infoLabelPaddingRight.valuePx(r),marginTop:u.infoLabelMarginTop.valuePx(r)},singleSelectPickerField:{valueToLogo:(i,p)=>ne(i,p),valueToSubLabels:(i,p)=>de(i,p),name:D(g,"depositTo"),placeholder:l.checkDepositDrawer.depositToPlaceholder,style:{position:"relative"},defaultValue:{selectedOption:e.checkDepositLocalData.depositTo?.id,allOptions:e.depositAccounts.depositAccounts.map(i=>({label:i.accountName,value:i.id}))},textAlignment:"right",registerOptions:{required:!0,validate:i=>!!(i!=null&&i.selectedOption)}}})})}),t.jsx(N,{}),t.jsxs(Qe,{size:r,children:[t.jsxs(Ze,{size:r,children:[t.jsx(Ee,{children:l.checkDepositDrawer.checkPicLabel}),t.jsx(Y,{isLast:!1,children:l.checkDepositDrawer.frontSide}),t.jsx(G,{name:`${D(g,R)}.front`,registerOptions:{required:!0},file:e.checkFront,isDisabled:!1,deleteFileStatusById:e.deleteFileStatusById,updateFileStatusById:e.updateFileStatusById,filesEndPoint:f,authParams:y,acceptableTypes:["image/jpg","image/jpeg"],supportedImageFileFormat:"image/jpeg",sizeLimit:H,placeholderText:r==="small"?l.checkDepositDrawer.uploadDocument:l.checkDepositDrawer.dragDropClickPlaceholder,filemetadataPayload:{documentType:"check",purposeId:"others",documentSide:"front"},hasError:v,updateFilesEntity:j,onDeleteFile:P,onFileSizeError:i=>_(i),onEditFileName:S,openPopup:w,showPhotoPicker:!0,errorInfoLabel:l.checkDepositDrawer.frontSideError,useMobileCam:!0,compressImage:!0}),t.jsx(Y,{isLast:!0,children:l.checkDepositDrawer.backSide}),t.jsx(G,{name:`${D(g,R)}.back`,registerOptions:{required:!0},file:e.checkBack,isDisabled:!1,deleteFileStatusById:e.deleteFileStatusById,updateFileStatusById:e.updateFileStatusById,filesEndPoint:f,authParams:y,acceptableTypes:["image/jpg","image/jpeg"],supportedImageFileFormat:"image/jpeg",sizeLimit:H,placeholderText:r==="small"?l.checkDepositDrawer.uploadDocument:l.checkDepositDrawer.dragDropClickPlaceholder,filemetadataPayload:{documentType:"check",purposeId:"others",documentSide:"back"},hasError:v,updateFilesEntity:j,onDeleteFile:P,onFileSizeError:i=>_(i),onEditFileName:S,openPopup:w,showPhotoPicker:!0,errorInfoLabel:l.checkDepositDrawer.backSideError,useMobileCam:!0,compressImage:!0}),t.jsx(io,{children:l.checkDepositDrawer.picGuides.map(i=>t.jsxs(ao,{children:[t.jsx(oo,{}),t.jsx(Ne,{children:i})]},i))})]}),t.jsx(so,{windowSize:r,children:Ae.formatJPGText10MB})]})]})})})]})}const Ee=a(F)`
|
|
2
2
|
color: ${e=>e.theme.colors.hero};
|
|
3
3
|
`,Ne=a(F)`
|
|
4
4
|
color: ${e=>e.theme.colors.hero};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{V as t,b4 as vo,ab as m,bO as pe,aP as U,dn as $o,o as s,p as X,aR as bn,J as O,aF as kn,az as Lo,dp as jn,dq as Ao,F as B,u as w,dr as Jn,ds as It,dt as Nt,cc as Ft,du as Pt,y as V,d3 as zt,ax as Qn,aa as Xe,co as Me,bQ as H,m as Bo,d as ce,aW as $,b0 as Zn,dv as Xn,ao as Le,dw as Wo,dx as le,cb as Tt,c0 as Sn,aj as Oo,an as we,dy as et,dz as Ae,dA as nt,am as _,cj as ne,dB as Mo,b as Vt,dC as Ee,dD as Cn,dE as _n,dF as Io,dG as No,ba as ei,aX as T,b7 as Fo,cB as Dt,cA as Rt,dH as Po,b8 as ti,cE as ni,bS as zo,dI as To,dJ as vn,dK as $n,dL as Vo,dM as Do,bU as Ro,bL as Eo,dN as Go}from"./index-
|
|
1
|
+
import{V as t,b4 as vo,ab as m,bO as pe,aP as U,dn as $o,o as s,p as X,aR as bn,J as O,aF as kn,az as Lo,dp as jn,dq as Ao,F as B,u as w,dr as Jn,ds as It,dt as Nt,cc as Ft,du as Pt,y as V,d3 as zt,ax as Qn,aa as Xe,co as Me,bQ as H,m as Bo,d as ce,aW as $,b0 as Zn,dv as Xn,ao as Le,dw as Wo,dx as le,cb as Tt,c0 as Sn,aj as Oo,an as we,dy as et,dz as Ae,dA as nt,am as _,cj as ne,dB as Mo,b as Vt,dC as Ee,dD as Cn,dE as _n,dF as Io,dG as No,ba as ei,aX as T,b7 as Fo,cB as Dt,cA as Rt,dH as Po,b8 as ti,cE as ni,bS as zo,dI as To,dJ as vn,dK as $n,dL as Vo,dM as Do,bU as Ro,bL as Eo,dN as Go}from"./index-BPZ0_UEx.js";import{n as a,c as F}from"./mui-Dg-yyLd1.js";import{a as I,P as Ho}from"./sentry-nVlxguQq.js";import{F0 as Et,Fw as Gt,Fx as Ie,Fy as Ht,Fz as Kt,FA as Yt,FB as Ut,FC as ii,FD as Ko,Fd as xt,F1 as Ne,bm as Ln,bg as oi,FE as ri,FF as Yo,bo as Uo,Fe as ai}from"./zeni-epic-state-DwXlACp-.js";import{D as it,R as qo,A as Jo,E as ye,u as v}from"./AccountRow-B5Gqqqtn-B2ab5e7e.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]="3e2a6fb5-e241-4ad6-8bef-e8a7152794e5",e._sentryDebugIdIdentifier="sentry-dbid-3e2a6fb5-e241-4ad6-8bef-e8a7152794e5")}catch{}})();function q(e,n){if(e!=null)switch(e.type){case"this_period_vs_last_period_percent":case"this_period_vs_same_period_last_year_percent":return pe("0.00%",e.percentValue);case"default_with_null_balance":return"-"}return U("0,0",e?.balance)}function Q(e){return U("0,0",e?.forecast)}function li(e){if(e!=null)switch(e.type){case"this_period_vs_last_period_percent":case"this_period_vs_same_period_last_year_percent":return pe("0.00%",e.totalPercentValue)}return U("0,0",e?.totalBalance)}function jt(e){if(e!=null)switch(e.type){case"this_period_vs_last_period_percent":case"this_period_vs_same_period_last_year_percent":return pe("0.00%",e.forecastPercentValue)}return U("0,0",e?.totalForecast)}function se(e){if(e!=null&&e.forecast!=null&&e.forecast.amount!==0){const n=(e.balance.amount-e.forecast.amount)/e.forecast.amount;return pe("0.00%",Math.floor(n*100)/100)}else return pe("0.00%",void 0)}function de(e){if(e!=null&&e.forecast!=null){const n=Math.floor((e.balance.amount-e.forecast.amount)*100/100);return U("0,0",Object.assign({},e.forecast,{amount:n}))}else return U("0,0",null)}function ci(e){if(e!=null&&e.totalForecast!=null&&e.totalBalance!=null&&e.totalForecast.amount!==0){const n=(e.totalBalance.amount-e.totalForecast.amount)/e.totalForecast.amount;return pe("0.00%",Math.floor(n*100)/100)}else return pe("0.00%",void 0)}function si(e){if(e!=null&&e.totalForecast!=null&&e.totalBalance!=null){const n=Math.floor((e.totalBalance.amount-e.totalForecast.amount)*100/100);return U("0,0",Object.assign({},e.totalForecast,{amount:n}))}else return U("0,0",null)}const Fe=(e,n,i)=>{const{startDate:o,balanceType:r}=n,{dateFormat:{visual:l}}=B.getLocalizedStrings();switch(i){case"month":return r==="default"||r==="default_with_percent"?`${xt(o,l.MMMYYYYFormat,e)}`:mt(r,i);case"quarter":return r==="default"||r==="default_with_percent"?`${B.getLocalizedStrings().reports.quarterPrefix}${xt(o,l.QYYYYformat,e)}`:mt(r,i);case"year":return r==="default"||r==="default_with_percent"?`${xt(o,l.YYYYformat,e)}`:mt(r,i);case"free_range":case"week":throw new Error("free_range/weeks dates are not supported!")}};function mt(e,n){return B.getLocalizedStrings().downloadReport.additionalColumns.labels[n][e]}const wp=(e,n,i)=>{const o=n.length==0?e:`${e}_${n.join("_")}`;return i!=null&&i.trim().length>0?`${o}_${i}`:`${o}_${$o(10)}`},Qo=a.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
flex: 1 1 auto;
|
|
4
4
|
width: 100%;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{J as Ke,d as wl,cL as Sl,F as de,y as F,aR as zl,V as l,bU as Ol,fL as Il,aq as Xe,g5 as el,o as a,gf as Bl,cW as jl,cM as A,cO as Oe,cT as vl,f3 as Rl,f1 as Ml,cR as $l,cP as Z,gg as al,gh as ql,fD as Wl,cU as Je,fC as ol,cJ as Ul,p as z,cQ as il,b2 as Ne,cV as Hl,fT as Ll,H as Ve,bL as _l,fK as Cl,am as ll,g4 as El,b as Pe,ap as Yl,bI as Gl,u as B,dn as Ql,aw as Jl,gi as Zl,aj as tl,an as Kl,gj as Xl,bJ as ke,b6 as et,a as Fl,d1 as lt,au as tt,bH as at}from"./index-
|
|
1
|
+
import{J as Ke,d as wl,cL as Sl,F as de,y as F,aR as zl,V as l,bU as Ol,fL as Il,aq as Xe,g5 as el,o as a,gf as Bl,cW as jl,cM as A,cO as Oe,cT as vl,f3 as Rl,f1 as Ml,cR as $l,cP as Z,gg as al,gh as ql,fD as Wl,cU as Je,fC as ol,cJ as Ul,p as z,cQ as il,b2 as Ne,cV as Hl,fT as Ll,H as Ve,bL as _l,fK as Cl,am as ll,g4 as El,b as Pe,ap as Yl,bI as Gl,u as B,dn as Ql,aw as Jl,gi as Zl,aj as tl,an as Kl,gj as Xl,bJ as ke,b6 as et,a as Fl,d1 as lt,au as tt,bH as at}from"./index-BPZ0_UEx.js";import{a as m}from"./sentry-nVlxguQq.js";import{a as ot,n as r}from"./mui-Dg-yyLd1.js";import{bh as Dl,Fr as it,Fs as rl,bL as rt,Fq as st,Fp as nt,Fn as dt,Fo as ct}from"./zeni-epic-state-DwXlACp-.js";import{x as pt,p as ut,h as mt,g as ht,m as ft,b as gt,f as yt}from"./helper-Bwr_8pRi-BezSaeYe.js";import{C as Ze}from"./LabeledAddressValueField-CeyT4xDd-BvfbCZea.js";import{b as bt}from"./LabeledCountryMultiSelectField-S16_1kXP-UlJPnrtq.js";import{I as sl}from"./LabeledCreatableSingleSelectField-B-KMzhH--CvW70JID.js";import{Y as nl}from"./LabeledDocumentField-9m7Nhuth-CkOtgSAA.js";import{p as xt,i as wt,t as St}from"./commonTypes-B1ylXa_P-CHogy7bq.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},c=new e.Error().stack;c&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[c]="9f60fec1-acab-41e4-98b2-4dabf87abbfd",e._sentryDebugIdIdentifier="sentry-dbid-9f60fec1-acab-41e4-98b2-4dabf87abbfd")}catch{}})();const Ot=e=>m.createElement("svg",{width:72,height:72,viewBox:"0 0 72 72",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},m.createElement("path",{opacity:.2,d:"M50.5391 6.01221C51.2636 6.01238 51.9584 6.29976 52.4707 6.81201L62.6016 16.9429C63.1141 17.4553 63.4022 18.1507 63.4023 18.8755V66.1353C63.4023 66.86 63.1149 67.5554 62.6025 68.0679C62.09 68.5804 61.3947 68.8686 60.6699 68.8687H14.2109C13.4862 68.8687 12.7908 68.5804 12.2783 68.0679C11.7658 67.5554 11.4775 66.8601 11.4775 66.1353V8.74463C11.4775 8.01982 11.7658 7.32453 12.2783 6.81201C12.7908 6.29962 13.4862 6.01221 14.2109 6.01221H50.5391Z",fill:"#97C3B9"}),m.createElement("path",{d:"M60.5227 61.2642V61.2318M60.5227 61.2318V15.9951C60.5226 15.2704 60.2346 14.5753 59.722 14.0629L49.5911 3.93209C49.0787 3.41953 48.3837 3.1315 47.659 3.13135H11.3306C10.6057 3.13135 9.91062 3.41928 9.3981 3.9318C8.88559 4.44431 8.59766 5.13944 8.59766 5.86425V63.2551C8.59766 63.9799 8.88559 64.6751 9.3981 65.1876C9.91062 65.7001 10.6057 65.988 11.3306 65.988H57.7898C58.5147 65.988 59.2098 65.7001 59.7223 65.1876C60.2348 64.6751 60.5227 64.0737 60.5227 63.2551C60.5227 62.4365 60.5227 61.2318 60.5227 61.2318Z",stroke:"#97C3B9",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),m.createElement("path",{d:"M46.8682 3.13135V12.9335C46.8682 13.2545 46.9371 13.5724 47.0709 13.869C47.2048 14.1656 47.401 14.4351 47.6483 14.6621C47.8956 14.8891 48.1893 15.0692 48.5124 15.1921C48.8356 15.3149 49.1819 15.3781 49.5317 15.3781H60.2144",stroke:"#97C3B9",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),m.createElement("g",{clipPath:"url(#clip0_1350_23850)"},m.createElement("rect",{x:16.75,y:15,width:22.501,height:1.5,fill:"#97C3B9"}),m.createElement("circle",{cx:16.75,cy:15.75,r:.75,transform:"rotate(90 16.75 15.75)",fill:"#97C3B9"}),m.createElement("circle",{cx:.75,cy:.75,r:.75,transform:"matrix(0 1 1 0 38.5 15)",fill:"#97C3B9"})),m.createElement("g",{clipPath:"url(#clip1_1350_23850)"},m.createElement("rect",{x:16.75,y:28.5,width:30.4971,height:1.5,fill:"#97C3B9"}),m.createElement("circle",{cx:16.75,cy:29.25,r:.75,transform:"rotate(90 16.75 29.25)",fill:"#97C3B9"}),m.createElement("circle",{cx:.75,cy:.75,r:.75,transform:"matrix(0 1 1 0 46.5 28.5)",fill:"#97C3B9"})),m.createElement("g",{clipPath:"url(#clip2_1350_23850)"},m.createElement("rect",{x:16.75,y:42,width:35.4953,height:1.5,fill:"#97C3B9"}),m.createElement("circle",{cx:16.75,cy:42.75,r:.75,transform:"rotate(90 16.75 42.75)",fill:"#97C3B9"}),m.createElement("circle",{cx:.75,cy:.75,r:.75,transform:"matrix(0 1 1 0 51.5 42)",fill:"#97C3B9"})),m.createElement("g",{clipPath:"url(#clip3_1350_23850)"},m.createElement("rect",{x:16.75,y:55.5,width:35.4953,height:1.5,fill:"#97C3B9"}),m.createElement("circle",{cx:16.75,cy:56.25,r:.75,transform:"rotate(90 16.75 56.25)",fill:"#97C3B9"}),m.createElement("circle",{cx:.75,cy:.75,r:.75,transform:"matrix(0 1 1 0 51.5 55.5)",fill:"#97C3B9"})),m.createElement("defs",null,m.createElement("clipPath",{id:"clip0_1350_23850"},m.createElement("rect",{width:24,height:1.5,fill:"white",transform:"translate(16 15)"})),m.createElement("clipPath",{id:"clip1_1350_23850"},m.createElement("rect",{width:32,height:1.5,fill:"white",transform:"translate(16 28.5)"})),m.createElement("clipPath",{id:"clip2_1350_23850"},m.createElement("rect",{width:37.12,height:1.5,fill:"white",transform:"translate(16 42)"})),m.createElement("clipPath",{id:"clip3_1350_23850"},m.createElement("rect",{width:37.12,height:1.5,fill:"white",transform:"translate(16 55.5)"})))),{commonSetUp:It}=de.getLocalizedStrings(),{businessVerification:dl}=It,je={iconSize:new F(B[6],B[10]),gap:new F(B[2],B[3])},Nl={title:new Ve("smallSemiBold","standardSemiBold"),description:new Ve("smallRegular","standardRegular")},Pl=()=>{const[e]=Jl("Secure"),c=Ke();return l.jsxs(jt,{windowSize:c,children:[e!=null?l.jsx(vt,{windowSize:c,animationData:e,play:!0,loop:!0,rendererSettings:{preserveAspectRatio:"xMidYMid slice"}}):l.jsx($t,{windowSize:c}),l.jsxs(Lt,{children:[l.jsx(_t,{windowSize:c,children:dl.securityMessageTitle}),l.jsx(Ct,{windowSize:c,children:dl.securityMessageDescription})]})]})},jt=r.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
align-items: ${e=>e.windowSize==="small"?"flex-start":"center"};
|
|
4
4
|
gap: ${e=>je.gap.valuePx(e.windowSize)};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{V as r,aN as E,aO as x,F as p,o as l,ab as M,aT as w,aj as y,aU as H}from"./index-
|
|
1
|
+
import{V as r,aN as E,aO as x,F as p,o as l,ab as M,aT as w,aj as y,aU as H}from"./index-BPZ0_UEx.js";import{n as o}from"./mui-Dg-yyLd1.js";import{c as b}from"./SummaryCard-wJqTtNFt-BsTr0JdI.js";import{a as t}from"./sentry-nVlxguQq.js";import"./liveblocks-Lf8LVeH9.js";import"./core-BdfL-uia.js";import"./recharts-DVyIhUUu.js";import"./zeni-epic-state-DwXlACp-.js";import"./lottie-BAIk2ri4.js";import"./analytics-C7qRceeD.js";import"./lexical-CNiclLj0.js";import"./utils-Bn_xI0qf.js";import"./ReloadCard-Dl1P55OC-PqG6EjQo.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]="b6c3dbd9-e2b3-4514-925a-268cc139b01c",e._sentryDebugIdIdentifier="sentry-dbid-b6c3dbd9-e2b3-4514-925a-268cc139b01c")}catch{}})();const j=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:j}],v=o(w)`
|
|
2
2
|
margin: ${l.sp5};
|
|
3
3
|
justify-content: space-between;
|
|
4
4
|
`,L=o.div`
|