@zeniai/web-app-ui 4.14.35-dev → 4.14.35-prod

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (347) hide show
  1. package/dist/assets/{ACHDetailsPage-B5qIuZya-DhhGJFiO.js → ACHDetailsPage-B5qIuZya-87Wdu3Vn.js} +1 -1
  2. package/dist/assets/{AIPerformancePage-BHB45mP--bMes_tkI.js → AIPerformancePage-BHB45mP--BdIYeahP.js} +1 -1
  3. package/dist/assets/{AccountInfoPage-Cd5xYT1g-BezVjAGR.js → AccountInfoPage-Cd5xYT1g-D763Qyvc.js} +1 -1
  4. package/dist/assets/{AccountInfoPageContent-CJ7ycVIK-DTztMN2V.js → AccountInfoPageContent-CJ7ycVIK-CKUMLopI.js} +1 -1
  5. package/dist/assets/{AccountLockedInfoModal-Dox7IuAX-BJBuQmOL.js → AccountLockedInfoModal-Dox7IuAX-uUxMt3Am.js} +1 -1
  6. package/dist/assets/{AccountReconDetailsDrawerPage-Bqty08m0-CNcZRdSW.js → AccountReconDetailsDrawerPage-Bqty08m0-Dizqg_js.js} +1 -1
  7. package/dist/assets/{AccountRow-D1cjRJJD--D2oyMqA.js → AccountRow-D1cjRJJD-BdE3iF8x.js} +1 -1
  8. package/dist/assets/{AccountsPromoCardStack-Bs3naJHM-eCRqE4NI.js → AccountsPromoCardStack-Bs3naJHM-DhTAmuRe.js} +1 -1
  9. package/dist/assets/{AddAddressForCardDrawer-DZkBMJfp-CbavqjCF.js → AddAddressForCardDrawer-DZkBMJfp-BK7N-00_.js} +1 -1
  10. package/dist/assets/{AddToWalletPage-CyRfqVDB-fhBwqlyz.js → AddToWalletPage-CyRfqVDB-CQxgltFN.js} +1 -1
  11. package/dist/assets/{AddressRoutes-BOfIecri.js → AddressRoutes-Ccs3FPgT.js} +1 -1
  12. package/dist/assets/{AddressScreen-BL1pptQ5.js → AddressScreen-D3wmm55j.js} +1 -1
  13. package/dist/assets/{AgingReportsPage-xBFff3BM-B37Aeh0_.js → AgingReportsPage-xBFff3BM-DGZQQSO7.js} +1 -1
  14. package/dist/assets/{AiCfoScreen-B5nbVKeh.js → AiCfoScreen-CpZJ-7Tu.js} +1 -1
  15. package/dist/assets/{AllUserItems-BJf6WPDo-CPycalrU.js → AllUserItems-BJf6WPDo-DhoR1vda.js} +1 -1
  16. package/dist/assets/{ApAgingDetailPage-CjBrPyi8-EnSmKZiu.js → ApAgingDetailPage-CjBrPyi8-CoBfxnfG.js} +1 -1
  17. package/dist/assets/{AppBasePage-CqDm-hnV-Cb4xx63d.js → AppBasePage-CqDm-hnV-9XmhwuoJ.js} +1 -1
  18. package/dist/assets/{AppDrawerContent-CVVWj66i-TDtj32fZ.js → AppDrawerContent-CVVWj66i-BEu4Tzl6.js} +1 -1
  19. package/dist/assets/{ApprovalRulesSettingsPage-Cckd2uVA-BuYxkuTi.js → ApprovalRulesSettingsPage-Cckd2uVA-DBcZwsJh.js} +1 -1
  20. package/dist/assets/{ArAgingChart-CBsqOd-4-Be7GSB8o.js → ArAgingChart-CBsqOd-4-CSu0CsiU.js} +1 -1
  21. package/dist/assets/{ArAgingDetailPage-i7JObt60-CQiftrKA.js → ArAgingDetailPage-i7JObt60-BYZy_lYv.js} +1 -1
  22. package/dist/assets/{AttachmentView-CzC4skJ3-3dq1WroI.js → AttachmentView-CzC4skJ3-DuNGTr_v.js} +1 -1
  23. package/dist/assets/{BalancesInsightWithToolTip-B6umvmgL-BkOE6IRV.js → BalancesInsightWithToolTip-B6umvmgL-lU55R1pB.js} +1 -1
  24. package/dist/assets/{BankAccountSection-Di4sF52j-D_gkfCl5.js → BankAccountSection-Di4sF52j-DVHeEsO8.js} +1 -1
  25. package/dist/assets/{BankAccountWarningSection-Cled-2cR-CM49bGSJ.js → BankAccountWarningSection-Cled-2cR-IDWXJwst.js} +1 -1
  26. package/dist/assets/{BankConnectionsSettingsPage-Ccnzq7st-oxNYJAAG.js → BankConnectionsSettingsPage-Ccnzq7st-DVzjJWv3.js} +1 -1
  27. package/dist/assets/{BillDetailPage-XXOwBfO1-BoigghjD.js → BillDetailPage-XXOwBfO1-B_qyoshY.js} +1 -1
  28. package/dist/assets/{BillPayApprovalRoutes-D-JPXnec.js → BillPayApprovalRoutes-UIWSSsHT.js} +1 -1
  29. package/dist/assets/{BillPayApprovalRuleDetailPage-DFZ0csaT-u4moAED-.js → BillPayApprovalRuleDetailPage-DFZ0csaT-DG_T6RsJ.js} +1 -1
  30. package/dist/assets/{BillPayApprovalRulesPage-COCypDcS-Ldsbb0Zg.js → BillPayApprovalRulesPage-COCypDcS-DX1ILSCP.js} +1 -1
  31. package/dist/assets/{BillPayPromoPage-DOE2YIqC-Qk9YcGXw.js → BillPayPromoPage-DOE2YIqC-Bq0l3_vz.js} +1 -1
  32. package/dist/assets/{BillPayRoutes-CBS2uwsj.js → BillPayRoutes-DD-JwCMW.js} +1 -1
  33. package/dist/assets/{BillPaySetUpPage-BCJbZDsV-BIjtlBT1.js → BillPaySetUpPage-BCJbZDsV-Bzv1e0px.js} +1 -1
  34. package/dist/assets/{BillingSettingsPage-iImtlEmO-B72lsLaH.js → BillingSettingsPage-iImtlEmO-CvHkOH2a.js} +1 -1
  35. package/dist/assets/{BillsBulkReviewDrawerPage-B11GWM_0-B4gEY1ob.js → BillsBulkReviewDrawerPage-B11GWM_0-clKT_yYm.js} +1 -1
  36. package/dist/assets/{BoxItem-Bxa1M4QU-DyrFdjN6.js → BoxItem-Bxa1M4QU-Du00vi-o.js} +1 -1
  37. package/dist/assets/{BusinessVerificationPage-DSuJFoW1-BwLNb7bU.js → BusinessVerificationPage-DSuJFoW1-BFV8oVxm.js} +1 -1
  38. package/dist/assets/{BusinessVerificationPageScreen-BQdQDNi4.js → BusinessVerificationPageScreen-zr101K58.js} +1 -1
  39. package/dist/assets/{BusyIndication-9zDqSKBP-C1ZL_6Kc.js → BusyIndication-9zDqSKBP-9t4cVWUp.js} +1 -1
  40. package/dist/assets/{CardNumberSubText-_ZZbaz_k-DUqImiGz.js → CardNumberSubText-_ZZbaz_k-BMJxFwd_.js} +1 -1
  41. package/dist/assets/{CashbackDetailPage-DAZXitLt-p_ZAuWDR.js → CashbackDetailPage-DAZXitLt-Be6S5svg.js} +1 -1
  42. package/dist/assets/{ChargeCardDetailPage-B1VIpASk-C6cq7Hcv.js → ChargeCardDetailPage-B1VIpASk-qKsUbWVm.js} +1 -1
  43. package/dist/assets/{ChargeCardListPage-BOBepN-x-Bsjhp0o3.js → ChargeCardListPage-BOBepN-x-GM578OUP.js} +1 -1
  44. package/dist/assets/{ChargeCardListTable-YznzSsJo-Ck1z18a-.js → ChargeCardListTable-YznzSsJo-CtRcLDn8.js} +1 -1
  45. package/dist/assets/{ChargeCardPaymentHistoryPage--jOwsMla-BOhlFspE.js → ChargeCardPaymentHistoryPage--jOwsMla-BI5A12QH.js} +1 -1
  46. package/dist/assets/{ChargeCardPromoPage-DIfakIOK-B-zay_30.js → ChargeCardPromoPage-DIfakIOK-9hZS6y39.js} +1 -1
  47. package/dist/assets/{ChargeCardRoutes-CCifW-tf.js → ChargeCardRoutes-CSoZhr0V.js} +1 -1
  48. package/dist/assets/{ChargeCardSetupPage-0bpVkeJs-SDjQa1Ra.js → ChargeCardSetupPage-0bpVkeJs--Y2UM3vS.js} +1 -1
  49. package/dist/assets/{ChargeCardStatementsPage-ChWyQlw6-DL7Upt8t.js → ChargeCardStatementsPage-ChWyQlw6-Dneiy-kv.js} +1 -1
  50. package/dist/assets/{CheckDepositDrawerPage-BS7hnyZn-BYnpBPDj.js → CheckDepositDrawerPage-BS7hnyZn-Bd0AMQYn.js} +1 -1
  51. package/dist/assets/{CollapsableReportTable-DNfFkAts-Ba6KUje2.js → CollapsableReportTable-DNfFkAts-CUxrmyNG.js} +1 -1
  52. package/dist/assets/{CompanyOfficerDetailsSection-CrOIN4IW-BMaGz6_3.js → CompanyOfficerDetailsSection-CrOIN4IW-BY_HZ_Iv.js} +1 -1
  53. package/dist/assets/{CompanyPassportCard-CkzYFTrp-C4EBgPsw.js → CompanyPassportCard-CkzYFTrp-C_UcFpRm.js} +1 -1
  54. package/dist/assets/{CompanyPassportPage-FE6yli6h-KGSkM9PK.js → CompanyPassportPage-FE6yli6h-Dxl1bcoN.js} +1 -1
  55. package/dist/assets/{CompanyPassportScreen-zFkQa4Cq.js → CompanyPassportScreen-DBr6vmxP.js} +1 -1
  56. package/dist/assets/{CompleteProfile-Cb8i1XgZ-D3q04jkj.js → CompleteProfile-Cb8i1XgZ-D9bq4Uae.js} +1 -1
  57. package/dist/assets/{ConfettiBurst-BZCXEGYA-C5d5kzSC.js → ConfettiBurst-BZCXEGYA-DbOv_sxh.js} +1 -1
  58. package/dist/assets/{ConnectionAuthScreen-CM9g7u1v.js → ConnectionAuthScreen-DZd3VxZY.js} +1 -1
  59. package/dist/assets/{ConstrainedInnerElement-CgdnMeoA-BgAKlXog.js → ConstrainedInnerElement-CgdnMeoA-CbPq896u.js} +1 -1
  60. package/dist/assets/{CreateOrEditVendorPage-CzpSgxbO-Dqm8Zwpt.js → CreateOrEditVendorPage-CzpSgxbO-BOwYtqVs.js} +1 -1
  61. package/dist/assets/{CreditCardPaymentDrawerPage-c_q0MsSO-CdtVaa6P.js → CreditCardPaymentDrawerPage-c_q0MsSO-BgTQ080r.js} +1 -1
  62. package/dist/assets/{CurrencySelectField-BAh7SHrG-D1tX6Pz9.js → CurrencySelectField-BAh7SHrG-DdvYnDaV.js} +1 -1
  63. package/dist/assets/{CustomerOnboardingActivationPage-f3Aa6E5r-PsW9oHee.js → CustomerOnboardingActivationPage-f3Aa6E5r-BXOhuc8q.js} +1 -1
  64. package/dist/assets/CustomerOnboardingAuthScreen-B1bd9dsj.js +1 -0
  65. package/dist/assets/CustomerOnboardingContainerPage-CWAtSu08-2qU_yNXn.js +1 -0
  66. package/dist/assets/{CustomerOnboardingDetailPageSkeleton-DYuiWn8s-B_5BYtTr.js → CustomerOnboardingDetailPageSkeleton-DYuiWn8s-BFb9Fi6q.js} +1 -1
  67. package/dist/assets/{CustomerOnboardingNoStepsPage-Bh_F0-oC-SfRIKq-U.js → CustomerOnboardingNoStepsPage-Bh_F0-oC-DLQX_3JZ.js} +1 -1
  68. package/dist/assets/{CustomerOnboardingPage-B9hSO88_-B5iac515.js → CustomerOnboardingPage-B9hSO88_-DRsL0Lkd.js} +1 -1
  69. package/dist/assets/{CustomerOnboardingProductSuitePage-CG0HKCpQ-Bqjg890b.js → CustomerOnboardingProductSuitePage-CG0HKCpQ-6ZJCtlPB.js} +1 -1
  70. package/dist/assets/{CustomerOnboardingRoutes-MHYW-e3t.js → CustomerOnboardingRoutes-BAXbMfnG.js} +1 -1
  71. package/dist/assets/{Dashboard-BJ_oIHab-B1azilYN.js → Dashboard-BJ_oIHab-CzppdrfI.js} +1 -1
  72. package/dist/assets/{DashboardReportPage-BemzMw2e-Ywi7e9T3.js → DashboardReportPage-BemzMw2e-CIHD17uo.js} +1 -1
  73. package/dist/assets/{DashboardRoutes-C-92-XEq.js → DashboardRoutes-DbKYeD6W.js} +1 -1
  74. package/dist/assets/{DashboardSidebarBackgroundAnimation-BtA5oEGG-LNl3VR8y.js → DashboardSidebarBackgroundAnimation-BtA5oEGG-CJbp3sEl.js} +1 -1
  75. package/dist/assets/{DefaultTenantHome-Bim9etFd.js → DefaultTenantHome-C8vFMm5p.js} +1 -1
  76. package/dist/assets/{DepositAccTransactionItem-CyFi1P_L-BCRifuhI.js → DepositAccTransactionItem-CyFi1P_L-BCcxmkt2.js} +1 -1
  77. package/dist/assets/{DepositAccTransactionListPage-DvBRRUdZ-yB8jjVIF.js → DepositAccTransactionListPage-DvBRRUdZ-J7et1hpP.js} +1 -1
  78. package/dist/assets/{DomesticWireDetailScreen-D0LT5YWt.js → DomesticWireDetailScreen-Cul1gA8b.js} +1 -1
  79. package/dist/assets/{DomesticWireDetailsPage-DCDo3aHI-DKoqkJmX.js → DomesticWireDetailsPage-DCDo3aHI-HC7kBah-.js} +1 -1
  80. package/dist/assets/{DownloadOverlay-D_lL1sPW-1PQmVEsl.js → DownloadOverlay-D_lL1sPW-DOkU5hlK.js} +1 -1
  81. package/dist/assets/{DrawerPage-DesxXhZk-CE9sM7_o.js → DrawerPage-DesxXhZk-bh8UKuOO.js} +1 -1
  82. package/dist/assets/{DrawerScreen-MxSrrJrd.js → DrawerScreen-DhllwMd9.js} +1 -1
  83. package/dist/assets/{EditPeoplePage-QvPy_Six-BwgKBjDc.js → EditPeoplePage-QvPy_Six-n79i1nrs.js} +1 -1
  84. package/dist/assets/{EditReimbursementDetailPage-C0ZDkboO-CqRPRQtt.js → EditReimbursementDetailPage-C0ZDkboO-BclnolnW.js} +1 -1
  85. package/dist/assets/{EntityDetailPage-l7nXIsyF-CbwI2wUW.js → EntityDetailPage-l7nXIsyF-DuAZNnhi.js} +1 -1
  86. package/dist/assets/{EntityDetailRoutes-BEygBdNc.js → EntityDetailRoutes-B_Cb-iUY.js} +1 -1
  87. package/dist/assets/{EntitySummarySection-BwX0a4JL-BZFiwIuR.js → EntitySummarySection-BwX0a4JL-DWyi-lkf.js} +1 -1
  88. package/dist/assets/{ExpenseAutomationOverviewPage-EdyHjbff-CXMmwtfI.js → ExpenseAutomationOverviewPage-EdyHjbff-DmP7eQm5.js} +1 -1
  89. package/dist/assets/{ExpenseAutomationPage-DA22Qofw-BhoqVQ10.js → ExpenseAutomationPage-DA22Qofw-CG5EBV_I.js} +1 -1
  90. package/dist/assets/{ExpenseAutomationRoutes-ijMZF_ZU.js → ExpenseAutomationRoutes-BpXObA3F.js} +1 -1
  91. package/dist/assets/{ExpressPayPage-EMP6inpX-CBzcRvxz.js → ExpressPayPage-EMP6inpX-4WwEzVm7.js} +1 -1
  92. package/dist/assets/{FeaturePreviewPage-SYJm-3aR-BvJl8rgC.js → FeaturePreviewPage-SYJm-3aR-CAe_AvQ_.js} +1 -1
  93. package/dist/assets/{FeaturePreviewScreen-BrgEnIPS.js → FeaturePreviewScreen-T_BtTTOm.js} +1 -1
  94. package/dist/assets/{FollowStepsSection-BxESVqJD-DBgSryEI.js → FollowStepsSection-BxESVqJD-CPOfOs-2.js} +1 -1
  95. package/dist/assets/{GlobalReviewListPage-D5_ACa-q-Be6ROlgu.js → GlobalReviewListPage-D5_ACa-q-C1RHJAt_.js} +1 -1
  96. package/dist/assets/{InformationCardStack-B_qQUEYD-DWu9uCxP.js → InformationCardStack-B_qQUEYD-5ChUHV_B.js} +1 -1
  97. package/dist/assets/{InsightsCardStack-BsQzoVzj-Dm_xsmzm.js → InsightsCardStack-BsQzoVzj-DR9GooAs.js} +1 -1
  98. package/dist/assets/{InsightsSection-B6CNlTNH-DV_5z3I5.js → InsightsSection-B6CNlTNH-CxTrjAli.js} +1 -1
  99. package/dist/assets/{IntegrationsSettingsPage-DP6fAccq-DrN7ALwc.js → IntegrationsSettingsPage-DP6fAccq-DE_L5Sqc.js} +1 -1
  100. package/dist/assets/{InternationalWireSwiftDetailsPage-VdG7bDZi-2y0ea6UL.js → InternationalWireSwiftDetailsPage-VdG7bDZi-540GEZbp.js} +1 -1
  101. package/dist/assets/{InternationalWireVerificationPage-COC6lZml-DF2HxV4W.js → InternationalWireVerificationPage-COC6lZml-D4HW9Bm7.js} +1 -1
  102. package/dist/assets/{InviteFormPage-DN02jRy5-7Lvtg9Hr.js → InviteFormPage-DN02jRy5-BfLLbR3z.js} +1 -1
  103. package/dist/assets/{InvitePageListView-CP4K9tJi-bRNoOCRv.js → InvitePageListView-CP4K9tJi-5pVXaxY0.js} +1 -1
  104. package/dist/assets/{InvitePeoplePage-VTM6kM1u-DFLNYNR3.js → InvitePeoplePage-VTM6kM1u-BHWBEt_b.js} +1 -1
  105. package/dist/assets/{InvoiceUploadSection-it-ZYl1N-CPSEMHj6.js → InvoiceUploadSection-it-ZYl1N--UvpGfb0.js} +1 -1
  106. package/dist/assets/{IssueChargeCardPage-CVfuvGey-BDkFfNQU.js → IssueChargeCardPage-CVfuvGey-B2XRCClw.js} +1 -1
  107. package/dist/assets/{LabeledAddressValue-DDrQcHIE-BQQnm587.js → LabeledAddressValue-DDrQcHIE-D6zubChV.js} +1 -1
  108. package/dist/assets/{LabeledAddressValueField-BgWwd5Gw-DnvIsj_n.js → LabeledAddressValueField-BgWwd5Gw-X7xSKqD_.js} +1 -1
  109. package/dist/assets/{LabeledControlledCheckBoxField-CcPO1k23-BZjPsfe4.js → LabeledControlledCheckBoxField-CcPO1k23-BWN6aXuG.js} +1 -1
  110. package/dist/assets/{LabeledCountryMultiSelectField-BYYjzwUG-BPvc68ab.js → LabeledCountryMultiSelectField-BYYjzwUG-BVI6zR8f.js} +1 -1
  111. package/dist/assets/{LabeledCreatableSingleSelectField-CISYMojq-CmzS04aH.js → LabeledCreatableSingleSelectField-CISYMojq-DSalrWgP.js} +1 -1
  112. package/dist/assets/{LabeledDocumentField-C_bcFxdY-CD1TCntt.js → LabeledDocumentField-C_bcFxdY-DFBxx_FY.js} +1 -1
  113. package/dist/assets/{LabeledDropDownFormattedTextField-ScGGCap8-BdN7qNJy.js → LabeledDropDownFormattedTextField-ScGGCap8-Bs7HZSAW.js} +1 -1
  114. package/dist/assets/{LabeledEmailInputField-BppuWRbl-Dsaj9M9p.js → LabeledEmailInputField-BppuWRbl-Cv2eSWYW.js} +1 -1
  115. package/dist/assets/{LabeledNameField-mxSNQk3k-BpAc_tNL.js → LabeledNameField-mxSNQk3k-BePXnKIp.js} +1 -1
  116. package/dist/assets/{LabeledSingleSelectField-C6ctNzkA-CTrwMQK7.js → LabeledSingleSelectField-C6ctNzkA-JhYp0IfJ.js} +1 -1
  117. package/dist/assets/{LabeledText-C8Y7EOsX-DCuEu6In.js → LabeledText-C8Y7EOsX-Dmu1KyEb.js} +1 -1
  118. package/dist/assets/{LabeledUserSingleSelectWithSubtitlesField-C8JxAcOT-BLPpr77S.js → LabeledUserSingleSelectWithSubtitlesField-C8JxAcOT-CVRnER3W.js} +1 -1
  119. package/dist/assets/{LabeledZeniRolesDropDownField-BZtreVpj-KqOutsB4.js → LabeledZeniRolesDropDownField-BZtreVpj-DVH_WO48.js} +1 -1
  120. package/dist/assets/{LinkJETransactionPage-CKq4oiX9-C4YwLVFm.js → LinkJETransactionPage-CKq4oiX9-BaDfdPSv.js} +1 -1
  121. package/dist/assets/{LockCardPage-CZENNby7-DmtCNaPi.js → LockCardPage-CZENNby7-BD08uNmC.js} +1 -1
  122. package/dist/assets/{LowBalancePopup-1727S1ri-DQfCP7-o.js → LowBalancePopup-1727S1ri-B87S31yh.js} +1 -1
  123. package/dist/assets/{MagicLinkACHDetailsPage-BSOlSfNu-DLdN8Rvh.js → MagicLinkACHDetailsPage-BSOlSfNu-Dt0XKvRL.js} +1 -1
  124. package/dist/assets/{MagicLinkDomesticWireDetailsPage-D1DTPo0E-DaTDXMgN.js → MagicLinkDomesticWireDetailsPage-D1DTPo0E-B6PaNuqE.js} +1 -1
  125. package/dist/assets/{MagicLinkInternationalWireDetailsPage-D_wo_2nm-L7bRQS1f.js → MagicLinkInternationalWireDetailsPage-D_wo_2nm-xxPpWmmQ.js} +1 -1
  126. package/dist/assets/{MagicLinkRoutes-DdHE5z12.js → MagicLinkRoutes-C3i-s06h.js} +1 -1
  127. package/dist/assets/{MagicLinkSignInScreen-BN_jDhip.js → MagicLinkSignInScreen-CtR41hr5.js} +1 -1
  128. package/dist/assets/{MagicLinkSuccessPage-QMkZgQLG-CTsjsp6N.js → MagicLinkSuccessPage-QMkZgQLG-s8YBkEXQ.js} +1 -1
  129. package/dist/assets/{MagicLinkTitleSection-CARU1oLQ-DZmT0L5L.js → MagicLinkTitleSection-CARU1oLQ-C33EAuas.js} +1 -1
  130. package/dist/assets/{MailingDetailsSection-ByOPaJ05-Cq55yE-t.js → MailingDetailsSection-ByOPaJ05-B9FPpo09.js} +1 -1
  131. package/dist/assets/{MobileAppDrawer-C3TNoouV.js → MobileAppDrawer-CYfAM9Mw.js} +1 -1
  132. package/dist/assets/{MoreMenuButton-BsBKwXvk-DLOnGEff.js → MoreMenuButton-BsBKwXvk-DHBQkdln.js} +1 -1
  133. package/dist/assets/{MyBankConnectionsSettingsPage-BdgIIhL1-CHxTcS48.js → MyBankConnectionsSettingsPage-BdgIIhL1-BPykpz5y.js} +1 -1
  134. package/dist/assets/{MyPendingActivationChargeCardListPage-CX38bDdq-Ba-ajqtL.js → MyPendingActivationChargeCardListPage-CX38bDdq-DSUf2vT1.js} +1 -1
  135. package/dist/assets/{MyProfileSettingsPage-DYu0Fx6I-BMODc0ew.js → MyProfileSettingsPage-DYu0Fx6I-1drgYdxQ.js} +1 -1
  136. package/dist/assets/{NavBarWithPicker-CGGEvLwe-DGWn5q5A.js → NavBarWithPicker-CGGEvLwe-MqQ8iCf4.js} +1 -1
  137. package/dist/assets/{NavigationArrow-CTNkKUtV-LsyvHBca.js → NavigationArrow-CTNkKUtV-Yl4xu108.js} +1 -1
  138. package/dist/assets/{NavigationDots-Dvce3gHt-H1P3hT7y.js → NavigationDots-Dvce3gHt-C7tC--sE.js} +1 -1
  139. package/dist/assets/{NewGlobalMerchantPage-D_f7z47T-DGuDs_dy.js → NewGlobalMerchantPage-D_f7z47T-BQD0ZGak.js} +1 -1
  140. package/dist/assets/{NoDataChart-CrKeqWSr-DJdc5MTN.js → NoDataChart-CrKeqWSr-BPXvlZWX.js} +1 -1
  141. package/dist/assets/{NoDataTable-4vPXmPYF-Do6t4z9R.js → NoDataTable-4vPXmPYF-DWZxUYIB.js} +1 -1
  142. package/dist/assets/{NotFoundPage-BLWPU1wU-CBPIYV57.js → NotFoundPage-BLWPU1wU-C7Ncwm4o.js} +1 -1
  143. package/dist/assets/{NotFoundScreen-CubXCR1V.js → NotFoundScreen-DOVxG4zz.js} +1 -1
  144. package/dist/assets/{NotificationRoutes-C2SuMmMM.js → NotificationRoutes-C9ieyJ8k.js} +1 -1
  145. package/dist/assets/{NotificationSettingsPage-CDiDLX3A-DkD80zQf.js → NotificationSettingsPage-CDiDLX3A-Bz_D4b-V.js} +1 -1
  146. package/dist/assets/{NotificationsListConfig-B5pDa4cJ--FUSOPuJ.js → NotificationsListConfig-B5pDa4cJ-D-LHk2Q0.js} +1 -1
  147. package/dist/assets/{NotificationsPage-Ccl7Dny1-B8jydSw6.js → NotificationsPage-Ccl7Dny1-tUs5en2X.js} +1 -1
  148. package/dist/assets/{OpExByVendorPage-spd-nKV4-BIgnMj0p.js → OpExByVendorPage-spd-nKV4-ByxsaIoY.js} +1 -1
  149. package/dist/assets/{OverlayContainerPage-BG9y5C0t-D8k0A9EC.js → OverlayContainerPage-BG9y5C0t-U_msHcyh.js} +1 -1
  150. package/dist/assets/{PandLWithForecastPage-TSoe4Z7F-Ba-yVOXG.js → PandLWithForecastPage-TSoe4Z7F-Dxt-hrDj.js} +1 -1
  151. package/dist/assets/{PandLWithForecastRoutes-BVdwQZDt.js → PandLWithForecastRoutes-DzAt2VYp.js} +1 -1
  152. package/dist/assets/{PaymentAccountSetupBillingAddressSection-9ma8SpIa-CUyIA9r2.js → PaymentAccountSetupBillingAddressSection-9ma8SpIa-DHVmTXZY.js} +1 -1
  153. package/dist/assets/{PeoplePage-b5_I0qOw-DAP0N6ei.js → PeoplePage-b5_I0qOw-B1LejvXe.js} +1 -1
  154. package/dist/assets/{PeopleRoutes-CAoitlRn.js → PeopleRoutes-DlekbCRO.js} +1 -1
  155. package/dist/assets/{PerformanceRoutes-CC4-ZbOh.js → PerformanceRoutes-DHDv5Sgu.js} +1 -1
  156. package/dist/assets/{Preview-B3lHkBD5.js → Preview-BjJ7O1sk.js} +1 -1
  157. package/dist/assets/{ProductsCarousel-C3M0ocdF-CqFoMAuJ.js → ProductsCarousel-C3M0ocdF-CLcC80yn.js} +1 -1
  158. package/dist/assets/{PromoBaseCards-BOGJI2ws-Bshwoahl.js → PromoBaseCards-BOGJI2ws-CjW4jRXO.js} +1 -1
  159. package/dist/assets/{QBOConnectionDialog-CmpnnuzP-D_Utdqzr.js → QBOConnectionDialog-CmpnnuzP-uF9XG6je.js} +1 -1
  160. package/dist/assets/{QBOConnectionScreen-W61uspBL.js → QBOConnectionScreen-CHATiKae.js} +1 -1
  161. package/dist/assets/{QBOSetupSection-DjnN9dgv-C5X6Mv_4.js → QBOSetupSection-DjnN9dgv-t22_2ZYb.js} +1 -1
  162. package/dist/assets/{ReferralListScreen-CFqALHvq.js → ReferralListScreen-D0Qeeka4.js} +1 -1
  163. package/dist/assets/{ReimbursementApprovalRoutes--NBUuqoq.js → ReimbursementApprovalRoutes-DQ4DhPnk.js} +1 -1
  164. package/dist/assets/{ReimbursementApprovalRuleDetailPage-D5NXjrO9-Yh9jnSge.js → ReimbursementApprovalRuleDetailPage-D5NXjrO9-CWOYUPpB.js} +1 -1
  165. package/dist/assets/{ReimbursementApprovalRuleDetailScreen-Btiyq8yy.js → ReimbursementApprovalRuleDetailScreen-CM8NKREM.js} +1 -1
  166. package/dist/assets/{ReimbursementApprovalRulesPage-BsCTIqUJ-Z8SJ2BhB.js → ReimbursementApprovalRulesPage-BsCTIqUJ-C4QA3bIg.js} +1 -1
  167. package/dist/assets/{ReimbursementDetailPage-BbyxE2uL-BwRKVJZ8.js → ReimbursementDetailPage-BbyxE2uL-DDxSupzL.js} +1 -1
  168. package/dist/assets/{ReimbursementPromoPage-CyEgwqcf-KVfjyHVK.js → ReimbursementPromoPage-CyEgwqcf-DZSdpKpd.js} +1 -1
  169. package/dist/assets/{ReimbursementRoutes-B7ZhMTn_.js → ReimbursementRoutes-BNmcGbMb.js} +1 -1
  170. package/dist/assets/{ReimbursementSetUpPage-RETPkEQd-h93k32Yy.js → ReimbursementSetUpPage-RETPkEQd-BSfM62t6.js} +1 -1
  171. package/dist/assets/{ReimbursementsBulkReviewDrawerPage-DnmYl0FM-DkzJps2g.js → ReimbursementsBulkReviewDrawerPage-DnmYl0FM-DVlMblVO.js} +1 -1
  172. package/dist/assets/{ReloadCard-Bdoo0XiI-DQ7zH5_b.js → ReloadCard-Bdoo0XiI-9pQ6UVc1.js} +1 -1
  173. package/dist/assets/{ReportTableViewSelector-Bc1K7mU_-DG7CvQgg.js → ReportTableViewSelector-Bc1K7mU_-gXJJUSis.js} +1 -1
  174. package/dist/assets/{ReportsPage-BOTHMLWh-DQAZC3St.js → ReportsPage-BOTHMLWh-BvsXS8KN.js} +1 -1
  175. package/dist/assets/{ReportsRoutes-DCqEshJz.js → ReportsRoutes-CwUxs5b6.js} +1 -1
  176. package/dist/assets/{RevenueChart-DvyZ3aO7-B4HMUW1f.js → RevenueChart-DvyZ3aO7-B9ChYULL.js} +1 -1
  177. package/dist/assets/{ReviewDetailsPage-BIMg1n2e-DLbpGZaf.js → ReviewDetailsPage-BIMg1n2e-FEaUVtNb.js} +1 -1
  178. package/dist/assets/{ReviewOverlay-CxwoiOLC-BQk8pdfC.js → ReviewOverlay-CxwoiOLC-CCAU2STn.js} +1 -1
  179. package/dist/assets/{RewardsRoutes-CSIVaJxq.js → RewardsRoutes-D92Io9n1.js} +1 -1
  180. package/dist/assets/{RoleWithToolTip-Ct3_VuDM-CgjPQD6C.js → RoleWithToolTip-Ct3_VuDM-Cf0axDO6.js} +1 -1
  181. package/dist/assets/{ScheduleDetailsFixedAssetsPage-DiL5Dozk-pNKl0FgE.js → ScheduleDetailsFixedAssetsPage-DiL5Dozk-Bfi3yYiV.js} +1 -1
  182. package/dist/assets/{ScheduleDetailsPage-5FWpLRtd-l5IGOvvZ.js → ScheduleDetailsPage-5FWpLRtd-CUwPz525.js} +1 -1
  183. package/dist/assets/{ScheduleSequenceTable-R3-PsXES-DyxPg04Q.js → ScheduleSequenceTable-R3-PsXES-5BgF0mPo.js} +1 -1
  184. package/dist/assets/{ScreenRoutes-DIrZFSvZ.js → ScreenRoutes-ChKoG0ON.js} +2 -2
  185. package/dist/assets/{SetUpAccountSection-CctbMmoK-B53PK3Go.js → SetUpAccountSection-CctbMmoK-BnyRcOnA.js} +1 -1
  186. package/dist/assets/{SettingsRoutes-D3PUQXPp.js → SettingsRoutes-DRqBxtpE.js} +1 -1
  187. package/dist/assets/{SetupPagesScreen-KqbTYQgM.js → SetupPagesScreen-BqfVkx2P.js} +1 -1
  188. package/dist/assets/{SignIn-CmgmnRm4-CYN0bjHA.js → SignIn-CmgmnRm4-DFMcLfwX.js} +1 -1
  189. package/dist/assets/{SignInScreen-BDFrycHi.js → SignInScreen-DH_pbSqH.js} +1 -1
  190. package/dist/assets/{SignOutScreen-CGJ8k7ri.js → SignOutScreen-Dno5l8Lg.js} +1 -1
  191. package/dist/assets/{SpendManagementListViewPage-CFUxCqkU-BnIDgS6j.js → SpendManagementListViewPage-CFUxCqkU-J9ATHqo5.js} +3 -3
  192. package/dist/assets/{SpendManagementPerTabPage-C-kqNTci-BPWoCLvk.js → SpendManagementPerTabPage-C-kqNTci-VDy4U7Fo.js} +1 -1
  193. package/dist/assets/{SpendManagementSection-CIz4nE_w-BnkkQIXw.js → SpendManagementSection-CIz4nE_w-DAna-1JL.js} +1 -1
  194. package/dist/assets/{StatementItem-vVtoBN2w-Dv2jVRGi.js → StatementItem-vVtoBN2w-w_5ZfVLc.js} +1 -1
  195. package/dist/assets/{StatementsPage-As5WOnMR-xJO4oteU.js → StatementsPage-As5WOnMR-CEfdxc4m.js} +1 -1
  196. package/dist/assets/{StatusSwitcher-Bv-ozN6U-aFxpsrjy.js → StatusSwitcher-Bv-ozN6U-DoZiCLb7.js} +1 -1
  197. package/dist/assets/{SubTabSwitcher-D7QeM6nb-bmup9lZe.js → SubTabSwitcher-D7QeM6nb-CfY08u6h.js} +1 -1
  198. package/dist/assets/{SuccessAnimation-hijccO_0-BgS0j6Ks.js → SuccessAnimation-hijccO_0-BXi2HO03.js} +1 -1
  199. package/dist/assets/{SummaryCard-C2qoTsAY-DD3uQEFW.js → SummaryCard-C2qoTsAY-0SCAXQGr.js} +1 -1
  200. package/dist/assets/{TaskDetailPage-QMk4DTDK-D5dNR6rN.js → TaskDetailPage-QMk4DTDK-BR6kbyWR.js} +1 -1
  201. package/dist/assets/{TaskListScreen-BN0d0a63.js → TaskListScreen-mqYgryHQ.js} +1 -1
  202. package/dist/assets/{TaskManagementPage-BJwp32Ph-YNf3iBQj.js → TaskManagementPage-BJwp32Ph-DBKoA6AC.js} +1 -1
  203. package/dist/assets/{TaskRoutes-DEMuiHnC.js → TaskRoutes-BMkpTf1o.js} +1 -1
  204. package/dist/assets/{TimeRangeSwitcher-D00bDDhP-CGwNNnWQ.js → TimeRangeSwitcher-D00bDDhP-1mlxeaFc.js} +1 -1
  205. package/dist/assets/{TimeframeSwitcher-DA99HdHt-CKTTRDRO.js → TimeframeSwitcher-DA99HdHt-CrtHfDZp.js} +1 -1
  206. package/dist/assets/{TimeframeSwitcherWithToggle-DyggDIQj-DWVBybzM.js → TimeframeSwitcherWithToggle-DyggDIQj-CHaX8emE.js} +1 -1
  207. package/dist/assets/{TopExCard-Z1WabZ8c-DRsgDR4x.js → TopExCard-Z1WabZ8c-tziOw6vi.js} +1 -1
  208. package/dist/assets/{TopExDetailPage-CzHG4f9E-BM9NWMt3.js → TopExDetailPage-CzHG4f9E-Dx0qRe8n.js} +1 -1
  209. package/dist/assets/{TransactionActivityLogPage-CGKnjNfU-YIIG-jBr.js → TransactionActivityLogPage-CGKnjNfU-BAwRPyZq.js} +1 -1
  210. package/dist/assets/{TransactionDetailPage-1-mLOWSz-CE3-Hi8u.js → TransactionDetailPage-1-mLOWSz-q5DHD8vz.js} +1 -1
  211. package/dist/assets/{TransactionDetailRoutes-BCnSElc9.js → TransactionDetailRoutes-DCcj_QaR.js} +1 -1
  212. package/dist/assets/{TransactionDetailScreen-DkbX0oG8.js → TransactionDetailScreen-Ctm336US.js} +1 -1
  213. package/dist/assets/{TransactionList-BB-xoIGm-BeosfrmM.js → TransactionList-BB-xoIGm-CbFPe10H.js} +1 -1
  214. package/dist/assets/{TransactionListBig-C5Sf5Xh--B6eKIFdx.js → TransactionListBig-C5Sf5Xh--BLokVYd8.js} +1 -1
  215. package/dist/assets/{TransactionListPage-Cj7h1Ros-SOf7w-b8.js → TransactionListPage-Cj7h1Ros-Yma_Yj44.js} +1 -1
  216. package/dist/assets/{TransactionListRoutes-AdVZSKN8.js → TransactionListRoutes-B-4EVTzq.js} +1 -1
  217. package/dist/assets/{TransactionVendorDetailPage-SsrSOk3O-CHAPTeaE.js → TransactionVendorDetailPage-SsrSOk3O-DJak24pB.js} +1 -1
  218. package/dist/assets/{TransferDrawerPage-BvKZ7vHF-ITLn4K_S.js → TransferDrawerPage-BvKZ7vHF-MTsuTWb5.js} +1 -1
  219. package/dist/assets/{TreasuryOverviewPage-DwvjMR4_-BC_r0SvV.js → TreasuryOverviewPage-DwvjMR4_-CDiSPOKr.js} +1 -1
  220. package/dist/assets/{TreasuryPromoPage-CtTFvSQW-DMtUAfPQ.js → TreasuryPromoPage-CtTFvSQW-DJ1GjBPL.js} +1 -1
  221. package/dist/assets/{TreasuryRoutes-CZR8Qztx.js → TreasuryRoutes-CdKpKyqq.js} +1 -1
  222. package/dist/assets/{TreasuryStatementsPage-Catz8shX-gsqiZvC2.js → TreasuryStatementsPage-Catz8shX-CnnTtymV.js} +1 -1
  223. package/dist/assets/{TreasuryTaxLetterPage-D8hzCL5o-CxF7_s4J.js → TreasuryTaxLetterPage-D8hzCL5o-C0VOVcU6.js} +1 -1
  224. package/dist/assets/{TrendChart-Bnp4Pcdf-DAHDBSRg.js → TrendChart-Bnp4Pcdf-SZKHN0GU.js} +1 -1
  225. package/dist/assets/{TrendWithTransactions-3D1FvM8G-D5DfweO8.js → TrendWithTransactions-3D1FvM8G-Cg_o5A0H.js} +1 -1
  226. package/dist/assets/{UncategorizedAccountsMappingPage-DbyY-dYB-icxwXrio.js → UncategorizedAccountsMappingPage-DbyY-dYB-B2fWmH31.js} +1 -1
  227. package/dist/assets/{UnitIntegrationPage-CTzme1te-CKwPezqe.js → UnitIntegrationPage-CTzme1te-pEu5vNzn.js} +1 -1
  228. package/dist/assets/{UploadAdditionalDocumentOverlay-Wl4Spdpn-BP-fxZSw.js → UploadAdditionalDocumentOverlay-Wl4Spdpn-V2EGBlJF.js} +1 -1
  229. package/dist/assets/{Vendor2FAPopup-D0zYKkIv-BYJemD3t.js → Vendor2FAPopup-D0zYKkIv-CHyHr4rl.js} +1 -1
  230. package/dist/assets/{VendorACHDetailsPage-YYX9aQdw-CXB0C692.js → VendorACHDetailsPage-YYX9aQdw-uNnx3T-D.js} +1 -1
  231. package/dist/assets/{VendorDetailPage-Br9wIOnI-Ui00Vq-Y.js → VendorDetailPage-Br9wIOnI-TtYKWO-7.js} +1 -1
  232. package/dist/assets/{VendorDomesticWireDetailsPage-BpPgQRHI-Cvv6-Sl5.js → VendorDomesticWireDetailsPage-BpPgQRHI-DuYV6q0p.js} +1 -1
  233. package/dist/assets/{VendorFiling1099EditablePage-himC7iD3-CGMBRb4f.js → VendorFiling1099EditablePage-himC7iD3-CAU1ePfq.js} +1 -1
  234. package/dist/assets/{VendorFirstReviewPage-BbknTCBD-x2LuwDBy.js → VendorFirstReviewPage-BbknTCBD-BMuoya7m.js} +1 -1
  235. package/dist/assets/{VendorInternationalWireDetailsPage-CS595Xgc-BWEjYBp2.js → VendorInternationalWireDetailsPage-CS595Xgc-5-nS8GMI.js} +1 -1
  236. package/dist/assets/{VendorInternationalWireSwiftDetailsPage-yhTjWXvw-CRl0YntK.js → VendorInternationalWireSwiftDetailsPage-yhTjWXvw-N84csmRk.js} +1 -1
  237. package/dist/assets/{VendorsAccountsSection-CgSJu8wq-BJswZIIA.js → VendorsAccountsSection-CgSJu8wq-B-6STrW9.js} +1 -1
  238. package/dist/assets/{VendorsRoutes-05ainu55.js → VendorsRoutes-bXsYyOK6.js} +1 -1
  239. package/dist/assets/{VerifyDevice-Dvf0JsNN-BxFzBfzQ.js → VerifyDevice-Dvf0JsNN-94SCla0o.js} +1 -1
  240. package/dist/assets/{VideoPlayer-VAzOGCDL-C6P1MPmA.js → VideoPlayer-VAzOGCDL-Gj554Pzr.js} +1 -1
  241. package/dist/assets/{VideoPopup-BqvZ-XIh-tpbto8Y7.js → VideoPopup-BqvZ-XIh-BNEOF87i.js} +1 -1
  242. package/dist/assets/{WiseConfirmationScreen-D-O-AEQg.js → WiseConfirmationScreen-BlvPhWtt.js} +1 -1
  243. package/dist/assets/{ZeniAccountDetailPage-GcwTJdB8-CtCTcpCW.js → ZeniAccountDetailPage-GcwTJdB8-k3MpvD3h.js} +1 -1
  244. package/dist/assets/{ZeniAccountListViewPage-CdwO0Duy-BDSbkpkS.js → ZeniAccountListViewPage-CdwO0Duy-Dgq1iwVA.js} +1 -1
  245. package/dist/assets/{ZeniAccountNavBarPieces-BrSIfL36--BCCJ_B2.js → ZeniAccountNavBarPieces-BrSIfL36-CO__0U_1.js} +1 -1
  246. package/dist/assets/{ZeniAccountPromoPage-JrcedQYB-Dn7j6upG.js → ZeniAccountPromoPage-JrcedQYB-Bg6zqKkh.js} +1 -1
  247. package/dist/assets/{ZeniAccountRoutes-C1DKaJoc.js → ZeniAccountRoutes-DmQ36-U1.js} +1 -1
  248. package/dist/assets/{ZeniAccountSetupPage-TKBfbgzJ-BqZbSZu7.js → ZeniAccountSetupPage-TKBfbgzJ-pUeIEkNR.js} +1 -1
  249. package/dist/assets/{ZeniAccountStatementScreen-mRCX19Ut.js → ZeniAccountStatementScreen-CKcr5fe4.js} +1 -1
  250. package/dist/assets/{ZeniAvatar-Bzhq25CU-B22YVvLm.js → ZeniAvatar-Bzhq25CU-C2bD0hCf.js} +1 -1
  251. package/dist/assets/{ZeniCopyright-DglqrTpl-DIGaFEv0.js → ZeniCopyright-DglqrTpl-CuSiev8E.js} +1 -1
  252. package/dist/assets/{ZeniDatePicker-BHXPxPnI-vwmLROHK.js → ZeniDatePicker-BHXPxPnI-CMWZ6uB_.js} +1 -1
  253. package/dist/assets/{ZeniTransferAmountSlider-BcaZZuAw-9zrzQe1V.js → ZeniTransferAmountSlider-BcaZZuAw-CumWTq_t.js} +1 -1
  254. package/dist/assets/{accountMappingHelper-GPi0oD1D.js → accountMappingHelper-BjH4piH5.js} +1 -1
  255. package/dist/assets/{add-to-wallet-DgdBD8_G-0ekd9-Ri.js → add-to-wallet-DgdBD8_G-tcxpIUf6.js} +1 -1
  256. package/dist/assets/{analytics-B2Q_uKwH.js → analytics-CxExYOQN.js} +1 -1
  257. package/dist/assets/{analyticsHelper-eqJrrWmY.js → analyticsHelper-Bdr21wig.js} +1 -1
  258. package/dist/assets/{analyticsHelper-CAYdbjhS-TiCqBFHc.js → analyticsHelper-CAYdbjhS-BnriMIKx.js} +1 -1
  259. package/dist/assets/{arrow-south-east-round-PEovUgvH-DvoAU7mY.js → arrow-south-east-round-PEovUgvH-D9eZjC4F.js} +1 -1
  260. package/dist/assets/{auto-transfer-rule-mbafm5D3-VBx9t_qo.js → auto-transfer-rule-mbafm5D3-z35I1d4Z.js} +1 -1
  261. package/dist/assets/{avatar-Dz7aEm3d-ZI3JCtk7.js → avatar-Dz7aEm3d-BJFW_gi9.js} +1 -1
  262. package/dist/assets/{bank-letter-BOcVjN6J-Dws2Kxmd.js → bank-letter-BOcVjN6J-DG6tnMPR.js} +1 -1
  263. package/dist/assets/{calculateSize-B2w5JPEU-BiAuCFz-.js → calculateSize-B2w5JPEU-DirCjmcI.js} +1 -1
  264. package/dist/assets/{chartTypes-CD3vrBsI-D1eLb6aA.js → chartTypes-CD3vrBsI-BZMuLEVT.js} +1 -1
  265. package/dist/assets/{clock-CJkylEKt-CwvCI5hq.js → clock-CJkylEKt-DBRbYbDM.js} +1 -1
  266. package/dist/assets/{common-BpxEACHl-D-qMuYEn.js → common-BpxEACHl-Buzd-sJA.js} +1 -1
  267. package/dist/assets/{commonDimensions-Oz1tdAcx-6qsjkus3.js → commonDimensions-Oz1tdAcx-D3vjaJvc.js} +1 -1
  268. package/dist/assets/{commonTypes-5tEXwrX4-0afSAZ02.js → commonTypes-5tEXwrX4-wrBzjunM.js} +1 -1
  269. package/dist/assets/{core-D9P6lLF-.js → core-Cd4LmmhG.js} +1 -1
  270. package/dist/assets/{dash.all.min-CrF9T_sg.js → dash.all.min-BwVV-Fhd.js} +1 -1
  271. package/dist/assets/{decodeURIComponentSafe-BA7ebd4J.js → decodeURIComponentSafe-Bnf24opg.js} +1 -1
  272. package/dist/assets/{dnd-nSkfhkrX.js → dnd-CAuW2Onh.js} +1 -1
  273. package/dist/assets/{dollar-round-D18u7nlm-DJ7jjz8a.js → dollar-round-D18u7nlm-Bgjzafb1.js} +1 -1
  274. package/dist/assets/{downloadPdf-Dsuxeias-DgqgIEmy.js → downloadPdf-Dsuxeias-L1V5Ax68.js} +1 -1
  275. package/dist/assets/{empty-BM1tlym1.js → empty-C4-Zh70_.js} +1 -1
  276. package/dist/assets/{empty-DqDGRwQI.js → empty-D2kWk7G0.js} +1 -1
  277. package/dist/assets/{epic-C-GRNY0z.js → epic-B4lLDVkd.js} +1 -1
  278. package/dist/assets/{filter-cZIFUNvj-CnTMsRoA.js → filter-cZIFUNvj-UT3bl1R9.js} +1 -1
  279. package/dist/assets/{getLocaleForTenant-D_kHTEKc.js → getLocaleForTenant-Bn_9x6pb.js} +1 -1
  280. package/dist/assets/{gift-box-Cmt9OgIZ-CmbTqYsU.js → gift-box-Cmt9OgIZ-xVRd_5bu.js} +1 -1
  281. package/dist/assets/{graphic-no-data-l-DU4J8fDt-qX4MU25I.js → graphic-no-data-l-DU4J8fDt-DPD83Lsr.js} +1 -1
  282. package/dist/assets/{graphic-no-data-net-burn-l-CzmycA0m-eyhdhwsy.js → graphic-no-data-net-burn-l-CzmycA0m-qJDLonEJ.js} +1 -1
  283. package/dist/assets/{handshake-BPg58FML-Dy9hpFzO.js → handshake-BPg58FML-BKdvF1x2.js} +1 -1
  284. package/dist/assets/{helper-Ckm10Uko-Cft993Iq.js → helper-Ckm10Uko-CYRllgeW.js} +1 -1
  285. package/dist/assets/{hyperlink-DQyCeXx2-ClAJPTpW.js → hyperlink-DQyCeXx2-BaJrtvtu.js} +1 -1
  286. package/dist/assets/{index-D3FWjv6R.js → index-B4R3U21S.js} +1 -1
  287. package/dist/assets/{index-BHx-AV13.js → index-CSDJR0WY.js} +1 -1
  288. package/dist/assets/{index-BGoNZK9J.js → index-DH1028wG.js} +1 -1
  289. package/dist/assets/{index-BoyH9PC5.js → index-DJu_W448.js} +1 -1
  290. package/dist/assets/{index-C6CSTWn-.js → index-Dil8JkVI.js} +1 -1
  291. package/dist/assets/{index-CAltUZe8.js → index-Djco7rZW.js} +6 -6
  292. package/dist/assets/{lexical-Ct6cBwR8.js → lexical-0UdB2D6j.js} +1 -1
  293. package/dist/assets/{liveblocks-DxIK6Zp5.js → liveblocks-IsOzz8u-.js} +1 -1
  294. package/dist/assets/{lottie-BEhoArVd.js → lottie-D3b06MuY.js} +1 -1
  295. package/dist/assets/{mapLoadingInProgressToTreeNode-jcHEi-mv-D0bSM41h.js → mapLoadingInProgressToTreeNode-jcHEi-mv-CB7uCtY5.js} +1 -1
  296. package/dist/assets/{mapSectionWithAcOnlyToTreeNode-Cgyt68f3-Bqo33gCA.js → mapSectionWithAcOnlyToTreeNode-Cgyt68f3-pTitDfos.js} +1 -1
  297. package/dist/assets/{mapSpacerToTreeNode-XgUp1xUb-CaUrNev8.js → mapSpacerToTreeNode-XgUp1xUb-Cw4z2kHv.js} +1 -1
  298. package/dist/assets/{mapTimeframeBalancesToTreeNode-Bre8FfBF-CPTPOyt7.js → mapTimeframeBalancesToTreeNode-Bre8FfBF-Dp06n9g6.js} +1 -1
  299. package/dist/assets/{mapTimeframeBalancesToTreeNode-DOyCX6ij-BwgfCZTt.js → mapTimeframeBalancesToTreeNode-DOyCX6ij-6k7MqZhE.js} +1 -1
  300. package/dist/assets/{mapTimeframeHeaderLoadingInProgressToTreeNode-D2IvFyR5-Cw5QJbW7.js → mapTimeframeHeaderLoadingInProgressToTreeNode-D2IvFyR5-lmI_kU2C.js} +1 -1
  301. package/dist/assets/{media-player-CsDObYZE.js → media-player-CmMjgVLj.js} +2 -2
  302. package/dist/assets/{money-2cg1MuG4-CTFLBPxC.js → money-2cg1MuG4-S7Hyh6G5.js} +1 -1
  303. package/dist/assets/{mui-CMSRVFAm.js → mui-Xyv5fYYp.js} +1 -1
  304. package/dist/assets/{page-detail-CWX5S47F-D71KSTNS.js → page-detail-CWX5S47F-DGhy77XG.js} +1 -1
  305. package/dist/assets/{page-summary-D7_VQHwN-C0Gmkrf2.js → page-summary-D7_VQHwN-CTvBuwro.js} +1 -1
  306. package/dist/assets/{panelSelectedMixin-Cddsb26L-CzLNMPbQ.js → panelSelectedMixin-Cddsb26L-KaZtuqEM.js} +1 -1
  307. package/dist/assets/{pathToGoBack-Blub25Cp.js → pathToGoBack-CCCMgbLR.js} +1 -1
  308. package/dist/assets/{pdf-Be2WBqYM.js → pdf-BCMUg4JF.js} +3 -3
  309. package/dist/assets/{pdf-lib-CnVZquuu.js → pdf-lib-COfDmyeW.js} +1 -1
  310. package/dist/assets/{plaid-BfI3x5Cu.js → plaid-C49TlIE8.js} +1 -1
  311. package/dist/assets/{pusher-B6_CsVbZ.js → pusher-DxiBhdF2.js} +1 -1
  312. package/dist/assets/{radio-default-CiSgisfh-B-boFyAl.js → radio-default-CiSgisfh-BZQ2G5gA.js} +1 -1
  313. package/dist/assets/{react-C8t61nFI.js → react-7FfCeBSU.js} +1 -1
  314. package/dist/assets/{react-BU_9CVSX.js → react-BPhBszYn.js} +3 -3
  315. package/dist/assets/{react-Df07f_EQ.js → react-BdRvxYlI.js} +1 -1
  316. package/dist/assets/{react-C0Y1QuQQ.js → react-BrhrhOid.js} +1 -1
  317. package/dist/assets/{react-DoqYYGGT.js → react-CGtQZRg8.js} +1 -1
  318. package/dist/assets/{react-BpE8-YB1.js → react-CvsoPUpv.js} +1 -1
  319. package/dist/assets/{react-BHFS79hd.js → react-DWguzYqh.js} +1 -1
  320. package/dist/assets/{react-D-1D0x0x.js → react-DqghA0uT.js} +1 -1
  321. package/dist/assets/{recharts-gT6BOz1b.js → recharts-CwRU7bDL.js} +1 -1
  322. package/dist/assets/{routePaths-C2kSZwVH.js → routePaths-BKDf21Fs.js} +1 -1
  323. package/dist/assets/{sentry-DQeYyYXx.js → sentry-CEBEW6Zv.js} +1 -1
  324. package/dist/assets/{shield-DOlUxcFf-CtwAmezy.js → shield-DOlUxcFf-CN5gdmRw.js} +1 -1
  325. package/dist/assets/{spend-limit-D6SyboD4-DgU5KXwN.js → spend-limit-D6SyboD4-Bn5NEHPU.js} +1 -1
  326. package/dist/assets/{toCOABalancesWithID-aLNB35t7-Bbjw8HZY.js → toCOABalancesWithID-aLNB35t7-D-R0UrAf.js} +1 -1
  327. package/dist/assets/{toChartData-DUL6vnzJ-Dwc3foiO.js → toChartData-DUL6vnzJ-CB0d1jE1.js} +1 -1
  328. package/dist/assets/{transaction-placeholder-CpOwZAMG-EsW3Q-dq.js → transaction-placeholder-CpOwZAMG-Cm13WfkG.js} +1 -1
  329. package/dist/assets/{undo-b_3XZ5CX-vDqRNZiv.js → undo-b_3XZ5CX-KXR9cWDD.js} +1 -1
  330. package/dist/assets/{unlock-BPWn2I5L-DrFYUkdQ.js → unlock-BPWn2I5L-BsNNzlL3.js} +1 -1
  331. package/dist/assets/{upload-reimbursement-receipt-O2N8vcO7-DJbY_Oz2.js → upload-reimbursement-receipt-O2N8vcO7-B07hVCFS.js} +1 -1
  332. package/dist/assets/{uploadAttachment-Ck4wivBR-es3sSFtr.js → uploadAttachment-Ck4wivBR-yBAKB8AC.js} +1 -1
  333. package/dist/assets/{uploadReceipts-CIgkuVpu-IBEc_jc1.js → uploadReceipts-CIgkuVpu-NJY_9LJT.js} +1 -1
  334. package/dist/assets/{url-Doy-Mf6X.js → url-4GCCVJ8T.js} +1 -1
  335. package/dist/assets/{url-DabKyEXg.js → url-NmPSZVeC.js} +1 -1
  336. package/dist/assets/{useDeviceId-Dx8RlRsA.js → useDeviceId-ChcGCEaq.js} +1 -1
  337. package/dist/assets/{useInitialThreadRequest-Bxf1X7cu.js → useInitialThreadRequest-BQElYMHu.js} +1 -1
  338. package/dist/assets/{useLongPress-GCK2COYQ-CW7ST8rN.js → useLongPress-GCK2COYQ-dPgjUCNK.js} +1 -1
  339. package/dist/assets/{usp-line-BBd1wKwW-Crs-gA1B.js → usp-line-BBd1wKwW-B1nhdCck.js} +1 -1
  340. package/dist/assets/{utils-BAO5KfNy.js → utils-PmQt3_O8.js} +1 -1
  341. package/dist/assets/{withTransactionSidePanel-FcH3ZlAj.js → withTransactionSidePanel-BtZz7sjy.js} +1 -1
  342. package/dist/assets/{zeni-epic-state-CHpO1ZKT.js → zeni-epic-state-Ddwqsd5-.js} +3 -3
  343. package/dist/assets/{zeni-icon-only-4nFle2Fz.js → zeni-icon-only-CORvK0Ur.js} +1 -1
  344. package/dist/index.html +1 -1
  345. package/package.json +1 -1
  346. package/dist/assets/CustomerOnboardingAuthScreen-BMwa29XG.js +0 -1
  347. package/dist/assets/CustomerOnboardingContainerPage-CWAtSu08-DVPtZVWB.js +0 -1
