@zeniai/web-cockpit-ui 1.14.86-dev → 1.14.87-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-D19fvbL2-VL8NJ-kq.js → ACHDetailsPage-D19fvbL2-Nw4N_V4a.js} +1 -1
- package/dist/assets/{AIPerformancePage-DW0vgs3w-C6_Vooze.js → AIPerformancePage-DW0vgs3w-Cvbkmctn.js} +1 -1
- package/dist/assets/{AccountInfoPage-B0HnACVZ-BYAvhrGX.js → AccountInfoPage-B0HnACVZ-BdReVK8p.js} +1 -1
- package/dist/assets/{AccountInfoPageContent-B9DHX_ra-CAQ0-0rF.js → AccountInfoPageContent-B9DHX_ra-BD9WGFMy.js} +1 -1
- package/dist/assets/{AccountLockedInfoModal-CM1F6VNU-uV9YAvP-.js → AccountLockedInfoModal-CM1F6VNU-CXgrsuj9.js} +1 -1
- package/dist/assets/{AccountReconDetailsDrawerPage-BbtaXRQT-1akSazct.js → AccountReconDetailsDrawerPage-BbtaXRQT-B0yoE2FM.js} +1 -1
- package/dist/assets/{AccountRow-DqB8rPL2-DMH55Auf.js → AccountRow-DqB8rPL2-DSdMIZil.js} +1 -1
- package/dist/assets/{AccountsPromoCardStack-G9g_ND9B-Dez_UUBg.js → AccountsPromoCardStack-G9g_ND9B-nArHxnW3.js} +1 -1
- package/dist/assets/{AddAddressForCardDrawer-UCJdFwxu-eWHSyVQO.js → AddAddressForCardDrawer-UCJdFwxu-BxAkwbp-.js} +1 -1
- package/dist/assets/{AddToWalletPage-B-mvkRWQ-Bjrc9a7q.js → AddToWalletPage-B-mvkRWQ-wdcGJtvr.js} +1 -1
- package/dist/assets/{AgingReportsPage-dKUkHiCt-MJrPMLqB.js → AgingReportsPage-dKUkHiCt-Drwm6gZ0.js} +1 -1
- package/dist/assets/{AllUserItems-CQki1qcr-3QgEUFAR.js → AllUserItems-CQki1qcr-C9ZF7dsP.js} +1 -1
- package/dist/assets/{ApAgingDetailPage-nMjsbSmM-sMJduNX0.js → ApAgingDetailPage-nMjsbSmM-4mZQ-QH4.js} +1 -1
- package/dist/assets/{AppBasePage-BYj0h9gw-DH3gxAi6.js → AppBasePage-BYj0h9gw-RBODTxYN.js} +1 -1
- package/dist/assets/{AppDrawerContent-C21qZewJ-DTIYgSer.js → AppDrawerContent-C21qZewJ-CJE82F-H.js} +1 -1
- package/dist/assets/{ApprovalRulesSettingsPage-B84m25GW-BJTY9z1f.js → ApprovalRulesSettingsPage-B84m25GW-dmvjc61i.js} +1 -1
- package/dist/assets/{ArAgingChart-CLxB28eR-BnMhdr3Y.js → ArAgingChart-CLxB28eR-B3OzPEVf.js} +1 -1
- package/dist/assets/{ArAgingDetailPage-C5yzbIB3-Bp9yrmKW.js → ArAgingDetailPage-C5yzbIB3-CxbaLt0G.js} +1 -1
- package/dist/assets/{AttachmentView-_qAuq3Am-BnxUEqyT.js → AttachmentView-_qAuq3Am-B8SsX2_q.js} +1 -1
- package/dist/assets/{BankAccountSection-B0pfiSf6-O4kzmOgz.js → BankAccountSection-B0pfiSf6-pyGhdVOc.js} +1 -1
- package/dist/assets/{BankAccountWarningSection-Xo-Jy-73-T0cW8wCf.js → BankAccountWarningSection-Xo-Jy-73-BKVAY9Gy.js} +1 -1
- package/dist/assets/{BankConnectionsSettingsPage-o5oe0ctd-TAnMk9ub.js → BankConnectionsSettingsPage-o5oe0ctd-zwjkokjN.js} +1 -1
- package/dist/assets/{BillDetailPage-CtThP7Y9-BH87PynZ.js → BillDetailPage-CtThP7Y9-CzT4w13j.js} +1 -1
- package/dist/assets/{BillPayApprovalRuleDetailPage-BQjmqKng-BWOGnJdV.js → BillPayApprovalRuleDetailPage-BQjmqKng-DUCtaIAL.js} +1 -1
- package/dist/assets/{BillPayApprovalRulesPage-BxCNEom7-DfFQvu-E.js → BillPayApprovalRulesPage-BxCNEom7-LrIL375-.js} +1 -1
- package/dist/assets/{BillPayPromoPage-BElTLopb-CAmSiy-a.js → BillPayPromoPage-BElTLopb-wcKRK3D7.js} +1 -1
- package/dist/assets/{BillPaySetUpPage-BG8feTVd-B3AfPKbT.js → BillPaySetUpPage-BG8feTVd-BxKp0jFH.js} +1 -1
- package/dist/assets/{BillingSettingsPage-07P7VjDH-Bis-h9qV.js → BillingSettingsPage-07P7VjDH-CTh_SdBx.js} +1 -1
- package/dist/assets/{BillsBulkReviewDrawerPage-D7EPuth4-BF7T7k1A.js → BillsBulkReviewDrawerPage-D7EPuth4-Di0BtoyW.js} +1 -1
- package/dist/assets/{BoxItem-CzX5kr9f-DmbC9ChW.js → BoxItem-CzX5kr9f-CBeyb6bQ.js} +1 -1
- package/dist/assets/{BusinessVerificationPage-WSJeMnHc-Ch5Q9ZfO.js → BusinessVerificationPage-WSJeMnHc-B8D63TPA.js} +1 -1
- package/dist/assets/{CardNumberSubText-D76dl24E-DsXfCbtD.js → CardNumberSubText-D76dl24E-Cl4Fre0m.js} +1 -1
- package/dist/assets/{CashbackDetailPage-CNxA7NQY-BORja6Sy.js → CashbackDetailPage-CNxA7NQY-BdpWUgh1.js} +1 -1
- package/dist/assets/{ChargeCardDetailPage-K4gUpiwZ-oVIalvp6.js → ChargeCardDetailPage-K4gUpiwZ-CVpR_c-9.js} +1 -1
- package/dist/assets/{ChargeCardListPage-CyTEY_8V-D5xc0H9_.js → ChargeCardListPage-CyTEY_8V-C7UQ45e6.js} +1 -1
- package/dist/assets/{ChargeCardListTable-BFyvNTeY-CrvrIm4A.js → ChargeCardListTable-BFyvNTeY-BI7o5RKE.js} +1 -1
- package/dist/assets/{ChargeCardPromoPage-C9z3yHL2-Cv7CLbK8.js → ChargeCardPromoPage-C9z3yHL2-5_msiZpN.js} +1 -1
- package/dist/assets/{ChargeCardSetupPage-DO8JYrZP-Be5rOG2G.js → ChargeCardSetupPage-DO8JYrZP-CKNFtmqm.js} +1 -1
- package/dist/assets/{ChargeCardStatementsPage-BOikTcKC-Ci4t0A-V.js → ChargeCardStatementsPage-BOikTcKC-DgMYDr1k.js} +1 -1
- package/dist/assets/{CheckDepositDrawerPage-DH3MI8HN-Byook4Qr.js → CheckDepositDrawerPage-DH3MI8HN-CAeh06wL.js} +1 -1
- package/dist/assets/{CollapsableReportTable-B2M1S7L1-GNwZ9Yr0.js → CollapsableReportTable-B2M1S7L1-CWsF8pJQ.js} +1 -1
- package/dist/assets/{CompanyOfficerDetailsSection-BqY-k8Ic-8Eb1Nitm.js → CompanyOfficerDetailsSection-BqY-k8Ic-DDKovYNL.js} +1 -1
- package/dist/assets/{CompanyPassportCard-BR60dER0-Be42E5vE.js → CompanyPassportCard-BR60dER0-CdbMk43t.js} +1 -1
- package/dist/assets/{CompanyPassportPage-Bmd04hik-w4MNYTWb.js → CompanyPassportPage-Bmd04hik-Fd7LGxH9.js} +1 -1
- package/dist/assets/{CompleteProfile-UULN8u-c-Nz3OPAez.js → CompleteProfile-UULN8u-c-DafD8LGR.js} +1 -1
- package/dist/assets/{ConfettiBurst-CozTW5Rn-DUmnW6Fi.js → ConfettiBurst-CozTW5Rn-C6lgbNW4.js} +1 -1
- package/dist/assets/{CreateOrEditVendorPage-D78xf5_Y-3D_82WJ6.js → CreateOrEditVendorPage-D78xf5_Y-CZrUuutJ.js} +1 -1
- package/dist/assets/{CreditCardPaymentDrawerPage-CuqD_nKw-g7BqmzM_.js → CreditCardPaymentDrawerPage-CuqD_nKw-Bj3gMO6p.js} +1 -1
- package/dist/assets/{CurrencySelectField-DWAO-FaV-BQ_smuTJ.js → CurrencySelectField-DWAO-FaV-BzEL-P2E.js} +1 -1
- package/dist/assets/{CustomerOnboardingActivationPage-Cib3Mx_T-3TdNMDtd.js → CustomerOnboardingActivationPage-Cib3Mx_T-DHCGstkQ.js} +1 -1
- package/dist/assets/CustomerOnboardingContainerPage-J1gLDhpW-tYNehuBS.js +1 -0
- package/dist/assets/{CustomerOnboardingDetailPageSkeleton-XJtMtsSn-G5iSRNCP.js → CustomerOnboardingDetailPageSkeleton-XJtMtsSn-moBZCDPy.js} +1 -1
- package/dist/assets/{CustomerOnboardingNoStepsPage-B_0Hrx2F-De_1mXnl.js → CustomerOnboardingNoStepsPage-B_0Hrx2F-B_4ufL2R.js} +1 -1
- package/dist/assets/{CustomerOnboardingPage-aBkvsh1l-a_pe8FXy.js → CustomerOnboardingPage-aBkvsh1l-DvQnX9Yt.js} +1 -1
- package/dist/assets/{CustomerOnboardingProductSuitePage-BpF-YMGr-JescUxrV.js → CustomerOnboardingProductSuitePage-BpF-YMGr-C8Y5m3sW.js} +1 -1
- package/dist/assets/{Dashboard-PoZO9l3--BkoCWSoN.js → Dashboard-PoZO9l3--CY8U34o8.js} +1 -1
- package/dist/assets/{DashboardReportPage--m1KiT3x-BjIDve_e.js → DashboardReportPage--m1KiT3x-8YRE1Ztt.js} +1 -1
- package/dist/assets/{DashboardSidebarBackgroundAnimation-bBmcRJEU-px5rpiHu.js → DashboardSidebarBackgroundAnimation-bBmcRJEU-BS2D7Ajw.js} +1 -1
- package/dist/assets/{DepositAccTransactionItem-tRzKuflq-C-iuFnHA.js → DepositAccTransactionItem-tRzKuflq-BOyBlY2D.js} +1 -1
- package/dist/assets/{DepositAccTransactionListPage-AwxQHNLD-D7z2ldjE.js → DepositAccTransactionListPage-AwxQHNLD-DT4vx3VD.js} +1 -1
- package/dist/assets/{DomesticWireDetailsPage-CuE-QHLh-D9iyNNyJ.js → DomesticWireDetailsPage-CuE-QHLh-DhovX18v.js} +1 -1
- package/dist/assets/{DownloadOverlay-ebdpHSki-CAJMStLG.js → DownloadOverlay-ebdpHSki-CdxuJ1ov.js} +1 -1
- package/dist/assets/{DrawerPage-DHT0UTT4-BKWp_-5X.js → DrawerPage-DHT0UTT4-DP0MEZql.js} +1 -1
- package/dist/assets/{EditPeoplePage-Ds7odnkL-DQ_yMItj.js → EditPeoplePage-Ds7odnkL-BZO1lzZV.js} +1 -1
- package/dist/assets/{EditReimbursementDetailPage-B6EHHEhj-CgRC_7_f.js → EditReimbursementDetailPage-B6EHHEhj-F6nlK139.js} +1 -1
- package/dist/assets/{EntityDetailPage-sR_MHnxH-B_60XVgg.js → EntityDetailPage-sR_MHnxH-CZIqN1zk.js} +1 -1
- package/dist/assets/{EntitySummarySection-BLwfMK6_-BUmiKyK6.js → EntitySummarySection-BLwfMK6_-pLiyg_OO.js} +1 -1
- package/dist/assets/{ExpenseAutomationOverviewPage-BqFR2yic-D3h9oKID.js → ExpenseAutomationOverviewPage-BqFR2yic-CXYJbyzt.js} +1 -1
- package/dist/assets/{ExpenseAutomationPage-C7IKGki--C5JsAebS.js → ExpenseAutomationPage-C7IKGki--CUaLySH4.js} +1 -1
- package/dist/assets/{ExpressPayPage-C6UtAiIN-B0dyZC98.js → ExpressPayPage-C6UtAiIN-DOnqT-eK.js} +1 -1
- package/dist/assets/{FeaturePreviewPage-C_b5hdtk-CZWyI6y7.js → FeaturePreviewPage-C_b5hdtk-Bejn7JUy.js} +1 -1
- package/dist/assets/{FollowStepsSection-dgWK-_PA-svnQ0XjA.js → FollowStepsSection-dgWK-_PA-B5HqzRFh.js} +1 -1
- package/dist/assets/{GlobalReviewListPage-Bs7BRxg_-Djvi_sGb.js → GlobalReviewListPage-Bs7BRxg_-D4VtJ-E6.js} +1 -1
- package/dist/assets/{InformationCardStack-Def3TczI-CtsF9-Af.js → InformationCardStack-Def3TczI-Bmyvq2WV.js} +1 -1
- package/dist/assets/{InsightsCardStack-CDejyDrL-DdaZf1PW.js → InsightsCardStack-CDejyDrL-fUJ7P-Z2.js} +1 -1
- package/dist/assets/{InsightsSection-DeLBGRXz-D7U82zkc.js → InsightsSection-DeLBGRXz-pKozJhA9.js} +1 -1
- package/dist/assets/{IntegrationsSettingsPage-Vd7CM5dW-BoMhl7AH.js → IntegrationsSettingsPage-Vd7CM5dW-DsvJ78rZ.js} +1 -1
- package/dist/assets/{InternationalWireSwiftDetailsPage-CPIzRzqS-CYAovypm.js → InternationalWireSwiftDetailsPage-CPIzRzqS-DNVQTBV5.js} +1 -1
- package/dist/assets/{InternationalWireVerificationPage-Cc3OKrpr-Ltx5z6FE.js → InternationalWireVerificationPage-Cc3OKrpr-DJuPlryB.js} +1 -1
- package/dist/assets/{InviteFormPage-hXbvSboB-DFFPTBo7.js → InviteFormPage-hXbvSboB-CQtbKPIo.js} +1 -1
- package/dist/assets/{InvitePageListView-xv6f7OYE-CR8JCyaU.js → InvitePageListView-xv6f7OYE-CD197FBj.js} +1 -1
- package/dist/assets/{InvitePeoplePage-Bns8mbbj-CkqSudgd.js → InvitePeoplePage-Bns8mbbj-C9KsD3lb.js} +1 -1
- package/dist/assets/{InvoiceUploadSection-wKWbAAeR-jqYSJVVo.js → InvoiceUploadSection-wKWbAAeR-BJp8u9pj.js} +1 -1
- package/dist/assets/{IssueChargeCardPage-BbCULpNx-DK86WyIA.js → IssueChargeCardPage-BbCULpNx-DhrcaXLX.js} +1 -1
- package/dist/assets/{LabeledAddressValue-CYPuDjMF-C1O2b_Nw.js → LabeledAddressValue-CYPuDjMF-Dd27uqQ5.js} +1 -1
- package/dist/assets/{LabeledAddressValueField-C4ft1l-K-7MDSOtQe.js → LabeledAddressValueField-C4ft1l-K-DNHZaLGB.js} +1 -1
- package/dist/assets/{LabeledControlledCheckBoxField-DHrJB0QL-9tQ_56XZ.js → LabeledControlledCheckBoxField-DHrJB0QL-B0YD48MC.js} +1 -1
- package/dist/assets/{LabeledCreatableSingleSelectField-BeelRB2Y-BOJ6jVYt.js → LabeledCreatableSingleSelectField-BeelRB2Y-D4M6iZeW.js} +1 -1
- package/dist/assets/{LabeledDocumentField-CgMzc8wC-CqZpxSl3.js → LabeledDocumentField-CgMzc8wC-YFPbjVX8.js} +1 -1
- package/dist/assets/{LabeledDropDownFormattedTextField-DcO2nEfi-CXdSabKs.js → LabeledDropDownFormattedTextField-DcO2nEfi-DM5myIka.js} +1 -1
- package/dist/assets/{LabeledText-BNDM-899-06P8MShM.js → LabeledText-BNDM-899-daU3GCMx.js} +1 -1
- package/dist/assets/{LabeledUserSingleSelectWithSubtitlesField-TSpiqQUi-DMkK1ZiA.js → LabeledUserSingleSelectWithSubtitlesField-TSpiqQUi-DSsHMeHJ.js} +1 -1
- package/dist/assets/{LabeledZeniRolesDropDownField-C5I9rtgW-CfSrTjkf.js → LabeledZeniRolesDropDownField-C5I9rtgW-BhY76mIM.js} +1 -1
- package/dist/assets/{LinkJETransactionPage-BWrpuWUo-DjNgjNiu.js → LinkJETransactionPage-BWrpuWUo-X4BCOyYT.js} +1 -1
- package/dist/assets/{LockCardPage-Ddf8_2ti-BAZKWkzC.js → LockCardPage-Ddf8_2ti-CvnRTLQJ.js} +1 -1
- package/dist/assets/{LowBalancePopup-BMSJwe7h-DMWskG_J.js → LowBalancePopup-BMSJwe7h-7plN5AfY.js} +1 -1
- package/dist/assets/MagicLinkACHDetailsPage-CRYqb_qO-Cd15sHqn.js +1 -0
- package/dist/assets/MagicLinkDomesticWireDetailsPage-CE12GLds-CuqaunIs.js +1 -0
- package/dist/assets/{MagicLinkInternationalWireDetailsPage-DO4DIUrG-CyLC4QH5.js → MagicLinkInternationalWireDetailsPage-DO4DIUrG-Bq55ctHD.js} +1 -1
- package/dist/assets/{MagicLinkSuccessPage-fsnKXDBD-BI-yrZDm.js → MagicLinkSuccessPage-fsnKXDBD-3jkAj9R_.js} +1 -1
- package/dist/assets/{MagicLinkTitleSection-DQw4cqq_-CJjXRAcR.js → MagicLinkTitleSection-DQw4cqq_-DWQssSET.js} +1 -1
- package/dist/assets/{MailingDetailsSection-CAV69_Sr-6m02PjwU.js → MailingDetailsSection-CAV69_Sr-CoQQ8Miy.js} +1 -1
- package/dist/assets/{Menu-B_DpiT_k-BMeDRM7Z.js → Menu-B_DpiT_k-v_1bzHTG.js} +1 -1
- package/dist/assets/{MyBankConnectionsSettingsPage-CM2Faxmi-lumvcw7O.js → MyBankConnectionsSettingsPage-CM2Faxmi-Dlc9feeS.js} +1 -1
- package/dist/assets/{MyPendingActivationChargeCardListPage-BV2N6fOb-Dexi8pC1.js → MyPendingActivationChargeCardListPage-BV2N6fOb-BYE6JKi2.js} +1 -1
- package/dist/assets/{MyProfileSettingsPage-BjGB1P4t-3z2NkQ-z.js → MyProfileSettingsPage-BjGB1P4t-DWc0LROj.js} +1 -1
- package/dist/assets/{NavBarWithPicker-CrDC7aPk-hy6Ta87y.js → NavBarWithPicker-CrDC7aPk-CvlWieMX.js} +1 -1
- package/dist/assets/{NavigationArrow-AIYiZbYj-BSdYWMyZ.js → NavigationArrow-AIYiZbYj-CU7-UATo.js} +1 -1
- package/dist/assets/{NavigationDots-CVjs5Sdt-DMRFcVAa.js → NavigationDots-CVjs5Sdt-CzB8BvJ3.js} +1 -1
- package/dist/assets/{NewGlobalMerchantPage-Bx1M-Dpk-BzZ5CoAZ.js → NewGlobalMerchantPage-Bx1M-Dpk-Eoea5WTt.js} +1 -1
- package/dist/assets/{NoDataChart-B_yk9del-aAXFhE-W.js → NoDataChart-B_yk9del-Df_dYNrK.js} +1 -1
- package/dist/assets/{NoDataTable-DRJW6ofl-CrLqSM4Y.js → NoDataTable-DRJW6ofl-CqR6Xtik.js} +1 -1
- package/dist/assets/{NotFoundPage-C6X8pmKB-BcL_ll7R.js → NotFoundPage-C6X8pmKB-BUqC5n1D.js} +1 -1
- package/dist/assets/{NotificationSettingsPage-CsaIk9hI-Csi-Ty8T.js → NotificationSettingsPage-CsaIk9hI-BDUbU-ad.js} +1 -1
- package/dist/assets/{NotificationsListConfig-B8ldcs-T-CNK_cS8g.js → NotificationsListConfig-B8ldcs-T-CGHm0a9I.js} +1 -1
- package/dist/assets/{NotificationsPage-Cv2LlPX0-CmUTnAF-.js → NotificationsPage-Cv2LlPX0-CadIDhjX.js} +1 -1
- package/dist/assets/{OpExByVendorPage-cVCb-lRK-RYTt83vZ.js → OpExByVendorPage-cVCb-lRK-PniEV8rm.js} +1 -1
- package/dist/assets/{OverlayContainerPage-CrZuT2Jj-C5x5xRTB.js → OverlayContainerPage-CrZuT2Jj-CmnZhEXs.js} +1 -1
- package/dist/assets/{PandLWithForecastPage-CG5AGAFM-CGhF4vnJ.js → PandLWithForecastPage-CG5AGAFM-BSuPOI06.js} +1 -1
- package/dist/assets/{PaymentAccountSetupBillingAddressSection-DFeVoMTQ-D8Ukqs-R.js → PaymentAccountSetupBillingAddressSection-DFeVoMTQ-B9vYXUOO.js} +1 -1
- package/dist/assets/{PeoplePage-vwcbvzlP-BQDq8Jw1.js → PeoplePage-vwcbvzlP-tCPgdCEP.js} +1 -1
- package/dist/assets/{ProductsCarousel-C2h9pwDb-BpWEeT8d.js → ProductsCarousel-C2h9pwDb-CILUAj-9.js} +1 -1
- package/dist/assets/{PromoBaseCards-nxua6geT-CBPEj2Gj.js → PromoBaseCards-nxua6geT-DhAwe8nA.js} +1 -1
- package/dist/assets/{QBOConnectionDialog-BRU6xjQi-BroPp__0.js → QBOConnectionDialog-BRU6xjQi-B28W5kbl.js} +1 -1
- package/dist/assets/{QBOSetupSection-CvWw_-bE-K3hTN7GD.js → QBOSetupSection-CvWw_-bE-BIUwJeyC.js} +1 -1
- package/dist/assets/{ReimbursementApprovalRuleDetailPage-CDAPt76T-Ofm0uQSq.js → ReimbursementApprovalRuleDetailPage-CDAPt76T-KwAUYxyS.js} +1 -1
- package/dist/assets/{ReimbursementApprovalRulesPage-CT8KUn9L-djHWb-BD.js → ReimbursementApprovalRulesPage-CT8KUn9L-CAmVTE3P.js} +1 -1
- package/dist/assets/{ReimbursementDetailPage-BlWqdoKk-gscL22YP.js → ReimbursementDetailPage-BlWqdoKk-Cl54Z7I1.js} +1 -1
- package/dist/assets/{ReimbursementPromoPage-C12vL_aT-DOELTnax.js → ReimbursementPromoPage-C12vL_aT-BS-lUPoU.js} +1 -1
- package/dist/assets/{ReimbursementSetUpPage-aeXyHOzw-BBXoRN7W.js → ReimbursementSetUpPage-aeXyHOzw-BGdljrmI.js} +1 -1
- package/dist/assets/{ReimbursementsBulkReviewDrawerPage-BZn17ZAb-CSzjLPpM.js → ReimbursementsBulkReviewDrawerPage-BZn17ZAb-LlhOrvSC.js} +1 -1
- package/dist/assets/{ReloadCard-BVcEjrcM-DkDyCZdX.js → ReloadCard-BVcEjrcM-r8QzZudO.js} +1 -1
- package/dist/assets/{ReportTableViewSelector-DlD_ISoP-DYJZDLbh.js → ReportTableViewSelector-DlD_ISoP-D9TWtYOs.js} +1 -1
- package/dist/assets/{ReportsPage-CqXr-QZi-GDB_EeKY.js → ReportsPage-CqXr-QZi-CBL8grQK.js} +1 -1
- package/dist/assets/{RevenueChart-B1KEseXB-iHNdhoBa.js → RevenueChart-B1KEseXB-nTK5jwUf.js} +1 -1
- package/dist/assets/{ReviewDetailsPage-CYhNq-J0-Cy2NshNy.js → ReviewDetailsPage-CYhNq-J0-lRUNkeh5.js} +1 -1
- package/dist/assets/{ReviewOverlay-DkL6mTyl-BFHL0-xi.js → ReviewOverlay-DkL6mTyl-BWp95RsJ.js} +1 -1
- package/dist/assets/{RoleWithToolTip-DRSravXg-BxOW9LcQ.js → RoleWithToolTip-DRSravXg-BbhZ166y.js} +1 -1
- package/dist/assets/{ScheduleDetailsFixedAssetsPage-BsigTjZM-DhqM4jX3.js → ScheduleDetailsFixedAssetsPage-BsigTjZM-PI0Osbk8.js} +1 -1
- package/dist/assets/{ScheduleDetailsPage-C-lGzBL_-2eCogOrM.js → ScheduleDetailsPage-C-lGzBL_-BaT8y3Uj.js} +1 -1
- package/dist/assets/{ScheduleSequenceTable-BCmdqAXy-DeHIoKHW.js → ScheduleSequenceTable-BCmdqAXy-DvImaTPG.js} +1 -1
- package/dist/assets/{ScreenRoutes-DoPPzVjz.js → ScreenRoutes-DhuEbIUK.js} +1 -1
- package/dist/assets/{SetUpAccountSection-BKOCyUH3-DH5o_JLE.js → SetUpAccountSection-BKOCyUH3-BoSivHRl.js} +1 -1
- package/dist/assets/{SignIn-CS-J3pfV-CgtijYY2.js → SignIn-CS-J3pfV-DVAfXSck.js} +1 -1
- package/dist/assets/{SignInScreen-DAvW9bur.js → SignInScreen-e9SGBZ3P.js} +1 -1
- package/dist/assets/{SpendManagementListViewPage-Df2_A3Ff-BxUbsbil.js → SpendManagementListViewPage-Df2_A3Ff-DV6Td_AO.js} +3 -3
- package/dist/assets/{SpendManagementPerTabPage-CMowSBFq-BrS8wTbG.js → SpendManagementPerTabPage-CMowSBFq-yMD-NPuG.js} +1 -1
- package/dist/assets/{SpendManagementSection-CMV7noyB-UYSYZMHP.js → SpendManagementSection-CMV7noyB-CowIOlkA.js} +1 -1
- package/dist/assets/{StatementItem-DJ39tw7i-Bj4A1Qdq.js → StatementItem-DJ39tw7i-CL4e1Q3R.js} +1 -1
- package/dist/assets/{StatementsPage-bQ7Ni723-DHmZyEvF.js → StatementsPage-bQ7Ni723-DoV-KdHu.js} +1 -1
- package/dist/assets/{StatusSwitcher-dxck0-_D-DRYxrfo9.js → StatusSwitcher-dxck0-_D-CWtyAgzh.js} +1 -1
- package/dist/assets/{SubTabSwitcher-iw3pF9RG-Dy8Bw-rJ.js → SubTabSwitcher-iw3pF9RG-BgOy-ZbA.js} +1 -1
- package/dist/assets/{SummaryCard-BhSCeFtW-CSdCPVeK.js → SummaryCard-BhSCeFtW-4wE8ASwK.js} +1 -1
- package/dist/assets/{TaskManagementPage-g-ZeUacD-BOKvIQzo.js → TaskManagementPage-g-ZeUacD-Qid5n_Ut.js} +1 -1
- package/dist/assets/{TimeRangeSwitcher-DV7Vkxir-CS7Y16la.js → TimeRangeSwitcher-DV7Vkxir-9Uaz_Lju.js} +1 -1
- package/dist/assets/{TimeframeSwitcher-n-e2hXsK-B_34BEd7.js → TimeframeSwitcher-n-e2hXsK-BI2vKKV8.js} +1 -1
- package/dist/assets/{TimeframeSwitcherWithToggle-DLiPwXnZ-Dg1G7031.js → TimeframeSwitcherWithToggle-DLiPwXnZ-BiDdtHrp.js} +1 -1
- package/dist/assets/{TopExCard-CUCtGWMG-DA80G2Tw.js → TopExCard-CUCtGWMG-Dzwiri8K.js} +1 -1
- package/dist/assets/{TopExDetailPage-Du_E_YKe-CKxYJ9kT.js → TopExDetailPage-Du_E_YKe-DwZNd04N.js} +1 -1
- package/dist/assets/{TransactionDetailPage-CgT445to-C64Qr5HI.js → TransactionDetailPage-CgT445to-sLDF9SMY.js} +1 -1
- package/dist/assets/{TransactionList-we_zUYsL-Dijr1BC3.js → TransactionList-we_zUYsL-D1NTC3aO.js} +1 -1
- package/dist/assets/{TransactionListBig-nH1Qjoil-BNQ9Yrfn.js → TransactionListBig-nH1Qjoil-RaaExxWr.js} +1 -1
- package/dist/assets/{TransactionListPage-38GpLjpf-CtUGOhxg.js → TransactionListPage-38GpLjpf-BtcDMxPR.js} +1 -1
- package/dist/assets/{TransactionVendorDetailPage-D9Xiyh8f-C7FSVGLd.js → TransactionVendorDetailPage-D9Xiyh8f-BaaMZHsf.js} +1 -1
- package/dist/assets/{TransferDrawerPage-lmX46zkj-iJHTGU9g.js → TransferDrawerPage-lmX46zkj-BK6ZiDfe.js} +1 -1
- package/dist/assets/{TreasuryOverviewPage-C4AZO1qa-fO0_YydA.js → TreasuryOverviewPage-C4AZO1qa-DDdB-jaK.js} +1 -1
- package/dist/assets/{TreasuryPromoPage-D2UpPIMJ-Vs6LDADD.js → TreasuryPromoPage-D2UpPIMJ-CQRyeJy9.js} +1 -1
- package/dist/assets/{TreasuryStatementsPage-DJZjPYxF-DQoU89N8.js → TreasuryStatementsPage-DJZjPYxF-0UoUUeRZ.js} +1 -1
- package/dist/assets/{TreasuryTaxLetterPage-CRhVrCVC-CUht6Xx6.js → TreasuryTaxLetterPage-CRhVrCVC-BNkXbzq9.js} +1 -1
- package/dist/assets/{TrendChart-C6eEpBKz-BYGni-dr.js → TrendChart-C6eEpBKz-CdaSKzjU.js} +1 -1
- package/dist/assets/{TrendWithTransactions-CesVaJPk-CvaouDs7.js → TrendWithTransactions-CesVaJPk-C1jl0LPR.js} +1 -1
- package/dist/assets/{UncategorizedAccountsMappingPage-wFi1shv1-BGNVX7QF.js → UncategorizedAccountsMappingPage-wFi1shv1-B6N-1mPc.js} +1 -1
- package/dist/assets/{UnitIntegrationPage-Dc1U07vV-CO1z0_28.js → UnitIntegrationPage-Dc1U07vV-BfvSaEpi.js} +1 -1
- package/dist/assets/{UploadAdditionalDocumentOverlay-E73Idplv-CWs5X5k0.js → UploadAdditionalDocumentOverlay-E73Idplv-RRW5i6SD.js} +1 -1
- package/dist/assets/{Vendor2FAPopup-BvdRkNkS-Bx2K17Se.js → Vendor2FAPopup-BvdRkNkS-DNcJdEZF.js} +1 -1
- package/dist/assets/{VendorACHDetailsPage-DSwUAV1v-CbrK94ta.js → VendorACHDetailsPage-DSwUAV1v-TkOITWe7.js} +1 -1
- package/dist/assets/{VendorDetailPage-DNoyNRTj-C-IERg2G.js → VendorDetailPage-DNoyNRTj-0purniYK.js} +1 -1
- package/dist/assets/{VendorDomesticWireDetailsPage-Bc8qjWTX-DDZJAFPN.js → VendorDomesticWireDetailsPage-Bc8qjWTX-Nkr7HPnZ.js} +1 -1
- package/dist/assets/{VendorFiling1099EditablePage-B1B5iG9x-IH4qWXQP.js → VendorFiling1099EditablePage-B1B5iG9x-D78V4RdP.js} +1 -1
- package/dist/assets/{VendorFirstReviewPage-B4yTlldy-c7VfwBSL.js → VendorFirstReviewPage-B4yTlldy-CCl9e2Uz.js} +1 -1
- package/dist/assets/{VendorInternationalWireDetailsPage-CJFUOmlk-Dd28v-fb.js → VendorInternationalWireDetailsPage-CJFUOmlk-Cdtbp0NH.js} +1 -1
- package/dist/assets/{VendorInternationalWireSwiftDetailsPage-CegBbxXf-CzheMiD_.js → VendorInternationalWireSwiftDetailsPage-CegBbxXf-BA5WXDAD.js} +1 -1
- package/dist/assets/{VendorsAccountsSection-WAKW9Ve9-CYEkLKyS.js → VendorsAccountsSection-WAKW9Ve9-C4tgVFpe.js} +1 -1
- package/dist/assets/{VerifyDevice-CcZqv2Lp-BtsM-4Q_.js → VerifyDevice-CcZqv2Lp-C6TS_W9y.js} +1 -1
- package/dist/assets/{VideoPlayer-UPe1R-1g-BKErNhSD.js → VideoPlayer-UPe1R-1g-Dcfc-D3z.js} +2 -2
- package/dist/assets/{VideoPopup-CUd3F8wz-B_M6bvaF.js → VideoPopup-CUd3F8wz-tWB_z85N.js} +1 -1
- package/dist/assets/{WarningsDrawerPage-CDKJe82X-BN7YIchI.js → WarningsDrawerPage-CDKJe82X-B55ew4uu.js} +1 -1
- package/dist/assets/{ZeniAccountDetailPage-Bm-Zan6l-DMTyK70d.js → ZeniAccountDetailPage-Bm-Zan6l-ClbJL7Zi.js} +1 -1
- package/dist/assets/{ZeniAccountListViewPage-CCB38vGw-DXjIa160.js → ZeniAccountListViewPage-CCB38vGw-BYbjN2-q.js} +1 -1
- package/dist/assets/{ZeniAccountNavBarPieces-Cxtt22Vg-BWEZi8Wz.js → ZeniAccountNavBarPieces-Cxtt22Vg-BaVNiYVg.js} +1 -1
- package/dist/assets/{ZeniAccountPromoPage-CPLBUFop-BzqG3LSb.js → ZeniAccountPromoPage-CPLBUFop-Brl5usTR.js} +1 -1
- package/dist/assets/{ZeniAccountSetupPage-jOZVnJMr-BLHd4fYC.js → ZeniAccountSetupPage-jOZVnJMr-T7AInOR4.js} +1 -1
- package/dist/assets/{ZeniCopyright-BX77ah4B-D_yAd7Va.js → ZeniCopyright-BX77ah4B-DW-Vss0l.js} +1 -1
- package/dist/assets/{ZeniTransferAmountSlider-DwZiry1v-GEKPKIiC.js → ZeniTransferAmountSlider-DwZiry1v-BpXhUFXT.js} +1 -1
- package/dist/assets/{analytics-zoE7Zcxt.js → analytics-CThNEnNw.js} +1 -1
- package/dist/assets/{analyticsHelper-BwEP58wt.js → analyticsHelper-BDju9Ap5.js} +1 -1
- package/dist/assets/{analyticsHelper-tTHd6Unu-CYLEPAPI.js → analyticsHelper-tTHd6Unu-CmaLfK2i.js} +1 -1
- package/dist/assets/{chartTypes-BFYRQ3Cv-DXLSHrzv.js → chartTypes-BFYRQ3Cv-B8SvSK2u.js} +1 -1
- package/dist/assets/{commonDimensions-C2kzP_me-DlNLSq1Y.js → commonDimensions-C2kzP_me-Bhhd657x.js} +1 -1
- package/dist/assets/{dash.all.min-Ba2vGpbn.js → dash.all.min-BUPngCw6.js} +1 -1
- package/dist/assets/{detailCommon-BAtNx7ca-DaS89rQv.js → detailCommon-BAtNx7ca-C_kCQZMg.js} +1 -1
- package/dist/assets/{downloadPdf-Sdq-1kVQ-DVyuLdQW.js → downloadPdf-Sdq-1kVQ-CuojZ9OD.js} +1 -1
- package/dist/assets/{epic-vmWV05sm.js → epic-Bko4IStj.js} +1 -1
- package/dist/assets/{index-CHOIEdDW.js → index-BV-YAw0P.js} +1 -1
- package/dist/assets/{index-B6FLCqRf.js → index-Bc9FAOZe.js} +5 -5
- package/dist/assets/{index-jNlf8Zjb.js → index-BxXAQ-Kq.js} +1 -1
- package/dist/assets/{index-BQbbCzKZ.js → index-CwsnnJzI.js} +1 -1
- package/dist/assets/{index-A3ojUHL_.js → index-KtBRorGi.js} +1 -1
- package/dist/assets/{liveblocks-DIep7fJd.js → liveblocks-B3KbWbMM.js} +1 -1
- package/dist/assets/{lottie-DEE24l2z.js → lottie-CaGAfnTY.js} +1 -1
- package/dist/assets/{mapLoadingInProgressToTreeNode-8AkwjRg3-m9352Ilv.js → mapLoadingInProgressToTreeNode-8AkwjRg3-Dki0yA_F.js} +1 -1
- package/dist/assets/{mapSectionWithAcOnlyToTreeNode-BZ6gG9Ko-DV4ta1Hw.js → mapSectionWithAcOnlyToTreeNode-BZ6gG9Ko-DBGh1pPu.js} +1 -1
- package/dist/assets/{mapSpacerToTreeNode-CfM4s6Ab-CKCx6_2V.js → mapSpacerToTreeNode-CfM4s6Ab-Df9wcpWo.js} +1 -1
- package/dist/assets/{mapTimeframeBalancesToTreeNode-B0gWnt3S-SH7tUKnq.js → mapTimeframeBalancesToTreeNode-B0gWnt3S-BKfpG-Y5.js} +1 -1
- package/dist/assets/{mapTimeframeBalancesToTreeNode-Ckh-PZp0-BSwjfYWq.js → mapTimeframeBalancesToTreeNode-Ckh-PZp0-5gDsP3Ao.js} +1 -1
- package/dist/assets/{mapTimeframeHeaderLoadingInProgressToTreeNode-B6ynSFN--caRyYD8h.js → mapTimeframeHeaderLoadingInProgressToTreeNode-B6ynSFN--Dopsv8ep.js} +1 -1
- package/dist/assets/{react-B5y9n_ef.js → react-C2wGlvWj.js} +2 -2
- package/dist/assets/{recharts-BHhx6CLo.js → recharts-CXSQ4XPK.js} +1 -1
- package/dist/assets/{sentry-o6h_D-9x.js → sentry-DxvQlcJu.js} +1 -1
- package/dist/assets/{toCOABalancesWithID-CHuRV6Cy-XAwo936L.js → toCOABalancesWithID-CHuRV6Cy-aUtCm-wJ.js} +1 -1
- package/dist/assets/{toChartData-DjeEqlPj-BJYwHkjk.js → toChartData-DjeEqlPj-2ozfjpmW.js} +1 -1
- package/dist/assets/{uploadAttachment-l_PHn7FL-_orBdxbm.js → uploadAttachment-l_PHn7FL-XZamg0mt.js} +1 -1
- package/dist/assets/{uploadReceipts-Bkf_PaOH-Vf7-L7FN.js → uploadReceipts-Bkf_PaOH-B56PESzm.js} +1 -1
- package/dist/assets/{url-BdYIjepo.js → url-DuX7Wo4B.js} +1 -1
- package/dist/assets/{url-BxQKeS2R.js → url-y5lCWhwX.js} +1 -1
- package/dist/assets/{utils-uDUqNRFY.js → utils-C70QTjQC.js} +1 -1
- package/dist/assets/{zeni-epic-state-LPACxnXP.js → zeni-epic-state-xFtF3OLs.js} +2 -2
- package/dist/index.html +1 -1
- package/package.json +3 -3
- package/dist/assets/CustomerOnboardingContainerPage-J1gLDhpW-CRG1w3EM.js +0 -1
- package/dist/assets/MagicLinkACHDetailsPage-CRYqb_qO-BhHVGLJ8.js +0 -1
- package/dist/assets/MagicLinkDomesticWireDetailsPage-CE12GLds-D-96bibR.js +0 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{V as t,b1 as H,aA as S,dl as L,bp as q,o as a,ag as A}from"./index-
|
|
1
|
+
import{V as t,b1 as H,aA as S,dl as L,bp as q,o as a,ag as A}from"./index-Bc9FAOZe.js";import{a as n,Y as D}from"./core-3dlyNYRL.js";import{n as g}from"./mui-bYXq4XMS.js";import{V as U}from"./CollapsableReportTable-B2M1S7L1-CWsF8pJQ.js";const W=e=>n.createElement("svg",{width:12,height:40,viewBox:"0 0 12 40",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},n.createElement("path",{d:"M12 40H4a4 4 0 0 1-4-4V4a4 4 0 0 1 4-4h8v40z"}),n.createElement("path",{d:"M8 23.333a1 1 0 1 0 0 2 1 1 0 0 0 0-2zM8 19a1 1 0 1 0 0 2 1 1 0 0 0 0-2zm-1-3.333a1 1 0 1 1 2 0 1 1 0 0 1-2 0zm-3 7.666a1 1 0 1 0 0 2 1 1 0 0 0 0-2zM3 20a1 1 0 1 1 2 0 1 1 0 0 1-2 0zm1-5.333a1 1 0 1 0 0 2 1 1 0 0 0 0-2z",fill:"currentColor"})),X=e=>n.createElement("svg",{width:12,height:40,viewBox:"0 0 12 40",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},n.createElement("path",{d:"M0 0h8a4 4 0 0 1 4 4v32a4 4 0 0 1-4 4H0V0z"}),n.createElement("path",{d:"M8 23.333a1 1 0 1 0 0 2 1 1 0 0 0 0-2zM8 19a1 1 0 1 0 0 2 1 1 0 0 0 0-2zm-1-3.333a1 1 0 1 1 2 0 1 1 0 0 1-2 0zm-3 7.666a1 1 0 1 0 0 2 1 1 0 0 0 0-2zM3 20a1 1 0 1 1 2 0 1 1 0 0 1-2 0zm1-5.333a1 1 0 1 0 0 2 1 1 0 0 0 0-2z",fill:"currentColor"})),p=40,h=90,Z=g.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
flex-direction: row;
|
|
4
4
|
justify-content: flex-start;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{V as t,o,ag as p,F as f}from"./index-
|
|
1
|
+
import{V as t,o,ag as p,F as f}from"./index-Bc9FAOZe.js";import{n as i}from"./mui-bYXq4XMS.js";const u=i.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
flex-direction: row;
|
|
4
4
|
align-items: center;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{Q as c,V as o,y as n,ag as w,bH as x}from"./index-
|
|
1
|
+
import{Q as c,V as o,y as n,ag as w,bH as x}from"./index-Bc9FAOZe.js";import{n as r}from"./mui-bYXq4XMS.js";import{b as l}from"./TimeframeSwitcher-n-e2hXsK-BI2vKKV8.js";const a="ZeniSwitch",i={root:`${a}-root`,switchBase:`${a}-switchBase`,track:`${a}-track`,thumb:`${a}-thumb`},u=({className:e,...t})=>o.jsx(x,{...t,className:e,classes:{...i}}),p=r(u)(({theme:e})=>({[`& .${i.switchBase}`]:{color:e.colors.grey2,margin:0,padding:0,transform:"translateX(6px)"},[`& .${i.track}`]:{backgroundColor:e.colors.grey3,opacity:1},[`& .${i.switchBase}.Mui-checked`]:{color:e.colors.primary},[`& .${i.root}.${i.switchBase}.Mui-checked + .${i.track}`]:{backgroundColor:e.colors.grey1},[`&.${i.root}`]:{width:52,height:20,padding:"5px 10px"},[`& .${i.switchBase}.Mui-checked`]:{color:e.colors.grey5,transform:"translateX(28px)"},[`& .${i.switchBase}.Mui-checked .${i.thumb}`]:{backgroundColor:e.colors.primary},[`& .${i.switchBase}.Mui-checked .${i.thumb}:before`]:{backgroundImage:`url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="12" height="13" viewBox="0 0 12 13"><path fill="${encodeURIComponent(e.colors.grey5)}" d="M10.738 2L4.5075 8.4035L1.2615 5.0685L0 6.3655L4.5075 11L12 3.297L10.738 2Z" /></svg>')`},[`& .${i.switchBase}.Mui-checked + .${i.track}`]:{opacity:1,backgroundColor:e.colors.grey1},[`& .${i.switchBase}.Mui-disabled + .${i.track}`]:{opacity:.7},[`& .${i.thumb}`]:{backgroundColor:e.colors.grey2,width:20,height:20,boxShadow:"none","&:before":{content:"''",position:"absolute",width:"100%",height:"100%",left:0,top:0,backgroundRepeat:"no-repeat",backgroundPosition:"center"}},[`& .${i.track}`]:{opacity:1,backgroundColor:e.colors.grey3,borderRadius:10}})),b=e=>o.jsx(p,{...e}),d={timeframePaddingLeft:new n(0,0,125),timeframePaddingBottom:new n(8,8,0)},$=r.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
width: 100%;
|
|
4
4
|
flex-direction: column;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{aA as M,Q as _,V as t,d as x,u as f,aV as q,b as T,aL as R,aI as H,o as p,ag as C,b7 as X,ak as F,F as S,aJ as G,aK as J,aP as E,b0 as Q,b1 as Y,aQ as N,bO as U}from"./index-
|
|
1
|
+
import{aA as M,Q as _,V as t,d as x,u as f,aV as q,b as T,aL as R,aI as H,o as p,ag as C,b7 as X,ak as F,F as S,aJ as G,aK as J,aP as E,b0 as Q,b1 as Y,aQ as N,bO as U}from"./index-Bc9FAOZe.js";import{w,a as W}from"./core-3dlyNYRL.js";import{f0 as Z}from"./zeni-epic-state-xFtF3OLs.js";import{n as g}from"./mui-bYXq4XMS.js";import{I as ee,T as te}from"./ReloadCard-BVcEjrcM-r8QzZudO.js";import{o as ae,r as re}from"./graphic-no-data-l-DU4J8fDt-x_U9o4ZQ.js";import{B as k,X as L,Y as $,b as O,e as A,f as ne,g as oe}from"./recharts-CXSQ4XPK.js";const ie=g(E)`
|
|
2
2
|
justify-content: space-between;
|
|
3
3
|
margin: 0;
|
|
4
4
|
height: ${e=>e.height!=null?e.height+"px":"auto"};
|
package/dist/assets/{TopExDetailPage-Du_E_YKe-CKxYJ9kT.js → TopExDetailPage-Du_E_YKe-DwZNd04N.js}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{d as v,Q as S,V as t,bz as A,F as u,aL as b,b1 as B,x as H,o as i,y as E,bN as z,bq as P,u as c,p as V,ak as $,aK as F,aZ as T}from"./index-
|
|
1
|
+
import{d as v,Q as S,V as t,bz as A,F as u,aL as b,b1 as B,x as H,o as i,y as E,bN as z,bq as P,u as c,p as V,ak as $,aK as F,aZ as T}from"./index-Bc9FAOZe.js";import{n as l}from"./mui-bYXq4XMS.js";import{f0 as D}from"./zeni-epic-state-xFtF3OLs.js";import{E as M,I as L}from"./TopExCard-CUCtGWMG-Dzwiri8K.js";import{b as Z}from"./TimeframeSwitcher-n-e2hXsK-BI2vKKV8.js";import{d as _}from"./NoDataTable-DRJW6ofl-CqR6Xtik.js";import{w as I,a as o}from"./core-3dlyNYRL.js";import"./sentry-DxvQlcJu.js";import"./lottie-CaGAfnTY.js";import"./liveblocks-B3KbWbMM.js";import"./utils-C70QTjQC.js";import"./analytics-CThNEnNw.js";import"./recharts-CXSQ4XPK.js";import"./lexical-DPEnH3HH.js";import"./ReloadCard-BVcEjrcM-r8QzZudO.js";import"./graphic-no-data-l-DU4J8fDt-x_U9o4ZQ.js";const j="141px",O=i.sp4,N="123px",Q=l(T)`
|
|
2
2
|
color: inherit;
|
|
3
3
|
width: ${i.sp3};
|
|
4
4
|
height: ${i.sp3};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{k as qn,D as Wn,d as Pt,a8 as Fn,Q as ae,F as q,aN as Jt,dS as Hn,dT as Gn,cB as Yn,aA as Zn,dU as nn,dV as Jn,V as i,aK as W,ab as Xn,bz as Qn,dW as Kn,dX as ea,A as oi,dY as zi,aO as ta,y as N,dZ as ia,d_ as an,d$ as on,e0 as sn,e1 as Te,e2 as Oe,e3 as Pe,e4 as Ke,e5 as et,e6 as St,e7 as kt,e8 as tt,e9 as gt,ea as zt,eb as At,ec as Xt,ed as ee,ee as ei,ef as ue,eg as pe,aH as na,eh as Dt,ei as Ai,ej as aa,n as oa,cm as sa,o as a,ca as la,ek as ra,u as O,x as vi,p as le,ap as Di,b8 as si,s as ca,el as da,ch as ua,cf as li,aL as Le,cO as st,em as pa,en as Ht,aR as ln,cT as ma,eo as ha,cd as ga,ce as fa,ak as fe,aZ as ya,d7 as ba,ep as rn,eq as Qt,er as Kt,es as mi,dh as xa,b1 as va,cq as wa,cW as Ti,a7 as cn,et as ti,eu as ii,ev as dn,cU as un,bQ as Oi,ew as hi,dm as gi,ex as Ca,bq as Ia,ey as $a,ez as Vi,eA as Da,ax as Ta,cX as Oa,eB as La,B as pn,eC as mn,bI as ja,eD as Ei,eE as hn,eF as gn,eG as fn,bG as lt,at as Sa,as as ka,dv as za,b as yn,eH as Aa,bE as Va,_ as Ea,al as Ra,a as Pa,aT as wi}from"./index-
|
|
1
|
+
import{k as qn,D as Wn,d as Pt,a8 as Fn,Q as ae,F as q,aN as Jt,dS as Hn,dT as Gn,cB as Yn,aA as Zn,dU as nn,dV as Jn,V as i,aK as W,ab as Xn,bz as Qn,dW as Kn,dX as ea,A as oi,dY as zi,aO as ta,y as N,dZ as ia,d_ as an,d$ as on,e0 as sn,e1 as Te,e2 as Oe,e3 as Pe,e4 as Ke,e5 as et,e6 as St,e7 as kt,e8 as tt,e9 as gt,ea as zt,eb as At,ec as Xt,ed as ee,ee as ei,ef as ue,eg as pe,aH as na,eh as Dt,ei as Ai,ej as aa,n as oa,cm as sa,o as a,ca as la,ek as ra,u as O,x as vi,p as le,ap as Di,b8 as si,s as ca,el as da,ch as ua,cf as li,aL as Le,cO as st,em as pa,en as Ht,aR as ln,cT as ma,eo as ha,cd as ga,ce as fa,ak as fe,aZ as ya,d7 as ba,ep as rn,eq as Qt,er as Kt,es as mi,dh as xa,b1 as va,cq as wa,cW as Ti,a7 as cn,et as ti,eu as ii,ev as dn,cU as un,bQ as Oi,ew as hi,dm as gi,ex as Ca,bq as Ia,ey as $a,ez as Vi,eA as Da,ax as Ta,cX as Oa,eB as La,B as pn,eC as mn,bI as ja,eD as Ei,eE as hn,eF as gn,eG as fn,bG as lt,at as Sa,as as ka,dv as za,b as yn,eH as Aa,bE as Va,_ as Ea,al as Ra,a as Pa,aT as wi}from"./index-Bc9FAOZe.js";import{a as w,w as Tt}from"./core-3dlyNYRL.js";import{n as l}from"./mui-bYXq4XMS.js";import{fs as _a,ft as Na,bG as Et,bF as Rt,bH as Ua,c5 as Ba,fu as Ma,bj as qa}from"./zeni-epic-state-xFtF3OLs.js";import{x as Ri}from"./LabeledControlledCheckBoxField-DHrJB0QL-B0YD48MC.js";import{R as Wa}from"./TrendWithTransactions-CesVaJPk-C1jl0LPR.js";import{u as Fa,c as Ha,d as Ga,m as Ya}from"./uploadAttachment-l_PHn7FL-XZamg0mt.js";import{o as Za}from"./radio-default-CiSgisfh-Clpw2LWj.js";import"./sentry-DxvQlcJu.js";import"./lottie-CaGAfnTY.js";import"./liveblocks-B3KbWbMM.js";import"./utils-C70QTjQC.js";import"./analytics-CThNEnNw.js";import"./recharts-CXSQ4XPK.js";import"./lexical-DPEnH3HH.js";import"./TrendChart-C6eEpBKz-CdaSKzjU.js";import"./chartTypes-BFYRQ3Cv-B8SvSK2u.js";import"./toCOABalancesWithID-CHuRV6Cy-aUtCm-wJ.js";import"./toChartData-DjeEqlPj-2ozfjpmW.js";import"./NoDataChart-B_yk9del-Df_dYNrK.js";import"./InsightsSection-DeLBGRXz-pKozJhA9.js";import"./NavigationDots-CVjs5Sdt-CzB8BvJ3.js";import"./TransactionList-we_zUYsL-D1NTC3aO.js";import"./BoxItem-CzX5kr9f-CBeyb6bQ.js";import"./commonDimensions-C2kzP_me-Bhhd657x.js";const Ja={headerMarginTop:new N(O[7],O[8])},Xa=l(fe)`
|
|
2
2
|
color: ${e=>e.theme.colors.hero};
|
|
3
3
|
`,Qa=l(fe)`
|
|
4
4
|
margin-right: ${a.sp1};
|
package/dist/assets/{TransactionList-we_zUYsL-Dijr1BC3.js → TransactionList-we_zUYsL-D1NTC3aO.js}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{ca as ct,Q as R,V as e,b1 as mt,aK as x,dh as ft,F as v,di as xt,dc as ut,dj as ht,o as a,p as q,cq as pt,y as G,A as gt,ak as y,u as g,ag as wt,dk as J,c_ as K,aL as X,al as bt}from"./index-
|
|
1
|
+
import{ca as ct,Q as R,V as e,b1 as mt,aK as x,dh as ft,F as v,di as xt,dc as ut,dj as ht,o as a,p as q,cq as pt,y as G,A as gt,ak as y,u as g,ag as wt,dk as J,c_ as K,aL as X,al as bt}from"./index-Bc9FAOZe.js";import{a as p,w as $t}from"./core-3dlyNYRL.js";import{n}from"./mui-bYXq4XMS.js";import{f1 as Q,f2 as V,f3 as U,f4 as L,bj as vt,fh as tt,bG as et}from"./zeni-epic-state-xFtF3OLs.js";import{g as it}from"./BoxItem-CzX5kr9f-CBeyb6bQ.js";import{o as B}from"./commonDimensions-C2kzP_me-Bhhd657x.js";const D=t=>t?24:125,yt={containerPaddingBottom:new G(g[9],g[8])},W=n.div`
|
|
2
2
|
box-sizing: border-box;
|
|
3
3
|
display: flex;
|
|
4
4
|
flex: 1 1 auto;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{y as a,Q as R,av as W,aB as ie,aV as ne,V as t,aK as x,b1 as re,F as w,u as n,b as ae,p as B,o,B as j,M as Q,bo as se,bp as le,ag as de,ap as ce,aL as me,bq as pe,an as he,A as ge,n as Z,x as G,br as X,aQ as ee}from"./index-
|
|
1
|
+
import{y as a,Q as R,av as W,aB as ie,aV as ne,V as t,aK as x,b1 as re,F as w,u as n,b as ae,p as B,o,B as j,M as Q,bo as se,bp as le,ag as de,ap as ce,aL as me,bq as pe,an as he,A as ge,n as Z,x as G,br as X,aQ as ee}from"./index-Bc9FAOZe.js";import{a as U,w as f}from"./core-3dlyNYRL.js";import{n as i,b as ue}from"./mui-bYXq4XMS.js";import{eJ as xe,bh as we,bD as N}from"./zeni-epic-state-xFtF3OLs.js";import{G as $e,c as be}from"./AccountsPromoCardStack-G9g_ND9B-nArHxnW3.js";import"./sentry-DxvQlcJu.js";import"./lottie-CaGAfnTY.js";import"./liveblocks-B3KbWbMM.js";import"./utils-C70QTjQC.js";import"./analytics-CThNEnNw.js";import"./recharts-CXSQ4XPK.js";import"./lexical-DPEnH3HH.js";import"./SummaryCard-BhSCeFtW-4wE8ASwK.js";import"./ReloadCard-BVcEjrcM-r8QzZudO.js";import"./NavigationArrow-AIYiZbYj-CU7-UATo.js";import"./NavigationDots-CVjs5Sdt-CzB8BvJ3.js";const ye={textContainer:new j("extraSmallRegular","smallRegular")},ve=i.div`
|
|
2
2
|
color: ${e=>e.theme.colors.hero};
|
|
3
3
|
cursor: default;
|
|
4
4
|
`,Se=i.div`
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{d as z,bx as R,by as M,V as o,aK as p,bz as V,A as Z,o as n,ak as q}from"./index-
|
|
1
|
+
import{d as z,bx as R,by as M,V as o,aK as p,bz as V,A as Z,o as n,ak as q}from"./index-Bc9FAOZe.js";import{a as r}from"./core-3dlyNYRL.js";import{n as l}from"./mui-bYXq4XMS.js";import{f as G}from"./TransactionList-we_zUYsL-D1NTC3aO.js";import{t as K}from"./page-detail-CWX5S47F-Bc8Xpsuq.js";import{e as _}from"./sentry-DxvQlcJu.js";import"./zeni-epic-state-xFtF3OLs.js";import"./lottie-CaGAfnTY.js";import"./liveblocks-B3KbWbMM.js";import"./utils-C70QTjQC.js";import"./analytics-CThNEnNw.js";import"./recharts-CXSQ4XPK.js";import"./lexical-DPEnH3HH.js";import"./BoxItem-CzX5kr9f-CBeyb6bQ.js";import"./commonDimensions-C2kzP_me-Bhhd657x.js";const H=l.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
flex: 1 1 auto;
|
|
4
4
|
height: 100vh;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{Q as H,F,V as o,A as q,aK as L,aO as W,o as a,y as g,_,B as J,d0 as K,a8 as Q,h1 as B,h2 as k,h3 as M,cB as U,ab as G,u as r,d as X,cE as Y,gF as z,h8 as Z,b5 as ee,hc as oe,hd as te}from"./index-
|
|
1
|
+
import{Q as H,F,V as o,A as q,aK as L,aO as W,o as a,y as g,_,B as J,d0 as K,a8 as Q,h1 as B,h2 as k,h3 as M,cB as U,ab as G,u as r,d as X,cE as Y,gF as z,h8 as Z,b5 as ee,hc as oe,hd as te}from"./index-Bc9FAOZe.js";import{a as j}from"./core-3dlyNYRL.js";import{n as d}from"./mui-bYXq4XMS.js";import"./sentry-DxvQlcJu.js";import"./zeni-epic-state-xFtF3OLs.js";import"./lottie-CaGAfnTY.js";import"./liveblocks-B3KbWbMM.js";import"./utils-C70QTjQC.js";import"./analytics-CThNEnNw.js";import"./recharts-CXSQ4XPK.js";import"./lexical-DPEnH3HH.js";const D=(e,c)=>`${e}.${c}`,N={labelWidth:new g(120,145,160),controlWidth:new g(110,145,160)},ae=F.getLocalizedStrings().transactionDetail.vendorDetails,i=ae.vendorCreation,ne=({selectedAccountId:e,isSaveError:c,selectedClassId:p,selectedOwnerId:t,selectedVendorName:m,allAccounts:h,allClasses:C,allOwners:S,sectionId:v,isDisabled:u,accountsHierarchyList:f,classHierarchyList:x})=>{const s=H(),b=X(),$=N.labelWidth.value(s),I=N.controlWidth.value(s),V=n=>h.filter(O=>O.accountId===n)[0]?.coaId??"",l=n=>C.filter(O=>O.classId===n)[0]?.accountingClassNumber??"",y=n=>{const O=h.find(R=>R.accountId===n)?.accountName;return[oe,te].includes(O??"")};return o.jsxs(re,{"data-testid":L("vendor-details-section",v),children:[o.jsx(le,{children:i.vendorDetails.title}),o.jsxs(se,{children:[o.jsx(Y,{label:{label:i.vendorDetails.vendorName,width:$},text:{type:"text",name:D(v,"vendorName"),placeholder:i.placeholders.vendor,defaultValue:m,autoComplete:"off",options:{required:!0}},isSaveError:c,showAdditionalInfoLabel:!1,additionalInfoLabel:i.vendorAlreadyExistsErrorMsg,style:{width:"auto"}}),o.jsx(ie,{}),o.jsx(z,{isLoading:!1,label:{label:i.vendorDetails.vendorCategory,width:$},groupedSingleSelectField:{shouldShowChevronIcon:!1,name:D(v,"vendorCategory"),placeholder:i.placeholders.category,valueToInfo:n=>V(n),defaultValue:{selectedOption:e,allOptions:k(f)},style:{width:"auto"},registerOptions:{required:!1}},style:{borderBottom:`1px solid ${b.colors.grey3}`},isDisabled:u,disableCurrentOption:y,zIndexOnFocus:!0,additionalLabelInfo:i.vendorDetails.vendorCategoryAdditionText}),o.jsx(z,{isLoading:!1,label:{label:i.vendorDetails.vendorClass,width:$},zIndexOnFocus:!0,groupedSingleSelectField:{shouldShowChevronIcon:!1,name:D(v,"vendorClass"),placeholder:i.placeholders.class,valueToInfo:n=>l(n),defaultValue:{selectedOption:p,allOptions:B(x)},registerOptions:{required:!1},style:{width:"auto"}},additionalLabelInfo:i.vendorDetails.vendorClassAdditionText,style:{borderBottom:`1px solid ${b.colors.grey3}`},isDisabled:u}),S!=null?o.jsx(Z,{label:{label:i.vendorDetails.vendorOwner,width:$},userSingleSelectField:{name:D(v,"vendorOwner"),placeholder:i.placeholders.owner,defaultValue:{allOptions:M(S),selectedOption:t},registerOptions:{required:!1},style:{width:"auto"},menuPlacement:"top"},isDisabled:u,style:{justifyContent:"space-between"},controlWidth:I}):null]})]})},re=d.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
flex-direction: column;
|
|
4
4
|
padding-top: ${a.sp3};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{V as t,Q as ue,aK as A,hl as st,F as I,aL as Z,n as ve,hw as ct,A as Ye,aO as $e,o as a,y as c,_ as Ne,c as dt,b7 as ut,ap as ft,E as De,ag as be,ak as fe,aN as ce,fv as pt,a8 as Xe,cB as mt,aV as ht,aM as gt,p as G,ab as qe,fz as ke,fA as Ae,g7 as wt,bQ as ye,g1 as xt,hx as $t,u as o,fk as Dt,cf as Ze,bZ as bt,d6 as yt,bI as Tt,al as Je,fM as Ct,dv as St,b$ as Ge,hm as vt,ho as kt}from"./index-B6FLCqRf.js";import{a as u}from"./core-3dlyNYRL.js";import{n}from"./mui-bYXq4XMS.js";import{bO as At}from"./zeni-epic-state-LPACxnXP.js";import{v as Lt}from"./ZeniTransferAmountSlider-DwZiry1v-GEKPKIiC.js";import{r as Pt}from"./AccountInfoPageContent-B9DHX_ra-CAQ0-0rF.js";import"./sentry-o6h_D-9x.js";import"./lottie-DEE24l2z.js";import"./liveblocks-DIep7fJd.js";import"./utils-uDUqNRFY.js";import"./analytics-zoE7Zcxt.js";import"./recharts-BHhx6CLo.js";import"./lexical-DPEnH3HH.js";import"./downloadPdf-Sdq-1kVQ-DVyuLdQW.js";import"./commonDimensions-C2kzP_me-DlNLSq1Y.js";const{common:de,spendManagement:{zeniAccounts:{zeniAccountList:b}}}=I.getLocalizedStrings(),Ke="amount",jt="transferTo",Le="transferFrom",k="transferDetails",Qe="transferDetailPage",ge=(e,r)=>`${e}.${r}`,Ue=e=>`${e}_form`,p={largeLabelWidth:new c(120,120,160),rowContentPaddingLeft:new c(o[3],o[4]),labeleMarginLeft:new c(o[0],o[0]),labelMarginRight:new c(o[3],o[3]),labeleMarginBottom:new c(o[2],o[0]),labeledFieldPaddingLeft:new c(o[3],o[0]),labeledFieldPaddingRight:new c(o[3],o[2]),labeledFieldPaddingTop:new c(o[3],o[3]),labeledFieldPaddingBottom:new c(o[3],o[2]),infoLabelPaddingRight:new c(o[0],o[3]),infoLabelMarginTop:new c(o[1],o[0]),controllerWrapperFlex:new c(1,o[0])};function zt({plaidConnectionDetails:e,transferDetails:r,zeniAccountsConfigDetail:g,isCalculatorOpen:$,showAnnualYieldEarned:y,transferAmount:w,yieldEarned:d,totalBalance:f,maxInsuredAmount:s,setIsCalculatorOpen:T,setShowAnnualYieldEarned:C,setTransferAmount:S,setYieldEarned:F,setTotalBalance:M,onSaveChangesToLocalStore:K,onBackClick:E,onEstablishConnectionClick:O,fireTrackTransferBetweenAccountsFormClicked:_,onFetchLinkTokenClick:Q,onReviewClick:U}){const i=ue(),R=p.largeLabelWidth.value(i),[V,j]=u.useState(!1),m=e.link_account_no_microdeposit,[v,W]=u.useState(m.linkToken??null),[x,z]=u.useState(!1),[Y,N]=u.useState(!1),H=r.transferMoneyPartiesFetchState,oe=ce(H),X=r.transferDetailLocalData.transferFrom?.id,ee=r.transferDetailLocalData.transferTo?.id,ie=ce(X),Te=ce(ee),pe=r.transferMoneyParties.map(l=>l.id),me=ce(pe),He=u.useCallback(l=>{O?.(l),E(),N(!1),z(!1)},[E,O]),et=u.useCallback((l,h)=>{l!=null&&console.log("Plaid Connection Error",l,h)},[]),{open:q,ready:te}=pt({token:v,onSuccess:He,onExit:et}),le=u.useCallback(l=>{l.preventDefault(),l.stopPropagation(),te?q():z(!0)},[q,te]),L=Xe({mode:"all",reValidateMode:"onBlur",defaultValues:u.useMemo(()=>Pe(r,le),[r])});u.useEffect(()=>{m.fetchStatus.fetchState==="Completed"&&m.linkToken!=null&&m.linkToken!==v&&W(m.linkToken)},[m.fetchStatus.fetchState,m.linkToken,v]),u.useEffect(()=>{m.linkToken===v&&m.fetchStatus.fetchState==="Completed"&&te&&N(!0)},[te,v,m.fetchStatus,m.linkToken,m.fetchStatus.fetchState]),u.useEffect(()=>{Y&&x&&q()},[Y,q,x]),u.useEffect(()=>{(At(new Date().toISOString()).isAfter(m.expiration)||m.linkToken==null)&&Q?.("link_account_no_microdeposit")},[]),u.useEffect(()=>{const l=me!=null&&JSON.stringify(me)!==JSON.stringify(pe);(oe==="In-Progress"&&H==="Completed"||ie!==X||Te!==ee||l)&&L.reset(Pe(r,()=>q()))},[te,v,m.fetchStatus.fetchState,oe,H,ie,Te,ee,X,me,pe,L,r,q]);const{isValid:tt}=L.formState,at=async(l,h)=>{if(l!=null){const B={...h},se={amount:{amount:B[k].amount??0,currencyCode:"USD",currencySymbol:"$"},transferFrom:r.transferMoneyParties.find(ae=>ae.id===B[k].transferFrom.selectedOption),transferTo:r.transferMoneyParties.find(ae=>ae.id===B[k].transferTo.selectedOption)};K(se)}};u.useEffect(()=>{const l=L.watch((h,{name:B})=>{if(B!=null&&h!=null){const se=h[k]?.amount??0,ae=h[k]?.transferFrom,ot=h[k]?.transferTo,it=r.transferMoneyParties.find(he=>he.id===ae?.selectedOption),lt=r.transferMoneyParties.find(he=>he.id===ot?.selectedOption);it?.accType==="paymentAccount"&<?.accType==="depositAccount"&&se!==0?(T(!0),C(!0)):C(!1),S(se)}});return()=>{l.unsubscribe()}},[L,r.transferMoneyParties]),u.useEffect(()=>{const l=L.watch((h,{name:B})=>{B!=null&&h!=null&&mt(()=>at(B,h))});return()=>{l.unsubscribe()}}),u.useEffect(()=>{r.reviewTransferDetail.error!=null?j(!0):j(!1)},[r.reviewTransferDetail.error]);const nt=L.handleSubmit(()=>{tt&&(_("Review","Amount Details"),U())});u.useEffect(()=>{r.transferDetailLocalData.transferTo?.accType==="depositAccount"&&r.transferDetailLocalData.transferTo.accountBalance?.available?.amount===0&&r.transferDetailLocalData.transferFrom?.id==null&&L.setValue(`${k}.${Le}`,{selectedOption:r.primaryPaymentAccount?.paymentAccountId,allOptions:ne(r,!0,le,!0,!0)})},[r.transferDetailLocalData.transferTo?.id]);const Ce=g.zeniAccountsConfigDetail.depositProductConfig.depositProducts,Se=Ce[Ce.length-1].annualPercentageYield.toString(),rt=ht(gt(s),s,de.currency.currencySymbol).toUpperCase();return t.jsx(t.Fragment,{children:m.fetchStatus.fetchState==="Completed"?t.jsxs(t.Fragment,{children:[V?t.jsx(Ft,{children:t.jsxs(Et,{children:[t.jsxs(Rt,{children:[t.jsx(Ot,{}),t.jsxs(_t,{children:[t.jsx(Vt,{children:r.reviewTransferDetail.error?.title}),t.jsx(Wt,{children:r.reviewTransferDetail.error?.message})]})]}),t.jsx(It,{children:t.jsx(na,{"data-testid":A("amount-details-error-close"),onClick:()=>{_("Cross","Amount Details"),j(!1)},style:{width:a.sp3,height:a.sp3,color:G.heroLight}})})]})}):null,t.jsx(Yt,{children:Z("0,0.[00]",r.transferDetailLocalData.amount)}),t.jsx(qe,{...L,children:t.jsxs(Mt,{id:Ue(Qe),onSubmit:nt,children:[t.jsxs(ta,{children:[t.jsx(Ee,{size:i,children:t.jsx(je,{label:{label:de.labels.transferFrom,width:R,style:{marginLeft:p.labeleMarginLeft.valuePx(i),marginBottom:p.labeleMarginBottom.valuePx(i),marginRight:p.labelMarginRight.valuePx(i)}},errorInfoLabel:b.transferDrawer.transferFromError,style:{paddingTop:p.labeledFieldPaddingTop.valuePx(i),paddingBottom:p.labeledFieldPaddingBottom.valuePx(i),paddingLeft:p.labeledFieldPaddingLeft.valuePx(i),paddingRight:p.labeledFieldPaddingRight.valuePx(i),border:"none",width:"100%",outline:"none",padding:0,display:i==="small"?"flex":"inherit"},infoLabelStyle:{textAlign:i==="small"?"left":"right",paddingRight:p.infoLabelPaddingRight.valuePx(i),marginTop:p.infoLabelMarginTop.valuePx(i)},singleSelectPickerField:{name:ge(k,Le),placeholder:b.transferDrawer.transferFromPlaceholder,style:{position:"relative"},capitalizeOptions:!0,valueToLogo:(l,h)=>Ae(r.transferMoneyParties,l,h),valueToSubLabels:(l,h)=>ke(r.transferMoneyParties,l,h,!1),defaultValue:{selectedOption:r.transferDetailLocalData.transferFrom?.id,allOptions:ne(r,!0,le,!0,!0)},textAlignment:"right",registerOptions:{required:!0,validate:l=>l!=null&&!!l.selectedOption}}})}),t.jsx(Me,{}),t.jsx(Ee,{size:i,children:t.jsx(aa,{size:i,children:t.jsx(je,{label:{label:de.labels.transferTo,width:R,style:{marginLeft:p.labeleMarginLeft.valuePx(i),marginBottom:p.labeleMarginBottom.valuePx(i),marginRight:p.labelMarginRight.valuePx(i)}},errorInfoLabel:b.transferDrawer.transferToError,style:{paddingTop:p.labeledFieldPaddingTop.valuePx(i),paddingBottom:p.labeledFieldPaddingBottom.valuePx(i),paddingLeft:p.labeledFieldPaddingLeft.valuePx(i),paddingRight:p.labeledFieldPaddingRight.valuePx(i),border:"none",width:"100%",outline:"none",padding:0,display:i==="small"?"flex":"inherit"},infoLabelStyle:{textAlign:i==="small"?"left":"right",paddingRight:p.infoLabelPaddingRight.valuePx(i),marginTop:p.infoLabelMarginTop.valuePx(i)},singleSelectPickerField:{name:ge(k,jt),placeholder:b.transferDrawer.transferToPlaceholder,capitalizeOptions:!0,style:{position:"relative"},valueToLogo:(l,h)=>Ae(r.transferMoneyParties,l,h),valueToSubLabels:(l,h)=>ke(r.transferMoneyParties,l,h,!1),defaultValue:{selectedOption:r.transferDetailLocalData.transferTo?.id,allOptions:ne(r,!1,le)},textAlignment:"right",registerOptions:{required:!0,validate:l=>l!=null&&!!l.selectedOption}}})})}),t.jsx(Me,{}),t.jsx(wt,{showAdditionalInfoLabel:!1,label:{label:de.labels.amount,width:R},additionalInfoLabel:b.transferDrawer.amountError,formattedTextField:{type:"number",name:ge(k,Ke),defaultValue:r.transferDetailLocalData.amount.amount===0?void 0:r.transferDetailLocalData.amount.amount,placeholder:b.transferDrawer.amountPlaceholder,returnValueType:"floatValue",prefix:"$",allowNegative:!1,isNumericString:!1,registerOptions:{required:!0,validate:l=>!!l&&l>0},autoComplete:"off",decimalSeparator:".",decimalScale:2,fixedDecimalScale:!1,thousandSeparator:!0,allowLeadingZeros:!1},style:{width:"auto"}})]}),t.jsxs(Zt,{children:[$?t.jsxs(Nt,{children:[t.jsx(Xt,{children:b.transferDrawer.calculator.heading.replace("__rate__",Se).replace("__amount__",rt)}),t.jsx(Lt,{minStep:.01,currentAccountBalance:r.transferDetailLocalData.transferTo?.accountBalance?.available?.amount??0,transferAmount:w,zeniAccountsConfigDetail:g,setYieldEarned:F,setTotalBalance:M})]}):null,t.jsxs(Jt,{windowSize:i,children:[t.jsx(Qt,{windowSize:i,children:y?t.jsxs(t.Fragment,{children:[t.jsxs(Gt,{children:[t.jsx(ze,{children:`${b.transferDrawer.calculator.footerText.annualYieldEarned} ${Z("0,0",{amount:d,currencySymbol:"$"})}`}),t.jsx(ye,{variant:"small-description",display:"flex",data:b.transferDrawer.calculator.footerText.annualYieldEarnedTooltipText,placement:i==="small"?"bottom":"right",children:t.jsx(qt,{})})]}),t.jsx(Kt,{windowSize:i}),t.jsx(Ut,{children:`${b.transferDrawer.calculator.footerText.forTotalBalance} ${Z("0,0",{amount:f,currencySymbol:"$"})}`})]}):t.jsx(ze,{children:b.transferDrawer.calculator.footerText.earnUptoText.replace("__rate__",Se)})}),$?t.jsxs(Fe,{windowSize:i,onClick:()=>T(!1),"data-testid":A("calculator-footer-close"),children:[t.jsx(Be,{className:"calculatorFooterLeftText",children:b.transferDrawer.calculator.footerText.hide}),t.jsx(Ht,{className:"calculatorFooterArrowIcon"})]}):t.jsxs(Fe,{windowSize:i,onClick:()=>T(!0),"data-testid":A("calculator-footer-show"),children:[t.jsx(Be,{className:"calculatorFooterLeftText",children:b.transferDrawer.calculator.footerText.showYieldCalculator}),t.jsx(ea,{className:"calculatorFooterArrowIcon"})]})]})]})]})})]}):t.jsx(Ye,{size:"Standard",start:!0,style:{display:"flex",justifyContent:"center",alignItems:"center",height:"calc(100vh - 500px)"}})})}const ne=(e,r,g,$=!1,y=!1)=>{const w=e.transferMoneyParties.map(d=>{const f={label:d.label,value:d.id};return $&&(r?f.isDisabled=d.id===e?.transferDetailLocalData?.transferTo?.id||d.accType==="paymentAccount"&&e.transferDetailLocalData.transferTo?.accType==="paymentAccount":f.isDisabled=d.id===e.transferDetailLocalData.transferFrom?.id||d.accType==="paymentAccount"&&e.transferDetailLocalData.transferFrom?.accType==="paymentAccount"),f});if(y){const d={label:b.transferDrawer.selectAddAccount,value:"",type:"button",onClick:g};w.push(d)}return w},Pe=(e,r)=>({transferDetails:{[Ke]:e.transferDetailLocalData.amount.amount===0?void 0:e.transferDetailLocalData.amount.amount,transferFrom:{allOptions:ne(e,!0,r,!0,!0),selectedOption:e.transferDetailLocalData.transferFrom?.id!=null?e.transferDetailLocalData.transferFrom?.id:Bt(e)},transferTo:{allOptions:ne(e,!1,r,!0,!1),selectedOption:e.transferDetailLocalData.transferTo?.id}}}),Bt=e=>e.transferDetailLocalData.transferTo?.accType==="depositAccount"&&e.transferDetailLocalData.transferTo?.accountBalance?.available?.amount===0?e.primaryPaymentAccount?.paymentAccountId:void 0,Ft=n.div`
|
|
1
|
+
import{V as t,Q as ue,aK as A,hl as st,F as I,aL as Z,n as ve,hw as ct,A as Ye,aO as $e,o as a,y as c,_ as Ne,c as dt,b7 as ut,ap as ft,E as De,ag as be,ak as fe,aN as ce,fv as pt,a8 as Xe,cB as mt,aV as ht,aM as gt,p as G,ab as qe,fz as ke,fA as Ae,g7 as wt,bQ as ye,g1 as xt,hx as $t,u as o,fk as Dt,cf as Ze,bZ as bt,d6 as yt,bI as Tt,al as Je,fM as Ct,dv as St,b$ as Ge,hm as vt,ho as kt}from"./index-Bc9FAOZe.js";import{a as u}from"./core-3dlyNYRL.js";import{n}from"./mui-bYXq4XMS.js";import{bO as At}from"./zeni-epic-state-xFtF3OLs.js";import{v as Lt}from"./ZeniTransferAmountSlider-DwZiry1v-BpXhUFXT.js";import{r as Pt}from"./AccountInfoPageContent-B9DHX_ra-BD9WGFMy.js";import"./sentry-DxvQlcJu.js";import"./lottie-CaGAfnTY.js";import"./liveblocks-B3KbWbMM.js";import"./utils-C70QTjQC.js";import"./analytics-CThNEnNw.js";import"./recharts-CXSQ4XPK.js";import"./lexical-DPEnH3HH.js";import"./downloadPdf-Sdq-1kVQ-CuojZ9OD.js";import"./commonDimensions-C2kzP_me-Bhhd657x.js";const{common:de,spendManagement:{zeniAccounts:{zeniAccountList:b}}}=I.getLocalizedStrings(),Ke="amount",jt="transferTo",Le="transferFrom",k="transferDetails",Qe="transferDetailPage",ge=(e,r)=>`${e}.${r}`,Ue=e=>`${e}_form`,p={largeLabelWidth:new c(120,120,160),rowContentPaddingLeft:new c(o[3],o[4]),labeleMarginLeft:new c(o[0],o[0]),labelMarginRight:new c(o[3],o[3]),labeleMarginBottom:new c(o[2],o[0]),labeledFieldPaddingLeft:new c(o[3],o[0]),labeledFieldPaddingRight:new c(o[3],o[2]),labeledFieldPaddingTop:new c(o[3],o[3]),labeledFieldPaddingBottom:new c(o[3],o[2]),infoLabelPaddingRight:new c(o[0],o[3]),infoLabelMarginTop:new c(o[1],o[0]),controllerWrapperFlex:new c(1,o[0])};function zt({plaidConnectionDetails:e,transferDetails:r,zeniAccountsConfigDetail:g,isCalculatorOpen:$,showAnnualYieldEarned:y,transferAmount:w,yieldEarned:d,totalBalance:f,maxInsuredAmount:s,setIsCalculatorOpen:T,setShowAnnualYieldEarned:C,setTransferAmount:S,setYieldEarned:F,setTotalBalance:M,onSaveChangesToLocalStore:K,onBackClick:E,onEstablishConnectionClick:O,fireTrackTransferBetweenAccountsFormClicked:_,onFetchLinkTokenClick:Q,onReviewClick:U}){const i=ue(),R=p.largeLabelWidth.value(i),[V,j]=u.useState(!1),m=e.link_account_no_microdeposit,[v,W]=u.useState(m.linkToken??null),[x,z]=u.useState(!1),[Y,N]=u.useState(!1),H=r.transferMoneyPartiesFetchState,oe=ce(H),X=r.transferDetailLocalData.transferFrom?.id,ee=r.transferDetailLocalData.transferTo?.id,ie=ce(X),Te=ce(ee),pe=r.transferMoneyParties.map(l=>l.id),me=ce(pe),He=u.useCallback(l=>{O?.(l),E(),N(!1),z(!1)},[E,O]),et=u.useCallback((l,h)=>{l!=null&&console.log("Plaid Connection Error",l,h)},[]),{open:q,ready:te}=pt({token:v,onSuccess:He,onExit:et}),le=u.useCallback(l=>{l.preventDefault(),l.stopPropagation(),te?q():z(!0)},[q,te]),L=Xe({mode:"all",reValidateMode:"onBlur",defaultValues:u.useMemo(()=>Pe(r,le),[r])});u.useEffect(()=>{m.fetchStatus.fetchState==="Completed"&&m.linkToken!=null&&m.linkToken!==v&&W(m.linkToken)},[m.fetchStatus.fetchState,m.linkToken,v]),u.useEffect(()=>{m.linkToken===v&&m.fetchStatus.fetchState==="Completed"&&te&&N(!0)},[te,v,m.fetchStatus,m.linkToken,m.fetchStatus.fetchState]),u.useEffect(()=>{Y&&x&&q()},[Y,q,x]),u.useEffect(()=>{(At(new Date().toISOString()).isAfter(m.expiration)||m.linkToken==null)&&Q?.("link_account_no_microdeposit")},[]),u.useEffect(()=>{const l=me!=null&&JSON.stringify(me)!==JSON.stringify(pe);(oe==="In-Progress"&&H==="Completed"||ie!==X||Te!==ee||l)&&L.reset(Pe(r,()=>q()))},[te,v,m.fetchStatus.fetchState,oe,H,ie,Te,ee,X,me,pe,L,r,q]);const{isValid:tt}=L.formState,at=async(l,h)=>{if(l!=null){const B={...h},se={amount:{amount:B[k].amount??0,currencyCode:"USD",currencySymbol:"$"},transferFrom:r.transferMoneyParties.find(ae=>ae.id===B[k].transferFrom.selectedOption),transferTo:r.transferMoneyParties.find(ae=>ae.id===B[k].transferTo.selectedOption)};K(se)}};u.useEffect(()=>{const l=L.watch((h,{name:B})=>{if(B!=null&&h!=null){const se=h[k]?.amount??0,ae=h[k]?.transferFrom,ot=h[k]?.transferTo,it=r.transferMoneyParties.find(he=>he.id===ae?.selectedOption),lt=r.transferMoneyParties.find(he=>he.id===ot?.selectedOption);it?.accType==="paymentAccount"&<?.accType==="depositAccount"&&se!==0?(T(!0),C(!0)):C(!1),S(se)}});return()=>{l.unsubscribe()}},[L,r.transferMoneyParties]),u.useEffect(()=>{const l=L.watch((h,{name:B})=>{B!=null&&h!=null&&mt(()=>at(B,h))});return()=>{l.unsubscribe()}}),u.useEffect(()=>{r.reviewTransferDetail.error!=null?j(!0):j(!1)},[r.reviewTransferDetail.error]);const nt=L.handleSubmit(()=>{tt&&(_("Review","Amount Details"),U())});u.useEffect(()=>{r.transferDetailLocalData.transferTo?.accType==="depositAccount"&&r.transferDetailLocalData.transferTo.accountBalance?.available?.amount===0&&r.transferDetailLocalData.transferFrom?.id==null&&L.setValue(`${k}.${Le}`,{selectedOption:r.primaryPaymentAccount?.paymentAccountId,allOptions:ne(r,!0,le,!0,!0)})},[r.transferDetailLocalData.transferTo?.id]);const Ce=g.zeniAccountsConfigDetail.depositProductConfig.depositProducts,Se=Ce[Ce.length-1].annualPercentageYield.toString(),rt=ht(gt(s),s,de.currency.currencySymbol).toUpperCase();return t.jsx(t.Fragment,{children:m.fetchStatus.fetchState==="Completed"?t.jsxs(t.Fragment,{children:[V?t.jsx(Ft,{children:t.jsxs(Et,{children:[t.jsxs(Rt,{children:[t.jsx(Ot,{}),t.jsxs(_t,{children:[t.jsx(Vt,{children:r.reviewTransferDetail.error?.title}),t.jsx(Wt,{children:r.reviewTransferDetail.error?.message})]})]}),t.jsx(It,{children:t.jsx(na,{"data-testid":A("amount-details-error-close"),onClick:()=>{_("Cross","Amount Details"),j(!1)},style:{width:a.sp3,height:a.sp3,color:G.heroLight}})})]})}):null,t.jsx(Yt,{children:Z("0,0.[00]",r.transferDetailLocalData.amount)}),t.jsx(qe,{...L,children:t.jsxs(Mt,{id:Ue(Qe),onSubmit:nt,children:[t.jsxs(ta,{children:[t.jsx(Ee,{size:i,children:t.jsx(je,{label:{label:de.labels.transferFrom,width:R,style:{marginLeft:p.labeleMarginLeft.valuePx(i),marginBottom:p.labeleMarginBottom.valuePx(i),marginRight:p.labelMarginRight.valuePx(i)}},errorInfoLabel:b.transferDrawer.transferFromError,style:{paddingTop:p.labeledFieldPaddingTop.valuePx(i),paddingBottom:p.labeledFieldPaddingBottom.valuePx(i),paddingLeft:p.labeledFieldPaddingLeft.valuePx(i),paddingRight:p.labeledFieldPaddingRight.valuePx(i),border:"none",width:"100%",outline:"none",padding:0,display:i==="small"?"flex":"inherit"},infoLabelStyle:{textAlign:i==="small"?"left":"right",paddingRight:p.infoLabelPaddingRight.valuePx(i),marginTop:p.infoLabelMarginTop.valuePx(i)},singleSelectPickerField:{name:ge(k,Le),placeholder:b.transferDrawer.transferFromPlaceholder,style:{position:"relative"},capitalizeOptions:!0,valueToLogo:(l,h)=>Ae(r.transferMoneyParties,l,h),valueToSubLabels:(l,h)=>ke(r.transferMoneyParties,l,h,!1),defaultValue:{selectedOption:r.transferDetailLocalData.transferFrom?.id,allOptions:ne(r,!0,le,!0,!0)},textAlignment:"right",registerOptions:{required:!0,validate:l=>l!=null&&!!l.selectedOption}}})}),t.jsx(Me,{}),t.jsx(Ee,{size:i,children:t.jsx(aa,{size:i,children:t.jsx(je,{label:{label:de.labels.transferTo,width:R,style:{marginLeft:p.labeleMarginLeft.valuePx(i),marginBottom:p.labeleMarginBottom.valuePx(i),marginRight:p.labelMarginRight.valuePx(i)}},errorInfoLabel:b.transferDrawer.transferToError,style:{paddingTop:p.labeledFieldPaddingTop.valuePx(i),paddingBottom:p.labeledFieldPaddingBottom.valuePx(i),paddingLeft:p.labeledFieldPaddingLeft.valuePx(i),paddingRight:p.labeledFieldPaddingRight.valuePx(i),border:"none",width:"100%",outline:"none",padding:0,display:i==="small"?"flex":"inherit"},infoLabelStyle:{textAlign:i==="small"?"left":"right",paddingRight:p.infoLabelPaddingRight.valuePx(i),marginTop:p.infoLabelMarginTop.valuePx(i)},singleSelectPickerField:{name:ge(k,jt),placeholder:b.transferDrawer.transferToPlaceholder,capitalizeOptions:!0,style:{position:"relative"},valueToLogo:(l,h)=>Ae(r.transferMoneyParties,l,h),valueToSubLabels:(l,h)=>ke(r.transferMoneyParties,l,h,!1),defaultValue:{selectedOption:r.transferDetailLocalData.transferTo?.id,allOptions:ne(r,!1,le)},textAlignment:"right",registerOptions:{required:!0,validate:l=>l!=null&&!!l.selectedOption}}})})}),t.jsx(Me,{}),t.jsx(wt,{showAdditionalInfoLabel:!1,label:{label:de.labels.amount,width:R},additionalInfoLabel:b.transferDrawer.amountError,formattedTextField:{type:"number",name:ge(k,Ke),defaultValue:r.transferDetailLocalData.amount.amount===0?void 0:r.transferDetailLocalData.amount.amount,placeholder:b.transferDrawer.amountPlaceholder,returnValueType:"floatValue",prefix:"$",allowNegative:!1,isNumericString:!1,registerOptions:{required:!0,validate:l=>!!l&&l>0},autoComplete:"off",decimalSeparator:".",decimalScale:2,fixedDecimalScale:!1,thousandSeparator:!0,allowLeadingZeros:!1},style:{width:"auto"}})]}),t.jsxs(Zt,{children:[$?t.jsxs(Nt,{children:[t.jsx(Xt,{children:b.transferDrawer.calculator.heading.replace("__rate__",Se).replace("__amount__",rt)}),t.jsx(Lt,{minStep:.01,currentAccountBalance:r.transferDetailLocalData.transferTo?.accountBalance?.available?.amount??0,transferAmount:w,zeniAccountsConfigDetail:g,setYieldEarned:F,setTotalBalance:M})]}):null,t.jsxs(Jt,{windowSize:i,children:[t.jsx(Qt,{windowSize:i,children:y?t.jsxs(t.Fragment,{children:[t.jsxs(Gt,{children:[t.jsx(ze,{children:`${b.transferDrawer.calculator.footerText.annualYieldEarned} ${Z("0,0",{amount:d,currencySymbol:"$"})}`}),t.jsx(ye,{variant:"small-description",display:"flex",data:b.transferDrawer.calculator.footerText.annualYieldEarnedTooltipText,placement:i==="small"?"bottom":"right",children:t.jsx(qt,{})})]}),t.jsx(Kt,{windowSize:i}),t.jsx(Ut,{children:`${b.transferDrawer.calculator.footerText.forTotalBalance} ${Z("0,0",{amount:f,currencySymbol:"$"})}`})]}):t.jsx(ze,{children:b.transferDrawer.calculator.footerText.earnUptoText.replace("__rate__",Se)})}),$?t.jsxs(Fe,{windowSize:i,onClick:()=>T(!1),"data-testid":A("calculator-footer-close"),children:[t.jsx(Be,{className:"calculatorFooterLeftText",children:b.transferDrawer.calculator.footerText.hide}),t.jsx(Ht,{className:"calculatorFooterArrowIcon"})]}):t.jsxs(Fe,{windowSize:i,onClick:()=>T(!0),"data-testid":A("calculator-footer-show"),children:[t.jsx(Be,{className:"calculatorFooterLeftText",children:b.transferDrawer.calculator.footerText.showYieldCalculator}),t.jsx(ea,{className:"calculatorFooterArrowIcon"})]})]})]})]})})]}):t.jsx(Ye,{size:"Standard",start:!0,style:{display:"flex",justifyContent:"center",alignItems:"center",height:"calc(100vh - 500px)"}})})}const ne=(e,r,g,$=!1,y=!1)=>{const w=e.transferMoneyParties.map(d=>{const f={label:d.label,value:d.id};return $&&(r?f.isDisabled=d.id===e?.transferDetailLocalData?.transferTo?.id||d.accType==="paymentAccount"&&e.transferDetailLocalData.transferTo?.accType==="paymentAccount":f.isDisabled=d.id===e.transferDetailLocalData.transferFrom?.id||d.accType==="paymentAccount"&&e.transferDetailLocalData.transferFrom?.accType==="paymentAccount"),f});if(y){const d={label:b.transferDrawer.selectAddAccount,value:"",type:"button",onClick:g};w.push(d)}return w},Pe=(e,r)=>({transferDetails:{[Ke]:e.transferDetailLocalData.amount.amount===0?void 0:e.transferDetailLocalData.amount.amount,transferFrom:{allOptions:ne(e,!0,r,!0,!0),selectedOption:e.transferDetailLocalData.transferFrom?.id!=null?e.transferDetailLocalData.transferFrom?.id:Bt(e)},transferTo:{allOptions:ne(e,!1,r,!0,!1),selectedOption:e.transferDetailLocalData.transferTo?.id}}}),Bt=e=>e.transferDetailLocalData.transferTo?.accType==="depositAccount"&&e.transferDetailLocalData.transferTo?.accountBalance?.available?.amount===0?e.primaryPaymentAccount?.paymentAccountId:void 0,Ft=n.div`
|
|
2
2
|
margin-top: ${a.sp3};
|
|
3
3
|
display: flex;
|
|
4
4
|
background-color: ${e=>e.theme.colors.grey5};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{Q as C,d as M,a7 as Ne,ca as Fe,V as t,F as L,aL as V,bQ as ae,bz as Ve,b as ie,aK as W,A as We,o as i,ag as k,p as w,bI as Ee,y,fc as Z,B as R,u as p,b2 as ne,bL as Le,aQ as Me,av as Ue,fP as Ge,gU as Xe,n as Je,ak as O,aZ as Ze,jh as qe,jU as Qe,be as _e,eL as et,da as tt,fM as it,kO as ot,iT as Oe,iU as Ae,cq as rt,iK as at,iL as nt,kP as st,bO as lt,al as E,cv as le,iS as dt,cy as ct}from"./index-
|
|
1
|
+
import{Q as C,d as M,a7 as Ne,ca as Fe,V as t,F as L,aL as V,bQ as ae,bz as Ve,b as ie,aK as W,A as We,o as i,ag as k,p as w,bI as Ee,y,fc as Z,B as R,u as p,b2 as ne,bL as Le,aQ as Me,av as Ue,fP as Ge,gU as Xe,n as Je,ak as O,aZ as Ze,jh as qe,jU as Qe,be as _e,eL as et,da as tt,fM as it,kO as ot,iT as Oe,iU as Ae,cq as rt,iK as at,iL as nt,kP as st,bO as lt,al as E,cv as le,iS as dt,cy as ct}from"./index-Bc9FAOZe.js";import{a as f,w as ht}from"./core-3dlyNYRL.js";import{n as o,b as de}from"./mui-bYXq4XMS.js";import{bO as U,c3 as pt}from"./zeni-epic-state-xFtF3OLs.js";import{s as xt}from"./commonDimensions-C2kzP_me-Bhhd657x.js";import{g as ce}from"./BoxItem-CzX5kr9f-CBeyb6bQ.js";import{o as mt}from"./transaction-placeholder-CpOwZAMG-0pwHfQC6.js";import{o as gt}from"./shield-DOlUxcFf-BXuToJ7O.js";import{h as he,A as pe,X as xe,Y as me,a as ge,T as ut}from"./recharts-CXSQ4XPK.js";import"./sentry-DxvQlcJu.js";import"./lottie-CaGAfnTY.js";import"./liveblocks-B3KbWbMM.js";import"./utils-C70QTjQC.js";import"./analytics-CThNEnNw.js";import"./lexical-DPEnH3HH.js";const se=L.getLocalizedStrings().spendManagement.treasury.overviewPage.header,yt={key:"description",value:se.trasnactionTitle,sortOrder:"ascending",width:new y(120,250,400,400,500)},ft={key:"date",value:se.paymentDate,sortOrder:"ascending",width:new y(100,120,200,250,300)},wt={key:"amount",value:se.amount,sortOrder:"ascending",width:new y(80,100,150,180,200)},oe=()=>[yt,ft,wt],S={containerPaddingLeft:i.sp4,containerPaddingRight:i.sp4,containerPaddingTop:i.sp3,containerPaddingBottom:i.sp3,headerLastColumnTopPadding:new y(p[0],p[4]),headerLastColumnRightPadding:new y(p[3],p[11]),headerLastColumnBottomPadding:new y(p[0],p[4]),headerLastColumnLeftPadding:new y(p[3],p[11]),headerHeight:new y(Oe,Ae),sortIconSize:new y(p[2],p[2]),headerPaddingTop:new y(p[0],2)};function $t({companyNameSticky:e,sortConfig:r,onColumnSortConfigChanged:n}){const h=M(),l=C(),[a,u]=f.useState(oe());f.useEffect(()=>{const c=[...a];for(const s of c)s.key===r.sortKey?s.sortOrder=r.sortOrder:s.sortOrder="ascending";u(c)},[r.sortKey,r.sortOrder]);const d=(c,s)=>{let g=s;r.sortKey===c&&(g=s==="ascending"?"descending":"ascending"),n(c,g)},m=a.find(c=>c.key===r.sortKey)??a[0],x=c=>a.find(s=>s.key===c)?.value??"",$=a.map(c=>c.key),j=L.getLocalizedStrings().spendManagement.chargeCard.cardList;return l==="small"?t.jsxs(St,{windowSize:l,children:[t.jsxs(zt,{children:[t.jsx(Dt,{children:t.jsx(Pt,{})}),t.jsx(lt,{title:j.sortBy,placeholder:j.sortBy,pickerValues:$,valueToLabel:x,selectedValue:r.sortKey,onPickerSelectionChanged:c=>{d(c,"ascending")},optionTextStyle:ie.extraSmallRegular,titleTextStyle:ie.extraSmallRegular,titleColor:h.colors.primary,selectedOptionColor:h.colors.hero,optionBackgroundColor:h.colors.grey5,downChevronVisible:!1,backgroundColor:h.colors.grey4})]}),t.jsxs(Mt,{onClick:()=>d(m.key,m.sortOrder),"data-testid":W("mobile-cards-list-sort-clicked",r.sortKey),children:[t.jsx(E,{children:m.value}),t.jsx(ue,{windowSize:l,sortDataValue:r.sortKey,headerdata:m,children:t.jsx(ye,{windowSize:l,isSelected:r.sortKey===m.key,children:t.jsx(le,{})})})]})]}):t.jsx(bt,{windowSize:l,children:t.jsx(vt,{children:a.map(c=>c.width.value(l)!==0&&t.jsxs(kt,{companyNameSticky:e,sortDataValue:r.sortKey,actualDataValue:c.key,wrapperWidth:c.width,windowSize:l,children:[t.jsxs(Lt,{onClick:()=>d(c.key,c.sortOrder),"data-testid":W("cards-list-sort-clicked",r.sortKey),children:[t.jsx(E,{children:c.value}),t.jsx(ue,{windowSize:l,sortDataValue:r.sortKey,headerdata:c,children:t.jsx(ye,{windowSize:l,isSelected:r.sortKey===c.key,children:t.jsx(le,{})})})]}),t.jsx(Tt,{sortDataValue:r.sortKey,windowSize:l,isVisible:r.sortKey===c.key&&c.key!=="date",children:t.jsx(Ct,{onClick:()=>d("date","ascending"),"data-testid":W("cards-list-sort-cancel",r.sortKey)})})]},c.key))})})}const jt=ht.memo($t),bt=o.div`
|
|
2
2
|
top: ${i.sp0};
|
|
3
3
|
left: ${i.sp0};
|
|
4
4
|
z-index: 2;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{d as ce,Q as V,av as $e,a7 as fe,aN as ye,F as A,V as r,bz as ke,fo as je,b2 as be,o as i,jh as Se,bQ as ze,ag as j,n as J,aK as Z,B as $,ap as F,p as a,y as z,ak as R,da as ve,bS as Le,c as Me,al as Pe,f6 as Be,u as h,dP as Ee,bd as Te,E as Ie,_ as De,b as ee,d0 as We}from"./index-
|
|
1
|
+
import{d as ce,Q as V,av as $e,a7 as fe,aN as ye,F as A,V as r,bz as ke,fo as je,b2 as be,o as i,jh as Se,bQ as ze,ag as j,n as J,aK as Z,B as $,ap as F,p as a,y as z,ak as R,da as ve,bS as Le,c as Me,al as Pe,f6 as Be,u as h,dP as Ee,bd as Te,E as Ie,_ as De,b as ee,d0 as We}from"./index-Bc9FAOZe.js";import{a as s,w as _e}from"./core-3dlyNYRL.js";import{n as t}from"./mui-bYXq4XMS.js";import{gw as Re}from"./zeni-epic-state-xFtF3OLs.js";import{I as Ne,N as Ge}from"./VideoPlayer-UPe1R-1g-Dcfc-D3z.js";import{r as He}from"./auto-transfer-rule-mbafm5D3-iFkTgScT.js";import{o as Ve}from"./shield-DOlUxcFf-BXuToJ7O.js";import"./sentry-DxvQlcJu.js";import"./lottie-CaGAfnTY.js";import"./liveblocks-B3KbWbMM.js";import"./utils-C70QTjQC.js";import"./analytics-CThNEnNw.js";import"./recharts-CXSQ4XPK.js";import"./lexical-DPEnH3HH.js";const Ae=({isOpen:e,onClose:C})=>{const c=V(),x=A.getLocalizedStrings().spendManagement.treasury.promoPage;return r.jsx(Be,{anchor:"right",slotProps:{paper:{sx:{width:c==="small"||c==="medium-compact"?"100%":"60%",boxShadow:"none"}}},open:e,onClose:C,style:{backgroundColor:a.drawerBackground},transitionDuration:250,children:r.jsxs(Fe,{windowSize:c,children:[r.jsx(Oe,{children:r.jsx(Ye,{onClick:C})}),r.jsxs(qe,{children:[r.jsx(Ue,{windowSize:c,children:x.agreementDrawer.title}),r.jsx(re,{children:x.agreementDrawer.intro}),r.jsx(G,{children:x.agreementDrawer.introBullets.map((p,w)=>r.jsx(te,{children:p},w))}),r.jsx(G,{children:x.agreementDrawer.documents.map((p,w)=>r.jsx(Ke,{children:p.hasMultipleLinks===!0&&p.links?r.jsx(Qe,{children:p.links.map((g,k)=>r.jsx(Je,{children:g.link!==""?r.jsx(ie,{href:g.link,target:"_blank",rel:"noopener noreferrer",children:g.text}):g.text},k))}):r.jsx(ie,{href:p.link,target:"_blank",rel:"noopener noreferrer",children:p.text})},w))}),r.jsx(re,{style:{marginTop:i.sp2},children:x.agreementDrawer.confirmTitle}),r.jsx(G,{children:x.agreementDrawer.confirmBullets.map((p,w)=>r.jsx(te,{children:p},w))})]})]})})},Fe=t.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
flex-direction: column;
|
|
4
4
|
width: 100%;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{d as j,Q as v,V as e,bz as z,F as P,b1 as C,o as r,p as c,cq as I,y as B,u as d,ak as E}from"./index-
|
|
1
|
+
import{d as j,Q as v,V as e,bz as z,F as P,b1 as C,o as r,p as c,cq as I,y as B,u as d,ak as E}from"./index-Bc9FAOZe.js";import{a as m}from"./core-3dlyNYRL.js";import{n as o}from"./mui-bYXq4XMS.js";import{$ as M}from"./BoxItem-CzX5kr9f-CBeyb6bQ.js";import{o as R}from"./commonDimensions-C2kzP_me-Bhhd657x.js";import{O as T}from"./StatementItem-DJ39tw7i-CL4e1Q3R.js";import"./sentry-DxvQlcJu.js";import"./zeni-epic-state-xFtF3OLs.js";import"./lottie-CaGAfnTY.js";import"./liveblocks-B3KbWbMM.js";import"./utils-C70QTjQC.js";import"./analytics-CThNEnNw.js";import"./recharts-CXSQ4XPK.js";import"./lexical-DPEnH3HH.js";import"./downloadPdf-Sdq-1kVQ-CuojZ9OD.js";const p=P.getLocalizedStrings().spendManagement.treasury.statements,w={listItemMargin:new B(d[3],d[8])},rt=({currentTenantCompanyName:t,authParams:x,downloadEndPoint:b,statementListView:a,onBackClick:u})=>{const g=j(),i=v(),f=m.createRef(),y=m.useRef(),$=a.statements.length===0,k=()=>R.transactionItemHeightResponsive.value(i),S=({index:s,style:n})=>{const l=a.statements[s];return $===!1?e.jsx(h,{windowSize:i,style:{...n,width:`calc(100% - 2*${w.listItemMargin.valuePx(i)})`},children:e.jsx(T,{currentTenantCompanyName:t,accountLast4:"",data:l,authParams:x,downloadEndPoint:b,documentType:"treasuryStatement",boxType:M(s,a.statements.length)},l.id)}):e.jsx(L,{style:{...n},children:e.jsx(N,{children:e.jsx(h,{windowSize:i,children:e.jsx(H,{children:p.noStatements})})})})};return e.jsxs(V,{children:[e.jsx(z,{title:p.title,backgroundColor:g.colors.grey4,style:{zIndex:3},onBackClick:u,source:"treasury"}),e.jsx(K,{windowSize:i,children:e.jsx(C,{children:({height:s,width:n})=>e.jsx(O,{ref:f,height:s,width:n,innerRef:y,itemKey:l=>l,itemCount:a.statements.length,itemSize:k,initialScrollOffset:0,children:S})})})]})},L=o.div``,h=o.div`
|
|
2
2
|
margin: ${t=>`${r.sp0} ${w.listItemMargin.valuePx(t.windowSize)}`};
|
|
3
3
|
&:hover {
|
|
4
4
|
position: relative;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{d as v,Q as S,V as e,bz as L,F as z,b1 as P,o as r,p as c,cq as C,y as I,u as d,ak as T}from"./index-
|
|
1
|
+
import{d as v,Q as S,V as e,bz as L,F as z,b1 as P,o as r,p as c,cq as C,y as I,u as d,ak as T}from"./index-Bc9FAOZe.js";import{a as p}from"./core-3dlyNYRL.js";import{n as o}from"./mui-bYXq4XMS.js";import{$ as B}from"./BoxItem-CzX5kr9f-CBeyb6bQ.js";import{o as E}from"./commonDimensions-C2kzP_me-Bhhd657x.js";import{O as M}from"./StatementItem-DJ39tw7i-CL4e1Q3R.js";import"./sentry-DxvQlcJu.js";import"./zeni-epic-state-xFtF3OLs.js";import"./lottie-CaGAfnTY.js";import"./liveblocks-B3KbWbMM.js";import"./utils-C70QTjQC.js";import"./analytics-CThNEnNw.js";import"./recharts-CXSQ4XPK.js";import"./lexical-DPEnH3HH.js";import"./downloadPdf-Sdq-1kVQ-CuojZ9OD.js";const h=z.getLocalizedStrings().spendManagement.treasury.taxLetter,x={listItemMargin:new I(d[3],d[8])},rt=({currentTenantCompanyName:t,authParams:w,downloadEndPoint:b,taxLetterListView:a,onBackClick:g})=>{const u=v(),i=S(),f=p.createRef(),y=p.useRef(),$=a.taxLetters.length===0,k=()=>E.transactionItemHeightResponsive.value(i),j=({index:n,style:s})=>{const l=a.taxLetters[n];return $===!1?e.jsx(m,{windowSize:i,style:{...s,width:`calc(100% - 2*${x.listItemMargin.valuePx(i)})`},children:e.jsx(M,{currentTenantCompanyName:t,accountLast4:"",data:l,authParams:w,downloadEndPoint:b,documentType:"taxLetter",boxType:B(n,a.taxLetters.length)},l.id)}):e.jsx(R,{style:{...s},children:e.jsx(N,{children:e.jsx(m,{windowSize:i,children:e.jsx(H,{children:h.noTaxLetter})})})})};return e.jsxs(V,{children:[e.jsx(L,{title:h.title,backgroundColor:u.colors.grey4,style:{zIndex:3},onBackClick:g,source:"treasury"}),e.jsx(K,{windowSize:i,children:e.jsx(P,{children:({height:n,width:s})=>e.jsx(O,{ref:f,height:n,width:s,innerRef:y,itemKey:l=>l,itemCount:a.taxLetters.length,itemSize:k,initialScrollOffset:0,children:j})})})]})},R=o.div``,m=o.div`
|
|
2
2
|
margin: ${t=>`${r.sp0} ${x.listItemMargin.valuePx(t.windowSize)}`};
|
|
3
3
|
&:hover {
|
|
4
4
|
position: relative;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{F as k,V as s,d as B,aK as $,b1 as P,b as j,aV as R,o as L,p as z,ak as A}from"./index-
|
|
1
|
+
import{F as k,V as s,d as B,aK as $,b1 as P,b as j,aV as R,o as L,p as z,ak as A}from"./index-Bc9FAOZe.js";import{a as v,w as O}from"./core-3dlyNYRL.js";import{f4 as u}from"./zeni-epic-state-xFtF3OLs.js";import{d as V,g as T,p as D,u as q}from"./chartTypes-BFYRQ3Cv-B8SvSK2u.js";import{n as w}from"./mui-bYXq4XMS.js";import{o as K}from"./toCOABalancesWithID-CHuRV6Cy-aUtCm-wJ.js";import{V as _}from"./toChartData-DjeEqlPj-2ozfjpmW.js";import{B as G,C as N,X as W,Y as X,T as Q,R as Z,b as H}from"./recharts-CXSQ4XPK.js";import"./sentry-DxvQlcJu.js";import"./lottie-CaGAfnTY.js";import"./liveblocks-B3KbWbMM.js";import"./utils-C70QTjQC.js";import"./analytics-CThNEnNw.js";import"./lexical-DPEnH3HH.js";const I=w.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
`,J=w.div`
|
|
4
4
|
flex: display;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{Q as D,V as i,A as b,o as t,F as R,y as c,aK as S,b1 as E,b5 as Y,E as V,u as a,ak as _,_ as q}from"./index-
|
|
1
|
+
import{Q as D,V as i,A as b,o as t,F as R,y as c,aK as S,b1 as E,b5 as Y,E as V,u as a,ak as _,_ as q}from"./index-Bc9FAOZe.js";import{a as H}from"./core-3dlyNYRL.js";import{n}from"./mui-bYXq4XMS.js";import K from"./TrendChart-C6eEpBKz-CdaSKzjU.js";import{C as W}from"./NoDataChart-B_yk9del-Df_dYNrK.js";import{q as Q}from"./InsightsSection-DeLBGRXz-pKozJhA9.js";import{f as X}from"./TransactionList-we_zUYsL-D1NTC3aO.js";const Z=n.div`
|
|
2
2
|
display: inline-block;
|
|
3
3
|
`,G=n.div`
|
|
4
4
|
background-color: ${e=>e.theme.colors.grey3};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{d as ie,Q as ce,av as Ke,aN as en,gA as I,hI as U,F as q,a8 as nn,hJ as tn,hK as je,cB as on,V as t,bz as cn,cm as sn,cn as an,co as ln,ab as dn,hL as rn,A as un,hM as Z,hN as pn,aO as mn,fs as gn,hO as Ve,y as u,ak as xn,o as a,cO as fe,aS as W,gF as te,hP as oe,u as r,B as ye,p as Ae,g0 as _e,ag as $e,bg as hn}from"./index-
|
|
1
|
+
import{d as ie,Q as ce,av as Ke,aN as en,gA as I,hI as U,F as q,a8 as nn,hJ as tn,hK as je,cB as on,V as t,bz as cn,cm as sn,cn as an,co as ln,ab as dn,hL as rn,A as un,hM as Z,hN as pn,aO as mn,fs as gn,hO as Ve,y as u,ak as xn,o as a,cO as fe,aS as W,gF as te,hP as oe,u as r,B as ye,p as Ae,g0 as _e,ag as $e,bg as hn}from"./index-Bc9FAOZe.js";import{a as Y}from"./core-3dlyNYRL.js";import{n as s}from"./mui-bYXq4XMS.js";import{fU as Te,fz as wn,fA as bn,fV as fn}from"./zeni-epic-state-xFtF3OLs.js";import{h as yn}from"./VendorsAccountsSection-WAKW9Ve9-C4tgVFpe.js";import"./sentry-DxvQlcJu.js";import"./lottie-CaGAfnTY.js";import"./liveblocks-B3KbWbMM.js";import"./utils-C70QTjQC.js";import"./analytics-CThNEnNw.js";import"./recharts-CXSQ4XPK.js";import"./lexical-DPEnH3HH.js";const C={labelWidth:new u(210,240,260),sectionWidth:new u(343,580,726),iconContainerMaxWidthHeight:new u(r[6],r[7]),iconContainerMarginRight:new u(12,r[3]),iconPadding:new u(10,12),rowGap:new u(r[2],r[3]),elementsMarginLeftRight:new u(r[3],r[4])},He={title:new ye("standardMedium","largeMedium")},An=s.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
flex-direction: column;
|
|
4
4
|
row-gap: ${e=>C.rowGap.valuePx(e.windowSize)};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{aN as b,V as t,hR as q,hS as R,Q as O,F as T,cm as L,ad as C,cn as U,co as A,a8 as _,ab as G,cK as H,cG as F,y as g,cH as M,p as N,an as J,A as K,n as Q,o as i,ak as Y,u as D,ap as X,b8 as Z}from"./index-
|
|
1
|
+
import{aN as b,V as t,hR as q,hS as R,Q as O,F as T,cm as L,ad as C,cn as U,co as A,a8 as _,ab as G,cK as H,cG as F,y as g,cH as M,p as N,an as J,A as K,n as Q,o as i,ak as Y,u as D,ap as X,b8 as Z}from"./index-Bc9FAOZe.js";import{a as c}from"./core-3dlyNYRL.js";import{n as f}from"./mui-bYXq4XMS.js";import{bO as ee,bj as te}from"./zeni-epic-state-xFtF3OLs.js";import"./sentry-DxvQlcJu.js";import"./lottie-CaGAfnTY.js";import"./liveblocks-B3KbWbMM.js";import"./utils-C70QTjQC.js";import"./analytics-CThNEnNw.js";import"./recharts-CXSQ4XPK.js";import"./lexical-DPEnH3HH.js";const V={labelWidth:new g(152,176,176),smallLabelWidth:new g(92,110,110),paddingBottom:new g(D[3],D[2]),width:new g(300,420,420)},ie=f.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
flex-direction: column;
|
|
4
4
|
background-color: ${e=>e.theme.colors.grey5};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{a8 as _,ft as y,aN as k,Q as M,F as A,V as i,cB as K,ab as W,aK as q,fu as G,o as a,p as Q,cL as H,aO as J,y as x,_ as X,E as Y,b8 as Z,b7 as ee,u as c}from"./index-
|
|
1
|
+
import{a8 as _,ft as y,aN as k,Q as M,F as A,V as i,cB as K,ab as W,aK as q,fu as G,o as a,p as Q,cL as H,aO as J,y as x,_ as X,E as Y,b8 as Z,b7 as ee,u as c}from"./index-Bc9FAOZe.js";import{a as m}from"./core-3dlyNYRL.js";import{n as o}from"./mui-bYXq4XMS.js";import{eK as te}from"./zeni-epic-state-xFtF3OLs.js";const b={marginRight:new x(c[3],c[8]),marginLeft:new x(c[3],c[8]),height:new x(c[5],62)},f="additionalDocumentsForm",s="ssnCard";function pe(e){const{filesEndPoint:w,authParams:E,companyOfficer:t,updateStatus:u,onClose:F,onEditFileName:D,onDeleteFile:I,updateFilesEntity:z,onSendForVerificationClick:v,onCompanyOfficerUpdated:P}=e,n=_({mode:"all",reValidateMode:"onChange",defaultValues:m.useMemo(()=>({additionalDocumentsForm:{selectDocumentType:s,front:y(!0,t?.additionalFiles??[],s)}}),[t?.additionalFiles])}),[C,$]=m.useState(!1),[N,O]=m.useState(!1),S=k(u.fetchState),j=t?.deleteFileStatusById??{},B=t?.updateFileStatusById??{},T=Object.values(j??{}).filter(l=>l!=null),V=te(T);m.useEffect(()=>{S==="In-Progress"&&u.fetchState==="Completed"&&n.reset({additionalDocumentsForm:{selectDocumentType:s,front:y(!0,t?.additionalFiles??[],s)}})},[S,u,n,t?.additionalFiles]);const r=M(),h=A.getLocalizedStrings().commonSetUp.businessVerification,{additionalDocumentsOverlay:g}=h,L=`${g.officerInfoLabel} ${t?.firstName??""} ${t?.lastName??""}`,U=n.handleSubmit(()=>{V.fetchState!=="In-Progress"&&v?.(t?.officerType??"Officer_1")}),R=async(l,p)=>{const d=p[f].front;l.includes("front")&&d?.fileId!=null?(P?.(t?.officerType??"Officer_1",[d?.fileId]),$(!0)):$(!1)};return m.useEffect(()=>{const l=n.watch((p,{name:d})=>{d!=null&&p!=null&&K(()=>R(d,p))});return()=>{l.unsubscribe()}}),i.jsx(W,{...n,children:i.jsxs("form",{id:f,onSubmit:U,children:[i.jsxs(re,{size:r,children:[i.jsx(le,{size:r,children:i.jsx(ne,{size:r,onClick:F,"data-testid":q("upload-additional-documents-close",f)})}),i.jsxs(de,{children:[i.jsx(ie,{children:g.title[s]}),i.jsx(ae,{children:g.description[s]})]}),i.jsx(oe,{children:i.jsx(se,{children:L})}),i.jsx(G,{name:f,allFiles:t?.additionalFiles??[],label:{width:276},sizeLimit:H,style:{width:"100%",borderRadius:a.sp2,boxShadow:`${a.sp0} 1px 2px ${a.sp0} ${Q.boxShadowElevation}`},isDocumentSelectDisabled:!0,defaultValue:{defaultSelectDocumentType:s,allSelectDocumentType:[s],files:{front:y(!0,t?.additionalFiles??[],s)}},acceptableTypes:["image/jpg","image/jpeg","image/png","image/heic","image/heif"],officerIndex:0,deleteFileStatusById:j,updateFileStatusById:B,filesEndPoint:w,authParams:E,hasError:N,onEditFileName:D,onDeleteFile:I,updateFilesEntity:z,onFileSizeError:l=>O(l),registerOptions:{required:!0},companyOfficerName:{firstName:t?.firstName??"",lastName:t?.lastName??""},showWebCamPopUpCloseIcon:!1})]}),C?i.jsx(J,{formId:f,primaryBtn:{label:h.sendForVerificationButton,style:{width:"auto",minWidth:r==="small"?"auto":"181px"},isLoading:u.fetchState==="In-Progress"},cancelBtn:{label:h.cancel,style:{width:r==="small"?"auto":"181px"},onClick:F},style:{position:"absolute",width:"100%"}}):null]})})}const ie=o(Y)`
|
|
2
2
|
margin-top: 19px;
|
|
3
3
|
color: ${e=>e.theme.colors.primary};
|
|
4
4
|
margin-bottom: ${a.sp2};
|
package/dist/assets/{Vendor2FAPopup-BvdRkNkS-Bx2K17Se.js → Vendor2FAPopup-BvdRkNkS-DNcJdEZF.js}
RENAMED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{aN as s,F as v,V as i,hR as y,hS as b}from"./index-
|
|
1
|
+
import{aN as s,F as v,V as i,hR as y,hS as b}from"./index-Bc9FAOZe.js";import{a as e}from"./core-3dlyNYRL.js";import"./mui-bYXq4XMS.js";import"./sentry-DxvQlcJu.js";import"./zeni-epic-state-xFtF3OLs.js";import"./lottie-CaGAfnTY.js";import"./liveblocks-B3KbWbMM.js";import"./utils-C70QTjQC.js";import"./analytics-CThNEnNw.js";import"./recharts-CXSQ4XPK.js";import"./lexical-DPEnH3HH.js";const A=({vendorViewDetails:S,isExpressPayPage:n,onSaveVendor:l,onGetOtp:h,onResendOtp:d,onVerifyOtp:m,onVerifyOtpSuccess:c})=>{const{loggedInUserVerification:t,editVendorState:V,newVendorState:g}=S,r=Object.assign({},V??g),[C,a]=e.useState(!1),[O,o]=e.useState(t.initiateVerification===!0),p=s(r?.saveStatus?.fetchState),x=s(t.userVerificationStatus.fetchState),f=s(t.otpVerificationStatus?.fetchState),u=s(t.sendOtpStatus.fetchState),P=v.getLocalizedStrings().spendManagement.zeniAccounts.expressPay.phoneNumberPopup;return e.useEffect(()=>{p==="In-Progress"&&r?.saveStatus?.fetchState==="Error"&&t.initiateVerification===!0&&o(!0)},[r,t,p]),e.useEffect(()=>{x==="In-Progress"&&t.userVerificationStatus.fetchState==="Completed"&&(a(!1),l())},[t.userVerificationStatus]),e.useEffect(()=>{f==="In-Progress"&&t.otpVerificationStatus?.fetchState==="Completed"&&c?.(t.userId??"",t.phone??"",t.otpChallenge??"")},[f,t,c]),e.useEffect(()=>{u==="In-Progress"&&t.sendOtpStatus.fetchState==="Completed"&&(a(!0),o(!1))},[u,t.sendOtpStatus.fetchState]),i.jsx(i.Fragment,{children:C===!0?i.jsx(y,{showHelperText:!n,verifyOtpFetchState:t.otpVerificationStatus.fetchState,phoneNumber:t.phone??"",otpChallenge:t.otpChallenge,action:{onVerifyClick:m,onCancelClick:()=>a(!1),onResendOtp:d,onEditButtonClick:()=>{o(!0),a(!1)}}}):O===!0?i.jsx(b,{showHelperText:!n,phoneNumber:t.phone??"",sendOtpFetchState:t.sendOtpStatus.fetchState,description:n?P:void 0,action:{onCancelClick:()=>o(!1),onGetCodeClick:E=>h?.(E)}}):null})};export{A as default};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{V as d}from"./index-
|
|
1
|
+
import{V as d}from"./index-Bc9FAOZe.js";import{a as u}from"./core-3dlyNYRL.js";import{f as k}from"./ACHDetailsPage-D19fvbL2-Nw4N_V4a.js";import"./mui-bYXq4XMS.js";import"./sentry-DxvQlcJu.js";import"./zeni-epic-state-xFtF3OLs.js";import"./lottie-CaGAfnTY.js";import"./liveblocks-B3KbWbMM.js";import"./utils-C70QTjQC.js";import"./analytics-CThNEnNw.js";import"./recharts-CXSQ4XPK.js";import"./lexical-DPEnH3HH.js";import"./BankAccountWarningSection-Xo-Jy-73-BKVAY9Gy.js";import"./MagicLinkTitleSection-DQw4cqq_-DWQssSET.js";import"./BankAccountSection-B0pfiSf6-pyGhdVOc.js";const H=({vendorViewDetails:t,bankAccountContext:e,isDisabled:n,onSaveHandler:r,onACHDetailsUpdated:i,onBackClick:a,onFetchBankName:m})=>{const{bankAccountCreationState:o,bankNameByRouting:c,bankAccountToCreate:s,fetchBankNameByRoutingStatus:p}=t;return u.useEffect(()=>{(e==="vendor"&&o?.fetchState==="Completed"||t.editVendorState?.saveStatus.fetchState==="Completed"&&e!=="express-pay")&&a()},[o,t.editVendorState?.saveStatus.fetchState,e,a]),d.jsx(k,{bankAccountToCreate:s,bankAccountCreationState:o,bankNameByRouting:c,fetchBankNameByRoutingStatus:p,isDisabled:n,onSaveHandler:r,onACHDetailsUpdated:i,onBackClick:a,onFetchBankName:m})};export{H as default};
|
package/dist/assets/{VendorDetailPage-DNoyNRTj-C-IERg2G.js → VendorDetailPage-DNoyNRTj-0purniYK.js}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{F as _,d as Re,Q as ae,y as g,aA as ye,cD as xt,a8 as yt,h1 as Be,h2 as Ae,h3 as Ee,h4 as be,h5 as bt,aS as ft,cB as wt,V as t,bz as $t,ab as Ct,h6 as St,h7 as ge,u as l,cC as Dt,aO as jt,o,bM as S,cO as Tt,gF as fe,h8 as Lt,cE as Vt,cF as kt,cG as Ot,h9 as It,g8 as Pt,cM as Mt,ha as zt,hb as Ft,p as F,du as _t,dt as Nt,c_ as Wt,aV as re,b5 as Ue,ag as Ye,dv as Ht,aZ as Rt,hc as Bt,hd as At,ak as Et,he as Ut,cf as qe,hf as Yt,B as we,M as Qe}from"./index-
|
|
1
|
+
import{F as _,d as Re,Q as ae,y as g,aA as ye,cD as xt,a8 as yt,h1 as Be,h2 as Ae,h3 as Ee,h4 as be,h5 as bt,aS as ft,cB as wt,V as t,bz as $t,ab as Ct,h6 as St,h7 as ge,u as l,cC as Dt,aO as jt,o,bM as S,cO as Tt,gF as fe,h8 as Lt,cE as Vt,cF as kt,cG as Ot,h9 as It,g8 as Pt,cM as Mt,ha as zt,hb as Ft,p as F,du as _t,dt as Nt,c_ as Wt,aV as re,b5 as Ue,ag as Ye,dv as Ht,aZ as Rt,hc as Bt,hd as At,ak as Et,he as Ut,cf as qe,hf as Yt,B as we,M as Qe}from"./index-Bc9FAOZe.js";import{a as C}from"./core-3dlyNYRL.js";import{n as a,b as qt}from"./mui-bYXq4XMS.js";import{bi as $e,fQ as Qt,fR as Gt}from"./zeni-epic-state-xFtF3OLs.js";import{k as Zt}from"./SubTabSwitcher-iw3pF9RG-BgOy-ZbA.js";import{f as Kt}from"./TransactionList-we_zUYsL-D1NTC3aO.js";import{R as Xt}from"./TrendWithTransactions-CesVaJPk-C1jl0LPR.js";import{o as Jt,t as es}from"./arrow-south-east-round-PEovUgvH-7DsZUZDF.js";import{W as ts}from"./LabeledAddressValueField-C4ft1l-K-DNHZaLGB.js";import{Y as ss}from"./LabeledDropDownFormattedTextField-DcO2nEfi-DM5myIka.js";import"./sentry-DxvQlcJu.js";import"./lottie-CaGAfnTY.js";import"./liveblocks-B3KbWbMM.js";import"./utils-C70QTjQC.js";import"./analytics-CThNEnNw.js";import"./recharts-CXSQ4XPK.js";import"./lexical-DPEnH3HH.js";import"./BoxItem-CzX5kr9f-CBeyb6bQ.js";import"./commonDimensions-C2kzP_me-Bhhd657x.js";import"./TrendChart-C6eEpBKz-CdaSKzjU.js";import"./chartTypes-BFYRQ3Cv-B8SvSK2u.js";import"./toCOABalancesWithID-CHuRV6Cy-aUtCm-wJ.js";import"./toChartData-DjeEqlPj-2ozfjpmW.js";import"./NoDataChart-B_yk9del-Df_dYNrK.js";import"./InsightsSection-DeLBGRXz-pKozJhA9.js";import"./NavigationDots-CVjs5Sdt-CzB8BvJ3.js";const os=a.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
flex-direction: row;
|
|
4
4
|
justify-content: center;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{V as S}from"./index-
|
|
1
|
+
import{V as S}from"./index-Bc9FAOZe.js";import{a as C}from"./core-3dlyNYRL.js";import{w as f}from"./DomesticWireDetailsPage-CuE-QHLh-DhovX18v.js";import"./mui-bYXq4XMS.js";import"./sentry-DxvQlcJu.js";import"./zeni-epic-state-xFtF3OLs.js";import"./lottie-CaGAfnTY.js";import"./liveblocks-B3KbWbMM.js";import"./utils-C70QTjQC.js";import"./analytics-CThNEnNw.js";import"./recharts-CXSQ4XPK.js";import"./lexical-DPEnH3HH.js";import"./BankAccountSection-B0pfiSf6-pyGhdVOc.js";import"./MagicLinkTitleSection-DQw4cqq_-DWQssSET.js";import"./BankAccountWarningSection-Xo-Jy-73-BKVAY9Gy.js";import"./MailingDetailsSection-CAV69_Sr-CoQQ8Miy.js";import"./LabeledAddressValueField-C4ft1l-K-DNHZaLGB.js";const H=({vendorViewDetails:r,bankAccountContext:t,isDisabled:n,onSaveHandler:s,onWireDetailsUpdated:i,onBackClick:a,onFetchBankName:d,onAddressClick:c})=>{const{bankAccountCreationState:o,editVendorState:m,newVendorState:p,bankNameByRouting:u,bankAccountToCreate:k,fetchBankNameByRoutingStatus:l}=r,e=Object.assign({},m??p);return C.useEffect(()=>{(t==="vendor"&&o?.fetchState==="Completed"||e?.saveStatus?.fetchState==="Completed"&&t!=="express-pay")&&a()},[o,e?.saveStatus?.fetchState,a,t]),S.jsx(f,{bankAccountToCreate:k,bankAccountCreationState:o,bankNameByRouting:u,addressToEdit:e?.vendorNewAddressStatus?.addressToCreate,mailingAddress:e?.vendorAddress,addressType:"vendor_address",fetchBankNameByRoutingStatus:l,isDisabled:n,onSaveHandler:s,onWireDetailsUpdated:i,onBackClick:a,onAddressClick:c,onFetchBankName:d})};export{H as default};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{Q as oe,d as Ne,F as ne,a8 as ke,d3 as G,hg as de,cB as Ae,y as w,V as t,bz as Be,aK as Ee,ab as Re,cE as C,o as s,cI as We,h9 as Oe,g8 as Me,cM as qe,ha as Ue,hb as He,cU as Ge,aO as Ke,cW as Ye,d4 as _e,u as c,_ as Qe,bM as P,cz as Ze,hh as Xe,p as I,U as Je,cf as et,ak as ce,eH as tt,hi as st,hj as lt,hk as q,d5 as it}from"./index-
|
|
1
|
+
import{Q as oe,d as Ne,F as ne,a8 as ke,d3 as G,hg as de,cB as Ae,y as w,V as t,bz as Be,aK as Ee,ab as Re,cE as C,o as s,cI as We,h9 as Oe,g8 as Me,cM as qe,ha as Ue,hb as He,cU as Ge,aO as Ke,cW as Ye,d4 as _e,u as c,_ as Qe,bM as P,cz as Ze,hh as Xe,p as I,U as Je,cf as et,ak as ce,eH as tt,hi as st,hj as lt,hk as q,d5 as it}from"./index-Bc9FAOZe.js";import{a as x}from"./core-3dlyNYRL.js";import{n as a}from"./mui-bYXq4XMS.js";import{Y as rt}from"./LabeledDropDownFormattedTextField-DcO2nEfi-DM5myIka.js";import"./sentry-DxvQlcJu.js";import"./zeni-epic-state-xFtF3OLs.js";import"./lottie-CaGAfnTY.js";import"./liveblocks-B3KbWbMM.js";import"./utils-C70QTjQC.js";import"./analytics-CThNEnNw.js";import"./recharts-CXSQ4XPK.js";import"./lexical-DPEnH3HH.js";const te={largeLabelWidth:new w(160,210,230),paddingBottom:new w(c[3],c[2])},j=(e,i)=>`${e}.${i}`;function at(e){const{loadingState:i}=e;return t.jsx(ot,{...e,isDisabled:e.isDisabled||i==="In-Progress"?"disabled":void 0})}function ot({googleAPIKey:e,addressToEdit:i,sectionId:o,isDisabled:g,style:W}){const E=oe(),u=ne.getLocalizedStrings().companyPassport,p=te.largeLabelWidth.value(E);return t.jsxs(t.Fragment,{children:[t.jsx(se,{type:"hidden",value:"noAutoFill"}),t.jsx(nt,{style:W,children:t.jsxs(dt,{children:[t.jsx(st,{isDisabled:g,label:{label:u.address.street,width:p,showBullet:!0},addressField:{name:j(o,"street"),defaultValue:{addressString:i?.street[0]??"",addressValue:i!=null?de(i):void 0},placeholder:q(u.address.street),registerOptions:{required:!0,validate:v=>v!=null?!!v.addressString:!1},autoComplete:"new-password",googleAPIKey:e,addressFormatter:lt},style:{border:"none",width:"100%",outline:"none"}}),t.jsx(C,{isDisabled:g,label:{label:u.address.suite,width:p,showBullet:!0},style:{wordBreak:"break-word",width:"100%",outline:"none"},text:{type:"text",name:j(o,"suite"),defaultValue:i?.street[1],placeholder:u.address.suitePlaceholder,autoComplete:"new-password"}}),t.jsx(C,{isDisabled:g,label:{label:u.address.city,width:p,showBullet:!0},style:{width:"100%",outline:"none"},text:{type:"text",name:j(o,"city"),defaultValue:i?.city,placeholder:q(u.address.city),autoComplete:"new-password",options:{required:!0}}}),t.jsx(C,{isDisabled:g,label:{label:u.address.state,width:p,showBullet:!0},style:{width:"100%",outline:"none"},text:{type:"text",name:j(o,"state"),defaultValue:i?.state,placeholder:q(u.address.state),autoComplete:"new-password",options:{required:!0}}}),t.jsx(se,{readOnly:!0,value:"noAutoFill"}),t.jsx(it,{isDisabled:g,label:{label:u.address.country,width:p,showBullet:!0},style:{width:"100%",outline:"none"},countrySelectField:{name:j(o,"country"),placeholder:u.address.countryPlaceholder,defaultValue:G(i?.country),registerOptions:{validate:v=>!!(v!=null&&v.selectedOption)}}}),t.jsx(C,{isDisabled:g,label:{label:u.address.zipCode,width:p,showBullet:!0},style:{width:"100%",outline:"none"},text:{type:"text",name:j(o,"postalCode"),defaultValue:i?.postalCode,placeholder:u.address.zipCodePlaceHolder,autoComplete:"new-password",options:{required:!0}}}),t.jsx(C,{isDisabled:g,label:{label:u.address.secondaryInfo,width:p,showBullet:!0},style:{paddingBottom:te.paddingBottom.valuePx(E),width:"100%",outline:"none"},text:{type:"text",name:j(o,"secondaryInfo"),defaultValue:i?.street[2],placeholder:u.address.secondaryInfoPlaceholder,autoComplete:"new-password"}})]})})]})}const nt=a.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
flex-direction: column;
|
|
4
4
|
margin-left: ${s.sp3};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{Q as ae,av as Nn,d as mn,a8 as et,i0 as ze,cB as nt,ax as On,i1 as re,i2 as ve,i3 as fe,i4 as be,i5 as me,F as je,V as n,hY as tt,ab as ot,bz as it,a9 as rt,cm as st,cn as at,co as lt,bS as dt,aK as Y,bL as ct,cj as mt,b1 as pt,dp as ut,cq as ht,y as w,A as gt,x as Ne,o as t,aR as In,ak as De,aQ as wt,u as c,ag as Re,cv as xt,du as Pn,bM as Pe,bf as zn,cy as vt,bY as ft,dH as bt,b8 as Ye,br as pn,p as F,s as Tn,gT as $t,dk as wn,c_ as rn,i6 as St,i7 as sn,an as yt,bQ as Fe,dR as jt,ew as xn,bI as Rt,dw as Vt,n as vn,i8 as Ct,cO as kt,cW as Mt,cX as Nt,eB as Ot,al as Dn,i9 as It,bG as se,ia as fn,gH as Pt,at as zt,as as Tt,dv as Dt,b as Ln,B as Lt,a as _t,aT as dn}from"./index-
|
|
1
|
+
import{Q as ae,av as Nn,d as mn,a8 as et,i0 as ze,cB as nt,ax as On,i1 as re,i2 as ve,i3 as fe,i4 as be,i5 as me,F as je,V as n,hY as tt,ab as ot,bz as it,a9 as rt,cm as st,cn as at,co as lt,bS as dt,aK as Y,bL as ct,cj as mt,b1 as pt,dp as ut,cq as ht,y as w,A as gt,x as Ne,o as t,aR as In,ak as De,aQ as wt,u as c,ag as Re,cv as xt,du as Pn,bM as Pe,bf as zn,cy as vt,bY as ft,dH as bt,b8 as Ye,br as pn,p as F,s as Tn,gT as $t,dk as wn,c_ as rn,i6 as St,i7 as sn,an as yt,bQ as Fe,dR as jt,ew as xn,bI as Rt,dw as Vt,n as vn,i8 as Ct,cO as kt,cW as Mt,cX as Nt,eB as Ot,al as Dn,i9 as It,bG as se,ia as fn,gH as Pt,at as zt,as as Tt,dv as Dt,b as Ln,B as Lt,a as _t,aT as dn}from"./index-Bc9FAOZe.js";import{a as f,c as Bt}from"./core-3dlyNYRL.js";import{n as o,b as cn}from"./mui-bYXq4XMS.js";import{ea as At,fY as Ft}from"./zeni-epic-state-xFtF3OLs.js";import{P as Et}from"./Menu-B_DpiT_k-v_1bzHTG.js";import"./sentry-DxvQlcJu.js";import"./lottie-CaGAfnTY.js";import"./liveblocks-B3KbWbMM.js";import"./utils-C70QTjQC.js";import"./analytics-CThNEnNw.js";import"./recharts-CXSQ4XPK.js";import"./lexical-DPEnH3HH.js";const _n=({steps:e})=>{const s=ae();return n.jsx(qt,{windowSize:s,children:e.map((m,d)=>n.jsxs(Ut,{children:[n.jsx(Gt,{children:d!==e.length-1?d+1:n.jsx(Qt,{})}),n.jsx(Ht,{children:m}),d<e.length-1?n.jsx(Wt,{}):null]},`step_${d}`))})},Ut=o.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
flex-direction: row;
|
|
4
4
|
position: relative;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{V as t,Q,a8 as he,F as N,cB as ye,aA as ge,cm as be,cn as fe,co as xe,ab as ve,aO as we,y as p,d3 as le,d4 as Ce,o as y,b7 as $e,cO as oe,d as ne,d5 as De,d6 as Y,cU as G,a$ as H,cE as Te,d7 as je,u as a,cW as Se,aK as ke,p as V,A as Oe,B as Ae,bQ as Fe,ag as Le,bI as We}from"./index-
|
|
1
|
+
import{V as t,Q,a8 as he,F as N,cB as ye,aA as ge,cm as be,cn as fe,co as xe,ab as ve,aO as we,y as p,d3 as le,d4 as Ce,o as y,b7 as $e,cO as oe,d as ne,d5 as De,d6 as Y,cU as G,a$ as H,cE as Te,d7 as je,u as a,cW as Se,aK as ke,p as V,A as Oe,B as Ae,bQ as Fe,ag as Le,bI as We}from"./index-Bc9FAOZe.js";import{a as R}from"./core-3dlyNYRL.js";import{n as g}from"./mui-bYXq4XMS.js";import{bi as K}from"./zeni-epic-state-xFtF3OLs.js";import{W as ze,A as Ie}from"./BankAccountWarningSection-Xo-Jy-73-BKVAY9Gy.js";import{T as Re}from"./MailingDetailsSection-CAV69_Sr-CoQQ8Miy.js";import{S as Pe}from"./CurrencySelectField-DWAO-FaV-BzEL-P2E.js";import"./sentry-DxvQlcJu.js";import"./lottie-CaGAfnTY.js";import"./liveblocks-B3KbWbMM.js";import"./utils-C70QTjQC.js";import"./analytics-CThNEnNw.js";import"./recharts-CXSQ4XPK.js";import"./lexical-DPEnH3HH.js";import"./LabeledAddressValueField-C4ft1l-K-DNHZaLGB.js";const A={width:new p(343,580,726),height:new p(a[6],a[6]),controlHeight:new p(a[6],a[6]),paddingTopBottom:new p(a[2],a[2]),marginRight:new p(a[2],a[2]),labelMarginLeft:new p(a[3],a[4]),labelMarginRight:new p(a[3],a[4]),labelMarginTop:new p(a[2],a[2])},ae={infoLabel:new Ae("extraSmallRegular","smallRegular")};function _e({isDisabled:e,label:i,currencySelectField:l,style:f,errorInfoLabel:u,isAdditionalInfoLabelLoading:n=!1,showAdditionalLabelTooltip:o=!1,additionalLabelTooltip:w,additionalInfoLabel:T,showAdditionalInfoLabel:k=!0}){const C=Q(),{formState:{errors:b}}=oe(),$=ne(),D=Se(b,l.name),m=()=>{if(n===!0)return t.jsx(He,{children:t.jsx(Oe,{size:"Small",start:!0})});if(k&&T||D){let c=null;return o===!0&&k&&w&&(c=t.jsx(Fe,{placement:C==="small"?"bottom":"right",maxWidth:"364px",title:t.jsx(Ve,{children:w}),children:t.jsx(Ue,{children:t.jsx(Ne,{})})})),t.jsxs(qe,{size:C,isError:D,hasToolTip:o,isDisabled:e!=null,children:[c,T]})}};return t.jsxs(Be,{size:C,style:f,isDisabled:e!=null,isError:D,"data-testid":ke("labeled-currency-field",l.name),children:[t.jsx(G,{isDisabled:e,label:i.label,htmlFor:l.name,style:{marginLeft:A.labelMarginLeft.value(C),marginRight:A.labelMarginRight.value(C),marginTop:A.labelMarginTop.value(C),width:i.width??"auto",color:e==="disabled"?$.colors.grey2:$.colors.hero}}),t.jsxs(Me,{labelWidth:i.width,children:[t.jsx(Pe,{...l,isDisabled:e,style:{display:"flex",flexGrow:1,height:A.controlHeight.value(C)}}),D?t.jsx(Ee,{windowSize:C,hasError:D,children:u}):null,m()]})]})}const Be=g.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
flex-direction: row;
|
|
4
4
|
align-items: flex-start;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{V as l}from"./index-
|
|
1
|
+
import{V as l}from"./index-Bc9FAOZe.js";import{a as B}from"./core-3dlyNYRL.js";import{f as u}from"./InternationalWireSwiftDetailsPage-CPIzRzqS-DNVQTBV5.js";import"./mui-bYXq4XMS.js";import"./sentry-DxvQlcJu.js";import"./zeni-epic-state-xFtF3OLs.js";import"./lottie-CaGAfnTY.js";import"./liveblocks-B3KbWbMM.js";import"./utils-C70QTjQC.js";import"./analytics-CThNEnNw.js";import"./recharts-CXSQ4XPK.js";import"./lexical-DPEnH3HH.js";import"./BankAccountWarningSection-Xo-Jy-73-BKVAY9Gy.js";import"./MailingDetailsSection-CAV69_Sr-CoQQ8Miy.js";import"./LabeledAddressValueField-C4ft1l-K-DNHZaLGB.js";import"./MagicLinkTitleSection-DQw4cqq_-DWQssSET.js";const g=({vendorViewDetails:n,bankAccountContext:o,isDisabled:r,onSaveHandler:i,onBankDetailsUpdated:s,onBackClick:e,onFetchBankNameBySwift:d,onAddressClick:m})=>{const{internationalBankAccountCreateStatus:a,internationalBankAccountToCreate:c,editVendorState:p,newVendorState:S,bankNameBySwift:f,fetchBankNameBySwiftStatus:k}=n,t={...p??S};return B.useEffect(()=>{(o==="vendor"&&a.fetchState==="Completed"||t?.saveStatus?.fetchState==="Completed")&&e()},[a,t?.saveStatus?.fetchState,e,o]),l.jsx(u,{bankAccountToCreate:c,bankAccountCreationState:a,bankNameBySwift:f,addressToEdit:t?.vendorNewAddressStatus?.addressToCreate,mailingAddress:t?.vendorAddress,addressType:"vendor_address",fetchBankNameBySwiftStatus:k,isDisabled:r,onSaveHandler:i,onBankDetailsUpdated:s,onBackClick:e,onAddressClick:m,onFetchBankNameBySwift:d})};export{g as default};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{Q as ie,d as oe,F as te,y as c,gA as w,aS as k,V as i,hQ as g,hP as m,o as n,B as re,p as ne,dB as se,ag as de,u as a}from"./index-
|
|
1
|
+
import{Q as ie,d as oe,F as te,y as c,gA as w,aS as k,V as i,hQ as g,hP as m,o as n,B as re,p as ne,dB as se,ag as de,u as a}from"./index-Bc9FAOZe.js";import{n as d}from"./mui-bYXq4XMS.js";const s={labelWidth:new c(270,340,350),sectionWidth:new c(343,580,726),iconContainerMaxWidthHeight:new c(a[6],a[7]),iconContainerMarginRight:new c(12,a[3]),iconPadding:new c(10,12),rowGap:new c(a[2],a[3]),elementsMarginLeftRight:new c(a[3],a[4]),controlWidth:n.sp6},L={title:new re("standardMedium","largeMedium")},le=d.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
flex-direction: column;
|
|
4
4
|
row-gap: ${e=>s.rowGap.valuePx(e.windowSize)};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{aN as U,a8 as z,F as L,V as r,bP as B,a9 as d,ab as G,bQ as Q,ag as f,bR as W,o as n,n as E,bS as X,ak as N,bT as Z,bU as V,bI as q,p as y,b8 as v,bV as J}from"./index-
|
|
1
|
+
import{aN as U,a8 as z,F as L,V as r,bP as B,a9 as d,ab as G,bQ as Q,ag as f,bR as W,o as n,n as E,bS as X,ak as N,bT as Z,bU as V,bI as q,p as y,b8 as v,bV as J}from"./index-Bc9FAOZe.js";import{a as c}from"./core-3dlyNYRL.js";import{n as t}from"./mui-bYXq4XMS.js";import{bj as K}from"./zeni-epic-state-xFtF3OLs.js";import{A as Y,Z as k}from"./AccountLockedInfoModal-CM1F6VNU-CXgrsuj9.js";import"./sentry-DxvQlcJu.js";import"./lottie-CaGAfnTY.js";import"./liveblocks-B3KbWbMM.js";import"./utils-C70QTjQC.js";import"./analytics-CThNEnNw.js";import"./recharts-CXSQ4XPK.js";import"./lexical-DPEnH3HH.js";import"./handshake-BPg58FML-D7G7L1P7.js";const ee=e=>{if(!e)return"";try{const s=Z(e);if(!s){const l=e.replace(/\D/g,"");if(l.length>=4){const g=l.slice(-4);return`+${l.slice(0,-4)||"1"} (•••) ••• ${g}`}return V(e)||e}const p=s.countryCallingCode,x=s.nationalNumber.slice(-4);return`+${p} (•••) ••• ${x}`}catch{const s=e.replace(/\D/g,"");if(s.length>=4){const p=s.slice(-4);return`+${s.slice(0,-4)||"1"} (•••) ••• ${p}`}return V(e)||e}},C=120,I=30,T=2,re="456px",te="256px",F=6,o=L.getLocalizedStrings().commonSetUp.twoFactorAuthentication,m="otpInputField",Me=e=>{const s=e.verifyOtpFetchState==="In-Progress",[p,x]=c.useState(!1),[l,g]=c.useState(!1),[$,_]=c.useState(0),[b,S]=c.useState(C),[h,w]=c.useState(I),D=U(e.verifyOtpFetchState),u=z({mode:"all",reValidateMode:"onChange",defaultValues:{[m]:""}}),j=u.watch(m),P=()=>{e.onCancelVerifyDevice()},M=()=>{j.trim().length===F&&e.onVerifyOtp(j)},R=o.footerHelperText.replace(/<button_text>/,o.verify);c.useEffect(()=>{D==="In-Progress"&&e.verifyOtpFetchState==="Error"&&(x(!0),_(i=>i+1),u.setValue(m,""))},[D,e.verifyOtpFetchState,u]),c.useEffect(()=>{if(b<=0){g(!0);return}const i=setInterval(()=>{S(a=>a<=1?0:a-1)},1e3);return()=>clearInterval(i)},[b]),c.useEffect(()=>{if(h<=0)return;const i=setInterval(()=>{w(a=>a<=1?0:a-1)},1e3);return()=>clearInterval(i)},[h]);const A=i=>{const a=Math.floor(i/60),H=i%60;return`${a}:${H.toString().padStart(2,"0")}`};return r.jsx(B,{open:!0,children:r.jsxs(ne,{children:[r.jsx(d,{controller:$>T,children:r.jsx(Y,{unlockDate:K().add(1,"hour"),onSubmit:e.onCancelVerifyDevice})}),r.jsx(d,{controller:$<=T,children:r.jsx(G,{...u,children:r.jsxs(ge,{children:[r.jsxs(fe,{children:[r.jsx(oe,{children:o.verifyDeviceTitle}),r.jsx(ie,{children:o.verifyDeviceDescription}),r.jsxs(le,{children:[r.jsx(se,{children:ee(e.phoneNumber+"")}),r.jsx(Q,{placement:"top",title:r.jsxs(f,{children:[o.changePhoneNumberHelperText,r.jsx(we,{href:`mailto:${k}`,children:k})]}),enterDelay:600,children:r.jsx(Se,{})})]})]}),r.jsxs(ce,{children:[r.jsx(W,{value:j,valueLength:6,hasError:l===!0||p===!0,style:{margin:n.sp0},onChange:i=>{u.setValue(m,i),x(!1)}}),r.jsx(d,{controller:l===!1,children:r.jsx(O,{children:r.jsxs(je,{children:[o.codeExpiresIn," ",A(b)]})})}),r.jsx(d,{controller:l===!0,children:r.jsx(O,{children:r.jsx(ye,{children:o.codeExpired})})})]}),p===!0&&l===!1?r.jsxs(r.Fragment,{children:[r.jsx(d,{controller:$>=1,children:r.jsx(ae,{children:o.incorrectCode})}),r.jsx(d,{controller:$===2,children:r.jsx(be,{children:r.jsxs(f,{children:[r.jsx(ve,{}),o.accountLockWarning]})})})]}):null,r.jsx(d,{controller:e.resendVerifyDeviceOTPFetchState.error?.details?.application_error_code!=="OTP_RESEND_LIMIT_EXCEEDED",children:r.jsxs(de,{children:[r.jsx(pe,{children:o.codeNotReceived}),r.jsx(ue,{disabled:h>0,onClick:()=>{h===0&&(e.onResendOtp(),x(!1),g(!1),u.setValue(m,""),S(C),w(I))},children:o.resend}),h>0&&r.jsxs(he,{children:[L.getLocalizedStrings().common.in.toLowerCase()," ",h,"s"]})]})}),r.jsxs($e,{children:[r.jsxs(xe,{children:[r.jsx(E,{label:o.cancel,onClick:P,style:{width:82}}),r.jsx(E,{variant:"primary",label:o.verify,onClick:M,style:{width:82},loading:s,disabled:j.trim().length!==F||l===!0})]}),r.jsx(me,{children:R})]})]})})})]})})},ne=t.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
flex-direction: column;
|
|
4
4
|
min-width: ${te};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/react-CA3XI5Yc.js","assets/core-3dlyNYRL.js","assets/mixin-D3UDm--6.js","assets/hls-BA0yQjS5.js","assets/react-
|
|
2
|
-
import{Q as W,V as f,an as X,p as Y}from"./index-B6FLCqRf.js";import{w as _,a as t,c as K}from"./core-3dlyNYRL.js";import{n as k,k as Z}from"./mui-bYXq4XMS.js";import{bb as y}from"./zeni-epic-state-LPACxnXP.js";const N=/\.(m4a|m4b|mp4a|mpga|mp2|mp2a|mp3|m2a|m3a|wav|weba|aac|oga|spx)($|\?)/i,z=/\.(mp4|og[gv]|webm|mov|m4v)(#t=[,\d+]+)?($|\?)/i,V=/\.(m3u8)($|\?)/i,q=/\.(mpd)($|\?)/i,Q=/stream\.mux\.com\/(?!\w+\.m3u8)(\w+)/,J=/(?:youtu\.be\/|youtube(?:-nocookie|education)?\.com\/(?:embed\/|v\/|watch\/|watch\?v=|watch\?.+&v=|shorts\/|live\/))((\w|-){11})|youtube\.com\/playlist\?list=|youtube\.com\/user\//,ee=/vimeo\.com\/(?!progressive_redirect).+/,te=/(?:wistia\.(?:com|net)|wi\.st)\/(?:medias|embed)\/(?:iframe\/)?([^?]+)/,ae=/open\.spotify\.com\/(\w+)\/(\w+)/i,re=/(?:www\.|go\.)?twitch\.tv\/([a-zA-Z0-9_]+|(videos?\/|\?video=)\d+)($|\?)/,le=/tiktok\.com\/(?:player\/v1\/|share\/video\/|@[^/]+\/video\/)([0-9]+)/,R=(e,r)=>{if(Array.isArray(e)){for(const c of e)if(typeof c=="string"&&R(c,r)||R(c.src,r))return!0;return!1}return r(e)},m={html:e=>R(e,r=>N.test(r)||z.test(r)),hls:e=>R(e,r=>V.test(r)),dash:e=>R(e,r=>q.test(r)),mux:e=>Q.test(e),youtube:e=>J.test(e),vimeo:e=>ee.test(e)&&!z.test(e)&&!V.test(e),wistia:e=>te.test(e),spotify:e=>ae.test(e),twitch:e=>re.test(e),tiktok:e=>le.test(e)},oe=_.forwardRef((e,r)=>{const c=N.test(`${e.src}`)?"audio":"video";return _.createElement(c,{...e,ref:r},e.children)});var ne=oe;const ie=[{key:"hls",name:"hls.js",canPlay:m.hls,canEnablePIP:()=>!0,player:t.lazy(()=>y(()=>import("./react-CA3XI5Yc.js"),__vite__mapDeps([0,1,2,3])))},{key:"dash",name:"dash.js",canPlay:m.dash,canEnablePIP:()=>!0,player:t.lazy(()=>y(()=>import("./react-B5y9n_ef.js"),__vite__mapDeps([4,1,5,6,2])))},{key:"mux",name:"Mux",canPlay:m.mux,canEnablePIP:()=>!0,player:t.lazy(()=>y(()=>import("./index-DQmBF4-D.js"),__vite__mapDeps([7,1,6,3,2])))},{key:"youtube",name:"YouTube",canPlay:m.youtube,player:t.lazy(()=>y(()=>import("./react-BpmEXSTM.js"),__vite__mapDeps([8,1])))},{key:"vimeo",name:"Vimeo",canPlay:m.vimeo,player:t.lazy(()=>y(()=>import("./react-BuvI16A0.js"),__vite__mapDeps([9,1,6])))},{key:"wistia",name:"Wistia",canPlay:m.wistia,canEnablePIP:()=>!0,player:t.lazy(()=>y(()=>import("./react-Egsc5mMa.js"),__vite__mapDeps([10,1])))},{key:"spotify",name:"Spotify",canPlay:m.spotify,canEnablePIP:()=>!1,player:t.lazy(()=>y(()=>import("./react-B84192hO.js"),__vite__mapDeps([11,1])))},{key:"twitch",name:"Twitch",canPlay:m.twitch,canEnablePIP:()=>!1,player:t.lazy(()=>y(()=>import("./react-Cz0zQhlY.js"),__vite__mapDeps([12,1])))},{key:"tiktok",name:"TikTok",canPlay:m.tiktok,canEnablePIP:()=>!1,player:t.lazy(()=>y(()=>import("./react-BvHTyLQY.js"),__vite__mapDeps([13,1])))},{key:"html",name:"html",canPlay:m.html,canEnablePIP:()=>!0,player:ne}];var D=ie;const se={width:"320px",height:"180px",volume:1,playbackRate:1,previewTabIndex:0,previewAriaLabel:"",oEmbedUrl:"https://noembed.com/embed?url={url}"},H=_.forwardRef((e,r)=>{const{playing:c,pip:u}=e,n=e.activePlayer,a=t.useRef(null),o=t.useRef(!0);t.useEffect(()=>{var l,i;a.current&&(a.current.paused&&c===!0&&a.current.play(),!a.current.paused&&c===!1&&a.current.pause(),a.current.playbackRate=(l=e.playbackRate)!=null?l:1,a.current.volume=(i=e.volume)!=null?i:1)}),t.useEffect(()=>{var l,i,s,P,v;if(!(!a.current||!globalThis.document)){if(u&&!document.pictureInPictureElement)try{(i=(l=a.current).requestPictureInPicture)==null||i.call(l)}catch{}if(!u&&document.pictureInPictureElement)try{(P=(s=a.current).exitPictureInPicture)==null||P.call(s),(v=document.exitPictureInPicture)==null||v.call(document)}catch{}}},[u]);const g=l=>{var i,s;o.current=!0,(i=e.onReady)==null||i.call(e),(s=e.onLoadStart)==null||s.call(e,l)},h=l=>{var i,s;o.current&&(o.current=!1,(i=e.onStart)==null||i.call(e,l)),(s=e.onPlay)==null||s.call(e,l)};if(!n)return null;const b={},E=["onReady","onStart"];for(const l in e)l.startsWith("on")&&!E.includes(l)&&(b[l]=e[l]);return _.createElement(n,{...b,style:e.style,className:e.className,slot:e.slot,ref:t.useCallback(l=>{a.current=l,typeof r=="function"?r(l):r!==null&&(r.current=l)},[r]),src:e.src,crossOrigin:e.crossOrigin,preload:e.preload,controls:e.controls,muted:e.muted,autoPlay:e.autoPlay,loop:e.loop,playsInline:e.playsInline,disableRemotePlayback:e.disableRemotePlayback,config:e.config,onLoadStart:g,onPlay:h},e.children)});H.displayName="Player";var ce=H;const ue=t.lazy(()=>y(()=>import("./Preview-Bnbo8Nq1.js"),__vite__mapDeps([14,1]))),A=[],de=(e,r)=>{const c=n=>{for(const a of[...A,...e])if(n&&a.canPlay(n))return a;return r||null},u=_.forwardRef((n,a)=>{const o={...se,...n},{src:g,slot:h,className:b,style:E,width:l,height:i,fallback:s,wrapper:P}=o,[v,d]=t.useState(!!o.light);t.useEffect(()=>{o.light?d(!0):d(!1)},[o.light]);const w=p=>{var x;d(!1),(x=o.onClickPreview)==null||x.call(o,p)},I=p=>{if(!p)return null;const{light:x,playIcon:T,previewTabIndex:C,oEmbedUrl:U,previewAriaLabel:F}=o;return _.createElement(ue,{src:p,light:x,playIcon:T,previewTabIndex:C,previewAriaLabel:F,oEmbedUrl:U,onClickPreview:w})},O=p=>{var x,T;const C=c(p);if(!C)return null;const{style:U,width:F,height:$,wrapper:B}=o,G=(x=o.config)==null?void 0:x[C.key];return _.createElement(ce,{...o,ref:a,activePlayer:(T=C.player)!=null?T:C,slot:B?void 0:h,className:B?void 0:b,style:B?{display:"block",width:"100%",height:"100%"}:{display:"block",width:F,height:$,...U},config:G})},L=P??M,S=s===!1?M:t.Suspense;return _.createElement(L,{slot:h,className:b,style:{width:l,height:i,...E}},_.createElement(S,{fallback:s},v?I(g):O(g)))});return u.displayName="ReactPlayer",u.addCustomPlayer=n=>{A.push(n)},u.removeCustomPlayers=()=>{A.length=0},u.canPlay=n=>{if(n){for(const a of[...A,...e])if(a.canPlay(n))return!0}return!1},u.canEnablePIP=n=>{var a;if(n){for(const o of[...A,...e])if(o.canPlay(n)&&((a=o.canEnablePIP)!=null&&a.call(o)))return!0}return!1},u},M=({children:e})=>e,fe=D[D.length-1];var j=de(D,fe);const me=e=>t.createElement("svg",{width:208,height:208,viewBox:"0 0 208 208",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},t.createElement("g",{filter:"url(#filter0_f_251_38441)"},t.createElement("circle",{cx:104,cy:104,r:44,fill:"url(#paint0_linear_251_38441)"}),t.createElement("circle",{cx:104,cy:104,r:50,stroke:"url(#paint1_linear_251_38441)",strokeWidth:12})),t.createElement("g",{filter:"url(#filter1_d_251_38441)"},t.createElement("circle",{cx:104,cy:104,r:41.1429,fill:"#FAFAFA"}),t.createElement("circle",{cx:104,cy:104,r:43.1429,stroke:"url(#paint2_linear_251_38441)",strokeWidth:4})),t.createElement("g",{clipPath:"url(#clip0_251_38441)"},t.createElement("path",{d:"M120.16 102.411L96.2853 90.4684C96.0134 90.3343 95.7118 90.2718 95.409 90.2867C95.1062 90.3016 94.8122 90.3935 94.5548 90.5536C94.2974 90.7138 94.0851 90.9369 93.938 91.202C93.7908 91.467 93.7137 91.7652 93.7139 92.0684V115.931C93.7137 116.234 93.7908 116.533 93.938 116.798C94.0851 117.063 94.2974 117.286 94.5548 117.446C94.8122 117.606 95.1062 117.698 95.409 117.713C95.7118 117.728 96.0134 117.665 96.2853 117.531L120.16 105.588C120.456 105.442 120.706 105.216 120.88 104.935C121.055 104.654 121.147 104.33 121.147 104C121.147 103.669 121.055 103.345 120.88 103.065C120.706 102.784 120.456 102.558 120.16 102.411Z",fill:"black"})),t.createElement("defs",null,t.createElement("filter",{id:"filter0_f_251_38441",x:0,y:0,width:208,height:208,filterUnits:"userSpaceOnUse",colorInterpolationFilters:"sRGB"},t.createElement("feFlood",{floodOpacity:0,result:"BackgroundImageFix"}),t.createElement("feBlend",{mode:"normal",in:"SourceGraphic",in2:"BackgroundImageFix",result:"shape"}),t.createElement("feGaussianBlur",{stdDeviation:24,result:"effect1_foregroundBlur_251_38441"})),t.createElement("filter",{id:"filter1_d_251_38441",x:54.8569,y:58.8571,width:98.2856,height:98.2857,filterUnits:"userSpaceOnUse",colorInterpolationFilters:"sRGB"},t.createElement("feFlood",{floodOpacity:0,result:"BackgroundImageFix"}),t.createElement("feColorMatrix",{in:"SourceAlpha",type:"matrix",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0",result:"hardAlpha"}),t.createElement("feOffset",{dy:4}),t.createElement("feGaussianBlur",{stdDeviation:2}),t.createElement("feComposite",{in2:"hardAlpha",operator:"out"}),t.createElement("feColorMatrix",{type:"matrix",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.25 0"}),t.createElement("feBlend",{mode:"normal",in2:"BackgroundImageFix",result:"effect1_dropShadow_251_38441"}),t.createElement("feBlend",{mode:"normal",in:"SourceGraphic",in2:"effect1_dropShadow_251_38441",result:"shape"})),t.createElement("linearGradient",{id:"paint0_linear_251_38441",x1:119.671,y1:119.671,x2:87.9755,y2:87.9758,gradientUnits:"userSpaceOnUse"},t.createElement("stop",{stopColor:"#7135FF"}),t.createElement("stop",{offset:.27204,stopColor:"#A050E4"}),t.createElement("stop",{offset:.364594,stopColor:"#B85ED7"}),t.createElement("stop",{offset:.546546,stopColor:"#CF6CC9"}),t.createElement("stop",{offset:.732127,stopColor:"#EE609C"}),t.createElement("stop",{offset:.85586,stopColor:"#EB61A0"}),t.createElement("stop",{offset:1,stopColor:"#EE609C"})),t.createElement("linearGradient",{id:"paint1_linear_251_38441",x1:119.671,y1:119.671,x2:87.9755,y2:87.9758,gradientUnits:"userSpaceOnUse"},t.createElement("stop",{stopColor:"#7135FF"}),t.createElement("stop",{offset:.27204,stopColor:"#A050E4"}),t.createElement("stop",{offset:.364594,stopColor:"#B85ED7"}),t.createElement("stop",{offset:.546546,stopColor:"#CF6CC9"}),t.createElement("stop",{offset:.732127,stopColor:"#EE609C"}),t.createElement("stop",{offset:.85586,stopColor:"#EB61A0"}),t.createElement("stop",{offset:1,stopColor:"#EE609C"})),t.createElement("linearGradient",{id:"paint2_linear_251_38441",x1:118.653,y1:118.653,x2:89.0159,y2:89.0164,gradientUnits:"userSpaceOnUse"},t.createElement("stop",{stopColor:"#7135FF"}),t.createElement("stop",{offset:.27204,stopColor:"#A050E4"}),t.createElement("stop",{offset:.364594,stopColor:"#B85ED7"}),t.createElement("stop",{offset:.546546,stopColor:"#CF6CC9"}),t.createElement("stop",{offset:.732127,stopColor:"#EE609C"}),t.createElement("stop",{offset:.85586,stopColor:"#EB61A0"}),t.createElement("stop",{offset:1,stopColor:"#EE609C"})),t.createElement("clipPath",{id:"clip0_251_38441"},t.createElement("rect",{width:27.4286,height:27.4286,fill:"white",transform:"translate(93.7139 90.2849)"}))));function Ce({src:e,autoPlay:r=!0,config:c,controls:u=!0,height:n="100%",isModalOpen:a,loop:o=!1,muted:g=!1,showPlayButton:h=!1,style:b,thumbnail:E,width:l="100%",onEnded:i,onModalClose:s,onPlay:P}){const v=W(),[d,w]=t.useState(!1);t.useEffect(()=>{a===!0&&r?w(!0):a===!1&&w(!1)},[a,r]);const I={};c?.youtube&&(I.youtube=c.youtube);const O=()=>{w(!0),P?.()},L=()=>{w(!1),s?.()},S=()=>{w(!1),i?.(),a!=null&&s?.()},p=()=>{w(!0),P?.()};return a!=null?a?K.createPortal(f.jsx(Ee,{windowSize:v,role:"presentation",children:f.jsx(X,{onClickAway:L,children:f.jsx(Pe,{windowSize:v,"data-testid":"video-player-modal",children:f.jsxs(ve,{children:[h&&!d&&f.jsxs(f.Fragment,{children:[E!=null&&E!==""&&f.jsx(he,{src:E,alt:"Video thumbnail"}),f.jsx(pe,{onClick:O,children:f.jsx(_e,{windowSize:v})})]}),(!h||d)&&f.jsx(j,{src:e,playing:d,controls:u,muted:g,loop:o,width:"100%",height:"100%",onEnded:S,onPlay:p,config:I})]})})})}),document.body):null:f.jsx(j,{src:e,playing:d,controls:u,muted:g,loop:o,width:l,height:n,style:b,light:h&&!d?E??!0:!1,onEnded:S,onPlay:p,config:I})}const ye=Z`
|
|
1
|
+
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/react-CA3XI5Yc.js","assets/core-3dlyNYRL.js","assets/mixin-D3UDm--6.js","assets/hls-BA0yQjS5.js","assets/react-C2wGlvWj.js","assets/zeni-epic-state-xFtF3OLs.js","assets/mui-bYXq4XMS.js","assets/index-DQmBF4-D.js","assets/react-BpmEXSTM.js","assets/react-BuvI16A0.js","assets/react-Egsc5mMa.js","assets/react-B84192hO.js","assets/react-Cz0zQhlY.js","assets/react-BvHTyLQY.js","assets/Preview-Bnbo8Nq1.js"])))=>i.map(i=>d[i]);
|
|
2
|
+
import{Q as W,V as f,an as X,p as Y}from"./index-Bc9FAOZe.js";import{w as _,a as t,c as K}from"./core-3dlyNYRL.js";import{n as k,k as Z}from"./mui-bYXq4XMS.js";import{bb as y}from"./zeni-epic-state-xFtF3OLs.js";const N=/\.(m4a|m4b|mp4a|mpga|mp2|mp2a|mp3|m2a|m3a|wav|weba|aac|oga|spx)($|\?)/i,z=/\.(mp4|og[gv]|webm|mov|m4v)(#t=[,\d+]+)?($|\?)/i,V=/\.(m3u8)($|\?)/i,q=/\.(mpd)($|\?)/i,Q=/stream\.mux\.com\/(?!\w+\.m3u8)(\w+)/,J=/(?:youtu\.be\/|youtube(?:-nocookie|education)?\.com\/(?:embed\/|v\/|watch\/|watch\?v=|watch\?.+&v=|shorts\/|live\/))((\w|-){11})|youtube\.com\/playlist\?list=|youtube\.com\/user\//,ee=/vimeo\.com\/(?!progressive_redirect).+/,te=/(?:wistia\.(?:com|net)|wi\.st)\/(?:medias|embed)\/(?:iframe\/)?([^?]+)/,ae=/open\.spotify\.com\/(\w+)\/(\w+)/i,re=/(?:www\.|go\.)?twitch\.tv\/([a-zA-Z0-9_]+|(videos?\/|\?video=)\d+)($|\?)/,le=/tiktok\.com\/(?:player\/v1\/|share\/video\/|@[^/]+\/video\/)([0-9]+)/,R=(e,r)=>{if(Array.isArray(e)){for(const c of e)if(typeof c=="string"&&R(c,r)||R(c.src,r))return!0;return!1}return r(e)},m={html:e=>R(e,r=>N.test(r)||z.test(r)),hls:e=>R(e,r=>V.test(r)),dash:e=>R(e,r=>q.test(r)),mux:e=>Q.test(e),youtube:e=>J.test(e),vimeo:e=>ee.test(e)&&!z.test(e)&&!V.test(e),wistia:e=>te.test(e),spotify:e=>ae.test(e),twitch:e=>re.test(e),tiktok:e=>le.test(e)},oe=_.forwardRef((e,r)=>{const c=N.test(`${e.src}`)?"audio":"video";return _.createElement(c,{...e,ref:r},e.children)});var ne=oe;const ie=[{key:"hls",name:"hls.js",canPlay:m.hls,canEnablePIP:()=>!0,player:t.lazy(()=>y(()=>import("./react-CA3XI5Yc.js"),__vite__mapDeps([0,1,2,3])))},{key:"dash",name:"dash.js",canPlay:m.dash,canEnablePIP:()=>!0,player:t.lazy(()=>y(()=>import("./react-C2wGlvWj.js"),__vite__mapDeps([4,1,5,6,2])))},{key:"mux",name:"Mux",canPlay:m.mux,canEnablePIP:()=>!0,player:t.lazy(()=>y(()=>import("./index-DQmBF4-D.js"),__vite__mapDeps([7,1,6,3,2])))},{key:"youtube",name:"YouTube",canPlay:m.youtube,player:t.lazy(()=>y(()=>import("./react-BpmEXSTM.js"),__vite__mapDeps([8,1])))},{key:"vimeo",name:"Vimeo",canPlay:m.vimeo,player:t.lazy(()=>y(()=>import("./react-BuvI16A0.js"),__vite__mapDeps([9,1,6])))},{key:"wistia",name:"Wistia",canPlay:m.wistia,canEnablePIP:()=>!0,player:t.lazy(()=>y(()=>import("./react-Egsc5mMa.js"),__vite__mapDeps([10,1])))},{key:"spotify",name:"Spotify",canPlay:m.spotify,canEnablePIP:()=>!1,player:t.lazy(()=>y(()=>import("./react-B84192hO.js"),__vite__mapDeps([11,1])))},{key:"twitch",name:"Twitch",canPlay:m.twitch,canEnablePIP:()=>!1,player:t.lazy(()=>y(()=>import("./react-Cz0zQhlY.js"),__vite__mapDeps([12,1])))},{key:"tiktok",name:"TikTok",canPlay:m.tiktok,canEnablePIP:()=>!1,player:t.lazy(()=>y(()=>import("./react-BvHTyLQY.js"),__vite__mapDeps([13,1])))},{key:"html",name:"html",canPlay:m.html,canEnablePIP:()=>!0,player:ne}];var D=ie;const se={width:"320px",height:"180px",volume:1,playbackRate:1,previewTabIndex:0,previewAriaLabel:"",oEmbedUrl:"https://noembed.com/embed?url={url}"},H=_.forwardRef((e,r)=>{const{playing:c,pip:u}=e,n=e.activePlayer,a=t.useRef(null),o=t.useRef(!0);t.useEffect(()=>{var l,i;a.current&&(a.current.paused&&c===!0&&a.current.play(),!a.current.paused&&c===!1&&a.current.pause(),a.current.playbackRate=(l=e.playbackRate)!=null?l:1,a.current.volume=(i=e.volume)!=null?i:1)}),t.useEffect(()=>{var l,i,s,P,v;if(!(!a.current||!globalThis.document)){if(u&&!document.pictureInPictureElement)try{(i=(l=a.current).requestPictureInPicture)==null||i.call(l)}catch{}if(!u&&document.pictureInPictureElement)try{(P=(s=a.current).exitPictureInPicture)==null||P.call(s),(v=document.exitPictureInPicture)==null||v.call(document)}catch{}}},[u]);const g=l=>{var i,s;o.current=!0,(i=e.onReady)==null||i.call(e),(s=e.onLoadStart)==null||s.call(e,l)},h=l=>{var i,s;o.current&&(o.current=!1,(i=e.onStart)==null||i.call(e,l)),(s=e.onPlay)==null||s.call(e,l)};if(!n)return null;const b={},E=["onReady","onStart"];for(const l in e)l.startsWith("on")&&!E.includes(l)&&(b[l]=e[l]);return _.createElement(n,{...b,style:e.style,className:e.className,slot:e.slot,ref:t.useCallback(l=>{a.current=l,typeof r=="function"?r(l):r!==null&&(r.current=l)},[r]),src:e.src,crossOrigin:e.crossOrigin,preload:e.preload,controls:e.controls,muted:e.muted,autoPlay:e.autoPlay,loop:e.loop,playsInline:e.playsInline,disableRemotePlayback:e.disableRemotePlayback,config:e.config,onLoadStart:g,onPlay:h},e.children)});H.displayName="Player";var ce=H;const ue=t.lazy(()=>y(()=>import("./Preview-Bnbo8Nq1.js"),__vite__mapDeps([14,1]))),A=[],de=(e,r)=>{const c=n=>{for(const a of[...A,...e])if(n&&a.canPlay(n))return a;return r||null},u=_.forwardRef((n,a)=>{const o={...se,...n},{src:g,slot:h,className:b,style:E,width:l,height:i,fallback:s,wrapper:P}=o,[v,d]=t.useState(!!o.light);t.useEffect(()=>{o.light?d(!0):d(!1)},[o.light]);const w=p=>{var x;d(!1),(x=o.onClickPreview)==null||x.call(o,p)},I=p=>{if(!p)return null;const{light:x,playIcon:T,previewTabIndex:C,oEmbedUrl:U,previewAriaLabel:F}=o;return _.createElement(ue,{src:p,light:x,playIcon:T,previewTabIndex:C,previewAriaLabel:F,oEmbedUrl:U,onClickPreview:w})},O=p=>{var x,T;const C=c(p);if(!C)return null;const{style:U,width:F,height:$,wrapper:B}=o,G=(x=o.config)==null?void 0:x[C.key];return _.createElement(ce,{...o,ref:a,activePlayer:(T=C.player)!=null?T:C,slot:B?void 0:h,className:B?void 0:b,style:B?{display:"block",width:"100%",height:"100%"}:{display:"block",width:F,height:$,...U},config:G})},L=P??M,S=s===!1?M:t.Suspense;return _.createElement(L,{slot:h,className:b,style:{width:l,height:i,...E}},_.createElement(S,{fallback:s},v?I(g):O(g)))});return u.displayName="ReactPlayer",u.addCustomPlayer=n=>{A.push(n)},u.removeCustomPlayers=()=>{A.length=0},u.canPlay=n=>{if(n){for(const a of[...A,...e])if(a.canPlay(n))return!0}return!1},u.canEnablePIP=n=>{var a;if(n){for(const o of[...A,...e])if(o.canPlay(n)&&((a=o.canEnablePIP)!=null&&a.call(o)))return!0}return!1},u},M=({children:e})=>e,fe=D[D.length-1];var j=de(D,fe);const me=e=>t.createElement("svg",{width:208,height:208,viewBox:"0 0 208 208",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},t.createElement("g",{filter:"url(#filter0_f_251_38441)"},t.createElement("circle",{cx:104,cy:104,r:44,fill:"url(#paint0_linear_251_38441)"}),t.createElement("circle",{cx:104,cy:104,r:50,stroke:"url(#paint1_linear_251_38441)",strokeWidth:12})),t.createElement("g",{filter:"url(#filter1_d_251_38441)"},t.createElement("circle",{cx:104,cy:104,r:41.1429,fill:"#FAFAFA"}),t.createElement("circle",{cx:104,cy:104,r:43.1429,stroke:"url(#paint2_linear_251_38441)",strokeWidth:4})),t.createElement("g",{clipPath:"url(#clip0_251_38441)"},t.createElement("path",{d:"M120.16 102.411L96.2853 90.4684C96.0134 90.3343 95.7118 90.2718 95.409 90.2867C95.1062 90.3016 94.8122 90.3935 94.5548 90.5536C94.2974 90.7138 94.0851 90.9369 93.938 91.202C93.7908 91.467 93.7137 91.7652 93.7139 92.0684V115.931C93.7137 116.234 93.7908 116.533 93.938 116.798C94.0851 117.063 94.2974 117.286 94.5548 117.446C94.8122 117.606 95.1062 117.698 95.409 117.713C95.7118 117.728 96.0134 117.665 96.2853 117.531L120.16 105.588C120.456 105.442 120.706 105.216 120.88 104.935C121.055 104.654 121.147 104.33 121.147 104C121.147 103.669 121.055 103.345 120.88 103.065C120.706 102.784 120.456 102.558 120.16 102.411Z",fill:"black"})),t.createElement("defs",null,t.createElement("filter",{id:"filter0_f_251_38441",x:0,y:0,width:208,height:208,filterUnits:"userSpaceOnUse",colorInterpolationFilters:"sRGB"},t.createElement("feFlood",{floodOpacity:0,result:"BackgroundImageFix"}),t.createElement("feBlend",{mode:"normal",in:"SourceGraphic",in2:"BackgroundImageFix",result:"shape"}),t.createElement("feGaussianBlur",{stdDeviation:24,result:"effect1_foregroundBlur_251_38441"})),t.createElement("filter",{id:"filter1_d_251_38441",x:54.8569,y:58.8571,width:98.2856,height:98.2857,filterUnits:"userSpaceOnUse",colorInterpolationFilters:"sRGB"},t.createElement("feFlood",{floodOpacity:0,result:"BackgroundImageFix"}),t.createElement("feColorMatrix",{in:"SourceAlpha",type:"matrix",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0",result:"hardAlpha"}),t.createElement("feOffset",{dy:4}),t.createElement("feGaussianBlur",{stdDeviation:2}),t.createElement("feComposite",{in2:"hardAlpha",operator:"out"}),t.createElement("feColorMatrix",{type:"matrix",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.25 0"}),t.createElement("feBlend",{mode:"normal",in2:"BackgroundImageFix",result:"effect1_dropShadow_251_38441"}),t.createElement("feBlend",{mode:"normal",in:"SourceGraphic",in2:"effect1_dropShadow_251_38441",result:"shape"})),t.createElement("linearGradient",{id:"paint0_linear_251_38441",x1:119.671,y1:119.671,x2:87.9755,y2:87.9758,gradientUnits:"userSpaceOnUse"},t.createElement("stop",{stopColor:"#7135FF"}),t.createElement("stop",{offset:.27204,stopColor:"#A050E4"}),t.createElement("stop",{offset:.364594,stopColor:"#B85ED7"}),t.createElement("stop",{offset:.546546,stopColor:"#CF6CC9"}),t.createElement("stop",{offset:.732127,stopColor:"#EE609C"}),t.createElement("stop",{offset:.85586,stopColor:"#EB61A0"}),t.createElement("stop",{offset:1,stopColor:"#EE609C"})),t.createElement("linearGradient",{id:"paint1_linear_251_38441",x1:119.671,y1:119.671,x2:87.9755,y2:87.9758,gradientUnits:"userSpaceOnUse"},t.createElement("stop",{stopColor:"#7135FF"}),t.createElement("stop",{offset:.27204,stopColor:"#A050E4"}),t.createElement("stop",{offset:.364594,stopColor:"#B85ED7"}),t.createElement("stop",{offset:.546546,stopColor:"#CF6CC9"}),t.createElement("stop",{offset:.732127,stopColor:"#EE609C"}),t.createElement("stop",{offset:.85586,stopColor:"#EB61A0"}),t.createElement("stop",{offset:1,stopColor:"#EE609C"})),t.createElement("linearGradient",{id:"paint2_linear_251_38441",x1:118.653,y1:118.653,x2:89.0159,y2:89.0164,gradientUnits:"userSpaceOnUse"},t.createElement("stop",{stopColor:"#7135FF"}),t.createElement("stop",{offset:.27204,stopColor:"#A050E4"}),t.createElement("stop",{offset:.364594,stopColor:"#B85ED7"}),t.createElement("stop",{offset:.546546,stopColor:"#CF6CC9"}),t.createElement("stop",{offset:.732127,stopColor:"#EE609C"}),t.createElement("stop",{offset:.85586,stopColor:"#EB61A0"}),t.createElement("stop",{offset:1,stopColor:"#EE609C"})),t.createElement("clipPath",{id:"clip0_251_38441"},t.createElement("rect",{width:27.4286,height:27.4286,fill:"white",transform:"translate(93.7139 90.2849)"}))));function Ce({src:e,autoPlay:r=!0,config:c,controls:u=!0,height:n="100%",isModalOpen:a,loop:o=!1,muted:g=!1,showPlayButton:h=!1,style:b,thumbnail:E,width:l="100%",onEnded:i,onModalClose:s,onPlay:P}){const v=W(),[d,w]=t.useState(!1);t.useEffect(()=>{a===!0&&r?w(!0):a===!1&&w(!1)},[a,r]);const I={};c?.youtube&&(I.youtube=c.youtube);const O=()=>{w(!0),P?.()},L=()=>{w(!1),s?.()},S=()=>{w(!1),i?.(),a!=null&&s?.()},p=()=>{w(!0),P?.()};return a!=null?a?K.createPortal(f.jsx(Ee,{windowSize:v,role:"presentation",children:f.jsx(X,{onClickAway:L,children:f.jsx(Pe,{windowSize:v,"data-testid":"video-player-modal",children:f.jsxs(ve,{children:[h&&!d&&f.jsxs(f.Fragment,{children:[E!=null&&E!==""&&f.jsx(he,{src:E,alt:"Video thumbnail"}),f.jsx(pe,{onClick:O,children:f.jsx(_e,{windowSize:v})})]}),(!h||d)&&f.jsx(j,{src:e,playing:d,controls:u,muted:g,loop:o,width:"100%",height:"100%",onEnded:S,onPlay:p,config:I})]})})})}),document.body):null:f.jsx(j,{src:e,playing:d,controls:u,muted:g,loop:o,width:l,height:n,style:b,light:h&&!d?E??!0:!1,onEnded:S,onPlay:p,config:I})}const ye=Z`
|
|
3
3
|
0% {
|
|
4
4
|
transform: rotate(0deg);
|
|
5
5
|
}
|