@zeniai/web-cockpit-ui 1.14.84-dev → 1.14.84-qa
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-BXgsd50c-BuCiUEId.js → ACHDetailsPage-BXgsd50c-RayuRG_c.js} +1 -1
- package/dist/assets/{AIPerformancePage-BdDTidCL-D-IQ6p36.js → AIPerformancePage-BdDTidCL-C4KAZN5D.js} +1 -1
- package/dist/assets/{AccountInfoPage-w0STaK9a-BfMIBiEJ.js → AccountInfoPage-w0STaK9a-DtmPJmpY.js} +1 -1
- package/dist/assets/{AccountInfoPageContent-CsuUhHXU-DgiU-I5H.js → AccountInfoPageContent-CsuUhHXU-BIJUOaA1.js} +1 -1
- package/dist/assets/{AccountLockedInfoModal-iYb31wv7-CEyp2zKM.js → AccountLockedInfoModal-iYb31wv7-BVoKu5K7.js} +1 -1
- package/dist/assets/{AccountReconDetailsDrawerPage-DmkLTIkW-DxChexc_.js → AccountReconDetailsDrawerPage-DmkLTIkW-Ctf-W4YD.js} +1 -1
- package/dist/assets/{AccountRow-BObEIy6l-CsCw-i7a.js → AccountRow-BObEIy6l-JC0yFhHa.js} +1 -1
- package/dist/assets/{AccountsPromoCardStack-B8gJFsYh-DpzT8FNB.js → AccountsPromoCardStack-B8gJFsYh-DI-Y_-Io.js} +1 -1
- package/dist/assets/{AddAddressForCardDrawer-vOgzMYWA-Bo72mQ01.js → AddAddressForCardDrawer-vOgzMYWA-Cx4gewRv.js} +1 -1
- package/dist/assets/{AddToWalletPage-BhphXgem-DR4-yAJW.js → AddToWalletPage-BhphXgem-BhW_6xuA.js} +1 -1
- package/dist/assets/{AgingReportsPage-DEgupWct-SJsZmYxE.js → AgingReportsPage-DEgupWct-CpVx3Q04.js} +1 -1
- package/dist/assets/{AllUserItems-S2DAZpO6-Zcx2jN6k.js → AllUserItems-S2DAZpO6-kxAusdwm.js} +1 -1
- package/dist/assets/{ApAgingDetailPage-CvDD8-s7-k2W-N5me.js → ApAgingDetailPage-CvDD8-s7-DGquoD-J.js} +1 -1
- package/dist/assets/{AppBasePage-C4z5I-xG-vGdvNBYI.js → AppBasePage-C4z5I-xG-CtjY6TFp.js} +1 -1
- package/dist/assets/{AppDrawerContent-Dka5HlPs-BfBKKeHh.js → AppDrawerContent-Dka5HlPs-Bkb__PnR.js} +1 -1
- package/dist/assets/{ApprovalRulesSettingsPage-BOJE5Fb_-DykJvECT.js → ApprovalRulesSettingsPage-BOJE5Fb_-CtBvorfk.js} +1 -1
- package/dist/assets/{ArAgingChart-CJ7XKU9h-BSixtgVA.js → ArAgingChart-CJ7XKU9h-LfROBqc3.js} +1 -1
- package/dist/assets/{ArAgingDetailPage-ZjaiAH-C-DY8qSTjK.js → ArAgingDetailPage-ZjaiAH-C-P2cbl-8k.js} +1 -1
- package/dist/assets/{AttachmentView-Dg6PizI7-BzoqKbZ4.js → AttachmentView-Dg6PizI7-hamHr9X2.js} +1 -1
- package/dist/assets/{BankAccountSection-Chay7X-G-vPiVizDl.js → BankAccountSection-Chay7X-G-Z28HgbT-.js} +1 -1
- package/dist/assets/{BankAccountWarningSection-CSChi1lw-BVD5BCv3.js → BankAccountWarningSection-CSChi1lw-BsQ6oo-h.js} +1 -1
- package/dist/assets/{BankConnectionsSettingsPage-DJV7q1Kp-DcUIdQZo.js → BankConnectionsSettingsPage-DJV7q1Kp-V95L2p6f.js} +1 -1
- package/dist/assets/{BillDetailPage-DM06uZnD-BOk9lw2_.js → BillDetailPage-DM06uZnD-F8ZzZkyq.js} +1 -1
- package/dist/assets/{BillPayApprovalRuleDetailPage-MsPIxgUt-r4h6U7BK.js → BillPayApprovalRuleDetailPage-MsPIxgUt-Sv6jZgUx.js} +1 -1
- package/dist/assets/{BillPayApprovalRulesPage-BhDdco2x-B1oZ9jjD.js → BillPayApprovalRulesPage-BhDdco2x-CnuVsiEs.js} +1 -1
- package/dist/assets/{BillPayPromoPage-Dy-opG76-CZ2iWLB7.js → BillPayPromoPage-Dy-opG76-CjecywkF.js} +1 -1
- package/dist/assets/{BillPaySetUpPage-DUvwWlaD-Bg_qNGFx.js → BillPaySetUpPage-DUvwWlaD-6bcs0JvT.js} +1 -1
- package/dist/assets/{BillingSettingsPage-wj_sIJgc-Dy0iglvP.js → BillingSettingsPage-wj_sIJgc-alf7Yr1G.js} +1 -1
- package/dist/assets/{BillsBulkReviewDrawerPage-DbC84oxR-CV4aNHIq.js → BillsBulkReviewDrawerPage-DbC84oxR-D86-edxD.js} +1 -1
- package/dist/assets/{BoxItem-CdqDzfZN-BxmSstzM.js → BoxItem-CdqDzfZN-C4lBJFfu.js} +1 -1
- package/dist/assets/{BusinessVerificationPage-BMtHNNcG-CKxF3KMp.js → BusinessVerificationPage-BMtHNNcG-C4macZAB.js} +1 -1
- package/dist/assets/{CardNumberSubText-lh7fQJis-CKFkz1Hy.js → CardNumberSubText-lh7fQJis-DxcsJYtX.js} +1 -1
- package/dist/assets/{CashbackDetailPage-KRbsYA09-DzsJTodf.js → CashbackDetailPage-KRbsYA09-B4B21rSt.js} +1 -1
- package/dist/assets/{ChargeCardDetailPage--WP6KTfb-BgNGsK6v.js → ChargeCardDetailPage--WP6KTfb-DBuFHobS.js} +1 -1
- package/dist/assets/{ChargeCardListPage-knAPmob6-CgVyQmJQ.js → ChargeCardListPage-knAPmob6-DSbwddj8.js} +1 -1
- package/dist/assets/{ChargeCardListTable-DsfnKX3P-D0-TBhcC.js → ChargeCardListTable-DsfnKX3P-Fh1-EuqB.js} +1 -1
- package/dist/assets/{ChargeCardPromoPage-C9610LtW-GRwSeJ82.js → ChargeCardPromoPage-C9610LtW-4EBblZoV.js} +1 -1
- package/dist/assets/{ChargeCardSetupPage-Cy4JhjJW-BnQWcnli.js → ChargeCardSetupPage-Cy4JhjJW-BY6uHVaB.js} +1 -1
- package/dist/assets/{ChargeCardStatementsPage-C7uS1jEO-7cO1LhgS.js → ChargeCardStatementsPage-C7uS1jEO-IexGEsRS.js} +1 -1
- package/dist/assets/{CheckDepositDrawerPage-TfiJwtqN-CwfCisTT.js → CheckDepositDrawerPage-TfiJwtqN-BjxF98AB.js} +1 -1
- package/dist/assets/{CollapsableReportTable-NYu8Bq-g-CCeLwwka.js → CollapsableReportTable-NYu8Bq-g-CWsTIw0C.js} +1 -1
- package/dist/assets/{CompanyOfficerDetailsSection-CiVliExW-DzmWuQm0.js → CompanyOfficerDetailsSection-CiVliExW-CcW3grWl.js} +1 -1
- package/dist/assets/{CompanyPassportCard-8zvCdmxt-CxjPiS1u.js → CompanyPassportCard-8zvCdmxt-BRhXivWU.js} +1 -1
- package/dist/assets/{CompanyPassportPage-AS4N7oT2-Bv10VeId.js → CompanyPassportPage-AS4N7oT2-DX218yxv.js} +1 -1
- package/dist/assets/{CompleteProfile-Dj080UdJ-B2qMa6vk.js → CompleteProfile-Dj080UdJ-CiN9P0TB.js} +1 -1
- package/dist/assets/{ConfettiBurst-DcCUSSaX-yciACYT1.js → ConfettiBurst-DcCUSSaX-FzUSe03V.js} +1 -1
- package/dist/assets/{CreateOrEditVendorPage-flCFtC2N-Dsf2hlMT.js → CreateOrEditVendorPage-flCFtC2N-AdYl79w3.js} +1 -1
- package/dist/assets/{CreditCardPaymentDrawerPage-BKvqMwnt-BuHB8ode.js → CreditCardPaymentDrawerPage-BKvqMwnt-ViVbJgx9.js} +1 -1
- package/dist/assets/{CurrencySelectField-ksMvik33-CjY_Sqhm.js → CurrencySelectField-ksMvik33-X-oQzLxm.js} +1 -1
- package/dist/assets/{CustomerOnboardingActivationPage-DfT_gkE4-Dk7tFjjw.js → CustomerOnboardingActivationPage-DfT_gkE4-Cu8egbhC.js} +1 -1
- package/dist/assets/CustomerOnboardingContainerPage-DZ9vkiEO--NuA2aDE.js +1 -0
- package/dist/assets/{CustomerOnboardingDetailPageSkeleton-DfOtXgss-1gud75px.js → CustomerOnboardingDetailPageSkeleton-DfOtXgss-D9v3243e.js} +1 -1
- package/dist/assets/{CustomerOnboardingNoStepsPage-61UorFvn-DF0b8zE7.js → CustomerOnboardingNoStepsPage-61UorFvn-CADfl9k6.js} +1 -1
- package/dist/assets/{CustomerOnboardingPage-C12XXjv0-mi5gJ6u3.js → CustomerOnboardingPage-C12XXjv0-BcXZ0f7B.js} +1 -1
- package/dist/assets/{CustomerOnboardingProductSuitePage-CTowHB2X-DUFAd8wB.js → CustomerOnboardingProductSuitePage-CTowHB2X-AwsQP1ww.js} +1 -1
- package/dist/assets/{Dashboard-2RpETnqH-Dgva4ZAW.js → Dashboard-2RpETnqH-AvqFex-D.js} +1 -1
- package/dist/assets/{DashboardReportPage-DRRWpGiJ-Z6RP-3ZH.js → DashboardReportPage-DRRWpGiJ-BZ9L9iDT.js} +1 -1
- package/dist/assets/{DashboardSidebarBackgroundAnimation-0cCKM3E9-DV5Ukn4W.js → DashboardSidebarBackgroundAnimation-0cCKM3E9-BNIN3OuI.js} +1 -1
- package/dist/assets/{DepositAccTransactionItem-DjbheijR-B7o468tr.js → DepositAccTransactionItem-DjbheijR-CnFza0I7.js} +1 -1
- package/dist/assets/{DepositAccTransactionListPage-keSFBKDU-qnysSla9.js → DepositAccTransactionListPage-keSFBKDU-DxyDpFrs.js} +1 -1
- package/dist/assets/{DomesticWireDetailsPage-DuKrVIAL-BzRIhYO3.js → DomesticWireDetailsPage-DuKrVIAL-CvBecXsA.js} +1 -1
- package/dist/assets/{DownloadOverlay-f6SOW8iK-DORigjXi.js → DownloadOverlay-f6SOW8iK-wYT98R7A.js} +1 -1
- package/dist/assets/{DrawerPage-BkIQ6mLJ-DU9u6eQ0.js → DrawerPage-BkIQ6mLJ-B_5frYMF.js} +1 -1
- package/dist/assets/{EditPeoplePage-lZcM4Zfw-CzhpHcfF.js → EditPeoplePage-lZcM4Zfw-DUKuVkhQ.js} +1 -1
- package/dist/assets/{EditReimbursementDetailPage-WO3U-vVY-CTjbkhIP.js → EditReimbursementDetailPage-WO3U-vVY-GokOyVTd.js} +1 -1
- package/dist/assets/{EntityDetailPage-AP27Niqu-DwUEbyHL.js → EntityDetailPage-AP27Niqu-kfqH8lU7.js} +1 -1
- package/dist/assets/{EntitySummarySection-B6khdAJg-7W3j7WRI.js → EntitySummarySection-B6khdAJg-DnNjy2K7.js} +1 -1
- package/dist/assets/{ExpenseAutomationOverviewPage-CcTGou9x-D6xWlI6r.js → ExpenseAutomationOverviewPage-CcTGou9x-8xIF0tTx.js} +1 -1
- package/dist/assets/{ExpenseAutomationPage-DEleaYKs-SFko_-SO.js → ExpenseAutomationPage-DEleaYKs-DYnoea9F.js} +1 -1
- package/dist/assets/{ExpressPayPage-CLYzefaM-CHfIN-TO.js → ExpressPayPage-CLYzefaM-Dk6YSFR2.js} +1 -1
- package/dist/assets/{FeaturePreviewPage-T78A34---Cfgg_jhN.js → FeaturePreviewPage-T78A34---CWpen7rV.js} +1 -1
- package/dist/assets/{FollowStepsSection-B_mTbqHf-CcoWV2SW.js → FollowStepsSection-B_mTbqHf-vEAOrw2N.js} +1 -1
- package/dist/assets/{GlobalReviewListPage-XfxDC9vP-Bi-7QMiL.js → GlobalReviewListPage-XfxDC9vP-BoYHPWF9.js} +1 -1
- package/dist/assets/{InformationCardStack-Buibt8cT-DzjFUhjp.js → InformationCardStack-Buibt8cT-BAqP85Lc.js} +1 -1
- package/dist/assets/{InsightsCardStack-Cj5iIm_T-CnLFxYVI.js → InsightsCardStack-Cj5iIm_T-C9OIEU2I.js} +1 -1
- package/dist/assets/{InsightsSection-DuPqQb5Z-C8m7clcN.js → InsightsSection-DuPqQb5Z-B1_CJ6S1.js} +1 -1
- package/dist/assets/{IntegrationsSettingsPage-VZDSLMHK--2kEd_Ab.js → IntegrationsSettingsPage-VZDSLMHK-7HkNgQus.js} +1 -1
- package/dist/assets/{InternationalWireSwiftDetailsPage-BUa1svL--BjPRjytS.js → InternationalWireSwiftDetailsPage-BUa1svL--D_p9pN5U.js} +1 -1
- package/dist/assets/{InternationalWireVerificationPage-C1qKNhqJ-D8-rYzvp.js → InternationalWireVerificationPage-C1qKNhqJ-UJH47599.js} +1 -1
- package/dist/assets/{InviteFormPage-GPXu2hLn-Dlxczoo1.js → InviteFormPage-GPXu2hLn-nkRrWKH8.js} +1 -1
- package/dist/assets/{InvitePageListView-FEFeEFZJ-fGYpyL6r.js → InvitePageListView-FEFeEFZJ-DOB91LiD.js} +1 -1
- package/dist/assets/{InvitePeoplePage-C6E594rf-DZBpEScz.js → InvitePeoplePage-C6E594rf-BfTOrmrG.js} +1 -1
- package/dist/assets/{InvoiceUploadSection-uvB-_dyl-BnrUYuvf.js → InvoiceUploadSection-uvB-_dyl-ZtXwm7KR.js} +1 -1
- package/dist/assets/{IssueChargeCardPage-DSPlu840-3aXsgWJG.js → IssueChargeCardPage-DSPlu840-DkzSOMVm.js} +1 -1
- package/dist/assets/{LabeledAddressValue-CzDn9ZY4-bnEz1Jxt.js → LabeledAddressValue-CzDn9ZY4-BvvJC2-h.js} +1 -1
- package/dist/assets/{LabeledAddressValueField-C_8kPzjy-5OUHMeqd.js → LabeledAddressValueField-C_8kPzjy-B8qV6Urv.js} +1 -1
- package/dist/assets/{LabeledControlledCheckBoxField-LwfkGeF--D4JaYe7v.js → LabeledControlledCheckBoxField-LwfkGeF--C-sgFNDj.js} +1 -1
- package/dist/assets/{LabeledCreatableSingleSelectField-sEf-9BOE-pPbJFdXC.js → LabeledCreatableSingleSelectField-sEf-9BOE-D5r4inyT.js} +1 -1
- package/dist/assets/{LabeledDocumentField-rGzXpShn-Cfh7MC5-.js → LabeledDocumentField-rGzXpShn-ljpFtvvt.js} +1 -1
- package/dist/assets/{LabeledDropDownFormattedTextField-CIQk7Jhu-BODJHkfO.js → LabeledDropDownFormattedTextField-CIQk7Jhu-DnZPHcAA.js} +1 -1
- package/dist/assets/{LabeledText-Dc-697nR-dyJ4TshB.js → LabeledText-Dc-697nR-64mK5bXs.js} +1 -1
- package/dist/assets/{LabeledUserSingleSelectWithSubtitlesField-B0D7IWfA-CLizobZu.js → LabeledUserSingleSelectWithSubtitlesField-B0D7IWfA-BEObQALW.js} +1 -1
- package/dist/assets/{LabeledZeniRolesDropDownField-BO8f1yqV-POb2k_D_.js → LabeledZeniRolesDropDownField-BO8f1yqV-DQ1p6Tiz.js} +1 -1
- package/dist/assets/{LinkJETransactionPage-DDSo8zJn-CupLOAYQ.js → LinkJETransactionPage-DDSo8zJn-DQmP81m2.js} +1 -1
- package/dist/assets/{LockCardPage-CvZcUUc8-B6VLJ-gr.js → LockCardPage-CvZcUUc8-CdhzDjL-.js} +1 -1
- package/dist/assets/{LowBalancePopup-DJQCz0Ed-B8IDUNee.js → LowBalancePopup-DJQCz0Ed-CIetm9UK.js} +1 -1
- package/dist/assets/{MagicLinkACHDetailsPage-CEtaoWk8-CST49L9m.js → MagicLinkACHDetailsPage-CEtaoWk8-wTULz4sv.js} +1 -1
- package/dist/assets/{MagicLinkDomesticWireDetailsPage-qdgMQR3_-DWvT9O1j.js → MagicLinkDomesticWireDetailsPage-qdgMQR3_-uY1axbfX.js} +1 -1
- package/dist/assets/{MagicLinkInternationalWireDetailsPage-DNwtPZ-u-Bk0G3IwE.js → MagicLinkInternationalWireDetailsPage-DNwtPZ-u-B36fru_I.js} +1 -1
- package/dist/assets/{MagicLinkSuccessPage-60TBVrSw-CKgQ4p6j.js → MagicLinkSuccessPage-60TBVrSw-C3Bb9puu.js} +1 -1
- package/dist/assets/{MagicLinkTitleSection-D2fXbnDV-CA6SEdmn.js → MagicLinkTitleSection-D2fXbnDV-CRSogR9y.js} +1 -1
- package/dist/assets/{MailingDetailsSection-C6cVooC3-CCSD5vtq.js → MailingDetailsSection-C6cVooC3-XQiKKaRJ.js} +1 -1
- package/dist/assets/{Menu-D_6Dje0H-Ar5SwcnV.js → Menu-D_6Dje0H-BZ0tGHak.js} +1 -1
- package/dist/assets/{MyBankConnectionsSettingsPage-D2EPH9WZ-DhQP4OT2.js → MyBankConnectionsSettingsPage-D2EPH9WZ-Dv-ZkwPt.js} +1 -1
- package/dist/assets/{MyPendingActivationChargeCardListPage-Bidsd2bk-DJBBvD6g.js → MyPendingActivationChargeCardListPage-Bidsd2bk-BHUPwj-r.js} +1 -1
- package/dist/assets/{MyProfileSettingsPage-BH2ZVQTk-DMG3qFrn.js → MyProfileSettingsPage-BH2ZVQTk-DkHMfeMP.js} +1 -1
- package/dist/assets/{NavBarWithPicker-Cg2TZjBi-DZVc5NBz.js → NavBarWithPicker-Cg2TZjBi-BbjcZh07.js} +1 -1
- package/dist/assets/{NavigationArrow-CYserS2B-DdYPXfvg.js → NavigationArrow-CYserS2B-BkLVNIMe.js} +1 -1
- package/dist/assets/{NavigationDots-CT_oO_7z-Bt9KzB5Z.js → NavigationDots-CT_oO_7z-ClcpkikJ.js} +1 -1
- package/dist/assets/{NewGlobalMerchantPage-D3MQU5Sh-BUpZMSnV.js → NewGlobalMerchantPage-D3MQU5Sh-JwYtYtso.js} +1 -1
- package/dist/assets/{NoDataChart-BItQZAQ9-a5HKjWqu.js → NoDataChart-BItQZAQ9-S55_3TEG.js} +1 -1
- package/dist/assets/{NoDataTable-R8OCdB2c-cDhvp6Rg.js → NoDataTable-R8OCdB2c-D6dlg8-F.js} +1 -1
- package/dist/assets/{NotFoundPage-DLHYdRdN-xXzpa00n.js → NotFoundPage-DLHYdRdN-B8g0aKra.js} +1 -1
- package/dist/assets/{NotificationSettingsPage-CIwxb6c9-FsYdgXX7.js → NotificationSettingsPage-CIwxb6c9-BMHqzXB5.js} +1 -1
- package/dist/assets/{NotificationsListConfig-DSgUS0hE-mwmsOI0p.js → NotificationsListConfig-DSgUS0hE-Blbvq0lf.js} +1 -1
- package/dist/assets/{NotificationsPage-W5ZhprRe-DZn-eWsJ.js → NotificationsPage-W5ZhprRe-lZrgymvK.js} +1 -1
- package/dist/assets/{OpExByVendorPage-DIi58wXa-nKCVWs3g.js → OpExByVendorPage-DIi58wXa-C4-j8w-9.js} +1 -1
- package/dist/assets/{OverlayContainerPage-BsY9_22w-CFGZ7LWs.js → OverlayContainerPage-BsY9_22w-Dt24t_bm.js} +1 -1
- package/dist/assets/{PandLWithForecastPage-BvMxFrqo-D4f9n7Zm.js → PandLWithForecastPage-BvMxFrqo-ze7p6tuk.js} +1 -1
- package/dist/assets/{PaymentAccountSetupBillingAddressSection-kUAm-v-A-BSna9XIu.js → PaymentAccountSetupBillingAddressSection-kUAm-v-A-Df5ftzDu.js} +1 -1
- package/dist/assets/{PeoplePage-CtnWc0LE-B3_lhERY.js → PeoplePage-CtnWc0LE-DMLbifxJ.js} +1 -1
- package/dist/assets/{ProductsCarousel-n0ZNrr7--DQIbkMZp.js → ProductsCarousel-n0ZNrr7--Cmsv1zu3.js} +1 -1
- package/dist/assets/{PromoBaseCards-CeS0HoCZ-CICve0tH.js → PromoBaseCards-CeS0HoCZ-3hfiayC0.js} +1 -1
- package/dist/assets/{QBOConnectionDialog-BxSTc99Z-DVq4lO-s.js → QBOConnectionDialog-BxSTc99Z-CD6GLd65.js} +1 -1
- package/dist/assets/{QBOSetupSection-FrO9rgct-B0n-bnvz.js → QBOSetupSection-FrO9rgct-C_PUqy37.js} +1 -1
- package/dist/assets/{ReimbursementApprovalRuleDetailPage-BjtdatXs-DvpYlYpI.js → ReimbursementApprovalRuleDetailPage-BjtdatXs-CVZb_80f.js} +1 -1
- package/dist/assets/{ReimbursementApprovalRulesPage-B0_FgpJf-BSGUtiNs.js → ReimbursementApprovalRulesPage-B0_FgpJf-Ct41_HUm.js} +1 -1
- package/dist/assets/{ReimbursementDetailPage-BWhPxHY--DgkbtFUt.js → ReimbursementDetailPage-BWhPxHY--BzwLeZBB.js} +1 -1
- package/dist/assets/{ReimbursementPromoPage-CFG0yxOE-CNHt16Bv.js → ReimbursementPromoPage-CFG0yxOE-C35ZkWSa.js} +1 -1
- package/dist/assets/{ReimbursementSetUpPage-BmUdLEa9-uEaDyTyL.js → ReimbursementSetUpPage-BmUdLEa9-DPiaOwzY.js} +1 -1
- package/dist/assets/{ReimbursementsBulkReviewDrawerPage-CkJqhXEf-B4qPeVNR.js → ReimbursementsBulkReviewDrawerPage-CkJqhXEf-uKjpTOO-.js} +1 -1
- package/dist/assets/{ReloadCard-CNKwqjPJ-C6w7GHJG.js → ReloadCard-CNKwqjPJ-YnH5lD2A.js} +1 -1
- package/dist/assets/{ReportTableViewSelector-B0DXgLgJ-B3X9gS-3.js → ReportTableViewSelector-B0DXgLgJ-D7Qg6jRX.js} +1 -1
- package/dist/assets/{ReportsPage-C5iOQU55-DamkEztw.js → ReportsPage-C5iOQU55-CNSsMo53.js} +1 -1
- package/dist/assets/{RevenueChart-C2CMFAQ--BirLMW85.js → RevenueChart-C2CMFAQ--9i0f6zk_.js} +1 -1
- package/dist/assets/{ReviewDetailsPage-5vOZ0rd7-B41AzmWH.js → ReviewDetailsPage-5vOZ0rd7-jxMwmXxW.js} +1 -1
- package/dist/assets/{ReviewOverlay-BAG_6iyV-B2w-MEIV.js → ReviewOverlay-BAG_6iyV-DVCub6Uq.js} +1 -1
- package/dist/assets/{RoleWithToolTip-GUYLjJwW-DVSFtUus.js → RoleWithToolTip-GUYLjJwW-r9JBfRcl.js} +1 -1
- package/dist/assets/{ScheduleDetailsFixedAssetsPage-sPjMfOtt-m5JvZNFh.js → ScheduleDetailsFixedAssetsPage-sPjMfOtt-OtvS7n4m.js} +1 -1
- package/dist/assets/{ScheduleDetailsPage-DI4C0o6b-B7Dooc-N.js → ScheduleDetailsPage-DI4C0o6b-BvXrDAyO.js} +1 -1
- package/dist/assets/{ScheduleSequenceTable-DhXwtG-x-C20E6-vV.js → ScheduleSequenceTable-DhXwtG-x-BxYowFsO.js} +1 -1
- package/dist/assets/{ScreenRoutes-B_yySVlk.js → ScreenRoutes-DVcMzFrA.js} +1 -1
- package/dist/assets/{SetUpAccountSection-DOavnCkG-CmcaONdQ.js → SetUpAccountSection-DOavnCkG-CzCWMcok.js} +1 -1
- package/dist/assets/{SignIn-DqrG5nEJ-8MVRrbiA.js → SignIn-DqrG5nEJ-DIR1_BNj.js} +1 -1
- package/dist/assets/{SignInScreen-CSh4OzXN.js → SignInScreen-BvkcJf23.js} +1 -1
- package/dist/assets/{SpendManagementListViewPage-DHY_hZQm-C3jihmoK.js → SpendManagementListViewPage-DHY_hZQm-BPwTUzGf.js} +3 -3
- package/dist/assets/{SpendManagementPerTabPage-CoKTIQ2b-D2j2J6zW.js → SpendManagementPerTabPage-CoKTIQ2b-B3UZW97j.js} +1 -1
- package/dist/assets/{SpendManagementSection-UkTY6qX0-CST6kY6m.js → SpendManagementSection-UkTY6qX0-BIM5797j.js} +1 -1
- package/dist/assets/{StatementItem-Bx6mxa3U-C42zKfqY.js → StatementItem-Bx6mxa3U-B9qGz6O-.js} +1 -1
- package/dist/assets/{StatementsPage-ULjFE30P-BGU6QX6B.js → StatementsPage-ULjFE30P-CBDZIU10.js} +1 -1
- package/dist/assets/{StatusSwitcher-DlBY_FC1-C1Bsm00T.js → StatusSwitcher-DlBY_FC1-BZi0rJQ6.js} +1 -1
- package/dist/assets/{SubTabSwitcher-DjEElTWE-5Wo1Obau.js → SubTabSwitcher-DjEElTWE-BWM1ddey.js} +1 -1
- package/dist/assets/{SummaryCard-BNESDUnN-ChwTCNZM.js → SummaryCard-BNESDUnN-B_OD9ZQR.js} +1 -1
- package/dist/assets/{TaskManagementPage-BFF3ATPV-BYvPz4hv.js → TaskManagementPage-BFF3ATPV-CJl96IgY.js} +1 -1
- package/dist/assets/{TimeRangeSwitcher-xILz-EO6-DqqNb5IN.js → TimeRangeSwitcher-xILz-EO6-CF6h2u8x.js} +1 -1
- package/dist/assets/{TimeframeSwitcher-CZhQm7rH-D5h04PEF.js → TimeframeSwitcher-CZhQm7rH-LhMnQPla.js} +1 -1
- package/dist/assets/{TimeframeSwitcherWithToggle-CduB3ZjN-PiqhKHhY.js → TimeframeSwitcherWithToggle-CduB3ZjN-Bc8snpDR.js} +1 -1
- package/dist/assets/{TopExCard-C_HWsAL1-DphCzqA5.js → TopExCard-C_HWsAL1-BNvPE6hk.js} +1 -1
- package/dist/assets/{TopExDetailPage-BEKo6juU-CUrrRqCk.js → TopExDetailPage-BEKo6juU-BpuXflks.js} +1 -1
- package/dist/assets/{TransactionDetailPage-Bzgtmi3U-DCXvClem.js → TransactionDetailPage-Bzgtmi3U-CUNsBAnj.js} +1 -1
- package/dist/assets/{TransactionList-Dw78Q0Sx-BHAN7axA.js → TransactionList-Dw78Q0Sx-Dd3Ecl2O.js} +1 -1
- package/dist/assets/{TransactionListBig-BofakL17-k36ZTqo_.js → TransactionListBig-BofakL17-CpCaYWGi.js} +1 -1
- package/dist/assets/{TransactionListPage-tpOg0ax5-aeL9weeE.js → TransactionListPage-tpOg0ax5-DKkGWPvy.js} +1 -1
- package/dist/assets/{TransactionVendorDetailPage-BqIcXz6b-tGgvKqD0.js → TransactionVendorDetailPage-BqIcXz6b-DFVXpfQo.js} +1 -1
- package/dist/assets/{TransferDrawerPage-DnnZBOyK-y1PDtTFY.js → TransferDrawerPage-DnnZBOyK-DHPnGpDx.js} +1 -1
- package/dist/assets/{TreasuryOverviewPage-C9ROzNHl-Cn6eazlN.js → TreasuryOverviewPage-C9ROzNHl-dAyZi1PP.js} +1 -1
- package/dist/assets/{TreasuryPromoPage--j_2YjQn-DHIwXCO0.js → TreasuryPromoPage--j_2YjQn-DrWu-589.js} +1 -1
- package/dist/assets/{TreasuryStatementsPage-BLrceDQm-vMicHzmk.js → TreasuryStatementsPage-BLrceDQm-B1HbugZ0.js} +1 -1
- package/dist/assets/{TreasuryTaxLetterPage-BoqkgdLm-DAQeQUTC.js → TreasuryTaxLetterPage-BoqkgdLm-B7t38h3i.js} +1 -1
- package/dist/assets/{TrendChart-KnFi8NXQ-DHzaDtQY.js → TrendChart-KnFi8NXQ-BLbRutmX.js} +1 -1
- package/dist/assets/{TrendWithTransactions-C_T0I9xe-DqS7m8LH.js → TrendWithTransactions-C_T0I9xe-B2RFC6B8.js} +1 -1
- package/dist/assets/{UncategorizedAccountsMappingPage-DOuzy2aS-DnfCgWVE.js → UncategorizedAccountsMappingPage-DOuzy2aS-Cjy9zZxx.js} +1 -1
- package/dist/assets/{UnitIntegrationPage-DxhlNHvt-CHN5Qw88.js → UnitIntegrationPage-DxhlNHvt-BFh73dHR.js} +1 -1
- package/dist/assets/{UploadAdditionalDocumentOverlay-BAvSyhDW-D4KE1Kke.js → UploadAdditionalDocumentOverlay-BAvSyhDW-D9eq74iT.js} +1 -1
- package/dist/assets/{Vendor2FAPopup-BFjVFON8-Dl6jzAdP.js → Vendor2FAPopup-BFjVFON8-D578XUKc.js} +1 -1
- package/dist/assets/{VendorACHDetailsPage-8BG5DD-0-p3vm6zDD.js → VendorACHDetailsPage-8BG5DD-0-DML5nDiV.js} +1 -1
- package/dist/assets/{VendorDetailPage-C16CrNJo-D86vTvj2.js → VendorDetailPage-C16CrNJo-lfwKJzFE.js} +1 -1
- package/dist/assets/{VendorDomesticWireDetailsPage-DXhugXZa-DeVAnksE.js → VendorDomesticWireDetailsPage-DXhugXZa-D2deiUxT.js} +1 -1
- package/dist/assets/{VendorFiling1099EditablePage-2QPpdbuN-ozpxZwEp.js → VendorFiling1099EditablePage-2QPpdbuN-DmV9iFrX.js} +1 -1
- package/dist/assets/{VendorFirstReviewPage-DLshEh_s-DbpLTolM.js → VendorFirstReviewPage-DLshEh_s-29QEqBR3.js} +1 -1
- package/dist/assets/{VendorInternationalWireDetailsPage-_WoNgw66-DANrlPFU.js → VendorInternationalWireDetailsPage-_WoNgw66-RXvmQY2U.js} +1 -1
- package/dist/assets/{VendorInternationalWireSwiftDetailsPage-Dyt1ZPOh-DoVwF0sT.js → VendorInternationalWireSwiftDetailsPage-Dyt1ZPOh-Dvv7mFPN.js} +1 -1
- package/dist/assets/{VendorsAccountsSection-Dxq0YSgP-Bt8xoh_f.js → VendorsAccountsSection-Dxq0YSgP-CQ3Vw-hX.js} +1 -1
- package/dist/assets/{VerifyDevice-DEwEqoHA-CylVN9FP.js → VerifyDevice-DEwEqoHA-o-B1EyGV.js} +1 -1
- package/dist/assets/{VideoPlayer-_1Msrww9-DaiS1R42.js → VideoPlayer-_1Msrww9-DzCjuwYG.js} +1 -1
- package/dist/assets/{VideoPopup-BzQ_Dl9b-mwrODjDA.js → VideoPopup-BzQ_Dl9b-CPjeGrGA.js} +1 -1
- package/dist/assets/{WarningsDrawerPage-CMBST3p1-ujIyTaCb.js → WarningsDrawerPage-CMBST3p1-By1WKuQW.js} +1 -1
- package/dist/assets/{ZeniAccountDetailPage-DVLYYC-q-DeZb5ud9.js → ZeniAccountDetailPage-DVLYYC-q-C2IM3BG5.js} +1 -1
- package/dist/assets/{ZeniAccountListViewPage-BHkoMOx5-CtDb7Bzx.js → ZeniAccountListViewPage-BHkoMOx5--XEIxzf-.js} +1 -1
- package/dist/assets/{ZeniAccountNavBarPieces-CCFzNOcx-CuAvs6Mv.js → ZeniAccountNavBarPieces-CCFzNOcx-BTbwqUAG.js} +1 -1
- package/dist/assets/{ZeniAccountPromoPage-C3Rl-hWL-DwIvVxTo.js → ZeniAccountPromoPage-C3Rl-hWL-Dxr3qnyn.js} +1 -1
- package/dist/assets/{ZeniAccountSetupPage-Bf1OOF0Q-DBu-8Ie5.js → ZeniAccountSetupPage-Bf1OOF0Q-CVWU_nTY.js} +1 -1
- package/dist/assets/{ZeniCopyright-CdqD8vO4-DYRLQn9Q.js → ZeniCopyright-CdqD8vO4-GOUGz5oO.js} +1 -1
- package/dist/assets/{ZeniTransferAmountSlider-BTudpQjV-CvoGRB0t.js → ZeniTransferAmountSlider-BTudpQjV-C-ERY6Ys.js} +1 -1
- package/dist/assets/{analyticsHelper-D23HZgYu.js → analyticsHelper-BHPP6wwz.js} +1 -1
- package/dist/assets/{analyticsHelper-_u1yj9ge-DxpjUhrt.js → analyticsHelper-_u1yj9ge-CQN7AQjp.js} +1 -1
- package/dist/assets/{chartTypes-vQ8GTDEq-DTt3gea6.js → chartTypes-vQ8GTDEq-Bzji-J7a.js} +1 -1
- package/dist/assets/{commonDimensions-znFHURNY-BydE4i8M.js → commonDimensions-znFHURNY-BYw9nu0T.js} +1 -1
- package/dist/assets/{detailCommon-DmLhlrjU-ShYTQ7m2.js → detailCommon-DmLhlrjU-QJ3x5gZG.js} +1 -1
- package/dist/assets/{downloadPdf-CCUPfpyu-Cq1M0ik1.js → downloadPdf-CCUPfpyu-CLDRZEaM.js} +1 -1
- package/dist/assets/{index-XNBiWrYj.js → index-DdsM_njZ.js} +4 -4
- package/dist/assets/{mapLoadingInProgressToTreeNode-Cw74bTou-BDMlWcL7.js → mapLoadingInProgressToTreeNode-Cw74bTou-DytzWuKd.js} +1 -1
- package/dist/assets/{mapSectionWithAcOnlyToTreeNode-CWFxnMpB-BCzyYlDf.js → mapSectionWithAcOnlyToTreeNode-CWFxnMpB-CaiEsiC-.js} +1 -1
- package/dist/assets/{mapSpacerToTreeNode-JUrBuZAz-wZclqNi-.js → mapSpacerToTreeNode-JUrBuZAz-CZWi6rgT.js} +1 -1
- package/dist/assets/{mapTimeframeBalancesToTreeNode-B2iYfeF3-B53qunPl.js → mapTimeframeBalancesToTreeNode-B2iYfeF3-DPdNoTaa.js} +1 -1
- package/dist/assets/{mapTimeframeBalancesToTreeNode-BbQHYZk7-DpCyCcLg.js → mapTimeframeBalancesToTreeNode-BbQHYZk7-BsTucrUk.js} +1 -1
- package/dist/assets/{mapTimeframeHeaderLoadingInProgressToTreeNode-BeqGSN9x-CoS9pLIE.js → mapTimeframeHeaderLoadingInProgressToTreeNode-BeqGSN9x-CRBIGAA9.js} +1 -1
- package/dist/assets/{toCOABalancesWithID-DeZfEmbT-vM-pgltN.js → toCOABalancesWithID-DeZfEmbT-BYnyj8Vs.js} +1 -1
- package/dist/assets/{toChartData-KibzV7pa-DRJVLoY0.js → toChartData-KibzV7pa-BIBW1wkQ.js} +1 -1
- package/dist/assets/{uploadAttachment-U9nX0Ka9-1qW3wdO3.js → uploadAttachment-U9nX0Ka9-ByggkyFe.js} +1 -1
- package/dist/assets/{uploadReceipts-CDPM7zcb-DEOGBGdq.js → uploadReceipts-CDPM7zcb-Bl8TSXaa.js} +1 -1
- package/dist/index.html +1 -1
- package/package.json +1 -1
- package/dist/assets/CustomerOnboardingContainerPage-DZ9vkiEO-ah6dg727.js +0 -1
|
@@ -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-DdsM_njZ.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-DdsM_njZ.js";import{n as r}from"./mui-bYXq4XMS.js";import{b as l}from"./TimeframeSwitcher-CZhQm7rH-LhMnQPla.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,e 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 W}from"./index-
|
|
1
|
+
import{aA as M,Q as _,V as t,e 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 W}from"./index-DdsM_njZ.js";import{w,a as U}from"./core-3dlyNYRL.js";import{f0 as Z}from"./zeni-epic-state-LPACxnXP.js";import{n as g}from"./mui-bYXq4XMS.js";import{I as ee,T as te}from"./ReloadCard-CNKwqjPJ-YnH5lD2A.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-BHhx6CLo.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-BEKo6juU-CUrrRqCk.js → TopExDetailPage-BEKo6juU-BpuXflks.js}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{e as j,Q as S,V as t,bz as A,F as u,aL as b,b1 as B,C 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{e as j,Q as S,V as t,bz as A,F as u,aL as b,b1 as B,C 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-DdsM_njZ.js";import{n as l}from"./mui-bYXq4XMS.js";import{f0 as D}from"./zeni-epic-state-LPACxnXP.js";import{E as M,I as L}from"./TopExCard-C_HWsAL1-BNvPE6hk.js";import{b as Z}from"./TimeframeSwitcher-CZhQm7rH-LhMnQPla.js";import{d as _}from"./NoDataTable-R8OCdB2c-D6dlg8-F.js";import{w as I,a as o}from"./core-3dlyNYRL.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"./ReloadCard-CNKwqjPJ-YnH5lD2A.js";import"./graphic-no-data-l-DU4J8fDt-x_U9o4ZQ.js";const v="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{l as qn,O as Fn,e as Pt,a8 as Wn,Q as ae,F as q,aN as Jt,dR as Hn,dS as Gn,cB as Yn,aA as Zn,dT as nn,dU as Jn,V as i,aK as F,ab as Xn,bz as Qn,dV as Kn,dW as ea,A as oi,dX as zi,aO as ta,y as N,dY as ia,dZ as an,d_ as on,d$ as sn,e0 as Te,e1 as Oe,e2 as Pe,e3 as Ke,e4 as et,e5 as St,e6 as kt,e7 as tt,e8 as gt,e9 as zt,ea as At,eb as Xt,ec as ee,ed as ei,ee as ue,ef as pe,aH as na,eg as Dt,eh as Ai,ei as aa,n as oa,cm as sa,o as a,ca as la,ej as ra,u as O,C as vi,p as le,ap as Di,b8 as si,s as ca,ek as da,ch as ua,cf as li,aL as Le,cO as st,el as pa,em as Ht,aR as ln,cT as ma,en as ha,cd as ga,ce as fa,ak as fe,aZ as ya,d6 as ba,eo as rn,ep as Qt,eq as Kt,er as mi,dg as xa,b1 as va,cq as wa,cW as Ti,a7 as cn,es as ti,et as ii,eu as dn,cU as un,bQ as Oi,ev as hi,dl as gi,ew as Ca,bq as Ia,ex as $a,ey as Vi,ez as Da,ax as Ta,cX as Oa,eA as La,B as pn,eB as mn,bI as ja,eC as Ri,eD as hn,eE as gn,eF as fn,bG as lt,at as Sa,as as ka,du as za,b as yn,eG as Aa,bE as Va,_ as Ra,al as Ea,c as Pa,aT as wi}from"./index-
|
|
1
|
+
import{l as qn,O as Fn,e as Pt,a8 as Wn,Q as ae,F as q,aN as Jt,dR as Hn,dS as Gn,cB as Yn,aA as Zn,dT as nn,dU as Jn,V as i,aK as F,ab as Xn,bz as Qn,dV as Kn,dW as ea,A as oi,dX as zi,aO as ta,y as N,dY as ia,dZ as an,d_ as on,d$ as sn,e0 as Te,e1 as Oe,e2 as Pe,e3 as Ke,e4 as et,e5 as St,e6 as kt,e7 as tt,e8 as gt,e9 as zt,ea as At,eb as Xt,ec as ee,ed as ei,ee as ue,ef as pe,aH as na,eg as Dt,eh as Ai,ei as aa,n as oa,cm as sa,o as a,ca as la,ej as ra,u as O,C as vi,p as le,ap as Di,b8 as si,s as ca,ek as da,ch as ua,cf as li,aL as Le,cO as st,el as pa,em as Ht,aR as ln,cT as ma,en as ha,cd as ga,ce as fa,ak as fe,aZ as ya,d6 as ba,eo as rn,ep as Qt,eq as Kt,er as mi,dg as xa,b1 as va,cq as wa,cW as Ti,a7 as cn,es as ti,et as ii,eu as dn,cU as un,bQ as Oi,ev as hi,dl as gi,ew as Ca,bq as Ia,ex as $a,ey as Vi,ez as Da,ax as Ta,cX as Oa,eA as La,B as pn,eB as mn,bI as ja,eC as Ri,eD as hn,eE as gn,eF as fn,bG as lt,at as Sa,as as ka,du as za,b as yn,eG as Aa,bE as Va,_ as Ra,al as Ea,c as Pa,aT as wi}from"./index-DdsM_njZ.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 Rt,bF as Et,bH as Ua,c5 as Ba,fu as Ma,bj as qa}from"./zeni-epic-state-LPACxnXP.js";import{x as Ei}from"./LabeledControlledCheckBoxField-LwfkGeF--C-sgFNDj.js";import{R as Fa}from"./TrendWithTransactions-C_T0I9xe-B2RFC6B8.js";import{u as Wa,c as Ha,d as Ga,m as Ya}from"./uploadAttachment-U9nX0Ka9-ByggkyFe.js";import{o as Za}from"./radio-default-CiSgisfh-Clpw2LWj.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"./TrendChart-KnFi8NXQ-BLbRutmX.js";import"./chartTypes-vQ8GTDEq-Bzji-J7a.js";import"./toCOABalancesWithID-DeZfEmbT-BYnyj8Vs.js";import"./toChartData-KibzV7pa-BIBW1wkQ.js";import"./NoDataChart-BItQZAQ9-S55_3TEG.js";import"./InsightsSection-DuPqQb5Z-B1_CJ6S1.js";import"./NavigationDots-CT_oO_7z-ClcpkikJ.js";import"./TransactionList-Dw78Q0Sx-Dd3Ecl2O.js";import"./BoxItem-CdqDzfZN-C4lBJFfu.js";import"./commonDimensions-znFHURNY-BYw9nu0T.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-Dw78Q0Sx-BHAN7axA.js → TransactionList-Dw78Q0Sx-Dd3Ecl2O.js}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{ca as ct,Q as R,V as e,b1 as mt,aK as x,dg as ft,F as v,dh as xt,db as ut,di 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 bt,dj as J,c_ as K,aL as X,al as wt}from"./index-
|
|
1
|
+
import{ca as ct,Q as R,V as e,b1 as mt,aK as x,dg as ft,F as v,dh as xt,db as ut,di 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 bt,dj as J,c_ as K,aL as X,al as wt}from"./index-DdsM_njZ.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-LPACxnXP.js";import{g as it}from"./BoxItem-CdqDzfZN-C4lBJFfu.js";import{o as B}from"./commonDimensions-znFHURNY-BYw9nu0T.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 N,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 V,C as G,br as X,aQ as ee}from"./index-
|
|
1
|
+
import{y as a,Q as R,av as N,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 V,C as G,br as X,aQ as ee}from"./index-DdsM_njZ.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 W}from"./zeni-epic-state-LPACxnXP.js";import{G as $e,c as be}from"./AccountsPromoCardStack-B8gJFsYh-DI-Y_-Io.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"./SummaryCard-BNESDUnN-B_OD9ZQR.js";import"./ReloadCard-CNKwqjPJ-YnH5lD2A.js";import"./NavigationArrow-CYserS2B-BkLVNIMe.js";import"./NavigationDots-CT_oO_7z-ClcpkikJ.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{e as z,bx as R,by as G,V as o,aK as p,bz as M,A as V,o as n,ak as Z}from"./index-
|
|
1
|
+
import{e as z,bx as R,by as G,V as o,aK as p,bz as M,A as V,o as n,ak as Z}from"./index-DdsM_njZ.js";import{a as r}from"./core-3dlyNYRL.js";import{n as l}from"./mui-bYXq4XMS.js";import{f as K}from"./TransactionList-Dw78Q0Sx-Dd3Ecl2O.js";import{t as _}from"./page-detail-CWX5S47F-Bc8Xpsuq.js";import{e as q}from"./sentry-o6h_D-9x.js";import"./zeni-epic-state-LPACxnXP.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"./BoxItem-CdqDzfZN-C4lBJFfu.js";import"./commonDimensions-znFHURNY-BYw9nu0T.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 as B,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,h0 as F,h1 as k,h2 as M,cB as U,ab as G,u as r,e as X,cE as Y,gE as z,h7 as Z,b5 as ee,hb as oe,hc as te}from"./index-
|
|
1
|
+
import{Q as H,F as B,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,h0 as F,h1 as k,h2 as M,cB as U,ab as G,u as r,e as X,cE as Y,gE as z,h7 as Z,b5 as ee,hb as oe,hc as te}from"./index-DdsM_njZ.js";import{a as j}from"./core-3dlyNYRL.js";import{n as d}from"./mui-bYXq4XMS.js";import"./sentry-o6h_D-9x.js";import"./zeni-epic-state-LPACxnXP.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";const D=(e,c)=>`${e}.${c}`,N={labelWidth:new g(120,145,160),controlWidth:new g(110,145,160)},ae=B.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 l=H(),b=X(),$=N.labelWidth.value(l),I=N.controlWidth.value(l),V=n=>h.filter(O=>O.accountId===n)[0]?.coaId??"",s=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(se,{children:i.vendorDetails.title}),o.jsxs(le,{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=>s(n),defaultValue:{selectedOption:p,allOptions:F(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,hk as st,F as I,aL as J,n as ve,hv as ct,A as Ye,aO as $e,o as a,y as c,_ as Ne,d as dt,b7 as ut,ap as ft,E as De,ag as be,ak as fe,aN as ce,fu as pt,a8 as Xe,cB as mt,aV as ht,aM as gt,p as G,ab as qe,fy as ke,fz as Ae,g6 as wt,bQ as ye,g0 as xt,hw as $t,u as o,fj as Dt,cf as Je,bZ as bt,d5 as yt,bI as Tt,al as Ze,fL as Ct,du as St,b$ as Ge,hl as vt,hn as kt}from"./index-XNBiWrYj.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-BTudpQjV-CvoGRB0t.js";import{r as Pt}from"./AccountInfoPageContent-CsuUhHXU-DgiU-I5H.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-CCUPfpyu-Cq1M0ik1.js";import"./commonDimensions-znFHURNY-BydE4i8M.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:B,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 F={...h},se={amount:{amount:F[k].amount??0,currencyCode:"USD",currencySymbol:"$"},transferFrom:r.transferMoneyParties.find(ae=>ae.id===F[k].transferFrom.selectedOption),transferTo:r.transferMoneyParties.find(ae=>ae.id===F[k].transferTo.selectedOption)};K(se)}};u.useEffect(()=>{const l=L.watch((h,{name:F})=>{if(F!=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:F})=>{F!=null&&h!=null&&mt(()=>at(F,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(Bt,{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:J("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(Jt,{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:B,setTotalBalance:M})]}):null,t.jsxs(Zt,{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} ${J("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} ${J("0,0",{amount:f,currencySymbol:"$"})}`})]}):t.jsx(ze,{children:b.transferDrawer.calculator.footerText.earnUptoText.replace("__rate__",Se)})}),$?t.jsxs(Be,{windowSize:i,onClick:()=>T(!1),"data-testid":A("calculator-footer-close"),children:[t.jsx(Fe,{className:"calculatorFooterLeftText",children:b.transferDrawer.calculator.footerText.hide}),t.jsx(Ht,{className:"calculatorFooterArrowIcon"})]}):t.jsxs(Be,{windowSize:i,onClick:()=>T(!0),"data-testid":A("calculator-footer-show"),children:[t.jsx(Fe,{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:Ft(e)},transferTo:{allOptions:ne(e,!1,r,!0,!1),selectedOption:e.transferDetailLocalData.transferTo?.id}}}),Ft=e=>e.transferDetailLocalData.transferTo?.accType==="depositAccount"&&e.transferDetailLocalData.transferTo?.accountBalance?.available?.amount===0?e.primaryPaymentAccount?.paymentAccountId:void 0,Bt=n.div`
|
|
1
|
+
import{V as t,Q as ue,aK as A,hk as st,F as I,aL as J,n as ve,hv as ct,A as Ye,aO as $e,o as a,y as c,_ as Ne,d as dt,b7 as ut,ap as ft,E as De,ag as be,ak as fe,aN as ce,fu as pt,a8 as Xe,cB as mt,aV as ht,aM as gt,p as G,ab as qe,fy as ke,fz as Ae,g6 as wt,bQ as ye,g0 as xt,hw as $t,u as o,fj as Dt,cf as Je,bZ as bt,d5 as yt,bI as Tt,al as Ze,fL as Ct,du as St,b$ as Ge,hl as vt,hn as kt}from"./index-DdsM_njZ.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-BTudpQjV-C-ERY6Ys.js";import{r as Pt}from"./AccountInfoPageContent-CsuUhHXU-BIJUOaA1.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-CCUPfpyu-CLDRZEaM.js";import"./commonDimensions-znFHURNY-BYw9nu0T.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:B,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 F={...h},se={amount:{amount:F[k].amount??0,currencyCode:"USD",currencySymbol:"$"},transferFrom:r.transferMoneyParties.find(ae=>ae.id===F[k].transferFrom.selectedOption),transferTo:r.transferMoneyParties.find(ae=>ae.id===F[k].transferTo.selectedOption)};K(se)}};u.useEffect(()=>{const l=L.watch((h,{name:F})=>{if(F!=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:F})=>{F!=null&&h!=null&&mt(()=>at(F,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(Bt,{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:J("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(Jt,{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:B,setTotalBalance:M})]}):null,t.jsxs(Zt,{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} ${J("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} ${J("0,0",{amount:f,currencySymbol:"$"})}`})]}):t.jsx(ze,{children:b.transferDrawer.calculator.footerText.earnUptoText.replace("__rate__",Se)})}),$?t.jsxs(Be,{windowSize:i,onClick:()=>T(!1),"data-testid":A("calculator-footer-close"),children:[t.jsx(Fe,{className:"calculatorFooterLeftText",children:b.transferDrawer.calculator.footerText.hide}),t.jsx(Ht,{className:"calculatorFooterArrowIcon"})]}):t.jsxs(Be,{windowSize:i,onClick:()=>T(!0),"data-testid":A("calculator-footer-show"),children:[t.jsx(Fe,{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:Ft(e)},transferTo:{allOptions:ne(e,!1,r,!0,!1),selectedOption:e.transferDetailLocalData.transferTo?.id}}}),Ft=e=>e.transferDetailLocalData.transferTo?.accType==="depositAccount"&&e.transferDetailLocalData.transferTo?.accountBalance?.available?.amount===0?e.primaryPaymentAccount?.paymentAccountId:void 0,Bt=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,e as M,a7 as Fe,ca as Ne,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,fb as Z,B,u as p,b2 as ne,bL as Le,aQ as Me,av as Ge,fO as Ue,gT as Xe,n as Je,ak as O,aZ as Ze,jg as qe,jT as Qe,be as _e,eK as et,d9 as tt,fL as it,kO as ot,iS as Oe,iT as Ae,cq as rt,iJ as at,iK as nt,kP as st,bO as lt,al as E,cv as le,iR as dt,cy as ct}from"./index-
|
|
1
|
+
import{Q as C,e as M,a7 as Fe,ca as Ne,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,fb as Z,B,u as p,b2 as ne,bL as Le,aQ as Me,av as Ge,fO as Ue,gT as Xe,n as Je,ak as O,aZ as Ze,jg as qe,jT as Qe,be as _e,eK as et,d9 as tt,fL as it,kO as ot,iS as Oe,iT as Ae,cq as rt,iJ as at,iK as nt,kP as st,bO as lt,al as E,cv as le,iR as dt,cy as ct}from"./index-DdsM_njZ.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 G,c3 as pt}from"./zeni-epic-state-LPACxnXP.js";import{s as xt}from"./commonDimensions-znFHURNY-BYw9nu0T.js";import{g as ce}from"./BoxItem-CdqDzfZN-C4lBJFfu.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-BHhx6CLo.js";import"./sentry-o6h_D-9x.js";import"./lottie-DEE24l2z.js";import"./liveblocks-DIep7fJd.js";import"./utils-uDUqNRFY.js";import"./analytics-zoE7Zcxt.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{e as ce,Q as V,av as $e,a7 as fe,aN as ye,F as A,V as r,bz as ke,fn as je,b2 as be,o as t,jg 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,d9 as ve,bS as Le,d as Me,al as Pe,f5 as Be,u as h,dO as Ee,bd as Te,E as Ie,_ as De,b as ee,d0 as We}from"./index-
|
|
1
|
+
import{e as ce,Q as V,av as $e,a7 as fe,aN as ye,F as A,V as r,bz as ke,fn as je,b2 as be,o as t,jg 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,d9 as ve,bS as Le,d as Me,al as Pe,f5 as Be,u as h,dO as Ee,bd as Te,E as Ie,_ as De,b as ee,d0 as We}from"./index-DdsM_njZ.js";import{a as s,w as _e}from"./core-3dlyNYRL.js";import{n as i}from"./mui-bYXq4XMS.js";import{gw as Re}from"./zeni-epic-state-LPACxnXP.js";import{I as Ne,N as Ge}from"./VideoPlayer-_1Msrww9-DzCjuwYG.js";import{r as He}from"./auto-transfer-rule-mbafm5D3-iFkTgScT.js";import{o as Ve}from"./shield-DOlUxcFf-BXuToJ7O.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";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(ie,{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(te,{href:g.link,target:"_blank",rel:"noopener noreferrer",children:g.text}):g.text},k))}):r.jsx(te,{href:p.link,target:"_blank",rel:"noopener noreferrer",children:p.text})},w))}),r.jsx(re,{style:{marginTop:t.sp2},children:x.agreementDrawer.confirmTitle}),r.jsx(G,{children:x.agreementDrawer.confirmBullets.map((p,w)=>r.jsx(ie,{children:p},w))})]})]})})},Fe=i.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
flex-direction: column;
|
|
4
4
|
width: 100%;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{e 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{e 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-DdsM_njZ.js";import{a as m}from"./core-3dlyNYRL.js";import{n as o}from"./mui-bYXq4XMS.js";import{$ as M}from"./BoxItem-CdqDzfZN-C4lBJFfu.js";import{o as R}from"./commonDimensions-znFHURNY-BYw9nu0T.js";import{O as T}from"./StatementItem-Bx6mxa3U-B9qGz6O-.js";import"./sentry-o6h_D-9x.js";import"./zeni-epic-state-LPACxnXP.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-CCUPfpyu-CLDRZEaM.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{e as v,Q as S,V as t,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{e as v,Q as S,V as t,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-DdsM_njZ.js";import{a as p}from"./core-3dlyNYRL.js";import{n as o}from"./mui-bYXq4XMS.js";import{$ as B}from"./BoxItem-CdqDzfZN-C4lBJFfu.js";import{o as E}from"./commonDimensions-znFHURNY-BYw9nu0T.js";import{O as M}from"./StatementItem-Bx6mxa3U-B9qGz6O-.js";import"./sentry-o6h_D-9x.js";import"./zeni-epic-state-LPACxnXP.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-CCUPfpyu-CLDRZEaM.js";const h=z.getLocalizedStrings().spendManagement.treasury.taxLetter,x={listItemMargin:new I(d[3],d[8])},re=({currentTenantCompanyName:e,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?t.jsx(m,{windowSize:i,style:{...s,width:`calc(100% - 2*${x.listItemMargin.valuePx(i)})`},children:t.jsx(M,{currentTenantCompanyName:e,accountLast4:"",data:l,authParams:w,downloadEndPoint:b,documentType:"taxLetter",boxType:B(n,a.taxLetters.length)},l.id)}):t.jsx(R,{style:{...s},children:t.jsx(N,{children:t.jsx(m,{windowSize:i,children:t.jsx(H,{children:h.noTaxLetter})})})})};return t.jsxs(V,{children:[t.jsx(L,{title:h.title,backgroundColor:u.colors.grey4,style:{zIndex:3},onBackClick:g,source:"treasury"}),t.jsx(K,{windowSize:i,children:t.jsx(P,{children:({height:n,width:s})=>t.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: ${e=>`${r.sp0} ${x.listItemMargin.valuePx(e.windowSize)}`};
|
|
3
3
|
&:hover {
|
|
4
4
|
position: relative;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{F as k,V as s,e 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,e as B,aK as $,b1 as P,b as j,aV as R,o as L,p as z,ak as A}from"./index-DdsM_njZ.js";import{a as v,w as O}from"./core-3dlyNYRL.js";import{f4 as u}from"./zeni-epic-state-LPACxnXP.js";import{d as V,g as T,p as D,u as q}from"./chartTypes-vQ8GTDEq-Bzji-J7a.js";import{n as w}from"./mui-bYXq4XMS.js";import{o as K}from"./toCOABalancesWithID-DeZfEmbT-BYnyj8Vs.js";import{V as _}from"./toChartData-KibzV7pa-BIBW1wkQ.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-BHhx6CLo.js";import"./sentry-o6h_D-9x.js";import"./lottie-DEE24l2z.js";import"./liveblocks-DIep7fJd.js";import"./utils-uDUqNRFY.js";import"./analytics-zoE7Zcxt.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 R,o as t,F as b,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 R,o as t,F as b,y as c,aK as S,b1 as E,b5 as Y,E as V,u as a,ak as _,_ as q}from"./index-DdsM_njZ.js";import{a as H}from"./core-3dlyNYRL.js";import{n}from"./mui-bYXq4XMS.js";import K from"./TrendChart-KnFi8NXQ-BLbRutmX.js";import{C as W}from"./NoDataChart-BItQZAQ9-S55_3TEG.js";import{q as Q}from"./InsightsSection-DuPqQb5Z-B1_CJ6S1.js";import{f as X}from"./TransactionList-Dw78Q0Sx-Dd3Ecl2O.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{e as ie,Q as ce,av as Ke,aN as en,gz as I,hH as U,F as q,a8 as nn,hI as tn,hJ as je,cB as on,V as t,bz as cn,cm as sn,cn as an,co as ln,ab as dn,hK as rn,A as un,hL as Z,hM as pn,aO as mn,fr as gn,hN as Ve,y as u,ak as xn,o as a,cO as fe,aS as W,gE as te,hO as oe,u as r,B as ye,p as Ae,f$ as _e,ag as $e,bg as hn}from"./index-
|
|
1
|
+
import{e as ie,Q as ce,av as Ke,aN as en,gz as I,hH as U,F as q,a8 as nn,hI as tn,hJ as je,cB as on,V as t,bz as cn,cm as sn,cn as an,co as ln,ab as dn,hK as rn,A as un,hL as Z,hM as pn,aO as mn,fr as gn,hN as Ve,y as u,ak as xn,o as a,cO as fe,aS as W,gE as te,hO as oe,u as r,B as ye,p as Ae,f$ as _e,ag as $e,bg as hn}from"./index-DdsM_njZ.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-LPACxnXP.js";import{h as yn}from"./VendorsAccountsSection-Dxq0YSgP-CQ3Vw-hX.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";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,hQ as W,hR as R,Q as O,F as T,cm as L,ad as v,cn as U,co as A,a8 as _,ab as H,cK as G,cG as F,y as g,cH as M,p as N,an as Q,A as J,n as K,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,hQ as W,hR as R,Q as O,F as T,cm as L,ad as v,cn as U,co as A,a8 as _,ab as H,cK as G,cG as F,y as g,cH as M,p as N,an as Q,A as J,n as K,o as i,ak as Y,u as D,ap as X,b8 as Z}from"./index-DdsM_njZ.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-LPACxnXP.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";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 _,fs as y,aN as k,Q as M,F as A,V as i,cB as K,ab as W,aK as q,ft 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 _,fs as y,aN as k,Q as M,F as A,V as i,cB as K,ab as W,aK as q,ft 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-DdsM_njZ.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-LPACxnXP.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:v,onSendForVerificationClick:z,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"&&z?.(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:v,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-BFjVFON8-Dl6jzAdP.js → Vendor2FAPopup-BFjVFON8-D578XUKc.js}
RENAMED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{aN as s,F as v,V as i,hQ as y,hR as I}from"./index-
|
|
1
|
+
import{aN as s,F as v,V as i,hQ as y,hR as I}from"./index-DdsM_njZ.js";import{a as e}from"./core-3dlyNYRL.js";import"./mui-bYXq4XMS.js";import"./sentry-o6h_D-9x.js";import"./zeni-epic-state-LPACxnXP.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";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(I,{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-DdsM_njZ.js";import{a as u}from"./core-3dlyNYRL.js";import{f as k}from"./ACHDetailsPage-BXgsd50c-RayuRG_c.js";import"./mui-bYXq4XMS.js";import"./sentry-o6h_D-9x.js";import"./zeni-epic-state-LPACxnXP.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"./BankAccountWarningSection-CSChi1lw-BsQ6oo-h.js";import"./MagicLinkTitleSection-D2fXbnDV-CRSogR9y.js";import"./BankAccountSection-Chay7X-G-Z28HgbT-.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-C16CrNJo-D86vTvj2.js → VendorDetailPage-C16CrNJo-lfwKJzFE.js}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{F as _,e as Be,Q as ae,y as g,aA as ye,cD as xt,a8 as yt,h0 as Re,h1 as Ae,h2 as Ee,h3 as be,h4 as bt,aS as ft,cB as wt,V as t,bz as Ct,ab as $t,h5 as St,h6 as ge,u as l,cC as Dt,aO as jt,o,bM as S,cO as Tt,gE as fe,h7 as Lt,cE as Vt,cF as kt,cG as Ot,h8 as It,g7 as Pt,cM as Mt,h9 as zt,ha as Ft,p as F,dt as _t,ds as Wt,c_ as Nt,aV as re,b5 as Ue,ag as Ye,du as Ht,aZ as Bt,hb as Rt,hc as At,ak as Et,hd as Ut,cf as qe,he as Yt,B as we,M as Ge}from"./index-
|
|
1
|
+
import{F as _,e as Be,Q as ae,y as g,aA as ye,cD as xt,a8 as yt,h0 as Re,h1 as Ae,h2 as Ee,h3 as be,h4 as bt,aS as ft,cB as wt,V as t,bz as Ct,ab as $t,h5 as St,h6 as ge,u as l,cC as Dt,aO as jt,o,bM as S,cO as Tt,gE as fe,h7 as Lt,cE as Vt,cF as kt,cG as Ot,h8 as It,g7 as Pt,cM as Mt,h9 as zt,ha as Ft,p as F,dt as _t,ds as Wt,c_ as Nt,aV as re,b5 as Ue,ag as Ye,du as Ht,aZ as Bt,hb as Rt,hc as At,ak as Et,hd as Ut,cf as qe,he as Yt,B as we,M as Ge}from"./index-DdsM_njZ.js";import{a as $}from"./core-3dlyNYRL.js";import{n as a,b as qt}from"./mui-bYXq4XMS.js";import{bi as Ce,fQ as Gt,fR as Qt}from"./zeni-epic-state-LPACxnXP.js";import{k as Kt}from"./SubTabSwitcher-DjEElTWE-BWM1ddey.js";import{f as Zt}from"./TransactionList-Dw78Q0Sx-Dd3Ecl2O.js";import{R as Jt}from"./TrendWithTransactions-C_T0I9xe-B2RFC6B8.js";import{o as Xt,t as es}from"./arrow-south-east-round-PEovUgvH-7DsZUZDF.js";import{W as ts}from"./LabeledAddressValueField-C_8kPzjy-B8qV6Urv.js";import{Y as ss}from"./LabeledDropDownFormattedTextField-CIQk7Jhu-DnZPHcAA.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"./BoxItem-CdqDzfZN-C4lBJFfu.js";import"./commonDimensions-znFHURNY-BYw9nu0T.js";import"./TrendChart-KnFi8NXQ-BLbRutmX.js";import"./chartTypes-vQ8GTDEq-Bzji-J7a.js";import"./toCOABalancesWithID-DeZfEmbT-BYnyj8Vs.js";import"./toChartData-KibzV7pa-BIBW1wkQ.js";import"./NoDataChart-BItQZAQ9-S55_3TEG.js";import"./InsightsSection-DuPqQb5Z-B1_CJ6S1.js";import"./NavigationDots-CT_oO_7z-ClcpkikJ.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-DdsM_njZ.js";import{a as C}from"./core-3dlyNYRL.js";import{w as f}from"./DomesticWireDetailsPage-DuKrVIAL-CvBecXsA.js";import"./mui-bYXq4XMS.js";import"./sentry-o6h_D-9x.js";import"./zeni-epic-state-LPACxnXP.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"./BankAccountSection-Chay7X-G-Z28HgbT-.js";import"./MagicLinkTitleSection-D2fXbnDV-CRSogR9y.js";import"./BankAccountWarningSection-CSChi1lw-BsQ6oo-h.js";import"./MailingDetailsSection-C6cVooC3-XQiKKaRJ.js";import"./LabeledAddressValueField-C_8kPzjy-B8qV6Urv.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,e as Ne,F as ne,a8 as Ae,d2 as U,hf as de,cB as ke,y as w,V as t,bz as Be,aK as Ee,ab as We,cE as C,o as s,cI as Me,h8 as Oe,g7 as Re,cM as qe,h9 as He,ha as Ge,cU as Ue,aO as Ke,cW as Ye,d3 as _e,u as c,_ as Je,bM as D,cz as Qe,hg as Ze,p as I,a as Xe,cf as et,ak as ce,eG as tt,hh as st,hi as lt,hj as q,d4 as it}from"./index-
|
|
1
|
+
import{Q as oe,e as Ne,F as ne,a8 as Ae,d2 as U,hf as de,cB as ke,y as w,V as t,bz as Be,aK as Ee,ab as We,cE as C,o as s,cI as Me,h8 as Oe,g7 as Re,cM as qe,h9 as He,ha as Ge,cU as Ue,aO as Ke,cW as Ye,d3 as _e,u as c,_ as Je,bM as D,cz as Qe,hg as Ze,p as I,a as Xe,cf as et,ak as ce,eG as tt,hh as st,hi as lt,hj as q,d4 as it}from"./index-DdsM_njZ.js";import{a as x}from"./core-3dlyNYRL.js";import{n as r}from"./mui-bYXq4XMS.js";import{Y as at}from"./LabeledDropDownFormattedTextField-CIQk7Jhu-DnZPHcAA.js";import"./sentry-o6h_D-9x.js";import"./zeni-epic-state-LPACxnXP.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";const te={largeLabelWidth:new w(160,210,230),paddingBottom:new w(c[3],c[2])},j=(e,i)=>`${e}.${i}`;function rt(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:M}){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:M,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:U(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=r.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,e as mn,a8 as et,h$ as Te,cB as nt,ax as On,i0 as re,i1 as xe,i2 as fe,i3 as be,i4 as me,F as je,V as n,hX 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,dn as ut,cq as ht,y as w,A as gt,C as Ne,o as t,aR as In,ak as De,aQ as wt,u as c,ag as Re,cv as vt,dt as Pn,bM as Pe,bf as Tn,cy as xt,bY as ft,dG as bt,b8 as Ye,br as pn,p as F,s as zn,gS as $t,dj as wn,c_ as rn,i5 as St,i6 as sn,an as yt,bQ as Fe,dQ as jt,ev as vn,bI as Rt,dv as Vt,n as xn,i7 as Ct,cO as kt,cW as Mt,cX as Nt,eA as Ot,al as Dn,i8 as It,bG as se,i9 as fn,gG as Pt,at as Tt,as as zt,du as Dt,b as Ln,B as Lt,c as _t,aT as dn}from"./index-
|
|
1
|
+
import{Q as ae,av as Nn,e as mn,a8 as et,h$ as Te,cB as nt,ax as On,i0 as re,i1 as xe,i2 as fe,i3 as be,i4 as me,F as je,V as n,hX 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,dn as ut,cq as ht,y as w,A as gt,C as Ne,o as t,aR as In,ak as De,aQ as wt,u as c,ag as Re,cv as vt,dt as Pn,bM as Pe,bf as Tn,cy as xt,bY as ft,dG as bt,b8 as Ye,br as pn,p as F,s as zn,gS as $t,dj as wn,c_ as rn,i5 as St,i6 as sn,an as yt,bQ as Fe,dQ as jt,ev as vn,bI as Rt,dv as Vt,n as xn,i7 as Ct,cO as kt,cW as Mt,cX as Nt,eA as Ot,al as Dn,i8 as It,bG as se,i9 as fn,gG as Pt,at as Tt,as as zt,du as Dt,b as Ln,B as Lt,c as _t,aT as dn}from"./index-DdsM_njZ.js";import{a as f,c as At}from"./core-3dlyNYRL.js";import{n as o,b as cn}from"./mui-bYXq4XMS.js";import{ea as Bt,fY as Ft}from"./zeni-epic-state-LPACxnXP.js";import{P as Et}from"./Menu-D_6Dje0H-BZ0tGHak.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";const _n=({steps:e})=>{const s=ae();return n.jsx(Wt,{windowSize:s,children:e.map((m,d)=>n.jsxs(Ut,{children:[n.jsx(Gt,{children:d!==e.length-1?d+1:n.jsx(Ht,{})}),n.jsx(Qt,{children:m}),d<e.length-1?n.jsx(qt,{}):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,d2 as le,d3 as Ce,o as y,b7 as $e,cO as oe,e as ne,d4 as De,d5 as Y,cU as G,a$ as H,cE as Te,d6 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,d2 as le,d3 as Ce,o as y,b7 as $e,cO as oe,e as ne,d4 as De,d5 as Y,cU as G,a$ as H,cE as Te,d6 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-DdsM_njZ.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-LPACxnXP.js";import{W as ze,A as Ie}from"./BankAccountWarningSection-CSChi1lw-BsQ6oo-h.js";import{T as Re}from"./MailingDetailsSection-C6cVooC3-XQiKKaRJ.js";import{S as Pe}from"./CurrencySelectField-ksMvik33-X-oQzLxm.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"./LabeledAddressValueField-C_8kPzjy-B8qV6Urv.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-DdsM_njZ.js";import{a as B}from"./core-3dlyNYRL.js";import{f as u}from"./InternationalWireSwiftDetailsPage-BUa1svL--D_p9pN5U.js";import"./mui-bYXq4XMS.js";import"./sentry-o6h_D-9x.js";import"./zeni-epic-state-LPACxnXP.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"./BankAccountWarningSection-CSChi1lw-BsQ6oo-h.js";import"./MailingDetailsSection-C6cVooC3-XQiKKaRJ.js";import"./LabeledAddressValueField-C_8kPzjy-B8qV6Urv.js";import"./MagicLinkTitleSection-D2fXbnDV-CRSogR9y.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,e as oe,F as te,y as c,gz as w,aS as k,V as i,hP as g,hO as m,o as n,B as re,p as ne,dA as se,ag as le,u as a}from"./index-
|
|
1
|
+
import{Q as ie,e as oe,F as te,y as c,gz as w,aS as k,V as i,hP as g,hO as m,o as n,B as re,p as ne,dA as se,ag as le,u as a}from"./index-DdsM_njZ.js";import{n as l}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},I={title:new re("standardMedium","largeMedium")},de=l.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 W,a9 as d,ab as B,bQ as G,ag as f,bR as Q,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 W,a9 as d,ab as B,bQ as G,ag as f,bR as Q,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-DdsM_njZ.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-LPACxnXP.js";import{A as Y,Z as k}from"./AccountLockedInfoModal-iYb31wv7-BVoKu5K7.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"./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,F=2,re="456px",te="256px",T=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===T&&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(W,{open:!0,children:r.jsxs(ne,{children:[r.jsx(d,{controller:$>F,children:r.jsx(Y,{unlockDate:K().add(1,"hour"),onSubmit:e.onCancelVerifyDevice})}),r.jsx(d,{controller:$<=F,children:r.jsx(B,{...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(G,{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(Q,{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!==T||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
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-B5y9n_ef.js","assets/zeni-epic-state-LPACxnXP.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-XNBiWrYj.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`
|
|
2
|
+
import{Q as W,V as f,an as X,p as Y}from"./index-DdsM_njZ.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`
|
|
3
3
|
0% {
|
|
4
4
|
transform: rotate(0deg);
|
|
5
5
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{Q as l,V as i,an as s,aK as a,p as c,o as n,y as r}from"./index-
|
|
1
|
+
import{Q as l,V as i,an as s,aK as a,p as c,o as n,y as r}from"./index-DdsM_njZ.js";import{n as t}from"./mui-bYXq4XMS.js";import{N as h}from"./VideoPlayer-_1Msrww9-DzCjuwYG.js";const d={width:new r(300,770,770),height:new r(195,500,500)},p=t.div`
|
|
2
2
|
position: fixed;
|
|
3
3
|
top: 0;
|
|
4
4
|
left: 0;
|