@@ -1 +1 @@
1
- import{j as i}from"./pdf-Be2WBqYM.js";import{j as J,h as R,i as U,l as q,u as L,N as B,k as H,R as Te,m as v}from"./core-D9P6lLF-.js";import{ct as $,ga as T,MC as K,De as de,bs as ne,MD as De,II as W,ME as ce,MF as ge,bG as x,Db as le,MG as ye,MH as oe,MI as Ae,MJ as ue,MK as he,ML as Se,MM as ie,Er as ke,bm as Ie}from"./zeni-epic-state-CHpO1ZKT.js";import{O as Z,jz as O,lW as Q,jO as w,jM as X,k2 as be,js as ve,aE as Ye,aG as se}from"./index-CAltUZe8.js";import"./mui-CMSRVFAm.js";import{a as A}from"./sentry-DQeYyYXx.js";import{w as ee}from"./withTransactionSidePanel-FcH3ZlAj.js";import{p as te,b as ae}from"./routePaths-C2kSZwVH.js";import{u as xe}from"./utils-BAO5KfNy.js";import{d as M}from"./decodeURIComponentSafe-BA7ebd4J.js";import{Z as Pe}from"./ZeniAccountStatementScreen-mRCX19Ut.js";import"./lottie-BEhoArVd.js";import"./liveblocks-DxIK6Zp5.js";import"./recharts-gT6BOz1b.js";import"./dnd-nSkfhkrX.js";import"./analytics-B2Q_uKwH.js";import"./plaid-BfI3x5Cu.js";import"./TransactionDetailScreen-DkbX0oG8.js";(function(){try{var a=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},e=new a.Error().stack;e&&(a._sentryDebugIds=a._sentryDebugIds||{},a._sentryDebugIds[e]="12391f5e-7f7f-4565-9a66-ebfc8c44ba14",a._sentryDebugIdIdentifier="sentry-dbid-12391f5e-7f7f-4565-9a66-ebfc8c44ba14")}catch{}})();const G=a=>xe(a),Me=H(function(a,e){const t=De(a.transactionState,a.transactionListState,e.selectedAccount.period,e.selectedAccount.timeframe,G(e.selectedAccount.tranListType));return{title:e.selectedAccount.title,subTitle:e.selectedAccount.subTitle,timeframe:e.selectedAccount.timeframe,timePeriod:W(e.selectedAccount.period),dataAvailableForPeriod:e.dataAvailableForPeriod,report:t,currentScrollYOffset:t.uiState?.scrollYOffset??0}},function(a,e){return{onBackClick:()=>{const t=X(e.location.state?.pathnameStackToGoBack),n=t.poppedPathname??"../../";e.navigate(n,{state:{pathnameStackToGoBack:t.newStack}})},onTimePeriodChange:(t,n,c)=>{e.closeSidePanel?.();const o=Z.getLocalizedStrings(),r=G(e.selectedAccount.tranListType),s=je(t,n,c,r,e.bookCloseDate);O.trackTransactionList(void 0,void 0,void 0,e.selectedAccount.title,void 0,!0),a(ce({uiState:{dateRange:s},type:G(e.selectedAccount.tranListType)})),a(de(r,T(s),!1,r==="missingReceipts"?o.uncategorizedTransactionList.missingReceipt.missingReceiptMinAmount:void 0)),e.onSelectedTimePeriodChange(T(s))},onTransactionItemClick:t=>{if(e.openTransactionPanel)return void e.openTransactionPanel(t.id,t.type);const n=ae(t,e.tenantEmailDomain),c=w(e.location.state?.pathnameStackToGoBack,e.location.pathname);e.navigate(n,{state:{pathnameStackToGoBack:c}})},onTransactionListScroll:t=>{a(ce({uiState:{scrollYOffset:t},type:G(e.selectedAccount.tranListType)}))}}})(Q),F=ee(function({...a}){const e=J(),t=R(),n=U(),c=t.pathname.substring(t.pathname.lastIndexOf("/")+1),{tenantEmailDomain:o}=q(),r=Z.getLocalizedStrings(),{accountType:s,title:u,subTitle:h}=Le(c),D="month",g=L(p=>$(p)),Y=g.company?.companyInfo.firstMonthOfFY??1,{dataAvailable:y,initialTimeframeTick:S}=Ee(c,Y,g.bookCloseDate),[k,E]=A.useState(!1),[j,P]=A.useState(void 0),m=A.useMemo(()=>{const p=T(S);return{tranListType:c,accountType:K(s),title:u,subTitle:h,timeframe:D,period:p}},[c,D,s,y]);A.useEffect(()=>{if(!k&&m!=null){E(!0),O.trackTransactionList(void 0,void 0,void 0,m.title);const p=G(m.tranListType);n(de(p,m.period,!0,p==="missingReceipts"?r.uncategorizedTransactionList.missingReceipt.missingReceiptMinAmount:void 0))}},[k,m,n]);let I=m;return m!=null&&j!=null&&(I={...m,period:j}),I==null?i.jsx(B,{to:"../"}):i.jsx(Me,{firstMonthOfFY:Y,tenantEmailDomain:o,location:t,useFixedPeriod:{timeframe:"month",numberOfPeriods:12},dataAvailableForPeriod:y,navigate:e,selectedAccount:I,referrerType:c,bookCloseDate:g.bookCloseDate,onSelectedTimePeriodChange:p=>P(p),...a})}),Le=a=>{let e="",t="",n="";const c=Z.getLocalizedStrings();switch(a){case"uncategorized-income":e="income",t=c.uncategorizedTransactionList.income.title,n=c.uncategorizedTransactionList.income.subTitle;break;case"uncategorized-expense":e="expenses",t=c.uncategorizedTransactionList.expense.title,n=c.uncategorizedTransactionList.expense.subTitle;break;case"miscategorized-expense":e="expenses",t=c.miscategorizedTransactionList.expense.title,n=c.miscategorizedTransactionList.expense.subTitle;break;case"miscategorized-income":e="income",t=c.miscategorizedTransactionList.income.title,n=c.miscategorizedTransactionList.income.subTitle;break;case"missing-receipts":t=c.uncategorizedTransactionList.missingReceipt.title,n=c.uncategorizedTransactionList.missingReceipt.subTitle}return{accountType:e,title:t,subTitle:n}},Ee=(a,e,t)=>{const n=ne();let c=ne().startOf("month").subtract(11,"month");return t!=null&&a!=="missing-receipts"?t.add(1,"day").isBefore(c)?{dataAvailable:{startDate:t.add(1,"day"),endDate:n},initialTimeframeTick:{startDate:c,endDate:n}}:(c=t.add(1,"day"),{dataAvailable:{startDate:c,endDate:n},initialTimeframeTick:{startDate:c,endDate:n}}):{dataAvailable:te(5,e),initialTimeframeTick:{startDate:c,endDate:n}}},je=(a,e,t,n,c)=>{let o=e;return n==="missingReceipts"||c==null?a.startDate.isBefore(e.startDate,t)?o={startDate:a.startDate,endDate:e.endDate}:a.startDate.isAfter(e.endDate,t)?o={startDate:e.startDate,endDate:a.endDate}:console.error(`Invalid addTimePeriod ${JSON.stringify(a)}`):o=a.startDate.isBefore(c,t)?{startDate:c.add(1,"day"),endDate:e.endDate}:{startDate:a.startDate,endDate:e.endDate},o},ze=H(function(a,e){const t=ye(a.transactionState,a.transactionListState,e.selectedAccount.accountId,e.selectedAccount.accountType,e.selectedAccount.classId,e.selectedAccount.timeframe,e.selectedAccount.period);return{accountId:e.selectedAccount.accountId,accountType:e.selectedAccount.accountType,title:e.selectedAccount.title,timeframe:e.selectedAccount.timeframe,timePeriod:W(e.selectedAccount.period),dataAvailableForPeriod:te(5,e.firstMonthOfFY),report:t,currentScrollYOffset:t.uiState?.scrollYOffset??0}},function(a,e){return{onBackClick:()=>{const t=X(e.location.state?.pathnameStackToGoBack),n=t.poppedPathname??me();e.navigate(n,{state:{pathnameStackToGoBack:t.newStack}})},onTimePeriodChange:(t,n,c)=>{e.closeSidePanel?.();let o=n;t.startDate.isBefore(n.startDate,c)?o={startDate:t.startDate,endDate:n.endDate}:t.startDate.isAfter(n.endDate,c)?o={startDate:n.startDate,endDate:t.endDate}:console.error(`Invalid addTimePeriod ${JSON.stringify(t)}`),O.trackTransactionList(e.selectedAccount.accountId,void 0,e.referrerType,e.selectedAccount.title,void 0,!0),a(oe({accountId:e.selectedAccount.accountId,accountType:e.selectedAccount.accountType,classId:e.selectedAccount.classId,uiState:{dateRange:o}})),a(le(e.selectedAccount.accountId,e.selectedAccount.accountType,e.selectedAccount.classId,T(o))),e.onSelectedTimePeriodChange(T(o))},onTransactionItemClick:t=>{if(e.openTransactionPanel)return void e.openTransactionPanel(t.id,t.type);const n=ae(t,e.tenantEmailDomain),c=w(e.location.state?.pathnameStackToGoBack,e.location.pathname);e.navigate(n,{state:{pathnameStackToGoBack:c}})},onTransactionListScroll:t=>{a(oe({accountId:e.selectedAccount.accountId,accountType:e.selectedAccount.accountType,classId:e.selectedAccount.classId,uiState:{scrollYOffset:t}}))}}})(Q),Be=ee(function({referrerType:a,...e}){const t=J(),n=R(),c=U(),{tenantEmailDomain:o,accountTypeEncoded:r,accountIdEncoded:s,classIdEncoded:u,timeframe:h,startDate:D,endDate:g,titleEncoded:Y}=q(),y=M(r??""),S=M(s??""),k=M(u??""),E=M(Y??""),j=L(f=>ge(f.transactionListState,S,y,k)),[P,m]=A.useState(!1),[I,p]=A.useState(void 0),_=L(f=>$(f)),V=_.company?.companyInfo.firstMonthOfFY??1;let d;const l=Oe(y,S,k,h,D,g,E);if(l){const f={startDate:x(D,"YYYY-MM-DD"),endDate:x(g,"YYYY-MM-DD")},N=Ce(j?.dateRange,f);d={accountId:S,accountType:K(y),classId:k,title:E,timeframe:h,period:N}}A.useEffect(()=>{P||d==null||(m(!0),O.trackTransactionList(d.accountId,void 0,a,d.title),c(le(d.accountId,d.accountType,d.classId,d.period)))},[P,d,c]);let z=d;d!=null&&I!=null&&(z={...d,period:I});const C=[r,s,u,h,D,g,Y].filter(f=>f!=null);return l&&z!=null?i.jsx(ze,{firstMonthOfFY:V,tenantEmailDomain:o,location:n,navigate:t,selectedAccount:z,referrerType:a,onSelectedTimePeriodChange:f=>p(f),...e}):i.jsx(B,{to:me(C.length)})}),me=(a=7)=>{let e="../";for(let t=0;t<a;t++)e=`${e}../`;return e},Oe=(a,e,t,n,c,o,r)=>a!=null&&e!=null&&t!=null&&n!=null&&c!=null&&o!=null&&(n==="month"||n==="quarter")&&x(c,"YYYY-MM-DD").isValid()&&x(o,"YYYY-MM-DD").isValid()&&r!=null,Ce=(a,e)=>a!=null&&a.endDate.isSame(e.endDate,"day")&&a.startDate.isBefore(e.startDate,"day")?T(a):T(e),Fe=H(function(a,e){const t=he(a.transactionState,a.transactionListState,e.selectedAccount.accountId,e.selectedAccount.accountType,e.selectedAccount.timeframe,e.selectedAccount.period),n=t.account?.coaId,c=e.isConnectedAccountProviderUnit&&Se(n??"");return{accountId:e.selectedAccount.accountId,accountType:e.selectedAccount.accountType,title:e.selectedAccount.title,timeframe:e.selectedAccount.timeframe,timePeriod:W(e.selectedAccount.period),dataAvailableForPeriod:te(5,e.firstMonthOfFY),report:t,currentScrollYOffset:t.uiState?.scrollYOffset??0,showStatementPageIcon:c}},function(a,e){return{onBackClick:()=>{const t=X(e.location.state?.pathnameStackToGoBack),n=t.poppedPathname??pe();e.navigate(n,{state:{pathnameStackToGoBack:t.newStack}})},onTimePeriodChange:(t,n,c)=>{e.closeSidePanel?.();let o=n;t.startDate.isBefore(n.startDate,c)?o={startDate:t.startDate,endDate:n.endDate}:t.startDate.isAfter(n.endDate,c)?o={startDate:n.startDate,endDate:t.endDate}:console.error(`Invalid addTimePeriod ${JSON.stringify(t)}`),O.trackTransactionList(e.selectedAccount.accountId,void 0,e.referrerType,e.selectedAccount.title,void 0,!0),a(ie({accountId:e.selectedAccount.accountId,accountType:e.selectedAccount.accountType,uiState:{dateRange:o}})),a(ue(e.selectedAccount.accountId,e.selectedAccount.accountType,T(o))),e.onSelectedTimePeriodChange(T(o))},onTransactionItemClick:t=>{if(e.openTransactionPanel)return void e.openTransactionPanel(t.id,t.type);const n=ae(t,e.tenantEmailDomain),c=w(e.location.state?.pathnameStackToGoBack,e.location.pathname);e.navigate(n,{state:{pathnameStackToGoBack:c}})},onTransactionListScroll:t=>{a(ie({accountId:e.selectedAccount.accountId,accountType:e.selectedAccount.accountType,uiState:{scrollYOffset:t}}))},onStatementPageIconClick:()=>{const t=we(e.tenantEmailDomain),n=w(e.location.state?.pathnameStackToGoBack,e.location.pathname);e.navigate(t,{state:{pathnameStackToGoBack:n}})}}})(Q),re=ee(function({referrerType:a,...e}){const t=J(),n=R(),c=U(),{tenantEmailDomain:o,accountTypeEncoded:r,accountIdEncoded:s,timeframe:u,startDate:h,endDate:D,titleEncoded:g,excludeSubAccounts:Y}=q(),y=M(r??""),S=M(s??""),k=M(g??""),E=!(Y!=null&&Y==="exclude_subaccounts"),j=L(b=>Ae(b.transactionListState,S,y)),[P,m]=A.useState(!1),[I,p]=A.useState(void 0),_=L(b=>$(b)),V=_.company?.featuresActivationInfo.connectedAccountProvider==="unit",d=_.company?.companyInfo.firstMonthOfFY??1;let l;const z=Ge(y,S,u,h,D,k);if(z){const b={startDate:x(h,"YYYY-MM-DD"),endDate:x(D,"YYYY-MM-DD")},fe=_e(j?.dateRange,b);l={accountId:S,accountType:K(y),title:k,timeframe:u,period:fe}}let C=l;l!=null&&I!=null&&(C={...l,period:I});const{areTenantIdsInSync:f}=be();A.useEffect(()=>{!P&&l!=null&&f&&(m(!0),O.trackTransactionList(l.accountId,void 0,a,l.title),c(ue(l.accountId,l.accountType,l.period,void 0,!1,E)))},[P,l,c,f]);const N=[r,s,u,h,D,g].filter(b=>b!=null);return z&&C!=null?i.jsx(Fe,{firstMonthOfFY:d,tenantEmailDomain:o,location:n,navigate:t,isConnectedAccountProviderUnit:V,selectedAccount:C,referrerType:a,onSelectedTimePeriodChange:b=>p(b),...e}):i.jsx(B,{to:pe(N.length)})}),pe=(a=7)=>{let e="../";for(let t=0;t<a;t++)e=`${e}../`;return e},Ge=(a,e,t,n,c,o)=>a!=null&&e!=null&&t!=null&&n!=null&&c!=null&&(t==="month"||t==="quarter")&&x(n,"YYYY-MM-DD").isValid()&&x(c,"YYYY-MM-DD").isValid()&&o!=null,_e=(a,e)=>a!=null&&a.endDate.isSame(e.endDate,"day")&&a.startDate.isBefore(e.startDate,"day")?T(a):T(e),we=a=>`/${a}/transactions/${ke}/statements`;function ot(){const a=R().state?.referrer,e=ve.getSignedInUser(),t=Ie(e),{useFeatureGate:n}=Ye(),{isFeatureEnabled:c}=n(se.isExpenseAutomationEnabled),o=L(u=>u.expenseAutomationViewState.selectedPeriodByTenantId)[L(u=>$(u)).tenantId],{isFeatureEnabled:r}=n(se.isExpenseAutomationEnabledV2),s=r||c&&t;return i.jsxs(Te,{children:[i.jsx(v,{path:"/:accountTypeEncoded/:accountIdEncoded/:timeframe/:startDate/:endDate/:titleEncoded/:excludeSubAccounts/*",element:i.jsx(re,{referrerType:a})}),i.jsx(v,{path:"/zeni-clearing-account/statements",element:i.jsx(Pe,{})}),i.jsx(v,{path:"/*",element:i.jsx(re,{referrerType:a})}),i.jsx(v,{path:"/uncategorized-income/*",element:i.jsx(F,{})}),i.jsx(v,{path:"/uncategorized-expense/*",element:s?i.jsx(B,{to:`../../month_end_close_checks/review/transaction_categorization/${o.month}-${o.year}`}):i.jsx(F,{})}),i.jsx(v,{path:"/miscategorized-income/*",element:i.jsx(F,{})}),i.jsx(v,{path:"/miscategorized-expense/*",element:s?i.jsx(B,{to:`../../month_end_close_checks/review/transaction_categorization/${o.month}-${o.year}`}):i.jsx(F,{})}),i.jsx(v,{path:"/missing-receipts/*",element:s?i.jsx(B,{to:`../../month_end_close_checks/review/missing_receipts/${o.month}-${o.year}`}):i.jsx(F,{})}),i.jsx(v,{path:"/by-class/:accountTypeEncoded/:accountIdEncoded/:classIdEncoded/:timeframe/:startDate/:endDate/:titleEncoded/*",element:i.jsx(Be,{referrerType:a})})]})}export{ot as default};
1
+ import{j as i}from"./pdf-BCMUg4JF.js";import{j as J,h as R,i as U,l as q,u as L,N as B,k as H,R as Te,m as v}from"./core-Cd4LmmhG.js";import{ct as $,ga as T,MC as K,De as de,bs as ne,MD as De,II as W,ME as ce,MF as ge,bG as x,Db as le,MG as ye,MH as oe,MI as Ae,MJ as ue,MK as he,ML as Se,MM as ie,Er as ke,bm as Ie}from"./zeni-epic-state-Ddwqsd5-.js";import{O as Z,jz as O,lW as Q,jO as w,jM as X,k2 as be,js as ve,aE as Ye,aG as se}from"./index-Djco7rZW.js";import"./mui-Xyv5fYYp.js";import{a as A}from"./sentry-CEBEW6Zv.js";import{w as ee}from"./withTransactionSidePanel-BtZz7sjy.js";import{p as te,b as ae}from"./routePaths-BKDf21Fs.js";import{u as xe}from"./utils-PmQt3_O8.js";import{d as M}from"./decodeURIComponentSafe-Bnf24opg.js";import{Z as Pe}from"./ZeniAccountStatementScreen-CKcr5fe4.js";import"./lottie-D3b06MuY.js";import"./liveblocks-IsOzz8u-.js";import"./recharts-CwRU7bDL.js";import"./dnd-CAuW2Onh.js";import"./analytics-CxExYOQN.js";import"./plaid-C49TlIE8.js";import"./TransactionDetailScreen-Ctm336US.js";(function(){try{var a=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},e=new a.Error().stack;e&&(a._sentryDebugIds=a._sentryDebugIds||{},a._sentryDebugIds[e]="12391f5e-7f7f-4565-9a66-ebfc8c44ba14",a._sentryDebugIdIdentifier="sentry-dbid-12391f5e-7f7f-4565-9a66-ebfc8c44ba14")}catch{}})();const G=a=>xe(a),Me=H(function(a,e){const t=De(a.transactionState,a.transactionListState,e.selectedAccount.period,e.selectedAccount.timeframe,G(e.selectedAccount.tranListType));return{title:e.selectedAccount.title,subTitle:e.selectedAccount.subTitle,timeframe:e.selectedAccount.timeframe,timePeriod:W(e.selectedAccount.period),dataAvailableForPeriod:e.dataAvailableForPeriod,report:t,currentScrollYOffset:t.uiState?.scrollYOffset??0}},function(a,e){return{onBackClick:()=>{const t=X(e.location.state?.pathnameStackToGoBack),n=t.poppedPathname??"../../";e.navigate(n,{state:{pathnameStackToGoBack:t.newStack}})},onTimePeriodChange:(t,n,c)=>{e.closeSidePanel?.();const o=Z.getLocalizedStrings(),r=G(e.selectedAccount.tranListType),s=je(t,n,c,r,e.bookCloseDate);O.trackTransactionList(void 0,void 0,void 0,e.selectedAccount.title,void 0,!0),a(ce({uiState:{dateRange:s},type:G(e.selectedAccount.tranListType)})),a(de(r,T(s),!1,r==="missingReceipts"?o.uncategorizedTransactionList.missingReceipt.missingReceiptMinAmount:void 0)),e.onSelectedTimePeriodChange(T(s))},onTransactionItemClick:t=>{if(e.openTransactionPanel)return void e.openTransactionPanel(t.id,t.type);const n=ae(t,e.tenantEmailDomain),c=w(e.location.state?.pathnameStackToGoBack,e.location.pathname);e.navigate(n,{state:{pathnameStackToGoBack:c}})},onTransactionListScroll:t=>{a(ce({uiState:{scrollYOffset:t},type:G(e.selectedAccount.tranListType)}))}}})(Q),F=ee(function({...a}){const e=J(),t=R(),n=U(),c=t.pathname.substring(t.pathname.lastIndexOf("/")+1),{tenantEmailDomain:o}=q(),r=Z.getLocalizedStrings(),{accountType:s,title:u,subTitle:h}=Le(c),D="month",g=L(p=>$(p)),Y=g.company?.companyInfo.firstMonthOfFY??1,{dataAvailable:y,initialTimeframeTick:S}=Ee(c,Y,g.bookCloseDate),[k,E]=A.useState(!1),[j,P]=A.useState(void 0),m=A.useMemo(()=>{const p=T(S);return{tranListType:c,accountType:K(s),title:u,subTitle:h,timeframe:D,period:p}},[c,D,s,y]);A.useEffect(()=>{if(!k&&m!=null){E(!0),O.trackTransactionList(void 0,void 0,void 0,m.title);const p=G(m.tranListType);n(de(p,m.period,!0,p==="missingReceipts"?r.uncategorizedTransactionList.missingReceipt.missingReceiptMinAmount:void 0))}},[k,m,n]);let I=m;return m!=null&&j!=null&&(I={...m,period:j}),I==null?i.jsx(B,{to:"../"}):i.jsx(Me,{firstMonthOfFY:Y,tenantEmailDomain:o,location:t,useFixedPeriod:{timeframe:"month",numberOfPeriods:12},dataAvailableForPeriod:y,navigate:e,selectedAccount:I,referrerType:c,bookCloseDate:g.bookCloseDate,onSelectedTimePeriodChange:p=>P(p),...a})}),Le=a=>{let e="",t="",n="";const c=Z.getLocalizedStrings();switch(a){case"uncategorized-income":e="income",t=c.uncategorizedTransactionList.income.title,n=c.uncategorizedTransactionList.income.subTitle;break;case"uncategorized-expense":e="expenses",t=c.uncategorizedTransactionList.expense.title,n=c.uncategorizedTransactionList.expense.subTitle;break;case"miscategorized-expense":e="expenses",t=c.miscategorizedTransactionList.expense.title,n=c.miscategorizedTransactionList.expense.subTitle;break;case"miscategorized-income":e="income",t=c.miscategorizedTransactionList.income.title,n=c.miscategorizedTransactionList.income.subTitle;break;case"missing-receipts":t=c.uncategorizedTransactionList.missingReceipt.title,n=c.uncategorizedTransactionList.missingReceipt.subTitle}return{accountType:e,title:t,subTitle:n}},Ee=(a,e,t)=>{const n=ne();let c=ne().startOf("month").subtract(11,"month");return t!=null&&a!=="missing-receipts"?t.add(1,"day").isBefore(c)?{dataAvailable:{startDate:t.add(1,"day"),endDate:n},initialTimeframeTick:{startDate:c,endDate:n}}:(c=t.add(1,"day"),{dataAvailable:{startDate:c,endDate:n},initialTimeframeTick:{startDate:c,endDate:n}}):{dataAvailable:te(5,e),initialTimeframeTick:{startDate:c,endDate:n}}},je=(a,e,t,n,c)=>{let o=e;return n==="missingReceipts"||c==null?a.startDate.isBefore(e.startDate,t)?o={startDate:a.startDate,endDate:e.endDate}:a.startDate.isAfter(e.endDate,t)?o={startDate:e.startDate,endDate:a.endDate}:console.error(`Invalid addTimePeriod ${JSON.stringify(a)}`):o=a.startDate.isBefore(c,t)?{startDate:c.add(1,"day"),endDate:e.endDate}:{startDate:a.startDate,endDate:e.endDate},o},ze=H(function(a,e){const t=ye(a.transactionState,a.transactionListState,e.selectedAccount.accountId,e.selectedAccount.accountType,e.selectedAccount.classId,e.selectedAccount.timeframe,e.selectedAccount.period);return{accountId:e.selectedAccount.accountId,accountType:e.selectedAccount.accountType,title:e.selectedAccount.title,timeframe:e.selectedAccount.timeframe,timePeriod:W(e.selectedAccount.period),dataAvailableForPeriod:te(5,e.firstMonthOfFY),report:t,currentScrollYOffset:t.uiState?.scrollYOffset??0}},function(a,e){return{onBackClick:()=>{const t=X(e.location.state?.pathnameStackToGoBack),n=t.poppedPathname??me();e.navigate(n,{state:{pathnameStackToGoBack:t.newStack}})},onTimePeriodChange:(t,n,c)=>{e.closeSidePanel?.();let o=n;t.startDate.isBefore(n.startDate,c)?o={startDate:t.startDate,endDate:n.endDate}:t.startDate.isAfter(n.endDate,c)?o={startDate:n.startDate,endDate:t.endDate}:console.error(`Invalid addTimePeriod ${JSON.stringify(t)}`),O.trackTransactionList(e.selectedAccount.accountId,void 0,e.referrerType,e.selectedAccount.title,void 0,!0),a(oe({accountId:e.selectedAccount.accountId,accountType:e.selectedAccount.accountType,classId:e.selectedAccount.classId,uiState:{dateRange:o}})),a(le(e.selectedAccount.accountId,e.selectedAccount.accountType,e.selectedAccount.classId,T(o))),e.onSelectedTimePeriodChange(T(o))},onTransactionItemClick:t=>{if(e.openTransactionPanel)return void e.openTransactionPanel(t.id,t.type);const n=ae(t,e.tenantEmailDomain),c=w(e.location.state?.pathnameStackToGoBack,e.location.pathname);e.navigate(n,{state:{pathnameStackToGoBack:c}})},onTransactionListScroll:t=>{a(oe({accountId:e.selectedAccount.accountId,accountType:e.selectedAccount.accountType,classId:e.selectedAccount.classId,uiState:{scrollYOffset:t}}))}}})(Q),Be=ee(function({referrerType:a,...e}){const t=J(),n=R(),c=U(),{tenantEmailDomain:o,accountTypeEncoded:r,accountIdEncoded:s,classIdEncoded:u,timeframe:h,startDate:D,endDate:g,titleEncoded:Y}=q(),y=M(r??""),S=M(s??""),k=M(u??""),E=M(Y??""),j=L(f=>ge(f.transactionListState,S,y,k)),[P,m]=A.useState(!1),[I,p]=A.useState(void 0),_=L(f=>$(f)),V=_.company?.companyInfo.firstMonthOfFY??1;let d;const l=Oe(y,S,k,h,D,g,E);if(l){const f={startDate:x(D,"YYYY-MM-DD"),endDate:x(g,"YYYY-MM-DD")},N=Ce(j?.dateRange,f);d={accountId:S,accountType:K(y),classId:k,title:E,timeframe:h,period:N}}A.useEffect(()=>{P||d==null||(m(!0),O.trackTransactionList(d.accountId,void 0,a,d.title),c(le(d.accountId,d.accountType,d.classId,d.period)))},[P,d,c]);let z=d;d!=null&&I!=null&&(z={...d,period:I});const C=[r,s,u,h,D,g,Y].filter(f=>f!=null);return l&&z!=null?i.jsx(ze,{firstMonthOfFY:V,tenantEmailDomain:o,location:n,navigate:t,selectedAccount:z,referrerType:a,onSelectedTimePeriodChange:f=>p(f),...e}):i.jsx(B,{to:me(C.length)})}),me=(a=7)=>{let e="../";for(let t=0;t<a;t++)e=`${e}../`;return e},Oe=(a,e,t,n,c,o,r)=>a!=null&&e!=null&&t!=null&&n!=null&&c!=null&&o!=null&&(n==="month"||n==="quarter")&&x(c,"YYYY-MM-DD").isValid()&&x(o,"YYYY-MM-DD").isValid()&&r!=null,Ce=(a,e)=>a!=null&&a.endDate.isSame(e.endDate,"day")&&a.startDate.isBefore(e.startDate,"day")?T(a):T(e),Fe=H(function(a,e){const t=he(a.transactionState,a.transactionListState,e.selectedAccount.accountId,e.selectedAccount.accountType,e.selectedAccount.timeframe,e.selectedAccount.period),n=t.account?.coaId,c=e.isConnectedAccountProviderUnit&&Se(n??"");return{accountId:e.selectedAccount.accountId,accountType:e.selectedAccount.accountType,title:e.selectedAccount.title,timeframe:e.selectedAccount.timeframe,timePeriod:W(e.selectedAccount.period),dataAvailableForPeriod:te(5,e.firstMonthOfFY),report:t,currentScrollYOffset:t.uiState?.scrollYOffset??0,showStatementPageIcon:c}},function(a,e){return{onBackClick:()=>{const t=X(e.location.state?.pathnameStackToGoBack),n=t.poppedPathname??pe();e.navigate(n,{state:{pathnameStackToGoBack:t.newStack}})},onTimePeriodChange:(t,n,c)=>{e.closeSidePanel?.();let o=n;t.startDate.isBefore(n.startDate,c)?o={startDate:t.startDate,endDate:n.endDate}:t.startDate.isAfter(n.endDate,c)?o={startDate:n.startDate,endDate:t.endDate}:console.error(`Invalid addTimePeriod ${JSON.stringify(t)}`),O.trackTransactionList(e.selectedAccount.accountId,void 0,e.referrerType,e.selectedAccount.title,void 0,!0),a(ie({accountId:e.selectedAccount.accountId,accountType:e.selectedAccount.accountType,uiState:{dateRange:o}})),a(ue(e.selectedAccount.accountId,e.selectedAccount.accountType,T(o))),e.onSelectedTimePeriodChange(T(o))},onTransactionItemClick:t=>{if(e.openTransactionPanel)return void e.openTransactionPanel(t.id,t.type);const n=ae(t,e.tenantEmailDomain),c=w(e.location.state?.pathnameStackToGoBack,e.location.pathname);e.navigate(n,{state:{pathnameStackToGoBack:c}})},onTransactionListScroll:t=>{a(ie({accountId:e.selectedAccount.accountId,accountType:e.selectedAccount.accountType,uiState:{scrollYOffset:t}}))},onStatementPageIconClick:()=>{const t=we(e.tenantEmailDomain),n=w(e.location.state?.pathnameStackToGoBack,e.location.pathname);e.navigate(t,{state:{pathnameStackToGoBack:n}})}}})(Q),re=ee(function({referrerType:a,...e}){const t=J(),n=R(),c=U(),{tenantEmailDomain:o,accountTypeEncoded:r,accountIdEncoded:s,timeframe:u,startDate:h,endDate:D,titleEncoded:g,excludeSubAccounts:Y}=q(),y=M(r??""),S=M(s??""),k=M(g??""),E=!(Y!=null&&Y==="exclude_subaccounts"),j=L(b=>Ae(b.transactionListState,S,y)),[P,m]=A.useState(!1),[I,p]=A.useState(void 0),_=L(b=>$(b)),V=_.company?.featuresActivationInfo.connectedAccountProvider==="unit",d=_.company?.companyInfo.firstMonthOfFY??1;let l;const z=Ge(y,S,u,h,D,k);if(z){const b={startDate:x(h,"YYYY-MM-DD"),endDate:x(D,"YYYY-MM-DD")},fe=_e(j?.dateRange,b);l={accountId:S,accountType:K(y),title:k,timeframe:u,period:fe}}let C=l;l!=null&&I!=null&&(C={...l,period:I});const{areTenantIdsInSync:f}=be();A.useEffect(()=>{!P&&l!=null&&f&&(m(!0),O.trackTransactionList(l.accountId,void 0,a,l.title),c(ue(l.accountId,l.accountType,l.period,void 0,!1,E)))},[P,l,c,f]);const N=[r,s,u,h,D,g].filter(b=>b!=null);return z&&C!=null?i.jsx(Fe,{firstMonthOfFY:d,tenantEmailDomain:o,location:n,navigate:t,isConnectedAccountProviderUnit:V,selectedAccount:C,referrerType:a,onSelectedTimePeriodChange:b=>p(b),...e}):i.jsx(B,{to:pe(N.length)})}),pe=(a=7)=>{let e="../";for(let t=0;t<a;t++)e=`${e}../`;return e},Ge=(a,e,t,n,c,o)=>a!=null&&e!=null&&t!=null&&n!=null&&c!=null&&(t==="month"||t==="quarter")&&x(n,"YYYY-MM-DD").isValid()&&x(c,"YYYY-MM-DD").isValid()&&o!=null,_e=(a,e)=>a!=null&&a.endDate.isSame(e.endDate,"day")&&a.startDate.isBefore(e.startDate,"day")?T(a):T(e),we=a=>`/${a}/transactions/${ke}/statements`;function ot(){const a=R().state?.referrer,e=ve.getSignedInUser(),t=Ie(e),{useFeatureGate:n}=Ye(),{isFeatureEnabled:c}=n(se.isExpenseAutomationEnabled),o=L(u=>u.expenseAutomationViewState.selectedPeriodByTenantId)[L(u=>$(u)).tenantId],{isFeatureEnabled:r}=n(se.isExpenseAutomationEnabledV2),s=r||c&&t;return i.jsxs(Te,{children:[i.jsx(v,{path:"/:accountTypeEncoded/:accountIdEncoded/:timeframe/:startDate/:endDate/:titleEncoded/:excludeSubAccounts/*",element:i.jsx(re,{referrerType:a})}),i.jsx(v,{path:"/zeni-clearing-account/statements",element:i.jsx(Pe,{})}),i.jsx(v,{path:"/*",element:i.jsx(re,{referrerType:a})}),i.jsx(v,{path:"/uncategorized-income/*",element:i.jsx(F,{})}),i.jsx(v,{path:"/uncategorized-expense/*",element:s?i.jsx(B,{to:`../../month_end_close_checks/review/transaction_categorization/${o.month}-${o.year}`}):i.jsx(F,{})}),i.jsx(v,{path:"/miscategorized-income/*",element:i.jsx(F,{})}),i.jsx(v,{path:"/miscategorized-expense/*",element:s?i.jsx(B,{to:`../../month_end_close_checks/review/transaction_categorization/${o.month}-${o.year}`}):i.jsx(F,{})}),i.jsx(v,{path:"/missing-receipts/*",element:s?i.jsx(B,{to:`../../month_end_close_checks/review/missing_receipts/${o.month}-${o.year}`}):i.jsx(F,{})}),i.jsx(v,{path:"/by-class/:accountTypeEncoded/:accountIdEncoded/:classIdEncoded/:timeframe/:startDate/:endDate/:titleEncoded/*",element:i.jsx(Be,{referrerType:a})})]})}export{ot as default};
@@ -1,4 +1,4 @@
1
- import{e as A,O as k,V as o,L as q,b as I,a9 as R,o as t,x as m,a8 as W,d as _,cu as G,T as K,c8 as U,A as J,m as a,gD as M,gE as B,gF as F,y as Q,cd as X,ga as z,gG as Y,ar as Z,gK as ee,gL as oe}from"./index-CAltUZe8.js";import{a as j}from"./sentry-DQeYyYXx.js";import{n as l}from"./mui-CMSRVFAm.js";import"./pdf-Be2WBqYM.js";import"./zeni-epic-state-CHpO1ZKT.js";import"./core-D9P6lLF-.js";import"./lottie-BEhoArVd.js";import"./liveblocks-DxIK6Zp5.js";import"./recharts-gT6BOz1b.js";import"./dnd-nSkfhkrX.js";import"./analytics-B2Q_uKwH.js";import"./plaid-BfI3x5Cu.js";import"./utils-BAO5KfNy.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]="b47e9681-e0b8-4b96-a348-63c4709d0ddf",e._sentryDebugIdIdentifier="sentry-dbid-b47e9681-e0b8-4b96-a348-63c4709d0ddf")}catch{}})();const L=(e,r)=>`${e}.${r}`,N={labelWidth:new m(120,145,160),controlWidth:new m(110,145,160)},i=k.getLocalizedStrings().transactionDetail.vendorDetails.vendorCreation,te=({selectedAccountId:e,isSaveError:r,selectedClassId:g,selectedOwnerId:d,selectedVendorName:w,allAccounts:u,allClasses:O,allOwners:$,sectionId:h,isDisabled:c,accountsHierarchyList:x,classHierarchyList:b})=>{const s=A(),y=Q(),C=N.labelWidth.value(s),S=N.controlWidth.value(s);return o.jsxs(ae,{"data-testid":I("vendor-details-section",h),children:[o.jsx(ne,{children:i.vendorDetails.title}),o.jsxs(re,{children:[o.jsx(X,{label:{label:i.vendorDetails.vendorName,width:C},text:{type:"text",name:L(h,"vendorName"),placeholder:i.placeholders.vendor,defaultValue:w,autoComplete:"off",options:{required:!0}},isSaveError:r,showAdditionalInfoLabel:!1,additionalInfoLabel:i.vendorAlreadyExistsErrorMsg,style:{width:"auto"}}),o.jsx(se,{}),o.jsx(z,{isLoading:!1,label:{label:i.vendorDetails.vendorCategory,width:C},groupedSingleSelectField:{shouldShowChevronIcon:!1,name:L(h,"vendorCategory"),placeholder:i.placeholders.category,valueToInfo:v=>(p=>u.filter(n=>n.accountId===p)[0]?.coaId??"")(v),defaultValue:{selectedOption:e,allOptions:B(x)},style:{width:"auto"},registerOptions:{required:!1}},style:{borderBottom:`1px solid ${y.colors.grey3}`},isDisabled:c,disableCurrentOption:v=>{const p=u.find(n=>n.accountId===v)?.accountName;return[ee,oe].includes(p??"")},zIndexOnFocus:!0,additionalLabelInfo:i.vendorDetails.vendorCategoryAdditionText}),o.jsx(z,{isLoading:!1,label:{label:i.vendorDetails.vendorClass,width:C},zIndexOnFocus:!0,groupedSingleSelectField:{shouldShowChevronIcon:!1,name:L(h,"vendorClass"),placeholder:i.placeholders.class,valueToInfo:v=>(p=>O.filter(n=>n.classId===p)[0]?.accountingClassNumber??"")(v),defaultValue:{selectedOption:g,allOptions:M(b)},registerOptions:{required:!1},style:{width:"auto"}},additionalLabelInfo:i.vendorDetails.vendorClassAdditionText,style:{borderBottom:`1px solid ${y.colors.grey3}`},isDisabled:c}),$!=null?o.jsx(Y,{label:{label:i.vendorDetails.vendorOwner,width:C},userSingleSelectField:{name:L(h,"vendorOwner"),placeholder:i.placeholders.owner,defaultValue:{allOptions:F($),selectedOption:d},registerOptions:{required:!1},style:{width:"auto"},menuPlacement:"top"},isDisabled:c,style:{justifyContent:"space-between"},controlWidth:S}):null]})]})},ae=l.div`
1
+ import{e as A,O as k,V as o,L as q,b as I,a9 as R,o as t,x as m,a8 as W,d as _,cu as G,T as K,c8 as U,A as J,m as a,gD as M,gE as B,gF as F,y as Q,cd as X,ga as z,gG as Y,ar as Z,gK as ee,gL as oe}from"./index-Djco7rZW.js";import{a as j}from"./sentry-CEBEW6Zv.js";import{n as l}from"./mui-Xyv5fYYp.js";import"./pdf-BCMUg4JF.js";import"./zeni-epic-state-Ddwqsd5-.js";import"./core-Cd4LmmhG.js";import"./lottie-D3b06MuY.js";import"./liveblocks-IsOzz8u-.js";import"./recharts-CwRU7bDL.js";import"./dnd-CAuW2Onh.js";import"./analytics-CxExYOQN.js";import"./plaid-C49TlIE8.js";import"./utils-PmQt3_O8.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]="b47e9681-e0b8-4b96-a348-63c4709d0ddf",e._sentryDebugIdIdentifier="sentry-dbid-b47e9681-e0b8-4b96-a348-63c4709d0ddf")}catch{}})();const L=(e,r)=>`${e}.${r}`,N={labelWidth:new m(120,145,160),controlWidth:new m(110,145,160)},i=k.getLocalizedStrings().transactionDetail.vendorDetails.vendorCreation,te=({selectedAccountId:e,isSaveError:r,selectedClassId:g,selectedOwnerId:d,selectedVendorName:w,allAccounts:u,allClasses:O,allOwners:$,sectionId:h,isDisabled:c,accountsHierarchyList:x,classHierarchyList:b})=>{const s=A(),y=Q(),C=N.labelWidth.value(s),S=N.controlWidth.value(s);return o.jsxs(ae,{"data-testid":I("vendor-details-section",h),children:[o.jsx(ne,{children:i.vendorDetails.title}),o.jsxs(re,{children:[o.jsx(X,{label:{label:i.vendorDetails.vendorName,width:C},text:{type:"text",name:L(h,"vendorName"),placeholder:i.placeholders.vendor,defaultValue:w,autoComplete:"off",options:{required:!0}},isSaveError:r,showAdditionalInfoLabel:!1,additionalInfoLabel:i.vendorAlreadyExistsErrorMsg,style:{width:"auto"}}),o.jsx(se,{}),o.jsx(z,{isLoading:!1,label:{label:i.vendorDetails.vendorCategory,width:C},groupedSingleSelectField:{shouldShowChevronIcon:!1,name:L(h,"vendorCategory"),placeholder:i.placeholders.category,valueToInfo:v=>(p=>u.filter(n=>n.accountId===p)[0]?.coaId??"")(v),defaultValue:{selectedOption:e,allOptions:B(x)},style:{width:"auto"},registerOptions:{required:!1}},style:{borderBottom:`1px solid ${y.colors.grey3}`},isDisabled:c,disableCurrentOption:v=>{const p=u.find(n=>n.accountId===v)?.accountName;return[ee,oe].includes(p??"")},zIndexOnFocus:!0,additionalLabelInfo:i.vendorDetails.vendorCategoryAdditionText}),o.jsx(z,{isLoading:!1,label:{label:i.vendorDetails.vendorClass,width:C},zIndexOnFocus:!0,groupedSingleSelectField:{shouldShowChevronIcon:!1,name:L(h,"vendorClass"),placeholder:i.placeholders.class,valueToInfo:v=>(p=>O.filter(n=>n.classId===p)[0]?.accountingClassNumber??"")(v),defaultValue:{selectedOption:g,allOptions:M(b)},registerOptions:{required:!1},style:{width:"auto"}},additionalLabelInfo:i.vendorDetails.vendorClassAdditionText,style:{borderBottom:`1px solid ${y.colors.grey3}`},isDisabled:c}),$!=null?o.jsx(Y,{label:{label:i.vendorDetails.vendorOwner,width:C},userSingleSelectField:{name:L(h,"vendorOwner"),placeholder:i.placeholders.owner,defaultValue:{allOptions:F($),selectedOption:d},registerOptions:{required:!1},style:{width:"auto"},menuPlacement:"top"},isDisabled:c,style:{justifyContent:"space-between"},controlWidth:S}):null]})]})},ae=l.div`
2
2
  display: flex;
