@zeniai/web-cockpit-ui 1.15.53-qa → 1.15.54-dev
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/assets/{ACHDetailsPage-D2Xav-UW-_MS3Dbs8.js → ACHDetailsPage-D2Xav-UW-Qg9KmM1J.js} +1 -1
- package/dist/assets/{AIPerformancePage-DlTdGosv-D9K7xeED.js → AIPerformancePage-DlTdGosv-Cm3Mp4Ij.js} +1 -1
- package/dist/assets/{AccountInfoPage-B8-8kUGD-tlC0Bi2R.js → AccountInfoPage-B8-8kUGD-BasVn8pp.js} +1 -1
- package/dist/assets/{AccountInfoPageContent-BS2TBUSE-CM1jjEAn.js → AccountInfoPageContent-BS2TBUSE-CLPMkGHT.js} +1 -1
- package/dist/assets/{AccountLockedInfoModal-aukulrV7-7E9I77o3.js → AccountLockedInfoModal-aukulrV7-B3RnytHh.js} +1 -1
- package/dist/assets/{AccountReconDetailsDrawerPage-kQJld6_N-BEIicJSf.js → AccountReconDetailsDrawerPage-kQJld6_N-BI4KDB6U.js} +3 -3
- package/dist/assets/{AccountRow-BiEYR4Y1-K1NDuQb6.js → AccountRow-BiEYR4Y1-C9bV-VJJ.js} +1 -1
- package/dist/assets/{AccountsPromoCardStack-DBQnDPXQ-D2qv7EpN.js → AccountsPromoCardStack-DBQnDPXQ-BC7xAkRe.js} +6 -6
- package/dist/assets/{AddAddressForCardDrawer-DTnfk8K7-CatvMLJa.js → AddAddressForCardDrawer-DTnfk8K7-BreM9Gsb.js} +1 -1
- package/dist/assets/{AddToWalletPage-C4EwdLZJ-Dbo52T5y.js → AddToWalletPage-C4EwdLZJ-VBws5aqc.js} +11 -11
- package/dist/assets/{AgingReportsPage-vAvkUfOS-DOtieopz.js → AgingReportsPage-vAvkUfOS-DFuQAC2I.js} +1 -1
- package/dist/assets/{AllUserItems-qrYg6Gdx-DGLMc4Ea.js → AllUserItems-qrYg6Gdx-B3OIKnJo.js} +1 -1
- package/dist/assets/{ApAgingDetailPage-BRYQMwo2-Bx1uK2ID.js → ApAgingDetailPage-BRYQMwo2-CYZVbNYW.js} +1 -1
- package/dist/assets/{AppBasePage-DrE-W6d7-BLasnT39.js → AppBasePage-DrE-W6d7-CTdjVQGy.js} +1 -1
- package/dist/assets/{AppDrawerContent-ATbZG_cu-B0p0REDy.js → AppDrawerContent-ATbZG_cu-Ddm9lxLJ.js} +1 -1
- package/dist/assets/{ApprovalRulesSettingsPage-5MYC1I6k-29gx1_sx.js → ApprovalRulesSettingsPage-5MYC1I6k-Cc66UBZg.js} +6 -6
- package/dist/assets/{ArAgingChart-CuzG9AZY-sMoSQKQM.js → ArAgingChart-CuzG9AZY-zbnvDcY1.js} +1 -1
- package/dist/assets/{ArAgingDetailPage-DwRkcLEu-BbH7utAd.js → ArAgingDetailPage-DwRkcLEu-DRFArK6d.js} +1 -1
- package/dist/assets/{AttachmentView-BrQRChzc-BPL0XTAx.js → AttachmentView-BrQRChzc-uiw2DPZW.js} +1 -1
- package/dist/assets/{BankAccountSection-hcKEMs80-BU43XCzu.js → BankAccountSection-hcKEMs80-B_7x03fQ.js} +1 -1
- package/dist/assets/{BankAccountWarningSection-CpxVDMSZ-Cd0VrLFE.js → BankAccountWarningSection-CpxVDMSZ-CzExELRC.js} +1 -1
- package/dist/assets/{BankConnectionsSettingsPage-Bdw1K00m-CTp0Zcax.js → BankConnectionsSettingsPage-Bdw1K00m-DccCEkIk.js} +1 -1
- package/dist/assets/{BillDetailPage-D0NLFZXA-BhmSttsy.js → BillDetailPage-D0NLFZXA-CnaW9EO9.js} +1 -1
- package/dist/assets/{BillPayApprovalRuleDetailPage-DkpCvYvo-DZUsIMzm.js → BillPayApprovalRuleDetailPage-DkpCvYvo-CT0Os_Zy.js} +1 -1
- package/dist/assets/{BillPayApprovalRulesPage-BEqZD0GU-BNM0CL1U.js → BillPayApprovalRulesPage-BEqZD0GU-CdjJT8mp.js} +1 -1
- package/dist/assets/{BillPayPromoPage-BMcP4EU5-a_ssGz0T.js → BillPayPromoPage-BMcP4EU5-CfE2_TGE.js} +6 -6
- package/dist/assets/{BillPaySetUpPage-WdEdbf16-TkqOuwgT.js → BillPaySetUpPage-WdEdbf16-BMLL6j3q.js} +1 -1
- package/dist/assets/{BillingSettingsPage-GtRUqSZm-CrfYbiy6.js → BillingSettingsPage-GtRUqSZm-CJIarZd-.js} +1 -1
- package/dist/assets/{BillsBulkReviewDrawerPage-DAUoo9pq-DNap9DWO.js → BillsBulkReviewDrawerPage-DAUoo9pq-DGXSx6AQ.js} +1 -1
- package/dist/assets/{BoxItem-CACRFWG2-BB7KWtP2.js → BoxItem-CACRFWG2-DUMZBWzz.js} +1 -1
- package/dist/assets/{BusinessVerificationPage-9gZbBDL6-BPjZUS_X.js → BusinessVerificationPage-9gZbBDL6-BiZWXFlI.js} +2 -2
- package/dist/assets/{CardNumberSubText-C-oVdziK-DsJNwxlk.js → CardNumberSubText-C-oVdziK-CNdm0o_p.js} +1 -1
- package/dist/assets/{CashbackDetailPage-BhFKSl4p-DfOrkK1f.js → CashbackDetailPage-BhFKSl4p-Dkaiw9E_.js} +1 -1
- package/dist/assets/{ChargeCardDetailPage-D8J6HINu-CNRhhw1b.js → ChargeCardDetailPage-D8J6HINu-BHr_Yylr.js} +26 -26
- package/dist/assets/{ChargeCardListPage-tdUKyHdz-CVk9IeAy.js → ChargeCardListPage-tdUKyHdz-BPbUlj_4.js} +1 -1
- package/dist/assets/{ChargeCardListTable-CByk3iqX-BZfvVsAb.js → ChargeCardListTable-CByk3iqX-BT6o3vDc.js} +1 -1
- package/dist/assets/{ChargeCardPaymentHistoryPage-B8zRcrjo-Bm08l8mB.js → ChargeCardPaymentHistoryPage-B8zRcrjo-BwhMfhXy.js} +1 -1
- package/dist/assets/{ChargeCardPromoPage-C4cgx2gm-X_f8Uw2k.js → ChargeCardPromoPage-C4cgx2gm-CcfcnQop.js} +14 -14
- package/dist/assets/{ChargeCardSetupPage-DtwiTNKA-D_Cn2vhP.js → ChargeCardSetupPage-DtwiTNKA-ChAdhbCU.js} +1 -1
- package/dist/assets/{ChargeCardStatementsPage-B0KPw52e-RetYFPUe.js → ChargeCardStatementsPage-B0KPw52e-CCgT_BKu.js} +1 -1
- package/dist/assets/{CheckDepositDrawerPage-DKNAXI77-CREWt2i7.js → CheckDepositDrawerPage-DKNAXI77-C7lds4J9.js} +1 -1
- package/dist/assets/{CollapsableReportTable-Cq8bhaYC-C9u2JLOd.js → CollapsableReportTable-Cq8bhaYC-Ujx1GJOf.js} +1 -1
- package/dist/assets/{CompanyOfficerDetailsSection-Rk0B5cB5-Diddq3D6.js → CompanyOfficerDetailsSection-Rk0B5cB5-C0IZ5szF.js} +1 -1
- package/dist/assets/{CompanyPassportCard-CHaKk74P-CcDYfW2A.js → CompanyPassportCard-CHaKk74P-BVtbTVag.js} +1 -1
- package/dist/assets/{CompanyPassportPage-DXWXFFKM-6Dbnjn3d.js → CompanyPassportPage-DXWXFFKM-D9MC_Bo-.js} +1 -1
- package/dist/assets/{CompleteProfile-ChaWsK6t-B97QNuLL.js → CompleteProfile-ChaWsK6t-bu0jnc14.js} +1 -1
- package/dist/assets/{ConfettiBurst-CdB5fRMt-CoqJmaBB.js → ConfettiBurst-CdB5fRMt-CIzjwHnv.js} +1 -1
- package/dist/assets/{ConstrainedInnerElement-BeIpAPjB-2nYINCi5.js → ConstrainedInnerElement-BeIpAPjB-Cv6zV673.js} +1 -1
- package/dist/assets/{CreateOrEditVendorPage-C_8Jqubo-DZRxOCTJ.js → CreateOrEditVendorPage-C_8Jqubo-CWou3-7a.js} +1 -1
- package/dist/assets/{CreditCardPaymentDrawerPage-lOjOtk28-D4Z9YuFI.js → CreditCardPaymentDrawerPage-lOjOtk28-tK9qUV-H.js} +1 -1
- package/dist/assets/{CurrencySelectField-BDqU4HVy-x6dsjsw1.js → CurrencySelectField-BDqU4HVy-DwEarU92.js} +1 -1
- package/dist/assets/{CustomerOnboardingActivationPage-DO6NCakm-jfd_UipR.js → CustomerOnboardingActivationPage-DO6NCakm-t-JLGbfV.js} +1 -1
- package/dist/assets/CustomerOnboardingContainerPage-CckCX7Vt-BRE4lysv.js +1 -0
- package/dist/assets/{CustomerOnboardingDetailPageSkeleton-BYXyF1CQ-D4L9yqKc.js → CustomerOnboardingDetailPageSkeleton-BYXyF1CQ-D-s8t6ri.js} +1 -1
- package/dist/assets/{CustomerOnboardingNoStepsPage-CbG5WshV-C0cIUA33.js → CustomerOnboardingNoStepsPage-CbG5WshV-gJc5SJgc.js} +1 -1
- package/dist/assets/{CustomerOnboardingPage-DyVyf8oK-P_Vvk1ga.js → CustomerOnboardingPage-DyVyf8oK-_9gyCcxN.js} +1 -1
- package/dist/assets/{CustomerOnboardingProductSuitePage-1F3JfCRp-CjetVE6h.js → CustomerOnboardingProductSuitePage-1F3JfCRp-C_uN4HgV.js} +1 -1
- package/dist/assets/{Dashboard-Csggwob0-XGLjB31v.js → Dashboard-Csggwob0-CkKOxFPp.js} +1 -1
- package/dist/assets/{DashboardReportPage-DFIdi_I0-DOBj8BM6.js → DashboardReportPage-DFIdi_I0-B1mTyLry.js} +1 -1
- package/dist/assets/{DashboardSidebarBackgroundAnimation-C3Ovv-ob-BHKaXSba.js → DashboardSidebarBackgroundAnimation-C3Ovv-ob-B5OP-B4I.js} +1 -1
- package/dist/assets/{DepositAccTransactionItem-CZ7v1T4S-CYNI8YhK.js → DepositAccTransactionItem-CZ7v1T4S-CQvhxMi2.js} +1 -1
- package/dist/assets/{DepositAccTransactionListPage-FldPGX6K-CZ6j7jLe.js → DepositAccTransactionListPage-FldPGX6K-C_uA3w3F.js} +1 -1
- package/dist/assets/{DomesticWireDetailsPage-C--eZ-UG-BVeDTM8b.js → DomesticWireDetailsPage-C--eZ-UG-Mxsf66Bz.js} +1 -1
- package/dist/assets/{DownloadOverlay-4f9deyJS-EICSDMoH.js → DownloadOverlay-4f9deyJS-BSI2hAvk.js} +1 -1
- package/dist/assets/{DrawerPage-roO3xvRT-M0GBNoWH.js → DrawerPage-roO3xvRT-CGGhEL5F.js} +1 -1
- package/dist/assets/{EditPeoplePage-pi5RclAj-CKnQT0Ux.js → EditPeoplePage-pi5RclAj-pfYPT_VC.js} +3 -3
- package/dist/assets/{EditReimbursementDetailPage-CIUcImns-CVxoM56o.js → EditReimbursementDetailPage-CIUcImns-DcoVubyD.js} +1 -1
- package/dist/assets/{EntityDetailPage-OTKTVNMD-DMHVkS2a.js → EntityDetailPage-OTKTVNMD-adwqIyWQ.js} +1 -1
- package/dist/assets/{EntitySummarySection-fBL4TZpT-BFju8nQm.js → EntitySummarySection-fBL4TZpT-D7wkgp-a.js} +1 -1
- package/dist/assets/{ExpenseAutomationOverviewPage-CnhNINCc-CxNxg9dU.js → ExpenseAutomationOverviewPage-CnhNINCc-Dli7RRLy.js} +1 -1
- package/dist/assets/{ExpenseAutomationPage-BDLCJbFw-KqztxljN.js → ExpenseAutomationPage-BDLCJbFw-1KO3CMej.js} +1 -1
- package/dist/assets/{ExpressPayPage-c8oTCnBR-B-HoySFx.js → ExpressPayPage-c8oTCnBR-BXmzf5Uy.js} +1 -1
- package/dist/assets/{FeaturePreviewPage-DkiAajs2-BJcd_edm.js → FeaturePreviewPage-DkiAajs2-IydRKNFw.js} +1 -1
- package/dist/assets/{FollowStepsSection-GaWu1kt9-Dac8UX-h.js → FollowStepsSection-GaWu1kt9-BVHL41Jb.js} +1 -1
- package/dist/assets/{GlobalReviewListPage-DEzj0RVG-BWMVJIHc.js → GlobalReviewListPage-DEzj0RVG-nBOLLb61.js} +1 -1
- package/dist/assets/{InformationCardStack-dMFbHUWM-G7a-UMJS.js → InformationCardStack-dMFbHUWM-C2wRbB6p.js} +1 -1
- package/dist/assets/{InsightsCardStack-BlXkyuyz-7zwNqnyc.js → InsightsCardStack-BlXkyuyz-B4OX5_7l.js} +1 -1
- package/dist/assets/{InsightsSection-D-oCmrir-zwdAlcVd.js → InsightsSection-D-oCmrir-BSx2VeKU.js} +1 -1
- package/dist/assets/{IntegrationsSettingsPage-D-hfghuq-BVcofzzj.js → IntegrationsSettingsPage-D-hfghuq-Bp-0H88m.js} +1 -1
- package/dist/assets/{InternationalWireSwiftDetailsPage-DxdKE300-BAhiCZtA.js → InternationalWireSwiftDetailsPage-DxdKE300-DHFTD16I.js} +1 -1
- package/dist/assets/{InternationalWireVerificationPage-CkSmhOrS-DEyLBA5A.js → InternationalWireVerificationPage-CkSmhOrS-CVsCnKKl.js} +1 -1
- package/dist/assets/{InviteFormPage-BCdalqtP-DvWknn44.js → InviteFormPage-BCdalqtP-DKh7L2Sm.js} +1 -1
- package/dist/assets/{InvitePageListView-B88FW48q-Bm3QF_Yx.js → InvitePageListView-B88FW48q-CXkqQYlA.js} +1 -1
- package/dist/assets/{InvitePeoplePage-Z-2L7lWc-DFev5HvB.js → InvitePeoplePage-Z-2L7lWc-CK4VlvZI.js} +4 -4
- package/dist/assets/{InvoiceUploadSection-C8hytmay-B9oVp1v8.js → InvoiceUploadSection-C8hytmay-BLOWx67x.js} +1 -1
- package/dist/assets/{IssueChargeCardPage-B6wmvbEr-Bl83LR42.js → IssueChargeCardPage-B6wmvbEr-DXeeJUlY.js} +1 -1
- package/dist/assets/{LabeledAddressValue-CQrDCgNs-ngfVs4C6.js → LabeledAddressValue-CQrDCgNs-pzINZxmu.js} +1 -1
- package/dist/assets/{LabeledAddressValueField-BoHS44YO-Bob3pkds.js → LabeledAddressValueField-BoHS44YO-DTrVpXEk.js} +1 -1
- package/dist/assets/{LabeledControlledCheckBoxField-BsFqjCpn-CKjTDhsz.js → LabeledControlledCheckBoxField-BsFqjCpn-D3fNKAIX.js} +1 -1
- package/dist/assets/{LabeledCountryMultiSelectField-D1fVDYR_-pKkP60Kn.js → LabeledCountryMultiSelectField-D1fVDYR_-CyehacHQ.js} +1 -1
- package/dist/assets/{LabeledCreatableSingleSelectField-Bhka-Faj-CCFbRNWN.js → LabeledCreatableSingleSelectField-Bhka-Faj-j-LA5cB8.js} +1 -1
- package/dist/assets/{LabeledDocumentField-CnRk5aKZ-CWrIkusZ.js → LabeledDocumentField-CnRk5aKZ-BLPH0bCm.js} +1 -1
- package/dist/assets/{LabeledDropDownFormattedTextField-ChgtJqPr-BeTvOZvm.js → LabeledDropDownFormattedTextField-ChgtJqPr-iLOroUl9.js} +1 -1
- package/dist/assets/{LabeledText-2EDpuXZ4-BfAHyQUy.js → LabeledText-2EDpuXZ4-D9Lc7z1n.js} +1 -1
- package/dist/assets/{LabeledUserSingleSelectWithSubtitlesField-CZbyOdRR-Ca3kyKh2.js → LabeledUserSingleSelectWithSubtitlesField-CZbyOdRR-BU13Lrvj.js} +1 -1
- package/dist/assets/{LabeledZeniRolesDropDownField-CpH0eDWO-CWb7Poua.js → LabeledZeniRolesDropDownField-CpH0eDWO-Cxup6JwI.js} +8 -8
- package/dist/assets/{LinkJETransactionPage-BhV2MnCY-B93FExBV.js → LinkJETransactionPage-BhV2MnCY-DFTRCWhL.js} +1 -1
- package/dist/assets/{LockCardPage-CHv1xi2J-D9zH1CYi.js → LockCardPage-CHv1xi2J-BWG37HMS.js} +6 -6
- package/dist/assets/{LowBalancePopup-Cb55PGLc-DJaQ2d7B.js → LowBalancePopup-Cb55PGLc-C8NZMVGO.js} +6 -6
- package/dist/assets/{MagicLinkACHDetailsPage-Dnp01hnF-DLEv4Hck.js → MagicLinkACHDetailsPage-Dnp01hnF-4f89SlZa.js} +1 -1
- package/dist/assets/{MagicLinkDomesticWireDetailsPage-B36rsikS-ByxlZ4Q4.js → MagicLinkDomesticWireDetailsPage-B36rsikS-LLMqNHY7.js} +1 -1
- package/dist/assets/{MagicLinkInternationalWireDetailsPage-Zo4oNZez-DuN7y5fH.js → MagicLinkInternationalWireDetailsPage-Zo4oNZez-DDiVUQRg.js} +1 -1
- package/dist/assets/{MagicLinkSuccessPage-09NLbjFG-ZnMng-Jj.js → MagicLinkSuccessPage-09NLbjFG-CW-X5RMu.js} +1 -1
- package/dist/assets/{MagicLinkTitleSection-BA-i6vzA-_69P063R.js → MagicLinkTitleSection-BA-i6vzA-CYBavCDH.js} +1 -1
- package/dist/assets/{MailingDetailsSection-EwtoQ2TZ-ifrSOG66.js → MailingDetailsSection-EwtoQ2TZ-LI0y4mBJ.js} +1 -1
- package/dist/assets/{MyBankConnectionsSettingsPage-Aer6AWxY-BE-Q6nRH.js → MyBankConnectionsSettingsPage-Aer6AWxY-CuyPBRvz.js} +1 -1
- package/dist/assets/{MyPendingActivationChargeCardListPage-Ddy4bAEY-Di4ZO52Y.js → MyPendingActivationChargeCardListPage-Ddy4bAEY-CWM80C9z.js} +2 -2
- package/dist/assets/{MyProfileSettingsPage-DMz-6h9F-CuhazKF_.js → MyProfileSettingsPage-DMz-6h9F-CeEAIQ0T.js} +1 -1
- package/dist/assets/{NavBarWithPicker-D8WNahg--kgpFMbZJ.js → NavBarWithPicker-D8WNahg--ZQJt0jhX.js} +1 -1
- package/dist/assets/{NavigationArrow-kQWS5Pzb-Bn2gzJsz.js → NavigationArrow-kQWS5Pzb-Bmz73CyZ.js} +1 -1
- package/dist/assets/{NavigationDots-BQb_Fodq-C676OOhh.js → NavigationDots-BQb_Fodq-DGHg-XPw.js} +1 -1
- package/dist/assets/{NewGlobalMerchantPage-z86XZorn-BI7ZaiJs.js → NewGlobalMerchantPage-z86XZorn-72MLj5sA.js} +1 -1
- package/dist/assets/{NoDataChart-CyYJ6icu-UFnH1bQE.js → NoDataChart-CyYJ6icu-BGrJ0dxK.js} +1 -1
- package/dist/assets/{NoDataTable-DVe7sQhD-ugfGxCQf.js → NoDataTable-DVe7sQhD-D01UQalg.js} +1 -1
- package/dist/assets/{NotFoundPage-B1XCmhSe-DebnEALd.js → NotFoundPage-B1XCmhSe-ClJov-vk.js} +1 -1
- package/dist/assets/{NotificationSettingsPage-BaN20EGV-CxWiSCH2.js → NotificationSettingsPage-BaN20EGV-CRbziqST.js} +12 -12
- package/dist/assets/{NotificationsListConfig-BOW_TmPC-Cu2orVJH.js → NotificationsListConfig-BOW_TmPC-D3PYkPzl.js} +1 -1
- package/dist/assets/{NotificationsPage-C9efAgjo-bD9M0hhw.js → NotificationsPage-C9efAgjo-RjPyyT0q.js} +1 -1
- package/dist/assets/{OpExByVendorPage-DXeBU3-z-Bu6l0TiB.js → OpExByVendorPage-DXeBU3-z-DOskH6tO.js} +1 -1
- package/dist/assets/{OverlayContainerPage-D4QU0p4o-Dxo8qiAq.js → OverlayContainerPage-D4QU0p4o-DfcYfj9I.js} +1 -1
- package/dist/assets/{PandLWithForecastPage-CXtJhnA_-Vc_lT7Bs.js → PandLWithForecastPage-CXtJhnA_-DiIco4Yi.js} +2 -2
- package/dist/assets/{PaymentAccountSetupBillingAddressSection-Deb_ngk6-kTC9f4zM.js → PaymentAccountSetupBillingAddressSection-Deb_ngk6-VwXepOfB.js} +1 -1
- package/dist/assets/{PeoplePage-DXC2CtOt-jglRXuAU.js → PeoplePage-DXC2CtOt-Bdp4QywP.js} +13 -13
- package/dist/assets/{Preview-DLSswg8i.js → Preview-C_scJ0LA.js} +1 -1
- package/dist/assets/{ProductsCarousel-ufZlh7Rx-QxXMcnzU.js → ProductsCarousel-ufZlh7Rx-CVm981GO.js} +1 -1
- package/dist/assets/{PromoBaseCards-D2UbhBhT-CKuo_xyF.js → PromoBaseCards-D2UbhBhT-uOFnp-4I.js} +1 -1
- package/dist/assets/{QBOConnectionDialog-BrQ71F06-BxGAQN3l.js → QBOConnectionDialog-BrQ71F06-AzQWwAtU.js} +1 -1
- package/dist/assets/{QBOSetupSection-EOFscEW--caOZ4mOT.js → QBOSetupSection-EOFscEW--NVc0ejxZ.js} +1 -1
- package/dist/assets/{ReimbursementApprovalRuleDetailPage-C-HPI4Ng-HGqK4_6T.js → ReimbursementApprovalRuleDetailPage-C-HPI4Ng-D-iB_52F.js} +1 -1
- package/dist/assets/{ReimbursementApprovalRulesPage-CMpYn5y_-BDImgN8u.js → ReimbursementApprovalRulesPage-CMpYn5y_-ClImBwJb.js} +1 -1
- package/dist/assets/{ReimbursementDetailPage-CfmICHZb-DCELL3Jj.js → ReimbursementDetailPage-CfmICHZb-elcZOrMn.js} +1 -1
- package/dist/assets/{ReimbursementPromoPage-DXTAY8c7-DVYIUiIc.js → ReimbursementPromoPage-DXTAY8c7-7C3gCnRu.js} +4 -4
- package/dist/assets/{ReimbursementSetUpPage-KrGPXTCb-DljBAjp7.js → ReimbursementSetUpPage-KrGPXTCb-DQ-XytVS.js} +1 -1
- package/dist/assets/{ReimbursementsBulkReviewDrawerPage-l2mYNEKn-Br80Kz3u.js → ReimbursementsBulkReviewDrawerPage-l2mYNEKn-CZfr1E1q.js} +1 -1
- package/dist/assets/{ReloadCard-vAhL7B8U-Cgus7erx.js → ReloadCard-vAhL7B8U-C7D11pQg.js} +1 -1
- package/dist/assets/{ReportTableViewSelector-Y97ney3W-D7F8Figc.js → ReportTableViewSelector-Y97ney3W-jWWgIP_J.js} +1 -1
- package/dist/assets/{ReportsPage-DKM0gVzR-nmSyduXP.js → ReportsPage-DKM0gVzR-sNMocqQY.js} +1 -1
- package/dist/assets/{RevenueChart-BEjDS1u4-CSVYKV0y.js → RevenueChart-BEjDS1u4-C3yac_pt.js} +1 -1
- package/dist/assets/{ReviewDetailsPage-BlQLrN9z-BnfRtnTo.js → ReviewDetailsPage-BlQLrN9z-Dh8B7Ysm.js} +6 -6
- package/dist/assets/{ReviewOverlay-Bn3TFqfi-fhFFeQ61.js → ReviewOverlay-Bn3TFqfi-D6E2loSx.js} +1 -1
- package/dist/assets/{RoleWithToolTip-DhBFvJea-gODf7-hE.js → RoleWithToolTip-DhBFvJea-Dgz4vQkX.js} +1 -1
- package/dist/assets/{ScheduleDetailsFixedAssetsPage-BMkFjf9Y-k5-sEVqH.js → ScheduleDetailsFixedAssetsPage-BMkFjf9Y-DwpSWYLV.js} +3 -3
- package/dist/assets/{ScheduleDetailsPage-BP0wdtoP-CAXsoeUv.js → ScheduleDetailsPage-BP0wdtoP-CjgxsIYK.js} +3 -3
- package/dist/assets/{ScheduleSequenceTable-D-rZ4ftr-kGWch2W0.js → ScheduleSequenceTable-D-rZ4ftr-aitk-8Mk.js} +1 -1
- package/dist/assets/{ScreenRoutes-BrIM8A1p.js → ScreenRoutes-BLEdjKb7.js} +1 -1
- package/dist/assets/{SetUpAccountSection-CoVrSSYL-BirtNl9h.js → SetUpAccountSection-CoVrSSYL-DiujdYoE.js} +1 -1
- package/dist/assets/{SignIn-BoAejo7r-DhkZ2CuU.js → SignIn-BoAejo7r-PuJlj8Mq.js} +6 -6
- package/dist/assets/{SignInScreen-q7f54phH.js → SignInScreen-B_VXRHI7.js} +1 -1
- package/dist/assets/{SpendManagementListViewPage-D3eISFuA-CJycx0Zc.js → SpendManagementListViewPage-D3eISFuA-COuHisVc.js} +7 -7
- package/dist/assets/{SpendManagementPerTabPage-BWDjZyLp-BUgMzHX3.js → SpendManagementPerTabPage-BWDjZyLp-RbFC5Do1.js} +34 -34
- package/dist/assets/{SpendManagementSection-D8rBpC-y-Lugdskyo.js → SpendManagementSection-D8rBpC-y-DQQhx2Xa.js} +7 -7
- package/dist/assets/{StatementItem-Cu6dlAsl-DerHhv3i.js → StatementItem-Cu6dlAsl-BerGXuRv.js} +1 -1
- package/dist/assets/{StatementsPage-DiY2BOcu-DFQww83X.js → StatementsPage-DiY2BOcu-BxFY6ioB.js} +1 -1
- package/dist/assets/{StatusSwitcher-B9MARTyR-Bd4MBQeV.js → StatusSwitcher-B9MARTyR-DmEculcy.js} +1 -1
- package/dist/assets/{SubTabSwitcher-C3rtSwro-BFXLgQG1.js → SubTabSwitcher-C3rtSwro-CD-oYAPp.js} +1 -1
- package/dist/assets/{SummaryCard-CShVbqhj-g8V_c36y.js → SummaryCard-CShVbqhj-C6jVeTIc.js} +1 -1
- package/dist/assets/{TaskManagementPage-RVS8nv0n-sq8H_E-9.js → TaskManagementPage-RVS8nv0n-COwnCLsL.js} +13 -13
- package/dist/assets/{TimeRangeSwitcher-DFnX6_WT-BmsC8wpz.js → TimeRangeSwitcher-DFnX6_WT-BAyfgggy.js} +1 -1
- package/dist/assets/{TimeframeSwitcher-CW08yYgo-Byy81mMi.js → TimeframeSwitcher-CW08yYgo-8vdqQbDR.js} +1 -1
- package/dist/assets/{TimeframeSwitcherWithToggle-DJOCWqpZ-BP_yz81G.js → TimeframeSwitcherWithToggle-DJOCWqpZ-utPOZmzZ.js} +1 -1
- package/dist/assets/{TopExCard-dI_WEGWb-DHrASS4Q.js → TopExCard-dI_WEGWb-DQ0a1B-p.js} +1 -1
- package/dist/assets/{TopExDetailPage-BWy5E8Lp-DosxAD6z.js → TopExDetailPage-BWy5E8Lp-CH3uXpM1.js} +1 -1
- package/dist/assets/{TransactionActivityLogPage-DjhEIUYm-CTSUyijq.js → TransactionActivityLogPage-DjhEIUYm-B9IfdM5q.js} +1 -1
- package/dist/assets/{TransactionDetailPage-CuxqQd8U-Dt1rWnVY.js → TransactionDetailPage-CuxqQd8U-C7HaHQgc.js} +1 -1
- package/dist/assets/{TransactionList-80KjM8Kg-BHuPkwXo.js → TransactionList-80KjM8Kg-yWcw7Xvy.js} +1 -1
- package/dist/assets/{TransactionListBig-DWQXH4ID-B3DGuMye.js → TransactionListBig-DWQXH4ID-DwDp-KdB.js} +4 -4
- package/dist/assets/{TransactionListPage-DC08rCC9-Bhjoj0pu.js → TransactionListPage-DC08rCC9-D3Cy0p7j.js} +1 -1
- package/dist/assets/{TransactionVendorDetailPage-CzfJ5b_3-DueE_9zr.js → TransactionVendorDetailPage-CzfJ5b_3-BoWlXDih.js} +1 -1
- package/dist/assets/{TransferDrawerPage-6z-MoZZP-BlfKQ7hb.js → TransferDrawerPage-6z-MoZZP-Bu91SQjn.js} +1 -1
- package/dist/assets/{TreasuryOverviewPage-CF_ter0o-BgOTd3mX.js → TreasuryOverviewPage-CF_ter0o-C4V908yo.js} +1 -1
- package/dist/assets/{TreasuryPromoPage-Do-PTcjI-hteu9yQt.js → TreasuryPromoPage-Do-PTcjI-BhpVWXqG.js} +1 -1
- package/dist/assets/{TreasuryStatementsPage-l_HC4zsb-CTgkSfj0.js → TreasuryStatementsPage-l_HC4zsb-OlwbyynI.js} +1 -1
- package/dist/assets/{TreasuryTaxLetterPage-B8YxWytK-D64UM-OT.js → TreasuryTaxLetterPage-B8YxWytK-D7CPKEkg.js} +1 -1
- package/dist/assets/{TrendChart-C6B61CAm-bXXragiZ.js → TrendChart-C6B61CAm-siwog8qJ.js} +1 -1
- package/dist/assets/{TrendWithTransactions-Bp3vhaPa-ZS_RG_DW.js → TrendWithTransactions-Bp3vhaPa-e76VZDlM.js} +1 -1
- package/dist/assets/{UncategorizedAccountsMappingPage-cbFqKAv4-tfpQdIjx.js → UncategorizedAccountsMappingPage-cbFqKAv4-_N19TXgF.js} +6 -6
- package/dist/assets/{UnitIntegrationPage-DZ0ZpE5p-Bjt3mIfH.js → UnitIntegrationPage-DZ0ZpE5p-C8dxwLt9.js} +1 -1
- package/dist/assets/{UploadAdditionalDocumentOverlay-BKY6hK51-BjoPNevN.js → UploadAdditionalDocumentOverlay-BKY6hK51-y-fz9noY.js} +4 -4
- package/dist/assets/{Vendor2FAPopup-DezpDfp8-RFvPiWDa.js → Vendor2FAPopup-DezpDfp8-wvjmetSL.js} +1 -1
- package/dist/assets/{VendorACHDetailsPage-C8TWKYfc-BrQZEG-V.js → VendorACHDetailsPage-C8TWKYfc-CLh_He1D.js} +1 -1
- package/dist/assets/{VendorDetailPage-C4g_Gfsl-cfzvYJ9k.js → VendorDetailPage-C4g_Gfsl-gAl6AQiQ.js} +9 -9
- package/dist/assets/{VendorDomesticWireDetailsPage-BhJQ-Vmn-DAqfYhFQ.js → VendorDomesticWireDetailsPage-BhJQ-Vmn-CXw-nX5E.js} +1 -1
- package/dist/assets/{VendorFiling1099EditablePage-Ckt2MiVN-D079pRbJ.js → VendorFiling1099EditablePage-Ckt2MiVN-BwmhSJwI.js} +1 -1
- package/dist/assets/{VendorFirstReviewPage-CIKRaTax-ruTov0yD.js → VendorFirstReviewPage-CIKRaTax-CoRAyvQo.js} +1 -1
- package/dist/assets/{VendorInternationalWireDetailsPage-Dz8mMD8d-BvzGzcpv.js → VendorInternationalWireDetailsPage-Dz8mMD8d-DyxRi8OU.js} +1 -1
- package/dist/assets/{VendorInternationalWireSwiftDetailsPage-XcV7Ot44-BWIFx2bC.js → VendorInternationalWireSwiftDetailsPage-XcV7Ot44-Br-V9Ms7.js} +1 -1
- package/dist/assets/{VendorsAccountsSection-BT-RADSV-CKh-nWLp.js → VendorsAccountsSection-BT-RADSV-Cggl-rQg.js} +1 -1
- package/dist/assets/{VerifyDevice-Cxc9CVMi-rFyBi4Y7.js → VerifyDevice-Cxc9CVMi-BfmCJlPA.js} +1 -1
- package/dist/assets/{VideoPlayer-9UkKMhGy-DLo10Ipx.js → VideoPlayer-9UkKMhGy-B3TbligX.js} +2 -2
- package/dist/assets/{VideoPopup-rfiYmtio-DqZb38Wf.js → VideoPopup-rfiYmtio-DTzyP3EH.js} +1 -1
- package/dist/assets/{WarningsDrawerPage-DrUA4asI-yVycA0Ua.js → WarningsDrawerPage-DrUA4asI-CGOd9KLu.js} +1 -1
- package/dist/assets/{ZeniAccountDetailPage-K016HgQt-CH_u5tmb.js → ZeniAccountDetailPage-K016HgQt-CHQYyMvD.js} +7 -7
- package/dist/assets/{ZeniAccountListViewPage-1oZZynB1-BeTnaRlR.js → ZeniAccountListViewPage-1oZZynB1-B8wIFo45.js} +7 -7
- package/dist/assets/{ZeniAccountNavBarPieces-C6Oicpue-Crw_LmUH.js → ZeniAccountNavBarPieces-C6Oicpue-CWA-3mz6.js} +1 -1
- package/dist/assets/{ZeniAccountPromoPage-BCgys-YM-oDx3xq8Z.js → ZeniAccountPromoPage-BCgys-YM-CDo3p8GM.js} +1 -1
- package/dist/assets/{ZeniAccountSetupPage-BubBgkoa-BUflxDEA.js → ZeniAccountSetupPage-BubBgkoa-pxnHtdbo.js} +1 -1
- package/dist/assets/{ZeniCopyright-BxIwmms--C8fQjezy.js → ZeniCopyright-BxIwmms--CI9yS63f.js} +1 -1
- package/dist/assets/{ZeniTransferAmountSlider-DVJ0puXA-DflfdXEj.js → ZeniTransferAmountSlider-DVJ0puXA-CBa-WxKr.js} +1 -1
- package/dist/assets/{add-to-wallet-DgdBD8_G-DrzGEZUO.js → add-to-wallet-DgdBD8_G-UcbWekjH.js} +1 -1
- package/dist/assets/{analytics-BB7e_ruj.js → analytics-T3rNNQ2m.js} +1 -1
- package/dist/assets/{analyticsHelper-CT5zOInj-CLTaCUMK.js → analyticsHelper-CT5zOInj-DoqyoFKO.js} +1 -1
- package/dist/assets/{analyticsHelper--QOmPWcZ.js → analyticsHelper-Dwo-ncj8.js} +1 -1
- package/dist/assets/{arrow-south-east-round-PEovUgvH-DYD4P8U3.js → arrow-south-east-round-PEovUgvH-olgOFIka.js} +1 -1
- package/dist/assets/{auto-transfer-rule-mbafm5D3-Cx19s1IV.js → auto-transfer-rule-mbafm5D3-OAp9gfx6.js} +1 -1
- package/dist/assets/{chartTypes-Ddw_3-6f-Csaj7V69.js → chartTypes-Ddw_3-6f-CfWoV01X.js} +1 -1
- package/dist/assets/{commonDimensions-ClmbdehE-C4kq5775.js → commonDimensions-ClmbdehE-CI63aI0W.js} +1 -1
- package/dist/assets/{commonTypes-B-foaEwJ-CFGkbWWX.js → commonTypes-B-foaEwJ-DW3G1NS6.js} +1 -1
- package/dist/assets/{constants-WZhEa7dG.js → constants-C6THrgLW.js} +1 -1
- package/dist/assets/{core-ynj-rcGI.js → core-Cgphrdqi.js} +1 -1
- package/dist/assets/{dash.all.min-CbTBF1nm.js → dash.all.min-CO8eAuLp.js} +1 -1
- package/dist/assets/{detailCommon-Cpgf9GLg-BT_EhNYu.js → detailCommon-Cpgf9GLg-CZXpr6Ou.js} +1 -1
- package/dist/assets/{downloadPdf-DfRYmfsd-B_VLkj-_.js → downloadPdf-DfRYmfsd-BofmxfcJ.js} +1 -1
- package/dist/assets/{empty-ghkwToUg.js → empty-BwSS8C26.js} +1 -1
- package/dist/assets/{empty-DOnnW6ps.js → empty-C8tkeh8X.js} +1 -1
- package/dist/assets/{epic-n7OsXwIY.js → epic-25jnn6zT.js} +2 -2
- package/dist/assets/{gift-box-Cmt9OgIZ-IkS_PRlU.js → gift-box-Cmt9OgIZ-DbPQXtKu.js} +1 -1
- package/dist/assets/{graphic-no-data-l-DU4J8fDt-B-vjfNa1.js → graphic-no-data-l-DU4J8fDt-BCQF8DO3.js} +1 -1
- package/dist/assets/{graphic-no-data-net-burn-l-CzmycA0m-C-Lgg2zB.js → graphic-no-data-net-burn-l-CzmycA0m-C6bp_xvO.js} +1 -1
- package/dist/assets/{handshake-BPg58FML-B3_wZwig.js → handshake-BPg58FML-CXWtMOZc.js} +1 -1
- package/dist/assets/{helper-DP3YY99s-Ba64ClTl.js → helper-DP3YY99s-D-PL5wk1.js} +1 -1
- package/dist/assets/{index-BTLnMSBu.js → index--_rdliV7.js} +1 -1
- package/dist/assets/{index-BjiMkPNd.js → index-Bh4f2Teb.js} +1 -1
- package/dist/assets/{index-WBPDS3-Z.js → index-CDUn2Emk.js} +1 -1
- package/dist/assets/{index-BkgFwDrN.js → index-CE4a3GDT.js} +7 -7
- package/dist/assets/{index-Ct14P_QF.js → index-C_6Z7efJ.js} +1 -1
- package/dist/assets/{index-BEy87smT.js → index-D3PatgcD.js} +1 -1
- package/dist/assets/{index-v6BtqX9b.js → index-DMJM1J8R.js} +1 -1
- package/dist/assets/{lexical-f2bgmP7p.js → lexical-B-NT_OOU.js} +1 -1
- package/dist/assets/{liveblocks-Fce3U47w.js → liveblocks-mJOf9rAw.js} +1 -1
- package/dist/assets/{lottie-DfQwbfZe.js → lottie-CH7yL4lR.js} +1 -1
- package/dist/assets/{mapLoadingInProgressToTreeNode-C0YIUOnb-pGmyZ5k8.js → mapLoadingInProgressToTreeNode-C0YIUOnb-DtMCCLe4.js} +1 -1
- package/dist/assets/{mapSectionWithAcOnlyToTreeNode-QJI_OYzu-BcM0_MMx.js → mapSectionWithAcOnlyToTreeNode-QJI_OYzu-Bc99xQK8.js} +1 -1
- package/dist/assets/{mapSpacerToTreeNode-DKDsz0vw-DrfhqLUC.js → mapSpacerToTreeNode-DKDsz0vw-C00tHB1T.js} +1 -1
- package/dist/assets/{mapTimeframeBalancesToTreeNode-DqDJAeAj-D90hoIRT.js → mapTimeframeBalancesToTreeNode-DqDJAeAj-Bb2v0uWi.js} +1 -1
- package/dist/assets/{mapTimeframeBalancesToTreeNode-J3b1nb_T-DJ4YBp4i.js → mapTimeframeBalancesToTreeNode-J3b1nb_T-C60OkAbY.js} +1 -1
- package/dist/assets/{mapTimeframeHeaderLoadingInProgressToTreeNode-Dg4cktKO-Dn_bFC9p.js → mapTimeframeHeaderLoadingInProgressToTreeNode-Dg4cktKO-COXJNYz6.js} +1 -1
- package/dist/assets/{mui-B8eJ9Mf-.js → mui-4aI62okM.js} +1 -1
- package/dist/assets/{page-detail-CWX5S47F-DHzFrl8D.js → page-detail-CWX5S47F-DNNHDs11.js} +1 -1
- package/dist/assets/{panelSelectedMixin-CzfD5-Zs-CiHp6UKy.js → panelSelectedMixin-CzfD5-Zs-C5j9Taxu.js} +1 -1
- package/dist/assets/{radio-default-CiSgisfh-DJRkcPvg.js → radio-default-CiSgisfh-DBK2UBgp.js} +1 -1
- package/dist/assets/{react-CFlKsGqS.js → react-14tgf1ik.js} +1 -1
- package/dist/assets/{react-KPbq6YvL.js → react-B4F47UeE.js} +1 -1
- package/dist/assets/{react-DGuEmiZJ.js → react-Bx8qq35O.js} +1 -1
- package/dist/assets/{react-X8-6TOPN.js → react-BxtZMNkY.js} +2 -2
- package/dist/assets/{react-1AASI5B3.js → react-D2-N_PY-.js} +1 -1
- package/dist/assets/{react-dxyEk0M0.js → react-pcnMIbV9.js} +1 -1
- package/dist/assets/{react-BmpaTIjZ.js → react-tQd3sk8G.js} +1 -1
- package/dist/assets/{react-DTkKR0hX.js → react-uhreOVUJ.js} +1 -1
- package/dist/assets/{recharts-DcXbW3wD.js → recharts-D-YAfDZj.js} +1 -1
- package/dist/assets/{sentry-DG5QSuAU.js → sentry-wpLc0w9b.js} +1 -1
- package/dist/assets/{shield-DOlUxcFf-CPsw4sab.js → shield-DOlUxcFf-DeyPctcI.js} +1 -1
- package/dist/assets/{toCOABalancesWithID-AzKAZ-Cv-CCwxF2fh.js → toCOABalancesWithID-AzKAZ-Cv-CQOX84Xq.js} +1 -1
- package/dist/assets/toChartData-BEjMhb7--hwFvZNwn.js +1 -0
- package/dist/assets/{uploadAttachment-DUpHzqMe-CZ5MQPFU.js → uploadAttachment-DUpHzqMe-DfPSBMVO.js} +1 -1
- package/dist/assets/{uploadReceipts-Dge0cNF1-9bGZSaw_.js → uploadReceipts-Dge0cNF1-CG_JuBSh.js} +1 -1
- package/dist/assets/{url-D76wlScu.js → url-cU6drSVy.js} +1 -1
- package/dist/assets/{url-bzK3lhiJ.js → url-vFuKL29u.js} +1 -1
- package/dist/assets/{useLongPress-GCK2COYQ-DXAzB75a.js → useLongPress-GCK2COYQ-DYzZ4MNW.js} +1 -1
- package/dist/assets/{usp-line-BBd1wKwW-lgGVTPyO.js → usp-line-BBd1wKwW-Sh2YvFJY.js} +1 -1
- package/dist/assets/{utils-BaLrPeRI.js → utils-DCLZL4US.js} +1 -1
- package/dist/assets/{zeni-epic-state-DJMVsfEo.js → zeni-epic-state-BwFYSQY8.js} +6 -6
- package/dist/index.html +1 -1
- package/package.json +2 -2
- package/dist/assets/CustomerOnboardingContainerPage-CckCX7Vt-CfrOyVnL.js +0 -1
- package/dist/assets/toChartData-BEjMhb7--DYoES1lW.js +0 -1
package/dist/assets/{VendorDetailPage-C4g_Gfsl-cfzvYJ9k.js → VendorDetailPage-C4g_Gfsl-gAl6AQiQ.js}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{d as Ee,J as oe,y as g,aF as we,cK as ft,aa as wt,he as Ce,hf as Ct,aX as $t,cH as St,V as t,bD as Dt,ad as Tt,hg as jt,hh as ye,u as l,cI as Lt,aT as Vt,bE as kt,F as W,hi as Ue,hj as qe,hk as Qe,o as a,bR as S,cL as It,gQ as $e,hl as Ot,cM as Pt,cN as Mt,cO as _t,hm as
|
|
1
|
+
import{d as Ee,J as oe,y as g,aF as we,cK as ft,aa as wt,he as Ce,hf as Ct,aX as $t,cH as St,V as t,bD as Dt,ad as Tt,hg as jt,hh as ye,u as l,cI as Lt,aT as Vt,bE as kt,F as W,hi as Ue,hj as qe,hk as Qe,o as a,bR as S,cL as It,gQ as $e,hl as Ot,cM as Pt,cN as Mt,cO as _t,hm as zt,gh as Ft,cV as Nt,hn as Wt,ho as Ht,p as N,b9 as Ye,aj as Ge,dw as Rt,b1 as Bt,hp as At,hq as Et,am as Ut,dv as qt,du as Qt,d3 as Yt,a_ as pe,hr as Gt,ck as Ke,hs as Kt,H as Se,a as Xe}from"./index-CE4a3GDT.js";import{a as $}from"./sentry-wpLc0w9b.js";import{n as o,c as Xt}from"./mui-4aI62okM.js";import{bi as De,F$ as Jt,G0 as Zt}from"./zeni-epic-state-BwFYSQY8.js";import{k as es}from"./SubTabSwitcher-C3rtSwro-CD-oYAPp.js";import{T as ts}from"./TransactionList-80KjM8Kg-yWcw7Xvy.js";import{R as ss}from"./TrendWithTransactions-Bp3vhaPa-e76VZDlM.js";import{o as as,t as os}from"./arrow-south-east-round-PEovUgvH-olgOFIka.js";import{C as ns}from"./LabeledAddressValueField-BoHS44YO-DTrVpXEk.js";import{Y as ls}from"./LabeledDropDownFormattedTextField-ChgtJqPr-iLOroUl9.js";import"./liveblocks-mJOf9rAw.js";import"./core-Cgphrdqi.js";import"./recharts-D-YAfDZj.js";import"./lottie-CH7yL4lR.js";import"./analytics-T3rNNQ2m.js";import"./lexical-B-NT_OOU.js";import"./utils-DCLZL4US.js";import"./ConstrainedInnerElement-BeIpAPjB-Cv6zV673.js";import"./BoxItem-CACRFWG2-DUMZBWzz.js";import"./commonDimensions-ClmbdehE-CI63aI0W.js";import"./panelSelectedMixin-CzfD5-Zs-C5j9Taxu.js";import"./TrendChart-C6B61CAm-siwog8qJ.js";import"./chartTypes-Ddw_3-6f-CfWoV01X.js";import"./toCOABalancesWithID-AzKAZ-Cv-CQOX84Xq.js";import"./toChartData-BEjMhb7--hwFvZNwn.js";import"./NoDataChart-CyYJ6icu-BGrJ0dxK.js";import"./InsightsSection-D-oCmrir-BSx2VeKU.js";import"./NavigationDots-BQb_Fodq-DGHg-XPw.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},s=new e.Error().stack;s&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[s]="b332fd83-b239-4bee-b212-e0a3f7ee6ace",e._sentryDebugIdIdentifier="sentry-dbid-b332fd83-b239-4bee-b212-e0a3f7ee6ace")}catch{}})();const is=o.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
flex-direction: row;
|
|
4
4
|
justify-content: center;
|
|
@@ -112,7 +112,7 @@ import{d as Ee,J as oe,y as g,aF as we,cK as ft,aa as wt,he as Ce,hf as Ct,aX as
|
|
|
112
112
|
`,fs=o.div`
|
|
113
113
|
display: flex;
|
|
114
114
|
justify-content: ${e=>e.isMobile?"flex-start":"flex-end"};
|
|
115
|
-
`,ue=o.div``,ws=({spend:e,vendorName:s,vendorLogo:r,isPageLoading:i,isSpendTrendLoading:n,onPercentChangeClick:c})=>{const p=oe(),b=W.getLocalizedStrings().spendManagement.billPay.vendorCreation.vendorDetails.spends,h=p==="small"||p==="medium-compact",f=(D,u)=>u==null?null:D==="increased"?t.jsxs(vs,{onClick:c,children:[t.jsx(as,{width:a.sp3,height:a.sp3}),t.jsx(ge,{children:u})]}):D==="decreased"?t.jsxs(ys,{onClick:c,children:[t.jsx(os,{width:a.sp3,height:a.sp3}),t.jsx(ge,{children:u})]}):t.jsx(xs,{onClick:c,children:t.jsxs(ge,{children:[u,"%"]})}),B=()=>i===!0?t.jsxs(je,{isMobile:h,children:[t.jsx(qt,{width:l[6],height:l[6]}),t.jsx(S,{width:140,height:l[6]}),t.jsx(S,{width:70,height:l[5]})]}):t.jsxs(je,{isMobile:h,children:[r!=null?t.jsxs(ke,{children:[t.jsx(Qt,{photoUrl:r.toString(),styles:{width:M.logoWidth.valuePx(p),height:M.logoHeight.valuePx(p)}}),h?t.jsx(Ve,{children:s}):t.jsx(Le,{children:s})]}):t.jsxs(ke,{children:[t.jsx(Yt,{name:s,size:a.sp6}),h?t.jsx(Ve,{children:s}):t.jsx(Le,{children:s})]}),f(e.changeType,e.percentChange)]}),A=()=>n||i?t.jsx(Te,{size:p,isMobile:h,children:[...Array(3)].map((D,u)=>t.jsxs(bs,{children:[t.jsx(S,{width:M.spendTrendHeadingSkeletonWidth.value(p),height:l[4]}),t.jsx(fs,{isMobile:h,children:t.jsx(S,{width:M.spendTrendHeadingSkeletonWidth.value(p)/2,height:l[4]})})]},u))}):t.jsxs(Te,{size:p,isMobile:h,children:[t.jsxs(ue,{children:[t.jsx(me,{windowSize:p,isMobile:h,children:b.last30Days}),t.jsx(he,{windowSize:p,isMobile:h,children:pe("0,0.[00]",e.last30DaysSpend,e.currencySymbol)})]}),t.jsxs(ue,{children:[t.jsx(me,{windowSize:p,isMobile:h,children:b.last90Days}),t.jsx(he,{windowSize:p,isMobile:h,children:pe("0,0.[00]",e.last90DaysSpend,e.currencySymbol)})]}),t.jsxs(ue,{children:[t.jsx(me,{windowSize:p,isMobile:h,children:b.ytdSpend}),t.jsx(he,{windowSize:p,isMobile:h,children:pe("0,0.[00]",e.yearToDateSpend,e.currencySymbol)})]})]});return t.jsxs(us,{isMobile:h,size:p,children:[B(),A()]})},_={labelWidth:new g(120,145,270),largeLabelWidth:new g(130,200,332),largeTinLabelWidth:new g(130,200,276),controlWidth:new g(110,145,160),labelMarginLeft:new g(l[3],l[4]),labelMarginTop:new g(l[2],l[3]),labelMarginBottom:new g(l[2],l[3])},q=(e,s)=>`${e}.${s}`,Cs=W.getLocalizedStrings().spendManagement,se=W.getLocalizedStrings().companyPassport,Q=Cs.billPay.vendorCreation,k=W.getLocalizedStrings().common,$s=({vendorTypeList:e=[],isDisabled:s,sectionId:r,selectedVendorDetails:i,onAddressClick:n})=>{const c=oe(),p=_.labelWidth.value(c),b=_.largeLabelWidth.value(c),h=_.largeTinLabelWidth.value(c),f=_.controlWidth.value(c);return t.jsxs(Ss,{children:[t.jsx(Ds,{children:Q.vendorDetails.titleFor1099Section}),t.jsxs(Ts,{children:[t.jsx(Pt,{isDisabled:s,label:{label:se.companyInfo.legalName,width:p},text:{type:"text",style:{width:f},name:q(r,"legalName"),placeholder:_t(se.companyInfo.legalName),defaultValue:i.vendorBasic.legalName,autoComplete:"new-password",options:{required:!!i.vendorBasic.legalName,pattern:Mt}},style:{width:"100%"}}),t.jsx(ve,{}),t.jsxs(Ie,{children:[t.jsx(Ls,{width:b,windowSize:c,children:Q.vendorDetails.vendorType}),t.jsx(js,{size:c,children:t.jsx(
|
|
115
|
+
`,ue=o.div``,ws=({spend:e,vendorName:s,vendorLogo:r,isPageLoading:i,isSpendTrendLoading:n,onPercentChangeClick:c})=>{const p=oe(),b=W.getLocalizedStrings().spendManagement.billPay.vendorCreation.vendorDetails.spends,h=p==="small"||p==="medium-compact",f=(D,u)=>u==null?null:D==="increased"?t.jsxs(vs,{onClick:c,children:[t.jsx(as,{width:a.sp3,height:a.sp3}),t.jsx(ge,{children:u})]}):D==="decreased"?t.jsxs(ys,{onClick:c,children:[t.jsx(os,{width:a.sp3,height:a.sp3}),t.jsx(ge,{children:u})]}):t.jsx(xs,{onClick:c,children:t.jsxs(ge,{children:[u,"%"]})}),B=()=>i===!0?t.jsxs(je,{isMobile:h,children:[t.jsx(qt,{width:l[6],height:l[6]}),t.jsx(S,{width:140,height:l[6]}),t.jsx(S,{width:70,height:l[5]})]}):t.jsxs(je,{isMobile:h,children:[r!=null?t.jsxs(ke,{children:[t.jsx(Qt,{photoUrl:r.toString(),styles:{width:M.logoWidth.valuePx(p),height:M.logoHeight.valuePx(p)}}),h?t.jsx(Ve,{children:s}):t.jsx(Le,{children:s})]}):t.jsxs(ke,{children:[t.jsx(Yt,{name:s,size:a.sp6}),h?t.jsx(Ve,{children:s}):t.jsx(Le,{children:s})]}),f(e.changeType,e.percentChange)]}),A=()=>n||i?t.jsx(Te,{size:p,isMobile:h,children:[...Array(3)].map((D,u)=>t.jsxs(bs,{children:[t.jsx(S,{width:M.spendTrendHeadingSkeletonWidth.value(p),height:l[4]}),t.jsx(fs,{isMobile:h,children:t.jsx(S,{width:M.spendTrendHeadingSkeletonWidth.value(p)/2,height:l[4]})})]},u))}):t.jsxs(Te,{size:p,isMobile:h,children:[t.jsxs(ue,{children:[t.jsx(me,{windowSize:p,isMobile:h,children:b.last30Days}),t.jsx(he,{windowSize:p,isMobile:h,children:pe("0,0.[00]",e.last30DaysSpend,e.currencySymbol)})]}),t.jsxs(ue,{children:[t.jsx(me,{windowSize:p,isMobile:h,children:b.last90Days}),t.jsx(he,{windowSize:p,isMobile:h,children:pe("0,0.[00]",e.last90DaysSpend,e.currencySymbol)})]}),t.jsxs(ue,{children:[t.jsx(me,{windowSize:p,isMobile:h,children:b.ytdSpend}),t.jsx(he,{windowSize:p,isMobile:h,children:pe("0,0.[00]",e.yearToDateSpend,e.currencySymbol)})]})]});return t.jsxs(us,{isMobile:h,size:p,children:[B(),A()]})},_={labelWidth:new g(120,145,270),largeLabelWidth:new g(130,200,332),largeTinLabelWidth:new g(130,200,276),controlWidth:new g(110,145,160),labelMarginLeft:new g(l[3],l[4]),labelMarginTop:new g(l[2],l[3]),labelMarginBottom:new g(l[2],l[3])},q=(e,s)=>`${e}.${s}`,Cs=W.getLocalizedStrings().spendManagement,se=W.getLocalizedStrings().companyPassport,Q=Cs.billPay.vendorCreation,k=W.getLocalizedStrings().common,$s=({vendorTypeList:e=[],isDisabled:s,sectionId:r,selectedVendorDetails:i,onAddressClick:n})=>{const c=oe(),p=_.labelWidth.value(c),b=_.largeLabelWidth.value(c),h=_.largeTinLabelWidth.value(c),f=_.controlWidth.value(c);return t.jsxs(Ss,{children:[t.jsx(Ds,{children:Q.vendorDetails.titleFor1099Section}),t.jsxs(Ts,{children:[t.jsx(Pt,{isDisabled:s,label:{label:se.companyInfo.legalName,width:p},text:{type:"text",style:{width:f},name:q(r,"legalName"),placeholder:_t(se.companyInfo.legalName),defaultValue:i.vendorBasic.legalName,autoComplete:"new-password",options:{required:!!i.vendorBasic.legalName,pattern:Mt}},style:{width:"100%"}}),t.jsx(ve,{}),t.jsxs(Ie,{children:[t.jsx(Ls,{width:b,windowSize:c,children:Q.vendorDetails.vendorType}),t.jsx(js,{size:c,children:t.jsx(zt,{name:q(r,"vendorType"),value:{allTypes:e,selectedType:i.vendorDetailLocalData?.vendorType},placeholderLabel:Q.placeholders.type})})]}),t.jsx(ve,{}),t.jsx(Ie,{children:t.jsx(ls,{name:q(r,"tinType"),menuPlacement:"auto",style:{height:a.sp6,width:"100%",marginLeft:a.sp4},dropdownStyle:{width:"40%"},defaultValue:{dropDownValue:i.vendorDetailLocalData?.tin?.type??k.strings.empty,dropDownList:[{code:k.texts.ein,label:k.texts.ein.toUpperCase()},{code:k.texts.ssn,label:k.texts.ssn.toUpperCase()}]},registerOptions:{required:!1},label:{width:h},placeholderLabel:Q.placeholders.tinType,formattedText:{type:"text",name:q(r,"tinValue"),placeholder:Q.placeholders.tinValue,format:i.vendorDetailLocalData?.tin?.type===k.texts.ssn?Wt:Ht,registerOptions:{required:!!i.vendorDetailLocalData?.tin?.type,pattern:i.vendorDetailLocalData?.tin?.type===k.texts.ssn?Ft:Nt},style:{width:"100%",height:a.sp6},defaultValue:i.vendorDetailLocalData?.tin?.value??k.strings.empty,maxLength:9,allowLeadingZeros:!0,autoComplete:"new-password",isDisabled:i.vendorDetailLocalData?.tin?.type===null?"disabled":void 0}})}),t.jsx(ve,{}),t.jsx(ns,{isDisabled:s,label:{label:se.companyInfo.address,width:p},addressValueField:{name:q(r,"address"),placeholder:se.address.titleAdd,defaultValue:i.vendorNewAddressStatus?.addressToCreate,onClick:()=>n("vendor_address",i.vendorAddress?.addressId)},showAdditionalInfoLabel:!1,style:{width:"100%"}})]})]})},Ss=o.div`
|
|
116
116
|
display: flex;
|
|
117
117
|
flex-direction: column;
|
|
118
118
|
padding-top: ${a.sp5};
|
|
@@ -168,7 +168,7 @@ import{d as Ee,J as oe,y as g,aF as we,cK as ft,aa as wt,he as Ce,hf as Ct,aX as
|
|
|
168
168
|
width: ${e=>e.width}px;
|
|
169
169
|
color: ${e=>e.theme.colors.hero};
|
|
170
170
|
margin: ${e=>`${_.labelMarginTop.valuePx(e.windowSize)} ${_.labelMarginLeft.valuePx(e.windowSize)} ${_.labelMarginBottom.valuePx(e.windowSize)} ${_.labelMarginLeft.valuePx(e.windowSize)}`};
|
|
171
|
-
`,Oe=W.getLocalizedStrings().vendors.common.transactionTabTitles,Vs=()=>ks,ks=[{id:"spend_transactions",label:Oe.spendTransactions,leftMargin:!1,style:{width:136,left:2}},{id:"all_transactions",label:Oe.allTransactions,leftMargin:!0,style:{width:122,left:60}}],Pe={labelWidth:new g(120,145,160),controlWidth:new g(110,145,160)},
|
|
171
|
+
`,Oe=W.getLocalizedStrings().vendors.common.transactionTabTitles,Vs=()=>ks,ks=[{id:"spend_transactions",label:Oe.spendTransactions,leftMargin:!1,style:{width:136,left:2}},{id:"all_transactions",label:Oe.allTransactions,leftMargin:!0,style:{width:122,left:60}}],Pe={labelWidth:new g(120,145,160),controlWidth:new g(110,145,160)},F=(e,s)=>`${e}.${s}`,Ze=W.getLocalizedStrings(),{common:ae,cockpit:Me}=Ze,I=Ze.spendManagement.billPay.vendorCreation,Is=({accountsHierarchyList:e,allAccounts:s,allClasses:r,allOwners:i,classHierarchyList:n,enableRecommendationUpdateCheckbox:c,readOnlyMode:p,isDisabled:b,recommendations:h,sectionId:f,selectedAccountId:B,selectedClassId:A,selectedOwnerId:D,selectedVendorDetails:u,uiState:E,isFiling1099FeatureEnabled:Y,onClickShowMoreOrLess:ne})=>{const G=oe(),K=Ee(),{getValues:X}=It(),H=Pe.labelWidth.value(G),le=Pe.controlWidth.value(G),ie=C=>s.filter(j=>j.accountId===C)[0]?.coaId??"",re=C=>r.filter(j=>j.classId===C)[0]?.accountingClassNumber??"",R=C=>{const j=s.find(Z=>Z.accountId===C)?.accountName;return[At,Et].includes(j??"")},T=I.vendorDetails.recommendation.tooltip,U=T.category.replace("__based__",u?.vendorDetailLocalData?.recommendedCategory?.reason?.toLocaleLowerCase()??""),J=T.class.replace("__based__",u?.vendorDetailLocalData?.recommendedClass?.reason?.toLocaleLowerCase()??""),de=u?.vendorDetailLocalData?.recommendedCategory!=null&&!!c,ce=u?.vendorDetailLocalData?.recommendedClass!=null&&!!c;return t.jsxs(Os,{children:[t.jsxs(Ps,{children:[t.jsx(Ms,{children:I.vendorDetails.title}),Y?t.jsxs(zs,{onClick:()=>ne(),children:[E?.collapsableStatus==="expand"?`${ae.show}${ae.strings.space}${Me.subscription.lessBtnText}`:`${ae.show}${ae.strings.space}${Me.subscription.moreBtnText}`,E?.collapsableStatus==="expand"?t.jsx(Fs,{}):t.jsx(Ns,{})]}):null]}),t.jsxs(_s,{children:[t.jsx($e,{isLoading:!1,label:{label:I.vendorDetails.category,width:H},groupedSingleSelectField:{name:F(f,"vendorCategory"),placeholder:I.placeholders.category,valueToInfo:C=>ie(C),defaultValue:{selectedOption:B,allOptions:qe(e,h)},style:{width:"auto"},registerOptions:{required:!1},shouldShowChevronIcon:de},additionalLabelInfo:void 0,style:{borderBottom:`1px solid ${K.colors.grey3}`},isDisabled:p?"readonly":b,disableCurrentOption:R,fullWidthSelect:!1,zIndexOnFocus:!0,recommendationCheckboxField:u?.vendorDetailLocalData?.recommendedCategory!=null&&c?{tooltipProps:{text:U},label:{label:u?.vendorDetailLocalData?.recommendedCategory?.accountName},checkBoxField:{name:F(f,"isRecommendedCategorySelected"),defaultChecked:X(F(f,"isRecommendedCategorySelected"))}}:void 0}),t.jsx($e,{isLoading:!1,label:{label:I.vendorDetails.class,width:H},zIndexOnFocus:!0,groupedSingleSelectField:{name:F(f,"vendorClass"),placeholder:I.placeholders.class,valueToInfo:C=>re(C),defaultValue:{selectedOption:A,allOptions:Ue(n,h)},registerOptions:{required:!1},style:{width:"auto"},shouldShowChevronIcon:ce},additionalLabelInfo:void 0,style:{borderBottom:`1px solid ${K.colors.grey3}`},isDisabled:p===!0?"readonly":b,fullWidthSelect:!1,recommendationCheckboxField:u?.vendorDetailLocalData?.recommendedClass!=null&&c?{tooltipProps:{text:J},label:{label:u?.vendorDetailLocalData?.recommendedClass?.className},checkBoxField:{name:F(f,"isRecommendedClassSelected"),defaultChecked:X(F(f,"isRecommendedClassSelected"))}}:void 0}),t.jsx(Ot,{label:{label:I.vendorDetails.vendorOwner,width:H},userSingleSelectField:{name:F(f,"vendorOwner"),placeholder:I.placeholders.owner,defaultValue:{allOptions:Qe(i),selectedOption:D},registerOptions:{required:!1},style:{width:"auto"}},isDisabled:p===!0?"readonly":b,style:{justifyContent:"space-between"},controlWidth:le,fullWidthSelect:!1})]})]})},Os=o.div`
|
|
172
172
|
display: flex;
|
|
173
173
|
flex-direction: column;
|
|
174
174
|
padding-top: ${a.sp3};
|
|
@@ -187,14 +187,14 @@ import{d as Ee,J as oe,y as g,aF as we,cK as ft,aa as wt,he as Ce,hf as Ct,aX as
|
|
|
187
187
|
border: 1px solid ${e=>e.theme.colors.grey3};
|
|
188
188
|
box-shadow: ${e=>`${a.sp0} 2px ${a.sp1} ${e.theme.colors.dropShadowNormal}`};
|
|
189
189
|
border-radius: ${a.sp2};
|
|
190
|
-
`,
|
|
190
|
+
`,zs=o(Ge)`
|
|
191
191
|
display: flex;
|
|
192
192
|
justify-content: flex-end;
|
|
193
193
|
color: ${e=>e.theme.colors.hero};
|
|
194
194
|
margin-bottom: ${a.sp0};
|
|
195
195
|
margin-right: ${a.sp0};
|
|
196
196
|
cursor: pointer;
|
|
197
|
-
`,
|
|
197
|
+
`,Fs=o(Rt)`
|
|
198
198
|
width: ${a.sp3};
|
|
199
199
|
height: ${a.sp3};
|
|
200
200
|
margin-left: ${a.sp2};
|
|
@@ -212,19 +212,19 @@ import{d as Ee,J as oe,y as g,aF as we,cK as ft,aa as wt,he as Ce,hf as Ct,aX as
|
|
|
212
212
|
display: flex;
|
|
213
213
|
flex-direction: column;
|
|
214
214
|
row-gap: ${a.sp3};
|
|
215
|
-
`,
|
|
215
|
+
`,ze=o.div`
|
|
216
216
|
border: 1px solid ${e=>e.theme.colors.grey3};
|
|
217
217
|
filter: drop-shadow(
|
|
218
218
|
${a.sp0} 2px ${a.sp1} ${N.boxShadowElevation}
|
|
219
219
|
);
|
|
220
220
|
border-radius: ${a.sp2};
|
|
221
221
|
background: ${e=>e.theme.colors.grey5};
|
|
222
|
-
`,
|
|
222
|
+
`,Fe=o.div`
|
|
223
223
|
padding: ${a.sp3};
|
|
224
224
|
display: flex;
|
|
225
225
|
justify-content: space-between;
|
|
226
226
|
border-bottom: 1px solid ${e=>e.theme.colors.grey3};
|
|
227
|
-
`,Hs=()=>t.jsxs(Ws,{children:[[...Array(1)].map((e,s)=>t.jsxs(_e,{children:[t.jsx(S,{width:120,height:l[4]}),t.jsx(
|
|
227
|
+
`,Hs=()=>t.jsxs(Ws,{children:[[...Array(1)].map((e,s)=>t.jsxs(_e,{children:[t.jsx(S,{width:120,height:l[4]}),t.jsx(ze,{children:[...Array(3)].map((r,i)=>t.jsxs(Fe,{children:[t.jsx(S,{width:70,height:l[4]}),t.jsx(S,{width:140,height:l[4]})]},i))})]},s)),[...Array(1)].map((e,s)=>t.jsxs(_e,{children:[t.jsx(S,{width:120,height:l[4]}),t.jsx(ze,{children:[...Array(4)].map((r,i)=>t.jsxs(Fe,{children:[t.jsx(S,{width:70,height:l[4]}),t.jsx(S,{width:140,height:l[4]})]},i))})]},s))]}),y=W.getLocalizedStrings(),{vendors:{vendorDetailPage:O},common:{footer:Ne}}=y,P={transactionListHeight:new g(325,275,225),formContainerHorizontalPadding:new g(l[3],l[3],l[8]),buttonWidth:new g(85,85),navbarHeight:63},We=e=>`${e}_form`,x="vendorDetails",xe="vendor1099Details",He="vendorDetailPage",Rs=o.div`
|
|
228
228
|
display: flex;
|
|
229
229
|
flex: 1 1 auto;
|
|
230
230
|
min-height: 100%;
|
|
@@ -254,4 +254,4 @@ import{d as Ee,J as oe,y as g,aF as we,cK as ft,aa as wt,he as Ce,hf as Ct,aX as
|
|
|
254
254
|
display: flex;
|
|
255
255
|
flex-direction: column;
|
|
256
256
|
transition: ${e=>e.collapsableStatus==="collapse"?"height 400ms ease-out":"height 200ms ease-in"};
|
|
257
|
-
`,Qs=[{label:O.vendorSpendTrendFilterLabels.last_30_days,id:"last_30_days"},{label:O.vendorSpendTrendFilterLabels.last_90_days,id:"last_90_days"},{label:O.vendorSpendTrendFilterLabels.YTD_spend,id:"YTD_spend"},{label:O.vendorSpendTrendFilterLabels.last_month,id:"last_month"},{label:O.vendorSpendTrendFilterLabels.last_3_months,id:"last_3_months"},{label:O.vendorSpendTrendFilterLabels.last_6_months,id:"last_6_months"},{label:O.vendorSpendTrendFilterLabels.last_12_months,id:"last_12_months"},{label:O.vendorSpendTrendFilterLabels.last_year,id:"last_year"}],$a=({isFiling1099FeatureEnabled:e,vendorDetailView:s,firstMonthOfFY:r,vendorLogo:i,readOnlyMode:n,isDisabled:c,scrollToTrend:p,allTransactionsTabData:b,onVendorTabSelectionChanged:h,onLoadPreviousTransactionsClick:f,onSaveSuccess:B,saveVendorDetailLocalData:A,onCancelClick:D,onTrendSelectedPeriodChange:u,onTransactionItemClick:E,onSpendTrendPercentChangeClick:Y,onSaveVendor:ne,onVendorSpendTrendFilterTabClick:G,onAddressClick:K,saveContactsInVendorTabDetailLocalData:X,onVendorDetailUIChange:H,sidePanelIsFullView:le,sidePanelIsOpen:ie,panelContent:re})=>{const R=Ee(),T=oe(),U=$.useRef(null),[J,de]=$.useState(!1),[ce,C]=$.useState(P.transactionListHeight.value()),j=s?.selectedTabType,Z=Vs(),m=Object.assign({},s?.vendorViewDetails?.vendorView),L=s?.vendorViewDetails.vendorView?.vendorDetailLocalData,ee=s?.uiState,et=!we(m!=null&&m.vendorAddress!=null?De(m.vendorAddress):m.vendorAddress,m.vendorNewAddressStatus?.addressToCreate!=null?De(m.vendorNewAddressStatus?.addressToCreate):m.vendorNewAddressStatus?.addressToCreate),tt=(m?.vendorDetailLocalData?.contacts??[]).filter(d=>d.email!==y.common.strings.empty||d.fullName!==y.common.strings.empty||d.phone!==y.common.strings.empty).map(d=>ft(d,"contactInfoType")),be=$.useMemo(()=>m.vendorBasic?.contacts??[],[m.vendorBasic?.contacts]),st=!we(tt,be),te=wt({mode:"all",defaultValues:Ae(s?.vendorViewDetails.accountsHierarchyList??[],s?.vendorViewDetails.classHierarchyList??[],s?.vendorViewDetails.vendorTypeList??[],s?.vendorViewDetails.vendorView?.vendorNewAddressStatus?.addressToCreate,s?.vendorViewDetails.vendorView?.vendorDetailLocalData,s?.vendorViewDetails.ownerList),values:Ae(s?.vendorViewDetails.accountsHierarchyList??[],s?.vendorViewDetails.classHierarchyList??[],s?.vendorViewDetails.vendorTypeList??[],s?.vendorViewDetails.vendorView?.vendorNewAddressStatus?.addressToCreate,s?.vendorViewDetails.vendorView?.vendorDetailLocalData,s?.vendorViewDetails.ownerList),resetOptions:{keepDirtyValues:!0}}),[at,ot]=$.useState(-1),nt=m.vendorDetailLocalData?.contacts!=null&&m.vendorDetailLocalData?.contacts.length>0?m.vendorDetailLocalData?.contacts:Ce,[lt,it]=$.useState(Ct(nt)),rt=d=>{it(d),X?.(L?.vendorId??y.common.strings.empty,d)};$.useEffect(()=>{p===!0&&J===!1&&s?.trendWithTransactions.trendReport?.fetchState==="Completed"&&s?.trendWithTransactions.transactionView?.fetchState==="Completed"&&(window.scrollTo({top:(U.current?.offsetTop??0)+P.navbarHeight,behavior:"smooth"}),de(!0))},[p,J,s?.trendWithTransactions.trendReport?.fetchState,s?.trendWithTransactions.transactionView?.fetchState]);const dt=new $t(R.colors.graphColor12),V=s?.fetchState==="Not-Started"||s?.fetchState==="In-Progress",ct=s?.vendorViewDetails.vendorView?.saveStatus.fetchState==="In-Progress",pt=s?.trendWithTransactions.trendReport?.fetchState==="In-Progress",mt=(d,v)=>{u?.(v)};$.useEffect(()=>{s?.vendorViewDetails.vendorView?.saveStatus?.fetchState==="Completed"&&B?.()},[m]);const ht=$.useCallback(()=>{window.scrollTo({top:(U.current?.offsetTop??0)+P.navbarHeight,behavior:"smooth"}),Y?.()},[Y]),gt=async(d,v)=>{const w=v;if(d.includes("isRecommendedCategorySelected")){const F=v[x].isRecommendedCategorySelected===!0?m?.vendorDetailLocalData?.recommendedCategory?.accountId:m?.vendorBasic?.account?.accountId;w[x].vendorCategory={selectedOption:F,allOptions:v[x].vendorCategory.allOptions}}if(d.includes("isRecommendedClassSelected")){const F=v[x].isRecommendedClassSelected===!0?m.vendorDetailLocalData?.recommendedClass?.classId:m?.vendorBasic?.class?.classId;w[x].vendorClass={selectedOption:F,allOptions:v[x].vendorClass.allOptions}}if(d.includes("vendorCategory")){const F=w[x].vendorCategory.selectedOption===w[x].recommendedCategory?.accountId;w[x].isRecommendedCategorySelected=F}if(d.includes("vendorClass")){const F=w[x].vendorClass.selectedOption===w[x].recommendedClass?.classId;w[x].isRecommendedClassSelected=F}ut(w)};$.useEffect(()=>{const d=te.watch((v,{name:w})=>{w!=null&&v!=null&&St(()=>gt(w,v))});return()=>{d.unsubscribe()}});const ut=d=>{const v=Ys(d,m.vendorBasic?.id,L);A?.(v)},vt=d=>{h(Jt(d.id))},yt={isLoading:s?.allVendorTransactionsView?.fetchState==="In-Progress"||s?.allVendorTransactionsView?.fetchState==="Not-Started",onLoadPreviousClick:(d,v)=>{f(d,(b?.numberOfQuartersFetched??0)+1)}},xt=()=>{switch(j){case"all_transactions":return t.jsx(Bs,{height:ce,children:V===!1&&b?.timePeriod!=null?t.jsx(ts,{firstMonthOfFY:r,timeframe:"quarter",timePeriod:b.timePeriod,transactions:s?.allVendorTransactionsView?.transactions??[],isFirstLotLoading:V,componentName:"trend.transactions.list",trackPerformance:!1,onTransactionItemClick:E,onListInnerElementHeightChanged:d=>{C(d)},showLoadPrevious:yt}):null});case"spend_transactions":default:return s?.trendWithTransactions!=null?t.jsxs(t.Fragment,{children:[t.jsx(es,{allTabs:Qs,selectedTab:s.vendorSpendTrendFilterTabValue,onTabChange:d=>{const v=Zt(d.id);v!=null&&G(v)},containerStyle:{marginLeft:l[8],marginRight:l[8]}}),t.jsx(Es,{ref:U,children:t.jsx(ss,{firstMonthOfFY:r,trendWithTransactionsReport:s?.trendWithTransactions,isDetailPage:!1,graphColor:dt,initialTransactionListHeight:P.transactionListHeight.value(T),page:"vendorDetailPage",onTimePeriodChange:mt,onTransactionItemClick:E})})]}):null}},bt=()=>{ee?.collapsableStatus==="expand"?H?.("collapse"):H?.("expand")},fe=Z.find(d=>j===d.id);return t.jsx(Dt,{isOpen:ie??!1,isFullView:le??!1,panelContent:re,headerContent:t.jsxs(t.Fragment,{children:[t.jsx(kt,{onBackClick:D,title:m.vendorBasic?.name??y.common.strings.empty,style:{zIndex:3},hideSearchBtn:!0,backgroundColor:R.colors.grey5,enableTitleOnScroll:!0,source:"VendorDetailPage"}),s?.vendorSpend!=null?t.jsx(ws,{isPageLoading:V,vendorName:m.vendorBasic?.name??y.common.strings.empty,spend:s?.vendorSpend,vendorLogo:i,isSpendTrendLoading:pt,onPercentChangeClick:ht}):null]}),listContent:t.jsxs(Rs,{children:[V===!0&&t.jsx(Be,{isPageLoading:V,children:t.jsx(Re,{size:T,children:t.jsx(Hs,{})})}),V===!1&&m.vendorDetailLocalData!=null&&t.jsxs(Be,{isPageLoading:V,children:[t.jsx(Re,{size:T,children:t.jsx(Tt,{...te,children:t.jsxs("form",{id:We(He),onSubmit:te.handleSubmit(ne),children:[t.jsx(Is,{sectionId:x,selectedVendorId:L?.vendorId,selectedVendorDetails:m,selectedAccountId:L?.vendorCategory,selectedClassId:L?.vendorClass,selectedOwnerId:L?.vendorOwner,recommendations:L?.recommendations??[],allAccounts:s?.vendorViewDetails.accountList.accounts??[],allClasses:s?.vendorViewDetails.classList.classes??[],screenType:"edit",selectedVendorName:L?.vendorName,allOwners:s?.vendorViewDetails.ownerList??[],readOnlyMode:n,isDisabled:c,accountsHierarchyList:s?.vendorViewDetails.accountsHierarchyList??[],classHierarchyList:s?.vendorViewDetails.classHierarchyList??[],enableRecommendationUpdateCheckbox:!0,uiState:ee,isFiling1099FeatureEnabled:e,onClickShowMoreOrLess:bt}),e&&ee?.collapsableStatus==="expand"?t.jsxs(qs,{collapsableStatus:ee?.collapsableStatus??"expand",children:[t.jsx($s,{selectedVendorDetails:m,isDisabled:c,onAddressClick:K,sectionId:xe,vendorTypeList:s?.vendorViewDetails.vendorTypeList??[]}),t.jsx(jt,{emailRequired:!1,vendorContactInfos:Ce,sectionId:ye,vendorContactInfoWithType:lt,setVendorContactInfoWithType:rt,deleteContactConfirmationIndex:at,updateContactDeleteConfirmationIndex:ot,initialContactList:be})]}):null]})})}),fe!=null?t.jsxs(As,{children:[t.jsx(Us,{children:t.jsx(gs,{allTabs:Z,containerStyle:{marginLeft:l[8],marginRight:l[8],borderBottom:`1px solid ${R.colors.grey3}`,backgroundColor:R.colors.grey4,justifyContent:"left"},selectedTab:fe,onOptionSelectionChanged:vt})}),xt()]}):null]}),!V&&n!==!0&&(Lt(te.formState.dirtyFields)||et||st)?t.jsx(Vt,{formId:We(He),primaryBtn:{label:Ne.save,isLoading:ct,style:{width:P.buttonWidth.value(T)},isDisabled:!1},cancelBtn:{label:Ne.cancel,style:{width:P.buttonWidth.value(T)},onClick:D}}):null]})})},Ae=(e,s,r,i,n,c)=>({[x]:{vendorName:n?.vendorName??y.common.strings.empty,vendorOwner:{allOptions:Qe(c),selectedOption:n?.vendorOwner},vendorCategory:{allOptions:qe(e,n?.recommendations),selectedOption:n?.vendorCategory},vendorClass:{allOptions:Ue(s,n?.recommendations),selectedOption:n?.vendorClass},recommendedCategory:n?.recommendedCategory,recommendedClass:n?.recommendedClass,isRecommendedCategorySelected:n?.isCategoryUpdateSelected??!1,isRecommendedClassSelected:n?.isClassUpdateSelected??!1},[xe]:{legalName:n?.legalName??y.common.strings.empty,email:n?.vendorEmail??y.common.strings.empty,phone:n?.vendorPhone??y.common.strings.empty,vendorType:{allTypes:r,selectedType:n?.vendorType},tinType:n?.tin?.type??null,tinValue:n?.tin?.value??null,address:i},[ye]:n!=null&&n?.contacts!=null&&n?.contacts.length!==0?n.contacts:[{fullName:y.common.strings.empty,email:y.common.strings.empty,phone:y.common.strings.empty,id:y.common.strings.empty}]}),Ys=(e,s,r)=>{const i=e?.[x],n=e?.[xe];return{vendorCategory:i.vendorCategory.selectedOption,vendorClass:i.vendorClass.selectedOption,vendorId:s,recommendations:r?.recommendations,vendorName:i.vendorName,legalName:n.legalName,vendorOwner:i.vendorOwner?.selectedOption,recommendedCategory:i.recommendedCategory,recommendedClass:i.recommendedClass,isCategoryUpdateSelected:i.isRecommendedCategorySelected??!1,isClassUpdateSelected:i.isRecommendedClassSelected??!1,vendorEmail:n.email,vendorPhone:n.phone,vendorType:n.vendorType.selectedType,tin:{type:n.tinType??null,value:n.tinValue!=null?n.tinValue.replace(Gt,y.common.strings.empty):null},address:n.address,contacts:e?.[ye]}};export{$a as default,We as formUniqueName,xe as vendor1099DetailsSectionId,x as vendorDetailsSectionId,Qs as vendorSpendTrendFilterTabs};
|
|
257
|
+
`,Qs=[{label:O.vendorSpendTrendFilterLabels.last_30_days,id:"last_30_days"},{label:O.vendorSpendTrendFilterLabels.last_90_days,id:"last_90_days"},{label:O.vendorSpendTrendFilterLabels.YTD_spend,id:"YTD_spend"},{label:O.vendorSpendTrendFilterLabels.last_month,id:"last_month"},{label:O.vendorSpendTrendFilterLabels.last_3_months,id:"last_3_months"},{label:O.vendorSpendTrendFilterLabels.last_6_months,id:"last_6_months"},{label:O.vendorSpendTrendFilterLabels.last_12_months,id:"last_12_months"},{label:O.vendorSpendTrendFilterLabels.last_year,id:"last_year"}],$a=({isFiling1099FeatureEnabled:e,vendorDetailView:s,firstMonthOfFY:r,vendorLogo:i,readOnlyMode:n,isDisabled:c,scrollToTrend:p,allTransactionsTabData:b,onVendorTabSelectionChanged:h,onLoadPreviousTransactionsClick:f,onSaveSuccess:B,saveVendorDetailLocalData:A,onCancelClick:D,onTrendSelectedPeriodChange:u,onTransactionItemClick:E,onSpendTrendPercentChangeClick:Y,onSaveVendor:ne,onVendorSpendTrendFilterTabClick:G,onAddressClick:K,saveContactsInVendorTabDetailLocalData:X,onVendorDetailUIChange:H,sidePanelIsFullView:le,sidePanelIsOpen:ie,panelContent:re})=>{const R=Ee(),T=oe(),U=$.useRef(null),[J,de]=$.useState(!1),[ce,C]=$.useState(P.transactionListHeight.value()),j=s?.selectedTabType,Z=Vs(),m=Object.assign({},s?.vendorViewDetails?.vendorView),L=s?.vendorViewDetails.vendorView?.vendorDetailLocalData,ee=s?.uiState,et=!we(m!=null&&m.vendorAddress!=null?De(m.vendorAddress):m.vendorAddress,m.vendorNewAddressStatus?.addressToCreate!=null?De(m.vendorNewAddressStatus?.addressToCreate):m.vendorNewAddressStatus?.addressToCreate),tt=(m?.vendorDetailLocalData?.contacts??[]).filter(d=>d.email!==y.common.strings.empty||d.fullName!==y.common.strings.empty||d.phone!==y.common.strings.empty).map(d=>ft(d,"contactInfoType")),be=$.useMemo(()=>m.vendorBasic?.contacts??[],[m.vendorBasic?.contacts]),st=!we(tt,be),te=wt({mode:"all",defaultValues:Ae(s?.vendorViewDetails.accountsHierarchyList??[],s?.vendorViewDetails.classHierarchyList??[],s?.vendorViewDetails.vendorTypeList??[],s?.vendorViewDetails.vendorView?.vendorNewAddressStatus?.addressToCreate,s?.vendorViewDetails.vendorView?.vendorDetailLocalData,s?.vendorViewDetails.ownerList),values:Ae(s?.vendorViewDetails.accountsHierarchyList??[],s?.vendorViewDetails.classHierarchyList??[],s?.vendorViewDetails.vendorTypeList??[],s?.vendorViewDetails.vendorView?.vendorNewAddressStatus?.addressToCreate,s?.vendorViewDetails.vendorView?.vendorDetailLocalData,s?.vendorViewDetails.ownerList),resetOptions:{keepDirtyValues:!0}}),[at,ot]=$.useState(-1),nt=m.vendorDetailLocalData?.contacts!=null&&m.vendorDetailLocalData?.contacts.length>0?m.vendorDetailLocalData?.contacts:Ce,[lt,it]=$.useState(Ct(nt)),rt=d=>{it(d),X?.(L?.vendorId??y.common.strings.empty,d)};$.useEffect(()=>{p===!0&&J===!1&&s?.trendWithTransactions.trendReport?.fetchState==="Completed"&&s?.trendWithTransactions.transactionView?.fetchState==="Completed"&&(window.scrollTo({top:(U.current?.offsetTop??0)+P.navbarHeight,behavior:"smooth"}),de(!0))},[p,J,s?.trendWithTransactions.trendReport?.fetchState,s?.trendWithTransactions.transactionView?.fetchState]);const dt=new $t(R.colors.graphColor12),V=s?.fetchState==="Not-Started"||s?.fetchState==="In-Progress",ct=s?.vendorViewDetails.vendorView?.saveStatus.fetchState==="In-Progress",pt=s?.trendWithTransactions.trendReport?.fetchState==="In-Progress",mt=(d,v)=>{u?.(v)};$.useEffect(()=>{s?.vendorViewDetails.vendorView?.saveStatus?.fetchState==="Completed"&&B?.()},[m]);const ht=$.useCallback(()=>{window.scrollTo({top:(U.current?.offsetTop??0)+P.navbarHeight,behavior:"smooth"}),Y?.()},[Y]),gt=async(d,v)=>{const w=v;if(d.includes("isRecommendedCategorySelected")){const z=v[x].isRecommendedCategorySelected===!0?m?.vendorDetailLocalData?.recommendedCategory?.accountId:m?.vendorBasic?.account?.accountId;w[x].vendorCategory={selectedOption:z,allOptions:v[x].vendorCategory.allOptions}}if(d.includes("isRecommendedClassSelected")){const z=v[x].isRecommendedClassSelected===!0?m.vendorDetailLocalData?.recommendedClass?.classId:m?.vendorBasic?.class?.classId;w[x].vendorClass={selectedOption:z,allOptions:v[x].vendorClass.allOptions}}if(d.includes("vendorCategory")){const z=w[x].vendorCategory.selectedOption===w[x].recommendedCategory?.accountId;w[x].isRecommendedCategorySelected=z}if(d.includes("vendorClass")){const z=w[x].vendorClass.selectedOption===w[x].recommendedClass?.classId;w[x].isRecommendedClassSelected=z}ut(w)};$.useEffect(()=>{const d=te.watch((v,{name:w})=>{w!=null&&v!=null&&St(()=>gt(w,v))});return()=>{d.unsubscribe()}});const ut=d=>{const v=Ys(d,m.vendorBasic?.id,L);A?.(v)},vt=d=>{h(Jt(d.id))},yt={isLoading:s?.allVendorTransactionsView?.fetchState==="In-Progress"||s?.allVendorTransactionsView?.fetchState==="Not-Started",onLoadPreviousClick:(d,v)=>{f(d,(b?.numberOfQuartersFetched??0)+1)}},xt=()=>{switch(j){case"all_transactions":return t.jsx(Bs,{height:ce,children:V===!1&&b?.timePeriod!=null?t.jsx(ts,{firstMonthOfFY:r,timeframe:"quarter",timePeriod:b.timePeriod,transactions:s?.allVendorTransactionsView?.transactions??[],isFirstLotLoading:V,componentName:"trend.transactions.list",trackPerformance:!1,onTransactionItemClick:E,onListInnerElementHeightChanged:d=>{C(d)},showLoadPrevious:yt}):null});case"spend_transactions":default:return s?.trendWithTransactions!=null?t.jsxs(t.Fragment,{children:[t.jsx(es,{allTabs:Qs,selectedTab:s.vendorSpendTrendFilterTabValue,onTabChange:d=>{const v=Zt(d.id);v!=null&&G(v)},containerStyle:{marginLeft:l[8],marginRight:l[8]}}),t.jsx(Es,{ref:U,children:t.jsx(ss,{firstMonthOfFY:r,trendWithTransactionsReport:s?.trendWithTransactions,isDetailPage:!1,graphColor:dt,initialTransactionListHeight:P.transactionListHeight.value(T),page:"vendorDetailPage",onTimePeriodChange:mt,onTransactionItemClick:E})})]}):null}},bt=()=>{ee?.collapsableStatus==="expand"?H?.("collapse"):H?.("expand")},fe=Z.find(d=>j===d.id);return t.jsx(Dt,{isOpen:ie??!1,isFullView:le??!1,panelContent:re,headerContent:t.jsxs(t.Fragment,{children:[t.jsx(kt,{onBackClick:D,title:m.vendorBasic?.name??y.common.strings.empty,style:{zIndex:3},hideSearchBtn:!0,backgroundColor:R.colors.grey5,enableTitleOnScroll:!0,source:"VendorDetailPage"}),s?.vendorSpend!=null?t.jsx(ws,{isPageLoading:V,vendorName:m.vendorBasic?.name??y.common.strings.empty,spend:s?.vendorSpend,vendorLogo:i,isSpendTrendLoading:pt,onPercentChangeClick:ht}):null]}),listContent:t.jsxs(Rs,{children:[V===!0&&t.jsx(Be,{isPageLoading:V,children:t.jsx(Re,{size:T,children:t.jsx(Hs,{})})}),V===!1&&m.vendorDetailLocalData!=null&&t.jsxs(Be,{isPageLoading:V,children:[t.jsx(Re,{size:T,children:t.jsx(Tt,{...te,children:t.jsxs("form",{id:We(He),onSubmit:te.handleSubmit(ne),children:[t.jsx(Is,{sectionId:x,selectedVendorId:L?.vendorId,selectedVendorDetails:m,selectedAccountId:L?.vendorCategory,selectedClassId:L?.vendorClass,selectedOwnerId:L?.vendorOwner,recommendations:L?.recommendations??[],allAccounts:s?.vendorViewDetails.accountList.accounts??[],allClasses:s?.vendorViewDetails.classList.classes??[],screenType:"edit",selectedVendorName:L?.vendorName,allOwners:s?.vendorViewDetails.ownerList??[],readOnlyMode:n,isDisabled:c,accountsHierarchyList:s?.vendorViewDetails.accountsHierarchyList??[],classHierarchyList:s?.vendorViewDetails.classHierarchyList??[],enableRecommendationUpdateCheckbox:!0,uiState:ee,isFiling1099FeatureEnabled:e,onClickShowMoreOrLess:bt}),e&&ee?.collapsableStatus==="expand"?t.jsxs(qs,{collapsableStatus:ee?.collapsableStatus??"expand",children:[t.jsx($s,{selectedVendorDetails:m,isDisabled:c,onAddressClick:K,sectionId:xe,vendorTypeList:s?.vendorViewDetails.vendorTypeList??[]}),t.jsx(jt,{emailRequired:!1,vendorContactInfos:Ce,sectionId:ye,vendorContactInfoWithType:lt,setVendorContactInfoWithType:rt,deleteContactConfirmationIndex:at,updateContactDeleteConfirmationIndex:ot,initialContactList:be})]}):null]})})}),fe!=null?t.jsxs(As,{children:[t.jsx(Us,{children:t.jsx(gs,{allTabs:Z,containerStyle:{marginLeft:l[8],marginRight:l[8],borderBottom:`1px solid ${R.colors.grey3}`,backgroundColor:R.colors.grey4,justifyContent:"left"},selectedTab:fe,onOptionSelectionChanged:vt})}),xt()]}):null]}),!V&&n!==!0&&(Lt(te.formState.dirtyFields)||et||st)?t.jsx(Vt,{formId:We(He),primaryBtn:{label:Ne.save,isLoading:ct,style:{width:P.buttonWidth.value(T)},isDisabled:!1},cancelBtn:{label:Ne.cancel,style:{width:P.buttonWidth.value(T)},onClick:D}}):null]})})},Ae=(e,s,r,i,n,c)=>({[x]:{vendorName:n?.vendorName??y.common.strings.empty,vendorOwner:{allOptions:Qe(c),selectedOption:n?.vendorOwner},vendorCategory:{allOptions:qe(e,n?.recommendations),selectedOption:n?.vendorCategory},vendorClass:{allOptions:Ue(s,n?.recommendations),selectedOption:n?.vendorClass},recommendedCategory:n?.recommendedCategory,recommendedClass:n?.recommendedClass,isRecommendedCategorySelected:n?.isCategoryUpdateSelected??!1,isRecommendedClassSelected:n?.isClassUpdateSelected??!1},[xe]:{legalName:n?.legalName??y.common.strings.empty,email:n?.vendorEmail??y.common.strings.empty,phone:n?.vendorPhone??y.common.strings.empty,vendorType:{allTypes:r,selectedType:n?.vendorType},tinType:n?.tin?.type??null,tinValue:n?.tin?.value??null,address:i},[ye]:n!=null&&n?.contacts!=null&&n?.contacts.length!==0?n.contacts:[{fullName:y.common.strings.empty,email:y.common.strings.empty,phone:y.common.strings.empty,id:y.common.strings.empty}]}),Ys=(e,s,r)=>{const i=e?.[x],n=e?.[xe];return{vendorCategory:i.vendorCategory.selectedOption,vendorClass:i.vendorClass.selectedOption,vendorId:s,recommendations:r?.recommendations,vendorName:i.vendorName,legalName:n.legalName,vendorOwner:i.vendorOwner?.selectedOption,recommendedCategory:i.recommendedCategory,recommendedClass:i.recommendedClass,isCategoryUpdateSelected:i.isRecommendedCategorySelected??!1,isClassUpdateSelected:i.isRecommendedClassSelected??!1,vendorEmail:n.email,vendorPhone:n.phone,vendorType:n.vendorType.selectedType,tin:{type:n.tinType??null,value:n.tinValue!=null?n.tinValue.replace(Gt,y.common.strings.empty):null},address:n.address,contacts:e?.[ye]}};export{$a as default,We as formUniqueName,xe as vendor1099DetailsSectionId,x as vendorDetailsSectionId,Qs as vendorSpendTrendFilterTabs};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{V as f}from"./index-
|
|
1
|
+
import{V as f}from"./index-CE4a3GDT.js";import{a as k}from"./sentry-wpLc0w9b.js";import{D as y}from"./DomesticWireDetailsPage-C--eZ-UG-Mxsf66Bz.js";import"./liveblocks-mJOf9rAw.js";import"./core-Cgphrdqi.js";import"./recharts-D-YAfDZj.js";import"./zeni-epic-state-BwFYSQY8.js";import"./mui-4aI62okM.js";import"./lottie-CH7yL4lR.js";import"./analytics-T3rNNQ2m.js";import"./lexical-B-NT_OOU.js";import"./utils-DCLZL4US.js";import"./BankAccountSection-hcKEMs80-B_7x03fQ.js";import"./MagicLinkTitleSection-BA-i6vzA-CYBavCDH.js";import"./BankAccountWarningSection-CpxVDMSZ-CzExELRC.js";import"./MailingDetailsSection-EwtoQ2TZ-LI0y4mBJ.js";import"./LabeledAddressValueField-BoHS44YO-DTrVpXEk.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="b6512153-667d-45e0-9829-54b2424b3940",e._sentryDebugIdIdentifier="sentry-dbid-b6512153-667d-45e0-9829-54b2424b3940")}catch{}})();const j=({vendorViewDetails:e,bankAccountContext:t,isDisabled:r,onSaveHandler:d,onWireDetailsUpdated:s,onBackClick:o,onFetchBankName:i,onAddressClick:c})=>{const{bankAccountCreationState:n,editVendorState:p,newVendorState:m,bankNameByRouting:u,bankAccountToCreate:b,fetchBankNameByRoutingStatus:l}=e,a=Object.assign({},p??m);return k.useEffect(()=>{(t==="vendor"&&n?.fetchState==="Completed"||a?.saveStatus?.fetchState==="Completed"&&t!=="express-pay")&&o()},[n,a?.saveStatus?.fetchState,o,t]),f.jsx(y,{bankAccountToCreate:b,bankAccountCreationState:n,bankNameByRouting:u,addressToEdit:a?.vendorNewAddressStatus?.addressToCreate,mailingAddress:a?.vendorAddress,addressType:"vendor_address",fetchBankNameByRoutingStatus:l,isDisabled:r,onSaveHandler:d,onWireDetailsUpdated:s,onBackClick:o,onAddressClick:c,onFetchBankName:i})};export{j as default};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{J as ae,d as ze,aa as Ae,cH as ke,y as w,V as t,bE as Be,aR as Ee,ad as Re,cM as C,o as s,cR as Oe,hm as We,gh as qe,cV as Me,hn as He,ho as Ke,cQ as Ue,aT as _e,F as ne,f1 as U,ht as de,ex as Ge,f2 as Qe,u as c,x as Je,bR as L,cF as Ye,hu as Ze,p as P,G as Xe,ck as et,am as ce,eN as tt,hv as st,hw as lt,hx as M,f3 as it}from"./index-
|
|
1
|
+
import{J as ae,d as ze,aa as Ae,cH as ke,y as w,V as t,bE as Be,aR as Ee,ad as Re,cM as C,o as s,cR as Oe,hm as We,gh as qe,cV as Me,hn as He,ho as Ke,cQ as Ue,aT as _e,F as ne,f1 as U,ht as de,ex as Ge,f2 as Qe,u as c,x as Je,bR as L,cF as Ye,hu as Ze,p as P,G as Xe,ck as et,am as ce,eN as tt,hv as st,hw as lt,hx as M,f3 as it}from"./index-CE4a3GDT.js";import{a as x}from"./sentry-wpLc0w9b.js";import{n as o}from"./mui-4aI62okM.js";import{Y as rt}from"./LabeledDropDownFormattedTextField-ChgtJqPr-iLOroUl9.js";import"./liveblocks-mJOf9rAw.js";import"./core-Cgphrdqi.js";import"./recharts-D-YAfDZj.js";import"./zeni-epic-state-BwFYSQY8.js";import"./lottie-CH7yL4lR.js";import"./analytics-T3rNNQ2m.js";import"./lexical-B-NT_OOU.js";import"./utils-DCLZL4US.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},i=new e.Error().stack;i&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[i]="402ebfd4-838a-44d7-9dfe-6c8940226e8f",e._sentryDebugIdIdentifier="sentry-dbid-402ebfd4-838a-44d7-9dfe-6c8940226e8f")}catch{}})();const te={largeLabelWidth:new w(160,210,230),paddingBottom:new w(c[3],c[2])},j=(e,i)=>`${e}.${i}`;function ot(e){const{loadingState:i}=e;return t.jsx(at,{...e,isDisabled:e.isDisabled||i==="In-Progress"?"disabled":void 0})}function at({googleAPIKey:e,addressToEdit:i,sectionId:a,isDisabled:g,style:O}){const E=ae(),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:O,children:t.jsxs(dt,{children:[t.jsx(st,{isDisabled:g,label:{label:u.address.street,width:p,showBullet:!0},addressField:{name:j(a,"street"),defaultValue:{addressString:i?.street[0]??"",addressValue:i!=null?de(i):void 0},placeholder:M(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(a,"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(a,"city"),defaultValue:i?.city,placeholder:M(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(a,"state"),defaultValue:i?.state,placeholder:M(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(a,"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(a,"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(a,"secondaryInfo"),defaultValue:i?.street[2],placeholder:u.address.secondaryInfoPlaceholder,autoComplete:"new-password"}})]})})]})}const nt=o.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
flex-direction: column;
|
|
4
4
|
margin-left: ${s.sp3};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{J as ae,ax as Nn,d as mn,aa as et,ic as Pe,cH as nt,az as On,id as re,ie as ve,ig as fe,ih as be,ii as me,V as n,i7 as tt,ad as ot,bE as it,ab as rt,cr as st,cs as at,ct as lt,bX as dt,bQ as ct,aR as J,co as mt,b5 as pt,dq as ut,cv as ht,T as gt,F as je,y as w,A as Ne,o as t,aW as In,am as De,aV as wt,u as c,aj as Re,cB as xt,dv as Tn,bR as Te,bj as Pn,cE as vt,c1 as ft,dI as bt,bc as Je,bv as pn,p as B,h as zn,h4 as $t,dl as wn,d3 as rn,ij as sn,ap as St,bV as Be,dS as yt,eB as xn,bM as jt,dx as Rt,i as vn,cy as Vt,ik as Ct,il as kt,cL as Mt,ex as Nt,eG as Ot,eH as It,an as Dn,im as Tt,bK as se,io as fn,gS as Pt,au as zt,at as Dt,dw as _t,b as _n,H as Lt,l as Ft,aY as dn}from"./index-
|
|
1
|
+
import{J as ae,ax as Nn,d as mn,aa as et,ic as Pe,cH as nt,az as On,id as re,ie as ve,ig as fe,ih as be,ii as me,V as n,i7 as tt,ad as ot,bE as it,ab as rt,cr as st,cs as at,ct as lt,bX as dt,bQ as ct,aR as J,co as mt,b5 as pt,dq as ut,cv as ht,T as gt,F as je,y as w,A as Ne,o as t,aW as In,am as De,aV as wt,u as c,aj as Re,cB as xt,dv as Tn,bR as Te,bj as Pn,cE as vt,c1 as ft,dI as bt,bc as Je,bv as pn,p as B,h as zn,h4 as $t,dl as wn,d3 as rn,ij as sn,ap as St,bV as Be,dS as yt,eB as xn,bM as jt,dx as Rt,i as vn,cy as Vt,ik as Ct,il as kt,cL as Mt,ex as Nt,eG as Ot,eH as It,an as Dn,im as Tt,bK as se,io as fn,gS as Pt,au as zt,at as Dt,dw as _t,b as _n,H as Lt,l as Ft,aY as dn}from"./index-CE4a3GDT.js";import{a as f}from"./sentry-wpLc0w9b.js";import{n as o,c as cn}from"./mui-4aI62okM.js";import{gu as At,G7 as Bt}from"./zeni-epic-state-BwFYSQY8.js";import{r as Et}from"./core-Cgphrdqi.js";import"./liveblocks-mJOf9rAw.js";import"./recharts-D-YAfDZj.js";import"./lottie-CH7yL4lR.js";import"./analytics-T3rNNQ2m.js";import"./lexical-B-NT_OOU.js";import"./utils-DCLZL4US.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},s=new e.Error().stack;s&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[s]="635e160c-a749-491a-beb0-2816ea3e3368",e._sentryDebugIdIdentifier="sentry-dbid-635e160c-a749-491a-beb0-2816ea3e3368")}catch{}})();const Ln=({steps:e})=>{const s=ae();return n.jsx(Wt,{windowSize:s,children:e.map((m,d)=>n.jsxs(Ut,{children:[n.jsx(Ht,{children:d!==e.length-1?d+1:n.jsx(Qt,{})}),n.jsx(Gt,{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,J,aa as he,F as U,cH as ye,aF as ge,cr as be,cs as fe,ct as xe,ad as ve,aT as we,y as p,f1 as le,f2 as Ce,o as y,bb as $e,cL as oe,d as ne,f3 as De,f4 as K,cQ as G,b3 as H,cM as Te,es as je,u as a,ex as ke,aR as Se,p as V,H as Oe,T as Fe,bV as Ae,aj as Le,bM as Ie}from"./index-
|
|
1
|
+
import{V as t,J,aa as he,F as U,cH as ye,aF as ge,cr as be,cs as fe,ct as xe,ad as ve,aT as we,y as p,f1 as le,f2 as Ce,o as y,bb as $e,cL as oe,d as ne,f3 as De,f4 as K,cQ as G,b3 as H,cM as Te,es as je,u as a,ex as ke,aR as Se,p as V,H as Oe,T as Fe,bV as Ae,aj as Le,bM as Ie}from"./index-CE4a3GDT.js";import{a as R}from"./sentry-wpLc0w9b.js";import{n as g}from"./mui-4aI62okM.js";import{bi as Q}from"./zeni-epic-state-BwFYSQY8.js";import{W as We,A as ze}from"./BankAccountWarningSection-CpxVDMSZ-CzExELRC.js";import{T as Re}from"./MailingDetailsSection-EwtoQ2TZ-LI0y4mBJ.js";import{S as Pe}from"./CurrencySelectField-BDqU4HVy-DwEarU92.js";import"./liveblocks-mJOf9rAw.js";import"./core-Cgphrdqi.js";import"./recharts-D-YAfDZj.js";import"./lottie-CH7yL4lR.js";import"./analytics-T3rNNQ2m.js";import"./lexical-B-NT_OOU.js";import"./utils-DCLZL4US.js";import"./LabeledAddressValueField-BoHS44YO-DTrVpXEk.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},i=new e.Error().stack;i&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[i]="d105ec0f-012a-4dba-b1c7-b42036223bb2",e._sentryDebugIdIdentifier="sentry-dbid-d105ec0f-012a-4dba-b1c7-b42036223bb2")}catch{}})();const F={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 Oe("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:S=!0}){const C=J(),{formState:{errors:b}}=oe(),$=ne(),D=ke(b,l.name),m=()=>{if(n===!0)return t.jsx(He,{children:t.jsx(Fe,{size:"Small",start:!0})});if(S&&T||D){let c=null;return o===!0&&S&&w&&(c=t.jsx(Ae,{placement:C==="small"?"bottom":"right",maxWidth:"364px",title:t.jsx(Ve,{children:w}),children:t.jsx(Ne,{children:t.jsx(Ue,{})})})),t.jsxs(qe,{size:C,isError:D,hasToolTip:o,isDisabled:e!=null,children:[c,T]})}};return t.jsxs(Ee,{size:C,style:f,isDisabled:e!=null,isError:D,"data-testid":Se("labeled-currency-field",l.name),children:[t.jsx(G,{isDisabled:e,label:i.label,htmlFor:l.name,style:{marginLeft:F.labelMarginLeft.value(C),marginRight:F.labelMarginRight.value(C),marginTop:F.labelMarginTop.value(C),width:i.width??"auto",color:e==="disabled"?$.colors.grey2:$.colors.hero}}),t.jsxs(Be,{labelWidth:i.width,children:[t.jsx(Pe,{...l,isDisabled:e,style:{display:"flex",flexGrow:1,height:F.controlHeight.value(C)}}),D?t.jsx(Me,{windowSize:C,hasError:D,children:u}):null,m()]})]})}const Ee=g.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
flex-direction: row;
|
|
4
4
|
align-items: flex-start;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{V as S}from"./index-
|
|
1
|
+
import{V as S}from"./index-CE4a3GDT.js";import{a as b}from"./sentry-wpLc0w9b.js";import{f as k}from"./InternationalWireSwiftDetailsPage-DxdKE300-DHFTD16I.js";import"./liveblocks-mJOf9rAw.js";import"./core-Cgphrdqi.js";import"./recharts-D-YAfDZj.js";import"./zeni-epic-state-BwFYSQY8.js";import"./mui-4aI62okM.js";import"./lottie-CH7yL4lR.js";import"./analytics-T3rNNQ2m.js";import"./lexical-B-NT_OOU.js";import"./utils-DCLZL4US.js";import"./BankAccountWarningSection-CpxVDMSZ-CzExELRC.js";import"./MailingDetailsSection-EwtoQ2TZ-LI0y4mBJ.js";import"./LabeledAddressValueField-BoHS44YO-DTrVpXEk.js";import"./MagicLinkTitleSection-BA-i6vzA-CYBavCDH.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="8f3c03e5-adbe-4a26-8303-03011bf39f4d",e._sentryDebugIdIdentifier="sentry-dbid-8f3c03e5-adbe-4a26-8303-03011bf39f4d")}catch{}})();const F=({vendorViewDetails:e,bankAccountContext:t,isDisabled:d,onSaveHandler:r,onBankDetailsUpdated:i,onBackClick:n,onFetchBankNameBySwift:s,onAddressClick:f})=>{const{internationalBankAccountCreateStatus:o,internationalBankAccountToCreate:c,editVendorState:m,newVendorState:l,bankNameBySwift:p,fetchBankNameBySwiftStatus:u}=e,a={...m??l};return b.useEffect(()=>{(t==="vendor"&&o.fetchState==="Completed"||a?.saveStatus?.fetchState==="Completed")&&n()},[o,a?.saveStatus?.fetchState,n,t]),S.jsx(k,{bankAccountToCreate:c,bankAccountCreationState:o,bankNameBySwift:p,addressToEdit:a?.vendorNewAddressStatus?.addressToCreate,mailingAddress:a?.vendorAddress,addressType:"vendor_address",fetchBankNameBySwiftStatus:u,isDisabled:d,onSaveHandler:r,onBankDetailsUpdated:i,onBackClick:n,onAddressClick:f,onFetchBankNameBySwift:s})};export{F as default};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{J as ie,d as oe,F as te,y as c,gL as w,aX as T,V as i,h$ as g,o as r,hY as m,H as ne,p as re,dC as de,aj as se,u as a}from"./index-
|
|
1
|
+
import{J as ie,d as oe,F as te,y as c,gL as w,aX as T,V as i,h$ as g,o as r,hY as m,H as ne,p as re,dC as de,aj as se,u as a}from"./index-CE4a3GDT.js";import{n as s}from"./mui-4aI62okM.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},u=new e.Error().stack;u&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[u]="66b86511-f805-49c2-9b93-134354264499",e._sentryDebugIdIdentifier="sentry-dbid-66b86511-f805-49c2-9b93-134354264499")}catch{}})();const d={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:r.sp6},k={title:new ne("standardMedium","largeMedium")},le=s.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
flex-direction: column;
|
|
4
4
|
row-gap: ${e=>d.rowGap.valuePx(e.windowSize)};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{aS as z,aa as U,V as r,bU as W,ab as p,ad as X,bV as Z,aj as x,bW as B,o as n,F as N,i as D,bX as G,am as O,bY as Y,bZ as E,bM as q,p as j,bc as v,b_ as J}from"./index-
|
|
1
|
+
import{aS as z,aa as U,V as r,bU as W,ab as p,ad as X,bV as Z,aj as x,bW as B,o as n,F as N,i as D,bX as G,am as O,bY as Y,bZ as E,bM as q,p as j,bc as v,b_ as J}from"./index-CE4a3GDT.js";import{a as c}from"./sentry-wpLc0w9b.js";import{n as t}from"./mui-4aI62okM.js";import{bh as K}from"./zeni-epic-state-BwFYSQY8.js";import{A as Q,Z as C}from"./AccountLockedInfoModal-aukulrV7-B3RnytHh.js";import"./liveblocks-mJOf9rAw.js";import"./core-Cgphrdqi.js";import"./recharts-D-YAfDZj.js";import"./lottie-CH7yL4lR.js";import"./analytics-T3rNNQ2m.js";import"./lexical-B-NT_OOU.js";import"./utils-DCLZL4US.js";import"./handshake-BPg58FML-CXWtMOZc.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},i=new e.Error().stack;i&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[i]="54a63525-6e30-4a9c-9d35-0eced5cbc651",e._sentryDebugIdIdentifier="sentry-dbid-54a63525-6e30-4a9c-9d35-0eced5cbc651")}catch{}})();const ee=e=>{if(!e)return"";try{const i=Y(e);if(!i){const l=e.replace(/\D/g,"");if(l.length>=4){const g=l.slice(-4);return`+${l.slice(0,-4)||"1"} (•••) ••• ${g}`}return E(e)||e}const a=i.countryCallingCode,f=i.nationalNumber.slice(-4);return`+${a} (•••) ••• ${f}`}catch{const i=e.replace(/\D/g,"");if(i.length>=4){const a=i.slice(-4);return`+${i.slice(0,-4)||"1"} (•••) ••• ${a}`}return E(e)||e}},V=120,_=30,k=2,re="456px",te="256px",F=6,o=N.getLocalizedStrings().commonSetUp.twoFactorAuthentication,m="otpInputField",Me=e=>{const i=e.verifyOtpFetchState==="In-Progress",[a,f]=c.useState(!1),[l,g]=c.useState(!1),[y,L]=c.useState(0),[b,w]=c.useState(V),[h,S]=c.useState(_),I=z(e.verifyOtpFetchState),u=U({mode:"all",reValidateMode:"onChange",defaultValues:{[m]:""}}),$=u.watch(m),P=()=>{e.onCancelVerifyDevice()},M=()=>{$.trim().length===F&&e.onVerifyOtp($)},H=o.footerHelperText.replace(/<button_text>/,o.verify);c.useEffect(()=>{I==="In-Progress"&&e.verifyOtpFetchState==="Error"&&(f(!0),L(s=>s+1),u.setValue(m,""))},[I,e.verifyOtpFetchState,u]),c.useEffect(()=>{if(b<=0){g(!0);return}const s=setInterval(()=>{w(d=>d<=1?0:d-1)},1e3);return()=>clearInterval(s)},[b]),c.useEffect(()=>{if(h<=0)return;const s=setInterval(()=>{S(d=>d<=1?0:d-1)},1e3);return()=>clearInterval(s)},[h]);const A=s=>{const d=Math.floor(s/60),R=s%60;return`${d}:${R.toString().padStart(2,"0")}`};return r.jsx(W,{open:!0,children:r.jsxs(ne,{children:[r.jsx(p,{controller:y>k,children:r.jsx(Q,{unlockDate:K().add(1,"hour"),onSubmit:e.onCancelVerifyDevice})}),r.jsx(p,{controller:y<=k,children:r.jsx(X,{...u,children:r.jsxs(ge,{children:[r.jsxs(xe,{children:[r.jsx(oe,{children:o.verifyDeviceTitle}),r.jsx(ie,{children:o.verifyDeviceDescription}),r.jsxs(le,{children:[e.phoneNumber!=null&&r.jsx(se,{children:ee(e.phoneNumber+"")}),r.jsx(Z,{placement:"top",title:r.jsxs(x,{children:[o.changePhoneNumberHelperText,r.jsx(Se,{href:`mailto:${C}`,children:C})]}),enterDelay:600,children:r.jsx(we,{})})]})]}),r.jsxs(ce,{children:[r.jsx(B,{value:$,valueLength:6,hasError:l===!0||a===!0,style:{margin:n.sp0},onChange:s=>{u.setValue(m,s),f(!1)}}),r.jsx(p,{controller:l===!1,children:r.jsx(T,{children:r.jsxs($e,{children:[o.codeExpiresIn," ",A(b)]})})}),r.jsx(p,{controller:l===!0,children:r.jsx(T,{children:r.jsx(je,{children:o.codeExpired})})})]}),a===!0&&l===!1?r.jsxs(r.Fragment,{children:[r.jsx(p,{controller:y>=1,children:r.jsx(ae,{children:o.incorrectCode})}),r.jsx(p,{controller:y===2,children:r.jsx(be,{children:r.jsxs(x,{children:[r.jsx(ve,{}),o.accountLockWarning]})})})]}):null,r.jsx(p,{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(),f(!1),g(!1),u.setValue(m,""),w(V),S(_))},children:o.resend}),h>0&&r.jsxs(he,{children:[N.getLocalizedStrings().common.in.toLowerCase()," ",h,"s"]})]})}),r.jsxs(ye,{children:[r.jsxs(fe,{children:[r.jsx(D,{label:o.cancel,onClick:P,style:{width:82}}),r.jsx(D,{variant:"primary",label:o.verify,onClick:M,style:{width:82},loading:i,disabled:$.trim().length!==F||l===!0})]}),r.jsx(me,{children:H})]})]})})})]})})},ne=t.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
flex-direction: column;
|
|
4
4
|
min-width: ${te};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/react-
|
|
2
|
-
import{J as W,V as f,ap as X,p as Y}from"./index-BkgFwDrN.js";import{P as _,a as t}from"./sentry-DG5QSuAU.js";import{n as k,k as K}from"./mui-B8eJ9Mf-.js";import{r as Z}from"./core-ynj-rcGI.js";import{ba as y}from"./zeni-epic-state-DJMVsfEo.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},r=new e.Error().stack;r&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[r]="f903db24-5273-4131-b864-8e9d741886c6",e._sentryDebugIdIdentifier="sentry-dbid-f903db24-5273-4131-b864-8e9d741886c6")}catch{}})();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,J=/stream\.mux\.com\/(?!\w+\.m3u8)(\w+)/,Q=/(?: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]+)/,T=(e,r)=>{if(Array.isArray(e)){for(const s of e)if(typeof s=="string"&&T(s,r)||T(s.src,r))return!0;return!1}return r(e)},m={html:e=>T(e,r=>N.test(r)||z.test(r)),hls:e=>T(e,r=>V.test(r)),dash:e=>T(e,r=>q.test(r)),mux:e=>J.test(e),youtube:e=>Q.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 s=N.test(`${e.src}`)?"audio":"video";return _.createElement(s,{...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-DGuEmiZJ.js"),__vite__mapDeps([0,1,2,3])))},{key:"dash",name:"dash.js",canPlay:m.dash,canEnablePIP:()=>!0,player:t.lazy(()=>y(()=>import("./react-X8-6TOPN.js"),__vite__mapDeps([4,1,5,6,2])))},{key:"mux",name:"Mux",canPlay:m.mux,canEnablePIP:()=>!0,player:t.lazy(()=>y(()=>import("./index-v6BtqX9b.js"),__vite__mapDeps([7,1,3,2])))},{key:"youtube",name:"YouTube",canPlay:m.youtube,player:t.lazy(()=>y(()=>import("./react-dxyEk0M0.js"),__vite__mapDeps([8,1])))},{key:"vimeo",name:"Vimeo",canPlay:m.vimeo,player:t.lazy(()=>y(()=>import("./react-CFlKsGqS.js"),__vite__mapDeps([9,1])))},{key:"wistia",name:"Wistia",canPlay:m.wistia,canEnablePIP:()=>!0,player:t.lazy(()=>y(()=>import("./react-KPbq6YvL.js"),__vite__mapDeps([10,1])))},{key:"spotify",name:"Spotify",canPlay:m.spotify,canEnablePIP:()=>!1,player:t.lazy(()=>y(()=>import("./react-BmpaTIjZ.js"),__vite__mapDeps([11,1])))},{key:"twitch",name:"Twitch",canPlay:m.twitch,canEnablePIP:()=>!1,player:t.lazy(()=>y(()=>import("./react-1AASI5B3.js"),__vite__mapDeps([12,1])))},{key:"tiktok",name:"TikTok",canPlay:m.tiktok,canEnablePIP:()=>!1,player:t.lazy(()=>y(()=>import("./react-DTkKR0hX.js"),__vite__mapDeps([13,1])))},{key:"html",name:"html",canPlay:m.html,canEnablePIP:()=>!0,player:ne}];var B=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:s,pip:u}=e,n=e.activePlayer,a=t.useRef(null),o=t.useRef(!0);t.useEffect(()=>{var l,i;a.current&&(a.current.paused&&s===!0&&a.current.play(),!a.current.paused&&s===!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,c,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=(c=a.current).exitPictureInPicture)==null||P.call(c),(v=document.exitPictureInPicture)==null||v.call(document)}catch{}}},[u]);const w=l=>{var i,c;o.current=!0,(i=e.onReady)==null||i.call(e),(c=e.onLoadStart)==null||c.call(e,l)},h=l=>{var i,c;o.current&&(o.current=!1,(i=e.onStart)==null||i.call(e,l)),(c=e.onPlay)==null||c.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:w,onPlay:h},e.children)});H.displayName="Player";var ce=H;const ue=t.lazy(()=>y(()=>import("./Preview-DLSswg8i.js"),__vite__mapDeps([14,1]))),A=[],de=(e,r)=>{const s=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:w,slot:h,className:b,style:E,width:l,height:i,fallback:c,wrapper:P}=o,[v,d]=t.useState(!!o.light);t.useEffect(()=>{o.light?d(!0):d(!1)},[o.light]);const g=p=>{var x;d(!1),(x=o.onClickPreview)==null||x.call(o,p)},I=p=>{if(!p)return null;const{light:x,playIcon:S,previewTabIndex:C,oEmbedUrl:L,previewAriaLabel:U}=o;return _.createElement(ue,{src:p,light:x,playIcon:S,previewTabIndex:C,previewAriaLabel:U,oEmbedUrl:L,onClickPreview:g})},O=p=>{var x,S;const C=s(p);if(!C)return null;const{style:L,width:U,height:$,wrapper:F}=o,G=(x=o.config)==null?void 0:x[C.key];return _.createElement(ce,{...o,ref:a,activePlayer:(S=C.player)!=null?S:C,slot:F?void 0:h,className:F?void 0:b,style:F?{display:"block",width:"100%",height:"100%"}:{display:"block",width:U,height:$,...L},config:G})},D=P??M,R=c===!1?M:t.Suspense;return _.createElement(D,{slot:h,className:b,style:{width:l,height:i,...E}},_.createElement(R,{fallback:c},v?I(w):O(w)))});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=B[B.length-1];var j=de(B,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 ke({src:e,autoPlay:r=!0,config:s,controls:u=!0,height:n="100%",isModalOpen:a,loop:o=!1,muted:w=!1,showPlayButton:h=!1,style:b,thumbnail:E,width:l="100%",onEnded:i,onModalClose:c,onPlay:P}){const v=W(),[d,g]=t.useState(!1);t.useEffect(()=>{a===!0&&r?g(!0):a===!1&&g(!1)},[a,r]);const I={};s?.youtube&&(I.youtube=s.youtube);const O=()=>{g(!0),P?.()},D=()=>{g(!1),c?.()},R=()=>{g(!1),i?.(),a!=null&&c?.()},p=()=>{g(!0),P?.()};return a!=null?a?Z.createPortal(f.jsx(Ee,{windowSize:v,role:"presentation",children:f.jsx(X,{onClickAway:D,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:w,loop:o,width:"100%",height:"100%",onEnded:R,onPlay:p,config:I})]})})})}),document.body):null:f.jsx(j,{src:e,playing:d,controls:u,muted:w,loop:o,width:l,height:n,style:b,light:h&&!d?E??!0:!1,onEnded:R,onPlay:p,config:I})}const ye=K`
|
|
1
|
+
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/react-Bx8qq35O.js","assets/sentry-wpLc0w9b.js","assets/mixin-BPAPQfSE.js","assets/hls-DifHSkbp.js","assets/react-BxtZMNkY.js","assets/zeni-epic-state-BwFYSQY8.js","assets/core-Cgphrdqi.js","assets/index-DMJM1J8R.js","assets/react-pcnMIbV9.js","assets/react-14tgf1ik.js","assets/react-B4F47UeE.js","assets/react-tQd3sk8G.js","assets/react-D2-N_PY-.js","assets/react-uhreOVUJ.js","assets/Preview-C_scJ0LA.js"])))=>i.map(i=>d[i]);
|
|
2
|
+
import{J as W,V as f,ap as X,p as Y}from"./index-CE4a3GDT.js";import{P as _,a as t}from"./sentry-wpLc0w9b.js";import{n as k,k as K}from"./mui-4aI62okM.js";import{r as Z}from"./core-Cgphrdqi.js";import{ba as y}from"./zeni-epic-state-BwFYSQY8.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},r=new e.Error().stack;r&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[r]="f903db24-5273-4131-b864-8e9d741886c6",e._sentryDebugIdIdentifier="sentry-dbid-f903db24-5273-4131-b864-8e9d741886c6")}catch{}})();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,J=/stream\.mux\.com\/(?!\w+\.m3u8)(\w+)/,Q=/(?: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]+)/,T=(e,r)=>{if(Array.isArray(e)){for(const s of e)if(typeof s=="string"&&T(s,r)||T(s.src,r))return!0;return!1}return r(e)},m={html:e=>T(e,r=>N.test(r)||z.test(r)),hls:e=>T(e,r=>V.test(r)),dash:e=>T(e,r=>q.test(r)),mux:e=>J.test(e),youtube:e=>Q.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 s=N.test(`${e.src}`)?"audio":"video";return _.createElement(s,{...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-Bx8qq35O.js"),__vite__mapDeps([0,1,2,3])))},{key:"dash",name:"dash.js",canPlay:m.dash,canEnablePIP:()=>!0,player:t.lazy(()=>y(()=>import("./react-BxtZMNkY.js"),__vite__mapDeps([4,1,5,6,2])))},{key:"mux",name:"Mux",canPlay:m.mux,canEnablePIP:()=>!0,player:t.lazy(()=>y(()=>import("./index-DMJM1J8R.js"),__vite__mapDeps([7,1,3,2])))},{key:"youtube",name:"YouTube",canPlay:m.youtube,player:t.lazy(()=>y(()=>import("./react-pcnMIbV9.js"),__vite__mapDeps([8,1])))},{key:"vimeo",name:"Vimeo",canPlay:m.vimeo,player:t.lazy(()=>y(()=>import("./react-14tgf1ik.js"),__vite__mapDeps([9,1])))},{key:"wistia",name:"Wistia",canPlay:m.wistia,canEnablePIP:()=>!0,player:t.lazy(()=>y(()=>import("./react-B4F47UeE.js"),__vite__mapDeps([10,1])))},{key:"spotify",name:"Spotify",canPlay:m.spotify,canEnablePIP:()=>!1,player:t.lazy(()=>y(()=>import("./react-tQd3sk8G.js"),__vite__mapDeps([11,1])))},{key:"twitch",name:"Twitch",canPlay:m.twitch,canEnablePIP:()=>!1,player:t.lazy(()=>y(()=>import("./react-D2-N_PY-.js"),__vite__mapDeps([12,1])))},{key:"tiktok",name:"TikTok",canPlay:m.tiktok,canEnablePIP:()=>!1,player:t.lazy(()=>y(()=>import("./react-uhreOVUJ.js"),__vite__mapDeps([13,1])))},{key:"html",name:"html",canPlay:m.html,canEnablePIP:()=>!0,player:ne}];var B=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:s,pip:u}=e,n=e.activePlayer,a=t.useRef(null),o=t.useRef(!0);t.useEffect(()=>{var l,i;a.current&&(a.current.paused&&s===!0&&a.current.play(),!a.current.paused&&s===!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,c,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=(c=a.current).exitPictureInPicture)==null||P.call(c),(v=document.exitPictureInPicture)==null||v.call(document)}catch{}}},[u]);const w=l=>{var i,c;o.current=!0,(i=e.onReady)==null||i.call(e),(c=e.onLoadStart)==null||c.call(e,l)},h=l=>{var i,c;o.current&&(o.current=!1,(i=e.onStart)==null||i.call(e,l)),(c=e.onPlay)==null||c.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:w,onPlay:h},e.children)});H.displayName="Player";var ce=H;const ue=t.lazy(()=>y(()=>import("./Preview-C_scJ0LA.js"),__vite__mapDeps([14,1]))),A=[],de=(e,r)=>{const s=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:w,slot:h,className:b,style:E,width:l,height:i,fallback:c,wrapper:P}=o,[v,d]=t.useState(!!o.light);t.useEffect(()=>{o.light?d(!0):d(!1)},[o.light]);const g=p=>{var x;d(!1),(x=o.onClickPreview)==null||x.call(o,p)},I=p=>{if(!p)return null;const{light:x,playIcon:S,previewTabIndex:C,oEmbedUrl:L,previewAriaLabel:U}=o;return _.createElement(ue,{src:p,light:x,playIcon:S,previewTabIndex:C,previewAriaLabel:U,oEmbedUrl:L,onClickPreview:g})},O=p=>{var x,S;const C=s(p);if(!C)return null;const{style:L,width:U,height:$,wrapper:F}=o,G=(x=o.config)==null?void 0:x[C.key];return _.createElement(ce,{...o,ref:a,activePlayer:(S=C.player)!=null?S:C,slot:F?void 0:h,className:F?void 0:b,style:F?{display:"block",width:"100%",height:"100%"}:{display:"block",width:U,height:$,...L},config:G})},D=P??M,R=c===!1?M:t.Suspense;return _.createElement(D,{slot:h,className:b,style:{width:l,height:i,...E}},_.createElement(R,{fallback:c},v?I(w):O(w)))});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=B[B.length-1];var j=de(B,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 ke({src:e,autoPlay:r=!0,config:s,controls:u=!0,height:n="100%",isModalOpen:a,loop:o=!1,muted:w=!1,showPlayButton:h=!1,style:b,thumbnail:E,width:l="100%",onEnded:i,onModalClose:c,onPlay:P}){const v=W(),[d,g]=t.useState(!1);t.useEffect(()=>{a===!0&&r?g(!0):a===!1&&g(!1)},[a,r]);const I={};s?.youtube&&(I.youtube=s.youtube);const O=()=>{g(!0),P?.()},D=()=>{g(!1),c?.()},R=()=>{g(!1),i?.(),a!=null&&c?.()},p=()=>{g(!0),P?.()};return a!=null?a?Z.createPortal(f.jsx(Ee,{windowSize:v,role:"presentation",children:f.jsx(X,{onClickAway:D,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:w,loop:o,width:"100%",height:"100%",onEnded:R,onPlay:p,config:I})]})})})}),document.body):null:f.jsx(j,{src:e,playing:d,controls:u,muted:w,loop:o,width:l,height:n,style:b,light:h&&!d?E??!0:!1,onEnded:R,onPlay:p,config:I})}const ye=K`
|
|
3
3
|
0% {
|
|
4
4
|
transform: rotate(0deg);
|
|
5
5
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{J as s,V as t,ap as l,aR as a,p as c,o,y as d}from"./index-
|
|
1
|
+
import{J as s,V as t,ap as l,aR as a,p as c,o,y as d}from"./index-CE4a3GDT.js";import{n}from"./mui-4aI62okM.js";import{N as f}from"./VideoPlayer-9UkKMhGy-B3TbligX.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},i=new e.Error().stack;i&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[i]="ac18770b-e0eb-4e0b-af7f-ff27e11d4e11",e._sentryDebugIdIdentifier="sentry-dbid-ac18770b-e0eb-4e0b-af7f-ff27e11d4e11")}catch{}})();const r={width:new d(300,770,770),height:new d(195,500,500)},h=n.div`
|
|
2
2
|
position: fixed;
|
|
3
3
|
top: 0;
|
|
4
4
|
left: 0;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{J as D,V as s,B,G as C,i as j,b as S,o as n,F as M,y as $,H as E,a as L,x as P,R as z,p as h,h as N,l as T,u,c as A}from"./index-
|
|
1
|
+
import{J as D,V as s,B,G as C,i as j,b as S,o as n,F as M,y as $,H as E,a as L,x as P,R as z,p as h,h as N,l as T,u,c as A}from"./index-CE4a3GDT.js";import{n as a}from"./mui-4aI62okM.js";import{cG as R}from"./zeni-epic-state-BwFYSQY8.js";import"./sentry-wpLc0w9b.js";import"./liveblocks-mJOf9rAw.js";import"./core-Cgphrdqi.js";import"./recharts-D-YAfDZj.js";import"./lottie-CH7yL4lR.js";import"./analytics-T3rNNQ2m.js";import"./lexical-B-NT_OOU.js";import"./utils-DCLZL4US.js";(function(){try{var r=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},t=new r.Error().stack;t&&(r._sentryDebugIds=r._sentryDebugIds||{},r._sentryDebugIds[t]="2b29bff7-87ac-44b7-ad2b-5f807c04aa1f",r._sentryDebugIdIdentifier="sentry-dbid-2b29bff7-87ac-44b7-ad2b-5f807c04aa1f")}catch{}})();const e=M.getLocalizedStrings(),w={navBarHeight:new $(62,62,62),navBarPaddingLeft:new $(u[3],u[3],u[8]),navBarPaddingRight:new $(u[3],u[3],u[8]),navBarPaddingTop:new $(12,12,u[3]),navBarPaddingBottom:new $(12,12,19)},G={title:new E("largeMedium","largeSemiBold")},he=({companyView:r,allUsers:t,onRetryBankAccountConnection:o,onCloseClick:d})=>{const l=D(),I=r!=null?R(r):0,b=r?.onboardingInfo?.bankAccountLinked,v=r?.onboardingInfo?.qboLinked,y=r?.onboardingInfo?.identityVerified,f=r?.onboardingInfo?.businessVerified,k=r?.onboardingInfo?.accountingConnectionCreationMode==="zeni_user",g=[];if(b!=null){const i=t.find(p=>p.userId===b.userIds[0]),{errorMessage:c,successMessage:m}=_(b,k,i);g.push({status:c!=null?"Error":m!=null?"Complete":"Incomplete",userInfo:i,message:c??m??`${e.cockpit.onboarding.header.linkBankAccount} ${e.common.strings.hyphen} ${e.common.incompleteText}`,onClickRetry:o})}if(v!=null){const i=t.find(p=>p.userId===v.userIds[0]),{errorMessage:c,successMessage:m}=F(v,k,i);g.push({status:c!=null?"Error":m!=null?"Complete":"Incomplete",userInfo:i,message:c??m??`${e.cockpit.onboarding.header.connectToQBO} ${e.common.strings.hyphen} ${e.common.incompleteText}`})}if(y!=null){const i=t.find(p=>p.userId===y.userIds[0]),{errorMessage:c,successMessage:m}=V(y,k,i);g.push({status:c!=null?"Error":m!=null?"Complete":"Incomplete",userInfo:i,message:c??m??`${e.cockpit.review.warningsDrawer.kyc} ${e.common.strings.hyphen} ${y.status}`})}if(f!=null){const i=t.find(p=>p.userId===f.userIds[0]),{errorMessage:c,successMessage:m}=H(f,k,i);g.push({status:c!=null?"Error":m!=null?"Complete":"Incomplete",userInfo:i,message:c??m??`${e.cockpit.review.warningsDrawer.kyb} ${e.common.strings.hyphen} ${f.status}`})}return s.jsxs(O,{children:[s.jsx(Q,{windowSize:l,children:s.jsx(q,{children:s.jsxs(W,{windowSize:l,children:[s.jsx(K,{windowSize:l,children:r?.name}),s.jsx(se,{onClick:d})]})})}),s.jsxs(J,{children:[s.jsx(U,{children:I>0?s.jsxs(x,{children:[s.jsx(x,{children:B(e.cockpit.review.warningsDrawer.issueFound)}),s.jsx(ie,{children:`${e.common.strings.openingBrace}${I}${e.common.strings.closingBrace}`})]}):s.jsx(x,{children:`${e.common.no}
|
|
2
2
|
${B(e.cockpit.review.warningsDrawer.issueFound)}`})}),g.map((i,c)=>s.jsx(X,{isStepInError:i.status==="Error",children:s.jsxs(Y,{children:[s.jsx(Z,{children:i.status==="Complete"?s.jsx(oe,{}):i.status==="Error"?s.jsx(C,{}):s.jsx(ne,{})}),s.jsxs(ee,{children:[s.jsx(re,{isStepInError:i.status==="Error",children:i.message}),i.status==="Error"?s.jsx(j,{label:e.common.retry,onClick:i.onClickRetry,loading:r?.retryBankAccountConnectionFetchState.fetchState==="In-Progress",variant:"light_transparent",style:{padding:`${n.sp1} ${n.sp3}`,borderRadius:n.sp1},textStyle:{...S.extraSmallMedium.cssObject}}):null]})]})},c))]})]})},_=(r,t,o)=>{const d=r.error===!0?r.errorDetails!=null?r.errorDetails.summary:e.cockpit.review.errors.bankAccountLinked:null,l=r.completed===!0?o!=null?`${e.cockpit.onboarding.header.linkBankAccount} ${e.common.strings.hyphen} ${t===!0?`${e.common.via} ${e.common.cockpit} `:e.common.strings.empty}${e.common.by} ${o.firstName} ${o.lastName}`:e.cockpit.onboarding.header.linkBankAccount:null;return{errorMessage:d,successMessage:l}},F=(r,t,o)=>{const d=r.error===!0?r.errorDetails!=null?r.errorDetails.summary:e.cockpit.review.errors.qboLinked:null,l=r.completed===!0?o!=null?`${e.cockpit.onboarding.header.connectToQBO} ${e.common.strings.hyphen} ${t===!0?`${e.common.via} ${e.common.cockpit} `:e.common.strings.empty}${e.common.by} ${o.firstName} ${o.lastName}`:`${e.cockpit.onboarding.header.connectToQBO}`:null;return{errorMessage:d,successMessage:l}},V=(r,t,o)=>{const d=r.status==="Error"?o!=null?`${e.cockpit.review.warningsDrawer.kyc} ${e.common.failed.toLocaleLowerCase()} ${e.common.strings.hyphen} ${t===!0?`${e.common.via} ${e.common.cockpit} `:e.common.strings.empty}${e.common.by} ${o.firstName} ${o.lastName}`:`${e.cockpit.review.warningsDrawer.kyc} ${e.common.failed.toLocaleLowerCase()}`:null,l=r.status==="Complete"?o!=null?`${e.cockpit.review.warningsDrawer.kyc} ${e.cockpit.review.warningsDrawer.identity} ${e.common.strings.hyphen} ${t===!0?`${e.common.via} ${e.common.cockpit} `:e.common.strings.empty}${e.common.by} ${o.firstName} ${o.lastName}`:`${e.cockpit.review.warningsDrawer.kyc} ${e.cockpit.review.warningsDrawer.identity}`:null;return{errorMessage:d,successMessage:l}},H=(r,t,o)=>{const d=r.status==="Error"?o!=null?`${e.cockpit.review.warningsDrawer.kyb} ${e.common.failed.toLocaleLowerCase()} ${e.common.strings.hyphen} ${t===!0?`${e.common.via} ${e.common.cockpit} `:e.common.strings.empty}${e.common.by} ${o.firstName} ${o.lastName}`:`${e.cockpit.review.warningsDrawer.kyb} ${e.common.failed.toLocaleLowerCase()}`:null,l=r.status==="Complete"?o!=null?`${e.cockpit.review.warningsDrawer.kyb} ${e.cockpit.review.warningsDrawer.identity} ${e.common.strings.hyphen} ${t===!0?`${e.common.via} ${e.common.cockpit} `:e.common.strings.empty}${e.common.by} ${o.firstName} ${o.lastName}`:`${e.cockpit.review.warningsDrawer.kyb} ${e.cockpit.review.warningsDrawer.identity}`:null;return{errorMessage:d,successMessage:l}},O=a.div`
|
|
3
3
|
display: flex;
|
|
4
4
|
flex-direction: column;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{aa as Te,J as H,ax as Pe,d as pe,aS as Be,V as t,aP as P,bV as B,o,bE as Le,b as D,cr as O,cs as R,ct as V,ad as Ne,es as He,p as
|
|
1
|
+
import{aa as Te,J as H,ax as Pe,d as pe,aS as Be,V as t,aP as P,bV as B,o,bE as Le,b as D,cr as O,cs as R,ct as V,ad as Ne,es as He,p as y,ex as Me,aR as C,T as ue,aj as w,F as X,bM as Ie,bQ as Ee,aV as Ue,y as b,h1 as We,fl as ae,u,am as Z,hB as Oe,b9 as Re,b1 as Ve,hC as Fe,c as Ge,hD as Ye,h as Je,h4 as _e,d7 as Ke,an as Xe,H as Ze,ck as qe}from"./index-CE4a3GDT.js";import{a as r}from"./sentry-wpLc0w9b.js";import{n as a}from"./mui-4aI62okM.js";import{G1 as Qe,bL as F}from"./zeni-epic-state-BwFYSQY8.js";import{$ as et}from"./BoxItem-CACRFWG2-DUMZBWzz.js";import{w as tt}from"./downloadPdf-DfRYmfsd-BofmxfcJ.js";import{H as ot}from"./DepositAccTransactionItem-CZ7v1T4S-CQvhxMi2.js";import{U as at}from"./ZeniAccountNavBarPieces-C6Oicpue-CWA-3mz6.js";import{U as it,F as nt,I as lt,X as rt,Y as ct,J as st,G as dt}from"./recharts-D-YAfDZj.js";import"./liveblocks-mJOf9rAw.js";import"./core-Cgphrdqi.js";import"./lottie-CH7yL4lR.js";import"./analytics-T3rNNQ2m.js";import"./lexical-B-NT_OOU.js";import"./utils-DCLZL4US.js";import"./commonDimensions-ClmbdehE-CI63aI0W.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},d=new e.Error().stack;d&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[d]="fdf11f39-db22-4898-94b6-57e42b420843",e._sentryDebugIdIdentifier="sentry-dbid-fdf11f39-db22-4898-94b6-57e42b420843")}catch{}})();const pt=e=>r.createElement("svg",{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},r.createElement("path",{d:"M21.5348 3H2.31522C1.80976 3 1.4 3.44579 1.4 3.99569V19.9353C1.4 20.4852 1.80976 20.931 2.31522 20.931H21.5348C22.0402 20.931 22.45 20.4852 22.45 19.9353V3.99569C22.45 3.44579 22.0402 3 21.5348 3Z",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),r.createElement("path",{d:"M16 10.8126H19.62",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),r.createElement("path",{d:"M16 13.6245H18.28",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),r.createElement("path",{d:"M13.8276 15.9677C13.4452 15.3772 12.177 14.948 10.5892 14.3603C10.1412 14.1934 10.2143 13.0237 10.413 12.8053C10.7291 12.463 10.9691 12.0577 11.1174 11.6161C11.2657 11.1744 11.3189 10.7064 11.2735 10.2428C11.3006 9.95383 11.2662 9.66242 11.1723 9.3878C11.0785 9.11317 10.9275 8.86159 10.7292 8.64967C10.5309 8.43776 10.2899 8.27033 10.0222 8.15847C9.75438 8.04661 9.4659 7.99286 9.1758 8.00076C8.8857 7.99286 8.59723 8.04661 8.32945 8.15847C8.06166 8.27033 7.82067 8.43776 7.6224 8.64967C7.42412 8.86159 7.27309 9.11317 7.17927 9.3878C7.08544 9.66242 7.05098 9.95383 7.07814 10.2428C7.03273 10.7064 7.08592 11.1744 7.23421 11.6161C7.38251 12.0577 7.62255 12.463 7.93858 12.8053C8.13728 13.0237 8.21039 14.1934 7.76237 14.3603C6.17647 14.948 4.90644 15.3772 4.52402 15.9677",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"})),ut=a.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
width: 100%;
|
|
4
4
|
height: 100vh;
|
|
@@ -8,12 +8,12 @@ import{aa as Te,J as H,ax as Pe,d as pe,aS as Be,V as t,aP as P,bV as B,o,bE as
|
|
|
8
8
|
background-color: ${e=>e.theme.colors.grey5};
|
|
9
9
|
box-shadow: ${e=>`${o.sp0} 2px ${o.sp1} ${e.theme.colors.dropShadowNormal}`};
|
|
10
10
|
background-color: ${e=>e.theme.colors.grey4};
|
|
11
|
-
`,ie="editNickName-form",G="checkingAccountNickName",ht={tickLabelText:new Ze("extraSmallRegular","smallRegular")},h={accountDetailHeaderPaddingRight:new b(u[3],u[8]),accountDetailHeaderPaddingBottom:new b(u[3],u[6]),accountDetailHeaderPaddingLeft:new b(u[3],u[8]),accountDetailContentMarginTop:new b(u[5],u[7]),areaChartHeight:new b(114,209),accountDetailHeaderGap:new b(18,100,184),accBtnsGap:new b(0,u[11]),styledNoTransactionIconSize:new b(60,120)},{common:N,spendManagement:mt}=X.getLocalizedStrings(),{zeniAccounts:i}=mt,Y=X.getLocalizedStrings().dateFormat,xt=X.getLocalizedStrings().peoplePage,ne=e=>t.jsx(_t,{children:e}),he=r.memo(({accountHistory:e})=>{const d=H(),n=pe(),[m,$]=r.useState(),j=r.useMemo(()=>e.accountHistoryWithBalance.map(l=>({...l,date:l.date.toISOString()})),[e.accountHistoryWithBalance]),x=r.useCallback(l=>{let p="",c="";return l&&l[0]&&(c=P("0,0[.]00",l[0].payload?.balance?.available),p=F(l[0].payload?.date).format(Y.visual.DMMMYYYYFormat)),t.jsxs(Yt,{children:[t.jsx(le,{children:p}),t.jsx(le,{isSublabel:!0,children:c})]})},[]),g=r.useCallback(l=>{const{x:p,y:c}=l,{value:v}=l.payload;let A=!1;e.accountHistoryWithBalance.length>360&&(A=!0);const S=A?F(v).format(Y.visual.MMMformat):F(v).format(Y.visual.MMMDFormat);return t.jsx(zt,{translateX:p,translateY:c,children:t.jsx(Nt,{windowSize:d,dy:20,dx:-25,children:S})})},[e.accountHistoryWithBalance.length,d]),k=r.useCallback(({cx:l,cy:p,dataKey:c})=>(c==="balance.available.amount"&&(m?.x!==l||m?.y!==p)&&$({x:l,y:p}),t.jsx(Jt,{cx:l,cy:p,strokeWidth:1,r:u[1]})),[m]),y=r.useMemo(()=>{const l=e.accountHistoryWithBalance.length;return l<=0?0:l>360?Math.floor(l/12):Math.floor(l/7)},[e.accountHistoryWithBalance.length]);return e.fetchState!=="Completed"?null:e.fetchState==="Completed"&&e.accountHistoryWithBalance.length===0?t.jsx(po,{children:t.jsx(uo,{children:N.texts.noData})}):t.jsx(Ut,{children:t.jsx(it,{height:h.areaChartHeight.value(d),width:"99%",children:t.jsxs(nt,{data:j,margin:{top:0,right:0,bottom:0,left:0},children:[t.jsx("defs",{children:t.jsxs(Ht,{id:"colorUv",x1:"0",y1:"0",x2:"0",y2:"1",children:[t.jsx(Mt,{offset:"0%",stopColor:f.brandColorJade,stopOpacity:1}),t.jsx(It,{offset:"100%",stopColor:f.brandColorJade,stopOpacity:.03})]})}),t.jsx(lt,{vertical:!1,strokeWidth:2,stroke:n.colors.grey3}),t.jsx(rt,{dataKey:"date",stroke:n.colors.grey3,tickSize:0,reversed:!0,tick:l=>g(l),padding:{right:u[4]},interval:y}),t.jsx(ct,{tick:!1,axisLine:!1}),t.jsx(st,{position:m,content:({payload:l})=>x(l),cursor:{strokeDasharray:"3",stroke:f.brandColorJade}}),t.jsx(dt,{activeDot:k,fillOpacity:1,dot:!1,type:"monotone",dataKey:"balance.available.amount",stroke:f.brandColorJade,fill:"url(#colorUv)"})]})})})});he.displayName="AccountBalanceGraph";const me=r.memo(({zeniAccountDetail:e,getToolTipContent:d,onAccountDetailClick:n,downloadEndPoint:m,authParams:$,showLoader:j,setShowLoader:x,onViewAllTransactionClick:g,showViewAllTransactions:k})=>{const y=H(),l=r.useMemo(()=>e.accountHistory,[e.accountHistory]);return t.jsxs(t.Fragment,{children:[t.jsxs(kt,{windowSize:y,children:[t.jsx(gt,{getToolTipContent:d,zeniAccountDetail:e}),t.jsxs(At,{children:[t.jsx(he,{accountHistory:l}),t.jsxs(Et,{windowSize:y,children:[t.jsxs(Vt,{onClick:n,"data-testid":C("view-account-detail-button"),children:[t.jsx(io,{}),y==="small"?t.jsx(de,{className:"btnText",children:i.zeniAccountDetail.accDetails}):t.jsx(se,{className:"btnText",children:i.zeniAccountDetail.accDetails})]}),t.jsxs(Ft,{"data-testid":C("download-bank-verification-letter"),onClick:()=>tt(`${m}/bank-verification-letter`,`${i.zeniAccountDetail.bankLetterPdf}${e.accountDetail?.accountLast4}.pdf`,$,x),children:[j?t.jsx(ue,{size:"Standard",start:!0}):t.jsx(no,{}),y==="small"?t.jsx(de,{className:"btnText",children:i.zeniAccountDetail.bankLetter}):t.jsx(se,{className:"btnText",children:i.zeniAccountDetail.bankLetter})]})]})]})]}),e.transactionList.length>0?t.jsxs(bt,{windowSize:y,children:[t.jsxs(wt,{children:[t.jsx(qt,{children:i.zeniAccountDetail.transactions}),k?t.jsxs(Qt,{onClick:g,"data-testid":C("view-all-account-transactions"),children:[t.jsx(to,{children:i.zeniAccountDetail.viewAll}),t.jsx(eo,{})]}):null]}),t.jsx(Ct,{children:e.transactionList.map((p,c)=>t.jsx(ot,{data:p,boxType:et(c,e.transactionList.length)},p.id))})]}):t.jsxs(yt,{children:[t.jsx(ft,{windowSize:y}),t.jsx($t,{children:i.zeniAccountDetail.noTransactionText})]})]})});me.displayName="AccountDetailScreen";const zo=({authParams:e,downloadEndPoint:d,zeniAccountDetail:n,isBillPayEnabled:m,isExpressPayEnabled:$,onViewAllTransactionClick:j,onAccountDetailClick:x,handleMoveMoneyOptionSelection:g,onBackClick:k,onCloseAccountClick:y,onEditNameClick:l,onReloadZeniAccountDetailPage:p})=>{const c=Te({mode:"all"}),{setFocus:v}=c,[A,S]=r.useState(!1),[M,I]=r.useState(!1),[q,xe]=r.useState(!1),Q=H(),ee=Pe(),te=ee.loggedInUserRoleMap.deposit_accounts_user===!0||Qe(ee.loggedInUserRoleMap);r.useEffect(()=>{const s=setTimeout(()=>{n.fetchState==="Completed"&&n.accountDetail?.accountBalance.available.amount===0&&!te&&g("transfer",n.accountDetail)},500);return()=>{clearTimeout(s)}},[n.accountDetail?.id,n.fetchState,te]),r.useEffect(()=>{q===!0&&setTimeout(()=>{xe(!1)},800)},[q]);const ge=n.transactionList.length>4,E=pe(),[ye,fe]=r.useState(!1),[$e,U]=r.useState(!1),W=n.accountUpdateStatus.editName.fetchState,oe=Be(W),be=s=>{s==="closeAccount"?S(!0):s==="editNickName"?I(!0):s==="payBill"?U(!0):g(s,n.accountDetail)},we={onOkClick:()=>{y?.(),S(!1)},onCancelClick:()=>{S(!1)}},je={onOkClick:()=>{},onCancelClick:()=>{c.reset(),I(!1)}};r.useEffect(()=>{oe==="In-Progress"&&W==="Completed"&&(I(!1),c.reset())},[oe,W,c]),r.useEffect(()=>{M&&v(G)},[M,v]);const ke={pageName:"detailPage",onOptionSelection:be},Ce=n.accountDetail?.accountName??"",z=n.accountSummary,ve=c.handleSubmit(s=>{l?.(s.checkingAccountNickName)}),Se={onOkClick:()=>{g("payBill"),U(!1)},onCancelClick:()=>{U(!1)}},De=s=>{switch(s){case"totalBalance":return"320px";case"insuredBalance":return"320px";case"totalInterest":return"280px";default:return"320px"}},Ae=r.useCallback(s=>{let T=null;switch(s){case"insuredBalance":T=t.jsx(t.Fragment,{});break;case"totalInterest":T=t.jsx(so,{children:i.zeniAccountList.yieldTooltip});break;case"totalBalance":T=t.jsxs(ro,{children:[t.jsx(lo,{children:i.zeniAccountList.balanceTooltip.base}),t.jsxs(J,{children:[t.jsx(_,{children:i.zeniAccountList.balanceTooltip.balance}),t.jsx(K,{children:P("0,0[.]00",z?.totalBalance.current)})]}),t.jsxs(J,{children:[t.jsx(_,{children:i.zeniAccountList.balanceTooltip.processing}),t.jsx(K,{children:P("0,0[.]00",z?.totalBalance.hold)})]}),t.jsxs(J,{children:[t.jsx(_,{children:i.zeniAccountList.balanceTooltip.available}),t.jsx(K,{children:P("0,0[.]00",z?.totalBalance.available)})]})]});break}return t.jsx(L,{children:t.jsx(B,{style:{textAlign:"left",padding:o.sp1},maxWidth:De(s),display:"flex",placement:Q==="small"?"bottom":"top",title:T,children:t.jsx(co,{})})})},[z,Q]),ze=t.jsx(at,{zeniBankProps:ke,isBillPayEnabled:m,isExpressPayEnabled:$});return t.jsxs(jt,{children:[t.jsx(Le,{title:Ce,subTitle:n?.accountDetail?.maskedAccountNumber??"",onBackClick:k,showMenuIcon:!1,backgroundColor:E.colors.grey4,style:{zIndex:3,...D.largeSemiBold.cssObject},rightSideComponent:ze,source:"ZeniAccountDetailPage"}),A?t.jsx(O,{titleComponent:t.jsx(V,{children:i.zeniAccountDetail.closeAccountPopUp.title}),descriptionComponent:t.jsx(R,{children:`${i.zeniAccountDetail.closeAccountPopUp.description}${n.accountDetail?.maskedAccountNumber}${N.strings.dot}`}),primaryButtonText:i.zeniAccountDetail.closeAccountPopUp.primaryButtonText,proceedButtonVariant:"danger",secondaryButtonText:i.zeniAccountDetail.closeAccountPopUp.secondaryButtonText,action:we}):null,$e?t.jsx(O,{titleComponent:t.jsx(V,{children:i.zeniAccountList.billPayupPopUpInfo.title}),descriptionComponent:t.jsx(R,{children:i.zeniAccountList.billPayupPopUpInfo.description}),primaryButtonText:i.zeniAccountList.billPayupPopUpInfo.primaryButtonText,secondaryButtonText:i.zeniAccountList.billPayupPopUpInfo.secondaryButtonText,action:Se,secondaryButtonWidth:130,primaryButtonWidth:130}):null,M?t.jsx(O,{titleComponent:t.jsx(V,{children:i.zeniAccountDetail.editNamePopUp.title}),descriptionComponent:t.jsx(R,{children:i.zeniAccountDetail.editNamePopUp.description}),primaryButtonText:i.zeniAccountDetail.editNamePopUp.primaryButtonText,secondaryButtonText:i.zeniAccountDetail.editNamePopUp.secondaryButtonText,formId:ie,action:je,containerStyle:{width:"100%"},isLoading:n.accountUpdateStatus.editName.fetchState==="In-Progress",children:t.jsx(Ne,{...c,children:t.jsx("form",{id:ie,onSubmit:ve,style:{height:o.sp8,width:"80%",marginBottom:o.sp5},children:t.jsx(He,{type:"text",name:G,defaultValue:n.accountDetail?.accountName,placeholder:n.accountDetail?.accountName??"",style:{display:"flex",flexGrow:1,cursor:"inherit",height:o.sp7,textAlign:"left",width:"100%",background:Me(c.formState.errors,G)===!0?f.importantLight:E.colors.background,border:`1px solid ${E.colors.background}`},registerOptions:{required:!0,validate:s=>!!s}})})})}):null,n.fetchState==="Completed"?t.jsx(me,{authParams:e,downloadEndPoint:d,getToolTipContent:Ae,onAccountDetailClick:x,onViewAllTransactionClick:j,setShowLoader:fe,showLoader:ye,showViewAllTransactions:ge,zeniAccountDetail:n}):n.fetchState==="Error"?t.jsxs(Tt,{children:[t.jsx(Pt,{onClick:p,"data-testid":C("account-detail-reload"),children:t.jsx(Lt,{})}),t.jsx(Bt,{children:xt.reloadPage.label})]}):t.jsx(ut,{children:t.jsx(ue,{size:"ExtraLarge",start:!0})})]})},gt=({zeniAccountDetail:e,getToolTipContent:d})=>{const n=H(),[m,$]=r.useState(!1),[,j]=We(),[x,g]=r.useState(!1),k=()=>{j(e.accountDetail?.accountNumber??""),g(!0)};return r.useEffect(()=>{x===!0&&setTimeout(()=>{g(!1)},800)},[x]),t.jsxs(vt,{children:[t.jsxs(St,{children:[t.jsx(Gt,{children:t.jsxs(re,{children:[ne(i.zeniAccountList.totalAvailableBalance),d("totalBalance")]})}),t.jsx(Zt,{windowSize:n,children:e.accountDetail?.accountBalance.available?t.jsx(t.Fragment,{children:t.jsx(ae,{amount:e.accountDetail?.accountBalance.available,integerStyles:D.h2Regular.cssObject,decimalStyles:D.h5Medium.cssObject})}):null}),m?t.jsxs(ce,{windowSize:n,children:[e.accountDetail?.accountNumber,t.jsx(L,{children:t.jsx(B,{display:"flex",placement:"top",title:i.zeniAccountDetail.hide,enterDelay:600,children:t.jsx(Xt,{"data-testid":C("hide-account-number"),onClick:()=>{$(!1)}})})}),t.jsx(L,{children:t.jsx(B,{display:"flex",placement:"right",title:x?N.copyToClipBoard.copied:N.copyToClipBoard.copy,enterDelay:600,children:x===!0?t.jsx(ao,{}):t.jsx(oo,{onClick:k,"data-testid":C("copy-account-number")})})})]}):t.jsxs(ce,{windowSize:n,children:[e.accountDetail?.maskedAccountNumber,t.jsx(L,{children:t.jsx(B,{display:"flex",placement:"top",title:i.zeniAccountDetail.show,enterDelay:600,children:t.jsx(Kt,{"data-testid":C("show-account-number"),onClick:()=>{$(!0)}})})})]})]}),t.jsxs(Dt,{children:[t.jsxs(re,{children:[ne(i.common.totalYieldEarned),d("totalInterest")]}),t.jsxs(Wt,{style:{display:"flex",flexDirection:"row",alignItems:"center"},children:[t.jsx(ae,{amount:e.accountSummary?.totalInterest.available,integerStyles:D.largeRegular.cssObject,decimalStyles:D.smallRegular.cssObject}),t.jsx(Ot,{}),t.jsx(Rt,{children:`${i.common.currentAverageYield} ${e.accountDetail?.annualPercentageYield}`})]})]})]})},yt=a.div`
|
|
11
|
+
`,ie="editNickName-form",G="checkingAccountNickName",ht={tickLabelText:new Ze("extraSmallRegular","smallRegular")},h={accountDetailHeaderPaddingRight:new b(u[3],u[8]),accountDetailHeaderPaddingBottom:new b(u[3],u[6]),accountDetailHeaderPaddingLeft:new b(u[3],u[8]),accountDetailContentMarginTop:new b(u[5],u[7]),areaChartHeight:new b(114,209),accountDetailHeaderGap:new b(18,100,184),accBtnsGap:new b(0,u[11]),styledNoTransactionIconSize:new b(60,120)},{common:N,spendManagement:mt}=X.getLocalizedStrings(),{zeniAccounts:i}=mt,Y=X.getLocalizedStrings().dateFormat,xt=X.getLocalizedStrings().peoplePage,ne=e=>t.jsx(_t,{children:e}),he=r.memo(({accountHistory:e})=>{const d=H(),n=pe(),[m,$]=r.useState(),j=r.useMemo(()=>e.accountHistoryWithBalance.map(l=>({...l,date:l.date.toISOString()})),[e.accountHistoryWithBalance]),x=r.useCallback(l=>{let p="",c="";return l&&l[0]&&(c=P("0,0[.]00",l[0].payload?.balance?.available),p=F(l[0].payload?.date).format(Y.visual.DMMMYYYYFormat)),t.jsxs(Yt,{children:[t.jsx(le,{children:p}),t.jsx(le,{isSublabel:!0,children:c})]})},[]),g=r.useCallback(l=>{const{x:p,y:c}=l,{value:v}=l.payload;let A=!1;e.accountHistoryWithBalance.length>360&&(A=!0);const S=A?F(v).format(Y.visual.MMMformat):F(v).format(Y.visual.MMMDFormat);return t.jsx(zt,{translateX:p,translateY:c,children:t.jsx(Nt,{windowSize:d,dy:20,dx:-25,children:S})})},[e.accountHistoryWithBalance.length,d]),k=r.useCallback(({cx:l,cy:p,dataKey:c})=>(c==="balance.available.amount"&&(m?.x!==l||m?.y!==p)&&$({x:l,y:p}),t.jsx(Jt,{cx:l,cy:p,strokeWidth:1,r:u[1]})),[m]),f=r.useMemo(()=>{const l=e.accountHistoryWithBalance.length;return l<=0?0:l>360?Math.floor(l/12):Math.floor(l/7)},[e.accountHistoryWithBalance.length]);return e.fetchState!=="Completed"?null:e.fetchState==="Completed"&&e.accountHistoryWithBalance.length===0?t.jsx(po,{children:t.jsx(uo,{children:N.texts.noData})}):t.jsx(Ut,{children:t.jsx(it,{height:h.areaChartHeight.value(d),width:"99%",children:t.jsxs(nt,{data:j,margin:{top:0,right:0,bottom:0,left:0},children:[t.jsx("defs",{children:t.jsxs(Ht,{id:"colorUv",x1:"0",y1:"0",x2:"0",y2:"1",children:[t.jsx(Mt,{offset:"0%",stopColor:y.brandColorJade,stopOpacity:1}),t.jsx(It,{offset:"100%",stopColor:y.brandColorJade,stopOpacity:.03})]})}),t.jsx(lt,{vertical:!1,strokeWidth:2,stroke:n.colors.grey3}),t.jsx(rt,{dataKey:"date",stroke:n.colors.grey3,tickSize:0,reversed:!0,tick:l=>g(l),padding:{right:u[4]},interval:f}),t.jsx(ct,{tick:!1,axisLine:!1}),t.jsx(st,{position:m,content:({payload:l})=>x(l),cursor:{strokeDasharray:"3",stroke:y.brandColorJade}}),t.jsx(dt,{activeDot:k,fillOpacity:1,dot:!1,type:"monotone",dataKey:"balance.available.amount",stroke:y.brandColorJade,fill:"url(#colorUv)"})]})})})});he.displayName="AccountBalanceGraph";const me=r.memo(({zeniAccountDetail:e,getToolTipContent:d,onAccountDetailClick:n,downloadEndPoint:m,authParams:$,showLoader:j,setShowLoader:x,onViewAllTransactionClick:g,showViewAllTransactions:k})=>{const f=H(),l=r.useMemo(()=>e.accountHistory,[e.accountHistory]);return t.jsxs(t.Fragment,{children:[t.jsxs(kt,{windowSize:f,children:[t.jsx(gt,{getToolTipContent:d,zeniAccountDetail:e}),t.jsxs(At,{children:[t.jsx(he,{accountHistory:l}),t.jsxs(Et,{windowSize:f,children:[t.jsxs(Vt,{onClick:n,"data-testid":C("view-account-detail-button"),children:[t.jsx(io,{}),f==="small"?t.jsx(de,{className:"btnText",children:i.zeniAccountDetail.accDetails}):t.jsx(se,{className:"btnText",children:i.zeniAccountDetail.accDetails})]}),t.jsxs(Ft,{"data-testid":C("download-bank-verification-letter"),onClick:()=>tt(`${m}/bank-verification-letter`,`${i.zeniAccountDetail.bankLetterPdf}${e.accountDetail?.accountLast4}.pdf`,$,x),children:[j?t.jsx(ue,{size:"Standard",start:!0}):t.jsx(no,{}),f==="small"?t.jsx(de,{className:"btnText",children:i.zeniAccountDetail.bankLetter}):t.jsx(se,{className:"btnText",children:i.zeniAccountDetail.bankLetter})]})]})]})]}),e.transactionList.length>0?t.jsxs(bt,{windowSize:f,children:[t.jsxs(wt,{children:[t.jsx(qt,{children:i.zeniAccountDetail.transactions}),k?t.jsxs(Qt,{onClick:g,"data-testid":C("view-all-account-transactions"),children:[t.jsx(to,{children:i.zeniAccountDetail.viewAll}),t.jsx(eo,{})]}):null]}),t.jsx(Ct,{children:e.transactionList.map((p,c)=>t.jsx(ot,{data:p,boxType:et(c,e.transactionList.length)},p.id))})]}):t.jsxs(ft,{children:[t.jsx(yt,{windowSize:f}),t.jsx($t,{children:i.zeniAccountDetail.noTransactionText})]})]})});me.displayName="AccountDetailScreen";const zo=({authParams:e,downloadEndPoint:d,zeniAccountDetail:n,isBillPayEnabled:m,isExpressPayEnabled:$,onViewAllTransactionClick:j,onAccountDetailClick:x,handleMoveMoneyOptionSelection:g,onBackClick:k,onCloseAccountClick:f,onEditNameClick:l,onReloadZeniAccountDetailPage:p})=>{const c=Te({mode:"all"}),{setFocus:v}=c,[A,S]=r.useState(!1),[M,I]=r.useState(!1),[q,xe]=r.useState(!1),Q=H(),ee=Pe(),te=ee.loggedInUserRoleMap.deposit_accounts_user===!0||Qe(ee.loggedInUserRoleMap);r.useEffect(()=>{const s=setTimeout(()=>{n.fetchState==="Completed"&&n.accountDetail?.accountBalance.available.amount===0&&!te&&g("transfer",n.accountDetail)},500);return()=>{clearTimeout(s)}},[n.accountDetail?.id,n.fetchState,te]),r.useEffect(()=>{q===!0&&setTimeout(()=>{xe(!1)},800)},[q]);const ge=n.transactionList.length>4,E=pe(),[fe,ye]=r.useState(!1),[$e,U]=r.useState(!1),W=n.accountUpdateStatus.editName.fetchState,oe=Be(W),be=s=>{s==="closeAccount"?S(!0):s==="editNickName"?I(!0):s==="payBill"?U(!0):g(s,n.accountDetail)},we={onOkClick:()=>{f?.(),S(!1)},onCancelClick:()=>{S(!1)}},je={onOkClick:()=>{},onCancelClick:()=>{c.reset(),I(!1)}};r.useEffect(()=>{oe==="In-Progress"&&W==="Completed"&&(I(!1),c.reset())},[oe,W,c]),r.useEffect(()=>{M&&v(G)},[M,v]);const ke={pageName:"detailPage",onOptionSelection:be},Ce=n.accountDetail?.accountName??"",z=n.accountSummary,ve=c.handleSubmit(s=>{l?.(s.checkingAccountNickName)}),Se={onOkClick:()=>{g("payBill"),U(!1)},onCancelClick:()=>{U(!1)}},De=s=>{switch(s){case"totalBalance":return"320px";case"insuredBalance":return"320px";case"totalInterest":return"280px";default:return"320px"}},Ae=r.useCallback(s=>{let T=null;switch(s){case"insuredBalance":T=t.jsx(t.Fragment,{});break;case"totalInterest":T=t.jsx(so,{children:i.zeniAccountList.yieldTooltip});break;case"totalBalance":T=t.jsxs(ro,{children:[t.jsx(lo,{children:i.zeniAccountList.balanceTooltip.base}),t.jsxs(J,{children:[t.jsx(_,{children:i.zeniAccountList.balanceTooltip.balance}),t.jsx(K,{children:P("0,0[.]00",z?.totalBalance.current)})]}),t.jsxs(J,{children:[t.jsx(_,{children:i.zeniAccountList.balanceTooltip.processing}),t.jsx(K,{children:P("0,0[.]00",z?.totalBalance.hold)})]}),t.jsxs(J,{children:[t.jsx(_,{children:i.zeniAccountList.balanceTooltip.available}),t.jsx(K,{children:P("0,0[.]00",z?.totalBalance.available)})]})]});break}return t.jsx(L,{children:t.jsx(B,{style:{textAlign:"left",padding:o.sp1},maxWidth:De(s),display:"flex",placement:Q==="small"?"bottom":"top",title:T,children:t.jsx(co,{})})})},[z,Q]),ze=t.jsx(at,{zeniBankProps:ke,isBillPayEnabled:m,isExpressPayEnabled:$});return t.jsxs(jt,{children:[t.jsx(Le,{title:Ce,subTitle:n?.accountDetail?.maskedAccountNumber??"",onBackClick:k,showMenuIcon:!1,backgroundColor:E.colors.grey4,style:{zIndex:3,...D.largeSemiBold.cssObject},rightSideComponent:ze,source:"ZeniAccountDetailPage"}),A?t.jsx(O,{titleComponent:t.jsx(V,{children:i.zeniAccountDetail.closeAccountPopUp.title}),descriptionComponent:t.jsx(R,{children:`${i.zeniAccountDetail.closeAccountPopUp.description}${n.accountDetail?.maskedAccountNumber}${N.strings.dot}`}),primaryButtonText:i.zeniAccountDetail.closeAccountPopUp.primaryButtonText,proceedButtonVariant:"danger",secondaryButtonText:i.zeniAccountDetail.closeAccountPopUp.secondaryButtonText,action:we}):null,$e?t.jsx(O,{titleComponent:t.jsx(V,{children:i.zeniAccountList.billPayupPopUpInfo.title}),descriptionComponent:t.jsx(R,{children:i.zeniAccountList.billPayupPopUpInfo.description}),primaryButtonText:i.zeniAccountList.billPayupPopUpInfo.primaryButtonText,secondaryButtonText:i.zeniAccountList.billPayupPopUpInfo.secondaryButtonText,action:Se,secondaryButtonWidth:130,primaryButtonWidth:130}):null,M?t.jsx(O,{titleComponent:t.jsx(V,{children:i.zeniAccountDetail.editNamePopUp.title}),descriptionComponent:t.jsx(R,{children:i.zeniAccountDetail.editNamePopUp.description}),primaryButtonText:i.zeniAccountDetail.editNamePopUp.primaryButtonText,secondaryButtonText:i.zeniAccountDetail.editNamePopUp.secondaryButtonText,formId:ie,action:je,containerStyle:{width:"100%"},isLoading:n.accountUpdateStatus.editName.fetchState==="In-Progress",children:t.jsx(Ne,{...c,children:t.jsx("form",{id:ie,onSubmit:ve,style:{height:o.sp8,width:"80%",marginBottom:o.sp5},children:t.jsx(He,{type:"text",name:G,defaultValue:n.accountDetail?.accountName,placeholder:n.accountDetail?.accountName??"",style:{display:"flex",flexGrow:1,cursor:"inherit",height:o.sp7,textAlign:"left",width:"100%",background:Me(c.formState.errors,G)===!0?y.importantLight:E.colors.background,border:`1px solid ${E.colors.background}`},registerOptions:{required:!0,validate:s=>!!s}})})})}):null,n.fetchState==="Completed"?t.jsx(me,{authParams:e,downloadEndPoint:d,getToolTipContent:Ae,onAccountDetailClick:x,onViewAllTransactionClick:j,setShowLoader:ye,showLoader:fe,showViewAllTransactions:ge,zeniAccountDetail:n}):n.fetchState==="Error"?t.jsxs(Tt,{children:[t.jsx(Pt,{onClick:p,"data-testid":C("account-detail-reload"),children:t.jsx(Lt,{})}),t.jsx(Bt,{children:xt.reloadPage.label})]}):t.jsx(ut,{children:t.jsx(ue,{size:"ExtraLarge",start:!0})})]})},gt=({zeniAccountDetail:e,getToolTipContent:d})=>{const n=H(),[m,$]=r.useState(!1),[,j]=We(),[x,g]=r.useState(!1),k=()=>{j(e.accountDetail?.accountNumber??""),g(!0)};return r.useEffect(()=>{x===!0&&setTimeout(()=>{g(!1)},800)},[x]),t.jsxs(vt,{children:[t.jsxs(St,{children:[t.jsx(Gt,{children:t.jsxs(re,{children:[ne(i.zeniAccountList.totalAvailableBalance),d("totalBalance")]})}),t.jsx(Zt,{windowSize:n,children:e.accountDetail?.accountBalance.available?t.jsx(t.Fragment,{children:t.jsx(ae,{amount:e.accountDetail?.accountBalance.available,integerStyles:D.h2Regular.cssObject,decimalStyles:D.h5Medium.cssObject})}):null}),m?t.jsxs(ce,{windowSize:n,children:[e.accountDetail?.accountNumber,t.jsx(L,{children:t.jsx(B,{display:"flex",placement:"top",title:i.zeniAccountDetail.hide,enterDelay:600,children:t.jsx(Xt,{"data-testid":C("hide-account-number"),onClick:()=>{$(!1)}})})}),t.jsx(L,{children:t.jsx(B,{display:"flex",placement:"right",title:x?N.copyToClipBoard.copied:N.copyToClipBoard.copy,enterDelay:600,children:x===!0?t.jsx(ao,{}):t.jsx(oo,{onClick:k,"data-testid":C("copy-account-number")})})})]}):t.jsxs(ce,{windowSize:n,children:[e.accountDetail?.maskedAccountNumber,t.jsx(L,{children:t.jsx(B,{display:"flex",placement:"top",title:i.zeniAccountDetail.show,enterDelay:600,children:t.jsx(Kt,{"data-testid":C("show-account-number"),onClick:()=>{$(!0)}})})})]})]}),t.jsxs(Dt,{children:[t.jsxs(re,{children:[ne(i.common.totalYieldEarned),d("totalInterest")]}),t.jsxs(Wt,{style:{display:"flex",flexDirection:"row",alignItems:"center"},children:[t.jsx(ae,{amount:e.accountSummary?.totalInterest.available,integerStyles:D.largeRegular.cssObject,decimalStyles:D.smallRegular.cssObject}),t.jsx(Ot,{}),t.jsx(Rt,{children:`${i.common.currentAverageYield} ${e.accountDetail?.annualPercentageYield}`})]})]})]})},ft=a.div`
|
|
12
12
|
display: flex;
|
|
13
13
|
flex-direction: column;
|
|
14
14
|
align-items: center;
|
|
15
15
|
justify-content: center;
|
|
16
|
-
`,
|
|
16
|
+
`,yt=a(Fe)`
|
|
17
17
|
width: ${e=>h.styledNoTransactionIconSize.valuePx(e.windowSize)};
|
|
18
18
|
height: ${e=>h.styledNoTransactionIconSize.valuePx(e.windowSize)};
|
|
19
19
|
margin-top: 128px;
|
|
@@ -179,12 +179,12 @@ import{aa as Te,J as H,ax as Pe,d as pe,aS as Be,V as t,aP as P,bV as B,o,bE as
|
|
|
179
179
|
min-width: 66px;
|
|
180
180
|
border-radius: ${o.sp1};
|
|
181
181
|
padding: ${o.sp0} ${o.sp2};
|
|
182
|
-
background-color: ${
|
|
182
|
+
background-color: ${y.blackColor};
|
|
183
183
|
`,Jt=a.circle`
|
|
184
184
|
stroke: ${e=>e.theme.colors.brandColorJade};
|
|
185
185
|
fill: ${e=>e.theme.colors.grey5};
|
|
186
186
|
`,le=a(w)`
|
|
187
|
-
color: ${e=>e.isSublabel===!0?
|
|
187
|
+
color: ${e=>e.isSublabel===!0?y.neutralGrey1Light:y.brandColorPearl};
|
|
188
188
|
`,re=a.div`
|
|
189
189
|
display: flex;
|
|
190
190
|
gap: ${o.sp1};
|
|
@@ -257,7 +257,7 @@ import{aa as Te,J as H,ax as Pe,d as pe,aS as Be,V as t,aP as P,bV as B,o,bE as
|
|
|
257
257
|
`,ao=a(Je)`
|
|
258
258
|
height: ${o.sp3};
|
|
259
259
|
width: ${o.sp3};
|
|
260
|
-
color: ${
|
|
260
|
+
color: ${y.success};
|
|
261
261
|
`,io=a(pt)`
|
|
262
262
|
width: ${o.sp4};
|
|
263
263
|
min-width: ${o.sp4};
|
|
@@ -281,7 +281,7 @@ import{aa as Te,J as H,ax as Pe,d as pe,aS as Be,V as t,aP as P,bV as B,o,bE as
|
|
|
281
281
|
`,_=a.div`
|
|
282
282
|
color: ${e=>e.theme.colors.hero};
|
|
283
283
|
`,K=a.div`
|
|
284
|
-
color: ${
|
|
284
|
+
color: ${y.primaryDark};
|
|
285
285
|
`,co=a(Ie)`
|
|
286
286
|
width: ${o.sp3};
|
|
287
287
|
height: ${o.sp3};
|