3
3
  flex-direction: column;
4
4
  padding-top: ${t.sp3};
@@ -1,4 +1,4 @@
1
- import{V as t,e as fe,b as A,gT as st,a5 as N,a as Pe,h2 as lt,L as Ge,a9 as De,o as a,O as I,x as c,a8 as qe,n as ct,at as dt,D as ft,c2 as ye,C as Te,l as ue,a7 as ce,T as Je,c8 as ut,ag as pt,a6 as mt,f as G,A as Ue,f6 as Le,f7 as je,fD as ht,bo as Ce,h3 as gt,m as i,eT as wt,bH as He,bv as xt,ex as $t,b6 as bt,H as Ze,fj as Dt,bj as yt,bx as Ke,gk as Tt,gl as Ct}from"./index-CAltUZe8.js";import{a as f}from"./sentry-DQeYyYXx.js";import{n}from"./mui-CMSRVFAm.js";import{u as St}from"./plaid-BfI3x5Cu.js";import{bG as vt}from"./zeni-epic-state-CHpO1ZKT.js";import{v as kt}from"./ZeniTransferAmountSlider-BcaZZuAw-9zrzQe1V.js";import{m as At}from"./BusyIndication-9zDqSKBP-C1ZL_6Kc.js";import{r as Pt}from"./AccountInfoPageContent-CJ7ycVIK-DTztMN2V.js";import"./pdf-Be2WBqYM.js";import"./core-D9P6lLF-.js";import"./lottie-BEhoArVd.js";import"./liveblocks-DxIK6Zp5.js";import"./recharts-gT6BOz1b.js";import"./dnd-nSkfhkrX.js";import"./analytics-B2Q_uKwH.js";import"./utils-BAO5KfNy.js";import"./downloadPdf-Dsuxeias-DgqgIEmy.js";import"./commonDimensions-Oz1tdAcx-6qsjkus3.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]="caf6a274-436b-48cc-9426-84ed2ea799ae",e._sentryDebugIdIdentifier="sentry-dbid-caf6a274-436b-48cc-9426-84ed2ea799ae")}catch{}})();const{common:de,spendManagement:{zeniAccounts:{zeniAccountList:D}}}=I.getLocalizedStrings(),Qe="amount",ze="transferFrom",k="transferDetails",et="transferDetailPage",xe=(e,r)=>`${e}.${r}`,tt=e=>`${e}_form`,u={largeLabelWidth:new c(120,120,160),rowContentPaddingLeft:new c(i[3],i[4]),labeleMarginLeft:new c(i[0],i[0]),labelMarginRight:new c(i[3],i[3]),labeleMarginBottom:new c(i[2],i[0]),labeledFieldPaddingLeft:new c(i[3],i[0]),labeledFieldPaddingRight:new c(i[3],i[2]),labeledFieldPaddingTop:new c(i[3],i[3]),labeledFieldPaddingBottom:new c(i[3],i[2]),infoLabelPaddingRight:new c(i[0],i[3]),infoLabelMarginTop:new c(i[1],i[0]),controllerWrapperFlex:new c(1,i[0])};function Lt({plaidConnectionDetails:e,transferDetails:r,zeniAccountsConfigDetail:h,isCalculatorOpen:$,showAnnualYieldEarned:y,transferAmount:w,yieldEarned:d,totalBalance:p,maxInsuredAmount:l,setIsCalculatorOpen:T,setShowAnnualYieldEarned:C,setTransferAmount:S,setYieldEarned:B,setTotalBalance:F,onSaveChangesToLocalStore:q,onBackClick:M,onEstablishConnectionClick:R,fireTrackTransferBetweenAccountsFormClicked:O,onFetchLinkTokenClick:J,onReviewClick:U}){const o=fe(),E=u.largeLabelWidth.value(o),[_,j]=f.useState(!1),m=e.link_account_no_microdeposit,[v,W]=f.useState(m.linkToken??null),[x,z]=f.useState(!1),[V,ie]=f.useState(!1),H=r.transferMoneyPartiesFetchState,Z=ce(H),K=r.transferDetailLocalData.transferFrom?.id,Q=r.transferDetailLocalData.transferTo?.id,Se=ce(K),ve=ce(Q),pe=r.transferMoneyParties.map(s=>s.id),me=ce(pe),at=f.useCallback(s=>{R?.(s),M(),ie(!1),z(!1)},[M,R]),nt=f.useCallback((s,g)=>{s!=null&&console.log("Plaid Connection Error",s,g)},[]),{open:Y,ready:ee}=St({token:v,onSuccess:at,onExit:nt}),oe=f.useCallback(s=>{s.preventDefault(),s.stopPropagation(),ee?Y():z(!0)},[Y,ee]),P=Je({mode:"all",reValidateMode:"onBlur",defaultValues:f.useMemo(()=>Be(r,oe),[r])});f.useEffect(()=>{m.fetchStatus.fetchState==="Completed"&&m.linkToken!=null&&m.linkToken!==v&&W(m.linkToken)},[m.fetchStatus.fetchState,m.linkToken,v]),f.useEffect(()=>{m.linkToken===v&&m.fetchStatus.fetchState==="Completed"&&ee&&ie(!0)},[ee,v,m.fetchStatus,m.linkToken,m.fetchStatus.fetchState]),f.useEffect(()=>{V&&x&&Y()},[V,Y,x]),f.useEffect(()=>{(vt(new Date().toISOString()).isAfter(m.expiration)||m.linkToken==null)&&J?.("link_account_no_microdeposit")},[]),f.useEffect(()=>{const s=me!=null&&JSON.stringify(me)!==JSON.stringify(pe);(Z==="In-Progress"&&H==="Completed"||Se!==K||ve!==Q||s)&&P.reset(Be(r,()=>Y()))},[ee,v,m.fetchStatus.fetchState,Z,H,Se,ve,Q,K,me,pe,P,r,Y]);const{isValid:rt}=P.formState;f.useEffect(()=>{const s=P.watch((g,{name:se})=>{if(se!=null&&g!=null){const le=g[k]?.amount??0,he=g[k]?.transferFrom,te=g[k]?.transferTo,ge=r.transferMoneyParties.find(we=>we.id===he?.selectedOption),ae=r.transferMoneyParties.find(we=>we.id===te?.selectedOption);ge?.accType==="paymentAccount"&&ae?.accType==="depositAccount"&&le!==0?(T(!0),C(!0)):C(!1),S(le)}});return()=>{s.unsubscribe()}},[P,r.transferMoneyParties]),f.useEffect(()=>{const s=P.watch((g,{name:se})=>{se!=null&&g!=null&&ut(()=>(async(le,he)=>{if(le!=null){const te={...he},ge={amount:{amount:te[k].amount??0,currencyCode:"USD",currencySymbol:"$"},transferFrom:r.transferMoneyParties.find(ae=>ae.id===te[k].transferFrom.selectedOption),transferTo:r.transferMoneyParties.find(ae=>ae.id===te[k].transferTo.selectedOption)};q(ge)}})(se,g))});return()=>{s.unsubscribe()}}),f.useEffect(()=>{r.reviewTransferDetail.error!=null?j(!0):j(!1)},[r.reviewTransferDetail.error]);const it=P.handleSubmit(()=>{rt&&(O("Review","Amount Details"),U())});f.useEffect(()=>{r.transferDetailLocalData.transferTo?.accType==="depositAccount"&&r.transferDetailLocalData.transferTo.accountBalance?.available?.amount===0&&r.transferDetailLocalData.transferFrom?.id==null&&P.setValue(`${k}.${ze}`,{selectedOption:r.primaryPaymentAccount?.paymentAccountId,allOptions:ne(r,!0,oe,!0,!0)})},[r.transferDetailLocalData.transferTo?.id]);const ke=h.zeniAccountsConfigDetail.depositProductConfig.depositProducts,Ae=ke[ke.length-1].annualPercentageYield.toString(),ot=pt(mt(l),l,de.currency.currencySymbol).toUpperCase();return t.jsx(t.Fragment,{children:m.fetchStatus.fetchState==="Completed"?t.jsxs(t.Fragment,{children:[_?t.jsx(zt,{children:t.jsxs(Ft,{children:[t.jsxs(Mt,{children:[t.jsx(It,{}),t.jsxs(Rt,{children:[t.jsx(Ot,{children:r.reviewTransferDetail.error?.title}),t.jsx(_t,{children:r.reviewTransferDetail.error?.message})]})]}),t.jsx(Et,{children:t.jsx(ta,{"data-testid":A("amount-details-error-close"),onClick:()=>{O("Cross","Amount Details"),j(!1)},style:{width:a.sp3,height:a.sp3,color:G.heroLight}})})]})}):null,t.jsx(Wt,{children:N("0,0.[00]",r.transferDetailLocalData.amount)}),t.jsx(Ue,{...P,children:t.jsxs(Bt,{id:tt(et),onSubmit:it,children:[t.jsxs(Qt,{children:[t.jsx(Oe,{size:o,children:t.jsx(Fe,{label:{label:de.labels.transferFrom,width:E,style:{marginLeft:u.labeleMarginLeft.valuePx(o),marginBottom:u.labeleMarginBottom.valuePx(o),marginRight:u.labelMarginRight.valuePx(o)}},errorInfoLabel:D.transferDrawer.transferFromError,style:{paddingTop:u.labeledFieldPaddingTop.valuePx(o),paddingBottom:u.labeledFieldPaddingBottom.valuePx(o),paddingLeft:u.labeledFieldPaddingLeft.valuePx(o),paddingRight:u.labeledFieldPaddingRight.valuePx(o),border:"none",width:"100%",outline:"none",padding:0,display:o==="small"?"flex":"inherit"},infoLabelStyle:{textAlign:o==="small"?"left":"right",paddingRight:u.infoLabelPaddingRight.valuePx(o),marginTop:u.infoLabelMarginTop.valuePx(o)},singleSelectPickerField:{name:xe(k,ze),placeholder:D.transferDrawer.transferFromPlaceholder,style:{position:"relative"},capitalizeOptions:!0,valueToLogo:(s,g)=>je(r.transferMoneyParties,s,g),valueToSubLabels:(s,g)=>Le(r.transferMoneyParties,s,g,!1),defaultValue:{selectedOption:r.transferDetailLocalData.transferFrom?.id,allOptions:ne(r,!0,oe,!0,!0)},textAlignment:"right",registerOptions:{required:!0,validate:s=>s!=null&&!!s.selectedOption}}})}),t.jsx(Re,{}),t.jsx(Oe,{size:o,children:t.jsx(ea,{size:o,children:t.jsx(Fe,{label:{label:de.labels.transferTo,width:E,style:{marginLeft:u.labeleMarginLeft.valuePx(o),marginBottom:u.labeleMarginBottom.valuePx(o),marginRight:u.labelMarginRight.valuePx(o)}},errorInfoLabel:D.transferDrawer.transferToError,style:{paddingTop:u.labeledFieldPaddingTop.valuePx(o),paddingBottom:u.labeledFieldPaddingBottom.valuePx(o),paddingLeft:u.labeledFieldPaddingLeft.valuePx(o),paddingRight:u.labeledFieldPaddingRight.valuePx(o),border:"none",width:"100%",outline:"none",padding:0,display:o==="small"?"flex":"inherit"},infoLabelStyle:{textAlign:o==="small"?"left":"right",paddingRight:u.infoLabelPaddingRight.valuePx(o),marginTop:u.infoLabelMarginTop.valuePx(o)},singleSelectPickerField:{name:xe(k,"transferTo"),placeholder:D.transferDrawer.transferToPlaceholder,capitalizeOptions:!0,style:{position:"relative"},valueToLogo:(s,g)=>je(r.transferMoneyParties,s,g),valueToSubLabels:(s,g)=>Le(r.transferMoneyParties,s,g,!1),defaultValue:{selectedOption:r.transferDetailLocalData.transferTo?.id,allOptions:ne(r,!1,oe)},textAlignment:"right",registerOptions:{required:!0,validate:s=>s!=null&&!!s.selectedOption}}})})}),t.jsx(Re,{}),t.jsx(ht,{showAdditionalInfoLabel:!1,label:{label:de.labels.amount,width:E},additionalInfoLabel:D.transferDrawer.amountError,formattedTextField:{type:"number",name:xe(k,Qe),defaultValue:r.transferDetailLocalData.amount.amount===0?void 0:r.transferDetailLocalData.amount.amount,placeholder:D.transferDrawer.amountPlaceholder,returnValueType:"floatValue",prefix:"$",allowNegative:!1,isNumericString:!1,registerOptions:{required:!0,validate:s=>!!s&&s>0},autoComplete:"off",decimalSeparator:".",decimalScale:2,fixedDecimalScale:!1,thousandSeparator:!0,allowLeadingZeros:!1},style:{width:"auto"}})]}),t.jsxs(Xt,{children:[$?t.jsxs(Vt,{children:[t.jsx(Yt,{children:D.transferDrawer.calculator.heading.replace("__rate__",Ae).replace("__amount__",ot)}),t.jsx(kt,{minStep:.01,currentAccountBalance:r.transferDetailLocalData.transferTo?.accountBalance?.available?.amount??0,transferAmount:w,zeniAccountsConfigDetail:h,setYieldEarned:B,setTotalBalance:F})]}):null,t.jsxs(Gt,{windowSize:o,children:[t.jsx(Ut,{windowSize:o,children:y?t.jsxs(t.Fragment,{children:[t.jsxs(qt,{children:[t.jsx(Me,{children:`${D.transferDrawer.calculator.footerText.annualYieldEarned} ${N("0,0",{amount:d,currencySymbol:"$"})}`}),t.jsx(Ce,{variant:"small-description",display:"flex",data:D.transferDrawer.calculator.footerText.annualYieldEarnedTooltipText,placement:o==="small"?"bottom":"right",children:t.jsx(Nt,{})})]}),t.jsx(Jt,{windowSize:o}),t.jsx(Ht,{children:`${D.transferDrawer.calculator.footerText.forTotalBalance} ${N("0,0",{amount:p,currencySymbol:"$"})}`})]}):t.jsx(Me,{children:D.transferDrawer.calculator.footerText.earnUptoText.replace("__rate__",Ae)})}),$?t.jsxs(Ie,{windowSize:o,onClick:()=>T(!1),"data-testid":A("calculator-footer-close"),children:[t.jsx(Ee,{className:"calculatorFooterLeftText",children:D.transferDrawer.calculator.footerText.hide}),t.jsx(Zt,{className:"calculatorFooterArrowIcon"})]}):t.jsxs(Ie,{windowSize:o,onClick:()=>T(!0),"data-testid":A("calculator-footer-show"),children:[t.jsx(Ee,{className:"calculatorFooterLeftText",children:D.transferDrawer.calculator.footerText.showYieldCalculator}),t.jsx(Kt,{className:"calculatorFooterArrowIcon"})]})]})]})]})})]}):t.jsx(Ge,{size:"Standard",start:!0,style:{display:"flex",justifyContent:"center",alignItems:"center",height:"calc(100vh - 500px)"}})})}const ne=(e,r,h,$=!1,y=!1)=>{const w=e.transferMoneyParties.map(d=>{const p={label:d.label,value:d.id};return $&&(p.isDisabled=r?d.id===e?.transferDetailLocalData?.transferTo?.id||d.accType==="paymentAccount"&&e.transferDetailLocalData.transferTo?.accType==="paymentAccount":d.id===e.transferDetailLocalData.transferFrom?.id||d.accType==="paymentAccount"&&e.transferDetailLocalData.transferFrom?.accType==="paymentAccount"),p});if(y){const d={label:D.transferDrawer.selectAddAccount,value:"",type:"button",onClick:h};w.push(d)}return w},Be=(e,r)=>({transferDetails:{[Qe]:e.transferDetailLocalData.amount.amount===0?void 0:e.transferDetailLocalData.amount.amount,transferFrom:{allOptions:ne(e,!0,r,!0,!0),selectedOption:e.transferDetailLocalData.transferFrom?.id!=null?e.transferDetailLocalData.transferFrom?.id:jt(e)},transferTo:{allOptions:ne(e,!1,r,!0,!1),selectedOption:e.transferDetailLocalData.transferTo?.id}}}),jt=e=>e.transferDetailLocalData.transferTo?.accType==="depositAccount"&&e.transferDetailLocalData.transferTo?.accountBalance?.available?.amount===0?e.primaryPaymentAccount?.paymentAccountId:void 0,zt=n.div`
1
+ import{V as t,e as fe,b as A,gT as st,a5 as N,a as Pe,h2 as lt,L as Ge,a9 as De,o as a,O as I,x as c,a8 as qe,n as ct,at as dt,D as ft,c2 as ye,C as Te,l as ue,a7 as ce,T as Je,c8 as ut,ag as pt,a6 as mt,f as G,A as Ue,f6 as Le,f7 as je,fD as ht,bo as Ce,h3 as gt,m as i,eT as wt,bH as He,bv as xt,ex as $t,b6 as bt,H as Ze,fj as Dt,bj as yt,bx as Ke,gk as Tt,gl as Ct}from"./index-Djco7rZW.js";import{a as f}from"./sentry-CEBEW6Zv.js";import{n}from"./mui-Xyv5fYYp.js";import{u as St}from"./plaid-C49TlIE8.js";import{bG as vt}from"./zeni-epic-state-Ddwqsd5-.js";import{v as kt}from"./ZeniTransferAmountSlider-BcaZZuAw-CumWTq_t.js";import{m as At}from"./BusyIndication-9zDqSKBP-9t4cVWUp.js";import{r as Pt}from"./AccountInfoPageContent-CJ7ycVIK-CKUMLopI.js";import"./pdf-BCMUg4JF.js";import"./core-Cd4LmmhG.js";import"./lottie-D3b06MuY.js";import"./liveblocks-IsOzz8u-.js";import"./recharts-CwRU7bDL.js";import"./dnd-CAuW2Onh.js";import"./analytics-CxExYOQN.js";import"./utils-PmQt3_O8.js";import"./downloadPdf-Dsuxeias-L1V5Ax68.js";import"./commonDimensions-Oz1tdAcx-D3vjaJvc.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]="caf6a274-436b-48cc-9426-84ed2ea799ae",e._sentryDebugIdIdentifier="sentry-dbid-caf6a274-436b-48cc-9426-84ed2ea799ae")}catch{}})();const{common:de,spendManagement:{zeniAccounts:{zeniAccountList:D}}}=I.getLocalizedStrings(),Qe="amount",ze="transferFrom",k="transferDetails",et="transferDetailPage",xe=(e,r)=>`${e}.${r}`,tt=e=>`${e}_form`,u={largeLabelWidth:new c(120,120,160),rowContentPaddingLeft:new c(i[3],i[4]),labeleMarginLeft:new c(i[0],i[0]),labelMarginRight:new c(i[3],i[3]),labeleMarginBottom:new c(i[2],i[0]),labeledFieldPaddingLeft:new c(i[3],i[0]),labeledFieldPaddingRight:new c(i[3],i[2]),labeledFieldPaddingTop:new c(i[3],i[3]),labeledFieldPaddingBottom:new c(i[3],i[2]),infoLabelPaddingRight:new c(i[0],i[3]),infoLabelMarginTop:new c(i[1],i[0]),controllerWrapperFlex:new c(1,i[0])};function Lt({plaidConnectionDetails:e,transferDetails:r,zeniAccountsConfigDetail:h,isCalculatorOpen:$,showAnnualYieldEarned:y,transferAmount:w,yieldEarned:d,totalBalance:p,maxInsuredAmount:l,setIsCalculatorOpen:T,setShowAnnualYieldEarned:C,setTransferAmount:S,setYieldEarned:B,setTotalBalance:F,onSaveChangesToLocalStore:q,onBackClick:M,onEstablishConnectionClick:R,fireTrackTransferBetweenAccountsFormClicked:O,onFetchLinkTokenClick:J,onReviewClick:U}){const o=fe(),E=u.largeLabelWidth.value(o),[_,j]=f.useState(!1),m=e.link_account_no_microdeposit,[v,W]=f.useState(m.linkToken??null),[x,z]=f.useState(!1),[V,ie]=f.useState(!1),H=r.transferMoneyPartiesFetchState,Z=ce(H),K=r.transferDetailLocalData.transferFrom?.id,Q=r.transferDetailLocalData.transferTo?.id,Se=ce(K),ve=ce(Q),pe=r.transferMoneyParties.map(s=>s.id),me=ce(pe),at=f.useCallback(s=>{R?.(s),M(),ie(!1),z(!1)},[M,R]),nt=f.useCallback((s,g)=>{s!=null&&console.log("Plaid Connection Error",s,g)},[]),{open:Y,ready:ee}=St({token:v,onSuccess:at,onExit:nt}),oe=f.useCallback(s=>{s.preventDefault(),s.stopPropagation(),ee?Y():z(!0)},[Y,ee]),P=Je({mode:"all",reValidateMode:"onBlur",defaultValues:f.useMemo(()=>Be(r,oe),[r])});f.useEffect(()=>{m.fetchStatus.fetchState==="Completed"&&m.linkToken!=null&&m.linkToken!==v&&W(m.linkToken)},[m.fetchStatus.fetchState,m.linkToken,v]),f.useEffect(()=>{m.linkToken===v&&m.fetchStatus.fetchState==="Completed"&&ee&&ie(!0)},[ee,v,m.fetchStatus,m.linkToken,m.fetchStatus.fetchState]),f.useEffect(()=>{V&&x&&Y()},[V,Y,x]),f.useEffect(()=>{(vt(new Date().toISOString()).isAfter(m.expiration)||m.linkToken==null)&&J?.("link_account_no_microdeposit")},[]),f.useEffect(()=>{const s=me!=null&&JSON.stringify(me)!==JSON.stringify(pe);(Z==="In-Progress"&&H==="Completed"||Se!==K||ve!==Q||s)&&P.reset(Be(r,()=>Y()))},[ee,v,m.fetchStatus.fetchState,Z,H,Se,ve,Q,K,me,pe,P,r,Y]);const{isValid:rt}=P.formState;f.useEffect(()=>{const s=P.watch((g,{name:se})=>{if(se!=null&&g!=null){const le=g[k]?.amount??0,he=g[k]?.transferFrom,te=g[k]?.transferTo,ge=r.transferMoneyParties.find(we=>we.id===he?.selectedOption),ae=r.transferMoneyParties.find(we=>we.id===te?.selectedOption);ge?.accType==="paymentAccount"&&ae?.accType==="depositAccount"&&le!==0?(T(!0),C(!0)):C(!1),S(le)}});return()=>{s.unsubscribe()}},[P,r.transferMoneyParties]),f.useEffect(()=>{const s=P.watch((g,{name:se})=>{se!=null&&g!=null&&ut(()=>(async(le,he)=>{if(le!=null){const te={...he},ge={amount:{amount:te[k].amount??0,currencyCode:"USD",currencySymbol:"$"},transferFrom:r.transferMoneyParties.find(ae=>ae.id===te[k].transferFrom.selectedOption),transferTo:r.transferMoneyParties.find(ae=>ae.id===te[k].transferTo.selectedOption)};q(ge)}})(se,g))});return()=>{s.unsubscribe()}}),f.useEffect(()=>{r.reviewTransferDetail.error!=null?j(!0):j(!1)},[r.reviewTransferDetail.error]);const it=P.handleSubmit(()=>{rt&&(O("Review","Amount Details"),U())});f.useEffect(()=>{r.transferDetailLocalData.transferTo?.accType==="depositAccount"&&r.transferDetailLocalData.transferTo.accountBalance?.available?.amount===0&&r.transferDetailLocalData.transferFrom?.id==null&&P.setValue(`${k}.${ze}`,{selectedOption:r.primaryPaymentAccount?.paymentAccountId,allOptions:ne(r,!0,oe,!0,!0)})},[r.transferDetailLocalData.transferTo?.id]);const ke=h.zeniAccountsConfigDetail.depositProductConfig.depositProducts,Ae=ke[ke.length-1].annualPercentageYield.toString(),ot=pt(mt(l),l,de.currency.currencySymbol).toUpperCase();return t.jsx(t.Fragment,{children:m.fetchStatus.fetchState==="Completed"?t.jsxs(t.Fragment,{children:[_?t.jsx(zt,{children:t.jsxs(Ft,{children:[t.jsxs(Mt,{children:[t.jsx(It,{}),t.jsxs(Rt,{children:[t.jsx(Ot,{children:r.reviewTransferDetail.error?.title}),t.jsx(_t,{children:r.reviewTransferDetail.error?.message})]})]}),t.jsx(Et,{children:t.jsx(ta,{"data-testid":A("amount-details-error-close"),onClick:()=>{O("Cross","Amount Details"),j(!1)},style:{width:a.sp3,height:a.sp3,color:G.heroLight}})})]})}):null,t.jsx(Wt,{children:N("0,0.[00]",r.transferDetailLocalData.amount)}),t.jsx(Ue,{...P,children:t.jsxs(Bt,{id:tt(et),onSubmit:it,children:[t.jsxs(Qt,{children:[t.jsx(Oe,{size:o,children:t.jsx(Fe,{label:{label:de.labels.transferFrom,width:E,style:{marginLeft:u.labeleMarginLeft.valuePx(o),marginBottom:u.labeleMarginBottom.valuePx(o),marginRight:u.labelMarginRight.valuePx(o)}},errorInfoLabel:D.transferDrawer.transferFromError,style:{paddingTop:u.labeledFieldPaddingTop.valuePx(o),paddingBottom:u.labeledFieldPaddingBottom.valuePx(o),paddingLeft:u.labeledFieldPaddingLeft.valuePx(o),paddingRight:u.labeledFieldPaddingRight.valuePx(o),border:"none",width:"100%",outline:"none",padding:0,display:o==="small"?"flex":"inherit"},infoLabelStyle:{textAlign:o==="small"?"left":"right",paddingRight:u.infoLabelPaddingRight.valuePx(o),marginTop:u.infoLabelMarginTop.valuePx(o)},singleSelectPickerField:{name:xe(k,ze),placeholder:D.transferDrawer.transferFromPlaceholder,style:{position:"relative"},capitalizeOptions:!0,valueToLogo:(s,g)=>je(r.transferMoneyParties,s,g),valueToSubLabels:(s,g)=>Le(r.transferMoneyParties,s,g,!1),defaultValue:{selectedOption:r.transferDetailLocalData.transferFrom?.id,allOptions:ne(r,!0,oe,!0,!0)},textAlignment:"right",registerOptions:{required:!0,validate:s=>s!=null&&!!s.selectedOption}}})}),t.jsx(Re,{}),t.jsx(Oe,{size:o,children:t.jsx(ea,{size:o,children:t.jsx(Fe,{label:{label:de.labels.transferTo,width:E,style:{marginLeft:u.labeleMarginLeft.valuePx(o),marginBottom:u.labeleMarginBottom.valuePx(o),marginRight:u.labelMarginRight.valuePx(o)}},errorInfoLabel:D.transferDrawer.transferToError,style:{paddingTop:u.labeledFieldPaddingTop.valuePx(o),paddingBottom:u.labeledFieldPaddingBottom.valuePx(o),paddingLeft:u.labeledFieldPaddingLeft.valuePx(o),paddingRight:u.labeledFieldPaddingRight.valuePx(o),border:"none",width:"100%",outline:"none",padding:0,display:o==="small"?"flex":"inherit"},infoLabelStyle:{textAlign:o==="small"?"left":"right",paddingRight:u.infoLabelPaddingRight.valuePx(o),marginTop:u.infoLabelMarginTop.valuePx(o)},singleSelectPickerField:{name:xe(k,"transferTo"),placeholder:D.transferDrawer.transferToPlaceholder,capitalizeOptions:!0,style:{position:"relative"},valueToLogo:(s,g)=>je(r.transferMoneyParties,s,g),valueToSubLabels:(s,g)=>Le(r.transferMoneyParties,s,g,!1),defaultValue:{selectedOption:r.transferDetailLocalData.transferTo?.id,allOptions:ne(r,!1,oe)},textAlignment:"right",registerOptions:{required:!0,validate:s=>s!=null&&!!s.selectedOption}}})})}),t.jsx(Re,{}),t.jsx(ht,{showAdditionalInfoLabel:!1,label:{label:de.labels.amount,width:E},additionalInfoLabel:D.transferDrawer.amountError,formattedTextField:{type:"number",name:xe(k,Qe),defaultValue:r.transferDetailLocalData.amount.amount===0?void 0:r.transferDetailLocalData.amount.amount,placeholder:D.transferDrawer.amountPlaceholder,returnValueType:"floatValue",prefix:"$",allowNegative:!1,isNumericString:!1,registerOptions:{required:!0,validate:s=>!!s&&s>0},autoComplete:"off",decimalSeparator:".",decimalScale:2,fixedDecimalScale:!1,thousandSeparator:!0,allowLeadingZeros:!1},style:{width:"auto"}})]}),t.jsxs(Xt,{children:[$?t.jsxs(Vt,{children:[t.jsx(Yt,{children:D.transferDrawer.calculator.heading.replace("__rate__",Ae).replace("__amount__",ot)}),t.jsx(kt,{minStep:.01,currentAccountBalance:r.transferDetailLocalData.transferTo?.accountBalance?.available?.amount??0,transferAmount:w,zeniAccountsConfigDetail:h,setYieldEarned:B,setTotalBalance:F})]}):null,t.jsxs(Gt,{windowSize:o,children:[t.jsx(Ut,{windowSize:o,children:y?t.jsxs(t.Fragment,{children:[t.jsxs(qt,{children:[t.jsx(Me,{children:`${D.transferDrawer.calculator.footerText.annualYieldEarned} ${N("0,0",{amount:d,currencySymbol:"$"})}`}),t.jsx(Ce,{variant:"small-description",display:"flex",data:D.transferDrawer.calculator.footerText.annualYieldEarnedTooltipText,placement:o==="small"?"bottom":"right",children:t.jsx(Nt,{})})]}),t.jsx(Jt,{windowSize:o}),t.jsx(Ht,{children:`${D.transferDrawer.calculator.footerText.forTotalBalance} ${N("0,0",{amount:p,currencySymbol:"$"})}`})]}):t.jsx(Me,{children:D.transferDrawer.calculator.footerText.earnUptoText.replace("__rate__",Ae)})}),$?t.jsxs(Ie,{windowSize:o,onClick:()=>T(!1),"data-testid":A("calculator-footer-close"),children:[t.jsx(Ee,{className:"calculatorFooterLeftText",children:D.transferDrawer.calculator.footerText.hide}),t.jsx(Zt,{className:"calculatorFooterArrowIcon"})]}):t.jsxs(Ie,{windowSize:o,onClick:()=>T(!0),"data-testid":A("calculator-footer-show"),children:[t.jsx(Ee,{className:"calculatorFooterLeftText",children:D.transferDrawer.calculator.footerText.showYieldCalculator}),t.jsx(Kt,{className:"calculatorFooterArrowIcon"})]})]})]})]})})]}):t.jsx(Ge,{size:"Standard",start:!0,style:{display:"flex",justifyContent:"center",alignItems:"center",height:"calc(100vh - 500px)"}})})}const ne=(e,r,h,$=!1,y=!1)=>{const w=e.transferMoneyParties.map(d=>{const p={label:d.label,value:d.id};return $&&(p.isDisabled=r?d.id===e?.transferDetailLocalData?.transferTo?.id||d.accType==="paymentAccount"&&e.transferDetailLocalData.transferTo?.accType==="paymentAccount":d.id===e.transferDetailLocalData.transferFrom?.id||d.accType==="paymentAccount"&&e.transferDetailLocalData.transferFrom?.accType==="paymentAccount"),p});if(y){const d={label:D.transferDrawer.selectAddAccount,value:"",type:"button",onClick:h};w.push(d)}return w},Be=(e,r)=>({transferDetails:{[Qe]:e.transferDetailLocalData.amount.amount===0?void 0:e.transferDetailLocalData.amount.amount,transferFrom:{allOptions:ne(e,!0,r,!0,!0),selectedOption:e.transferDetailLocalData.transferFrom?.id!=null?e.transferDetailLocalData.transferFrom?.id:jt(e)},transferTo:{allOptions:ne(e,!1,r,!0,!1),selectedOption:e.transferDetailLocalData.transferTo?.id}}}),jt=e=>e.transferDetailLocalData.transferTo?.accType==="depositAccount"&&e.transferDetailLocalData.transferTo?.accountBalance?.available?.amount===0?e.primaryPaymentAccount?.paymentAccountId:void 0,zt=n.div`
2
2
  margin-top: ${a.sp3};
3
3
  display: flex;
4
4
  background-color: ${e=>e.theme.colors.grey5};
@@ -1,4 +1,4 @@
1
- import{_ as te,V as t,fI as qe,e as L,y as A,h as Xe,ba as Qe,fJ as Ze,bF as et,a5 as G,bo as he,a_ as tt,w as de,b as F,L as it,be as ot,o as i,x as w,C as T,O as M,f as b,b6 as nt,eO as oe,d as N,m as p,ao as me,bd as He,ab as Ke,fm as at,aM as rt,a as st,cR as lt,l as B,aj as dt,iA as ct,bf as pt,aB as ht,ef as mt,cz as xt,fj as gt,bV as ut,jq as yt,c$ as ge,H as U,bm as ft,b_ as ue,ib as wt,c1 as $t}from"./index-CAltUZe8.js";import{a as y,b as bt}from"./sentry-DQeYyYXx.js";import{n as o,c as ye}from"./mui-CMSRVFAm.js";import{bG as q,bp as jt}from"./zeni-epic-state-CHpO1ZKT.js";import{s as vt}from"./commonDimensions-Oz1tdAcx-6qsjkus3.js";import{a as St,M as Ye,S as Fe,L as Ct,_ as kt}from"./common-BpxEACHl-D-qMuYEn.js";import{g as fe}from"./BoxItem-Bxa1M4QU-DyrFdjN6.js";import{o as zt}from"./transaction-placeholder-CpOwZAMG-EsW3Q-dq.js";import{y as Tt}from"./MoreMenuButton-BsBKwXvk-DLOnGEff.js";import{o as Pt}from"./money-2cg1MuG4-CTFLBPxC.js";import{o as Dt}from"./shield-DOlUxcFf-CtwAmezy.js";import{R as we,N as $e,X as be,Y as je,O as ve,F as Lt}from"./recharts-gT6BOz1b.js";import"./pdf-Be2WBqYM.js";import"./core-D9P6lLF-.js";import"./lottie-BEhoArVd.js";import"./liveblocks-DxIK6Zp5.js";import"./dnd-nSkfhkrX.js";import"./analytics-B2Q_uKwH.js";import"./plaid-BfI3x5Cu.js";import"./utils-BAO5KfNy.js";import"./calculateSize-B2w5JPEU-BiAuCFz-.js";import"./bank-letter-BOcVjN6J-Dws2Kxmd.js";import"./spend-limit-D6SyboD4-DgU5KXwN.js";import"./dollar-round-D18u7nlm-DJ7jjz8a.js";import"./page-summary-D7_VQHwN-C0Gmkrf2.js";import"./unlock-BPWn2I5L-DrFYUkdQ.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},n=new e.Error().stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="74462b22-1cfe-4805-8cd4-df0e40ea0e3d",e._sentryDebugIdIdentifier="sentry-dbid-74462b22-1cfe-4805-8cd4-df0e40ea0e3d")}catch{}})();const xe=M.getLocalizedStrings().spendManagement.treasury.overviewPage.header,It={key:"description",value:xe.trasnactionTitle,sortOrder:"ascending",width:new w(120,250,400,400,500)},Mt={key:"date",value:xe.paymentDate,sortOrder:"ascending",width:new w(100,120,200,250,300)},Ot={key:"amount",value:xe.amount,sortOrder:"ascending",width:new w(80,100,150,180,200)},ce=()=>[It,Mt,Ot],z={containerPaddingLeft:i.sp4,containerPaddingRight:i.sp4,containerPaddingTop:i.sp3,containerPaddingBottom:i.sp3,headerLastColumnTopPadding:new w(p[0],p[4]),headerLastColumnRightPadding:new w(p[3],p[11]),headerLastColumnBottomPadding:new w(p[0],p[4]),headerLastColumnLeftPadding:new w(p[3],p[11]),headerHeight:new w(Ye,Fe),sortIconSize:new w(p[2],p[2]),headerPaddingTop:new w(p[0],2)},Rt=bt.memo(function({companyNameSticky:e,sortConfig:n,onColumnSortConfigChanged:a}){const s=A(),l=L(),[r,u]=y.useState(ce());y.useEffect(()=>{const d=[...r];for(const h of d)h.key===n.sortKey?h.sortOrder=n.sortOrder:h.sortOrder="ascending";u(d)},[n.sortKey,n.sortOrder]);const m=(d,h)=>{let c=h;n.sortKey===d&&(c=h==="ascending"?"descending":"ascending"),a(d,c)},x=r.find(d=>d.key===n.sortKey)??r[0],g=r.map(d=>d.key),f=M.getLocalizedStrings().spendManagement.chargeCard.cardList;return l==="small"?t.jsxs(Nt,{windowSize:l,children:[t.jsxs(Kt,{children:[t.jsx(Ft,{children:t.jsx(Yt,{})}),t.jsx(ft,{title:f.sortBy,placeholder:f.sortBy,pickerValues:g,valueToLabel:d=>r.find(h=>h.key===d)?.value??"",selectedValue:n.sortKey,onPickerSelectionChanged:d=>{m(d,"ascending")},optionTextStyle:de.extraSmallRegular,titleTextStyle:de.extraSmallRegular,titleColor:s.colors.primary,selectedOptionColor:s.colors.hero,optionBackgroundColor:s.colors.grey5,downChevronVisible:!1,backgroundColor:s.colors.grey4})]}),t.jsxs(_t,{onClick:()=>m(x.key,x.sortOrder),"data-testid":F("mobile-cards-list-sort-clicked",n.sortKey),children:[t.jsx(U,{children:x.value}),t.jsx(Se,{windowSize:l,sortDataValue:n.sortKey,headerdata:x,children:t.jsx(Ce,{windowSize:l,isSelected:n.sortKey===x.key,children:t.jsx(ue,{})})})]})]}):t.jsx(At,{windowSize:l,children:t.jsx(Bt,{children:r.map(d=>d.width.value(l)!==0&&t.jsxs(Et,{companyNameSticky:e,sortDataValue:n.sortKey,actualDataValue:d.key,wrapperWidth:d.width,windowSize:l,children:[t.jsxs(Wt,{onClick:()=>m(d.key,d.sortOrder),"data-testid":F("cards-list-sort-clicked",n.sortKey),children:[t.jsx(U,{children:d.value}),t.jsx(Se,{windowSize:l,sortDataValue:n.sortKey,headerdata:d,children:t.jsx(Ce,{windowSize:l,isSelected:n.sortKey===d.key,children:t.jsx(ue,{})})})]}),t.jsx(Vt,{sortDataValue:n.sortKey,windowSize:l,isVisible:n.sortKey===d.key&&d.key!=="date",children:t.jsx(Ht,{onClick:()=>m("date","ascending"),"data-testid":F("cards-list-sort-cancel",n.sortKey)})})]},d.key))})})}),At=o.div`
1
+ import{_ as te,V as t,fI as qe,e as L,y as A,h as Xe,ba as Qe,fJ as Ze,bF as et,a5 as G,bo as he,a_ as tt,w as de,b as F,L as it,be as ot,o as i,x as w,C as T,O as M,f as b,b6 as nt,eO as oe,d as N,m as p,ao as me,bd as He,ab as Ke,fm as at,aM as rt,a as st,cR as lt,l as B,aj as dt,iA as ct,bf as pt,aB as ht,ef as mt,cz as xt,fj as gt,bV as ut,jq as yt,c$ as ge,H as U,bm as ft,b_ as ue,ib as wt,c1 as $t}from"./index-Djco7rZW.js";import{a as y,b as bt}from"./sentry-CEBEW6Zv.js";import{n as o,c as ye}from"./mui-Xyv5fYYp.js";import{bG as q,bp as jt}from"./zeni-epic-state-Ddwqsd5-.js";import{s as vt}from"./commonDimensions-Oz1tdAcx-D3vjaJvc.js";import{a as St,M as Ye,S as Fe,L as Ct,_ as kt}from"./common-BpxEACHl-Buzd-sJA.js";import{g as fe}from"./BoxItem-Bxa1M4QU-Du00vi-o.js";import{o as zt}from"./transaction-placeholder-CpOwZAMG-Cm13WfkG.js";import{y as Tt}from"./MoreMenuButton-BsBKwXvk-DHBQkdln.js";import{o as Pt}from"./money-2cg1MuG4-S7Hyh6G5.js";import{o as Dt}from"./shield-DOlUxcFf-CN5gdmRw.js";import{R as we,N as $e,X as be,Y as je,O as ve,F as Lt}from"./recharts-CwRU7bDL.js";import"./pdf-BCMUg4JF.js";import"./core-Cd4LmmhG.js";import"./lottie-D3b06MuY.js";import"./liveblocks-IsOzz8u-.js";import"./dnd-CAuW2Onh.js";import"./analytics-CxExYOQN.js";import"./plaid-C49TlIE8.js";import"./utils-PmQt3_O8.js";import"./calculateSize-B2w5JPEU-DirCjmcI.js";import"./bank-letter-BOcVjN6J-DG6tnMPR.js";import"./spend-limit-D6SyboD4-Bn5NEHPU.js";import"./dollar-round-D18u7nlm-Bgjzafb1.js";import"./page-summary-D7_VQHwN-CTvBuwro.js";import"./unlock-BPWn2I5L-BsNNzlL3.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},n=new e.Error().stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="74462b22-1cfe-4805-8cd4-df0e40ea0e3d",e._sentryDebugIdIdentifier="sentry-dbid-74462b22-1cfe-4805-8cd4-df0e40ea0e3d")}catch{}})();const xe=M.getLocalizedStrings().spendManagement.treasury.overviewPage.header,It={key:"description",value:xe.trasnactionTitle,sortOrder:"ascending",width:new w(120,250,400,400,500)},Mt={key:"date",value:xe.paymentDate,sortOrder:"ascending",width:new w(100,120,200,250,300)},Ot={key:"amount",value:xe.amount,sortOrder:"ascending",width:new w(80,100,150,180,200)},ce=()=>[It,Mt,Ot],z={containerPaddingLeft:i.sp4,containerPaddingRight:i.sp4,containerPaddingTop:i.sp3,containerPaddingBottom:i.sp3,headerLastColumnTopPadding:new w(p[0],p[4]),headerLastColumnRightPadding:new w(p[3],p[11]),headerLastColumnBottomPadding:new w(p[0],p[4]),headerLastColumnLeftPadding:new w(p[3],p[11]),headerHeight:new w(Ye,Fe),sortIconSize:new w(p[2],p[2]),headerPaddingTop:new w(p[0],2)},Rt=bt.memo(function({companyNameSticky:e,sortConfig:n,onColumnSortConfigChanged:a}){const s=A(),l=L(),[r,u]=y.useState(ce());y.useEffect(()=>{const d=[...r];for(const h of d)h.key===n.sortKey?h.sortOrder=n.sortOrder:h.sortOrder="ascending";u(d)},[n.sortKey,n.sortOrder]);const m=(d,h)=>{let c=h;n.sortKey===d&&(c=h==="ascending"?"descending":"ascending"),a(d,c)},x=r.find(d=>d.key===n.sortKey)??r[0],g=r.map(d=>d.key),f=M.getLocalizedStrings().spendManagement.chargeCard.cardList;return l==="small"?t.jsxs(Nt,{windowSize:l,children:[t.jsxs(Kt,{children:[t.jsx(Ft,{children:t.jsx(Yt,{})}),t.jsx(ft,{title:f.sortBy,placeholder:f.sortBy,pickerValues:g,valueToLabel:d=>r.find(h=>h.key===d)?.value??"",selectedValue:n.sortKey,onPickerSelectionChanged:d=>{m(d,"ascending")},optionTextStyle:de.extraSmallRegular,titleTextStyle:de.extraSmallRegular,titleColor:s.colors.primary,selectedOptionColor:s.colors.hero,optionBackgroundColor:s.colors.grey5,downChevronVisible:!1,backgroundColor:s.colors.grey4})]}),t.jsxs(_t,{onClick:()=>m(x.key,x.sortOrder),"data-testid":F("mobile-cards-list-sort-clicked",n.sortKey),children:[t.jsx(U,{children:x.value}),t.jsx(Se,{windowSize:l,sortDataValue:n.sortKey,headerdata:x,children:t.jsx(Ce,{windowSize:l,isSelected:n.sortKey===x.key,children:t.jsx(ue,{})})})]})]}):t.jsx(At,{windowSize:l,children:t.jsx(Bt,{children:r.map(d=>d.width.value(l)!==0&&t.jsxs(Et,{companyNameSticky:e,sortDataValue:n.sortKey,actualDataValue:d.key,wrapperWidth:d.width,windowSize:l,children:[t.jsxs(Wt,{onClick:()=>m(d.key,d.sortOrder),"data-testid":F("cards-list-sort-clicked",n.sortKey),children:[t.jsx(U,{children:d.value}),t.jsx(Se,{windowSize:l,sortDataValue:n.sortKey,headerdata:d,children:t.jsx(Ce,{windowSize:l,isSelected:n.sortKey===d.key,children:t.jsx(ue,{})})})]}),t.jsx(Vt,{sortDataValue:n.sortKey,windowSize:l,isVisible:n.sortKey===d.key&&d.key!=="date",children:t.jsx(Ht,{onClick:()=>m("date","ascending"),"data-testid":F("cards-list-sort-cancel",n.sortKey)})})]},d.key))})})}),At=o.div`
2
2
  top: ${i.sp0};
3
3
  left: ${i.sp0};
4
4
  z-index: 2;
@@ -1,4 +1,4 @@
1
- import{y as ae,e as G,_ as Ce,h as we,a7 as $e,V as r,a_ as fe,eY as ye,ao as be,o as i,iA as ke,bo as je,C as j,a as K,b as J,O as N,d as f,D as A,f as a,x as z,l as _,cz as Se,bq as ze,n as ve,H as Le,eI as Me,m as h,az as Pe,c2 as Be,a8 as Ee,w as Q,cu as Te}from"./index-CAltUZe8.js";import{a as s,b as Ie}from"./sentry-DQeYyYXx.js";import{n as o}from"./mui-CMSRVFAm.js";import{H6 as De}from"./zeni-epic-state-CHpO1ZKT.js";import{I as We,N as _e}from"./VideoPlayer-VAzOGCDL-C6P1MPmA.js";import{r as He}from"./auto-transfer-rule-mbafm5D3-VBx9t_qo.js";import{t as Re}from"./clock-CJkylEKt-CwvCI5hq.js";import{o as Ge}from"./shield-DOlUxcFf-CtwAmezy.js";import"./pdf-Be2WBqYM.js";import"./core-D9P6lLF-.js";import"./lottie-BEhoArVd.js";import"./liveblocks-DxIK6Zp5.js";import"./recharts-gT6BOz1b.js";import"./dnd-nSkfhkrX.js";import"./analytics-B2Q_uKwH.js";import"./plaid-BfI3x5Cu.js";import"./utils-BAO5KfNy.js";import"./media-player-CsDObYZE.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},g=new e.Error().stack;g&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[g]="46709a0c-68b7-4e4b-8508-661979fca2bd",e._sentryDebugIdIdentifier="sentry-dbid-46709a0c-68b7-4e4b-8508-661979fca2bd")}catch{}})();const Ne=({isOpen:e,onClose:g})=>{const d=G(),C=N.getLocalizedStrings().spendManagement.treasury.promoPage;return r.jsx(Me,{anchor:"right",slotProps:{paper:{sx:{width:d==="small"||d==="medium-compact"?"100%":"60%",boxShadow:"none"}}},open:e,onClose:g,style:{backgroundColor:a.drawerBackground},transitionDuration:250,children:r.jsxs(Ae,{windowSize:d,children:[r.jsx(Oe,{children:r.jsx(qe,{onClick:g})}),r.jsxs(Ve,{children:[r.jsx(Fe,{windowSize:d,children:C.agreementDrawer.title}),r.jsx(Z,{children:C.agreementDrawer.intro}),r.jsx(H,{children:C.agreementDrawer.introBullets.map((p,u)=>r.jsx(re,{children:p},u))}),r.jsx(H,{children:C.agreementDrawer.documents.map((p,u)=>r.jsx(Ye,{children:p.hasMultipleLinks===!0&&p.links?r.jsx(Ue,{children:p.links.map((w,k)=>r.jsx(Xe,{children:w.link!==""?r.jsx(ee,{href:w.link,target:"_blank",rel:"noopener noreferrer",children:w.text}):w.text},k))}):r.jsx(ee,{href:p.link,target:"_blank",rel:"noopener noreferrer",children:p.text})},u))}),r.jsx(Z,{style:{marginTop:i.sp2},children:C.agreementDrawer.confirmTitle}),r.jsx(H,{children:C.agreementDrawer.confirmBullets.map((p,u)=>r.jsx(re,{children:p},u))})]})]})})},Ae=o.div`
1
+ import{y as ae,e as G,_ as Ce,h as we,a7 as $e,V as r,a_ as fe,eY as ye,ao as be,o as i,iA as ke,bo as je,C as j,a as K,b as J,O as N,d as f,D as A,f as a,x as z,l as _,cz as Se,bq as ze,n as ve,H as Le,eI as Me,m as h,az as Pe,c2 as Be,a8 as Ee,w as Q,cu as Te}from"./index-Djco7rZW.js";import{a as s,b as Ie}from"./sentry-CEBEW6Zv.js";import{n as o}from"./mui-Xyv5fYYp.js";import{H6 as De}from"./zeni-epic-state-Ddwqsd5-.js";import{I as We,N as _e}from"./VideoPlayer-VAzOGCDL-Gj554Pzr.js";import{r as He}from"./auto-transfer-rule-mbafm5D3-z35I1d4Z.js";import{t as Re}from"./clock-CJkylEKt-DBRbYbDM.js";import{o as Ge}from"./shield-DOlUxcFf-CN5gdmRw.js";import"./pdf-BCMUg4JF.js";import"./core-Cd4LmmhG.js";import"./lottie-D3b06MuY.js";import"./liveblocks-IsOzz8u-.js";import"./recharts-CwRU7bDL.js";import"./dnd-CAuW2Onh.js";import"./analytics-CxExYOQN.js";import"./plaid-C49TlIE8.js";import"./utils-PmQt3_O8.js";import"./media-player-CmMjgVLj.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},g=new e.Error().stack;g&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[g]="46709a0c-68b7-4e4b-8508-661979fca2bd",e._sentryDebugIdIdentifier="sentry-dbid-46709a0c-68b7-4e4b-8508-661979fca2bd")}catch{}})();const Ne=({isOpen:e,onClose:g})=>{const d=G(),C=N.getLocalizedStrings().spendManagement.treasury.promoPage;return r.jsx(Me,{anchor:"right",slotProps:{paper:{sx:{width:d==="small"||d==="medium-compact"?"100%":"60%",boxShadow:"none"}}},open:e,onClose:g,style:{backgroundColor:a.drawerBackground},transitionDuration:250,children:r.jsxs(Ae,{windowSize:d,children:[r.jsx(Oe,{children:r.jsx(qe,{onClick:g})}),r.jsxs(Ve,{children:[r.jsx(Fe,{windowSize:d,children:C.agreementDrawer.title}),r.jsx(Z,{children:C.agreementDrawer.intro}),r.jsx(H,{children:C.agreementDrawer.introBullets.map((p,u)=>r.jsx(re,{children:p},u))}),r.jsx(H,{children:C.agreementDrawer.documents.map((p,u)=>r.jsx(Ye,{children:p.hasMultipleLinks===!0&&p.links?r.jsx(Ue,{children:p.links.map((w,k)=>r.jsx(Xe,{children:w.link!==""?r.jsx(ee,{href:w.link,target:"_blank",rel:"noopener noreferrer",children:w.text}):w.text},k))}):r.jsx(ee,{href:p.link,target:"_blank",rel:"noopener noreferrer",children:p.text})},u))}),r.jsx(Z,{style:{marginTop:i.sp2},children:C.agreementDrawer.confirmTitle}),r.jsx(H,{children:C.agreementDrawer.confirmBullets.map((p,u)=>r.jsx(re,{children:p},u))})]})]})})},Ae=o.div`
2
2
  display: flex;
3
3
  flex-direction: column;
4
4
  width: 100%;
@@ -1,4 +1,4 @@
1
- import{j as e}from"./pdf-Be2WBqYM.js";import{j as L,h as U,i as P,l as R,u as g,N as F,k as O,R as he,m as k}from"./core-D9P6lLF-.js";import{H6 as z,ct as v,Lr as B,zV as ne,cW as W,zD as se,Lt as Se,zY as xe,Lp as Ie,Lq as re,LH as we,y2 as Te,pc as je,Lv as ke,A7 as Ce,Ls as oe,bO as Z,zC as ie,cy as be,cA as Ae,Mz as ve,MA as Ee,zE as De,MB as Fe,zF as Le,zO as Ue,bt as Pe,FX as Be,FY as Me,G5 as Ve,F5 as Re,cV as Oe,F4 as ze,Hb as Ne,Gj as _e}from"./zeni-epic-state-CHpO1ZKT.js";import{_ as N,a7 as Ge,js as A,bk as _,jz as C,L as $,lP as $e,lQ as He,lR as H,e as q,y as K,k2 as We,aE as ce,aG as D,jQ as V,x as Ze,lS as qe,kv as Q,jO as Ke,lT as Qe,jM as Y,lU as Ye,lV as Je,kc as Xe}from"./index-CAltUZe8.js";import{n as M,D as et,S as tt}from"./mui-CMSRVFAm.js";import at from"./NotFoundScreen-CubXCR1V.js";import{S as ee}from"./SetupPagesScreen-KqbTYQgM.js";import{a as u}from"./sentry-DQeYyYXx.js";import{M as le}from"./MobileAppDrawer-C3TNoouV.js";import{F as nt}from"./FeaturePreviewScreen-BrgEnIPS.js";import{a as te}from"./analyticsHelper-eqJrrWmY.js";import"./lottie-BEhoArVd.js";import"./liveblocks-DxIK6Zp5.js";import"./recharts-gT6BOz1b.js";import"./dnd-nSkfhkrX.js";import"./analytics-B2Q_uKwH.js";import"./plaid-BfI3x5Cu.js";import"./utils-BAO5KfNy.js";import"./routePaths-C2kSZwVH.js";import"./BusinessVerificationPageScreen-BQdQDNi4.js";(function(){try{var t=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},a=new t.Error().stack;a&&(t._sentryDebugIds=t._sentryDebugIds||{},t._sentryDebugIds[a]="9c870022-792e-4f67-8d48-514db409eea8",t._sentryDebugIdIdentifier="sentry-dbid-9c870022-792e-4f67-8d48-514db409eea8")}catch{}})();const st=M.div`
1
+ import{j as e}from"./pdf-BCMUg4JF.js";import{j as L,h as U,i as P,l as R,u as g,N as F,k as O,R as he,m as k}from"./core-Cd4LmmhG.js";import{H6 as z,ct as v,Lr as B,zV as ne,cW as W,zD as se,Lt as Se,zY as xe,Lp as Ie,Lq as re,LH as we,y2 as Te,pc as je,Lv as ke,A7 as Ce,Ls as oe,bO as Z,zC as ie,cy as be,cA as Ae,Mz as ve,MA as Ee,zE as De,MB as Fe,zF as Le,zO as Ue,bt as Pe,FX as Be,FY as Me,G5 as Ve,F5 as Re,cV as Oe,F4 as ze,Hb as Ne,Gj as _e}from"./zeni-epic-state-Ddwqsd5-.js";import{_ as N,a7 as Ge,js as A,bk as _,jz as C,L as $,lP as $e,lQ as He,lR as H,e as q,y as K,k2 as We,aE as ce,aG as D,jQ as V,x as Ze,lS as qe,kv as Q,jO as Ke,lT as Qe,jM as Y,lU as Ye,lV as Je,kc as Xe}from"./index-Djco7rZW.js";import{n as M,D as et,S as tt}from"./mui-Xyv5fYYp.js";import at from"./NotFoundScreen-DOVxG4zz.js";import{S as ee}from"./SetupPagesScreen-BqfVkx2P.js";import{a as u}from"./sentry-CEBEW6Zv.js";import{M as le}from"./MobileAppDrawer-CYfAM9Mw.js";import{F as nt}from"./FeaturePreviewScreen-T_BtTTOm.js";import{a as te}from"./analyticsHelper-Bdr21wig.js";import"./lottie-D3b06MuY.js";import"./liveblocks-IsOzz8u-.js";import"./recharts-CwRU7bDL.js";import"./dnd-CAuW2Onh.js";import"./analytics-CxExYOQN.js";import"./plaid-C49TlIE8.js";import"./utils-PmQt3_O8.js";import"./routePaths-BKDf21Fs.js";import"./BusinessVerificationPageScreen-zr101K58.js";(function(){try{var t=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},a=new t.Error().stack;a&&(t._sentryDebugIds=t._sentryDebugIds||{},t._sentryDebugIds[a]="9c870022-792e-4f67-8d48-514db409eea8",t._sentryDebugIdIdentifier="sentry-dbid-9c870022-792e-4f67-8d48-514db409eea8")}catch{}})();const st=M.div`
2
2
  display: flex;
3
3
  width: 100%;
4
4
  height: 100%;
@@ -1,4 +1,4 @@
1
- import{y as v,e as S,V as t,a_ as I,an as z,o as r,O as P,f as m,bV as C,x as T,m as h,l as B}from"./index-CAltUZe8.js";import{a as p}from"./sentry-DQeYyYXx.js";import{n as o}from"./mui-CMSRVFAm.js";import{$ as _}from"./BoxItem-Bxa1M4QU-DyrFdjN6.js";import{o as D}from"./commonDimensions-Oz1tdAcx-6qsjkus3.js";import{O as M}from"./StatementItem-vVtoBN2w-Dv2jVRGi.js";import"./pdf-Be2WBqYM.js";import"./zeni-epic-state-CHpO1ZKT.js";import"./core-D9P6lLF-.js";import"./lottie-BEhoArVd.js";import"./liveblocks-DxIK6Zp5.js";import"./recharts-gT6BOz1b.js";import"./dnd-nSkfhkrX.js";import"./analytics-B2Q_uKwH.js";import"./plaid-BfI3x5Cu.js";import"./utils-BAO5KfNy.js";import"./downloadPdf-Dsuxeias-DgqgIEmy.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},n=new e.Error().stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="624e2652-13ed-4500-a659-4848f6600063",e._sentryDebugIdIdentifier="sentry-dbid-624e2652-13ed-4500-a659-4848f6600063")}catch{}})();const u=P.getLocalizedStrings().spendManagement.treasury.statements,g={listItemMargin:new T(h[3],h[8])},ie=({currentTenantCompanyName:e,authParams:n,downloadEndPoint:c,statementListView:a,onBackClick:f})=>{const w=v(),i=S(),x=p.createRef(),y=p.useRef(),k=a.statements.length===0,$=()=>D.transactionItemHeightResponsive.value(i),j=({index:s,style:l})=>{const d=a.statements[s];return k===!1?t.jsx(b,{windowSize:i,style:{...l,width:`calc(100% - 2*${g.listItemMargin.valuePx(i)})`},children:t.jsx(M,{currentTenantCompanyName:e,accountLast4:"",data:d,authParams:n,downloadEndPoint:c,documentType:"treasuryStatement",boxType:_(s,a.statements.length)},d.id)}):t.jsx(R,{style:{...l},children:t.jsx(E,{children:t.jsx(b,{windowSize:i,children:t.jsx(O,{children:u.noStatements})})})})};return t.jsxs(L,{children:[t.jsx(I,{title:u.title,backgroundColor:w.colors.grey4,style:{zIndex:3},onBackClick:f,source:"treasury"}),t.jsx(V,{windowSize:i,children:t.jsx(z,{children:({height:s,width:l})=>t.jsx(N,{ref:x,height:s,width:l,innerRef:y,itemKey:d=>d,itemCount:a.statements.length,itemSize:$,initialScrollOffset:0,children:j})})})]})},R=o.div``,b=o.div`
1
+ import{y as v,e as S,V as t,a_ as I,an as z,o as r,O as P,f as m,bV as C,x as T,m as h,l as B}from"./index-Djco7rZW.js";import{a as p}from"./sentry-CEBEW6Zv.js";import{n as o}from"./mui-Xyv5fYYp.js";import{$ as _}from"./BoxItem-Bxa1M4QU-Du00vi-o.js";import{o as D}from"./commonDimensions-Oz1tdAcx-D3vjaJvc.js";import{O as M}from"./StatementItem-vVtoBN2w-w_5ZfVLc.js";import"./pdf-BCMUg4JF.js";import"./zeni-epic-state-Ddwqsd5-.js";import"./core-Cd4LmmhG.js";import"./lottie-D3b06MuY.js";import"./liveblocks-IsOzz8u-.js";import"./recharts-CwRU7bDL.js";import"./dnd-CAuW2Onh.js";import"./analytics-CxExYOQN.js";import"./plaid-C49TlIE8.js";import"./utils-PmQt3_O8.js";import"./downloadPdf-Dsuxeias-L1V5Ax68.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},n=new e.Error().stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="624e2652-13ed-4500-a659-4848f6600063",e._sentryDebugIdIdentifier="sentry-dbid-624e2652-13ed-4500-a659-4848f6600063")}catch{}})();const u=P.getLocalizedStrings().spendManagement.treasury.statements,g={listItemMargin:new T(h[3],h[8])},ie=({currentTenantCompanyName:e,authParams:n,downloadEndPoint:c,statementListView:a,onBackClick:f})=>{const w=v(),i=S(),x=p.createRef(),y=p.useRef(),k=a.statements.length===0,$=()=>D.transactionItemHeightResponsive.value(i),j=({index:s,style:l})=>{const d=a.statements[s];return k===!1?t.jsx(b,{windowSize:i,style:{...l,width:`calc(100% - 2*${g.listItemMargin.valuePx(i)})`},children:t.jsx(M,{currentTenantCompanyName:e,accountLast4:"",data:d,authParams:n,downloadEndPoint:c,documentType:"treasuryStatement",boxType:_(s,a.statements.length)},d.id)}):t.jsx(R,{style:{...l},children:t.jsx(E,{children:t.jsx(b,{windowSize:i,children:t.jsx(O,{children:u.noStatements})})})})};return t.jsxs(L,{children:[t.jsx(I,{title:u.title,backgroundColor:w.colors.grey4,style:{zIndex:3},onBackClick:f,source:"treasury"}),t.jsx(V,{windowSize:i,children:t.jsx(z,{children:({height:s,width:l})=>t.jsx(N,{ref:x,height:s,width:l,innerRef:y,itemKey:d=>d,itemCount:a.statements.length,itemSize:$,initialScrollOffset:0,children:j})})})]})},R=o.div``,b=o.div`
2
2
  margin: ${e=>`${r.sp0} ${g.listItemMargin.valuePx(e.windowSize)}`};
3
3
  &:hover {
4
4
  position: relative;
@@ -1,4 +1,4 @@
1
- import{y as v,e as L,V as t,a_ as I,an as S,o as r,O as z,f as h,bV as T,x as C,m as p,l as P}from"./index-CAltUZe8.js";import{a as m}from"./sentry-DQeYyYXx.js";import{n as o}from"./mui-CMSRVFAm.js";import{$ as B}from"./BoxItem-Bxa1M4QU-DyrFdjN6.js";import{o as _}from"./commonDimensions-Oz1tdAcx-6qsjkus3.js";import{O as D}from"./StatementItem-vVtoBN2w-Dv2jVRGi.js";import"./pdf-Be2WBqYM.js";import"./zeni-epic-state-CHpO1ZKT.js";import"./core-D9P6lLF-.js";import"./lottie-BEhoArVd.js";import"./liveblocks-DxIK6Zp5.js";import"./recharts-gT6BOz1b.js";import"./dnd-nSkfhkrX.js";import"./analytics-B2Q_uKwH.js";import"./plaid-BfI3x5Cu.js";import"./utils-BAO5KfNy.js";import"./downloadPdf-Dsuxeias-DgqgIEmy.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},a=new e.Error().stack;a&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[a]="1d57c1e1-2099-433a-8d84-83b49db7b3b4",e._sentryDebugIdIdentifier="sentry-dbid-1d57c1e1-2099-433a-8d84-83b49db7b3b4")}catch{}})();const b=z.getLocalizedStrings().spendManagement.treasury.taxLetter,g={listItemMargin:new C(p[3],p[8])},ie=({currentTenantCompanyName:e,authParams:a,downloadEndPoint:c,taxLetterListView:n,onBackClick:u})=>{const w=v(),i=L(),f=m.createRef(),y=m.useRef(),k=n.taxLetters.length===0,$=()=>_.transactionItemHeightResponsive.value(i),j=({index:s,style:l})=>{const d=n.taxLetters[s];return k===!1?t.jsx(x,{windowSize:i,style:{...l,width:`calc(100% - 2*${g.listItemMargin.valuePx(i)})`},children:t.jsx(D,{currentTenantCompanyName:e,accountLast4:"",data:d,authParams:a,downloadEndPoint:c,documentType:"taxLetter",boxType:B(s,n.taxLetters.length)},d.id)}):t.jsx(M,{style:{...l},children:t.jsx(R,{children:t.jsx(x,{windowSize:i,children:t.jsx(O,{children:b.noTaxLetter})})})})};return t.jsxs(E,{children:[t.jsx(I,{title:b.title,backgroundColor:w.colors.grey4,style:{zIndex:3},onBackClick:u,source:"treasury"}),t.jsx(V,{windowSize:i,children:t.jsx(S,{children:({height:s,width:l})=>t.jsx(N,{ref:f,height:s,width:l,innerRef:y,itemKey:d=>d,itemCount:n.taxLetters.length,itemSize:$,initialScrollOffset:0,children:j})})})]})},M=o.div``,x=o.div`
1
+ import{y as v,e as L,V as t,a_ as I,an as S,o as r,O as z,f as h,bV as T,x as C,m as p,l as P}from"./index-Djco7rZW.js";import{a as m}from"./sentry-CEBEW6Zv.js";import{n as o}from"./mui-Xyv5fYYp.js";import{$ as B}from"./BoxItem-Bxa1M4QU-Du00vi-o.js";import{o as _}from"./commonDimensions-Oz1tdAcx-D3vjaJvc.js";import{O as D}from"./StatementItem-vVtoBN2w-w_5ZfVLc.js";import"./pdf-BCMUg4JF.js";import"./zeni-epic-state-Ddwqsd5-.js";import"./core-Cd4LmmhG.js";import"./lottie-D3b06MuY.js";import"./liveblocks-IsOzz8u-.js";import"./recharts-CwRU7bDL.js";import"./dnd-CAuW2Onh.js";import"./analytics-CxExYOQN.js";import"./plaid-C49TlIE8.js";import"./utils-PmQt3_O8.js";import"./downloadPdf-Dsuxeias-L1V5Ax68.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},a=new e.Error().stack;a&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[a]="1d57c1e1-2099-433a-8d84-83b49db7b3b4",e._sentryDebugIdIdentifier="sentry-dbid-1d57c1e1-2099-433a-8d84-83b49db7b3b4")}catch{}})();const b=z.getLocalizedStrings().spendManagement.treasury.taxLetter,g={listItemMargin:new C(p[3],p[8])},ie=({currentTenantCompanyName:e,authParams:a,downloadEndPoint:c,taxLetterListView:n,onBackClick:u})=>{const w=v(),i=L(),f=m.createRef(),y=m.useRef(),k=n.taxLetters.length===0,$=()=>_.transactionItemHeightResponsive.value(i),j=({index:s,style:l})=>{const d=n.taxLetters[s];return k===!1?t.jsx(x,{windowSize:i,style:{...l,width:`calc(100% - 2*${g.listItemMargin.valuePx(i)})`},children:t.jsx(D,{currentTenantCompanyName:e,accountLast4:"",data:d,authParams:a,downloadEndPoint:c,documentType:"taxLetter",boxType:B(s,n.taxLetters.length)},d.id)}):t.jsx(M,{style:{...l},children:t.jsx(R,{children:t.jsx(x,{windowSize:i,children:t.jsx(O,{children:b.noTaxLetter})})})})};return t.jsxs(E,{children:[t.jsx(I,{title:b.title,backgroundColor:w.colors.grey4,style:{zIndex:3},onBackClick:u,source:"treasury"}),t.jsx(V,{windowSize:i,children:t.jsx(S,{children:({height:s,width:l})=>t.jsx(N,{ref:f,height:s,width:l,innerRef:y,itemKey:d=>d,itemCount:n.taxLetters.length,itemSize:$,initialScrollOffset:0,children:j})})})]})},M=o.div``,x=o.div`
2
2
  margin: ${e=>`${r.sp0} ${g.listItemMargin.valuePx(e.windowSize)}`};
3
3
  &:hover {
4
4
  position: relative;
@@ -1,4 +1,4 @@
1
- import{O as Y,V as s,y as _,an as O,w as $,ag as z,b as k,o as M,f as I,l as P}from"./index-CAltUZe8.js";import{a as w,b as q}from"./sentry-DQeYyYXx.js";import{Fu as h}from"./zeni-epic-state-CHpO1ZKT.js";import{d as B,g as T,p as j,u as K}from"./chartTypes-CD3vrBsI-D1eLb6aA.js";import{n as L}from"./mui-CMSRVFAm.js";import{o as R}from"./toCOABalancesWithID-aLNB35t7-Bbjw8HZY.js";import{V as N}from"./toChartData-DUL6vnzJ-Dwc3foiO.js";import{J as V,E as A,X as G,Y as Q,F as W,Q as J,K as X}from"./recharts-gT6BOz1b.js";import"./pdf-Be2WBqYM.js";import"./core-D9P6lLF-.js";import"./lottie-BEhoArVd.js";import"./liveblocks-DxIK6Zp5.js";import"./dnd-nSkfhkrX.js";import"./analytics-B2Q_uKwH.js";import"./plaid-BfI3x5Cu.js";import"./utils-BAO5KfNy.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]="f7be1499-582c-4aec-aa8d-eb01ab5fdd9d",e._sentryDebugIdIdentifier="sentry-dbid-f7be1499-582c-4aec-aa8d-eb01ab5fdd9d")}catch{}})();const H=L.div`
1
+ import{O as Y,V as s,y as _,an as O,w as $,ag as z,b as k,o as M,f as I,l as P}from"./index-Djco7rZW.js";import{a as w,b as q}from"./sentry-CEBEW6Zv.js";import{Fu as h}from"./zeni-epic-state-Ddwqsd5-.js";import{d as B,g as T,p as j,u as K}from"./chartTypes-CD3vrBsI-BZMuLEVT.js";import{n as L}from"./mui-Xyv5fYYp.js";import{o as R}from"./toCOABalancesWithID-aLNB35t7-D-R0UrAf.js";import{V as N}from"./toChartData-DUL6vnzJ-CB0d1jE1.js";import{J as V,E as A,X as G,Y as Q,F as W,Q as J,K as X}from"./recharts-CwRU7bDL.js";import"./pdf-BCMUg4JF.js";import"./core-Cd4LmmhG.js";import"./lottie-D3b06MuY.js";import"./liveblocks-IsOzz8u-.js";import"./dnd-CAuW2Onh.js";import"./analytics-CxExYOQN.js";import"./plaid-C49TlIE8.js";import"./utils-PmQt3_O8.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]="f7be1499-582c-4aec-aa8d-eb01ab5fdd9d",e._sentryDebugIdIdentifier="sentry-dbid-f7be1499-582c-4aec-aa8d-eb01ab5fdd9d")}catch{}})();const H=L.div`
2
2
  display: flex;
3
3
  `,U=L.div`
4
4
  flex: display;
@@ -1,4 +1,4 @@
1
- import{e as k,V as i,L as b,o as n,O as L,b as $,an as N,x as l,ar as H,c2 as _,m as a,l as B,a8 as V}from"./index-CAltUZe8.js";import{a as R}from"./sentry-DQeYyYXx.js";import{n as r}from"./mui-CMSRVFAm.js";import q from"./TrendChart-Bnp4Pcdf-DAHDBSRg.js";import{C as A}from"./NoDataChart-CrKeqWSr-DJdc5MTN.js";import{F as E}from"./InsightsSection-B6CNlTNH-DV_5z3I5.js";import{D as K}from"./TransactionList-BB-xoIGm-BeosfrmM.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]="6baad395-ade4-4f7e-9521-6117845e8a37",e._sentryDebugIdIdentifier="sentry-dbid-6baad395-ade4-4f7e-9521-6117845e8a37")}catch{}})();const W=r.div`
1
+ import{e as k,V as i,L as b,o as n,O as L,b as $,an as N,x as l,ar as H,c2 as _,m as a,l as B,a8 as V}from"./index-Djco7rZW.js";import{a as R}from"./sentry-CEBEW6Zv.js";import{n as r}from"./mui-Xyv5fYYp.js";import q from"./TrendChart-Bnp4Pcdf-SZKHN0GU.js";import{C as A}from"./NoDataChart-CrKeqWSr-BPXvlZWX.js";import{F as E}from"./InsightsSection-B6CNlTNH-CxTrjAli.js";import{D as K}from"./TransactionList-BB-xoIGm-CbFPe10H.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]="6baad395-ade4-4f7e-9521-6117845e8a37",e._sentryDebugIdIdentifier="sentry-dbid-6baad395-ade4-4f7e-9521-6117845e8a37")}catch{}})();const W=r.div`
2
2
  display: inline-block;
3
3
  `,G=r.div`
4
4
  background-color: ${e=>e.theme.colors.grey3};
@@ -1,4 +1,4 @@
1
- import{y as ie,e as ce,_ as Qe,a7 as Ze,g4 as I,he as J,T as Ke,hf as Xe,hg as je,c8 as Ye,V as o,a_ as en,bR as nn,bS as on,bT as tn,A as cn,hh as sn,L as an,a9 as ln,f0 as dn,O as G,hi as _e,x as u,l as rn,o as a,cc as ye,ad as N,ga as oe,hj as te,hk as Z,hl as un,m as r,d as fe,f as Ae,fu as Ve,C as Se,aD as pn}from"./index-CAltUZe8.js";import{a as K}from"./sentry-DQeYyYXx.js";import{n as s}from"./mui-CMSRVFAm.js";import{Gl as Te,FZ as mn,F_ as gn,cU as xn}from"./zeni-epic-state-CHpO1ZKT.js";import{h as hn}from"./VendorsAccountsSection-CgSJu8wq-BJswZIIA.js";import"./pdf-Be2WBqYM.js";import"./core-D9P6lLF-.js";import"./lottie-BEhoArVd.js";import"./liveblocks-DxIK6Zp5.js";import"./recharts-gT6BOz1b.js";import"./dnd-nSkfhkrX.js";import"./analytics-B2Q_uKwH.js";import"./plaid-BfI3x5Cu.js";import"./utils-BAO5KfNy.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},n=new e.Error().stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="c4234151-8328-4f2e-a168-17d53f13e18d",e._sentryDebugIdIdentifier="sentry-dbid-c4234151-8328-4f2e-a168-17d53f13e18d")}catch{}})();const $={labelWidth:new u(210,240,260),sectionWidth:new u(343,580,726),iconContainerMaxWidthHeight:new u(r[6],r[7]),iconContainerMarginRight:new u(12,r[3]),iconPadding:new u(10,12),rowGap:new u(r[2],r[3]),elementsMarginLeftRight:new u(r[3],r[4])},qe={title:new fe("standardMedium","largeMedium")},bn=s.div`
1
+ import{y as ie,e as ce,_ as Qe,a7 as Ze,g4 as I,he as J,T as Ke,hf as Xe,hg as je,c8 as Ye,V as o,a_ as en,bR as nn,bS as on,bT as tn,A as cn,hh as sn,L as an,a9 as ln,f0 as dn,O as G,hi as _e,x as u,l as rn,o as a,cc as ye,ad as N,ga as oe,hj as te,hk as Z,hl as un,m as r,d as fe,f as Ae,fu as Ve,C as Se,aD as pn}from"./index-Djco7rZW.js";import{a as K}from"./sentry-CEBEW6Zv.js";import{n as s}from"./mui-Xyv5fYYp.js";import{Gl as Te,FZ as mn,F_ as gn,cU as xn}from"./zeni-epic-state-Ddwqsd5-.js";import{h as hn}from"./VendorsAccountsSection-CgSJu8wq-B-6STrW9.js";import"./pdf-BCMUg4JF.js";import"./core-Cd4LmmhG.js";import"./lottie-D3b06MuY.js";import"./liveblocks-IsOzz8u-.js";import"./recharts-CwRU7bDL.js";import"./dnd-CAuW2Onh.js";import"./analytics-CxExYOQN.js";import"./plaid-C49TlIE8.js";import"./utils-PmQt3_O8.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},n=new e.Error().stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="c4234151-8328-4f2e-a168-17d53f13e18d",e._sentryDebugIdIdentifier="sentry-dbid-c4234151-8328-4f2e-a168-17d53f13e18d")}catch{}})();const $={labelWidth:new u(210,240,260),sectionWidth:new u(343,580,726),iconContainerMaxWidthHeight:new u(r[6],r[7]),iconContainerMarginRight:new u(12,r[3]),iconPadding:new u(10,12),rowGap:new u(r[2],r[3]),elementsMarginLeftRight:new u(r[3],r[4])},qe={title:new fe("standardMedium","largeMedium")},bn=s.div`
2
2
  display: flex;
3
3
  flex-direction: column;
4
4
  row-gap: ${e=>$.rowGap.valuePx(e.windowSize)};
@@ -1,4 +1,4 @@
1
- import{a7 as S,V as t,hn as _,ho as W,e as T,O,bR as L,c as k,bS as U,bT as z,T as R,A as G,ci as M,cf as D,x as b,cg as H,f as A,k as J,L as K,a as Q,o as i,l as X,m as F,D as Y,au as Z}from"./index-CAltUZe8.js";import{a as l}from"./sentry-DQeYyYXx.js";import{n as f}from"./mui-CMSRVFAm.js";import{bG as ee,bs as te}from"./zeni-epic-state-CHpO1ZKT.js";import"./pdf-Be2WBqYM.js";import"./core-D9P6lLF-.js";import"./lottie-BEhoArVd.js";import"./liveblocks-DxIK6Zp5.js";import"./recharts-gT6BOz1b.js";import"./dnd-nSkfhkrX.js";import"./analytics-B2Q_uKwH.js";import"./plaid-BfI3x5Cu.js";import"./utils-BAO5KfNy.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]="c9af28e4-3818-471b-9332-cc3ad6a68813",e._sentryDebugIdIdentifier="sentry-dbid-c9af28e4-3818-471b-9332-cc3ad6a68813")}catch{}})();const x={labelWidth:new b(152,176,176),smallLabelWidth:new b(92,110,110),paddingBottom:new b(F[3],F[2]),width:new b(300,420,420)},ie=f.div`
1
+ import{a7 as S,V as t,hn as _,ho as W,e as T,O,bR as L,c as k,bS as U,bT as z,T as R,A as G,ci as M,cf as D,x as b,cg as H,f as A,k as J,L as K,a as Q,o as i,l as X,m as F,D as Y,au as Z}from"./index-Djco7rZW.js";import{a as l}from"./sentry-CEBEW6Zv.js";import{n as f}from"./mui-Xyv5fYYp.js";import{bG as ee,bs as te}from"./zeni-epic-state-Ddwqsd5-.js";import"./pdf-BCMUg4JF.js";import"./core-Cd4LmmhG.js";import"./lottie-D3b06MuY.js";import"./liveblocks-IsOzz8u-.js";import"./recharts-CwRU7bDL.js";import"./dnd-CAuW2Onh.js";import"./analytics-CxExYOQN.js";import"./plaid-C49TlIE8.js";import"./utils-PmQt3_O8.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]="c9af28e4-3818-471b-9332-cc3ad6a68813",e._sentryDebugIdIdentifier="sentry-dbid-c9af28e4-3818-471b-9332-cc3ad6a68813")}catch{}})();const x={labelWidth:new b(152,176,176),smallLabelWidth:new b(92,110,110),paddingBottom:new b(F[3],F[2]),width:new b(300,420,420)},ie=f.div`
2
2
  display: flex;
3
3
  flex-direction: column;
4
4
  background-color: ${e=>e.theme.colors.grey5};
@@ -1,4 +1,4 @@
1
- import{T as M,f1 as g,a7 as W,e as q,O as A,c8 as G,V as i,A as H,b as J,f2 as K,o as a,f as Q,cj as X,a9 as Y,x as y,a8 as Z,c2 as ee,au as te,at as ie,m as d}from"./index-CAltUZe8.js";import{a as c}from"./sentry-DQeYyYXx.js";import{n as o}from"./mui-CMSRVFAm.js";import{F6 as ae}from"./zeni-epic-state-CHpO1ZKT.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},m=new e.Error().stack;m&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[m]="d42f3c16-2b65-4116-8879-6322dba96ccf",e._sentryDebugIdIdentifier="sentry-dbid-d42f3c16-2b65-4116-8879-6322dba96ccf")}catch{}})();const b={marginRight:new y(d[3],d[8]),marginLeft:new y(d[3],d[8]),height:new y(d[5],62)},f="additionalDocumentsForm",s="ssnCard";function ge(e){const{filesEndPoint:m,authParams:x,companyOfficer:t,updateStatus:u,onClose:F,onEditFileName:v,onDeleteFile:E,updateFilesEntity:P,onSendForVerificationClick:z,onCompanyOfficerUpdated:C}=e,l=M({mode:"all",reValidateMode:"onChange",defaultValues:c.useMemo(()=>({additionalDocumentsForm:{selectDocumentType:s,front:g(!0,t?.additionalFiles??[],s)}}),[t?.additionalFiles])}),[T,S]=c.useState(!1),[N,O]=c.useState(!1),$=W(u.fetchState),w=t?.deleteFileStatusById??{},B=t?.updateFileStatusById??{},V=Object.values(w??{}).filter(r=>r!=null),L=ae(V);c.useEffect(()=>{$==="In-Progress"&&u.fetchState==="Completed"&&l.reset({additionalDocumentsForm:{selectDocumentType:s,front:g(!0,t?.additionalFiles??[],s)}})},[$,u,l,t?.additionalFiles]);const n=q(),p=A.getLocalizedStrings().commonSetUp.businessVerification,{additionalDocumentsOverlay:h}=p,_=`${h.officerInfoLabel} ${t?.firstName??""} ${t?.lastName??""}`,k=l.handleSubmit(()=>{L.fetchState!=="In-Progress"&&z?.(t?.officerType??"Officer_1")});return c.useEffect(()=>{const r=l.watch((j,{name:I})=>{I!=null&&j!=null&&G(()=>(async(R,U)=>{const D=U[f].front;R.includes("front")&&D?.fileId!=null?(C?.(t?.officerType??"Officer_1",[D?.fileId]),S(!0)):S(!1)})(I,j))});return()=>{r.unsubscribe()}}),i.jsx(H,{...l,children:i.jsxs("form",{id:f,onSubmit:k,children:[i.jsxs(ce,{size:n,children:[i.jsx(re,{size:n,children:i.jsx(de,{size:n,onClick:F,"data-testid":J("upload-additional-documents-close",f)})}),i.jsxs(fe,{children:[i.jsx(se,{children:h.title[s]}),i.jsx(oe,{children:h.description[s]})]}),i.jsx(ne,{children:i.jsx(le,{children:_})}),i.jsx(K,{name:f,allFiles:t?.additionalFiles??[],label:{width:276},sizeLimit:X,style:{width:"100%",borderRadius:a.sp2,boxShadow:`${a.sp0} 1px 2px ${a.sp0} ${Q.boxShadowElevation}`},isDocumentSelectDisabled:!0,defaultValue:{defaultSelectDocumentType:s,allSelectDocumentType:[s],files:{front:g(!0,t?.additionalFiles??[],s)}},acceptableTypes:["image/jpg","image/jpeg","image/png","image/heic","image/heif"],officerIndex:0,deleteFileStatusById:w,updateFileStatusById:B,filesEndPoint:m,authParams:x,hasError:N,onEditFileName:v,onDeleteFile:E,updateFilesEntity:P,onFileSizeError:r=>O(r),registerOptions:{required:!0},companyOfficerName:{firstName:t?.firstName??"",lastName:t?.lastName??""},showWebCamPopUpCloseIcon:!1})]}),T?i.jsx(Y,{formId:f,primaryBtn:{label:p.sendForVerificationButton,style:{width:"auto",minWidth:n==="small"?"auto":"181px"},isLoading:u.fetchState==="In-Progress"},cancelBtn:{label:p.cancel,style:{width:n==="small"?"auto":"181px"},onClick:F},style:{position:"absolute",width:"100%"}}):null]})})}const se=o(ee)`
1
+ import{T as M,f1 as g,a7 as W,e as q,O as A,c8 as G,V as i,A as H,b as J,f2 as K,o as a,f as Q,cj as X,a9 as Y,x as y,a8 as Z,c2 as ee,au as te,at as ie,m as d}from"./index-Djco7rZW.js";import{a as c}from"./sentry-CEBEW6Zv.js";import{n as o}from"./mui-Xyv5fYYp.js";import{F6 as ae}from"./zeni-epic-state-Ddwqsd5-.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},m=new e.Error().stack;m&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[m]="d42f3c16-2b65-4116-8879-6322dba96ccf",e._sentryDebugIdIdentifier="sentry-dbid-d42f3c16-2b65-4116-8879-6322dba96ccf")}catch{}})();const b={marginRight:new y(d[3],d[8]),marginLeft:new y(d[3],d[8]),height:new y(d[5],62)},f="additionalDocumentsForm",s="ssnCard";function ge(e){const{filesEndPoint:m,authParams:x,companyOfficer:t,updateStatus:u,onClose:F,onEditFileName:v,onDeleteFile:E,updateFilesEntity:P,onSendForVerificationClick:z,onCompanyOfficerUpdated:C}=e,l=M({mode:"all",reValidateMode:"onChange",defaultValues:c.useMemo(()=>({additionalDocumentsForm:{selectDocumentType:s,front:g(!0,t?.additionalFiles??[],s)}}),[t?.additionalFiles])}),[T,S]=c.useState(!1),[N,O]=c.useState(!1),$=W(u.fetchState),w=t?.deleteFileStatusById??{},B=t?.updateFileStatusById??{},V=Object.values(w??{}).filter(r=>r!=null),L=ae(V);c.useEffect(()=>{$==="In-Progress"&&u.fetchState==="Completed"&&l.reset({additionalDocumentsForm:{selectDocumentType:s,front:g(!0,t?.additionalFiles??[],s)}})},[$,u,l,t?.additionalFiles]);const n=q(),p=A.getLocalizedStrings().commonSetUp.businessVerification,{additionalDocumentsOverlay:h}=p,_=`${h.officerInfoLabel} ${t?.firstName??""} ${t?.lastName??""}`,k=l.handleSubmit(()=>{L.fetchState!=="In-Progress"&&z?.(t?.officerType??"Officer_1")});return c.useEffect(()=>{const r=l.watch((j,{name:I})=>{I!=null&&j!=null&&G(()=>(async(R,U)=>{const D=U[f].front;R.includes("front")&&D?.fileId!=null?(C?.(t?.officerType??"Officer_1",[D?.fileId]),S(!0)):S(!1)})(I,j))});return()=>{r.unsubscribe()}}),i.jsx(H,{...l,children:i.jsxs("form",{id:f,onSubmit:k,children:[i.jsxs(ce,{size:n,children:[i.jsx(re,{size:n,children:i.jsx(de,{size:n,onClick:F,"data-testid":J("upload-additional-documents-close",f)})}),i.jsxs(fe,{children:[i.jsx(se,{children:h.title[s]}),i.jsx(oe,{children:h.description[s]})]}),i.jsx(ne,{children:i.jsx(le,{children:_})}),i.jsx(K,{name:f,allFiles:t?.additionalFiles??[],label:{width:276},sizeLimit:X,style:{width:"100%",borderRadius:a.sp2,boxShadow:`${a.sp0} 1px 2px ${a.sp0} ${Q.boxShadowElevation}`},isDocumentSelectDisabled:!0,defaultValue:{defaultSelectDocumentType:s,allSelectDocumentType:[s],files:{front:g(!0,t?.additionalFiles??[],s)}},acceptableTypes:["image/jpg","image/jpeg","image/png","image/heic","image/heif"],officerIndex:0,deleteFileStatusById:w,updateFileStatusById:B,filesEndPoint:m,authParams:x,hasError:N,onEditFileName:v,onDeleteFile:E,updateFilesEntity:P,onFileSizeError:r=>O(r),registerOptions:{required:!0},companyOfficerName:{firstName:t?.firstName??"",lastName:t?.lastName??""},showWebCamPopUpCloseIcon:!1})]}),T?i.jsx(Y,{formId:f,primaryBtn:{label:p.sendForVerificationButton,style:{width:"auto",minWidth:n==="small"?"auto":"181px"},isLoading:u.fetchState==="In-Progress"},cancelBtn:{label:p.cancel,style:{width:n==="small"?"auto":"181px"},onClick:F},style:{position:"absolute",width:"100%"}}):null]})})}const se=o(ee)`
2
2
  margin-top: 19px;
3
3
  color: ${e=>e.theme.colors.primary};
4
4
  margin-bottom: ${a.sp2};
@@ -1 +1 @@
1
- import{a7 as a,O as w,V as r,hn as x,ho as P}from"./index-CAltUZe8.js";import{a as n}from"./sentry-DQeYyYXx.js";import"./pdf-Be2WBqYM.js";import"./zeni-epic-state-CHpO1ZKT.js";import"./core-D9P6lLF-.js";import"./mui-CMSRVFAm.js";import"./recharts-gT6BOz1b.js";import"./lottie-BEhoArVd.js";import"./liveblocks-DxIK6Zp5.js";import"./dnd-nSkfhkrX.js";import"./analytics-B2Q_uKwH.js";import"./plaid-BfI3x5Cu.js";import"./utils-BAO5KfNy.js";(function(){try{var t=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},o=new t.Error().stack;o&&(t._sentryDebugIds=t._sentryDebugIds||{},t._sentryDebugIds[o]="0f8b20de-f6ae-407b-b94c-abd6714c7b46",t._sentryDebugIdIdentifier="sentry-dbid-0f8b20de-f6ae-407b-b94c-abd6714c7b46")}catch{}})();const A=({vendorViewDetails:t,isExpressPayPage:o,onSaveVendor:p,onGetOtp:h,onResendOtp:S,onVerifyOtp:g,onVerifyOtpSuccess:f})=>{const{loggedInUserVerification:e,editVendorState:m,newVendorState:b}=t,c=Object.assign({},m??b),[V,i]=n.useState(!1),[y,s]=n.useState(e.initiateVerification===!0),d=a(c?.saveStatus?.fetchState),C=a(e.userVerificationStatus.fetchState),u=a(e.otpVerificationStatus?.fetchState),l=a(e.sendOtpStatus.fetchState),O=w.getLocalizedStrings().spendManagement.zeniAccounts.expressPay.phoneNumberPopup;return n.useEffect(()=>{d==="In-Progress"&&c?.saveStatus?.fetchState==="Error"&&e.initiateVerification===!0&&s(!0)},[c,e,d]),n.useEffect(()=>{C==="In-Progress"&&e.userVerificationStatus.fetchState==="Completed"&&(i(!1),p())},[e.userVerificationStatus]),n.useEffect(()=>{u==="In-Progress"&&e.otpVerificationStatus?.fetchState==="Completed"&&f?.(e.userId??"",e.phone??"",e.otpChallenge??"")},[u,e,f]),n.useEffect(()=>{l==="In-Progress"&&e.sendOtpStatus.fetchState==="Completed"&&(i(!0),s(!1))},[l,e.sendOtpStatus.fetchState]),r.jsx(r.Fragment,{children:V===!0?r.jsx(x,{showHelperText:!o,verifyOtpFetchState:e.otpVerificationStatus.fetchState,phoneNumber:e.phone??"",otpChallenge:e.otpChallenge,action:{onVerifyClick:g,onCancelClick:()=>i(!1),onResendOtp:S,onEditButtonClick:()=>{s(!0),i(!1)}}}):y===!0?r.jsx(P,{showHelperText:!o,phoneNumber:e.phone??"",sendOtpFetchState:e.sendOtpStatus.fetchState,description:o?O:void 0,action:{onCancelClick:()=>s(!1),onGetCodeClick:I=>h?.(I)}}):null})};export{A as default};
1
+ import{a7 as a,O as w,V as r,hn as x,ho as P}from"./index-Djco7rZW.js";import{a as n}from"./sentry-CEBEW6Zv.js";import"./pdf-BCMUg4JF.js";import"./zeni-epic-state-Ddwqsd5-.js";import"./core-Cd4LmmhG.js";import"./mui-Xyv5fYYp.js";import"./recharts-CwRU7bDL.js";import"./lottie-D3b06MuY.js";import"./liveblocks-IsOzz8u-.js";import"./dnd-CAuW2Onh.js";import"./analytics-CxExYOQN.js";import"./plaid-C49TlIE8.js";import"./utils-PmQt3_O8.js";(function(){try{var t=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},o=new t.Error().stack;o&&(t._sentryDebugIds=t._sentryDebugIds||{},t._sentryDebugIds[o]="0f8b20de-f6ae-407b-b94c-abd6714c7b46",t._sentryDebugIdIdentifier="sentry-dbid-0f8b20de-f6ae-407b-b94c-abd6714c7b46")}catch{}})();const A=({vendorViewDetails:t,isExpressPayPage:o,onSaveVendor:p,onGetOtp:h,onResendOtp:S,onVerifyOtp:g,onVerifyOtpSuccess:f})=>{const{loggedInUserVerification:e,editVendorState:m,newVendorState:b}=t,c=Object.assign({},m??b),[V,i]=n.useState(!1),[y,s]=n.useState(e.initiateVerification===!0),d=a(c?.saveStatus?.fetchState),C=a(e.userVerificationStatus.fetchState),u=a(e.otpVerificationStatus?.fetchState),l=a(e.sendOtpStatus.fetchState),O=w.getLocalizedStrings().spendManagement.zeniAccounts.expressPay.phoneNumberPopup;return n.useEffect(()=>{d==="In-Progress"&&c?.saveStatus?.fetchState==="Error"&&e.initiateVerification===!0&&s(!0)},[c,e,d]),n.useEffect(()=>{C==="In-Progress"&&e.userVerificationStatus.fetchState==="Completed"&&(i(!1),p())},[e.userVerificationStatus]),n.useEffect(()=>{u==="In-Progress"&&e.otpVerificationStatus?.fetchState==="Completed"&&f?.(e.userId??"",e.phone??"",e.otpChallenge??"")},[u,e,f]),n.useEffect(()=>{l==="In-Progress"&&e.sendOtpStatus.fetchState==="Completed"&&(i(!0),s(!1))},[l,e.sendOtpStatus.fetchState]),r.jsx(r.Fragment,{children:V===!0?r.jsx(x,{showHelperText:!o,verifyOtpFetchState:e.otpVerificationStatus.fetchState,phoneNumber:e.phone??"",otpChallenge:e.otpChallenge,action:{onVerifyClick:g,onCancelClick:()=>i(!1),onResendOtp:S,onEditButtonClick:()=>{s(!0),i(!1)}}}):y===!0?r.jsx(P,{showHelperText:!o,phoneNumber:e.phone??"",sendOtpFetchState:e.sendOtpStatus.fetchState,description:o?O:void 0,action:{onCancelClick:()=>s(!1),onGetCodeClick:I=>h?.(I)}}):null})};export{A as default};
@@ -1 +1 @@
1
- import{V as m}from"./index-CAltUZe8.js";import{a as b}from"./sentry-DQeYyYXx.js";import{f}from"./ACHDetailsPage-B5qIuZya-DhhGJFiO.js";import"./pdf-Be2WBqYM.js";import"./zeni-epic-state-CHpO1ZKT.js";import"./core-D9P6lLF-.js";import"./mui-CMSRVFAm.js";import"./recharts-gT6BOz1b.js";import"./lottie-BEhoArVd.js";import"./liveblocks-DxIK6Zp5.js";import"./dnd-nSkfhkrX.js";import"./analytics-B2Q_uKwH.js";import"./plaid-BfI3x5Cu.js";import"./utils-BAO5KfNy.js";import"./BankAccountWarningSection-Cled-2cR-CM49bGSJ.js";import"./MagicLinkTitleSection-CARU1oLQ-DZmT0L5L.js";import"./BankAccountSection-Di4sF52j-D_gkfCl5.js";(function(){try{var t=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},e=new t.Error().stack;e&&(t._sentryDebugIds=t._sentryDebugIds||{},t._sentryDebugIds[e]="f785b3ae-b56a-43d9-a0b7-7cb301670998",t._sentryDebugIdIdentifier="sentry-dbid-f785b3ae-b56a-43d9-a0b7-7cb301670998")}catch{}})();const R=({vendorViewDetails:t,bankAccountContext:e,isDisabled:n,onSaveHandler:i,onACHDetailsUpdated:r,onBackClick:a,onFetchBankName:d})=>{const{bankAccountCreationState:o,bankNameByRouting:s,bankAccountToCreate:p,fetchBankNameByRoutingStatus:c}=t;return b.useEffect(()=>{(e==="vendor"&&o?.fetchState==="Completed"||t.editVendorState?.saveStatus.fetchState==="Completed"&&e!=="express-pay")&&a()},[o,t.editVendorState?.saveStatus.fetchState,e,a]),m.jsx(f,{bankAccountToCreate:p,bankAccountCreationState:o,bankNameByRouting:s,fetchBankNameByRoutingStatus:c,isDisabled:n,onSaveHandler:i,onACHDetailsUpdated:r,onBackClick:a,onFetchBankName:d})};export{R as default};
1
+ import{V as m}from"./index-Djco7rZW.js";import{a as b}from"./sentry-CEBEW6Zv.js";import{f}from"./ACHDetailsPage-B5qIuZya-87Wdu3Vn.js";import"./pdf-BCMUg4JF.js";import"./zeni-epic-state-Ddwqsd5-.js";import"./core-Cd4LmmhG.js";import"./mui-Xyv5fYYp.js";import"./recharts-CwRU7bDL.js";import"./lottie-D3b06MuY.js";import"./liveblocks-IsOzz8u-.js";import"./dnd-CAuW2Onh.js";import"./analytics-CxExYOQN.js";import"./plaid-C49TlIE8.js";import"./utils-PmQt3_O8.js";import"./BankAccountWarningSection-Cled-2cR-IDWXJwst.js";import"./MagicLinkTitleSection-CARU1oLQ-C33EAuas.js";import"./BankAccountSection-Di4sF52j-DVHeEsO8.js";(function(){try{var t=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},e=new t.Error().stack;e&&(t._sentryDebugIds=t._sentryDebugIds||{},t._sentryDebugIds[e]="f785b3ae-b56a-43d9-a0b7-7cb301670998",t._sentryDebugIdIdentifier="sentry-dbid-f785b3ae-b56a-43d9-a0b7-7cb301670998")}catch{}})();const R=({vendorViewDetails:t,bankAccountContext:e,isDisabled:n,onSaveHandler:i,onACHDetailsUpdated:r,onBackClick:a,onFetchBankName:d})=>{const{bankAccountCreationState:o,bankNameByRouting:s,bankAccountToCreate:p,fetchBankNameByRoutingStatus:c}=t;return b.useEffect(()=>{(e==="vendor"&&o?.fetchState==="Completed"||t.editVendorState?.saveStatus.fetchState==="Completed"&&e!=="express-pay")&&a()},[o,t.editVendorState?.saveStatus.fetchState,e,a]),m.jsx(f,{bankAccountToCreate:p,bankAccountCreationState:o,bankNameByRouting:s,fetchBankNameByRoutingStatus:c,isDisabled:n,onSaveHandler:i,onACHDetailsUpdated:r,onBackClick:a,onFetchBankName:d})};export{R as default};
@@ -1,4 +1,4 @@
1
- import{y as Ye,e as le,x as g,S as $e,cb as bt,T as wt,gz as De,gA as ft,ad as Ct,c8 as St,V as t,aZ as $t,A as Dt,gB as jt,gC as ye,m as n,c9 as Lt,a9 as Tt,a_ as _t,O as A,gD as Ge,gE as Qe,gF as Ze,o as s,bg as $,cc as Vt,b as u,ga as je,gG as kt,cd as It,ce as Ot,cf as Pt,gH as Mt,fE as zt,ck as Ft,gI as Nt,gJ as Wt,f as R,ar as Je,C as Ke,bj as Ht,aj as Rt,gK as At,gL as Bt,l as Et,bO as Ut,cQ as qt,cs as Yt,ag as pe,gM as Gt,bH as Xe,gN as Qt,d as Le,M as et}from"./index-CAltUZe8.js";import{a as S}from"./sentry-DQeYyYXx.js";import{n as o,c as Zt}from"./mui-CMSRVFAm.js";import{bQ as Te,Gh as Jt,Gi as Kt}from"./zeni-epic-state-CHpO1ZKT.js";import{R as Xt}from"./SubTabSwitcher-D7QeM6nb-bmup9lZe.js";import{D as ea}from"./TransactionList-BB-xoIGm-BeosfrmM.js";import{R as ta}from"./TrendWithTransactions-3D1FvM8G-D5DfweO8.js";import{o as aa,t as sa}from"./arrow-south-east-round-PEovUgvH-DvoAU7mY.js";import{C as oa}from"./LabeledAddressValueField-BgWwd5Gw-DnvIsj_n.js";import{Y as na}from"./LabeledDropDownFormattedTextField-ScGGCap8-BdN7qNJy.js";import"./pdf-Be2WBqYM.js";import"./core-D9P6lLF-.js";import"./lottie-BEhoArVd.js";import"./liveblocks-DxIK6Zp5.js";import"./recharts-gT6BOz1b.js";import"./dnd-nSkfhkrX.js";import"./analytics-B2Q_uKwH.js";import"./plaid-BfI3x5Cu.js";import"./utils-BAO5KfNy.js";import"./ConstrainedInnerElement-CgdnMeoA-BgAKlXog.js";import"./BoxItem-Bxa1M4QU-DyrFdjN6.js";import"./commonDimensions-Oz1tdAcx-6qsjkus3.js";import"./panelSelectedMixin-Cddsb26L-CzLNMPbQ.js";import"./TrendChart-Bnp4Pcdf-DAHDBSRg.js";import"./chartTypes-CD3vrBsI-D1eLb6aA.js";import"./toCOABalancesWithID-aLNB35t7-Bbjw8HZY.js";import"./toChartData-DUL6vnzJ-Dwc3foiO.js";import"./NoDataChart-CrKeqWSr-DJdc5MTN.js";import"./InsightsSection-B6CNlTNH-DV_5z3I5.js";import"./NavigationDots-Dvce3gHt-H1P3hT7y.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},a=new e.Error().stack;a&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[a]="b4d02ec7-72ea-4b7b-85b0-cc855f2137f9",e._sentryDebugIdIdentifier="sentry-dbid-b4d02ec7-72ea-4b7b-85b0-cc855f2137f9")}catch{}})();const ia=o.div`
1
+ import{y as Ye,e as le,x as g,S as $e,cb as bt,T as wt,gz as De,gA as ft,ad as Ct,c8 as St,V as t,aZ as $t,A as Dt,gB as jt,gC as ye,m as n,c9 as Lt,a9 as Tt,a_ as _t,O as A,gD as Ge,gE as Qe,gF as Ze,o as s,bg as $,cc as Vt,b as u,ga as je,gG as kt,cd as It,ce as Ot,cf as Pt,gH as Mt,fE as zt,ck as Ft,gI as Nt,gJ as Wt,f as R,ar as Je,C as Ke,bj as Ht,aj as Rt,gK as At,gL as Bt,l as Et,bO as Ut,cQ as qt,cs as Yt,ag as pe,gM as Gt,bH as Xe,gN as Qt,d as Le,M as et}from"./index-Djco7rZW.js";import{a as S}from"./sentry-CEBEW6Zv.js";import{n as o,c as Zt}from"./mui-Xyv5fYYp.js";import{bQ as Te,Gh as Jt,Gi as Kt}from"./zeni-epic-state-Ddwqsd5-.js";import{R as Xt}from"./SubTabSwitcher-D7QeM6nb-CfY08u6h.js";import{D as ea}from"./TransactionList-BB-xoIGm-CbFPe10H.js";import{R as ta}from"./TrendWithTransactions-3D1FvM8G-Cg_o5A0H.js";import{o as aa,t as sa}from"./arrow-south-east-round-PEovUgvH-D9eZjC4F.js";import{C as oa}from"./LabeledAddressValueField-BgWwd5Gw-X7xSKqD_.js";import{Y as na}from"./LabeledDropDownFormattedTextField-ScGGCap8-Bs7HZSAW.js";import"./pdf-BCMUg4JF.js";import"./core-Cd4LmmhG.js";import"./lottie-D3b06MuY.js";import"./liveblocks-IsOzz8u-.js";import"./recharts-CwRU7bDL.js";import"./dnd-CAuW2Onh.js";import"./analytics-CxExYOQN.js";import"./plaid-C49TlIE8.js";import"./utils-PmQt3_O8.js";import"./ConstrainedInnerElement-CgdnMeoA-CbPq896u.js";import"./BoxItem-Bxa1M4QU-Du00vi-o.js";import"./commonDimensions-Oz1tdAcx-D3vjaJvc.js";import"./panelSelectedMixin-Cddsb26L-KaZtuqEM.js";import"./TrendChart-Bnp4Pcdf-SZKHN0GU.js";import"./chartTypes-CD3vrBsI-BZMuLEVT.js";import"./toCOABalancesWithID-aLNB35t7-D-R0UrAf.js";import"./toChartData-DUL6vnzJ-CB0d1jE1.js";import"./NoDataChart-CrKeqWSr-BPXvlZWX.js";import"./InsightsSection-B6CNlTNH-CxTrjAli.js";import"./NavigationDots-Dvce3gHt-C7tC--sE.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},a=new e.Error().stack;a&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[a]="b4d02ec7-72ea-4b7b-85b0-cc855f2137f9",e._sentryDebugIdIdentifier="sentry-dbid-b4d02ec7-72ea-4b7b-85b0-cc855f2137f9")}catch{}})();const ia=o.div`
2
2
  display: flex;
3
3
  flex-direction: row;
4
4
  justify-content: center;
@@ -1 +1 @@
1
- import{V as b}from"./index-CAltUZe8.js";import{a as k}from"./sentry-DQeYyYXx.js";import{y}from"./DomesticWireDetailsPage-DCDo3aHI-DKoqkJmX.js";import"./pdf-Be2WBqYM.js";import"./zeni-epic-state-CHpO1ZKT.js";import"./core-D9P6lLF-.js";import"./mui-CMSRVFAm.js";import"./recharts-gT6BOz1b.js";import"./lottie-BEhoArVd.js";import"./liveblocks-DxIK6Zp5.js";import"./dnd-nSkfhkrX.js";import"./analytics-B2Q_uKwH.js";import"./plaid-BfI3x5Cu.js";import"./utils-BAO5KfNy.js";import"./BankAccountSection-Di4sF52j-D_gkfCl5.js";import"./MagicLinkTitleSection-CARU1oLQ-DZmT0L5L.js";import"./BankAccountWarningSection-Cled-2cR-CM49bGSJ.js";import"./MailingDetailsSection-ByOPaJ05-Cq55yE-t.js";import"./LabeledAddressValueField-BgWwd5Gw-DnvIsj_n.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]="e1c48142-37ae-46e5-aafe-a6bfd6eafc5b",e._sentryDebugIdIdentifier="sentry-dbid-e1c48142-37ae-46e5-aafe-a6bfd6eafc5b")}catch{}})();const H=({vendorViewDetails:e,bankAccountContext:t,isDisabled:r,onSaveHandler:s,onWireDetailsUpdated:i,onBackClick:o,onFetchBankName:d,onAddressClick:c})=>{const{bankAccountCreationState:n,editVendorState:p,newVendorState:m,bankNameByRouting:f,bankAccountToCreate:u,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]),b.jsx(y,{bankAccountToCreate:u,bankAccountCreationState:n,bankNameByRouting:f,addressToEdit:a?.vendorNewAddressStatus?.addressToCreate,mailingAddress:a?.vendorAddress,addressType:"vendor_address",fetchBankNameByRoutingStatus:l,isDisabled:r,onSaveHandler:s,onWireDetailsUpdated:i,onBackClick:o,onAddressClick:c,onFetchBankName:d})};export{H as default};
1
+ import{V as b}from"./index-Djco7rZW.js";import{a as k}from"./sentry-CEBEW6Zv.js";import{y}from"./DomesticWireDetailsPage-DCDo3aHI-HC7kBah-.js";import"./pdf-BCMUg4JF.js";import"./zeni-epic-state-Ddwqsd5-.js";import"./core-Cd4LmmhG.js";import"./mui-Xyv5fYYp.js";import"./recharts-CwRU7bDL.js";import"./lottie-D3b06MuY.js";import"./liveblocks-IsOzz8u-.js";import"./dnd-CAuW2Onh.js";import"./analytics-CxExYOQN.js";import"./plaid-C49TlIE8.js";import"./utils-PmQt3_O8.js";import"./BankAccountSection-Di4sF52j-DVHeEsO8.js";import"./MagicLinkTitleSection-CARU1oLQ-C33EAuas.js";import"./BankAccountWarningSection-Cled-2cR-IDWXJwst.js";import"./MailingDetailsSection-ByOPaJ05-B9FPpo09.js";import"./LabeledAddressValueField-BgWwd5Gw-X7xSKqD_.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]="e1c48142-37ae-46e5-aafe-a6bfd6eafc5b",e._sentryDebugIdIdentifier="sentry-dbid-e1c48142-37ae-46e5-aafe-a6bfd6eafc5b")}catch{}})();const H=({vendorViewDetails:e,bankAccountContext:t,isDisabled:r,onSaveHandler:s,onWireDetailsUpdated:i,onBackClick:o,onFetchBankName:d,onAddressClick:c})=>{const{bankAccountCreationState:n,editVendorState:p,newVendorState:m,bankNameByRouting:f,bankAccountToCreate:u,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]),b.jsx(y,{bankAccountToCreate:u,bankAccountCreationState:n,bankNameByRouting:f,addressToEdit:a?.vendorNewAddressStatus?.addressToCreate,mailingAddress:a?.vendorAddress,addressType:"vendor_address",fetchBankNameByRoutingStatus:l,isDisabled:r,onSaveHandler:s,onWireDetailsUpdated:i,onBackClick:o,onAddressClick:c,onFetchBankName:d})};export{H as default};
@@ -1,4 +1,4 @@
1
- import{e as ce,y as Ne,T as ke,c8 as Ae,x as b,V as t,a_ as Be,b as Ee,A as Oe,cd as D,o as s,ch as We,gH as Re,fE as qe,ck as Me,gI as He,gJ as Ue,c6 as _e,a9 as Ge,O as pe,eu as J,gO as ue,dX as Ke,ev as Je,m as d,a8 as Qe,bg as F,c3 as Xe,gP as Ze,f as z,er as Ye,bH as et,l as ge,eb as tt,gQ as st,gR as lt,gS as _,ew as it}from"./index-CAltUZe8.js";import{a as m}from"./sentry-DQeYyYXx.js";import{n as o}from"./mui-CMSRVFAm.js";import{Y as at}from"./LabeledDropDownFormattedTextField-ScGGCap8-BdN7qNJy.js";import"./pdf-Be2WBqYM.js";import"./zeni-epic-state-CHpO1ZKT.js";import"./core-D9P6lLF-.js";import"./lottie-BEhoArVd.js";import"./liveblocks-DxIK6Zp5.js";import"./recharts-gT6BOz1b.js";import"./dnd-nSkfhkrX.js";import"./analytics-B2Q_uKwH.js";import"./plaid-BfI3x5Cu.js";import"./utils-BAO5KfNy.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]="7a0837e1-0e55-490a-a900-a86c388e696e",e._sentryDebugIdIdentifier="sentry-dbid-7a0837e1-0e55-490a-a900-a86c388e696e")}catch{}})();const ie={largeLabelWidth:new b(160,210,230),paddingBottom:new b(d[3],d[2])},S=(e,i)=>`${e}.${i}`;function ot(e){const{loadingState:i}=e;return t.jsx(rt,{...e,isDisabled:e.isDisabled||i==="In-Progress"?"disabled":void 0})}function rt({googleAPIKey:e,addressToEdit:i,sectionId:r,isDisabled:u,style:q}){const W=ce(),c=pe.getLocalizedStrings().companyPassport,p=ie.largeLabelWidth.value(W);return t.jsxs(t.Fragment,{children:[t.jsx(ae,{type:"hidden",value:"noAutoFill"}),t.jsx(nt,{style:q,children:t.jsxs(dt,{children:[t.jsx(st,{isDisabled:u,label:{label:c.address.street,width:p,showBullet:!0},addressField:{name:S(r,"street"),defaultValue:{addressString:i?.street[0]??"",addressValue:i!=null?ue(i):void 0},placeholder:_(c.address.street),registerOptions:{required:!0,validate:$=>$!=null&&!!$.addressString},autoComplete:"new-password",googleAPIKey:e,addressFormatter:lt},style:{border:"none",width:"100%",outline:"none"}}),t.jsx(D,{isDisabled:u,label:{label:c.address.suite,width:p,showBullet:!0},style:{wordBreak:"break-word",width:"100%",outline:"none"},text:{type:"text",name:S(r,"suite"),defaultValue:i?.street[1],placeholder:c.address.suitePlaceholder,autoComplete:"new-password"}}),t.jsx(D,{isDisabled:u,label:{label:c.address.city,width:p,showBullet:!0},style:{width:"100%",outline:"none"},text:{type:"text",name:S(r,"city"),defaultValue:i?.city,placeholder:_(c.address.city),autoComplete:"new-password",options:{required:!0}}}),t.jsx(D,{isDisabled:u,label:{label:c.address.state,width:p,showBullet:!0},style:{width:"100%",outline:"none"},text:{type:"text",name:S(r,"state"),defaultValue:i?.state,placeholder:_(c.address.state),autoComplete:"new-password",options:{required:!0}}}),t.jsx(ae,{readOnly:!0,value:"noAutoFill"}),t.jsx(it,{isDisabled:u,label:{label:c.address.country,width:p,showBullet:!0},style:{width:"100%",outline:"none"},countrySelectField:{name:S(r,"country"),placeholder:c.address.countryPlaceholder,defaultValue:J(i?.country),registerOptions:{validate:$=>!($==null||!$.selectedOption)}}}),t.jsx(D,{isDisabled:u,label:{label:c.address.zipCode,width:p,showBullet:!0},style:{width:"100%",outline:"none"},text:{type:"text",name:S(r,"postalCode"),defaultValue:i?.postalCode,placeholder:c.address.zipCodePlaceHolder,autoComplete:"new-password",options:{required:!0}}}),t.jsx(D,{isDisabled:u,label:{label:c.address.secondaryInfo,width:p,showBullet:!0},style:{paddingBottom:ie.paddingBottom.valuePx(W),width:"100%",outline:"none"},text:{type:"text",name:S(r,"secondaryInfo"),defaultValue:i?.street[2],placeholder:c.address.secondaryInfoPlaceholder,autoComplete:"new-password"}})]})})]})}const nt=o.div`
1
+ import{e as ce,y as Ne,T as ke,c8 as Ae,x as b,V as t,a_ as Be,b as Ee,A as Oe,cd as D,o as s,ch as We,gH as Re,fE as qe,ck as Me,gI as He,gJ as Ue,c6 as _e,a9 as Ge,O as pe,eu as J,gO as ue,dX as Ke,ev as Je,m as d,a8 as Qe,bg as F,c3 as Xe,gP as Ze,f as z,er as Ye,bH as et,l as ge,eb as tt,gQ as st,gR as lt,gS as _,ew as it}from"./index-Djco7rZW.js";import{a as m}from"./sentry-CEBEW6Zv.js";import{n as o}from"./mui-Xyv5fYYp.js";import{Y as at}from"./LabeledDropDownFormattedTextField-ScGGCap8-Bs7HZSAW.js";import"./pdf-BCMUg4JF.js";import"./zeni-epic-state-Ddwqsd5-.js";import"./core-Cd4LmmhG.js";import"./lottie-D3b06MuY.js";import"./liveblocks-IsOzz8u-.js";import"./recharts-CwRU7bDL.js";import"./dnd-CAuW2Onh.js";import"./analytics-CxExYOQN.js";import"./plaid-C49TlIE8.js";import"./utils-PmQt3_O8.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]="7a0837e1-0e55-490a-a900-a86c388e696e",e._sentryDebugIdIdentifier="sentry-dbid-7a0837e1-0e55-490a-a900-a86c388e696e")}catch{}})();const ie={largeLabelWidth:new b(160,210,230),paddingBottom:new b(d[3],d[2])},S=(e,i)=>`${e}.${i}`;function ot(e){const{loadingState:i}=e;return t.jsx(rt,{...e,isDisabled:e.isDisabled||i==="In-Progress"?"disabled":void 0})}function rt({googleAPIKey:e,addressToEdit:i,sectionId:r,isDisabled:u,style:q}){const W=ce(),c=pe.getLocalizedStrings().companyPassport,p=ie.largeLabelWidth.value(W);return t.jsxs(t.Fragment,{children:[t.jsx(ae,{type:"hidden",value:"noAutoFill"}),t.jsx(nt,{style:q,children:t.jsxs(dt,{children:[t.jsx(st,{isDisabled:u,label:{label:c.address.street,width:p,showBullet:!0},addressField:{name:S(r,"street"),defaultValue:{addressString:i?.street[0]??"",addressValue:i!=null?ue(i):void 0},placeholder:_(c.address.street),registerOptions:{required:!0,validate:$=>$!=null&&!!$.addressString},autoComplete:"new-password",googleAPIKey:e,addressFormatter:lt},style:{border:"none",width:"100%",outline:"none"}}),t.jsx(D,{isDisabled:u,label:{label:c.address.suite,width:p,showBullet:!0},style:{wordBreak:"break-word",width:"100%",outline:"none"},text:{type:"text",name:S(r,"suite"),defaultValue:i?.street[1],placeholder:c.address.suitePlaceholder,autoComplete:"new-password"}}),t.jsx(D,{isDisabled:u,label:{label:c.address.city,width:p,showBullet:!0},style:{width:"100%",outline:"none"},text:{type:"text",name:S(r,"city"),defaultValue:i?.city,placeholder:_(c.address.city),autoComplete:"new-password",options:{required:!0}}}),t.jsx(D,{isDisabled:u,label:{label:c.address.state,width:p,showBullet:!0},style:{width:"100%",outline:"none"},text:{type:"text",name:S(r,"state"),defaultValue:i?.state,placeholder:_(c.address.state),autoComplete:"new-password",options:{required:!0}}}),t.jsx(ae,{readOnly:!0,value:"noAutoFill"}),t.jsx(it,{isDisabled:u,label:{label:c.address.country,width:p,showBullet:!0},style:{width:"100%",outline:"none"},countrySelectField:{name:S(r,"country"),placeholder:c.address.countryPlaceholder,defaultValue:J(i?.country),registerOptions:{validate:$=>!($==null||!$.selectedOption)}}}),t.jsx(D,{isDisabled:u,label:{label:c.address.zipCode,width:p,showBullet:!0},style:{width:"100%",outline:"none"},text:{type:"text",name:S(r,"postalCode"),defaultValue:i?.postalCode,placeholder:c.address.zipCodePlaceHolder,autoComplete:"new-password",options:{required:!0}}}),t.jsx(D,{isDisabled:u,label:{label:c.address.secondaryInfo,width:p,showBullet:!0},style:{paddingBottom:ie.paddingBottom.valuePx(W),width:"100%",outline:"none"},text:{type:"text",name:S(r,"secondaryInfo"),defaultValue:i?.street[2],placeholder:c.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{e as oe,_ as Rn,y as tn,T as Bn,hv as Me,c8 as Fn,B as Vn,hw as ee,hx as pe,hy as he,hz as ue,hA as re,V as n,hr as En,b as ve,A as Un,a_ as Wn,E as qn,bR as Hn,bS as Gn,bT as Qn,bq as Kn,bd as Xn,bN as Jn,an as Yn,cO as Zn,bV as eo,L as no,O as be,x as w,J as Re,o,ac as Cn,l as Ie,ab as oo,m,C as fe,b_ as to,bO as kn,bg as ke,aC as Mn,c1 as io,bu as ro,d4 as so,au as Ke,aR as rn,f as A,aA as Nn,gq as ao,cK as cn,cs as Ye,hB as Ze,k as lo,bo as Ae,de as co,d$ as mn,b6 as mo,cR as po,a as pn,bX as ho,hC as uo,hD as wo,cc as go,dX as vo,e4 as xo,e5 as bo,H as In,hE as fo,b4 as ne,hF as hn,gc as $o,$ as So,t as yo,bj as jo,w as On,d as Ro,ec as Vo,ae as nn}from"./index-CAltUZe8.js";import{a as f}from"./sentry-DQeYyYXx.js";import{n as i,c as on}from"./mui-CMSRVFAm.js";import{bJ as Co,Go as ko}from"./zeni-epic-state-CHpO1ZKT.js";import{r as Mo}from"./core-D9P6lLF-.js";import"./pdf-Be2WBqYM.js";import"./lottie-BEhoArVd.js";import"./liveblocks-DxIK6Zp5.js";import"./recharts-gT6BOz1b.js";import"./dnd-nSkfhkrX.js";import"./analytics-B2Q_uKwH.js";import"./plaid-BfI3x5Cu.js";import"./utils-BAO5KfNy.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},a=new e.Error().stack;a&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[a]="e27ba930-74a6-4f24-bf67-1c1333a76c88",e._sentryDebugIdIdentifier="sentry-dbid-e27ba930-74a6-4f24-bf67-1c1333a76c88")}catch{}})();const Pn=({steps:e})=>{const a=oe();return n.jsx(Io,{windowSize:a,children:e.map((c,l)=>n.jsxs(No,{children:[n.jsx(Po,{children:l!==e.length-1?l+1:n.jsx(zo,{})}),n.jsx(To,{children:c}),l<e.length-1?n.jsx(Oo,{}):null]},`step_${l}`))})},No=i.div`
1
+ import{e as oe,_ as Rn,y as tn,T as Bn,hv as Me,c8 as Fn,B as Vn,hw as ee,hx as pe,hy as he,hz as ue,hA as re,V as n,hr as En,b as ve,A as Un,a_ as Wn,E as qn,bR as Hn,bS as Gn,bT as Qn,bq as Kn,bd as Xn,bN as Jn,an as Yn,cO as Zn,bV as eo,L as no,O as be,x as w,J as Re,o,ac as Cn,l as Ie,ab as oo,m,C as fe,b_ as to,bO as kn,bg as ke,aC as Mn,c1 as io,bu as ro,d4 as so,au as Ke,aR as rn,f as A,aA as Nn,gq as ao,cK as cn,cs as Ye,hB as Ze,k as lo,bo as Ae,de as co,d$ as mn,b6 as mo,cR as po,a as pn,bX as ho,hC as uo,hD as wo,cc as go,dX as vo,e4 as xo,e5 as bo,H as In,hE as fo,b4 as ne,hF as hn,gc as $o,$ as So,t as yo,bj as jo,w as On,d as Ro,ec as Vo,ae as nn}from"./index-Djco7rZW.js";import{a as f}from"./sentry-CEBEW6Zv.js";import{n as i,c as on}from"./mui-Xyv5fYYp.js";import{bJ as Co,Go as ko}from"./zeni-epic-state-Ddwqsd5-.js";import{r as Mo}from"./core-Cd4LmmhG.js";import"./pdf-BCMUg4JF.js";import"./lottie-D3b06MuY.js";import"./liveblocks-IsOzz8u-.js";import"./recharts-CwRU7bDL.js";import"./dnd-CAuW2Onh.js";import"./analytics-CxExYOQN.js";import"./plaid-C49TlIE8.js";import"./utils-PmQt3_O8.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},a=new e.Error().stack;a&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[a]="e27ba930-74a6-4f24-bf67-1c1333a76c88",e._sentryDebugIdIdentifier="sentry-dbid-e27ba930-74a6-4f24-bf67-1c1333a76c88")}catch{}})();const Pn=({steps:e})=>{const a=oe();return n.jsx(Io,{windowSize:a,children:e.map((c,l)=>n.jsxs(No,{children:[n.jsx(Po,{children:l!==e.length-1?l+1:n.jsx(zo,{})}),n.jsx(To,{children:c}),l<e.length-1?n.jsx(Oo,{}):null]},`step_${l}`))})},No=i.div`
2
2
  display: flex;
3
3
  flex-direction: row;
4
4
  position: relative;
@@ -1,4 +1,4 @@
1
- import{V as t,e as X,T as ge,O as G,c8 as be,S as fe,bR as xe,bS as ve,bT as we,A as Ce,a9 as $e,x as c,eu as ae,ev as De,o as y,at as Te,cc as re,y as se,ew as je,ex as Y,c6 as Q,al as H,cd as Se,dS as ke,m as a,dX as Oe,b as Ae,f as M,d as Le,L as Fe,bo as ze,C as Ie,b6 as We}from"./index-CAltUZe8.js";import{a as W}from"./sentry-DQeYyYXx.js";import{n as g}from"./mui-CMSRVFAm.js";import{bQ as Z}from"./zeni-epic-state-CHpO1ZKT.js";import{W as Re,A as Pe}from"./BankAccountWarningSection-Cled-2cR-CM49bGSJ.js";import{T as _e}from"./MailingDetailsSection-ByOPaJ05-Cq55yE-t.js";import{S as Ee}from"./CurrencySelectField-BAh7SHrG-D1tX6Pz9.js";import"./pdf-Be2WBqYM.js";import"./core-D9P6lLF-.js";import"./lottie-BEhoArVd.js";import"./liveblocks-DxIK6Zp5.js";import"./recharts-gT6BOz1b.js";import"./dnd-nSkfhkrX.js";import"./analytics-B2Q_uKwH.js";import"./plaid-BfI3x5Cu.js";import"./utils-BAO5KfNy.js";import"./LabeledAddressValueField-BgWwd5Gw-DnvIsj_n.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]="cab11672-39a2-48af-90f6-15e908c9e599",e._sentryDebugIdIdentifier="sentry-dbid-cab11672-39a2-48af-90f6-15e908c9e599")}catch{}})();const A={width:new c(343,580,726),height:new c(a[6],a[6]),controlHeight:new c(a[6],a[6]),paddingTopBottom:new c(a[2],a[2]),marginRight:new c(a[2],a[2]),labelMarginLeft:new c(a[3],a[4]),labelMarginRight:new c(a[3],a[4]),labelMarginTop:new c(a[2],a[2])},de={infoLabel:new Le("extraSmallRegular","smallRegular")};function Me({isDisabled:e,label:i,currencySelectField:l,style:f,errorInfoLabel:d,isAdditionalInfoLabelLoading:o=!1,showAdditionalLabelTooltip:n=!1,additionalLabelTooltip:w,additionalInfoLabel:T,showAdditionalInfoLabel:k=!0}){const C=X(),{formState:{errors:b}}=re(),$=se(),D=Oe(b,l.name);return t.jsxs(Be,{size:C,style:f,isDisabled:e!=null,isError:D,"data-testid":Ae("labeled-currency-field",l.name),children:[t.jsx(Q,{isDisabled:e,label:i.label,htmlFor:l.name,style:{marginLeft:A.labelMarginLeft.value(C),marginRight:A.labelMarginRight.value(C),marginTop:A.labelMarginTop.value(C),width:i.width??"auto",color:e==="disabled"?$.colors.grey2:$.colors.hero}}),t.jsxs(He,{labelWidth:i.width,children:[t.jsx(Ee,{...l,isDisabled:e,style:{display:"flex",flexGrow:1,height:A.controlHeight.value(C)}}),D?t.jsx(Ve,{windowSize:C,hasError:D,children:d}):null,(()=>{if(o===!0)return t.jsx(Ue,{children:t.jsx(Fe,{size:"Small",start:!0})});if(k&&T||D){let p=null;return n===!0&&k&&w&&(p=t.jsx(ze,{placement:C==="small"?"bottom":"right",maxWidth:"364px",title:t.jsx(qe,{children:w}),children:t.jsx(Ge,{children:t.jsx(Qe,{})})})),t.jsxs(Ne,{size:C,isError:D,hasToolTip:n,isDisabled:e!=null,children:[p,T]})}})()]})]})}const Be=g.div`
1
+ import{V as t,e as X,T as ge,O as G,c8 as be,S as fe,bR as xe,bS as ve,bT as we,A as Ce,a9 as $e,x as c,eu as ae,ev as De,o as y,at as Te,cc as re,y as se,ew as je,ex as Y,c6 as Q,al as H,cd as Se,dS as ke,m as a,dX as Oe,b as Ae,f as M,d as Le,L as Fe,bo as ze,C as Ie,b6 as We}from"./index-Djco7rZW.js";import{a as W}from"./sentry-CEBEW6Zv.js";import{n as g}from"./mui-Xyv5fYYp.js";import{bQ as Z}from"./zeni-epic-state-Ddwqsd5-.js";import{W as Re,A as Pe}from"./BankAccountWarningSection-Cled-2cR-IDWXJwst.js";import{T as _e}from"./MailingDetailsSection-ByOPaJ05-B9FPpo09.js";import{S as Ee}from"./CurrencySelectField-BAh7SHrG-DdvYnDaV.js";import"./pdf-BCMUg4JF.js";import"./core-Cd4LmmhG.js";import"./lottie-D3b06MuY.js";import"./liveblocks-IsOzz8u-.js";import"./recharts-CwRU7bDL.js";import"./dnd-CAuW2Onh.js";import"./analytics-CxExYOQN.js";import"./plaid-C49TlIE8.js";import"./utils-PmQt3_O8.js";import"./LabeledAddressValueField-BgWwd5Gw-X7xSKqD_.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]="cab11672-39a2-48af-90f6-15e908c9e599",e._sentryDebugIdIdentifier="sentry-dbid-cab11672-39a2-48af-90f6-15e908c9e599")}catch{}})();const A={width:new c(343,580,726),height:new c(a[6],a[6]),controlHeight:new c(a[6],a[6]),paddingTopBottom:new c(a[2],a[2]),marginRight:new c(a[2],a[2]),labelMarginLeft:new c(a[3],a[4]),labelMarginRight:new c(a[3],a[4]),labelMarginTop:new c(a[2],a[2])},de={infoLabel:new Le("extraSmallRegular","smallRegular")};function Me({isDisabled:e,label:i,currencySelectField:l,style:f,errorInfoLabel:d,isAdditionalInfoLabelLoading:o=!1,showAdditionalLabelTooltip:n=!1,additionalLabelTooltip:w,additionalInfoLabel:T,showAdditionalInfoLabel:k=!0}){const C=X(),{formState:{errors:b}}=re(),$=se(),D=Oe(b,l.name);return t.jsxs(Be,{size:C,style:f,isDisabled:e!=null,isError:D,"data-testid":Ae("labeled-currency-field",l.name),children:[t.jsx(Q,{isDisabled:e,label:i.label,htmlFor:l.name,style:{marginLeft:A.labelMarginLeft.value(C),marginRight:A.labelMarginRight.value(C),marginTop:A.labelMarginTop.value(C),width:i.width??"auto",color:e==="disabled"?$.colors.grey2:$.colors.hero}}),t.jsxs(He,{labelWidth:i.width,children:[t.jsx(Ee,{...l,isDisabled:e,style:{display:"flex",flexGrow:1,height:A.controlHeight.value(C)}}),D?t.jsx(Ve,{windowSize:C,hasError:D,children:d}):null,(()=>{if(o===!0)return t.jsx(Ue,{children:t.jsx(Fe,{size:"Small",start:!0})});if(k&&T||D){let p=null;return n===!0&&k&&w&&(p=t.jsx(ze,{placement:C==="small"?"bottom":"right",maxWidth:"364px",title:t.jsx(qe,{children:w}),children:t.jsx(Ge,{children:t.jsx(Qe,{})})})),t.jsxs(Ne,{size:C,isError:D,hasToolTip:n,isDisabled:e!=null,children:[p,T]})}})()]})]})}const Be=g.div`
2
2
  display: flex;
3
3
  flex-direction: row;
4
4
  align-items: flex-start;
@@ -1 +1 @@
1
- import{V as k}from"./index-CAltUZe8.js";import{a as S}from"./sentry-DQeYyYXx.js";import{f as b}from"./InternationalWireSwiftDetailsPage-VdG7bDZi-2y0ea6UL.js";import"./pdf-Be2WBqYM.js";import"./zeni-epic-state-CHpO1ZKT.js";import"./core-D9P6lLF-.js";import"./mui-CMSRVFAm.js";import"./recharts-gT6BOz1b.js";import"./lottie-BEhoArVd.js";import"./liveblocks-DxIK6Zp5.js";import"./dnd-nSkfhkrX.js";import"./analytics-B2Q_uKwH.js";import"./plaid-BfI3x5Cu.js";import"./utils-BAO5KfNy.js";import"./BankAccountWarningSection-Cled-2cR-CM49bGSJ.js";import"./MailingDetailsSection-ByOPaJ05-Cq55yE-t.js";import"./LabeledAddressValueField-BgWwd5Gw-DnvIsj_n.js";import"./MagicLinkTitleSection-CARU1oLQ-DZmT0L5L.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]="2a1e8dc0-894c-4680-80be-479a91da48e5",e._sentryDebugIdIdentifier="sentry-dbid-2a1e8dc0-894c-4680-80be-479a91da48e5")}catch{}})();const H=({vendorViewDetails:e,bankAccountContext:t,isDisabled:r,onSaveHandler:i,onBankDetailsUpdated:d,onBackClick:n,onFetchBankNameBySwift:s,onAddressClick:c})=>{const{internationalBankAccountCreateStatus:o,internationalBankAccountToCreate:f,editVendorState:m,newVendorState:p,bankNameBySwift:l,fetchBankNameBySwiftStatus:u}=e,a={...m??p};return S.useEffect(()=>{(t==="vendor"&&o.fetchState==="Completed"||a?.saveStatus?.fetchState==="Completed")&&n()},[o,a?.saveStatus?.fetchState,n,t]),k.jsx(b,{bankAccountToCreate:f,bankAccountCreationState:o,bankNameBySwift:l,addressToEdit:a?.vendorNewAddressStatus?.addressToCreate,mailingAddress:a?.vendorAddress,addressType:"vendor_address",fetchBankNameBySwiftStatus:u,isDisabled:r,onSaveHandler:i,onBankDetailsUpdated:d,onBackClick:n,onAddressClick:c,onFetchBankNameBySwift:s})};export{H as default};
1
+ import{V as k}from"./index-Djco7rZW.js";import{a as S}from"./sentry-CEBEW6Zv.js";import{f as b}from"./InternationalWireSwiftDetailsPage-VdG7bDZi-540GEZbp.js";import"./pdf-BCMUg4JF.js";import"./zeni-epic-state-Ddwqsd5-.js";import"./core-Cd4LmmhG.js";import"./mui-Xyv5fYYp.js";import"./recharts-CwRU7bDL.js";import"./lottie-D3b06MuY.js";import"./liveblocks-IsOzz8u-.js";import"./dnd-CAuW2Onh.js";import"./analytics-CxExYOQN.js";import"./plaid-C49TlIE8.js";import"./utils-PmQt3_O8.js";import"./BankAccountWarningSection-Cled-2cR-IDWXJwst.js";import"./MailingDetailsSection-ByOPaJ05-B9FPpo09.js";import"./LabeledAddressValueField-BgWwd5Gw-X7xSKqD_.js";import"./MagicLinkTitleSection-CARU1oLQ-C33EAuas.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]="2a1e8dc0-894c-4680-80be-479a91da48e5",e._sentryDebugIdIdentifier="sentry-dbid-2a1e8dc0-894c-4680-80be-479a91da48e5")}catch{}})();const H=({vendorViewDetails:e,bankAccountContext:t,isDisabled:r,onSaveHandler:i,onBankDetailsUpdated:d,onBackClick:n,onFetchBankNameBySwift:s,onAddressClick:c})=>{const{internationalBankAccountCreateStatus:o,internationalBankAccountToCreate:f,editVendorState:m,newVendorState:p,bankNameBySwift:l,fetchBankNameBySwiftStatus:u}=e,a={...m??p};return S.useEffect(()=>{(t==="vendor"&&o.fetchState==="Completed"||a?.saveStatus?.fetchState==="Completed")&&n()},[o,a?.saveStatus?.fetchState,n,t]),k.jsx(b,{bankAccountToCreate:f,bankAccountCreationState:o,bankNameBySwift:l,addressToEdit:a?.vendorNewAddressStatus?.addressToCreate,mailingAddress:a?.vendorAddress,addressType:"vendor_address",fetchBankNameBySwiftStatus:u,isDisabled:r,onSaveHandler:i,onBankDetailsUpdated:d,onBackClick:n,onAddressClick:c,onFetchBankNameBySwift:s})};export{H as default};
@@ -1,4 +1,4 @@
1
- import{e as ie,y as oe,O as te,x as c,g4 as w,ad as k,V as i,hm as g,o as r,hj as m,d as ne,f as re,cX as de,C as se,m as a}from"./index-CAltUZe8.js";import{n as s}from"./mui-CMSRVFAm.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]="9443c2bb-c04f-43aa-beab-da9b9daca9b7",e._sentryDebugIdIdentifier="sentry-dbid-9443c2bb-c04f-43aa-beab-da9b9daca9b7")}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},T={title:new ne("standardMedium","largeMedium")},le=s.div`
1
+ import{e as ie,y as oe,O as te,x as c,g4 as w,ad as k,V as i,hm as g,o as r,hj as m,d as ne,f as re,cX as de,C as se,m as a}from"./index-Djco7rZW.js";import{n as s}from"./mui-Xyv5fYYp.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]="9443c2bb-c04f-43aa-beab-da9b9daca9b7",e._sentryDebugIdIdentifier="sentry-dbid-9443c2bb-c04f-43aa-beab-da9b9daca9b7")}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},T={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{j as l}from"./pdf-Be2WBqYM.js";import{a as g}from"./sentry-DQeYyYXx.js";import{j as R,h as K,l as J,u as S,k as G,i as Y,R as tt,m as B,N as $}from"./core-D9P6lLF-.js";import{ct as L,I6 as De,I7 as Je,dt as X,bH as ye,bI as Ce,rP as pt,I8 as at,rT as Gt,Ei as ee,rN as $t,rH as zt,I9 as Ue,rz as Yt,ry as Kt,rs as qt,rE as Ht,rU as Qt,Ia as ue,Ib as Ne,rA as Wt,Ic as he,cF as mt,s7 as St,s0 as ft,Id as gt,k$ as Ie,rX as vt,rV as Tt,Ie as xt,se as It,sb as Dt,rY as yt,sd as Me,CK as Ct,If as Zt,Ig as Xt,bJ as ea,Ih as ta,Ii as aa,Ij as pe,Ik as le,Il as Ee,Ej as Re,st as ve,Eh as Te,sg as Et,rQ as Ge,Im as na,Ek as H,In as $e,rK as sa,Io as oa,Ip as la,Iq as ze,Ir as Ye,Is as Ke,It as qe,sn as be,Iu as bt,s4 as wt,Iv as ia,Iw as ca,Ix as da,Iy as ra,Iz as ua,IA as ha,IB as pa,IC as ma,po as Sa,pp as fa,Do as je,ID as ga,IE as va,ga as Fe,bs as Ta,IF as xa,IG as Ia,hJ as Da,hS as ya,Dn as Pe,bG as nt,IH as kt,D3 as jt,II as Ca,IJ as Ea,IK as ba,hU as wa,IL as st,IM as ot,IN as lt,IO as it,IP as ka,hQ as ja,IQ as Fa,hT as Pa,IR as Aa,IS as Ft,DK as Pt,h7 as _a,IT as Va,IU as Ae,IV as At,DI as _t,un as La,IW as Ba,IX as Oa,hr as Vt,IY as Ja,IZ as Ua,DW as Na,n3 as Ma,I_ as Lt,I$ as ct,DT as _e,J0 as dt,J1 as Ra,DY as Ga,J2 as $a,J3 as za,J4 as Ya,J5 as Ka,J6 as qa,n6 as Ha,J7 as Qa,El as Wa,J8 as Za,DB as Ve,eb as Xa,J9 as en,Ja as tn,e9 as an,Jb as nn,Jc as sn,ur as on,Jd as ln,Je as cn,Jf as dn,Jg as rn,hb as un,bm as hn,cA as pn,cy as mn}from"./zeni-epic-state-CHpO1ZKT.js";import{js as U,a7 as Le,jQ as Bt,bk as W,jz as F,k4 as Z,kx as Sn,jO as N,O as xe,N as ie,ky as He,kz as fn,kA as gn,jM as Qe,kB as vn,y as Tn,e as ce,x as We,aE as te,aG as z,kC as xn,jD as Ze,kD as In,kE as Ot,k2 as Dn,kF as yn,_ as Cn,kG as En,kv as Jt,o as Q,f as Ut,jT as bn,kH as wn,kI as kn,J as Xe,kJ as jn,kK as Fn,jL as Pn,kL as An,kM as _n}from"./index-CAltUZe8.js";import{n as M,D as Vn,S as Nt}from"./mui-CMSRVFAm.js";import{t as Ln,A as Bn}from"./AddressScreen-BL1pptQ5.js";import oe from"./NotFoundScreen-CubXCR1V.js";import{F as On}from"./FeaturePreviewScreen-BrgEnIPS.js";import{b as q,v as et,c as Jn}from"./routePaths-C2kSZwVH.js";import{p as Mt}from"./pathToGoBack-Blub25Cp.js";import{M as me}from"./MobileAppDrawer-C3TNoouV.js";import{S as Un}from"./zeni-icon-only-4nFle2Fz.js";import{D as Nn}from"./DrawerScreen-MxSrrJrd.js";import{g as Mn,m as Rn}from"./accountMappingHelper-GPi0oD1D.js";import"./lottie-BEhoArVd.js";import"./liveblocks-DxIK6Zp5.js";import"./recharts-gT6BOz1b.js";import"./dnd-nSkfhkrX.js";import"./analytics-B2Q_uKwH.js";import"./plaid-BfI3x5Cu.js";import"./utils-BAO5KfNy.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},a=new e.Error().stack;a&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[a]="2b07b3b5-bd24-4f3e-8a9b-19d894576ac8",e._sentryDebugIdIdentifier="sentry-dbid-2b07b3b5-bd24-4f3e-8a9b-19d894576ac8")}catch{}})();const Gn=xe.getLocalizedStrings(),$n=G(function(e,a){const s=Je(e,a.scheduleTab),t=e.tenantState.currentTenantId;return{authParams:{userId:a.signedInUser.userId??"",sessionId:a.signedInUser.zeniSessionId??"",tenantId:t??""},linkBillExpenseView:s.linkBillExpenseView,transactions:s.linkBillExpenseView.transactions}},function(e,a){const{navigate:s,location:t}=a;return{onTransactionSelect(n){e(at({selectedTransaction:n}))},onBackClick:()=>{s("..",{relative:"path"})},onCancel(){e(at({selectedTransaction:void 0})),e(Gt()),s("..",{relative:"path"})},onTransactionClick:n=>{const o=`${q(n,a.tenantEmailDomain)}`,c=N(t.state?.pathnameStackToGoBack,t.pathname);s(o,{state:{pathnameStackToGoBack:c}})},onLinkSave(){a.setShouldNavigateBack(!1),e(pt(a.scheduleTab,a.scheduleAccruedDetailsView.selectedJEAccruedSchedule?.jeScheduleId))}}})(Sn),zn=({setShouldNavigateBack:e})=>{const a=R(),s=K(),{scheduleDetailId:t,tenantEmailDomain:n}=J(),{scheduleType:o}=J();if(n==null)throw Error("Can't access Link Bill Expense page without tenant Email Domain");const c=S(f=>L(f)),r=De(o)??"accrued_expenses",h=U.getSignedInUser();if(h==null)throw Error("Can't access Link Bill Expensedetail page without signing in...");if(t==null)throw Error("Invalid Schedule Detail Id");const i=S(f=>Je(f,r)),m=i.selectedJELinkRowIndex,d=S(f=>X(f,c.companyId)),u=Le(i.updateStatus.fetchState);g.useEffect(()=>{u==="In-Progress"&&i.updateStatus.fetchState==="Completed"&&a("..",{relative:"path"})},[u,i.updateStatus.fetchState]),g.useEffect(()=>{i.fetchState==="Not-Started"&&a("..",{relative:"path"})},[]),g.useEffect(()=>{i.selectedJEAccruedSchedule!=null&&i.selectedJELinkRowIndex!=null||a("..",{relative:"path"})},[i.selectedJEAccruedSchedule,i.selectedJELinkRowIndex]);const p=i.linkBillExpenseView.fetchState==="Completed";return l.jsx(l.Fragment,{children:i.linkBillExpenseView.fetchState==="In-Progress"?l.jsx(Bt,{fetchState:i.linkBillExpenseView.fetchState}):i.selectedJEAccruedSchedule!=null&&m!=null?l.jsxs(l.Fragment,{children:[p===!0?l.jsx(W,{analytics:F,onLoad:()=>{Yn(i,r,d)}}):null,l.jsx($n,{signedInUser:h,attachmentEndPoint:`${Z}/vendor_attachments`,setShouldNavigateBack:e,scheduleVendorId:i.selectedJEAccruedSchedule.vendor.id??"",location:s,tenantEmailDomain:n,scheduleAccruedDetailsView:i,saveFetchState:i.updateStatus.fetchState,scheduleTab:r,navigate:a,analytics:F,controllerUserDetails:d,saveStatus:i.updateStatus.fetchState,jeAccruedSchedule:i.selectedJEAccruedSchedule,localData:i.scheduleAccruedDetailsLocalData.jeScheduleDetails[m]})]}):null})},Rt=e=>{const a=Gn.dateFormat.analytics.YYYYDashMMDashDDFormat;return{scheduleCreateDate:e.createTime.format(a)??null,scheduleMonthlyAmount:e.recurringAmount??null,startingBalance:e.otherAttributes.startingBalance??null,scheduleAccountCategory:e.jeCredit.account?.accountName??null,description:e.memo,runningBalance:e.balanceAsOfToday??null,currentBalance:e.balanceAsOfToday??null,currentStatus:e.status.label,period:e.period??null,startMonth:e.startDate?.format(a)??null,endMonth:e.endDate?.format(a)??null}},Yn=(e,a,s)=>{const t=e.selectedJEAccruedSchedule,n=e.selectedJELinkRowIndex;let o;n!=null&&t!=null&&(o=t.scheduledJournalEntry[n]);const{transactions:c}=e.linkBillExpenseView,r=c.some(m=>m.isRecommendedTransaction===!0),h=ye(s.controllers),i=Ce(s.controllerUserIds);t!=null&&F.trackScheduleAccruedDetailsJournalEntryLinkedLoaded({scheduleType:a,schedule:{...Rt(t)},scheduleExpenseCategoryAndClass:{expenseCategory:t.jeDebit.account?.accountName??null,expenseClass:t.jeDebit.accountingClass?.className??null},journalEntryDetails:{wasRecommendationAvailable:r,journalEntryPostingStatus:o?.status.label??""},vendorName:t.vendor.name??null,controllerEmails:h,controllerUserIds:i})},Kn=M.div`
1
+ import{j as l}from"./pdf-BCMUg4JF.js";import{a as g}from"./sentry-CEBEW6Zv.js";import{j as R,h as K,l as J,u as S,k as G,i as Y,R as tt,m as B,N as $}from"./core-Cd4LmmhG.js";import{ct as L,I6 as De,I7 as Je,dt as X,bH as ye,bI as Ce,rP as pt,I8 as at,rT as Gt,Ei as ee,rN as $t,rH as zt,I9 as Ue,rz as Yt,ry as Kt,rs as qt,rE as Ht,rU as Qt,Ia as ue,Ib as Ne,rA as Wt,Ic as he,cF as mt,s7 as St,s0 as ft,Id as gt,k$ as Ie,rX as vt,rV as Tt,Ie as xt,se as It,sb as Dt,rY as yt,sd as Me,CK as Ct,If as Zt,Ig as Xt,bJ as ea,Ih as ta,Ii as aa,Ij as pe,Ik as le,Il as Ee,Ej as Re,st as ve,Eh as Te,sg as Et,rQ as Ge,Im as na,Ek as H,In as $e,rK as sa,Io as oa,Ip as la,Iq as ze,Ir as Ye,Is as Ke,It as qe,sn as be,Iu as bt,s4 as wt,Iv as ia,Iw as ca,Ix as da,Iy as ra,Iz as ua,IA as ha,IB as pa,IC as ma,po as Sa,pp as fa,Do as je,ID as ga,IE as va,ga as Fe,bs as Ta,IF as xa,IG as Ia,hJ as Da,hS as ya,Dn as Pe,bG as nt,IH as kt,D3 as jt,II as Ca,IJ as Ea,IK as ba,hU as wa,IL as st,IM as ot,IN as lt,IO as it,IP as ka,hQ as ja,IQ as Fa,hT as Pa,IR as Aa,IS as Ft,DK as Pt,h7 as _a,IT as Va,IU as Ae,IV as At,DI as _t,un as La,IW as Ba,IX as Oa,hr as Vt,IY as Ja,IZ as Ua,DW as Na,n3 as Ma,I_ as Lt,I$ as ct,DT as _e,J0 as dt,J1 as Ra,DY as Ga,J2 as $a,J3 as za,J4 as Ya,J5 as Ka,J6 as qa,n6 as Ha,J7 as Qa,El as Wa,J8 as Za,DB as Ve,eb as Xa,J9 as en,Ja as tn,e9 as an,Jb as nn,Jc as sn,ur as on,Jd as ln,Je as cn,Jf as dn,Jg as rn,hb as un,bm as hn,cA as pn,cy as mn}from"./zeni-epic-state-Ddwqsd5-.js";import{js as U,a7 as Le,jQ as Bt,bk as W,jz as F,k4 as Z,kx as Sn,jO as N,O as xe,N as ie,ky as He,kz as fn,kA as gn,jM as Qe,kB as vn,y as Tn,e as ce,x as We,aE as te,aG as z,kC as xn,jD as Ze,kD as In,kE as Ot,k2 as Dn,kF as yn,_ as Cn,kG as En,kv as Jt,o as Q,f as Ut,jT as bn,kH as wn,kI as kn,J as Xe,kJ as jn,kK as Fn,jL as Pn,kL as An,kM as _n}from"./index-Djco7rZW.js";import{n as M,D as Vn,S as Nt}from"./mui-Xyv5fYYp.js";import{t as Ln,A as Bn}from"./AddressScreen-D3wmm55j.js";import oe from"./NotFoundScreen-DOVxG4zz.js";import{F as On}from"./FeaturePreviewScreen-T_BtTTOm.js";import{b as q,v as et,c as Jn}from"./routePaths-BKDf21Fs.js";import{p as Mt}from"./pathToGoBack-CCCMgbLR.js";import{M as me}from"./MobileAppDrawer-CYfAM9Mw.js";import{S as Un}from"./zeni-icon-only-CORvK0Ur.js";import{D as Nn}from"./DrawerScreen-DhllwMd9.js";import{g as Mn,m as Rn}from"./accountMappingHelper-BjH4piH5.js";import"./lottie-D3b06MuY.js";import"./liveblocks-IsOzz8u-.js";import"./recharts-CwRU7bDL.js";import"./dnd-CAuW2Onh.js";import"./analytics-CxExYOQN.js";import"./plaid-C49TlIE8.js";import"./utils-PmQt3_O8.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},a=new e.Error().stack;a&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[a]="2b07b3b5-bd24-4f3e-8a9b-19d894576ac8",e._sentryDebugIdIdentifier="sentry-dbid-2b07b3b5-bd24-4f3e-8a9b-19d894576ac8")}catch{}})();const Gn=xe.getLocalizedStrings(),$n=G(function(e,a){const s=Je(e,a.scheduleTab),t=e.tenantState.currentTenantId;return{authParams:{userId:a.signedInUser.userId??"",sessionId:a.signedInUser.zeniSessionId??"",tenantId:t??""},linkBillExpenseView:s.linkBillExpenseView,transactions:s.linkBillExpenseView.transactions}},function(e,a){const{navigate:s,location:t}=a;return{onTransactionSelect(n){e(at({selectedTransaction:n}))},onBackClick:()=>{s("..",{relative:"path"})},onCancel(){e(at({selectedTransaction:void 0})),e(Gt()),s("..",{relative:"path"})},onTransactionClick:n=>{const o=`${q(n,a.tenantEmailDomain)}`,c=N(t.state?.pathnameStackToGoBack,t.pathname);s(o,{state:{pathnameStackToGoBack:c}})},onLinkSave(){a.setShouldNavigateBack(!1),e(pt(a.scheduleTab,a.scheduleAccruedDetailsView.selectedJEAccruedSchedule?.jeScheduleId))}}})(Sn),zn=({setShouldNavigateBack:e})=>{const a=R(),s=K(),{scheduleDetailId:t,tenantEmailDomain:n}=J(),{scheduleType:o}=J();if(n==null)throw Error("Can't access Link Bill Expense page without tenant Email Domain");const c=S(f=>L(f)),r=De(o)??"accrued_expenses",h=U.getSignedInUser();if(h==null)throw Error("Can't access Link Bill Expensedetail page without signing in...");if(t==null)throw Error("Invalid Schedule Detail Id");const i=S(f=>Je(f,r)),m=i.selectedJELinkRowIndex,d=S(f=>X(f,c.companyId)),u=Le(i.updateStatus.fetchState);g.useEffect(()=>{u==="In-Progress"&&i.updateStatus.fetchState==="Completed"&&a("..",{relative:"path"})},[u,i.updateStatus.fetchState]),g.useEffect(()=>{i.fetchState==="Not-Started"&&a("..",{relative:"path"})},[]),g.useEffect(()=>{i.selectedJEAccruedSchedule!=null&&i.selectedJELinkRowIndex!=null||a("..",{relative:"path"})},[i.selectedJEAccruedSchedule,i.selectedJELinkRowIndex]);const p=i.linkBillExpenseView.fetchState==="Completed";return l.jsx(l.Fragment,{children:i.linkBillExpenseView.fetchState==="In-Progress"?l.jsx(Bt,{fetchState:i.linkBillExpenseView.fetchState}):i.selectedJEAccruedSchedule!=null&&m!=null?l.jsxs(l.Fragment,{children:[p===!0?l.jsx(W,{analytics:F,onLoad:()=>{Yn(i,r,d)}}):null,l.jsx($n,{signedInUser:h,attachmentEndPoint:`${Z}/vendor_attachments`,setShouldNavigateBack:e,scheduleVendorId:i.selectedJEAccruedSchedule.vendor.id??"",location:s,tenantEmailDomain:n,scheduleAccruedDetailsView:i,saveFetchState:i.updateStatus.fetchState,scheduleTab:r,navigate:a,analytics:F,controllerUserDetails:d,saveStatus:i.updateStatus.fetchState,jeAccruedSchedule:i.selectedJEAccruedSchedule,localData:i.scheduleAccruedDetailsLocalData.jeScheduleDetails[m]})]}):null})},Rt=e=>{const a=Gn.dateFormat.analytics.YYYYDashMMDashDDFormat;return{scheduleCreateDate:e.createTime.format(a)??null,scheduleMonthlyAmount:e.recurringAmount??null,startingBalance:e.otherAttributes.startingBalance??null,scheduleAccountCategory:e.jeCredit.account?.accountName??null,description:e.memo,runningBalance:e.balanceAsOfToday??null,currentBalance:e.balanceAsOfToday??null,currentStatus:e.status.label,period:e.period??null,startMonth:e.startDate?.format(a)??null,endMonth:e.endDate?.format(a)??null}},Yn=(e,a,s)=>{const t=e.selectedJEAccruedSchedule,n=e.selectedJELinkRowIndex;let o;n!=null&&t!=null&&(o=t.scheduledJournalEntry[n]);const{transactions:c}=e.linkBillExpenseView,r=c.some(m=>m.isRecommendedTransaction===!0),h=ye(s.controllers),i=Ce(s.controllerUserIds);t!=null&&F.trackScheduleAccruedDetailsJournalEntryLinkedLoaded({scheduleType:a,schedule:{...Rt(t)},scheduleExpenseCategoryAndClass:{expenseCategory:t.jeDebit.account?.accountName??null,expenseClass:t.jeDebit.accountingClass?.className??null},journalEntryDetails:{wasRecommendationAvailable:r,journalEntryPostingStatus:o?.status.label??""},vendorName:t.vendor.name??null,controllerEmails:h,controllerUserIds:i})},Kn=M.div`
2
2
  display: flex;
3
3
  min-height: 100%;
4
4
  width: 100%;
@@ -1,4 +1,4 @@
1
- import{a7 as L,T as N,V as r,bn as P,E as d,A,bo as M,C as x,bp as R,o as n,O as _,a as I,bq as z,l as O,br as H,bs as C,b6 as q,f as j,au as v,bt as U}from"./index-CAltUZe8.js";import{a as l}from"./sentry-DQeYyYXx.js";import{n as t}from"./mui-CMSRVFAm.js";import{bs as W}from"./zeni-epic-state-CHpO1ZKT.js";import{A as X,Z as k}from"./AccountLockedInfoModal-Dox7IuAX-BJBuQmOL.js";import"./pdf-Be2WBqYM.js";import"./core-D9P6lLF-.js";import"./lottie-BEhoArVd.js";import"./liveblocks-DxIK6Zp5.js";import"./recharts-gT6BOz1b.js";import"./dnd-nSkfhkrX.js";import"./analytics-B2Q_uKwH.js";import"./plaid-BfI3x5Cu.js";import"./utils-BAO5KfNy.js";import"./handshake-BPg58FML-Dy9hpFzO.js";import"./unlock-BPWn2I5L-DrFYUkdQ.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]="8aac7a96-247c-4e1f-b5e1-f59899352afa",e._sentryDebugIdIdentifier="sentry-dbid-8aac7a96-247c-4e1f-b5e1-f59899352afa")}catch{}})();const Z=e=>{if(!e)return"";try{const i=H(e);if(!i){const s=e.replace(/\D/g,"");if(s.length>=4){const c=s.slice(-4);return`+${s.slice(0,-4)||"1"} (•••) ••• ${c}`}return C(e)||e}return`+${i.countryCallingCode} (•••) ••• ${i.nationalNumber.slice(-4)}`}catch{const i=e.replace(/\D/g,"");if(i.length>=4){const p=i.slice(-4);return`+${i.slice(0,-4)||"1"} (•••) ••• ${p}`}return C(e)||e}},o=_.getLocalizedStrings().commonSetUp.twoFactorAuthentication,f="otpInputField",Oe=e=>{const i=e.verifyOtpFetchState==="In-Progress",[p,s]=l.useState(!1),[c,w]=l.useState(!1),[g,T]=l.useState(0),[$,D]=l.useState(120),[h,S]=l.useState(30),E=L(e.verifyOtpFetchState),m=N({mode:"all",reValidateMode:"onChange",defaultValues:{[f]:""}}),y=m.watch(f),F=o.footerHelperText.replace(/<button_text>/,o.verify);return l.useEffect(()=>{E==="In-Progress"&&e.verifyOtpFetchState==="Error"&&(s(!0),T(a=>a+1),m.setValue(f,""))},[E,e.verifyOtpFetchState,m]),l.useEffect(()=>{if($<=0)return void w(!0);const a=setInterval(()=>{D(u=>u<=1?0:u-1)},1e3);return()=>clearInterval(a)},[$]),l.useEffect(()=>{if(h<=0)return;const a=setInterval(()=>{S(u=>u<=1?0:u-1)},1e3);return()=>clearInterval(a)},[h]),r.jsx(P,{open:!0,children:r.jsxs(B,{children:[r.jsx(d,{controller:g>2,children:r.jsx(X,{unlockDate:W().add(1,"hour"),onSubmit:e.onCancelVerifyDevice})}),r.jsx(d,{controller:g<=2,children:r.jsx(A,{...m,children:r.jsxs(ce,{children:[r.jsxs(se,{children:[r.jsx(G,{children:o.verifyDeviceTitle}),r.jsx(J,{children:o.verifyDeviceDescription}),r.jsxs(Q,{children:[e.phoneNumber!=null&&r.jsx(K,{children:Z(e.phoneNumber+"")}),r.jsx(M,{placement:"top",title:r.jsxs(x,{children:[o.changePhoneNumberHelperText,r.jsx(fe,{href:`mailto:${k}`,children:k})]}),enterDelay:600,children:r.jsx(ue,{})})]})]}),r.jsxs(Y,{children:[r.jsx(R,{value:y,valueLength:6,hasError:c===!0||p===!0,style:{margin:n.sp0},onChange:a=>{m.setValue(f,a),s(!1)}}),r.jsx(d,{controller:c===!1,children:r.jsx(V,{children:r.jsxs(de,{children:[o.codeExpiresIn," ",(b=$,`${Math.floor(b/60)}:${(b%60).toString().padStart(2,"0")}`)]})})}),r.jsx(d,{controller:c===!0,children:r.jsx(V,{children:r.jsx(pe,{children:o.codeExpired})})})]}),p===!0&&c===!1?r.jsxs(r.Fragment,{children:[r.jsx(d,{controller:g>=1,children:r.jsx(ee,{children:o.incorrectCode})}),r.jsx(d,{controller:g===2,children:r.jsx(he,{children:r.jsxs(x,{children:[r.jsx(me,{}),o.accountLockWarning]})})})]}):null,r.jsx(d,{controller:e.resendVerifyDeviceOTPFetchState.error?.details?.application_error_code!=="OTP_RESEND_LIMIT_EXCEEDED",children:r.jsxs(re,{children:[r.jsx(te,{children:o.codeNotReceived}),r.jsx(oe,{disabled:h>0,onClick:()=>{h===0&&(e.onResendOtp(),s(!1),w(!1),m.setValue(f,""),D(120),S(30))},children:o.resend}),h>0&&r.jsxs(ne,{children:[_.getLocalizedStrings().common.in.toLowerCase()," ",h,"s"]})]})}),r.jsxs(ae,{children:[r.jsxs(ie,{children:[r.jsx(I,{label:o.cancel,onClick:()=>{e.onCancelVerifyDevice()},style:{width:82}}),r.jsx(I,{variant:"primary",label:o.verify,onClick:()=>{y.trim().length===6&&e.onVerifyOtp(y)},style:{width:82},loading:i,disabled:y.trim().length!==6||c===!0})]}),r.jsx(le,{children:F})]})]})})})]})});var b},B=t.div`
1
+ import{a7 as L,T as N,V as r,bn as P,E as d,A,bo as M,C as x,bp as R,o as n,O as _,a as I,bq as z,l as O,br as H,bs as C,b6 as q,f as j,au as v,bt as U}from"./index-Djco7rZW.js";import{a as l}from"./sentry-CEBEW6Zv.js";import{n as t}from"./mui-Xyv5fYYp.js";import{bs as W}from"./zeni-epic-state-Ddwqsd5-.js";import{A as X,Z as k}from"./AccountLockedInfoModal-Dox7IuAX-uUxMt3Am.js";import"./pdf-BCMUg4JF.js";import"./core-Cd4LmmhG.js";import"./lottie-D3b06MuY.js";import"./liveblocks-IsOzz8u-.js";import"./recharts-CwRU7bDL.js";import"./dnd-CAuW2Onh.js";import"./analytics-CxExYOQN.js";import"./plaid-C49TlIE8.js";import"./utils-PmQt3_O8.js";import"./handshake-BPg58FML-BKdvF1x2.js";import"./unlock-BPWn2I5L-BsNNzlL3.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]="8aac7a96-247c-4e1f-b5e1-f59899352afa",e._sentryDebugIdIdentifier="sentry-dbid-8aac7a96-247c-4e1f-b5e1-f59899352afa")}catch{}})();const Z=e=>{if(!e)return"";try{const i=H(e);if(!i){const s=e.replace(/\D/g,"");if(s.length>=4){const c=s.slice(-4);return`+${s.slice(0,-4)||"1"} (•••) ••• ${c}`}return C(e)||e}return`+${i.countryCallingCode} (•••) ••• ${i.nationalNumber.slice(-4)}`}catch{const i=e.replace(/\D/g,"");if(i.length>=4){const p=i.slice(-4);return`+${i.slice(0,-4)||"1"} (•••) ••• ${p}`}return C(e)||e}},o=_.getLocalizedStrings().commonSetUp.twoFactorAuthentication,f="otpInputField",Oe=e=>{const i=e.verifyOtpFetchState==="In-Progress",[p,s]=l.useState(!1),[c,w]=l.useState(!1),[g,T]=l.useState(0),[$,D]=l.useState(120),[h,S]=l.useState(30),E=L(e.verifyOtpFetchState),m=N({mode:"all",reValidateMode:"onChange",defaultValues:{[f]:""}}),y=m.watch(f),F=o.footerHelperText.replace(/<button_text>/,o.verify);return l.useEffect(()=>{E==="In-Progress"&&e.verifyOtpFetchState==="Error"&&(s(!0),T(a=>a+1),m.setValue(f,""))},[E,e.verifyOtpFetchState,m]),l.useEffect(()=>{if($<=0)return void w(!0);const a=setInterval(()=>{D(u=>u<=1?0:u-1)},1e3);return()=>clearInterval(a)},[$]),l.useEffect(()=>{if(h<=0)return;const a=setInterval(()=>{S(u=>u<=1?0:u-1)},1e3);return()=>clearInterval(a)},[h]),r.jsx(P,{open:!0,children:r.jsxs(B,{children:[r.jsx(d,{controller:g>2,children:r.jsx(X,{unlockDate:W().add(1,"hour"),onSubmit:e.onCancelVerifyDevice})}),r.jsx(d,{controller:g<=2,children:r.jsx(A,{...m,children:r.jsxs(ce,{children:[r.jsxs(se,{children:[r.jsx(G,{children:o.verifyDeviceTitle}),r.jsx(J,{children:o.verifyDeviceDescription}),r.jsxs(Q,{children:[e.phoneNumber!=null&&r.jsx(K,{children:Z(e.phoneNumber+"")}),r.jsx(M,{placement:"top",title:r.jsxs(x,{children:[o.changePhoneNumberHelperText,r.jsx(fe,{href:`mailto:${k}`,children:k})]}),enterDelay:600,children:r.jsx(ue,{})})]})]}),r.jsxs(Y,{children:[r.jsx(R,{value:y,valueLength:6,hasError:c===!0||p===!0,style:{margin:n.sp0},onChange:a=>{m.setValue(f,a),s(!1)}}),r.jsx(d,{controller:c===!1,children:r.jsx(V,{children:r.jsxs(de,{children:[o.codeExpiresIn," ",(b=$,`${Math.floor(b/60)}:${(b%60).toString().padStart(2,"0")}`)]})})}),r.jsx(d,{controller:c===!0,children:r.jsx(V,{children:r.jsx(pe,{children:o.codeExpired})})})]}),p===!0&&c===!1?r.jsxs(r.Fragment,{children:[r.jsx(d,{controller:g>=1,children:r.jsx(ee,{children:o.incorrectCode})}),r.jsx(d,{controller:g===2,children:r.jsx(he,{children:r.jsxs(x,{children:[r.jsx(me,{}),o.accountLockWarning]})})})]}):null,r.jsx(d,{controller:e.resendVerifyDeviceOTPFetchState.error?.details?.application_error_code!=="OTP_RESEND_LIMIT_EXCEEDED",children:r.jsxs(re,{children:[r.jsx(te,{children:o.codeNotReceived}),r.jsx(oe,{disabled:h>0,onClick:()=>{h===0&&(e.onResendOtp(),s(!1),w(!1),m.setValue(f,""),D(120),S(30))},children:o.resend}),h>0&&r.jsxs(ne,{children:[_.getLocalizedStrings().common.in.toLowerCase()," ",h,"s"]})]})}),r.jsxs(ae,{children:[r.jsxs(ie,{children:[r.jsx(I,{label:o.cancel,onClick:()=>{e.onCancelVerifyDevice()},style:{width:82}}),r.jsx(I,{variant:"primary",label:o.verify,onClick:()=>{y.trim().length===6&&e.onVerifyOtp(y)},style:{width:82},loading:i,disabled:y.trim().length!==6||c===!0})]}),r.jsx(le,{children:F})]})]})})})]})});var b},B=t.div`
2
2
  display: flex;
3
3
  flex-direction: column;
4
4
  min-width: ${"256px"};